featurebase-node 0.14.3 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/client.d.mts +5 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -5
- package/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/audit-logs.d.mts +3 -3
- package/resources/audit-logs.d.mts.map +1 -1
- package/resources/audit-logs.d.ts +3 -3
- package/resources/audit-logs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.d.mts +116 -116
- package/resources/changelogs/changelogs.d.mts.map +1 -1
- package/resources/changelogs/changelogs.d.ts +116 -116
- package/resources/changelogs/changelogs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.js +74 -74
- package/resources/changelogs/changelogs.js.map +1 -1
- package/resources/changelogs/changelogs.mjs +74 -74
- package/resources/changelogs/changelogs.mjs.map +1 -1
- package/resources/changelogs/index.d.mts +1 -1
- package/resources/changelogs/index.d.mts.map +1 -1
- package/resources/changelogs/index.d.ts +1 -1
- package/resources/changelogs/index.d.ts.map +1 -1
- package/resources/changelogs/subscribers.d.mts +3 -3
- package/resources/changelogs/subscribers.d.mts.map +1 -1
- package/resources/changelogs/subscribers.d.ts +3 -3
- package/resources/changelogs/subscribers.d.ts.map +1 -1
- package/resources/conversation-attributes.d.mts +17 -17
- package/resources/conversation-attributes.d.mts.map +1 -1
- package/resources/conversation-attributes.d.ts +17 -17
- package/resources/conversation-attributes.d.ts.map +1 -1
- package/resources/conversation-attributes.js +19 -19
- package/resources/conversation-attributes.js.map +1 -1
- package/resources/conversation-attributes.mjs +19 -19
- package/resources/conversation-attributes.mjs.map +1 -1
- package/resources/feedback/boards.d.mts +19 -19
- package/resources/feedback/boards.d.mts.map +1 -1
- package/resources/feedback/boards.d.ts +19 -19
- package/resources/feedback/boards.d.ts.map +1 -1
- package/resources/feedback/boards.js +20 -20
- package/resources/feedback/boards.js.map +1 -1
- package/resources/feedback/boards.mjs +20 -20
- package/resources/feedback/boards.mjs.map +1 -1
- package/resources/feedback/comments.d.mts +113 -113
- package/resources/feedback/comments.d.mts.map +1 -1
- package/resources/feedback/comments.d.ts +113 -113
- package/resources/feedback/comments.d.ts.map +1 -1
- package/resources/feedback/comments.js +93 -93
- package/resources/feedback/comments.js.map +1 -1
- package/resources/feedback/comments.mjs +93 -93
- package/resources/feedback/comments.mjs.map +1 -1
- package/resources/feedback/custom-fields.d.mts +36 -36
- package/resources/feedback/custom-fields.d.mts.map +1 -1
- package/resources/feedback/custom-fields.d.ts +36 -36
- package/resources/feedback/custom-fields.d.ts.map +1 -1
- package/resources/feedback/custom-fields.js +36 -36
- package/resources/feedback/custom-fields.js.map +1 -1
- package/resources/feedback/custom-fields.mjs +36 -36
- package/resources/feedback/custom-fields.mjs.map +1 -1
- package/resources/feedback/feedback.d.mts +5 -5
- package/resources/feedback/feedback.d.mts.map +1 -1
- package/resources/feedback/feedback.d.ts +5 -5
- package/resources/feedback/feedback.d.ts.map +1 -1
- package/resources/feedback/index.d.mts +5 -5
- package/resources/feedback/index.d.mts.map +1 -1
- package/resources/feedback/index.d.ts +5 -5
- package/resources/feedback/index.d.ts.map +1 -1
- package/resources/feedback/post-statuses.d.mts +20 -20
- package/resources/feedback/post-statuses.d.mts.map +1 -1
- package/resources/feedback/post-statuses.d.ts +20 -20
- package/resources/feedback/post-statuses.d.ts.map +1 -1
- package/resources/feedback/post-statuses.js +23 -23
- package/resources/feedback/post-statuses.js.map +1 -1
- package/resources/feedback/post-statuses.mjs +23 -23
- package/resources/feedback/post-statuses.mjs.map +1 -1
- package/resources/feedback/posts/index.d.mts +1 -1
- package/resources/feedback/posts/index.d.mts.map +1 -1
- package/resources/feedback/posts/index.d.ts +1 -1
- package/resources/feedback/posts/index.d.ts.map +1 -1
- package/resources/feedback/posts/posts.d.mts +132 -132
- package/resources/feedback/posts/posts.d.mts.map +1 -1
- package/resources/feedback/posts/posts.d.ts +132 -132
- package/resources/feedback/posts/posts.d.ts.map +1 -1
- package/resources/feedback/posts/posts.js +107 -107
- package/resources/feedback/posts/posts.js.map +1 -1
- package/resources/feedback/posts/posts.mjs +107 -107
- package/resources/feedback/posts/posts.mjs.map +1 -1
- package/resources/feedback/posts/voters.d.mts +3 -3
- package/resources/feedback/posts/voters.d.mts.map +1 -1
- package/resources/feedback/posts/voters.d.ts +3 -3
- package/resources/feedback/posts/voters.d.ts.map +1 -1
- package/resources/help-center/articles.d.mts +213 -97
- package/resources/help-center/articles.d.mts.map +1 -1
- package/resources/help-center/articles.d.ts +213 -97
- package/resources/help-center/articles.d.ts.map +1 -1
- package/resources/help-center/articles.js +73 -73
- package/resources/help-center/articles.js.map +1 -1
- package/resources/help-center/articles.mjs +73 -73
- package/resources/help-center/articles.mjs.map +1 -1
- package/resources/help-center/collections.d.mts +158 -71
- package/resources/help-center/collections.d.mts.map +1 -1
- package/resources/help-center/collections.d.ts +158 -71
- package/resources/help-center/collections.d.ts.map +1 -1
- package/resources/help-center/collections.js +65 -65
- package/resources/help-center/collections.js.map +1 -1
- package/resources/help-center/collections.mjs +65 -65
- package/resources/help-center/collections.mjs.map +1 -1
- package/resources/help-center/help-center.d.mts +4 -4
- package/resources/help-center/help-center.d.mts.map +1 -1
- package/resources/help-center/help-center.d.ts +4 -4
- package/resources/help-center/help-center.d.ts.map +1 -1
- package/resources/help-center/help-centers.d.mts +77 -48
- package/resources/help-center/help-centers.d.mts.map +1 -1
- package/resources/help-center/help-centers.d.ts +77 -48
- package/resources/help-center/help-centers.d.ts.map +1 -1
- package/resources/help-center/help-centers.js +43 -43
- package/resources/help-center/help-centers.js.map +1 -1
- package/resources/help-center/help-centers.mjs +43 -43
- package/resources/help-center/help-centers.mjs.map +1 -1
- package/resources/help-center/index.d.mts +4 -4
- package/resources/help-center/index.d.mts.map +1 -1
- package/resources/help-center/index.d.ts +4 -4
- package/resources/help-center/index.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.d.mts +124 -124
- package/resources/help-center/redirect-rules.d.mts.map +1 -1
- package/resources/help-center/redirect-rules.d.ts +124 -124
- package/resources/help-center/redirect-rules.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.js +112 -112
- package/resources/help-center/redirect-rules.js.map +1 -1
- package/resources/help-center/redirect-rules.mjs +112 -112
- package/resources/help-center/redirect-rules.mjs.map +1 -1
- package/resources/index.d.mts +5 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/organization/admins.d.mts +26 -26
- package/resources/organization/admins.d.mts.map +1 -1
- package/resources/organization/admins.d.ts +26 -26
- package/resources/organization/admins.d.ts.map +1 -1
- package/resources/organization/admins.js +25 -25
- package/resources/organization/admins.js.map +1 -1
- package/resources/organization/admins.mjs +25 -25
- package/resources/organization/admins.mjs.map +1 -1
- package/resources/organization/brands.d.mts +52 -52
- package/resources/organization/brands.d.mts.map +1 -1
- package/resources/organization/brands.d.ts +52 -52
- package/resources/organization/brands.d.ts.map +1 -1
- package/resources/organization/brands.js +54 -54
- package/resources/organization/brands.js.map +1 -1
- package/resources/organization/brands.mjs +54 -54
- package/resources/organization/brands.mjs.map +1 -1
- package/resources/organization/index.d.mts +3 -3
- package/resources/organization/index.d.mts.map +1 -1
- package/resources/organization/index.d.ts +3 -3
- package/resources/organization/index.d.ts.map +1 -1
- package/resources/organization/organization.d.mts +3 -3
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +3 -3
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/teams.d.mts +47 -47
- package/resources/organization/teams.d.mts.map +1 -1
- package/resources/organization/teams.d.ts +47 -47
- package/resources/organization/teams.d.ts.map +1 -1
- package/resources/organization/teams.js +44 -44
- package/resources/organization/teams.js.map +1 -1
- package/resources/organization/teams.mjs +44 -44
- package/resources/organization/teams.mjs.map +1 -1
- package/resources/reports.d.mts +249 -215
- package/resources/reports.d.mts.map +1 -1
- package/resources/reports.d.ts +249 -215
- package/resources/reports.d.ts.map +1 -1
- package/resources/reports.js +99 -99
- package/resources/reports.js.map +1 -1
- package/resources/reports.mjs +99 -99
- package/resources/reports.mjs.map +1 -1
- package/resources/support/conversation-tags.d.mts +43 -43
- package/resources/support/conversation-tags.d.mts.map +1 -1
- package/resources/support/conversation-tags.d.ts +43 -43
- package/resources/support/conversation-tags.d.ts.map +1 -1
- package/resources/support/conversation-tags.js +32 -32
- package/resources/support/conversation-tags.js.map +1 -1
- package/resources/support/conversation-tags.mjs +32 -32
- package/resources/support/conversation-tags.mjs.map +1 -1
- package/resources/support/conversations/conversations.d.mts +337 -327
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +337 -327
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +293 -283
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +293 -283
- package/resources/support/conversations/conversations.mjs.map +1 -1
- package/resources/support/conversations/index.d.mts +1 -1
- package/resources/support/conversations/index.d.mts.map +1 -1
- package/resources/support/conversations/index.d.ts +1 -1
- package/resources/support/conversations/index.d.ts.map +1 -1
- package/resources/support/conversations/participants.d.mts +2 -2
- package/resources/support/conversations/participants.d.mts.map +1 -1
- package/resources/support/conversations/participants.d.ts +2 -2
- package/resources/support/conversations/participants.d.ts.map +1 -1
- package/resources/support/index.d.mts +3 -3
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +3 -3
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/support.d.mts +3 -3
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +3 -3
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/tickets/categories.d.mts +20 -20
- package/resources/support/tickets/categories.d.mts.map +1 -1
- package/resources/support/tickets/categories.d.ts +20 -20
- package/resources/support/tickets/categories.d.ts.map +1 -1
- package/resources/support/tickets/categories.js +25 -25
- package/resources/support/tickets/categories.js.map +1 -1
- package/resources/support/tickets/categories.mjs +25 -25
- package/resources/support/tickets/categories.mjs.map +1 -1
- package/resources/support/tickets/custom-fields.d.mts +22 -22
- package/resources/support/tickets/custom-fields.d.mts.map +1 -1
- package/resources/support/tickets/custom-fields.d.ts +22 -22
- package/resources/support/tickets/custom-fields.d.ts.map +1 -1
- package/resources/support/tickets/custom-fields.js +19 -19
- package/resources/support/tickets/custom-fields.js.map +1 -1
- package/resources/support/tickets/custom-fields.mjs +19 -19
- package/resources/support/tickets/custom-fields.mjs.map +1 -1
- package/resources/support/tickets/index.d.mts +4 -4
- package/resources/support/tickets/index.d.mts.map +1 -1
- package/resources/support/tickets/index.d.ts +4 -4
- package/resources/support/tickets/index.d.ts.map +1 -1
- package/resources/support/tickets/statuses.d.mts +19 -19
- package/resources/support/tickets/statuses.d.mts.map +1 -1
- package/resources/support/tickets/statuses.d.ts +19 -19
- package/resources/support/tickets/statuses.d.ts.map +1 -1
- package/resources/support/tickets/statuses.js +21 -21
- package/resources/support/tickets/statuses.js.map +1 -1
- package/resources/support/tickets/statuses.mjs +21 -21
- package/resources/support/tickets/statuses.mjs.map +1 -1
- package/resources/support/tickets/tickets.d.mts +75 -75
- package/resources/support/tickets/tickets.d.mts.map +1 -1
- package/resources/support/tickets/tickets.d.ts +75 -75
- package/resources/support/tickets/tickets.d.ts.map +1 -1
- package/resources/support/tickets/tickets.js +44 -44
- package/resources/support/tickets/tickets.js.map +1 -1
- package/resources/support/tickets/tickets.mjs +44 -44
- package/resources/support/tickets/tickets.mjs.map +1 -1
- package/resources/surveys.d.mts +43 -43
- package/resources/surveys.d.mts.map +1 -1
- package/resources/surveys.d.ts +43 -43
- package/resources/surveys.d.ts.map +1 -1
- package/resources/surveys.js +44 -44
- package/resources/surveys.js.map +1 -1
- package/resources/surveys.mjs +44 -44
- package/resources/surveys.mjs.map +1 -1
- package/resources/users/companies/companies.d.mts +121 -130
- package/resources/users/companies/companies.d.mts.map +1 -1
- package/resources/users/companies/companies.d.ts +121 -130
- package/resources/users/companies/companies.d.ts.map +1 -1
- package/resources/users/companies/companies.js +125 -125
- package/resources/users/companies/companies.js.map +1 -1
- package/resources/users/companies/companies.mjs +125 -125
- package/resources/users/companies/companies.mjs.map +1 -1
- package/resources/users/companies/contacts.d.mts +3 -3
- package/resources/users/companies/contacts.d.mts.map +1 -1
- package/resources/users/companies/contacts.d.ts +3 -3
- package/resources/users/companies/contacts.d.ts.map +1 -1
- package/resources/users/companies/index.d.mts +1 -1
- package/resources/users/companies/index.d.mts.map +1 -1
- package/resources/users/companies/index.d.ts +1 -1
- package/resources/users/companies/index.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.d.mts +2 -2
- package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.d.ts +2 -2
- package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.d.mts +2 -2
- package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.d.ts +2 -2
- package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
- package/resources/users/contacts/contacts.d.mts +249 -235
- package/resources/users/contacts/contacts.d.mts.map +1 -1
- package/resources/users/contacts/contacts.d.ts +249 -235
- package/resources/users/contacts/contacts.d.ts.map +1 -1
- package/resources/users/contacts/contacts.js +211 -184
- package/resources/users/contacts/contacts.js.map +1 -1
- package/resources/users/contacts/contacts.mjs +211 -184
- package/resources/users/contacts/contacts.mjs.map +1 -1
- package/resources/users/contacts/email-preferences.d.mts +2 -2
- package/resources/users/contacts/email-preferences.d.mts.map +1 -1
- package/resources/users/contacts/email-preferences.d.ts +2 -2
- package/resources/users/contacts/email-preferences.d.ts.map +1 -1
- package/resources/users/contacts/index.d.mts +1 -1
- package/resources/users/contacts/index.d.mts.map +1 -1
- package/resources/users/contacts/index.d.ts +1 -1
- package/resources/users/contacts/index.d.ts.map +1 -1
- package/resources/users/index.d.mts +2 -2
- package/resources/users/index.d.mts.map +1 -1
- package/resources/users/index.d.ts +2 -2
- package/resources/users/index.d.ts.map +1 -1
- package/resources/users/users.d.mts +2 -2
- package/resources/users/users.d.mts.map +1 -1
- package/resources/users/users.d.ts +2 -2
- package/resources/users/users.d.ts.map +1 -1
- package/resources/webhooks.d.mts +83 -83
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +83 -83
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +77 -77
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +77 -77
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +6 -6
- package/src/resources/audit-logs.ts +7 -1
- package/src/resources/changelogs/changelogs.ts +320 -175
- package/src/resources/changelogs/index.ts +1 -1
- package/src/resources/changelogs/subscribers.ts +31 -2
- package/src/resources/conversation-attributes.ts +34 -34
- package/src/resources/feedback/boards.ts +30 -30
- package/src/resources/feedback/comments.ts +137 -137
- package/src/resources/feedback/custom-fields.ts +46 -46
- package/src/resources/feedback/feedback.ts +6 -6
- package/src/resources/feedback/index.ts +6 -6
- package/src/resources/feedback/post-statuses.ts +33 -33
- package/src/resources/feedback/posts/index.ts +2 -2
- package/src/resources/feedback/posts/posts.ts +176 -176
- package/src/resources/feedback/posts/voters.ts +3 -3
- package/src/resources/help-center/articles.ts +631 -109
- package/src/resources/help-center/collections.ts +349 -88
- package/src/resources/help-center/help-center.ts +5 -5
- package/src/resources/help-center/help-centers.ts +202 -57
- package/src/resources/help-center/index.ts +5 -5
- package/src/resources/help-center/redirect-rules.ts +294 -178
- package/src/resources/index.ts +6 -6
- package/src/resources/organization/admins.ts +36 -36
- package/src/resources/organization/brands.ts +68 -68
- package/src/resources/organization/index.ts +3 -3
- package/src/resources/organization/organization.ts +3 -3
- package/src/resources/organization/teams.ts +54 -54
- package/src/resources/reports.ts +311 -262
- package/src/resources/support/conversation-tags.ts +62 -62
- package/src/resources/support/conversations/conversations.ts +429 -419
- package/src/resources/support/conversations/index.ts +4 -4
- package/src/resources/support/conversations/participants.ts +2 -2
- package/src/resources/support/index.ts +7 -7
- package/src/resources/support/support.ts +7 -7
- package/src/resources/support/tickets/categories.ts +35 -35
- package/src/resources/support/tickets/custom-fields.ts +29 -29
- package/src/resources/support/tickets/index.ts +4 -4
- package/src/resources/support/tickets/statuses.ts +31 -31
- package/src/resources/support/tickets/tickets.ts +101 -101
- package/src/resources/surveys.ts +60 -60
- package/src/resources/users/companies/companies.ts +158 -172
- package/src/resources/users/companies/contacts.ts +3 -3
- package/src/resources/users/companies/index.ts +2 -2
- package/src/resources/users/contacts/by-user-id/by-user-id.ts +2 -2
- package/src/resources/users/contacts/by-user-id/email-preferences.ts +2 -2
- package/src/resources/users/contacts/contacts.ts +284 -280
- package/src/resources/users/contacts/email-preferences.ts +2 -2
- package/src/resources/users/contacts/index.ts +3 -3
- package/src/resources/users/index.ts +5 -5
- package/src/resources/users/users.ts +5 -5
- package/src/resources/webhooks.ts +106 -100
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -17,27 +17,19 @@ export class Contacts extends APIResource {
|
|
|
17
17
|
this.emailPreferences = new EmailPreferencesAPI.EmailPreferences(this._client);
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* cursor-based pagination.
|
|
22
|
-
*
|
|
23
|
-
* ### Query Parameters
|
|
24
|
-
*
|
|
25
|
-
* - `limit` - Number of contacts to return (1-100, default 10)
|
|
26
|
-
* - `cursor` - Cursor from previous response for pagination
|
|
27
|
-
* - `contactType` - Filter by contact type: "customer" (default), "lead", or "all"
|
|
20
|
+
* Retrieves a single contact by their Featurebase ID.
|
|
28
21
|
*
|
|
29
|
-
*
|
|
22
|
+
* Returns both customers and leads.
|
|
30
23
|
*
|
|
31
|
-
*
|
|
24
|
+
* ### Path Parameters
|
|
32
25
|
*
|
|
33
|
-
* - `
|
|
34
|
-
* - `data` - Array of contact objects
|
|
35
|
-
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
26
|
+
* - `id` - The Featurebase contact ID (24-character ObjectId)
|
|
36
27
|
*
|
|
37
|
-
* ###
|
|
28
|
+
* ### Response Format
|
|
38
29
|
*
|
|
39
|
-
*
|
|
30
|
+
* Returns a single contact object with:
|
|
40
31
|
*
|
|
32
|
+
* - `object` - Always "contact"
|
|
41
33
|
* - `id` - Unique contact identifier
|
|
42
34
|
* - `userId` - External user ID from SSO (if set)
|
|
43
35
|
* - `email` - Contact email address
|
|
@@ -54,129 +46,11 @@ export class Contacts extends APIResource {
|
|
|
54
46
|
*
|
|
55
47
|
* ```json
|
|
56
48
|
* {
|
|
57
|
-
* "object": "list",
|
|
58
|
-
* "data": [
|
|
59
|
-
* {
|
|
60
|
-
* "object": "contact",
|
|
61
|
-
* "id": "676f0f6765bdaa7d7d760f88",
|
|
62
|
-
* "email": "john@example.com",
|
|
63
|
-
* "name": "John Doe",
|
|
64
|
-
* "type": "customer",
|
|
65
|
-
* ...
|
|
66
|
-
* }
|
|
67
|
-
* ],
|
|
68
|
-
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
69
|
-
* }
|
|
70
|
-
* ```
|
|
71
|
-
*
|
|
72
|
-
* ### Version Availability
|
|
73
|
-
*
|
|
74
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* ```ts
|
|
78
|
-
* // Automatically fetches more pages as needed.
|
|
79
|
-
* for await (const contact of client.users.contacts.list()) {
|
|
80
|
-
* // ...
|
|
81
|
-
* }
|
|
82
|
-
* ```
|
|
83
|
-
*/
|
|
84
|
-
list(params = {}, options) {
|
|
85
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
86
|
-
return this._client.getAPIList('/v2/contacts', (CursorPage), {
|
|
87
|
-
query,
|
|
88
|
-
...options,
|
|
89
|
-
headers: buildHeaders([
|
|
90
|
-
{
|
|
91
|
-
...(featurebaseVersion?.toString() != null ?
|
|
92
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
93
|
-
: undefined),
|
|
94
|
-
},
|
|
95
|
-
options?.headers,
|
|
96
|
-
]),
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Creates a new contact or updates an existing one.
|
|
101
|
-
*
|
|
102
|
-
* If a contact with the given `email` or `userId` already exists, it will be
|
|
103
|
-
* updated. Otherwise, a new contact will be created.
|
|
104
|
-
*
|
|
105
|
-
* **At least one of `email` or `userId` must be provided for identification.**
|
|
106
|
-
*
|
|
107
|
-
* ### Request Body
|
|
108
|
-
*
|
|
109
|
-
* | Field | Type | Required | Description |
|
|
110
|
-
* | ----------------------- | ------- | ------------------- | --------------------------------------- |
|
|
111
|
-
* | `email` | string | One of email/userId | Contact email address |
|
|
112
|
-
* | `userId` | string | One of email/userId | External user ID from your system |
|
|
113
|
-
* | `name` | string | No | Contact display name |
|
|
114
|
-
* | `profilePicture` | string | No | Profile picture URL |
|
|
115
|
-
* | `companies` | array | No | Companies the contact belongs to |
|
|
116
|
-
* | `customFields` | object | No | Custom field values |
|
|
117
|
-
* | `subscribedToChangelog` | boolean | No | Whether subscribed to changelog |
|
|
118
|
-
* | `locale` | string | No | Contact locale/language |
|
|
119
|
-
* | `phone` | string | No | Contact phone number |
|
|
120
|
-
* | `roles` | array | No | Role (User Tag) names to assign |
|
|
121
|
-
* | `userHash` | string | No | HMAC hash for identity verification |
|
|
122
|
-
* | `createdAt` | string | No | When the contact was created (ISO 8601) |
|
|
123
|
-
*
|
|
124
|
-
* ### Company Object
|
|
125
|
-
*
|
|
126
|
-
* Each company in the `companies` array can have:
|
|
127
|
-
*
|
|
128
|
-
* - `id` (required) - External company ID from your system
|
|
129
|
-
* - `name` (required) - Company name
|
|
130
|
-
* - `monthlySpend` - Monthly spend/revenue
|
|
131
|
-
* - `customFields` - Custom field values
|
|
132
|
-
* - `industry` - Industry
|
|
133
|
-
* - `website` - Company website URL
|
|
134
|
-
* - `plan` - Current plan/subscription
|
|
135
|
-
* - `companySize` - Number of employees
|
|
136
|
-
* - `createdAt` - When the company was created
|
|
137
|
-
*
|
|
138
|
-
* ### Response
|
|
139
|
-
*
|
|
140
|
-
* Returns the created or updated contact object.
|
|
141
|
-
*
|
|
142
|
-
* - **201 Created** - A new contact was created
|
|
143
|
-
* - **200 OK** - An existing contact was updated
|
|
144
|
-
*
|
|
145
|
-
* ### Example Request
|
|
146
|
-
*
|
|
147
|
-
* ```json
|
|
148
|
-
* {
|
|
149
|
-
* "email": "john@example.com",
|
|
150
|
-
* "name": "John Doe",
|
|
151
|
-
* "userId": "usr_12345",
|
|
152
|
-
* "companies": [
|
|
153
|
-
* {
|
|
154
|
-
* "id": "company_123",
|
|
155
|
-
* "name": "Acme Inc",
|
|
156
|
-
* "monthlySpend": 500,
|
|
157
|
-
* "plan": "enterprise"
|
|
158
|
-
* }
|
|
159
|
-
* ],
|
|
160
|
-
* "customFields": {
|
|
161
|
-
* "plan": "pro",
|
|
162
|
-
* "signupSource": "website"
|
|
163
|
-
* },
|
|
164
|
-
* "subscribedToChangelog": true
|
|
165
|
-
* }
|
|
166
|
-
* ```
|
|
167
|
-
*
|
|
168
|
-
* ### Example Response
|
|
169
|
-
*
|
|
170
|
-
* ```json
|
|
171
|
-
* {
|
|
172
49
|
* "object": "contact",
|
|
173
50
|
* "id": "676f0f6765bdaa7d7d760f88",
|
|
174
51
|
* "email": "john@example.com",
|
|
175
52
|
* "name": "John Doe",
|
|
176
|
-
* "userId": "usr_12345",
|
|
177
53
|
* "type": "customer",
|
|
178
|
-
* "companies": [...],
|
|
179
|
-
* "customFields": {...},
|
|
180
54
|
* ...
|
|
181
55
|
* }
|
|
182
56
|
* ```
|
|
@@ -187,14 +61,14 @@ export class Contacts extends APIResource {
|
|
|
187
61
|
*
|
|
188
62
|
* @example
|
|
189
63
|
* ```ts
|
|
190
|
-
* const
|
|
191
|
-
*
|
|
64
|
+
* const contact = await client.users.contacts.retrieve(
|
|
65
|
+
* '507f1f77bcf86cd799439011',
|
|
66
|
+
* );
|
|
192
67
|
* ```
|
|
193
68
|
*/
|
|
194
|
-
|
|
195
|
-
const { 'Featurebase-Version': featurebaseVersion
|
|
196
|
-
return this._client.
|
|
197
|
-
body,
|
|
69
|
+
retrieve(id, params = {}, options) {
|
|
70
|
+
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
71
|
+
return this._client.get(path `/v2/contacts/${id}`, {
|
|
198
72
|
...options,
|
|
199
73
|
headers: buildHeaders([
|
|
200
74
|
{
|
|
@@ -207,19 +81,27 @@ export class Contacts extends APIResource {
|
|
|
207
81
|
});
|
|
208
82
|
}
|
|
209
83
|
/**
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
* Returns both customers and leads.
|
|
84
|
+
* Returns a list of contacts (customers and leads) in your organization using
|
|
85
|
+
* cursor-based pagination.
|
|
213
86
|
*
|
|
214
|
-
* ###
|
|
87
|
+
* ### Query Parameters
|
|
215
88
|
*
|
|
216
|
-
* - `
|
|
89
|
+
* - `limit` - Number of contacts to return (1-100, default 10)
|
|
90
|
+
* - `cursor` - Cursor from previous response for pagination
|
|
91
|
+
* - `contactType` - Filter by contact type: "customer" (default), "lead", or "all"
|
|
217
92
|
*
|
|
218
93
|
* ### Response Format
|
|
219
94
|
*
|
|
220
|
-
* Returns a
|
|
95
|
+
* Returns a list object with:
|
|
96
|
+
*
|
|
97
|
+
* - `object` - Always "list"
|
|
98
|
+
* - `data` - Array of contact objects
|
|
99
|
+
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
100
|
+
*
|
|
101
|
+
* ### Contact Object
|
|
102
|
+
*
|
|
103
|
+
* Each contact includes:
|
|
221
104
|
*
|
|
222
|
-
* - `object` - Always "contact"
|
|
223
105
|
* - `id` - Unique contact identifier
|
|
224
106
|
* - `userId` - External user ID from SSO (if set)
|
|
225
107
|
* - `email` - Contact email address
|
|
@@ -236,12 +118,18 @@ export class Contacts extends APIResource {
|
|
|
236
118
|
*
|
|
237
119
|
* ```json
|
|
238
120
|
* {
|
|
239
|
-
* "object": "
|
|
240
|
-
* "
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
121
|
+
* "object": "list",
|
|
122
|
+
* "data": [
|
|
123
|
+
* {
|
|
124
|
+
* "object": "contact",
|
|
125
|
+
* "id": "676f0f6765bdaa7d7d760f88",
|
|
126
|
+
* "email": "john@example.com",
|
|
127
|
+
* "name": "John Doe",
|
|
128
|
+
* "type": "customer",
|
|
129
|
+
* ...
|
|
130
|
+
* }
|
|
131
|
+
* ],
|
|
132
|
+
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
245
133
|
* }
|
|
246
134
|
* ```
|
|
247
135
|
*
|
|
@@ -251,14 +139,16 @@ export class Contacts extends APIResource {
|
|
|
251
139
|
*
|
|
252
140
|
* @example
|
|
253
141
|
* ```ts
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
142
|
+
* // Automatically fetches more pages as needed.
|
|
143
|
+
* for await (const contact of client.users.contacts.list()) {
|
|
144
|
+
* // ...
|
|
145
|
+
* }
|
|
257
146
|
* ```
|
|
258
147
|
*/
|
|
259
|
-
|
|
260
|
-
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
261
|
-
return this._client.
|
|
148
|
+
list(params = {}, options) {
|
|
149
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
150
|
+
return this._client.getAPIList('/v2/contacts', (CursorPage), {
|
|
151
|
+
query,
|
|
262
152
|
...options,
|
|
263
153
|
headers: buildHeaders([
|
|
264
154
|
{
|
|
@@ -400,59 +290,131 @@ export class Contacts extends APIResource {
|
|
|
400
290
|
});
|
|
401
291
|
}
|
|
402
292
|
/**
|
|
403
|
-
*
|
|
404
|
-
*
|
|
405
|
-
* ### Path Parameters
|
|
293
|
+
* Creates a new contact or updates an existing one.
|
|
406
294
|
*
|
|
407
|
-
*
|
|
295
|
+
* If a contact with the given `email` or `userId` already exists, it will be
|
|
296
|
+
* updated. Otherwise, a new contact will be created.
|
|
408
297
|
*
|
|
409
|
-
*
|
|
298
|
+
* **At least one of `email` or `userId` must be provided for identification.**
|
|
410
299
|
*
|
|
411
|
-
*
|
|
300
|
+
* ### Request Body
|
|
412
301
|
*
|
|
413
|
-
*
|
|
414
|
-
*
|
|
302
|
+
* | Field | Type | Required | Description |
|
|
303
|
+
* | ----------------------- | -------------- | ------------------- | ----------------------------------------------------------------------------- |
|
|
304
|
+
* | `email` | string or null | One of email/userId | Contact email address. Send `null` with `userId` to remove the current email. |
|
|
305
|
+
* | `userId` | string or null | One of email/userId | External user ID. Send `null` with `email` to remove it. |
|
|
306
|
+
* | `name` | string or null | No | Contact display name. `null` resets it to the system fallback. |
|
|
307
|
+
* | `profilePicture` | string or null | No | Profile picture URL. `null` removes it. |
|
|
308
|
+
* | `companies` | array | No | Replacement company list. `[]` removes all memberships. |
|
|
309
|
+
* | `customFields` | object | No | Values merge by key. A key with `null` is removed. |
|
|
310
|
+
* | `subscribedToChangelog` | boolean | No | Whether subscribed to changelog |
|
|
311
|
+
* | `locale` | string or null | No | Contact locale/language. `null` removes it. |
|
|
312
|
+
* | `phone` | string or null | No | Contact phone number. `null` removes it. |
|
|
313
|
+
* | `roles` | array | No | Replacement role list. `[]` removes all roles. |
|
|
314
|
+
* | `userHash` | string | No | HMAC hash for identity verification |
|
|
315
|
+
* | `createdAt` | string | No | When the contact was created (ISO 8601) |
|
|
316
|
+
*
|
|
317
|
+
* ### Orbit Field Update Semantics
|
|
318
|
+
*
|
|
319
|
+
* - Omit a field to keep its current value.
|
|
320
|
+
* - Send a non-null scalar value to add or replace that value.
|
|
321
|
+
* - Send `null` for `email`, `userId`, `name`, `profilePicture`, `phone`, or
|
|
322
|
+
* `locale` to clear or reset it.
|
|
323
|
+
* - A contact must keep at least one identifier. Removing `email` requires
|
|
324
|
+
* `userId`. Removing `userId` requires `email`.
|
|
325
|
+
* - Send an array to replace the stored list. Send `[]` to clear `companies` or
|
|
326
|
+
* `roles`.
|
|
327
|
+
* - `customFields` is merged by key. Omitted keys stay unchanged. A key with
|
|
328
|
+
* `null` is removed.
|
|
329
|
+
* - `createdAt` and `subscribedToChangelog` do not accept `null`. Use `false` to
|
|
330
|
+
* turn off changelog subscription.
|
|
331
|
+
* - Empty strings are not deletion values for typed contact fields.
|
|
415
332
|
*
|
|
416
|
-
* ###
|
|
333
|
+
* ### Company Object
|
|
417
334
|
*
|
|
418
|
-
*
|
|
335
|
+
* Each company in the `companies` array can have:
|
|
419
336
|
*
|
|
420
|
-
* -
|
|
421
|
-
* -
|
|
422
|
-
* -
|
|
337
|
+
* - `id` (required) - External company ID from your system
|
|
338
|
+
* - `name` (required) - Company name
|
|
339
|
+
* - `monthlySpend` - Monthly spend/revenue
|
|
340
|
+
* - `customFields` - Custom field values
|
|
341
|
+
* - `industry` - Industry
|
|
342
|
+
* - `website` - Company website URL
|
|
343
|
+
* - `plan` - Current plan/subscription
|
|
344
|
+
* - `companySize` - Number of employees
|
|
345
|
+
* - `createdAt` - When the company was created
|
|
423
346
|
*
|
|
424
347
|
* ### Response
|
|
425
348
|
*
|
|
426
|
-
* Returns
|
|
349
|
+
* Returns the created or updated contact object.
|
|
427
350
|
*
|
|
428
|
-
* -
|
|
429
|
-
* -
|
|
430
|
-
*
|
|
351
|
+
* - **201 Created** - A new contact was created
|
|
352
|
+
* - **200 OK** - An existing contact was updated
|
|
353
|
+
*
|
|
354
|
+
* ### Example Request
|
|
355
|
+
*
|
|
356
|
+
* ```json
|
|
357
|
+
* {
|
|
358
|
+
* "email": "john@example.com",
|
|
359
|
+
* "name": "John Doe",
|
|
360
|
+
* "userId": "usr_12345",
|
|
361
|
+
* "companies": [
|
|
362
|
+
* {
|
|
363
|
+
* "id": "company_123",
|
|
364
|
+
* "name": "Acme Inc",
|
|
365
|
+
* "monthlySpend": 500,
|
|
366
|
+
* "plan": "enterprise"
|
|
367
|
+
* }
|
|
368
|
+
* ],
|
|
369
|
+
* "customFields": {
|
|
370
|
+
* "plan": "pro",
|
|
371
|
+
* "signupSource": "website"
|
|
372
|
+
* },
|
|
373
|
+
* "subscribedToChangelog": true
|
|
374
|
+
* }
|
|
375
|
+
* ```
|
|
376
|
+
*
|
|
377
|
+
* ### Example: Remove an Email
|
|
378
|
+
*
|
|
379
|
+
* ```json
|
|
380
|
+
* {
|
|
381
|
+
* "userId": "usr_12345",
|
|
382
|
+
* "email": null
|
|
383
|
+
* }
|
|
384
|
+
* ```
|
|
431
385
|
*
|
|
432
386
|
* ### Example Response
|
|
433
387
|
*
|
|
434
388
|
* ```json
|
|
435
389
|
* {
|
|
436
|
-
* "id": "507f1f77bcf86cd799439011",
|
|
437
390
|
* "object": "contact",
|
|
438
|
-
* "
|
|
391
|
+
* "id": "676f0f6765bdaa7d7d760f88",
|
|
392
|
+
* "email": "john@example.com",
|
|
393
|
+
* "name": "John Doe",
|
|
394
|
+
* "userId": "usr_12345",
|
|
395
|
+
* "type": "customer",
|
|
396
|
+
* "companies": [...],
|
|
397
|
+
* "customFields": {...},
|
|
398
|
+
* ...
|
|
439
399
|
* }
|
|
440
400
|
* ```
|
|
441
401
|
*
|
|
442
402
|
* ### Version Availability
|
|
443
403
|
*
|
|
444
|
-
* This endpoint is
|
|
404
|
+
* This endpoint is available in API version 2026-01-01.nova and newer. The Orbit
|
|
405
|
+
* field update rules, including null removal and empty-array replacement, require
|
|
406
|
+
* API version 2026-08-19.orbit or newer.
|
|
445
407
|
*
|
|
446
408
|
* @example
|
|
447
409
|
* ```ts
|
|
448
|
-
* const response =
|
|
449
|
-
*
|
|
450
|
-
* );
|
|
410
|
+
* const response =
|
|
411
|
+
* await client.users.contacts.createOrUpdate();
|
|
451
412
|
* ```
|
|
452
413
|
*/
|
|
453
|
-
|
|
454
|
-
const { 'Featurebase-Version': featurebaseVersion } = params
|
|
455
|
-
return this._client.post(
|
|
414
|
+
createOrUpdate(params, options) {
|
|
415
|
+
const { 'Featurebase-Version': featurebaseVersion, ...body } = params;
|
|
416
|
+
return this._client.post('/v2/contacts', {
|
|
417
|
+
body,
|
|
456
418
|
...options,
|
|
457
419
|
headers: buildHeaders([
|
|
458
420
|
{
|
|
@@ -573,6 +535,71 @@ export class Contacts extends APIResource {
|
|
|
573
535
|
]),
|
|
574
536
|
});
|
|
575
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* Unblocks a contact by their Featurebase ID from the global moderation system.
|
|
540
|
+
*
|
|
541
|
+
* ### Path Parameters
|
|
542
|
+
*
|
|
543
|
+
* - `id` - The Featurebase internal ID of the contact (MongoDB ObjectId)
|
|
544
|
+
*
|
|
545
|
+
* ### Supported Contact Types
|
|
546
|
+
*
|
|
547
|
+
* This endpoint unblocks both:
|
|
548
|
+
*
|
|
549
|
+
* - **Customers** - Users with registered accounts
|
|
550
|
+
* - **Leads** - Anonymous or unregistered visitors
|
|
551
|
+
*
|
|
552
|
+
* ### Unblocking Behavior
|
|
553
|
+
*
|
|
554
|
+
* When a contact is unblocked:
|
|
555
|
+
*
|
|
556
|
+
* - The contact can resume sending messages via messenger
|
|
557
|
+
* - Previously blocked conversations remain intact
|
|
558
|
+
* - The contact regains full messenger functionality
|
|
559
|
+
*
|
|
560
|
+
* ### Response
|
|
561
|
+
*
|
|
562
|
+
* Returns an unblock confirmation object:
|
|
563
|
+
*
|
|
564
|
+
* - `id` - The ID of the unblocked contact
|
|
565
|
+
* - `object` - Always "contact"
|
|
566
|
+
* - `unblocked` - Always `true`
|
|
567
|
+
*
|
|
568
|
+
* ### Example Response
|
|
569
|
+
*
|
|
570
|
+
* ```json
|
|
571
|
+
* {
|
|
572
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
573
|
+
* "object": "contact",
|
|
574
|
+
* "unblocked": true
|
|
575
|
+
* }
|
|
576
|
+
* ```
|
|
577
|
+
*
|
|
578
|
+
* ### Version Availability
|
|
579
|
+
*
|
|
580
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
581
|
+
*
|
|
582
|
+
* @example
|
|
583
|
+
* ```ts
|
|
584
|
+
* const response = await client.users.contacts.unblock(
|
|
585
|
+
* '507f1f77bcf86cd799439011',
|
|
586
|
+
* );
|
|
587
|
+
* ```
|
|
588
|
+
*/
|
|
589
|
+
unblock(id, params = {}, options) {
|
|
590
|
+
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
591
|
+
return this._client.post(path `/v2/contacts/${id}/unblock`, {
|
|
592
|
+
...options,
|
|
593
|
+
headers: buildHeaders([
|
|
594
|
+
{
|
|
595
|
+
...(featurebaseVersion?.toString() != null ?
|
|
596
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
597
|
+
: undefined),
|
|
598
|
+
},
|
|
599
|
+
options?.headers,
|
|
600
|
+
]),
|
|
601
|
+
});
|
|
602
|
+
}
|
|
576
603
|
}
|
|
577
604
|
Contacts.ByUserID = ByUserID;
|
|
578
605
|
Contacts.EmailPreferences = EmailPreferences;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contacts.mjs","sourceRoot":"","sources":["../../../src/resources/users/contacts/contacts.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAIrD,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,EAGL,gBAAgB,GAIjB,gCAA4B;AAC7B,OAAO,KAAK,WAAW,oCAAgC;AACvD,OAAO,EACL,QAAQ,GAIT,oCAAgC;AAEjC,OAAO,EAAE,UAAU,EAAsC,qCAAiC;AAC1F,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,a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,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AA6hBD,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC7B,QAAQ,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
|
|
@@ -290,7 +290,7 @@ export interface EmailPreferenceRetrieveParams {
|
|
|
290
290
|
* API version for this request. Defaults to your organization's configured API
|
|
291
291
|
* version if not specified.
|
|
292
292
|
*/
|
|
293
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
293
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
294
294
|
}
|
|
295
295
|
export interface EmailPreferenceUpdateParams {
|
|
296
296
|
/**
|
|
@@ -301,7 +301,7 @@ export interface EmailPreferenceUpdateParams {
|
|
|
301
301
|
* Header param: API version for this request. Defaults to your organization's
|
|
302
302
|
* configured API version if not specified.
|
|
303
303
|
*/
|
|
304
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
304
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
305
305
|
}
|
|
306
306
|
export declare namespace EmailPreferenceUpdateParams {
|
|
307
307
|
interface Preferences {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-preferences.d.mts","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,QAAQ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M,WAAW,oBAAoB;IACnC,WAAW,EAAE,oBAAoB,CAAC,WAAW,CAAC;CAC/C;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,WAAW;QAC1B;;;WAGG;QACH,GAAG,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAEpC;;WAEG;QACH,SAAS,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE1C;;WAEG;QACH,cAAc,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE/C;;WAEG;QACH,YAAY,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE7C;;WAEG;QACH,WAAW,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KAC7C;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"email-preferences.d.mts","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;IAehC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiHG;IACH,MAAM,C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AC;QAE/C;;WAEG;QACH,YAAY,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE7C;;WAEG;QACH,WAAW,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KAC7C;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,WAAW,EAAE,2BAA2B,CAAC,WAAW,CAAC;IAErD;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,yBAAiB,2BAA2B,CAAC;IAC3C,UAAiB,WAAW;QAC1B;;;WAGG;QACH,GAAG,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAEpC;;WAEG;QACH,SAAS,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE1C;;WAEG;QACH,cAAc,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE/C;;WAEG;QACH,YAAY,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE7C;;WAEG;QACH,WAAW,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KAC7C;CACF;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -290,7 +290,7 @@ export interface EmailPreferenceRetrieveParams {
|
|
|
290
290
|
* API version for this request. Defaults to your organization's configured API
|
|
291
291
|
* version if not specified.
|
|
292
292
|
*/
|
|
293
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
293
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
294
294
|
}
|
|
295
295
|
export interface EmailPreferenceUpdateParams {
|
|
296
296
|
/**
|
|
@@ -301,7 +301,7 @@ export interface EmailPreferenceUpdateParams {
|
|
|
301
301
|
* Header param: API version for this request. Defaults to your organization's
|
|
302
302
|
* configured API version if not specified.
|
|
303
303
|
*/
|
|
304
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
304
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
305
305
|
}
|
|
306
306
|
export declare namespace EmailPreferenceUpdateParams {
|
|
307
307
|
interface Preferences {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-preferences.d.ts","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,mBAAmB,+BAA4B;AAC3D,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;IAehC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiHG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,2BAA2B,EACnC,OAAO,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AAC;QAE7C;;WAEG;QACH,WAAW,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KAC7C;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"email-preferences.d.ts","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,mBAAmB,+BAA4B;AAC3D,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;IAehC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiHG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,2BAA2B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;CAejC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,eAAe,EAAE,YAAY,GAAG,cAAc,CAAC;IAE/C;;OAEG;IACH,MAAM,EAAE,YAAY,GAAG,cAAc,CAAC;CACvC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAA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BAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,yBAAiB,2BAA2B,CAAC;IAC3C,UAAiB,WAAW;QAC1B;;;WAGG;QACH,GAAG,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAEpC;;WAEG;QACH,SAAS,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE1C;;WAEG;QACH,cAAc,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE/C;;WAEG;QACH,YAAY,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE7C;;WAEG;QACH,WAAW,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KAC7C;CACF;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { ByUserID, type ByUserIDRetrieveResponse, type ByUserIDRetrieveParams, type ByUserIDDeleteParams, } from "./by-user-id/index.mjs";
|
|
2
|
-
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type
|
|
2
|
+
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type ContactRetrieveParams, type ContactListParams, type ContactDeleteParams, type ContactBlockParams, type ContactCreateOrUpdateParams, type ContactSearchParams, type ContactUnblockParams, type ContactListDataCursorPage, } from "./contacts.mjs";
|
|
3
3
|
export { EmailPreferences, type PreferenceState, type PreferencesOutput, type UpdatePreferenceBody, type EmailPreferenceRetrieveParams, type EmailPreferenceUpdateParams, } from "./email-preferences.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,+BAA2B;AAC5B,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,+BAA2B;AAC5B,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B,uBAAmB;AACpB,OAAO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC,gCAA4B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { ByUserID, type ByUserIDRetrieveResponse, type ByUserIDRetrieveParams, type ByUserIDDeleteParams, } from "./by-user-id/index.js";
|
|
2
|
-
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type
|
|
2
|
+
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type ContactRetrieveParams, type ContactListParams, type ContactDeleteParams, type ContactBlockParams, type ContactCreateOrUpdateParams, type ContactSearchParams, type ContactUnblockParams, type ContactListDataCursorPage, } from "./contacts.js";
|
|
3
3
|
export { EmailPreferences, type PreferenceState, type PreferencesOutput, type UpdatePreferenceBody, type EmailPreferenceRetrieveParams, type EmailPreferenceUpdateParams, } from "./email-preferences.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,8BAA2B;AAC5B,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,8BAA2B;AAC5B,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B,sBAAmB;AACpB,OAAO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC,+BAA4B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Companies, type Company, type DeletedCompany, type CompanySearchResponse, type
|
|
2
|
-
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type
|
|
1
|
+
export { Companies, type Company, type DeletedCompany, type CompanySearchResponse, type CompanyRetrieveParams, type CompanyListParams, type CompanyDeleteParams, type CompanyCreateOrUpdateParams, type CompanyDeleteByCompanyIDParams, type CompanySearchParams, type CompaniesCursorPage, } from "./companies/index.mjs";
|
|
2
|
+
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type ContactRetrieveParams, type ContactListParams, type ContactDeleteParams, type ContactBlockParams, type ContactCreateOrUpdateParams, type ContactSearchParams, type ContactUnblockParams, type ContactListDataCursorPage, } from "./contacts/index.mjs";
|
|
3
3
|
export { Users } from "./users.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,8BAA0B;AAC3B,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B,6BAAyB;AAC1B,OAAO,EAAE,KAAK,EAAE,oBAAgB"}
|