@wix/auto_sdk_events_wix-events-v-2 1.0.51 → 1.0.53
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 +15 -15
- package/build/cjs/index.js +84 -184
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +145 -1106
- package/build/cjs/index.typings.js +84 -184
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +22 -22
- package/build/es/index.d.mts +15 -15
- package/build/es/index.mjs +83 -172
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +145 -1106
- package/build/es/index.typings.mjs +83 -172
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +22 -22
- package/build/internal/cjs/index.d.ts +15 -15
- package/build/internal/cjs/index.js +84 -184
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +145 -1106
- package/build/internal/cjs/index.typings.js +84 -184
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +22 -22
- package/build/internal/es/index.d.mts +15 -15
- package/build/internal/es/index.mjs +83 -172
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +145 -1106
- package/build/internal/es/index.typings.mjs +83 -172
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +22 -22
- package/package.json +2 -2
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
|
-
import {
|
|
3
|
-
export { ActionEvent, Address, AddressLocation, AddressStreetOneOf,
|
|
2
|
+
import { Event, CreateEventOptions, CreateEventApplicationErrors, CreateEventValidationErrors, CloneEventOptions, CloneEventResponse, UpdateEventOptions, UpdateEventApplicationErrors, UpdateEventValidationErrors, PublishDraftEventOptions, PublishDraftEventResponse, PublishDraftEventApplicationErrors, CancelEventOptions, CancelEventResponse, CancelEventApplicationErrors, BulkCancelEventsByFilterOptions, DeleteEventResponse, BulkDeleteEventsByFilterOptions, QueryEventsOptions, EventsQueryBuilder, CountEventsByStatusOptions, CountEventsByStatusResponse, CountEventsByStatusApplicationErrors, GetEventOptions, GetEventBySlugOptions, GetEventBySlugResponse, EventCanceledEnvelope, EventClonedEnvelope, EventCreatedEnvelope, EventDeletedEnvelope, EventEndedEnvelope, EventPublishedEnvelope, EventReminderEnvelope, EventStartedEnvelope, EventUpdatedEnvelope } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, Address, AddressLocation, AddressStreetOneOf, AgendaSettings, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BackgroundTypeWithLiterals, Badge, BadgeList, BadgeTypeType, BadgeTypeTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulkCancelEventsByFilterRequest, BulkCancelEventsByFilterResponse, BulkDeleteEventsByFilterRequest, BulkDeleteEventsByFilterResponse, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CalendarUrls, CancelEventRequest, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, CellStyle, CheckoutFormMessages, CheckoutType, CheckoutTypeWithLiterals, CloneEventFromOtherSiteRequest, CloneEventFromOtherSiteResponse, CloneEventRequest, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonCursors, CommonPaging, CommonPagingMetadataV2, CommonQueryV2, CommonQueryV2PagingMethodOneOf, CommonSortOrder, CommonSortOrderWithLiterals, CommonSorting, ConferenceTypeType, ConferenceTypeTypeWithLiterals, CountEventsByStatusRequest, CreateEventRequest, CreateEventResponse, Crop, CropWithLiterals, CursorPaging, Cursors, DateAndTimeSettings, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteEventRequest, Design, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventCanceled, EventCategories, EventCategory, EventCloned, EventData, EventDisplaySettings, EventEnded, EventMetadata, EventPublished, EventReminder, EventStarted, EventsMoney, EventsQueryResult, ExportEventsRequest, ExportEventsResponse, ExternalRegistration, FacetCounts, Feed, FileData, FileSource, FileSourceDataOneOf, FindEventRequest, FindEventRequestFindByOneOf, FindEventResponse, FontSizeData, FontType, FontTypeWithLiterals, Form, FormMessages, Formatted, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetEventBySlugRequest, GetEventRequest, GetEventResponse, Gradient, GuestListSettings, GuestTypeType, GuestTypeTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, InitialRegistrationTypeType, InitialRegistrationTypeTypeWithLiterals, Input, InputControl, InputControlType, InputControlTypeWithLiterals, Item, ItemDataOneOf, ItemStyle, Keyword, Label, LabellingSettings, Layout, LayoutCellData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListEventsByCategoryRequest, ListEventsByCategoryResponse, ListUserEventsRequest, ListUserEventsResponse, ListValue, Location, LocationType, LocationTypeWithLiterals, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Money, Negative, NegativeResponseConfirmation, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Occurrence, Oembed, OnlineConferencing, OnlineConferencingSession, Option, OptionDesign, OptionLayout, OptionSelection, OptionSelectionSelectedOptionOneOf, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, Paging, PagingMetadataV2, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Positive, PositiveResponseConfirmation, PricingData, PublishDraftEventRequest, QueryEventsApplicationErrors, QueryEventsRequest, QueryEventsResponse, QueryV2, QueryV2PagingMethodOneOf, RecurrenceStatusStatus, RecurrenceStatusStatusWithLiterals, Recurrences, Registration, RegistrationClosedMessages, RegistrationStatusStatus, RegistrationStatusStatusWithLiterals, RegistrationTypeType, RegistrationTypeTypeWithLiterals, Rel, Relation, RelationWithLiterals, RequestedFields, RequestedFieldsWithLiterals, Resizing, ResizingWithLiterals, ResponseConfirmation, ResponseType, ResponseTypeWithLiterals, RestoreInfo, RibbonStyles, RichContent, RsvpConfirmationMessages, RsvpFormMessages, RsvpFormMessagesNegativeResponseConfirmation, RsvpFormMessagesPositiveResponseConfirmation, RsvpRegistration, Rsvps, SeoSchema, SeoSettings, Settings, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Status, StatusWithLiterals, StreetAddress, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, Summaries, TableCellData, TableData, Tag, Target, TargetWithLiterals, TaxSettings, TaxType, TaxTypeWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Tickets, TicketsConfirmationMessages, TicketsRegistration, TicketsUnavailableMessages, TimeDuration, Type, TypeWithLiterals, UpdateEventRequest, UpdateEventResponse, UserFilter, ValueType, ValueTypeWithLiterals, VerticalAlignment, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createEvent$1(httpClient: HttpClient): CreateEventSignature;
|
|
6
6
|
interface CreateEventSignature {
|
|
@@ -13,7 +13,7 @@ interface CreateEventSignature {
|
|
|
13
13
|
* @param - Optional fields.
|
|
14
14
|
* @returns Created event.
|
|
15
15
|
*/
|
|
16
|
-
(event: NonNullablePaths<
|
|
16
|
+
(event: NonNullablePaths<Event, `dateAndTimeSettings` | `location` | `registration.initialType` | `title`, 3>, options?: CreateEventOptions): Promise<NonNullablePaths<Event, `_id` | `location.type` | `location.address.streetAddress.number` | `location.address.streetAddress.name` | `dateAndTimeSettings.recurrenceStatus` | `dateAndTimeSettings.recurringEvents.individualEventDates` | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone` | `slug` | `status` | `registration.type` | `registration.status` | `registration.rsvp.responseType` | `registration.rsvp.waitlistEnabled` | `registration.tickets.guestsAssignedSeparately` | `registration.tickets.ticketLimitPerOrder` | `registration.tickets.lowestPrice.value` | `registration.tickets.lowestPrice.currency` | `registration.tickets.taxSettings.type` | `registration.allowedGuestTypes` | `registration.initialType` | `registration.registrationPaused` | `registration.registrationDisabled` | `calendarUrls.google` | `calendarUrls.ics` | `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` | `summaries.rsvps.totalCount` | `summaries.rsvps.yesCount` | `summaries.rsvps.noCount` | `summaries.rsvps.waitlistCount` | `summaries.tickets.ticketsSold` | `summaries.tickets.revenue.amount` | `summaries.tickets.revenue.currency` | `summaries.tickets.currencyLocked` | `summaries.tickets.totalOrders` | `instanceId` | `guestListSettings.displayedPublicly` | `userId` | `onlineConferencing.enabled` | `onlineConferencing.type` | `onlineConferencing.session.hostLink` | `onlineConferencing.session.guestLink` | `seoSettings.slug` | `seoSettings.advancedSeoData.tags` | `seoSettings.advancedSeoData.tags.${number}.type` | `seoSettings.advancedSeoData.tags.${number}.children` | `seoSettings.advancedSeoData.tags.${number}.custom` | `seoSettings.advancedSeoData.tags.${number}.disabled` | `seoSettings.advancedSeoData.settings.preventAutoRedirect` | `seoSettings.advancedSeoData.settings.keywords` | `seoSettings.advancedSeoData.settings.keywords.${number}.term` | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain` | `agendaSettings.enabled`, 7> & {
|
|
17
17
|
__applicationErrorsType?: CreateEventApplicationErrors;
|
|
18
18
|
__validationErrorsType?: CreateEventValidationErrors;
|
|
19
19
|
}>;
|
|
@@ -38,7 +38,7 @@ interface UpdateEventSignature {
|
|
|
38
38
|
* @param - Optional fields.
|
|
39
39
|
* @returns Updated event.
|
|
40
40
|
*/
|
|
41
|
-
(_id: string, options?: UpdateEventOptions): Promise<NonNullablePaths<
|
|
41
|
+
(_id: string, options?: UpdateEventOptions): Promise<NonNullablePaths<Event, `_id` | `location.type` | `location.address.streetAddress.number` | `location.address.streetAddress.name` | `dateAndTimeSettings.recurrenceStatus` | `dateAndTimeSettings.recurringEvents.individualEventDates` | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone` | `slug` | `status` | `registration.type` | `registration.status` | `registration.rsvp.responseType` | `registration.rsvp.waitlistEnabled` | `registration.tickets.guestsAssignedSeparately` | `registration.tickets.ticketLimitPerOrder` | `registration.tickets.lowestPrice.value` | `registration.tickets.lowestPrice.currency` | `registration.tickets.taxSettings.type` | `registration.allowedGuestTypes` | `registration.initialType` | `registration.registrationPaused` | `registration.registrationDisabled` | `calendarUrls.google` | `calendarUrls.ics` | `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` | `summaries.rsvps.totalCount` | `summaries.rsvps.yesCount` | `summaries.rsvps.noCount` | `summaries.rsvps.waitlistCount` | `summaries.tickets.ticketsSold` | `summaries.tickets.revenue.amount` | `summaries.tickets.revenue.currency` | `summaries.tickets.currencyLocked` | `summaries.tickets.totalOrders` | `instanceId` | `guestListSettings.displayedPublicly` | `userId` | `onlineConferencing.enabled` | `onlineConferencing.type` | `onlineConferencing.session.hostLink` | `onlineConferencing.session.guestLink` | `seoSettings.slug` | `seoSettings.advancedSeoData.tags` | `seoSettings.advancedSeoData.tags.${number}.type` | `seoSettings.advancedSeoData.tags.${number}.children` | `seoSettings.advancedSeoData.tags.${number}.custom` | `seoSettings.advancedSeoData.tags.${number}.disabled` | `seoSettings.advancedSeoData.settings.preventAutoRedirect` | `seoSettings.advancedSeoData.settings.keywords` | `seoSettings.advancedSeoData.settings.keywords.${number}.term` | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain` | `agendaSettings.enabled`, 7> & {
|
|
42
42
|
__applicationErrorsType?: UpdateEventApplicationErrors;
|
|
43
43
|
__validationErrorsType?: UpdateEventValidationErrors;
|
|
44
44
|
}>;
|
|
@@ -137,7 +137,7 @@ interface GetEventSignature {
|
|
|
137
137
|
* @param - Optional fields.
|
|
138
138
|
* @returns Event.
|
|
139
139
|
*/
|
|
140
|
-
(eventId: string, options?: GetEventOptions): Promise<NonNullablePaths<
|
|
140
|
+
(eventId: string, options?: GetEventOptions): Promise<NonNullablePaths<Event, `_id` | `location.type` | `location.address.streetAddress.number` | `location.address.streetAddress.name` | `dateAndTimeSettings.recurrenceStatus` | `dateAndTimeSettings.recurringEvents.individualEventDates` | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone` | `slug` | `status` | `registration.type` | `registration.status` | `registration.rsvp.responseType` | `registration.rsvp.waitlistEnabled` | `registration.tickets.guestsAssignedSeparately` | `registration.tickets.ticketLimitPerOrder` | `registration.tickets.lowestPrice.value` | `registration.tickets.lowestPrice.currency` | `registration.tickets.taxSettings.type` | `registration.allowedGuestTypes` | `registration.initialType` | `registration.registrationPaused` | `registration.registrationDisabled` | `calendarUrls.google` | `calendarUrls.ics` | `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` | `summaries.rsvps.totalCount` | `summaries.rsvps.yesCount` | `summaries.rsvps.noCount` | `summaries.rsvps.waitlistCount` | `summaries.tickets.ticketsSold` | `summaries.tickets.revenue.amount` | `summaries.tickets.revenue.currency` | `summaries.tickets.currencyLocked` | `summaries.tickets.totalOrders` | `instanceId` | `guestListSettings.displayedPublicly` | `userId` | `onlineConferencing.enabled` | `onlineConferencing.type` | `onlineConferencing.session.hostLink` | `onlineConferencing.session.guestLink` | `seoSettings.slug` | `seoSettings.advancedSeoData.tags` | `seoSettings.advancedSeoData.tags.${number}.type` | `seoSettings.advancedSeoData.tags.${number}.children` | `seoSettings.advancedSeoData.tags.${number}.custom` | `seoSettings.advancedSeoData.tags.${number}.disabled` | `seoSettings.advancedSeoData.settings.preventAutoRedirect` | `seoSettings.advancedSeoData.settings.keywords` | `seoSettings.advancedSeoData.settings.keywords.${number}.term` | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain` | `agendaSettings.enabled`, 7>>;
|
|
141
141
|
}
|
|
142
142
|
declare function getEventBySlug$1(httpClient: HttpClient): GetEventBySlugSignature;
|
|
143
143
|
interface GetEventBySlugSignature {
|
|
@@ -175,27 +175,27 @@ declare const getEventBySlug: MaybeContext<BuildRESTFunction<typeof getEventBySl
|
|
|
175
175
|
/**
|
|
176
176
|
* Triggered when an event is canceled.
|
|
177
177
|
*/
|
|
178
|
-
declare const onEventCanceled: BuildEventDefinition<typeof onEventCanceled$1
|
|
178
|
+
declare const onEventCanceled: BuildEventDefinition<typeof onEventCanceled$1> & typeof onEventCanceled$1;
|
|
179
179
|
/**
|
|
180
180
|
* Triggered when an event is cloned.
|
|
181
181
|
*/
|
|
182
|
-
declare const onEventCloned: BuildEventDefinition<typeof onEventCloned$1
|
|
182
|
+
declare const onEventCloned: BuildEventDefinition<typeof onEventCloned$1> & typeof onEventCloned$1;
|
|
183
183
|
/**
|
|
184
184
|
* Triggered when an event is created.
|
|
185
185
|
*/
|
|
186
|
-
declare const onEventCreated: BuildEventDefinition<typeof onEventCreated$1
|
|
186
|
+
declare const onEventCreated: BuildEventDefinition<typeof onEventCreated$1> & typeof onEventCreated$1;
|
|
187
187
|
/**
|
|
188
188
|
* Triggered when an event is deleted.
|
|
189
189
|
*/
|
|
190
|
-
declare const onEventDeleted: BuildEventDefinition<typeof onEventDeleted$1
|
|
190
|
+
declare const onEventDeleted: BuildEventDefinition<typeof onEventDeleted$1> & typeof onEventDeleted$1;
|
|
191
191
|
/**
|
|
192
192
|
* Triggered when an event has ended.
|
|
193
193
|
*/
|
|
194
|
-
declare const onEventEnded: BuildEventDefinition<typeof onEventEnded$1
|
|
194
|
+
declare const onEventEnded: BuildEventDefinition<typeof onEventEnded$1> & typeof onEventEnded$1;
|
|
195
195
|
/**
|
|
196
196
|
* Triggered when an event is published.
|
|
197
197
|
*/
|
|
198
|
-
declare const onEventPublished: BuildEventDefinition<typeof onEventPublished$1
|
|
198
|
+
declare const onEventPublished: BuildEventDefinition<typeof onEventPublished$1> & typeof onEventPublished$1;
|
|
199
199
|
/**
|
|
200
200
|
* Triggered when a certain amount of time is left until the event. In total there are 6 reminders:
|
|
201
201
|
* - 7 days
|
|
@@ -205,14 +205,14 @@ declare const onEventPublished: BuildEventDefinition<typeof onEventPublished$1>;
|
|
|
205
205
|
* - 1 hour
|
|
206
206
|
* - 30 minutes
|
|
207
207
|
*/
|
|
208
|
-
declare const onEventReminder: BuildEventDefinition<typeof onEventReminder$1
|
|
208
|
+
declare const onEventReminder: BuildEventDefinition<typeof onEventReminder$1> & typeof onEventReminder$1;
|
|
209
209
|
/**
|
|
210
210
|
* Triggered when an event has started.
|
|
211
211
|
*/
|
|
212
|
-
declare const onEventStarted: BuildEventDefinition<typeof onEventStarted$1
|
|
212
|
+
declare const onEventStarted: BuildEventDefinition<typeof onEventStarted$1> & typeof onEventStarted$1;
|
|
213
213
|
/**
|
|
214
214
|
* Triggered when an event is updated.
|
|
215
215
|
*/
|
|
216
|
-
declare const onEventUpdated: BuildEventDefinition<typeof onEventUpdated$1
|
|
216
|
+
declare const onEventUpdated: BuildEventDefinition<typeof onEventUpdated$1> & typeof onEventUpdated$1;
|
|
217
217
|
|
|
218
|
-
export { BulkCancelEventsByFilterOptions, BulkDeleteEventsByFilterOptions, CancelEventApplicationErrors, CancelEventOptions, CancelEventResponse, CloneEventOptions, CloneEventResponse, CountEventsByStatusApplicationErrors, CountEventsByStatusOptions, CountEventsByStatusResponse, CreateEventApplicationErrors, CreateEventOptions, CreateEventValidationErrors, DeleteEventResponse, EventCanceledEnvelope, EventClonedEnvelope, EventCreatedEnvelope, EventDeletedEnvelope, EventEndedEnvelope, EventPublishedEnvelope, EventReminderEnvelope, EventStartedEnvelope, EventUpdatedEnvelope, EventsQueryBuilder, GetEventBySlugOptions, GetEventBySlugResponse, GetEventOptions, PublishDraftEventApplicationErrors, PublishDraftEventOptions, PublishDraftEventResponse, QueryEventsOptions, UpdateEventApplicationErrors, UpdateEventOptions, UpdateEventValidationErrors,
|
|
218
|
+
export { BulkCancelEventsByFilterOptions, BulkDeleteEventsByFilterOptions, CancelEventApplicationErrors, CancelEventOptions, CancelEventResponse, CloneEventOptions, CloneEventResponse, CountEventsByStatusApplicationErrors, CountEventsByStatusOptions, CountEventsByStatusResponse, CreateEventApplicationErrors, CreateEventOptions, CreateEventValidationErrors, DeleteEventResponse, Event, EventCanceledEnvelope, EventClonedEnvelope, EventCreatedEnvelope, EventDeletedEnvelope, EventEndedEnvelope, EventPublishedEnvelope, EventReminderEnvelope, EventStartedEnvelope, EventUpdatedEnvelope, EventsQueryBuilder, GetEventBySlugOptions, GetEventBySlugResponse, GetEventOptions, PublishDraftEventApplicationErrors, PublishDraftEventOptions, PublishDraftEventResponse, QueryEventsOptions, UpdateEventApplicationErrors, UpdateEventOptions, UpdateEventValidationErrors, bulkCancelEventsByFilter, bulkDeleteEventsByFilter, cancelEvent, cloneEvent, countEventsByStatus, createEvent, deleteEvent, getEvent, getEventBySlug, onEventCanceled, onEventCloned, onEventCreated, onEventDeleted, onEventEnded, onEventPublished, onEventReminder, onEventStarted, onEventUpdated, publishDraftEvent, queryEvents, updateEvent };
|
package/build/cjs/index.js
CHANGED
|
@@ -27,18 +27,13 @@ __export(index_exports, {
|
|
|
27
27
|
BadgeTypeType: () => BadgeTypeType,
|
|
28
28
|
ButtonDataType: () => ButtonDataType,
|
|
29
29
|
CardStylesType: () => CardStylesType,
|
|
30
|
-
|
|
30
|
+
CheckoutType: () => CheckoutType,
|
|
31
31
|
CommonSortOrder: () => CommonSortOrder,
|
|
32
|
-
ConferenceType: () => ConferenceType,
|
|
33
32
|
ConferenceTypeType: () => ConferenceTypeType,
|
|
34
33
|
Crop: () => Crop,
|
|
35
34
|
DecorationType: () => DecorationType,
|
|
36
35
|
Direction: () => Direction,
|
|
37
36
|
DividerDataAlignment: () => DividerDataAlignment,
|
|
38
|
-
EventStatus: () => EventStatus,
|
|
39
|
-
EventType: () => EventType,
|
|
40
|
-
EventsRecurrenceStatusStatus: () => EventsRecurrenceStatusStatus,
|
|
41
|
-
EventsTaxType: () => EventsTaxType,
|
|
42
37
|
FontType: () => FontType,
|
|
43
38
|
GIFType: () => GIFType,
|
|
44
39
|
GuestTypeType: () => GuestTypeType,
|
|
@@ -48,7 +43,6 @@ __export(index_exports, {
|
|
|
48
43
|
Layout: () => Layout,
|
|
49
44
|
LayoutType: () => LayoutType,
|
|
50
45
|
LineStyle: () => LineStyle,
|
|
51
|
-
LocationLocationType: () => LocationLocationType,
|
|
52
46
|
LocationType: () => LocationType,
|
|
53
47
|
MapType: () => MapType,
|
|
54
48
|
NodeType: () => NodeType,
|
|
@@ -60,20 +54,16 @@ __export(index_exports, {
|
|
|
60
54
|
PollLayoutType: () => PollLayoutType,
|
|
61
55
|
Position: () => Position,
|
|
62
56
|
RecurrenceStatusStatus: () => RecurrenceStatusStatus,
|
|
63
|
-
RegistrationStatus: () => RegistrationStatus,
|
|
64
57
|
RegistrationStatusStatus: () => RegistrationStatusStatus,
|
|
65
58
|
RegistrationTypeType: () => RegistrationTypeType,
|
|
66
59
|
Relation: () => Relation,
|
|
67
60
|
RequestedFields: () => RequestedFields,
|
|
68
61
|
Resizing: () => Resizing,
|
|
69
62
|
ResponseType: () => ResponseType,
|
|
70
|
-
RsvpStatusOptions: () => RsvpStatusOptions,
|
|
71
63
|
SortOrder: () => SortOrder,
|
|
72
64
|
Source: () => Source,
|
|
73
|
-
State: () => State,
|
|
74
65
|
Status: () => Status,
|
|
75
66
|
StylesPosition: () => StylesPosition,
|
|
76
|
-
SubdivisionSubdivisionType: () => SubdivisionSubdivisionType,
|
|
77
67
|
SubdivisionType: () => SubdivisionType,
|
|
78
68
|
Target: () => Target,
|
|
79
69
|
TaxType: () => TaxType,
|
|
@@ -84,7 +74,6 @@ __export(index_exports, {
|
|
|
84
74
|
VerticalAlignment: () => VerticalAlignment,
|
|
85
75
|
ViewMode: () => ViewMode,
|
|
86
76
|
ViewRole: () => ViewRole,
|
|
87
|
-
VisitorType: () => VisitorType,
|
|
88
77
|
VoteRole: () => VoteRole,
|
|
89
78
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
90
79
|
Width: () => Width,
|
|
@@ -1085,16 +1074,16 @@ var LocationType = /* @__PURE__ */ ((LocationType2) => {
|
|
|
1085
1074
|
LocationType2["ONLINE"] = "ONLINE";
|
|
1086
1075
|
return LocationType2;
|
|
1087
1076
|
})(LocationType || {});
|
|
1088
|
-
var
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
return
|
|
1097
|
-
})(
|
|
1077
|
+
var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
|
|
1078
|
+
SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
1079
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
|
|
1080
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
|
|
1081
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
|
|
1082
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
|
|
1083
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
|
|
1084
|
+
SubdivisionType2["COUNTRY"] = "COUNTRY";
|
|
1085
|
+
return SubdivisionType2;
|
|
1086
|
+
})(SubdivisionType || {});
|
|
1098
1087
|
var RecurrenceStatusStatus = /* @__PURE__ */ ((RecurrenceStatusStatus2) => {
|
|
1099
1088
|
RecurrenceStatusStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
1100
1089
|
RecurrenceStatusStatus2["ONE_TIME"] = "ONE_TIME";
|
|
@@ -1144,6 +1133,11 @@ var TaxType = /* @__PURE__ */ ((TaxType2) => {
|
|
|
1144
1133
|
TaxType2["ADDED_AT_CHECKOUT"] = "ADDED_AT_CHECKOUT";
|
|
1145
1134
|
return TaxType2;
|
|
1146
1135
|
})(TaxType || {});
|
|
1136
|
+
var CheckoutType = /* @__PURE__ */ ((CheckoutType2) => {
|
|
1137
|
+
CheckoutType2["EVENTS_APP"] = "EVENTS_APP";
|
|
1138
|
+
CheckoutType2["ECOMM_PLATFORM"] = "ECOMM_PLATFORM";
|
|
1139
|
+
return CheckoutType2;
|
|
1140
|
+
})(CheckoutType || {});
|
|
1147
1141
|
var GuestTypeType = /* @__PURE__ */ ((GuestTypeType2) => {
|
|
1148
1142
|
GuestTypeType2["UNKNOWN_GUEST_TYPE"] = "UNKNOWN_GUEST_TYPE";
|
|
1149
1143
|
GuestTypeType2["VISITOR_OR_MEMBER"] = "VISITOR_OR_MEMBER";
|
|
@@ -1183,11 +1177,11 @@ var ConferenceTypeType = /* @__PURE__ */ ((ConferenceTypeType2) => {
|
|
|
1183
1177
|
ConferenceTypeType2["WEBINAR"] = "WEBINAR";
|
|
1184
1178
|
return ConferenceTypeType2;
|
|
1185
1179
|
})(ConferenceTypeType || {});
|
|
1186
|
-
var
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
return
|
|
1190
|
-
})(
|
|
1180
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
1181
|
+
Type2["MANUAL"] = "MANUAL";
|
|
1182
|
+
Type2["RECURRING_EVENT"] = "RECURRING_EVENT";
|
|
1183
|
+
return Type2;
|
|
1184
|
+
})(Type || {});
|
|
1191
1185
|
var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
1192
1186
|
NodeType2["PARAGRAPH"] = "PARAGRAPH";
|
|
1193
1187
|
NodeType2["TEXT"] = "TEXT";
|
|
@@ -1485,91 +1479,6 @@ var Relation = /* @__PURE__ */ ((Relation2) => {
|
|
|
1485
1479
|
Relation2["ATTENDING"] = "ATTENDING";
|
|
1486
1480
|
return Relation2;
|
|
1487
1481
|
})(Relation || {});
|
|
1488
|
-
var LocationLocationType = /* @__PURE__ */ ((LocationLocationType2) => {
|
|
1489
|
-
LocationLocationType2["VENUE"] = "VENUE";
|
|
1490
|
-
LocationLocationType2["ONLINE"] = "ONLINE";
|
|
1491
|
-
return LocationLocationType2;
|
|
1492
|
-
})(LocationLocationType || {});
|
|
1493
|
-
var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
|
|
1494
|
-
SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
1495
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
|
|
1496
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
|
|
1497
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
|
|
1498
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
|
|
1499
|
-
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
|
|
1500
|
-
SubdivisionType2["COUNTRY"] = "COUNTRY";
|
|
1501
|
-
return SubdivisionType2;
|
|
1502
|
-
})(SubdivisionType || {});
|
|
1503
|
-
var EventsRecurrenceStatusStatus = /* @__PURE__ */ ((EventsRecurrenceStatusStatus2) => {
|
|
1504
|
-
EventsRecurrenceStatusStatus2["ONE_TIME"] = "ONE_TIME";
|
|
1505
|
-
EventsRecurrenceStatusStatus2["RECURRING"] = "RECURRING";
|
|
1506
|
-
EventsRecurrenceStatusStatus2["RECURRING_NEXT"] = "RECURRING_NEXT";
|
|
1507
|
-
EventsRecurrenceStatusStatus2["RECURRING_LAST_ENDED"] = "RECURRING_LAST_ENDED";
|
|
1508
|
-
EventsRecurrenceStatusStatus2["RECURRING_LAST_CANCELED"] = "RECURRING_LAST_CANCELED";
|
|
1509
|
-
return EventsRecurrenceStatusStatus2;
|
|
1510
|
-
})(EventsRecurrenceStatusStatus || {});
|
|
1511
|
-
var EventStatus = /* @__PURE__ */ ((EventStatus2) => {
|
|
1512
|
-
EventStatus2["SCHEDULED"] = "SCHEDULED";
|
|
1513
|
-
EventStatus2["STARTED"] = "STARTED";
|
|
1514
|
-
EventStatus2["ENDED"] = "ENDED";
|
|
1515
|
-
EventStatus2["CANCELED"] = "CANCELED";
|
|
1516
|
-
return EventStatus2;
|
|
1517
|
-
})(EventStatus || {});
|
|
1518
|
-
var EventType = /* @__PURE__ */ ((EventType2) => {
|
|
1519
|
-
EventType2["NA_EVENT_TYPE"] = "NA_EVENT_TYPE";
|
|
1520
|
-
EventType2["RSVP"] = "RSVP";
|
|
1521
|
-
EventType2["TICKETS"] = "TICKETS";
|
|
1522
|
-
EventType2["EXTERNAL"] = "EXTERNAL";
|
|
1523
|
-
EventType2["NO_REGISTRATION"] = "NO_REGISTRATION";
|
|
1524
|
-
return EventType2;
|
|
1525
|
-
})(EventType || {});
|
|
1526
|
-
var RegistrationStatus = /* @__PURE__ */ ((RegistrationStatus2) => {
|
|
1527
|
-
RegistrationStatus2["NA_REGISTRATION_STATUS"] = "NA_REGISTRATION_STATUS";
|
|
1528
|
-
RegistrationStatus2["CLOSED"] = "CLOSED";
|
|
1529
|
-
RegistrationStatus2["CLOSED_MANUALLY"] = "CLOSED_MANUALLY";
|
|
1530
|
-
RegistrationStatus2["OPEN_RSVP"] = "OPEN_RSVP";
|
|
1531
|
-
RegistrationStatus2["OPEN_RSVP_WAITLIST"] = "OPEN_RSVP_WAITLIST";
|
|
1532
|
-
RegistrationStatus2["OPEN_TICKETS"] = "OPEN_TICKETS";
|
|
1533
|
-
RegistrationStatus2["OPEN_EXTERNAL"] = "OPEN_EXTERNAL";
|
|
1534
|
-
RegistrationStatus2["SCHEDULED_RSVP"] = "SCHEDULED_RSVP";
|
|
1535
|
-
return RegistrationStatus2;
|
|
1536
|
-
})(RegistrationStatus || {});
|
|
1537
|
-
var RsvpStatusOptions = /* @__PURE__ */ ((RsvpStatusOptions2) => {
|
|
1538
|
-
RsvpStatusOptions2["YES_ONLY"] = "YES_ONLY";
|
|
1539
|
-
RsvpStatusOptions2["YES_AND_NO"] = "YES_AND_NO";
|
|
1540
|
-
return RsvpStatusOptions2;
|
|
1541
|
-
})(RsvpStatusOptions || {});
|
|
1542
|
-
var EventsTaxType = /* @__PURE__ */ ((EventsTaxType2) => {
|
|
1543
|
-
EventsTaxType2["INCLUDED"] = "INCLUDED";
|
|
1544
|
-
EventsTaxType2["ADDED"] = "ADDED";
|
|
1545
|
-
EventsTaxType2["ADDED_AT_CHECKOUT"] = "ADDED_AT_CHECKOUT";
|
|
1546
|
-
return EventsTaxType2;
|
|
1547
|
-
})(EventsTaxType || {});
|
|
1548
|
-
var VisitorType = /* @__PURE__ */ ((VisitorType2) => {
|
|
1549
|
-
VisitorType2["VISITOR"] = "VISITOR";
|
|
1550
|
-
VisitorType2["MEMBER"] = "MEMBER";
|
|
1551
|
-
VisitorType2["VISITOR_OR_MEMBER"] = "VISITOR_OR_MEMBER";
|
|
1552
|
-
return VisitorType2;
|
|
1553
|
-
})(VisitorType || {});
|
|
1554
|
-
var ConferenceType = /* @__PURE__ */ ((ConferenceType2) => {
|
|
1555
|
-
ConferenceType2["MEETING"] = "MEETING";
|
|
1556
|
-
ConferenceType2["WEBINAR"] = "WEBINAR";
|
|
1557
|
-
return ConferenceType2;
|
|
1558
|
-
})(ConferenceType || {});
|
|
1559
|
-
var State = /* @__PURE__ */ ((State2) => {
|
|
1560
|
-
State2["MANUAL"] = "MANUAL";
|
|
1561
|
-
State2["AUTO"] = "AUTO";
|
|
1562
|
-
State2["RECURRING_EVENT"] = "RECURRING_EVENT";
|
|
1563
|
-
State2["HIDDEN"] = "HIDDEN";
|
|
1564
|
-
return State2;
|
|
1565
|
-
})(State || {});
|
|
1566
|
-
var Type = /* @__PURE__ */ ((Type2) => {
|
|
1567
|
-
Type2["UNKNOWN_BADGE_TYPE"] = "UNKNOWN_BADGE_TYPE";
|
|
1568
|
-
Type2["FIRST_PRIORITY"] = "FIRST_PRIORITY";
|
|
1569
|
-
Type2["SECOND_PRIORITY"] = "SECOND_PRIORITY";
|
|
1570
|
-
Type2["THIRD_PRIORITY"] = "THIRD_PRIORITY";
|
|
1571
|
-
return Type2;
|
|
1572
|
-
})(Type || {});
|
|
1573
1482
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1574
1483
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1575
1484
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -1952,66 +1861,68 @@ async function bulkDeleteEventsByFilter2(options) {
|
|
|
1952
1861
|
}
|
|
1953
1862
|
function queryEvents2(options) {
|
|
1954
1863
|
const { httpClient, sideEffects } = arguments[1];
|
|
1955
|
-
return (0, import_query_builder.queryBuilder)(
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
(0,
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
1864
|
+
return (0, import_query_builder.queryBuilder)(
|
|
1865
|
+
{
|
|
1866
|
+
func: async (payload) => {
|
|
1867
|
+
const reqOpts = queryEvents({
|
|
1868
|
+
...payload,
|
|
1869
|
+
...options ?? {}
|
|
1870
|
+
});
|
|
1871
|
+
sideEffects?.onSiteCall?.();
|
|
1872
|
+
try {
|
|
1873
|
+
const result = await httpClient.request(reqOpts);
|
|
1874
|
+
sideEffects?.onSuccess?.(result);
|
|
1875
|
+
return result;
|
|
1876
|
+
} catch (err) {
|
|
1877
|
+
sideEffects?.onError?.(err);
|
|
1878
|
+
throw err;
|
|
1879
|
+
}
|
|
1880
|
+
},
|
|
1881
|
+
requestTransformer: (query) => {
|
|
1882
|
+
const args = [query, options];
|
|
1883
|
+
return (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
1884
|
+
{ ...args?.[1], query: args?.[0] },
|
|
1885
|
+
[]
|
|
1886
|
+
);
|
|
1887
|
+
},
|
|
1888
|
+
responseTransformer: ({ data }) => {
|
|
1889
|
+
const transformedData = (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1890
|
+
(0, import_transform_paths2.transformPaths)(data, [
|
|
1891
|
+
{
|
|
1892
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1893
|
+
paths: [{ path: "events.mainImage" }]
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
transformFn: import_page_url2.transformRESTPageURLToSDKPageURL,
|
|
1897
|
+
paths: [
|
|
1898
|
+
{ path: "events.eventPageUrl" },
|
|
1899
|
+
{ path: "events.agendaSettings.pageUrl" }
|
|
1900
|
+
]
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
1904
|
+
paths: [{ path: "events.location.address" }]
|
|
1905
|
+
}
|
|
1906
|
+
]),
|
|
1907
|
+
["events.description"]
|
|
1908
|
+
);
|
|
1909
|
+
return {
|
|
1910
|
+
items: transformedData?.events,
|
|
1911
|
+
pagingMetadata: transformedData?.pagingMetadata
|
|
1912
|
+
};
|
|
1913
|
+
},
|
|
1914
|
+
errorTransformer: (err) => {
|
|
1915
|
+
const transformedError = (0, import_transform_error.transformError)(err, {
|
|
1916
|
+
spreadPathsToArguments: {},
|
|
1917
|
+
explicitPathsToArguments: { query: "$[0]" },
|
|
1918
|
+
singleArgumentUnchanged: false
|
|
1919
|
+
});
|
|
1920
|
+
throw transformedError;
|
|
1921
|
+
},
|
|
1922
|
+
pagingMethod: "OFFSET",
|
|
1923
|
+
transformationPaths: {}
|
|
1924
|
+
}
|
|
1925
|
+
);
|
|
2015
1926
|
}
|
|
2016
1927
|
async function countEventsByStatus2(options) {
|
|
2017
1928
|
const { httpClient, sideEffects } = arguments[1];
|
|
@@ -2623,18 +2534,13 @@ var onEventUpdated2 = (0, import_event_definition_modules.createEventModule)(onE
|
|
|
2623
2534
|
BadgeTypeType,
|
|
2624
2535
|
ButtonDataType,
|
|
2625
2536
|
CardStylesType,
|
|
2626
|
-
|
|
2537
|
+
CheckoutType,
|
|
2627
2538
|
CommonSortOrder,
|
|
2628
|
-
ConferenceType,
|
|
2629
2539
|
ConferenceTypeType,
|
|
2630
2540
|
Crop,
|
|
2631
2541
|
DecorationType,
|
|
2632
2542
|
Direction,
|
|
2633
2543
|
DividerDataAlignment,
|
|
2634
|
-
EventStatus,
|
|
2635
|
-
EventType,
|
|
2636
|
-
EventsRecurrenceStatusStatus,
|
|
2637
|
-
EventsTaxType,
|
|
2638
2544
|
FontType,
|
|
2639
2545
|
GIFType,
|
|
2640
2546
|
GuestTypeType,
|
|
@@ -2644,7 +2550,6 @@ var onEventUpdated2 = (0, import_event_definition_modules.createEventModule)(onE
|
|
|
2644
2550
|
Layout,
|
|
2645
2551
|
LayoutType,
|
|
2646
2552
|
LineStyle,
|
|
2647
|
-
LocationLocationType,
|
|
2648
2553
|
LocationType,
|
|
2649
2554
|
MapType,
|
|
2650
2555
|
NodeType,
|
|
@@ -2656,20 +2561,16 @@ var onEventUpdated2 = (0, import_event_definition_modules.createEventModule)(onE
|
|
|
2656
2561
|
PollLayoutType,
|
|
2657
2562
|
Position,
|
|
2658
2563
|
RecurrenceStatusStatus,
|
|
2659
|
-
RegistrationStatus,
|
|
2660
2564
|
RegistrationStatusStatus,
|
|
2661
2565
|
RegistrationTypeType,
|
|
2662
2566
|
Relation,
|
|
2663
2567
|
RequestedFields,
|
|
2664
2568
|
Resizing,
|
|
2665
2569
|
ResponseType,
|
|
2666
|
-
RsvpStatusOptions,
|
|
2667
2570
|
SortOrder,
|
|
2668
2571
|
Source,
|
|
2669
|
-
State,
|
|
2670
2572
|
Status,
|
|
2671
2573
|
StylesPosition,
|
|
2672
|
-
SubdivisionSubdivisionType,
|
|
2673
2574
|
SubdivisionType,
|
|
2674
2575
|
Target,
|
|
2675
2576
|
TaxType,
|
|
@@ -2680,7 +2581,6 @@ var onEventUpdated2 = (0, import_event_definition_modules.createEventModule)(onE
|
|
|
2680
2581
|
VerticalAlignment,
|
|
2681
2582
|
ViewMode,
|
|
2682
2583
|
ViewRole,
|
|
2683
|
-
VisitorType,
|
|
2684
2584
|
VoteRole,
|
|
2685
2585
|
WebhookIdentityType,
|
|
2686
2586
|
Width,
|