@wix/calendar 1.0.47 → 1.0.49

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.47",
3
+ "version": "1.0.49",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,8 +21,8 @@
21
21
  "type-bundles"
22
22
  ],
23
23
  "dependencies": {
24
- "@wix/calendar_event-views": "1.0.16",
25
- "@wix/calendar_events": "1.0.29",
24
+ "@wix/calendar_event-views": "1.0.17",
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
28
  "@wix/calendar_schedules": "1.0.24"
@@ -50,5 +50,5 @@
50
50
  "fqdn": ""
51
51
  }
52
52
  },
53
- "falconPackageHash": "3fbd617d2e709ea5c406b63331267e9fa33fab8153cd7ace9d643207"
53
+ "falconPackageHash": "8c113463f681ed7c409829d829cf66a61e03513d747ce42996678fe4"
54
54
  }
@@ -2247,11 +2247,11 @@ interface EventMetadata$4 extends BaseEventMetadata$4 {
2247
2247
  */
2248
2248
  entityEventSequence?: string | null;
2249
2249
  }
2250
- interface EventCreatedEnvelope {
2251
- entity: Event$1;
2250
+ interface EventCancelledEnvelope {
2251
+ data: EventCancelled;
2252
2252
  metadata: EventMetadata$4;
2253
2253
  }
2254
- interface EventUpdatedEnvelope {
2254
+ interface EventCreatedEnvelope {
2255
2255
  entity: Event$1;
2256
2256
  metadata: EventMetadata$4;
2257
2257
  }
@@ -2259,8 +2259,8 @@ interface EventRecurringSplitEnvelope {
2259
2259
  data: RecurringEventSplit;
2260
2260
  metadata: EventMetadata$4;
2261
2261
  }
2262
- interface EventCancelledEnvelope {
2263
- data: EventCancelled;
2262
+ interface EventUpdatedEnvelope {
2263
+ entity: Event$1;
2264
2264
  metadata: EventMetadata$4;
2265
2265
  }
2266
2266
  interface GetEventOptions {
@@ -3075,10 +3075,10 @@ interface ListEventsByMemberIdSignature {
3075
3075
  */
3076
3076
  (memberId: string | null, options?: ListEventsByMemberIdOptions | undefined): Promise<ListEventsByMemberIdResponse & ListEventsByMemberIdResponseNonNullableFields>;
3077
3077
  }
3078
+ declare const onEventCancelled$1: EventDefinition<EventCancelledEnvelope, "wix.calendar.v3.event_cancelled">;
3078
3079
  declare const onEventCreated$1: EventDefinition<EventCreatedEnvelope, "wix.calendar.v3.event_created">;
3079
- declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.calendar.v3.event_updated">;
3080
3080
  declare const onEventRecurringSplit$1: EventDefinition<EventRecurringSplitEnvelope, "wix.calendar.v3.event_recurring_split">;
3081
- declare const onEventCancelled$1: EventDefinition<EventCancelledEnvelope, "wix.calendar.v3.event_cancelled">;
3081
+ declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.calendar.v3.event_updated">;
3082
3082
 
3083
3083
  declare function createEventModule$4<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3084
3084
 
@@ -3096,26 +3096,26 @@ declare const bulkCancelEvent: MaybeContext<BuildRESTFunction<typeof bulkCancelE
3096
3096
  declare const listEventsByContactId: MaybeContext<BuildRESTFunction<typeof listEventsByContactId$1> & typeof listEventsByContactId$1>;
3097
3097
  declare const listEventsByMemberId: MaybeContext<BuildRESTFunction<typeof listEventsByMemberId$1> & typeof listEventsByMemberId$1>;
3098
3098
 
3099
- type _publicOnEventCreatedType = typeof onEventCreated$1;
3099
+ type _publicOnEventCancelledType = typeof onEventCancelled$1;
3100
3100
  /**
3101
- * Triggered when an event is created, including when an existing `MASTER`
3102
- * event is split.
3101
+ * Triggered when an event is canceled.
3103
3102
  *
3104
- * Not triggered when `INSTANCE` events are created. You can use the
3103
+ * Not triggered when `INSTANCE` events are canceled. You can use the
3105
3104
  * [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
3106
3105
  * to get notified about `INSTANCE` events.
3107
3106
  */
3108
- declare const onEventCreated: ReturnType<typeof createEventModule$4<_publicOnEventCreatedType>>;
3107
+ declare const onEventCancelled: ReturnType<typeof createEventModule$4<_publicOnEventCancelledType>>;
3109
3108
 
3110
- type _publicOnEventUpdatedType = typeof onEventUpdated$1;
3109
+ type _publicOnEventCreatedType = typeof onEventCreated$1;
3111
3110
  /**
3112
- * Triggered when an event is updated, including when it's canceled.
3111
+ * Triggered when an event is created, including when an existing `MASTER`
3112
+ * event is split.
3113
3113
  *
3114
- * Not triggered when `INSTANCE` events are updated. You can use the
3114
+ * Not triggered when `INSTANCE` events are created. You can use the
3115
3115
  * [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
3116
3116
  * to get notified about `INSTANCE` events.
3117
3117
  */
3118
- declare const onEventUpdated: ReturnType<typeof createEventModule$4<_publicOnEventUpdatedType>>;
3118
+ declare const onEventCreated: ReturnType<typeof createEventModule$4<_publicOnEventCreatedType>>;
3119
3119
 
3120
3120
  type _publicOnEventRecurringSplitType = typeof onEventRecurringSplit$1;
3121
3121
  /**
@@ -3123,15 +3123,15 @@ type _publicOnEventRecurringSplitType = typeof onEventRecurringSplit$1;
3123
3123
  */
3124
3124
  declare const onEventRecurringSplit: ReturnType<typeof createEventModule$4<_publicOnEventRecurringSplitType>>;
3125
3125
 
3126
- type _publicOnEventCancelledType = typeof onEventCancelled$1;
3126
+ type _publicOnEventUpdatedType = typeof onEventUpdated$1;
3127
3127
  /**
3128
- * Triggered when an event is canceled.
3128
+ * Triggered when an event is updated, including when it's canceled.
3129
3129
  *
3130
- * Not triggered when `INSTANCE` events are canceled. You can use the
3130
+ * Not triggered when `INSTANCE` events are updated. You can use the
3131
3131
  * [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
3132
3132
  * to get notified about `INSTANCE` events.
3133
3133
  */
3134
- declare const onEventCancelled: ReturnType<typeof createEventModule$4<_publicOnEventCancelledType>>;
3134
+ declare const onEventUpdated: ReturnType<typeof createEventModule$4<_publicOnEventUpdatedType>>;
3135
3135
 
3136
3136
  type context$4_ApplicationError = ApplicationError;
3137
3137
  type context$4_BulkActionMetadata = BulkActionMetadata;
@@ -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;
@@ -2247,11 +2247,11 @@ interface EventMetadata$4 extends BaseEventMetadata$4 {
2247
2247
  */
2248
2248
  entityEventSequence?: string | null;
2249
2249
  }
2250
- interface EventCreatedEnvelope {
2251
- entity: Event$1;
2250
+ interface EventCancelledEnvelope {
2251
+ data: EventCancelled;
2252
2252
  metadata: EventMetadata$4;
2253
2253
  }
2254
- interface EventUpdatedEnvelope {
2254
+ interface EventCreatedEnvelope {
2255
2255
  entity: Event$1;
2256
2256
  metadata: EventMetadata$4;
2257
2257
  }
@@ -2259,8 +2259,8 @@ interface EventRecurringSplitEnvelope {
2259
2259
  data: RecurringEventSplit;
2260
2260
  metadata: EventMetadata$4;
2261
2261
  }
2262
- interface EventCancelledEnvelope {
2263
- data: EventCancelled;
2262
+ interface EventUpdatedEnvelope {
2263
+ entity: Event$1;
2264
2264
  metadata: EventMetadata$4;
2265
2265
  }
2266
2266
  interface GetEventOptions {
@@ -3075,10 +3075,10 @@ interface ListEventsByMemberIdSignature {
3075
3075
  */
3076
3076
  (memberId: string | null, options?: ListEventsByMemberIdOptions | undefined): Promise<ListEventsByMemberIdResponse & ListEventsByMemberIdResponseNonNullableFields>;
3077
3077
  }
3078
+ declare const onEventCancelled$1: EventDefinition<EventCancelledEnvelope, "wix.calendar.v3.event_cancelled">;
3078
3079
  declare const onEventCreated$1: EventDefinition<EventCreatedEnvelope, "wix.calendar.v3.event_created">;
3079
- declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.calendar.v3.event_updated">;
3080
3080
  declare const onEventRecurringSplit$1: EventDefinition<EventRecurringSplitEnvelope, "wix.calendar.v3.event_recurring_split">;
3081
- declare const onEventCancelled$1: EventDefinition<EventCancelledEnvelope, "wix.calendar.v3.event_cancelled">;
3081
+ declare const onEventUpdated$1: EventDefinition<EventUpdatedEnvelope, "wix.calendar.v3.event_updated">;
3082
3082
 
3083
3083
  declare function createEventModule$4<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3084
3084
 
@@ -3096,26 +3096,26 @@ declare const bulkCancelEvent: MaybeContext<BuildRESTFunction<typeof bulkCancelE
3096
3096
  declare const listEventsByContactId: MaybeContext<BuildRESTFunction<typeof listEventsByContactId$1> & typeof listEventsByContactId$1>;
3097
3097
  declare const listEventsByMemberId: MaybeContext<BuildRESTFunction<typeof listEventsByMemberId$1> & typeof listEventsByMemberId$1>;
3098
3098
 
3099
- type _publicOnEventCreatedType = typeof onEventCreated$1;
3099
+ type _publicOnEventCancelledType = typeof onEventCancelled$1;
3100
3100
  /**
3101
- * Triggered when an event is created, including when an existing `MASTER`
3102
- * event is split.
3101
+ * Triggered when an event is canceled.
3103
3102
  *
3104
- * Not triggered when `INSTANCE` events are created. You can use the
3103
+ * Not triggered when `INSTANCE` events are canceled. You can use the
3105
3104
  * [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
3106
3105
  * to get notified about `INSTANCE` events.
3107
3106
  */
3108
- declare const onEventCreated: ReturnType<typeof createEventModule$4<_publicOnEventCreatedType>>;
3107
+ declare const onEventCancelled: ReturnType<typeof createEventModule$4<_publicOnEventCancelledType>>;
3109
3108
 
3110
- type _publicOnEventUpdatedType = typeof onEventUpdated$1;
3109
+ type _publicOnEventCreatedType = typeof onEventCreated$1;
3111
3110
  /**
3112
- * Triggered when an event is updated, including when it's canceled.
3111
+ * Triggered when an event is created, including when an existing `MASTER`
3112
+ * event is split.
3113
3113
  *
3114
- * Not triggered when `INSTANCE` events are updated. You can use the
3114
+ * Not triggered when `INSTANCE` events are created. You can use the
3115
3115
  * [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
3116
3116
  * to get notified about `INSTANCE` events.
3117
3117
  */
3118
- declare const onEventUpdated: ReturnType<typeof createEventModule$4<_publicOnEventUpdatedType>>;
3118
+ declare const onEventCreated: ReturnType<typeof createEventModule$4<_publicOnEventCreatedType>>;
3119
3119
 
3120
3120
  type _publicOnEventRecurringSplitType = typeof onEventRecurringSplit$1;
3121
3121
  /**
@@ -3123,15 +3123,15 @@ type _publicOnEventRecurringSplitType = typeof onEventRecurringSplit$1;
3123
3123
  */
3124
3124
  declare const onEventRecurringSplit: ReturnType<typeof createEventModule$4<_publicOnEventRecurringSplitType>>;
3125
3125
 
3126
- type _publicOnEventCancelledType = typeof onEventCancelled$1;
3126
+ type _publicOnEventUpdatedType = typeof onEventUpdated$1;
3127
3127
  /**
3128
- * Triggered when an event is canceled.
3128
+ * Triggered when an event is updated, including when it's canceled.
3129
3129
  *
3130
- * Not triggered when `INSTANCE` events are canceled. You can use the
3130
+ * Not triggered when `INSTANCE` events are updated. You can use the
3131
3131
  * [Events View API](https://dev.wix.com/docs/rest/business-management/calendar/event-views-v3/introduction)
3132
3132
  * to get notified about `INSTANCE` events.
3133
3133
  */
3134
- declare const onEventCancelled: ReturnType<typeof createEventModule$4<_publicOnEventCancelledType>>;
3134
+ declare const onEventUpdated: ReturnType<typeof createEventModule$4<_publicOnEventUpdatedType>>;
3135
3135
 
3136
3136
  type index_d$4_ApplicationError = ApplicationError;
3137
3137
  type index_d$4_BulkActionMetadata = BulkActionMetadata;
@@ -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;