featurebase-node 0.14.2 → 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 +16 -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 +6 -6
- package/resources/feedback/feedback.d.mts.map +1 -1
- package/resources/feedback/feedback.d.ts +6 -6
- package/resources/feedback/feedback.d.ts.map +1 -1
- package/resources/feedback/feedback.js.map +1 -1
- package/resources/feedback/feedback.mjs.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/index.js.map +1 -1
- package/resources/feedback/index.mjs.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/index.js.map +1 -1
- package/resources/feedback/posts/index.mjs.map +1 -1
- package/resources/feedback/posts/posts.d.mts +169 -102
- package/resources/feedback/posts/posts.d.mts.map +1 -1
- package/resources/feedback/posts/posts.d.ts +169 -102
- package/resources/feedback/posts/posts.d.ts.map +1 -1
- package/resources/feedback/posts/posts.js +144 -75
- package/resources/feedback/posts/posts.js.map +1 -1
- package/resources/feedback/posts/posts.mjs +144 -75
- 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 +347 -180
- package/resources/reports.d.mts.map +1 -1
- package/resources/reports.d.ts +347 -180
- package/resources/reports.d.ts.map +1 -1
- package/resources/reports.js +124 -99
- package/resources/reports.js.map +1 -1
- package/resources/reports.mjs +124 -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 +402 -351
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +402 -351
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +340 -295
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +340 -295
- 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 +9 -5
- package/src/resources/feedback/index.ts +7 -5
- package/src/resources/feedback/post-statuses.ts +33 -33
- package/src/resources/feedback/posts/index.ts +3 -1
- package/src/resources/feedback/posts/posts.ts +232 -128
- 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 +454 -232
- package/src/resources/support/conversation-tags.ts +62 -62
- package/src/resources/support/conversations/conversations.ts +489 -438
- 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
|
@@ -13,77 +13,6 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
13
13
|
*/
|
|
14
14
|
export declare class Conversations extends APIResource {
|
|
15
15
|
participants: ParticipantsAPI.Participants;
|
|
16
|
-
/**
|
|
17
|
-
* Returns a list of conversations in your organization using cursor-based
|
|
18
|
-
* pagination.
|
|
19
|
-
*
|
|
20
|
-
* ### Query Parameters
|
|
21
|
-
*
|
|
22
|
-
* - `limit` - Number of conversations to return (1-100, default 10)
|
|
23
|
-
* - `cursor` - Cursor from previous response for pagination
|
|
24
|
-
* - `tagIds` - Optional tag filter as a comma-separated list of tag IDs. Matches
|
|
25
|
-
* conversations that contain all of the provided tags.
|
|
26
|
-
*
|
|
27
|
-
* ### Response Format
|
|
28
|
-
*
|
|
29
|
-
* Returns a list object with:
|
|
30
|
-
*
|
|
31
|
-
* - `object` - Always "list"
|
|
32
|
-
* - `data` - Array of conversation objects
|
|
33
|
-
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
34
|
-
*
|
|
35
|
-
* ### Conversation Object
|
|
36
|
-
*
|
|
37
|
-
* Each conversation includes:
|
|
38
|
-
*
|
|
39
|
-
* - `id` - Unique conversation identifier (short ID)
|
|
40
|
-
* - `title` - Conversation title
|
|
41
|
-
* - `state` - Current state ("open", "closed", or "snoozed")
|
|
42
|
-
* - `priority` - Whether the conversation is marked as priority
|
|
43
|
-
* - `adminAssigneeId` - ID of assigned admin (if any)
|
|
44
|
-
* - `teamAssigneeId` - ID of assigned team (if any)
|
|
45
|
-
* - `tags` - Current tags applied anywhere in the conversation
|
|
46
|
-
* - `participants` - Array of participants
|
|
47
|
-
* - `source` - Information about the first message
|
|
48
|
-
* - `createdAt` - Creation timestamp
|
|
49
|
-
* - `updatedAt` - Last update timestamp
|
|
50
|
-
*
|
|
51
|
-
* ### Example
|
|
52
|
-
*
|
|
53
|
-
* ```json
|
|
54
|
-
* {
|
|
55
|
-
* "object": "list",
|
|
56
|
-
* "data": [
|
|
57
|
-
* {
|
|
58
|
-
* "object": "conversation",
|
|
59
|
-
* "id": "12345",
|
|
60
|
-
* "title": "Question about pricing",
|
|
61
|
-
* "state": "open",
|
|
62
|
-
* "priority": false,
|
|
63
|
-
* "adminAssigneeId": null,
|
|
64
|
-
* "participants": [
|
|
65
|
-
* { "type": "customer", "id": "676f0f6765bdaa7d7d760f88" }
|
|
66
|
-
* ],
|
|
67
|
-
* ...
|
|
68
|
-
* }
|
|
69
|
-
* ],
|
|
70
|
-
* "nextCursor": "eyJpZCI6IjEyMzQ1In0="
|
|
71
|
-
* }
|
|
72
|
-
* ```
|
|
73
|
-
*
|
|
74
|
-
* ### Version Availability
|
|
75
|
-
*
|
|
76
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* ```ts
|
|
80
|
-
* // Automatically fetches more pages as needed.
|
|
81
|
-
* for await (const conversation of client.support.conversations.list()) {
|
|
82
|
-
* // ...
|
|
83
|
-
* }
|
|
84
|
-
* ```
|
|
85
|
-
*/
|
|
86
|
-
list(params?: ConversationListParams | null | undefined, options?: RequestOptions): PagePromise<ConversationsCursorPage, Conversation>;
|
|
87
16
|
/**
|
|
88
17
|
* Creates a new conversation. Supports both contact-initiated (customer/lead) and
|
|
89
18
|
* admin-initiated (outreach) conversations.
|
|
@@ -323,41 +252,6 @@ export declare class Conversations extends APIResource {
|
|
|
323
252
|
* ```
|
|
324
253
|
*/
|
|
325
254
|
retrieve(id: string, params?: ConversationRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Conversation>;
|
|
326
|
-
/**
|
|
327
|
-
* Permanently deletes a conversation by its short ID.
|
|
328
|
-
*
|
|
329
|
-
* ### Path Parameters
|
|
330
|
-
*
|
|
331
|
-
* - `id` - The conversation short ID (numeric)
|
|
332
|
-
*
|
|
333
|
-
* ### Response
|
|
334
|
-
*
|
|
335
|
-
* Returns a deletion confirmation object:
|
|
336
|
-
*
|
|
337
|
-
* ```json
|
|
338
|
-
* {
|
|
339
|
-
* "id": "12345",
|
|
340
|
-
* "object": "conversation",
|
|
341
|
-
* "deleted": true
|
|
342
|
-
* }
|
|
343
|
-
* ```
|
|
344
|
-
*
|
|
345
|
-
* ### Caution
|
|
346
|
-
*
|
|
347
|
-
* This operation is **irreversible**. The conversation and all its messages will
|
|
348
|
-
* be permanently deleted.
|
|
349
|
-
*
|
|
350
|
-
* ### Version Availability
|
|
351
|
-
*
|
|
352
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
353
|
-
*
|
|
354
|
-
* @example
|
|
355
|
-
* ```ts
|
|
356
|
-
* const conversation =
|
|
357
|
-
* await client.support.conversations.delete('12345');
|
|
358
|
-
* ```
|
|
359
|
-
*/
|
|
360
|
-
delete(id: string, params?: ConversationDeleteParams | null | undefined, options?: RequestOptions): APIPromise<ConversationDeleteResponse>;
|
|
361
255
|
/**
|
|
362
256
|
* Updates a conversation's properties. Supports partial updates - only provided
|
|
363
257
|
* fields will be updated.
|
|
@@ -487,97 +381,195 @@ export declare class Conversations extends APIResource {
|
|
|
487
381
|
*/
|
|
488
382
|
update(id: string, params: ConversationUpdateParams, options?: RequestOptions): APIPromise<Conversation>;
|
|
489
383
|
/**
|
|
490
|
-
*
|
|
491
|
-
*
|
|
384
|
+
* Returns a list of conversations in your organization using cursor-based
|
|
385
|
+
* pagination.
|
|
492
386
|
*
|
|
493
|
-
* ###
|
|
387
|
+
* ### Query Parameters
|
|
494
388
|
*
|
|
495
|
-
* - `
|
|
389
|
+
* - `limit` - Number of conversations to return (1-100, default 10)
|
|
390
|
+
* - `cursor` - Cursor from previous response for pagination
|
|
391
|
+
* - `tagIds` - Optional tag filter as a comma-separated list of tag IDs. Matches
|
|
392
|
+
* conversations that contain all of the provided tags.
|
|
496
393
|
*
|
|
497
|
-
* ###
|
|
394
|
+
* ### Response Format
|
|
498
395
|
*
|
|
499
|
-
*
|
|
396
|
+
* Returns a list object with:
|
|
500
397
|
*
|
|
501
|
-
*
|
|
398
|
+
* - `object` - Always "list"
|
|
399
|
+
* - `data` - Array of conversation objects
|
|
400
|
+
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
502
401
|
*
|
|
503
|
-
*
|
|
504
|
-
* | ------------------- | ------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
505
|
-
* | `type` | string | Yes | Must be "contact" |
|
|
506
|
-
* | `userId` | string | No\* | External user ID from your system |
|
|
507
|
-
* | `id` | string | No\* | Featurebase contact ID (24-character ObjectId) |
|
|
508
|
-
* | `bodyMarkdown` | string | Yes | The message content in markdown format. Images referenced by URL or as base64 data URIs will be automatically uploaded and stored. |
|
|
509
|
-
* | `messageType` | string | Yes | Must be "reply" |
|
|
510
|
-
* | `skipNotifications` | boolean | No | Skip sending notifications (default: false). Useful for bulk imports. |
|
|
402
|
+
* ### Conversation Object
|
|
511
403
|
*
|
|
512
|
-
*
|
|
404
|
+
* Each conversation includes:
|
|
513
405
|
*
|
|
514
|
-
*
|
|
406
|
+
* - `id` - Unique conversation identifier (short ID)
|
|
407
|
+
* - `title` - Conversation title
|
|
408
|
+
* - `state` - Current state ("open", "closed", or "snoozed")
|
|
409
|
+
* - `priority` - Whether the conversation is marked as priority
|
|
410
|
+
* - `adminAssigneeId` - ID of assigned admin (if any)
|
|
411
|
+
* - `teamAssigneeId` - ID of assigned team (if any)
|
|
412
|
+
* - `tags` - Current tags applied anywhere in the conversation
|
|
413
|
+
* - `participants` - Array of participants
|
|
414
|
+
* - `source` - Information about the first message
|
|
415
|
+
* - `createdAt` - Creation timestamp
|
|
416
|
+
* - `updatedAt` - Last update timestamp
|
|
515
417
|
*
|
|
516
|
-
*
|
|
517
|
-
* | ------------------- | ------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
518
|
-
* | `type` | string | Yes | Must be "admin" |
|
|
519
|
-
* | `id` | string | Yes | Featurebase admin ID (24-character ObjectId) |
|
|
520
|
-
* | `bodyMarkdown` | string | Yes | The message content in markdown format. Images referenced by URL or as base64 data URIs will be automatically uploaded and stored. |
|
|
521
|
-
* | `messageType` | string | Yes | "reply" for customer-visible reply, "note" for internal note |
|
|
522
|
-
* | `skipNotifications` | boolean | No | Skip sending notifications (default: false). Useful for bulk imports. |
|
|
418
|
+
* ### Example
|
|
523
419
|
*
|
|
524
|
-
*
|
|
420
|
+
* ```json
|
|
421
|
+
* {
|
|
422
|
+
* "object": "list",
|
|
423
|
+
* "data": [
|
|
424
|
+
* {
|
|
425
|
+
* "object": "conversation",
|
|
426
|
+
* "id": "12345",
|
|
427
|
+
* "title": "Question about pricing",
|
|
428
|
+
* "state": "open",
|
|
429
|
+
* "priority": false,
|
|
430
|
+
* "adminAssigneeId": null,
|
|
431
|
+
* "participants": [
|
|
432
|
+
* { "type": "customer", "id": "676f0f6765bdaa7d7d760f88" }
|
|
433
|
+
* ],
|
|
434
|
+
* ...
|
|
435
|
+
* }
|
|
436
|
+
* ],
|
|
437
|
+
* "nextCursor": "eyJpZCI6IjEyMzQ1In0="
|
|
438
|
+
* }
|
|
439
|
+
* ```
|
|
525
440
|
*
|
|
526
|
-
*
|
|
527
|
-
* response includes both `bodyHtml` (with signed image URLs) and `bodyMarkdown`
|
|
528
|
-
* fields.
|
|
441
|
+
* ### Version Availability
|
|
529
442
|
*
|
|
530
|
-
*
|
|
443
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
531
444
|
*
|
|
532
|
-
*
|
|
533
|
-
*
|
|
534
|
-
*
|
|
535
|
-
*
|
|
536
|
-
*
|
|
537
|
-
* "messageType": "reply"
|
|
445
|
+
* @example
|
|
446
|
+
* ```ts
|
|
447
|
+
* // Automatically fetches more pages as needed.
|
|
448
|
+
* for await (const conversation of client.support.conversations.list()) {
|
|
449
|
+
* // ...
|
|
538
450
|
* }
|
|
539
451
|
* ```
|
|
452
|
+
*/
|
|
453
|
+
list(params?: ConversationListParams | null | undefined, options?: RequestOptions): PagePromise<ConversationsCursorPage, Conversation>;
|
|
454
|
+
/**
|
|
455
|
+
* Permanently deletes a conversation by its short ID.
|
|
540
456
|
*
|
|
541
|
-
* ###
|
|
457
|
+
* ### Path Parameters
|
|
458
|
+
*
|
|
459
|
+
* - `id` - The conversation short ID (numeric)
|
|
460
|
+
*
|
|
461
|
+
* ### Response
|
|
462
|
+
*
|
|
463
|
+
* Returns a deletion confirmation object:
|
|
542
464
|
*
|
|
543
465
|
* ```json
|
|
544
466
|
* {
|
|
545
|
-
* "
|
|
546
|
-
* "
|
|
547
|
-
* "
|
|
548
|
-
* "messageType": "reply"
|
|
467
|
+
* "id": "12345",
|
|
468
|
+
* "object": "conversation",
|
|
469
|
+
* "deleted": true
|
|
549
470
|
* }
|
|
550
471
|
* ```
|
|
551
472
|
*
|
|
552
|
-
* ###
|
|
473
|
+
* ### Caution
|
|
474
|
+
*
|
|
475
|
+
* This operation is **irreversible**. The conversation and all its messages will
|
|
476
|
+
* be permanently deleted.
|
|
477
|
+
*
|
|
478
|
+
* ### Version Availability
|
|
479
|
+
*
|
|
480
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
481
|
+
*
|
|
482
|
+
* @example
|
|
483
|
+
* ```ts
|
|
484
|
+
* const conversation =
|
|
485
|
+
* await client.support.conversations.delete('12345');
|
|
486
|
+
* ```
|
|
487
|
+
*/
|
|
488
|
+
delete(id: string, params?: ConversationDeleteParams | null | undefined, options?: RequestOptions): APIPromise<ConversationDeleteResponse>;
|
|
489
|
+
/**
|
|
490
|
+
* Attaches a workspace tag to a conversation.
|
|
491
|
+
*
|
|
492
|
+
* This endpoint requires both the tag ID to attach and the `actingAdminId` of the
|
|
493
|
+
* admin on whose behalf the mutation is recorded.
|
|
494
|
+
*
|
|
495
|
+
* ### Path Parameters
|
|
496
|
+
*
|
|
497
|
+
* - `id` - The conversation ID (short ID)
|
|
498
|
+
*
|
|
499
|
+
* ### Request Body
|
|
500
|
+
*
|
|
501
|
+
* | Field | Type | Required | Description |
|
|
502
|
+
* | --------------- | ------ | -------- | ------------------------------------------------------------------------ |
|
|
503
|
+
* | `tagId` | string | Yes | The Featurebase tag ID to attach |
|
|
504
|
+
* | `actingAdminId` | string | Yes | The admin performing the mutation. Must be a member of the organization. |
|
|
505
|
+
*
|
|
506
|
+
* ### Behavior
|
|
507
|
+
*
|
|
508
|
+
* Featurebase resolves the latest taggable reply/message in the conversation and
|
|
509
|
+
* records the tag attachment against that part so audit metadata remains
|
|
510
|
+
* deterministic.
|
|
511
|
+
*
|
|
512
|
+
* ### Response
|
|
513
|
+
*
|
|
514
|
+
* Returns the affected tag plus attachment metadata such as `targetPartId`,
|
|
515
|
+
* `appliedAt`, and `appliedBy`.
|
|
516
|
+
*
|
|
517
|
+
* ### Example Request
|
|
553
518
|
*
|
|
554
519
|
* ```json
|
|
555
520
|
* {
|
|
556
|
-
* "
|
|
557
|
-
* "
|
|
558
|
-
* "bodyMarkdown": "Customer seems frustrated, escalating to tier 2.",
|
|
559
|
-
* "messageType": "note"
|
|
521
|
+
* "tagId": "67ec1234abcd5678ef901234",
|
|
522
|
+
* "actingAdminId": "507f1f77bcf86cd799439011"
|
|
560
523
|
* }
|
|
561
524
|
* ```
|
|
562
525
|
*
|
|
563
|
-
* ###
|
|
526
|
+
* ### Version Availability
|
|
527
|
+
*
|
|
528
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
529
|
+
*
|
|
530
|
+
* @example
|
|
531
|
+
* ```ts
|
|
532
|
+
* const attachedConversationTag =
|
|
533
|
+
* await client.support.conversations.attachTag('12345', {
|
|
534
|
+
* actingAdminId: '507f1f77bcf86cd799439011',
|
|
535
|
+
* tagId: '67ec1234abcd5678ef901234',
|
|
536
|
+
* });
|
|
537
|
+
* ```
|
|
538
|
+
*/
|
|
539
|
+
attachTag(id: string, params: ConversationAttachTagParams, options?: RequestOptions): APIPromise<AttachedConversationTag>;
|
|
540
|
+
/**
|
|
541
|
+
* Removes a workspace tag from a conversation.
|
|
542
|
+
*
|
|
543
|
+
* This endpoint requires the `actingAdminId` of the admin on whose behalf the
|
|
544
|
+
* mutation is recorded.
|
|
545
|
+
*
|
|
546
|
+
* ### Path Parameters
|
|
547
|
+
*
|
|
548
|
+
* - `id` - The conversation ID (short ID)
|
|
549
|
+
* - `tagId` - The Featurebase tag ID to remove
|
|
550
|
+
*
|
|
551
|
+
* ### Request Body
|
|
552
|
+
*
|
|
553
|
+
* | Field | Type | Required | Description |
|
|
554
|
+
* | --------------- | ------ | -------- | ------------------------------------------------------------------------ |
|
|
555
|
+
* | `actingAdminId` | string | Yes | The admin performing the mutation. Must be a member of the organization. |
|
|
556
|
+
*
|
|
557
|
+
* ### Behavior
|
|
558
|
+
*
|
|
559
|
+
* Featurebase resolves the latest taggable reply/message in the conversation and
|
|
560
|
+
* records the tag removal against that part so audit metadata remains
|
|
561
|
+
* deterministic.
|
|
562
|
+
*
|
|
563
|
+
* ### Response
|
|
564
|
+
*
|
|
565
|
+
* Returns the affected tag payload with the most relevant attachment metadata
|
|
566
|
+
* available for that relationship.
|
|
567
|
+
*
|
|
568
|
+
* ### Example Request
|
|
564
569
|
*
|
|
565
570
|
* ```json
|
|
566
571
|
* {
|
|
567
|
-
* "
|
|
568
|
-
* "id": "3",
|
|
569
|
-
* "partType": "user_msg",
|
|
570
|
-
* "bodyHtml": "<p>Thank you for your help!</p>",
|
|
571
|
-
* "bodyMarkdown": "Thank you for your help!",
|
|
572
|
-
* "author": {
|
|
573
|
-
* "type": "customer",
|
|
574
|
-
* "id": "676f0f6765bdaa7d7d760f88",
|
|
575
|
-
* "name": "John Doe",
|
|
576
|
-
* "email": "john@example.com"
|
|
577
|
-
* },
|
|
578
|
-
* "channel": "desktop",
|
|
579
|
-
* "createdAt": "2025-01-15T10:40:00.000Z",
|
|
580
|
-
* "updatedAt": "2025-01-15T10:40:00.000Z"
|
|
572
|
+
* "actingAdminId": "507f1f77bcf86cd799439011"
|
|
581
573
|
* }
|
|
582
574
|
* ```
|
|
583
575
|
*
|
|
@@ -587,15 +579,17 @@ export declare class Conversations extends APIResource {
|
|
|
587
579
|
*
|
|
588
580
|
* @example
|
|
589
581
|
* ```ts
|
|
590
|
-
* const
|
|
591
|
-
* await client.support.conversations.
|
|
592
|
-
*
|
|
593
|
-
*
|
|
594
|
-
*
|
|
595
|
-
*
|
|
582
|
+
* const attachedConversationTag =
|
|
583
|
+
* await client.support.conversations.detachTag(
|
|
584
|
+
* '67ec1234abcd5678ef901234',
|
|
585
|
+
* {
|
|
586
|
+
* id: '12345',
|
|
587
|
+
* actingAdminId: '507f1f77bcf86cd799439011',
|
|
588
|
+
* },
|
|
589
|
+
* );
|
|
596
590
|
* ```
|
|
597
591
|
*/
|
|
598
|
-
|
|
592
|
+
detachTag(tagID: string, params: ConversationDetachTagParams, options?: RequestOptions): APIPromise<AttachedConversationTag>;
|
|
599
593
|
/**
|
|
600
594
|
* Redacts a conversation part (message) from a conversation. Redaction permanently
|
|
601
595
|
* removes the message content while preserving the conversation structure.
|
|
@@ -676,10 +670,8 @@ export declare class Conversations extends APIResource {
|
|
|
676
670
|
*/
|
|
677
671
|
redact(params: ConversationRedactParams, options?: RequestOptions): APIPromise<Conversation>;
|
|
678
672
|
/**
|
|
679
|
-
*
|
|
680
|
-
*
|
|
681
|
-
* This endpoint requires both the tag ID to attach and the `actingAdminId` of the
|
|
682
|
-
* admin on whose behalf the mutation is recorded.
|
|
673
|
+
* Adds a reply to an existing conversation. Supports both contact (customer/lead)
|
|
674
|
+
* and admin replies.
|
|
683
675
|
*
|
|
684
676
|
* ### Path Parameters
|
|
685
677
|
*
|
|
@@ -687,78 +679,88 @@ export declare class Conversations extends APIResource {
|
|
|
687
679
|
*
|
|
688
680
|
* ### Request Body
|
|
689
681
|
*
|
|
690
|
-
*
|
|
691
|
-
* | --------------- | ------ | -------- | ------------------------------------------------------------------------ |
|
|
692
|
-
* | `tagId` | string | Yes | The Featurebase tag ID to attach |
|
|
693
|
-
* | `actingAdminId` | string | Yes | The admin performing the mutation. Must be a member of the organization. |
|
|
694
|
-
*
|
|
695
|
-
* ### Behavior
|
|
696
|
-
*
|
|
697
|
-
* Featurebase resolves the latest taggable reply/message in the conversation and
|
|
698
|
-
* records the tag attachment against that part so audit metadata remains
|
|
699
|
-
* deterministic.
|
|
700
|
-
*
|
|
701
|
-
* ### Response
|
|
702
|
-
*
|
|
703
|
-
* Returns the affected tag plus attachment metadata such as `targetPartId`,
|
|
704
|
-
* `appliedAt`, and `appliedBy`.
|
|
705
|
-
*
|
|
706
|
-
* ### Example Request
|
|
707
|
-
*
|
|
708
|
-
* ```json
|
|
709
|
-
* {
|
|
710
|
-
* "tagId": "67ec1234abcd5678ef901234",
|
|
711
|
-
* "actingAdminId": "507f1f77bcf86cd799439011"
|
|
712
|
-
* }
|
|
713
|
-
* ```
|
|
714
|
-
*
|
|
715
|
-
* ### Version Availability
|
|
682
|
+
* The request body varies based on who is sending the reply:
|
|
716
683
|
*
|
|
717
|
-
*
|
|
684
|
+
* #### Contact Reply (customer/lead)
|
|
718
685
|
*
|
|
719
|
-
*
|
|
720
|
-
*
|
|
721
|
-
*
|
|
722
|
-
*
|
|
723
|
-
*
|
|
724
|
-
*
|
|
725
|
-
*
|
|
726
|
-
*
|
|
727
|
-
*/
|
|
728
|
-
attachTag(id: string, params: ConversationAttachTagParams, options?: RequestOptions): APIPromise<AttachedConversationTag>;
|
|
729
|
-
/**
|
|
730
|
-
* Removes a workspace tag from a conversation.
|
|
686
|
+
* | Field | Type | Required | Description |
|
|
687
|
+
* | ------------------- | ------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
688
|
+
* | `type` | string | Yes | Must be "contact" |
|
|
689
|
+
* | `userId` | string | No\* | External user ID from your system |
|
|
690
|
+
* | `id` | string | No\* | Featurebase contact ID (24-character ObjectId) |
|
|
691
|
+
* | `bodyMarkdown` | string | Yes | The message content in markdown format. Images referenced by URL or as base64 data URIs will be automatically uploaded and stored. |
|
|
692
|
+
* | `messageType` | string | Yes | Must be "reply" |
|
|
693
|
+
* | `skipNotifications` | boolean | No | Skip sending notifications (default: false). Useful for bulk imports. |
|
|
731
694
|
*
|
|
732
|
-
*
|
|
733
|
-
* mutation is recorded.
|
|
695
|
+
* \*At least one of `userId` or `id` is required.
|
|
734
696
|
*
|
|
735
|
-
*
|
|
697
|
+
* #### Admin Reply
|
|
736
698
|
*
|
|
737
|
-
*
|
|
738
|
-
*
|
|
699
|
+
* | Field | Type | Required | Description |
|
|
700
|
+
* | ------------------- | ------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
701
|
+
* | `type` | string | Yes | Must be "admin" |
|
|
702
|
+
* | `id` | string | Yes | Featurebase admin ID (24-character ObjectId) |
|
|
703
|
+
* | `bodyMarkdown` | string | Yes | The message content in markdown format. Images referenced by URL or as base64 data URIs will be automatically uploaded and stored. |
|
|
704
|
+
* | `messageType` | string | Yes | "reply" for customer-visible reply, "note" for internal note |
|
|
705
|
+
* | `skipNotifications` | boolean | No | Skip sending notifications (default: false). Useful for bulk imports. |
|
|
739
706
|
*
|
|
740
|
-
* ###
|
|
707
|
+
* ### Response
|
|
741
708
|
*
|
|
742
|
-
*
|
|
743
|
-
*
|
|
744
|
-
*
|
|
709
|
+
* Returns the created conversation part object with a **201 Created** status. The
|
|
710
|
+
* response includes both `bodyHtml` (with signed image URLs) and `bodyMarkdown`
|
|
711
|
+
* fields.
|
|
745
712
|
*
|
|
746
|
-
* ###
|
|
713
|
+
* ### Example Contact Reply
|
|
747
714
|
*
|
|
748
|
-
*
|
|
749
|
-
*
|
|
750
|
-
*
|
|
715
|
+
* ```json
|
|
716
|
+
* {
|
|
717
|
+
* "type": "contact",
|
|
718
|
+
* "userId": "user_123",
|
|
719
|
+
* "bodyMarkdown": "Thank you for your help!",
|
|
720
|
+
* "messageType": "reply"
|
|
721
|
+
* }
|
|
722
|
+
* ```
|
|
751
723
|
*
|
|
752
|
-
* ###
|
|
724
|
+
* ### Example Admin Reply
|
|
753
725
|
*
|
|
754
|
-
*
|
|
755
|
-
*
|
|
726
|
+
* ```json
|
|
727
|
+
* {
|
|
728
|
+
* "type": "admin",
|
|
729
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
730
|
+
* "bodyMarkdown": "I'm happy to help! Here's what you need to do...",
|
|
731
|
+
* "messageType": "reply"
|
|
732
|
+
* }
|
|
733
|
+
* ```
|
|
756
734
|
*
|
|
757
|
-
* ### Example
|
|
735
|
+
* ### Example Admin Note (Internal)
|
|
758
736
|
*
|
|
759
737
|
* ```json
|
|
760
738
|
* {
|
|
761
|
-
* "
|
|
739
|
+
* "type": "admin",
|
|
740
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
741
|
+
* "bodyMarkdown": "Customer seems frustrated, escalating to tier 2.",
|
|
742
|
+
* "messageType": "note"
|
|
743
|
+
* }
|
|
744
|
+
* ```
|
|
745
|
+
*
|
|
746
|
+
* ### Example Response
|
|
747
|
+
*
|
|
748
|
+
* ```json
|
|
749
|
+
* {
|
|
750
|
+
* "object": "conversation_part",
|
|
751
|
+
* "id": "3",
|
|
752
|
+
* "partType": "user_msg",
|
|
753
|
+
* "bodyHtml": "<p>Thank you for your help!</p>",
|
|
754
|
+
* "bodyMarkdown": "Thank you for your help!",
|
|
755
|
+
* "author": {
|
|
756
|
+
* "type": "customer",
|
|
757
|
+
* "id": "676f0f6765bdaa7d7d760f88",
|
|
758
|
+
* "name": "John Doe",
|
|
759
|
+
* "email": "john@example.com"
|
|
760
|
+
* },
|
|
761
|
+
* "channel": "desktop",
|
|
762
|
+
* "createdAt": "2025-01-15T10:40:00.000Z",
|
|
763
|
+
* "updatedAt": "2025-01-15T10:40:00.000Z"
|
|
762
764
|
* }
|
|
763
765
|
* ```
|
|
764
766
|
*
|
|
@@ -768,17 +770,15 @@ export declare class Conversations extends APIResource {
|
|
|
768
770
|
*
|
|
769
771
|
* @example
|
|
770
772
|
* ```ts
|
|
771
|
-
* const
|
|
772
|
-
* await client.support.conversations.
|
|
773
|
-
* '
|
|
774
|
-
*
|
|
775
|
-
*
|
|
776
|
-
*
|
|
777
|
-
* },
|
|
778
|
-
* );
|
|
773
|
+
* const conversationPart =
|
|
774
|
+
* await client.support.conversations.reply('12345', {
|
|
775
|
+
* bodyMarkdown: 'Thank you for your help!',
|
|
776
|
+
* messageType: 'reply',
|
|
777
|
+
* type: 'contact',
|
|
778
|
+
* });
|
|
779
779
|
* ```
|
|
780
780
|
*/
|
|
781
|
-
|
|
781
|
+
reply(id: string, params: ConversationReplyParams, options?: RequestOptions): APIPromise<ConversationPart>;
|
|
782
782
|
/**
|
|
783
783
|
* Search conversations with a structured filter AST and an optional full-text
|
|
784
784
|
* query.
|
|
@@ -825,18 +825,53 @@ export declare class Conversations extends APIResource {
|
|
|
825
825
|
* `participant_id`, `company_id`, `created_at`) are still accepted for back-compat
|
|
826
826
|
* but are deprecated — please migrate to camelCase in new code.
|
|
827
827
|
*
|
|
828
|
-
* | Field
|
|
829
|
-
* |
|
|
830
|
-
* | `state`
|
|
831
|
-
* | `priority`
|
|
832
|
-
* | `adminAssigneeId`
|
|
833
|
-
* | `teamAssigneeId`
|
|
834
|
-
* | `brandId`
|
|
835
|
-
* | `tagIds`
|
|
836
|
-
* | `userId` / `participantId`
|
|
837
|
-
* | `companyId`
|
|
838
|
-
* | `mentionedAdminIds`
|
|
839
|
-
* | `createdAt`
|
|
828
|
+
* | Field | Type | Operators |
|
|
829
|
+
* | -------------------------------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
|
|
830
|
+
* | `state` | enum (`open` / `closed` / `snoozed`) | `=`, `!=`, `IN`, `NIN` |
|
|
831
|
+
* | `priority` | boolean | `=`, `!=` |
|
|
832
|
+
* | `adminAssigneeId` | id or null (unassigned) | `=`, `!=`, `IN`, `NIN` |
|
|
833
|
+
* | `teamAssigneeId` | id or null (unassigned) | `=`, `!=`, `IN`, `NIN` |
|
|
834
|
+
* | `brandId` | id or null | `=`, `!=`, `IN`, `NIN` |
|
|
835
|
+
* | `tagIds` | id (matches any conversation containing this tag) | `=`, `!=`, `IN`, `NIN` |
|
|
836
|
+
* | `userId` / `participantId` | id of a conversation participant | `=`, `!=`, `IN`, `NIN` |
|
|
837
|
+
* | `companyId` | company id (matches conversations whose participants belong to the company) | `=`, `!=`, `IN`, `NIN` |
|
|
838
|
+
* | `mentionedAdminIds` | admin id | `=`, `!=`, `IN`, `NIN` |
|
|
839
|
+
* | `createdAt` | unix seconds | `=`, `>`, `<` |
|
|
840
|
+
* | `customAttributes.<attributeId>` | conversation custom attribute (see below) | `=`, `!=`, `IN`, `NIN`; plus `>`, `<`, `>=`, `<=` for `number` / `date` |
|
|
841
|
+
*
|
|
842
|
+
* ### Filtering by custom attributes
|
|
843
|
+
*
|
|
844
|
+
* Any non-archived conversation custom attribute can be used as a filter field via
|
|
845
|
+
* `customAttributes.<attributeId>`, where `<attributeId>` is the attribute's `id`
|
|
846
|
+
* from `GET /v2/conversation_attributes`. The accepted value shape follows the
|
|
847
|
+
* attribute's `fieldSubType`:
|
|
848
|
+
*
|
|
849
|
+
* - `select` / `multi-select` — pass an option **label** (e.g.
|
|
850
|
+
* `"Product question"`) or an option **id**; both are matched interchangeably,
|
|
851
|
+
* and id-based filters keep working after options are renamed
|
|
852
|
+
* - `text` — string
|
|
853
|
+
* - `number` — number; range operators (`>`, `<`, `>=`, `<=`) are supported
|
|
854
|
+
* - `date` — ISO 8601 string or unix seconds; range operators are supported
|
|
855
|
+
* - `checkbox` — boolean
|
|
856
|
+
*
|
|
857
|
+
* Example — all conversations where the "Issue type" select attribute is "Product
|
|
858
|
+
* question":
|
|
859
|
+
*
|
|
860
|
+
* ```json
|
|
861
|
+
* {
|
|
862
|
+
* "query": {
|
|
863
|
+
* "field": "customAttributes.6863d3fca1234b0d5e15c86c",
|
|
864
|
+
* "operator": "=",
|
|
865
|
+
* "value": "Product question"
|
|
866
|
+
* },
|
|
867
|
+
* "include": ["customAttributeDefinitions"]
|
|
868
|
+
* }
|
|
869
|
+
* ```
|
|
870
|
+
*
|
|
871
|
+
* Referencing an attribute id that does not exist (or has been archived) returns a
|
|
872
|
+
* `field_unknown` error. Set `include` to `["customAttributeDefinitions"]` to get
|
|
873
|
+
* each returned conversation's attribute values resolved with names and types
|
|
874
|
+
* alongside the ID-keyed `customAttributes` map.
|
|
840
875
|
*
|
|
841
876
|
* For unbounded fields a query consisting only of `!=` or `NIN` clauses is
|
|
842
877
|
* rejected with `query_too_broad` to prevent full-org scans. Combine the negation
|
|
@@ -844,6 +879,16 @@ export declare class Conversations extends APIResource {
|
|
|
844
879
|
* fields (`state`, `priority`) are exempt because their negation is naturally
|
|
845
880
|
* bounded.
|
|
846
881
|
*
|
|
882
|
+
* ### Inbox visibility
|
|
883
|
+
*
|
|
884
|
+
* An open-state filter uses the same visibility rule as the Featurebase dashboard
|
|
885
|
+
* inbox. Workflow and outbound-message shells are excluded until a customer or
|
|
886
|
+
* lead interacts with them. As a result, `state = "open"` (or an `IN`/`NIN` filter
|
|
887
|
+
* that resolves exclusively to open) returns the conversations shown in the
|
|
888
|
+
* dashboard's open inbox rather than unreplied campaign or automation shells.
|
|
889
|
+
* Searches without an open-only state filter keep their existing organization-wide
|
|
890
|
+
* semantics.
|
|
891
|
+
*
|
|
847
892
|
* ### Pagination
|
|
848
893
|
*
|
|
849
894
|
* Cursor-based, `limit` between 1 and 100 (default 10). Pagination cursors are
|
|
@@ -1106,9 +1151,11 @@ export declare namespace Conversation {
|
|
|
1106
1151
|
*/
|
|
1107
1152
|
requestId: string;
|
|
1108
1153
|
/**
|
|
1109
|
-
* Source that created the CSAT request
|
|
1154
|
+
* Source that created the CSAT request. `workflow` = Ask For Conversation Rating
|
|
1155
|
+
* workflow action, `fibi_auto` = automatic Fibi AI Agent survey on
|
|
1156
|
+
* resolve/handoff.
|
|
1110
1157
|
*/
|
|
1111
|
-
requestSource: 'workflow';
|
|
1158
|
+
requestSource: 'workflow' | 'fibi_auto';
|
|
1112
1159
|
/**
|
|
1113
1160
|
* Lifecycle status for this historical CSAT request
|
|
1114
1161
|
*/
|
|
@@ -1191,7 +1238,7 @@ export declare namespace Conversation {
|
|
|
1191
1238
|
/**
|
|
1192
1239
|
* Source of the latest CSAT request when known
|
|
1193
1240
|
*/
|
|
1194
|
-
requestSource?: 'workflow';
|
|
1241
|
+
requestSource?: 'workflow' | 'fibi_auto';
|
|
1195
1242
|
/**
|
|
1196
1243
|
* CSAT score from 1 to 5 when rated
|
|
1197
1244
|
*/
|
|
@@ -1636,9 +1683,11 @@ export declare namespace ConversationPart {
|
|
|
1636
1683
|
*/
|
|
1637
1684
|
requestId: string;
|
|
1638
1685
|
/**
|
|
1639
|
-
* Source that created the CSAT request
|
|
1686
|
+
* Source that created the CSAT request. `workflow` = Ask For Conversation Rating
|
|
1687
|
+
* workflow action, `fibi_auto` = automatic Fibi AI Agent survey on
|
|
1688
|
+
* resolve/handoff.
|
|
1640
1689
|
*/
|
|
1641
|
-
requestSource: 'workflow';
|
|
1690
|
+
requestSource: 'workflow' | 'fibi_auto';
|
|
1642
1691
|
/**
|
|
1643
1692
|
* Status of the CSAT request represented by this part
|
|
1644
1693
|
*/
|
|
@@ -1707,9 +1756,11 @@ export declare namespace ConversationPart {
|
|
|
1707
1756
|
*/
|
|
1708
1757
|
requestId: string;
|
|
1709
1758
|
/**
|
|
1710
|
-
* Source that created the CSAT request
|
|
1759
|
+
* Source that created the CSAT request. `workflow` = Ask For Conversation Rating
|
|
1760
|
+
* workflow action, `fibi_auto` = automatic Fibi AI Agent survey on
|
|
1761
|
+
* resolve/handoff.
|
|
1711
1762
|
*/
|
|
1712
|
-
requestSource: 'workflow';
|
|
1763
|
+
requestSource: 'workflow' | 'fibi_auto';
|
|
1713
1764
|
/**
|
|
1714
1765
|
* CSAT score from 1 to 5
|
|
1715
1766
|
*/
|
|
@@ -2561,24 +2612,6 @@ export declare namespace ConversationSearchResponse {
|
|
|
2561
2612
|
}
|
|
2562
2613
|
}
|
|
2563
2614
|
}
|
|
2564
|
-
export interface ConversationListParams extends CursorPageParams {
|
|
2565
|
-
/**
|
|
2566
|
-
* Query param: Comma-separated optional expansions. Use
|
|
2567
|
-
* `customAttributeDefinitions` to return `customAttributeValues` with names and
|
|
2568
|
-
* types alongside ID-keyed `customAttributes`.
|
|
2569
|
-
*/
|
|
2570
|
-
include?: string | Array<string>;
|
|
2571
|
-
/**
|
|
2572
|
-
* Query param: Filter conversations by one or more tag IDs using a comma-separated
|
|
2573
|
-
* list. Conversations must contain all provided tags.
|
|
2574
|
-
*/
|
|
2575
|
-
tagIds?: string | Array<string>;
|
|
2576
|
-
/**
|
|
2577
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
2578
|
-
* configured API version if not specified.
|
|
2579
|
-
*/
|
|
2580
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2581
|
-
}
|
|
2582
2615
|
export interface ConversationCreateParams {
|
|
2583
2616
|
/**
|
|
2584
2617
|
* Body param: The content of the initial message in markdown format. Images
|
|
@@ -2616,7 +2649,7 @@ export interface ConversationCreateParams {
|
|
|
2616
2649
|
* Header param: API version for this request. Defaults to your organization's
|
|
2617
2650
|
* configured API version if not specified.
|
|
2618
2651
|
*/
|
|
2619
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2652
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
2620
2653
|
}
|
|
2621
2654
|
export declare namespace ConversationCreateParams {
|
|
2622
2655
|
/**
|
|
@@ -2675,14 +2708,7 @@ export interface ConversationRetrieveParams {
|
|
|
2675
2708
|
* Header param: API version for this request. Defaults to your organization's
|
|
2676
2709
|
* configured API version if not specified.
|
|
2677
2710
|
*/
|
|
2678
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2679
|
-
}
|
|
2680
|
-
export interface ConversationDeleteParams {
|
|
2681
|
-
/**
|
|
2682
|
-
* API version for this request. Defaults to your organization's configured API
|
|
2683
|
-
* version if not specified.
|
|
2684
|
-
*/
|
|
2685
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2711
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
2686
2712
|
}
|
|
2687
2713
|
export interface ConversationUpdateParams {
|
|
2688
2714
|
/**
|
|
@@ -2729,7 +2755,7 @@ export interface ConversationUpdateParams {
|
|
|
2729
2755
|
* Header param: API version for this request. Defaults to your organization's
|
|
2730
2756
|
* configured API version if not specified.
|
|
2731
2757
|
*/
|
|
2732
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2758
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
2733
2759
|
}
|
|
2734
2760
|
export declare namespace ConversationUpdateParams {
|
|
2735
2761
|
/**
|
|
@@ -2757,6 +2783,88 @@ export declare namespace ConversationUpdateParams {
|
|
|
2757
2783
|
contactIds?: Array<string>;
|
|
2758
2784
|
}
|
|
2759
2785
|
}
|
|
2786
|
+
export interface ConversationListParams extends CursorPageParams {
|
|
2787
|
+
/**
|
|
2788
|
+
* Query param: Comma-separated optional expansions. Use
|
|
2789
|
+
* `customAttributeDefinitions` to return `customAttributeValues` with names and
|
|
2790
|
+
* types alongside ID-keyed `customAttributes`.
|
|
2791
|
+
*/
|
|
2792
|
+
include?: string | Array<string>;
|
|
2793
|
+
/**
|
|
2794
|
+
* Query param: Filter conversations by one or more tag IDs using a comma-separated
|
|
2795
|
+
* list. Conversations must contain all provided tags.
|
|
2796
|
+
*/
|
|
2797
|
+
tagIds?: string | Array<string>;
|
|
2798
|
+
/**
|
|
2799
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
2800
|
+
* configured API version if not specified.
|
|
2801
|
+
*/
|
|
2802
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
2803
|
+
}
|
|
2804
|
+
export interface ConversationDeleteParams {
|
|
2805
|
+
/**
|
|
2806
|
+
* API version for this request. Defaults to your organization's configured API
|
|
2807
|
+
* version if not specified.
|
|
2808
|
+
*/
|
|
2809
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
2810
|
+
}
|
|
2811
|
+
export interface ConversationAttachTagParams {
|
|
2812
|
+
/**
|
|
2813
|
+
* Body param: Required admin ID performing this tag attachment. Must be a member
|
|
2814
|
+
* of the organization so the mutation can be attributed to a real admin actor.
|
|
2815
|
+
*/
|
|
2816
|
+
actingAdminId: string;
|
|
2817
|
+
/**
|
|
2818
|
+
* Body param: The Featurebase tag ID to attach to the conversation.
|
|
2819
|
+
*/
|
|
2820
|
+
tagId: string;
|
|
2821
|
+
/**
|
|
2822
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
2823
|
+
* configured API version if not specified.
|
|
2824
|
+
*/
|
|
2825
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
2826
|
+
}
|
|
2827
|
+
export interface ConversationDetachTagParams {
|
|
2828
|
+
/**
|
|
2829
|
+
* Path param: Conversation ID (short ID)
|
|
2830
|
+
*/
|
|
2831
|
+
id: string;
|
|
2832
|
+
/**
|
|
2833
|
+
* Body param: Required admin ID performing this tag removal. Must be a member of
|
|
2834
|
+
* the organization so the mutation can be attributed to a real admin actor.
|
|
2835
|
+
*/
|
|
2836
|
+
actingAdminId: string;
|
|
2837
|
+
/**
|
|
2838
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
2839
|
+
* configured API version if not specified.
|
|
2840
|
+
*/
|
|
2841
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
2842
|
+
}
|
|
2843
|
+
export interface ConversationRedactParams {
|
|
2844
|
+
/**
|
|
2845
|
+
* Body param: The conversation short ID that contains the part to redact
|
|
2846
|
+
*/
|
|
2847
|
+
conversationId: string;
|
|
2848
|
+
/**
|
|
2849
|
+
* Body param: The conversation part short ID to redact
|
|
2850
|
+
*/
|
|
2851
|
+
conversationPartId: string;
|
|
2852
|
+
/**
|
|
2853
|
+
* Body param: The type of item to redact. Currently only "conversation_part" is
|
|
2854
|
+
* supported.
|
|
2855
|
+
*/
|
|
2856
|
+
type: 'conversation_part';
|
|
2857
|
+
/**
|
|
2858
|
+
* Body param: The admin ID performing this action. If not provided, changes are
|
|
2859
|
+
* attributed to the system bot user.
|
|
2860
|
+
*/
|
|
2861
|
+
actingAdminId?: string;
|
|
2862
|
+
/**
|
|
2863
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
2864
|
+
* configured API version if not specified.
|
|
2865
|
+
*/
|
|
2866
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
2867
|
+
}
|
|
2760
2868
|
export type ConversationReplyParams = ConversationReplyParams.ContactReplyBody | ConversationReplyParams.AdminReplyBody;
|
|
2761
2869
|
export declare namespace ConversationReplyParams {
|
|
2762
2870
|
interface ContactReplyBody {
|
|
@@ -2791,7 +2899,7 @@ export declare namespace ConversationReplyParams {
|
|
|
2791
2899
|
* Header param: API version for this request. Defaults to your organization's
|
|
2792
2900
|
* configured API version if not specified.
|
|
2793
2901
|
*/
|
|
2794
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2902
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
2795
2903
|
}
|
|
2796
2904
|
interface AdminReplyBody {
|
|
2797
2905
|
/**
|
|
@@ -2822,66 +2930,9 @@ export declare namespace ConversationReplyParams {
|
|
|
2822
2930
|
* Header param: API version for this request. Defaults to your organization's
|
|
2823
2931
|
* configured API version if not specified.
|
|
2824
2932
|
*/
|
|
2825
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2933
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
2826
2934
|
}
|
|
2827
2935
|
}
|
|
2828
|
-
export interface ConversationRedactParams {
|
|
2829
|
-
/**
|
|
2830
|
-
* Body param: The conversation short ID that contains the part to redact
|
|
2831
|
-
*/
|
|
2832
|
-
conversationId: string;
|
|
2833
|
-
/**
|
|
2834
|
-
* Body param: The conversation part short ID to redact
|
|
2835
|
-
*/
|
|
2836
|
-
conversationPartId: string;
|
|
2837
|
-
/**
|
|
2838
|
-
* Body param: The type of item to redact. Currently only "conversation_part" is
|
|
2839
|
-
* supported.
|
|
2840
|
-
*/
|
|
2841
|
-
type: 'conversation_part';
|
|
2842
|
-
/**
|
|
2843
|
-
* Body param: The admin ID performing this action. If not provided, changes are
|
|
2844
|
-
* attributed to the system bot user.
|
|
2845
|
-
*/
|
|
2846
|
-
actingAdminId?: string;
|
|
2847
|
-
/**
|
|
2848
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
2849
|
-
* configured API version if not specified.
|
|
2850
|
-
*/
|
|
2851
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2852
|
-
}
|
|
2853
|
-
export interface ConversationAttachTagParams {
|
|
2854
|
-
/**
|
|
2855
|
-
* Body param: Required admin ID performing this tag attachment. Must be a member
|
|
2856
|
-
* of the organization so the mutation can be attributed to a real admin actor.
|
|
2857
|
-
*/
|
|
2858
|
-
actingAdminId: string;
|
|
2859
|
-
/**
|
|
2860
|
-
* Body param: The Featurebase tag ID to attach to the conversation.
|
|
2861
|
-
*/
|
|
2862
|
-
tagId: string;
|
|
2863
|
-
/**
|
|
2864
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
2865
|
-
* configured API version if not specified.
|
|
2866
|
-
*/
|
|
2867
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2868
|
-
}
|
|
2869
|
-
export interface ConversationDetachTagParams {
|
|
2870
|
-
/**
|
|
2871
|
-
* Path param: Conversation ID (short ID)
|
|
2872
|
-
*/
|
|
2873
|
-
id: string;
|
|
2874
|
-
/**
|
|
2875
|
-
* Body param: Required admin ID performing this tag removal. Must be a member of
|
|
2876
|
-
* the organization so the mutation can be attributed to a real admin actor.
|
|
2877
|
-
*/
|
|
2878
|
-
actingAdminId: string;
|
|
2879
|
-
/**
|
|
2880
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
2881
|
-
* configured API version if not specified.
|
|
2882
|
-
*/
|
|
2883
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2884
|
-
}
|
|
2885
2936
|
export interface ConversationSearchParams {
|
|
2886
2937
|
/**
|
|
2887
2938
|
* Body param: An opaque cursor for pagination. Use the nextCursor value from a
|
|
@@ -2923,10 +2974,10 @@ export interface ConversationSearchParams {
|
|
|
2923
2974
|
* Header param: API version for this request. Defaults to your organization's
|
|
2924
2975
|
* configured API version if not specified.
|
|
2925
2976
|
*/
|
|
2926
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2977
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
2927
2978
|
}
|
|
2928
2979
|
export declare namespace Conversations {
|
|
2929
|
-
export { type AttachedConversationTag as AttachedConversationTag, type Conversation as Conversation, type ConversationAttributeValue as ConversationAttributeValue, type ConversationPart as ConversationPart, type ConversationPartAuthor as ConversationPartAuthor, type ConversationParticipant as ConversationParticipant, type ConversationTagApplication as ConversationTagApplication, type ConversationTagMutationActor as ConversationTagMutationActor, type CsatEmailDelivery as CsatEmailDelivery, type CsatRatedAgent as CsatRatedAgent, type CsatSlackDelivery as CsatSlackDelivery, type CsatWorkflowLink as CsatWorkflowLink, type EmailRecipients as EmailRecipients, type MessageSource as MessageSource, type SearchMatchingPartAuthor as SearchMatchingPartAuthor, type SlackMessageDetails as SlackMessageDetails, type ConversationDeleteResponse as ConversationDeleteResponse, type ConversationSearchResponse as ConversationSearchResponse, type ConversationsCursorPage as ConversationsCursorPage, type
|
|
2980
|
+
export { type AttachedConversationTag as AttachedConversationTag, type Conversation as Conversation, type ConversationAttributeValue as ConversationAttributeValue, type ConversationPart as ConversationPart, type ConversationPartAuthor as ConversationPartAuthor, type ConversationParticipant as ConversationParticipant, type ConversationTagApplication as ConversationTagApplication, type ConversationTagMutationActor as ConversationTagMutationActor, type CsatEmailDelivery as CsatEmailDelivery, type CsatRatedAgent as CsatRatedAgent, type CsatSlackDelivery as CsatSlackDelivery, type CsatWorkflowLink as CsatWorkflowLink, type EmailRecipients as EmailRecipients, type MessageSource as MessageSource, type SearchMatchingPartAuthor as SearchMatchingPartAuthor, type SlackMessageDetails as SlackMessageDetails, type ConversationDeleteResponse as ConversationDeleteResponse, type ConversationSearchResponse as ConversationSearchResponse, type ConversationsCursorPage as ConversationsCursorPage, type ConversationCreateParams as ConversationCreateParams, type ConversationRetrieveParams as ConversationRetrieveParams, type ConversationUpdateParams as ConversationUpdateParams, type ConversationListParams as ConversationListParams, type ConversationDeleteParams as ConversationDeleteParams, type ConversationAttachTagParams as ConversationAttachTagParams, type ConversationDetachTagParams as ConversationDetachTagParams, type ConversationRedactParams as ConversationRedactParams, type ConversationReplyParams as ConversationReplyParams, type ConversationSearchParams as ConversationSearchParams, };
|
|
2930
2981
|
export { Participants as Participants, type ParticipantAddParams as ParticipantAddParams, type ParticipantRemoveParams as ParticipantRemoveParams, };
|
|
2931
2982
|
}
|
|
2932
2983
|
//# sourceMappingURL=conversations.d.ts.map
|