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,20 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as AdminsAPI from "./admins.mjs";
|
|
4
|
+
import { Admins, } from "./admins.mjs";
|
|
5
|
+
import * as BrandsAPI from "./brands.mjs";
|
|
6
|
+
import { Brands } from "./brands.mjs";
|
|
7
|
+
import * as TeamsAPI from "./teams.mjs";
|
|
8
|
+
import { Teams } from "./teams.mjs";
|
|
9
|
+
export class Organization extends APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.admins = new AdminsAPI.Admins(this._client);
|
|
13
|
+
this.teams = new TeamsAPI.Teams(this._client);
|
|
14
|
+
this.brands = new BrandsAPI.Brands(this._client);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
Organization.Admins = Admins;
|
|
18
|
+
Organization.Teams = Teams;
|
|
19
|
+
Organization.Brands = Brands;
|
|
20
|
+
//# sourceMappingURL=organization.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.mjs","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAOL,MAAM,GACP;OACM,KAAK,SAAS;OACd,EAAkE,MAAM,EAAE;OAC1E,KAAK,QAAQ;OACb,EAA8D,KAAK,EAAE;AAE5E,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAED,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC;AAC7B,YAAY,CAAC,KAAK,GAAG,KAAK,CAAC;AAC3B,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { APIResource } from "
|
|
2
|
-
import { APIPromise } from "
|
|
3
|
-
import { RequestOptions } from "
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
4
|
/**
|
|
5
5
|
* Teams are groups within your Featurebase organization. Use this endpoint to list and retrieve team information for conversation assignment and organization management.
|
|
6
6
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.d.mts","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAWnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACH,IAAI,CACF,MAAM,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;CAUhC;AAED,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,yBAAiB,IAAI,CAAC;IACpB;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,IAAI,EAAE,OAAO,GAAG,YAAY,GAAG,UAAU,CAAC;QAE1C;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAElB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { APIResource } from "
|
|
2
|
-
import { APIPromise } from "
|
|
3
|
-
import { RequestOptions } from "
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
4
|
/**
|
|
5
5
|
* Teams are groups within your Featurebase organization. Use this endpoint to list and retrieve team information for conversation assignment and organization management.
|
|
6
6
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;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CAChC;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Teams = void 0;
|
|
5
|
-
const resource_1 = require("
|
|
6
|
-
const headers_1 = require("
|
|
7
|
-
const path_1 = require("
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../internal/headers.js");
|
|
7
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
8
8
|
/**
|
|
9
9
|
* Teams are groups within your Featurebase organization. Use this endpoint to list and retrieve team information for conversation assignment and organization management.
|
|
10
10
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.js","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,QAAQ,CACN,EAAU,EACV,SAAgD,EAAE,EAClD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,EAAE,EAAE;YAC7C,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC/F,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACH,IAAI,CACF,SAA4C,EAAE,EAC9C,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE;YACnC,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC/F,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAnHD,sBAmHC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "
|
|
3
|
-
import { buildHeaders } from "
|
|
4
|
-
import { path } from "
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../internal/headers.mjs";
|
|
4
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
5
5
|
/**
|
|
6
6
|
* Teams are groups within your Featurebase organization. Use this endpoint to list and retrieve team information for conversation assignment and organization management.
|
|
7
7
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.mjs","sourceRoot":"","sources":["../../src/resources/organization/teams.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,QAAQ,CACN,EAAU,EACV,SAAgD,EAAE,EAClD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,EAAE,EAAE,EAAE;YAC7C,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC/F,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACH,IAAI,CACF,SAA4C,EAAE,EAC9C,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE;YACnC,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC/F,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.d.mts","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./organization/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=organization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kEAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.mjs","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { APIResource } from "
|
|
2
|
-
import { APIPromise } from "
|
|
3
|
-
import { RequestOptions } from "
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
4
|
/**
|
|
5
5
|
* Conversation tags let you organize, filter, and automate around inbox conversations. Use these endpoints to list, look up, create, rename, and delete workspace conversation tags.
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class ConversationTags extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Returns a single conversation tag by its Featurebase tag ID. Archived tags can
|
|
10
10
|
* still be retrieved directly by ID, while permanently deleted tags return `404`.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
14
|
-
* const conversationTag =
|
|
15
|
-
*
|
|
16
|
-
*
|
|
14
|
+
* const conversationTag =
|
|
15
|
+
* await client.support.conversationTags.retrieve(
|
|
16
|
+
* '67ec1234abcd5678ef901234',
|
|
17
|
+
* );
|
|
17
18
|
* ```
|
|
18
19
|
*/
|
|
19
|
-
retrieve(id: string, params?:
|
|
20
|
+
retrieve(id: string, params?: ConversationTagRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ConversationTag>;
|
|
20
21
|
/**
|
|
21
22
|
* Returns the live conversation tags available in the workspace tag catalog. These
|
|
22
23
|
* are the canonical tags that power conversation payloads, filters, and tag
|
|
@@ -24,10 +25,11 @@ export declare class Tags extends APIResource {
|
|
|
24
25
|
*
|
|
25
26
|
* @example
|
|
26
27
|
* ```ts
|
|
27
|
-
* const
|
|
28
|
+
* const conversationTags =
|
|
29
|
+
* await client.support.conversationTags.list();
|
|
28
30
|
* ```
|
|
29
31
|
*/
|
|
30
|
-
list(params?:
|
|
32
|
+
list(params?: ConversationTagListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationTagListResponse>;
|
|
31
33
|
/**
|
|
32
34
|
* Deletes a conversation tag from the workspace catalog and removes it from
|
|
33
35
|
* aggregate conversation tag state. Archived and historical part applications
|
|
@@ -35,24 +37,26 @@ export declare class Tags extends APIResource {
|
|
|
35
37
|
*
|
|
36
38
|
* @example
|
|
37
39
|
* ```ts
|
|
38
|
-
* const
|
|
39
|
-
*
|
|
40
|
-
*
|
|
40
|
+
* const conversationTag =
|
|
41
|
+
* await client.support.conversationTags.delete(
|
|
42
|
+
* '67ec1234abcd5678ef901234',
|
|
43
|
+
* );
|
|
41
44
|
* ```
|
|
42
45
|
*/
|
|
43
|
-
delete(id: string, params?:
|
|
46
|
+
delete(id: string, params?: ConversationTagDeleteParams | null | undefined, options?: RequestOptions): APIPromise<ConversationTagDeleteResponse>;
|
|
44
47
|
/**
|
|
45
48
|
* Creates a new workspace conversation tag when only `name` is provided. If `id`
|
|
46
49
|
* is also provided, the existing tag is renamed instead.
|
|
47
50
|
*
|
|
48
51
|
* @example
|
|
49
52
|
* ```ts
|
|
50
|
-
* const conversationTag =
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
+
* const conversationTag =
|
|
54
|
+
* await client.support.conversationTags.createOrRename({
|
|
55
|
+
* name: 'Churn',
|
|
56
|
+
* });
|
|
53
57
|
* ```
|
|
54
58
|
*/
|
|
55
|
-
createOrRename(params:
|
|
59
|
+
createOrRename(params: ConversationTagCreateOrRenameParams, options?: RequestOptions): APIPromise<ConversationTag>;
|
|
56
60
|
}
|
|
57
61
|
export interface ConversationTag {
|
|
58
62
|
/**
|
|
@@ -68,7 +72,7 @@ export interface ConversationTag {
|
|
|
68
72
|
*/
|
|
69
73
|
type: 'tag';
|
|
70
74
|
}
|
|
71
|
-
export interface
|
|
75
|
+
export interface ConversationTagListResponse {
|
|
72
76
|
/**
|
|
73
77
|
* Array containing the actual response elements
|
|
74
78
|
*/
|
|
@@ -82,7 +86,7 @@ export interface TagListResponse {
|
|
|
82
86
|
*/
|
|
83
87
|
object: 'list';
|
|
84
88
|
}
|
|
85
|
-
export interface
|
|
89
|
+
export interface ConversationTagDeleteResponse {
|
|
86
90
|
/**
|
|
87
91
|
* Unique tag identifier
|
|
88
92
|
*/
|
|
@@ -96,21 +100,21 @@ export interface TagDeleteResponse {
|
|
|
96
100
|
*/
|
|
97
101
|
object: 'tag';
|
|
98
102
|
}
|
|
99
|
-
export interface
|
|
103
|
+
export interface ConversationTagRetrieveParams {
|
|
100
104
|
/**
|
|
101
105
|
* API version for this request. Defaults to your organization's configured API
|
|
102
106
|
* version if not specified.
|
|
103
107
|
*/
|
|
104
108
|
'Featurebase-Version'?: string;
|
|
105
109
|
}
|
|
106
|
-
export interface
|
|
110
|
+
export interface ConversationTagListParams {
|
|
107
111
|
/**
|
|
108
112
|
* API version for this request. Defaults to your organization's configured API
|
|
109
113
|
* version if not specified.
|
|
110
114
|
*/
|
|
111
115
|
'Featurebase-Version'?: string;
|
|
112
116
|
}
|
|
113
|
-
export interface
|
|
117
|
+
export interface ConversationTagDeleteParams {
|
|
114
118
|
/**
|
|
115
119
|
* Body param: Optional admin ID for actor attribution and permission checks.
|
|
116
120
|
*/
|
|
@@ -121,7 +125,7 @@ export interface TagDeleteParams {
|
|
|
121
125
|
*/
|
|
122
126
|
'Featurebase-Version'?: string;
|
|
123
127
|
}
|
|
124
|
-
export interface
|
|
128
|
+
export interface ConversationTagCreateOrRenameParams {
|
|
125
129
|
/**
|
|
126
130
|
* Body param: Tag name
|
|
127
131
|
*/
|
|
@@ -141,7 +145,7 @@ export interface TagCreateOrRenameParams {
|
|
|
141
145
|
*/
|
|
142
146
|
'Featurebase-Version'?: string;
|
|
143
147
|
}
|
|
144
|
-
export declare namespace
|
|
145
|
-
export { type ConversationTag as ConversationTag, type
|
|
148
|
+
export declare namespace ConversationTags {
|
|
149
|
+
export { type ConversationTag as ConversationTag, type ConversationTagListResponse as ConversationTagListResponse, type ConversationTagDeleteResponse as ConversationTagDeleteResponse, type ConversationTagRetrieveParams as ConversationTagRetrieveParams, type ConversationTagListParams as ConversationTagListParams, type ConversationTagDeleteParams as ConversationTagDeleteParams, type ConversationTagCreateOrRenameParams as ConversationTagCreateOrRenameParams, };
|
|
146
150
|
}
|
|
147
|
-
//# sourceMappingURL=tags.d.
|
|
151
|
+
//# sourceMappingURL=conversation-tags.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-tags.d.mts","sourceRoot":"","sources":["../../src/resources/support/conversation-tags.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAW9B;;;;;;;;;;OAUG;IACH,IAAI,CACF,MAAM,GAAE,yBAAyB,GAAG,I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,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { APIResource } from "
|
|
2
|
-
import { APIPromise } from "
|
|
3
|
-
import { RequestOptions } from "
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
4
|
/**
|
|
5
5
|
* Conversation tags let you organize, filter, and automate around inbox conversations. Use these endpoints to list, look up, create, rename, and delete workspace conversation tags.
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class ConversationTags extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Returns a single conversation tag by its Featurebase tag ID. Archived tags can
|
|
10
10
|
* still be retrieved directly by ID, while permanently deleted tags return `404`.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
14
|
-
* const conversationTag =
|
|
15
|
-
*
|
|
16
|
-
*
|
|
14
|
+
* const conversationTag =
|
|
15
|
+
* await client.support.conversationTags.retrieve(
|
|
16
|
+
* '67ec1234abcd5678ef901234',
|
|
17
|
+
* );
|
|
17
18
|
* ```
|
|
18
19
|
*/
|
|
19
|
-
retrieve(id: string, params?:
|
|
20
|
+
retrieve(id: string, params?: ConversationTagRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ConversationTag>;
|
|
20
21
|
/**
|
|
21
22
|
* Returns the live conversation tags available in the workspace tag catalog. These
|
|
22
23
|
* are the canonical tags that power conversation payloads, filters, and tag
|
|
@@ -24,10 +25,11 @@ export declare class Tags extends APIResource {
|
|
|
24
25
|
*
|
|
25
26
|
* @example
|
|
26
27
|
* ```ts
|
|
27
|
-
* const
|
|
28
|
+
* const conversationTags =
|
|
29
|
+
* await client.support.conversationTags.list();
|
|
28
30
|
* ```
|
|
29
31
|
*/
|
|
30
|
-
list(params?:
|
|
32
|
+
list(params?: ConversationTagListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationTagListResponse>;
|
|
31
33
|
/**
|
|
32
34
|
* Deletes a conversation tag from the workspace catalog and removes it from
|
|
33
35
|
* aggregate conversation tag state. Archived and historical part applications
|
|
@@ -35,24 +37,26 @@ export declare class Tags extends APIResource {
|
|
|
35
37
|
*
|
|
36
38
|
* @example
|
|
37
39
|
* ```ts
|
|
38
|
-
* const
|
|
39
|
-
*
|
|
40
|
-
*
|
|
40
|
+
* const conversationTag =
|
|
41
|
+
* await client.support.conversationTags.delete(
|
|
42
|
+
* '67ec1234abcd5678ef901234',
|
|
43
|
+
* );
|
|
41
44
|
* ```
|
|
42
45
|
*/
|
|
43
|
-
delete(id: string, params?:
|
|
46
|
+
delete(id: string, params?: ConversationTagDeleteParams | null | undefined, options?: RequestOptions): APIPromise<ConversationTagDeleteResponse>;
|
|
44
47
|
/**
|
|
45
48
|
* Creates a new workspace conversation tag when only `name` is provided. If `id`
|
|
46
49
|
* is also provided, the existing tag is renamed instead.
|
|
47
50
|
*
|
|
48
51
|
* @example
|
|
49
52
|
* ```ts
|
|
50
|
-
* const conversationTag =
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
+
* const conversationTag =
|
|
54
|
+
* await client.support.conversationTags.createOrRename({
|
|
55
|
+
* name: 'Churn',
|
|
56
|
+
* });
|
|
53
57
|
* ```
|
|
54
58
|
*/
|
|
55
|
-
createOrRename(params:
|
|
59
|
+
createOrRename(params: ConversationTagCreateOrRenameParams, options?: RequestOptions): APIPromise<ConversationTag>;
|
|
56
60
|
}
|
|
57
61
|
export interface ConversationTag {
|
|
58
62
|
/**
|
|
@@ -68,7 +72,7 @@ export interface ConversationTag {
|
|
|
68
72
|
*/
|
|
69
73
|
type: 'tag';
|
|
70
74
|
}
|
|
71
|
-
export interface
|
|
75
|
+
export interface ConversationTagListResponse {
|
|
72
76
|
/**
|
|
73
77
|
* Array containing the actual response elements
|
|
74
78
|
*/
|
|
@@ -82,7 +86,7 @@ export interface TagListResponse {
|
|
|
82
86
|
*/
|
|
83
87
|
object: 'list';
|
|
84
88
|
}
|
|
85
|
-
export interface
|
|
89
|
+
export interface ConversationTagDeleteResponse {
|
|
86
90
|
/**
|
|
87
91
|
* Unique tag identifier
|
|
88
92
|
*/
|
|
@@ -96,21 +100,21 @@ export interface TagDeleteResponse {
|
|
|
96
100
|
*/
|
|
97
101
|
object: 'tag';
|
|
98
102
|
}
|
|
99
|
-
export interface
|
|
103
|
+
export interface ConversationTagRetrieveParams {
|
|
100
104
|
/**
|
|
101
105
|
* API version for this request. Defaults to your organization's configured API
|
|
102
106
|
* version if not specified.
|
|
103
107
|
*/
|
|
104
108
|
'Featurebase-Version'?: string;
|
|
105
109
|
}
|
|
106
|
-
export interface
|
|
110
|
+
export interface ConversationTagListParams {
|
|
107
111
|
/**
|
|
108
112
|
* API version for this request. Defaults to your organization's configured API
|
|
109
113
|
* version if not specified.
|
|
110
114
|
*/
|
|
111
115
|
'Featurebase-Version'?: string;
|
|
112
116
|
}
|
|
113
|
-
export interface
|
|
117
|
+
export interface ConversationTagDeleteParams {
|
|
114
118
|
/**
|
|
115
119
|
* Body param: Optional admin ID for actor attribution and permission checks.
|
|
116
120
|
*/
|
|
@@ -121,7 +125,7 @@ export interface TagDeleteParams {
|
|
|
121
125
|
*/
|
|
122
126
|
'Featurebase-Version'?: string;
|
|
123
127
|
}
|
|
124
|
-
export interface
|
|
128
|
+
export interface ConversationTagCreateOrRenameParams {
|
|
125
129
|
/**
|
|
126
130
|
* Body param: Tag name
|
|
127
131
|
*/
|
|
@@ -141,7 +145,7 @@ export interface TagCreateOrRenameParams {
|
|
|
141
145
|
*/
|
|
142
146
|
'Featurebase-Version'?: string;
|
|
143
147
|
}
|
|
144
|
-
export declare namespace
|
|
145
|
-
export { type ConversationTag as ConversationTag, type
|
|
148
|
+
export declare namespace ConversationTags {
|
|
149
|
+
export { type ConversationTag as ConversationTag, type ConversationTagListResponse as ConversationTagListResponse, type ConversationTagDeleteResponse as ConversationTagDeleteResponse, type ConversationTagRetrieveParams as ConversationTagRetrieveParams, type ConversationTagListParams as ConversationTagListParams, type ConversationTagDeleteParams as ConversationTagDeleteParams, type ConversationTagCreateOrRenameParams as ConversationTagCreateOrRenameParams, };
|
|
146
150
|
}
|
|
147
|
-
//# sourceMappingURL=tags.d.
|
|
151
|
+
//# sourceMappingURL=conversation-tags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-tags.d.ts","sourceRoot":"","sources":["../../src/resources/support/conversation-tags.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAW9B;;;;;;;;;;OAUG;IACH,IAAI,CACF,MAAM,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,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;IAEZ;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
const resource_1 = require("
|
|
6
|
-
const headers_1 = require("
|
|
7
|
-
const path_1 = require("
|
|
4
|
+
exports.ConversationTags = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../internal/headers.js");
|
|
7
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
8
8
|
/**
|
|
9
9
|
* Conversation tags let you organize, filter, and automate around inbox conversations. Use these endpoints to list, look up, create, rename, and delete workspace conversation tags.
|
|
10
10
|
*/
|
|
11
|
-
class
|
|
11
|
+
class ConversationTags extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
13
|
* Returns a single conversation tag by its Featurebase tag ID. Archived tags can
|
|
14
14
|
* still be retrieved directly by ID, while permanently deleted tags return `404`.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```ts
|
|
18
|
-
* const conversationTag =
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* const conversationTag =
|
|
19
|
+
* await client.support.conversationTags.retrieve(
|
|
20
|
+
* '67ec1234abcd5678ef901234',
|
|
21
|
+
* );
|
|
21
22
|
* ```
|
|
22
23
|
*/
|
|
23
24
|
retrieve(id, params = {}, options) {
|
|
@@ -37,7 +38,8 @@ class Tags extends resource_1.APIResource {
|
|
|
37
38
|
*
|
|
38
39
|
* @example
|
|
39
40
|
* ```ts
|
|
40
|
-
* const
|
|
41
|
+
* const conversationTags =
|
|
42
|
+
* await client.support.conversationTags.list();
|
|
41
43
|
* ```
|
|
42
44
|
*/
|
|
43
45
|
list(params = {}, options) {
|
|
@@ -57,9 +59,10 @@ class Tags extends resource_1.APIResource {
|
|
|
57
59
|
*
|
|
58
60
|
* @example
|
|
59
61
|
* ```ts
|
|
60
|
-
* const
|
|
61
|
-
*
|
|
62
|
-
*
|
|
62
|
+
* const conversationTag =
|
|
63
|
+
* await client.support.conversationTags.delete(
|
|
64
|
+
* '67ec1234abcd5678ef901234',
|
|
65
|
+
* );
|
|
63
66
|
* ```
|
|
64
67
|
*/
|
|
65
68
|
delete(id, params = {}, options) {
|
|
@@ -79,9 +82,10 @@ class Tags extends resource_1.APIResource {
|
|
|
79
82
|
*
|
|
80
83
|
* @example
|
|
81
84
|
* ```ts
|
|
82
|
-
* const conversationTag =
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
+
* const conversationTag =
|
|
86
|
+
* await client.support.conversationTags.createOrRename({
|
|
87
|
+
* name: 'Churn',
|
|
88
|
+
* });
|
|
85
89
|
* ```
|
|
86
90
|
*/
|
|
87
91
|
createOrRename(params, options) {
|
|
@@ -96,5 +100,5 @@ class Tags extends resource_1.APIResource {
|
|
|
96
100
|
});
|
|
97
101
|
}
|
|
98
102
|
}
|
|
99
|
-
exports.
|
|
100
|
-
//# sourceMappingURL=tags.js.map
|
|
103
|
+
exports.ConversationTags = ConversationTags;
|
|
104
|
+
//# sourceMappingURL=conversation-tags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-tags.js","sourceRoot":"","sources":["../../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GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC5E,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,YAAY,EAAE,EAAE,EAAE;YAC/C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC/F,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,cAAc,CACZ,MAA2C,EAC3C,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE;YACnC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC/F,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AA5GD,4CA4GC"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "
|
|
3
|
-
import { buildHeaders } from "
|
|
4
|
-
import { path } from "
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../internal/headers.mjs";
|
|
4
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
5
5
|
/**
|
|
6
6
|
* Conversation tags let you organize, filter, and automate around inbox conversations. Use these endpoints to list, look up, create, rename, and delete workspace conversation tags.
|
|
7
7
|
*/
|
|
8
|
-
export class
|
|
8
|
+
export class ConversationTags extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Returns a single conversation tag by its Featurebase tag ID. Archived tags can
|
|
11
11
|
* still be retrieved directly by ID, while permanently deleted tags return `404`.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```ts
|
|
15
|
-
* const conversationTag =
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* const conversationTag =
|
|
16
|
+
* await client.support.conversationTags.retrieve(
|
|
17
|
+
* '67ec1234abcd5678ef901234',
|
|
18
|
+
* );
|
|
18
19
|
* ```
|
|
19
20
|
*/
|
|
20
21
|
retrieve(id, params = {}, options) {
|
|
@@ -34,7 +35,8 @@ export class Tags extends APIResource {
|
|
|
34
35
|
*
|
|
35
36
|
* @example
|
|
36
37
|
* ```ts
|
|
37
|
-
* const
|
|
38
|
+
* const conversationTags =
|
|
39
|
+
* await client.support.conversationTags.list();
|
|
38
40
|
* ```
|
|
39
41
|
*/
|
|
40
42
|
list(params = {}, options) {
|
|
@@ -54,9 +56,10 @@ export class Tags extends APIResource {
|
|
|
54
56
|
*
|
|
55
57
|
* @example
|
|
56
58
|
* ```ts
|
|
57
|
-
* const
|
|
58
|
-
*
|
|
59
|
-
*
|
|
59
|
+
* const conversationTag =
|
|
60
|
+
* await client.support.conversationTags.delete(
|
|
61
|
+
* '67ec1234abcd5678ef901234',
|
|
62
|
+
* );
|
|
60
63
|
* ```
|
|
61
64
|
*/
|
|
62
65
|
delete(id, params = {}, options) {
|
|
@@ -76,9 +79,10 @@ export class Tags extends APIResource {
|
|
|
76
79
|
*
|
|
77
80
|
* @example
|
|
78
81
|
* ```ts
|
|
79
|
-
* const conversationTag =
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
+
* const conversationTag =
|
|
83
|
+
* await client.support.conversationTags.createOrRename({
|
|
84
|
+
* name: 'Churn',
|
|
85
|
+
* });
|
|
82
86
|
* ```
|
|
83
87
|
*/
|
|
84
88
|
createOrRename(params, options) {
|
|
@@ -93,4 +97,4 @@ export class Tags extends APIResource {
|
|
|
93
97
|
});
|
|
94
98
|
}
|
|
95
99
|
}
|
|
96
|
-
//# sourceMappingURL=tags.mjs.map
|
|
100
|
+
//# sourceMappingURL=conversation-tags.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-tags.mjs","sourceRoot":"","sources":["../../src/resources/support/conversation-tags.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;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,YAAY,EAAE,EAAE,EAAE;YAC5C,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,GAAG,CAAC,kBAAkB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBAC/F,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE;YAClC,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,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