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
|
@@ -17,19 +17,27 @@ export class Contacts extends APIResource {
|
|
|
17
17
|
this.emailPreferences = new EmailPreferencesAPI.EmailPreferences(this._client);
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* Returns both customers and leads.
|
|
20
|
+
* Returns a list of contacts (customers and leads) in your organization using
|
|
21
|
+
* cursor-based pagination.
|
|
23
22
|
*
|
|
24
|
-
* ###
|
|
23
|
+
* ### Query Parameters
|
|
25
24
|
*
|
|
26
|
-
* - `
|
|
25
|
+
* - `limit` - Number of contacts to return (1-100, default 10)
|
|
26
|
+
* - `cursor` - Cursor from previous response for pagination
|
|
27
|
+
* - `contactType` - Filter by contact type: "customer" (default), "lead", or "all"
|
|
27
28
|
*
|
|
28
29
|
* ### Response Format
|
|
29
30
|
*
|
|
30
|
-
* Returns a
|
|
31
|
+
* Returns a list object with:
|
|
32
|
+
*
|
|
33
|
+
* - `object` - Always "list"
|
|
34
|
+
* - `data` - Array of contact objects
|
|
35
|
+
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
36
|
+
*
|
|
37
|
+
* ### Contact Object
|
|
38
|
+
*
|
|
39
|
+
* Each contact includes:
|
|
31
40
|
*
|
|
32
|
-
* - `object` - Always "contact"
|
|
33
41
|
* - `id` - Unique contact identifier
|
|
34
42
|
* - `userId` - External user ID from SSO (if set)
|
|
35
43
|
* - `email` - Contact email address
|
|
@@ -46,11 +54,129 @@ export class Contacts extends APIResource {
|
|
|
46
54
|
*
|
|
47
55
|
* ```json
|
|
48
56
|
* {
|
|
57
|
+
* "object": "list",
|
|
58
|
+
* "data": [
|
|
59
|
+
* {
|
|
60
|
+
* "object": "contact",
|
|
61
|
+
* "id": "676f0f6765bdaa7d7d760f88",
|
|
62
|
+
* "email": "john@example.com",
|
|
63
|
+
* "name": "John Doe",
|
|
64
|
+
* "type": "customer",
|
|
65
|
+
* ...
|
|
66
|
+
* }
|
|
67
|
+
* ],
|
|
68
|
+
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
69
|
+
* }
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* ### Version Availability
|
|
73
|
+
*
|
|
74
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```ts
|
|
78
|
+
* // Automatically fetches more pages as needed.
|
|
79
|
+
* for await (const contact of client.users.contacts.list()) {
|
|
80
|
+
* // ...
|
|
81
|
+
* }
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
list(params = {}, options) {
|
|
85
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
86
|
+
return this._client.getAPIList('/v2/contacts', (CursorPage), {
|
|
87
|
+
query,
|
|
88
|
+
...options,
|
|
89
|
+
headers: buildHeaders([
|
|
90
|
+
{
|
|
91
|
+
...(featurebaseVersion?.toString() != null ?
|
|
92
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
93
|
+
: undefined),
|
|
94
|
+
},
|
|
95
|
+
options?.headers,
|
|
96
|
+
]),
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Creates a new contact or updates an existing one.
|
|
101
|
+
*
|
|
102
|
+
* If a contact with the given `email` or `userId` already exists, it will be
|
|
103
|
+
* updated. Otherwise, a new contact will be created.
|
|
104
|
+
*
|
|
105
|
+
* **At least one of `email` or `userId` must be provided for identification.**
|
|
106
|
+
*
|
|
107
|
+
* ### Request Body
|
|
108
|
+
*
|
|
109
|
+
* | Field | Type | Required | Description |
|
|
110
|
+
* | ----------------------- | ------- | ------------------- | --------------------------------------- |
|
|
111
|
+
* | `email` | string | One of email/userId | Contact email address |
|
|
112
|
+
* | `userId` | string | One of email/userId | External user ID from your system |
|
|
113
|
+
* | `name` | string | No | Contact display name |
|
|
114
|
+
* | `profilePicture` | string | No | Profile picture URL |
|
|
115
|
+
* | `companies` | array | No | Companies the contact belongs to |
|
|
116
|
+
* | `customFields` | object | No | Custom field values |
|
|
117
|
+
* | `subscribedToChangelog` | boolean | No | Whether subscribed to changelog |
|
|
118
|
+
* | `locale` | string | No | Contact locale/language |
|
|
119
|
+
* | `phone` | string | No | Contact phone number |
|
|
120
|
+
* | `roles` | array | No | Role IDs to assign |
|
|
121
|
+
* | `userHash` | string | No | HMAC hash for identity verification |
|
|
122
|
+
* | `createdAt` | string | No | When the contact was created (ISO 8601) |
|
|
123
|
+
*
|
|
124
|
+
* ### Company Object
|
|
125
|
+
*
|
|
126
|
+
* Each company in the `companies` array can have:
|
|
127
|
+
*
|
|
128
|
+
* - `id` (required) - External company ID from your system
|
|
129
|
+
* - `name` (required) - Company name
|
|
130
|
+
* - `monthlySpend` - Monthly spend/revenue
|
|
131
|
+
* - `customFields` - Custom field values
|
|
132
|
+
* - `industry` - Industry
|
|
133
|
+
* - `website` - Company website URL
|
|
134
|
+
* - `plan` - Current plan/subscription
|
|
135
|
+
* - `companySize` - Number of employees
|
|
136
|
+
* - `createdAt` - When the company was created
|
|
137
|
+
*
|
|
138
|
+
* ### Response
|
|
139
|
+
*
|
|
140
|
+
* Returns the created or updated contact object.
|
|
141
|
+
*
|
|
142
|
+
* - **201 Created** - A new contact was created
|
|
143
|
+
* - **200 OK** - An existing contact was updated
|
|
144
|
+
*
|
|
145
|
+
* ### Example Request
|
|
146
|
+
*
|
|
147
|
+
* ```json
|
|
148
|
+
* {
|
|
149
|
+
* "email": "john@example.com",
|
|
150
|
+
* "name": "John Doe",
|
|
151
|
+
* "userId": "usr_12345",
|
|
152
|
+
* "companies": [
|
|
153
|
+
* {
|
|
154
|
+
* "id": "company_123",
|
|
155
|
+
* "name": "Acme Inc",
|
|
156
|
+
* "monthlySpend": 500,
|
|
157
|
+
* "plan": "enterprise"
|
|
158
|
+
* }
|
|
159
|
+
* ],
|
|
160
|
+
* "customFields": {
|
|
161
|
+
* "plan": "pro",
|
|
162
|
+
* "signupSource": "website"
|
|
163
|
+
* },
|
|
164
|
+
* "subscribedToChangelog": true
|
|
165
|
+
* }
|
|
166
|
+
* ```
|
|
167
|
+
*
|
|
168
|
+
* ### Example Response
|
|
169
|
+
*
|
|
170
|
+
* ```json
|
|
171
|
+
* {
|
|
49
172
|
* "object": "contact",
|
|
50
173
|
* "id": "676f0f6765bdaa7d7d760f88",
|
|
51
174
|
* "email": "john@example.com",
|
|
52
175
|
* "name": "John Doe",
|
|
176
|
+
* "userId": "usr_12345",
|
|
53
177
|
* "type": "customer",
|
|
178
|
+
* "companies": [...],
|
|
179
|
+
* "customFields": {...},
|
|
54
180
|
* ...
|
|
55
181
|
* }
|
|
56
182
|
* ```
|
|
@@ -61,14 +187,14 @@ export class Contacts extends APIResource {
|
|
|
61
187
|
*
|
|
62
188
|
* @example
|
|
63
189
|
* ```ts
|
|
64
|
-
* const
|
|
65
|
-
*
|
|
66
|
-
* );
|
|
190
|
+
* const response =
|
|
191
|
+
* await client.users.contacts.createOrUpdate();
|
|
67
192
|
* ```
|
|
68
193
|
*/
|
|
69
|
-
|
|
70
|
-
const { 'Featurebase-Version': featurebaseVersion } = params
|
|
71
|
-
return this._client.
|
|
194
|
+
createOrUpdate(params, options) {
|
|
195
|
+
const { 'Featurebase-Version': featurebaseVersion, ...body } = params;
|
|
196
|
+
return this._client.post('/v2/contacts', {
|
|
197
|
+
body,
|
|
72
198
|
...options,
|
|
73
199
|
headers: buildHeaders([
|
|
74
200
|
{
|
|
@@ -81,27 +207,19 @@ export class Contacts extends APIResource {
|
|
|
81
207
|
});
|
|
82
208
|
}
|
|
83
209
|
/**
|
|
84
|
-
*
|
|
85
|
-
* cursor-based pagination.
|
|
86
|
-
*
|
|
87
|
-
* ### Query Parameters
|
|
88
|
-
*
|
|
89
|
-
* - `limit` - Number of contacts to return (1-100, default 10)
|
|
90
|
-
* - `cursor` - Cursor from previous response for pagination
|
|
91
|
-
* - `contactType` - Filter by contact type: "customer" (default), "lead", or "all"
|
|
210
|
+
* Retrieves a single contact by their Featurebase ID.
|
|
92
211
|
*
|
|
93
|
-
*
|
|
212
|
+
* Returns both customers and leads.
|
|
94
213
|
*
|
|
95
|
-
*
|
|
214
|
+
* ### Path Parameters
|
|
96
215
|
*
|
|
97
|
-
* - `
|
|
98
|
-
* - `data` - Array of contact objects
|
|
99
|
-
* - `nextCursor` - Cursor for the next page, or null if no more results
|
|
216
|
+
* - `id` - The Featurebase contact ID (24-character ObjectId)
|
|
100
217
|
*
|
|
101
|
-
* ###
|
|
218
|
+
* ### Response Format
|
|
102
219
|
*
|
|
103
|
-
*
|
|
220
|
+
* Returns a single contact object with:
|
|
104
221
|
*
|
|
222
|
+
* - `object` - Always "contact"
|
|
105
223
|
* - `id` - Unique contact identifier
|
|
106
224
|
* - `userId` - External user ID from SSO (if set)
|
|
107
225
|
* - `email` - Contact email address
|
|
@@ -118,18 +236,12 @@ export class Contacts extends APIResource {
|
|
|
118
236
|
*
|
|
119
237
|
* ```json
|
|
120
238
|
* {
|
|
121
|
-
* "object": "
|
|
122
|
-
* "
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
* "name": "John Doe",
|
|
128
|
-
* "type": "customer",
|
|
129
|
-
* ...
|
|
130
|
-
* }
|
|
131
|
-
* ],
|
|
132
|
-
* "nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
|
|
239
|
+
* "object": "contact",
|
|
240
|
+
* "id": "676f0f6765bdaa7d7d760f88",
|
|
241
|
+
* "email": "john@example.com",
|
|
242
|
+
* "name": "John Doe",
|
|
243
|
+
* "type": "customer",
|
|
244
|
+
* ...
|
|
133
245
|
* }
|
|
134
246
|
* ```
|
|
135
247
|
*
|
|
@@ -139,16 +251,14 @@ export class Contacts extends APIResource {
|
|
|
139
251
|
*
|
|
140
252
|
* @example
|
|
141
253
|
* ```ts
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
* }
|
|
254
|
+
* const contact = await client.users.contacts.retrieve(
|
|
255
|
+
* '507f1f77bcf86cd799439011',
|
|
256
|
+
* );
|
|
146
257
|
* ```
|
|
147
258
|
*/
|
|
148
|
-
|
|
149
|
-
const { 'Featurebase-Version': featurebaseVersion
|
|
150
|
-
return this._client.
|
|
151
|
-
query,
|
|
259
|
+
retrieve(id, params = {}, options) {
|
|
260
|
+
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
261
|
+
return this._client.get(path `/v2/contacts/${id}`, {
|
|
152
262
|
...options,
|
|
153
263
|
headers: buildHeaders([
|
|
154
264
|
{
|
|
@@ -222,7 +332,7 @@ export class Contacts extends APIResource {
|
|
|
222
332
|
});
|
|
223
333
|
}
|
|
224
334
|
/**
|
|
225
|
-
* Blocks a contact by their Featurebase ID
|
|
335
|
+
* Blocks a contact by their Featurebase ID using the global moderation system.
|
|
226
336
|
*
|
|
227
337
|
* ### Path Parameters
|
|
228
338
|
*
|
|
@@ -240,6 +350,8 @@ export class Contacts extends APIResource {
|
|
|
240
350
|
* When a contact is blocked:
|
|
241
351
|
*
|
|
242
352
|
* - The contact cannot send new messages via messenger
|
|
353
|
+
* - The contact cannot interact with feedback/changelog surfaces for this
|
|
354
|
+
* organization
|
|
243
355
|
* - Existing conversations are not deleted but no new messages can be added by the
|
|
244
356
|
* blocked user
|
|
245
357
|
* - The block can be removed by unblocking the contact
|
|
@@ -288,87 +400,42 @@ export class Contacts extends APIResource {
|
|
|
288
400
|
});
|
|
289
401
|
}
|
|
290
402
|
/**
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
* If a contact with the given `email` or `userId` already exists, it will be
|
|
294
|
-
* updated. Otherwise, a new contact will be created.
|
|
403
|
+
* Unblocks a contact by their Featurebase ID from the global moderation system.
|
|
295
404
|
*
|
|
296
|
-
*
|
|
405
|
+
* ### Path Parameters
|
|
297
406
|
*
|
|
298
|
-
*
|
|
407
|
+
* - `id` - The Featurebase internal ID of the contact (MongoDB ObjectId)
|
|
299
408
|
*
|
|
300
|
-
*
|
|
301
|
-
* | ----------------------- | ------- | ------------------- | --------------------------------------- |
|
|
302
|
-
* | `email` | string | One of email/userId | Contact email address |
|
|
303
|
-
* | `userId` | string | One of email/userId | External user ID from your system |
|
|
304
|
-
* | `name` | string | No | Contact display name |
|
|
305
|
-
* | `profilePicture` | string | No | Profile picture URL |
|
|
306
|
-
* | `companies` | array | No | Companies the contact belongs to |
|
|
307
|
-
* | `customFields` | object | No | Custom field values |
|
|
308
|
-
* | `subscribedToChangelog` | boolean | No | Whether subscribed to changelog |
|
|
309
|
-
* | `locale` | string | No | Contact locale/language |
|
|
310
|
-
* | `phone` | string | No | Contact phone number |
|
|
311
|
-
* | `roles` | array | No | Role IDs to assign |
|
|
312
|
-
* | `userHash` | string | No | HMAC hash for identity verification |
|
|
313
|
-
* | `createdAt` | string | No | When the contact was created (ISO 8601) |
|
|
409
|
+
* ### Supported Contact Types
|
|
314
410
|
*
|
|
315
|
-
*
|
|
411
|
+
* This endpoint unblocks both:
|
|
316
412
|
*
|
|
317
|
-
*
|
|
413
|
+
* - **Customers** - Users with registered accounts
|
|
414
|
+
* - **Leads** - Anonymous or unregistered visitors
|
|
318
415
|
*
|
|
319
|
-
*
|
|
320
|
-
* - `name` (required) - Company name
|
|
321
|
-
* - `monthlySpend` - Monthly spend/revenue
|
|
322
|
-
* - `customFields` - Custom field values
|
|
323
|
-
* - `industry` - Industry
|
|
324
|
-
* - `website` - Company website URL
|
|
325
|
-
* - `plan` - Current plan/subscription
|
|
326
|
-
* - `companySize` - Number of employees
|
|
327
|
-
* - `createdAt` - When the company was created
|
|
416
|
+
* ### Unblocking Behavior
|
|
328
417
|
*
|
|
329
|
-
*
|
|
418
|
+
* When a contact is unblocked:
|
|
330
419
|
*
|
|
331
|
-
*
|
|
420
|
+
* - The contact can resume sending messages via messenger
|
|
421
|
+
* - Previously blocked conversations remain intact
|
|
422
|
+
* - The contact regains full messenger functionality
|
|
332
423
|
*
|
|
333
|
-
*
|
|
334
|
-
* - **200 OK** - An existing contact was updated
|
|
424
|
+
* ### Response
|
|
335
425
|
*
|
|
336
|
-
*
|
|
426
|
+
* Returns an unblock confirmation object:
|
|
337
427
|
*
|
|
338
|
-
*
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
* "name": "John Doe",
|
|
342
|
-
* "userId": "usr_12345",
|
|
343
|
-
* "companies": [
|
|
344
|
-
* {
|
|
345
|
-
* "id": "company_123",
|
|
346
|
-
* "name": "Acme Inc",
|
|
347
|
-
* "monthlySpend": 500,
|
|
348
|
-
* "plan": "enterprise"
|
|
349
|
-
* }
|
|
350
|
-
* ],
|
|
351
|
-
* "customFields": {
|
|
352
|
-
* "plan": "pro",
|
|
353
|
-
* "signupSource": "website"
|
|
354
|
-
* },
|
|
355
|
-
* "subscribedToChangelog": true
|
|
356
|
-
* }
|
|
357
|
-
* ```
|
|
428
|
+
* - `id` - The ID of the unblocked contact
|
|
429
|
+
* - `object` - Always "contact"
|
|
430
|
+
* - `unblocked` - Always `true`
|
|
358
431
|
*
|
|
359
432
|
* ### Example Response
|
|
360
433
|
*
|
|
361
434
|
* ```json
|
|
362
435
|
* {
|
|
436
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
363
437
|
* "object": "contact",
|
|
364
|
-
* "
|
|
365
|
-
* "email": "john@example.com",
|
|
366
|
-
* "name": "John Doe",
|
|
367
|
-
* "userId": "usr_12345",
|
|
368
|
-
* "type": "customer",
|
|
369
|
-
* "companies": [...],
|
|
370
|
-
* "customFields": {...},
|
|
371
|
-
* ...
|
|
438
|
+
* "unblocked": true
|
|
372
439
|
* }
|
|
373
440
|
* ```
|
|
374
441
|
*
|
|
@@ -378,14 +445,14 @@ export class Contacts extends APIResource {
|
|
|
378
445
|
*
|
|
379
446
|
* @example
|
|
380
447
|
* ```ts
|
|
381
|
-
* const response =
|
|
382
|
-
*
|
|
448
|
+
* const response = await client.users.contacts.unblock(
|
|
449
|
+
* '507f1f77bcf86cd799439011',
|
|
450
|
+
* );
|
|
383
451
|
* ```
|
|
384
452
|
*/
|
|
385
|
-
|
|
386
|
-
const { 'Featurebase-Version': featurebaseVersion
|
|
387
|
-
return this._client.post(
|
|
388
|
-
body,
|
|
453
|
+
unblock(id, params = {}, options) {
|
|
454
|
+
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
455
|
+
return this._client.post(path `/v2/contacts/${id}/unblock`, {
|
|
389
456
|
...options,
|
|
390
457
|
headers: buildHeaders([
|
|
391
458
|
{
|
|
@@ -506,71 +573,6 @@ export class Contacts extends APIResource {
|
|
|
506
573
|
]),
|
|
507
574
|
});
|
|
508
575
|
}
|
|
509
|
-
/**
|
|
510
|
-
* Unblocks a contact by their Featurebase ID from the messenger/inbox.
|
|
511
|
-
*
|
|
512
|
-
* ### Path Parameters
|
|
513
|
-
*
|
|
514
|
-
* - `id` - The Featurebase internal ID of the contact (MongoDB ObjectId)
|
|
515
|
-
*
|
|
516
|
-
* ### Supported Contact Types
|
|
517
|
-
*
|
|
518
|
-
* This endpoint unblocks both:
|
|
519
|
-
*
|
|
520
|
-
* - **Customers** - Users with registered accounts
|
|
521
|
-
* - **Leads** - Anonymous or unregistered visitors
|
|
522
|
-
*
|
|
523
|
-
* ### Unblocking Behavior
|
|
524
|
-
*
|
|
525
|
-
* When a contact is unblocked:
|
|
526
|
-
*
|
|
527
|
-
* - The contact can resume sending messages via messenger
|
|
528
|
-
* - Previously blocked conversations remain intact
|
|
529
|
-
* - The contact regains full messenger functionality
|
|
530
|
-
*
|
|
531
|
-
* ### Response
|
|
532
|
-
*
|
|
533
|
-
* Returns an unblock confirmation object:
|
|
534
|
-
*
|
|
535
|
-
* - `id` - The ID of the unblocked contact
|
|
536
|
-
* - `object` - Always "contact"
|
|
537
|
-
* - `unblocked` - Always `true`
|
|
538
|
-
*
|
|
539
|
-
* ### Example Response
|
|
540
|
-
*
|
|
541
|
-
* ```json
|
|
542
|
-
* {
|
|
543
|
-
* "id": "507f1f77bcf86cd799439011",
|
|
544
|
-
* "object": "contact",
|
|
545
|
-
* "unblocked": true
|
|
546
|
-
* }
|
|
547
|
-
* ```
|
|
548
|
-
*
|
|
549
|
-
* ### Version Availability
|
|
550
|
-
*
|
|
551
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
552
|
-
*
|
|
553
|
-
* @example
|
|
554
|
-
* ```ts
|
|
555
|
-
* const response = await client.users.contacts.unblock(
|
|
556
|
-
* '507f1f77bcf86cd799439011',
|
|
557
|
-
* );
|
|
558
|
-
* ```
|
|
559
|
-
*/
|
|
560
|
-
unblock(id, params = {}, options) {
|
|
561
|
-
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
562
|
-
return this._client.post(path `/v2/contacts/${id}/unblock`, {
|
|
563
|
-
...options,
|
|
564
|
-
headers: buildHeaders([
|
|
565
|
-
{
|
|
566
|
-
...(featurebaseVersion?.toString() != null ?
|
|
567
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
568
|
-
: undefined),
|
|
569
|
-
},
|
|
570
|
-
options?.headers,
|
|
571
|
-
]),
|
|
572
|
-
});
|
|
573
|
-
}
|
|
574
576
|
}
|
|
575
577
|
Contacts.ByUserID = ByUserID;
|
|
576
578
|
Contacts.EmailPreferences = EmailPreferences;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contacts.mjs","sourceRoot":"","sources":["../../../src/resources/users/contacts/contacts.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"contacts.mjs","sourceRoot":"","sources":["../../../src/resources/users/contacts/contacts.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAIrD,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,EAGL,gBAAgB,GAIjB,gCAA4B;AAC7B,OAAO,KAAK,WAAW,oCAAgC;AACvD,OAAO,EACL,QAAQ,GAIT,oCAAgC;AAEjC,OAAO,EAAE,UAAU,EAAsC,qCAAiC;AAC1F,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;IA2kBJ,CAAC;IAzkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgEG;IACH,IAAI,CACF,SAA+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IAAI,CAAC,qBAAqB,EAAE;YAC9C,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;CACF;AAojBD,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC7B,QAAQ,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-preferences.d.mts","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"email-preferences.d.mts","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;IAehC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;O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AY,GAAG,cAAc,CAAC;QAE/C;;WAEG;QACH,YAAY,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE7C;;WAEG;QACH,WAAW,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KAC7C;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,WAAW,EAAE,2BAA2B,CAAC,WAAW,CAAC;IAErD;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,yBAAiB,2BAA2B,CAAC;IAC3C,UAAiB,WAAW;QAC1B;;;WAGG;QACH,GAAG,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAEpC;;WAEG;QACH,SAAS,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE1C;;WAEG;QACH,cAAc,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE/C;;WAEG;QACH,YAAY,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE7C;;WAEG;QACH,WAAW,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KAC7C;CACF;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-preferences.d.ts","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"email-preferences.d.ts","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[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cAAc,CAAC;QAE/C;;WAEG;QACH,YAAY,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;QAE7C;;WAEG;QACH,WAAW,CAAC,EAAE,YAAY,GAAG,cAAc,CAAC;KAC7C;CACF;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-preferences.mjs","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"email-preferences.mjs","sourceRoot":"","sources":["../../../src/resources/users/contacts/email-preferences.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,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqEG;IACH,QAAQ,CACN,EAAU,EACV,SAA2D,EAAE,EAC7D,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,EAAE,oBAAoB,EAAE;YAClE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiHG;IACH,MAAM,CACJ,EAAU,EACV,MAAmC,EACnC,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,gBAAgB,EAAE,oBAAoB,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;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { ByUserID, type ByUserIDRetrieveResponse, type ByUserIDRetrieveParams, type ByUserIDDeleteParams, } from "./by-user-id/index.mjs";
|
|
2
|
-
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type
|
|
2
|
+
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type ContactListParams, type ContactCreateOrUpdateParams, type ContactRetrieveParams, type ContactDeleteParams, type ContactBlockParams, type ContactUnblockParams, type ContactSearchParams, type ContactListDataCursorPage, } from "./contacts.mjs";
|
|
3
3
|
export { EmailPreferences, type PreferenceState, type PreferencesOutput, type UpdatePreferenceBody, type EmailPreferenceRetrieveParams, type EmailPreferenceUpdateParams, } from "./email-preferences.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,+BAA2B;AAC5B,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,uBAAmB;AACpB,OAAO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC,gCAA4B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { ByUserID, type ByUserIDRetrieveResponse, type ByUserIDRetrieveParams, type ByUserIDDeleteParams, } from "./by-user-id/index.js";
|
|
2
|
-
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type
|
|
2
|
+
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type ContactListParams, type ContactCreateOrUpdateParams, type ContactRetrieveParams, type ContactDeleteParams, type ContactBlockParams, type ContactUnblockParams, type ContactSearchParams, type ContactListDataCursorPage, } from "./contacts.js";
|
|
3
3
|
export { EmailPreferences, type PreferenceState, type PreferencesOutput, type UpdatePreferenceBody, type EmailPreferenceRetrieveParams, type EmailPreferenceUpdateParams, } from "./email-preferences.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,8BAA2B;AAC5B,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,sBAAmB;AACpB,OAAO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,GACjC,+BAA4B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/users/contacts/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,QAAQ,GAIT,+BAA2B;AAC5B,OAAO,EACL,QAAQ,GAiBT,uBAAmB;AACpB,OAAO,EACL,gBAAgB,GAMjB,gCAA4B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contacts.d.mts","sourceRoot":"","sources":["../../src/resources/users/contacts.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"contacts.d.mts","sourceRoot":"","sources":["../../src/resources/users/contacts.ts"],"names":[],"mappings":"AAEA,qCAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../src/resources/users/contacts.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../src/resources/users/contacts.ts"],"names":[],"mappings":"AAEA,oCAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contacts.mjs","sourceRoot":"","sources":["../../src/resources/users/contacts.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
1
|
+
{"version":3,"file":"contacts.mjs","sourceRoot":"","sources":["../../src/resources/users/contacts.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,qCAAiC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Companies, type Company, type DeletedCompany, type CompanySearchResponse, type
|
|
2
|
-
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type
|
|
1
|
+
export { Companies, type Company, type DeletedCompany, type CompanySearchResponse, type CompanyListParams, type CompanyCreateOrUpdateParams, type CompanyRetrieveParams, type CompanyDeleteParams, type CompanyDeleteByCompanyIDParams, type CompanySearchParams, type CompaniesCursorPage, } from "./companies/index.mjs";
|
|
2
|
+
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type ContactListParams, type ContactCreateOrUpdateParams, type ContactRetrieveParams, type ContactDeleteParams, type ContactBlockParams, type ContactUnblockParams, type ContactSearchParams, type ContactListDataCursorPage, } from "./contacts/index.mjs";
|
|
3
3
|
export { Users } from "./users.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,8BAA0B;AAC3B,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,6BAAyB;AAC1B,OAAO,EAAE,KAAK,EAAE,oBAAgB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Companies, type Company, type DeletedCompany, type CompanySearchResponse, type
|
|
2
|
-
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type
|
|
1
|
+
export { Companies, type Company, type DeletedCompany, type CompanySearchResponse, type CompanyListParams, type CompanyCreateOrUpdateParams, type CompanyRetrieveParams, type CompanyDeleteParams, type CompanyDeleteByCompanyIDParams, type CompanySearchParams, type CompaniesCursorPage, } from "./companies/index.js";
|
|
2
|
+
export { Contacts, type Contact, type ContactList, type DeletedContact, type ContactRetrieveResponse, type ContactBlockResponse, type ContactCreateOrUpdateResponse, type ContactSearchResponse, type ContactUnblockResponse, type ContactListParams, type ContactCreateOrUpdateParams, type ContactRetrieveParams, type ContactDeleteParams, type ContactBlockParams, type ContactUnblockParams, type ContactSearchParams, type ContactListDataCursorPage, } from "./contacts/index.js";
|
|
3
3
|
export { Users } from "./users.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,6BAA0B;AAC3B,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,4BAAyB;AAC1B,OAAO,EAAE,KAAK,EAAE,mBAAgB"}
|