@wix/auto_sdk_calendar_events 1.0.27 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{internal/cjs/src/calendar-v3-event-events.universal.d.ts → calendar-v3-event-events.universal-CLDnUCNu.d.mts} +161 -862
- package/build/{cjs/src/calendar-v3-event-events.universal.d.ts → calendar-v3-event-events.universal-CLDnUCNu.d.ts} +161 -862
- package/build/{cjs/src/calendar-v3-event-events.public.d.ts → index.d.mts} +66 -23
- package/build/{internal/es/src/calendar-v3-event-events.public.d.ts → index.d.ts} +66 -23
- package/build/index.js +1551 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +1494 -0
- package/build/index.mjs.map +1 -0
- package/build/{es/src/calendar-v3-event-events.universal.d.ts → internal/calendar-v3-event-events.universal-CLDnUCNu.d.mts} +161 -862
- package/build/internal/{es/src/calendar-v3-event-events.universal.d.ts → calendar-v3-event-events.universal-CLDnUCNu.d.ts} +161 -862
- package/build/{es/src/calendar-v3-event-events.public.d.ts → internal/index.d.mts} +66 -23
- package/build/internal/{cjs/src/calendar-v3-event-events.public.d.ts → index.d.ts} +66 -23
- package/build/internal/index.js +1551 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +1494 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{es/src/calendar-v3-event-events.types.d.ts → internal/meta.d.mts} +120 -597
- package/build/internal/{es/src/calendar-v3-event-events.types.d.ts → meta.d.ts} +120 -597
- package/build/internal/meta.js +930 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +891 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{cjs/src/calendar-v3-event-events.types.d.ts → meta.d.mts} +120 -597
- package/build/{internal/cjs/src/calendar-v3-event-events.types.d.ts → meta.d.ts} +120 -597
- package/build/meta.js +930 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +891 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/calendar-v3-event-events.context.d.ts +0 -51
- package/build/cjs/src/calendar-v3-event-events.context.js +0 -71
- package/build/cjs/src/calendar-v3-event-events.context.js.map +0 -1
- package/build/cjs/src/calendar-v3-event-events.http.d.ts +0 -144
- package/build/cjs/src/calendar-v3-event-events.http.js +0 -785
- package/build/cjs/src/calendar-v3-event-events.http.js.map +0 -1
- package/build/cjs/src/calendar-v3-event-events.meta.d.ts +0 -39
- package/build/cjs/src/calendar-v3-event-events.meta.js +0 -275
- package/build/cjs/src/calendar-v3-event-events.meta.js.map +0 -1
- package/build/cjs/src/calendar-v3-event-events.public.js +0 -196
- package/build/cjs/src/calendar-v3-event-events.public.js.map +0 -1
- package/build/cjs/src/calendar-v3-event-events.types.js +0 -157
- package/build/cjs/src/calendar-v3-event-events.types.js.map +0 -1
- package/build/cjs/src/calendar-v3-event-events.universal.js +0 -1185
- package/build/cjs/src/calendar-v3-event-events.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/calendar-v3-event-events.context.d.ts +0 -51
- package/build/es/src/calendar-v3-event-events.context.js +0 -51
- package/build/es/src/calendar-v3-event-events.context.js.map +0 -1
- package/build/es/src/calendar-v3-event-events.http.d.ts +0 -144
- package/build/es/src/calendar-v3-event-events.http.js +0 -769
- package/build/es/src/calendar-v3-event-events.http.js.map +0 -1
- package/build/es/src/calendar-v3-event-events.meta.d.ts +0 -39
- package/build/es/src/calendar-v3-event-events.meta.js +0 -236
- package/build/es/src/calendar-v3-event-events.meta.js.map +0 -1
- package/build/es/src/calendar-v3-event-events.public.js +0 -163
- package/build/es/src/calendar-v3-event-events.public.js.map +0 -1
- package/build/es/src/calendar-v3-event-events.types.js +0 -154
- package/build/es/src/calendar-v3-event-events.types.js.map +0 -1
- package/build/es/src/calendar-v3-event-events.universal.js +0 -1146
- package/build/es/src/calendar-v3-event-events.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-event-events.context.d.ts +0 -51
- package/build/internal/cjs/src/calendar-v3-event-events.context.js +0 -71
- package/build/internal/cjs/src/calendar-v3-event-events.context.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-event-events.http.d.ts +0 -144
- package/build/internal/cjs/src/calendar-v3-event-events.http.js +0 -785
- package/build/internal/cjs/src/calendar-v3-event-events.http.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-event-events.meta.d.ts +0 -39
- package/build/internal/cjs/src/calendar-v3-event-events.meta.js +0 -275
- package/build/internal/cjs/src/calendar-v3-event-events.meta.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-event-events.public.js +0 -196
- package/build/internal/cjs/src/calendar-v3-event-events.public.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-event-events.types.js +0 -157
- package/build/internal/cjs/src/calendar-v3-event-events.types.js.map +0 -1
- package/build/internal/cjs/src/calendar-v3-event-events.universal.js +0 -1185
- package/build/internal/cjs/src/calendar-v3-event-events.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/calendar-v3-event-events.context.d.ts +0 -51
- package/build/internal/es/src/calendar-v3-event-events.context.js +0 -51
- package/build/internal/es/src/calendar-v3-event-events.context.js.map +0 -1
- package/build/internal/es/src/calendar-v3-event-events.http.d.ts +0 -144
- package/build/internal/es/src/calendar-v3-event-events.http.js +0 -769
- package/build/internal/es/src/calendar-v3-event-events.http.js.map +0 -1
- package/build/internal/es/src/calendar-v3-event-events.meta.d.ts +0 -39
- package/build/internal/es/src/calendar-v3-event-events.meta.js +0 -236
- package/build/internal/es/src/calendar-v3-event-events.meta.js.map +0 -1
- package/build/internal/es/src/calendar-v3-event-events.public.js +0 -163
- package/build/internal/es/src/calendar-v3-event-events.public.js.map +0 -1
- package/build/internal/es/src/calendar-v3-event-events.types.js +0 -154
- package/build/internal/es/src/calendar-v3-event-events.types.js.map +0 -1
- package/build/internal/es/src/calendar-v3-event-events.universal.js +0 -1146
- package/build/internal/es/src/calendar-v3-event-events.universal.js.map +0 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { EventDefinition,
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare function listEventsByContactId(httpClient: HttpClient): ListEventsByContactIdSignature;
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { L as ListEventsByContactIdOptions, a as ListEventsByContactIdResponse, b as ListEventsByMemberIdOptions, c as ListEventsByMemberIdResponse, G as GetEventOptions, E as Event, d as ListEventsOptions, e as ListEventsResponse, Q as QueryEventsOptions, f as EventsQueryBuilder, C as CreateEventOptions, M as MaskedEvent, B as BulkCreateEventOptions, g as BulkCreateEventResponse, U as UpdateEvent, h as UpdateEventOptions, i as BulkUpdateEventRequestMaskedEvent, j as BulkUpdateEventOptions, k as BulkUpdateEventResponse, F as FieldWithLiterals, R as RestoreEventDefaultsOptions, l as RestoreEventDefaultsResponse, S as SplitRecurringEventOptions, m as SplitRecurringEventResponse, n as CancelEventOptions, o as CancelEventResponse, p as BulkCancelEventOptions, q as BulkCancelEventResponse, r as EventCancelledEnvelope, s as EventCreatedEnvelope, t as EventRecurringSplitEnvelope, u as EventUpdatedEnvelope } from './calendar-v3-event-events.universal-CLDnUCNu.mjs';
|
|
3
|
+
export { ak as ActionEvent, ay as Address, az as AddressHint, b4 as ApplicationError, bf as BaseEventMetadata, b5 as BulkActionMetadata, be as BulkCancelEventRequest, b1 as BulkCreateEventRequest, b2 as BulkEventResult, b8 as BulkUpdateEventRequest, aB as BusinessSchedule, bd as CancelEventRequest, aw as Categories, aI as ChangeContext, aJ as ChangeContextPayloadOneOf, ap as CommonCursorPaging, aq as CommonCursorPagingMetadata, ar as CommonCursors, a3 as CommonIdentificationData, a4 as CommonIdentificationDataIdOneOf, a1 as ConferencingDetails, aG as ConsentPolicy, a$ as CreateEventRequest, b0 as CreateEventResponse, aV as CursorPaging, aX as CursorPagingMetadata, aS as CursorQuery, aT as CursorQueryPagingMethodOneOf, aY as Cursors, D as Day, K as DayOfWeek, ae as DomainEvent, af as DomainEventBodyOneOf, aN as Empty, ag as EntityCreatedEvent, aj as EntityDeletedEvent, ai as EntityUpdatedEvent, a7 as EventCancelled, bg as EventMetadata, a9 as EventUpdatedWithMetadata, bh as EventsQueryResult, a5 as ExtendedFields, H as Field, x as Frequency, aA as GeoCoordinates, aO as GetEventRequest, aP as GetEventResponse, am as IdentificationData, an as IdentificationDataIdOneOf, I as IdentityType, b3 as ItemMetadata, ao as ListEventsByContactIdRequest, as as ListEventsByMemberIdRequest, aQ as ListEventsRequest, aZ as ListRecurringEventInstancesHistoryRequest, a_ as ListRecurringEventInstancesHistoryResponse, ax as Locale, Y as Location, y as LocationType, al as MessageEnvelope, aE as Multilingual, a0 as Participant, a8 as ParticipantNotification, $ as Participants, P as ParticipantsStatus, a2 as Permission, J as PlacementType, av as Properties, aK as PropertiesChange, aR as QueryEventsRequest, aW as QueryEventsResponse, X as RecurrenceRule, w as RecurrenceType, a6 as RecurringEventSplit, O as RequestedFields, N as ResolutionMethod, _ as Resource, bb as RestoreEventDefaultsRequest, ah as RestoreInfo, z as Role, aM as SiteCloned, aL as SiteCreated, au as SitePropertiesEvent, at as SitePropertiesNotification, V as SortOrder, aU as Sorting, aD as SpecialHourPeriod, bc as SplitRecurringEventRequest, v as Status, aF as SupportedLanguage, aC as TimePeriod, aH as Translation, T as Transparency, A as Type, b9 as UpdateEventParticipantsRequest, ba as UpdateEventParticipantsResponse, b6 as UpdateEventRequest, b7 as UpdateEventResponse, ac as UpdateEventsWithFixedBusinessResourceIdRequest, ad as UpdateEventsWithFixedBusinessResourceIdResponse, aa as UpdateScheduleWithFixedBusinessResourceIdRequest, ab as UpdateScheduleWithFixedBusinessResourceIdResponse, W as WebhookIdentityType, Z as ZonedDate } from './calendar-v3-event-events.universal-CLDnUCNu.mjs';
|
|
4
|
+
|
|
5
|
+
declare function listEventsByContactId$1(httpClient: HttpClient): ListEventsByContactIdSignature;
|
|
7
6
|
interface ListEventsByContactIdSignature {
|
|
8
7
|
/**
|
|
9
8
|
* Retrieves a list of events filtered by the participant's
|
|
@@ -18,7 +17,7 @@ interface ListEventsByContactIdSignature {
|
|
|
18
17
|
*/
|
|
19
18
|
(contactId: string, options?: ListEventsByContactIdOptions | undefined): Promise<ListEventsByContactIdResponse>;
|
|
20
19
|
}
|
|
21
|
-
|
|
20
|
+
declare function listEventsByMemberId$1(httpClient: HttpClient): ListEventsByMemberIdSignature;
|
|
22
21
|
interface ListEventsByMemberIdSignature {
|
|
23
22
|
/**
|
|
24
23
|
* Retrieves a list of events filtered by the participant's
|
|
@@ -37,7 +36,7 @@ interface ListEventsByMemberIdSignature {
|
|
|
37
36
|
*/
|
|
38
37
|
(memberId: string, options?: ListEventsByMemberIdOptions | undefined): Promise<ListEventsByMemberIdResponse>;
|
|
39
38
|
}
|
|
40
|
-
|
|
39
|
+
declare function getEvent$1(httpClient: HttpClient): GetEventSignature;
|
|
41
40
|
interface GetEventSignature {
|
|
42
41
|
/**
|
|
43
42
|
* Retrieves an event.
|
|
@@ -49,7 +48,7 @@ interface GetEventSignature {
|
|
|
49
48
|
*/
|
|
50
49
|
(eventId: string, options?: GetEventOptions | undefined): Promise<Event>;
|
|
51
50
|
}
|
|
52
|
-
|
|
51
|
+
declare function listEvents$1(httpClient: HttpClient): ListEventsSignature;
|
|
53
52
|
interface ListEventsSignature {
|
|
54
53
|
/**
|
|
55
54
|
* Retrieves a list of events by their IDs.
|
|
@@ -60,7 +59,7 @@ interface ListEventsSignature {
|
|
|
60
59
|
*/
|
|
61
60
|
(eventIds: string[], options?: ListEventsOptions | undefined): Promise<ListEventsResponse>;
|
|
62
61
|
}
|
|
63
|
-
|
|
62
|
+
declare function queryEvents$1(httpClient: HttpClient): QueryEventsSignature;
|
|
64
63
|
interface QueryEventsSignature {
|
|
65
64
|
/**
|
|
66
65
|
* Creates a query to retrieve a list of events.
|
|
@@ -83,7 +82,7 @@ interface QueryEventsSignature {
|
|
|
83
82
|
*/
|
|
84
83
|
(options?: QueryEventsOptions | undefined): EventsQueryBuilder;
|
|
85
84
|
}
|
|
86
|
-
|
|
85
|
+
declare function createEvent$1(httpClient: HttpClient): CreateEventSignature;
|
|
87
86
|
interface CreateEventSignature {
|
|
88
87
|
/**
|
|
89
88
|
* Creates an event.
|
|
@@ -97,7 +96,7 @@ interface CreateEventSignature {
|
|
|
97
96
|
*/
|
|
98
97
|
(event: Event, options?: CreateEventOptions | undefined): Promise<Event>;
|
|
99
98
|
}
|
|
100
|
-
|
|
99
|
+
declare function bulkCreateEvent$1(httpClient: HttpClient): BulkCreateEventSignature;
|
|
101
100
|
interface BulkCreateEventSignature {
|
|
102
101
|
/**
|
|
103
102
|
* Creates multiple events in bulk.
|
|
@@ -117,7 +116,7 @@ interface BulkCreateEventSignature {
|
|
|
117
116
|
*/
|
|
118
117
|
(events: MaskedEvent[], options?: BulkCreateEventOptions | undefined): Promise<BulkCreateEventResponse>;
|
|
119
118
|
}
|
|
120
|
-
|
|
119
|
+
declare function updateEvent$1(httpClient: HttpClient): UpdateEventSignature;
|
|
121
120
|
interface UpdateEventSignature {
|
|
122
121
|
/**
|
|
123
122
|
* Updates an event.
|
|
@@ -136,7 +135,7 @@ interface UpdateEventSignature {
|
|
|
136
135
|
*/
|
|
137
136
|
(_id: string, event: UpdateEvent, options?: UpdateEventOptions | undefined): Promise<Event>;
|
|
138
137
|
}
|
|
139
|
-
|
|
138
|
+
declare function bulkUpdateEvent$1(httpClient: HttpClient): BulkUpdateEventSignature;
|
|
140
139
|
interface BulkUpdateEventSignature {
|
|
141
140
|
/**
|
|
142
141
|
* Updates multiple events in bulk.
|
|
@@ -157,7 +156,7 @@ interface BulkUpdateEventSignature {
|
|
|
157
156
|
*/
|
|
158
157
|
(events: BulkUpdateEventRequestMaskedEvent[], options?: BulkUpdateEventOptions | undefined): Promise<BulkUpdateEventResponse>;
|
|
159
158
|
}
|
|
160
|
-
|
|
159
|
+
declare function restoreEventDefaults$1(httpClient: HttpClient): RestoreEventDefaultsSignature;
|
|
161
160
|
interface RestoreEventDefaultsSignature {
|
|
162
161
|
/**
|
|
163
162
|
* Restores the event's default values from the relevant schedule or `MASTER`
|
|
@@ -182,7 +181,7 @@ interface RestoreEventDefaultsSignature {
|
|
|
182
181
|
*/
|
|
183
182
|
(eventId: string, fields: FieldWithLiterals[], options?: RestoreEventDefaultsOptions | undefined): Promise<RestoreEventDefaultsResponse>;
|
|
184
183
|
}
|
|
185
|
-
|
|
184
|
+
declare function splitRecurringEvent$1(httpClient: HttpClient): SplitRecurringEventSignature;
|
|
186
185
|
interface SplitRecurringEventSignature {
|
|
187
186
|
/**
|
|
188
187
|
* Splits a recurring `MASTER` event into 2 separate `MASTER` events.
|
|
@@ -219,7 +218,7 @@ interface SplitRecurringEventSignature {
|
|
|
219
218
|
*/
|
|
220
219
|
(recurringEventId: string, splitLocalDate: string, options?: SplitRecurringEventOptions | undefined): Promise<SplitRecurringEventResponse>;
|
|
221
220
|
}
|
|
222
|
-
|
|
221
|
+
declare function cancelEvent$1(httpClient: HttpClient): CancelEventSignature;
|
|
223
222
|
interface CancelEventSignature {
|
|
224
223
|
/**
|
|
225
224
|
* Cancels an event.
|
|
@@ -227,7 +226,7 @@ interface CancelEventSignature {
|
|
|
227
226
|
*/
|
|
228
227
|
(eventId: string, options?: CancelEventOptions | undefined): Promise<CancelEventResponse>;
|
|
229
228
|
}
|
|
230
|
-
|
|
229
|
+
declare function bulkCancelEvent$1(httpClient: HttpClient): BulkCancelEventSignature;
|
|
231
230
|
interface BulkCancelEventSignature {
|
|
232
231
|
/**
|
|
233
232
|
* Cancels multiple events in bulk.
|
|
@@ -235,8 +234,52 @@ interface BulkCancelEventSignature {
|
|
|
235
234
|
*/
|
|
236
235
|
(eventIds: string[], options?: BulkCancelEventOptions | undefined): Promise<BulkCancelEventResponse>;
|
|
237
236
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
237
|
+
declare const onEventCancelled$1: EventDefinition<EventCancelledEnvelope, "wix.calendar.v3.event_cancelled">;
|
|
238
|
+
declare const onEventCreated$1: EventDefinition<EventCreatedEnvelope, "wix.calendar.v3.event_created">;
|
|
239
|
+
declare const onEventRecurringSplit$1: EventDefinition<EventRecurringSplitEnvelope, "wix.calendar.v3.event_recurring_split">;
|
|
240
|
+
declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.calendar.v3.event_updated">;
|
|
241
|
+
|
|
242
|
+
declare const listEventsByContactId: MaybeContext<BuildRESTFunction<typeof listEventsByContactId$1> & typeof listEventsByContactId$1>;
|
|
243
|
+
declare const listEventsByMemberId: MaybeContext<BuildRESTFunction<typeof listEventsByMemberId$1> & typeof listEventsByMemberId$1>;
|
|
244
|
+
declare const getEvent: MaybeContext<BuildRESTFunction<typeof getEvent$1> & typeof getEvent$1>;
|
|
245
|
+
declare const listEvents: MaybeContext<BuildRESTFunction<typeof listEvents$1> & typeof listEvents$1>;
|
|
246
|
+
declare const queryEvents: MaybeContext<BuildRESTFunction<typeof queryEvents$1> & typeof queryEvents$1>;
|
|
247
|
+
declare const createEvent: MaybeContext<BuildRESTFunction<typeof createEvent$1> & typeof createEvent$1>;
|
|
248
|
+
declare const bulkCreateEvent: MaybeContext<BuildRESTFunction<typeof bulkCreateEvent$1> & typeof bulkCreateEvent$1>;
|
|
249
|
+
declare const updateEvent: MaybeContext<BuildRESTFunction<typeof updateEvent$1> & typeof updateEvent$1>;
|
|
250
|
+
declare const bulkUpdateEvent: MaybeContext<BuildRESTFunction<typeof bulkUpdateEvent$1> & typeof bulkUpdateEvent$1>;
|
|
251
|
+
declare const restoreEventDefaults: MaybeContext<BuildRESTFunction<typeof restoreEventDefaults$1> & typeof restoreEventDefaults$1>;
|
|
252
|
+
declare const splitRecurringEvent: MaybeContext<BuildRESTFunction<typeof splitRecurringEvent$1> & typeof splitRecurringEvent$1>;
|
|
253
|
+
declare const cancelEvent: MaybeContext<BuildRESTFunction<typeof cancelEvent$1> & typeof cancelEvent$1>;
|
|
254
|
+
declare const bulkCancelEvent: MaybeContext<BuildRESTFunction<typeof bulkCancelEvent$1> & typeof bulkCancelEvent$1>;
|
|
255
|
+
/**
|
|
256
|
+
* Triggered when an event is canceled.
|
|
257
|
+
*
|
|
258
|
+
* Not triggered when `INSTANCE` events are canceled. You can use the
|
|
259
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
260
|
+
* to get notified about `INSTANCE` events.
|
|
261
|
+
*/
|
|
262
|
+
declare const onEventCancelled: BuildEventDefinition<typeof onEventCancelled$1>;
|
|
263
|
+
/**
|
|
264
|
+
* Triggered when an event is created, including when an existing `MASTER`
|
|
265
|
+
* event is split.
|
|
266
|
+
*
|
|
267
|
+
* Not triggered when `INSTANCE` events are created. You can use the
|
|
268
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
269
|
+
* to get notified about `INSTANCE` events.
|
|
270
|
+
*/
|
|
271
|
+
declare const onEventCreated: BuildEventDefinition<typeof onEventCreated$1>;
|
|
272
|
+
/**
|
|
273
|
+
* Triggered when a `MASTER` event is split.
|
|
274
|
+
*/
|
|
275
|
+
declare const onEventRecurringSplit: BuildEventDefinition<typeof onEventRecurringSplit$1>;
|
|
276
|
+
/**
|
|
277
|
+
* Triggered when an event is updated, including when it's canceled.
|
|
278
|
+
*
|
|
279
|
+
* Not triggered when `INSTANCE` events are updated. You can use the
|
|
280
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
281
|
+
* to get notified about `INSTANCE` events.
|
|
282
|
+
*/
|
|
283
|
+
declare const onEventUpdated: BuildEventDefinition<typeof onEventUpdated$1>;
|
|
284
|
+
|
|
285
|
+
export { BulkCancelEventOptions, BulkCancelEventResponse, BulkCreateEventOptions, BulkCreateEventResponse, BulkUpdateEventOptions, BulkUpdateEventRequestMaskedEvent, BulkUpdateEventResponse, CancelEventOptions, CancelEventResponse, CreateEventOptions, Event, EventCancelledEnvelope, EventCreatedEnvelope, EventRecurringSplitEnvelope, EventUpdatedEnvelope, EventsQueryBuilder, GetEventOptions, ListEventsByContactIdOptions, ListEventsByContactIdResponse, ListEventsByMemberIdOptions, ListEventsByMemberIdResponse, ListEventsOptions, ListEventsResponse, MaskedEvent, QueryEventsOptions, RestoreEventDefaultsOptions, RestoreEventDefaultsResponse, SplitRecurringEventOptions, SplitRecurringEventResponse, UpdateEvent, UpdateEventOptions, bulkCancelEvent, bulkCreateEvent, bulkUpdateEvent, cancelEvent, createEvent, getEvent, listEvents, listEventsByContactId, listEventsByMemberId, onEventCancelled, onEventCreated, onEventRecurringSplit, onEventUpdated, queryEvents, restoreEventDefaults, splitRecurringEvent, updateEvent };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { EventDefinition,
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare function listEventsByContactId(httpClient: HttpClient): ListEventsByContactIdSignature;
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { L as ListEventsByContactIdOptions, a as ListEventsByContactIdResponse, b as ListEventsByMemberIdOptions, c as ListEventsByMemberIdResponse, G as GetEventOptions, E as Event, d as ListEventsOptions, e as ListEventsResponse, Q as QueryEventsOptions, f as EventsQueryBuilder, C as CreateEventOptions, M as MaskedEvent, B as BulkCreateEventOptions, g as BulkCreateEventResponse, U as UpdateEvent, h as UpdateEventOptions, i as BulkUpdateEventRequestMaskedEvent, j as BulkUpdateEventOptions, k as BulkUpdateEventResponse, F as FieldWithLiterals, R as RestoreEventDefaultsOptions, l as RestoreEventDefaultsResponse, S as SplitRecurringEventOptions, m as SplitRecurringEventResponse, n as CancelEventOptions, o as CancelEventResponse, p as BulkCancelEventOptions, q as BulkCancelEventResponse, r as EventCancelledEnvelope, s as EventCreatedEnvelope, t as EventRecurringSplitEnvelope, u as EventUpdatedEnvelope } from './calendar-v3-event-events.universal-CLDnUCNu.js';
|
|
3
|
+
export { ak as ActionEvent, ay as Address, az as AddressHint, b4 as ApplicationError, bf as BaseEventMetadata, b5 as BulkActionMetadata, be as BulkCancelEventRequest, b1 as BulkCreateEventRequest, b2 as BulkEventResult, b8 as BulkUpdateEventRequest, aB as BusinessSchedule, bd as CancelEventRequest, aw as Categories, aI as ChangeContext, aJ as ChangeContextPayloadOneOf, ap as CommonCursorPaging, aq as CommonCursorPagingMetadata, ar as CommonCursors, a3 as CommonIdentificationData, a4 as CommonIdentificationDataIdOneOf, a1 as ConferencingDetails, aG as ConsentPolicy, a$ as CreateEventRequest, b0 as CreateEventResponse, aV as CursorPaging, aX as CursorPagingMetadata, aS as CursorQuery, aT as CursorQueryPagingMethodOneOf, aY as Cursors, D as Day, K as DayOfWeek, ae as DomainEvent, af as DomainEventBodyOneOf, aN as Empty, ag as EntityCreatedEvent, aj as EntityDeletedEvent, ai as EntityUpdatedEvent, a7 as EventCancelled, bg as EventMetadata, a9 as EventUpdatedWithMetadata, bh as EventsQueryResult, a5 as ExtendedFields, H as Field, x as Frequency, aA as GeoCoordinates, aO as GetEventRequest, aP as GetEventResponse, am as IdentificationData, an as IdentificationDataIdOneOf, I as IdentityType, b3 as ItemMetadata, ao as ListEventsByContactIdRequest, as as ListEventsByMemberIdRequest, aQ as ListEventsRequest, aZ as ListRecurringEventInstancesHistoryRequest, a_ as ListRecurringEventInstancesHistoryResponse, ax as Locale, Y as Location, y as LocationType, al as MessageEnvelope, aE as Multilingual, a0 as Participant, a8 as ParticipantNotification, $ as Participants, P as ParticipantsStatus, a2 as Permission, J as PlacementType, av as Properties, aK as PropertiesChange, aR as QueryEventsRequest, aW as QueryEventsResponse, X as RecurrenceRule, w as RecurrenceType, a6 as RecurringEventSplit, O as RequestedFields, N as ResolutionMethod, _ as Resource, bb as RestoreEventDefaultsRequest, ah as RestoreInfo, z as Role, aM as SiteCloned, aL as SiteCreated, au as SitePropertiesEvent, at as SitePropertiesNotification, V as SortOrder, aU as Sorting, aD as SpecialHourPeriod, bc as SplitRecurringEventRequest, v as Status, aF as SupportedLanguage, aC as TimePeriod, aH as Translation, T as Transparency, A as Type, b9 as UpdateEventParticipantsRequest, ba as UpdateEventParticipantsResponse, b6 as UpdateEventRequest, b7 as UpdateEventResponse, ac as UpdateEventsWithFixedBusinessResourceIdRequest, ad as UpdateEventsWithFixedBusinessResourceIdResponse, aa as UpdateScheduleWithFixedBusinessResourceIdRequest, ab as UpdateScheduleWithFixedBusinessResourceIdResponse, W as WebhookIdentityType, Z as ZonedDate } from './calendar-v3-event-events.universal-CLDnUCNu.js';
|
|
4
|
+
|
|
5
|
+
declare function listEventsByContactId$1(httpClient: HttpClient): ListEventsByContactIdSignature;
|
|
7
6
|
interface ListEventsByContactIdSignature {
|
|
8
7
|
/**
|
|
9
8
|
* Retrieves a list of events filtered by the participant's
|
|
@@ -18,7 +17,7 @@ interface ListEventsByContactIdSignature {
|
|
|
18
17
|
*/
|
|
19
18
|
(contactId: string, options?: ListEventsByContactIdOptions | undefined): Promise<ListEventsByContactIdResponse>;
|
|
20
19
|
}
|
|
21
|
-
|
|
20
|
+
declare function listEventsByMemberId$1(httpClient: HttpClient): ListEventsByMemberIdSignature;
|
|
22
21
|
interface ListEventsByMemberIdSignature {
|
|
23
22
|
/**
|
|
24
23
|
* Retrieves a list of events filtered by the participant's
|
|
@@ -37,7 +36,7 @@ interface ListEventsByMemberIdSignature {
|
|
|
37
36
|
*/
|
|
38
37
|
(memberId: string, options?: ListEventsByMemberIdOptions | undefined): Promise<ListEventsByMemberIdResponse>;
|
|
39
38
|
}
|
|
40
|
-
|
|
39
|
+
declare function getEvent$1(httpClient: HttpClient): GetEventSignature;
|
|
41
40
|
interface GetEventSignature {
|
|
42
41
|
/**
|
|
43
42
|
* Retrieves an event.
|
|
@@ -49,7 +48,7 @@ interface GetEventSignature {
|
|
|
49
48
|
*/
|
|
50
49
|
(eventId: string, options?: GetEventOptions | undefined): Promise<Event>;
|
|
51
50
|
}
|
|
52
|
-
|
|
51
|
+
declare function listEvents$1(httpClient: HttpClient): ListEventsSignature;
|
|
53
52
|
interface ListEventsSignature {
|
|
54
53
|
/**
|
|
55
54
|
* Retrieves a list of events by their IDs.
|
|
@@ -60,7 +59,7 @@ interface ListEventsSignature {
|
|
|
60
59
|
*/
|
|
61
60
|
(eventIds: string[], options?: ListEventsOptions | undefined): Promise<ListEventsResponse>;
|
|
62
61
|
}
|
|
63
|
-
|
|
62
|
+
declare function queryEvents$1(httpClient: HttpClient): QueryEventsSignature;
|
|
64
63
|
interface QueryEventsSignature {
|
|
65
64
|
/**
|
|
66
65
|
* Creates a query to retrieve a list of events.
|
|
@@ -83,7 +82,7 @@ interface QueryEventsSignature {
|
|
|
83
82
|
*/
|
|
84
83
|
(options?: QueryEventsOptions | undefined): EventsQueryBuilder;
|
|
85
84
|
}
|
|
86
|
-
|
|
85
|
+
declare function createEvent$1(httpClient: HttpClient): CreateEventSignature;
|
|
87
86
|
interface CreateEventSignature {
|
|
88
87
|
/**
|
|
89
88
|
* Creates an event.
|
|
@@ -97,7 +96,7 @@ interface CreateEventSignature {
|
|
|
97
96
|
*/
|
|
98
97
|
(event: Event, options?: CreateEventOptions | undefined): Promise<Event>;
|
|
99
98
|
}
|
|
100
|
-
|
|
99
|
+
declare function bulkCreateEvent$1(httpClient: HttpClient): BulkCreateEventSignature;
|
|
101
100
|
interface BulkCreateEventSignature {
|
|
102
101
|
/**
|
|
103
102
|
* Creates multiple events in bulk.
|
|
@@ -117,7 +116,7 @@ interface BulkCreateEventSignature {
|
|
|
117
116
|
*/
|
|
118
117
|
(events: MaskedEvent[], options?: BulkCreateEventOptions | undefined): Promise<BulkCreateEventResponse>;
|
|
119
118
|
}
|
|
120
|
-
|
|
119
|
+
declare function updateEvent$1(httpClient: HttpClient): UpdateEventSignature;
|
|
121
120
|
interface UpdateEventSignature {
|
|
122
121
|
/**
|
|
123
122
|
* Updates an event.
|
|
@@ -136,7 +135,7 @@ interface UpdateEventSignature {
|
|
|
136
135
|
*/
|
|
137
136
|
(_id: string, event: UpdateEvent, options?: UpdateEventOptions | undefined): Promise<Event>;
|
|
138
137
|
}
|
|
139
|
-
|
|
138
|
+
declare function bulkUpdateEvent$1(httpClient: HttpClient): BulkUpdateEventSignature;
|
|
140
139
|
interface BulkUpdateEventSignature {
|
|
141
140
|
/**
|
|
142
141
|
* Updates multiple events in bulk.
|
|
@@ -157,7 +156,7 @@ interface BulkUpdateEventSignature {
|
|
|
157
156
|
*/
|
|
158
157
|
(events: BulkUpdateEventRequestMaskedEvent[], options?: BulkUpdateEventOptions | undefined): Promise<BulkUpdateEventResponse>;
|
|
159
158
|
}
|
|
160
|
-
|
|
159
|
+
declare function restoreEventDefaults$1(httpClient: HttpClient): RestoreEventDefaultsSignature;
|
|
161
160
|
interface RestoreEventDefaultsSignature {
|
|
162
161
|
/**
|
|
163
162
|
* Restores the event's default values from the relevant schedule or `MASTER`
|
|
@@ -182,7 +181,7 @@ interface RestoreEventDefaultsSignature {
|
|
|
182
181
|
*/
|
|
183
182
|
(eventId: string, fields: FieldWithLiterals[], options?: RestoreEventDefaultsOptions | undefined): Promise<RestoreEventDefaultsResponse>;
|
|
184
183
|
}
|
|
185
|
-
|
|
184
|
+
declare function splitRecurringEvent$1(httpClient: HttpClient): SplitRecurringEventSignature;
|
|
186
185
|
interface SplitRecurringEventSignature {
|
|
187
186
|
/**
|
|
188
187
|
* Splits a recurring `MASTER` event into 2 separate `MASTER` events.
|
|
@@ -219,7 +218,7 @@ interface SplitRecurringEventSignature {
|
|
|
219
218
|
*/
|
|
220
219
|
(recurringEventId: string, splitLocalDate: string, options?: SplitRecurringEventOptions | undefined): Promise<SplitRecurringEventResponse>;
|
|
221
220
|
}
|
|
222
|
-
|
|
221
|
+
declare function cancelEvent$1(httpClient: HttpClient): CancelEventSignature;
|
|
223
222
|
interface CancelEventSignature {
|
|
224
223
|
/**
|
|
225
224
|
* Cancels an event.
|
|
@@ -227,7 +226,7 @@ interface CancelEventSignature {
|
|
|
227
226
|
*/
|
|
228
227
|
(eventId: string, options?: CancelEventOptions | undefined): Promise<CancelEventResponse>;
|
|
229
228
|
}
|
|
230
|
-
|
|
229
|
+
declare function bulkCancelEvent$1(httpClient: HttpClient): BulkCancelEventSignature;
|
|
231
230
|
interface BulkCancelEventSignature {
|
|
232
231
|
/**
|
|
233
232
|
* Cancels multiple events in bulk.
|
|
@@ -235,8 +234,52 @@ interface BulkCancelEventSignature {
|
|
|
235
234
|
*/
|
|
236
235
|
(eventIds: string[], options?: BulkCancelEventOptions | undefined): Promise<BulkCancelEventResponse>;
|
|
237
236
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
237
|
+
declare const onEventCancelled$1: EventDefinition<EventCancelledEnvelope, "wix.calendar.v3.event_cancelled">;
|
|
238
|
+
declare const onEventCreated$1: EventDefinition<EventCreatedEnvelope, "wix.calendar.v3.event_created">;
|
|
239
|
+
declare const onEventRecurringSplit$1: EventDefinition<EventRecurringSplitEnvelope, "wix.calendar.v3.event_recurring_split">;
|
|
240
|
+
declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.calendar.v3.event_updated">;
|
|
241
|
+
|
|
242
|
+
declare const listEventsByContactId: MaybeContext<BuildRESTFunction<typeof listEventsByContactId$1> & typeof listEventsByContactId$1>;
|
|
243
|
+
declare const listEventsByMemberId: MaybeContext<BuildRESTFunction<typeof listEventsByMemberId$1> & typeof listEventsByMemberId$1>;
|
|
244
|
+
declare const getEvent: MaybeContext<BuildRESTFunction<typeof getEvent$1> & typeof getEvent$1>;
|
|
245
|
+
declare const listEvents: MaybeContext<BuildRESTFunction<typeof listEvents$1> & typeof listEvents$1>;
|
|
246
|
+
declare const queryEvents: MaybeContext<BuildRESTFunction<typeof queryEvents$1> & typeof queryEvents$1>;
|
|
247
|
+
declare const createEvent: MaybeContext<BuildRESTFunction<typeof createEvent$1> & typeof createEvent$1>;
|
|
248
|
+
declare const bulkCreateEvent: MaybeContext<BuildRESTFunction<typeof bulkCreateEvent$1> & typeof bulkCreateEvent$1>;
|
|
249
|
+
declare const updateEvent: MaybeContext<BuildRESTFunction<typeof updateEvent$1> & typeof updateEvent$1>;
|
|
250
|
+
declare const bulkUpdateEvent: MaybeContext<BuildRESTFunction<typeof bulkUpdateEvent$1> & typeof bulkUpdateEvent$1>;
|
|
251
|
+
declare const restoreEventDefaults: MaybeContext<BuildRESTFunction<typeof restoreEventDefaults$1> & typeof restoreEventDefaults$1>;
|
|
252
|
+
declare const splitRecurringEvent: MaybeContext<BuildRESTFunction<typeof splitRecurringEvent$1> & typeof splitRecurringEvent$1>;
|
|
253
|
+
declare const cancelEvent: MaybeContext<BuildRESTFunction<typeof cancelEvent$1> & typeof cancelEvent$1>;
|
|
254
|
+
declare const bulkCancelEvent: MaybeContext<BuildRESTFunction<typeof bulkCancelEvent$1> & typeof bulkCancelEvent$1>;
|
|
255
|
+
/**
|
|
256
|
+
* Triggered when an event is canceled.
|
|
257
|
+
*
|
|
258
|
+
* Not triggered when `INSTANCE` events are canceled. You can use the
|
|
259
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
260
|
+
* to get notified about `INSTANCE` events.
|
|
261
|
+
*/
|
|
262
|
+
declare const onEventCancelled: BuildEventDefinition<typeof onEventCancelled$1>;
|
|
263
|
+
/**
|
|
264
|
+
* Triggered when an event is created, including when an existing `MASTER`
|
|
265
|
+
* event is split.
|
|
266
|
+
*
|
|
267
|
+
* Not triggered when `INSTANCE` events are created. You can use the
|
|
268
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
269
|
+
* to get notified about `INSTANCE` events.
|
|
270
|
+
*/
|
|
271
|
+
declare const onEventCreated: BuildEventDefinition<typeof onEventCreated$1>;
|
|
272
|
+
/**
|
|
273
|
+
* Triggered when a `MASTER` event is split.
|
|
274
|
+
*/
|
|
275
|
+
declare const onEventRecurringSplit: BuildEventDefinition<typeof onEventRecurringSplit$1>;
|
|
276
|
+
/**
|
|
277
|
+
* Triggered when an event is updated, including when it's canceled.
|
|
278
|
+
*
|
|
279
|
+
* Not triggered when `INSTANCE` events are updated. You can use the
|
|
280
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
281
|
+
* to get notified about `INSTANCE` events.
|
|
282
|
+
*/
|
|
283
|
+
declare const onEventUpdated: BuildEventDefinition<typeof onEventUpdated$1>;
|
|
284
|
+
|
|
285
|
+
export { BulkCancelEventOptions, BulkCancelEventResponse, BulkCreateEventOptions, BulkCreateEventResponse, BulkUpdateEventOptions, BulkUpdateEventRequestMaskedEvent, BulkUpdateEventResponse, CancelEventOptions, CancelEventResponse, CreateEventOptions, Event, EventCancelledEnvelope, EventCreatedEnvelope, EventRecurringSplitEnvelope, EventUpdatedEnvelope, EventsQueryBuilder, GetEventOptions, ListEventsByContactIdOptions, ListEventsByContactIdResponse, ListEventsByMemberIdOptions, ListEventsByMemberIdResponse, ListEventsOptions, ListEventsResponse, MaskedEvent, QueryEventsOptions, RestoreEventDefaultsOptions, RestoreEventDefaultsResponse, SplitRecurringEventOptions, SplitRecurringEventResponse, UpdateEvent, UpdateEventOptions, bulkCancelEvent, bulkCreateEvent, bulkUpdateEvent, cancelEvent, createEvent, getEvent, listEvents, listEventsByContactId, listEventsByMemberId, onEventCancelled, onEventCreated, onEventRecurringSplit, onEventUpdated, queryEvents, restoreEventDefaults, splitRecurringEvent, updateEvent };
|