@wix/crm 1.0.141 → 1.0.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -7
- package/type-bundles/context.bundle.d.ts +106 -82
- package/type-bundles/index.bundle.d.ts +106 -82
- package/type-bundles/meta.bundle.d.ts +40 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/crm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.143",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"type-bundles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wix/crm_attachments": "1.0.
|
|
25
|
-
"@wix/crm_contacts": "1.0.
|
|
26
|
-
"@wix/crm_extended-fields": "1.0.
|
|
24
|
+
"@wix/crm_attachments": "1.0.18",
|
|
25
|
+
"@wix/crm_contacts": "1.0.53",
|
|
26
|
+
"@wix/crm_extended-fields": "1.0.48",
|
|
27
27
|
"@wix/crm_labels": "1.0.47",
|
|
28
|
-
"@wix/crm_submitted-contact": "1.0.
|
|
29
|
-
"@wix/crm_tasks": "1.0.
|
|
28
|
+
"@wix/crm_submitted-contact": "1.0.40",
|
|
29
|
+
"@wix/crm_tasks": "1.0.47"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"glob": "^10.4.1",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"fqdn": ""
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"falconPackageHash": "
|
|
54
|
+
"falconPackageHash": "7e8e77235ff6d9795fb0eb86877fb0f30c641eb6cd9a6f5fdcf7efd4"
|
|
55
55
|
}
|
|
@@ -542,7 +542,7 @@ interface DomainEvent$4 extends DomainEventBodyOneOf$4 {
|
|
|
542
542
|
slug?: string;
|
|
543
543
|
/** ID of the entity associated with the event. */
|
|
544
544
|
entityId?: string;
|
|
545
|
-
/** Event timestamp. */
|
|
545
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
546
546
|
eventTime?: Date | null;
|
|
547
547
|
/**
|
|
548
548
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -571,6 +571,9 @@ interface DomainEventBodyOneOf$4 {
|
|
|
571
571
|
interface EntityCreatedEvent$4 {
|
|
572
572
|
entity?: string;
|
|
573
573
|
}
|
|
574
|
+
interface RestoreInfo$4 {
|
|
575
|
+
deletedDate?: Date | null;
|
|
576
|
+
}
|
|
574
577
|
interface EntityUpdatedEvent$4 {
|
|
575
578
|
/**
|
|
576
579
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
@@ -807,7 +810,7 @@ interface EventMetadata$4 extends BaseEventMetadata$4 {
|
|
|
807
810
|
slug?: string;
|
|
808
811
|
/** ID of the entity associated with the event. */
|
|
809
812
|
entityId?: string;
|
|
810
|
-
/** Event timestamp. */
|
|
813
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
811
814
|
eventTime?: Date | null;
|
|
812
815
|
/**
|
|
813
816
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -955,7 +958,7 @@ declare const context$5_listAttachments: typeof listAttachments;
|
|
|
955
958
|
declare const context$5_onAttachmentCreated: typeof onAttachmentCreated;
|
|
956
959
|
declare const context$5_onAttachmentDeleted: typeof onAttachmentDeleted;
|
|
957
960
|
declare namespace context$5 {
|
|
958
|
-
export { type ActionEvent$4 as ActionEvent, type context$5_AttachmentCreatedEnvelope as AttachmentCreatedEnvelope, type context$5_AttachmentDeletedEnvelope as AttachmentDeletedEnvelope, type context$5_AttachmentMedia as AttachmentMedia, type context$5_AttachmentMediaMediaOneOf as AttachmentMediaMediaOneOf, type context$5_AttachmentMetadata as AttachmentMetadata, type context$5_AttachmentSource as AttachmentSource, context$5_AttachmentType as AttachmentType, type BaseEventMetadata$4 as BaseEventMetadata, type context$5_ContactAttachment as ContactAttachment, type context$5_ContactAttachmentMediaOneOf as ContactAttachmentMediaOneOf, type context$5_ContactAttachmentNonNullableFields as ContactAttachmentNonNullableFields, type context$5_CreateDemoAttachmentRequest as CreateDemoAttachmentRequest, type context$5_CreateDemoAttachmentResponse as CreateDemoAttachmentResponse, type context$5_CrmAttachment as CrmAttachment, context$5_CrmAttachmentAttachmentType as CrmAttachmentAttachmentType, type context$5_CrmAttachmentUploadedEvent as CrmAttachmentUploadedEvent, type context$5_DeleteAttachmentIdentifiers as DeleteAttachmentIdentifiers, type context$5_DeleteAttachmentRequest as DeleteAttachmentRequest, type context$5_DeleteAttachmentResponse as DeleteAttachmentResponse, context$5_DemoContactType as DemoContactType, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$4 as EventMetadata, type context$5_GenerateAttachmentUploadUrlOptions as GenerateAttachmentUploadUrlOptions, type context$5_GenerateAttachmentUploadUrlRequest as GenerateAttachmentUploadUrlRequest, type context$5_GenerateAttachmentUploadUrlResponse as GenerateAttachmentUploadUrlResponse, type context$5_GenerateAttachmentUploadUrlResponseNonNullableFields as GenerateAttachmentUploadUrlResponseNonNullableFields, type context$5_GetAttachmentIdentifiers as GetAttachmentIdentifiers, type context$5_GetAttachmentRequest as GetAttachmentRequest, type context$5_GetAttachmentResponse as GetAttachmentResponse, type context$5_GetAttachmentResponseNonNullableFields as GetAttachmentResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type context$5_ListAttachmentsOptions as ListAttachmentsOptions, type context$5_ListAttachmentsRequest as ListAttachmentsRequest, type context$5_ListAttachmentsResponse as ListAttachmentsResponse, type context$5_ListAttachmentsResponseNonNullableFields as ListAttachmentsResponseNonNullableFields, type context$5_MediaFileUploadedEvent as MediaFileUploadedEvent, type MessageEnvelope$5 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadata$3 as PagingMetadata, WebhookIdentityType$5 as WebhookIdentityType, type context$5__publicOnAttachmentCreatedType as _publicOnAttachmentCreatedType, type context$5__publicOnAttachmentDeletedType as _publicOnAttachmentDeletedType, context$5_deleteAttachment as deleteAttachment, context$5_generateAttachmentUploadUrl as generateAttachmentUploadUrl, context$5_getAttachment as getAttachment, context$5_listAttachments as listAttachments, context$5_onAttachmentCreated as onAttachmentCreated, context$5_onAttachmentDeleted as onAttachmentDeleted, onAttachmentCreated$1 as publicOnAttachmentCreated, onAttachmentDeleted$1 as publicOnAttachmentDeleted };
|
|
961
|
+
export { type ActionEvent$4 as ActionEvent, type context$5_AttachmentCreatedEnvelope as AttachmentCreatedEnvelope, type context$5_AttachmentDeletedEnvelope as AttachmentDeletedEnvelope, type context$5_AttachmentMedia as AttachmentMedia, type context$5_AttachmentMediaMediaOneOf as AttachmentMediaMediaOneOf, type context$5_AttachmentMetadata as AttachmentMetadata, type context$5_AttachmentSource as AttachmentSource, context$5_AttachmentType as AttachmentType, type BaseEventMetadata$4 as BaseEventMetadata, type context$5_ContactAttachment as ContactAttachment, type context$5_ContactAttachmentMediaOneOf as ContactAttachmentMediaOneOf, type context$5_ContactAttachmentNonNullableFields as ContactAttachmentNonNullableFields, type context$5_CreateDemoAttachmentRequest as CreateDemoAttachmentRequest, type context$5_CreateDemoAttachmentResponse as CreateDemoAttachmentResponse, type context$5_CrmAttachment as CrmAttachment, context$5_CrmAttachmentAttachmentType as CrmAttachmentAttachmentType, type context$5_CrmAttachmentUploadedEvent as CrmAttachmentUploadedEvent, type context$5_DeleteAttachmentIdentifiers as DeleteAttachmentIdentifiers, type context$5_DeleteAttachmentRequest as DeleteAttachmentRequest, type context$5_DeleteAttachmentResponse as DeleteAttachmentResponse, context$5_DemoContactType as DemoContactType, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$4 as EventMetadata, type context$5_GenerateAttachmentUploadUrlOptions as GenerateAttachmentUploadUrlOptions, type context$5_GenerateAttachmentUploadUrlRequest as GenerateAttachmentUploadUrlRequest, type context$5_GenerateAttachmentUploadUrlResponse as GenerateAttachmentUploadUrlResponse, type context$5_GenerateAttachmentUploadUrlResponseNonNullableFields as GenerateAttachmentUploadUrlResponseNonNullableFields, type context$5_GetAttachmentIdentifiers as GetAttachmentIdentifiers, type context$5_GetAttachmentRequest as GetAttachmentRequest, type context$5_GetAttachmentResponse as GetAttachmentResponse, type context$5_GetAttachmentResponseNonNullableFields as GetAttachmentResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type context$5_ListAttachmentsOptions as ListAttachmentsOptions, type context$5_ListAttachmentsRequest as ListAttachmentsRequest, type context$5_ListAttachmentsResponse as ListAttachmentsResponse, type context$5_ListAttachmentsResponseNonNullableFields as ListAttachmentsResponseNonNullableFields, type context$5_MediaFileUploadedEvent as MediaFileUploadedEvent, type MessageEnvelope$5 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadata$3 as PagingMetadata, type RestoreInfo$4 as RestoreInfo, WebhookIdentityType$5 as WebhookIdentityType, type context$5__publicOnAttachmentCreatedType as _publicOnAttachmentCreatedType, type context$5__publicOnAttachmentDeletedType as _publicOnAttachmentDeletedType, context$5_deleteAttachment as deleteAttachment, context$5_generateAttachmentUploadUrl as generateAttachmentUploadUrl, context$5_getAttachment as getAttachment, context$5_listAttachments as listAttachments, context$5_onAttachmentCreated as onAttachmentCreated, context$5_onAttachmentDeleted as onAttachmentDeleted, onAttachmentCreated$1 as publicOnAttachmentCreated, onAttachmentDeleted$1 as publicOnAttachmentDeleted };
|
|
959
962
|
}
|
|
960
963
|
|
|
961
964
|
interface Contact {
|
|
@@ -2491,7 +2494,7 @@ interface DomainEventBodyOneOf$3 {
|
|
|
2491
2494
|
interface EntityCreatedEvent$3 {
|
|
2492
2495
|
entity?: string;
|
|
2493
2496
|
}
|
|
2494
|
-
interface RestoreInfo$
|
|
2497
|
+
interface RestoreInfo$3 {
|
|
2495
2498
|
deletedDate?: Date | null;
|
|
2496
2499
|
}
|
|
2497
2500
|
interface EntityUpdatedEvent$3 {
|
|
@@ -2722,15 +2725,15 @@ interface ContactCreatedEnvelope {
|
|
|
2722
2725
|
entity: Contact;
|
|
2723
2726
|
metadata: EventMetadata$3;
|
|
2724
2727
|
}
|
|
2725
|
-
interface
|
|
2726
|
-
entity: Contact;
|
|
2728
|
+
interface ContactDeletedEnvelope {
|
|
2727
2729
|
metadata: EventMetadata$3;
|
|
2728
2730
|
}
|
|
2729
2731
|
interface ContactMergedEnvelope {
|
|
2730
2732
|
data: ContactMerged;
|
|
2731
2733
|
metadata: EventMetadata$3;
|
|
2732
2734
|
}
|
|
2733
|
-
interface
|
|
2735
|
+
interface ContactUpdatedEnvelope {
|
|
2736
|
+
entity: Contact;
|
|
2734
2737
|
metadata: EventMetadata$3;
|
|
2735
2738
|
}
|
|
2736
2739
|
interface CreateContactOptions {
|
|
@@ -3040,9 +3043,9 @@ interface GetContactSignature {
|
|
|
3040
3043
|
(_id: string, options?: GetContactOptions | undefined): Promise<Contact & ContactNonNullableFields>;
|
|
3041
3044
|
}
|
|
3042
3045
|
declare const onContactCreated$1: EventDefinition<ContactCreatedEnvelope, "wix.contacts.v4.contact_created">;
|
|
3043
|
-
declare const onContactUpdated$1: EventDefinition<ContactUpdatedEnvelope, "wix.contacts.v4.contact_updated">;
|
|
3044
|
-
declare const onContactMerged$1: EventDefinition<ContactMergedEnvelope, "wix.contacts.v4.contact_merged">;
|
|
3045
3046
|
declare const onContactDeleted$1: EventDefinition<ContactDeletedEnvelope, "wix.contacts.v4.contact_deleted">;
|
|
3047
|
+
declare const onContactMerged$1: EventDefinition<ContactMergedEnvelope, "wix.contacts.v4.contact_merged">;
|
|
3048
|
+
declare const onContactUpdated$1: EventDefinition<ContactUpdatedEnvelope, "wix.contacts.v4.contact_updated">;
|
|
3046
3049
|
|
|
3047
3050
|
declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3048
3051
|
|
|
@@ -3061,11 +3064,15 @@ type _publicOnContactCreatedType = typeof onContactCreated$1;
|
|
|
3061
3064
|
*/
|
|
3062
3065
|
declare const onContactCreated: ReturnType<typeof createEventModule$3<_publicOnContactCreatedType>>;
|
|
3063
3066
|
|
|
3064
|
-
type
|
|
3067
|
+
type _publicOnContactDeletedType = typeof onContactDeleted$1;
|
|
3065
3068
|
/**
|
|
3066
|
-
* Triggered when a contact is
|
|
3069
|
+
* Triggered when a contact is deleted.
|
|
3070
|
+
*
|
|
3071
|
+
* If a contact is deleted as part of a merge,
|
|
3072
|
+
* the `originatedFrom` property is sent as `merge`.
|
|
3073
|
+
* Otherwise, `originatedFrom` is omitted.
|
|
3067
3074
|
*/
|
|
3068
|
-
declare const
|
|
3075
|
+
declare const onContactDeleted: ReturnType<typeof createEventModule$3<_publicOnContactDeletedType>>;
|
|
3069
3076
|
|
|
3070
3077
|
type _publicOnContactMergedType = typeof onContactMerged$1;
|
|
3071
3078
|
/**
|
|
@@ -3084,15 +3091,11 @@ type _publicOnContactMergedType = typeof onContactMerged$1;
|
|
|
3084
3091
|
*/
|
|
3085
3092
|
declare const onContactMerged: ReturnType<typeof createEventModule$3<_publicOnContactMergedType>>;
|
|
3086
3093
|
|
|
3087
|
-
type
|
|
3094
|
+
type _publicOnContactUpdatedType = typeof onContactUpdated$1;
|
|
3088
3095
|
/**
|
|
3089
|
-
* Triggered when a contact is
|
|
3090
|
-
*
|
|
3091
|
-
* If a contact is deleted as part of a merge,
|
|
3092
|
-
* the `originatedFrom` property is sent as `merge`.
|
|
3093
|
-
* Otherwise, `originatedFrom` is omitted.
|
|
3096
|
+
* Triggered when a contact is updated.
|
|
3094
3097
|
*/
|
|
3095
|
-
declare const
|
|
3098
|
+
declare const onContactUpdated: ReturnType<typeof createEventModule$3<_publicOnContactUpdatedType>>;
|
|
3096
3099
|
|
|
3097
3100
|
type context$4_Action = Action;
|
|
3098
3101
|
declare const context$4_Action: typeof Action;
|
|
@@ -3237,7 +3240,7 @@ declare const context$4_queryContacts: typeof queryContacts;
|
|
|
3237
3240
|
declare const context$4_unlabelContact: typeof unlabelContact;
|
|
3238
3241
|
declare const context$4_updateContact: typeof updateContact;
|
|
3239
3242
|
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 };
|
|
3243
|
+
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
3244
|
}
|
|
3242
3245
|
|
|
3243
3246
|
/** Extended field that was found or created. */
|
|
@@ -3302,15 +3305,23 @@ interface ExtendedField {
|
|
|
3302
3305
|
description?: string | null;
|
|
3303
3306
|
}
|
|
3304
3307
|
declare enum FieldDataType {
|
|
3308
|
+
/** Undefined data type. */
|
|
3305
3309
|
UNKNOWN_DATA_TYPE = "UNKNOWN_DATA_TYPE",
|
|
3310
|
+
/** Accepts strings. */
|
|
3306
3311
|
TEXT = "TEXT",
|
|
3312
|
+
/** Accepts floats. */
|
|
3307
3313
|
NUMBER = "NUMBER",
|
|
3314
|
+
/** Accepts dates formatted as `YYYY-MM-DD`. */
|
|
3308
3315
|
DATE = "DATE",
|
|
3316
|
+
/** Accepts strings. Prepends `https://` if no protocol is included. */
|
|
3309
3317
|
URL = "URL"
|
|
3310
3318
|
}
|
|
3311
3319
|
declare enum FieldType {
|
|
3320
|
+
/** Undefined field type. */
|
|
3312
3321
|
UNKNOWN = "UNKNOWN",
|
|
3322
|
+
/** The field is a system field managed by Wix. System fields cannot be modified by 3rd-party apps or site contributors. */
|
|
3313
3323
|
SYSTEM = "SYSTEM",
|
|
3324
|
+
/** The field is a custom field and can be modified by 3rd-party apps or site contributors. */
|
|
3314
3325
|
USER_DEFINED = "USER_DEFINED"
|
|
3315
3326
|
}
|
|
3316
3327
|
/** Extended field filter options. */
|
|
@@ -3334,14 +3345,16 @@ interface Sorting$2 {
|
|
|
3334
3345
|
/** Name of the field to sort by. */
|
|
3335
3346
|
fieldName?: string;
|
|
3336
3347
|
/**
|
|
3337
|
-
* Sort order.
|
|
3348
|
+
* Sort order.
|
|
3338
3349
|
*
|
|
3339
|
-
*
|
|
3350
|
+
* Default: `ASC`.
|
|
3340
3351
|
*/
|
|
3341
3352
|
order?: SortOrder$2;
|
|
3342
3353
|
}
|
|
3343
3354
|
declare enum SortOrder$2 {
|
|
3355
|
+
/** Sort by ascending order. */
|
|
3344
3356
|
ASC = "ASC",
|
|
3357
|
+
/** Sort by descending order. */
|
|
3345
3358
|
DESC = "DESC"
|
|
3346
3359
|
}
|
|
3347
3360
|
interface Paging$2 {
|
|
@@ -3557,7 +3570,7 @@ interface DomainEventBodyOneOf$2 {
|
|
|
3557
3570
|
interface EntityCreatedEvent$2 {
|
|
3558
3571
|
entity?: string;
|
|
3559
3572
|
}
|
|
3560
|
-
interface RestoreInfo$
|
|
3573
|
+
interface RestoreInfo$2 {
|
|
3561
3574
|
deletedDate?: Date | null;
|
|
3562
3575
|
}
|
|
3563
3576
|
interface EntityUpdatedEvent$2 {
|
|
@@ -3684,11 +3697,11 @@ interface ExtendedFieldCreatedEnvelope {
|
|
|
3684
3697
|
entity: ExtendedField;
|
|
3685
3698
|
metadata: EventMetadata$2;
|
|
3686
3699
|
}
|
|
3687
|
-
interface
|
|
3688
|
-
entity: ExtendedField;
|
|
3700
|
+
interface ExtendedFieldDeletedEnvelope {
|
|
3689
3701
|
metadata: EventMetadata$2;
|
|
3690
3702
|
}
|
|
3691
|
-
interface
|
|
3703
|
+
interface ExtendedFieldUpdatedEnvelope {
|
|
3704
|
+
entity: ExtendedField;
|
|
3692
3705
|
metadata: EventMetadata$2;
|
|
3693
3706
|
}
|
|
3694
3707
|
interface RenameExtendedField {
|
|
@@ -3913,8 +3926,8 @@ interface QueryExtendedFieldsSignature {
|
|
|
3913
3926
|
(): FieldsQueryBuilder;
|
|
3914
3927
|
}
|
|
3915
3928
|
declare const onExtendedFieldCreated$1: EventDefinition<ExtendedFieldCreatedEnvelope, "wix.contacts.v4.extended-field_created">;
|
|
3916
|
-
declare const onExtendedFieldUpdated$1: EventDefinition<ExtendedFieldUpdatedEnvelope, "wix.contacts.v4.extended-field_updated">;
|
|
3917
3929
|
declare const onExtendedFieldDeleted$1: EventDefinition<ExtendedFieldDeletedEnvelope, "wix.contacts.v4.extended-field_deleted">;
|
|
3930
|
+
declare const onExtendedFieldUpdated$1: EventDefinition<ExtendedFieldUpdatedEnvelope, "wix.contacts.v4.extended-field_updated">;
|
|
3918
3931
|
|
|
3919
3932
|
declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3920
3933
|
|
|
@@ -3930,18 +3943,18 @@ type _publicOnExtendedFieldCreatedType = typeof onExtendedFieldCreated$1;
|
|
|
3930
3943
|
*/
|
|
3931
3944
|
declare const onExtendedFieldCreated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldCreatedType>>;
|
|
3932
3945
|
|
|
3933
|
-
type _publicOnExtendedFieldUpdatedType = typeof onExtendedFieldUpdated$1;
|
|
3934
|
-
/**
|
|
3935
|
-
* Triggered when an extended field is updated.
|
|
3936
|
-
*/
|
|
3937
|
-
declare const onExtendedFieldUpdated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldUpdatedType>>;
|
|
3938
|
-
|
|
3939
3946
|
type _publicOnExtendedFieldDeletedType = typeof onExtendedFieldDeleted$1;
|
|
3940
3947
|
/**
|
|
3941
3948
|
* Triggered when an extended field is deleted.
|
|
3942
3949
|
*/
|
|
3943
3950
|
declare const onExtendedFieldDeleted: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldDeletedType>>;
|
|
3944
3951
|
|
|
3952
|
+
type _publicOnExtendedFieldUpdatedType = typeof onExtendedFieldUpdated$1;
|
|
3953
|
+
/**
|
|
3954
|
+
* Triggered when an extended field is updated.
|
|
3955
|
+
*/
|
|
3956
|
+
declare const onExtendedFieldUpdated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldUpdatedType>>;
|
|
3957
|
+
|
|
3945
3958
|
type context$3_DeleteExtendedFieldRequest = DeleteExtendedFieldRequest;
|
|
3946
3959
|
type context$3_DeleteExtendedFieldResponse = DeleteExtendedFieldResponse;
|
|
3947
3960
|
type context$3_ExtendedField = ExtendedField;
|
|
@@ -3984,7 +3997,7 @@ declare const context$3_onExtendedFieldUpdated: typeof onExtendedFieldUpdated;
|
|
|
3984
3997
|
declare const context$3_queryExtendedFields: typeof queryExtendedFields;
|
|
3985
3998
|
declare const context$3_renameExtendedField: typeof renameExtendedField;
|
|
3986
3999
|
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$
|
|
4000
|
+
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
4001
|
}
|
|
3989
4002
|
|
|
3990
4003
|
/** Label that was found or created. */
|
|
@@ -4307,7 +4320,7 @@ interface DomainEventBodyOneOf$1 {
|
|
|
4307
4320
|
interface EntityCreatedEvent$1 {
|
|
4308
4321
|
entity?: string;
|
|
4309
4322
|
}
|
|
4310
|
-
interface RestoreInfo {
|
|
4323
|
+
interface RestoreInfo$1 {
|
|
4311
4324
|
deletedDate?: Date | null;
|
|
4312
4325
|
}
|
|
4313
4326
|
interface EntityUpdatedEvent$1 {
|
|
@@ -4745,7 +4758,6 @@ type context$2_QueryLabelsResponse = QueryLabelsResponse;
|
|
|
4745
4758
|
type context$2_QueryLabelsResponseNonNullableFields = QueryLabelsResponseNonNullableFields;
|
|
4746
4759
|
type context$2_RenameLabel = RenameLabel;
|
|
4747
4760
|
type context$2_RenameLabelOptions = RenameLabelOptions;
|
|
4748
|
-
type context$2_RestoreInfo = RestoreInfo;
|
|
4749
4761
|
type context$2_UpdateLabelRequest = UpdateLabelRequest;
|
|
4750
4762
|
type context$2_UpdateLabelResponse = UpdateLabelResponse;
|
|
4751
4763
|
type context$2_UpdateLabelResponseNonNullableFields = UpdateLabelResponseNonNullableFields;
|
|
@@ -4761,7 +4773,7 @@ declare const context$2_onLabelUpdated: typeof onLabelUpdated;
|
|
|
4761
4773
|
declare const context$2_queryLabels: typeof queryLabels;
|
|
4762
4774
|
declare const context$2_renameLabel: typeof renameLabel;
|
|
4763
4775
|
declare namespace context$2 {
|
|
4764
|
-
export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_ContactLabel as ContactLabel, type context$2_ContactLabelNamespace as ContactLabelNamespace, type context$2_ContactLabelNonNullableFields as ContactLabelNonNullableFields, type context$2_DeleteLabelRequest as DeleteLabelRequest, type context$2_DeleteLabelResponse as DeleteLabelResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$2_FindOrCreateLabelOptions as FindOrCreateLabelOptions, type context$2_FindOrCreateLabelRequest as FindOrCreateLabelRequest, type context$2_FindOrCreateLabelResponse as FindOrCreateLabelResponse, type context$2_FindOrCreateLabelResponseNonNullableFields as FindOrCreateLabelResponseNonNullableFields, type context$2_GdprListRequest as GdprListRequest, type context$2_GdprListResponse as GdprListResponse, type context$2_GetLabelByLegacyIdRequest as GetLabelByLegacyIdRequest, type context$2_GetLabelByLegacyIdResponse as GetLabelByLegacyIdResponse, type context$2_GetLabelOptions as GetLabelOptions, type context$2_GetLabelRequest as GetLabelRequest, type context$2_GetLabelResponse as GetLabelResponse, type context$2_GetLabelResponseNonNullableFields as GetLabelResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$2_LabelCreatedEnvelope as LabelCreatedEnvelope, type context$2_LabelDeletedEnvelope as LabelDeletedEnvelope, context$2_LabelType as LabelType, type context$2_LabelUpdatedEnvelope as LabelUpdatedEnvelope, type context$2_LabelsQueryBuilder as LabelsQueryBuilder, type context$2_LabelsQueryResult as LabelsQueryResult, type context$2_LabelsQuotaReached as LabelsQuotaReached, type context$2_ListLabelNamespacesRequest as ListLabelNamespacesRequest, type context$2_ListLabelNamespacesResponse as ListLabelNamespacesResponse, type context$2_ListLabelsRequest as ListLabelsRequest, type context$2_ListLabelsResponse as ListLabelsResponse, type MessageEnvelope$2 as MessageEnvelope, type Paging$1 as Paging, type context$2_PagingMetadata as PagingMetadata, type context$2_PurgeRequest as PurgeRequest, type context$2_PurgeResponse as PurgeResponse, type context$2_Query as Query, type context$2_QueryLabelsOptions as QueryLabelsOptions, type context$2_QueryLabelsRequest as QueryLabelsRequest, type context$2_QueryLabelsResponse as QueryLabelsResponse, type context$2_QueryLabelsResponseNonNullableFields as QueryLabelsResponseNonNullableFields, type context$2_RenameLabel as RenameLabel, type context$2_RenameLabelOptions as RenameLabelOptions, type
|
|
4776
|
+
export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_ContactLabel as ContactLabel, type context$2_ContactLabelNamespace as ContactLabelNamespace, type context$2_ContactLabelNonNullableFields as ContactLabelNonNullableFields, type context$2_DeleteLabelRequest as DeleteLabelRequest, type context$2_DeleteLabelResponse as DeleteLabelResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$2_FindOrCreateLabelOptions as FindOrCreateLabelOptions, type context$2_FindOrCreateLabelRequest as FindOrCreateLabelRequest, type context$2_FindOrCreateLabelResponse as FindOrCreateLabelResponse, type context$2_FindOrCreateLabelResponseNonNullableFields as FindOrCreateLabelResponseNonNullableFields, type context$2_GdprListRequest as GdprListRequest, type context$2_GdprListResponse as GdprListResponse, type context$2_GetLabelByLegacyIdRequest as GetLabelByLegacyIdRequest, type context$2_GetLabelByLegacyIdResponse as GetLabelByLegacyIdResponse, type context$2_GetLabelOptions as GetLabelOptions, type context$2_GetLabelRequest as GetLabelRequest, type context$2_GetLabelResponse as GetLabelResponse, type context$2_GetLabelResponseNonNullableFields as GetLabelResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$2_LabelCreatedEnvelope as LabelCreatedEnvelope, type context$2_LabelDeletedEnvelope as LabelDeletedEnvelope, context$2_LabelType as LabelType, type context$2_LabelUpdatedEnvelope as LabelUpdatedEnvelope, type context$2_LabelsQueryBuilder as LabelsQueryBuilder, type context$2_LabelsQueryResult as LabelsQueryResult, type context$2_LabelsQuotaReached as LabelsQuotaReached, type context$2_ListLabelNamespacesRequest as ListLabelNamespacesRequest, type context$2_ListLabelNamespacesResponse as ListLabelNamespacesResponse, type context$2_ListLabelsRequest as ListLabelsRequest, type context$2_ListLabelsResponse as ListLabelsResponse, type MessageEnvelope$2 as MessageEnvelope, type Paging$1 as Paging, type context$2_PagingMetadata as PagingMetadata, type context$2_PurgeRequest as PurgeRequest, type context$2_PurgeResponse as PurgeResponse, type context$2_Query as Query, type context$2_QueryLabelsOptions as QueryLabelsOptions, type context$2_QueryLabelsRequest as QueryLabelsRequest, type context$2_QueryLabelsResponse as QueryLabelsResponse, type context$2_QueryLabelsResponseNonNullableFields as QueryLabelsResponseNonNullableFields, type context$2_RenameLabel as RenameLabel, type context$2_RenameLabelOptions as RenameLabelOptions, type RestoreInfo$1 as RestoreInfo, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type context$2_UpdateLabelRequest as UpdateLabelRequest, type context$2_UpdateLabelResponse as UpdateLabelResponse, type context$2_UpdateLabelResponseNonNullableFields as UpdateLabelResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type context$2__publicOnLabelCreatedType as _publicOnLabelCreatedType, type context$2__publicOnLabelDeletedType as _publicOnLabelDeletedType, type context$2__publicOnLabelUpdatedType as _publicOnLabelUpdatedType, context$2_deleteLabel as deleteLabel, context$2_findOrCreateLabel as findOrCreateLabel, context$2_getLabel as getLabel, context$2_onLabelCreated as onLabelCreated, context$2_onLabelDeleted as onLabelDeleted, context$2_onLabelUpdated as onLabelUpdated, onLabelCreated$1 as publicOnLabelCreated, onLabelDeleted$1 as publicOnLabelDeleted, onLabelUpdated$1 as publicOnLabelUpdated, context$2_queryLabels as queryLabels, context$2_renameLabel as renameLabel };
|
|
4765
4777
|
}
|
|
4766
4778
|
|
|
4767
4779
|
/** Dummy message for fqdn validation */
|
|
@@ -5456,8 +5468,11 @@ interface Task {
|
|
|
5456
5468
|
}
|
|
5457
5469
|
/** Possible statuses in which the task may be. */
|
|
5458
5470
|
declare enum TaskStatus {
|
|
5471
|
+
/** Undefined task status. */
|
|
5459
5472
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
5473
|
+
/** Action needed. */
|
|
5460
5474
|
ACTION_NEEDED = "ACTION_NEEDED",
|
|
5475
|
+
/** Task completed. */
|
|
5461
5476
|
COMPLETED = "COMPLETED"
|
|
5462
5477
|
}
|
|
5463
5478
|
interface TaskSource {
|
|
@@ -5479,8 +5494,11 @@ interface TaskSource {
|
|
|
5479
5494
|
}
|
|
5480
5495
|
/** Possible sources that can create tasks. */
|
|
5481
5496
|
declare enum SourceType {
|
|
5497
|
+
/** Undefined source type. */
|
|
5482
5498
|
UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
|
|
5499
|
+
/** Task was created by an app. */
|
|
5483
5500
|
APP = "APP",
|
|
5501
|
+
/** Task was created by a user. */
|
|
5484
5502
|
USER = "USER"
|
|
5485
5503
|
}
|
|
5486
5504
|
interface ContactInfo {
|
|
@@ -5512,27 +5530,6 @@ interface ContactInfo {
|
|
|
5512
5530
|
*/
|
|
5513
5531
|
phone?: string | null;
|
|
5514
5532
|
}
|
|
5515
|
-
interface DeleteCompletedTasksRequest {
|
|
5516
|
-
/** Optional list of tasks ids of the tasks to delete. If the list is not provided the filter is used. */
|
|
5517
|
-
taskIds?: string[];
|
|
5518
|
-
/** An optional filter of tasks to count. See 'queryTasks' for supported filter options. */
|
|
5519
|
-
filter?: Record<string, any> | null;
|
|
5520
|
-
}
|
|
5521
|
-
interface DeleteCompletedTasksResponse {
|
|
5522
|
-
}
|
|
5523
|
-
interface SendTasksReminderRequest {
|
|
5524
|
-
/** Ids of the tasks to remind */
|
|
5525
|
-
taskIds?: string[];
|
|
5526
|
-
/** The reminder type */
|
|
5527
|
-
reminderType?: ReminderType;
|
|
5528
|
-
}
|
|
5529
|
-
declare enum ReminderType {
|
|
5530
|
-
UNKNOWN_REMINDER_TYPE = "UNKNOWN_REMINDER_TYPE",
|
|
5531
|
-
FIRST_REMINDER = "FIRST_REMINDER",
|
|
5532
|
-
LAST_REMINDER = "LAST_REMINDER"
|
|
5533
|
-
}
|
|
5534
|
-
interface SendTasksReminderResponse {
|
|
5535
|
-
}
|
|
5536
5533
|
interface RepositionTask {
|
|
5537
5534
|
/** The id of the last task that was re-positioned */
|
|
5538
5535
|
taskId?: string | null;
|
|
@@ -5616,7 +5613,9 @@ interface Sorting {
|
|
|
5616
5613
|
order?: SortOrder;
|
|
5617
5614
|
}
|
|
5618
5615
|
declare enum SortOrder {
|
|
5616
|
+
/** Sort by ascending order. */
|
|
5619
5617
|
ASC = "ASC",
|
|
5618
|
+
/** Sort by descending order. */
|
|
5620
5619
|
DESC = "DESC"
|
|
5621
5620
|
}
|
|
5622
5621
|
interface CursorPaging {
|
|
@@ -5772,7 +5771,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
5772
5771
|
slug?: string;
|
|
5773
5772
|
/** ID of the entity associated with the event. */
|
|
5774
5773
|
entityId?: string;
|
|
5775
|
-
/** Event timestamp. */
|
|
5774
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
5776
5775
|
eventTime?: Date | null;
|
|
5777
5776
|
/**
|
|
5778
5777
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -5801,6 +5800,9 @@ interface DomainEventBodyOneOf {
|
|
|
5801
5800
|
interface EntityCreatedEvent {
|
|
5802
5801
|
entity?: string;
|
|
5803
5802
|
}
|
|
5803
|
+
interface RestoreInfo {
|
|
5804
|
+
deletedDate?: Date | null;
|
|
5805
|
+
}
|
|
5804
5806
|
interface EntityUpdatedEvent {
|
|
5805
5807
|
/**
|
|
5806
5808
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
@@ -5856,6 +5858,27 @@ declare enum WebhookIdentityType {
|
|
|
5856
5858
|
WIX_USER = "WIX_USER",
|
|
5857
5859
|
APP = "APP"
|
|
5858
5860
|
}
|
|
5861
|
+
interface DeleteCompletedTasksRequest {
|
|
5862
|
+
/** Optional list of tasks ids of the tasks to delete. If the list is not provided the filter is used. */
|
|
5863
|
+
taskIds?: string[];
|
|
5864
|
+
/** An optional filter of tasks to count. See 'queryTasks' for supported filter options. */
|
|
5865
|
+
filter?: Record<string, any> | null;
|
|
5866
|
+
}
|
|
5867
|
+
interface DeleteCompletedTasksResponse {
|
|
5868
|
+
}
|
|
5869
|
+
interface SendTasksReminderRequest {
|
|
5870
|
+
/** Ids of the tasks to remind */
|
|
5871
|
+
taskIds?: string[];
|
|
5872
|
+
/** The reminder type */
|
|
5873
|
+
reminderType?: ReminderType;
|
|
5874
|
+
}
|
|
5875
|
+
declare enum ReminderType {
|
|
5876
|
+
UNKNOWN_REMINDER_TYPE = "UNKNOWN_REMINDER_TYPE",
|
|
5877
|
+
FIRST_REMINDER = "FIRST_REMINDER",
|
|
5878
|
+
LAST_REMINDER = "LAST_REMINDER"
|
|
5879
|
+
}
|
|
5880
|
+
interface SendTasksReminderResponse {
|
|
5881
|
+
}
|
|
5859
5882
|
interface TaskSourceNonNullableFields {
|
|
5860
5883
|
sourceType: SourceType;
|
|
5861
5884
|
}
|
|
@@ -5905,7 +5928,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
5905
5928
|
slug?: string;
|
|
5906
5929
|
/** ID of the entity associated with the event. */
|
|
5907
5930
|
entityId?: string;
|
|
5908
|
-
/** Event timestamp. */
|
|
5931
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
5909
5932
|
eventTime?: Date | null;
|
|
5910
5933
|
/**
|
|
5911
5934
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -5924,19 +5947,19 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
5924
5947
|
*/
|
|
5925
5948
|
entityEventSequence?: string | null;
|
|
5926
5949
|
}
|
|
5927
|
-
interface TaskOverdueEnvelope {
|
|
5928
|
-
data: TaskOverdue;
|
|
5929
|
-
metadata: EventMetadata;
|
|
5930
|
-
}
|
|
5931
5950
|
interface TaskCreatedEnvelope {
|
|
5932
5951
|
entity: Task;
|
|
5933
5952
|
metadata: EventMetadata;
|
|
5934
5953
|
}
|
|
5935
|
-
interface
|
|
5936
|
-
entity: Task;
|
|
5954
|
+
interface TaskDeletedEnvelope {
|
|
5937
5955
|
metadata: EventMetadata;
|
|
5938
5956
|
}
|
|
5939
|
-
interface
|
|
5957
|
+
interface TaskOverdueEnvelope {
|
|
5958
|
+
data: TaskOverdue;
|
|
5959
|
+
metadata: EventMetadata;
|
|
5960
|
+
}
|
|
5961
|
+
interface TaskUpdatedEnvelope {
|
|
5962
|
+
entity: Task;
|
|
5940
5963
|
metadata: EventMetadata;
|
|
5941
5964
|
}
|
|
5942
5965
|
interface UpdateTask {
|
|
@@ -6143,10 +6166,10 @@ interface MoveTaskAfterSignature {
|
|
|
6143
6166
|
*/
|
|
6144
6167
|
(taskId: string, options?: MoveTaskAfterOptions | undefined): Promise<void>;
|
|
6145
6168
|
}
|
|
6146
|
-
declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
|
|
6147
6169
|
declare const onTaskCreated$1: EventDefinition<TaskCreatedEnvelope, "wix.crm.tasks.v2.task_created">;
|
|
6148
|
-
declare const onTaskUpdated$1: EventDefinition<TaskUpdatedEnvelope, "wix.crm.tasks.v2.task_updated">;
|
|
6149
6170
|
declare const onTaskDeleted$1: EventDefinition<TaskDeletedEnvelope, "wix.crm.tasks.v2.task_deleted">;
|
|
6171
|
+
declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
|
|
6172
|
+
declare const onTaskUpdated$1: EventDefinition<TaskUpdatedEnvelope, "wix.crm.tasks.v2.task_updated">;
|
|
6150
6173
|
|
|
6151
6174
|
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
6152
6175
|
|
|
@@ -6158,30 +6181,30 @@ declare const queryTasks: MaybeContext<BuildRESTFunction<typeof queryTasks$1> &
|
|
|
6158
6181
|
declare const countTasks: MaybeContext<BuildRESTFunction<typeof countTasks$1> & typeof countTasks$1>;
|
|
6159
6182
|
declare const moveTaskAfter: MaybeContext<BuildRESTFunction<typeof moveTaskAfter$1> & typeof moveTaskAfter$1>;
|
|
6160
6183
|
|
|
6161
|
-
type _publicOnTaskOverdueType = typeof onTaskOverdue$1;
|
|
6162
|
-
/**
|
|
6163
|
-
* Triggered when a task reaches its due date.
|
|
6164
|
-
*/
|
|
6165
|
-
declare const onTaskOverdue: ReturnType<typeof createEventModule<_publicOnTaskOverdueType>>;
|
|
6166
|
-
|
|
6167
6184
|
type _publicOnTaskCreatedType = typeof onTaskCreated$1;
|
|
6168
6185
|
/**
|
|
6169
6186
|
* Triggered when a task is created.
|
|
6170
6187
|
*/
|
|
6171
6188
|
declare const onTaskCreated: ReturnType<typeof createEventModule<_publicOnTaskCreatedType>>;
|
|
6172
6189
|
|
|
6173
|
-
type _publicOnTaskUpdatedType = typeof onTaskUpdated$1;
|
|
6174
|
-
/**
|
|
6175
|
-
* Triggered when a task is updated.
|
|
6176
|
-
*/
|
|
6177
|
-
declare const onTaskUpdated: ReturnType<typeof createEventModule<_publicOnTaskUpdatedType>>;
|
|
6178
|
-
|
|
6179
6190
|
type _publicOnTaskDeletedType = typeof onTaskDeleted$1;
|
|
6180
6191
|
/**
|
|
6181
6192
|
* Triggered when a task is deleted.
|
|
6182
6193
|
*/
|
|
6183
6194
|
declare const onTaskDeleted: ReturnType<typeof createEventModule<_publicOnTaskDeletedType>>;
|
|
6184
6195
|
|
|
6196
|
+
type _publicOnTaskOverdueType = typeof onTaskOverdue$1;
|
|
6197
|
+
/**
|
|
6198
|
+
* Triggered when a task reaches its due date.
|
|
6199
|
+
*/
|
|
6200
|
+
declare const onTaskOverdue: ReturnType<typeof createEventModule<_publicOnTaskOverdueType>>;
|
|
6201
|
+
|
|
6202
|
+
type _publicOnTaskUpdatedType = typeof onTaskUpdated$1;
|
|
6203
|
+
/**
|
|
6204
|
+
* Triggered when a task is updated.
|
|
6205
|
+
*/
|
|
6206
|
+
declare const onTaskUpdated: ReturnType<typeof createEventModule<_publicOnTaskUpdatedType>>;
|
|
6207
|
+
|
|
6185
6208
|
type context_ActionEvent = ActionEvent;
|
|
6186
6209
|
type context_BaseEventMetadata = BaseEventMetadata;
|
|
6187
6210
|
type context_ContactInfo = ContactInfo;
|
|
@@ -6230,6 +6253,7 @@ type context_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
|
|
|
6230
6253
|
type context_ReminderType = ReminderType;
|
|
6231
6254
|
declare const context_ReminderType: typeof ReminderType;
|
|
6232
6255
|
type context_RepositionTask = RepositionTask;
|
|
6256
|
+
type context_RestoreInfo = RestoreInfo;
|
|
6233
6257
|
type context_SendTasksReminderRequest = SendTasksReminderRequest;
|
|
6234
6258
|
type context_SendTasksReminderResponse = SendTasksReminderResponse;
|
|
6235
6259
|
type context_SortOrder = SortOrder;
|
|
@@ -6273,7 +6297,7 @@ declare const context_onTaskUpdated: typeof onTaskUpdated;
|
|
|
6273
6297
|
declare const context_queryTasks: typeof queryTasks;
|
|
6274
6298
|
declare const context_updateTask: typeof updateTask;
|
|
6275
6299
|
declare namespace context {
|
|
6276
|
-
export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_ContactInfo as ContactInfo, type context_ContactNotFoundError as ContactNotFoundError, type context_CountTasksOptions as CountTasksOptions, type context_CountTasksRequest as CountTasksRequest, type context_CountTasksResponse as CountTasksResponse, type context_CountTasksResponseNonNullableFields as CountTasksResponseNonNullableFields, type context_CreateTaskRequest as CreateTaskRequest, type context_CreateTaskResponse as CreateTaskResponse, type context_CreateTaskResponseNonNullableFields as CreateTaskResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DeleteCompletedTasksRequest as DeleteCompletedTasksRequest, type context_DeleteCompletedTasksResponse as DeleteCompletedTasksResponse, type context_DeleteTaskRequest as DeleteTaskRequest, type context_DeleteTaskResponse as DeleteTaskResponse, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_GetTaskRequest as GetTaskRequest, type context_GetTaskResponse as GetTaskResponse, type context_GetTaskResponseNonNullableFields as GetTaskResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_MessageEnvelope as MessageEnvelope, type context_MoveTaskAfterOptions as MoveTaskAfterOptions, type context_MoveTaskAfterRequest as MoveTaskAfterRequest, type context_MoveTaskAfterResponse as MoveTaskAfterResponse, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, type context_QueryTasksInternalRequest as QueryTasksInternalRequest, type context_QueryTasksInternalResponse as QueryTasksInternalResponse, type context_QueryTasksRequest as QueryTasksRequest, type context_QueryTasksResponse as QueryTasksResponse, type context_QueryTasksResponseNonNullableFields as QueryTasksResponseNonNullableFields, type context_QueryV2 as QueryV2, type context_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, context_ReminderType as ReminderType, type context_RepositionTask as RepositionTask, type context_SendTasksReminderRequest as SendTasksReminderRequest, type context_SendTasksReminderResponse as SendTasksReminderResponse, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_SourceType as SourceType, type context_Task as Task, type context_TaskAssigned as TaskAssigned, type context_TaskCreatedEnvelope as TaskCreatedEnvelope, type context_TaskDeletedEnvelope as TaskDeletedEnvelope, type context_TaskNonNullableFields as TaskNonNullableFields, type context_TaskNotFoundError as TaskNotFoundError, type context_TaskOverdue as TaskOverdue, type context_TaskOverdueEnvelope as TaskOverdueEnvelope, type context_TaskSource as TaskSource, context_TaskStatus as TaskStatus, type context_TaskUpdatedEnvelope as TaskUpdatedEnvelope, type context_TasksQueryBuilder as TasksQueryBuilder, type context_TasksQueryResult as TasksQueryResult, type context_UpdateTask as UpdateTask, type context_UpdateTaskRequest as UpdateTaskRequest, type context_UpdateTaskResponse as UpdateTaskResponse, type context_UpdateTaskResponseNonNullableFields as UpdateTaskResponseNonNullableFields, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnTaskCreatedType as _publicOnTaskCreatedType, type context__publicOnTaskDeletedType as _publicOnTaskDeletedType, type context__publicOnTaskOverdueType as _publicOnTaskOverdueType, type context__publicOnTaskUpdatedType as _publicOnTaskUpdatedType, context_countTasks as countTasks, context_createTask as createTask, context_deleteTask as deleteTask, context_getTask as getTask, context_moveTaskAfter as moveTaskAfter, context_onTaskCreated as onTaskCreated, context_onTaskDeleted as onTaskDeleted, context_onTaskOverdue as onTaskOverdue, context_onTaskUpdated as onTaskUpdated, onTaskCreated$1 as publicOnTaskCreated, onTaskDeleted$1 as publicOnTaskDeleted, onTaskOverdue$1 as publicOnTaskOverdue, onTaskUpdated$1 as publicOnTaskUpdated, context_queryTasks as queryTasks, context_updateTask as updateTask };
|
|
6300
|
+
export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_ContactInfo as ContactInfo, type context_ContactNotFoundError as ContactNotFoundError, type context_CountTasksOptions as CountTasksOptions, type context_CountTasksRequest as CountTasksRequest, type context_CountTasksResponse as CountTasksResponse, type context_CountTasksResponseNonNullableFields as CountTasksResponseNonNullableFields, type context_CreateTaskRequest as CreateTaskRequest, type context_CreateTaskResponse as CreateTaskResponse, type context_CreateTaskResponseNonNullableFields as CreateTaskResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DeleteCompletedTasksRequest as DeleteCompletedTasksRequest, type context_DeleteCompletedTasksResponse as DeleteCompletedTasksResponse, type context_DeleteTaskRequest as DeleteTaskRequest, type context_DeleteTaskResponse as DeleteTaskResponse, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_GetTaskRequest as GetTaskRequest, type context_GetTaskResponse as GetTaskResponse, type context_GetTaskResponseNonNullableFields as GetTaskResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_MessageEnvelope as MessageEnvelope, type context_MoveTaskAfterOptions as MoveTaskAfterOptions, type context_MoveTaskAfterRequest as MoveTaskAfterRequest, type context_MoveTaskAfterResponse as MoveTaskAfterResponse, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, type context_QueryTasksInternalRequest as QueryTasksInternalRequest, type context_QueryTasksInternalResponse as QueryTasksInternalResponse, type context_QueryTasksRequest as QueryTasksRequest, type context_QueryTasksResponse as QueryTasksResponse, type context_QueryTasksResponseNonNullableFields as QueryTasksResponseNonNullableFields, type context_QueryV2 as QueryV2, type context_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, context_ReminderType as ReminderType, type context_RepositionTask as RepositionTask, type context_RestoreInfo as RestoreInfo, type context_SendTasksReminderRequest as SendTasksReminderRequest, type context_SendTasksReminderResponse as SendTasksReminderResponse, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_SourceType as SourceType, type context_Task as Task, type context_TaskAssigned as TaskAssigned, type context_TaskCreatedEnvelope as TaskCreatedEnvelope, type context_TaskDeletedEnvelope as TaskDeletedEnvelope, type context_TaskNonNullableFields as TaskNonNullableFields, type context_TaskNotFoundError as TaskNotFoundError, type context_TaskOverdue as TaskOverdue, type context_TaskOverdueEnvelope as TaskOverdueEnvelope, type context_TaskSource as TaskSource, context_TaskStatus as TaskStatus, type context_TaskUpdatedEnvelope as TaskUpdatedEnvelope, type context_TasksQueryBuilder as TasksQueryBuilder, type context_TasksQueryResult as TasksQueryResult, type context_UpdateTask as UpdateTask, type context_UpdateTaskRequest as UpdateTaskRequest, type context_UpdateTaskResponse as UpdateTaskResponse, type context_UpdateTaskResponseNonNullableFields as UpdateTaskResponseNonNullableFields, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnTaskCreatedType as _publicOnTaskCreatedType, type context__publicOnTaskDeletedType as _publicOnTaskDeletedType, type context__publicOnTaskOverdueType as _publicOnTaskOverdueType, type context__publicOnTaskUpdatedType as _publicOnTaskUpdatedType, context_countTasks as countTasks, context_createTask as createTask, context_deleteTask as deleteTask, context_getTask as getTask, context_moveTaskAfter as moveTaskAfter, context_onTaskCreated as onTaskCreated, context_onTaskDeleted as onTaskDeleted, context_onTaskOverdue as onTaskOverdue, context_onTaskUpdated as onTaskUpdated, onTaskCreated$1 as publicOnTaskCreated, onTaskDeleted$1 as publicOnTaskDeleted, onTaskOverdue$1 as publicOnTaskOverdue, onTaskUpdated$1 as publicOnTaskUpdated, context_queryTasks as queryTasks, context_updateTask as updateTask };
|
|
6277
6301
|
}
|
|
6278
6302
|
|
|
6279
6303
|
export { context$5 as attachments, context$4 as contacts, context$3 as extendedFields, context$2 as labels, context$1 as submittedContact, context as tasks };
|