@wix/crm 1.0.140 → 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.140",
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",
27
- "@wix/crm_labels": "1.0.46",
26
+ "@wix/crm_extended-fields": "1.0.48",
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": "884989bc3aac07c600cbaeda8d8b6b4693b01298e2d9fdb62a7c2406"
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. */
@@ -4034,10 +4044,13 @@ interface ContactLabel {
4034
4044
  _updatedDate?: Date | null;
4035
4045
  }
4036
4046
  declare enum LabelType {
4037
- /** Need UNKNOWN to be able to fetch all labels */
4047
+ /** Fetch all labels. */
4038
4048
  UNKNOWN = "UNKNOWN",
4049
+ /** Default system label for the Contact List. */
4039
4050
  SYSTEM = "SYSTEM",
4051
+ /** Label created by a site contributor or 3rd-party app. */
4040
4052
  USER_DEFINED = "USER_DEFINED",
4053
+ /** Label created by a Wix app. */
4041
4054
  WIX_APP_DEFINED = "WIX_APP_DEFINED"
4042
4055
  }
4043
4056
  /** Label filter options. */
@@ -4059,14 +4072,16 @@ interface Sorting$1 {
4059
4072
  /** Name of the field to sort by. */
4060
4073
  fieldName?: string;
4061
4074
  /**
4062
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
4075
+ * Sort order.
4063
4076
  *
4064
- * Defaults to `ASC`.
4077
+ * Default: `ASC`.
4065
4078
  */
4066
4079
  order?: SortOrder$1;
4067
4080
  }
4068
4081
  declare enum SortOrder$1 {
4082
+ /** Sort by ascending order. */
4069
4083
  ASC = "ASC",
4084
+ /** Sort by descending order. */
4070
4085
  DESC = "DESC"
4071
4086
  }
4072
4087
  interface Paging$1 {
@@ -4302,7 +4317,7 @@ interface DomainEventBodyOneOf$1 {
4302
4317
  interface EntityCreatedEvent$1 {
4303
4318
  entity?: string;
4304
4319
  }
4305
- interface RestoreInfo {
4320
+ interface RestoreInfo$1 {
4306
4321
  deletedDate?: Date | null;
4307
4322
  }
4308
4323
  interface EntityUpdatedEvent$1 {
@@ -4428,11 +4443,11 @@ interface LabelCreatedEnvelope {
4428
4443
  entity: ContactLabel;
4429
4444
  metadata: EventMetadata$1;
4430
4445
  }
4431
- interface LabelUpdatedEnvelope {
4432
- entity: ContactLabel;
4446
+ interface LabelDeletedEnvelope {
4433
4447
  metadata: EventMetadata$1;
4434
4448
  }
4435
- interface LabelDeletedEnvelope {
4449
+ interface LabelUpdatedEnvelope {
4450
+ entity: ContactLabel;
4436
4451
  metadata: EventMetadata$1;
4437
4452
  }
4438
4453
  interface FindOrCreateLabelOptions {
@@ -4672,8 +4687,8 @@ interface QueryLabelsSignature {
4672
4687
  (options?: QueryLabelsOptions | undefined): LabelsQueryBuilder;
4673
4688
  }
4674
4689
  declare const onLabelCreated$1: EventDefinition<LabelCreatedEnvelope, "wix.contacts.v4.label_created">;
4675
- declare const onLabelUpdated$1: EventDefinition<LabelUpdatedEnvelope, "wix.contacts.v4.label_updated">;
4676
4690
  declare const onLabelDeleted$1: EventDefinition<LabelDeletedEnvelope, "wix.contacts.v4.label_deleted">;
4691
+ declare const onLabelUpdated$1: EventDefinition<LabelUpdatedEnvelope, "wix.contacts.v4.label_updated">;
4677
4692
 
4678
4693
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4679
4694
 
@@ -4689,18 +4704,18 @@ type _publicOnLabelCreatedType = typeof onLabelCreated$1;
4689
4704
  */
4690
4705
  declare const onLabelCreated: ReturnType<typeof createEventModule$1<_publicOnLabelCreatedType>>;
4691
4706
 
4692
- type _publicOnLabelUpdatedType = typeof onLabelUpdated$1;
4693
- /**
4694
- * Triggered when a label is updated.
4695
- */
4696
- declare const onLabelUpdated: ReturnType<typeof createEventModule$1<_publicOnLabelUpdatedType>>;
4697
-
4698
4707
  type _publicOnLabelDeletedType = typeof onLabelDeleted$1;
4699
4708
  /**
4700
4709
  * Triggered when a label is deleted.
4701
4710
  */
4702
4711
  declare const onLabelDeleted: ReturnType<typeof createEventModule$1<_publicOnLabelDeletedType>>;
4703
4712
 
4713
+ type _publicOnLabelUpdatedType = typeof onLabelUpdated$1;
4714
+ /**
4715
+ * Triggered when a label is updated.
4716
+ */
4717
+ declare const onLabelUpdated: ReturnType<typeof createEventModule$1<_publicOnLabelUpdatedType>>;
4718
+
4704
4719
  type context$2_ContactLabel = ContactLabel;
4705
4720
  type context$2_ContactLabelNamespace = ContactLabelNamespace;
4706
4721
  type context$2_ContactLabelNonNullableFields = ContactLabelNonNullableFields;
@@ -4740,7 +4755,6 @@ type context$2_QueryLabelsResponse = QueryLabelsResponse;
4740
4755
  type context$2_QueryLabelsResponseNonNullableFields = QueryLabelsResponseNonNullableFields;
4741
4756
  type context$2_RenameLabel = RenameLabel;
4742
4757
  type context$2_RenameLabelOptions = RenameLabelOptions;
4743
- type context$2_RestoreInfo = RestoreInfo;
4744
4758
  type context$2_UpdateLabelRequest = UpdateLabelRequest;
4745
4759
  type context$2_UpdateLabelResponse = UpdateLabelResponse;
4746
4760
  type context$2_UpdateLabelResponseNonNullableFields = UpdateLabelResponseNonNullableFields;
@@ -4756,7 +4770,7 @@ declare const context$2_onLabelUpdated: typeof onLabelUpdated;
4756
4770
  declare const context$2_queryLabels: typeof queryLabels;
4757
4771
  declare const context$2_renameLabel: typeof renameLabel;
4758
4772
  declare namespace context$2 {
4759
- 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 };
4760
4774
  }
4761
4775
 
4762
4776
  /** Dummy message for fqdn validation */
@@ -5451,8 +5465,11 @@ interface Task {
5451
5465
  }
5452
5466
  /** Possible statuses in which the task may be. */
5453
5467
  declare enum TaskStatus {
5468
+ /** Undefined task status. */
5454
5469
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
5470
+ /** Action needed. */
5455
5471
  ACTION_NEEDED = "ACTION_NEEDED",
5472
+ /** Task completed. */
5456
5473
  COMPLETED = "COMPLETED"
5457
5474
  }
5458
5475
  interface TaskSource {
@@ -5474,8 +5491,11 @@ interface TaskSource {
5474
5491
  }
5475
5492
  /** Possible sources that can create tasks. */
5476
5493
  declare enum SourceType {
5494
+ /** Undefined source type. */
5477
5495
  UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
5496
+ /** Task was created by an app. */
5478
5497
  APP = "APP",
5498
+ /** Task was created by a user. */
5479
5499
  USER = "USER"
5480
5500
  }
5481
5501
  interface ContactInfo {
@@ -5611,7 +5631,9 @@ interface Sorting {
5611
5631
  order?: SortOrder;
5612
5632
  }
5613
5633
  declare enum SortOrder {
5634
+ /** Sort by ascending order. */
5614
5635
  ASC = "ASC",
5636
+ /** Sort by descending order. */
5615
5637
  DESC = "DESC"
5616
5638
  }
5617
5639
  interface CursorPaging {
@@ -5767,7 +5789,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
5767
5789
  slug?: string;
5768
5790
  /** ID of the entity associated with the event. */
5769
5791
  entityId?: string;
5770
- /** 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 */
5771
5793
  eventTime?: Date | null;
5772
5794
  /**
5773
5795
  * Whether the event was triggered as a result of a privacy regulation application
@@ -5796,6 +5818,9 @@ interface DomainEventBodyOneOf {
5796
5818
  interface EntityCreatedEvent {
5797
5819
  entity?: string;
5798
5820
  }
5821
+ interface RestoreInfo {
5822
+ deletedDate?: Date | null;
5823
+ }
5799
5824
  interface EntityUpdatedEvent {
5800
5825
  /**
5801
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.
@@ -5900,7 +5925,7 @@ interface EventMetadata extends BaseEventMetadata {
5900
5925
  slug?: string;
5901
5926
  /** ID of the entity associated with the event. */
5902
5927
  entityId?: string;
5903
- /** 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 */
5904
5929
  eventTime?: Date | null;
5905
5930
  /**
5906
5931
  * Whether the event was triggered as a result of a privacy regulation application
@@ -5919,19 +5944,19 @@ interface EventMetadata extends BaseEventMetadata {
5919
5944
  */
5920
5945
  entityEventSequence?: string | null;
5921
5946
  }
5922
- interface TaskOverdueEnvelope {
5923
- data: TaskOverdue;
5924
- metadata: EventMetadata;
5925
- }
5926
5947
  interface TaskCreatedEnvelope {
5927
5948
  entity: Task;
5928
5949
  metadata: EventMetadata;
5929
5950
  }
5930
- interface TaskUpdatedEnvelope {
5931
- entity: Task;
5951
+ interface TaskDeletedEnvelope {
5932
5952
  metadata: EventMetadata;
5933
5953
  }
5934
- interface TaskDeletedEnvelope {
5954
+ interface TaskOverdueEnvelope {
5955
+ data: TaskOverdue;
5956
+ metadata: EventMetadata;
5957
+ }
5958
+ interface TaskUpdatedEnvelope {
5959
+ entity: Task;
5935
5960
  metadata: EventMetadata;
5936
5961
  }
5937
5962
  interface UpdateTask {
@@ -6138,10 +6163,10 @@ interface MoveTaskAfterSignature {
6138
6163
  */
6139
6164
  (taskId: string, options?: MoveTaskAfterOptions | undefined): Promise<void>;
6140
6165
  }
6141
- declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
6142
6166
  declare const onTaskCreated$1: EventDefinition<TaskCreatedEnvelope, "wix.crm.tasks.v2.task_created">;
6143
- declare const onTaskUpdated$1: EventDefinition<TaskUpdatedEnvelope, "wix.crm.tasks.v2.task_updated">;
6144
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">;
6145
6170
 
6146
6171
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
6147
6172
 
@@ -6153,30 +6178,30 @@ declare const queryTasks: MaybeContext<BuildRESTFunction<typeof queryTasks$1> &
6153
6178
  declare const countTasks: MaybeContext<BuildRESTFunction<typeof countTasks$1> & typeof countTasks$1>;
6154
6179
  declare const moveTaskAfter: MaybeContext<BuildRESTFunction<typeof moveTaskAfter$1> & typeof moveTaskAfter$1>;
6155
6180
 
6156
- type _publicOnTaskOverdueType = typeof onTaskOverdue$1;
6157
- /**
6158
- * Triggered when a task reaches its due date.
6159
- */
6160
- declare const onTaskOverdue: ReturnType<typeof createEventModule<_publicOnTaskOverdueType>>;
6161
-
6162
6181
  type _publicOnTaskCreatedType = typeof onTaskCreated$1;
6163
6182
  /**
6164
6183
  * Triggered when a task is created.
6165
6184
  */
6166
6185
  declare const onTaskCreated: ReturnType<typeof createEventModule<_publicOnTaskCreatedType>>;
6167
6186
 
6168
- type _publicOnTaskUpdatedType = typeof onTaskUpdated$1;
6169
- /**
6170
- * Triggered when a task is updated.
6171
- */
6172
- declare const onTaskUpdated: ReturnType<typeof createEventModule<_publicOnTaskUpdatedType>>;
6173
-
6174
6187
  type _publicOnTaskDeletedType = typeof onTaskDeleted$1;
6175
6188
  /**
6176
6189
  * Triggered when a task is deleted.
6177
6190
  */
6178
6191
  declare const onTaskDeleted: ReturnType<typeof createEventModule<_publicOnTaskDeletedType>>;
6179
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
+
6180
6205
  type context_ActionEvent = ActionEvent;
6181
6206
  type context_BaseEventMetadata = BaseEventMetadata;
6182
6207
  type context_ContactInfo = ContactInfo;
@@ -6225,6 +6250,7 @@ type context_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
6225
6250
  type context_ReminderType = ReminderType;
6226
6251
  declare const context_ReminderType: typeof ReminderType;
6227
6252
  type context_RepositionTask = RepositionTask;
6253
+ type context_RestoreInfo = RestoreInfo;
6228
6254
  type context_SendTasksReminderRequest = SendTasksReminderRequest;
6229
6255
  type context_SendTasksReminderResponse = SendTasksReminderResponse;
6230
6256
  type context_SortOrder = SortOrder;
@@ -6268,7 +6294,7 @@ declare const context_onTaskUpdated: typeof onTaskUpdated;
6268
6294
  declare const context_queryTasks: typeof queryTasks;
6269
6295
  declare const context_updateTask: typeof updateTask;
6270
6296
  declare namespace context {
6271
- 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 };
6272
6298
  }
6273
6299
 
6274
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. */
@@ -4034,10 +4044,13 @@ interface ContactLabel {
4034
4044
  _updatedDate?: Date | null;
4035
4045
  }
4036
4046
  declare enum LabelType {
4037
- /** Need UNKNOWN to be able to fetch all labels */
4047
+ /** Fetch all labels. */
4038
4048
  UNKNOWN = "UNKNOWN",
4049
+ /** Default system label for the Contact List. */
4039
4050
  SYSTEM = "SYSTEM",
4051
+ /** Label created by a site contributor or 3rd-party app. */
4040
4052
  USER_DEFINED = "USER_DEFINED",
4053
+ /** Label created by a Wix app. */
4041
4054
  WIX_APP_DEFINED = "WIX_APP_DEFINED"
4042
4055
  }
4043
4056
  /** Label filter options. */
@@ -4059,14 +4072,16 @@ interface Sorting$1 {
4059
4072
  /** Name of the field to sort by. */
4060
4073
  fieldName?: string;
4061
4074
  /**
4062
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
4075
+ * Sort order.
4063
4076
  *
4064
- * Defaults to `ASC`.
4077
+ * Default: `ASC`.
4065
4078
  */
4066
4079
  order?: SortOrder$1;
4067
4080
  }
4068
4081
  declare enum SortOrder$1 {
4082
+ /** Sort by ascending order. */
4069
4083
  ASC = "ASC",
4084
+ /** Sort by descending order. */
4070
4085
  DESC = "DESC"
4071
4086
  }
4072
4087
  interface Paging$1 {
@@ -4302,7 +4317,7 @@ interface DomainEventBodyOneOf$1 {
4302
4317
  interface EntityCreatedEvent$1 {
4303
4318
  entity?: string;
4304
4319
  }
4305
- interface RestoreInfo {
4320
+ interface RestoreInfo$1 {
4306
4321
  deletedDate?: Date | null;
4307
4322
  }
4308
4323
  interface EntityUpdatedEvent$1 {
@@ -4428,11 +4443,11 @@ interface LabelCreatedEnvelope {
4428
4443
  entity: ContactLabel;
4429
4444
  metadata: EventMetadata$1;
4430
4445
  }
4431
- interface LabelUpdatedEnvelope {
4432
- entity: ContactLabel;
4446
+ interface LabelDeletedEnvelope {
4433
4447
  metadata: EventMetadata$1;
4434
4448
  }
4435
- interface LabelDeletedEnvelope {
4449
+ interface LabelUpdatedEnvelope {
4450
+ entity: ContactLabel;
4436
4451
  metadata: EventMetadata$1;
4437
4452
  }
4438
4453
  interface FindOrCreateLabelOptions {
@@ -4672,8 +4687,8 @@ interface QueryLabelsSignature {
4672
4687
  (options?: QueryLabelsOptions | undefined): LabelsQueryBuilder;
4673
4688
  }
4674
4689
  declare const onLabelCreated$1: EventDefinition<LabelCreatedEnvelope, "wix.contacts.v4.label_created">;
4675
- declare const onLabelUpdated$1: EventDefinition<LabelUpdatedEnvelope, "wix.contacts.v4.label_updated">;
4676
4690
  declare const onLabelDeleted$1: EventDefinition<LabelDeletedEnvelope, "wix.contacts.v4.label_deleted">;
4691
+ declare const onLabelUpdated$1: EventDefinition<LabelUpdatedEnvelope, "wix.contacts.v4.label_updated">;
4677
4692
 
4678
4693
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4679
4694
 
@@ -4689,18 +4704,18 @@ type _publicOnLabelCreatedType = typeof onLabelCreated$1;
4689
4704
  */
4690
4705
  declare const onLabelCreated: ReturnType<typeof createEventModule$1<_publicOnLabelCreatedType>>;
4691
4706
 
4692
- type _publicOnLabelUpdatedType = typeof onLabelUpdated$1;
4693
- /**
4694
- * Triggered when a label is updated.
4695
- */
4696
- declare const onLabelUpdated: ReturnType<typeof createEventModule$1<_publicOnLabelUpdatedType>>;
4697
-
4698
4707
  type _publicOnLabelDeletedType = typeof onLabelDeleted$1;
4699
4708
  /**
4700
4709
  * Triggered when a label is deleted.
4701
4710
  */
4702
4711
  declare const onLabelDeleted: ReturnType<typeof createEventModule$1<_publicOnLabelDeletedType>>;
4703
4712
 
4713
+ type _publicOnLabelUpdatedType = typeof onLabelUpdated$1;
4714
+ /**
4715
+ * Triggered when a label is updated.
4716
+ */
4717
+ declare const onLabelUpdated: ReturnType<typeof createEventModule$1<_publicOnLabelUpdatedType>>;
4718
+
4704
4719
  type index_d$2_ContactLabel = ContactLabel;
4705
4720
  type index_d$2_ContactLabelNamespace = ContactLabelNamespace;
4706
4721
  type index_d$2_ContactLabelNonNullableFields = ContactLabelNonNullableFields;
@@ -4740,7 +4755,6 @@ type index_d$2_QueryLabelsResponse = QueryLabelsResponse;
4740
4755
  type index_d$2_QueryLabelsResponseNonNullableFields = QueryLabelsResponseNonNullableFields;
4741
4756
  type index_d$2_RenameLabel = RenameLabel;
4742
4757
  type index_d$2_RenameLabelOptions = RenameLabelOptions;
4743
- type index_d$2_RestoreInfo = RestoreInfo;
4744
4758
  type index_d$2_UpdateLabelRequest = UpdateLabelRequest;
4745
4759
  type index_d$2_UpdateLabelResponse = UpdateLabelResponse;
4746
4760
  type index_d$2_UpdateLabelResponseNonNullableFields = UpdateLabelResponseNonNullableFields;
@@ -4756,7 +4770,7 @@ declare const index_d$2_onLabelUpdated: typeof onLabelUpdated;
4756
4770
  declare const index_d$2_queryLabels: typeof queryLabels;
4757
4771
  declare const index_d$2_renameLabel: typeof renameLabel;
4758
4772
  declare namespace index_d$2 {
4759
- 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 };
4760
4774
  }
4761
4775
 
4762
4776
  /** Dummy message for fqdn validation */
@@ -5451,8 +5465,11 @@ interface Task {
5451
5465
  }
5452
5466
  /** Possible statuses in which the task may be. */
5453
5467
  declare enum TaskStatus {
5468
+ /** Undefined task status. */
5454
5469
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
5470
+ /** Action needed. */
5455
5471
  ACTION_NEEDED = "ACTION_NEEDED",
5472
+ /** Task completed. */
5456
5473
  COMPLETED = "COMPLETED"
5457
5474
  }
5458
5475
  interface TaskSource {
@@ -5474,8 +5491,11 @@ interface TaskSource {
5474
5491
  }
5475
5492
  /** Possible sources that can create tasks. */
5476
5493
  declare enum SourceType {
5494
+ /** Undefined source type. */
5477
5495
  UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
5496
+ /** Task was created by an app. */
5478
5497
  APP = "APP",
5498
+ /** Task was created by a user. */
5479
5499
  USER = "USER"
5480
5500
  }
5481
5501
  interface ContactInfo {
@@ -5611,7 +5631,9 @@ interface Sorting {
5611
5631
  order?: SortOrder;
5612
5632
  }
5613
5633
  declare enum SortOrder {
5634
+ /** Sort by ascending order. */
5614
5635
  ASC = "ASC",
5636
+ /** Sort by descending order. */
5615
5637
  DESC = "DESC"
5616
5638
  }
5617
5639
  interface CursorPaging {
@@ -5767,7 +5789,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
5767
5789
  slug?: string;
5768
5790
  /** ID of the entity associated with the event. */
5769
5791
  entityId?: string;
5770
- /** 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 */
5771
5793
  eventTime?: Date | null;
5772
5794
  /**
5773
5795
  * Whether the event was triggered as a result of a privacy regulation application
@@ -5796,6 +5818,9 @@ interface DomainEventBodyOneOf {
5796
5818
  interface EntityCreatedEvent {
5797
5819
  entity?: string;
5798
5820
  }
5821
+ interface RestoreInfo {
5822
+ deletedDate?: Date | null;
5823
+ }
5799
5824
  interface EntityUpdatedEvent {
5800
5825
  /**
5801
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.
@@ -5900,7 +5925,7 @@ interface EventMetadata extends BaseEventMetadata {
5900
5925
  slug?: string;
5901
5926
  /** ID of the entity associated with the event. */
5902
5927
  entityId?: string;
5903
- /** 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 */
5904
5929
  eventTime?: Date | null;
5905
5930
  /**
5906
5931
  * Whether the event was triggered as a result of a privacy regulation application
@@ -5919,19 +5944,19 @@ interface EventMetadata extends BaseEventMetadata {
5919
5944
  */
5920
5945
  entityEventSequence?: string | null;
5921
5946
  }
5922
- interface TaskOverdueEnvelope {
5923
- data: TaskOverdue;
5924
- metadata: EventMetadata;
5925
- }
5926
5947
  interface TaskCreatedEnvelope {
5927
5948
  entity: Task;
5928
5949
  metadata: EventMetadata;
5929
5950
  }
5930
- interface TaskUpdatedEnvelope {
5931
- entity: Task;
5951
+ interface TaskDeletedEnvelope {
5932
5952
  metadata: EventMetadata;
5933
5953
  }
5934
- interface TaskDeletedEnvelope {
5954
+ interface TaskOverdueEnvelope {
5955
+ data: TaskOverdue;
5956
+ metadata: EventMetadata;
5957
+ }
5958
+ interface TaskUpdatedEnvelope {
5959
+ entity: Task;
5935
5960
  metadata: EventMetadata;
5936
5961
  }
5937
5962
  interface UpdateTask {
@@ -6138,10 +6163,10 @@ interface MoveTaskAfterSignature {
6138
6163
  */
6139
6164
  (taskId: string, options?: MoveTaskAfterOptions | undefined): Promise<void>;
6140
6165
  }
6141
- declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
6142
6166
  declare const onTaskCreated$1: EventDefinition<TaskCreatedEnvelope, "wix.crm.tasks.v2.task_created">;
6143
- declare const onTaskUpdated$1: EventDefinition<TaskUpdatedEnvelope, "wix.crm.tasks.v2.task_updated">;
6144
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">;
6145
6170
 
6146
6171
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
6147
6172
 
@@ -6153,30 +6178,30 @@ declare const queryTasks: MaybeContext<BuildRESTFunction<typeof queryTasks$1> &
6153
6178
  declare const countTasks: MaybeContext<BuildRESTFunction<typeof countTasks$1> & typeof countTasks$1>;
6154
6179
  declare const moveTaskAfter: MaybeContext<BuildRESTFunction<typeof moveTaskAfter$1> & typeof moveTaskAfter$1>;
6155
6180
 
6156
- type _publicOnTaskOverdueType = typeof onTaskOverdue$1;
6157
- /**
6158
- * Triggered when a task reaches its due date.
6159
- */
6160
- declare const onTaskOverdue: ReturnType<typeof createEventModule<_publicOnTaskOverdueType>>;
6161
-
6162
6181
  type _publicOnTaskCreatedType = typeof onTaskCreated$1;
6163
6182
  /**
6164
6183
  * Triggered when a task is created.
6165
6184
  */
6166
6185
  declare const onTaskCreated: ReturnType<typeof createEventModule<_publicOnTaskCreatedType>>;
6167
6186
 
6168
- type _publicOnTaskUpdatedType = typeof onTaskUpdated$1;
6169
- /**
6170
- * Triggered when a task is updated.
6171
- */
6172
- declare const onTaskUpdated: ReturnType<typeof createEventModule<_publicOnTaskUpdatedType>>;
6173
-
6174
6187
  type _publicOnTaskDeletedType = typeof onTaskDeleted$1;
6175
6188
  /**
6176
6189
  * Triggered when a task is deleted.
6177
6190
  */
6178
6191
  declare const onTaskDeleted: ReturnType<typeof createEventModule<_publicOnTaskDeletedType>>;
6179
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
+
6180
6205
  type index_d_ActionEvent = ActionEvent;
6181
6206
  type index_d_BaseEventMetadata = BaseEventMetadata;
6182
6207
  type index_d_ContactInfo = ContactInfo;
@@ -6225,6 +6250,7 @@ type index_d_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
6225
6250
  type index_d_ReminderType = ReminderType;
6226
6251
  declare const index_d_ReminderType: typeof ReminderType;
6227
6252
  type index_d_RepositionTask = RepositionTask;
6253
+ type index_d_RestoreInfo = RestoreInfo;
6228
6254
  type index_d_SendTasksReminderRequest = SendTasksReminderRequest;
6229
6255
  type index_d_SendTasksReminderResponse = SendTasksReminderResponse;
6230
6256
  type index_d_SortOrder = SortOrder;
@@ -6268,7 +6294,7 @@ declare const index_d_onTaskUpdated: typeof onTaskUpdated;
6268
6294
  declare const index_d_queryTasks: typeof queryTasks;
6269
6295
  declare const index_d_updateTask: typeof updateTask;
6270
6296
  declare namespace index_d {
6271
- 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 };
6272
6298
  }
6273
6299
 
6274
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 {
@@ -2649,10 +2661,6 @@ interface ContactLabel$1 {
2649
2661
  displayName?: string;
2650
2662
  /**
2651
2663
  * Label type indicating how the label was created.
2652
- *
2653
- * - `SYSTEM`: Default system label for the Contact List.
2654
- * - `USER_DEFINED`: Label created by a site contributor or 3rd-party app.
2655
- * - `WIX_APP_DEFINED`: Label created by a Wix app.
2656
2664
  * @readonly
2657
2665
  */
2658
2666
  labelType?: LabelType$1;
@@ -2668,24 +2676,29 @@ interface ContactLabel$1 {
2668
2676
  updatedDate?: Date | null;
2669
2677
  }
2670
2678
  declare enum LabelType$1 {
2671
- /** Need UNKNOWN to be able to fetch all labels */
2679
+ /** Fetch all labels. */
2672
2680
  UNKNOWN = "UNKNOWN",
2681
+ /** Default system label for the Contact List. */
2673
2682
  SYSTEM = "SYSTEM",
2683
+ /** Label created by a site contributor or 3rd-party app. */
2674
2684
  USER_DEFINED = "USER_DEFINED",
2685
+ /** Label created by a Wix app. */
2675
2686
  WIX_APP_DEFINED = "WIX_APP_DEFINED"
2676
2687
  }
2677
2688
  interface Sorting$3 {
2678
2689
  /** Name of the field to sort by. */
2679
2690
  fieldName?: string;
2680
2691
  /**
2681
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
2692
+ * Sort order.
2682
2693
  *
2683
- * Defaults to `ASC`.
2694
+ * Default: `ASC`.
2684
2695
  */
2685
2696
  order?: SortOrder$3;
2686
2697
  }
2687
2698
  declare enum SortOrder$3 {
2699
+ /** Sort by ascending order. */
2688
2700
  ASC = "ASC",
2701
+ /** Sort by descending order. */
2689
2702
  DESC = "DESC"
2690
2703
  }
2691
2704
  interface Paging$1 {
@@ -2874,24 +2887,29 @@ interface ContactLabel {
2874
2887
  _updatedDate?: Date | null;
2875
2888
  }
2876
2889
  declare enum LabelType {
2877
- /** Need UNKNOWN to be able to fetch all labels */
2890
+ /** Fetch all labels. */
2878
2891
  UNKNOWN = "UNKNOWN",
2892
+ /** Default system label for the Contact List. */
2879
2893
  SYSTEM = "SYSTEM",
2894
+ /** Label created by a site contributor or 3rd-party app. */
2880
2895
  USER_DEFINED = "USER_DEFINED",
2896
+ /** Label created by a Wix app. */
2881
2897
  WIX_APP_DEFINED = "WIX_APP_DEFINED"
2882
2898
  }
2883
2899
  interface Sorting$2 {
2884
2900
  /** Name of the field to sort by. */
2885
2901
  fieldName?: string;
2886
2902
  /**
2887
- * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
2903
+ * Sort order.
2888
2904
  *
2889
- * Defaults to `ASC`.
2905
+ * Default: `ASC`.
2890
2906
  */
2891
2907
  order?: SortOrder$2;
2892
2908
  }
2893
2909
  declare enum SortOrder$2 {
2910
+ /** Sort by ascending order. */
2894
2911
  ASC = "ASC",
2912
+ /** Sort by descending order. */
2895
2913
  DESC = "DESC"
2896
2914
  }
2897
2915
  interface Paging {
@@ -3711,8 +3729,11 @@ interface Task$1 {
3711
3729
  }
3712
3730
  /** Possible statuses in which the task may be. */
3713
3731
  declare enum TaskStatus$1 {
3732
+ /** Undefined task status. */
3714
3733
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
3734
+ /** Action needed. */
3715
3735
  ACTION_NEEDED = "ACTION_NEEDED",
3736
+ /** Task completed. */
3716
3737
  COMPLETED = "COMPLETED"
3717
3738
  }
3718
3739
  interface TaskSource$1 {
@@ -3734,8 +3755,11 @@ interface TaskSource$1 {
3734
3755
  }
3735
3756
  /** Possible sources that can create tasks. */
3736
3757
  declare enum SourceType$1 {
3758
+ /** Undefined source type. */
3737
3759
  UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
3760
+ /** Task was created by an app. */
3738
3761
  APP = "APP",
3762
+ /** Task was created by a user. */
3739
3763
  USER = "USER"
3740
3764
  }
3741
3765
  interface ContactInfo$1 {
@@ -3831,7 +3855,9 @@ interface Sorting$1 {
3831
3855
  order?: SortOrder$1;
3832
3856
  }
3833
3857
  declare enum SortOrder$1 {
3858
+ /** Sort by ascending order. */
3834
3859
  ASC = "ASC",
3860
+ /** Sort by descending order. */
3835
3861
  DESC = "DESC"
3836
3862
  }
3837
3863
  interface CursorPaging$1 {
@@ -3961,8 +3987,11 @@ interface Task {
3961
3987
  }
3962
3988
  /** Possible statuses in which the task may be. */
3963
3989
  declare enum TaskStatus {
3990
+ /** Undefined task status. */
3964
3991
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
3992
+ /** Action needed. */
3965
3993
  ACTION_NEEDED = "ACTION_NEEDED",
3994
+ /** Task completed. */
3966
3995
  COMPLETED = "COMPLETED"
3967
3996
  }
3968
3997
  interface TaskSource {
@@ -3984,8 +4013,11 @@ interface TaskSource {
3984
4013
  }
3985
4014
  /** Possible sources that can create tasks. */
3986
4015
  declare enum SourceType {
4016
+ /** Undefined source type. */
3987
4017
  UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
4018
+ /** Task was created by an app. */
3988
4019
  APP = "APP",
4020
+ /** Task was created by a user. */
3989
4021
  USER = "USER"
3990
4022
  }
3991
4023
  interface ContactInfo {
@@ -4081,7 +4113,9 @@ interface Sorting {
4081
4113
  order?: SortOrder;
4082
4114
  }
4083
4115
  declare enum SortOrder {
4116
+ /** Sort by ascending order. */
4084
4117
  ASC = "ASC",
4118
+ /** Sort by descending order. */
4085
4119
  DESC = "DESC"
4086
4120
  }
4087
4121
  interface CursorPaging {