@wix/ecom 1.0.787 → 1.0.788

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.
@@ -685,12 +685,12 @@ interface DiscountRule$7 {
685
685
  * Date and time the discount rule was created.
686
686
  * @readonly
687
687
  */
688
- _createdDate?: Date;
688
+ _createdDate?: Date | null;
689
689
  /**
690
690
  * Date and time the discount rule was last updated.
691
691
  * @readonly
692
692
  */
693
- _updatedDate?: Date;
693
+ _updatedDate?: Date | null;
694
694
  /**
695
695
  * Whether the discount rule is active.
696
696
  *
@@ -854,9 +854,9 @@ declare enum TriggerType {
854
854
  }
855
855
  interface ActiveTimeInfo {
856
856
  /** Date and time the discount rule is active **from**, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
857
- start?: Date;
857
+ start?: Date | null;
858
858
  /** Date and time the discount rule is active **till**, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
859
- end?: Date;
859
+ end?: Date | null;
860
860
  }
861
861
  interface Discounts {
862
862
  /** Discounts. */
@@ -1211,7 +1211,7 @@ interface DomainEvent$k extends DomainEventBodyOneOf$k {
1211
1211
  /** ID of the entity associated with the event. */
1212
1212
  entityId?: string;
1213
1213
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1214
- eventTime?: Date;
1214
+ eventTime?: Date | null;
1215
1215
  /**
1216
1216
  * Whether the event was triggered as a result of a privacy regulation application
1217
1217
  * (for example, GDPR).
@@ -1240,7 +1240,7 @@ interface EntityCreatedEvent$k {
1240
1240
  entity?: string;
1241
1241
  }
1242
1242
  interface RestoreInfo$k {
1243
- deletedDate?: Date;
1243
+ deletedDate?: Date | null;
1244
1244
  }
1245
1245
  interface EntityUpdatedEvent$k {
1246
1246
  /**
@@ -1417,7 +1417,7 @@ interface EventMetadata$f extends BaseEventMetadata$f {
1417
1417
  /** ID of the entity associated with the event. */
1418
1418
  entityId?: string;
1419
1419
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1420
- eventTime?: Date;
1420
+ eventTime?: Date | null;
1421
1421
  /**
1422
1422
  * Whether the event was triggered as a result of a privacy regulation application
1423
1423
  * (for example, GDPR).
@@ -1462,12 +1462,12 @@ interface UpdateDiscountRule {
1462
1462
  * Date and time the discount rule was created.
1463
1463
  * @readonly
1464
1464
  */
1465
- _createdDate?: Date;
1465
+ _createdDate?: Date | null;
1466
1466
  /**
1467
1467
  * Date and time the discount rule was last updated.
1468
1468
  * @readonly
1469
1469
  */
1470
- _updatedDate?: Date;
1470
+ _updatedDate?: Date | null;
1471
1471
  /**
1472
1472
  * Whether the discount rule is active.
1473
1473
  *
@@ -1845,7 +1845,7 @@ interface DomainEvent$j extends DomainEventBodyOneOf$j {
1845
1845
  /** ID of the entity associated with the event. */
1846
1846
  entityId?: string;
1847
1847
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1848
- eventTime?: Date;
1848
+ eventTime?: Date | null;
1849
1849
  /**
1850
1850
  * Whether the event was triggered as a result of a privacy regulation application
1851
1851
  * (for example, GDPR).
@@ -1874,7 +1874,7 @@ interface EntityCreatedEvent$j {
1874
1874
  entity?: string;
1875
1875
  }
1876
1876
  interface RestoreInfo$j {
1877
- deletedDate?: Date;
1877
+ deletedDate?: Date | null;
1878
1878
  }
1879
1879
  interface EntityUpdatedEvent$j {
1880
1880
  /**
@@ -1908,7 +1908,7 @@ interface GenerateInvoiceWithNumberRequest {
1908
1908
  orderId?: string;
1909
1909
  invoiceNumber?: string;
1910
1910
  /** Date and time the payment was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
1911
- issueDate?: Date;
1911
+ issueDate?: Date | null;
1912
1912
  }
1913
1913
  interface GenerateInvoiceWithNumberResponse {
1914
1914
  /** Invoice ID. */
@@ -2220,9 +2220,9 @@ interface AbandonedCheckout {
2220
2220
  /** Abandoned checkout ID. */
2221
2221
  _id?: string;
2222
2222
  /** Date and time the abandoned checkout was created. */
2223
- _createdDate?: Date;
2223
+ _createdDate?: Date | null;
2224
2224
  /** Date and time the abandoned checkout was updated. */
2225
- _updatedDate?: Date;
2225
+ _updatedDate?: Date | null;
2226
2226
  /** The associated checkout ID. */
2227
2227
  checkoutId?: string | null;
2228
2228
  /** The associated cart ID. */
@@ -2250,7 +2250,7 @@ interface AbandonedCheckout {
2250
2250
  */
2251
2251
  activities?: Activity$3[];
2252
2252
  /** Date and time the abandoned checkout was recovered. */
2253
- checkoutRecoveredDate?: Date;
2253
+ checkoutRecoveredDate?: Date | null;
2254
2254
  /** Checkout URL. */
2255
2255
  checkoutUrl?: string;
2256
2256
  /** Subtotal price of all line items, before discounts and before tax. */
@@ -2360,7 +2360,7 @@ interface MultiCurrencyPrice$5 {
2360
2360
  }
2361
2361
  interface Activity$3 {
2362
2362
  /** Date and time the automation activity was created. */
2363
- _createdDate?: Date;
2363
+ _createdDate?: Date | null;
2364
2364
  /**
2365
2365
  * Automation activity type.
2366
2366
  *
@@ -2374,12 +2374,12 @@ interface CartAbandonedEvent {
2374
2374
  * Time the cart was created
2375
2375
  * @readonly
2376
2376
  */
2377
- creationTime?: Date;
2377
+ creationTime?: Date | null;
2378
2378
  /**
2379
2379
  * Time the cart was abandoned
2380
2380
  * @readonly
2381
2381
  */
2382
- abandonTime?: Date;
2382
+ abandonTime?: Date | null;
2383
2383
  /** Buyer information */
2384
2384
  buyerInfo?: BuyerInfo$8;
2385
2385
  /** Amount of items in cart */
@@ -2429,17 +2429,17 @@ interface CartRecoveredEvent {
2429
2429
  * Time the cart was recovered
2430
2430
  * @readonly
2431
2431
  */
2432
- recoveredTime?: Date;
2432
+ recoveredTime?: Date | null;
2433
2433
  /**
2434
2434
  * Time the cart was created
2435
2435
  * @readonly
2436
2436
  */
2437
- creationTime?: Date;
2437
+ creationTime?: Date | null;
2438
2438
  /**
2439
2439
  * Time the cart was abandoned
2440
2440
  * @readonly
2441
2441
  */
2442
- abandonedTime?: Date;
2442
+ abandonedTime?: Date | null;
2443
2443
  }
2444
2444
  interface GetAbandonedCheckoutRequest {
2445
2445
  /** Abandoned checkout ID. */
@@ -2648,7 +2648,7 @@ interface AddAbandonedCheckoutActivityResponse {
2648
2648
  }
2649
2649
  interface Task$1 {
2650
2650
  key?: TaskKey$1;
2651
- executeAt?: Date;
2651
+ executeAt?: Date | null;
2652
2652
  payload?: string | null;
2653
2653
  }
2654
2654
  interface TaskKey$1 {
@@ -2672,7 +2672,7 @@ interface Complete$1 {
2672
2672
  interface Cancel$1 {
2673
2673
  }
2674
2674
  interface Reschedule$1 {
2675
- executeAt?: Date;
2675
+ executeAt?: Date | null;
2676
2676
  payload?: string | null;
2677
2677
  }
2678
2678
  interface RedirectToCheckoutRequest {
@@ -2714,7 +2714,7 @@ interface DomainEvent$i extends DomainEventBodyOneOf$i {
2714
2714
  /** ID of the entity associated with the event. */
2715
2715
  entityId?: string;
2716
2716
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2717
- eventTime?: Date;
2717
+ eventTime?: Date | null;
2718
2718
  /**
2719
2719
  * Whether the event was triggered as a result of a privacy regulation application
2720
2720
  * (for example, GDPR).
@@ -2743,7 +2743,7 @@ interface EntityCreatedEvent$i {
2743
2743
  entity?: string;
2744
2744
  }
2745
2745
  interface RestoreInfo$i {
2746
- deletedDate?: Date;
2746
+ deletedDate?: Date | null;
2747
2747
  }
2748
2748
  interface EntityUpdatedEvent$i {
2749
2749
  /**
@@ -2881,7 +2881,7 @@ interface EventMetadata$e extends BaseEventMetadata$e {
2881
2881
  /** ID of the entity associated with the event. */
2882
2882
  entityId?: string;
2883
2883
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2884
- eventTime?: Date;
2884
+ eventTime?: Date | null;
2885
2885
  /**
2886
2886
  * Whether the event was triggered as a result of a privacy regulation application
2887
2887
  * (for example, GDPR).
@@ -3131,7 +3131,7 @@ interface BackInStockNotificationRequest {
3131
3131
  * Date and time the notification request was created.
3132
3132
  * @readonly
3133
3133
  */
3134
- _createdDate?: Date;
3134
+ _createdDate?: Date | null;
3135
3135
  /** Item URL for this request. */
3136
3136
  itemUrl?: string | null;
3137
3137
  }
@@ -3410,7 +3410,7 @@ interface DomainEvent$h extends DomainEventBodyOneOf$h {
3410
3410
  /** ID of the entity associated with the event. */
3411
3411
  entityId?: string;
3412
3412
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3413
- eventTime?: Date;
3413
+ eventTime?: Date | null;
3414
3414
  /**
3415
3415
  * Whether the event was triggered as a result of a privacy regulation application
3416
3416
  * (for example, GDPR).
@@ -3439,7 +3439,7 @@ interface EntityCreatedEvent$h {
3439
3439
  entity?: string;
3440
3440
  }
3441
3441
  interface RestoreInfo$h {
3442
- deletedDate?: Date;
3442
+ deletedDate?: Date | null;
3443
3443
  }
3444
3444
  interface EntityUpdatedEvent$h {
3445
3445
  /**
@@ -3554,7 +3554,7 @@ interface EventMetadata$d extends BaseEventMetadata$d {
3554
3554
  /** ID of the entity associated with the event. */
3555
3555
  entityId?: string;
3556
3556
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3557
- eventTime?: Date;
3557
+ eventTime?: Date | null;
3558
3558
  /**
3559
3559
  * Whether the event was triggered as a result of a privacy regulation application
3560
3560
  * (for example, GDPR).
@@ -4027,12 +4027,12 @@ interface Cart$1 {
4027
4027
  * Date and time the cart was created.
4028
4028
  * @readonly
4029
4029
  */
4030
- _createdDate?: Date;
4030
+ _createdDate?: Date | null;
4031
4031
  /**
4032
4032
  * Date and time the cart was updated.
4033
4033
  * @readonly
4034
4034
  */
4035
- _updatedDate?: Date;
4035
+ _updatedDate?: Date | null;
4036
4036
  /** Contact info. */
4037
4037
  contactInfo?: AddressWithContact$5;
4038
4038
  /**
@@ -4402,7 +4402,7 @@ declare enum PaymentOptionType$6 {
4402
4402
  }
4403
4403
  interface ServiceProperties$5 {
4404
4404
  /** The date and time for which the service is supposed to be provided. For example, the time of the class. */
4405
- scheduledDate?: Date;
4405
+ scheduledDate?: Date | null;
4406
4406
  /** The number of people participating in this service. For example, the number of people attending the class or the number of people per hotel room. */
4407
4407
  numberOfParticipants?: number | null;
4408
4408
  }
@@ -5124,9 +5124,9 @@ declare enum PickupMethod$7 {
5124
5124
  }
5125
5125
  interface DeliveryTimeSlot$7 {
5126
5126
  /** starting time of the delivery time slot */
5127
- from?: Date;
5127
+ from?: Date | null;
5128
5128
  /** ending time of the delivery time slot */
5129
- to?: Date;
5129
+ to?: Date | null;
5130
5130
  }
5131
5131
  interface SelectedCarrierServiceOptionPrices$4 {
5132
5132
  /** Total shipping price, after discount and after tax. */
@@ -5395,7 +5395,7 @@ interface Membership$4 {
5395
5395
  /** Optional - For a membership that has limited credits, information about credit usage. */
5396
5396
  credits?: MembershipPaymentCredits$4;
5397
5397
  /** Optional - TMembership expiry date. */
5398
- expirationDate?: Date;
5398
+ expirationDate?: Date | null;
5399
5399
  /** Additional data about this membership. */
5400
5400
  additionalData?: Record<string, any> | null;
5401
5401
  }
@@ -5602,7 +5602,7 @@ interface DomainEvent$g extends DomainEventBodyOneOf$g {
5602
5602
  /** ID of the entity associated with the event. */
5603
5603
  entityId?: string;
5604
5604
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
5605
- eventTime?: Date;
5605
+ eventTime?: Date | null;
5606
5606
  /**
5607
5607
  * Whether the event was triggered as a result of a privacy regulation application
5608
5608
  * (for example, GDPR).
@@ -5631,7 +5631,7 @@ interface EntityCreatedEvent$g {
5631
5631
  entity?: string;
5632
5632
  }
5633
5633
  interface RestoreInfo$g {
5634
- deletedDate?: Date;
5634
+ deletedDate?: Date | null;
5635
5635
  }
5636
5636
  interface EntityUpdatedEvent$g {
5637
5637
  /**
@@ -6275,7 +6275,7 @@ interface EventMetadata$c extends BaseEventMetadata$c {
6275
6275
  /** ID of the entity associated with the event. */
6276
6276
  entityId?: string;
6277
6277
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
6278
- eventTime?: Date;
6278
+ eventTime?: Date | null;
6279
6279
  /**
6280
6280
  * Whether the event was triggered as a result of a privacy regulation application
6281
6281
  * (for example, GDPR).
@@ -6381,12 +6381,12 @@ interface UpdateCartOptions {
6381
6381
  * Date and time the cart was created.
6382
6382
  * @readonly
6383
6383
  */
6384
- _createdDate?: Date;
6384
+ _createdDate?: Date | null;
6385
6385
  /**
6386
6386
  * Date and time the cart was updated.
6387
6387
  * @readonly
6388
6388
  */
6389
- _updatedDate?: Date;
6389
+ _updatedDate?: Date | null;
6390
6390
  /** Contact info. */
6391
6391
  contactInfo?: AddressWithContact$5;
6392
6392
  /**
@@ -6713,12 +6713,12 @@ interface Cart {
6713
6713
  * Date and time the cart was created.
6714
6714
  * @readonly
6715
6715
  */
6716
- _createdDate?: Date;
6716
+ _createdDate?: Date | null;
6717
6717
  /**
6718
6718
  * Date and time the cart was updated.
6719
6719
  * @readonly
6720
6720
  */
6721
- _updatedDate?: Date;
6721
+ _updatedDate?: Date | null;
6722
6722
  /** Contact info. */
6723
6723
  contactInfo?: AddressWithContact$4;
6724
6724
  /**
@@ -7088,7 +7088,7 @@ declare enum PaymentOptionType$5 {
7088
7088
  }
7089
7089
  interface ServiceProperties$4 {
7090
7090
  /** The date and time for which the service is supposed to be provided. For example, the time of the class. */
7091
- scheduledDate?: Date;
7091
+ scheduledDate?: Date | null;
7092
7092
  /** The number of people participating in this service. For example, the number of people attending the class or the number of people per hotel room. */
7093
7093
  numberOfParticipants?: number | null;
7094
7094
  }
@@ -7810,9 +7810,9 @@ declare enum PickupMethod$6 {
7810
7810
  }
7811
7811
  interface DeliveryTimeSlot$6 {
7812
7812
  /** starting time of the delivery time slot */
7813
- from?: Date;
7813
+ from?: Date | null;
7814
7814
  /** ending time of the delivery time slot */
7815
- to?: Date;
7815
+ to?: Date | null;
7816
7816
  }
7817
7817
  interface SelectedCarrierServiceOptionPrices$3 {
7818
7818
  /** Total shipping price, after discount and after tax. */
@@ -8081,7 +8081,7 @@ interface Membership$3 {
8081
8081
  /** Optional - For a membership that has limited credits, information about credit usage. */
8082
8082
  credits?: MembershipPaymentCredits$3;
8083
8083
  /** Optional - TMembership expiry date. */
8084
- expirationDate?: Date;
8084
+ expirationDate?: Date | null;
8085
8085
  /** Additional data about this membership. */
8086
8086
  additionalData?: Record<string, any> | null;
8087
8087
  }
@@ -8288,7 +8288,7 @@ interface DomainEvent$f extends DomainEventBodyOneOf$f {
8288
8288
  /** ID of the entity associated with the event. */
8289
8289
  entityId?: string;
8290
8290
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
8291
- eventTime?: Date;
8291
+ eventTime?: Date | null;
8292
8292
  /**
8293
8293
  * Whether the event was triggered as a result of a privacy regulation application
8294
8294
  * (for example, GDPR).
@@ -8317,7 +8317,7 @@ interface EntityCreatedEvent$f {
8317
8317
  entity?: string;
8318
8318
  }
8319
8319
  interface RestoreInfo$f {
8320
- deletedDate?: Date;
8320
+ deletedDate?: Date | null;
8321
8321
  }
8322
8322
  interface EntityUpdatedEvent$f {
8323
8323
  /**
@@ -8961,7 +8961,7 @@ interface EventMetadata$b extends BaseEventMetadata$b {
8961
8961
  /** ID of the entity associated with the event. */
8962
8962
  entityId?: string;
8963
8963
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
8964
- eventTime?: Date;
8964
+ eventTime?: Date | null;
8965
8965
  /**
8966
8966
  * Whether the event was triggered as a result of a privacy regulation application
8967
8967
  * (for example, GDPR).
@@ -9375,12 +9375,12 @@ interface Checkout$1 {
9375
9375
  * Date and time the checkout was created.
9376
9376
  * @readonly
9377
9377
  */
9378
- _createdDate?: Date;
9378
+ _createdDate?: Date | null;
9379
9379
  /**
9380
9380
  * Date and time the checkout was updated.
9381
9381
  * @readonly
9382
9382
  */
9383
- _updatedDate?: Date;
9383
+ _updatedDate?: Date | null;
9384
9384
  /**
9385
9385
  * Minimal amount to pay in order to place the order.
9386
9386
  * @readonly
@@ -9887,7 +9887,7 @@ interface ServiceProperties$3 {
9887
9887
  * Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
9888
9888
  * For example, the start time of a class.
9889
9889
  */
9890
- scheduledDate?: Date;
9890
+ scheduledDate?: Date | null;
9891
9891
  /** The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room. */
9892
9892
  numberOfParticipants?: number | null;
9893
9893
  }
@@ -10076,9 +10076,9 @@ declare enum PickupMethod$5 {
10076
10076
  }
10077
10077
  interface DeliveryTimeSlot$5 {
10078
10078
  /** starting time of the delivery time slot */
10079
- from?: Date;
10079
+ from?: Date | null;
10080
10080
  /** ending time of the delivery time slot */
10081
- to?: Date;
10081
+ to?: Date | null;
10082
10082
  }
10083
10083
  interface SelectedCarrierServiceOptionPrices$2 {
10084
10084
  /** Total shipping price, after discount and after tax. */
@@ -10574,7 +10574,7 @@ interface Membership$2 {
10574
10574
  /** Optional - For a membership that has limited credits, information about credit usage. */
10575
10575
  credits?: MembershipPaymentCredits$2;
10576
10576
  /** Optional - TMembership expiry date. */
10577
- expirationDate?: Date;
10577
+ expirationDate?: Date | null;
10578
10578
  /** Additional data about this membership. */
10579
10579
  additionalData?: Record<string, any> | null;
10580
10580
  }
@@ -11165,7 +11165,7 @@ interface Subscription {
11165
11165
  * Subscription creation date
11166
11166
  * @readonly
11167
11167
  */
11168
- dateCreated?: Date;
11168
+ dateCreated?: Date | null;
11169
11169
  /** The id of the cart this order was created from */
11170
11170
  cartId?: string | null;
11171
11171
  /** The id of the checkout this subscriptions was created from */
@@ -11553,7 +11553,7 @@ interface DomainEvent$e extends DomainEventBodyOneOf$e {
11553
11553
  /** ID of the entity associated with the event. */
11554
11554
  entityId?: string;
11555
11555
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
11556
- eventTime?: Date;
11556
+ eventTime?: Date | null;
11557
11557
  /**
11558
11558
  * Whether the event was triggered as a result of a privacy regulation application
11559
11559
  * (for example, GDPR).
@@ -11582,7 +11582,7 @@ interface EntityCreatedEvent$e {
11582
11582
  entity?: string;
11583
11583
  }
11584
11584
  interface RestoreInfo$e {
11585
- deletedDate?: Date;
11585
+ deletedDate?: Date | null;
11586
11586
  }
11587
11587
  interface EntityUpdatedEvent$e {
11588
11588
  /**
@@ -12133,7 +12133,7 @@ interface EventMetadata$a extends BaseEventMetadata$a {
12133
12133
  /** ID of the entity associated with the event. */
12134
12134
  entityId?: string;
12135
12135
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
12136
- eventTime?: Date;
12136
+ eventTime?: Date | null;
12137
12137
  /**
12138
12138
  * Whether the event was triggered as a result of a privacy regulation application
12139
12139
  * (for example, GDPR).
@@ -12308,12 +12308,12 @@ interface UpdateCheckout {
12308
12308
  * Date and time the checkout was created.
12309
12309
  * @readonly
12310
12310
  */
12311
- _createdDate?: Date;
12311
+ _createdDate?: Date | null;
12312
12312
  /**
12313
12313
  * Date and time the checkout was updated.
12314
12314
  * @readonly
12315
12315
  */
12316
- _updatedDate?: Date;
12316
+ _updatedDate?: Date | null;
12317
12317
  /**
12318
12318
  * Minimal amount to pay in order to place the order.
12319
12319
  * @readonly
@@ -12741,12 +12741,12 @@ interface CheckoutSettings {
12741
12741
  * Date and time the checkout settings were created.
12742
12742
  * @readonly
12743
12743
  */
12744
- _createdDate?: Date;
12744
+ _createdDate?: Date | null;
12745
12745
  /**
12746
12746
  * Date and time the checkout settings were updated.
12747
12747
  * @readonly
12748
12748
  */
12749
- _updatedDate?: Date;
12749
+ _updatedDate?: Date | null;
12750
12750
  }
12751
12751
  interface CheckoutPolicies {
12752
12752
  /** Terms and conditions. */
@@ -12962,7 +12962,7 @@ interface DomainEvent$d extends DomainEventBodyOneOf$d {
12962
12962
  /** ID of the entity associated with the event. */
12963
12963
  entityId?: string;
12964
12964
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
12965
- eventTime?: Date;
12965
+ eventTime?: Date | null;
12966
12966
  /**
12967
12967
  * Whether the event was triggered as a result of a privacy regulation application
12968
12968
  * (for example, GDPR).
@@ -12991,7 +12991,7 @@ interface EntityCreatedEvent$d {
12991
12991
  entity?: string;
12992
12992
  }
12993
12993
  interface RestoreInfo$d {
12994
- deletedDate?: Date;
12994
+ deletedDate?: Date | null;
12995
12995
  }
12996
12996
  interface EntityUpdatedEvent$d {
12997
12997
  /**
@@ -13096,7 +13096,7 @@ interface EventMetadata$9 extends BaseEventMetadata$9 {
13096
13096
  /** ID of the entity associated with the event. */
13097
13097
  entityId?: string;
13098
13098
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
13099
- eventTime?: Date;
13099
+ eventTime?: Date | null;
13100
13100
  /**
13101
13101
  * Whether the event was triggered as a result of a privacy regulation application
13102
13102
  * (for example, GDPR).
@@ -13608,7 +13608,7 @@ interface ServiceProperties$2 {
13608
13608
  * Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
13609
13609
  * For example, the start time of a class.
13610
13610
  */
13611
- scheduledDate?: Date;
13611
+ scheduledDate?: Date | null;
13612
13612
  /** The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room. */
13613
13613
  numberOfParticipants?: number | null;
13614
13614
  }
@@ -13885,12 +13885,12 @@ interface Checkout {
13885
13885
  * Date and time the checkout was created.
13886
13886
  * @readonly
13887
13887
  */
13888
- _createdDate?: Date;
13888
+ _createdDate?: Date | null;
13889
13889
  /**
13890
13890
  * Date and time the checkout was updated.
13891
13891
  * @readonly
13892
13892
  */
13893
- _updatedDate?: Date;
13893
+ _updatedDate?: Date | null;
13894
13894
  /**
13895
13895
  * Minimal amount to pay in order to place the order.
13896
13896
  * @readonly
@@ -14351,9 +14351,9 @@ declare enum PickupMethod$4 {
14351
14351
  }
14352
14352
  interface DeliveryTimeSlot$4 {
14353
14353
  /** starting time of the delivery time slot */
14354
- from?: Date;
14354
+ from?: Date | null;
14355
14355
  /** ending time of the delivery time slot */
14356
- to?: Date;
14356
+ to?: Date | null;
14357
14357
  }
14358
14358
  interface SelectedCarrierServiceOptionPrices$1 {
14359
14359
  /** Total shipping price, after discount and after tax. */
@@ -14849,7 +14849,7 @@ interface Membership$1 {
14849
14849
  /** Optional - For a membership that has limited credits, information about credit usage. */
14850
14850
  credits?: MembershipPaymentCredits$1;
14851
14851
  /** Optional - TMembership expiry date. */
14852
- expirationDate?: Date;
14852
+ expirationDate?: Date | null;
14853
14853
  /** Additional data about this membership. */
14854
14854
  additionalData?: Record<string, any> | null;
14855
14855
  }
@@ -15033,7 +15033,7 @@ interface DomainEvent$c extends DomainEventBodyOneOf$c {
15033
15033
  /** ID of the entity associated with the event. */
15034
15034
  entityId?: string;
15035
15035
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
15036
- eventTime?: Date;
15036
+ eventTime?: Date | null;
15037
15037
  /**
15038
15038
  * Whether the event was triggered as a result of a privacy regulation application
15039
15039
  * (for example, GDPR).
@@ -15062,7 +15062,7 @@ interface EntityCreatedEvent$c {
15062
15062
  entity?: string;
15063
15063
  }
15064
15064
  interface RestoreInfo$c {
15065
- deletedDate?: Date;
15065
+ deletedDate?: Date | null;
15066
15066
  }
15067
15067
  interface EntityUpdatedEvent$c {
15068
15068
  /**
@@ -15280,7 +15280,7 @@ interface EventMetadata$8 extends BaseEventMetadata$8 {
15280
15280
  /** ID of the entity associated with the event. */
15281
15281
  entityId?: string;
15282
15282
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
15283
- eventTime?: Date;
15283
+ eventTime?: Date | null;
15284
15284
  /**
15285
15285
  * Whether the event was triggered as a result of a privacy regulation application
15286
15286
  * (for example, GDPR).
@@ -15659,12 +15659,12 @@ interface DeliveryProfile {
15659
15659
  * Date and time the DeliveryProfile was created.
15660
15660
  * @readonly
15661
15661
  */
15662
- _createdDate?: Date;
15662
+ _createdDate?: Date | null;
15663
15663
  /**
15664
15664
  * Date and time the DeliveryProfile was last updated.
15665
15665
  * @readonly
15666
15666
  */
15667
- _updatedDate?: Date;
15667
+ _updatedDate?: Date | null;
15668
15668
  /** Extended fields. */
15669
15669
  extendedFields?: ExtendedFields$5;
15670
15670
  }
@@ -15690,7 +15690,7 @@ interface DeliveryRegion {
15690
15690
  * Represents the time this Profile was created
15691
15691
  * @readonly
15692
15692
  */
15693
- _createdDate?: Date;
15693
+ _createdDate?: Date | null;
15694
15694
  }
15695
15695
  interface DeliveryCarrier {
15696
15696
  /** AppDefId of the provider as it is registered in Wix Dev Center. Can be fetched by listDeliveryProvider api. */
@@ -15771,7 +15771,7 @@ interface DeliveryRegionAdded {
15771
15771
  * Represents the time this Profile was created
15772
15772
  * @readonly
15773
15773
  */
15774
- _createdDate?: Date;
15774
+ _createdDate?: Date | null;
15775
15775
  }
15776
15776
  interface GetDeliveryProfileRequest {
15777
15777
  /** ID of the DeliveryProfile to retrieve. */
@@ -15927,7 +15927,7 @@ interface DeliveryRegionUpdated {
15927
15927
  * Represents the time this Profile was created
15928
15928
  * @readonly
15929
15929
  */
15930
- _createdDate?: Date;
15930
+ _createdDate?: Date | null;
15931
15931
  }
15932
15932
  interface RemoveDeliveryRegionRequest$1 {
15933
15933
  /** DeliveryProfile id that owns the DeliveryRegion */
@@ -16290,7 +16290,7 @@ interface SiteDeleted {
16290
16290
  }
16291
16291
  interface DeleteContext {
16292
16292
  /** When the meta site was deleted. */
16293
- dateDeleted?: Date;
16293
+ dateDeleted?: Date | null;
16294
16294
  /** A status. */
16295
16295
  deleteStatus?: DeleteStatus;
16296
16296
  /** A reason (flow). */
@@ -16392,7 +16392,7 @@ interface DomainEvent$b extends DomainEventBodyOneOf$b {
16392
16392
  /** ID of the entity associated with the event. */
16393
16393
  entityId?: string;
16394
16394
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
16395
- eventTime?: Date;
16395
+ eventTime?: Date | null;
16396
16396
  /**
16397
16397
  * Whether the event was triggered as a result of a privacy regulation application
16398
16398
  * (for example, GDPR).
@@ -16421,7 +16421,7 @@ interface EntityCreatedEvent$b {
16421
16421
  entity?: string;
16422
16422
  }
16423
16423
  interface RestoreInfo$b {
16424
- deletedDate?: Date;
16424
+ deletedDate?: Date | null;
16425
16425
  }
16426
16426
  interface EntityUpdatedEvent$b {
16427
16427
  /**
@@ -16604,7 +16604,7 @@ interface EventMetadata$7 extends BaseEventMetadata$7 {
16604
16604
  /** ID of the entity associated with the event. */
16605
16605
  entityId?: string;
16606
16606
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
16607
- eventTime?: Date;
16607
+ eventTime?: Date | null;
16608
16608
  /**
16609
16609
  * Whether the event was triggered as a result of a privacy regulation application
16610
16610
  * (for example, GDPR).
@@ -16670,12 +16670,12 @@ interface UpdateDeliveryProfile {
16670
16670
  * Date and time the DeliveryProfile was created.
16671
16671
  * @readonly
16672
16672
  */
16673
- _createdDate?: Date;
16673
+ _createdDate?: Date | null;
16674
16674
  /**
16675
16675
  * Date and time the DeliveryProfile was last updated.
16676
16676
  * @readonly
16677
16677
  */
16678
- _updatedDate?: Date;
16678
+ _updatedDate?: Date | null;
16679
16679
  /** Extended fields. */
16680
16680
  extendedFields?: ExtendedFields$5;
16681
16681
  }
@@ -16793,7 +16793,7 @@ interface UpdateDeliveryRegion {
16793
16793
  * Represents the time this Profile was created
16794
16794
  * @readonly
16795
16795
  */
16796
- _createdDate?: Date;
16796
+ _createdDate?: Date | null;
16797
16797
  }
16798
16798
  interface UpdateDeliveryRegionOptions {
16799
16799
  /**
@@ -17191,12 +17191,12 @@ interface DraftOrder {
17191
17191
  * Date and time the draft order was created.
17192
17192
  * @readonly
17193
17193
  */
17194
- _createdDate?: Date;
17194
+ _createdDate?: Date | null;
17195
17195
  /**
17196
17196
  * Date and time the draft order was updated.
17197
17197
  * @readonly
17198
17198
  */
17199
- _updatedDate?: Date;
17199
+ _updatedDate?: Date | null;
17200
17200
  /**
17201
17201
  * Identity of the draft order's initiator.
17202
17202
  * @readonly
@@ -17582,7 +17582,7 @@ interface DigitalFile$2 {
17582
17582
  * Link expiration time and date.
17583
17583
  * @readonly
17584
17584
  */
17585
- expirationDate?: Date;
17585
+ expirationDate?: Date | null;
17586
17586
  }
17587
17587
  interface SubscriptionInfo$2 {
17588
17588
  /** Subscription ID. */
@@ -17694,7 +17694,7 @@ interface V1DeliveryLogistics extends V1DeliveryLogisticsAddressOneOf {
17694
17694
  * Deprecated - Latest expected delivery date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
17695
17695
  * @deprecated
17696
17696
  */
17697
- deliverByDate?: Date;
17697
+ deliverByDate?: Date | null;
17698
17698
  /** Expected delivery time. */
17699
17699
  deliveryTimeSlot?: V1DeliveryTimeSlot;
17700
17700
  }
@@ -17804,9 +17804,9 @@ declare enum PickupDetailsPickupMethod {
17804
17804
  }
17805
17805
  interface V1DeliveryTimeSlot {
17806
17806
  /** Delivery slot starting time. */
17807
- from?: Date;
17807
+ from?: Date | null;
17808
17808
  /** Delivery slot ending time. */
17809
- to?: Date;
17809
+ to?: Date | null;
17810
17810
  }
17811
17811
  interface V1ShippingPrice {
17812
17812
  /** Shipping price for display purposes. */
@@ -18267,9 +18267,9 @@ declare enum PickupMethod$3 {
18267
18267
  }
18268
18268
  interface DeliveryTimeSlot$3 {
18269
18269
  /** starting time of the delivery time slot */
18270
- from?: Date;
18270
+ from?: Date | null;
18271
18271
  /** ending time of the delivery time slot */
18272
- to?: Date;
18272
+ to?: Date | null;
18273
18273
  }
18274
18274
  interface ShippingPrice$2 {
18275
18275
  /** The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes). */
@@ -18721,12 +18721,12 @@ interface Order$2 {
18721
18721
  * Date and time the order was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
18722
18722
  * @readonly
18723
18723
  */
18724
- _createdDate?: Date;
18724
+ _createdDate?: Date | null;
18725
18725
  /**
18726
18726
  * Date and time the order was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
18727
18727
  * @readonly
18728
18728
  */
18729
- _updatedDate?: Date;
18729
+ _updatedDate?: Date | null;
18730
18730
  /**
18731
18731
  * Order line items.
18732
18732
  * @readonly
@@ -18897,7 +18897,7 @@ interface Activity$2 extends ActivityContentOneOf$1 {
18897
18897
  * Activity creation date and time.
18898
18898
  * @readonly
18899
18899
  */
18900
- _createdDate?: Date;
18900
+ _createdDate?: Date | null;
18901
18901
  /** Activity type. */
18902
18902
  type?: ActivityType$2;
18903
18903
  }
@@ -19485,7 +19485,7 @@ interface DomainEvent$a extends DomainEventBodyOneOf$a {
19485
19485
  /** ID of the entity associated with the event. */
19486
19486
  entityId?: string;
19487
19487
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
19488
- eventTime?: Date;
19488
+ eventTime?: Date | null;
19489
19489
  /**
19490
19490
  * Whether the event was triggered as a result of a privacy regulation application
19491
19491
  * (for example, GDPR).
@@ -19514,7 +19514,7 @@ interface EntityCreatedEvent$a {
19514
19514
  entity?: string;
19515
19515
  }
19516
19516
  interface RestoreInfo$a {
19517
- deletedDate?: Date;
19517
+ deletedDate?: Date | null;
19518
19518
  }
19519
19519
  interface EntityUpdatedEvent$a {
19520
19520
  /**
@@ -20676,7 +20676,7 @@ interface Fulfillment$1 extends FulfillmentFulfillmentInfoOneOf {
20676
20676
  * Fulfillment creation date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
20677
20677
  * @readonly
20678
20678
  */
20679
- _createdDate?: Date;
20679
+ _createdDate?: Date | null;
20680
20680
  /** Line items being fulfilled. */
20681
20681
  lineItems?: FulfillmentLineItem$1[];
20682
20682
  /**
@@ -20738,7 +20738,7 @@ interface FulfillmentCreated {
20738
20738
  /** ID of the newly created fulfillment. */
20739
20739
  fulfillmentId?: string;
20740
20740
  /** Fulfillment creation date and time. */
20741
- dateCreated?: Date;
20741
+ dateCreated?: Date | null;
20742
20742
  /** Buyer information. */
20743
20743
  buyerInfo?: BuyerInfo$2;
20744
20744
  /** Order fulfillment status. */
@@ -20950,7 +20950,7 @@ interface DomainEvent$9 extends DomainEventBodyOneOf$9 {
20950
20950
  /** ID of the entity associated with the event. */
20951
20951
  entityId?: string;
20952
20952
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
20953
- eventTime?: Date;
20953
+ eventTime?: Date | null;
20954
20954
  /**
20955
20955
  * Whether the event was triggered as a result of a privacy regulation application
20956
20956
  * (for example, GDPR).
@@ -20979,7 +20979,7 @@ interface EntityCreatedEvent$9 {
20979
20979
  entity?: string;
20980
20980
  }
20981
20981
  interface RestoreInfo$9 {
20982
- deletedDate?: Date;
20982
+ deletedDate?: Date | null;
20983
20983
  }
20984
20984
  interface EntityUpdatedEvent$9 {
20985
20985
  /**
@@ -21112,7 +21112,7 @@ interface EventMetadata$6 extends BaseEventMetadata$6 {
21112
21112
  /** ID of the entity associated with the event. */
21113
21113
  entityId?: string;
21114
21114
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
21115
- eventTime?: Date;
21115
+ eventTime?: Date | null;
21116
21116
  /**
21117
21117
  * Whether the event was triggered as a result of a privacy regulation application
21118
21118
  * (for example, GDPR).
@@ -21150,7 +21150,7 @@ interface UpdateFulfillmentOptions {
21150
21150
  * Fulfillment creation date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
21151
21151
  * @readonly
21152
21152
  */
21153
- _createdDate?: Date;
21153
+ _createdDate?: Date | null;
21154
21154
  /** Line items being fulfilled. */
21155
21155
  lineItems?: FulfillmentLineItem$1[];
21156
21156
  /**
@@ -21517,7 +21517,7 @@ interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
21517
21517
  * Date and time the LocalDeliveryOption was created.
21518
21518
  * @readonly
21519
21519
  */
21520
- _createdDate?: Date;
21520
+ _createdDate?: Date | null;
21521
21521
  }
21522
21522
  /** @oneof */
21523
21523
  interface LocalDeliveryOptionConfigOneOf {
@@ -21753,7 +21753,7 @@ interface DomainEvent$8 extends DomainEventBodyOneOf$8 {
21753
21753
  /** ID of the entity associated with the event. */
21754
21754
  entityId?: string;
21755
21755
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
21756
- eventTime?: Date;
21756
+ eventTime?: Date | null;
21757
21757
  /**
21758
21758
  * Whether the event was triggered as a result of a privacy regulation application
21759
21759
  * (for example, GDPR).
@@ -21782,7 +21782,7 @@ interface EntityCreatedEvent$8 {
21782
21782
  entity?: string;
21783
21783
  }
21784
21784
  interface RestoreInfo$8 {
21785
- deletedDate?: Date;
21785
+ deletedDate?: Date | null;
21786
21786
  }
21787
21787
  interface EntityUpdatedEvent$8 {
21788
21788
  /**
@@ -21930,7 +21930,7 @@ interface EventMetadata$5 extends BaseEventMetadata$5 {
21930
21930
  /** ID of the entity associated with the event. */
21931
21931
  entityId?: string;
21932
21932
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
21933
- eventTime?: Date;
21933
+ eventTime?: Date | null;
21934
21934
  /**
21935
21935
  * Whether the event was triggered as a result of a privacy regulation application
21936
21936
  * (for example, GDPR).
@@ -21990,7 +21990,7 @@ interface UpdateLocalDeliveryOption {
21990
21990
  * Date and time the LocalDeliveryOption was created.
21991
21991
  * @readonly
21992
21992
  */
21993
- _createdDate?: Date;
21993
+ _createdDate?: Date | null;
21994
21994
  }
21995
21995
 
21996
21996
  declare function createLocalDeliveryOption$1(httpClient: HttpClient): CreateLocalDeliveryOptionSignature;
@@ -22139,12 +22139,12 @@ interface Order$1 {
22139
22139
  * Date and time the order was created.
22140
22140
  * @readonly
22141
22141
  */
22142
- _createdDate?: Date;
22142
+ _createdDate?: Date | null;
22143
22143
  /**
22144
22144
  * Date and time the order was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
22145
22145
  * @readonly
22146
22146
  */
22147
- _updatedDate?: Date;
22147
+ _updatedDate?: Date | null;
22148
22148
  /**
22149
22149
  * Order line items.
22150
22150
  * @readonly
@@ -22570,7 +22570,7 @@ interface DigitalFile$1 {
22570
22570
  * Link expiration time and date.
22571
22571
  * @readonly
22572
22572
  */
22573
- expirationDate?: Date;
22573
+ expirationDate?: Date | null;
22574
22574
  }
22575
22575
  interface SubscriptionInfo$1 {
22576
22576
  /** Subscription ID. */
@@ -22800,7 +22800,7 @@ interface DeliveryLogistics$2 extends DeliveryLogisticsAddressOneOf {
22800
22800
  * Deprecated - Latest expected delivery date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
22801
22801
  * @deprecated
22802
22802
  */
22803
- deliverByDate?: Date;
22803
+ deliverByDate?: Date | null;
22804
22804
  /** Expected delivery time. */
22805
22805
  deliveryTimeSlot?: DeliveryTimeSlot$2;
22806
22806
  }
@@ -22841,9 +22841,9 @@ declare enum PickupMethod$2 {
22841
22841
  }
22842
22842
  interface DeliveryTimeSlot$2 {
22843
22843
  /** Delivery slot starting time. */
22844
- from?: Date;
22844
+ from?: Date | null;
22845
22845
  /** Delivery slot ending time. */
22846
- to?: Date;
22846
+ to?: Date | null;
22847
22847
  }
22848
22848
  interface ShippingPrice$1 {
22849
22849
  /** Shipping price for display purposes. */
@@ -23023,7 +23023,7 @@ interface Activity$1 extends ActivityContentOneOf {
23023
23023
  * Activity creation date and time.
23024
23024
  * @readonly
23025
23025
  */
23026
- _createdDate?: Date;
23026
+ _createdDate?: Date | null;
23027
23027
  /** Activity type. */
23028
23028
  type?: ActivityType$1;
23029
23029
  }
@@ -23592,12 +23592,12 @@ interface MetaSite {
23592
23592
  * Date and time when meta site was created.
23593
23593
  * @readonly
23594
23594
  */
23595
- dateCreated?: Date;
23595
+ dateCreated?: Date | null;
23596
23596
  /**
23597
23597
  * Date and time when meta site was updated for the last time.
23598
23598
  * @readonly
23599
23599
  */
23600
- dateUpdated?: Date;
23600
+ dateUpdated?: Date | null;
23601
23601
  /**
23602
23602
  * All "applications" of this meta site.
23603
23603
  *
@@ -23962,12 +23962,12 @@ interface Payment$2 extends PaymentPaymentDetailsOneOf$2 {
23962
23962
  */
23963
23963
  _id?: string | null;
23964
23964
  /** Date and time the payment was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
23965
- _createdDate?: Date;
23965
+ _createdDate?: Date | null;
23966
23966
  /**
23967
23967
  * Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
23968
23968
  * @readonly
23969
23969
  */
23970
- _updatedDate?: Date;
23970
+ _updatedDate?: Date | null;
23971
23971
  /** Payment amount. */
23972
23972
  amount?: Price$2;
23973
23973
  /**
@@ -24040,7 +24040,7 @@ interface AuthorizationDetails$2 {
24040
24040
  */
24041
24041
  delayedCapture?: boolean;
24042
24042
  /** Date and time the payment was authorized in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
24043
- authorizedDate?: Date;
24043
+ authorizedDate?: Date | null;
24044
24044
  /**
24045
24045
  * List of captures associated with payment
24046
24046
  * In case of failed it can be replaced with new one with PENDING or SUCCESS statuses
@@ -24062,7 +24062,7 @@ interface AuthorizationCapture$2 {
24062
24062
  /** Amount of this capture */
24063
24063
  amount?: Price$2;
24064
24064
  /** Date and time the capture was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
24065
- _createdDate?: Date;
24065
+ _createdDate?: Date | null;
24066
24066
  /** In case of status is FAILED may contain failure details */
24067
24067
  failureDetails?: AuthorizationActionFailureDetails$2;
24068
24068
  }
@@ -24082,7 +24082,7 @@ interface AuthorizationVoid$2 {
24082
24082
  /** Status of this void action */
24083
24083
  status?: AuthorizationVoidStatus$2;
24084
24084
  /** Date and time the void was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
24085
- voidedDate?: Date;
24085
+ voidedDate?: Date | null;
24086
24086
  /** In case of status is FAILED may contain failure details */
24087
24087
  failureDetails?: AuthorizationActionFailureDetails$2;
24088
24088
  /** Reason of void action */
@@ -24112,7 +24112,7 @@ interface V1ScheduledAction {
24112
24112
  /** type of the action */
24113
24113
  actionType?: ActionType$2;
24114
24114
  /** the date and time of the action */
24115
- executionDate?: Date;
24115
+ executionDate?: Date | null;
24116
24116
  }
24117
24117
  declare enum ActionType$2 {
24118
24118
  UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
@@ -24172,7 +24172,7 @@ interface Refund$2 {
24172
24172
  /** Refund business details. */
24173
24173
  details?: RefundDetails$2;
24174
24174
  /** Date and time the refund was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
24175
- _createdDate?: Date;
24175
+ _createdDate?: Date | null;
24176
24176
  }
24177
24177
  interface RefundTransaction$2 {
24178
24178
  /** ID of the payment associated with this refund. */
@@ -24313,7 +24313,7 @@ interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOpera
24313
24313
  /** id to pass to processing notification */
24314
24314
  correlationId?: string | null;
24315
24315
  /** when event was created / issued */
24316
- issuedAt?: Date;
24316
+ issuedAt?: Date | null;
24317
24317
  }
24318
24318
  /** @oneof */
24319
24319
  interface UpdateInternalDocumentsEventOperationOneOf {
@@ -24414,7 +24414,7 @@ interface DomainEvent$7 extends DomainEventBodyOneOf$7 {
24414
24414
  /** ID of the entity associated with the event. */
24415
24415
  entityId?: string;
24416
24416
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
24417
- eventTime?: Date;
24417
+ eventTime?: Date | null;
24418
24418
  /**
24419
24419
  * Whether the event was triggered as a result of a privacy regulation application
24420
24420
  * (for example, GDPR).
@@ -24443,7 +24443,7 @@ interface EntityCreatedEvent$7 {
24443
24443
  entity?: string;
24444
24444
  }
24445
24445
  interface RestoreInfo$7 {
24446
- deletedDate?: Date;
24446
+ deletedDate?: Date | null;
24447
24447
  }
24448
24448
  interface EntityUpdatedEvent$7 {
24449
24449
  /**
@@ -24860,7 +24860,7 @@ interface ServiceProperties$1 {
24860
24860
  * Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
24861
24861
  * For example, the start time of a class.
24862
24862
  */
24863
- scheduledDate?: Date;
24863
+ scheduledDate?: Date | null;
24864
24864
  /** The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room. */
24865
24865
  numberOfParticipants?: number | null;
24866
24866
  }
@@ -25395,7 +25395,7 @@ interface OrderDeltasCommitted {
25395
25395
  * Date and time when order deltas were committed.
25396
25396
  * @readonly
25397
25397
  */
25398
- commitDate?: Date;
25398
+ commitDate?: Date | null;
25399
25399
  }
25400
25400
  interface CommittedDiffs extends CommittedDiffsShippingUpdateInfoOneOf {
25401
25401
  /** Shipping info and selected shipping option details. */
@@ -25631,7 +25631,7 @@ interface InternalActivity extends InternalActivityContentOneOf {
25631
25631
  * Internal activity creation date and time.
25632
25632
  * @readonly
25633
25633
  */
25634
- _createdDate?: Date;
25634
+ _createdDate?: Date | null;
25635
25635
  }
25636
25636
  /** @oneof */
25637
25637
  interface InternalActivityContentOneOf {
@@ -26032,7 +26032,7 @@ interface OrderApproved {
26032
26032
  }
26033
26033
  interface Task {
26034
26034
  key?: TaskKey;
26035
- executeAt?: Date;
26035
+ executeAt?: Date | null;
26036
26036
  payload?: string | null;
26037
26037
  }
26038
26038
  interface TaskKey {
@@ -26056,7 +26056,7 @@ interface Complete {
26056
26056
  interface Cancel {
26057
26057
  }
26058
26058
  interface Reschedule {
26059
- executeAt?: Date;
26059
+ executeAt?: Date | null;
26060
26060
  payload?: string | null;
26061
26061
  }
26062
26062
  interface InvoiceSentEvent {
@@ -26231,16 +26231,16 @@ interface StandardDetails {
26231
26231
  }
26232
26232
  interface InvoiceDates {
26233
26233
  /** use UTC midnight date to set the issue date according to the site time zone */
26234
- issueDate?: Date;
26234
+ issueDate?: Date | null;
26235
26235
  /** use UTC midnight date to set the due date according to the site time zone */
26236
- dueDate?: Date;
26236
+ dueDate?: Date | null;
26237
26237
  /** <a href="http://joda-time.sourceforge.net/timezones.html">Valid time zones</a> */
26238
26238
  timeZoneCode?: string | null;
26239
26239
  /**
26240
26240
  * ignored in request use in response to get the site time zone
26241
26241
  * @readonly
26242
26242
  */
26243
- lastSeenDate?: Date;
26243
+ lastSeenDate?: Date | null;
26244
26244
  }
26245
26245
  interface LineItems {
26246
26246
  lineItems?: LineItem$2[];
@@ -26338,7 +26338,7 @@ interface InvoicesPayment {
26338
26338
  _id?: string;
26339
26339
  type?: string;
26340
26340
  amount?: BigDecimalWrapper;
26341
- date?: Date;
26341
+ date?: Date | null;
26342
26342
  /**
26343
26343
  * The orderId of the order in cashier associated with the payment.
26344
26344
  * This field is populated for external payments that are charged by invoices via AddPayment endpoint.
@@ -27065,7 +27065,7 @@ interface EventMetadata$4 extends BaseEventMetadata$4 {
27065
27065
  /** ID of the entity associated with the event. */
27066
27066
  entityId?: string;
27067
27067
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
27068
- eventTime?: Date;
27068
+ eventTime?: Date | null;
27069
27069
  /**
27070
27070
  * Whether the event was triggered as a result of a privacy regulation application
27071
27071
  * (for example, GDPR).
@@ -27141,12 +27141,12 @@ interface UpdateOrder {
27141
27141
  * Date and time the order was created.
27142
27142
  * @readonly
27143
27143
  */
27144
- _createdDate?: Date;
27144
+ _createdDate?: Date | null;
27145
27145
  /**
27146
27146
  * Date and time the order was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
27147
27147
  * @readonly
27148
27148
  */
27149
- _updatedDate?: Date;
27149
+ _updatedDate?: Date | null;
27150
27150
  /**
27151
27151
  * Order line items.
27152
27152
  * @readonly
@@ -27993,19 +27993,19 @@ interface OrderPaymentRequest {
27993
27993
  /** Image to be displayed to the customer on the payment page. */
27994
27994
  image?: string;
27995
27995
  /** Time and date the order payment request expires. */
27996
- expirationDate?: Date;
27996
+ expirationDate?: Date | null;
27997
27997
  /** [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the Wix Dev Center before they can be accessed with API calls. */
27998
27998
  extendedFields?: ExtendedFields$2;
27999
27999
  /**
28000
28000
  * Date and time the OrderPaymentRequest was created.
28001
28001
  * @readonly
28002
28002
  */
28003
- _createdDate?: Date;
28003
+ _createdDate?: Date | null;
28004
28004
  /**
28005
28005
  * Date and time the OrderPaymentRequest was last updated.
28006
28006
  * @readonly
28007
28007
  */
28008
- _updatedDate?: Date;
28008
+ _updatedDate?: Date | null;
28009
28009
  }
28010
28010
  interface Source {
28011
28011
  /** App Def ID that created the order payment request. */
@@ -28067,12 +28067,12 @@ interface Payment$1 extends PaymentPaymentDetailsOneOf$1 {
28067
28067
  */
28068
28068
  _id?: string | null;
28069
28069
  /** Date and time the payment was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
28070
- _createdDate?: Date;
28070
+ _createdDate?: Date | null;
28071
28071
  /**
28072
28072
  * Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
28073
28073
  * @readonly
28074
28074
  */
28075
- _updatedDate?: Date;
28075
+ _updatedDate?: Date | null;
28076
28076
  /** Payment amount. */
28077
28077
  amount?: Price$1;
28078
28078
  /**
@@ -28145,7 +28145,7 @@ interface AuthorizationDetails$1 {
28145
28145
  */
28146
28146
  delayedCapture?: boolean;
28147
28147
  /** Date and time the payment was authorized in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
28148
- authorizedDate?: Date;
28148
+ authorizedDate?: Date | null;
28149
28149
  /**
28150
28150
  * List of captures associated with payment
28151
28151
  * In case of failed it can be replaced with new one with PENDING or SUCCESS statuses
@@ -28167,7 +28167,7 @@ interface AuthorizationCapture$1 {
28167
28167
  /** Amount of this capture */
28168
28168
  amount?: Price$1;
28169
28169
  /** Date and time the capture was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
28170
- _createdDate?: Date;
28170
+ _createdDate?: Date | null;
28171
28171
  /** In case of status is FAILED may contain failure details */
28172
28172
  failureDetails?: AuthorizationActionFailureDetails$1;
28173
28173
  }
@@ -28187,7 +28187,7 @@ interface AuthorizationVoid$1 {
28187
28187
  /** Status of this void action */
28188
28188
  status?: AuthorizationVoidStatus$1;
28189
28189
  /** Date and time the void was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
28190
- voidedDate?: Date;
28190
+ voidedDate?: Date | null;
28191
28191
  /** In case of status is FAILED may contain failure details */
28192
28192
  failureDetails?: AuthorizationActionFailureDetails$1;
28193
28193
  /** Reason of void action */
@@ -28217,7 +28217,7 @@ interface ScheduledAction$1 {
28217
28217
  /** type of the action */
28218
28218
  actionType?: ActionType$1;
28219
28219
  /** the date and time of the action */
28220
- executionDate?: Date;
28220
+ executionDate?: Date | null;
28221
28221
  }
28222
28222
  declare enum ActionType$1 {
28223
28223
  UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
@@ -28277,7 +28277,7 @@ interface Refund$1 {
28277
28277
  /** Refund business details. */
28278
28278
  details?: RefundDetails$1;
28279
28279
  /** Date and time the refund was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
28280
- _createdDate?: Date;
28280
+ _createdDate?: Date | null;
28281
28281
  }
28282
28282
  interface RefundTransaction$1 {
28283
28283
  /** ID of the payment associated with this refund. */
@@ -28493,7 +28493,7 @@ interface DomainEvent$6 extends DomainEventBodyOneOf$6 {
28493
28493
  /** ID of the entity associated with the event. */
28494
28494
  entityId?: string;
28495
28495
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
28496
- eventTime?: Date;
28496
+ eventTime?: Date | null;
28497
28497
  /**
28498
28498
  * Whether the event was triggered as a result of a privacy regulation application
28499
28499
  * (for example, GDPR).
@@ -28522,7 +28522,7 @@ interface EntityCreatedEvent$6 {
28522
28522
  entity?: string;
28523
28523
  }
28524
28524
  interface RestoreInfo$6 {
28525
- deletedDate?: Date;
28525
+ deletedDate?: Date | null;
28526
28526
  }
28527
28527
  interface EntityUpdatedEvent$6 {
28528
28528
  /**
@@ -28662,19 +28662,19 @@ interface UpdateOrderPaymentRequest {
28662
28662
  /** Image to be displayed to the customer on the payment page. */
28663
28663
  image?: string;
28664
28664
  /** Time and date the order payment request expires. */
28665
- expirationDate?: Date;
28665
+ expirationDate?: Date | null;
28666
28666
  /** [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the Wix Dev Center before they can be accessed with API calls. */
28667
28667
  extendedFields?: ExtendedFields$2;
28668
28668
  /**
28669
28669
  * Date and time the OrderPaymentRequest was created.
28670
28670
  * @readonly
28671
28671
  */
28672
- _createdDate?: Date;
28672
+ _createdDate?: Date | null;
28673
28673
  /**
28674
28674
  * Date and time the OrderPaymentRequest was last updated.
28675
28675
  * @readonly
28676
28676
  */
28677
- _updatedDate?: Date;
28677
+ _updatedDate?: Date | null;
28678
28678
  }
28679
28679
  interface QueryCursorResult$3 {
28680
28680
  cursors: Cursors$4;
@@ -28894,12 +28894,12 @@ interface Payment extends PaymentPaymentDetailsOneOf {
28894
28894
  */
28895
28895
  _id?: string | null;
28896
28896
  /** Date and time the payment was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
28897
- _createdDate?: Date;
28897
+ _createdDate?: Date | null;
28898
28898
  /**
28899
28899
  * Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
28900
28900
  * @readonly
28901
28901
  */
28902
- _updatedDate?: Date;
28902
+ _updatedDate?: Date | null;
28903
28903
  /** Payment amount. */
28904
28904
  amount?: Price;
28905
28905
  /**
@@ -28972,7 +28972,7 @@ interface AuthorizationDetails {
28972
28972
  */
28973
28973
  delayedCapture?: boolean;
28974
28974
  /** Date and time the payment was authorized in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
28975
- authorizedDate?: Date;
28975
+ authorizedDate?: Date | null;
28976
28976
  /**
28977
28977
  * List of captures associated with payment
28978
28978
  * In case of failed it can be replaced with new one with PENDING or SUCCESS statuses
@@ -28994,7 +28994,7 @@ interface AuthorizationCapture {
28994
28994
  /** Amount of this capture */
28995
28995
  amount?: Price;
28996
28996
  /** Date and time the capture was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
28997
- _createdDate?: Date;
28997
+ _createdDate?: Date | null;
28998
28998
  /** In case of status is FAILED may contain failure details */
28999
28999
  failureDetails?: AuthorizationActionFailureDetails;
29000
29000
  }
@@ -29023,7 +29023,7 @@ interface AuthorizationVoid {
29023
29023
  /** Status of this void action */
29024
29024
  status?: AuthorizationVoidStatus;
29025
29025
  /** Date and time the void was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
29026
- voidedDate?: Date;
29026
+ voidedDate?: Date | null;
29027
29027
  /** In case of status is FAILED may contain failure details */
29028
29028
  failureDetails?: AuthorizationActionFailureDetails;
29029
29029
  /** Reason of void action */
@@ -29053,7 +29053,7 @@ interface ScheduledAction {
29053
29053
  /** type of the action */
29054
29054
  actionType?: ActionType;
29055
29055
  /** the date and time of the action */
29056
- executionDate?: Date;
29056
+ executionDate?: Date | null;
29057
29057
  }
29058
29058
  declare enum ActionType {
29059
29059
  UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
@@ -29113,7 +29113,7 @@ interface Refund {
29113
29113
  /** Refund business details. */
29114
29114
  details?: RefundDetails;
29115
29115
  /** Date and time the refund was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. */
29116
- _createdDate?: Date;
29116
+ _createdDate?: Date | null;
29117
29117
  }
29118
29118
  interface RefundTransaction {
29119
29119
  /** ID of the payment associated with this refund. */
@@ -29217,7 +29217,7 @@ interface Order {
29217
29217
  * Order creation date and time.
29218
29218
  * @readonly
29219
29219
  */
29220
- dateCreated?: Date;
29220
+ dateCreated?: Date | null;
29221
29221
  /** Buyer information. */
29222
29222
  buyerInfo?: BuyerInfo;
29223
29223
  /** Currency used for the pricing of this order in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format. */
@@ -29286,7 +29286,7 @@ interface Order {
29286
29286
  * Date and time of latest update.
29287
29287
  * @readonly
29288
29288
  */
29289
- lastUpdated?: Date;
29289
+ lastUpdated?: Date | null;
29290
29290
  /** Subscription information. */
29291
29291
  subscriptionInfo?: SubscriptionInfo;
29292
29292
  /**
@@ -29397,7 +29397,7 @@ interface BillingInfo {
29397
29397
  * Payment date
29398
29398
  * @readonly
29399
29399
  */
29400
- paidDate?: Date;
29400
+ paidDate?: Date | null;
29401
29401
  /** Whether order can be refunded by payment provider (manually or automatic) */
29402
29402
  refundableByPaymentProvider?: boolean | null;
29403
29403
  }
@@ -29478,7 +29478,7 @@ interface ShippingInfo extends ShippingInfoDetailsOneOf {
29478
29478
  * Deprecated - Latest expected delivery date.
29479
29479
  * @deprecated
29480
29480
  */
29481
- deliverByDate?: Date;
29481
+ deliverByDate?: Date | null;
29482
29482
  /** Shipping region. */
29483
29483
  shippingRegion?: string | null;
29484
29484
  /**
@@ -29750,7 +29750,7 @@ interface Activity {
29750
29750
  * Activity item timestamp
29751
29751
  * @readonly
29752
29752
  */
29753
- timestamp?: Date;
29753
+ timestamp?: Date | null;
29754
29754
  }
29755
29755
  declare enum ActivityType {
29756
29756
  /** Activity item type can't be classified, due to an error */
@@ -29814,7 +29814,7 @@ interface Fulfillment {
29814
29814
  * Fulfillment creation date and time.
29815
29815
  * @readonly
29816
29816
  */
29817
- dateCreated?: Date;
29817
+ dateCreated?: Date | null;
29818
29818
  /** Information about the line items in the fulfilled order. */
29819
29819
  lineItems?: FulfillmentLineItem[];
29820
29820
  /** Tracking information. */
@@ -29943,7 +29943,7 @@ interface SubscriptionOptionInfo {
29943
29943
  }
29944
29944
  interface V2Refund {
29945
29945
  /** Refund created timestamp. */
29946
- dateCreated?: Date;
29946
+ dateCreated?: Date | null;
29947
29947
  /** Refund amount. */
29948
29948
  amount?: string;
29949
29949
  /** Reason for refund, given by user (optional). */
@@ -30343,7 +30343,7 @@ interface InvoiceInfo {
30343
30343
  * Invoice creation date and time.
30344
30344
  * @deprecated
30345
30345
  */
30346
- _createdDate?: Date;
30346
+ _createdDate?: Date | null;
30347
30347
  }
30348
30348
  interface ListInvoicesForMultipleOrdersRequest {
30349
30349
  /** Order IDs for which to retrieve invoices. */
@@ -30419,7 +30419,7 @@ interface DomainEvent$5 extends DomainEventBodyOneOf$5 {
30419
30419
  /** ID of the entity associated with the event. */
30420
30420
  entityId?: string;
30421
30421
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
30422
- eventTime?: Date;
30422
+ eventTime?: Date | null;
30423
30423
  /**
30424
30424
  * Whether the event was triggered as a result of a privacy regulation application
30425
30425
  * (for example, GDPR).
@@ -30448,7 +30448,7 @@ interface EntityCreatedEvent$5 {
30448
30448
  entity?: string;
30449
30449
  }
30450
30450
  interface RestoreInfo$5 {
30451
- deletedDate?: Date;
30451
+ deletedDate?: Date | null;
30452
30452
  }
30453
30453
  interface EntityUpdatedEvent$5 {
30454
30454
  /**
@@ -30670,7 +30670,7 @@ interface EventMetadata$3 extends BaseEventMetadata$3 {
30670
30670
  /** ID of the entity associated with the event. */
30671
30671
  entityId?: string;
30672
30672
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
30673
- eventTime?: Date;
30673
+ eventTime?: Date | null;
30674
30674
  /**
30675
30675
  * Whether the event was triggered as a result of a privacy regulation application
30676
30676
  * (for example, GDPR).
@@ -30969,12 +30969,12 @@ interface OrdersSettings {
30969
30969
  * Date and time the orders settings were created.
30970
30970
  * @readonly
30971
30971
  */
30972
- _createdDate?: Date;
30972
+ _createdDate?: Date | null;
30973
30973
  /**
30974
30974
  * Date and time the orders settings were updated.
30975
30975
  * @readonly
30976
30976
  */
30977
- _updatedDate?: Date;
30977
+ _updatedDate?: Date | null;
30978
30978
  }
30979
30979
  declare enum InventoryUpdateTrigger {
30980
30980
  UNKNOWN_INVENTORY_UPDATE_TRIGGER = "UNKNOWN_INVENTORY_UPDATE_TRIGGER",
@@ -31029,7 +31029,7 @@ interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
31029
31029
  /** ID of the entity associated with the event. */
31030
31030
  entityId?: string;
31031
31031
  /** Event timestamp. */
31032
- eventTime?: Date;
31032
+ eventTime?: Date | null;
31033
31033
  /**
31034
31034
  * Whether the event was triggered as a result of a privacy regulation application
31035
31035
  * (for example, GDPR).
@@ -31058,7 +31058,7 @@ interface EntityCreatedEvent$4 {
31058
31058
  entity?: string;
31059
31059
  }
31060
31060
  interface RestoreInfo$4 {
31061
- deletedDate?: Date;
31061
+ deletedDate?: Date | null;
31062
31062
  }
31063
31063
  interface EntityUpdatedEvent$4 {
31064
31064
  /**
@@ -31152,7 +31152,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
31152
31152
  /** ID of the entity associated with the event. */
31153
31153
  entityId?: string;
31154
31154
  /** Event timestamp. */
31155
- eventTime?: Date;
31155
+ eventTime?: Date | null;
31156
31156
  /**
31157
31157
  * Whether the event was triggered as a result of a privacy regulation application
31158
31158
  * (for example, GDPR).
@@ -31249,12 +31249,12 @@ interface PickupLocation {
31249
31249
  * Represents the time this PickupLocation was created
31250
31250
  * @readonly
31251
31251
  */
31252
- _createdDate?: Date;
31252
+ _createdDate?: Date | null;
31253
31253
  /**
31254
31254
  * Represents the time this PickupLocation was last updated
31255
31255
  * @readonly
31256
31256
  */
31257
- _updatedDate?: Date;
31257
+ _updatedDate?: Date | null;
31258
31258
  /** Pickup Location Name */
31259
31259
  name?: string | null;
31260
31260
  /** Pickup Location Address */
@@ -31535,7 +31535,7 @@ interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
31535
31535
  /** ID of the entity associated with the event. */
31536
31536
  entityId?: string;
31537
31537
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
31538
- eventTime?: Date;
31538
+ eventTime?: Date | null;
31539
31539
  /**
31540
31540
  * Whether the event was triggered as a result of a privacy regulation application
31541
31541
  * (for example, GDPR).
@@ -31564,7 +31564,7 @@ interface EntityCreatedEvent$3 {
31564
31564
  entity?: string;
31565
31565
  }
31566
31566
  interface RestoreInfo$3 {
31567
- deletedDate?: Date;
31567
+ deletedDate?: Date | null;
31568
31568
  }
31569
31569
  interface EntityUpdatedEvent$3 {
31570
31570
  /**
@@ -31695,12 +31695,12 @@ interface UpdatePickupLocation {
31695
31695
  * Represents the time this PickupLocation was created
31696
31696
  * @readonly
31697
31697
  */
31698
- _createdDate?: Date;
31698
+ _createdDate?: Date | null;
31699
31699
  /**
31700
31700
  * Represents the time this PickupLocation was last updated
31701
31701
  * @readonly
31702
31702
  */
31703
- _updatedDate?: Date;
31703
+ _updatedDate?: Date | null;
31704
31704
  /** Pickup Location Name */
31705
31705
  name?: string | null;
31706
31706
  /** Pickup Location Address */
@@ -31968,12 +31968,12 @@ interface ShippingOption$1 {
31968
31968
  * Date and time the ShippingOption was created.
31969
31969
  * @readonly
31970
31970
  */
31971
- _createdDate?: Date;
31971
+ _createdDate?: Date | null;
31972
31972
  /**
31973
31973
  * Date and time the ShippingOption was last updated.
31974
31974
  * @readonly
31975
31975
  */
31976
- _updatedDate?: Date;
31976
+ _updatedDate?: Date | null;
31977
31977
  /** Associated delivery region id. */
31978
31978
  deliveryRegionId?: string;
31979
31979
  /** Delivery option configured for the ShippingOption */
@@ -32167,7 +32167,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
32167
32167
  /** ID of the entity associated with the event. */
32168
32168
  entityId?: string;
32169
32169
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
32170
- eventTime?: Date;
32170
+ eventTime?: Date | null;
32171
32171
  /**
32172
32172
  * Whether the event was triggered as a result of a privacy regulation application
32173
32173
  * (for example, GDPR).
@@ -32196,7 +32196,7 @@ interface EntityCreatedEvent$2 {
32196
32196
  entity?: string;
32197
32197
  }
32198
32198
  interface RestoreInfo$2 {
32199
- deletedDate?: Date;
32199
+ deletedDate?: Date | null;
32200
32200
  }
32201
32201
  interface EntityUpdatedEvent$2 {
32202
32202
  /**
@@ -32311,7 +32311,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
32311
32311
  /** ID of the entity associated with the event. */
32312
32312
  entityId?: string;
32313
32313
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
32314
- eventTime?: Date;
32314
+ eventTime?: Date | null;
32315
32315
  /**
32316
32316
  * Whether the event was triggered as a result of a privacy regulation application
32317
32317
  * (for example, GDPR).
@@ -32360,12 +32360,12 @@ interface UpdateShippingOption {
32360
32360
  * Date and time the ShippingOption was created.
32361
32361
  * @readonly
32362
32362
  */
32363
- _createdDate?: Date;
32363
+ _createdDate?: Date | null;
32364
32364
  /**
32365
32365
  * Date and time the ShippingOption was last updated.
32366
32366
  * @readonly
32367
32367
  */
32368
- _updatedDate?: Date;
32368
+ _updatedDate?: Date | null;
32369
32369
  /** Associated delivery region id. */
32370
32370
  deliveryRegionId?: string;
32371
32371
  /** Delivery option configured for the ShippingOption */
@@ -32584,12 +32584,12 @@ interface ShippoConfiguration {
32584
32584
  * Date and time the ShippoConfiguration was created.
32585
32585
  * @readonly
32586
32586
  */
32587
- _createdDate?: Date;
32587
+ _createdDate?: Date | null;
32588
32588
  /**
32589
32589
  * Date and time the ShippoConfiguration was last updated.
32590
32590
  * @readonly
32591
32591
  */
32592
- _updatedDate?: Date;
32592
+ _updatedDate?: Date | null;
32593
32593
  /** Associated delivery region ID. */
32594
32594
  deliveryRegionId?: string | null;
32595
32595
  /** Settings of USPS domestic services. */
@@ -32873,7 +32873,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
32873
32873
  /** ID of the entity associated with the event. */
32874
32874
  entityId?: string;
32875
32875
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
32876
- eventTime?: Date;
32876
+ eventTime?: Date | null;
32877
32877
  /**
32878
32878
  * Whether the event was triggered as a result of a privacy regulation application
32879
32879
  * (for example, GDPR).
@@ -32902,7 +32902,7 @@ interface EntityCreatedEvent$1 {
32902
32902
  entity?: string;
32903
32903
  }
32904
32904
  interface RestoreInfo$1 {
32905
- deletedDate?: Date;
32905
+ deletedDate?: Date | null;
32906
32906
  }
32907
32907
  interface EntityUpdatedEvent$1 {
32908
32908
  /**
@@ -33042,7 +33042,7 @@ interface EventMetadata extends BaseEventMetadata {
33042
33042
  /** ID of the entity associated with the event. */
33043
33043
  entityId?: string;
33044
33044
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
33045
- eventTime?: Date;
33045
+ eventTime?: Date | null;
33046
33046
  /**
33047
33047
  * Whether the event was triggered as a result of a privacy regulation application
33048
33048
  * (for example, GDPR).
@@ -33087,12 +33087,12 @@ interface UpdateShippoConfiguration {
33087
33087
  * Date and time the ShippoConfiguration was created.
33088
33088
  * @readonly
33089
33089
  */
33090
- _createdDate?: Date;
33090
+ _createdDate?: Date | null;
33091
33091
  /**
33092
33092
  * Date and time the ShippoConfiguration was last updated.
33093
33093
  * @readonly
33094
33094
  */
33095
- _updatedDate?: Date;
33095
+ _updatedDate?: Date | null;
33096
33096
  /** Associated delivery region ID. */
33097
33097
  deliveryRegionId?: string | null;
33098
33098
  /** Settings of USPS domestic services. */
@@ -33517,7 +33517,7 @@ interface ServiceProperties {
33517
33517
  * Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
33518
33518
  * For example, the start time of a class.
33519
33519
  */
33520
- scheduledDate?: Date;
33520
+ scheduledDate?: Date | null;
33521
33521
  /** The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room. */
33522
33522
  numberOfParticipants?: number | null;
33523
33523
  }
@@ -33657,9 +33657,9 @@ declare enum PickupMethod$1 {
33657
33657
  }
33658
33658
  interface DeliveryTimeSlot$1 {
33659
33659
  /** starting time of the delivery time slot */
33660
- from?: Date;
33660
+ from?: Date | null;
33661
33661
  /** ending time of the delivery time slot */
33662
- to?: Date;
33662
+ to?: Date | null;
33663
33663
  }
33664
33664
  interface ShippingPrice {
33665
33665
  /** Shipping price. */
@@ -34296,7 +34296,7 @@ interface Membership {
34296
34296
  /** Optional - For a membership that has limited credits, information about credit usage. */
34297
34297
  credits?: MembershipPaymentCredits;
34298
34298
  /** Optional - TMembership expiry date. */
34299
- expirationDate?: Date;
34299
+ expirationDate?: Date | null;
34300
34300
  /** Additional data about this membership. */
34301
34301
  additionalData?: Record<string, any> | null;
34302
34302
  }
@@ -34784,7 +34784,7 @@ interface ConvertCurrencyResponse {
34784
34784
  /** Converted amounts. */
34785
34785
  amounts?: DecimalValue[];
34786
34786
  /** Date and time the conversion rate was last updated. */
34787
- rateTimestamp?: Date;
34787
+ rateTimestamp?: Date | null;
34788
34788
  }
34789
34789
  interface ConversionRateRequest {
34790
34790
  /** Original currency to get the rate for as a 3-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) code. The `from` currency code must exist in the array returned by the [`listCurrencies()`](#listcurrencies) function. */
@@ -34796,7 +34796,7 @@ interface ConversionRateResponse {
34796
34796
  /** Conversion rate between 2 currencies. */
34797
34797
  rate?: DecimalValue;
34798
34798
  /** Date and time the conversion rate was last updated. */
34799
- rateTimestamp?: Date;
34799
+ rateTimestamp?: Date | null;
34800
34800
  }
34801
34801
  interface CurrencyNonNullableFields {
34802
34802
  code: string;
@@ -35132,9 +35132,9 @@ declare enum PickupMethod {
35132
35132
  }
35133
35133
  interface DeliveryTimeSlot {
35134
35134
  /** starting time of the delivery time slot */
35135
- from?: Date;
35135
+ from?: Date | null;
35136
35136
  /** ending time of the delivery time slot */
35137
- to?: Date;
35137
+ to?: Date | null;
35138
35138
  }
35139
35139
  interface DeliveryCost {
35140
35140
  /** The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes). */
@@ -35372,7 +35372,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
35372
35372
  /** ID of the entity associated with the event. */
35373
35373
  entityId?: string;
35374
35374
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
35375
- eventTime?: Date;
35375
+ eventTime?: Date | null;
35376
35376
  /**
35377
35377
  * Whether the event was triggered as a result of a privacy regulation application
35378
35378
  * (for example, GDPR).
@@ -35401,7 +35401,7 @@ interface EntityCreatedEvent {
35401
35401
  entity?: string;
35402
35402
  }
35403
35403
  interface RestoreInfo {
35404
- deletedDate?: Date;
35404
+ deletedDate?: Date | null;
35405
35405
  }
35406
35406
  interface EntityUpdatedEvent {
35407
35407
  /**