@wix/auto_sdk_crm_contacts-v-5 1.0.2 → 1.0.4

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 (37) hide show
  1. package/build/cjs/{contacts-v5-contact-contacts-v-5.universal-DQ0VgYqw.d.ts → contacts-v5-contact-contacts-v-5.universal-DARTxFF5.d.ts} +62 -48
  2. package/build/cjs/index.d.ts +16 -16
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +4 -4
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +43 -30
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/cjs/schemas.js +765 -545
  9. package/build/cjs/schemas.js.map +1 -1
  10. package/build/es/{contacts-v5-contact-contacts-v-5.universal-DQ0VgYqw.d.mts → contacts-v5-contact-contacts-v-5.universal-DARTxFF5.d.mts} +62 -48
  11. package/build/es/index.d.mts +16 -16
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +4 -4
  14. package/build/es/index.typings.mjs.map +1 -1
  15. package/build/es/meta.d.mts +43 -30
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/es/schemas.mjs +765 -545
  18. package/build/es/schemas.mjs.map +1 -1
  19. package/build/internal/cjs/{contacts-v5-contact-contacts-v-5.universal-DQ0VgYqw.d.ts → contacts-v5-contact-contacts-v-5.universal-DARTxFF5.d.ts} +62 -48
  20. package/build/internal/cjs/index.d.ts +16 -16
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +4 -4
  23. package/build/internal/cjs/index.typings.js.map +1 -1
  24. package/build/internal/cjs/meta.d.ts +43 -30
  25. package/build/internal/cjs/meta.js.map +1 -1
  26. package/build/internal/cjs/schemas.js +765 -545
  27. package/build/internal/cjs/schemas.js.map +1 -1
  28. package/build/internal/es/{contacts-v5-contact-contacts-v-5.universal-DQ0VgYqw.d.mts → contacts-v5-contact-contacts-v-5.universal-DARTxFF5.d.mts} +62 -48
  29. package/build/internal/es/index.d.mts +16 -16
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +4 -4
  32. package/build/internal/es/index.typings.mjs.map +1 -1
  33. package/build/internal/es/meta.d.mts +43 -30
  34. package/build/internal/es/meta.mjs.map +1 -1
  35. package/build/internal/es/schemas.mjs +765 -545
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -564,38 +564,43 @@ interface ContactActivity {
564
564
  */
565
565
  templateId?: string | null;
566
566
  }
567
+ /**
568
+ * Information about the site member linked to the contact.
569
+ *
570
+ * This object is read-only and populated automatically when the contact is linked to a member. It's eventually consistent with the member's data, so changes made to the member may take a short time to appear here.
571
+ */
567
572
  interface MemberInfo {
568
573
  /**
569
- * Member ID
574
+ * Member ID.
570
575
  * @format GUID
571
576
  */
572
577
  memberId?: string | null;
573
- /** Signup date */
578
+ /** Date and time the member signed up. */
574
579
  signupDate?: Date | null;
575
580
  /**
576
- * Login email
581
+ * Email the member uses to log in.
577
582
  * @format EMAIL
578
583
  */
579
584
  email?: string | null;
580
- /** Indicate whether the email is verified */
585
+ /** Whether the email is verified. */
581
586
  emailVerified?: boolean | null;
582
- /** Indicates whether the member is required to verify their email */
587
+ /** Whether the member is required to verify their email before they can log in. */
583
588
  emailVerificationRequired?: boolean | null;
584
589
  /**
585
590
  * Member status.
586
591
  * - `PENDING`: Member created and is waiting for approval by site owner.
587
592
  * - `ACTIVE`: Member can log in to the site.
588
- * - `BLOCKED': Member is blocked and cannot log in to the site.
593
+ * - `BLOCKED`: Member is blocked and cannot log in to the site.
589
594
  * - `OFFLINE`: Member is a [managed writer](https://support.wix.com/en/article/wix-blog-adding-managed-writers-to-your-blog) for the site blog and cannot log in to the site.
590
595
  */
591
596
  status?: MemberStatusWithLiterals;
592
- /** Profile info */
597
+ /** Information about the member's public profile. */
593
598
  profileInfo?: ProfileInfo;
594
- /** User info */
599
+ /** Information about the member's user account. */
595
600
  userInfo?: UserInfo;
596
- /** Session info */
601
+ /** Information about the member's login sessions. */
597
602
  sessionInfo?: SessionInfo;
598
- /** Group info */
603
+ /** Information about the groups the member belongs to. */
599
604
  groupInfo?: GroupInfo;
600
605
  }
601
606
  declare enum MemberStatus {
@@ -608,17 +613,17 @@ declare enum MemberStatus {
608
613
  type MemberStatusWithLiterals = MemberStatus | 'PENDING' | 'ACTIVE' | 'BLOCKED' | 'OFFLINE';
609
614
  interface ProfileInfo {
610
615
  /**
611
- * Nickname
616
+ * Member's nickname.
612
617
  * @maxLength 255
613
618
  */
614
619
  nickname?: string | null;
615
- /** Privacy status */
620
+ /** Whether the member's profile is visible to other site members and visitors. */
616
621
  privacyStatus?: PrivacyStatusWithLiterals;
617
- /** Indicate whether the member is reported */
622
+ /** Whether the member has been reported by another member. */
618
623
  reported?: boolean | null;
619
- /** Indicate whether the member is muted */
624
+ /** Whether the member has been muted and can't post or comment on the site. */
620
625
  muted?: boolean | null;
621
- /** Profile photo */
626
+ /** Member's profile photo. */
622
627
  photo?: string;
623
628
  }
624
629
  declare enum PrivacyStatus {
@@ -629,11 +634,11 @@ declare enum PrivacyStatus {
629
634
  type PrivacyStatusWithLiterals = PrivacyStatus | 'PRIVATE' | 'PUBLIC';
630
635
  interface UserInfo {
631
636
  /**
632
- * User ID
637
+ * User ID.
633
638
  * @format GUID
634
639
  */
635
640
  userId?: string;
636
- /** The user's role on the website */
641
+ /** Member's role on the site. */
637
642
  role?: RoleWithLiterals;
638
643
  }
639
644
  declare enum Role {
@@ -644,12 +649,12 @@ declare enum Role {
644
649
  /** @enumType */
645
650
  type RoleWithLiterals = Role | 'OWNER' | 'CONTRIBUTOR' | 'MEMBER';
646
651
  interface SessionInfo {
647
- /** Last time the member logged in to the website */
652
+ /** Date and time the member last logged in to the site from a browser. */
648
653
  lastWebLogin?: Date | null;
649
- /** Last time the member logged in to one of the mobile apps */
654
+ /** Date and time the member last logged in from one of the mobile apps. */
650
655
  lastMobileLogin?: Date | null;
651
656
  /**
652
- * List of mobile apps that the member has ever logged in to
657
+ * Mobile apps the member has ever logged in to.
653
658
  * @maxSize 50
654
659
  * @maxLength 50
655
660
  */
@@ -657,7 +662,7 @@ interface SessionInfo {
657
662
  }
658
663
  interface GroupInfo {
659
664
  /**
660
- * Group IDs
665
+ * IDs of the groups the member belongs to.
661
666
  * @format GUID
662
667
  * @maxSize 1000
663
668
  */
@@ -716,6 +721,7 @@ interface Schema {
716
721
  label?: string;
717
722
  clusterName?: string;
718
723
  }
724
+ /** Triggered when one or more contacts are merged into another contact. */
719
725
  interface ContactMerged {
720
726
  /**
721
727
  * ID of the contact the source contacts were merged into.
@@ -732,6 +738,7 @@ interface ContactMerged {
732
738
  /** Updated target contact. */
733
739
  targetContact?: Contact;
734
740
  }
741
+ /** Triggered when a contact's email subscription or deliverability status changes. */
735
742
  interface ContactEmailSubscriptionUpdated {
736
743
  /**
737
744
  * The updated contact ID.
@@ -745,6 +752,7 @@ interface ContactEmailSubscriptionUpdated {
745
752
  /** Date and time the contact was updated with the email subscription or deliverability status. */
746
753
  _updatedDate?: Date | null;
747
754
  }
755
+ /** Triggered when a contact's phone subscription or deliverability status changes. */
748
756
  interface ContactPhoneSubscriptionUpdated {
749
757
  /**
750
758
  * The updated contact ID.
@@ -758,6 +766,7 @@ interface ContactPhoneSubscriptionUpdated {
758
766
  /** Date and time the contact was updated with the SMS subscription status. */
759
767
  _updatedDate?: Date | null;
760
768
  }
769
+ /** Triggered when a contact's image is uploaded. */
761
770
  interface ContactImageUploaded {
762
771
  /**
763
772
  * The updated contact ID.
@@ -970,8 +979,11 @@ declare enum Mode {
970
979
  /** @enumType */
971
980
  type ModeWithLiterals = Mode | 'OR' | 'AND';
972
981
  declare enum V5SubscriptionStatus {
982
+ /** No subscription status has been reported yet. */
973
983
  NOT_SET = "NOT_SET",
984
+ /** Opted in to receive marketing messages. */
974
985
  SUBSCRIBED = "SUBSCRIBED",
986
+ /** Opted out of receiving marketing messages. */
975
987
  UNSUBSCRIBED = "UNSUBSCRIBED"
976
988
  }
977
989
  /** @enumType */
@@ -1804,7 +1816,7 @@ interface CountContactsRequest {
1804
1816
  search?: string | null;
1805
1817
  }
1806
1818
  interface CountContactsResponse {
1807
- /** number of contacts */
1819
+ /** Number of contacts that match the provided filter and search criteria. */
1808
1820
  count?: number;
1809
1821
  }
1810
1822
  interface GenerateContactImageUploadUrlRequest {
@@ -1814,8 +1826,9 @@ interface GenerateContactImageUploadUrlRequest {
1814
1826
  */
1815
1827
  contactId: string;
1816
1828
  /**
1817
- * Mime Type. Must be one of: `image/png`, `image/jpeg`.
1818
- * Defaults to `image/png`.
1829
+ * MIME type. Must be one of: `image/png`, `image/jpeg`.
1830
+ *
1831
+ * Default: `image/png`
1819
1832
  * @maxLength 100
1820
1833
  */
1821
1834
  mimeType?: string | null;
@@ -1917,7 +1930,7 @@ interface BulkCreateContactsRequest {
1917
1930
  * @maxSize 100
1918
1931
  */
1919
1932
  contacts: Contact[];
1920
- /** set to `true` if you wish to receive back the created Contacts in the response */
1933
+ /** Whether to include the created contacts in the response. */
1921
1934
  returnEntity?: boolean;
1922
1935
  /** Allows creating the contact even if a duplicate already exists. */
1923
1936
  allowDuplicates?: boolean;
@@ -1974,7 +1987,7 @@ interface BulkUpdateContactsRequest {
1974
1987
  * @maxSize 100
1975
1988
  */
1976
1989
  contacts: MaskedContact[];
1977
- /** set to `true` if you wish to receive back the updated Contacts in the response */
1990
+ /** Whether to include the updated contacts in the response. */
1978
1991
  returnEntity?: boolean;
1979
1992
  /** Allows updating the contact even if it becomes a duplicate of another contact. */
1980
1993
  allowDuplicates?: boolean;
@@ -2007,7 +2020,7 @@ interface BulkUpdateContactTagsRequest {
2007
2020
  * @format GUID
2008
2021
  */
2009
2022
  contactIds: string[];
2010
- /** set to `true` if you wish to receive back the updated Contacts in the response */
2023
+ /** Whether to include the updated contacts in the response. */
2011
2024
  returnEntity?: boolean;
2012
2025
  /** The tags to add. */
2013
2026
  assignTags?: PrivateTags;
@@ -2054,7 +2067,7 @@ interface BulkUpsertContactsRequest {
2054
2067
  * @maxSize 100
2055
2068
  */
2056
2069
  contacts: BulkUpsertContactsRequestMaskedContact[];
2057
- /** set to `true` if you wish to receive back the updated Contacts in the response */
2070
+ /** Whether to include the upserted contacts in the response. */
2058
2071
  returnEntity?: boolean;
2059
2072
  /** The mode in which the upsert should work in. */
2060
2073
  upsertMode?: UpsertModeWithLiterals;
@@ -2169,7 +2182,7 @@ interface BulkRestoreContactsFromTrashBinRequest {
2169
2182
  * @format GUID
2170
2183
  */
2171
2184
  contactIds?: string[];
2172
- /** return full entity in response */
2185
+ /** Whether to include the restored contacts in the response. */
2173
2186
  returnEntity?: boolean;
2174
2187
  }
2175
2188
  interface BulkRestoreContactsFromTrashBinResponse {
@@ -2834,9 +2847,9 @@ interface BulkUpdateContactSubscriptionsOptions {
2834
2847
  *
2835
2848
  * At least one of `name.first`, `name.last`, `email.email`, or `phone.phone` must be provided.
2836
2849
  *
2837
- * *Duplicate handling:** By default, creation fails if a contact with the same identifiers (`externalId`, `email.email`, or `phone.phone`) already exists. Set `allowDuplicates` to `true` to bypass this check. Learn more about [contact matching and duplicates](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/matching-contacts).
2850
+ * Duplicate handling: By default, creation fails if a contact with the same identifiers (`externalId`, `email.email`, or `phone.phone`) already exists. Set `allowDuplicates` to `true` to bypass this check. Learn more about [contact matching and duplicates](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/matching-contacts).
2838
2851
  *
2839
- * *Image upload:** When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
2852
+ * Image upload: When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
2840
2853
  *
2841
2854
  * To create multiple contacts in a single request, call [Bulk Create Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts/contact-v5/bulk-create-contacts).
2842
2855
  * @param contact - Contact to be created.
@@ -2875,12 +2888,12 @@ declare function getContact(contactId: string): Promise<NonNullablePaths<Contact
2875
2888
  *
2876
2889
  * Each time the contact is updated, `revision` increments by 1. The current `revision` must be passed when updating the contact. This ensures you're working with the latest contact and prevents unintended overwrites.
2877
2890
  *
2878
- * *Restrictions:**
2891
+ * Restrictions:
2879
2892
  * - `externalId` can be set only once and can't be changed after creation.
2880
2893
  * - The main email of a contact that is a site member can't be changed. Update it through the [Members API](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/member-management/members/introduction) instead.
2881
2894
  * - At least one of `name`, `email`, or `phone` must remain after the update.
2882
2895
  *
2883
- * *Image upload:** When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
2896
+ * Image upload: When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
2884
2897
  *
2885
2898
  * To update multiple contacts in a single request, call [Bulk Update Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/bulk-update-contacts).
2886
2899
  * @param _id - Contact ID.
@@ -3054,16 +3067,16 @@ interface UpdateContactOptions {
3054
3067
  *
3055
3068
  * Matching uses `externalId`, `email.email`, and `phone.phone` to find an existing contact. See [contact matching](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/matching-contacts) for the detailed matching rules.
3056
3069
  *
3057
- * *Upsert modes:** Set `upsertMode` to control how an existing contact is updated:
3070
+ * Upsert modes: Set `upsertMode` to control how an existing contact is updated:
3058
3071
  * - `OVERWRITE` (default): Replaces existing field values.
3059
3072
  * - `APPEND`: Sets a non-array field only if it doesn't already have a value, and appends to array fields.
3060
3073
  * - `OVERWRITE_APPEND_ARRAYS`: Overwrites non-array fields and appends to array fields.
3061
3074
  *
3062
- * *Member contacts:** Set `updateMember` to `true` when upserting a contact that is a site member.
3075
+ * Member contacts: Set `updateMember` to `true` when upserting a contact that is a site member.
3063
3076
  *
3064
3077
  * The response's `action` field indicates whether the contact was `CREATED` or `UPDATED`.
3065
3078
  *
3066
- * *Image upload:** When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
3079
+ * Image upload: When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
3067
3080
  *
3068
3081
  * To create or update multiple contacts in a single request, call [Bulk Upsert Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/bulk-upsert-contacts).
3069
3082
  * @param contact - Contact to be upserted.
@@ -3114,14 +3127,14 @@ interface UpdateContactTagsOptions {
3114
3127
  *
3115
3128
  * The merge behaves in one of two ways, depending on whether you provide `targetContact` in the request:
3116
3129
  *
3117
- * - **Without `targetContact`:** The source contacts are merged into the existing target contact. Non-empty fields from the sources fill empty fields on the target, and array fields (emails, phones, and addresses) are combined and deduplicated. When you provide multiple sources, they're merged in order: the first source into the second, that result into the third, and so on, and finally into the target. Earlier sources take precedence over later ones.
3118
- * - **With `targetContact`:** The provided `targetContact` overwrites the target according to `fieldMask`, and the source contacts are deleted without their data being merged in.
3130
+ * - Without `targetContact`: The source contacts are merged into the existing target contact. Non-empty fields from the sources fill empty fields on the target, and array fields (emails, phones, and addresses) are combined and deduplicated. When you provide multiple sources, they're merged in order: the first source into the second, that result into the third, and so on, and finally into the target. Earlier sources take precedence over later ones.
3131
+ * - With `targetContact`: The provided `targetContact` overwrites the target according to `fieldMask`, and the source contacts are deleted without their data being merged in.
3119
3132
  *
3120
3133
  * In both cases, the source contacts are permanently deleted after a successful merge.
3121
3134
  *
3122
3135
  * Set `preview` to `true` to return the merged result without applying it, so you can review the outcome before committing.
3123
3136
  *
3124
- * *Restrictions:**
3137
+ * Restrictions:
3125
3138
  * - Source contacts can't be site members. The target contact can be a site member.
3126
3139
  * - `externalId` can be set only once and can't be changed if it already has a value.
3127
3140
  * - The target contact must remain valid after the merge, keeping at least one of `name`, `email`, or `phone`.
@@ -3164,9 +3177,9 @@ interface MergeContactsOptions {
3164
3177
  *
3165
3178
  * Deleted contacts are moved to the trash bin and can be restored within 90 days by calling [Restore Contact From Trash Bin](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/restore-contact-from-trash-bin) or [Bulk Restore Contacts From Trash Bin](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/bulk-restore-contacts-from-trash-bin). After 90 days, they're permanently deleted.
3166
3179
  *
3167
- * *Member contacts:** To delete a contact that is also a site member, set `deleteMember` to `true`. This deletes both the contact and the member.
3180
+ * Member contacts: To delete a contact that is also a site member, set `deleteMember` to `true`. This deletes both the contact and the member.
3168
3181
  *
3169
- * *Restrictions:**
3182
+ * Restrictions:
3170
3183
  * - A contact with an active billing subscription can't be deleted.
3171
3184
  * - A site owner or contributor can't be deleted.
3172
3185
  *
@@ -3737,8 +3750,9 @@ declare function generateContactImageUploadUrl(contactId: string, options?: Gene
3737
3750
  }>;
3738
3751
  interface GenerateContactImageUploadUrlOptions {
3739
3752
  /**
3740
- * Mime Type. Must be one of: `image/png`, `image/jpeg`.
3741
- * Defaults to `image/png`.
3753
+ * MIME type. Must be one of: `image/png`, `image/jpeg`.
3754
+ *
3755
+ * Default: `image/png`
3742
3756
  * @maxLength 100
3743
3757
  */
3744
3758
  mimeType?: string | null;
@@ -3894,7 +3908,7 @@ interface UpdateContactAddressOptions {
3894
3908
  */
3895
3909
  declare function bulkCreateContacts(contacts: Contact[], options?: BulkCreateContactsOptions): Promise<NonNullablePaths<BulkCreateContactsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.email.email` | `results.${number}.item.email.deliverabilityStatus` | `results.${number}.item.phone.tag` | `results.${number}.item.phone.phone` | `results.${number}.item.phone.deliverabilityStatus` | `results.${number}.item.memberInfo.status` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
3896
3910
  interface BulkCreateContactsOptions {
3897
- /** set to `true` if you wish to receive back the created Contacts in the response */
3911
+ /** Whether to include the created contacts in the response. */
3898
3912
  returnEntity?: boolean;
3899
3913
  /** Allows creating the contact even if a duplicate already exists. */
3900
3914
  allowDuplicates?: boolean;
@@ -3919,7 +3933,7 @@ interface BulkCreateContactsOptions {
3919
3933
  */
3920
3934
  declare function bulkUpdateContacts(contacts: NonNullablePaths<MaskedContact, `contact._id` | `contact.revision`, 3>[], options?: BulkUpdateContactsOptions): Promise<NonNullablePaths<BulkUpdateContactsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.email.email` | `results.${number}.item.email.deliverabilityStatus` | `results.${number}.item.phone.tag` | `results.${number}.item.phone.phone` | `results.${number}.item.phone.deliverabilityStatus` | `results.${number}.item.memberInfo.status` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
3921
3935
  interface BulkUpdateContactsOptions {
3922
- /** set to `true` if you wish to receive back the updated Contacts in the response */
3936
+ /** Whether to include the updated contacts in the response. */
3923
3937
  returnEntity?: boolean;
3924
3938
  /** Allows updating the contact even if it becomes a duplicate of another contact. */
3925
3939
  allowDuplicates?: boolean;
@@ -3942,7 +3956,7 @@ declare function bulkUpdateContactTags(contactIds: string[], options?: BulkUpdat
3942
3956
  __applicationErrorsType?: BulkUpdateContactTagsApplicationErrors;
3943
3957
  }>;
3944
3958
  interface BulkUpdateContactTagsOptions {
3945
- /** set to `true` if you wish to receive back the updated Contacts in the response */
3959
+ /** Whether to include the updated contacts in the response. */
3946
3960
  returnEntity?: boolean;
3947
3961
  /** The tags to add. */
3948
3962
  assignTags?: PrivateTags;
@@ -4002,7 +4016,7 @@ interface BulkUpdateContactTagsByFilterOptions {
4002
4016
  */
4003
4017
  declare function bulkUpsertContacts(contacts: BulkUpsertContactsRequestMaskedContact[], options?: BulkUpsertContactsOptions): Promise<NonNullablePaths<BulkUpsertContactsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.email.email` | `results.${number}.item.email.deliverabilityStatus` | `results.${number}.item.phone.tag` | `results.${number}.item.phone.phone` | `results.${number}.item.phone.deliverabilityStatus` | `results.${number}.item.memberInfo.status` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
4004
4018
  interface BulkUpsertContactsOptions {
4005
- /** set to `true` if you wish to receive back the updated Contacts in the response */
4019
+ /** Whether to include the upserted contacts in the response. */
4006
4020
  returnEntity?: boolean;
4007
4021
  /** The mode in which the upsert should work in. */
4008
4022
  upsertMode?: UpsertModeWithLiterals;
@@ -4118,7 +4132,7 @@ interface BulkRestoreContactsFromTrashBinOptions {
4118
4132
  * @format GUID
4119
4133
  */
4120
4134
  contactIds?: string[];
4121
- /** return full entity in response */
4135
+ /** Whether to include the restored contacts in the response. */
4122
4136
  returnEntity?: boolean;
4123
4137
  }
4124
4138
  /**
@@ -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 UpdateContactAddressOptions, W as UpdateContactAddressResponse, X as UpdateContactAddressApplicationErrors, Y as BulkCreateContactsOptions, Z as BulkCreateContactsResponse, _ as MaskedContact, $ as BulkUpdateContactsOptions, a0 as BulkUpdateContactsResponse, a1 as BulkUpdateContactTagsOptions, a2 as BulkUpdateContactTagsResponse, a3 as BulkUpdateContactTagsApplicationErrors, a4 as BulkUpdateContactTagsByFilterOptions, a5 as BulkUpdateContactTagsByFilterResponse, a6 as BulkUpdateContactTagsByFilterApplicationErrors, a7 as BulkUpsertContactsRequestMaskedContact, a8 as BulkUpsertContactsOptions, a9 as BulkUpsertContactsResponse, aa as BulkDeleteContactsOptions, ab as BulkDeleteContactsResponse, ac as BulkDeleteContactsApplicationErrors, ad as BulkDeleteContactsByFilterOptions, ae as BulkDeleteContactsByFilterResponse, af as BulkDeleteContactsByFilterApplicationErrors, ag as RestoreContactFromTrashBinResponse, ah as BulkRestoreContactsFromTrashBinOptions, ai as BulkRestoreContactsFromTrashBinResponse, aj as GetDeletedContactResponse, ak as ListDeletedContactsOptions, al as ListDeletedContactsResponse, am as GetContactImageUploadStatusIdentifiers, an as GetContactImageUploadStatusResponse, ao as GetContactImageUploadStatusApplicationErrors, ap as BulkUpdatePhoneCountryCodeByFilterOptions, aq as BulkUpdatePhoneCountryCodeByFilterResponse, ar as ContactsQueryBuilder, as as ContactQuery, at as typedQueryContacts } from './contacts-v5-contact-contacts-v-5.universal-DQ0VgYqw.js';
3
- export { by as AccountInfo, aS as Action, bu as ActionEvent, dG as ActionWithLiterals, cA as AddContactAdditionalEmailRequest, cB as AddContactAdditionalPhoneRequest, cC as AddContactAddressRequest, aZ as Address, b0 as AddressLocation, a_ as AddressStreetOneOf, ay as AddressTag, dl as AddressTagWithLiterals, c5 as Aggregation, ch as AggregationData, c6 as AggregationKindOneOf, cw as AggregationResults, cx as AggregationResultsResultOneOf, cm as AggregationResultsScalarResult, aQ as AggregationType, dE as AggregationTypeWithLiterals, cH as ApplicationError, cJ as BulkActionMetadata, c$ as BulkAddSegmentToContactsRequest, d0 as BulkAddSegmentToContactsResponse, cI as BulkContactResult, cF as BulkCreateContactsRequest, bH as BulkDelete, cT as BulkDeleteContactsByFilterRequest, cR as BulkDeleteContactsRequest, cS as BulkDeleteContactsResponseBulkContactResult, bG as BulkIndex, d1 as BulkRemoveSegmentFromContactsRequest, d2 as BulkRemoveSegmentFromContactsResponse, cX as BulkRestoreContactsFromTrashBinRequest, cY as BulkRestoreContactsFromTrashBinResponseBulkContactResult, bz as BulkUpdateContactSubscriptionsRequest, cO as BulkUpdateContactTagsByFilterRequest, cM as BulkUpdateContactTagsRequest, cN as BulkUpdateContactTagsResult, cK as BulkUpdateContactsRequest, cL as BulkUpdateContactsResponseBulkContactResult, da as BulkUpdatePhoneCountryCodeByFilterRequest, cP as BulkUpsertContactsRequest, cQ as BulkUpsertContactsResponseBulkContactResult, dJ as CommonQueryWithEntityContext, dK as CommonSearchWithEntityContext, b6 as ContactActivity, b4 as ContactCompany, aW as ContactEmail, bl as ContactEmailSubscriptionUpdated, bn as ContactImageUploaded, bk as ContactMerged, aV as ContactName, aY as ContactPhone, bm as ContactPhoneSubscriptionUpdated, de as ContactQuerySpec, df as ContactSearchSpec, b5 as ContactSource, aX as ContactSubscription, dd as ContactsQueryResult, cy as CountContactsRequest, bI as CreateContactRequest, bJ as CreateContactResponse, b_ as CursorPaging, c0 as CursorPagingMetadata, bX as CursorQuery, bY as CursorQueryPagingMethodOneOf, c3 as CursorSearch, c4 as CursorSearchPagingMethodOneOf, c1 as Cursors, cd as DateHistogramAggregation, ct as DateHistogramResult, cu as DateHistogramResults, bE as Delete, cD as DeleteContactAddressRequest, bT as DeleteContactRequest, bU as DeleteContactResponse, bo as DomainEvent, bp as DomainEventBodyOneOf, bK as DuplicateContactExists, av as EmailDeliverabilityStatus, di as EmailDeliverabilityStatusWithLiterals, db as Empty, bq as EntityCreatedEvent, bt as EntityDeletedEvent, bs as EntityUpdatedEvent, be as ExtendedFields, bQ as FailedMemberUpdate, bV as FindMatchingContactsRequest, cz as GenerateContactImageUploadUrlRequest, d9 as GetContactImageUploadStatusRequest, bL as GetContactRequest, bM as GetContactResponse, cZ as GetDeletedContactRequest, bb as GroupInfo, bw as IdentificationData, bx as IdentificationDataIdOneOf, aU as ImageUploadStatus, dI as ImageUploadStatusWithLiterals, c8 as IncludeMissingValuesOptions, bD as Index, aP as Interval, dD as IntervalWithLiterals, cG as ItemMetadata, c_ as ListDeletedContactsRequest, aG as MatchType, du as MatchTypeWithLiterals, dc as MediaFileUploadedEvent, b7 as MemberInfo, aA as MemberStatus, dn as MemberStatusWithLiterals, bS as MergeContactsRequest, bv as MessageEnvelope, aM as MissingValues, dA as MissingValuesWithLiterals, aE as Mode, ds as ModeWithLiterals, aR as NameFormat, dF as NameFormatWithLiterals, cg as NestedAggregation, ce as NestedAggregationItem, cf as NestedAggregationItemKindOneOf, aO as NestedAggregationType, dC as NestedAggregationTypeWithLiterals, cq as NestedResultValue, cr as NestedResultValueResultOneOf, cv as NestedResults, d6 as Paging, d8 as PagingMetadataV2, ax as PhoneDeliverabilityStatus, dk as PhoneDeliverabilityStatusWithLiterals, aw as PhoneTag, dj as PhoneTagWithLiterals, aB as PrivacyStatus, dp as PrivacyStatusWithLiterals, bc as PrivateTags, b8 as ProfileInfo, d3 as QueryContactsByOffsetInternalRequest, aT as QueryContactsByOffsetInternalRequestNameFormat, dH as QueryContactsByOffsetInternalRequestNameFormatWithLiterals, d7 as QueryContactsByOffsetInternalResponse, bW as QueryContactsRequest, b$ as QueryContactsResponse, d4 as QueryV2, d5 as QueryV2PagingMethodOneOf, cb as RangeAggregation, cj as RangeAggregationResult, c7 as RangeBucket, co as RangeResult, cl as RangeResults, b3 as Recipient, bB as ReindexEntityForFQDN, bC as ReindexEntityForFQDNActionOneOf, bf as ReindexMessage, bg as ReindexMessageActionOneOf, bi as ReindexMessageDelete, cU as RemoveContactFromTrashBinRequest, cV as RemoveContactFromTrashBinResponse, bF as ReportBatchCompleted, cW as RestoreContactFromTrashBinRequest, br as RestoreInfo, cs as Results, aC as Role, dq as RoleWithLiterals, cc as ScalarAggregation, cp as ScalarResult, aN as ScalarType, dB as ScalarTypeWithLiterals, bj as Schema, c2 as SearchContactsRequest, bA as SearchDetails, ba as SessionInfo, aL as SortDirection, dz as SortDirectionWithLiterals, aJ as SortOrder, dx as SortOrderWithLiterals, aK as SortType, dy as SortTypeWithLiterals, bZ as Sorting, b2 as StandardDetails, a$ as StreetAddress, b1 as Subdivision, az as SubdivisionType, dm as SubdivisionTypeWithLiterals, au as SubscriptionStatus, dh as SubscriptionStatusWithLiterals, bd as TagList, cE as UpdateContactAddressRequest, bN as UpdateContactRequest, bO as UpdateContactResponse, bR as UpdateContactTagsRequest, bh as Upsert, bP as UpsertContactRequest, aI as UpsertContactResponseAction, dw as UpsertContactResponseActionWithLiterals, aH as UpsertMode, dv as UpsertModeWithLiterals, b9 as UserInfo, aF as V5SubscriptionStatus, dt as V5SubscriptionStatusWithLiterals, c9 as ValueAggregation, ca as ValueAggregationOptionsOneOf, ci as ValueAggregationResult, cn as ValueResult, ck as ValueResults, aD as WebhookIdentityType, dr as WebhookIdentityTypeWithLiterals, dg as utils } from './contacts-v5-contact-contacts-v-5.universal-DQ0VgYqw.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 UpdateContactAddressOptions, W as UpdateContactAddressResponse, X as UpdateContactAddressApplicationErrors, Y as BulkCreateContactsOptions, Z as BulkCreateContactsResponse, _ as MaskedContact, $ as BulkUpdateContactsOptions, a0 as BulkUpdateContactsResponse, a1 as BulkUpdateContactTagsOptions, a2 as BulkUpdateContactTagsResponse, a3 as BulkUpdateContactTagsApplicationErrors, a4 as BulkUpdateContactTagsByFilterOptions, a5 as BulkUpdateContactTagsByFilterResponse, a6 as BulkUpdateContactTagsByFilterApplicationErrors, a7 as BulkUpsertContactsRequestMaskedContact, a8 as BulkUpsertContactsOptions, a9 as BulkUpsertContactsResponse, aa as BulkDeleteContactsOptions, ab as BulkDeleteContactsResponse, ac as BulkDeleteContactsApplicationErrors, ad as BulkDeleteContactsByFilterOptions, ae as BulkDeleteContactsByFilterResponse, af as BulkDeleteContactsByFilterApplicationErrors, ag as RestoreContactFromTrashBinResponse, ah as BulkRestoreContactsFromTrashBinOptions, ai as BulkRestoreContactsFromTrashBinResponse, aj as GetDeletedContactResponse, ak as ListDeletedContactsOptions, al as ListDeletedContactsResponse, am as GetContactImageUploadStatusIdentifiers, an as GetContactImageUploadStatusResponse, ao as GetContactImageUploadStatusApplicationErrors, ap as BulkUpdatePhoneCountryCodeByFilterOptions, aq as BulkUpdatePhoneCountryCodeByFilterResponse, ar as ContactsQueryBuilder, as as ContactQuery, at as typedQueryContacts } from './contacts-v5-contact-contacts-v-5.universal-DARTxFF5.js';
3
+ export { by as AccountInfo, aS as Action, bu as ActionEvent, dG as ActionWithLiterals, cA as AddContactAdditionalEmailRequest, cB as AddContactAdditionalPhoneRequest, cC as AddContactAddressRequest, aZ as Address, b0 as AddressLocation, a_ as AddressStreetOneOf, ay as AddressTag, dl as AddressTagWithLiterals, c5 as Aggregation, ch as AggregationData, c6 as AggregationKindOneOf, cw as AggregationResults, cx as AggregationResultsResultOneOf, cm as AggregationResultsScalarResult, aQ as AggregationType, dE as AggregationTypeWithLiterals, cH as ApplicationError, cJ as BulkActionMetadata, c$ as BulkAddSegmentToContactsRequest, d0 as BulkAddSegmentToContactsResponse, cI as BulkContactResult, cF as BulkCreateContactsRequest, bH as BulkDelete, cT as BulkDeleteContactsByFilterRequest, cR as BulkDeleteContactsRequest, cS as BulkDeleteContactsResponseBulkContactResult, bG as BulkIndex, d1 as BulkRemoveSegmentFromContactsRequest, d2 as BulkRemoveSegmentFromContactsResponse, cX as BulkRestoreContactsFromTrashBinRequest, cY as BulkRestoreContactsFromTrashBinResponseBulkContactResult, bz as BulkUpdateContactSubscriptionsRequest, cO as BulkUpdateContactTagsByFilterRequest, cM as BulkUpdateContactTagsRequest, cN as BulkUpdateContactTagsResult, cK as BulkUpdateContactsRequest, cL as BulkUpdateContactsResponseBulkContactResult, da as BulkUpdatePhoneCountryCodeByFilterRequest, cP as BulkUpsertContactsRequest, cQ as BulkUpsertContactsResponseBulkContactResult, dJ as CommonQueryWithEntityContext, dK as CommonSearchWithEntityContext, b6 as ContactActivity, b4 as ContactCompany, aW as ContactEmail, bl as ContactEmailSubscriptionUpdated, bn as ContactImageUploaded, bk as ContactMerged, aV as ContactName, aY as ContactPhone, bm as ContactPhoneSubscriptionUpdated, de as ContactQuerySpec, df as ContactSearchSpec, b5 as ContactSource, aX as ContactSubscription, dd as ContactsQueryResult, cy as CountContactsRequest, bI as CreateContactRequest, bJ as CreateContactResponse, b_ as CursorPaging, c0 as CursorPagingMetadata, bX as CursorQuery, bY as CursorQueryPagingMethodOneOf, c3 as CursorSearch, c4 as CursorSearchPagingMethodOneOf, c1 as Cursors, cd as DateHistogramAggregation, ct as DateHistogramResult, cu as DateHistogramResults, bE as Delete, cD as DeleteContactAddressRequest, bT as DeleteContactRequest, bU as DeleteContactResponse, bo as DomainEvent, bp as DomainEventBodyOneOf, bK as DuplicateContactExists, av as EmailDeliverabilityStatus, di as EmailDeliverabilityStatusWithLiterals, db as Empty, bq as EntityCreatedEvent, bt as EntityDeletedEvent, bs as EntityUpdatedEvent, be as ExtendedFields, bQ as FailedMemberUpdate, bV as FindMatchingContactsRequest, cz as GenerateContactImageUploadUrlRequest, d9 as GetContactImageUploadStatusRequest, bL as GetContactRequest, bM as GetContactResponse, cZ as GetDeletedContactRequest, bb as GroupInfo, bw as IdentificationData, bx as IdentificationDataIdOneOf, aU as ImageUploadStatus, dI as ImageUploadStatusWithLiterals, c8 as IncludeMissingValuesOptions, bD as Index, aP as Interval, dD as IntervalWithLiterals, cG as ItemMetadata, c_ as ListDeletedContactsRequest, aG as MatchType, du as MatchTypeWithLiterals, dc as MediaFileUploadedEvent, b7 as MemberInfo, aA as MemberStatus, dn as MemberStatusWithLiterals, bS as MergeContactsRequest, bv as MessageEnvelope, aM as MissingValues, dA as MissingValuesWithLiterals, aE as Mode, ds as ModeWithLiterals, aR as NameFormat, dF as NameFormatWithLiterals, cg as NestedAggregation, ce as NestedAggregationItem, cf as NestedAggregationItemKindOneOf, aO as NestedAggregationType, dC as NestedAggregationTypeWithLiterals, cq as NestedResultValue, cr as NestedResultValueResultOneOf, cv as NestedResults, d6 as Paging, d8 as PagingMetadataV2, ax as PhoneDeliverabilityStatus, dk as PhoneDeliverabilityStatusWithLiterals, aw as PhoneTag, dj as PhoneTagWithLiterals, aB as PrivacyStatus, dp as PrivacyStatusWithLiterals, bc as PrivateTags, b8 as ProfileInfo, d3 as QueryContactsByOffsetInternalRequest, aT as QueryContactsByOffsetInternalRequestNameFormat, dH as QueryContactsByOffsetInternalRequestNameFormatWithLiterals, d7 as QueryContactsByOffsetInternalResponse, bW as QueryContactsRequest, b$ as QueryContactsResponse, d4 as QueryV2, d5 as QueryV2PagingMethodOneOf, cb as RangeAggregation, cj as RangeAggregationResult, c7 as RangeBucket, co as RangeResult, cl as RangeResults, b3 as Recipient, bB as ReindexEntityForFQDN, bC as ReindexEntityForFQDNActionOneOf, bf as ReindexMessage, bg as ReindexMessageActionOneOf, bi as ReindexMessageDelete, cU as RemoveContactFromTrashBinRequest, cV as RemoveContactFromTrashBinResponse, bF as ReportBatchCompleted, cW as RestoreContactFromTrashBinRequest, br as RestoreInfo, cs as Results, aC as Role, dq as RoleWithLiterals, cc as ScalarAggregation, cp as ScalarResult, aN as ScalarType, dB as ScalarTypeWithLiterals, bj as Schema, c2 as SearchContactsRequest, bA as SearchDetails, ba as SessionInfo, aL as SortDirection, dz as SortDirectionWithLiterals, aJ as SortOrder, dx as SortOrderWithLiterals, aK as SortType, dy as SortTypeWithLiterals, bZ as Sorting, b2 as StandardDetails, a$ as StreetAddress, b1 as Subdivision, az as SubdivisionType, dm as SubdivisionTypeWithLiterals, au as SubscriptionStatus, dh as SubscriptionStatusWithLiterals, bd as TagList, cE as UpdateContactAddressRequest, bN as UpdateContactRequest, bO as UpdateContactResponse, bR as UpdateContactTagsRequest, bh as Upsert, bP as UpsertContactRequest, aI as UpsertContactResponseAction, dw as UpsertContactResponseActionWithLiterals, aH as UpsertMode, dv as UpsertModeWithLiterals, b9 as UserInfo, aF as V5SubscriptionStatus, dt as V5SubscriptionStatusWithLiterals, c9 as ValueAggregation, ca as ValueAggregationOptionsOneOf, ci as ValueAggregationResult, cn as ValueResult, ck as ValueResults, aD as WebhookIdentityType, dr as WebhookIdentityTypeWithLiterals, dg as utils } from './contacts-v5-contact-contacts-v-5.universal-DARTxFF5.js';
4
4
 
5
5
  declare function bulkUpdateContactSubscriptions$1(httpClient: HttpClient): BulkUpdateContactSubscriptionsSignature;
6
6
  interface BulkUpdateContactSubscriptionsSignature {
@@ -26,9 +26,9 @@ interface CreateContactSignature {
26
26
  *
27
27
  * At least one of `name.first`, `name.last`, `email.email`, or `phone.phone` must be provided.
28
28
  *
29
- * *Duplicate handling:** By default, creation fails if a contact with the same identifiers (`externalId`, `email.email`, or `phone.phone`) already exists. Set `allowDuplicates` to `true` to bypass this check. Learn more about [contact matching and duplicates](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/matching-contacts).
29
+ * Duplicate handling: By default, creation fails if a contact with the same identifiers (`externalId`, `email.email`, or `phone.phone`) already exists. Set `allowDuplicates` to `true` to bypass this check. Learn more about [contact matching and duplicates](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/matching-contacts).
30
30
  *
31
- * *Image upload:** When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
31
+ * Image upload: When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
32
32
  *
33
33
  * To create multiple contacts in a single request, call [Bulk Create Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts/contact-v5/bulk-create-contacts).
34
34
  * @param - Contact to be created.
@@ -54,12 +54,12 @@ interface UpdateContactSignature {
54
54
  *
55
55
  * Each time the contact is updated, `revision` increments by 1. The current `revision` must be passed when updating the contact. This ensures you're working with the latest contact and prevents unintended overwrites.
56
56
  *
57
- * *Restrictions:**
57
+ * Restrictions:
58
58
  * - `externalId` can be set only once and can't be changed after creation.
59
59
  * - The main email of a contact that is a site member can't be changed. Update it through the [Members API](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/member-management/members/introduction) instead.
60
60
  * - At least one of `name`, `email`, or `phone` must remain after the update.
61
61
  *
62
- * *Image upload:** When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
62
+ * Image upload: When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
63
63
  *
64
64
  * To update multiple contacts in a single request, call [Bulk Update Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/bulk-update-contacts).
65
65
  * @param - Contact ID.
@@ -76,16 +76,16 @@ interface UpsertContactSignature {
76
76
  *
77
77
  * Matching uses `externalId`, `email.email`, and `phone.phone` to find an existing contact. See [contact matching](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/matching-contacts) for the detailed matching rules.
78
78
  *
79
- * *Upsert modes:** Set `upsertMode` to control how an existing contact is updated:
79
+ * Upsert modes: Set `upsertMode` to control how an existing contact is updated:
80
80
  * - `OVERWRITE` (default): Replaces existing field values.
81
81
  * - `APPEND`: Sets a non-array field only if it doesn't already have a value, and appends to array fields.
82
82
  * - `OVERWRITE_APPEND_ARRAYS`: Overwrites non-array fields and appends to array fields.
83
83
  *
84
- * *Member contacts:** Set `updateMember` to `true` when upserting a contact that is a site member.
84
+ * Member contacts: Set `updateMember` to `true` when upserting a contact that is a site member.
85
85
  *
86
86
  * The response's `action` field indicates whether the contact was `CREATED` or `UPDATED`.
87
87
  *
88
- * *Image upload:** When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
88
+ * Image upload: When you provide an image URL, the image is uploaded asynchronously and an `imageUploadId` is returned for tracking upload progress. Call [Get Contact Image Upload Status](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/get-contact-image-upload-status) to monitor the upload.
89
89
  *
90
90
  * To create or update multiple contacts in a single request, call [Bulk Upsert Contacts](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/bulk-upsert-contacts).
91
91
  * @param - Contact to be upserted.
@@ -117,14 +117,14 @@ interface MergeContactsSignature {
117
117
  *
118
118
  * The merge behaves in one of two ways, depending on whether you provide `targetContact` in the request:
119
119
  *
120
- * - **Without `targetContact`:** The source contacts are merged into the existing target contact. Non-empty fields from the sources fill empty fields on the target, and array fields (emails, phones, and addresses) are combined and deduplicated. When you provide multiple sources, they're merged in order: the first source into the second, that result into the third, and so on, and finally into the target. Earlier sources take precedence over later ones.
121
- * - **With `targetContact`:** The provided `targetContact` overwrites the target according to `fieldMask`, and the source contacts are deleted without their data being merged in.
120
+ * - Without `targetContact`: The source contacts are merged into the existing target contact. Non-empty fields from the sources fill empty fields on the target, and array fields (emails, phones, and addresses) are combined and deduplicated. When you provide multiple sources, they're merged in order: the first source into the second, that result into the third, and so on, and finally into the target. Earlier sources take precedence over later ones.
121
+ * - With `targetContact`: The provided `targetContact` overwrites the target according to `fieldMask`, and the source contacts are deleted without their data being merged in.
122
122
  *
123
123
  * In both cases, the source contacts are permanently deleted after a successful merge.
124
124
  *
125
125
  * Set `preview` to `true` to return the merged result without applying it, so you can review the outcome before committing.
126
126
  *
127
- * *Restrictions:**
127
+ * Restrictions:
128
128
  * - Source contacts can't be site members. The target contact can be a site member.
129
129
  * - `externalId` can be set only once and can't be changed if it already has a value.
130
130
  * - The target contact must remain valid after the merge, keeping at least one of `name`, `email`, or `phone`.
@@ -142,9 +142,9 @@ interface DeleteContactSignature {
142
142
  *
143
143
  * Deleted contacts are moved to the trash bin and can be restored within 90 days by calling [Restore Contact From Trash Bin](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/restore-contact-from-trash-bin) or [Bulk Restore Contacts From Trash Bin](https://dev.wix.com/docs/api-reference/crm/members-contacts/contacts/contacts-v5/bulk-restore-contacts-from-trash-bin). After 90 days, they're permanently deleted.
144
144
  *
145
- * *Member contacts:** To delete a contact that is also a site member, set `deleteMember` to `true`. This deletes both the contact and the member.
145
+ * Member contacts: To delete a contact that is also a site member, set `deleteMember` to `true`. This deletes both the contact and the member.
146
146
  *
147
- * *Restrictions:**
147
+ * Restrictions:
148
148
  * - A contact with an active billing subscription can't be deleted.
149
149
  * - A site owner or contributor can't be deleted.
150
150
  *
@@ -177,9 +177,9 @@ interface SearchContactsSignature {
177
177
  *
178
178
  * Search combines free-text matching with filtering, sorting, and cursor paging. To learn about the query syntax, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).
179
179
  *
180
- * *Searchable properties:** `name.full`, `email.email`, `phone.phone`, `company.name`, `company.jobTitle`, `memberInfo.email`, and `memberInfo.profileInfo.nickname`.
180
+ * Searchable properties: `name.full`, `email.email`, `phone.phone`, `company.name`, `company.jobTitle`, `memberInfo.email`, and `memberInfo.profileInfo.nickname`.
181
181
  *
182
- * *Name format:** Set `nameFormat` to control how names are matched and ordered:
182
+ * Name format: Set `nameFormat` to control how names are matched and ordered:
183
183
  * - `BY_FIRST_NAME`: Orders by first name, then last name.
184
184
  * - `BY_LAST_NAME`: Orders by last name, then first name.
185
185
  * @param - WQL search expression