@wix/calendar 1.0.35 → 1.0.36

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.35",
3
+ "version": "1.0.36",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@wix/calendar_event-views": "1.0.8",
22
22
  "@wix/calendar_events": "1.0.20",
23
- "@wix/calendar_participations": "1.0.10",
23
+ "@wix/calendar_participations": "1.0.11",
24
24
  "@wix/calendar_schedule-time-frames": "1.0.16",
25
25
  "@wix/calendar_schedules": "1.0.20"
26
26
  },
@@ -47,5 +47,5 @@
47
47
  "fqdn": ""
48
48
  }
49
49
  },
50
- "falconPackageHash": "a103c195dff3b85cd19ed1bb33bb62944dbc27e23f2ea43d164af160"
50
+ "falconPackageHash": "21f62ea7dcfd286dbfd7a21cb115353f8ebcefeb73ff7dd550376fae"
51
51
  }
@@ -3959,7 +3959,7 @@ interface Participation extends ParticipationParticipatedItemOneOf {
3959
3959
  scheduleId?: string | null;
3960
3960
  /**
3961
3961
  * ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
3962
- * associated with the participantion.
3962
+ * associated with the participation.
3963
3963
  */
3964
3964
  eventId?: string | null;
3965
3965
  /**
@@ -3990,7 +3990,7 @@ interface Participation extends ParticipationParticipatedItemOneOf {
3990
3990
  */
3991
3991
  status?: Status$2;
3992
3992
  /**
3993
- * ID of the app that owns the particpation `object`. Identical to `appId` of the
3993
+ * ID of the app that owns the participation `object`. Identical to `appId` of the
3994
3994
  * [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
3995
3995
  * that the related
3996
3996
  * [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
@@ -4006,12 +4006,12 @@ interface Participation extends ParticipationParticipatedItemOneOf {
4006
4006
  */
4007
4007
  revision?: string | null;
4008
4008
  /**
4009
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4009
+ * Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4010
4010
  * @readonly
4011
4011
  */
4012
4012
  _createdDate?: Date | null;
4013
4013
  /**
4014
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4014
+ * Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4015
4015
  * @readonly
4016
4016
  */
4017
4017
  _updatedDate?: Date | null;
@@ -4027,18 +4027,26 @@ interface ParticipationParticipatedItemOneOf {
4027
4027
  scheduleId?: string | null;
4028
4028
  /**
4029
4029
  * ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
4030
- * associated with the participantion.
4030
+ * associated with the participation.
4031
4031
  */
4032
4032
  eventId?: string | null;
4033
4033
  }
4034
4034
  interface Participant {
4035
- /** The participant's name. */
4035
+ /**
4036
+ * Participant name.
4037
+ *
4038
+ * Min: 1 character
4039
+ * Max: 200 characters
4040
+ */
4036
4041
  name?: string | null;
4037
- /** The participant's phone. */
4042
+ /** Participant's phone number. */
4038
4043
  phone?: string | null;
4039
- /** The participant's email address. */
4044
+ /** Participant's email address. */
4040
4045
  email?: string | null;
4041
- /** The ID of the Wix Contact. */
4046
+ /**
4047
+ * [Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
4048
+ * ID of the parcipant.
4049
+ */
4042
4050
  contactId?: string | null;
4043
4051
  }
4044
4052
  declare enum Status$2 {
@@ -4130,7 +4138,7 @@ interface CreateParticipationRequest {
4130
4138
  participation: Participation;
4131
4139
  /**
4132
4140
  * Idempotency key guaranteeing that you don't create the same `participation`
4133
- * oject more than once.
4141
+ * object more than once.
4134
4142
  */
4135
4143
  idempotencyKey?: string | null;
4136
4144
  }
@@ -4389,7 +4397,7 @@ interface ParticipationsQueryBuilder {
4389
4397
  interface CreateParticipationOptions {
4390
4398
  /**
4391
4399
  * Idempotency key guaranteeing that you don't create the same `participation`
4392
- * oject more than once.
4400
+ * object more than once.
4393
4401
  */
4394
4402
  idempotencyKey?: string | null;
4395
4403
  }
@@ -4401,7 +4409,7 @@ interface UpdateParticipation {
4401
4409
  scheduleId?: string | null;
4402
4410
  /**
4403
4411
  * ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
4404
- * associated with the participantion.
4412
+ * associated with the participation.
4405
4413
  */
4406
4414
  eventId?: string | null;
4407
4415
  /**
@@ -4432,7 +4440,7 @@ interface UpdateParticipation {
4432
4440
  */
4433
4441
  status?: Status$2;
4434
4442
  /**
4435
- * ID of the app that owns the particpation `object`. Identical to `appId` of the
4443
+ * ID of the app that owns the participation `object`. Identical to `appId` of the
4436
4444
  * [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
4437
4445
  * that the related
4438
4446
  * [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
@@ -4448,12 +4456,12 @@ interface UpdateParticipation {
4448
4456
  */
4449
4457
  revision?: string | null;
4450
4458
  /**
4451
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4459
+ * Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4452
4460
  * @readonly
4453
4461
  */
4454
4462
  _createdDate?: Date | null;
4455
4463
  /**
4456
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4464
+ * Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4457
4465
  * @readonly
4458
4466
  */
4459
4467
  _updatedDate?: Date | null;
@@ -3959,7 +3959,7 @@ interface Participation extends ParticipationParticipatedItemOneOf {
3959
3959
  scheduleId?: string | null;
3960
3960
  /**
3961
3961
  * ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
3962
- * associated with the participantion.
3962
+ * associated with the participation.
3963
3963
  */
3964
3964
  eventId?: string | null;
3965
3965
  /**
@@ -3990,7 +3990,7 @@ interface Participation extends ParticipationParticipatedItemOneOf {
3990
3990
  */
3991
3991
  status?: Status$2;
3992
3992
  /**
3993
- * ID of the app that owns the particpation `object`. Identical to `appId` of the
3993
+ * ID of the app that owns the participation `object`. Identical to `appId` of the
3994
3994
  * [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
3995
3995
  * that the related
3996
3996
  * [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
@@ -4006,12 +4006,12 @@ interface Participation extends ParticipationParticipatedItemOneOf {
4006
4006
  */
4007
4007
  revision?: string | null;
4008
4008
  /**
4009
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4009
+ * Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4010
4010
  * @readonly
4011
4011
  */
4012
4012
  _createdDate?: Date | null;
4013
4013
  /**
4014
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4014
+ * Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4015
4015
  * @readonly
4016
4016
  */
4017
4017
  _updatedDate?: Date | null;
@@ -4027,18 +4027,26 @@ interface ParticipationParticipatedItemOneOf {
4027
4027
  scheduleId?: string | null;
4028
4028
  /**
4029
4029
  * ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
4030
- * associated with the participantion.
4030
+ * associated with the participation.
4031
4031
  */
4032
4032
  eventId?: string | null;
4033
4033
  }
4034
4034
  interface Participant {
4035
- /** The participant's name. */
4035
+ /**
4036
+ * Participant name.
4037
+ *
4038
+ * Min: 1 character
4039
+ * Max: 200 characters
4040
+ */
4036
4041
  name?: string | null;
4037
- /** The participant's phone. */
4042
+ /** Participant's phone number. */
4038
4043
  phone?: string | null;
4039
- /** The participant's email address. */
4044
+ /** Participant's email address. */
4040
4045
  email?: string | null;
4041
- /** The ID of the Wix Contact. */
4046
+ /**
4047
+ * [Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
4048
+ * ID of the parcipant.
4049
+ */
4042
4050
  contactId?: string | null;
4043
4051
  }
4044
4052
  declare enum Status$2 {
@@ -4130,7 +4138,7 @@ interface CreateParticipationRequest {
4130
4138
  participation: Participation;
4131
4139
  /**
4132
4140
  * Idempotency key guaranteeing that you don't create the same `participation`
4133
- * oject more than once.
4141
+ * object more than once.
4134
4142
  */
4135
4143
  idempotencyKey?: string | null;
4136
4144
  }
@@ -4389,7 +4397,7 @@ interface ParticipationsQueryBuilder {
4389
4397
  interface CreateParticipationOptions {
4390
4398
  /**
4391
4399
  * Idempotency key guaranteeing that you don't create the same `participation`
4392
- * oject more than once.
4400
+ * object more than once.
4393
4401
  */
4394
4402
  idempotencyKey?: string | null;
4395
4403
  }
@@ -4401,7 +4409,7 @@ interface UpdateParticipation {
4401
4409
  scheduleId?: string | null;
4402
4410
  /**
4403
4411
  * ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
4404
- * associated with the participantion.
4412
+ * associated with the participation.
4405
4413
  */
4406
4414
  eventId?: string | null;
4407
4415
  /**
@@ -4432,7 +4440,7 @@ interface UpdateParticipation {
4432
4440
  */
4433
4441
  status?: Status$2;
4434
4442
  /**
4435
- * ID of the app that owns the particpation `object`. Identical to `appId` of the
4443
+ * ID of the app that owns the participation `object`. Identical to `appId` of the
4436
4444
  * [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
4437
4445
  * that the related
4438
4446
  * [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
@@ -4448,12 +4456,12 @@ interface UpdateParticipation {
4448
4456
  */
4449
4457
  revision?: string | null;
4450
4458
  /**
4451
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4459
+ * Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4452
4460
  * @readonly
4453
4461
  */
4454
4462
  _createdDate?: Date | null;
4455
4463
  /**
4456
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4464
+ * Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
4457
4465
  * @readonly
4458
4466
  */
4459
4467
  _updatedDate?: Date | null;
@@ -2541,7 +2541,7 @@ interface Participation$1 extends ParticipationParticipatedItemOneOf$1 {
2541
2541
  scheduleId?: string | null;
2542
2542
  /**
2543
2543
  * ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
2544
- * associated with the participantion.
2544
+ * associated with the participation.
2545
2545
  */
2546
2546
  eventId?: string | null;
2547
2547
  /**
@@ -2572,7 +2572,7 @@ interface Participation$1 extends ParticipationParticipatedItemOneOf$1 {
2572
2572
  */
2573
2573
  status?: Status$5;
2574
2574
  /**
2575
- * ID of the app that owns the particpation `object`. Identical to `appId` of the
2575
+ * ID of the app that owns the participation `object`. Identical to `appId` of the
2576
2576
  * [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
2577
2577
  * that the related
2578
2578
  * [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
@@ -2588,12 +2588,12 @@ interface Participation$1 extends ParticipationParticipatedItemOneOf$1 {
2588
2588
  */
2589
2589
  revision?: string | null;
2590
2590
  /**
2591
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
2591
+ * Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
2592
2592
  * @readonly
2593
2593
  */
2594
2594
  createdDate?: Date | null;
2595
2595
  /**
2596
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
2596
+ * Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
2597
2597
  * @readonly
2598
2598
  */
2599
2599
  updatedDate?: Date | null;
@@ -2609,18 +2609,26 @@ interface ParticipationParticipatedItemOneOf$1 {
2609
2609
  scheduleId?: string | null;
2610
2610
  /**
2611
2611
  * ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
2612
- * associated with the participantion.
2612
+ * associated with the participation.
2613
2613
  */
2614
2614
  eventId?: string | null;
2615
2615
  }
2616
2616
  interface Participant$1 {
2617
- /** The participant's name. */
2617
+ /**
2618
+ * Participant name.
2619
+ *
2620
+ * Min: 1 character
2621
+ * Max: 200 characters
2622
+ */
2618
2623
  name?: string | null;
2619
- /** The participant's phone. */
2624
+ /** Participant's phone number. */
2620
2625
  phone?: string | null;
2621
- /** The participant's email address. */
2626
+ /** Participant's email address. */
2622
2627
  email?: string | null;
2623
- /** The ID of the Wix Contact. */
2628
+ /**
2629
+ * [Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
2630
+ * ID of the parcipant.
2631
+ */
2624
2632
  contactId?: string | null;
2625
2633
  }
2626
2634
  declare enum Status$5 {
@@ -2712,7 +2720,7 @@ interface CreateParticipationRequest$1 {
2712
2720
  participation: Participation$1;
2713
2721
  /**
2714
2722
  * Idempotency key guaranteeing that you don't create the same `participation`
2715
- * oject more than once.
2723
+ * object more than once.
2716
2724
  */
2717
2725
  idempotencyKey?: string | null;
2718
2726
  }
@@ -2765,7 +2773,7 @@ interface Participation extends ParticipationParticipatedItemOneOf {
2765
2773
  scheduleId?: string | null;
2766
2774
  /**
2767
2775
  * ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
2768
- * associated with the participantion.
2776
+ * associated with the participation.
2769
2777
  */
2770
2778
  eventId?: string | null;
2771
2779
  /**
@@ -2796,7 +2804,7 @@ interface Participation extends ParticipationParticipatedItemOneOf {
2796
2804
  */
2797
2805
  status?: Status$4;
2798
2806
  /**
2799
- * ID of the app that owns the particpation `object`. Identical to `appId` of the
2807
+ * ID of the app that owns the participation `object`. Identical to `appId` of the
2800
2808
  * [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
2801
2809
  * that the related
2802
2810
  * [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
@@ -2812,12 +2820,12 @@ interface Participation extends ParticipationParticipatedItemOneOf {
2812
2820
  */
2813
2821
  revision?: string | null;
2814
2822
  /**
2815
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
2823
+ * Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
2816
2824
  * @readonly
2817
2825
  */
2818
2826
  _createdDate?: Date | null;
2819
2827
  /**
2820
- * Date the event was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
2828
+ * Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
2821
2829
  * @readonly
2822
2830
  */
2823
2831
  _updatedDate?: Date | null;
@@ -2833,18 +2841,26 @@ interface ParticipationParticipatedItemOneOf {
2833
2841
  scheduleId?: string | null;
2834
2842
  /**
2835
2843
  * ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
2836
- * associated with the participantion.
2844
+ * associated with the participation.
2837
2845
  */
2838
2846
  eventId?: string | null;
2839
2847
  }
2840
2848
  interface Participant {
2841
- /** The participant's name. */
2849
+ /**
2850
+ * Participant name.
2851
+ *
2852
+ * Min: 1 character
2853
+ * Max: 200 characters
2854
+ */
2842
2855
  name?: string | null;
2843
- /** The participant's phone. */
2856
+ /** Participant's phone number. */
2844
2857
  phone?: string | null;
2845
- /** The participant's email address. */
2858
+ /** Participant's email address. */
2846
2859
  email?: string | null;
2847
- /** The ID of the Wix Contact. */
2860
+ /**
2861
+ * [Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
2862
+ * ID of the parcipant.
2863
+ */
2848
2864
  contactId?: string | null;
2849
2865
  }
2850
2866
  declare enum Status$4 {
@@ -2936,7 +2952,7 @@ interface CreateParticipationRequest {
2936
2952
  participation: Participation;
2937
2953
  /**
2938
2954
  * Idempotency key guaranteeing that you don't create the same `participation`
2939
- * oject more than once.
2955
+ * object more than once.
2940
2956
  */
2941
2957
  idempotencyKey?: string | null;
2942
2958
  }