@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
|
@@ -838,7 +838,7 @@ interface ListEventsByContactIdRequest {
|
|
|
838
838
|
* `2024-01-30T13:30:00`. Required if `cursorPaging` isn't provided.
|
|
839
839
|
*
|
|
840
840
|
* Events that start before the `fromLocalDate` but end after it are included in
|
|
841
|
-
* the results. Must be earlier than `toLocalDate
|
|
841
|
+
* the results. Must be earlier than `toLocalDate` unless the sort order is descending.
|
|
842
842
|
* @format LOCAL_DATE_TIME
|
|
843
843
|
*/
|
|
844
844
|
fromLocalDate?: string | null;
|
|
@@ -849,7 +849,7 @@ interface ListEventsByContactIdRequest {
|
|
|
849
849
|
* `2024-01-30T13:30:00`. Required if `cursorPaging` isn't provided.
|
|
850
850
|
*
|
|
851
851
|
* Events that start before `toLocalDate` but end after it are included in the
|
|
852
|
-
* results. Must be later than `fromLocalDate
|
|
852
|
+
* results. Must be later than `fromLocalDate` unless the sort order is descending.
|
|
853
853
|
* @format LOCAL_DATE_TIME
|
|
854
854
|
*/
|
|
855
855
|
toLocalDate?: string | null;
|
|
@@ -952,7 +952,7 @@ interface ListEventsByMemberIdRequest {
|
|
|
952
952
|
* `2024-01-30T13:30:00`. Required if neither `cursorPaging` is provided nor a non-empty `eventIds` array.
|
|
953
953
|
*
|
|
954
954
|
* Events that start before the `fromLocalDate` but end after it are included in
|
|
955
|
-
* the results. Must be earlier than `toLocalDate
|
|
955
|
+
* the results. Must be earlier than `toLocalDate` unless the sort order is descending.
|
|
956
956
|
* @format LOCAL_DATE_TIME
|
|
957
957
|
*/
|
|
958
958
|
fromLocalDate?: string | null;
|
|
@@ -963,7 +963,7 @@ interface ListEventsByMemberIdRequest {
|
|
|
963
963
|
* `fromLocalDate`. Required if neither `cursorPaging` is provided nor a non-empty `eventIds` array.
|
|
964
964
|
*
|
|
965
965
|
* Events that start before `toLocalDate` but end after it are included in the
|
|
966
|
-
* results. Must be later than `fromLocalDate
|
|
966
|
+
* results. Must be later than `fromLocalDate` unless the sort order is descending.
|
|
967
967
|
* @format LOCAL_DATE_TIME
|
|
968
968
|
*/
|
|
969
969
|
toLocalDate?: string | null;
|
|
@@ -2008,7 +2008,6 @@ interface EventUpdatedEnvelope {
|
|
|
2008
2008
|
* @slug updated
|
|
2009
2009
|
*/
|
|
2010
2010
|
declare function onEventUpdated(handler: (event: EventUpdatedEnvelope) => void | Promise<void>): void;
|
|
2011
|
-
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`;
|
|
2012
2011
|
/**
|
|
2013
2012
|
* Retrieves a list of events filtered by the participant's
|
|
2014
2013
|
* [contact](https://dev.wix.com/docs/sdk/backend-modules/crm/contacts/introduction)
|
|
@@ -2025,9 +2024,7 @@ type EventNonNullablePaths = `status` | `recurrenceType` | `recurrenceRule.frequ
|
|
|
2025
2024
|
* @applicableIdentity APP
|
|
2026
2025
|
* @fqn wix.calendar.participantevents.v3.ParticipantEventsService.ListEventsByContactId
|
|
2027
2026
|
*/
|
|
2028
|
-
declare function listEventsByContactId(contactId: string, options?: ListEventsByContactIdOptions): Promise<NonNullablePaths<ListEventsByContactIdResponse, {
|
|
2029
|
-
[P in EventNonNullablePaths]: `events.${number}.${P}`;
|
|
2030
|
-
}[EventNonNullablePaths]>>;
|
|
2027
|
+
declare function listEventsByContactId(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>>;
|
|
2031
2028
|
interface ListEventsByContactIdOptions {
|
|
2032
2029
|
/**
|
|
2033
2030
|
* Local start date and time from which events are returned in
|
|
@@ -2035,7 +2032,7 @@ interface ListEventsByContactIdOptions {
|
|
|
2035
2032
|
* `2024-01-30T13:30:00`. Required if `cursorPaging` isn't provided.
|
|
2036
2033
|
*
|
|
2037
2034
|
* Events that start before the `fromLocalDate` but end after it are included in
|
|
2038
|
-
* the results. Must be earlier than `toLocalDate
|
|
2035
|
+
* the results. Must be earlier than `toLocalDate` unless the sort order is descending.
|
|
2039
2036
|
* @format LOCAL_DATE_TIME
|
|
2040
2037
|
*/
|
|
2041
2038
|
fromLocalDate?: string | null;
|
|
@@ -2046,7 +2043,7 @@ interface ListEventsByContactIdOptions {
|
|
|
2046
2043
|
* `2024-01-30T13:30:00`. Required if `cursorPaging` isn't provided.
|
|
2047
2044
|
*
|
|
2048
2045
|
* Events that start before `toLocalDate` but end after it are included in the
|
|
2049
|
-
* results. Must be later than `fromLocalDate
|
|
2046
|
+
* results. Must be later than `fromLocalDate` unless the sort order is descending.
|
|
2050
2047
|
* @format LOCAL_DATE_TIME
|
|
2051
2048
|
*/
|
|
2052
2049
|
toLocalDate?: string | null;
|
|
@@ -2095,9 +2092,7 @@ interface ListEventsByContactIdOptions {
|
|
|
2095
2092
|
* @applicableIdentity VISITOR
|
|
2096
2093
|
* @fqn wix.calendar.participantevents.v3.ParticipantEventsService.ListEventsByMemberId
|
|
2097
2094
|
*/
|
|
2098
|
-
declare function listEventsByMemberId(memberId: string, options?: ListEventsByMemberIdOptions): Promise<NonNullablePaths<ListEventsByMemberIdResponse, {
|
|
2099
|
-
[P in EventNonNullablePaths]: `events.${number}.${P}`;
|
|
2100
|
-
}[EventNonNullablePaths]>>;
|
|
2095
|
+
declare function listEventsByMemberId(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>>;
|
|
2101
2096
|
interface ListEventsByMemberIdOptions {
|
|
2102
2097
|
/**
|
|
2103
2098
|
* Local start date and time from which events are returned in
|
|
@@ -2105,7 +2100,7 @@ interface ListEventsByMemberIdOptions {
|
|
|
2105
2100
|
* `2024-01-30T13:30:00`. Required if neither `cursorPaging` is provided nor a non-empty `eventIds` array.
|
|
2106
2101
|
*
|
|
2107
2102
|
* Events that start before the `fromLocalDate` but end after it are included in
|
|
2108
|
-
* the results. Must be earlier than `toLocalDate
|
|
2103
|
+
* the results. Must be earlier than `toLocalDate` unless the sort order is descending.
|
|
2109
2104
|
* @format LOCAL_DATE_TIME
|
|
2110
2105
|
*/
|
|
2111
2106
|
fromLocalDate?: string | null;
|
|
@@ -2116,7 +2111,7 @@ interface ListEventsByMemberIdOptions {
|
|
|
2116
2111
|
* `fromLocalDate`. Required if neither `cursorPaging` is provided nor a non-empty `eventIds` array.
|
|
2117
2112
|
*
|
|
2118
2113
|
* Events that start before `toLocalDate` but end after it are included in the
|
|
2119
|
-
* results. Must be later than `fromLocalDate
|
|
2114
|
+
* results. Must be later than `fromLocalDate` unless the sort order is descending.
|
|
2120
2115
|
* @format LOCAL_DATE_TIME
|
|
2121
2116
|
*/
|
|
2122
2117
|
toLocalDate?: string | null;
|
|
@@ -2164,11 +2159,10 @@ interface ListEventsByMemberIdOptions {
|
|
|
2164
2159
|
* @permissionId CALENDAR.EVENT_READ
|
|
2165
2160
|
* @permissionId CALENDAR.EVENT_READ_PI
|
|
2166
2161
|
* @applicableIdentity APP
|
|
2167
|
-
* @applicableIdentity VISITOR
|
|
2168
2162
|
* @returns Retrieved event.
|
|
2169
2163
|
* @fqn wix.calendar.events.v3.EventsService.GetEvent
|
|
2170
2164
|
*/
|
|
2171
|
-
declare function getEvent(eventId: string, options?: GetEventOptions): Promise<NonNullablePaths<Event,
|
|
2165
|
+
declare function getEvent(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>>;
|
|
2172
2166
|
interface GetEventOptions {
|
|
2173
2167
|
/**
|
|
2174
2168
|
* Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database)
|
|
@@ -2204,12 +2198,9 @@ interface GetEventOptions {
|
|
|
2204
2198
|
* @permissionId CALENDAR.EVENT_READ
|
|
2205
2199
|
* @permissionId CALENDAR.EVENT_READ_PI
|
|
2206
2200
|
* @applicableIdentity APP
|
|
2207
|
-
* @applicableIdentity VISITOR
|
|
2208
2201
|
* @fqn wix.calendar.events.v3.EventsService.ListEvents
|
|
2209
2202
|
*/
|
|
2210
|
-
declare function listEvents(eventIds: string[], options?: ListEventsOptions): Promise<NonNullablePaths<ListEventsResponse, {
|
|
2211
|
-
[P in EventNonNullablePaths]: `events.${number}.${P}`;
|
|
2212
|
-
}[EventNonNullablePaths]>>;
|
|
2203
|
+
declare function listEvents(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>>;
|
|
2213
2204
|
interface ListEventsOptions {
|
|
2214
2205
|
/**
|
|
2215
2206
|
* Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database)
|
|
@@ -2256,7 +2247,6 @@ interface ListEventsOptions {
|
|
|
2256
2247
|
* @permissionId CALENDAR.EVENT_READ
|
|
2257
2248
|
* @permissionId CALENDAR.EVENT_READ_PI
|
|
2258
2249
|
* @applicableIdentity APP
|
|
2259
|
-
* @applicableIdentity VISITOR
|
|
2260
2250
|
* @fqn wix.calendar.events.v3.EventsService.QueryEvents
|
|
2261
2251
|
*/
|
|
2262
2252
|
declare function queryEvents(options?: QueryEventsOptions): EventsQueryBuilder;
|
|
@@ -2398,7 +2388,7 @@ interface EventsQueryBuilder {
|
|
|
2398
2388
|
* @returns Created event.
|
|
2399
2389
|
* @fqn wix.calendar.events.v3.EventsService.CreateEvent
|
|
2400
2390
|
*/
|
|
2401
|
-
declare function createEvent(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
|
|
2391
|
+
declare function createEvent(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>>;
|
|
2402
2392
|
interface CreateEventOptions {
|
|
2403
2393
|
/**
|
|
2404
2394
|
* Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database)
|
|
@@ -2452,9 +2442,7 @@ interface CreateEventOptions {
|
|
|
2452
2442
|
* @applicableIdentity APP
|
|
2453
2443
|
* @fqn wix.calendar.events.v3.EventsService.BulkCreateEvent
|
|
2454
2444
|
*/
|
|
2455
|
-
declare function bulkCreateEvent(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
|
|
2456
|
-
[P in EventNonNullablePaths]: `results.${number}.item.${P}`;
|
|
2457
|
-
}[EventNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures`>>;
|
|
2445
|
+
declare function bulkCreateEvent(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>>;
|
|
2458
2446
|
interface BulkCreateEventOptions {
|
|
2459
2447
|
/**
|
|
2460
2448
|
* Whether to return created events.
|
|
@@ -2505,7 +2493,7 @@ interface BulkCreateEventOptions {
|
|
|
2505
2493
|
* @returns Updated event.
|
|
2506
2494
|
* @fqn wix.calendar.events.v3.EventsService.UpdateEvent
|
|
2507
2495
|
*/
|
|
2508
|
-
declare function updateEvent(_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
|
|
2496
|
+
declare function updateEvent(_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>>;
|
|
2509
2497
|
interface UpdateEvent {
|
|
2510
2498
|
/**
|
|
2511
2499
|
* Event ID.
|
|
@@ -2789,9 +2777,7 @@ interface UpdateEventOptions {
|
|
|
2789
2777
|
* @applicableIdentity APP
|
|
2790
2778
|
* @fqn wix.calendar.events.v3.EventsService.BulkUpdateEvent
|
|
2791
2779
|
*/
|
|
2792
|
-
declare function bulkUpdateEvent(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
|
|
2793
|
-
[P in EventNonNullablePaths]: `results.${number}.item.${P}`;
|
|
2794
|
-
}[EventNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures`>>;
|
|
2780
|
+
declare function bulkUpdateEvent(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>>;
|
|
2795
2781
|
interface BulkUpdateEventOptions {
|
|
2796
2782
|
/**
|
|
2797
2783
|
* Whether to return the updated events.
|
|
@@ -2841,9 +2827,7 @@ interface BulkUpdateEventOptions {
|
|
|
2841
2827
|
* @applicableIdentity APP
|
|
2842
2828
|
* @fqn wix.calendar.events.v3.EventsService.RestoreEventDefaults
|
|
2843
2829
|
*/
|
|
2844
|
-
declare function restoreEventDefaults(eventId: string, fields: FieldWithLiterals[], options?: RestoreEventDefaultsOptions): Promise<NonNullablePaths<RestoreEventDefaultsResponse, {
|
|
2845
|
-
[P in EventNonNullablePaths]: `event.${P}`;
|
|
2846
|
-
}[EventNonNullablePaths]>>;
|
|
2830
|
+
declare function restoreEventDefaults(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>>;
|
|
2847
2831
|
interface RestoreEventDefaultsOptions {
|
|
2848
2832
|
/**
|
|
2849
2833
|
* Information about whether participants of the updated event are notified and
|
|
@@ -2899,11 +2883,7 @@ interface RestoreEventDefaultsOptions {
|
|
|
2899
2883
|
* @applicableIdentity APP
|
|
2900
2884
|
* @fqn wix.calendar.events.v3.EventsService.SplitRecurringEvent
|
|
2901
2885
|
*/
|
|
2902
|
-
declare function splitRecurringEvent(recurringEventId: string, splitLocalDate: string, options?: SplitRecurringEventOptions): Promise<NonNullablePaths<SplitRecurringEventResponse, {
|
|
2903
|
-
[P in EventNonNullablePaths]: `updatedRecurringEventEndingBeforeSplit.${P}`;
|
|
2904
|
-
}[EventNonNullablePaths] | {
|
|
2905
|
-
[P in EventNonNullablePaths]: `newRecurringEventStartingFromSplit.${P}`;
|
|
2906
|
-
}[EventNonNullablePaths]>>;
|
|
2886
|
+
declare function splitRecurringEvent(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>>;
|
|
2907
2887
|
interface SplitRecurringEventOptions {
|
|
2908
2888
|
/**
|
|
2909
2889
|
* Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database)
|
|
@@ -2924,9 +2904,7 @@ interface SplitRecurringEventOptions {
|
|
|
2924
2904
|
* @applicableIdentity APP
|
|
2925
2905
|
* @fqn wix.calendar.events.v3.EventsService.CancelEvent
|
|
2926
2906
|
*/
|
|
2927
|
-
declare function cancelEvent(eventId: string, options?: CancelEventOptions): Promise<NonNullablePaths<CancelEventResponse, {
|
|
2928
|
-
[P in EventNonNullablePaths]: `event.${P}`;
|
|
2929
|
-
}[EventNonNullablePaths]> & {
|
|
2907
|
+
declare function cancelEvent(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> & {
|
|
2930
2908
|
__applicationErrorsType?: CancelEventApplicationErrors;
|
|
2931
2909
|
}>;
|
|
2932
2910
|
interface CancelEventOptions {
|
|
@@ -2954,9 +2932,7 @@ interface CancelEventOptions {
|
|
|
2954
2932
|
* @applicableIdentity APP
|
|
2955
2933
|
* @fqn wix.calendar.events.v3.EventsService.BulkCancelEvent
|
|
2956
2934
|
*/
|
|
2957
|
-
declare function bulkCancelEvent(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` | {
|
|
2958
|
-
[P in EventNonNullablePaths]: `results.${number}.item.${P}`;
|
|
2959
|
-
}[EventNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures`> & {
|
|
2935
|
+
declare function bulkCancelEvent(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> & {
|
|
2960
2936
|
__applicationErrorsType?: BulkCancelEventApplicationErrors;
|
|
2961
2937
|
}>;
|
|
2962
2938
|
interface BulkCancelEventOptions {
|