@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/meta.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreateEventRequest as CreateEventRequest$1, CreateEventResponse as CreateEventResponse$1, CloneEventRequest as CloneEventRequest$1, CloneEventResponse as CloneEventResponse$1, UpdateEventRequest as UpdateEventRequest$1, UpdateEventResponse as UpdateEventResponse$1, PublishDraftEventRequest as PublishDraftEventRequest$1, PublishDraftEventResponse as PublishDraftEventResponse$1, CancelEventRequest as CancelEventRequest$1, CancelEventResponse as CancelEventResponse$1, BulkCancelEventsByFilterRequest as BulkCancelEventsByFilterRequest$1, BulkCancelEventsByFilterResponse as BulkCancelEventsByFilterResponse$1, DeleteEventRequest as DeleteEventRequest$1, DeleteEventResponse as DeleteEventResponse$1, BulkDeleteEventsByFilterRequest as BulkDeleteEventsByFilterRequest$1, BulkDeleteEventsByFilterResponse as BulkDeleteEventsByFilterResponse$1, QueryEventsRequest as QueryEventsRequest$1, QueryEventsResponse as QueryEventsResponse$1, CountEventsByStatusRequest as CountEventsByStatusRequest$1, CountEventsByStatusResponse as CountEventsByStatusResponse$1, GetEventRequest as GetEventRequest$1, GetEventResponse as GetEventResponse$1, GetEventBySlugRequest as GetEventBySlugRequest$1, GetEventBySlugResponse as GetEventBySlugResponse$1 } from './index.typings.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
|
-
interface
|
|
4
|
+
interface Event {
|
|
5
5
|
/**
|
|
6
6
|
* Event ID.
|
|
7
7
|
* @format GUID
|
|
@@ -40,7 +40,7 @@ interface V3Event {
|
|
|
40
40
|
* Main event image. <br>
|
|
41
41
|
* **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.
|
|
42
42
|
*/
|
|
43
|
-
mainImage?:
|
|
43
|
+
mainImage?: Image;
|
|
44
44
|
/**
|
|
45
45
|
* Unique identifier of the event page. The naming is the same as the event title written in kebab case. For example, if your event title is "Leather Crafting 101", then the slug is "leather-crafting-101".
|
|
46
46
|
* @readonly
|
|
@@ -121,7 +121,7 @@ interface V3Event {
|
|
|
121
121
|
*/
|
|
122
122
|
agendaSettings?: AgendaSettings;
|
|
123
123
|
/** Visual settings for event. */
|
|
124
|
-
eventDisplaySettings?:
|
|
124
|
+
eventDisplaySettings?: EventDisplaySettings;
|
|
125
125
|
/** Event description. <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="emoji,audio,codeBlock,collapsibleList,divider,emoji,file,gallery,giphy,hashtag,heading,html,image,indent,lineSpacing,link,linkPreview,spoiler,video" exampleid="9b569a8d-0fc1-40f4-987f-8bd40ecc72d0">Fallback Message for SSR and Error</widget> */
|
|
126
126
|
description?: RichContent;
|
|
127
127
|
/**
|
|
@@ -139,7 +139,7 @@ interface Location {
|
|
|
139
139
|
/** Location type. */
|
|
140
140
|
type?: LocationTypeWithLiterals;
|
|
141
141
|
/** Exact location address. */
|
|
142
|
-
address?:
|
|
142
|
+
address?: Address;
|
|
143
143
|
/** Whether the event location is TBD. */
|
|
144
144
|
locationTbd?: boolean | null;
|
|
145
145
|
}
|
|
@@ -154,9 +154,9 @@ declare enum LocationType {
|
|
|
154
154
|
/** @enumType */
|
|
155
155
|
type LocationTypeWithLiterals = LocationType | 'UNKNOWN_LOCATION' | 'VENUE' | 'ONLINE';
|
|
156
156
|
/** Physical address */
|
|
157
|
-
interface
|
|
157
|
+
interface Address extends AddressStreetOneOf {
|
|
158
158
|
/** Street address. */
|
|
159
|
-
streetAddress?:
|
|
159
|
+
streetAddress?: StreetAddress;
|
|
160
160
|
/**
|
|
161
161
|
* Primary address information (street and building number).
|
|
162
162
|
* @maxLength 250
|
|
@@ -189,16 +189,16 @@ interface CommonAddress extends CommonAddressStreetOneOf {
|
|
|
189
189
|
addressLine2?: string | null;
|
|
190
190
|
}
|
|
191
191
|
/** @oneof */
|
|
192
|
-
interface
|
|
192
|
+
interface AddressStreetOneOf {
|
|
193
193
|
/** Street address. */
|
|
194
|
-
streetAddress?:
|
|
194
|
+
streetAddress?: StreetAddress;
|
|
195
195
|
/**
|
|
196
196
|
* Primary address information (street and building number).
|
|
197
197
|
* @maxLength 250
|
|
198
198
|
*/
|
|
199
199
|
addressLine?: string | null;
|
|
200
200
|
}
|
|
201
|
-
interface
|
|
201
|
+
interface StreetAddress {
|
|
202
202
|
/**
|
|
203
203
|
* Street number.
|
|
204
204
|
* @maxLength 100
|
|
@@ -553,7 +553,7 @@ declare enum InitialRegistrationTypeType {
|
|
|
553
553
|
}
|
|
554
554
|
/** @enumType */
|
|
555
555
|
type InitialRegistrationTypeTypeWithLiterals = InitialRegistrationTypeType | 'UNKNOWN_INITIAL_REGISTRATION_TYPE' | 'RSVP' | 'TICKETING';
|
|
556
|
-
interface
|
|
556
|
+
interface Image {
|
|
557
557
|
/**
|
|
558
558
|
* WixMedia image ID.
|
|
559
559
|
* @minLength 1
|
|
@@ -1056,7 +1056,7 @@ interface AgendaSettings {
|
|
|
1056
1056
|
*/
|
|
1057
1057
|
pageUrl?: PageUrl;
|
|
1058
1058
|
}
|
|
1059
|
-
interface
|
|
1059
|
+
interface EventDisplaySettings {
|
|
1060
1060
|
/** Whether event details button is hidden. Only available for events with no registration. */
|
|
1061
1061
|
hideEventDetailsButton?: boolean | null;
|
|
1062
1062
|
/** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */
|
|
@@ -2774,7 +2774,7 @@ interface TextNodeStyle {
|
|
|
2774
2774
|
}
|
|
2775
2775
|
interface CreateEventRequest {
|
|
2776
2776
|
/** Event data. */
|
|
2777
|
-
event:
|
|
2777
|
+
event: Event;
|
|
2778
2778
|
/** Whether to create the event as a draft. */
|
|
2779
2779
|
draft?: boolean;
|
|
2780
2780
|
/**
|
|
@@ -2813,7 +2813,7 @@ declare enum RequestedFields {
|
|
|
2813
2813
|
type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'DETAILS' | 'TEXTS' | 'REGISTRATION' | 'URLS' | 'FORM' | 'DASHBOARD' | 'FEED' | 'ONLINE_CONFERENCING_SESSION' | 'SEO_SETTINGS' | 'AGENDA' | 'CATEGORIES';
|
|
2814
2814
|
interface CreateEventResponse {
|
|
2815
2815
|
/** Created event. */
|
|
2816
|
-
event?:
|
|
2816
|
+
event?: Event;
|
|
2817
2817
|
}
|
|
2818
2818
|
interface CloneEventRequest {
|
|
2819
2819
|
/**
|
|
@@ -2822,7 +2822,7 @@ interface CloneEventRequest {
|
|
|
2822
2822
|
*/
|
|
2823
2823
|
eventId: string;
|
|
2824
2824
|
/** Event info to change in the cloned event. */
|
|
2825
|
-
event?:
|
|
2825
|
+
event?: Event;
|
|
2826
2826
|
/** Whether to clone the event as a draft. */
|
|
2827
2827
|
draft?: boolean;
|
|
2828
2828
|
/**
|
|
@@ -2833,11 +2833,11 @@ interface CloneEventRequest {
|
|
|
2833
2833
|
}
|
|
2834
2834
|
interface CloneEventResponse {
|
|
2835
2835
|
/** Cloned event. */
|
|
2836
|
-
event?:
|
|
2836
|
+
event?: Event;
|
|
2837
2837
|
}
|
|
2838
2838
|
interface UpdateEventRequest {
|
|
2839
2839
|
/** Event info to update. */
|
|
2840
|
-
event?:
|
|
2840
|
+
event?: Event;
|
|
2841
2841
|
/**
|
|
2842
2842
|
* Predefined sets of fields to return.
|
|
2843
2843
|
* @maxSize 20
|
|
@@ -2846,7 +2846,7 @@ interface UpdateEventRequest {
|
|
|
2846
2846
|
}
|
|
2847
2847
|
interface UpdateEventResponse {
|
|
2848
2848
|
/** Updated event. */
|
|
2849
|
-
event?:
|
|
2849
|
+
event?: Event;
|
|
2850
2850
|
}
|
|
2851
2851
|
interface PublishDraftEventRequest {
|
|
2852
2852
|
/**
|
|
@@ -2862,7 +2862,7 @@ interface PublishDraftEventRequest {
|
|
|
2862
2862
|
}
|
|
2863
2863
|
interface PublishDraftEventResponse {
|
|
2864
2864
|
/** Published event. */
|
|
2865
|
-
event?:
|
|
2865
|
+
event?: Event;
|
|
2866
2866
|
}
|
|
2867
2867
|
interface CancelEventRequest {
|
|
2868
2868
|
/**
|
|
@@ -2878,7 +2878,7 @@ interface CancelEventRequest {
|
|
|
2878
2878
|
}
|
|
2879
2879
|
interface CancelEventResponse {
|
|
2880
2880
|
/** Canceled event. */
|
|
2881
|
-
event?:
|
|
2881
|
+
event?: Event;
|
|
2882
2882
|
}
|
|
2883
2883
|
interface BulkCancelEventsByFilterRequest {
|
|
2884
2884
|
/** Filter. For supported filters, see [Events v3: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/filter-and-sort). */
|
|
@@ -2976,7 +2976,7 @@ interface QueryEventsResponse {
|
|
|
2976
2976
|
/** Metadata for the paginated results. */
|
|
2977
2977
|
pagingMetadata?: CommonPagingMetadataV2;
|
|
2978
2978
|
/** List of events. */
|
|
2979
|
-
events?:
|
|
2979
|
+
events?: Event[];
|
|
2980
2980
|
}
|
|
2981
2981
|
interface CommonPagingMetadataV2 {
|
|
2982
2982
|
/** Number of items to return. See [Paging](https://dev.wix.com/api/rest/getting-started/sorting-and-paging#getting-started_sorting-and-paging_paging) for more information. */
|
|
@@ -3035,7 +3035,7 @@ interface GetEventRequest {
|
|
|
3035
3035
|
}
|
|
3036
3036
|
interface GetEventResponse {
|
|
3037
3037
|
/** Event. */
|
|
3038
|
-
event?:
|
|
3038
|
+
event?: Event;
|
|
3039
3039
|
}
|
|
3040
3040
|
interface GetEventBySlugRequest {
|
|
3041
3041
|
/**
|
|
@@ -3049,7 +3049,7 @@ interface GetEventBySlugRequest {
|
|
|
3049
3049
|
}
|
|
3050
3050
|
interface GetEventBySlugResponse {
|
|
3051
3051
|
/** Event. */
|
|
3052
|
-
event?:
|
|
3052
|
+
event?: Event;
|
|
3053
3053
|
}
|
|
3054
3054
|
|
|
3055
3055
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
package/build/es/index.d.mts
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.mjs';
|
|
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.mjs';
|
|
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 };
|