@wix/events 1.0.342 → 1.0.344

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/events",
3
- "version": "1.0.342",
3
+ "version": "1.0.344",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -27,7 +27,7 @@
27
27
  "@wix/events_notifications": "1.0.43",
28
28
  "@wix/events_orders": "1.0.61",
29
29
  "@wix/events_policies": "1.0.49",
30
- "@wix/events_ricos": "1.0.19",
30
+ "@wix/events_ricos": "1.0.20",
31
31
  "@wix/events_rsvp": "1.0.53",
32
32
  "@wix/events_rsvp-v-2": "1.0.24",
33
33
  "@wix/events_schedule": "1.0.47",
@@ -36,7 +36,7 @@
36
36
  "@wix/events_ticket-definitions": "1.0.56",
37
37
  "@wix/events_ticket-definitions-v-2": "1.0.72",
38
38
  "@wix/events_tickets": "1.0.51",
39
- "@wix/events_wix-events-v-2": "1.0.64"
39
+ "@wix/events_wix-events-v-2": "1.0.65"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "^10.4.1",
@@ -61,5 +61,5 @@
61
61
  "fqdn": ""
62
62
  }
63
63
  },
64
- "falconPackageHash": "69dc06f421a16b3211a816e68c2a6b3ceca70dfca3ff0142d0aba429"
64
+ "falconPackageHash": "b604342001ec316006527998fb5b425e22927521e06801c405ed4ca6"
65
65
  }
@@ -10797,7 +10797,7 @@ interface RichContent {
10797
10797
  _updatedDate?: Date | null;
10798
10798
  /** ID of the event to which rich content is applied. */
10799
10799
  eventId?: string | null;
10800
- /** Field name which value uses rich content. For the [`detailedDescription`](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/event-object) field use the `about` value. */
10800
+ /** Field name which value uses rich content. For the event description use the `about` value. */
10801
10801
  fieldName?: string | null;
10802
10802
  /**
10803
10803
  * Rich content of the event description.
@@ -12832,11 +12832,11 @@ interface RichContentCreatedEnvelope {
12832
12832
  entity: RichContent;
12833
12833
  metadata: EventMetadata$3;
12834
12834
  }
12835
- interface RichContentUpdatedEnvelope {
12835
+ interface RichContentDeletedEnvelope {
12836
12836
  entity: RichContent;
12837
12837
  metadata: EventMetadata$3;
12838
12838
  }
12839
- interface RichContentDeletedEnvelope {
12839
+ interface RichContentUpdatedEnvelope {
12840
12840
  entity: RichContent;
12841
12841
  metadata: EventMetadata$3;
12842
12842
  }
@@ -12869,7 +12869,7 @@ interface UpdateRichContent {
12869
12869
  _updatedDate?: Date | null;
12870
12870
  /** ID of the event to which rich content is applied. */
12871
12871
  eventId?: string | null;
12872
- /** Field name which value uses rich content. For the [`detailedDescription`](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/event-object) field use the `about` value. */
12872
+ /** Field name which value uses rich content. For the event description use the `about` value. */
12873
12873
  fieldName?: string | null;
12874
12874
  /**
12875
12875
  * Rich content of the event description.
@@ -12953,7 +12953,7 @@ interface CreateRichContentSignature {
12953
12953
  /**
12954
12954
  * Creates rich content for an event description.
12955
12955
  *
12956
- * This method passes rich content value to the `detailedDescription` field of an already created event.
12956
+ * This method passes rich content value to the description of an already created event.
12957
12957
  * @param - Rich content info.
12958
12958
  * @returns Created rich content.
12959
12959
  */
@@ -13015,8 +13015,8 @@ interface QueryRichContentSignature {
13015
13015
  (): RichContentQueryBuilder;
13016
13016
  }
13017
13017
  declare const onRichContentCreated$1: EventDefinition<RichContentCreatedEnvelope, "wix.events.v1.rich_content_created">;
13018
- declare const onRichContentUpdated$1: EventDefinition<RichContentUpdatedEnvelope, "wix.events.v1.rich_content_updated">;
13019
13018
  declare const onRichContentDeleted$1: EventDefinition<RichContentDeletedEnvelope, "wix.events.v1.rich_content_deleted">;
13019
+ declare const onRichContentUpdated$1: EventDefinition<RichContentUpdatedEnvelope, "wix.events.v1.rich_content_updated">;
13020
13020
 
13021
13021
  declare function createEventModule$6<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
13022
13022
 
@@ -13034,18 +13034,18 @@ type _publicOnRichContentCreatedType = typeof onRichContentCreated$1;
13034
13034
  */
13035
13035
  declare const onRichContentCreated: ReturnType<typeof createEventModule$6<_publicOnRichContentCreatedType>>;
13036
13036
 
13037
- type _publicOnRichContentUpdatedType = typeof onRichContentUpdated$1;
13038
- /**
13039
- * Triggered when rich content is updated.
13040
- */
13041
- declare const onRichContentUpdated: ReturnType<typeof createEventModule$6<_publicOnRichContentUpdatedType>>;
13042
-
13043
13037
  type _publicOnRichContentDeletedType = typeof onRichContentDeleted$1;
13044
13038
  /**
13045
13039
  * Triggered when rich content is deleted.
13046
13040
  */
13047
13041
  declare const onRichContentDeleted: ReturnType<typeof createEventModule$6<_publicOnRichContentDeletedType>>;
13048
13042
 
13043
+ type _publicOnRichContentUpdatedType = typeof onRichContentUpdated$1;
13044
+ /**
13045
+ * Triggered when rich content is updated.
13046
+ */
13047
+ declare const onRichContentUpdated: ReturnType<typeof createEventModule$6<_publicOnRichContentUpdatedType>>;
13048
+
13049
13049
  type context$7_Alignment = Alignment;
13050
13050
  declare const context$7_Alignment: typeof Alignment;
13051
13051
  type context$7_AnchorData = AnchorData;
@@ -22624,26 +22624,32 @@ declare const getEvent: MaybeContext<BuildRESTFunction<typeof getEvent$1> & type
22624
22624
  declare const getEventBySlug: MaybeContext<BuildRESTFunction<typeof getEventBySlug$1> & typeof getEventBySlug$1>;
22625
22625
 
22626
22626
  type _publicOnEventCreatedType = typeof onEventCreated$1;
22627
- /** */
22627
+ /**
22628
+ * Triggered when event is created.
22629
+ */
22628
22630
  declare const onEventCreated: ReturnType<typeof createEventModule$1<_publicOnEventCreatedType>>;
22629
22631
 
22630
22632
  type _publicOnEventUpdatedType = typeof onEventUpdated$1;
22631
- /** */
22633
+ /**
22634
+ * Triggered when event is updated.
22635
+ */
22632
22636
  declare const onEventUpdated: ReturnType<typeof createEventModule$1<_publicOnEventUpdatedType>>;
22633
22637
 
22634
22638
  type _publicOnEventDeletedType = typeof onEventDeleted$1;
22635
- /** */
22639
+ /**
22640
+ * Triggered when event is deleted.
22641
+ */
22636
22642
  declare const onEventDeleted: ReturnType<typeof createEventModule$1<_publicOnEventDeletedType>>;
22637
22643
 
22638
22644
  type _publicOnEventStartedType = typeof onEventStarted$1;
22639
22645
  /**
22640
- * Triggered when an event is started.
22646
+ * Triggered when event has started.
22641
22647
  */
22642
22648
  declare const onEventStarted: ReturnType<typeof createEventModule$1<_publicOnEventStartedType>>;
22643
22649
 
22644
22650
  type _publicOnEventEndedType = typeof onEventEnded$1;
22645
22651
  /**
22646
- * Triggered when an event has ended.
22652
+ * Triggered when event has ended.
22647
22653
  */
22648
22654
  declare const onEventEnded: ReturnType<typeof createEventModule$1<_publicOnEventEndedType>>;
22649
22655
 
@@ -22661,19 +22667,19 @@ declare const onEventReminder: ReturnType<typeof createEventModule$1<_publicOnEv
22661
22667
 
22662
22668
  type _publicOnEventPublishedType = typeof onEventPublished$1;
22663
22669
  /**
22664
- * Triggered when an event is published
22670
+ * Triggered when event is published.
22665
22671
  */
22666
22672
  declare const onEventPublished: ReturnType<typeof createEventModule$1<_publicOnEventPublishedType>>;
22667
22673
 
22668
22674
  type _publicOnEventClonedType = typeof onEventCloned$1;
22669
22675
  /**
22670
- * Triggered when an event is cloned
22676
+ * Triggered when event is cloned.
22671
22677
  */
22672
22678
  declare const onEventCloned: ReturnType<typeof createEventModule$1<_publicOnEventClonedType>>;
22673
22679
 
22674
22680
  type _publicOnEventCanceledType = typeof onEventCanceled$1;
22675
22681
  /**
22676
- * Triggered when an event is canceled
22682
+ * Triggered when event is canceled.
22677
22683
  */
22678
22684
  declare const onEventCanceled: ReturnType<typeof createEventModule$1<_publicOnEventCanceledType>>;
22679
22685
 
@@ -10797,7 +10797,7 @@ interface RichContent {
10797
10797
  _updatedDate?: Date | null;
10798
10798
  /** ID of the event to which rich content is applied. */
10799
10799
  eventId?: string | null;
10800
- /** Field name which value uses rich content. For the [`detailedDescription`](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/event-object) field use the `about` value. */
10800
+ /** Field name which value uses rich content. For the event description use the `about` value. */
10801
10801
  fieldName?: string | null;
10802
10802
  /**
10803
10803
  * Rich content of the event description.
@@ -12832,11 +12832,11 @@ interface RichContentCreatedEnvelope {
12832
12832
  entity: RichContent;
12833
12833
  metadata: EventMetadata$3;
12834
12834
  }
12835
- interface RichContentUpdatedEnvelope {
12835
+ interface RichContentDeletedEnvelope {
12836
12836
  entity: RichContent;
12837
12837
  metadata: EventMetadata$3;
12838
12838
  }
12839
- interface RichContentDeletedEnvelope {
12839
+ interface RichContentUpdatedEnvelope {
12840
12840
  entity: RichContent;
12841
12841
  metadata: EventMetadata$3;
12842
12842
  }
@@ -12869,7 +12869,7 @@ interface UpdateRichContent {
12869
12869
  _updatedDate?: Date | null;
12870
12870
  /** ID of the event to which rich content is applied. */
12871
12871
  eventId?: string | null;
12872
- /** Field name which value uses rich content. For the [`detailedDescription`](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/event-object) field use the `about` value. */
12872
+ /** Field name which value uses rich content. For the event description use the `about` value. */
12873
12873
  fieldName?: string | null;
12874
12874
  /**
12875
12875
  * Rich content of the event description.
@@ -12953,7 +12953,7 @@ interface CreateRichContentSignature {
12953
12953
  /**
12954
12954
  * Creates rich content for an event description.
12955
12955
  *
12956
- * This method passes rich content value to the `detailedDescription` field of an already created event.
12956
+ * This method passes rich content value to the description of an already created event.
12957
12957
  * @param - Rich content info.
12958
12958
  * @returns Created rich content.
12959
12959
  */
@@ -13015,8 +13015,8 @@ interface QueryRichContentSignature {
13015
13015
  (): RichContentQueryBuilder;
13016
13016
  }
13017
13017
  declare const onRichContentCreated$1: EventDefinition<RichContentCreatedEnvelope, "wix.events.v1.rich_content_created">;
13018
- declare const onRichContentUpdated$1: EventDefinition<RichContentUpdatedEnvelope, "wix.events.v1.rich_content_updated">;
13019
13018
  declare const onRichContentDeleted$1: EventDefinition<RichContentDeletedEnvelope, "wix.events.v1.rich_content_deleted">;
13019
+ declare const onRichContentUpdated$1: EventDefinition<RichContentUpdatedEnvelope, "wix.events.v1.rich_content_updated">;
13020
13020
 
13021
13021
  declare function createEventModule$6<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
13022
13022
 
@@ -13034,18 +13034,18 @@ type _publicOnRichContentCreatedType = typeof onRichContentCreated$1;
13034
13034
  */
13035
13035
  declare const onRichContentCreated: ReturnType<typeof createEventModule$6<_publicOnRichContentCreatedType>>;
13036
13036
 
13037
- type _publicOnRichContentUpdatedType = typeof onRichContentUpdated$1;
13038
- /**
13039
- * Triggered when rich content is updated.
13040
- */
13041
- declare const onRichContentUpdated: ReturnType<typeof createEventModule$6<_publicOnRichContentUpdatedType>>;
13042
-
13043
13037
  type _publicOnRichContentDeletedType = typeof onRichContentDeleted$1;
13044
13038
  /**
13045
13039
  * Triggered when rich content is deleted.
13046
13040
  */
13047
13041
  declare const onRichContentDeleted: ReturnType<typeof createEventModule$6<_publicOnRichContentDeletedType>>;
13048
13042
 
13043
+ type _publicOnRichContentUpdatedType = typeof onRichContentUpdated$1;
13044
+ /**
13045
+ * Triggered when rich content is updated.
13046
+ */
13047
+ declare const onRichContentUpdated: ReturnType<typeof createEventModule$6<_publicOnRichContentUpdatedType>>;
13048
+
13049
13049
  type index_d$7_Alignment = Alignment;
13050
13050
  declare const index_d$7_Alignment: typeof Alignment;
13051
13051
  type index_d$7_AnchorData = AnchorData;
@@ -22624,26 +22624,32 @@ declare const getEvent: MaybeContext<BuildRESTFunction<typeof getEvent$1> & type
22624
22624
  declare const getEventBySlug: MaybeContext<BuildRESTFunction<typeof getEventBySlug$1> & typeof getEventBySlug$1>;
22625
22625
 
22626
22626
  type _publicOnEventCreatedType = typeof onEventCreated$1;
22627
- /** */
22627
+ /**
22628
+ * Triggered when event is created.
22629
+ */
22628
22630
  declare const onEventCreated: ReturnType<typeof createEventModule$1<_publicOnEventCreatedType>>;
22629
22631
 
22630
22632
  type _publicOnEventUpdatedType = typeof onEventUpdated$1;
22631
- /** */
22633
+ /**
22634
+ * Triggered when event is updated.
22635
+ */
22632
22636
  declare const onEventUpdated: ReturnType<typeof createEventModule$1<_publicOnEventUpdatedType>>;
22633
22637
 
22634
22638
  type _publicOnEventDeletedType = typeof onEventDeleted$1;
22635
- /** */
22639
+ /**
22640
+ * Triggered when event is deleted.
22641
+ */
22636
22642
  declare const onEventDeleted: ReturnType<typeof createEventModule$1<_publicOnEventDeletedType>>;
22637
22643
 
22638
22644
  type _publicOnEventStartedType = typeof onEventStarted$1;
22639
22645
  /**
22640
- * Triggered when an event is started.
22646
+ * Triggered when event has started.
22641
22647
  */
22642
22648
  declare const onEventStarted: ReturnType<typeof createEventModule$1<_publicOnEventStartedType>>;
22643
22649
 
22644
22650
  type _publicOnEventEndedType = typeof onEventEnded$1;
22645
22651
  /**
22646
- * Triggered when an event has ended.
22652
+ * Triggered when event has ended.
22647
22653
  */
22648
22654
  declare const onEventEnded: ReturnType<typeof createEventModule$1<_publicOnEventEndedType>>;
22649
22655
 
@@ -22661,19 +22667,19 @@ declare const onEventReminder: ReturnType<typeof createEventModule$1<_publicOnEv
22661
22667
 
22662
22668
  type _publicOnEventPublishedType = typeof onEventPublished$1;
22663
22669
  /**
22664
- * Triggered when an event is published
22670
+ * Triggered when event is published.
22665
22671
  */
22666
22672
  declare const onEventPublished: ReturnType<typeof createEventModule$1<_publicOnEventPublishedType>>;
22667
22673
 
22668
22674
  type _publicOnEventClonedType = typeof onEventCloned$1;
22669
22675
  /**
22670
- * Triggered when an event is cloned
22676
+ * Triggered when event is cloned.
22671
22677
  */
22672
22678
  declare const onEventCloned: ReturnType<typeof createEventModule$1<_publicOnEventClonedType>>;
22673
22679
 
22674
22680
  type _publicOnEventCanceledType = typeof onEventCanceled$1;
22675
22681
  /**
22676
- * Triggered when an event is canceled
22682
+ * Triggered when event is canceled.
22677
22683
  */
22678
22684
  declare const onEventCanceled: ReturnType<typeof createEventModule$1<_publicOnEventCanceledType>>;
22679
22685
 
@@ -7235,7 +7235,7 @@ interface RichContent$1 {
7235
7235
  updatedDate?: Date | null;
7236
7236
  /** ID of the event to which rich content is applied. */
7237
7237
  eventId?: string | null;
7238
- /** Field name which value uses rich content. For the [`detailedDescription`](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/event-object) field use the `about` value. */
7238
+ /** Field name which value uses rich content. For the event description use the `about` value. */
7239
7239
  fieldName?: string | null;
7240
7240
  /**
7241
7241
  * Rich content of the event description.
@@ -8900,7 +8900,7 @@ interface RichContent {
8900
8900
  _updatedDate?: Date | null;
8901
8901
  /** ID of the event to which rich content is applied. */
8902
8902
  eventId?: string | null;
8903
- /** Field name which value uses rich content. For the [`detailedDescription`](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/event-object) field use the `about` value. */
8903
+ /** Field name which value uses rich content. For the event description use the `about` value. */
8904
8904
  fieldName?: string | null;
8905
8905
  /**
8906
8906
  * Rich content of the event description.
@@ -15629,8 +15629,6 @@ interface V3Event$1 {
15629
15629
  shortDescription?: string | null;
15630
15630
  /**
15631
15631
  * Detailed description of an event.
15632
- *
15633
- * To populate this field call the [Create Rich Content](https://dev.wix.com/docs/rest/business-solutions/events/rich-content/create-rich-content) method. For the full flow read the introduction.
15634
15632
  * **Note:** This field is returned only when the `TEXTS` fieldset is included in the request.
15635
15633
  */
15636
15634
  detailedDescription?: string | null;