@wix/auto_sdk_calendar_events 1.0.36 → 1.0.38

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.
@@ -1,8 +1,7 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { ListEventsByContactIdOptions, ListEventsByContactIdResponse, ListEventsByMemberIdOptions, ListEventsByMemberIdResponse, GetEventOptions, Event, ListEventsOptions, ListEventsResponse, QueryEventsOptions, EventsQueryBuilder, CreateEventOptions, MaskedEvent, BulkCreateEventOptions, BulkCreateEventResponse, UpdateEvent, UpdateEventOptions, BulkUpdateEventRequestMaskedEvent, BulkUpdateEventOptions, BulkUpdateEventResponse, FieldWithLiterals, RestoreEventDefaultsOptions, RestoreEventDefaultsResponse, SplitRecurringEventOptions, SplitRecurringEventResponse, CancelEventOptions, CancelEventResponse, CancelEventApplicationErrors, BulkCancelEventOptions, BulkCancelEventResponse, BulkCancelEventApplicationErrors, EventCancelledEnvelope, EventCreatedEnvelope, EventRecurringSplitEnvelope, EventUpdatedEnvelope } from './index.typings.js';
3
- export { ActionEvent, Address, AddressHint, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCancelEventRequest, BulkCreateEventRequest, BulkEventResult, BulkUpdateEventRequest, BusinessSchedule, CancelEventRequest, Categories, ChangeContext, ChangeContextPayloadOneOf, CommonCursorPaging, CommonCursorPagingMetadata, CommonCursors, CommonIdentificationData, CommonIdentificationDataIdOneOf, ConferencingDetails, ConsentPolicy, CreateEventRequest, CreateEventResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Day, DayOfWeek, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventCancelled, EventMetadata, EventUpdatedWithMetadata, EventsQueryResult, ExtendedFields, Field, Frequency, GeoCoordinates, GetEventRequest, GetEventResponse, IdentificationData, IdentificationDataIdOneOf, IdentityType, ItemMetadata, ListEventsByContactIdRequest, ListEventsByMemberIdRequest, ListEventsRequest, ListRecurringEventInstancesHistoryRequest, ListRecurringEventInstancesHistoryResponse, Locale, Location, LocationType, MessageEnvelope, Multilingual, Participant, ParticipantNotification, Participants, ParticipantsStatus, Permission, PlacementType, Properties, PropertiesChange, QueryEventsRequest, QueryEventsResponse, RecurrenceRule, RecurrenceType, RecurringEventSplit, RequestedFields, ResolutionMethod, Resource, RestoreEventDefaultsRequest, RestoreInfo, Role, SiteCloned, SiteCreated, SitePropertiesEvent, SitePropertiesNotification, SortOrder, Sorting, SpecialHourPeriod, SplitRecurringEventRequest, Status, SupportedLanguage, TimePeriod, Translation, Transparency, Type, UpdateEventParticipantsRequest, UpdateEventParticipantsResponse, UpdateEventRequest, UpdateEventResponse, UpdateEventsWithFixedBusinessResourceIdRequest, UpdateEventsWithFixedBusinessResourceIdResponse, UpdateScheduleWithFixedBusinessResourceIdRequest, UpdateScheduleWithFixedBusinessResourceIdResponse, WebhookIdentityType, ZonedDate } from './index.typings.js';
3
+ export { ActionEvent, Address, AddressHint, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCancelEventRequest, BulkCreateEventRequest, BulkEventResult, BulkUpdateEventRequest, BusinessSchedule, CancelEventRequest, Categories, ChangeContext, ChangeContextPayloadOneOf, CommonCursorPaging, CommonCursorPagingMetadata, CommonCursors, CommonIdentificationData, CommonIdentificationDataIdOneOf, ConferencingDetails, ConsentPolicy, CreateEventRequest, CreateEventResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Day, DayOfWeek, DayOfWeekWithLiterals, DayWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventCancelled, EventMetadata, EventUpdatedWithMetadata, EventsQueryResult, ExtendedFields, Field, Frequency, FrequencyWithLiterals, GeoCoordinates, GetEventRequest, GetEventResponse, IdentificationData, IdentificationDataIdOneOf, IdentityType, IdentityTypeWithLiterals, ItemMetadata, ListEventsByContactIdRequest, ListEventsByMemberIdRequest, ListEventsRequest, ListRecurringEventInstancesHistoryRequest, ListRecurringEventInstancesHistoryResponse, Locale, Location, LocationType, LocationTypeWithLiterals, MessageEnvelope, Multilingual, Participant, ParticipantNotification, Participants, ParticipantsStatus, ParticipantsStatusWithLiterals, Permission, PlacementType, PlacementTypeWithLiterals, Properties, PropertiesChange, QueryEventsRequest, QueryEventsResponse, RecurrenceRule, RecurrenceType, RecurrenceTypeWithLiterals, RecurringEventSplit, RequestedFields, RequestedFieldsWithLiterals, ResolutionMethod, ResolutionMethodWithLiterals, Resource, RestoreEventDefaultsRequest, RestoreInfo, Role, RoleWithLiterals, SiteCloned, SiteCreated, SitePropertiesEvent, SitePropertiesNotification, SortOrder, SortOrderWithLiterals, Sorting, SpecialHourPeriod, SplitRecurringEventRequest, Status, StatusWithLiterals, SupportedLanguage, TimePeriod, Translation, Transparency, TransparencyWithLiterals, Type, TypeWithLiterals, UpdateEventParticipantsRequest, UpdateEventParticipantsResponse, UpdateEventRequest, UpdateEventResponse, UpdateEventsWithFixedBusinessResourceIdRequest, UpdateEventsWithFixedBusinessResourceIdResponse, UpdateScheduleWithFixedBusinessResourceIdRequest, UpdateScheduleWithFixedBusinessResourceIdResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, ZonedDate } from './index.typings.js';
4
4
 
5
- type EventNonNullablePaths = `status` | `recurrenceType` | `recurrenceRule.frequency` | `recurrenceRule.days` | `transparency` | `location.type` | `resources` | `resources.${number}.transparency` | `resources.${number}.permissionRole` | `participants.list` | `participants.status` | `conferencingDetails.type` | `inheritedFields` | `permissions` | `permissions.${number}.identity.wixUserId` | `permissions.${number}.role`;
6
5
  declare function listEventsByContactId$1(httpClient: HttpClient): ListEventsByContactIdSignature;
7
6
  interface ListEventsByContactIdSignature {
8
7
  /**
@@ -16,9 +15,7 @@ interface ListEventsByContactIdSignature {
16
15
  * @param - ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
17
16
  * to retrieve events for. Required, unless you provide `cursorPaging`.
18
17
  */
19
- (contactId: string, options?: ListEventsByContactIdOptions): Promise<NonNullablePaths<ListEventsByContactIdResponse, {
20
- [P in EventNonNullablePaths]: `events.${number}.${P}`;
21
- }[EventNonNullablePaths]>>;
18
+ (contactId: string, options?: ListEventsByContactIdOptions): Promise<NonNullablePaths<ListEventsByContactIdResponse, `events` | `events.${number}.status` | `events.${number}.recurrenceType` | `events.${number}.recurrenceRule.frequency` | `events.${number}.transparency` | `events.${number}.location.type` | `events.${number}.participants.status` | `events.${number}.conferencingDetails.type`, 5>>;
22
19
  }
23
20
  declare function listEventsByMemberId$1(httpClient: HttpClient): ListEventsByMemberIdSignature;
24
21
  interface ListEventsByMemberIdSignature {
@@ -37,9 +34,7 @@ interface ListEventsByMemberIdSignature {
37
34
  * [permission scope](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/configure-permissions-for-your-app)
38
35
  * to retrieve events for members who aren't the currently logged in member.
39
36
  */
40
- (memberId: string, options?: ListEventsByMemberIdOptions): Promise<NonNullablePaths<ListEventsByMemberIdResponse, {
41
- [P in EventNonNullablePaths]: `events.${number}.${P}`;
42
- }[EventNonNullablePaths]>>;
37
+ (memberId: string, options?: ListEventsByMemberIdOptions): Promise<NonNullablePaths<ListEventsByMemberIdResponse, `events` | `events.${number}.status` | `events.${number}.recurrenceType` | `events.${number}.recurrenceRule.frequency` | `events.${number}.transparency` | `events.${number}.location.type` | `events.${number}.participants.status` | `events.${number}.conferencingDetails.type`, 5>>;
43
38
  }
44
39
  declare function getEvent$1(httpClient: HttpClient): GetEventSignature;
45
40
  interface GetEventSignature {
@@ -51,7 +46,7 @@ interface GetEventSignature {
51
46
  * Max: 250 characters
52
47
  * @returns Retrieved event.
53
48
  */
54
- (eventId: string, options?: GetEventOptions): Promise<NonNullablePaths<Event, EventNonNullablePaths>>;
49
+ (eventId: string, options?: GetEventOptions): Promise<NonNullablePaths<Event, `status` | `recurrenceType` | `recurrenceRule.frequency` | `recurrenceRule.days` | `transparency` | `location.type` | `resources` | `resources.${number}.transparency` | `resources.${number}.permissionRole` | `participants.list` | `participants.status` | `conferencingDetails.type` | `inheritedFields` | `permissions` | `permissions.${number}.identity.wixUserId` | `permissions.${number}.role`, 5>>;
55
50
  }
56
51
  declare function listEvents$1(httpClient: HttpClient): ListEventsSignature;
57
52
  interface ListEventsSignature {
@@ -62,9 +57,7 @@ interface ListEventsSignature {
62
57
  * Min: 1 event ID
63
58
  * Max: 100 event IDs
64
59
  */
65
- (eventIds: string[], options?: ListEventsOptions): Promise<NonNullablePaths<ListEventsResponse, {
66
- [P in EventNonNullablePaths]: `events.${number}.${P}`;
67
- }[EventNonNullablePaths]>>;
60
+ (eventIds: string[], options?: ListEventsOptions): Promise<NonNullablePaths<ListEventsResponse, `events` | `events.${number}.status` | `events.${number}.recurrenceType` | `events.${number}.recurrenceRule.frequency` | `events.${number}.transparency` | `events.${number}.location.type` | `events.${number}.participants.status` | `events.${number}.conferencingDetails.type`, 5>>;
68
61
  }
69
62
  declare function queryEvents$1(httpClient: HttpClient): QueryEventsSignature;
70
63
  interface QueryEventsSignature {
@@ -101,7 +94,7 @@ interface CreateEventSignature {
101
94
  * @param - Event to create.
102
95
  * @returns Created event.
103
96
  */
104
- (event: NonNullablePaths<Event, `conferencingDetails.guestUrl` | `conferencingDetails.hostUrl` | `conferencingDetails.type` | `end` | `end.localDate` | `location.type` | `participants.list.${number}.name` | `recurrenceRule.days` | `recurrenceRule.frequency` | `recurrenceRule.until.localDate` | `resources.${number}._id` | `scheduleId` | `start` | `start.localDate`>, options?: CreateEventOptions): Promise<NonNullablePaths<Event, EventNonNullablePaths>>;
97
+ (event: NonNullablePaths<Event, `conferencingDetails.guestUrl` | `conferencingDetails.hostUrl` | `conferencingDetails.type` | `end` | `end.localDate` | `location.type` | `participants.list.${number}.name` | `recurrenceRule.days` | `recurrenceRule.frequency` | `recurrenceRule.until.localDate` | `resources.${number}._id` | `scheduleId` | `start` | `start.localDate`, 5>, options?: CreateEventOptions): Promise<NonNullablePaths<Event, `status` | `recurrenceType` | `recurrenceRule.frequency` | `recurrenceRule.days` | `transparency` | `location.type` | `resources` | `resources.${number}.transparency` | `resources.${number}.permissionRole` | `participants.list` | `participants.status` | `conferencingDetails.type` | `inheritedFields` | `permissions` | `permissions.${number}.identity.wixUserId` | `permissions.${number}.role`, 5>>;
105
98
  }
106
99
  declare function bulkCreateEvent$1(httpClient: HttpClient): BulkCreateEventSignature;
107
100
  interface BulkCreateEventSignature {
@@ -121,9 +114,7 @@ interface BulkCreateEventSignature {
121
114
  * an `INSTANCE` event, which changes its `recurrenceType` to `EXCEPTION`.
122
115
  * @param - Events to create.
123
116
  */
124
- (events: NonNullablePaths<MaskedEvent, `event` | `event.conferencingDetails.guestUrl` | `event.conferencingDetails.hostUrl` | `event.conferencingDetails.type` | `event.end` | `event.end.localDate` | `event.location.type` | `event.participants.list.${number}.name` | `event.recurrenceRule.days` | `event.recurrenceRule.frequency` | `event.recurrenceRule.until.localDate` | `event.resources.${number}._id` | `event.scheduleId` | `event.start` | `event.start.localDate`>[], options?: BulkCreateEventOptions): Promise<NonNullablePaths<BulkCreateEventResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
125
- [P in EventNonNullablePaths]: `results.${number}.item.${P}`;
126
- }[EventNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures`>>;
117
+ (events: NonNullablePaths<MaskedEvent, `event` | `event.conferencingDetails.guestUrl` | `event.conferencingDetails.hostUrl` | `event.conferencingDetails.type` | `event.end` | `event.end.localDate` | `event.location.type` | `event.participants.list.${number}.name` | `event.recurrenceRule.days` | `event.recurrenceRule.frequency` | `event.recurrenceRule.until.localDate` | `event.resources.${number}._id` | `event.scheduleId` | `event.start` | `event.start.localDate`, 6>[], options?: BulkCreateEventOptions): Promise<NonNullablePaths<BulkCreateEventResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.status` | `results.${number}.item.recurrenceType` | `results.${number}.item.recurrenceRule.frequency` | `results.${number}.item.transparency` | `results.${number}.item.location.type` | `results.${number}.item.participants.status` | `results.${number}.item.conferencingDetails.type` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures`, 6>>;
127
118
  }
128
119
  declare function updateEvent$1(httpClient: HttpClient): UpdateEventSignature;
129
120
  interface UpdateEventSignature {
@@ -142,7 +133,7 @@ interface UpdateEventSignature {
142
133
  * @param - Event ID.
143
134
  * @returns Updated event.
144
135
  */
145
- (_id: string, event: NonNullablePaths<UpdateEvent, `conferencingDetails.guestUrl` | `conferencingDetails.hostUrl` | `conferencingDetails.type` | `end.localDate` | `location.type` | `participants.list.${number}.name` | `recurrenceRule.days` | `recurrenceRule.frequency` | `recurrenceRule.until.localDate` | `resources.${number}._id` | `revision` | `start.localDate`>, options?: UpdateEventOptions): Promise<NonNullablePaths<Event, EventNonNullablePaths>>;
136
+ (_id: string, event: NonNullablePaths<UpdateEvent, `conferencingDetails.guestUrl` | `conferencingDetails.hostUrl` | `conferencingDetails.type` | `end.localDate` | `location.type` | `participants.list.${number}.name` | `recurrenceRule.days` | `recurrenceRule.frequency` | `recurrenceRule.until.localDate` | `resources.${number}._id` | `revision` | `start.localDate`, 5>, options?: UpdateEventOptions): Promise<NonNullablePaths<Event, `status` | `recurrenceType` | `recurrenceRule.frequency` | `recurrenceRule.days` | `transparency` | `location.type` | `resources` | `resources.${number}.transparency` | `resources.${number}.permissionRole` | `participants.list` | `participants.status` | `conferencingDetails.type` | `inheritedFields` | `permissions` | `permissions.${number}.identity.wixUserId` | `permissions.${number}.role`, 5>>;
146
137
  }
147
138
  declare function bulkUpdateEvent$1(httpClient: HttpClient): BulkUpdateEventSignature;
148
139
  interface BulkUpdateEventSignature {
@@ -163,9 +154,7 @@ interface BulkUpdateEventSignature {
163
154
  * Min: 1 event
164
155
  * Max: 50 events
165
156
  */
166
- (events: NonNullablePaths<BulkUpdateEventRequestMaskedEvent, `event` | `event._id` | `event.conferencingDetails.guestUrl` | `event.conferencingDetails.hostUrl` | `event.conferencingDetails.type` | `event.end.localDate` | `event.location.type` | `event.participants.list.${number}.name` | `event.recurrenceRule.days` | `event.recurrenceRule.frequency` | `event.recurrenceRule.until.localDate` | `event.resources.${number}._id` | `event.revision` | `event.start.localDate`>[], options?: BulkUpdateEventOptions): Promise<NonNullablePaths<BulkUpdateEventResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
167
- [P in EventNonNullablePaths]: `results.${number}.item.${P}`;
168
- }[EventNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures`>>;
157
+ (events: NonNullablePaths<BulkUpdateEventRequestMaskedEvent, `event` | `event._id` | `event.conferencingDetails.guestUrl` | `event.conferencingDetails.hostUrl` | `event.conferencingDetails.type` | `event.end.localDate` | `event.location.type` | `event.participants.list.${number}.name` | `event.recurrenceRule.days` | `event.recurrenceRule.frequency` | `event.recurrenceRule.until.localDate` | `event.resources.${number}._id` | `event.revision` | `event.start.localDate`, 6>[], options?: BulkUpdateEventOptions): Promise<NonNullablePaths<BulkUpdateEventResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.status` | `results.${number}.item.recurrenceType` | `results.${number}.item.recurrenceRule.frequency` | `results.${number}.item.transparency` | `results.${number}.item.location.type` | `results.${number}.item.participants.status` | `results.${number}.item.conferencingDetails.type` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures`, 6>>;
169
158
  }
170
159
  declare function restoreEventDefaults$1(httpClient: HttpClient): RestoreEventDefaultsSignature;
171
160
  interface RestoreEventDefaultsSignature {
@@ -190,9 +179,7 @@ interface RestoreEventDefaultsSignature {
190
179
  *
191
180
  * Min: 1 field
192
181
  */
193
- (eventId: string, fields: FieldWithLiterals[], options?: RestoreEventDefaultsOptions): Promise<NonNullablePaths<RestoreEventDefaultsResponse, {
194
- [P in EventNonNullablePaths]: `event.${P}`;
195
- }[EventNonNullablePaths]>>;
182
+ (eventId: string, fields: FieldWithLiterals[], options?: RestoreEventDefaultsOptions): Promise<NonNullablePaths<RestoreEventDefaultsResponse, `event.status` | `event.recurrenceType` | `event.recurrenceRule.frequency` | `event.recurrenceRule.days` | `event.transparency` | `event.location.type` | `event.resources` | `event.resources.${number}.transparency` | `event.resources.${number}.permissionRole` | `event.participants.list` | `event.participants.status` | `event.conferencingDetails.type` | `event.inheritedFields` | `event.permissions` | `event.permissions.${number}.identity.wixUserId` | `event.permissions.${number}.role`, 6>>;
196
183
  }
197
184
  declare function splitRecurringEvent$1(httpClient: HttpClient): SplitRecurringEventSignature;
198
185
  interface SplitRecurringEventSignature {
@@ -229,11 +216,7 @@ interface SplitRecurringEventSignature {
229
216
  * `INSTANCE` or `EXCEPTION` event following this next event, as the changes
230
217
  * wouldn't affect any event without a subsequent occurrence.
231
218
  */
232
- (recurringEventId: string, splitLocalDate: string, options?: SplitRecurringEventOptions): Promise<NonNullablePaths<SplitRecurringEventResponse, {
233
- [P in EventNonNullablePaths]: `updatedRecurringEventEndingBeforeSplit.${P}`;
234
- }[EventNonNullablePaths] | {
235
- [P in EventNonNullablePaths]: `newRecurringEventStartingFromSplit.${P}`;
236
- }[EventNonNullablePaths]>>;
219
+ (recurringEventId: string, splitLocalDate: string, options?: SplitRecurringEventOptions): Promise<NonNullablePaths<SplitRecurringEventResponse, `updatedRecurringEventEndingBeforeSplit.status` | `updatedRecurringEventEndingBeforeSplit.recurrenceType` | `updatedRecurringEventEndingBeforeSplit.recurrenceRule.frequency` | `updatedRecurringEventEndingBeforeSplit.recurrenceRule.days` | `updatedRecurringEventEndingBeforeSplit.transparency` | `updatedRecurringEventEndingBeforeSplit.location.type` | `updatedRecurringEventEndingBeforeSplit.resources` | `updatedRecurringEventEndingBeforeSplit.resources.${number}.transparency` | `updatedRecurringEventEndingBeforeSplit.resources.${number}.permissionRole` | `updatedRecurringEventEndingBeforeSplit.participants.list` | `updatedRecurringEventEndingBeforeSplit.participants.status` | `updatedRecurringEventEndingBeforeSplit.conferencingDetails.type` | `updatedRecurringEventEndingBeforeSplit.inheritedFields` | `updatedRecurringEventEndingBeforeSplit.permissions` | `updatedRecurringEventEndingBeforeSplit.permissions.${number}.identity.wixUserId` | `updatedRecurringEventEndingBeforeSplit.permissions.${number}.role` | `newRecurringEventStartingFromSplit.status` | `newRecurringEventStartingFromSplit.recurrenceType` | `newRecurringEventStartingFromSplit.recurrenceRule.frequency` | `newRecurringEventStartingFromSplit.recurrenceRule.days` | `newRecurringEventStartingFromSplit.transparency` | `newRecurringEventStartingFromSplit.location.type` | `newRecurringEventStartingFromSplit.resources` | `newRecurringEventStartingFromSplit.resources.${number}.transparency` | `newRecurringEventStartingFromSplit.resources.${number}.permissionRole` | `newRecurringEventStartingFromSplit.participants.list` | `newRecurringEventStartingFromSplit.participants.status` | `newRecurringEventStartingFromSplit.conferencingDetails.type` | `newRecurringEventStartingFromSplit.inheritedFields` | `newRecurringEventStartingFromSplit.permissions` | `newRecurringEventStartingFromSplit.permissions.${number}.identity.wixUserId` | `newRecurringEventStartingFromSplit.permissions.${number}.role`, 6>>;
237
220
  }
238
221
  declare function cancelEvent$1(httpClient: HttpClient): CancelEventSignature;
239
222
  interface CancelEventSignature {
@@ -241,9 +224,7 @@ interface CancelEventSignature {
241
224
  * Cancels an event.
242
225
  * @param - ID of the event to cancel.
243
226
  */
244
- (eventId: string, options?: CancelEventOptions): Promise<NonNullablePaths<CancelEventResponse, {
245
- [P in EventNonNullablePaths]: `event.${P}`;
246
- }[EventNonNullablePaths]> & {
227
+ (eventId: string, options?: CancelEventOptions): Promise<NonNullablePaths<CancelEventResponse, `event.status` | `event.recurrenceType` | `event.recurrenceRule.frequency` | `event.recurrenceRule.days` | `event.transparency` | `event.location.type` | `event.resources` | `event.resources.${number}.transparency` | `event.resources.${number}.permissionRole` | `event.participants.list` | `event.participants.status` | `event.conferencingDetails.type` | `event.inheritedFields` | `event.permissions` | `event.permissions.${number}.identity.wixUserId` | `event.permissions.${number}.role`, 6> & {
247
228
  __applicationErrorsType?: CancelEventApplicationErrors;
248
229
  }>;
249
230
  }
@@ -253,9 +234,7 @@ interface BulkCancelEventSignature {
253
234
  * Cancels multiple events in bulk.
254
235
  * @param - IDs of the events to cancel.
255
236
  */
256
- (eventIds: string[], options?: BulkCancelEventOptions): Promise<NonNullablePaths<BulkCancelEventResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
257
- [P in EventNonNullablePaths]: `results.${number}.item.${P}`;
258
- }[EventNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures`> & {
237
+ (eventIds: string[], options?: BulkCancelEventOptions): Promise<NonNullablePaths<BulkCancelEventResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.status` | `results.${number}.item.recurrenceType` | `results.${number}.item.recurrenceRule.frequency` | `results.${number}.item.transparency` | `results.${number}.item.location.type` | `results.${number}.item.participants.status` | `results.${number}.item.conferencingDetails.type` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures`, 6> & {
259
238
  __applicationErrorsType?: BulkCancelEventApplicationErrors;
260
239
  }>;
261
240
  }
@@ -284,7 +263,7 @@ declare const bulkCancelEvent: MaybeContext<BuildRESTFunction<typeof bulkCancelE
284
263
  * [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
285
264
  * to get notified about `INSTANCE` events.
286
265
  */
287
- declare const onEventCancelled: BuildEventDefinition<typeof onEventCancelled$1>;
266
+ declare const onEventCancelled: BuildEventDefinition<typeof onEventCancelled$1> & typeof onEventCancelled$1;
288
267
  /**
289
268
  * Triggered when an event is created, including when an existing `MASTER`
290
269
  * event is split.
@@ -293,11 +272,11 @@ declare const onEventCancelled: BuildEventDefinition<typeof onEventCancelled$1>;
293
272
  * [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
294
273
  * to get notified about `INSTANCE` events.
295
274
  */
296
- declare const onEventCreated: BuildEventDefinition<typeof onEventCreated$1>;
275
+ declare const onEventCreated: BuildEventDefinition<typeof onEventCreated$1> & typeof onEventCreated$1;
297
276
  /**
298
277
  * Triggered when a `MASTER` event is split.
299
278
  */
300
- declare const onEventRecurringSplit: BuildEventDefinition<typeof onEventRecurringSplit$1>;
279
+ declare const onEventRecurringSplit: BuildEventDefinition<typeof onEventRecurringSplit$1> & typeof onEventRecurringSplit$1;
301
280
  /**
302
281
  * Triggered when an event is updated, including when it's canceled.
303
282
  *
@@ -305,6 +284,6 @@ declare const onEventRecurringSplit: BuildEventDefinition<typeof onEventRecurrin
305
284
  * [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
306
285
  * to get notified about `INSTANCE` events.
307
286
  */
308
- declare const onEventUpdated: BuildEventDefinition<typeof onEventUpdated$1>;
287
+ declare const onEventUpdated: BuildEventDefinition<typeof onEventUpdated$1> & typeof onEventUpdated$1;
309
288
 
310
- 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 };
289
+ export { BulkCancelEventApplicationErrors, BulkCancelEventOptions, BulkCancelEventResponse, BulkCreateEventOptions, BulkCreateEventResponse, BulkUpdateEventOptions, BulkUpdateEventRequestMaskedEvent, BulkUpdateEventResponse, CancelEventApplicationErrors, CancelEventOptions, CancelEventResponse, CreateEventOptions, Event, EventCancelledEnvelope, EventCreatedEnvelope, EventRecurringSplitEnvelope, EventUpdatedEnvelope, EventsQueryBuilder, FieldWithLiterals, 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 };
@@ -1513,7 +1513,9 @@ var cancelEvent4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(ca
1513
1513
  var bulkCancelEvent4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkCancelEvent3);
1514
1514
  var onEventCancelled2 = (0, import_event_definition_modules.createEventModule)(onEventCancelled);
1515
1515
  var onEventCreated2 = (0, import_event_definition_modules.createEventModule)(onEventCreated);
1516
- var onEventRecurringSplit2 = (0, import_event_definition_modules.createEventModule)(onEventRecurringSplit);
1516
+ var onEventRecurringSplit2 = (0, import_event_definition_modules.createEventModule)(
1517
+ onEventRecurringSplit
1518
+ );
1517
1519
  var onEventUpdated2 = (0, import_event_definition_modules.createEventModule)(onEventUpdated);
1518
1520
  // Annotate the CommonJS export names for ESM import in node:
1519
1521
  0 && (module.exports = {