@wix/bookings 1.0.459 → 1.0.461

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.
@@ -4552,7 +4552,7 @@ interface BookingPolicySnapshot$1 {
4552
4552
  * Date and time the booking policy snapshot was created in `YYYY-MM-DDThh:mm:ssZ` format.
4553
4553
  * @readonly
4554
4554
  */
4555
- createdDate?: Date;
4555
+ createdDate?: Date | null;
4556
4556
  }
4557
4557
  /**
4558
4558
  * `BookingPolicy` is the main entity of `BookingPolicyService` and specifies a set of rules for booking a service
@@ -4586,12 +4586,12 @@ interface BookingPolicy$5 {
4586
4586
  * Date and time the booking policy was created.
4587
4587
  * @readonly
4588
4588
  */
4589
- createdDate?: Date;
4589
+ createdDate?: Date | null;
4590
4590
  /**
4591
4591
  * Date and time the booking policy was updated.
4592
4592
  * @readonly
4593
4593
  */
4594
- updatedDate?: Date;
4594
+ updatedDate?: Date | null;
4595
4595
  /** Name of the booking policy. */
4596
4596
  name?: string | null;
4597
4597
  /** Custom description for the booking policy and whether the booking policy is displayed to the participant. */
@@ -4830,7 +4830,7 @@ interface BookingPolicySnapshot {
4830
4830
  * Date and time the booking policy snapshot was created in `YYYY-MM-DDThh:mm:ssZ` format.
4831
4831
  * @readonly
4832
4832
  */
4833
- _createdDate?: Date;
4833
+ _createdDate?: Date | null;
4834
4834
  }
4835
4835
  /**
4836
4836
  * `BookingPolicy` is the main entity of `BookingPolicyService` and specifies a set of rules for booking a service
@@ -4864,12 +4864,12 @@ interface BookingPolicy$4 {
4864
4864
  * Date and time the booking policy was created.
4865
4865
  * @readonly
4866
4866
  */
4867
- _createdDate?: Date;
4867
+ _createdDate?: Date | null;
4868
4868
  /**
4869
4869
  * Date and time the booking policy was updated.
4870
4870
  * @readonly
4871
4871
  */
4872
- _updatedDate?: Date;
4872
+ _updatedDate?: Date | null;
4873
4873
  /** Name of the booking policy. */
4874
4874
  name?: string | null;
4875
4875
  /** Custom description for the booking policy and whether the booking policy is displayed to the participant. */
@@ -5180,7 +5180,7 @@ interface Booking$5 extends BookingParticipantsInfoOneOf$5 {
5180
5180
  * Date and time the booking was created.
5181
5181
  * @readonly
5182
5182
  */
5183
- createdDate?: Date;
5183
+ createdDate?: Date | null;
5184
5184
  /** External ID provided by the client app on creation. */
5185
5185
  externalUserId?: string | null;
5186
5186
  /** Revision number to be used when updating, rescheduling, or cancelling the booking. Revision number, which increments by 1 each time the booking is updated, rescheduled, or canceled. To prevent conflicting changes,the current revision must be passed when updating the booking. */
@@ -5195,17 +5195,17 @@ interface Booking$5 extends BookingParticipantsInfoOneOf$5 {
5195
5195
  * The start date of this booking. For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session.
5196
5196
  * @readonly
5197
5197
  */
5198
- startDate?: Date;
5198
+ startDate?: Date | null;
5199
5199
  /**
5200
5200
  * The end date of this booking. For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session.
5201
5201
  * @readonly
5202
5202
  */
5203
- endDate?: Date;
5203
+ endDate?: Date | null;
5204
5204
  /**
5205
5205
  * Date and time the booking was updated.
5206
5206
  * @readonly
5207
5207
  */
5208
- updatedDate?: Date;
5208
+ updatedDate?: Date | null;
5209
5209
  /** Custom field data for this object. Extended fields must be configured in the app dashboard before they can be accessed with API calls. */
5210
5210
  extendedFields?: ExtendedFields$f;
5211
5211
  /**
@@ -5993,7 +5993,7 @@ interface Booking$4 extends BookingParticipantsInfoOneOf$4 {
5993
5993
  * Date and time the booking was created.
5994
5994
  * @readonly
5995
5995
  */
5996
- _createdDate?: Date;
5996
+ _createdDate?: Date | null;
5997
5997
  /** External ID provided by the client app on creation. */
5998
5998
  externalUserId?: string | null;
5999
5999
  /** Revision number to be used when updating, rescheduling, or cancelling the booking. Revision number, which increments by 1 each time the booking is updated, rescheduled, or canceled. To prevent conflicting changes,the current revision must be passed when updating the booking. */
@@ -6008,17 +6008,17 @@ interface Booking$4 extends BookingParticipantsInfoOneOf$4 {
6008
6008
  * The start date of this booking. For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session.
6009
6009
  * @readonly
6010
6010
  */
6011
- startDate?: Date;
6011
+ startDate?: Date | null;
6012
6012
  /**
6013
6013
  * The end date of this booking. For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session.
6014
6014
  * @readonly
6015
6015
  */
6016
- endDate?: Date;
6016
+ endDate?: Date | null;
6017
6017
  /**
6018
6018
  * Date and time the booking was updated.
6019
6019
  * @readonly
6020
6020
  */
6021
- _updatedDate?: Date;
6021
+ _updatedDate?: Date | null;
6022
6022
  /** Custom field data for this object. Extended fields must be configured in the app dashboard before they can be accessed with API calls. */
6023
6023
  extendedFields?: ExtendedFields$e;
6024
6024
  /**
@@ -6762,12 +6762,12 @@ interface Resource$3 extends ResourceCompositionDetailsOneOf$1 {
6762
6762
  * Represents the time this resource was created.
6763
6763
  * @readonly
6764
6764
  */
6765
- createdDate?: Date;
6765
+ createdDate?: Date | null;
6766
6766
  /**
6767
6767
  * Represents the time this resource was last updated.
6768
6768
  * @readonly
6769
6769
  */
6770
- updatedDate?: Date;
6770
+ updatedDate?: Date | null;
6771
6771
  /** Name of the resource. */
6772
6772
  name?: string | null;
6773
6773
  /** `true` if this resource is hidden from visitors, `false` otherwise. */
@@ -7120,12 +7120,12 @@ interface Resource$2 extends ResourceCompositionDetailsOneOf {
7120
7120
  * Represents the time this resource was created.
7121
7121
  * @readonly
7122
7122
  */
7123
- _createdDate?: Date;
7123
+ _createdDate?: Date | null;
7124
7124
  /**
7125
7125
  * Represents the time this resource was last updated.
7126
7126
  * @readonly
7127
7127
  */
7128
- _updatedDate?: Date;
7128
+ _updatedDate?: Date | null;
7129
7129
  /** Name of the resource. */
7130
7130
  name?: string | null;
7131
7131
  /** `true` if this resource is hidden from visitors, `false` otherwise. */
@@ -7507,12 +7507,12 @@ interface ResourceType$1 {
7507
7507
  * Represents the time this resource type was created.
7508
7508
  * @readonly
7509
7509
  */
7510
- createdDate?: Date;
7510
+ createdDate?: Date | null;
7511
7511
  /**
7512
7512
  * Represents the time this resource type was last updated.
7513
7513
  * @readonly
7514
7514
  */
7515
- updatedDate?: Date;
7515
+ updatedDate?: Date | null;
7516
7516
  /** The name of this resource type. The name is unique per site. */
7517
7517
  name?: string | null;
7518
7518
  /** The ID of the app of which the resources of this type belong to. Default: Bookings App ID. */
@@ -7770,12 +7770,12 @@ interface ResourceType {
7770
7770
  * Represents the time this resource type was created.
7771
7771
  * @readonly
7772
7772
  */
7773
- _createdDate?: Date;
7773
+ _createdDate?: Date | null;
7774
7774
  /**
7775
7775
  * Represents the time this resource type was last updated.
7776
7776
  * @readonly
7777
7777
  */
7778
- _updatedDate?: Date;
7778
+ _updatedDate?: Date | null;
7779
7779
  /** The name of this resource type. The name is unique per site. */
7780
7780
  name?: string | null;
7781
7781
  /** The ID of the app of which the resources of this type belong to. Default: Bookings App ID. */
@@ -8113,12 +8113,12 @@ interface Service$1 {
8113
8113
  * Date and time the service was created.
8114
8114
  * @readonly
8115
8115
  */
8116
- createdDate?: Date;
8116
+ createdDate?: Date | null;
8117
8117
  /**
8118
8118
  * Date and time the service was updated.
8119
8119
  * @readonly
8120
8120
  */
8121
- updatedDate?: Date;
8121
+ updatedDate?: Date | null;
8122
8122
  /**
8123
8123
  * Revision number, which increments by 1 each time the service is updated. To prevent conflicting changes, the existing revision must be used when updating a service.
8124
8124
  * @readonly
@@ -8489,12 +8489,12 @@ interface BookingPolicy$3 {
8489
8489
  * Date and time the policy was created.
8490
8490
  * @readonly
8491
8491
  */
8492
- createdDate?: Date;
8492
+ createdDate?: Date | null;
8493
8493
  /**
8494
8494
  * Date and time the policy was updated.
8495
8495
  * @readonly
8496
8496
  */
8497
- updatedDate?: Date;
8497
+ updatedDate?: Date | null;
8498
8498
  /**
8499
8499
  * Name of the policy.
8500
8500
  * @readonly
@@ -8776,12 +8776,12 @@ interface V2Schedule$1 {
8776
8776
  * Start time of the first session in the schedule. For courses only.
8777
8777
  * @readonly
8778
8778
  */
8779
- firstSessionStart?: Date;
8779
+ firstSessionStart?: Date | null;
8780
8780
  /**
8781
8781
  * End time of the last session in the schedule. For courses only.
8782
8782
  * @readonly
8783
8783
  */
8784
- lastSessionEnd?: Date;
8784
+ lastSessionEnd?: Date | null;
8785
8785
  /** Limitations dictating the way session availability is calculated. For appointments only. */
8786
8786
  availabilityConstraints?: V2AvailabilityConstraints$1;
8787
8787
  }
@@ -8817,7 +8817,7 @@ interface Slug$1 {
8817
8817
  * Date and time the slug was created. This is a system field.
8818
8818
  * @readonly
8819
8819
  */
8820
- createdDate?: Date;
8820
+ createdDate?: Date | null;
8821
8821
  }
8822
8822
  interface URLs$1 {
8823
8823
  /**
@@ -10193,12 +10193,12 @@ interface Service {
10193
10193
  * Date and time the service was created.
10194
10194
  * @readonly
10195
10195
  */
10196
- _createdDate?: Date;
10196
+ _createdDate?: Date | null;
10197
10197
  /**
10198
10198
  * Date and time the service was updated.
10199
10199
  * @readonly
10200
10200
  */
10201
- _updatedDate?: Date;
10201
+ _updatedDate?: Date | null;
10202
10202
  /**
10203
10203
  * Revision number, which increments by 1 each time the service is updated. To prevent conflicting changes, the existing revision must be used when updating a service.
10204
10204
  * @readonly
@@ -10551,12 +10551,12 @@ interface BookingPolicy$2 {
10551
10551
  * Date and time the policy was created.
10552
10552
  * @readonly
10553
10553
  */
10554
- _createdDate?: Date;
10554
+ _createdDate?: Date | null;
10555
10555
  /**
10556
10556
  * Date and time the policy was updated.
10557
10557
  * @readonly
10558
10558
  */
10559
- _updatedDate?: Date;
10559
+ _updatedDate?: Date | null;
10560
10560
  /**
10561
10561
  * Name of the policy.
10562
10562
  * @readonly
@@ -10838,12 +10838,12 @@ interface V2Schedule {
10838
10838
  * Start time of the first session in the schedule. For courses only.
10839
10839
  * @readonly
10840
10840
  */
10841
- firstSessionStart?: Date;
10841
+ firstSessionStart?: Date | null;
10842
10842
  /**
10843
10843
  * End time of the last session in the schedule. For courses only.
10844
10844
  * @readonly
10845
10845
  */
10846
- lastSessionEnd?: Date;
10846
+ lastSessionEnd?: Date | null;
10847
10847
  /** Limitations dictating the way session availability is calculated. For appointments only. */
10848
10848
  availabilityConstraints?: V2AvailabilityConstraints;
10849
10849
  }
@@ -10879,7 +10879,7 @@ interface Slug {
10879
10879
  * Date and time the slug was created. This is a system field.
10880
10880
  * @readonly
10881
10881
  */
10882
- _createdDate?: Date;
10882
+ _createdDate?: Date | null;
10883
10883
  }
10884
10884
  interface URLs {
10885
10885
  /**
@@ -12288,12 +12288,12 @@ interface StaffMember$1 {
12288
12288
  * Represents the time this staff member was created.
12289
12289
  * @readonly
12290
12290
  */
12291
- createdDate?: Date;
12291
+ createdDate?: Date | null;
12292
12292
  /**
12293
12293
  * Represents the time this staff member was last updated
12294
12294
  * @readonly
12295
12295
  */
12296
- updatedDate?: Date;
12296
+ updatedDate?: Date | null;
12297
12297
  /** Extensions enabling users to save custom data related to the staff member. */
12298
12298
  extendedFields?: ExtendedFields$7;
12299
12299
  }
@@ -12926,12 +12926,12 @@ interface StaffMember {
12926
12926
  * Represents the time this staff member was created.
12927
12927
  * @readonly
12928
12928
  */
12929
- _createdDate?: Date;
12929
+ _createdDate?: Date | null;
12930
12930
  /**
12931
12931
  * Represents the time this staff member was last updated
12932
12932
  * @readonly
12933
12933
  */
12934
- _updatedDate?: Date;
12934
+ _updatedDate?: Date | null;
12935
12935
  /** Extensions enabling users to save custom data related to the staff member. */
12936
12936
  extendedFields?: ExtendedFields$6;
12937
12937
  }
@@ -13561,12 +13561,12 @@ interface BookingPolicy$1 {
13561
13561
  * Date and time the booking policy was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
13562
13562
  * @readonly
13563
13563
  */
13564
- createdDate?: Date;
13564
+ createdDate?: Date | null;
13565
13565
  /**
13566
13566
  * Date and time the booking policy was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
13567
13567
  * @readonly
13568
13568
  */
13569
- updatedDate?: Date;
13569
+ updatedDate?: Date | null;
13570
13570
  /** Name of the booking policy. */
13571
13571
  name?: string | null;
13572
13572
  /**
@@ -14109,12 +14109,12 @@ interface BookingPolicy {
14109
14109
  * Date and time the booking policy was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
14110
14110
  * @readonly
14111
14111
  */
14112
- _createdDate?: Date;
14112
+ _createdDate?: Date | null;
14113
14113
  /**
14114
14114
  * Date and time the booking policy was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
14115
14115
  * @readonly
14116
14116
  */
14117
- _updatedDate?: Date;
14117
+ _updatedDate?: Date | null;
14118
14118
  /** Name of the booking policy. */
14119
14119
  name?: string | null;
14120
14120
  /**
@@ -15427,7 +15427,7 @@ interface Booking$3 extends BookingParticipantsInfoOneOf$3 {
15427
15427
  * Date and time the booking was created.
15428
15428
  * @readonly
15429
15429
  */
15430
- createdDate?: Date;
15430
+ createdDate?: Date | null;
15431
15431
  /** External ID provided by the client app on creation. */
15432
15432
  externalUserId?: string | null;
15433
15433
  /** Revision number to be used when updating, rescheduling, or cancelling the booking. Revision number, which increments by 1 each time the booking is updated, rescheduled, or canceled. To prevent conflicting changes,the current revision must be passed when updating the booking. */
@@ -15442,17 +15442,17 @@ interface Booking$3 extends BookingParticipantsInfoOneOf$3 {
15442
15442
  * The start date of this booking. For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session.
15443
15443
  * @readonly
15444
15444
  */
15445
- startDate?: Date;
15445
+ startDate?: Date | null;
15446
15446
  /**
15447
15447
  * The end date of this booking. For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session.
15448
15448
  * @readonly
15449
15449
  */
15450
- endDate?: Date;
15450
+ endDate?: Date | null;
15451
15451
  /**
15452
15452
  * Date and time the booking was updated.
15453
15453
  * @readonly
15454
15454
  */
15455
- updatedDate?: Date;
15455
+ updatedDate?: Date | null;
15456
15456
  /** Custom field data for this object. Extended fields must be configured in the app dashboard before they can be accessed with API calls. */
15457
15457
  extendedFields?: ExtendedFields$3;
15458
15458
  /**
@@ -16893,7 +16893,7 @@ interface Booking$2 extends BookingParticipantsInfoOneOf$2 {
16893
16893
  * Date and time the booking was created.
16894
16894
  * @readonly
16895
16895
  */
16896
- _createdDate?: Date;
16896
+ _createdDate?: Date | null;
16897
16897
  /** External ID provided by the client app on creation. */
16898
16898
  externalUserId?: string | null;
16899
16899
  /** Revision number to be used when updating, rescheduling, or cancelling the booking. Revision number, which increments by 1 each time the booking is updated, rescheduled, or canceled. To prevent conflicting changes,the current revision must be passed when updating the booking. */
@@ -16908,17 +16908,17 @@ interface Booking$2 extends BookingParticipantsInfoOneOf$2 {
16908
16908
  * The start date of this booking. For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session.
16909
16909
  * @readonly
16910
16910
  */
16911
- startDate?: Date;
16911
+ startDate?: Date | null;
16912
16912
  /**
16913
16913
  * The end date of this booking. For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session.
16914
16914
  * @readonly
16915
16915
  */
16916
- endDate?: Date;
16916
+ endDate?: Date | null;
16917
16917
  /**
16918
16918
  * Date and time the booking was updated.
16919
16919
  * @readonly
16920
16920
  */
16921
- _updatedDate?: Date;
16921
+ _updatedDate?: Date | null;
16922
16922
  /** Custom field data for this object. Extended fields must be configured in the app dashboard before they can be accessed with API calls. */
16923
16923
  extendedFields?: ExtendedFields$2;
16924
16924
  /**
@@ -18577,7 +18577,7 @@ interface Booking$1 extends BookingParticipantsInfoOneOf$1 {
18577
18577
  * Date and time the booking was created.
18578
18578
  * @readonly
18579
18579
  */
18580
- createdDate?: Date;
18580
+ createdDate?: Date | null;
18581
18581
  /** External ID provided by the client app on creation. */
18582
18582
  externalUserId?: string | null;
18583
18583
  /** Revision number to be used when updating, rescheduling, or cancelling the booking. Revision number, which increments by 1 each time the booking is updated, rescheduled, or canceled. To prevent conflicting changes,the current revision must be passed when updating the booking. */
@@ -18592,17 +18592,17 @@ interface Booking$1 extends BookingParticipantsInfoOneOf$1 {
18592
18592
  * The start date of this booking. For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session.
18593
18593
  * @readonly
18594
18594
  */
18595
- startDate?: Date;
18595
+ startDate?: Date | null;
18596
18596
  /**
18597
18597
  * The end date of this booking. For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session.
18598
18598
  * @readonly
18599
18599
  */
18600
- endDate?: Date;
18600
+ endDate?: Date | null;
18601
18601
  /**
18602
18602
  * Date and time the booking was updated.
18603
18603
  * @readonly
18604
18604
  */
18605
- updatedDate?: Date;
18605
+ updatedDate?: Date | null;
18606
18606
  /** Custom field data for this object. Extended fields must be configured in the app dashboard before they can be accessed with API calls. */
18607
18607
  extendedFields?: ExtendedFields$1;
18608
18608
  /**
@@ -19141,7 +19141,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
19141
19141
  * Date and time the booking was created.
19142
19142
  * @readonly
19143
19143
  */
19144
- _createdDate?: Date;
19144
+ _createdDate?: Date | null;
19145
19145
  /** External ID provided by the client app on creation. */
19146
19146
  externalUserId?: string | null;
19147
19147
  /** Revision number to be used when updating, rescheduling, or cancelling the booking. Revision number, which increments by 1 each time the booking is updated, rescheduled, or canceled. To prevent conflicting changes,the current revision must be passed when updating the booking. */
@@ -19156,17 +19156,17 @@ interface Booking extends BookingParticipantsInfoOneOf {
19156
19156
  * The start date of this booking. For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session.
19157
19157
  * @readonly
19158
19158
  */
19159
- startDate?: Date;
19159
+ startDate?: Date | null;
19160
19160
  /**
19161
19161
  * The end date of this booking. For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session.
19162
19162
  * @readonly
19163
19163
  */
19164
- endDate?: Date;
19164
+ endDate?: Date | null;
19165
19165
  /**
19166
19166
  * Date and time the booking was updated.
19167
19167
  * @readonly
19168
19168
  */
19169
- _updatedDate?: Date;
19169
+ _updatedDate?: Date | null;
19170
19170
  /** Custom field data for this object. Extended fields must be configured in the app dashboard before they can be accessed with API calls. */
19171
19171
  extendedFields?: ExtendedFields;
19172
19172
  /**