@wix/auto_sdk_events_wix-events-v-2 1.0.31 → 1.0.33

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.
Files changed (133) hide show
  1. package/build/{cjs/src/events-v3-event-wix-events-v-2.types.d.ts → events-v3-event-wix-events-v-2.universal-DqdnERTE.d.mts} +841 -495
  2. package/build/{internal/cjs/src/events-v3-event-wix-events-v-2.types.d.ts → events-v3-event-wix-events-v-2.universal-DqdnERTE.d.ts} +841 -495
  3. package/build/index.d.mts +220 -0
  4. package/build/index.d.ts +220 -0
  5. package/build/index.js +2657 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +2551 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/{es/src/events-v3-event-wix-events-v-2.types.d.ts → internal/events-v3-event-wix-events-v-2.universal-DqdnERTE.d.mts} +841 -495
  10. package/build/internal/{es/src/events-v3-event-wix-events-v-2.types.d.ts → events-v3-event-wix-events-v-2.universal-DqdnERTE.d.ts} +841 -495
  11. package/build/internal/index.d.mts +220 -0
  12. package/build/internal/index.d.ts +220 -0
  13. package/build/internal/index.js +2657 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +2551 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +2848 -0
  18. package/build/internal/meta.d.ts +2848 -0
  19. package/build/internal/meta.js +1213 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +1175 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +2848 -0
  24. package/build/meta.d.ts +2848 -0
  25. package/build/meta.js +1213 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +1175 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/events-v3-event-wix-events-v-2.context.d.ts +0 -68
  40. package/build/cjs/src/events-v3-event-wix-events-v-2.context.js +0 -134
  41. package/build/cjs/src/events-v3-event-wix-events-v-2.context.js.map +0 -1
  42. package/build/cjs/src/events-v3-event-wix-events-v-2.http.d.ts +0 -87
  43. package/build/cjs/src/events-v3-event-wix-events-v-2.http.js +0 -1031
  44. package/build/cjs/src/events-v3-event-wix-events-v-2.http.js.map +0 -1
  45. package/build/cjs/src/events-v3-event-wix-events-v-2.meta.d.ts +0 -38
  46. package/build/cjs/src/events-v3-event-wix-events-v-2.meta.js +0 -256
  47. package/build/cjs/src/events-v3-event-wix-events-v-2.meta.js.map +0 -1
  48. package/build/cjs/src/events-v3-event-wix-events-v-2.public.d.ts +0 -165
  49. package/build/cjs/src/events-v3-event-wix-events-v-2.public.js +0 -455
  50. package/build/cjs/src/events-v3-event-wix-events-v-2.public.js.map +0 -1
  51. package/build/cjs/src/events-v3-event-wix-events-v-2.types.js +0 -676
  52. package/build/cjs/src/events-v3-event-wix-events-v-2.types.js.map +0 -1
  53. package/build/cjs/src/events-v3-event-wix-events-v-2.universal.d.ts +0 -5403
  54. package/build/cjs/src/events-v3-event-wix-events-v-2.universal.js +0 -1513
  55. package/build/cjs/src/events-v3-event-wix-events-v-2.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/src/events-v3-event-wix-events-v-2.context.d.ts +0 -68
  66. package/build/es/src/events-v3-event-wix-events-v-2.context.js +0 -68
  67. package/build/es/src/events-v3-event-wix-events-v-2.context.js.map +0 -1
  68. package/build/es/src/events-v3-event-wix-events-v-2.http.d.ts +0 -87
  69. package/build/es/src/events-v3-event-wix-events-v-2.http.js +0 -1016
  70. package/build/es/src/events-v3-event-wix-events-v-2.http.js.map +0 -1
  71. package/build/es/src/events-v3-event-wix-events-v-2.meta.d.ts +0 -38
  72. package/build/es/src/events-v3-event-wix-events-v-2.meta.js +0 -218
  73. package/build/es/src/events-v3-event-wix-events-v-2.meta.js.map +0 -1
  74. package/build/es/src/events-v3-event-wix-events-v-2.public.d.ts +0 -165
  75. package/build/es/src/events-v3-event-wix-events-v-2.public.js +0 -377
  76. package/build/es/src/events-v3-event-wix-events-v-2.public.js.map +0 -1
  77. package/build/es/src/events-v3-event-wix-events-v-2.types.js +0 -672
  78. package/build/es/src/events-v3-event-wix-events-v-2.types.js.map +0 -1
  79. package/build/es/src/events-v3-event-wix-events-v-2.universal.d.ts +0 -5403
  80. package/build/es/src/events-v3-event-wix-events-v-2.universal.js +0 -1474
  81. package/build/es/src/events-v3-event-wix-events-v-2.universal.js.map +0 -1
  82. package/build/internal/cjs/index.d.ts +0 -1
  83. package/build/internal/cjs/index.js +0 -18
  84. package/build/internal/cjs/index.js.map +0 -1
  85. package/build/internal/cjs/index.typings.d.ts +0 -1
  86. package/build/internal/cjs/index.typings.js +0 -18
  87. package/build/internal/cjs/index.typings.js.map +0 -1
  88. package/build/internal/cjs/meta.d.ts +0 -1
  89. package/build/internal/cjs/meta.js +0 -18
  90. package/build/internal/cjs/meta.js.map +0 -1
  91. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.context.d.ts +0 -68
  92. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.context.js +0 -134
  93. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.context.js.map +0 -1
  94. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.http.d.ts +0 -87
  95. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.http.js +0 -1031
  96. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.http.js.map +0 -1
  97. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.meta.d.ts +0 -38
  98. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.meta.js +0 -256
  99. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.meta.js.map +0 -1
  100. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.public.d.ts +0 -165
  101. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.public.js +0 -455
  102. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.public.js.map +0 -1
  103. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.types.js +0 -676
  104. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.types.js.map +0 -1
  105. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.universal.d.ts +0 -5403
  106. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.universal.js +0 -1513
  107. package/build/internal/cjs/src/events-v3-event-wix-events-v-2.universal.js.map +0 -1
  108. package/build/internal/es/index.d.ts +0 -1
  109. package/build/internal/es/index.js +0 -2
  110. package/build/internal/es/index.js.map +0 -1
  111. package/build/internal/es/index.typings.d.ts +0 -1
  112. package/build/internal/es/index.typings.js +0 -2
  113. package/build/internal/es/index.typings.js.map +0 -1
  114. package/build/internal/es/meta.d.ts +0 -1
  115. package/build/internal/es/meta.js +0 -2
  116. package/build/internal/es/meta.js.map +0 -1
  117. package/build/internal/es/src/events-v3-event-wix-events-v-2.context.d.ts +0 -68
  118. package/build/internal/es/src/events-v3-event-wix-events-v-2.context.js +0 -68
  119. package/build/internal/es/src/events-v3-event-wix-events-v-2.context.js.map +0 -1
  120. package/build/internal/es/src/events-v3-event-wix-events-v-2.http.d.ts +0 -87
  121. package/build/internal/es/src/events-v3-event-wix-events-v-2.http.js +0 -1016
  122. package/build/internal/es/src/events-v3-event-wix-events-v-2.http.js.map +0 -1
  123. package/build/internal/es/src/events-v3-event-wix-events-v-2.meta.d.ts +0 -38
  124. package/build/internal/es/src/events-v3-event-wix-events-v-2.meta.js +0 -218
  125. package/build/internal/es/src/events-v3-event-wix-events-v-2.meta.js.map +0 -1
  126. package/build/internal/es/src/events-v3-event-wix-events-v-2.public.d.ts +0 -165
  127. package/build/internal/es/src/events-v3-event-wix-events-v-2.public.js +0 -377
  128. package/build/internal/es/src/events-v3-event-wix-events-v-2.public.js.map +0 -1
  129. package/build/internal/es/src/events-v3-event-wix-events-v-2.types.js +0 -672
  130. package/build/internal/es/src/events-v3-event-wix-events-v-2.types.js.map +0 -1
  131. package/build/internal/es/src/events-v3-event-wix-events-v-2.universal.d.ts +0 -5403
  132. package/build/internal/es/src/events-v3-event-wix-events-v-2.universal.js +0 -1474
  133. package/build/internal/es/src/events-v3-event-wix-events-v-2.universal.js.map +0 -1
@@ -0,0 +1,220 @@
1
+ import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
+ import { V as V3Event, C as CreateEventOptions, a as CloneEventOptions, b as CloneEventResponse, U as UpdateEventOptions, P as PublishDraftEventOptions, c as PublishDraftEventResponse, d as CancelEventOptions, e as CancelEventResponse, B as BulkCancelEventsByFilterOptions, D as DeleteEventResponse, f as BulkDeleteEventsByFilterOptions, Q as QueryEventsOptions, E as EventsQueryBuilder, g as CountEventsByStatusOptions, h as CountEventsByStatusResponse, G as GetEventOptions, i as GetEventBySlugOptions, j as GetEventBySlugResponse, k as EventCanceledEnvelope, l as EventClonedEnvelope, m as EventCreatedEnvelope, n as EventDeletedEnvelope, o as EventEndedEnvelope, p as EventPublishedEnvelope, q as EventReminderEnvelope, r as EventStartedEnvelope, s as EventUpdatedEnvelope } from './events-v3-event-wix-events-v-2.universal-DqdnERTE.mjs';
3
+ export { eu as ActionEvent, dJ as Address, dM as AddressLocation, dK as AddressStreetOneOf, e9 as Agenda, bj as AgendaSettings, Y as Alignment, cn as AnchorData, ct as AppEmbedData, cu as AppEmbedDataAppDataOneOf, ad as AppType, cI as AudioData, cd as Background, ce as BackgroundBackgroundOneOf, aa as BackgroundType, ee as Badge, cR as BadgeList, ai as BadgeTypeType, ey as BaseEventMetadata, cL as BlockquoteData, cv as BookingData, bt as Border, cG as BorderColors, d6 as BulkCancelEventsByFilterRequest, db as BulkCancelEventsByFilterResponse, dd as BulkDeleteEventsByFilterRequest, de as BulkDeleteEventsByFilterResponse, cK as BulletedListData, bs as ButtonData, J as ButtonDataType, d_ as CalendarLinks, aR as CalendarUrls, d5 as CancelEventRequest, cM as CaptionData, ea as Category, eb as CategoryCounts, F as CategoryTypeType, cF as CellStyle, b2 as CheckoutFormMessages, d0 as CloneEventFromOtherSiteRequest, d1 as CloneEventFromOtherSiteResponse, c$ as CloneEventRequest, bE as CodeBlockData, cB as CollapsibleListData, co as ColorData, bu as Colors, aB as CommonAddress, aE as CommonAddressLocation, aC as CommonAddressStreetOneOf, di as CommonCursors, da as CommonPaging, dh as CommonPagingMetadataV2, d7 as CommonQueryV2, d8 as CommonQueryV2PagingMethodOneOf, ak as CommonSortOrder, d9 as CommonSorting, aD as CommonStreetAddress, aF as CommonSubdivision, aw as ConferenceType, A as ConferenceTypeType, dt as CountEventsByStatusRequest, cZ as CreateEventRequest, c_ as CreateEventResponse, a0 as Crop, dp as CursorPaging, ds as Cursors, e0 as Dashboard, aG as DateAndTimeSettings, cl as Decoration, cm as DecorationDataOneOf, ab as DecorationType, dc as DeleteEventRequest, cj as Design, cD as Dimensions, af as Direction, bG as DividerData, cP as DocumentStyle, eo as DomainEvent, ep as DomainEventBodyOneOf, cz as EmbedData, ef as Empty, eq as EntityCreatedEvent, et as EntityDeletedEvent, es as EntityUpdatedEvent, dR as Event, ek as EventCanceled, bk as EventCategories, bl as EventCategory, cX as EventCloned, ei as EventCopied, dG as EventCreated, cw as EventData, eh as EventDeleted, ec as EventDisplaySettings, em as EventEnded, cY as EventEventCanceled, cU as EventEventEnded, cW as EventEventPublished, cV as EventEventReminder, cT as EventEventStarted, ez as EventMetadata, ej as EventPublished, en as EventReminder, el as EventStarted, aq as EventStatus, ar as EventType, eg as EventUpdated, e4 as EventsFeed, ed as EventsLabellingSettings, dH as EventsLocation, b7 as EventsMoney, dQ as EventsOccurrence, e5 as EventsOnlineConferencing, e7 as EventsOnlineConferencingSession, eA as EventsQueryResult, ap as EventsRecurrenceStatusStatus, dP as EventsRecurrences, dT as EventsRegistration, e8 as EventsSeoSettings, au as EventsTaxType, dj as ExportEventsRequest, dq as ExportEventsResponse, dZ as ExternalEvent, aQ as ExternalRegistration, du as FacetCounts, bb as Feed, bH as FileData, bI as FileSource, bJ as FileSourceDataOneOf, dD as FindEventRequest, dE as FindEventRequestFindByOneOf, dF as FindEventResponse, cr as FontSizeData, ac as FontType, aS as Form, aY as FormMessages, aJ as Formatted, bW as GIF, bV as GIFData, a2 as GIFType, bL as GalleryData, bR as GalleryOptions, dC as GetEventBySlugRequest, dA as GetEventRequest, dB as GetEventResponse, cc as Gradient, e3 as GuestListConfig, ba as GuestListSettings, x as GuestTypeType, bY as HTMLData, bZ as HTMLDataDataOneOf, bX as HeadingData, bz as Height, ew as IdentificationData, ex as IdentificationDataIdOneOf, bN as Image, b_ as ImageData, c0 as ImageDataStyles, ae as InitialExpandedItems, I as InitialRegistrationTypeType, aU as Input, aT as InputControl, y as InputControlType, bP as Item, bQ as ItemDataOneOf, bT as ItemStyle, bg as Keyword, aX as Label, bn as LabellingSettings, bS as Layout, cN as LayoutCellData, _ as LayoutType, O as LineStyle, bB as Link, cp as LinkData, bC as LinkDataOneOf, c1 as LinkPreviewData, c2 as LinkPreviewDataStyles, dy as ListEventsByCategoryRequest, dz as ListEventsByCategoryResponse, dv as ListUserEventsRequest, dx as ListUserEventsResponse, cH as ListValue, aA as Location, an as LocationLocationType, L as LocationType, dI as MapCoordinates, c3 as MapData, c4 as MapSettings, a5 as MapType, bM as Media, cq as MentionData, ev as MessageEnvelope, cO as Metadata, aO as Money, b1 as Negative, a$ as NegativeResponseConfirmation, bp as Node, bq as NodeDataOneOf, br as NodeStyle, N as NodeType, ah as NullValue, aI as Occurrence, cA as Oembed, bc as OnlineConferencing, e6 as OnlineConferencingConfig, bd as OnlineConferencingSession, c8 as Option, cg as OptionDesign, cb as OptionLayout, aV as OptionSelection, aW as OptionSelectionSelectedOptionOneOf, cJ as OrderedListData, $ as Orientation, bK as PDFSettings, dn as Paging, dr as PagingMetadataV2, c5 as ParagraphData, c7 as Permissions, cy as PlaybackOptions, bv as PluginContainerData, H as PluginContainerDataAlignment, bw as PluginContainerDataWidth, bx as PluginContainerDataWidthDataOneOf, ch as Poll, c6 as PollData, ci as PollDataLayout, cf as PollDesign, ca as PollLayout, a9 as PollLayoutDirection, a8 as PollLayoutType, c9 as PollSettings, a4 as Position, b0 as Positive, a_ as PositiveResponseConfirmation, d4 as PublishDraftEventRequest, df as QueryEventsRequest, dg as QueryEventsResponse, dk as QueryV2, dl as QueryV2PagingMethodOneOf, R as RecurrenceStatusStatus, aH as Recurrences, aL as Registration, b4 as RegistrationClosedMessages, as as RegistrationStatus, v as RegistrationStatusStatus, u as RegistrationTypeType, bD as Rel, am as Relation, aj as RequestedFields, b3 as ResponseConfirmation, w as ResponseType, er as RestoreInfo, bo as RichContent, dU as RsvpCollection, dV as RsvpCollectionConfig, aZ as RsvpFormMessages, aM as RsvpRegistration, at as RsvpStatusOptions, e1 as RsvpSummary, b8 as Rsvps, dO as ScheduleConfig, dS as Scheduling, bf as SeoSchema, be as SeoSettings, bi as Settings, d$ as SiteUrl, al as SortOrder, dm as Sorting, a3 as Source, by as Spoiler, cs as SpoilerData, ax as State, t as Status, dL as StreetAddress, bA as Styles, b$ as StylesBorder, dN as Subdivision, S as SubdivisionSubdivisionType, ao as SubdivisionType, b6 as Summaries, cE as TableCellData, cC as TableData, bh as Tag, K as Target, dY as TaxConfig, aP as TaxSettings, T as TaxType, M as TextAlignment, ck as TextData, cQ as TextNodeStyle, bF as TextStyle, bU as Thumbnails, a1 as ThumbnailsAlignment, dW as Ticketing, dX as TicketingConfig, e2 as TicketingSummary, b9 as Tickets, aN as TicketsRegistration, b5 as TicketsUnavailableMessages, aK as TimeDuration, ay as Type, d2 as UpdateEventRequest, d3 as UpdateEventResponse, dw as UserFilter, cS as V3Badge, bm as V3EventDisplaySettings, z as ValueType, ag as VerticalAlignment, bO as Video, cx as VideoData, Z as ViewMode, a6 as ViewRole, av as VisitorType, a7 as VoteRole, az as WebhookIdentityType, X as Width, W as WidthType } from './events-v3-event-wix-events-v-2.universal-DqdnERTE.mjs';
4
+
5
+ declare function createEvent$1(httpClient: HttpClient): CreateEventSignature;
6
+ interface CreateEventSignature {
7
+ /**
8
+ * Creates an event.
9
+ *
10
+ *
11
+ * The event includes a default registration form in the selected language, which consists of input fields for first name, last name, and email. See [Registration Form](https://www.wix.com/velo/reference/wix-events-v2/forms/introduction) for more information.
12
+ *
13
+ * You can create the event as a draft by setting the draft value to true. Otherwise, the event is published right away.
14
+ *
15
+ * The event is automatically set up to send daily summary reports of new guests to your business email.
16
+ * @param - Event data.
17
+ * @param - Optional fields.
18
+ * @returns Created event.
19
+ */
20
+ (event: V3Event, options?: CreateEventOptions | undefined): Promise<V3Event>;
21
+ }
22
+ declare function cloneEvent$1(httpClient: HttpClient): CloneEventSignature;
23
+ interface CloneEventSignature {
24
+ /**
25
+ * Clones an event, including the registration form, notifications, multilingual translations and ticket configuration from the original event.
26
+ *
27
+ *
28
+ * The new event's date is automatically set to 14 days from the original event date.
29
+ * If an event with the same title already exists, the new event's title gets a sequence number. For example, if you clone an event named "Leather Crafting 101", the new event's title is "Leather Crafting 101 (1)". You can change the required entity field values while cloning an event.
30
+ * @param - Event ID.
31
+ * @param - Optional fields.
32
+ */
33
+ (eventId: string, options?: CloneEventOptions | undefined): Promise<CloneEventResponse>;
34
+ }
35
+ declare function updateEvent$1(httpClient: HttpClient): UpdateEventSignature;
36
+ interface UpdateEventSignature {
37
+ /**
38
+ * Updates an event.
39
+ * @param - Event ID.
40
+ * @param - Optional fields.
41
+ * @returns Updated event.
42
+ */
43
+ (_id: string, options?: UpdateEventOptions | undefined): Promise<V3Event>;
44
+ }
45
+ declare function publishDraftEvent$1(httpClient: HttpClient): PublishDraftEventSignature;
46
+ interface PublishDraftEventSignature {
47
+ /**
48
+ * Publishes a draft event to your live site. Once published, the event's status changes from `DRAFT` to `UPCOMING.`
49
+ *
50
+ *
51
+ * It's impossible to revert the `DRAFT` status after publishing. The only option is to clone the event, and then delete the original one.
52
+ * @param - Event ID.
53
+ * @param - Optional fields.
54
+ */
55
+ (eventId: string, options?: PublishDraftEventOptions | undefined): Promise<PublishDraftEventResponse>;
56
+ }
57
+ declare function cancelEvent$1(httpClient: HttpClient): CancelEventSignature;
58
+ interface CancelEventSignature {
59
+ /**
60
+ * Cancels an event.
61
+ *
62
+ *
63
+ * After cancellation, registration for an event is closed. To reuse the event, [clone](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/cloneevent) and [publish](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/publishdraftevent) it again.
64
+ * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.
65
+ * @param - Event ID.
66
+ * @param - Optional fields.
67
+ */
68
+ (eventId: string, options?: CancelEventOptions | undefined): Promise<CancelEventResponse>;
69
+ }
70
+ declare function bulkCancelEventsByFilter$1(httpClient: HttpClient): BulkCancelEventsByFilterSignature;
71
+ interface BulkCancelEventsByFilterSignature {
72
+ /**
73
+ * Cancels multiple events that meet the given criteria.
74
+ *
75
+ *
76
+ * After cancellation, registration for an event is closed. To reuse the event, [clone](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/cloneevent) and [publish](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/publishdraftevent) it again.
77
+ * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.
78
+ * @param - Optional fields.
79
+ */
80
+ (options?: BulkCancelEventsByFilterOptions | undefined): Promise<void>;
81
+ }
82
+ declare function deleteEvent$1(httpClient: HttpClient): DeleteEventSignature;
83
+ interface DeleteEventSignature {
84
+ /**
85
+ * Permanently deletes an event. <br> <br>
86
+ * You can retrieve the deleted event through a GDPR access request.
87
+ * @param - Event ID.
88
+ */
89
+ (eventId: string): Promise<DeleteEventResponse>;
90
+ }
91
+ declare function bulkDeleteEventsByFilter$1(httpClient: HttpClient): BulkDeleteEventsByFilterSignature;
92
+ interface BulkDeleteEventsByFilterSignature {
93
+ /**
94
+ * Permanently deletes multiple events that meet the given criteria.
95
+ *
96
+ *
97
+ * You can retrieve the deleted events through a GDPR access request.
98
+ * @param - Optional fields.
99
+ */
100
+ (options?: BulkDeleteEventsByFilterOptions | undefined): Promise<void>;
101
+ }
102
+ declare function queryEvents$1(httpClient: HttpClient): QueryEventsSignature;
103
+ interface QueryEventsSignature {
104
+ /**
105
+ * Creates a query to retrieve a list of events.
106
+ *
107
+ *
108
+ * The `queryEvents()` function builds a query to retrieve a list of events and returns a [`EventsQueryBuilder`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder) object.
109
+ *
110
+ * The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/find) function.
111
+ *
112
+ * You can refine the query by chaining `EventsQueryBuilder` functions onto the query. `EventsQueryBuilder` functions enable you to sort, filter, and control the results `queryEvents()` returns.
113
+ *
114
+ * `queryEvents()` runs with these `EventsQueryBuilder` defaults, which you can override:
115
+ *
116
+ * - [`skip(0)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/skip)
117
+ * - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/limit)
118
+ * - [`descending("_createdDate")`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/descending)
119
+ *
120
+ * The functions that are chained to `queryEvents()` are applied in the order they're called. For example, if you apply `ascending('title')` and then `descending('status')`, the results are sorted first by the `title`, and then, if there are multiple results with the same `title`, the items are sorted by `status`.
121
+ * @param - Optional fields.
122
+ */
123
+ (options?: QueryEventsOptions | undefined): EventsQueryBuilder;
124
+ }
125
+ declare function countEventsByStatus$1(httpClient: HttpClient): CountEventsByStatusSignature;
126
+ interface CountEventsByStatusSignature {
127
+ /**
128
+ * Counts events by status.
129
+ * @param - Optional fields.
130
+ */
131
+ (options?: CountEventsByStatusOptions | undefined): Promise<CountEventsByStatusResponse>;
132
+ }
133
+ declare function getEvent$1(httpClient: HttpClient): GetEventSignature;
134
+ interface GetEventSignature {
135
+ /**
136
+ * Retrieves an event by ID.
137
+ * @param - Event ID.
138
+ * @param - Optional fields.
139
+ * @returns Event.
140
+ */
141
+ (eventId: string, options?: GetEventOptions | undefined): Promise<V3Event>;
142
+ }
143
+ declare function getEventBySlug$1(httpClient: HttpClient): GetEventBySlugSignature;
144
+ interface GetEventBySlugSignature {
145
+ /**
146
+ * Retrieves an event by the `slug` URL.
147
+ *
148
+ *
149
+ * The slug is the end of an event URL that refers to a specific event. For example, if an events' URL is `https://example.com/events/event/{my-event-slug}`, the slug is `my-event-slug`.
150
+ * @param - URL slug.
151
+ * @param - Optional fields.
152
+ */
153
+ (slug: string, options?: GetEventBySlugOptions | undefined): Promise<GetEventBySlugResponse>;
154
+ }
155
+ declare const onEventCanceled$1: EventDefinition<EventCanceledEnvelope, "wix.events.v3.event_canceled">;
156
+ declare const onEventCloned$1: EventDefinition<EventClonedEnvelope, "wix.events.v3.event_cloned">;
157
+ declare const onEventCreated$1: EventDefinition<EventCreatedEnvelope, "wix.events.v3.event_created">;
158
+ declare const onEventDeleted$1: EventDefinition<EventDeletedEnvelope, "wix.events.v3.event_deleted">;
159
+ declare const onEventEnded$1: EventDefinition<EventEndedEnvelope, "wix.events.v3.event_ended">;
160
+ declare const onEventPublished$1: EventDefinition<EventPublishedEnvelope, "wix.events.v3.event_published">;
161
+ declare const onEventReminder$1: EventDefinition<EventReminderEnvelope, "wix.events.v3.event_reminder">;
162
+ declare const onEventStarted$1: EventDefinition<EventStartedEnvelope, "wix.events.v3.event_started">;
163
+ declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.events.v3.event_updated">;
164
+
165
+ declare const createEvent: MaybeContext<BuildRESTFunction<typeof createEvent$1> & typeof createEvent$1>;
166
+ declare const cloneEvent: MaybeContext<BuildRESTFunction<typeof cloneEvent$1> & typeof cloneEvent$1>;
167
+ declare const updateEvent: MaybeContext<BuildRESTFunction<typeof updateEvent$1> & typeof updateEvent$1>;
168
+ declare const publishDraftEvent: MaybeContext<BuildRESTFunction<typeof publishDraftEvent$1> & typeof publishDraftEvent$1>;
169
+ declare const cancelEvent: MaybeContext<BuildRESTFunction<typeof cancelEvent$1> & typeof cancelEvent$1>;
170
+ declare const bulkCancelEventsByFilter: MaybeContext<BuildRESTFunction<typeof bulkCancelEventsByFilter$1> & typeof bulkCancelEventsByFilter$1>;
171
+ declare const deleteEvent: MaybeContext<BuildRESTFunction<typeof deleteEvent$1> & typeof deleteEvent$1>;
172
+ declare const bulkDeleteEventsByFilter: MaybeContext<BuildRESTFunction<typeof bulkDeleteEventsByFilter$1> & typeof bulkDeleteEventsByFilter$1>;
173
+ declare const queryEvents: MaybeContext<BuildRESTFunction<typeof queryEvents$1> & typeof queryEvents$1>;
174
+ declare const countEventsByStatus: MaybeContext<BuildRESTFunction<typeof countEventsByStatus$1> & typeof countEventsByStatus$1>;
175
+ declare const getEvent: MaybeContext<BuildRESTFunction<typeof getEvent$1> & typeof getEvent$1>;
176
+ declare const getEventBySlug: MaybeContext<BuildRESTFunction<typeof getEventBySlug$1> & typeof getEventBySlug$1>;
177
+ /**
178
+ * Triggered when event is canceled.
179
+ */
180
+ declare const onEventCanceled: BuildEventDefinition<typeof onEventCanceled$1>;
181
+ /**
182
+ * Triggered when event is cloned.
183
+ */
184
+ declare const onEventCloned: BuildEventDefinition<typeof onEventCloned$1>;
185
+ /**
186
+ * Triggered when event is created.
187
+ */
188
+ declare const onEventCreated: BuildEventDefinition<typeof onEventCreated$1>;
189
+ /**
190
+ * Triggered when event is deleted.
191
+ */
192
+ declare const onEventDeleted: BuildEventDefinition<typeof onEventDeleted$1>;
193
+ /**
194
+ * Triggered when event has ended.
195
+ */
196
+ declare const onEventEnded: BuildEventDefinition<typeof onEventEnded$1>;
197
+ /**
198
+ * Triggered when event is published.
199
+ */
200
+ declare const onEventPublished: BuildEventDefinition<typeof onEventPublished$1>;
201
+ /**
202
+ * Triggered when a certain amount of time is left until the event. In total there are 6 reminders:
203
+ * - 7 days
204
+ * - 3 days
205
+ * - 1 day
206
+ * - 2 hours
207
+ * - 1 hour
208
+ * - 30 minutes
209
+ */
210
+ declare const onEventReminder: BuildEventDefinition<typeof onEventReminder$1>;
211
+ /**
212
+ * Triggered when event has started.
213
+ */
214
+ declare const onEventStarted: BuildEventDefinition<typeof onEventStarted$1>;
215
+ /**
216
+ * Triggered when event is updated.
217
+ */
218
+ declare const onEventUpdated: BuildEventDefinition<typeof onEventUpdated$1>;
219
+
220
+ export { BulkCancelEventsByFilterOptions, BulkDeleteEventsByFilterOptions, CancelEventOptions, CancelEventResponse, CloneEventOptions, CloneEventResponse, CountEventsByStatusOptions, CountEventsByStatusResponse, CreateEventOptions, DeleteEventResponse, EventCanceledEnvelope, EventClonedEnvelope, EventCreatedEnvelope, EventDeletedEnvelope, EventEndedEnvelope, EventPublishedEnvelope, EventReminderEnvelope, EventStartedEnvelope, EventUpdatedEnvelope, EventsQueryBuilder, GetEventBySlugOptions, GetEventBySlugResponse, GetEventOptions, PublishDraftEventOptions, PublishDraftEventResponse, QueryEventsOptions, UpdateEventOptions, V3Event, bulkCancelEventsByFilter, bulkDeleteEventsByFilter, cancelEvent, cloneEvent, countEventsByStatus, createEvent, deleteEvent, getEvent, getEventBySlug, onEventCanceled, onEventCloned, onEventCreated, onEventDeleted, onEventEnded, onEventPublished, onEventReminder, onEventStarted, onEventUpdated, publishDraftEvent, queryEvents, updateEvent };
@@ -0,0 +1,220 @@
1
+ import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
+ import { V as V3Event, C as CreateEventOptions, a as CloneEventOptions, b as CloneEventResponse, U as UpdateEventOptions, P as PublishDraftEventOptions, c as PublishDraftEventResponse, d as CancelEventOptions, e as CancelEventResponse, B as BulkCancelEventsByFilterOptions, D as DeleteEventResponse, f as BulkDeleteEventsByFilterOptions, Q as QueryEventsOptions, E as EventsQueryBuilder, g as CountEventsByStatusOptions, h as CountEventsByStatusResponse, G as GetEventOptions, i as GetEventBySlugOptions, j as GetEventBySlugResponse, k as EventCanceledEnvelope, l as EventClonedEnvelope, m as EventCreatedEnvelope, n as EventDeletedEnvelope, o as EventEndedEnvelope, p as EventPublishedEnvelope, q as EventReminderEnvelope, r as EventStartedEnvelope, s as EventUpdatedEnvelope } from './events-v3-event-wix-events-v-2.universal-DqdnERTE.js';
3
+ export { eu as ActionEvent, dJ as Address, dM as AddressLocation, dK as AddressStreetOneOf, e9 as Agenda, bj as AgendaSettings, Y as Alignment, cn as AnchorData, ct as AppEmbedData, cu as AppEmbedDataAppDataOneOf, ad as AppType, cI as AudioData, cd as Background, ce as BackgroundBackgroundOneOf, aa as BackgroundType, ee as Badge, cR as BadgeList, ai as BadgeTypeType, ey as BaseEventMetadata, cL as BlockquoteData, cv as BookingData, bt as Border, cG as BorderColors, d6 as BulkCancelEventsByFilterRequest, db as BulkCancelEventsByFilterResponse, dd as BulkDeleteEventsByFilterRequest, de as BulkDeleteEventsByFilterResponse, cK as BulletedListData, bs as ButtonData, J as ButtonDataType, d_ as CalendarLinks, aR as CalendarUrls, d5 as CancelEventRequest, cM as CaptionData, ea as Category, eb as CategoryCounts, F as CategoryTypeType, cF as CellStyle, b2 as CheckoutFormMessages, d0 as CloneEventFromOtherSiteRequest, d1 as CloneEventFromOtherSiteResponse, c$ as CloneEventRequest, bE as CodeBlockData, cB as CollapsibleListData, co as ColorData, bu as Colors, aB as CommonAddress, aE as CommonAddressLocation, aC as CommonAddressStreetOneOf, di as CommonCursors, da as CommonPaging, dh as CommonPagingMetadataV2, d7 as CommonQueryV2, d8 as CommonQueryV2PagingMethodOneOf, ak as CommonSortOrder, d9 as CommonSorting, aD as CommonStreetAddress, aF as CommonSubdivision, aw as ConferenceType, A as ConferenceTypeType, dt as CountEventsByStatusRequest, cZ as CreateEventRequest, c_ as CreateEventResponse, a0 as Crop, dp as CursorPaging, ds as Cursors, e0 as Dashboard, aG as DateAndTimeSettings, cl as Decoration, cm as DecorationDataOneOf, ab as DecorationType, dc as DeleteEventRequest, cj as Design, cD as Dimensions, af as Direction, bG as DividerData, cP as DocumentStyle, eo as DomainEvent, ep as DomainEventBodyOneOf, cz as EmbedData, ef as Empty, eq as EntityCreatedEvent, et as EntityDeletedEvent, es as EntityUpdatedEvent, dR as Event, ek as EventCanceled, bk as EventCategories, bl as EventCategory, cX as EventCloned, ei as EventCopied, dG as EventCreated, cw as EventData, eh as EventDeleted, ec as EventDisplaySettings, em as EventEnded, cY as EventEventCanceled, cU as EventEventEnded, cW as EventEventPublished, cV as EventEventReminder, cT as EventEventStarted, ez as EventMetadata, ej as EventPublished, en as EventReminder, el as EventStarted, aq as EventStatus, ar as EventType, eg as EventUpdated, e4 as EventsFeed, ed as EventsLabellingSettings, dH as EventsLocation, b7 as EventsMoney, dQ as EventsOccurrence, e5 as EventsOnlineConferencing, e7 as EventsOnlineConferencingSession, eA as EventsQueryResult, ap as EventsRecurrenceStatusStatus, dP as EventsRecurrences, dT as EventsRegistration, e8 as EventsSeoSettings, au as EventsTaxType, dj as ExportEventsRequest, dq as ExportEventsResponse, dZ as ExternalEvent, aQ as ExternalRegistration, du as FacetCounts, bb as Feed, bH as FileData, bI as FileSource, bJ as FileSourceDataOneOf, dD as FindEventRequest, dE as FindEventRequestFindByOneOf, dF as FindEventResponse, cr as FontSizeData, ac as FontType, aS as Form, aY as FormMessages, aJ as Formatted, bW as GIF, bV as GIFData, a2 as GIFType, bL as GalleryData, bR as GalleryOptions, dC as GetEventBySlugRequest, dA as GetEventRequest, dB as GetEventResponse, cc as Gradient, e3 as GuestListConfig, ba as GuestListSettings, x as GuestTypeType, bY as HTMLData, bZ as HTMLDataDataOneOf, bX as HeadingData, bz as Height, ew as IdentificationData, ex as IdentificationDataIdOneOf, bN as Image, b_ as ImageData, c0 as ImageDataStyles, ae as InitialExpandedItems, I as InitialRegistrationTypeType, aU as Input, aT as InputControl, y as InputControlType, bP as Item, bQ as ItemDataOneOf, bT as ItemStyle, bg as Keyword, aX as Label, bn as LabellingSettings, bS as Layout, cN as LayoutCellData, _ as LayoutType, O as LineStyle, bB as Link, cp as LinkData, bC as LinkDataOneOf, c1 as LinkPreviewData, c2 as LinkPreviewDataStyles, dy as ListEventsByCategoryRequest, dz as ListEventsByCategoryResponse, dv as ListUserEventsRequest, dx as ListUserEventsResponse, cH as ListValue, aA as Location, an as LocationLocationType, L as LocationType, dI as MapCoordinates, c3 as MapData, c4 as MapSettings, a5 as MapType, bM as Media, cq as MentionData, ev as MessageEnvelope, cO as Metadata, aO as Money, b1 as Negative, a$ as NegativeResponseConfirmation, bp as Node, bq as NodeDataOneOf, br as NodeStyle, N as NodeType, ah as NullValue, aI as Occurrence, cA as Oembed, bc as OnlineConferencing, e6 as OnlineConferencingConfig, bd as OnlineConferencingSession, c8 as Option, cg as OptionDesign, cb as OptionLayout, aV as OptionSelection, aW as OptionSelectionSelectedOptionOneOf, cJ as OrderedListData, $ as Orientation, bK as PDFSettings, dn as Paging, dr as PagingMetadataV2, c5 as ParagraphData, c7 as Permissions, cy as PlaybackOptions, bv as PluginContainerData, H as PluginContainerDataAlignment, bw as PluginContainerDataWidth, bx as PluginContainerDataWidthDataOneOf, ch as Poll, c6 as PollData, ci as PollDataLayout, cf as PollDesign, ca as PollLayout, a9 as PollLayoutDirection, a8 as PollLayoutType, c9 as PollSettings, a4 as Position, b0 as Positive, a_ as PositiveResponseConfirmation, d4 as PublishDraftEventRequest, df as QueryEventsRequest, dg as QueryEventsResponse, dk as QueryV2, dl as QueryV2PagingMethodOneOf, R as RecurrenceStatusStatus, aH as Recurrences, aL as Registration, b4 as RegistrationClosedMessages, as as RegistrationStatus, v as RegistrationStatusStatus, u as RegistrationTypeType, bD as Rel, am as Relation, aj as RequestedFields, b3 as ResponseConfirmation, w as ResponseType, er as RestoreInfo, bo as RichContent, dU as RsvpCollection, dV as RsvpCollectionConfig, aZ as RsvpFormMessages, aM as RsvpRegistration, at as RsvpStatusOptions, e1 as RsvpSummary, b8 as Rsvps, dO as ScheduleConfig, dS as Scheduling, bf as SeoSchema, be as SeoSettings, bi as Settings, d$ as SiteUrl, al as SortOrder, dm as Sorting, a3 as Source, by as Spoiler, cs as SpoilerData, ax as State, t as Status, dL as StreetAddress, bA as Styles, b$ as StylesBorder, dN as Subdivision, S as SubdivisionSubdivisionType, ao as SubdivisionType, b6 as Summaries, cE as TableCellData, cC as TableData, bh as Tag, K as Target, dY as TaxConfig, aP as TaxSettings, T as TaxType, M as TextAlignment, ck as TextData, cQ as TextNodeStyle, bF as TextStyle, bU as Thumbnails, a1 as ThumbnailsAlignment, dW as Ticketing, dX as TicketingConfig, e2 as TicketingSummary, b9 as Tickets, aN as TicketsRegistration, b5 as TicketsUnavailableMessages, aK as TimeDuration, ay as Type, d2 as UpdateEventRequest, d3 as UpdateEventResponse, dw as UserFilter, cS as V3Badge, bm as V3EventDisplaySettings, z as ValueType, ag as VerticalAlignment, bO as Video, cx as VideoData, Z as ViewMode, a6 as ViewRole, av as VisitorType, a7 as VoteRole, az as WebhookIdentityType, X as Width, W as WidthType } from './events-v3-event-wix-events-v-2.universal-DqdnERTE.js';
4
+
5
+ declare function createEvent$1(httpClient: HttpClient): CreateEventSignature;
6
+ interface CreateEventSignature {
7
+ /**
8
+ * Creates an event.
9
+ *
10
+ *
11
+ * The event includes a default registration form in the selected language, which consists of input fields for first name, last name, and email. See [Registration Form](https://www.wix.com/velo/reference/wix-events-v2/forms/introduction) for more information.
12
+ *
13
+ * You can create the event as a draft by setting the draft value to true. Otherwise, the event is published right away.
14
+ *
15
+ * The event is automatically set up to send daily summary reports of new guests to your business email.
16
+ * @param - Event data.
17
+ * @param - Optional fields.
18
+ * @returns Created event.
19
+ */
20
+ (event: V3Event, options?: CreateEventOptions | undefined): Promise<V3Event>;
21
+ }
22
+ declare function cloneEvent$1(httpClient: HttpClient): CloneEventSignature;
23
+ interface CloneEventSignature {
24
+ /**
25
+ * Clones an event, including the registration form, notifications, multilingual translations and ticket configuration from the original event.
26
+ *
27
+ *
28
+ * The new event's date is automatically set to 14 days from the original event date.
29
+ * If an event with the same title already exists, the new event's title gets a sequence number. For example, if you clone an event named "Leather Crafting 101", the new event's title is "Leather Crafting 101 (1)". You can change the required entity field values while cloning an event.
30
+ * @param - Event ID.
31
+ * @param - Optional fields.
32
+ */
33
+ (eventId: string, options?: CloneEventOptions | undefined): Promise<CloneEventResponse>;
34
+ }
35
+ declare function updateEvent$1(httpClient: HttpClient): UpdateEventSignature;
36
+ interface UpdateEventSignature {
37
+ /**
38
+ * Updates an event.
39
+ * @param - Event ID.
40
+ * @param - Optional fields.
41
+ * @returns Updated event.
42
+ */
43
+ (_id: string, options?: UpdateEventOptions | undefined): Promise<V3Event>;
44
+ }
45
+ declare function publishDraftEvent$1(httpClient: HttpClient): PublishDraftEventSignature;
46
+ interface PublishDraftEventSignature {
47
+ /**
48
+ * Publishes a draft event to your live site. Once published, the event's status changes from `DRAFT` to `UPCOMING.`
49
+ *
50
+ *
51
+ * It's impossible to revert the `DRAFT` status after publishing. The only option is to clone the event, and then delete the original one.
52
+ * @param - Event ID.
53
+ * @param - Optional fields.
54
+ */
55
+ (eventId: string, options?: PublishDraftEventOptions | undefined): Promise<PublishDraftEventResponse>;
56
+ }
57
+ declare function cancelEvent$1(httpClient: HttpClient): CancelEventSignature;
58
+ interface CancelEventSignature {
59
+ /**
60
+ * Cancels an event.
61
+ *
62
+ *
63
+ * After cancellation, registration for an event is closed. To reuse the event, [clone](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/cloneevent) and [publish](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/publishdraftevent) it again.
64
+ * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.
65
+ * @param - Event ID.
66
+ * @param - Optional fields.
67
+ */
68
+ (eventId: string, options?: CancelEventOptions | undefined): Promise<CancelEventResponse>;
69
+ }
70
+ declare function bulkCancelEventsByFilter$1(httpClient: HttpClient): BulkCancelEventsByFilterSignature;
71
+ interface BulkCancelEventsByFilterSignature {
72
+ /**
73
+ * Cancels multiple events that meet the given criteria.
74
+ *
75
+ *
76
+ * After cancellation, registration for an event is closed. To reuse the event, [clone](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/cloneevent) and [publish](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/publishdraftevent) it again.
77
+ * If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.
78
+ * @param - Optional fields.
79
+ */
80
+ (options?: BulkCancelEventsByFilterOptions | undefined): Promise<void>;
81
+ }
82
+ declare function deleteEvent$1(httpClient: HttpClient): DeleteEventSignature;
83
+ interface DeleteEventSignature {
84
+ /**
85
+ * Permanently deletes an event. <br> <br>
86
+ * You can retrieve the deleted event through a GDPR access request.
87
+ * @param - Event ID.
88
+ */
89
+ (eventId: string): Promise<DeleteEventResponse>;
90
+ }
91
+ declare function bulkDeleteEventsByFilter$1(httpClient: HttpClient): BulkDeleteEventsByFilterSignature;
92
+ interface BulkDeleteEventsByFilterSignature {
93
+ /**
94
+ * Permanently deletes multiple events that meet the given criteria.
95
+ *
96
+ *
97
+ * You can retrieve the deleted events through a GDPR access request.
98
+ * @param - Optional fields.
99
+ */
100
+ (options?: BulkDeleteEventsByFilterOptions | undefined): Promise<void>;
101
+ }
102
+ declare function queryEvents$1(httpClient: HttpClient): QueryEventsSignature;
103
+ interface QueryEventsSignature {
104
+ /**
105
+ * Creates a query to retrieve a list of events.
106
+ *
107
+ *
108
+ * The `queryEvents()` function builds a query to retrieve a list of events and returns a [`EventsQueryBuilder`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder) object.
109
+ *
110
+ * The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/find) function.
111
+ *
112
+ * You can refine the query by chaining `EventsQueryBuilder` functions onto the query. `EventsQueryBuilder` functions enable you to sort, filter, and control the results `queryEvents()` returns.
113
+ *
114
+ * `queryEvents()` runs with these `EventsQueryBuilder` defaults, which you can override:
115
+ *
116
+ * - [`skip(0)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/skip)
117
+ * - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/limit)
118
+ * - [`descending("_createdDate")`](https://www.wix.com/velo/reference/wix-events-v2/wixeventsv2/eventsquerybuilder/descending)
119
+ *
120
+ * The functions that are chained to `queryEvents()` are applied in the order they're called. For example, if you apply `ascending('title')` and then `descending('status')`, the results are sorted first by the `title`, and then, if there are multiple results with the same `title`, the items are sorted by `status`.
121
+ * @param - Optional fields.
122
+ */
123
+ (options?: QueryEventsOptions | undefined): EventsQueryBuilder;
124
+ }
125
+ declare function countEventsByStatus$1(httpClient: HttpClient): CountEventsByStatusSignature;
126
+ interface CountEventsByStatusSignature {
127
+ /**
128
+ * Counts events by status.
129
+ * @param - Optional fields.
130
+ */
131
+ (options?: CountEventsByStatusOptions | undefined): Promise<CountEventsByStatusResponse>;
132
+ }
133
+ declare function getEvent$1(httpClient: HttpClient): GetEventSignature;
134
+ interface GetEventSignature {
135
+ /**
136
+ * Retrieves an event by ID.
137
+ * @param - Event ID.
138
+ * @param - Optional fields.
139
+ * @returns Event.
140
+ */
141
+ (eventId: string, options?: GetEventOptions | undefined): Promise<V3Event>;
142
+ }
143
+ declare function getEventBySlug$1(httpClient: HttpClient): GetEventBySlugSignature;
144
+ interface GetEventBySlugSignature {
145
+ /**
146
+ * Retrieves an event by the `slug` URL.
147
+ *
148
+ *
149
+ * The slug is the end of an event URL that refers to a specific event. For example, if an events' URL is `https://example.com/events/event/{my-event-slug}`, the slug is `my-event-slug`.
150
+ * @param - URL slug.
151
+ * @param - Optional fields.
152
+ */
153
+ (slug: string, options?: GetEventBySlugOptions | undefined): Promise<GetEventBySlugResponse>;
154
+ }
155
+ declare const onEventCanceled$1: EventDefinition<EventCanceledEnvelope, "wix.events.v3.event_canceled">;
156
+ declare const onEventCloned$1: EventDefinition<EventClonedEnvelope, "wix.events.v3.event_cloned">;
157
+ declare const onEventCreated$1: EventDefinition<EventCreatedEnvelope, "wix.events.v3.event_created">;
158
+ declare const onEventDeleted$1: EventDefinition<EventDeletedEnvelope, "wix.events.v3.event_deleted">;
159
+ declare const onEventEnded$1: EventDefinition<EventEndedEnvelope, "wix.events.v3.event_ended">;
160
+ declare const onEventPublished$1: EventDefinition<EventPublishedEnvelope, "wix.events.v3.event_published">;
161
+ declare const onEventReminder$1: EventDefinition<EventReminderEnvelope, "wix.events.v3.event_reminder">;
162
+ declare const onEventStarted$1: EventDefinition<EventStartedEnvelope, "wix.events.v3.event_started">;
163
+ declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.events.v3.event_updated">;
164
+
165
+ declare const createEvent: MaybeContext<BuildRESTFunction<typeof createEvent$1> & typeof createEvent$1>;
166
+ declare const cloneEvent: MaybeContext<BuildRESTFunction<typeof cloneEvent$1> & typeof cloneEvent$1>;
167
+ declare const updateEvent: MaybeContext<BuildRESTFunction<typeof updateEvent$1> & typeof updateEvent$1>;
168
+ declare const publishDraftEvent: MaybeContext<BuildRESTFunction<typeof publishDraftEvent$1> & typeof publishDraftEvent$1>;
169
+ declare const cancelEvent: MaybeContext<BuildRESTFunction<typeof cancelEvent$1> & typeof cancelEvent$1>;
170
+ declare const bulkCancelEventsByFilter: MaybeContext<BuildRESTFunction<typeof bulkCancelEventsByFilter$1> & typeof bulkCancelEventsByFilter$1>;
171
+ declare const deleteEvent: MaybeContext<BuildRESTFunction<typeof deleteEvent$1> & typeof deleteEvent$1>;
172
+ declare const bulkDeleteEventsByFilter: MaybeContext<BuildRESTFunction<typeof bulkDeleteEventsByFilter$1> & typeof bulkDeleteEventsByFilter$1>;
173
+ declare const queryEvents: MaybeContext<BuildRESTFunction<typeof queryEvents$1> & typeof queryEvents$1>;
174
+ declare const countEventsByStatus: MaybeContext<BuildRESTFunction<typeof countEventsByStatus$1> & typeof countEventsByStatus$1>;
175
+ declare const getEvent: MaybeContext<BuildRESTFunction<typeof getEvent$1> & typeof getEvent$1>;
176
+ declare const getEventBySlug: MaybeContext<BuildRESTFunction<typeof getEventBySlug$1> & typeof getEventBySlug$1>;
177
+ /**
178
+ * Triggered when event is canceled.
179
+ */
180
+ declare const onEventCanceled: BuildEventDefinition<typeof onEventCanceled$1>;
181
+ /**
182
+ * Triggered when event is cloned.
183
+ */
184
+ declare const onEventCloned: BuildEventDefinition<typeof onEventCloned$1>;
185
+ /**
186
+ * Triggered when event is created.
187
+ */
188
+ declare const onEventCreated: BuildEventDefinition<typeof onEventCreated$1>;
189
+ /**
190
+ * Triggered when event is deleted.
191
+ */
192
+ declare const onEventDeleted: BuildEventDefinition<typeof onEventDeleted$1>;
193
+ /**
194
+ * Triggered when event has ended.
195
+ */
196
+ declare const onEventEnded: BuildEventDefinition<typeof onEventEnded$1>;
197
+ /**
198
+ * Triggered when event is published.
199
+ */
200
+ declare const onEventPublished: BuildEventDefinition<typeof onEventPublished$1>;
201
+ /**
202
+ * Triggered when a certain amount of time is left until the event. In total there are 6 reminders:
203
+ * - 7 days
204
+ * - 3 days
205
+ * - 1 day
206
+ * - 2 hours
207
+ * - 1 hour
208
+ * - 30 minutes
209
+ */
210
+ declare const onEventReminder: BuildEventDefinition<typeof onEventReminder$1>;
211
+ /**
212
+ * Triggered when event has started.
213
+ */
214
+ declare const onEventStarted: BuildEventDefinition<typeof onEventStarted$1>;
215
+ /**
216
+ * Triggered when event is updated.
217
+ */
218
+ declare const onEventUpdated: BuildEventDefinition<typeof onEventUpdated$1>;
219
+
220
+ export { BulkCancelEventsByFilterOptions, BulkDeleteEventsByFilterOptions, CancelEventOptions, CancelEventResponse, CloneEventOptions, CloneEventResponse, CountEventsByStatusOptions, CountEventsByStatusResponse, CreateEventOptions, DeleteEventResponse, EventCanceledEnvelope, EventClonedEnvelope, EventCreatedEnvelope, EventDeletedEnvelope, EventEndedEnvelope, EventPublishedEnvelope, EventReminderEnvelope, EventStartedEnvelope, EventUpdatedEnvelope, EventsQueryBuilder, GetEventBySlugOptions, GetEventBySlugResponse, GetEventOptions, PublishDraftEventOptions, PublishDraftEventResponse, QueryEventsOptions, UpdateEventOptions, V3Event, bulkCancelEventsByFilter, bulkDeleteEventsByFilter, cancelEvent, cloneEvent, countEventsByStatus, createEvent, deleteEvent, getEvent, getEventBySlug, onEventCanceled, onEventCloned, onEventCreated, onEventDeleted, onEventEnded, onEventPublished, onEventReminder, onEventStarted, onEventUpdated, publishDraftEvent, queryEvents, updateEvent };