featurebase-node 0.13.0 → 0.14.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 +19 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +9 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +9 -3
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +16 -10
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/changelogs/changelogs.d.mts +106 -106
- package/resources/changelogs/changelogs.d.mts.map +1 -1
- package/resources/changelogs/changelogs.d.ts +106 -106
- 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/index.mjs.map +1 -1
- package/resources/changelogs/subscribers.d.mts.map +1 -1
- package/resources/changelogs/subscribers.d.ts.map +1 -1
- package/resources/changelogs/subscribers.mjs.map +1 -1
- package/resources/changelogs.d.mts.map +1 -1
- package/resources/changelogs.d.ts.map +1 -1
- package/resources/changelogs.mjs.map +1 -1
- package/resources/conversation-attributes.d.mts +117 -0
- package/resources/conversation-attributes.d.mts.map +1 -0
- package/resources/conversation-attributes.d.ts +117 -0
- package/resources/conversation-attributes.d.ts.map +1 -0
- package/resources/conversation-attributes.js +61 -0
- package/resources/conversation-attributes.js.map +1 -0
- package/resources/conversation-attributes.mjs +57 -0
- package/resources/conversation-attributes.mjs.map +1 -0
- package/resources/feedback/boards.d.mts +17 -17
- package/resources/feedback/boards.d.mts.map +1 -1
- package/resources/feedback/boards.d.ts +17 -17
- 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 +129 -191
- package/resources/feedback/comments.d.mts.map +1 -1
- package/resources/feedback/comments.d.ts +129 -191
- 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 +34 -34
- package/resources/feedback/custom-fields.d.mts.map +1 -1
- package/resources/feedback/custom-fields.d.ts +34 -34
- 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 +7 -7
- package/resources/feedback/feedback.d.mts.map +1 -1
- package/resources/feedback/feedback.d.ts +7 -7
- 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 +18 -18
- package/resources/feedback/post-statuses.d.mts.map +1 -1
- package/resources/feedback/post-statuses.d.ts +18 -18
- 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 +187 -260
- package/resources/feedback/posts/posts.d.mts.map +1 -1
- package/resources/feedback/posts/posts.d.ts +187 -260
- package/resources/feedback/posts/posts.d.ts.map +1 -1
- package/resources/feedback/posts/posts.js +75 -75
- package/resources/feedback/posts/posts.js.map +1 -1
- package/resources/feedback/posts/posts.mjs +75 -75
- package/resources/feedback/posts/posts.mjs.map +1 -1
- package/resources/feedback/posts/voters.d.mts.map +1 -1
- package/resources/feedback/posts/voters.d.ts.map +1 -1
- package/resources/feedback/posts/voters.mjs.map +1 -1
- package/resources/feedback/posts.d.mts.map +1 -1
- package/resources/feedback/posts.d.ts.map +1 -1
- package/resources/feedback/posts.mjs.map +1 -1
- package/resources/feedback.d.mts.map +1 -1
- package/resources/feedback.d.ts.map +1 -1
- package/resources/feedback.mjs.map +1 -1
- package/resources/help-center/articles.d.mts +98 -152
- package/resources/help-center/articles.d.mts.map +1 -1
- package/resources/help-center/articles.d.ts +98 -152
- 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 +64 -64
- package/resources/help-center/collections.d.mts.map +1 -1
- package/resources/help-center/collections.d.ts +64 -64
- 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 +5 -5
- package/resources/help-center/help-center.d.mts.map +1 -1
- package/resources/help-center/help-center.d.ts +5 -5
- package/resources/help-center/help-center.d.ts.map +1 -1
- package/resources/help-center/help-center.js.map +1 -1
- package/resources/help-center/help-center.mjs.map +1 -1
- package/resources/help-center/help-centers.d.mts +43 -43
- package/resources/help-center/help-centers.d.mts.map +1 -1
- package/resources/help-center/help-centers.d.ts +43 -43
- 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/index.js.map +1 -1
- package/resources/help-center/index.mjs.map +1 -1
- package/resources/help-center/redirect-rules.d.mts +117 -117
- package/resources/help-center/redirect-rules.d.mts.map +1 -1
- package/resources/help-center/redirect-rules.d.ts +117 -117
- 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/help-center.d.mts.map +1 -1
- package/resources/help-center.d.ts.map +1 -1
- package/resources/help-center.mjs.map +1 -1
- package/resources/index.d.mts +4 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/organization/admins.d.mts +23 -23
- package/resources/organization/admins.d.mts.map +1 -1
- package/resources/organization/admins.d.ts +23 -23
- 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 +50 -50
- package/resources/organization/brands.d.mts.map +1 -1
- package/resources/organization/brands.d.ts +50 -50
- 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/index.mjs.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/organization.mjs.map +1 -1
- package/resources/organization/teams.d.mts +45 -45
- package/resources/organization/teams.d.mts.map +1 -1
- package/resources/organization/teams.d.ts +45 -45
- 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/organization.d.mts.map +1 -1
- package/resources/organization.d.ts.map +1 -1
- package/resources/organization.mjs.map +1 -1
- package/resources/support/conversation-tags.d.mts +40 -40
- package/resources/support/conversation-tags.d.mts.map +1 -1
- package/resources/support/conversation-tags.d.ts +40 -40
- 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 +599 -705
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +599 -705
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +289 -288
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +289 -288
- 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/index.js.map +1 -1
- package/resources/support/conversations/index.mjs.map +1 -1
- package/resources/support/conversations/participants.d.mts.map +1 -1
- package/resources/support/conversations/participants.d.ts.map +1 -1
- package/resources/support/conversations/participants.mjs.map +1 -1
- package/resources/support/conversations.d.mts.map +1 -1
- package/resources/support/conversations.d.ts.map +1 -1
- package/resources/support/conversations.mjs.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/index.js.map +1 -1
- package/resources/support/index.mjs.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.js.map +1 -1
- package/resources/support/support.mjs.map +1 -1
- package/resources/support/tickets/categories.d.mts +18 -18
- package/resources/support/tickets/categories.d.mts.map +1 -1
- package/resources/support/tickets/categories.d.ts +18 -18
- 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 +20 -20
- package/resources/support/tickets/custom-fields.d.mts.map +1 -1
- package/resources/support/tickets/custom-fields.d.ts +20 -20
- 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/index.mjs.map +1 -1
- package/resources/support/tickets/statuses.d.mts +17 -17
- package/resources/support/tickets/statuses.d.mts.map +1 -1
- package/resources/support/tickets/statuses.d.ts +17 -17
- 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 +69 -69
- package/resources/support/tickets/tickets.d.mts.map +1 -1
- package/resources/support/tickets/tickets.d.ts +69 -69
- 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/support/tickets.d.mts.map +1 -1
- package/resources/support/tickets.d.ts.map +1 -1
- package/resources/support/tickets.mjs.map +1 -1
- package/resources/support.d.mts.map +1 -1
- package/resources/support.d.ts.map +1 -1
- package/resources/support.mjs.map +1 -1
- package/resources/surveys.d.mts +41 -41
- package/resources/surveys.d.mts.map +1 -1
- package/resources/surveys.d.ts +41 -41
- 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 +116 -157
- package/resources/users/companies/companies.d.mts.map +1 -1
- package/resources/users/companies/companies.d.ts +116 -157
- 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.map +1 -1
- package/resources/users/companies/contacts.d.ts.map +1 -1
- 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/companies/index.mjs.map +1 -1
- package/resources/users/companies.d.mts.map +1 -1
- package/resources/users/companies.d.ts.map +1 -1
- package/resources/users/companies.mjs.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.mjs.map +1 -1
- package/resources/users/contacts/by-user-id/index.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id/index.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/index.mjs.map +1 -1
- package/resources/users/contacts/by-user-id.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id.mjs.map +1 -1
- package/resources/users/contacts/contacts.d.mts +196 -235
- package/resources/users/contacts/contacts.d.mts.map +1 -1
- package/resources/users/contacts/contacts.d.ts +196 -235
- package/resources/users/contacts/contacts.d.ts.map +1 -1
- package/resources/users/contacts/contacts.js +186 -184
- package/resources/users/contacts/contacts.js.map +1 -1
- package/resources/users/contacts/contacts.mjs +186 -184
- package/resources/users/contacts/contacts.mjs.map +1 -1
- package/resources/users/contacts/email-preferences.d.mts.map +1 -1
- package/resources/users/contacts/email-preferences.d.ts.map +1 -1
- 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.mjs.map +1 -1
- package/resources/users/contacts.d.mts.map +1 -1
- package/resources/users/contacts.d.ts.map +1 -1
- package/resources/users/contacts.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.mjs.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/users/users.mjs.map +1 -1
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts.map +1 -1
- package/resources/users.mjs.map +1 -1
- package/resources/webhooks.d.mts +75 -75
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +75 -75
- 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/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +25 -3
- package/src/resources/changelogs/changelogs.ts +170 -170
- package/src/resources/changelogs/index.ts +1 -1
- package/src/resources/conversation-attributes.ts +181 -0
- package/src/resources/feedback/boards.ts +28 -28
- package/src/resources/feedback/comments.ts +153 -226
- package/src/resources/feedback/custom-fields.ts +44 -44
- package/src/resources/feedback/feedback.ts +19 -5
- package/src/resources/feedback/index.ts +12 -5
- package/src/resources/feedback/post-statuses.ts +31 -31
- package/src/resources/feedback/posts/index.ts +7 -1
- package/src/resources/feedback/posts/posts.ts +230 -311
- package/src/resources/help-center/articles.ts +123 -186
- package/src/resources/help-center/collections.ts +84 -84
- package/src/resources/help-center/help-center.ts +7 -5
- package/src/resources/help-center/help-centers.ts +55 -55
- package/src/resources/help-center/index.ts +6 -5
- package/src/resources/help-center/redirect-rules.ts +174 -174
- package/src/resources/index.ts +11 -3
- package/src/resources/organization/admins.ts +33 -33
- package/src/resources/organization/brands.ts +66 -66
- package/src/resources/organization/index.ts +3 -3
- package/src/resources/organization/organization.ts +3 -3
- package/src/resources/organization/teams.ts +52 -52
- package/src/resources/support/conversation-tags.ts +59 -59
- package/src/resources/support/conversations/conversations.ts +723 -850
- package/src/resources/support/conversations/index.ts +11 -6
- package/src/resources/support/index.ts +14 -9
- package/src/resources/support/support.ts +21 -11
- package/src/resources/support/tickets/categories.ts +33 -33
- package/src/resources/support/tickets/custom-fields.ts +27 -27
- package/src/resources/support/tickets/index.ts +4 -4
- package/src/resources/support/tickets/statuses.ts +29 -29
- package/src/resources/support/tickets/tickets.ts +95 -95
- package/src/resources/surveys.ts +58 -58
- package/src/resources/users/companies/companies.ts +155 -204
- package/src/resources/users/companies/index.ts +2 -2
- package/src/resources/users/contacts/contacts.ts +235 -282
- 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 +95 -95
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,SAAS,GAWV,8BAA0B;AAC3B,OAAO,EACL,QAAQ,GAiBT,6BAAyB;AAC1B,OAAO,EAAE,KAAK,EAAE,oBAAgB"}
|
|
@@ -8,7 +8,7 @@ export declare class Users extends APIResource {
|
|
|
8
8
|
companies: CompaniesAPI.Companies;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace Users {
|
|
11
|
-
export { Contacts as Contacts, type Contact as Contact, type ContactList as ContactList, type DeletedContact as DeletedContact, type ContactRetrieveResponse as ContactRetrieveResponse, type ContactBlockResponse as ContactBlockResponse, type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse, type ContactSearchResponse as ContactSearchResponse, type ContactUnblockResponse as ContactUnblockResponse, type ContactListDataCursorPage as ContactListDataCursorPage, type
|
|
12
|
-
export { Companies as Companies, type Company as Company, type DeletedCompany as DeletedCompany, type CompanySearchResponse as CompanySearchResponse, type CompaniesCursorPage as CompaniesCursorPage, type
|
|
11
|
+
export { Contacts as Contacts, type Contact as Contact, type ContactList as ContactList, type DeletedContact as DeletedContact, type ContactRetrieveResponse as ContactRetrieveResponse, type ContactBlockResponse as ContactBlockResponse, type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse, type ContactSearchResponse as ContactSearchResponse, type ContactUnblockResponse as ContactUnblockResponse, type ContactListDataCursorPage as ContactListDataCursorPage, type ContactListParams as ContactListParams, type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams, type ContactRetrieveParams as ContactRetrieveParams, type ContactDeleteParams as ContactDeleteParams, type ContactBlockParams as ContactBlockParams, type ContactUnblockParams as ContactUnblockParams, type ContactSearchParams as ContactSearchParams, };
|
|
12
|
+
export { Companies as Companies, type Company as Company, type DeletedCompany as DeletedCompany, type CompanySearchResponse as CompanySearchResponse, type CompaniesCursorPage as CompaniesCursorPage, type CompanyListParams as CompanyListParams, type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams, type CompanyRetrieveParams as CompanyRetrieveParams, type CompanyDeleteParams as CompanyDeleteParams, type CompanyDeleteByCompanyIDParams as CompanyDeleteByCompanyIDParams, type CompanySearchParams as CompanySearchParams, };
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,kCAA8B;AACtD,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,OAAO,EACP,2BAA2B,EAC3B,8BAA8B,EAC9B,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EACf,kCAA8B;AAC/B,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,EACL,OAAO,EACP,kBAAkB,EAClB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,mBAAmB,EACnB,WAAW,EACX,yBA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KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -8,7 +8,7 @@ export declare class Users extends APIResource {
|
|
|
8
8
|
companies: CompaniesAPI.Companies;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace Users {
|
|
11
|
-
export { Contacts as Contacts, type Contact as Contact, type ContactList as ContactList, type DeletedContact as DeletedContact, type ContactRetrieveResponse as ContactRetrieveResponse, type ContactBlockResponse as ContactBlockResponse, type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse, type ContactSearchResponse as ContactSearchResponse, type ContactUnblockResponse as ContactUnblockResponse, type ContactListDataCursorPage as ContactListDataCursorPage, type
|
|
12
|
-
export { Companies as Companies, type Company as Company, type DeletedCompany as DeletedCompany, type CompanySearchResponse as CompanySearchResponse, type CompaniesCursorPage as CompaniesCursorPage, type
|
|
11
|
+
export { Contacts as Contacts, type Contact as Contact, type ContactList as ContactList, type DeletedContact as DeletedContact, type ContactRetrieveResponse as ContactRetrieveResponse, type ContactBlockResponse as ContactBlockResponse, type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse, type ContactSearchResponse as ContactSearchResponse, type ContactUnblockResponse as ContactUnblockResponse, type ContactListDataCursorPage as ContactListDataCursorPage, type ContactListParams as ContactListParams, type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams, type ContactRetrieveParams as ContactRetrieveParams, type ContactDeleteParams as ContactDeleteParams, type ContactBlockParams as ContactBlockParams, type ContactUnblockParams as ContactUnblockParams, type ContactSearchParams as ContactSearchParams, };
|
|
12
|
+
export { Companies as Companies, type Company as Company, type DeletedCompany as DeletedCompany, type CompanySearchResponse as CompanySearchResponse, type CompaniesCursorPage as CompaniesCursorPage, type CompanyListParams as CompanyListParams, type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams, type CompanyRetrieveParams as CompanyRetrieveParams, type CompanyDeleteParams as CompanyDeleteParams, type CompanyDeleteByCompanyIDParams as CompanyDeleteByCompanyIDParams, type CompanySearchParams as CompanySearchParams, };
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=users.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,YAAY,iCAA8B;AACtD,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,OAAO,EACP,2BAA2B,EAC3B,8BAA8B,EAC9B,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EACf,iCAA8B;AAC/B,OAAO,KAAK,WAAW,+BAA4B;AACnD,OAAO,EACL,OAAO,EACP,kBAAkB,EAClB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,mBAAmB,EACnB,WAAW,EACX,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,QAAQ,EACR,cAAc,EACf,+BAA4B;AAE7B,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;CAC9E;AAKD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,kCAA8B;AACtD,OAAO,EACL,SAAS,GAWV,kCAA8B;AAC/B,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,EAgBL,QAAQ,GAET,gCAA4B;AAE7B,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAED,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC1B,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"AAEA,kCAA8B"}
|
package/resources/users.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"AAEA,iCAA8B"}
|
package/resources/users.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
1
|
+
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,kCAA8B"}
|
package/resources/webhooks.d.mts
CHANGED
|
@@ -6,6 +6,69 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
6
6
|
* 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.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Webhooks extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns a list of webhooks in your organization using cursor-based pagination.
|
|
11
|
+
*
|
|
12
|
+
* ### Query Parameters
|
|
13
|
+
*
|
|
14
|
+
* - `limit` - Number of webhooks to return (1-100, default 10)
|
|
15
|
+
* - `cursor` - Cursor from previous response for pagination
|
|
16
|
+
* - `status` - Filter by status: "active", "paused", or "suspended"
|
|
17
|
+
*
|
|
18
|
+
* ### Response Format
|
|
19
|
+
*
|
|
20
|
+
* Returns a list object with:
|
|
21
|
+
*
|
|
22
|
+
* - `object` - Always "list"
|
|
23
|
+
* - `data` - Array of webhook objects
|
|
24
|
+
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
25
|
+
*
|
|
26
|
+
* ### Webhook Object
|
|
27
|
+
*
|
|
28
|
+
* Each webhook includes:
|
|
29
|
+
*
|
|
30
|
+
* - `id` - Unique webhook identifier
|
|
31
|
+
* - `name` - Human-readable webhook name
|
|
32
|
+
* - `url` - Webhook endpoint URL
|
|
33
|
+
* - `topics` - Array of subscribed event topics
|
|
34
|
+
* - `status` - Current status ("active", "paused", "suspended")
|
|
35
|
+
* - `health` - Health metrics (response times, error counts)
|
|
36
|
+
* - `createdAt` - Creation timestamp
|
|
37
|
+
* - `updatedAt` - Last update timestamp
|
|
38
|
+
*
|
|
39
|
+
* ### Example
|
|
40
|
+
*
|
|
41
|
+
* ```json
|
|
42
|
+
* {
|
|
43
|
+
* "object": "list",
|
|
44
|
+
* "data": [
|
|
45
|
+
* {
|
|
46
|
+
* "object": "webhook",
|
|
47
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
48
|
+
* "name": "Production Webhook",
|
|
49
|
+
* "url": "https://example.com/webhooks",
|
|
50
|
+
* "topics": ["post.created", "post.updated"],
|
|
51
|
+
* "status": "active",
|
|
52
|
+
* ...
|
|
53
|
+
* }
|
|
54
|
+
* ],
|
|
55
|
+
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
56
|
+
* }
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ### Version Availability
|
|
60
|
+
*
|
|
61
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* // Automatically fetches more pages as needed.
|
|
66
|
+
* for await (const webhook of client.webhooks.list()) {
|
|
67
|
+
* // ...
|
|
68
|
+
* }
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
list(params?: WebhookListParams | null | undefined, options?: RequestOptions): PagePromise<WebhooksCursorPage, Webhook>;
|
|
9
72
|
/**
|
|
10
73
|
* Creates a new webhook to receive event notifications.
|
|
11
74
|
*
|
|
@@ -235,69 +298,6 @@ export declare class Webhooks extends APIResource {
|
|
|
235
298
|
* ```
|
|
236
299
|
*/
|
|
237
300
|
update(id: string, params: WebhookUpdateParams, options?: RequestOptions): APIPromise<Webhook>;
|
|
238
|
-
/**
|
|
239
|
-
* Returns a list of webhooks in your organization using cursor-based pagination.
|
|
240
|
-
*
|
|
241
|
-
* ### Query Parameters
|
|
242
|
-
*
|
|
243
|
-
* - `limit` - Number of webhooks to return (1-100, default 10)
|
|
244
|
-
* - `cursor` - Cursor from previous response for pagination
|
|
245
|
-
* - `status` - Filter by status: "active", "paused", or "suspended"
|
|
246
|
-
*
|
|
247
|
-
* ### Response Format
|
|
248
|
-
*
|
|
249
|
-
* Returns a list object with:
|
|
250
|
-
*
|
|
251
|
-
* - `object` - Always "list"
|
|
252
|
-
* - `data` - Array of webhook objects
|
|
253
|
-
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
254
|
-
*
|
|
255
|
-
* ### Webhook Object
|
|
256
|
-
*
|
|
257
|
-
* Each webhook includes:
|
|
258
|
-
*
|
|
259
|
-
* - `id` - Unique webhook identifier
|
|
260
|
-
* - `name` - Human-readable webhook name
|
|
261
|
-
* - `url` - Webhook endpoint URL
|
|
262
|
-
* - `topics` - Array of subscribed event topics
|
|
263
|
-
* - `status` - Current status ("active", "paused", "suspended")
|
|
264
|
-
* - `health` - Health metrics (response times, error counts)
|
|
265
|
-
* - `createdAt` - Creation timestamp
|
|
266
|
-
* - `updatedAt` - Last update timestamp
|
|
267
|
-
*
|
|
268
|
-
* ### Example
|
|
269
|
-
*
|
|
270
|
-
* ```json
|
|
271
|
-
* {
|
|
272
|
-
* "object": "list",
|
|
273
|
-
* "data": [
|
|
274
|
-
* {
|
|
275
|
-
* "object": "webhook",
|
|
276
|
-
* "id": "507f1f77bcf86cd799439011",
|
|
277
|
-
* "name": "Production Webhook",
|
|
278
|
-
* "url": "https://example.com/webhooks",
|
|
279
|
-
* "topics": ["post.created", "post.updated"],
|
|
280
|
-
* "status": "active",
|
|
281
|
-
* ...
|
|
282
|
-
* }
|
|
283
|
-
* ],
|
|
284
|
-
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
285
|
-
* }
|
|
286
|
-
* ```
|
|
287
|
-
*
|
|
288
|
-
* ### Version Availability
|
|
289
|
-
*
|
|
290
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
291
|
-
*
|
|
292
|
-
* @example
|
|
293
|
-
* ```ts
|
|
294
|
-
* // Automatically fetches more pages as needed.
|
|
295
|
-
* for await (const webhook of client.webhooks.list()) {
|
|
296
|
-
* // ...
|
|
297
|
-
* }
|
|
298
|
-
* ```
|
|
299
|
-
*/
|
|
300
|
-
list(params?: WebhookListParams | null | undefined, options?: RequestOptions): PagePromise<WebhooksCursorPage, Webhook>;
|
|
301
301
|
/**
|
|
302
302
|
* Permanently deletes a webhook.
|
|
303
303
|
*
|
|
@@ -512,6 +512,17 @@ export interface WebhookDeleteResponse {
|
|
|
512
512
|
*/
|
|
513
513
|
object: 'webhook';
|
|
514
514
|
}
|
|
515
|
+
export interface WebhookListParams extends CursorPageParams {
|
|
516
|
+
/**
|
|
517
|
+
* Query param: Filter webhooks by status
|
|
518
|
+
*/
|
|
519
|
+
status?: 'active' | 'paused' | 'suspended';
|
|
520
|
+
/**
|
|
521
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
522
|
+
* configured API version if not specified.
|
|
523
|
+
*/
|
|
524
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
525
|
+
}
|
|
515
526
|
export interface WebhookCreateParams {
|
|
516
527
|
/**
|
|
517
528
|
* Body param: Human-readable name for the webhook
|
|
@@ -577,17 +588,6 @@ export interface WebhookUpdateParams {
|
|
|
577
588
|
*/
|
|
578
589
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
579
590
|
}
|
|
580
|
-
export interface WebhookListParams extends CursorPageParams {
|
|
581
|
-
/**
|
|
582
|
-
* Query param: Filter webhooks by status
|
|
583
|
-
*/
|
|
584
|
-
status?: 'active' | 'paused' | 'suspended';
|
|
585
|
-
/**
|
|
586
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
587
|
-
* configured API version if not specified.
|
|
588
|
-
*/
|
|
589
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
590
|
-
}
|
|
591
591
|
export interface WebhookDeleteParams {
|
|
592
592
|
/**
|
|
593
593
|
* API version for this request. Defaults to your organization's configured API
|
|
@@ -603,6 +603,6 @@ export interface WebhookRefreshSecretParams {
|
|
|
603
603
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
604
604
|
}
|
|
605
605
|
export declare namespace Webhooks {
|
|
606
|
-
export { type Webhook as Webhook, type WebhookRequestConfigInput as WebhookRequestConfigInput, type WebhookDeleteResponse as WebhookDeleteResponse, type WebhooksCursorPage as WebhooksCursorPage, type
|
|
606
|
+
export { type Webhook as Webhook, type WebhookRequestConfigInput as WebhookRequestConfigInput, type WebhookDeleteResponse as WebhookDeleteResponse, type WebhooksCursorPage as WebhooksCursorPage, type WebhookListParams as WebhookListParams, type WebhookCreateParams as WebhookCreateParams, type WebhookRetrieveParams as WebhookRetrieveParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookDeleteParams as WebhookDeleteParams, type WebhookRefreshSecretParams as WebhookRefreshSecretParams, };
|
|
607
607
|
}
|
|
608
608
|
//# sourceMappingURL=webhooks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,+BAA2B;AAEpF,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6DG;IACH,IAAI,CACF,MAAM,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,kBAAkB,EAAE,OAAO,CAAC;IAgB3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiFG;IACH,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAgBlF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,OAAO,CAAC;IAetB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0EG;I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B,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
package/resources/webhooks.d.ts
CHANGED
|
@@ -6,6 +6,69 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
6
6
|
* 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.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Webhooks extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns a list of webhooks in your organization using cursor-based pagination.
|
|
11
|
+
*
|
|
12
|
+
* ### Query Parameters
|
|
13
|
+
*
|
|
14
|
+
* - `limit` - Number of webhooks to return (1-100, default 10)
|
|
15
|
+
* - `cursor` - Cursor from previous response for pagination
|
|
16
|
+
* - `status` - Filter by status: "active", "paused", or "suspended"
|
|
17
|
+
*
|
|
18
|
+
* ### Response Format
|
|
19
|
+
*
|
|
20
|
+
* Returns a list object with:
|
|
21
|
+
*
|
|
22
|
+
* - `object` - Always "list"
|
|
23
|
+
* - `data` - Array of webhook objects
|
|
24
|
+
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
25
|
+
*
|
|
26
|
+
* ### Webhook Object
|
|
27
|
+
*
|
|
28
|
+
* Each webhook includes:
|
|
29
|
+
*
|
|
30
|
+
* - `id` - Unique webhook identifier
|
|
31
|
+
* - `name` - Human-readable webhook name
|
|
32
|
+
* - `url` - Webhook endpoint URL
|
|
33
|
+
* - `topics` - Array of subscribed event topics
|
|
34
|
+
* - `status` - Current status ("active", "paused", "suspended")
|
|
35
|
+
* - `health` - Health metrics (response times, error counts)
|
|
36
|
+
* - `createdAt` - Creation timestamp
|
|
37
|
+
* - `updatedAt` - Last update timestamp
|
|
38
|
+
*
|
|
39
|
+
* ### Example
|
|
40
|
+
*
|
|
41
|
+
* ```json
|
|
42
|
+
* {
|
|
43
|
+
* "object": "list",
|
|
44
|
+
* "data": [
|
|
45
|
+
* {
|
|
46
|
+
* "object": "webhook",
|
|
47
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
48
|
+
* "name": "Production Webhook",
|
|
49
|
+
* "url": "https://example.com/webhooks",
|
|
50
|
+
* "topics": ["post.created", "post.updated"],
|
|
51
|
+
* "status": "active",
|
|
52
|
+
* ...
|
|
53
|
+
* }
|
|
54
|
+
* ],
|
|
55
|
+
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
56
|
+
* }
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ### Version Availability
|
|
60
|
+
*
|
|
61
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* // Automatically fetches more pages as needed.
|
|
66
|
+
* for await (const webhook of client.webhooks.list()) {
|
|
67
|
+
* // ...
|
|
68
|
+
* }
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
list(params?: WebhookListParams | null | undefined, options?: RequestOptions): PagePromise<WebhooksCursorPage, Webhook>;
|
|
9
72
|
/**
|
|
10
73
|
* Creates a new webhook to receive event notifications.
|
|
11
74
|
*
|
|
@@ -235,69 +298,6 @@ export declare class Webhooks extends APIResource {
|
|
|
235
298
|
* ```
|
|
236
299
|
*/
|
|
237
300
|
update(id: string, params: WebhookUpdateParams, options?: RequestOptions): APIPromise<Webhook>;
|
|
238
|
-
/**
|
|
239
|
-
* Returns a list of webhooks in your organization using cursor-based pagination.
|
|
240
|
-
*
|
|
241
|
-
* ### Query Parameters
|
|
242
|
-
*
|
|
243
|
-
* - `limit` - Number of webhooks to return (1-100, default 10)
|
|
244
|
-
* - `cursor` - Cursor from previous response for pagination
|
|
245
|
-
* - `status` - Filter by status: "active", "paused", or "suspended"
|
|
246
|
-
*
|
|
247
|
-
* ### Response Format
|
|
248
|
-
*
|
|
249
|
-
* Returns a list object with:
|
|
250
|
-
*
|
|
251
|
-
* - `object` - Always "list"
|
|
252
|
-
* - `data` - Array of webhook objects
|
|
253
|
-
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
254
|
-
*
|
|
255
|
-
* ### Webhook Object
|
|
256
|
-
*
|
|
257
|
-
* Each webhook includes:
|
|
258
|
-
*
|
|
259
|
-
* - `id` - Unique webhook identifier
|
|
260
|
-
* - `name` - Human-readable webhook name
|
|
261
|
-
* - `url` - Webhook endpoint URL
|
|
262
|
-
* - `topics` - Array of subscribed event topics
|
|
263
|
-
* - `status` - Current status ("active", "paused", "suspended")
|
|
264
|
-
* - `health` - Health metrics (response times, error counts)
|
|
265
|
-
* - `createdAt` - Creation timestamp
|
|
266
|
-
* - `updatedAt` - Last update timestamp
|
|
267
|
-
*
|
|
268
|
-
* ### Example
|
|
269
|
-
*
|
|
270
|
-
* ```json
|
|
271
|
-
* {
|
|
272
|
-
* "object": "list",
|
|
273
|
-
* "data": [
|
|
274
|
-
* {
|
|
275
|
-
* "object": "webhook",
|
|
276
|
-
* "id": "507f1f77bcf86cd799439011",
|
|
277
|
-
* "name": "Production Webhook",
|
|
278
|
-
* "url": "https://example.com/webhooks",
|
|
279
|
-
* "topics": ["post.created", "post.updated"],
|
|
280
|
-
* "status": "active",
|
|
281
|
-
* ...
|
|
282
|
-
* }
|
|
283
|
-
* ],
|
|
284
|
-
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
285
|
-
* }
|
|
286
|
-
* ```
|
|
287
|
-
*
|
|
288
|
-
* ### Version Availability
|
|
289
|
-
*
|
|
290
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
291
|
-
*
|
|
292
|
-
* @example
|
|
293
|
-
* ```ts
|
|
294
|
-
* // Automatically fetches more pages as needed.
|
|
295
|
-
* for await (const webhook of client.webhooks.list()) {
|
|
296
|
-
* // ...
|
|
297
|
-
* }
|
|
298
|
-
* ```
|
|
299
|
-
*/
|
|
300
|
-
list(params?: WebhookListParams | null | undefined, options?: RequestOptions): PagePromise<WebhooksCursorPage, Webhook>;
|
|
301
301
|
/**
|
|
302
302
|
* Permanently deletes a webhook.
|
|
303
303
|
*
|
|
@@ -512,6 +512,17 @@ export interface WebhookDeleteResponse {
|
|
|
512
512
|
*/
|
|
513
513
|
object: 'webhook';
|
|
514
514
|
}
|
|
515
|
+
export interface WebhookListParams extends CursorPageParams {
|
|
516
|
+
/**
|
|
517
|
+
* Query param: Filter webhooks by status
|
|
518
|
+
*/
|
|
519
|
+
status?: 'active' | 'paused' | 'suspended';
|
|
520
|
+
/**
|
|
521
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
522
|
+
* configured API version if not specified.
|
|
523
|
+
*/
|
|
524
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
525
|
+
}
|
|
515
526
|
export interface WebhookCreateParams {
|
|
516
527
|
/**
|
|
517
528
|
* Body param: Human-readable name for the webhook
|
|
@@ -577,17 +588,6 @@ export interface WebhookUpdateParams {
|
|
|
577
588
|
*/
|
|
578
589
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
579
590
|
}
|
|
580
|
-
export interface WebhookListParams extends CursorPageParams {
|
|
581
|
-
/**
|
|
582
|
-
* Query param: Filter webhooks by status
|
|
583
|
-
*/
|
|
584
|
-
status?: 'active' | 'paused' | 'suspended';
|
|
585
|
-
/**
|
|
586
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
587
|
-
* configured API version if not specified.
|
|
588
|
-
*/
|
|
589
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
590
|
-
}
|
|
591
591
|
export interface WebhookDeleteParams {
|
|
592
592
|
/**
|
|
593
593
|
* API version for this request. Defaults to your organization's configured API
|
|
@@ -603,6 +603,6 @@ export interface WebhookRefreshSecretParams {
|
|
|
603
603
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
604
604
|
}
|
|
605
605
|
export declare namespace Webhooks {
|
|
606
|
-
export { type Webhook as Webhook, type WebhookRequestConfigInput as WebhookRequestConfigInput, type WebhookDeleteResponse as WebhookDeleteResponse, type WebhooksCursorPage as WebhooksCursorPage, type
|
|
606
|
+
export { type Webhook as Webhook, type WebhookRequestConfigInput as WebhookRequestConfigInput, type WebhookDeleteResponse as WebhookDeleteResponse, type WebhooksCursorPage as WebhooksCursorPage, type WebhookListParams as WebhookListParams, type WebhookCreateParams as WebhookCreateParams, type WebhookRetrieveParams as WebhookRetrieveParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookDeleteParams as WebhookDeleteParams, type WebhookRefreshSecretParams as WebhookRefreshSecretParams, };
|
|
607
607
|
}
|
|
608
608
|
//# sourceMappingURL=webhooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,8BAA2B;AAEpF,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6DG;IACH,IAAI,CACF,MAAM,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,kBAAkB,EAAE,OAAO,CAAC;IAgB3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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