casedev 0.23.0 → 0.24.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.
Files changed (119) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +1 -1
  3. package/resources/agent/v1/agents.d.mts +22 -1
  4. package/resources/agent/v1/agents.d.mts.map +1 -1
  5. package/resources/agent/v1/agents.d.ts +22 -1
  6. package/resources/agent/v1/agents.d.ts.map +1 -1
  7. package/resources/agent/v1/chat.d.mts +1 -1
  8. package/resources/agent/v1/chat.d.ts +1 -1
  9. package/resources/applications/v1/deployments.d.mts +26 -16
  10. package/resources/applications/v1/deployments.d.mts.map +1 -1
  11. package/resources/applications/v1/deployments.d.ts +26 -16
  12. package/resources/applications/v1/deployments.d.ts.map +1 -1
  13. package/resources/applications/v1/deployments.js +16 -6
  14. package/resources/applications/v1/deployments.js.map +1 -1
  15. package/resources/applications/v1/deployments.mjs +16 -6
  16. package/resources/applications/v1/deployments.mjs.map +1 -1
  17. package/resources/applications/v1/index.d.mts +1 -1
  18. package/resources/applications/v1/index.d.mts.map +1 -1
  19. package/resources/applications/v1/index.d.ts +1 -1
  20. package/resources/applications/v1/index.d.ts.map +1 -1
  21. package/resources/applications/v1/index.js.map +1 -1
  22. package/resources/applications/v1/index.mjs.map +1 -1
  23. package/resources/applications/v1/projects.d.mts +91 -24
  24. package/resources/applications/v1/projects.d.mts.map +1 -1
  25. package/resources/applications/v1/projects.d.ts +91 -24
  26. package/resources/applications/v1/projects.d.ts.map +1 -1
  27. package/resources/applications/v1/projects.js +20 -8
  28. package/resources/applications/v1/projects.js.map +1 -1
  29. package/resources/applications/v1/projects.mjs +20 -8
  30. package/resources/applications/v1/projects.mjs.map +1 -1
  31. package/resources/applications/v1/v1.d.mts +2 -2
  32. package/resources/applications/v1/v1.d.mts.map +1 -1
  33. package/resources/applications/v1/v1.d.ts +2 -2
  34. package/resources/applications/v1/v1.d.ts.map +1 -1
  35. package/resources/applications/v1/v1.js.map +1 -1
  36. package/resources/applications/v1/v1.mjs.map +1 -1
  37. package/resources/format/v1/v1.d.mts +8 -0
  38. package/resources/format/v1/v1.d.mts.map +1 -1
  39. package/resources/format/v1/v1.d.ts +8 -0
  40. package/resources/format/v1/v1.d.ts.map +1 -1
  41. package/resources/format/v1/v1.js.map +1 -1
  42. package/resources/format/v1/v1.mjs.map +1 -1
  43. package/resources/legal/v1.d.mts +9 -0
  44. package/resources/legal/v1.d.mts.map +1 -1
  45. package/resources/legal/v1.d.ts +9 -0
  46. package/resources/legal/v1.d.ts.map +1 -1
  47. package/resources/vault/events/subscriptions.d.mts +20 -6
  48. package/resources/vault/events/subscriptions.d.mts.map +1 -1
  49. package/resources/vault/events/subscriptions.d.ts +20 -6
  50. package/resources/vault/events/subscriptions.d.ts.map +1 -1
  51. package/resources/vault/groups.d.mts +34 -7
  52. package/resources/vault/groups.d.mts.map +1 -1
  53. package/resources/vault/groups.d.ts +34 -7
  54. package/resources/vault/groups.d.ts.map +1 -1
  55. package/resources/vault/groups.js +13 -7
  56. package/resources/vault/groups.js.map +1 -1
  57. package/resources/vault/groups.mjs +13 -7
  58. package/resources/vault/groups.mjs.map +1 -1
  59. package/resources/vault/index.d.mts +1 -1
  60. package/resources/vault/index.d.mts.map +1 -1
  61. package/resources/vault/index.d.ts +1 -1
  62. package/resources/vault/index.d.ts.map +1 -1
  63. package/resources/vault/index.js.map +1 -1
  64. package/resources/vault/index.mjs.map +1 -1
  65. package/resources/vault/multipart.d.mts +18 -0
  66. package/resources/vault/multipart.d.mts.map +1 -1
  67. package/resources/vault/multipart.d.ts +18 -0
  68. package/resources/vault/multipart.d.ts.map +1 -1
  69. package/resources/vault/vault.d.mts +2 -2
  70. package/resources/vault/vault.d.mts.map +1 -1
  71. package/resources/vault/vault.d.ts +2 -2
  72. package/resources/vault/vault.d.ts.map +1 -1
  73. package/resources/vault/vault.js.map +1 -1
  74. package/resources/vault/vault.mjs.map +1 -1
  75. package/resources/voice/boost-list.d.mts +88 -0
  76. package/resources/voice/boost-list.d.mts.map +1 -0
  77. package/resources/voice/boost-list.d.ts +88 -0
  78. package/resources/voice/boost-list.d.ts.map +1 -0
  79. package/resources/voice/boost-list.js +40 -0
  80. package/resources/voice/boost-list.js.map +1 -0
  81. package/resources/voice/boost-list.mjs +36 -0
  82. package/resources/voice/boost-list.mjs.map +1 -0
  83. package/resources/voice/index.d.mts +1 -0
  84. package/resources/voice/index.d.mts.map +1 -1
  85. package/resources/voice/index.d.ts +1 -0
  86. package/resources/voice/index.d.ts.map +1 -1
  87. package/resources/voice/index.js +3 -1
  88. package/resources/voice/index.js.map +1 -1
  89. package/resources/voice/index.mjs +1 -0
  90. package/resources/voice/index.mjs.map +1 -1
  91. package/resources/voice/voice.d.mts +4 -0
  92. package/resources/voice/voice.d.mts.map +1 -1
  93. package/resources/voice/voice.d.ts +4 -0
  94. package/resources/voice/voice.d.ts.map +1 -1
  95. package/resources/voice/voice.js +4 -0
  96. package/resources/voice/voice.js.map +1 -1
  97. package/resources/voice/voice.mjs +4 -0
  98. package/resources/voice/voice.mjs.map +1 -1
  99. package/src/resources/agent/v1/agents.ts +22 -1
  100. package/src/resources/agent/v1/chat.ts +1 -1
  101. package/src/resources/applications/v1/deployments.ts +26 -16
  102. package/src/resources/applications/v1/index.ts +1 -0
  103. package/src/resources/applications/v1/projects.ts +97 -24
  104. package/src/resources/applications/v1/v1.ts +2 -0
  105. package/src/resources/format/v1/v1.ts +8 -0
  106. package/src/resources/legal/v1.ts +9 -0
  107. package/src/resources/vault/events/subscriptions.ts +20 -6
  108. package/src/resources/vault/groups.ts +41 -7
  109. package/src/resources/vault/index.ts +1 -1
  110. package/src/resources/vault/multipart.ts +18 -0
  111. package/src/resources/vault/vault.ts +6 -2
  112. package/src/resources/voice/boost-list.ts +119 -0
  113. package/src/resources/voice/index.ts +7 -0
  114. package/src/resources/voice/voice.ts +18 -0
  115. package/src/version.ts +1 -1
  116. package/version.d.mts +1 -1
  117. package/version.d.ts +1 -1
  118. package/version.js +1 -1
  119. package/version.mjs +1 -1
@@ -0,0 +1,88 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
+ /**
5
+ * Audio transcription and text-to-speech
6
+ */
7
+ export declare class BoostList extends APIResource {
8
+ /**
9
+ * Extracts a categorized word boost list from vault documents or raw text using
10
+ * LLM entity extraction. The resulting list can be passed as `word_boost` to the
11
+ * transcription endpoint for improved accuracy.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const response = await client.voice.boostList.extract();
16
+ * ```
17
+ */
18
+ extract(body: BoostListExtractParams, options?: RequestOptions): APIPromise<BoostListExtractResponse>;
19
+ /**
20
+ * Generates a categorized word boost list from a completed transcription job.
21
+ * Extracts entities from the pass-1 transcript for use as `word_boost` in a second
22
+ * transcription pass.
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * const response = await client.voice.boostList.generate({
27
+ * transcription_job_id: 'transcription_job_id',
28
+ * });
29
+ * ```
30
+ */
31
+ generate(body: BoostListGenerateParams, options?: RequestOptions): APIPromise<BoostListGenerateResponse>;
32
+ }
33
+ export interface BoostListExtractResponse {
34
+ items?: Array<BoostListExtractResponse.Item>;
35
+ source?: 'document' | 'text';
36
+ source_ids?: Array<string>;
37
+ }
38
+ export declare namespace BoostListExtractResponse {
39
+ interface Item {
40
+ boost_param?: 'low' | 'default' | 'high';
41
+ category?: string;
42
+ word?: string;
43
+ }
44
+ }
45
+ export interface BoostListGenerateResponse {
46
+ items?: Array<BoostListGenerateResponse.Item>;
47
+ source?: 'transcript';
48
+ source_ids?: Array<string>;
49
+ }
50
+ export declare namespace BoostListGenerateResponse {
51
+ interface Item {
52
+ boost_param?: 'low' | 'default' | 'high';
53
+ category?: string;
54
+ word?: string;
55
+ }
56
+ }
57
+ export interface BoostListExtractParams {
58
+ /**
59
+ * Optional filter for entity categories to extract
60
+ */
61
+ categories?: Array<'person' | 'organization' | 'legal_term' | 'medical' | 'citation' | 'email'>;
62
+ /**
63
+ * Object IDs of documents to extract entities from (PDFs, text files)
64
+ */
65
+ object_ids?: Array<string>;
66
+ /**
67
+ * Raw text input for entity extraction (alternative to vault documents)
68
+ */
69
+ text?: string;
70
+ /**
71
+ * Vault ID containing the source documents (use with object_ids)
72
+ */
73
+ vault_id?: string;
74
+ }
75
+ export interface BoostListGenerateParams {
76
+ /**
77
+ * Completed pass-1 transcription job ID (tr\_...)
78
+ */
79
+ transcription_job_id: string;
80
+ /**
81
+ * Optional filter for entity categories to extract
82
+ */
83
+ categories?: Array<'person' | 'organization' | 'legal_term' | 'medical' | 'citation' | 'email'>;
84
+ }
85
+ export declare namespace BoostList {
86
+ export { type BoostListExtractResponse as BoostListExtractResponse, type BoostListGenerateResponse as BoostListGenerateResponse, type BoostListExtractParams as BoostListExtractParams, type BoostListGenerateParams as BoostListGenerateParams, };
87
+ }
88
+ //# sourceMappingURL=boost-list.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boost-list.d.mts","sourceRoot":"","sources":["../../src/resources/voice/boost-list.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;OASG;IACH,OAAO,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIrG;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;CAGzG;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAE7C,MAAM,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IAE7B,UAAU,CAA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AAwB,EACzD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -0,0 +1,88 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
4
+ /**
5
+ * Audio transcription and text-to-speech
6
+ */
7
+ export declare class BoostList extends APIResource {
8
+ /**
9
+ * Extracts a categorized word boost list from vault documents or raw text using
10
+ * LLM entity extraction. The resulting list can be passed as `word_boost` to the
11
+ * transcription endpoint for improved accuracy.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const response = await client.voice.boostList.extract();
16
+ * ```
17
+ */
18
+ extract(body: BoostListExtractParams, options?: RequestOptions): APIPromise<BoostListExtractResponse>;
19
+ /**
20
+ * Generates a categorized word boost list from a completed transcription job.
21
+ * Extracts entities from the pass-1 transcript for use as `word_boost` in a second
22
+ * transcription pass.
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * const response = await client.voice.boostList.generate({
27
+ * transcription_job_id: 'transcription_job_id',
28
+ * });
29
+ * ```
30
+ */
31
+ generate(body: BoostListGenerateParams, options?: RequestOptions): APIPromise<BoostListGenerateResponse>;
32
+ }
33
+ export interface BoostListExtractResponse {
34
+ items?: Array<BoostListExtractResponse.Item>;
35
+ source?: 'document' | 'text';
36
+ source_ids?: Array<string>;
37
+ }
38
+ export declare namespace BoostListExtractResponse {
39
+ interface Item {
40
+ boost_param?: 'low' | 'default' | 'high';
41
+ category?: string;
42
+ word?: string;
43
+ }
44
+ }
45
+ export interface BoostListGenerateResponse {
46
+ items?: Array<BoostListGenerateResponse.Item>;
47
+ source?: 'transcript';
48
+ source_ids?: Array<string>;
49
+ }
50
+ export declare namespace BoostListGenerateResponse {
51
+ interface Item {
52
+ boost_param?: 'low' | 'default' | 'high';
53
+ category?: string;
54
+ word?: string;
55
+ }
56
+ }
57
+ export interface BoostListExtractParams {
58
+ /**
59
+ * Optional filter for entity categories to extract
60
+ */
61
+ categories?: Array<'person' | 'organization' | 'legal_term' | 'medical' | 'citation' | 'email'>;
62
+ /**
63
+ * Object IDs of documents to extract entities from (PDFs, text files)
64
+ */
65
+ object_ids?: Array<string>;
66
+ /**
67
+ * Raw text input for entity extraction (alternative to vault documents)
68
+ */
69
+ text?: string;
70
+ /**
71
+ * Vault ID containing the source documents (use with object_ids)
72
+ */
73
+ vault_id?: string;
74
+ }
75
+ export interface BoostListGenerateParams {
76
+ /**
77
+ * Completed pass-1 transcription job ID (tr\_...)
78
+ */
79
+ transcription_job_id: string;
80
+ /**
81
+ * Optional filter for entity categories to extract
82
+ */
83
+ categories?: Array<'person' | 'organization' | 'legal_term' | 'medical' | 'citation' | 'email'>;
84
+ }
85
+ export declare namespace BoostList {
86
+ export { type BoostListExtractResponse as BoostListExtractResponse, type BoostListGenerateResponse as BoostListGenerateResponse, type BoostListExtractParams as BoostListExtractParams, type BoostListGenerateParams as BoostListGenerateParams, };
87
+ }
88
+ //# sourceMappingURL=boost-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boost-list.d.ts","sourceRoot":"","sources":["../../src/resources/voice/boost-list.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;OASG;IACH,OAAO,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIrG;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;CAGzG;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,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jG;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.BoostList = void 0;
5
+ const resource_1 = require("../../core/resource.js");
6
+ /**
7
+ * Audio transcription and text-to-speech
8
+ */
9
+ class BoostList extends resource_1.APIResource {
10
+ /**
11
+ * Extracts a categorized word boost list from vault documents or raw text using
12
+ * LLM entity extraction. The resulting list can be passed as `word_boost` to the
13
+ * transcription endpoint for improved accuracy.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * const response = await client.voice.boostList.extract();
18
+ * ```
19
+ */
20
+ extract(body, options) {
21
+ return this._client.post('/voice/boost-list/extract', { body, ...options });
22
+ }
23
+ /**
24
+ * Generates a categorized word boost list from a completed transcription job.
25
+ * Extracts entities from the pass-1 transcript for use as `word_boost` in a second
26
+ * transcription pass.
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * const response = await client.voice.boostList.generate({
31
+ * transcription_job_id: 'transcription_job_id',
32
+ * });
33
+ * ```
34
+ */
35
+ generate(body, options) {
36
+ return this._client.post('/voice/boost-list/generate', { body, ...options });
37
+ }
38
+ }
39
+ exports.BoostList = BoostList;
40
+ //# sourceMappingURL=boost-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boost-list.js","sourceRoot":"","sources":["../../src/resources/voice/boost-list.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;OASG;IACH,OAAO,CAAC,IAA4B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,IAA6B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF;AA9BD,8BA8BC"}
@@ -0,0 +1,36 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ /**
4
+ * Audio transcription and text-to-speech
5
+ */
6
+ export class BoostList extends APIResource {
7
+ /**
8
+ * Extracts a categorized word boost list from vault documents or raw text using
9
+ * LLM entity extraction. The resulting list can be passed as `word_boost` to the
10
+ * transcription endpoint for improved accuracy.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const response = await client.voice.boostList.extract();
15
+ * ```
16
+ */
17
+ extract(body, options) {
18
+ return this._client.post('/voice/boost-list/extract', { body, ...options });
19
+ }
20
+ /**
21
+ * Generates a categorized word boost list from a completed transcription job.
22
+ * Extracts entities from the pass-1 transcript for use as `word_boost` in a second
23
+ * transcription pass.
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const response = await client.voice.boostList.generate({
28
+ * transcription_job_id: 'transcription_job_id',
29
+ * });
30
+ * ```
31
+ */
32
+ generate(body, options) {
33
+ return this._client.post('/voice/boost-list/generate', { body, ...options });
34
+ }
35
+ }
36
+ //# sourceMappingURL=boost-list.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boost-list.mjs","sourceRoot":"","sources":["../../src/resources/voice/boost-list.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;OASG;IACH,OAAO,CAAC,IAA4B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,IAA6B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF"}
@@ -1,3 +1,4 @@
1
+ export { BoostList, type BoostListExtractResponse, type BoostListGenerateResponse, type BoostListExtractParams, type BoostListGenerateParams, } from "./boost-list.mjs";
1
2
  export { Streaming, type StreamingGetURLResponse } from "./streaming.mjs";
2
3
  export { Transcription, type TranscriptionCreateResponse, type TranscriptionRetrieveResponse, type TranscriptionCreateParams, } from "./transcription.mjs";
3
4
  export { V1, type V1ListVoicesResponse, type V1ListVoicesParams } from "./v1/index.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/voice/index.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,EAAE,KAAK,uBAAuB,EAAE;OAC3C,EACL,aAAa,EACb,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,GAC/B;OACM,EAAE,EAAE,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE;OAC1D,EAAE,KAAK,EAAE"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/voice/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,GAC7B;OACM,EAAE,SAAS,EAAE,KAAK,uBAAuB,EAAE;OAC3C,EACL,aAAa,EACb,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,GAC/B;OACM,EAAE,EAAE,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE;OAC1D,EAAE,KAAK,EAAE"}
@@ -1,3 +1,4 @@
1
+ export { BoostList, type BoostListExtractResponse, type BoostListGenerateResponse, type BoostListExtractParams, type BoostListGenerateParams, } from "./boost-list.js";
1
2
  export { Streaming, type StreamingGetURLResponse } from "./streaming.js";
2
3
  export { Transcription, type TranscriptionCreateResponse, type TranscriptionRetrieveResponse, type TranscriptionCreateParams, } from "./transcription.js";
3
4
  export { V1, type V1ListVoicesResponse, type V1ListVoicesParams } from "./v1/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/voice/index.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,EAAE,KAAK,uBAAuB,EAAE;OAC3C,EACL,aAAa,EACb,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,GAC/B;OACM,EAAE,EAAE,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE;OAC1D,EAAE,KAAK,EAAE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/voice/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,GAC7B;OACM,EAAE,SAAS,EAAE,KAAK,uBAAuB,EAAE;OAC3C,EACL,aAAa,EACb,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,GAC/B;OACM,EAAE,EAAE,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE;OAC1D,EAAE,KAAK,EAAE"}
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Voice = exports.V1 = exports.Transcription = exports.Streaming = void 0;
4
+ exports.Voice = exports.V1 = exports.Transcription = exports.Streaming = exports.BoostList = void 0;
5
+ var boost_list_1 = require("./boost-list.js");
6
+ Object.defineProperty(exports, "BoostList", { enumerable: true, get: function () { return boost_list_1.BoostList; } });
5
7
  var streaming_1 = require("./streaming.js");
6
8
  Object.defineProperty(exports, "Streaming", { enumerable: true, get: function () { return streaming_1.Streaming; } });
7
9
  var transcription_1 = require("./transcription.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/voice/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAAsE;AAA7D,sGAAA,SAAS,OAAA;AAClB,oDAKyB;AAJvB,8GAAA,aAAa,OAAA;AAKf,uCAAoF;AAA3E,2FAAA,EAAE,OAAA;AACX,oCAAgC;AAAvB,8FAAA,KAAK,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/voice/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAMsB;AALpB,uGAAA,SAAS,OAAA;AAMX,4CAAsE;AAA7D,sGAAA,SAAS,OAAA;AAClB,oDAKyB;AAJvB,8GAAA,aAAa,OAAA;AAKf,uCAAoF;AAA3E,2FAAA,EAAE,OAAA;AACX,oCAAgC;AAAvB,8FAAA,KAAK,OAAA"}
@@ -1,4 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { BoostList, } from "./boost-list.mjs";
2
3
  export { Streaming } from "./streaming.mjs";
3
4
  export { Transcription, } from "./transcription.mjs";
4
5
  export { V1 } from "./v1/index.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/voice/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAgC;OAC3C,EACL,aAAa,GAId;OACM,EAAE,EAAE,EAAsD;OAC1D,EAAE,KAAK,EAAE"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/voice/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAKV;OACM,EAAE,SAAS,EAAgC;OAC3C,EACL,aAAa,GAId;OACM,EAAE,EAAE,EAAsD;OAC1D,EAAE,KAAK,EAAE"}
@@ -1,4 +1,6 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
+ import * as BoostListAPI from "./boost-list.mjs";
3
+ import { BoostList, BoostListExtractParams, BoostListExtractResponse, BoostListGenerateParams, BoostListGenerateResponse } from "./boost-list.mjs";
2
4
  import * as StreamingAPI from "./streaming.mjs";
3
5
  import { Streaming, StreamingGetURLResponse } from "./streaming.mjs";
4
6
  import * as TranscriptionAPI from "./transcription.mjs";
@@ -7,11 +9,13 @@ import * as V1API from "./v1/v1.mjs";
7
9
  import { V1, V1ListVoicesParams, V1ListVoicesResponse } from "./v1/v1.mjs";
8
10
  export declare class Voice extends APIResource {
9
11
  streaming: StreamingAPI.Streaming;
12
+ boostList: BoostListAPI.BoostList;
10
13
  transcription: TranscriptionAPI.Transcription;
11
14
  v1: V1API.V1;
12
15
  }
13
16
  export declare namespace Voice {
14
17
  export { Streaming as Streaming, type StreamingGetURLResponse as StreamingGetURLResponse };
18
+ export { BoostList as BoostList, type BoostListExtractResponse as BoostListExtractResponse, type BoostListGenerateResponse as BoostListGenerateResponse, type BoostListExtractParams as BoostListExtractParams, type BoostListGenerateParams as BoostListGenerateParams, };
15
19
  export { Transcription as Transcription, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionRetrieveResponse as TranscriptionRetrieveResponse, type TranscriptionCreateParams as TranscriptionCreateParams, };
16
20
  export { V1 as V1, type V1ListVoicesResponse as V1ListVoicesResponse, type V1ListVoicesParams as V1ListVoicesParams, };
17
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"voice.d.mts","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,SAAS,EAAE,uBAAuB,EAAE;OACtC,KAAK,gBAAgB;OACrB,EACL,aAAa,EACb,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC9B;OACM,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,kBAAkB,EAAE,oBAAoB,EAAE;AAEvD,qBAAa,KAAM,SAAQ,WAAW;IACpC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IACjG,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAMD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;IAE3F,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
1
+ {"version":3,"file":"voice.d.mts","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,EACT,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,EACvB,yBAAyB,EAC1B;OACM,KAAK,YAAY;OACjB,EAAE,SAAS,EAAE,uBAAuB,EAAE;OACtC,KAAK,gBAAgB;OACrB,EACL,aAAa,EACb,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC9B;OACM,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,kBAAkB,EAAE,oBAAoB,EAAE;AAEvD,qBAAa,KAAM,SAAQ,WAAW;IACpC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IACjG,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAOD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;IAE3F,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -1,4 +1,6 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
+ import * as BoostListAPI from "./boost-list.js";
3
+ import { BoostList, BoostListExtractParams, BoostListExtractResponse, BoostListGenerateParams, BoostListGenerateResponse } from "./boost-list.js";
2
4
  import * as StreamingAPI from "./streaming.js";
3
5
  import { Streaming, StreamingGetURLResponse } from "./streaming.js";
4
6
  import * as TranscriptionAPI from "./transcription.js";
@@ -7,11 +9,13 @@ import * as V1API from "./v1/v1.js";
7
9
  import { V1, V1ListVoicesParams, V1ListVoicesResponse } from "./v1/v1.js";
8
10
  export declare class Voice extends APIResource {
9
11
  streaming: StreamingAPI.Streaming;
12
+ boostList: BoostListAPI.BoostList;
10
13
  transcription: TranscriptionAPI.Transcription;
11
14
  v1: V1API.V1;
12
15
  }
13
16
  export declare namespace Voice {
14
17
  export { Streaming as Streaming, type StreamingGetURLResponse as StreamingGetURLResponse };
18
+ export { BoostList as BoostList, type BoostListExtractResponse as BoostListExtractResponse, type BoostListGenerateResponse as BoostListGenerateResponse, type BoostListExtractParams as BoostListExtractParams, type BoostListGenerateParams as BoostListGenerateParams, };
15
19
  export { Transcription as Transcription, type TranscriptionCreateResponse as TranscriptionCreateResponse, type TranscriptionRetrieveResponse as TranscriptionRetrieveResponse, type TranscriptionCreateParams as TranscriptionCreateParams, };
16
20
  export { V1 as V1, type V1ListVoicesResponse as V1ListVoicesResponse, type V1ListVoicesParams as V1ListVoicesParams, };
17
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"voice.d.ts","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,SAAS,EAAE,uBAAuB,EAAE;OACtC,KAAK,gBAAgB;OACrB,EACL,aAAa,EACb,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC9B;OACM,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,kBAAkB,EAAE,oBAAoB,EAAE;AAEvD,qBAAa,KAAM,SAAQ,WAAW;IACpC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IACjG,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAMD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;IAE3F,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA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KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Voice = void 0;
5
5
  const tslib_1 = require("../../internal/tslib.js");
6
6
  const resource_1 = require("../../core/resource.js");
7
+ const BoostListAPI = tslib_1.__importStar(require("./boost-list.js"));
8
+ const boost_list_1 = require("./boost-list.js");
7
9
  const StreamingAPI = tslib_1.__importStar(require("./streaming.js"));
8
10
  const streaming_1 = require("./streaming.js");
9
11
  const TranscriptionAPI = tslib_1.__importStar(require("./transcription.js"));
@@ -14,12 +16,14 @@ class Voice extends resource_1.APIResource {
14
16
  constructor() {
15
17
  super(...arguments);
16
18
  this.streaming = new StreamingAPI.Streaming(this._client);
19
+ this.boostList = new BoostListAPI.BoostList(this._client);
17
20
  this.transcription = new TranscriptionAPI.Transcription(this._client);
18
21
  this.v1 = new V1API.V1(this._client);
19
22
  }
20
23
  }
21
24
  exports.Voice = Voice;
22
25
  Voice.Streaming = streaming_1.Streaming;
26
+ Voice.BoostList = boost_list_1.BoostList;
23
27
  Voice.Transcription = transcription_1.Transcription;
24
28
  Voice.V1 = v1_1.V1;
25
29
  //# sourceMappingURL=voice.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"voice.js","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,qEAA4C;AAC5C,8CAAiE;AACjE,6EAAoD;AACpD,sDAKyB;AACzB,0DAAiC;AACjC,mCAAuE;AAEvE,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAJD,sBAIC;AAED,KAAK,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC5B,KAAK,CAAC,aAAa,GAAG,6BAAa,CAAC;AACpC,KAAK,CAAC,EAAE,GAAG,OAAE,CAAC"}
1
+ {"version":3,"file":"voice.js","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,sEAA6C;AAC7C,gDAMsB;AACtB,qEAA4C;AAC5C,8CAAiE;AACjE,6EAAoD;AACpD,sDAKyB;AACzB,0DAAiC;AACjC,mCAAuE;AAEvE,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AALD,sBAKC;AAED,KAAK,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC5B,KAAK,CAAC,SAAS,GAAG,sBAAS,CAAC;AAC5B,KAAK,CAAC,aAAa,GAAG,6BAAa,CAAC;AACpC,KAAK,CAAC,EAAE,GAAG,OAAE,CAAC"}
@@ -1,5 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../core/resource.mjs";
3
+ import * as BoostListAPI from "./boost-list.mjs";
4
+ import { BoostList, } from "./boost-list.mjs";
3
5
  import * as StreamingAPI from "./streaming.mjs";
4
6
  import { Streaming } from "./streaming.mjs";
5
7
  import * as TranscriptionAPI from "./transcription.mjs";
@@ -10,11 +12,13 @@ export class Voice extends APIResource {
10
12
  constructor() {
11
13
  super(...arguments);
12
14
  this.streaming = new StreamingAPI.Streaming(this._client);
15
+ this.boostList = new BoostListAPI.BoostList(this._client);
13
16
  this.transcription = new TranscriptionAPI.Transcription(this._client);
14
17
  this.v1 = new V1API.V1(this._client);
15
18
  }
16
19
  }
17
20
  Voice.Streaming = Streaming;
21
+ Voice.BoostList = BoostList;
18
22
  Voice.Transcription = Transcription;
19
23
  Voice.V1 = V1;
20
24
  //# sourceMappingURL=voice.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"voice.mjs","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,SAAS,EAA2B;OACtC,KAAK,gBAAgB;OACrB,EACL,aAAa,GAId;OACM,KAAK,KAAK;OACV,EAAE,EAAE,EAA4C;AAEvD,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAED,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAC5B,KAAK,CAAC,aAAa,GAAG,aAAa,CAAC;AACpC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"voice.mjs","sourceRoot":"","sources":["../../src/resources/voice/voice.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,GAKV;OACM,KAAK,YAAY;OACjB,EAAE,SAAS,EAA2B;OACtC,KAAK,gBAAgB;OACrB,EACL,aAAa,GAId;OACM,KAAK,KAAK;OACV,EAAE,EAAE,EAA4C;AAEvD,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAED,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAC5B,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAC5B,KAAK,CAAC,aAAa,GAAG,aAAa,CAAC;AACpC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC"}
@@ -230,7 +230,10 @@ export namespace AgentCreateParams {
230
230
  }
231
231
 
232
232
  export interface AgentUpdateParams {
233
- description?: string;
233
+ /**
234
+ * Updated agent description. Pass null to clear if supported by the client.
235
+ */
236
+ description?: string | null;
234
237
 
235
238
  /**
236
239
  * Denylist of tools the agent cannot use. Mutually exclusive with enabledTools —
@@ -244,16 +247,34 @@ export interface AgentUpdateParams {
244
247
  */
245
248
  enabledTools?: Array<string> | null;
246
249
 
250
+ /**
251
+ * Updated system instructions that guide agent behavior
252
+ */
247
253
  instructions?: string;
248
254
 
255
+ /**
256
+ * Model identifier the agent should use for future runs
257
+ */
249
258
  model?: string;
250
259
 
260
+ /**
261
+ * Updated agent display name
262
+ */
251
263
  name?: string;
252
264
 
265
+ /**
266
+ * Sandbox configuration override for future agent runs. Pass null to clear.
267
+ */
253
268
  sandbox?: unknown | null;
254
269
 
270
+ /**
271
+ * Vault group IDs the agent can access. Pass null to clear.
272
+ */
255
273
  vaultGroups?: Array<string> | null;
256
274
 
275
+ /**
276
+ * Vault IDs the agent can access directly. Pass null to clear.
277
+ */
257
278
  vaultIds?: Array<string> | null;
258
279
  }
259
280
 
@@ -183,7 +183,7 @@ export interface ChatReplyToQuestionParams {
183
183
  id: string;
184
184
 
185
185
  /**
186
- * Body param
186
+ * Body param: Answer selections for each prompt element in the pending question
187
187
  */
188
188
  answers: Array<Array<string>>;
189
189
  }
@@ -11,7 +11,9 @@ import { path } from '../../../internal/utils/path';
11
11
  */
12
12
  export class Deployments extends APIResource {
13
13
  /**
14
- * Trigger a new deployment for a project
14
+ * Creates a deployment for an existing project by fetching repository files from
15
+ * GitHub and uploading them to the hosting provider. Use ref to deploy a branch,
16
+ * tag, or commit other than the project default branch.
15
17
  */
16
18
  create(body: DeploymentCreateParams, options?: RequestOptions): APIPromise<void> {
17
19
  return this._client.post('/applications/v1/deployments', {
@@ -22,7 +24,8 @@ export class Deployments extends APIResource {
22
24
  }
23
25
 
24
26
  /**
25
- * Get details of a specific deployment including build logs
27
+ * Returns deployment details for one project in the authenticated organization.
28
+ * Set includeLogs=true to include recent build output in the response.
26
29
  */
27
30
  retrieve(id: string, query: DeploymentRetrieveParams, options?: RequestOptions): APIPromise<void> {
28
31
  return this._client.get(path`/applications/v1/deployments/${id}`, {
@@ -33,7 +36,8 @@ export class Deployments extends APIResource {
33
36
  }
34
37
 
35
38
  /**
36
- * List deployments for a project
39
+ * Lists recent deployments for one project in the authenticated organization. Use
40
+ * the optional filters to narrow results by target or deployment state.
37
41
  */
38
42
  list(query: DeploymentListParams, options?: RequestOptions): APIPromise<void> {
39
43
  return this._client.get('/applications/v1/deployments', {
@@ -44,7 +48,9 @@ export class Deployments extends APIResource {
44
48
  }
45
49
 
46
50
  /**
47
- * Cancel a running deployment
51
+ * Cancels a running deployment after verifying that the referenced project belongs
52
+ * to the authenticated organization. Use this when a build is stuck,
53
+ * misconfigured, or no longer needed.
48
54
  */
49
55
  cancel(id: string, body: DeploymentCancelParams, options?: RequestOptions): APIPromise<void> {
50
56
  return this._client.post(path`/applications/v1/deployments/${id}/cancel`, {
@@ -65,7 +71,9 @@ export class Deployments extends APIResource {
65
71
  }
66
72
 
67
73
  /**
68
- * Get build logs for a specific deployment
74
+ * Returns build and runtime log events for a deployment after verifying access to
75
+ * the owning project. Use this when you need detailed output for a failed or
76
+ * in-progress build.
69
77
  */
70
78
  getLogs(id: string, query: DeploymentGetLogsParams, options?: RequestOptions): APIPromise<void> {
71
79
  return this._client.get(path`/applications/v1/deployments/${id}/logs`, {
@@ -76,7 +84,9 @@ export class Deployments extends APIResource {
76
84
  }
77
85
 
78
86
  /**
79
- * Get the current status of a deployment
87
+ * Returns the current status of a deployment without fetching full build logs. Use
88
+ * this endpoint for lightweight polling while a deployment is building or waiting
89
+ * to become ready.
80
90
  */
81
91
  getStatus(id: string, options?: RequestOptions): APIPromise<void> {
82
92
  return this._client.get(path`/applications/v1/deployments/${id}/status`, {
@@ -99,36 +109,36 @@ export class Deployments extends APIResource {
99
109
 
100
110
  export interface DeploymentCreateParams {
101
111
  /**
102
- * Project ID
112
+ * Project ID to deploy
103
113
  */
104
114
  projectId: string;
105
115
 
106
116
  /**
107
- * Git ref (branch, tag, or commit) to deploy
117
+ * Git branch, tag, or commit to deploy. Defaults to the project branch.
108
118
  */
109
119
  ref?: string;
110
120
 
111
121
  /**
112
- * Deployment target
122
+ * Deployment target environment
113
123
  */
114
124
  target?: 'production' | 'preview';
115
125
  }
116
126
 
117
127
  export interface DeploymentRetrieveParams {
118
128
  /**
119
- * Project ID (for authorization)
129
+ * Project ID used to verify access to the deployment
120
130
  */
121
131
  projectId: string;
122
132
 
123
133
  /**
124
- * Include build logs
134
+ * Whether to include build logs in the response
125
135
  */
126
136
  includeLogs?: boolean;
127
137
  }
128
138
 
129
139
  export interface DeploymentListParams {
130
140
  /**
131
- * Project ID
141
+ * Project ID to list deployments for
132
142
  */
133
143
  projectId: string;
134
144
 
@@ -138,26 +148,26 @@ export interface DeploymentListParams {
138
148
  limit?: number;
139
149
 
140
150
  /**
141
- * Filter by deployment state
151
+ * Deployment state to filter by
142
152
  */
143
153
  state?: string;
144
154
 
145
155
  /**
146
- * Filter by deployment target
156
+ * Deployment target to filter by
147
157
  */
148
158
  target?: 'production' | 'staging';
149
159
  }
150
160
 
151
161
  export interface DeploymentCancelParams {
152
162
  /**
153
- * Project ID (for authorization)
163
+ * Project ID used to verify access to the deployment
154
164
  */
155
165
  projectId: string;
156
166
  }
157
167
 
158
168
  export interface DeploymentGetLogsParams {
159
169
  /**
160
- * Project ID (for authorization)
170
+ * Project ID used to verify access to the deployment
161
171
  */
162
172
  projectId: string;
163
173
  }