featurebase-node 0.14.3 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/client.d.mts +11 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -5
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/audit-logs.d.mts +3 -3
- package/resources/audit-logs.d.mts.map +1 -1
- package/resources/audit-logs.d.ts +3 -3
- package/resources/audit-logs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.d.mts +116 -116
- package/resources/changelogs/changelogs.d.mts.map +1 -1
- package/resources/changelogs/changelogs.d.ts +116 -116
- package/resources/changelogs/changelogs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.js +74 -74
- package/resources/changelogs/changelogs.js.map +1 -1
- package/resources/changelogs/changelogs.mjs +74 -74
- package/resources/changelogs/changelogs.mjs.map +1 -1
- package/resources/changelogs/index.d.mts +1 -1
- package/resources/changelogs/index.d.mts.map +1 -1
- package/resources/changelogs/index.d.ts +1 -1
- package/resources/changelogs/index.d.ts.map +1 -1
- package/resources/changelogs/subscribers.d.mts +3 -3
- package/resources/changelogs/subscribers.d.mts.map +1 -1
- package/resources/changelogs/subscribers.d.ts +3 -3
- package/resources/changelogs/subscribers.d.ts.map +1 -1
- package/resources/conversation-attributes.d.mts +22 -17
- package/resources/conversation-attributes.d.mts.map +1 -1
- package/resources/conversation-attributes.d.ts +22 -17
- package/resources/conversation-attributes.d.ts.map +1 -1
- package/resources/conversation-attributes.js +19 -19
- package/resources/conversation-attributes.js.map +1 -1
- package/resources/conversation-attributes.mjs +19 -19
- package/resources/conversation-attributes.mjs.map +1 -1
- package/resources/feedback/boards.d.mts +19 -19
- package/resources/feedback/boards.d.mts.map +1 -1
- package/resources/feedback/boards.d.ts +19 -19
- package/resources/feedback/boards.d.ts.map +1 -1
- package/resources/feedback/boards.js +20 -20
- package/resources/feedback/boards.js.map +1 -1
- package/resources/feedback/boards.mjs +20 -20
- package/resources/feedback/boards.mjs.map +1 -1
- package/resources/feedback/comments.d.mts +113 -113
- package/resources/feedback/comments.d.mts.map +1 -1
- package/resources/feedback/comments.d.ts +113 -113
- package/resources/feedback/comments.d.ts.map +1 -1
- package/resources/feedback/comments.js +93 -93
- package/resources/feedback/comments.js.map +1 -1
- package/resources/feedback/comments.mjs +93 -93
- package/resources/feedback/comments.mjs.map +1 -1
- package/resources/feedback/custom-fields.d.mts +36 -36
- package/resources/feedback/custom-fields.d.mts.map +1 -1
- package/resources/feedback/custom-fields.d.ts +36 -36
- package/resources/feedback/custom-fields.d.ts.map +1 -1
- package/resources/feedback/custom-fields.js +36 -36
- package/resources/feedback/custom-fields.js.map +1 -1
- package/resources/feedback/custom-fields.mjs +36 -36
- package/resources/feedback/custom-fields.mjs.map +1 -1
- package/resources/feedback/feedback.d.mts +5 -5
- package/resources/feedback/feedback.d.mts.map +1 -1
- package/resources/feedback/feedback.d.ts +5 -5
- package/resources/feedback/feedback.d.ts.map +1 -1
- package/resources/feedback/index.d.mts +5 -5
- package/resources/feedback/index.d.mts.map +1 -1
- package/resources/feedback/index.d.ts +5 -5
- package/resources/feedback/index.d.ts.map +1 -1
- package/resources/feedback/post-statuses.d.mts +20 -20
- package/resources/feedback/post-statuses.d.mts.map +1 -1
- package/resources/feedback/post-statuses.d.ts +20 -20
- package/resources/feedback/post-statuses.d.ts.map +1 -1
- package/resources/feedback/post-statuses.js +23 -23
- package/resources/feedback/post-statuses.js.map +1 -1
- package/resources/feedback/post-statuses.mjs +23 -23
- package/resources/feedback/post-statuses.mjs.map +1 -1
- package/resources/feedback/posts/index.d.mts +1 -1
- package/resources/feedback/posts/index.d.mts.map +1 -1
- package/resources/feedback/posts/index.d.ts +1 -1
- package/resources/feedback/posts/index.d.ts.map +1 -1
- package/resources/feedback/posts/posts.d.mts +132 -132
- package/resources/feedback/posts/posts.d.mts.map +1 -1
- package/resources/feedback/posts/posts.d.ts +132 -132
- package/resources/feedback/posts/posts.d.ts.map +1 -1
- package/resources/feedback/posts/posts.js +107 -107
- package/resources/feedback/posts/posts.js.map +1 -1
- package/resources/feedback/posts/posts.mjs +107 -107
- package/resources/feedback/posts/posts.mjs.map +1 -1
- package/resources/feedback/posts/voters.d.mts +3 -3
- package/resources/feedback/posts/voters.d.mts.map +1 -1
- package/resources/feedback/posts/voters.d.ts +3 -3
- package/resources/feedback/posts/voters.d.ts.map +1 -1
- package/resources/help-center/articles.d.mts +213 -97
- package/resources/help-center/articles.d.mts.map +1 -1
- package/resources/help-center/articles.d.ts +213 -97
- package/resources/help-center/articles.d.ts.map +1 -1
- package/resources/help-center/articles.js +73 -73
- package/resources/help-center/articles.js.map +1 -1
- package/resources/help-center/articles.mjs +73 -73
- package/resources/help-center/articles.mjs.map +1 -1
- package/resources/help-center/collections.d.mts +158 -71
- package/resources/help-center/collections.d.mts.map +1 -1
- package/resources/help-center/collections.d.ts +158 -71
- package/resources/help-center/collections.d.ts.map +1 -1
- package/resources/help-center/collections.js +65 -65
- package/resources/help-center/collections.js.map +1 -1
- package/resources/help-center/collections.mjs +65 -65
- package/resources/help-center/collections.mjs.map +1 -1
- package/resources/help-center/help-center.d.mts +4 -4
- package/resources/help-center/help-center.d.mts.map +1 -1
- package/resources/help-center/help-center.d.ts +4 -4
- package/resources/help-center/help-center.d.ts.map +1 -1
- package/resources/help-center/help-centers.d.mts +77 -48
- package/resources/help-center/help-centers.d.mts.map +1 -1
- package/resources/help-center/help-centers.d.ts +77 -48
- package/resources/help-center/help-centers.d.ts.map +1 -1
- package/resources/help-center/help-centers.js +43 -43
- package/resources/help-center/help-centers.js.map +1 -1
- package/resources/help-center/help-centers.mjs +43 -43
- package/resources/help-center/help-centers.mjs.map +1 -1
- package/resources/help-center/index.d.mts +4 -4
- package/resources/help-center/index.d.mts.map +1 -1
- package/resources/help-center/index.d.ts +4 -4
- package/resources/help-center/index.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.d.mts +124 -124
- package/resources/help-center/redirect-rules.d.mts.map +1 -1
- package/resources/help-center/redirect-rules.d.ts +124 -124
- package/resources/help-center/redirect-rules.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.js +112 -112
- package/resources/help-center/redirect-rules.js.map +1 -1
- package/resources/help-center/redirect-rules.mjs +112 -112
- package/resources/help-center/redirect-rules.mjs.map +1 -1
- package/resources/index.d.mts +6 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/organization/admins.d.mts +26 -26
- package/resources/organization/admins.d.mts.map +1 -1
- package/resources/organization/admins.d.ts +26 -26
- package/resources/organization/admins.d.ts.map +1 -1
- package/resources/organization/admins.js +25 -25
- package/resources/organization/admins.js.map +1 -1
- package/resources/organization/admins.mjs +25 -25
- package/resources/organization/admins.mjs.map +1 -1
- package/resources/organization/brands.d.mts +52 -52
- package/resources/organization/brands.d.mts.map +1 -1
- package/resources/organization/brands.d.ts +52 -52
- package/resources/organization/brands.d.ts.map +1 -1
- package/resources/organization/brands.js +54 -54
- package/resources/organization/brands.js.map +1 -1
- package/resources/organization/brands.mjs +54 -54
- package/resources/organization/brands.mjs.map +1 -1
- package/resources/organization/index.d.mts +3 -3
- package/resources/organization/index.d.mts.map +1 -1
- package/resources/organization/index.d.ts +3 -3
- package/resources/organization/index.d.ts.map +1 -1
- package/resources/organization/organization.d.mts +3 -3
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +3 -3
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/teams.d.mts +47 -47
- package/resources/organization/teams.d.mts.map +1 -1
- package/resources/organization/teams.d.ts +47 -47
- package/resources/organization/teams.d.ts.map +1 -1
- package/resources/organization/teams.js +44 -44
- package/resources/organization/teams.js.map +1 -1
- package/resources/organization/teams.mjs +44 -44
- package/resources/organization/teams.mjs.map +1 -1
- package/resources/reports.d.mts +339 -223
- package/resources/reports.d.mts.map +1 -1
- package/resources/reports.d.ts +339 -223
- package/resources/reports.d.ts.map +1 -1
- package/resources/reports.js +114 -107
- package/resources/reports.js.map +1 -1
- package/resources/reports.mjs +114 -107
- package/resources/reports.mjs.map +1 -1
- package/resources/support/conversation-tags.d.mts +43 -43
- package/resources/support/conversation-tags.d.mts.map +1 -1
- package/resources/support/conversation-tags.d.ts +43 -43
- package/resources/support/conversation-tags.d.ts.map +1 -1
- package/resources/support/conversation-tags.js +32 -32
- package/resources/support/conversation-tags.js.map +1 -1
- package/resources/support/conversation-tags.mjs +32 -32
- package/resources/support/conversation-tags.mjs.map +1 -1
- package/resources/support/conversations/conversations.d.mts +363 -332
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +363 -332
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +293 -283
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +293 -283
- 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/index.d.mts +3 -3
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +3 -3
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/support.d.mts +3 -3
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +3 -3
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/tickets/categories.d.mts +20 -20
- package/resources/support/tickets/categories.d.mts.map +1 -1
- package/resources/support/tickets/categories.d.ts +20 -20
- package/resources/support/tickets/categories.d.ts.map +1 -1
- package/resources/support/tickets/categories.js +25 -25
- package/resources/support/tickets/categories.js.map +1 -1
- package/resources/support/tickets/categories.mjs +25 -25
- package/resources/support/tickets/categories.mjs.map +1 -1
- package/resources/support/tickets/custom-fields.d.mts +22 -22
- package/resources/support/tickets/custom-fields.d.mts.map +1 -1
- package/resources/support/tickets/custom-fields.d.ts +22 -22
- package/resources/support/tickets/custom-fields.d.ts.map +1 -1
- package/resources/support/tickets/custom-fields.js +19 -19
- package/resources/support/tickets/custom-fields.js.map +1 -1
- package/resources/support/tickets/custom-fields.mjs +19 -19
- package/resources/support/tickets/custom-fields.mjs.map +1 -1
- package/resources/support/tickets/index.d.mts +4 -4
- package/resources/support/tickets/index.d.mts.map +1 -1
- package/resources/support/tickets/index.d.ts +4 -4
- package/resources/support/tickets/index.d.ts.map +1 -1
- package/resources/support/tickets/statuses.d.mts +19 -19
- package/resources/support/tickets/statuses.d.mts.map +1 -1
- package/resources/support/tickets/statuses.d.ts +19 -19
- package/resources/support/tickets/statuses.d.ts.map +1 -1
- package/resources/support/tickets/statuses.js +21 -21
- package/resources/support/tickets/statuses.js.map +1 -1
- package/resources/support/tickets/statuses.mjs +21 -21
- package/resources/support/tickets/statuses.mjs.map +1 -1
- package/resources/support/tickets/tickets.d.mts +75 -75
- package/resources/support/tickets/tickets.d.mts.map +1 -1
- package/resources/support/tickets/tickets.d.ts +75 -75
- package/resources/support/tickets/tickets.d.ts.map +1 -1
- package/resources/support/tickets/tickets.js +44 -44
- package/resources/support/tickets/tickets.js.map +1 -1
- package/resources/support/tickets/tickets.mjs +44 -44
- package/resources/support/tickets/tickets.mjs.map +1 -1
- package/resources/surveys.d.mts +43 -43
- package/resources/surveys.d.mts.map +1 -1
- package/resources/surveys.d.ts +43 -43
- package/resources/surveys.d.ts.map +1 -1
- package/resources/surveys.js +44 -44
- package/resources/surveys.js.map +1 -1
- package/resources/surveys.mjs +44 -44
- package/resources/surveys.mjs.map +1 -1
- package/resources/training-data/files.d.mts +292 -0
- package/resources/training-data/files.d.mts.map +1 -0
- package/resources/training-data/files.d.ts +292 -0
- package/resources/training-data/files.d.ts.map +1 -0
- package/resources/training-data/files.js +171 -0
- package/resources/training-data/files.js.map +1 -0
- package/resources/training-data/files.mjs +167 -0
- package/resources/training-data/files.mjs.map +1 -0
- package/resources/training-data/index.d.mts +4 -0
- package/resources/training-data/index.d.mts.map +1 -0
- package/resources/training-data/index.d.ts +4 -0
- package/resources/training-data/index.d.ts.map +1 -0
- package/resources/training-data/index.js +11 -0
- package/resources/training-data/index.js.map +1 -0
- package/resources/training-data/index.mjs +5 -0
- package/resources/training-data/index.mjs.map +1 -0
- package/resources/training-data/qna.d.mts +370 -0
- package/resources/training-data/qna.d.mts.map +1 -0
- package/resources/training-data/qna.d.ts +370 -0
- package/resources/training-data/qna.d.ts.map +1 -0
- package/resources/training-data/qna.js +177 -0
- package/resources/training-data/qna.js.map +1 -0
- package/resources/training-data/qna.mjs +173 -0
- package/resources/training-data/qna.mjs.map +1 -0
- package/resources/training-data/training-data.d.mts +442 -0
- package/resources/training-data/training-data.d.mts.map +1 -0
- package/resources/training-data/training-data.d.ts +442 -0
- package/resources/training-data/training-data.d.ts.map +1 -0
- package/resources/training-data/training-data.js +105 -0
- package/resources/training-data/training-data.js.map +1 -0
- package/resources/training-data/training-data.mjs +100 -0
- package/resources/training-data/training-data.mjs.map +1 -0
- package/resources/training-data.d.mts +2 -0
- package/resources/training-data.d.mts.map +1 -0
- package/resources/training-data.d.ts +2 -0
- package/resources/training-data.d.ts.map +1 -0
- package/resources/training-data.js +6 -0
- package/resources/training-data.js.map +1 -0
- package/resources/training-data.mjs +3 -0
- package/resources/training-data.mjs.map +1 -0
- package/resources/users/companies/companies.d.mts +121 -130
- package/resources/users/companies/companies.d.mts.map +1 -1
- package/resources/users/companies/companies.d.ts +121 -130
- package/resources/users/companies/companies.d.ts.map +1 -1
- package/resources/users/companies/companies.js +125 -125
- package/resources/users/companies/companies.js.map +1 -1
- package/resources/users/companies/companies.mjs +125 -125
- package/resources/users/companies/companies.mjs.map +1 -1
- package/resources/users/companies/contacts.d.mts +3 -3
- package/resources/users/companies/contacts.d.mts.map +1 -1
- package/resources/users/companies/contacts.d.ts +3 -3
- package/resources/users/companies/contacts.d.ts.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/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/contacts.d.mts +249 -235
- package/resources/users/contacts/contacts.d.mts.map +1 -1
- package/resources/users/contacts/contacts.d.ts +249 -235
- package/resources/users/contacts/contacts.d.ts.map +1 -1
- package/resources/users/contacts/contacts.js +211 -184
- package/resources/users/contacts/contacts.js.map +1 -1
- package/resources/users/contacts/contacts.mjs +211 -184
- 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/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/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/users.d.mts +2 -2
- package/resources/users/users.d.mts.map +1 -1
- package/resources/users/users.d.ts +2 -2
- package/resources/users/users.d.ts.map +1 -1
- package/resources/webhooks.d.mts +83 -83
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +83 -83
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +77 -77
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +77 -77
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +26 -6
- package/src/resources/audit-logs.ts +19 -1
- package/src/resources/changelogs/changelogs.ts +320 -175
- package/src/resources/changelogs/index.ts +1 -1
- package/src/resources/changelogs/subscribers.ts +31 -2
- package/src/resources/conversation-attributes.ts +40 -34
- package/src/resources/feedback/boards.ts +30 -30
- package/src/resources/feedback/comments.ts +137 -137
- package/src/resources/feedback/custom-fields.ts +46 -46
- package/src/resources/feedback/feedback.ts +6 -6
- package/src/resources/feedback/index.ts +6 -6
- package/src/resources/feedback/post-statuses.ts +33 -33
- package/src/resources/feedback/posts/index.ts +2 -2
- package/src/resources/feedback/posts/posts.ts +176 -176
- package/src/resources/feedback/posts/voters.ts +3 -3
- package/src/resources/help-center/articles.ts +631 -109
- package/src/resources/help-center/collections.ts +349 -88
- package/src/resources/help-center/help-center.ts +5 -5
- package/src/resources/help-center/help-centers.ts +202 -57
- package/src/resources/help-center/index.ts +5 -5
- package/src/resources/help-center/redirect-rules.ts +294 -178
- package/src/resources/index.ts +13 -6
- package/src/resources/organization/admins.ts +36 -36
- package/src/resources/organization/brands.ts +68 -68
- package/src/resources/organization/index.ts +3 -3
- package/src/resources/organization/organization.ts +3 -3
- package/src/resources/organization/teams.ts +54 -54
- package/src/resources/reports.ts +462 -272
- package/src/resources/support/conversation-tags.ts +62 -62
- package/src/resources/support/conversations/conversations.ts +453 -417
- package/src/resources/support/conversations/index.ts +4 -4
- package/src/resources/support/conversations/participants.ts +2 -2
- package/src/resources/support/index.ts +7 -7
- package/src/resources/support/support.ts +7 -7
- package/src/resources/support/tickets/categories.ts +35 -35
- package/src/resources/support/tickets/custom-fields.ts +29 -29
- package/src/resources/support/tickets/index.ts +4 -4
- package/src/resources/support/tickets/statuses.ts +31 -31
- package/src/resources/support/tickets/tickets.ts +101 -101
- package/src/resources/surveys.ts +60 -60
- package/src/resources/training-data/files.ts +431 -0
- package/src/resources/training-data/index.ts +31 -0
- package/src/resources/training-data/qna.ts +514 -0
- package/src/resources/training-data/training-data.ts +603 -0
- package/src/resources/training-data.ts +3 -0
- package/src/resources/users/companies/companies.ts +158 -172
- package/src/resources/users/companies/contacts.ts +3 -3
- package/src/resources/users/companies/index.ts +2 -2
- package/src/resources/users/contacts/by-user-id/by-user-id.ts +2 -2
- package/src/resources/users/contacts/by-user-id/email-preferences.ts +2 -2
- package/src/resources/users/contacts/contacts.ts +284 -280
- package/src/resources/users/contacts/email-preferences.ts +2 -2
- package/src/resources/users/contacts/index.ts +3 -3
- package/src/resources/users/index.ts +5 -5
- package/src/resources/users/users.ts +5 -5
- package/src/resources/webhooks.ts +106 -100
- 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
|
@@ -10,32 +10,27 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class Admins extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* This endpoint returns all admins at once (typically a small list). No pagination
|
|
16
|
-
* is supported.
|
|
17
|
-
*
|
|
18
|
-
* ### Response Format
|
|
19
|
-
*
|
|
20
|
-
* Returns a list object with:
|
|
13
|
+
* Retrieves a single admin by their unique identifier.
|
|
21
14
|
*
|
|
22
|
-
*
|
|
23
|
-
* - `data` - Array of admin objects
|
|
24
|
-
* - `nextCursor` - Always null
|
|
15
|
+
* Returns the admin object if found and they belong to your organization.
|
|
25
16
|
*
|
|
26
|
-
* ###
|
|
17
|
+
* ### Response
|
|
27
18
|
*
|
|
28
|
-
*
|
|
19
|
+
* Returns an admin object with:
|
|
29
20
|
*
|
|
30
21
|
* - `id` - Unique admin identifier
|
|
31
22
|
* - `name` - Admin's display name
|
|
32
23
|
* - `email` - Admin's email address
|
|
33
24
|
* - `picture` - Profile picture URL
|
|
34
25
|
* - `roleId` - ID of the role assigned to this admin
|
|
26
|
+
*
|
|
27
|
+
* ### Errors
|
|
28
|
+
*
|
|
29
|
+
* - `404` - Admin not found or doesn't belong to your organization
|
|
35
30
|
*/
|
|
36
|
-
|
|
31
|
+
retrieve(id, params = {}, options) {
|
|
37
32
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
38
|
-
return this._client.get(
|
|
33
|
+
return this._client.get((0, path_1.path) `/v2/admins/${id}`, {
|
|
39
34
|
...options,
|
|
40
35
|
headers: (0, headers_1.buildHeaders)([
|
|
41
36
|
{
|
|
@@ -48,27 +43,32 @@ class Admins extends resource_1.APIResource {
|
|
|
48
43
|
});
|
|
49
44
|
}
|
|
50
45
|
/**
|
|
51
|
-
*
|
|
46
|
+
* Returns all admins for your organization.
|
|
52
47
|
*
|
|
53
|
-
*
|
|
48
|
+
* This endpoint returns all admins at once (typically a small list). No pagination
|
|
49
|
+
* is supported.
|
|
54
50
|
*
|
|
55
|
-
* ### Response
|
|
51
|
+
* ### Response Format
|
|
56
52
|
*
|
|
57
|
-
* Returns
|
|
53
|
+
* Returns a list object with:
|
|
54
|
+
*
|
|
55
|
+
* - `object` - Always "list"
|
|
56
|
+
* - `data` - Array of admin objects
|
|
57
|
+
* - `nextCursor` - Always null
|
|
58
|
+
*
|
|
59
|
+
* ### Admin Object
|
|
60
|
+
*
|
|
61
|
+
* Each admin includes:
|
|
58
62
|
*
|
|
59
63
|
* - `id` - Unique admin identifier
|
|
60
64
|
* - `name` - Admin's display name
|
|
61
65
|
* - `email` - Admin's email address
|
|
62
66
|
* - `picture` - Profile picture URL
|
|
63
67
|
* - `roleId` - ID of the role assigned to this admin
|
|
64
|
-
*
|
|
65
|
-
* ### Errors
|
|
66
|
-
*
|
|
67
|
-
* - `404` - Admin not found or doesn't belong to your organization
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
list(params = {}, options) {
|
|
70
70
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
71
|
-
return this._client.get(
|
|
71
|
+
return this._client.get('/v2/admins', {
|
|
72
72
|
...options,
|
|
73
73
|
headers: (0, headers_1.buildHeaders)([
|
|
74
74
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admins.js","sourceRoot":"","sources":["../../src/resources/organization/admins.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC
|
|
1
|
+
{"version":3,"file":"admins.js","sourceRoot":"","sources":["../../src/resources/organization/admins.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;;;;;;;;;OAkBG;IACH,QAAQ,CACN,EAAU,EACV,SAAiD,EAAE,EACnD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,cAAc,EAAE,EAAE,EAAE;YAC9C,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,Q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
|
|
@@ -7,32 +7,27 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export class Admins extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* This endpoint returns all admins at once (typically a small list). No pagination
|
|
13
|
-
* is supported.
|
|
14
|
-
*
|
|
15
|
-
* ### Response Format
|
|
16
|
-
*
|
|
17
|
-
* Returns a list object with:
|
|
10
|
+
* Retrieves a single admin by their unique identifier.
|
|
18
11
|
*
|
|
19
|
-
*
|
|
20
|
-
* - `data` - Array of admin objects
|
|
21
|
-
* - `nextCursor` - Always null
|
|
12
|
+
* Returns the admin object if found and they belong to your organization.
|
|
22
13
|
*
|
|
23
|
-
* ###
|
|
14
|
+
* ### Response
|
|
24
15
|
*
|
|
25
|
-
*
|
|
16
|
+
* Returns an admin object with:
|
|
26
17
|
*
|
|
27
18
|
* - `id` - Unique admin identifier
|
|
28
19
|
* - `name` - Admin's display name
|
|
29
20
|
* - `email` - Admin's email address
|
|
30
21
|
* - `picture` - Profile picture URL
|
|
31
22
|
* - `roleId` - ID of the role assigned to this admin
|
|
23
|
+
*
|
|
24
|
+
* ### Errors
|
|
25
|
+
*
|
|
26
|
+
* - `404` - Admin not found or doesn't belong to your organization
|
|
32
27
|
*/
|
|
33
|
-
|
|
28
|
+
retrieve(id, params = {}, options) {
|
|
34
29
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
35
|
-
return this._client.get(
|
|
30
|
+
return this._client.get(path `/v2/admins/${id}`, {
|
|
36
31
|
...options,
|
|
37
32
|
headers: buildHeaders([
|
|
38
33
|
{
|
|
@@ -45,27 +40,32 @@ export class Admins extends APIResource {
|
|
|
45
40
|
});
|
|
46
41
|
}
|
|
47
42
|
/**
|
|
48
|
-
*
|
|
43
|
+
* Returns all admins for your organization.
|
|
49
44
|
*
|
|
50
|
-
*
|
|
45
|
+
* This endpoint returns all admins at once (typically a small list). No pagination
|
|
46
|
+
* is supported.
|
|
51
47
|
*
|
|
52
|
-
* ### Response
|
|
48
|
+
* ### Response Format
|
|
53
49
|
*
|
|
54
|
-
* Returns
|
|
50
|
+
* Returns a list object with:
|
|
51
|
+
*
|
|
52
|
+
* - `object` - Always "list"
|
|
53
|
+
* - `data` - Array of admin objects
|
|
54
|
+
* - `nextCursor` - Always null
|
|
55
|
+
*
|
|
56
|
+
* ### Admin Object
|
|
57
|
+
*
|
|
58
|
+
* Each admin includes:
|
|
55
59
|
*
|
|
56
60
|
* - `id` - Unique admin identifier
|
|
57
61
|
* - `name` - Admin's display name
|
|
58
62
|
* - `email` - Admin's email address
|
|
59
63
|
* - `picture` - Profile picture URL
|
|
60
64
|
* - `roleId` - ID of the role assigned to this admin
|
|
61
|
-
*
|
|
62
|
-
* ### Errors
|
|
63
|
-
*
|
|
64
|
-
* - `404` - Admin not found or doesn't belong to your organization
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
list(params = {}, options) {
|
|
67
67
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
68
|
-
return this._client.get(
|
|
68
|
+
return this._client.get('/v2/admins', {
|
|
69
69
|
...options,
|
|
70
70
|
headers: buildHeaders([
|
|
71
71
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admins.mjs","sourceRoot":"","sources":["../../src/resources/organization/admins.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC
|
|
1
|
+
{"version":3,"file":"admins.mjs","sourceRoot":"","sources":["../../src/resources/organization/admins.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD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SAAS,CACP,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE;YAC1C,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -6,6 +6,49 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
6
6
|
* Brands represent distinct brand identities within your organization. Each brand can have its own help center and email sending address. Use this endpoint to list and retrieve brand information.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Brands extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a single brand by its Featurebase ID.
|
|
11
|
+
*
|
|
12
|
+
* ### Path Parameters
|
|
13
|
+
*
|
|
14
|
+
* - `id` - The Featurebase internal ID of the brand (MongoDB ObjectId)
|
|
15
|
+
*
|
|
16
|
+
* ### Response
|
|
17
|
+
*
|
|
18
|
+
* Returns a brand object with:
|
|
19
|
+
*
|
|
20
|
+
* - `id` - Featurebase internal ID
|
|
21
|
+
* - `name` - Brand display name
|
|
22
|
+
* - `isDefault` - Whether this is the default brand
|
|
23
|
+
* - `createdAt` - Creation timestamp
|
|
24
|
+
* - `updatedAt` - Last update timestamp
|
|
25
|
+
* - `helpCenterId` - Associated help center ID
|
|
26
|
+
* - `senderEmailAddressId` - Default sender email address ID
|
|
27
|
+
*
|
|
28
|
+
* ### Example Response
|
|
29
|
+
*
|
|
30
|
+
* ```json
|
|
31
|
+
* {
|
|
32
|
+
* "object": "brand",
|
|
33
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
34
|
+
* "name": "Default Brand",
|
|
35
|
+
* "isDefault": true,
|
|
36
|
+
* "createdAt": "2025-01-01T12:00:00.000Z",
|
|
37
|
+
* "updatedAt": "2025-01-10T15:30:00.000Z",
|
|
38
|
+
* "helpCenterId": "11",
|
|
39
|
+
* "senderEmailAddressId": "507f1f77bcf86cd799439012"
|
|
40
|
+
* }
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* ### Error Responses
|
|
44
|
+
*
|
|
45
|
+
* - **404 Not Found** - Brand with the specified ID does not exist
|
|
46
|
+
*
|
|
47
|
+
* ### Version Availability
|
|
48
|
+
*
|
|
49
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
50
|
+
*/
|
|
51
|
+
retrieve(id: string, params?: BrandRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Brand>;
|
|
9
52
|
/**
|
|
10
53
|
* Returns all brands in your organization with cursor-based pagination.
|
|
11
54
|
*
|
|
@@ -60,49 +103,6 @@ export declare class Brands extends APIResource {
|
|
|
60
103
|
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
61
104
|
*/
|
|
62
105
|
list(params?: BrandListParams | null | undefined, options?: RequestOptions): PagePromise<BrandsCursorPage, Brand>;
|
|
63
|
-
/**
|
|
64
|
-
* Retrieves a single brand by its Featurebase ID.
|
|
65
|
-
*
|
|
66
|
-
* ### Path Parameters
|
|
67
|
-
*
|
|
68
|
-
* - `id` - The Featurebase internal ID of the brand (MongoDB ObjectId)
|
|
69
|
-
*
|
|
70
|
-
* ### Response
|
|
71
|
-
*
|
|
72
|
-
* Returns a brand object with:
|
|
73
|
-
*
|
|
74
|
-
* - `id` - Featurebase internal ID
|
|
75
|
-
* - `name` - Brand display name
|
|
76
|
-
* - `isDefault` - Whether this is the default brand
|
|
77
|
-
* - `createdAt` - Creation timestamp
|
|
78
|
-
* - `updatedAt` - Last update timestamp
|
|
79
|
-
* - `helpCenterId` - Associated help center ID
|
|
80
|
-
* - `senderEmailAddressId` - Default sender email address ID
|
|
81
|
-
*
|
|
82
|
-
* ### Example Response
|
|
83
|
-
*
|
|
84
|
-
* ```json
|
|
85
|
-
* {
|
|
86
|
-
* "object": "brand",
|
|
87
|
-
* "id": "507f1f77bcf86cd799439011",
|
|
88
|
-
* "name": "Default Brand",
|
|
89
|
-
* "isDefault": true,
|
|
90
|
-
* "createdAt": "2025-01-01T12:00:00.000Z",
|
|
91
|
-
* "updatedAt": "2025-01-10T15:30:00.000Z",
|
|
92
|
-
* "helpCenterId": "11",
|
|
93
|
-
* "senderEmailAddressId": "507f1f77bcf86cd799439012"
|
|
94
|
-
* }
|
|
95
|
-
* ```
|
|
96
|
-
*
|
|
97
|
-
* ### Error Responses
|
|
98
|
-
*
|
|
99
|
-
* - **404 Not Found** - Brand with the specified ID does not exist
|
|
100
|
-
*
|
|
101
|
-
* ### Version Availability
|
|
102
|
-
*
|
|
103
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
104
|
-
*/
|
|
105
|
-
retrieve(id: string, params?: BrandRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Brand>;
|
|
106
106
|
}
|
|
107
107
|
export type BrandsCursorPage = CursorPage<Brand>;
|
|
108
108
|
export interface Brand {
|
|
@@ -139,21 +139,21 @@ export interface Brand {
|
|
|
139
139
|
*/
|
|
140
140
|
updatedAt: string | null;
|
|
141
141
|
}
|
|
142
|
-
export interface BrandListParams extends CursorPageParams {
|
|
143
|
-
/**
|
|
144
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
145
|
-
* configured API version if not specified.
|
|
146
|
-
*/
|
|
147
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
148
|
-
}
|
|
149
142
|
export interface BrandRetrieveParams {
|
|
150
143
|
/**
|
|
151
144
|
* API version for this request. Defaults to your organization's configured API
|
|
152
145
|
* version if not specified.
|
|
153
146
|
*/
|
|
154
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
147
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
148
|
+
}
|
|
149
|
+
export interface BrandListParams extends CursorPageParams {
|
|
150
|
+
/**
|
|
151
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
152
|
+
* configured API version if not specified.
|
|
153
|
+
*/
|
|
154
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
155
155
|
}
|
|
156
156
|
export declare namespace Brands {
|
|
157
|
-
export { type Brand as Brand, type BrandsCursorPage as BrandsCursorPage, type
|
|
157
|
+
export { type Brand as Brand, type BrandsCursorPage as BrandsCursorPage, type BrandRetrieveParams as BrandRetrieveParams, type BrandListParams as BrandListParams, };
|
|
158
158
|
}
|
|
159
159
|
//# sourceMappingURL=brands.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brands.d.mts","sourceRoot":"","sources":["../../src/resources/organization/brands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,kCAA8B;AAEvF,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC
|
|
1
|
+
{"version":3,"file":"brands.d.mts","sourceRoot":"","sources":["../../src/resources/organization/brands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,kCAA8B;AAEvF,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IAC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ACnB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -6,6 +6,49 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
6
6
|
* Brands represent distinct brand identities within your organization. Each brand can have its own help center and email sending address. Use this endpoint to list and retrieve brand information.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Brands extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a single brand by its Featurebase ID.
|
|
11
|
+
*
|
|
12
|
+
* ### Path Parameters
|
|
13
|
+
*
|
|
14
|
+
* - `id` - The Featurebase internal ID of the brand (MongoDB ObjectId)
|
|
15
|
+
*
|
|
16
|
+
* ### Response
|
|
17
|
+
*
|
|
18
|
+
* Returns a brand object with:
|
|
19
|
+
*
|
|
20
|
+
* - `id` - Featurebase internal ID
|
|
21
|
+
* - `name` - Brand display name
|
|
22
|
+
* - `isDefault` - Whether this is the default brand
|
|
23
|
+
* - `createdAt` - Creation timestamp
|
|
24
|
+
* - `updatedAt` - Last update timestamp
|
|
25
|
+
* - `helpCenterId` - Associated help center ID
|
|
26
|
+
* - `senderEmailAddressId` - Default sender email address ID
|
|
27
|
+
*
|
|
28
|
+
* ### Example Response
|
|
29
|
+
*
|
|
30
|
+
* ```json
|
|
31
|
+
* {
|
|
32
|
+
* "object": "brand",
|
|
33
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
34
|
+
* "name": "Default Brand",
|
|
35
|
+
* "isDefault": true,
|
|
36
|
+
* "createdAt": "2025-01-01T12:00:00.000Z",
|
|
37
|
+
* "updatedAt": "2025-01-10T15:30:00.000Z",
|
|
38
|
+
* "helpCenterId": "11",
|
|
39
|
+
* "senderEmailAddressId": "507f1f77bcf86cd799439012"
|
|
40
|
+
* }
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* ### Error Responses
|
|
44
|
+
*
|
|
45
|
+
* - **404 Not Found** - Brand with the specified ID does not exist
|
|
46
|
+
*
|
|
47
|
+
* ### Version Availability
|
|
48
|
+
*
|
|
49
|
+
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
50
|
+
*/
|
|
51
|
+
retrieve(id: string, params?: BrandRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Brand>;
|
|
9
52
|
/**
|
|
10
53
|
* Returns all brands in your organization with cursor-based pagination.
|
|
11
54
|
*
|
|
@@ -60,49 +103,6 @@ export declare class Brands extends APIResource {
|
|
|
60
103
|
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
61
104
|
*/
|
|
62
105
|
list(params?: BrandListParams | null | undefined, options?: RequestOptions): PagePromise<BrandsCursorPage, Brand>;
|
|
63
|
-
/**
|
|
64
|
-
* Retrieves a single brand by its Featurebase ID.
|
|
65
|
-
*
|
|
66
|
-
* ### Path Parameters
|
|
67
|
-
*
|
|
68
|
-
* - `id` - The Featurebase internal ID of the brand (MongoDB ObjectId)
|
|
69
|
-
*
|
|
70
|
-
* ### Response
|
|
71
|
-
*
|
|
72
|
-
* Returns a brand object with:
|
|
73
|
-
*
|
|
74
|
-
* - `id` - Featurebase internal ID
|
|
75
|
-
* - `name` - Brand display name
|
|
76
|
-
* - `isDefault` - Whether this is the default brand
|
|
77
|
-
* - `createdAt` - Creation timestamp
|
|
78
|
-
* - `updatedAt` - Last update timestamp
|
|
79
|
-
* - `helpCenterId` - Associated help center ID
|
|
80
|
-
* - `senderEmailAddressId` - Default sender email address ID
|
|
81
|
-
*
|
|
82
|
-
* ### Example Response
|
|
83
|
-
*
|
|
84
|
-
* ```json
|
|
85
|
-
* {
|
|
86
|
-
* "object": "brand",
|
|
87
|
-
* "id": "507f1f77bcf86cd799439011",
|
|
88
|
-
* "name": "Default Brand",
|
|
89
|
-
* "isDefault": true,
|
|
90
|
-
* "createdAt": "2025-01-01T12:00:00.000Z",
|
|
91
|
-
* "updatedAt": "2025-01-10T15:30:00.000Z",
|
|
92
|
-
* "helpCenterId": "11",
|
|
93
|
-
* "senderEmailAddressId": "507f1f77bcf86cd799439012"
|
|
94
|
-
* }
|
|
95
|
-
* ```
|
|
96
|
-
*
|
|
97
|
-
* ### Error Responses
|
|
98
|
-
*
|
|
99
|
-
* - **404 Not Found** - Brand with the specified ID does not exist
|
|
100
|
-
*
|
|
101
|
-
* ### Version Availability
|
|
102
|
-
*
|
|
103
|
-
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
104
|
-
*/
|
|
105
|
-
retrieve(id: string, params?: BrandRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Brand>;
|
|
106
106
|
}
|
|
107
107
|
export type BrandsCursorPage = CursorPage<Brand>;
|
|
108
108
|
export interface Brand {
|
|
@@ -139,21 +139,21 @@ export interface Brand {
|
|
|
139
139
|
*/
|
|
140
140
|
updatedAt: string | null;
|
|
141
141
|
}
|
|
142
|
-
export interface BrandListParams extends CursorPageParams {
|
|
143
|
-
/**
|
|
144
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
145
|
-
* configured API version if not specified.
|
|
146
|
-
*/
|
|
147
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
148
|
-
}
|
|
149
142
|
export interface BrandRetrieveParams {
|
|
150
143
|
/**
|
|
151
144
|
* API version for this request. Defaults to your organization's configured API
|
|
152
145
|
* version if not specified.
|
|
153
146
|
*/
|
|
154
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
147
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
148
|
+
}
|
|
149
|
+
export interface BrandListParams extends CursorPageParams {
|
|
150
|
+
/**
|
|
151
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
152
|
+
* configured API version if not specified.
|
|
153
|
+
*/
|
|
154
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
155
155
|
}
|
|
156
156
|
export declare namespace Brands {
|
|
157
|
-
export { type Brand as Brand, type BrandsCursorPage as BrandsCursorPage, type
|
|
157
|
+
export { type Brand as Brand, type BrandsCursorPage as BrandsCursorPage, type BrandRetrieveParams as BrandRetrieveParams, type BrandListParams as BrandListParams, };
|
|
158
158
|
}
|
|
159
159
|
//# sourceMappingURL=brands.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brands.d.ts","sourceRoot":"","sources":["../../src/resources/organization/brands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,iCAA8B;AAEvF,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC
|
|
1
|
+
{"version":3,"file":"brands.d.ts","sourceRoot":"","sources":["../../src/resources/organization/brands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,iCAA8B;AAEvF,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,KAAK,CAAC;IAepB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoDG;IACH,IAAI,CACF,MAAM,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gBAAgB,EAAE,KAAK,CAAC;CAexC;AAED,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;AAEjD,MAAM,WAAW,KAAK;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpC;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -11,26 +11,17 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
11
11
|
*/
|
|
12
12
|
class Brands extends resource_1.APIResource {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* ### Query Parameters
|
|
17
|
-
*
|
|
18
|
-
* - `limit` - Number of brands to return (1-100, default: 10)
|
|
19
|
-
* - `cursor` - Opaque cursor from a previous response for pagination
|
|
20
|
-
*
|
|
21
|
-
* ### Response Structure
|
|
14
|
+
* Retrieves a single brand by its Featurebase ID.
|
|
22
15
|
*
|
|
23
|
-
*
|
|
16
|
+
* ### Path Parameters
|
|
24
17
|
*
|
|
25
|
-
* - `
|
|
26
|
-
* - `data` - Array of brand objects
|
|
27
|
-
* - `nextCursor` - Cursor for the next page (null if no more results)
|
|
18
|
+
* - `id` - The Featurebase internal ID of the brand (MongoDB ObjectId)
|
|
28
19
|
*
|
|
29
|
-
* ###
|
|
20
|
+
* ### Response
|
|
30
21
|
*
|
|
31
|
-
*
|
|
22
|
+
* Returns a brand object with:
|
|
32
23
|
*
|
|
33
|
-
* - `id` - Featurebase internal ID
|
|
24
|
+
* - `id` - Featurebase internal ID
|
|
34
25
|
* - `name` - Brand display name
|
|
35
26
|
* - `isDefault` - Whether this is the default brand
|
|
36
27
|
* - `createdAt` - Creation timestamp
|
|
@@ -42,31 +33,28 @@ class Brands extends resource_1.APIResource {
|
|
|
42
33
|
*
|
|
43
34
|
* ```json
|
|
44
35
|
* {
|
|
45
|
-
* "object": "
|
|
46
|
-
* "
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* "updatedAt": "2025-01-10T15:30:00.000Z",
|
|
54
|
-
* "helpCenterId": "11",
|
|
55
|
-
* "senderEmailAddressId": "507f1f77bcf86cd799439012"
|
|
56
|
-
* }
|
|
57
|
-
* ],
|
|
58
|
-
* "nextCursor": null
|
|
36
|
+
* "object": "brand",
|
|
37
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
38
|
+
* "name": "Default Brand",
|
|
39
|
+
* "isDefault": true,
|
|
40
|
+
* "createdAt": "2025-01-01T12:00:00.000Z",
|
|
41
|
+
* "updatedAt": "2025-01-10T15:30:00.000Z",
|
|
42
|
+
* "helpCenterId": "11",
|
|
43
|
+
* "senderEmailAddressId": "507f1f77bcf86cd799439012"
|
|
59
44
|
* }
|
|
60
45
|
* ```
|
|
61
46
|
*
|
|
47
|
+
* ### Error Responses
|
|
48
|
+
*
|
|
49
|
+
* - **404 Not Found** - Brand with the specified ID does not exist
|
|
50
|
+
*
|
|
62
51
|
* ### Version Availability
|
|
63
52
|
*
|
|
64
53
|
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
65
54
|
*/
|
|
66
|
-
|
|
67
|
-
const { 'Featurebase-Version': featurebaseVersion
|
|
68
|
-
return this._client.
|
|
69
|
-
query,
|
|
55
|
+
retrieve(id, params = {}, options) {
|
|
56
|
+
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
57
|
+
return this._client.get((0, path_1.path) `/v2/brands/${id}`, {
|
|
70
58
|
...options,
|
|
71
59
|
headers: (0, headers_1.buildHeaders)([
|
|
72
60
|
{
|
|
@@ -79,17 +67,26 @@ class Brands extends resource_1.APIResource {
|
|
|
79
67
|
});
|
|
80
68
|
}
|
|
81
69
|
/**
|
|
82
|
-
*
|
|
70
|
+
* Returns all brands in your organization with cursor-based pagination.
|
|
83
71
|
*
|
|
84
|
-
* ###
|
|
72
|
+
* ### Query Parameters
|
|
85
73
|
*
|
|
86
|
-
* - `
|
|
74
|
+
* - `limit` - Number of brands to return (1-100, default: 10)
|
|
75
|
+
* - `cursor` - Opaque cursor from a previous response for pagination
|
|
87
76
|
*
|
|
88
|
-
* ### Response
|
|
77
|
+
* ### Response Structure
|
|
89
78
|
*
|
|
90
|
-
*
|
|
79
|
+
* The response includes:
|
|
91
80
|
*
|
|
92
|
-
* - `
|
|
81
|
+
* - `object` - Always "list"
|
|
82
|
+
* - `data` - Array of brand objects
|
|
83
|
+
* - `nextCursor` - Cursor for the next page (null if no more results)
|
|
84
|
+
*
|
|
85
|
+
* ### Brand Object
|
|
86
|
+
*
|
|
87
|
+
* Each brand includes:
|
|
88
|
+
*
|
|
89
|
+
* - `id` - Featurebase internal ID (MongoDB ObjectId)
|
|
93
90
|
* - `name` - Brand display name
|
|
94
91
|
* - `isDefault` - Whether this is the default brand
|
|
95
92
|
* - `createdAt` - Creation timestamp
|
|
@@ -101,28 +98,31 @@ class Brands extends resource_1.APIResource {
|
|
|
101
98
|
*
|
|
102
99
|
* ```json
|
|
103
100
|
* {
|
|
104
|
-
* "object": "
|
|
105
|
-
* "
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
101
|
+
* "object": "list",
|
|
102
|
+
* "data": [
|
|
103
|
+
* {
|
|
104
|
+
* "object": "brand",
|
|
105
|
+
* "id": "507f1f77bcf86cd799439011",
|
|
106
|
+
* "name": "Default Brand",
|
|
107
|
+
* "isDefault": true,
|
|
108
|
+
* "createdAt": "2025-01-01T12:00:00.000Z",
|
|
109
|
+
* "updatedAt": "2025-01-10T15:30:00.000Z",
|
|
110
|
+
* "helpCenterId": "11",
|
|
111
|
+
* "senderEmailAddressId": "507f1f77bcf86cd799439012"
|
|
112
|
+
* }
|
|
113
|
+
* ],
|
|
114
|
+
* "nextCursor": null
|
|
112
115
|
* }
|
|
113
116
|
* ```
|
|
114
117
|
*
|
|
115
|
-
* ### Error Responses
|
|
116
|
-
*
|
|
117
|
-
* - **404 Not Found** - Brand with the specified ID does not exist
|
|
118
|
-
*
|
|
119
118
|
* ### Version Availability
|
|
120
119
|
*
|
|
121
120
|
* This endpoint is only available in API version 2026-01-01.nova and newer.
|
|
122
121
|
*/
|
|
123
|
-
|
|
124
|
-
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
125
|
-
return this._client.
|
|
122
|
+
list(params = {}, options) {
|
|
123
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
124
|
+
return this._client.getAPIList('/v2/brands', (pagination_1.CursorPage), {
|
|
125
|
+
query,
|
|
126
126
|
...options,
|
|
127
127
|
headers: (0, headers_1.buildHeaders)([
|
|
128
128
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brands.js","sourceRoot":"","sources":["../../src/resources/organization/brands.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAAuF;AACvF,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC
|
|
1
|
+
{"version":3,"file":"brands.js","sourceRoot":"","sources":["../../src/resources/organization/brands.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAAuF;AACvF,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;IACH,QAAQ,CACN,EAAU,EACV,SAAiD,EAAE,EACnD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,cAAc,EAAE,EAAE,EAAE;YAC9C,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoDG;IACH,IAAI,CACF,SAA6C,EAAE,EAC/C,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC7E,OAAO,IAAI,C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