@wix/auto_sdk_events_wix-events-v-2 1.0.26 → 1.0.28

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