@wix/auto_sdk_crm_contacts-v-5 1.0.19 → 1.0.21
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-Dm5t1E6V.d.ts → contacts-v5-contact-contacts-v-5.universal-BJh2oKn7.d.ts} +38 -30
- package/build/cjs/index.d.ts +31 -31
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +7 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{contacts-v5-contact-contacts-v-5.universal-Dm5t1E6V.d.mts → contacts-v5-contact-contacts-v-5.universal-BJh2oKn7.d.mts} +38 -30
- package/build/es/index.d.mts +31 -31
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +7 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{contacts-v5-contact-contacts-v-5.universal-mCe0aLKN.d.ts → contacts-v5-contact-contacts-v-5.universal-Ckkqdx9F.d.ts} +38 -30
- package/build/internal/cjs/index.d.ts +31 -31
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +7 -1
- package/build/internal/es/{contacts-v5-contact-contacts-v-5.universal-mCe0aLKN.d.mts → contacts-v5-contact-contacts-v-5.universal-Ckkqdx9F.d.mts} +38 -30
- package/build/internal/es/index.d.mts +31 -31
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +7 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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 UpdateContactAddress, W as UpdateContactAddressOptions, X as UpdateContactAddressResponse, Y as UpdateContactAddressApplicationErrors, Z as BulkCreateContactsOptions, _ as BulkCreateContactsResponse, $ as MaskedContact, a0 as BulkUpdateContactsOptions, a1 as BulkUpdateContactsResponse, a2 as BulkUpdateContactTagsOptions, a3 as BulkUpdateContactTagsResponse, a4 as BulkUpdateContactTagsApplicationErrors, a5 as BulkUpdateContactTagsByFilterOptions, a6 as BulkUpdateContactTagsByFilterResponse, a7 as BulkUpdateContactTagsByFilterApplicationErrors, a8 as BulkUpsertContactsRequestMaskedContact, a9 as BulkUpsertContactsOptions, aa as BulkUpsertContactsResponse, ab as BulkDeleteContactsOptions, ac as BulkDeleteContactsResponse, ad as BulkDeleteContactsApplicationErrors, ae as BulkDeleteContactsByFilterOptions, af as BulkDeleteContactsByFilterResponse, ag as BulkDeleteContactsByFilterApplicationErrors, ah as RestoreContactFromTrashBinResponse, ai as BulkRestoreContactsFromTrashBinOptions, aj as BulkRestoreContactsFromTrashBinResponse, ak as GetDeletedContactResponse, al as ListDeletedContactsOptions, am as ListDeletedContactsResponse, an as GetContactImageUploadStatusIdentifiers, ao as GetContactImageUploadStatusResponse, ap as GetContactImageUploadStatusApplicationErrors, aq as BulkUpdatePhoneCountryCodeByFilterOptions, ar as BulkUpdatePhoneCountryCodeByFilterResponse, as as ContactsQueryBuilder, at as ContactQuery, au as typedQueryContacts } from './contacts-v5-contact-contacts-v-5.universal-
|
|
3
|
-
export { bz as AccountInfo, aT as Action, bv as ActionEvent, dH as ActionWithLiterals, cB as AddContactAdditionalEmailRequest, cC as AddContactAdditionalPhoneRequest, cD as AddContactAddressRequest, a_ as Address, b1 as AddressLocation, a$ as AddressStreetOneOf, az as AddressTag, dm as AddressTagWithLiterals, c6 as Aggregation, ci as AggregationData, c7 as AggregationKindOneOf, cx as AggregationResults, cy as AggregationResultsResultOneOf, cn as AggregationResultsScalarResult, aR as AggregationType, dF as AggregationTypeWithLiterals, cI as ApplicationError, cK as BulkActionMetadata, d0 as BulkAddSegmentToContactsRequest, d1 as BulkAddSegmentToContactsResponse, cJ as BulkContactResult, cG as BulkCreateContactsRequest, bI as BulkDelete, cU as BulkDeleteContactsByFilterRequest, cS as BulkDeleteContactsRequest, cT as BulkDeleteContactsResponseBulkContactResult, bH as BulkIndex, d2 as BulkRemoveSegmentFromContactsRequest, d3 as BulkRemoveSegmentFromContactsResponse, cY as BulkRestoreContactsFromTrashBinRequest, cZ as BulkRestoreContactsFromTrashBinResponseBulkContactResult, bA as BulkUpdateContactSubscriptionsRequest, cP as BulkUpdateContactTagsByFilterRequest, cN as BulkUpdateContactTagsRequest, cO as BulkUpdateContactTagsResult, cL as BulkUpdateContactsRequest, cM as BulkUpdateContactsResponseBulkContactResult, db as BulkUpdatePhoneCountryCodeByFilterRequest, cQ as BulkUpsertContactsRequest, cR as BulkUpsertContactsResponseBulkContactResult, dK as CommonQueryWithEntityContext, dL as CommonSearchWithEntityContext, b7 as ContactActivity, b5 as ContactCompany, aX as ContactEmail, bm as ContactEmailSubscriptionUpdated, bo as ContactImageUploaded, bl as ContactMerged, aW as ContactName, aZ as ContactPhone, bn as ContactPhoneSubscriptionUpdated, df as ContactQuerySpec, dg as ContactSearchSpec, b6 as ContactSource, aY as ContactSubscription, de as ContactsQueryResult, cz as CountContactsRequest, bJ as CreateContactRequest, bK as CreateContactResponse, b$ as CursorPaging, c1 as CursorPagingMetadata, bY as CursorQuery, bZ as CursorQueryPagingMethodOneOf, c4 as CursorSearch, c5 as CursorSearchPagingMethodOneOf, c2 as Cursors, ce as DateHistogramAggregation, cu as DateHistogramResult, cv as DateHistogramResults, bF as Delete, cE as DeleteContactAddressRequest, bU as DeleteContactRequest, bV as DeleteContactResponse, bp as DomainEvent, bq as DomainEventBodyOneOf, bL as DuplicateContactExists, aw as EmailDeliverabilityStatus, dj as EmailDeliverabilityStatusWithLiterals, dc as Empty, br as EntityCreatedEvent, bu as EntityDeletedEvent, bt as EntityUpdatedEvent, bf as ExtendedFields, bR as FailedMemberUpdate, bW as FindMatchingContactsRequest, cA as GenerateContactImageUploadUrlRequest, da as GetContactImageUploadStatusRequest, bM as GetContactRequest, bN as GetContactResponse, c_ as GetDeletedContactRequest, bc as GroupInfo, bx as IdentificationData, by as IdentificationDataIdOneOf, aV as ImageUploadStatus, dJ as ImageUploadStatusWithLiterals, c9 as IncludeMissingValuesOptions, bE as Index, aQ as Interval, dE as IntervalWithLiterals, cH as ItemMetadata, c$ as ListDeletedContactsRequest, aH as MatchType, dv as MatchTypeWithLiterals, dd as MediaFileUploadedEvent, b8 as MemberInfo, aB as MemberStatus, dp as MemberStatusWithLiterals, bT as MergeContactsRequest, bw as MessageEnvelope, aN as MissingValues, dB as MissingValuesWithLiterals, aF as Mode, dt as ModeWithLiterals, aS as NameFormat, dG as NameFormatWithLiterals, ch as NestedAggregation, cf as NestedAggregationItem, cg as NestedAggregationItemKindOneOf, aP as NestedAggregationType, dD as NestedAggregationTypeWithLiterals, cr as NestedResultValue, cs as NestedResultValueResultOneOf, cw as NestedResults, d7 as Paging, d9 as PagingMetadataV2, ay as PhoneDeliverabilityStatus, dl as PhoneDeliverabilityStatusWithLiterals, ax as PhoneTag, dk as PhoneTagWithLiterals, aC as PrivacyStatus, dq as PrivacyStatusWithLiterals, bd as PrivateTags, b9 as ProfileInfo, d4 as QueryContactsByOffsetInternalRequest, aU as QueryContactsByOffsetInternalRequestNameFormat, dI as QueryContactsByOffsetInternalRequestNameFormatWithLiterals, d8 as QueryContactsByOffsetInternalResponse, bX as QueryContactsRequest, c0 as QueryContactsResponse, d5 as QueryV2, d6 as QueryV2PagingMethodOneOf, cc as RangeAggregation, ck as RangeAggregationResult, c8 as RangeBucket, cp as RangeResult, cm as RangeResults, b4 as Recipient, bC as ReindexEntityForFQDN, bD as ReindexEntityForFQDNActionOneOf, bg as ReindexMessage, bh as ReindexMessageActionOneOf, bj as ReindexMessageDelete, cV as RemoveContactFromTrashBinRequest, cW as RemoveContactFromTrashBinResponse, bG as ReportBatchCompleted, cX as RestoreContactFromTrashBinRequest, bs as RestoreInfo, ct as Results, aD as Role, dr as RoleWithLiterals, cd as ScalarAggregation, cq as ScalarResult, aO as ScalarType, dC as ScalarTypeWithLiterals, bk as Schema, c3 as SearchContactsRequest, bB as SearchDetails, bb as SessionInfo, aM as SortDirection, dA as SortDirectionWithLiterals, aK as SortOrder, dy as SortOrderWithLiterals, aL as SortType, dz as SortTypeWithLiterals, b_ as Sorting, b3 as StandardDetails, b0 as StreetAddress, b2 as Subdivision, aA as SubdivisionType, dn as SubdivisionTypeWithLiterals, av as SubscriptionStatus, di as SubscriptionStatusWithLiterals, be as TagList, cF as UpdateContactAddressRequest, bO as UpdateContactRequest, bP as UpdateContactResponse, bS as UpdateContactTagsRequest, bi as Upsert, bQ as UpsertContactRequest, aJ as UpsertContactResponseAction, dx as UpsertContactResponseActionWithLiterals, aI as UpsertMode, dw as UpsertModeWithLiterals, ba as UserInfo, aG as V5SubscriptionStatus, du as V5SubscriptionStatusWithLiterals, ca as ValueAggregation, cb as ValueAggregationOptionsOneOf, cj as ValueAggregationResult, co as ValueResult, cl as ValueResults, aE as WebhookIdentityType, ds as WebhookIdentityTypeWithLiterals, dh as utils } from './contacts-v5-contact-contacts-v-5.universal-
|
|
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 UpdateContactAddress, W as UpdateContactAddressOptions, X as UpdateContactAddressResponse, Y as UpdateContactAddressApplicationErrors, Z as BulkCreateContactsOptions, _ as BulkCreateContactsResponse, $ as MaskedContact, a0 as BulkUpdateContactsOptions, a1 as BulkUpdateContactsResponse, a2 as BulkUpdateContactTagsOptions, a3 as BulkUpdateContactTagsResponse, a4 as BulkUpdateContactTagsApplicationErrors, a5 as BulkUpdateContactTagsByFilterOptions, a6 as BulkUpdateContactTagsByFilterResponse, a7 as BulkUpdateContactTagsByFilterApplicationErrors, a8 as BulkUpsertContactsRequestMaskedContact, a9 as BulkUpsertContactsOptions, aa as BulkUpsertContactsResponse, ab as BulkDeleteContactsOptions, ac as BulkDeleteContactsResponse, ad as BulkDeleteContactsApplicationErrors, ae as BulkDeleteContactsByFilterOptions, af as BulkDeleteContactsByFilterResponse, ag as BulkDeleteContactsByFilterApplicationErrors, ah as RestoreContactFromTrashBinResponse, ai as BulkRestoreContactsFromTrashBinOptions, aj as BulkRestoreContactsFromTrashBinResponse, ak as GetDeletedContactResponse, al as ListDeletedContactsOptions, am as ListDeletedContactsResponse, an as GetContactImageUploadStatusIdentifiers, ao as GetContactImageUploadStatusResponse, ap as GetContactImageUploadStatusApplicationErrors, aq as BulkUpdatePhoneCountryCodeByFilterOptions, ar as BulkUpdatePhoneCountryCodeByFilterResponse, as as ContactsQueryBuilder, at as ContactQuery, au as typedQueryContacts } from './contacts-v5-contact-contacts-v-5.universal-BJh2oKn7.js';
|
|
3
|
+
export { bz as AccountInfo, aT as Action, bv as ActionEvent, dH as ActionWithLiterals, cB as AddContactAdditionalEmailRequest, cC as AddContactAdditionalPhoneRequest, cD as AddContactAddressRequest, a_ as Address, b1 as AddressLocation, a$ as AddressStreetOneOf, az as AddressTag, dm as AddressTagWithLiterals, c6 as Aggregation, ci as AggregationData, c7 as AggregationKindOneOf, cx as AggregationResults, cy as AggregationResultsResultOneOf, cn as AggregationResultsScalarResult, aR as AggregationType, dF as AggregationTypeWithLiterals, cI as ApplicationError, cK as BulkActionMetadata, d0 as BulkAddSegmentToContactsRequest, d1 as BulkAddSegmentToContactsResponse, cJ as BulkContactResult, cG as BulkCreateContactsRequest, bI as BulkDelete, cU as BulkDeleteContactsByFilterRequest, cS as BulkDeleteContactsRequest, cT as BulkDeleteContactsResponseBulkContactResult, bH as BulkIndex, d2 as BulkRemoveSegmentFromContactsRequest, d3 as BulkRemoveSegmentFromContactsResponse, cY as BulkRestoreContactsFromTrashBinRequest, cZ as BulkRestoreContactsFromTrashBinResponseBulkContactResult, bA as BulkUpdateContactSubscriptionsRequest, cP as BulkUpdateContactTagsByFilterRequest, cN as BulkUpdateContactTagsRequest, cO as BulkUpdateContactTagsResult, cL as BulkUpdateContactsRequest, cM as BulkUpdateContactsResponseBulkContactResult, db as BulkUpdatePhoneCountryCodeByFilterRequest, cQ as BulkUpsertContactsRequest, cR as BulkUpsertContactsResponseBulkContactResult, dK as CommonQueryWithEntityContext, dL as CommonSearchWithEntityContext, b7 as ContactActivity, b5 as ContactCompany, aX as ContactEmail, bm as ContactEmailSubscriptionUpdated, bo as ContactImageUploaded, bl as ContactMerged, aW as ContactName, aZ as ContactPhone, bn as ContactPhoneSubscriptionUpdated, df as ContactQuerySpec, dg as ContactSearchSpec, b6 as ContactSource, aY as ContactSubscription, de as ContactsQueryResult, cz as CountContactsRequest, bJ as CreateContactRequest, bK as CreateContactResponse, b$ as CursorPaging, c1 as CursorPagingMetadata, bY as CursorQuery, bZ as CursorQueryPagingMethodOneOf, c4 as CursorSearch, c5 as CursorSearchPagingMethodOneOf, c2 as Cursors, ce as DateHistogramAggregation, cu as DateHistogramResult, cv as DateHistogramResults, bF as Delete, cE as DeleteContactAddressRequest, bU as DeleteContactRequest, bV as DeleteContactResponse, bp as DomainEvent, bq as DomainEventBodyOneOf, bL as DuplicateContactExists, aw as EmailDeliverabilityStatus, dj as EmailDeliverabilityStatusWithLiterals, dc as Empty, br as EntityCreatedEvent, bu as EntityDeletedEvent, bt as EntityUpdatedEvent, bf as ExtendedFields, bR as FailedMemberUpdate, bW as FindMatchingContactsRequest, cA as GenerateContactImageUploadUrlRequest, da as GetContactImageUploadStatusRequest, bM as GetContactRequest, bN as GetContactResponse, c_ as GetDeletedContactRequest, bc as GroupInfo, bx as IdentificationData, by as IdentificationDataIdOneOf, aV as ImageUploadStatus, dJ as ImageUploadStatusWithLiterals, c9 as IncludeMissingValuesOptions, bE as Index, aQ as Interval, dE as IntervalWithLiterals, cH as ItemMetadata, c$ as ListDeletedContactsRequest, aH as MatchType, dv as MatchTypeWithLiterals, dd as MediaFileUploadedEvent, b8 as MemberInfo, aB as MemberStatus, dp as MemberStatusWithLiterals, bT as MergeContactsRequest, bw as MessageEnvelope, aN as MissingValues, dB as MissingValuesWithLiterals, aF as Mode, dt as ModeWithLiterals, aS as NameFormat, dG as NameFormatWithLiterals, ch as NestedAggregation, cf as NestedAggregationItem, cg as NestedAggregationItemKindOneOf, aP as NestedAggregationType, dD as NestedAggregationTypeWithLiterals, cr as NestedResultValue, cs as NestedResultValueResultOneOf, cw as NestedResults, d7 as Paging, d9 as PagingMetadataV2, ay as PhoneDeliverabilityStatus, dl as PhoneDeliverabilityStatusWithLiterals, ax as PhoneTag, dk as PhoneTagWithLiterals, aC as PrivacyStatus, dq as PrivacyStatusWithLiterals, bd as PrivateTags, b9 as ProfileInfo, d4 as QueryContactsByOffsetInternalRequest, aU as QueryContactsByOffsetInternalRequestNameFormat, dI as QueryContactsByOffsetInternalRequestNameFormatWithLiterals, d8 as QueryContactsByOffsetInternalResponse, bX as QueryContactsRequest, c0 as QueryContactsResponse, d5 as QueryV2, d6 as QueryV2PagingMethodOneOf, cc as RangeAggregation, ck as RangeAggregationResult, c8 as RangeBucket, cp as RangeResult, cm as RangeResults, b4 as Recipient, bC as ReindexEntityForFQDN, bD as ReindexEntityForFQDNActionOneOf, bg as ReindexMessage, bh as ReindexMessageActionOneOf, bj as ReindexMessageDelete, cV as RemoveContactFromTrashBinRequest, cW as RemoveContactFromTrashBinResponse, bG as ReportBatchCompleted, cX as RestoreContactFromTrashBinRequest, bs as RestoreInfo, ct as Results, aD as Role, dr as RoleWithLiterals, cd as ScalarAggregation, cq as ScalarResult, aO as ScalarType, dC as ScalarTypeWithLiterals, bk as Schema, c3 as SearchContactsRequest, bB as SearchDetails, bb as SessionInfo, aM as SortDirection, dA as SortDirectionWithLiterals, aK as SortOrder, dy as SortOrderWithLiterals, aL as SortType, dz as SortTypeWithLiterals, b_ as Sorting, b3 as StandardDetails, b0 as StreetAddress, b2 as Subdivision, aA as SubdivisionType, dn as SubdivisionTypeWithLiterals, av as SubscriptionStatus, di as SubscriptionStatusWithLiterals, be as TagList, cF as UpdateContactAddressRequest, bO as UpdateContactRequest, bP as UpdateContactResponse, bS as UpdateContactTagsRequest, bi as Upsert, bQ as UpsertContactRequest, aJ as UpsertContactResponseAction, dx as UpsertContactResponseActionWithLiterals, aI as UpsertMode, dw as UpsertModeWithLiterals, ba as UserInfo, aG as V5SubscriptionStatus, du as V5SubscriptionStatusWithLiterals, ca as ValueAggregation, cb as ValueAggregationOptionsOneOf, cj as ValueAggregationResult, co as ValueResult, cl as ValueResults, aE as WebhookIdentityType, ds as WebhookIdentityTypeWithLiterals, dh as utils } from './contacts-v5-contact-contacts-v-5.universal-BJh2oKn7.js';
|
|
4
4
|
|
|
5
5
|
declare function bulkUpdateContactSubscriptions$1(httpClient: HttpClient): BulkUpdateContactSubscriptionsSignature;
|
|
6
6
|
interface BulkUpdateContactSubscriptionsSignature {
|
|
@@ -15,7 +15,7 @@ interface BulkUpdateContactSubscriptionsSignature {
|
|
|
15
15
|
* Example:
|
|
16
16
|
* `{ "filter": { "name.last": "Smith" } }`
|
|
17
17
|
*/
|
|
18
|
-
(filter: Record<string, any>, options?: BulkUpdateContactSubscriptionsOptions): Promise<NonNullablePaths<BulkUpdateContactSubscriptionsResponse, `jobId`,
|
|
18
|
+
(filter: Record<string, any>, options?: BulkUpdateContactSubscriptionsOptions): Promise<NonNullablePaths<BulkUpdateContactSubscriptionsResponse, `jobId`, 0> & {
|
|
19
19
|
__applicationErrorsType?: BulkUpdateContactSubscriptionsApplicationErrors;
|
|
20
20
|
}>;
|
|
21
21
|
}
|
|
@@ -34,7 +34,7 @@ interface CreateContactSignature {
|
|
|
34
34
|
* @param - Contact to create.
|
|
35
35
|
* @returns Created contact.
|
|
36
36
|
*/
|
|
37
|
-
(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`,
|
|
37
|
+
(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`, 4> & {
|
|
38
38
|
__applicationErrorsType?: CreateContactApplicationErrors;
|
|
39
39
|
}>;
|
|
40
40
|
}
|
|
@@ -45,7 +45,7 @@ interface GetContactSignature {
|
|
|
45
45
|
* @param - ID of the contact to retrieve.
|
|
46
46
|
* @returns Retrieved contact.
|
|
47
47
|
*/
|
|
48
|
-
(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`,
|
|
48
|
+
(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`, 4>>;
|
|
49
49
|
}
|
|
50
50
|
declare function updateContact$1(httpClient: HttpClient): UpdateContactSignature;
|
|
51
51
|
interface UpdateContactSignature {
|
|
@@ -65,7 +65,7 @@ interface UpdateContactSignature {
|
|
|
65
65
|
* @param - Contact ID.
|
|
66
66
|
* @returns Updated contact.
|
|
67
67
|
*/
|
|
68
|
-
(_id: string, contact: NonNullablePaths<UpdateContact, `revision`,
|
|
68
|
+
(_id: string, contact: NonNullablePaths<UpdateContact, `revision`, 0>, 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`, 4> & {
|
|
69
69
|
__applicationErrorsType?: UpdateContactApplicationErrors;
|
|
70
70
|
}>;
|
|
71
71
|
}
|
|
@@ -90,7 +90,7 @@ interface UpsertContactSignature {
|
|
|
90
90
|
* To create or update multiple contacts in a single request, call [Bulk Upsert Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/bulk-upsert-contacts).
|
|
91
91
|
* @param - Contact to upsert.
|
|
92
92
|
*/
|
|
93
|
-
(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`,
|
|
93
|
+
(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`, 5> & {
|
|
94
94
|
__applicationErrorsType?: UpsertContactApplicationErrors;
|
|
95
95
|
}>;
|
|
96
96
|
}
|
|
@@ -104,7 +104,7 @@ interface UpdateContactTagsSignature {
|
|
|
104
104
|
* To update tags on multiple contacts, call [Bulk Update Contact Tags](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/bulk-update-contact-tags).
|
|
105
105
|
* @param - ID of the contact whose tags to update.
|
|
106
106
|
*/
|
|
107
|
-
(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`,
|
|
107
|
+
(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`, 5> & {
|
|
108
108
|
__applicationErrorsType?: UpdateContactTagsApplicationErrors;
|
|
109
109
|
}>;
|
|
110
110
|
}
|
|
@@ -132,7 +132,7 @@ interface MergeContactsSignature {
|
|
|
132
132
|
* @param - Revision number of the target contact, which increments by 1 each time the contact is updated.
|
|
133
133
|
* The current revision must be passed to prevent conflicting changes.
|
|
134
134
|
*/
|
|
135
|
-
(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`,
|
|
135
|
+
(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`, 5> & {
|
|
136
136
|
__applicationErrorsType?: MergeContactsApplicationErrors;
|
|
137
137
|
}>;
|
|
138
138
|
}
|
|
@@ -167,7 +167,7 @@ interface FindMatchingContactsSignature {
|
|
|
167
167
|
*
|
|
168
168
|
* Learn more about [contact matching](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/matching-contacts).
|
|
169
169
|
*/
|
|
170
|
-
(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`,
|
|
170
|
+
(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`, 4> & {
|
|
171
171
|
__applicationErrorsType?: FindMatchingContactsApplicationErrors;
|
|
172
172
|
}>;
|
|
173
173
|
}
|
|
@@ -185,14 +185,14 @@ interface SearchContactsSignature {
|
|
|
185
185
|
* - `BY_LAST_NAME`: Orders by last name, then first name.
|
|
186
186
|
* @param - WQL search expression.
|
|
187
187
|
*/
|
|
188
|
-
(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`,
|
|
188
|
+
(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`, 4>>;
|
|
189
189
|
}
|
|
190
190
|
declare function countContacts$1(httpClient: HttpClient): CountContactsSignature;
|
|
191
191
|
interface CountContactsSignature {
|
|
192
192
|
/**
|
|
193
193
|
* Retrieves the number of contacts that match the provided filter and search criteria.
|
|
194
194
|
*/
|
|
195
|
-
(options?: CountContactsOptions): Promise<NonNullablePaths<CountContactsResponse, `count`,
|
|
195
|
+
(options?: CountContactsOptions): Promise<NonNullablePaths<CountContactsResponse, `count`, 0>>;
|
|
196
196
|
}
|
|
197
197
|
declare function generateContactImageUploadUrl$1(httpClient: HttpClient): GenerateContactImageUploadUrlSignature;
|
|
198
198
|
interface GenerateContactImageUploadUrlSignature {
|
|
@@ -204,7 +204,7 @@ interface GenerateContactImageUploadUrlSignature {
|
|
|
204
204
|
* 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.
|
|
205
205
|
* @param - ID of the contact to generate an image upload URL for.
|
|
206
206
|
*/
|
|
207
|
-
(contactId: string, options?: GenerateContactImageUploadUrlOptions): Promise<NonNullablePaths<GenerateContactImageUploadUrlResponse, `uploadUrl` | `imageUploadId`,
|
|
207
|
+
(contactId: string, options?: GenerateContactImageUploadUrlOptions): Promise<NonNullablePaths<GenerateContactImageUploadUrlResponse, `uploadUrl` | `imageUploadId`, 0> & {
|
|
208
208
|
__applicationErrorsType?: GenerateContactImageUploadUrlApplicationErrors;
|
|
209
209
|
}>;
|
|
210
210
|
}
|
|
@@ -219,7 +219,7 @@ interface AddContactAdditionalEmailSignature {
|
|
|
219
219
|
* @param - ID of the contact to add an email to.
|
|
220
220
|
* @param - Email to add.
|
|
221
221
|
*/
|
|
222
|
-
(contactId: string, email: AdditionalEmail, options: NonNullablePaths<AddContactAdditionalEmailOptions, `revision`,
|
|
222
|
+
(contactId: string, email: AdditionalEmail, options: NonNullablePaths<AddContactAdditionalEmailOptions, `revision`, 0>): 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`, 5> & {
|
|
223
223
|
__applicationErrorsType?: AddContactAdditionalEmailApplicationErrors;
|
|
224
224
|
}>;
|
|
225
225
|
}
|
|
@@ -234,7 +234,7 @@ interface AddContactAdditionalPhoneSignature {
|
|
|
234
234
|
* @param - ID of the contact to add a phone to.
|
|
235
235
|
* @param - Phone to add.
|
|
236
236
|
*/
|
|
237
|
-
(contactId: string, phone: AdditionalPhone, options: NonNullablePaths<AddContactAdditionalPhoneOptions, `revision`,
|
|
237
|
+
(contactId: string, phone: AdditionalPhone, options: NonNullablePaths<AddContactAdditionalPhoneOptions, `revision`, 0>): 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`, 5> & {
|
|
238
238
|
__applicationErrorsType?: AddContactAdditionalPhoneApplicationErrors;
|
|
239
239
|
}>;
|
|
240
240
|
}
|
|
@@ -249,7 +249,7 @@ interface AddContactAddressSignature {
|
|
|
249
249
|
* @param - ID of the contact to add an address to.
|
|
250
250
|
* @param - Address to add.
|
|
251
251
|
*/
|
|
252
|
-
(contactId: string, address: ContactAddress, options: NonNullablePaths<AddContactAddressOptions, `revision`,
|
|
252
|
+
(contactId: string, address: ContactAddress, options: NonNullablePaths<AddContactAddressOptions, `revision`, 0>): 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`, 5> & {
|
|
253
253
|
__applicationErrorsType?: AddContactAddressApplicationErrors;
|
|
254
254
|
}>;
|
|
255
255
|
}
|
|
@@ -261,7 +261,7 @@ interface DeleteContactAddressSignature {
|
|
|
261
261
|
* Each time the contact is updated, `revision` increments by 1. The current `revision` must be passed. This ensures you're working with the latest contact and prevents unintended overwrites.
|
|
262
262
|
* @param - Contact revision number.
|
|
263
263
|
*/
|
|
264
|
-
(identifiers: NonNullablePaths<DeleteContactAddressIdentifiers, `addressId` | `contactId`,
|
|
264
|
+
(identifiers: NonNullablePaths<DeleteContactAddressIdentifiers, `addressId` | `contactId`, 0>, 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`, 5> & {
|
|
265
265
|
__applicationErrorsType?: DeleteContactAddressApplicationErrors;
|
|
266
266
|
}>;
|
|
267
267
|
}
|
|
@@ -272,7 +272,7 @@ interface UpdateContactAddressSignature {
|
|
|
272
272
|
*
|
|
273
273
|
* Each time the contact is updated, `revision` increments by 1. The current `revision` must be passed. This ensures you're working with the latest contact and prevents unintended overwrites.
|
|
274
274
|
*/
|
|
275
|
-
(identifiers: NonNullablePaths<UpdateContactAddressIdentifiers, `addressId` | `contactId`,
|
|
275
|
+
(identifiers: NonNullablePaths<UpdateContactAddressIdentifiers, `addressId` | `contactId`, 0>, address: UpdateContactAddress, options: NonNullablePaths<UpdateContactAddressOptions, `revision`, 0>): 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`, 5> & {
|
|
276
276
|
__applicationErrorsType?: UpdateContactAddressApplicationErrors;
|
|
277
277
|
}>;
|
|
278
278
|
}
|
|
@@ -286,7 +286,7 @@ interface BulkCreateContactsSignature {
|
|
|
286
286
|
* To create a single contact, call [Create Contact](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/create-contact).
|
|
287
287
|
* @param - Contacts to create.
|
|
288
288
|
*/
|
|
289
|
-
(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`,
|
|
289
|
+
(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`, 4>>;
|
|
290
290
|
}
|
|
291
291
|
declare function bulkUpdateContacts$1(httpClient: HttpClient): BulkUpdateContactsSignature;
|
|
292
292
|
interface BulkUpdateContactsSignature {
|
|
@@ -300,7 +300,7 @@ interface BulkUpdateContactsSignature {
|
|
|
300
300
|
* To update a single contact, call [Update Contact](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/update-contact).
|
|
301
301
|
* @param - Contacts to update.
|
|
302
302
|
*/
|
|
303
|
-
(contacts: NonNullablePaths<MaskedContact, `contact._id` | `contact.revision`,
|
|
303
|
+
(contacts: NonNullablePaths<MaskedContact, `contact._id` | `contact.revision`, 1>[], 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`, 4>>;
|
|
304
304
|
}
|
|
305
305
|
declare function bulkUpdateContactTags$1(httpClient: HttpClient): BulkUpdateContactTagsSignature;
|
|
306
306
|
interface BulkUpdateContactTagsSignature {
|
|
@@ -312,7 +312,7 @@ interface BulkUpdateContactTagsSignature {
|
|
|
312
312
|
* To update tags for a single contact, call [Update Contact Tags](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/update-contact-tags).
|
|
313
313
|
* @param - IDs of the contacts to add or remove tags on.
|
|
314
314
|
*/
|
|
315
|
-
(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`,
|
|
315
|
+
(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`, 4> & {
|
|
316
316
|
__applicationErrorsType?: BulkUpdateContactTagsApplicationErrors;
|
|
317
317
|
}>;
|
|
318
318
|
}
|
|
@@ -328,7 +328,7 @@ interface BulkUpdateContactTagsByFilterSignature {
|
|
|
328
328
|
* To update tags for a single contact, call [Update Contact Tags](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/update-contact-tags).
|
|
329
329
|
* @param - 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).
|
|
330
330
|
*/
|
|
331
|
-
(filter: Record<string, any>, options?: BulkUpdateContactTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateContactTagsByFilterResponse, `jobId`,
|
|
331
|
+
(filter: Record<string, any>, options?: BulkUpdateContactTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateContactTagsByFilterResponse, `jobId`, 0> & {
|
|
332
332
|
__applicationErrorsType?: BulkUpdateContactTagsByFilterApplicationErrors;
|
|
333
333
|
}>;
|
|
334
334
|
}
|
|
@@ -351,7 +351,7 @@ interface BulkUpsertContactsSignature {
|
|
|
351
351
|
* To create or update a single contact, call [Upsert Contact](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/upsert-contact).
|
|
352
352
|
* @param - Contacts to create or update.
|
|
353
353
|
*/
|
|
354
|
-
(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`,
|
|
354
|
+
(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`, 4>>;
|
|
355
355
|
}
|
|
356
356
|
declare function bulkDeleteContacts$1(httpClient: HttpClient): BulkDeleteContactsSignature;
|
|
357
357
|
interface BulkDeleteContactsSignature {
|
|
@@ -363,7 +363,7 @@ interface BulkDeleteContactsSignature {
|
|
|
363
363
|
* To delete a single contact, call [Delete Contact](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/delete-contact).
|
|
364
364
|
* @param - IDs of the contacts to delete.
|
|
365
365
|
*/
|
|
366
|
-
(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`,
|
|
366
|
+
(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`, 4> & {
|
|
367
367
|
__applicationErrorsType?: BulkDeleteContactsApplicationErrors;
|
|
368
368
|
}>;
|
|
369
369
|
}
|
|
@@ -389,7 +389,7 @@ interface BulkDeleteContactsByFilterSignature {
|
|
|
389
389
|
* Example:
|
|
390
390
|
* `{ "filter": { "name.last": "Smith" } }`
|
|
391
391
|
*/
|
|
392
|
-
(filter: Record<string, any>, options?: BulkDeleteContactsByFilterOptions): Promise<NonNullablePaths<BulkDeleteContactsByFilterResponse, `jobId`,
|
|
392
|
+
(filter: Record<string, any>, options?: BulkDeleteContactsByFilterOptions): Promise<NonNullablePaths<BulkDeleteContactsByFilterResponse, `jobId`, 0> & {
|
|
393
393
|
__applicationErrorsType?: BulkDeleteContactsByFilterApplicationErrors;
|
|
394
394
|
}>;
|
|
395
395
|
}
|
|
@@ -411,7 +411,7 @@ interface RestoreContactFromTrashBinSignature {
|
|
|
411
411
|
* To restore multiple contacts in a single request, call [Bulk Restore Contacts From Trash Bin](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/bulk-restore-contacts-from-trash-bin).
|
|
412
412
|
* @param - ID of the contact to restore from the trash bin.
|
|
413
413
|
*/
|
|
414
|
-
(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`,
|
|
414
|
+
(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`, 5>>;
|
|
415
415
|
}
|
|
416
416
|
declare function bulkRestoreContactsFromTrashBin$1(httpClient: HttpClient): BulkRestoreContactsFromTrashBinSignature;
|
|
417
417
|
interface BulkRestoreContactsFromTrashBinSignature {
|
|
@@ -420,7 +420,7 @@ interface BulkRestoreContactsFromTrashBinSignature {
|
|
|
420
420
|
*
|
|
421
421
|
* To restore a single contact, call [Restore Contact From Trash Bin](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/restore-contact-from-trash-bin).
|
|
422
422
|
*/
|
|
423
|
-
(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`,
|
|
423
|
+
(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`, 4>>;
|
|
424
424
|
}
|
|
425
425
|
declare function getDeletedContact$1(httpClient: HttpClient): GetDeletedContactSignature;
|
|
426
426
|
interface GetDeletedContactSignature {
|
|
@@ -428,21 +428,21 @@ interface GetDeletedContactSignature {
|
|
|
428
428
|
* Retrieves a soft-deleted contact from the trash bin by ID.
|
|
429
429
|
* @param - ID of the contact to retrieve from the trash bin.
|
|
430
430
|
*/
|
|
431
|
-
(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`,
|
|
431
|
+
(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`, 5>>;
|
|
432
432
|
}
|
|
433
433
|
declare function listDeletedContacts$1(httpClient: HttpClient): ListDeletedContactsSignature;
|
|
434
434
|
interface ListDeletedContactsSignature {
|
|
435
435
|
/**
|
|
436
436
|
* Retrieves a list of soft-deleted contacts from the trash bin, filtered by the provided identifiers and deletion date range.
|
|
437
437
|
*/
|
|
438
|
-
(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`,
|
|
438
|
+
(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`, 4>>;
|
|
439
439
|
}
|
|
440
440
|
declare function getContactImageUploadStatus$1(httpClient: HttpClient): GetContactImageUploadStatusSignature;
|
|
441
441
|
interface GetContactImageUploadStatusSignature {
|
|
442
442
|
/**
|
|
443
443
|
* Retrieves the status of the contact image upload process.
|
|
444
444
|
*/
|
|
445
|
-
(identifiers: NonNullablePaths<GetContactImageUploadStatusIdentifiers, `contactId` | `imageUploadId`,
|
|
445
|
+
(identifiers: NonNullablePaths<GetContactImageUploadStatusIdentifiers, `contactId` | `imageUploadId`, 0>): Promise<NonNullablePaths<GetContactImageUploadStatusResponse, `status`, 0> & {
|
|
446
446
|
__applicationErrorsType?: GetContactImageUploadStatusApplicationErrors;
|
|
447
447
|
}>;
|
|
448
448
|
}
|
|
@@ -455,7 +455,7 @@ interface BulkUpdatePhoneCountryCodeByFilterSignature {
|
|
|
455
455
|
*
|
|
456
456
|
* To check the status of the bulk update, pass the returned `jobId` to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job).
|
|
457
457
|
*/
|
|
458
|
-
(options?: NonNullablePaths<BulkUpdatePhoneCountryCodeByFilterOptions, `countryCode`,
|
|
458
|
+
(options?: NonNullablePaths<BulkUpdatePhoneCountryCodeByFilterOptions, `countryCode`, 0>): Promise<NonNullablePaths<BulkUpdatePhoneCountryCodeByFilterResponse, `jobId`, 0>>;
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
declare function customQueryContacts(httpClient: HttpClient): {
|