@wix/calendar 1.0.48 → 1.0.50
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.50",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"type-bundles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wix/calendar_event-views": "1.0.
|
|
24
|
+
"@wix/calendar_event-views": "1.0.17",
|
|
25
25
|
"@wix/calendar_events": "1.0.30",
|
|
26
26
|
"@wix/calendar_participations": "1.0.12",
|
|
27
27
|
"@wix/calendar_schedule-time-frames": "1.0.20",
|
|
28
|
-
"@wix/calendar_schedules": "1.0.
|
|
28
|
+
"@wix/calendar_schedules": "1.0.25"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"glob": "^10.4.1",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": ""
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "49a264ce953f18be01eb883b6cfbfb1966b99c2e7073ae9a6ddde75c"
|
|
54
54
|
}
|
|
@@ -4066,14 +4066,14 @@ interface EventMetadata$3 extends BaseEventMetadata$3 {
|
|
|
4066
4066
|
*/
|
|
4067
4067
|
entityEventSequence?: string | null;
|
|
4068
4068
|
}
|
|
4069
|
-
interface EventsViewProjectionUpdatedEnvelope {
|
|
4070
|
-
data: EventsViewProjectionUpdated;
|
|
4071
|
-
metadata: EventMetadata$3;
|
|
4072
|
-
}
|
|
4073
4069
|
interface EventsViewExtendedEnvelope {
|
|
4074
4070
|
data: EventsViewExtended;
|
|
4075
4071
|
metadata: EventMetadata$3;
|
|
4076
4072
|
}
|
|
4073
|
+
interface EventsViewProjectionUpdatedEnvelope {
|
|
4074
|
+
data: EventsViewProjectionUpdated;
|
|
4075
|
+
metadata: EventMetadata$3;
|
|
4076
|
+
}
|
|
4077
4077
|
|
|
4078
4078
|
declare function getEventsView$1(httpClient: HttpClient): GetEventsViewSignature;
|
|
4079
4079
|
interface GetEventsViewSignature {
|
|
@@ -4085,25 +4085,13 @@ interface GetEventsViewSignature {
|
|
|
4085
4085
|
*/
|
|
4086
4086
|
(): Promise<GetEventsViewResponse>;
|
|
4087
4087
|
}
|
|
4088
|
-
declare const onEventsViewProjectionUpdated$1: EventDefinition<EventsViewProjectionUpdatedEnvelope, "wix.calendar.v3.events_view_projection_updated">;
|
|
4089
4088
|
declare const onEventsViewExtended$1: EventDefinition<EventsViewExtendedEnvelope, "wix.calendar.v3.events_view_extended">;
|
|
4089
|
+
declare const onEventsViewProjectionUpdated$1: EventDefinition<EventsViewProjectionUpdatedEnvelope, "wix.calendar.v3.events_view_projection_updated">;
|
|
4090
4090
|
|
|
4091
4091
|
declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
4092
4092
|
|
|
4093
4093
|
declare const getEventsView: MaybeContext<BuildRESTFunction<typeof getEventsView$1> & typeof getEventsView$1>;
|
|
4094
4094
|
|
|
4095
|
-
type _publicOnEventsViewProjectionUpdatedType = typeof onEventsViewProjectionUpdated$1;
|
|
4096
|
-
/**
|
|
4097
|
-
* Triggered when an [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)
|
|
4098
|
-
* is added to, removed from, or updated within the current event view. This includes cases when:
|
|
4099
|
-
* + A new event is created within the view.
|
|
4100
|
-
* + An existing event within the view is updated, including when it's rescheduled to start outside the view.
|
|
4101
|
-
* + An event within the view is deleted.
|
|
4102
|
-
* + An event previously outside the view is rescheduled to fall within it.
|
|
4103
|
-
* + The view is extended, bringing an existing event into scope.
|
|
4104
|
-
*/
|
|
4105
|
-
declare const onEventsViewProjectionUpdated: ReturnType<typeof createEventModule$3<_publicOnEventsViewProjectionUpdatedType>>;
|
|
4106
|
-
|
|
4107
4095
|
type _publicOnEventsViewExtendedType = typeof onEventsViewExtended$1;
|
|
4108
4096
|
/**
|
|
4109
4097
|
* Triggered when the current event view is extended.
|
|
@@ -4118,6 +4106,18 @@ type _publicOnEventsViewExtendedType = typeof onEventsViewExtended$1;
|
|
|
4118
4106
|
*/
|
|
4119
4107
|
declare const onEventsViewExtended: ReturnType<typeof createEventModule$3<_publicOnEventsViewExtendedType>>;
|
|
4120
4108
|
|
|
4109
|
+
type _publicOnEventsViewProjectionUpdatedType = typeof onEventsViewProjectionUpdated$1;
|
|
4110
|
+
/**
|
|
4111
|
+
* Triggered when an [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)
|
|
4112
|
+
* is added to, removed from, or updated within the current event view. This includes cases when:
|
|
4113
|
+
* + A new event is created within the view.
|
|
4114
|
+
* + An existing event within the view is updated, including when it's rescheduled to start outside the view.
|
|
4115
|
+
* + An event within the view is deleted.
|
|
4116
|
+
* + An event previously outside the view is rescheduled to fall within it.
|
|
4117
|
+
* + The view is extended, bringing an existing event into scope.
|
|
4118
|
+
*/
|
|
4119
|
+
declare const onEventsViewProjectionUpdated: ReturnType<typeof createEventModule$3<_publicOnEventsViewProjectionUpdatedType>>;
|
|
4120
|
+
|
|
4121
4121
|
type context$3_Day = Day;
|
|
4122
4122
|
declare const context$3_Day: typeof Day;
|
|
4123
4123
|
type context$3_Event = Event;
|
|
@@ -6015,20 +6015,20 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
6015
6015
|
*/
|
|
6016
6016
|
entityEventSequence?: string | null;
|
|
6017
6017
|
}
|
|
6018
|
-
interface
|
|
6019
|
-
|
|
6020
|
-
metadata: EventMetadata$1;
|
|
6021
|
-
}
|
|
6022
|
-
interface ScheduleUpdatedEnvelope {
|
|
6023
|
-
entity: Schedule;
|
|
6018
|
+
interface ScheduleCancelledEnvelope {
|
|
6019
|
+
data: ScheduleCancelled;
|
|
6024
6020
|
metadata: EventMetadata$1;
|
|
6025
6021
|
}
|
|
6026
6022
|
interface ScheduleClonedEnvelope {
|
|
6027
6023
|
data: ScheduleCloned;
|
|
6028
6024
|
metadata: EventMetadata$1;
|
|
6029
6025
|
}
|
|
6030
|
-
interface
|
|
6031
|
-
|
|
6026
|
+
interface ScheduleCreatedEnvelope {
|
|
6027
|
+
entity: Schedule;
|
|
6028
|
+
metadata: EventMetadata$1;
|
|
6029
|
+
}
|
|
6030
|
+
interface ScheduleUpdatedEnvelope {
|
|
6031
|
+
entity: Schedule;
|
|
6032
6032
|
metadata: EventMetadata$1;
|
|
6033
6033
|
}
|
|
6034
6034
|
interface GetScheduleOptions {
|
|
@@ -6309,10 +6309,10 @@ interface CancelScheduleSignature {
|
|
|
6309
6309
|
*/
|
|
6310
6310
|
(scheduleId: string | null, options?: CancelScheduleOptions | undefined): Promise<CancelScheduleResponse & CancelScheduleResponseNonNullableFields>;
|
|
6311
6311
|
}
|
|
6312
|
+
declare const onScheduleCancelled$1: EventDefinition<ScheduleCancelledEnvelope, "wix.calendar.v3.schedule_cancelled">;
|
|
6313
|
+
declare const onScheduleCloned$1: EventDefinition<ScheduleClonedEnvelope, "wix.calendar.v3.schedule_cloned">;
|
|
6312
6314
|
declare const onScheduleCreated$1: EventDefinition<ScheduleCreatedEnvelope, "wix.calendar.v3.schedule_created">;
|
|
6313
6315
|
declare const onScheduleUpdated$1: EventDefinition<ScheduleUpdatedEnvelope, "wix.calendar.v3.schedule_updated">;
|
|
6314
|
-
declare const onScheduleCloned$1: EventDefinition<ScheduleClonedEnvelope, "wix.calendar.v3.schedule_cloned">;
|
|
6315
|
-
declare const onScheduleCancelled$1: EventDefinition<ScheduleCancelledEnvelope, "wix.calendar.v3.schedule_cancelled">;
|
|
6316
6316
|
|
|
6317
6317
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
6318
6318
|
|
|
@@ -6322,17 +6322,11 @@ declare const createSchedule: MaybeContext<BuildRESTFunction<typeof createSchedu
|
|
|
6322
6322
|
declare const updateSchedule: MaybeContext<BuildRESTFunction<typeof updateSchedule$1> & typeof updateSchedule$1>;
|
|
6323
6323
|
declare const cancelSchedule: MaybeContext<BuildRESTFunction<typeof cancelSchedule$1> & typeof cancelSchedule$1>;
|
|
6324
6324
|
|
|
6325
|
-
type
|
|
6326
|
-
/**
|
|
6327
|
-
* Triggered when a schedule is created.
|
|
6328
|
-
*/
|
|
6329
|
-
declare const onScheduleCreated: ReturnType<typeof createEventModule$1<_publicOnScheduleCreatedType>>;
|
|
6330
|
-
|
|
6331
|
-
type _publicOnScheduleUpdatedType = typeof onScheduleUpdated$1;
|
|
6325
|
+
type _publicOnScheduleCancelledType = typeof onScheduleCancelled$1;
|
|
6332
6326
|
/**
|
|
6333
|
-
* Triggered when a schedule is
|
|
6327
|
+
* Triggered when a schedule is canceled.
|
|
6334
6328
|
*/
|
|
6335
|
-
declare const
|
|
6329
|
+
declare const onScheduleCancelled: ReturnType<typeof createEventModule$1<_publicOnScheduleCancelledType>>;
|
|
6336
6330
|
|
|
6337
6331
|
type _publicOnScheduleClonedType = typeof onScheduleCloned$1;
|
|
6338
6332
|
/**
|
|
@@ -6340,11 +6334,17 @@ type _publicOnScheduleClonedType = typeof onScheduleCloned$1;
|
|
|
6340
6334
|
*/
|
|
6341
6335
|
declare const onScheduleCloned: ReturnType<typeof createEventModule$1<_publicOnScheduleClonedType>>;
|
|
6342
6336
|
|
|
6343
|
-
type
|
|
6337
|
+
type _publicOnScheduleCreatedType = typeof onScheduleCreated$1;
|
|
6344
6338
|
/**
|
|
6345
|
-
* Triggered when a schedule is
|
|
6339
|
+
* Triggered when a schedule is created.
|
|
6346
6340
|
*/
|
|
6347
|
-
declare const
|
|
6341
|
+
declare const onScheduleCreated: ReturnType<typeof createEventModule$1<_publicOnScheduleCreatedType>>;
|
|
6342
|
+
|
|
6343
|
+
type _publicOnScheduleUpdatedType = typeof onScheduleUpdated$1;
|
|
6344
|
+
/**
|
|
6345
|
+
* Triggered when a schedule is updated.
|
|
6346
|
+
*/
|
|
6347
|
+
declare const onScheduleUpdated: ReturnType<typeof createEventModule$1<_publicOnScheduleUpdatedType>>;
|
|
6348
6348
|
|
|
6349
6349
|
type context$1_Asset = Asset;
|
|
6350
6350
|
type context$1_CancelScheduleOptions = CancelScheduleOptions;
|
|
@@ -4066,14 +4066,14 @@ interface EventMetadata$3 extends BaseEventMetadata$3 {
|
|
|
4066
4066
|
*/
|
|
4067
4067
|
entityEventSequence?: string | null;
|
|
4068
4068
|
}
|
|
4069
|
-
interface EventsViewProjectionUpdatedEnvelope {
|
|
4070
|
-
data: EventsViewProjectionUpdated;
|
|
4071
|
-
metadata: EventMetadata$3;
|
|
4072
|
-
}
|
|
4073
4069
|
interface EventsViewExtendedEnvelope {
|
|
4074
4070
|
data: EventsViewExtended;
|
|
4075
4071
|
metadata: EventMetadata$3;
|
|
4076
4072
|
}
|
|
4073
|
+
interface EventsViewProjectionUpdatedEnvelope {
|
|
4074
|
+
data: EventsViewProjectionUpdated;
|
|
4075
|
+
metadata: EventMetadata$3;
|
|
4076
|
+
}
|
|
4077
4077
|
|
|
4078
4078
|
declare function getEventsView$1(httpClient: HttpClient): GetEventsViewSignature;
|
|
4079
4079
|
interface GetEventsViewSignature {
|
|
@@ -4085,25 +4085,13 @@ interface GetEventsViewSignature {
|
|
|
4085
4085
|
*/
|
|
4086
4086
|
(): Promise<GetEventsViewResponse>;
|
|
4087
4087
|
}
|
|
4088
|
-
declare const onEventsViewProjectionUpdated$1: EventDefinition<EventsViewProjectionUpdatedEnvelope, "wix.calendar.v3.events_view_projection_updated">;
|
|
4089
4088
|
declare const onEventsViewExtended$1: EventDefinition<EventsViewExtendedEnvelope, "wix.calendar.v3.events_view_extended">;
|
|
4089
|
+
declare const onEventsViewProjectionUpdated$1: EventDefinition<EventsViewProjectionUpdatedEnvelope, "wix.calendar.v3.events_view_projection_updated">;
|
|
4090
4090
|
|
|
4091
4091
|
declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
4092
4092
|
|
|
4093
4093
|
declare const getEventsView: MaybeContext<BuildRESTFunction<typeof getEventsView$1> & typeof getEventsView$1>;
|
|
4094
4094
|
|
|
4095
|
-
type _publicOnEventsViewProjectionUpdatedType = typeof onEventsViewProjectionUpdated$1;
|
|
4096
|
-
/**
|
|
4097
|
-
* Triggered when an [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)
|
|
4098
|
-
* is added to, removed from, or updated within the current event view. This includes cases when:
|
|
4099
|
-
* + A new event is created within the view.
|
|
4100
|
-
* + An existing event within the view is updated, including when it's rescheduled to start outside the view.
|
|
4101
|
-
* + An event within the view is deleted.
|
|
4102
|
-
* + An event previously outside the view is rescheduled to fall within it.
|
|
4103
|
-
* + The view is extended, bringing an existing event into scope.
|
|
4104
|
-
*/
|
|
4105
|
-
declare const onEventsViewProjectionUpdated: ReturnType<typeof createEventModule$3<_publicOnEventsViewProjectionUpdatedType>>;
|
|
4106
|
-
|
|
4107
4095
|
type _publicOnEventsViewExtendedType = typeof onEventsViewExtended$1;
|
|
4108
4096
|
/**
|
|
4109
4097
|
* Triggered when the current event view is extended.
|
|
@@ -4118,6 +4106,18 @@ type _publicOnEventsViewExtendedType = typeof onEventsViewExtended$1;
|
|
|
4118
4106
|
*/
|
|
4119
4107
|
declare const onEventsViewExtended: ReturnType<typeof createEventModule$3<_publicOnEventsViewExtendedType>>;
|
|
4120
4108
|
|
|
4109
|
+
type _publicOnEventsViewProjectionUpdatedType = typeof onEventsViewProjectionUpdated$1;
|
|
4110
|
+
/**
|
|
4111
|
+
* Triggered when an [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)
|
|
4112
|
+
* is added to, removed from, or updated within the current event view. This includes cases when:
|
|
4113
|
+
* + A new event is created within the view.
|
|
4114
|
+
* + An existing event within the view is updated, including when it's rescheduled to start outside the view.
|
|
4115
|
+
* + An event within the view is deleted.
|
|
4116
|
+
* + An event previously outside the view is rescheduled to fall within it.
|
|
4117
|
+
* + The view is extended, bringing an existing event into scope.
|
|
4118
|
+
*/
|
|
4119
|
+
declare const onEventsViewProjectionUpdated: ReturnType<typeof createEventModule$3<_publicOnEventsViewProjectionUpdatedType>>;
|
|
4120
|
+
|
|
4121
4121
|
type index_d$3_Day = Day;
|
|
4122
4122
|
declare const index_d$3_Day: typeof Day;
|
|
4123
4123
|
type index_d$3_Event = Event;
|
|
@@ -6015,20 +6015,20 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
6015
6015
|
*/
|
|
6016
6016
|
entityEventSequence?: string | null;
|
|
6017
6017
|
}
|
|
6018
|
-
interface
|
|
6019
|
-
|
|
6020
|
-
metadata: EventMetadata$1;
|
|
6021
|
-
}
|
|
6022
|
-
interface ScheduleUpdatedEnvelope {
|
|
6023
|
-
entity: Schedule;
|
|
6018
|
+
interface ScheduleCancelledEnvelope {
|
|
6019
|
+
data: ScheduleCancelled;
|
|
6024
6020
|
metadata: EventMetadata$1;
|
|
6025
6021
|
}
|
|
6026
6022
|
interface ScheduleClonedEnvelope {
|
|
6027
6023
|
data: ScheduleCloned;
|
|
6028
6024
|
metadata: EventMetadata$1;
|
|
6029
6025
|
}
|
|
6030
|
-
interface
|
|
6031
|
-
|
|
6026
|
+
interface ScheduleCreatedEnvelope {
|
|
6027
|
+
entity: Schedule;
|
|
6028
|
+
metadata: EventMetadata$1;
|
|
6029
|
+
}
|
|
6030
|
+
interface ScheduleUpdatedEnvelope {
|
|
6031
|
+
entity: Schedule;
|
|
6032
6032
|
metadata: EventMetadata$1;
|
|
6033
6033
|
}
|
|
6034
6034
|
interface GetScheduleOptions {
|
|
@@ -6309,10 +6309,10 @@ interface CancelScheduleSignature {
|
|
|
6309
6309
|
*/
|
|
6310
6310
|
(scheduleId: string | null, options?: CancelScheduleOptions | undefined): Promise<CancelScheduleResponse & CancelScheduleResponseNonNullableFields>;
|
|
6311
6311
|
}
|
|
6312
|
+
declare const onScheduleCancelled$1: EventDefinition<ScheduleCancelledEnvelope, "wix.calendar.v3.schedule_cancelled">;
|
|
6313
|
+
declare const onScheduleCloned$1: EventDefinition<ScheduleClonedEnvelope, "wix.calendar.v3.schedule_cloned">;
|
|
6312
6314
|
declare const onScheduleCreated$1: EventDefinition<ScheduleCreatedEnvelope, "wix.calendar.v3.schedule_created">;
|
|
6313
6315
|
declare const onScheduleUpdated$1: EventDefinition<ScheduleUpdatedEnvelope, "wix.calendar.v3.schedule_updated">;
|
|
6314
|
-
declare const onScheduleCloned$1: EventDefinition<ScheduleClonedEnvelope, "wix.calendar.v3.schedule_cloned">;
|
|
6315
|
-
declare const onScheduleCancelled$1: EventDefinition<ScheduleCancelledEnvelope, "wix.calendar.v3.schedule_cancelled">;
|
|
6316
6316
|
|
|
6317
6317
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
6318
6318
|
|
|
@@ -6322,17 +6322,11 @@ declare const createSchedule: MaybeContext<BuildRESTFunction<typeof createSchedu
|
|
|
6322
6322
|
declare const updateSchedule: MaybeContext<BuildRESTFunction<typeof updateSchedule$1> & typeof updateSchedule$1>;
|
|
6323
6323
|
declare const cancelSchedule: MaybeContext<BuildRESTFunction<typeof cancelSchedule$1> & typeof cancelSchedule$1>;
|
|
6324
6324
|
|
|
6325
|
-
type
|
|
6326
|
-
/**
|
|
6327
|
-
* Triggered when a schedule is created.
|
|
6328
|
-
*/
|
|
6329
|
-
declare const onScheduleCreated: ReturnType<typeof createEventModule$1<_publicOnScheduleCreatedType>>;
|
|
6330
|
-
|
|
6331
|
-
type _publicOnScheduleUpdatedType = typeof onScheduleUpdated$1;
|
|
6325
|
+
type _publicOnScheduleCancelledType = typeof onScheduleCancelled$1;
|
|
6332
6326
|
/**
|
|
6333
|
-
* Triggered when a schedule is
|
|
6327
|
+
* Triggered when a schedule is canceled.
|
|
6334
6328
|
*/
|
|
6335
|
-
declare const
|
|
6329
|
+
declare const onScheduleCancelled: ReturnType<typeof createEventModule$1<_publicOnScheduleCancelledType>>;
|
|
6336
6330
|
|
|
6337
6331
|
type _publicOnScheduleClonedType = typeof onScheduleCloned$1;
|
|
6338
6332
|
/**
|
|
@@ -6340,11 +6334,17 @@ type _publicOnScheduleClonedType = typeof onScheduleCloned$1;
|
|
|
6340
6334
|
*/
|
|
6341
6335
|
declare const onScheduleCloned: ReturnType<typeof createEventModule$1<_publicOnScheduleClonedType>>;
|
|
6342
6336
|
|
|
6343
|
-
type
|
|
6337
|
+
type _publicOnScheduleCreatedType = typeof onScheduleCreated$1;
|
|
6344
6338
|
/**
|
|
6345
|
-
* Triggered when a schedule is
|
|
6339
|
+
* Triggered when a schedule is created.
|
|
6346
6340
|
*/
|
|
6347
|
-
declare const
|
|
6341
|
+
declare const onScheduleCreated: ReturnType<typeof createEventModule$1<_publicOnScheduleCreatedType>>;
|
|
6342
|
+
|
|
6343
|
+
type _publicOnScheduleUpdatedType = typeof onScheduleUpdated$1;
|
|
6344
|
+
/**
|
|
6345
|
+
* Triggered when a schedule is updated.
|
|
6346
|
+
*/
|
|
6347
|
+
declare const onScheduleUpdated: ReturnType<typeof createEventModule$1<_publicOnScheduleUpdatedType>>;
|
|
6348
6348
|
|
|
6349
6349
|
type index_d$1_Asset = Asset;
|
|
6350
6350
|
type index_d$1_CancelScheduleOptions = CancelScheduleOptions;
|