@wix/calendar 1.0.47 → 1.0.48

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.48",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "@wix/calendar_event-views": "1.0.16",
25
- "@wix/calendar_events": "1.0.29",
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": "170bf682cee861a1454e5e166c5aa58a7221af02c180b518cd6e0dd9"
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;
@@ -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;