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
|
@@ -7,22 +7,29 @@ import { path } from "../../../internal/utils/path.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export class Categories extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Returns all ticket categories for the authenticated organization.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* Ticket categories organize tickets into distinct containers. Each category can
|
|
13
|
+
* have different:
|
|
14
|
+
*
|
|
15
|
+
* - Access controls (public, private, segment-restricted)
|
|
16
|
+
* - Feature toggles (comments, posting enabled)
|
|
17
|
+
* - Custom fields
|
|
18
|
+
*
|
|
19
|
+
* Use the `supportBoard` and `supportBoardType` fields to identify ticket
|
|
20
|
+
* categories.
|
|
21
|
+
*
|
|
22
|
+
* This endpoint returns all categories without pagination.
|
|
14
23
|
*
|
|
15
24
|
* @example
|
|
16
25
|
* ```ts
|
|
17
|
-
* const
|
|
18
|
-
* await client.support.tickets.categories.
|
|
19
|
-
* '507f1f77bcf86cd799439011',
|
|
20
|
-
* );
|
|
26
|
+
* const boards =
|
|
27
|
+
* await client.support.tickets.categories.list();
|
|
21
28
|
* ```
|
|
22
29
|
*/
|
|
23
|
-
|
|
30
|
+
list(params = {}, options) {
|
|
24
31
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
25
|
-
return this._client.get(
|
|
32
|
+
return this._client.get('/v2/tickets/categories', {
|
|
26
33
|
...options,
|
|
27
34
|
headers: buildHeaders([
|
|
28
35
|
{
|
|
@@ -35,29 +42,22 @@ export class Categories extends APIResource {
|
|
|
35
42
|
});
|
|
36
43
|
}
|
|
37
44
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* Ticket categories organize tickets into distinct containers. Each category can
|
|
41
|
-
* have different:
|
|
42
|
-
*
|
|
43
|
-
* - Access controls (public, private, segment-restricted)
|
|
44
|
-
* - Feature toggles (comments, posting enabled)
|
|
45
|
-
* - Custom fields
|
|
46
|
-
*
|
|
47
|
-
* Use the `supportBoard` and `supportBoardType` fields to identify ticket
|
|
48
|
-
* categories.
|
|
45
|
+
* Retrieves a single ticket category by its unique identifier.
|
|
49
46
|
*
|
|
50
|
-
*
|
|
47
|
+
* Returns the full category object including access controls, feature toggles, and
|
|
48
|
+
* localization settings.
|
|
51
49
|
*
|
|
52
50
|
* @example
|
|
53
51
|
* ```ts
|
|
54
|
-
* const
|
|
55
|
-
* await client.support.tickets.categories.
|
|
52
|
+
* const board =
|
|
53
|
+
* await client.support.tickets.categories.retrieve(
|
|
54
|
+
* '507f1f77bcf86cd799439011',
|
|
55
|
+
* );
|
|
56
56
|
* ```
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
retrieve(id, params = {}, options) {
|
|
59
59
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
60
|
-
return this._client.get(
|
|
60
|
+
return this._client.get(path `/v2/tickets/categories/${id}`, {
|
|
61
61
|
...options,
|
|
62
62
|
headers: buildHeaders([
|
|
63
63
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/categories.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"categories.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/categories.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CACF,SAAgD,EAAE,EAClD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE;YAChD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CACN,EAAU,EACV,SAAoD,EAAE,EACtD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,EAAE,EAAE,EAAE;YAC1D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -7,11 +7,14 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class CustomFields extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Returns all custom fields configured in your organization that can be used on
|
|
11
|
+
* tickets.
|
|
11
12
|
*
|
|
12
|
-
*
|
|
13
|
+
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
+
* ### Custom Field Object
|
|
16
|
+
*
|
|
17
|
+
* Each custom field includes:
|
|
15
18
|
*
|
|
16
19
|
* - `id` - Unique field identifier
|
|
17
20
|
* - `label` - Field label displayed to users
|
|
@@ -25,22 +28,17 @@ export declare class CustomFields extends APIResource {
|
|
|
25
28
|
*
|
|
26
29
|
* @example
|
|
27
30
|
* ```ts
|
|
28
|
-
* const
|
|
29
|
-
* await client.support.tickets.customFields.
|
|
30
|
-
* '65d26304b2e65b1e1278170c',
|
|
31
|
-
* );
|
|
31
|
+
* const customFieldList =
|
|
32
|
+
* await client.support.tickets.customFields.list();
|
|
32
33
|
* ```
|
|
33
34
|
*/
|
|
34
|
-
|
|
35
|
+
list(params?: CustomFieldListParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomFieldList>;
|
|
35
36
|
/**
|
|
36
|
-
*
|
|
37
|
-
* tickets.
|
|
38
|
-
*
|
|
39
|
-
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
37
|
+
* Retrieves a single custom field by its unique identifier.
|
|
40
38
|
*
|
|
41
|
-
* ###
|
|
39
|
+
* ### Response
|
|
42
40
|
*
|
|
43
|
-
*
|
|
41
|
+
* Returns a custom field object with:
|
|
44
42
|
*
|
|
45
43
|
* - `id` - Unique field identifier
|
|
46
44
|
* - `label` - Field label displayed to users
|
|
@@ -54,20 +52,22 @@ export declare class CustomFields extends APIResource {
|
|
|
54
52
|
*
|
|
55
53
|
* @example
|
|
56
54
|
* ```ts
|
|
57
|
-
* const
|
|
58
|
-
* await client.support.tickets.customFields.
|
|
55
|
+
* const customField =
|
|
56
|
+
* await client.support.tickets.customFields.retrieve(
|
|
57
|
+
* '65d26304b2e65b1e1278170c',
|
|
58
|
+
* );
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
retrieve(id: string, params?: CustomFieldRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomField>;
|
|
62
62
|
}
|
|
63
|
-
export interface
|
|
63
|
+
export interface CustomFieldListParams {
|
|
64
64
|
/**
|
|
65
65
|
* API version for this request. Defaults to your organization's configured API
|
|
66
66
|
* version if not specified.
|
|
67
67
|
*/
|
|
68
68
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
69
69
|
}
|
|
70
|
-
export interface
|
|
70
|
+
export interface CustomFieldRetrieveParams {
|
|
71
71
|
/**
|
|
72
72
|
* API version for this request. Defaults to your organization's configured API
|
|
73
73
|
* version if not specified.
|
|
@@ -75,6 +75,6 @@ export interface CustomFieldListParams {
|
|
|
75
75
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
76
76
|
}
|
|
77
77
|
export declare namespace CustomFields {
|
|
78
|
-
export { type
|
|
78
|
+
export { type CustomFieldListParams as CustomFieldListParams, type CustomFieldRetrieveParams as CustomFieldRetrieveParams, };
|
|
79
79
|
}
|
|
80
80
|
//# sourceMappingURL=custom-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-fields.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"custom-fields.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,eAAe,yCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC;IAe9C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAc3C;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -7,11 +7,14 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class CustomFields extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Returns all custom fields configured in your organization that can be used on
|
|
11
|
+
* tickets.
|
|
11
12
|
*
|
|
12
|
-
*
|
|
13
|
+
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
+
* ### Custom Field Object
|
|
16
|
+
*
|
|
17
|
+
* Each custom field includes:
|
|
15
18
|
*
|
|
16
19
|
* - `id` - Unique field identifier
|
|
17
20
|
* - `label` - Field label displayed to users
|
|
@@ -25,22 +28,17 @@ export declare class CustomFields extends APIResource {
|
|
|
25
28
|
*
|
|
26
29
|
* @example
|
|
27
30
|
* ```ts
|
|
28
|
-
* const
|
|
29
|
-
* await client.support.tickets.customFields.
|
|
30
|
-
* '65d26304b2e65b1e1278170c',
|
|
31
|
-
* );
|
|
31
|
+
* const customFieldList =
|
|
32
|
+
* await client.support.tickets.customFields.list();
|
|
32
33
|
* ```
|
|
33
34
|
*/
|
|
34
|
-
|
|
35
|
+
list(params?: CustomFieldListParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomFieldList>;
|
|
35
36
|
/**
|
|
36
|
-
*
|
|
37
|
-
* tickets.
|
|
38
|
-
*
|
|
39
|
-
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
37
|
+
* Retrieves a single custom field by its unique identifier.
|
|
40
38
|
*
|
|
41
|
-
* ###
|
|
39
|
+
* ### Response
|
|
42
40
|
*
|
|
43
|
-
*
|
|
41
|
+
* Returns a custom field object with:
|
|
44
42
|
*
|
|
45
43
|
* - `id` - Unique field identifier
|
|
46
44
|
* - `label` - Field label displayed to users
|
|
@@ -54,20 +52,22 @@ export declare class CustomFields extends APIResource {
|
|
|
54
52
|
*
|
|
55
53
|
* @example
|
|
56
54
|
* ```ts
|
|
57
|
-
* const
|
|
58
|
-
* await client.support.tickets.customFields.
|
|
55
|
+
* const customField =
|
|
56
|
+
* await client.support.tickets.customFields.retrieve(
|
|
57
|
+
* '65d26304b2e65b1e1278170c',
|
|
58
|
+
* );
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
retrieve(id: string, params?: CustomFieldRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomField>;
|
|
62
62
|
}
|
|
63
|
-
export interface
|
|
63
|
+
export interface CustomFieldListParams {
|
|
64
64
|
/**
|
|
65
65
|
* API version for this request. Defaults to your organization's configured API
|
|
66
66
|
* version if not specified.
|
|
67
67
|
*/
|
|
68
68
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
69
69
|
}
|
|
70
|
-
export interface
|
|
70
|
+
export interface CustomFieldRetrieveParams {
|
|
71
71
|
/**
|
|
72
72
|
* API version for this request. Defaults to your organization's configured API
|
|
73
73
|
* version if not specified.
|
|
@@ -75,6 +75,6 @@ export interface CustomFieldListParams {
|
|
|
75
75
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
76
76
|
}
|
|
77
77
|
export declare namespace CustomFields {
|
|
78
|
-
export { type
|
|
78
|
+
export { type CustomFieldListParams as CustomFieldListParams, type CustomFieldRetrieveParams as CustomFieldRetrieveParams, };
|
|
79
79
|
}
|
|
80
80
|
//# sourceMappingURL=custom-fields.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-fields.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"custom-fields.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,eAAe,wCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC;IAe9C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAc3C;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -10,11 +10,14 @@ const path_1 = require("../../../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class CustomFields extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Returns all custom fields configured in your organization that can be used on
|
|
14
|
+
* tickets.
|
|
14
15
|
*
|
|
15
|
-
*
|
|
16
|
+
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
16
17
|
*
|
|
17
|
-
*
|
|
18
|
+
* ### Custom Field Object
|
|
19
|
+
*
|
|
20
|
+
* Each custom field includes:
|
|
18
21
|
*
|
|
19
22
|
* - `id` - Unique field identifier
|
|
20
23
|
* - `label` - Field label displayed to users
|
|
@@ -28,15 +31,13 @@ class CustomFields extends resource_1.APIResource {
|
|
|
28
31
|
*
|
|
29
32
|
* @example
|
|
30
33
|
* ```ts
|
|
31
|
-
* const
|
|
32
|
-
* await client.support.tickets.customFields.
|
|
33
|
-
* '65d26304b2e65b1e1278170c',
|
|
34
|
-
* );
|
|
34
|
+
* const customFieldList =
|
|
35
|
+
* await client.support.tickets.customFields.list();
|
|
35
36
|
* ```
|
|
36
37
|
*/
|
|
37
|
-
|
|
38
|
+
list(params = {}, options) {
|
|
38
39
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
39
|
-
return this._client.get(
|
|
40
|
+
return this._client.get('/v2/tickets/custom_fields', {
|
|
40
41
|
...options,
|
|
41
42
|
headers: (0, headers_1.buildHeaders)([
|
|
42
43
|
{
|
|
@@ -49,14 +50,11 @@ class CustomFields extends resource_1.APIResource {
|
|
|
49
50
|
});
|
|
50
51
|
}
|
|
51
52
|
/**
|
|
52
|
-
*
|
|
53
|
-
* tickets.
|
|
54
|
-
*
|
|
55
|
-
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
53
|
+
* Retrieves a single custom field by its unique identifier.
|
|
56
54
|
*
|
|
57
|
-
* ###
|
|
55
|
+
* ### Response
|
|
58
56
|
*
|
|
59
|
-
*
|
|
57
|
+
* Returns a custom field object with:
|
|
60
58
|
*
|
|
61
59
|
* - `id` - Unique field identifier
|
|
62
60
|
* - `label` - Field label displayed to users
|
|
@@ -70,13 +68,15 @@ class CustomFields extends resource_1.APIResource {
|
|
|
70
68
|
*
|
|
71
69
|
* @example
|
|
72
70
|
* ```ts
|
|
73
|
-
* const
|
|
74
|
-
* await client.support.tickets.customFields.
|
|
71
|
+
* const customField =
|
|
72
|
+
* await client.support.tickets.customFields.retrieve(
|
|
73
|
+
* '65d26304b2e65b1e1278170c',
|
|
74
|
+
* );
|
|
75
75
|
* ```
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
retrieve(id, params = {}, options) {
|
|
78
78
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
79
|
-
return this._client.get(
|
|
79
|
+
return this._client.get((0, path_1.path) `/v2/tickets/custom_fields/${id}`, {
|
|
80
80
|
...options,
|
|
81
81
|
headers: (0, headers_1.buildHeaders)([
|
|
82
82
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-fields.js","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"custom-fields.js","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,SAAmD,EAAE,EACrD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE;YACnD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAU,EACV,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE;YAC7D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAxFD,oCAwFC"}
|
|
@@ -7,11 +7,14 @@ import { path } from "../../../internal/utils/path.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export class CustomFields extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Returns all custom fields configured in your organization that can be used on
|
|
11
|
+
* tickets.
|
|
11
12
|
*
|
|
12
|
-
*
|
|
13
|
+
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
+
* ### Custom Field Object
|
|
16
|
+
*
|
|
17
|
+
* Each custom field includes:
|
|
15
18
|
*
|
|
16
19
|
* - `id` - Unique field identifier
|
|
17
20
|
* - `label` - Field label displayed to users
|
|
@@ -25,15 +28,13 @@ export class CustomFields extends APIResource {
|
|
|
25
28
|
*
|
|
26
29
|
* @example
|
|
27
30
|
* ```ts
|
|
28
|
-
* const
|
|
29
|
-
* await client.support.tickets.customFields.
|
|
30
|
-
* '65d26304b2e65b1e1278170c',
|
|
31
|
-
* );
|
|
31
|
+
* const customFieldList =
|
|
32
|
+
* await client.support.tickets.customFields.list();
|
|
32
33
|
* ```
|
|
33
34
|
*/
|
|
34
|
-
|
|
35
|
+
list(params = {}, options) {
|
|
35
36
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
36
|
-
return this._client.get(
|
|
37
|
+
return this._client.get('/v2/tickets/custom_fields', {
|
|
37
38
|
...options,
|
|
38
39
|
headers: buildHeaders([
|
|
39
40
|
{
|
|
@@ -46,14 +47,11 @@ export class CustomFields extends APIResource {
|
|
|
46
47
|
});
|
|
47
48
|
}
|
|
48
49
|
/**
|
|
49
|
-
*
|
|
50
|
-
* tickets.
|
|
51
|
-
*
|
|
52
|
-
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
50
|
+
* Retrieves a single custom field by its unique identifier.
|
|
53
51
|
*
|
|
54
|
-
* ###
|
|
52
|
+
* ### Response
|
|
55
53
|
*
|
|
56
|
-
*
|
|
54
|
+
* Returns a custom field object with:
|
|
57
55
|
*
|
|
58
56
|
* - `id` - Unique field identifier
|
|
59
57
|
* - `label` - Field label displayed to users
|
|
@@ -67,13 +65,15 @@ export class CustomFields extends APIResource {
|
|
|
67
65
|
*
|
|
68
66
|
* @example
|
|
69
67
|
* ```ts
|
|
70
|
-
* const
|
|
71
|
-
* await client.support.tickets.customFields.
|
|
68
|
+
* const customField =
|
|
69
|
+
* await client.support.tickets.customFields.retrieve(
|
|
70
|
+
* '65d26304b2e65b1e1278170c',
|
|
71
|
+
* );
|
|
72
72
|
* ```
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
retrieve(id, params = {}, options) {
|
|
75
75
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
76
|
-
return this._client.get(
|
|
76
|
+
return this._client.get(path `/v2/tickets/custom_fields/${id}`, {
|
|
77
77
|
...options,
|
|
78
78
|
headers: buildHeaders([
|
|
79
79
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-fields.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"custom-fields.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,SAAmD,EAAE,EACrD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE;YACnD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAU,EACV,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE;YAC7D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Categories, type CategoryListResponse, type
|
|
2
|
-
export { CustomFields, type
|
|
3
|
-
export { Statuses, type StatusListResponse, type
|
|
4
|
-
export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type
|
|
1
|
+
export { Categories, type CategoryListResponse, type CategoryListParams, type CategoryRetrieveParams, } from "./categories.mjs";
|
|
2
|
+
export { CustomFields, type CustomFieldListParams, type CustomFieldRetrieveParams } from "./custom-fields.mjs";
|
|
3
|
+
export { Statuses, type StatusListResponse, type StatusListParams, type StatusRetrieveParams, } from "./statuses.mjs";
|
|
4
|
+
export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type TicketListParams, type TicketCreateParams, type TicketRetrieveParams, type TicketUpdateParams, type TicketDeleteParams, type TicketReplyParams, type TicketsCursorPage, } from "./tickets.mjs";
|
|
5
5
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,GAC5B,yBAAqB;AACtB,OAAO,EAAE,YAAY,EAAE,KAAK,qBAAqB,EAAE,KAAK,yBAAyB,EAAE,4BAAwB;AAC3G,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,uBAAmB;AACpB,OAAO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,sBAAkB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Categories, type CategoryListResponse, type
|
|
2
|
-
export { CustomFields, type
|
|
3
|
-
export { Statuses, type StatusListResponse, type
|
|
4
|
-
export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type
|
|
1
|
+
export { Categories, type CategoryListResponse, type CategoryListParams, type CategoryRetrieveParams, } from "./categories.js";
|
|
2
|
+
export { CustomFields, type CustomFieldListParams, type CustomFieldRetrieveParams } from "./custom-fields.js";
|
|
3
|
+
export { Statuses, type StatusListResponse, type StatusListParams, type StatusRetrieveParams, } from "./statuses.js";
|
|
4
|
+
export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type TicketListParams, type TicketCreateParams, type TicketRetrieveParams, type TicketUpdateParams, type TicketDeleteParams, type TicketReplyParams, type TicketsCursorPage, } from "./tickets.js";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,GAC5B,wBAAqB;AACtB,OAAO,EAAE,YAAY,EAAE,KAAK,qBAAqB,EAAE,KAAK,yBAAyB,EAAE,2BAAwB;AAC3G,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,GAC1B,sBAAmB;AACpB,OAAO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,qBAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,UAAU,GAIX,yBAAqB;AACtB,OAAO,EAAE,YAAY,EAA8D,4BAAwB;AAC3G,OAAO,EACL,QAAQ,GAIT,uBAAmB;AACpB,OAAO,EACL,OAAO,GAWR,sBAAkB"}
|
|
@@ -6,20 +6,6 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
6
6
|
* Tickets represent support requests in your Featurebase organization. Create, update, reply to, and manage tickets via these endpoints.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Statuses extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Retrieves a single ticket status by its unique identifier.
|
|
11
|
-
*
|
|
12
|
-
* Returns the status object including name, color, type, and default flag.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* const postStatus =
|
|
17
|
-
* await client.support.tickets.statuses.retrieve(
|
|
18
|
-
* '507f1f77bcf86cd799439011',
|
|
19
|
-
* );
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
|
|
23
9
|
/**
|
|
24
10
|
* Returns all ticket statuses for the authenticated organization.
|
|
25
11
|
*
|
|
@@ -39,16 +25,30 @@ export declare class Statuses extends APIResource {
|
|
|
39
25
|
* ```
|
|
40
26
|
*/
|
|
41
27
|
list(params?: StatusListParams | null | undefined, options?: RequestOptions): APIPromise<StatusListResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieves a single ticket status by its unique identifier.
|
|
30
|
+
*
|
|
31
|
+
* Returns the status object including name, color, type, and default flag.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const postStatus =
|
|
36
|
+
* await client.support.tickets.statuses.retrieve(
|
|
37
|
+
* '507f1f77bcf86cd799439011',
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
|
|
42
42
|
}
|
|
43
43
|
export type StatusListResponse = Array<PostStatusesAPI.PostStatus>;
|
|
44
|
-
export interface
|
|
44
|
+
export interface StatusListParams {
|
|
45
45
|
/**
|
|
46
46
|
* API version for this request. Defaults to your organization's configured API
|
|
47
47
|
* version if not specified.
|
|
48
48
|
*/
|
|
49
49
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
50
50
|
}
|
|
51
|
-
export interface
|
|
51
|
+
export interface StatusRetrieveParams {
|
|
52
52
|
/**
|
|
53
53
|
* API version for this request. Defaults to your organization's configured API
|
|
54
54
|
* version if not specified.
|
|
@@ -56,6 +56,6 @@ export interface StatusListParams {
|
|
|
56
56
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
57
57
|
}
|
|
58
58
|
export declare namespace Statuses {
|
|
59
|
-
export { type StatusListResponse as StatusListResponse, type
|
|
59
|
+
export { type StatusListResponse as StatusListResponse, type StatusListParams as StatusListParams, type StatusRetrieveParams as StatusRetrieveParams, };
|
|
60
60
|
}
|
|
61
61
|
//# sourceMappingURL=statuses.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statuses.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"statuses.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,eAAe,yCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,MAAM,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAejC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC;CAc1C;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;AAEnE,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -6,20 +6,6 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
6
6
|
* Tickets represent support requests in your Featurebase organization. Create, update, reply to, and manage tickets via these endpoints.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Statuses extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Retrieves a single ticket status by its unique identifier.
|
|
11
|
-
*
|
|
12
|
-
* Returns the status object including name, color, type, and default flag.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* const postStatus =
|
|
17
|
-
* await client.support.tickets.statuses.retrieve(
|
|
18
|
-
* '507f1f77bcf86cd799439011',
|
|
19
|
-
* );
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
|
|
23
9
|
/**
|
|
24
10
|
* Returns all ticket statuses for the authenticated organization.
|
|
25
11
|
*
|
|
@@ -39,16 +25,30 @@ export declare class Statuses extends APIResource {
|
|
|
39
25
|
* ```
|
|
40
26
|
*/
|
|
41
27
|
list(params?: StatusListParams | null | undefined, options?: RequestOptions): APIPromise<StatusListResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieves a single ticket status by its unique identifier.
|
|
30
|
+
*
|
|
31
|
+
* Returns the status object including name, color, type, and default flag.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const postStatus =
|
|
36
|
+
* await client.support.tickets.statuses.retrieve(
|
|
37
|
+
* '507f1f77bcf86cd799439011',
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
|
|
42
42
|
}
|
|
43
43
|
export type StatusListResponse = Array<PostStatusesAPI.PostStatus>;
|
|
44
|
-
export interface
|
|
44
|
+
export interface StatusListParams {
|
|
45
45
|
/**
|
|
46
46
|
* API version for this request. Defaults to your organization's configured API
|
|
47
47
|
* version if not specified.
|
|
48
48
|
*/
|
|
49
49
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
50
50
|
}
|
|
51
|
-
export interface
|
|
51
|
+
export interface StatusRetrieveParams {
|
|
52
52
|
/**
|
|
53
53
|
* API version for this request. Defaults to your organization's configured API
|
|
54
54
|
* version if not specified.
|
|
@@ -56,6 +56,6 @@ export interface StatusListParams {
|
|
|
56
56
|
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
57
57
|
}
|
|
58
58
|
export declare namespace Statuses {
|
|
59
|
-
export { type StatusListResponse as StatusListResponse, type
|
|
59
|
+
export { type StatusListResponse as StatusListResponse, type StatusListParams as StatusListParams, type StatusRetrieveParams as StatusRetrieveParams, };
|
|
60
60
|
}
|
|
61
61
|
//# sourceMappingURL=statuses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statuses.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"statuses.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,eAAe,wCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,MAAM,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAejC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC;CAc1C;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;AAEnE,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|