@wix/auto_sdk_events_wix-events-v-2 1.0.51 → 1.0.52
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 +77 -184
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +137 -1106
- package/build/cjs/index.typings.js +77 -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 +77 -172
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +137 -1106
- package/build/es/index.typings.mjs +77 -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 +77 -184
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +137 -1106
- package/build/internal/cjs/index.typings.js +77 -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 +77 -172
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +137 -1106
- package/build/internal/es/index.typings.mjs +77 -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, 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,12 @@ __export(index_exports, {
|
|
|
27
27
|
BadgeTypeType: () => BadgeTypeType,
|
|
28
28
|
ButtonDataType: () => ButtonDataType,
|
|
29
29
|
CardStylesType: () => CardStylesType,
|
|
30
|
-
CategoryTypeType: () => CategoryTypeType,
|
|
31
30
|
CommonSortOrder: () => CommonSortOrder,
|
|
32
|
-
ConferenceType: () => ConferenceType,
|
|
33
31
|
ConferenceTypeType: () => ConferenceTypeType,
|
|
34
32
|
Crop: () => Crop,
|
|
35
33
|
DecorationType: () => DecorationType,
|
|
36
34
|
Direction: () => Direction,
|
|
37
35
|
DividerDataAlignment: () => DividerDataAlignment,
|
|
38
|
-
EventStatus: () => EventStatus,
|
|
39
|
-
EventType: () => EventType,
|
|
40
|
-
EventsRecurrenceStatusStatus: () => EventsRecurrenceStatusStatus,
|
|
41
|
-
EventsTaxType: () => EventsTaxType,
|
|
42
36
|
FontType: () => FontType,
|
|
43
37
|
GIFType: () => GIFType,
|
|
44
38
|
GuestTypeType: () => GuestTypeType,
|
|
@@ -48,7 +42,6 @@ __export(index_exports, {
|
|
|
48
42
|
Layout: () => Layout,
|
|
49
43
|
LayoutType: () => LayoutType,
|
|
50
44
|
LineStyle: () => LineStyle,
|
|
51
|
-
LocationLocationType: () => LocationLocationType,
|
|
52
45
|
LocationType: () => LocationType,
|
|
53
46
|
MapType: () => MapType,
|
|
54
47
|
NodeType: () => NodeType,
|
|
@@ -60,20 +53,16 @@ __export(index_exports, {
|
|
|
60
53
|
PollLayoutType: () => PollLayoutType,
|
|
61
54
|
Position: () => Position,
|
|
62
55
|
RecurrenceStatusStatus: () => RecurrenceStatusStatus,
|
|
63
|
-
RegistrationStatus: () => RegistrationStatus,
|
|
64
56
|
RegistrationStatusStatus: () => RegistrationStatusStatus,
|
|
65
57
|
RegistrationTypeType: () => RegistrationTypeType,
|
|
66
58
|
Relation: () => Relation,
|
|
67
59
|
RequestedFields: () => RequestedFields,
|
|
68
60
|
Resizing: () => Resizing,
|
|
69
61
|
ResponseType: () => ResponseType,
|
|
70
|
-
RsvpStatusOptions: () => RsvpStatusOptions,
|
|
71
62
|
SortOrder: () => SortOrder,
|
|
72
63
|
Source: () => Source,
|
|
73
|
-
State: () => State,
|
|
74
64
|
Status: () => Status,
|
|
75
65
|
StylesPosition: () => StylesPosition,
|
|
76
|
-
SubdivisionSubdivisionType: () => SubdivisionSubdivisionType,
|
|
77
66
|
SubdivisionType: () => SubdivisionType,
|
|
78
67
|
Target: () => Target,
|
|
79
68
|
TaxType: () => TaxType,
|
|
@@ -84,7 +73,6 @@ __export(index_exports, {
|
|
|
84
73
|
VerticalAlignment: () => VerticalAlignment,
|
|
85
74
|
ViewMode: () => ViewMode,
|
|
86
75
|
ViewRole: () => ViewRole,
|
|
87
|
-
VisitorType: () => VisitorType,
|
|
88
76
|
VoteRole: () => VoteRole,
|
|
89
77
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
90
78
|
Width: () => Width,
|
|
@@ -1085,16 +1073,16 @@ var LocationType = /* @__PURE__ */ ((LocationType2) => {
|
|
|
1085
1073
|
LocationType2["ONLINE"] = "ONLINE";
|
|
1086
1074
|
return LocationType2;
|
|
1087
1075
|
})(LocationType || {});
|
|
1088
|
-
var
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
return
|
|
1097
|
-
})(
|
|
1076
|
+
var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
|
|
1077
|
+
SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
1078
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
|
|
1079
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
|
|
1080
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
|
|
1081
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
|
|
1082
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
|
|
1083
|
+
SubdivisionType2["COUNTRY"] = "COUNTRY";
|
|
1084
|
+
return SubdivisionType2;
|
|
1085
|
+
})(SubdivisionType || {});
|
|
1098
1086
|
var RecurrenceStatusStatus = /* @__PURE__ */ ((RecurrenceStatusStatus2) => {
|
|
1099
1087
|
RecurrenceStatusStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
1100
1088
|
RecurrenceStatusStatus2["ONE_TIME"] = "ONE_TIME";
|
|
@@ -1183,11 +1171,11 @@ var ConferenceTypeType = /* @__PURE__ */ ((ConferenceTypeType2) => {
|
|
|
1183
1171
|
ConferenceTypeType2["WEBINAR"] = "WEBINAR";
|
|
1184
1172
|
return ConferenceTypeType2;
|
|
1185
1173
|
})(ConferenceTypeType || {});
|
|
1186
|
-
var
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
return
|
|
1190
|
-
})(
|
|
1174
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
1175
|
+
Type2["MANUAL"] = "MANUAL";
|
|
1176
|
+
Type2["RECURRING_EVENT"] = "RECURRING_EVENT";
|
|
1177
|
+
return Type2;
|
|
1178
|
+
})(Type || {});
|
|
1191
1179
|
var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
1192
1180
|
NodeType2["PARAGRAPH"] = "PARAGRAPH";
|
|
1193
1181
|
NodeType2["TEXT"] = "TEXT";
|
|
@@ -1485,91 +1473,6 @@ var Relation = /* @__PURE__ */ ((Relation2) => {
|
|
|
1485
1473
|
Relation2["ATTENDING"] = "ATTENDING";
|
|
1486
1474
|
return Relation2;
|
|
1487
1475
|
})(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
1476
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1574
1477
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1575
1478
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -1952,66 +1855,68 @@ async function bulkDeleteEventsByFilter2(options) {
|
|
|
1952
1855
|
}
|
|
1953
1856
|
function queryEvents2(options) {
|
|
1954
1857
|
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
|
-
|
|
1858
|
+
return (0, import_query_builder.queryBuilder)(
|
|
1859
|
+
{
|
|
1860
|
+
func: async (payload) => {
|
|
1861
|
+
const reqOpts = queryEvents({
|
|
1862
|
+
...payload,
|
|
1863
|
+
...options ?? {}
|
|
1864
|
+
});
|
|
1865
|
+
sideEffects?.onSiteCall?.();
|
|
1866
|
+
try {
|
|
1867
|
+
const result = await httpClient.request(reqOpts);
|
|
1868
|
+
sideEffects?.onSuccess?.(result);
|
|
1869
|
+
return result;
|
|
1870
|
+
} catch (err) {
|
|
1871
|
+
sideEffects?.onError?.(err);
|
|
1872
|
+
throw err;
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1875
|
+
requestTransformer: (query) => {
|
|
1876
|
+
const args = [query, options];
|
|
1877
|
+
return (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
1878
|
+
{ ...args?.[1], query: args?.[0] },
|
|
1879
|
+
[]
|
|
1880
|
+
);
|
|
1881
|
+
},
|
|
1882
|
+
responseTransformer: ({ data }) => {
|
|
1883
|
+
const transformedData = (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1884
|
+
(0, import_transform_paths2.transformPaths)(data, [
|
|
1885
|
+
{
|
|
1886
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1887
|
+
paths: [{ path: "events.mainImage" }]
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
transformFn: import_page_url2.transformRESTPageURLToSDKPageURL,
|
|
1891
|
+
paths: [
|
|
1892
|
+
{ path: "events.eventPageUrl" },
|
|
1893
|
+
{ path: "events.agendaSettings.pageUrl" }
|
|
1894
|
+
]
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
1898
|
+
paths: [{ path: "events.location.address" }]
|
|
1899
|
+
}
|
|
1900
|
+
]),
|
|
1901
|
+
["events.description"]
|
|
1902
|
+
);
|
|
1903
|
+
return {
|
|
1904
|
+
items: transformedData?.events,
|
|
1905
|
+
pagingMetadata: transformedData?.pagingMetadata
|
|
1906
|
+
};
|
|
1907
|
+
},
|
|
1908
|
+
errorTransformer: (err) => {
|
|
1909
|
+
const transformedError = (0, import_transform_error.transformError)(err, {
|
|
1910
|
+
spreadPathsToArguments: {},
|
|
1911
|
+
explicitPathsToArguments: { query: "$[0]" },
|
|
1912
|
+
singleArgumentUnchanged: false
|
|
1913
|
+
});
|
|
1914
|
+
throw transformedError;
|
|
1915
|
+
},
|
|
1916
|
+
pagingMethod: "OFFSET",
|
|
1917
|
+
transformationPaths: {}
|
|
1918
|
+
}
|
|
1919
|
+
);
|
|
2015
1920
|
}
|
|
2016
1921
|
async function countEventsByStatus2(options) {
|
|
2017
1922
|
const { httpClient, sideEffects } = arguments[1];
|
|
@@ -2623,18 +2528,12 @@ var onEventUpdated2 = (0, import_event_definition_modules.createEventModule)(onE
|
|
|
2623
2528
|
BadgeTypeType,
|
|
2624
2529
|
ButtonDataType,
|
|
2625
2530
|
CardStylesType,
|
|
2626
|
-
CategoryTypeType,
|
|
2627
2531
|
CommonSortOrder,
|
|
2628
|
-
ConferenceType,
|
|
2629
2532
|
ConferenceTypeType,
|
|
2630
2533
|
Crop,
|
|
2631
2534
|
DecorationType,
|
|
2632
2535
|
Direction,
|
|
2633
2536
|
DividerDataAlignment,
|
|
2634
|
-
EventStatus,
|
|
2635
|
-
EventType,
|
|
2636
|
-
EventsRecurrenceStatusStatus,
|
|
2637
|
-
EventsTaxType,
|
|
2638
2537
|
FontType,
|
|
2639
2538
|
GIFType,
|
|
2640
2539
|
GuestTypeType,
|
|
@@ -2644,7 +2543,6 @@ var onEventUpdated2 = (0, import_event_definition_modules.createEventModule)(onE
|
|
|
2644
2543
|
Layout,
|
|
2645
2544
|
LayoutType,
|
|
2646
2545
|
LineStyle,
|
|
2647
|
-
LocationLocationType,
|
|
2648
2546
|
LocationType,
|
|
2649
2547
|
MapType,
|
|
2650
2548
|
NodeType,
|
|
@@ -2656,20 +2554,16 @@ var onEventUpdated2 = (0, import_event_definition_modules.createEventModule)(onE
|
|
|
2656
2554
|
PollLayoutType,
|
|
2657
2555
|
Position,
|
|
2658
2556
|
RecurrenceStatusStatus,
|
|
2659
|
-
RegistrationStatus,
|
|
2660
2557
|
RegistrationStatusStatus,
|
|
2661
2558
|
RegistrationTypeType,
|
|
2662
2559
|
Relation,
|
|
2663
2560
|
RequestedFields,
|
|
2664
2561
|
Resizing,
|
|
2665
2562
|
ResponseType,
|
|
2666
|
-
RsvpStatusOptions,
|
|
2667
2563
|
SortOrder,
|
|
2668
2564
|
Source,
|
|
2669
|
-
State,
|
|
2670
2565
|
Status,
|
|
2671
2566
|
StylesPosition,
|
|
2672
|
-
SubdivisionSubdivisionType,
|
|
2673
2567
|
SubdivisionType,
|
|
2674
2568
|
Target,
|
|
2675
2569
|
TaxType,
|
|
@@ -2680,7 +2574,6 @@ var onEventUpdated2 = (0, import_event_definition_modules.createEventModule)(onE
|
|
|
2680
2574
|
VerticalAlignment,
|
|
2681
2575
|
ViewMode,
|
|
2682
2576
|
ViewRole,
|
|
2683
|
-
VisitorType,
|
|
2684
2577
|
VoteRole,
|
|
2685
2578
|
WebhookIdentityType,
|
|
2686
2579
|
Width,
|