@wix/auto_sdk_crm_contacts-v-5 1.0.0
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/build/cjs/contacts-v5-contact-contacts-v-5.universal-78Io5ULf.d.ts +4256 -0
- package/build/cjs/index.d.ts +522 -0
- package/build/cjs/index.js +3749 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +38 -0
- package/build/cjs/index.typings.js +3445 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +2929 -0
- package/build/cjs/meta.js +2558 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/schemas.d.ts +5693 -0
- package/build/cjs/schemas.js +8216 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/contacts-v5-contact-contacts-v-5.universal-78Io5ULf.d.mts +4256 -0
- package/build/es/index.d.mts +522 -0
- package/build/es/index.mjs +3666 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +38 -0
- package/build/es/index.typings.mjs +3361 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +2929 -0
- package/build/es/meta.mjs +2473 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/schemas.d.mts +5693 -0
- package/build/es/schemas.mjs +8116 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/contacts-v5-contact-contacts-v-5.universal-78Io5ULf.d.ts +4256 -0
- package/build/internal/cjs/index.d.ts +522 -0
- package/build/internal/cjs/index.js +3749 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +38 -0
- package/build/internal/cjs/index.typings.js +3445 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +2929 -0
- package/build/internal/cjs/meta.js +2558 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/schemas.d.ts +5693 -0
- package/build/internal/cjs/schemas.js +8216 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/contacts-v5-contact-contacts-v-5.universal-78Io5ULf.d.mts +4256 -0
- package/build/internal/es/index.d.mts +522 -0
- package/build/internal/es/index.mjs +3666 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/index.typings.d.mts +38 -0
- package/build/internal/es/index.typings.mjs +3361 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +2929 -0
- package/build/internal/es/meta.mjs +2473 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/build/internal/es/schemas.d.mts +5693 -0
- package/build/internal/es/schemas.mjs +8116 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +61 -0
- package/schemas/package.json +3 -0
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
+
import { B as BulkUpdateContactSubscriptionsOptions, a as BulkUpdateContactSubscriptionsResponse, b as BulkUpdateContactSubscriptionsApplicationErrors, C as Contact, c as CreateContactOptions, d as CreateContactApplicationErrors, U as UpdateContact, e as UpdateContactOptions, f as UpdateContactApplicationErrors, g as UpsertContactOptions, h as UpsertContactResponse, i as UpsertContactApplicationErrors, j as UpdateContactTagsOptions, k as UpdateContactTagsResponse, l as UpdateContactTagsApplicationErrors, M as MergeContactsOptions, m as MergeContactsResponse, n as MergeContactsApplicationErrors, D as DeleteContactOptions, o as DeleteContactApplicationErrors, F as FindMatchingContactsOptions, p as FindMatchingContactsResponse, q as FindMatchingContactsApplicationErrors, r as ContactSearch, S as SearchContactsOptions, s as SearchContactsResponse, t as CountContactsOptions, u as CountContactsResponse, G as GenerateContactImageUploadUrlOptions, v as GenerateContactImageUploadUrlResponse, w as GenerateContactImageUploadUrlApplicationErrors, A as AdditionalEmail, x as AddContactAdditionalEmailOptions, y as AddContactAdditionalEmailResponse, z as AddContactAdditionalEmailApplicationErrors, E as AdditionalPhone, H as AddContactAdditionalPhoneOptions, I as AddContactAdditionalPhoneResponse, J as AddContactAdditionalPhoneApplicationErrors, K as ContactAddress, L as AddContactAddressOptions, N as AddContactAddressResponse, O as AddContactAddressApplicationErrors, P as DeleteContactAddressIdentifiers, Q as DeleteContactAddressResponse, R as DeleteContactAddressApplicationErrors, T as UpdateContactAddressIdentifiers, V as UpdateContactAddressOptions, W as UpdateContactAddressResponse, X as UpdateContactAddressApplicationErrors, Y as BulkCreateContactsOptions, Z as BulkCreateContactsResponse, _ as MaskedContact, $ as BulkUpdateContactsOptions, a0 as BulkUpdateContactsResponse, a1 as BulkUpdateContactTagsOptions, a2 as BulkUpdateContactTagsResponse, a3 as BulkUpdateContactTagsApplicationErrors, a4 as BulkUpdateContactTagsByFilterOptions, a5 as BulkUpdateContactTagsByFilterResponse, a6 as BulkUpdateContactTagsByFilterApplicationErrors, a7 as BulkUpsertContactsRequestMaskedContact, a8 as BulkUpsertContactsOptions, a9 as BulkUpsertContactsResponse, aa as BulkDeleteContactsOptions, ab as BulkDeleteContactsResponse, ac as BulkDeleteContactsApplicationErrors, ad as BulkDeleteContactsByFilterOptions, ae as BulkDeleteContactsByFilterResponse, af as BulkDeleteContactsByFilterApplicationErrors, ag as RestoreContactFromTrashBinResponse, ah as BulkRestoreContactsFromTrashBinOptions, ai as BulkRestoreContactsFromTrashBinResponse, aj as GetDeletedContactResponse, ak as ListDeletedContactsOptions, al as ListDeletedContactsResponse, am as GetContactImageUploadStatusIdentifiers, an as GetContactImageUploadStatusResponse, ao as GetContactImageUploadStatusApplicationErrors, ap as BulkUpdatePhoneCountryCodeByFilterOptions, aq as BulkUpdatePhoneCountryCodeByFilterResponse, ar as ContactsQueryBuilder, as as ContactQuery, at as typedQueryContacts } from './contacts-v5-contact-contacts-v-5.universal-78Io5ULf.js';
|
|
3
|
+
export { by as AccountInfo, aS as Action, bu as ActionEvent, dG as ActionWithLiterals, cA as AddContactAdditionalEmailRequest, cB as AddContactAdditionalPhoneRequest, cC as AddContactAddressRequest, aZ as Address, b0 as AddressLocation, a_ as AddressStreetOneOf, ay as AddressTag, dl as AddressTagWithLiterals, c5 as Aggregation, ch as AggregationData, c6 as AggregationKindOneOf, cw as AggregationResults, cx as AggregationResultsResultOneOf, cm as AggregationResultsScalarResult, aQ as AggregationType, dE as AggregationTypeWithLiterals, cH as ApplicationError, cJ as BulkActionMetadata, c$ as BulkAddSegmentToContactsRequest, d0 as BulkAddSegmentToContactsResponse, cI as BulkContactResult, cF as BulkCreateContactsRequest, bH as BulkDelete, cT as BulkDeleteContactsByFilterRequest, cR as BulkDeleteContactsRequest, cS as BulkDeleteContactsResponseBulkContactResult, bG as BulkIndex, d1 as BulkRemoveSegmentFromContactsRequest, d2 as BulkRemoveSegmentFromContactsResponse, cX as BulkRestoreContactsFromTrashBinRequest, cY as BulkRestoreContactsFromTrashBinResponseBulkContactResult, bz as BulkUpdateContactSubscriptionsRequest, cO as BulkUpdateContactTagsByFilterRequest, cM as BulkUpdateContactTagsRequest, cN as BulkUpdateContactTagsResult, cK as BulkUpdateContactsRequest, cL as BulkUpdateContactsResponseBulkContactResult, da as BulkUpdatePhoneCountryCodeByFilterRequest, cP as BulkUpsertContactsRequest, cQ as BulkUpsertContactsResponseBulkContactResult, dJ as CommonQueryWithEntityContext, dK as CommonSearchWithEntityContext, b6 as ContactActivity, b4 as ContactCompany, aW as ContactEmail, bl as ContactEmailSubscriptionUpdated, bn as ContactImageUploaded, bk as ContactMerged, aV as ContactName, aY as ContactPhone, bm as ContactPhoneSubscriptionUpdated, de as ContactQuerySpec, df as ContactSearchSpec, b5 as ContactSource, aX as ContactSubscription, dd as ContactsQueryResult, cy as CountContactsRequest, bI as CreateContactRequest, bJ as CreateContactResponse, b_ as CursorPaging, c0 as CursorPagingMetadata, bX as CursorQuery, bY as CursorQueryPagingMethodOneOf, c3 as CursorSearch, c4 as CursorSearchPagingMethodOneOf, c1 as Cursors, cd as DateHistogramAggregation, ct as DateHistogramResult, cu as DateHistogramResults, bE as Delete, cD as DeleteContactAddressRequest, bT as DeleteContactRequest, bU as DeleteContactResponse, bo as DomainEvent, bp as DomainEventBodyOneOf, bK as DuplicateContactExists, av as EmailDeliverabilityStatus, di as EmailDeliverabilityStatusWithLiterals, db as Empty, bq as EntityCreatedEvent, bt as EntityDeletedEvent, bs as EntityUpdatedEvent, be as ExtendedFields, bQ as FailedMemberUpdate, bV as FindMatchingContactsRequest, cz as GenerateContactImageUploadUrlRequest, d9 as GetContactImageUploadStatusRequest, bL as GetContactRequest, bM as GetContactResponse, cZ as GetDeletedContactRequest, bb as GroupInfo, bw as IdentificationData, bx as IdentificationDataIdOneOf, aU as ImageUploadStatus, dI as ImageUploadStatusWithLiterals, c8 as IncludeMissingValuesOptions, bD as Index, aP as Interval, dD as IntervalWithLiterals, cG as ItemMetadata, c_ as ListDeletedContactsRequest, aG as MatchType, du as MatchTypeWithLiterals, dc as MediaFileUploadedEvent, b7 as MemberInfo, aA as MemberStatus, dn as MemberStatusWithLiterals, bS as MergeContactsRequest, bv as MessageEnvelope, aM as MissingValues, dA as MissingValuesWithLiterals, aE as Mode, ds as ModeWithLiterals, aR as NameFormat, dF as NameFormatWithLiterals, cg as NestedAggregation, ce as NestedAggregationItem, cf as NestedAggregationItemKindOneOf, aO as NestedAggregationType, dC as NestedAggregationTypeWithLiterals, cq as NestedResultValue, cr as NestedResultValueResultOneOf, cv as NestedResults, d6 as Paging, d8 as PagingMetadataV2, ax as PhoneDeliverabilityStatus, dk as PhoneDeliverabilityStatusWithLiterals, aw as PhoneTag, dj as PhoneTagWithLiterals, aB as PrivacyStatus, dp as PrivacyStatusWithLiterals, bc as PrivateTags, b8 as ProfileInfo, d3 as QueryContactsByOffsetInternalRequest, aT as QueryContactsByOffsetInternalRequestNameFormat, dH as QueryContactsByOffsetInternalRequestNameFormatWithLiterals, d7 as QueryContactsByOffsetInternalResponse, bW as QueryContactsRequest, b$ as QueryContactsResponse, d4 as QueryV2, d5 as QueryV2PagingMethodOneOf, cb as RangeAggregation, cj as RangeAggregationResult, c7 as RangeBucket, co as RangeResult, cl as RangeResults, b3 as Recipient, bB as ReindexEntityForFQDN, bC as ReindexEntityForFQDNActionOneOf, bf as ReindexMessage, bg as ReindexMessageActionOneOf, bi as ReindexMessageDelete, cU as RemoveContactFromTrashBinRequest, cV as RemoveContactFromTrashBinResponse, bF as ReportBatchCompleted, cW as RestoreContactFromTrashBinRequest, br as RestoreInfo, cs as Results, aC as Role, dq as RoleWithLiterals, cc as ScalarAggregation, cp as ScalarResult, aN as ScalarType, dB as ScalarTypeWithLiterals, bj as Schema, c2 as SearchContactsRequest, bA as SearchDetails, ba as SessionInfo, aL as SortDirection, dz as SortDirectionWithLiterals, aJ as SortOrder, dx as SortOrderWithLiterals, aK as SortType, dy as SortTypeWithLiterals, bZ as Sorting, b2 as StandardDetails, a$ as StreetAddress, b1 as Subdivision, az as SubdivisionType, dm as SubdivisionTypeWithLiterals, au as SubscriptionStatus, dh as SubscriptionStatusWithLiterals, bd as TagList, cE as UpdateContactAddressRequest, bN as UpdateContactRequest, bO as UpdateContactResponse, bR as UpdateContactTagsRequest, bh as Upsert, bP as UpsertContactRequest, aI as UpsertContactResponseAction, dw as UpsertContactResponseActionWithLiterals, aH as UpsertMode, dv as UpsertModeWithLiterals, b9 as UserInfo, aF as V5SubscriptionStatus, dt as V5SubscriptionStatusWithLiterals, c9 as ValueAggregation, ca as ValueAggregationOptionsOneOf, ci as ValueAggregationResult, cn as ValueResult, ck as ValueResults, aD as WebhookIdentityType, dr as WebhookIdentityTypeWithLiterals, dg as utils } from './contacts-v5-contact-contacts-v-5.universal-78Io5ULf.js';
|
|
4
|
+
|
|
5
|
+
declare function bulkUpdateContactSubscriptions$1(httpClient: HttpClient): BulkUpdateContactSubscriptionsSignature;
|
|
6
|
+
interface BulkUpdateContactSubscriptionsSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Creates an async job to bulk update email and phone subscription statuses for multiple contacts.
|
|
9
|
+
* If the new subscription status is equal to the current one, there will be no update.
|
|
10
|
+
* @param - A filter for the contacts that the subscription statuses will be applied to.
|
|
11
|
+
*
|
|
12
|
+
* Example:
|
|
13
|
+
* `{ "filter": { "name.last": "Smith" } }`
|
|
14
|
+
*/
|
|
15
|
+
(filter: Record<string, any>, options?: BulkUpdateContactSubscriptionsOptions): Promise<NonNullablePaths<BulkUpdateContactSubscriptionsResponse, `jobId`, 2> & {
|
|
16
|
+
__applicationErrorsType?: BulkUpdateContactSubscriptionsApplicationErrors;
|
|
17
|
+
}>;
|
|
18
|
+
}
|
|
19
|
+
declare function createContact$1(httpClient: HttpClient): CreateContactSignature;
|
|
20
|
+
interface CreateContactSignature {
|
|
21
|
+
/**
|
|
22
|
+
* Creates a contact in the site's contact list.
|
|
23
|
+
*
|
|
24
|
+
* *Required Fields:** At least one of the following must be provided:
|
|
25
|
+
* - `name.first` or `name.last`
|
|
26
|
+
* - `email.email`
|
|
27
|
+
* - `phone.phone`
|
|
28
|
+
*
|
|
29
|
+
* *Duplicate Handling:** By default, creation fails if a contact with the same identifiers
|
|
30
|
+
* (external_id, email, or phone) already exists. Set `allow_duplicates` to true to bypass this check.
|
|
31
|
+
* Learn more about [contact matching and duplicates](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/matching-contacts).
|
|
32
|
+
*
|
|
33
|
+
* *Image Upload:** When providing an image URL, the image is uploaded asynchronously.
|
|
34
|
+
* An `image_upload_id` is returned for tracking upload progress.
|
|
35
|
+
* Use [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
|
|
36
|
+
*
|
|
37
|
+
* To create multiple contacts in a single request, call [Bulk Create Contacts](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v5/bulk-create-contacts).
|
|
38
|
+
* @param - Contact to be created.
|
|
39
|
+
* @returns The created Contact.
|
|
40
|
+
*/
|
|
41
|
+
(contact: Contact, options?: CreateContactOptions): Promise<NonNullablePaths<Contact, `email.email` | `email.subscriptionStatus.status` | `email.deliverabilityStatus` | `additionalEmails` | `additionalEmails.${number}.email` | `phone.tag` | `phone.phone` | `phone.deliverabilityStatus` | `additionalPhones` | `additionalPhones.${number}.tag` | `additionalPhones.${number}.phone` | `addresses` | `addresses.${number}.tag` | `addresses.${number}.address.streetAddress.number` | `addresses.${number}.address.streetAddress.name` | `addresses.${number}.address.streetAddress.apt` | `locationIds` | `segmentIds` | `memberInfo.status` | `memberInfo.profileInfo.privacyStatus` | `memberInfo.userInfo.userId` | `memberInfo.userInfo.role` | `memberInfo.sessionInfo.mobileAppNames` | `memberInfo.groupInfo.groupIds` | `tags.privateTags.tagIds`, 6> & {
|
|
42
|
+
__applicationErrorsType?: CreateContactApplicationErrors;
|
|
43
|
+
}>;
|
|
44
|
+
}
|
|
45
|
+
declare function getContact$1(httpClient: HttpClient): GetContactSignature;
|
|
46
|
+
interface GetContactSignature {
|
|
47
|
+
/**
|
|
48
|
+
* Retrieves a single contact by ID.
|
|
49
|
+
* @param - ID of the Contact to retrieve.
|
|
50
|
+
* @returns The requested Contact.
|
|
51
|
+
*/
|
|
52
|
+
(contactId: string): Promise<NonNullablePaths<Contact, `email.email` | `email.subscriptionStatus.status` | `email.deliverabilityStatus` | `additionalEmails` | `additionalEmails.${number}.email` | `phone.tag` | `phone.phone` | `phone.deliverabilityStatus` | `additionalPhones` | `additionalPhones.${number}.tag` | `additionalPhones.${number}.phone` | `addresses` | `addresses.${number}.tag` | `addresses.${number}.address.streetAddress.number` | `addresses.${number}.address.streetAddress.name` | `addresses.${number}.address.streetAddress.apt` | `locationIds` | `segmentIds` | `memberInfo.status` | `memberInfo.profileInfo.privacyStatus` | `memberInfo.userInfo.userId` | `memberInfo.userInfo.role` | `memberInfo.sessionInfo.mobileAppNames` | `memberInfo.groupInfo.groupIds` | `tags.privateTags.tagIds`, 6>>;
|
|
53
|
+
}
|
|
54
|
+
declare function updateContact$1(httpClient: HttpClient): UpdateContactSignature;
|
|
55
|
+
interface UpdateContactSignature {
|
|
56
|
+
/**
|
|
57
|
+
* Updates an existing contact with new information.
|
|
58
|
+
*
|
|
59
|
+
* *Revision Control:** The current `revision` number must be provided to prevent
|
|
60
|
+
* conflicting updates. The revision increments with each update.
|
|
61
|
+
*
|
|
62
|
+
*
|
|
63
|
+
* *Restrictions:**
|
|
64
|
+
* - `external_id` can only be set once and cannot be changed
|
|
65
|
+
* - Site member contacts main email cannot be changed
|
|
66
|
+
* - At least one of name, email, or phone must remain after update
|
|
67
|
+
*
|
|
68
|
+
* *Image Upload:** When providing an image URL, the image is uploaded asynchronously.
|
|
69
|
+
* An `image_upload_id` is returned for tracking upload progress.
|
|
70
|
+
* Use [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
|
|
71
|
+
*
|
|
72
|
+
* To update multiple contacts in a single request, call [Bulk Update Contacts](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v5/bulk-update-contacts).
|
|
73
|
+
* @param - Contact ID.
|
|
74
|
+
* @returns Updated Contact.
|
|
75
|
+
*/
|
|
76
|
+
(_id: string, contact: NonNullablePaths<UpdateContact, `revision`, 2>, options?: UpdateContactOptions): Promise<NonNullablePaths<Contact, `email.email` | `email.subscriptionStatus.status` | `email.deliverabilityStatus` | `additionalEmails` | `additionalEmails.${number}.email` | `phone.tag` | `phone.phone` | `phone.deliverabilityStatus` | `additionalPhones` | `additionalPhones.${number}.tag` | `additionalPhones.${number}.phone` | `addresses` | `addresses.${number}.tag` | `addresses.${number}.address.streetAddress.number` | `addresses.${number}.address.streetAddress.name` | `addresses.${number}.address.streetAddress.apt` | `locationIds` | `segmentIds` | `memberInfo.status` | `memberInfo.profileInfo.privacyStatus` | `memberInfo.userInfo.userId` | `memberInfo.userInfo.role` | `memberInfo.sessionInfo.mobileAppNames` | `memberInfo.groupInfo.groupIds` | `tags.privateTags.tagIds`, 6> & {
|
|
77
|
+
__applicationErrorsType?: UpdateContactApplicationErrors;
|
|
78
|
+
}>;
|
|
79
|
+
}
|
|
80
|
+
declare function upsertContact$1(httpClient: HttpClient): UpsertContactSignature;
|
|
81
|
+
interface UpsertContactSignature {
|
|
82
|
+
/**
|
|
83
|
+
* Creates a contact or updates an existing one based on matching identifiers.
|
|
84
|
+
*
|
|
85
|
+
* *Matching Logic:** Uses external_id, email, and phone to find existing contacts.
|
|
86
|
+
* See [contact matching documentation](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/matching-contacts)
|
|
87
|
+
* for detailed matching rules.
|
|
88
|
+
*
|
|
89
|
+
* *Upsert Modes:**
|
|
90
|
+
* - `OVERWRITE` (default): Replaces existing field values
|
|
91
|
+
* - `APPEND`: Sets fields only if they don't have existing values; appends to arrays
|
|
92
|
+
* - `OVERWRITE_APPEND_ARRAYS`: Overwrites non-array fields, appends to arrays
|
|
93
|
+
*
|
|
94
|
+
* *Member Contacts:** Set `update_member` to `true` when upserting site member contacts.
|
|
95
|
+
*
|
|
96
|
+
* *Response:** The `action` field indicates whether the contact was `CREATED` or `UPDATED`.
|
|
97
|
+
*
|
|
98
|
+
* *Image Upload:** When providing an image URL, the image is uploaded asynchronously.
|
|
99
|
+
* An `image_upload_id` is returned for tracking upload progress.
|
|
100
|
+
* Use [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
|
|
101
|
+
*
|
|
102
|
+
* To create or update multiple contacts in a single request, call [Bulk Upsert Contacts](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v5/bulk-upsert-contacts).
|
|
103
|
+
* @param - Contact to be upserted.
|
|
104
|
+
*/
|
|
105
|
+
(contact: Contact, options?: UpsertContactOptions): Promise<NonNullablePaths<UpsertContactResponse, `contact.email.email` | `contact.email.subscriptionStatus.status` | `contact.email.deliverabilityStatus` | `contact.additionalEmails` | `contact.additionalEmails.${number}.email` | `contact.phone.tag` | `contact.phone.phone` | `contact.phone.deliverabilityStatus` | `contact.additionalPhones` | `contact.additionalPhones.${number}.tag` | `contact.additionalPhones.${number}.phone` | `contact.addresses` | `contact.addresses.${number}.tag` | `contact.addresses.${number}.address.streetAddress.number` | `contact.addresses.${number}.address.streetAddress.name` | `contact.addresses.${number}.address.streetAddress.apt` | `contact.locationIds` | `contact.segmentIds` | `contact.memberInfo.status` | `contact.memberInfo.profileInfo.privacyStatus` | `contact.memberInfo.userInfo.userId` | `contact.memberInfo.userInfo.role` | `contact.memberInfo.sessionInfo.mobileAppNames` | `contact.memberInfo.groupInfo.groupIds` | `contact.tags.privateTags.tagIds` | `action`, 7> & {
|
|
106
|
+
__applicationErrorsType?: UpsertContactApplicationErrors;
|
|
107
|
+
}>;
|
|
108
|
+
}
|
|
109
|
+
declare function updateContactTags$1(httpClient: HttpClient): UpdateContactTagsSignature;
|
|
110
|
+
interface UpdateContactTagsSignature {
|
|
111
|
+
/**
|
|
112
|
+
* Updates tags assigned to a specific contact.
|
|
113
|
+
*
|
|
114
|
+
* *Assignment Logic:** If a tag appears in both assign and unassign lists, it will be assigned.
|
|
115
|
+
* At least one tag must be specified in either the assign or unassign list.
|
|
116
|
+
* @param - The contact from which to add or remove tags.
|
|
117
|
+
*/
|
|
118
|
+
(contactId: string, options?: UpdateContactTagsOptions): Promise<NonNullablePaths<UpdateContactTagsResponse, `contact.email.email` | `contact.email.subscriptionStatus.status` | `contact.email.deliverabilityStatus` | `contact.additionalEmails` | `contact.additionalEmails.${number}.email` | `contact.phone.tag` | `contact.phone.phone` | `contact.phone.deliverabilityStatus` | `contact.additionalPhones` | `contact.additionalPhones.${number}.tag` | `contact.additionalPhones.${number}.phone` | `contact.addresses` | `contact.addresses.${number}.tag` | `contact.addresses.${number}.address.streetAddress.number` | `contact.addresses.${number}.address.streetAddress.name` | `contact.addresses.${number}.address.streetAddress.apt` | `contact.locationIds` | `contact.segmentIds` | `contact.memberInfo.status` | `contact.memberInfo.profileInfo.privacyStatus` | `contact.memberInfo.userInfo.userId` | `contact.memberInfo.userInfo.role` | `contact.memberInfo.sessionInfo.mobileAppNames` | `contact.memberInfo.groupInfo.groupIds` | `contact.tags.privateTags.tagIds`, 7> & {
|
|
119
|
+
__applicationErrorsType?: UpdateContactTagsApplicationErrors;
|
|
120
|
+
}>;
|
|
121
|
+
}
|
|
122
|
+
declare function mergeContacts$1(httpClient: HttpClient): MergeContactsSignature;
|
|
123
|
+
interface MergeContactsSignature {
|
|
124
|
+
/**
|
|
125
|
+
* Merges multiple source contacts into a single target contact.
|
|
126
|
+
*
|
|
127
|
+
* *Merge Process:**
|
|
128
|
+
* - Source contacts are permanently deleted after successful merge
|
|
129
|
+
* - Target contact is updated with merged information
|
|
130
|
+
* - Data from source contacts is combined based on merge priority
|
|
131
|
+
*
|
|
132
|
+
* *Field Merging Rules:**
|
|
133
|
+
* - Non-empty fields from source contacts fill empty fields in target
|
|
134
|
+
* - Arrays (emails, phones, addresses) are combined and deduplicated
|
|
135
|
+
* - External ID can only be set once and cannot be changed if already set
|
|
136
|
+
*
|
|
137
|
+
* *Restrictions:**
|
|
138
|
+
* - Source contacts cannot be site members
|
|
139
|
+
* - Maximum 5 source contacts per merge operation
|
|
140
|
+
* - Target contact must remain valid after merge
|
|
141
|
+
* @param - Target contact ID.
|
|
142
|
+
* @param - Target contact revision number, which increments by 1 each time the contact is updated to prevent conflicting changes.
|
|
143
|
+
*/
|
|
144
|
+
(targetContactId: string, targetContactRevision: string, options?: MergeContactsOptions): Promise<NonNullablePaths<MergeContactsResponse, `contact.email.email` | `contact.email.subscriptionStatus.status` | `contact.email.deliverabilityStatus` | `contact.additionalEmails` | `contact.additionalEmails.${number}.email` | `contact.phone.tag` | `contact.phone.phone` | `contact.phone.deliverabilityStatus` | `contact.additionalPhones` | `contact.additionalPhones.${number}.tag` | `contact.additionalPhones.${number}.phone` | `contact.addresses` | `contact.addresses.${number}.tag` | `contact.addresses.${number}.address.streetAddress.number` | `contact.addresses.${number}.address.streetAddress.name` | `contact.addresses.${number}.address.streetAddress.apt` | `contact.locationIds` | `contact.segmentIds` | `contact.memberInfo.status` | `contact.memberInfo.profileInfo.privacyStatus` | `contact.memberInfo.userInfo.userId` | `contact.memberInfo.userInfo.role` | `contact.memberInfo.sessionInfo.mobileAppNames` | `contact.memberInfo.groupInfo.groupIds` | `contact.tags.privateTags.tagIds`, 7> & {
|
|
145
|
+
__applicationErrorsType?: MergeContactsApplicationErrors;
|
|
146
|
+
}>;
|
|
147
|
+
}
|
|
148
|
+
declare function deleteContact$1(httpClient: HttpClient): DeleteContactSignature;
|
|
149
|
+
interface DeleteContactSignature {
|
|
150
|
+
/**
|
|
151
|
+
* Deletes a contact from the contact list.
|
|
152
|
+
*
|
|
153
|
+
* *Soft Delete:** Contacts are moved to a trash bin and can be restored within 90 days
|
|
154
|
+
* using RestoreContactFromTrashBin or BulkRestoreContactsFromTrashBin.
|
|
155
|
+
*
|
|
156
|
+
* *Member Contacts:** To delete a contact that is also a site member, set `delete_member` to `true` to delete both the contact and the member. Some member types, such as owners and contributors, can't be deleted.
|
|
157
|
+
*
|
|
158
|
+
* *Restrictions:**
|
|
159
|
+
* - Contacts with active billing subscriptions can't be deleted.
|
|
160
|
+
* - Site owners and contributors can't be deleted.
|
|
161
|
+
*
|
|
162
|
+
* To delete multiple contacts in a single request, call [Bulk Delete Contacts](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v5/bulk-delete-contacts).
|
|
163
|
+
* @param - Id of the Contact to delete.
|
|
164
|
+
*/
|
|
165
|
+
(contactId: string, options?: DeleteContactOptions): Promise<void & {
|
|
166
|
+
__applicationErrorsType?: DeleteContactApplicationErrors;
|
|
167
|
+
}>;
|
|
168
|
+
}
|
|
169
|
+
declare function findMatchingContacts$1(httpClient: HttpClient): FindMatchingContactsSignature;
|
|
170
|
+
interface FindMatchingContactsSignature {
|
|
171
|
+
/**
|
|
172
|
+
* Finds contacts that match the provided identifiers using intelligent matching logic.
|
|
173
|
+
*
|
|
174
|
+
* *Matching Logic:** Uses external_id, email, and phone to identify potential duplicates.
|
|
175
|
+
* The system applies sophisticated matching rules to find contacts that likely represent
|
|
176
|
+
* the same person across different data sources.
|
|
177
|
+
*
|
|
178
|
+
* *Result Ordering:** Returns up to 100 contacts ordered by match strength:
|
|
179
|
+
* 1. Contacts matching multiple identifiers (highest priority)
|
|
180
|
+
* 2. Contacts matching single identifiers
|
|
181
|
+
* 3. Within each group, ordered by creation date (oldest first)
|
|
182
|
+
*
|
|
183
|
+
* *Identifier Priority:**
|
|
184
|
+
* 1. External ID (highest priority)
|
|
185
|
+
* 2. Email address
|
|
186
|
+
* 3. Phone number (lowest priority)
|
|
187
|
+
*
|
|
188
|
+
* Learn more: [Contact Matching Documentation](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/matching-contacts)
|
|
189
|
+
*/
|
|
190
|
+
(options?: FindMatchingContactsOptions): Promise<NonNullablePaths<FindMatchingContactsResponse, `contacts` | `contacts.${number}.email.email` | `contacts.${number}.email.subscriptionStatus.status` | `contacts.${number}.email.deliverabilityStatus` | `contacts.${number}.phone.tag` | `contacts.${number}.phone.phone` | `contacts.${number}.phone.deliverabilityStatus` | `contacts.${number}.memberInfo.status` | `contacts.${number}.memberInfo.profileInfo.privacyStatus` | `contacts.${number}.memberInfo.userInfo.userId` | `contacts.${number}.memberInfo.userInfo.role`, 6> & {
|
|
191
|
+
__applicationErrorsType?: FindMatchingContactsApplicationErrors;
|
|
192
|
+
}>;
|
|
193
|
+
}
|
|
194
|
+
declare function searchContacts$1(httpClient: HttpClient): SearchContactsSignature;
|
|
195
|
+
interface SearchContactsSignature {
|
|
196
|
+
/**
|
|
197
|
+
* Searches contacts using free-text search combined with filtering and sorting.
|
|
198
|
+
*
|
|
199
|
+
* *Search Capabilities:**
|
|
200
|
+
* - Free-text search across multiple contact fields
|
|
201
|
+
* - Advanced filtering using WQL (Wix Query Language)
|
|
202
|
+
* - Flexible sorting options with name format control
|
|
203
|
+
* - Cursor-based pagination for large result sets
|
|
204
|
+
*
|
|
205
|
+
* *Searchable Fields:**
|
|
206
|
+
* - Full name, first name, last name
|
|
207
|
+
* - Email (main only)
|
|
208
|
+
* - Phone (main only)
|
|
209
|
+
* - Company name and job title
|
|
210
|
+
* - Member nickname
|
|
211
|
+
*
|
|
212
|
+
* *Name Formatting:** Control how names are displayed and sorted:
|
|
213
|
+
* - BY_FIRST_NAME: "John Smith" format
|
|
214
|
+
* - BY_LAST_NAME: "Smith, John" format
|
|
215
|
+
*
|
|
216
|
+
* Learn more: [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language)
|
|
217
|
+
* @param - WQL search expression
|
|
218
|
+
*/
|
|
219
|
+
(search: ContactSearch, options?: SearchContactsOptions): Promise<NonNullablePaths<SearchContactsResponse, `contacts` | `contacts.${number}.email.email` | `contacts.${number}.email.subscriptionStatus.status` | `contacts.${number}.email.deliverabilityStatus` | `contacts.${number}.phone.tag` | `contacts.${number}.phone.phone` | `contacts.${number}.phone.deliverabilityStatus` | `contacts.${number}.memberInfo.status` | `contacts.${number}.memberInfo.profileInfo.privacyStatus` | `contacts.${number}.memberInfo.userInfo.userId` | `contacts.${number}.memberInfo.userInfo.role` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
|
|
220
|
+
}
|
|
221
|
+
declare function countContacts$1(httpClient: HttpClient): CountContactsSignature;
|
|
222
|
+
interface CountContactsSignature {
|
|
223
|
+
/**
|
|
224
|
+
* Returns the total number of contacts matching the specified criteria.
|
|
225
|
+
*/
|
|
226
|
+
(options?: CountContactsOptions): Promise<NonNullablePaths<CountContactsResponse, `count`, 2>>;
|
|
227
|
+
}
|
|
228
|
+
declare function generateContactImageUploadUrl$1(httpClient: HttpClient): GenerateContactImageUploadUrlSignature;
|
|
229
|
+
interface GenerateContactImageUploadUrlSignature {
|
|
230
|
+
/**
|
|
231
|
+
* Generates an upload URL to allow external clients to upload a contact image.
|
|
232
|
+
* To learn how external clients can use the generated upload URL in the response to upload a file,
|
|
233
|
+
* see the [Upload API](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/upload-api) article.
|
|
234
|
+
*
|
|
235
|
+
* You can call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to query the status of the image upload.
|
|
236
|
+
* @param - ID of the contact whose picture is being updated.
|
|
237
|
+
*/
|
|
238
|
+
(contactId: string, options?: GenerateContactImageUploadUrlOptions): Promise<NonNullablePaths<GenerateContactImageUploadUrlResponse, `uploadUrl` | `imageUploadId`, 2> & {
|
|
239
|
+
__applicationErrorsType?: GenerateContactImageUploadUrlApplicationErrors;
|
|
240
|
+
}>;
|
|
241
|
+
}
|
|
242
|
+
declare function addContactAdditionalEmail$1(httpClient: HttpClient): AddContactAdditionalEmailSignature;
|
|
243
|
+
interface AddContactAdditionalEmailSignature {
|
|
244
|
+
/**
|
|
245
|
+
* Adds an email as an additional email.
|
|
246
|
+
* If the contact's email is not set, it cannot have an additional email and
|
|
247
|
+
* EMAIL_REQUIRED error will be returned.
|
|
248
|
+
* @param - ID of the Contact to add an email.
|
|
249
|
+
* @param - The email to add.
|
|
250
|
+
*/
|
|
251
|
+
(contactId: string, email: AdditionalEmail, options: NonNullablePaths<AddContactAdditionalEmailOptions, `revision`, 2>): Promise<NonNullablePaths<AddContactAdditionalEmailResponse, `contact.email.email` | `contact.email.subscriptionStatus.status` | `contact.email.deliverabilityStatus` | `contact.additionalEmails` | `contact.additionalEmails.${number}.email` | `contact.phone.tag` | `contact.phone.phone` | `contact.phone.deliverabilityStatus` | `contact.additionalPhones` | `contact.additionalPhones.${number}.tag` | `contact.additionalPhones.${number}.phone` | `contact.addresses` | `contact.addresses.${number}.tag` | `contact.addresses.${number}.address.streetAddress.number` | `contact.addresses.${number}.address.streetAddress.name` | `contact.addresses.${number}.address.streetAddress.apt` | `contact.locationIds` | `contact.segmentIds` | `contact.memberInfo.status` | `contact.memberInfo.profileInfo.privacyStatus` | `contact.memberInfo.userInfo.userId` | `contact.memberInfo.userInfo.role` | `contact.memberInfo.sessionInfo.mobileAppNames` | `contact.memberInfo.groupInfo.groupIds` | `contact.tags.privateTags.tagIds`, 7> & {
|
|
252
|
+
__applicationErrorsType?: AddContactAdditionalEmailApplicationErrors;
|
|
253
|
+
}>;
|
|
254
|
+
}
|
|
255
|
+
declare function addContactAdditionalPhone$1(httpClient: HttpClient): AddContactAdditionalPhoneSignature;
|
|
256
|
+
interface AddContactAdditionalPhoneSignature {
|
|
257
|
+
/**
|
|
258
|
+
* Adds a phone as an additional phone.
|
|
259
|
+
* If the contact's phone is not set, it cannot have an additional phone and
|
|
260
|
+
* PHONE_REQUIRED error will be returned.
|
|
261
|
+
* Checking if the contact already has the given phone, is done by comparing the phone number and tag.
|
|
262
|
+
* @param - ID of the Contact to add a phone.
|
|
263
|
+
* @param - The phone to add.
|
|
264
|
+
*/
|
|
265
|
+
(contactId: string, phone: AdditionalPhone, options: NonNullablePaths<AddContactAdditionalPhoneOptions, `revision`, 2>): Promise<NonNullablePaths<AddContactAdditionalPhoneResponse, `contact.email.email` | `contact.email.subscriptionStatus.status` | `contact.email.deliverabilityStatus` | `contact.additionalEmails` | `contact.additionalEmails.${number}.email` | `contact.phone.tag` | `contact.phone.phone` | `contact.phone.deliverabilityStatus` | `contact.additionalPhones` | `contact.additionalPhones.${number}.tag` | `contact.additionalPhones.${number}.phone` | `contact.addresses` | `contact.addresses.${number}.tag` | `contact.addresses.${number}.address.streetAddress.number` | `contact.addresses.${number}.address.streetAddress.name` | `contact.addresses.${number}.address.streetAddress.apt` | `contact.locationIds` | `contact.segmentIds` | `contact.memberInfo.status` | `contact.memberInfo.profileInfo.privacyStatus` | `contact.memberInfo.userInfo.userId` | `contact.memberInfo.userInfo.role` | `contact.memberInfo.sessionInfo.mobileAppNames` | `contact.memberInfo.groupInfo.groupIds` | `contact.tags.privateTags.tagIds`, 7> & {
|
|
266
|
+
__applicationErrorsType?: AddContactAdditionalPhoneApplicationErrors;
|
|
267
|
+
}>;
|
|
268
|
+
}
|
|
269
|
+
declare function addContactAddress$1(httpClient: HttpClient): AddContactAddressSignature;
|
|
270
|
+
interface AddContactAddressSignature {
|
|
271
|
+
/**
|
|
272
|
+
* Adds a contact's address.
|
|
273
|
+
* Checks that the address does not exist and appends to list of addresses.
|
|
274
|
+
* If the address exists, it is ignored.
|
|
275
|
+
* Checking if the contact already has the given address, is done by comparing the address and tag.
|
|
276
|
+
* @param - ID of the Contact to add an address.
|
|
277
|
+
* @param - The address to add.
|
|
278
|
+
*/
|
|
279
|
+
(contactId: string, address: ContactAddress, options: NonNullablePaths<AddContactAddressOptions, `revision`, 2>): Promise<NonNullablePaths<AddContactAddressResponse, `contact.email.email` | `contact.email.subscriptionStatus.status` | `contact.email.deliverabilityStatus` | `contact.additionalEmails` | `contact.additionalEmails.${number}.email` | `contact.phone.tag` | `contact.phone.phone` | `contact.phone.deliverabilityStatus` | `contact.additionalPhones` | `contact.additionalPhones.${number}.tag` | `contact.additionalPhones.${number}.phone` | `contact.addresses` | `contact.addresses.${number}.tag` | `contact.addresses.${number}.address.streetAddress.number` | `contact.addresses.${number}.address.streetAddress.name` | `contact.addresses.${number}.address.streetAddress.apt` | `contact.locationIds` | `contact.segmentIds` | `contact.memberInfo.status` | `contact.memberInfo.profileInfo.privacyStatus` | `contact.memberInfo.userInfo.userId` | `contact.memberInfo.userInfo.role` | `contact.memberInfo.sessionInfo.mobileAppNames` | `contact.memberInfo.groupInfo.groupIds` | `contact.tags.privateTags.tagIds`, 7> & {
|
|
280
|
+
__applicationErrorsType?: AddContactAddressApplicationErrors;
|
|
281
|
+
}>;
|
|
282
|
+
}
|
|
283
|
+
declare function deleteContactAddress$1(httpClient: HttpClient): DeleteContactAddressSignature;
|
|
284
|
+
interface DeleteContactAddressSignature {
|
|
285
|
+
/**
|
|
286
|
+
* Deletes a contact's address by address ID.
|
|
287
|
+
* @param - Contact revision number for optimistic concurrency control.
|
|
288
|
+
*/
|
|
289
|
+
(identifiers: NonNullablePaths<DeleteContactAddressIdentifiers, `addressId` | `contactId`, 2>, revision: string): Promise<NonNullablePaths<DeleteContactAddressResponse, `contact.email.email` | `contact.email.subscriptionStatus.status` | `contact.email.deliverabilityStatus` | `contact.additionalEmails` | `contact.additionalEmails.${number}.email` | `contact.phone.tag` | `contact.phone.phone` | `contact.phone.deliverabilityStatus` | `contact.additionalPhones` | `contact.additionalPhones.${number}.tag` | `contact.additionalPhones.${number}.phone` | `contact.addresses` | `contact.addresses.${number}.tag` | `contact.addresses.${number}.address.streetAddress.number` | `contact.addresses.${number}.address.streetAddress.name` | `contact.addresses.${number}.address.streetAddress.apt` | `contact.locationIds` | `contact.segmentIds` | `contact.memberInfo.status` | `contact.memberInfo.profileInfo.privacyStatus` | `contact.memberInfo.userInfo.userId` | `contact.memberInfo.userInfo.role` | `contact.memberInfo.sessionInfo.mobileAppNames` | `contact.memberInfo.groupInfo.groupIds` | `contact.tags.privateTags.tagIds`, 7> & {
|
|
290
|
+
__applicationErrorsType?: DeleteContactAddressApplicationErrors;
|
|
291
|
+
}>;
|
|
292
|
+
}
|
|
293
|
+
declare function updateContactAddress$1(httpClient: HttpClient): UpdateContactAddressSignature;
|
|
294
|
+
interface UpdateContactAddressSignature {
|
|
295
|
+
/**
|
|
296
|
+
* Updates a contact's address.
|
|
297
|
+
* @param - The updated address (must include address.id).
|
|
298
|
+
*/
|
|
299
|
+
(identifiers: NonNullablePaths<UpdateContactAddressIdentifiers, `contactId`, 2>, address: ContactAddress, options: NonNullablePaths<UpdateContactAddressOptions, `revision`, 2>): Promise<NonNullablePaths<UpdateContactAddressResponse, `contact.email.email` | `contact.email.subscriptionStatus.status` | `contact.email.deliverabilityStatus` | `contact.additionalEmails` | `contact.additionalEmails.${number}.email` | `contact.phone.tag` | `contact.phone.phone` | `contact.phone.deliverabilityStatus` | `contact.additionalPhones` | `contact.additionalPhones.${number}.tag` | `contact.additionalPhones.${number}.phone` | `contact.addresses` | `contact.addresses.${number}.tag` | `contact.addresses.${number}.address.streetAddress.number` | `contact.addresses.${number}.address.streetAddress.name` | `contact.addresses.${number}.address.streetAddress.apt` | `contact.locationIds` | `contact.segmentIds` | `contact.memberInfo.status` | `contact.memberInfo.profileInfo.privacyStatus` | `contact.memberInfo.userInfo.userId` | `contact.memberInfo.userInfo.role` | `contact.memberInfo.sessionInfo.mobileAppNames` | `contact.memberInfo.groupInfo.groupIds` | `contact.tags.privateTags.tagIds`, 7> & {
|
|
300
|
+
__applicationErrorsType?: UpdateContactAddressApplicationErrors;
|
|
301
|
+
}>;
|
|
302
|
+
}
|
|
303
|
+
declare function bulkCreateContacts$1(httpClient: HttpClient): BulkCreateContactsSignature;
|
|
304
|
+
interface BulkCreateContactsSignature {
|
|
305
|
+
/**
|
|
306
|
+
* Create multiple Contacts in a single request. Works synchronously.
|
|
307
|
+
*
|
|
308
|
+
* When providing an image url for a contact, the images will be uploaded in the background,
|
|
309
|
+
* and each returned contact will temporarily have no image.
|
|
310
|
+
* Once the upload succeeds, the contacts image will be updated.
|
|
311
|
+
*
|
|
312
|
+
* To create a single contact, call [Create Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v5/create-contact).
|
|
313
|
+
* @param - List of Contacts to be created
|
|
314
|
+
*/
|
|
315
|
+
(contacts: Contact[], options?: BulkCreateContactsOptions): Promise<NonNullablePaths<BulkCreateContactsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.email.email` | `results.${number}.item.email.deliverabilityStatus` | `results.${number}.item.phone.tag` | `results.${number}.item.phone.phone` | `results.${number}.item.phone.deliverabilityStatus` | `results.${number}.item.memberInfo.status` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
316
|
+
}
|
|
317
|
+
declare function bulkUpdateContacts$1(httpClient: HttpClient): BulkUpdateContactsSignature;
|
|
318
|
+
interface BulkUpdateContactsSignature {
|
|
319
|
+
/**
|
|
320
|
+
* Update multiple Contacts in a single request. Works synchronously.
|
|
321
|
+
*
|
|
322
|
+
* When providing an image url for a contact, the images will be uploaded in the background,
|
|
323
|
+
* and each returned contact will temporarily have the previous image.
|
|
324
|
+
* Once the upload succeeds, the contacts image will be updated.
|
|
325
|
+
*
|
|
326
|
+
* The `external_id` of a contact can be set only once and if it is already set it cannot be updated.
|
|
327
|
+
*
|
|
328
|
+
* To update a single contact, call [Update Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v5/update-contact).
|
|
329
|
+
* @param - List of Contacts to be updated.
|
|
330
|
+
*/
|
|
331
|
+
(contacts: NonNullablePaths<MaskedContact, `contact._id` | `contact.revision`, 3>[], options?: BulkUpdateContactsOptions): Promise<NonNullablePaths<BulkUpdateContactsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.email.email` | `results.${number}.item.email.deliverabilityStatus` | `results.${number}.item.phone.tag` | `results.${number}.item.phone.phone` | `results.${number}.item.phone.deliverabilityStatus` | `results.${number}.item.memberInfo.status` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
332
|
+
}
|
|
333
|
+
declare function bulkUpdateContactTags$1(httpClient: HttpClient): BulkUpdateContactTagsSignature;
|
|
334
|
+
interface BulkUpdateContactTagsSignature {
|
|
335
|
+
/**
|
|
336
|
+
* Synchronously update tags on multiple contacts, by list of contact ids
|
|
337
|
+
* A tag that appears both in the list of assign and unassign tags, will be assigned.
|
|
338
|
+
* There must be at least one tag to assign or unassign in the request.
|
|
339
|
+
* @param - The contacts from which to add or remove tags.
|
|
340
|
+
*/
|
|
341
|
+
(contactIds: string[], options?: BulkUpdateContactTagsOptions): Promise<NonNullablePaths<BulkUpdateContactTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.email.email` | `results.${number}.item.email.deliverabilityStatus` | `results.${number}.item.phone.tag` | `results.${number}.item.phone.phone` | `results.${number}.item.phone.deliverabilityStatus` | `results.${number}.item.memberInfo.status` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
|
|
342
|
+
__applicationErrorsType?: BulkUpdateContactTagsApplicationErrors;
|
|
343
|
+
}>;
|
|
344
|
+
}
|
|
345
|
+
declare function bulkUpdateContactTagsByFilter$1(httpClient: HttpClient): BulkUpdateContactTagsByFilterSignature;
|
|
346
|
+
interface BulkUpdateContactTagsByFilterSignature {
|
|
347
|
+
/**
|
|
348
|
+
* Asynchronously update tags on multiple contacts, by provided filter
|
|
349
|
+
* An empty filter will update all contacts
|
|
350
|
+
* A tag that appears both in the list of assign and unassign tags, will be assigned.
|
|
351
|
+
* There must be at least one tag to assign or unassign in the request.
|
|
352
|
+
* @param - A filter object. See documentation [here](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#filters)
|
|
353
|
+
*/
|
|
354
|
+
(filter: Record<string, any>, options?: BulkUpdateContactTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateContactTagsByFilterResponse, `jobId`, 2> & {
|
|
355
|
+
__applicationErrorsType?: BulkUpdateContactTagsByFilterApplicationErrors;
|
|
356
|
+
}>;
|
|
357
|
+
}
|
|
358
|
+
declare function bulkUpsertContacts$1(httpClient: HttpClient): BulkUpsertContactsSignature;
|
|
359
|
+
interface BulkUpsertContactsSignature {
|
|
360
|
+
/**
|
|
361
|
+
* Creates or updates multiple contacts in a single request. Works synchronously.
|
|
362
|
+
*
|
|
363
|
+
* Tries finding a contact by the [matching logic](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/matching-contacts).
|
|
364
|
+
* If the contact is found, by the contact identifiers, the contact is updated. Otherwise created.
|
|
365
|
+
*
|
|
366
|
+
* If the contact is being updated, the upsert can run in three modes:
|
|
367
|
+
* `OVERWRITE` (default): Fields will be overwritten.
|
|
368
|
+
*
|
|
369
|
+
* `APPEND`: Fields will be appended. Non-array fields will be set only if it does not have an existing value.
|
|
370
|
+
*
|
|
371
|
+
* `OVERWRITE_APPEND_ARRAYS`: Array fields, will be appended. Non-array fields will be overwritten.
|
|
372
|
+
*
|
|
373
|
+
* When updating in `APPEND` or `OVERWRITE_APPEND_ARRAYS` mode and the request contains addresses,
|
|
374
|
+
* the default address flag will will be ignored unless there are no existing addresses on the contact.
|
|
375
|
+
*
|
|
376
|
+
* When providing an image url for a contact, given that the upsert mode allow the image to be updated,
|
|
377
|
+
* the images will be uploaded in the background, and each returned contact will temporarily
|
|
378
|
+
* have no image if the contact was created or the previous image if the contact was updated.
|
|
379
|
+
* Once the upload succeeds, the contact image will be updated.
|
|
380
|
+
* @param - List of Contacts to be updated.
|
|
381
|
+
*/
|
|
382
|
+
(contacts: BulkUpsertContactsRequestMaskedContact[], options?: BulkUpsertContactsOptions): Promise<NonNullablePaths<BulkUpsertContactsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.email.email` | `results.${number}.item.email.deliverabilityStatus` | `results.${number}.item.phone.tag` | `results.${number}.item.phone.phone` | `results.${number}.item.phone.deliverabilityStatus` | `results.${number}.item.memberInfo.status` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
383
|
+
}
|
|
384
|
+
declare function bulkDeleteContacts$1(httpClient: HttpClient): BulkDeleteContactsSignature;
|
|
385
|
+
interface BulkDeleteContactsSignature {
|
|
386
|
+
/**
|
|
387
|
+
* Delete multiple Contacts in a single request. Works synchronously.
|
|
388
|
+
*
|
|
389
|
+
* When deleting contacts, the contact can be restored up to 90 days using the
|
|
390
|
+
* RestoreContactFromTrashBin or BulkRestoreContactsFromTrashBin.
|
|
391
|
+
*
|
|
392
|
+
* To delete a single contact, call [Delete Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v5/delete-contact).
|
|
393
|
+
* @param - Contact ids to be deleted
|
|
394
|
+
*/
|
|
395
|
+
(contactIds: string[], options?: BulkDeleteContactsOptions): Promise<NonNullablePaths<BulkDeleteContactsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
|
|
396
|
+
__applicationErrorsType?: BulkDeleteContactsApplicationErrors;
|
|
397
|
+
}>;
|
|
398
|
+
}
|
|
399
|
+
declare function bulkDeleteContactsByFilter$1(httpClient: HttpClient): BulkDeleteContactsByFilterSignature;
|
|
400
|
+
interface BulkDeleteContactsByFilterSignature {
|
|
401
|
+
/**
|
|
402
|
+
* Deletes multiple contacts.
|
|
403
|
+
*
|
|
404
|
+
* All contacts that meet the specified `filter` and `search` criteria are deleted.
|
|
405
|
+
* The request should contain a `filter` value or a `search` value, or both.
|
|
406
|
+
* To perform a dry run, use the intended filter options with
|
|
407
|
+
* [Search Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/search-contacts).
|
|
408
|
+
*
|
|
409
|
+
* The following errors can happen while processing the bulk and they will appear in the bulk job:
|
|
410
|
+
* - `CANNOT_DELETE_SITE_MEMBERS` - Contact is a site member and cannot be deleted. Site member must be deleted first.
|
|
411
|
+
* - `CANNOT_DELETE_CONTACT_WITH_BILLING_SUBSCRIPTION` - Contact has an active billing subscription and cannot be deleted.
|
|
412
|
+
* - `CANNOT_DELETE_WIX_USERS_MEMBER` - Site member cannot be deleted because it is the owner or a contributor.
|
|
413
|
+
* - `FAILED_DELETE_CONTACT_AFTER_MEMBER_DELETION` - Site member was deleted, but contact was not.
|
|
414
|
+
* - 'FAILED_DELETE_CONTACT' - Contact could not be deleted.
|
|
415
|
+
*
|
|
416
|
+
* When deleting contacts, the contact can be restored up to 90 days using the
|
|
417
|
+
* RestoreContactFromTrashBin or BulkRestoreContactsFromTrashBin.
|
|
418
|
+
* @param - Filter object.
|
|
419
|
+
*
|
|
420
|
+
* Example:
|
|
421
|
+
* `{ "filter": { "name.last": "Smith" } }`
|
|
422
|
+
*/
|
|
423
|
+
(filter: Record<string, any>, options?: BulkDeleteContactsByFilterOptions): Promise<NonNullablePaths<BulkDeleteContactsByFilterResponse, `jobId`, 2> & {
|
|
424
|
+
__applicationErrorsType?: BulkDeleteContactsByFilterApplicationErrors;
|
|
425
|
+
}>;
|
|
426
|
+
}
|
|
427
|
+
declare function removeContactFromTrashBin$1(httpClient: HttpClient): RemoveContactFromTrashBinSignature;
|
|
428
|
+
interface RemoveContactFromTrashBinSignature {
|
|
429
|
+
/**
|
|
430
|
+
* Remove a contact from the trash-bin.
|
|
431
|
+
* The contact will not be able to be restored anymore.
|
|
432
|
+
* @param - Id of the Contact to remove from trashbin.
|
|
433
|
+
*/
|
|
434
|
+
(contactId: string): Promise<void>;
|
|
435
|
+
}
|
|
436
|
+
declare function restoreContactFromTrashBin$1(httpClient: HttpClient): RestoreContactFromTrashBinSignature;
|
|
437
|
+
interface RestoreContactFromTrashBinSignature {
|
|
438
|
+
/**
|
|
439
|
+
* Restore a contact from the trash-bin.
|
|
440
|
+
* @param - Id of the Contact to restore from trashbin.
|
|
441
|
+
*/
|
|
442
|
+
(contactId: string): Promise<NonNullablePaths<RestoreContactFromTrashBinResponse, `contact.email.email` | `contact.email.subscriptionStatus.status` | `contact.email.deliverabilityStatus` | `contact.additionalEmails` | `contact.additionalEmails.${number}.email` | `contact.phone.tag` | `contact.phone.phone` | `contact.phone.deliverabilityStatus` | `contact.additionalPhones` | `contact.additionalPhones.${number}.tag` | `contact.additionalPhones.${number}.phone` | `contact.addresses` | `contact.addresses.${number}.tag` | `contact.addresses.${number}.address.streetAddress.number` | `contact.addresses.${number}.address.streetAddress.name` | `contact.addresses.${number}.address.streetAddress.apt` | `contact.locationIds` | `contact.segmentIds` | `contact.memberInfo.status` | `contact.memberInfo.profileInfo.privacyStatus` | `contact.memberInfo.userInfo.userId` | `contact.memberInfo.userInfo.role` | `contact.memberInfo.sessionInfo.mobileAppNames` | `contact.memberInfo.groupInfo.groupIds` | `contact.tags.privateTags.tagIds`, 7>>;
|
|
443
|
+
}
|
|
444
|
+
declare function bulkRestoreContactsFromTrashBin$1(httpClient: HttpClient): BulkRestoreContactsFromTrashBinSignature;
|
|
445
|
+
interface BulkRestoreContactsFromTrashBinSignature {
|
|
446
|
+
/**
|
|
447
|
+
* Restore contacts from the trash-bin
|
|
448
|
+
*/
|
|
449
|
+
(options?: BulkRestoreContactsFromTrashBinOptions): Promise<NonNullablePaths<BulkRestoreContactsFromTrashBinResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.email.email` | `results.${number}.item.email.deliverabilityStatus` | `results.${number}.item.phone.tag` | `results.${number}.item.phone.phone` | `results.${number}.item.phone.deliverabilityStatus` | `results.${number}.item.memberInfo.status` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
450
|
+
}
|
|
451
|
+
declare function getDeletedContact$1(httpClient: HttpClient): GetDeletedContactSignature;
|
|
452
|
+
interface GetDeletedContactSignature {
|
|
453
|
+
/**
|
|
454
|
+
* Retrieves a deleted contact from the trash bin by ID.
|
|
455
|
+
* @param - Id of the Contact to retrieve from trashbin.
|
|
456
|
+
*/
|
|
457
|
+
(contactId: string): Promise<NonNullablePaths<GetDeletedContactResponse, `contact.email.email` | `contact.email.subscriptionStatus.status` | `contact.email.deliverabilityStatus` | `contact.additionalEmails` | `contact.additionalEmails.${number}.email` | `contact.phone.tag` | `contact.phone.phone` | `contact.phone.deliverabilityStatus` | `contact.additionalPhones` | `contact.additionalPhones.${number}.tag` | `contact.additionalPhones.${number}.phone` | `contact.addresses` | `contact.addresses.${number}.tag` | `contact.addresses.${number}.address.streetAddress.number` | `contact.addresses.${number}.address.streetAddress.name` | `contact.addresses.${number}.address.streetAddress.apt` | `contact.locationIds` | `contact.segmentIds` | `contact.memberInfo.status` | `contact.memberInfo.profileInfo.privacyStatus` | `contact.memberInfo.userInfo.userId` | `contact.memberInfo.userInfo.role` | `contact.memberInfo.sessionInfo.mobileAppNames` | `contact.memberInfo.groupInfo.groupIds` | `contact.tags.privateTags.tagIds`, 7>>;
|
|
458
|
+
}
|
|
459
|
+
declare function listDeletedContacts$1(httpClient: HttpClient): ListDeletedContactsSignature;
|
|
460
|
+
interface ListDeletedContactsSignature {
|
|
461
|
+
/**
|
|
462
|
+
* List deleted contacts by the provided identifiers.
|
|
463
|
+
*/
|
|
464
|
+
(options?: ListDeletedContactsOptions): Promise<NonNullablePaths<ListDeletedContactsResponse, `contacts` | `contacts.${number}.email.email` | `contacts.${number}.email.subscriptionStatus.status` | `contacts.${number}.email.deliverabilityStatus` | `contacts.${number}.phone.tag` | `contacts.${number}.phone.phone` | `contacts.${number}.phone.deliverabilityStatus` | `contacts.${number}.memberInfo.status` | `contacts.${number}.memberInfo.profileInfo.privacyStatus` | `contacts.${number}.memberInfo.userInfo.userId` | `contacts.${number}.memberInfo.userInfo.role`, 6>>;
|
|
465
|
+
}
|
|
466
|
+
declare function getContactImageUploadStatus$1(httpClient: HttpClient): GetContactImageUploadStatusSignature;
|
|
467
|
+
interface GetContactImageUploadStatusSignature {
|
|
468
|
+
/**
|
|
469
|
+
* Retrieves the status of the contact image upload process.
|
|
470
|
+
*/
|
|
471
|
+
(identifiers: NonNullablePaths<GetContactImageUploadStatusIdentifiers, `contactId` | `imageUploadId`, 2>): Promise<NonNullablePaths<GetContactImageUploadStatusResponse, `status`, 2> & {
|
|
472
|
+
__applicationErrorsType?: GetContactImageUploadStatusApplicationErrors;
|
|
473
|
+
}>;
|
|
474
|
+
}
|
|
475
|
+
declare function bulkUpdatePhoneCountryCodeByFilter$1(httpClient: HttpClient): BulkUpdatePhoneCountryCodeByFilterSignature;
|
|
476
|
+
interface BulkUpdatePhoneCountryCodeByFilterSignature {
|
|
477
|
+
/**
|
|
478
|
+
* Adds the requested country code to contact's main phones.
|
|
479
|
+
* The main phone of a contact will be changed if the resulting number with the added country code,
|
|
480
|
+
* is a valid phone number. Otherwise, the contact is not changed.
|
|
481
|
+
*/
|
|
482
|
+
(options?: NonNullablePaths<BulkUpdatePhoneCountryCodeByFilterOptions, `countryCode`, 2>): Promise<NonNullablePaths<BulkUpdatePhoneCountryCodeByFilterResponse, `jobId`, 2>>;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
declare function customQueryContacts(httpClient: HttpClient): {
|
|
486
|
+
(): ContactsQueryBuilder;
|
|
487
|
+
(query: ContactQuery): ReturnType<typeof typedQueryContacts>;
|
|
488
|
+
};
|
|
489
|
+
declare const bulkUpdateContactSubscriptions: MaybeContext<BuildRESTFunction<typeof bulkUpdateContactSubscriptions$1> & typeof bulkUpdateContactSubscriptions$1>;
|
|
490
|
+
declare const createContact: MaybeContext<BuildRESTFunction<typeof createContact$1> & typeof createContact$1>;
|
|
491
|
+
declare const getContact: MaybeContext<BuildRESTFunction<typeof getContact$1> & typeof getContact$1>;
|
|
492
|
+
declare const updateContact: MaybeContext<BuildRESTFunction<typeof updateContact$1> & typeof updateContact$1>;
|
|
493
|
+
declare const upsertContact: MaybeContext<BuildRESTFunction<typeof upsertContact$1> & typeof upsertContact$1>;
|
|
494
|
+
declare const updateContactTags: MaybeContext<BuildRESTFunction<typeof updateContactTags$1> & typeof updateContactTags$1>;
|
|
495
|
+
declare const mergeContacts: MaybeContext<BuildRESTFunction<typeof mergeContacts$1> & typeof mergeContacts$1>;
|
|
496
|
+
declare const deleteContact: MaybeContext<BuildRESTFunction<typeof deleteContact$1> & typeof deleteContact$1>;
|
|
497
|
+
declare const findMatchingContacts: MaybeContext<BuildRESTFunction<typeof findMatchingContacts$1> & typeof findMatchingContacts$1>;
|
|
498
|
+
declare const searchContacts: MaybeContext<BuildRESTFunction<typeof searchContacts$1> & typeof searchContacts$1>;
|
|
499
|
+
declare const countContacts: MaybeContext<BuildRESTFunction<typeof countContacts$1> & typeof countContacts$1>;
|
|
500
|
+
declare const generateContactImageUploadUrl: MaybeContext<BuildRESTFunction<typeof generateContactImageUploadUrl$1> & typeof generateContactImageUploadUrl$1>;
|
|
501
|
+
declare const addContactAdditionalEmail: MaybeContext<BuildRESTFunction<typeof addContactAdditionalEmail$1> & typeof addContactAdditionalEmail$1>;
|
|
502
|
+
declare const addContactAdditionalPhone: MaybeContext<BuildRESTFunction<typeof addContactAdditionalPhone$1> & typeof addContactAdditionalPhone$1>;
|
|
503
|
+
declare const addContactAddress: MaybeContext<BuildRESTFunction<typeof addContactAddress$1> & typeof addContactAddress$1>;
|
|
504
|
+
declare const deleteContactAddress: MaybeContext<BuildRESTFunction<typeof deleteContactAddress$1> & typeof deleteContactAddress$1>;
|
|
505
|
+
declare const updateContactAddress: MaybeContext<BuildRESTFunction<typeof updateContactAddress$1> & typeof updateContactAddress$1>;
|
|
506
|
+
declare const bulkCreateContacts: MaybeContext<BuildRESTFunction<typeof bulkCreateContacts$1> & typeof bulkCreateContacts$1>;
|
|
507
|
+
declare const bulkUpdateContacts: MaybeContext<BuildRESTFunction<typeof bulkUpdateContacts$1> & typeof bulkUpdateContacts$1>;
|
|
508
|
+
declare const bulkUpdateContactTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateContactTags$1> & typeof bulkUpdateContactTags$1>;
|
|
509
|
+
declare const bulkUpdateContactTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateContactTagsByFilter$1> & typeof bulkUpdateContactTagsByFilter$1>;
|
|
510
|
+
declare const bulkUpsertContacts: MaybeContext<BuildRESTFunction<typeof bulkUpsertContacts$1> & typeof bulkUpsertContacts$1>;
|
|
511
|
+
declare const bulkDeleteContacts: MaybeContext<BuildRESTFunction<typeof bulkDeleteContacts$1> & typeof bulkDeleteContacts$1>;
|
|
512
|
+
declare const bulkDeleteContactsByFilter: MaybeContext<BuildRESTFunction<typeof bulkDeleteContactsByFilter$1> & typeof bulkDeleteContactsByFilter$1>;
|
|
513
|
+
declare const removeContactFromTrashBin: MaybeContext<BuildRESTFunction<typeof removeContactFromTrashBin$1> & typeof removeContactFromTrashBin$1>;
|
|
514
|
+
declare const restoreContactFromTrashBin: MaybeContext<BuildRESTFunction<typeof restoreContactFromTrashBin$1> & typeof restoreContactFromTrashBin$1>;
|
|
515
|
+
declare const bulkRestoreContactsFromTrashBin: MaybeContext<BuildRESTFunction<typeof bulkRestoreContactsFromTrashBin$1> & typeof bulkRestoreContactsFromTrashBin$1>;
|
|
516
|
+
declare const getDeletedContact: MaybeContext<BuildRESTFunction<typeof getDeletedContact$1> & typeof getDeletedContact$1>;
|
|
517
|
+
declare const listDeletedContacts: MaybeContext<BuildRESTFunction<typeof listDeletedContacts$1> & typeof listDeletedContacts$1>;
|
|
518
|
+
declare const getContactImageUploadStatus: MaybeContext<BuildRESTFunction<typeof getContactImageUploadStatus$1> & typeof getContactImageUploadStatus$1>;
|
|
519
|
+
declare const bulkUpdatePhoneCountryCodeByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdatePhoneCountryCodeByFilter$1> & typeof bulkUpdatePhoneCountryCodeByFilter$1>;
|
|
520
|
+
declare const queryContacts: MaybeContext<BuildRESTFunction<typeof customQueryContacts> & typeof customQueryContacts>;
|
|
521
|
+
|
|
522
|
+
export { AddContactAdditionalEmailApplicationErrors, AddContactAdditionalEmailOptions, AddContactAdditionalEmailResponse, AddContactAdditionalPhoneApplicationErrors, AddContactAdditionalPhoneOptions, AddContactAdditionalPhoneResponse, AddContactAddressApplicationErrors, AddContactAddressOptions, AddContactAddressResponse, AdditionalEmail, AdditionalPhone, BulkCreateContactsOptions, BulkCreateContactsResponse, BulkDeleteContactsApplicationErrors, BulkDeleteContactsByFilterApplicationErrors, BulkDeleteContactsByFilterOptions, BulkDeleteContactsByFilterResponse, BulkDeleteContactsOptions, BulkDeleteContactsResponse, BulkRestoreContactsFromTrashBinOptions, BulkRestoreContactsFromTrashBinResponse, BulkUpdateContactSubscriptionsApplicationErrors, BulkUpdateContactSubscriptionsOptions, BulkUpdateContactSubscriptionsResponse, BulkUpdateContactTagsApplicationErrors, BulkUpdateContactTagsByFilterApplicationErrors, BulkUpdateContactTagsByFilterOptions, BulkUpdateContactTagsByFilterResponse, BulkUpdateContactTagsOptions, BulkUpdateContactTagsResponse, BulkUpdateContactsOptions, BulkUpdateContactsResponse, BulkUpdatePhoneCountryCodeByFilterOptions, BulkUpdatePhoneCountryCodeByFilterResponse, BulkUpsertContactsOptions, BulkUpsertContactsRequestMaskedContact, BulkUpsertContactsResponse, Contact, ContactAddress, ContactQuery, ContactSearch, ContactsQueryBuilder, CountContactsOptions, CountContactsResponse, CreateContactApplicationErrors, CreateContactOptions, DeleteContactAddressApplicationErrors, DeleteContactAddressIdentifiers, DeleteContactAddressResponse, DeleteContactApplicationErrors, DeleteContactOptions, FindMatchingContactsApplicationErrors, FindMatchingContactsOptions, FindMatchingContactsResponse, GenerateContactImageUploadUrlApplicationErrors, GenerateContactImageUploadUrlOptions, GenerateContactImageUploadUrlResponse, GetContactImageUploadStatusApplicationErrors, GetContactImageUploadStatusIdentifiers, GetContactImageUploadStatusResponse, GetDeletedContactResponse, ListDeletedContactsOptions, ListDeletedContactsResponse, MaskedContact, MergeContactsApplicationErrors, MergeContactsOptions, MergeContactsResponse, RestoreContactFromTrashBinResponse, SearchContactsOptions, SearchContactsResponse, UpdateContact, UpdateContactAddressApplicationErrors, UpdateContactAddressIdentifiers, UpdateContactAddressOptions, UpdateContactAddressResponse, UpdateContactApplicationErrors, UpdateContactOptions, UpdateContactTagsApplicationErrors, UpdateContactTagsOptions, UpdateContactTagsResponse, UpsertContactApplicationErrors, UpsertContactOptions, UpsertContactResponse, addContactAdditionalEmail, addContactAdditionalPhone, addContactAddress, bulkCreateContacts, bulkDeleteContacts, bulkDeleteContactsByFilter, bulkRestoreContactsFromTrashBin, bulkUpdateContactSubscriptions, bulkUpdateContactTags, bulkUpdateContactTagsByFilter, bulkUpdateContacts, bulkUpdatePhoneCountryCodeByFilter, bulkUpsertContacts, countContacts, createContact, deleteContact, deleteContactAddress, findMatchingContacts, generateContactImageUploadUrl, getContact, getContactImageUploadStatus, getDeletedContact, listDeletedContacts, mergeContacts, queryContacts, removeContactFromTrashBin, restoreContactFromTrashBin, searchContacts, updateContact, updateContactAddress, updateContactTags, upsertContact };
|