featurebase-node 0.13.0 → 0.14.1
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 +23 -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 +21 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +21 -3
- package/client.d.ts.map +1 -1
- package/client.js +27 -1
- package/client.js.map +1 -1
- package/client.mjs +27 -1
- 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/audit-logs.d.mts +233 -0
- package/resources/audit-logs.d.mts.map +1 -0
- package/resources/audit-logs.d.ts +233 -0
- package/resources/audit-logs.d.ts.map +1 -0
- package/resources/audit-logs.js +122 -0
- package/resources/audit-logs.js.map +1 -0
- package/resources/audit-logs.mjs +118 -0
- package/resources/audit-logs.mjs.map +1 -0
- 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 +6 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/organization/admins.d.mts +33 -23
- package/resources/organization/admins.d.mts.map +1 -1
- package/resources/organization/admins.d.ts +33 -23
- package/resources/organization/admins.d.ts.map +1 -1
- package/resources/organization/admins.js +27 -25
- package/resources/organization/admins.js.map +1 -1
- package/resources/organization/admins.mjs +27 -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/reports.d.mts +641 -0
- package/resources/reports.d.mts.map +1 -0
- package/resources/reports.d.ts +641 -0
- package/resources/reports.d.ts.map +1 -0
- package/resources/reports.js +238 -0
- package/resources/reports.js.map +1 -0
- package/resources/reports.mjs +234 -0
- package/resources/reports.mjs.map +1 -0
- 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 +80 -78
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +80 -78
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +79 -77
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +79 -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 +98 -4
- package/src/resources/audit-logs.ts +607 -0
- 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 +37 -3
- package/src/resources/organization/admins.ts +45 -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/reports.ts +908 -0
- 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 +100 -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
|
@@ -5,48 +5,6 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
5
5
|
* Teams are groups within your Featurebase organization. Use this endpoint to list and retrieve team information for conversation assignment and organization management.
|
|
6
6
|
*/
|
|
7
7
|
export declare class Teams extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Retrieves a single team by its Featurebase ID.
|
|
10
|
-
*
|
|
11
|
-
* ### Path Parameters
|
|
12
|
-
*
|
|
13
|
-
* - `id` - The Featurebase internal ID of the team (MongoDB ObjectId)
|
|
14
|
-
*
|
|
15
|
-
* ### Response
|
|
16
|
-
*
|
|
17
|
-
* Returns a team object with:
|
|
18
|
-
*
|
|
19
|
-
* - `id` - Unique team identifier
|
|
20
|
-
* - `name` - Team display name
|
|
21
|
-
* - `color` - Team color in hex format
|
|
22
|
-
* - `icon` - Team icon (emoji, predefined, or external URL)
|
|
23
|
-
* - `members` - Array of admin IDs who are members of this team
|
|
24
|
-
*
|
|
25
|
-
* ### Example Response
|
|
26
|
-
*
|
|
27
|
-
* ```json
|
|
28
|
-
* {
|
|
29
|
-
* "object": "team",
|
|
30
|
-
* "id": "507f1f77bcf86cd799439011",
|
|
31
|
-
* "name": "Support Team",
|
|
32
|
-
* "color": "#3B82F6",
|
|
33
|
-
* "icon": {
|
|
34
|
-
* "value": "👥",
|
|
35
|
-
* "type": "emoji"
|
|
36
|
-
* },
|
|
37
|
-
* "members": ["5fef50c5e9458a0012f82456", "5fef50c5e9458a0012f82457"]
|
|
38
|
-
* }
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* ### Error Responses
|
|
42
|
-
*
|
|
43
|
-
* - **404 Not Found** - Team with the specified ID does not exist
|
|
44
|
-
*
|
|
45
|
-
* ### Version Availability
|
|
46
|
-
*
|
|
47
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
48
|
-
*/
|
|
49
|
-
retrieve(id: string, params?: TeamRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Team>;
|
|
50
8
|
/**
|
|
51
9
|
* Returns all teams in your organization.
|
|
52
10
|
*
|
|
@@ -93,6 +51,48 @@ export declare class Teams extends APIResource {
|
|
|
93
51
|
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
94
52
|
*/
|
|
95
53
|
list(params?: TeamListParams | null | undefined, options?: RequestOptions): APIPromise<TeamListResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieves a single team by its Featurebase ID.
|
|
56
|
+
*
|
|
57
|
+
* ### Path Parameters
|
|
58
|
+
*
|
|
59
|
+
* - `id` - The Featurebase internal ID of the team (MongoDB ObjectId)
|
|
60
|
+
*
|
|
61
|
+
* ### Response
|
|
62
|
+
*
|
|
63
|
+
* Returns a team object with:
|
|
64
|
+
*
|
|
65
|
+
* - `id` - Unique team identifier
|
|
66
|
+
* - `name` - Team display name
|
|
67
|
+
* - `color` - Team color in hex format
|
|
68
|
+
* - `icon` - Team icon (emoji, predefined, or external URL)
|
|
69
|
+
* - `members` - Array of admin IDs who are members of this team
|
|
70
|
+
*
|
|
71
|
+
* ### Example Response
|
|
72
|
+
*
|
|
73
|
+
* ```json
|
|
74
|
+
* {
|
|
75
|
+
* "object": "team",
|
|
76
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
77
|
+
* "name": "Support Team",
|
|
78
|
+
* "color": "#3B82F6",
|
|
79
|
+
* "icon": {
|
|
80
|
+
* "value": "👥",
|
|
81
|
+
* "type": "emoji"
|
|
82
|
+
* },
|
|
83
|
+
* "members": ["5fef50c5e9458a0012f82456", "5fef50c5e9458a0012f82457"]
|
|
84
|
+
* }
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* ### Error Responses
|
|
88
|
+
*
|
|
89
|
+
* - **404 Not Found** - Team with the specified ID does not exist
|
|
90
|
+
*
|
|
91
|
+
* ### Version Availability
|
|
92
|
+
*
|
|
93
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
94
|
+
*/
|
|
95
|
+
retrieve(id: string, params?: TeamRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Team>;
|
|
96
96
|
}
|
|
97
97
|
export interface Team {
|
|
98
98
|
/**
|
|
@@ -145,14 +145,14 @@ export interface TeamListResponse {
|
|
|
145
145
|
*/
|
|
146
146
|
object: 'list';
|
|
147
147
|
}
|
|
148
|
-
export interface
|
|
148
|
+
export interface TeamListParams {
|
|
149
149
|
/**
|
|
150
150
|
* API version for this request. Defaults to your organization's configured API
|
|
151
151
|
* version if not specified.
|
|
152
152
|
*/
|
|
153
153
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
154
154
|
}
|
|
155
|
-
export interface
|
|
155
|
+
export interface TeamRetrieveParams {
|
|
156
156
|
/**
|
|
157
157
|
* API version for this request. Defaults to your organization's configured API
|
|
158
158
|
* version if not specified.
|
|
@@ -160,6 +160,6 @@ export interface TeamListParams {
|
|
|
160
160
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
161
161
|
}
|
|
162
162
|
export declare namespace Teams {
|
|
163
|
-
export { type Team as Team, type TeamListResponse as TeamListResponse, type
|
|
163
|
+
export { type Team as Team, type TeamListResponse as TeamListResponse, type TeamListParams as TeamListParams, type TeamRetrieveParams as TeamRetrieveParams, };
|
|
164
164
|
}
|
|
165
165
|
//# sourceMappingURL=teams.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teams.d.mts","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"teams.d.mts","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACH,IAAI,CACF,MAAM,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAe/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAcpB;AAED,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,yBAAiB,IAAI,CAAC;IACpB;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,IAAI,EAAE,OAAO,GAAG,YAAY,GAAG,UAAU,CAAC;QAE1C;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAElB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -5,48 +5,6 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
5
5
|
* Teams are groups within your Featurebase organization. Use this endpoint to list and retrieve team information for conversation assignment and organization management.
|
|
6
6
|
*/
|
|
7
7
|
export declare class Teams extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Retrieves a single team by its Featurebase ID.
|
|
10
|
-
*
|
|
11
|
-
* ### Path Parameters
|
|
12
|
-
*
|
|
13
|
-
* - `id` - The Featurebase internal ID of the team (MongoDB ObjectId)
|
|
14
|
-
*
|
|
15
|
-
* ### Response
|
|
16
|
-
*
|
|
17
|
-
* Returns a team object with:
|
|
18
|
-
*
|
|
19
|
-
* - `id` - Unique team identifier
|
|
20
|
-
* - `name` - Team display name
|
|
21
|
-
* - `color` - Team color in hex format
|
|
22
|
-
* - `icon` - Team icon (emoji, predefined, or external URL)
|
|
23
|
-
* - `members` - Array of admin IDs who are members of this team
|
|
24
|
-
*
|
|
25
|
-
* ### Example Response
|
|
26
|
-
*
|
|
27
|
-
* ```json
|
|
28
|
-
* {
|
|
29
|
-
* "object": "team",
|
|
30
|
-
* "id": "507f1f77bcf86cd799439011",
|
|
31
|
-
* "name": "Support Team",
|
|
32
|
-
* "color": "#3B82F6",
|
|
33
|
-
* "icon": {
|
|
34
|
-
* "value": "👥",
|
|
35
|
-
* "type": "emoji"
|
|
36
|
-
* },
|
|
37
|
-
* "members": ["5fef50c5e9458a0012f82456", "5fef50c5e9458a0012f82457"]
|
|
38
|
-
* }
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* ### Error Responses
|
|
42
|
-
*
|
|
43
|
-
* - **404 Not Found** - Team with the specified ID does not exist
|
|
44
|
-
*
|
|
45
|
-
* ### Version Availability
|
|
46
|
-
*
|
|
47
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
48
|
-
*/
|
|
49
|
-
retrieve(id: string, params?: TeamRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Team>;
|
|
50
8
|
/**
|
|
51
9
|
* Returns all teams in your organization.
|
|
52
10
|
*
|
|
@@ -93,6 +51,48 @@ export declare class Teams extends APIResource {
|
|
|
93
51
|
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
94
52
|
*/
|
|
95
53
|
list(params?: TeamListParams | null | undefined, options?: RequestOptions): APIPromise<TeamListResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieves a single team by its Featurebase ID.
|
|
56
|
+
*
|
|
57
|
+
* ### Path Parameters
|
|
58
|
+
*
|
|
59
|
+
* - `id` - The Featurebase internal ID of the team (MongoDB ObjectId)
|
|
60
|
+
*
|
|
61
|
+
* ### Response
|
|
62
|
+
*
|
|
63
|
+
* Returns a team object with:
|
|
64
|
+
*
|
|
65
|
+
* - `id` - Unique team identifier
|
|
66
|
+
* - `name` - Team display name
|
|
67
|
+
* - `color` - Team color in hex format
|
|
68
|
+
* - `icon` - Team icon (emoji, predefined, or external URL)
|
|
69
|
+
* - `members` - Array of admin IDs who are members of this team
|
|
70
|
+
*
|
|
71
|
+
* ### Example Response
|
|
72
|
+
*
|
|
73
|
+
* ```json
|
|
74
|
+
* {
|
|
75
|
+
* "object": "team",
|
|
76
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
77
|
+
* "name": "Support Team",
|
|
78
|
+
* "color": "#3B82F6",
|
|
79
|
+
* "icon": {
|
|
80
|
+
* "value": "👥",
|
|
81
|
+
* "type": "emoji"
|
|
82
|
+
* },
|
|
83
|
+
* "members": ["5fef50c5e9458a0012f82456", "5fef50c5e9458a0012f82457"]
|
|
84
|
+
* }
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* ### Error Responses
|
|
88
|
+
*
|
|
89
|
+
* - **404 Not Found** - Team with the specified ID does not exist
|
|
90
|
+
*
|
|
91
|
+
* ### Version Availability
|
|
92
|
+
*
|
|
93
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
94
|
+
*/
|
|
95
|
+
retrieve(id: string, params?: TeamRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Team>;
|
|
96
96
|
}
|
|
97
97
|
export interface Team {
|
|
98
98
|
/**
|
|
@@ -145,14 +145,14 @@ export interface TeamListResponse {
|
|
|
145
145
|
*/
|
|
146
146
|
object: 'list';
|
|
147
147
|
}
|
|
148
|
-
export interface
|
|
148
|
+
export interface TeamListParams {
|
|
149
149
|
/**
|
|
150
150
|
* API version for this request. Defaults to your organization's configured API
|
|
151
151
|
* version if not specified.
|
|
152
152
|
*/
|
|
153
153
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
154
154
|
}
|
|
155
|
-
export interface
|
|
155
|
+
export interface TeamRetrieveParams {
|
|
156
156
|
/**
|
|
157
157
|
* API version for this request. Defaults to your organization's configured API
|
|
158
158
|
* version if not specified.
|
|
@@ -160,6 +160,6 @@ export interface TeamListParams {
|
|
|
160
160
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
161
161
|
}
|
|
162
162
|
export declare namespace Teams {
|
|
163
|
-
export { type Team as Team, type TeamListResponse as TeamListResponse, type
|
|
163
|
+
export { type Team as Team, type TeamListResponse as TeamListResponse, type TeamListParams as TeamListParams, type TeamRetrieveParams as TeamRetrieveParams, };
|
|
164
164
|
}
|
|
165
165
|
//# sourceMappingURL=teams.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACH,IAAI,CACF,MAAM,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAe/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAcpB;AAED,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,yBAAiB,IAAI,CAAC;IACpB;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,IAAI,EAAE,OAAO,GAAG,YAAY,GAAG,UAAU,CAAC;QAE1C;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAElB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -10,15 +10,18 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class Teams extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Returns all teams in your organization.
|
|
14
14
|
*
|
|
15
|
-
* ###
|
|
15
|
+
* ### Response Structure
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* The response includes:
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* - `object` - Always "list"
|
|
20
|
+
* - `data` - Array of team objects
|
|
20
21
|
*
|
|
21
|
-
*
|
|
22
|
+
* ### Team Object
|
|
23
|
+
*
|
|
24
|
+
* Each team includes:
|
|
22
25
|
*
|
|
23
26
|
* - `id` - Unique team identifier
|
|
24
27
|
* - `name` - Team display name
|
|
@@ -30,29 +33,30 @@ class Teams extends resource_1.APIResource {
|
|
|
30
33
|
*
|
|
31
34
|
* ```json
|
|
32
35
|
* {
|
|
33
|
-
* "object": "
|
|
34
|
-
* "
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
36
|
+
* "object": "list",
|
|
37
|
+
* "data": [
|
|
38
|
+
* {
|
|
39
|
+
* "object": "team",
|
|
40
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
41
|
+
* "name": "Support Team",
|
|
42
|
+
* "color": "#3B82F6",
|
|
43
|
+
* "icon": {
|
|
44
|
+
* "value": "👥",
|
|
45
|
+
* "type": "emoji"
|
|
46
|
+
* },
|
|
47
|
+
* "members": ["5fef50c5e9458a0012f82456", "5fef50c5e9458a0012f82457"]
|
|
48
|
+
* }
|
|
49
|
+
* ]
|
|
42
50
|
* }
|
|
43
51
|
* ```
|
|
44
52
|
*
|
|
45
|
-
* ### Error Responses
|
|
46
|
-
*
|
|
47
|
-
* - **404 Not Found** - Team with the specified ID does not exist
|
|
48
|
-
*
|
|
49
53
|
* ### Version Availability
|
|
50
54
|
*
|
|
51
55
|
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
52
56
|
*/
|
|
53
|
-
|
|
57
|
+
list(params = {}, options) {
|
|
54
58
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
55
|
-
return this._client.get(
|
|
59
|
+
return this._client.get('/v2/teams', {
|
|
56
60
|
...options,
|
|
57
61
|
headers: (0, headers_1.buildHeaders)([
|
|
58
62
|
{
|
|
@@ -65,18 +69,15 @@ class Teams extends resource_1.APIResource {
|
|
|
65
69
|
});
|
|
66
70
|
}
|
|
67
71
|
/**
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* ### Response Structure
|
|
72
|
+
* Retrieves a single team by its Featurebase ID.
|
|
71
73
|
*
|
|
72
|
-
*
|
|
74
|
+
* ### Path Parameters
|
|
73
75
|
*
|
|
74
|
-
* - `
|
|
75
|
-
* - `data` - Array of team objects
|
|
76
|
+
* - `id` - The Featurebase internal ID of the team (MongoDB ObjectId)
|
|
76
77
|
*
|
|
77
|
-
* ###
|
|
78
|
+
* ### Response
|
|
78
79
|
*
|
|
79
|
-
*
|
|
80
|
+
* Returns a team object with:
|
|
80
81
|
*
|
|
81
82
|
* - `id` - Unique team identifier
|
|
82
83
|
* - `name` - Team display name
|
|
@@ -88,30 +89,29 @@ class Teams extends resource_1.APIResource {
|
|
|
88
89
|
*
|
|
89
90
|
* ```json
|
|
90
91
|
* {
|
|
91
|
-
* "object": "
|
|
92
|
-
* "
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
* "type": "emoji"
|
|
101
|
-
* },
|
|
102
|
-
* "members": ["5fef50c5e9458a0012f82456", "5fef50c5e9458a0012f82457"]
|
|
103
|
-
* }
|
|
104
|
-
* ]
|
|
92
|
+
* "object": "team",
|
|
93
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
94
|
+
* "name": "Support Team",
|
|
95
|
+
* "color": "#3B82F6",
|
|
96
|
+
* "icon": {
|
|
97
|
+
* "value": "👥",
|
|
98
|
+
* "type": "emoji"
|
|
99
|
+
* },
|
|
100
|
+
* "members": ["5fef50c5e9458a0012f82456", "5fef50c5e9458a0012f82457"]
|
|
105
101
|
* }
|
|
106
102
|
* ```
|
|
107
103
|
*
|
|
104
|
+
* ### Error Responses
|
|
105
|
+
*
|
|
106
|
+
* - **404 Not Found** - Team with the specified ID does not exist
|
|
107
|
+
*
|
|
108
108
|
* ### Version Availability
|
|
109
109
|
*
|
|
110
110
|
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
111
111
|
*/
|
|
112
|
-
|
|
112
|
+
retrieve(id, params = {}, options) {
|
|
113
113
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
114
|
-
return this._client.get(
|
|
114
|
+
return this._client.get((0, path_1.path) `/v2/teams/${id}`, {
|
|
115
115
|
...options,
|
|
116
116
|
headers: (0, headers_1.buildHeaders)([
|
|
117
117
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teams.js","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC
|
|
1
|
+
{"version":3,"file":"teams.js","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACH,IAAI,CACF,SAA4C,EAAE,EAC9C,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE;YACnC,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;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,QAAQ,CACN,EAAU,EACV,SAAgD,EAAE,EAClD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,EAAE,EAAE;YAC7C,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;AA3HD,sBA2HC"}
|
|
@@ -7,15 +7,18 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export class Teams extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Returns all teams in your organization.
|
|
11
11
|
*
|
|
12
|
-
* ###
|
|
12
|
+
* ### Response Structure
|
|
13
13
|
*
|
|
14
|
-
*
|
|
14
|
+
* The response includes:
|
|
15
15
|
*
|
|
16
|
-
*
|
|
16
|
+
* - `object` - Always "list"
|
|
17
|
+
* - `data` - Array of team objects
|
|
17
18
|
*
|
|
18
|
-
*
|
|
19
|
+
* ### Team Object
|
|
20
|
+
*
|
|
21
|
+
* Each team includes:
|
|
19
22
|
*
|
|
20
23
|
* - `id` - Unique team identifier
|
|
21
24
|
* - `name` - Team display name
|
|
@@ -27,29 +30,30 @@ export class Teams extends APIResource {
|
|
|
27
30
|
*
|
|
28
31
|
* ```json
|
|
29
32
|
* {
|
|
30
|
-
* "object": "
|
|
31
|
-
* "
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
33
|
+
* "object": "list",
|
|
34
|
+
* "data": [
|
|
35
|
+
* {
|
|
36
|
+
* "object": "team",
|
|
37
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
38
|
+
* "name": "Support Team",
|
|
39
|
+
* "color": "#3B82F6",
|
|
40
|
+
* "icon": {
|
|
41
|
+
* "value": "👥",
|
|
42
|
+
* "type": "emoji"
|
|
43
|
+
* },
|
|
44
|
+
* "members": ["5fef50c5e9458a0012f82456", "5fef50c5e9458a0012f82457"]
|
|
45
|
+
* }
|
|
46
|
+
* ]
|
|
39
47
|
* }
|
|
40
48
|
* ```
|
|
41
49
|
*
|
|
42
|
-
* ### Error Responses
|
|
43
|
-
*
|
|
44
|
-
* - **404 Not Found** - Team with the specified ID does not exist
|
|
45
|
-
*
|
|
46
50
|
* ### Version Availability
|
|
47
51
|
*
|
|
48
52
|
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
49
53
|
*/
|
|
50
|
-
|
|
54
|
+
list(params = {}, options) {
|
|
51
55
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
52
|
-
return this._client.get(
|
|
56
|
+
return this._client.get('/v2/teams', {
|
|
53
57
|
...options,
|
|
54
58
|
headers: buildHeaders([
|
|
55
59
|
{
|
|
@@ -62,18 +66,15 @@ export class Teams extends APIResource {
|
|
|
62
66
|
});
|
|
63
67
|
}
|
|
64
68
|
/**
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* ### Response Structure
|
|
69
|
+
* Retrieves a single team by its Featurebase ID.
|
|
68
70
|
*
|
|
69
|
-
*
|
|
71
|
+
* ### Path Parameters
|
|
70
72
|
*
|
|
71
|
-
* - `
|
|
72
|
-
* - `data` - Array of team objects
|
|
73
|
+
* - `id` - The Featurebase internal ID of the team (MongoDB ObjectId)
|
|
73
74
|
*
|
|
74
|
-
* ###
|
|
75
|
+
* ### Response
|
|
75
76
|
*
|
|
76
|
-
*
|
|
77
|
+
* Returns a team object with:
|
|
77
78
|
*
|
|
78
79
|
* - `id` - Unique team identifier
|
|
79
80
|
* - `name` - Team display name
|
|
@@ -85,30 +86,29 @@ export class Teams extends APIResource {
|
|
|
85
86
|
*
|
|
86
87
|
* ```json
|
|
87
88
|
* {
|
|
88
|
-
* "object": "
|
|
89
|
-
* "
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* "type": "emoji"
|
|
98
|
-
* },
|
|
99
|
-
* "members": ["5fef50c5e9458a0012f82456", "5fef50c5e9458a0012f82457"]
|
|
100
|
-
* }
|
|
101
|
-
* ]
|
|
89
|
+
* "object": "team",
|
|
90
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
91
|
+
* "name": "Support Team",
|
|
92
|
+
* "color": "#3B82F6",
|
|
93
|
+
* "icon": {
|
|
94
|
+
* "value": "👥",
|
|
95
|
+
* "type": "emoji"
|
|
96
|
+
* },
|
|
97
|
+
* "members": ["5fef50c5e9458a0012f82456", "5fef50c5e9458a0012f82457"]
|
|
102
98
|
* }
|
|
103
99
|
* ```
|
|
104
100
|
*
|
|
101
|
+
* ### Error Responses
|
|
102
|
+
*
|
|
103
|
+
* - **404 Not Found** - Team with the specified ID does not exist
|
|
104
|
+
*
|
|
105
105
|
* ### Version Availability
|
|
106
106
|
*
|
|
107
107
|
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
108
108
|
*/
|
|
109
|
-
|
|
109
|
+
retrieve(id, params = {}, options) {
|
|
110
110
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
111
|
-
return this._client.get(
|
|
111
|
+
return this._client.get(path `/v2/teams/${id}`, {
|
|
112
112
|
...options,
|
|
113
113
|
headers: buildHeaders([
|
|
114
114
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teams.mjs","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"teams.mjs","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACH,IAAI,CACF,SAA4C,EAAE,EAC9C,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE;YACnC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,QAAQ,CACN,EAAU,EACV,SAAgD,EAAE,EAClD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,EAAE,EAAE,EAAE;YAC7C,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.mts","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"organization.d.mts","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":"AAEA,yCAAqC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":"AAEA,wCAAqC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.mjs","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
1
|
+
{"version":3,"file":"organization.mjs","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,yCAAqC"}
|