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
|
@@ -7,14 +7,11 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class CustomFields extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* tickets.
|
|
12
|
-
*
|
|
13
|
-
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
10
|
+
* Retrieves a single custom field by its unique identifier.
|
|
14
11
|
*
|
|
15
|
-
* ###
|
|
12
|
+
* ### Response
|
|
16
13
|
*
|
|
17
|
-
*
|
|
14
|
+
* Returns a custom field object with:
|
|
18
15
|
*
|
|
19
16
|
* - `id` - Unique field identifier
|
|
20
17
|
* - `label` - Field label displayed to users
|
|
@@ -28,17 +25,22 @@ export declare class CustomFields extends APIResource {
|
|
|
28
25
|
*
|
|
29
26
|
* @example
|
|
30
27
|
* ```ts
|
|
31
|
-
* const
|
|
32
|
-
* await client.support.tickets.customFields.
|
|
28
|
+
* const customField =
|
|
29
|
+
* await client.support.tickets.customFields.retrieve(
|
|
30
|
+
* '65d26304b2e65b1e1278170c',
|
|
31
|
+
* );
|
|
33
32
|
* ```
|
|
34
33
|
*/
|
|
35
|
-
|
|
34
|
+
retrieve(id: string, params?: CustomFieldRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomField>;
|
|
36
35
|
/**
|
|
37
|
-
*
|
|
36
|
+
* Returns all custom fields configured in your organization that can be used on
|
|
37
|
+
* tickets.
|
|
38
38
|
*
|
|
39
|
-
*
|
|
39
|
+
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
40
40
|
*
|
|
41
|
-
*
|
|
41
|
+
* ### Custom Field Object
|
|
42
|
+
*
|
|
43
|
+
* Each custom field includes:
|
|
42
44
|
*
|
|
43
45
|
* - `id` - Unique field identifier
|
|
44
46
|
* - `label` - Field label displayed to users
|
|
@@ -52,29 +54,27 @@ export declare class CustomFields extends APIResource {
|
|
|
52
54
|
*
|
|
53
55
|
* @example
|
|
54
56
|
* ```ts
|
|
55
|
-
* const
|
|
56
|
-
* await client.support.tickets.customFields.
|
|
57
|
-
* '65d26304b2e65b1e1278170c',
|
|
58
|
-
* );
|
|
57
|
+
* const customFieldList =
|
|
58
|
+
* await client.support.tickets.customFields.list();
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
list(params?: CustomFieldListParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomFieldList>;
|
|
62
62
|
}
|
|
63
|
-
export interface
|
|
63
|
+
export interface CustomFieldRetrieveParams {
|
|
64
64
|
/**
|
|
65
65
|
* API version for this request. Defaults to your organization's configured API
|
|
66
66
|
* version if not specified.
|
|
67
67
|
*/
|
|
68
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
68
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
69
69
|
}
|
|
70
|
-
export interface
|
|
70
|
+
export interface CustomFieldListParams {
|
|
71
71
|
/**
|
|
72
72
|
* API version for this request. Defaults to your organization's configured API
|
|
73
73
|
* version if not specified.
|
|
74
74
|
*/
|
|
75
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
75
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
76
76
|
}
|
|
77
77
|
export declare namespace CustomFields {
|
|
78
|
-
export { type
|
|
78
|
+
export { type CustomFieldRetrieveParams as CustomFieldRetrieveParams, type CustomFieldListParams as CustomFieldListParams, };
|
|
79
79
|
}
|
|
80
80
|
//# sourceMappingURL=custom-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-fields.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,eAAe,yCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"custom-fields.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,eAAe,yCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;IAe1C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC;CAc/C;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -7,14 +7,11 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class CustomFields extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* tickets.
|
|
12
|
-
*
|
|
13
|
-
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
10
|
+
* Retrieves a single custom field by its unique identifier.
|
|
14
11
|
*
|
|
15
|
-
* ###
|
|
12
|
+
* ### Response
|
|
16
13
|
*
|
|
17
|
-
*
|
|
14
|
+
* Returns a custom field object with:
|
|
18
15
|
*
|
|
19
16
|
* - `id` - Unique field identifier
|
|
20
17
|
* - `label` - Field label displayed to users
|
|
@@ -28,17 +25,22 @@ export declare class CustomFields extends APIResource {
|
|
|
28
25
|
*
|
|
29
26
|
* @example
|
|
30
27
|
* ```ts
|
|
31
|
-
* const
|
|
32
|
-
* await client.support.tickets.customFields.
|
|
28
|
+
* const customField =
|
|
29
|
+
* await client.support.tickets.customFields.retrieve(
|
|
30
|
+
* '65d26304b2e65b1e1278170c',
|
|
31
|
+
* );
|
|
33
32
|
* ```
|
|
34
33
|
*/
|
|
35
|
-
|
|
34
|
+
retrieve(id: string, params?: CustomFieldRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomField>;
|
|
36
35
|
/**
|
|
37
|
-
*
|
|
36
|
+
* Returns all custom fields configured in your organization that can be used on
|
|
37
|
+
* tickets.
|
|
38
38
|
*
|
|
39
|
-
*
|
|
39
|
+
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
40
40
|
*
|
|
41
|
-
*
|
|
41
|
+
* ### Custom Field Object
|
|
42
|
+
*
|
|
43
|
+
* Each custom field includes:
|
|
42
44
|
*
|
|
43
45
|
* - `id` - Unique field identifier
|
|
44
46
|
* - `label` - Field label displayed to users
|
|
@@ -52,29 +54,27 @@ export declare class CustomFields extends APIResource {
|
|
|
52
54
|
*
|
|
53
55
|
* @example
|
|
54
56
|
* ```ts
|
|
55
|
-
* const
|
|
56
|
-
* await client.support.tickets.customFields.
|
|
57
|
-
* '65d26304b2e65b1e1278170c',
|
|
58
|
-
* );
|
|
57
|
+
* const customFieldList =
|
|
58
|
+
* await client.support.tickets.customFields.list();
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
list(params?: CustomFieldListParams | null | undefined, options?: RequestOptions): APIPromise<CustomFieldsAPI.CustomFieldList>;
|
|
62
62
|
}
|
|
63
|
-
export interface
|
|
63
|
+
export interface CustomFieldRetrieveParams {
|
|
64
64
|
/**
|
|
65
65
|
* API version for this request. Defaults to your organization's configured API
|
|
66
66
|
* version if not specified.
|
|
67
67
|
*/
|
|
68
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
68
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
69
69
|
}
|
|
70
|
-
export interface
|
|
70
|
+
export interface CustomFieldListParams {
|
|
71
71
|
/**
|
|
72
72
|
* API version for this request. Defaults to your organization's configured API
|
|
73
73
|
* version if not specified.
|
|
74
74
|
*/
|
|
75
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
75
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
76
76
|
}
|
|
77
77
|
export declare namespace CustomFields {
|
|
78
|
-
export { type
|
|
78
|
+
export { type CustomFieldRetrieveParams as CustomFieldRetrieveParams, type CustomFieldListParams as CustomFieldListParams, };
|
|
79
79
|
}
|
|
80
80
|
//# sourceMappingURL=custom-fields.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-fields.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,eAAe,wCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"custom-fields.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,eAAe,wCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;IAe1C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC;CAc/C;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -10,14 +10,11 @@ const path_1 = require("../../../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class CustomFields extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
* tickets.
|
|
15
|
-
*
|
|
16
|
-
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
13
|
+
* Retrieves a single custom field by its unique identifier.
|
|
17
14
|
*
|
|
18
|
-
* ###
|
|
15
|
+
* ### Response
|
|
19
16
|
*
|
|
20
|
-
*
|
|
17
|
+
* Returns a custom field object with:
|
|
21
18
|
*
|
|
22
19
|
* - `id` - Unique field identifier
|
|
23
20
|
* - `label` - Field label displayed to users
|
|
@@ -31,13 +28,15 @@ class CustomFields extends resource_1.APIResource {
|
|
|
31
28
|
*
|
|
32
29
|
* @example
|
|
33
30
|
* ```ts
|
|
34
|
-
* const
|
|
35
|
-
* await client.support.tickets.customFields.
|
|
31
|
+
* const customField =
|
|
32
|
+
* await client.support.tickets.customFields.retrieve(
|
|
33
|
+
* '65d26304b2e65b1e1278170c',
|
|
34
|
+
* );
|
|
36
35
|
* ```
|
|
37
36
|
*/
|
|
38
|
-
|
|
37
|
+
retrieve(id, params = {}, options) {
|
|
39
38
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
40
|
-
return this._client.get(
|
|
39
|
+
return this._client.get((0, path_1.path) `/v2/tickets/custom_fields/${id}`, {
|
|
41
40
|
...options,
|
|
42
41
|
headers: (0, headers_1.buildHeaders)([
|
|
43
42
|
{
|
|
@@ -50,11 +49,14 @@ class CustomFields extends resource_1.APIResource {
|
|
|
50
49
|
});
|
|
51
50
|
}
|
|
52
51
|
/**
|
|
53
|
-
*
|
|
52
|
+
* Returns all custom fields configured in your organization that can be used on
|
|
53
|
+
* tickets.
|
|
54
54
|
*
|
|
55
|
-
*
|
|
55
|
+
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
56
56
|
*
|
|
57
|
-
*
|
|
57
|
+
* ### Custom Field Object
|
|
58
|
+
*
|
|
59
|
+
* Each custom field includes:
|
|
58
60
|
*
|
|
59
61
|
* - `id` - Unique field identifier
|
|
60
62
|
* - `label` - Field label displayed to users
|
|
@@ -68,15 +70,13 @@ class CustomFields extends resource_1.APIResource {
|
|
|
68
70
|
*
|
|
69
71
|
* @example
|
|
70
72
|
* ```ts
|
|
71
|
-
* const
|
|
72
|
-
* await client.support.tickets.customFields.
|
|
73
|
-
* '65d26304b2e65b1e1278170c',
|
|
74
|
-
* );
|
|
73
|
+
* const customFieldList =
|
|
74
|
+
* await client.support.tickets.customFields.list();
|
|
75
75
|
* ```
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
list(params = {}, options) {
|
|
78
78
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
79
|
-
return this._client.get(
|
|
79
|
+
return this._client.get('/v2/tickets/custom_fields', {
|
|
80
80
|
...options,
|
|
81
81
|
headers: (0, headers_1.buildHeaders)([
|
|
82
82
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-fields.js","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"custom-fields.js","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAU,EACV,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE;YAC7D,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;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,SAAmD,EAAE,EACrD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE;YACnD,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;CACF;AAxFD,oCAwFC"}
|
|
@@ -7,14 +7,11 @@ import { path } from "../../../internal/utils/path.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export class CustomFields extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* tickets.
|
|
12
|
-
*
|
|
13
|
-
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
10
|
+
* Retrieves a single custom field by its unique identifier.
|
|
14
11
|
*
|
|
15
|
-
* ###
|
|
12
|
+
* ### Response
|
|
16
13
|
*
|
|
17
|
-
*
|
|
14
|
+
* Returns a custom field object with:
|
|
18
15
|
*
|
|
19
16
|
* - `id` - Unique field identifier
|
|
20
17
|
* - `label` - Field label displayed to users
|
|
@@ -28,13 +25,15 @@ export class CustomFields extends APIResource {
|
|
|
28
25
|
*
|
|
29
26
|
* @example
|
|
30
27
|
* ```ts
|
|
31
|
-
* const
|
|
32
|
-
* await client.support.tickets.customFields.
|
|
28
|
+
* const customField =
|
|
29
|
+
* await client.support.tickets.customFields.retrieve(
|
|
30
|
+
* '65d26304b2e65b1e1278170c',
|
|
31
|
+
* );
|
|
33
32
|
* ```
|
|
34
33
|
*/
|
|
35
|
-
|
|
34
|
+
retrieve(id, params = {}, options) {
|
|
36
35
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
37
|
-
return this._client.get(
|
|
36
|
+
return this._client.get(path `/v2/tickets/custom_fields/${id}`, {
|
|
38
37
|
...options,
|
|
39
38
|
headers: buildHeaders([
|
|
40
39
|
{
|
|
@@ -47,11 +46,14 @@ export class CustomFields extends APIResource {
|
|
|
47
46
|
});
|
|
48
47
|
}
|
|
49
48
|
/**
|
|
50
|
-
*
|
|
49
|
+
* Returns all custom fields configured in your organization that can be used on
|
|
50
|
+
* tickets.
|
|
51
51
|
*
|
|
52
|
-
*
|
|
52
|
+
* This endpoint returns all custom fields at once. No pagination is supported.
|
|
53
53
|
*
|
|
54
|
-
*
|
|
54
|
+
* ### Custom Field Object
|
|
55
|
+
*
|
|
56
|
+
* Each custom field includes:
|
|
55
57
|
*
|
|
56
58
|
* - `id` - Unique field identifier
|
|
57
59
|
* - `label` - Field label displayed to users
|
|
@@ -65,15 +67,13 @@ export class CustomFields extends APIResource {
|
|
|
65
67
|
*
|
|
66
68
|
* @example
|
|
67
69
|
* ```ts
|
|
68
|
-
* const
|
|
69
|
-
* await client.support.tickets.customFields.
|
|
70
|
-
* '65d26304b2e65b1e1278170c',
|
|
71
|
-
* );
|
|
70
|
+
* const customFieldList =
|
|
71
|
+
* await client.support.tickets.customFields.list();
|
|
72
72
|
* ```
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
list(params = {}, options) {
|
|
75
75
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
76
|
-
return this._client.get(
|
|
76
|
+
return this._client.get('/v2/tickets/custom_fields', {
|
|
77
77
|
...options,
|
|
78
78
|
headers: buildHeaders([
|
|
79
79
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-fields.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"custom-fields.mjs","sourceRoot":"","sources":["../../../src/resources/support/tickets/custom-fields.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CACN,EAAU,EACV,SAAuD,EAAE,EACzD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE;YAC7D,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;IAED;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,IAAI,CACF,SAAmD,EAAE,EACrD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE;YACnD,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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Categories, type CategoryListResponse, type
|
|
2
|
-
export { CustomFields, type
|
|
3
|
-
export { Statuses, type StatusListResponse, type
|
|
4
|
-
export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type
|
|
1
|
+
export { Categories, type CategoryListResponse, type CategoryRetrieveParams, type CategoryListParams, } from "./categories.mjs";
|
|
2
|
+
export { CustomFields, type CustomFieldRetrieveParams, type CustomFieldListParams } from "./custom-fields.mjs";
|
|
3
|
+
export { Statuses, type StatusListResponse, type StatusRetrieveParams, type StatusListParams, } from "./statuses.mjs";
|
|
4
|
+
export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type TicketCreateParams, type TicketRetrieveParams, type TicketUpdateParams, type TicketListParams, type TicketDeleteParams, type TicketReplyParams, type TicketsCursorPage, } from "./tickets.mjs";
|
|
5
5
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,GACxB,yBAAqB;AACtB,OAAO,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,qBAAqB,EAAE,4BAAwB;AAC3G,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB,uBAAmB;AACpB,OAAO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,sBAAkB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Categories, type CategoryListResponse, type
|
|
2
|
-
export { CustomFields, type
|
|
3
|
-
export { Statuses, type StatusListResponse, type
|
|
4
|
-
export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type
|
|
1
|
+
export { Categories, type CategoryListResponse, type CategoryRetrieveParams, type CategoryListParams, } from "./categories.js";
|
|
2
|
+
export { CustomFields, type CustomFieldRetrieveParams, type CustomFieldListParams } from "./custom-fields.js";
|
|
3
|
+
export { Statuses, type StatusListResponse, type StatusRetrieveParams, type StatusListParams, } from "./statuses.js";
|
|
4
|
+
export { Tickets, type AuthorInput, type Ticket, type TicketDeleteResponse, type TicketCreateParams, type TicketRetrieveParams, type TicketUpdateParams, type TicketListParams, type TicketDeleteParams, type TicketReplyParams, type TicketsCursorPage, } from "./tickets.js";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,GACxB,wBAAqB;AACtB,OAAO,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,qBAAqB,EAAE,2BAAwB;AAC3G,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB,sBAAmB;AACpB,OAAO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,qBAAkB"}
|
|
@@ -6,6 +6,20 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
6
6
|
* Tickets represent support requests in your Featurebase organization. Create, update, reply to, and manage tickets via these endpoints.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Statuses extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a single ticket status by its unique identifier.
|
|
11
|
+
*
|
|
12
|
+
* Returns the status object including name, color, type, and default flag.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const postStatus =
|
|
17
|
+
* await client.support.tickets.statuses.retrieve(
|
|
18
|
+
* '507f1f77bcf86cd799439011',
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
|
|
9
23
|
/**
|
|
10
24
|
* Returns all ticket statuses for the authenticated organization.
|
|
11
25
|
*
|
|
@@ -25,37 +39,23 @@ export declare class Statuses extends APIResource {
|
|
|
25
39
|
* ```
|
|
26
40
|
*/
|
|
27
41
|
list(params?: StatusListParams | null | undefined, options?: RequestOptions): APIPromise<StatusListResponse>;
|
|
28
|
-
/**
|
|
29
|
-
* Retrieves a single ticket status by its unique identifier.
|
|
30
|
-
*
|
|
31
|
-
* Returns the status object including name, color, type, and default flag.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* ```ts
|
|
35
|
-
* const postStatus =
|
|
36
|
-
* await client.support.tickets.statuses.retrieve(
|
|
37
|
-
* '507f1f77bcf86cd799439011',
|
|
38
|
-
* );
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
|
|
42
42
|
}
|
|
43
43
|
export type StatusListResponse = Array<PostStatusesAPI.PostStatus>;
|
|
44
|
-
export interface
|
|
44
|
+
export interface StatusRetrieveParams {
|
|
45
45
|
/**
|
|
46
46
|
* API version for this request. Defaults to your organization's configured API
|
|
47
47
|
* version if not specified.
|
|
48
48
|
*/
|
|
49
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
49
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
50
50
|
}
|
|
51
|
-
export interface
|
|
51
|
+
export interface StatusListParams {
|
|
52
52
|
/**
|
|
53
53
|
* API version for this request. Defaults to your organization's configured API
|
|
54
54
|
* version if not specified.
|
|
55
55
|
*/
|
|
56
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
56
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
57
57
|
}
|
|
58
58
|
export declare namespace Statuses {
|
|
59
|
-
export { type StatusListResponse as StatusListResponse, type
|
|
59
|
+
export { type StatusListResponse as StatusListResponse, type StatusRetrieveParams as StatusRetrieveParams, type StatusListParams as StatusListParams, };
|
|
60
60
|
}
|
|
61
61
|
//# sourceMappingURL=statuses.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statuses.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,eAAe,yCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"statuses.d.mts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,eAAe,yCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC;IAezC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,MAAM,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAclC;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;AAEnE,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -6,6 +6,20 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
6
6
|
* Tickets represent support requests in your Featurebase organization. Create, update, reply to, and manage tickets via these endpoints.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Statuses extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a single ticket status by its unique identifier.
|
|
11
|
+
*
|
|
12
|
+
* Returns the status object including name, color, type, and default flag.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const postStatus =
|
|
17
|
+
* await client.support.tickets.statuses.retrieve(
|
|
18
|
+
* '507f1f77bcf86cd799439011',
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
|
|
9
23
|
/**
|
|
10
24
|
* Returns all ticket statuses for the authenticated organization.
|
|
11
25
|
*
|
|
@@ -25,37 +39,23 @@ export declare class Statuses extends APIResource {
|
|
|
25
39
|
* ```
|
|
26
40
|
*/
|
|
27
41
|
list(params?: StatusListParams | null | undefined, options?: RequestOptions): APIPromise<StatusListResponse>;
|
|
28
|
-
/**
|
|
29
|
-
* Retrieves a single ticket status by its unique identifier.
|
|
30
|
-
*
|
|
31
|
-
* Returns the status object including name, color, type, and default flag.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* ```ts
|
|
35
|
-
* const postStatus =
|
|
36
|
-
* await client.support.tickets.statuses.retrieve(
|
|
37
|
-
* '507f1f77bcf86cd799439011',
|
|
38
|
-
* );
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
retrieve(id: string, params?: StatusRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<PostStatusesAPI.PostStatus>;
|
|
42
42
|
}
|
|
43
43
|
export type StatusListResponse = Array<PostStatusesAPI.PostStatus>;
|
|
44
|
-
export interface
|
|
44
|
+
export interface StatusRetrieveParams {
|
|
45
45
|
/**
|
|
46
46
|
* API version for this request. Defaults to your organization's configured API
|
|
47
47
|
* version if not specified.
|
|
48
48
|
*/
|
|
49
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
49
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
50
50
|
}
|
|
51
|
-
export interface
|
|
51
|
+
export interface StatusListParams {
|
|
52
52
|
/**
|
|
53
53
|
* API version for this request. Defaults to your organization's configured API
|
|
54
54
|
* version if not specified.
|
|
55
55
|
*/
|
|
56
|
-
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
56
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
57
57
|
}
|
|
58
58
|
export declare namespace Statuses {
|
|
59
|
-
export { type StatusListResponse as StatusListResponse, type
|
|
59
|
+
export { type StatusListResponse as StatusListResponse, type StatusRetrieveParams as StatusRetrieveParams, type StatusListParams as StatusListParams, };
|
|
60
60
|
}
|
|
61
61
|
//# sourceMappingURL=statuses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statuses.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,eAAe,wCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"statuses.d.ts","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,eAAe,wCAAqC;AAChE,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC;IAezC;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,MAAM,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAclC;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;AAEnE,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;CACtF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -10,26 +10,21 @@ const path_1 = require("../../../internal/utils/path.js");
|
|
|
10
10
|
*/
|
|
11
11
|
class Statuses extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* Ticket statuses define workflow stages. Each status has:
|
|
16
|
-
*
|
|
17
|
-
* - A display name and color
|
|
18
|
-
* - A type indicating the workflow stage (reviewing, unstarted, active, completed,
|
|
19
|
-
* canceled)
|
|
20
|
-
* - A flag indicating if it's the default status for new tickets
|
|
13
|
+
* Retrieves a single ticket status by its unique identifier.
|
|
21
14
|
*
|
|
22
|
-
*
|
|
15
|
+
* Returns the status object including name, color, type, and default flag.
|
|
23
16
|
*
|
|
24
17
|
* @example
|
|
25
18
|
* ```ts
|
|
26
|
-
* const
|
|
27
|
-
* await client.support.tickets.statuses.
|
|
19
|
+
* const postStatus =
|
|
20
|
+
* await client.support.tickets.statuses.retrieve(
|
|
21
|
+
* '507f1f77bcf86cd799439011',
|
|
22
|
+
* );
|
|
28
23
|
* ```
|
|
29
24
|
*/
|
|
30
|
-
|
|
25
|
+
retrieve(id, params = {}, options) {
|
|
31
26
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
32
|
-
return this._client.get(
|
|
27
|
+
return this._client.get((0, path_1.path) `/v2/tickets/statuses/${id}`, {
|
|
33
28
|
...options,
|
|
34
29
|
headers: (0, headers_1.buildHeaders)([
|
|
35
30
|
{
|
|
@@ -42,21 +37,26 @@ class Statuses extends resource_1.APIResource {
|
|
|
42
37
|
});
|
|
43
38
|
}
|
|
44
39
|
/**
|
|
45
|
-
*
|
|
40
|
+
* Returns all ticket statuses for the authenticated organization.
|
|
46
41
|
*
|
|
47
|
-
*
|
|
42
|
+
* Ticket statuses define workflow stages. Each status has:
|
|
43
|
+
*
|
|
44
|
+
* - A display name and color
|
|
45
|
+
* - A type indicating the workflow stage (reviewing, unstarted, active, completed,
|
|
46
|
+
* canceled)
|
|
47
|
+
* - A flag indicating if it's the default status for new tickets
|
|
48
|
+
*
|
|
49
|
+
* This endpoint returns all statuses without pagination.
|
|
48
50
|
*
|
|
49
51
|
* @example
|
|
50
52
|
* ```ts
|
|
51
|
-
* const
|
|
52
|
-
* await client.support.tickets.statuses.
|
|
53
|
-
* '507f1f77bcf86cd799439011',
|
|
54
|
-
* );
|
|
53
|
+
* const postStatuses =
|
|
54
|
+
* await client.support.tickets.statuses.list();
|
|
55
55
|
* ```
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
list(params = {}, options) {
|
|
58
58
|
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
59
|
-
return this._client.get(
|
|
59
|
+
return this._client.get('/v2/tickets/statuses', {
|
|
60
60
|
...options,
|
|
61
61
|
headers: (0, headers_1.buildHeaders)([
|
|
62
62
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statuses.js","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC
|
|
1
|
+
{"version":3,"file":"statuses.js","sourceRoot":"","sources":["../../../src/resources/support/tickets/statuses.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAU,EACV,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,wBAAwB,EAAE,EAAE,EAAE;YACxD,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;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CACF,SAA8C,EAAE,EAChD,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,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;CACF;AApED,4BAoEC"}
|