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
|
@@ -12,75 +12,6 @@ import { path } from '../../internal/utils/path';
|
|
|
12
12
|
* Help centers allow organizations to create and manage knowledge bases with articles and collections. Currently, Featurebase supports one help center per organization.
|
|
13
13
|
*/
|
|
14
14
|
export class Collections extends APIResource {
|
|
15
|
-
/**
|
|
16
|
-
* Returns a paginated list of collections within your organization's help center.
|
|
17
|
-
*
|
|
18
|
-
* Collections are used to organize articles into logical groups.
|
|
19
|
-
*
|
|
20
|
-
* ### Query Parameters
|
|
21
|
-
*
|
|
22
|
-
* - `limit` - Number of items to return (1-100, default 10)
|
|
23
|
-
* - `cursor` - Cursor for pagination
|
|
24
|
-
*
|
|
25
|
-
* ### Response Format
|
|
26
|
-
*
|
|
27
|
-
* Returns a list object with:
|
|
28
|
-
*
|
|
29
|
-
* - `object` - Always "list"
|
|
30
|
-
* - `data` - Array of collection objects
|
|
31
|
-
* - `nextCursor` - Cursor for next page (null if no more results)
|
|
32
|
-
*
|
|
33
|
-
* ### Collection Object
|
|
34
|
-
*
|
|
35
|
-
* Each collection includes:
|
|
36
|
-
*
|
|
37
|
-
* - `id` - Unique identifier
|
|
38
|
-
* - `name` - Collection name
|
|
39
|
-
* - `description` - Collection description
|
|
40
|
-
* - `slug` - URL slug
|
|
41
|
-
* - `icon` - Collection icon (emoji or custom)
|
|
42
|
-
* - `parentId` - Parent collection ID (null for root collections)
|
|
43
|
-
* - `helpCenterId` - ID of the help center this collection belongs to
|
|
44
|
-
* - `organization` - Organization ID
|
|
45
|
-
* - `defaultLocale` - Default locale for content
|
|
46
|
-
* - `locale` - Current locale
|
|
47
|
-
* - `availableLocales` - Array of available locales
|
|
48
|
-
* - `featurebaseUrl` - Featurebase URL for the collection
|
|
49
|
-
* - `externalUrl` - External URL if custom domain is configured
|
|
50
|
-
* - `articleCount` - Number of articles in this collection
|
|
51
|
-
* - `authorCount` - Number of authors who contributed
|
|
52
|
-
* - `order` - Display order
|
|
53
|
-
* - `translations` - Translations for different locales
|
|
54
|
-
* - `createdAt` - ISO 8601 timestamp when created
|
|
55
|
-
* - `updatedAt` - ISO 8601 timestamp when last updated
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* ```ts
|
|
59
|
-
* // Automatically fetches more pages as needed.
|
|
60
|
-
* for await (const collection of client.helpCenter.collections.list()) {
|
|
61
|
-
* // ...
|
|
62
|
-
* }
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
list(
|
|
66
|
-
params: CollectionListParams | null | undefined = {},
|
|
67
|
-
options?: RequestOptions,
|
|
68
|
-
): PagePromise<CollectionsCursorPage, Collection> {
|
|
69
|
-
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
70
|
-
return this._client.getAPIList('/v2/help_center/collections', CursorPage<Collection>, {
|
|
71
|
-
query,
|
|
72
|
-
...options,
|
|
73
|
-
headers: buildHeaders([
|
|
74
|
-
{
|
|
75
|
-
...(featurebaseVersion?.toString() != null ?
|
|
76
|
-
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
77
|
-
: undefined),
|
|
78
|
-
},
|
|
79
|
-
options?.headers,
|
|
80
|
-
]),
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
|
|
84
15
|
/**
|
|
85
16
|
* Creates a new collection in your organization's help center.
|
|
86
17
|
*
|
|
@@ -270,6 +201,75 @@ export class Collections extends APIResource {
|
|
|
270
201
|
});
|
|
271
202
|
}
|
|
272
203
|
|
|
204
|
+
/**
|
|
205
|
+
* Returns a paginated list of collections within your organization's help center.
|
|
206
|
+
*
|
|
207
|
+
* Collections are used to organize articles into logical groups.
|
|
208
|
+
*
|
|
209
|
+
* ### Query Parameters
|
|
210
|
+
*
|
|
211
|
+
* - `limit` - Number of items to return (1-100, default 10)
|
|
212
|
+
* - `cursor` - Cursor for pagination
|
|
213
|
+
*
|
|
214
|
+
* ### Response Format
|
|
215
|
+
*
|
|
216
|
+
* Returns a list object with:
|
|
217
|
+
*
|
|
218
|
+
* - `object` - Always "list"
|
|
219
|
+
* - `data` - Array of collection objects
|
|
220
|
+
* - `nextCursor` - Cursor for next page (null if no more results)
|
|
221
|
+
*
|
|
222
|
+
* ### Collection Object
|
|
223
|
+
*
|
|
224
|
+
* Each collection includes:
|
|
225
|
+
*
|
|
226
|
+
* - `id` - Unique identifier
|
|
227
|
+
* - `name` - Collection name
|
|
228
|
+
* - `description` - Collection description
|
|
229
|
+
* - `slug` - URL slug
|
|
230
|
+
* - `icon` - Collection icon (emoji or custom)
|
|
231
|
+
* - `parentId` - Parent collection ID (null for root collections)
|
|
232
|
+
* - `helpCenterId` - ID of the help center this collection belongs to
|
|
233
|
+
* - `organization` - Organization ID
|
|
234
|
+
* - `defaultLocale` - Default locale for content
|
|
235
|
+
* - `locale` - Current locale
|
|
236
|
+
* - `availableLocales` - Array of available locales
|
|
237
|
+
* - `featurebaseUrl` - Featurebase URL for the collection
|
|
238
|
+
* - `externalUrl` - External URL if custom domain is configured
|
|
239
|
+
* - `articleCount` - Number of articles in this collection
|
|
240
|
+
* - `authorCount` - Number of authors who contributed
|
|
241
|
+
* - `order` - Display order
|
|
242
|
+
* - `translations` - Translations for different locales
|
|
243
|
+
* - `createdAt` - ISO 8601 timestamp when created
|
|
244
|
+
* - `updatedAt` - ISO 8601 timestamp when last updated
|
|
245
|
+
*
|
|
246
|
+
* @example
|
|
247
|
+
* ```ts
|
|
248
|
+
* // Automatically fetches more pages as needed.
|
|
249
|
+
* for await (const collection of client.helpCenter.collections.list()) {
|
|
250
|
+
* // ...
|
|
251
|
+
* }
|
|
252
|
+
* ```
|
|
253
|
+
*/
|
|
254
|
+
list(
|
|
255
|
+
params: CollectionListParams | null | undefined = {},
|
|
256
|
+
options?: RequestOptions,
|
|
257
|
+
): PagePromise<CollectionsCursorPage, Collection> {
|
|
258
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
259
|
+
return this._client.getAPIList('/v2/help_center/collections', CursorPage<Collection>, {
|
|
260
|
+
query,
|
|
261
|
+
...options,
|
|
262
|
+
headers: buildHeaders([
|
|
263
|
+
{
|
|
264
|
+
...(featurebaseVersion?.toString() != null ?
|
|
265
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
266
|
+
: undefined),
|
|
267
|
+
},
|
|
268
|
+
options?.headers,
|
|
269
|
+
]),
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
|
|
273
273
|
/**
|
|
274
274
|
* Deletes an existing collection.
|
|
275
275
|
*
|
|
@@ -327,6 +327,35 @@ export interface Collection {
|
|
|
327
327
|
* Available locales
|
|
328
328
|
*/
|
|
329
329
|
availableLocales: Array<
|
|
330
|
+
| 'ar'
|
|
331
|
+
| 'am'
|
|
332
|
+
| 'fa'
|
|
333
|
+
| 'ht'
|
|
334
|
+
| 'lo'
|
|
335
|
+
| 'my'
|
|
336
|
+
| 'pa'
|
|
337
|
+
| 'ps'
|
|
338
|
+
| 'so'
|
|
339
|
+
| 'tl'
|
|
340
|
+
| 'ur'
|
|
341
|
+
| 'he'
|
|
342
|
+
| 'ta'
|
|
343
|
+
| 'te'
|
|
344
|
+
| 'mr'
|
|
345
|
+
| 'gu'
|
|
346
|
+
| 'kn'
|
|
347
|
+
| 'ml'
|
|
348
|
+
| 'ha'
|
|
349
|
+
| 'jv'
|
|
350
|
+
| 'yo'
|
|
351
|
+
| 'ig'
|
|
352
|
+
| 'uz'
|
|
353
|
+
| 'ne'
|
|
354
|
+
| 'sd'
|
|
355
|
+
| 'az'
|
|
356
|
+
| 'si'
|
|
357
|
+
| 'km'
|
|
358
|
+
| 'kk'
|
|
330
359
|
| 'bn'
|
|
331
360
|
| 'bs'
|
|
332
361
|
| 'pt-BR'
|
|
@@ -385,6 +414,35 @@ export interface Collection {
|
|
|
385
414
|
* Current locale
|
|
386
415
|
*/
|
|
387
416
|
locale:
|
|
417
|
+
| 'ar'
|
|
418
|
+
| 'am'
|
|
419
|
+
| 'fa'
|
|
420
|
+
| 'ht'
|
|
421
|
+
| 'lo'
|
|
422
|
+
| 'my'
|
|
423
|
+
| 'pa'
|
|
424
|
+
| 'ps'
|
|
425
|
+
| 'so'
|
|
426
|
+
| 'tl'
|
|
427
|
+
| 'ur'
|
|
428
|
+
| 'he'
|
|
429
|
+
| 'ta'
|
|
430
|
+
| 'te'
|
|
431
|
+
| 'mr'
|
|
432
|
+
| 'gu'
|
|
433
|
+
| 'kn'
|
|
434
|
+
| 'ml'
|
|
435
|
+
| 'ha'
|
|
436
|
+
| 'jv'
|
|
437
|
+
| 'yo'
|
|
438
|
+
| 'ig'
|
|
439
|
+
| 'uz'
|
|
440
|
+
| 'ne'
|
|
441
|
+
| 'sd'
|
|
442
|
+
| 'az'
|
|
443
|
+
| 'si'
|
|
444
|
+
| 'km'
|
|
445
|
+
| 'kk'
|
|
388
446
|
| 'bn'
|
|
389
447
|
| 'bs'
|
|
390
448
|
| 'pt-BR'
|
|
@@ -467,6 +525,35 @@ export interface Collection {
|
|
|
467
525
|
* Default locale
|
|
468
526
|
*/
|
|
469
527
|
defaultLocale?:
|
|
528
|
+
| 'ar'
|
|
529
|
+
| 'am'
|
|
530
|
+
| 'fa'
|
|
531
|
+
| 'ht'
|
|
532
|
+
| 'lo'
|
|
533
|
+
| 'my'
|
|
534
|
+
| 'pa'
|
|
535
|
+
| 'ps'
|
|
536
|
+
| 'so'
|
|
537
|
+
| 'tl'
|
|
538
|
+
| 'ur'
|
|
539
|
+
| 'he'
|
|
540
|
+
| 'ta'
|
|
541
|
+
| 'te'
|
|
542
|
+
| 'mr'
|
|
543
|
+
| 'gu'
|
|
544
|
+
| 'kn'
|
|
545
|
+
| 'ml'
|
|
546
|
+
| 'ha'
|
|
547
|
+
| 'jv'
|
|
548
|
+
| 'yo'
|
|
549
|
+
| 'ig'
|
|
550
|
+
| 'uz'
|
|
551
|
+
| 'ne'
|
|
552
|
+
| 'sd'
|
|
553
|
+
| 'az'
|
|
554
|
+
| 'si'
|
|
555
|
+
| 'km'
|
|
556
|
+
| 'kk'
|
|
470
557
|
| 'bn'
|
|
471
558
|
| 'bs'
|
|
472
559
|
| 'pt-BR'
|
|
@@ -578,6 +665,12 @@ export namespace Collection {
|
|
|
578
665
|
export interface Translations {
|
|
579
666
|
id?: CollectionsAPI.CollectionTranslation;
|
|
580
667
|
|
|
668
|
+
am?: CollectionsAPI.CollectionTranslation;
|
|
669
|
+
|
|
670
|
+
ar?: CollectionsAPI.CollectionTranslation;
|
|
671
|
+
|
|
672
|
+
az?: CollectionsAPI.CollectionTranslation;
|
|
673
|
+
|
|
581
674
|
bg?: CollectionsAPI.CollectionTranslation;
|
|
582
675
|
|
|
583
676
|
bn?: CollectionsAPI.CollectionTranslation;
|
|
@@ -600,36 +693,70 @@ export namespace Collection {
|
|
|
600
693
|
|
|
601
694
|
et?: CollectionsAPI.CollectionTranslation;
|
|
602
695
|
|
|
696
|
+
fa?: CollectionsAPI.CollectionTranslation;
|
|
697
|
+
|
|
603
698
|
fi?: CollectionsAPI.CollectionTranslation;
|
|
604
699
|
|
|
605
700
|
fr?: CollectionsAPI.CollectionTranslation;
|
|
606
701
|
|
|
702
|
+
gu?: CollectionsAPI.CollectionTranslation;
|
|
703
|
+
|
|
704
|
+
ha?: CollectionsAPI.CollectionTranslation;
|
|
705
|
+
|
|
706
|
+
he?: CollectionsAPI.CollectionTranslation;
|
|
707
|
+
|
|
607
708
|
hi?: CollectionsAPI.CollectionTranslation;
|
|
608
709
|
|
|
609
710
|
hr?: CollectionsAPI.CollectionTranslation;
|
|
610
711
|
|
|
712
|
+
ht?: CollectionsAPI.CollectionTranslation;
|
|
713
|
+
|
|
611
714
|
hu?: CollectionsAPI.CollectionTranslation;
|
|
612
715
|
|
|
716
|
+
ig?: CollectionsAPI.CollectionTranslation;
|
|
717
|
+
|
|
613
718
|
it?: CollectionsAPI.CollectionTranslation;
|
|
614
719
|
|
|
615
720
|
ja?: CollectionsAPI.CollectionTranslation;
|
|
616
721
|
|
|
722
|
+
jv?: CollectionsAPI.CollectionTranslation;
|
|
723
|
+
|
|
724
|
+
kk?: CollectionsAPI.CollectionTranslation;
|
|
725
|
+
|
|
726
|
+
km?: CollectionsAPI.CollectionTranslation;
|
|
727
|
+
|
|
728
|
+
kn?: CollectionsAPI.CollectionTranslation;
|
|
729
|
+
|
|
617
730
|
ko?: CollectionsAPI.CollectionTranslation;
|
|
618
731
|
|
|
732
|
+
lo?: CollectionsAPI.CollectionTranslation;
|
|
733
|
+
|
|
619
734
|
lt?: CollectionsAPI.CollectionTranslation;
|
|
620
735
|
|
|
621
736
|
lv?: CollectionsAPI.CollectionTranslation;
|
|
622
737
|
|
|
738
|
+
ml?: CollectionsAPI.CollectionTranslation;
|
|
739
|
+
|
|
623
740
|
mn?: CollectionsAPI.CollectionTranslation;
|
|
624
741
|
|
|
742
|
+
mr?: CollectionsAPI.CollectionTranslation;
|
|
743
|
+
|
|
625
744
|
ms?: CollectionsAPI.CollectionTranslation;
|
|
626
745
|
|
|
746
|
+
my?: CollectionsAPI.CollectionTranslation;
|
|
747
|
+
|
|
627
748
|
nb?: CollectionsAPI.CollectionTranslation;
|
|
628
749
|
|
|
750
|
+
ne?: CollectionsAPI.CollectionTranslation;
|
|
751
|
+
|
|
629
752
|
nl?: CollectionsAPI.CollectionTranslation;
|
|
630
753
|
|
|
754
|
+
pa?: CollectionsAPI.CollectionTranslation;
|
|
755
|
+
|
|
631
756
|
pl?: CollectionsAPI.CollectionTranslation;
|
|
632
757
|
|
|
758
|
+
ps?: CollectionsAPI.CollectionTranslation;
|
|
759
|
+
|
|
633
760
|
pt?: CollectionsAPI.CollectionTranslation;
|
|
634
761
|
|
|
635
762
|
'pt-BR'?: CollectionsAPI.CollectionTranslation;
|
|
@@ -638,24 +765,42 @@ export namespace Collection {
|
|
|
638
765
|
|
|
639
766
|
ru?: CollectionsAPI.CollectionTranslation;
|
|
640
767
|
|
|
768
|
+
sd?: CollectionsAPI.CollectionTranslation;
|
|
769
|
+
|
|
770
|
+
si?: CollectionsAPI.CollectionTranslation;
|
|
771
|
+
|
|
641
772
|
sk?: CollectionsAPI.CollectionTranslation;
|
|
642
773
|
|
|
643
774
|
sl?: CollectionsAPI.CollectionTranslation;
|
|
644
775
|
|
|
776
|
+
so?: CollectionsAPI.CollectionTranslation;
|
|
777
|
+
|
|
645
778
|
sr?: CollectionsAPI.CollectionTranslation;
|
|
646
779
|
|
|
647
780
|
sv?: CollectionsAPI.CollectionTranslation;
|
|
648
781
|
|
|
649
782
|
sw?: CollectionsAPI.CollectionTranslation;
|
|
650
783
|
|
|
784
|
+
ta?: CollectionsAPI.CollectionTranslation;
|
|
785
|
+
|
|
786
|
+
te?: CollectionsAPI.CollectionTranslation;
|
|
787
|
+
|
|
651
788
|
th?: CollectionsAPI.CollectionTranslation;
|
|
652
789
|
|
|
790
|
+
tl?: CollectionsAPI.CollectionTranslation;
|
|
791
|
+
|
|
653
792
|
tr?: CollectionsAPI.CollectionTranslation;
|
|
654
793
|
|
|
655
794
|
uk?: CollectionsAPI.CollectionTranslation;
|
|
656
795
|
|
|
796
|
+
ur?: CollectionsAPI.CollectionTranslation;
|
|
797
|
+
|
|
798
|
+
uz?: CollectionsAPI.CollectionTranslation;
|
|
799
|
+
|
|
657
800
|
vi?: CollectionsAPI.CollectionTranslation;
|
|
658
801
|
|
|
802
|
+
yo?: CollectionsAPI.CollectionTranslation;
|
|
803
|
+
|
|
659
804
|
'zh-CN'?: CollectionsAPI.CollectionTranslation;
|
|
660
805
|
|
|
661
806
|
'zh-TW'?: CollectionsAPI.CollectionTranslation;
|
|
@@ -767,20 +912,6 @@ export interface CollectionDeleteResponse {
|
|
|
767
912
|
object: 'collection';
|
|
768
913
|
}
|
|
769
914
|
|
|
770
|
-
export interface CollectionListParams extends CursorPageParams {
|
|
771
|
-
/**
|
|
772
|
-
* Query param: Filter collections by help center ID. If omitted, returns
|
|
773
|
-
* collections across all help centers.
|
|
774
|
-
*/
|
|
775
|
-
helpCenterId?: string;
|
|
776
|
-
|
|
777
|
-
/**
|
|
778
|
-
* Header param: API version for this request. Defaults to your organization's
|
|
779
|
-
* configured API version if not specified.
|
|
780
|
-
*/
|
|
781
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
782
|
-
}
|
|
783
|
-
|
|
784
915
|
export interface CollectionCreateParams {
|
|
785
916
|
/**
|
|
786
917
|
* Body param: The name of the collection
|
|
@@ -811,7 +942,7 @@ export interface CollectionCreateParams {
|
|
|
811
942
|
* Header param: API version for this request. Defaults to your organization's
|
|
812
943
|
* configured API version if not specified.
|
|
813
944
|
*/
|
|
814
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
945
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
815
946
|
}
|
|
816
947
|
|
|
817
948
|
export namespace CollectionCreateParams {
|
|
@@ -821,6 +952,12 @@ export namespace CollectionCreateParams {
|
|
|
821
952
|
export interface Translations {
|
|
822
953
|
id?: CollectionsAPI.CollectionTranslationInputNova;
|
|
823
954
|
|
|
955
|
+
am?: CollectionsAPI.CollectionTranslationInputNova;
|
|
956
|
+
|
|
957
|
+
ar?: CollectionsAPI.CollectionTranslationInputNova;
|
|
958
|
+
|
|
959
|
+
az?: CollectionsAPI.CollectionTranslationInputNova;
|
|
960
|
+
|
|
824
961
|
bg?: CollectionsAPI.CollectionTranslationInputNova;
|
|
825
962
|
|
|
826
963
|
bn?: CollectionsAPI.CollectionTranslationInputNova;
|
|
@@ -843,36 +980,70 @@ export namespace CollectionCreateParams {
|
|
|
843
980
|
|
|
844
981
|
et?: CollectionsAPI.CollectionTranslationInputNova;
|
|
845
982
|
|
|
983
|
+
fa?: CollectionsAPI.CollectionTranslationInputNova;
|
|
984
|
+
|
|
846
985
|
fi?: CollectionsAPI.CollectionTranslationInputNova;
|
|
847
986
|
|
|
848
987
|
fr?: CollectionsAPI.CollectionTranslationInputNova;
|
|
849
988
|
|
|
989
|
+
gu?: CollectionsAPI.CollectionTranslationInputNova;
|
|
990
|
+
|
|
991
|
+
ha?: CollectionsAPI.CollectionTranslationInputNova;
|
|
992
|
+
|
|
993
|
+
he?: CollectionsAPI.CollectionTranslationInputNova;
|
|
994
|
+
|
|
850
995
|
hi?: CollectionsAPI.CollectionTranslationInputNova;
|
|
851
996
|
|
|
852
997
|
hr?: CollectionsAPI.CollectionTranslationInputNova;
|
|
853
998
|
|
|
999
|
+
ht?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1000
|
+
|
|
854
1001
|
hu?: CollectionsAPI.CollectionTranslationInputNova;
|
|
855
1002
|
|
|
1003
|
+
ig?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1004
|
+
|
|
856
1005
|
it?: CollectionsAPI.CollectionTranslationInputNova;
|
|
857
1006
|
|
|
858
1007
|
ja?: CollectionsAPI.CollectionTranslationInputNova;
|
|
859
1008
|
|
|
1009
|
+
jv?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1010
|
+
|
|
1011
|
+
kk?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1012
|
+
|
|
1013
|
+
km?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1014
|
+
|
|
1015
|
+
kn?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1016
|
+
|
|
860
1017
|
ko?: CollectionsAPI.CollectionTranslationInputNova;
|
|
861
1018
|
|
|
1019
|
+
lo?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1020
|
+
|
|
862
1021
|
lt?: CollectionsAPI.CollectionTranslationInputNova;
|
|
863
1022
|
|
|
864
1023
|
lv?: CollectionsAPI.CollectionTranslationInputNova;
|
|
865
1024
|
|
|
1025
|
+
ml?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1026
|
+
|
|
866
1027
|
mn?: CollectionsAPI.CollectionTranslationInputNova;
|
|
867
1028
|
|
|
1029
|
+
mr?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1030
|
+
|
|
868
1031
|
ms?: CollectionsAPI.CollectionTranslationInputNova;
|
|
869
1032
|
|
|
1033
|
+
my?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1034
|
+
|
|
870
1035
|
nb?: CollectionsAPI.CollectionTranslationInputNova;
|
|
871
1036
|
|
|
1037
|
+
ne?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1038
|
+
|
|
872
1039
|
nl?: CollectionsAPI.CollectionTranslationInputNova;
|
|
873
1040
|
|
|
1041
|
+
pa?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1042
|
+
|
|
874
1043
|
pl?: CollectionsAPI.CollectionTranslationInputNova;
|
|
875
1044
|
|
|
1045
|
+
ps?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1046
|
+
|
|
876
1047
|
pt?: CollectionsAPI.CollectionTranslationInputNova;
|
|
877
1048
|
|
|
878
1049
|
'pt-BR'?: CollectionsAPI.CollectionTranslationInputNova;
|
|
@@ -881,24 +1052,42 @@ export namespace CollectionCreateParams {
|
|
|
881
1052
|
|
|
882
1053
|
ru?: CollectionsAPI.CollectionTranslationInputNova;
|
|
883
1054
|
|
|
1055
|
+
sd?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1056
|
+
|
|
1057
|
+
si?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1058
|
+
|
|
884
1059
|
sk?: CollectionsAPI.CollectionTranslationInputNova;
|
|
885
1060
|
|
|
886
1061
|
sl?: CollectionsAPI.CollectionTranslationInputNova;
|
|
887
1062
|
|
|
1063
|
+
so?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1064
|
+
|
|
888
1065
|
sr?: CollectionsAPI.CollectionTranslationInputNova;
|
|
889
1066
|
|
|
890
1067
|
sv?: CollectionsAPI.CollectionTranslationInputNova;
|
|
891
1068
|
|
|
892
1069
|
sw?: CollectionsAPI.CollectionTranslationInputNova;
|
|
893
1070
|
|
|
1071
|
+
ta?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1072
|
+
|
|
1073
|
+
te?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1074
|
+
|
|
894
1075
|
th?: CollectionsAPI.CollectionTranslationInputNova;
|
|
895
1076
|
|
|
1077
|
+
tl?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1078
|
+
|
|
896
1079
|
tr?: CollectionsAPI.CollectionTranslationInputNova;
|
|
897
1080
|
|
|
898
1081
|
uk?: CollectionsAPI.CollectionTranslationInputNova;
|
|
899
1082
|
|
|
1083
|
+
ur?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1084
|
+
|
|
1085
|
+
uz?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1086
|
+
|
|
900
1087
|
vi?: CollectionsAPI.CollectionTranslationInputNova;
|
|
901
1088
|
|
|
1089
|
+
yo?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1090
|
+
|
|
902
1091
|
'zh-CN'?: CollectionsAPI.CollectionTranslationInputNova;
|
|
903
1092
|
|
|
904
1093
|
'zh-TW'?: CollectionsAPI.CollectionTranslationInputNova;
|
|
@@ -910,7 +1099,7 @@ export interface CollectionRetrieveParams {
|
|
|
910
1099
|
* API version for this request. Defaults to your organization's configured API
|
|
911
1100
|
* version if not specified.
|
|
912
1101
|
*/
|
|
913
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
1102
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
914
1103
|
}
|
|
915
1104
|
|
|
916
1105
|
export interface CollectionUpdateParams {
|
|
@@ -943,7 +1132,7 @@ export interface CollectionUpdateParams {
|
|
|
943
1132
|
* Header param: API version for this request. Defaults to your organization's
|
|
944
1133
|
* configured API version if not specified.
|
|
945
1134
|
*/
|
|
946
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
1135
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
947
1136
|
}
|
|
948
1137
|
|
|
949
1138
|
export namespace CollectionUpdateParams {
|
|
@@ -953,6 +1142,12 @@ export namespace CollectionUpdateParams {
|
|
|
953
1142
|
export interface Translations {
|
|
954
1143
|
id?: CollectionsAPI.CollectionTranslationInputNova;
|
|
955
1144
|
|
|
1145
|
+
am?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1146
|
+
|
|
1147
|
+
ar?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1148
|
+
|
|
1149
|
+
az?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1150
|
+
|
|
956
1151
|
bg?: CollectionsAPI.CollectionTranslationInputNova;
|
|
957
1152
|
|
|
958
1153
|
bn?: CollectionsAPI.CollectionTranslationInputNova;
|
|
@@ -975,36 +1170,70 @@ export namespace CollectionUpdateParams {
|
|
|
975
1170
|
|
|
976
1171
|
et?: CollectionsAPI.CollectionTranslationInputNova;
|
|
977
1172
|
|
|
1173
|
+
fa?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1174
|
+
|
|
978
1175
|
fi?: CollectionsAPI.CollectionTranslationInputNova;
|
|
979
1176
|
|
|
980
1177
|
fr?: CollectionsAPI.CollectionTranslationInputNova;
|
|
981
1178
|
|
|
1179
|
+
gu?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1180
|
+
|
|
1181
|
+
ha?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1182
|
+
|
|
1183
|
+
he?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1184
|
+
|
|
982
1185
|
hi?: CollectionsAPI.CollectionTranslationInputNova;
|
|
983
1186
|
|
|
984
1187
|
hr?: CollectionsAPI.CollectionTranslationInputNova;
|
|
985
1188
|
|
|
1189
|
+
ht?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1190
|
+
|
|
986
1191
|
hu?: CollectionsAPI.CollectionTranslationInputNova;
|
|
987
1192
|
|
|
1193
|
+
ig?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1194
|
+
|
|
988
1195
|
it?: CollectionsAPI.CollectionTranslationInputNova;
|
|
989
1196
|
|
|
990
1197
|
ja?: CollectionsAPI.CollectionTranslationInputNova;
|
|
991
1198
|
|
|
1199
|
+
jv?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1200
|
+
|
|
1201
|
+
kk?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1202
|
+
|
|
1203
|
+
km?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1204
|
+
|
|
1205
|
+
kn?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1206
|
+
|
|
992
1207
|
ko?: CollectionsAPI.CollectionTranslationInputNova;
|
|
993
1208
|
|
|
1209
|
+
lo?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1210
|
+
|
|
994
1211
|
lt?: CollectionsAPI.CollectionTranslationInputNova;
|
|
995
1212
|
|
|
996
1213
|
lv?: CollectionsAPI.CollectionTranslationInputNova;
|
|
997
1214
|
|
|
1215
|
+
ml?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1216
|
+
|
|
998
1217
|
mn?: CollectionsAPI.CollectionTranslationInputNova;
|
|
999
1218
|
|
|
1219
|
+
mr?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1220
|
+
|
|
1000
1221
|
ms?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1001
1222
|
|
|
1223
|
+
my?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1224
|
+
|
|
1002
1225
|
nb?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1003
1226
|
|
|
1227
|
+
ne?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1228
|
+
|
|
1004
1229
|
nl?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1005
1230
|
|
|
1231
|
+
pa?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1232
|
+
|
|
1006
1233
|
pl?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1007
1234
|
|
|
1235
|
+
ps?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1236
|
+
|
|
1008
1237
|
pt?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1009
1238
|
|
|
1010
1239
|
'pt-BR'?: CollectionsAPI.CollectionTranslationInputNova;
|
|
@@ -1013,36 +1242,68 @@ export namespace CollectionUpdateParams {
|
|
|
1013
1242
|
|
|
1014
1243
|
ru?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1015
1244
|
|
|
1245
|
+
sd?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1246
|
+
|
|
1247
|
+
si?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1248
|
+
|
|
1016
1249
|
sk?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1017
1250
|
|
|
1018
1251
|
sl?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1019
1252
|
|
|
1253
|
+
so?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1254
|
+
|
|
1020
1255
|
sr?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1021
1256
|
|
|
1022
1257
|
sv?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1023
1258
|
|
|
1024
1259
|
sw?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1025
1260
|
|
|
1261
|
+
ta?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1262
|
+
|
|
1263
|
+
te?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1264
|
+
|
|
1026
1265
|
th?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1027
1266
|
|
|
1267
|
+
tl?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1268
|
+
|
|
1028
1269
|
tr?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1029
1270
|
|
|
1030
1271
|
uk?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1031
1272
|
|
|
1273
|
+
ur?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1274
|
+
|
|
1275
|
+
uz?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1276
|
+
|
|
1032
1277
|
vi?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1033
1278
|
|
|
1279
|
+
yo?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1280
|
+
|
|
1034
1281
|
'zh-CN'?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1035
1282
|
|
|
1036
1283
|
'zh-TW'?: CollectionsAPI.CollectionTranslationInputNova;
|
|
1037
1284
|
}
|
|
1038
1285
|
}
|
|
1039
1286
|
|
|
1287
|
+
export interface CollectionListParams extends CursorPageParams {
|
|
1288
|
+
/**
|
|
1289
|
+
* Query param: Filter collections by help center ID. If omitted, returns
|
|
1290
|
+
* collections across all help centers.
|
|
1291
|
+
*/
|
|
1292
|
+
helpCenterId?: string;
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
1296
|
+
* configured API version if not specified.
|
|
1297
|
+
*/
|
|
1298
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1040
1301
|
export interface CollectionDeleteParams {
|
|
1041
1302
|
/**
|
|
1042
1303
|
* API version for this request. Defaults to your organization's configured API
|
|
1043
1304
|
* version if not specified.
|
|
1044
1305
|
*/
|
|
1045
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
1306
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
1046
1307
|
}
|
|
1047
1308
|
|
|
1048
1309
|
export declare namespace Collections {
|
|
@@ -1053,10 +1314,10 @@ export declare namespace Collections {
|
|
|
1053
1314
|
type CollectionTranslationInputNova as CollectionTranslationInputNova,
|
|
1054
1315
|
type CollectionDeleteResponse as CollectionDeleteResponse,
|
|
1055
1316
|
type CollectionsCursorPage as CollectionsCursorPage,
|
|
1056
|
-
type CollectionListParams as CollectionListParams,
|
|
1057
1317
|
type CollectionCreateParams as CollectionCreateParams,
|
|
1058
1318
|
type CollectionRetrieveParams as CollectionRetrieveParams,
|
|
1059
1319
|
type CollectionUpdateParams as CollectionUpdateParams,
|
|
1320
|
+
type CollectionListParams as CollectionListParams,
|
|
1060
1321
|
type CollectionDeleteParams as CollectionDeleteParams,
|
|
1061
1322
|
};
|
|
1062
1323
|
}
|