@wix/bookings 1.0.459 → 1.0.460

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.
@@ -3918,12 +3918,12 @@ interface Schedule$4 {
3918
3918
  * Schedule creation date.
3919
3919
  * @readonly
3920
3920
  */
3921
- created?: Date;
3921
+ created?: Date | null;
3922
3922
  /**
3923
3923
  * Schedule last update date.
3924
3924
  * @readonly
3925
3925
  */
3926
- updated?: Date;
3926
+ updated?: Date | null;
3927
3927
  /**
3928
3928
  * Schedule version number, updated each time the schedule is updated.
3929
3929
  * @readonly
@@ -3953,9 +3953,9 @@ interface RecurringInterval$3 {
3953
3953
  */
3954
3954
  _id?: string;
3955
3955
  /** The start time of the recurring interval. Required. */
3956
- start?: Date;
3956
+ start?: Date | null;
3957
3957
  /** The end time of the recurring interval. Optional. Empty value indicates that there is no end time. */
3958
- end?: Date;
3958
+ end?: Date | null;
3959
3959
  /** The interval rules. The day, hour and minutes the interval is recurring. */
3960
3960
  interval?: Interval$4;
3961
3961
  /** The frequency of the interval. Optional. The default is frequency with the default repetition. */
@@ -4289,9 +4289,9 @@ interface Price$4 {
4289
4289
  */
4290
4290
  interface Availability$3 {
4291
4291
  /** Date and time the schedule starts to be available for booking. */
4292
- start?: Date;
4292
+ start?: Date | null;
4293
4293
  /** Date and time the schedule stops being available for booking. No value indicates no end time. */
4294
- end?: Date;
4294
+ end?: Date | null;
4295
4295
  /** Other schedules that impact the availability calculation. Relevant only when there are availability constraints. */
4296
4296
  linkedSchedules?: LinkedSchedule$3[];
4297
4297
  /** Constraints for calculating the schedule's availability. */
@@ -4460,7 +4460,7 @@ interface Session$3 {
4460
4460
  */
4461
4461
  scheduleOwnerId?: string | null;
4462
4462
  /** Original start date and time of the session in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)) format. */
4463
- originalStart?: Date;
4463
+ originalStart?: Date | null;
4464
4464
  /** An object specifying the start date and time of the session. If the session is a recurring session, `start` must contain a `localDateTime`. */
4465
4465
  start?: CalendarDateTime$3;
4466
4466
  /**
@@ -4614,7 +4614,7 @@ interface CalendarDateTime$3 {
4614
4614
  * Required if `localDateTime` is not specified.
4615
4615
  * If `localDateTime` is specified, `timestamp` is calculated as `localDateTime`, using the business's time zone.
4616
4616
  */
4617
- timestamp?: Date;
4617
+ timestamp?: Date | null;
4618
4618
  /** An object containing the local date and time for the business's time zone. */
4619
4619
  localDateTime?: LocalDateTime$3;
4620
4620
  /**
@@ -5496,12 +5496,12 @@ interface Schedule$3 {
5496
5496
  * Schedule creation date.
5497
5497
  * @readonly
5498
5498
  */
5499
- created?: Date;
5499
+ created?: Date | null;
5500
5500
  /**
5501
5501
  * Schedule last update date.
5502
5502
  * @readonly
5503
5503
  */
5504
- updated?: Date;
5504
+ updated?: Date | null;
5505
5505
  /**
5506
5506
  * Schedule version number, updated each time the schedule is updated.
5507
5507
  * @readonly
@@ -5531,9 +5531,9 @@ interface RecurringInterval$2 {
5531
5531
  */
5532
5532
  _id?: string;
5533
5533
  /** The start time of the recurring interval. Required. */
5534
- start?: Date;
5534
+ start?: Date | null;
5535
5535
  /** The end time of the recurring interval. Optional. Empty value indicates that there is no end time. */
5536
- end?: Date;
5536
+ end?: Date | null;
5537
5537
  /** The interval rules. The day, hour and minutes the interval is recurring. */
5538
5538
  interval?: Interval$3;
5539
5539
  /** The frequency of the interval. Optional. The default is frequency with the default repetition. */
@@ -5869,9 +5869,9 @@ interface Price$3 {
5869
5869
  */
5870
5870
  interface Availability$2 {
5871
5871
  /** Date and time the schedule starts to be available for booking. */
5872
- start?: Date;
5872
+ start?: Date | null;
5873
5873
  /** Date and time the schedule stops being available for booking. No value indicates no end time. */
5874
- end?: Date;
5874
+ end?: Date | null;
5875
5875
  /** Other schedules that impact the availability calculation. Relevant only when there are availability constraints. */
5876
5876
  linkedSchedules?: LinkedSchedule$2[];
5877
5877
  /** Constraints for calculating the schedule's availability. */
@@ -6356,7 +6356,7 @@ interface Session$2 {
6356
6356
  */
6357
6357
  scheduleOwnerId?: string | null;
6358
6358
  /** Original start date and time of the session in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)) format. */
6359
- originalStart?: Date;
6359
+ originalStart?: Date | null;
6360
6360
  /** An object specifying the start date and time of the session. If the session is a recurring session, `start` must contain a `localDateTime`. */
6361
6361
  start?: CalendarDateTime$2;
6362
6362
  /**
@@ -6510,7 +6510,7 @@ interface CalendarDateTime$2 {
6510
6510
  * Required if `localDateTime` is not specified.
6511
6511
  * If `localDateTime` is specified, `timestamp` is calculated as `localDateTime`, using the business's time zone.
6512
6512
  */
6513
- timestamp?: Date;
6513
+ timestamp?: Date | null;
6514
6514
  /** An object containing the local date and time for the business's time zone. */
6515
6515
  localDateTime?: LocalDateTime$2;
6516
6516
  /**
@@ -6679,7 +6679,7 @@ interface DomainEvent$9 extends DomainEventBodyOneOf$9 {
6679
6679
  /** ID of the entity associated with the event. */
6680
6680
  entityId?: string;
6681
6681
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
6682
- eventTime?: Date;
6682
+ eventTime?: Date | null;
6683
6683
  /**
6684
6684
  * Whether the event was triggered as a result of a privacy regulation application
6685
6685
  * (for example, GDPR).
@@ -6708,7 +6708,7 @@ interface EntityCreatedEvent$9 {
6708
6708
  entity?: string;
6709
6709
  }
6710
6710
  interface RestoreInfo$9 {
6711
- deletedDate?: Date;
6711
+ deletedDate?: Date | null;
6712
6712
  }
6713
6713
  interface EntityUpdatedEvent$9 {
6714
6714
  /**
@@ -7053,7 +7053,7 @@ interface EventMetadata$6 extends BaseEventMetadata$7 {
7053
7053
  /** ID of the entity associated with the event. */
7054
7054
  entityId?: string;
7055
7055
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
7056
- eventTime?: Date;
7056
+ eventTime?: Date | null;
7057
7057
  /**
7058
7058
  * Whether the event was triggered as a result of a privacy regulation application
7059
7059
  * (for example, GDPR).
@@ -7624,7 +7624,7 @@ interface DomainEvent$8 extends DomainEventBodyOneOf$8 {
7624
7624
  /** ID of the entity associated with the event. */
7625
7625
  entityId?: string;
7626
7626
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
7627
- eventTime?: Date;
7627
+ eventTime?: Date | null;
7628
7628
  /**
7629
7629
  * Whether the event was triggered as a result of a privacy regulation application
7630
7630
  * (for example, GDPR).
@@ -7653,7 +7653,7 @@ interface EntityCreatedEvent$8 {
7653
7653
  entity?: string;
7654
7654
  }
7655
7655
  interface RestoreInfo$8 {
7656
- deletedDate?: Date;
7656
+ deletedDate?: Date | null;
7657
7657
  }
7658
7658
  interface EntityUpdatedEvent$8 {
7659
7659
  /**
@@ -7950,7 +7950,7 @@ interface BookingPolicySnapshot {
7950
7950
  * Date and time the booking policy snapshot was created in `YYYY-MM-DDThh:mm:ssZ` format.
7951
7951
  * @readonly
7952
7952
  */
7953
- _createdDate?: Date;
7953
+ _createdDate?: Date | null;
7954
7954
  }
7955
7955
  /**
7956
7956
  * `BookingPolicy` is the main entity of `BookingPolicyService` and specifies a set of rules for booking a service
@@ -7984,12 +7984,12 @@ interface BookingPolicy$2 {
7984
7984
  * Date and time the booking policy was created.
7985
7985
  * @readonly
7986
7986
  */
7987
- _createdDate?: Date;
7987
+ _createdDate?: Date | null;
7988
7988
  /**
7989
7989
  * Date and time the booking policy was updated.
7990
7990
  * @readonly
7991
7991
  */
7992
- _updatedDate?: Date;
7992
+ _updatedDate?: Date | null;
7993
7993
  /** Name of the booking policy. */
7994
7994
  name?: string | null;
7995
7995
  /** Custom description for the booking policy and whether the booking policy is displayed to the participant. */
@@ -8186,7 +8186,7 @@ interface DomainEvent$7 extends DomainEventBodyOneOf$7 {
8186
8186
  /** ID of the entity associated with the event. */
8187
8187
  entityId?: string;
8188
8188
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
8189
- eventTime?: Date;
8189
+ eventTime?: Date | null;
8190
8190
  /**
8191
8191
  * Whether the event was triggered as a result of a privacy regulation application
8192
8192
  * (for example, GDPR).
@@ -8215,7 +8215,7 @@ interface EntityCreatedEvent$7 {
8215
8215
  entity?: string;
8216
8216
  }
8217
8217
  interface RestoreInfo$7 {
8218
- deletedDate?: Date;
8218
+ deletedDate?: Date | null;
8219
8219
  }
8220
8220
  interface EntityUpdatedEvent$7 {
8221
8221
  /**
@@ -8375,7 +8375,7 @@ interface Booking$2 extends BookingParticipantsInfoOneOf$2 {
8375
8375
  * Date and time the booking was created.
8376
8376
  * @readonly
8377
8377
  */
8378
- _createdDate?: Date;
8378
+ _createdDate?: Date | null;
8379
8379
  /** External ID provided by the client app on creation. */
8380
8380
  externalUserId?: string | null;
8381
8381
  /** 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. */
@@ -8390,17 +8390,17 @@ interface Booking$2 extends BookingParticipantsInfoOneOf$2 {
8390
8390
  * 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.
8391
8391
  * @readonly
8392
8392
  */
8393
- startDate?: Date;
8393
+ startDate?: Date | null;
8394
8394
  /**
8395
8395
  * 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.
8396
8396
  * @readonly
8397
8397
  */
8398
- endDate?: Date;
8398
+ endDate?: Date | null;
8399
8399
  /**
8400
8400
  * Date and time the booking was updated.
8401
8401
  * @readonly
8402
8402
  */
8403
- _updatedDate?: Date;
8403
+ _updatedDate?: Date | null;
8404
8404
  /** Custom field data for this object. Extended fields must be configured in the app dashboard before they can be accessed with API calls. */
8405
8405
  extendedFields?: ExtendedFields$7;
8406
8406
  /**
@@ -9325,12 +9325,12 @@ interface Resource$2 extends ResourceCompositionDetailsOneOf {
9325
9325
  * Represents the time this resource was created.
9326
9326
  * @readonly
9327
9327
  */
9328
- _createdDate?: Date;
9328
+ _createdDate?: Date | null;
9329
9329
  /**
9330
9330
  * Represents the time this resource was last updated.
9331
9331
  * @readonly
9332
9332
  */
9333
- _updatedDate?: Date;
9333
+ _updatedDate?: Date | null;
9334
9334
  /** Name of the resource. */
9335
9335
  name?: string | null;
9336
9336
  /** `true` if this resource is hidden from visitors, `false` otherwise. */
@@ -10309,7 +10309,7 @@ interface SiteDeleted$1 {
10309
10309
  }
10310
10310
  interface DeleteContext$1 {
10311
10311
  /** When the meta site was deleted. */
10312
- dateDeleted?: Date;
10312
+ dateDeleted?: Date | null;
10313
10313
  /** A status. */
10314
10314
  deleteStatus?: DeleteStatus$1;
10315
10315
  /** A reason (flow). */
@@ -10411,7 +10411,7 @@ interface DomainEvent$6 extends DomainEventBodyOneOf$6 {
10411
10411
  /** ID of the entity associated with the event. */
10412
10412
  entityId?: string;
10413
10413
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
10414
- eventTime?: Date;
10414
+ eventTime?: Date | null;
10415
10415
  /**
10416
10416
  * Whether the event was triggered as a result of a privacy regulation application
10417
10417
  * (for example, GDPR).
@@ -10440,7 +10440,7 @@ interface EntityCreatedEvent$6 {
10440
10440
  entity?: string;
10441
10441
  }
10442
10442
  interface RestoreInfo$6 {
10443
- deletedDate?: Date;
10443
+ deletedDate?: Date | null;
10444
10444
  }
10445
10445
  interface EntityUpdatedEvent$6 {
10446
10446
  /**
@@ -10566,7 +10566,7 @@ interface EventMetadata$5 extends BaseEventMetadata$6 {
10566
10566
  /** ID of the entity associated with the event. */
10567
10567
  entityId?: string;
10568
10568
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
10569
- eventTime?: Date;
10569
+ eventTime?: Date | null;
10570
10570
  /**
10571
10571
  * Whether the event was triggered as a result of a privacy regulation application
10572
10572
  * (for example, GDPR).
@@ -10618,12 +10618,12 @@ interface UpdateResource {
10618
10618
  * Represents the time this resource was created.
10619
10619
  * @readonly
10620
10620
  */
10621
- _createdDate?: Date;
10621
+ _createdDate?: Date | null;
10622
10622
  /**
10623
10623
  * Represents the time this resource was last updated.
10624
10624
  * @readonly
10625
10625
  */
10626
- _updatedDate?: Date;
10626
+ _updatedDate?: Date | null;
10627
10627
  /** Name of the resource. */
10628
10628
  name?: string | null;
10629
10629
  /** `true` if this resource is hidden from visitors, `false` otherwise. */
@@ -10916,12 +10916,12 @@ interface ResourceType$1 {
10916
10916
  * Represents the time this resource type was created.
10917
10917
  * @readonly
10918
10918
  */
10919
- _createdDate?: Date;
10919
+ _createdDate?: Date | null;
10920
10920
  /**
10921
10921
  * Represents the time this resource type was last updated.
10922
10922
  * @readonly
10923
10923
  */
10924
- _updatedDate?: Date;
10924
+ _updatedDate?: Date | null;
10925
10925
  /** The name of this resource type. The name is unique per site. */
10926
10926
  name?: string | null;
10927
10927
  /** The ID of the app of which the resources of this type belong to. Default: Bookings App ID. */
@@ -11170,7 +11170,7 @@ interface DomainEvent$5 extends DomainEventBodyOneOf$5 {
11170
11170
  /** ID of the entity associated with the event. */
11171
11171
  entityId?: string;
11172
11172
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
11173
- eventTime?: Date;
11173
+ eventTime?: Date | null;
11174
11174
  /**
11175
11175
  * Whether the event was triggered as a result of a privacy regulation application
11176
11176
  * (for example, GDPR).
@@ -11199,7 +11199,7 @@ interface EntityCreatedEvent$5 {
11199
11199
  entity?: string;
11200
11200
  }
11201
11201
  interface RestoreInfo$5 {
11202
- deletedDate?: Date;
11202
+ deletedDate?: Date | null;
11203
11203
  }
11204
11204
  interface EntityUpdatedEvent$5 {
11205
11205
  /**
@@ -11306,7 +11306,7 @@ interface EventMetadata$4 extends BaseEventMetadata$5 {
11306
11306
  /** ID of the entity associated with the event. */
11307
11307
  entityId?: string;
11308
11308
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
11309
- eventTime?: Date;
11309
+ eventTime?: Date | null;
11310
11310
  /**
11311
11311
  * Whether the event was triggered as a result of a privacy regulation application
11312
11312
  * (for example, GDPR).
@@ -11364,12 +11364,12 @@ interface UpdateResourceType {
11364
11364
  * Represents the time this resource type was created.
11365
11365
  * @readonly
11366
11366
  */
11367
- _createdDate?: Date;
11367
+ _createdDate?: Date | null;
11368
11368
  /**
11369
11369
  * Represents the time this resource type was last updated.
11370
11370
  * @readonly
11371
11371
  */
11372
- _updatedDate?: Date;
11372
+ _updatedDate?: Date | null;
11373
11373
  /** The name of this resource type. The name is unique per site. */
11374
11374
  name?: string | null;
11375
11375
  /** The ID of the app of which the resources of this type belong to. Default: Bookings App ID. */
@@ -11643,12 +11643,12 @@ interface Service {
11643
11643
  * Date and time the service was created.
11644
11644
  * @readonly
11645
11645
  */
11646
- _createdDate?: Date;
11646
+ _createdDate?: Date | null;
11647
11647
  /**
11648
11648
  * Date and time the service was updated.
11649
11649
  * @readonly
11650
11650
  */
11651
- _updatedDate?: Date;
11651
+ _updatedDate?: Date | null;
11652
11652
  /**
11653
11653
  * 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.
11654
11654
  * @readonly
@@ -12011,12 +12011,12 @@ interface BookingPolicy$1 {
12011
12011
  * Date and time the policy was created.
12012
12012
  * @readonly
12013
12013
  */
12014
- _createdDate?: Date;
12014
+ _createdDate?: Date | null;
12015
12015
  /**
12016
12016
  * Date and time the policy was updated.
12017
12017
  * @readonly
12018
12018
  */
12019
- _updatedDate?: Date;
12019
+ _updatedDate?: Date | null;
12020
12020
  /**
12021
12021
  * Name of the policy.
12022
12022
  * @readonly
@@ -12298,12 +12298,12 @@ interface V2Schedule {
12298
12298
  * Start time of the first session in the schedule. For courses only.
12299
12299
  * @readonly
12300
12300
  */
12301
- firstSessionStart?: Date;
12301
+ firstSessionStart?: Date | null;
12302
12302
  /**
12303
12303
  * End time of the last session in the schedule. For courses only.
12304
12304
  * @readonly
12305
12305
  */
12306
- lastSessionEnd?: Date;
12306
+ lastSessionEnd?: Date | null;
12307
12307
  /** Limitations dictating the way session availability is calculated. For appointments only. */
12308
12308
  availabilityConstraints?: V2AvailabilityConstraints;
12309
12309
  }
@@ -12431,7 +12431,7 @@ interface Slug {
12431
12431
  * Date and time the slug was created. This is a system field.
12432
12432
  * @readonly
12433
12433
  */
12434
- _createdDate?: Date;
12434
+ _createdDate?: Date | null;
12435
12435
  }
12436
12436
  interface URLs {
12437
12437
  /**
@@ -12522,7 +12522,7 @@ interface ReindexMessage extends ReindexMessageActionOneOf {
12522
12522
  delete?: Delete;
12523
12523
  entityFqdn?: string;
12524
12524
  tenantId?: string;
12525
- eventTime?: Date;
12525
+ eventTime?: Date | null;
12526
12526
  entityEventSequence?: string | null;
12527
12527
  schema?: Schema;
12528
12528
  }
@@ -12572,7 +12572,7 @@ interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
12572
12572
  /** ID of the entity associated with the event. */
12573
12573
  entityId?: string;
12574
12574
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
12575
- eventTime?: Date;
12575
+ eventTime?: Date | null;
12576
12576
  /**
12577
12577
  * Whether the event was triggered as a result of a privacy regulation application
12578
12578
  * (for example, GDPR).
@@ -12601,7 +12601,7 @@ interface EntityCreatedEvent$4 {
12601
12601
  entity?: string;
12602
12602
  }
12603
12603
  interface RestoreInfo$4 {
12604
- deletedDate?: Date;
12604
+ deletedDate?: Date | null;
12605
12605
  }
12606
12606
  interface EntityUpdatedEvent$4 {
12607
12607
  /**
@@ -13782,12 +13782,12 @@ interface Schedule$1 {
13782
13782
  * Schedule creation date.
13783
13783
  * @readonly
13784
13784
  */
13785
- created?: Date;
13785
+ created?: Date | null;
13786
13786
  /**
13787
13787
  * Schedule last update date.
13788
13788
  * @readonly
13789
13789
  */
13790
- updated?: Date;
13790
+ updated?: Date | null;
13791
13791
  /**
13792
13792
  * Schedule version number, updated each time the schedule is updated.
13793
13793
  * @readonly
@@ -13817,9 +13817,9 @@ interface RecurringInterval$1 {
13817
13817
  */
13818
13818
  _id?: string;
13819
13819
  /** The start time of the recurring interval. Required. */
13820
- start?: Date;
13820
+ start?: Date | null;
13821
13821
  /** The end time of the recurring interval. Optional. Empty value indicates that there is no end time. */
13822
- end?: Date;
13822
+ end?: Date | null;
13823
13823
  /** The interval rules. The day, hour and minutes the interval is recurring. */
13824
13824
  interval?: Interval$1;
13825
13825
  /** The frequency of the interval. Optional. The default is frequency with the default repetition. */
@@ -14155,9 +14155,9 @@ interface Price$1 {
14155
14155
  */
14156
14156
  interface Availability$1 {
14157
14157
  /** Date and time the schedule starts to be available for booking. */
14158
- start?: Date;
14158
+ start?: Date | null;
14159
14159
  /** Date and time the schedule stops being available for booking. No value indicates no end time. */
14160
- end?: Date;
14160
+ end?: Date | null;
14161
14161
  /** Other schedules that impact the availability calculation. Relevant only when there are availability constraints. */
14162
14162
  linkedSchedules?: LinkedSchedule$1[];
14163
14163
  /** Constraints for calculating the schedule's availability. */
@@ -14326,7 +14326,7 @@ interface Session$1 {
14326
14326
  */
14327
14327
  scheduleOwnerId?: string | null;
14328
14328
  /** Original start date and time of the session in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)) format. */
14329
- originalStart?: Date;
14329
+ originalStart?: Date | null;
14330
14330
  /** An object specifying the start date and time of the session. If the session is a recurring session, `start` must contain a `localDateTime`. */
14331
14331
  start?: CalendarDateTime$1;
14332
14332
  /**
@@ -14480,7 +14480,7 @@ interface CalendarDateTime$1 {
14480
14480
  * Required if `localDateTime` is not specified.
14481
14481
  * If `localDateTime` is specified, `timestamp` is calculated as `localDateTime`, using the business's time zone.
14482
14482
  */
14483
- timestamp?: Date;
14483
+ timestamp?: Date | null;
14484
14484
  /** An object containing the local date and time for the business's time zone. */
14485
14485
  localDateTime?: LocalDateTime$1;
14486
14486
  /**
@@ -14790,7 +14790,7 @@ interface UserDomainInfoChangedEvent {
14790
14790
  domainName?: string;
14791
14791
  crudType?: CrudType;
14792
14792
  metaSiteId?: string | null;
14793
- changeTime?: Date;
14793
+ changeTime?: Date | null;
14794
14794
  }
14795
14795
  declare enum CrudType {
14796
14796
  INVALID_CRUD_TYPE = "INVALID_CRUD_TYPE",
@@ -15403,7 +15403,7 @@ interface EventMetadata$3 extends BaseEventMetadata$4 {
15403
15403
  /** ID of the entity associated with the event. */
15404
15404
  entityId?: string;
15405
15405
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
15406
- eventTime?: Date;
15406
+ eventTime?: Date | null;
15407
15407
  /**
15408
15408
  * Whether the event was triggered as a result of a privacy regulation application
15409
15409
  * (for example, GDPR).
@@ -15499,12 +15499,12 @@ interface UpdateService {
15499
15499
  * Date and time the service was created.
15500
15500
  * @readonly
15501
15501
  */
15502
- _createdDate?: Date;
15502
+ _createdDate?: Date | null;
15503
15503
  /**
15504
15504
  * Date and time the service was updated.
15505
15505
  * @readonly
15506
15506
  */
15507
- _updatedDate?: Date;
15507
+ _updatedDate?: Date | null;
15508
15508
  /**
15509
15509
  * 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.
15510
15510
  * @readonly
@@ -16235,12 +16235,12 @@ interface StaffMember {
16235
16235
  * Represents the time this staff member was created.
16236
16236
  * @readonly
16237
16237
  */
16238
- _createdDate?: Date;
16238
+ _createdDate?: Date | null;
16239
16239
  /**
16240
16240
  * Represents the time this staff member was last updated
16241
16241
  * @readonly
16242
16242
  */
16243
- _updatedDate?: Date;
16243
+ _updatedDate?: Date | null;
16244
16244
  /** Extensions enabling users to save custom data related to the staff member. */
16245
16245
  extendedFields?: ExtendedFields$3;
16246
16246
  }
@@ -16853,7 +16853,7 @@ interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
16853
16853
  /** ID of the entity associated with the event. */
16854
16854
  entityId?: string;
16855
16855
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
16856
- eventTime?: Date;
16856
+ eventTime?: Date | null;
16857
16857
  /**
16858
16858
  * Whether the event was triggered as a result of a privacy regulation application
16859
16859
  * (for example, GDPR).
@@ -16882,7 +16882,7 @@ interface EntityCreatedEvent$3 {
16882
16882
  entity?: string;
16883
16883
  }
16884
16884
  interface RestoreInfo$3 {
16885
- deletedDate?: Date;
16885
+ deletedDate?: Date | null;
16886
16886
  }
16887
16887
  interface EntityUpdatedEvent$3 {
16888
16888
  /**
@@ -17014,12 +17014,12 @@ interface Schedule {
17014
17014
  * Schedule creation date.
17015
17015
  * @readonly
17016
17016
  */
17017
- created?: Date;
17017
+ created?: Date | null;
17018
17018
  /**
17019
17019
  * Schedule last update date.
17020
17020
  * @readonly
17021
17021
  */
17022
- updated?: Date;
17022
+ updated?: Date | null;
17023
17023
  /**
17024
17024
  * Schedule version number, updated each time the schedule is updated.
17025
17025
  * @readonly
@@ -17049,9 +17049,9 @@ interface RecurringInterval {
17049
17049
  */
17050
17050
  _id?: string;
17051
17051
  /** The start time of the recurring interval. Required. */
17052
- start?: Date;
17052
+ start?: Date | null;
17053
17053
  /** The end time of the recurring interval. Optional. Empty value indicates that there is no end time. */
17054
- end?: Date;
17054
+ end?: Date | null;
17055
17055
  /** The interval rules. The day, hour and minutes the interval is recurring. */
17056
17056
  interval?: Interval;
17057
17057
  /** The frequency of the interval. Optional. The default is frequency with the default repetition. */
@@ -17387,9 +17387,9 @@ interface Price {
17387
17387
  */
17388
17388
  interface Availability {
17389
17389
  /** Date and time the schedule starts to be available for booking. */
17390
- start?: Date;
17390
+ start?: Date | null;
17391
17391
  /** Date and time the schedule stops being available for booking. No value indicates no end time. */
17392
- end?: Date;
17392
+ end?: Date | null;
17393
17393
  /** Other schedules that impact the availability calculation. Relevant only when there are availability constraints. */
17394
17394
  linkedSchedules?: LinkedSchedule[];
17395
17395
  /** Constraints for calculating the schedule's availability. */
@@ -17558,7 +17558,7 @@ interface Session {
17558
17558
  */
17559
17559
  scheduleOwnerId?: string | null;
17560
17560
  /** Original start date and time of the session in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)) format. */
17561
- originalStart?: Date;
17561
+ originalStart?: Date | null;
17562
17562
  /** An object specifying the start date and time of the session. If the session is a recurring session, `start` must contain a `localDateTime`. */
17563
17563
  start?: CalendarDateTime;
17564
17564
  /**
@@ -17712,7 +17712,7 @@ interface CalendarDateTime {
17712
17712
  * Required if `localDateTime` is not specified.
17713
17713
  * If `localDateTime` is specified, `timestamp` is calculated as `localDateTime`, using the business's time zone.
17714
17714
  */
17715
- timestamp?: Date;
17715
+ timestamp?: Date | null;
17716
17716
  /** An object containing the local date and time for the business's time zone. */
17717
17717
  localDateTime?: LocalDateTime;
17718
17718
  /**
@@ -18074,7 +18074,7 @@ interface SiteDeleted {
18074
18074
  }
18075
18075
  interface DeleteContext {
18076
18076
  /** When the meta site was deleted. */
18077
- dateDeleted?: Date;
18077
+ dateDeleted?: Date | null;
18078
18078
  /** A status. */
18079
18079
  deleteStatus?: DeleteStatus;
18080
18080
  /** A reason (flow). */
@@ -18340,7 +18340,7 @@ interface EventMetadata$2 extends BaseEventMetadata$3 {
18340
18340
  /** ID of the entity associated with the event. */
18341
18341
  entityId?: string;
18342
18342
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
18343
- eventTime?: Date;
18343
+ eventTime?: Date | null;
18344
18344
  /**
18345
18345
  * Whether the event was triggered as a result of a privacy regulation application
18346
18346
  * (for example, GDPR).
@@ -18431,12 +18431,12 @@ interface UpdateStaffMember {
18431
18431
  * Represents the time this staff member was created.
18432
18432
  * @readonly
18433
18433
  */
18434
- _createdDate?: Date;
18434
+ _createdDate?: Date | null;
18435
18435
  /**
18436
18436
  * Represents the time this staff member was last updated
18437
18437
  * @readonly
18438
18438
  */
18439
- _updatedDate?: Date;
18439
+ _updatedDate?: Date | null;
18440
18440
  /** Extensions enabling users to save custom data related to the staff member. */
18441
18441
  extendedFields?: ExtendedFields$3;
18442
18442
  }
@@ -18979,12 +18979,12 @@ interface BookingPolicy {
18979
18979
  * Date and time the booking policy was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
18980
18980
  * @readonly
18981
18981
  */
18982
- _createdDate?: Date;
18982
+ _createdDate?: Date | null;
18983
18983
  /**
18984
18984
  * Date and time the booking policy was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
18985
18985
  * @readonly
18986
18986
  */
18987
- _updatedDate?: Date;
18987
+ _updatedDate?: Date | null;
18988
18988
  /** Name of the booking policy. */
18989
18989
  name?: string | null;
18990
18990
  /**
@@ -19483,7 +19483,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
19483
19483
  /** ID of the entity associated with the event. */
19484
19484
  entityId?: string;
19485
19485
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
19486
- eventTime?: Date;
19486
+ eventTime?: Date | null;
19487
19487
  /**
19488
19488
  * Whether the event was triggered as a result of a privacy regulation application
19489
19489
  * (for example, GDPR).
@@ -19512,7 +19512,7 @@ interface EntityCreatedEvent$2 {
19512
19512
  entity?: string;
19513
19513
  }
19514
19514
  interface RestoreInfo$2 {
19515
- deletedDate?: Date;
19515
+ deletedDate?: Date | null;
19516
19516
  }
19517
19517
  interface EntityUpdatedEvent$2 {
19518
19518
  /**
@@ -19946,7 +19946,7 @@ interface EventMetadata$1 extends BaseEventMetadata$2 {
19946
19946
  /** ID of the entity associated with the event. */
19947
19947
  entityId?: string;
19948
19948
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
19949
- eventTime?: Date;
19949
+ eventTime?: Date | null;
19950
19950
  /**
19951
19951
  * Whether the event was triggered as a result of a privacy regulation application
19952
19952
  * (for example, GDPR).
@@ -19996,12 +19996,12 @@ interface UpdateBookingPolicy {
19996
19996
  * Date and time the booking policy was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
19997
19997
  * @readonly
19998
19998
  */
19999
- _createdDate?: Date;
19999
+ _createdDate?: Date | null;
20000
20000
  /**
20001
20001
  * Date and time the booking policy was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
20002
20002
  * @readonly
20003
20003
  */
20004
- _updatedDate?: Date;
20004
+ _updatedDate?: Date | null;
20005
20005
  /** Name of the booking policy. */
20006
20006
  name?: string | null;
20007
20007
  /**
@@ -20877,7 +20877,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
20877
20877
  /** ID of the entity associated with the event. */
20878
20878
  entityId?: string;
20879
20879
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
20880
- eventTime?: Date;
20880
+ eventTime?: Date | null;
20881
20881
  /**
20882
20882
  * Whether the event was triggered as a result of a privacy regulation application
20883
20883
  * (for example, GDPR).
@@ -20906,7 +20906,7 @@ interface EntityCreatedEvent$1 {
20906
20906
  entity?: string;
20907
20907
  }
20908
20908
  interface RestoreInfo$1 {
20909
- deletedDate?: Date;
20909
+ deletedDate?: Date | null;
20910
20910
  }
20911
20911
  interface EntityUpdatedEvent$1 {
20912
20912
  /**
@@ -21246,7 +21246,7 @@ interface Booking$1 extends BookingParticipantsInfoOneOf$1 {
21246
21246
  * Date and time the booking was created.
21247
21247
  * @readonly
21248
21248
  */
21249
- _createdDate?: Date;
21249
+ _createdDate?: Date | null;
21250
21250
  /** External ID provided by the client app on creation. */
21251
21251
  externalUserId?: string | null;
21252
21252
  /** 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. */
@@ -21261,17 +21261,17 @@ interface Booking$1 extends BookingParticipantsInfoOneOf$1 {
21261
21261
  * 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.
21262
21262
  * @readonly
21263
21263
  */
21264
- startDate?: Date;
21264
+ startDate?: Date | null;
21265
21265
  /**
21266
21266
  * 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.
21267
21267
  * @readonly
21268
21268
  */
21269
- endDate?: Date;
21269
+ endDate?: Date | null;
21270
21270
  /**
21271
21271
  * Date and time the booking was updated.
21272
21272
  * @readonly
21273
21273
  */
21274
- _updatedDate?: Date;
21274
+ _updatedDate?: Date | null;
21275
21275
  /** Custom field data for this object. Extended fields must be configured in the app dashboard before they can be accessed with API calls. */
21276
21276
  extendedFields?: ExtendedFields$1;
21277
21277
  /**
@@ -21941,9 +21941,9 @@ interface BookingRescheduled extends BookingRescheduledPreviousParticipantsInfoO
21941
21941
  /** An object describing the previous slot or schedule of the booking. */
21942
21942
  previousBookedEntity?: BookedEntity$1;
21943
21943
  /** The previous start date of the booking. For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session. */
21944
- previousStartDate?: Date;
21944
+ previousStartDate?: Date | null;
21945
21945
  /** The previous end date of the booking. For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session. */
21946
- previousEndDate?: Date;
21946
+ previousEndDate?: Date | null;
21947
21947
  }
21948
21948
  /** @oneof */
21949
21949
  interface BookingRescheduledPreviousParticipantsInfoOneOf {
@@ -22379,7 +22379,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
22379
22379
  /** ID of the entity associated with the event. */
22380
22380
  entityId?: string;
22381
22381
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
22382
- eventTime?: Date;
22382
+ eventTime?: Date | null;
22383
22383
  /**
22384
22384
  * Whether the event was triggered as a result of a privacy regulation application
22385
22385
  * (for example, GDPR).
@@ -22408,7 +22408,7 @@ interface EntityCreatedEvent {
22408
22408
  entity?: string;
22409
22409
  }
22410
22410
  interface RestoreInfo {
22411
- deletedDate?: Date;
22411
+ deletedDate?: Date | null;
22412
22412
  }
22413
22413
  interface EntityUpdatedEvent {
22414
22414
  /**
@@ -23731,7 +23731,7 @@ interface EventMetadata extends BaseEventMetadata {
23731
23731
  /** ID of the entity associated with the event. */
23732
23732
  entityId?: string;
23733
23733
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
23734
- eventTime?: Date;
23734
+ eventTime?: Date | null;
23735
23735
  /**
23736
23736
  * Whether the event was triggered as a result of a privacy regulation application
23737
23737
  * (for example, GDPR).
@@ -24950,7 +24950,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
24950
24950
  * Date and time the booking was created.
24951
24951
  * @readonly
24952
24952
  */
24953
- _createdDate?: Date;
24953
+ _createdDate?: Date | null;
24954
24954
  /** External ID provided by the client app on creation. */
24955
24955
  externalUserId?: string | null;
24956
24956
  /** 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. */
@@ -24965,17 +24965,17 @@ interface Booking extends BookingParticipantsInfoOneOf {
24965
24965
  * 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.
24966
24966
  * @readonly
24967
24967
  */
24968
- startDate?: Date;
24968
+ startDate?: Date | null;
24969
24969
  /**
24970
24970
  * 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.
24971
24971
  * @readonly
24972
24972
  */
24973
- endDate?: Date;
24973
+ endDate?: Date | null;
24974
24974
  /**
24975
24975
  * Date and time the booking was updated.
24976
24976
  * @readonly
24977
24977
  */
24978
- _updatedDate?: Date;
24978
+ _updatedDate?: Date | null;
24979
24979
  /** Custom field data for this object. Extended fields must be configured in the app dashboard before they can be accessed with API calls. */
24980
24980
  extendedFields?: ExtendedFields;
24981
24981
  /**