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
|
@@ -11,25 +11,28 @@ import { path } from '../../internal/utils/path';
|
|
|
11
11
|
*/
|
|
12
12
|
export class Boards extends APIResource {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Returns all boards (post categories) for the authenticated organization.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* Boards are containers for posts/feedback. Each board can have different:
|
|
17
|
+
*
|
|
18
|
+
* - Access controls (public, private, segment-restricted)
|
|
19
|
+
* - Feature toggles (comments, posting enabled)
|
|
20
|
+
* - Custom fields
|
|
21
|
+
*
|
|
22
|
+
* This endpoint returns all boards without pagination. Organizations typically
|
|
23
|
+
* have a small number of boards.
|
|
18
24
|
*
|
|
19
25
|
* @example
|
|
20
26
|
* ```ts
|
|
21
|
-
* const
|
|
22
|
-
* '507f1f77bcf86cd799439011',
|
|
23
|
-
* );
|
|
27
|
+
* const boards = await client.feedback.boards.list();
|
|
24
28
|
* ```
|
|
25
29
|
*/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
params: BoardRetrieveParams | null | undefined = {},
|
|
30
|
+
list(
|
|
31
|
+
params: BoardListParams | null | undefined = {},
|
|
29
32
|
options?: RequestOptions,
|
|
30
|
-
): APIPromise<
|
|
33
|
+
): APIPromise<BoardListResponse> {
|
|
31
34
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
32
|
-
return this._client.get(
|
|
35
|
+
return this._client.get('/v2/boards', {
|
|
33
36
|
...options,
|
|
34
37
|
headers: buildHeaders([
|
|
35
38
|
{
|
|
@@ -43,28 +46,25 @@ export class Boards extends APIResource {
|
|
|
43
46
|
}
|
|
44
47
|
|
|
45
48
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* Boards are containers for posts/feedback. Each board can have different:
|
|
49
|
-
*
|
|
50
|
-
* - Access controls (public, private, segment-restricted)
|
|
51
|
-
* - Feature toggles (comments, posting enabled)
|
|
52
|
-
* - Custom fields
|
|
49
|
+
* Retrieves a single board by its unique identifier.
|
|
53
50
|
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
51
|
+
* Returns the full board object including all access controls, feature toggles,
|
|
52
|
+
* and localization settings.
|
|
56
53
|
*
|
|
57
54
|
* @example
|
|
58
55
|
* ```ts
|
|
59
|
-
* const
|
|
56
|
+
* const board = await client.feedback.boards.retrieve(
|
|
57
|
+
* '507f1f77bcf86cd799439011',
|
|
58
|
+
* );
|
|
60
59
|
* ```
|
|
61
60
|
*/
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
retrieve(
|
|
62
|
+
id: string,
|
|
63
|
+
params: BoardRetrieveParams | null | undefined = {},
|
|
64
64
|
options?: RequestOptions,
|
|
65
|
-
): APIPromise<
|
|
65
|
+
): APIPromise<Board> {
|
|
66
66
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
67
|
-
return this._client.get(
|
|
67
|
+
return this._client.get(path`/v2/boards/${id}`, {
|
|
68
68
|
...options,
|
|
69
69
|
headers: buildHeaders([
|
|
70
70
|
{
|
|
@@ -253,7 +253,7 @@ export namespace Board {
|
|
|
253
253
|
|
|
254
254
|
export type BoardListResponse = Array<Board>;
|
|
255
255
|
|
|
256
|
-
export interface
|
|
256
|
+
export interface BoardListParams {
|
|
257
257
|
/**
|
|
258
258
|
* API version for this request. Defaults to your organization's configured API
|
|
259
259
|
* version if not specified.
|
|
@@ -261,7 +261,7 @@ export interface BoardRetrieveParams {
|
|
|
261
261
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export interface
|
|
264
|
+
export interface BoardRetrieveParams {
|
|
265
265
|
/**
|
|
266
266
|
* API version for this request. Defaults to your organization's configured API
|
|
267
267
|
* version if not specified.
|
|
@@ -273,7 +273,7 @@ export declare namespace Boards {
|
|
|
273
273
|
export {
|
|
274
274
|
type Board as Board,
|
|
275
275
|
type BoardListResponse as BoardListResponse,
|
|
276
|
-
type BoardRetrieveParams as BoardRetrieveParams,
|
|
277
276
|
type BoardListParams as BoardListParams,
|
|
277
|
+
type BoardRetrieveParams as BoardRetrieveParams,
|
|
278
278
|
};
|
|
279
279
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as CommentsAPI from './comments';
|
|
5
|
+
import * as PostsAPI from './posts/posts';
|
|
4
6
|
import * as TicketsAPI from '../support/tickets/tickets';
|
|
5
7
|
import { APIPromise } from '../../core/api-promise';
|
|
6
8
|
import { CursorPage, type CursorPageParams, PagePromise } from '../../core/pagination';
|
|
@@ -12,6 +14,103 @@ import { path } from '../../internal/utils/path';
|
|
|
12
14
|
* Threaded discussions on posts and changelogs. Comments support voting, moderation, and privacy controls.
|
|
13
15
|
*/
|
|
14
16
|
export class Comments extends APIResource {
|
|
17
|
+
/**
|
|
18
|
+
* Returns comments for your organization.
|
|
19
|
+
*
|
|
20
|
+
* Comments are threaded discussions. Each comment can have:
|
|
21
|
+
*
|
|
22
|
+
* - Author information
|
|
23
|
+
* - Voting (upvotes/downvotes)
|
|
24
|
+
* - Privacy settings (public/private)
|
|
25
|
+
* - Moderation status
|
|
26
|
+
* - Parent comment reference for threading
|
|
27
|
+
*
|
|
28
|
+
* ### Filtering
|
|
29
|
+
*
|
|
30
|
+
* Optionally filter by:
|
|
31
|
+
*
|
|
32
|
+
* - `postId` - Get comments for a specific post
|
|
33
|
+
* - `changelogId` - Get comments for a specific changelog
|
|
34
|
+
*
|
|
35
|
+
* If no filter is provided, returns all comments across the organization.
|
|
36
|
+
*
|
|
37
|
+
* ### Pagination
|
|
38
|
+
*
|
|
39
|
+
* This endpoint uses **cursor-based pagination**:
|
|
40
|
+
*
|
|
41
|
+
* - `limit` - Number of comments to return (1-100, default 10)
|
|
42
|
+
* - `cursor` - Opaque cursor from a previous response's `nextCursor` field
|
|
43
|
+
*
|
|
44
|
+
* **Example:** To paginate through results:
|
|
45
|
+
*
|
|
46
|
+
* 1. First request: `GET /v2/comments?postId={id}&limit=10`
|
|
47
|
+
* 2. If `nextCursor` is not null, use it for the next page
|
|
48
|
+
* 3. Next request: `GET /v2/comments?postId={id}&limit=10&cursor={nextCursor}`
|
|
49
|
+
*
|
|
50
|
+
* ### Response Format
|
|
51
|
+
*
|
|
52
|
+
* Returns a list object with:
|
|
53
|
+
*
|
|
54
|
+
* - `object` - Always "list"
|
|
55
|
+
* - `data` - Array of comment objects (flat structure with `parentCommentId` for
|
|
56
|
+
* threading)
|
|
57
|
+
* - `nextCursor` - Cursor for the next page (null if no more results)
|
|
58
|
+
*
|
|
59
|
+
* ### Comment Structure
|
|
60
|
+
*
|
|
61
|
+
* Each comment includes:
|
|
62
|
+
*
|
|
63
|
+
* - `id` - Unique comment identifier
|
|
64
|
+
* - `postId` / `changelogId` - Reference to the parent content
|
|
65
|
+
* - `parentCommentId` - Reference to parent comment (null for root comments)
|
|
66
|
+
* - `content` - Comment content in HTML format
|
|
67
|
+
* - `author` - Author information (id, name, profilePicture, type)
|
|
68
|
+
* - `upvotes` / `downvotes` / `score` - Voting metrics
|
|
69
|
+
* - `isPrivate` - Whether comment is only visible to admins
|
|
70
|
+
* - `inReview` - Whether comment is pending moderation
|
|
71
|
+
* - `created` / `updated` - Unix timestamps
|
|
72
|
+
*
|
|
73
|
+
* ### Additional Filters
|
|
74
|
+
*
|
|
75
|
+
* - `privacy` - Filter by privacy: "public", "private", or "all"
|
|
76
|
+
* - `inReview` - Filter by moderation status (true/false)
|
|
77
|
+
*
|
|
78
|
+
* ### Sorting
|
|
79
|
+
*
|
|
80
|
+
* Use `sortBy` to sort results:
|
|
81
|
+
*
|
|
82
|
+
* - `best` - Sort by confidence score (default, like Reddit)
|
|
83
|
+
* - `top` - Sort by net score (upvotes - downvotes)
|
|
84
|
+
* - `new` - Sort by creation date, newest first
|
|
85
|
+
* - `old` - Sort by creation date, oldest first
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```ts
|
|
89
|
+
* // Automatically fetches more pages as needed.
|
|
90
|
+
* for await (const comment of client.feedback.comments.list()) {
|
|
91
|
+
* // ...
|
|
92
|
+
* }
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
list(
|
|
96
|
+
params: CommentListParams | null | undefined = {},
|
|
97
|
+
options?: RequestOptions,
|
|
98
|
+
): PagePromise<CommentsCursorPage, Comment> {
|
|
99
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
100
|
+
return this._client.getAPIList('/v2/comments', CursorPage<Comment>, {
|
|
101
|
+
query,
|
|
102
|
+
...options,
|
|
103
|
+
headers: buildHeaders([
|
|
104
|
+
{
|
|
105
|
+
...(featurebaseVersion?.toString() != null ?
|
|
106
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
107
|
+
: undefined),
|
|
108
|
+
},
|
|
109
|
+
options?.headers,
|
|
110
|
+
]),
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
|
|
15
114
|
/**
|
|
16
115
|
* Creates a new comment or reply to an existing comment.
|
|
17
116
|
*
|
|
@@ -199,103 +298,6 @@ export class Comments extends APIResource {
|
|
|
199
298
|
});
|
|
200
299
|
}
|
|
201
300
|
|
|
202
|
-
/**
|
|
203
|
-
* Returns comments for your organization.
|
|
204
|
-
*
|
|
205
|
-
* Comments are threaded discussions. Each comment can have:
|
|
206
|
-
*
|
|
207
|
-
* - Author information
|
|
208
|
-
* - Voting (upvotes/downvotes)
|
|
209
|
-
* - Privacy settings (public/private)
|
|
210
|
-
* - Moderation status
|
|
211
|
-
* - Parent comment reference for threading
|
|
212
|
-
*
|
|
213
|
-
* ### Filtering
|
|
214
|
-
*
|
|
215
|
-
* Optionally filter by:
|
|
216
|
-
*
|
|
217
|
-
* - `postId` - Get comments for a specific post
|
|
218
|
-
* - `changelogId` - Get comments for a specific changelog
|
|
219
|
-
*
|
|
220
|
-
* If no filter is provided, returns all comments across the organization.
|
|
221
|
-
*
|
|
222
|
-
* ### Pagination
|
|
223
|
-
*
|
|
224
|
-
* This endpoint uses **cursor-based pagination**:
|
|
225
|
-
*
|
|
226
|
-
* - `limit` - Number of comments to return (1-100, default 10)
|
|
227
|
-
* - `cursor` - Opaque cursor from a previous response's `nextCursor` field
|
|
228
|
-
*
|
|
229
|
-
* **Example:** To paginate through results:
|
|
230
|
-
*
|
|
231
|
-
* 1. First request: `GET /v2/comments?postId={id}&limit=10`
|
|
232
|
-
* 2. If `nextCursor` is not null, use it for the next page
|
|
233
|
-
* 3. Next request: `GET /v2/comments?postId={id}&limit=10&cursor={nextCursor}`
|
|
234
|
-
*
|
|
235
|
-
* ### Response Format
|
|
236
|
-
*
|
|
237
|
-
* Returns a list object with:
|
|
238
|
-
*
|
|
239
|
-
* - `object` - Always "list"
|
|
240
|
-
* - `data` - Array of comment objects (flat structure with `parentCommentId` for
|
|
241
|
-
* threading)
|
|
242
|
-
* - `nextCursor` - Cursor for the next page (null if no more results)
|
|
243
|
-
*
|
|
244
|
-
* ### Comment Structure
|
|
245
|
-
*
|
|
246
|
-
* Each comment includes:
|
|
247
|
-
*
|
|
248
|
-
* - `id` - Unique comment identifier
|
|
249
|
-
* - `postId` / `changelogId` - Reference to the parent content
|
|
250
|
-
* - `parentCommentId` - Reference to parent comment (null for root comments)
|
|
251
|
-
* - `content` - Comment content in HTML format
|
|
252
|
-
* - `author` - Author information (id, name, profilePicture, type)
|
|
253
|
-
* - `upvotes` / `downvotes` / `score` - Voting metrics
|
|
254
|
-
* - `isPrivate` - Whether comment is only visible to admins
|
|
255
|
-
* - `inReview` - Whether comment is pending moderation
|
|
256
|
-
* - `created` / `updated` - Unix timestamps
|
|
257
|
-
*
|
|
258
|
-
* ### Additional Filters
|
|
259
|
-
*
|
|
260
|
-
* - `privacy` - Filter by privacy: "public", "private", or "all"
|
|
261
|
-
* - `inReview` - Filter by moderation status (true/false)
|
|
262
|
-
*
|
|
263
|
-
* ### Sorting
|
|
264
|
-
*
|
|
265
|
-
* Use `sortBy` to sort results:
|
|
266
|
-
*
|
|
267
|
-
* - `best` - Sort by confidence score (default, like Reddit)
|
|
268
|
-
* - `top` - Sort by net score (upvotes - downvotes)
|
|
269
|
-
* - `new` - Sort by creation date, newest first
|
|
270
|
-
* - `old` - Sort by creation date, oldest first
|
|
271
|
-
*
|
|
272
|
-
* @example
|
|
273
|
-
* ```ts
|
|
274
|
-
* // Automatically fetches more pages as needed.
|
|
275
|
-
* for await (const comment of client.feedback.comments.list()) {
|
|
276
|
-
* // ...
|
|
277
|
-
* }
|
|
278
|
-
* ```
|
|
279
|
-
*/
|
|
280
|
-
list(
|
|
281
|
-
params: CommentListParams | null | undefined = {},
|
|
282
|
-
options?: RequestOptions,
|
|
283
|
-
): PagePromise<CommentsCursorPage, Comment> {
|
|
284
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
285
|
-
return this._client.getAPIList('/v2/comments', CursorPage<Comment>, {
|
|
286
|
-
query,
|
|
287
|
-
...options,
|
|
288
|
-
headers: buildHeaders([
|
|
289
|
-
{
|
|
290
|
-
...(featurebaseVersion?.toString() != null ?
|
|
291
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
292
|
-
: undefined),
|
|
293
|
-
},
|
|
294
|
-
options?.headers,
|
|
295
|
-
]),
|
|
296
|
-
});
|
|
297
|
-
}
|
|
298
|
-
|
|
299
301
|
/**
|
|
300
302
|
* Deletes a comment by its unique identifier.
|
|
301
303
|
*
|
|
@@ -609,7 +611,7 @@ export interface Comment {
|
|
|
609
611
|
*/
|
|
610
612
|
id: string;
|
|
611
613
|
|
|
612
|
-
author:
|
|
614
|
+
author: CommentAuthor | null;
|
|
613
615
|
|
|
614
616
|
/**
|
|
615
617
|
* Changelog ID this comment belongs to
|
|
@@ -687,28 +689,26 @@ export interface Comment {
|
|
|
687
689
|
upvotes: number;
|
|
688
690
|
}
|
|
689
691
|
|
|
690
|
-
export
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
id: string | null;
|
|
692
|
+
export interface CommentAuthor {
|
|
693
|
+
/**
|
|
694
|
+
* Author unique identifier
|
|
695
|
+
*/
|
|
696
|
+
id: string | null;
|
|
696
697
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
698
|
+
/**
|
|
699
|
+
* Author display name
|
|
700
|
+
*/
|
|
701
|
+
name: string;
|
|
701
702
|
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
703
|
+
/**
|
|
704
|
+
* Author profile picture URL
|
|
705
|
+
*/
|
|
706
|
+
profilePicture: string | null;
|
|
706
707
|
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
}
|
|
708
|
+
/**
|
|
709
|
+
* Type of user who authored the comment
|
|
710
|
+
*/
|
|
711
|
+
type: 'admin' | 'customer' | 'guest' | 'integration' | 'bot' | 'lead';
|
|
712
712
|
}
|
|
713
713
|
|
|
714
714
|
export interface CommentDelete0Response {
|
|
@@ -769,7 +769,7 @@ export namespace CommentSearchResponse {
|
|
|
769
769
|
*/
|
|
770
770
|
id: string;
|
|
771
771
|
|
|
772
|
-
author:
|
|
772
|
+
author: CommentsAPI.CommentAuthor | null;
|
|
773
773
|
|
|
774
774
|
/**
|
|
775
775
|
* Changelog ID this comment belongs to
|
|
@@ -846,30 +846,39 @@ export namespace CommentSearchResponse {
|
|
|
846
846
|
*/
|
|
847
847
|
upvotes: number;
|
|
848
848
|
}
|
|
849
|
+
}
|
|
849
850
|
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
851
|
+
export interface CommentListParams extends CursorPageParams {
|
|
852
|
+
/**
|
|
853
|
+
* Query param: Filter comments by changelog ID
|
|
854
|
+
*/
|
|
855
|
+
changelogId?: string;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Query param: Filter by review status
|
|
859
|
+
*/
|
|
860
|
+
inReview?: boolean | null;
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* Query param: Filter comments by post ID
|
|
864
|
+
*/
|
|
865
|
+
postId?: string;
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Query param: Filter comments by privacy
|
|
869
|
+
*/
|
|
870
|
+
privacy?: 'public' | 'private' | 'all';
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* Query param: Sort order for comments
|
|
874
|
+
*/
|
|
875
|
+
sortBy?: 'best' | 'top' | 'new' | 'old';
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
879
|
+
* configured API version if not specified.
|
|
880
|
+
*/
|
|
881
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
873
882
|
}
|
|
874
883
|
|
|
875
884
|
export interface CommentCreateParams {
|
|
@@ -988,39 +997,6 @@ export interface CommentUpdateParams {
|
|
|
988
997
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
989
998
|
}
|
|
990
999
|
|
|
991
|
-
export interface CommentListParams extends CursorPageParams {
|
|
992
|
-
/**
|
|
993
|
-
* Query param: Filter comments by changelog ID
|
|
994
|
-
*/
|
|
995
|
-
changelogId?: string;
|
|
996
|
-
|
|
997
|
-
/**
|
|
998
|
-
* Query param: Filter by review status
|
|
999
|
-
*/
|
|
1000
|
-
inReview?: boolean | null;
|
|
1001
|
-
|
|
1002
|
-
/**
|
|
1003
|
-
* Query param: Filter comments by post ID
|
|
1004
|
-
*/
|
|
1005
|
-
postId?: string;
|
|
1006
|
-
|
|
1007
|
-
/**
|
|
1008
|
-
* Query param: Filter comments by privacy
|
|
1009
|
-
*/
|
|
1010
|
-
privacy?: 'public' | 'private' | 'all';
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* Query param: Sort order for comments
|
|
1014
|
-
*/
|
|
1015
|
-
sortBy?: 'best' | 'top' | 'new' | 'old';
|
|
1016
|
-
|
|
1017
|
-
/**
|
|
1018
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
1019
|
-
* configured API version if not specified.
|
|
1020
|
-
*/
|
|
1021
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
1000
|
export interface CommentDelete0Params {
|
|
1025
1001
|
/**
|
|
1026
1002
|
* API version for this request. Defaults to your organization's configured API
|
|
@@ -1058,7 +1034,7 @@ export interface CommentSearchParams {
|
|
|
1058
1034
|
* Body param: Structured filter AST. Either a single filter clause or one
|
|
1059
1035
|
* top-level AND group (max 15 clauses). Top-level OR groups are not yet supported.
|
|
1060
1036
|
*/
|
|
1061
|
-
query?:
|
|
1037
|
+
query?: PostsAPI.SearchFilter | PostsAPI.SearchFilterGroup;
|
|
1062
1038
|
|
|
1063
1039
|
/**
|
|
1064
1040
|
* Body param: Plain-text full-text search across comment `content`. Server-managed
|
|
@@ -1085,67 +1061,18 @@ export interface CommentSearchParams {
|
|
|
1085
1061
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
1086
1062
|
}
|
|
1087
1063
|
|
|
1088
|
-
export namespace CommentSearchParams {
|
|
1089
|
-
export interface SearchFilter {
|
|
1090
|
-
/**
|
|
1091
|
-
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
1092
|
-
*/
|
|
1093
|
-
field: string;
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* Comparison operator
|
|
1097
|
-
*/
|
|
1098
|
-
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
1099
|
-
|
|
1100
|
-
/**
|
|
1101
|
-
* Value to compare against (primitive or array of primitives)
|
|
1102
|
-
*/
|
|
1103
|
-
value: string | number | boolean | Array<string | number> | null;
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
export interface SearchFilterGroup {
|
|
1107
|
-
/**
|
|
1108
|
-
* Group operator: AND (all match) or OR (any match)
|
|
1109
|
-
*/
|
|
1110
|
-
operator: 'AND' | 'OR';
|
|
1111
|
-
|
|
1112
|
-
/**
|
|
1113
|
-
* Array of filter clauses (1-15 entries)
|
|
1114
|
-
*/
|
|
1115
|
-
value: Array<SearchFilterGroup.Value>;
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
export namespace SearchFilterGroup {
|
|
1119
|
-
export interface Value {
|
|
1120
|
-
/**
|
|
1121
|
-
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
1122
|
-
*/
|
|
1123
|
-
field: string;
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* Comparison operator
|
|
1127
|
-
*/
|
|
1128
|
-
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* Value to compare against (primitive or array of primitives)
|
|
1132
|
-
*/
|
|
1133
|
-
value: string | number | boolean | Array<string | number> | null;
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
1064
|
export declare namespace Comments {
|
|
1139
1065
|
export {
|
|
1140
1066
|
type Comment as Comment,
|
|
1067
|
+
type CommentAuthor as CommentAuthor,
|
|
1141
1068
|
type CommentDelete0Response as CommentDelete0Response,
|
|
1142
1069
|
type CommentDelete1Response as CommentDelete1Response,
|
|
1143
1070
|
type CommentSearchResponse as CommentSearchResponse,
|
|
1144
1071
|
type CommentsCursorPage as CommentsCursorPage,
|
|
1072
|
+
type CommentListParams as CommentListParams,
|
|
1145
1073
|
type CommentCreateParams as CommentCreateParams,
|
|
1146
1074
|
type CommentRetrieveParams as CommentRetrieveParams,
|
|
1147
1075
|
type CommentUpdateParams as CommentUpdateParams,
|
|
1148
|
-
type CommentListParams as CommentListParams,
|
|
1149
1076
|
type CommentDelete0Params as CommentDelete0Params,
|
|
1150
1077
|
type CommentDelete1Params as CommentDelete1Params,
|
|
1151
1078
|
type CommentSearchParams as CommentSearchParams,
|