featurebase-node 0.4.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 +8 -0
- package/package.json +1 -1
- package/resources/changelogs/changelogs.d.mts +7 -7
- package/resources/changelogs/changelogs.d.mts.map +1 -1
- package/resources/changelogs/changelogs.d.ts +7 -7
- package/resources/changelogs/changelogs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.js +35 -7
- package/resources/changelogs/changelogs.js.map +1 -1
- package/resources/changelogs/changelogs.mjs +35 -7
- package/resources/changelogs/changelogs.mjs.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 +6 -6
- package/resources/feedback/comments.d.mts.map +1 -1
- package/resources/feedback/comments.d.ts +6 -6
- package/resources/feedback/comments.d.ts.map +1 -1
- package/resources/feedback/comments.js +30 -6
- package/resources/feedback/comments.js.map +1 -1
- package/resources/feedback/comments.mjs +30 -6
- 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/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/posts.d.mts +5 -5
- package/resources/feedback/posts/posts.d.mts.map +1 -1
- package/resources/feedback/posts/posts.d.ts +5 -5
- package/resources/feedback/posts/posts.d.ts.map +1 -1
- package/resources/feedback/posts/posts.js +25 -5
- package/resources/feedback/posts/posts.js.map +1 -1
- package/resources/feedback/posts/posts.mjs +25 -5
- 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/feedback/posts/voters.js +15 -3
- package/resources/feedback/posts/voters.js.map +1 -1
- package/resources/feedback/posts/voters.mjs +15 -3
- package/resources/feedback/posts/voters.mjs.map +1 -1
- package/resources/help-center/articles.d.mts +5 -5
- package/resources/help-center/articles.d.mts.map +1 -1
- package/resources/help-center/articles.d.ts +5 -5
- package/resources/help-center/articles.d.ts.map +1 -1
- package/resources/help-center/articles.js +25 -5
- package/resources/help-center/articles.js.map +1 -1
- package/resources/help-center/articles.mjs +25 -5
- package/resources/help-center/articles.mjs.map +1 -1
- package/resources/help-center/collections.d.mts +5 -5
- package/resources/help-center/collections.d.mts.map +1 -1
- package/resources/help-center/collections.d.ts +5 -5
- package/resources/help-center/collections.d.ts.map +1 -1
- package/resources/help-center/collections.js +25 -5
- package/resources/help-center/collections.js.map +1 -1
- package/resources/help-center/collections.mjs +25 -5
- package/resources/help-center/collections.mjs.map +1 -1
- package/resources/help-center/help-centers.d.mts +2 -2
- package/resources/help-center/help-centers.d.mts.map +1 -1
- package/resources/help-center/help-centers.d.ts +2 -2
- package/resources/help-center/help-centers.d.ts.map +1 -1
- package/resources/help-center/help-centers.js +10 -2
- package/resources/help-center/help-centers.js.map +1 -1
- package/resources/help-center/help-centers.mjs +10 -2
- package/resources/help-center/help-centers.mjs.map +1 -1
- package/resources/help-center/redirect-rules.d.mts +6 -6
- package/resources/help-center/redirect-rules.d.mts.map +1 -1
- package/resources/help-center/redirect-rules.d.ts +6 -6
- package/resources/help-center/redirect-rules.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.js +30 -6
- package/resources/help-center/redirect-rules.js.map +1 -1
- package/resources/help-center/redirect-rules.mjs +30 -6
- package/resources/help-center/redirect-rules.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 +2 -2
- package/resources/organization/brands.d.mts.map +1 -1
- package/resources/organization/brands.d.ts +2 -2
- package/resources/organization/brands.d.ts.map +1 -1
- package/resources/organization/brands.js +10 -2
- package/resources/organization/brands.js.map +1 -1
- package/resources/organization/brands.mjs +10 -2
- package/resources/organization/brands.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 +8 -8
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +8 -8
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +35 -7
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +35 -7
- package/resources/support/conversations/conversations.mjs.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/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/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 +7 -7
- package/resources/support/tickets/tickets.d.mts.map +1 -1
- package/resources/support/tickets/tickets.d.ts +7 -7
- package/resources/support/tickets/tickets.d.ts.map +1 -1
- package/resources/support/tickets/tickets.js +30 -6
- package/resources/support/tickets/tickets.js.map +1 -1
- package/resources/support/tickets/tickets.mjs +30 -6
- package/resources/support/tickets/tickets.mjs.map +1 -1
- package/resources/surveys.d.mts +3 -3
- package/resources/surveys.d.mts.map +1 -1
- package/resources/surveys.d.ts +3 -3
- package/resources/surveys.d.ts.map +1 -1
- package/resources/surveys.js +15 -3
- package/resources/surveys.js.map +1 -1
- package/resources/surveys.mjs +15 -3
- package/resources/surveys.mjs.map +1 -1
- package/resources/users/companies/companies.d.mts +5 -5
- package/resources/users/companies/companies.d.mts.map +1 -1
- package/resources/users/companies/companies.d.ts +5 -5
- package/resources/users/companies/companies.d.ts.map +1 -1
- package/resources/users/companies/companies.js +25 -5
- package/resources/users/companies/companies.js.map +1 -1
- package/resources/users/companies/companies.mjs +25 -5
- 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/contacts.js +15 -3
- package/resources/users/companies/contacts.js.map +1 -1
- package/resources/users/companies/contacts.mjs +15 -3
- package/resources/users/companies/contacts.mjs.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 +6 -6
- package/resources/users/contacts/contacts.d.mts.map +1 -1
- package/resources/users/contacts/contacts.d.ts +6 -6
- package/resources/users/contacts/contacts.d.ts.map +1 -1
- package/resources/users/contacts/contacts.js +30 -6
- package/resources/users/contacts/contacts.js.map +1 -1
- package/resources/users/contacts/contacts.mjs +30 -6
- 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/webhooks.d.mts +6 -6
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +6 -6
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +30 -6
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +30 -6
- package/resources/webhooks.mjs.map +1 -1
- package/src/resources/changelogs/changelogs.ts +42 -14
- package/src/resources/changelogs/subscribers.ts +12 -4
- package/src/resources/feedback/boards.ts +12 -4
- package/src/resources/feedback/comments.ts +36 -12
- package/src/resources/feedback/custom-fields.ts +12 -4
- package/src/resources/feedback/post-statuses.ts +12 -4
- package/src/resources/feedback/posts/posts.ts +30 -10
- package/src/resources/feedback/posts/voters.ts +18 -6
- package/src/resources/help-center/articles.ts +30 -10
- package/src/resources/help-center/collections.ts +30 -10
- package/src/resources/help-center/help-centers.ts +12 -4
- package/src/resources/help-center/redirect-rules.ts +36 -12
- package/src/resources/organization/admins.ts +18 -6
- package/src/resources/organization/brands.ts +12 -4
- package/src/resources/organization/teams.ts +12 -4
- package/src/resources/support/conversation-tags.ts +24 -8
- package/src/resources/support/conversations/conversations.ts +43 -15
- package/src/resources/support/conversations/participants.ts +12 -4
- package/src/resources/support/conversations/tags.ts +12 -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/statuses.ts +12 -4
- package/src/resources/support/tickets/tickets.ts +37 -13
- package/src/resources/surveys.ts +18 -6
- package/src/resources/users/companies/companies.ts +30 -10
- package/src/resources/users/companies/contacts.ts +18 -6
- 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 +36 -12
- package/src/resources/users/contacts/email-preferences.ts +12 -4
- package/src/resources/webhooks.ts +36 -12
- 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
|
@@ -88,7 +88,11 @@ export class Contacts extends APIResource {
|
|
|
88
88
|
query,
|
|
89
89
|
...options,
|
|
90
90
|
headers: buildHeaders([
|
|
91
|
-
{
|
|
91
|
+
{
|
|
92
|
+
...(featurebaseVersion?.toString() != null ?
|
|
93
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
94
|
+
: undefined),
|
|
95
|
+
},
|
|
92
96
|
options?.headers,
|
|
93
97
|
]),
|
|
94
98
|
},
|
|
@@ -172,7 +176,11 @@ export class Contacts extends APIResource {
|
|
|
172
176
|
body,
|
|
173
177
|
...options,
|
|
174
178
|
headers: buildHeaders([
|
|
175
|
-
{
|
|
179
|
+
{
|
|
180
|
+
...(featurebaseVersion?.toString() != null ?
|
|
181
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
182
|
+
: undefined),
|
|
183
|
+
},
|
|
176
184
|
options?.headers,
|
|
177
185
|
]),
|
|
178
186
|
});
|
|
@@ -235,7 +243,11 @@ export class Contacts extends APIResource {
|
|
|
235
243
|
return this._client.delete(path`/v2/companies/${id}/contacts/${contactID}`, {
|
|
236
244
|
...options,
|
|
237
245
|
headers: buildHeaders([
|
|
238
|
-
{
|
|
246
|
+
{
|
|
247
|
+
...(featurebaseVersion?.toString() != null ?
|
|
248
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
249
|
+
: undefined),
|
|
250
|
+
},
|
|
239
251
|
options?.headers,
|
|
240
252
|
]),
|
|
241
253
|
});
|
|
@@ -257,7 +269,7 @@ export interface ContactListParams extends CursorPageParams {
|
|
|
257
269
|
* Header param: API version for this request. Defaults to your organization's
|
|
258
270
|
* configured API version if not specified.
|
|
259
271
|
*/
|
|
260
|
-
'Featurebase-Version'?:
|
|
272
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
261
273
|
}
|
|
262
274
|
|
|
263
275
|
export interface ContactAttachParams {
|
|
@@ -271,7 +283,7 @@ export interface ContactAttachParams {
|
|
|
271
283
|
* Header param: API version for this request. Defaults to your organization's
|
|
272
284
|
* configured API version if not specified.
|
|
273
285
|
*/
|
|
274
|
-
'Featurebase-Version'?:
|
|
286
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
275
287
|
}
|
|
276
288
|
|
|
277
289
|
export interface ContactRemoveParams {
|
|
@@ -284,7 +296,7 @@ export interface ContactRemoveParams {
|
|
|
284
296
|
* Header param: API version for this request. Defaults to your organization's
|
|
285
297
|
* configured API version if not specified.
|
|
286
298
|
*/
|
|
287
|
-
'Featurebase-Version'?:
|
|
299
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
288
300
|
}
|
|
289
301
|
|
|
290
302
|
export declare namespace Contacts {
|
|
@@ -89,7 +89,11 @@ export class ByUserID extends APIResource {
|
|
|
89
89
|
return this._client.get(path`/v2/contacts/by-user-id/${userID}`, {
|
|
90
90
|
...options,
|
|
91
91
|
headers: buildHeaders([
|
|
92
|
-
{
|
|
92
|
+
{
|
|
93
|
+
...(featurebaseVersion?.toString() != null ?
|
|
94
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
95
|
+
: undefined),
|
|
96
|
+
},
|
|
93
97
|
options?.headers,
|
|
94
98
|
]),
|
|
95
99
|
});
|
|
@@ -156,7 +160,11 @@ export class ByUserID extends APIResource {
|
|
|
156
160
|
return this._client.delete(path`/v2/contacts/by-user-id/${userID}`, {
|
|
157
161
|
...options,
|
|
158
162
|
headers: buildHeaders([
|
|
159
|
-
{
|
|
163
|
+
{
|
|
164
|
+
...(featurebaseVersion?.toString() != null ?
|
|
165
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
166
|
+
: undefined),
|
|
167
|
+
},
|
|
160
168
|
options?.headers,
|
|
161
169
|
]),
|
|
162
170
|
});
|
|
@@ -173,7 +181,7 @@ export interface ByUserIDRetrieveParams {
|
|
|
173
181
|
* API version for this request. Defaults to your organization's configured API
|
|
174
182
|
* version if not specified.
|
|
175
183
|
*/
|
|
176
|
-
'Featurebase-Version'?:
|
|
184
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
177
185
|
}
|
|
178
186
|
|
|
179
187
|
export interface ByUserIDDeleteParams {
|
|
@@ -181,7 +189,7 @@ export interface ByUserIDDeleteParams {
|
|
|
181
189
|
* API version for this request. Defaults to your organization's configured API
|
|
182
190
|
* version if not specified.
|
|
183
191
|
*/
|
|
184
|
-
'Featurebase-Version'?:
|
|
192
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
185
193
|
}
|
|
186
194
|
|
|
187
195
|
ByUserID.EmailPreferences = EmailPreferences;
|
|
@@ -72,7 +72,11 @@ export class EmailPreferences extends APIResource {
|
|
|
72
72
|
return this._client.get(path`/v2/contacts/by-user-id/${userID}/email-preferences`, {
|
|
73
73
|
...options,
|
|
74
74
|
headers: buildHeaders([
|
|
75
|
-
{
|
|
75
|
+
{
|
|
76
|
+
...(featurebaseVersion?.toString() != null ?
|
|
77
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
78
|
+
: undefined),
|
|
79
|
+
},
|
|
76
80
|
options?.headers,
|
|
77
81
|
]),
|
|
78
82
|
});
|
|
@@ -177,7 +181,11 @@ export class EmailPreferences extends APIResource {
|
|
|
177
181
|
body,
|
|
178
182
|
...options,
|
|
179
183
|
headers: buildHeaders([
|
|
180
|
-
{
|
|
184
|
+
{
|
|
185
|
+
...(featurebaseVersion?.toString() != null ?
|
|
186
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
187
|
+
: undefined),
|
|
188
|
+
},
|
|
181
189
|
options?.headers,
|
|
182
190
|
]),
|
|
183
191
|
});
|
|
@@ -189,7 +197,7 @@ export interface EmailPreferenceRetrieveParams {
|
|
|
189
197
|
* API version for this request. Defaults to your organization's configured API
|
|
190
198
|
* version if not specified.
|
|
191
199
|
*/
|
|
192
|
-
'Featurebase-Version'?:
|
|
200
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
193
201
|
}
|
|
194
202
|
|
|
195
203
|
export interface EmailPreferenceUpdateParams {
|
|
@@ -202,7 +210,7 @@ export interface EmailPreferenceUpdateParams {
|
|
|
202
210
|
* Header param: API version for this request. Defaults to your organization's
|
|
203
211
|
* configured API version if not specified.
|
|
204
212
|
*/
|
|
205
|
-
'Featurebase-Version'?:
|
|
213
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
206
214
|
}
|
|
207
215
|
|
|
208
216
|
export namespace EmailPreferenceUpdateParams {
|
|
@@ -93,7 +93,11 @@ export class Contacts extends APIResource {
|
|
|
93
93
|
return this._client.get(path`/v2/contacts/${id}`, {
|
|
94
94
|
...options,
|
|
95
95
|
headers: buildHeaders([
|
|
96
|
-
{
|
|
96
|
+
{
|
|
97
|
+
...(featurebaseVersion?.toString() != null ?
|
|
98
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
99
|
+
: undefined),
|
|
100
|
+
},
|
|
97
101
|
options?.headers,
|
|
98
102
|
]),
|
|
99
103
|
});
|
|
@@ -173,7 +177,11 @@ export class Contacts extends APIResource {
|
|
|
173
177
|
query,
|
|
174
178
|
...options,
|
|
175
179
|
headers: buildHeaders([
|
|
176
|
-
{
|
|
180
|
+
{
|
|
181
|
+
...(featurebaseVersion?.toString() != null ?
|
|
182
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
183
|
+
: undefined),
|
|
184
|
+
},
|
|
177
185
|
options?.headers,
|
|
178
186
|
]),
|
|
179
187
|
});
|
|
@@ -235,7 +243,11 @@ export class Contacts extends APIResource {
|
|
|
235
243
|
return this._client.delete(path`/v2/contacts/${id}`, {
|
|
236
244
|
...options,
|
|
237
245
|
headers: buildHeaders([
|
|
238
|
-
{
|
|
246
|
+
{
|
|
247
|
+
...(featurebaseVersion?.toString() != null ?
|
|
248
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
249
|
+
: undefined),
|
|
250
|
+
},
|
|
239
251
|
options?.headers,
|
|
240
252
|
]),
|
|
241
253
|
});
|
|
@@ -302,7 +314,11 @@ export class Contacts extends APIResource {
|
|
|
302
314
|
return this._client.post(path`/v2/contacts/${id}/block`, {
|
|
303
315
|
...options,
|
|
304
316
|
headers: buildHeaders([
|
|
305
|
-
{
|
|
317
|
+
{
|
|
318
|
+
...(featurebaseVersion?.toString() != null ?
|
|
319
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
320
|
+
: undefined),
|
|
321
|
+
},
|
|
306
322
|
options?.headers,
|
|
307
323
|
]),
|
|
308
324
|
});
|
|
@@ -412,7 +428,11 @@ export class Contacts extends APIResource {
|
|
|
412
428
|
body,
|
|
413
429
|
...options,
|
|
414
430
|
headers: buildHeaders([
|
|
415
|
-
{
|
|
431
|
+
{
|
|
432
|
+
...(featurebaseVersion?.toString() != null ?
|
|
433
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
434
|
+
: undefined),
|
|
435
|
+
},
|
|
416
436
|
options?.headers,
|
|
417
437
|
]),
|
|
418
438
|
});
|
|
@@ -478,7 +498,11 @@ export class Contacts extends APIResource {
|
|
|
478
498
|
return this._client.post(path`/v2/contacts/${id}/unblock`, {
|
|
479
499
|
...options,
|
|
480
500
|
headers: buildHeaders([
|
|
481
|
-
{
|
|
501
|
+
{
|
|
502
|
+
...(featurebaseVersion?.toString() != null ?
|
|
503
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
504
|
+
: undefined),
|
|
505
|
+
},
|
|
482
506
|
options?.headers,
|
|
483
507
|
]),
|
|
484
508
|
});
|
|
@@ -677,7 +701,7 @@ export interface ContactRetrieveParams {
|
|
|
677
701
|
* API version for this request. Defaults to your organization's configured API
|
|
678
702
|
* version if not specified.
|
|
679
703
|
*/
|
|
680
|
-
'Featurebase-Version'?:
|
|
704
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
681
705
|
}
|
|
682
706
|
|
|
683
707
|
export interface ContactListParams extends CursorPageParams {
|
|
@@ -690,7 +714,7 @@ export interface ContactListParams extends CursorPageParams {
|
|
|
690
714
|
* Header param: API version for this request. Defaults to your organization's
|
|
691
715
|
* configured API version if not specified.
|
|
692
716
|
*/
|
|
693
|
-
'Featurebase-Version'?:
|
|
717
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
694
718
|
}
|
|
695
719
|
|
|
696
720
|
export interface ContactDeleteParams {
|
|
@@ -698,7 +722,7 @@ export interface ContactDeleteParams {
|
|
|
698
722
|
* API version for this request. Defaults to your organization's configured API
|
|
699
723
|
* version if not specified.
|
|
700
724
|
*/
|
|
701
|
-
'Featurebase-Version'?:
|
|
725
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
702
726
|
}
|
|
703
727
|
|
|
704
728
|
export interface ContactBlockParams {
|
|
@@ -706,7 +730,7 @@ export interface ContactBlockParams {
|
|
|
706
730
|
* API version for this request. Defaults to your organization's configured API
|
|
707
731
|
* version if not specified.
|
|
708
732
|
*/
|
|
709
|
-
'Featurebase-Version'?:
|
|
733
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
710
734
|
}
|
|
711
735
|
|
|
712
736
|
export interface ContactCreateOrUpdateParams {
|
|
@@ -777,7 +801,7 @@ export interface ContactCreateOrUpdateParams {
|
|
|
777
801
|
* Header param: API version for this request. Defaults to your organization's
|
|
778
802
|
* configured API version if not specified.
|
|
779
803
|
*/
|
|
780
|
-
'Featurebase-Version'?:
|
|
804
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
781
805
|
}
|
|
782
806
|
|
|
783
807
|
export namespace ContactCreateOrUpdateParams {
|
|
@@ -866,7 +890,7 @@ export interface ContactUnblockParams {
|
|
|
866
890
|
* API version for this request. Defaults to your organization's configured API
|
|
867
891
|
* version if not specified.
|
|
868
892
|
*/
|
|
869
|
-
'Featurebase-Version'?:
|
|
893
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
870
894
|
}
|
|
871
895
|
|
|
872
896
|
Contacts.ByUserID = ByUserID;
|
|
@@ -90,7 +90,11 @@ export class EmailPreferences extends APIResource {
|
|
|
90
90
|
return this._client.get(path`/v2/contacts/${id}/email-preferences`, {
|
|
91
91
|
...options,
|
|
92
92
|
headers: buildHeaders([
|
|
93
|
-
{
|
|
93
|
+
{
|
|
94
|
+
...(featurebaseVersion?.toString() != null ?
|
|
95
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
96
|
+
: undefined),
|
|
97
|
+
},
|
|
94
98
|
options?.headers,
|
|
95
99
|
]),
|
|
96
100
|
});
|
|
@@ -220,7 +224,11 @@ export class EmailPreferences extends APIResource {
|
|
|
220
224
|
body,
|
|
221
225
|
...options,
|
|
222
226
|
headers: buildHeaders([
|
|
223
|
-
{
|
|
227
|
+
{
|
|
228
|
+
...(featurebaseVersion?.toString() != null ?
|
|
229
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
230
|
+
: undefined),
|
|
231
|
+
},
|
|
224
232
|
options?.headers,
|
|
225
233
|
]),
|
|
226
234
|
});
|
|
@@ -342,7 +350,7 @@ export interface EmailPreferenceRetrieveParams {
|
|
|
342
350
|
* API version for this request. Defaults to your organization's configured API
|
|
343
351
|
* version if not specified.
|
|
344
352
|
*/
|
|
345
|
-
'Featurebase-Version'?:
|
|
353
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
346
354
|
}
|
|
347
355
|
|
|
348
356
|
export interface EmailPreferenceUpdateParams {
|
|
@@ -355,7 +363,7 @@ export interface EmailPreferenceUpdateParams {
|
|
|
355
363
|
* Header param: API version for this request. Defaults to your organization's
|
|
356
364
|
* configured API version if not specified.
|
|
357
365
|
*/
|
|
358
|
-
'Featurebase-Version'?:
|
|
366
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
359
367
|
}
|
|
360
368
|
|
|
361
369
|
export namespace EmailPreferenceUpdateParams {
|
|
@@ -99,7 +99,11 @@ export class Webhooks extends APIResource {
|
|
|
99
99
|
body,
|
|
100
100
|
...options,
|
|
101
101
|
headers: buildHeaders([
|
|
102
|
-
{
|
|
102
|
+
{
|
|
103
|
+
...(featurebaseVersion?.toString() != null ?
|
|
104
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
105
|
+
: undefined),
|
|
106
|
+
},
|
|
103
107
|
options?.headers,
|
|
104
108
|
]),
|
|
105
109
|
});
|
|
@@ -183,7 +187,11 @@ export class Webhooks extends APIResource {
|
|
|
183
187
|
return this._client.get(path`/v2/webhooks/${id}`, {
|
|
184
188
|
...options,
|
|
185
189
|
headers: buildHeaders([
|
|
186
|
-
{
|
|
190
|
+
{
|
|
191
|
+
...(featurebaseVersion?.toString() != null ?
|
|
192
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
193
|
+
: undefined),
|
|
194
|
+
},
|
|
187
195
|
options?.headers,
|
|
188
196
|
]),
|
|
189
197
|
});
|
|
@@ -270,7 +278,11 @@ export class Webhooks extends APIResource {
|
|
|
270
278
|
body,
|
|
271
279
|
...options,
|
|
272
280
|
headers: buildHeaders([
|
|
273
|
-
{
|
|
281
|
+
{
|
|
282
|
+
...(featurebaseVersion?.toString() != null ?
|
|
283
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
284
|
+
: undefined),
|
|
285
|
+
},
|
|
274
286
|
options?.headers,
|
|
275
287
|
]),
|
|
276
288
|
});
|
|
@@ -347,7 +359,11 @@ export class Webhooks extends APIResource {
|
|
|
347
359
|
query,
|
|
348
360
|
...options,
|
|
349
361
|
headers: buildHeaders([
|
|
350
|
-
{
|
|
362
|
+
{
|
|
363
|
+
...(featurebaseVersion?.toString() != null ?
|
|
364
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
365
|
+
: undefined),
|
|
366
|
+
},
|
|
351
367
|
options?.headers,
|
|
352
368
|
]),
|
|
353
369
|
});
|
|
@@ -398,7 +414,11 @@ export class Webhooks extends APIResource {
|
|
|
398
414
|
return this._client.delete(path`/v2/webhooks/${id}`, {
|
|
399
415
|
...options,
|
|
400
416
|
headers: buildHeaders([
|
|
401
|
-
{
|
|
417
|
+
{
|
|
418
|
+
...(featurebaseVersion?.toString() != null ?
|
|
419
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
420
|
+
: undefined),
|
|
421
|
+
},
|
|
402
422
|
options?.headers,
|
|
403
423
|
]),
|
|
404
424
|
});
|
|
@@ -457,7 +477,11 @@ export class Webhooks extends APIResource {
|
|
|
457
477
|
return this._client.post(path`/v2/webhooks/${id}/secret`, {
|
|
458
478
|
...options,
|
|
459
479
|
headers: buildHeaders([
|
|
460
|
-
{
|
|
480
|
+
{
|
|
481
|
+
...(featurebaseVersion?.toString() != null ?
|
|
482
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
483
|
+
: undefined),
|
|
484
|
+
},
|
|
461
485
|
options?.headers,
|
|
462
486
|
]),
|
|
463
487
|
});
|
|
@@ -706,7 +730,7 @@ export interface WebhookCreateParams {
|
|
|
706
730
|
* Header param: API version for this request. Defaults to your organization's
|
|
707
731
|
* configured API version if not specified.
|
|
708
732
|
*/
|
|
709
|
-
'Featurebase-Version'?:
|
|
733
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
710
734
|
}
|
|
711
735
|
|
|
712
736
|
export interface WebhookRetrieveParams {
|
|
@@ -714,7 +738,7 @@ export interface WebhookRetrieveParams {
|
|
|
714
738
|
* API version for this request. Defaults to your organization's configured API
|
|
715
739
|
* version if not specified.
|
|
716
740
|
*/
|
|
717
|
-
'Featurebase-Version'?:
|
|
741
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
718
742
|
}
|
|
719
743
|
|
|
720
744
|
export interface WebhookUpdateParams {
|
|
@@ -780,7 +804,7 @@ export interface WebhookUpdateParams {
|
|
|
780
804
|
* Header param: API version for this request. Defaults to your organization's
|
|
781
805
|
* configured API version if not specified.
|
|
782
806
|
*/
|
|
783
|
-
'Featurebase-Version'?:
|
|
807
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
784
808
|
}
|
|
785
809
|
|
|
786
810
|
export interface WebhookListParams extends CursorPageParams {
|
|
@@ -793,7 +817,7 @@ export interface WebhookListParams extends CursorPageParams {
|
|
|
793
817
|
* Header param: API version for this request. Defaults to your organization's
|
|
794
818
|
* configured API version if not specified.
|
|
795
819
|
*/
|
|
796
|
-
'Featurebase-Version'?:
|
|
820
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
797
821
|
}
|
|
798
822
|
|
|
799
823
|
export interface WebhookDeleteParams {
|
|
@@ -801,7 +825,7 @@ export interface WebhookDeleteParams {
|
|
|
801
825
|
* API version for this request. Defaults to your organization's configured API
|
|
802
826
|
* version if not specified.
|
|
803
827
|
*/
|
|
804
|
-
'Featurebase-Version'?:
|
|
828
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
805
829
|
}
|
|
806
830
|
|
|
807
831
|
export interface WebhookRefreshSecretParams {
|
|
@@ -809,7 +833,7 @@ export interface WebhookRefreshSecretParams {
|
|
|
809
833
|
* API version for this request. Defaults to your organization's configured API
|
|
810
834
|
* version if not specified.
|
|
811
835
|
*/
|
|
812
|
-
'Featurebase-Version'?:
|
|
836
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
813
837
|
}
|
|
814
838
|
|
|
815
839
|
export declare namespace Webhooks {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.5.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.5.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.5.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.5.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|