featurebase-node 0.4.0 → 0.6.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 +16 -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
|
@@ -166,7 +166,11 @@ export class Conversations extends APIResource {
|
|
|
166
166
|
body,
|
|
167
167
|
...options,
|
|
168
168
|
headers: buildHeaders([
|
|
169
|
-
{
|
|
169
|
+
{
|
|
170
|
+
...(featurebaseVersion?.toString() != null ?
|
|
171
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
172
|
+
: undefined),
|
|
173
|
+
},
|
|
170
174
|
options?.headers,
|
|
171
175
|
]),
|
|
172
176
|
});
|
|
@@ -284,7 +288,11 @@ export class Conversations extends APIResource {
|
|
|
284
288
|
return this._client.get(path`/v2/conversations/${id}`, {
|
|
285
289
|
...options,
|
|
286
290
|
headers: buildHeaders([
|
|
287
|
-
{
|
|
291
|
+
{
|
|
292
|
+
...(featurebaseVersion?.toString() != null ?
|
|
293
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
294
|
+
: undefined),
|
|
295
|
+
},
|
|
288
296
|
options?.headers,
|
|
289
297
|
]),
|
|
290
298
|
});
|
|
@@ -423,7 +431,11 @@ export class Conversations extends APIResource {
|
|
|
423
431
|
body,
|
|
424
432
|
...options,
|
|
425
433
|
headers: buildHeaders([
|
|
426
|
-
{
|
|
434
|
+
{
|
|
435
|
+
...(featurebaseVersion?.toString() != null ?
|
|
436
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
437
|
+
: undefined),
|
|
438
|
+
},
|
|
427
439
|
options?.headers,
|
|
428
440
|
]),
|
|
429
441
|
});
|
|
@@ -508,7 +520,11 @@ export class Conversations extends APIResource {
|
|
|
508
520
|
query,
|
|
509
521
|
...options,
|
|
510
522
|
headers: buildHeaders([
|
|
511
|
-
{
|
|
523
|
+
{
|
|
524
|
+
...(featurebaseVersion?.toString() != null ?
|
|
525
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
526
|
+
: undefined),
|
|
527
|
+
},
|
|
512
528
|
options?.headers,
|
|
513
529
|
]),
|
|
514
530
|
});
|
|
@@ -557,7 +573,11 @@ export class Conversations extends APIResource {
|
|
|
557
573
|
return this._client.delete(path`/v2/conversations/${id}`, {
|
|
558
574
|
...options,
|
|
559
575
|
headers: buildHeaders([
|
|
560
|
-
{
|
|
576
|
+
{
|
|
577
|
+
...(featurebaseVersion?.toString() != null ?
|
|
578
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
579
|
+
: undefined),
|
|
580
|
+
},
|
|
561
581
|
options?.headers,
|
|
562
582
|
]),
|
|
563
583
|
});
|
|
@@ -647,7 +667,11 @@ export class Conversations extends APIResource {
|
|
|
647
667
|
body,
|
|
648
668
|
...options,
|
|
649
669
|
headers: buildHeaders([
|
|
650
|
-
{
|
|
670
|
+
{
|
|
671
|
+
...(featurebaseVersion?.toString() != null ?
|
|
672
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
673
|
+
: undefined),
|
|
674
|
+
},
|
|
651
675
|
options?.headers,
|
|
652
676
|
]),
|
|
653
677
|
});
|
|
@@ -768,7 +792,11 @@ export class Conversations extends APIResource {
|
|
|
768
792
|
body,
|
|
769
793
|
...options,
|
|
770
794
|
headers: buildHeaders([
|
|
771
|
-
{
|
|
795
|
+
{
|
|
796
|
+
...(featurebaseVersion?.toString() != null ?
|
|
797
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
798
|
+
: undefined),
|
|
799
|
+
},
|
|
772
800
|
options?.headers,
|
|
773
801
|
]),
|
|
774
802
|
});
|
|
@@ -2375,7 +2403,7 @@ export interface ConversationCreateParams {
|
|
|
2375
2403
|
* Header param: API version for this request. Defaults to your organization's
|
|
2376
2404
|
* configured API version if not specified.
|
|
2377
2405
|
*/
|
|
2378
|
-
'Featurebase-Version'?:
|
|
2406
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2379
2407
|
}
|
|
2380
2408
|
|
|
2381
2409
|
export namespace ConversationCreateParams {
|
|
@@ -2436,7 +2464,7 @@ export interface ConversationRetrieveParams {
|
|
|
2436
2464
|
* API version for this request. Defaults to your organization's configured API
|
|
2437
2465
|
* version if not specified.
|
|
2438
2466
|
*/
|
|
2439
|
-
'Featurebase-Version'?:
|
|
2467
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2440
2468
|
}
|
|
2441
2469
|
|
|
2442
2470
|
export interface ConversationUpdateParams {
|
|
@@ -2489,7 +2517,7 @@ export interface ConversationUpdateParams {
|
|
|
2489
2517
|
* Header param: API version for this request. Defaults to your organization's
|
|
2490
2518
|
* configured API version if not specified.
|
|
2491
2519
|
*/
|
|
2492
|
-
'Featurebase-Version'?:
|
|
2520
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2493
2521
|
}
|
|
2494
2522
|
|
|
2495
2523
|
export namespace ConversationUpdateParams {
|
|
@@ -2533,7 +2561,7 @@ export interface ConversationListParams extends CursorPageParams {
|
|
|
2533
2561
|
* Header param: API version for this request. Defaults to your organization's
|
|
2534
2562
|
* configured API version if not specified.
|
|
2535
2563
|
*/
|
|
2536
|
-
'Featurebase-Version'?:
|
|
2564
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2537
2565
|
}
|
|
2538
2566
|
|
|
2539
2567
|
export interface ConversationDeleteParams {
|
|
@@ -2541,7 +2569,7 @@ export interface ConversationDeleteParams {
|
|
|
2541
2569
|
* API version for this request. Defaults to your organization's configured API
|
|
2542
2570
|
* version if not specified.
|
|
2543
2571
|
*/
|
|
2544
|
-
'Featurebase-Version'?:
|
|
2572
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2545
2573
|
}
|
|
2546
2574
|
|
|
2547
2575
|
export interface ConversationRedactParams {
|
|
@@ -2571,7 +2599,7 @@ export interface ConversationRedactParams {
|
|
|
2571
2599
|
* Header param: API version for this request. Defaults to your organization's
|
|
2572
2600
|
* configured API version if not specified.
|
|
2573
2601
|
*/
|
|
2574
|
-
'Featurebase-Version'?:
|
|
2602
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2575
2603
|
}
|
|
2576
2604
|
|
|
2577
2605
|
export type ConversationReplyParams =
|
|
@@ -2617,7 +2645,7 @@ export declare namespace ConversationReplyParams {
|
|
|
2617
2645
|
* Header param: API version for this request. Defaults to your organization's
|
|
2618
2646
|
* configured API version if not specified.
|
|
2619
2647
|
*/
|
|
2620
|
-
'Featurebase-Version'?:
|
|
2648
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2621
2649
|
}
|
|
2622
2650
|
|
|
2623
2651
|
export interface AdminReplyBody {
|
|
@@ -2654,7 +2682,7 @@ export declare namespace ConversationReplyParams {
|
|
|
2654
2682
|
* Header param: API version for this request. Defaults to your organization's
|
|
2655
2683
|
* configured API version if not specified.
|
|
2656
2684
|
*/
|
|
2657
|
-
'Featurebase-Version'?:
|
|
2685
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
2658
2686
|
}
|
|
2659
2687
|
}
|
|
2660
2688
|
|
|
@@ -112,7 +112,11 @@ export class Participants extends APIResource {
|
|
|
112
112
|
body,
|
|
113
113
|
...options,
|
|
114
114
|
headers: buildHeaders([
|
|
115
|
-
{
|
|
115
|
+
{
|
|
116
|
+
...(featurebaseVersion?.toString() != null ?
|
|
117
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
118
|
+
: undefined),
|
|
119
|
+
},
|
|
116
120
|
options?.headers,
|
|
117
121
|
]),
|
|
118
122
|
});
|
|
@@ -188,7 +192,11 @@ export class Participants extends APIResource {
|
|
|
188
192
|
body,
|
|
189
193
|
...options,
|
|
190
194
|
headers: buildHeaders([
|
|
191
|
-
{
|
|
195
|
+
{
|
|
196
|
+
...(featurebaseVersion?.toString() != null ?
|
|
197
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
198
|
+
: undefined),
|
|
199
|
+
},
|
|
192
200
|
options?.headers,
|
|
193
201
|
]),
|
|
194
202
|
});
|
|
@@ -212,7 +220,7 @@ export interface ParticipantAddParams {
|
|
|
212
220
|
* Header param: API version for this request. Defaults to your organization's
|
|
213
221
|
* configured API version if not specified.
|
|
214
222
|
*/
|
|
215
|
-
'Featurebase-Version'?:
|
|
223
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
216
224
|
}
|
|
217
225
|
|
|
218
226
|
export namespace ParticipantAddParams {
|
|
@@ -254,7 +262,7 @@ export interface ParticipantRemoveParams {
|
|
|
254
262
|
* Header param: API version for this request. Defaults to your organization's
|
|
255
263
|
* configured API version if not specified.
|
|
256
264
|
*/
|
|
257
|
-
'Featurebase-Version'?:
|
|
265
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
258
266
|
}
|
|
259
267
|
|
|
260
268
|
export declare namespace Participants {
|
|
@@ -66,7 +66,11 @@ export class Tags extends APIResource {
|
|
|
66
66
|
body,
|
|
67
67
|
...options,
|
|
68
68
|
headers: buildHeaders([
|
|
69
|
-
{
|
|
69
|
+
{
|
|
70
|
+
...(featurebaseVersion?.toString() != null ?
|
|
71
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
72
|
+
: undefined),
|
|
73
|
+
},
|
|
70
74
|
options?.headers,
|
|
71
75
|
]),
|
|
72
76
|
});
|
|
@@ -134,7 +138,11 @@ export class Tags extends APIResource {
|
|
|
134
138
|
body,
|
|
135
139
|
...options,
|
|
136
140
|
headers: buildHeaders([
|
|
137
|
-
{
|
|
141
|
+
{
|
|
142
|
+
...(featurebaseVersion?.toString() != null ?
|
|
143
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
144
|
+
: undefined),
|
|
145
|
+
},
|
|
138
146
|
options?.headers,
|
|
139
147
|
]),
|
|
140
148
|
});
|
|
@@ -220,7 +228,7 @@ export interface TagAttachParams {
|
|
|
220
228
|
* Header param: API version for this request. Defaults to your organization's
|
|
221
229
|
* configured API version if not specified.
|
|
222
230
|
*/
|
|
223
|
-
'Featurebase-Version'?:
|
|
231
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
224
232
|
}
|
|
225
233
|
|
|
226
234
|
export interface TagDetachParams {
|
|
@@ -239,7 +247,7 @@ export interface TagDetachParams {
|
|
|
239
247
|
* Header param: API version for this request. Defaults to your organization's
|
|
240
248
|
* configured API version if not specified.
|
|
241
249
|
*/
|
|
242
|
-
'Featurebase-Version'?:
|
|
250
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
243
251
|
}
|
|
244
252
|
|
|
245
253
|
export declare namespace Tags {
|
|
@@ -34,7 +34,11 @@ export class Categories extends APIResource {
|
|
|
34
34
|
return this._client.get(path`/v2/tickets/categories/${id}`, {
|
|
35
35
|
...options,
|
|
36
36
|
headers: buildHeaders([
|
|
37
|
-
{
|
|
37
|
+
{
|
|
38
|
+
...(featurebaseVersion?.toString() != null ?
|
|
39
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
40
|
+
: undefined),
|
|
41
|
+
},
|
|
38
42
|
options?.headers,
|
|
39
43
|
]),
|
|
40
44
|
});
|
|
@@ -69,7 +73,11 @@ export class Categories extends APIResource {
|
|
|
69
73
|
return this._client.get('/v2/tickets/categories', {
|
|
70
74
|
...options,
|
|
71
75
|
headers: buildHeaders([
|
|
72
|
-
{
|
|
76
|
+
{
|
|
77
|
+
...(featurebaseVersion?.toString() != null ?
|
|
78
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
79
|
+
: undefined),
|
|
80
|
+
},
|
|
73
81
|
options?.headers,
|
|
74
82
|
]),
|
|
75
83
|
});
|
|
@@ -83,7 +91,7 @@ export interface CategoryRetrieveParams {
|
|
|
83
91
|
* API version for this request. Defaults to your organization's configured API
|
|
84
92
|
* version if not specified.
|
|
85
93
|
*/
|
|
86
|
-
'Featurebase-Version'?:
|
|
94
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
87
95
|
}
|
|
88
96
|
|
|
89
97
|
export interface CategoryListParams {
|
|
@@ -91,7 +99,7 @@ export interface CategoryListParams {
|
|
|
91
99
|
* API version for this request. Defaults to your organization's configured API
|
|
92
100
|
* version if not specified.
|
|
93
101
|
*/
|
|
94
|
-
'Featurebase-Version'?:
|
|
102
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
95
103
|
}
|
|
96
104
|
|
|
97
105
|
export declare namespace Categories {
|
|
@@ -45,7 +45,11 @@ export class CustomFields extends APIResource {
|
|
|
45
45
|
return this._client.get(path`/v2/tickets/custom_fields/${id}`, {
|
|
46
46
|
...options,
|
|
47
47
|
headers: buildHeaders([
|
|
48
|
-
{
|
|
48
|
+
{
|
|
49
|
+
...(featurebaseVersion?.toString() != null ?
|
|
50
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
51
|
+
: undefined),
|
|
52
|
+
},
|
|
49
53
|
options?.headers,
|
|
50
54
|
]),
|
|
51
55
|
});
|
|
@@ -85,7 +89,11 @@ export class CustomFields extends APIResource {
|
|
|
85
89
|
return this._client.get('/v2/tickets/custom_fields', {
|
|
86
90
|
...options,
|
|
87
91
|
headers: buildHeaders([
|
|
88
|
-
{
|
|
92
|
+
{
|
|
93
|
+
...(featurebaseVersion?.toString() != null ?
|
|
94
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
95
|
+
: undefined),
|
|
96
|
+
},
|
|
89
97
|
options?.headers,
|
|
90
98
|
]),
|
|
91
99
|
});
|
|
@@ -97,7 +105,7 @@ export interface CustomFieldRetrieveParams {
|
|
|
97
105
|
* API version for this request. Defaults to your organization's configured API
|
|
98
106
|
* version if not specified.
|
|
99
107
|
*/
|
|
100
|
-
'Featurebase-Version'?:
|
|
108
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
101
109
|
}
|
|
102
110
|
|
|
103
111
|
export interface CustomFieldListParams {
|
|
@@ -105,7 +113,7 @@ export interface CustomFieldListParams {
|
|
|
105
113
|
* API version for this request. Defaults to your organization's configured API
|
|
106
114
|
* version if not specified.
|
|
107
115
|
*/
|
|
108
|
-
'Featurebase-Version'?:
|
|
116
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
109
117
|
}
|
|
110
118
|
|
|
111
119
|
export declare namespace CustomFields {
|
|
@@ -33,7 +33,11 @@ export class Statuses extends APIResource {
|
|
|
33
33
|
return this._client.get(path`/v2/tickets/statuses/${id}`, {
|
|
34
34
|
...options,
|
|
35
35
|
headers: buildHeaders([
|
|
36
|
-
{
|
|
36
|
+
{
|
|
37
|
+
...(featurebaseVersion?.toString() != null ?
|
|
38
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
39
|
+
: undefined),
|
|
40
|
+
},
|
|
37
41
|
options?.headers,
|
|
38
42
|
]),
|
|
39
43
|
});
|
|
@@ -65,7 +69,11 @@ export class Statuses extends APIResource {
|
|
|
65
69
|
return this._client.get('/v2/tickets/statuses', {
|
|
66
70
|
...options,
|
|
67
71
|
headers: buildHeaders([
|
|
68
|
-
{
|
|
72
|
+
{
|
|
73
|
+
...(featurebaseVersion?.toString() != null ?
|
|
74
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
75
|
+
: undefined),
|
|
76
|
+
},
|
|
69
77
|
options?.headers,
|
|
70
78
|
]),
|
|
71
79
|
});
|
|
@@ -79,7 +87,7 @@ export interface StatusRetrieveParams {
|
|
|
79
87
|
* API version for this request. Defaults to your organization's configured API
|
|
80
88
|
* version if not specified.
|
|
81
89
|
*/
|
|
82
|
-
'Featurebase-Version'?:
|
|
90
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
83
91
|
}
|
|
84
92
|
|
|
85
93
|
export interface StatusListParams {
|
|
@@ -87,7 +95,7 @@ export interface StatusListParams {
|
|
|
87
95
|
* API version for this request. Defaults to your organization's configured API
|
|
88
96
|
* version if not specified.
|
|
89
97
|
*/
|
|
90
|
-
'Featurebase-Version'?:
|
|
98
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
91
99
|
}
|
|
92
100
|
|
|
93
101
|
export declare namespace Statuses {
|
|
@@ -92,7 +92,11 @@ export class Tickets extends APIResource {
|
|
|
92
92
|
body,
|
|
93
93
|
...options,
|
|
94
94
|
headers: buildHeaders([
|
|
95
|
-
{
|
|
95
|
+
{
|
|
96
|
+
...(featurebaseVersion?.toString() != null ?
|
|
97
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
98
|
+
: undefined),
|
|
99
|
+
},
|
|
96
100
|
options?.headers,
|
|
97
101
|
]),
|
|
98
102
|
});
|
|
@@ -124,7 +128,11 @@ export class Tickets extends APIResource {
|
|
|
124
128
|
return this._client.get(path`/v2/tickets/${id}`, {
|
|
125
129
|
...options,
|
|
126
130
|
headers: buildHeaders([
|
|
127
|
-
{
|
|
131
|
+
{
|
|
132
|
+
...(featurebaseVersion?.toString() != null ?
|
|
133
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
134
|
+
: undefined),
|
|
135
|
+
},
|
|
128
136
|
options?.headers,
|
|
129
137
|
]),
|
|
130
138
|
});
|
|
@@ -182,7 +190,11 @@ export class Tickets extends APIResource {
|
|
|
182
190
|
body,
|
|
183
191
|
...options,
|
|
184
192
|
headers: buildHeaders([
|
|
185
|
-
{
|
|
193
|
+
{
|
|
194
|
+
...(featurebaseVersion?.toString() != null ?
|
|
195
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
196
|
+
: undefined),
|
|
197
|
+
},
|
|
186
198
|
options?.headers,
|
|
187
199
|
]),
|
|
188
200
|
});
|
|
@@ -226,7 +238,11 @@ export class Tickets extends APIResource {
|
|
|
226
238
|
query,
|
|
227
239
|
...options,
|
|
228
240
|
headers: buildHeaders([
|
|
229
|
-
{
|
|
241
|
+
{
|
|
242
|
+
...(featurebaseVersion?.toString() != null ?
|
|
243
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
244
|
+
: undefined),
|
|
245
|
+
},
|
|
230
246
|
options?.headers,
|
|
231
247
|
]),
|
|
232
248
|
});
|
|
@@ -275,7 +291,11 @@ export class Tickets extends APIResource {
|
|
|
275
291
|
return this._client.delete(path`/v2/tickets/${id}`, {
|
|
276
292
|
...options,
|
|
277
293
|
headers: buildHeaders([
|
|
278
|
-
{
|
|
294
|
+
{
|
|
295
|
+
...(featurebaseVersion?.toString() != null ?
|
|
296
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
297
|
+
: undefined),
|
|
298
|
+
},
|
|
279
299
|
options?.headers,
|
|
280
300
|
]),
|
|
281
301
|
});
|
|
@@ -334,7 +354,11 @@ export class Tickets extends APIResource {
|
|
|
334
354
|
body,
|
|
335
355
|
...options,
|
|
336
356
|
headers: buildHeaders([
|
|
337
|
-
{
|
|
357
|
+
{
|
|
358
|
+
...(featurebaseVersion?.toString() != null ?
|
|
359
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
360
|
+
: undefined),
|
|
361
|
+
},
|
|
338
362
|
options?.headers,
|
|
339
363
|
]),
|
|
340
364
|
});
|
|
@@ -748,7 +772,7 @@ export interface TicketCreateParams {
|
|
|
748
772
|
* Header param: API version for this request. Defaults to your organization's
|
|
749
773
|
* configured API version if not specified.
|
|
750
774
|
*/
|
|
751
|
-
'Featurebase-Version'?:
|
|
775
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
752
776
|
}
|
|
753
777
|
|
|
754
778
|
export interface TicketRetrieveParams {
|
|
@@ -756,7 +780,7 @@ export interface TicketRetrieveParams {
|
|
|
756
780
|
* API version for this request. Defaults to your organization's configured API
|
|
757
781
|
* version if not specified.
|
|
758
782
|
*/
|
|
759
|
-
'Featurebase-Version'?:
|
|
783
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
760
784
|
}
|
|
761
785
|
|
|
762
786
|
export interface TicketUpdateParams {
|
|
@@ -809,7 +833,7 @@ export interface TicketUpdateParams {
|
|
|
809
833
|
* Header param: API version for this request. Defaults to your organization's
|
|
810
834
|
* configured API 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 interface TicketListParams extends CursorPageParams {
|
|
@@ -852,7 +876,7 @@ export interface TicketListParams extends CursorPageParams {
|
|
|
852
876
|
* Header param: API version for this request. Defaults to your organization's
|
|
853
877
|
* configured API version if not specified.
|
|
854
878
|
*/
|
|
855
|
-
'Featurebase-Version'?:
|
|
879
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
856
880
|
}
|
|
857
881
|
|
|
858
882
|
export interface TicketDeleteParams {
|
|
@@ -860,7 +884,7 @@ export interface TicketDeleteParams {
|
|
|
860
884
|
* API version for this request. Defaults to your organization's configured API
|
|
861
885
|
* version if not specified.
|
|
862
886
|
*/
|
|
863
|
-
'Featurebase-Version'?:
|
|
887
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
864
888
|
}
|
|
865
889
|
|
|
866
890
|
export type TicketReplyParams = TicketReplyParams.Variant0 | TicketReplyParams.Variant1;
|
|
@@ -911,7 +935,7 @@ export declare namespace TicketReplyParams {
|
|
|
911
935
|
* Header param: API version for this request. Defaults to your organization's
|
|
912
936
|
* configured API version if not specified.
|
|
913
937
|
*/
|
|
914
|
-
'Featurebase-Version'?:
|
|
938
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
915
939
|
}
|
|
916
940
|
|
|
917
941
|
export interface Variant1 {
|
|
@@ -954,7 +978,7 @@ export declare namespace TicketReplyParams {
|
|
|
954
978
|
* Header param: API version for this request. Defaults to your organization's
|
|
955
979
|
* configured API version if not specified.
|
|
956
980
|
*/
|
|
957
|
-
'Featurebase-Version'?:
|
|
981
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
958
982
|
}
|
|
959
983
|
}
|
|
960
984
|
|
package/src/resources/surveys.ts
CHANGED
|
@@ -55,7 +55,11 @@ export class Surveys extends APIResource {
|
|
|
55
55
|
return this._client.get(path`/v2/surveys/${id}`, {
|
|
56
56
|
...options,
|
|
57
57
|
headers: buildHeaders([
|
|
58
|
-
{
|
|
58
|
+
{
|
|
59
|
+
...(featurebaseVersion?.toString() != null ?
|
|
60
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
61
|
+
: undefined),
|
|
62
|
+
},
|
|
59
63
|
options?.headers,
|
|
60
64
|
]),
|
|
61
65
|
});
|
|
@@ -102,7 +106,11 @@ export class Surveys extends APIResource {
|
|
|
102
106
|
query,
|
|
103
107
|
...options,
|
|
104
108
|
headers: buildHeaders([
|
|
105
|
-
{
|
|
109
|
+
{
|
|
110
|
+
...(featurebaseVersion?.toString() != null ?
|
|
111
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
112
|
+
: undefined),
|
|
113
|
+
},
|
|
106
114
|
options?.headers,
|
|
107
115
|
]),
|
|
108
116
|
});
|
|
@@ -159,7 +167,11 @@ export class Surveys extends APIResource {
|
|
|
159
167
|
query,
|
|
160
168
|
...options,
|
|
161
169
|
headers: buildHeaders([
|
|
162
|
-
{
|
|
170
|
+
{
|
|
171
|
+
...(featurebaseVersion?.toString() != null ?
|
|
172
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
173
|
+
: undefined),
|
|
174
|
+
},
|
|
163
175
|
options?.headers,
|
|
164
176
|
]),
|
|
165
177
|
},
|
|
@@ -480,7 +492,7 @@ export interface SurveyRetrieveParams {
|
|
|
480
492
|
* API version for this request. Defaults to your organization's configured API
|
|
481
493
|
* version if not specified.
|
|
482
494
|
*/
|
|
483
|
-
'Featurebase-Version'?:
|
|
495
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
484
496
|
}
|
|
485
497
|
|
|
486
498
|
export interface SurveyListParams extends CursorPageParams {
|
|
@@ -498,7 +510,7 @@ export interface SurveyListParams extends CursorPageParams {
|
|
|
498
510
|
* Header param: API version for this request. Defaults to your organization's
|
|
499
511
|
* configured API version if not specified.
|
|
500
512
|
*/
|
|
501
|
-
'Featurebase-Version'?:
|
|
513
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
502
514
|
}
|
|
503
515
|
|
|
504
516
|
export interface SurveyListResponsesParams extends CursorPageParams {
|
|
@@ -511,7 +523,7 @@ export interface SurveyListResponsesParams extends CursorPageParams {
|
|
|
511
523
|
* Header param: API version for this request. Defaults to your organization's
|
|
512
524
|
* configured API version if not specified.
|
|
513
525
|
*/
|
|
514
|
-
'Featurebase-Version'?:
|
|
526
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
515
527
|
}
|
|
516
528
|
|
|
517
529
|
export declare namespace Surveys {
|
|
@@ -92,7 +92,11 @@ export class Companies extends APIResource {
|
|
|
92
92
|
return this._client.get(path`/v2/companies/${id}`, {
|
|
93
93
|
...options,
|
|
94
94
|
headers: buildHeaders([
|
|
95
|
-
{
|
|
95
|
+
{
|
|
96
|
+
...(featurebaseVersion?.toString() != null ?
|
|
97
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
98
|
+
: undefined),
|
|
99
|
+
},
|
|
96
100
|
options?.headers,
|
|
97
101
|
]),
|
|
98
102
|
});
|
|
@@ -180,7 +184,11 @@ export class Companies extends APIResource {
|
|
|
180
184
|
query,
|
|
181
185
|
...options,
|
|
182
186
|
headers: buildHeaders([
|
|
183
|
-
{
|
|
187
|
+
{
|
|
188
|
+
...(featurebaseVersion?.toString() != null ?
|
|
189
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
190
|
+
: undefined),
|
|
191
|
+
},
|
|
184
192
|
options?.headers,
|
|
185
193
|
]),
|
|
186
194
|
});
|
|
@@ -231,7 +239,11 @@ export class Companies extends APIResource {
|
|
|
231
239
|
return this._client.delete(path`/v2/companies/${id}`, {
|
|
232
240
|
...options,
|
|
233
241
|
headers: buildHeaders([
|
|
234
|
-
{
|
|
242
|
+
{
|
|
243
|
+
...(featurebaseVersion?.toString() != null ?
|
|
244
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
245
|
+
: undefined),
|
|
246
|
+
},
|
|
235
247
|
options?.headers,
|
|
236
248
|
]),
|
|
237
249
|
});
|
|
@@ -318,7 +330,11 @@ export class Companies extends APIResource {
|
|
|
318
330
|
body,
|
|
319
331
|
...options,
|
|
320
332
|
headers: buildHeaders([
|
|
321
|
-
{
|
|
333
|
+
{
|
|
334
|
+
...(featurebaseVersion?.toString() != null ?
|
|
335
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
336
|
+
: undefined),
|
|
337
|
+
},
|
|
322
338
|
options?.headers,
|
|
323
339
|
]),
|
|
324
340
|
});
|
|
@@ -386,7 +402,11 @@ export class Companies extends APIResource {
|
|
|
386
402
|
return this._client.delete(path`/v2/companies/by-company-id/${companyID}`, {
|
|
387
403
|
...options,
|
|
388
404
|
headers: buildHeaders([
|
|
389
|
-
{
|
|
405
|
+
{
|
|
406
|
+
...(featurebaseVersion?.toString() != null ?
|
|
407
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
408
|
+
: undefined),
|
|
409
|
+
},
|
|
390
410
|
options?.headers,
|
|
391
411
|
]),
|
|
392
412
|
});
|
|
@@ -489,7 +509,7 @@ export interface CompanyRetrieveParams {
|
|
|
489
509
|
* API version for this request. Defaults to your organization's configured API
|
|
490
510
|
* version if not specified.
|
|
491
511
|
*/
|
|
492
|
-
'Featurebase-Version'?:
|
|
512
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
493
513
|
}
|
|
494
514
|
|
|
495
515
|
export interface CompanyListParams extends CursorPageParams {
|
|
@@ -497,7 +517,7 @@ export interface CompanyListParams extends CursorPageParams {
|
|
|
497
517
|
* Header param: API version for this request. Defaults to your organization's
|
|
498
518
|
* configured API version if not specified.
|
|
499
519
|
*/
|
|
500
|
-
'Featurebase-Version'?:
|
|
520
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
501
521
|
}
|
|
502
522
|
|
|
503
523
|
export interface CompanyDeleteParams {
|
|
@@ -505,7 +525,7 @@ export interface CompanyDeleteParams {
|
|
|
505
525
|
* API version for this request. Defaults to your organization's configured API
|
|
506
526
|
* version if not specified.
|
|
507
527
|
*/
|
|
508
|
-
'Featurebase-Version'?:
|
|
528
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
509
529
|
}
|
|
510
530
|
|
|
511
531
|
export interface CompanyCreateOrUpdateParams {
|
|
@@ -560,7 +580,7 @@ export interface CompanyCreateOrUpdateParams {
|
|
|
560
580
|
* Header param: API version for this request. Defaults to your organization's
|
|
561
581
|
* configured API version if not specified.
|
|
562
582
|
*/
|
|
563
|
-
'Featurebase-Version'?:
|
|
583
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
564
584
|
}
|
|
565
585
|
|
|
566
586
|
export namespace CompanyCreateOrUpdateParams {
|
|
@@ -582,7 +602,7 @@ export interface CompanyDeleteByCompanyIDParams {
|
|
|
582
602
|
* API version for this request. Defaults to your organization's configured API
|
|
583
603
|
* version if not specified.
|
|
584
604
|
*/
|
|
585
|
-
'Featurebase-Version'?:
|
|
605
|
+
'Featurebase-Version'?: '2026-01-01.nova' | '2025-12-12.clover';
|
|
586
606
|
}
|
|
587
607
|
|
|
588
608
|
Companies.Contacts = Contacts;
|