@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.
@@ -187,12 +187,12 @@ interface DiscountRule$d {
187
187
  * Date and time the discount rule was created.
188
188
  * @readonly
189
189
  */
190
- createdDate?: Date;
190
+ createdDate?: Date | null;
191
191
  /**
192
192
  * Date and time the discount rule was last updated.
193
193
  * @readonly
194
194
  */
195
- updatedDate?: Date;
195
+ updatedDate?: Date | null;
196
196
  /**
197
197
  * Whether the discount rule is active.
198
198
  *
@@ -356,9 +356,9 @@ declare enum TriggerType$1 {
356
356
  }
357
357
  interface ActiveTimeInfo$1 {
358
358
  /** 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. */
359
- start?: Date;
359
+ start?: Date | null;
360
360
  /** 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. */
361
- end?: Date;
361
+ end?: Date | null;
362
362
  }
363
363
  interface Discounts$1 {
364
364
  /** Discounts. */
@@ -637,12 +637,12 @@ interface DiscountRule$c {
637
637
  * Date and time the discount rule was created.
638
638
  * @readonly
639
639
  */
640
- _createdDate?: Date;
640
+ _createdDate?: Date | null;
641
641
  /**
642
642
  * Date and time the discount rule was last updated.
643
643
  * @readonly
644
644
  */
645
- _updatedDate?: Date;
645
+ _updatedDate?: Date | null;
646
646
  /**
647
647
  * Whether the discount rule is active.
648
648
  *
@@ -806,9 +806,9 @@ declare enum TriggerType {
806
806
  }
807
807
  interface ActiveTimeInfo {
808
808
  /** 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. */
809
- start?: Date;
809
+ start?: Date | null;
810
810
  /** 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. */
811
- end?: Date;
811
+ end?: Date | null;
812
812
  }
813
813
  interface Discounts {
814
814
  /** Discounts. */
@@ -1472,9 +1472,9 @@ interface AbandonedCheckout$1 {
1472
1472
  /** Abandoned checkout ID. */
1473
1473
  id?: string;
1474
1474
  /** Date and time the abandoned checkout was created. */
1475
- createdDate?: Date;
1475
+ createdDate?: Date | null;
1476
1476
  /** Date and time the abandoned checkout was updated. */
1477
- updatedDate?: Date;
1477
+ updatedDate?: Date | null;
1478
1478
  /** The associated checkout ID. */
1479
1479
  checkoutId?: string | null;
1480
1480
  /** The associated cart ID. */
@@ -1502,7 +1502,7 @@ interface AbandonedCheckout$1 {
1502
1502
  */
1503
1503
  activities?: Activity$5[];
1504
1504
  /** Date and time the abandoned checkout was recovered. */
1505
- checkoutRecoveredDate?: Date;
1505
+ checkoutRecoveredDate?: Date | null;
1506
1506
  /** Checkout URL. */
1507
1507
  checkoutUrl?: string;
1508
1508
  /** Subtotal price of all line items, before discounts and before tax. */
@@ -1600,7 +1600,7 @@ interface MultiCurrencyPrice$9 {
1600
1600
  }
1601
1601
  interface Activity$5 {
1602
1602
  /** Date and time the automation activity was created. */
1603
- createdDate?: Date;
1603
+ createdDate?: Date | null;
1604
1604
  /** Automation activity type. */
1605
1605
  type?: ActivityType$5;
1606
1606
  }
@@ -1776,9 +1776,9 @@ interface AbandonedCheckout {
1776
1776
  /** Abandoned checkout ID. */
1777
1777
  _id?: string;
1778
1778
  /** Date and time the abandoned checkout was created. */
1779
- _createdDate?: Date;
1779
+ _createdDate?: Date | null;
1780
1780
  /** Date and time the abandoned checkout was updated. */
1781
- _updatedDate?: Date;
1781
+ _updatedDate?: Date | null;
1782
1782
  /** The associated checkout ID. */
1783
1783
  checkoutId?: string | null;
1784
1784
  /** The associated cart ID. */
@@ -1806,7 +1806,7 @@ interface AbandonedCheckout {
1806
1806
  */
1807
1807
  activities?: Activity$4[];
1808
1808
  /** Date and time the abandoned checkout was recovered. */
1809
- checkoutRecoveredDate?: Date;
1809
+ checkoutRecoveredDate?: Date | null;
1810
1810
  /** Checkout URL. */
1811
1811
  checkoutUrl?: string;
1812
1812
  /** Subtotal price of all line items, before discounts and before tax. */
@@ -1916,7 +1916,7 @@ interface MultiCurrencyPrice$8 {
1916
1916
  }
1917
1917
  interface Activity$4 {
1918
1918
  /** Date and time the automation activity was created. */
1919
- _createdDate?: Date;
1919
+ _createdDate?: Date | null;
1920
1920
  /**
1921
1921
  * Automation activity type.
1922
1922
  *
@@ -2174,7 +2174,7 @@ interface BackInStockNotificationRequest$1 {
2174
2174
  * Date and time the notification request was created.
2175
2175
  * @readonly
2176
2176
  */
2177
- createdDate?: Date;
2177
+ createdDate?: Date | null;
2178
2178
  /** Item URL for this request. */
2179
2179
  itemUrl?: string | null;
2180
2180
  }
@@ -2472,7 +2472,7 @@ interface BackInStockNotificationRequest {
2472
2472
  * Date and time the notification request was created.
2473
2473
  * @readonly
2474
2474
  */
2475
- _createdDate?: Date;
2475
+ _createdDate?: Date | null;
2476
2476
  /** Item URL for this request. */
2477
2477
  itemUrl?: string | null;
2478
2478
  }
@@ -2924,12 +2924,12 @@ interface Cart$3 {
2924
2924
  * Date and time the cart was created.
2925
2925
  * @readonly
2926
2926
  */
2927
- createdDate?: Date;
2927
+ createdDate?: Date | null;
2928
2928
  /**
2929
2929
  * Date and time the cart was updated.
2930
2930
  * @readonly
2931
2931
  */
2932
- updatedDate?: Date;
2932
+ updatedDate?: Date | null;
2933
2933
  /** Contact info. */
2934
2934
  contactInfo?: AddressWithContact$9;
2935
2935
  /**
@@ -3294,7 +3294,7 @@ interface ServiceProperties$9 {
3294
3294
  * 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.
3295
3295
  * For example, the start time of a class.
3296
3296
  */
3297
- scheduledDate?: Date;
3297
+ scheduledDate?: Date | null;
3298
3298
  /** 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. */
3299
3299
  numberOfParticipants?: number | null;
3300
3300
  }
@@ -4168,7 +4168,7 @@ interface Membership$7 {
4168
4168
  /** Optional - For a membership that has limited credits, information about credit usage. */
4169
4169
  credits?: MembershipPaymentCredits$7;
4170
4170
  /** Optional - TMembership expiry date. */
4171
- expirationDate?: Date;
4171
+ expirationDate?: Date | null;
4172
4172
  /** Additional data about this membership. */
4173
4173
  additionalData?: Record<string, any> | null;
4174
4174
  }
@@ -4924,12 +4924,12 @@ interface Cart$2 {
4924
4924
  * Date and time the cart was created.
4925
4925
  * @readonly
4926
4926
  */
4927
- _createdDate?: Date;
4927
+ _createdDate?: Date | null;
4928
4928
  /**
4929
4929
  * Date and time the cart was updated.
4930
4930
  * @readonly
4931
4931
  */
4932
- _updatedDate?: Date;
4932
+ _updatedDate?: Date | null;
4933
4933
  /** Contact info. */
4934
4934
  contactInfo?: AddressWithContact$8;
4935
4935
  /**
@@ -5241,7 +5241,7 @@ declare enum PaymentOptionType$c {
5241
5241
  }
5242
5242
  interface ServiceProperties$8 {
5243
5243
  /** The date and time for which the service is supposed to be provided. For example, the time of the class. */
5244
- scheduledDate?: Date;
5244
+ scheduledDate?: Date | null;
5245
5245
  /** 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. */
5246
5246
  numberOfParticipants?: number | null;
5247
5247
  }
@@ -6105,7 +6105,7 @@ interface Membership$6 {
6105
6105
  /** Optional - For a membership that has limited credits, information about credit usage. */
6106
6106
  credits?: MembershipPaymentCredits$6;
6107
6107
  /** Optional - TMembership expiry date. */
6108
- expirationDate?: Date;
6108
+ expirationDate?: Date | null;
6109
6109
  /** Additional data about this membership. */
6110
6110
  additionalData?: Record<string, any> | null;
6111
6111
  }
@@ -6896,12 +6896,12 @@ interface Cart$1 {
6896
6896
  * Date and time the cart was created.
6897
6897
  * @readonly
6898
6898
  */
6899
- createdDate?: Date;
6899
+ createdDate?: Date | null;
6900
6900
  /**
6901
6901
  * Date and time the cart was updated.
6902
6902
  * @readonly
6903
6903
  */
6904
- updatedDate?: Date;
6904
+ updatedDate?: Date | null;
6905
6905
  /** Contact info. */
6906
6906
  contactInfo?: AddressWithContact$7;
6907
6907
  /**
@@ -7266,7 +7266,7 @@ interface ServiceProperties$7 {
7266
7266
  * 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.
7267
7267
  * For example, the start time of a class.
7268
7268
  */
7269
- scheduledDate?: Date;
7269
+ scheduledDate?: Date | null;
7270
7270
  /** 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. */
7271
7271
  numberOfParticipants?: number | null;
7272
7272
  }
@@ -8157,7 +8157,7 @@ interface Membership$5 {
8157
8157
  /** Optional - For a membership that has limited credits, information about credit usage. */
8158
8158
  credits?: MembershipPaymentCredits$5;
8159
8159
  /** Optional - TMembership expiry date. */
8160
- expirationDate?: Date;
8160
+ expirationDate?: Date | null;
8161
8161
  /** Additional data about this membership. */
8162
8162
  additionalData?: Record<string, any> | null;
8163
8163
  }
@@ -8856,12 +8856,12 @@ interface Cart {
8856
8856
  * Date and time the cart was created.
8857
8857
  * @readonly
8858
8858
  */
8859
- _createdDate?: Date;
8859
+ _createdDate?: Date | null;
8860
8860
  /**
8861
8861
  * Date and time the cart was updated.
8862
8862
  * @readonly
8863
8863
  */
8864
- _updatedDate?: Date;
8864
+ _updatedDate?: Date | null;
8865
8865
  /** Contact info. */
8866
8866
  contactInfo?: AddressWithContact$6;
8867
8867
  /**
@@ -9173,7 +9173,7 @@ declare enum PaymentOptionType$a {
9173
9173
  }
9174
9174
  interface ServiceProperties$6 {
9175
9175
  /** The date and time for which the service is supposed to be provided. For example, the time of the class. */
9176
- scheduledDate?: Date;
9176
+ scheduledDate?: Date | null;
9177
9177
  /** 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. */
9178
9178
  numberOfParticipants?: number | null;
9179
9179
  }
@@ -10054,7 +10054,7 @@ interface Membership$4 {
10054
10054
  /** Optional - For a membership that has limited credits, information about credit usage. */
10055
10055
  credits?: MembershipPaymentCredits$4;
10056
10056
  /** Optional - TMembership expiry date. */
10057
- expirationDate?: Date;
10057
+ expirationDate?: Date | null;
10058
10058
  /** Additional data about this membership. */
10059
10059
  additionalData?: Record<string, any> | null;
10060
10060
  }
@@ -10825,12 +10825,12 @@ interface Checkout$1 {
10825
10825
  * Date and time the checkout was created.
10826
10826
  * @readonly
10827
10827
  */
10828
- createdDate?: Date;
10828
+ createdDate?: Date | null;
10829
10829
  /**
10830
10830
  * Date and time the checkout was updated.
10831
10831
  * @readonly
10832
10832
  */
10833
- updatedDate?: Date;
10833
+ updatedDate?: Date | null;
10834
10834
  /**
10835
10835
  * Minimal amount to pay in order to place the order.
10836
10836
  * @readonly
@@ -11284,7 +11284,7 @@ interface ServiceProperties$5 {
11284
11284
  * 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.
11285
11285
  * For example, the start time of a class.
11286
11286
  */
11287
- scheduledDate?: Date;
11287
+ scheduledDate?: Date | null;
11288
11288
  /** 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. */
11289
11289
  numberOfParticipants?: number | null;
11290
11290
  }
@@ -11948,7 +11948,7 @@ interface Membership$3 {
11948
11948
  /** Optional - For a membership that has limited credits, information about credit usage. */
11949
11949
  credits?: MembershipPaymentCredits$3;
11950
11950
  /** Optional - TMembership expiry date. */
11951
- expirationDate?: Date;
11951
+ expirationDate?: Date | null;
11952
11952
  /** Additional data about this membership. */
11953
11953
  additionalData?: Record<string, any> | null;
11954
11954
  }
@@ -13014,12 +13014,12 @@ interface Checkout {
13014
13014
  * Date and time the checkout was created.
13015
13015
  * @readonly
13016
13016
  */
13017
- _createdDate?: Date;
13017
+ _createdDate?: Date | null;
13018
13018
  /**
13019
13019
  * Date and time the checkout was updated.
13020
13020
  * @readonly
13021
13021
  */
13022
- _updatedDate?: Date;
13022
+ _updatedDate?: Date | null;
13023
13023
  /**
13024
13024
  * Minimal amount to pay in order to place the order.
13025
13025
  * @readonly
@@ -13443,7 +13443,7 @@ interface ServiceProperties$4 {
13443
13443
  * 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.
13444
13444
  * For example, the start time of a class.
13445
13445
  */
13446
- scheduledDate?: Date;
13446
+ scheduledDate?: Date | null;
13447
13447
  /** 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. */
13448
13448
  numberOfParticipants?: number | null;
13449
13449
  }
@@ -14085,7 +14085,7 @@ interface Membership$2 {
14085
14085
  /** Optional - For a membership that has limited credits, information about credit usage. */
14086
14086
  credits?: MembershipPaymentCredits$2;
14087
14087
  /** Optional - TMembership expiry date. */
14088
- expirationDate?: Date;
14088
+ expirationDate?: Date | null;
14089
14089
  /** Additional data about this membership. */
14090
14090
  additionalData?: Record<string, any> | null;
14091
14091
  }
@@ -15087,12 +15087,12 @@ interface CheckoutSettings$1 {
15087
15087
  * Date and time the checkout settings were created.
15088
15088
  * @readonly
15089
15089
  */
15090
- createdDate?: Date;
15090
+ createdDate?: Date | null;
15091
15091
  /**
15092
15092
  * Date and time the checkout settings were updated.
15093
15093
  * @readonly
15094
15094
  */
15095
- updatedDate?: Date;
15095
+ updatedDate?: Date | null;
15096
15096
  }
15097
15097
  interface CheckoutPolicies$1 {
15098
15098
  /** Terms and conditions. */
@@ -15310,12 +15310,12 @@ interface CheckoutSettings {
15310
15310
  * Date and time the checkout settings were created.
15311
15311
  * @readonly
15312
15312
  */
15313
- _createdDate?: Date;
15313
+ _createdDate?: Date | null;
15314
15314
  /**
15315
15315
  * Date and time the checkout settings were updated.
15316
15316
  * @readonly
15317
15317
  */
15318
- _updatedDate?: Date;
15318
+ _updatedDate?: Date | null;
15319
15319
  }
15320
15320
  interface CheckoutPolicies {
15321
15321
  /** Terms and conditions. */
@@ -15918,7 +15918,7 @@ interface ServiceProperties$3 {
15918
15918
  * 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.
15919
15919
  * For example, the start time of a class.
15920
15920
  */
15921
- scheduledDate?: Date;
15921
+ scheduledDate?: Date | null;
15922
15922
  /** 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. */
15923
15923
  numberOfParticipants?: number | null;
15924
15924
  }
@@ -16581,7 +16581,7 @@ interface ServiceProperties$2 {
16581
16581
  * 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.
16582
16582
  * For example, the start time of a class.
16583
16583
  */
16584
- scheduledDate?: Date;
16584
+ scheduledDate?: Date | null;
16585
16585
  /** 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. */
16586
16586
  numberOfParticipants?: number | null;
16587
16587
  }
@@ -16935,12 +16935,12 @@ interface DeliveryProfile$1 {
16935
16935
  * Date and time the DeliveryProfile was created.
16936
16936
  * @readonly
16937
16937
  */
16938
- createdDate?: Date;
16938
+ createdDate?: Date | null;
16939
16939
  /**
16940
16940
  * Date and time the DeliveryProfile was last updated.
16941
16941
  * @readonly
16942
16942
  */
16943
- updatedDate?: Date;
16943
+ updatedDate?: Date | null;
16944
16944
  /** Extended fields. */
16945
16945
  extendedFields?: ExtendedFields$b;
16946
16946
  }
@@ -16966,7 +16966,7 @@ interface DeliveryRegion$1 {
16966
16966
  * Represents the time this Profile was created
16967
16967
  * @readonly
16968
16968
  */
16969
- createdDate?: Date;
16969
+ createdDate?: Date | null;
16970
16970
  }
16971
16971
  interface DeliveryCarrier$1 {
16972
16972
  /** AppDefId of the provider as it is registered in Wix Dev Center. Can be fetched by listDeliveryProvider api. */
@@ -17432,12 +17432,12 @@ interface DeliveryProfile {
17432
17432
  * Date and time the DeliveryProfile was created.
17433
17433
  * @readonly
17434
17434
  */
17435
- _createdDate?: Date;
17435
+ _createdDate?: Date | null;
17436
17436
  /**
17437
17437
  * Date and time the DeliveryProfile was last updated.
17438
17438
  * @readonly
17439
17439
  */
17440
- _updatedDate?: Date;
17440
+ _updatedDate?: Date | null;
17441
17441
  /** Extended fields. */
17442
17442
  extendedFields?: ExtendedFields$a;
17443
17443
  }
@@ -17463,7 +17463,7 @@ interface DeliveryRegion {
17463
17463
  * Represents the time this Profile was created
17464
17464
  * @readonly
17465
17465
  */
17466
- _createdDate?: Date;
17466
+ _createdDate?: Date | null;
17467
17467
  }
17468
17468
  interface DeliveryCarrier {
17469
17469
  /** AppDefId of the provider as it is registered in Wix Dev Center. Can be fetched by listDeliveryProvider api. */
@@ -18004,12 +18004,12 @@ interface DraftOrder$1 {
18004
18004
  * Date and time the draft order was created.
18005
18005
  * @readonly
18006
18006
  */
18007
- createdDate?: Date;
18007
+ createdDate?: Date | null;
18008
18008
  /**
18009
18009
  * Date and time the draft order was updated.
18010
18010
  * @readonly
18011
18011
  */
18012
- updatedDate?: Date;
18012
+ updatedDate?: Date | null;
18013
18013
  /**
18014
18014
  * Identity of the draft order's initiator.
18015
18015
  * @readonly
@@ -18418,7 +18418,7 @@ interface DigitalFile$3 {
18418
18418
  * Link expiration time and date.
18419
18419
  * @readonly
18420
18420
  */
18421
- expirationDate?: Date;
18421
+ expirationDate?: Date | null;
18422
18422
  }
18423
18423
  interface SubscriptionInfo$3 {
18424
18424
  /** Subscription ID. */
@@ -18513,7 +18513,7 @@ interface V1DeliveryLogistics$1 extends V1DeliveryLogisticsAddressOneOf$1 {
18513
18513
  * Deprecated - Latest expected delivery date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
18514
18514
  * @deprecated
18515
18515
  */
18516
- deliverByDate?: Date;
18516
+ deliverByDate?: Date | null;
18517
18517
  /** Expected delivery time. */
18518
18518
  deliveryTimeSlot?: V1DeliveryTimeSlot$1;
18519
18519
  }
@@ -18637,9 +18637,9 @@ declare enum PickupDetailsPickupMethod$1 {
18637
18637
  }
18638
18638
  interface V1DeliveryTimeSlot$1 {
18639
18639
  /** Delivery slot starting time. */
18640
- from?: Date;
18640
+ from?: Date | null;
18641
18641
  /** Delivery slot ending time. */
18642
- to?: Date;
18642
+ to?: Date | null;
18643
18643
  }
18644
18644
  interface V1ShippingPrice$1 {
18645
18645
  /** Shipping price for display purposes. */
@@ -19080,9 +19080,9 @@ declare enum PickupMethod$7 {
19080
19080
  }
19081
19081
  interface DeliveryTimeSlot$5 {
19082
19082
  /** starting time of the delivery time slot */
19083
- from?: Date;
19083
+ from?: Date | null;
19084
19084
  /** ending time of the delivery time slot */
19085
- to?: Date;
19085
+ to?: Date | null;
19086
19086
  }
19087
19087
  interface ShippingPrice$5 {
19088
19088
  /** The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes). */
@@ -19501,12 +19501,12 @@ interface Order$3 {
19501
19501
  * Date and time the order was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
19502
19502
  * @readonly
19503
19503
  */
19504
- createdDate?: Date;
19504
+ createdDate?: Date | null;
19505
19505
  /**
19506
19506
  * Date and time the order was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
19507
19507
  * @readonly
19508
19508
  */
19509
- updatedDate?: Date;
19509
+ updatedDate?: Date | null;
19510
19510
  /**
19511
19511
  * Order line items.
19512
19512
  * @readonly
@@ -19677,7 +19677,7 @@ interface Activity$3 extends ActivityContentOneOf$3 {
19677
19677
  * Activity creation date and time.
19678
19678
  * @readonly
19679
19679
  */
19680
- createdDate?: Date;
19680
+ createdDate?: Date | null;
19681
19681
  /** Activity type. */
19682
19682
  type?: ActivityType$3;
19683
19683
  }
@@ -20615,12 +20615,12 @@ interface DraftOrder {
20615
20615
  * Date and time the draft order was created.
20616
20616
  * @readonly
20617
20617
  */
20618
- _createdDate?: Date;
20618
+ _createdDate?: Date | null;
20619
20619
  /**
20620
20620
  * Date and time the draft order was updated.
20621
20621
  * @readonly
20622
20622
  */
20623
- _updatedDate?: Date;
20623
+ _updatedDate?: Date | null;
20624
20624
  /**
20625
20625
  * Identity of the draft order's initiator.
20626
20626
  * @readonly
@@ -21006,7 +21006,7 @@ interface DigitalFile$2 {
21006
21006
  * Link expiration time and date.
21007
21007
  * @readonly
21008
21008
  */
21009
- expirationDate?: Date;
21009
+ expirationDate?: Date | null;
21010
21010
  }
21011
21011
  interface SubscriptionInfo$2 {
21012
21012
  /** Subscription ID. */
@@ -21101,7 +21101,7 @@ interface V1DeliveryLogistics extends V1DeliveryLogisticsAddressOneOf {
21101
21101
  * Deprecated - Latest expected delivery date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
21102
21102
  * @deprecated
21103
21103
  */
21104
- deliverByDate?: Date;
21104
+ deliverByDate?: Date | null;
21105
21105
  /** Expected delivery time. */
21106
21106
  deliveryTimeSlot?: V1DeliveryTimeSlot;
21107
21107
  }
@@ -21205,9 +21205,9 @@ declare enum PickupDetailsPickupMethod {
21205
21205
  }
21206
21206
  interface V1DeliveryTimeSlot {
21207
21207
  /** Delivery slot starting time. */
21208
- from?: Date;
21208
+ from?: Date | null;
21209
21209
  /** Delivery slot ending time. */
21210
- to?: Date;
21210
+ to?: Date | null;
21211
21211
  }
21212
21212
  interface V1ShippingPrice {
21213
21213
  /** Shipping price for display purposes. */
@@ -21648,9 +21648,9 @@ declare enum PickupMethod$6 {
21648
21648
  }
21649
21649
  interface DeliveryTimeSlot$4 {
21650
21650
  /** starting time of the delivery time slot */
21651
- from?: Date;
21651
+ from?: Date | null;
21652
21652
  /** ending time of the delivery time slot */
21653
- to?: Date;
21653
+ to?: Date | null;
21654
21654
  }
21655
21655
  interface ShippingPrice$4 {
21656
21656
  /** The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes). */
@@ -22063,12 +22063,12 @@ interface Order$2 {
22063
22063
  * Date and time the order was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
22064
22064
  * @readonly
22065
22065
  */
22066
- _createdDate?: Date;
22066
+ _createdDate?: Date | null;
22067
22067
  /**
22068
22068
  * Date and time the order was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
22069
22069
  * @readonly
22070
22070
  */
22071
- _updatedDate?: Date;
22071
+ _updatedDate?: Date | null;
22072
22072
  /**
22073
22073
  * Order line items.
22074
22074
  * @readonly
@@ -22239,7 +22239,7 @@ interface Activity$2 extends ActivityContentOneOf$2 {
22239
22239
  * Activity creation date and time.
22240
22240
  * @readonly
22241
22241
  */
22242
- _createdDate?: Date;
22242
+ _createdDate?: Date | null;
22243
22243
  /** Activity type. */
22244
22244
  type?: ActivityType$2;
22245
22245
  }
@@ -23228,7 +23228,7 @@ interface Fulfillment$1 extends FulfillmentFulfillmentInfoOneOf$1 {
23228
23228
  * Fulfillment creation date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
23229
23229
  * @readonly
23230
23230
  */
23231
- createdDate?: Date;
23231
+ createdDate?: Date | null;
23232
23232
  /** Line items being fulfilled. */
23233
23233
  lineItems?: FulfillmentLineItem$1[];
23234
23234
  /**
@@ -23449,7 +23449,7 @@ interface Fulfillment extends FulfillmentFulfillmentInfoOneOf {
23449
23449
  * Fulfillment creation date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
23450
23450
  * @readonly
23451
23451
  */
23452
- _createdDate?: Date;
23452
+ _createdDate?: Date | null;
23453
23453
  /** Line items being fulfilled. */
23454
23454
  lineItems?: FulfillmentLineItem[];
23455
23455
  /**
@@ -23926,7 +23926,7 @@ interface LocalDeliveryOption$1 extends LocalDeliveryOptionConfigOneOf$1 {
23926
23926
  * Date and time the LocalDeliveryOption was created.
23927
23927
  * @readonly
23928
23928
  */
23929
- createdDate?: Date;
23929
+ createdDate?: Date | null;
23930
23930
  }
23931
23931
  /** @oneof */
23932
23932
  interface LocalDeliveryOptionConfigOneOf$1 {
@@ -24230,7 +24230,7 @@ interface LocalDeliveryOption extends LocalDeliveryOptionConfigOneOf {
24230
24230
  * Date and time the LocalDeliveryOption was created.
24231
24231
  * @readonly
24232
24232
  */
24233
- _createdDate?: Date;
24233
+ _createdDate?: Date | null;
24234
24234
  }
24235
24235
  /** @oneof */
24236
24236
  interface LocalDeliveryOptionConfigOneOf {
@@ -24556,12 +24556,12 @@ interface Order$1 {
24556
24556
  * Date and time the order was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
24557
24557
  * @readonly
24558
24558
  */
24559
- createdDate?: Date;
24559
+ createdDate?: Date | null;
24560
24560
  /**
24561
24561
  * Date and time the order was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
24562
24562
  * @readonly
24563
24563
  */
24564
- updatedDate?: Date;
24564
+ updatedDate?: Date | null;
24565
24565
  /**
24566
24566
  * Order line items.
24567
24567
  * @readonly
@@ -25010,7 +25010,7 @@ interface DigitalFile$1 {
25010
25010
  * Link expiration time and date.
25011
25011
  * @readonly
25012
25012
  */
25013
- expirationDate?: Date;
25013
+ expirationDate?: Date | null;
25014
25014
  }
25015
25015
  interface SubscriptionInfo$1 {
25016
25016
  /** Subscription ID. */
@@ -25227,7 +25227,7 @@ interface DeliveryLogistics$5 extends DeliveryLogisticsAddressOneOf$1 {
25227
25227
  * Deprecated - Latest expected delivery date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
25228
25228
  * @deprecated
25229
25229
  */
25230
- deliverByDate?: Date;
25230
+ deliverByDate?: Date | null;
25231
25231
  /** Expected delivery time. */
25232
25232
  deliveryTimeSlot?: DeliveryTimeSlot$3;
25233
25233
  }
@@ -25278,9 +25278,9 @@ declare enum PickupMethod$5 {
25278
25278
  }
25279
25279
  interface DeliveryTimeSlot$3 {
25280
25280
  /** Delivery slot starting time. */
25281
- from?: Date;
25281
+ from?: Date | null;
25282
25282
  /** Delivery slot ending time. */
25283
- to?: Date;
25283
+ to?: Date | null;
25284
25284
  }
25285
25285
  interface ShippingPrice$3 {
25286
25286
  /** Shipping price for display purposes. */
@@ -25454,7 +25454,7 @@ interface Activity$1 extends ActivityContentOneOf$1 {
25454
25454
  * Activity creation date and time.
25455
25455
  * @readonly
25456
25456
  */
25457
- createdDate?: Date;
25457
+ createdDate?: Date | null;
25458
25458
  /** Activity type. */
25459
25459
  type?: ActivityType$1;
25460
25460
  }
@@ -25741,12 +25741,12 @@ interface Payment$3 extends PaymentPaymentDetailsOneOf$3 {
25741
25741
  */
25742
25742
  id?: string | null;
25743
25743
  /** 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. */
25744
- createdDate?: Date;
25744
+ createdDate?: Date | null;
25745
25745
  /**
25746
25746
  * Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
25747
25747
  * @readonly
25748
25748
  */
25749
- updatedDate?: Date;
25749
+ updatedDate?: Date | null;
25750
25750
  /** Payment amount. */
25751
25751
  amount?: Price$5;
25752
25752
  /**
@@ -25819,7 +25819,7 @@ interface AuthorizationDetails$3 {
25819
25819
  */
25820
25820
  delayedCapture?: boolean;
25821
25821
  /** Date and time the payment was authorized in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
25822
- authorizedDate?: Date;
25822
+ authorizedDate?: Date | null;
25823
25823
  /**
25824
25824
  * List of captures associated with payment
25825
25825
  * In case of failed it can be replaced with new one with PENDING or SUCCESS statuses
@@ -25841,7 +25841,7 @@ interface AuthorizationCapture$3 {
25841
25841
  /** Amount of this capture */
25842
25842
  amount?: Price$5;
25843
25843
  /** Date and time the capture was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
25844
- createdDate?: Date;
25844
+ createdDate?: Date | null;
25845
25845
  /** In case of status is FAILED may contain failure details */
25846
25846
  failureDetails?: AuthorizationActionFailureDetails$3;
25847
25847
  }
@@ -25861,7 +25861,7 @@ interface AuthorizationVoid$3 {
25861
25861
  /** Status of this void action */
25862
25862
  status?: AuthorizationVoidStatus$3;
25863
25863
  /** Date and time the void was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
25864
- voidedDate?: Date;
25864
+ voidedDate?: Date | null;
25865
25865
  /** In case of status is FAILED may contain failure details */
25866
25866
  failureDetails?: AuthorizationActionFailureDetails$3;
25867
25867
  /** Reason of void action */
@@ -25891,7 +25891,7 @@ interface V1ScheduledAction$1 {
25891
25891
  /** type of the action */
25892
25892
  actionType?: ActionType$3;
25893
25893
  /** the date and time of the action */
25894
- executionDate?: Date;
25894
+ executionDate?: Date | null;
25895
25895
  }
25896
25896
  declare enum ActionType$3 {
25897
25897
  UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
@@ -25926,7 +25926,7 @@ interface Refund$3 {
25926
25926
  /** Refund business details. */
25927
25927
  details?: RefundDetails$3;
25928
25928
  /** 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. */
25929
- createdDate?: Date;
25929
+ createdDate?: Date | null;
25930
25930
  }
25931
25931
  interface RefundTransaction$3 {
25932
25932
  /** ID of the payment associated with this refund. */
@@ -26852,12 +26852,12 @@ interface Order {
26852
26852
  * Date and time the order was created.
26853
26853
  * @readonly
26854
26854
  */
26855
- _createdDate?: Date;
26855
+ _createdDate?: Date | null;
26856
26856
  /**
26857
26857
  * Date and time the order was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
26858
26858
  * @readonly
26859
26859
  */
26860
- _updatedDate?: Date;
26860
+ _updatedDate?: Date | null;
26861
26861
  /**
26862
26862
  * Order line items.
26863
26863
  * @readonly
@@ -27283,7 +27283,7 @@ interface DigitalFile {
27283
27283
  * Link expiration time and date.
27284
27284
  * @readonly
27285
27285
  */
27286
- expirationDate?: Date;
27286
+ expirationDate?: Date | null;
27287
27287
  }
27288
27288
  interface SubscriptionInfo {
27289
27289
  /** Subscription ID. */
@@ -27490,7 +27490,7 @@ interface DeliveryLogistics$4 extends DeliveryLogisticsAddressOneOf {
27490
27490
  * Deprecated - Latest expected delivery date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
27491
27491
  * @deprecated
27492
27492
  */
27493
- deliverByDate?: Date;
27493
+ deliverByDate?: Date | null;
27494
27494
  /** Expected delivery time. */
27495
27495
  deliveryTimeSlot?: DeliveryTimeSlot$2;
27496
27496
  }
@@ -27531,9 +27531,9 @@ declare enum PickupMethod$4 {
27531
27531
  }
27532
27532
  interface DeliveryTimeSlot$2 {
27533
27533
  /** Delivery slot starting time. */
27534
- from?: Date;
27534
+ from?: Date | null;
27535
27535
  /** Delivery slot ending time. */
27536
- to?: Date;
27536
+ to?: Date | null;
27537
27537
  }
27538
27538
  interface ShippingPrice$2 {
27539
27539
  /** Shipping price for display purposes. */
@@ -27707,7 +27707,7 @@ interface Activity extends ActivityContentOneOf {
27707
27707
  * Activity creation date and time.
27708
27708
  * @readonly
27709
27709
  */
27710
- _createdDate?: Date;
27710
+ _createdDate?: Date | null;
27711
27711
  /** Activity type. */
27712
27712
  type?: ActivityType;
27713
27713
  }
@@ -27994,12 +27994,12 @@ interface Payment$2 extends PaymentPaymentDetailsOneOf$2 {
27994
27994
  */
27995
27995
  _id?: string | null;
27996
27996
  /** 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. */
27997
- _createdDate?: Date;
27997
+ _createdDate?: Date | null;
27998
27998
  /**
27999
27999
  * Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
28000
28000
  * @readonly
28001
28001
  */
28002
- _updatedDate?: Date;
28002
+ _updatedDate?: Date | null;
28003
28003
  /** Payment amount. */
28004
28004
  amount?: Price$4;
28005
28005
  /**
@@ -28072,7 +28072,7 @@ interface AuthorizationDetails$2 {
28072
28072
  */
28073
28073
  delayedCapture?: boolean;
28074
28074
  /** Date and time the payment was authorized in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
28075
- authorizedDate?: Date;
28075
+ authorizedDate?: Date | null;
28076
28076
  /**
28077
28077
  * List of captures associated with payment
28078
28078
  * In case of failed it can be replaced with new one with PENDING or SUCCESS statuses
@@ -28094,7 +28094,7 @@ interface AuthorizationCapture$2 {
28094
28094
  /** Amount of this capture */
28095
28095
  amount?: Price$4;
28096
28096
  /** Date and time the capture was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
28097
- _createdDate?: Date;
28097
+ _createdDate?: Date | null;
28098
28098
  /** In case of status is FAILED may contain failure details */
28099
28099
  failureDetails?: AuthorizationActionFailureDetails$2;
28100
28100
  }
@@ -28114,7 +28114,7 @@ interface AuthorizationVoid$2 {
28114
28114
  /** Status of this void action */
28115
28115
  status?: AuthorizationVoidStatus$2;
28116
28116
  /** Date and time the void was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
28117
- voidedDate?: Date;
28117
+ voidedDate?: Date | null;
28118
28118
  /** In case of status is FAILED may contain failure details */
28119
28119
  failureDetails?: AuthorizationActionFailureDetails$2;
28120
28120
  /** Reason of void action */
@@ -28144,7 +28144,7 @@ interface V1ScheduledAction {
28144
28144
  /** type of the action */
28145
28145
  actionType?: ActionType$2;
28146
28146
  /** the date and time of the action */
28147
- executionDate?: Date;
28147
+ executionDate?: Date | null;
28148
28148
  }
28149
28149
  declare enum ActionType$2 {
28150
28150
  UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
@@ -28179,7 +28179,7 @@ interface Refund$2 {
28179
28179
  /** Refund business details. */
28180
28180
  details?: RefundDetails$2;
28181
28181
  /** 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. */
28182
- _createdDate?: Date;
28182
+ _createdDate?: Date | null;
28183
28183
  }
28184
28184
  interface RefundTransaction$2 {
28185
28185
  /** ID of the payment associated with this refund. */
@@ -29177,19 +29177,19 @@ interface OrderPaymentRequest$1 {
29177
29177
  /** Image to be displayed to the customer on the payment page. */
29178
29178
  image?: Image;
29179
29179
  /** Time and date the order payment request expires. */
29180
- expirationDate?: Date;
29180
+ expirationDate?: Date | null;
29181
29181
  /** [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. */
29182
29182
  extendedFields?: ExtendedFields$5;
29183
29183
  /**
29184
29184
  * Date and time the OrderPaymentRequest was created.
29185
29185
  * @readonly
29186
29186
  */
29187
- createdDate?: Date;
29187
+ createdDate?: Date | null;
29188
29188
  /**
29189
29189
  * Date and time the OrderPaymentRequest was last updated.
29190
29190
  * @readonly
29191
29191
  */
29192
- updatedDate?: Date;
29192
+ updatedDate?: Date | null;
29193
29193
  }
29194
29194
  interface Source$1 {
29195
29195
  /** App Def ID that created the order payment request. */
@@ -29452,19 +29452,19 @@ interface OrderPaymentRequest {
29452
29452
  /** Image to be displayed to the customer on the payment page. */
29453
29453
  image?: string;
29454
29454
  /** Time and date the order payment request expires. */
29455
- expirationDate?: Date;
29455
+ expirationDate?: Date | null;
29456
29456
  /** [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. */
29457
29457
  extendedFields?: ExtendedFields$4;
29458
29458
  /**
29459
29459
  * Date and time the OrderPaymentRequest was created.
29460
29460
  * @readonly
29461
29461
  */
29462
- _createdDate?: Date;
29462
+ _createdDate?: Date | null;
29463
29463
  /**
29464
29464
  * Date and time the OrderPaymentRequest was last updated.
29465
29465
  * @readonly
29466
29466
  */
29467
- _updatedDate?: Date;
29467
+ _updatedDate?: Date | null;
29468
29468
  }
29469
29469
  interface Source {
29470
29470
  /** App Def ID that created the order payment request. */
@@ -29714,12 +29714,12 @@ interface Payment$1 extends PaymentPaymentDetailsOneOf$1 {
29714
29714
  */
29715
29715
  id?: string | null;
29716
29716
  /** 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. */
29717
- createdDate?: Date;
29717
+ createdDate?: Date | null;
29718
29718
  /**
29719
29719
  * Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
29720
29720
  * @readonly
29721
29721
  */
29722
- updatedDate?: Date;
29722
+ updatedDate?: Date | null;
29723
29723
  /** Payment amount. */
29724
29724
  amount?: Price$1;
29725
29725
  /**
@@ -29792,7 +29792,7 @@ interface AuthorizationDetails$1 {
29792
29792
  */
29793
29793
  delayedCapture?: boolean;
29794
29794
  /** Date and time the payment was authorized in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
29795
- authorizedDate?: Date;
29795
+ authorizedDate?: Date | null;
29796
29796
  /**
29797
29797
  * List of captures associated with payment
29798
29798
  * In case of failed it can be replaced with new one with PENDING or SUCCESS statuses
@@ -29814,7 +29814,7 @@ interface AuthorizationCapture$1 {
29814
29814
  /** Amount of this capture */
29815
29815
  amount?: Price$1;
29816
29816
  /** Date and time the capture was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
29817
- createdDate?: Date;
29817
+ createdDate?: Date | null;
29818
29818
  /** In case of status is FAILED may contain failure details */
29819
29819
  failureDetails?: AuthorizationActionFailureDetails$1;
29820
29820
  }
@@ -29843,7 +29843,7 @@ interface AuthorizationVoid$1 {
29843
29843
  /** Status of this void action */
29844
29844
  status?: AuthorizationVoidStatus$1;
29845
29845
  /** Date and time the void was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
29846
- voidedDate?: Date;
29846
+ voidedDate?: Date | null;
29847
29847
  /** In case of status is FAILED may contain failure details */
29848
29848
  failureDetails?: AuthorizationActionFailureDetails$1;
29849
29849
  /** Reason of void action */
@@ -29873,7 +29873,7 @@ interface ScheduledAction$1 {
29873
29873
  /** type of the action */
29874
29874
  actionType?: ActionType$1;
29875
29875
  /** the date and time of the action */
29876
- executionDate?: Date;
29876
+ executionDate?: Date | null;
29877
29877
  }
29878
29878
  declare enum ActionType$1 {
29879
29879
  UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
@@ -29908,7 +29908,7 @@ interface Refund$1 {
29908
29908
  /** Refund business details. */
29909
29909
  details?: RefundDetails$1;
29910
29910
  /** 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. */
29911
- createdDate?: Date;
29911
+ createdDate?: Date | null;
29912
29912
  }
29913
29913
  interface RefundTransaction$1 {
29914
29914
  /** ID of the payment associated with this refund. */
@@ -30209,12 +30209,12 @@ interface Payment extends PaymentPaymentDetailsOneOf {
30209
30209
  */
30210
30210
  _id?: string | null;
30211
30211
  /** 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. */
30212
- _createdDate?: Date;
30212
+ _createdDate?: Date | null;
30213
30213
  /**
30214
30214
  * Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
30215
30215
  * @readonly
30216
30216
  */
30217
- _updatedDate?: Date;
30217
+ _updatedDate?: Date | null;
30218
30218
  /** Payment amount. */
30219
30219
  amount?: Price;
30220
30220
  /**
@@ -30287,7 +30287,7 @@ interface AuthorizationDetails {
30287
30287
  */
30288
30288
  delayedCapture?: boolean;
30289
30289
  /** Date and time the payment was authorized in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
30290
- authorizedDate?: Date;
30290
+ authorizedDate?: Date | null;
30291
30291
  /**
30292
30292
  * List of captures associated with payment
30293
30293
  * In case of failed it can be replaced with new one with PENDING or SUCCESS statuses
@@ -30309,7 +30309,7 @@ interface AuthorizationCapture {
30309
30309
  /** Amount of this capture */
30310
30310
  amount?: Price;
30311
30311
  /** Date and time the capture was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
30312
- _createdDate?: Date;
30312
+ _createdDate?: Date | null;
30313
30313
  /** In case of status is FAILED may contain failure details */
30314
30314
  failureDetails?: AuthorizationActionFailureDetails;
30315
30315
  }
@@ -30338,7 +30338,7 @@ interface AuthorizationVoid {
30338
30338
  /** Status of this void action */
30339
30339
  status?: AuthorizationVoidStatus;
30340
30340
  /** Date and time the void was initiated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. */
30341
- voidedDate?: Date;
30341
+ voidedDate?: Date | null;
30342
30342
  /** In case of status is FAILED may contain failure details */
30343
30343
  failureDetails?: AuthorizationActionFailureDetails;
30344
30344
  /** Reason of void action */
@@ -30368,7 +30368,7 @@ interface ScheduledAction {
30368
30368
  /** type of the action */
30369
30369
  actionType?: ActionType;
30370
30370
  /** the date and time of the action */
30371
- executionDate?: Date;
30371
+ executionDate?: Date | null;
30372
30372
  }
30373
30373
  declare enum ActionType {
30374
30374
  UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
@@ -30403,7 +30403,7 @@ interface Refund {
30403
30403
  /** Refund business details. */
30404
30404
  details?: RefundDetails;
30405
30405
  /** 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. */
30406
- _createdDate?: Date;
30406
+ _createdDate?: Date | null;
30407
30407
  }
30408
30408
  interface RefundTransaction {
30409
30409
  /** ID of the payment associated with this refund. */
@@ -30739,12 +30739,12 @@ interface OrdersSettings$1 {
30739
30739
  * Date and time the orders settings were created.
30740
30740
  * @readonly
30741
30741
  */
30742
- createdDate?: Date;
30742
+ createdDate?: Date | null;
30743
30743
  /**
30744
30744
  * Date and time the orders settings were updated.
30745
30745
  * @readonly
30746
30746
  */
30747
- updatedDate?: Date;
30747
+ updatedDate?: Date | null;
30748
30748
  }
30749
30749
  declare enum InventoryUpdateTrigger$1 {
30750
30750
  UNKNOWN_INVENTORY_UPDATE_TRIGGER = "UNKNOWN_INVENTORY_UPDATE_TRIGGER",
@@ -30794,12 +30794,12 @@ interface OrdersSettings {
30794
30794
  * Date and time the orders settings were created.
30795
30795
  * @readonly
30796
30796
  */
30797
- _createdDate?: Date;
30797
+ _createdDate?: Date | null;
30798
30798
  /**
30799
30799
  * Date and time the orders settings were updated.
30800
30800
  * @readonly
30801
30801
  */
30802
- _updatedDate?: Date;
30802
+ _updatedDate?: Date | null;
30803
30803
  }
30804
30804
  declare enum InventoryUpdateTrigger {
30805
30805
  UNKNOWN_INVENTORY_UPDATE_TRIGGER = "UNKNOWN_INVENTORY_UPDATE_TRIGGER",
@@ -30865,12 +30865,12 @@ interface PickupLocation$1 {
30865
30865
  * Represents the time this PickupLocation was created
30866
30866
  * @readonly
30867
30867
  */
30868
- createdDate?: Date;
30868
+ createdDate?: Date | null;
30869
30869
  /**
30870
30870
  * Represents the time this PickupLocation was last updated
30871
30871
  * @readonly
30872
30872
  */
30873
- updatedDate?: Date;
30873
+ updatedDate?: Date | null;
30874
30874
  /** Pickup Location Name */
30875
30875
  name?: string | null;
30876
30876
  /** Pickup Location Address */
@@ -31190,12 +31190,12 @@ interface PickupLocation {
31190
31190
  * Represents the time this PickupLocation was created
31191
31191
  * @readonly
31192
31192
  */
31193
- _createdDate?: Date;
31193
+ _createdDate?: Date | null;
31194
31194
  /**
31195
31195
  * Represents the time this PickupLocation was last updated
31196
31196
  * @readonly
31197
31197
  */
31198
- _updatedDate?: Date;
31198
+ _updatedDate?: Date | null;
31199
31199
  /** Pickup Location Name */
31200
31200
  name?: string | null;
31201
31201
  /** Pickup Location Address */
@@ -31563,12 +31563,12 @@ interface ShippingOption$3 {
31563
31563
  * Date and time the ShippingOption was created.
31564
31564
  * @readonly
31565
31565
  */
31566
- createdDate?: Date;
31566
+ createdDate?: Date | null;
31567
31567
  /**
31568
31568
  * Date and time the ShippingOption was last updated.
31569
31569
  * @readonly
31570
31570
  */
31571
- updatedDate?: Date;
31571
+ updatedDate?: Date | null;
31572
31572
  /** Associated delivery region id. */
31573
31573
  deliveryRegionId?: string;
31574
31574
  /** Delivery option configured for the ShippingOption */
@@ -31786,12 +31786,12 @@ interface ShippingOption$2 {
31786
31786
  * Date and time the ShippingOption was created.
31787
31787
  * @readonly
31788
31788
  */
31789
- _createdDate?: Date;
31789
+ _createdDate?: Date | null;
31790
31790
  /**
31791
31791
  * Date and time the ShippingOption was last updated.
31792
31792
  * @readonly
31793
31793
  */
31794
- _updatedDate?: Date;
31794
+ _updatedDate?: Date | null;
31795
31795
  /** Associated delivery region id. */
31796
31796
  deliveryRegionId?: string;
31797
31797
  /** Delivery option configured for the ShippingOption */
@@ -32036,12 +32036,12 @@ interface ShippoConfiguration$1 {
32036
32036
  * Date and time the ShippoConfiguration was created.
32037
32037
  * @readonly
32038
32038
  */
32039
- createdDate?: Date;
32039
+ createdDate?: Date | null;
32040
32040
  /**
32041
32041
  * Date and time the ShippoConfiguration was last updated.
32042
32042
  * @readonly
32043
32043
  */
32044
- updatedDate?: Date;
32044
+ updatedDate?: Date | null;
32045
32045
  /** Associated delivery region ID. */
32046
32046
  deliveryRegionId?: string | null;
32047
32047
  /** Settings of USPS domestic services. */
@@ -32371,12 +32371,12 @@ interface ShippoConfiguration {
32371
32371
  * Date and time the ShippoConfiguration was created.
32372
32372
  * @readonly
32373
32373
  */
32374
- _createdDate?: Date;
32374
+ _createdDate?: Date | null;
32375
32375
  /**
32376
32376
  * Date and time the ShippoConfiguration was last updated.
32377
32377
  * @readonly
32378
32378
  */
32379
- _updatedDate?: Date;
32379
+ _updatedDate?: Date | null;
32380
32380
  /** Associated delivery region ID. */
32381
32381
  deliveryRegionId?: string | null;
32382
32382
  /** Settings of USPS domestic services. */
@@ -32889,7 +32889,7 @@ interface ServiceProperties$1 {
32889
32889
  * 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.
32890
32890
  * For example, the start time of a class.
32891
32891
  */
32892
- scheduledDate?: Date;
32892
+ scheduledDate?: Date | null;
32893
32893
  /** 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. */
32894
32894
  numberOfParticipants?: number | null;
32895
32895
  }
@@ -33558,7 +33558,7 @@ interface Membership$1 {
33558
33558
  /** Optional - For a membership that has limited credits, information about credit usage. */
33559
33559
  credits?: MembershipPaymentCredits$1;
33560
33560
  /** Optional - TMembership expiry date. */
33561
- expirationDate?: Date;
33561
+ expirationDate?: Date | null;
33562
33562
  /** Additional data about this membership. */
33563
33563
  additionalData?: Record<string, any> | null;
33564
33564
  }
@@ -34040,7 +34040,7 @@ interface ServiceProperties {
34040
34040
  * 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.
34041
34041
  * For example, the start time of a class.
34042
34042
  */
34043
- scheduledDate?: Date;
34043
+ scheduledDate?: Date | null;
34044
34044
  /** 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. */
34045
34045
  numberOfParticipants?: number | null;
34046
34046
  }
@@ -34699,7 +34699,7 @@ interface Membership {
34699
34699
  /** Optional - For a membership that has limited credits, information about credit usage. */
34700
34700
  credits?: MembershipPaymentCredits;
34701
34701
  /** Optional - TMembership expiry date. */
34702
- expirationDate?: Date;
34702
+ expirationDate?: Date | null;
34703
34703
  /** Additional data about this membership. */
34704
34704
  additionalData?: Record<string, any> | null;
34705
34705
  }
@@ -35058,7 +35058,7 @@ interface ConvertCurrencyResponse$1 {
35058
35058
  /** Converted amounts. */
35059
35059
  amounts?: DecimalValue$1[];
35060
35060
  /** Date and time the conversion rate was last updated. */
35061
- rateTimestamp?: Date;
35061
+ rateTimestamp?: Date | null;
35062
35062
  }
35063
35063
  interface ConversionRateRequest$1 {
35064
35064
  /** Original currency. */
@@ -35070,7 +35070,7 @@ interface ConversionRateResponse$1 {
35070
35070
  /** Conversion rate between 2 currencies. */
35071
35071
  rate?: DecimalValue$1;
35072
35072
  /** Date and time the conversion rate was last updated. */
35073
- rateTimestamp?: Date;
35073
+ rateTimestamp?: Date | null;
35074
35074
  }
35075
35075
  interface CurrencyNonNullableFields$1 {
35076
35076
  code: string;
@@ -35120,7 +35120,7 @@ interface ConvertCurrencyResponse {
35120
35120
  /** Converted amounts. */
35121
35121
  amounts?: DecimalValue[];
35122
35122
  /** Date and time the conversion rate was last updated. */
35123
- rateTimestamp?: Date;
35123
+ rateTimestamp?: Date | null;
35124
35124
  }
35125
35125
  interface ConversionRateRequest {
35126
35126
  /** 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. */
@@ -35132,7 +35132,7 @@ interface ConversionRateResponse {
35132
35132
  /** Conversion rate between 2 currencies. */
35133
35133
  rate?: DecimalValue;
35134
35134
  /** Date and time the conversion rate was last updated. */
35135
- rateTimestamp?: Date;
35135
+ rateTimestamp?: Date | null;
35136
35136
  }
35137
35137
  interface CurrencyNonNullableFields {
35138
35138
  code: string;
@@ -35350,9 +35350,9 @@ declare enum PickupMethod$1 {
35350
35350
  }
35351
35351
  interface DeliveryTimeSlot$1 {
35352
35352
  /** starting time of the delivery time slot */
35353
- from?: Date;
35353
+ from?: Date | null;
35354
35354
  /** ending time of the delivery time slot */
35355
- to?: Date;
35355
+ to?: Date | null;
35356
35356
  }
35357
35357
  interface DeliveryCost$1 {
35358
35358
  /** The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes). */
@@ -35772,9 +35772,9 @@ declare enum PickupMethod {
35772
35772
  }
35773
35773
  interface DeliveryTimeSlot {
35774
35774
  /** starting time of the delivery time slot */
35775
- from?: Date;
35775
+ from?: Date | null;
35776
35776
  /** ending time of the delivery time slot */
35777
- to?: Date;
35777
+ to?: Date | null;
35778
35778
  }
35779
35779
  interface DeliveryCost {
35780
35780
  /** The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes). */