@wix/crm 1.0.141 → 1.0.143

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.
@@ -542,7 +542,7 @@ interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
542
542
  slug?: string;
543
543
  /** ID of the entity associated with the event. */
544
544
  entityId?: string;
545
- /** Event timestamp. */
545
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
546
546
  eventTime?: Date | null;
547
547
  /**
548
548
  * Whether the event was triggered as a result of a privacy regulation application
@@ -571,6 +571,9 @@ interface DomainEventBodyOneOf$4 {
571
571
  interface EntityCreatedEvent$4 {
572
572
  entity?: string;
573
573
  }
574
+ interface RestoreInfo$4 {
575
+ deletedDate?: Date | null;
576
+ }
574
577
  interface EntityUpdatedEvent$4 {
575
578
  /**
576
579
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -807,7 +810,7 @@ interface EventMetadata$4 extends BaseEventMetadata$4 {
807
810
  slug?: string;
808
811
  /** ID of the entity associated with the event. */
809
812
  entityId?: string;
810
- /** Event timestamp. */
813
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
811
814
  eventTime?: Date | null;
812
815
  /**
813
816
  * Whether the event was triggered as a result of a privacy regulation application
@@ -955,7 +958,7 @@ declare const index_d$5_listAttachments: typeof listAttachments;
955
958
  declare const index_d$5_onAttachmentCreated: typeof onAttachmentCreated;
956
959
  declare const index_d$5_onAttachmentDeleted: typeof onAttachmentDeleted;
957
960
  declare namespace index_d$5 {
958
- export { type ActionEvent$4 as ActionEvent, type index_d$5_AttachmentCreatedEnvelope as AttachmentCreatedEnvelope, type index_d$5_AttachmentDeletedEnvelope as AttachmentDeletedEnvelope, type index_d$5_AttachmentMedia as AttachmentMedia, type index_d$5_AttachmentMediaMediaOneOf as AttachmentMediaMediaOneOf, type index_d$5_AttachmentMetadata as AttachmentMetadata, type index_d$5_AttachmentSource as AttachmentSource, index_d$5_AttachmentType as AttachmentType, type BaseEventMetadata$4 as BaseEventMetadata, type index_d$5_ContactAttachment as ContactAttachment, type index_d$5_ContactAttachmentMediaOneOf as ContactAttachmentMediaOneOf, type index_d$5_ContactAttachmentNonNullableFields as ContactAttachmentNonNullableFields, type index_d$5_CreateDemoAttachmentRequest as CreateDemoAttachmentRequest, type index_d$5_CreateDemoAttachmentResponse as CreateDemoAttachmentResponse, type index_d$5_CrmAttachment as CrmAttachment, index_d$5_CrmAttachmentAttachmentType as CrmAttachmentAttachmentType, type index_d$5_CrmAttachmentUploadedEvent as CrmAttachmentUploadedEvent, type index_d$5_DeleteAttachmentIdentifiers as DeleteAttachmentIdentifiers, type index_d$5_DeleteAttachmentRequest as DeleteAttachmentRequest, type index_d$5_DeleteAttachmentResponse as DeleteAttachmentResponse, index_d$5_DemoContactType as DemoContactType, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$4 as EventMetadata, type index_d$5_GenerateAttachmentUploadUrlOptions as GenerateAttachmentUploadUrlOptions, type index_d$5_GenerateAttachmentUploadUrlRequest as GenerateAttachmentUploadUrlRequest, type index_d$5_GenerateAttachmentUploadUrlResponse as GenerateAttachmentUploadUrlResponse, type index_d$5_GenerateAttachmentUploadUrlResponseNonNullableFields as GenerateAttachmentUploadUrlResponseNonNullableFields, type index_d$5_GetAttachmentIdentifiers as GetAttachmentIdentifiers, type index_d$5_GetAttachmentRequest as GetAttachmentRequest, type index_d$5_GetAttachmentResponse as GetAttachmentResponse, type index_d$5_GetAttachmentResponseNonNullableFields as GetAttachmentResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type index_d$5_ListAttachmentsOptions as ListAttachmentsOptions, type index_d$5_ListAttachmentsRequest as ListAttachmentsRequest, type index_d$5_ListAttachmentsResponse as ListAttachmentsResponse, type index_d$5_ListAttachmentsResponseNonNullableFields as ListAttachmentsResponseNonNullableFields, type index_d$5_MediaFileUploadedEvent as MediaFileUploadedEvent, type MessageEnvelope$5 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadata$3 as PagingMetadata, WebhookIdentityType$5 as WebhookIdentityType, type index_d$5__publicOnAttachmentCreatedType as _publicOnAttachmentCreatedType, type index_d$5__publicOnAttachmentDeletedType as _publicOnAttachmentDeletedType, index_d$5_deleteAttachment as deleteAttachment, index_d$5_generateAttachmentUploadUrl as generateAttachmentUploadUrl, index_d$5_getAttachment as getAttachment, index_d$5_listAttachments as listAttachments, index_d$5_onAttachmentCreated as onAttachmentCreated, index_d$5_onAttachmentDeleted as onAttachmentDeleted, onAttachmentCreated$1 as publicOnAttachmentCreated, onAttachmentDeleted$1 as publicOnAttachmentDeleted };
961
+ export { type ActionEvent$4 as ActionEvent, type index_d$5_AttachmentCreatedEnvelope as AttachmentCreatedEnvelope, type index_d$5_AttachmentDeletedEnvelope as AttachmentDeletedEnvelope, type index_d$5_AttachmentMedia as AttachmentMedia, type index_d$5_AttachmentMediaMediaOneOf as AttachmentMediaMediaOneOf, type index_d$5_AttachmentMetadata as AttachmentMetadata, type index_d$5_AttachmentSource as AttachmentSource, index_d$5_AttachmentType as AttachmentType, type BaseEventMetadata$4 as BaseEventMetadata, type index_d$5_ContactAttachment as ContactAttachment, type index_d$5_ContactAttachmentMediaOneOf as ContactAttachmentMediaOneOf, type index_d$5_ContactAttachmentNonNullableFields as ContactAttachmentNonNullableFields, type index_d$5_CreateDemoAttachmentRequest as CreateDemoAttachmentRequest, type index_d$5_CreateDemoAttachmentResponse as CreateDemoAttachmentResponse, type index_d$5_CrmAttachment as CrmAttachment, index_d$5_CrmAttachmentAttachmentType as CrmAttachmentAttachmentType, type index_d$5_CrmAttachmentUploadedEvent as CrmAttachmentUploadedEvent, type index_d$5_DeleteAttachmentIdentifiers as DeleteAttachmentIdentifiers, type index_d$5_DeleteAttachmentRequest as DeleteAttachmentRequest, type index_d$5_DeleteAttachmentResponse as DeleteAttachmentResponse, index_d$5_DemoContactType as DemoContactType, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$4 as EventMetadata, type index_d$5_GenerateAttachmentUploadUrlOptions as GenerateAttachmentUploadUrlOptions, type index_d$5_GenerateAttachmentUploadUrlRequest as GenerateAttachmentUploadUrlRequest, type index_d$5_GenerateAttachmentUploadUrlResponse as GenerateAttachmentUploadUrlResponse, type index_d$5_GenerateAttachmentUploadUrlResponseNonNullableFields as GenerateAttachmentUploadUrlResponseNonNullableFields, type index_d$5_GetAttachmentIdentifiers as GetAttachmentIdentifiers, type index_d$5_GetAttachmentRequest as GetAttachmentRequest, type index_d$5_GetAttachmentResponse as GetAttachmentResponse, type index_d$5_GetAttachmentResponseNonNullableFields as GetAttachmentResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type index_d$5_ListAttachmentsOptions as ListAttachmentsOptions, type index_d$5_ListAttachmentsRequest as ListAttachmentsRequest, type index_d$5_ListAttachmentsResponse as ListAttachmentsResponse, type index_d$5_ListAttachmentsResponseNonNullableFields as ListAttachmentsResponseNonNullableFields, type index_d$5_MediaFileUploadedEvent as MediaFileUploadedEvent, type MessageEnvelope$5 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadata$3 as PagingMetadata, type RestoreInfo$4 as RestoreInfo, WebhookIdentityType$5 as WebhookIdentityType, type index_d$5__publicOnAttachmentCreatedType as _publicOnAttachmentCreatedType, type index_d$5__publicOnAttachmentDeletedType as _publicOnAttachmentDeletedType, index_d$5_deleteAttachment as deleteAttachment, index_d$5_generateAttachmentUploadUrl as generateAttachmentUploadUrl, index_d$5_getAttachment as getAttachment, index_d$5_listAttachments as listAttachments, index_d$5_onAttachmentCreated as onAttachmentCreated, index_d$5_onAttachmentDeleted as onAttachmentDeleted, onAttachmentCreated$1 as publicOnAttachmentCreated, onAttachmentDeleted$1 as publicOnAttachmentDeleted };
959
962
  }
960
963
 
961
964
  interface Contact {
@@ -2491,7 +2494,7 @@ interface DomainEventBodyOneOf$3 {
2491
2494
  interface EntityCreatedEvent$3 {
2492
2495
  entity?: string;
2493
2496
  }
2494
- interface RestoreInfo$2 {
2497
+ interface RestoreInfo$3 {
2495
2498
  deletedDate?: Date | null;
2496
2499
  }
2497
2500
  interface EntityUpdatedEvent$3 {
@@ -2722,15 +2725,15 @@ interface ContactCreatedEnvelope {
2722
2725
  entity: Contact;
2723
2726
  metadata: EventMetadata$3;
2724
2727
  }
2725
- interface ContactUpdatedEnvelope {
2726
- entity: Contact;
2728
+ interface ContactDeletedEnvelope {
2727
2729
  metadata: EventMetadata$3;
2728
2730
  }
2729
2731
  interface ContactMergedEnvelope {
2730
2732
  data: ContactMerged;
2731
2733
  metadata: EventMetadata$3;
2732
2734
  }
2733
- interface ContactDeletedEnvelope {
2735
+ interface ContactUpdatedEnvelope {
2736
+ entity: Contact;
2734
2737
  metadata: EventMetadata$3;
2735
2738
  }
2736
2739
  interface CreateContactOptions {
@@ -3040,9 +3043,9 @@ interface GetContactSignature {
3040
3043
  (_id: string, options?: GetContactOptions | undefined): Promise<Contact & ContactNonNullableFields>;
3041
3044
  }
3042
3045
  declare const onContactCreated$1: EventDefinition<ContactCreatedEnvelope, "wix.contacts.v4.contact_created">;
3043
- declare const onContactUpdated$1: EventDefinition<ContactUpdatedEnvelope, "wix.contacts.v4.contact_updated">;
3044
- declare const onContactMerged$1: EventDefinition<ContactMergedEnvelope, "wix.contacts.v4.contact_merged">;
3045
3046
  declare const onContactDeleted$1: EventDefinition<ContactDeletedEnvelope, "wix.contacts.v4.contact_deleted">;
3047
+ declare const onContactMerged$1: EventDefinition<ContactMergedEnvelope, "wix.contacts.v4.contact_merged">;
3048
+ declare const onContactUpdated$1: EventDefinition<ContactUpdatedEnvelope, "wix.contacts.v4.contact_updated">;
3046
3049
 
3047
3050
  declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3048
3051
 
@@ -3061,11 +3064,15 @@ type _publicOnContactCreatedType = typeof onContactCreated$1;
3061
3064
  */
3062
3065
  declare const onContactCreated: ReturnType<typeof createEventModule$3<_publicOnContactCreatedType>>;
3063
3066
 
3064
- type _publicOnContactUpdatedType = typeof onContactUpdated$1;
3067
+ type _publicOnContactDeletedType = typeof onContactDeleted$1;
3065
3068
  /**
3066
- * Triggered when a contact is updated.
3069
+ * Triggered when a contact is deleted.
3070
+ *
3071
+ * If a contact is deleted as part of a merge,
3072
+ * the `originatedFrom` property is sent as `merge`.
3073
+ * Otherwise, `originatedFrom` is omitted.
3067
3074
  */
3068
- declare const onContactUpdated: ReturnType<typeof createEventModule$3<_publicOnContactUpdatedType>>;
3075
+ declare const onContactDeleted: ReturnType<typeof createEventModule$3<_publicOnContactDeletedType>>;
3069
3076
 
3070
3077
  type _publicOnContactMergedType = typeof onContactMerged$1;
3071
3078
  /**
@@ -3084,15 +3091,11 @@ type _publicOnContactMergedType = typeof onContactMerged$1;
3084
3091
  */
3085
3092
  declare const onContactMerged: ReturnType<typeof createEventModule$3<_publicOnContactMergedType>>;
3086
3093
 
3087
- type _publicOnContactDeletedType = typeof onContactDeleted$1;
3094
+ type _publicOnContactUpdatedType = typeof onContactUpdated$1;
3088
3095
  /**
3089
- * Triggered when a contact is deleted.
3090
- *
3091
- * If a contact is deleted as part of a merge,
3092
- * the `originatedFrom` property is sent as `merge`.
3093
- * Otherwise, `originatedFrom` is omitted.
3096
+ * Triggered when a contact is updated.
3094
3097
  */
3095
- declare const onContactDeleted: ReturnType<typeof createEventModule$3<_publicOnContactDeletedType>>;
3098
+ declare const onContactUpdated: ReturnType<typeof createEventModule$3<_publicOnContactUpdatedType>>;
3096
3099
 
3097
3100
  type index_d$4_Action = Action;
3098
3101
  declare const index_d$4_Action: typeof Action;
@@ -3237,7 +3240,7 @@ declare const index_d$4_queryContacts: typeof queryContacts;
3237
3240
  declare const index_d$4_unlabelContact: typeof unlabelContact;
3238
3241
  declare const index_d$4_updateContact: typeof updateContact;
3239
3242
  declare namespace index_d$4 {
3240
- export { index_d$4_Action as Action, type ActionEvent$3 as ActionEvent, type ActivityIcon$1 as ActivityIcon, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressStreetOneOf$1 as AddressStreetOneOf, AddressTag$1 as AddressTag, type index_d$4_ApplicationError as ApplicationError, type AssigneesWrapper$1 as AssigneesWrapper, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$4_BulkActionMetadata as BulkActionMetadata, type index_d$4_BulkAddSegmentToContactsRequest as BulkAddSegmentToContactsRequest, type index_d$4_BulkAddSegmentToContactsResponse as BulkAddSegmentToContactsResponse, type index_d$4_BulkDeleteContactsRequest as BulkDeleteContactsRequest, type index_d$4_BulkDeleteContactsResponse as BulkDeleteContactsResponse, type index_d$4_BulkLabelAndUnlabelContactsRequest as BulkLabelAndUnlabelContactsRequest, type index_d$4_BulkLabelAndUnlabelContactsResponse as BulkLabelAndUnlabelContactsResponse, type index_d$4_BulkRemoveSegmentFromContactsRequest as BulkRemoveSegmentFromContactsRequest, type index_d$4_BulkRemoveSegmentFromContactsResponse as BulkRemoveSegmentFromContactsResponse, type index_d$4_BulkUpdateContactsRequest as BulkUpdateContactsRequest, type index_d$4_BulkUpdateContactsResponse as BulkUpdateContactsResponse, type index_d$4_BulkUpsertContactsRequest as BulkUpsertContactsRequest, type index_d$4_BulkUpsertContactsResponse as BulkUpsertContactsResponse, type index_d$4_BulkUpsertContactsResponseMetadata as BulkUpsertContactsResponseMetadata, type index_d$4_Contact as Contact, type ContactActivity$1 as ContactActivity, ContactActivityType$1 as ContactActivityType, type index_d$4_ContactAddedToSegment as ContactAddedToSegment, type ContactAddress$1 as ContactAddress, type ContactAddressesWrapper$1 as ContactAddressesWrapper, type index_d$4_ContactChanged as ContactChanged, type index_d$4_ContactCreatedEnvelope as ContactCreatedEnvelope, type index_d$4_ContactDeletedEnvelope as ContactDeletedEnvelope, type ContactEmail$1 as ContactEmail, type index_d$4_ContactEmailSubscriptionUpdated as ContactEmailSubscriptionUpdated, type ContactEmailsWrapper$1 as ContactEmailsWrapper, index_d$4_ContactFieldSet as ContactFieldSet, type ContactInfo$2 as ContactInfo, type index_d$4_ContactMerged as ContactMerged, type index_d$4_ContactMergedEnvelope as ContactMergedEnvelope, type ContactName$1 as ContactName, type index_d$4_ContactNonNullableFields as ContactNonNullableFields, type ContactPhone$1 as ContactPhone, type index_d$4_ContactPhoneSubscriptionUpdated as ContactPhoneSubscriptionUpdated, type ContactPhonesWrapper$1 as ContactPhonesWrapper, type ContactPicture$1 as ContactPicture, type index_d$4_ContactPrimaryInfoUpdated as ContactPrimaryInfoUpdated, type index_d$4_ContactRemovedFromSegment as ContactRemovedFromSegment, type index_d$4_ContactSource as ContactSource, ContactSourceType$1 as ContactSourceType, type index_d$4_ContactSubmitted as ContactSubmitted, type index_d$4_ContactUpdatedEnvelope as ContactUpdatedEnvelope, type index_d$4_ContactsFacet as ContactsFacet, index_d$4_ContactsFacetType as ContactsFacetType, type index_d$4_ContactsQueryBuilder as ContactsQueryBuilder, type index_d$4_ContactsQueryResult as ContactsQueryResult, type index_d$4_CountContactsRequest as CountContactsRequest, type index_d$4_CountContactsResponse as CountContactsResponse, type index_d$4_CreateContactOptions as CreateContactOptions, type index_d$4_CreateContactRequest as CreateContactRequest, type index_d$4_CreateContactResponse as CreateContactResponse, type index_d$4_CreateContactResponseNonNullableFields as CreateContactResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type Cursors$1 as Cursors, type index_d$4_DeleteContactRequest as DeleteContactRequest, type index_d$4_DeleteContactResponse as DeleteContactResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type index_d$4_DuplicateContactExists as DuplicateContactExists, index_d$4_EmailDeliverabilityStatus as EmailDeliverabilityStatus, EmailTag$1 as EmailTag, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type index_d$4_Error as Error, type EventMetadata$3 as EventMetadata, type ExtendedFieldsWrapper$1 as ExtendedFieldsWrapper, type index_d$4_GeneratePictureUploadUrlRequest as GeneratePictureUploadUrlRequest, type index_d$4_GeneratePictureUploadUrlResponse as GeneratePictureUploadUrlResponse, type index_d$4_GetContactOptions as GetContactOptions, type index_d$4_GetContactRequest as GetContactRequest, type index_d$4_GetContactResponse as GetContactResponse, type index_d$4_GetContactResponseNonNullableFields as GetContactResponseNonNullableFields, index_d$4_GetContactResponseType as GetContactResponseType, type index_d$4_GroupInfo as GroupInfo, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, ImageProvider$1 as ImageProvider, type index_d$4_Item as Item, type index_d$4_ItemMetadata as ItemMetadata, type index_d$4_LabelAndUnlabelContactRequest as LabelAndUnlabelContactRequest, type index_d$4_LabelAndUnlabelContactResponse as LabelAndUnlabelContactResponse, type index_d$4_LabelContactRequest as LabelContactRequest, type index_d$4_LabelContactResponse as LabelContactResponse, type index_d$4_LabelContactResponseNonNullableFields as LabelContactResponseNonNullableFields, type LabelsWrapper$1 as LabelsWrapper, type index_d$4_LastActivityUpdate as LastActivityUpdate, type index_d$4_ListContactIdsBySegmentRequest as ListContactIdsBySegmentRequest, type index_d$4_ListContactIdsBySegmentResponse as ListContactIdsBySegmentResponse, type index_d$4_ListContactsRequest as ListContactsRequest, type index_d$4_ListContactsResponse as ListContactsResponse, type index_d$4_ListFacetsRequest as ListFacetsRequest, type index_d$4_ListFacetsResponse as ListFacetsResponse, type LocationsWrapper$1 as LocationsWrapper, type index_d$4_MemberInfo as MemberInfo, index_d$4_MemberStatus as MemberStatus, type index_d$4_MergeContactsOptions as MergeContactsOptions, type index_d$4_MergeContactsRequest as MergeContactsRequest, type index_d$4_MergeContactsResponse as MergeContactsResponse, type index_d$4_MergeContactsResponseNonNullableFields as MergeContactsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type index_d$4_Metadata as Metadata, index_d$4_Mode as Mode, type Paging$3 as Paging, type PagingMetadata$2 as PagingMetadata, index_d$4_PhoneDeliverabilityStatus as PhoneDeliverabilityStatus, PhoneTag$1 as PhoneTag, type index_d$4_PreviewMergeContactsRequest as PreviewMergeContactsRequest, type index_d$4_PreviewMergeContactsResponse as PreviewMergeContactsResponse, type index_d$4_PrimaryContactInfo as PrimaryContactInfo, type index_d$4_PrimaryEmail as PrimaryEmail, type index_d$4_PrimaryPhone as PrimaryPhone, type index_d$4_PrimarySubscriptionStatus as PrimarySubscriptionStatus, index_d$4_PrivacyStatus as PrivacyStatus, type index_d$4_ProfileInfo as ProfileInfo, type Query$2 as Query, type index_d$4_QueryContactsOptions as QueryContactsOptions, type index_d$4_QueryContactsRequest as QueryContactsRequest, type index_d$4_QueryContactsResponse as QueryContactsResponse, type index_d$4_QueryContactsResponseNonNullableFields as QueryContactsResponseNonNullableFields, type index_d$4_QueryFacetsRequest as QueryFacetsRequest, type index_d$4_QueryFacetsResponse as QueryFacetsResponse, type RestoreInfo$2 as RestoreInfo, index_d$4_Role as Role, type index_d$4_Search as Search, type index_d$4_SearchContactsRequest as SearchContactsRequest, type index_d$4_SearchContactsResponse as SearchContactsResponse, type index_d$4_SearchDetails as SearchDetails, type index_d$4_SearchPagingMethodOneOf as SearchPagingMethodOneOf, type index_d$4_SegmentsWrapper as SegmentsWrapper, type index_d$4_SessionInfo as SessionInfo, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type StreetAddress$1 as StreetAddress, type Subdivision$1 as Subdivision, SubdivisionType$1 as SubdivisionType, SubmitOperation$1 as SubmitOperation, index_d$4_SubscriptionStatus as SubscriptionStatus, type index_d$4_SyncSubmitContactRequest as SyncSubmitContactRequest, type index_d$4_SyncSubmitContactResponse as SyncSubmitContactResponse, type index_d$4_UnlabelContactRequest as UnlabelContactRequest, type index_d$4_UnlabelContactResponse as UnlabelContactResponse, type index_d$4_UnlabelContactResponseNonNullableFields as UnlabelContactResponseNonNullableFields, type index_d$4_UpdateContactOptions as UpdateContactOptions, type index_d$4_UpdateContactRequest as UpdateContactRequest, type index_d$4_UpdateContactResponse as UpdateContactResponse, type index_d$4_UpdateContactResponseNonNullableFields as UpdateContactResponseNonNullableFields, type index_d$4_UpsertContactRequest as UpsertContactRequest, type index_d$4_UpsertContactResponse as UpsertContactResponse, index_d$4_UpsertContactResponseAction as UpsertContactResponseAction, type index_d$4_UserInfo as UserInfo, WebhookIdentityType$4 as WebhookIdentityType, type index_d$4__publicOnContactCreatedType as _publicOnContactCreatedType, type index_d$4__publicOnContactDeletedType as _publicOnContactDeletedType, type index_d$4__publicOnContactMergedType as _publicOnContactMergedType, type index_d$4__publicOnContactUpdatedType as _publicOnContactUpdatedType, index_d$4_createContact as createContact, index_d$4_deleteContact as deleteContact, index_d$4_getContact as getContact, index_d$4_labelContact as labelContact, index_d$4_mergeContacts as mergeContacts, index_d$4_onContactCreated as onContactCreated, index_d$4_onContactDeleted as onContactDeleted, index_d$4_onContactMerged as onContactMerged, index_d$4_onContactUpdated as onContactUpdated, onContactCreated$1 as publicOnContactCreated, onContactDeleted$1 as publicOnContactDeleted, onContactMerged$1 as publicOnContactMerged, onContactUpdated$1 as publicOnContactUpdated, index_d$4_queryContacts as queryContacts, index_d$4_unlabelContact as unlabelContact, index_d$4_updateContact as updateContact };
3243
+ export { index_d$4_Action as Action, type ActionEvent$3 as ActionEvent, type ActivityIcon$1 as ActivityIcon, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressStreetOneOf$1 as AddressStreetOneOf, AddressTag$1 as AddressTag, type index_d$4_ApplicationError as ApplicationError, type AssigneesWrapper$1 as AssigneesWrapper, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$4_BulkActionMetadata as BulkActionMetadata, type index_d$4_BulkAddSegmentToContactsRequest as BulkAddSegmentToContactsRequest, type index_d$4_BulkAddSegmentToContactsResponse as BulkAddSegmentToContactsResponse, type index_d$4_BulkDeleteContactsRequest as BulkDeleteContactsRequest, type index_d$4_BulkDeleteContactsResponse as BulkDeleteContactsResponse, type index_d$4_BulkLabelAndUnlabelContactsRequest as BulkLabelAndUnlabelContactsRequest, type index_d$4_BulkLabelAndUnlabelContactsResponse as BulkLabelAndUnlabelContactsResponse, type index_d$4_BulkRemoveSegmentFromContactsRequest as BulkRemoveSegmentFromContactsRequest, type index_d$4_BulkRemoveSegmentFromContactsResponse as BulkRemoveSegmentFromContactsResponse, type index_d$4_BulkUpdateContactsRequest as BulkUpdateContactsRequest, type index_d$4_BulkUpdateContactsResponse as BulkUpdateContactsResponse, type index_d$4_BulkUpsertContactsRequest as BulkUpsertContactsRequest, type index_d$4_BulkUpsertContactsResponse as BulkUpsertContactsResponse, type index_d$4_BulkUpsertContactsResponseMetadata as BulkUpsertContactsResponseMetadata, type index_d$4_Contact as Contact, type ContactActivity$1 as ContactActivity, ContactActivityType$1 as ContactActivityType, type index_d$4_ContactAddedToSegment as ContactAddedToSegment, type ContactAddress$1 as ContactAddress, type ContactAddressesWrapper$1 as ContactAddressesWrapper, type index_d$4_ContactChanged as ContactChanged, type index_d$4_ContactCreatedEnvelope as ContactCreatedEnvelope, type index_d$4_ContactDeletedEnvelope as ContactDeletedEnvelope, type ContactEmail$1 as ContactEmail, type index_d$4_ContactEmailSubscriptionUpdated as ContactEmailSubscriptionUpdated, type ContactEmailsWrapper$1 as ContactEmailsWrapper, index_d$4_ContactFieldSet as ContactFieldSet, type ContactInfo$2 as ContactInfo, type index_d$4_ContactMerged as ContactMerged, type index_d$4_ContactMergedEnvelope as ContactMergedEnvelope, type ContactName$1 as ContactName, type index_d$4_ContactNonNullableFields as ContactNonNullableFields, type ContactPhone$1 as ContactPhone, type index_d$4_ContactPhoneSubscriptionUpdated as ContactPhoneSubscriptionUpdated, type ContactPhonesWrapper$1 as ContactPhonesWrapper, type ContactPicture$1 as ContactPicture, type index_d$4_ContactPrimaryInfoUpdated as ContactPrimaryInfoUpdated, type index_d$4_ContactRemovedFromSegment as ContactRemovedFromSegment, type index_d$4_ContactSource as ContactSource, ContactSourceType$1 as ContactSourceType, type index_d$4_ContactSubmitted as ContactSubmitted, type index_d$4_ContactUpdatedEnvelope as ContactUpdatedEnvelope, type index_d$4_ContactsFacet as ContactsFacet, index_d$4_ContactsFacetType as ContactsFacetType, type index_d$4_ContactsQueryBuilder as ContactsQueryBuilder, type index_d$4_ContactsQueryResult as ContactsQueryResult, type index_d$4_CountContactsRequest as CountContactsRequest, type index_d$4_CountContactsResponse as CountContactsResponse, type index_d$4_CreateContactOptions as CreateContactOptions, type index_d$4_CreateContactRequest as CreateContactRequest, type index_d$4_CreateContactResponse as CreateContactResponse, type index_d$4_CreateContactResponseNonNullableFields as CreateContactResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type Cursors$1 as Cursors, type index_d$4_DeleteContactRequest as DeleteContactRequest, type index_d$4_DeleteContactResponse as DeleteContactResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type index_d$4_DuplicateContactExists as DuplicateContactExists, index_d$4_EmailDeliverabilityStatus as EmailDeliverabilityStatus, EmailTag$1 as EmailTag, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type index_d$4_Error as Error, type EventMetadata$3 as EventMetadata, type ExtendedFieldsWrapper$1 as ExtendedFieldsWrapper, type index_d$4_GeneratePictureUploadUrlRequest as GeneratePictureUploadUrlRequest, type index_d$4_GeneratePictureUploadUrlResponse as GeneratePictureUploadUrlResponse, type index_d$4_GetContactOptions as GetContactOptions, type index_d$4_GetContactRequest as GetContactRequest, type index_d$4_GetContactResponse as GetContactResponse, type index_d$4_GetContactResponseNonNullableFields as GetContactResponseNonNullableFields, index_d$4_GetContactResponseType as GetContactResponseType, type index_d$4_GroupInfo as GroupInfo, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, ImageProvider$1 as ImageProvider, type index_d$4_Item as Item, type index_d$4_ItemMetadata as ItemMetadata, type index_d$4_LabelAndUnlabelContactRequest as LabelAndUnlabelContactRequest, type index_d$4_LabelAndUnlabelContactResponse as LabelAndUnlabelContactResponse, type index_d$4_LabelContactRequest as LabelContactRequest, type index_d$4_LabelContactResponse as LabelContactResponse, type index_d$4_LabelContactResponseNonNullableFields as LabelContactResponseNonNullableFields, type LabelsWrapper$1 as LabelsWrapper, type index_d$4_LastActivityUpdate as LastActivityUpdate, type index_d$4_ListContactIdsBySegmentRequest as ListContactIdsBySegmentRequest, type index_d$4_ListContactIdsBySegmentResponse as ListContactIdsBySegmentResponse, type index_d$4_ListContactsRequest as ListContactsRequest, type index_d$4_ListContactsResponse as ListContactsResponse, type index_d$4_ListFacetsRequest as ListFacetsRequest, type index_d$4_ListFacetsResponse as ListFacetsResponse, type LocationsWrapper$1 as LocationsWrapper, type index_d$4_MemberInfo as MemberInfo, index_d$4_MemberStatus as MemberStatus, type index_d$4_MergeContactsOptions as MergeContactsOptions, type index_d$4_MergeContactsRequest as MergeContactsRequest, type index_d$4_MergeContactsResponse as MergeContactsResponse, type index_d$4_MergeContactsResponseNonNullableFields as MergeContactsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type index_d$4_Metadata as Metadata, index_d$4_Mode as Mode, type Paging$3 as Paging, type PagingMetadata$2 as PagingMetadata, index_d$4_PhoneDeliverabilityStatus as PhoneDeliverabilityStatus, PhoneTag$1 as PhoneTag, type index_d$4_PreviewMergeContactsRequest as PreviewMergeContactsRequest, type index_d$4_PreviewMergeContactsResponse as PreviewMergeContactsResponse, type index_d$4_PrimaryContactInfo as PrimaryContactInfo, type index_d$4_PrimaryEmail as PrimaryEmail, type index_d$4_PrimaryPhone as PrimaryPhone, type index_d$4_PrimarySubscriptionStatus as PrimarySubscriptionStatus, index_d$4_PrivacyStatus as PrivacyStatus, type index_d$4_ProfileInfo as ProfileInfo, type Query$2 as Query, type index_d$4_QueryContactsOptions as QueryContactsOptions, type index_d$4_QueryContactsRequest as QueryContactsRequest, type index_d$4_QueryContactsResponse as QueryContactsResponse, type index_d$4_QueryContactsResponseNonNullableFields as QueryContactsResponseNonNullableFields, type index_d$4_QueryFacetsRequest as QueryFacetsRequest, type index_d$4_QueryFacetsResponse as QueryFacetsResponse, type RestoreInfo$3 as RestoreInfo, index_d$4_Role as Role, type index_d$4_Search as Search, type index_d$4_SearchContactsRequest as SearchContactsRequest, type index_d$4_SearchContactsResponse as SearchContactsResponse, type index_d$4_SearchDetails as SearchDetails, type index_d$4_SearchPagingMethodOneOf as SearchPagingMethodOneOf, type index_d$4_SegmentsWrapper as SegmentsWrapper, type index_d$4_SessionInfo as SessionInfo, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type StreetAddress$1 as StreetAddress, type Subdivision$1 as Subdivision, SubdivisionType$1 as SubdivisionType, SubmitOperation$1 as SubmitOperation, index_d$4_SubscriptionStatus as SubscriptionStatus, type index_d$4_SyncSubmitContactRequest as SyncSubmitContactRequest, type index_d$4_SyncSubmitContactResponse as SyncSubmitContactResponse, type index_d$4_UnlabelContactRequest as UnlabelContactRequest, type index_d$4_UnlabelContactResponse as UnlabelContactResponse, type index_d$4_UnlabelContactResponseNonNullableFields as UnlabelContactResponseNonNullableFields, type index_d$4_UpdateContactOptions as UpdateContactOptions, type index_d$4_UpdateContactRequest as UpdateContactRequest, type index_d$4_UpdateContactResponse as UpdateContactResponse, type index_d$4_UpdateContactResponseNonNullableFields as UpdateContactResponseNonNullableFields, type index_d$4_UpsertContactRequest as UpsertContactRequest, type index_d$4_UpsertContactResponse as UpsertContactResponse, index_d$4_UpsertContactResponseAction as UpsertContactResponseAction, type index_d$4_UserInfo as UserInfo, WebhookIdentityType$4 as WebhookIdentityType, type index_d$4__publicOnContactCreatedType as _publicOnContactCreatedType, type index_d$4__publicOnContactDeletedType as _publicOnContactDeletedType, type index_d$4__publicOnContactMergedType as _publicOnContactMergedType, type index_d$4__publicOnContactUpdatedType as _publicOnContactUpdatedType, index_d$4_createContact as createContact, index_d$4_deleteContact as deleteContact, index_d$4_getContact as getContact, index_d$4_labelContact as labelContact, index_d$4_mergeContacts as mergeContacts, index_d$4_onContactCreated as onContactCreated, index_d$4_onContactDeleted as onContactDeleted, index_d$4_onContactMerged as onContactMerged, index_d$4_onContactUpdated as onContactUpdated, onContactCreated$1 as publicOnContactCreated, onContactDeleted$1 as publicOnContactDeleted, onContactMerged$1 as publicOnContactMerged, onContactUpdated$1 as publicOnContactUpdated, index_d$4_queryContacts as queryContacts, index_d$4_unlabelContact as unlabelContact, index_d$4_updateContact as updateContact };
3241
3244
  }
3242
3245
 
3243
3246
  /** Extended field that was found or created. */
@@ -3302,15 +3305,23 @@ interface ExtendedField {
3302
3305
  description?: string | null;
3303
3306
  }
3304
3307
  declare enum FieldDataType {
3308
+ /** Undefined data type. */
3305
3309
  UNKNOWN_DATA_TYPE = "UNKNOWN_DATA_TYPE",
3310
+ /** Accepts strings. */
3306
3311
  TEXT = "TEXT",
3312
+ /** Accepts floats. */
3307
3313
  NUMBER = "NUMBER",
3314
+ /** Accepts dates formatted as `YYYY-MM-DD`. */
3308
3315
  DATE = "DATE",
3316
+ /** Accepts strings. Prepends `https://` if no protocol is included. */
3309
3317
  URL = "URL"
3310
3318
  }
3311
3319
  declare enum FieldType {
3320
+ /** Undefined field type. */
3312
3321
  UNKNOWN = "UNKNOWN",
3322
+ /** The field is a system field managed by Wix. System fields cannot be modified by 3rd-party apps or site contributors. */
3313
3323
  SYSTEM = "SYSTEM",
3324
+ /** The field is a custom field and can be modified by 3rd-party apps or site contributors. */
3314
3325
  USER_DEFINED = "USER_DEFINED"
3315
3326
  }
3316
3327
  /** Extended field filter options. */
@@ -3334,14 +3345,16 @@ interface Sorting$2 {
3334
3345
  /** Name of the field to sort by. */
3335
3346
  fieldName?: string;
3336
3347
  /**
3337
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
3348
+ * Sort order.
3338
3349
  *
3339
- * Defaults to `ASC`.
3350
+ * Default: `ASC`.
3340
3351
  */
3341
3352
  order?: SortOrder$2;
3342
3353
  }
3343
3354
  declare enum SortOrder$2 {
3355
+ /** Sort by ascending order. */
3344
3356
  ASC = "ASC",
3357
+ /** Sort by descending order. */
3345
3358
  DESC = "DESC"
3346
3359
  }
3347
3360
  interface Paging$2 {
@@ -3557,7 +3570,7 @@ interface DomainEventBodyOneOf$2 {
3557
3570
  interface EntityCreatedEvent$2 {
3558
3571
  entity?: string;
3559
3572
  }
3560
- interface RestoreInfo$1 {
3573
+ interface RestoreInfo$2 {
3561
3574
  deletedDate?: Date | null;
3562
3575
  }
3563
3576
  interface EntityUpdatedEvent$2 {
@@ -3684,11 +3697,11 @@ interface ExtendedFieldCreatedEnvelope {
3684
3697
  entity: ExtendedField;
3685
3698
  metadata: EventMetadata$2;
3686
3699
  }
3687
- interface ExtendedFieldUpdatedEnvelope {
3688
- entity: ExtendedField;
3700
+ interface ExtendedFieldDeletedEnvelope {
3689
3701
  metadata: EventMetadata$2;
3690
3702
  }
3691
- interface ExtendedFieldDeletedEnvelope {
3703
+ interface ExtendedFieldUpdatedEnvelope {
3704
+ entity: ExtendedField;
3692
3705
  metadata: EventMetadata$2;
3693
3706
  }
3694
3707
  interface RenameExtendedField {
@@ -3913,8 +3926,8 @@ interface QueryExtendedFieldsSignature {
3913
3926
  (): FieldsQueryBuilder;
3914
3927
  }
3915
3928
  declare const onExtendedFieldCreated$1: EventDefinition<ExtendedFieldCreatedEnvelope, "wix.contacts.v4.extended-field_created">;
3916
- declare const onExtendedFieldUpdated$1: EventDefinition<ExtendedFieldUpdatedEnvelope, "wix.contacts.v4.extended-field_updated">;
3917
3929
  declare const onExtendedFieldDeleted$1: EventDefinition<ExtendedFieldDeletedEnvelope, "wix.contacts.v4.extended-field_deleted">;
3930
+ declare const onExtendedFieldUpdated$1: EventDefinition<ExtendedFieldUpdatedEnvelope, "wix.contacts.v4.extended-field_updated">;
3918
3931
 
3919
3932
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3920
3933
 
@@ -3930,18 +3943,18 @@ type _publicOnExtendedFieldCreatedType = typeof onExtendedFieldCreated$1;
3930
3943
  */
3931
3944
  declare const onExtendedFieldCreated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldCreatedType>>;
3932
3945
 
3933
- type _publicOnExtendedFieldUpdatedType = typeof onExtendedFieldUpdated$1;
3934
- /**
3935
- * Triggered when an extended field is updated.
3936
- */
3937
- declare const onExtendedFieldUpdated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldUpdatedType>>;
3938
-
3939
3946
  type _publicOnExtendedFieldDeletedType = typeof onExtendedFieldDeleted$1;
3940
3947
  /**
3941
3948
  * Triggered when an extended field is deleted.
3942
3949
  */
3943
3950
  declare const onExtendedFieldDeleted: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldDeletedType>>;
3944
3951
 
3952
+ type _publicOnExtendedFieldUpdatedType = typeof onExtendedFieldUpdated$1;
3953
+ /**
3954
+ * Triggered when an extended field is updated.
3955
+ */
3956
+ declare const onExtendedFieldUpdated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldUpdatedType>>;
3957
+
3945
3958
  type index_d$3_DeleteExtendedFieldRequest = DeleteExtendedFieldRequest;
3946
3959
  type index_d$3_DeleteExtendedFieldResponse = DeleteExtendedFieldResponse;
3947
3960
  type index_d$3_ExtendedField = ExtendedField;
@@ -3984,7 +3997,7 @@ declare const index_d$3_onExtendedFieldUpdated: typeof onExtendedFieldUpdated;
3984
3997
  declare const index_d$3_queryExtendedFields: typeof queryExtendedFields;
3985
3998
  declare const index_d$3_renameExtendedField: typeof renameExtendedField;
3986
3999
  declare namespace index_d$3 {
3987
- export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_DeleteExtendedFieldRequest as DeleteExtendedFieldRequest, type index_d$3_DeleteExtendedFieldResponse as DeleteExtendedFieldResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type index_d$3_ExtendedField as ExtendedField, type index_d$3_ExtendedFieldCreatedEnvelope as ExtendedFieldCreatedEnvelope, type index_d$3_ExtendedFieldDeletedEnvelope as ExtendedFieldDeletedEnvelope, type index_d$3_ExtendedFieldNonNullableFields as ExtendedFieldNonNullableFields, type index_d$3_ExtendedFieldUpdatedEnvelope as ExtendedFieldUpdatedEnvelope, index_d$3_FieldDataType as FieldDataType, index_d$3_FieldType as FieldType, type index_d$3_FieldsQueryBuilder as FieldsQueryBuilder, type index_d$3_FieldsQueryResult as FieldsQueryResult, type index_d$3_FindOrCreateExtendedFieldRequest as FindOrCreateExtendedFieldRequest, type index_d$3_FindOrCreateExtendedFieldResponse as FindOrCreateExtendedFieldResponse, type index_d$3_FindOrCreateExtendedFieldResponseNonNullableFields as FindOrCreateExtendedFieldResponseNonNullableFields, type GdprListRequest$1 as GdprListRequest, type GdprListResponse$1 as GdprListResponse, type index_d$3_GetExtendedFieldByLegacyIdRequest as GetExtendedFieldByLegacyIdRequest, type index_d$3_GetExtendedFieldByLegacyIdResponse as GetExtendedFieldByLegacyIdResponse, type index_d$3_GetExtendedFieldRequest as GetExtendedFieldRequest, type index_d$3_GetExtendedFieldResponse as GetExtendedFieldResponse, type index_d$3_GetExtendedFieldResponseNonNullableFields as GetExtendedFieldResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$3_ListExtendedFieldsRequest as ListExtendedFieldsRequest, type index_d$3_ListExtendedFieldsResponse as ListExtendedFieldsResponse, type MessageEnvelope$3 as MessageEnvelope, type Paging$2 as Paging, type PagingMetadata$1 as PagingMetadata, type PurgeRequest$1 as PurgeRequest, type PurgeResponse$1 as PurgeResponse, type Query$1 as Query, type index_d$3_QueryExtendedFieldsRequest as QueryExtendedFieldsRequest, type index_d$3_QueryExtendedFieldsResponse as QueryExtendedFieldsResponse, type index_d$3_QueryExtendedFieldsResponseNonNullableFields as QueryExtendedFieldsResponseNonNullableFields, type index_d$3_RenameExtendedField as RenameExtendedField, type RestoreInfo$1 as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$3_UpdateExtendedFieldRequest as UpdateExtendedFieldRequest, type index_d$3_UpdateExtendedFieldResponse as UpdateExtendedFieldResponse, type index_d$3_UpdateExtendedFieldResponseNonNullableFields as UpdateExtendedFieldResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type index_d$3__publicOnExtendedFieldCreatedType as _publicOnExtendedFieldCreatedType, type index_d$3__publicOnExtendedFieldDeletedType as _publicOnExtendedFieldDeletedType, type index_d$3__publicOnExtendedFieldUpdatedType as _publicOnExtendedFieldUpdatedType, index_d$3_deleteExtendedField as deleteExtendedField, index_d$3_findOrCreateExtendedField as findOrCreateExtendedField, index_d$3_getExtendedField as getExtendedField, index_d$3_onExtendedFieldCreated as onExtendedFieldCreated, index_d$3_onExtendedFieldDeleted as onExtendedFieldDeleted, index_d$3_onExtendedFieldUpdated as onExtendedFieldUpdated, onExtendedFieldCreated$1 as publicOnExtendedFieldCreated, onExtendedFieldDeleted$1 as publicOnExtendedFieldDeleted, onExtendedFieldUpdated$1 as publicOnExtendedFieldUpdated, index_d$3_queryExtendedFields as queryExtendedFields, index_d$3_renameExtendedField as renameExtendedField };
4000
+ export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_DeleteExtendedFieldRequest as DeleteExtendedFieldRequest, type index_d$3_DeleteExtendedFieldResponse as DeleteExtendedFieldResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type index_d$3_ExtendedField as ExtendedField, type index_d$3_ExtendedFieldCreatedEnvelope as ExtendedFieldCreatedEnvelope, type index_d$3_ExtendedFieldDeletedEnvelope as ExtendedFieldDeletedEnvelope, type index_d$3_ExtendedFieldNonNullableFields as ExtendedFieldNonNullableFields, type index_d$3_ExtendedFieldUpdatedEnvelope as ExtendedFieldUpdatedEnvelope, index_d$3_FieldDataType as FieldDataType, index_d$3_FieldType as FieldType, type index_d$3_FieldsQueryBuilder as FieldsQueryBuilder, type index_d$3_FieldsQueryResult as FieldsQueryResult, type index_d$3_FindOrCreateExtendedFieldRequest as FindOrCreateExtendedFieldRequest, type index_d$3_FindOrCreateExtendedFieldResponse as FindOrCreateExtendedFieldResponse, type index_d$3_FindOrCreateExtendedFieldResponseNonNullableFields as FindOrCreateExtendedFieldResponseNonNullableFields, type GdprListRequest$1 as GdprListRequest, type GdprListResponse$1 as GdprListResponse, type index_d$3_GetExtendedFieldByLegacyIdRequest as GetExtendedFieldByLegacyIdRequest, type index_d$3_GetExtendedFieldByLegacyIdResponse as GetExtendedFieldByLegacyIdResponse, type index_d$3_GetExtendedFieldRequest as GetExtendedFieldRequest, type index_d$3_GetExtendedFieldResponse as GetExtendedFieldResponse, type index_d$3_GetExtendedFieldResponseNonNullableFields as GetExtendedFieldResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$3_ListExtendedFieldsRequest as ListExtendedFieldsRequest, type index_d$3_ListExtendedFieldsResponse as ListExtendedFieldsResponse, type MessageEnvelope$3 as MessageEnvelope, type Paging$2 as Paging, type PagingMetadata$1 as PagingMetadata, type PurgeRequest$1 as PurgeRequest, type PurgeResponse$1 as PurgeResponse, type Query$1 as Query, type index_d$3_QueryExtendedFieldsRequest as QueryExtendedFieldsRequest, type index_d$3_QueryExtendedFieldsResponse as QueryExtendedFieldsResponse, type index_d$3_QueryExtendedFieldsResponseNonNullableFields as QueryExtendedFieldsResponseNonNullableFields, type index_d$3_RenameExtendedField as RenameExtendedField, type RestoreInfo$2 as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$3_UpdateExtendedFieldRequest as UpdateExtendedFieldRequest, type index_d$3_UpdateExtendedFieldResponse as UpdateExtendedFieldResponse, type index_d$3_UpdateExtendedFieldResponseNonNullableFields as UpdateExtendedFieldResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type index_d$3__publicOnExtendedFieldCreatedType as _publicOnExtendedFieldCreatedType, type index_d$3__publicOnExtendedFieldDeletedType as _publicOnExtendedFieldDeletedType, type index_d$3__publicOnExtendedFieldUpdatedType as _publicOnExtendedFieldUpdatedType, index_d$3_deleteExtendedField as deleteExtendedField, index_d$3_findOrCreateExtendedField as findOrCreateExtendedField, index_d$3_getExtendedField as getExtendedField, index_d$3_onExtendedFieldCreated as onExtendedFieldCreated, index_d$3_onExtendedFieldDeleted as onExtendedFieldDeleted, index_d$3_onExtendedFieldUpdated as onExtendedFieldUpdated, onExtendedFieldCreated$1 as publicOnExtendedFieldCreated, onExtendedFieldDeleted$1 as publicOnExtendedFieldDeleted, onExtendedFieldUpdated$1 as publicOnExtendedFieldUpdated, index_d$3_queryExtendedFields as queryExtendedFields, index_d$3_renameExtendedField as renameExtendedField };
3988
4001
  }
3989
4002
 
3990
4003
  /** Label that was found or created. */
@@ -4307,7 +4320,7 @@ interface DomainEventBodyOneOf$1 {
4307
4320
  interface EntityCreatedEvent$1 {
4308
4321
  entity?: string;
4309
4322
  }
4310
- interface RestoreInfo {
4323
+ interface RestoreInfo$1 {
4311
4324
  deletedDate?: Date | null;
4312
4325
  }
4313
4326
  interface EntityUpdatedEvent$1 {
@@ -4745,7 +4758,6 @@ type index_d$2_QueryLabelsResponse = QueryLabelsResponse;
4745
4758
  type index_d$2_QueryLabelsResponseNonNullableFields = QueryLabelsResponseNonNullableFields;
4746
4759
  type index_d$2_RenameLabel = RenameLabel;
4747
4760
  type index_d$2_RenameLabelOptions = RenameLabelOptions;
4748
- type index_d$2_RestoreInfo = RestoreInfo;
4749
4761
  type index_d$2_UpdateLabelRequest = UpdateLabelRequest;
4750
4762
  type index_d$2_UpdateLabelResponse = UpdateLabelResponse;
4751
4763
  type index_d$2_UpdateLabelResponseNonNullableFields = UpdateLabelResponseNonNullableFields;
@@ -4761,7 +4773,7 @@ declare const index_d$2_onLabelUpdated: typeof onLabelUpdated;
4761
4773
  declare const index_d$2_queryLabels: typeof queryLabels;
4762
4774
  declare const index_d$2_renameLabel: typeof renameLabel;
4763
4775
  declare namespace index_d$2 {
4764
- export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_ContactLabel as ContactLabel, type index_d$2_ContactLabelNamespace as ContactLabelNamespace, type index_d$2_ContactLabelNonNullableFields as ContactLabelNonNullableFields, type index_d$2_DeleteLabelRequest as DeleteLabelRequest, type index_d$2_DeleteLabelResponse as DeleteLabelResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_FindOrCreateLabelOptions as FindOrCreateLabelOptions, type index_d$2_FindOrCreateLabelRequest as FindOrCreateLabelRequest, type index_d$2_FindOrCreateLabelResponse as FindOrCreateLabelResponse, type index_d$2_FindOrCreateLabelResponseNonNullableFields as FindOrCreateLabelResponseNonNullableFields, type index_d$2_GdprListRequest as GdprListRequest, type index_d$2_GdprListResponse as GdprListResponse, type index_d$2_GetLabelByLegacyIdRequest as GetLabelByLegacyIdRequest, type index_d$2_GetLabelByLegacyIdResponse as GetLabelByLegacyIdResponse, type index_d$2_GetLabelOptions as GetLabelOptions, type index_d$2_GetLabelRequest as GetLabelRequest, type index_d$2_GetLabelResponse as GetLabelResponse, type index_d$2_GetLabelResponseNonNullableFields as GetLabelResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$2_LabelCreatedEnvelope as LabelCreatedEnvelope, type index_d$2_LabelDeletedEnvelope as LabelDeletedEnvelope, index_d$2_LabelType as LabelType, type index_d$2_LabelUpdatedEnvelope as LabelUpdatedEnvelope, type index_d$2_LabelsQueryBuilder as LabelsQueryBuilder, type index_d$2_LabelsQueryResult as LabelsQueryResult, type index_d$2_LabelsQuotaReached as LabelsQuotaReached, type index_d$2_ListLabelNamespacesRequest as ListLabelNamespacesRequest, type index_d$2_ListLabelNamespacesResponse as ListLabelNamespacesResponse, type index_d$2_ListLabelsRequest as ListLabelsRequest, type index_d$2_ListLabelsResponse as ListLabelsResponse, type MessageEnvelope$2 as MessageEnvelope, type Paging$1 as Paging, type index_d$2_PagingMetadata as PagingMetadata, type index_d$2_PurgeRequest as PurgeRequest, type index_d$2_PurgeResponse as PurgeResponse, type index_d$2_Query as Query, type index_d$2_QueryLabelsOptions as QueryLabelsOptions, type index_d$2_QueryLabelsRequest as QueryLabelsRequest, type index_d$2_QueryLabelsResponse as QueryLabelsResponse, type index_d$2_QueryLabelsResponseNonNullableFields as QueryLabelsResponseNonNullableFields, type index_d$2_RenameLabel as RenameLabel, type index_d$2_RenameLabelOptions as RenameLabelOptions, type index_d$2_RestoreInfo as RestoreInfo, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type index_d$2_UpdateLabelRequest as UpdateLabelRequest, type index_d$2_UpdateLabelResponse as UpdateLabelResponse, type index_d$2_UpdateLabelResponseNonNullableFields as UpdateLabelResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type index_d$2__publicOnLabelCreatedType as _publicOnLabelCreatedType, type index_d$2__publicOnLabelDeletedType as _publicOnLabelDeletedType, type index_d$2__publicOnLabelUpdatedType as _publicOnLabelUpdatedType, index_d$2_deleteLabel as deleteLabel, index_d$2_findOrCreateLabel as findOrCreateLabel, index_d$2_getLabel as getLabel, index_d$2_onLabelCreated as onLabelCreated, index_d$2_onLabelDeleted as onLabelDeleted, index_d$2_onLabelUpdated as onLabelUpdated, onLabelCreated$1 as publicOnLabelCreated, onLabelDeleted$1 as publicOnLabelDeleted, onLabelUpdated$1 as publicOnLabelUpdated, index_d$2_queryLabels as queryLabels, index_d$2_renameLabel as renameLabel };
4776
+ export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_ContactLabel as ContactLabel, type index_d$2_ContactLabelNamespace as ContactLabelNamespace, type index_d$2_ContactLabelNonNullableFields as ContactLabelNonNullableFields, type index_d$2_DeleteLabelRequest as DeleteLabelRequest, type index_d$2_DeleteLabelResponse as DeleteLabelResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_FindOrCreateLabelOptions as FindOrCreateLabelOptions, type index_d$2_FindOrCreateLabelRequest as FindOrCreateLabelRequest, type index_d$2_FindOrCreateLabelResponse as FindOrCreateLabelResponse, type index_d$2_FindOrCreateLabelResponseNonNullableFields as FindOrCreateLabelResponseNonNullableFields, type index_d$2_GdprListRequest as GdprListRequest, type index_d$2_GdprListResponse as GdprListResponse, type index_d$2_GetLabelByLegacyIdRequest as GetLabelByLegacyIdRequest, type index_d$2_GetLabelByLegacyIdResponse as GetLabelByLegacyIdResponse, type index_d$2_GetLabelOptions as GetLabelOptions, type index_d$2_GetLabelRequest as GetLabelRequest, type index_d$2_GetLabelResponse as GetLabelResponse, type index_d$2_GetLabelResponseNonNullableFields as GetLabelResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$2_LabelCreatedEnvelope as LabelCreatedEnvelope, type index_d$2_LabelDeletedEnvelope as LabelDeletedEnvelope, index_d$2_LabelType as LabelType, type index_d$2_LabelUpdatedEnvelope as LabelUpdatedEnvelope, type index_d$2_LabelsQueryBuilder as LabelsQueryBuilder, type index_d$2_LabelsQueryResult as LabelsQueryResult, type index_d$2_LabelsQuotaReached as LabelsQuotaReached, type index_d$2_ListLabelNamespacesRequest as ListLabelNamespacesRequest, type index_d$2_ListLabelNamespacesResponse as ListLabelNamespacesResponse, type index_d$2_ListLabelsRequest as ListLabelsRequest, type index_d$2_ListLabelsResponse as ListLabelsResponse, type MessageEnvelope$2 as MessageEnvelope, type Paging$1 as Paging, type index_d$2_PagingMetadata as PagingMetadata, type index_d$2_PurgeRequest as PurgeRequest, type index_d$2_PurgeResponse as PurgeResponse, type index_d$2_Query as Query, type index_d$2_QueryLabelsOptions as QueryLabelsOptions, type index_d$2_QueryLabelsRequest as QueryLabelsRequest, type index_d$2_QueryLabelsResponse as QueryLabelsResponse, type index_d$2_QueryLabelsResponseNonNullableFields as QueryLabelsResponseNonNullableFields, type index_d$2_RenameLabel as RenameLabel, type index_d$2_RenameLabelOptions as RenameLabelOptions, type RestoreInfo$1 as RestoreInfo, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type index_d$2_UpdateLabelRequest as UpdateLabelRequest, type index_d$2_UpdateLabelResponse as UpdateLabelResponse, type index_d$2_UpdateLabelResponseNonNullableFields as UpdateLabelResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type index_d$2__publicOnLabelCreatedType as _publicOnLabelCreatedType, type index_d$2__publicOnLabelDeletedType as _publicOnLabelDeletedType, type index_d$2__publicOnLabelUpdatedType as _publicOnLabelUpdatedType, index_d$2_deleteLabel as deleteLabel, index_d$2_findOrCreateLabel as findOrCreateLabel, index_d$2_getLabel as getLabel, index_d$2_onLabelCreated as onLabelCreated, index_d$2_onLabelDeleted as onLabelDeleted, index_d$2_onLabelUpdated as onLabelUpdated, onLabelCreated$1 as publicOnLabelCreated, onLabelDeleted$1 as publicOnLabelDeleted, onLabelUpdated$1 as publicOnLabelUpdated, index_d$2_queryLabels as queryLabels, index_d$2_renameLabel as renameLabel };
4765
4777
  }
4766
4778
 
4767
4779
  /** Dummy message for fqdn validation */
@@ -5456,8 +5468,11 @@ interface Task {
5456
5468
  }
5457
5469
  /** Possible statuses in which the task may be. */
5458
5470
  declare enum TaskStatus {
5471
+ /** Undefined task status. */
5459
5472
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
5473
+ /** Action needed. */
5460
5474
  ACTION_NEEDED = "ACTION_NEEDED",
5475
+ /** Task completed. */
5461
5476
  COMPLETED = "COMPLETED"
5462
5477
  }
5463
5478
  interface TaskSource {
@@ -5479,8 +5494,11 @@ interface TaskSource {
5479
5494
  }
5480
5495
  /** Possible sources that can create tasks. */
5481
5496
  declare enum SourceType {
5497
+ /** Undefined source type. */
5482
5498
  UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
5499
+ /** Task was created by an app. */
5483
5500
  APP = "APP",
5501
+ /** Task was created by a user. */
5484
5502
  USER = "USER"
5485
5503
  }
5486
5504
  interface ContactInfo {
@@ -5512,27 +5530,6 @@ interface ContactInfo {
5512
5530
  */
5513
5531
  phone?: string | null;
5514
5532
  }
5515
- interface DeleteCompletedTasksRequest {
5516
- /** Optional list of tasks ids of the tasks to delete. If the list is not provided the filter is used. */
5517
- taskIds?: string[];
5518
- /** An optional filter of tasks to count. See 'queryTasks' for supported filter options. */
5519
- filter?: Record<string, any> | null;
5520
- }
5521
- interface DeleteCompletedTasksResponse {
5522
- }
5523
- interface SendTasksReminderRequest {
5524
- /** Ids of the tasks to remind */
5525
- taskIds?: string[];
5526
- /** The reminder type */
5527
- reminderType?: ReminderType;
5528
- }
5529
- declare enum ReminderType {
5530
- UNKNOWN_REMINDER_TYPE = "UNKNOWN_REMINDER_TYPE",
5531
- FIRST_REMINDER = "FIRST_REMINDER",
5532
- LAST_REMINDER = "LAST_REMINDER"
5533
- }
5534
- interface SendTasksReminderResponse {
5535
- }
5536
5533
  interface RepositionTask {
5537
5534
  /** The id of the last task that was re-positioned */
5538
5535
  taskId?: string | null;
@@ -5616,7 +5613,9 @@ interface Sorting {
5616
5613
  order?: SortOrder;
5617
5614
  }
5618
5615
  declare enum SortOrder {
5616
+ /** Sort by ascending order. */
5619
5617
  ASC = "ASC",
5618
+ /** Sort by descending order. */
5620
5619
  DESC = "DESC"
5621
5620
  }
5622
5621
  interface CursorPaging {
@@ -5772,7 +5771,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
5772
5771
  slug?: string;
5773
5772
  /** ID of the entity associated with the event. */
5774
5773
  entityId?: string;
5775
- /** Event timestamp. */
5774
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
5776
5775
  eventTime?: Date | null;
5777
5776
  /**
5778
5777
  * Whether the event was triggered as a result of a privacy regulation application
@@ -5801,6 +5800,9 @@ interface DomainEventBodyOneOf {
5801
5800
  interface EntityCreatedEvent {
5802
5801
  entity?: string;
5803
5802
  }
5803
+ interface RestoreInfo {
5804
+ deletedDate?: Date | null;
5805
+ }
5804
5806
  interface EntityUpdatedEvent {
5805
5807
  /**
5806
5808
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -5856,6 +5858,27 @@ declare enum WebhookIdentityType {
5856
5858
  WIX_USER = "WIX_USER",
5857
5859
  APP = "APP"
5858
5860
  }
5861
+ interface DeleteCompletedTasksRequest {
5862
+ /** Optional list of tasks ids of the tasks to delete. If the list is not provided the filter is used. */
5863
+ taskIds?: string[];
5864
+ /** An optional filter of tasks to count. See 'queryTasks' for supported filter options. */
5865
+ filter?: Record<string, any> | null;
5866
+ }
5867
+ interface DeleteCompletedTasksResponse {
5868
+ }
5869
+ interface SendTasksReminderRequest {
5870
+ /** Ids of the tasks to remind */
5871
+ taskIds?: string[];
5872
+ /** The reminder type */
5873
+ reminderType?: ReminderType;
5874
+ }
5875
+ declare enum ReminderType {
5876
+ UNKNOWN_REMINDER_TYPE = "UNKNOWN_REMINDER_TYPE",
5877
+ FIRST_REMINDER = "FIRST_REMINDER",
5878
+ LAST_REMINDER = "LAST_REMINDER"
5879
+ }
5880
+ interface SendTasksReminderResponse {
5881
+ }
5859
5882
  interface TaskSourceNonNullableFields {
5860
5883
  sourceType: SourceType;
5861
5884
  }
@@ -5905,7 +5928,7 @@ interface EventMetadata extends BaseEventMetadata {
5905
5928
  slug?: string;
5906
5929
  /** ID of the entity associated with the event. */
5907
5930
  entityId?: string;
5908
- /** Event timestamp. */
5931
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
5909
5932
  eventTime?: Date | null;
5910
5933
  /**
5911
5934
  * Whether the event was triggered as a result of a privacy regulation application
@@ -5924,19 +5947,19 @@ interface EventMetadata extends BaseEventMetadata {
5924
5947
  */
5925
5948
  entityEventSequence?: string | null;
5926
5949
  }
5927
- interface TaskOverdueEnvelope {
5928
- data: TaskOverdue;
5929
- metadata: EventMetadata;
5930
- }
5931
5950
  interface TaskCreatedEnvelope {
5932
5951
  entity: Task;
5933
5952
  metadata: EventMetadata;
5934
5953
  }
5935
- interface TaskUpdatedEnvelope {
5936
- entity: Task;
5954
+ interface TaskDeletedEnvelope {
5937
5955
  metadata: EventMetadata;
5938
5956
  }
5939
- interface TaskDeletedEnvelope {
5957
+ interface TaskOverdueEnvelope {
5958
+ data: TaskOverdue;
5959
+ metadata: EventMetadata;
5960
+ }
5961
+ interface TaskUpdatedEnvelope {
5962
+ entity: Task;
5940
5963
  metadata: EventMetadata;
5941
5964
  }
5942
5965
  interface UpdateTask {
@@ -6143,10 +6166,10 @@ interface MoveTaskAfterSignature {
6143
6166
  */
6144
6167
  (taskId: string, options?: MoveTaskAfterOptions | undefined): Promise<void>;
6145
6168
  }
6146
- declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
6147
6169
  declare const onTaskCreated$1: EventDefinition<TaskCreatedEnvelope, "wix.crm.tasks.v2.task_created">;
6148
- declare const onTaskUpdated$1: EventDefinition<TaskUpdatedEnvelope, "wix.crm.tasks.v2.task_updated">;
6149
6170
  declare const onTaskDeleted$1: EventDefinition<TaskDeletedEnvelope, "wix.crm.tasks.v2.task_deleted">;
6171
+ declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
6172
+ declare const onTaskUpdated$1: EventDefinition<TaskUpdatedEnvelope, "wix.crm.tasks.v2.task_updated">;
6150
6173
 
6151
6174
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
6152
6175
 
@@ -6158,30 +6181,30 @@ declare const queryTasks: MaybeContext<BuildRESTFunction<typeof queryTasks$1> &
6158
6181
  declare const countTasks: MaybeContext<BuildRESTFunction<typeof countTasks$1> & typeof countTasks$1>;
6159
6182
  declare const moveTaskAfter: MaybeContext<BuildRESTFunction<typeof moveTaskAfter$1> & typeof moveTaskAfter$1>;
6160
6183
 
6161
- type _publicOnTaskOverdueType = typeof onTaskOverdue$1;
6162
- /**
6163
- * Triggered when a task reaches its due date.
6164
- */
6165
- declare const onTaskOverdue: ReturnType<typeof createEventModule<_publicOnTaskOverdueType>>;
6166
-
6167
6184
  type _publicOnTaskCreatedType = typeof onTaskCreated$1;
6168
6185
  /**
6169
6186
  * Triggered when a task is created.
6170
6187
  */
6171
6188
  declare const onTaskCreated: ReturnType<typeof createEventModule<_publicOnTaskCreatedType>>;
6172
6189
 
6173
- type _publicOnTaskUpdatedType = typeof onTaskUpdated$1;
6174
- /**
6175
- * Triggered when a task is updated.
6176
- */
6177
- declare const onTaskUpdated: ReturnType<typeof createEventModule<_publicOnTaskUpdatedType>>;
6178
-
6179
6190
  type _publicOnTaskDeletedType = typeof onTaskDeleted$1;
6180
6191
  /**
6181
6192
  * Triggered when a task is deleted.
6182
6193
  */
6183
6194
  declare const onTaskDeleted: ReturnType<typeof createEventModule<_publicOnTaskDeletedType>>;
6184
6195
 
6196
+ type _publicOnTaskOverdueType = typeof onTaskOverdue$1;
6197
+ /**
6198
+ * Triggered when a task reaches its due date.
6199
+ */
6200
+ declare const onTaskOverdue: ReturnType<typeof createEventModule<_publicOnTaskOverdueType>>;
6201
+
6202
+ type _publicOnTaskUpdatedType = typeof onTaskUpdated$1;
6203
+ /**
6204
+ * Triggered when a task is updated.
6205
+ */
6206
+ declare const onTaskUpdated: ReturnType<typeof createEventModule<_publicOnTaskUpdatedType>>;
6207
+
6185
6208
  type index_d_ActionEvent = ActionEvent;
6186
6209
  type index_d_BaseEventMetadata = BaseEventMetadata;
6187
6210
  type index_d_ContactInfo = ContactInfo;
@@ -6230,6 +6253,7 @@ type index_d_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
6230
6253
  type index_d_ReminderType = ReminderType;
6231
6254
  declare const index_d_ReminderType: typeof ReminderType;
6232
6255
  type index_d_RepositionTask = RepositionTask;
6256
+ type index_d_RestoreInfo = RestoreInfo;
6233
6257
  type index_d_SendTasksReminderRequest = SendTasksReminderRequest;
6234
6258
  type index_d_SendTasksReminderResponse = SendTasksReminderResponse;
6235
6259
  type index_d_SortOrder = SortOrder;
@@ -6273,7 +6297,7 @@ declare const index_d_onTaskUpdated: typeof onTaskUpdated;
6273
6297
  declare const index_d_queryTasks: typeof queryTasks;
6274
6298
  declare const index_d_updateTask: typeof updateTask;
6275
6299
  declare namespace index_d {
6276
- export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_ContactInfo as ContactInfo, type index_d_ContactNotFoundError as ContactNotFoundError, type index_d_CountTasksOptions as CountTasksOptions, type index_d_CountTasksRequest as CountTasksRequest, type index_d_CountTasksResponse as CountTasksResponse, type index_d_CountTasksResponseNonNullableFields as CountTasksResponseNonNullableFields, type index_d_CreateTaskRequest as CreateTaskRequest, type index_d_CreateTaskResponse as CreateTaskResponse, type index_d_CreateTaskResponseNonNullableFields as CreateTaskResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DeleteCompletedTasksRequest as DeleteCompletedTasksRequest, type index_d_DeleteCompletedTasksResponse as DeleteCompletedTasksResponse, type index_d_DeleteTaskRequest as DeleteTaskRequest, type index_d_DeleteTaskResponse as DeleteTaskResponse, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_GetTaskRequest as GetTaskRequest, type index_d_GetTaskResponse as GetTaskResponse, type index_d_GetTaskResponseNonNullableFields as GetTaskResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MoveTaskAfterOptions as MoveTaskAfterOptions, type index_d_MoveTaskAfterRequest as MoveTaskAfterRequest, type index_d_MoveTaskAfterResponse as MoveTaskAfterResponse, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_QueryTasksInternalRequest as QueryTasksInternalRequest, type index_d_QueryTasksInternalResponse as QueryTasksInternalResponse, type index_d_QueryTasksRequest as QueryTasksRequest, type index_d_QueryTasksResponse as QueryTasksResponse, type index_d_QueryTasksResponseNonNullableFields as QueryTasksResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, index_d_ReminderType as ReminderType, type index_d_RepositionTask as RepositionTask, type index_d_SendTasksReminderRequest as SendTasksReminderRequest, type index_d_SendTasksReminderResponse as SendTasksReminderResponse, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_SourceType as SourceType, type index_d_Task as Task, type index_d_TaskAssigned as TaskAssigned, type index_d_TaskCreatedEnvelope as TaskCreatedEnvelope, type index_d_TaskDeletedEnvelope as TaskDeletedEnvelope, type index_d_TaskNonNullableFields as TaskNonNullableFields, type index_d_TaskNotFoundError as TaskNotFoundError, type index_d_TaskOverdue as TaskOverdue, type index_d_TaskOverdueEnvelope as TaskOverdueEnvelope, type index_d_TaskSource as TaskSource, index_d_TaskStatus as TaskStatus, type index_d_TaskUpdatedEnvelope as TaskUpdatedEnvelope, type index_d_TasksQueryBuilder as TasksQueryBuilder, type index_d_TasksQueryResult as TasksQueryResult, type index_d_UpdateTask as UpdateTask, type index_d_UpdateTaskRequest as UpdateTaskRequest, type index_d_UpdateTaskResponse as UpdateTaskResponse, type index_d_UpdateTaskResponseNonNullableFields as UpdateTaskResponseNonNullableFields, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicOnTaskCreatedType as _publicOnTaskCreatedType, type index_d__publicOnTaskDeletedType as _publicOnTaskDeletedType, type index_d__publicOnTaskOverdueType as _publicOnTaskOverdueType, type index_d__publicOnTaskUpdatedType as _publicOnTaskUpdatedType, index_d_countTasks as countTasks, index_d_createTask as createTask, index_d_deleteTask as deleteTask, index_d_getTask as getTask, index_d_moveTaskAfter as moveTaskAfter, index_d_onTaskCreated as onTaskCreated, index_d_onTaskDeleted as onTaskDeleted, index_d_onTaskOverdue as onTaskOverdue, index_d_onTaskUpdated as onTaskUpdated, onTaskCreated$1 as publicOnTaskCreated, onTaskDeleted$1 as publicOnTaskDeleted, onTaskOverdue$1 as publicOnTaskOverdue, onTaskUpdated$1 as publicOnTaskUpdated, index_d_queryTasks as queryTasks, index_d_updateTask as updateTask };
6300
+ export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_ContactInfo as ContactInfo, type index_d_ContactNotFoundError as ContactNotFoundError, type index_d_CountTasksOptions as CountTasksOptions, type index_d_CountTasksRequest as CountTasksRequest, type index_d_CountTasksResponse as CountTasksResponse, type index_d_CountTasksResponseNonNullableFields as CountTasksResponseNonNullableFields, type index_d_CreateTaskRequest as CreateTaskRequest, type index_d_CreateTaskResponse as CreateTaskResponse, type index_d_CreateTaskResponseNonNullableFields as CreateTaskResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DeleteCompletedTasksRequest as DeleteCompletedTasksRequest, type index_d_DeleteCompletedTasksResponse as DeleteCompletedTasksResponse, type index_d_DeleteTaskRequest as DeleteTaskRequest, type index_d_DeleteTaskResponse as DeleteTaskResponse, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_GetTaskRequest as GetTaskRequest, type index_d_GetTaskResponse as GetTaskResponse, type index_d_GetTaskResponseNonNullableFields as GetTaskResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MoveTaskAfterOptions as MoveTaskAfterOptions, type index_d_MoveTaskAfterRequest as MoveTaskAfterRequest, type index_d_MoveTaskAfterResponse as MoveTaskAfterResponse, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_QueryTasksInternalRequest as QueryTasksInternalRequest, type index_d_QueryTasksInternalResponse as QueryTasksInternalResponse, type index_d_QueryTasksRequest as QueryTasksRequest, type index_d_QueryTasksResponse as QueryTasksResponse, type index_d_QueryTasksResponseNonNullableFields as QueryTasksResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, index_d_ReminderType as ReminderType, type index_d_RepositionTask as RepositionTask, type index_d_RestoreInfo as RestoreInfo, type index_d_SendTasksReminderRequest as SendTasksReminderRequest, type index_d_SendTasksReminderResponse as SendTasksReminderResponse, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_SourceType as SourceType, type index_d_Task as Task, type index_d_TaskAssigned as TaskAssigned, type index_d_TaskCreatedEnvelope as TaskCreatedEnvelope, type index_d_TaskDeletedEnvelope as TaskDeletedEnvelope, type index_d_TaskNonNullableFields as TaskNonNullableFields, type index_d_TaskNotFoundError as TaskNotFoundError, type index_d_TaskOverdue as TaskOverdue, type index_d_TaskOverdueEnvelope as TaskOverdueEnvelope, type index_d_TaskSource as TaskSource, index_d_TaskStatus as TaskStatus, type index_d_TaskUpdatedEnvelope as TaskUpdatedEnvelope, type index_d_TasksQueryBuilder as TasksQueryBuilder, type index_d_TasksQueryResult as TasksQueryResult, type index_d_UpdateTask as UpdateTask, type index_d_UpdateTaskRequest as UpdateTaskRequest, type index_d_UpdateTaskResponse as UpdateTaskResponse, type index_d_UpdateTaskResponseNonNullableFields as UpdateTaskResponseNonNullableFields, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicOnTaskCreatedType as _publicOnTaskCreatedType, type index_d__publicOnTaskDeletedType as _publicOnTaskDeletedType, type index_d__publicOnTaskOverdueType as _publicOnTaskOverdueType, type index_d__publicOnTaskUpdatedType as _publicOnTaskUpdatedType, index_d_countTasks as countTasks, index_d_createTask as createTask, index_d_deleteTask as deleteTask, index_d_getTask as getTask, index_d_moveTaskAfter as moveTaskAfter, index_d_onTaskCreated as onTaskCreated, index_d_onTaskDeleted as onTaskDeleted, index_d_onTaskOverdue as onTaskOverdue, index_d_onTaskUpdated as onTaskUpdated, onTaskCreated$1 as publicOnTaskCreated, onTaskDeleted$1 as publicOnTaskDeleted, onTaskOverdue$1 as publicOnTaskOverdue, onTaskUpdated$1 as publicOnTaskUpdated, index_d_queryTasks as queryTasks, index_d_updateTask as updateTask };
6277
6301
  }
6278
6302
 
6279
6303
  export { index_d$5 as attachments, index_d$4 as contacts, index_d$3 as extendedFields, index_d$2 as labels, index_d$1 as submittedContact, index_d as tasks };