@wix/calendar 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/calendar",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
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.
|
|
22
|
-
"@wix/calendar_schedule-time-frames": "1.0.
|
|
23
|
-
"@wix/calendar_schedules": "1.0.
|
|
21
|
+
"@wix/calendar_events": "1.0.3",
|
|
22
|
+
"@wix/calendar_schedule-time-frames": "1.0.2",
|
|
23
|
+
"@wix/calendar_schedules": "1.0.3"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"glob": "^10.4.1",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"fqdn": ""
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
"falconPackageHash": "
|
|
47
|
+
"falconPackageHash": "d025c587c9a603968b76fb978534185c73b1814e7febf9a3ef5aa09d"
|
|
48
48
|
}
|
|
@@ -279,6 +279,7 @@ interface Location$1 {
|
|
|
279
279
|
* The location type.
|
|
280
280
|
* The possible values are:
|
|
281
281
|
* - `"BUSINESS"` event takes place at the business location.
|
|
282
|
+
* - `"CUSTOMER"` event takes place at the customer location.
|
|
282
283
|
* - `"CUSTOM"` event takes place at the custom location.
|
|
283
284
|
*/
|
|
284
285
|
type?: LocationType$1;
|
|
@@ -883,7 +884,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
|
|
|
883
884
|
slug?: string;
|
|
884
885
|
/** ID of the entity associated with the event. */
|
|
885
886
|
entityId?: string;
|
|
886
|
-
/** Event timestamp. */
|
|
887
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
887
888
|
eventTime?: Date;
|
|
888
889
|
/**
|
|
889
890
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1471,7 +1472,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
|
|
|
1471
1472
|
slug?: string;
|
|
1472
1473
|
/** ID of the entity associated with the event. */
|
|
1473
1474
|
entityId?: string;
|
|
1474
|
-
/** Event timestamp. */
|
|
1475
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1475
1476
|
eventTime?: Date;
|
|
1476
1477
|
/**
|
|
1477
1478
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -2226,6 +2227,7 @@ interface Location {
|
|
|
2226
2227
|
* The location type.
|
|
2227
2228
|
* The possible values are:
|
|
2228
2229
|
* - `"BUSINESS"` event takes place at the business location.
|
|
2230
|
+
* - `"CUSTOMER"` event takes place at the customer location.
|
|
2229
2231
|
* - `"CUSTOM"` event takes place at the custom location.
|
|
2230
2232
|
*/
|
|
2231
2233
|
type?: LocationType;
|
|
@@ -2668,7 +2670,9 @@ declare enum Namespace {
|
|
|
2668
2670
|
* There's a blank site behind the scene but it's blank).
|
|
2669
2671
|
* The Mobile company will be the owner of this namespace.
|
|
2670
2672
|
*/
|
|
2671
|
-
BRANDED_FIRST = "BRANDED_FIRST"
|
|
2673
|
+
BRANDED_FIRST = "BRANDED_FIRST",
|
|
2674
|
+
/** Nownia.com Siteless account management for Ai Scheduling Assistant. */
|
|
2675
|
+
NOWNIA = "NOWNIA"
|
|
2672
2676
|
}
|
|
2673
2677
|
/** Site transferred to another user. */
|
|
2674
2678
|
interface SiteTransferred {
|
|
@@ -3042,7 +3046,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
|
3042
3046
|
slug?: string;
|
|
3043
3047
|
/** ID of the entity associated with the event. */
|
|
3044
3048
|
entityId?: string;
|
|
3045
|
-
/** Event timestamp. */
|
|
3049
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
3046
3050
|
eventTime?: Date;
|
|
3047
3051
|
/**
|
|
3048
3052
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -3194,7 +3198,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
3194
3198
|
slug?: string;
|
|
3195
3199
|
/** ID of the entity associated with the event. */
|
|
3196
3200
|
entityId?: string;
|
|
3197
|
-
/** Event timestamp. */
|
|
3201
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
3198
3202
|
eventTime?: Date;
|
|
3199
3203
|
/**
|
|
3200
3204
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -3255,11 +3259,9 @@ interface SchedulesQueryBuilder {
|
|
|
3255
3259
|
* @param value - Value to compare against.
|
|
3256
3260
|
* @documentationMaturity preview
|
|
3257
3261
|
*/
|
|
3258
|
-
eq: (propertyName: '_id' | 'status' | 'appId', value: any) => SchedulesQueryBuilder;
|
|
3259
|
-
/** @documentationMaturity preview */
|
|
3260
|
-
in: (propertyName: '_id' | 'status' | 'appId', value: any) => SchedulesQueryBuilder;
|
|
3262
|
+
eq: (propertyName: '_id' | 'externalId' | 'status' | 'appId', value: any) => SchedulesQueryBuilder;
|
|
3261
3263
|
/** @documentationMaturity preview */
|
|
3262
|
-
|
|
3264
|
+
in: (propertyName: '_id' | 'externalId' | 'status' | 'appId', value: any) => SchedulesQueryBuilder;
|
|
3263
3265
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
3264
3266
|
* @documentationMaturity preview
|
|
3265
3267
|
*/
|
|
@@ -279,6 +279,7 @@ interface Location$1 {
|
|
|
279
279
|
* The location type.
|
|
280
280
|
* The possible values are:
|
|
281
281
|
* - `"BUSINESS"` event takes place at the business location.
|
|
282
|
+
* - `"CUSTOMER"` event takes place at the customer location.
|
|
282
283
|
* - `"CUSTOM"` event takes place at the custom location.
|
|
283
284
|
*/
|
|
284
285
|
type?: LocationType$1;
|
|
@@ -883,7 +884,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
|
|
|
883
884
|
slug?: string;
|
|
884
885
|
/** ID of the entity associated with the event. */
|
|
885
886
|
entityId?: string;
|
|
886
|
-
/** Event timestamp. */
|
|
887
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
887
888
|
eventTime?: Date;
|
|
888
889
|
/**
|
|
889
890
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1471,7 +1472,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
|
|
|
1471
1472
|
slug?: string;
|
|
1472
1473
|
/** ID of the entity associated with the event. */
|
|
1473
1474
|
entityId?: string;
|
|
1474
|
-
/** Event timestamp. */
|
|
1475
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1475
1476
|
eventTime?: Date;
|
|
1476
1477
|
/**
|
|
1477
1478
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -1940,6 +1941,7 @@ interface ListEventsByMemberIdOptions {
|
|
|
1940
1941
|
eventIds?: string[];
|
|
1941
1942
|
}
|
|
1942
1943
|
|
|
1944
|
+
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
1943
1945
|
interface HttpClient {
|
|
1944
1946
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
1945
1947
|
fetchWithAuth: typeof fetch;
|
|
@@ -1964,6 +1966,7 @@ type APIMetadata = {
|
|
|
1964
1966
|
entityFqdn?: string;
|
|
1965
1967
|
packageName?: string;
|
|
1966
1968
|
};
|
|
1969
|
+
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
1967
1970
|
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
1968
1971
|
__type: 'event-definition';
|
|
1969
1972
|
type: Type;
|
|
@@ -1972,6 +1975,8 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
|
1972
1975
|
__payload: Payload;
|
|
1973
1976
|
};
|
|
1974
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;
|
|
1975
1980
|
|
|
1976
1981
|
declare global {
|
|
1977
1982
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -1980,26 +1985,27 @@ declare global {
|
|
|
1980
1985
|
}
|
|
1981
1986
|
}
|
|
1982
1987
|
|
|
1983
|
-
declare
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
declare
|
|
1988
|
-
declare
|
|
1989
|
-
declare
|
|
1990
|
-
declare
|
|
1991
|
-
declare
|
|
1992
|
-
declare
|
|
1993
|
-
declare
|
|
1994
|
-
declare
|
|
1995
|
-
declare
|
|
1996
|
-
declare
|
|
1997
|
-
declare
|
|
1998
|
-
declare
|
|
1999
|
-
declare const
|
|
2000
|
-
declare const
|
|
2001
|
-
declare const
|
|
2002
|
-
declare const
|
|
1988
|
+
declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
1989
|
+
|
|
1990
|
+
declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
1991
|
+
|
|
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>>;
|
|
2003
2009
|
|
|
2004
2010
|
type index_d$2_ApplicationError = ApplicationError;
|
|
2005
2011
|
type index_d$2_BulkActionMetadata = BulkActionMetadata;
|
|
@@ -2117,7 +2123,7 @@ declare const index_d$2_restoreEventDefaults: typeof restoreEventDefaults;
|
|
|
2117
2123
|
declare const index_d$2_splitRecurringEvent: typeof splitRecurringEvent;
|
|
2118
2124
|
declare const index_d$2_updateEvent: typeof updateEvent;
|
|
2119
2125
|
declare namespace index_d$2 {
|
|
2120
|
-
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,
|
|
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 };
|
|
2121
2127
|
}
|
|
2122
2128
|
|
|
2123
2129
|
interface Schedule {
|
|
@@ -2221,6 +2227,7 @@ interface Location {
|
|
|
2221
2227
|
* The location type.
|
|
2222
2228
|
* The possible values are:
|
|
2223
2229
|
* - `"BUSINESS"` event takes place at the business location.
|
|
2230
|
+
* - `"CUSTOMER"` event takes place at the customer location.
|
|
2224
2231
|
* - `"CUSTOM"` event takes place at the custom location.
|
|
2225
2232
|
*/
|
|
2226
2233
|
type?: LocationType;
|
|
@@ -2663,7 +2670,9 @@ declare enum Namespace {
|
|
|
2663
2670
|
* There's a blank site behind the scene but it's blank).
|
|
2664
2671
|
* The Mobile company will be the owner of this namespace.
|
|
2665
2672
|
*/
|
|
2666
|
-
BRANDED_FIRST = "BRANDED_FIRST"
|
|
2673
|
+
BRANDED_FIRST = "BRANDED_FIRST",
|
|
2674
|
+
/** Nownia.com Siteless account management for Ai Scheduling Assistant. */
|
|
2675
|
+
NOWNIA = "NOWNIA"
|
|
2667
2676
|
}
|
|
2668
2677
|
/** Site transferred to another user. */
|
|
2669
2678
|
interface SiteTransferred {
|
|
@@ -3037,7 +3046,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
|
3037
3046
|
slug?: string;
|
|
3038
3047
|
/** ID of the entity associated with the event. */
|
|
3039
3048
|
entityId?: string;
|
|
3040
|
-
/** Event timestamp. */
|
|
3049
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
3041
3050
|
eventTime?: Date;
|
|
3042
3051
|
/**
|
|
3043
3052
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -3189,7 +3198,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
3189
3198
|
slug?: string;
|
|
3190
3199
|
/** ID of the entity associated with the event. */
|
|
3191
3200
|
entityId?: string;
|
|
3192
|
-
/** Event timestamp. */
|
|
3201
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
3193
3202
|
eventTime?: Date;
|
|
3194
3203
|
/**
|
|
3195
3204
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -3250,11 +3259,9 @@ interface SchedulesQueryBuilder {
|
|
|
3250
3259
|
* @param value - Value to compare against.
|
|
3251
3260
|
* @documentationMaturity preview
|
|
3252
3261
|
*/
|
|
3253
|
-
eq: (propertyName: '_id' | 'status' | 'appId', value: any) => SchedulesQueryBuilder;
|
|
3262
|
+
eq: (propertyName: '_id' | 'externalId' | 'status' | 'appId', value: any) => SchedulesQueryBuilder;
|
|
3254
3263
|
/** @documentationMaturity preview */
|
|
3255
|
-
in: (propertyName: '_id' | 'status' | 'appId', value: any) => SchedulesQueryBuilder;
|
|
3256
|
-
/** @documentationMaturity preview */
|
|
3257
|
-
exists: (propertyName: 'defaultLocation' | 'defaultConferencingDetails', value: boolean) => SchedulesQueryBuilder;
|
|
3264
|
+
in: (propertyName: '_id' | 'externalId' | 'status' | 'appId', value: any) => SchedulesQueryBuilder;
|
|
3258
3265
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
3259
3266
|
* @documentationMaturity preview
|
|
3260
3267
|
*/
|
|
@@ -3372,19 +3379,20 @@ interface CancelScheduleOptions {
|
|
|
3372
3379
|
participantNotification?: ParticipantNotification;
|
|
3373
3380
|
}
|
|
3374
3381
|
|
|
3375
|
-
declare
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
declare
|
|
3380
|
-
declare
|
|
3381
|
-
declare
|
|
3382
|
-
declare
|
|
3383
|
-
declare
|
|
3384
|
-
declare const
|
|
3385
|
-
declare const
|
|
3386
|
-
declare const
|
|
3387
|
-
declare const
|
|
3382
|
+
declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
3383
|
+
|
|
3384
|
+
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3385
|
+
|
|
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>>;
|
|
3388
3396
|
|
|
3389
3397
|
type index_d$1_Asset = Asset;
|
|
3390
3398
|
type index_d$1_CancelScheduleOptions = CancelScheduleOptions;
|
|
@@ -3484,7 +3492,7 @@ declare const index_d$1_onScheduleUpdated: typeof onScheduleUpdated;
|
|
|
3484
3492
|
declare const index_d$1_querySchedules: typeof querySchedules;
|
|
3485
3493
|
declare const index_d$1_updateSchedule: typeof updateSchedule;
|
|
3486
3494
|
declare namespace index_d$1 {
|
|
3487
|
-
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,
|
|
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 };
|
|
3488
3496
|
}
|
|
3489
3497
|
|
|
3490
3498
|
interface ScheduleTimeFrame {
|
|
@@ -4034,12 +4042,13 @@ interface ListScheduleTimeFramesOptions {
|
|
|
4034
4042
|
timeZone?: string | null;
|
|
4035
4043
|
}
|
|
4036
4044
|
|
|
4037
|
-
declare
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
declare
|
|
4042
|
-
declare const
|
|
4045
|
+
declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
4046
|
+
|
|
4047
|
+
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
4048
|
+
|
|
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>>;
|
|
4043
4052
|
|
|
4044
4053
|
type index_d_ActionEvent = ActionEvent;
|
|
4045
4054
|
type index_d_Address = Address;
|
|
@@ -4097,12 +4106,11 @@ type index_d_Translation = Translation;
|
|
|
4097
4106
|
type index_d_WebhookIdentityType = WebhookIdentityType;
|
|
4098
4107
|
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
|
4099
4108
|
type index_d_ZonedDate = ZonedDate;
|
|
4100
|
-
declare const index_d___metadata: typeof __metadata;
|
|
4101
4109
|
declare const index_d_getScheduleTimeFrame: typeof getScheduleTimeFrame;
|
|
4102
4110
|
declare const index_d_listScheduleTimeFrames: typeof listScheduleTimeFrames;
|
|
4103
4111
|
declare const index_d_onScheduleTimeFrameUpdated: typeof onScheduleTimeFrameUpdated;
|
|
4104
4112
|
declare namespace index_d {
|
|
4105
|
-
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,
|
|
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 };
|
|
4106
4114
|
}
|
|
4107
4115
|
|
|
4108
4116
|
export { index_d$2 as events, index_d as scheduleTimeFrames, index_d$1 as schedules };
|
|
@@ -279,6 +279,7 @@ interface Location$3 {
|
|
|
279
279
|
* The location type.
|
|
280
280
|
* The possible values are:
|
|
281
281
|
* - `"BUSINESS"` event takes place at the business location.
|
|
282
|
+
* - `"CUSTOMER"` event takes place at the customer location.
|
|
282
283
|
* - `"CUSTOM"` event takes place at the custom location.
|
|
283
284
|
*/
|
|
284
285
|
type?: LocationType$3;
|
|
@@ -1285,6 +1286,7 @@ interface Location$2 {
|
|
|
1285
1286
|
* The location type.
|
|
1286
1287
|
* The possible values are:
|
|
1287
1288
|
* - `"BUSINESS"` event takes place at the business location.
|
|
1289
|
+
* - `"CUSTOMER"` event takes place at the customer location.
|
|
1288
1290
|
* - `"CUSTOM"` event takes place at the custom location.
|
|
1289
1291
|
*/
|
|
1290
1292
|
type?: LocationType$2;
|
|
@@ -2166,6 +2168,7 @@ interface Location$1 {
|
|
|
2166
2168
|
* The location type.
|
|
2167
2169
|
* The possible values are:
|
|
2168
2170
|
* - `"BUSINESS"` event takes place at the business location.
|
|
2171
|
+
* - `"CUSTOMER"` event takes place at the customer location.
|
|
2169
2172
|
* - `"CUSTOM"` event takes place at the custom location.
|
|
2170
2173
|
*/
|
|
2171
2174
|
type?: LocationType$1;
|
|
@@ -2533,6 +2536,7 @@ interface Location {
|
|
|
2533
2536
|
* The location type.
|
|
2534
2537
|
* The possible values are:
|
|
2535
2538
|
* - `"BUSINESS"` event takes place at the business location.
|
|
2539
|
+
* - `"CUSTOMER"` event takes place at the customer location.
|
|
2536
2540
|
* - `"CUSTOM"` event takes place at the custom location.
|
|
2537
2541
|
*/
|
|
2538
2542
|
type?: LocationType;
|