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
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as CommentsAPI from "./comments.js";
|
|
3
|
+
import * as PostsAPI from "./posts/posts.js";
|
|
2
4
|
import * as TicketsAPI from "../support/tickets/tickets.js";
|
|
3
5
|
import { APIPromise } from "../../core/api-promise.js";
|
|
4
6
|
import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.js";
|
|
@@ -7,6 +9,85 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
7
9
|
* Threaded discussions on posts and changelogs. Comments support voting, moderation, and privacy controls.
|
|
8
10
|
*/
|
|
9
11
|
export declare class Comments extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns comments for your organization.
|
|
14
|
+
*
|
|
15
|
+
* Comments are threaded discussions. Each comment can have:
|
|
16
|
+
*
|
|
17
|
+
* - Author information
|
|
18
|
+
* - Voting (upvotes/downvotes)
|
|
19
|
+
* - Privacy settings (public/private)
|
|
20
|
+
* - Moderation status
|
|
21
|
+
* - Parent comment reference for threading
|
|
22
|
+
*
|
|
23
|
+
* ### Filtering
|
|
24
|
+
*
|
|
25
|
+
* Optionally filter by:
|
|
26
|
+
*
|
|
27
|
+
* - `postId` - Get comments for a specific post
|
|
28
|
+
* - `changelogId` - Get comments for a specific changelog
|
|
29
|
+
*
|
|
30
|
+
* If no filter is provided, returns all comments across the organization.
|
|
31
|
+
*
|
|
32
|
+
* ### Pagination
|
|
33
|
+
*
|
|
34
|
+
* This endpoint uses **cursor-based pagination**:
|
|
35
|
+
*
|
|
36
|
+
* - `limit` - Number of comments to return (1-100, default 10)
|
|
37
|
+
* - `cursor` - Opaque cursor from a previous response's `nextCursor` field
|
|
38
|
+
*
|
|
39
|
+
* **Example:** To paginate through results:
|
|
40
|
+
*
|
|
41
|
+
* 1. First request: `GET /v2/comments?postId={id}&limit=10`
|
|
42
|
+
* 2. If `nextCursor` is not null, use it for the next page
|
|
43
|
+
* 3. Next request: `GET /v2/comments?postId={id}&limit=10&cursor={nextCursor}`
|
|
44
|
+
*
|
|
45
|
+
* ### Response Format
|
|
46
|
+
*
|
|
47
|
+
* Returns a list object with:
|
|
48
|
+
*
|
|
49
|
+
* - `object` - Always "list"
|
|
50
|
+
* - `data` - Array of comment objects (flat structure with `parentCommentId` for
|
|
51
|
+
* threading)
|
|
52
|
+
* - `nextCursor` - Cursor for the next page (null if no more results)
|
|
53
|
+
*
|
|
54
|
+
* ### Comment Structure
|
|
55
|
+
*
|
|
56
|
+
* Each comment includes:
|
|
57
|
+
*
|
|
58
|
+
* - `id` - Unique comment identifier
|
|
59
|
+
* - `postId` / `changelogId` - Reference to the parent content
|
|
60
|
+
* - `parentCommentId` - Reference to parent comment (null for root comments)
|
|
61
|
+
* - `content` - Comment content in HTML format
|
|
62
|
+
* - `author` - Author information (id, name, profilePicture, type)
|
|
63
|
+
* - `upvotes` / `downvotes` / `score` - Voting metrics
|
|
64
|
+
* - `isPrivate` - Whether comment is only visible to admins
|
|
65
|
+
* - `inReview` - Whether comment is pending moderation
|
|
66
|
+
* - `created` / `updated` - Unix timestamps
|
|
67
|
+
*
|
|
68
|
+
* ### Additional Filters
|
|
69
|
+
*
|
|
70
|
+
* - `privacy` - Filter by privacy: "public", "private", or "all"
|
|
71
|
+
* - `inReview` - Filter by moderation status (true/false)
|
|
72
|
+
*
|
|
73
|
+
* ### Sorting
|
|
74
|
+
*
|
|
75
|
+
* Use `sortBy` to sort results:
|
|
76
|
+
*
|
|
77
|
+
* - `best` - Sort by confidence score (default, like Reddit)
|
|
78
|
+
* - `top` - Sort by net score (upvotes - downvotes)
|
|
79
|
+
* - `new` - Sort by creation date, newest first
|
|
80
|
+
* - `old` - Sort by creation date, oldest first
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* ```ts
|
|
84
|
+
* // Automatically fetches more pages as needed.
|
|
85
|
+
* for await (const comment of client.feedback.comments.list()) {
|
|
86
|
+
* // ...
|
|
87
|
+
* }
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
list(params?: CommentListParams | null | undefined, options?: RequestOptions): PagePromise<CommentsCursorPage, Comment>;
|
|
10
91
|
/**
|
|
11
92
|
* Creates a new comment or reply to an existing comment.
|
|
12
93
|
*
|
|
@@ -146,85 +227,6 @@ export declare class Comments extends APIResource {
|
|
|
146
227
|
* ```
|
|
147
228
|
*/
|
|
148
229
|
update(id: string, params: CommentUpdateParams, options?: RequestOptions): APIPromise<Comment>;
|
|
149
|
-
/**
|
|
150
|
-
* Returns comments for your organization.
|
|
151
|
-
*
|
|
152
|
-
* Comments are threaded discussions. Each comment can have:
|
|
153
|
-
*
|
|
154
|
-
* - Author information
|
|
155
|
-
* - Voting (upvotes/downvotes)
|
|
156
|
-
* - Privacy settings (public/private)
|
|
157
|
-
* - Moderation status
|
|
158
|
-
* - Parent comment reference for threading
|
|
159
|
-
*
|
|
160
|
-
* ### Filtering
|
|
161
|
-
*
|
|
162
|
-
* Optionally filter by:
|
|
163
|
-
*
|
|
164
|
-
* - `postId` - Get comments for a specific post
|
|
165
|
-
* - `changelogId` - Get comments for a specific changelog
|
|
166
|
-
*
|
|
167
|
-
* If no filter is provided, returns all comments across the organization.
|
|
168
|
-
*
|
|
169
|
-
* ### Pagination
|
|
170
|
-
*
|
|
171
|
-
* This endpoint uses **cursor-based pagination**:
|
|
172
|
-
*
|
|
173
|
-
* - `limit` - Number of comments to return (1-100, default 10)
|
|
174
|
-
* - `cursor` - Opaque cursor from a previous response's `nextCursor` field
|
|
175
|
-
*
|
|
176
|
-
* **Example:** To paginate through results:
|
|
177
|
-
*
|
|
178
|
-
* 1. First request: `GET /v2/comments?postId={id}&limit=10`
|
|
179
|
-
* 2. If `nextCursor` is not null, use it for the next page
|
|
180
|
-
* 3. Next request: `GET /v2/comments?postId={id}&limit=10&cursor={nextCursor}`
|
|
181
|
-
*
|
|
182
|
-
* ### Response Format
|
|
183
|
-
*
|
|
184
|
-
* Returns a list object with:
|
|
185
|
-
*
|
|
186
|
-
* - `object` - Always "list"
|
|
187
|
-
* - `data` - Array of comment objects (flat structure with `parentCommentId` for
|
|
188
|
-
* threading)
|
|
189
|
-
* - `nextCursor` - Cursor for the next page (null if no more results)
|
|
190
|
-
*
|
|
191
|
-
* ### Comment Structure
|
|
192
|
-
*
|
|
193
|
-
* Each comment includes:
|
|
194
|
-
*
|
|
195
|
-
* - `id` - Unique comment identifier
|
|
196
|
-
* - `postId` / `changelogId` - Reference to the parent content
|
|
197
|
-
* - `parentCommentId` - Reference to parent comment (null for root comments)
|
|
198
|
-
* - `content` - Comment content in HTML format
|
|
199
|
-
* - `author` - Author information (id, name, profilePicture, type)
|
|
200
|
-
* - `upvotes` / `downvotes` / `score` - Voting metrics
|
|
201
|
-
* - `isPrivate` - Whether comment is only visible to admins
|
|
202
|
-
* - `inReview` - Whether comment is pending moderation
|
|
203
|
-
* - `created` / `updated` - Unix timestamps
|
|
204
|
-
*
|
|
205
|
-
* ### Additional Filters
|
|
206
|
-
*
|
|
207
|
-
* - `privacy` - Filter by privacy: "public", "private", or "all"
|
|
208
|
-
* - `inReview` - Filter by moderation status (true/false)
|
|
209
|
-
*
|
|
210
|
-
* ### Sorting
|
|
211
|
-
*
|
|
212
|
-
* Use `sortBy` to sort results:
|
|
213
|
-
*
|
|
214
|
-
* - `best` - Sort by confidence score (default, like Reddit)
|
|
215
|
-
* - `top` - Sort by net score (upvotes - downvotes)
|
|
216
|
-
* - `new` - Sort by creation date, newest first
|
|
217
|
-
* - `old` - Sort by creation date, oldest first
|
|
218
|
-
*
|
|
219
|
-
* @example
|
|
220
|
-
* ```ts
|
|
221
|
-
* // Automatically fetches more pages as needed.
|
|
222
|
-
* for await (const comment of client.feedback.comments.list()) {
|
|
223
|
-
* // ...
|
|
224
|
-
* }
|
|
225
|
-
* ```
|
|
226
|
-
*/
|
|
227
|
-
list(params?: CommentListParams | null | undefined, options?: RequestOptions): PagePromise<CommentsCursorPage, Comment>;
|
|
228
230
|
/**
|
|
229
231
|
* Deletes a comment by its unique identifier.
|
|
230
232
|
*
|
|
@@ -488,7 +490,7 @@ export interface Comment {
|
|
|
488
490
|
* Unique identifier
|
|
489
491
|
*/
|
|
490
492
|
id: string;
|
|
491
|
-
author:
|
|
493
|
+
author: CommentAuthor | null;
|
|
492
494
|
/**
|
|
493
495
|
* Changelog ID this comment belongs to
|
|
494
496
|
*/
|
|
@@ -550,25 +552,23 @@ export interface Comment {
|
|
|
550
552
|
*/
|
|
551
553
|
upvotes: number;
|
|
552
554
|
}
|
|
553
|
-
export
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
type: 'admin' | 'customer' | 'guest' | 'integration' | 'bot' | 'lead';
|
|
571
|
-
}
|
|
555
|
+
export interface CommentAuthor {
|
|
556
|
+
/**
|
|
557
|
+
* Author unique identifier
|
|
558
|
+
*/
|
|
559
|
+
id: string | null;
|
|
560
|
+
/**
|
|
561
|
+
* Author display name
|
|
562
|
+
*/
|
|
563
|
+
name: string;
|
|
564
|
+
/**
|
|
565
|
+
* Author profile picture URL
|
|
566
|
+
*/
|
|
567
|
+
profilePicture: string | null;
|
|
568
|
+
/**
|
|
569
|
+
* Type of user who authored the comment
|
|
570
|
+
*/
|
|
571
|
+
type: 'admin' | 'customer' | 'guest' | 'integration' | 'bot' | 'lead';
|
|
572
572
|
}
|
|
573
573
|
export interface CommentDelete0Response {
|
|
574
574
|
/**
|
|
@@ -618,7 +618,7 @@ export declare namespace CommentSearchResponse {
|
|
|
618
618
|
* Unique identifier
|
|
619
619
|
*/
|
|
620
620
|
id: string;
|
|
621
|
-
author:
|
|
621
|
+
author: CommentsAPI.CommentAuthor | null;
|
|
622
622
|
/**
|
|
623
623
|
* Changelog ID this comment belongs to
|
|
624
624
|
*/
|
|
@@ -680,26 +680,33 @@ export declare namespace CommentSearchResponse {
|
|
|
680
680
|
*/
|
|
681
681
|
upvotes: number;
|
|
682
682
|
}
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
683
|
+
}
|
|
684
|
+
export interface CommentListParams extends CursorPageParams {
|
|
685
|
+
/**
|
|
686
|
+
* Query param: Filter comments by changelog ID
|
|
687
|
+
*/
|
|
688
|
+
changelogId?: string;
|
|
689
|
+
/**
|
|
690
|
+
* Query param: Filter by review status
|
|
691
|
+
*/
|
|
692
|
+
inReview?: boolean | null;
|
|
693
|
+
/**
|
|
694
|
+
* Query param: Filter comments by post ID
|
|
695
|
+
*/
|
|
696
|
+
postId?: string;
|
|
697
|
+
/**
|
|
698
|
+
* Query param: Filter comments by privacy
|
|
699
|
+
*/
|
|
700
|
+
privacy?: 'public' | 'private' | 'all';
|
|
701
|
+
/**
|
|
702
|
+
* Query param: Sort order for comments
|
|
703
|
+
*/
|
|
704
|
+
sortBy?: 'best' | 'top' | 'new' | 'old';
|
|
705
|
+
/**
|
|
706
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
707
|
+
* configured API version if not specified.
|
|
708
|
+
*/
|
|
709
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
703
710
|
}
|
|
704
711
|
export interface CommentCreateParams {
|
|
705
712
|
/**
|
|
@@ -797,33 +804,6 @@ export interface CommentUpdateParams {
|
|
|
797
804
|
*/
|
|
798
805
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
799
806
|
}
|
|
800
|
-
export interface CommentListParams extends CursorPageParams {
|
|
801
|
-
/**
|
|
802
|
-
* Query param: Filter comments by changelog ID
|
|
803
|
-
*/
|
|
804
|
-
changelogId?: string;
|
|
805
|
-
/**
|
|
806
|
-
* Query param: Filter by review status
|
|
807
|
-
*/
|
|
808
|
-
inReview?: boolean | null;
|
|
809
|
-
/**
|
|
810
|
-
* Query param: Filter comments by post ID
|
|
811
|
-
*/
|
|
812
|
-
postId?: string;
|
|
813
|
-
/**
|
|
814
|
-
* Query param: Filter comments by privacy
|
|
815
|
-
*/
|
|
816
|
-
privacy?: 'public' | 'private' | 'all';
|
|
817
|
-
/**
|
|
818
|
-
* Query param: Sort order for comments
|
|
819
|
-
*/
|
|
820
|
-
sortBy?: 'best' | 'top' | 'new' | 'old';
|
|
821
|
-
/**
|
|
822
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
823
|
-
* configured API version if not specified.
|
|
824
|
-
*/
|
|
825
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
826
|
-
}
|
|
827
807
|
export interface CommentDelete0Params {
|
|
828
808
|
/**
|
|
829
809
|
* API version for this request. Defaults to your organization's configured API
|
|
@@ -856,7 +836,7 @@ export interface CommentSearchParams {
|
|
|
856
836
|
* Body param: Structured filter AST. Either a single filter clause or one
|
|
857
837
|
* top-level AND group (max 15 clauses). Top-level OR groups are not yet supported.
|
|
858
838
|
*/
|
|
859
|
-
query?:
|
|
839
|
+
query?: PostsAPI.SearchFilter | PostsAPI.SearchFilterGroup;
|
|
860
840
|
/**
|
|
861
841
|
* Body param: Plain-text full-text search across comment `content`. Server-managed
|
|
862
842
|
* (hybrid BM25 + vector, semanticRatio 0.5) — no operators, no field selection.
|
|
@@ -879,49 +859,7 @@ export interface CommentSearchParams {
|
|
|
879
859
|
*/
|
|
880
860
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
881
861
|
}
|
|
882
|
-
export declare namespace CommentSearchParams {
|
|
883
|
-
interface SearchFilter {
|
|
884
|
-
/**
|
|
885
|
-
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
886
|
-
*/
|
|
887
|
-
field: string;
|
|
888
|
-
/**
|
|
889
|
-
* Comparison operator
|
|
890
|
-
*/
|
|
891
|
-
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
892
|
-
/**
|
|
893
|
-
* Value to compare against (primitive or array of primitives)
|
|
894
|
-
*/
|
|
895
|
-
value: string | number | boolean | Array<string | number> | null;
|
|
896
|
-
}
|
|
897
|
-
interface SearchFilterGroup {
|
|
898
|
-
/**
|
|
899
|
-
* Group operator: AND (all match) or OR (any match)
|
|
900
|
-
*/
|
|
901
|
-
operator: 'AND' | 'OR';
|
|
902
|
-
/**
|
|
903
|
-
* Array of filter clauses (1-15 entries)
|
|
904
|
-
*/
|
|
905
|
-
value: Array<SearchFilterGroup.Value>;
|
|
906
|
-
}
|
|
907
|
-
namespace SearchFilterGroup {
|
|
908
|
-
interface Value {
|
|
909
|
-
/**
|
|
910
|
-
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
911
|
-
*/
|
|
912
|
-
field: string;
|
|
913
|
-
/**
|
|
914
|
-
* Comparison operator
|
|
915
|
-
*/
|
|
916
|
-
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
917
|
-
/**
|
|
918
|
-
* Value to compare against (primitive or array of primitives)
|
|
919
|
-
*/
|
|
920
|
-
value: string | number | boolean | Array<string | number> | null;
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
862
|
export declare namespace Comments {
|
|
925
|
-
export { type Comment as Comment, type CommentDelete0Response as CommentDelete0Response, type CommentDelete1Response as CommentDelete1Response, type CommentSearchResponse as CommentSearchResponse, type CommentsCursorPage as CommentsCursorPage, type
|
|
863
|
+
export { type Comment as Comment, type CommentAuthor as CommentAuthor, type CommentDelete0Response as CommentDelete0Response, type CommentDelete1Response as CommentDelete1Response, type CommentSearchResponse as CommentSearchResponse, type CommentsCursorPage as CommentsCursorPage, type CommentListParams as CommentListParams, type CommentCreateParams as CommentCreateParams, type CommentRetrieveParams as CommentRetrieveParams, type CommentUpdateParams as CommentUpdateParams, type CommentDelete0Params as CommentDelete0Params, type CommentDelete1Params as CommentDelete1Params, type CommentSearchParams as CommentSearchParams, };
|
|
926
864
|
}
|
|
927
865
|
//# sourceMappingURL=comments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../src/resources/feedback/comments.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../src/resources/feedback/comments.ts"],"names":[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AED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY,GAAG,QAAQ,CAAC,iBAAiB,CAAC;IAE3D;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,gBAAgB,GAAG,eAAe,GAAG,sBAAsB,GAAG,qBAAqB,GAAG,YAAY,CAAC;IAE1G;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -10,6 +10,99 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
10
10
|
* Threaded discussions on posts and changelogs. Comments support voting, moderation, and privacy controls.
|
|
11
11
|
*/
|
|
12
12
|
class Comments extends resource_1.APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Returns comments for your organization.
|
|
15
|
+
*
|
|
16
|
+
* Comments are threaded discussions. Each comment can have:
|
|
17
|
+
*
|
|
18
|
+
* - Author information
|
|
19
|
+
* - Voting (upvotes/downvotes)
|
|
20
|
+
* - Privacy settings (public/private)
|
|
21
|
+
* - Moderation status
|
|
22
|
+
* - Parent comment reference for threading
|
|
23
|
+
*
|
|
24
|
+
* ### Filtering
|
|
25
|
+
*
|
|
26
|
+
* Optionally filter by:
|
|
27
|
+
*
|
|
28
|
+
* - `postId` - Get comments for a specific post
|
|
29
|
+
* - `changelogId` - Get comments for a specific changelog
|
|
30
|
+
*
|
|
31
|
+
* If no filter is provided, returns all comments across the organization.
|
|
32
|
+
*
|
|
33
|
+
* ### Pagination
|
|
34
|
+
*
|
|
35
|
+
* This endpoint uses **cursor-based pagination**:
|
|
36
|
+
*
|
|
37
|
+
* - `limit` - Number of comments to return (1-100, default 10)
|
|
38
|
+
* - `cursor` - Opaque cursor from a previous response's `nextCursor` field
|
|
39
|
+
*
|
|
40
|
+
* **Example:** To paginate through results:
|
|
41
|
+
*
|
|
42
|
+
* 1. First request: `GET /v2/comments?postId={id}&limit=10`
|
|
43
|
+
* 2. If `nextCursor` is not null, use it for the next page
|
|
44
|
+
* 3. Next request: `GET /v2/comments?postId={id}&limit=10&cursor={nextCursor}`
|
|
45
|
+
*
|
|
46
|
+
* ### Response Format
|
|
47
|
+
*
|
|
48
|
+
* Returns a list object with:
|
|
49
|
+
*
|
|
50
|
+
* - `object` - Always "list"
|
|
51
|
+
* - `data` - Array of comment objects (flat structure with `parentCommentId` for
|
|
52
|
+
* threading)
|
|
53
|
+
* - `nextCursor` - Cursor for the next page (null if no more results)
|
|
54
|
+
*
|
|
55
|
+
* ### Comment Structure
|
|
56
|
+
*
|
|
57
|
+
* Each comment includes:
|
|
58
|
+
*
|
|
59
|
+
* - `id` - Unique comment identifier
|
|
60
|
+
* - `postId` / `changelogId` - Reference to the parent content
|
|
61
|
+
* - `parentCommentId` - Reference to parent comment (null for root comments)
|
|
62
|
+
* - `content` - Comment content in HTML format
|
|
63
|
+
* - `author` - Author information (id, name, profilePicture, type)
|
|
64
|
+
* - `upvotes` / `downvotes` / `score` - Voting metrics
|
|
65
|
+
* - `isPrivate` - Whether comment is only visible to admins
|
|
66
|
+
* - `inReview` - Whether comment is pending moderation
|
|
67
|
+
* - `created` / `updated` - Unix timestamps
|
|
68
|
+
*
|
|
69
|
+
* ### Additional Filters
|
|
70
|
+
*
|
|
71
|
+
* - `privacy` - Filter by privacy: "public", "private", or "all"
|
|
72
|
+
* - `inReview` - Filter by moderation status (true/false)
|
|
73
|
+
*
|
|
74
|
+
* ### Sorting
|
|
75
|
+
*
|
|
76
|
+
* Use `sortBy` to sort results:
|
|
77
|
+
*
|
|
78
|
+
* - `best` - Sort by confidence score (default, like Reddit)
|
|
79
|
+
* - `top` - Sort by net score (upvotes - downvotes)
|
|
80
|
+
* - `new` - Sort by creation date, newest first
|
|
81
|
+
* - `old` - Sort by creation date, oldest first
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```ts
|
|
85
|
+
* // Automatically fetches more pages as needed.
|
|
86
|
+
* for await (const comment of client.feedback.comments.list()) {
|
|
87
|
+
* // ...
|
|
88
|
+
* }
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
list(params = {}, options) {
|
|
92
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
93
|
+
return this._client.getAPIList('/v2/comments', (pagination_1.CursorPage), {
|
|
94
|
+
query,
|
|
95
|
+
...options,
|
|
96
|
+
headers: (0, headers_1.buildHeaders)([
|
|
97
|
+
{
|
|
98
|
+
...(featurebaseVersion?.toString() != null ?
|
|
99
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
100
|
+
: undefined),
|
|
101
|
+
},
|
|
102
|
+
options?.headers,
|
|
103
|
+
]),
|
|
104
|
+
});
|
|
105
|
+
}
|
|
13
106
|
/**
|
|
14
107
|
* Creates a new comment or reply to an existing comment.
|
|
15
108
|
*
|
|
@@ -190,99 +283,6 @@ class Comments extends resource_1.APIResource {
|
|
|
190
283
|
]),
|
|
191
284
|
});
|
|
192
285
|
}
|
|
193
|
-
/**
|
|
194
|
-
* Returns comments for your organization.
|
|
195
|
-
*
|
|
196
|
-
* Comments are threaded discussions. Each comment can have:
|
|
197
|
-
*
|
|
198
|
-
* - Author information
|
|
199
|
-
* - Voting (upvotes/downvotes)
|
|
200
|
-
* - Privacy settings (public/private)
|
|
201
|
-
* - Moderation status
|
|
202
|
-
* - Parent comment reference for threading
|
|
203
|
-
*
|
|
204
|
-
* ### Filtering
|
|
205
|
-
*
|
|
206
|
-
* Optionally filter by:
|
|
207
|
-
*
|
|
208
|
-
* - `postId` - Get comments for a specific post
|
|
209
|
-
* - `changelogId` - Get comments for a specific changelog
|
|
210
|
-
*
|
|
211
|
-
* If no filter is provided, returns all comments across the organization.
|
|
212
|
-
*
|
|
213
|
-
* ### Pagination
|
|
214
|
-
*
|
|
215
|
-
* This endpoint uses **cursor-based pagination**:
|
|
216
|
-
*
|
|
217
|
-
* - `limit` - Number of comments to return (1-100, default 10)
|
|
218
|
-
* - `cursor` - Opaque cursor from a previous response's `nextCursor` field
|
|
219
|
-
*
|
|
220
|
-
* **Example:** To paginate through results:
|
|
221
|
-
*
|
|
222
|
-
* 1. First request: `GET /v2/comments?postId={id}&limit=10`
|
|
223
|
-
* 2. If `nextCursor` is not null, use it for the next page
|
|
224
|
-
* 3. Next request: `GET /v2/comments?postId={id}&limit=10&cursor={nextCursor}`
|
|
225
|
-
*
|
|
226
|
-
* ### Response Format
|
|
227
|
-
*
|
|
228
|
-
* Returns a list object with:
|
|
229
|
-
*
|
|
230
|
-
* - `object` - Always "list"
|
|
231
|
-
* - `data` - Array of comment objects (flat structure with `parentCommentId` for
|
|
232
|
-
* threading)
|
|
233
|
-
* - `nextCursor` - Cursor for the next page (null if no more results)
|
|
234
|
-
*
|
|
235
|
-
* ### Comment Structure
|
|
236
|
-
*
|
|
237
|
-
* Each comment includes:
|
|
238
|
-
*
|
|
239
|
-
* - `id` - Unique comment identifier
|
|
240
|
-
* - `postId` / `changelogId` - Reference to the parent content
|
|
241
|
-
* - `parentCommentId` - Reference to parent comment (null for root comments)
|
|
242
|
-
* - `content` - Comment content in HTML format
|
|
243
|
-
* - `author` - Author information (id, name, profilePicture, type)
|
|
244
|
-
* - `upvotes` / `downvotes` / `score` - Voting metrics
|
|
245
|
-
* - `isPrivate` - Whether comment is only visible to admins
|
|
246
|
-
* - `inReview` - Whether comment is pending moderation
|
|
247
|
-
* - `created` / `updated` - Unix timestamps
|
|
248
|
-
*
|
|
249
|
-
* ### Additional Filters
|
|
250
|
-
*
|
|
251
|
-
* - `privacy` - Filter by privacy: "public", "private", or "all"
|
|
252
|
-
* - `inReview` - Filter by moderation status (true/false)
|
|
253
|
-
*
|
|
254
|
-
* ### Sorting
|
|
255
|
-
*
|
|
256
|
-
* Use `sortBy` to sort results:
|
|
257
|
-
*
|
|
258
|
-
* - `best` - Sort by confidence score (default, like Reddit)
|
|
259
|
-
* - `top` - Sort by net score (upvotes - downvotes)
|
|
260
|
-
* - `new` - Sort by creation date, newest first
|
|
261
|
-
* - `old` - Sort by creation date, oldest first
|
|
262
|
-
*
|
|
263
|
-
* @example
|
|
264
|
-
* ```ts
|
|
265
|
-
* // Automatically fetches more pages as needed.
|
|
266
|
-
* for await (const comment of client.feedback.comments.list()) {
|
|
267
|
-
* // ...
|
|
268
|
-
* }
|
|
269
|
-
* ```
|
|
270
|
-
*/
|
|
271
|
-
list(params = {}, options) {
|
|
272
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
273
|
-
return this._client.getAPIList('/v2/comments', (pagination_1.CursorPage), {
|
|
274
|
-
query,
|
|
275
|
-
...options,
|
|
276
|
-
headers: (0, headers_1.buildHeaders)([
|
|
277
|
-
{
|
|
278
|
-
...(featurebaseVersion?.toString() != null ?
|
|
279
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
280
|
-
: undefined),
|
|
281
|
-
},
|
|
282
|
-
options?.headers,
|
|
283
|
-
]),
|
|
284
|
-
});
|
|
285
|
-
}
|
|
286
286
|
/**
|
|
287
287
|
* Deletes a comment by its unique identifier.
|
|
288
288
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments.js","sourceRoot":"","sources":["../../src/resources/feedback/comments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"comments.js","sourceRoot":"","sources":["../../src/resources/feedback/comments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,yDAAuF;AACvF,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6EG;IACH,IAAI,CACF,SAA+C,EAAE,EACjD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,CAAA,uBAAmB,CAAA,EAAE;YAClE,KAAK;YACL,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;;;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