featurebase-node 0.1.0 → 0.3.0
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 +17 -0
- package/README.md +8 -8
- package/client.d.mts +14 -80
- package/client.d.mts.map +1 -1
- package/client.d.ts +14 -80
- package/client.d.ts.map +1 -1
- package/client.js +14 -80
- package/client.js.map +1 -1
- package/client.mjs +14 -80
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/{boards.d.mts → feedback/boards.d.mts} +15 -3
- package/resources/feedback/boards.d.mts.map +1 -0
- package/resources/{boards.d.ts → feedback/boards.d.ts} +15 -3
- package/resources/feedback/boards.d.ts.map +1 -0
- package/resources/{boards.js → feedback/boards.js} +15 -3
- package/resources/feedback/boards.js.map +1 -0
- package/resources/{boards.mjs → feedback/boards.mjs} +15 -3
- package/resources/feedback/boards.mjs.map +1 -0
- package/resources/{comments.d.mts → feedback/comments.d.mts} +10 -10
- package/resources/feedback/comments.d.mts.map +1 -0
- package/resources/{comments.d.ts → feedback/comments.d.ts} +10 -10
- package/resources/feedback/comments.d.ts.map +1 -0
- package/resources/{comments.js → feedback/comments.js} +9 -9
- package/resources/feedback/comments.js.map +1 -0
- package/resources/{comments.mjs → feedback/comments.mjs} +9 -9
- package/resources/feedback/comments.mjs.map +1 -0
- package/resources/{custom-fields.d.mts → feedback/custom-fields.d.mts} +17 -3
- package/resources/feedback/custom-fields.d.mts.map +1 -0
- package/resources/{custom-fields.d.ts → feedback/custom-fields.d.ts} +17 -3
- package/resources/feedback/custom-fields.d.ts.map +1 -0
- package/resources/{custom-fields.js → feedback/custom-fields.js} +17 -3
- package/resources/feedback/custom-fields.js.map +1 -0
- package/resources/{custom-fields.mjs → feedback/custom-fields.mjs} +17 -3
- package/resources/feedback/custom-fields.mjs.map +1 -0
- package/resources/feedback/feedback.d.mts +26 -0
- package/resources/feedback/feedback.d.mts.map +1 -0
- package/resources/feedback/feedback.d.ts +26 -0
- package/resources/feedback/feedback.d.ts.map +1 -0
- package/resources/feedback/feedback.js +33 -0
- package/resources/feedback/feedback.js.map +1 -0
- package/resources/feedback/feedback.mjs +28 -0
- package/resources/feedback/feedback.mjs.map +1 -0
- package/resources/feedback/index.d.mts +7 -0
- package/resources/feedback/index.d.mts.map +1 -0
- package/resources/feedback/index.d.ts +7 -0
- package/resources/feedback/index.d.ts.map +1 -0
- package/resources/feedback/index.js +17 -0
- package/resources/feedback/index.js.map +1 -0
- package/resources/feedback/index.mjs +8 -0
- package/resources/feedback/index.mjs.map +1 -0
- package/resources/{post-statuses.d.mts → feedback/post-statuses.d.mts} +17 -3
- package/resources/feedback/post-statuses.d.mts.map +1 -0
- package/resources/{post-statuses.d.ts → feedback/post-statuses.d.ts} +17 -3
- package/resources/feedback/post-statuses.d.ts.map +1 -0
- package/resources/{post-statuses.js → feedback/post-statuses.js} +17 -3
- package/resources/feedback/post-statuses.js.map +1 -0
- package/resources/{post-statuses.mjs → feedback/post-statuses.mjs} +17 -3
- package/resources/feedback/post-statuses.mjs.map +1 -0
- package/resources/feedback/posts/index.d.mts.map +1 -0
- package/resources/feedback/posts/index.d.ts.map +1 -0
- package/resources/feedback/posts/index.js.map +1 -0
- package/resources/feedback/posts/index.mjs.map +1 -0
- package/resources/{posts → feedback/posts}/posts.d.mts +9 -9
- package/resources/feedback/posts/posts.d.mts.map +1 -0
- package/resources/{posts → feedback/posts}/posts.d.ts +9 -9
- package/resources/feedback/posts/posts.d.ts.map +1 -0
- package/resources/{posts → feedback/posts}/posts.js +9 -9
- package/resources/feedback/posts/posts.js.map +1 -0
- package/resources/{posts → feedback/posts}/posts.mjs +8 -8
- package/resources/feedback/posts/posts.mjs.map +1 -0
- package/resources/{posts → feedback/posts}/voters.d.mts +7 -7
- package/resources/feedback/posts/voters.d.mts.map +1 -0
- package/resources/{posts → feedback/posts}/voters.d.ts +7 -7
- package/resources/feedback/posts/voters.d.ts.map +1 -0
- package/resources/{posts → feedback/posts}/voters.js +6 -6
- package/resources/feedback/posts/voters.js.map +1 -0
- package/resources/{posts → feedback/posts}/voters.mjs +6 -6
- package/resources/feedback/posts/voters.mjs.map +1 -0
- package/resources/{posts.d.mts.map → feedback/posts.d.mts.map} +1 -1
- package/resources/{posts.d.ts.map → feedback/posts.d.ts.map} +1 -1
- package/resources/{posts.js → feedback/posts.js} +1 -1
- package/resources/feedback/posts.js.map +1 -0
- package/resources/feedback/posts.mjs.map +1 -0
- package/resources/feedback.d.mts +2 -0
- package/resources/feedback.d.mts.map +1 -0
- package/resources/feedback.d.ts +2 -0
- package/resources/feedback.d.ts.map +1 -0
- package/resources/feedback.js +6 -0
- package/resources/feedback.js.map +1 -0
- package/resources/feedback.mjs +3 -0
- package/resources/feedback.mjs.map +1 -0
- package/resources/index.d.mts +4 -13
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -13
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -27
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -13
- package/resources/index.mjs.map +1 -1
- package/resources/{admins.d.mts → organization/admins.d.mts} +3 -3
- package/resources/organization/admins.d.mts.map +1 -0
- package/resources/{admins.d.ts → organization/admins.d.ts} +3 -3
- package/resources/organization/admins.d.ts.map +1 -0
- package/resources/{admins.js → organization/admins.js} +3 -3
- package/resources/organization/admins.js.map +1 -0
- package/resources/{admins.mjs → organization/admins.mjs} +3 -3
- package/resources/organization/admins.mjs.map +1 -0
- package/resources/{brands.d.mts → organization/brands.d.mts} +3 -3
- package/resources/organization/brands.d.mts.map +1 -0
- package/resources/{brands.d.ts → organization/brands.d.ts} +3 -3
- package/resources/organization/brands.d.ts.map +1 -0
- package/resources/{brands.js → organization/brands.js} +3 -3
- package/resources/organization/brands.js.map +1 -0
- package/resources/{brands.mjs → organization/brands.mjs} +3 -3
- package/resources/organization/brands.mjs.map +1 -0
- package/resources/organization/index.d.mts +5 -0
- package/resources/organization/index.d.mts.map +1 -0
- package/resources/organization/index.d.ts +5 -0
- package/resources/organization/index.d.ts.map +1 -0
- package/resources/organization/index.js +13 -0
- package/resources/organization/index.js.map +1 -0
- package/resources/organization/index.mjs +6 -0
- package/resources/organization/index.mjs.map +1 -0
- package/resources/organization/organization.d.mts +18 -0
- package/resources/organization/organization.d.mts.map +1 -0
- package/resources/organization/organization.d.ts +18 -0
- package/resources/organization/organization.d.ts.map +1 -0
- package/resources/organization/organization.js +25 -0
- package/resources/organization/organization.js.map +1 -0
- package/resources/organization/organization.mjs +20 -0
- package/resources/organization/organization.mjs.map +1 -0
- package/resources/{teams.d.mts → organization/teams.d.mts} +3 -3
- package/resources/organization/teams.d.mts.map +1 -0
- package/resources/{teams.d.ts → organization/teams.d.ts} +3 -3
- package/resources/organization/teams.d.ts.map +1 -0
- package/resources/{teams.js → organization/teams.js} +3 -3
- package/resources/organization/teams.js.map +1 -0
- package/resources/{teams.mjs → organization/teams.mjs} +3 -3
- package/resources/organization/teams.mjs.map +1 -0
- package/resources/organization.d.mts +2 -0
- package/resources/organization.d.mts.map +1 -0
- package/resources/organization.d.ts +2 -0
- package/resources/organization.d.ts.map +1 -0
- package/resources/organization.js +6 -0
- package/resources/organization.js.map +1 -0
- package/resources/organization.mjs +3 -0
- package/resources/organization.mjs.map +1 -0
- package/resources/{tags.d.ts → support/conversation-tags.d.mts} +31 -27
- package/resources/support/conversation-tags.d.mts.map +1 -0
- package/resources/{tags.d.mts → support/conversation-tags.d.ts} +31 -27
- package/resources/support/conversation-tags.d.ts.map +1 -0
- package/resources/{tags.js → support/conversation-tags.js} +21 -17
- package/resources/support/conversation-tags.js.map +1 -0
- package/resources/{tags.mjs → support/conversation-tags.mjs} +19 -15
- package/resources/support/conversation-tags.mjs.map +1 -0
- package/resources/{conversations → support/conversations}/conversations.d.mts +37 -36
- package/resources/support/conversations/conversations.d.mts.map +1 -0
- package/resources/{conversations → support/conversations}/conversations.d.ts +37 -36
- package/resources/support/conversations/conversations.d.ts.map +1 -0
- package/resources/{conversations → support/conversations}/conversations.js +32 -31
- package/resources/support/conversations/conversations.js.map +1 -0
- package/resources/{conversations → support/conversations}/conversations.mjs +31 -30
- package/resources/support/conversations/conversations.mjs.map +1 -0
- package/resources/support/conversations/index.d.mts.map +1 -0
- package/resources/support/conversations/index.d.ts.map +1 -0
- package/resources/support/conversations/index.js.map +1 -0
- package/resources/support/conversations/index.mjs.map +1 -0
- package/resources/{conversations → support/conversations}/participants.d.mts +11 -9
- package/resources/support/conversations/participants.d.mts.map +1 -0
- package/resources/{conversations → support/conversations}/participants.d.ts +11 -9
- package/resources/support/conversations/participants.d.ts.map +1 -0
- package/resources/{conversations → support/conversations}/participants.js +11 -9
- package/resources/support/conversations/participants.js.map +1 -0
- package/resources/{conversations → support/conversations}/participants.mjs +11 -9
- package/resources/support/conversations/participants.mjs.map +1 -0
- package/resources/{conversations → support/conversations}/tags.d.mts +5 -5
- package/resources/support/conversations/tags.d.mts.map +1 -0
- package/resources/{conversations → support/conversations}/tags.d.ts +5 -5
- package/resources/support/conversations/tags.d.ts.map +1 -0
- package/resources/{conversations → support/conversations}/tags.js +5 -5
- package/resources/support/conversations/tags.js.map +1 -0
- package/resources/{conversations → support/conversations}/tags.mjs +5 -5
- package/resources/support/conversations/tags.mjs.map +1 -0
- package/resources/support/conversations.d.mts.map +1 -0
- package/resources/support/conversations.d.ts.map +1 -0
- package/resources/{conversations.js → support/conversations.js} +1 -1
- package/resources/support/conversations.js.map +1 -0
- package/resources/support/conversations.mjs.map +1 -0
- package/resources/support/index.d.mts +5 -0
- package/resources/support/index.d.mts.map +1 -0
- package/resources/support/index.d.ts +5 -0
- package/resources/support/index.d.ts.map +1 -0
- package/resources/support/index.js +13 -0
- package/resources/support/index.js.map +1 -0
- package/resources/support/index.mjs +6 -0
- package/resources/support/index.mjs.map +1 -0
- package/resources/support/support.d.mts +18 -0
- package/resources/support/support.d.mts.map +1 -0
- package/resources/support/support.d.ts +18 -0
- package/resources/support/support.d.ts.map +1 -0
- package/resources/support/support.js +25 -0
- package/resources/support/support.js.map +1 -0
- package/resources/support/support.mjs +20 -0
- package/resources/support/support.mjs.map +1 -0
- package/resources/{tickets → support/tickets}/categories.d.mts +10 -8
- package/resources/support/tickets/categories.d.mts.map +1 -0
- package/resources/{tickets → support/tickets}/categories.d.ts +10 -8
- package/resources/support/tickets/categories.d.ts.map +1 -0
- package/resources/{tickets → support/tickets}/categories.js +9 -7
- package/resources/support/tickets/categories.js.map +1 -0
- package/resources/{tickets → support/tickets}/categories.mjs +9 -7
- package/resources/support/tickets/categories.mjs.map +1 -0
- package/resources/{tickets → support/tickets}/custom-fields.d.mts +6 -6
- package/resources/support/tickets/custom-fields.d.mts.map +1 -0
- package/resources/{tickets → support/tickets}/custom-fields.d.ts +6 -6
- package/resources/support/tickets/custom-fields.d.ts.map +1 -0
- package/resources/{tickets → support/tickets}/custom-fields.js +5 -5
- package/resources/support/tickets/custom-fields.js.map +1 -0
- package/resources/{tickets → support/tickets}/custom-fields.mjs +5 -5
- package/resources/support/tickets/custom-fields.mjs.map +1 -0
- package/resources/support/tickets/index.d.mts.map +1 -0
- package/resources/support/tickets/index.d.ts.map +1 -0
- package/resources/support/tickets/index.js.map +1 -0
- package/resources/support/tickets/index.mjs.map +1 -0
- package/resources/{tickets → support/tickets}/statuses.d.mts +10 -8
- package/resources/support/tickets/statuses.d.mts.map +1 -0
- package/resources/{tickets → support/tickets}/statuses.d.ts +10 -8
- package/resources/support/tickets/statuses.d.ts.map +1 -0
- package/resources/{tickets → support/tickets}/statuses.js +9 -7
- package/resources/support/tickets/statuses.js.map +1 -0
- package/resources/{tickets → support/tickets}/statuses.mjs +9 -7
- package/resources/support/tickets/statuses.mjs.map +1 -0
- package/resources/{tickets → support/tickets}/tickets.d.mts +12 -11
- package/resources/support/tickets/tickets.d.mts.map +1 -0
- package/resources/{tickets → support/tickets}/tickets.d.ts +12 -11
- package/resources/support/tickets/tickets.d.ts.map +1 -0
- package/resources/{tickets → support/tickets}/tickets.js +10 -10
- package/resources/support/tickets/tickets.js.map +1 -0
- package/resources/{tickets → support/tickets}/tickets.mjs +9 -9
- package/resources/support/tickets/tickets.mjs.map +1 -0
- package/resources/support/tickets.d.mts.map +1 -0
- package/resources/support/tickets.d.ts.map +1 -0
- package/resources/{tickets.js → support/tickets.js} +1 -1
- package/resources/support/tickets.js.map +1 -0
- package/resources/support/tickets.mjs.map +1 -0
- package/resources/support.d.mts +2 -0
- package/resources/support.d.mts.map +1 -0
- package/resources/support.d.ts +2 -0
- package/resources/support.d.ts.map +1 -0
- package/resources/support.js +6 -0
- package/resources/support.js.map +1 -0
- package/resources/support.mjs +3 -0
- package/resources/support.mjs.map +1 -0
- package/resources/surveys.d.mts +1 -1
- package/resources/surveys.d.ts +1 -1
- package/resources/{companies → users/companies}/companies.d.mts +12 -11
- package/resources/users/companies/companies.d.mts.map +1 -0
- package/resources/{companies → users/companies}/companies.d.ts +12 -11
- package/resources/users/companies/companies.d.ts.map +1 -0
- package/resources/{companies → users/companies}/companies.js +13 -12
- package/resources/users/companies/companies.js.map +1 -0
- package/resources/{companies → users/companies}/companies.mjs +12 -11
- package/resources/users/companies/companies.mjs.map +1 -0
- package/resources/{companies → users/companies}/contacts.d.mts +21 -18
- package/resources/users/companies/contacts.d.mts.map +1 -0
- package/resources/{companies → users/companies}/contacts.d.ts +21 -18
- package/resources/users/companies/contacts.d.ts.map +1 -0
- package/resources/{companies → users/companies}/contacts.js +17 -14
- package/resources/users/companies/contacts.js.map +1 -0
- package/resources/{companies → users/companies}/contacts.mjs +17 -14
- package/resources/users/companies/contacts.mjs.map +1 -0
- package/resources/users/companies/index.d.mts.map +1 -0
- package/resources/users/companies/index.d.ts.map +1 -0
- package/resources/users/companies/index.js.map +1 -0
- package/resources/users/companies/index.mjs.map +1 -0
- package/resources/users/companies.d.mts.map +1 -0
- package/resources/users/companies.d.ts.map +1 -0
- package/resources/{companies.js → users/companies.js} +1 -1
- package/resources/users/companies.js.map +1 -0
- package/resources/users/companies.mjs.map +1 -0
- package/resources/{contacts → users/contacts}/by-user-id/by-user-id.d.mts +8 -7
- package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -0
- package/resources/{contacts → users/contacts}/by-user-id/by-user-id.d.ts +8 -7
- package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -0
- package/resources/{contacts → users/contacts}/by-user-id/by-user-id.js +9 -8
- package/resources/users/contacts/by-user-id/by-user-id.js.map +1 -0
- package/resources/{contacts → users/contacts}/by-user-id/by-user-id.mjs +8 -7
- package/resources/users/contacts/by-user-id/by-user-id.mjs.map +1 -0
- package/resources/{contacts → users/contacts}/by-user-id/email-preferences.d.mts +5 -5
- package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -0
- package/resources/{contacts → users/contacts}/by-user-id/email-preferences.d.ts +5 -5
- package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -0
- package/resources/{contacts → users/contacts}/by-user-id/email-preferences.js +5 -5
- package/resources/users/contacts/by-user-id/email-preferences.js.map +1 -0
- package/resources/{contacts → users/contacts}/by-user-id/email-preferences.mjs +5 -5
- package/resources/users/contacts/by-user-id/email-preferences.mjs.map +1 -0
- package/resources/users/contacts/by-user-id/index.d.mts.map +1 -0
- package/resources/users/contacts/by-user-id/index.d.ts.map +1 -0
- package/resources/users/contacts/by-user-id/index.js.map +1 -0
- package/resources/users/contacts/by-user-id/index.mjs.map +1 -0
- package/resources/users/contacts/by-user-id.d.mts.map +1 -0
- package/resources/users/contacts/by-user-id.d.ts.map +1 -0
- package/resources/{contacts → users/contacts}/by-user-id.js +1 -1
- package/resources/users/contacts/by-user-id.js.map +1 -0
- package/resources/users/contacts/by-user-id.mjs.map +1 -0
- package/resources/{contacts → users/contacts}/contacts.d.mts +10 -9
- package/resources/users/contacts/contacts.d.mts.map +1 -0
- package/resources/{contacts → users/contacts}/contacts.d.ts +10 -9
- package/resources/users/contacts/contacts.d.ts.map +1 -0
- package/resources/{contacts → users/contacts}/contacts.js +11 -10
- package/resources/users/contacts/contacts.js.map +1 -0
- package/resources/{contacts → users/contacts}/contacts.mjs +10 -9
- package/resources/users/contacts/contacts.mjs.map +1 -0
- package/resources/{contacts → users/contacts}/email-preferences.d.mts +5 -5
- package/resources/users/contacts/email-preferences.d.mts.map +1 -0
- package/resources/{contacts → users/contacts}/email-preferences.d.ts +5 -5
- package/resources/users/contacts/email-preferences.d.ts.map +1 -0
- package/resources/{contacts → users/contacts}/email-preferences.js +5 -5
- package/resources/users/contacts/email-preferences.js.map +1 -0
- package/resources/{contacts → users/contacts}/email-preferences.mjs +5 -5
- package/resources/users/contacts/email-preferences.mjs.map +1 -0
- package/resources/users/contacts/index.d.mts.map +1 -0
- package/resources/users/contacts/index.d.ts.map +1 -0
- package/resources/users/contacts/index.js.map +1 -0
- package/resources/users/contacts/index.mjs.map +1 -0
- package/resources/users/contacts.d.mts.map +1 -0
- package/resources/users/contacts.d.ts.map +1 -0
- package/resources/{contacts.js → users/contacts.js} +1 -1
- package/resources/users/contacts.js.map +1 -0
- package/resources/users/contacts.mjs.map +1 -0
- package/resources/users/index.d.mts +4 -0
- package/resources/users/index.d.mts.map +1 -0
- package/resources/users/index.d.ts +4 -0
- package/resources/users/index.d.ts.map +1 -0
- package/resources/users/index.js +11 -0
- package/resources/users/index.js.map +1 -0
- package/resources/users/index.mjs +5 -0
- package/resources/users/index.mjs.map +1 -0
- package/resources/users/users.d.mts +14 -0
- package/resources/users/users.d.mts.map +1 -0
- package/resources/users/users.d.ts +14 -0
- package/resources/users/users.d.ts.map +1 -0
- package/resources/users/users.js +21 -0
- package/resources/users/users.js.map +1 -0
- package/resources/users/users.mjs +16 -0
- package/resources/users/users.mjs.map +1 -0
- package/resources/users.d.mts +2 -0
- package/resources/users.d.mts.map +1 -0
- package/resources/users.d.ts +2 -0
- package/resources/users.d.ts.map +1 -0
- package/resources/users.js +6 -0
- package/resources/users.js.map +1 -0
- package/resources/users.mjs +3 -0
- package/resources/users.mjs.map +1 -0
- package/src/client.ts +20 -338
- package/src/resources/{boards.ts → feedback/boards.ts} +17 -5
- package/src/resources/{comments.ts → feedback/comments.ts} +12 -12
- package/src/resources/{custom-fields.ts → feedback/custom-fields.ts} +19 -5
- package/src/resources/feedback/feedback.ts +113 -0
- package/src/resources/feedback/index.ts +48 -0
- package/src/resources/{post-statuses.ts → feedback/post-statuses.ts} +19 -5
- package/src/resources/{posts → feedback/posts}/posts.ts +11 -11
- package/src/resources/{posts → feedback/posts}/voters.ts +9 -9
- package/src/resources/feedback.ts +3 -0
- package/src/resources/index.ts +4 -139
- package/src/resources/{admins.ts → organization/admins.ts} +5 -5
- package/src/resources/{brands.ts → organization/brands.ts} +5 -5
- package/src/resources/organization/index.ts +26 -0
- package/src/resources/organization/organization.ts +55 -0
- package/src/resources/{teams.ts → organization/teams.ts} +5 -5
- package/src/resources/organization.ts +3 -0
- package/src/resources/{tags.ts → support/conversation-tags.ts} +44 -34
- package/src/resources/{conversations → support/conversations}/conversations.ts +39 -38
- package/src/resources/{conversations → support/conversations}/participants.ts +13 -11
- package/src/resources/{conversations → support/conversations}/tags.ts +7 -7
- package/src/resources/support/index.ts +47 -0
- package/src/resources/support/support.ts +111 -0
- package/src/resources/{tickets → support/tickets}/categories.ts +12 -10
- package/src/resources/{tickets → support/tickets}/custom-fields.ts +8 -8
- package/src/resources/{tickets → support/tickets}/statuses.ts +12 -10
- package/src/resources/{tickets → support/tickets}/tickets.ts +14 -13
- package/src/resources/support.ts +3 -0
- package/src/resources/surveys.ts +1 -1
- package/src/resources/{companies → users/companies}/companies.ts +14 -13
- package/src/resources/{companies → users/companies}/contacts.ts +23 -20
- package/src/resources/{contacts → users/contacts}/by-user-id/by-user-id.ts +10 -9
- package/src/resources/{contacts → users/contacts}/by-user-id/email-preferences.ts +7 -7
- package/src/resources/{contacts → users/contacts}/contacts.ts +12 -11
- package/src/resources/{contacts → users/contacts}/email-preferences.ts +7 -7
- package/src/resources/users/index.ts +30 -0
- package/src/resources/users/users.ts +71 -0
- package/src/resources/users.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/admins.d.mts.map +0 -1
- package/resources/admins.d.ts.map +0 -1
- package/resources/admins.js.map +0 -1
- package/resources/admins.mjs.map +0 -1
- package/resources/boards.d.mts.map +0 -1
- package/resources/boards.d.ts.map +0 -1
- package/resources/boards.js.map +0 -1
- package/resources/boards.mjs.map +0 -1
- package/resources/brands.d.mts.map +0 -1
- package/resources/brands.d.ts.map +0 -1
- package/resources/brands.js.map +0 -1
- package/resources/brands.mjs.map +0 -1
- package/resources/comments.d.mts.map +0 -1
- package/resources/comments.d.ts.map +0 -1
- package/resources/comments.js.map +0 -1
- package/resources/comments.mjs.map +0 -1
- package/resources/companies/companies.d.mts.map +0 -1
- package/resources/companies/companies.d.ts.map +0 -1
- package/resources/companies/companies.js.map +0 -1
- package/resources/companies/companies.mjs.map +0 -1
- package/resources/companies/contacts.d.mts.map +0 -1
- package/resources/companies/contacts.d.ts.map +0 -1
- package/resources/companies/contacts.js.map +0 -1
- package/resources/companies/contacts.mjs.map +0 -1
- package/resources/companies/index.d.mts.map +0 -1
- package/resources/companies/index.d.ts.map +0 -1
- package/resources/companies/index.js.map +0 -1
- package/resources/companies/index.mjs.map +0 -1
- package/resources/companies.d.mts.map +0 -1
- package/resources/companies.d.ts.map +0 -1
- package/resources/companies.js.map +0 -1
- package/resources/companies.mjs.map +0 -1
- package/resources/contacts/by-user-id/by-user-id.d.mts.map +0 -1
- package/resources/contacts/by-user-id/by-user-id.d.ts.map +0 -1
- package/resources/contacts/by-user-id/by-user-id.js.map +0 -1
- package/resources/contacts/by-user-id/by-user-id.mjs.map +0 -1
- package/resources/contacts/by-user-id/email-preferences.d.mts.map +0 -1
- package/resources/contacts/by-user-id/email-preferences.d.ts.map +0 -1
- package/resources/contacts/by-user-id/email-preferences.js.map +0 -1
- package/resources/contacts/by-user-id/email-preferences.mjs.map +0 -1
- package/resources/contacts/by-user-id/index.d.mts.map +0 -1
- package/resources/contacts/by-user-id/index.d.ts.map +0 -1
- package/resources/contacts/by-user-id/index.js.map +0 -1
- package/resources/contacts/by-user-id/index.mjs.map +0 -1
- package/resources/contacts/by-user-id.d.mts.map +0 -1
- package/resources/contacts/by-user-id.d.ts.map +0 -1
- package/resources/contacts/by-user-id.js.map +0 -1
- package/resources/contacts/by-user-id.mjs.map +0 -1
- package/resources/contacts/contacts.d.mts.map +0 -1
- package/resources/contacts/contacts.d.ts.map +0 -1
- package/resources/contacts/contacts.js.map +0 -1
- package/resources/contacts/contacts.mjs.map +0 -1
- package/resources/contacts/email-preferences.d.mts.map +0 -1
- package/resources/contacts/email-preferences.d.ts.map +0 -1
- package/resources/contacts/email-preferences.js.map +0 -1
- package/resources/contacts/email-preferences.mjs.map +0 -1
- package/resources/contacts/index.d.mts.map +0 -1
- package/resources/contacts/index.d.ts.map +0 -1
- package/resources/contacts/index.js.map +0 -1
- package/resources/contacts/index.mjs.map +0 -1
- package/resources/contacts.d.mts.map +0 -1
- package/resources/contacts.d.ts.map +0 -1
- package/resources/contacts.js.map +0 -1
- package/resources/contacts.mjs.map +0 -1
- package/resources/conversations/conversations.d.mts.map +0 -1
- package/resources/conversations/conversations.d.ts.map +0 -1
- package/resources/conversations/conversations.js.map +0 -1
- package/resources/conversations/conversations.mjs.map +0 -1
- package/resources/conversations/index.d.mts.map +0 -1
- package/resources/conversations/index.d.ts.map +0 -1
- package/resources/conversations/index.js.map +0 -1
- package/resources/conversations/index.mjs.map +0 -1
- package/resources/conversations/participants.d.mts.map +0 -1
- package/resources/conversations/participants.d.ts.map +0 -1
- package/resources/conversations/participants.js.map +0 -1
- package/resources/conversations/participants.mjs.map +0 -1
- package/resources/conversations/tags.d.mts.map +0 -1
- package/resources/conversations/tags.d.ts.map +0 -1
- package/resources/conversations/tags.js.map +0 -1
- package/resources/conversations/tags.mjs.map +0 -1
- package/resources/conversations.d.mts.map +0 -1
- package/resources/conversations.d.ts.map +0 -1
- package/resources/conversations.js.map +0 -1
- package/resources/conversations.mjs.map +0 -1
- package/resources/custom-fields.d.mts.map +0 -1
- package/resources/custom-fields.d.ts.map +0 -1
- package/resources/custom-fields.js.map +0 -1
- package/resources/custom-fields.mjs.map +0 -1
- package/resources/post-statuses.d.mts.map +0 -1
- package/resources/post-statuses.d.ts.map +0 -1
- package/resources/post-statuses.js.map +0 -1
- package/resources/post-statuses.mjs.map +0 -1
- package/resources/posts/index.d.mts.map +0 -1
- package/resources/posts/index.d.ts.map +0 -1
- package/resources/posts/index.js.map +0 -1
- package/resources/posts/index.mjs.map +0 -1
- package/resources/posts/posts.d.mts.map +0 -1
- package/resources/posts/posts.d.ts.map +0 -1
- package/resources/posts/posts.js.map +0 -1
- package/resources/posts/posts.mjs.map +0 -1
- package/resources/posts/voters.d.mts.map +0 -1
- package/resources/posts/voters.d.ts.map +0 -1
- package/resources/posts/voters.js.map +0 -1
- package/resources/posts/voters.mjs.map +0 -1
- package/resources/posts.js.map +0 -1
- package/resources/posts.mjs.map +0 -1
- package/resources/tags.d.mts.map +0 -1
- package/resources/tags.d.ts.map +0 -1
- package/resources/tags.js.map +0 -1
- package/resources/tags.mjs.map +0 -1
- package/resources/teams.d.mts.map +0 -1
- package/resources/teams.d.ts.map +0 -1
- package/resources/teams.js.map +0 -1
- package/resources/teams.mjs.map +0 -1
- package/resources/tickets/categories.d.mts.map +0 -1
- package/resources/tickets/categories.d.ts.map +0 -1
- package/resources/tickets/categories.js.map +0 -1
- package/resources/tickets/categories.mjs.map +0 -1
- package/resources/tickets/custom-fields.d.mts.map +0 -1
- package/resources/tickets/custom-fields.d.ts.map +0 -1
- package/resources/tickets/custom-fields.js.map +0 -1
- package/resources/tickets/custom-fields.mjs.map +0 -1
- package/resources/tickets/index.d.mts.map +0 -1
- package/resources/tickets/index.d.ts.map +0 -1
- package/resources/tickets/index.js.map +0 -1
- package/resources/tickets/index.mjs.map +0 -1
- package/resources/tickets/statuses.d.mts.map +0 -1
- package/resources/tickets/statuses.d.ts.map +0 -1
- package/resources/tickets/statuses.js.map +0 -1
- package/resources/tickets/statuses.mjs.map +0 -1
- package/resources/tickets/tickets.d.mts.map +0 -1
- package/resources/tickets/tickets.d.ts.map +0 -1
- package/resources/tickets/tickets.js.map +0 -1
- package/resources/tickets/tickets.mjs.map +0 -1
- package/resources/tickets.d.mts.map +0 -1
- package/resources/tickets.d.ts.map +0 -1
- package/resources/tickets.js.map +0 -1
- package/resources/tickets.mjs.map +0 -1
- /package/resources/{posts → feedback/posts}/index.d.mts +0 -0
- /package/resources/{posts → feedback/posts}/index.d.ts +0 -0
- /package/resources/{posts → feedback/posts}/index.js +0 -0
- /package/resources/{posts → feedback/posts}/index.mjs +0 -0
- /package/resources/{posts.d.mts → feedback/posts.d.mts} +0 -0
- /package/resources/{posts.d.ts → feedback/posts.d.ts} +0 -0
- /package/resources/{posts.mjs → feedback/posts.mjs} +0 -0
- /package/resources/{conversations → support/conversations}/index.d.mts +0 -0
- /package/resources/{conversations → support/conversations}/index.d.ts +0 -0
- /package/resources/{conversations → support/conversations}/index.js +0 -0
- /package/resources/{conversations → support/conversations}/index.mjs +0 -0
- /package/resources/{conversations.d.mts → support/conversations.d.mts} +0 -0
- /package/resources/{conversations.d.ts → support/conversations.d.ts} +0 -0
- /package/resources/{conversations.mjs → support/conversations.mjs} +0 -0
- /package/resources/{tickets → support/tickets}/index.d.mts +0 -0
- /package/resources/{tickets → support/tickets}/index.d.ts +0 -0
- /package/resources/{tickets → support/tickets}/index.js +0 -0
- /package/resources/{tickets → support/tickets}/index.mjs +0 -0
- /package/resources/{tickets.d.mts → support/tickets.d.mts} +0 -0
- /package/resources/{tickets.d.ts → support/tickets.d.ts} +0 -0
- /package/resources/{tickets.mjs → support/tickets.mjs} +0 -0
- /package/resources/{companies → users/companies}/index.d.mts +0 -0
- /package/resources/{companies → users/companies}/index.d.ts +0 -0
- /package/resources/{companies → users/companies}/index.js +0 -0
- /package/resources/{companies → users/companies}/index.mjs +0 -0
- /package/resources/{companies.d.mts → users/companies.d.mts} +0 -0
- /package/resources/{companies.d.ts → users/companies.d.ts} +0 -0
- /package/resources/{companies.mjs → users/companies.mjs} +0 -0
- /package/resources/{contacts → users/contacts}/by-user-id/index.d.mts +0 -0
- /package/resources/{contacts → users/contacts}/by-user-id/index.d.ts +0 -0
- /package/resources/{contacts → users/contacts}/by-user-id/index.js +0 -0
- /package/resources/{contacts → users/contacts}/by-user-id/index.mjs +0 -0
- /package/resources/{contacts → users/contacts}/by-user-id.d.mts +0 -0
- /package/resources/{contacts → users/contacts}/by-user-id.d.ts +0 -0
- /package/resources/{contacts → users/contacts}/by-user-id.mjs +0 -0
- /package/resources/{contacts → users/contacts}/index.d.mts +0 -0
- /package/resources/{contacts → users/contacts}/index.d.ts +0 -0
- /package/resources/{contacts → users/contacts}/index.js +0 -0
- /package/resources/{contacts → users/contacts}/index.mjs +0 -0
- /package/resources/{contacts.d.mts → users/contacts.d.mts} +0 -0
- /package/resources/{contacts.d.ts → users/contacts.d.ts} +0 -0
- /package/resources/{contacts.mjs → users/contacts.mjs} +0 -0
- /package/src/resources/{posts → feedback/posts}/index.ts +0 -0
- /package/src/resources/{posts.ts → feedback/posts.ts} +0 -0
- /package/src/resources/{conversations → support/conversations}/index.ts +0 -0
- /package/src/resources/{conversations.ts → support/conversations.ts} +0 -0
- /package/src/resources/{tickets → support/tickets}/index.ts +0 -0
- /package/src/resources/{tickets.ts → support/tickets.ts} +0 -0
- /package/src/resources/{companies → users/companies}/index.ts +0 -0
- /package/src/resources/{companies.ts → users/companies.ts} +0 -0
- /package/src/resources/{contacts → users/contacts}/by-user-id/index.ts +0 -0
- /package/src/resources/{contacts → users/contacts}/by-user-id.ts +0 -0
- /package/src/resources/{contacts → users/contacts}/index.ts +0 -0
- /package/src/resources/{contacts.ts → users/contacts.ts} +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Boards,
|
|
5
|
+
type Board,
|
|
6
|
+
type BoardListResponse,
|
|
7
|
+
type BoardRetrieveParams,
|
|
8
|
+
type BoardListParams,
|
|
9
|
+
} from './boards';
|
|
10
|
+
export {
|
|
11
|
+
Comments,
|
|
12
|
+
type Comment,
|
|
13
|
+
type CommentListResponse,
|
|
14
|
+
type CommentDelete0Response,
|
|
15
|
+
type CommentDelete1Response,
|
|
16
|
+
type CommentCreateParams,
|
|
17
|
+
type CommentRetrieveParams,
|
|
18
|
+
type CommentUpdateParams,
|
|
19
|
+
type CommentListParams,
|
|
20
|
+
type CommentDelete0Params,
|
|
21
|
+
type CommentDelete1Params,
|
|
22
|
+
} from './comments';
|
|
23
|
+
export {
|
|
24
|
+
CustomFields,
|
|
25
|
+
type CustomField,
|
|
26
|
+
type CustomFieldList,
|
|
27
|
+
type CustomFieldRetrieveParams,
|
|
28
|
+
type CustomFieldListParams,
|
|
29
|
+
} from './custom-fields';
|
|
30
|
+
export { Feedback } from './feedback';
|
|
31
|
+
export {
|
|
32
|
+
PostStatuses,
|
|
33
|
+
type PostStatus,
|
|
34
|
+
type PostStatusListResponse,
|
|
35
|
+
type PostStatusRetrieveParams,
|
|
36
|
+
type PostStatusListParams,
|
|
37
|
+
} from './post-statuses';
|
|
38
|
+
export {
|
|
39
|
+
Posts,
|
|
40
|
+
type Post,
|
|
41
|
+
type PostListResponse,
|
|
42
|
+
type PostDeleteResponse,
|
|
43
|
+
type PostCreateParams,
|
|
44
|
+
type PostRetrieveParams,
|
|
45
|
+
type PostUpdateParams,
|
|
46
|
+
type PostListParams,
|
|
47
|
+
type PostDeleteParams,
|
|
48
|
+
} from './posts/index';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import { APIPromise } from '
|
|
5
|
-
import { buildHeaders } from '
|
|
6
|
-
import { RequestOptions } from '
|
|
7
|
-
import { path } from '
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
+
import { path } from '../../internal/utils/path';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Post statuses define the workflow stages for posts (e.g., In Review, Active, Completed).
|
|
@@ -15,6 +15,14 @@ export class PostStatuses extends APIResource {
|
|
|
15
15
|
*
|
|
16
16
|
* Returns the full post status object including name, color, type, and default
|
|
17
17
|
* flag.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const postStatus =
|
|
22
|
+
* await client.feedback.postStatuses.retrieve(
|
|
23
|
+
* '507f1f77bcf86cd799439011',
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
18
26
|
*/
|
|
19
27
|
retrieve(
|
|
20
28
|
id: string,
|
|
@@ -43,6 +51,12 @@ export class PostStatuses extends APIResource {
|
|
|
43
51
|
*
|
|
44
52
|
* This endpoint returns all post statuses without pagination. Organizations
|
|
45
53
|
* typically have a small number of statuses.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* const postStatuses =
|
|
58
|
+
* await client.feedback.postStatuses.list();
|
|
59
|
+
* ```
|
|
46
60
|
*/
|
|
47
61
|
list(
|
|
48
62
|
params: PostStatusListParams | null | undefined = {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
4
|
import * as PostStatusesAPI from '../post-statuses';
|
|
5
5
|
import * as VotersAPI from './voters';
|
|
6
6
|
import {
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
VoterRemoveResponse,
|
|
13
13
|
Voters,
|
|
14
14
|
} from './voters';
|
|
15
|
-
import * as TicketsAPI from '
|
|
16
|
-
import { APIPromise } from '
|
|
17
|
-
import { buildHeaders } from '
|
|
18
|
-
import { RequestOptions } from '
|
|
19
|
-
import { path } from '
|
|
15
|
+
import * as TicketsAPI from '../../support/tickets/tickets';
|
|
16
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
17
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
18
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
19
|
+
import { path } from '../../../internal/utils/path';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* User-submitted feedback and feature requests. Posts belong to boards and can be upvoted, commented on, and tracked through statuses.
|
|
@@ -69,7 +69,7 @@ export class Posts extends APIResource {
|
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* ```ts
|
|
72
|
-
* const post = await client.posts.create({
|
|
72
|
+
* const post = await client.feedback.posts.create({
|
|
73
73
|
* boardId: '507f1f77bcf86cd799439011',
|
|
74
74
|
* title: 'Add dark mode support',
|
|
75
75
|
* });
|
|
@@ -101,7 +101,7 @@ export class Posts extends APIResource {
|
|
|
101
101
|
*
|
|
102
102
|
* @example
|
|
103
103
|
* ```ts
|
|
104
|
-
* const post = await client.posts.retrieve(
|
|
104
|
+
* const post = await client.feedback.posts.retrieve(
|
|
105
105
|
* '507f1f77bcf86cd799439011',
|
|
106
106
|
* );
|
|
107
107
|
* ```
|
|
@@ -154,7 +154,7 @@ export class Posts extends APIResource {
|
|
|
154
154
|
*
|
|
155
155
|
* @example
|
|
156
156
|
* ```ts
|
|
157
|
-
* const post = await client.posts.update(
|
|
157
|
+
* const post = await client.feedback.posts.update(
|
|
158
158
|
* '507f1f77bcf86cd799439011',
|
|
159
159
|
* );
|
|
160
160
|
* ```
|
|
@@ -225,7 +225,7 @@ export class Posts extends APIResource {
|
|
|
225
225
|
*
|
|
226
226
|
* @example
|
|
227
227
|
* ```ts
|
|
228
|
-
* const posts = await client.posts.list();
|
|
228
|
+
* const posts = await client.feedback.posts.list();
|
|
229
229
|
* ```
|
|
230
230
|
*/
|
|
231
231
|
list(
|
|
@@ -269,7 +269,7 @@ export class Posts extends APIResource {
|
|
|
269
269
|
*
|
|
270
270
|
* @example
|
|
271
271
|
* ```ts
|
|
272
|
-
* const post = await client.posts.delete(
|
|
272
|
+
* const post = await client.feedback.posts.delete(
|
|
273
273
|
* '507f1f77bcf86cd799439011',
|
|
274
274
|
* );
|
|
275
275
|
* ```
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import * as CompaniesAPI from '
|
|
5
|
-
import { APIPromise } from '
|
|
6
|
-
import { buildHeaders } from '
|
|
7
|
-
import { RequestOptions } from '
|
|
8
|
-
import { path } from '
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as CompaniesAPI from '../../users/companies/companies';
|
|
5
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
6
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
7
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
8
|
+
import { path } from '../../../internal/utils/path';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* User-submitted feedback and feature requests. Posts belong to boards and can be upvoted, commented on, and tracked through statuses.
|
|
@@ -50,7 +50,7 @@ export class Voters extends APIResource {
|
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* ```ts
|
|
53
|
-
* const voters = await client.posts.voters.list(
|
|
53
|
+
* const voters = await client.feedback.posts.voters.list(
|
|
54
54
|
* '507f1f77bcf86cd799439011',
|
|
55
55
|
* );
|
|
56
56
|
* ```
|
|
@@ -111,7 +111,7 @@ export class Voters extends APIResource {
|
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* ```ts
|
|
114
|
-
* const response = await client.posts.voters.add(
|
|
114
|
+
* const response = await client.feedback.posts.voters.add(
|
|
115
115
|
* '507f1f77bcf86cd799439011',
|
|
116
116
|
* );
|
|
117
117
|
* ```
|
|
@@ -158,7 +158,7 @@ export class Voters extends APIResource {
|
|
|
158
158
|
*
|
|
159
159
|
* @example
|
|
160
160
|
* ```ts
|
|
161
|
-
* const voter = await client.posts.voters.remove(
|
|
161
|
+
* const voter = await client.feedback.posts.voters.remove(
|
|
162
162
|
* '507f1f77bcf86cd799439011',
|
|
163
163
|
* );
|
|
164
164
|
* ```
|
package/src/resources/index.ts
CHANGED
|
@@ -1,28 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export {
|
|
4
|
-
Admins,
|
|
5
|
-
type Admin,
|
|
6
|
-
type AdminListResponse,
|
|
7
|
-
type AdminListRolesResponse,
|
|
8
|
-
type AdminRetrieveParams,
|
|
9
|
-
type AdminListParams,
|
|
10
|
-
type AdminListRolesParams,
|
|
11
|
-
} from './admins';
|
|
12
|
-
export {
|
|
13
|
-
Boards,
|
|
14
|
-
type Board,
|
|
15
|
-
type BoardListResponse,
|
|
16
|
-
type BoardRetrieveParams,
|
|
17
|
-
type BoardListParams,
|
|
18
|
-
} from './boards';
|
|
19
|
-
export {
|
|
20
|
-
Brands,
|
|
21
|
-
type Brand,
|
|
22
|
-
type BrandListResponse,
|
|
23
|
-
type BrandRetrieveParams,
|
|
24
|
-
type BrandListParams,
|
|
25
|
-
} from './brands';
|
|
26
3
|
export {
|
|
27
4
|
Changelogs,
|
|
28
5
|
type Changelog,
|
|
@@ -37,93 +14,10 @@ export {
|
|
|
37
14
|
type ChangelogPublishParams,
|
|
38
15
|
type ChangelogUnpublishParams,
|
|
39
16
|
} from './changelogs/changelogs';
|
|
40
|
-
export {
|
|
41
|
-
Comments,
|
|
42
|
-
type Comment,
|
|
43
|
-
type CommentListResponse,
|
|
44
|
-
type CommentDelete0Response,
|
|
45
|
-
type CommentDelete1Response,
|
|
46
|
-
type CommentCreateParams,
|
|
47
|
-
type CommentRetrieveParams,
|
|
48
|
-
type CommentUpdateParams,
|
|
49
|
-
type CommentListParams,
|
|
50
|
-
type CommentDelete0Params,
|
|
51
|
-
type CommentDelete1Params,
|
|
52
|
-
} from './comments';
|
|
53
|
-
export {
|
|
54
|
-
Companies,
|
|
55
|
-
type Company,
|
|
56
|
-
type DeletedCompany,
|
|
57
|
-
type CompanyListResponse,
|
|
58
|
-
type CompanyRetrieveParams,
|
|
59
|
-
type CompanyListParams,
|
|
60
|
-
type CompanyDeleteParams,
|
|
61
|
-
type CompanyCreateOrUpdateParams,
|
|
62
|
-
type CompanyDeleteByCompanyIDParams,
|
|
63
|
-
} from './companies/companies';
|
|
64
|
-
export {
|
|
65
|
-
Contacts,
|
|
66
|
-
type Contact,
|
|
67
|
-
type ContactList,
|
|
68
|
-
type DeletedContact,
|
|
69
|
-
type ContactRetrieveResponse,
|
|
70
|
-
type ContactBlockResponse,
|
|
71
|
-
type ContactCreateOrUpdateResponse,
|
|
72
|
-
type ContactUnblockResponse,
|
|
73
|
-
type ContactRetrieveParams,
|
|
74
|
-
type ContactListParams,
|
|
75
|
-
type ContactDeleteParams,
|
|
76
|
-
type ContactBlockParams,
|
|
77
|
-
type ContactCreateOrUpdateParams,
|
|
78
|
-
type ContactUnblockParams,
|
|
79
|
-
} from './contacts/contacts';
|
|
80
|
-
export {
|
|
81
|
-
Conversations,
|
|
82
|
-
type Conversation,
|
|
83
|
-
type ConversationPart,
|
|
84
|
-
type ConversationPartAuthor,
|
|
85
|
-
type ConversationParticipant,
|
|
86
|
-
type ConversationTagApplication,
|
|
87
|
-
type CsatEmailDelivery,
|
|
88
|
-
type CsatRatedAgent,
|
|
89
|
-
type CsatWorkflowLink,
|
|
90
|
-
type EmailRecipients,
|
|
91
|
-
type ConversationListResponse,
|
|
92
|
-
type ConversationDeleteResponse,
|
|
93
|
-
type ConversationCreateParams,
|
|
94
|
-
type ConversationRetrieveParams,
|
|
95
|
-
type ConversationUpdateParams,
|
|
96
|
-
type ConversationListParams,
|
|
97
|
-
type ConversationDeleteParams,
|
|
98
|
-
type ConversationRedactParams,
|
|
99
|
-
type ConversationReplyParams,
|
|
100
|
-
} from './conversations/conversations';
|
|
101
|
-
export {
|
|
102
|
-
CustomFields,
|
|
103
|
-
type CustomField,
|
|
104
|
-
type CustomFieldList,
|
|
105
|
-
type CustomFieldRetrieveParams,
|
|
106
|
-
type CustomFieldListParams,
|
|
107
|
-
} from './custom-fields';
|
|
17
|
+
export { Feedback } from './feedback/feedback';
|
|
108
18
|
export { HelpCenter } from './help-center/help-center';
|
|
109
|
-
export {
|
|
110
|
-
|
|
111
|
-
type PostStatus,
|
|
112
|
-
type PostStatusListResponse,
|
|
113
|
-
type PostStatusRetrieveParams,
|
|
114
|
-
type PostStatusListParams,
|
|
115
|
-
} from './post-statuses';
|
|
116
|
-
export {
|
|
117
|
-
Posts,
|
|
118
|
-
type Post,
|
|
119
|
-
type PostListResponse,
|
|
120
|
-
type PostDeleteResponse,
|
|
121
|
-
type PostCreateParams,
|
|
122
|
-
type PostRetrieveParams,
|
|
123
|
-
type PostUpdateParams,
|
|
124
|
-
type PostListParams,
|
|
125
|
-
type PostDeleteParams,
|
|
126
|
-
} from './posts/posts';
|
|
19
|
+
export { Organization } from './organization/organization';
|
|
20
|
+
export { Support } from './support/support';
|
|
127
21
|
export {
|
|
128
22
|
Surveys,
|
|
129
23
|
type Survey,
|
|
@@ -134,36 +28,7 @@ export {
|
|
|
134
28
|
type SurveyListParams,
|
|
135
29
|
type SurveyRetrieveResponsesParams,
|
|
136
30
|
} from './surveys';
|
|
137
|
-
export {
|
|
138
|
-
Tags,
|
|
139
|
-
type ConversationTag,
|
|
140
|
-
type TagListResponse,
|
|
141
|
-
type TagDeleteResponse,
|
|
142
|
-
type TagRetrieveParams,
|
|
143
|
-
type TagListParams,
|
|
144
|
-
type TagDeleteParams,
|
|
145
|
-
type TagCreateOrRenameParams,
|
|
146
|
-
} from './tags';
|
|
147
|
-
export {
|
|
148
|
-
Teams,
|
|
149
|
-
type Team,
|
|
150
|
-
type TeamListResponse,
|
|
151
|
-
type TeamRetrieveParams,
|
|
152
|
-
type TeamListParams,
|
|
153
|
-
} from './teams';
|
|
154
|
-
export {
|
|
155
|
-
Tickets,
|
|
156
|
-
type AuthorInput,
|
|
157
|
-
type Ticket,
|
|
158
|
-
type TicketListResponse,
|
|
159
|
-
type TicketDeleteResponse,
|
|
160
|
-
type TicketCreateParams,
|
|
161
|
-
type TicketRetrieveParams,
|
|
162
|
-
type TicketUpdateParams,
|
|
163
|
-
type TicketListParams,
|
|
164
|
-
type TicketDeleteParams,
|
|
165
|
-
type TicketReplyParams,
|
|
166
|
-
} from './tickets/tickets';
|
|
31
|
+
export { Users } from './users/users';
|
|
167
32
|
export {
|
|
168
33
|
Webhooks,
|
|
169
34
|
type Webhook,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import { APIPromise } from '
|
|
5
|
-
import { buildHeaders } from '
|
|
6
|
-
import { RequestOptions } from '
|
|
7
|
-
import { path } from '
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
+
import { path } from '../../internal/utils/path';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Team members who manage your Featurebase organization. Admins have roles that define their permissions.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import { APIPromise } from '
|
|
5
|
-
import { buildHeaders } from '
|
|
6
|
-
import { RequestOptions } from '
|
|
7
|
-
import { path } from '
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
+
import { path } from '../../internal/utils/path';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Brands represent distinct brand identities within your organization. Each brand can have its own help center and email sending address. Use this endpoint to list and retrieve brand information.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Admins,
|
|
5
|
+
type Admin,
|
|
6
|
+
type AdminListResponse,
|
|
7
|
+
type AdminListRolesResponse,
|
|
8
|
+
type AdminRetrieveParams,
|
|
9
|
+
type AdminListParams,
|
|
10
|
+
type AdminListRolesParams,
|
|
11
|
+
} from './admins';
|
|
12
|
+
export {
|
|
13
|
+
Brands,
|
|
14
|
+
type Brand,
|
|
15
|
+
type BrandListResponse,
|
|
16
|
+
type BrandRetrieveParams,
|
|
17
|
+
type BrandListParams,
|
|
18
|
+
} from './brands';
|
|
19
|
+
export { Organization } from './organization';
|
|
20
|
+
export {
|
|
21
|
+
Teams,
|
|
22
|
+
type Team,
|
|
23
|
+
type TeamListResponse,
|
|
24
|
+
type TeamRetrieveParams,
|
|
25
|
+
type TeamListParams,
|
|
26
|
+
} from './teams';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as AdminsAPI from './admins';
|
|
5
|
+
import {
|
|
6
|
+
Admin,
|
|
7
|
+
AdminListParams,
|
|
8
|
+
AdminListResponse,
|
|
9
|
+
AdminListRolesParams,
|
|
10
|
+
AdminListRolesResponse,
|
|
11
|
+
AdminRetrieveParams,
|
|
12
|
+
Admins,
|
|
13
|
+
} from './admins';
|
|
14
|
+
import * as BrandsAPI from './brands';
|
|
15
|
+
import { Brand, BrandListParams, BrandListResponse, BrandRetrieveParams, Brands } from './brands';
|
|
16
|
+
import * as TeamsAPI from './teams';
|
|
17
|
+
import { Team, TeamListParams, TeamListResponse, TeamRetrieveParams, Teams } from './teams';
|
|
18
|
+
|
|
19
|
+
export class Organization extends APIResource {
|
|
20
|
+
admins: AdminsAPI.Admins = new AdminsAPI.Admins(this._client);
|
|
21
|
+
teams: TeamsAPI.Teams = new TeamsAPI.Teams(this._client);
|
|
22
|
+
brands: BrandsAPI.Brands = new BrandsAPI.Brands(this._client);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
Organization.Admins = Admins;
|
|
26
|
+
Organization.Teams = Teams;
|
|
27
|
+
Organization.Brands = Brands;
|
|
28
|
+
|
|
29
|
+
export declare namespace Organization {
|
|
30
|
+
export {
|
|
31
|
+
Admins as Admins,
|
|
32
|
+
type Admin as Admin,
|
|
33
|
+
type AdminListResponse as AdminListResponse,
|
|
34
|
+
type AdminListRolesResponse as AdminListRolesResponse,
|
|
35
|
+
type AdminRetrieveParams as AdminRetrieveParams,
|
|
36
|
+
type AdminListParams as AdminListParams,
|
|
37
|
+
type AdminListRolesParams as AdminListRolesParams,
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export {
|
|
41
|
+
Teams as Teams,
|
|
42
|
+
type Team as Team,
|
|
43
|
+
type TeamListResponse as TeamListResponse,
|
|
44
|
+
type TeamRetrieveParams as TeamRetrieveParams,
|
|
45
|
+
type TeamListParams as TeamListParams,
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export {
|
|
49
|
+
Brands as Brands,
|
|
50
|
+
type Brand as Brand,
|
|
51
|
+
type BrandListResponse as BrandListResponse,
|
|
52
|
+
type BrandRetrieveParams as BrandRetrieveParams,
|
|
53
|
+
type BrandListParams as BrandListParams,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import { APIPromise } from '
|
|
5
|
-
import { buildHeaders } from '
|
|
6
|
-
import { RequestOptions } from '
|
|
7
|
-
import { path } from '
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
+
import { path } from '../../internal/utils/path';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Teams are groups within your Featurebase organization. Use this endpoint to list and retrieve team information for conversation assignment and organization management.
|