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
|
@@ -10,6 +10,65 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
10
10
|
* Help centers allow organizations to create and manage knowledge bases with articles and collections. Currently, Featurebase supports one help center per organization.
|
|
11
11
|
*/
|
|
12
12
|
class RedirectRules extends resource_1.APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Returns a paginated list of redirect rules within your organization.
|
|
15
|
+
*
|
|
16
|
+
* Redirect rules map old Help Center URLs to new article or collection
|
|
17
|
+
* destinations, enabling seamless migration from legacy help center systems. Only
|
|
18
|
+
* Help Centers with a custom domain configured support redirect rules.
|
|
19
|
+
*
|
|
20
|
+
* ### Query Parameters
|
|
21
|
+
*
|
|
22
|
+
* - `limit` - Number of items to return (1-100, default 10)
|
|
23
|
+
* - `cursor` - Cursor for pagination
|
|
24
|
+
* - `helpCenterId` - Filter by help center ID
|
|
25
|
+
* - `locale` - Filter by locale code
|
|
26
|
+
* - `targetType` - Filter by target type ("article" or "collection")
|
|
27
|
+
*
|
|
28
|
+
* ### Response Format
|
|
29
|
+
*
|
|
30
|
+
* Returns a list object with:
|
|
31
|
+
*
|
|
32
|
+
* - `object` - Always "list"
|
|
33
|
+
* - `data` - Array of redirect rule objects
|
|
34
|
+
* - `nextCursor` - Cursor for next page (null if no more results)
|
|
35
|
+
*
|
|
36
|
+
* ### Redirect Rule Object
|
|
37
|
+
*
|
|
38
|
+
* Each redirect rule includes:
|
|
39
|
+
*
|
|
40
|
+
* - `id` - Unique identifier (MongoDB ObjectId)
|
|
41
|
+
* - `helpCenterId` - Help center this rule belongs to
|
|
42
|
+
* - `locale` - Locale code used to resolve the target translation
|
|
43
|
+
* - `fromUrl` - Canonical source URL (query/hash stripped, hostname lowercased)
|
|
44
|
+
* - `targetType` - "article" or "collection"
|
|
45
|
+
* - `targetId` - ID of the target article or collection
|
|
46
|
+
* - `createdAt` - ISO 8601 timestamp when created
|
|
47
|
+
* - `updatedAt` - ISO 8601 timestamp when last updated
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* // Automatically fetches more pages as needed.
|
|
52
|
+
* for await (const redirectRule of client.helpCenter.redirectRules.list()) {
|
|
53
|
+
* // ...
|
|
54
|
+
* }
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
list(params = {}, options) {
|
|
58
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
59
|
+
return this._client.getAPIList('/v2/help_center/redirect_rules', (pagination_1.CursorPage), {
|
|
60
|
+
query,
|
|
61
|
+
...options,
|
|
62
|
+
headers: (0, headers_1.buildHeaders)([
|
|
63
|
+
{
|
|
64
|
+
...(featurebaseVersion?.toString() != null ?
|
|
65
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
66
|
+
: undefined),
|
|
67
|
+
},
|
|
68
|
+
options?.headers,
|
|
69
|
+
]),
|
|
70
|
+
});
|
|
71
|
+
}
|
|
13
72
|
/**
|
|
14
73
|
* Creates a new redirect rule in your organization.
|
|
15
74
|
*
|
|
@@ -68,6 +127,59 @@ class RedirectRules extends resource_1.APIResource {
|
|
|
68
127
|
]),
|
|
69
128
|
});
|
|
70
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* Retrieves a specific redirect rule by its source URL.
|
|
132
|
+
*
|
|
133
|
+
* The `url` query parameter is normalized before matching: query parameters and
|
|
134
|
+
* hash fragments are stripped, the hostname is lowercased, and trailing slashes
|
|
135
|
+
* are removed. This is the same normalization applied when creating a redirect
|
|
136
|
+
* rule.
|
|
137
|
+
*
|
|
138
|
+
* ### Query Parameters
|
|
139
|
+
*
|
|
140
|
+
* - `url` (required) - Full absolute URL to look up (http or https)
|
|
141
|
+
*
|
|
142
|
+
* ### Response
|
|
143
|
+
*
|
|
144
|
+
* Returns a redirect rule object with:
|
|
145
|
+
*
|
|
146
|
+
* - `id` - Unique identifier (MongoDB ObjectId)
|
|
147
|
+
* - `helpCenterId` - Help center this rule belongs to
|
|
148
|
+
* - `locale` - Locale code
|
|
149
|
+
* - `fromUrl` - Canonical source URL being redirected from
|
|
150
|
+
* - `targetType` - "article" or "collection"
|
|
151
|
+
* - `targetId` - ID of the target article or collection
|
|
152
|
+
* - `createdAt` - ISO 8601 timestamp when created
|
|
153
|
+
* - `updatedAt` - ISO 8601 timestamp when last updated
|
|
154
|
+
*
|
|
155
|
+
* ### Errors
|
|
156
|
+
*
|
|
157
|
+
* - `400` - Invalid URL format
|
|
158
|
+
* - `404` - No redirect rule exists for the given URL
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ```ts
|
|
162
|
+
* const redirectRule =
|
|
163
|
+
* await client.helpCenter.redirectRules.retrieveByURL({
|
|
164
|
+
* url: 'https://help.example.com/en/old/getting-started',
|
|
165
|
+
* });
|
|
166
|
+
* ```
|
|
167
|
+
*/
|
|
168
|
+
retrieveByURL(params, options) {
|
|
169
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params;
|
|
170
|
+
return this._client.get('/v2/help_center/redirect_rules/by-url', {
|
|
171
|
+
query,
|
|
172
|
+
...options,
|
|
173
|
+
headers: (0, headers_1.buildHeaders)([
|
|
174
|
+
{
|
|
175
|
+
...(featurebaseVersion?.toString() != null ?
|
|
176
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
177
|
+
: undefined),
|
|
178
|
+
},
|
|
179
|
+
options?.headers,
|
|
180
|
+
]),
|
|
181
|
+
});
|
|
182
|
+
}
|
|
71
183
|
/**
|
|
72
184
|
* Retrieves a specific redirect rule by its unique identifier.
|
|
73
185
|
*
|
|
@@ -165,65 +277,6 @@ class RedirectRules extends resource_1.APIResource {
|
|
|
165
277
|
]),
|
|
166
278
|
});
|
|
167
279
|
}
|
|
168
|
-
/**
|
|
169
|
-
* Returns a paginated list of redirect rules within your organization.
|
|
170
|
-
*
|
|
171
|
-
* Redirect rules map old Help Center URLs to new article or collection
|
|
172
|
-
* destinations, enabling seamless migration from legacy help center systems. Only
|
|
173
|
-
* Help Centers with a custom domain configured support redirect rules.
|
|
174
|
-
*
|
|
175
|
-
* ### Query Parameters
|
|
176
|
-
*
|
|
177
|
-
* - `limit` - Number of items to return (1-100, default 10)
|
|
178
|
-
* - `cursor` - Cursor for pagination
|
|
179
|
-
* - `helpCenterId` - Filter by help center ID
|
|
180
|
-
* - `locale` - Filter by locale code
|
|
181
|
-
* - `targetType` - Filter by target type ("article" or "collection")
|
|
182
|
-
*
|
|
183
|
-
* ### Response Format
|
|
184
|
-
*
|
|
185
|
-
* Returns a list object with:
|
|
186
|
-
*
|
|
187
|
-
* - `object` - Always "list"
|
|
188
|
-
* - `data` - Array of redirect rule objects
|
|
189
|
-
* - `nextCursor` - Cursor for next page (null if no more results)
|
|
190
|
-
*
|
|
191
|
-
* ### Redirect Rule Object
|
|
192
|
-
*
|
|
193
|
-
* Each redirect rule includes:
|
|
194
|
-
*
|
|
195
|
-
* - `id` - Unique identifier (MongoDB ObjectId)
|
|
196
|
-
* - `helpCenterId` - Help center this rule belongs to
|
|
197
|
-
* - `locale` - Locale code used to resolve the target translation
|
|
198
|
-
* - `fromUrl` - Canonical source URL (query/hash stripped, hostname lowercased)
|
|
199
|
-
* - `targetType` - "article" or "collection"
|
|
200
|
-
* - `targetId` - ID of the target article or collection
|
|
201
|
-
* - `createdAt` - ISO 8601 timestamp when created
|
|
202
|
-
* - `updatedAt` - ISO 8601 timestamp when last updated
|
|
203
|
-
*
|
|
204
|
-
* @example
|
|
205
|
-
* ```ts
|
|
206
|
-
* // Automatically fetches more pages as needed.
|
|
207
|
-
* for await (const redirectRule of client.helpCenter.redirectRules.list()) {
|
|
208
|
-
* // ...
|
|
209
|
-
* }
|
|
210
|
-
* ```
|
|
211
|
-
*/
|
|
212
|
-
list(params = {}, options) {
|
|
213
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
214
|
-
return this._client.getAPIList('/v2/help_center/redirect_rules', (pagination_1.CursorPage), {
|
|
215
|
-
query,
|
|
216
|
-
...options,
|
|
217
|
-
headers: (0, headers_1.buildHeaders)([
|
|
218
|
-
{
|
|
219
|
-
...(featurebaseVersion?.toString() != null ?
|
|
220
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
221
|
-
: undefined),
|
|
222
|
-
},
|
|
223
|
-
options?.headers,
|
|
224
|
-
]),
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
280
|
/**
|
|
228
281
|
* Deletes an existing redirect rule. The associated Redis cache entry is also
|
|
229
282
|
* invalidated.
|
|
@@ -266,59 +319,6 @@ class RedirectRules extends resource_1.APIResource {
|
|
|
266
319
|
]),
|
|
267
320
|
});
|
|
268
321
|
}
|
|
269
|
-
/**
|
|
270
|
-
* Retrieves a specific redirect rule by its source URL.
|
|
271
|
-
*
|
|
272
|
-
* The `url` query parameter is normalized before matching: query parameters and
|
|
273
|
-
* hash fragments are stripped, the hostname is lowercased, and trailing slashes
|
|
274
|
-
* are removed. This is the same normalization applied when creating a redirect
|
|
275
|
-
* rule.
|
|
276
|
-
*
|
|
277
|
-
* ### Query Parameters
|
|
278
|
-
*
|
|
279
|
-
* - `url` (required) - Full absolute URL to look up (http or https)
|
|
280
|
-
*
|
|
281
|
-
* ### Response
|
|
282
|
-
*
|
|
283
|
-
* Returns a redirect rule object with:
|
|
284
|
-
*
|
|
285
|
-
* - `id` - Unique identifier (MongoDB ObjectId)
|
|
286
|
-
* - `helpCenterId` - Help center this rule belongs to
|
|
287
|
-
* - `locale` - Locale code
|
|
288
|
-
* - `fromUrl` - Canonical source URL being redirected from
|
|
289
|
-
* - `targetType` - "article" or "collection"
|
|
290
|
-
* - `targetId` - ID of the target article or collection
|
|
291
|
-
* - `createdAt` - ISO 8601 timestamp when created
|
|
292
|
-
* - `updatedAt` - ISO 8601 timestamp when last updated
|
|
293
|
-
*
|
|
294
|
-
* ### Errors
|
|
295
|
-
*
|
|
296
|
-
* - `400` - Invalid URL format
|
|
297
|
-
* - `404` - No redirect rule exists for the given URL
|
|
298
|
-
*
|
|
299
|
-
* @example
|
|
300
|
-
* ```ts
|
|
301
|
-
* const redirectRule =
|
|
302
|
-
* await client.helpCenter.redirectRules.retrieveByURL({
|
|
303
|
-
* url: 'https://help.example.com/en/old/getting-started',
|
|
304
|
-
* });
|
|
305
|
-
* ```
|
|
306
|
-
*/
|
|
307
|
-
retrieveByURL(params, options) {
|
|
308
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params;
|
|
309
|
-
return this._client.get('/v2/help_center/redirect_rules/by-url', {
|
|
310
|
-
query,
|
|
311
|
-
...options,
|
|
312
|
-
headers: (0, headers_1.buildHeaders)([
|
|
313
|
-
{
|
|
314
|
-
...(featurebaseVersion?.toString() != null ?
|
|
315
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
316
|
-
: undefined),
|
|
317
|
-
},
|
|
318
|
-
options?.headers,
|
|
319
|
-
]),
|
|
320
|
-
});
|
|
321
|
-
}
|
|
322
322
|
}
|
|
323
323
|
exports.RedirectRules = RedirectRules;
|
|
324
324
|
//# sourceMappingURL=redirect-rules.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redirect-rules.js","sourceRoot":"","sources":["../../src/resources/help-center/redirect-rules.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAAuF;AACvF,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"redirect-rules.js","sourceRoot":"","sources":["../../src/resources/help-center/redirect-rules.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAAuF;AACvF,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,IAAI,CACF,SAAoD,EAAE,EACtD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gCAAgC,EAAE,CAAA,uBAAwB,CAAA,EAAE;YACzF,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;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AM,CAAC,IAAA,WAAI,EAAA,kCAAkC,EAAE,EAAE,EAAE;YACrE,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;AAtUD,sCAsUC"}
|
|
@@ -7,6 +7,65 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
7
7
|
* Help centers allow organizations to create and manage knowledge bases with articles and collections. Currently, Featurebase supports one help center per organization.
|
|
8
8
|
*/
|
|
9
9
|
export class RedirectRules extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Returns a paginated list of redirect rules within your organization.
|
|
12
|
+
*
|
|
13
|
+
* Redirect rules map old Help Center URLs to new article or collection
|
|
14
|
+
* destinations, enabling seamless migration from legacy help center systems. Only
|
|
15
|
+
* Help Centers with a custom domain configured support redirect rules.
|
|
16
|
+
*
|
|
17
|
+
* ### Query Parameters
|
|
18
|
+
*
|
|
19
|
+
* - `limit` - Number of items to return (1-100, default 10)
|
|
20
|
+
* - `cursor` - Cursor for pagination
|
|
21
|
+
* - `helpCenterId` - Filter by help center ID
|
|
22
|
+
* - `locale` - Filter by locale code
|
|
23
|
+
* - `targetType` - Filter by target type ("article" or "collection")
|
|
24
|
+
*
|
|
25
|
+
* ### Response Format
|
|
26
|
+
*
|
|
27
|
+
* Returns a list object with:
|
|
28
|
+
*
|
|
29
|
+
* - `object` - Always "list"
|
|
30
|
+
* - `data` - Array of redirect rule objects
|
|
31
|
+
* - `nextCursor` - Cursor for next page (null if no more results)
|
|
32
|
+
*
|
|
33
|
+
* ### Redirect Rule Object
|
|
34
|
+
*
|
|
35
|
+
* Each redirect rule includes:
|
|
36
|
+
*
|
|
37
|
+
* - `id` - Unique identifier (MongoDB ObjectId)
|
|
38
|
+
* - `helpCenterId` - Help center this rule belongs to
|
|
39
|
+
* - `locale` - Locale code used to resolve the target translation
|
|
40
|
+
* - `fromUrl` - Canonical source URL (query/hash stripped, hostname lowercased)
|
|
41
|
+
* - `targetType` - "article" or "collection"
|
|
42
|
+
* - `targetId` - ID of the target article or collection
|
|
43
|
+
* - `createdAt` - ISO 8601 timestamp when created
|
|
44
|
+
* - `updatedAt` - ISO 8601 timestamp when last updated
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* // Automatically fetches more pages as needed.
|
|
49
|
+
* for await (const redirectRule of client.helpCenter.redirectRules.list()) {
|
|
50
|
+
* // ...
|
|
51
|
+
* }
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
list(params = {}, options) {
|
|
55
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
56
|
+
return this._client.getAPIList('/v2/help_center/redirect_rules', (CursorPage), {
|
|
57
|
+
query,
|
|
58
|
+
...options,
|
|
59
|
+
headers: buildHeaders([
|
|
60
|
+
{
|
|
61
|
+
...(featurebaseVersion?.toString() != null ?
|
|
62
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
63
|
+
: undefined),
|
|
64
|
+
},
|
|
65
|
+
options?.headers,
|
|
66
|
+
]),
|
|
67
|
+
});
|
|
68
|
+
}
|
|
10
69
|
/**
|
|
11
70
|
* Creates a new redirect rule in your organization.
|
|
12
71
|
*
|
|
@@ -65,6 +124,59 @@ export class RedirectRules extends APIResource {
|
|
|
65
124
|
]),
|
|
66
125
|
});
|
|
67
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* Retrieves a specific redirect rule by its source URL.
|
|
129
|
+
*
|
|
130
|
+
* The `url` query parameter is normalized before matching: query parameters and
|
|
131
|
+
* hash fragments are stripped, the hostname is lowercased, and trailing slashes
|
|
132
|
+
* are removed. This is the same normalization applied when creating a redirect
|
|
133
|
+
* rule.
|
|
134
|
+
*
|
|
135
|
+
* ### Query Parameters
|
|
136
|
+
*
|
|
137
|
+
* - `url` (required) - Full absolute URL to look up (http or https)
|
|
138
|
+
*
|
|
139
|
+
* ### Response
|
|
140
|
+
*
|
|
141
|
+
* Returns a redirect rule object with:
|
|
142
|
+
*
|
|
143
|
+
* - `id` - Unique identifier (MongoDB ObjectId)
|
|
144
|
+
* - `helpCenterId` - Help center this rule belongs to
|
|
145
|
+
* - `locale` - Locale code
|
|
146
|
+
* - `fromUrl` - Canonical source URL being redirected from
|
|
147
|
+
* - `targetType` - "article" or "collection"
|
|
148
|
+
* - `targetId` - ID of the target article or collection
|
|
149
|
+
* - `createdAt` - ISO 8601 timestamp when created
|
|
150
|
+
* - `updatedAt` - ISO 8601 timestamp when last updated
|
|
151
|
+
*
|
|
152
|
+
* ### Errors
|
|
153
|
+
*
|
|
154
|
+
* - `400` - Invalid URL format
|
|
155
|
+
* - `404` - No redirect rule exists for the given URL
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* ```ts
|
|
159
|
+
* const redirectRule =
|
|
160
|
+
* await client.helpCenter.redirectRules.retrieveByURL({
|
|
161
|
+
* url: 'https://help.example.com/en/old/getting-started',
|
|
162
|
+
* });
|
|
163
|
+
* ```
|
|
164
|
+
*/
|
|
165
|
+
retrieveByURL(params, options) {
|
|
166
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params;
|
|
167
|
+
return this._client.get('/v2/help_center/redirect_rules/by-url', {
|
|
168
|
+
query,
|
|
169
|
+
...options,
|
|
170
|
+
headers: buildHeaders([
|
|
171
|
+
{
|
|
172
|
+
...(featurebaseVersion?.toString() != null ?
|
|
173
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
174
|
+
: undefined),
|
|
175
|
+
},
|
|
176
|
+
options?.headers,
|
|
177
|
+
]),
|
|
178
|
+
});
|
|
179
|
+
}
|
|
68
180
|
/**
|
|
69
181
|
* Retrieves a specific redirect rule by its unique identifier.
|
|
70
182
|
*
|
|
@@ -162,65 +274,6 @@ export class RedirectRules extends APIResource {
|
|
|
162
274
|
]),
|
|
163
275
|
});
|
|
164
276
|
}
|
|
165
|
-
/**
|
|
166
|
-
* Returns a paginated list of redirect rules within your organization.
|
|
167
|
-
*
|
|
168
|
-
* Redirect rules map old Help Center URLs to new article or collection
|
|
169
|
-
* destinations, enabling seamless migration from legacy help center systems. Only
|
|
170
|
-
* Help Centers with a custom domain configured support redirect rules.
|
|
171
|
-
*
|
|
172
|
-
* ### Query Parameters
|
|
173
|
-
*
|
|
174
|
-
* - `limit` - Number of items to return (1-100, default 10)
|
|
175
|
-
* - `cursor` - Cursor for pagination
|
|
176
|
-
* - `helpCenterId` - Filter by help center ID
|
|
177
|
-
* - `locale` - Filter by locale code
|
|
178
|
-
* - `targetType` - Filter by target type ("article" or "collection")
|
|
179
|
-
*
|
|
180
|
-
* ### Response Format
|
|
181
|
-
*
|
|
182
|
-
* Returns a list object with:
|
|
183
|
-
*
|
|
184
|
-
* - `object` - Always "list"
|
|
185
|
-
* - `data` - Array of redirect rule objects
|
|
186
|
-
* - `nextCursor` - Cursor for next page (null if no more results)
|
|
187
|
-
*
|
|
188
|
-
* ### Redirect Rule Object
|
|
189
|
-
*
|
|
190
|
-
* Each redirect rule includes:
|
|
191
|
-
*
|
|
192
|
-
* - `id` - Unique identifier (MongoDB ObjectId)
|
|
193
|
-
* - `helpCenterId` - Help center this rule belongs to
|
|
194
|
-
* - `locale` - Locale code used to resolve the target translation
|
|
195
|
-
* - `fromUrl` - Canonical source URL (query/hash stripped, hostname lowercased)
|
|
196
|
-
* - `targetType` - "article" or "collection"
|
|
197
|
-
* - `targetId` - ID of the target article or collection
|
|
198
|
-
* - `createdAt` - ISO 8601 timestamp when created
|
|
199
|
-
* - `updatedAt` - ISO 8601 timestamp when last updated
|
|
200
|
-
*
|
|
201
|
-
* @example
|
|
202
|
-
* ```ts
|
|
203
|
-
* // Automatically fetches more pages as needed.
|
|
204
|
-
* for await (const redirectRule of client.helpCenter.redirectRules.list()) {
|
|
205
|
-
* // ...
|
|
206
|
-
* }
|
|
207
|
-
* ```
|
|
208
|
-
*/
|
|
209
|
-
list(params = {}, options) {
|
|
210
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
211
|
-
return this._client.getAPIList('/v2/help_center/redirect_rules', (CursorPage), {
|
|
212
|
-
query,
|
|
213
|
-
...options,
|
|
214
|
-
headers: buildHeaders([
|
|
215
|
-
{
|
|
216
|
-
...(featurebaseVersion?.toString() != null ?
|
|
217
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
218
|
-
: undefined),
|
|
219
|
-
},
|
|
220
|
-
options?.headers,
|
|
221
|
-
]),
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
277
|
/**
|
|
225
278
|
* Deletes an existing redirect rule. The associated Redis cache entry is also
|
|
226
279
|
* invalidated.
|
|
@@ -263,58 +316,5 @@ export class RedirectRules extends APIResource {
|
|
|
263
316
|
]),
|
|
264
317
|
});
|
|
265
318
|
}
|
|
266
|
-
/**
|
|
267
|
-
* Retrieves a specific redirect rule by its source URL.
|
|
268
|
-
*
|
|
269
|
-
* The `url` query parameter is normalized before matching: query parameters and
|
|
270
|
-
* hash fragments are stripped, the hostname is lowercased, and trailing slashes
|
|
271
|
-
* are removed. This is the same normalization applied when creating a redirect
|
|
272
|
-
* rule.
|
|
273
|
-
*
|
|
274
|
-
* ### Query Parameters
|
|
275
|
-
*
|
|
276
|
-
* - `url` (required) - Full absolute URL to look up (http or https)
|
|
277
|
-
*
|
|
278
|
-
* ### Response
|
|
279
|
-
*
|
|
280
|
-
* Returns a redirect rule object with:
|
|
281
|
-
*
|
|
282
|
-
* - `id` - Unique identifier (MongoDB ObjectId)
|
|
283
|
-
* - `helpCenterId` - Help center this rule belongs to
|
|
284
|
-
* - `locale` - Locale code
|
|
285
|
-
* - `fromUrl` - Canonical source URL being redirected from
|
|
286
|
-
* - `targetType` - "article" or "collection"
|
|
287
|
-
* - `targetId` - ID of the target article or collection
|
|
288
|
-
* - `createdAt` - ISO 8601 timestamp when created
|
|
289
|
-
* - `updatedAt` - ISO 8601 timestamp when last updated
|
|
290
|
-
*
|
|
291
|
-
* ### Errors
|
|
292
|
-
*
|
|
293
|
-
* - `400` - Invalid URL format
|
|
294
|
-
* - `404` - No redirect rule exists for the given URL
|
|
295
|
-
*
|
|
296
|
-
* @example
|
|
297
|
-
* ```ts
|
|
298
|
-
* const redirectRule =
|
|
299
|
-
* await client.helpCenter.redirectRules.retrieveByURL({
|
|
300
|
-
* url: 'https://help.example.com/en/old/getting-started',
|
|
301
|
-
* });
|
|
302
|
-
* ```
|
|
303
|
-
*/
|
|
304
|
-
retrieveByURL(params, options) {
|
|
305
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params;
|
|
306
|
-
return this._client.get('/v2/help_center/redirect_rules/by-url', {
|
|
307
|
-
query,
|
|
308
|
-
...options,
|
|
309
|
-
headers: buildHeaders([
|
|
310
|
-
{
|
|
311
|
-
...(featurebaseVersion?.toString() != null ?
|
|
312
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
313
|
-
: undefined),
|
|
314
|
-
},
|
|
315
|
-
options?.headers,
|
|
316
|
-
]),
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
319
|
}
|
|
320
320
|
//# sourceMappingURL=redirect-rules.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redirect-rules.mjs","sourceRoot":"","sources":["../../src/resources/help-center/redirect-rules.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"redirect-rules.mjs","sourceRoot":"","sources":["../../src/resources/help-center/redirect-rules.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,UAAU,EAAsC,kCAA8B;AAC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C3E,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,kCAAkC,EAAE,EAAE,EAAE;YACpE,IAAI;YACJ,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;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,MAAM,CACJ,EAAU,EACV,SAAsD,EAAE,EACxD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,kCAAkC,EAAE,EAAE,EAAE;YACrE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help-center.d.mts","sourceRoot":"","sources":["../src/resources/help-center.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"help-center.d.mts","sourceRoot":"","sources":["../src/resources/help-center.ts"],"names":[],"mappings":"AAEA,wCAAoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help-center.d.ts","sourceRoot":"","sources":["../src/resources/help-center.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"help-center.d.ts","sourceRoot":"","sources":["../src/resources/help-center.ts"],"names":[],"mappings":"AAEA,uCAAoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help-center.mjs","sourceRoot":"","sources":["../src/resources/help-center.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
1
|
+
{"version":3,"file":"help-center.mjs","sourceRoot":"","sources":["../src/resources/help-center.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,wCAAoC"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { AuditLogs, type AuditLogListResponse, type AuditLogListParams, type AuditLogListResponsesCursorPage, } from "./audit-logs.mjs";
|
|
2
|
+
export { Changelogs, type Changelog, type PublishUnpublishSuccess, type ChangelogDeleteResponse, type ChangelogListParams, type ChangelogCreateParams, type ChangelogRetrieveParams, type ChangelogUpdateParams, type ChangelogDeleteParams, type ChangelogPublishParams, type ChangelogUnpublishParams, type ChangelogsCursorPage, } from "./changelogs/changelogs.mjs";
|
|
3
|
+
export { ConversationAttributes, type ConversationAttribute, type ConversationAttributeOption, type ConversationAttributeListResponse, type ConversationAttributeListParams, type ConversationAttributeRetrieveParams, } from "./conversation-attributes.mjs";
|
|
2
4
|
export { Feedback } from "./feedback/feedback.mjs";
|
|
3
5
|
export { HelpCenter } from "./help-center/help-center.mjs";
|
|
4
6
|
export { Organization } from "./organization/organization.mjs";
|
|
7
|
+
export { Reports, type ReportAttribute, type ReportAttributeOption, type ReportDataset, type ReportFilterExpression, type ReportFilterRule, type ReportGroupedDatum, type ReportMetric, type ReportSegmentDatum, type ReportTimeSeriesDatum, type ReportDrillInResponse, type ReportListDatasetsResponse, type ReportLookupFilterValuesResponse, type ReportQueryResponse, type ReportListDatasetsParams, type ReportQueryParams, type ReportLookupFilterValuesParams, type ReportDrillInParams, } from "./reports.mjs";
|
|
5
8
|
export { Support } from "./support/support.mjs";
|
|
6
|
-
export { Surveys, type Survey, type SurveyNextAction, type SurveyListResponsesResponse, type
|
|
9
|
+
export { Surveys, type Survey, type SurveyNextAction, type SurveyListResponsesResponse, type SurveyListParams, type SurveyRetrieveParams, type SurveyListResponsesParams, type SurveysCursorPage, type SurveyListResponsesResponsesCursorPage, } from "./surveys.mjs";
|
|
7
10
|
export { Users } from "./users/users.mjs";
|
|
8
|
-
export { Webhooks, type Webhook, type WebhookRequestConfigInput, type WebhookDeleteResponse, type
|
|
11
|
+
export { Webhooks, type Webhook, type WebhookRequestConfigInput, type WebhookDeleteResponse, type WebhookListParams, type WebhookCreateParams, type WebhookRetrieveParams, type WebhookUpdateParams, type WebhookDeleteParams, type WebhookRefreshSecretParams, type WebhooksCursorPage, } from "./webhooks.mjs";
|
|
9
12
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,GACrC,yBAAqB;AACtB,OAAO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,GAC1B,oCAAgC;AACjC,OAAO,EACL,sBAAsB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,GACzC,sCAAkC;AACnC,OAAO,EAAE,QAAQ,EAAE,gCAA4B;AAC/C,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,YAAY,EAAE,wCAAoC;AAC3D,OAAO,EACL,OAAO,EACP,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,GACzB,sBAAkB;AACnB,OAAO,EAAE,OAAO,EAAE,8BAA0B;AAC5C,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,2BAA2B,EAChC,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,sCAAsC,GAC5C,sBAAkB;AACnB,OAAO,EAAE,KAAK,EAAE,0BAAsB;AACtC,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,GACxB,uBAAmB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { AuditLogs, type AuditLogListResponse, type AuditLogListParams, type AuditLogListResponsesCursorPage, } from "./audit-logs.js";
|
|
2
|
+
export { Changelogs, type Changelog, type PublishUnpublishSuccess, type ChangelogDeleteResponse, type ChangelogListParams, type ChangelogCreateParams, type ChangelogRetrieveParams, type ChangelogUpdateParams, type ChangelogDeleteParams, type ChangelogPublishParams, type ChangelogUnpublishParams, type ChangelogsCursorPage, } from "./changelogs/changelogs.js";
|
|
3
|
+
export { ConversationAttributes, type ConversationAttribute, type ConversationAttributeOption, type ConversationAttributeListResponse, type ConversationAttributeListParams, type ConversationAttributeRetrieveParams, } from "./conversation-attributes.js";
|
|
2
4
|
export { Feedback } from "./feedback/feedback.js";
|
|
3
5
|
export { HelpCenter } from "./help-center/help-center.js";
|
|
4
6
|
export { Organization } from "./organization/organization.js";
|
|
7
|
+
export { Reports, type ReportAttribute, type ReportAttributeOption, type ReportDataset, type ReportFilterExpression, type ReportFilterRule, type ReportGroupedDatum, type ReportMetric, type ReportSegmentDatum, type ReportTimeSeriesDatum, type ReportDrillInResponse, type ReportListDatasetsResponse, type ReportLookupFilterValuesResponse, type ReportQueryResponse, type ReportListDatasetsParams, type ReportQueryParams, type ReportLookupFilterValuesParams, type ReportDrillInParams, } from "./reports.js";
|
|
5
8
|
export { Support } from "./support/support.js";
|
|
6
|
-
export { Surveys, type Survey, type SurveyNextAction, type SurveyListResponsesResponse, type
|
|
9
|
+
export { Surveys, type Survey, type SurveyNextAction, type SurveyListResponsesResponse, type SurveyListParams, type SurveyRetrieveParams, type SurveyListResponsesParams, type SurveysCursorPage, type SurveyListResponsesResponsesCursorPage, } from "./surveys.js";
|
|
7
10
|
export { Users } from "./users/users.js";
|
|
8
|
-
export { Webhooks, type Webhook, type WebhookRequestConfigInput, type WebhookDeleteResponse, type
|
|
11
|
+
export { Webhooks, type Webhook, type WebhookRequestConfigInput, type WebhookDeleteResponse, type WebhookListParams, type WebhookCreateParams, type WebhookRetrieveParams, type WebhookUpdateParams, type WebhookDeleteParams, type WebhookRefreshSecretParams, type WebhooksCursorPage, } from "./webhooks.js";
|
|
9
12
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,GACrC,wBAAqB;AACtB,OAAO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,GAC1B,mCAAgC;AACjC,OAAO,EACL,sBAAsB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,GACzC,qCAAkC;AACnC,OAAO,EAAE,QAAQ,EAAE,+BAA4B;AAC/C,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,YAAY,EAAE,uCAAoC;AAC3D,OAAO,EACL,OAAO,EACP,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,GACzB,qBAAkB;AACnB,OAAO,EAAE,OAAO,EAAE,6BAA0B;AAC5C,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,2BAA2B,EAChC,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,sCAAsC,GAC5C,qBAAkB;AACnB,OAAO,EAAE,KAAK,EAAE,yBAAsB;AACtC,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,GACxB,sBAAmB"}
|
package/resources/index.js
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Webhooks = exports.Users = exports.Surveys = exports.Support = exports.Organization = exports.HelpCenter = exports.Feedback = exports.Changelogs = void 0;
|
|
4
|
+
exports.Webhooks = exports.Users = exports.Surveys = exports.Support = exports.Reports = exports.Organization = exports.HelpCenter = exports.Feedback = exports.ConversationAttributes = exports.Changelogs = exports.AuditLogs = void 0;
|
|
5
|
+
var audit_logs_1 = require("./audit-logs.js");
|
|
6
|
+
Object.defineProperty(exports, "AuditLogs", { enumerable: true, get: function () { return audit_logs_1.AuditLogs; } });
|
|
5
7
|
var changelogs_1 = require("./changelogs/changelogs.js");
|
|
6
8
|
Object.defineProperty(exports, "Changelogs", { enumerable: true, get: function () { return changelogs_1.Changelogs; } });
|
|
9
|
+
var conversation_attributes_1 = require("./conversation-attributes.js");
|
|
10
|
+
Object.defineProperty(exports, "ConversationAttributes", { enumerable: true, get: function () { return conversation_attributes_1.ConversationAttributes; } });
|
|
7
11
|
var feedback_1 = require("./feedback/feedback.js");
|
|
8
12
|
Object.defineProperty(exports, "Feedback", { enumerable: true, get: function () { return feedback_1.Feedback; } });
|
|
9
13
|
var help_center_1 = require("./help-center/help-center.js");
|
|
10
14
|
Object.defineProperty(exports, "HelpCenter", { enumerable: true, get: function () { return help_center_1.HelpCenter; } });
|
|
11
15
|
var organization_1 = require("./organization/organization.js");
|
|
12
16
|
Object.defineProperty(exports, "Organization", { enumerable: true, get: function () { return organization_1.Organization; } });
|
|
17
|
+
var reports_1 = require("./reports.js");
|
|
18
|
+
Object.defineProperty(exports, "Reports", { enumerable: true, get: function () { return reports_1.Reports; } });
|
|
13
19
|
var support_1 = require("./support/support.js");
|
|
14
20
|
Object.defineProperty(exports, "Support", { enumerable: true, get: function () { return support_1.Support; } });
|
|
15
21
|
var surveys_1 = require("./surveys.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,yDAaiC;AAZ/B,wGAAA,UAAU,OAAA;AAaZ,mDAA+C;AAAtC,oGAAA,QAAQ,OAAA;AACjB,4DAAuD;AAA9C,yGAAA,UAAU,OAAA;AACnB,+DAA2D;AAAlD,4GAAA,YAAY,OAAA;AACrB,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,0CAAsC;AAA7B,8FAAA,KAAK,OAAA;AACd,0CAYoB;AAXlB,oGAAA,QAAQ,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAKsB;AAJpB,uGAAA,SAAS,OAAA;AAKX,yDAaiC;AAZ/B,wGAAA,UAAU,OAAA;AAaZ,wEAOmC;AANjC,iIAAA,sBAAsB,OAAA;AAOxB,mDAA+C;AAAtC,oGAAA,QAAQ,OAAA;AACjB,4DAAuD;AAA9C,yGAAA,UAAU,OAAA;AACnB,+DAA2D;AAAlD,4GAAA,YAAY,OAAA;AACrB,wCAmBmB;AAlBjB,kGAAA,OAAO,OAAA;AAmBT,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,0CAAsC;AAA7B,8FAAA,KAAK,OAAA;AACd,0CAYoB;AAXlB,oGAAA,QAAQ,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { AuditLogs, } from "./audit-logs.mjs";
|
|
2
3
|
export { Changelogs, } from "./changelogs/changelogs.mjs";
|
|
4
|
+
export { ConversationAttributes, } from "./conversation-attributes.mjs";
|
|
3
5
|
export { Feedback } from "./feedback/feedback.mjs";
|
|
4
6
|
export { HelpCenter } from "./help-center/help-center.mjs";
|
|
5
7
|
export { Organization } from "./organization/organization.mjs";
|
|
8
|
+
export { Reports, } from "./reports.mjs";
|
|
6
9
|
export { Support } from "./support/support.mjs";
|
|
7
10
|
export { Surveys, } from "./surveys.mjs";
|
|
8
11
|
export { Users } from "./users/users.mjs";
|