@wix/auto_sdk_calendar_events 1.0.28 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{cjs/src/calendar-v3-event-events.types.d.ts → calendar-v3-event-events.universal-Cfq4Piiv.d.mts} +983 -564
- package/build/{internal/cjs/src/calendar-v3-event-events.types.d.ts → calendar-v3-event-events.universal-Cfq4Piiv.d.ts} +983 -564
- package/build/{internal/cjs/src/calendar-v3-event-events.public.d.ts → index.d.mts} +62 -55
- package/build/{es/src/calendar-v3-event-events.public.d.ts → index.d.ts} +62 -55
- package/build/index.js +1340 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +1285 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{es/src/calendar-v3-event-events.types.d.ts → calendar-v3-event-events.universal-Cfq4Piiv.d.mts} +983 -564
- package/build/{es/src/calendar-v3-event-events.types.d.ts → internal/calendar-v3-event-events.universal-Cfq4Piiv.d.ts} +983 -564
- package/build/{cjs/src/calendar-v3-event-events.public.d.ts → internal/index.d.mts} +62 -55
- package/build/internal/{es/src/calendar-v3-event-events.public.d.ts → index.d.ts} +62 -55
- package/build/internal/index.js +1340 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +1285 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +1195 -0
- package/build/internal/meta.d.ts +1195 -0
- package/build/internal/meta.js +777 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +740 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +1195 -0
- package/build/meta.d.ts +1195 -0
- package/build/meta.js +777 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +740 -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.d.ts +0 -3198
- 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.d.ts +0 -3198
- 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.d.ts +0 -3198
- 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.d.ts +0 -3198
- 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,43 +1,8 @@
|
|
|
1
|
-
import { EventDefinition,
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare function listEventsByContactId(httpClient: HttpClient): ListEventsByContactIdSignature;
|
|
7
|
-
interface ListEventsByContactIdSignature {
|
|
8
|
-
/**
|
|
9
|
-
* Retrieves a list of events filtered by the participant's
|
|
10
|
-
* [contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction)
|
|
11
|
-
* ID.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* You can't set `toLocalDate` to a value that's more than a full year after
|
|
15
|
-
* `fromLocalDate`.
|
|
16
|
-
* @param - ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
|
|
17
|
-
* to retrieve events for. Required, unless you provide `cursorPaging`.
|
|
18
|
-
*/
|
|
19
|
-
(contactId: string, options?: ListEventsByContactIdOptions | undefined): Promise<ListEventsByContactIdResponse>;
|
|
20
|
-
}
|
|
21
|
-
export declare function listEventsByMemberId(httpClient: HttpClient): ListEventsByMemberIdSignature;
|
|
22
|
-
interface ListEventsByMemberIdSignature {
|
|
23
|
-
/**
|
|
24
|
-
* Retrieves a list of events filtered by the participant's
|
|
25
|
-
* [member](https://dev.wix.com/docs/sdk/backend-modules/members/members/introduction)
|
|
26
|
-
* ID.
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* You can't set `toLocalDate` to a value that's more than a full year after
|
|
30
|
-
* `fromLocalDate`.
|
|
31
|
-
* @param - ID of the [member](https://dev.wix.com/docs/rest/crm/members-contacts/members/members/member-object)
|
|
32
|
-
* to retrieve events for. Required, unless you provide `cursorPaging`.
|
|
33
|
-
* Provide `me` to retrieve events for the currently logged-in member.
|
|
34
|
-
* You must have the `Read Calendars - Including PI`
|
|
35
|
-
* [permission scope](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/configure-permissions-for-your-app)
|
|
36
|
-
* to retrieve events for members who aren't the currently logged in member.
|
|
37
|
-
*/
|
|
38
|
-
(memberId: string, options?: ListEventsByMemberIdOptions | undefined): Promise<ListEventsByMemberIdResponse>;
|
|
39
|
-
}
|
|
40
|
-
export declare function getEvent(httpClient: HttpClient): GetEventSignature;
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { G as GetEventOptions, E as Event, L as ListEventsOptions, a as ListEventsResponse, Q as QueryEventsOptions, b as EventsQueryBuilder, C as CreateEventOptions, M as MaskedEvent, B as BulkCreateEventOptions, c as BulkCreateEventResponse, U as UpdateEvent, d as UpdateEventOptions, e as BulkUpdateEventRequestMaskedEvent, f as BulkUpdateEventOptions, g as BulkUpdateEventResponse, F as FieldWithLiterals, R as RestoreEventDefaultsOptions, h as RestoreEventDefaultsResponse, S as SplitRecurringEventOptions, i as SplitRecurringEventResponse, j as CancelEventOptions, k as CancelEventResponse, l as BulkCancelEventOptions, m as BulkCancelEventResponse, n as EventCancelledEnvelope, o as EventCreatedEnvelope, p as EventRecurringSplitEnvelope, q as EventUpdatedEnvelope } from './calendar-v3-event-events.universal-Cfq4Piiv.mjs';
|
|
3
|
+
export { ag as ActionEvent, aS as Address, aT as AddressHint, aC as ApplicationError, b6 as BaseEventMetadata, aD as BulkActionMetadata, aM as BulkCancelEventRequest, az as BulkCreateEventRequest, aA as BulkEventResult, aG as BulkUpdateEventRequest, aV as BusinessSchedule, aL as CancelEventRequest, aQ as Categories, b0 as ChangeContext, b1 as ChangeContextPayloadOneOf, $ as CommonIdentificationData, a0 as CommonIdentificationDataIdOneOf, Y as ConferencingDetails, a_ as ConsentPolicy, ax as CreateEventRequest, ay as CreateEventResponse, ar as CursorPaging, at as CursorPagingMetadata, ao as CursorQuery, ap as CursorQueryPagingMethodOneOf, au as Cursors, D as Day, H as DayOfWeek, aa as DomainEvent, ab as DomainEventBodyOneOf, b5 as Empty, ac as EntityCreatedEvent, af as EntityDeletedEvent, ae as EntityUpdatedEvent, a3 as EventCancelled, b7 as EventMetadata, a5 as EventUpdatedWithMetadata, b8 as EventsQueryResult, a1 as ExtendedFields, x as Field, t as Frequency, aU as GeoCoordinates, ak as GetEventRequest, al as GetEventResponse, ai as IdentificationData, aj as IdentificationDataIdOneOf, I as IdentityType, aB as ItemMetadata, am as ListEventsRequest, av as ListRecurringEventInstancesHistoryRequest, aw as ListRecurringEventInstancesHistoryResponse, aR as Locale, N as Location, u as LocationType, ah as MessageEnvelope, aY as Multilingual, X as Participant, a4 as ParticipantNotification, V as Participants, P as ParticipantsStatus, _ as Permission, A as PlacementType, aP as Properties, b2 as PropertiesChange, an as QueryEventsRequest, as as QueryEventsResponse, K as RecurrenceRule, s as RecurrenceType, a2 as RecurringEventSplit, y as RequestedFields, J as ResolutionMethod, O as Resource, aJ as RestoreEventDefaultsRequest, ad as RestoreInfo, v as Role, b4 as SiteCloned, b3 as SiteCreated, aO as SitePropertiesEvent, aN as SitePropertiesNotification, z as SortOrder, aq as Sorting, aX as SpecialHourPeriod, aK as SplitRecurringEventRequest, r as Status, aZ as SupportedLanguage, aW as TimePeriod, a$ as Translation, T as Transparency, w as Type, aH as UpdateEventParticipantsRequest, aI as UpdateEventParticipantsResponse, aE as UpdateEventRequest, aF as UpdateEventResponse, a8 as UpdateEventsWithFixedBusinessResourceIdRequest, a9 as UpdateEventsWithFixedBusinessResourceIdResponse, a6 as UpdateScheduleWithFixedBusinessResourceIdRequest, a7 as UpdateScheduleWithFixedBusinessResourceIdResponse, W as WebhookIdentityType, Z as ZonedDate } from './calendar-v3-event-events.universal-Cfq4Piiv.mjs';
|
|
4
|
+
|
|
5
|
+
declare function getEvent$1(httpClient: HttpClient): GetEventSignature;
|
|
41
6
|
interface GetEventSignature {
|
|
42
7
|
/**
|
|
43
8
|
* Retrieves an event.
|
|
@@ -49,7 +14,7 @@ interface GetEventSignature {
|
|
|
49
14
|
*/
|
|
50
15
|
(eventId: string, options?: GetEventOptions | undefined): Promise<Event>;
|
|
51
16
|
}
|
|
52
|
-
|
|
17
|
+
declare function listEvents$1(httpClient: HttpClient): ListEventsSignature;
|
|
53
18
|
interface ListEventsSignature {
|
|
54
19
|
/**
|
|
55
20
|
* Retrieves a list of events by their IDs.
|
|
@@ -60,7 +25,7 @@ interface ListEventsSignature {
|
|
|
60
25
|
*/
|
|
61
26
|
(eventIds: string[], options?: ListEventsOptions | undefined): Promise<ListEventsResponse>;
|
|
62
27
|
}
|
|
63
|
-
|
|
28
|
+
declare function queryEvents$1(httpClient: HttpClient): QueryEventsSignature;
|
|
64
29
|
interface QueryEventsSignature {
|
|
65
30
|
/**
|
|
66
31
|
* Creates a query to retrieve a list of events.
|
|
@@ -83,7 +48,7 @@ interface QueryEventsSignature {
|
|
|
83
48
|
*/
|
|
84
49
|
(options?: QueryEventsOptions | undefined): EventsQueryBuilder;
|
|
85
50
|
}
|
|
86
|
-
|
|
51
|
+
declare function createEvent$1(httpClient: HttpClient): CreateEventSignature;
|
|
87
52
|
interface CreateEventSignature {
|
|
88
53
|
/**
|
|
89
54
|
* Creates an event.
|
|
@@ -97,7 +62,7 @@ interface CreateEventSignature {
|
|
|
97
62
|
*/
|
|
98
63
|
(event: Event, options?: CreateEventOptions | undefined): Promise<Event>;
|
|
99
64
|
}
|
|
100
|
-
|
|
65
|
+
declare function bulkCreateEvent$1(httpClient: HttpClient): BulkCreateEventSignature;
|
|
101
66
|
interface BulkCreateEventSignature {
|
|
102
67
|
/**
|
|
103
68
|
* Creates multiple events in bulk.
|
|
@@ -117,7 +82,7 @@ interface BulkCreateEventSignature {
|
|
|
117
82
|
*/
|
|
118
83
|
(events: MaskedEvent[], options?: BulkCreateEventOptions | undefined): Promise<BulkCreateEventResponse>;
|
|
119
84
|
}
|
|
120
|
-
|
|
85
|
+
declare function updateEvent$1(httpClient: HttpClient): UpdateEventSignature;
|
|
121
86
|
interface UpdateEventSignature {
|
|
122
87
|
/**
|
|
123
88
|
* Updates an event.
|
|
@@ -136,7 +101,7 @@ interface UpdateEventSignature {
|
|
|
136
101
|
*/
|
|
137
102
|
(_id: string, event: UpdateEvent, options?: UpdateEventOptions | undefined): Promise<Event>;
|
|
138
103
|
}
|
|
139
|
-
|
|
104
|
+
declare function bulkUpdateEvent$1(httpClient: HttpClient): BulkUpdateEventSignature;
|
|
140
105
|
interface BulkUpdateEventSignature {
|
|
141
106
|
/**
|
|
142
107
|
* Updates multiple events in bulk.
|
|
@@ -157,7 +122,7 @@ interface BulkUpdateEventSignature {
|
|
|
157
122
|
*/
|
|
158
123
|
(events: BulkUpdateEventRequestMaskedEvent[], options?: BulkUpdateEventOptions | undefined): Promise<BulkUpdateEventResponse>;
|
|
159
124
|
}
|
|
160
|
-
|
|
125
|
+
declare function restoreEventDefaults$1(httpClient: HttpClient): RestoreEventDefaultsSignature;
|
|
161
126
|
interface RestoreEventDefaultsSignature {
|
|
162
127
|
/**
|
|
163
128
|
* Restores the event's default values from the relevant schedule or `MASTER`
|
|
@@ -182,7 +147,7 @@ interface RestoreEventDefaultsSignature {
|
|
|
182
147
|
*/
|
|
183
148
|
(eventId: string, fields: FieldWithLiterals[], options?: RestoreEventDefaultsOptions | undefined): Promise<RestoreEventDefaultsResponse>;
|
|
184
149
|
}
|
|
185
|
-
|
|
150
|
+
declare function splitRecurringEvent$1(httpClient: HttpClient): SplitRecurringEventSignature;
|
|
186
151
|
interface SplitRecurringEventSignature {
|
|
187
152
|
/**
|
|
188
153
|
* Splits a recurring `MASTER` event into 2 separate `MASTER` events.
|
|
@@ -219,7 +184,7 @@ interface SplitRecurringEventSignature {
|
|
|
219
184
|
*/
|
|
220
185
|
(recurringEventId: string, splitLocalDate: string, options?: SplitRecurringEventOptions | undefined): Promise<SplitRecurringEventResponse>;
|
|
221
186
|
}
|
|
222
|
-
|
|
187
|
+
declare function cancelEvent$1(httpClient: HttpClient): CancelEventSignature;
|
|
223
188
|
interface CancelEventSignature {
|
|
224
189
|
/**
|
|
225
190
|
* Cancels an event.
|
|
@@ -227,7 +192,7 @@ interface CancelEventSignature {
|
|
|
227
192
|
*/
|
|
228
193
|
(eventId: string, options?: CancelEventOptions | undefined): Promise<CancelEventResponse>;
|
|
229
194
|
}
|
|
230
|
-
|
|
195
|
+
declare function bulkCancelEvent$1(httpClient: HttpClient): BulkCancelEventSignature;
|
|
231
196
|
interface BulkCancelEventSignature {
|
|
232
197
|
/**
|
|
233
198
|
* Cancels multiple events in bulk.
|
|
@@ -235,8 +200,50 @@ interface BulkCancelEventSignature {
|
|
|
235
200
|
*/
|
|
236
201
|
(eventIds: string[], options?: BulkCancelEventOptions | undefined): Promise<BulkCancelEventResponse>;
|
|
237
202
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
203
|
+
declare const onEventCancelled$1: EventDefinition<EventCancelledEnvelope, "wix.calendar.v3.event_cancelled">;
|
|
204
|
+
declare const onEventCreated$1: EventDefinition<EventCreatedEnvelope, "wix.calendar.v3.event_created">;
|
|
205
|
+
declare const onEventRecurringSplit$1: EventDefinition<EventRecurringSplitEnvelope, "wix.calendar.v3.event_recurring_split">;
|
|
206
|
+
declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.calendar.v3.event_updated">;
|
|
207
|
+
|
|
208
|
+
declare const getEvent: MaybeContext<BuildRESTFunction<typeof getEvent$1> & typeof getEvent$1>;
|
|
209
|
+
declare const listEvents: MaybeContext<BuildRESTFunction<typeof listEvents$1> & typeof listEvents$1>;
|
|
210
|
+
declare const queryEvents: MaybeContext<BuildRESTFunction<typeof queryEvents$1> & typeof queryEvents$1>;
|
|
211
|
+
declare const createEvent: MaybeContext<BuildRESTFunction<typeof createEvent$1> & typeof createEvent$1>;
|
|
212
|
+
declare const bulkCreateEvent: MaybeContext<BuildRESTFunction<typeof bulkCreateEvent$1> & typeof bulkCreateEvent$1>;
|
|
213
|
+
declare const updateEvent: MaybeContext<BuildRESTFunction<typeof updateEvent$1> & typeof updateEvent$1>;
|
|
214
|
+
declare const bulkUpdateEvent: MaybeContext<BuildRESTFunction<typeof bulkUpdateEvent$1> & typeof bulkUpdateEvent$1>;
|
|
215
|
+
declare const restoreEventDefaults: MaybeContext<BuildRESTFunction<typeof restoreEventDefaults$1> & typeof restoreEventDefaults$1>;
|
|
216
|
+
declare const splitRecurringEvent: MaybeContext<BuildRESTFunction<typeof splitRecurringEvent$1> & typeof splitRecurringEvent$1>;
|
|
217
|
+
declare const cancelEvent: MaybeContext<BuildRESTFunction<typeof cancelEvent$1> & typeof cancelEvent$1>;
|
|
218
|
+
declare const bulkCancelEvent: MaybeContext<BuildRESTFunction<typeof bulkCancelEvent$1> & typeof bulkCancelEvent$1>;
|
|
219
|
+
/**
|
|
220
|
+
* Triggered when an event is canceled.
|
|
221
|
+
*
|
|
222
|
+
* Not triggered when `INSTANCE` events are canceled. You can use the
|
|
223
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
224
|
+
* to get notified about `INSTANCE` events.
|
|
225
|
+
*/
|
|
226
|
+
declare const onEventCancelled: BuildEventDefinition<typeof onEventCancelled$1>;
|
|
227
|
+
/**
|
|
228
|
+
* Triggered when an event is created, including when an existing `MASTER`
|
|
229
|
+
* event is split.
|
|
230
|
+
*
|
|
231
|
+
* Not triggered when `INSTANCE` events are created. You can use the
|
|
232
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
233
|
+
* to get notified about `INSTANCE` events.
|
|
234
|
+
*/
|
|
235
|
+
declare const onEventCreated: BuildEventDefinition<typeof onEventCreated$1>;
|
|
236
|
+
/**
|
|
237
|
+
* Triggered when a `MASTER` event is split.
|
|
238
|
+
*/
|
|
239
|
+
declare const onEventRecurringSplit: BuildEventDefinition<typeof onEventRecurringSplit$1>;
|
|
240
|
+
/**
|
|
241
|
+
* Triggered when an event is updated, including when it's canceled.
|
|
242
|
+
*
|
|
243
|
+
* Not triggered when `INSTANCE` events are updated. You can use the
|
|
244
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
245
|
+
* to get notified about `INSTANCE` events.
|
|
246
|
+
*/
|
|
247
|
+
declare const onEventUpdated: BuildEventDefinition<typeof onEventUpdated$1>;
|
|
248
|
+
|
|
249
|
+
export { BulkCancelEventOptions, BulkCancelEventResponse, BulkCreateEventOptions, BulkCreateEventResponse, BulkUpdateEventOptions, BulkUpdateEventRequestMaskedEvent, BulkUpdateEventResponse, CancelEventOptions, CancelEventResponse, CreateEventOptions, Event, EventCancelledEnvelope, EventCreatedEnvelope, EventRecurringSplitEnvelope, EventUpdatedEnvelope, EventsQueryBuilder, GetEventOptions, ListEventsOptions, ListEventsResponse, MaskedEvent, QueryEventsOptions, RestoreEventDefaultsOptions, RestoreEventDefaultsResponse, SplitRecurringEventOptions, SplitRecurringEventResponse, UpdateEvent, UpdateEventOptions, bulkCancelEvent, bulkCreateEvent, bulkUpdateEvent, cancelEvent, createEvent, getEvent, listEvents, onEventCancelled, onEventCreated, onEventRecurringSplit, onEventUpdated, queryEvents, restoreEventDefaults, splitRecurringEvent, updateEvent };
|
|
@@ -1,43 +1,8 @@
|
|
|
1
|
-
import { EventDefinition,
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare function listEventsByContactId(httpClient: HttpClient): ListEventsByContactIdSignature;
|
|
7
|
-
interface ListEventsByContactIdSignature {
|
|
8
|
-
/**
|
|
9
|
-
* Retrieves a list of events filtered by the participant's
|
|
10
|
-
* [contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction)
|
|
11
|
-
* ID.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* You can't set `toLocalDate` to a value that's more than a full year after
|
|
15
|
-
* `fromLocalDate`.
|
|
16
|
-
* @param - ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
|
|
17
|
-
* to retrieve events for. Required, unless you provide `cursorPaging`.
|
|
18
|
-
*/
|
|
19
|
-
(contactId: string, options?: ListEventsByContactIdOptions | undefined): Promise<ListEventsByContactIdResponse>;
|
|
20
|
-
}
|
|
21
|
-
export declare function listEventsByMemberId(httpClient: HttpClient): ListEventsByMemberIdSignature;
|
|
22
|
-
interface ListEventsByMemberIdSignature {
|
|
23
|
-
/**
|
|
24
|
-
* Retrieves a list of events filtered by the participant's
|
|
25
|
-
* [member](https://dev.wix.com/docs/sdk/backend-modules/members/members/introduction)
|
|
26
|
-
* ID.
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* You can't set `toLocalDate` to a value that's more than a full year after
|
|
30
|
-
* `fromLocalDate`.
|
|
31
|
-
* @param - ID of the [member](https://dev.wix.com/docs/rest/crm/members-contacts/members/members/member-object)
|
|
32
|
-
* to retrieve events for. Required, unless you provide `cursorPaging`.
|
|
33
|
-
* Provide `me` to retrieve events for the currently logged-in member.
|
|
34
|
-
* You must have the `Read Calendars - Including PI`
|
|
35
|
-
* [permission scope](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/configure-permissions-for-your-app)
|
|
36
|
-
* to retrieve events for members who aren't the currently logged in member.
|
|
37
|
-
*/
|
|
38
|
-
(memberId: string, options?: ListEventsByMemberIdOptions | undefined): Promise<ListEventsByMemberIdResponse>;
|
|
39
|
-
}
|
|
40
|
-
export declare function getEvent(httpClient: HttpClient): GetEventSignature;
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { G as GetEventOptions, E as Event, L as ListEventsOptions, a as ListEventsResponse, Q as QueryEventsOptions, b as EventsQueryBuilder, C as CreateEventOptions, M as MaskedEvent, B as BulkCreateEventOptions, c as BulkCreateEventResponse, U as UpdateEvent, d as UpdateEventOptions, e as BulkUpdateEventRequestMaskedEvent, f as BulkUpdateEventOptions, g as BulkUpdateEventResponse, F as FieldWithLiterals, R as RestoreEventDefaultsOptions, h as RestoreEventDefaultsResponse, S as SplitRecurringEventOptions, i as SplitRecurringEventResponse, j as CancelEventOptions, k as CancelEventResponse, l as BulkCancelEventOptions, m as BulkCancelEventResponse, n as EventCancelledEnvelope, o as EventCreatedEnvelope, p as EventRecurringSplitEnvelope, q as EventUpdatedEnvelope } from './calendar-v3-event-events.universal-Cfq4Piiv.js';
|
|
3
|
+
export { ag as ActionEvent, aS as Address, aT as AddressHint, aC as ApplicationError, b6 as BaseEventMetadata, aD as BulkActionMetadata, aM as BulkCancelEventRequest, az as BulkCreateEventRequest, aA as BulkEventResult, aG as BulkUpdateEventRequest, aV as BusinessSchedule, aL as CancelEventRequest, aQ as Categories, b0 as ChangeContext, b1 as ChangeContextPayloadOneOf, $ as CommonIdentificationData, a0 as CommonIdentificationDataIdOneOf, Y as ConferencingDetails, a_ as ConsentPolicy, ax as CreateEventRequest, ay as CreateEventResponse, ar as CursorPaging, at as CursorPagingMetadata, ao as CursorQuery, ap as CursorQueryPagingMethodOneOf, au as Cursors, D as Day, H as DayOfWeek, aa as DomainEvent, ab as DomainEventBodyOneOf, b5 as Empty, ac as EntityCreatedEvent, af as EntityDeletedEvent, ae as EntityUpdatedEvent, a3 as EventCancelled, b7 as EventMetadata, a5 as EventUpdatedWithMetadata, b8 as EventsQueryResult, a1 as ExtendedFields, x as Field, t as Frequency, aU as GeoCoordinates, ak as GetEventRequest, al as GetEventResponse, ai as IdentificationData, aj as IdentificationDataIdOneOf, I as IdentityType, aB as ItemMetadata, am as ListEventsRequest, av as ListRecurringEventInstancesHistoryRequest, aw as ListRecurringEventInstancesHistoryResponse, aR as Locale, N as Location, u as LocationType, ah as MessageEnvelope, aY as Multilingual, X as Participant, a4 as ParticipantNotification, V as Participants, P as ParticipantsStatus, _ as Permission, A as PlacementType, aP as Properties, b2 as PropertiesChange, an as QueryEventsRequest, as as QueryEventsResponse, K as RecurrenceRule, s as RecurrenceType, a2 as RecurringEventSplit, y as RequestedFields, J as ResolutionMethod, O as Resource, aJ as RestoreEventDefaultsRequest, ad as RestoreInfo, v as Role, b4 as SiteCloned, b3 as SiteCreated, aO as SitePropertiesEvent, aN as SitePropertiesNotification, z as SortOrder, aq as Sorting, aX as SpecialHourPeriod, aK as SplitRecurringEventRequest, r as Status, aZ as SupportedLanguage, aW as TimePeriod, a$ as Translation, T as Transparency, w as Type, aH as UpdateEventParticipantsRequest, aI as UpdateEventParticipantsResponse, aE as UpdateEventRequest, aF as UpdateEventResponse, a8 as UpdateEventsWithFixedBusinessResourceIdRequest, a9 as UpdateEventsWithFixedBusinessResourceIdResponse, a6 as UpdateScheduleWithFixedBusinessResourceIdRequest, a7 as UpdateScheduleWithFixedBusinessResourceIdResponse, W as WebhookIdentityType, Z as ZonedDate } from './calendar-v3-event-events.universal-Cfq4Piiv.js';
|
|
4
|
+
|
|
5
|
+
declare function getEvent$1(httpClient: HttpClient): GetEventSignature;
|
|
41
6
|
interface GetEventSignature {
|
|
42
7
|
/**
|
|
43
8
|
* Retrieves an event.
|
|
@@ -49,7 +14,7 @@ interface GetEventSignature {
|
|
|
49
14
|
*/
|
|
50
15
|
(eventId: string, options?: GetEventOptions | undefined): Promise<Event>;
|
|
51
16
|
}
|
|
52
|
-
|
|
17
|
+
declare function listEvents$1(httpClient: HttpClient): ListEventsSignature;
|
|
53
18
|
interface ListEventsSignature {
|
|
54
19
|
/**
|
|
55
20
|
* Retrieves a list of events by their IDs.
|
|
@@ -60,7 +25,7 @@ interface ListEventsSignature {
|
|
|
60
25
|
*/
|
|
61
26
|
(eventIds: string[], options?: ListEventsOptions | undefined): Promise<ListEventsResponse>;
|
|
62
27
|
}
|
|
63
|
-
|
|
28
|
+
declare function queryEvents$1(httpClient: HttpClient): QueryEventsSignature;
|
|
64
29
|
interface QueryEventsSignature {
|
|
65
30
|
/**
|
|
66
31
|
* Creates a query to retrieve a list of events.
|
|
@@ -83,7 +48,7 @@ interface QueryEventsSignature {
|
|
|
83
48
|
*/
|
|
84
49
|
(options?: QueryEventsOptions | undefined): EventsQueryBuilder;
|
|
85
50
|
}
|
|
86
|
-
|
|
51
|
+
declare function createEvent$1(httpClient: HttpClient): CreateEventSignature;
|
|
87
52
|
interface CreateEventSignature {
|
|
88
53
|
/**
|
|
89
54
|
* Creates an event.
|
|
@@ -97,7 +62,7 @@ interface CreateEventSignature {
|
|
|
97
62
|
*/
|
|
98
63
|
(event: Event, options?: CreateEventOptions | undefined): Promise<Event>;
|
|
99
64
|
}
|
|
100
|
-
|
|
65
|
+
declare function bulkCreateEvent$1(httpClient: HttpClient): BulkCreateEventSignature;
|
|
101
66
|
interface BulkCreateEventSignature {
|
|
102
67
|
/**
|
|
103
68
|
* Creates multiple events in bulk.
|
|
@@ -117,7 +82,7 @@ interface BulkCreateEventSignature {
|
|
|
117
82
|
*/
|
|
118
83
|
(events: MaskedEvent[], options?: BulkCreateEventOptions | undefined): Promise<BulkCreateEventResponse>;
|
|
119
84
|
}
|
|
120
|
-
|
|
85
|
+
declare function updateEvent$1(httpClient: HttpClient): UpdateEventSignature;
|
|
121
86
|
interface UpdateEventSignature {
|
|
122
87
|
/**
|
|
123
88
|
* Updates an event.
|
|
@@ -136,7 +101,7 @@ interface UpdateEventSignature {
|
|
|
136
101
|
*/
|
|
137
102
|
(_id: string, event: UpdateEvent, options?: UpdateEventOptions | undefined): Promise<Event>;
|
|
138
103
|
}
|
|
139
|
-
|
|
104
|
+
declare function bulkUpdateEvent$1(httpClient: HttpClient): BulkUpdateEventSignature;
|
|
140
105
|
interface BulkUpdateEventSignature {
|
|
141
106
|
/**
|
|
142
107
|
* Updates multiple events in bulk.
|
|
@@ -157,7 +122,7 @@ interface BulkUpdateEventSignature {
|
|
|
157
122
|
*/
|
|
158
123
|
(events: BulkUpdateEventRequestMaskedEvent[], options?: BulkUpdateEventOptions | undefined): Promise<BulkUpdateEventResponse>;
|
|
159
124
|
}
|
|
160
|
-
|
|
125
|
+
declare function restoreEventDefaults$1(httpClient: HttpClient): RestoreEventDefaultsSignature;
|
|
161
126
|
interface RestoreEventDefaultsSignature {
|
|
162
127
|
/**
|
|
163
128
|
* Restores the event's default values from the relevant schedule or `MASTER`
|
|
@@ -182,7 +147,7 @@ interface RestoreEventDefaultsSignature {
|
|
|
182
147
|
*/
|
|
183
148
|
(eventId: string, fields: FieldWithLiterals[], options?: RestoreEventDefaultsOptions | undefined): Promise<RestoreEventDefaultsResponse>;
|
|
184
149
|
}
|
|
185
|
-
|
|
150
|
+
declare function splitRecurringEvent$1(httpClient: HttpClient): SplitRecurringEventSignature;
|
|
186
151
|
interface SplitRecurringEventSignature {
|
|
187
152
|
/**
|
|
188
153
|
* Splits a recurring `MASTER` event into 2 separate `MASTER` events.
|
|
@@ -219,7 +184,7 @@ interface SplitRecurringEventSignature {
|
|
|
219
184
|
*/
|
|
220
185
|
(recurringEventId: string, splitLocalDate: string, options?: SplitRecurringEventOptions | undefined): Promise<SplitRecurringEventResponse>;
|
|
221
186
|
}
|
|
222
|
-
|
|
187
|
+
declare function cancelEvent$1(httpClient: HttpClient): CancelEventSignature;
|
|
223
188
|
interface CancelEventSignature {
|
|
224
189
|
/**
|
|
225
190
|
* Cancels an event.
|
|
@@ -227,7 +192,7 @@ interface CancelEventSignature {
|
|
|
227
192
|
*/
|
|
228
193
|
(eventId: string, options?: CancelEventOptions | undefined): Promise<CancelEventResponse>;
|
|
229
194
|
}
|
|
230
|
-
|
|
195
|
+
declare function bulkCancelEvent$1(httpClient: HttpClient): BulkCancelEventSignature;
|
|
231
196
|
interface BulkCancelEventSignature {
|
|
232
197
|
/**
|
|
233
198
|
* Cancels multiple events in bulk.
|
|
@@ -235,8 +200,50 @@ interface BulkCancelEventSignature {
|
|
|
235
200
|
*/
|
|
236
201
|
(eventIds: string[], options?: BulkCancelEventOptions | undefined): Promise<BulkCancelEventResponse>;
|
|
237
202
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
203
|
+
declare const onEventCancelled$1: EventDefinition<EventCancelledEnvelope, "wix.calendar.v3.event_cancelled">;
|
|
204
|
+
declare const onEventCreated$1: EventDefinition<EventCreatedEnvelope, "wix.calendar.v3.event_created">;
|
|
205
|
+
declare const onEventRecurringSplit$1: EventDefinition<EventRecurringSplitEnvelope, "wix.calendar.v3.event_recurring_split">;
|
|
206
|
+
declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.calendar.v3.event_updated">;
|
|
207
|
+
|
|
208
|
+
declare const getEvent: MaybeContext<BuildRESTFunction<typeof getEvent$1> & typeof getEvent$1>;
|
|
209
|
+
declare const listEvents: MaybeContext<BuildRESTFunction<typeof listEvents$1> & typeof listEvents$1>;
|
|
210
|
+
declare const queryEvents: MaybeContext<BuildRESTFunction<typeof queryEvents$1> & typeof queryEvents$1>;
|
|
211
|
+
declare const createEvent: MaybeContext<BuildRESTFunction<typeof createEvent$1> & typeof createEvent$1>;
|
|
212
|
+
declare const bulkCreateEvent: MaybeContext<BuildRESTFunction<typeof bulkCreateEvent$1> & typeof bulkCreateEvent$1>;
|
|
213
|
+
declare const updateEvent: MaybeContext<BuildRESTFunction<typeof updateEvent$1> & typeof updateEvent$1>;
|
|
214
|
+
declare const bulkUpdateEvent: MaybeContext<BuildRESTFunction<typeof bulkUpdateEvent$1> & typeof bulkUpdateEvent$1>;
|
|
215
|
+
declare const restoreEventDefaults: MaybeContext<BuildRESTFunction<typeof restoreEventDefaults$1> & typeof restoreEventDefaults$1>;
|
|
216
|
+
declare const splitRecurringEvent: MaybeContext<BuildRESTFunction<typeof splitRecurringEvent$1> & typeof splitRecurringEvent$1>;
|
|
217
|
+
declare const cancelEvent: MaybeContext<BuildRESTFunction<typeof cancelEvent$1> & typeof cancelEvent$1>;
|
|
218
|
+
declare const bulkCancelEvent: MaybeContext<BuildRESTFunction<typeof bulkCancelEvent$1> & typeof bulkCancelEvent$1>;
|
|
219
|
+
/**
|
|
220
|
+
* Triggered when an event is canceled.
|
|
221
|
+
*
|
|
222
|
+
* Not triggered when `INSTANCE` events are canceled. You can use the
|
|
223
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
224
|
+
* to get notified about `INSTANCE` events.
|
|
225
|
+
*/
|
|
226
|
+
declare const onEventCancelled: BuildEventDefinition<typeof onEventCancelled$1>;
|
|
227
|
+
/**
|
|
228
|
+
* Triggered when an event is created, including when an existing `MASTER`
|
|
229
|
+
* event is split.
|
|
230
|
+
*
|
|
231
|
+
* Not triggered when `INSTANCE` events are created. You can use the
|
|
232
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
233
|
+
* to get notified about `INSTANCE` events.
|
|
234
|
+
*/
|
|
235
|
+
declare const onEventCreated: BuildEventDefinition<typeof onEventCreated$1>;
|
|
236
|
+
/**
|
|
237
|
+
* Triggered when a `MASTER` event is split.
|
|
238
|
+
*/
|
|
239
|
+
declare const onEventRecurringSplit: BuildEventDefinition<typeof onEventRecurringSplit$1>;
|
|
240
|
+
/**
|
|
241
|
+
* Triggered when an event is updated, including when it's canceled.
|
|
242
|
+
*
|
|
243
|
+
* Not triggered when `INSTANCE` events are updated. You can use the
|
|
244
|
+
* [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
|
|
245
|
+
* to get notified about `INSTANCE` events.
|
|
246
|
+
*/
|
|
247
|
+
declare const onEventUpdated: BuildEventDefinition<typeof onEventUpdated$1>;
|
|
248
|
+
|
|
249
|
+
export { BulkCancelEventOptions, BulkCancelEventResponse, BulkCreateEventOptions, BulkCreateEventResponse, BulkUpdateEventOptions, BulkUpdateEventRequestMaskedEvent, BulkUpdateEventResponse, CancelEventOptions, CancelEventResponse, CreateEventOptions, Event, EventCancelledEnvelope, EventCreatedEnvelope, EventRecurringSplitEnvelope, EventUpdatedEnvelope, EventsQueryBuilder, GetEventOptions, ListEventsOptions, ListEventsResponse, MaskedEvent, QueryEventsOptions, RestoreEventDefaultsOptions, RestoreEventDefaultsResponse, SplitRecurringEventOptions, SplitRecurringEventResponse, UpdateEvent, UpdateEventOptions, bulkCancelEvent, bulkCreateEvent, bulkUpdateEvent, cancelEvent, createEvent, getEvent, listEvents, onEventCancelled, onEventCreated, onEventRecurringSplit, onEventUpdated, queryEvents, restoreEventDefaults, splitRecurringEvent, updateEvent };
|