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
package/resources/webhooks.js
CHANGED
|
@@ -10,83 +10,6 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
10
10
|
* 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.
|
|
11
11
|
*/
|
|
12
12
|
class Webhooks extends resource_1.APIResource {
|
|
13
|
-
/**
|
|
14
|
-
* Returns a list of webhooks in your organization using cursor-based pagination.
|
|
15
|
-
*
|
|
16
|
-
* ### Query Parameters
|
|
17
|
-
*
|
|
18
|
-
* - `limit` - Number of webhooks to return (1-100, default 10)
|
|
19
|
-
* - `cursor` - Cursor from previous response for pagination
|
|
20
|
-
* - `status` - Filter by status: "active", "paused", or "suspended"
|
|
21
|
-
*
|
|
22
|
-
* ### Response Format
|
|
23
|
-
*
|
|
24
|
-
* Returns a list object with:
|
|
25
|
-
*
|
|
26
|
-
* - `object` - Always "list"
|
|
27
|
-
* - `data` - Array of webhook objects
|
|
28
|
-
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
29
|
-
*
|
|
30
|
-
* ### Webhook Object
|
|
31
|
-
*
|
|
32
|
-
* Each webhook includes:
|
|
33
|
-
*
|
|
34
|
-
* - `id` - Unique webhook identifier
|
|
35
|
-
* - `name` - Human-readable webhook name
|
|
36
|
-
* - `url` - Webhook endpoint URL
|
|
37
|
-
* - `topics` - Array of subscribed event topics
|
|
38
|
-
* - `status` - Current status ("active", "paused", "suspended")
|
|
39
|
-
* - `health` - Health metrics (response times, error counts)
|
|
40
|
-
* - `createdAt` - Creation timestamp
|
|
41
|
-
* - `updatedAt` - Last update timestamp
|
|
42
|
-
*
|
|
43
|
-
* ### Example
|
|
44
|
-
*
|
|
45
|
-
* ```json
|
|
46
|
-
* {
|
|
47
|
-
* "object": "list",
|
|
48
|
-
* "data": [
|
|
49
|
-
* {
|
|
50
|
-
* "object": "webhook",
|
|
51
|
-
* "id": "507f1f77bcf86cd799439011",
|
|
52
|
-
* "name": "Production Webhook",
|
|
53
|
-
* "url": "https://example.com/webhooks",
|
|
54
|
-
* "topics": ["post.created", "post.updated"],
|
|
55
|
-
* "status": "active",
|
|
56
|
-
* ...
|
|
57
|
-
* }
|
|
58
|
-
* ],
|
|
59
|
-
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
60
|
-
* }
|
|
61
|
-
* ```
|
|
62
|
-
*
|
|
63
|
-
* ### Version Availability
|
|
64
|
-
*
|
|
65
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* ```ts
|
|
69
|
-
* // Automatically fetches more pages as needed.
|
|
70
|
-
* for await (const webhook of client.webhooks.list()) {
|
|
71
|
-
* // ...
|
|
72
|
-
* }
|
|
73
|
-
* ```
|
|
74
|
-
*/
|
|
75
|
-
list(params = {}, options) {
|
|
76
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
77
|
-
return this._client.getAPIList('/v2/webhooks', (pagination_1.CursorPage), {
|
|
78
|
-
query,
|
|
79
|
-
...options,
|
|
80
|
-
headers: (0, headers_1.buildHeaders)([
|
|
81
|
-
{
|
|
82
|
-
...(featurebaseVersion?.toString() != null ?
|
|
83
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
84
|
-
: undefined),
|
|
85
|
-
},
|
|
86
|
-
options?.headers,
|
|
87
|
-
]),
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
13
|
/**
|
|
91
14
|
* Creates a new webhook to receive event notifications.
|
|
92
15
|
*
|
|
@@ -359,6 +282,83 @@ class Webhooks extends resource_1.APIResource {
|
|
|
359
282
|
]),
|
|
360
283
|
});
|
|
361
284
|
}
|
|
285
|
+
/**
|
|
286
|
+
* Returns a list of webhooks in your organization using cursor-based pagination.
|
|
287
|
+
*
|
|
288
|
+
* ### Query Parameters
|
|
289
|
+
*
|
|
290
|
+
* - `limit` - Number of webhooks to return (1-100, default 10)
|
|
291
|
+
* - `cursor` - Cursor from previous response for pagination
|
|
292
|
+
* - `status` - Filter by status: "active", "paused", or "suspended"
|
|
293
|
+
*
|
|
294
|
+
* ### Response Format
|
|
295
|
+
*
|
|
296
|
+
* Returns a list object with:
|
|
297
|
+
*
|
|
298
|
+
* - `object` - Always "list"
|
|
299
|
+
* - `data` - Array of webhook objects
|
|
300
|
+
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
301
|
+
*
|
|
302
|
+
* ### Webhook Object
|
|
303
|
+
*
|
|
304
|
+
* Each webhook includes:
|
|
305
|
+
*
|
|
306
|
+
* - `id` - Unique webhook identifier
|
|
307
|
+
* - `name` - Human-readable webhook name
|
|
308
|
+
* - `url` - Webhook endpoint URL
|
|
309
|
+
* - `topics` - Array of subscribed event topics
|
|
310
|
+
* - `status` - Current status ("active", "paused", "suspended")
|
|
311
|
+
* - `health` - Health metrics (response times, error counts)
|
|
312
|
+
* - `createdAt` - Creation timestamp
|
|
313
|
+
* - `updatedAt` - Last update timestamp
|
|
314
|
+
*
|
|
315
|
+
* ### Example
|
|
316
|
+
*
|
|
317
|
+
* ```json
|
|
318
|
+
* {
|
|
319
|
+
* "object": "list",
|
|
320
|
+
* "data": [
|
|
321
|
+
* {
|
|
322
|
+
* "object": "webhook",
|
|
323
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
324
|
+
* "name": "Production Webhook",
|
|
325
|
+
* "url": "https://example.com/webhooks",
|
|
326
|
+
* "topics": ["post.created", "post.updated"],
|
|
327
|
+
* "status": "active",
|
|
328
|
+
* ...
|
|
329
|
+
* }
|
|
330
|
+
* ],
|
|
331
|
+
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
332
|
+
* }
|
|
333
|
+
* ```
|
|
334
|
+
*
|
|
335
|
+
* ### Version Availability
|
|
336
|
+
*
|
|
337
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
338
|
+
*
|
|
339
|
+
* @example
|
|
340
|
+
* ```ts
|
|
341
|
+
* // Automatically fetches more pages as needed.
|
|
342
|
+
* for await (const webhook of client.webhooks.list()) {
|
|
343
|
+
* // ...
|
|
344
|
+
* }
|
|
345
|
+
* ```
|
|
346
|
+
*/
|
|
347
|
+
list(params = {}, options) {
|
|
348
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
349
|
+
return this._client.getAPIList('/v2/webhooks', (pagination_1.CursorPage), {
|
|
350
|
+
query,
|
|
351
|
+
...options,
|
|
352
|
+
headers: (0, headers_1.buildHeaders)([
|
|
353
|
+
{
|
|
354
|
+
...(featurebaseVersion?.toString() != null ?
|
|
355
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
356
|
+
: undefined),
|
|
357
|
+
},
|
|
358
|
+
options?.headers,
|
|
359
|
+
]),
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
362
|
/**
|
|
363
363
|
* Permanently deletes a webhook.
|
|
364
364
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AACpF,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC
|
|
1
|
+
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAoF;AACpF,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmFG;IACH,MAAM,CAAC,MAA2B,EAAE,OAAwB;QAC1D,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE;YACvC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb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,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,aAAa,CACX,EAAU,EACV,SAAwD,EAAE,EAC1D,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,EAAE,SAAS,EAAE;YACxD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AA9dD,4BA8dC"}
|
package/resources/webhooks.mjs
CHANGED
|
@@ -7,83 +7,6 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
7
7
|
* 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.
|
|
8
8
|
*/
|
|
9
9
|
export class Webhooks extends APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Returns a list of webhooks in your organization using cursor-based pagination.
|
|
12
|
-
*
|
|
13
|
-
* ### Query Parameters
|
|
14
|
-
*
|
|
15
|
-
* - `limit` - Number of webhooks to return (1-100, default 10)
|
|
16
|
-
* - `cursor` - Cursor from previous response for pagination
|
|
17
|
-
* - `status` - Filter by status: "active", "paused", or "suspended"
|
|
18
|
-
*
|
|
19
|
-
* ### Response Format
|
|
20
|
-
*
|
|
21
|
-
* Returns a list object with:
|
|
22
|
-
*
|
|
23
|
-
* - `object` - Always "list"
|
|
24
|
-
* - `data` - Array of webhook objects
|
|
25
|
-
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
26
|
-
*
|
|
27
|
-
* ### Webhook Object
|
|
28
|
-
*
|
|
29
|
-
* Each webhook includes:
|
|
30
|
-
*
|
|
31
|
-
* - `id` - Unique webhook identifier
|
|
32
|
-
* - `name` - Human-readable webhook name
|
|
33
|
-
* - `url` - Webhook endpoint URL
|
|
34
|
-
* - `topics` - Array of subscribed event topics
|
|
35
|
-
* - `status` - Current status ("active", "paused", "suspended")
|
|
36
|
-
* - `health` - Health metrics (response times, error counts)
|
|
37
|
-
* - `createdAt` - Creation timestamp
|
|
38
|
-
* - `updatedAt` - Last update timestamp
|
|
39
|
-
*
|
|
40
|
-
* ### Example
|
|
41
|
-
*
|
|
42
|
-
* ```json
|
|
43
|
-
* {
|
|
44
|
-
* "object": "list",
|
|
45
|
-
* "data": [
|
|
46
|
-
* {
|
|
47
|
-
* "object": "webhook",
|
|
48
|
-
* "id": "507f1f77bcf86cd799439011",
|
|
49
|
-
* "name": "Production Webhook",
|
|
50
|
-
* "url": "https://example.com/webhooks",
|
|
51
|
-
* "topics": ["post.created", "post.updated"],
|
|
52
|
-
* "status": "active",
|
|
53
|
-
* ...
|
|
54
|
-
* }
|
|
55
|
-
* ],
|
|
56
|
-
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
57
|
-
* }
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* ### Version Availability
|
|
61
|
-
*
|
|
62
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
63
|
-
*
|
|
64
|
-
* @example
|
|
65
|
-
* ```ts
|
|
66
|
-
* // Automatically fetches more pages as needed.
|
|
67
|
-
* for await (const webhook of client.webhooks.list()) {
|
|
68
|
-
* // ...
|
|
69
|
-
* }
|
|
70
|
-
* ```
|
|
71
|
-
*/
|
|
72
|
-
list(params = {}, options) {
|
|
73
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
74
|
-
return this._client.getAPIList('/v2/webhooks', (CursorPage), {
|
|
75
|
-
query,
|
|
76
|
-
...options,
|
|
77
|
-
headers: buildHeaders([
|
|
78
|
-
{
|
|
79
|
-
...(featurebaseVersion?.toString() != null ?
|
|
80
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
81
|
-
: undefined),
|
|
82
|
-
},
|
|
83
|
-
options?.headers,
|
|
84
|
-
]),
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
10
|
/**
|
|
88
11
|
* Creates a new webhook to receive event notifications.
|
|
89
12
|
*
|
|
@@ -356,6 +279,83 @@ export class Webhooks extends APIResource {
|
|
|
356
279
|
]),
|
|
357
280
|
});
|
|
358
281
|
}
|
|
282
|
+
/**
|
|
283
|
+
* Returns a list of webhooks in your organization using cursor-based pagination.
|
|
284
|
+
*
|
|
285
|
+
* ### Query Parameters
|
|
286
|
+
*
|
|
287
|
+
* - `limit` - Number of webhooks to return (1-100, default 10)
|
|
288
|
+
* - `cursor` - Cursor from previous response for pagination
|
|
289
|
+
* - `status` - Filter by status: "active", "paused", or "suspended"
|
|
290
|
+
*
|
|
291
|
+
* ### Response Format
|
|
292
|
+
*
|
|
293
|
+
* Returns a list object with:
|
|
294
|
+
*
|
|
295
|
+
* - `object` - Always "list"
|
|
296
|
+
* - `data` - Array of webhook objects
|
|
297
|
+
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
298
|
+
*
|
|
299
|
+
* ### Webhook Object
|
|
300
|
+
*
|
|
301
|
+
* Each webhook includes:
|
|
302
|
+
*
|
|
303
|
+
* - `id` - Unique webhook identifier
|
|
304
|
+
* - `name` - Human-readable webhook name
|
|
305
|
+
* - `url` - Webhook endpoint URL
|
|
306
|
+
* - `topics` - Array of subscribed event topics
|
|
307
|
+
* - `status` - Current status ("active", "paused", "suspended")
|
|
308
|
+
* - `health` - Health metrics (response times, error counts)
|
|
309
|
+
* - `createdAt` - Creation timestamp
|
|
310
|
+
* - `updatedAt` - Last update timestamp
|
|
311
|
+
*
|
|
312
|
+
* ### Example
|
|
313
|
+
*
|
|
314
|
+
* ```json
|
|
315
|
+
* {
|
|
316
|
+
* "object": "list",
|
|
317
|
+
* "data": [
|
|
318
|
+
* {
|
|
319
|
+
* "object": "webhook",
|
|
320
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
321
|
+
* "name": "Production Webhook",
|
|
322
|
+
* "url": "https://example.com/webhooks",
|
|
323
|
+
* "topics": ["post.created", "post.updated"],
|
|
324
|
+
* "status": "active",
|
|
325
|
+
* ...
|
|
326
|
+
* }
|
|
327
|
+
* ],
|
|
328
|
+
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
329
|
+
* }
|
|
330
|
+
* ```
|
|
331
|
+
*
|
|
332
|
+
* ### Version Availability
|
|
333
|
+
*
|
|
334
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
335
|
+
*
|
|
336
|
+
* @example
|
|
337
|
+
* ```ts
|
|
338
|
+
* // Automatically fetches more pages as needed.
|
|
339
|
+
* for await (const webhook of client.webhooks.list()) {
|
|
340
|
+
* // ...
|
|
341
|
+
* }
|
|
342
|
+
* ```
|
|
343
|
+
*/
|
|
344
|
+
list(params = {}, options) {
|
|
345
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
346
|
+
return this._client.getAPIList('/v2/webhooks', (CursorPage), {
|
|
347
|
+
query,
|
|
348
|
+
...options,
|
|
349
|
+
headers: buildHeaders([
|
|
350
|
+
{
|
|
351
|
+
...(featurebaseVersion?.toString() != null ?
|
|
352
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
353
|
+
: undefined),
|
|
354
|
+
},
|
|
355
|
+
options?.headers,
|
|
356
|
+
]),
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
359
|
/**
|
|
360
360
|
* Permanently deletes a webhook.
|
|
361
361
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.mjs","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,UAAU,EAAsC,+BAA2B;AACpF,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"webhooks.mjs","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,UAAU,EAAsC,+BAA2B;AACpF,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmFG;IACH,MAAM,CAAC,MAA2B,EAAE,OAAwB;QAC1D,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE;YACvC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;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EAC1D,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,EAAE,SAAS,EAAE;YACxD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/src/client.ts
CHANGED
|
@@ -908,10 +908,10 @@ export declare namespace Featurebase {
|
|
|
908
908
|
type PublishUnpublishSuccess as PublishUnpublishSuccess,
|
|
909
909
|
type ChangelogDeleteResponse as ChangelogDeleteResponse,
|
|
910
910
|
type ChangelogsCursorPage as ChangelogsCursorPage,
|
|
911
|
-
type ChangelogListParams as ChangelogListParams,
|
|
912
911
|
type ChangelogCreateParams as ChangelogCreateParams,
|
|
913
912
|
type ChangelogRetrieveParams as ChangelogRetrieveParams,
|
|
914
913
|
type ChangelogUpdateParams as ChangelogUpdateParams,
|
|
914
|
+
type ChangelogListParams as ChangelogListParams,
|
|
915
915
|
type ChangelogDeleteParams as ChangelogDeleteParams,
|
|
916
916
|
type ChangelogPublishParams as ChangelogPublishParams,
|
|
917
917
|
type ChangelogUnpublishParams as ChangelogUnpublishParams,
|
|
@@ -930,8 +930,8 @@ export declare namespace Featurebase {
|
|
|
930
930
|
type SurveyListResponsesResponse as SurveyListResponsesResponse,
|
|
931
931
|
type SurveysCursorPage as SurveysCursorPage,
|
|
932
932
|
type SurveyListResponsesResponsesCursorPage as SurveyListResponsesResponsesCursorPage,
|
|
933
|
-
type SurveyListParams as SurveyListParams,
|
|
934
933
|
type SurveyRetrieveParams as SurveyRetrieveParams,
|
|
934
|
+
type SurveyListParams as SurveyListParams,
|
|
935
935
|
type SurveyListResponsesParams as SurveyListResponsesParams,
|
|
936
936
|
};
|
|
937
937
|
|
|
@@ -941,10 +941,10 @@ export declare namespace Featurebase {
|
|
|
941
941
|
type WebhookRequestConfigInput as WebhookRequestConfigInput,
|
|
942
942
|
type WebhookDeleteResponse as WebhookDeleteResponse,
|
|
943
943
|
type WebhooksCursorPage as WebhooksCursorPage,
|
|
944
|
-
type WebhookListParams as WebhookListParams,
|
|
945
944
|
type WebhookCreateParams as WebhookCreateParams,
|
|
946
945
|
type WebhookRetrieveParams as WebhookRetrieveParams,
|
|
947
946
|
type WebhookUpdateParams as WebhookUpdateParams,
|
|
947
|
+
type WebhookListParams as WebhookListParams,
|
|
948
948
|
type WebhookDeleteParams as WebhookDeleteParams,
|
|
949
949
|
type WebhookRefreshSecretParams as WebhookRefreshSecretParams,
|
|
950
950
|
};
|
|
@@ -954,8 +954,8 @@ export declare namespace Featurebase {
|
|
|
954
954
|
type ConversationAttribute as ConversationAttribute,
|
|
955
955
|
type ConversationAttributeOption as ConversationAttributeOption,
|
|
956
956
|
type ConversationAttributeListResponse as ConversationAttributeListResponse,
|
|
957
|
-
type ConversationAttributeListParams as ConversationAttributeListParams,
|
|
958
957
|
type ConversationAttributeRetrieveParams as ConversationAttributeRetrieveParams,
|
|
958
|
+
type ConversationAttributeListParams as ConversationAttributeListParams,
|
|
959
959
|
};
|
|
960
960
|
|
|
961
961
|
export {
|
|
@@ -980,9 +980,9 @@ export declare namespace Featurebase {
|
|
|
980
980
|
type ReportListDatasetsResponse as ReportListDatasetsResponse,
|
|
981
981
|
type ReportLookupFilterValuesResponse as ReportLookupFilterValuesResponse,
|
|
982
982
|
type ReportQueryResponse as ReportQueryResponse,
|
|
983
|
+
type ReportDrillInParams as ReportDrillInParams,
|
|
983
984
|
type ReportListDatasetsParams as ReportListDatasetsParams,
|
|
984
|
-
type ReportQueryParams as ReportQueryParams,
|
|
985
985
|
type ReportLookupFilterValuesParams as ReportLookupFilterValuesParams,
|
|
986
|
-
type
|
|
986
|
+
type ReportQueryParams as ReportQueryParams,
|
|
987
987
|
};
|
|
988
988
|
}
|
|
@@ -172,6 +172,8 @@ export interface AuditLogListResponse {
|
|
|
172
172
|
| 'teammate.scim_auto_claimed'
|
|
173
173
|
| 'teammate.scim_claim_role_preserved'
|
|
174
174
|
| 'teammate.permanently_removed'
|
|
175
|
+
| 'teammate.availability_changed'
|
|
176
|
+
| 'teammate.assignment_limit_changed'
|
|
175
177
|
| 'member.role_changed'
|
|
176
178
|
| 'organization.owner_transferred'
|
|
177
179
|
| 'article.created'
|
|
@@ -241,6 +243,7 @@ export interface AuditLogListResponse {
|
|
|
241
243
|
| 'billing.plan_cancelled'
|
|
242
244
|
| 'billing.seat_limit_changed'
|
|
243
245
|
| 'billing.seat_activated'
|
|
246
|
+
| 'billing.ai_resolution_price_changed'
|
|
244
247
|
| 'workflow.created'
|
|
245
248
|
| 'workflow.activated'
|
|
246
249
|
| 'workflow.deactivated'
|
|
@@ -453,6 +456,8 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
453
456
|
| 'teammate.scim_auto_claimed'
|
|
454
457
|
| 'teammate.scim_claim_role_preserved'
|
|
455
458
|
| 'teammate.permanently_removed'
|
|
459
|
+
| 'teammate.availability_changed'
|
|
460
|
+
| 'teammate.assignment_limit_changed'
|
|
456
461
|
| 'member.role_changed'
|
|
457
462
|
| 'organization.owner_transferred'
|
|
458
463
|
| 'article.created'
|
|
@@ -522,6 +527,7 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
522
527
|
| 'billing.plan_cancelled'
|
|
523
528
|
| 'billing.seat_limit_changed'
|
|
524
529
|
| 'billing.seat_activated'
|
|
530
|
+
| 'billing.ai_resolution_price_changed'
|
|
525
531
|
| 'workflow.created'
|
|
526
532
|
| 'workflow.activated'
|
|
527
533
|
| 'workflow.deactivated'
|
|
@@ -597,7 +603,7 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
597
603
|
* Header param: API version for this request. Defaults to your organization's
|
|
598
604
|
* configured API version if not specified.
|
|
599
605
|
*/
|
|
600
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
606
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
601
607
|
}
|
|
602
608
|
|
|
603
609
|
export declare namespace AuditLogs {
|