@wix/crm 1.0.134 → 1.0.136

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/crm",
3
- "version": "1.0.134",
3
+ "version": "1.0.136",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,12 +18,12 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/crm_attachments": "1.0.12",
22
- "@wix/crm_contacts": "1.0.47",
23
- "@wix/crm_extended-fields": "1.0.42",
24
- "@wix/crm_labels": "1.0.41",
25
- "@wix/crm_submitted-contact": "1.0.35",
26
- "@wix/crm_tasks": "1.0.40"
21
+ "@wix/crm_attachments": "1.0.14",
22
+ "@wix/crm_contacts": "1.0.49",
23
+ "@wix/crm_extended-fields": "1.0.44",
24
+ "@wix/crm_labels": "1.0.43",
25
+ "@wix/crm_submitted-contact": "1.0.36",
26
+ "@wix/crm_tasks": "1.0.42"
27
27
  },
28
28
  "devDependencies": {
29
29
  "glob": "^10.4.1",
@@ -48,5 +48,5 @@
48
48
  "fqdn": ""
49
49
  }
50
50
  },
51
- "falconPackageHash": "47ed84739780f49377968048f8bcc894e7358075c4f60ecbd490274e"
51
+ "falconPackageHash": "4625a2392b6133d64d309d89b93913bb2b16a71b064aca585380c27a"
52
52
  }
@@ -543,7 +543,7 @@ interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
543
543
  /** ID of the entity associated with the event. */
544
544
  entityId?: string;
545
545
  /** Event timestamp. */
546
- eventTime?: Date;
546
+ eventTime?: Date | null;
547
547
  /**
548
548
  * Whether the event was triggered as a result of a privacy regulation application
549
549
  * (for example, GDPR).
@@ -594,8 +594,8 @@ interface MediaFileUploadedEvent {
594
594
  mimeType?: string;
595
595
  acl?: string | null;
596
596
  size?: string | null;
597
- dateCreated?: Date;
598
- dateUpdated?: Date;
597
+ dateCreated?: Date | null;
598
+ dateUpdated?: Date | null;
599
599
  }
600
600
  interface CrmAttachmentUploadedEvent {
601
601
  attachment?: CrmAttachment;
@@ -606,9 +606,9 @@ interface CrmAttachment {
606
606
  _id?: string | null;
607
607
  revision?: string | null;
608
608
  /** @readonly */
609
- _createdDate?: Date;
609
+ _createdDate?: Date | null;
610
610
  /** @readonly */
611
- _updatedDate?: Date;
611
+ _updatedDate?: Date | null;
612
612
  /** @readonly */
613
613
  source?: AttachmentSource;
614
614
  metadata?: AttachmentMetadata;
@@ -808,7 +808,7 @@ interface EventMetadata$4 extends BaseEventMetadata$4 {
808
808
  /** ID of the entity associated with the event. */
809
809
  entityId?: string;
810
810
  /** Event timestamp. */
811
- eventTime?: Date;
811
+ eventTime?: Date | null;
812
812
  /**
813
813
  * Whether the event was triggered as a result of a privacy regulation application
814
814
  * (for example, GDPR).
@@ -980,12 +980,12 @@ interface Contact {
980
980
  * Date and time the contact was created.
981
981
  * @readonly
982
982
  */
983
- _createdDate?: Date;
983
+ _createdDate?: Date | null;
984
984
  /**
985
985
  * Date and time the contact was last updated.
986
986
  * @readonly
987
987
  */
988
- _updatedDate?: Date;
988
+ _updatedDate?: Date | null;
989
989
  /**
990
990
  * Details about the contact's last action in the site.
991
991
  * @readonly
@@ -1036,7 +1036,7 @@ declare enum ContactSourceType$1 {
1036
1036
  }
1037
1037
  interface ContactActivity$1 {
1038
1038
  /** Date and time of the last action. */
1039
- activityDate?: Date;
1039
+ activityDate?: Date | null;
1040
1040
  /** */
1041
1041
  activityType?: ContactActivityType$1;
1042
1042
  }
@@ -1514,7 +1514,7 @@ interface MemberInfo {
1514
1514
  /** Member ID */
1515
1515
  memberId?: string | null;
1516
1516
  /** Signup date */
1517
- signupDate?: Date;
1517
+ signupDate?: Date | null;
1518
1518
  /** Login email */
1519
1519
  email?: string | null;
1520
1520
  /** Indicate whether the email is verified */
@@ -1576,9 +1576,9 @@ declare enum Role {
1576
1576
  }
1577
1577
  interface SessionInfo {
1578
1578
  /** Last time the member logged in to the website */
1579
- lastWebLogin?: Date;
1579
+ lastWebLogin?: Date | null;
1580
1580
  /** Last time the member logged in to one of the mobile apps */
1581
- lastMobileLogin?: Date;
1581
+ lastMobileLogin?: Date | null;
1582
1582
  /** List of mobile apps that the member has ever logged in to */
1583
1583
  mobileAppNames?: string[];
1584
1584
  }
@@ -1608,7 +1608,7 @@ interface ContactEmailSubscriptionUpdated {
1608
1608
  /** The primary email of the contact with the updated subscription and deliverability status. */
1609
1609
  primaryEmail?: PrimaryEmail;
1610
1610
  /** Date and time the contact was updated with the email subscription or deliverability status. */
1611
- _updatedDate?: Date;
1611
+ _updatedDate?: Date | null;
1612
1612
  }
1613
1613
  interface ContactPhoneSubscriptionUpdated {
1614
1614
  /** The updated contact ID. */
@@ -1618,7 +1618,7 @@ interface ContactPhoneSubscriptionUpdated {
1618
1618
  /** The primary phone of the contact with the updated subscription status. */
1619
1619
  primaryPhone?: PrimaryPhone;
1620
1620
  /** Date and time the contact was updated with the SMS subscription status. */
1621
- _updatedDate?: Date;
1621
+ _updatedDate?: Date | null;
1622
1622
  }
1623
1623
  /**
1624
1624
  * This message is an internal message used by this app and it is used to trigger
@@ -1649,7 +1649,7 @@ interface LastActivityUpdate {
1649
1649
  /** The contact ID. */
1650
1650
  contactId?: string;
1651
1651
  /** Activity date. */
1652
- activityDate?: Date;
1652
+ activityDate?: Date | null;
1653
1653
  /** Activity translation key. */
1654
1654
  activityTranslationKey?: string;
1655
1655
  /** Activity icon. */
@@ -2463,7 +2463,7 @@ interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
2463
2463
  /** ID of the entity associated with the event. */
2464
2464
  entityId?: string;
2465
2465
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2466
- eventTime?: Date;
2466
+ eventTime?: Date | null;
2467
2467
  /**
2468
2468
  * Whether the event was triggered as a result of a privacy regulation application
2469
2469
  * (for example, GDPR).
@@ -2492,7 +2492,7 @@ interface EntityCreatedEvent$3 {
2492
2492
  entity?: string;
2493
2493
  }
2494
2494
  interface RestoreInfo$2 {
2495
- deletedDate?: Date;
2495
+ deletedDate?: Date | null;
2496
2496
  }
2497
2497
  interface EntityUpdatedEvent$3 {
2498
2498
  /**
@@ -2700,7 +2700,7 @@ interface EventMetadata$3 extends BaseEventMetadata$3 {
2700
2700
  /** ID of the entity associated with the event. */
2701
2701
  entityId?: string;
2702
2702
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2703
- eventTime?: Date;
2703
+ eventTime?: Date | null;
2704
2704
  /**
2705
2705
  * Whether the event was triggered as a result of a privacy regulation application
2706
2706
  * (for example, GDPR).
@@ -3289,12 +3289,12 @@ interface ExtendedField {
3289
3289
  * Date and time the field was created.
3290
3290
  * @readonly
3291
3291
  */
3292
- _createdDate?: Date;
3292
+ _createdDate?: Date | null;
3293
3293
  /**
3294
3294
  * Date and time the field was last updated.
3295
3295
  * @readonly
3296
3296
  */
3297
- _updatedDate?: Date;
3297
+ _updatedDate?: Date | null;
3298
3298
  /**
3299
3299
  * Field description, if the field is a system field.
3300
3300
  * @readonly
@@ -3529,7 +3529,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
3529
3529
  /** ID of the entity associated with the event. */
3530
3530
  entityId?: string;
3531
3531
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3532
- eventTime?: Date;
3532
+ eventTime?: Date | null;
3533
3533
  /**
3534
3534
  * Whether the event was triggered as a result of a privacy regulation application
3535
3535
  * (for example, GDPR).
@@ -3558,7 +3558,7 @@ interface EntityCreatedEvent$2 {
3558
3558
  entity?: string;
3559
3559
  }
3560
3560
  interface RestoreInfo$1 {
3561
- deletedDate?: Date;
3561
+ deletedDate?: Date | null;
3562
3562
  }
3563
3563
  interface EntityUpdatedEvent$2 {
3564
3564
  /**
@@ -3662,7 +3662,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
3662
3662
  /** ID of the entity associated with the event. */
3663
3663
  entityId?: string;
3664
3664
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3665
- eventTime?: Date;
3665
+ eventTime?: Date | null;
3666
3666
  /**
3667
3667
  * Whether the event was triggered as a result of a privacy regulation application
3668
3668
  * (for example, GDPR).
@@ -3726,12 +3726,12 @@ interface RenameExtendedField {
3726
3726
  * Date and time the field was created.
3727
3727
  * @readonly
3728
3728
  */
3729
- _createdDate?: Date;
3729
+ _createdDate?: Date | null;
3730
3730
  /**
3731
3731
  * Date and time the field was last updated.
3732
3732
  * @readonly
3733
3733
  */
3734
- _updatedDate?: Date;
3734
+ _updatedDate?: Date | null;
3735
3735
  /**
3736
3736
  * Field description, if the field is a system field.
3737
3737
  * @readonly
@@ -4026,12 +4026,12 @@ interface ContactLabel {
4026
4026
  * Date and time the label was created.
4027
4027
  * @readonly
4028
4028
  */
4029
- _createdDate?: Date;
4029
+ _createdDate?: Date | null;
4030
4030
  /**
4031
4031
  * Date and time the label was last updated.
4032
4032
  * @readonly
4033
4033
  */
4034
- _updatedDate?: Date;
4034
+ _updatedDate?: Date | null;
4035
4035
  }
4036
4036
  declare enum LabelType {
4037
4037
  /** Need UNKNOWN to be able to fetch all labels */
@@ -4274,7 +4274,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
4274
4274
  /** ID of the entity associated with the event. */
4275
4275
  entityId?: string;
4276
4276
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
4277
- eventTime?: Date;
4277
+ eventTime?: Date | null;
4278
4278
  /**
4279
4279
  * Whether the event was triggered as a result of a privacy regulation application
4280
4280
  * (for example, GDPR).
@@ -4303,7 +4303,7 @@ interface EntityCreatedEvent$1 {
4303
4303
  entity?: string;
4304
4304
  }
4305
4305
  interface RestoreInfo {
4306
- deletedDate?: Date;
4306
+ deletedDate?: Date | null;
4307
4307
  }
4308
4308
  interface EntityUpdatedEvent$1 {
4309
4309
  /**
@@ -4406,7 +4406,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
4406
4406
  /** ID of the entity associated with the event. */
4407
4407
  entityId?: string;
4408
4408
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
4409
- eventTime?: Date;
4409
+ eventTime?: Date | null;
4410
4410
  /**
4411
4411
  * Whether the event was triggered as a result of a privacy regulation application
4412
4412
  * (for example, GDPR).
@@ -4483,12 +4483,12 @@ interface RenameLabel {
4483
4483
  * Date and time the label was created.
4484
4484
  * @readonly
4485
4485
  */
4486
- _createdDate?: Date;
4486
+ _createdDate?: Date | null;
4487
4487
  /**
4488
4488
  * Date and time the label was last updated.
4489
4489
  * @readonly
4490
4490
  */
4491
- _updatedDate?: Date;
4491
+ _updatedDate?: Date | null;
4492
4492
  }
4493
4493
  interface RenameLabelOptions {
4494
4494
  /**
@@ -5059,7 +5059,7 @@ declare enum ImageProvider {
5059
5059
  }
5060
5060
  interface ContactActivity {
5061
5061
  /** Date and time of the last action. */
5062
- activityDate?: Date;
5062
+ activityDate?: Date | null;
5063
5063
  /**
5064
5064
  * Contact's last action in the site.
5065
5065
  *
@@ -5276,7 +5276,7 @@ interface SubmitVisitorIdResponse {
5276
5276
  /** The mapped visitor ID */
5277
5277
  visitorId?: string;
5278
5278
  /** Date in the `visitorId` was attached to the given `contactId` */
5279
- validFrom?: Date;
5279
+ validFrom?: Date | null;
5280
5280
  }
5281
5281
  interface MessageEnvelope$1 {
5282
5282
  /** App instance ID. */
@@ -5430,14 +5430,14 @@ interface Task {
5430
5430
  * Date and time the task was created.
5431
5431
  * @readonly
5432
5432
  */
5433
- _createdDate?: Date;
5433
+ _createdDate?: Date | null;
5434
5434
  /**
5435
5435
  * Date and time the task was last updated.
5436
5436
  * @readonly
5437
5437
  */
5438
- _updatedDate?: Date;
5438
+ _updatedDate?: Date | null;
5439
5439
  /** Due date for the task. */
5440
- dueDate?: Date;
5440
+ dueDate?: Date | null;
5441
5441
  /**
5442
5442
  * Status of the task.
5443
5443
  *
@@ -5768,7 +5768,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
5768
5768
  /** ID of the entity associated with the event. */
5769
5769
  entityId?: string;
5770
5770
  /** Event timestamp. */
5771
- eventTime?: Date;
5771
+ eventTime?: Date | null;
5772
5772
  /**
5773
5773
  * Whether the event was triggered as a result of a privacy regulation application
5774
5774
  * (for example, GDPR).
@@ -5901,7 +5901,7 @@ interface EventMetadata extends BaseEventMetadata {
5901
5901
  /** ID of the entity associated with the event. */
5902
5902
  entityId?: string;
5903
5903
  /** Event timestamp. */
5904
- eventTime?: Date;
5904
+ eventTime?: Date | null;
5905
5905
  /**
5906
5906
  * Whether the event was triggered as a result of a privacy regulation application
5907
5907
  * (for example, GDPR).
@@ -5953,14 +5953,14 @@ interface UpdateTask {
5953
5953
  * Date and time the task was created.
5954
5954
  * @readonly
5955
5955
  */
5956
- _createdDate?: Date;
5956
+ _createdDate?: Date | null;
5957
5957
  /**
5958
5958
  * Date and time the task was last updated.
5959
5959
  * @readonly
5960
5960
  */
5961
- _updatedDate?: Date;
5961
+ _updatedDate?: Date | null;
5962
5962
  /** Due date for the task. */
5963
- dueDate?: Date;
5963
+ dueDate?: Date | null;
5964
5964
  /**
5965
5965
  * Status of the task.
5966
5966
  *
@@ -543,7 +543,7 @@ interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
543
543
  /** ID of the entity associated with the event. */
544
544
  entityId?: string;
545
545
  /** Event timestamp. */
546
- eventTime?: Date;
546
+ eventTime?: Date | null;
547
547
  /**
548
548
  * Whether the event was triggered as a result of a privacy regulation application
549
549
  * (for example, GDPR).
@@ -594,8 +594,8 @@ interface MediaFileUploadedEvent {
594
594
  mimeType?: string;
595
595
  acl?: string | null;
596
596
  size?: string | null;
597
- dateCreated?: Date;
598
- dateUpdated?: Date;
597
+ dateCreated?: Date | null;
598
+ dateUpdated?: Date | null;
599
599
  }
600
600
  interface CrmAttachmentUploadedEvent {
601
601
  attachment?: CrmAttachment;
@@ -606,9 +606,9 @@ interface CrmAttachment {
606
606
  _id?: string | null;
607
607
  revision?: string | null;
608
608
  /** @readonly */
609
- _createdDate?: Date;
609
+ _createdDate?: Date | null;
610
610
  /** @readonly */
611
- _updatedDate?: Date;
611
+ _updatedDate?: Date | null;
612
612
  /** @readonly */
613
613
  source?: AttachmentSource;
614
614
  metadata?: AttachmentMetadata;
@@ -808,7 +808,7 @@ interface EventMetadata$4 extends BaseEventMetadata$4 {
808
808
  /** ID of the entity associated with the event. */
809
809
  entityId?: string;
810
810
  /** Event timestamp. */
811
- eventTime?: Date;
811
+ eventTime?: Date | null;
812
812
  /**
813
813
  * Whether the event was triggered as a result of a privacy regulation application
814
814
  * (for example, GDPR).
@@ -980,12 +980,12 @@ interface Contact {
980
980
  * Date and time the contact was created.
981
981
  * @readonly
982
982
  */
983
- _createdDate?: Date;
983
+ _createdDate?: Date | null;
984
984
  /**
985
985
  * Date and time the contact was last updated.
986
986
  * @readonly
987
987
  */
988
- _updatedDate?: Date;
988
+ _updatedDate?: Date | null;
989
989
  /**
990
990
  * Details about the contact's last action in the site.
991
991
  * @readonly
@@ -1036,7 +1036,7 @@ declare enum ContactSourceType$1 {
1036
1036
  }
1037
1037
  interface ContactActivity$1 {
1038
1038
  /** Date and time of the last action. */
1039
- activityDate?: Date;
1039
+ activityDate?: Date | null;
1040
1040
  /** */
1041
1041
  activityType?: ContactActivityType$1;
1042
1042
  }
@@ -1514,7 +1514,7 @@ interface MemberInfo {
1514
1514
  /** Member ID */
1515
1515
  memberId?: string | null;
1516
1516
  /** Signup date */
1517
- signupDate?: Date;
1517
+ signupDate?: Date | null;
1518
1518
  /** Login email */
1519
1519
  email?: string | null;
1520
1520
  /** Indicate whether the email is verified */
@@ -1576,9 +1576,9 @@ declare enum Role {
1576
1576
  }
1577
1577
  interface SessionInfo {
1578
1578
  /** Last time the member logged in to the website */
1579
- lastWebLogin?: Date;
1579
+ lastWebLogin?: Date | null;
1580
1580
  /** Last time the member logged in to one of the mobile apps */
1581
- lastMobileLogin?: Date;
1581
+ lastMobileLogin?: Date | null;
1582
1582
  /** List of mobile apps that the member has ever logged in to */
1583
1583
  mobileAppNames?: string[];
1584
1584
  }
@@ -1608,7 +1608,7 @@ interface ContactEmailSubscriptionUpdated {
1608
1608
  /** The primary email of the contact with the updated subscription and deliverability status. */
1609
1609
  primaryEmail?: PrimaryEmail;
1610
1610
  /** Date and time the contact was updated with the email subscription or deliverability status. */
1611
- _updatedDate?: Date;
1611
+ _updatedDate?: Date | null;
1612
1612
  }
1613
1613
  interface ContactPhoneSubscriptionUpdated {
1614
1614
  /** The updated contact ID. */
@@ -1618,7 +1618,7 @@ interface ContactPhoneSubscriptionUpdated {
1618
1618
  /** The primary phone of the contact with the updated subscription status. */
1619
1619
  primaryPhone?: PrimaryPhone;
1620
1620
  /** Date and time the contact was updated with the SMS subscription status. */
1621
- _updatedDate?: Date;
1621
+ _updatedDate?: Date | null;
1622
1622
  }
1623
1623
  /**
1624
1624
  * This message is an internal message used by this app and it is used to trigger
@@ -1649,7 +1649,7 @@ interface LastActivityUpdate {
1649
1649
  /** The contact ID. */
1650
1650
  contactId?: string;
1651
1651
  /** Activity date. */
1652
- activityDate?: Date;
1652
+ activityDate?: Date | null;
1653
1653
  /** Activity translation key. */
1654
1654
  activityTranslationKey?: string;
1655
1655
  /** Activity icon. */
@@ -2463,7 +2463,7 @@ interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
2463
2463
  /** ID of the entity associated with the event. */
2464
2464
  entityId?: string;
2465
2465
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2466
- eventTime?: Date;
2466
+ eventTime?: Date | null;
2467
2467
  /**
2468
2468
  * Whether the event was triggered as a result of a privacy regulation application
2469
2469
  * (for example, GDPR).
@@ -2492,7 +2492,7 @@ interface EntityCreatedEvent$3 {
2492
2492
  entity?: string;
2493
2493
  }
2494
2494
  interface RestoreInfo$2 {
2495
- deletedDate?: Date;
2495
+ deletedDate?: Date | null;
2496
2496
  }
2497
2497
  interface EntityUpdatedEvent$3 {
2498
2498
  /**
@@ -2700,7 +2700,7 @@ interface EventMetadata$3 extends BaseEventMetadata$3 {
2700
2700
  /** ID of the entity associated with the event. */
2701
2701
  entityId?: string;
2702
2702
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2703
- eventTime?: Date;
2703
+ eventTime?: Date | null;
2704
2704
  /**
2705
2705
  * Whether the event was triggered as a result of a privacy regulation application
2706
2706
  * (for example, GDPR).
@@ -3289,12 +3289,12 @@ interface ExtendedField {
3289
3289
  * Date and time the field was created.
3290
3290
  * @readonly
3291
3291
  */
3292
- _createdDate?: Date;
3292
+ _createdDate?: Date | null;
3293
3293
  /**
3294
3294
  * Date and time the field was last updated.
3295
3295
  * @readonly
3296
3296
  */
3297
- _updatedDate?: Date;
3297
+ _updatedDate?: Date | null;
3298
3298
  /**
3299
3299
  * Field description, if the field is a system field.
3300
3300
  * @readonly
@@ -3529,7 +3529,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
3529
3529
  /** ID of the entity associated with the event. */
3530
3530
  entityId?: string;
3531
3531
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3532
- eventTime?: Date;
3532
+ eventTime?: Date | null;
3533
3533
  /**
3534
3534
  * Whether the event was triggered as a result of a privacy regulation application
3535
3535
  * (for example, GDPR).
@@ -3558,7 +3558,7 @@ interface EntityCreatedEvent$2 {
3558
3558
  entity?: string;
3559
3559
  }
3560
3560
  interface RestoreInfo$1 {
3561
- deletedDate?: Date;
3561
+ deletedDate?: Date | null;
3562
3562
  }
3563
3563
  interface EntityUpdatedEvent$2 {
3564
3564
  /**
@@ -3662,7 +3662,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
3662
3662
  /** ID of the entity associated with the event. */
3663
3663
  entityId?: string;
3664
3664
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3665
- eventTime?: Date;
3665
+ eventTime?: Date | null;
3666
3666
  /**
3667
3667
  * Whether the event was triggered as a result of a privacy regulation application
3668
3668
  * (for example, GDPR).
@@ -3726,12 +3726,12 @@ interface RenameExtendedField {
3726
3726
  * Date and time the field was created.
3727
3727
  * @readonly
3728
3728
  */
3729
- _createdDate?: Date;
3729
+ _createdDate?: Date | null;
3730
3730
  /**
3731
3731
  * Date and time the field was last updated.
3732
3732
  * @readonly
3733
3733
  */
3734
- _updatedDate?: Date;
3734
+ _updatedDate?: Date | null;
3735
3735
  /**
3736
3736
  * Field description, if the field is a system field.
3737
3737
  * @readonly
@@ -4026,12 +4026,12 @@ interface ContactLabel {
4026
4026
  * Date and time the label was created.
4027
4027
  * @readonly
4028
4028
  */
4029
- _createdDate?: Date;
4029
+ _createdDate?: Date | null;
4030
4030
  /**
4031
4031
  * Date and time the label was last updated.
4032
4032
  * @readonly
4033
4033
  */
4034
- _updatedDate?: Date;
4034
+ _updatedDate?: Date | null;
4035
4035
  }
4036
4036
  declare enum LabelType {
4037
4037
  /** Need UNKNOWN to be able to fetch all labels */
@@ -4274,7 +4274,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
4274
4274
  /** ID of the entity associated with the event. */
4275
4275
  entityId?: string;
4276
4276
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
4277
- eventTime?: Date;
4277
+ eventTime?: Date | null;
4278
4278
  /**
4279
4279
  * Whether the event was triggered as a result of a privacy regulation application
4280
4280
  * (for example, GDPR).
@@ -4303,7 +4303,7 @@ interface EntityCreatedEvent$1 {
4303
4303
  entity?: string;
4304
4304
  }
4305
4305
  interface RestoreInfo {
4306
- deletedDate?: Date;
4306
+ deletedDate?: Date | null;
4307
4307
  }
4308
4308
  interface EntityUpdatedEvent$1 {
4309
4309
  /**
@@ -4406,7 +4406,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
4406
4406
  /** ID of the entity associated with the event. */
4407
4407
  entityId?: string;
4408
4408
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
4409
- eventTime?: Date;
4409
+ eventTime?: Date | null;
4410
4410
  /**
4411
4411
  * Whether the event was triggered as a result of a privacy regulation application
4412
4412
  * (for example, GDPR).
@@ -4483,12 +4483,12 @@ interface RenameLabel {
4483
4483
  * Date and time the label was created.
4484
4484
  * @readonly
4485
4485
  */
4486
- _createdDate?: Date;
4486
+ _createdDate?: Date | null;
4487
4487
  /**
4488
4488
  * Date and time the label was last updated.
4489
4489
  * @readonly
4490
4490
  */
4491
- _updatedDate?: Date;
4491
+ _updatedDate?: Date | null;
4492
4492
  }
4493
4493
  interface RenameLabelOptions {
4494
4494
  /**
@@ -5059,7 +5059,7 @@ declare enum ImageProvider {
5059
5059
  }
5060
5060
  interface ContactActivity {
5061
5061
  /** Date and time of the last action. */
5062
- activityDate?: Date;
5062
+ activityDate?: Date | null;
5063
5063
  /**
5064
5064
  * Contact's last action in the site.
5065
5065
  *
@@ -5276,7 +5276,7 @@ interface SubmitVisitorIdResponse {
5276
5276
  /** The mapped visitor ID */
5277
5277
  visitorId?: string;
5278
5278
  /** Date in the `visitorId` was attached to the given `contactId` */
5279
- validFrom?: Date;
5279
+ validFrom?: Date | null;
5280
5280
  }
5281
5281
  interface MessageEnvelope$1 {
5282
5282
  /** App instance ID. */
@@ -5430,14 +5430,14 @@ interface Task {
5430
5430
  * Date and time the task was created.
5431
5431
  * @readonly
5432
5432
  */
5433
- _createdDate?: Date;
5433
+ _createdDate?: Date | null;
5434
5434
  /**
5435
5435
  * Date and time the task was last updated.
5436
5436
  * @readonly
5437
5437
  */
5438
- _updatedDate?: Date;
5438
+ _updatedDate?: Date | null;
5439
5439
  /** Due date for the task. */
5440
- dueDate?: Date;
5440
+ dueDate?: Date | null;
5441
5441
  /**
5442
5442
  * Status of the task.
5443
5443
  *
@@ -5768,7 +5768,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
5768
5768
  /** ID of the entity associated with the event. */
5769
5769
  entityId?: string;
5770
5770
  /** Event timestamp. */
5771
- eventTime?: Date;
5771
+ eventTime?: Date | null;
5772
5772
  /**
5773
5773
  * Whether the event was triggered as a result of a privacy regulation application
5774
5774
  * (for example, GDPR).
@@ -5901,7 +5901,7 @@ interface EventMetadata extends BaseEventMetadata {
5901
5901
  /** ID of the entity associated with the event. */
5902
5902
  entityId?: string;
5903
5903
  /** Event timestamp. */
5904
- eventTime?: Date;
5904
+ eventTime?: Date | null;
5905
5905
  /**
5906
5906
  * Whether the event was triggered as a result of a privacy regulation application
5907
5907
  * (for example, GDPR).
@@ -5953,14 +5953,14 @@ interface UpdateTask {
5953
5953
  * Date and time the task was created.
5954
5954
  * @readonly
5955
5955
  */
5956
- _createdDate?: Date;
5956
+ _createdDate?: Date | null;
5957
5957
  /**
5958
5958
  * Date and time the task was last updated.
5959
5959
  * @readonly
5960
5960
  */
5961
- _updatedDate?: Date;
5961
+ _updatedDate?: Date | null;
5962
5962
  /** Due date for the task. */
5963
- dueDate?: Date;
5963
+ dueDate?: Date | null;
5964
5964
  /**
5965
5965
  * Status of the task.
5966
5966
  *
@@ -57,7 +57,7 @@ interface Image$2 {
57
57
  * Image URL expiration date (when relevant). Optional
58
58
  * @readonly
59
59
  */
60
- urlExpirationDate?: Date;
60
+ urlExpirationDate?: Date | null;
61
61
  }
62
62
  interface Document {
63
63
  /** WixMedia ID. */
@@ -68,7 +68,7 @@ interface Document {
68
68
  * Document URL expiration date (when relevant). Optional
69
69
  * @readonly
70
70
  */
71
- urlExpirationDate?: Date;
71
+ urlExpirationDate?: Date | null;
72
72
  }
73
73
  declare enum AttachmentType$1 {
74
74
  UNKNOWN = "UNKNOWN",
@@ -341,12 +341,12 @@ interface Contact$1 {
341
341
  * Date and time the contact was created.
342
342
  * @readonly
343
343
  */
344
- createdDate?: Date;
344
+ createdDate?: Date | null;
345
345
  /**
346
346
  * Date and time the contact was last updated.
347
347
  * @readonly
348
348
  */
349
- updatedDate?: Date;
349
+ updatedDate?: Date | null;
350
350
  /**
351
351
  * Details about the contact's last action in the site.
352
352
  * @readonly
@@ -395,7 +395,7 @@ declare enum ContactSourceType$1 {
395
395
  }
396
396
  interface ContactActivity$1 {
397
397
  /** Date and time of the last action. */
398
- activityDate?: Date;
398
+ activityDate?: Date | null;
399
399
  /**
400
400
  * Contact's last action in the site.
401
401
  *
@@ -523,7 +523,7 @@ interface Image$1 {
523
523
  * Image URL expiration date (when relevant). Optional
524
524
  * @readonly
525
525
  */
526
- urlExpirationDate?: Date;
526
+ urlExpirationDate?: Date | null;
527
527
  }
528
528
  interface ContactInfo$5 {
529
529
  /** Contact's first and last name. */
@@ -1249,12 +1249,12 @@ interface Contact {
1249
1249
  * Date and time the contact was created.
1250
1250
  * @readonly
1251
1251
  */
1252
- _createdDate?: Date;
1252
+ _createdDate?: Date | null;
1253
1253
  /**
1254
1254
  * Date and time the contact was last updated.
1255
1255
  * @readonly
1256
1256
  */
1257
- _updatedDate?: Date;
1257
+ _updatedDate?: Date | null;
1258
1258
  /**
1259
1259
  * Details about the contact's last action in the site.
1260
1260
  * @readonly
@@ -1305,7 +1305,7 @@ declare enum ContactSourceType {
1305
1305
  }
1306
1306
  interface ContactActivity {
1307
1307
  /** Date and time of the last action. */
1308
- activityDate?: Date;
1308
+ activityDate?: Date | null;
1309
1309
  /** */
1310
1310
  activityType?: ContactActivityType;
1311
1311
  }
@@ -2165,12 +2165,12 @@ interface ExtendedField$1 {
2165
2165
  * Date and time the field was created.
2166
2166
  * @readonly
2167
2167
  */
2168
- createdDate?: Date;
2168
+ createdDate?: Date | null;
2169
2169
  /**
2170
2170
  * Date and time the field was last updated.
2171
2171
  * @readonly
2172
2172
  */
2173
- updatedDate?: Date;
2173
+ updatedDate?: Date | null;
2174
2174
  /**
2175
2175
  * Field description, if the field is a system field.
2176
2176
  * @readonly
@@ -2402,12 +2402,12 @@ interface ExtendedField {
2402
2402
  * Date and time the field was created.
2403
2403
  * @readonly
2404
2404
  */
2405
- _createdDate?: Date;
2405
+ _createdDate?: Date | null;
2406
2406
  /**
2407
2407
  * Date and time the field was last updated.
2408
2408
  * @readonly
2409
2409
  */
2410
- _updatedDate?: Date;
2410
+ _updatedDate?: Date | null;
2411
2411
  /**
2412
2412
  * Field description, if the field is a system field.
2413
2413
  * @readonly
@@ -2660,12 +2660,12 @@ interface ContactLabel$1 {
2660
2660
  * Date and time the label was created.
2661
2661
  * @readonly
2662
2662
  */
2663
- createdDate?: Date;
2663
+ createdDate?: Date | null;
2664
2664
  /**
2665
2665
  * Date and time the label was last updated.
2666
2666
  * @readonly
2667
2667
  */
2668
- updatedDate?: Date;
2668
+ updatedDate?: Date | null;
2669
2669
  }
2670
2670
  declare enum LabelType$1 {
2671
2671
  /** Need UNKNOWN to be able to fetch all labels */
@@ -2866,12 +2866,12 @@ interface ContactLabel {
2866
2866
  * Date and time the label was created.
2867
2867
  * @readonly
2868
2868
  */
2869
- _createdDate?: Date;
2869
+ _createdDate?: Date | null;
2870
2870
  /**
2871
2871
  * Date and time the label was last updated.
2872
2872
  * @readonly
2873
2873
  */
2874
- _updatedDate?: Date;
2874
+ _updatedDate?: Date | null;
2875
2875
  }
2876
2876
  declare enum LabelType {
2877
2877
  /** Need UNKNOWN to be able to fetch all labels */
@@ -3333,7 +3333,7 @@ interface Image {
3333
3333
  * Image URL expiration date (when relevant). Optional
3334
3334
  * @readonly
3335
3335
  */
3336
- urlExpirationDate?: Date;
3336
+ urlExpirationDate?: Date | null;
3337
3337
  }
3338
3338
  interface SubmitContactResponse$1 {
3339
3339
  /** ID of the contact that was found or created. */
@@ -3690,14 +3690,14 @@ interface Task$1 {
3690
3690
  * Date and time the task was created.
3691
3691
  * @readonly
3692
3692
  */
3693
- createdDate?: Date;
3693
+ createdDate?: Date | null;
3694
3694
  /**
3695
3695
  * Date and time the task was last updated.
3696
3696
  * @readonly
3697
3697
  */
3698
- updatedDate?: Date;
3698
+ updatedDate?: Date | null;
3699
3699
  /** Due date for the task. */
3700
- dueDate?: Date;
3700
+ dueDate?: Date | null;
3701
3701
  /**
3702
3702
  * Status of the task.
3703
3703
  *
@@ -3940,14 +3940,14 @@ interface Task {
3940
3940
  * Date and time the task was created.
3941
3941
  * @readonly
3942
3942
  */
3943
- _createdDate?: Date;
3943
+ _createdDate?: Date | null;
3944
3944
  /**
3945
3945
  * Date and time the task was last updated.
3946
3946
  * @readonly
3947
3947
  */
3948
- _updatedDate?: Date;
3948
+ _updatedDate?: Date | null;
3949
3949
  /** Due date for the task. */
3950
- dueDate?: Date;
3950
+ dueDate?: Date | null;
3951
3951
  /**
3952
3952
  * Status of the task.
3953
3953
  *