@wix/auto_sdk_calendar_events 1.0.35 → 1.0.37
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/index.d.ts +14 -35
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +20 -44
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +4 -4
- package/build/es/index.d.mts +14 -35
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +20 -44
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +4 -4
- package/build/internal/cjs/index.d.ts +14 -35
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +20 -44
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +4 -4
- package/build/internal/es/index.d.mts +14 -35
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +20 -44
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +4 -4
- package/package.json +3 -3
|
@@ -664,7 +664,7 @@ interface ListEventsByContactIdRequest {
|
|
|
664
664
|
* `2024-01-30T13:30:00`. Required if `cursorPaging` isn't provided.
|
|
665
665
|
*
|
|
666
666
|
* Events that start before the `fromLocalDate` but end after it are included in
|
|
667
|
-
* the results. Must be earlier than `toLocalDate
|
|
667
|
+
* the results. Must be earlier than `toLocalDate` unless the sort order is descending.
|
|
668
668
|
* @format LOCAL_DATE_TIME
|
|
669
669
|
*/
|
|
670
670
|
fromLocalDate?: string | null;
|
|
@@ -675,7 +675,7 @@ interface ListEventsByContactIdRequest {
|
|
|
675
675
|
* `2024-01-30T13:30:00`. Required if `cursorPaging` isn't provided.
|
|
676
676
|
*
|
|
677
677
|
* Events that start before `toLocalDate` but end after it are included in the
|
|
678
|
-
* results. Must be later than `fromLocalDate
|
|
678
|
+
* results. Must be later than `fromLocalDate` unless the sort order is descending.
|
|
679
679
|
* @format LOCAL_DATE_TIME
|
|
680
680
|
*/
|
|
681
681
|
toLocalDate?: string | null;
|
|
@@ -778,7 +778,7 @@ interface ListEventsByMemberIdRequest {
|
|
|
778
778
|
* `2024-01-30T13:30:00`. Required if neither `cursorPaging` is provided nor a non-empty `eventIds` array.
|
|
779
779
|
*
|
|
780
780
|
* Events that start before the `fromLocalDate` but end after it are included in
|
|
781
|
-
* the results. Must be earlier than `toLocalDate
|
|
781
|
+
* the results. Must be earlier than `toLocalDate` unless the sort order is descending.
|
|
782
782
|
* @format LOCAL_DATE_TIME
|
|
783
783
|
*/
|
|
784
784
|
fromLocalDate?: string | null;
|
|
@@ -789,7 +789,7 @@ interface ListEventsByMemberIdRequest {
|
|
|
789
789
|
* `fromLocalDate`. Required if neither `cursorPaging` is provided nor a non-empty `eventIds` array.
|
|
790
790
|
*
|
|
791
791
|
* Events that start before `toLocalDate` but end after it are included in the
|
|
792
|
-
* results. Must be later than `fromLocalDate
|
|
792
|
+
* results. Must be later than `fromLocalDate` unless the sort order is descending.
|
|
793
793
|
* @format LOCAL_DATE_TIME
|
|
794
794
|
*/
|
|
795
795
|
toLocalDate?: string | null;
|
|
@@ -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.mjs';
|
|
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.mjs';
|
|
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.mjs';
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
}
|
|
@@ -307,4 +286,4 @@ declare const onEventRecurringSplit: BuildEventDefinition<typeof onEventRecurrin
|
|
|
307
286
|
*/
|
|
308
287
|
declare const onEventUpdated: BuildEventDefinition<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 };
|