@wix/calendar 1.0.1 → 1.0.2
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.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/calendar_events": "1.0.
|
|
21
|
+
"@wix/calendar_events": "1.0.1",
|
|
22
22
|
"@wix/calendar_schedule-time-frames": "1.0.0",
|
|
23
23
|
"@wix/calendar_schedules": "1.0.1"
|
|
24
24
|
},
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"fqdn": ""
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
"falconPackageHash": "
|
|
47
|
+
"falconPackageHash": "d7877638ae84ce16b4d3b542b4211f9a697a2236c159cf9e08e9199c"
|
|
48
48
|
}
|
|
@@ -1236,7 +1236,7 @@ interface ListEventsByContactIdRequest {
|
|
|
1236
1236
|
* The ID of the contact participating in the events.
|
|
1237
1237
|
* Required, unless `cursorPaging` is provided.
|
|
1238
1238
|
*/
|
|
1239
|
-
contactId
|
|
1239
|
+
contactId: string | null;
|
|
1240
1240
|
/**
|
|
1241
1241
|
* Local start date for which events are returned, in ISO-8601 format.
|
|
1242
1242
|
* E.g, `2024-01-01T00:00:00`.
|
|
@@ -1310,7 +1310,7 @@ interface ListEventsByMemberIdRequest {
|
|
|
1310
1310
|
*
|
|
1311
1311
|
* Required, unless `cursorPaging` is provided.
|
|
1312
1312
|
*/
|
|
1313
|
-
memberId
|
|
1313
|
+
memberId: string | null;
|
|
1314
1314
|
/**
|
|
1315
1315
|
* Local start date for which events are returned, in ISO-8601 format.
|
|
1316
1316
|
* E.g, `2024-01-01T00:00:00`.
|
|
@@ -1438,6 +1438,12 @@ interface BulkCancelEventResponseNonNullableFields {
|
|
|
1438
1438
|
results: BulkEventResultNonNullableFields[];
|
|
1439
1439
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
1440
1440
|
}
|
|
1441
|
+
interface ListEventsByContactIdResponseNonNullableFields {
|
|
1442
|
+
events: EventNonNullableFields[];
|
|
1443
|
+
}
|
|
1444
|
+
interface ListEventsByMemberIdResponseNonNullableFields {
|
|
1445
|
+
events: EventNonNullableFields[];
|
|
1446
|
+
}
|
|
1441
1447
|
interface BaseEventMetadata$2 {
|
|
1442
1448
|
/** App instance ID. */
|
|
1443
1449
|
instanceId?: string | null;
|
|
@@ -1876,6 +1882,63 @@ interface BulkCancelEventOptions {
|
|
|
1876
1882
|
*/
|
|
1877
1883
|
timeZone?: string | null;
|
|
1878
1884
|
}
|
|
1885
|
+
interface ListEventsByContactIdOptions {
|
|
1886
|
+
/**
|
|
1887
|
+
* Local start date for which events are returned, in ISO-8601 format.
|
|
1888
|
+
* E.g, `2024-01-01T00:00:00`.
|
|
1889
|
+
*
|
|
1890
|
+
* Required, unless `cursorPaging` is provided.
|
|
1891
|
+
*/
|
|
1892
|
+
fromLocalDate?: string | null;
|
|
1893
|
+
/**
|
|
1894
|
+
* Local end date for which events are returned, in ISO-8601 format.
|
|
1895
|
+
* E.g, `2024-01-7T00:00:00`.
|
|
1896
|
+
*
|
|
1897
|
+
* Required, unless `cursorPaging` is provided.
|
|
1898
|
+
* Max: 1 year after `fromLocalDate`.
|
|
1899
|
+
*/
|
|
1900
|
+
toLocalDate?: string | null;
|
|
1901
|
+
/**
|
|
1902
|
+
* The time zone, in IANA time zone format.
|
|
1903
|
+
* Default is the Wix Business time zone.
|
|
1904
|
+
*/
|
|
1905
|
+
timeZone?: string | null;
|
|
1906
|
+
/** Optional Wix app ID to filter events by. */
|
|
1907
|
+
appId?: string | null;
|
|
1908
|
+
/** Optional cursor to the next events page. */
|
|
1909
|
+
cursorPaging?: CommonCursorPaging;
|
|
1910
|
+
}
|
|
1911
|
+
interface ListEventsByMemberIdOptions {
|
|
1912
|
+
/**
|
|
1913
|
+
* Local start date for which events are returned, in ISO-8601 format.
|
|
1914
|
+
* E.g, `2024-01-01T00:00:00`.
|
|
1915
|
+
*
|
|
1916
|
+
* Required, unless `cursorPaging` or `eventIds` are provided.
|
|
1917
|
+
*/
|
|
1918
|
+
fromLocalDate?: string | null;
|
|
1919
|
+
/**
|
|
1920
|
+
* Local end date for which events are returned, in ISO-8601 format.
|
|
1921
|
+
* E.g, `2024-01-7T00:00:00`.
|
|
1922
|
+
*
|
|
1923
|
+
* Required, unless `cursorPaging` or `eventIds` are provided.
|
|
1924
|
+
* Max: 1 year after `fromLocalDate`.
|
|
1925
|
+
*/
|
|
1926
|
+
toLocalDate?: string | null;
|
|
1927
|
+
/**
|
|
1928
|
+
* The time zone, in IANA time zone format.
|
|
1929
|
+
* Default is the Wix Business time zone.
|
|
1930
|
+
*/
|
|
1931
|
+
timeZone?: string | null;
|
|
1932
|
+
/** Optional Wix app ID to filter events by. */
|
|
1933
|
+
appId?: string | null;
|
|
1934
|
+
/** Optional cursor to the next events page. */
|
|
1935
|
+
cursorPaging?: CommonCursorPaging;
|
|
1936
|
+
/**
|
|
1937
|
+
* Optional event IDs to filter events by.
|
|
1938
|
+
* If provided, other filters are ignored.
|
|
1939
|
+
*/
|
|
1940
|
+
eventIds?: string[];
|
|
1941
|
+
}
|
|
1879
1942
|
|
|
1880
1943
|
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
1881
1944
|
interface HttpClient {
|
|
@@ -1936,6 +1999,8 @@ declare const restoreEventDefaults: ReturnType<typeof createRESTModule$2<typeof
|
|
|
1936
1999
|
declare const splitRecurringEvent: ReturnType<typeof createRESTModule$2<typeof publicSplitRecurringEvent>>;
|
|
1937
2000
|
declare const cancelEvent: ReturnType<typeof createRESTModule$2<typeof publicCancelEvent>>;
|
|
1938
2001
|
declare const bulkCancelEvent: ReturnType<typeof createRESTModule$2<typeof publicBulkCancelEvent>>;
|
|
2002
|
+
declare const listEventsByContactId: ReturnType<typeof createRESTModule$2<typeof publicListEventsByContactId>>;
|
|
2003
|
+
declare const listEventsByMemberId: ReturnType<typeof createRESTModule$2<typeof publicListEventsByMemberId>>;
|
|
1939
2004
|
declare const onEventCreated: ReturnType<typeof createEventModule$2<typeof publicOnEventCreated>>;
|
|
1940
2005
|
declare const onEventUpdated: ReturnType<typeof createEventModule$2<typeof publicOnEventUpdated>>;
|
|
1941
2006
|
declare const onEventRecurringSplit: ReturnType<typeof createEventModule$2<typeof publicOnEventRecurringSplit>>;
|
|
@@ -1991,10 +2056,14 @@ type context$2_GetEventRequest = GetEventRequest;
|
|
|
1991
2056
|
type context$2_GetEventResponse = GetEventResponse;
|
|
1992
2057
|
type context$2_GetEventResponseNonNullableFields = GetEventResponseNonNullableFields;
|
|
1993
2058
|
type context$2_ItemMetadata = ItemMetadata;
|
|
2059
|
+
type context$2_ListEventsByContactIdOptions = ListEventsByContactIdOptions;
|
|
1994
2060
|
type context$2_ListEventsByContactIdRequest = ListEventsByContactIdRequest;
|
|
1995
2061
|
type context$2_ListEventsByContactIdResponse = ListEventsByContactIdResponse;
|
|
2062
|
+
type context$2_ListEventsByContactIdResponseNonNullableFields = ListEventsByContactIdResponseNonNullableFields;
|
|
2063
|
+
type context$2_ListEventsByMemberIdOptions = ListEventsByMemberIdOptions;
|
|
1996
2064
|
type context$2_ListEventsByMemberIdRequest = ListEventsByMemberIdRequest;
|
|
1997
2065
|
type context$2_ListEventsByMemberIdResponse = ListEventsByMemberIdResponse;
|
|
2066
|
+
type context$2_ListEventsByMemberIdResponseNonNullableFields = ListEventsByMemberIdResponseNonNullableFields;
|
|
1998
2067
|
type context$2_ListEventsOptions = ListEventsOptions;
|
|
1999
2068
|
type context$2_ListEventsRequest = ListEventsRequest;
|
|
2000
2069
|
type context$2_ListEventsResponse = ListEventsResponse;
|
|
@@ -2042,6 +2111,8 @@ declare const context$2_cancelEvent: typeof cancelEvent;
|
|
|
2042
2111
|
declare const context$2_createEvent: typeof createEvent;
|
|
2043
2112
|
declare const context$2_getEvent: typeof getEvent;
|
|
2044
2113
|
declare const context$2_listEvents: typeof listEvents;
|
|
2114
|
+
declare const context$2_listEventsByContactId: typeof listEventsByContactId;
|
|
2115
|
+
declare const context$2_listEventsByMemberId: typeof listEventsByMemberId;
|
|
2045
2116
|
declare const context$2_onEventCancelled: typeof onEventCancelled;
|
|
2046
2117
|
declare const context$2_onEventCreated: typeof onEventCreated;
|
|
2047
2118
|
declare const context$2_onEventRecurringSplit: typeof onEventRecurringSplit;
|
|
@@ -2051,7 +2122,7 @@ declare const context$2_restoreEventDefaults: typeof restoreEventDefaults;
|
|
|
2051
2122
|
declare const context$2_splitRecurringEvent: typeof splitRecurringEvent;
|
|
2052
2123
|
declare const context$2_updateEvent: typeof updateEvent;
|
|
2053
2124
|
declare namespace context$2 {
|
|
2054
|
-
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_ListEventsByContactIdRequest as ListEventsByContactIdRequest, type context$2_ListEventsByContactIdResponse as ListEventsByContactIdResponse, type context$2_ListEventsByMemberIdRequest as ListEventsByMemberIdRequest, type context$2_ListEventsByMemberIdResponse as ListEventsByMemberIdResponse, 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_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 };
|
|
2125
|
+
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 };
|
|
2055
2126
|
}
|
|
2056
2127
|
|
|
2057
2128
|
interface Schedule {
|
|
@@ -1236,7 +1236,7 @@ interface ListEventsByContactIdRequest {
|
|
|
1236
1236
|
* The ID of the contact participating in the events.
|
|
1237
1237
|
* Required, unless `cursorPaging` is provided.
|
|
1238
1238
|
*/
|
|
1239
|
-
contactId
|
|
1239
|
+
contactId: string | null;
|
|
1240
1240
|
/**
|
|
1241
1241
|
* Local start date for which events are returned, in ISO-8601 format.
|
|
1242
1242
|
* E.g, `2024-01-01T00:00:00`.
|
|
@@ -1310,7 +1310,7 @@ interface ListEventsByMemberIdRequest {
|
|
|
1310
1310
|
*
|
|
1311
1311
|
* Required, unless `cursorPaging` is provided.
|
|
1312
1312
|
*/
|
|
1313
|
-
memberId
|
|
1313
|
+
memberId: string | null;
|
|
1314
1314
|
/**
|
|
1315
1315
|
* Local start date for which events are returned, in ISO-8601 format.
|
|
1316
1316
|
* E.g, `2024-01-01T00:00:00`.
|
|
@@ -1438,6 +1438,12 @@ interface BulkCancelEventResponseNonNullableFields {
|
|
|
1438
1438
|
results: BulkEventResultNonNullableFields[];
|
|
1439
1439
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
1440
1440
|
}
|
|
1441
|
+
interface ListEventsByContactIdResponseNonNullableFields {
|
|
1442
|
+
events: EventNonNullableFields[];
|
|
1443
|
+
}
|
|
1444
|
+
interface ListEventsByMemberIdResponseNonNullableFields {
|
|
1445
|
+
events: EventNonNullableFields[];
|
|
1446
|
+
}
|
|
1441
1447
|
interface BaseEventMetadata$2 {
|
|
1442
1448
|
/** App instance ID. */
|
|
1443
1449
|
instanceId?: string | null;
|
|
@@ -1876,6 +1882,63 @@ interface BulkCancelEventOptions {
|
|
|
1876
1882
|
*/
|
|
1877
1883
|
timeZone?: string | null;
|
|
1878
1884
|
}
|
|
1885
|
+
interface ListEventsByContactIdOptions {
|
|
1886
|
+
/**
|
|
1887
|
+
* Local start date for which events are returned, in ISO-8601 format.
|
|
1888
|
+
* E.g, `2024-01-01T00:00:00`.
|
|
1889
|
+
*
|
|
1890
|
+
* Required, unless `cursorPaging` is provided.
|
|
1891
|
+
*/
|
|
1892
|
+
fromLocalDate?: string | null;
|
|
1893
|
+
/**
|
|
1894
|
+
* Local end date for which events are returned, in ISO-8601 format.
|
|
1895
|
+
* E.g, `2024-01-7T00:00:00`.
|
|
1896
|
+
*
|
|
1897
|
+
* Required, unless `cursorPaging` is provided.
|
|
1898
|
+
* Max: 1 year after `fromLocalDate`.
|
|
1899
|
+
*/
|
|
1900
|
+
toLocalDate?: string | null;
|
|
1901
|
+
/**
|
|
1902
|
+
* The time zone, in IANA time zone format.
|
|
1903
|
+
* Default is the Wix Business time zone.
|
|
1904
|
+
*/
|
|
1905
|
+
timeZone?: string | null;
|
|
1906
|
+
/** Optional Wix app ID to filter events by. */
|
|
1907
|
+
appId?: string | null;
|
|
1908
|
+
/** Optional cursor to the next events page. */
|
|
1909
|
+
cursorPaging?: CommonCursorPaging;
|
|
1910
|
+
}
|
|
1911
|
+
interface ListEventsByMemberIdOptions {
|
|
1912
|
+
/**
|
|
1913
|
+
* Local start date for which events are returned, in ISO-8601 format.
|
|
1914
|
+
* E.g, `2024-01-01T00:00:00`.
|
|
1915
|
+
*
|
|
1916
|
+
* Required, unless `cursorPaging` or `eventIds` are provided.
|
|
1917
|
+
*/
|
|
1918
|
+
fromLocalDate?: string | null;
|
|
1919
|
+
/**
|
|
1920
|
+
* Local end date for which events are returned, in ISO-8601 format.
|
|
1921
|
+
* E.g, `2024-01-7T00:00:00`.
|
|
1922
|
+
*
|
|
1923
|
+
* Required, unless `cursorPaging` or `eventIds` are provided.
|
|
1924
|
+
* Max: 1 year after `fromLocalDate`.
|
|
1925
|
+
*/
|
|
1926
|
+
toLocalDate?: string | null;
|
|
1927
|
+
/**
|
|
1928
|
+
* The time zone, in IANA time zone format.
|
|
1929
|
+
* Default is the Wix Business time zone.
|
|
1930
|
+
*/
|
|
1931
|
+
timeZone?: string | null;
|
|
1932
|
+
/** Optional Wix app ID to filter events by. */
|
|
1933
|
+
appId?: string | null;
|
|
1934
|
+
/** Optional cursor to the next events page. */
|
|
1935
|
+
cursorPaging?: CommonCursorPaging;
|
|
1936
|
+
/**
|
|
1937
|
+
* Optional event IDs to filter events by.
|
|
1938
|
+
* If provided, other filters are ignored.
|
|
1939
|
+
*/
|
|
1940
|
+
eventIds?: string[];
|
|
1941
|
+
}
|
|
1879
1942
|
|
|
1880
1943
|
interface HttpClient {
|
|
1881
1944
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
@@ -1931,6 +1994,8 @@ declare function restoreEventDefaults(httpClient: HttpClient): (eventId: string
|
|
|
1931
1994
|
declare function splitRecurringEvent(httpClient: HttpClient): (recurringEventId: string | null, splitLocalDate: string | null, options?: SplitRecurringEventOptions) => Promise<SplitRecurringEventResponse & SplitRecurringEventResponseNonNullableFields>;
|
|
1932
1995
|
declare function cancelEvent(httpClient: HttpClient): (eventId: string | null, options?: CancelEventOptions) => Promise<CancelEventResponse & CancelEventResponseNonNullableFields>;
|
|
1933
1996
|
declare function bulkCancelEvent(httpClient: HttpClient): (eventIds: string[], options?: BulkCancelEventOptions) => Promise<BulkCancelEventResponse & BulkCancelEventResponseNonNullableFields>;
|
|
1997
|
+
declare function listEventsByContactId(httpClient: HttpClient): (contactId: string | null, options?: ListEventsByContactIdOptions) => Promise<ListEventsByContactIdResponse & ListEventsByContactIdResponseNonNullableFields>;
|
|
1998
|
+
declare function listEventsByMemberId(httpClient: HttpClient): (memberId: string | null, options?: ListEventsByMemberIdOptions) => Promise<ListEventsByMemberIdResponse & ListEventsByMemberIdResponseNonNullableFields>;
|
|
1934
1999
|
declare const onEventCreated: EventDefinition<EventCreatedEnvelope, "wix.calendar.v3.event_created">;
|
|
1935
2000
|
declare const onEventUpdated: EventDefinition<EventUpdatedEnvelope, "wix.calendar.v3.event_updated">;
|
|
1936
2001
|
declare const onEventRecurringSplit: EventDefinition<EventRecurringSplitEnvelope, "wix.calendar.v3.event_recurring_split">;
|
|
@@ -1986,10 +2051,14 @@ type index_d$2_GetEventRequest = GetEventRequest;
|
|
|
1986
2051
|
type index_d$2_GetEventResponse = GetEventResponse;
|
|
1987
2052
|
type index_d$2_GetEventResponseNonNullableFields = GetEventResponseNonNullableFields;
|
|
1988
2053
|
type index_d$2_ItemMetadata = ItemMetadata;
|
|
2054
|
+
type index_d$2_ListEventsByContactIdOptions = ListEventsByContactIdOptions;
|
|
1989
2055
|
type index_d$2_ListEventsByContactIdRequest = ListEventsByContactIdRequest;
|
|
1990
2056
|
type index_d$2_ListEventsByContactIdResponse = ListEventsByContactIdResponse;
|
|
2057
|
+
type index_d$2_ListEventsByContactIdResponseNonNullableFields = ListEventsByContactIdResponseNonNullableFields;
|
|
2058
|
+
type index_d$2_ListEventsByMemberIdOptions = ListEventsByMemberIdOptions;
|
|
1991
2059
|
type index_d$2_ListEventsByMemberIdRequest = ListEventsByMemberIdRequest;
|
|
1992
2060
|
type index_d$2_ListEventsByMemberIdResponse = ListEventsByMemberIdResponse;
|
|
2061
|
+
type index_d$2_ListEventsByMemberIdResponseNonNullableFields = ListEventsByMemberIdResponseNonNullableFields;
|
|
1993
2062
|
type index_d$2_ListEventsOptions = ListEventsOptions;
|
|
1994
2063
|
type index_d$2_ListEventsRequest = ListEventsRequest;
|
|
1995
2064
|
type index_d$2_ListEventsResponse = ListEventsResponse;
|
|
@@ -2037,6 +2106,8 @@ declare const index_d$2_cancelEvent: typeof cancelEvent;
|
|
|
2037
2106
|
declare const index_d$2_createEvent: typeof createEvent;
|
|
2038
2107
|
declare const index_d$2_getEvent: typeof getEvent;
|
|
2039
2108
|
declare const index_d$2_listEvents: typeof listEvents;
|
|
2109
|
+
declare const index_d$2_listEventsByContactId: typeof listEventsByContactId;
|
|
2110
|
+
declare const index_d$2_listEventsByMemberId: typeof listEventsByMemberId;
|
|
2040
2111
|
declare const index_d$2_onEventCancelled: typeof onEventCancelled;
|
|
2041
2112
|
declare const index_d$2_onEventCreated: typeof onEventCreated;
|
|
2042
2113
|
declare const index_d$2_onEventRecurringSplit: typeof onEventRecurringSplit;
|
|
@@ -2046,7 +2117,7 @@ declare const index_d$2_restoreEventDefaults: typeof restoreEventDefaults;
|
|
|
2046
2117
|
declare const index_d$2_splitRecurringEvent: typeof splitRecurringEvent;
|
|
2047
2118
|
declare const index_d$2_updateEvent: typeof updateEvent;
|
|
2048
2119
|
declare namespace index_d$2 {
|
|
2049
|
-
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_ListEventsByContactIdRequest as ListEventsByContactIdRequest, type index_d$2_ListEventsByContactIdResponse as ListEventsByContactIdResponse, type index_d$2_ListEventsByMemberIdRequest as ListEventsByMemberIdRequest, type index_d$2_ListEventsByMemberIdResponse as ListEventsByMemberIdResponse, 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, __metadata$2 as __metadata, 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_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 };
|
|
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, __metadata$2 as __metadata, 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 };
|
|
2050
2121
|
}
|
|
2051
2122
|
|
|
2052
2123
|
interface Schedule {
|
|
@@ -790,6 +790,122 @@ interface BulkCancelEventResponse$1 {
|
|
|
790
790
|
/** Total successes and failures. */
|
|
791
791
|
bulkActionMetadata?: BulkActionMetadata$1;
|
|
792
792
|
}
|
|
793
|
+
interface ListEventsByContactIdRequest$1 {
|
|
794
|
+
/**
|
|
795
|
+
* The ID of the contact participating in the events.
|
|
796
|
+
* Required, unless `cursorPaging` is provided.
|
|
797
|
+
*/
|
|
798
|
+
contactId: string | null;
|
|
799
|
+
/**
|
|
800
|
+
* Local start date for which events are returned, in ISO-8601 format.
|
|
801
|
+
* E.g, `2024-01-01T00:00:00`.
|
|
802
|
+
*
|
|
803
|
+
* Required, unless `cursorPaging` is provided.
|
|
804
|
+
*/
|
|
805
|
+
fromLocalDate?: string | null;
|
|
806
|
+
/**
|
|
807
|
+
* Local end date for which events are returned, in ISO-8601 format.
|
|
808
|
+
* E.g, `2024-01-7T00:00:00`.
|
|
809
|
+
*
|
|
810
|
+
* Required, unless `cursorPaging` is provided.
|
|
811
|
+
* Max: 1 year after `fromLocalDate`.
|
|
812
|
+
*/
|
|
813
|
+
toLocalDate?: string | null;
|
|
814
|
+
/**
|
|
815
|
+
* The time zone, in IANA time zone format.
|
|
816
|
+
* Default is the Wix Business time zone.
|
|
817
|
+
*/
|
|
818
|
+
timeZone?: string | null;
|
|
819
|
+
/** Optional Wix app ID to filter events by. */
|
|
820
|
+
appId?: string | null;
|
|
821
|
+
/** Optional cursor to the next events page. */
|
|
822
|
+
cursorPaging?: CommonCursorPaging$1;
|
|
823
|
+
}
|
|
824
|
+
/** TODO Diverge */
|
|
825
|
+
interface CommonCursorPaging$1 {
|
|
826
|
+
/**
|
|
827
|
+
* Number of events to return.
|
|
828
|
+
* Defaults to `50`. Maximum `100`.
|
|
829
|
+
*/
|
|
830
|
+
limit?: number | null;
|
|
831
|
+
/**
|
|
832
|
+
* Pointer to the next or previous page in the list of results.
|
|
833
|
+
*
|
|
834
|
+
* You can get the relevant cursor token
|
|
835
|
+
* from the `pagingMetadata` object in the previous call's response.
|
|
836
|
+
* Not relevant for the first request.
|
|
837
|
+
*/
|
|
838
|
+
cursor?: string | null;
|
|
839
|
+
}
|
|
840
|
+
interface ListEventsByContactIdResponse$1 {
|
|
841
|
+
/** The participant events. */
|
|
842
|
+
events?: Event$1[];
|
|
843
|
+
/** Paging metadata. */
|
|
844
|
+
pagingMetadata?: CommonCursorPagingMetadata$1;
|
|
845
|
+
}
|
|
846
|
+
/** TODO Diverge */
|
|
847
|
+
interface CommonCursorPagingMetadata$1 {
|
|
848
|
+
/** Number of items returned in the response. */
|
|
849
|
+
count?: number | null;
|
|
850
|
+
/** Use these cursor to paginate between results. [Read more](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
|
|
851
|
+
cursors?: CommonCursors$1;
|
|
852
|
+
/**
|
|
853
|
+
* Indicates if there are more results after the current page.
|
|
854
|
+
* If `true`, another page of results can be retrieved.
|
|
855
|
+
* If `false`, this is the last page.
|
|
856
|
+
*/
|
|
857
|
+
hasNext?: boolean | null;
|
|
858
|
+
}
|
|
859
|
+
interface CommonCursors$1 {
|
|
860
|
+
/** Cursor pointing to next page in the list of results. */
|
|
861
|
+
next?: string | null;
|
|
862
|
+
}
|
|
863
|
+
interface ListEventsByMemberIdRequest$1 {
|
|
864
|
+
/**
|
|
865
|
+
* The ID of the member participating in the events.
|
|
866
|
+
*
|
|
867
|
+
* Can be `me` for the currently logged-in member ID.
|
|
868
|
+
* To retrieve other member events the `CALENDAR.EVENT_READ_PI` permission is required.
|
|
869
|
+
*
|
|
870
|
+
* Required, unless `cursorPaging` is provided.
|
|
871
|
+
*/
|
|
872
|
+
memberId: string | null;
|
|
873
|
+
/**
|
|
874
|
+
* Local start date for which events are returned, in ISO-8601 format.
|
|
875
|
+
* E.g, `2024-01-01T00:00:00`.
|
|
876
|
+
*
|
|
877
|
+
* Required, unless `cursorPaging` or `eventIds` are provided.
|
|
878
|
+
*/
|
|
879
|
+
fromLocalDate?: string | null;
|
|
880
|
+
/**
|
|
881
|
+
* Local end date for which events are returned, in ISO-8601 format.
|
|
882
|
+
* E.g, `2024-01-7T00:00:00`.
|
|
883
|
+
*
|
|
884
|
+
* Required, unless `cursorPaging` or `eventIds` are provided.
|
|
885
|
+
* Max: 1 year after `fromLocalDate`.
|
|
886
|
+
*/
|
|
887
|
+
toLocalDate?: string | null;
|
|
888
|
+
/**
|
|
889
|
+
* The time zone, in IANA time zone format.
|
|
890
|
+
* Default is the Wix Business time zone.
|
|
891
|
+
*/
|
|
892
|
+
timeZone?: string | null;
|
|
893
|
+
/** Optional Wix app ID to filter events by. */
|
|
894
|
+
appId?: string | null;
|
|
895
|
+
/** Optional cursor to the next events page. */
|
|
896
|
+
cursorPaging?: CommonCursorPaging$1;
|
|
897
|
+
/**
|
|
898
|
+
* Optional event IDs to filter events by.
|
|
899
|
+
* If provided, other filters are ignored.
|
|
900
|
+
*/
|
|
901
|
+
eventIds?: string[];
|
|
902
|
+
}
|
|
903
|
+
interface ListEventsByMemberIdResponse$1 {
|
|
904
|
+
/** The participant events. */
|
|
905
|
+
events?: Event$1[];
|
|
906
|
+
/** Paging metadata. */
|
|
907
|
+
pagingMetadata?: CommonCursorPagingMetadata$1;
|
|
908
|
+
}
|
|
793
909
|
interface RecurrenceRuleNonNullableFields$1 {
|
|
794
910
|
frequency: Frequency$1;
|
|
795
911
|
days: Day$1[];
|
|
@@ -881,6 +997,12 @@ interface BulkCancelEventResponseNonNullableFields$1 {
|
|
|
881
997
|
results: BulkEventResultNonNullableFields$1[];
|
|
882
998
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$1;
|
|
883
999
|
}
|
|
1000
|
+
interface ListEventsByContactIdResponseNonNullableFields$1 {
|
|
1001
|
+
events: EventNonNullableFields$1[];
|
|
1002
|
+
}
|
|
1003
|
+
interface ListEventsByMemberIdResponseNonNullableFields$1 {
|
|
1004
|
+
events: EventNonNullableFields$1[];
|
|
1005
|
+
}
|
|
884
1006
|
|
|
885
1007
|
interface Event {
|
|
886
1008
|
/**
|
|
@@ -1674,6 +1796,122 @@ interface BulkCancelEventResponse {
|
|
|
1674
1796
|
/** Total successes and failures. */
|
|
1675
1797
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1676
1798
|
}
|
|
1799
|
+
interface ListEventsByContactIdRequest {
|
|
1800
|
+
/**
|
|
1801
|
+
* The ID of the contact participating in the events.
|
|
1802
|
+
* Required, unless `cursorPaging` is provided.
|
|
1803
|
+
*/
|
|
1804
|
+
contactId: string | null;
|
|
1805
|
+
/**
|
|
1806
|
+
* Local start date for which events are returned, in ISO-8601 format.
|
|
1807
|
+
* E.g, `2024-01-01T00:00:00`.
|
|
1808
|
+
*
|
|
1809
|
+
* Required, unless `cursorPaging` is provided.
|
|
1810
|
+
*/
|
|
1811
|
+
fromLocalDate?: string | null;
|
|
1812
|
+
/**
|
|
1813
|
+
* Local end date for which events are returned, in ISO-8601 format.
|
|
1814
|
+
* E.g, `2024-01-7T00:00:00`.
|
|
1815
|
+
*
|
|
1816
|
+
* Required, unless `cursorPaging` is provided.
|
|
1817
|
+
* Max: 1 year after `fromLocalDate`.
|
|
1818
|
+
*/
|
|
1819
|
+
toLocalDate?: string | null;
|
|
1820
|
+
/**
|
|
1821
|
+
* The time zone, in IANA time zone format.
|
|
1822
|
+
* Default is the Wix Business time zone.
|
|
1823
|
+
*/
|
|
1824
|
+
timeZone?: string | null;
|
|
1825
|
+
/** Optional Wix app ID to filter events by. */
|
|
1826
|
+
appId?: string | null;
|
|
1827
|
+
/** Optional cursor to the next events page. */
|
|
1828
|
+
cursorPaging?: CommonCursorPaging;
|
|
1829
|
+
}
|
|
1830
|
+
/** TODO Diverge */
|
|
1831
|
+
interface CommonCursorPaging {
|
|
1832
|
+
/**
|
|
1833
|
+
* Number of events to return.
|
|
1834
|
+
* Defaults to `50`. Maximum `100`.
|
|
1835
|
+
*/
|
|
1836
|
+
limit?: number | null;
|
|
1837
|
+
/**
|
|
1838
|
+
* Pointer to the next or previous page in the list of results.
|
|
1839
|
+
*
|
|
1840
|
+
* You can get the relevant cursor token
|
|
1841
|
+
* from the `pagingMetadata` object in the previous call's response.
|
|
1842
|
+
* Not relevant for the first request.
|
|
1843
|
+
*/
|
|
1844
|
+
cursor?: string | null;
|
|
1845
|
+
}
|
|
1846
|
+
interface ListEventsByContactIdResponse {
|
|
1847
|
+
/** The participant events. */
|
|
1848
|
+
events?: Event[];
|
|
1849
|
+
/** Paging metadata. */
|
|
1850
|
+
pagingMetadata?: CommonCursorPagingMetadata;
|
|
1851
|
+
}
|
|
1852
|
+
/** TODO Diverge */
|
|
1853
|
+
interface CommonCursorPagingMetadata {
|
|
1854
|
+
/** Number of items returned in the response. */
|
|
1855
|
+
count?: number | null;
|
|
1856
|
+
/** Use these cursor to paginate between results. [Read more](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
|
|
1857
|
+
cursors?: CommonCursors;
|
|
1858
|
+
/**
|
|
1859
|
+
* Indicates if there are more results after the current page.
|
|
1860
|
+
* If `true`, another page of results can be retrieved.
|
|
1861
|
+
* If `false`, this is the last page.
|
|
1862
|
+
*/
|
|
1863
|
+
hasNext?: boolean | null;
|
|
1864
|
+
}
|
|
1865
|
+
interface CommonCursors {
|
|
1866
|
+
/** Cursor pointing to next page in the list of results. */
|
|
1867
|
+
next?: string | null;
|
|
1868
|
+
}
|
|
1869
|
+
interface ListEventsByMemberIdRequest {
|
|
1870
|
+
/**
|
|
1871
|
+
* The ID of the member participating in the events.
|
|
1872
|
+
*
|
|
1873
|
+
* Can be `me` for the currently logged-in member ID.
|
|
1874
|
+
* To retrieve other member events the `CALENDAR.EVENT_READ_PI` permission is required.
|
|
1875
|
+
*
|
|
1876
|
+
* Required, unless `cursorPaging` is provided.
|
|
1877
|
+
*/
|
|
1878
|
+
memberId: string | null;
|
|
1879
|
+
/**
|
|
1880
|
+
* Local start date for which events are returned, in ISO-8601 format.
|
|
1881
|
+
* E.g, `2024-01-01T00:00:00`.
|
|
1882
|
+
*
|
|
1883
|
+
* Required, unless `cursorPaging` or `eventIds` are provided.
|
|
1884
|
+
*/
|
|
1885
|
+
fromLocalDate?: string | null;
|
|
1886
|
+
/**
|
|
1887
|
+
* Local end date for which events are returned, in ISO-8601 format.
|
|
1888
|
+
* E.g, `2024-01-7T00:00:00`.
|
|
1889
|
+
*
|
|
1890
|
+
* Required, unless `cursorPaging` or `eventIds` are provided.
|
|
1891
|
+
* Max: 1 year after `fromLocalDate`.
|
|
1892
|
+
*/
|
|
1893
|
+
toLocalDate?: string | null;
|
|
1894
|
+
/**
|
|
1895
|
+
* The time zone, in IANA time zone format.
|
|
1896
|
+
* Default is the Wix Business time zone.
|
|
1897
|
+
*/
|
|
1898
|
+
timeZone?: string | null;
|
|
1899
|
+
/** Optional Wix app ID to filter events by. */
|
|
1900
|
+
appId?: string | null;
|
|
1901
|
+
/** Optional cursor to the next events page. */
|
|
1902
|
+
cursorPaging?: CommonCursorPaging;
|
|
1903
|
+
/**
|
|
1904
|
+
* Optional event IDs to filter events by.
|
|
1905
|
+
* If provided, other filters are ignored.
|
|
1906
|
+
*/
|
|
1907
|
+
eventIds?: string[];
|
|
1908
|
+
}
|
|
1909
|
+
interface ListEventsByMemberIdResponse {
|
|
1910
|
+
/** The participant events. */
|
|
1911
|
+
events?: Event[];
|
|
1912
|
+
/** Paging metadata. */
|
|
1913
|
+
pagingMetadata?: CommonCursorPagingMetadata;
|
|
1914
|
+
}
|
|
1677
1915
|
interface RecurrenceRuleNonNullableFields {
|
|
1678
1916
|
frequency: Frequency;
|
|
1679
1917
|
days: Day[];
|
|
@@ -1765,6 +2003,12 @@ interface BulkCancelEventResponseNonNullableFields {
|
|
|
1765
2003
|
results: BulkEventResultNonNullableFields[];
|
|
1766
2004
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
1767
2005
|
}
|
|
2006
|
+
interface ListEventsByContactIdResponseNonNullableFields {
|
|
2007
|
+
events: EventNonNullableFields[];
|
|
2008
|
+
}
|
|
2009
|
+
interface ListEventsByMemberIdResponseNonNullableFields {
|
|
2010
|
+
events: EventNonNullableFields[];
|
|
2011
|
+
}
|
|
1768
2012
|
|
|
1769
2013
|
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1770
2014
|
getUrl: (context: any) => string;
|
|
@@ -1797,6 +2041,12 @@ declare function cancelEvent(): __PublicMethodMetaInfo$2<'POST', {
|
|
|
1797
2041
|
eventId: string;
|
|
1798
2042
|
}, CancelEventRequest, CancelEventRequest$1, CancelEventResponse & CancelEventResponseNonNullableFields, CancelEventResponse$1 & CancelEventResponseNonNullableFields$1>;
|
|
1799
2043
|
declare function bulkCancelEvent(): __PublicMethodMetaInfo$2<'POST', {}, BulkCancelEventRequest, BulkCancelEventRequest$1, BulkCancelEventResponse & BulkCancelEventResponseNonNullableFields, BulkCancelEventResponse$1 & BulkCancelEventResponseNonNullableFields$1>;
|
|
2044
|
+
declare function listEventsByContactId(): __PublicMethodMetaInfo$2<'GET', {
|
|
2045
|
+
contactId: string;
|
|
2046
|
+
}, ListEventsByContactIdRequest, ListEventsByContactIdRequest$1, ListEventsByContactIdResponse & ListEventsByContactIdResponseNonNullableFields, ListEventsByContactIdResponse$1 & ListEventsByContactIdResponseNonNullableFields$1>;
|
|
2047
|
+
declare function listEventsByMemberId(): __PublicMethodMetaInfo$2<'GET', {
|
|
2048
|
+
memberId: string;
|
|
2049
|
+
}, ListEventsByMemberIdRequest, ListEventsByMemberIdRequest$1, ListEventsByMemberIdResponse & ListEventsByMemberIdResponseNonNullableFields, ListEventsByMemberIdResponse$1 & ListEventsByMemberIdResponseNonNullableFields$1>;
|
|
1800
2050
|
|
|
1801
2051
|
declare const meta$2_bulkCancelEvent: typeof bulkCancelEvent;
|
|
1802
2052
|
declare const meta$2_bulkCreateEvent: typeof bulkCreateEvent;
|
|
@@ -1805,12 +2055,14 @@ declare const meta$2_cancelEvent: typeof cancelEvent;
|
|
|
1805
2055
|
declare const meta$2_createEvent: typeof createEvent;
|
|
1806
2056
|
declare const meta$2_getEvent: typeof getEvent;
|
|
1807
2057
|
declare const meta$2_listEvents: typeof listEvents;
|
|
2058
|
+
declare const meta$2_listEventsByContactId: typeof listEventsByContactId;
|
|
2059
|
+
declare const meta$2_listEventsByMemberId: typeof listEventsByMemberId;
|
|
1808
2060
|
declare const meta$2_queryEvents: typeof queryEvents;
|
|
1809
2061
|
declare const meta$2_restoreEventDefaults: typeof restoreEventDefaults;
|
|
1810
2062
|
declare const meta$2_splitRecurringEvent: typeof splitRecurringEvent;
|
|
1811
2063
|
declare const meta$2_updateEvent: typeof updateEvent;
|
|
1812
2064
|
declare namespace meta$2 {
|
|
1813
|
-
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_bulkCancelEvent as bulkCancelEvent, meta$2_bulkCreateEvent as bulkCreateEvent, meta$2_bulkUpdateEvent as bulkUpdateEvent, meta$2_cancelEvent as cancelEvent, meta$2_createEvent as createEvent, meta$2_getEvent as getEvent, meta$2_listEvents as listEvents, meta$2_queryEvents as queryEvents, meta$2_restoreEventDefaults as restoreEventDefaults, meta$2_splitRecurringEvent as splitRecurringEvent, meta$2_updateEvent as updateEvent };
|
|
2065
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_bulkCancelEvent as bulkCancelEvent, meta$2_bulkCreateEvent as bulkCreateEvent, meta$2_bulkUpdateEvent as bulkUpdateEvent, meta$2_cancelEvent as cancelEvent, meta$2_createEvent as createEvent, meta$2_getEvent as getEvent, meta$2_listEvents as listEvents, meta$2_listEventsByContactId as listEventsByContactId, meta$2_listEventsByMemberId as listEventsByMemberId, meta$2_queryEvents as queryEvents, meta$2_restoreEventDefaults as restoreEventDefaults, meta$2_splitRecurringEvent as splitRecurringEvent, meta$2_updateEvent as updateEvent };
|
|
1814
2066
|
}
|
|
1815
2067
|
|
|
1816
2068
|
interface Schedule$1 {
|