@wix/calendar 1.0.4 → 1.0.6

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,3 +1,4 @@
1
- export * as events from '@wix/calendar_events';
2
- export * as schedules from '@wix/calendar_schedules';
3
- export * as scheduleTimeFrames from '@wix/calendar_schedule-time-frames';
1
+ import * as events from '@wix/calendar_events';
2
+ import * as schedules from '@wix/calendar_schedules';
3
+ import * as scheduleTimeFrames from '@wix/calendar_schedule-time-frames';
4
+ export { events, schedules, scheduleTimeFrames };
@@ -24,7 +24,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.scheduleTimeFrames = exports.schedules = exports.events = void 0;
27
- exports.events = __importStar(require("@wix/calendar_events"));
28
- exports.schedules = __importStar(require("@wix/calendar_schedules"));
29
- exports.scheduleTimeFrames = __importStar(require("@wix/calendar_schedule-time-frames"));
27
+ const events = __importStar(require("@wix/calendar_events"));
28
+ exports.events = events;
29
+ const schedules = __importStar(require("@wix/calendar_schedules"));
30
+ exports.schedules = schedules;
31
+ const scheduleTimeFrames = __importStar(require("@wix/calendar_schedule-time-frames"));
32
+ exports.scheduleTimeFrames = scheduleTimeFrames;
30
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAA+C;AAC/C,qEAAqD;AACrD,yFAAyE"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAA+C;AAItC,wBAAM;AAHf,mEAAqD;AAGpC,8BAAS;AAF1B,uFAAyE;AAE7C,gDAAkB"}
@@ -1,3 +1,4 @@
1
- export * as events from '@wix/calendar_events';
2
- export * as schedules from '@wix/calendar_schedules';
3
- export * as scheduleTimeFrames from '@wix/calendar_schedule-time-frames';
1
+ import * as events from '@wix/calendar_events';
2
+ import * as schedules from '@wix/calendar_schedules';
3
+ import * as scheduleTimeFrames from '@wix/calendar_schedule-time-frames';
4
+ export { events, schedules, scheduleTimeFrames };
package/build/es/index.js CHANGED
@@ -1,4 +1,5 @@
1
- export * as events from '@wix/calendar_events';
2
- export * as schedules from '@wix/calendar_schedules';
3
- export * as scheduleTimeFrames from '@wix/calendar_schedule-time-frames';
1
+ import * as events from '@wix/calendar_events';
2
+ import * as schedules from '@wix/calendar_schedules';
3
+ import * as scheduleTimeFrames from '@wix/calendar_schedule-time-frames';
4
+ export { events, schedules, scheduleTimeFrames };
4
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAC/C,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,kBAAkB,MAAM,oCAAoC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAC/C,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,kBAAkB,MAAM,oCAAoC,CAAC;AAEzE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/calendar",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,9 +18,9 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/calendar_events": "1.0.3",
22
- "@wix/calendar_schedule-time-frames": "1.0.2",
23
- "@wix/calendar_schedules": "1.0.3"
21
+ "@wix/calendar_events": "1.0.5",
22
+ "@wix/calendar_schedule-time-frames": "1.0.4",
23
+ "@wix/calendar_schedules": "1.0.5"
24
24
  },
25
25
  "devDependencies": {
26
26
  "glob": "^10.4.1",
@@ -29,8 +29,9 @@
29
29
  "typescript": "^5.3.2"
30
30
  },
31
31
  "scripts": {
32
- "build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles",
33
- "build:dts-bundles": "test -f config/rollup-config.js && rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'",
32
+ "build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles && npm run build:validate-dts",
33
+ "build:dts-bundles": "test -f config/rollup-config.js && NODE_OPTIONS=--max-old-space-size=8192 rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'",
34
+ "build:validate-dts": "tsc type-bundles/*.d.ts --noEmit",
34
35
  "test": ":"
35
36
  },
36
37
  "wix": {
@@ -44,5 +45,5 @@
44
45
  "fqdn": ""
45
46
  }
46
47
  },
47
- "falconPackageHash": "d025c587c9a603968b76fb978534185c73b1814e7febf9a3ef5aa09d"
48
+ "falconPackageHash": "6e4cf5a2807b3d88263de0aa69aabd50faf396d2b1265168fd9f9d03"
48
49
  }
@@ -1,3 +1,47 @@
1
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
+ interface HttpClient {
3
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
+ fetchWithAuth: typeof fetch;
5
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
+ }
7
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
+ type HttpResponse<T = any> = {
9
+ data: T;
10
+ status: number;
11
+ statusText: string;
12
+ headers: any;
13
+ request?: any;
14
+ };
15
+ type RequestOptions<_TResponse = any, Data = any> = {
16
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
+ url: string;
18
+ data?: Data;
19
+ params?: URLSearchParams;
20
+ } & APIMetadata;
21
+ type APIMetadata = {
22
+ methodFqn?: string;
23
+ entityFqdn?: string;
24
+ packageName?: string;
25
+ };
26
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
28
+ __type: 'event-definition';
29
+ type: Type;
30
+ isDomainEvent?: boolean;
31
+ transformations?: (envelope: unknown) => Payload;
32
+ __payload: Payload;
33
+ };
34
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
35
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
36
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
37
+
38
+ declare global {
39
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
40
+ interface SymbolConstructor {
41
+ readonly observable: symbol;
42
+ }
43
+ }
44
+
1
45
  interface Event {
2
46
  /**
3
47
  * The event ID.
@@ -1941,71 +1985,176 @@ interface ListEventsByMemberIdOptions {
1941
1985
  eventIds?: string[];
1942
1986
  }
1943
1987
 
1944
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
1945
- interface HttpClient {
1946
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
1947
- fetchWithAuth: typeof fetch;
1948
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
1988
+ declare function getEvent$1(httpClient: HttpClient): GetEventSignature;
1989
+ interface GetEventSignature {
1990
+ /**
1991
+ * Retrieves an event by ID.
1992
+ * @param - The ID of the event to retrieve. Required.
1993
+ * @returns The event.
1994
+ */
1995
+ (eventId: string | null, options?: GetEventOptions | undefined): Promise<Event & EventNonNullableFields>;
1949
1996
  }
1950
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
1951
- type HttpResponse<T = any> = {
1952
- data: T;
1953
- status: number;
1954
- statusText: string;
1955
- headers: any;
1956
- request?: any;
1957
- };
1958
- type RequestOptions<_TResponse = any, Data = any> = {
1959
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
1960
- url: string;
1961
- data?: Data;
1962
- params?: URLSearchParams;
1963
- } & APIMetadata;
1964
- type APIMetadata = {
1965
- methodFqn?: string;
1966
- entityFqdn?: string;
1967
- packageName?: string;
1968
- };
1969
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
1970
- type EventDefinition<Payload = unknown, Type extends string = string> = {
1971
- __type: 'event-definition';
1972
- type: Type;
1973
- isDomainEvent?: boolean;
1974
- transformations?: (envelope: unknown) => Payload;
1975
- __payload: Payload;
1976
- };
1977
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1978
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
1979
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
1980
-
1981
- declare global {
1982
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
1983
- interface SymbolConstructor {
1984
- readonly observable: symbol;
1985
- }
1997
+ declare function listEvents$1(httpClient: HttpClient): ListEventsSignature;
1998
+ interface ListEventsSignature {
1999
+ /**
2000
+ * Retrieves a list of events by their IDs.
2001
+ * @param - The IDs of the events to retrieve.
2002
+ */
2003
+ (eventIds: string[], options?: ListEventsOptions | undefined): Promise<ListEventsResponse & ListEventsResponseNonNullableFields>;
1986
2004
  }
1987
-
1988
- declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2005
+ declare function queryEvents$1(httpClient: HttpClient): QueryEventsSignature;
2006
+ interface QueryEventsSignature {
2007
+ /**
2008
+ * Query events given the provided time range, filters and paging.
2009
+ *
2010
+ * Sort: by default events are sorted by their start date in ascending order. Events can also be sorted by their end date in descending order.
2011
+ * > __Note__ Querying by IDs is not supported, please use the GetEvent or ListEvents APIs instead.
2012
+ */
2013
+ (options?: QueryEventsOptions | undefined): EventsQueryBuilder;
2014
+ }
2015
+ declare function createEvent$1(httpClient: HttpClient): CreateEventSignature;
2016
+ interface CreateEventSignature {
2017
+ /**
2018
+ * Creates an event.
2019
+ * @param - The event to create.
2020
+ * @returns The created event.
2021
+ */
2022
+ (event: Event, options?: CreateEventOptions | undefined): Promise<Event & EventNonNullableFields>;
2023
+ }
2024
+ declare function bulkCreateEvent$1(httpClient: HttpClient): BulkCreateEventSignature;
2025
+ interface BulkCreateEventSignature {
2026
+ /**
2027
+ * Creates multiple events in bulk.
2028
+ * @param - The events to create.
2029
+ */
2030
+ (events: MaskedEvent[], options?: BulkCreateEventOptions | undefined): Promise<BulkCreateEventResponse & BulkCreateEventResponseNonNullableFields>;
2031
+ }
2032
+ declare function updateEvent$1(httpClient: HttpClient): UpdateEventSignature;
2033
+ interface UpdateEventSignature {
2034
+ /**
2035
+ * Updates an event.
2036
+ * @param - The event ID.
2037
+ * @returns The updated event.
2038
+ */
2039
+ (_id: string | null, event: UpdateEvent, options?: UpdateEventOptions | undefined): Promise<Event & EventNonNullableFields>;
2040
+ }
2041
+ declare function bulkUpdateEvent$1(httpClient: HttpClient): BulkUpdateEventSignature;
2042
+ interface BulkUpdateEventSignature {
2043
+ /**
2044
+ * Updates multiple events in bulk.
2045
+ * @param - The events to update.
2046
+ */
2047
+ (events: BulkUpdateEventRequestMaskedEvent[], options?: BulkUpdateEventOptions | undefined): Promise<BulkUpdateEventResponse & BulkUpdateEventResponseNonNullableFields>;
2048
+ }
2049
+ declare function restoreEventDefaults$1(httpClient: HttpClient): RestoreEventDefaultsSignature;
2050
+ interface RestoreEventDefaultsSignature {
2051
+ /**
2052
+ * Restore default event values from the schedule or the recurring event.
2053
+ * @param - The ID of the event.
2054
+ * @param - The fields for which to restore default values.
2055
+ */
2056
+ (eventId: string | null, fields: Field[], options?: RestoreEventDefaultsOptions | undefined): Promise<RestoreEventDefaultsResponse & RestoreEventDefaultsResponseNonNullableFields>;
2057
+ }
2058
+ declare function splitRecurringEvent$1(httpClient: HttpClient): SplitRecurringEventSignature;
2059
+ interface SplitRecurringEventSignature {
2060
+ /**
2061
+ * Splits a recurring event at a provided future date into two recurring events.
2062
+ *
2063
+ * Recurring event instances starting at or after the split date will belong to the new recurring event.
2064
+ *
2065
+ * Upon split, the following happens:
2066
+ * - The recurring event is set to end in the last instance before the split date.
2067
+ * - A new recurring event is created which set to start from the next instance starting at/after the split date.
2068
+ * - Recurring event exceptions which start at/after the split date are updated with the new recurring event ID.
2069
+ *
2070
+ * The split date must be a future date between two instances of the recurring event.
2071
+ * @param - The ID of the recurring event to split.
2072
+ * @param - The ISO-8601 local date where the recurring event is to be split.
2073
+ * Must be a future date.
2074
+ * Must be between two instances of the recurring event.
2075
+ */
2076
+ (recurringEventId: string | null, splitLocalDate: string | null, options?: SplitRecurringEventOptions | undefined): Promise<SplitRecurringEventResponse & SplitRecurringEventResponseNonNullableFields>;
2077
+ }
2078
+ declare function cancelEvent$1(httpClient: HttpClient): CancelEventSignature;
2079
+ interface CancelEventSignature {
2080
+ /**
2081
+ * Cancels an event.
2082
+ * @param - The ID of the event to cancel.
2083
+ */
2084
+ (eventId: string | null, options?: CancelEventOptions | undefined): Promise<CancelEventResponse & CancelEventResponseNonNullableFields>;
2085
+ }
2086
+ declare function bulkCancelEvent$1(httpClient: HttpClient): BulkCancelEventSignature;
2087
+ interface BulkCancelEventSignature {
2088
+ /**
2089
+ * Cancels multiple events in bulk.
2090
+ * @param - The IDs of the events to cancel.
2091
+ */
2092
+ (eventIds: string[], options?: BulkCancelEventOptions | undefined): Promise<BulkCancelEventResponse & BulkCancelEventResponseNonNullableFields>;
2093
+ }
2094
+ declare function listEventsByContactId$1(httpClient: HttpClient): ListEventsByContactIdSignature;
2095
+ interface ListEventsByContactIdSignature {
2096
+ /**
2097
+ * Retrieves a list of events by a participant's contact ID.
2098
+ *
2099
+ * Limits:
2100
+ * - Max time range is 1 year.
2101
+ * @param - The ID of the contact participating in the events.
2102
+ * Required, unless `cursorPaging` is provided.
2103
+ */
2104
+ (contactId: string | null, options?: ListEventsByContactIdOptions | undefined): Promise<ListEventsByContactIdResponse & ListEventsByContactIdResponseNonNullableFields>;
2105
+ }
2106
+ declare function listEventsByMemberId$1(httpClient: HttpClient): ListEventsByMemberIdSignature;
2107
+ interface ListEventsByMemberIdSignature {
2108
+ /**
2109
+ * Retrieves a list of events by a participant's member ID.
2110
+ *
2111
+ * Limits:
2112
+ * - Max time range is 1 year.
2113
+ * @param - The ID of the member participating in the events.
2114
+ *
2115
+ * Can be `me` for the currently logged-in member ID.
2116
+ * To retrieve other member events the `CALENDAR.EVENT_READ_PI` permission is required.
2117
+ *
2118
+ * Required, unless `cursorPaging` is provided.
2119
+ */
2120
+ (memberId: string | null, options?: ListEventsByMemberIdOptions | undefined): Promise<ListEventsByMemberIdResponse & ListEventsByMemberIdResponseNonNullableFields>;
2121
+ }
2122
+ declare const onEventCreated$1: EventDefinition<EventCreatedEnvelope, "wix.calendar.v3.event_created">;
2123
+ declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.calendar.v3.event_updated">;
2124
+ declare const onEventRecurringSplit$1: EventDefinition<EventRecurringSplitEnvelope, "wix.calendar.v3.event_recurring_split">;
2125
+ declare const onEventCancelled$1: EventDefinition<EventCancelledEnvelope, "wix.calendar.v3.event_cancelled">;
1989
2126
 
1990
2127
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1991
2128
 
1992
- declare const getEvent: ReturnType<typeof createRESTModule$2<typeof publicGetEvent>>;
1993
- declare const listEvents: ReturnType<typeof createRESTModule$2<typeof publicListEvents>>;
1994
- declare const queryEvents: ReturnType<typeof createRESTModule$2<typeof publicQueryEvents>>;
1995
- declare const createEvent: ReturnType<typeof createRESTModule$2<typeof publicCreateEvent>>;
1996
- declare const bulkCreateEvent: ReturnType<typeof createRESTModule$2<typeof publicBulkCreateEvent>>;
1997
- declare const updateEvent: ReturnType<typeof createRESTModule$2<typeof publicUpdateEvent>>;
1998
- declare const bulkUpdateEvent: ReturnType<typeof createRESTModule$2<typeof publicBulkUpdateEvent>>;
1999
- declare const restoreEventDefaults: ReturnType<typeof createRESTModule$2<typeof publicRestoreEventDefaults>>;
2000
- declare const splitRecurringEvent: ReturnType<typeof createRESTModule$2<typeof publicSplitRecurringEvent>>;
2001
- declare const cancelEvent: ReturnType<typeof createRESTModule$2<typeof publicCancelEvent>>;
2002
- declare const bulkCancelEvent: ReturnType<typeof createRESTModule$2<typeof publicBulkCancelEvent>>;
2003
- declare const listEventsByContactId: ReturnType<typeof createRESTModule$2<typeof publicListEventsByContactId>>;
2004
- declare const listEventsByMemberId: ReturnType<typeof createRESTModule$2<typeof publicListEventsByMemberId>>;
2005
- declare const onEventCreated: ReturnType<typeof createEventModule$2<typeof publicOnEventCreated>>;
2006
- declare const onEventUpdated: ReturnType<typeof createEventModule$2<typeof publicOnEventUpdated>>;
2007
- declare const onEventRecurringSplit: ReturnType<typeof createEventModule$2<typeof publicOnEventRecurringSplit>>;
2008
- declare const onEventCancelled: ReturnType<typeof createEventModule$2<typeof publicOnEventCancelled>>;
2129
+ declare const getEvent: BuildRESTFunction<typeof getEvent$1> & typeof getEvent$1;
2130
+ declare const listEvents: BuildRESTFunction<typeof listEvents$1> & typeof listEvents$1;
2131
+ declare const queryEvents: BuildRESTFunction<typeof queryEvents$1> & typeof queryEvents$1;
2132
+ declare const createEvent: BuildRESTFunction<typeof createEvent$1> & typeof createEvent$1;
2133
+ declare const bulkCreateEvent: BuildRESTFunction<typeof bulkCreateEvent$1> & typeof bulkCreateEvent$1;
2134
+ declare const updateEvent: BuildRESTFunction<typeof updateEvent$1> & typeof updateEvent$1;
2135
+ declare const bulkUpdateEvent: BuildRESTFunction<typeof bulkUpdateEvent$1> & typeof bulkUpdateEvent$1;
2136
+ declare const restoreEventDefaults: BuildRESTFunction<typeof restoreEventDefaults$1> & typeof restoreEventDefaults$1;
2137
+ declare const splitRecurringEvent: BuildRESTFunction<typeof splitRecurringEvent$1> & typeof splitRecurringEvent$1;
2138
+ declare const cancelEvent: BuildRESTFunction<typeof cancelEvent$1> & typeof cancelEvent$1;
2139
+ declare const bulkCancelEvent: BuildRESTFunction<typeof bulkCancelEvent$1> & typeof bulkCancelEvent$1;
2140
+ declare const listEventsByContactId: BuildRESTFunction<typeof listEventsByContactId$1> & typeof listEventsByContactId$1;
2141
+ declare const listEventsByMemberId: BuildRESTFunction<typeof listEventsByMemberId$1> & typeof listEventsByMemberId$1;
2142
+
2143
+ type _publicOnEventCreatedType = typeof onEventCreated$1;
2144
+ /** */
2145
+ declare const onEventCreated: ReturnType<typeof createEventModule$2<_publicOnEventCreatedType>>;
2146
+
2147
+ type _publicOnEventUpdatedType = typeof onEventUpdated$1;
2148
+ /** */
2149
+ declare const onEventUpdated: ReturnType<typeof createEventModule$2<_publicOnEventUpdatedType>>;
2150
+
2151
+ type _publicOnEventRecurringSplitType = typeof onEventRecurringSplit$1;
2152
+ /** */
2153
+ declare const onEventRecurringSplit: ReturnType<typeof createEventModule$2<_publicOnEventRecurringSplitType>>;
2154
+
2155
+ type _publicOnEventCancelledType = typeof onEventCancelled$1;
2156
+ /** */
2157
+ declare const onEventCancelled: ReturnType<typeof createEventModule$2<_publicOnEventCancelledType>>;
2009
2158
 
2010
2159
  type context$2_ApplicationError = ApplicationError;
2011
2160
  type context$2_BulkActionMetadata = BulkActionMetadata;
@@ -2105,6 +2254,10 @@ type context$2_UpdateEventParticipantsResponse = UpdateEventParticipantsResponse
2105
2254
  type context$2_UpdateEventRequest = UpdateEventRequest;
2106
2255
  type context$2_UpdateEventResponse = UpdateEventResponse;
2107
2256
  type context$2_UpdateEventResponseNonNullableFields = UpdateEventResponseNonNullableFields;
2257
+ type context$2__publicOnEventCancelledType = _publicOnEventCancelledType;
2258
+ type context$2__publicOnEventCreatedType = _publicOnEventCreatedType;
2259
+ type context$2__publicOnEventRecurringSplitType = _publicOnEventRecurringSplitType;
2260
+ type context$2__publicOnEventUpdatedType = _publicOnEventUpdatedType;
2108
2261
  declare const context$2_bulkCancelEvent: typeof bulkCancelEvent;
2109
2262
  declare const context$2_bulkCreateEvent: typeof bulkCreateEvent;
2110
2263
  declare const context$2_bulkUpdateEvent: typeof bulkUpdateEvent;
@@ -2123,7 +2276,7 @@ declare const context$2_restoreEventDefaults: typeof restoreEventDefaults;
2123
2276
  declare const context$2_splitRecurringEvent: typeof splitRecurringEvent;
2124
2277
  declare const context$2_updateEvent: typeof updateEvent;
2125
2278
  declare namespace context$2 {
2126
- export { type ActionEvent$2 as ActionEvent, type Address$2 as Address, type AddressHint$2 as AddressHint, type context$2_ApplicationError as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type context$2_BulkActionMetadata as BulkActionMetadata, type context$2_BulkCancelEventOptions as BulkCancelEventOptions, type context$2_BulkCancelEventRequest as BulkCancelEventRequest, type context$2_BulkCancelEventResponse as BulkCancelEventResponse, type context$2_BulkCancelEventResponseNonNullableFields as BulkCancelEventResponseNonNullableFields, type context$2_BulkCreateEventOptions as BulkCreateEventOptions, type context$2_BulkCreateEventRequest as BulkCreateEventRequest, type context$2_BulkCreateEventResponse as BulkCreateEventResponse, type context$2_BulkCreateEventResponseNonNullableFields as BulkCreateEventResponseNonNullableFields, type context$2_BulkEventResult as BulkEventResult, type context$2_BulkUpdateEventOptions as BulkUpdateEventOptions, type context$2_BulkUpdateEventRequest as BulkUpdateEventRequest, type context$2_BulkUpdateEventRequestMaskedEvent as BulkUpdateEventRequestMaskedEvent, type context$2_BulkUpdateEventResponse as BulkUpdateEventResponse, type context$2_BulkUpdateEventResponseNonNullableFields as BulkUpdateEventResponseNonNullableFields, type BusinessSchedule$2 as BusinessSchedule, type context$2_CancelEventOptions as CancelEventOptions, type context$2_CancelEventRequest as CancelEventRequest, type context$2_CancelEventResponse as CancelEventResponse, type context$2_CancelEventResponseNonNullableFields as CancelEventResponseNonNullableFields, type Categories$2 as Categories, type ChangeContext$2 as ChangeContext, type ChangeContextPayloadOneOf$2 as ChangeContextPayloadOneOf, type context$2_CommonCursorPaging as CommonCursorPaging, type context$2_CommonCursorPagingMetadata as CommonCursorPagingMetadata, type context$2_CommonCursors as CommonCursors, type CommonIdentificationData$1 as CommonIdentificationData, type CommonIdentificationDataIdOneOf$1 as CommonIdentificationDataIdOneOf, type ConferencingDetails$1 as ConferencingDetails, type ConsentPolicy$2 as ConsentPolicy, type context$2_CreateEventOptions as CreateEventOptions, type context$2_CreateEventRequest as CreateEventRequest, type context$2_CreateEventResponse as CreateEventResponse, type context$2_CreateEventResponseNonNullableFields as CreateEventResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type CursorQuery$1 as CursorQuery, type CursorQueryPagingMethodOneOf$1 as CursorQueryPagingMethodOneOf, type Cursors$1 as Cursors, context$2_Day as Day, DayOfWeek$2 as DayOfWeek, type context$2_DeleteTargetsRequest as DeleteTargetsRequest, type context$2_DeleteTargetsResponse as DeleteTargetsResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type context$2_Event as Event, type context$2_EventCancelled as EventCancelled, type context$2_EventCancelledEnvelope as EventCancelledEnvelope, type context$2_EventCreatedEnvelope as EventCreatedEnvelope, type EventMetadata$2 as EventMetadata, type context$2_EventNonNullableFields as EventNonNullableFields, type context$2_EventRecurringSplitEnvelope as EventRecurringSplitEnvelope, type context$2_EventUpdatedEnvelope as EventUpdatedEnvelope, type context$2_EventUpdatedWithMetadata as EventUpdatedWithMetadata, type context$2_EventsQueryBuilder as EventsQueryBuilder, type context$2_EventsQueryResult as EventsQueryResult, type ExtendedFields$1 as ExtendedFields, context$2_Field as Field, context$2_Frequency as Frequency, type GeoCoordinates$2 as GeoCoordinates, type context$2_GetEventOptions as GetEventOptions, type context$2_GetEventRequest as GetEventRequest, type context$2_GetEventResponse as GetEventResponse, type context$2_GetEventResponseNonNullableFields as GetEventResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type context$2_ItemMetadata as ItemMetadata, type context$2_ListEventsByContactIdOptions as ListEventsByContactIdOptions, type context$2_ListEventsByContactIdRequest as ListEventsByContactIdRequest, type context$2_ListEventsByContactIdResponse as ListEventsByContactIdResponse, type context$2_ListEventsByContactIdResponseNonNullableFields as ListEventsByContactIdResponseNonNullableFields, type context$2_ListEventsByMemberIdOptions as ListEventsByMemberIdOptions, type context$2_ListEventsByMemberIdRequest as ListEventsByMemberIdRequest, type context$2_ListEventsByMemberIdResponse as ListEventsByMemberIdResponse, type context$2_ListEventsByMemberIdResponseNonNullableFields as ListEventsByMemberIdResponseNonNullableFields, type context$2_ListEventsOptions as ListEventsOptions, type context$2_ListEventsRequest as ListEventsRequest, type context$2_ListEventsResponse as ListEventsResponse, type context$2_ListEventsResponseNonNullableFields as ListEventsResponseNonNullableFields, type context$2_ListRecurringEventInstancesHistoryRequest as ListRecurringEventInstancesHistoryRequest, type context$2_ListRecurringEventInstancesHistoryResponse as ListRecurringEventInstancesHistoryResponse, type Locale$2 as Locale, type Location$1 as Location, LocationType$1 as LocationType, type context$2_MaskedEvent as MaskedEvent, type MessageEnvelope$2 as MessageEnvelope, type Multilingual$2 as Multilingual, type context$2_Participant as Participant, type ParticipantNotification$1 as ParticipantNotification, type context$2_Participants as Participants, context$2_ParticipantsStatus as ParticipantsStatus, type Permission$1 as Permission, PlacementType$2 as PlacementType, type Properties$2 as Properties, type PropertiesChange$2 as PropertiesChange, type context$2_QueryEventsOptions as QueryEventsOptions, type context$2_QueryEventsRequest as QueryEventsRequest, type context$2_QueryEventsResponse as QueryEventsResponse, type context$2_QueryEventsResponseNonNullableFields as QueryEventsResponseNonNullableFields, type context$2_RecurrenceRule as RecurrenceRule, context$2_RecurrenceType as RecurrenceType, type context$2_RecurringEventSplit as RecurringEventSplit, RequestedFields$1 as RequestedFields, ResolutionMethod$2 as ResolutionMethod, type context$2_Resource as Resource, type context$2_RestoreEventDefaultsOptions as RestoreEventDefaultsOptions, type context$2_RestoreEventDefaultsRequest as RestoreEventDefaultsRequest, type context$2_RestoreEventDefaultsResponse as RestoreEventDefaultsResponse, type context$2_RestoreEventDefaultsResponseNonNullableFields as RestoreEventDefaultsResponseNonNullableFields, type RestoreInfo$2 as RestoreInfo, Role$1 as Role, type SiteCloned$2 as SiteCloned, type SiteCreated$2 as SiteCreated, type SitePropertiesEvent$2 as SitePropertiesEvent, type SitePropertiesNotification$2 as SitePropertiesNotification, context$2_SortOrder as SortOrder, type context$2_Sorting as Sorting, type SpecialHourPeriod$2 as SpecialHourPeriod, type context$2_SplitRecurringEventOptions as SplitRecurringEventOptions, type context$2_SplitRecurringEventRequest as SplitRecurringEventRequest, type context$2_SplitRecurringEventResponse as SplitRecurringEventResponse, type context$2_SplitRecurringEventResponseNonNullableFields as SplitRecurringEventResponseNonNullableFields, Status$2 as Status, type SupportedLanguage$2 as SupportedLanguage, type TimePeriod$2 as TimePeriod, type Translation$2 as Translation, context$2_Transparency as Transparency, Type$1 as Type, type context$2_UpdateEvent as UpdateEvent, type context$2_UpdateEventOptions as UpdateEventOptions, type context$2_UpdateEventParticipantsRequest as UpdateEventParticipantsRequest, type context$2_UpdateEventParticipantsResponse as UpdateEventParticipantsResponse, type context$2_UpdateEventRequest as UpdateEventRequest, type context$2_UpdateEventResponse as UpdateEventResponse, type context$2_UpdateEventResponseNonNullableFields as UpdateEventResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type ZonedDate$1 as ZonedDate, context$2_bulkCancelEvent as bulkCancelEvent, context$2_bulkCreateEvent as bulkCreateEvent, context$2_bulkUpdateEvent as bulkUpdateEvent, context$2_cancelEvent as cancelEvent, context$2_createEvent as createEvent, context$2_getEvent as getEvent, context$2_listEvents as listEvents, context$2_listEventsByContactId as listEventsByContactId, context$2_listEventsByMemberId as listEventsByMemberId, context$2_onEventCancelled as onEventCancelled, context$2_onEventCreated as onEventCreated, context$2_onEventRecurringSplit as onEventRecurringSplit, context$2_onEventUpdated as onEventUpdated, context$2_queryEvents as queryEvents, context$2_restoreEventDefaults as restoreEventDefaults, context$2_splitRecurringEvent as splitRecurringEvent, context$2_updateEvent as updateEvent };
2279
+ export { type ActionEvent$2 as ActionEvent, type Address$2 as Address, type AddressHint$2 as AddressHint, type context$2_ApplicationError as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type context$2_BulkActionMetadata as BulkActionMetadata, type context$2_BulkCancelEventOptions as BulkCancelEventOptions, type context$2_BulkCancelEventRequest as BulkCancelEventRequest, type context$2_BulkCancelEventResponse as BulkCancelEventResponse, type context$2_BulkCancelEventResponseNonNullableFields as BulkCancelEventResponseNonNullableFields, type context$2_BulkCreateEventOptions as BulkCreateEventOptions, type context$2_BulkCreateEventRequest as BulkCreateEventRequest, type context$2_BulkCreateEventResponse as BulkCreateEventResponse, type context$2_BulkCreateEventResponseNonNullableFields as BulkCreateEventResponseNonNullableFields, type context$2_BulkEventResult as BulkEventResult, type context$2_BulkUpdateEventOptions as BulkUpdateEventOptions, type context$2_BulkUpdateEventRequest as BulkUpdateEventRequest, type context$2_BulkUpdateEventRequestMaskedEvent as BulkUpdateEventRequestMaskedEvent, type context$2_BulkUpdateEventResponse as BulkUpdateEventResponse, type context$2_BulkUpdateEventResponseNonNullableFields as BulkUpdateEventResponseNonNullableFields, type BusinessSchedule$2 as BusinessSchedule, type context$2_CancelEventOptions as CancelEventOptions, type context$2_CancelEventRequest as CancelEventRequest, type context$2_CancelEventResponse as CancelEventResponse, type context$2_CancelEventResponseNonNullableFields as CancelEventResponseNonNullableFields, type Categories$2 as Categories, type ChangeContext$2 as ChangeContext, type ChangeContextPayloadOneOf$2 as ChangeContextPayloadOneOf, type context$2_CommonCursorPaging as CommonCursorPaging, type context$2_CommonCursorPagingMetadata as CommonCursorPagingMetadata, type context$2_CommonCursors as CommonCursors, type CommonIdentificationData$1 as CommonIdentificationData, type CommonIdentificationDataIdOneOf$1 as CommonIdentificationDataIdOneOf, type ConferencingDetails$1 as ConferencingDetails, type ConsentPolicy$2 as ConsentPolicy, type context$2_CreateEventOptions as CreateEventOptions, type context$2_CreateEventRequest as CreateEventRequest, type context$2_CreateEventResponse as CreateEventResponse, type context$2_CreateEventResponseNonNullableFields as CreateEventResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type CursorQuery$1 as CursorQuery, type CursorQueryPagingMethodOneOf$1 as CursorQueryPagingMethodOneOf, type Cursors$1 as Cursors, context$2_Day as Day, DayOfWeek$2 as DayOfWeek, type context$2_DeleteTargetsRequest as DeleteTargetsRequest, type context$2_DeleteTargetsResponse as DeleteTargetsResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type context$2_Event as Event, type context$2_EventCancelled as EventCancelled, type context$2_EventCancelledEnvelope as EventCancelledEnvelope, type context$2_EventCreatedEnvelope as EventCreatedEnvelope, type EventMetadata$2 as EventMetadata, type context$2_EventNonNullableFields as EventNonNullableFields, type context$2_EventRecurringSplitEnvelope as EventRecurringSplitEnvelope, type context$2_EventUpdatedEnvelope as EventUpdatedEnvelope, type context$2_EventUpdatedWithMetadata as EventUpdatedWithMetadata, type context$2_EventsQueryBuilder as EventsQueryBuilder, type context$2_EventsQueryResult as EventsQueryResult, type ExtendedFields$1 as ExtendedFields, context$2_Field as Field, context$2_Frequency as Frequency, type GeoCoordinates$2 as GeoCoordinates, type context$2_GetEventOptions as GetEventOptions, type context$2_GetEventRequest as GetEventRequest, type context$2_GetEventResponse as GetEventResponse, type context$2_GetEventResponseNonNullableFields as GetEventResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type context$2_ItemMetadata as ItemMetadata, type context$2_ListEventsByContactIdOptions as ListEventsByContactIdOptions, type context$2_ListEventsByContactIdRequest as ListEventsByContactIdRequest, type context$2_ListEventsByContactIdResponse as ListEventsByContactIdResponse, type context$2_ListEventsByContactIdResponseNonNullableFields as ListEventsByContactIdResponseNonNullableFields, type context$2_ListEventsByMemberIdOptions as ListEventsByMemberIdOptions, type context$2_ListEventsByMemberIdRequest as ListEventsByMemberIdRequest, type context$2_ListEventsByMemberIdResponse as ListEventsByMemberIdResponse, type context$2_ListEventsByMemberIdResponseNonNullableFields as ListEventsByMemberIdResponseNonNullableFields, type context$2_ListEventsOptions as ListEventsOptions, type context$2_ListEventsRequest as ListEventsRequest, type context$2_ListEventsResponse as ListEventsResponse, type context$2_ListEventsResponseNonNullableFields as ListEventsResponseNonNullableFields, type context$2_ListRecurringEventInstancesHistoryRequest as ListRecurringEventInstancesHistoryRequest, type context$2_ListRecurringEventInstancesHistoryResponse as ListRecurringEventInstancesHistoryResponse, type Locale$2 as Locale, type Location$1 as Location, LocationType$1 as LocationType, type context$2_MaskedEvent as MaskedEvent, type MessageEnvelope$2 as MessageEnvelope, type Multilingual$2 as Multilingual, type context$2_Participant as Participant, type ParticipantNotification$1 as ParticipantNotification, type context$2_Participants as Participants, context$2_ParticipantsStatus as ParticipantsStatus, type Permission$1 as Permission, PlacementType$2 as PlacementType, type Properties$2 as Properties, type PropertiesChange$2 as PropertiesChange, type context$2_QueryEventsOptions as QueryEventsOptions, type context$2_QueryEventsRequest as QueryEventsRequest, type context$2_QueryEventsResponse as QueryEventsResponse, type context$2_QueryEventsResponseNonNullableFields as QueryEventsResponseNonNullableFields, type context$2_RecurrenceRule as RecurrenceRule, context$2_RecurrenceType as RecurrenceType, type context$2_RecurringEventSplit as RecurringEventSplit, RequestedFields$1 as RequestedFields, ResolutionMethod$2 as ResolutionMethod, type context$2_Resource as Resource, type context$2_RestoreEventDefaultsOptions as RestoreEventDefaultsOptions, type context$2_RestoreEventDefaultsRequest as RestoreEventDefaultsRequest, type context$2_RestoreEventDefaultsResponse as RestoreEventDefaultsResponse, type context$2_RestoreEventDefaultsResponseNonNullableFields as RestoreEventDefaultsResponseNonNullableFields, type RestoreInfo$2 as RestoreInfo, Role$1 as Role, type SiteCloned$2 as SiteCloned, type SiteCreated$2 as SiteCreated, type SitePropertiesEvent$2 as SitePropertiesEvent, type SitePropertiesNotification$2 as SitePropertiesNotification, context$2_SortOrder as SortOrder, type context$2_Sorting as Sorting, type SpecialHourPeriod$2 as SpecialHourPeriod, type context$2_SplitRecurringEventOptions as SplitRecurringEventOptions, type context$2_SplitRecurringEventRequest as SplitRecurringEventRequest, type context$2_SplitRecurringEventResponse as SplitRecurringEventResponse, type context$2_SplitRecurringEventResponseNonNullableFields as SplitRecurringEventResponseNonNullableFields, Status$2 as Status, type SupportedLanguage$2 as SupportedLanguage, type TimePeriod$2 as TimePeriod, type Translation$2 as Translation, context$2_Transparency as Transparency, Type$1 as Type, type context$2_UpdateEvent as UpdateEvent, type context$2_UpdateEventOptions as UpdateEventOptions, type context$2_UpdateEventParticipantsRequest as UpdateEventParticipantsRequest, type context$2_UpdateEventParticipantsResponse as UpdateEventParticipantsResponse, type context$2_UpdateEventRequest as UpdateEventRequest, type context$2_UpdateEventResponse as UpdateEventResponse, type context$2_UpdateEventResponseNonNullableFields as UpdateEventResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type ZonedDate$1 as ZonedDate, type context$2__publicOnEventCancelledType as _publicOnEventCancelledType, type context$2__publicOnEventCreatedType as _publicOnEventCreatedType, type context$2__publicOnEventRecurringSplitType as _publicOnEventRecurringSplitType, type context$2__publicOnEventUpdatedType as _publicOnEventUpdatedType, context$2_bulkCancelEvent as bulkCancelEvent, context$2_bulkCreateEvent as bulkCreateEvent, context$2_bulkUpdateEvent as bulkUpdateEvent, context$2_cancelEvent as cancelEvent, context$2_createEvent as createEvent, context$2_getEvent as getEvent, context$2_listEvents as listEvents, context$2_listEventsByContactId as listEventsByContactId, context$2_listEventsByMemberId as listEventsByMemberId, context$2_onEventCancelled as onEventCancelled, context$2_onEventCreated as onEventCreated, context$2_onEventRecurringSplit as onEventRecurringSplit, context$2_onEventUpdated as onEventUpdated, onEventCancelled$1 as publicOnEventCancelled, onEventCreated$1 as publicOnEventCreated, onEventRecurringSplit$1 as publicOnEventRecurringSplit, onEventUpdated$1 as publicOnEventUpdated, context$2_queryEvents as queryEvents, context$2_restoreEventDefaults as restoreEventDefaults, context$2_splitRecurringEvent as splitRecurringEvent, context$2_updateEvent as updateEvent };
2127
2280
  }
2128
2281
 
2129
2282
  interface Schedule {
@@ -3379,20 +3532,87 @@ interface CancelScheduleOptions {
3379
3532
  participantNotification?: ParticipantNotification;
3380
3533
  }
3381
3534
 
3382
- declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3535
+ declare function getSchedule$1(httpClient: HttpClient): GetScheduleSignature;
3536
+ interface GetScheduleSignature {
3537
+ /**
3538
+ * Retrieves a schedule by ID.
3539
+ * @param - The ID of the schedule to retrieve.
3540
+ * @returns The schedule.
3541
+ */
3542
+ (scheduleId: string | null, options?: GetScheduleOptions | undefined): Promise<Schedule & ScheduleNonNullableFields>;
3543
+ }
3544
+ declare function querySchedules$1(httpClient: HttpClient): QuerySchedulesSignature;
3545
+ interface QuerySchedulesSignature {
3546
+ /**
3547
+ * Query for schedules given the provided filters and paging.
3548
+ *
3549
+ * By default only active schedules are returned, unless a `status` filter is provided.
3550
+ */
3551
+ (options?: QuerySchedulesOptions | undefined): SchedulesQueryBuilder;
3552
+ }
3553
+ declare function createSchedule$1(httpClient: HttpClient): CreateScheduleSignature;
3554
+ interface CreateScheduleSignature {
3555
+ /**
3556
+ * Creates a schedule.
3557
+ * @param - The schedule to create.
3558
+ * @returns The created schedule.
3559
+ */
3560
+ (schedule: Schedule, options?: CreateScheduleOptions | undefined): Promise<Schedule & ScheduleNonNullableFields>;
3561
+ }
3562
+ declare function updateSchedule$1(httpClient: HttpClient): UpdateScheduleSignature;
3563
+ interface UpdateScheduleSignature {
3564
+ /**
3565
+ * Updates a schedule.
3566
+ * @param - The schedule ID.
3567
+ * @returns The updated schedule.
3568
+ */
3569
+ (_id: string | null, schedule: UpdateSchedule, options?: UpdateScheduleOptions | undefined): Promise<Schedule & ScheduleNonNullableFields>;
3570
+ }
3571
+ declare function cloneSchedule$1(httpClient: HttpClient): CloneScheduleSignature;
3572
+ interface CloneScheduleSignature {
3573
+ /**
3574
+ * Clone a schedule.
3575
+ * @param - The ID of the schedule to clone.
3576
+ */
3577
+ (scheduleId: string | null, options?: CloneScheduleOptions | undefined): Promise<CloneScheduleResponse & CloneScheduleResponseNonNullableFields>;
3578
+ }
3579
+ declare function cancelSchedule$1(httpClient: HttpClient): CancelScheduleSignature;
3580
+ interface CancelScheduleSignature {
3581
+ /**
3582
+ * Cancels a schedule.
3583
+ * @param - The ID of the schedule to cancel.
3584
+ */
3585
+ (scheduleId: string | null, options?: CancelScheduleOptions | undefined): Promise<CancelScheduleResponse & CancelScheduleResponseNonNullableFields>;
3586
+ }
3587
+ declare const onScheduleCreated$1: EventDefinition<ScheduleCreatedEnvelope, "wix.calendar.v3.schedule_created">;
3588
+ declare const onScheduleUpdated$1: EventDefinition<ScheduleUpdatedEnvelope, "wix.calendar.v3.schedule_updated">;
3589
+ declare const onScheduleCloned$1: EventDefinition<ScheduleClonedEnvelope, "wix.calendar.v3.schedule_cloned">;
3590
+ declare const onScheduleCancelled$1: EventDefinition<ScheduleCancelledEnvelope, "wix.calendar.v3.schedule_cancelled">;
3383
3591
 
3384
3592
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3385
3593
 
3386
- declare const getSchedule: ReturnType<typeof createRESTModule$1<typeof publicGetSchedule>>;
3387
- declare const querySchedules: ReturnType<typeof createRESTModule$1<typeof publicQuerySchedules>>;
3388
- declare const createSchedule: ReturnType<typeof createRESTModule$1<typeof publicCreateSchedule>>;
3389
- declare const updateSchedule: ReturnType<typeof createRESTModule$1<typeof publicUpdateSchedule>>;
3390
- declare const cloneSchedule: ReturnType<typeof createRESTModule$1<typeof publicCloneSchedule>>;
3391
- declare const cancelSchedule: ReturnType<typeof createRESTModule$1<typeof publicCancelSchedule>>;
3392
- declare const onScheduleCreated: ReturnType<typeof createEventModule$1<typeof publicOnScheduleCreated>>;
3393
- declare const onScheduleUpdated: ReturnType<typeof createEventModule$1<typeof publicOnScheduleUpdated>>;
3394
- declare const onScheduleCloned: ReturnType<typeof createEventModule$1<typeof publicOnScheduleCloned>>;
3395
- declare const onScheduleCancelled: ReturnType<typeof createEventModule$1<typeof publicOnScheduleCancelled>>;
3594
+ declare const getSchedule: BuildRESTFunction<typeof getSchedule$1> & typeof getSchedule$1;
3595
+ declare const querySchedules: BuildRESTFunction<typeof querySchedules$1> & typeof querySchedules$1;
3596
+ declare const createSchedule: BuildRESTFunction<typeof createSchedule$1> & typeof createSchedule$1;
3597
+ declare const updateSchedule: BuildRESTFunction<typeof updateSchedule$1> & typeof updateSchedule$1;
3598
+ declare const cloneSchedule: BuildRESTFunction<typeof cloneSchedule$1> & typeof cloneSchedule$1;
3599
+ declare const cancelSchedule: BuildRESTFunction<typeof cancelSchedule$1> & typeof cancelSchedule$1;
3600
+
3601
+ type _publicOnScheduleCreatedType = typeof onScheduleCreated$1;
3602
+ /** */
3603
+ declare const onScheduleCreated: ReturnType<typeof createEventModule$1<_publicOnScheduleCreatedType>>;
3604
+
3605
+ type _publicOnScheduleUpdatedType = typeof onScheduleUpdated$1;
3606
+ /** */
3607
+ declare const onScheduleUpdated: ReturnType<typeof createEventModule$1<_publicOnScheduleUpdatedType>>;
3608
+
3609
+ type _publicOnScheduleClonedType = typeof onScheduleCloned$1;
3610
+ /** */
3611
+ declare const onScheduleCloned: ReturnType<typeof createEventModule$1<_publicOnScheduleClonedType>>;
3612
+
3613
+ type _publicOnScheduleCancelledType = typeof onScheduleCancelled$1;
3614
+ /** */
3615
+ declare const onScheduleCancelled: ReturnType<typeof createEventModule$1<_publicOnScheduleCancelledType>>;
3396
3616
 
3397
3617
  type context$1_Asset = Asset;
3398
3618
  type context$1_CancelScheduleOptions = CancelScheduleOptions;
@@ -3481,6 +3701,10 @@ type context$1_UpdateScheduleRequest = UpdateScheduleRequest;
3481
3701
  type context$1_UpdateScheduleResponse = UpdateScheduleResponse;
3482
3702
  type context$1_UpdateScheduleResponseNonNullableFields = UpdateScheduleResponseNonNullableFields;
3483
3703
  type context$1_V4SiteCreated = V4SiteCreated;
3704
+ type context$1__publicOnScheduleCancelledType = _publicOnScheduleCancelledType;
3705
+ type context$1__publicOnScheduleClonedType = _publicOnScheduleClonedType;
3706
+ type context$1__publicOnScheduleCreatedType = _publicOnScheduleCreatedType;
3707
+ type context$1__publicOnScheduleUpdatedType = _publicOnScheduleUpdatedType;
3484
3708
  declare const context$1_cancelSchedule: typeof cancelSchedule;
3485
3709
  declare const context$1_cloneSchedule: typeof cloneSchedule;
3486
3710
  declare const context$1_createSchedule: typeof createSchedule;
@@ -3492,7 +3716,7 @@ declare const context$1_onScheduleUpdated: typeof onScheduleUpdated;
3492
3716
  declare const context$1_querySchedules: typeof querySchedules;
3493
3717
  declare const context$1_updateSchedule: typeof updateSchedule;
3494
3718
  declare namespace context$1 {
3495
- export { type ActionEvent$1 as ActionEvent, type Address$1 as Address, type AddressHint$1 as AddressHint, type context$1_Asset as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type BusinessSchedule$1 as BusinessSchedule, type context$1_CancelScheduleOptions as CancelScheduleOptions, type context$1_CancelScheduleRequest as CancelScheduleRequest, type context$1_CancelScheduleResponse as CancelScheduleResponse, type context$1_CancelScheduleResponseNonNullableFields as CancelScheduleResponseNonNullableFields, type Categories$1 as Categories, type ChangeContext$1 as ChangeContext, type ChangeContextPayloadOneOf$1 as ChangeContextPayloadOneOf, type context$1_CloneScheduleOptions as CloneScheduleOptions, type context$1_CloneScheduleRequest as CloneScheduleRequest, type context$1_CloneScheduleResponse as CloneScheduleResponse, type context$1_CloneScheduleResponseNonNullableFields as CloneScheduleResponseNonNullableFields, type context$1_CommonIdentificationData as CommonIdentificationData, type context$1_CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOf, type context$1_ConferencingDetails as ConferencingDetails, type ConsentPolicy$1 as ConsentPolicy, type context$1_CreateScheduleOptions as CreateScheduleOptions, type context$1_CreateScheduleRequest as CreateScheduleRequest, type context$1_CreateScheduleResponse as CreateScheduleResponse, type context$1_CreateScheduleResponseNonNullableFields as CreateScheduleResponseNonNullableFields, type context$1_CursorPaging as CursorPaging, type context$1_CursorPagingMetadata as CursorPagingMetadata, type context$1_CursorQuery as CursorQuery, type context$1_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context$1_Cursors as Cursors, DayOfWeek$1 as DayOfWeek, type context$1_DeleteContext as DeleteContext, context$1_DeleteStatus as DeleteStatus, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$1_ExtendedFields as ExtendedFields, type GeoCoordinates$1 as GeoCoordinates, type context$1_GetScheduleOptions as GetScheduleOptions, type context$1_GetScheduleRequest as GetScheduleRequest, type context$1_GetScheduleResponse as GetScheduleResponse, type context$1_GetScheduleResponseNonNullableFields as GetScheduleResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, context$1_IdentityType as IdentityType, type Locale$1 as Locale, type context$1_Location as Location, context$1_LocationType as LocationType, type MessageEnvelope$1 as MessageEnvelope, type context$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type Multilingual$1 as Multilingual, context$1_Namespace as Namespace, type context$1_NamespaceChanged as NamespaceChanged, type context$1_ParticipantNotification as ParticipantNotification, type context$1_Permission as Permission, PlacementType$1 as PlacementType, type Properties$1 as Properties, type PropertiesChange$1 as PropertiesChange, type context$1_QuerySchedulesOptions as QuerySchedulesOptions, type context$1_QuerySchedulesRequest as QuerySchedulesRequest, type context$1_QuerySchedulesResponse as QuerySchedulesResponse, type context$1_QuerySchedulesResponseNonNullableFields as QuerySchedulesResponseNonNullableFields, context$1_RequestedFields as RequestedFields, ResolutionMethod$1 as ResolutionMethod, type RestoreInfo$1 as RestoreInfo, context$1_Role as Role, type context$1_Schedule as Schedule, type context$1_ScheduleCancelled as ScheduleCancelled, type context$1_ScheduleCancelledEnvelope as ScheduleCancelledEnvelope, type context$1_ScheduleCloned as ScheduleCloned, type context$1_ScheduleClonedEnvelope as ScheduleClonedEnvelope, type context$1_ScheduleCreatedEnvelope as ScheduleCreatedEnvelope, type context$1_ScheduleNonNullableFields as ScheduleNonNullableFields, type context$1_ScheduleUpdatedEnvelope as ScheduleUpdatedEnvelope, type context$1_ScheduleUpdatedWithMetadata as ScheduleUpdatedWithMetadata, type context$1_SchedulesQueryBuilder as SchedulesQueryBuilder, type context$1_SchedulesQueryResult as SchedulesQueryResult, type context$1_ServiceProvisioned as ServiceProvisioned, type context$1_ServiceRemoved as ServiceRemoved, type SiteCloned$1 as SiteCloned, type SiteCreated$1 as SiteCreated, context$1_SiteCreatedContext as SiteCreatedContext, type context$1_SiteDeleted as SiteDeleted, type context$1_SiteHardDeleted as SiteHardDeleted, type context$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type SitePropertiesEvent$1 as SitePropertiesEvent, type SitePropertiesNotification$1 as SitePropertiesNotification, type context$1_SitePublished as SitePublished, type context$1_SiteRenamed as SiteRenamed, type context$1_SiteTransferred as SiteTransferred, type context$1_SiteUndeleted as SiteUndeleted, type context$1_SiteUnpublished as SiteUnpublished, type SpecialHourPeriod$1 as SpecialHourPeriod, context$1_State as State, Status$1 as Status, type context$1_StudioAssigned as StudioAssigned, type context$1_StudioUnassigned as StudioUnassigned, type SupportedLanguage$1 as SupportedLanguage, type TimePeriod$1 as TimePeriod, type Translation$1 as Translation, context$1_Trigger as Trigger, context$1_Type as Type, type context$1_UpdateSchedule as UpdateSchedule, type context$1_UpdateScheduleOptions as UpdateScheduleOptions, type context$1_UpdateScheduleRequest as UpdateScheduleRequest, type context$1_UpdateScheduleResponse as UpdateScheduleResponse, type context$1_UpdateScheduleResponseNonNullableFields as UpdateScheduleResponseNonNullableFields, type context$1_V4SiteCreated as V4SiteCreated, WebhookIdentityType$1 as WebhookIdentityType, context$1_cancelSchedule as cancelSchedule, context$1_cloneSchedule as cloneSchedule, context$1_createSchedule as createSchedule, context$1_getSchedule as getSchedule, context$1_onScheduleCancelled as onScheduleCancelled, context$1_onScheduleCloned as onScheduleCloned, context$1_onScheduleCreated as onScheduleCreated, context$1_onScheduleUpdated as onScheduleUpdated, context$1_querySchedules as querySchedules, context$1_updateSchedule as updateSchedule };
3719
+ export { type ActionEvent$1 as ActionEvent, type Address$1 as Address, type AddressHint$1 as AddressHint, type context$1_Asset as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type BusinessSchedule$1 as BusinessSchedule, type context$1_CancelScheduleOptions as CancelScheduleOptions, type context$1_CancelScheduleRequest as CancelScheduleRequest, type context$1_CancelScheduleResponse as CancelScheduleResponse, type context$1_CancelScheduleResponseNonNullableFields as CancelScheduleResponseNonNullableFields, type Categories$1 as Categories, type ChangeContext$1 as ChangeContext, type ChangeContextPayloadOneOf$1 as ChangeContextPayloadOneOf, type context$1_CloneScheduleOptions as CloneScheduleOptions, type context$1_CloneScheduleRequest as CloneScheduleRequest, type context$1_CloneScheduleResponse as CloneScheduleResponse, type context$1_CloneScheduleResponseNonNullableFields as CloneScheduleResponseNonNullableFields, type context$1_CommonIdentificationData as CommonIdentificationData, type context$1_CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOf, type context$1_ConferencingDetails as ConferencingDetails, type ConsentPolicy$1 as ConsentPolicy, type context$1_CreateScheduleOptions as CreateScheduleOptions, type context$1_CreateScheduleRequest as CreateScheduleRequest, type context$1_CreateScheduleResponse as CreateScheduleResponse, type context$1_CreateScheduleResponseNonNullableFields as CreateScheduleResponseNonNullableFields, type context$1_CursorPaging as CursorPaging, type context$1_CursorPagingMetadata as CursorPagingMetadata, type context$1_CursorQuery as CursorQuery, type context$1_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context$1_Cursors as Cursors, DayOfWeek$1 as DayOfWeek, type context$1_DeleteContext as DeleteContext, context$1_DeleteStatus as DeleteStatus, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$1_ExtendedFields as ExtendedFields, type GeoCoordinates$1 as GeoCoordinates, type context$1_GetScheduleOptions as GetScheduleOptions, type context$1_GetScheduleRequest as GetScheduleRequest, type context$1_GetScheduleResponse as GetScheduleResponse, type context$1_GetScheduleResponseNonNullableFields as GetScheduleResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, context$1_IdentityType as IdentityType, type Locale$1 as Locale, type context$1_Location as Location, context$1_LocationType as LocationType, type MessageEnvelope$1 as MessageEnvelope, type context$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type Multilingual$1 as Multilingual, context$1_Namespace as Namespace, type context$1_NamespaceChanged as NamespaceChanged, type context$1_ParticipantNotification as ParticipantNotification, type context$1_Permission as Permission, PlacementType$1 as PlacementType, type Properties$1 as Properties, type PropertiesChange$1 as PropertiesChange, type context$1_QuerySchedulesOptions as QuerySchedulesOptions, type context$1_QuerySchedulesRequest as QuerySchedulesRequest, type context$1_QuerySchedulesResponse as QuerySchedulesResponse, type context$1_QuerySchedulesResponseNonNullableFields as QuerySchedulesResponseNonNullableFields, context$1_RequestedFields as RequestedFields, ResolutionMethod$1 as ResolutionMethod, type RestoreInfo$1 as RestoreInfo, context$1_Role as Role, type context$1_Schedule as Schedule, type context$1_ScheduleCancelled as ScheduleCancelled, type context$1_ScheduleCancelledEnvelope as ScheduleCancelledEnvelope, type context$1_ScheduleCloned as ScheduleCloned, type context$1_ScheduleClonedEnvelope as ScheduleClonedEnvelope, type context$1_ScheduleCreatedEnvelope as ScheduleCreatedEnvelope, type context$1_ScheduleNonNullableFields as ScheduleNonNullableFields, type context$1_ScheduleUpdatedEnvelope as ScheduleUpdatedEnvelope, type context$1_ScheduleUpdatedWithMetadata as ScheduleUpdatedWithMetadata, type context$1_SchedulesQueryBuilder as SchedulesQueryBuilder, type context$1_SchedulesQueryResult as SchedulesQueryResult, type context$1_ServiceProvisioned as ServiceProvisioned, type context$1_ServiceRemoved as ServiceRemoved, type SiteCloned$1 as SiteCloned, type SiteCreated$1 as SiteCreated, context$1_SiteCreatedContext as SiteCreatedContext, type context$1_SiteDeleted as SiteDeleted, type context$1_SiteHardDeleted as SiteHardDeleted, type context$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type SitePropertiesEvent$1 as SitePropertiesEvent, type SitePropertiesNotification$1 as SitePropertiesNotification, type context$1_SitePublished as SitePublished, type context$1_SiteRenamed as SiteRenamed, type context$1_SiteTransferred as SiteTransferred, type context$1_SiteUndeleted as SiteUndeleted, type context$1_SiteUnpublished as SiteUnpublished, type SpecialHourPeriod$1 as SpecialHourPeriod, context$1_State as State, Status$1 as Status, type context$1_StudioAssigned as StudioAssigned, type context$1_StudioUnassigned as StudioUnassigned, type SupportedLanguage$1 as SupportedLanguage, type TimePeriod$1 as TimePeriod, type Translation$1 as Translation, context$1_Trigger as Trigger, context$1_Type as Type, type context$1_UpdateSchedule as UpdateSchedule, type context$1_UpdateScheduleOptions as UpdateScheduleOptions, type context$1_UpdateScheduleRequest as UpdateScheduleRequest, type context$1_UpdateScheduleResponse as UpdateScheduleResponse, type context$1_UpdateScheduleResponseNonNullableFields as UpdateScheduleResponseNonNullableFields, type context$1_V4SiteCreated as V4SiteCreated, WebhookIdentityType$1 as WebhookIdentityType, type context$1__publicOnScheduleCancelledType as _publicOnScheduleCancelledType, type context$1__publicOnScheduleClonedType as _publicOnScheduleClonedType, type context$1__publicOnScheduleCreatedType as _publicOnScheduleCreatedType, type context$1__publicOnScheduleUpdatedType as _publicOnScheduleUpdatedType, context$1_cancelSchedule as cancelSchedule, context$1_cloneSchedule as cloneSchedule, context$1_createSchedule as createSchedule, context$1_getSchedule as getSchedule, context$1_onScheduleCancelled as onScheduleCancelled, context$1_onScheduleCloned as onScheduleCloned, context$1_onScheduleCreated as onScheduleCreated, context$1_onScheduleUpdated as onScheduleUpdated, onScheduleCancelled$1 as publicOnScheduleCancelled, onScheduleCloned$1 as publicOnScheduleCloned, onScheduleCreated$1 as publicOnScheduleCreated, onScheduleUpdated$1 as publicOnScheduleUpdated, context$1_querySchedules as querySchedules, context$1_updateSchedule as updateSchedule };
3496
3720
  }
3497
3721
 
3498
3722
  interface ScheduleTimeFrame {
@@ -4042,13 +4266,33 @@ interface ListScheduleTimeFramesOptions {
4042
4266
  timeZone?: string | null;
4043
4267
  }
4044
4268
 
4045
- declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4269
+ declare function getScheduleTimeFrame$1(httpClient: HttpClient): GetScheduleTimeFrameSignature;
4270
+ interface GetScheduleTimeFrameSignature {
4271
+ /**
4272
+ * Retrieves the schedule time frame by schedule ID.
4273
+ * @param - The schedule ID.
4274
+ * @returns The schedule time frame.
4275
+ */
4276
+ (_id: string | null, options?: GetScheduleTimeFrameOptions | undefined): Promise<ScheduleTimeFrame & ScheduleTimeFrameNonNullableFields>;
4277
+ }
4278
+ declare function listScheduleTimeFrames$1(httpClient: HttpClient): ListScheduleTimeFramesSignature;
4279
+ interface ListScheduleTimeFramesSignature {
4280
+ /**
4281
+ * Retrieves a list of schedule time frame by schedules ID.
4282
+ * @param - The schedule IDs.
4283
+ */
4284
+ (ids: string[], options?: ListScheduleTimeFramesOptions | undefined): Promise<ListScheduleTimeFramesResponse & ListScheduleTimeFramesResponseNonNullableFields>;
4285
+ }
4286
+ declare const onScheduleTimeFrameUpdated$1: EventDefinition<ScheduleTimeFrameUpdatedEnvelope, "wix.calendar.v3.schedule_time_frame_updated">;
4046
4287
 
4047
4288
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4048
4289
 
4049
- declare const getScheduleTimeFrame: ReturnType<typeof createRESTModule<typeof publicGetScheduleTimeFrame>>;
4050
- declare const listScheduleTimeFrames: ReturnType<typeof createRESTModule<typeof publicListScheduleTimeFrames>>;
4051
- declare const onScheduleTimeFrameUpdated: ReturnType<typeof createEventModule<typeof publicOnScheduleTimeFrameUpdated>>;
4290
+ declare const getScheduleTimeFrame: BuildRESTFunction<typeof getScheduleTimeFrame$1> & typeof getScheduleTimeFrame$1;
4291
+ declare const listScheduleTimeFrames: BuildRESTFunction<typeof listScheduleTimeFrames$1> & typeof listScheduleTimeFrames$1;
4292
+
4293
+ type _publicOnScheduleTimeFrameUpdatedType = typeof onScheduleTimeFrameUpdated$1;
4294
+ /** */
4295
+ declare const onScheduleTimeFrameUpdated: ReturnType<typeof createEventModule<_publicOnScheduleTimeFrameUpdatedType>>;
4052
4296
 
4053
4297
  type context_ActionEvent = ActionEvent;
4054
4298
  type context_Address = Address;
@@ -4106,11 +4350,12 @@ type context_Translation = Translation;
4106
4350
  type context_WebhookIdentityType = WebhookIdentityType;
4107
4351
  declare const context_WebhookIdentityType: typeof WebhookIdentityType;
4108
4352
  type context_ZonedDate = ZonedDate;
4353
+ type context__publicOnScheduleTimeFrameUpdatedType = _publicOnScheduleTimeFrameUpdatedType;
4109
4354
  declare const context_getScheduleTimeFrame: typeof getScheduleTimeFrame;
4110
4355
  declare const context_listScheduleTimeFrames: typeof listScheduleTimeFrames;
4111
4356
  declare const context_onScheduleTimeFrameUpdated: typeof onScheduleTimeFrameUpdated;
4112
4357
  declare namespace context {
4113
- export { type context_ActionEvent as ActionEvent, type context_Address as Address, type context_AddressHint as AddressHint, type context_BaseEventMetadata as BaseEventMetadata, type context_BusinessSchedule as BusinessSchedule, type context_Categories as Categories, type context_ChangeContext as ChangeContext, type context_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type context_ConsentPolicy as ConsentPolicy, context_DayOfWeek as DayOfWeek, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_GeoCoordinates as GeoCoordinates, type context_GetScheduleTimeFrameOptions as GetScheduleTimeFrameOptions, type context_GetScheduleTimeFrameRequest as GetScheduleTimeFrameRequest, type context_GetScheduleTimeFrameResponse as GetScheduleTimeFrameResponse, type context_GetScheduleTimeFrameResponseNonNullableFields as GetScheduleTimeFrameResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ListScheduleTimeFramesOptions as ListScheduleTimeFramesOptions, type context_ListScheduleTimeFramesRequest as ListScheduleTimeFramesRequest, type context_ListScheduleTimeFramesResponse as ListScheduleTimeFramesResponse, type context_ListScheduleTimeFramesResponseNonNullableFields as ListScheduleTimeFramesResponseNonNullableFields, type context_Locale as Locale, type context_MessageEnvelope as MessageEnvelope, type context_Multilingual as Multilingual, context_PlacementType as PlacementType, type context_Properties as Properties, type context_PropertiesChange as PropertiesChange, context_ResolutionMethod as ResolutionMethod, type context_RestoreInfo as RestoreInfo, type context_ScheduleTimeFrame as ScheduleTimeFrame, type context_ScheduleTimeFrameNonNullableFields as ScheduleTimeFrameNonNullableFields, type context_ScheduleTimeFrameUpdatedEnvelope as ScheduleTimeFrameUpdatedEnvelope, type context_ScheduleTimeFrameUpdatedWithMetadata as ScheduleTimeFrameUpdatedWithMetadata, type context_SiteCloned as SiteCloned, type context_SiteCreated as SiteCreated, type context_SitePropertiesEvent as SitePropertiesEvent, type context_SitePropertiesNotification as SitePropertiesNotification, type context_SpecialHourPeriod as SpecialHourPeriod, context_Status as Status, type context_SupportedLanguage as SupportedLanguage, type context_TimePeriod as TimePeriod, type context_Translation as Translation, context_WebhookIdentityType as WebhookIdentityType, type context_ZonedDate as ZonedDate, context_getScheduleTimeFrame as getScheduleTimeFrame, context_listScheduleTimeFrames as listScheduleTimeFrames, context_onScheduleTimeFrameUpdated as onScheduleTimeFrameUpdated };
4358
+ export { type context_ActionEvent as ActionEvent, type context_Address as Address, type context_AddressHint as AddressHint, type context_BaseEventMetadata as BaseEventMetadata, type context_BusinessSchedule as BusinessSchedule, type context_Categories as Categories, type context_ChangeContext as ChangeContext, type context_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type context_ConsentPolicy as ConsentPolicy, context_DayOfWeek as DayOfWeek, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_GeoCoordinates as GeoCoordinates, type context_GetScheduleTimeFrameOptions as GetScheduleTimeFrameOptions, type context_GetScheduleTimeFrameRequest as GetScheduleTimeFrameRequest, type context_GetScheduleTimeFrameResponse as GetScheduleTimeFrameResponse, type context_GetScheduleTimeFrameResponseNonNullableFields as GetScheduleTimeFrameResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ListScheduleTimeFramesOptions as ListScheduleTimeFramesOptions, type context_ListScheduleTimeFramesRequest as ListScheduleTimeFramesRequest, type context_ListScheduleTimeFramesResponse as ListScheduleTimeFramesResponse, type context_ListScheduleTimeFramesResponseNonNullableFields as ListScheduleTimeFramesResponseNonNullableFields, type context_Locale as Locale, type context_MessageEnvelope as MessageEnvelope, type context_Multilingual as Multilingual, context_PlacementType as PlacementType, type context_Properties as Properties, type context_PropertiesChange as PropertiesChange, context_ResolutionMethod as ResolutionMethod, type context_RestoreInfo as RestoreInfo, type context_ScheduleTimeFrame as ScheduleTimeFrame, type context_ScheduleTimeFrameNonNullableFields as ScheduleTimeFrameNonNullableFields, type context_ScheduleTimeFrameUpdatedEnvelope as ScheduleTimeFrameUpdatedEnvelope, type context_ScheduleTimeFrameUpdatedWithMetadata as ScheduleTimeFrameUpdatedWithMetadata, type context_SiteCloned as SiteCloned, type context_SiteCreated as SiteCreated, type context_SitePropertiesEvent as SitePropertiesEvent, type context_SitePropertiesNotification as SitePropertiesNotification, type context_SpecialHourPeriod as SpecialHourPeriod, context_Status as Status, type context_SupportedLanguage as SupportedLanguage, type context_TimePeriod as TimePeriod, type context_Translation as Translation, context_WebhookIdentityType as WebhookIdentityType, type context_ZonedDate as ZonedDate, type context__publicOnScheduleTimeFrameUpdatedType as _publicOnScheduleTimeFrameUpdatedType, context_getScheduleTimeFrame as getScheduleTimeFrame, context_listScheduleTimeFrames as listScheduleTimeFrames, context_onScheduleTimeFrameUpdated as onScheduleTimeFrameUpdated, onScheduleTimeFrameUpdated$1 as publicOnScheduleTimeFrameUpdated };
4114
4359
  }
4115
4360
 
4116
4361
  export { context$2 as events, context as scheduleTimeFrames, context$1 as schedules };
@@ -1,3 +1,47 @@
1
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
2
+ interface HttpClient {
3
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
4
+ fetchWithAuth: typeof fetch;
5
+ wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6
+ }
7
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
8
+ type HttpResponse<T = any> = {
9
+ data: T;
10
+ status: number;
11
+ statusText: string;
12
+ headers: any;
13
+ request?: any;
14
+ };
15
+ type RequestOptions<_TResponse = any, Data = any> = {
16
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
17
+ url: string;
18
+ data?: Data;
19
+ params?: URLSearchParams;
20
+ } & APIMetadata;
21
+ type APIMetadata = {
22
+ methodFqn?: string;
23
+ entityFqdn?: string;
24
+ packageName?: string;
25
+ };
26
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
27
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
28
+ __type: 'event-definition';
29
+ type: Type;
30
+ isDomainEvent?: boolean;
31
+ transformations?: (envelope: unknown) => Payload;
32
+ __payload: Payload;
33
+ };
34
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
35
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
36
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
37
+
38
+ declare global {
39
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
40
+ interface SymbolConstructor {
41
+ readonly observable: symbol;
42
+ }
43
+ }
44
+
1
45
  interface Event {
2
46
  /**
3
47
  * The event ID.
@@ -1941,71 +1985,176 @@ interface ListEventsByMemberIdOptions {
1941
1985
  eventIds?: string[];
1942
1986
  }
1943
1987
 
1944
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
1945
- interface HttpClient {
1946
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
1947
- fetchWithAuth: typeof fetch;
1948
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
1988
+ declare function getEvent$1(httpClient: HttpClient): GetEventSignature;
1989
+ interface GetEventSignature {
1990
+ /**
1991
+ * Retrieves an event by ID.
1992
+ * @param - The ID of the event to retrieve. Required.
1993
+ * @returns The event.
1994
+ */
1995
+ (eventId: string | null, options?: GetEventOptions | undefined): Promise<Event & EventNonNullableFields>;
1949
1996
  }
1950
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
1951
- type HttpResponse<T = any> = {
1952
- data: T;
1953
- status: number;
1954
- statusText: string;
1955
- headers: any;
1956
- request?: any;
1957
- };
1958
- type RequestOptions<_TResponse = any, Data = any> = {
1959
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
1960
- url: string;
1961
- data?: Data;
1962
- params?: URLSearchParams;
1963
- } & APIMetadata;
1964
- type APIMetadata = {
1965
- methodFqn?: string;
1966
- entityFqdn?: string;
1967
- packageName?: string;
1968
- };
1969
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
1970
- type EventDefinition<Payload = unknown, Type extends string = string> = {
1971
- __type: 'event-definition';
1972
- type: Type;
1973
- isDomainEvent?: boolean;
1974
- transformations?: (envelope: unknown) => Payload;
1975
- __payload: Payload;
1976
- };
1977
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1978
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
1979
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
1980
-
1981
- declare global {
1982
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
1983
- interface SymbolConstructor {
1984
- readonly observable: symbol;
1985
- }
1997
+ declare function listEvents$1(httpClient: HttpClient): ListEventsSignature;
1998
+ interface ListEventsSignature {
1999
+ /**
2000
+ * Retrieves a list of events by their IDs.
2001
+ * @param - The IDs of the events to retrieve.
2002
+ */
2003
+ (eventIds: string[], options?: ListEventsOptions | undefined): Promise<ListEventsResponse & ListEventsResponseNonNullableFields>;
1986
2004
  }
1987
-
1988
- declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2005
+ declare function queryEvents$1(httpClient: HttpClient): QueryEventsSignature;
2006
+ interface QueryEventsSignature {
2007
+ /**
2008
+ * Query events given the provided time range, filters and paging.
2009
+ *
2010
+ * Sort: by default events are sorted by their start date in ascending order. Events can also be sorted by their end date in descending order.
2011
+ * > __Note__ Querying by IDs is not supported, please use the GetEvent or ListEvents APIs instead.
2012
+ */
2013
+ (options?: QueryEventsOptions | undefined): EventsQueryBuilder;
2014
+ }
2015
+ declare function createEvent$1(httpClient: HttpClient): CreateEventSignature;
2016
+ interface CreateEventSignature {
2017
+ /**
2018
+ * Creates an event.
2019
+ * @param - The event to create.
2020
+ * @returns The created event.
2021
+ */
2022
+ (event: Event, options?: CreateEventOptions | undefined): Promise<Event & EventNonNullableFields>;
2023
+ }
2024
+ declare function bulkCreateEvent$1(httpClient: HttpClient): BulkCreateEventSignature;
2025
+ interface BulkCreateEventSignature {
2026
+ /**
2027
+ * Creates multiple events in bulk.
2028
+ * @param - The events to create.
2029
+ */
2030
+ (events: MaskedEvent[], options?: BulkCreateEventOptions | undefined): Promise<BulkCreateEventResponse & BulkCreateEventResponseNonNullableFields>;
2031
+ }
2032
+ declare function updateEvent$1(httpClient: HttpClient): UpdateEventSignature;
2033
+ interface UpdateEventSignature {
2034
+ /**
2035
+ * Updates an event.
2036
+ * @param - The event ID.
2037
+ * @returns The updated event.
2038
+ */
2039
+ (_id: string | null, event: UpdateEvent, options?: UpdateEventOptions | undefined): Promise<Event & EventNonNullableFields>;
2040
+ }
2041
+ declare function bulkUpdateEvent$1(httpClient: HttpClient): BulkUpdateEventSignature;
2042
+ interface BulkUpdateEventSignature {
2043
+ /**
2044
+ * Updates multiple events in bulk.
2045
+ * @param - The events to update.
2046
+ */
2047
+ (events: BulkUpdateEventRequestMaskedEvent[], options?: BulkUpdateEventOptions | undefined): Promise<BulkUpdateEventResponse & BulkUpdateEventResponseNonNullableFields>;
2048
+ }
2049
+ declare function restoreEventDefaults$1(httpClient: HttpClient): RestoreEventDefaultsSignature;
2050
+ interface RestoreEventDefaultsSignature {
2051
+ /**
2052
+ * Restore default event values from the schedule or the recurring event.
2053
+ * @param - The ID of the event.
2054
+ * @param - The fields for which to restore default values.
2055
+ */
2056
+ (eventId: string | null, fields: Field[], options?: RestoreEventDefaultsOptions | undefined): Promise<RestoreEventDefaultsResponse & RestoreEventDefaultsResponseNonNullableFields>;
2057
+ }
2058
+ declare function splitRecurringEvent$1(httpClient: HttpClient): SplitRecurringEventSignature;
2059
+ interface SplitRecurringEventSignature {
2060
+ /**
2061
+ * Splits a recurring event at a provided future date into two recurring events.
2062
+ *
2063
+ * Recurring event instances starting at or after the split date will belong to the new recurring event.
2064
+ *
2065
+ * Upon split, the following happens:
2066
+ * - The recurring event is set to end in the last instance before the split date.
2067
+ * - A new recurring event is created which set to start from the next instance starting at/after the split date.
2068
+ * - Recurring event exceptions which start at/after the split date are updated with the new recurring event ID.
2069
+ *
2070
+ * The split date must be a future date between two instances of the recurring event.
2071
+ * @param - The ID of the recurring event to split.
2072
+ * @param - The ISO-8601 local date where the recurring event is to be split.
2073
+ * Must be a future date.
2074
+ * Must be between two instances of the recurring event.
2075
+ */
2076
+ (recurringEventId: string | null, splitLocalDate: string | null, options?: SplitRecurringEventOptions | undefined): Promise<SplitRecurringEventResponse & SplitRecurringEventResponseNonNullableFields>;
2077
+ }
2078
+ declare function cancelEvent$1(httpClient: HttpClient): CancelEventSignature;
2079
+ interface CancelEventSignature {
2080
+ /**
2081
+ * Cancels an event.
2082
+ * @param - The ID of the event to cancel.
2083
+ */
2084
+ (eventId: string | null, options?: CancelEventOptions | undefined): Promise<CancelEventResponse & CancelEventResponseNonNullableFields>;
2085
+ }
2086
+ declare function bulkCancelEvent$1(httpClient: HttpClient): BulkCancelEventSignature;
2087
+ interface BulkCancelEventSignature {
2088
+ /**
2089
+ * Cancels multiple events in bulk.
2090
+ * @param - The IDs of the events to cancel.
2091
+ */
2092
+ (eventIds: string[], options?: BulkCancelEventOptions | undefined): Promise<BulkCancelEventResponse & BulkCancelEventResponseNonNullableFields>;
2093
+ }
2094
+ declare function listEventsByContactId$1(httpClient: HttpClient): ListEventsByContactIdSignature;
2095
+ interface ListEventsByContactIdSignature {
2096
+ /**
2097
+ * Retrieves a list of events by a participant's contact ID.
2098
+ *
2099
+ * Limits:
2100
+ * - Max time range is 1 year.
2101
+ * @param - The ID of the contact participating in the events.
2102
+ * Required, unless `cursorPaging` is provided.
2103
+ */
2104
+ (contactId: string | null, options?: ListEventsByContactIdOptions | undefined): Promise<ListEventsByContactIdResponse & ListEventsByContactIdResponseNonNullableFields>;
2105
+ }
2106
+ declare function listEventsByMemberId$1(httpClient: HttpClient): ListEventsByMemberIdSignature;
2107
+ interface ListEventsByMemberIdSignature {
2108
+ /**
2109
+ * Retrieves a list of events by a participant's member ID.
2110
+ *
2111
+ * Limits:
2112
+ * - Max time range is 1 year.
2113
+ * @param - The ID of the member participating in the events.
2114
+ *
2115
+ * Can be `me` for the currently logged-in member ID.
2116
+ * To retrieve other member events the `CALENDAR.EVENT_READ_PI` permission is required.
2117
+ *
2118
+ * Required, unless `cursorPaging` is provided.
2119
+ */
2120
+ (memberId: string | null, options?: ListEventsByMemberIdOptions | undefined): Promise<ListEventsByMemberIdResponse & ListEventsByMemberIdResponseNonNullableFields>;
2121
+ }
2122
+ declare const onEventCreated$1: EventDefinition<EventCreatedEnvelope, "wix.calendar.v3.event_created">;
2123
+ declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.calendar.v3.event_updated">;
2124
+ declare const onEventRecurringSplit$1: EventDefinition<EventRecurringSplitEnvelope, "wix.calendar.v3.event_recurring_split">;
2125
+ declare const onEventCancelled$1: EventDefinition<EventCancelledEnvelope, "wix.calendar.v3.event_cancelled">;
1989
2126
 
1990
2127
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1991
2128
 
1992
- declare const getEvent: ReturnType<typeof createRESTModule$2<typeof publicGetEvent>>;
1993
- declare const listEvents: ReturnType<typeof createRESTModule$2<typeof publicListEvents>>;
1994
- declare const queryEvents: ReturnType<typeof createRESTModule$2<typeof publicQueryEvents>>;
1995
- declare const createEvent: ReturnType<typeof createRESTModule$2<typeof publicCreateEvent>>;
1996
- declare const bulkCreateEvent: ReturnType<typeof createRESTModule$2<typeof publicBulkCreateEvent>>;
1997
- declare const updateEvent: ReturnType<typeof createRESTModule$2<typeof publicUpdateEvent>>;
1998
- declare const bulkUpdateEvent: ReturnType<typeof createRESTModule$2<typeof publicBulkUpdateEvent>>;
1999
- declare const restoreEventDefaults: ReturnType<typeof createRESTModule$2<typeof publicRestoreEventDefaults>>;
2000
- declare const splitRecurringEvent: ReturnType<typeof createRESTModule$2<typeof publicSplitRecurringEvent>>;
2001
- declare const cancelEvent: ReturnType<typeof createRESTModule$2<typeof publicCancelEvent>>;
2002
- declare const bulkCancelEvent: ReturnType<typeof createRESTModule$2<typeof publicBulkCancelEvent>>;
2003
- declare const listEventsByContactId: ReturnType<typeof createRESTModule$2<typeof publicListEventsByContactId>>;
2004
- declare const listEventsByMemberId: ReturnType<typeof createRESTModule$2<typeof publicListEventsByMemberId>>;
2005
- declare const onEventCreated: ReturnType<typeof createEventModule$2<typeof publicOnEventCreated>>;
2006
- declare const onEventUpdated: ReturnType<typeof createEventModule$2<typeof publicOnEventUpdated>>;
2007
- declare const onEventRecurringSplit: ReturnType<typeof createEventModule$2<typeof publicOnEventRecurringSplit>>;
2008
- declare const onEventCancelled: ReturnType<typeof createEventModule$2<typeof publicOnEventCancelled>>;
2129
+ declare const getEvent: BuildRESTFunction<typeof getEvent$1> & typeof getEvent$1;
2130
+ declare const listEvents: BuildRESTFunction<typeof listEvents$1> & typeof listEvents$1;
2131
+ declare const queryEvents: BuildRESTFunction<typeof queryEvents$1> & typeof queryEvents$1;
2132
+ declare const createEvent: BuildRESTFunction<typeof createEvent$1> & typeof createEvent$1;
2133
+ declare const bulkCreateEvent: BuildRESTFunction<typeof bulkCreateEvent$1> & typeof bulkCreateEvent$1;
2134
+ declare const updateEvent: BuildRESTFunction<typeof updateEvent$1> & typeof updateEvent$1;
2135
+ declare const bulkUpdateEvent: BuildRESTFunction<typeof bulkUpdateEvent$1> & typeof bulkUpdateEvent$1;
2136
+ declare const restoreEventDefaults: BuildRESTFunction<typeof restoreEventDefaults$1> & typeof restoreEventDefaults$1;
2137
+ declare const splitRecurringEvent: BuildRESTFunction<typeof splitRecurringEvent$1> & typeof splitRecurringEvent$1;
2138
+ declare const cancelEvent: BuildRESTFunction<typeof cancelEvent$1> & typeof cancelEvent$1;
2139
+ declare const bulkCancelEvent: BuildRESTFunction<typeof bulkCancelEvent$1> & typeof bulkCancelEvent$1;
2140
+ declare const listEventsByContactId: BuildRESTFunction<typeof listEventsByContactId$1> & typeof listEventsByContactId$1;
2141
+ declare const listEventsByMemberId: BuildRESTFunction<typeof listEventsByMemberId$1> & typeof listEventsByMemberId$1;
2142
+
2143
+ type _publicOnEventCreatedType = typeof onEventCreated$1;
2144
+ /** */
2145
+ declare const onEventCreated: ReturnType<typeof createEventModule$2<_publicOnEventCreatedType>>;
2146
+
2147
+ type _publicOnEventUpdatedType = typeof onEventUpdated$1;
2148
+ /** */
2149
+ declare const onEventUpdated: ReturnType<typeof createEventModule$2<_publicOnEventUpdatedType>>;
2150
+
2151
+ type _publicOnEventRecurringSplitType = typeof onEventRecurringSplit$1;
2152
+ /** */
2153
+ declare const onEventRecurringSplit: ReturnType<typeof createEventModule$2<_publicOnEventRecurringSplitType>>;
2154
+
2155
+ type _publicOnEventCancelledType = typeof onEventCancelled$1;
2156
+ /** */
2157
+ declare const onEventCancelled: ReturnType<typeof createEventModule$2<_publicOnEventCancelledType>>;
2009
2158
 
2010
2159
  type index_d$2_ApplicationError = ApplicationError;
2011
2160
  type index_d$2_BulkActionMetadata = BulkActionMetadata;
@@ -2105,6 +2254,10 @@ type index_d$2_UpdateEventParticipantsResponse = UpdateEventParticipantsResponse
2105
2254
  type index_d$2_UpdateEventRequest = UpdateEventRequest;
2106
2255
  type index_d$2_UpdateEventResponse = UpdateEventResponse;
2107
2256
  type index_d$2_UpdateEventResponseNonNullableFields = UpdateEventResponseNonNullableFields;
2257
+ type index_d$2__publicOnEventCancelledType = _publicOnEventCancelledType;
2258
+ type index_d$2__publicOnEventCreatedType = _publicOnEventCreatedType;
2259
+ type index_d$2__publicOnEventRecurringSplitType = _publicOnEventRecurringSplitType;
2260
+ type index_d$2__publicOnEventUpdatedType = _publicOnEventUpdatedType;
2108
2261
  declare const index_d$2_bulkCancelEvent: typeof bulkCancelEvent;
2109
2262
  declare const index_d$2_bulkCreateEvent: typeof bulkCreateEvent;
2110
2263
  declare const index_d$2_bulkUpdateEvent: typeof bulkUpdateEvent;
@@ -2123,7 +2276,7 @@ declare const index_d$2_restoreEventDefaults: typeof restoreEventDefaults;
2123
2276
  declare const index_d$2_splitRecurringEvent: typeof splitRecurringEvent;
2124
2277
  declare const index_d$2_updateEvent: typeof updateEvent;
2125
2278
  declare namespace index_d$2 {
2126
- export { type ActionEvent$2 as ActionEvent, type Address$2 as Address, type AddressHint$2 as AddressHint, type index_d$2_ApplicationError as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$2_BulkActionMetadata as BulkActionMetadata, type index_d$2_BulkCancelEventOptions as BulkCancelEventOptions, type index_d$2_BulkCancelEventRequest as BulkCancelEventRequest, type index_d$2_BulkCancelEventResponse as BulkCancelEventResponse, type index_d$2_BulkCancelEventResponseNonNullableFields as BulkCancelEventResponseNonNullableFields, type index_d$2_BulkCreateEventOptions as BulkCreateEventOptions, type index_d$2_BulkCreateEventRequest as BulkCreateEventRequest, type index_d$2_BulkCreateEventResponse as BulkCreateEventResponse, type index_d$2_BulkCreateEventResponseNonNullableFields as BulkCreateEventResponseNonNullableFields, type index_d$2_BulkEventResult as BulkEventResult, type index_d$2_BulkUpdateEventOptions as BulkUpdateEventOptions, type index_d$2_BulkUpdateEventRequest as BulkUpdateEventRequest, type index_d$2_BulkUpdateEventRequestMaskedEvent as BulkUpdateEventRequestMaskedEvent, type index_d$2_BulkUpdateEventResponse as BulkUpdateEventResponse, type index_d$2_BulkUpdateEventResponseNonNullableFields as BulkUpdateEventResponseNonNullableFields, type BusinessSchedule$2 as BusinessSchedule, type index_d$2_CancelEventOptions as CancelEventOptions, type index_d$2_CancelEventRequest as CancelEventRequest, type index_d$2_CancelEventResponse as CancelEventResponse, type index_d$2_CancelEventResponseNonNullableFields as CancelEventResponseNonNullableFields, type Categories$2 as Categories, type ChangeContext$2 as ChangeContext, type ChangeContextPayloadOneOf$2 as ChangeContextPayloadOneOf, type index_d$2_CommonCursorPaging as CommonCursorPaging, type index_d$2_CommonCursorPagingMetadata as CommonCursorPagingMetadata, type index_d$2_CommonCursors as CommonCursors, type CommonIdentificationData$1 as CommonIdentificationData, type CommonIdentificationDataIdOneOf$1 as CommonIdentificationDataIdOneOf, type ConferencingDetails$1 as ConferencingDetails, type ConsentPolicy$2 as ConsentPolicy, type index_d$2_CreateEventOptions as CreateEventOptions, type index_d$2_CreateEventRequest as CreateEventRequest, type index_d$2_CreateEventResponse as CreateEventResponse, type index_d$2_CreateEventResponseNonNullableFields as CreateEventResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type CursorQuery$1 as CursorQuery, type CursorQueryPagingMethodOneOf$1 as CursorQueryPagingMethodOneOf, type Cursors$1 as Cursors, index_d$2_Day as Day, DayOfWeek$2 as DayOfWeek, type index_d$2_DeleteTargetsRequest as DeleteTargetsRequest, type index_d$2_DeleteTargetsResponse as DeleteTargetsResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$2_Event as Event, type index_d$2_EventCancelled as EventCancelled, type index_d$2_EventCancelledEnvelope as EventCancelledEnvelope, type index_d$2_EventCreatedEnvelope as EventCreatedEnvelope, type EventMetadata$2 as EventMetadata, type index_d$2_EventNonNullableFields as EventNonNullableFields, type index_d$2_EventRecurringSplitEnvelope as EventRecurringSplitEnvelope, type index_d$2_EventUpdatedEnvelope as EventUpdatedEnvelope, type index_d$2_EventUpdatedWithMetadata as EventUpdatedWithMetadata, type index_d$2_EventsQueryBuilder as EventsQueryBuilder, type index_d$2_EventsQueryResult as EventsQueryResult, type ExtendedFields$1 as ExtendedFields, index_d$2_Field as Field, index_d$2_Frequency as Frequency, type GeoCoordinates$2 as GeoCoordinates, type index_d$2_GetEventOptions as GetEventOptions, type index_d$2_GetEventRequest as GetEventRequest, type index_d$2_GetEventResponse as GetEventResponse, type index_d$2_GetEventResponseNonNullableFields as GetEventResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type index_d$2_ItemMetadata as ItemMetadata, type index_d$2_ListEventsByContactIdOptions as ListEventsByContactIdOptions, type index_d$2_ListEventsByContactIdRequest as ListEventsByContactIdRequest, type index_d$2_ListEventsByContactIdResponse as ListEventsByContactIdResponse, type index_d$2_ListEventsByContactIdResponseNonNullableFields as ListEventsByContactIdResponseNonNullableFields, type index_d$2_ListEventsByMemberIdOptions as ListEventsByMemberIdOptions, type index_d$2_ListEventsByMemberIdRequest as ListEventsByMemberIdRequest, type index_d$2_ListEventsByMemberIdResponse as ListEventsByMemberIdResponse, type index_d$2_ListEventsByMemberIdResponseNonNullableFields as ListEventsByMemberIdResponseNonNullableFields, type index_d$2_ListEventsOptions as ListEventsOptions, type index_d$2_ListEventsRequest as ListEventsRequest, type index_d$2_ListEventsResponse as ListEventsResponse, type index_d$2_ListEventsResponseNonNullableFields as ListEventsResponseNonNullableFields, type index_d$2_ListRecurringEventInstancesHistoryRequest as ListRecurringEventInstancesHistoryRequest, type index_d$2_ListRecurringEventInstancesHistoryResponse as ListRecurringEventInstancesHistoryResponse, type Locale$2 as Locale, type Location$1 as Location, LocationType$1 as LocationType, type index_d$2_MaskedEvent as MaskedEvent, type MessageEnvelope$2 as MessageEnvelope, type Multilingual$2 as Multilingual, type index_d$2_Participant as Participant, type ParticipantNotification$1 as ParticipantNotification, type index_d$2_Participants as Participants, index_d$2_ParticipantsStatus as ParticipantsStatus, type Permission$1 as Permission, PlacementType$2 as PlacementType, type Properties$2 as Properties, type PropertiesChange$2 as PropertiesChange, type index_d$2_QueryEventsOptions as QueryEventsOptions, type index_d$2_QueryEventsRequest as QueryEventsRequest, type index_d$2_QueryEventsResponse as QueryEventsResponse, type index_d$2_QueryEventsResponseNonNullableFields as QueryEventsResponseNonNullableFields, type index_d$2_RecurrenceRule as RecurrenceRule, index_d$2_RecurrenceType as RecurrenceType, type index_d$2_RecurringEventSplit as RecurringEventSplit, RequestedFields$1 as RequestedFields, ResolutionMethod$2 as ResolutionMethod, type index_d$2_Resource as Resource, type index_d$2_RestoreEventDefaultsOptions as RestoreEventDefaultsOptions, type index_d$2_RestoreEventDefaultsRequest as RestoreEventDefaultsRequest, type index_d$2_RestoreEventDefaultsResponse as RestoreEventDefaultsResponse, type index_d$2_RestoreEventDefaultsResponseNonNullableFields as RestoreEventDefaultsResponseNonNullableFields, type RestoreInfo$2 as RestoreInfo, Role$1 as Role, type SiteCloned$2 as SiteCloned, type SiteCreated$2 as SiteCreated, type SitePropertiesEvent$2 as SitePropertiesEvent, type SitePropertiesNotification$2 as SitePropertiesNotification, index_d$2_SortOrder as SortOrder, type index_d$2_Sorting as Sorting, type SpecialHourPeriod$2 as SpecialHourPeriod, type index_d$2_SplitRecurringEventOptions as SplitRecurringEventOptions, type index_d$2_SplitRecurringEventRequest as SplitRecurringEventRequest, type index_d$2_SplitRecurringEventResponse as SplitRecurringEventResponse, type index_d$2_SplitRecurringEventResponseNonNullableFields as SplitRecurringEventResponseNonNullableFields, Status$2 as Status, type SupportedLanguage$2 as SupportedLanguage, type TimePeriod$2 as TimePeriod, type Translation$2 as Translation, index_d$2_Transparency as Transparency, Type$1 as Type, type index_d$2_UpdateEvent as UpdateEvent, type index_d$2_UpdateEventOptions as UpdateEventOptions, type index_d$2_UpdateEventParticipantsRequest as UpdateEventParticipantsRequest, type index_d$2_UpdateEventParticipantsResponse as UpdateEventParticipantsResponse, type index_d$2_UpdateEventRequest as UpdateEventRequest, type index_d$2_UpdateEventResponse as UpdateEventResponse, type index_d$2_UpdateEventResponseNonNullableFields as UpdateEventResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type ZonedDate$1 as ZonedDate, index_d$2_bulkCancelEvent as bulkCancelEvent, index_d$2_bulkCreateEvent as bulkCreateEvent, index_d$2_bulkUpdateEvent as bulkUpdateEvent, index_d$2_cancelEvent as cancelEvent, index_d$2_createEvent as createEvent, index_d$2_getEvent as getEvent, index_d$2_listEvents as listEvents, index_d$2_listEventsByContactId as listEventsByContactId, index_d$2_listEventsByMemberId as listEventsByMemberId, index_d$2_onEventCancelled as onEventCancelled, index_d$2_onEventCreated as onEventCreated, index_d$2_onEventRecurringSplit as onEventRecurringSplit, index_d$2_onEventUpdated as onEventUpdated, index_d$2_queryEvents as queryEvents, index_d$2_restoreEventDefaults as restoreEventDefaults, index_d$2_splitRecurringEvent as splitRecurringEvent, index_d$2_updateEvent as updateEvent };
2279
+ export { type ActionEvent$2 as ActionEvent, type Address$2 as Address, type AddressHint$2 as AddressHint, type index_d$2_ApplicationError as ApplicationError, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$2_BulkActionMetadata as BulkActionMetadata, type index_d$2_BulkCancelEventOptions as BulkCancelEventOptions, type index_d$2_BulkCancelEventRequest as BulkCancelEventRequest, type index_d$2_BulkCancelEventResponse as BulkCancelEventResponse, type index_d$2_BulkCancelEventResponseNonNullableFields as BulkCancelEventResponseNonNullableFields, type index_d$2_BulkCreateEventOptions as BulkCreateEventOptions, type index_d$2_BulkCreateEventRequest as BulkCreateEventRequest, type index_d$2_BulkCreateEventResponse as BulkCreateEventResponse, type index_d$2_BulkCreateEventResponseNonNullableFields as BulkCreateEventResponseNonNullableFields, type index_d$2_BulkEventResult as BulkEventResult, type index_d$2_BulkUpdateEventOptions as BulkUpdateEventOptions, type index_d$2_BulkUpdateEventRequest as BulkUpdateEventRequest, type index_d$2_BulkUpdateEventRequestMaskedEvent as BulkUpdateEventRequestMaskedEvent, type index_d$2_BulkUpdateEventResponse as BulkUpdateEventResponse, type index_d$2_BulkUpdateEventResponseNonNullableFields as BulkUpdateEventResponseNonNullableFields, type BusinessSchedule$2 as BusinessSchedule, type index_d$2_CancelEventOptions as CancelEventOptions, type index_d$2_CancelEventRequest as CancelEventRequest, type index_d$2_CancelEventResponse as CancelEventResponse, type index_d$2_CancelEventResponseNonNullableFields as CancelEventResponseNonNullableFields, type Categories$2 as Categories, type ChangeContext$2 as ChangeContext, type ChangeContextPayloadOneOf$2 as ChangeContextPayloadOneOf, type index_d$2_CommonCursorPaging as CommonCursorPaging, type index_d$2_CommonCursorPagingMetadata as CommonCursorPagingMetadata, type index_d$2_CommonCursors as CommonCursors, type CommonIdentificationData$1 as CommonIdentificationData, type CommonIdentificationDataIdOneOf$1 as CommonIdentificationDataIdOneOf, type ConferencingDetails$1 as ConferencingDetails, type ConsentPolicy$2 as ConsentPolicy, type index_d$2_CreateEventOptions as CreateEventOptions, type index_d$2_CreateEventRequest as CreateEventRequest, type index_d$2_CreateEventResponse as CreateEventResponse, type index_d$2_CreateEventResponseNonNullableFields as CreateEventResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type CursorQuery$1 as CursorQuery, type CursorQueryPagingMethodOneOf$1 as CursorQueryPagingMethodOneOf, type Cursors$1 as Cursors, index_d$2_Day as Day, DayOfWeek$2 as DayOfWeek, type index_d$2_DeleteTargetsRequest as DeleteTargetsRequest, type index_d$2_DeleteTargetsResponse as DeleteTargetsResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$2_Event as Event, type index_d$2_EventCancelled as EventCancelled, type index_d$2_EventCancelledEnvelope as EventCancelledEnvelope, type index_d$2_EventCreatedEnvelope as EventCreatedEnvelope, type EventMetadata$2 as EventMetadata, type index_d$2_EventNonNullableFields as EventNonNullableFields, type index_d$2_EventRecurringSplitEnvelope as EventRecurringSplitEnvelope, type index_d$2_EventUpdatedEnvelope as EventUpdatedEnvelope, type index_d$2_EventUpdatedWithMetadata as EventUpdatedWithMetadata, type index_d$2_EventsQueryBuilder as EventsQueryBuilder, type index_d$2_EventsQueryResult as EventsQueryResult, type ExtendedFields$1 as ExtendedFields, index_d$2_Field as Field, index_d$2_Frequency as Frequency, type GeoCoordinates$2 as GeoCoordinates, type index_d$2_GetEventOptions as GetEventOptions, type index_d$2_GetEventRequest as GetEventRequest, type index_d$2_GetEventResponse as GetEventResponse, type index_d$2_GetEventResponseNonNullableFields as GetEventResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type index_d$2_ItemMetadata as ItemMetadata, type index_d$2_ListEventsByContactIdOptions as ListEventsByContactIdOptions, type index_d$2_ListEventsByContactIdRequest as ListEventsByContactIdRequest, type index_d$2_ListEventsByContactIdResponse as ListEventsByContactIdResponse, type index_d$2_ListEventsByContactIdResponseNonNullableFields as ListEventsByContactIdResponseNonNullableFields, type index_d$2_ListEventsByMemberIdOptions as ListEventsByMemberIdOptions, type index_d$2_ListEventsByMemberIdRequest as ListEventsByMemberIdRequest, type index_d$2_ListEventsByMemberIdResponse as ListEventsByMemberIdResponse, type index_d$2_ListEventsByMemberIdResponseNonNullableFields as ListEventsByMemberIdResponseNonNullableFields, type index_d$2_ListEventsOptions as ListEventsOptions, type index_d$2_ListEventsRequest as ListEventsRequest, type index_d$2_ListEventsResponse as ListEventsResponse, type index_d$2_ListEventsResponseNonNullableFields as ListEventsResponseNonNullableFields, type index_d$2_ListRecurringEventInstancesHistoryRequest as ListRecurringEventInstancesHistoryRequest, type index_d$2_ListRecurringEventInstancesHistoryResponse as ListRecurringEventInstancesHistoryResponse, type Locale$2 as Locale, type Location$1 as Location, LocationType$1 as LocationType, type index_d$2_MaskedEvent as MaskedEvent, type MessageEnvelope$2 as MessageEnvelope, type Multilingual$2 as Multilingual, type index_d$2_Participant as Participant, type ParticipantNotification$1 as ParticipantNotification, type index_d$2_Participants as Participants, index_d$2_ParticipantsStatus as ParticipantsStatus, type Permission$1 as Permission, PlacementType$2 as PlacementType, type Properties$2 as Properties, type PropertiesChange$2 as PropertiesChange, type index_d$2_QueryEventsOptions as QueryEventsOptions, type index_d$2_QueryEventsRequest as QueryEventsRequest, type index_d$2_QueryEventsResponse as QueryEventsResponse, type index_d$2_QueryEventsResponseNonNullableFields as QueryEventsResponseNonNullableFields, type index_d$2_RecurrenceRule as RecurrenceRule, index_d$2_RecurrenceType as RecurrenceType, type index_d$2_RecurringEventSplit as RecurringEventSplit, RequestedFields$1 as RequestedFields, ResolutionMethod$2 as ResolutionMethod, type index_d$2_Resource as Resource, type index_d$2_RestoreEventDefaultsOptions as RestoreEventDefaultsOptions, type index_d$2_RestoreEventDefaultsRequest as RestoreEventDefaultsRequest, type index_d$2_RestoreEventDefaultsResponse as RestoreEventDefaultsResponse, type index_d$2_RestoreEventDefaultsResponseNonNullableFields as RestoreEventDefaultsResponseNonNullableFields, type RestoreInfo$2 as RestoreInfo, Role$1 as Role, type SiteCloned$2 as SiteCloned, type SiteCreated$2 as SiteCreated, type SitePropertiesEvent$2 as SitePropertiesEvent, type SitePropertiesNotification$2 as SitePropertiesNotification, index_d$2_SortOrder as SortOrder, type index_d$2_Sorting as Sorting, type SpecialHourPeriod$2 as SpecialHourPeriod, type index_d$2_SplitRecurringEventOptions as SplitRecurringEventOptions, type index_d$2_SplitRecurringEventRequest as SplitRecurringEventRequest, type index_d$2_SplitRecurringEventResponse as SplitRecurringEventResponse, type index_d$2_SplitRecurringEventResponseNonNullableFields as SplitRecurringEventResponseNonNullableFields, Status$2 as Status, type SupportedLanguage$2 as SupportedLanguage, type TimePeriod$2 as TimePeriod, type Translation$2 as Translation, index_d$2_Transparency as Transparency, Type$1 as Type, type index_d$2_UpdateEvent as UpdateEvent, type index_d$2_UpdateEventOptions as UpdateEventOptions, type index_d$2_UpdateEventParticipantsRequest as UpdateEventParticipantsRequest, type index_d$2_UpdateEventParticipantsResponse as UpdateEventParticipantsResponse, type index_d$2_UpdateEventRequest as UpdateEventRequest, type index_d$2_UpdateEventResponse as UpdateEventResponse, type index_d$2_UpdateEventResponseNonNullableFields as UpdateEventResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type ZonedDate$1 as ZonedDate, type index_d$2__publicOnEventCancelledType as _publicOnEventCancelledType, type index_d$2__publicOnEventCreatedType as _publicOnEventCreatedType, type index_d$2__publicOnEventRecurringSplitType as _publicOnEventRecurringSplitType, type index_d$2__publicOnEventUpdatedType as _publicOnEventUpdatedType, index_d$2_bulkCancelEvent as bulkCancelEvent, index_d$2_bulkCreateEvent as bulkCreateEvent, index_d$2_bulkUpdateEvent as bulkUpdateEvent, index_d$2_cancelEvent as cancelEvent, index_d$2_createEvent as createEvent, index_d$2_getEvent as getEvent, index_d$2_listEvents as listEvents, index_d$2_listEventsByContactId as listEventsByContactId, index_d$2_listEventsByMemberId as listEventsByMemberId, index_d$2_onEventCancelled as onEventCancelled, index_d$2_onEventCreated as onEventCreated, index_d$2_onEventRecurringSplit as onEventRecurringSplit, index_d$2_onEventUpdated as onEventUpdated, onEventCancelled$1 as publicOnEventCancelled, onEventCreated$1 as publicOnEventCreated, onEventRecurringSplit$1 as publicOnEventRecurringSplit, onEventUpdated$1 as publicOnEventUpdated, index_d$2_queryEvents as queryEvents, index_d$2_restoreEventDefaults as restoreEventDefaults, index_d$2_splitRecurringEvent as splitRecurringEvent, index_d$2_updateEvent as updateEvent };
2127
2280
  }
2128
2281
 
2129
2282
  interface Schedule {
@@ -3379,20 +3532,87 @@ interface CancelScheduleOptions {
3379
3532
  participantNotification?: ParticipantNotification;
3380
3533
  }
3381
3534
 
3382
- declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3535
+ declare function getSchedule$1(httpClient: HttpClient): GetScheduleSignature;
3536
+ interface GetScheduleSignature {
3537
+ /**
3538
+ * Retrieves a schedule by ID.
3539
+ * @param - The ID of the schedule to retrieve.
3540
+ * @returns The schedule.
3541
+ */
3542
+ (scheduleId: string | null, options?: GetScheduleOptions | undefined): Promise<Schedule & ScheduleNonNullableFields>;
3543
+ }
3544
+ declare function querySchedules$1(httpClient: HttpClient): QuerySchedulesSignature;
3545
+ interface QuerySchedulesSignature {
3546
+ /**
3547
+ * Query for schedules given the provided filters and paging.
3548
+ *
3549
+ * By default only active schedules are returned, unless a `status` filter is provided.
3550
+ */
3551
+ (options?: QuerySchedulesOptions | undefined): SchedulesQueryBuilder;
3552
+ }
3553
+ declare function createSchedule$1(httpClient: HttpClient): CreateScheduleSignature;
3554
+ interface CreateScheduleSignature {
3555
+ /**
3556
+ * Creates a schedule.
3557
+ * @param - The schedule to create.
3558
+ * @returns The created schedule.
3559
+ */
3560
+ (schedule: Schedule, options?: CreateScheduleOptions | undefined): Promise<Schedule & ScheduleNonNullableFields>;
3561
+ }
3562
+ declare function updateSchedule$1(httpClient: HttpClient): UpdateScheduleSignature;
3563
+ interface UpdateScheduleSignature {
3564
+ /**
3565
+ * Updates a schedule.
3566
+ * @param - The schedule ID.
3567
+ * @returns The updated schedule.
3568
+ */
3569
+ (_id: string | null, schedule: UpdateSchedule, options?: UpdateScheduleOptions | undefined): Promise<Schedule & ScheduleNonNullableFields>;
3570
+ }
3571
+ declare function cloneSchedule$1(httpClient: HttpClient): CloneScheduleSignature;
3572
+ interface CloneScheduleSignature {
3573
+ /**
3574
+ * Clone a schedule.
3575
+ * @param - The ID of the schedule to clone.
3576
+ */
3577
+ (scheduleId: string | null, options?: CloneScheduleOptions | undefined): Promise<CloneScheduleResponse & CloneScheduleResponseNonNullableFields>;
3578
+ }
3579
+ declare function cancelSchedule$1(httpClient: HttpClient): CancelScheduleSignature;
3580
+ interface CancelScheduleSignature {
3581
+ /**
3582
+ * Cancels a schedule.
3583
+ * @param - The ID of the schedule to cancel.
3584
+ */
3585
+ (scheduleId: string | null, options?: CancelScheduleOptions | undefined): Promise<CancelScheduleResponse & CancelScheduleResponseNonNullableFields>;
3586
+ }
3587
+ declare const onScheduleCreated$1: EventDefinition<ScheduleCreatedEnvelope, "wix.calendar.v3.schedule_created">;
3588
+ declare const onScheduleUpdated$1: EventDefinition<ScheduleUpdatedEnvelope, "wix.calendar.v3.schedule_updated">;
3589
+ declare const onScheduleCloned$1: EventDefinition<ScheduleClonedEnvelope, "wix.calendar.v3.schedule_cloned">;
3590
+ declare const onScheduleCancelled$1: EventDefinition<ScheduleCancelledEnvelope, "wix.calendar.v3.schedule_cancelled">;
3383
3591
 
3384
3592
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3385
3593
 
3386
- declare const getSchedule: ReturnType<typeof createRESTModule$1<typeof publicGetSchedule>>;
3387
- declare const querySchedules: ReturnType<typeof createRESTModule$1<typeof publicQuerySchedules>>;
3388
- declare const createSchedule: ReturnType<typeof createRESTModule$1<typeof publicCreateSchedule>>;
3389
- declare const updateSchedule: ReturnType<typeof createRESTModule$1<typeof publicUpdateSchedule>>;
3390
- declare const cloneSchedule: ReturnType<typeof createRESTModule$1<typeof publicCloneSchedule>>;
3391
- declare const cancelSchedule: ReturnType<typeof createRESTModule$1<typeof publicCancelSchedule>>;
3392
- declare const onScheduleCreated: ReturnType<typeof createEventModule$1<typeof publicOnScheduleCreated>>;
3393
- declare const onScheduleUpdated: ReturnType<typeof createEventModule$1<typeof publicOnScheduleUpdated>>;
3394
- declare const onScheduleCloned: ReturnType<typeof createEventModule$1<typeof publicOnScheduleCloned>>;
3395
- declare const onScheduleCancelled: ReturnType<typeof createEventModule$1<typeof publicOnScheduleCancelled>>;
3594
+ declare const getSchedule: BuildRESTFunction<typeof getSchedule$1> & typeof getSchedule$1;
3595
+ declare const querySchedules: BuildRESTFunction<typeof querySchedules$1> & typeof querySchedules$1;
3596
+ declare const createSchedule: BuildRESTFunction<typeof createSchedule$1> & typeof createSchedule$1;
3597
+ declare const updateSchedule: BuildRESTFunction<typeof updateSchedule$1> & typeof updateSchedule$1;
3598
+ declare const cloneSchedule: BuildRESTFunction<typeof cloneSchedule$1> & typeof cloneSchedule$1;
3599
+ declare const cancelSchedule: BuildRESTFunction<typeof cancelSchedule$1> & typeof cancelSchedule$1;
3600
+
3601
+ type _publicOnScheduleCreatedType = typeof onScheduleCreated$1;
3602
+ /** */
3603
+ declare const onScheduleCreated: ReturnType<typeof createEventModule$1<_publicOnScheduleCreatedType>>;
3604
+
3605
+ type _publicOnScheduleUpdatedType = typeof onScheduleUpdated$1;
3606
+ /** */
3607
+ declare const onScheduleUpdated: ReturnType<typeof createEventModule$1<_publicOnScheduleUpdatedType>>;
3608
+
3609
+ type _publicOnScheduleClonedType = typeof onScheduleCloned$1;
3610
+ /** */
3611
+ declare const onScheduleCloned: ReturnType<typeof createEventModule$1<_publicOnScheduleClonedType>>;
3612
+
3613
+ type _publicOnScheduleCancelledType = typeof onScheduleCancelled$1;
3614
+ /** */
3615
+ declare const onScheduleCancelled: ReturnType<typeof createEventModule$1<_publicOnScheduleCancelledType>>;
3396
3616
 
3397
3617
  type index_d$1_Asset = Asset;
3398
3618
  type index_d$1_CancelScheduleOptions = CancelScheduleOptions;
@@ -3481,6 +3701,10 @@ type index_d$1_UpdateScheduleRequest = UpdateScheduleRequest;
3481
3701
  type index_d$1_UpdateScheduleResponse = UpdateScheduleResponse;
3482
3702
  type index_d$1_UpdateScheduleResponseNonNullableFields = UpdateScheduleResponseNonNullableFields;
3483
3703
  type index_d$1_V4SiteCreated = V4SiteCreated;
3704
+ type index_d$1__publicOnScheduleCancelledType = _publicOnScheduleCancelledType;
3705
+ type index_d$1__publicOnScheduleClonedType = _publicOnScheduleClonedType;
3706
+ type index_d$1__publicOnScheduleCreatedType = _publicOnScheduleCreatedType;
3707
+ type index_d$1__publicOnScheduleUpdatedType = _publicOnScheduleUpdatedType;
3484
3708
  declare const index_d$1_cancelSchedule: typeof cancelSchedule;
3485
3709
  declare const index_d$1_cloneSchedule: typeof cloneSchedule;
3486
3710
  declare const index_d$1_createSchedule: typeof createSchedule;
@@ -3492,7 +3716,7 @@ declare const index_d$1_onScheduleUpdated: typeof onScheduleUpdated;
3492
3716
  declare const index_d$1_querySchedules: typeof querySchedules;
3493
3717
  declare const index_d$1_updateSchedule: typeof updateSchedule;
3494
3718
  declare namespace index_d$1 {
3495
- export { type ActionEvent$1 as ActionEvent, type Address$1 as Address, type AddressHint$1 as AddressHint, type index_d$1_Asset as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type BusinessSchedule$1 as BusinessSchedule, type index_d$1_CancelScheduleOptions as CancelScheduleOptions, type index_d$1_CancelScheduleRequest as CancelScheduleRequest, type index_d$1_CancelScheduleResponse as CancelScheduleResponse, type index_d$1_CancelScheduleResponseNonNullableFields as CancelScheduleResponseNonNullableFields, type Categories$1 as Categories, type ChangeContext$1 as ChangeContext, type ChangeContextPayloadOneOf$1 as ChangeContextPayloadOneOf, type index_d$1_CloneScheduleOptions as CloneScheduleOptions, type index_d$1_CloneScheduleRequest as CloneScheduleRequest, type index_d$1_CloneScheduleResponse as CloneScheduleResponse, type index_d$1_CloneScheduleResponseNonNullableFields as CloneScheduleResponseNonNullableFields, type index_d$1_CommonIdentificationData as CommonIdentificationData, type index_d$1_CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOf, type index_d$1_ConferencingDetails as ConferencingDetails, type ConsentPolicy$1 as ConsentPolicy, type index_d$1_CreateScheduleOptions as CreateScheduleOptions, type index_d$1_CreateScheduleRequest as CreateScheduleRequest, type index_d$1_CreateScheduleResponse as CreateScheduleResponse, type index_d$1_CreateScheduleResponseNonNullableFields as CreateScheduleResponseNonNullableFields, type index_d$1_CursorPaging as CursorPaging, type index_d$1_CursorPagingMetadata as CursorPagingMetadata, type index_d$1_CursorQuery as CursorQuery, type index_d$1_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d$1_Cursors as Cursors, DayOfWeek$1 as DayOfWeek, type index_d$1_DeleteContext as DeleteContext, index_d$1_DeleteStatus as DeleteStatus, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_ExtendedFields as ExtendedFields, type GeoCoordinates$1 as GeoCoordinates, type index_d$1_GetScheduleOptions as GetScheduleOptions, type index_d$1_GetScheduleRequest as GetScheduleRequest, type index_d$1_GetScheduleResponse as GetScheduleResponse, type index_d$1_GetScheduleResponseNonNullableFields as GetScheduleResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, index_d$1_IdentityType as IdentityType, type Locale$1 as Locale, type index_d$1_Location as Location, index_d$1_LocationType as LocationType, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type Multilingual$1 as Multilingual, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_ParticipantNotification as ParticipantNotification, type index_d$1_Permission as Permission, PlacementType$1 as PlacementType, type Properties$1 as Properties, type PropertiesChange$1 as PropertiesChange, type index_d$1_QuerySchedulesOptions as QuerySchedulesOptions, type index_d$1_QuerySchedulesRequest as QuerySchedulesRequest, type index_d$1_QuerySchedulesResponse as QuerySchedulesResponse, type index_d$1_QuerySchedulesResponseNonNullableFields as QuerySchedulesResponseNonNullableFields, index_d$1_RequestedFields as RequestedFields, ResolutionMethod$1 as ResolutionMethod, type RestoreInfo$1 as RestoreInfo, index_d$1_Role as Role, type index_d$1_Schedule as Schedule, type index_d$1_ScheduleCancelled as ScheduleCancelled, type index_d$1_ScheduleCancelledEnvelope as ScheduleCancelledEnvelope, type index_d$1_ScheduleCloned as ScheduleCloned, type index_d$1_ScheduleClonedEnvelope as ScheduleClonedEnvelope, type index_d$1_ScheduleCreatedEnvelope as ScheduleCreatedEnvelope, type index_d$1_ScheduleNonNullableFields as ScheduleNonNullableFields, type index_d$1_ScheduleUpdatedEnvelope as ScheduleUpdatedEnvelope, type index_d$1_ScheduleUpdatedWithMetadata as ScheduleUpdatedWithMetadata, type index_d$1_SchedulesQueryBuilder as SchedulesQueryBuilder, type index_d$1_SchedulesQueryResult as SchedulesQueryResult, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, type SiteCloned$1 as SiteCloned, type SiteCreated$1 as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type SitePropertiesEvent$1 as SitePropertiesEvent, type SitePropertiesNotification$1 as SitePropertiesNotification, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, type SpecialHourPeriod$1 as SpecialHourPeriod, index_d$1_State as State, Status$1 as Status, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type SupportedLanguage$1 as SupportedLanguage, type TimePeriod$1 as TimePeriod, type Translation$1 as Translation, index_d$1_Trigger as Trigger, index_d$1_Type as Type, type index_d$1_UpdateSchedule as UpdateSchedule, type index_d$1_UpdateScheduleOptions as UpdateScheduleOptions, type index_d$1_UpdateScheduleRequest as UpdateScheduleRequest, type index_d$1_UpdateScheduleResponse as UpdateScheduleResponse, type index_d$1_UpdateScheduleResponseNonNullableFields as UpdateScheduleResponseNonNullableFields, type index_d$1_V4SiteCreated as V4SiteCreated, WebhookIdentityType$1 as WebhookIdentityType, index_d$1_cancelSchedule as cancelSchedule, index_d$1_cloneSchedule as cloneSchedule, index_d$1_createSchedule as createSchedule, index_d$1_getSchedule as getSchedule, index_d$1_onScheduleCancelled as onScheduleCancelled, index_d$1_onScheduleCloned as onScheduleCloned, index_d$1_onScheduleCreated as onScheduleCreated, index_d$1_onScheduleUpdated as onScheduleUpdated, index_d$1_querySchedules as querySchedules, index_d$1_updateSchedule as updateSchedule };
3719
+ export { type ActionEvent$1 as ActionEvent, type Address$1 as Address, type AddressHint$1 as AddressHint, type index_d$1_Asset as Asset, type BaseEventMetadata$1 as BaseEventMetadata, type BusinessSchedule$1 as BusinessSchedule, type index_d$1_CancelScheduleOptions as CancelScheduleOptions, type index_d$1_CancelScheduleRequest as CancelScheduleRequest, type index_d$1_CancelScheduleResponse as CancelScheduleResponse, type index_d$1_CancelScheduleResponseNonNullableFields as CancelScheduleResponseNonNullableFields, type Categories$1 as Categories, type ChangeContext$1 as ChangeContext, type ChangeContextPayloadOneOf$1 as ChangeContextPayloadOneOf, type index_d$1_CloneScheduleOptions as CloneScheduleOptions, type index_d$1_CloneScheduleRequest as CloneScheduleRequest, type index_d$1_CloneScheduleResponse as CloneScheduleResponse, type index_d$1_CloneScheduleResponseNonNullableFields as CloneScheduleResponseNonNullableFields, type index_d$1_CommonIdentificationData as CommonIdentificationData, type index_d$1_CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOf, type index_d$1_ConferencingDetails as ConferencingDetails, type ConsentPolicy$1 as ConsentPolicy, type index_d$1_CreateScheduleOptions as CreateScheduleOptions, type index_d$1_CreateScheduleRequest as CreateScheduleRequest, type index_d$1_CreateScheduleResponse as CreateScheduleResponse, type index_d$1_CreateScheduleResponseNonNullableFields as CreateScheduleResponseNonNullableFields, type index_d$1_CursorPaging as CursorPaging, type index_d$1_CursorPagingMetadata as CursorPagingMetadata, type index_d$1_CursorQuery as CursorQuery, type index_d$1_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d$1_Cursors as Cursors, DayOfWeek$1 as DayOfWeek, type index_d$1_DeleteContext as DeleteContext, index_d$1_DeleteStatus as DeleteStatus, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_ExtendedFields as ExtendedFields, type GeoCoordinates$1 as GeoCoordinates, type index_d$1_GetScheduleOptions as GetScheduleOptions, type index_d$1_GetScheduleRequest as GetScheduleRequest, type index_d$1_GetScheduleResponse as GetScheduleResponse, type index_d$1_GetScheduleResponseNonNullableFields as GetScheduleResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, index_d$1_IdentityType as IdentityType, type Locale$1 as Locale, type index_d$1_Location as Location, index_d$1_LocationType as LocationType, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type Multilingual$1 as Multilingual, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_ParticipantNotification as ParticipantNotification, type index_d$1_Permission as Permission, PlacementType$1 as PlacementType, type Properties$1 as Properties, type PropertiesChange$1 as PropertiesChange, type index_d$1_QuerySchedulesOptions as QuerySchedulesOptions, type index_d$1_QuerySchedulesRequest as QuerySchedulesRequest, type index_d$1_QuerySchedulesResponse as QuerySchedulesResponse, type index_d$1_QuerySchedulesResponseNonNullableFields as QuerySchedulesResponseNonNullableFields, index_d$1_RequestedFields as RequestedFields, ResolutionMethod$1 as ResolutionMethod, type RestoreInfo$1 as RestoreInfo, index_d$1_Role as Role, type index_d$1_Schedule as Schedule, type index_d$1_ScheduleCancelled as ScheduleCancelled, type index_d$1_ScheduleCancelledEnvelope as ScheduleCancelledEnvelope, type index_d$1_ScheduleCloned as ScheduleCloned, type index_d$1_ScheduleClonedEnvelope as ScheduleClonedEnvelope, type index_d$1_ScheduleCreatedEnvelope as ScheduleCreatedEnvelope, type index_d$1_ScheduleNonNullableFields as ScheduleNonNullableFields, type index_d$1_ScheduleUpdatedEnvelope as ScheduleUpdatedEnvelope, type index_d$1_ScheduleUpdatedWithMetadata as ScheduleUpdatedWithMetadata, type index_d$1_SchedulesQueryBuilder as SchedulesQueryBuilder, type index_d$1_SchedulesQueryResult as SchedulesQueryResult, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, type SiteCloned$1 as SiteCloned, type SiteCreated$1 as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type SitePropertiesEvent$1 as SitePropertiesEvent, type SitePropertiesNotification$1 as SitePropertiesNotification, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, type SpecialHourPeriod$1 as SpecialHourPeriod, index_d$1_State as State, Status$1 as Status, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type SupportedLanguage$1 as SupportedLanguage, type TimePeriod$1 as TimePeriod, type Translation$1 as Translation, index_d$1_Trigger as Trigger, index_d$1_Type as Type, type index_d$1_UpdateSchedule as UpdateSchedule, type index_d$1_UpdateScheduleOptions as UpdateScheduleOptions, type index_d$1_UpdateScheduleRequest as UpdateScheduleRequest, type index_d$1_UpdateScheduleResponse as UpdateScheduleResponse, type index_d$1_UpdateScheduleResponseNonNullableFields as UpdateScheduleResponseNonNullableFields, type index_d$1_V4SiteCreated as V4SiteCreated, WebhookIdentityType$1 as WebhookIdentityType, type index_d$1__publicOnScheduleCancelledType as _publicOnScheduleCancelledType, type index_d$1__publicOnScheduleClonedType as _publicOnScheduleClonedType, type index_d$1__publicOnScheduleCreatedType as _publicOnScheduleCreatedType, type index_d$1__publicOnScheduleUpdatedType as _publicOnScheduleUpdatedType, index_d$1_cancelSchedule as cancelSchedule, index_d$1_cloneSchedule as cloneSchedule, index_d$1_createSchedule as createSchedule, index_d$1_getSchedule as getSchedule, index_d$1_onScheduleCancelled as onScheduleCancelled, index_d$1_onScheduleCloned as onScheduleCloned, index_d$1_onScheduleCreated as onScheduleCreated, index_d$1_onScheduleUpdated as onScheduleUpdated, onScheduleCancelled$1 as publicOnScheduleCancelled, onScheduleCloned$1 as publicOnScheduleCloned, onScheduleCreated$1 as publicOnScheduleCreated, onScheduleUpdated$1 as publicOnScheduleUpdated, index_d$1_querySchedules as querySchedules, index_d$1_updateSchedule as updateSchedule };
3496
3720
  }
3497
3721
 
3498
3722
  interface ScheduleTimeFrame {
@@ -4042,13 +4266,33 @@ interface ListScheduleTimeFramesOptions {
4042
4266
  timeZone?: string | null;
4043
4267
  }
4044
4268
 
4045
- declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4269
+ declare function getScheduleTimeFrame$1(httpClient: HttpClient): GetScheduleTimeFrameSignature;
4270
+ interface GetScheduleTimeFrameSignature {
4271
+ /**
4272
+ * Retrieves the schedule time frame by schedule ID.
4273
+ * @param - The schedule ID.
4274
+ * @returns The schedule time frame.
4275
+ */
4276
+ (_id: string | null, options?: GetScheduleTimeFrameOptions | undefined): Promise<ScheduleTimeFrame & ScheduleTimeFrameNonNullableFields>;
4277
+ }
4278
+ declare function listScheduleTimeFrames$1(httpClient: HttpClient): ListScheduleTimeFramesSignature;
4279
+ interface ListScheduleTimeFramesSignature {
4280
+ /**
4281
+ * Retrieves a list of schedule time frame by schedules ID.
4282
+ * @param - The schedule IDs.
4283
+ */
4284
+ (ids: string[], options?: ListScheduleTimeFramesOptions | undefined): Promise<ListScheduleTimeFramesResponse & ListScheduleTimeFramesResponseNonNullableFields>;
4285
+ }
4286
+ declare const onScheduleTimeFrameUpdated$1: EventDefinition<ScheduleTimeFrameUpdatedEnvelope, "wix.calendar.v3.schedule_time_frame_updated">;
4046
4287
 
4047
4288
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4048
4289
 
4049
- declare const getScheduleTimeFrame: ReturnType<typeof createRESTModule<typeof publicGetScheduleTimeFrame>>;
4050
- declare const listScheduleTimeFrames: ReturnType<typeof createRESTModule<typeof publicListScheduleTimeFrames>>;
4051
- declare const onScheduleTimeFrameUpdated: ReturnType<typeof createEventModule<typeof publicOnScheduleTimeFrameUpdated>>;
4290
+ declare const getScheduleTimeFrame: BuildRESTFunction<typeof getScheduleTimeFrame$1> & typeof getScheduleTimeFrame$1;
4291
+ declare const listScheduleTimeFrames: BuildRESTFunction<typeof listScheduleTimeFrames$1> & typeof listScheduleTimeFrames$1;
4292
+
4293
+ type _publicOnScheduleTimeFrameUpdatedType = typeof onScheduleTimeFrameUpdated$1;
4294
+ /** */
4295
+ declare const onScheduleTimeFrameUpdated: ReturnType<typeof createEventModule<_publicOnScheduleTimeFrameUpdatedType>>;
4052
4296
 
4053
4297
  type index_d_ActionEvent = ActionEvent;
4054
4298
  type index_d_Address = Address;
@@ -4106,11 +4350,12 @@ type index_d_Translation = Translation;
4106
4350
  type index_d_WebhookIdentityType = WebhookIdentityType;
4107
4351
  declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
4108
4352
  type index_d_ZonedDate = ZonedDate;
4353
+ type index_d__publicOnScheduleTimeFrameUpdatedType = _publicOnScheduleTimeFrameUpdatedType;
4109
4354
  declare const index_d_getScheduleTimeFrame: typeof getScheduleTimeFrame;
4110
4355
  declare const index_d_listScheduleTimeFrames: typeof listScheduleTimeFrames;
4111
4356
  declare const index_d_onScheduleTimeFrameUpdated: typeof onScheduleTimeFrameUpdated;
4112
4357
  declare namespace index_d {
4113
- export { type index_d_ActionEvent as ActionEvent, type index_d_Address as Address, type index_d_AddressHint as AddressHint, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BusinessSchedule as BusinessSchedule, type index_d_Categories as Categories, type index_d_ChangeContext as ChangeContext, type index_d_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type index_d_ConsentPolicy as ConsentPolicy, index_d_DayOfWeek as DayOfWeek, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_GeoCoordinates as GeoCoordinates, type index_d_GetScheduleTimeFrameOptions as GetScheduleTimeFrameOptions, type index_d_GetScheduleTimeFrameRequest as GetScheduleTimeFrameRequest, type index_d_GetScheduleTimeFrameResponse as GetScheduleTimeFrameResponse, type index_d_GetScheduleTimeFrameResponseNonNullableFields as GetScheduleTimeFrameResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ListScheduleTimeFramesOptions as ListScheduleTimeFramesOptions, type index_d_ListScheduleTimeFramesRequest as ListScheduleTimeFramesRequest, type index_d_ListScheduleTimeFramesResponse as ListScheduleTimeFramesResponse, type index_d_ListScheduleTimeFramesResponseNonNullableFields as ListScheduleTimeFramesResponseNonNullableFields, type index_d_Locale as Locale, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Multilingual as Multilingual, index_d_PlacementType as PlacementType, type index_d_Properties as Properties, type index_d_PropertiesChange as PropertiesChange, index_d_ResolutionMethod as ResolutionMethod, type index_d_RestoreInfo as RestoreInfo, type index_d_ScheduleTimeFrame as ScheduleTimeFrame, type index_d_ScheduleTimeFrameNonNullableFields as ScheduleTimeFrameNonNullableFields, type index_d_ScheduleTimeFrameUpdatedEnvelope as ScheduleTimeFrameUpdatedEnvelope, type index_d_ScheduleTimeFrameUpdatedWithMetadata as ScheduleTimeFrameUpdatedWithMetadata, type index_d_SiteCloned as SiteCloned, type index_d_SiteCreated as SiteCreated, type index_d_SitePropertiesEvent as SitePropertiesEvent, type index_d_SitePropertiesNotification as SitePropertiesNotification, type index_d_SpecialHourPeriod as SpecialHourPeriod, index_d_Status as Status, type index_d_SupportedLanguage as SupportedLanguage, type index_d_TimePeriod as TimePeriod, type index_d_Translation as Translation, index_d_WebhookIdentityType as WebhookIdentityType, type index_d_ZonedDate as ZonedDate, index_d_getScheduleTimeFrame as getScheduleTimeFrame, index_d_listScheduleTimeFrames as listScheduleTimeFrames, index_d_onScheduleTimeFrameUpdated as onScheduleTimeFrameUpdated };
4358
+ export { type index_d_ActionEvent as ActionEvent, type index_d_Address as Address, type index_d_AddressHint as AddressHint, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BusinessSchedule as BusinessSchedule, type index_d_Categories as Categories, type index_d_ChangeContext as ChangeContext, type index_d_ChangeContextPayloadOneOf as ChangeContextPayloadOneOf, type index_d_ConsentPolicy as ConsentPolicy, index_d_DayOfWeek as DayOfWeek, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_GeoCoordinates as GeoCoordinates, type index_d_GetScheduleTimeFrameOptions as GetScheduleTimeFrameOptions, type index_d_GetScheduleTimeFrameRequest as GetScheduleTimeFrameRequest, type index_d_GetScheduleTimeFrameResponse as GetScheduleTimeFrameResponse, type index_d_GetScheduleTimeFrameResponseNonNullableFields as GetScheduleTimeFrameResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ListScheduleTimeFramesOptions as ListScheduleTimeFramesOptions, type index_d_ListScheduleTimeFramesRequest as ListScheduleTimeFramesRequest, type index_d_ListScheduleTimeFramesResponse as ListScheduleTimeFramesResponse, type index_d_ListScheduleTimeFramesResponseNonNullableFields as ListScheduleTimeFramesResponseNonNullableFields, type index_d_Locale as Locale, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Multilingual as Multilingual, index_d_PlacementType as PlacementType, type index_d_Properties as Properties, type index_d_PropertiesChange as PropertiesChange, index_d_ResolutionMethod as ResolutionMethod, type index_d_RestoreInfo as RestoreInfo, type index_d_ScheduleTimeFrame as ScheduleTimeFrame, type index_d_ScheduleTimeFrameNonNullableFields as ScheduleTimeFrameNonNullableFields, type index_d_ScheduleTimeFrameUpdatedEnvelope as ScheduleTimeFrameUpdatedEnvelope, type index_d_ScheduleTimeFrameUpdatedWithMetadata as ScheduleTimeFrameUpdatedWithMetadata, type index_d_SiteCloned as SiteCloned, type index_d_SiteCreated as SiteCreated, type index_d_SitePropertiesEvent as SitePropertiesEvent, type index_d_SitePropertiesNotification as SitePropertiesNotification, type index_d_SpecialHourPeriod as SpecialHourPeriod, index_d_Status as Status, type index_d_SupportedLanguage as SupportedLanguage, type index_d_TimePeriod as TimePeriod, type index_d_Translation as Translation, index_d_WebhookIdentityType as WebhookIdentityType, type index_d_ZonedDate as ZonedDate, type index_d__publicOnScheduleTimeFrameUpdatedType as _publicOnScheduleTimeFrameUpdatedType, index_d_getScheduleTimeFrame as getScheduleTimeFrame, index_d_listScheduleTimeFrames as listScheduleTimeFrames, index_d_onScheduleTimeFrameUpdated as onScheduleTimeFrameUpdated, onScheduleTimeFrameUpdated$1 as publicOnScheduleTimeFrameUpdated };
4114
4359
  }
4115
4360
 
4116
4361
  export { index_d$2 as events, index_d as scheduleTimeFrames, index_d$1 as schedules };