@wix/auto_sdk_crm_contacts-v-5 1.0.22 → 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.
Files changed (29) hide show
  1. package/build/cjs/{contacts-v5-contact-contacts-v-5.universal-BJh2oKn7.d.ts → contacts-v5-contact-contacts-v-5.universal-CUVhs6Br.d.ts} +65 -16
  2. package/build/cjs/index.d.ts +8 -11
  3. package/build/cjs/index.js +27 -19
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +25 -15
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +43 -6
  9. package/build/cjs/meta.js +10 -0
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{contacts-v5-contact-contacts-v-5.universal-BJh2oKn7.d.mts → contacts-v5-contact-contacts-v-5.universal-CUVhs6Br.d.mts} +65 -16
  12. package/build/es/index.d.mts +8 -11
  13. package/build/es/index.mjs +26 -19
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +2 -2
  16. package/build/es/index.typings.mjs +24 -15
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +43 -6
  19. package/build/es/meta.mjs +9 -0
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{contacts-v5-contact-contacts-v-5.universal-Ckkqdx9F.d.ts → contacts-v5-contact-contacts-v-5.universal-C0WGOLKJ.d.ts} +81 -16
  22. package/build/internal/cjs/index.d.ts +8 -11
  23. package/build/internal/cjs/index.typings.d.ts +2 -2
  24. package/build/internal/cjs/meta.d.ts +51 -6
  25. package/build/internal/es/{contacts-v5-contact-contacts-v-5.universal-Ckkqdx9F.d.mts → contacts-v5-contact-contacts-v-5.universal-C0WGOLKJ.d.mts} +81 -16
  26. package/build/internal/es/index.d.mts +8 -11
  27. package/build/internal/es/index.typings.d.mts +2 -2
  28. package/build/internal/es/meta.d.mts +51 -6
  29. 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. */
@@ -2077,8 +2106,8 @@ interface BulkUpdateContactTagsResult {
2077
2106
  item?: Contact;
2078
2107
  }
2079
2108
  interface BulkUpdateContactTagsByFilterRequest {
2080
- /** 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). */
2081
- filter: Record<string, any> | null;
2109
+ /** Filter object. An empty filter (`{}`) matches all contacts. See documentation [here](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#filters). */
2110
+ filter?: Record<string, any> | null;
2082
2111
  /** Free text to match in searchable fields. */
2083
2112
  search?: SearchDetails;
2084
2113
  /** Tags to assign to the matching contacts. */
@@ -2167,12 +2196,12 @@ interface BulkDeleteContactsResponseBulkContactResult {
2167
2196
  }
2168
2197
  interface BulkDeleteContactsByFilterRequest {
2169
2198
  /**
2170
- * Filter object.
2199
+ * Filter object. An empty filter (`{}`) matches all contacts.
2171
2200
  *
2172
2201
  * Example:
2173
2202
  * `{ "filter": { "name.last": "Smith" } }`
2174
2203
  */
2175
- filter: Record<string, any> | null;
2204
+ filter?: Record<string, any> | null;
2176
2205
  /** Free text to match in searchable fields. */
2177
2206
  search?: SearchDetails;
2178
2207
  /**
@@ -2830,6 +2859,10 @@ type BulkUpdateContactTagsByFilterApplicationErrors = {
2830
2859
  code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
2831
2860
  description?: string;
2832
2861
  data?: Record<string, any>;
2862
+ } | {
2863
+ code?: 'MISSING_FILTER_AND_SEARCH';
2864
+ description?: string;
2865
+ data?: Record<string, any>;
2833
2866
  };
2834
2867
  /** @docsIgnore */
2835
2868
  type BulkDeleteContactsApplicationErrors = {
@@ -2842,6 +2875,10 @@ type BulkDeleteContactsByFilterApplicationErrors = {
2842
2875
  code?: 'UNAUTHORIZED_DELETE_MEMBER';
2843
2876
  description?: string;
2844
2877
  data?: Record<string, any>;
2878
+ } | {
2879
+ code?: 'MISSING_FILTER_AND_SEARCH';
2880
+ description?: string;
2881
+ data?: Record<string, any>;
2845
2882
  };
2846
2883
  /** @docsIgnore */
2847
2884
  type GetContactImageUploadStatusApplicationErrors = {
@@ -3445,6 +3482,9 @@ interface ContactSearchSpec extends SearchSpec {
3445
3482
  'addresses.address.subdivision',
3446
3483
  'addresses.address.subdivisionFullname',
3447
3484
  'assigneeId',
3485
+ 'contactRelationships',
3486
+ 'contactRelationships.relatedContactId',
3487
+ 'contactRelationships.type',
3448
3488
  'email.deliverabilityStatus',
3449
3489
  'email.subscriptionStatus.status',
3450
3490
  'lastActivity.date',
@@ -3568,6 +3608,11 @@ interface ContactSearchSpec extends SearchSpec {
3568
3608
  ];
3569
3609
  sort: 'NONE';
3570
3610
  },
3611
+ {
3612
+ operators: ['$matchItems'];
3613
+ fields: ['contactRelationships'];
3614
+ sort: 'NONE';
3615
+ },
3571
3616
  {
3572
3617
  operators: ['$exists', '$hasAll', '$hasSome', '$startsWith'];
3573
3618
  fields: [
@@ -4002,24 +4047,26 @@ interface BulkUpdateContactTagsOptions {
4002
4047
  unassignTags?: PrivateTags;
4003
4048
  }
4004
4049
  /**
4005
- * Adds or removes tags on multiple contacts that match the provided filter. Works asynchronously. An empty filter matches all contacts.
4050
+ * Adds or removes tags on multiple contacts that match the provided filter. Works asynchronously.
4051
+ *
4052
+ * All contacts that meet the specified `filter` and `search` criteria are updated. The request must contain a `filter` value, a `search` value, or both. An empty `filter` (`{}`) without a `search` value matches all contacts.
4006
4053
  *
4007
4054
  * Specify which tags to assign and which to unassign. A tag that appears in both the list to assign and the list to unassign is assigned. At least one tag must be specified to assign or unassign.
4008
4055
  *
4009
4056
  * 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).
4010
4057
  *
4011
4058
  * 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).
4012
- * @param filter - 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).
4013
4059
  * @public
4014
- * @requiredField filter
4015
4060
  * @permissionId CONTACTS.CONTACT_UPDATE
4016
4061
  * @applicableIdentity APP
4017
4062
  * @fqn wix.contacts.v5.Contacts.BulkUpdateContactTagsByFilter
4018
4063
  */
4019
- declare function bulkUpdateContactTagsByFilter(filter: Record<string, any>, options?: BulkUpdateContactTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateContactTagsByFilterResponse, `jobId`, 0> & {
4064
+ declare function bulkUpdateContactTagsByFilter(options?: BulkUpdateContactTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateContactTagsByFilterResponse, `jobId`, 0> & {
4020
4065
  __applicationErrorsType?: BulkUpdateContactTagsByFilterApplicationErrors;
4021
4066
  }>;
4022
4067
  interface BulkUpdateContactTagsByFilterOptions {
4068
+ /** Filter object. An empty filter (`{}`) matches all contacts. See documentation [here](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#filters). */
4069
+ filter?: Record<string, any> | null;
4023
4070
  /** Free text to match in searchable fields. */
4024
4071
  search?: SearchDetails;
4025
4072
  /** Tags to assign to the matching contacts. */
@@ -4087,7 +4134,7 @@ interface BulkDeleteContactsOptions {
4087
4134
  /**
4088
4135
  * Deletes multiple contacts that match the provided filter. Works asynchronously.
4089
4136
  *
4090
- * All contacts that meet the specified `filter` and `search` criteria are deleted. The request must contain a `filter` value, a `search` value, or both. To preview which contacts match before deleting, call [Search Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/search-contacts) with the same criteria.
4137
+ * All contacts that meet the specified `filter` and `search` criteria are deleted. The request must contain a `filter` value, a `search` value, or both. An empty `filter` (`{}`) without a `search` value matches all contacts, so all of the site's contacts are deleted. To preview which contacts match before deleting, call [Search Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/search-contacts) with the same criteria.
4091
4138
  *
4092
4139
  * To check the status of the bulk deletion, pass the returned `jobId` to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job).
4093
4140
  *
@@ -4099,21 +4146,23 @@ interface BulkDeleteContactsOptions {
4099
4146
  * - `CANNOT_DELETE_WIX_USERS_MEMBER`: Site member can't be deleted because it's the owner or a contributor.
4100
4147
  * - `FAILED_DELETE_CONTACT_AFTER_MEMBER_DELETION`: Site member was deleted, but the contact was not.
4101
4148
  * - `FAILED_DELETE_CONTACT`: Contact couldn't be deleted.
4102
- * @param filter - Filter object.
4103
- *
4104
- * Example:
4105
- * `{ "filter": { "name.last": "Smith" } }`
4106
4149
  * @public
4107
- * @requiredField filter
4108
4150
  * @permissionId CONTACTS.CONTACT_DELETE
4109
4151
  * @permissionId MEMBERS.MEMBER_DELETE
4110
4152
  * @applicableIdentity APP
4111
4153
  * @fqn wix.contacts.v5.Contacts.BulkDeleteContactsByFilter
4112
4154
  */
4113
- declare function bulkDeleteContactsByFilter(filter: Record<string, any>, options?: BulkDeleteContactsByFilterOptions): Promise<NonNullablePaths<BulkDeleteContactsByFilterResponse, `jobId`, 0> & {
4155
+ declare function bulkDeleteContactsByFilter(options?: BulkDeleteContactsByFilterOptions): Promise<NonNullablePaths<BulkDeleteContactsByFilterResponse, `jobId`, 0> & {
4114
4156
  __applicationErrorsType?: BulkDeleteContactsByFilterApplicationErrors;
4115
4157
  }>;
4116
4158
  interface BulkDeleteContactsByFilterOptions {
4159
+ /**
4160
+ * Filter object. An empty filter (`{}`) matches all contacts.
4161
+ *
4162
+ * Example:
4163
+ * `{ "filter": { "name.last": "Smith" } }`
4164
+ */
4165
+ filter?: Record<string, any> | null;
4117
4166
  /** Free text to match in searchable fields. */
4118
4167
  search?: SearchDetails;
4119
4168
  /**
@@ -4274,4 +4323,4 @@ interface BulkUpdatePhoneCountryCodeByFilterOptions {
4274
4323
  countryCode: string;
4275
4324
  }
4276
4325
 
4277
- 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 };
@@ -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-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';
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 {
@@ -319,16 +319,17 @@ interface BulkUpdateContactTagsSignature {
319
319
  declare function bulkUpdateContactTagsByFilter$1(httpClient: HttpClient): BulkUpdateContactTagsByFilterSignature;
320
320
  interface BulkUpdateContactTagsByFilterSignature {
321
321
  /**
322
- * Adds or removes tags on multiple contacts that match the provided filter. Works asynchronously. An empty filter matches all contacts.
322
+ * Adds or removes tags on multiple contacts that match the provided filter. Works asynchronously.
323
+ *
324
+ * All contacts that meet the specified `filter` and `search` criteria are updated. The request must contain a `filter` value, a `search` value, or both. An empty `filter` (`{}`) without a `search` value matches all contacts.
323
325
  *
324
326
  * Specify which tags to assign and which to unassign. A tag that appears in both the list to assign and the list to unassign is assigned. At least one tag must be specified to assign or unassign.
325
327
  *
326
328
  * 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).
327
329
  *
328
330
  * 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
- * @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
331
  */
331
- (filter: Record<string, any>, options?: BulkUpdateContactTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateContactTagsByFilterResponse, `jobId`, 0> & {
332
+ (options?: BulkUpdateContactTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateContactTagsByFilterResponse, `jobId`, 0> & {
332
333
  __applicationErrorsType?: BulkUpdateContactTagsByFilterApplicationErrors;
333
334
  }>;
334
335
  }
@@ -372,7 +373,7 @@ interface BulkDeleteContactsByFilterSignature {
372
373
  /**
373
374
  * Deletes multiple contacts that match the provided filter. Works asynchronously.
374
375
  *
375
- * All contacts that meet the specified `filter` and `search` criteria are deleted. The request must contain a `filter` value, a `search` value, or both. To preview which contacts match before deleting, call [Search Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/search-contacts) with the same criteria.
376
+ * All contacts that meet the specified `filter` and `search` criteria are deleted. The request must contain a `filter` value, a `search` value, or both. An empty `filter` (`{}`) without a `search` value matches all contacts, so all of the site's contacts are deleted. To preview which contacts match before deleting, call [Search Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/search-contacts) with the same criteria.
376
377
  *
377
378
  * To check the status of the bulk deletion, pass the returned `jobId` to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job).
378
379
  *
@@ -384,12 +385,8 @@ interface BulkDeleteContactsByFilterSignature {
384
385
  * - `CANNOT_DELETE_WIX_USERS_MEMBER`: Site member can't be deleted because it's the owner or a contributor.
385
386
  * - `FAILED_DELETE_CONTACT_AFTER_MEMBER_DELETION`: Site member was deleted, but the contact was not.
386
387
  * - `FAILED_DELETE_CONTACT`: Contact couldn't be deleted.
387
- * @param - Filter object.
388
- *
389
- * Example:
390
- * `{ "filter": { "name.last": "Smith" } }`
391
388
  */
392
- (filter: Record<string, any>, options?: BulkDeleteContactsByFilterOptions): Promise<NonNullablePaths<BulkDeleteContactsByFilterResponse, `jobId`, 0> & {
389
+ (options?: BulkDeleteContactsByFilterOptions): Promise<NonNullablePaths<BulkDeleteContactsByFilterResponse, `jobId`, 0> & {
393
390
  __applicationErrorsType?: BulkDeleteContactsByFilterApplicationErrors;
394
391
  }>;
395
392
  }
@@ -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";
@@ -2541,10 +2550,10 @@ async function bulkUpdateContactTags2(contactIds, options) {
2541
2550
  throw transformedError;
2542
2551
  }
2543
2552
  }
2544
- async function bulkUpdateContactTagsByFilter2(filter, options) {
2545
- const { httpClient, sideEffects } = arguments[2];
2553
+ async function bulkUpdateContactTagsByFilter2(options) {
2554
+ const { httpClient, sideEffects } = arguments[1];
2546
2555
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2547
- filter,
2556
+ filter: options?.filter,
2548
2557
  search: options?.search,
2549
2558
  assignTags: options?.assignTags,
2550
2559
  unassignTags: options?.unassignTags
@@ -2561,14 +2570,14 @@ async function bulkUpdateContactTagsByFilter2(filter, options) {
2561
2570
  {
2562
2571
  spreadPathsToArguments: {},
2563
2572
  explicitPathsToArguments: {
2564
- filter: "$[0]",
2565
- search: "$[1].search",
2566
- assignTags: "$[1].assignTags",
2567
- unassignTags: "$[1].unassignTags"
2573
+ filter: "$[0].filter",
2574
+ search: "$[0].search",
2575
+ assignTags: "$[0].assignTags",
2576
+ unassignTags: "$[0].unassignTags"
2568
2577
  },
2569
2578
  singleArgumentUnchanged: false
2570
2579
  },
2571
- ["filter", "options"]
2580
+ ["options"]
2572
2581
  );
2573
2582
  sideEffects?.onError?.(err);
2574
2583
  throw transformedError;
@@ -2659,10 +2668,10 @@ async function bulkDeleteContacts2(contactIds, options) {
2659
2668
  throw transformedError;
2660
2669
  }
2661
2670
  }
2662
- async function bulkDeleteContactsByFilter2(filter, options) {
2663
- const { httpClient, sideEffects } = arguments[2];
2671
+ async function bulkDeleteContactsByFilter2(options) {
2672
+ const { httpClient, sideEffects } = arguments[1];
2664
2673
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2665
- filter,
2674
+ filter: options?.filter,
2666
2675
  search: options?.search,
2667
2676
  deleteMembers: options?.deleteMembers
2668
2677
  });
@@ -2678,13 +2687,13 @@ async function bulkDeleteContactsByFilter2(filter, options) {
2678
2687
  {
2679
2688
  spreadPathsToArguments: {},
2680
2689
  explicitPathsToArguments: {
2681
- filter: "$[0]",
2682
- search: "$[1].search",
2683
- deleteMembers: "$[1].deleteMembers"
2690
+ filter: "$[0].filter",
2691
+ search: "$[0].search",
2692
+ deleteMembers: "$[0].deleteMembers"
2684
2693
  },
2685
2694
  singleArgumentUnchanged: false
2686
2695
  },
2687
- ["filter", "options"]
2696
+ ["options"]
2688
2697
  );
2689
2698
  sideEffects?.onError?.(err);
2690
2699
  throw transformedError;
@@ -3115,8 +3124,7 @@ function bulkUpdateContactTags3(httpClient) {
3115
3124
  );
3116
3125
  }
3117
3126
  function bulkUpdateContactTagsByFilter3(httpClient) {
3118
- return (filter, options) => bulkUpdateContactTagsByFilter2(
3119
- filter,
3127
+ return (options) => bulkUpdateContactTagsByFilter2(
3120
3128
  options,
3121
3129
  // @ts-ignore
3122
3130
  { httpClient }
@@ -3139,8 +3147,7 @@ function bulkDeleteContacts3(httpClient) {
3139
3147
  );
3140
3148
  }
3141
3149
  function bulkDeleteContactsByFilter3(httpClient) {
3142
- return (filter, options) => bulkDeleteContactsByFilter2(
3143
- filter,
3150
+ return (options) => bulkDeleteContactsByFilter2(
3144
3151
  options,
3145
3152
  // @ts-ignore
3146
3153
  { httpClient }
@@ -3260,6 +3267,7 @@ var queryContacts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
3260
3267
  PhoneTag,
3261
3268
  PrivacyStatus,
3262
3269
  QueryContactsByOffsetInternalRequestNameFormat,
3270
+ RelationshipType,
3263
3271
  Role,
3264
3272
  ScalarType,
3265
3273
  SortDirection,