@wix/crm 1.0.141 → 1.0.142

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.141",
3
+ "version": "1.0.142",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -23,10 +23,10 @@
23
23
  "dependencies": {
24
24
  "@wix/crm_attachments": "1.0.17",
25
25
  "@wix/crm_contacts": "1.0.52",
26
- "@wix/crm_extended-fields": "1.0.47",
26
+ "@wix/crm_extended-fields": "1.0.48",
27
27
  "@wix/crm_labels": "1.0.47",
28
28
  "@wix/crm_submitted-contact": "1.0.39",
29
- "@wix/crm_tasks": "1.0.45"
29
+ "@wix/crm_tasks": "1.0.46"
30
30
  },
31
31
  "devDependencies": {
32
32
  "glob": "^10.4.1",
@@ -51,5 +51,5 @@
51
51
  "fqdn": ""
52
52
  }
53
53
  },
54
- "falconPackageHash": "5f043c60ffba832b8af57fda0b1e266ab4e4f3ebbe4d44baf6c46b8d"
54
+ "falconPackageHash": "07cee18d8218564f155cadd39f73bfd3bc3558fbbf9ec5af04dfd3be"
55
55
  }
@@ -2491,7 +2491,7 @@ interface DomainEventBodyOneOf$3 {
2491
2491
  interface EntityCreatedEvent$3 {
2492
2492
  entity?: string;
2493
2493
  }
2494
- interface RestoreInfo$2 {
2494
+ interface RestoreInfo$3 {
2495
2495
  deletedDate?: Date | null;
2496
2496
  }
2497
2497
  interface EntityUpdatedEvent$3 {
@@ -3237,7 +3237,7 @@ declare const context$4_queryContacts: typeof queryContacts;
3237
3237
  declare const context$4_unlabelContact: typeof unlabelContact;
3238
3238
  declare const context$4_updateContact: typeof updateContact;
3239
3239
  declare namespace context$4 {
3240
- export { context$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 context$4_ApplicationError as ApplicationError, type AssigneesWrapper$1 as AssigneesWrapper, type BaseEventMetadata$3 as BaseEventMetadata, type context$4_BulkActionMetadata as BulkActionMetadata, type context$4_BulkAddSegmentToContactsRequest as BulkAddSegmentToContactsRequest, type context$4_BulkAddSegmentToContactsResponse as BulkAddSegmentToContactsResponse, type context$4_BulkDeleteContactsRequest as BulkDeleteContactsRequest, type context$4_BulkDeleteContactsResponse as BulkDeleteContactsResponse, type context$4_BulkLabelAndUnlabelContactsRequest as BulkLabelAndUnlabelContactsRequest, type context$4_BulkLabelAndUnlabelContactsResponse as BulkLabelAndUnlabelContactsResponse, type context$4_BulkRemoveSegmentFromContactsRequest as BulkRemoveSegmentFromContactsRequest, type context$4_BulkRemoveSegmentFromContactsResponse as BulkRemoveSegmentFromContactsResponse, type context$4_BulkUpdateContactsRequest as BulkUpdateContactsRequest, type context$4_BulkUpdateContactsResponse as BulkUpdateContactsResponse, type context$4_BulkUpsertContactsRequest as BulkUpsertContactsRequest, type context$4_BulkUpsertContactsResponse as BulkUpsertContactsResponse, type context$4_BulkUpsertContactsResponseMetadata as BulkUpsertContactsResponseMetadata, type context$4_Contact as Contact, type ContactActivity$1 as ContactActivity, ContactActivityType$1 as ContactActivityType, type context$4_ContactAddedToSegment as ContactAddedToSegment, type ContactAddress$1 as ContactAddress, type ContactAddressesWrapper$1 as ContactAddressesWrapper, type context$4_ContactChanged as ContactChanged, type context$4_ContactCreatedEnvelope as ContactCreatedEnvelope, type context$4_ContactDeletedEnvelope as ContactDeletedEnvelope, type ContactEmail$1 as ContactEmail, type context$4_ContactEmailSubscriptionUpdated as ContactEmailSubscriptionUpdated, type ContactEmailsWrapper$1 as ContactEmailsWrapper, context$4_ContactFieldSet as ContactFieldSet, type ContactInfo$2 as ContactInfo, type context$4_ContactMerged as ContactMerged, type context$4_ContactMergedEnvelope as ContactMergedEnvelope, type ContactName$1 as ContactName, type context$4_ContactNonNullableFields as ContactNonNullableFields, type ContactPhone$1 as ContactPhone, type context$4_ContactPhoneSubscriptionUpdated as ContactPhoneSubscriptionUpdated, type ContactPhonesWrapper$1 as ContactPhonesWrapper, type ContactPicture$1 as ContactPicture, type context$4_ContactPrimaryInfoUpdated as ContactPrimaryInfoUpdated, type context$4_ContactRemovedFromSegment as ContactRemovedFromSegment, type context$4_ContactSource as ContactSource, ContactSourceType$1 as ContactSourceType, type context$4_ContactSubmitted as ContactSubmitted, type context$4_ContactUpdatedEnvelope as ContactUpdatedEnvelope, type context$4_ContactsFacet as ContactsFacet, context$4_ContactsFacetType as ContactsFacetType, type context$4_ContactsQueryBuilder as ContactsQueryBuilder, type context$4_ContactsQueryResult as ContactsQueryResult, type context$4_CountContactsRequest as CountContactsRequest, type context$4_CountContactsResponse as CountContactsResponse, type context$4_CreateContactOptions as CreateContactOptions, type context$4_CreateContactRequest as CreateContactRequest, type context$4_CreateContactResponse as CreateContactResponse, type context$4_CreateContactResponseNonNullableFields as CreateContactResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type Cursors$1 as Cursors, type context$4_DeleteContactRequest as DeleteContactRequest, type context$4_DeleteContactResponse as DeleteContactResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type context$4_DuplicateContactExists as DuplicateContactExists, context$4_EmailDeliverabilityStatus as EmailDeliverabilityStatus, EmailTag$1 as EmailTag, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type context$4_Error as Error, type EventMetadata$3 as EventMetadata, type ExtendedFieldsWrapper$1 as ExtendedFieldsWrapper, type context$4_GeneratePictureUploadUrlRequest as GeneratePictureUploadUrlRequest, type context$4_GeneratePictureUploadUrlResponse as GeneratePictureUploadUrlResponse, type context$4_GetContactOptions as GetContactOptions, type context$4_GetContactRequest as GetContactRequest, type context$4_GetContactResponse as GetContactResponse, type context$4_GetContactResponseNonNullableFields as GetContactResponseNonNullableFields, context$4_GetContactResponseType as GetContactResponseType, type context$4_GroupInfo as GroupInfo, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, ImageProvider$1 as ImageProvider, type context$4_Item as Item, type context$4_ItemMetadata as ItemMetadata, type context$4_LabelAndUnlabelContactRequest as LabelAndUnlabelContactRequest, type context$4_LabelAndUnlabelContactResponse as LabelAndUnlabelContactResponse, type context$4_LabelContactRequest as LabelContactRequest, type context$4_LabelContactResponse as LabelContactResponse, type context$4_LabelContactResponseNonNullableFields as LabelContactResponseNonNullableFields, type LabelsWrapper$1 as LabelsWrapper, type context$4_LastActivityUpdate as LastActivityUpdate, type context$4_ListContactIdsBySegmentRequest as ListContactIdsBySegmentRequest, type context$4_ListContactIdsBySegmentResponse as ListContactIdsBySegmentResponse, type context$4_ListContactsRequest as ListContactsRequest, type context$4_ListContactsResponse as ListContactsResponse, type context$4_ListFacetsRequest as ListFacetsRequest, type context$4_ListFacetsResponse as ListFacetsResponse, type LocationsWrapper$1 as LocationsWrapper, type context$4_MemberInfo as MemberInfo, context$4_MemberStatus as MemberStatus, type context$4_MergeContactsOptions as MergeContactsOptions, type context$4_MergeContactsRequest as MergeContactsRequest, type context$4_MergeContactsResponse as MergeContactsResponse, type context$4_MergeContactsResponseNonNullableFields as MergeContactsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type context$4_Metadata as Metadata, context$4_Mode as Mode, type Paging$3 as Paging, type PagingMetadata$2 as PagingMetadata, context$4_PhoneDeliverabilityStatus as PhoneDeliverabilityStatus, PhoneTag$1 as PhoneTag, type context$4_PreviewMergeContactsRequest as PreviewMergeContactsRequest, type context$4_PreviewMergeContactsResponse as PreviewMergeContactsResponse, type context$4_PrimaryContactInfo as PrimaryContactInfo, type context$4_PrimaryEmail as PrimaryEmail, type context$4_PrimaryPhone as PrimaryPhone, type context$4_PrimarySubscriptionStatus as PrimarySubscriptionStatus, context$4_PrivacyStatus as PrivacyStatus, type context$4_ProfileInfo as ProfileInfo, type Query$2 as Query, type context$4_QueryContactsOptions as QueryContactsOptions, type context$4_QueryContactsRequest as QueryContactsRequest, type context$4_QueryContactsResponse as QueryContactsResponse, type context$4_QueryContactsResponseNonNullableFields as QueryContactsResponseNonNullableFields, type context$4_QueryFacetsRequest as QueryFacetsRequest, type context$4_QueryFacetsResponse as QueryFacetsResponse, type RestoreInfo$2 as RestoreInfo, context$4_Role as Role, type context$4_Search as Search, type context$4_SearchContactsRequest as SearchContactsRequest, type context$4_SearchContactsResponse as SearchContactsResponse, type context$4_SearchDetails as SearchDetails, type context$4_SearchPagingMethodOneOf as SearchPagingMethodOneOf, type context$4_SegmentsWrapper as SegmentsWrapper, type context$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, context$4_SubscriptionStatus as SubscriptionStatus, type context$4_SyncSubmitContactRequest as SyncSubmitContactRequest, type context$4_SyncSubmitContactResponse as SyncSubmitContactResponse, type context$4_UnlabelContactRequest as UnlabelContactRequest, type context$4_UnlabelContactResponse as UnlabelContactResponse, type context$4_UnlabelContactResponseNonNullableFields as UnlabelContactResponseNonNullableFields, type context$4_UpdateContactOptions as UpdateContactOptions, type context$4_UpdateContactRequest as UpdateContactRequest, type context$4_UpdateContactResponse as UpdateContactResponse, type context$4_UpdateContactResponseNonNullableFields as UpdateContactResponseNonNullableFields, type context$4_UpsertContactRequest as UpsertContactRequest, type context$4_UpsertContactResponse as UpsertContactResponse, context$4_UpsertContactResponseAction as UpsertContactResponseAction, type context$4_UserInfo as UserInfo, WebhookIdentityType$4 as WebhookIdentityType, type context$4__publicOnContactCreatedType as _publicOnContactCreatedType, type context$4__publicOnContactDeletedType as _publicOnContactDeletedType, type context$4__publicOnContactMergedType as _publicOnContactMergedType, type context$4__publicOnContactUpdatedType as _publicOnContactUpdatedType, context$4_createContact as createContact, context$4_deleteContact as deleteContact, context$4_getContact as getContact, context$4_labelContact as labelContact, context$4_mergeContacts as mergeContacts, context$4_onContactCreated as onContactCreated, context$4_onContactDeleted as onContactDeleted, context$4_onContactMerged as onContactMerged, context$4_onContactUpdated as onContactUpdated, onContactCreated$1 as publicOnContactCreated, onContactDeleted$1 as publicOnContactDeleted, onContactMerged$1 as publicOnContactMerged, onContactUpdated$1 as publicOnContactUpdated, context$4_queryContacts as queryContacts, context$4_unlabelContact as unlabelContact, context$4_updateContact as updateContact };
3240
+ export { context$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 context$4_ApplicationError as ApplicationError, type AssigneesWrapper$1 as AssigneesWrapper, type BaseEventMetadata$3 as BaseEventMetadata, type context$4_BulkActionMetadata as BulkActionMetadata, type context$4_BulkAddSegmentToContactsRequest as BulkAddSegmentToContactsRequest, type context$4_BulkAddSegmentToContactsResponse as BulkAddSegmentToContactsResponse, type context$4_BulkDeleteContactsRequest as BulkDeleteContactsRequest, type context$4_BulkDeleteContactsResponse as BulkDeleteContactsResponse, type context$4_BulkLabelAndUnlabelContactsRequest as BulkLabelAndUnlabelContactsRequest, type context$4_BulkLabelAndUnlabelContactsResponse as BulkLabelAndUnlabelContactsResponse, type context$4_BulkRemoveSegmentFromContactsRequest as BulkRemoveSegmentFromContactsRequest, type context$4_BulkRemoveSegmentFromContactsResponse as BulkRemoveSegmentFromContactsResponse, type context$4_BulkUpdateContactsRequest as BulkUpdateContactsRequest, type context$4_BulkUpdateContactsResponse as BulkUpdateContactsResponse, type context$4_BulkUpsertContactsRequest as BulkUpsertContactsRequest, type context$4_BulkUpsertContactsResponse as BulkUpsertContactsResponse, type context$4_BulkUpsertContactsResponseMetadata as BulkUpsertContactsResponseMetadata, type context$4_Contact as Contact, type ContactActivity$1 as ContactActivity, ContactActivityType$1 as ContactActivityType, type context$4_ContactAddedToSegment as ContactAddedToSegment, type ContactAddress$1 as ContactAddress, type ContactAddressesWrapper$1 as ContactAddressesWrapper, type context$4_ContactChanged as ContactChanged, type context$4_ContactCreatedEnvelope as ContactCreatedEnvelope, type context$4_ContactDeletedEnvelope as ContactDeletedEnvelope, type ContactEmail$1 as ContactEmail, type context$4_ContactEmailSubscriptionUpdated as ContactEmailSubscriptionUpdated, type ContactEmailsWrapper$1 as ContactEmailsWrapper, context$4_ContactFieldSet as ContactFieldSet, type ContactInfo$2 as ContactInfo, type context$4_ContactMerged as ContactMerged, type context$4_ContactMergedEnvelope as ContactMergedEnvelope, type ContactName$1 as ContactName, type context$4_ContactNonNullableFields as ContactNonNullableFields, type ContactPhone$1 as ContactPhone, type context$4_ContactPhoneSubscriptionUpdated as ContactPhoneSubscriptionUpdated, type ContactPhonesWrapper$1 as ContactPhonesWrapper, type ContactPicture$1 as ContactPicture, type context$4_ContactPrimaryInfoUpdated as ContactPrimaryInfoUpdated, type context$4_ContactRemovedFromSegment as ContactRemovedFromSegment, type context$4_ContactSource as ContactSource, ContactSourceType$1 as ContactSourceType, type context$4_ContactSubmitted as ContactSubmitted, type context$4_ContactUpdatedEnvelope as ContactUpdatedEnvelope, type context$4_ContactsFacet as ContactsFacet, context$4_ContactsFacetType as ContactsFacetType, type context$4_ContactsQueryBuilder as ContactsQueryBuilder, type context$4_ContactsQueryResult as ContactsQueryResult, type context$4_CountContactsRequest as CountContactsRequest, type context$4_CountContactsResponse as CountContactsResponse, type context$4_CreateContactOptions as CreateContactOptions, type context$4_CreateContactRequest as CreateContactRequest, type context$4_CreateContactResponse as CreateContactResponse, type context$4_CreateContactResponseNonNullableFields as CreateContactResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type Cursors$1 as Cursors, type context$4_DeleteContactRequest as DeleteContactRequest, type context$4_DeleteContactResponse as DeleteContactResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type context$4_DuplicateContactExists as DuplicateContactExists, context$4_EmailDeliverabilityStatus as EmailDeliverabilityStatus, EmailTag$1 as EmailTag, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type context$4_Error as Error, type EventMetadata$3 as EventMetadata, type ExtendedFieldsWrapper$1 as ExtendedFieldsWrapper, type context$4_GeneratePictureUploadUrlRequest as GeneratePictureUploadUrlRequest, type context$4_GeneratePictureUploadUrlResponse as GeneratePictureUploadUrlResponse, type context$4_GetContactOptions as GetContactOptions, type context$4_GetContactRequest as GetContactRequest, type context$4_GetContactResponse as GetContactResponse, type context$4_GetContactResponseNonNullableFields as GetContactResponseNonNullableFields, context$4_GetContactResponseType as GetContactResponseType, type context$4_GroupInfo as GroupInfo, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, ImageProvider$1 as ImageProvider, type context$4_Item as Item, type context$4_ItemMetadata as ItemMetadata, type context$4_LabelAndUnlabelContactRequest as LabelAndUnlabelContactRequest, type context$4_LabelAndUnlabelContactResponse as LabelAndUnlabelContactResponse, type context$4_LabelContactRequest as LabelContactRequest, type context$4_LabelContactResponse as LabelContactResponse, type context$4_LabelContactResponseNonNullableFields as LabelContactResponseNonNullableFields, type LabelsWrapper$1 as LabelsWrapper, type context$4_LastActivityUpdate as LastActivityUpdate, type context$4_ListContactIdsBySegmentRequest as ListContactIdsBySegmentRequest, type context$4_ListContactIdsBySegmentResponse as ListContactIdsBySegmentResponse, type context$4_ListContactsRequest as ListContactsRequest, type context$4_ListContactsResponse as ListContactsResponse, type context$4_ListFacetsRequest as ListFacetsRequest, type context$4_ListFacetsResponse as ListFacetsResponse, type LocationsWrapper$1 as LocationsWrapper, type context$4_MemberInfo as MemberInfo, context$4_MemberStatus as MemberStatus, type context$4_MergeContactsOptions as MergeContactsOptions, type context$4_MergeContactsRequest as MergeContactsRequest, type context$4_MergeContactsResponse as MergeContactsResponse, type context$4_MergeContactsResponseNonNullableFields as MergeContactsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type context$4_Metadata as Metadata, context$4_Mode as Mode, type Paging$3 as Paging, type PagingMetadata$2 as PagingMetadata, context$4_PhoneDeliverabilityStatus as PhoneDeliverabilityStatus, PhoneTag$1 as PhoneTag, type context$4_PreviewMergeContactsRequest as PreviewMergeContactsRequest, type context$4_PreviewMergeContactsResponse as PreviewMergeContactsResponse, type context$4_PrimaryContactInfo as PrimaryContactInfo, type context$4_PrimaryEmail as PrimaryEmail, type context$4_PrimaryPhone as PrimaryPhone, type context$4_PrimarySubscriptionStatus as PrimarySubscriptionStatus, context$4_PrivacyStatus as PrivacyStatus, type context$4_ProfileInfo as ProfileInfo, type Query$2 as Query, type context$4_QueryContactsOptions as QueryContactsOptions, type context$4_QueryContactsRequest as QueryContactsRequest, type context$4_QueryContactsResponse as QueryContactsResponse, type context$4_QueryContactsResponseNonNullableFields as QueryContactsResponseNonNullableFields, type context$4_QueryFacetsRequest as QueryFacetsRequest, type context$4_QueryFacetsResponse as QueryFacetsResponse, type RestoreInfo$3 as RestoreInfo, context$4_Role as Role, type context$4_Search as Search, type context$4_SearchContactsRequest as SearchContactsRequest, type context$4_SearchContactsResponse as SearchContactsResponse, type context$4_SearchDetails as SearchDetails, type context$4_SearchPagingMethodOneOf as SearchPagingMethodOneOf, type context$4_SegmentsWrapper as SegmentsWrapper, type context$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, context$4_SubscriptionStatus as SubscriptionStatus, type context$4_SyncSubmitContactRequest as SyncSubmitContactRequest, type context$4_SyncSubmitContactResponse as SyncSubmitContactResponse, type context$4_UnlabelContactRequest as UnlabelContactRequest, type context$4_UnlabelContactResponse as UnlabelContactResponse, type context$4_UnlabelContactResponseNonNullableFields as UnlabelContactResponseNonNullableFields, type context$4_UpdateContactOptions as UpdateContactOptions, type context$4_UpdateContactRequest as UpdateContactRequest, type context$4_UpdateContactResponse as UpdateContactResponse, type context$4_UpdateContactResponseNonNullableFields as UpdateContactResponseNonNullableFields, type context$4_UpsertContactRequest as UpsertContactRequest, type context$4_UpsertContactResponse as UpsertContactResponse, context$4_UpsertContactResponseAction as UpsertContactResponseAction, type context$4_UserInfo as UserInfo, WebhookIdentityType$4 as WebhookIdentityType, type context$4__publicOnContactCreatedType as _publicOnContactCreatedType, type context$4__publicOnContactDeletedType as _publicOnContactDeletedType, type context$4__publicOnContactMergedType as _publicOnContactMergedType, type context$4__publicOnContactUpdatedType as _publicOnContactUpdatedType, context$4_createContact as createContact, context$4_deleteContact as deleteContact, context$4_getContact as getContact, context$4_labelContact as labelContact, context$4_mergeContacts as mergeContacts, context$4_onContactCreated as onContactCreated, context$4_onContactDeleted as onContactDeleted, context$4_onContactMerged as onContactMerged, context$4_onContactUpdated as onContactUpdated, onContactCreated$1 as publicOnContactCreated, onContactDeleted$1 as publicOnContactDeleted, onContactMerged$1 as publicOnContactMerged, onContactUpdated$1 as publicOnContactUpdated, context$4_queryContacts as queryContacts, context$4_unlabelContact as unlabelContact, context$4_updateContact as updateContact };
3241
3241
  }
3242
3242
 
3243
3243
  /** Extended field that was found or created. */
@@ -3302,15 +3302,23 @@ interface ExtendedField {
3302
3302
  description?: string | null;
3303
3303
  }
3304
3304
  declare enum FieldDataType {
3305
+ /** Undefined data type. */
3305
3306
  UNKNOWN_DATA_TYPE = "UNKNOWN_DATA_TYPE",
3307
+ /** Accepts strings. */
3306
3308
  TEXT = "TEXT",
3309
+ /** Accepts floats. */
3307
3310
  NUMBER = "NUMBER",
3311
+ /** Accepts dates formatted as `YYYY-MM-DD`. */
3308
3312
  DATE = "DATE",
3313
+ /** Accepts strings. Prepends `https://` if no protocol is included. */
3309
3314
  URL = "URL"
3310
3315
  }
3311
3316
  declare enum FieldType {
3317
+ /** Undefined field type. */
3312
3318
  UNKNOWN = "UNKNOWN",
3319
+ /** The field is a system field managed by Wix. System fields cannot be modified by 3rd-party apps or site contributors. */
3313
3320
  SYSTEM = "SYSTEM",
3321
+ /** The field is a custom field and can be modified by 3rd-party apps or site contributors. */
3314
3322
  USER_DEFINED = "USER_DEFINED"
3315
3323
  }
3316
3324
  /** Extended field filter options. */
@@ -3334,14 +3342,16 @@ interface Sorting$2 {
3334
3342
  /** Name of the field to sort by. */
3335
3343
  fieldName?: string;
3336
3344
  /**
3337
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
3345
+ * Sort order.
3338
3346
  *
3339
- * Defaults to `ASC`.
3347
+ * Default: `ASC`.
3340
3348
  */
3341
3349
  order?: SortOrder$2;
3342
3350
  }
3343
3351
  declare enum SortOrder$2 {
3352
+ /** Sort by ascending order. */
3344
3353
  ASC = "ASC",
3354
+ /** Sort by descending order. */
3345
3355
  DESC = "DESC"
3346
3356
  }
3347
3357
  interface Paging$2 {
@@ -3557,7 +3567,7 @@ interface DomainEventBodyOneOf$2 {
3557
3567
  interface EntityCreatedEvent$2 {
3558
3568
  entity?: string;
3559
3569
  }
3560
- interface RestoreInfo$1 {
3570
+ interface RestoreInfo$2 {
3561
3571
  deletedDate?: Date | null;
3562
3572
  }
3563
3573
  interface EntityUpdatedEvent$2 {
@@ -3684,11 +3694,11 @@ interface ExtendedFieldCreatedEnvelope {
3684
3694
  entity: ExtendedField;
3685
3695
  metadata: EventMetadata$2;
3686
3696
  }
3687
- interface ExtendedFieldUpdatedEnvelope {
3688
- entity: ExtendedField;
3697
+ interface ExtendedFieldDeletedEnvelope {
3689
3698
  metadata: EventMetadata$2;
3690
3699
  }
3691
- interface ExtendedFieldDeletedEnvelope {
3700
+ interface ExtendedFieldUpdatedEnvelope {
3701
+ entity: ExtendedField;
3692
3702
  metadata: EventMetadata$2;
3693
3703
  }
3694
3704
  interface RenameExtendedField {
@@ -3913,8 +3923,8 @@ interface QueryExtendedFieldsSignature {
3913
3923
  (): FieldsQueryBuilder;
3914
3924
  }
3915
3925
  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
3926
  declare const onExtendedFieldDeleted$1: EventDefinition<ExtendedFieldDeletedEnvelope, "wix.contacts.v4.extended-field_deleted">;
3927
+ declare const onExtendedFieldUpdated$1: EventDefinition<ExtendedFieldUpdatedEnvelope, "wix.contacts.v4.extended-field_updated">;
3918
3928
 
3919
3929
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3920
3930
 
@@ -3930,18 +3940,18 @@ type _publicOnExtendedFieldCreatedType = typeof onExtendedFieldCreated$1;
3930
3940
  */
3931
3941
  declare const onExtendedFieldCreated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldCreatedType>>;
3932
3942
 
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
3943
  type _publicOnExtendedFieldDeletedType = typeof onExtendedFieldDeleted$1;
3940
3944
  /**
3941
3945
  * Triggered when an extended field is deleted.
3942
3946
  */
3943
3947
  declare const onExtendedFieldDeleted: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldDeletedType>>;
3944
3948
 
3949
+ type _publicOnExtendedFieldUpdatedType = typeof onExtendedFieldUpdated$1;
3950
+ /**
3951
+ * Triggered when an extended field is updated.
3952
+ */
3953
+ declare const onExtendedFieldUpdated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldUpdatedType>>;
3954
+
3945
3955
  type context$3_DeleteExtendedFieldRequest = DeleteExtendedFieldRequest;
3946
3956
  type context$3_DeleteExtendedFieldResponse = DeleteExtendedFieldResponse;
3947
3957
  type context$3_ExtendedField = ExtendedField;
@@ -3984,7 +3994,7 @@ declare const context$3_onExtendedFieldUpdated: typeof onExtendedFieldUpdated;
3984
3994
  declare const context$3_queryExtendedFields: typeof queryExtendedFields;
3985
3995
  declare const context$3_renameExtendedField: typeof renameExtendedField;
3986
3996
  declare namespace context$3 {
3987
- export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type context$3_DeleteExtendedFieldRequest as DeleteExtendedFieldRequest, type context$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 context$3_ExtendedField as ExtendedField, type context$3_ExtendedFieldCreatedEnvelope as ExtendedFieldCreatedEnvelope, type context$3_ExtendedFieldDeletedEnvelope as ExtendedFieldDeletedEnvelope, type context$3_ExtendedFieldNonNullableFields as ExtendedFieldNonNullableFields, type context$3_ExtendedFieldUpdatedEnvelope as ExtendedFieldUpdatedEnvelope, context$3_FieldDataType as FieldDataType, context$3_FieldType as FieldType, type context$3_FieldsQueryBuilder as FieldsQueryBuilder, type context$3_FieldsQueryResult as FieldsQueryResult, type context$3_FindOrCreateExtendedFieldRequest as FindOrCreateExtendedFieldRequest, type context$3_FindOrCreateExtendedFieldResponse as FindOrCreateExtendedFieldResponse, type context$3_FindOrCreateExtendedFieldResponseNonNullableFields as FindOrCreateExtendedFieldResponseNonNullableFields, type GdprListRequest$1 as GdprListRequest, type GdprListResponse$1 as GdprListResponse, type context$3_GetExtendedFieldByLegacyIdRequest as GetExtendedFieldByLegacyIdRequest, type context$3_GetExtendedFieldByLegacyIdResponse as GetExtendedFieldByLegacyIdResponse, type context$3_GetExtendedFieldRequest as GetExtendedFieldRequest, type context$3_GetExtendedFieldResponse as GetExtendedFieldResponse, type context$3_GetExtendedFieldResponseNonNullableFields as GetExtendedFieldResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type context$3_ListExtendedFieldsRequest as ListExtendedFieldsRequest, type context$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 context$3_QueryExtendedFieldsRequest as QueryExtendedFieldsRequest, type context$3_QueryExtendedFieldsResponse as QueryExtendedFieldsResponse, type context$3_QueryExtendedFieldsResponseNonNullableFields as QueryExtendedFieldsResponseNonNullableFields, type context$3_RenameExtendedField as RenameExtendedField, type RestoreInfo$1 as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type context$3_UpdateExtendedFieldRequest as UpdateExtendedFieldRequest, type context$3_UpdateExtendedFieldResponse as UpdateExtendedFieldResponse, type context$3_UpdateExtendedFieldResponseNonNullableFields as UpdateExtendedFieldResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type context$3__publicOnExtendedFieldCreatedType as _publicOnExtendedFieldCreatedType, type context$3__publicOnExtendedFieldDeletedType as _publicOnExtendedFieldDeletedType, type context$3__publicOnExtendedFieldUpdatedType as _publicOnExtendedFieldUpdatedType, context$3_deleteExtendedField as deleteExtendedField, context$3_findOrCreateExtendedField as findOrCreateExtendedField, context$3_getExtendedField as getExtendedField, context$3_onExtendedFieldCreated as onExtendedFieldCreated, context$3_onExtendedFieldDeleted as onExtendedFieldDeleted, context$3_onExtendedFieldUpdated as onExtendedFieldUpdated, onExtendedFieldCreated$1 as publicOnExtendedFieldCreated, onExtendedFieldDeleted$1 as publicOnExtendedFieldDeleted, onExtendedFieldUpdated$1 as publicOnExtendedFieldUpdated, context$3_queryExtendedFields as queryExtendedFields, context$3_renameExtendedField as renameExtendedField };
3997
+ export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type context$3_DeleteExtendedFieldRequest as DeleteExtendedFieldRequest, type context$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 context$3_ExtendedField as ExtendedField, type context$3_ExtendedFieldCreatedEnvelope as ExtendedFieldCreatedEnvelope, type context$3_ExtendedFieldDeletedEnvelope as ExtendedFieldDeletedEnvelope, type context$3_ExtendedFieldNonNullableFields as ExtendedFieldNonNullableFields, type context$3_ExtendedFieldUpdatedEnvelope as ExtendedFieldUpdatedEnvelope, context$3_FieldDataType as FieldDataType, context$3_FieldType as FieldType, type context$3_FieldsQueryBuilder as FieldsQueryBuilder, type context$3_FieldsQueryResult as FieldsQueryResult, type context$3_FindOrCreateExtendedFieldRequest as FindOrCreateExtendedFieldRequest, type context$3_FindOrCreateExtendedFieldResponse as FindOrCreateExtendedFieldResponse, type context$3_FindOrCreateExtendedFieldResponseNonNullableFields as FindOrCreateExtendedFieldResponseNonNullableFields, type GdprListRequest$1 as GdprListRequest, type GdprListResponse$1 as GdprListResponse, type context$3_GetExtendedFieldByLegacyIdRequest as GetExtendedFieldByLegacyIdRequest, type context$3_GetExtendedFieldByLegacyIdResponse as GetExtendedFieldByLegacyIdResponse, type context$3_GetExtendedFieldRequest as GetExtendedFieldRequest, type context$3_GetExtendedFieldResponse as GetExtendedFieldResponse, type context$3_GetExtendedFieldResponseNonNullableFields as GetExtendedFieldResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type context$3_ListExtendedFieldsRequest as ListExtendedFieldsRequest, type context$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 context$3_QueryExtendedFieldsRequest as QueryExtendedFieldsRequest, type context$3_QueryExtendedFieldsResponse as QueryExtendedFieldsResponse, type context$3_QueryExtendedFieldsResponseNonNullableFields as QueryExtendedFieldsResponseNonNullableFields, type context$3_RenameExtendedField as RenameExtendedField, type RestoreInfo$2 as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type context$3_UpdateExtendedFieldRequest as UpdateExtendedFieldRequest, type context$3_UpdateExtendedFieldResponse as UpdateExtendedFieldResponse, type context$3_UpdateExtendedFieldResponseNonNullableFields as UpdateExtendedFieldResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type context$3__publicOnExtendedFieldCreatedType as _publicOnExtendedFieldCreatedType, type context$3__publicOnExtendedFieldDeletedType as _publicOnExtendedFieldDeletedType, type context$3__publicOnExtendedFieldUpdatedType as _publicOnExtendedFieldUpdatedType, context$3_deleteExtendedField as deleteExtendedField, context$3_findOrCreateExtendedField as findOrCreateExtendedField, context$3_getExtendedField as getExtendedField, context$3_onExtendedFieldCreated as onExtendedFieldCreated, context$3_onExtendedFieldDeleted as onExtendedFieldDeleted, context$3_onExtendedFieldUpdated as onExtendedFieldUpdated, onExtendedFieldCreated$1 as publicOnExtendedFieldCreated, onExtendedFieldDeleted$1 as publicOnExtendedFieldDeleted, onExtendedFieldUpdated$1 as publicOnExtendedFieldUpdated, context$3_queryExtendedFields as queryExtendedFields, context$3_renameExtendedField as renameExtendedField };
3988
3998
  }
3989
3999
 
3990
4000
  /** Label that was found or created. */
@@ -4307,7 +4317,7 @@ interface DomainEventBodyOneOf$1 {
4307
4317
  interface EntityCreatedEvent$1 {
4308
4318
  entity?: string;
4309
4319
  }
4310
- interface RestoreInfo {
4320
+ interface RestoreInfo$1 {
4311
4321
  deletedDate?: Date | null;
4312
4322
  }
4313
4323
  interface EntityUpdatedEvent$1 {
@@ -4745,7 +4755,6 @@ type context$2_QueryLabelsResponse = QueryLabelsResponse;
4745
4755
  type context$2_QueryLabelsResponseNonNullableFields = QueryLabelsResponseNonNullableFields;
4746
4756
  type context$2_RenameLabel = RenameLabel;
4747
4757
  type context$2_RenameLabelOptions = RenameLabelOptions;
4748
- type context$2_RestoreInfo = RestoreInfo;
4749
4758
  type context$2_UpdateLabelRequest = UpdateLabelRequest;
4750
4759
  type context$2_UpdateLabelResponse = UpdateLabelResponse;
4751
4760
  type context$2_UpdateLabelResponseNonNullableFields = UpdateLabelResponseNonNullableFields;
@@ -4761,7 +4770,7 @@ declare const context$2_onLabelUpdated: typeof onLabelUpdated;
4761
4770
  declare const context$2_queryLabels: typeof queryLabels;
4762
4771
  declare const context$2_renameLabel: typeof renameLabel;
4763
4772
  declare namespace context$2 {
4764
- export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_ContactLabel as ContactLabel, type context$2_ContactLabelNamespace as ContactLabelNamespace, type context$2_ContactLabelNonNullableFields as ContactLabelNonNullableFields, type context$2_DeleteLabelRequest as DeleteLabelRequest, type context$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 context$2_FindOrCreateLabelOptions as FindOrCreateLabelOptions, type context$2_FindOrCreateLabelRequest as FindOrCreateLabelRequest, type context$2_FindOrCreateLabelResponse as FindOrCreateLabelResponse, type context$2_FindOrCreateLabelResponseNonNullableFields as FindOrCreateLabelResponseNonNullableFields, type context$2_GdprListRequest as GdprListRequest, type context$2_GdprListResponse as GdprListResponse, type context$2_GetLabelByLegacyIdRequest as GetLabelByLegacyIdRequest, type context$2_GetLabelByLegacyIdResponse as GetLabelByLegacyIdResponse, type context$2_GetLabelOptions as GetLabelOptions, type context$2_GetLabelRequest as GetLabelRequest, type context$2_GetLabelResponse as GetLabelResponse, type context$2_GetLabelResponseNonNullableFields as GetLabelResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$2_LabelCreatedEnvelope as LabelCreatedEnvelope, type context$2_LabelDeletedEnvelope as LabelDeletedEnvelope, context$2_LabelType as LabelType, type context$2_LabelUpdatedEnvelope as LabelUpdatedEnvelope, type context$2_LabelsQueryBuilder as LabelsQueryBuilder, type context$2_LabelsQueryResult as LabelsQueryResult, type context$2_LabelsQuotaReached as LabelsQuotaReached, type context$2_ListLabelNamespacesRequest as ListLabelNamespacesRequest, type context$2_ListLabelNamespacesResponse as ListLabelNamespacesResponse, type context$2_ListLabelsRequest as ListLabelsRequest, type context$2_ListLabelsResponse as ListLabelsResponse, type MessageEnvelope$2 as MessageEnvelope, type Paging$1 as Paging, type context$2_PagingMetadata as PagingMetadata, type context$2_PurgeRequest as PurgeRequest, type context$2_PurgeResponse as PurgeResponse, type context$2_Query as Query, type context$2_QueryLabelsOptions as QueryLabelsOptions, type context$2_QueryLabelsRequest as QueryLabelsRequest, type context$2_QueryLabelsResponse as QueryLabelsResponse, type context$2_QueryLabelsResponseNonNullableFields as QueryLabelsResponseNonNullableFields, type context$2_RenameLabel as RenameLabel, type context$2_RenameLabelOptions as RenameLabelOptions, type context$2_RestoreInfo as RestoreInfo, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type context$2_UpdateLabelRequest as UpdateLabelRequest, type context$2_UpdateLabelResponse as UpdateLabelResponse, type context$2_UpdateLabelResponseNonNullableFields as UpdateLabelResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type context$2__publicOnLabelCreatedType as _publicOnLabelCreatedType, type context$2__publicOnLabelDeletedType as _publicOnLabelDeletedType, type context$2__publicOnLabelUpdatedType as _publicOnLabelUpdatedType, context$2_deleteLabel as deleteLabel, context$2_findOrCreateLabel as findOrCreateLabel, context$2_getLabel as getLabel, context$2_onLabelCreated as onLabelCreated, context$2_onLabelDeleted as onLabelDeleted, context$2_onLabelUpdated as onLabelUpdated, onLabelCreated$1 as publicOnLabelCreated, onLabelDeleted$1 as publicOnLabelDeleted, onLabelUpdated$1 as publicOnLabelUpdated, context$2_queryLabels as queryLabels, context$2_renameLabel as renameLabel };
4773
+ export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_ContactLabel as ContactLabel, type context$2_ContactLabelNamespace as ContactLabelNamespace, type context$2_ContactLabelNonNullableFields as ContactLabelNonNullableFields, type context$2_DeleteLabelRequest as DeleteLabelRequest, type context$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 context$2_FindOrCreateLabelOptions as FindOrCreateLabelOptions, type context$2_FindOrCreateLabelRequest as FindOrCreateLabelRequest, type context$2_FindOrCreateLabelResponse as FindOrCreateLabelResponse, type context$2_FindOrCreateLabelResponseNonNullableFields as FindOrCreateLabelResponseNonNullableFields, type context$2_GdprListRequest as GdprListRequest, type context$2_GdprListResponse as GdprListResponse, type context$2_GetLabelByLegacyIdRequest as GetLabelByLegacyIdRequest, type context$2_GetLabelByLegacyIdResponse as GetLabelByLegacyIdResponse, type context$2_GetLabelOptions as GetLabelOptions, type context$2_GetLabelRequest as GetLabelRequest, type context$2_GetLabelResponse as GetLabelResponse, type context$2_GetLabelResponseNonNullableFields as GetLabelResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$2_LabelCreatedEnvelope as LabelCreatedEnvelope, type context$2_LabelDeletedEnvelope as LabelDeletedEnvelope, context$2_LabelType as LabelType, type context$2_LabelUpdatedEnvelope as LabelUpdatedEnvelope, type context$2_LabelsQueryBuilder as LabelsQueryBuilder, type context$2_LabelsQueryResult as LabelsQueryResult, type context$2_LabelsQuotaReached as LabelsQuotaReached, type context$2_ListLabelNamespacesRequest as ListLabelNamespacesRequest, type context$2_ListLabelNamespacesResponse as ListLabelNamespacesResponse, type context$2_ListLabelsRequest as ListLabelsRequest, type context$2_ListLabelsResponse as ListLabelsResponse, type MessageEnvelope$2 as MessageEnvelope, type Paging$1 as Paging, type context$2_PagingMetadata as PagingMetadata, type context$2_PurgeRequest as PurgeRequest, type context$2_PurgeResponse as PurgeResponse, type context$2_Query as Query, type context$2_QueryLabelsOptions as QueryLabelsOptions, type context$2_QueryLabelsRequest as QueryLabelsRequest, type context$2_QueryLabelsResponse as QueryLabelsResponse, type context$2_QueryLabelsResponseNonNullableFields as QueryLabelsResponseNonNullableFields, type context$2_RenameLabel as RenameLabel, type context$2_RenameLabelOptions as RenameLabelOptions, type RestoreInfo$1 as RestoreInfo, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type context$2_UpdateLabelRequest as UpdateLabelRequest, type context$2_UpdateLabelResponse as UpdateLabelResponse, type context$2_UpdateLabelResponseNonNullableFields as UpdateLabelResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type context$2__publicOnLabelCreatedType as _publicOnLabelCreatedType, type context$2__publicOnLabelDeletedType as _publicOnLabelDeletedType, type context$2__publicOnLabelUpdatedType as _publicOnLabelUpdatedType, context$2_deleteLabel as deleteLabel, context$2_findOrCreateLabel as findOrCreateLabel, context$2_getLabel as getLabel, context$2_onLabelCreated as onLabelCreated, context$2_onLabelDeleted as onLabelDeleted, context$2_onLabelUpdated as onLabelUpdated, onLabelCreated$1 as publicOnLabelCreated, onLabelDeleted$1 as publicOnLabelDeleted, onLabelUpdated$1 as publicOnLabelUpdated, context$2_queryLabels as queryLabels, context$2_renameLabel as renameLabel };
4765
4774
  }
4766
4775
 
4767
4776
  /** Dummy message for fqdn validation */
@@ -5456,8 +5465,11 @@ interface Task {
5456
5465
  }
5457
5466
  /** Possible statuses in which the task may be. */
5458
5467
  declare enum TaskStatus {
5468
+ /** Undefined task status. */
5459
5469
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
5470
+ /** Action needed. */
5460
5471
  ACTION_NEEDED = "ACTION_NEEDED",
5472
+ /** Task completed. */
5461
5473
  COMPLETED = "COMPLETED"
5462
5474
  }
5463
5475
  interface TaskSource {
@@ -5479,8 +5491,11 @@ interface TaskSource {
5479
5491
  }
5480
5492
  /** Possible sources that can create tasks. */
5481
5493
  declare enum SourceType {
5494
+ /** Undefined source type. */
5482
5495
  UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
5496
+ /** Task was created by an app. */
5483
5497
  APP = "APP",
5498
+ /** Task was created by a user. */
5484
5499
  USER = "USER"
5485
5500
  }
5486
5501
  interface ContactInfo {
@@ -5616,7 +5631,9 @@ interface Sorting {
5616
5631
  order?: SortOrder;
5617
5632
  }
5618
5633
  declare enum SortOrder {
5634
+ /** Sort by ascending order. */
5619
5635
  ASC = "ASC",
5636
+ /** Sort by descending order. */
5620
5637
  DESC = "DESC"
5621
5638
  }
5622
5639
  interface CursorPaging {
@@ -5772,7 +5789,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
5772
5789
  slug?: string;
5773
5790
  /** ID of the entity associated with the event. */
5774
5791
  entityId?: string;
5775
- /** Event timestamp. */
5792
+ /** 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
5793
  eventTime?: Date | null;
5777
5794
  /**
5778
5795
  * Whether the event was triggered as a result of a privacy regulation application
@@ -5801,6 +5818,9 @@ interface DomainEventBodyOneOf {
5801
5818
  interface EntityCreatedEvent {
5802
5819
  entity?: string;
5803
5820
  }
5821
+ interface RestoreInfo {
5822
+ deletedDate?: Date | null;
5823
+ }
5804
5824
  interface EntityUpdatedEvent {
5805
5825
  /**
5806
5826
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -5905,7 +5925,7 @@ interface EventMetadata extends BaseEventMetadata {
5905
5925
  slug?: string;
5906
5926
  /** ID of the entity associated with the event. */
5907
5927
  entityId?: string;
5908
- /** Event timestamp. */
5928
+ /** 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
5929
  eventTime?: Date | null;
5910
5930
  /**
5911
5931
  * Whether the event was triggered as a result of a privacy regulation application
@@ -5924,19 +5944,19 @@ interface EventMetadata extends BaseEventMetadata {
5924
5944
  */
5925
5945
  entityEventSequence?: string | null;
5926
5946
  }
5927
- interface TaskOverdueEnvelope {
5928
- data: TaskOverdue;
5929
- metadata: EventMetadata;
5930
- }
5931
5947
  interface TaskCreatedEnvelope {
5932
5948
  entity: Task;
5933
5949
  metadata: EventMetadata;
5934
5950
  }
5935
- interface TaskUpdatedEnvelope {
5936
- entity: Task;
5951
+ interface TaskDeletedEnvelope {
5937
5952
  metadata: EventMetadata;
5938
5953
  }
5939
- interface TaskDeletedEnvelope {
5954
+ interface TaskOverdueEnvelope {
5955
+ data: TaskOverdue;
5956
+ metadata: EventMetadata;
5957
+ }
5958
+ interface TaskUpdatedEnvelope {
5959
+ entity: Task;
5940
5960
  metadata: EventMetadata;
5941
5961
  }
5942
5962
  interface UpdateTask {
@@ -6143,10 +6163,10 @@ interface MoveTaskAfterSignature {
6143
6163
  */
6144
6164
  (taskId: string, options?: MoveTaskAfterOptions | undefined): Promise<void>;
6145
6165
  }
6146
- declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
6147
6166
  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
6167
  declare const onTaskDeleted$1: EventDefinition<TaskDeletedEnvelope, "wix.crm.tasks.v2.task_deleted">;
6168
+ declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
6169
+ declare const onTaskUpdated$1: EventDefinition<TaskUpdatedEnvelope, "wix.crm.tasks.v2.task_updated">;
6150
6170
 
6151
6171
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
6152
6172
 
@@ -6158,30 +6178,30 @@ declare const queryTasks: MaybeContext<BuildRESTFunction<typeof queryTasks$1> &
6158
6178
  declare const countTasks: MaybeContext<BuildRESTFunction<typeof countTasks$1> & typeof countTasks$1>;
6159
6179
  declare const moveTaskAfter: MaybeContext<BuildRESTFunction<typeof moveTaskAfter$1> & typeof moveTaskAfter$1>;
6160
6180
 
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
6181
  type _publicOnTaskCreatedType = typeof onTaskCreated$1;
6168
6182
  /**
6169
6183
  * Triggered when a task is created.
6170
6184
  */
6171
6185
  declare const onTaskCreated: ReturnType<typeof createEventModule<_publicOnTaskCreatedType>>;
6172
6186
 
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
6187
  type _publicOnTaskDeletedType = typeof onTaskDeleted$1;
6180
6188
  /**
6181
6189
  * Triggered when a task is deleted.
6182
6190
  */
6183
6191
  declare const onTaskDeleted: ReturnType<typeof createEventModule<_publicOnTaskDeletedType>>;
6184
6192
 
6193
+ type _publicOnTaskOverdueType = typeof onTaskOverdue$1;
6194
+ /**
6195
+ * Triggered when a task reaches its due date.
6196
+ */
6197
+ declare const onTaskOverdue: ReturnType<typeof createEventModule<_publicOnTaskOverdueType>>;
6198
+
6199
+ type _publicOnTaskUpdatedType = typeof onTaskUpdated$1;
6200
+ /**
6201
+ * Triggered when a task is updated.
6202
+ */
6203
+ declare const onTaskUpdated: ReturnType<typeof createEventModule<_publicOnTaskUpdatedType>>;
6204
+
6185
6205
  type context_ActionEvent = ActionEvent;
6186
6206
  type context_BaseEventMetadata = BaseEventMetadata;
6187
6207
  type context_ContactInfo = ContactInfo;
@@ -6230,6 +6250,7 @@ type context_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
6230
6250
  type context_ReminderType = ReminderType;
6231
6251
  declare const context_ReminderType: typeof ReminderType;
6232
6252
  type context_RepositionTask = RepositionTask;
6253
+ type context_RestoreInfo = RestoreInfo;
6233
6254
  type context_SendTasksReminderRequest = SendTasksReminderRequest;
6234
6255
  type context_SendTasksReminderResponse = SendTasksReminderResponse;
6235
6256
  type context_SortOrder = SortOrder;
@@ -6273,7 +6294,7 @@ declare const context_onTaskUpdated: typeof onTaskUpdated;
6273
6294
  declare const context_queryTasks: typeof queryTasks;
6274
6295
  declare const context_updateTask: typeof updateTask;
6275
6296
  declare namespace context {
6276
- export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_ContactInfo as ContactInfo, type context_ContactNotFoundError as ContactNotFoundError, type context_CountTasksOptions as CountTasksOptions, type context_CountTasksRequest as CountTasksRequest, type context_CountTasksResponse as CountTasksResponse, type context_CountTasksResponseNonNullableFields as CountTasksResponseNonNullableFields, type context_CreateTaskRequest as CreateTaskRequest, type context_CreateTaskResponse as CreateTaskResponse, type context_CreateTaskResponseNonNullableFields as CreateTaskResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DeleteCompletedTasksRequest as DeleteCompletedTasksRequest, type context_DeleteCompletedTasksResponse as DeleteCompletedTasksResponse, type context_DeleteTaskRequest as DeleteTaskRequest, type context_DeleteTaskResponse as DeleteTaskResponse, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_GetTaskRequest as GetTaskRequest, type context_GetTaskResponse as GetTaskResponse, type context_GetTaskResponseNonNullableFields as GetTaskResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_MessageEnvelope as MessageEnvelope, type context_MoveTaskAfterOptions as MoveTaskAfterOptions, type context_MoveTaskAfterRequest as MoveTaskAfterRequest, type context_MoveTaskAfterResponse as MoveTaskAfterResponse, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, type context_QueryTasksInternalRequest as QueryTasksInternalRequest, type context_QueryTasksInternalResponse as QueryTasksInternalResponse, type context_QueryTasksRequest as QueryTasksRequest, type context_QueryTasksResponse as QueryTasksResponse, type context_QueryTasksResponseNonNullableFields as QueryTasksResponseNonNullableFields, type context_QueryV2 as QueryV2, type context_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, context_ReminderType as ReminderType, type context_RepositionTask as RepositionTask, type context_SendTasksReminderRequest as SendTasksReminderRequest, type context_SendTasksReminderResponse as SendTasksReminderResponse, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_SourceType as SourceType, type context_Task as Task, type context_TaskAssigned as TaskAssigned, type context_TaskCreatedEnvelope as TaskCreatedEnvelope, type context_TaskDeletedEnvelope as TaskDeletedEnvelope, type context_TaskNonNullableFields as TaskNonNullableFields, type context_TaskNotFoundError as TaskNotFoundError, type context_TaskOverdue as TaskOverdue, type context_TaskOverdueEnvelope as TaskOverdueEnvelope, type context_TaskSource as TaskSource, context_TaskStatus as TaskStatus, type context_TaskUpdatedEnvelope as TaskUpdatedEnvelope, type context_TasksQueryBuilder as TasksQueryBuilder, type context_TasksQueryResult as TasksQueryResult, type context_UpdateTask as UpdateTask, type context_UpdateTaskRequest as UpdateTaskRequest, type context_UpdateTaskResponse as UpdateTaskResponse, type context_UpdateTaskResponseNonNullableFields as UpdateTaskResponseNonNullableFields, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnTaskCreatedType as _publicOnTaskCreatedType, type context__publicOnTaskDeletedType as _publicOnTaskDeletedType, type context__publicOnTaskOverdueType as _publicOnTaskOverdueType, type context__publicOnTaskUpdatedType as _publicOnTaskUpdatedType, context_countTasks as countTasks, context_createTask as createTask, context_deleteTask as deleteTask, context_getTask as getTask, context_moveTaskAfter as moveTaskAfter, context_onTaskCreated as onTaskCreated, context_onTaskDeleted as onTaskDeleted, context_onTaskOverdue as onTaskOverdue, context_onTaskUpdated as onTaskUpdated, onTaskCreated$1 as publicOnTaskCreated, onTaskDeleted$1 as publicOnTaskDeleted, onTaskOverdue$1 as publicOnTaskOverdue, onTaskUpdated$1 as publicOnTaskUpdated, context_queryTasks as queryTasks, context_updateTask as updateTask };
6297
+ export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_ContactInfo as ContactInfo, type context_ContactNotFoundError as ContactNotFoundError, type context_CountTasksOptions as CountTasksOptions, type context_CountTasksRequest as CountTasksRequest, type context_CountTasksResponse as CountTasksResponse, type context_CountTasksResponseNonNullableFields as CountTasksResponseNonNullableFields, type context_CreateTaskRequest as CreateTaskRequest, type context_CreateTaskResponse as CreateTaskResponse, type context_CreateTaskResponseNonNullableFields as CreateTaskResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DeleteCompletedTasksRequest as DeleteCompletedTasksRequest, type context_DeleteCompletedTasksResponse as DeleteCompletedTasksResponse, type context_DeleteTaskRequest as DeleteTaskRequest, type context_DeleteTaskResponse as DeleteTaskResponse, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_GetTaskRequest as GetTaskRequest, type context_GetTaskResponse as GetTaskResponse, type context_GetTaskResponseNonNullableFields as GetTaskResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_MessageEnvelope as MessageEnvelope, type context_MoveTaskAfterOptions as MoveTaskAfterOptions, type context_MoveTaskAfterRequest as MoveTaskAfterRequest, type context_MoveTaskAfterResponse as MoveTaskAfterResponse, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, type context_QueryTasksInternalRequest as QueryTasksInternalRequest, type context_QueryTasksInternalResponse as QueryTasksInternalResponse, type context_QueryTasksRequest as QueryTasksRequest, type context_QueryTasksResponse as QueryTasksResponse, type context_QueryTasksResponseNonNullableFields as QueryTasksResponseNonNullableFields, type context_QueryV2 as QueryV2, type context_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, context_ReminderType as ReminderType, type context_RepositionTask as RepositionTask, type context_RestoreInfo as RestoreInfo, type context_SendTasksReminderRequest as SendTasksReminderRequest, type context_SendTasksReminderResponse as SendTasksReminderResponse, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_SourceType as SourceType, type context_Task as Task, type context_TaskAssigned as TaskAssigned, type context_TaskCreatedEnvelope as TaskCreatedEnvelope, type context_TaskDeletedEnvelope as TaskDeletedEnvelope, type context_TaskNonNullableFields as TaskNonNullableFields, type context_TaskNotFoundError as TaskNotFoundError, type context_TaskOverdue as TaskOverdue, type context_TaskOverdueEnvelope as TaskOverdueEnvelope, type context_TaskSource as TaskSource, context_TaskStatus as TaskStatus, type context_TaskUpdatedEnvelope as TaskUpdatedEnvelope, type context_TasksQueryBuilder as TasksQueryBuilder, type context_TasksQueryResult as TasksQueryResult, type context_UpdateTask as UpdateTask, type context_UpdateTaskRequest as UpdateTaskRequest, type context_UpdateTaskResponse as UpdateTaskResponse, type context_UpdateTaskResponseNonNullableFields as UpdateTaskResponseNonNullableFields, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnTaskCreatedType as _publicOnTaskCreatedType, type context__publicOnTaskDeletedType as _publicOnTaskDeletedType, type context__publicOnTaskOverdueType as _publicOnTaskOverdueType, type context__publicOnTaskUpdatedType as _publicOnTaskUpdatedType, context_countTasks as countTasks, context_createTask as createTask, context_deleteTask as deleteTask, context_getTask as getTask, context_moveTaskAfter as moveTaskAfter, context_onTaskCreated as onTaskCreated, context_onTaskDeleted as onTaskDeleted, context_onTaskOverdue as onTaskOverdue, context_onTaskUpdated as onTaskUpdated, onTaskCreated$1 as publicOnTaskCreated, onTaskDeleted$1 as publicOnTaskDeleted, onTaskOverdue$1 as publicOnTaskOverdue, onTaskUpdated$1 as publicOnTaskUpdated, context_queryTasks as queryTasks, context_updateTask as updateTask };
6277
6298
  }
6278
6299
 
6279
6300
  export { context$5 as attachments, context$4 as contacts, context$3 as extendedFields, context$2 as labels, context$1 as submittedContact, context as tasks };
@@ -2491,7 +2491,7 @@ interface DomainEventBodyOneOf$3 {
2491
2491
  interface EntityCreatedEvent$3 {
2492
2492
  entity?: string;
2493
2493
  }
2494
- interface RestoreInfo$2 {
2494
+ interface RestoreInfo$3 {
2495
2495
  deletedDate?: Date | null;
2496
2496
  }
2497
2497
  interface EntityUpdatedEvent$3 {
@@ -3237,7 +3237,7 @@ declare const index_d$4_queryContacts: typeof queryContacts;
3237
3237
  declare const index_d$4_unlabelContact: typeof unlabelContact;
3238
3238
  declare const index_d$4_updateContact: typeof updateContact;
3239
3239
  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 };
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$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
3241
  }
3242
3242
 
3243
3243
  /** Extended field that was found or created. */
@@ -3302,15 +3302,23 @@ interface ExtendedField {
3302
3302
  description?: string | null;
3303
3303
  }
3304
3304
  declare enum FieldDataType {
3305
+ /** Undefined data type. */
3305
3306
  UNKNOWN_DATA_TYPE = "UNKNOWN_DATA_TYPE",
3307
+ /** Accepts strings. */
3306
3308
  TEXT = "TEXT",
3309
+ /** Accepts floats. */
3307
3310
  NUMBER = "NUMBER",
3311
+ /** Accepts dates formatted as `YYYY-MM-DD`. */
3308
3312
  DATE = "DATE",
3313
+ /** Accepts strings. Prepends `https://` if no protocol is included. */
3309
3314
  URL = "URL"
3310
3315
  }
3311
3316
  declare enum FieldType {
3317
+ /** Undefined field type. */
3312
3318
  UNKNOWN = "UNKNOWN",
3319
+ /** The field is a system field managed by Wix. System fields cannot be modified by 3rd-party apps or site contributors. */
3313
3320
  SYSTEM = "SYSTEM",
3321
+ /** The field is a custom field and can be modified by 3rd-party apps or site contributors. */
3314
3322
  USER_DEFINED = "USER_DEFINED"
3315
3323
  }
3316
3324
  /** Extended field filter options. */
@@ -3334,14 +3342,16 @@ interface Sorting$2 {
3334
3342
  /** Name of the field to sort by. */
3335
3343
  fieldName?: string;
3336
3344
  /**
3337
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
3345
+ * Sort order.
3338
3346
  *
3339
- * Defaults to `ASC`.
3347
+ * Default: `ASC`.
3340
3348
  */
3341
3349
  order?: SortOrder$2;
3342
3350
  }
3343
3351
  declare enum SortOrder$2 {
3352
+ /** Sort by ascending order. */
3344
3353
  ASC = "ASC",
3354
+ /** Sort by descending order. */
3345
3355
  DESC = "DESC"
3346
3356
  }
3347
3357
  interface Paging$2 {
@@ -3557,7 +3567,7 @@ interface DomainEventBodyOneOf$2 {
3557
3567
  interface EntityCreatedEvent$2 {
3558
3568
  entity?: string;
3559
3569
  }
3560
- interface RestoreInfo$1 {
3570
+ interface RestoreInfo$2 {
3561
3571
  deletedDate?: Date | null;
3562
3572
  }
3563
3573
  interface EntityUpdatedEvent$2 {
@@ -3684,11 +3694,11 @@ interface ExtendedFieldCreatedEnvelope {
3684
3694
  entity: ExtendedField;
3685
3695
  metadata: EventMetadata$2;
3686
3696
  }
3687
- interface ExtendedFieldUpdatedEnvelope {
3688
- entity: ExtendedField;
3697
+ interface ExtendedFieldDeletedEnvelope {
3689
3698
  metadata: EventMetadata$2;
3690
3699
  }
3691
- interface ExtendedFieldDeletedEnvelope {
3700
+ interface ExtendedFieldUpdatedEnvelope {
3701
+ entity: ExtendedField;
3692
3702
  metadata: EventMetadata$2;
3693
3703
  }
3694
3704
  interface RenameExtendedField {
@@ -3913,8 +3923,8 @@ interface QueryExtendedFieldsSignature {
3913
3923
  (): FieldsQueryBuilder;
3914
3924
  }
3915
3925
  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
3926
  declare const onExtendedFieldDeleted$1: EventDefinition<ExtendedFieldDeletedEnvelope, "wix.contacts.v4.extended-field_deleted">;
3927
+ declare const onExtendedFieldUpdated$1: EventDefinition<ExtendedFieldUpdatedEnvelope, "wix.contacts.v4.extended-field_updated">;
3918
3928
 
3919
3929
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3920
3930
 
@@ -3930,18 +3940,18 @@ type _publicOnExtendedFieldCreatedType = typeof onExtendedFieldCreated$1;
3930
3940
  */
3931
3941
  declare const onExtendedFieldCreated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldCreatedType>>;
3932
3942
 
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
3943
  type _publicOnExtendedFieldDeletedType = typeof onExtendedFieldDeleted$1;
3940
3944
  /**
3941
3945
  * Triggered when an extended field is deleted.
3942
3946
  */
3943
3947
  declare const onExtendedFieldDeleted: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldDeletedType>>;
3944
3948
 
3949
+ type _publicOnExtendedFieldUpdatedType = typeof onExtendedFieldUpdated$1;
3950
+ /**
3951
+ * Triggered when an extended field is updated.
3952
+ */
3953
+ declare const onExtendedFieldUpdated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldUpdatedType>>;
3954
+
3945
3955
  type index_d$3_DeleteExtendedFieldRequest = DeleteExtendedFieldRequest;
3946
3956
  type index_d$3_DeleteExtendedFieldResponse = DeleteExtendedFieldResponse;
3947
3957
  type index_d$3_ExtendedField = ExtendedField;
@@ -3984,7 +3994,7 @@ declare const index_d$3_onExtendedFieldUpdated: typeof onExtendedFieldUpdated;
3984
3994
  declare const index_d$3_queryExtendedFields: typeof queryExtendedFields;
3985
3995
  declare const index_d$3_renameExtendedField: typeof renameExtendedField;
3986
3996
  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 };
3997
+ 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
3998
  }
3989
3999
 
3990
4000
  /** Label that was found or created. */
@@ -4307,7 +4317,7 @@ interface DomainEventBodyOneOf$1 {
4307
4317
  interface EntityCreatedEvent$1 {
4308
4318
  entity?: string;
4309
4319
  }
4310
- interface RestoreInfo {
4320
+ interface RestoreInfo$1 {
4311
4321
  deletedDate?: Date | null;
4312
4322
  }
4313
4323
  interface EntityUpdatedEvent$1 {
@@ -4745,7 +4755,6 @@ type index_d$2_QueryLabelsResponse = QueryLabelsResponse;
4745
4755
  type index_d$2_QueryLabelsResponseNonNullableFields = QueryLabelsResponseNonNullableFields;
4746
4756
  type index_d$2_RenameLabel = RenameLabel;
4747
4757
  type index_d$2_RenameLabelOptions = RenameLabelOptions;
4748
- type index_d$2_RestoreInfo = RestoreInfo;
4749
4758
  type index_d$2_UpdateLabelRequest = UpdateLabelRequest;
4750
4759
  type index_d$2_UpdateLabelResponse = UpdateLabelResponse;
4751
4760
  type index_d$2_UpdateLabelResponseNonNullableFields = UpdateLabelResponseNonNullableFields;
@@ -4761,7 +4770,7 @@ declare const index_d$2_onLabelUpdated: typeof onLabelUpdated;
4761
4770
  declare const index_d$2_queryLabels: typeof queryLabels;
4762
4771
  declare const index_d$2_renameLabel: typeof renameLabel;
4763
4772
  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 };
4773
+ 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
4774
  }
4766
4775
 
4767
4776
  /** Dummy message for fqdn validation */
@@ -5456,8 +5465,11 @@ interface Task {
5456
5465
  }
5457
5466
  /** Possible statuses in which the task may be. */
5458
5467
  declare enum TaskStatus {
5468
+ /** Undefined task status. */
5459
5469
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
5470
+ /** Action needed. */
5460
5471
  ACTION_NEEDED = "ACTION_NEEDED",
5472
+ /** Task completed. */
5461
5473
  COMPLETED = "COMPLETED"
5462
5474
  }
5463
5475
  interface TaskSource {
@@ -5479,8 +5491,11 @@ interface TaskSource {
5479
5491
  }
5480
5492
  /** Possible sources that can create tasks. */
5481
5493
  declare enum SourceType {
5494
+ /** Undefined source type. */
5482
5495
  UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
5496
+ /** Task was created by an app. */
5483
5497
  APP = "APP",
5498
+ /** Task was created by a user. */
5484
5499
  USER = "USER"
5485
5500
  }
5486
5501
  interface ContactInfo {
@@ -5616,7 +5631,9 @@ interface Sorting {
5616
5631
  order?: SortOrder;
5617
5632
  }
5618
5633
  declare enum SortOrder {
5634
+ /** Sort by ascending order. */
5619
5635
  ASC = "ASC",
5636
+ /** Sort by descending order. */
5620
5637
  DESC = "DESC"
5621
5638
  }
5622
5639
  interface CursorPaging {
@@ -5772,7 +5789,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
5772
5789
  slug?: string;
5773
5790
  /** ID of the entity associated with the event. */
5774
5791
  entityId?: string;
5775
- /** Event timestamp. */
5792
+ /** 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
5793
  eventTime?: Date | null;
5777
5794
  /**
5778
5795
  * Whether the event was triggered as a result of a privacy regulation application
@@ -5801,6 +5818,9 @@ interface DomainEventBodyOneOf {
5801
5818
  interface EntityCreatedEvent {
5802
5819
  entity?: string;
5803
5820
  }
5821
+ interface RestoreInfo {
5822
+ deletedDate?: Date | null;
5823
+ }
5804
5824
  interface EntityUpdatedEvent {
5805
5825
  /**
5806
5826
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
@@ -5905,7 +5925,7 @@ interface EventMetadata extends BaseEventMetadata {
5905
5925
  slug?: string;
5906
5926
  /** ID of the entity associated with the event. */
5907
5927
  entityId?: string;
5908
- /** Event timestamp. */
5928
+ /** 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
5929
  eventTime?: Date | null;
5910
5930
  /**
5911
5931
  * Whether the event was triggered as a result of a privacy regulation application
@@ -5924,19 +5944,19 @@ interface EventMetadata extends BaseEventMetadata {
5924
5944
  */
5925
5945
  entityEventSequence?: string | null;
5926
5946
  }
5927
- interface TaskOverdueEnvelope {
5928
- data: TaskOverdue;
5929
- metadata: EventMetadata;
5930
- }
5931
5947
  interface TaskCreatedEnvelope {
5932
5948
  entity: Task;
5933
5949
  metadata: EventMetadata;
5934
5950
  }
5935
- interface TaskUpdatedEnvelope {
5936
- entity: Task;
5951
+ interface TaskDeletedEnvelope {
5937
5952
  metadata: EventMetadata;
5938
5953
  }
5939
- interface TaskDeletedEnvelope {
5954
+ interface TaskOverdueEnvelope {
5955
+ data: TaskOverdue;
5956
+ metadata: EventMetadata;
5957
+ }
5958
+ interface TaskUpdatedEnvelope {
5959
+ entity: Task;
5940
5960
  metadata: EventMetadata;
5941
5961
  }
5942
5962
  interface UpdateTask {
@@ -6143,10 +6163,10 @@ interface MoveTaskAfterSignature {
6143
6163
  */
6144
6164
  (taskId: string, options?: MoveTaskAfterOptions | undefined): Promise<void>;
6145
6165
  }
6146
- declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
6147
6166
  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
6167
  declare const onTaskDeleted$1: EventDefinition<TaskDeletedEnvelope, "wix.crm.tasks.v2.task_deleted">;
6168
+ declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
6169
+ declare const onTaskUpdated$1: EventDefinition<TaskUpdatedEnvelope, "wix.crm.tasks.v2.task_updated">;
6150
6170
 
6151
6171
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
6152
6172
 
@@ -6158,30 +6178,30 @@ declare const queryTasks: MaybeContext<BuildRESTFunction<typeof queryTasks$1> &
6158
6178
  declare const countTasks: MaybeContext<BuildRESTFunction<typeof countTasks$1> & typeof countTasks$1>;
6159
6179
  declare const moveTaskAfter: MaybeContext<BuildRESTFunction<typeof moveTaskAfter$1> & typeof moveTaskAfter$1>;
6160
6180
 
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
6181
  type _publicOnTaskCreatedType = typeof onTaskCreated$1;
6168
6182
  /**
6169
6183
  * Triggered when a task is created.
6170
6184
  */
6171
6185
  declare const onTaskCreated: ReturnType<typeof createEventModule<_publicOnTaskCreatedType>>;
6172
6186
 
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
6187
  type _publicOnTaskDeletedType = typeof onTaskDeleted$1;
6180
6188
  /**
6181
6189
  * Triggered when a task is deleted.
6182
6190
  */
6183
6191
  declare const onTaskDeleted: ReturnType<typeof createEventModule<_publicOnTaskDeletedType>>;
6184
6192
 
6193
+ type _publicOnTaskOverdueType = typeof onTaskOverdue$1;
6194
+ /**
6195
+ * Triggered when a task reaches its due date.
6196
+ */
6197
+ declare const onTaskOverdue: ReturnType<typeof createEventModule<_publicOnTaskOverdueType>>;
6198
+
6199
+ type _publicOnTaskUpdatedType = typeof onTaskUpdated$1;
6200
+ /**
6201
+ * Triggered when a task is updated.
6202
+ */
6203
+ declare const onTaskUpdated: ReturnType<typeof createEventModule<_publicOnTaskUpdatedType>>;
6204
+
6185
6205
  type index_d_ActionEvent = ActionEvent;
6186
6206
  type index_d_BaseEventMetadata = BaseEventMetadata;
6187
6207
  type index_d_ContactInfo = ContactInfo;
@@ -6230,6 +6250,7 @@ type index_d_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
6230
6250
  type index_d_ReminderType = ReminderType;
6231
6251
  declare const index_d_ReminderType: typeof ReminderType;
6232
6252
  type index_d_RepositionTask = RepositionTask;
6253
+ type index_d_RestoreInfo = RestoreInfo;
6233
6254
  type index_d_SendTasksReminderRequest = SendTasksReminderRequest;
6234
6255
  type index_d_SendTasksReminderResponse = SendTasksReminderResponse;
6235
6256
  type index_d_SortOrder = SortOrder;
@@ -6273,7 +6294,7 @@ declare const index_d_onTaskUpdated: typeof onTaskUpdated;
6273
6294
  declare const index_d_queryTasks: typeof queryTasks;
6274
6295
  declare const index_d_updateTask: typeof updateTask;
6275
6296
  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 };
6297
+ 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
6298
  }
6278
6299
 
6279
6300
  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 };
@@ -2145,19 +2145,11 @@ interface ExtendedField$1 {
2145
2145
  displayName?: string;
2146
2146
  /**
2147
2147
  * Type of data the field holds.
2148
- *
2149
- * - `TEXT`: Accepts strings.
2150
- * - `NUMBER`: Accepts floats.
2151
- * - `DATE`: Accepts dates formatted as `YYYY-MM-DD`.
2152
- * - `URL`: Accepts strings. Prepends `https://` if no protocol is included.
2153
2148
  * @readonly
2154
2149
  */
2155
2150
  dataType?: FieldDataType$1;
2156
2151
  /**
2157
2152
  * Indicates whether the extended field is a system field or custom field.
2158
- *
2159
- * - `SYSTEM`: The field is a system field managed by Wix. System fields cannot be modified by 3rd-party apps or site contributors.
2160
- * - `USER_DEFINED`: The field is a custom field and can be modified by 3rd-party apps or site contributors.
2161
2153
  * @readonly
2162
2154
  */
2163
2155
  fieldType?: FieldType$1;
@@ -2178,29 +2170,39 @@ interface ExtendedField$1 {
2178
2170
  description?: string | null;
2179
2171
  }
2180
2172
  declare enum FieldDataType$1 {
2173
+ /** Undefined data type. */
2181
2174
  UNKNOWN_DATA_TYPE = "UNKNOWN_DATA_TYPE",
2175
+ /** Accepts strings. */
2182
2176
  TEXT = "TEXT",
2177
+ /** Accepts floats. */
2183
2178
  NUMBER = "NUMBER",
2179
+ /** Accepts dates formatted as `YYYY-MM-DD`. */
2184
2180
  DATE = "DATE",
2181
+ /** Accepts strings. Prepends `https://` if no protocol is included. */
2185
2182
  URL = "URL"
2186
2183
  }
2187
2184
  declare enum FieldType$1 {
2185
+ /** Undefined field type. */
2188
2186
  UNKNOWN = "UNKNOWN",
2187
+ /** The field is a system field managed by Wix. System fields cannot be modified by 3rd-party apps or site contributors. */
2189
2188
  SYSTEM = "SYSTEM",
2189
+ /** The field is a custom field and can be modified by 3rd-party apps or site contributors. */
2190
2190
  USER_DEFINED = "USER_DEFINED"
2191
2191
  }
2192
2192
  interface Sorting$5 {
2193
2193
  /** Name of the field to sort by. */
2194
2194
  fieldName?: string;
2195
2195
  /**
2196
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
2196
+ * Sort order.
2197
2197
  *
2198
- * Defaults to `ASC`.
2198
+ * Default: `ASC`.
2199
2199
  */
2200
2200
  order?: SortOrder$5;
2201
2201
  }
2202
2202
  declare enum SortOrder$5 {
2203
+ /** Sort by ascending order. */
2203
2204
  ASC = "ASC",
2205
+ /** Sort by descending order. */
2204
2206
  DESC = "DESC"
2205
2207
  }
2206
2208
  interface Paging$3 {
@@ -2415,29 +2417,39 @@ interface ExtendedField {
2415
2417
  description?: string | null;
2416
2418
  }
2417
2419
  declare enum FieldDataType {
2420
+ /** Undefined data type. */
2418
2421
  UNKNOWN_DATA_TYPE = "UNKNOWN_DATA_TYPE",
2422
+ /** Accepts strings. */
2419
2423
  TEXT = "TEXT",
2424
+ /** Accepts floats. */
2420
2425
  NUMBER = "NUMBER",
2426
+ /** Accepts dates formatted as `YYYY-MM-DD`. */
2421
2427
  DATE = "DATE",
2428
+ /** Accepts strings. Prepends `https://` if no protocol is included. */
2422
2429
  URL = "URL"
2423
2430
  }
2424
2431
  declare enum FieldType {
2432
+ /** Undefined field type. */
2425
2433
  UNKNOWN = "UNKNOWN",
2434
+ /** The field is a system field managed by Wix. System fields cannot be modified by 3rd-party apps or site contributors. */
2426
2435
  SYSTEM = "SYSTEM",
2436
+ /** The field is a custom field and can be modified by 3rd-party apps or site contributors. */
2427
2437
  USER_DEFINED = "USER_DEFINED"
2428
2438
  }
2429
2439
  interface Sorting$4 {
2430
2440
  /** Name of the field to sort by. */
2431
2441
  fieldName?: string;
2432
2442
  /**
2433
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
2443
+ * Sort order.
2434
2444
  *
2435
- * Defaults to `ASC`.
2445
+ * Default: `ASC`.
2436
2446
  */
2437
2447
  order?: SortOrder$4;
2438
2448
  }
2439
2449
  declare enum SortOrder$4 {
2450
+ /** Sort by ascending order. */
2440
2451
  ASC = "ASC",
2452
+ /** Sort by descending order. */
2441
2453
  DESC = "DESC"
2442
2454
  }
2443
2455
  interface Paging$2 {
@@ -3717,8 +3729,11 @@ interface Task$1 {
3717
3729
  }
3718
3730
  /** Possible statuses in which the task may be. */
3719
3731
  declare enum TaskStatus$1 {
3732
+ /** Undefined task status. */
3720
3733
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
3734
+ /** Action needed. */
3721
3735
  ACTION_NEEDED = "ACTION_NEEDED",
3736
+ /** Task completed. */
3722
3737
  COMPLETED = "COMPLETED"
3723
3738
  }
3724
3739
  interface TaskSource$1 {
@@ -3740,8 +3755,11 @@ interface TaskSource$1 {
3740
3755
  }
3741
3756
  /** Possible sources that can create tasks. */
3742
3757
  declare enum SourceType$1 {
3758
+ /** Undefined source type. */
3743
3759
  UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
3760
+ /** Task was created by an app. */
3744
3761
  APP = "APP",
3762
+ /** Task was created by a user. */
3745
3763
  USER = "USER"
3746
3764
  }
3747
3765
  interface ContactInfo$1 {
@@ -3837,7 +3855,9 @@ interface Sorting$1 {
3837
3855
  order?: SortOrder$1;
3838
3856
  }
3839
3857
  declare enum SortOrder$1 {
3858
+ /** Sort by ascending order. */
3840
3859
  ASC = "ASC",
3860
+ /** Sort by descending order. */
3841
3861
  DESC = "DESC"
3842
3862
  }
3843
3863
  interface CursorPaging$1 {
@@ -3967,8 +3987,11 @@ interface Task {
3967
3987
  }
3968
3988
  /** Possible statuses in which the task may be. */
3969
3989
  declare enum TaskStatus {
3990
+ /** Undefined task status. */
3970
3991
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
3992
+ /** Action needed. */
3971
3993
  ACTION_NEEDED = "ACTION_NEEDED",
3994
+ /** Task completed. */
3972
3995
  COMPLETED = "COMPLETED"
3973
3996
  }
3974
3997
  interface TaskSource {
@@ -3990,8 +4013,11 @@ interface TaskSource {
3990
4013
  }
3991
4014
  /** Possible sources that can create tasks. */
3992
4015
  declare enum SourceType {
4016
+ /** Undefined source type. */
3993
4017
  UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
4018
+ /** Task was created by an app. */
3994
4019
  APP = "APP",
4020
+ /** Task was created by a user. */
3995
4021
  USER = "USER"
3996
4022
  }
3997
4023
  interface ContactInfo {
@@ -4087,7 +4113,9 @@ interface Sorting {
4087
4113
  order?: SortOrder;
4088
4114
  }
4089
4115
  declare enum SortOrder {
4116
+ /** Sort by ascending order. */
4090
4117
  ASC = "ASC",
4118
+ /** Sort by descending order. */
4091
4119
  DESC = "DESC"
4092
4120
  }
4093
4121
  interface CursorPaging {