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
|
@@ -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 PostStatusesAPI 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 PostStatusesAPI from '../../feedback/post-statuses';
|
|
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
|
* Tickets represent support requests in your Featurebase organization. Create, update, reply to, and manage tickets via these endpoints.
|
|
@@ -18,9 +18,10 @@ export class Statuses extends APIResource {
|
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* ```ts
|
|
21
|
-
* const postStatus =
|
|
22
|
-
*
|
|
23
|
-
*
|
|
21
|
+
* const postStatus =
|
|
22
|
+
* await client.support.tickets.statuses.retrieve(
|
|
23
|
+
* '507f1f77bcf86cd799439011',
|
|
24
|
+
* );
|
|
24
25
|
* ```
|
|
25
26
|
*/
|
|
26
27
|
retrieve(
|
|
@@ -52,7 +53,8 @@ export class Statuses extends APIResource {
|
|
|
52
53
|
*
|
|
53
54
|
* @example
|
|
54
55
|
* ```ts
|
|
55
|
-
* const postStatuses =
|
|
56
|
+
* const postStatuses =
|
|
57
|
+
* await client.support.tickets.statuses.list();
|
|
56
58
|
* ```
|
|
57
59
|
*/
|
|
58
60
|
list(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import * as PostStatusesAPI from '
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as PostStatusesAPI from '../../feedback/post-statuses';
|
|
5
5
|
import * as ConversationsAPI from '../conversations/conversations';
|
|
6
6
|
import * as CategoriesAPI from './categories';
|
|
7
7
|
import { Categories, CategoryListParams, CategoryListResponse, CategoryRetrieveParams } from './categories';
|
|
@@ -9,10 +9,10 @@ import * as CustomFieldsAPI from './custom-fields';
|
|
|
9
9
|
import { CustomFieldListParams, CustomFieldRetrieveParams, CustomFields } from './custom-fields';
|
|
10
10
|
import * as StatusesAPI from './statuses';
|
|
11
11
|
import { StatusListParams, StatusListResponse, StatusRetrieveParams, Statuses } from './statuses';
|
|
12
|
-
import { APIPromise } from '
|
|
13
|
-
import { buildHeaders } from '
|
|
14
|
-
import { RequestOptions } from '
|
|
15
|
-
import { path } from '
|
|
12
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
13
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
14
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
15
|
+
import { path } from '../../../internal/utils/path';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Tickets represent support requests in your Featurebase organization. Create, update, reply to, and manage tickets via these endpoints.
|
|
@@ -78,7 +78,7 @@ export class Tickets extends APIResource {
|
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* ```ts
|
|
81
|
-
* const ticket = await client.tickets.create({
|
|
81
|
+
* const ticket = await client.support.tickets.create({
|
|
82
82
|
* author: {},
|
|
83
83
|
* ticketCategoryId: '507f1f77bcf86cd799439011',
|
|
84
84
|
* title: 'Cannot login to dashboard',
|
|
@@ -111,7 +111,7 @@ export class Tickets extends APIResource {
|
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* ```ts
|
|
114
|
-
* const ticket = await client.tickets.retrieve(1);
|
|
114
|
+
* const ticket = await client.support.tickets.retrieve(1);
|
|
115
115
|
* ```
|
|
116
116
|
*/
|
|
117
117
|
retrieve(
|
|
@@ -172,7 +172,7 @@ export class Tickets extends APIResource {
|
|
|
172
172
|
*
|
|
173
173
|
* @example
|
|
174
174
|
* ```ts
|
|
175
|
-
* const ticket = await client.tickets.update(1);
|
|
175
|
+
* const ticket = await client.support.tickets.update(1);
|
|
176
176
|
* ```
|
|
177
177
|
*/
|
|
178
178
|
update(id: number, params: TicketUpdateParams, options?: RequestOptions): APIPromise<Ticket> {
|
|
@@ -210,7 +210,7 @@ export class Tickets extends APIResource {
|
|
|
210
210
|
*
|
|
211
211
|
* @example
|
|
212
212
|
* ```ts
|
|
213
|
-
* const tickets = await client.tickets.list();
|
|
213
|
+
* const tickets = await client.support.tickets.list();
|
|
214
214
|
* ```
|
|
215
215
|
*/
|
|
216
216
|
list(
|
|
@@ -259,7 +259,7 @@ export class Tickets extends APIResource {
|
|
|
259
259
|
*
|
|
260
260
|
* @example
|
|
261
261
|
* ```ts
|
|
262
|
-
* const ticket = await client.tickets.delete(1);
|
|
262
|
+
* const ticket = await client.support.tickets.delete(1);
|
|
263
263
|
* ```
|
|
264
264
|
*/
|
|
265
265
|
delete(
|
|
@@ -318,7 +318,7 @@ export class Tickets extends APIResource {
|
|
|
318
318
|
*
|
|
319
319
|
* @example
|
|
320
320
|
* ```ts
|
|
321
|
-
* const ticket = await client.tickets.reply(1, {
|
|
321
|
+
* const ticket = await client.support.tickets.reply(1, {
|
|
322
322
|
* body: '<p>Thank you for your help!</p>',
|
|
323
323
|
* type: 'contact',
|
|
324
324
|
* });
|
|
@@ -835,7 +835,8 @@ export interface TicketListParams {
|
|
|
835
835
|
categoryType?: 'customer' | 'tracker' | 'back-office';
|
|
836
836
|
|
|
837
837
|
/**
|
|
838
|
-
* Query param
|
|
838
|
+
* Query param: An opaque cursor for pagination. Use the nextCursor value from a
|
|
839
|
+
* previous response to fetch the next page of results.
|
|
839
840
|
*/
|
|
840
841
|
cursor?: string;
|
|
841
842
|
|
package/src/resources/surveys.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import * as SurveysAPI from './surveys';
|
|
5
|
-
import * as ContactsAPI from './contacts/contacts';
|
|
5
|
+
import * as ContactsAPI from './users/contacts/contacts';
|
|
6
6
|
import { APIPromise } from '../core/api-promise';
|
|
7
7
|
import { buildHeaders } from '../internal/headers';
|
|
8
8
|
import { RequestOptions } from '../internal/request-options';
|
|
@@ -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 ContactsAPI from './contacts';
|
|
5
5
|
import {
|
|
6
6
|
ContactAttachParams,
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
ContactRemoveResponse,
|
|
11
11
|
Contacts,
|
|
12
12
|
} from './contacts';
|
|
13
|
-
import { APIPromise } from '
|
|
14
|
-
import { buildHeaders } from '
|
|
15
|
-
import { RequestOptions } from '
|
|
16
|
-
import { path } from '
|
|
13
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
14
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
15
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
16
|
+
import { path } from '../../../internal/utils/path';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Companies represent organizations or businesses that your users belong to. Use this endpoint to list and retrieve company information.
|
|
@@ -77,7 +77,7 @@ export class Companies extends APIResource {
|
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
79
|
* ```ts
|
|
80
|
-
* const company = await client.companies.retrieve(
|
|
80
|
+
* const company = await client.users.companies.retrieve(
|
|
81
81
|
* '507f1f77bcf86cd799439011',
|
|
82
82
|
* );
|
|
83
83
|
* ```
|
|
@@ -164,7 +164,7 @@ export class Companies extends APIResource {
|
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
166
|
* ```ts
|
|
167
|
-
* const companies = await client.companies.list();
|
|
167
|
+
* const companies = await client.users.companies.list();
|
|
168
168
|
* ```
|
|
169
169
|
*/
|
|
170
170
|
list(
|
|
@@ -213,7 +213,7 @@ export class Companies extends APIResource {
|
|
|
213
213
|
*
|
|
214
214
|
* @example
|
|
215
215
|
* ```ts
|
|
216
|
-
* const deletedCompany = await client.companies.delete(
|
|
216
|
+
* const deletedCompany = await client.users.companies.delete(
|
|
217
217
|
* '507f1f77bcf86cd799439011',
|
|
218
218
|
* );
|
|
219
219
|
* ```
|
|
@@ -303,10 +303,9 @@ export class Companies extends APIResource {
|
|
|
303
303
|
*
|
|
304
304
|
* @example
|
|
305
305
|
* ```ts
|
|
306
|
-
* const company = await client.companies.createOrUpdate(
|
|
307
|
-
* companyId: 'comp_12345',
|
|
308
|
-
*
|
|
309
|
-
* });
|
|
306
|
+
* const company = await client.users.companies.createOrUpdate(
|
|
307
|
+
* { companyId: 'comp_12345', name: 'Acme Inc' },
|
|
308
|
+
* );
|
|
310
309
|
* ```
|
|
311
310
|
*/
|
|
312
311
|
createOrUpdate(params: CompanyCreateOrUpdateParams, options?: RequestOptions): APIPromise<Company> {
|
|
@@ -369,7 +368,9 @@ export class Companies extends APIResource {
|
|
|
369
368
|
* @example
|
|
370
369
|
* ```ts
|
|
371
370
|
* const deletedCompany =
|
|
372
|
-
* await client.companies.deleteByCompanyID(
|
|
371
|
+
* await client.users.companies.deleteByCompanyID(
|
|
372
|
+
* 'comp_12345',
|
|
373
|
+
* );
|
|
373
374
|
* ```
|
|
374
375
|
*/
|
|
375
376
|
deleteByCompanyID(
|
|
@@ -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
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as UsersContactsAPI from '../contacts/contacts';
|
|
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
|
* Companies represent organizations or businesses that your users belong to. Use this endpoint to list and retrieve company information.
|
|
@@ -65,16 +65,17 @@ export class Contacts extends APIResource {
|
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* ```ts
|
|
68
|
-
* const contactList =
|
|
69
|
-
*
|
|
70
|
-
*
|
|
68
|
+
* const contactList =
|
|
69
|
+
* await client.users.companies.contacts.list(
|
|
70
|
+
* '507f1f77bcf86cd799439011',
|
|
71
|
+
* );
|
|
71
72
|
* ```
|
|
72
73
|
*/
|
|
73
74
|
list(
|
|
74
75
|
id: string,
|
|
75
76
|
params: ContactListParams | null | undefined = {},
|
|
76
77
|
options?: RequestOptions,
|
|
77
|
-
): APIPromise<
|
|
78
|
+
): APIPromise<UsersContactsAPI.ContactList> {
|
|
78
79
|
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
79
80
|
return this._client.get(path`/v2/companies/${id}/contacts`, {
|
|
80
81
|
query,
|
|
@@ -146,10 +147,11 @@ export class Contacts extends APIResource {
|
|
|
146
147
|
*
|
|
147
148
|
* @example
|
|
148
149
|
* ```ts
|
|
149
|
-
* const response =
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
150
|
+
* const response =
|
|
151
|
+
* await client.users.companies.contacts.attach(
|
|
152
|
+
* '507f1f77bcf86cd799439011',
|
|
153
|
+
* { contactId: '507f1f77bcf86cd799439012' },
|
|
154
|
+
* );
|
|
153
155
|
* ```
|
|
154
156
|
*/
|
|
155
157
|
attach(
|
|
@@ -209,10 +211,11 @@ export class Contacts extends APIResource {
|
|
|
209
211
|
*
|
|
210
212
|
* @example
|
|
211
213
|
* ```ts
|
|
212
|
-
* const contact =
|
|
213
|
-
*
|
|
214
|
-
*
|
|
215
|
-
*
|
|
214
|
+
* const contact =
|
|
215
|
+
* await client.users.companies.contacts.remove(
|
|
216
|
+
* '507f1f77bcf86cd799439012',
|
|
217
|
+
* { id: '507f1f77bcf86cd799439011' },
|
|
218
|
+
* );
|
|
216
219
|
* ```
|
|
217
220
|
*/
|
|
218
221
|
remove(
|
|
@@ -234,12 +237,12 @@ export class Contacts extends APIResource {
|
|
|
234
237
|
/**
|
|
235
238
|
* User who submitted the response
|
|
236
239
|
*/
|
|
237
|
-
export type ContactAttachResponse =
|
|
240
|
+
export type ContactAttachResponse = UsersContactsAPI.Contact | (null & {});
|
|
238
241
|
|
|
239
242
|
/**
|
|
240
243
|
* User who submitted the response
|
|
241
244
|
*/
|
|
242
|
-
export type ContactRemoveResponse =
|
|
245
|
+
export type ContactRemoveResponse = UsersContactsAPI.Contact | (null & {});
|
|
243
246
|
|
|
244
247
|
export interface ContactListParams {
|
|
245
248
|
/**
|
|
@@ -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 ContactsAPI from '../contacts';
|
|
5
5
|
import * as EmailPreferencesAPI from './email-preferences';
|
|
6
6
|
import {
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
EmailPreferenceUpdateParams,
|
|
9
9
|
EmailPreferences,
|
|
10
10
|
} from './email-preferences';
|
|
11
|
-
import { APIPromise } from '
|
|
12
|
-
import { buildHeaders } from '
|
|
13
|
-
import { RequestOptions } from '
|
|
14
|
-
import { path } from '
|
|
11
|
+
import { APIPromise } from '../../../../core/api-promise';
|
|
12
|
+
import { buildHeaders } from '../../../../internal/headers';
|
|
13
|
+
import { RequestOptions } from '../../../../internal/request-options';
|
|
14
|
+
import { path } from '../../../../internal/utils/path';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Contacts are the customers and leads in your Featurebase organization. Use this endpoint to list and retrieve contact information.
|
|
@@ -74,9 +74,10 @@ export class ByUserID extends APIResource {
|
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* ```ts
|
|
77
|
-
* const byUserID =
|
|
78
|
-
*
|
|
79
|
-
*
|
|
77
|
+
* const byUserID =
|
|
78
|
+
* await client.users.contacts.byUserID.retrieve(
|
|
79
|
+
* 'usr_12345',
|
|
80
|
+
* );
|
|
80
81
|
* ```
|
|
81
82
|
*/
|
|
82
83
|
retrieve(
|
|
@@ -143,7 +144,7 @@ export class ByUserID extends APIResource {
|
|
|
143
144
|
* @example
|
|
144
145
|
* ```ts
|
|
145
146
|
* const deletedContact =
|
|
146
|
-
* await client.contacts.byUserID.delete('usr_12345');
|
|
147
|
+
* await client.users.contacts.byUserID.delete('usr_12345');
|
|
147
148
|
* ```
|
|
148
149
|
*/
|
|
149
150
|
delete(
|
|
@@ -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 '
|
|
3
|
+
import { APIResource } from '../../../../core/resource';
|
|
4
4
|
import * as EmailPreferencesAPI from '../email-preferences';
|
|
5
|
-
import { APIPromise } from '
|
|
6
|
-
import { buildHeaders } from '
|
|
7
|
-
import { RequestOptions } from '
|
|
8
|
-
import { path } from '
|
|
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
|
* Contacts are the customers and leads in your Featurebase organization. Use this endpoint to list and retrieve contact information.
|
|
@@ -58,7 +58,7 @@ export class EmailPreferences extends APIResource {
|
|
|
58
58
|
* @example
|
|
59
59
|
* ```ts
|
|
60
60
|
* const preferencesOutput =
|
|
61
|
-
* await client.contacts.byUserID.emailPreferences.retrieve(
|
|
61
|
+
* await client.users.contacts.byUserID.emailPreferences.retrieve(
|
|
62
62
|
* 'usr_12345',
|
|
63
63
|
* );
|
|
64
64
|
* ```
|
|
@@ -161,7 +161,7 @@ export class EmailPreferences extends APIResource {
|
|
|
161
161
|
* @example
|
|
162
162
|
* ```ts
|
|
163
163
|
* const preferencesOutput =
|
|
164
|
-
* await client.contacts.byUserID.emailPreferences.update(
|
|
164
|
+
* await client.users.contacts.byUserID.emailPreferences.update(
|
|
165
165
|
* 'usr_12345',
|
|
166
166
|
* { preferences: {} },
|
|
167
167
|
* );
|
|
@@ -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 ContactsAPI from './contacts';
|
|
5
5
|
import * as CompaniesAPI from '../companies/companies';
|
|
6
6
|
import * as EmailPreferencesAPI from './email-preferences';
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
ByUserIDRetrieveParams,
|
|
20
20
|
ByUserIDRetrieveResponse,
|
|
21
21
|
} from './by-user-id/by-user-id';
|
|
22
|
-
import { APIPromise } from '
|
|
23
|
-
import { buildHeaders } from '
|
|
24
|
-
import { RequestOptions } from '
|
|
25
|
-
import { path } from '
|
|
22
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
23
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
24
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
25
|
+
import { path } from '../../../internal/utils/path';
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Contacts are the customers and leads in your Featurebase organization. Use this endpoint to list and retrieve contact information.
|
|
@@ -78,7 +78,7 @@ export class Contacts extends APIResource {
|
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* ```ts
|
|
81
|
-
* const contact = await client.contacts.retrieve(
|
|
81
|
+
* const contact = await client.users.contacts.retrieve(
|
|
82
82
|
* '507f1f77bcf86cd799439011',
|
|
83
83
|
* );
|
|
84
84
|
* ```
|
|
@@ -157,7 +157,7 @@ export class Contacts extends APIResource {
|
|
|
157
157
|
*
|
|
158
158
|
* @example
|
|
159
159
|
* ```ts
|
|
160
|
-
* const contactList = await client.contacts.list();
|
|
160
|
+
* const contactList = await client.users.contacts.list();
|
|
161
161
|
* ```
|
|
162
162
|
*/
|
|
163
163
|
list(params: ContactListParams | null | undefined = {}, options?: RequestOptions): APIPromise<ContactList> {
|
|
@@ -214,7 +214,7 @@ export class Contacts extends APIResource {
|
|
|
214
214
|
*
|
|
215
215
|
* @example
|
|
216
216
|
* ```ts
|
|
217
|
-
* const deletedContact = await client.contacts.delete(
|
|
217
|
+
* const deletedContact = await client.users.contacts.delete(
|
|
218
218
|
* '507f1f77bcf86cd799439011',
|
|
219
219
|
* );
|
|
220
220
|
* ```
|
|
@@ -281,7 +281,7 @@ export class Contacts extends APIResource {
|
|
|
281
281
|
*
|
|
282
282
|
* @example
|
|
283
283
|
* ```ts
|
|
284
|
-
* const response = await client.contacts.block(
|
|
284
|
+
* const response = await client.users.contacts.block(
|
|
285
285
|
* '507f1f77bcf86cd799439011',
|
|
286
286
|
* );
|
|
287
287
|
* ```
|
|
@@ -392,7 +392,8 @@ export class Contacts extends APIResource {
|
|
|
392
392
|
*
|
|
393
393
|
* @example
|
|
394
394
|
* ```ts
|
|
395
|
-
* const response =
|
|
395
|
+
* const response =
|
|
396
|
+
* await client.users.contacts.createOrUpdate();
|
|
396
397
|
* ```
|
|
397
398
|
*/
|
|
398
399
|
createOrUpdate(
|
|
@@ -456,7 +457,7 @@ export class Contacts extends APIResource {
|
|
|
456
457
|
*
|
|
457
458
|
* @example
|
|
458
459
|
* ```ts
|
|
459
|
-
* const response = await client.contacts.unblock(
|
|
460
|
+
* const response = await client.users.contacts.unblock(
|
|
460
461
|
* '507f1f77bcf86cd799439011',
|
|
461
462
|
* );
|
|
462
463
|
* ```
|
|
@@ -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 '
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
4
|
import * as EmailPreferencesAPI from './email-preferences';
|
|
5
|
-
import { APIPromise } from '
|
|
6
|
-
import { buildHeaders } from '
|
|
7
|
-
import { RequestOptions } from '
|
|
8
|
-
import { path } from '
|
|
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
|
* Contacts are the customers and leads in your Featurebase organization. Use this endpoint to list and retrieve contact information.
|
|
@@ -76,7 +76,7 @@ export class EmailPreferences extends APIResource {
|
|
|
76
76
|
* @example
|
|
77
77
|
* ```ts
|
|
78
78
|
* const preferencesOutput =
|
|
79
|
-
* await client.contacts.emailPreferences.retrieve(
|
|
79
|
+
* await client.users.contacts.emailPreferences.retrieve(
|
|
80
80
|
* '507f1f77bcf86cd799439011',
|
|
81
81
|
* );
|
|
82
82
|
* ```
|
|
@@ -204,7 +204,7 @@ export class EmailPreferences extends APIResource {
|
|
|
204
204
|
* @example
|
|
205
205
|
* ```ts
|
|
206
206
|
* const preferencesOutput =
|
|
207
|
-
* await client.contacts.emailPreferences.update(
|
|
207
|
+
* await client.users.contacts.emailPreferences.update(
|
|
208
208
|
* '507f1f77bcf86cd799439011',
|
|
209
209
|
* { preferences: {} },
|
|
210
210
|
* );
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Companies,
|
|
5
|
+
type Company,
|
|
6
|
+
type DeletedCompany,
|
|
7
|
+
type CompanyListResponse,
|
|
8
|
+
type CompanyRetrieveParams,
|
|
9
|
+
type CompanyListParams,
|
|
10
|
+
type CompanyDeleteParams,
|
|
11
|
+
type CompanyCreateOrUpdateParams,
|
|
12
|
+
type CompanyDeleteByCompanyIDParams,
|
|
13
|
+
} from './companies/index';
|
|
14
|
+
export {
|
|
15
|
+
Contacts,
|
|
16
|
+
type Contact,
|
|
17
|
+
type ContactList,
|
|
18
|
+
type DeletedContact,
|
|
19
|
+
type ContactRetrieveResponse,
|
|
20
|
+
type ContactBlockResponse,
|
|
21
|
+
type ContactCreateOrUpdateResponse,
|
|
22
|
+
type ContactUnblockResponse,
|
|
23
|
+
type ContactRetrieveParams,
|
|
24
|
+
type ContactListParams,
|
|
25
|
+
type ContactDeleteParams,
|
|
26
|
+
type ContactBlockParams,
|
|
27
|
+
type ContactCreateOrUpdateParams,
|
|
28
|
+
type ContactUnblockParams,
|
|
29
|
+
} from './contacts/index';
|
|
30
|
+
export { Users } from './users';
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as CompaniesAPI from './companies/companies';
|
|
5
|
+
import {
|
|
6
|
+
Companies,
|
|
7
|
+
Company,
|
|
8
|
+
CompanyCreateOrUpdateParams,
|
|
9
|
+
CompanyDeleteByCompanyIDParams,
|
|
10
|
+
CompanyDeleteParams,
|
|
11
|
+
CompanyListParams,
|
|
12
|
+
CompanyListResponse,
|
|
13
|
+
CompanyRetrieveParams,
|
|
14
|
+
DeletedCompany,
|
|
15
|
+
} from './companies/companies';
|
|
16
|
+
import * as ContactsAPI from './contacts/contacts';
|
|
17
|
+
import {
|
|
18
|
+
Contact,
|
|
19
|
+
ContactBlockParams,
|
|
20
|
+
ContactBlockResponse,
|
|
21
|
+
ContactCreateOrUpdateParams,
|
|
22
|
+
ContactCreateOrUpdateResponse,
|
|
23
|
+
ContactDeleteParams,
|
|
24
|
+
ContactList,
|
|
25
|
+
ContactListParams,
|
|
26
|
+
ContactRetrieveParams,
|
|
27
|
+
ContactRetrieveResponse,
|
|
28
|
+
ContactUnblockParams,
|
|
29
|
+
ContactUnblockResponse,
|
|
30
|
+
Contacts,
|
|
31
|
+
DeletedContact,
|
|
32
|
+
} from './contacts/contacts';
|
|
33
|
+
|
|
34
|
+
export class Users extends APIResource {
|
|
35
|
+
contacts: ContactsAPI.Contacts = new ContactsAPI.Contacts(this._client);
|
|
36
|
+
companies: CompaniesAPI.Companies = new CompaniesAPI.Companies(this._client);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
Users.Contacts = Contacts;
|
|
40
|
+
Users.Companies = Companies;
|
|
41
|
+
|
|
42
|
+
export declare namespace Users {
|
|
43
|
+
export {
|
|
44
|
+
Contacts as Contacts,
|
|
45
|
+
type Contact as Contact,
|
|
46
|
+
type ContactList as ContactList,
|
|
47
|
+
type DeletedContact as DeletedContact,
|
|
48
|
+
type ContactRetrieveResponse as ContactRetrieveResponse,
|
|
49
|
+
type ContactBlockResponse as ContactBlockResponse,
|
|
50
|
+
type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse,
|
|
51
|
+
type ContactUnblockResponse as ContactUnblockResponse,
|
|
52
|
+
type ContactRetrieveParams as ContactRetrieveParams,
|
|
53
|
+
type ContactListParams as ContactListParams,
|
|
54
|
+
type ContactDeleteParams as ContactDeleteParams,
|
|
55
|
+
type ContactBlockParams as ContactBlockParams,
|
|
56
|
+
type ContactCreateOrUpdateParams as ContactCreateOrUpdateParams,
|
|
57
|
+
type ContactUnblockParams as ContactUnblockParams,
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
Companies as Companies,
|
|
62
|
+
type Company as Company,
|
|
63
|
+
type DeletedCompany as DeletedCompany,
|
|
64
|
+
type CompanyListResponse as CompanyListResponse,
|
|
65
|
+
type CompanyRetrieveParams as CompanyRetrieveParams,
|
|
66
|
+
type CompanyListParams as CompanyListParams,
|
|
67
|
+
type CompanyDeleteParams as CompanyDeleteParams,
|
|
68
|
+
type CompanyCreateOrUpdateParams as CompanyCreateOrUpdateParams,
|
|
69
|
+
type CompanyDeleteByCompanyIDParams as CompanyDeleteByCompanyIDParams,
|
|
70
|
+
};
|
|
71
|
+
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.3.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.3.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"admins.d.mts","sourceRoot":"","sources":["../src/resources/admins.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;;;;;OAkBG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,KAAK,CAAC;IAWpB;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,IAAI,CACF,MAAM,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBA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