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,6 +1,7 @@
|
|
|
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 PostsAPI from './posts';
|
|
4
5
|
import * as PostStatusesAPI from '../post-statuses';
|
|
5
6
|
import * as VotersAPI from './voters';
|
|
6
7
|
import {
|
|
@@ -26,6 +27,85 @@ import { path } from '../../../internal/utils/path';
|
|
|
26
27
|
export class Posts extends APIResource {
|
|
27
28
|
voters: VotersAPI.Voters = new VotersAPI.Voters(this._client);
|
|
28
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Returns all posts (feedback submissions) for the authenticated organization.
|
|
32
|
+
*
|
|
33
|
+
* Posts are user-submitted feedback items. Each post belongs to a board and can
|
|
34
|
+
* have:
|
|
35
|
+
*
|
|
36
|
+
* - Status (in progress, complete, etc.)
|
|
37
|
+
* - Tags for categorization
|
|
38
|
+
* - Upvotes from users
|
|
39
|
+
* - Comments (if enabled)
|
|
40
|
+
* - Custom field values
|
|
41
|
+
*
|
|
42
|
+
* ### Pagination
|
|
43
|
+
*
|
|
44
|
+
* This endpoint uses **cursor-based pagination**:
|
|
45
|
+
*
|
|
46
|
+
* - `limit` - Number of posts to return (1-100, default 10)
|
|
47
|
+
* - `cursor` - Opaque cursor from a previous response's `nextCursor` field
|
|
48
|
+
*
|
|
49
|
+
* **Example:** To paginate through results:
|
|
50
|
+
*
|
|
51
|
+
* 1. First request: `GET /v2/posts?limit=10`
|
|
52
|
+
* 2. If `nextCursor` is not null, use it for the next page
|
|
53
|
+
* 3. Next request: `GET /v2/posts?limit=10&cursor={nextCursor}`
|
|
54
|
+
*
|
|
55
|
+
* ### Response Format
|
|
56
|
+
*
|
|
57
|
+
* Returns a list object with:
|
|
58
|
+
*
|
|
59
|
+
* - `object` - Always "list"
|
|
60
|
+
* - `data` - Array of post objects
|
|
61
|
+
* - `nextCursor` - Cursor for the next page (null if no more results)
|
|
62
|
+
*
|
|
63
|
+
* ### Filtering
|
|
64
|
+
*
|
|
65
|
+
* Filter posts using query parameters:
|
|
66
|
+
*
|
|
67
|
+
* - `boardId` - Filter by board (category) ID
|
|
68
|
+
* - `statusId` - Filter by status ID
|
|
69
|
+
* - `tags` - Filter by tag names (can be comma-separated or repeated)
|
|
70
|
+
* - `q` - Search query for title/content
|
|
71
|
+
* - `inReview` - Include posts pending moderation
|
|
72
|
+
*
|
|
73
|
+
* ### Sorting
|
|
74
|
+
*
|
|
75
|
+
* Use `sortBy` to sort results:
|
|
76
|
+
*
|
|
77
|
+
* - `createdAt` - Sort by creation date (default)
|
|
78
|
+
* - `upvotes` - Sort by vote count
|
|
79
|
+
* - `trending` - Sort by trending score
|
|
80
|
+
* - `recent` - Sort by most recently updated
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* ```ts
|
|
84
|
+
* // Automatically fetches more pages as needed.
|
|
85
|
+
* for await (const post of client.feedback.posts.list()) {
|
|
86
|
+
* // ...
|
|
87
|
+
* }
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
list(
|
|
91
|
+
params: PostListParams | null | undefined = {},
|
|
92
|
+
options?: RequestOptions,
|
|
93
|
+
): PagePromise<PostsCursorPage, Post> {
|
|
94
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
95
|
+
return this._client.getAPIList('/v2/posts', CursorPage<Post>, {
|
|
96
|
+
query,
|
|
97
|
+
...options,
|
|
98
|
+
headers: buildHeaders([
|
|
99
|
+
{
|
|
100
|
+
...(featurebaseVersion?.toString() != null ?
|
|
101
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
102
|
+
: undefined),
|
|
103
|
+
},
|
|
104
|
+
options?.headers,
|
|
105
|
+
]),
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
|
|
29
109
|
/**
|
|
30
110
|
* Creates a new post (feedback submission) in the specified board.
|
|
31
111
|
*
|
|
@@ -185,85 +265,6 @@ export class Posts extends APIResource {
|
|
|
185
265
|
});
|
|
186
266
|
}
|
|
187
267
|
|
|
188
|
-
/**
|
|
189
|
-
* Returns all posts (feedback submissions) for the authenticated organization.
|
|
190
|
-
*
|
|
191
|
-
* Posts are user-submitted feedback items. Each post belongs to a board and can
|
|
192
|
-
* have:
|
|
193
|
-
*
|
|
194
|
-
* - Status (in progress, complete, etc.)
|
|
195
|
-
* - Tags for categorization
|
|
196
|
-
* - Upvotes from users
|
|
197
|
-
* - Comments (if enabled)
|
|
198
|
-
* - Custom field values
|
|
199
|
-
*
|
|
200
|
-
* ### Pagination
|
|
201
|
-
*
|
|
202
|
-
* This endpoint uses **cursor-based pagination**:
|
|
203
|
-
*
|
|
204
|
-
* - `limit` - Number of posts to return (1-100, default 10)
|
|
205
|
-
* - `cursor` - Opaque cursor from a previous response's `nextCursor` field
|
|
206
|
-
*
|
|
207
|
-
* **Example:** To paginate through results:
|
|
208
|
-
*
|
|
209
|
-
* 1. First request: `GET /v2/posts?limit=10`
|
|
210
|
-
* 2. If `nextCursor` is not null, use it for the next page
|
|
211
|
-
* 3. Next request: `GET /v2/posts?limit=10&cursor={nextCursor}`
|
|
212
|
-
*
|
|
213
|
-
* ### Response Format
|
|
214
|
-
*
|
|
215
|
-
* Returns a list object with:
|
|
216
|
-
*
|
|
217
|
-
* - `object` - Always "list"
|
|
218
|
-
* - `data` - Array of post objects
|
|
219
|
-
* - `nextCursor` - Cursor for the next page (null if no more results)
|
|
220
|
-
*
|
|
221
|
-
* ### Filtering
|
|
222
|
-
*
|
|
223
|
-
* Filter posts using query parameters:
|
|
224
|
-
*
|
|
225
|
-
* - `boardId` - Filter by board (category) ID
|
|
226
|
-
* - `statusId` - Filter by status ID
|
|
227
|
-
* - `tags` - Filter by tag names (can be comma-separated or repeated)
|
|
228
|
-
* - `q` - Search query for title/content
|
|
229
|
-
* - `inReview` - Include posts pending moderation
|
|
230
|
-
*
|
|
231
|
-
* ### Sorting
|
|
232
|
-
*
|
|
233
|
-
* Use `sortBy` to sort results:
|
|
234
|
-
*
|
|
235
|
-
* - `createdAt` - Sort by creation date (default)
|
|
236
|
-
* - `upvotes` - Sort by vote count
|
|
237
|
-
* - `trending` - Sort by trending score
|
|
238
|
-
* - `recent` - Sort by most recently updated
|
|
239
|
-
*
|
|
240
|
-
* @example
|
|
241
|
-
* ```ts
|
|
242
|
-
* // Automatically fetches more pages as needed.
|
|
243
|
-
* for await (const post of client.feedback.posts.list()) {
|
|
244
|
-
* // ...
|
|
245
|
-
* }
|
|
246
|
-
* ```
|
|
247
|
-
*/
|
|
248
|
-
list(
|
|
249
|
-
params: PostListParams | null | undefined = {},
|
|
250
|
-
options?: RequestOptions,
|
|
251
|
-
): PagePromise<PostsCursorPage, Post> {
|
|
252
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
253
|
-
return this._client.getAPIList('/v2/posts', CursorPage<Post>, {
|
|
254
|
-
query,
|
|
255
|
-
...options,
|
|
256
|
-
headers: buildHeaders([
|
|
257
|
-
{
|
|
258
|
-
...(featurebaseVersion?.toString() != null ?
|
|
259
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
260
|
-
: undefined),
|
|
261
|
-
},
|
|
262
|
-
options?.headers,
|
|
263
|
-
]),
|
|
264
|
-
});
|
|
265
|
-
}
|
|
266
|
-
|
|
267
268
|
/**
|
|
268
269
|
* Permanently deletes a post. This action cannot be undone.
|
|
269
270
|
*
|
|
@@ -505,14 +506,14 @@ export interface Post {
|
|
|
505
506
|
*/
|
|
506
507
|
id: string;
|
|
507
508
|
|
|
508
|
-
access:
|
|
509
|
+
access: PostAccess;
|
|
509
510
|
|
|
510
511
|
/**
|
|
511
512
|
* ID of the admin assigned to this post, null if unassigned
|
|
512
513
|
*/
|
|
513
514
|
assigneeId: string | null;
|
|
514
515
|
|
|
515
|
-
author:
|
|
516
|
+
author: PostAuthor | null;
|
|
516
517
|
|
|
517
518
|
/**
|
|
518
519
|
* Board (category) ID this post belongs to
|
|
@@ -544,7 +545,7 @@ export interface Post {
|
|
|
544
545
|
*/
|
|
545
546
|
eta: string | null;
|
|
546
547
|
|
|
547
|
-
features:
|
|
548
|
+
features: PostFeatures;
|
|
548
549
|
|
|
549
550
|
/**
|
|
550
551
|
* Whether the post is pending moderation review
|
|
@@ -586,7 +587,7 @@ export interface Post {
|
|
|
586
587
|
/**
|
|
587
588
|
* Tags attached to this post
|
|
588
589
|
*/
|
|
589
|
-
tags: Array<
|
|
590
|
+
tags: Array<PostTag>;
|
|
590
591
|
|
|
591
592
|
/**
|
|
592
593
|
* Post title
|
|
@@ -605,56 +606,6 @@ export interface Post {
|
|
|
605
606
|
}
|
|
606
607
|
|
|
607
608
|
export namespace Post {
|
|
608
|
-
export interface Access {
|
|
609
|
-
/**
|
|
610
|
-
* External company IDs explicitly granted access to this post. Empty array means
|
|
611
|
-
* no company-level restrictions. Non-empty means only users belonging to these
|
|
612
|
-
* companies can see the post.
|
|
613
|
-
*/
|
|
614
|
-
companyExternalIds: Array<string>;
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
* User IDs explicitly granted access to this post. Empty array means no user-level
|
|
618
|
-
* restrictions (post uses board/org visibility). Non-empty means only these users
|
|
619
|
-
* (plus admins) can see the post.
|
|
620
|
-
*/
|
|
621
|
-
userIds: Array<string>;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
export interface Author {
|
|
625
|
-
/**
|
|
626
|
-
* Author unique identifier
|
|
627
|
-
*/
|
|
628
|
-
id: string | null;
|
|
629
|
-
|
|
630
|
-
/**
|
|
631
|
-
* Author email (if available)
|
|
632
|
-
*/
|
|
633
|
-
email: string | null;
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* Author display name
|
|
637
|
-
*/
|
|
638
|
-
name: string;
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* Author profile picture URL
|
|
642
|
-
*/
|
|
643
|
-
profilePicture: string | null;
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* Type of user who authored the post
|
|
647
|
-
*/
|
|
648
|
-
type: 'admin' | 'customer' | 'guest' | 'integration' | 'bot' | 'lead';
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
export interface Features {
|
|
652
|
-
/**
|
|
653
|
-
* Whether comments are allowed on this post
|
|
654
|
-
*/
|
|
655
|
-
commentsEnabled: boolean;
|
|
656
|
-
}
|
|
657
|
-
|
|
658
609
|
/**
|
|
659
610
|
* Third-party integration links associated with this post
|
|
660
611
|
*/
|
|
@@ -819,23 +770,102 @@ export namespace Post {
|
|
|
819
770
|
objectType: 'Opportunity' | 'Case';
|
|
820
771
|
}
|
|
821
772
|
}
|
|
773
|
+
}
|
|
822
774
|
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
775
|
+
export interface PostAccess {
|
|
776
|
+
/**
|
|
777
|
+
* External company IDs explicitly granted access to this post. Empty array means
|
|
778
|
+
* no company-level restrictions. Non-empty means only users belonging to these
|
|
779
|
+
* companies can see the post.
|
|
780
|
+
*/
|
|
781
|
+
companyExternalIds: Array<string>;
|
|
828
782
|
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
783
|
+
/**
|
|
784
|
+
* User IDs explicitly granted access to this post. Empty array means no user-level
|
|
785
|
+
* restrictions (post uses board/org visibility). Non-empty means only these users
|
|
786
|
+
* (plus admins) can see the post.
|
|
787
|
+
*/
|
|
788
|
+
userIds: Array<string>;
|
|
789
|
+
}
|
|
833
790
|
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
791
|
+
export interface PostAuthor {
|
|
792
|
+
/**
|
|
793
|
+
* Author unique identifier
|
|
794
|
+
*/
|
|
795
|
+
id: string | null;
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Author email (if available)
|
|
799
|
+
*/
|
|
800
|
+
email: string | null;
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* Author display name
|
|
804
|
+
*/
|
|
805
|
+
name: string;
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* Author profile picture URL
|
|
809
|
+
*/
|
|
810
|
+
profilePicture: string | null;
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* Type of user who authored the post
|
|
814
|
+
*/
|
|
815
|
+
type: 'admin' | 'customer' | 'guest' | 'integration' | 'bot' | 'lead';
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
export interface PostFeatures {
|
|
819
|
+
/**
|
|
820
|
+
* Whether comments are allowed on this post
|
|
821
|
+
*/
|
|
822
|
+
commentsEnabled: boolean;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
export interface PostTag {
|
|
826
|
+
/**
|
|
827
|
+
* Tag unique identifier
|
|
828
|
+
*/
|
|
829
|
+
id: string;
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Tag color hex code
|
|
833
|
+
*/
|
|
834
|
+
color: string | null;
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Tag name
|
|
838
|
+
*/
|
|
839
|
+
name: string;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
export interface SearchFilter {
|
|
843
|
+
/**
|
|
844
|
+
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
845
|
+
*/
|
|
846
|
+
field: string;
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Comparison operator
|
|
850
|
+
*/
|
|
851
|
+
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Value to compare against (primitive or array of primitives)
|
|
855
|
+
*/
|
|
856
|
+
value: string | number | boolean | Array<string | number> | null;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
export interface SearchFilterGroup {
|
|
860
|
+
/**
|
|
861
|
+
* Group operator: AND (all match) or OR (any match)
|
|
862
|
+
*/
|
|
863
|
+
operator: 'AND' | 'OR';
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* Array of filter clauses (1-15 entries)
|
|
867
|
+
*/
|
|
868
|
+
value: Array<SearchFilter>;
|
|
839
869
|
}
|
|
840
870
|
|
|
841
871
|
export interface PostDeleteResponse {
|
|
@@ -892,14 +922,14 @@ export namespace PostSearchResponse {
|
|
|
892
922
|
*/
|
|
893
923
|
id: string;
|
|
894
924
|
|
|
895
|
-
access:
|
|
925
|
+
access: PostsAPI.PostAccess;
|
|
896
926
|
|
|
897
927
|
/**
|
|
898
928
|
* ID of the admin assigned to this post, null if unassigned
|
|
899
929
|
*/
|
|
900
930
|
assigneeId: string | null;
|
|
901
931
|
|
|
902
|
-
author:
|
|
932
|
+
author: PostsAPI.PostAuthor | null;
|
|
903
933
|
|
|
904
934
|
/**
|
|
905
935
|
* Board (category) ID this post belongs to
|
|
@@ -931,7 +961,7 @@ export namespace PostSearchResponse {
|
|
|
931
961
|
*/
|
|
932
962
|
eta: string | null;
|
|
933
963
|
|
|
934
|
-
features:
|
|
964
|
+
features: PostsAPI.PostFeatures;
|
|
935
965
|
|
|
936
966
|
/**
|
|
937
967
|
* Whether the post is pending moderation review
|
|
@@ -973,7 +1003,7 @@ export namespace PostSearchResponse {
|
|
|
973
1003
|
/**
|
|
974
1004
|
* Tags attached to this post
|
|
975
1005
|
*/
|
|
976
|
-
tags: Array<
|
|
1006
|
+
tags: Array<PostsAPI.PostTag>;
|
|
977
1007
|
|
|
978
1008
|
/**
|
|
979
1009
|
* Post title
|
|
@@ -992,56 +1022,6 @@ export namespace PostSearchResponse {
|
|
|
992
1022
|
}
|
|
993
1023
|
|
|
994
1024
|
export namespace Data {
|
|
995
|
-
export interface Access {
|
|
996
|
-
/**
|
|
997
|
-
* External company IDs explicitly granted access to this post. Empty array means
|
|
998
|
-
* no company-level restrictions. Non-empty means only users belonging to these
|
|
999
|
-
* companies can see the post.
|
|
1000
|
-
*/
|
|
1001
|
-
companyExternalIds: Array<string>;
|
|
1002
|
-
|
|
1003
|
-
/**
|
|
1004
|
-
* User IDs explicitly granted access to this post. Empty array means no user-level
|
|
1005
|
-
* restrictions (post uses board/org visibility). Non-empty means only these users
|
|
1006
|
-
* (plus admins) can see the post.
|
|
1007
|
-
*/
|
|
1008
|
-
userIds: Array<string>;
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
export interface Author {
|
|
1012
|
-
/**
|
|
1013
|
-
* Author unique identifier
|
|
1014
|
-
*/
|
|
1015
|
-
id: string | null;
|
|
1016
|
-
|
|
1017
|
-
/**
|
|
1018
|
-
* Author email (if available)
|
|
1019
|
-
*/
|
|
1020
|
-
email: string | null;
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* Author display name
|
|
1024
|
-
*/
|
|
1025
|
-
name: string;
|
|
1026
|
-
|
|
1027
|
-
/**
|
|
1028
|
-
* Author profile picture URL
|
|
1029
|
-
*/
|
|
1030
|
-
profilePicture: string | null;
|
|
1031
|
-
|
|
1032
|
-
/**
|
|
1033
|
-
* Type of user who authored the post
|
|
1034
|
-
*/
|
|
1035
|
-
type: 'admin' | 'customer' | 'guest' | 'integration' | 'bot' | 'lead';
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export interface Features {
|
|
1039
|
-
/**
|
|
1040
|
-
* Whether comments are allowed on this post
|
|
1041
|
-
*/
|
|
1042
|
-
commentsEnabled: boolean;
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
1025
|
/**
|
|
1046
1026
|
* Third-party integration links associated with this post
|
|
1047
1027
|
*/
|
|
@@ -1206,24 +1186,50 @@ export namespace PostSearchResponse {
|
|
|
1206
1186
|
objectType: 'Opportunity' | 'Case';
|
|
1207
1187
|
}
|
|
1208
1188
|
}
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1209
1191
|
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1192
|
+
export interface PostListParams extends CursorPageParams {
|
|
1193
|
+
/**
|
|
1194
|
+
* Query param: Filter by board (category) ID(s)
|
|
1195
|
+
*/
|
|
1196
|
+
boardId?: string | Array<string>;
|
|
1215
1197
|
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1198
|
+
/**
|
|
1199
|
+
* Query param: Include posts that are in review
|
|
1200
|
+
*/
|
|
1201
|
+
inReview?: boolean | null;
|
|
1220
1202
|
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1203
|
+
/**
|
|
1204
|
+
* Query param: Search query to filter posts by title/content
|
|
1205
|
+
*/
|
|
1206
|
+
q?: string;
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* Query param: Sort order for posts
|
|
1210
|
+
*/
|
|
1211
|
+
sortBy?: 'createdAt' | 'upvotes' | 'trending' | 'recent';
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* Query param: Sort direction
|
|
1215
|
+
*/
|
|
1216
|
+
sortOrder?: 'asc' | 'desc';
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* Query param: Filter by status ID(s)
|
|
1220
|
+
*/
|
|
1221
|
+
statusId?: string | Array<string>;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Query param: Filter by tag names
|
|
1225
|
+
*/
|
|
1226
|
+
tags?: string | Array<string>;
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
1230
|
+
* configured API version if not specified.
|
|
1231
|
+
*/
|
|
1232
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
1227
1233
|
}
|
|
1228
1234
|
|
|
1229
1235
|
export interface PostCreateParams {
|
|
@@ -1462,49 +1468,6 @@ export interface PostUpdateParams {
|
|
|
1462
1468
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
1463
1469
|
}
|
|
1464
1470
|
|
|
1465
|
-
export interface PostListParams extends CursorPageParams {
|
|
1466
|
-
/**
|
|
1467
|
-
* Query param: Filter by board (category) ID(s)
|
|
1468
|
-
*/
|
|
1469
|
-
boardId?: string | Array<string>;
|
|
1470
|
-
|
|
1471
|
-
/**
|
|
1472
|
-
* Query param: Include posts that are in review
|
|
1473
|
-
*/
|
|
1474
|
-
inReview?: boolean | null;
|
|
1475
|
-
|
|
1476
|
-
/**
|
|
1477
|
-
* Query param: Search query to filter posts by title/content
|
|
1478
|
-
*/
|
|
1479
|
-
q?: string;
|
|
1480
|
-
|
|
1481
|
-
/**
|
|
1482
|
-
* Query param: Sort order for posts
|
|
1483
|
-
*/
|
|
1484
|
-
sortBy?: 'createdAt' | 'upvotes' | 'trending' | 'recent';
|
|
1485
|
-
|
|
1486
|
-
/**
|
|
1487
|
-
* Query param: Sort direction
|
|
1488
|
-
*/
|
|
1489
|
-
sortOrder?: 'asc' | 'desc';
|
|
1490
|
-
|
|
1491
|
-
/**
|
|
1492
|
-
* Query param: Filter by status ID(s)
|
|
1493
|
-
*/
|
|
1494
|
-
statusId?: string | Array<string>;
|
|
1495
|
-
|
|
1496
|
-
/**
|
|
1497
|
-
* Query param: Filter by tag names
|
|
1498
|
-
*/
|
|
1499
|
-
tags?: string | Array<string>;
|
|
1500
|
-
|
|
1501
|
-
/**
|
|
1502
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
1503
|
-
* configured API version if not specified.
|
|
1504
|
-
*/
|
|
1505
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
1506
|
-
}
|
|
1507
|
-
|
|
1508
1471
|
export interface PostDeleteParams {
|
|
1509
1472
|
/**
|
|
1510
1473
|
* API version for this request. Defaults to your organization's configured API
|
|
@@ -1529,7 +1492,7 @@ export interface PostSearchParams {
|
|
|
1529
1492
|
* Body param: Structured filter AST. Either a single filter clause or one
|
|
1530
1493
|
* top-level AND group (max 15 clauses). Top-level OR groups are not yet supported.
|
|
1531
1494
|
*/
|
|
1532
|
-
query?:
|
|
1495
|
+
query?: SearchFilter | SearchFilterGroup;
|
|
1533
1496
|
|
|
1534
1497
|
/**
|
|
1535
1498
|
* Body param: Plain-text full-text search across post `title` and `content`.
|
|
@@ -1579,68 +1542,24 @@ export interface PostSearchParams {
|
|
|
1579
1542
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
1580
1543
|
}
|
|
1581
1544
|
|
|
1582
|
-
export namespace PostSearchParams {
|
|
1583
|
-
export interface SearchFilter {
|
|
1584
|
-
/**
|
|
1585
|
-
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
1586
|
-
*/
|
|
1587
|
-
field: string;
|
|
1588
|
-
|
|
1589
|
-
/**
|
|
1590
|
-
* Comparison operator
|
|
1591
|
-
*/
|
|
1592
|
-
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
1593
|
-
|
|
1594
|
-
/**
|
|
1595
|
-
* Value to compare against (primitive or array of primitives)
|
|
1596
|
-
*/
|
|
1597
|
-
value: string | number | boolean | Array<string | number> | null;
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
export interface SearchFilterGroup {
|
|
1601
|
-
/**
|
|
1602
|
-
* Group operator: AND (all match) or OR (any match)
|
|
1603
|
-
*/
|
|
1604
|
-
operator: 'AND' | 'OR';
|
|
1605
|
-
|
|
1606
|
-
/**
|
|
1607
|
-
* Array of filter clauses (1-15 entries)
|
|
1608
|
-
*/
|
|
1609
|
-
value: Array<SearchFilterGroup.Value>;
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1612
|
-
export namespace SearchFilterGroup {
|
|
1613
|
-
export interface Value {
|
|
1614
|
-
/**
|
|
1615
|
-
* Field name to filter on (e.g. `state`, `tag_ids`, `created_at`)
|
|
1616
|
-
*/
|
|
1617
|
-
field: string;
|
|
1618
|
-
|
|
1619
|
-
/**
|
|
1620
|
-
* Comparison operator
|
|
1621
|
-
*/
|
|
1622
|
-
operator: '=' | '!=' | 'IN' | 'NIN' | '>' | '<' | '>=' | '<=' | '~' | '!~' | '^' | '$';
|
|
1623
|
-
|
|
1624
|
-
/**
|
|
1625
|
-
* Value to compare against (primitive or array of primitives)
|
|
1626
|
-
*/
|
|
1627
|
-
value: string | number | boolean | Array<string | number> | null;
|
|
1628
|
-
}
|
|
1629
|
-
}
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
1545
|
Posts.Voters = Voters;
|
|
1633
1546
|
|
|
1634
1547
|
export declare namespace Posts {
|
|
1635
1548
|
export {
|
|
1636
1549
|
type Post as Post,
|
|
1550
|
+
type PostAccess as PostAccess,
|
|
1551
|
+
type PostAuthor as PostAuthor,
|
|
1552
|
+
type PostFeatures as PostFeatures,
|
|
1553
|
+
type PostTag as PostTag,
|
|
1554
|
+
type SearchFilter as SearchFilter,
|
|
1555
|
+
type SearchFilterGroup as SearchFilterGroup,
|
|
1637
1556
|
type PostDeleteResponse as PostDeleteResponse,
|
|
1638
1557
|
type PostSearchResponse as PostSearchResponse,
|
|
1639
1558
|
type PostsCursorPage as PostsCursorPage,
|
|
1559
|
+
type PostListParams as PostListParams,
|
|
1640
1560
|
type PostCreateParams as PostCreateParams,
|
|
1641
1561
|
type PostRetrieveParams as PostRetrieveParams,
|
|
1642
1562
|
type PostUpdateParams as PostUpdateParams,
|
|
1643
|
-
type PostListParams as PostListParams,
|
|
1644
1563
|
type PostDeleteParams as PostDeleteParams,
|
|
1645
1564
|
type PostSearchParams as PostSearchParams,
|
|
1646
1565
|
};
|