@wix/auto_sdk_crm_contacts-v-5 1.0.23 → 1.0.24
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-_-E4ZhZP.d.ts → contacts-v5-contact-contacts-v-5.universal-CUVhs6Br.d.ts} +38 -1
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +10 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +10 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +31 -2
- package/build/cjs/meta.js +10 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{contacts-v5-contact-contacts-v-5.universal-_-E4ZhZP.d.mts → contacts-v5-contact-contacts-v-5.universal-CUVhs6Br.d.mts} +38 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +9 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +9 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +31 -2
- package/build/es/meta.mjs +9 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{contacts-v5-contact-contacts-v-5.universal-Cz3zaNvV.d.ts → contacts-v5-contact-contacts-v-5.universal-C0WGOLKJ.d.ts} +54 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +39 -2
- package/build/internal/es/{contacts-v5-contact-contacts-v-5.universal-Cz3zaNvV.d.mts → contacts-v5-contact-contacts-v-5.universal-C0WGOLKJ.d.mts} +54 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +39 -2
- package/package.json +4 -4
|
@@ -680,6 +680,35 @@ interface GroupInfo {
|
|
|
680
680
|
*/
|
|
681
681
|
groupIds?: string[];
|
|
682
682
|
}
|
|
683
|
+
/** A relationship between the contact and another contact on the same site. */
|
|
684
|
+
interface ContactRelationship {
|
|
685
|
+
/**
|
|
686
|
+
* ID of the related contact.
|
|
687
|
+
* @readonly
|
|
688
|
+
* @format GUID
|
|
689
|
+
*/
|
|
690
|
+
relatedContactId?: string | null;
|
|
691
|
+
/**
|
|
692
|
+
* How the related contact relates to the contact. For example, `CHILD` means the related contact is a child of the contact.
|
|
693
|
+
* @readonly
|
|
694
|
+
*/
|
|
695
|
+
type?: RelationshipTypeWithLiterals;
|
|
696
|
+
}
|
|
697
|
+
/** How a related contact relates to the contact. */
|
|
698
|
+
declare enum RelationshipType {
|
|
699
|
+
/** The related contact is a parent of the contact. */
|
|
700
|
+
PARENT = "PARENT",
|
|
701
|
+
/** The related contact is a child of the contact. */
|
|
702
|
+
CHILD = "CHILD",
|
|
703
|
+
/** The related contact is a sibling of the contact. */
|
|
704
|
+
SIBLING = "SIBLING",
|
|
705
|
+
/** The related contact is a partner of the contact. */
|
|
706
|
+
PARTNER = "PARTNER",
|
|
707
|
+
/** The related contact is a friend of the contact. */
|
|
708
|
+
FRIEND = "FRIEND"
|
|
709
|
+
}
|
|
710
|
+
/** @enumType */
|
|
711
|
+
type RelationshipTypeWithLiterals = RelationshipType | 'PARENT' | 'CHILD' | 'SIBLING' | 'PARTNER' | 'FRIEND';
|
|
683
712
|
/** Tags assigned to an entity that require an additional permission to access. */
|
|
684
713
|
interface PrivateTags {
|
|
685
714
|
/** Tags that require an additional permission to access, normally not given to site members or visitors. */
|
|
@@ -3453,6 +3482,9 @@ interface ContactSearchSpec extends SearchSpec {
|
|
|
3453
3482
|
'addresses.address.subdivision',
|
|
3454
3483
|
'addresses.address.subdivisionFullname',
|
|
3455
3484
|
'assigneeId',
|
|
3485
|
+
'contactRelationships',
|
|
3486
|
+
'contactRelationships.relatedContactId',
|
|
3487
|
+
'contactRelationships.type',
|
|
3456
3488
|
'email.deliverabilityStatus',
|
|
3457
3489
|
'email.subscriptionStatus.status',
|
|
3458
3490
|
'lastActivity.date',
|
|
@@ -3576,6 +3608,11 @@ interface ContactSearchSpec extends SearchSpec {
|
|
|
3576
3608
|
];
|
|
3577
3609
|
sort: 'NONE';
|
|
3578
3610
|
},
|
|
3611
|
+
{
|
|
3612
|
+
operators: ['$matchItems'];
|
|
3613
|
+
fields: ['contactRelationships'];
|
|
3614
|
+
sort: 'NONE';
|
|
3615
|
+
},
|
|
3579
3616
|
{
|
|
3580
3617
|
operators: ['$exists', '$hasAll', '$hasSome', '$startsWith'];
|
|
3581
3618
|
fields: [
|
|
@@ -4286,4 +4323,4 @@ interface BulkUpdatePhoneCountryCodeByFilterOptions {
|
|
|
4286
4323
|
countryCode: string;
|
|
4287
4324
|
}
|
|
4288
4325
|
|
|
4289
|
-
export { type MaskedContact as $, type AdditionalEmail as A, type BulkUpdateContactSubscriptionsOptions as B, type Contact as C, type DeleteContactOptions as D, type AdditionalPhone as E, type FindMatchingContactsOptions as F, type GenerateContactImageUploadUrlOptions as G, type AddContactAdditionalPhoneOptions as H, type AddContactAdditionalPhoneResponse as I, type AddContactAdditionalPhoneApplicationErrors as J, type ContactAddress as K, type AddContactAddressOptions as L, type MergeContactsOptions as M, type AddContactAddressResponse as N, type AddContactAddressApplicationErrors as O, type DeleteContactAddressIdentifiers as P, type DeleteContactAddressResponse as Q, type DeleteContactAddressApplicationErrors as R, type SearchContactsOptions as S, type UpdateContactAddressIdentifiers as T, type UpdateContact as U, type UpdateContactAddress as V, type UpdateContactAddressOptions as W, type UpdateContactAddressResponse as X, type UpdateContactAddressApplicationErrors as Y, type BulkCreateContactsOptions as Z, type BulkCreateContactsResponse as _, type BulkUpdateContactSubscriptionsResponse as a, type AddressStreetOneOf as a$, type BulkUpdateContactsOptions as a0, type BulkUpdateContactsResponse as a1, type BulkUpdateContactTagsOptions as a2, type BulkUpdateContactTagsResponse as a3, type BulkUpdateContactTagsApplicationErrors as a4, type BulkUpdateContactTagsByFilterOptions as a5, type BulkUpdateContactTagsByFilterResponse as a6, type BulkUpdateContactTagsByFilterApplicationErrors as a7, type BulkUpsertContactsRequestMaskedContact as a8, type BulkUpsertContactsOptions as a9, SubdivisionType as aA, MemberStatus as aB, PrivacyStatus as aC, Role as aD, WebhookIdentityType as aE, Mode as aF, V5SubscriptionStatus as aG, MatchType as aH, UpsertMode as aI, UpsertContactResponseAction as aJ, SortOrder as aK, SortType as aL, SortDirection as aM, MissingValues as aN, ScalarType as aO, NestedAggregationType as aP, Interval as aQ, AggregationType as aR, NameFormat as aS, Action as aT, QueryContactsByOffsetInternalRequestNameFormat as aU, ImageUploadStatus as aV, type ContactName as aW, type ContactEmail as aX, type ContactSubscription as aY, type ContactPhone as aZ, type Address as a_, type BulkUpsertContactsResponse as aa, type BulkDeleteContactsOptions as ab, type BulkDeleteContactsResponse as ac, type BulkDeleteContactsApplicationErrors as ad, type BulkDeleteContactsByFilterOptions as ae, type BulkDeleteContactsByFilterResponse as af, type BulkDeleteContactsByFilterApplicationErrors as ag, type RestoreContactFromTrashBinResponse as ah, type BulkRestoreContactsFromTrashBinOptions as ai, type BulkRestoreContactsFromTrashBinResponse as aj, type GetDeletedContactResponse as ak, type ListDeletedContactsOptions as al, type ListDeletedContactsResponse as am, type GetContactImageUploadStatusIdentifiers as an, type GetContactImageUploadStatusResponse as ao, type GetContactImageUploadStatusApplicationErrors as ap, type BulkUpdatePhoneCountryCodeByFilterOptions as aq, type BulkUpdatePhoneCountryCodeByFilterResponse as ar, type ContactsQueryBuilder as as, type ContactQuery as at, typedQueryContacts as au, SubscriptionStatus as av, EmailDeliverabilityStatus as aw, PhoneTag as ax, PhoneDeliverabilityStatus as ay, AddressTag as az, type BulkUpdateContactSubscriptionsApplicationErrors as b, type CursorPaging as b$, type StreetAddress as b0, type AddressLocation as b1, type Subdivision as b2, type StandardDetails as b3, type Recipient as b4, type ContactCompany as b5, type ContactSource as b6, type ContactActivity as b7, type MemberInfo as b8, type ProfileInfo as b9, type BulkUpdateContactSubscriptionsRequest as bA, type SearchDetails as bB, type ReindexEntityForFQDN as bC, type ReindexEntityForFQDNActionOneOf as bD, type Index as bE, type Delete as bF, type ReportBatchCompleted as bG, type BulkIndex as bH, type BulkDelete as bI, type CreateContactRequest as bJ, type CreateContactResponse as bK, type DuplicateContactExists as bL, type GetContactRequest as bM, type GetContactResponse as bN, type UpdateContactRequest as bO, type UpdateContactResponse as bP, type UpsertContactRequest as bQ, type FailedMemberUpdate as bR, type UpdateContactTagsRequest as bS, type MergeContactsRequest as bT, type DeleteContactRequest as bU, type DeleteContactResponse as bV, type FindMatchingContactsRequest as bW, type QueryContactsRequest as bX, type CursorQuery as bY, type CursorQueryPagingMethodOneOf as bZ, type Sorting as b_, type UserInfo as ba, type SessionInfo as bb, type GroupInfo as bc, type PrivateTags as bd, type TagList as be, type ExtendedFields as bf, type ReindexMessage as bg, type ReindexMessageActionOneOf as bh, type Upsert as bi, type ReindexMessageDelete as bj, type Schema as bk, type ContactMerged as bl, type ContactEmailSubscriptionUpdated as bm, type ContactPhoneSubscriptionUpdated as bn, type ContactImageUploaded as bo, type DomainEvent as bp, type DomainEventBodyOneOf as bq, type EntityCreatedEvent as br, type RestoreInfo as bs, type EntityUpdatedEvent as bt, type EntityDeletedEvent as bu, type ActionEvent as bv, type MessageEnvelope as bw, type IdentificationData as bx, type IdentificationDataIdOneOf as by, type AccountInfo as bz, type CreateContactOptions as c, type ListDeletedContactsRequest as c$, type QueryContactsResponse as c0, type CursorPagingMetadata as c1, type Cursors as c2, type SearchContactsRequest as c3, type CursorSearch as c4, type CursorSearchPagingMethodOneOf as c5, type Aggregation as c6, type AggregationKindOneOf as c7, type RangeBucket as c8, type IncludeMissingValuesOptions as c9, type GenerateContactImageUploadUrlRequest as cA, type AddContactAdditionalEmailRequest as cB, type AddContactAdditionalPhoneRequest as cC, type AddContactAddressRequest as cD, type DeleteContactAddressRequest as cE, type UpdateContactAddressRequest as cF, type BulkCreateContactsRequest as cG, type ItemMetadata as cH, type ApplicationError as cI, type BulkContactResult as cJ, type BulkActionMetadata as cK, type BulkUpdateContactsRequest as cL, type BulkUpdateContactsResponseBulkContactResult as cM, type BulkUpdateContactTagsRequest as cN, type BulkUpdateContactTagsResult as cO, type BulkUpdateContactTagsByFilterRequest as cP, type BulkUpsertContactsRequest as cQ, type BulkUpsertContactsResponseBulkContactResult as cR, type BulkDeleteContactsRequest as cS, type BulkDeleteContactsResponseBulkContactResult as cT, type BulkDeleteContactsByFilterRequest as cU, type RemoveContactFromTrashBinRequest as cV, type RemoveContactFromTrashBinResponse as cW, type RestoreContactFromTrashBinRequest as cX, type BulkRestoreContactsFromTrashBinRequest as cY, type BulkRestoreContactsFromTrashBinResponseBulkContactResult as cZ, type GetDeletedContactRequest as c_, type ValueAggregation as ca, type ValueAggregationOptionsOneOf as cb, type RangeAggregation as cc, type ScalarAggregation as cd, type DateHistogramAggregation as ce, type NestedAggregationItem as cf, type NestedAggregationItemKindOneOf as cg, type NestedAggregation as ch, type AggregationData as ci, type ValueAggregationResult as cj, type RangeAggregationResult as ck, type ValueResults as cl, type RangeResults as cm, type AggregationResultsScalarResult as cn, type ValueResult as co, type RangeResult as cp, type ScalarResult as cq, type NestedResultValue as cr, type NestedResultValueResultOneOf as cs, type Results as ct, type DateHistogramResult as cu, type DateHistogramResults as cv, type NestedResults as cw, type AggregationResults as cx, type AggregationResultsResultOneOf as cy, type CountContactsRequest as cz, type CreateContactApplicationErrors as d, deleteContactAddress as d$, type BulkAddSegmentToContactsRequest as d0, type BulkAddSegmentToContactsResponse as d1, type BulkRemoveSegmentFromContactsRequest as d2, type BulkRemoveSegmentFromContactsResponse as d3, type QueryContactsByOffsetInternalRequest as d4, type QueryV2 as d5, type QueryV2PagingMethodOneOf as d6, type Paging as d7, type QueryContactsByOffsetInternalResponse as d8, type PagingMetadataV2 as d9, type SortDirectionWithLiterals as dA, type MissingValuesWithLiterals as dB, type ScalarTypeWithLiterals as dC, type NestedAggregationTypeWithLiterals as dD, type IntervalWithLiterals as dE, type AggregationTypeWithLiterals as dF, type NameFormatWithLiterals as dG, type ActionWithLiterals as dH, type QueryContactsByOffsetInternalRequestNameFormatWithLiterals as dI, type ImageUploadStatusWithLiterals as dJ, type CommonQueryWithEntityContext as dK, type CommonSearchWithEntityContext as dL, bulkUpdateContactSubscriptions as dM, createContact as dN, getContact as dO, updateContact as dP, upsertContact as dQ, updateContactTags as dR, mergeContacts as dS, deleteContact as dT, findMatchingContacts as dU, queryContacts as dV, countContacts as dW, generateContactImageUploadUrl as dX, addContactAdditionalEmail as dY, addContactAdditionalPhone as dZ, addContactAddress as d_, type GetContactImageUploadStatusRequest as da, type BulkUpdatePhoneCountryCodeByFilterRequest as db, type Empty as dc, type MediaFileUploadedEvent as dd, type ContactsQueryResult as de, type ContactQuerySpec as df, type ContactSearchSpec as dg, utils as dh, type SubscriptionStatusWithLiterals as di, type EmailDeliverabilityStatusWithLiterals as dj, type PhoneTagWithLiterals as dk, type PhoneDeliverabilityStatusWithLiterals as dl, type AddressTagWithLiterals as dm, type SubdivisionTypeWithLiterals as dn, type MemberStatusWithLiterals as dp, type PrivacyStatusWithLiterals as dq, type RoleWithLiterals as dr, type WebhookIdentityTypeWithLiterals as ds, type ModeWithLiterals as dt, type V5SubscriptionStatusWithLiterals as du, type MatchTypeWithLiterals as dv, type UpsertModeWithLiterals as dw, type UpsertContactResponseActionWithLiterals as dx, type SortOrderWithLiterals as dy, type SortTypeWithLiterals as dz, type UpdateContactOptions as e, updateContactAddress as e0, bulkCreateContacts as e1, bulkUpdateContacts as e2, bulkUpdateContactTags as e3, bulkUpdateContactTagsByFilter as e4, bulkUpsertContacts as e5, bulkDeleteContacts as e6, bulkDeleteContactsByFilter as e7, removeContactFromTrashBin as e8, restoreContactFromTrashBin as e9, bulkRestoreContactsFromTrashBin as ea, getDeletedContact as eb, listDeletedContacts as ec, getContactImageUploadStatus as ed, bulkUpdatePhoneCountryCodeByFilter as ee, type UpdateContactApplicationErrors as f, type UpsertContactOptions as g, type UpsertContactResponse as h, type UpsertContactApplicationErrors as i, type UpdateContactTagsOptions as j, type UpdateContactTagsResponse as k, type UpdateContactTagsApplicationErrors as l, type MergeContactsResponse as m, type MergeContactsApplicationErrors as n, type DeleteContactApplicationErrors as o, type FindMatchingContactsResponse as p, type FindMatchingContactsApplicationErrors as q, type ContactSearch as r, type SearchContactsResponse as s, type CountContactsOptions as t, type CountContactsResponse as u, type GenerateContactImageUploadUrlResponse as v, type GenerateContactImageUploadUrlApplicationErrors as w, type AddContactAdditionalEmailOptions as x, type AddContactAdditionalEmailResponse as y, type AddContactAdditionalEmailApplicationErrors as z };
|
|
4326
|
+
export { type MaskedContact as $, type AdditionalEmail as A, type BulkUpdateContactSubscriptionsOptions as B, type Contact as C, type DeleteContactOptions as D, type AdditionalPhone as E, type FindMatchingContactsOptions as F, type GenerateContactImageUploadUrlOptions as G, type AddContactAdditionalPhoneOptions as H, type AddContactAdditionalPhoneResponse as I, type AddContactAdditionalPhoneApplicationErrors as J, type ContactAddress as K, type AddContactAddressOptions as L, type MergeContactsOptions as M, type AddContactAddressResponse as N, type AddContactAddressApplicationErrors as O, type DeleteContactAddressIdentifiers as P, type DeleteContactAddressResponse as Q, type DeleteContactAddressApplicationErrors as R, type SearchContactsOptions as S, type UpdateContactAddressIdentifiers as T, type UpdateContact as U, type UpdateContactAddress as V, type UpdateContactAddressOptions as W, type UpdateContactAddressResponse as X, type UpdateContactAddressApplicationErrors as Y, type BulkCreateContactsOptions as Z, type BulkCreateContactsResponse as _, type BulkUpdateContactSubscriptionsResponse as a, type Address as a$, type BulkUpdateContactsOptions as a0, type BulkUpdateContactsResponse as a1, type BulkUpdateContactTagsOptions as a2, type BulkUpdateContactTagsResponse as a3, type BulkUpdateContactTagsApplicationErrors as a4, type BulkUpdateContactTagsByFilterOptions as a5, type BulkUpdateContactTagsByFilterResponse as a6, type BulkUpdateContactTagsByFilterApplicationErrors as a7, type BulkUpsertContactsRequestMaskedContact as a8, type BulkUpsertContactsOptions as a9, SubdivisionType as aA, MemberStatus as aB, PrivacyStatus as aC, Role as aD, RelationshipType as aE, WebhookIdentityType as aF, Mode as aG, V5SubscriptionStatus as aH, MatchType as aI, UpsertMode as aJ, UpsertContactResponseAction as aK, SortOrder as aL, SortType as aM, SortDirection as aN, MissingValues as aO, ScalarType as aP, NestedAggregationType as aQ, Interval as aR, AggregationType as aS, NameFormat as aT, Action as aU, QueryContactsByOffsetInternalRequestNameFormat as aV, ImageUploadStatus as aW, type ContactName as aX, type ContactEmail as aY, type ContactSubscription as aZ, type ContactPhone as a_, type BulkUpsertContactsResponse as aa, type BulkDeleteContactsOptions as ab, type BulkDeleteContactsResponse as ac, type BulkDeleteContactsApplicationErrors as ad, type BulkDeleteContactsByFilterOptions as ae, type BulkDeleteContactsByFilterResponse as af, type BulkDeleteContactsByFilterApplicationErrors as ag, type RestoreContactFromTrashBinResponse as ah, type BulkRestoreContactsFromTrashBinOptions as ai, type BulkRestoreContactsFromTrashBinResponse as aj, type GetDeletedContactResponse as ak, type ListDeletedContactsOptions as al, type ListDeletedContactsResponse as am, type GetContactImageUploadStatusIdentifiers as an, type GetContactImageUploadStatusResponse as ao, type GetContactImageUploadStatusApplicationErrors as ap, type BulkUpdatePhoneCountryCodeByFilterOptions as aq, type BulkUpdatePhoneCountryCodeByFilterResponse as ar, type ContactsQueryBuilder as as, type ContactQuery as at, typedQueryContacts as au, SubscriptionStatus as av, EmailDeliverabilityStatus as aw, PhoneTag as ax, PhoneDeliverabilityStatus as ay, AddressTag as az, type BulkUpdateContactSubscriptionsApplicationErrors as b, type CursorQueryPagingMethodOneOf as b$, type AddressStreetOneOf as b0, type StreetAddress as b1, type AddressLocation as b2, type Subdivision as b3, type StandardDetails as b4, type Recipient as b5, type ContactCompany as b6, type ContactSource as b7, type ContactActivity as b8, type MemberInfo as b9, type IdentificationDataIdOneOf as bA, type AccountInfo as bB, type BulkUpdateContactSubscriptionsRequest as bC, type SearchDetails as bD, type ReindexEntityForFQDN as bE, type ReindexEntityForFQDNActionOneOf as bF, type Index as bG, type Delete as bH, type ReportBatchCompleted as bI, type BulkIndex as bJ, type BulkDelete as bK, type CreateContactRequest as bL, type CreateContactResponse as bM, type DuplicateContactExists as bN, type GetContactRequest as bO, type GetContactResponse as bP, type UpdateContactRequest as bQ, type UpdateContactResponse as bR, type UpsertContactRequest as bS, type FailedMemberUpdate as bT, type UpdateContactTagsRequest as bU, type MergeContactsRequest as bV, type DeleteContactRequest as bW, type DeleteContactResponse as bX, type FindMatchingContactsRequest as bY, type QueryContactsRequest as bZ, type CursorQuery as b_, type ProfileInfo as ba, type UserInfo as bb, type SessionInfo as bc, type GroupInfo as bd, type ContactRelationship as be, type PrivateTags as bf, type TagList as bg, type ExtendedFields as bh, type ReindexMessage as bi, type ReindexMessageActionOneOf as bj, type Upsert as bk, type ReindexMessageDelete as bl, type Schema as bm, type ContactMerged as bn, type ContactEmailSubscriptionUpdated as bo, type ContactPhoneSubscriptionUpdated as bp, type ContactImageUploaded as bq, type DomainEvent as br, type DomainEventBodyOneOf as bs, type EntityCreatedEvent as bt, type RestoreInfo as bu, type EntityUpdatedEvent as bv, type EntityDeletedEvent as bw, type ActionEvent as bx, type MessageEnvelope as by, type IdentificationData as bz, type CreateContactOptions as c, type BulkRestoreContactsFromTrashBinResponseBulkContactResult as c$, type Sorting as c0, type CursorPaging as c1, type QueryContactsResponse as c2, type CursorPagingMetadata as c3, type Cursors as c4, type SearchContactsRequest as c5, type CursorSearch as c6, type CursorSearchPagingMethodOneOf as c7, type Aggregation as c8, type AggregationKindOneOf as c9, type AggregationResultsResultOneOf as cA, type CountContactsRequest as cB, type GenerateContactImageUploadUrlRequest as cC, type AddContactAdditionalEmailRequest as cD, type AddContactAdditionalPhoneRequest as cE, type AddContactAddressRequest as cF, type DeleteContactAddressRequest as cG, type UpdateContactAddressRequest as cH, type BulkCreateContactsRequest as cI, type ItemMetadata as cJ, type ApplicationError as cK, type BulkContactResult as cL, type BulkActionMetadata as cM, type BulkUpdateContactsRequest as cN, type BulkUpdateContactsResponseBulkContactResult as cO, type BulkUpdateContactTagsRequest as cP, type BulkUpdateContactTagsResult as cQ, type BulkUpdateContactTagsByFilterRequest as cR, type BulkUpsertContactsRequest as cS, type BulkUpsertContactsResponseBulkContactResult as cT, type BulkDeleteContactsRequest as cU, type BulkDeleteContactsResponseBulkContactResult as cV, type BulkDeleteContactsByFilterRequest as cW, type RemoveContactFromTrashBinRequest as cX, type RemoveContactFromTrashBinResponse as cY, type RestoreContactFromTrashBinRequest as cZ, type BulkRestoreContactsFromTrashBinRequest as c_, type RangeBucket as ca, type IncludeMissingValuesOptions as cb, type ValueAggregation as cc, type ValueAggregationOptionsOneOf as cd, type RangeAggregation as ce, type ScalarAggregation as cf, type DateHistogramAggregation as cg, type NestedAggregationItem as ch, type NestedAggregationItemKindOneOf as ci, type NestedAggregation as cj, type AggregationData as ck, type ValueAggregationResult as cl, type RangeAggregationResult as cm, type ValueResults as cn, type RangeResults as co, type AggregationResultsScalarResult as cp, type ValueResult as cq, type RangeResult as cr, type ScalarResult as cs, type NestedResultValue as ct, type NestedResultValueResultOneOf as cu, type Results as cv, type DateHistogramResult as cw, type DateHistogramResults as cx, type NestedResults as cy, type AggregationResults as cz, type CreateContactApplicationErrors as d, addContactAdditionalEmail as d$, type GetDeletedContactRequest as d0, type ListDeletedContactsRequest as d1, type BulkAddSegmentToContactsRequest as d2, type BulkAddSegmentToContactsResponse as d3, type BulkRemoveSegmentFromContactsRequest as d4, type BulkRemoveSegmentFromContactsResponse as d5, type QueryContactsByOffsetInternalRequest as d6, type QueryV2 as d7, type QueryV2PagingMethodOneOf as d8, type Paging as d9, type UpsertContactResponseActionWithLiterals as dA, type SortOrderWithLiterals as dB, type SortTypeWithLiterals as dC, type SortDirectionWithLiterals as dD, type MissingValuesWithLiterals as dE, type ScalarTypeWithLiterals as dF, type NestedAggregationTypeWithLiterals as dG, type IntervalWithLiterals as dH, type AggregationTypeWithLiterals as dI, type NameFormatWithLiterals as dJ, type ActionWithLiterals as dK, type QueryContactsByOffsetInternalRequestNameFormatWithLiterals as dL, type ImageUploadStatusWithLiterals as dM, type CommonQueryWithEntityContext as dN, type CommonSearchWithEntityContext as dO, bulkUpdateContactSubscriptions as dP, createContact as dQ, getContact as dR, updateContact as dS, upsertContact as dT, updateContactTags as dU, mergeContacts as dV, deleteContact as dW, findMatchingContacts as dX, queryContacts as dY, countContacts as dZ, generateContactImageUploadUrl as d_, type QueryContactsByOffsetInternalResponse as da, type PagingMetadataV2 as db, type GetContactImageUploadStatusRequest as dc, type BulkUpdatePhoneCountryCodeByFilterRequest as dd, type Empty as de, type MediaFileUploadedEvent as df, type ContactsQueryResult as dg, type ContactQuerySpec as dh, type ContactSearchSpec as di, utils as dj, type SubscriptionStatusWithLiterals as dk, type EmailDeliverabilityStatusWithLiterals as dl, type PhoneTagWithLiterals as dm, type PhoneDeliverabilityStatusWithLiterals as dn, type AddressTagWithLiterals as dp, type SubdivisionTypeWithLiterals as dq, type MemberStatusWithLiterals as dr, type PrivacyStatusWithLiterals as ds, type RoleWithLiterals as dt, type RelationshipTypeWithLiterals as du, type WebhookIdentityTypeWithLiterals as dv, type ModeWithLiterals as dw, type V5SubscriptionStatusWithLiterals as dx, type MatchTypeWithLiterals as dy, type UpsertModeWithLiterals as dz, type UpdateContactOptions as e, addContactAdditionalPhone as e0, addContactAddress as e1, deleteContactAddress as e2, updateContactAddress as e3, bulkCreateContacts as e4, bulkUpdateContacts as e5, bulkUpdateContactTags as e6, bulkUpdateContactTagsByFilter as e7, bulkUpsertContacts as e8, bulkDeleteContacts as e9, bulkDeleteContactsByFilter as ea, removeContactFromTrashBin as eb, restoreContactFromTrashBin as ec, bulkRestoreContactsFromTrashBin as ed, getDeletedContact as ee, listDeletedContacts as ef, getContactImageUploadStatus as eg, bulkUpdatePhoneCountryCodeByFilter as eh, type UpdateContactApplicationErrors as f, type UpsertContactOptions as g, type UpsertContactResponse as h, type UpsertContactApplicationErrors as i, type UpdateContactTagsOptions as j, type UpdateContactTagsResponse as k, type UpdateContactTagsApplicationErrors as l, type MergeContactsResponse as m, type MergeContactsApplicationErrors as n, type DeleteContactApplicationErrors as o, type FindMatchingContactsResponse as p, type FindMatchingContactsApplicationErrors as q, type ContactSearch as r, type SearchContactsResponse as s, type CountContactsOptions as t, type CountContactsResponse as u, type GenerateContactImageUploadUrlResponse as v, type GenerateContactImageUploadUrlApplicationErrors as w, type AddContactAdditionalEmailOptions as x, type AddContactAdditionalEmailResponse as y, type AddContactAdditionalEmailApplicationErrors as z };
|
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 {
|
|
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-CUVhs6Br.js';
|
|
3
|
+
export { bB as AccountInfo, aU as Action, bx as ActionEvent, dK as ActionWithLiterals, cD as AddContactAdditionalEmailRequest, cE as AddContactAdditionalPhoneRequest, cF as AddContactAddressRequest, a$ as Address, b2 as AddressLocation, b0 as AddressStreetOneOf, az as AddressTag, dp as AddressTagWithLiterals, c8 as Aggregation, ck as AggregationData, c9 as AggregationKindOneOf, cz as AggregationResults, cA as AggregationResultsResultOneOf, cp as AggregationResultsScalarResult, aS as AggregationType, dI as AggregationTypeWithLiterals, cK as ApplicationError, cM as BulkActionMetadata, d2 as BulkAddSegmentToContactsRequest, d3 as BulkAddSegmentToContactsResponse, cL as BulkContactResult, cI as BulkCreateContactsRequest, bK as BulkDelete, cW as BulkDeleteContactsByFilterRequest, cU as BulkDeleteContactsRequest, cV as BulkDeleteContactsResponseBulkContactResult, bJ as BulkIndex, d4 as BulkRemoveSegmentFromContactsRequest, d5 as BulkRemoveSegmentFromContactsResponse, c_ as BulkRestoreContactsFromTrashBinRequest, c$ as BulkRestoreContactsFromTrashBinResponseBulkContactResult, bC as BulkUpdateContactSubscriptionsRequest, cR as BulkUpdateContactTagsByFilterRequest, cP as BulkUpdateContactTagsRequest, cQ as BulkUpdateContactTagsResult, cN as BulkUpdateContactsRequest, cO as BulkUpdateContactsResponseBulkContactResult, dd as BulkUpdatePhoneCountryCodeByFilterRequest, cS as BulkUpsertContactsRequest, cT as BulkUpsertContactsResponseBulkContactResult, dN as CommonQueryWithEntityContext, dO as CommonSearchWithEntityContext, b8 as ContactActivity, b6 as ContactCompany, aY as ContactEmail, bo as ContactEmailSubscriptionUpdated, bq as ContactImageUploaded, bn as ContactMerged, aX as ContactName, a_ as ContactPhone, bp as ContactPhoneSubscriptionUpdated, dh as ContactQuerySpec, be as ContactRelationship, di as ContactSearchSpec, b7 as ContactSource, aZ as ContactSubscription, dg as ContactsQueryResult, cB as CountContactsRequest, bL as CreateContactRequest, bM as CreateContactResponse, c1 as CursorPaging, c3 as CursorPagingMetadata, b_ as CursorQuery, b$ as CursorQueryPagingMethodOneOf, c6 as CursorSearch, c7 as CursorSearchPagingMethodOneOf, c4 as Cursors, cg as DateHistogramAggregation, cw as DateHistogramResult, cx as DateHistogramResults, bH as Delete, cG as DeleteContactAddressRequest, bW as DeleteContactRequest, bX as DeleteContactResponse, br as DomainEvent, bs as DomainEventBodyOneOf, bN as DuplicateContactExists, aw as EmailDeliverabilityStatus, dl as EmailDeliverabilityStatusWithLiterals, de as Empty, bt as EntityCreatedEvent, bw as EntityDeletedEvent, bv as EntityUpdatedEvent, bh as ExtendedFields, bT as FailedMemberUpdate, bY as FindMatchingContactsRequest, cC as GenerateContactImageUploadUrlRequest, dc as GetContactImageUploadStatusRequest, bO as GetContactRequest, bP as GetContactResponse, d0 as GetDeletedContactRequest, bd as GroupInfo, bz as IdentificationData, bA as IdentificationDataIdOneOf, aW as ImageUploadStatus, dM as ImageUploadStatusWithLiterals, cb as IncludeMissingValuesOptions, bG as Index, aR as Interval, dH as IntervalWithLiterals, cJ as ItemMetadata, d1 as ListDeletedContactsRequest, aI as MatchType, dy as MatchTypeWithLiterals, df as MediaFileUploadedEvent, b9 as MemberInfo, aB as MemberStatus, dr as MemberStatusWithLiterals, bV as MergeContactsRequest, by as MessageEnvelope, aO as MissingValues, dE as MissingValuesWithLiterals, aG as Mode, dw as ModeWithLiterals, aT as NameFormat, dJ as NameFormatWithLiterals, cj as NestedAggregation, ch as NestedAggregationItem, ci as NestedAggregationItemKindOneOf, aQ as NestedAggregationType, dG as NestedAggregationTypeWithLiterals, ct as NestedResultValue, cu as NestedResultValueResultOneOf, cy as NestedResults, d9 as Paging, db as PagingMetadataV2, ay as PhoneDeliverabilityStatus, dn as PhoneDeliverabilityStatusWithLiterals, ax as PhoneTag, dm as PhoneTagWithLiterals, aC as PrivacyStatus, ds as PrivacyStatusWithLiterals, bf as PrivateTags, ba as ProfileInfo, d6 as QueryContactsByOffsetInternalRequest, aV as QueryContactsByOffsetInternalRequestNameFormat, dL as QueryContactsByOffsetInternalRequestNameFormatWithLiterals, da as QueryContactsByOffsetInternalResponse, bZ as QueryContactsRequest, c2 as QueryContactsResponse, d7 as QueryV2, d8 as QueryV2PagingMethodOneOf, ce as RangeAggregation, cm as RangeAggregationResult, ca as RangeBucket, cr as RangeResult, co as RangeResults, b5 as Recipient, bE as ReindexEntityForFQDN, bF as ReindexEntityForFQDNActionOneOf, bi as ReindexMessage, bj as ReindexMessageActionOneOf, bl as ReindexMessageDelete, aE as RelationshipType, du as RelationshipTypeWithLiterals, cX as RemoveContactFromTrashBinRequest, cY as RemoveContactFromTrashBinResponse, bI as ReportBatchCompleted, cZ as RestoreContactFromTrashBinRequest, bu as RestoreInfo, cv as Results, aD as Role, dt as RoleWithLiterals, cf as ScalarAggregation, cs as ScalarResult, aP as ScalarType, dF as ScalarTypeWithLiterals, bm as Schema, c5 as SearchContactsRequest, bD as SearchDetails, bc as SessionInfo, aN as SortDirection, dD as SortDirectionWithLiterals, aL as SortOrder, dB as SortOrderWithLiterals, aM as SortType, dC as SortTypeWithLiterals, c0 as Sorting, b4 as StandardDetails, b1 as StreetAddress, b3 as Subdivision, aA as SubdivisionType, dq as SubdivisionTypeWithLiterals, av as SubscriptionStatus, dk as SubscriptionStatusWithLiterals, bg as TagList, cH as UpdateContactAddressRequest, bQ as UpdateContactRequest, bR as UpdateContactResponse, bU as UpdateContactTagsRequest, bk as Upsert, bS as UpsertContactRequest, aK as UpsertContactResponseAction, dA as UpsertContactResponseActionWithLiterals, aJ as UpsertMode, dz as UpsertModeWithLiterals, bb as UserInfo, aH as V5SubscriptionStatus, dx as V5SubscriptionStatusWithLiterals, cc as ValueAggregation, cd as ValueAggregationOptionsOneOf, cl as ValueAggregationResult, cq as ValueResult, cn as ValueResults, aF as WebhookIdentityType, dv as WebhookIdentityTypeWithLiterals, dj as utils } from './contacts-v5-contact-contacts-v-5.universal-CUVhs6Br.js';
|
|
4
4
|
|
|
5
5
|
declare function bulkUpdateContactSubscriptions$1(httpClient: HttpClient): BulkUpdateContactSubscriptionsSignature;
|
|
6
6
|
interface BulkUpdateContactSubscriptionsSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -36,6 +36,7 @@ __export(index_exports, {
|
|
|
36
36
|
PhoneTag: () => PhoneTag,
|
|
37
37
|
PrivacyStatus: () => PrivacyStatus,
|
|
38
38
|
QueryContactsByOffsetInternalRequestNameFormat: () => QueryContactsByOffsetInternalRequestNameFormat,
|
|
39
|
+
RelationshipType: () => RelationshipType,
|
|
39
40
|
Role: () => Role,
|
|
40
41
|
ScalarType: () => ScalarType,
|
|
41
42
|
SortDirection: () => SortDirection,
|
|
@@ -1461,6 +1462,14 @@ var Role = /* @__PURE__ */ ((Role2) => {
|
|
|
1461
1462
|
Role2["MEMBER"] = "MEMBER";
|
|
1462
1463
|
return Role2;
|
|
1463
1464
|
})(Role || {});
|
|
1465
|
+
var RelationshipType = /* @__PURE__ */ ((RelationshipType2) => {
|
|
1466
|
+
RelationshipType2["PARENT"] = "PARENT";
|
|
1467
|
+
RelationshipType2["CHILD"] = "CHILD";
|
|
1468
|
+
RelationshipType2["SIBLING"] = "SIBLING";
|
|
1469
|
+
RelationshipType2["PARTNER"] = "PARTNER";
|
|
1470
|
+
RelationshipType2["FRIEND"] = "FRIEND";
|
|
1471
|
+
return RelationshipType2;
|
|
1472
|
+
})(RelationshipType || {});
|
|
1464
1473
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1465
1474
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1466
1475
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -3258,6 +3267,7 @@ var queryContacts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
|
|
|
3258
3267
|
PhoneTag,
|
|
3259
3268
|
PrivacyStatus,
|
|
3260
3269
|
QueryContactsByOffsetInternalRequestNameFormat,
|
|
3270
|
+
RelationshipType,
|
|
3261
3271
|
Role,
|
|
3262
3272
|
ScalarType,
|
|
3263
3273
|
SortDirection,
|