featurebase-node 0.14.3 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/client.d.mts +5 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -5
- package/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/audit-logs.d.mts +3 -3
- package/resources/audit-logs.d.mts.map +1 -1
- package/resources/audit-logs.d.ts +3 -3
- package/resources/audit-logs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.d.mts +116 -116
- package/resources/changelogs/changelogs.d.mts.map +1 -1
- package/resources/changelogs/changelogs.d.ts +116 -116
- package/resources/changelogs/changelogs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.js +74 -74
- package/resources/changelogs/changelogs.js.map +1 -1
- package/resources/changelogs/changelogs.mjs +74 -74
- package/resources/changelogs/changelogs.mjs.map +1 -1
- package/resources/changelogs/index.d.mts +1 -1
- package/resources/changelogs/index.d.mts.map +1 -1
- package/resources/changelogs/index.d.ts +1 -1
- package/resources/changelogs/index.d.ts.map +1 -1
- package/resources/changelogs/subscribers.d.mts +3 -3
- package/resources/changelogs/subscribers.d.mts.map +1 -1
- package/resources/changelogs/subscribers.d.ts +3 -3
- package/resources/changelogs/subscribers.d.ts.map +1 -1
- package/resources/conversation-attributes.d.mts +17 -17
- package/resources/conversation-attributes.d.mts.map +1 -1
- package/resources/conversation-attributes.d.ts +17 -17
- package/resources/conversation-attributes.d.ts.map +1 -1
- package/resources/conversation-attributes.js +19 -19
- package/resources/conversation-attributes.js.map +1 -1
- package/resources/conversation-attributes.mjs +19 -19
- package/resources/conversation-attributes.mjs.map +1 -1
- package/resources/feedback/boards.d.mts +19 -19
- package/resources/feedback/boards.d.mts.map +1 -1
- package/resources/feedback/boards.d.ts +19 -19
- package/resources/feedback/boards.d.ts.map +1 -1
- package/resources/feedback/boards.js +20 -20
- package/resources/feedback/boards.js.map +1 -1
- package/resources/feedback/boards.mjs +20 -20
- package/resources/feedback/boards.mjs.map +1 -1
- package/resources/feedback/comments.d.mts +113 -113
- package/resources/feedback/comments.d.mts.map +1 -1
- package/resources/feedback/comments.d.ts +113 -113
- package/resources/feedback/comments.d.ts.map +1 -1
- package/resources/feedback/comments.js +93 -93
- package/resources/feedback/comments.js.map +1 -1
- package/resources/feedback/comments.mjs +93 -93
- package/resources/feedback/comments.mjs.map +1 -1
- package/resources/feedback/custom-fields.d.mts +36 -36
- package/resources/feedback/custom-fields.d.mts.map +1 -1
- package/resources/feedback/custom-fields.d.ts +36 -36
- package/resources/feedback/custom-fields.d.ts.map +1 -1
- package/resources/feedback/custom-fields.js +36 -36
- package/resources/feedback/custom-fields.js.map +1 -1
- package/resources/feedback/custom-fields.mjs +36 -36
- package/resources/feedback/custom-fields.mjs.map +1 -1
- package/resources/feedback/feedback.d.mts +5 -5
- package/resources/feedback/feedback.d.mts.map +1 -1
- package/resources/feedback/feedback.d.ts +5 -5
- package/resources/feedback/feedback.d.ts.map +1 -1
- package/resources/feedback/index.d.mts +5 -5
- package/resources/feedback/index.d.mts.map +1 -1
- package/resources/feedback/index.d.ts +5 -5
- package/resources/feedback/index.d.ts.map +1 -1
- package/resources/feedback/post-statuses.d.mts +20 -20
- package/resources/feedback/post-statuses.d.mts.map +1 -1
- package/resources/feedback/post-statuses.d.ts +20 -20
- package/resources/feedback/post-statuses.d.ts.map +1 -1
- package/resources/feedback/post-statuses.js +23 -23
- package/resources/feedback/post-statuses.js.map +1 -1
- package/resources/feedback/post-statuses.mjs +23 -23
- package/resources/feedback/post-statuses.mjs.map +1 -1
- package/resources/feedback/posts/index.d.mts +1 -1
- package/resources/feedback/posts/index.d.mts.map +1 -1
- package/resources/feedback/posts/index.d.ts +1 -1
- package/resources/feedback/posts/index.d.ts.map +1 -1
- package/resources/feedback/posts/posts.d.mts +132 -132
- package/resources/feedback/posts/posts.d.mts.map +1 -1
- package/resources/feedback/posts/posts.d.ts +132 -132
- package/resources/feedback/posts/posts.d.ts.map +1 -1
- package/resources/feedback/posts/posts.js +107 -107
- package/resources/feedback/posts/posts.js.map +1 -1
- package/resources/feedback/posts/posts.mjs +107 -107
- package/resources/feedback/posts/posts.mjs.map +1 -1
- package/resources/feedback/posts/voters.d.mts +3 -3
- package/resources/feedback/posts/voters.d.mts.map +1 -1
- package/resources/feedback/posts/voters.d.ts +3 -3
- package/resources/feedback/posts/voters.d.ts.map +1 -1
- package/resources/help-center/articles.d.mts +213 -97
- package/resources/help-center/articles.d.mts.map +1 -1
- package/resources/help-center/articles.d.ts +213 -97
- package/resources/help-center/articles.d.ts.map +1 -1
- package/resources/help-center/articles.js +73 -73
- package/resources/help-center/articles.js.map +1 -1
- package/resources/help-center/articles.mjs +73 -73
- package/resources/help-center/articles.mjs.map +1 -1
- package/resources/help-center/collections.d.mts +158 -71
- package/resources/help-center/collections.d.mts.map +1 -1
- package/resources/help-center/collections.d.ts +158 -71
- package/resources/help-center/collections.d.ts.map +1 -1
- package/resources/help-center/collections.js +65 -65
- package/resources/help-center/collections.js.map +1 -1
- package/resources/help-center/collections.mjs +65 -65
- package/resources/help-center/collections.mjs.map +1 -1
- package/resources/help-center/help-center.d.mts +4 -4
- package/resources/help-center/help-center.d.mts.map +1 -1
- package/resources/help-center/help-center.d.ts +4 -4
- package/resources/help-center/help-center.d.ts.map +1 -1
- package/resources/help-center/help-centers.d.mts +77 -48
- package/resources/help-center/help-centers.d.mts.map +1 -1
- package/resources/help-center/help-centers.d.ts +77 -48
- package/resources/help-center/help-centers.d.ts.map +1 -1
- package/resources/help-center/help-centers.js +43 -43
- package/resources/help-center/help-centers.js.map +1 -1
- package/resources/help-center/help-centers.mjs +43 -43
- package/resources/help-center/help-centers.mjs.map +1 -1
- package/resources/help-center/index.d.mts +4 -4
- package/resources/help-center/index.d.mts.map +1 -1
- package/resources/help-center/index.d.ts +4 -4
- package/resources/help-center/index.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.d.mts +124 -124
- package/resources/help-center/redirect-rules.d.mts.map +1 -1
- package/resources/help-center/redirect-rules.d.ts +124 -124
- package/resources/help-center/redirect-rules.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.js +112 -112
- package/resources/help-center/redirect-rules.js.map +1 -1
- package/resources/help-center/redirect-rules.mjs +112 -112
- package/resources/help-center/redirect-rules.mjs.map +1 -1
- package/resources/index.d.mts +5 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/organization/admins.d.mts +26 -26
- package/resources/organization/admins.d.mts.map +1 -1
- package/resources/organization/admins.d.ts +26 -26
- package/resources/organization/admins.d.ts.map +1 -1
- package/resources/organization/admins.js +25 -25
- package/resources/organization/admins.js.map +1 -1
- package/resources/organization/admins.mjs +25 -25
- package/resources/organization/admins.mjs.map +1 -1
- package/resources/organization/brands.d.mts +52 -52
- package/resources/organization/brands.d.mts.map +1 -1
- package/resources/organization/brands.d.ts +52 -52
- package/resources/organization/brands.d.ts.map +1 -1
- package/resources/organization/brands.js +54 -54
- package/resources/organization/brands.js.map +1 -1
- package/resources/organization/brands.mjs +54 -54
- package/resources/organization/brands.mjs.map +1 -1
- package/resources/organization/index.d.mts +3 -3
- package/resources/organization/index.d.mts.map +1 -1
- package/resources/organization/index.d.ts +3 -3
- package/resources/organization/index.d.ts.map +1 -1
- package/resources/organization/organization.d.mts +3 -3
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +3 -3
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/teams.d.mts +47 -47
- package/resources/organization/teams.d.mts.map +1 -1
- package/resources/organization/teams.d.ts +47 -47
- package/resources/organization/teams.d.ts.map +1 -1
- package/resources/organization/teams.js +44 -44
- package/resources/organization/teams.js.map +1 -1
- package/resources/organization/teams.mjs +44 -44
- package/resources/organization/teams.mjs.map +1 -1
- package/resources/reports.d.mts +249 -215
- package/resources/reports.d.mts.map +1 -1
- package/resources/reports.d.ts +249 -215
- package/resources/reports.d.ts.map +1 -1
- package/resources/reports.js +99 -99
- package/resources/reports.js.map +1 -1
- package/resources/reports.mjs +99 -99
- package/resources/reports.mjs.map +1 -1
- package/resources/support/conversation-tags.d.mts +43 -43
- package/resources/support/conversation-tags.d.mts.map +1 -1
- package/resources/support/conversation-tags.d.ts +43 -43
- package/resources/support/conversation-tags.d.ts.map +1 -1
- package/resources/support/conversation-tags.js +32 -32
- package/resources/support/conversation-tags.js.map +1 -1
- package/resources/support/conversation-tags.mjs +32 -32
- package/resources/support/conversation-tags.mjs.map +1 -1
- package/resources/support/conversations/conversations.d.mts +337 -327
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +337 -327
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +293 -283
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +293 -283
- package/resources/support/conversations/conversations.mjs.map +1 -1
- package/resources/support/conversations/index.d.mts +1 -1
- package/resources/support/conversations/index.d.mts.map +1 -1
- package/resources/support/conversations/index.d.ts +1 -1
- package/resources/support/conversations/index.d.ts.map +1 -1
- package/resources/support/conversations/participants.d.mts +2 -2
- package/resources/support/conversations/participants.d.mts.map +1 -1
- package/resources/support/conversations/participants.d.ts +2 -2
- package/resources/support/conversations/participants.d.ts.map +1 -1
- package/resources/support/index.d.mts +3 -3
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +3 -3
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/support.d.mts +3 -3
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +3 -3
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/tickets/categories.d.mts +20 -20
- package/resources/support/tickets/categories.d.mts.map +1 -1
- package/resources/support/tickets/categories.d.ts +20 -20
- package/resources/support/tickets/categories.d.ts.map +1 -1
- package/resources/support/tickets/categories.js +25 -25
- package/resources/support/tickets/categories.js.map +1 -1
- package/resources/support/tickets/categories.mjs +25 -25
- package/resources/support/tickets/categories.mjs.map +1 -1
- package/resources/support/tickets/custom-fields.d.mts +22 -22
- package/resources/support/tickets/custom-fields.d.mts.map +1 -1
- package/resources/support/tickets/custom-fields.d.ts +22 -22
- package/resources/support/tickets/custom-fields.d.ts.map +1 -1
- package/resources/support/tickets/custom-fields.js +19 -19
- package/resources/support/tickets/custom-fields.js.map +1 -1
- package/resources/support/tickets/custom-fields.mjs +19 -19
- package/resources/support/tickets/custom-fields.mjs.map +1 -1
- package/resources/support/tickets/index.d.mts +4 -4
- package/resources/support/tickets/index.d.mts.map +1 -1
- package/resources/support/tickets/index.d.ts +4 -4
- package/resources/support/tickets/index.d.ts.map +1 -1
- package/resources/support/tickets/statuses.d.mts +19 -19
- package/resources/support/tickets/statuses.d.mts.map +1 -1
- package/resources/support/tickets/statuses.d.ts +19 -19
- package/resources/support/tickets/statuses.d.ts.map +1 -1
- package/resources/support/tickets/statuses.js +21 -21
- package/resources/support/tickets/statuses.js.map +1 -1
- package/resources/support/tickets/statuses.mjs +21 -21
- package/resources/support/tickets/statuses.mjs.map +1 -1
- package/resources/support/tickets/tickets.d.mts +75 -75
- package/resources/support/tickets/tickets.d.mts.map +1 -1
- package/resources/support/tickets/tickets.d.ts +75 -75
- package/resources/support/tickets/tickets.d.ts.map +1 -1
- package/resources/support/tickets/tickets.js +44 -44
- package/resources/support/tickets/tickets.js.map +1 -1
- package/resources/support/tickets/tickets.mjs +44 -44
- package/resources/support/tickets/tickets.mjs.map +1 -1
- package/resources/surveys.d.mts +43 -43
- package/resources/surveys.d.mts.map +1 -1
- package/resources/surveys.d.ts +43 -43
- package/resources/surveys.d.ts.map +1 -1
- package/resources/surveys.js +44 -44
- package/resources/surveys.js.map +1 -1
- package/resources/surveys.mjs +44 -44
- package/resources/surveys.mjs.map +1 -1
- package/resources/users/companies/companies.d.mts +121 -130
- package/resources/users/companies/companies.d.mts.map +1 -1
- package/resources/users/companies/companies.d.ts +121 -130
- package/resources/users/companies/companies.d.ts.map +1 -1
- package/resources/users/companies/companies.js +125 -125
- package/resources/users/companies/companies.js.map +1 -1
- package/resources/users/companies/companies.mjs +125 -125
- package/resources/users/companies/companies.mjs.map +1 -1
- package/resources/users/companies/contacts.d.mts +3 -3
- package/resources/users/companies/contacts.d.mts.map +1 -1
- package/resources/users/companies/contacts.d.ts +3 -3
- package/resources/users/companies/contacts.d.ts.map +1 -1
- package/resources/users/companies/index.d.mts +1 -1
- package/resources/users/companies/index.d.mts.map +1 -1
- package/resources/users/companies/index.d.ts +1 -1
- package/resources/users/companies/index.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.d.mts +2 -2
- package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.d.ts +2 -2
- package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.d.mts +2 -2
- package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.d.ts +2 -2
- package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
- package/resources/users/contacts/contacts.d.mts +249 -235
- package/resources/users/contacts/contacts.d.mts.map +1 -1
- package/resources/users/contacts/contacts.d.ts +249 -235
- package/resources/users/contacts/contacts.d.ts.map +1 -1
- package/resources/users/contacts/contacts.js +211 -184
- package/resources/users/contacts/contacts.js.map +1 -1
- package/resources/users/contacts/contacts.mjs +211 -184
- package/resources/users/contacts/contacts.mjs.map +1 -1
- package/resources/users/contacts/email-preferences.d.mts +2 -2
- package/resources/users/contacts/email-preferences.d.mts.map +1 -1
- package/resources/users/contacts/email-preferences.d.ts +2 -2
- package/resources/users/contacts/email-preferences.d.ts.map +1 -1
- package/resources/users/contacts/index.d.mts +1 -1
- package/resources/users/contacts/index.d.mts.map +1 -1
- package/resources/users/contacts/index.d.ts +1 -1
- package/resources/users/contacts/index.d.ts.map +1 -1
- package/resources/users/index.d.mts +2 -2
- package/resources/users/index.d.mts.map +1 -1
- package/resources/users/index.d.ts +2 -2
- package/resources/users/index.d.ts.map +1 -1
- package/resources/users/users.d.mts +2 -2
- package/resources/users/users.d.mts.map +1 -1
- package/resources/users/users.d.ts +2 -2
- package/resources/users/users.d.ts.map +1 -1
- package/resources/webhooks.d.mts +83 -83
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +83 -83
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +77 -77
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +77 -77
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +6 -6
- package/src/resources/audit-logs.ts +7 -1
- package/src/resources/changelogs/changelogs.ts +320 -175
- package/src/resources/changelogs/index.ts +1 -1
- package/src/resources/changelogs/subscribers.ts +31 -2
- package/src/resources/conversation-attributes.ts +34 -34
- package/src/resources/feedback/boards.ts +30 -30
- package/src/resources/feedback/comments.ts +137 -137
- package/src/resources/feedback/custom-fields.ts +46 -46
- package/src/resources/feedback/feedback.ts +6 -6
- package/src/resources/feedback/index.ts +6 -6
- package/src/resources/feedback/post-statuses.ts +33 -33
- package/src/resources/feedback/posts/index.ts +2 -2
- package/src/resources/feedback/posts/posts.ts +176 -176
- package/src/resources/feedback/posts/voters.ts +3 -3
- package/src/resources/help-center/articles.ts +631 -109
- package/src/resources/help-center/collections.ts +349 -88
- package/src/resources/help-center/help-center.ts +5 -5
- package/src/resources/help-center/help-centers.ts +202 -57
- package/src/resources/help-center/index.ts +5 -5
- package/src/resources/help-center/redirect-rules.ts +294 -178
- package/src/resources/index.ts +6 -6
- package/src/resources/organization/admins.ts +36 -36
- package/src/resources/organization/brands.ts +68 -68
- package/src/resources/organization/index.ts +3 -3
- package/src/resources/organization/organization.ts +3 -3
- package/src/resources/organization/teams.ts +54 -54
- package/src/resources/reports.ts +311 -262
- package/src/resources/support/conversation-tags.ts +62 -62
- package/src/resources/support/conversations/conversations.ts +429 -419
- package/src/resources/support/conversations/index.ts +4 -4
- package/src/resources/support/conversations/participants.ts +2 -2
- package/src/resources/support/index.ts +7 -7
- package/src/resources/support/support.ts +7 -7
- package/src/resources/support/tickets/categories.ts +35 -35
- package/src/resources/support/tickets/custom-fields.ts +29 -29
- package/src/resources/support/tickets/index.ts +4 -4
- package/src/resources/support/tickets/statuses.ts +31 -31
- package/src/resources/support/tickets/tickets.ts +101 -101
- package/src/resources/surveys.ts +60 -60
- package/src/resources/users/companies/companies.ts +158 -172
- package/src/resources/users/companies/contacts.ts +3 -3
- package/src/resources/users/companies/index.ts +2 -2
- package/src/resources/users/contacts/by-user-id/by-user-id.ts +2 -2
- package/src/resources/users/contacts/by-user-id/email-preferences.ts +2 -2
- package/src/resources/users/contacts/contacts.ts +284 -280
- package/src/resources/users/contacts/email-preferences.ts +2 -2
- package/src/resources/users/contacts/index.ts +3 -3
- package/src/resources/users/index.ts +5 -5
- package/src/resources/users/users.ts +5 -5
- package/src/resources/webhooks.ts +106 -100
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -350,7 +350,7 @@ export interface EmailPreferenceRetrieveParams {
|
|
|
350
350
|
* API version for this request. Defaults to your organization's configured API
|
|
351
351
|
* version if not specified.
|
|
352
352
|
*/
|
|
353
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
353
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
export interface EmailPreferenceUpdateParams {
|
|
@@ -363,7 +363,7 @@ export interface EmailPreferenceUpdateParams {
|
|
|
363
363
|
* Header param: API version for this request. Defaults to your organization's
|
|
364
364
|
* configured API version if not specified.
|
|
365
365
|
*/
|
|
366
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
366
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
export namespace EmailPreferenceUpdateParams {
|
|
@@ -16,13 +16,13 @@ export {
|
|
|
16
16
|
type ContactCreateOrUpdateResponse,
|
|
17
17
|
type ContactSearchResponse,
|
|
18
18
|
type ContactUnblockResponse,
|
|
19
|
-
type ContactListParams,
|
|
20
|
-
type ContactCreateOrUpdateParams,
|
|
21
19
|
type ContactRetrieveParams,
|
|
20
|
+
type ContactListParams,
|
|
22
21
|
type ContactDeleteParams,
|
|
23
22
|
type ContactBlockParams,
|
|
24
|
-
type
|
|
23
|
+
type ContactCreateOrUpdateParams,
|
|
25
24
|
type ContactSearchParams,
|
|
25
|
+
type ContactUnblockParams,
|
|
26
26
|
type ContactListDataCursorPage,
|
|
27
27
|
} from './contacts';
|
|
28
28
|
export {
|
|
@@ -5,10 +5,10 @@ export {
|
|
|
5
5
|
type Company,
|
|
6
6
|
type DeletedCompany,
|
|
7
7
|
type CompanySearchResponse,
|
|
8
|
-
type CompanyListParams,
|
|
9
|
-
type CompanyCreateOrUpdateParams,
|
|
10
8
|
type CompanyRetrieveParams,
|
|
9
|
+
type CompanyListParams,
|
|
11
10
|
type CompanyDeleteParams,
|
|
11
|
+
type CompanyCreateOrUpdateParams,
|
|
12
12
|
type CompanyDeleteByCompanyIDParams,
|
|
13
13
|
type CompanySearchParams,
|
|
14
14
|
type CompaniesCursorPage,
|
|
@@ -23,13 +23,13 @@ export {
|
|
|
23
23
|
type ContactCreateOrUpdateResponse,
|
|
24
24
|
type ContactSearchResponse,
|
|
25
25
|
type ContactUnblockResponse,
|
|
26
|
-
type ContactListParams,
|
|
27
|
-
type ContactCreateOrUpdateParams,
|
|
28
26
|
type ContactRetrieveParams,
|
|
27
|
+
type ContactListParams,
|
|
29
28
|
type ContactDeleteParams,
|
|
30
29
|
type ContactBlockParams,
|
|
31
|
-
type
|
|
30
|
+
type ContactCreateOrUpdateParams,
|
|
32
31
|
type ContactSearchParams,
|
|
32
|
+
type ContactUnblockParams,
|
|
33
33
|
type ContactListDataCursorPage,
|
|
34
34
|
} from './contacts/index';
|
|
35
35
|
export { Users } from './users';
|
|
@@ -56,13 +56,13 @@ export declare namespace Users {
|
|
|
56
56
|
type ContactSearchResponse as ContactSearchResponse,
|
|
57
57
|
type ContactUnblockResponse as ContactUnblockResponse,
|
|
58
58
|
type ContactListDataCursorPage as ContactListDataCursorPage,
|
|
59
|
-
type ContactListParams as ContactListParams,
|
|
60
|
-
type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams,
|
|
61
59
|
type ContactRetrieveParams as ContactRetrieveParams,
|
|
60
|
+
type ContactListParams as ContactListParams,
|
|
62
61
|
type ContactDeleteParams as ContactDeleteParams,
|
|
63
62
|
type ContactBlockParams as ContactBlockParams,
|
|
64
|
-
type
|
|
63
|
+
type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams,
|
|
65
64
|
type ContactSearchParams as ContactSearchParams,
|
|
65
|
+
type ContactUnblockParams as ContactUnblockParams,
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
export {
|
|
@@ -71,10 +71,10 @@ export declare namespace Users {
|
|
|
71
71
|
type DeletedCompany as DeletedCompany,
|
|
72
72
|
type CompanySearchResponse as CompanySearchResponse,
|
|
73
73
|
type CompaniesCursorPage as CompaniesCursorPage,
|
|
74
|
-
type CompanyListParams as CompanyListParams,
|
|
75
|
-
type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams,
|
|
76
74
|
type CompanyRetrieveParams as CompanyRetrieveParams,
|
|
75
|
+
type CompanyListParams as CompanyListParams,
|
|
77
76
|
type CompanyDeleteParams as CompanyDeleteParams,
|
|
77
|
+
type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams,
|
|
78
78
|
type CompanyDeleteByCompanyIDParams as CompanyDeleteByCompanyIDParams,
|
|
79
79
|
type CompanySearchParams as CompanySearchParams,
|
|
80
80
|
};
|
|
@@ -11,87 +11,6 @@ import { path } from '../internal/utils/path';
|
|
|
11
11
|
* Webhooks allow you to receive real-time HTTP callbacks when events occur in your Featurebase organization. Configure webhook endpoints to subscribe to specific event types.
|
|
12
12
|
*/
|
|
13
13
|
export class Webhooks extends APIResource {
|
|
14
|
-
/**
|
|
15
|
-
* Returns a list of webhooks in your organization using cursor-based pagination.
|
|
16
|
-
*
|
|
17
|
-
* ### Query Parameters
|
|
18
|
-
*
|
|
19
|
-
* - `limit` - Number of webhooks to return (1-100, default 10)
|
|
20
|
-
* - `cursor` - Cursor from previous response for pagination
|
|
21
|
-
* - `status` - Filter by status: "active", "paused", or "suspended"
|
|
22
|
-
*
|
|
23
|
-
* ### Response Format
|
|
24
|
-
*
|
|
25
|
-
* Returns a list object with:
|
|
26
|
-
*
|
|
27
|
-
* - `object` - Always "list"
|
|
28
|
-
* - `data` - Array of webhook objects
|
|
29
|
-
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
30
|
-
*
|
|
31
|
-
* ### Webhook Object
|
|
32
|
-
*
|
|
33
|
-
* Each webhook includes:
|
|
34
|
-
*
|
|
35
|
-
* - `id` - Unique webhook identifier
|
|
36
|
-
* - `name` - Human-readable webhook name
|
|
37
|
-
* - `url` - Webhook endpoint URL
|
|
38
|
-
* - `topics` - Array of subscribed event topics
|
|
39
|
-
* - `status` - Current status ("active", "paused", "suspended")
|
|
40
|
-
* - `health` - Health metrics (response times, error counts)
|
|
41
|
-
* - `createdAt` - Creation timestamp
|
|
42
|
-
* - `updatedAt` - Last update timestamp
|
|
43
|
-
*
|
|
44
|
-
* ### Example
|
|
45
|
-
*
|
|
46
|
-
* ```json
|
|
47
|
-
* {
|
|
48
|
-
* "object": "list",
|
|
49
|
-
* "data": [
|
|
50
|
-
* {
|
|
51
|
-
* "object": "webhook",
|
|
52
|
-
* "id": "507f1f77bcf86cd799439011",
|
|
53
|
-
* "name": "Production Webhook",
|
|
54
|
-
* "url": "https://example.com/webhooks",
|
|
55
|
-
* "topics": ["post.created", "post.updated"],
|
|
56
|
-
* "status": "active",
|
|
57
|
-
* ...
|
|
58
|
-
* }
|
|
59
|
-
* ],
|
|
60
|
-
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
61
|
-
* }
|
|
62
|
-
* ```
|
|
63
|
-
*
|
|
64
|
-
* ### Version Availability
|
|
65
|
-
*
|
|
66
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
67
|
-
*
|
|
68
|
-
* @example
|
|
69
|
-
* ```ts
|
|
70
|
-
* // Automatically fetches more pages as needed.
|
|
71
|
-
* for await (const webhook of client.webhooks.list()) {
|
|
72
|
-
* // ...
|
|
73
|
-
* }
|
|
74
|
-
* ```
|
|
75
|
-
*/
|
|
76
|
-
list(
|
|
77
|
-
params: WebhookListParams | null | undefined = {},
|
|
78
|
-
options?: RequestOptions,
|
|
79
|
-
): PagePromise<WebhooksCursorPage, Webhook> {
|
|
80
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
81
|
-
return this._client.getAPIList('/v2/webhooks', CursorPage<Webhook>, {
|
|
82
|
-
query,
|
|
83
|
-
...options,
|
|
84
|
-
headers: buildHeaders([
|
|
85
|
-
{
|
|
86
|
-
...(featurebaseVersion?.toString() != null ?
|
|
87
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
88
|
-
: undefined),
|
|
89
|
-
},
|
|
90
|
-
options?.headers,
|
|
91
|
-
]),
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
|
|
95
14
|
/**
|
|
96
15
|
* Creates a new webhook to receive event notifications.
|
|
97
16
|
*
|
|
@@ -371,6 +290,87 @@ export class Webhooks extends APIResource {
|
|
|
371
290
|
});
|
|
372
291
|
}
|
|
373
292
|
|
|
293
|
+
/**
|
|
294
|
+
* Returns a list of webhooks in your organization using cursor-based pagination.
|
|
295
|
+
*
|
|
296
|
+
* ### Query Parameters
|
|
297
|
+
*
|
|
298
|
+
* - `limit` - Number of webhooks to return (1-100, default 10)
|
|
299
|
+
* - `cursor` - Cursor from previous response for pagination
|
|
300
|
+
* - `status` - Filter by status: "active", "paused", or "suspended"
|
|
301
|
+
*
|
|
302
|
+
* ### Response Format
|
|
303
|
+
*
|
|
304
|
+
* Returns a list object with:
|
|
305
|
+
*
|
|
306
|
+
* - `object` - Always "list"
|
|
307
|
+
* - `data` - Array of webhook objects
|
|
308
|
+
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
309
|
+
*
|
|
310
|
+
* ### Webhook Object
|
|
311
|
+
*
|
|
312
|
+
* Each webhook includes:
|
|
313
|
+
*
|
|
314
|
+
* - `id` - Unique webhook identifier
|
|
315
|
+
* - `name` - Human-readable webhook name
|
|
316
|
+
* - `url` - Webhook endpoint URL
|
|
317
|
+
* - `topics` - Array of subscribed event topics
|
|
318
|
+
* - `status` - Current status ("active", "paused", "suspended")
|
|
319
|
+
* - `health` - Health metrics (response times, error counts)
|
|
320
|
+
* - `createdAt` - Creation timestamp
|
|
321
|
+
* - `updatedAt` - Last update timestamp
|
|
322
|
+
*
|
|
323
|
+
* ### Example
|
|
324
|
+
*
|
|
325
|
+
* ```json
|
|
326
|
+
* {
|
|
327
|
+
* "object": "list",
|
|
328
|
+
* "data": [
|
|
329
|
+
* {
|
|
330
|
+
* "object": "webhook",
|
|
331
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
332
|
+
* "name": "Production Webhook",
|
|
333
|
+
* "url": "https://example.com/webhooks",
|
|
334
|
+
* "topics": ["post.created", "post.updated"],
|
|
335
|
+
* "status": "active",
|
|
336
|
+
* ...
|
|
337
|
+
* }
|
|
338
|
+
* ],
|
|
339
|
+
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
340
|
+
* }
|
|
341
|
+
* ```
|
|
342
|
+
*
|
|
343
|
+
* ### Version Availability
|
|
344
|
+
*
|
|
345
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
346
|
+
*
|
|
347
|
+
* @example
|
|
348
|
+
* ```ts
|
|
349
|
+
* // Automatically fetches more pages as needed.
|
|
350
|
+
* for await (const webhook of client.webhooks.list()) {
|
|
351
|
+
* // ...
|
|
352
|
+
* }
|
|
353
|
+
* ```
|
|
354
|
+
*/
|
|
355
|
+
list(
|
|
356
|
+
params: WebhookListParams | null | undefined = {},
|
|
357
|
+
options?: RequestOptions,
|
|
358
|
+
): PagePromise<WebhooksCursorPage, Webhook> {
|
|
359
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
360
|
+
return this._client.getAPIList('/v2/webhooks', CursorPage<Webhook>, {
|
|
361
|
+
query,
|
|
362
|
+
...options,
|
|
363
|
+
headers: buildHeaders([
|
|
364
|
+
{
|
|
365
|
+
...(featurebaseVersion?.toString() != null ?
|
|
366
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
367
|
+
: undefined),
|
|
368
|
+
},
|
|
369
|
+
options?.headers,
|
|
370
|
+
]),
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
|
|
374
374
|
/**
|
|
375
375
|
* Permanently deletes a webhook.
|
|
376
376
|
*
|
|
@@ -569,6 +569,8 @@ export interface Webhook {
|
|
|
569
569
|
| 'conversation.read'
|
|
570
570
|
| 'conversation_part.redacted'
|
|
571
571
|
| 'audit_log.created'
|
|
572
|
+
| 'admin.away.updated'
|
|
573
|
+
| 'admin.assignment_limit.updated'
|
|
572
574
|
>;
|
|
573
575
|
|
|
574
576
|
/**
|
|
@@ -675,19 +677,6 @@ export interface WebhookDeleteResponse {
|
|
|
675
677
|
object: 'webhook';
|
|
676
678
|
}
|
|
677
679
|
|
|
678
|
-
export interface WebhookListParams extends CursorPageParams {
|
|
679
|
-
/**
|
|
680
|
-
* Query param: Filter webhooks by status
|
|
681
|
-
*/
|
|
682
|
-
status?: 'active' | 'paused' | 'suspended';
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
686
|
-
* configured API version if not specified.
|
|
687
|
-
*/
|
|
688
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
689
|
-
}
|
|
690
|
-
|
|
691
680
|
export interface WebhookCreateParams {
|
|
692
681
|
/**
|
|
693
682
|
* Body param: Human-readable name for the webhook
|
|
@@ -726,6 +715,8 @@ export interface WebhookCreateParams {
|
|
|
726
715
|
| 'conversation.read'
|
|
727
716
|
| 'conversation_part.redacted'
|
|
728
717
|
| 'audit_log.created'
|
|
718
|
+
| 'admin.away.updated'
|
|
719
|
+
| 'admin.assignment_limit.updated'
|
|
729
720
|
>;
|
|
730
721
|
|
|
731
722
|
/**
|
|
@@ -747,7 +738,7 @@ export interface WebhookCreateParams {
|
|
|
747
738
|
* Header param: API version for this request. Defaults to your organization's
|
|
748
739
|
* configured API version if not specified.
|
|
749
740
|
*/
|
|
750
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
741
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
751
742
|
}
|
|
752
743
|
|
|
753
744
|
export interface WebhookRetrieveParams {
|
|
@@ -755,7 +746,7 @@ export interface WebhookRetrieveParams {
|
|
|
755
746
|
* API version for this request. Defaults to your organization's configured API
|
|
756
747
|
* version if not specified.
|
|
757
748
|
*/
|
|
758
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
749
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
759
750
|
}
|
|
760
751
|
|
|
761
752
|
export interface WebhookUpdateParams {
|
|
@@ -811,6 +802,8 @@ export interface WebhookUpdateParams {
|
|
|
811
802
|
| 'conversation.read'
|
|
812
803
|
| 'conversation_part.redacted'
|
|
813
804
|
| 'audit_log.created'
|
|
805
|
+
| 'admin.away.updated'
|
|
806
|
+
| 'admin.assignment_limit.updated'
|
|
814
807
|
>;
|
|
815
808
|
|
|
816
809
|
/**
|
|
@@ -822,7 +815,20 @@ export interface WebhookUpdateParams {
|
|
|
822
815
|
* Header param: API version for this request. Defaults to your organization's
|
|
823
816
|
* configured API version if not specified.
|
|
824
817
|
*/
|
|
825
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
818
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
export interface WebhookListParams extends CursorPageParams {
|
|
822
|
+
/**
|
|
823
|
+
* Query param: Filter webhooks by status
|
|
824
|
+
*/
|
|
825
|
+
status?: 'active' | 'paused' | 'suspended';
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
829
|
+
* configured API version if not specified.
|
|
830
|
+
*/
|
|
831
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
826
832
|
}
|
|
827
833
|
|
|
828
834
|
export interface WebhookDeleteParams {
|
|
@@ -830,7 +836,7 @@ export interface WebhookDeleteParams {
|
|
|
830
836
|
* API version for this request. Defaults to your organization's configured API
|
|
831
837
|
* version if not specified.
|
|
832
838
|
*/
|
|
833
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
839
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
834
840
|
}
|
|
835
841
|
|
|
836
842
|
export interface WebhookRefreshSecretParams {
|
|
@@ -838,7 +844,7 @@ export interface WebhookRefreshSecretParams {
|
|
|
838
844
|
* API version for this request. Defaults to your organization's configured API
|
|
839
845
|
* version if not specified.
|
|
840
846
|
*/
|
|
841
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
847
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
842
848
|
}
|
|
843
849
|
|
|
844
850
|
export declare namespace Webhooks {
|
|
@@ -847,10 +853,10 @@ export declare namespace Webhooks {
|
|
|
847
853
|
type WebhookRequestConfigInput as WebhookRequestConfigInput,
|
|
848
854
|
type WebhookDeleteResponse as WebhookDeleteResponse,
|
|
849
855
|
type WebhooksCursorPage as WebhooksCursorPage,
|
|
850
|
-
type WebhookListParams as WebhookListParams,
|
|
851
856
|
type WebhookCreateParams as WebhookCreateParams,
|
|
852
857
|
type WebhookRetrieveParams as WebhookRetrieveParams,
|
|
853
858
|
type WebhookUpdateParams as WebhookUpdateParams,
|
|
859
|
+
type WebhookListParams as WebhookListParams,
|
|
854
860
|
type WebhookDeleteParams as WebhookDeleteParams,
|
|
855
861
|
type WebhookRefreshSecretParams as WebhookRefreshSecretParams,
|
|
856
862
|
};
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.15.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.15.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.15.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.15.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|