featurebase-node 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +31 -0
- package/client.d.mts +12 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -6
- package/client.d.ts.map +1 -1
- package/client.js +10 -0
- package/client.js.map +1 -1
- package/client.mjs +10 -0
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +54 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +54 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +101 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +95 -0
- package/core/pagination.mjs.map +1 -0
- package/index.d.mts +1 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/package.json +11 -1
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resources/changelogs/changelogs.d.mts +16 -60
- package/resources/changelogs/changelogs.d.mts.map +1 -1
- package/resources/changelogs/changelogs.d.ts +16 -60
- package/resources/changelogs/changelogs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.js +41 -9
- package/resources/changelogs/changelogs.js.map +1 -1
- package/resources/changelogs/changelogs.mjs +41 -9
- package/resources/changelogs/changelogs.mjs.map +1 -1
- package/resources/changelogs/index.d.mts +1 -1
- package/resources/changelogs/index.d.mts.map +1 -1
- package/resources/changelogs/index.d.ts +1 -1
- package/resources/changelogs/index.d.ts.map +1 -1
- package/resources/changelogs/subscribers.d.mts +2 -2
- package/resources/changelogs/subscribers.d.mts.map +1 -1
- package/resources/changelogs/subscribers.d.ts +2 -2
- package/resources/changelogs/subscribers.d.ts.map +1 -1
- package/resources/changelogs/subscribers.js +10 -2
- package/resources/changelogs/subscribers.js.map +1 -1
- package/resources/changelogs/subscribers.mjs +10 -2
- package/resources/changelogs/subscribers.mjs.map +1 -1
- package/resources/feedback/boards.d.mts +2 -2
- package/resources/feedback/boards.d.mts.map +1 -1
- package/resources/feedback/boards.d.ts +2 -2
- package/resources/feedback/boards.d.ts.map +1 -1
- package/resources/feedback/boards.js +10 -2
- package/resources/feedback/boards.js.map +1 -1
- package/resources/feedback/boards.mjs +10 -2
- package/resources/feedback/boards.mjs.map +1 -1
- package/resources/feedback/comments.d.mts +15 -59
- package/resources/feedback/comments.d.mts.map +1 -1
- package/resources/feedback/comments.d.ts +15 -59
- package/resources/feedback/comments.d.ts.map +1 -1
- package/resources/feedback/comments.js +36 -8
- package/resources/feedback/comments.js.map +1 -1
- package/resources/feedback/comments.mjs +36 -8
- package/resources/feedback/comments.mjs.map +1 -1
- package/resources/feedback/custom-fields.d.mts +2 -2
- package/resources/feedback/custom-fields.d.mts.map +1 -1
- package/resources/feedback/custom-fields.d.ts +2 -2
- package/resources/feedback/custom-fields.d.ts.map +1 -1
- package/resources/feedback/custom-fields.js +10 -2
- package/resources/feedback/custom-fields.js.map +1 -1
- package/resources/feedback/custom-fields.mjs +10 -2
- package/resources/feedback/custom-fields.mjs.map +1 -1
- package/resources/feedback/feedback.d.mts +4 -4
- package/resources/feedback/feedback.d.mts.map +1 -1
- package/resources/feedback/feedback.d.ts +4 -4
- package/resources/feedback/feedback.d.ts.map +1 -1
- package/resources/feedback/feedback.mjs.map +1 -1
- package/resources/feedback/index.d.mts +2 -2
- package/resources/feedback/index.d.mts.map +1 -1
- package/resources/feedback/index.d.ts +2 -2
- package/resources/feedback/index.d.ts.map +1 -1
- package/resources/feedback/post-statuses.d.mts +2 -2
- package/resources/feedback/post-statuses.d.mts.map +1 -1
- package/resources/feedback/post-statuses.d.ts +2 -2
- package/resources/feedback/post-statuses.d.ts.map +1 -1
- package/resources/feedback/post-statuses.js +10 -2
- package/resources/feedback/post-statuses.js.map +1 -1
- package/resources/feedback/post-statuses.mjs +10 -2
- package/resources/feedback/post-statuses.mjs.map +1 -1
- package/resources/feedback/posts/index.d.mts +2 -2
- package/resources/feedback/posts/index.d.mts.map +1 -1
- package/resources/feedback/posts/index.d.ts +2 -2
- package/resources/feedback/posts/index.d.ts.map +1 -1
- package/resources/feedback/posts/index.js.map +1 -1
- package/resources/feedback/posts/index.mjs.map +1 -1
- package/resources/feedback/posts/posts.d.mts +16 -61
- package/resources/feedback/posts/posts.d.mts.map +1 -1
- package/resources/feedback/posts/posts.d.ts +16 -61
- package/resources/feedback/posts/posts.d.ts.map +1 -1
- package/resources/feedback/posts/posts.js +31 -7
- package/resources/feedback/posts/posts.js.map +1 -1
- package/resources/feedback/posts/posts.mjs +31 -7
- package/resources/feedback/posts/posts.mjs.map +1 -1
- package/resources/feedback/posts/voters.d.mts +82 -127
- package/resources/feedback/posts/voters.d.mts.map +1 -1
- package/resources/feedback/posts/voters.d.ts +82 -127
- package/resources/feedback/posts/voters.d.ts.map +1 -1
- package/resources/feedback/posts/voters.js +22 -6
- package/resources/feedback/posts/voters.js.map +1 -1
- package/resources/feedback/posts/voters.mjs +22 -6
- package/resources/feedback/posts/voters.mjs.map +1 -1
- package/resources/help-center/articles.d.mts +14 -32
- package/resources/help-center/articles.d.mts.map +1 -1
- package/resources/help-center/articles.d.ts +14 -32
- package/resources/help-center/articles.d.ts.map +1 -1
- package/resources/help-center/articles.js +31 -7
- package/resources/help-center/articles.js.map +1 -1
- package/resources/help-center/articles.mjs +31 -7
- package/resources/help-center/articles.mjs.map +1 -1
- package/resources/help-center/collections.d.mts +14 -33
- package/resources/help-center/collections.d.mts.map +1 -1
- package/resources/help-center/collections.d.ts +14 -33
- package/resources/help-center/collections.d.ts.map +1 -1
- package/resources/help-center/collections.js +31 -8
- package/resources/help-center/collections.js.map +1 -1
- package/resources/help-center/collections.mjs +31 -8
- package/resources/help-center/collections.mjs.map +1 -1
- package/resources/help-center/help-center.d.mts +8 -8
- package/resources/help-center/help-center.d.mts.map +1 -1
- package/resources/help-center/help-center.d.ts +8 -8
- package/resources/help-center/help-center.d.ts.map +1 -1
- package/resources/help-center/help-center.mjs.map +1 -1
- package/resources/help-center/help-centers.d.mts +11 -30
- package/resources/help-center/help-centers.d.mts.map +1 -1
- package/resources/help-center/help-centers.d.ts +11 -30
- package/resources/help-center/help-centers.d.ts.map +1 -1
- package/resources/help-center/help-centers.js +16 -5
- package/resources/help-center/help-centers.js.map +1 -1
- package/resources/help-center/help-centers.mjs +16 -5
- package/resources/help-center/help-centers.mjs.map +1 -1
- package/resources/help-center/index.d.mts +4 -4
- package/resources/help-center/index.d.mts.map +1 -1
- package/resources/help-center/index.d.ts +4 -4
- package/resources/help-center/index.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.d.mts +15 -34
- package/resources/help-center/redirect-rules.d.mts.map +1 -1
- package/resources/help-center/redirect-rules.d.ts +15 -34
- package/resources/help-center/redirect-rules.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.js +36 -9
- package/resources/help-center/redirect-rules.js.map +1 -1
- package/resources/help-center/redirect-rules.mjs +36 -9
- package/resources/help-center/redirect-rules.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/organization/admins.d.mts +3 -3
- package/resources/organization/admins.d.mts.map +1 -1
- package/resources/organization/admins.d.ts +3 -3
- package/resources/organization/admins.d.ts.map +1 -1
- package/resources/organization/admins.js +15 -3
- package/resources/organization/admins.js.map +1 -1
- package/resources/organization/admins.mjs +15 -3
- package/resources/organization/admins.mjs.map +1 -1
- package/resources/organization/brands.d.mts +7 -28
- package/resources/organization/brands.d.mts.map +1 -1
- package/resources/organization/brands.d.ts +7 -28
- package/resources/organization/brands.d.ts.map +1 -1
- package/resources/organization/brands.js +12 -3
- package/resources/organization/brands.js.map +1 -1
- package/resources/organization/brands.mjs +12 -3
- package/resources/organization/brands.mjs.map +1 -1
- package/resources/organization/index.d.mts +1 -1
- package/resources/organization/index.d.mts.map +1 -1
- package/resources/organization/index.d.ts +1 -1
- package/resources/organization/index.d.ts.map +1 -1
- package/resources/organization/organization.d.mts +2 -2
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +2 -2
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs.map +1 -1
- package/resources/organization/teams.d.mts +2 -2
- package/resources/organization/teams.d.mts.map +1 -1
- package/resources/organization/teams.d.ts +2 -2
- package/resources/organization/teams.d.ts.map +1 -1
- package/resources/organization/teams.js +10 -2
- package/resources/organization/teams.js.map +1 -1
- package/resources/organization/teams.mjs +10 -2
- package/resources/organization/teams.mjs.map +1 -1
- package/resources/support/conversation-tags.d.mts +4 -4
- package/resources/support/conversation-tags.d.mts.map +1 -1
- package/resources/support/conversation-tags.d.ts +4 -4
- package/resources/support/conversation-tags.d.ts.map +1 -1
- package/resources/support/conversation-tags.js +20 -4
- package/resources/support/conversation-tags.js.map +1 -1
- package/resources/support/conversation-tags.mjs +20 -4
- package/resources/support/conversation-tags.mjs.map +1 -1
- package/resources/support/conversations/conversations.d.mts +17 -36
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +17 -36
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +41 -10
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +41 -10
- package/resources/support/conversations/conversations.mjs.map +1 -1
- package/resources/support/conversations/index.d.mts +1 -1
- package/resources/support/conversations/index.d.mts.map +1 -1
- package/resources/support/conversations/index.d.ts +1 -1
- package/resources/support/conversations/index.d.ts.map +1 -1
- package/resources/support/conversations/participants.d.mts +2 -2
- package/resources/support/conversations/participants.d.mts.map +1 -1
- package/resources/support/conversations/participants.d.ts +2 -2
- package/resources/support/conversations/participants.d.ts.map +1 -1
- package/resources/support/conversations/participants.js +10 -2
- package/resources/support/conversations/participants.js.map +1 -1
- package/resources/support/conversations/participants.mjs +10 -2
- package/resources/support/conversations/participants.mjs.map +1 -1
- package/resources/support/conversations/tags.d.mts +2 -2
- package/resources/support/conversations/tags.d.mts.map +1 -1
- package/resources/support/conversations/tags.d.ts +2 -2
- package/resources/support/conversations/tags.d.ts.map +1 -1
- package/resources/support/conversations/tags.js +10 -2
- package/resources/support/conversations/tags.js.map +1 -1
- package/resources/support/conversations/tags.mjs +10 -2
- package/resources/support/conversations/tags.mjs.map +1 -1
- package/resources/support/index.d.mts +2 -2
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +2 -2
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/support.d.mts +4 -4
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +4 -4
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/support.mjs.map +1 -1
- package/resources/support/tickets/categories.d.mts +2 -2
- package/resources/support/tickets/categories.d.mts.map +1 -1
- package/resources/support/tickets/categories.d.ts +2 -2
- package/resources/support/tickets/categories.d.ts.map +1 -1
- package/resources/support/tickets/categories.js +10 -2
- package/resources/support/tickets/categories.js.map +1 -1
- package/resources/support/tickets/categories.mjs +10 -2
- package/resources/support/tickets/categories.mjs.map +1 -1
- package/resources/support/tickets/custom-fields.d.mts +2 -2
- package/resources/support/tickets/custom-fields.d.mts.map +1 -1
- package/resources/support/tickets/custom-fields.d.ts +2 -2
- package/resources/support/tickets/custom-fields.d.ts.map +1 -1
- package/resources/support/tickets/custom-fields.js +10 -2
- package/resources/support/tickets/custom-fields.js.map +1 -1
- package/resources/support/tickets/custom-fields.mjs +10 -2
- package/resources/support/tickets/custom-fields.mjs.map +1 -1
- package/resources/support/tickets/index.d.mts +1 -1
- package/resources/support/tickets/index.d.mts.map +1 -1
- package/resources/support/tickets/index.d.ts +1 -1
- package/resources/support/tickets/index.d.ts.map +1 -1
- package/resources/support/tickets/statuses.d.mts +2 -2
- package/resources/support/tickets/statuses.d.mts.map +1 -1
- package/resources/support/tickets/statuses.d.ts +2 -2
- package/resources/support/tickets/statuses.d.ts.map +1 -1
- package/resources/support/tickets/statuses.js +10 -2
- package/resources/support/tickets/statuses.js.map +1 -1
- package/resources/support/tickets/statuses.mjs +10 -2
- package/resources/support/tickets/statuses.mjs.map +1 -1
- package/resources/support/tickets/tickets.d.mts +16 -34
- package/resources/support/tickets/tickets.d.mts.map +1 -1
- package/resources/support/tickets/tickets.d.ts +16 -34
- package/resources/support/tickets/tickets.d.ts.map +1 -1
- package/resources/support/tickets/tickets.js +36 -8
- package/resources/support/tickets/tickets.js.map +1 -1
- package/resources/support/tickets/tickets.mjs +36 -8
- package/resources/support/tickets/tickets.mjs.map +1 -1
- package/resources/surveys.d.mts +37 -82
- package/resources/surveys.d.mts.map +1 -1
- package/resources/surveys.d.ts +37 -82
- package/resources/surveys.d.ts.map +1 -1
- package/resources/surveys.js +19 -6
- package/resources/surveys.js.map +1 -1
- package/resources/surveys.mjs +19 -6
- package/resources/surveys.mjs.map +1 -1
- package/resources/users/companies/companies.d.mts +14 -33
- package/resources/users/companies/companies.d.mts.map +1 -1
- package/resources/users/companies/companies.d.ts +14 -33
- package/resources/users/companies/companies.d.ts.map +1 -1
- package/resources/users/companies/companies.js +31 -7
- package/resources/users/companies/companies.js.map +1 -1
- package/resources/users/companies/companies.mjs +31 -7
- package/resources/users/companies/companies.mjs.map +1 -1
- package/resources/users/companies/contacts.d.mts +14 -19
- package/resources/users/companies/contacts.d.mts.map +1 -1
- package/resources/users/companies/contacts.d.ts +14 -19
- package/resources/users/companies/contacts.d.ts.map +1 -1
- package/resources/users/companies/contacts.js +23 -8
- package/resources/users/companies/contacts.js.map +1 -1
- package/resources/users/companies/contacts.mjs +23 -8
- package/resources/users/companies/contacts.mjs.map +1 -1
- package/resources/users/companies/index.d.mts +1 -1
- package/resources/users/companies/index.d.mts.map +1 -1
- package/resources/users/companies/index.d.ts +1 -1
- package/resources/users/companies/index.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.d.mts +2 -2
- package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.d.ts +2 -2
- package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.js +10 -2
- package/resources/users/contacts/by-user-id/by-user-id.js.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.mjs +10 -2
- package/resources/users/contacts/by-user-id/by-user-id.mjs.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.d.mts +2 -2
- package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.d.ts +2 -2
- package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.js +10 -2
- package/resources/users/contacts/by-user-id/email-preferences.js.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.mjs +10 -2
- package/resources/users/contacts/by-user-id/email-preferences.mjs.map +1 -1
- package/resources/users/contacts/contacts.d.mts +15 -19
- package/resources/users/contacts/contacts.d.mts.map +1 -1
- package/resources/users/contacts/contacts.d.ts +15 -19
- package/resources/users/contacts/contacts.d.ts.map +1 -1
- package/resources/users/contacts/contacts.js +36 -8
- package/resources/users/contacts/contacts.js.map +1 -1
- package/resources/users/contacts/contacts.mjs +36 -8
- package/resources/users/contacts/contacts.mjs.map +1 -1
- package/resources/users/contacts/email-preferences.d.mts +2 -2
- package/resources/users/contacts/email-preferences.d.mts.map +1 -1
- package/resources/users/contacts/email-preferences.d.ts +2 -2
- package/resources/users/contacts/email-preferences.d.ts.map +1 -1
- package/resources/users/contacts/email-preferences.js +10 -2
- package/resources/users/contacts/email-preferences.js.map +1 -1
- package/resources/users/contacts/email-preferences.mjs +10 -2
- package/resources/users/contacts/email-preferences.mjs.map +1 -1
- package/resources/users/contacts/index.d.mts +1 -1
- package/resources/users/contacts/index.d.mts.map +1 -1
- package/resources/users/contacts/index.d.ts +1 -1
- package/resources/users/contacts/index.d.ts.map +1 -1
- package/resources/users/contacts/index.js.map +1 -1
- package/resources/users/contacts/index.mjs.map +1 -1
- package/resources/users/index.d.mts +2 -2
- package/resources/users/index.d.mts.map +1 -1
- package/resources/users/index.d.ts +2 -2
- package/resources/users/index.d.ts.map +1 -1
- package/resources/users/index.js.map +1 -1
- package/resources/users/index.mjs.map +1 -1
- package/resources/users/users.d.mts +4 -4
- package/resources/users/users.d.mts.map +1 -1
- package/resources/users/users.d.ts +4 -4
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs.map +1 -1
- package/resources/webhooks.d.mts +15 -33
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +15 -33
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +36 -8
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +36 -8
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +41 -10
- package/src/core/pagination.ts +157 -0
- package/src/index.ts +1 -0
- package/src/pagination.ts +2 -0
- package/src/resources/changelogs/changelogs.ts +53 -78
- package/src/resources/changelogs/index.ts +1 -1
- package/src/resources/changelogs/subscribers.ts +12 -4
- package/src/resources/feedback/boards.ts +12 -4
- package/src/resources/feedback/comments.ts +47 -76
- package/src/resources/feedback/custom-fields.ts +12 -4
- package/src/resources/feedback/feedback.ts +4 -4
- package/src/resources/feedback/index.ts +2 -2
- package/src/resources/feedback/post-statuses.ts +12 -4
- package/src/resources/feedback/posts/index.ts +2 -1
- package/src/resources/feedback/posts/posts.ts +43 -75
- package/src/resources/feedback/posts/voters.ts +105 -146
- package/src/resources/help-center/articles.ts +41 -43
- package/src/resources/help-center/collections.ts +41 -44
- package/src/resources/help-center/help-center.ts +8 -8
- package/src/resources/help-center/help-centers.ts +23 -38
- package/src/resources/help-center/index.ts +4 -4
- package/src/resources/help-center/redirect-rules.ts +47 -46
- package/src/resources/index.ts +6 -5
- package/src/resources/organization/admins.ts +18 -6
- package/src/resources/organization/brands.ts +19 -36
- package/src/resources/organization/index.ts +1 -1
- package/src/resources/organization/organization.ts +2 -2
- package/src/resources/organization/teams.ts +12 -4
- package/src/resources/support/conversation-tags.ts +24 -8
- package/src/resources/support/conversations/conversations.ts +54 -49
- package/src/resources/support/conversations/index.ts +1 -1
- package/src/resources/support/conversations/participants.ts +12 -4
- package/src/resources/support/conversations/tags.ts +12 -4
- package/src/resources/support/index.ts +2 -2
- package/src/resources/support/support.ts +4 -4
- package/src/resources/support/tickets/categories.ts +12 -4
- package/src/resources/support/tickets/custom-fields.ts +12 -4
- package/src/resources/support/tickets/index.ts +1 -1
- package/src/resources/support/tickets/statuses.ts +12 -4
- package/src/resources/support/tickets/tickets.ts +48 -46
- package/src/resources/surveys.ts +71 -107
- package/src/resources/users/companies/companies.ts +41 -44
- package/src/resources/users/companies/contacts.ts +41 -31
- package/src/resources/users/companies/index.ts +1 -1
- package/src/resources/users/contacts/by-user-id/by-user-id.ts +12 -4
- package/src/resources/users/contacts/by-user-id/email-preferences.ts +12 -4
- package/src/resources/users/contacts/contacts.ts +50 -27
- package/src/resources/users/contacts/email-preferences.ts +12 -4
- package/src/resources/users/contacts/index.ts +1 -0
- package/src/resources/users/index.ts +2 -1
- package/src/resources/users/users.ts +4 -2
- package/src/resources/webhooks.ts +47 -45
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -2,6 +2,7 @@ import { APIResource } from "../../core/resource.js";
|
|
|
2
2
|
import * as SubscribersAPI from "./subscribers.js";
|
|
3
3
|
import { SubscriberAddParams, SubscriberAddResponse, SubscriberRemoveParams, SubscriberRemoveResponse, Subscribers } from "./subscribers.js";
|
|
4
4
|
import { APIPromise } from "../../core/api-promise.js";
|
|
5
|
+
import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.js";
|
|
5
6
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
6
7
|
/**
|
|
7
8
|
* Release notes and updates published by the organization. Changelogs keep users informed about new features, improvements, and fixes.
|
|
@@ -183,10 +184,13 @@ export declare class Changelogs extends APIResource {
|
|
|
183
184
|
*
|
|
184
185
|
* @example
|
|
185
186
|
* ```ts
|
|
186
|
-
*
|
|
187
|
+
* // Automatically fetches more pages as needed.
|
|
188
|
+
* for await (const changelog of client.changelogs.list()) {
|
|
189
|
+
* // ...
|
|
190
|
+
* }
|
|
187
191
|
* ```
|
|
188
192
|
*/
|
|
189
|
-
list(params?: ChangelogListParams | null | undefined, options?: RequestOptions):
|
|
193
|
+
list(params?: ChangelogListParams | null | undefined, options?: RequestOptions): PagePromise<ChangelogsCursorPage, Changelog>;
|
|
190
194
|
/**
|
|
191
195
|
* Deletes a changelog by its unique identifier.
|
|
192
196
|
*
|
|
@@ -325,6 +329,7 @@ export declare class Changelogs extends APIResource {
|
|
|
325
329
|
*/
|
|
326
330
|
unpublish(id: string, params: ChangelogUnpublishParams, options?: RequestOptions): APIPromise<PublishUnpublishSuccess>;
|
|
327
331
|
}
|
|
332
|
+
export type ChangelogsCursorPage = CursorPage<Changelog>;
|
|
328
333
|
export interface Changelog {
|
|
329
334
|
/**
|
|
330
335
|
* Unique identifier
|
|
@@ -471,47 +476,6 @@ export interface PublishUnpublishSuccess {
|
|
|
471
476
|
*/
|
|
472
477
|
state?: 'published' | 'scheduled' | 'unpublished';
|
|
473
478
|
}
|
|
474
|
-
export interface ChangelogListResponse {
|
|
475
|
-
/**
|
|
476
|
-
* Array of changelogs
|
|
477
|
-
*/
|
|
478
|
-
data: Array<Changelog>;
|
|
479
|
-
/**
|
|
480
|
-
* Cursor for fetching the next page (cursor-based pagination)
|
|
481
|
-
*/
|
|
482
|
-
nextCursor: string | null;
|
|
483
|
-
/**
|
|
484
|
-
* Object type identifier
|
|
485
|
-
*/
|
|
486
|
-
object: 'list';
|
|
487
|
-
/**
|
|
488
|
-
* Pagination metadata for page-based requests
|
|
489
|
-
*/
|
|
490
|
-
pagination?: ChangelogListResponse.Pagination;
|
|
491
|
-
}
|
|
492
|
-
export declare namespace ChangelogListResponse {
|
|
493
|
-
/**
|
|
494
|
-
* Pagination metadata for page-based requests
|
|
495
|
-
*/
|
|
496
|
-
interface Pagination {
|
|
497
|
-
/**
|
|
498
|
-
* Items per page
|
|
499
|
-
*/
|
|
500
|
-
limit: number;
|
|
501
|
-
/**
|
|
502
|
-
* Current page number
|
|
503
|
-
*/
|
|
504
|
-
page: number;
|
|
505
|
-
/**
|
|
506
|
-
* Total number of items
|
|
507
|
-
*/
|
|
508
|
-
total: number;
|
|
509
|
-
/**
|
|
510
|
-
* Total number of pages
|
|
511
|
-
*/
|
|
512
|
-
totalPages: number;
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
479
|
export interface ChangelogDeleteResponse {
|
|
516
480
|
/**
|
|
517
481
|
* Unique identifier of the deleted changelog
|
|
@@ -573,14 +537,14 @@ export interface ChangelogCreateParams {
|
|
|
573
537
|
* Header param: API version for this request. Defaults to your organization's
|
|
574
538
|
* configured API version if not specified.
|
|
575
539
|
*/
|
|
576
|
-
'Featurebase-Version'?:
|
|
540
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
577
541
|
}
|
|
578
542
|
export interface ChangelogRetrieveParams {
|
|
579
543
|
/**
|
|
580
544
|
* API version for this request. Defaults to your organization's configured API
|
|
581
545
|
* version if not specified.
|
|
582
546
|
*/
|
|
583
|
-
'Featurebase-Version'?:
|
|
547
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
584
548
|
}
|
|
585
549
|
export interface ChangelogUpdateParams {
|
|
586
550
|
/**
|
|
@@ -620,9 +584,9 @@ export interface ChangelogUpdateParams {
|
|
|
620
584
|
* Header param: API version for this request. Defaults to your organization's
|
|
621
585
|
* configured API version if not specified.
|
|
622
586
|
*/
|
|
623
|
-
'Featurebase-Version'?:
|
|
587
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
624
588
|
}
|
|
625
|
-
export interface ChangelogListParams {
|
|
589
|
+
export interface ChangelogListParams extends CursorPageParams {
|
|
626
590
|
/**
|
|
627
591
|
* Query param: Find changelog by its id (also accepts slug)
|
|
628
592
|
*/
|
|
@@ -631,18 +595,10 @@ export interface ChangelogListParams {
|
|
|
631
595
|
* Query param: Filter changelogs by category names (single value or array)
|
|
632
596
|
*/
|
|
633
597
|
categories?: string | Array<string>;
|
|
634
|
-
/**
|
|
635
|
-
* Query param: Cursor for pagination. Use nextCursor from previous response.
|
|
636
|
-
*/
|
|
637
|
-
cursor?: string;
|
|
638
598
|
/**
|
|
639
599
|
* Query param: Include Changelogs dated on or before the specified end date
|
|
640
600
|
*/
|
|
641
601
|
endDate?: string | null;
|
|
642
|
-
/**
|
|
643
|
-
* Query param: Maximum number of changelogs to return
|
|
644
|
-
*/
|
|
645
|
-
limit?: number;
|
|
646
602
|
/**
|
|
647
603
|
* Query param: The locale of the changelogs. Defaults to the organization default
|
|
648
604
|
* locale.
|
|
@@ -673,14 +629,14 @@ export interface ChangelogListParams {
|
|
|
673
629
|
* Header param: API version for this request. Defaults to your organization's
|
|
674
630
|
* configured API version if not specified.
|
|
675
631
|
*/
|
|
676
|
-
'Featurebase-Version'?:
|
|
632
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
677
633
|
}
|
|
678
634
|
export interface ChangelogDeleteParams {
|
|
679
635
|
/**
|
|
680
636
|
* API version for this request. Defaults to your organization's configured API
|
|
681
637
|
* version if not specified.
|
|
682
638
|
*/
|
|
683
|
-
'Featurebase-Version'?:
|
|
639
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
684
640
|
}
|
|
685
641
|
export interface ChangelogPublishParams {
|
|
686
642
|
/**
|
|
@@ -702,7 +658,7 @@ export interface ChangelogPublishParams {
|
|
|
702
658
|
* Header param: API version for this request. Defaults to your organization's
|
|
703
659
|
* configured API version if not specified.
|
|
704
660
|
*/
|
|
705
|
-
'Featurebase-Version'?:
|
|
661
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
706
662
|
}
|
|
707
663
|
export interface ChangelogUnpublishParams {
|
|
708
664
|
/**
|
|
@@ -714,10 +670,10 @@ export interface ChangelogUnpublishParams {
|
|
|
714
670
|
* Header param: API version for this request. Defaults to your organization's
|
|
715
671
|
* configured API version if not specified.
|
|
716
672
|
*/
|
|
717
|
-
'Featurebase-Version'?:
|
|
673
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
718
674
|
}
|
|
719
675
|
export declare namespace Changelogs {
|
|
720
|
-
export { type Changelog as Changelog, type PublishUnpublishSuccess as PublishUnpublishSuccess, type
|
|
676
|
+
export { type Changelog as Changelog, type PublishUnpublishSuccess as PublishUnpublishSuccess, type ChangelogDeleteResponse as ChangelogDeleteResponse, type ChangelogsCursorPage as ChangelogsCursorPage, type ChangelogCreateParams as ChangelogCreateParams, type ChangelogRetrieveParams as ChangelogRetrieveParams, type ChangelogUpdateParams as ChangelogUpdateParams, type ChangelogListParams as ChangelogListParams, type ChangelogDeleteParams as ChangelogDeleteParams, type ChangelogPublishParams as ChangelogPublishParams, type ChangelogUnpublishParams as ChangelogUnpublishParams, };
|
|
721
677
|
export { Subscribers as Subscribers, type SubscriberAddResponse as SubscriberAddResponse, type SubscriberRemoveResponse as SubscriberRemoveResponse, type SubscriberAddParams as SubscriberAddParams, type SubscriberRemoveParams as SubscriberRemoveParams, };
|
|
722
678
|
}
|
|
723
679
|
//# sourceMappingURL=changelogs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelogs.d.ts","sourceRoot":"","sources":["../../src/resources/changelogs/changelogs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACZ;OACM,EAAE,UAAU,EAAE;
|
|
1
|
+
{"version":3,"file":"changelogs.d.ts","sourceRoot":"","sources":["../../src/resources/changelogs/changelogs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACZ;OACM,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAElD,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,MAAM,CAAC,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAgBtF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,SAAS,CAAC;IAexB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAgBlG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;O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GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,OAAO,GACP,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,OAAO,GACP,IAAI,GACJ,IAAI,GACJ,IAAI,CACP,CAAC;IAEF;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -6,6 +6,7 @@ const tslib_1 = require("../../internal/tslib.js");
|
|
|
6
6
|
const resource_1 = require("../../core/resource.js");
|
|
7
7
|
const SubscribersAPI = tslib_1.__importStar(require("./subscribers.js"));
|
|
8
8
|
const subscribers_1 = require("./subscribers.js");
|
|
9
|
+
const pagination_1 = require("../../core/pagination.js");
|
|
9
10
|
const headers_1 = require("../../internal/headers.js");
|
|
10
11
|
const path_1 = require("../../internal/utils/path.js");
|
|
11
12
|
/**
|
|
@@ -63,7 +64,11 @@ class Changelogs extends resource_1.APIResource {
|
|
|
63
64
|
body,
|
|
64
65
|
...options,
|
|
65
66
|
headers: (0, headers_1.buildHeaders)([
|
|
66
|
-
{
|
|
67
|
+
{
|
|
68
|
+
...(featurebaseVersion?.toString() != null ?
|
|
69
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
70
|
+
: undefined),
|
|
71
|
+
},
|
|
67
72
|
options?.headers,
|
|
68
73
|
]),
|
|
69
74
|
});
|
|
@@ -103,7 +108,11 @@ class Changelogs extends resource_1.APIResource {
|
|
|
103
108
|
return this._client.get((0, path_1.path) `/v2/changelogs/${id}`, {
|
|
104
109
|
...options,
|
|
105
110
|
headers: (0, headers_1.buildHeaders)([
|
|
106
|
-
{
|
|
111
|
+
{
|
|
112
|
+
...(featurebaseVersion?.toString() != null ?
|
|
113
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
114
|
+
: undefined),
|
|
115
|
+
},
|
|
107
116
|
options?.headers,
|
|
108
117
|
]),
|
|
109
118
|
});
|
|
@@ -162,7 +171,11 @@ class Changelogs extends resource_1.APIResource {
|
|
|
162
171
|
body,
|
|
163
172
|
...options,
|
|
164
173
|
headers: (0, headers_1.buildHeaders)([
|
|
165
|
-
{
|
|
174
|
+
{
|
|
175
|
+
...(featurebaseVersion?.toString() != null ?
|
|
176
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
177
|
+
: undefined),
|
|
178
|
+
},
|
|
166
179
|
options?.headers,
|
|
167
180
|
]),
|
|
168
181
|
});
|
|
@@ -220,16 +233,23 @@ class Changelogs extends resource_1.APIResource {
|
|
|
220
233
|
*
|
|
221
234
|
* @example
|
|
222
235
|
* ```ts
|
|
223
|
-
*
|
|
236
|
+
* // Automatically fetches more pages as needed.
|
|
237
|
+
* for await (const changelog of client.changelogs.list()) {
|
|
238
|
+
* // ...
|
|
239
|
+
* }
|
|
224
240
|
* ```
|
|
225
241
|
*/
|
|
226
242
|
list(params = {}, options) {
|
|
227
243
|
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
228
|
-
return this._client.
|
|
244
|
+
return this._client.getAPIList('/v2/changelogs', (pagination_1.CursorPage), {
|
|
229
245
|
query,
|
|
230
246
|
...options,
|
|
231
247
|
headers: (0, headers_1.buildHeaders)([
|
|
232
|
-
{
|
|
248
|
+
{
|
|
249
|
+
...(featurebaseVersion?.toString() != null ?
|
|
250
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
251
|
+
: undefined),
|
|
252
|
+
},
|
|
233
253
|
options?.headers,
|
|
234
254
|
]),
|
|
235
255
|
});
|
|
@@ -275,7 +295,11 @@ class Changelogs extends resource_1.APIResource {
|
|
|
275
295
|
return this._client.delete((0, path_1.path) `/v2/changelogs/${id}`, {
|
|
276
296
|
...options,
|
|
277
297
|
headers: (0, headers_1.buildHeaders)([
|
|
278
|
-
{
|
|
298
|
+
{
|
|
299
|
+
...(featurebaseVersion?.toString() != null ?
|
|
300
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
301
|
+
: undefined),
|
|
302
|
+
},
|
|
279
303
|
options?.headers,
|
|
280
304
|
]),
|
|
281
305
|
});
|
|
@@ -346,7 +370,11 @@ class Changelogs extends resource_1.APIResource {
|
|
|
346
370
|
body,
|
|
347
371
|
...options,
|
|
348
372
|
headers: (0, headers_1.buildHeaders)([
|
|
349
|
-
{
|
|
373
|
+
{
|
|
374
|
+
...(featurebaseVersion?.toString() != null ?
|
|
375
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
376
|
+
: undefined),
|
|
377
|
+
},
|
|
350
378
|
options?.headers,
|
|
351
379
|
]),
|
|
352
380
|
});
|
|
@@ -395,7 +423,11 @@ class Changelogs extends resource_1.APIResource {
|
|
|
395
423
|
body,
|
|
396
424
|
...options,
|
|
397
425
|
headers: (0, headers_1.buildHeaders)([
|
|
398
|
-
{
|
|
426
|
+
{
|
|
427
|
+
...(featurebaseVersion?.toString() != null ?
|
|
428
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
429
|
+
: undefined),
|
|
430
|
+
},
|
|
399
431
|
options?.headers,
|
|
400
432
|
]),
|
|
401
433
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelogs.js","sourceRoot":"","sources":["../../src/resources/changelogs/changelogs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,yEAAgD;AAChD,kDAMuB;AAEvB,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"changelogs.js","sourceRoot":"","sources":["../../src/resources/changelogs/changelogs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,yEAAgD;AAChD,kDAMuB;AAEvB,yDAAuF;AACvF,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0bzF,CAAC;IAxbC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,MAAM,CAAC,MAA6B,EAAE,OAAwB;QAC5D,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACzC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAAE,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ACL,CAAC;CACF;AA3bD,gCA2bC;AAknBD,UAAU,CAAC,WAAW,GAAG,yBAAW,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
3
|
import * as SubscribersAPI from "./subscribers.mjs";
|
|
4
4
|
import { Subscribers, } from "./subscribers.mjs";
|
|
5
|
+
import { CursorPage } from "../../core/pagination.mjs";
|
|
5
6
|
import { buildHeaders } from "../../internal/headers.mjs";
|
|
6
7
|
import { path } from "../../internal/utils/path.mjs";
|
|
7
8
|
/**
|
|
@@ -59,7 +60,11 @@ export class Changelogs extends APIResource {
|
|
|
59
60
|
body,
|
|
60
61
|
...options,
|
|
61
62
|
headers: buildHeaders([
|
|
62
|
-
{
|
|
63
|
+
{
|
|
64
|
+
...(featurebaseVersion?.toString() != null ?
|
|
65
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
66
|
+
: undefined),
|
|
67
|
+
},
|
|
63
68
|
options?.headers,
|
|
64
69
|
]),
|
|
65
70
|
});
|
|
@@ -99,7 +104,11 @@ export class Changelogs extends APIResource {
|
|
|
99
104
|
return this._client.get(path `/v2/changelogs/${id}`, {
|
|
100
105
|
...options,
|
|
101
106
|
headers: buildHeaders([
|
|
102
|
-
{
|
|
107
|
+
{
|
|
108
|
+
...(featurebaseVersion?.toString() != null ?
|
|
109
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
110
|
+
: undefined),
|
|
111
|
+
},
|
|
103
112
|
options?.headers,
|
|
104
113
|
]),
|
|
105
114
|
});
|
|
@@ -158,7 +167,11 @@ export class Changelogs extends APIResource {
|
|
|
158
167
|
body,
|
|
159
168
|
...options,
|
|
160
169
|
headers: buildHeaders([
|
|
161
|
-
{
|
|
170
|
+
{
|
|
171
|
+
...(featurebaseVersion?.toString() != null ?
|
|
172
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
173
|
+
: undefined),
|
|
174
|
+
},
|
|
162
175
|
options?.headers,
|
|
163
176
|
]),
|
|
164
177
|
});
|
|
@@ -216,16 +229,23 @@ export class Changelogs extends APIResource {
|
|
|
216
229
|
*
|
|
217
230
|
* @example
|
|
218
231
|
* ```ts
|
|
219
|
-
*
|
|
232
|
+
* // Automatically fetches more pages as needed.
|
|
233
|
+
* for await (const changelog of client.changelogs.list()) {
|
|
234
|
+
* // ...
|
|
235
|
+
* }
|
|
220
236
|
* ```
|
|
221
237
|
*/
|
|
222
238
|
list(params = {}, options) {
|
|
223
239
|
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
224
|
-
return this._client.
|
|
240
|
+
return this._client.getAPIList('/v2/changelogs', (CursorPage), {
|
|
225
241
|
query,
|
|
226
242
|
...options,
|
|
227
243
|
headers: buildHeaders([
|
|
228
|
-
{
|
|
244
|
+
{
|
|
245
|
+
...(featurebaseVersion?.toString() != null ?
|
|
246
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
247
|
+
: undefined),
|
|
248
|
+
},
|
|
229
249
|
options?.headers,
|
|
230
250
|
]),
|
|
231
251
|
});
|
|
@@ -271,7 +291,11 @@ export class Changelogs extends APIResource {
|
|
|
271
291
|
return this._client.delete(path `/v2/changelogs/${id}`, {
|
|
272
292
|
...options,
|
|
273
293
|
headers: buildHeaders([
|
|
274
|
-
{
|
|
294
|
+
{
|
|
295
|
+
...(featurebaseVersion?.toString() != null ?
|
|
296
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
297
|
+
: undefined),
|
|
298
|
+
},
|
|
275
299
|
options?.headers,
|
|
276
300
|
]),
|
|
277
301
|
});
|
|
@@ -342,7 +366,11 @@ export class Changelogs extends APIResource {
|
|
|
342
366
|
body,
|
|
343
367
|
...options,
|
|
344
368
|
headers: buildHeaders([
|
|
345
|
-
{
|
|
369
|
+
{
|
|
370
|
+
...(featurebaseVersion?.toString() != null ?
|
|
371
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
372
|
+
: undefined),
|
|
373
|
+
},
|
|
346
374
|
options?.headers,
|
|
347
375
|
]),
|
|
348
376
|
});
|
|
@@ -391,7 +419,11 @@ export class Changelogs extends APIResource {
|
|
|
391
419
|
body,
|
|
392
420
|
...options,
|
|
393
421
|
headers: buildHeaders([
|
|
394
|
-
{
|
|
422
|
+
{
|
|
423
|
+
...(featurebaseVersion?.toString() != null ?
|
|
424
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
425
|
+
: undefined),
|
|
426
|
+
},
|
|
395
427
|
options?.headers,
|
|
396
428
|
]),
|
|
397
429
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelogs.mjs","sourceRoot":"","sources":["../../src/resources/changelogs/changelogs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAKL,WAAW,GACZ;OAEM,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"changelogs.mjs","sourceRoot":"","sources":["../../src/resources/changelogs/changelogs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAKL,WAAW,GACZ;OAEM,EAAE,UAAU,EAAsC;OAClD,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0bzF,CAAC;IAxbC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,MAAM,CAAC,MAA6B,EA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;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;AAknBD,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Changelogs, type Changelog, type PublishUnpublishSuccess, type
|
|
1
|
+
export { Changelogs, type Changelog, type PublishUnpublishSuccess, type ChangelogDeleteResponse, type ChangelogCreateParams, type ChangelogRetrieveParams, type ChangelogUpdateParams, type ChangelogListParams, type ChangelogDeleteParams, type ChangelogPublishParams, type ChangelogUnpublishParams, type ChangelogsCursorPage, } from "./changelogs.mjs";
|
|
2
2
|
export { Subscribers, type SubscriberAddResponse, type SubscriberRemoveResponse, type SubscriberAddParams, type SubscriberRemoveParams, } from "./subscribers.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/changelogs/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/changelogs/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,GAC1B;OACM,EACL,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,GAC5B"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Changelogs, type Changelog, type PublishUnpublishSuccess, type
|
|
1
|
+
export { Changelogs, type Changelog, type PublishUnpublishSuccess, type ChangelogDeleteResponse, type ChangelogCreateParams, type ChangelogRetrieveParams, type ChangelogUpdateParams, type ChangelogListParams, type ChangelogDeleteParams, type ChangelogPublishParams, type ChangelogUnpublishParams, type ChangelogsCursorPage, } from "./changelogs.js";
|
|
2
2
|
export { Subscribers, type SubscriberAddResponse, type SubscriberRemoveResponse, type SubscriberAddParams, type SubscriberRemoveParams, } from "./subscribers.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/changelogs/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/changelogs/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,GAC1B;OACM,EACL,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,GAC5B"}
|
|
@@ -126,7 +126,7 @@ export interface SubscriberAddParams {
|
|
|
126
126
|
* Header param: API version for this request. Defaults to your organization's
|
|
127
127
|
* configured API version if not specified.
|
|
128
128
|
*/
|
|
129
|
-
'Featurebase-Version'?:
|
|
129
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
130
130
|
}
|
|
131
131
|
export interface SubscriberRemoveParams {
|
|
132
132
|
/**
|
|
@@ -137,7 +137,7 @@ export interface SubscriberRemoveParams {
|
|
|
137
137
|
* Header param: API version for this request. Defaults to your organization's
|
|
138
138
|
* configured API version if not specified.
|
|
139
139
|
*/
|
|
140
|
-
'Featurebase-Version'?:
|
|
140
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
141
141
|
}
|
|
142
142
|
export declare namespace Subscribers {
|
|
143
143
|
export { type SubscriberAddResponse as SubscriberAddResponse, type SubscriberRemoveResponse as SubscriberRemoveResponse, type SubscriberAddParams as SubscriberAddParams, type SubscriberRemoveParams as SubscriberRemoveParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribers.d.mts","sourceRoot":"","sources":["../../src/resources/changelogs/subscribers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,GAAG,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"subscribers.d.mts","sourceRoot":"","sources":["../../src/resources/changelogs/subscribers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,GAAG,CAAC,MAAM,EAAE,mBAA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MAAM,CAAC,CAAC;IAEtB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -126,7 +126,7 @@ export interface SubscriberAddParams {
|
|
|
126
126
|
* Header param: API version for this request. Defaults to your organization's
|
|
127
127
|
* configured API version if not specified.
|
|
128
128
|
*/
|
|
129
|
-
'Featurebase-Version'?:
|
|
129
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
130
130
|
}
|
|
131
131
|
export interface SubscriberRemoveParams {
|
|
132
132
|
/**
|
|
@@ -137,7 +137,7 @@ export interface SubscriberRemoveParams {
|
|
|
137
137
|
* Header param: API version for this request. Defaults to your organization's
|
|
138
138
|
* configured API version if not specified.
|
|
139
139
|
*/
|
|
140
|
-
'Featurebase-Version'?:
|
|
140
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
141
141
|
}
|
|
142
142
|
export declare namespace Subscribers {
|
|
143
143
|
export { type SubscriberAddResponse as SubscriberAddResponse, type SubscriberRemoveResponse as SubscriberRemoveResponse, type SubscriberAddParams as SubscriberAddParams, type SubscriberRemoveParams as SubscriberRemoveParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribers.d.ts","sourceRoot":"","sources":["../../src/resources/changelogs/subscribers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,OAAO,GACP,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,OAAO,GACP,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;IAET;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEtB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,mBAAmB,CAAC;CACjE;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -60,7 +60,11 @@ class Subscribers extends resource_1.APIResource {
|
|
|
60
60
|
body,
|
|
61
61
|
...options,
|
|
62
62
|
headers: (0, headers_1.buildHeaders)([
|
|
63
|
-
{
|
|
63
|
+
{
|
|
64
|
+
...(featurebaseVersion?.toString() != null ?
|
|
65
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
66
|
+
: undefined),
|
|
67
|
+
},
|
|
64
68
|
options?.headers,
|
|
65
69
|
]),
|
|
66
70
|
});
|
|
@@ -109,7 +113,11 @@ class Subscribers extends resource_1.APIResource {
|
|
|
109
113
|
body,
|
|
110
114
|
...options,
|
|
111
115
|
headers: (0, headers_1.buildHeaders)([
|
|
112
|
-
{
|
|
116
|
+
{
|
|
117
|
+
...(featurebaseVersion?.toString() != null ?
|
|
118
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
119
|
+
: undefined),
|
|
120
|
+
},
|
|
113
121
|
options?.headers,
|
|
114
122
|
]),
|
|
115
123
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribers.js","sourceRoot":"","sources":["../../src/resources/changelogs/subscribers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAGtD;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,GAAG,CAAC,MAA2B,EAAE,OAAwB;QACvD,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,
|
|
1
|
+
{"version":3,"file":"subscribers.js","sourceRoot":"","sources":["../../src/resources/changelogs/subscribers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAGtD;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,GAAG,CAAC,MAA2B,EAAE,OAAwB;QACvD,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,IAAI;YACJ,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,MAAM,CAAC,MAA8B,EAAE,OAAwB;QAC7D,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;YACvD,IAAI;YACJ,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;AApHD,kCAoHC"}
|
|
@@ -57,7 +57,11 @@ export class Subscribers extends APIResource {
|
|
|
57
57
|
body,
|
|
58
58
|
...options,
|
|
59
59
|
headers: buildHeaders([
|
|
60
|
-
{
|
|
60
|
+
{
|
|
61
|
+
...(featurebaseVersion?.toString() != null ?
|
|
62
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
63
|
+
: undefined),
|
|
64
|
+
},
|
|
61
65
|
options?.headers,
|
|
62
66
|
]),
|
|
63
67
|
});
|
|
@@ -106,7 +110,11 @@ export class Subscribers extends APIResource {
|
|
|
106
110
|
body,
|
|
107
111
|
...options,
|
|
108
112
|
headers: buildHeaders([
|
|
109
|
-
{
|
|
113
|
+
{
|
|
114
|
+
...(featurebaseVersion?.toString() != null ?
|
|
115
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
116
|
+
: undefined),
|
|
117
|
+
},
|
|
110
118
|
options?.headers,
|
|
111
119
|
]),
|
|
112
120
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribers.mjs","sourceRoot":"","sources":["../../src/resources/changelogs/subscribers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,GAAG,CAAC,MAA2B,EAAE,OAAwB;QACvD,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,
|
|
1
|
+
{"version":3,"file":"subscribers.mjs","sourceRoot":"","sources":["../../src/resources/changelogs/subscribers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,GAAG,CAAC,MAA2B,EAAE,OAAwB;QACvD,MAAM,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,kBAAkB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBAC1C,EAA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