featurebase-node 0.3.0 → 0.5.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 +17 -0
- package/README.md +31 -0
- package/client.d.mts +12 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -6
- package/client.d.ts.map +1 -1
- package/client.js +10 -0
- package/client.js.map +1 -1
- package/client.mjs +10 -0
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +54 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +54 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +101 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +95 -0
- package/core/pagination.mjs.map +1 -0
- package/index.d.mts +1 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/package.json +11 -1
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resources/changelogs/changelogs.d.mts +16 -60
- package/resources/changelogs/changelogs.d.mts.map +1 -1
- package/resources/changelogs/changelogs.d.ts +16 -60
- package/resources/changelogs/changelogs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.js +41 -9
- package/resources/changelogs/changelogs.js.map +1 -1
- package/resources/changelogs/changelogs.mjs +41 -9
- 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 +2 -2
- package/resources/changelogs/subscribers.d.mts.map +1 -1
- package/resources/changelogs/subscribers.d.ts +2 -2
- package/resources/changelogs/subscribers.d.ts.map +1 -1
- package/resources/changelogs/subscribers.js +10 -2
- package/resources/changelogs/subscribers.js.map +1 -1
- package/resources/changelogs/subscribers.mjs +10 -2
- package/resources/changelogs/subscribers.mjs.map +1 -1
- package/resources/feedback/boards.d.mts +2 -2
- package/resources/feedback/boards.d.mts.map +1 -1
- package/resources/feedback/boards.d.ts +2 -2
- package/resources/feedback/boards.d.ts.map +1 -1
- package/resources/feedback/boards.js +10 -2
- package/resources/feedback/boards.js.map +1 -1
- package/resources/feedback/boards.mjs +10 -2
- package/resources/feedback/boards.mjs.map +1 -1
- package/resources/feedback/comments.d.mts +15 -59
- package/resources/feedback/comments.d.mts.map +1 -1
- package/resources/feedback/comments.d.ts +15 -59
- package/resources/feedback/comments.d.ts.map +1 -1
- package/resources/feedback/comments.js +36 -8
- package/resources/feedback/comments.js.map +1 -1
- package/resources/feedback/comments.mjs +36 -8
- package/resources/feedback/comments.mjs.map +1 -1
- package/resources/feedback/custom-fields.d.mts +2 -2
- package/resources/feedback/custom-fields.d.mts.map +1 -1
- package/resources/feedback/custom-fields.d.ts +2 -2
- package/resources/feedback/custom-fields.d.ts.map +1 -1
- package/resources/feedback/custom-fields.js +10 -2
- package/resources/feedback/custom-fields.js.map +1 -1
- package/resources/feedback/custom-fields.mjs +10 -2
- package/resources/feedback/custom-fields.mjs.map +1 -1
- package/resources/feedback/feedback.d.mts +4 -4
- package/resources/feedback/feedback.d.mts.map +1 -1
- package/resources/feedback/feedback.d.ts +4 -4
- package/resources/feedback/feedback.d.ts.map +1 -1
- package/resources/feedback/feedback.mjs.map +1 -1
- package/resources/feedback/index.d.mts +2 -2
- package/resources/feedback/index.d.mts.map +1 -1
- package/resources/feedback/index.d.ts +2 -2
- package/resources/feedback/index.d.ts.map +1 -1
- package/resources/feedback/post-statuses.d.mts +2 -2
- package/resources/feedback/post-statuses.d.mts.map +1 -1
- package/resources/feedback/post-statuses.d.ts +2 -2
- package/resources/feedback/post-statuses.d.ts.map +1 -1
- package/resources/feedback/post-statuses.js +10 -2
- package/resources/feedback/post-statuses.js.map +1 -1
- package/resources/feedback/post-statuses.mjs +10 -2
- package/resources/feedback/post-statuses.mjs.map +1 -1
- package/resources/feedback/posts/index.d.mts +2 -2
- package/resources/feedback/posts/index.d.mts.map +1 -1
- package/resources/feedback/posts/index.d.ts +2 -2
- 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 +16 -61
- package/resources/feedback/posts/posts.d.mts.map +1 -1
- package/resources/feedback/posts/posts.d.ts +16 -61
- package/resources/feedback/posts/posts.d.ts.map +1 -1
- package/resources/feedback/posts/posts.js +31 -7
- package/resources/feedback/posts/posts.js.map +1 -1
- package/resources/feedback/posts/posts.mjs +31 -7
- package/resources/feedback/posts/posts.mjs.map +1 -1
- package/resources/feedback/posts/voters.d.mts +82 -127
- package/resources/feedback/posts/voters.d.mts.map +1 -1
- package/resources/feedback/posts/voters.d.ts +82 -127
- package/resources/feedback/posts/voters.d.ts.map +1 -1
- package/resources/feedback/posts/voters.js +22 -6
- package/resources/feedback/posts/voters.js.map +1 -1
- package/resources/feedback/posts/voters.mjs +22 -6
- package/resources/feedback/posts/voters.mjs.map +1 -1
- package/resources/help-center/articles.d.mts +14 -32
- package/resources/help-center/articles.d.mts.map +1 -1
- package/resources/help-center/articles.d.ts +14 -32
- package/resources/help-center/articles.d.ts.map +1 -1
- package/resources/help-center/articles.js +31 -7
- package/resources/help-center/articles.js.map +1 -1
- package/resources/help-center/articles.mjs +31 -7
- package/resources/help-center/articles.mjs.map +1 -1
- package/resources/help-center/collections.d.mts +14 -33
- package/resources/help-center/collections.d.mts.map +1 -1
- package/resources/help-center/collections.d.ts +14 -33
- package/resources/help-center/collections.d.ts.map +1 -1
- package/resources/help-center/collections.js +31 -8
- package/resources/help-center/collections.js.map +1 -1
- package/resources/help-center/collections.mjs +31 -8
- package/resources/help-center/collections.mjs.map +1 -1
- package/resources/help-center/help-center.d.mts +8 -8
- package/resources/help-center/help-center.d.mts.map +1 -1
- package/resources/help-center/help-center.d.ts +8 -8
- package/resources/help-center/help-center.d.ts.map +1 -1
- package/resources/help-center/help-center.mjs.map +1 -1
- package/resources/help-center/help-centers.d.mts +11 -30
- package/resources/help-center/help-centers.d.mts.map +1 -1
- package/resources/help-center/help-centers.d.ts +11 -30
- package/resources/help-center/help-centers.d.ts.map +1 -1
- package/resources/help-center/help-centers.js +16 -5
- package/resources/help-center/help-centers.js.map +1 -1
- package/resources/help-center/help-centers.mjs +16 -5
- 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 +15 -34
- package/resources/help-center/redirect-rules.d.mts.map +1 -1
- package/resources/help-center/redirect-rules.d.ts +15 -34
- package/resources/help-center/redirect-rules.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.js +36 -9
- package/resources/help-center/redirect-rules.js.map +1 -1
- package/resources/help-center/redirect-rules.mjs +36 -9
- package/resources/help-center/redirect-rules.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/organization/admins.d.mts +3 -3
- package/resources/organization/admins.d.mts.map +1 -1
- package/resources/organization/admins.d.ts +3 -3
- package/resources/organization/admins.d.ts.map +1 -1
- package/resources/organization/admins.js +15 -3
- package/resources/organization/admins.js.map +1 -1
- package/resources/organization/admins.mjs +15 -3
- package/resources/organization/admins.mjs.map +1 -1
- package/resources/organization/brands.d.mts +7 -28
- package/resources/organization/brands.d.mts.map +1 -1
- package/resources/organization/brands.d.ts +7 -28
- package/resources/organization/brands.d.ts.map +1 -1
- package/resources/organization/brands.js +12 -3
- package/resources/organization/brands.js.map +1 -1
- package/resources/organization/brands.mjs +12 -3
- package/resources/organization/brands.mjs.map +1 -1
- package/resources/organization/index.d.mts +1 -1
- package/resources/organization/index.d.mts.map +1 -1
- package/resources/organization/index.d.ts +1 -1
- package/resources/organization/index.d.ts.map +1 -1
- package/resources/organization/organization.d.mts +2 -2
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +2 -2
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs.map +1 -1
- package/resources/organization/teams.d.mts +2 -2
- package/resources/organization/teams.d.mts.map +1 -1
- package/resources/organization/teams.d.ts +2 -2
- package/resources/organization/teams.d.ts.map +1 -1
- package/resources/organization/teams.js +10 -2
- package/resources/organization/teams.js.map +1 -1
- package/resources/organization/teams.mjs +10 -2
- package/resources/organization/teams.mjs.map +1 -1
- package/resources/support/conversation-tags.d.mts +4 -4
- package/resources/support/conversation-tags.d.mts.map +1 -1
- package/resources/support/conversation-tags.d.ts +4 -4
- package/resources/support/conversation-tags.d.ts.map +1 -1
- package/resources/support/conversation-tags.js +20 -4
- package/resources/support/conversation-tags.js.map +1 -1
- package/resources/support/conversation-tags.mjs +20 -4
- package/resources/support/conversation-tags.mjs.map +1 -1
- package/resources/support/conversations/conversations.d.mts +17 -36
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +17 -36
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +41 -10
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +41 -10
- 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/conversations/participants.js +10 -2
- package/resources/support/conversations/participants.js.map +1 -1
- package/resources/support/conversations/participants.mjs +10 -2
- package/resources/support/conversations/participants.mjs.map +1 -1
- package/resources/support/conversations/tags.d.mts +2 -2
- package/resources/support/conversations/tags.d.mts.map +1 -1
- package/resources/support/conversations/tags.d.ts +2 -2
- package/resources/support/conversations/tags.d.ts.map +1 -1
- package/resources/support/conversations/tags.js +10 -2
- package/resources/support/conversations/tags.js.map +1 -1
- package/resources/support/conversations/tags.mjs +10 -2
- package/resources/support/conversations/tags.mjs.map +1 -1
- package/resources/support/index.d.mts +2 -2
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +2 -2
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/support.d.mts +4 -4
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +4 -4
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/support.mjs.map +1 -1
- package/resources/support/tickets/categories.d.mts +2 -2
- package/resources/support/tickets/categories.d.mts.map +1 -1
- package/resources/support/tickets/categories.d.ts +2 -2
- package/resources/support/tickets/categories.d.ts.map +1 -1
- package/resources/support/tickets/categories.js +10 -2
- package/resources/support/tickets/categories.js.map +1 -1
- package/resources/support/tickets/categories.mjs +10 -2
- package/resources/support/tickets/categories.mjs.map +1 -1
- package/resources/support/tickets/custom-fields.d.mts +2 -2
- package/resources/support/tickets/custom-fields.d.mts.map +1 -1
- package/resources/support/tickets/custom-fields.d.ts +2 -2
- package/resources/support/tickets/custom-fields.d.ts.map +1 -1
- package/resources/support/tickets/custom-fields.js +10 -2
- package/resources/support/tickets/custom-fields.js.map +1 -1
- package/resources/support/tickets/custom-fields.mjs +10 -2
- package/resources/support/tickets/custom-fields.mjs.map +1 -1
- package/resources/support/tickets/index.d.mts +1 -1
- package/resources/support/tickets/index.d.mts.map +1 -1
- package/resources/support/tickets/index.d.ts +1 -1
- package/resources/support/tickets/index.d.ts.map +1 -1
- package/resources/support/tickets/statuses.d.mts +2 -2
- package/resources/support/tickets/statuses.d.mts.map +1 -1
- package/resources/support/tickets/statuses.d.ts +2 -2
- package/resources/support/tickets/statuses.d.ts.map +1 -1
- package/resources/support/tickets/statuses.js +10 -2
- package/resources/support/tickets/statuses.js.map +1 -1
- package/resources/support/tickets/statuses.mjs +10 -2
- package/resources/support/tickets/statuses.mjs.map +1 -1
- package/resources/support/tickets/tickets.d.mts +16 -34
- package/resources/support/tickets/tickets.d.mts.map +1 -1
- package/resources/support/tickets/tickets.d.ts +16 -34
- package/resources/support/tickets/tickets.d.ts.map +1 -1
- package/resources/support/tickets/tickets.js +36 -8
- package/resources/support/tickets/tickets.js.map +1 -1
- package/resources/support/tickets/tickets.mjs +36 -8
- package/resources/support/tickets/tickets.mjs.map +1 -1
- package/resources/surveys.d.mts +37 -82
- package/resources/surveys.d.mts.map +1 -1
- package/resources/surveys.d.ts +37 -82
- package/resources/surveys.d.ts.map +1 -1
- package/resources/surveys.js +19 -6
- package/resources/surveys.js.map +1 -1
- package/resources/surveys.mjs +19 -6
- package/resources/surveys.mjs.map +1 -1
- package/resources/users/companies/companies.d.mts +14 -33
- package/resources/users/companies/companies.d.mts.map +1 -1
- package/resources/users/companies/companies.d.ts +14 -33
- package/resources/users/companies/companies.d.ts.map +1 -1
- package/resources/users/companies/companies.js +31 -7
- package/resources/users/companies/companies.js.map +1 -1
- package/resources/users/companies/companies.mjs +31 -7
- package/resources/users/companies/companies.mjs.map +1 -1
- package/resources/users/companies/contacts.d.mts +14 -19
- package/resources/users/companies/contacts.d.mts.map +1 -1
- package/resources/users/companies/contacts.d.ts +14 -19
- package/resources/users/companies/contacts.d.ts.map +1 -1
- package/resources/users/companies/contacts.js +23 -8
- package/resources/users/companies/contacts.js.map +1 -1
- package/resources/users/companies/contacts.mjs +23 -8
- package/resources/users/companies/contacts.mjs.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/by-user-id.js +10 -2
- package/resources/users/contacts/by-user-id/by-user-id.js.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.mjs +10 -2
- package/resources/users/contacts/by-user-id/by-user-id.mjs.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/by-user-id/email-preferences.js +10 -2
- package/resources/users/contacts/by-user-id/email-preferences.js.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.mjs +10 -2
- package/resources/users/contacts/by-user-id/email-preferences.mjs.map +1 -1
- package/resources/users/contacts/contacts.d.mts +15 -19
- package/resources/users/contacts/contacts.d.mts.map +1 -1
- package/resources/users/contacts/contacts.d.ts +15 -19
- package/resources/users/contacts/contacts.d.ts.map +1 -1
- package/resources/users/contacts/contacts.js +36 -8
- package/resources/users/contacts/contacts.js.map +1 -1
- package/resources/users/contacts/contacts.mjs +36 -8
- 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/email-preferences.js +10 -2
- package/resources/users/contacts/email-preferences.js.map +1 -1
- package/resources/users/contacts/email-preferences.mjs +10 -2
- package/resources/users/contacts/email-preferences.mjs.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/contacts/index.js.map +1 -1
- package/resources/users/contacts/index.mjs.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/index.js.map +1 -1
- package/resources/users/index.mjs.map +1 -1
- package/resources/users/users.d.mts +4 -4
- package/resources/users/users.d.mts.map +1 -1
- package/resources/users/users.d.ts +4 -4
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs.map +1 -1
- package/resources/webhooks.d.mts +15 -33
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +15 -33
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +36 -8
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +36 -8
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +41 -10
- package/src/core/pagination.ts +157 -0
- package/src/index.ts +1 -0
- package/src/pagination.ts +2 -0
- package/src/resources/changelogs/changelogs.ts +53 -78
- package/src/resources/changelogs/index.ts +1 -1
- package/src/resources/changelogs/subscribers.ts +12 -4
- package/src/resources/feedback/boards.ts +12 -4
- package/src/resources/feedback/comments.ts +47 -76
- package/src/resources/feedback/custom-fields.ts +12 -4
- package/src/resources/feedback/feedback.ts +4 -4
- package/src/resources/feedback/index.ts +2 -2
- package/src/resources/feedback/post-statuses.ts +12 -4
- package/src/resources/feedback/posts/index.ts +2 -1
- package/src/resources/feedback/posts/posts.ts +43 -75
- package/src/resources/feedback/posts/voters.ts +105 -146
- package/src/resources/help-center/articles.ts +41 -43
- package/src/resources/help-center/collections.ts +41 -44
- package/src/resources/help-center/help-center.ts +8 -8
- package/src/resources/help-center/help-centers.ts +23 -38
- package/src/resources/help-center/index.ts +4 -4
- package/src/resources/help-center/redirect-rules.ts +47 -46
- package/src/resources/index.ts +6 -5
- package/src/resources/organization/admins.ts +18 -6
- package/src/resources/organization/brands.ts +19 -36
- package/src/resources/organization/index.ts +1 -1
- package/src/resources/organization/organization.ts +2 -2
- package/src/resources/organization/teams.ts +12 -4
- package/src/resources/support/conversation-tags.ts +24 -8
- package/src/resources/support/conversations/conversations.ts +54 -49
- package/src/resources/support/conversations/index.ts +1 -1
- package/src/resources/support/conversations/participants.ts +12 -4
- package/src/resources/support/conversations/tags.ts +12 -4
- package/src/resources/support/index.ts +2 -2
- package/src/resources/support/support.ts +4 -4
- package/src/resources/support/tickets/categories.ts +12 -4
- package/src/resources/support/tickets/custom-fields.ts +12 -4
- package/src/resources/support/tickets/index.ts +1 -1
- package/src/resources/support/tickets/statuses.ts +12 -4
- package/src/resources/support/tickets/tickets.ts +48 -46
- package/src/resources/surveys.ts +71 -107
- package/src/resources/users/companies/companies.ts +41 -44
- package/src/resources/users/companies/contacts.ts +41 -31
- package/src/resources/users/companies/index.ts +1 -1
- package/src/resources/users/contacts/by-user-id/by-user-id.ts +12 -4
- package/src/resources/users/contacts/by-user-id/email-preferences.ts +12 -4
- package/src/resources/users/contacts/contacts.ts +50 -27
- package/src/resources/users/contacts/email-preferences.ts +12 -4
- package/src/resources/users/contacts/index.ts +1 -0
- package/src/resources/users/index.ts +2 -1
- package/src/resources/users/users.ts +4 -2
- package/src/resources/webhooks.ts +47 -45
- 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
package/src/resources/index.ts
CHANGED
|
@@ -4,7 +4,6 @@ export {
|
|
|
4
4
|
Changelogs,
|
|
5
5
|
type Changelog,
|
|
6
6
|
type PublishUnpublishSuccess,
|
|
7
|
-
type ChangelogListResponse,
|
|
8
7
|
type ChangelogDeleteResponse,
|
|
9
8
|
type ChangelogCreateParams,
|
|
10
9
|
type ChangelogRetrieveParams,
|
|
@@ -13,6 +12,7 @@ export {
|
|
|
13
12
|
type ChangelogDeleteParams,
|
|
14
13
|
type ChangelogPublishParams,
|
|
15
14
|
type ChangelogUnpublishParams,
|
|
15
|
+
type ChangelogsCursorPage,
|
|
16
16
|
} from './changelogs/changelogs';
|
|
17
17
|
export { Feedback } from './feedback/feedback';
|
|
18
18
|
export { HelpCenter } from './help-center/help-center';
|
|
@@ -22,18 +22,18 @@ export {
|
|
|
22
22
|
Surveys,
|
|
23
23
|
type Survey,
|
|
24
24
|
type SurveyNextAction,
|
|
25
|
-
type
|
|
26
|
-
type SurveyRetrieveResponsesResponse,
|
|
25
|
+
type SurveyListResponsesResponse,
|
|
27
26
|
type SurveyRetrieveParams,
|
|
28
27
|
type SurveyListParams,
|
|
29
|
-
type
|
|
28
|
+
type SurveyListResponsesParams,
|
|
29
|
+
type SurveysCursorPage,
|
|
30
|
+
type SurveyListResponsesResponsesCursorPage,
|
|
30
31
|
} from './surveys';
|
|
31
32
|
export { Users } from './users/users';
|
|
32
33
|
export {
|
|
33
34
|
Webhooks,
|
|
34
35
|
type Webhook,
|
|
35
36
|
type WebhookRequestConfigInput,
|
|
36
|
-
type WebhookListResponse,
|
|
37
37
|
type WebhookDeleteResponse,
|
|
38
38
|
type WebhookCreateParams,
|
|
39
39
|
type WebhookRetrieveParams,
|
|
@@ -41,4 +41,5 @@ export {
|
|
|
41
41
|
type WebhookListParams,
|
|
42
42
|
type WebhookDeleteParams,
|
|
43
43
|
type WebhookRefreshSecretParams,
|
|
44
|
+
type WebhooksCursorPage,
|
|
44
45
|
} from './webhooks';
|
|
@@ -38,7 +38,11 @@ export class Admins extends APIResource {
|
|
|
38
38
|
return this._client.get(path`/v2/admins/${id}`, {
|
|
39
39
|
...options,
|
|
40
40
|
headers: buildHeaders([
|
|
41
|
-
{
|
|
41
|
+
{
|
|
42
|
+
...(featurebaseVersion?.toString() != null ?
|
|
43
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
44
|
+
: undefined),
|
|
45
|
+
},
|
|
42
46
|
options?.headers,
|
|
43
47
|
]),
|
|
44
48
|
});
|
|
@@ -76,7 +80,11 @@ export class Admins extends APIResource {
|
|
|
76
80
|
return this._client.get('/v2/admins', {
|
|
77
81
|
...options,
|
|
78
82
|
headers: buildHeaders([
|
|
79
|
-
{
|
|
83
|
+
{
|
|
84
|
+
...(featurebaseVersion?.toString() != null ?
|
|
85
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
86
|
+
: undefined),
|
|
87
|
+
},
|
|
80
88
|
options?.headers,
|
|
81
89
|
]),
|
|
82
90
|
});
|
|
@@ -160,7 +168,11 @@ export class Admins extends APIResource {
|
|
|
160
168
|
return this._client.get('/v2/admins/roles', {
|
|
161
169
|
...options,
|
|
162
170
|
headers: buildHeaders([
|
|
163
|
-
{
|
|
171
|
+
{
|
|
172
|
+
...(featurebaseVersion?.toString() != null ?
|
|
173
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
174
|
+
: undefined),
|
|
175
|
+
},
|
|
164
176
|
options?.headers,
|
|
165
177
|
]),
|
|
166
178
|
});
|
|
@@ -526,7 +538,7 @@ export interface AdminRetrieveParams {
|
|
|
526
538
|
* API version for this request. Defaults to your organization's configured API
|
|
527
539
|
* version if not specified.
|
|
528
540
|
*/
|
|
529
|
-
'Featurebase-Version'?:
|
|
541
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
530
542
|
}
|
|
531
543
|
|
|
532
544
|
export interface AdminListParams {
|
|
@@ -534,7 +546,7 @@ export interface AdminListParams {
|
|
|
534
546
|
* API version for this request. Defaults to your organization's configured API
|
|
535
547
|
* version if not specified.
|
|
536
548
|
*/
|
|
537
|
-
'Featurebase-Version'?:
|
|
549
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
538
550
|
}
|
|
539
551
|
|
|
540
552
|
export interface AdminListRolesParams {
|
|
@@ -542,7 +554,7 @@ export interface AdminListRolesParams {
|
|
|
542
554
|
* API version for this request. Defaults to your organization's configured API
|
|
543
555
|
* version if not specified.
|
|
544
556
|
*/
|
|
545
|
-
'Featurebase-Version'?:
|
|
557
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
546
558
|
}
|
|
547
559
|
|
|
548
560
|
export declare namespace Admins {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { CursorPage, type CursorPageParams, PagePromise } from '../../core/pagination';
|
|
5
6
|
import { buildHeaders } from '../../internal/headers';
|
|
6
7
|
import { RequestOptions } from '../../internal/request-options';
|
|
7
8
|
import { path } from '../../internal/utils/path';
|
|
@@ -61,7 +62,11 @@ export class Brands extends APIResource {
|
|
|
61
62
|
return this._client.get(path`/v2/brands/${id}`, {
|
|
62
63
|
...options,
|
|
63
64
|
headers: buildHeaders([
|
|
64
|
-
{
|
|
65
|
+
{
|
|
66
|
+
...(featurebaseVersion?.toString() != null ?
|
|
67
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
68
|
+
: undefined),
|
|
69
|
+
},
|
|
65
70
|
options?.headers,
|
|
66
71
|
]),
|
|
67
72
|
});
|
|
@@ -123,19 +128,25 @@ export class Brands extends APIResource {
|
|
|
123
128
|
list(
|
|
124
129
|
params: BrandListParams | null | undefined = {},
|
|
125
130
|
options?: RequestOptions,
|
|
126
|
-
):
|
|
131
|
+
): PagePromise<BrandsCursorPage, Brand> {
|
|
127
132
|
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
128
|
-
return this._client.
|
|
133
|
+
return this._client.getAPIList('/v2/brands', CursorPage<Brand>, {
|
|
129
134
|
query,
|
|
130
135
|
...options,
|
|
131
136
|
headers: buildHeaders([
|
|
132
|
-
{
|
|
137
|
+
{
|
|
138
|
+
...(featurebaseVersion?.toString() != null ?
|
|
139
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
140
|
+
: undefined),
|
|
141
|
+
},
|
|
133
142
|
options?.headers,
|
|
134
143
|
]),
|
|
135
144
|
});
|
|
136
145
|
}
|
|
137
146
|
}
|
|
138
147
|
|
|
148
|
+
export type BrandsCursorPage = CursorPage<Brand>;
|
|
149
|
+
|
|
139
150
|
export interface Brand {
|
|
140
151
|
/**
|
|
141
152
|
* Featurebase internal ID
|
|
@@ -178,54 +189,26 @@ export interface Brand {
|
|
|
178
189
|
updatedAt: string | null;
|
|
179
190
|
}
|
|
180
191
|
|
|
181
|
-
export interface BrandListResponse {
|
|
182
|
-
/**
|
|
183
|
-
* Array of brands
|
|
184
|
-
*/
|
|
185
|
-
data: Array<Brand>;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* Cursor for fetching the next page (cursor-based pagination)
|
|
189
|
-
*/
|
|
190
|
-
nextCursor: string | null;
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Object type identifier
|
|
194
|
-
*/
|
|
195
|
-
object: 'list';
|
|
196
|
-
}
|
|
197
|
-
|
|
198
192
|
export interface BrandRetrieveParams {
|
|
199
193
|
/**
|
|
200
194
|
* API version for this request. Defaults to your organization's configured API
|
|
201
195
|
* version if not specified.
|
|
202
196
|
*/
|
|
203
|
-
'Featurebase-Version'?:
|
|
197
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
204
198
|
}
|
|
205
199
|
|
|
206
|
-
export interface BrandListParams {
|
|
207
|
-
/**
|
|
208
|
-
* Query param: An opaque cursor for pagination. Use the nextCursor value from a
|
|
209
|
-
* previous response to fetch the next page of results.
|
|
210
|
-
*/
|
|
211
|
-
cursor?: string;
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* Query param: A limit on the number of brands to be returned, between 1 and 100.
|
|
215
|
-
*/
|
|
216
|
-
limit?: number;
|
|
217
|
-
|
|
200
|
+
export interface BrandListParams extends CursorPageParams {
|
|
218
201
|
/**
|
|
219
202
|
* Header param: API version for this request. Defaults to your organization's
|
|
220
203
|
* configured API version if not specified.
|
|
221
204
|
*/
|
|
222
|
-
'Featurebase-Version'?:
|
|
205
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
223
206
|
}
|
|
224
207
|
|
|
225
208
|
export declare namespace Brands {
|
|
226
209
|
export {
|
|
227
210
|
type Brand as Brand,
|
|
228
|
-
type
|
|
211
|
+
type BrandsCursorPage as BrandsCursorPage,
|
|
229
212
|
type BrandRetrieveParams as BrandRetrieveParams,
|
|
230
213
|
type BrandListParams as BrandListParams,
|
|
231
214
|
};
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
Admins,
|
|
13
13
|
} from './admins';
|
|
14
14
|
import * as BrandsAPI from './brands';
|
|
15
|
-
import { Brand, BrandListParams,
|
|
15
|
+
import { Brand, BrandListParams, BrandRetrieveParams, Brands, BrandsCursorPage } from './brands';
|
|
16
16
|
import * as TeamsAPI from './teams';
|
|
17
17
|
import { Team, TeamListParams, TeamListResponse, TeamRetrieveParams, Teams } from './teams';
|
|
18
18
|
|
|
@@ -48,7 +48,7 @@ export declare namespace Organization {
|
|
|
48
48
|
export {
|
|
49
49
|
Brands as Brands,
|
|
50
50
|
type Brand as Brand,
|
|
51
|
-
type
|
|
51
|
+
type BrandsCursorPage as BrandsCursorPage,
|
|
52
52
|
type BrandRetrieveParams as BrandRetrieveParams,
|
|
53
53
|
type BrandListParams as BrandListParams,
|
|
54
54
|
};
|
|
@@ -60,7 +60,11 @@ export class Teams extends APIResource {
|
|
|
60
60
|
return this._client.get(path`/v2/teams/${id}`, {
|
|
61
61
|
...options,
|
|
62
62
|
headers: buildHeaders([
|
|
63
|
-
{
|
|
63
|
+
{
|
|
64
|
+
...(featurebaseVersion?.toString() != null ?
|
|
65
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
66
|
+
: undefined),
|
|
67
|
+
},
|
|
64
68
|
options?.headers,
|
|
65
69
|
]),
|
|
66
70
|
});
|
|
@@ -119,7 +123,11 @@ export class Teams extends APIResource {
|
|
|
119
123
|
return this._client.get('/v2/teams', {
|
|
120
124
|
...options,
|
|
121
125
|
headers: buildHeaders([
|
|
122
|
-
{
|
|
126
|
+
{
|
|
127
|
+
...(featurebaseVersion?.toString() != null ?
|
|
128
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
129
|
+
: undefined),
|
|
130
|
+
},
|
|
123
131
|
options?.headers,
|
|
124
132
|
]),
|
|
125
133
|
});
|
|
@@ -192,7 +200,7 @@ export interface TeamRetrieveParams {
|
|
|
192
200
|
* API version for this request. Defaults to your organization's configured API
|
|
193
201
|
* version if not specified.
|
|
194
202
|
*/
|
|
195
|
-
'Featurebase-Version'?:
|
|
203
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
196
204
|
}
|
|
197
205
|
|
|
198
206
|
export interface TeamListParams {
|
|
@@ -200,7 +208,7 @@ export interface TeamListParams {
|
|
|
200
208
|
* API version for this request. Defaults to your organization's configured API
|
|
201
209
|
* version if not specified.
|
|
202
210
|
*/
|
|
203
|
-
'Featurebase-Version'?:
|
|
211
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
204
212
|
}
|
|
205
213
|
|
|
206
214
|
export declare namespace Teams {
|
|
@@ -31,7 +31,11 @@ export class ConversationTags extends APIResource {
|
|
|
31
31
|
return this._client.get(path`/v2/tags/${id}`, {
|
|
32
32
|
...options,
|
|
33
33
|
headers: buildHeaders([
|
|
34
|
-
{
|
|
34
|
+
{
|
|
35
|
+
...(featurebaseVersion?.toString() != null ?
|
|
36
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
37
|
+
: undefined),
|
|
38
|
+
},
|
|
35
39
|
options?.headers,
|
|
36
40
|
]),
|
|
37
41
|
});
|
|
@@ -56,7 +60,11 @@ export class ConversationTags extends APIResource {
|
|
|
56
60
|
return this._client.get('/v2/tags', {
|
|
57
61
|
...options,
|
|
58
62
|
headers: buildHeaders([
|
|
59
|
-
{
|
|
63
|
+
{
|
|
64
|
+
...(featurebaseVersion?.toString() != null ?
|
|
65
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
66
|
+
: undefined),
|
|
67
|
+
},
|
|
60
68
|
options?.headers,
|
|
61
69
|
]),
|
|
62
70
|
});
|
|
@@ -85,7 +93,11 @@ export class ConversationTags extends APIResource {
|
|
|
85
93
|
body,
|
|
86
94
|
...options,
|
|
87
95
|
headers: buildHeaders([
|
|
88
|
-
{
|
|
96
|
+
{
|
|
97
|
+
...(featurebaseVersion?.toString() != null ?
|
|
98
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
99
|
+
: undefined),
|
|
100
|
+
},
|
|
89
101
|
options?.headers,
|
|
90
102
|
]),
|
|
91
103
|
});
|
|
@@ -112,7 +124,11 @@ export class ConversationTags extends APIResource {
|
|
|
112
124
|
body,
|
|
113
125
|
...options,
|
|
114
126
|
headers: buildHeaders([
|
|
115
|
-
{
|
|
127
|
+
{
|
|
128
|
+
...(featurebaseVersion?.toString() != null ?
|
|
129
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
130
|
+
: undefined),
|
|
131
|
+
},
|
|
116
132
|
options?.headers,
|
|
117
133
|
]),
|
|
118
134
|
});
|
|
@@ -175,7 +191,7 @@ export interface ConversationTagRetrieveParams {
|
|
|
175
191
|
* API version for this request. Defaults to your organization's configured API
|
|
176
192
|
* version if not specified.
|
|
177
193
|
*/
|
|
178
|
-
'Featurebase-Version'?:
|
|
194
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
179
195
|
}
|
|
180
196
|
|
|
181
197
|
export interface ConversationTagListParams {
|
|
@@ -183,7 +199,7 @@ export interface ConversationTagListParams {
|
|
|
183
199
|
* API version for this request. Defaults to your organization's configured API
|
|
184
200
|
* version if not specified.
|
|
185
201
|
*/
|
|
186
|
-
'Featurebase-Version'?:
|
|
202
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
187
203
|
}
|
|
188
204
|
|
|
189
205
|
export interface ConversationTagDeleteParams {
|
|
@@ -196,7 +212,7 @@ export interface ConversationTagDeleteParams {
|
|
|
196
212
|
* Header param: API version for this request. Defaults to your organization's
|
|
197
213
|
* configured API version if not specified.
|
|
198
214
|
*/
|
|
199
|
-
'Featurebase-Version'?:
|
|
215
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
200
216
|
}
|
|
201
217
|
|
|
202
218
|
export interface ConversationTagCreateOrRenameParams {
|
|
@@ -220,7 +236,7 @@ export interface ConversationTagCreateOrRenameParams {
|
|
|
220
236
|
* Header param: API version for this request. Defaults to your organization's
|
|
221
237
|
* configured API version if not specified.
|
|
222
238
|
*/
|
|
223
|
-
'Featurebase-Version'?:
|
|
239
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
224
240
|
}
|
|
225
241
|
|
|
226
242
|
export declare namespace ConversationTags {
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
Tags,
|
|
15
15
|
} from './tags';
|
|
16
16
|
import { APIPromise } from '../../../core/api-promise';
|
|
17
|
+
import { CursorPage, type CursorPageParams, PagePromise } from '../../../core/pagination';
|
|
17
18
|
import { buildHeaders } from '../../../internal/headers';
|
|
18
19
|
import { RequestOptions } from '../../../internal/request-options';
|
|
19
20
|
import { path } from '../../../internal/utils/path';
|
|
@@ -165,7 +166,11 @@ export class Conversations extends APIResource {
|
|
|
165
166
|
body,
|
|
166
167
|
...options,
|
|
167
168
|
headers: buildHeaders([
|
|
168
|
-
{
|
|
169
|
+
{
|
|
170
|
+
...(featurebaseVersion?.toString() != null ?
|
|
171
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
172
|
+
: undefined),
|
|
173
|
+
},
|
|
169
174
|
options?.headers,
|
|
170
175
|
]),
|
|
171
176
|
});
|
|
@@ -283,7 +288,11 @@ export class Conversations extends APIResource {
|
|
|
283
288
|
return this._client.get(path`/v2/conversations/${id}`, {
|
|
284
289
|
...options,
|
|
285
290
|
headers: buildHeaders([
|
|
286
|
-
{
|
|
291
|
+
{
|
|
292
|
+
...(featurebaseVersion?.toString() != null ?
|
|
293
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
294
|
+
: undefined),
|
|
295
|
+
},
|
|
287
296
|
options?.headers,
|
|
288
297
|
]),
|
|
289
298
|
});
|
|
@@ -422,7 +431,11 @@ export class Conversations extends APIResource {
|
|
|
422
431
|
body,
|
|
423
432
|
...options,
|
|
424
433
|
headers: buildHeaders([
|
|
425
|
-
{
|
|
434
|
+
{
|
|
435
|
+
...(featurebaseVersion?.toString() != null ?
|
|
436
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
437
|
+
: undefined),
|
|
438
|
+
},
|
|
426
439
|
options?.headers,
|
|
427
440
|
]),
|
|
428
441
|
});
|
|
@@ -492,20 +505,26 @@ export class Conversations extends APIResource {
|
|
|
492
505
|
*
|
|
493
506
|
* @example
|
|
494
507
|
* ```ts
|
|
495
|
-
*
|
|
496
|
-
*
|
|
508
|
+
* // Automatically fetches more pages as needed.
|
|
509
|
+
* for await (const conversation of client.support.conversations.list()) {
|
|
510
|
+
* // ...
|
|
511
|
+
* }
|
|
497
512
|
* ```
|
|
498
513
|
*/
|
|
499
514
|
list(
|
|
500
515
|
params: ConversationListParams | null | undefined = {},
|
|
501
516
|
options?: RequestOptions,
|
|
502
|
-
):
|
|
517
|
+
): PagePromise<ConversationsCursorPage, Conversation> {
|
|
503
518
|
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
504
|
-
return this._client.
|
|
519
|
+
return this._client.getAPIList('/v2/conversations', CursorPage<Conversation>, {
|
|
505
520
|
query,
|
|
506
521
|
...options,
|
|
507
522
|
headers: buildHeaders([
|
|
508
|
-
{
|
|
523
|
+
{
|
|
524
|
+
...(featurebaseVersion?.toString() != null ?
|
|
525
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
526
|
+
: undefined),
|
|
527
|
+
},
|
|
509
528
|
options?.headers,
|
|
510
529
|
]),
|
|
511
530
|
});
|
|
@@ -554,7 +573,11 @@ export class Conversations extends APIResource {
|
|
|
554
573
|
return this._client.delete(path`/v2/conversations/${id}`, {
|
|
555
574
|
...options,
|
|
556
575
|
headers: buildHeaders([
|
|
557
|
-
{
|
|
576
|
+
{
|
|
577
|
+
...(featurebaseVersion?.toString() != null ?
|
|
578
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
579
|
+
: undefined),
|
|
580
|
+
},
|
|
558
581
|
options?.headers,
|
|
559
582
|
]),
|
|
560
583
|
});
|
|
@@ -644,7 +667,11 @@ export class Conversations extends APIResource {
|
|
|
644
667
|
body,
|
|
645
668
|
...options,
|
|
646
669
|
headers: buildHeaders([
|
|
647
|
-
{
|
|
670
|
+
{
|
|
671
|
+
...(featurebaseVersion?.toString() != null ?
|
|
672
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
673
|
+
: undefined),
|
|
674
|
+
},
|
|
648
675
|
options?.headers,
|
|
649
676
|
]),
|
|
650
677
|
});
|
|
@@ -765,13 +792,19 @@ export class Conversations extends APIResource {
|
|
|
765
792
|
body,
|
|
766
793
|
...options,
|
|
767
794
|
headers: buildHeaders([
|
|
768
|
-
{
|
|
795
|
+
{
|
|
796
|
+
...(featurebaseVersion?.toString() != null ?
|
|
797
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
798
|
+
: undefined),
|
|
799
|
+
},
|
|
769
800
|
options?.headers,
|
|
770
801
|
]),
|
|
771
802
|
});
|
|
772
803
|
}
|
|
773
804
|
}
|
|
774
805
|
|
|
806
|
+
export type ConversationsCursorPage = CursorPage<Conversation>;
|
|
807
|
+
|
|
775
808
|
export interface Conversation {
|
|
776
809
|
/**
|
|
777
810
|
* Unique conversation identifier
|
|
@@ -2310,23 +2343,6 @@ export interface EmailRecipients {
|
|
|
2310
2343
|
ids?: Array<string>;
|
|
2311
2344
|
}
|
|
2312
2345
|
|
|
2313
|
-
export interface ConversationListResponse {
|
|
2314
|
-
/**
|
|
2315
|
-
* Array of conversations
|
|
2316
|
-
*/
|
|
2317
|
-
data: Array<Conversation>;
|
|
2318
|
-
|
|
2319
|
-
/**
|
|
2320
|
-
* Cursor for fetching the next page
|
|
2321
|
-
*/
|
|
2322
|
-
nextCursor: string | null;
|
|
2323
|
-
|
|
2324
|
-
/**
|
|
2325
|
-
* Object type identifier
|
|
2326
|
-
*/
|
|
2327
|
-
object: 'list';
|
|
2328
|
-
}
|
|
2329
|
-
|
|
2330
2346
|
export interface ConversationDeleteResponse {
|
|
2331
2347
|
/**
|
|
2332
2348
|
* Unique identifier of the deleted conversation
|
|
@@ -2387,7 +2403,7 @@ export interface ConversationCreateParams {
|
|
|
2387
2403
|
* Header param: API version for this request. Defaults to your organization's
|
|
2388
2404
|
* configured API version if not specified.
|
|
2389
2405
|
*/
|
|
2390
|
-
'Featurebase-Version'?:
|
|
2406
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2391
2407
|
}
|
|
2392
2408
|
|
|
2393
2409
|
export namespace ConversationCreateParams {
|
|
@@ -2448,7 +2464,7 @@ export interface ConversationRetrieveParams {
|
|
|
2448
2464
|
* API version for this request. Defaults to your organization's configured API
|
|
2449
2465
|
* version if not specified.
|
|
2450
2466
|
*/
|
|
2451
|
-
'Featurebase-Version'?:
|
|
2467
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2452
2468
|
}
|
|
2453
2469
|
|
|
2454
2470
|
export interface ConversationUpdateParams {
|
|
@@ -2501,7 +2517,7 @@ export interface ConversationUpdateParams {
|
|
|
2501
2517
|
* Header param: API version for this request. Defaults to your organization's
|
|
2502
2518
|
* configured API version if not specified.
|
|
2503
2519
|
*/
|
|
2504
|
-
'Featurebase-Version'?:
|
|
2520
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2505
2521
|
}
|
|
2506
2522
|
|
|
2507
2523
|
export namespace ConversationUpdateParams {
|
|
@@ -2534,18 +2550,7 @@ export namespace ConversationUpdateParams {
|
|
|
2534
2550
|
}
|
|
2535
2551
|
}
|
|
2536
2552
|
|
|
2537
|
-
export interface ConversationListParams {
|
|
2538
|
-
/**
|
|
2539
|
-
* Query param: An opaque cursor for pagination. Use the nextCursor value from a
|
|
2540
|
-
* previous response to fetch the next page of results.
|
|
2541
|
-
*/
|
|
2542
|
-
cursor?: string;
|
|
2543
|
-
|
|
2544
|
-
/**
|
|
2545
|
-
* Query param: A limit on the number of objects to be returned, between 1 and 100.
|
|
2546
|
-
*/
|
|
2547
|
-
limit?: number;
|
|
2548
|
-
|
|
2553
|
+
export interface ConversationListParams extends CursorPageParams {
|
|
2549
2554
|
/**
|
|
2550
2555
|
* Query param: Filter conversations by one or more tag IDs using a comma-separated
|
|
2551
2556
|
* list. Conversations must contain all provided tags.
|
|
@@ -2556,7 +2561,7 @@ export interface ConversationListParams {
|
|
|
2556
2561
|
* Header param: API version for this request. Defaults to your organization's
|
|
2557
2562
|
* configured API version if not specified.
|
|
2558
2563
|
*/
|
|
2559
|
-
'Featurebase-Version'?:
|
|
2564
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2560
2565
|
}
|
|
2561
2566
|
|
|
2562
2567
|
export interface ConversationDeleteParams {
|
|
@@ -2564,7 +2569,7 @@ export interface ConversationDeleteParams {
|
|
|
2564
2569
|
* API version for this request. Defaults to your organization's configured API
|
|
2565
2570
|
* version if not specified.
|
|
2566
2571
|
*/
|
|
2567
|
-
'Featurebase-Version'?:
|
|
2572
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2568
2573
|
}
|
|
2569
2574
|
|
|
2570
2575
|
export interface ConversationRedactParams {
|
|
@@ -2594,7 +2599,7 @@ export interface ConversationRedactParams {
|
|
|
2594
2599
|
* Header param: API version for this request. Defaults to your organization's
|
|
2595
2600
|
* configured API version if not specified.
|
|
2596
2601
|
*/
|
|
2597
|
-
'Featurebase-Version'?:
|
|
2602
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2598
2603
|
}
|
|
2599
2604
|
|
|
2600
2605
|
export type ConversationReplyParams =
|
|
@@ -2640,7 +2645,7 @@ export declare namespace ConversationReplyParams {
|
|
|
2640
2645
|
* Header param: API version for this request. Defaults to your organization's
|
|
2641
2646
|
* configured API version if not specified.
|
|
2642
2647
|
*/
|
|
2643
|
-
'Featurebase-Version'?:
|
|
2648
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2644
2649
|
}
|
|
2645
2650
|
|
|
2646
2651
|
export interface AdminReplyBody {
|
|
@@ -2677,7 +2682,7 @@ export declare namespace ConversationReplyParams {
|
|
|
2677
2682
|
* Header param: API version for this request. Defaults to your organization's
|
|
2678
2683
|
* configured API version if not specified.
|
|
2679
2684
|
*/
|
|
2680
|
-
'Featurebase-Version'?:
|
|
2685
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2681
2686
|
}
|
|
2682
2687
|
}
|
|
2683
2688
|
|
|
@@ -2695,8 +2700,8 @@ export declare namespace Conversations {
|
|
|
2695
2700
|
type CsatRatedAgent as CsatRatedAgent,
|
|
2696
2701
|
type CsatWorkflowLink as CsatWorkflowLink,
|
|
2697
2702
|
type EmailRecipients as EmailRecipients,
|
|
2698
|
-
type ConversationListResponse as ConversationListResponse,
|
|
2699
2703
|
type ConversationDeleteResponse as ConversationDeleteResponse,
|
|
2704
|
+
type ConversationsCursorPage as ConversationsCursorPage,
|
|
2700
2705
|
type ConversationCreateParams as ConversationCreateParams,
|
|
2701
2706
|
type ConversationRetrieveParams as ConversationRetrieveParams,
|
|
2702
2707
|
type ConversationUpdateParams as ConversationUpdateParams,
|
|
@@ -11,7 +11,6 @@ export {
|
|
|
11
11
|
type CsatRatedAgent,
|
|
12
12
|
type CsatWorkflowLink,
|
|
13
13
|
type EmailRecipients,
|
|
14
|
-
type ConversationListResponse,
|
|
15
14
|
type ConversationDeleteResponse,
|
|
16
15
|
type ConversationCreateParams,
|
|
17
16
|
type ConversationRetrieveParams,
|
|
@@ -20,6 +19,7 @@ export {
|
|
|
20
19
|
type ConversationDeleteParams,
|
|
21
20
|
type ConversationRedactParams,
|
|
22
21
|
type ConversationReplyParams,
|
|
22
|
+
type ConversationsCursorPage,
|
|
23
23
|
} from './conversations';
|
|
24
24
|
export { Participants, type ParticipantAddParams, type ParticipantRemoveParams } from './participants';
|
|
25
25
|
export {
|
|
@@ -112,7 +112,11 @@ export class Participants extends APIResource {
|
|
|
112
112
|
body,
|
|
113
113
|
...options,
|
|
114
114
|
headers: buildHeaders([
|
|
115
|
-
{
|
|
115
|
+
{
|
|
116
|
+
...(featurebaseVersion?.toString() != null ?
|
|
117
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
118
|
+
: undefined),
|
|
119
|
+
},
|
|
116
120
|
options?.headers,
|
|
117
121
|
]),
|
|
118
122
|
});
|
|
@@ -188,7 +192,11 @@ export class Participants extends APIResource {
|
|
|
188
192
|
body,
|
|
189
193
|
...options,
|
|
190
194
|
headers: buildHeaders([
|
|
191
|
-
{
|
|
195
|
+
{
|
|
196
|
+
...(featurebaseVersion?.toString() != null ?
|
|
197
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
198
|
+
: undefined),
|
|
199
|
+
},
|
|
192
200
|
options?.headers,
|
|
193
201
|
]),
|
|
194
202
|
});
|
|
@@ -212,7 +220,7 @@ export interface ParticipantAddParams {
|
|
|
212
220
|
* Header param: API version for this request. Defaults to your organization's
|
|
213
221
|
* configured API version if not specified.
|
|
214
222
|
*/
|
|
215
|
-
'Featurebase-Version'?:
|
|
223
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
216
224
|
}
|
|
217
225
|
|
|
218
226
|
export namespace ParticipantAddParams {
|
|
@@ -254,7 +262,7 @@ export interface ParticipantRemoveParams {
|
|
|
254
262
|
* Header param: API version for this request. Defaults to your organization's
|
|
255
263
|
* configured API version if not specified.
|
|
256
264
|
*/
|
|
257
|
-
'Featurebase-Version'?:
|
|
265
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
258
266
|
}
|
|
259
267
|
|
|
260
268
|
export declare namespace Participants {
|