featurebase-node 0.3.0 → 0.5.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 +31 -0
- package/client.d.mts +12 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -6
- package/client.d.ts.map +1 -1
- package/client.js +10 -0
- package/client.js.map +1 -1
- package/client.mjs +10 -0
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +54 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +54 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +101 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +95 -0
- package/core/pagination.mjs.map +1 -0
- package/index.d.mts +1 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/package.json +11 -1
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resources/changelogs/changelogs.d.mts +16 -60
- package/resources/changelogs/changelogs.d.mts.map +1 -1
- package/resources/changelogs/changelogs.d.ts +16 -60
- package/resources/changelogs/changelogs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.js +41 -9
- package/resources/changelogs/changelogs.js.map +1 -1
- package/resources/changelogs/changelogs.mjs +41 -9
- package/resources/changelogs/changelogs.mjs.map +1 -1
- package/resources/changelogs/index.d.mts +1 -1
- package/resources/changelogs/index.d.mts.map +1 -1
- package/resources/changelogs/index.d.ts +1 -1
- package/resources/changelogs/index.d.ts.map +1 -1
- package/resources/changelogs/subscribers.d.mts +2 -2
- package/resources/changelogs/subscribers.d.mts.map +1 -1
- package/resources/changelogs/subscribers.d.ts +2 -2
- package/resources/changelogs/subscribers.d.ts.map +1 -1
- package/resources/changelogs/subscribers.js +10 -2
- package/resources/changelogs/subscribers.js.map +1 -1
- package/resources/changelogs/subscribers.mjs +10 -2
- package/resources/changelogs/subscribers.mjs.map +1 -1
- package/resources/feedback/boards.d.mts +2 -2
- package/resources/feedback/boards.d.mts.map +1 -1
- package/resources/feedback/boards.d.ts +2 -2
- package/resources/feedback/boards.d.ts.map +1 -1
- package/resources/feedback/boards.js +10 -2
- package/resources/feedback/boards.js.map +1 -1
- package/resources/feedback/boards.mjs +10 -2
- package/resources/feedback/boards.mjs.map +1 -1
- package/resources/feedback/comments.d.mts +15 -59
- package/resources/feedback/comments.d.mts.map +1 -1
- package/resources/feedback/comments.d.ts +15 -59
- package/resources/feedback/comments.d.ts.map +1 -1
- package/resources/feedback/comments.js +36 -8
- package/resources/feedback/comments.js.map +1 -1
- package/resources/feedback/comments.mjs +36 -8
- package/resources/feedback/comments.mjs.map +1 -1
- package/resources/feedback/custom-fields.d.mts +2 -2
- package/resources/feedback/custom-fields.d.mts.map +1 -1
- package/resources/feedback/custom-fields.d.ts +2 -2
- package/resources/feedback/custom-fields.d.ts.map +1 -1
- package/resources/feedback/custom-fields.js +10 -2
- package/resources/feedback/custom-fields.js.map +1 -1
- package/resources/feedback/custom-fields.mjs +10 -2
- package/resources/feedback/custom-fields.mjs.map +1 -1
- package/resources/feedback/feedback.d.mts +4 -4
- package/resources/feedback/feedback.d.mts.map +1 -1
- package/resources/feedback/feedback.d.ts +4 -4
- package/resources/feedback/feedback.d.ts.map +1 -1
- package/resources/feedback/feedback.mjs.map +1 -1
- package/resources/feedback/index.d.mts +2 -2
- package/resources/feedback/index.d.mts.map +1 -1
- package/resources/feedback/index.d.ts +2 -2
- package/resources/feedback/index.d.ts.map +1 -1
- package/resources/feedback/post-statuses.d.mts +2 -2
- package/resources/feedback/post-statuses.d.mts.map +1 -1
- package/resources/feedback/post-statuses.d.ts +2 -2
- package/resources/feedback/post-statuses.d.ts.map +1 -1
- package/resources/feedback/post-statuses.js +10 -2
- package/resources/feedback/post-statuses.js.map +1 -1
- package/resources/feedback/post-statuses.mjs +10 -2
- package/resources/feedback/post-statuses.mjs.map +1 -1
- package/resources/feedback/posts/index.d.mts +2 -2
- package/resources/feedback/posts/index.d.mts.map +1 -1
- package/resources/feedback/posts/index.d.ts +2 -2
- package/resources/feedback/posts/index.d.ts.map +1 -1
- package/resources/feedback/posts/index.js.map +1 -1
- package/resources/feedback/posts/index.mjs.map +1 -1
- package/resources/feedback/posts/posts.d.mts +16 -61
- package/resources/feedback/posts/posts.d.mts.map +1 -1
- package/resources/feedback/posts/posts.d.ts +16 -61
- package/resources/feedback/posts/posts.d.ts.map +1 -1
- package/resources/feedback/posts/posts.js +31 -7
- package/resources/feedback/posts/posts.js.map +1 -1
- package/resources/feedback/posts/posts.mjs +31 -7
- package/resources/feedback/posts/posts.mjs.map +1 -1
- package/resources/feedback/posts/voters.d.mts +82 -127
- package/resources/feedback/posts/voters.d.mts.map +1 -1
- package/resources/feedback/posts/voters.d.ts +82 -127
- package/resources/feedback/posts/voters.d.ts.map +1 -1
- package/resources/feedback/posts/voters.js +22 -6
- package/resources/feedback/posts/voters.js.map +1 -1
- package/resources/feedback/posts/voters.mjs +22 -6
- package/resources/feedback/posts/voters.mjs.map +1 -1
- package/resources/help-center/articles.d.mts +14 -32
- package/resources/help-center/articles.d.mts.map +1 -1
- package/resources/help-center/articles.d.ts +14 -32
- package/resources/help-center/articles.d.ts.map +1 -1
- package/resources/help-center/articles.js +31 -7
- package/resources/help-center/articles.js.map +1 -1
- package/resources/help-center/articles.mjs +31 -7
- package/resources/help-center/articles.mjs.map +1 -1
- package/resources/help-center/collections.d.mts +14 -33
- package/resources/help-center/collections.d.mts.map +1 -1
- package/resources/help-center/collections.d.ts +14 -33
- package/resources/help-center/collections.d.ts.map +1 -1
- package/resources/help-center/collections.js +31 -8
- package/resources/help-center/collections.js.map +1 -1
- package/resources/help-center/collections.mjs +31 -8
- package/resources/help-center/collections.mjs.map +1 -1
- package/resources/help-center/help-center.d.mts +8 -8
- package/resources/help-center/help-center.d.mts.map +1 -1
- package/resources/help-center/help-center.d.ts +8 -8
- package/resources/help-center/help-center.d.ts.map +1 -1
- package/resources/help-center/help-center.mjs.map +1 -1
- package/resources/help-center/help-centers.d.mts +11 -30
- package/resources/help-center/help-centers.d.mts.map +1 -1
- package/resources/help-center/help-centers.d.ts +11 -30
- package/resources/help-center/help-centers.d.ts.map +1 -1
- package/resources/help-center/help-centers.js +16 -5
- package/resources/help-center/help-centers.js.map +1 -1
- package/resources/help-center/help-centers.mjs +16 -5
- package/resources/help-center/help-centers.mjs.map +1 -1
- package/resources/help-center/index.d.mts +4 -4
- package/resources/help-center/index.d.mts.map +1 -1
- package/resources/help-center/index.d.ts +4 -4
- package/resources/help-center/index.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.d.mts +15 -34
- package/resources/help-center/redirect-rules.d.mts.map +1 -1
- package/resources/help-center/redirect-rules.d.ts +15 -34
- package/resources/help-center/redirect-rules.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.js +36 -9
- package/resources/help-center/redirect-rules.js.map +1 -1
- package/resources/help-center/redirect-rules.mjs +36 -9
- package/resources/help-center/redirect-rules.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/organization/admins.d.mts +3 -3
- package/resources/organization/admins.d.mts.map +1 -1
- package/resources/organization/admins.d.ts +3 -3
- package/resources/organization/admins.d.ts.map +1 -1
- package/resources/organization/admins.js +15 -3
- package/resources/organization/admins.js.map +1 -1
- package/resources/organization/admins.mjs +15 -3
- package/resources/organization/admins.mjs.map +1 -1
- package/resources/organization/brands.d.mts +7 -28
- package/resources/organization/brands.d.mts.map +1 -1
- package/resources/organization/brands.d.ts +7 -28
- package/resources/organization/brands.d.ts.map +1 -1
- package/resources/organization/brands.js +12 -3
- package/resources/organization/brands.js.map +1 -1
- package/resources/organization/brands.mjs +12 -3
- package/resources/organization/brands.mjs.map +1 -1
- package/resources/organization/index.d.mts +1 -1
- package/resources/organization/index.d.mts.map +1 -1
- package/resources/organization/index.d.ts +1 -1
- package/resources/organization/index.d.ts.map +1 -1
- package/resources/organization/organization.d.mts +2 -2
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +2 -2
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs.map +1 -1
- package/resources/organization/teams.d.mts +2 -2
- package/resources/organization/teams.d.mts.map +1 -1
- package/resources/organization/teams.d.ts +2 -2
- package/resources/organization/teams.d.ts.map +1 -1
- package/resources/organization/teams.js +10 -2
- package/resources/organization/teams.js.map +1 -1
- package/resources/organization/teams.mjs +10 -2
- package/resources/organization/teams.mjs.map +1 -1
- package/resources/support/conversation-tags.d.mts +4 -4
- package/resources/support/conversation-tags.d.mts.map +1 -1
- package/resources/support/conversation-tags.d.ts +4 -4
- package/resources/support/conversation-tags.d.ts.map +1 -1
- package/resources/support/conversation-tags.js +20 -4
- package/resources/support/conversation-tags.js.map +1 -1
- package/resources/support/conversation-tags.mjs +20 -4
- package/resources/support/conversation-tags.mjs.map +1 -1
- package/resources/support/conversations/conversations.d.mts +17 -36
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +17 -36
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +41 -10
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +41 -10
- package/resources/support/conversations/conversations.mjs.map +1 -1
- package/resources/support/conversations/index.d.mts +1 -1
- package/resources/support/conversations/index.d.mts.map +1 -1
- package/resources/support/conversations/index.d.ts +1 -1
- package/resources/support/conversations/index.d.ts.map +1 -1
- package/resources/support/conversations/participants.d.mts +2 -2
- package/resources/support/conversations/participants.d.mts.map +1 -1
- package/resources/support/conversations/participants.d.ts +2 -2
- package/resources/support/conversations/participants.d.ts.map +1 -1
- package/resources/support/conversations/participants.js +10 -2
- package/resources/support/conversations/participants.js.map +1 -1
- package/resources/support/conversations/participants.mjs +10 -2
- package/resources/support/conversations/participants.mjs.map +1 -1
- package/resources/support/conversations/tags.d.mts +2 -2
- package/resources/support/conversations/tags.d.mts.map +1 -1
- package/resources/support/conversations/tags.d.ts +2 -2
- package/resources/support/conversations/tags.d.ts.map +1 -1
- package/resources/support/conversations/tags.js +10 -2
- package/resources/support/conversations/tags.js.map +1 -1
- package/resources/support/conversations/tags.mjs +10 -2
- package/resources/support/conversations/tags.mjs.map +1 -1
- package/resources/support/index.d.mts +2 -2
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +2 -2
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/support.d.mts +4 -4
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +4 -4
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/support.mjs.map +1 -1
- package/resources/support/tickets/categories.d.mts +2 -2
- package/resources/support/tickets/categories.d.mts.map +1 -1
- package/resources/support/tickets/categories.d.ts +2 -2
- package/resources/support/tickets/categories.d.ts.map +1 -1
- package/resources/support/tickets/categories.js +10 -2
- package/resources/support/tickets/categories.js.map +1 -1
- package/resources/support/tickets/categories.mjs +10 -2
- package/resources/support/tickets/categories.mjs.map +1 -1
- package/resources/support/tickets/custom-fields.d.mts +2 -2
- package/resources/support/tickets/custom-fields.d.mts.map +1 -1
- package/resources/support/tickets/custom-fields.d.ts +2 -2
- package/resources/support/tickets/custom-fields.d.ts.map +1 -1
- package/resources/support/tickets/custom-fields.js +10 -2
- package/resources/support/tickets/custom-fields.js.map +1 -1
- package/resources/support/tickets/custom-fields.mjs +10 -2
- package/resources/support/tickets/custom-fields.mjs.map +1 -1
- package/resources/support/tickets/index.d.mts +1 -1
- package/resources/support/tickets/index.d.mts.map +1 -1
- package/resources/support/tickets/index.d.ts +1 -1
- package/resources/support/tickets/index.d.ts.map +1 -1
- package/resources/support/tickets/statuses.d.mts +2 -2
- package/resources/support/tickets/statuses.d.mts.map +1 -1
- package/resources/support/tickets/statuses.d.ts +2 -2
- package/resources/support/tickets/statuses.d.ts.map +1 -1
- package/resources/support/tickets/statuses.js +10 -2
- package/resources/support/tickets/statuses.js.map +1 -1
- package/resources/support/tickets/statuses.mjs +10 -2
- package/resources/support/tickets/statuses.mjs.map +1 -1
- package/resources/support/tickets/tickets.d.mts +16 -34
- package/resources/support/tickets/tickets.d.mts.map +1 -1
- package/resources/support/tickets/tickets.d.ts +16 -34
- package/resources/support/tickets/tickets.d.ts.map +1 -1
- package/resources/support/tickets/tickets.js +36 -8
- package/resources/support/tickets/tickets.js.map +1 -1
- package/resources/support/tickets/tickets.mjs +36 -8
- package/resources/support/tickets/tickets.mjs.map +1 -1
- package/resources/surveys.d.mts +37 -82
- package/resources/surveys.d.mts.map +1 -1
- package/resources/surveys.d.ts +37 -82
- package/resources/surveys.d.ts.map +1 -1
- package/resources/surveys.js +19 -6
- package/resources/surveys.js.map +1 -1
- package/resources/surveys.mjs +19 -6
- package/resources/surveys.mjs.map +1 -1
- package/resources/users/companies/companies.d.mts +14 -33
- package/resources/users/companies/companies.d.mts.map +1 -1
- package/resources/users/companies/companies.d.ts +14 -33
- package/resources/users/companies/companies.d.ts.map +1 -1
- package/resources/users/companies/companies.js +31 -7
- package/resources/users/companies/companies.js.map +1 -1
- package/resources/users/companies/companies.mjs +31 -7
- package/resources/users/companies/companies.mjs.map +1 -1
- package/resources/users/companies/contacts.d.mts +14 -19
- package/resources/users/companies/contacts.d.mts.map +1 -1
- package/resources/users/companies/contacts.d.ts +14 -19
- package/resources/users/companies/contacts.d.ts.map +1 -1
- package/resources/users/companies/contacts.js +23 -8
- package/resources/users/companies/contacts.js.map +1 -1
- package/resources/users/companies/contacts.mjs +23 -8
- package/resources/users/companies/contacts.mjs.map +1 -1
- package/resources/users/companies/index.d.mts +1 -1
- package/resources/users/companies/index.d.mts.map +1 -1
- package/resources/users/companies/index.d.ts +1 -1
- package/resources/users/companies/index.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.d.mts +2 -2
- package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.d.ts +2 -2
- package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.js +10 -2
- package/resources/users/contacts/by-user-id/by-user-id.js.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.mjs +10 -2
- package/resources/users/contacts/by-user-id/by-user-id.mjs.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.d.mts +2 -2
- package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.d.ts +2 -2
- package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.js +10 -2
- package/resources/users/contacts/by-user-id/email-preferences.js.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.mjs +10 -2
- package/resources/users/contacts/by-user-id/email-preferences.mjs.map +1 -1
- package/resources/users/contacts/contacts.d.mts +15 -19
- package/resources/users/contacts/contacts.d.mts.map +1 -1
- package/resources/users/contacts/contacts.d.ts +15 -19
- package/resources/users/contacts/contacts.d.ts.map +1 -1
- package/resources/users/contacts/contacts.js +36 -8
- package/resources/users/contacts/contacts.js.map +1 -1
- package/resources/users/contacts/contacts.mjs +36 -8
- package/resources/users/contacts/contacts.mjs.map +1 -1
- package/resources/users/contacts/email-preferences.d.mts +2 -2
- package/resources/users/contacts/email-preferences.d.mts.map +1 -1
- package/resources/users/contacts/email-preferences.d.ts +2 -2
- package/resources/users/contacts/email-preferences.d.ts.map +1 -1
- package/resources/users/contacts/email-preferences.js +10 -2
- package/resources/users/contacts/email-preferences.js.map +1 -1
- package/resources/users/contacts/email-preferences.mjs +10 -2
- package/resources/users/contacts/email-preferences.mjs.map +1 -1
- package/resources/users/contacts/index.d.mts +1 -1
- package/resources/users/contacts/index.d.mts.map +1 -1
- package/resources/users/contacts/index.d.ts +1 -1
- package/resources/users/contacts/index.d.ts.map +1 -1
- package/resources/users/contacts/index.js.map +1 -1
- package/resources/users/contacts/index.mjs.map +1 -1
- package/resources/users/index.d.mts +2 -2
- package/resources/users/index.d.mts.map +1 -1
- package/resources/users/index.d.ts +2 -2
- package/resources/users/index.d.ts.map +1 -1
- package/resources/users/index.js.map +1 -1
- package/resources/users/index.mjs.map +1 -1
- package/resources/users/users.d.mts +4 -4
- package/resources/users/users.d.mts.map +1 -1
- package/resources/users/users.d.ts +4 -4
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs.map +1 -1
- package/resources/webhooks.d.mts +15 -33
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +15 -33
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +36 -8
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +36 -8
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +41 -10
- package/src/core/pagination.ts +157 -0
- package/src/index.ts +1 -0
- package/src/pagination.ts +2 -0
- package/src/resources/changelogs/changelogs.ts +53 -78
- package/src/resources/changelogs/index.ts +1 -1
- package/src/resources/changelogs/subscribers.ts +12 -4
- package/src/resources/feedback/boards.ts +12 -4
- package/src/resources/feedback/comments.ts +47 -76
- package/src/resources/feedback/custom-fields.ts +12 -4
- package/src/resources/feedback/feedback.ts +4 -4
- package/src/resources/feedback/index.ts +2 -2
- package/src/resources/feedback/post-statuses.ts +12 -4
- package/src/resources/feedback/posts/index.ts +2 -1
- package/src/resources/feedback/posts/posts.ts +43 -75
- package/src/resources/feedback/posts/voters.ts +105 -146
- package/src/resources/help-center/articles.ts +41 -43
- package/src/resources/help-center/collections.ts +41 -44
- package/src/resources/help-center/help-center.ts +8 -8
- package/src/resources/help-center/help-centers.ts +23 -38
- package/src/resources/help-center/index.ts +4 -4
- package/src/resources/help-center/redirect-rules.ts +47 -46
- package/src/resources/index.ts +6 -5
- package/src/resources/organization/admins.ts +18 -6
- package/src/resources/organization/brands.ts +19 -36
- package/src/resources/organization/index.ts +1 -1
- package/src/resources/organization/organization.ts +2 -2
- package/src/resources/organization/teams.ts +12 -4
- package/src/resources/support/conversation-tags.ts +24 -8
- package/src/resources/support/conversations/conversations.ts +54 -49
- package/src/resources/support/conversations/index.ts +1 -1
- package/src/resources/support/conversations/participants.ts +12 -4
- package/src/resources/support/conversations/tags.ts +12 -4
- package/src/resources/support/index.ts +2 -2
- package/src/resources/support/support.ts +4 -4
- package/src/resources/support/tickets/categories.ts +12 -4
- package/src/resources/support/tickets/custom-fields.ts +12 -4
- package/src/resources/support/tickets/index.ts +1 -1
- package/src/resources/support/tickets/statuses.ts +12 -4
- package/src/resources/support/tickets/tickets.ts +48 -46
- package/src/resources/surveys.ts +71 -107
- package/src/resources/users/companies/companies.ts +41 -44
- package/src/resources/users/companies/contacts.ts +41 -31
- package/src/resources/users/companies/index.ts +1 -1
- package/src/resources/users/contacts/by-user-id/by-user-id.ts +12 -4
- package/src/resources/users/contacts/by-user-id/email-preferences.ts +12 -4
- package/src/resources/users/contacts/contacts.ts +50 -27
- package/src/resources/users/contacts/email-preferences.ts +12 -4
- package/src/resources/users/contacts/index.ts +1 -0
- package/src/resources/users/index.ts +2 -1
- package/src/resources/users/users.ts +4 -2
- package/src/resources/webhooks.ts +47 -45
- 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
|
@@ -72,7 +72,11 @@ export class EmailPreferences extends APIResource {
|
|
|
72
72
|
return this._client.get(path`/v2/contacts/by-user-id/${userID}/email-preferences`, {
|
|
73
73
|
...options,
|
|
74
74
|
headers: buildHeaders([
|
|
75
|
-
{
|
|
75
|
+
{
|
|
76
|
+
...(featurebaseVersion?.toString() != null ?
|
|
77
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
78
|
+
: undefined),
|
|
79
|
+
},
|
|
76
80
|
options?.headers,
|
|
77
81
|
]),
|
|
78
82
|
});
|
|
@@ -177,7 +181,11 @@ export class EmailPreferences extends APIResource {
|
|
|
177
181
|
body,
|
|
178
182
|
...options,
|
|
179
183
|
headers: buildHeaders([
|
|
180
|
-
{
|
|
184
|
+
{
|
|
185
|
+
...(featurebaseVersion?.toString() != null ?
|
|
186
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
187
|
+
: undefined),
|
|
188
|
+
},
|
|
181
189
|
options?.headers,
|
|
182
190
|
]),
|
|
183
191
|
});
|
|
@@ -189,7 +197,7 @@ export interface EmailPreferenceRetrieveParams {
|
|
|
189
197
|
* API version for this request. Defaults to your organization's configured API
|
|
190
198
|
* version if not specified.
|
|
191
199
|
*/
|
|
192
|
-
'Featurebase-Version'?:
|
|
200
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
193
201
|
}
|
|
194
202
|
|
|
195
203
|
export interface EmailPreferenceUpdateParams {
|
|
@@ -202,7 +210,7 @@ export interface EmailPreferenceUpdateParams {
|
|
|
202
210
|
* Header param: API version for this request. Defaults to your organization's
|
|
203
211
|
* configured API version if not specified.
|
|
204
212
|
*/
|
|
205
|
-
'Featurebase-Version'?:
|
|
213
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
206
214
|
}
|
|
207
215
|
|
|
208
216
|
export namespace EmailPreferenceUpdateParams {
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
ByUserIDRetrieveResponse,
|
|
21
21
|
} from './by-user-id/by-user-id';
|
|
22
22
|
import { APIPromise } from '../../../core/api-promise';
|
|
23
|
+
import { CursorPage, type CursorPageParams, PagePromise } from '../../../core/pagination';
|
|
23
24
|
import { buildHeaders } from '../../../internal/headers';
|
|
24
25
|
import { RequestOptions } from '../../../internal/request-options';
|
|
25
26
|
import { path } from '../../../internal/utils/path';
|
|
@@ -92,7 +93,11 @@ export class Contacts extends APIResource {
|
|
|
92
93
|
return this._client.get(path`/v2/contacts/${id}`, {
|
|
93
94
|
...options,
|
|
94
95
|
headers: buildHeaders([
|
|
95
|
-
{
|
|
96
|
+
{
|
|
97
|
+
...(featurebaseVersion?.toString() != null ?
|
|
98
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
99
|
+
: undefined),
|
|
100
|
+
},
|
|
96
101
|
options?.headers,
|
|
97
102
|
]),
|
|
98
103
|
});
|
|
@@ -157,16 +162,26 @@ export class Contacts extends APIResource {
|
|
|
157
162
|
*
|
|
158
163
|
* @example
|
|
159
164
|
* ```ts
|
|
160
|
-
*
|
|
165
|
+
* // Automatically fetches more pages as needed.
|
|
166
|
+
* for await (const contact of client.users.contacts.list()) {
|
|
167
|
+
* // ...
|
|
168
|
+
* }
|
|
161
169
|
* ```
|
|
162
170
|
*/
|
|
163
|
-
list(
|
|
171
|
+
list(
|
|
172
|
+
params: ContactListParams | null | undefined = {},
|
|
173
|
+
options?: RequestOptions,
|
|
174
|
+
): PagePromise<ContactListDataCursorPage, ContactList.Data> {
|
|
164
175
|
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
165
|
-
return this._client.
|
|
176
|
+
return this._client.getAPIList('/v2/contacts', CursorPage<ContactList.Data>, {
|
|
166
177
|
query,
|
|
167
178
|
...options,
|
|
168
179
|
headers: buildHeaders([
|
|
169
|
-
{
|
|
180
|
+
{
|
|
181
|
+
...(featurebaseVersion?.toString() != null ?
|
|
182
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
183
|
+
: undefined),
|
|
184
|
+
},
|
|
170
185
|
options?.headers,
|
|
171
186
|
]),
|
|
172
187
|
});
|
|
@@ -228,7 +243,11 @@ export class Contacts extends APIResource {
|
|
|
228
243
|
return this._client.delete(path`/v2/contacts/${id}`, {
|
|
229
244
|
...options,
|
|
230
245
|
headers: buildHeaders([
|
|
231
|
-
{
|
|
246
|
+
{
|
|
247
|
+
...(featurebaseVersion?.toString() != null ?
|
|
248
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
249
|
+
: undefined),
|
|
250
|
+
},
|
|
232
251
|
options?.headers,
|
|
233
252
|
]),
|
|
234
253
|
});
|
|
@@ -295,7 +314,11 @@ export class Contacts extends APIResource {
|
|
|
295
314
|
return this._client.post(path`/v2/contacts/${id}/block`, {
|
|
296
315
|
...options,
|
|
297
316
|
headers: buildHeaders([
|
|
298
|
-
{
|
|
317
|
+
{
|
|
318
|
+
...(featurebaseVersion?.toString() != null ?
|
|
319
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
320
|
+
: undefined),
|
|
321
|
+
},
|
|
299
322
|
options?.headers,
|
|
300
323
|
]),
|
|
301
324
|
});
|
|
@@ -405,7 +428,11 @@ export class Contacts extends APIResource {
|
|
|
405
428
|
body,
|
|
406
429
|
...options,
|
|
407
430
|
headers: buildHeaders([
|
|
408
|
-
{
|
|
431
|
+
{
|
|
432
|
+
...(featurebaseVersion?.toString() != null ?
|
|
433
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
434
|
+
: undefined),
|
|
435
|
+
},
|
|
409
436
|
options?.headers,
|
|
410
437
|
]),
|
|
411
438
|
});
|
|
@@ -471,13 +498,19 @@ export class Contacts extends APIResource {
|
|
|
471
498
|
return this._client.post(path`/v2/contacts/${id}/unblock`, {
|
|
472
499
|
...options,
|
|
473
500
|
headers: buildHeaders([
|
|
474
|
-
{
|
|
501
|
+
{
|
|
502
|
+
...(featurebaseVersion?.toString() != null ?
|
|
503
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
504
|
+
: undefined),
|
|
505
|
+
},
|
|
475
506
|
options?.headers,
|
|
476
507
|
]),
|
|
477
508
|
});
|
|
478
509
|
}
|
|
479
510
|
}
|
|
480
511
|
|
|
512
|
+
export type ContactListDataCursorPage = CursorPage<ContactList.Data>;
|
|
513
|
+
|
|
481
514
|
/**
|
|
482
515
|
* User who submitted the response
|
|
483
516
|
*/
|
|
@@ -668,31 +701,20 @@ export interface ContactRetrieveParams {
|
|
|
668
701
|
* API version for this request. Defaults to your organization's configured API
|
|
669
702
|
* version if not specified.
|
|
670
703
|
*/
|
|
671
|
-
'Featurebase-Version'?:
|
|
704
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
672
705
|
}
|
|
673
706
|
|
|
674
|
-
export interface ContactListParams {
|
|
707
|
+
export interface ContactListParams extends CursorPageParams {
|
|
675
708
|
/**
|
|
676
709
|
* Query param: Filter contacts by type. Defaults to "customer".
|
|
677
710
|
*/
|
|
678
711
|
contactType?: 'customer' | 'lead' | 'all';
|
|
679
712
|
|
|
680
|
-
/**
|
|
681
|
-
* Query param: An opaque cursor for pagination. Use the nextCursor value from a
|
|
682
|
-
* previous response to fetch the next page of results.
|
|
683
|
-
*/
|
|
684
|
-
cursor?: string;
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* Query param: A limit on the number of objects to be returned, between 1 and 100.
|
|
688
|
-
*/
|
|
689
|
-
limit?: number;
|
|
690
|
-
|
|
691
713
|
/**
|
|
692
714
|
* Header param: API version for this request. Defaults to your organization's
|
|
693
715
|
* configured API version if not specified.
|
|
694
716
|
*/
|
|
695
|
-
'Featurebase-Version'?:
|
|
717
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
696
718
|
}
|
|
697
719
|
|
|
698
720
|
export interface ContactDeleteParams {
|
|
@@ -700,7 +722,7 @@ export interface ContactDeleteParams {
|
|
|
700
722
|
* API version for this request. Defaults to your organization's configured API
|
|
701
723
|
* version if not specified.
|
|
702
724
|
*/
|
|
703
|
-
'Featurebase-Version'?:
|
|
725
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
704
726
|
}
|
|
705
727
|
|
|
706
728
|
export interface ContactBlockParams {
|
|
@@ -708,7 +730,7 @@ export interface ContactBlockParams {
|
|
|
708
730
|
* API version for this request. Defaults to your organization's configured API
|
|
709
731
|
* version if not specified.
|
|
710
732
|
*/
|
|
711
|
-
'Featurebase-Version'?:
|
|
733
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
712
734
|
}
|
|
713
735
|
|
|
714
736
|
export interface ContactCreateOrUpdateParams {
|
|
@@ -779,7 +801,7 @@ export interface ContactCreateOrUpdateParams {
|
|
|
779
801
|
* Header param: API version for this request. Defaults to your organization's
|
|
780
802
|
* configured API version if not specified.
|
|
781
803
|
*/
|
|
782
|
-
'Featurebase-Version'?:
|
|
804
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
783
805
|
}
|
|
784
806
|
|
|
785
807
|
export namespace ContactCreateOrUpdateParams {
|
|
@@ -868,7 +890,7 @@ export interface ContactUnblockParams {
|
|
|
868
890
|
* API version for this request. Defaults to your organization's configured API
|
|
869
891
|
* version if not specified.
|
|
870
892
|
*/
|
|
871
|
-
'Featurebase-Version'?:
|
|
893
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
872
894
|
}
|
|
873
895
|
|
|
874
896
|
Contacts.ByUserID = ByUserID;
|
|
@@ -883,6 +905,7 @@ export declare namespace Contacts {
|
|
|
883
905
|
type ContactBlockResponse as ContactBlockResponse,
|
|
884
906
|
type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse,
|
|
885
907
|
type ContactUnblockResponse as ContactUnblockResponse,
|
|
908
|
+
type ContactListDataCursorPage as ContactListDataCursorPage,
|
|
886
909
|
type ContactRetrieveParams as ContactRetrieveParams,
|
|
887
910
|
type ContactListParams as ContactListParams,
|
|
888
911
|
type ContactDeleteParams as ContactDeleteParams,
|
|
@@ -90,7 +90,11 @@ export class EmailPreferences extends APIResource {
|
|
|
90
90
|
return this._client.get(path`/v2/contacts/${id}/email-preferences`, {
|
|
91
91
|
...options,
|
|
92
92
|
headers: buildHeaders([
|
|
93
|
-
{
|
|
93
|
+
{
|
|
94
|
+
...(featurebaseVersion?.toString() != null ?
|
|
95
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
96
|
+
: undefined),
|
|
97
|
+
},
|
|
94
98
|
options?.headers,
|
|
95
99
|
]),
|
|
96
100
|
});
|
|
@@ -220,7 +224,11 @@ export class EmailPreferences extends APIResource {
|
|
|
220
224
|
body,
|
|
221
225
|
...options,
|
|
222
226
|
headers: buildHeaders([
|
|
223
|
-
{
|
|
227
|
+
{
|
|
228
|
+
...(featurebaseVersion?.toString() != null ?
|
|
229
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
230
|
+
: undefined),
|
|
231
|
+
},
|
|
224
232
|
options?.headers,
|
|
225
233
|
]),
|
|
226
234
|
});
|
|
@@ -342,7 +350,7 @@ export interface EmailPreferenceRetrieveParams {
|
|
|
342
350
|
* API version for this request. Defaults to your organization's configured API
|
|
343
351
|
* version if not specified.
|
|
344
352
|
*/
|
|
345
|
-
'Featurebase-Version'?:
|
|
353
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
346
354
|
}
|
|
347
355
|
|
|
348
356
|
export interface EmailPreferenceUpdateParams {
|
|
@@ -355,7 +363,7 @@ export interface EmailPreferenceUpdateParams {
|
|
|
355
363
|
* Header param: API version for this request. Defaults to your organization's
|
|
356
364
|
* configured API version if not specified.
|
|
357
365
|
*/
|
|
358
|
-
'Featurebase-Version'?:
|
|
366
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
359
367
|
}
|
|
360
368
|
|
|
361
369
|
export namespace EmailPreferenceUpdateParams {
|
|
@@ -4,12 +4,12 @@ export {
|
|
|
4
4
|
Companies,
|
|
5
5
|
type Company,
|
|
6
6
|
type DeletedCompany,
|
|
7
|
-
type CompanyListResponse,
|
|
8
7
|
type CompanyRetrieveParams,
|
|
9
8
|
type CompanyListParams,
|
|
10
9
|
type CompanyDeleteParams,
|
|
11
10
|
type CompanyCreateOrUpdateParams,
|
|
12
11
|
type CompanyDeleteByCompanyIDParams,
|
|
12
|
+
type CompaniesCursorPage,
|
|
13
13
|
} from './companies/index';
|
|
14
14
|
export {
|
|
15
15
|
Contacts,
|
|
@@ -26,5 +26,6 @@ export {
|
|
|
26
26
|
type ContactBlockParams,
|
|
27
27
|
type ContactCreateOrUpdateParams,
|
|
28
28
|
type ContactUnblockParams,
|
|
29
|
+
type ContactListDataCursorPage,
|
|
29
30
|
} from './contacts/index';
|
|
30
31
|
export { Users } from './users';
|
|
@@ -4,12 +4,12 @@ import { APIResource } from '../../core/resource';
|
|
|
4
4
|
import * as CompaniesAPI from './companies/companies';
|
|
5
5
|
import {
|
|
6
6
|
Companies,
|
|
7
|
+
CompaniesCursorPage,
|
|
7
8
|
Company,
|
|
8
9
|
CompanyCreateOrUpdateParams,
|
|
9
10
|
CompanyDeleteByCompanyIDParams,
|
|
10
11
|
CompanyDeleteParams,
|
|
11
12
|
CompanyListParams,
|
|
12
|
-
CompanyListResponse,
|
|
13
13
|
CompanyRetrieveParams,
|
|
14
14
|
DeletedCompany,
|
|
15
15
|
} from './companies/companies';
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
ContactCreateOrUpdateResponse,
|
|
23
23
|
ContactDeleteParams,
|
|
24
24
|
ContactList,
|
|
25
|
+
ContactListDataCursorPage,
|
|
25
26
|
ContactListParams,
|
|
26
27
|
ContactRetrieveParams,
|
|
27
28
|
ContactRetrieveResponse,
|
|
@@ -49,6 +50,7 @@ export declare namespace Users {
|
|
|
49
50
|
type ContactBlockResponse as ContactBlockResponse,
|
|
50
51
|
type ContactCreateOrUpdateResponse as ContactCreateOrUpdateResponse,
|
|
51
52
|
type ContactUnblockResponse as ContactUnblockResponse,
|
|
53
|
+
type ContactListDataCursorPage as ContactListDataCursorPage,
|
|
52
54
|
type ContactRetrieveParams as ContactRetrieveParams,
|
|
53
55
|
type ContactListParams as ContactListParams,
|
|
54
56
|
type ContactDeleteParams as ContactDeleteParams,
|
|
@@ -61,7 +63,7 @@ export declare namespace Users {
|
|
|
61
63
|
Companies as Companies,
|
|
62
64
|
type Company as Company,
|
|
63
65
|
type DeletedCompany as DeletedCompany,
|
|
64
|
-
type
|
|
66
|
+
type CompaniesCursorPage as CompaniesCursorPage,
|
|
65
67
|
type CompanyRetrieveParams as CompanyRetrieveParams,
|
|
66
68
|
type CompanyListParams as CompanyListParams,
|
|
67
69
|
type CompanyDeleteParams as CompanyDeleteParams,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { CursorPage, type CursorPageParams, PagePromise } from '../core/pagination';
|
|
5
6
|
import { buildHeaders } from '../internal/headers';
|
|
6
7
|
import { RequestOptions } from '../internal/request-options';
|
|
7
8
|
import { path } from '../internal/utils/path';
|
|
@@ -98,7 +99,11 @@ export class Webhooks extends APIResource {
|
|
|
98
99
|
body,
|
|
99
100
|
...options,
|
|
100
101
|
headers: buildHeaders([
|
|
101
|
-
{
|
|
102
|
+
{
|
|
103
|
+
...(featurebaseVersion?.toString() != null ?
|
|
104
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
105
|
+
: undefined),
|
|
106
|
+
},
|
|
102
107
|
options?.headers,
|
|
103
108
|
]),
|
|
104
109
|
});
|
|
@@ -182,7 +187,11 @@ export class Webhooks extends APIResource {
|
|
|
182
187
|
return this._client.get(path`/v2/webhooks/${id}`, {
|
|
183
188
|
...options,
|
|
184
189
|
headers: buildHeaders([
|
|
185
|
-
{
|
|
190
|
+
{
|
|
191
|
+
...(featurebaseVersion?.toString() != null ?
|
|
192
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
193
|
+
: undefined),
|
|
194
|
+
},
|
|
186
195
|
options?.headers,
|
|
187
196
|
]),
|
|
188
197
|
});
|
|
@@ -269,7 +278,11 @@ export class Webhooks extends APIResource {
|
|
|
269
278
|
body,
|
|
270
279
|
...options,
|
|
271
280
|
headers: buildHeaders([
|
|
272
|
-
{
|
|
281
|
+
{
|
|
282
|
+
...(featurebaseVersion?.toString() != null ?
|
|
283
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
284
|
+
: undefined),
|
|
285
|
+
},
|
|
273
286
|
options?.headers,
|
|
274
287
|
]),
|
|
275
288
|
});
|
|
@@ -331,19 +344,26 @@ export class Webhooks extends APIResource {
|
|
|
331
344
|
*
|
|
332
345
|
* @example
|
|
333
346
|
* ```ts
|
|
334
|
-
*
|
|
347
|
+
* // Automatically fetches more pages as needed.
|
|
348
|
+
* for await (const webhook of client.webhooks.list()) {
|
|
349
|
+
* // ...
|
|
350
|
+
* }
|
|
335
351
|
* ```
|
|
336
352
|
*/
|
|
337
353
|
list(
|
|
338
354
|
params: WebhookListParams | null | undefined = {},
|
|
339
355
|
options?: RequestOptions,
|
|
340
|
-
):
|
|
356
|
+
): PagePromise<WebhooksCursorPage, Webhook> {
|
|
341
357
|
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
342
|
-
return this._client.
|
|
358
|
+
return this._client.getAPIList('/v2/webhooks', CursorPage<Webhook>, {
|
|
343
359
|
query,
|
|
344
360
|
...options,
|
|
345
361
|
headers: buildHeaders([
|
|
346
|
-
{
|
|
362
|
+
{
|
|
363
|
+
...(featurebaseVersion?.toString() != null ?
|
|
364
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
365
|
+
: undefined),
|
|
366
|
+
},
|
|
347
367
|
options?.headers,
|
|
348
368
|
]),
|
|
349
369
|
});
|
|
@@ -394,7 +414,11 @@ export class Webhooks extends APIResource {
|
|
|
394
414
|
return this._client.delete(path`/v2/webhooks/${id}`, {
|
|
395
415
|
...options,
|
|
396
416
|
headers: buildHeaders([
|
|
397
|
-
{
|
|
417
|
+
{
|
|
418
|
+
...(featurebaseVersion?.toString() != null ?
|
|
419
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
420
|
+
: undefined),
|
|
421
|
+
},
|
|
398
422
|
options?.headers,
|
|
399
423
|
]),
|
|
400
424
|
});
|
|
@@ -453,13 +477,19 @@ export class Webhooks extends APIResource {
|
|
|
453
477
|
return this._client.post(path`/v2/webhooks/${id}/secret`, {
|
|
454
478
|
...options,
|
|
455
479
|
headers: buildHeaders([
|
|
456
|
-
{
|
|
480
|
+
{
|
|
481
|
+
...(featurebaseVersion?.toString() != null ?
|
|
482
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
483
|
+
: undefined),
|
|
484
|
+
},
|
|
457
485
|
options?.headers,
|
|
458
486
|
]),
|
|
459
487
|
});
|
|
460
488
|
}
|
|
461
489
|
}
|
|
462
490
|
|
|
491
|
+
export type WebhooksCursorPage = CursorPage<Webhook>;
|
|
492
|
+
|
|
463
493
|
export interface Webhook {
|
|
464
494
|
/**
|
|
465
495
|
* Unique identifier
|
|
@@ -625,23 +655,6 @@ export interface WebhookRequestConfigInput {
|
|
|
625
655
|
headers?: { [key: string]: string };
|
|
626
656
|
}
|
|
627
657
|
|
|
628
|
-
export interface WebhookListResponse {
|
|
629
|
-
/**
|
|
630
|
-
* Array of webhooks
|
|
631
|
-
*/
|
|
632
|
-
data: Array<Webhook>;
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* Cursor for fetching the next page (cursor-based pagination)
|
|
636
|
-
*/
|
|
637
|
-
nextCursor: string | null;
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* Object type identifier
|
|
641
|
-
*/
|
|
642
|
-
object: 'list';
|
|
643
|
-
}
|
|
644
|
-
|
|
645
658
|
export interface WebhookDeleteResponse {
|
|
646
659
|
/**
|
|
647
660
|
* Unique identifier of the deleted webhook
|
|
@@ -717,7 +730,7 @@ export interface WebhookCreateParams {
|
|
|
717
730
|
* Header param: API version for this request. Defaults to your organization's
|
|
718
731
|
* configured API version if not specified.
|
|
719
732
|
*/
|
|
720
|
-
'Featurebase-Version'?:
|
|
733
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
721
734
|
}
|
|
722
735
|
|
|
723
736
|
export interface WebhookRetrieveParams {
|
|
@@ -725,7 +738,7 @@ export interface WebhookRetrieveParams {
|
|
|
725
738
|
* API version for this request. Defaults to your organization's configured API
|
|
726
739
|
* version if not specified.
|
|
727
740
|
*/
|
|
728
|
-
'Featurebase-Version'?:
|
|
741
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
729
742
|
}
|
|
730
743
|
|
|
731
744
|
export interface WebhookUpdateParams {
|
|
@@ -791,21 +804,10 @@ export interface WebhookUpdateParams {
|
|
|
791
804
|
* Header param: API version for this request. Defaults to your organization's
|
|
792
805
|
* configured API version if not specified.
|
|
793
806
|
*/
|
|
794
|
-
'Featurebase-Version'?:
|
|
807
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
795
808
|
}
|
|
796
809
|
|
|
797
|
-
export interface WebhookListParams {
|
|
798
|
-
/**
|
|
799
|
-
* Query param: An opaque cursor for pagination. Use the nextCursor value from a
|
|
800
|
-
* previous response to fetch the next page of results.
|
|
801
|
-
*/
|
|
802
|
-
cursor?: string;
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* Query param: A limit on the number of objects to be returned, between 1 and 100.
|
|
806
|
-
*/
|
|
807
|
-
limit?: number;
|
|
808
|
-
|
|
810
|
+
export interface WebhookListParams extends CursorPageParams {
|
|
809
811
|
/**
|
|
810
812
|
* Query param: Filter webhooks by status
|
|
811
813
|
*/
|
|
@@ -815,7 +817,7 @@ export interface WebhookListParams {
|
|
|
815
817
|
* Header param: API version for this request. Defaults to your organization's
|
|
816
818
|
* configured API version if not specified.
|
|
817
819
|
*/
|
|
818
|
-
'Featurebase-Version'?:
|
|
820
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
819
821
|
}
|
|
820
822
|
|
|
821
823
|
export interface WebhookDeleteParams {
|
|
@@ -823,7 +825,7 @@ export interface WebhookDeleteParams {
|
|
|
823
825
|
* API version for this request. Defaults to your organization's configured API
|
|
824
826
|
* version if not specified.
|
|
825
827
|
*/
|
|
826
|
-
'Featurebase-Version'?:
|
|
828
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
827
829
|
}
|
|
828
830
|
|
|
829
831
|
export interface WebhookRefreshSecretParams {
|
|
@@ -831,15 +833,15 @@ export interface WebhookRefreshSecretParams {
|
|
|
831
833
|
* API version for this request. Defaults to your organization's configured API
|
|
832
834
|
* version if not specified.
|
|
833
835
|
*/
|
|
834
|
-
'Featurebase-Version'?:
|
|
836
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
835
837
|
}
|
|
836
838
|
|
|
837
839
|
export declare namespace Webhooks {
|
|
838
840
|
export {
|
|
839
841
|
type Webhook as Webhook,
|
|
840
842
|
type WebhookRequestConfigInput as WebhookRequestConfigInput,
|
|
841
|
-
type WebhookListResponse as WebhookListResponse,
|
|
842
843
|
type WebhookDeleteResponse as WebhookDeleteResponse,
|
|
844
|
+
type WebhooksCursorPage as WebhooksCursorPage,
|
|
843
845
|
type WebhookCreateParams as WebhookCreateParams,
|
|
844
846
|
type WebhookRetrieveParams as WebhookRetrieveParams,
|
|
845
847
|
type WebhookUpdateParams as WebhookUpdateParams,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.5.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.5.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.5.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.5.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|