@orq-ai/node 4.0.0-rc.4 → 4.0.0-rc.7

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 (154) hide show
  1. package/bin/mcp-server.js +7487 -543
  2. package/bin/mcp-server.js.map +52 -52
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createagent.d.ts +4141 -865
  10. package/models/operations/createagent.d.ts.map +1 -1
  11. package/models/operations/createagent.js +3767 -768
  12. package/models/operations/createagent.js.map +1 -1
  13. package/models/operations/createbudget.js +2 -2
  14. package/models/operations/createcontact.js +2 -2
  15. package/models/operations/createdataset.js +2 -2
  16. package/models/operations/createdatasetitem.js +8 -8
  17. package/models/operations/createdatasource.js +2 -2
  18. package/models/operations/createeval.js +28 -28
  19. package/models/operations/creatememorystore.d.ts +42 -42
  20. package/models/operations/creatememorystore.d.ts.map +1 -1
  21. package/models/operations/creatememorystore.js +61 -63
  22. package/models/operations/creatememorystore.js.map +1 -1
  23. package/models/operations/createprompt.d.ts +263 -263
  24. package/models/operations/createprompt.d.ts.map +1 -1
  25. package/models/operations/createprompt.js +345 -345
  26. package/models/operations/createprompt.js.map +1 -1
  27. package/models/operations/createtool.js +10 -10
  28. package/models/operations/deploymentgetconfig.d.ts +19 -19
  29. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  30. package/models/operations/deploymentgetconfig.js +22 -22
  31. package/models/operations/deploymentgetconfig.js.map +1 -1
  32. package/models/operations/deployments.d.ts +4 -4
  33. package/models/operations/deployments.d.ts.map +1 -1
  34. package/models/operations/deployments.js +4 -4
  35. package/models/operations/deployments.js.map +1 -1
  36. package/models/operations/duplicatetool.js +10 -10
  37. package/models/operations/fileget.js +2 -2
  38. package/models/operations/filelist.js +2 -2
  39. package/models/operations/fileupload.js +2 -2
  40. package/models/operations/getagent.d.ts +1614 -11
  41. package/models/operations/getagent.d.ts.map +1 -1
  42. package/models/operations/getagent.js +1475 -9
  43. package/models/operations/getagent.js.map +1 -1
  44. package/models/operations/getallprompts.d.ts +4 -4
  45. package/models/operations/getallprompts.d.ts.map +1 -1
  46. package/models/operations/getallprompts.js +4 -4
  47. package/models/operations/getallprompts.js.map +1 -1
  48. package/models/operations/getalltools.js +10 -10
  49. package/models/operations/getbudget.js +2 -2
  50. package/models/operations/getevals.js +28 -28
  51. package/models/operations/getoneprompt.d.ts +4 -4
  52. package/models/operations/getoneprompt.d.ts.map +1 -1
  53. package/models/operations/getoneprompt.js +4 -4
  54. package/models/operations/getoneprompt.js.map +1 -1
  55. package/models/operations/getpromptversion.d.ts +4 -4
  56. package/models/operations/getpromptversion.d.ts.map +1 -1
  57. package/models/operations/getpromptversion.js +4 -4
  58. package/models/operations/getpromptversion.js.map +1 -1
  59. package/models/operations/listagents.d.ts +1614 -11
  60. package/models/operations/listagents.d.ts.map +1 -1
  61. package/models/operations/listagents.js +1481 -9
  62. package/models/operations/listagents.js.map +1 -1
  63. package/models/operations/listagenttasks.d.ts +1614 -11
  64. package/models/operations/listagenttasks.d.ts.map +1 -1
  65. package/models/operations/listagenttasks.js +1479 -9
  66. package/models/operations/listagenttasks.js.map +1 -1
  67. package/models/operations/listbudgets.js +2 -2
  68. package/models/operations/listcontacts.js +2 -2
  69. package/models/operations/listdatasetdatapoints.js +8 -8
  70. package/models/operations/listdatasets.js +2 -2
  71. package/models/operations/listdatasources.js +2 -2
  72. package/models/operations/listpromptversions.d.ts +4 -4
  73. package/models/operations/listpromptversions.d.ts.map +1 -1
  74. package/models/operations/listpromptversions.js +4 -4
  75. package/models/operations/listpromptversions.js.map +1 -1
  76. package/models/operations/retrievecontact.js +2 -2
  77. package/models/operations/retrievedatapoint.js +8 -8
  78. package/models/operations/retrievedataset.js +2 -2
  79. package/models/operations/retrievedatasource.js +2 -2
  80. package/models/operations/retrievetool.js +10 -10
  81. package/models/operations/runagent.d.ts +2176 -503
  82. package/models/operations/runagent.d.ts.map +1 -1
  83. package/models/operations/runagent.js +1534 -9
  84. package/models/operations/runagent.js.map +1 -1
  85. package/models/operations/streamrunagent.d.ts +2128 -455
  86. package/models/operations/streamrunagent.d.ts.map +1 -1
  87. package/models/operations/streamrunagent.js +1630 -89
  88. package/models/operations/streamrunagent.js.map +1 -1
  89. package/models/operations/updateagent.d.ts +4129 -853
  90. package/models/operations/updateagent.d.ts.map +1 -1
  91. package/models/operations/updateagent.js +3837 -825
  92. package/models/operations/updateagent.js.map +1 -1
  93. package/models/operations/updatebudget.js +2 -2
  94. package/models/operations/updatecontact.js +2 -2
  95. package/models/operations/updatedatapoint.js +8 -8
  96. package/models/operations/updatedataset.js +2 -2
  97. package/models/operations/updatedatasource.js +2 -2
  98. package/models/operations/updateeval.js +28 -28
  99. package/models/operations/updateprompt.d.ts +8 -8
  100. package/models/operations/updateprompt.d.ts.map +1 -1
  101. package/models/operations/updateprompt.js +8 -8
  102. package/models/operations/updateprompt.js.map +1 -1
  103. package/models/operations/updatetool.js +10 -10
  104. package/package.json +1 -1
  105. package/src/lib/config.ts +2 -2
  106. package/src/mcp-server/mcp-server.ts +1 -1
  107. package/src/mcp-server/server.ts +1 -1
  108. package/src/models/operations/createagent.ts +7853 -1626
  109. package/src/models/operations/createbudget.ts +2 -2
  110. package/src/models/operations/createcontact.ts +2 -2
  111. package/src/models/operations/createdataset.ts +2 -2
  112. package/src/models/operations/createdatasetitem.ts +8 -8
  113. package/src/models/operations/createdatasource.ts +2 -2
  114. package/src/models/operations/createeval.ts +28 -28
  115. package/src/models/operations/creatememorystore.ts +120 -103
  116. package/src/models/operations/createprompt.ts +742 -621
  117. package/src/models/operations/createtool.ts +10 -10
  118. package/src/models/operations/deploymentgetconfig.ts +60 -44
  119. package/src/models/operations/deployments.ts +25 -20
  120. package/src/models/operations/duplicatetool.ts +10 -10
  121. package/src/models/operations/fileget.ts +2 -2
  122. package/src/models/operations/filelist.ts +2 -2
  123. package/src/models/operations/fileupload.ts +2 -2
  124. package/src/models/operations/getagent.ts +3274 -246
  125. package/src/models/operations/getallprompts.ts +30 -20
  126. package/src/models/operations/getalltools.ts +10 -10
  127. package/src/models/operations/getbudget.ts +2 -2
  128. package/src/models/operations/getevals.ts +28 -28
  129. package/src/models/operations/getoneprompt.ts +28 -20
  130. package/src/models/operations/getpromptversion.ts +30 -20
  131. package/src/models/operations/listagents.ts +3351 -270
  132. package/src/models/operations/listagenttasks.ts +3347 -180
  133. package/src/models/operations/listbudgets.ts +2 -2
  134. package/src/models/operations/listcontacts.ts +2 -2
  135. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  136. package/src/models/operations/listdatasets.ts +2 -2
  137. package/src/models/operations/listdatasources.ts +2 -2
  138. package/src/models/operations/listpromptversions.ts +30 -20
  139. package/src/models/operations/retrievecontact.ts +2 -2
  140. package/src/models/operations/retrievedatapoint.ts +8 -8
  141. package/src/models/operations/retrievedataset.ts +2 -2
  142. package/src/models/operations/retrievedatasource.ts +2 -2
  143. package/src/models/operations/retrievetool.ts +10 -10
  144. package/src/models/operations/runagent.ts +3799 -610
  145. package/src/models/operations/streamrunagent.ts +3945 -605
  146. package/src/models/operations/updateagent.ts +8331 -1757
  147. package/src/models/operations/updatebudget.ts +2 -2
  148. package/src/models/operations/updatecontact.ts +2 -2
  149. package/src/models/operations/updatedatapoint.ts +8 -8
  150. package/src/models/operations/updatedataset.ts +2 -2
  151. package/src/models/operations/updatedatasource.ts +2 -2
  152. package/src/models/operations/updateeval.ts +28 -28
  153. package/src/models/operations/updateprompt.ts +58 -40
  154. package/src/models/operations/updatetool.ts +10 -10
@@ -37,6 +37,534 @@ export type ListAgentTasksRequest = {
37
37
  */
38
38
  status?: Status | undefined;
39
39
  };
40
+ /**
41
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
42
+ */
43
+ export declare const ListAgentTasksVoice: {
44
+ readonly Alloy: "alloy";
45
+ readonly Echo: "echo";
46
+ readonly Fable: "fable";
47
+ readonly Onyx: "onyx";
48
+ readonly Nova: "nova";
49
+ readonly Shimmer: "shimmer";
50
+ };
51
+ /**
52
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
53
+ */
54
+ export type ListAgentTasksVoice = ClosedEnum<typeof ListAgentTasksVoice>;
55
+ /**
56
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
57
+ */
58
+ export declare const ListAgentTasksFormat: {
59
+ readonly Wav: "wav";
60
+ readonly Mp3: "mp3";
61
+ readonly Flac: "flac";
62
+ readonly Opus: "opus";
63
+ readonly Pcm16: "pcm16";
64
+ };
65
+ /**
66
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
67
+ */
68
+ export type ListAgentTasksFormat = ClosedEnum<typeof ListAgentTasksFormat>;
69
+ /**
70
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
71
+ */
72
+ export type ListAgentTasksAudio = {
73
+ /**
74
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
75
+ */
76
+ voice: ListAgentTasksVoice;
77
+ /**
78
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
79
+ */
80
+ format: ListAgentTasksFormat;
81
+ };
82
+ export declare const ListAgentTasksResponseFormatAgentsResponseType: {
83
+ readonly JsonSchema: "json_schema";
84
+ };
85
+ export type ListAgentTasksResponseFormatAgentsResponseType = ClosedEnum<typeof ListAgentTasksResponseFormatAgentsResponseType>;
86
+ export type ListAgentTasksResponseFormatJsonSchema = {
87
+ /**
88
+ * A description of what the response format is for, used by the model to determine how to respond in the format.
89
+ */
90
+ description?: string | undefined;
91
+ /**
92
+ * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
93
+ */
94
+ name: string;
95
+ /**
96
+ * The schema for the response format, described as a JSON Schema object.
97
+ */
98
+ schema?: any | undefined;
99
+ /**
100
+ * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
101
+ */
102
+ strict?: boolean | undefined;
103
+ };
104
+ export type ListAgentTasksResponseFormat3 = {
105
+ type: ListAgentTasksResponseFormatAgentsResponseType;
106
+ jsonSchema: ListAgentTasksResponseFormatJsonSchema;
107
+ };
108
+ export declare const ListAgentTasksResponseFormatAgentsType: {
109
+ readonly JsonObject: "json_object";
110
+ };
111
+ export type ListAgentTasksResponseFormatAgentsType = ClosedEnum<typeof ListAgentTasksResponseFormatAgentsType>;
112
+ export type ListAgentTasksResponseFormat2 = {
113
+ type: ListAgentTasksResponseFormatAgentsType;
114
+ };
115
+ export declare const ListAgentTasksResponseFormatType: {
116
+ readonly Text: "text";
117
+ };
118
+ export type ListAgentTasksResponseFormatType = ClosedEnum<typeof ListAgentTasksResponseFormatType>;
119
+ export type ListAgentTasksResponseFormat1 = {
120
+ type: ListAgentTasksResponseFormatType;
121
+ };
122
+ /**
123
+ * An object specifying the format that the model must output
124
+ */
125
+ export type ListAgentTasksResponseFormat = ListAgentTasksResponseFormat3 | ListAgentTasksResponseFormat1 | ListAgentTasksResponseFormat2;
126
+ /**
127
+ * Up to 4 sequences where the API will stop generating further tokens.
128
+ */
129
+ export type ListAgentTasksStop = string | Array<string>;
130
+ /**
131
+ * Options for streaming response. Only set this when you set stream: true.
132
+ */
133
+ export type ListAgentTasksStreamOptions = {
134
+ /**
135
+ * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
136
+ */
137
+ includeUsage?: boolean | undefined;
138
+ };
139
+ /**
140
+ * Enables or disables the thinking mode capability
141
+ */
142
+ export declare const ListAgentTasksType: {
143
+ readonly Enabled: "enabled";
144
+ readonly Disabled: "disabled";
145
+ };
146
+ /**
147
+ * Enables or disables the thinking mode capability
148
+ */
149
+ export type ListAgentTasksType = ClosedEnum<typeof ListAgentTasksType>;
150
+ export type ListAgentTasksThinking = {
151
+ /**
152
+ * Enables or disables the thinking mode capability
153
+ */
154
+ type: ListAgentTasksType;
155
+ /**
156
+ * Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
157
+ */
158
+ budgetTokens: number;
159
+ };
160
+ /**
161
+ * The type of the tool. Currently, only function is supported.
162
+ */
163
+ export declare const ListAgentTasksToolChoiceType: {
164
+ readonly Function: "function";
165
+ };
166
+ /**
167
+ * The type of the tool. Currently, only function is supported.
168
+ */
169
+ export type ListAgentTasksToolChoiceType = ClosedEnum<typeof ListAgentTasksToolChoiceType>;
170
+ export type ListAgentTasksToolChoiceFunction = {
171
+ /**
172
+ * The name of the function to call.
173
+ */
174
+ name?: string | undefined;
175
+ };
176
+ export type ListAgentTasksToolChoice2 = {
177
+ /**
178
+ * The type of the tool. Currently, only function is supported.
179
+ */
180
+ type?: ListAgentTasksToolChoiceType | undefined;
181
+ function: ListAgentTasksToolChoiceFunction;
182
+ };
183
+ export declare const ListAgentTasksToolChoice1: {
184
+ readonly None: "none";
185
+ readonly Auto: "auto";
186
+ readonly Required: "required";
187
+ };
188
+ export type ListAgentTasksToolChoice1 = ClosedEnum<typeof ListAgentTasksToolChoice1>;
189
+ /**
190
+ * Controls which (if any) tool is called by the model.
191
+ */
192
+ export type ListAgentTasksToolChoice = ListAgentTasksToolChoice2 | ListAgentTasksToolChoice1;
193
+ export declare const ListAgentTasksModalities: {
194
+ readonly Text: "text";
195
+ readonly Audio: "audio";
196
+ };
197
+ export type ListAgentTasksModalities = ClosedEnum<typeof ListAgentTasksModalities>;
198
+ /**
199
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
200
+ */
201
+ export type ListAgentTasksWebSearchOptions = {
202
+ /**
203
+ * Whether to enable web search for this request.
204
+ */
205
+ enabled?: boolean | undefined;
206
+ };
207
+ /**
208
+ * Model parameters to customize behavior (snake_case). Common: temperature (0-1, controls randomness), max_tokens (response length). Advanced: top_p, frequency_penalty, presence_penalty, response_format (JSON mode), reasoning_effort, seed (determinism). Model-specific support varies.
209
+ */
210
+ export type ListAgentTasksParameters = {
211
+ /**
212
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
213
+ */
214
+ audio?: ListAgentTasksAudio | null | undefined;
215
+ /**
216
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
217
+ */
218
+ frequencyPenalty?: number | null | undefined;
219
+ /**
220
+ * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
221
+ *
222
+ * @remarks
223
+ *
224
+ * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
225
+ */
226
+ maxTokens?: number | null | undefined;
227
+ /**
228
+ * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
229
+ */
230
+ maxCompletionTokens?: number | null | undefined;
231
+ /**
232
+ * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
233
+ */
234
+ logprobs?: boolean | null | undefined;
235
+ /**
236
+ * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
237
+ */
238
+ topLogprobs?: number | null | undefined;
239
+ /**
240
+ * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
241
+ */
242
+ n?: number | null | undefined;
243
+ /**
244
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
245
+ */
246
+ presencePenalty?: number | null | undefined;
247
+ /**
248
+ * An object specifying the format that the model must output
249
+ */
250
+ responseFormat?: ListAgentTasksResponseFormat3 | ListAgentTasksResponseFormat1 | ListAgentTasksResponseFormat2 | undefined;
251
+ /**
252
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
253
+ */
254
+ reasoningEffort?: string | undefined;
255
+ /**
256
+ * Adjusts response verbosity. Lower levels yield shorter answers.
257
+ */
258
+ verbosity?: string | undefined;
259
+ /**
260
+ * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
261
+ */
262
+ seed?: number | null | undefined;
263
+ /**
264
+ * Up to 4 sequences where the API will stop generating further tokens.
265
+ */
266
+ stop?: string | Array<string> | null | undefined;
267
+ /**
268
+ * Options for streaming response. Only set this when you set stream: true.
269
+ */
270
+ streamOptions?: ListAgentTasksStreamOptions | null | undefined;
271
+ thinking?: ListAgentTasksThinking | undefined;
272
+ /**
273
+ * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
274
+ */
275
+ temperature?: number | null | undefined;
276
+ /**
277
+ * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
278
+ */
279
+ topP?: number | null | undefined;
280
+ /**
281
+ * Limits the model to consider only the top k most likely tokens at each step.
282
+ */
283
+ topK?: number | null | undefined;
284
+ /**
285
+ * Controls which (if any) tool is called by the model.
286
+ */
287
+ toolChoice?: ListAgentTasksToolChoice2 | ListAgentTasksToolChoice1 | undefined;
288
+ /**
289
+ * Whether to enable parallel function calling during tool use.
290
+ */
291
+ parallelToolCalls?: boolean | undefined;
292
+ /**
293
+ * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
294
+ */
295
+ modalities?: Array<ListAgentTasksModalities> | null | undefined;
296
+ /**
297
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
298
+ */
299
+ webSearchOptions?: ListAgentTasksWebSearchOptions | undefined;
300
+ };
301
+ /**
302
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
303
+ */
304
+ export declare const ListAgentTasksFallbackModelsVoice: {
305
+ readonly Alloy: "alloy";
306
+ readonly Echo: "echo";
307
+ readonly Fable: "fable";
308
+ readonly Onyx: "onyx";
309
+ readonly Nova: "nova";
310
+ readonly Shimmer: "shimmer";
311
+ };
312
+ /**
313
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
314
+ */
315
+ export type ListAgentTasksFallbackModelsVoice = ClosedEnum<typeof ListAgentTasksFallbackModelsVoice>;
316
+ /**
317
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
318
+ */
319
+ export declare const ListAgentTasksFallbackModelsFormat: {
320
+ readonly Wav: "wav";
321
+ readonly Mp3: "mp3";
322
+ readonly Flac: "flac";
323
+ readonly Opus: "opus";
324
+ readonly Pcm16: "pcm16";
325
+ };
326
+ /**
327
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
328
+ */
329
+ export type ListAgentTasksFallbackModelsFormat = ClosedEnum<typeof ListAgentTasksFallbackModelsFormat>;
330
+ /**
331
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
332
+ */
333
+ export type ListAgentTasksFallbackModelsAudio = {
334
+ /**
335
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
336
+ */
337
+ voice: ListAgentTasksFallbackModelsVoice;
338
+ /**
339
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
340
+ */
341
+ format: ListAgentTasksFallbackModelsFormat;
342
+ };
343
+ export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType: {
344
+ readonly JsonSchema: "json_schema";
345
+ };
346
+ export type ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
347
+ export type ListAgentTasksResponseFormatAgentsJsonSchema = {
348
+ /**
349
+ * A description of what the response format is for, used by the model to determine how to respond in the format.
350
+ */
351
+ description?: string | undefined;
352
+ /**
353
+ * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
354
+ */
355
+ name: string;
356
+ /**
357
+ * The schema for the response format, described as a JSON Schema object.
358
+ */
359
+ schema?: any | undefined;
360
+ /**
361
+ * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
362
+ */
363
+ strict?: boolean | undefined;
364
+ };
365
+ export type ListAgentTasksResponseFormatAgents3 = {
366
+ type: ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType;
367
+ jsonSchema: ListAgentTasksResponseFormatAgentsJsonSchema;
368
+ };
369
+ export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType: {
370
+ readonly JsonObject: "json_object";
371
+ };
372
+ export type ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType = ClosedEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType>;
373
+ export type ListAgentTasksResponseFormatAgents2 = {
374
+ type: ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType;
375
+ };
376
+ export declare const ListAgentTasksResponseFormatAgentsResponse200Type: {
377
+ readonly Text: "text";
378
+ };
379
+ export type ListAgentTasksResponseFormatAgentsResponse200Type = ClosedEnum<typeof ListAgentTasksResponseFormatAgentsResponse200Type>;
380
+ export type ListAgentTasksResponseFormatAgents1 = {
381
+ type: ListAgentTasksResponseFormatAgentsResponse200Type;
382
+ };
383
+ /**
384
+ * An object specifying the format that the model must output
385
+ */
386
+ export type ListAgentTasksFallbackModelsResponseFormat = ListAgentTasksResponseFormatAgents3 | ListAgentTasksResponseFormatAgents1 | ListAgentTasksResponseFormatAgents2;
387
+ /**
388
+ * Up to 4 sequences where the API will stop generating further tokens.
389
+ */
390
+ export type ListAgentTasksFallbackModelsStop = string | Array<string>;
391
+ /**
392
+ * Options for streaming response. Only set this when you set stream: true.
393
+ */
394
+ export type ListAgentTasksFallbackModelsStreamOptions = {
395
+ /**
396
+ * If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
397
+ */
398
+ includeUsage?: boolean | undefined;
399
+ };
400
+ /**
401
+ * Enables or disables the thinking mode capability
402
+ */
403
+ export declare const ListAgentTasksFallbackModelsType: {
404
+ readonly Enabled: "enabled";
405
+ readonly Disabled: "disabled";
406
+ };
407
+ /**
408
+ * Enables or disables the thinking mode capability
409
+ */
410
+ export type ListAgentTasksFallbackModelsType = ClosedEnum<typeof ListAgentTasksFallbackModelsType>;
411
+ export type ListAgentTasksFallbackModelsThinking = {
412
+ /**
413
+ * Enables or disables the thinking mode capability
414
+ */
415
+ type: ListAgentTasksFallbackModelsType;
416
+ /**
417
+ * Determines how many tokens the model can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality. Must be ≥1024 and less than `max_tokens`.
418
+ */
419
+ budgetTokens: number;
420
+ };
421
+ /**
422
+ * The type of the tool. Currently, only function is supported.
423
+ */
424
+ export declare const ListAgentTasksToolChoiceAgentsType: {
425
+ readonly Function: "function";
426
+ };
427
+ /**
428
+ * The type of the tool. Currently, only function is supported.
429
+ */
430
+ export type ListAgentTasksToolChoiceAgentsType = ClosedEnum<typeof ListAgentTasksToolChoiceAgentsType>;
431
+ export type ListAgentTasksToolChoiceAgentsFunction = {
432
+ /**
433
+ * The name of the function to call.
434
+ */
435
+ name?: string | undefined;
436
+ };
437
+ export type ListAgentTasksToolChoiceAgents2 = {
438
+ /**
439
+ * The type of the tool. Currently, only function is supported.
440
+ */
441
+ type?: ListAgentTasksToolChoiceAgentsType | undefined;
442
+ function: ListAgentTasksToolChoiceAgentsFunction;
443
+ };
444
+ export declare const ListAgentTasksToolChoiceAgents1: {
445
+ readonly None: "none";
446
+ readonly Auto: "auto";
447
+ readonly Required: "required";
448
+ };
449
+ export type ListAgentTasksToolChoiceAgents1 = ClosedEnum<typeof ListAgentTasksToolChoiceAgents1>;
450
+ /**
451
+ * Controls which (if any) tool is called by the model.
452
+ */
453
+ export type ListAgentTasksFallbackModelsToolChoice = ListAgentTasksToolChoiceAgents2 | ListAgentTasksToolChoiceAgents1;
454
+ export declare const ListAgentTasksFallbackModelsModalities: {
455
+ readonly Text: "text";
456
+ readonly Audio: "audio";
457
+ };
458
+ export type ListAgentTasksFallbackModelsModalities = ClosedEnum<typeof ListAgentTasksFallbackModelsModalities>;
459
+ /**
460
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
461
+ */
462
+ export type ListAgentTasksFallbackModelsWebSearchOptions = {
463
+ /**
464
+ * Whether to enable web search for this request.
465
+ */
466
+ enabled?: boolean | undefined;
467
+ };
468
+ export type ListAgentTasksFallbackModelsParameters = {
469
+ /**
470
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
471
+ */
472
+ audio?: ListAgentTasksFallbackModelsAudio | null | undefined;
473
+ /**
474
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
475
+ */
476
+ frequencyPenalty?: number | null | undefined;
477
+ /**
478
+ * `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
479
+ *
480
+ * @remarks
481
+ *
482
+ * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
483
+ */
484
+ maxTokens?: number | null | undefined;
485
+ /**
486
+ * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
487
+ */
488
+ maxCompletionTokens?: number | null | undefined;
489
+ /**
490
+ * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
491
+ */
492
+ logprobs?: boolean | null | undefined;
493
+ /**
494
+ * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
495
+ */
496
+ topLogprobs?: number | null | undefined;
497
+ /**
498
+ * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
499
+ */
500
+ n?: number | null | undefined;
501
+ /**
502
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
503
+ */
504
+ presencePenalty?: number | null | undefined;
505
+ /**
506
+ * An object specifying the format that the model must output
507
+ */
508
+ responseFormat?: ListAgentTasksResponseFormatAgents3 | ListAgentTasksResponseFormatAgents1 | ListAgentTasksResponseFormatAgents2 | undefined;
509
+ /**
510
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
511
+ */
512
+ reasoningEffort?: string | undefined;
513
+ /**
514
+ * Adjusts response verbosity. Lower levels yield shorter answers.
515
+ */
516
+ verbosity?: string | undefined;
517
+ /**
518
+ * If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
519
+ */
520
+ seed?: number | null | undefined;
521
+ /**
522
+ * Up to 4 sequences where the API will stop generating further tokens.
523
+ */
524
+ stop?: string | Array<string> | null | undefined;
525
+ /**
526
+ * Options for streaming response. Only set this when you set stream: true.
527
+ */
528
+ streamOptions?: ListAgentTasksFallbackModelsStreamOptions | null | undefined;
529
+ thinking?: ListAgentTasksFallbackModelsThinking | undefined;
530
+ /**
531
+ * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
532
+ */
533
+ temperature?: number | null | undefined;
534
+ /**
535
+ * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
536
+ */
537
+ topP?: number | null | undefined;
538
+ /**
539
+ * Limits the model to consider only the top k most likely tokens at each step.
540
+ */
541
+ topK?: number | null | undefined;
542
+ /**
543
+ * Controls which (if any) tool is called by the model.
544
+ */
545
+ toolChoice?: ListAgentTasksToolChoiceAgents2 | ListAgentTasksToolChoiceAgents1 | undefined;
546
+ /**
547
+ * Whether to enable parallel function calling during tool use.
548
+ */
549
+ parallelToolCalls?: boolean | undefined;
550
+ /**
551
+ * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
552
+ */
553
+ modalities?: Array<ListAgentTasksFallbackModelsModalities> | null | undefined;
554
+ /**
555
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
556
+ */
557
+ webSearchOptions?: ListAgentTasksFallbackModelsWebSearchOptions | undefined;
558
+ };
559
+ export type ListAgentTasksFallbackModels2 = {
560
+ /**
561
+ * Fallback model ID
562
+ */
563
+ id: string;
564
+ integrationId?: string | null | undefined;
565
+ parameters?: ListAgentTasksFallbackModelsParameters | undefined;
566
+ };
567
+ export type ListAgentTasksFallbackModels = ListAgentTasksFallbackModels2 | string;
40
568
  export type ListAgentTasksModel = {
41
569
  /**
42
570
  * The database ID of the primary model
@@ -47,17 +575,13 @@ export type ListAgentTasksModel = {
47
575
  */
48
576
  integrationId?: string | null | undefined;
49
577
  /**
50
- * Optional array of fallback model IDs that will be used automatically in order if the primary model fails
51
- */
52
- fallbackModels?: Array<string> | null | undefined;
53
- /**
54
- * Maximum number of tokens for model responses
578
+ * Model parameters to customize behavior (snake_case). Common: temperature (0-1, controls randomness), max_tokens (response length). Advanced: top_p, frequency_penalty, presence_penalty, response_format (JSON mode), reasoning_effort, seed (determinism). Model-specific support varies.
55
579
  */
56
- maxTokens?: number | undefined;
580
+ parameters?: ListAgentTasksParameters | undefined;
57
581
  /**
58
- * Temperature setting for model responses
582
+ * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
59
583
  */
60
- temperature?: number | undefined;
584
+ fallbackModels?: Array<ListAgentTasksFallbackModels2 | string> | null | undefined;
61
585
  };
62
586
  /**
63
587
  * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
@@ -237,14 +761,1093 @@ export declare namespace ListAgentTasksRequest$ {
237
761
  export declare function listAgentTasksRequestToJSON(listAgentTasksRequest: ListAgentTasksRequest): string;
238
762
  export declare function listAgentTasksRequestFromJSON(jsonString: string): SafeParseResult<ListAgentTasksRequest, SDKValidationError>;
239
763
  /** @internal */
764
+ export declare const ListAgentTasksVoice$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksVoice>;
765
+ /** @internal */
766
+ export declare const ListAgentTasksVoice$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksVoice>;
767
+ /**
768
+ * @internal
769
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
770
+ */
771
+ export declare namespace ListAgentTasksVoice$ {
772
+ /** @deprecated use `ListAgentTasksVoice$inboundSchema` instead. */
773
+ const inboundSchema: z.ZodNativeEnum<{
774
+ readonly Alloy: "alloy";
775
+ readonly Echo: "echo";
776
+ readonly Fable: "fable";
777
+ readonly Onyx: "onyx";
778
+ readonly Nova: "nova";
779
+ readonly Shimmer: "shimmer";
780
+ }>;
781
+ /** @deprecated use `ListAgentTasksVoice$outboundSchema` instead. */
782
+ const outboundSchema: z.ZodNativeEnum<{
783
+ readonly Alloy: "alloy";
784
+ readonly Echo: "echo";
785
+ readonly Fable: "fable";
786
+ readonly Onyx: "onyx";
787
+ readonly Nova: "nova";
788
+ readonly Shimmer: "shimmer";
789
+ }>;
790
+ }
791
+ /** @internal */
792
+ export declare const ListAgentTasksFormat$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFormat>;
793
+ /** @internal */
794
+ export declare const ListAgentTasksFormat$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFormat>;
795
+ /**
796
+ * @internal
797
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
798
+ */
799
+ export declare namespace ListAgentTasksFormat$ {
800
+ /** @deprecated use `ListAgentTasksFormat$inboundSchema` instead. */
801
+ const inboundSchema: z.ZodNativeEnum<{
802
+ readonly Wav: "wav";
803
+ readonly Mp3: "mp3";
804
+ readonly Flac: "flac";
805
+ readonly Opus: "opus";
806
+ readonly Pcm16: "pcm16";
807
+ }>;
808
+ /** @deprecated use `ListAgentTasksFormat$outboundSchema` instead. */
809
+ const outboundSchema: z.ZodNativeEnum<{
810
+ readonly Wav: "wav";
811
+ readonly Mp3: "mp3";
812
+ readonly Flac: "flac";
813
+ readonly Opus: "opus";
814
+ readonly Pcm16: "pcm16";
815
+ }>;
816
+ }
817
+ /** @internal */
818
+ export declare const ListAgentTasksAudio$inboundSchema: z.ZodType<ListAgentTasksAudio, z.ZodTypeDef, unknown>;
819
+ /** @internal */
820
+ export type ListAgentTasksAudio$Outbound = {
821
+ voice: string;
822
+ format: string;
823
+ };
824
+ /** @internal */
825
+ export declare const ListAgentTasksAudio$outboundSchema: z.ZodType<ListAgentTasksAudio$Outbound, z.ZodTypeDef, ListAgentTasksAudio>;
826
+ /**
827
+ * @internal
828
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
829
+ */
830
+ export declare namespace ListAgentTasksAudio$ {
831
+ /** @deprecated use `ListAgentTasksAudio$inboundSchema` instead. */
832
+ const inboundSchema: z.ZodType<ListAgentTasksAudio, z.ZodTypeDef, unknown>;
833
+ /** @deprecated use `ListAgentTasksAudio$outboundSchema` instead. */
834
+ const outboundSchema: z.ZodType<ListAgentTasksAudio$Outbound, z.ZodTypeDef, ListAgentTasksAudio>;
835
+ /** @deprecated use `ListAgentTasksAudio$Outbound` instead. */
836
+ type Outbound = ListAgentTasksAudio$Outbound;
837
+ }
838
+ export declare function listAgentTasksAudioToJSON(listAgentTasksAudio: ListAgentTasksAudio): string;
839
+ export declare function listAgentTasksAudioFromJSON(jsonString: string): SafeParseResult<ListAgentTasksAudio, SDKValidationError>;
840
+ /** @internal */
841
+ export declare const ListAgentTasksResponseFormatAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponseType>;
842
+ /** @internal */
843
+ export declare const ListAgentTasksResponseFormatAgentsResponseType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponseType>;
844
+ /**
845
+ * @internal
846
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
847
+ */
848
+ export declare namespace ListAgentTasksResponseFormatAgentsResponseType$ {
849
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsResponseType$inboundSchema` instead. */
850
+ const inboundSchema: z.ZodNativeEnum<{
851
+ readonly JsonSchema: "json_schema";
852
+ }>;
853
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsResponseType$outboundSchema` instead. */
854
+ const outboundSchema: z.ZodNativeEnum<{
855
+ readonly JsonSchema: "json_schema";
856
+ }>;
857
+ }
858
+ /** @internal */
859
+ export declare const ListAgentTasksResponseFormatJsonSchema$inboundSchema: z.ZodType<ListAgentTasksResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
860
+ /** @internal */
861
+ export type ListAgentTasksResponseFormatJsonSchema$Outbound = {
862
+ description?: string | undefined;
863
+ name: string;
864
+ schema?: any | undefined;
865
+ strict?: boolean | undefined;
866
+ };
867
+ /** @internal */
868
+ export declare const ListAgentTasksResponseFormatJsonSchema$outboundSchema: z.ZodType<ListAgentTasksResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatJsonSchema>;
869
+ /**
870
+ * @internal
871
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
872
+ */
873
+ export declare namespace ListAgentTasksResponseFormatJsonSchema$ {
874
+ /** @deprecated use `ListAgentTasksResponseFormatJsonSchema$inboundSchema` instead. */
875
+ const inboundSchema: z.ZodType<ListAgentTasksResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
876
+ /** @deprecated use `ListAgentTasksResponseFormatJsonSchema$outboundSchema` instead. */
877
+ const outboundSchema: z.ZodType<ListAgentTasksResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatJsonSchema>;
878
+ /** @deprecated use `ListAgentTasksResponseFormatJsonSchema$Outbound` instead. */
879
+ type Outbound = ListAgentTasksResponseFormatJsonSchema$Outbound;
880
+ }
881
+ export declare function listAgentTasksResponseFormatJsonSchemaToJSON(listAgentTasksResponseFormatJsonSchema: ListAgentTasksResponseFormatJsonSchema): string;
882
+ export declare function listAgentTasksResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormatJsonSchema, SDKValidationError>;
883
+ /** @internal */
884
+ export declare const ListAgentTasksResponseFormat3$inboundSchema: z.ZodType<ListAgentTasksResponseFormat3, z.ZodTypeDef, unknown>;
885
+ /** @internal */
886
+ export type ListAgentTasksResponseFormat3$Outbound = {
887
+ type: string;
888
+ json_schema: ListAgentTasksResponseFormatJsonSchema$Outbound;
889
+ };
890
+ /** @internal */
891
+ export declare const ListAgentTasksResponseFormat3$outboundSchema: z.ZodType<ListAgentTasksResponseFormat3$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat3>;
892
+ /**
893
+ * @internal
894
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
895
+ */
896
+ export declare namespace ListAgentTasksResponseFormat3$ {
897
+ /** @deprecated use `ListAgentTasksResponseFormat3$inboundSchema` instead. */
898
+ const inboundSchema: z.ZodType<ListAgentTasksResponseFormat3, z.ZodTypeDef, unknown>;
899
+ /** @deprecated use `ListAgentTasksResponseFormat3$outboundSchema` instead. */
900
+ const outboundSchema: z.ZodType<ListAgentTasksResponseFormat3$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat3>;
901
+ /** @deprecated use `ListAgentTasksResponseFormat3$Outbound` instead. */
902
+ type Outbound = ListAgentTasksResponseFormat3$Outbound;
903
+ }
904
+ export declare function listAgentTasksResponseFormat3ToJSON(listAgentTasksResponseFormat3: ListAgentTasksResponseFormat3): string;
905
+ export declare function listAgentTasksResponseFormat3FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormat3, SDKValidationError>;
906
+ /** @internal */
907
+ export declare const ListAgentTasksResponseFormatAgentsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsType>;
908
+ /** @internal */
909
+ export declare const ListAgentTasksResponseFormatAgentsType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsType>;
910
+ /**
911
+ * @internal
912
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
913
+ */
914
+ export declare namespace ListAgentTasksResponseFormatAgentsType$ {
915
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsType$inboundSchema` instead. */
916
+ const inboundSchema: z.ZodNativeEnum<{
917
+ readonly JsonObject: "json_object";
918
+ }>;
919
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsType$outboundSchema` instead. */
920
+ const outboundSchema: z.ZodNativeEnum<{
921
+ readonly JsonObject: "json_object";
922
+ }>;
923
+ }
924
+ /** @internal */
925
+ export declare const ListAgentTasksResponseFormat2$inboundSchema: z.ZodType<ListAgentTasksResponseFormat2, z.ZodTypeDef, unknown>;
926
+ /** @internal */
927
+ export type ListAgentTasksResponseFormat2$Outbound = {
928
+ type: string;
929
+ };
930
+ /** @internal */
931
+ export declare const ListAgentTasksResponseFormat2$outboundSchema: z.ZodType<ListAgentTasksResponseFormat2$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat2>;
932
+ /**
933
+ * @internal
934
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
935
+ */
936
+ export declare namespace ListAgentTasksResponseFormat2$ {
937
+ /** @deprecated use `ListAgentTasksResponseFormat2$inboundSchema` instead. */
938
+ const inboundSchema: z.ZodType<ListAgentTasksResponseFormat2, z.ZodTypeDef, unknown>;
939
+ /** @deprecated use `ListAgentTasksResponseFormat2$outboundSchema` instead. */
940
+ const outboundSchema: z.ZodType<ListAgentTasksResponseFormat2$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat2>;
941
+ /** @deprecated use `ListAgentTasksResponseFormat2$Outbound` instead. */
942
+ type Outbound = ListAgentTasksResponseFormat2$Outbound;
943
+ }
944
+ export declare function listAgentTasksResponseFormat2ToJSON(listAgentTasksResponseFormat2: ListAgentTasksResponseFormat2): string;
945
+ export declare function listAgentTasksResponseFormat2FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormat2, SDKValidationError>;
946
+ /** @internal */
947
+ export declare const ListAgentTasksResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatType>;
948
+ /** @internal */
949
+ export declare const ListAgentTasksResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatType>;
950
+ /**
951
+ * @internal
952
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
953
+ */
954
+ export declare namespace ListAgentTasksResponseFormatType$ {
955
+ /** @deprecated use `ListAgentTasksResponseFormatType$inboundSchema` instead. */
956
+ const inboundSchema: z.ZodNativeEnum<{
957
+ readonly Text: "text";
958
+ }>;
959
+ /** @deprecated use `ListAgentTasksResponseFormatType$outboundSchema` instead. */
960
+ const outboundSchema: z.ZodNativeEnum<{
961
+ readonly Text: "text";
962
+ }>;
963
+ }
964
+ /** @internal */
965
+ export declare const ListAgentTasksResponseFormat1$inboundSchema: z.ZodType<ListAgentTasksResponseFormat1, z.ZodTypeDef, unknown>;
966
+ /** @internal */
967
+ export type ListAgentTasksResponseFormat1$Outbound = {
968
+ type: string;
969
+ };
970
+ /** @internal */
971
+ export declare const ListAgentTasksResponseFormat1$outboundSchema: z.ZodType<ListAgentTasksResponseFormat1$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat1>;
972
+ /**
973
+ * @internal
974
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
975
+ */
976
+ export declare namespace ListAgentTasksResponseFormat1$ {
977
+ /** @deprecated use `ListAgentTasksResponseFormat1$inboundSchema` instead. */
978
+ const inboundSchema: z.ZodType<ListAgentTasksResponseFormat1, z.ZodTypeDef, unknown>;
979
+ /** @deprecated use `ListAgentTasksResponseFormat1$outboundSchema` instead. */
980
+ const outboundSchema: z.ZodType<ListAgentTasksResponseFormat1$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat1>;
981
+ /** @deprecated use `ListAgentTasksResponseFormat1$Outbound` instead. */
982
+ type Outbound = ListAgentTasksResponseFormat1$Outbound;
983
+ }
984
+ export declare function listAgentTasksResponseFormat1ToJSON(listAgentTasksResponseFormat1: ListAgentTasksResponseFormat1): string;
985
+ export declare function listAgentTasksResponseFormat1FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormat1, SDKValidationError>;
986
+ /** @internal */
987
+ export declare const ListAgentTasksResponseFormat$inboundSchema: z.ZodType<ListAgentTasksResponseFormat, z.ZodTypeDef, unknown>;
988
+ /** @internal */
989
+ export type ListAgentTasksResponseFormat$Outbound = ListAgentTasksResponseFormat3$Outbound | ListAgentTasksResponseFormat1$Outbound | ListAgentTasksResponseFormat2$Outbound;
990
+ /** @internal */
991
+ export declare const ListAgentTasksResponseFormat$outboundSchema: z.ZodType<ListAgentTasksResponseFormat$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat>;
992
+ /**
993
+ * @internal
994
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
995
+ */
996
+ export declare namespace ListAgentTasksResponseFormat$ {
997
+ /** @deprecated use `ListAgentTasksResponseFormat$inboundSchema` instead. */
998
+ const inboundSchema: z.ZodType<ListAgentTasksResponseFormat, z.ZodTypeDef, unknown>;
999
+ /** @deprecated use `ListAgentTasksResponseFormat$outboundSchema` instead. */
1000
+ const outboundSchema: z.ZodType<ListAgentTasksResponseFormat$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormat>;
1001
+ /** @deprecated use `ListAgentTasksResponseFormat$Outbound` instead. */
1002
+ type Outbound = ListAgentTasksResponseFormat$Outbound;
1003
+ }
1004
+ export declare function listAgentTasksResponseFormatToJSON(listAgentTasksResponseFormat: ListAgentTasksResponseFormat): string;
1005
+ export declare function listAgentTasksResponseFormatFromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormat, SDKValidationError>;
1006
+ /** @internal */
1007
+ export declare const ListAgentTasksStop$inboundSchema: z.ZodType<ListAgentTasksStop, z.ZodTypeDef, unknown>;
1008
+ /** @internal */
1009
+ export type ListAgentTasksStop$Outbound = string | Array<string>;
1010
+ /** @internal */
1011
+ export declare const ListAgentTasksStop$outboundSchema: z.ZodType<ListAgentTasksStop$Outbound, z.ZodTypeDef, ListAgentTasksStop>;
1012
+ /**
1013
+ * @internal
1014
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1015
+ */
1016
+ export declare namespace ListAgentTasksStop$ {
1017
+ /** @deprecated use `ListAgentTasksStop$inboundSchema` instead. */
1018
+ const inboundSchema: z.ZodType<ListAgentTasksStop, z.ZodTypeDef, unknown>;
1019
+ /** @deprecated use `ListAgentTasksStop$outboundSchema` instead. */
1020
+ const outboundSchema: z.ZodType<ListAgentTasksStop$Outbound, z.ZodTypeDef, ListAgentTasksStop>;
1021
+ /** @deprecated use `ListAgentTasksStop$Outbound` instead. */
1022
+ type Outbound = ListAgentTasksStop$Outbound;
1023
+ }
1024
+ export declare function listAgentTasksStopToJSON(listAgentTasksStop: ListAgentTasksStop): string;
1025
+ export declare function listAgentTasksStopFromJSON(jsonString: string): SafeParseResult<ListAgentTasksStop, SDKValidationError>;
1026
+ /** @internal */
1027
+ export declare const ListAgentTasksStreamOptions$inboundSchema: z.ZodType<ListAgentTasksStreamOptions, z.ZodTypeDef, unknown>;
1028
+ /** @internal */
1029
+ export type ListAgentTasksStreamOptions$Outbound = {
1030
+ include_usage?: boolean | undefined;
1031
+ };
1032
+ /** @internal */
1033
+ export declare const ListAgentTasksStreamOptions$outboundSchema: z.ZodType<ListAgentTasksStreamOptions$Outbound, z.ZodTypeDef, ListAgentTasksStreamOptions>;
1034
+ /**
1035
+ * @internal
1036
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1037
+ */
1038
+ export declare namespace ListAgentTasksStreamOptions$ {
1039
+ /** @deprecated use `ListAgentTasksStreamOptions$inboundSchema` instead. */
1040
+ const inboundSchema: z.ZodType<ListAgentTasksStreamOptions, z.ZodTypeDef, unknown>;
1041
+ /** @deprecated use `ListAgentTasksStreamOptions$outboundSchema` instead. */
1042
+ const outboundSchema: z.ZodType<ListAgentTasksStreamOptions$Outbound, z.ZodTypeDef, ListAgentTasksStreamOptions>;
1043
+ /** @deprecated use `ListAgentTasksStreamOptions$Outbound` instead. */
1044
+ type Outbound = ListAgentTasksStreamOptions$Outbound;
1045
+ }
1046
+ export declare function listAgentTasksStreamOptionsToJSON(listAgentTasksStreamOptions: ListAgentTasksStreamOptions): string;
1047
+ export declare function listAgentTasksStreamOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksStreamOptions, SDKValidationError>;
1048
+ /** @internal */
1049
+ export declare const ListAgentTasksType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksType>;
1050
+ /** @internal */
1051
+ export declare const ListAgentTasksType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksType>;
1052
+ /**
1053
+ * @internal
1054
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1055
+ */
1056
+ export declare namespace ListAgentTasksType$ {
1057
+ /** @deprecated use `ListAgentTasksType$inboundSchema` instead. */
1058
+ const inboundSchema: z.ZodNativeEnum<{
1059
+ readonly Enabled: "enabled";
1060
+ readonly Disabled: "disabled";
1061
+ }>;
1062
+ /** @deprecated use `ListAgentTasksType$outboundSchema` instead. */
1063
+ const outboundSchema: z.ZodNativeEnum<{
1064
+ readonly Enabled: "enabled";
1065
+ readonly Disabled: "disabled";
1066
+ }>;
1067
+ }
1068
+ /** @internal */
1069
+ export declare const ListAgentTasksThinking$inboundSchema: z.ZodType<ListAgentTasksThinking, z.ZodTypeDef, unknown>;
1070
+ /** @internal */
1071
+ export type ListAgentTasksThinking$Outbound = {
1072
+ type: string;
1073
+ budget_tokens: number;
1074
+ };
1075
+ /** @internal */
1076
+ export declare const ListAgentTasksThinking$outboundSchema: z.ZodType<ListAgentTasksThinking$Outbound, z.ZodTypeDef, ListAgentTasksThinking>;
1077
+ /**
1078
+ * @internal
1079
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1080
+ */
1081
+ export declare namespace ListAgentTasksThinking$ {
1082
+ /** @deprecated use `ListAgentTasksThinking$inboundSchema` instead. */
1083
+ const inboundSchema: z.ZodType<ListAgentTasksThinking, z.ZodTypeDef, unknown>;
1084
+ /** @deprecated use `ListAgentTasksThinking$outboundSchema` instead. */
1085
+ const outboundSchema: z.ZodType<ListAgentTasksThinking$Outbound, z.ZodTypeDef, ListAgentTasksThinking>;
1086
+ /** @deprecated use `ListAgentTasksThinking$Outbound` instead. */
1087
+ type Outbound = ListAgentTasksThinking$Outbound;
1088
+ }
1089
+ export declare function listAgentTasksThinkingToJSON(listAgentTasksThinking: ListAgentTasksThinking): string;
1090
+ export declare function listAgentTasksThinkingFromJSON(jsonString: string): SafeParseResult<ListAgentTasksThinking, SDKValidationError>;
1091
+ /** @internal */
1092
+ export declare const ListAgentTasksToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceType>;
1093
+ /** @internal */
1094
+ export declare const ListAgentTasksToolChoiceType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceType>;
1095
+ /**
1096
+ * @internal
1097
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1098
+ */
1099
+ export declare namespace ListAgentTasksToolChoiceType$ {
1100
+ /** @deprecated use `ListAgentTasksToolChoiceType$inboundSchema` instead. */
1101
+ const inboundSchema: z.ZodNativeEnum<{
1102
+ readonly Function: "function";
1103
+ }>;
1104
+ /** @deprecated use `ListAgentTasksToolChoiceType$outboundSchema` instead. */
1105
+ const outboundSchema: z.ZodNativeEnum<{
1106
+ readonly Function: "function";
1107
+ }>;
1108
+ }
1109
+ /** @internal */
1110
+ export declare const ListAgentTasksToolChoiceFunction$inboundSchema: z.ZodType<ListAgentTasksToolChoiceFunction, z.ZodTypeDef, unknown>;
1111
+ /** @internal */
1112
+ export type ListAgentTasksToolChoiceFunction$Outbound = {
1113
+ name?: string | undefined;
1114
+ };
1115
+ /** @internal */
1116
+ export declare const ListAgentTasksToolChoiceFunction$outboundSchema: z.ZodType<ListAgentTasksToolChoiceFunction$Outbound, z.ZodTypeDef, ListAgentTasksToolChoiceFunction>;
1117
+ /**
1118
+ * @internal
1119
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1120
+ */
1121
+ export declare namespace ListAgentTasksToolChoiceFunction$ {
1122
+ /** @deprecated use `ListAgentTasksToolChoiceFunction$inboundSchema` instead. */
1123
+ const inboundSchema: z.ZodType<ListAgentTasksToolChoiceFunction, z.ZodTypeDef, unknown>;
1124
+ /** @deprecated use `ListAgentTasksToolChoiceFunction$outboundSchema` instead. */
1125
+ const outboundSchema: z.ZodType<ListAgentTasksToolChoiceFunction$Outbound, z.ZodTypeDef, ListAgentTasksToolChoiceFunction>;
1126
+ /** @deprecated use `ListAgentTasksToolChoiceFunction$Outbound` instead. */
1127
+ type Outbound = ListAgentTasksToolChoiceFunction$Outbound;
1128
+ }
1129
+ export declare function listAgentTasksToolChoiceFunctionToJSON(listAgentTasksToolChoiceFunction: ListAgentTasksToolChoiceFunction): string;
1130
+ export declare function listAgentTasksToolChoiceFunctionFromJSON(jsonString: string): SafeParseResult<ListAgentTasksToolChoiceFunction, SDKValidationError>;
1131
+ /** @internal */
1132
+ export declare const ListAgentTasksToolChoice2$inboundSchema: z.ZodType<ListAgentTasksToolChoice2, z.ZodTypeDef, unknown>;
1133
+ /** @internal */
1134
+ export type ListAgentTasksToolChoice2$Outbound = {
1135
+ type?: string | undefined;
1136
+ function: ListAgentTasksToolChoiceFunction$Outbound;
1137
+ };
1138
+ /** @internal */
1139
+ export declare const ListAgentTasksToolChoice2$outboundSchema: z.ZodType<ListAgentTasksToolChoice2$Outbound, z.ZodTypeDef, ListAgentTasksToolChoice2>;
1140
+ /**
1141
+ * @internal
1142
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1143
+ */
1144
+ export declare namespace ListAgentTasksToolChoice2$ {
1145
+ /** @deprecated use `ListAgentTasksToolChoice2$inboundSchema` instead. */
1146
+ const inboundSchema: z.ZodType<ListAgentTasksToolChoice2, z.ZodTypeDef, unknown>;
1147
+ /** @deprecated use `ListAgentTasksToolChoice2$outboundSchema` instead. */
1148
+ const outboundSchema: z.ZodType<ListAgentTasksToolChoice2$Outbound, z.ZodTypeDef, ListAgentTasksToolChoice2>;
1149
+ /** @deprecated use `ListAgentTasksToolChoice2$Outbound` instead. */
1150
+ type Outbound = ListAgentTasksToolChoice2$Outbound;
1151
+ }
1152
+ export declare function listAgentTasksToolChoice2ToJSON(listAgentTasksToolChoice2: ListAgentTasksToolChoice2): string;
1153
+ export declare function listAgentTasksToolChoice2FromJSON(jsonString: string): SafeParseResult<ListAgentTasksToolChoice2, SDKValidationError>;
1154
+ /** @internal */
1155
+ export declare const ListAgentTasksToolChoice1$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoice1>;
1156
+ /** @internal */
1157
+ export declare const ListAgentTasksToolChoice1$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoice1>;
1158
+ /**
1159
+ * @internal
1160
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1161
+ */
1162
+ export declare namespace ListAgentTasksToolChoice1$ {
1163
+ /** @deprecated use `ListAgentTasksToolChoice1$inboundSchema` instead. */
1164
+ const inboundSchema: z.ZodNativeEnum<{
1165
+ readonly None: "none";
1166
+ readonly Auto: "auto";
1167
+ readonly Required: "required";
1168
+ }>;
1169
+ /** @deprecated use `ListAgentTasksToolChoice1$outboundSchema` instead. */
1170
+ const outboundSchema: z.ZodNativeEnum<{
1171
+ readonly None: "none";
1172
+ readonly Auto: "auto";
1173
+ readonly Required: "required";
1174
+ }>;
1175
+ }
1176
+ /** @internal */
1177
+ export declare const ListAgentTasksToolChoice$inboundSchema: z.ZodType<ListAgentTasksToolChoice, z.ZodTypeDef, unknown>;
1178
+ /** @internal */
1179
+ export type ListAgentTasksToolChoice$Outbound = ListAgentTasksToolChoice2$Outbound | string;
1180
+ /** @internal */
1181
+ export declare const ListAgentTasksToolChoice$outboundSchema: z.ZodType<ListAgentTasksToolChoice$Outbound, z.ZodTypeDef, ListAgentTasksToolChoice>;
1182
+ /**
1183
+ * @internal
1184
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1185
+ */
1186
+ export declare namespace ListAgentTasksToolChoice$ {
1187
+ /** @deprecated use `ListAgentTasksToolChoice$inboundSchema` instead. */
1188
+ const inboundSchema: z.ZodType<ListAgentTasksToolChoice, z.ZodTypeDef, unknown>;
1189
+ /** @deprecated use `ListAgentTasksToolChoice$outboundSchema` instead. */
1190
+ const outboundSchema: z.ZodType<ListAgentTasksToolChoice$Outbound, z.ZodTypeDef, ListAgentTasksToolChoice>;
1191
+ /** @deprecated use `ListAgentTasksToolChoice$Outbound` instead. */
1192
+ type Outbound = ListAgentTasksToolChoice$Outbound;
1193
+ }
1194
+ export declare function listAgentTasksToolChoiceToJSON(listAgentTasksToolChoice: ListAgentTasksToolChoice): string;
1195
+ export declare function listAgentTasksToolChoiceFromJSON(jsonString: string): SafeParseResult<ListAgentTasksToolChoice, SDKValidationError>;
1196
+ /** @internal */
1197
+ export declare const ListAgentTasksModalities$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksModalities>;
1198
+ /** @internal */
1199
+ export declare const ListAgentTasksModalities$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksModalities>;
1200
+ /**
1201
+ * @internal
1202
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1203
+ */
1204
+ export declare namespace ListAgentTasksModalities$ {
1205
+ /** @deprecated use `ListAgentTasksModalities$inboundSchema` instead. */
1206
+ const inboundSchema: z.ZodNativeEnum<{
1207
+ readonly Text: "text";
1208
+ readonly Audio: "audio";
1209
+ }>;
1210
+ /** @deprecated use `ListAgentTasksModalities$outboundSchema` instead. */
1211
+ const outboundSchema: z.ZodNativeEnum<{
1212
+ readonly Text: "text";
1213
+ readonly Audio: "audio";
1214
+ }>;
1215
+ }
1216
+ /** @internal */
1217
+ export declare const ListAgentTasksWebSearchOptions$inboundSchema: z.ZodType<ListAgentTasksWebSearchOptions, z.ZodTypeDef, unknown>;
1218
+ /** @internal */
1219
+ export type ListAgentTasksWebSearchOptions$Outbound = {
1220
+ enabled?: boolean | undefined;
1221
+ };
1222
+ /** @internal */
1223
+ export declare const ListAgentTasksWebSearchOptions$outboundSchema: z.ZodType<ListAgentTasksWebSearchOptions$Outbound, z.ZodTypeDef, ListAgentTasksWebSearchOptions>;
1224
+ /**
1225
+ * @internal
1226
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1227
+ */
1228
+ export declare namespace ListAgentTasksWebSearchOptions$ {
1229
+ /** @deprecated use `ListAgentTasksWebSearchOptions$inboundSchema` instead. */
1230
+ const inboundSchema: z.ZodType<ListAgentTasksWebSearchOptions, z.ZodTypeDef, unknown>;
1231
+ /** @deprecated use `ListAgentTasksWebSearchOptions$outboundSchema` instead. */
1232
+ const outboundSchema: z.ZodType<ListAgentTasksWebSearchOptions$Outbound, z.ZodTypeDef, ListAgentTasksWebSearchOptions>;
1233
+ /** @deprecated use `ListAgentTasksWebSearchOptions$Outbound` instead. */
1234
+ type Outbound = ListAgentTasksWebSearchOptions$Outbound;
1235
+ }
1236
+ export declare function listAgentTasksWebSearchOptionsToJSON(listAgentTasksWebSearchOptions: ListAgentTasksWebSearchOptions): string;
1237
+ export declare function listAgentTasksWebSearchOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksWebSearchOptions, SDKValidationError>;
1238
+ /** @internal */
1239
+ export declare const ListAgentTasksParameters$inboundSchema: z.ZodType<ListAgentTasksParameters, z.ZodTypeDef, unknown>;
1240
+ /** @internal */
1241
+ export type ListAgentTasksParameters$Outbound = {
1242
+ audio?: ListAgentTasksAudio$Outbound | null | undefined;
1243
+ frequency_penalty?: number | null | undefined;
1244
+ max_tokens?: number | null | undefined;
1245
+ max_completion_tokens?: number | null | undefined;
1246
+ logprobs?: boolean | null | undefined;
1247
+ top_logprobs?: number | null | undefined;
1248
+ n?: number | null | undefined;
1249
+ presence_penalty?: number | null | undefined;
1250
+ response_format?: ListAgentTasksResponseFormat3$Outbound | ListAgentTasksResponseFormat1$Outbound | ListAgentTasksResponseFormat2$Outbound | undefined;
1251
+ reasoning_effort?: string | undefined;
1252
+ verbosity?: string | undefined;
1253
+ seed?: number | null | undefined;
1254
+ stop?: string | Array<string> | null | undefined;
1255
+ stream_options?: ListAgentTasksStreamOptions$Outbound | null | undefined;
1256
+ thinking?: ListAgentTasksThinking$Outbound | undefined;
1257
+ temperature?: number | null | undefined;
1258
+ top_p?: number | null | undefined;
1259
+ top_k?: number | null | undefined;
1260
+ tool_choice?: ListAgentTasksToolChoice2$Outbound | string | undefined;
1261
+ parallel_tool_calls?: boolean | undefined;
1262
+ modalities?: Array<string> | null | undefined;
1263
+ web_search_options?: ListAgentTasksWebSearchOptions$Outbound | undefined;
1264
+ };
1265
+ /** @internal */
1266
+ export declare const ListAgentTasksParameters$outboundSchema: z.ZodType<ListAgentTasksParameters$Outbound, z.ZodTypeDef, ListAgentTasksParameters>;
1267
+ /**
1268
+ * @internal
1269
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1270
+ */
1271
+ export declare namespace ListAgentTasksParameters$ {
1272
+ /** @deprecated use `ListAgentTasksParameters$inboundSchema` instead. */
1273
+ const inboundSchema: z.ZodType<ListAgentTasksParameters, z.ZodTypeDef, unknown>;
1274
+ /** @deprecated use `ListAgentTasksParameters$outboundSchema` instead. */
1275
+ const outboundSchema: z.ZodType<ListAgentTasksParameters$Outbound, z.ZodTypeDef, ListAgentTasksParameters>;
1276
+ /** @deprecated use `ListAgentTasksParameters$Outbound` instead. */
1277
+ type Outbound = ListAgentTasksParameters$Outbound;
1278
+ }
1279
+ export declare function listAgentTasksParametersToJSON(listAgentTasksParameters: ListAgentTasksParameters): string;
1280
+ export declare function listAgentTasksParametersFromJSON(jsonString: string): SafeParseResult<ListAgentTasksParameters, SDKValidationError>;
1281
+ /** @internal */
1282
+ export declare const ListAgentTasksFallbackModelsVoice$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsVoice>;
1283
+ /** @internal */
1284
+ export declare const ListAgentTasksFallbackModelsVoice$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsVoice>;
1285
+ /**
1286
+ * @internal
1287
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1288
+ */
1289
+ export declare namespace ListAgentTasksFallbackModelsVoice$ {
1290
+ /** @deprecated use `ListAgentTasksFallbackModelsVoice$inboundSchema` instead. */
1291
+ const inboundSchema: z.ZodNativeEnum<{
1292
+ readonly Alloy: "alloy";
1293
+ readonly Echo: "echo";
1294
+ readonly Fable: "fable";
1295
+ readonly Onyx: "onyx";
1296
+ readonly Nova: "nova";
1297
+ readonly Shimmer: "shimmer";
1298
+ }>;
1299
+ /** @deprecated use `ListAgentTasksFallbackModelsVoice$outboundSchema` instead. */
1300
+ const outboundSchema: z.ZodNativeEnum<{
1301
+ readonly Alloy: "alloy";
1302
+ readonly Echo: "echo";
1303
+ readonly Fable: "fable";
1304
+ readonly Onyx: "onyx";
1305
+ readonly Nova: "nova";
1306
+ readonly Shimmer: "shimmer";
1307
+ }>;
1308
+ }
1309
+ /** @internal */
1310
+ export declare const ListAgentTasksFallbackModelsFormat$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsFormat>;
1311
+ /** @internal */
1312
+ export declare const ListAgentTasksFallbackModelsFormat$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsFormat>;
1313
+ /**
1314
+ * @internal
1315
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1316
+ */
1317
+ export declare namespace ListAgentTasksFallbackModelsFormat$ {
1318
+ /** @deprecated use `ListAgentTasksFallbackModelsFormat$inboundSchema` instead. */
1319
+ const inboundSchema: z.ZodNativeEnum<{
1320
+ readonly Wav: "wav";
1321
+ readonly Mp3: "mp3";
1322
+ readonly Flac: "flac";
1323
+ readonly Opus: "opus";
1324
+ readonly Pcm16: "pcm16";
1325
+ }>;
1326
+ /** @deprecated use `ListAgentTasksFallbackModelsFormat$outboundSchema` instead. */
1327
+ const outboundSchema: z.ZodNativeEnum<{
1328
+ readonly Wav: "wav";
1329
+ readonly Mp3: "mp3";
1330
+ readonly Flac: "flac";
1331
+ readonly Opus: "opus";
1332
+ readonly Pcm16: "pcm16";
1333
+ }>;
1334
+ }
1335
+ /** @internal */
1336
+ export declare const ListAgentTasksFallbackModelsAudio$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsAudio, z.ZodTypeDef, unknown>;
1337
+ /** @internal */
1338
+ export type ListAgentTasksFallbackModelsAudio$Outbound = {
1339
+ voice: string;
1340
+ format: string;
1341
+ };
1342
+ /** @internal */
1343
+ export declare const ListAgentTasksFallbackModelsAudio$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsAudio$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsAudio>;
1344
+ /**
1345
+ * @internal
1346
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1347
+ */
1348
+ export declare namespace ListAgentTasksFallbackModelsAudio$ {
1349
+ /** @deprecated use `ListAgentTasksFallbackModelsAudio$inboundSchema` instead. */
1350
+ const inboundSchema: z.ZodType<ListAgentTasksFallbackModelsAudio, z.ZodTypeDef, unknown>;
1351
+ /** @deprecated use `ListAgentTasksFallbackModelsAudio$outboundSchema` instead. */
1352
+ const outboundSchema: z.ZodType<ListAgentTasksFallbackModelsAudio$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsAudio>;
1353
+ /** @deprecated use `ListAgentTasksFallbackModelsAudio$Outbound` instead. */
1354
+ type Outbound = ListAgentTasksFallbackModelsAudio$Outbound;
1355
+ }
1356
+ export declare function listAgentTasksFallbackModelsAudioToJSON(listAgentTasksFallbackModelsAudio: ListAgentTasksFallbackModelsAudio): string;
1357
+ export declare function listAgentTasksFallbackModelsAudioFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsAudio, SDKValidationError>;
1358
+ /** @internal */
1359
+ export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
1360
+ /** @internal */
1361
+ export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
1362
+ /**
1363
+ * @internal
1364
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1365
+ */
1366
+ export declare namespace ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$ {
1367
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
1368
+ const inboundSchema: z.ZodNativeEnum<{
1369
+ readonly JsonSchema: "json_schema";
1370
+ }>;
1371
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
1372
+ const outboundSchema: z.ZodNativeEnum<{
1373
+ readonly JsonSchema: "json_schema";
1374
+ }>;
1375
+ }
1376
+ /** @internal */
1377
+ export declare const ListAgentTasksResponseFormatAgentsJsonSchema$inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgentsJsonSchema, z.ZodTypeDef, unknown>;
1378
+ /** @internal */
1379
+ export type ListAgentTasksResponseFormatAgentsJsonSchema$Outbound = {
1380
+ description?: string | undefined;
1381
+ name: string;
1382
+ schema?: any | undefined;
1383
+ strict?: boolean | undefined;
1384
+ };
1385
+ /** @internal */
1386
+ export declare const ListAgentTasksResponseFormatAgentsJsonSchema$outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgentsJsonSchema$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgentsJsonSchema>;
1387
+ /**
1388
+ * @internal
1389
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1390
+ */
1391
+ export declare namespace ListAgentTasksResponseFormatAgentsJsonSchema$ {
1392
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsJsonSchema$inboundSchema` instead. */
1393
+ const inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgentsJsonSchema, z.ZodTypeDef, unknown>;
1394
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsJsonSchema$outboundSchema` instead. */
1395
+ const outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgentsJsonSchema$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgentsJsonSchema>;
1396
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsJsonSchema$Outbound` instead. */
1397
+ type Outbound = ListAgentTasksResponseFormatAgentsJsonSchema$Outbound;
1398
+ }
1399
+ export declare function listAgentTasksResponseFormatAgentsJsonSchemaToJSON(listAgentTasksResponseFormatAgentsJsonSchema: ListAgentTasksResponseFormatAgentsJsonSchema): string;
1400
+ export declare function listAgentTasksResponseFormatAgentsJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormatAgentsJsonSchema, SDKValidationError>;
1401
+ /** @internal */
1402
+ export declare const ListAgentTasksResponseFormatAgents3$inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents3, z.ZodTypeDef, unknown>;
1403
+ /** @internal */
1404
+ export type ListAgentTasksResponseFormatAgents3$Outbound = {
1405
+ type: string;
1406
+ json_schema: ListAgentTasksResponseFormatAgentsJsonSchema$Outbound;
1407
+ };
1408
+ /** @internal */
1409
+ export declare const ListAgentTasksResponseFormatAgents3$outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents3$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgents3>;
1410
+ /**
1411
+ * @internal
1412
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1413
+ */
1414
+ export declare namespace ListAgentTasksResponseFormatAgents3$ {
1415
+ /** @deprecated use `ListAgentTasksResponseFormatAgents3$inboundSchema` instead. */
1416
+ const inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents3, z.ZodTypeDef, unknown>;
1417
+ /** @deprecated use `ListAgentTasksResponseFormatAgents3$outboundSchema` instead. */
1418
+ const outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents3$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgents3>;
1419
+ /** @deprecated use `ListAgentTasksResponseFormatAgents3$Outbound` instead. */
1420
+ type Outbound = ListAgentTasksResponseFormatAgents3$Outbound;
1421
+ }
1422
+ export declare function listAgentTasksResponseFormatAgents3ToJSON(listAgentTasksResponseFormatAgents3: ListAgentTasksResponseFormatAgents3): string;
1423
+ export declare function listAgentTasksResponseFormatAgents3FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormatAgents3, SDKValidationError>;
1424
+ /** @internal */
1425
+ export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType>;
1426
+ /** @internal */
1427
+ export declare const ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType>;
1428
+ /**
1429
+ * @internal
1430
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1431
+ */
1432
+ export declare namespace ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType$ {
1433
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema` instead. */
1434
+ const inboundSchema: z.ZodNativeEnum<{
1435
+ readonly JsonObject: "json_object";
1436
+ }>;
1437
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema` instead. */
1438
+ const outboundSchema: z.ZodNativeEnum<{
1439
+ readonly JsonObject: "json_object";
1440
+ }>;
1441
+ }
1442
+ /** @internal */
1443
+ export declare const ListAgentTasksResponseFormatAgents2$inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents2, z.ZodTypeDef, unknown>;
1444
+ /** @internal */
1445
+ export type ListAgentTasksResponseFormatAgents2$Outbound = {
1446
+ type: string;
1447
+ };
1448
+ /** @internal */
1449
+ export declare const ListAgentTasksResponseFormatAgents2$outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents2$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgents2>;
1450
+ /**
1451
+ * @internal
1452
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1453
+ */
1454
+ export declare namespace ListAgentTasksResponseFormatAgents2$ {
1455
+ /** @deprecated use `ListAgentTasksResponseFormatAgents2$inboundSchema` instead. */
1456
+ const inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents2, z.ZodTypeDef, unknown>;
1457
+ /** @deprecated use `ListAgentTasksResponseFormatAgents2$outboundSchema` instead. */
1458
+ const outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents2$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgents2>;
1459
+ /** @deprecated use `ListAgentTasksResponseFormatAgents2$Outbound` instead. */
1460
+ type Outbound = ListAgentTasksResponseFormatAgents2$Outbound;
1461
+ }
1462
+ export declare function listAgentTasksResponseFormatAgents2ToJSON(listAgentTasksResponseFormatAgents2: ListAgentTasksResponseFormatAgents2): string;
1463
+ export declare function listAgentTasksResponseFormatAgents2FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormatAgents2, SDKValidationError>;
1464
+ /** @internal */
1465
+ export declare const ListAgentTasksResponseFormatAgentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200Type>;
1466
+ /** @internal */
1467
+ export declare const ListAgentTasksResponseFormatAgentsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksResponseFormatAgentsResponse200Type>;
1468
+ /**
1469
+ * @internal
1470
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1471
+ */
1472
+ export declare namespace ListAgentTasksResponseFormatAgentsResponse200Type$ {
1473
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsResponse200Type$inboundSchema` instead. */
1474
+ const inboundSchema: z.ZodNativeEnum<{
1475
+ readonly Text: "text";
1476
+ }>;
1477
+ /** @deprecated use `ListAgentTasksResponseFormatAgentsResponse200Type$outboundSchema` instead. */
1478
+ const outboundSchema: z.ZodNativeEnum<{
1479
+ readonly Text: "text";
1480
+ }>;
1481
+ }
1482
+ /** @internal */
1483
+ export declare const ListAgentTasksResponseFormatAgents1$inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents1, z.ZodTypeDef, unknown>;
1484
+ /** @internal */
1485
+ export type ListAgentTasksResponseFormatAgents1$Outbound = {
1486
+ type: string;
1487
+ };
1488
+ /** @internal */
1489
+ export declare const ListAgentTasksResponseFormatAgents1$outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents1$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgents1>;
1490
+ /**
1491
+ * @internal
1492
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1493
+ */
1494
+ export declare namespace ListAgentTasksResponseFormatAgents1$ {
1495
+ /** @deprecated use `ListAgentTasksResponseFormatAgents1$inboundSchema` instead. */
1496
+ const inboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents1, z.ZodTypeDef, unknown>;
1497
+ /** @deprecated use `ListAgentTasksResponseFormatAgents1$outboundSchema` instead. */
1498
+ const outboundSchema: z.ZodType<ListAgentTasksResponseFormatAgents1$Outbound, z.ZodTypeDef, ListAgentTasksResponseFormatAgents1>;
1499
+ /** @deprecated use `ListAgentTasksResponseFormatAgents1$Outbound` instead. */
1500
+ type Outbound = ListAgentTasksResponseFormatAgents1$Outbound;
1501
+ }
1502
+ export declare function listAgentTasksResponseFormatAgents1ToJSON(listAgentTasksResponseFormatAgents1: ListAgentTasksResponseFormatAgents1): string;
1503
+ export declare function listAgentTasksResponseFormatAgents1FromJSON(jsonString: string): SafeParseResult<ListAgentTasksResponseFormatAgents1, SDKValidationError>;
1504
+ /** @internal */
1505
+ export declare const ListAgentTasksFallbackModelsResponseFormat$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsResponseFormat, z.ZodTypeDef, unknown>;
1506
+ /** @internal */
1507
+ export type ListAgentTasksFallbackModelsResponseFormat$Outbound = ListAgentTasksResponseFormatAgents3$Outbound | ListAgentTasksResponseFormatAgents1$Outbound | ListAgentTasksResponseFormatAgents2$Outbound;
1508
+ /** @internal */
1509
+ export declare const ListAgentTasksFallbackModelsResponseFormat$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsResponseFormat$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsResponseFormat>;
1510
+ /**
1511
+ * @internal
1512
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1513
+ */
1514
+ export declare namespace ListAgentTasksFallbackModelsResponseFormat$ {
1515
+ /** @deprecated use `ListAgentTasksFallbackModelsResponseFormat$inboundSchema` instead. */
1516
+ const inboundSchema: z.ZodType<ListAgentTasksFallbackModelsResponseFormat, z.ZodTypeDef, unknown>;
1517
+ /** @deprecated use `ListAgentTasksFallbackModelsResponseFormat$outboundSchema` instead. */
1518
+ const outboundSchema: z.ZodType<ListAgentTasksFallbackModelsResponseFormat$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsResponseFormat>;
1519
+ /** @deprecated use `ListAgentTasksFallbackModelsResponseFormat$Outbound` instead. */
1520
+ type Outbound = ListAgentTasksFallbackModelsResponseFormat$Outbound;
1521
+ }
1522
+ export declare function listAgentTasksFallbackModelsResponseFormatToJSON(listAgentTasksFallbackModelsResponseFormat: ListAgentTasksFallbackModelsResponseFormat): string;
1523
+ export declare function listAgentTasksFallbackModelsResponseFormatFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsResponseFormat, SDKValidationError>;
1524
+ /** @internal */
1525
+ export declare const ListAgentTasksFallbackModelsStop$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsStop, z.ZodTypeDef, unknown>;
1526
+ /** @internal */
1527
+ export type ListAgentTasksFallbackModelsStop$Outbound = string | Array<string>;
1528
+ /** @internal */
1529
+ export declare const ListAgentTasksFallbackModelsStop$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsStop$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsStop>;
1530
+ /**
1531
+ * @internal
1532
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1533
+ */
1534
+ export declare namespace ListAgentTasksFallbackModelsStop$ {
1535
+ /** @deprecated use `ListAgentTasksFallbackModelsStop$inboundSchema` instead. */
1536
+ const inboundSchema: z.ZodType<ListAgentTasksFallbackModelsStop, z.ZodTypeDef, unknown>;
1537
+ /** @deprecated use `ListAgentTasksFallbackModelsStop$outboundSchema` instead. */
1538
+ const outboundSchema: z.ZodType<ListAgentTasksFallbackModelsStop$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsStop>;
1539
+ /** @deprecated use `ListAgentTasksFallbackModelsStop$Outbound` instead. */
1540
+ type Outbound = ListAgentTasksFallbackModelsStop$Outbound;
1541
+ }
1542
+ export declare function listAgentTasksFallbackModelsStopToJSON(listAgentTasksFallbackModelsStop: ListAgentTasksFallbackModelsStop): string;
1543
+ export declare function listAgentTasksFallbackModelsStopFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsStop, SDKValidationError>;
1544
+ /** @internal */
1545
+ export declare const ListAgentTasksFallbackModelsStreamOptions$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsStreamOptions, z.ZodTypeDef, unknown>;
1546
+ /** @internal */
1547
+ export type ListAgentTasksFallbackModelsStreamOptions$Outbound = {
1548
+ include_usage?: boolean | undefined;
1549
+ };
1550
+ /** @internal */
1551
+ export declare const ListAgentTasksFallbackModelsStreamOptions$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsStreamOptions$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsStreamOptions>;
1552
+ /**
1553
+ * @internal
1554
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1555
+ */
1556
+ export declare namespace ListAgentTasksFallbackModelsStreamOptions$ {
1557
+ /** @deprecated use `ListAgentTasksFallbackModelsStreamOptions$inboundSchema` instead. */
1558
+ const inboundSchema: z.ZodType<ListAgentTasksFallbackModelsStreamOptions, z.ZodTypeDef, unknown>;
1559
+ /** @deprecated use `ListAgentTasksFallbackModelsStreamOptions$outboundSchema` instead. */
1560
+ const outboundSchema: z.ZodType<ListAgentTasksFallbackModelsStreamOptions$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsStreamOptions>;
1561
+ /** @deprecated use `ListAgentTasksFallbackModelsStreamOptions$Outbound` instead. */
1562
+ type Outbound = ListAgentTasksFallbackModelsStreamOptions$Outbound;
1563
+ }
1564
+ export declare function listAgentTasksFallbackModelsStreamOptionsToJSON(listAgentTasksFallbackModelsStreamOptions: ListAgentTasksFallbackModelsStreamOptions): string;
1565
+ export declare function listAgentTasksFallbackModelsStreamOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsStreamOptions, SDKValidationError>;
1566
+ /** @internal */
1567
+ export declare const ListAgentTasksFallbackModelsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsType>;
1568
+ /** @internal */
1569
+ export declare const ListAgentTasksFallbackModelsType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsType>;
1570
+ /**
1571
+ * @internal
1572
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1573
+ */
1574
+ export declare namespace ListAgentTasksFallbackModelsType$ {
1575
+ /** @deprecated use `ListAgentTasksFallbackModelsType$inboundSchema` instead. */
1576
+ const inboundSchema: z.ZodNativeEnum<{
1577
+ readonly Enabled: "enabled";
1578
+ readonly Disabled: "disabled";
1579
+ }>;
1580
+ /** @deprecated use `ListAgentTasksFallbackModelsType$outboundSchema` instead. */
1581
+ const outboundSchema: z.ZodNativeEnum<{
1582
+ readonly Enabled: "enabled";
1583
+ readonly Disabled: "disabled";
1584
+ }>;
1585
+ }
1586
+ /** @internal */
1587
+ export declare const ListAgentTasksFallbackModelsThinking$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsThinking, z.ZodTypeDef, unknown>;
1588
+ /** @internal */
1589
+ export type ListAgentTasksFallbackModelsThinking$Outbound = {
1590
+ type: string;
1591
+ budget_tokens: number;
1592
+ };
1593
+ /** @internal */
1594
+ export declare const ListAgentTasksFallbackModelsThinking$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsThinking$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsThinking>;
1595
+ /**
1596
+ * @internal
1597
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1598
+ */
1599
+ export declare namespace ListAgentTasksFallbackModelsThinking$ {
1600
+ /** @deprecated use `ListAgentTasksFallbackModelsThinking$inboundSchema` instead. */
1601
+ const inboundSchema: z.ZodType<ListAgentTasksFallbackModelsThinking, z.ZodTypeDef, unknown>;
1602
+ /** @deprecated use `ListAgentTasksFallbackModelsThinking$outboundSchema` instead. */
1603
+ const outboundSchema: z.ZodType<ListAgentTasksFallbackModelsThinking$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsThinking>;
1604
+ /** @deprecated use `ListAgentTasksFallbackModelsThinking$Outbound` instead. */
1605
+ type Outbound = ListAgentTasksFallbackModelsThinking$Outbound;
1606
+ }
1607
+ export declare function listAgentTasksFallbackModelsThinkingToJSON(listAgentTasksFallbackModelsThinking: ListAgentTasksFallbackModelsThinking): string;
1608
+ export declare function listAgentTasksFallbackModelsThinkingFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsThinking, SDKValidationError>;
1609
+ /** @internal */
1610
+ export declare const ListAgentTasksToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceAgentsType>;
1611
+ /** @internal */
1612
+ export declare const ListAgentTasksToolChoiceAgentsType$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceAgentsType>;
1613
+ /**
1614
+ * @internal
1615
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1616
+ */
1617
+ export declare namespace ListAgentTasksToolChoiceAgentsType$ {
1618
+ /** @deprecated use `ListAgentTasksToolChoiceAgentsType$inboundSchema` instead. */
1619
+ const inboundSchema: z.ZodNativeEnum<{
1620
+ readonly Function: "function";
1621
+ }>;
1622
+ /** @deprecated use `ListAgentTasksToolChoiceAgentsType$outboundSchema` instead. */
1623
+ const outboundSchema: z.ZodNativeEnum<{
1624
+ readonly Function: "function";
1625
+ }>;
1626
+ }
1627
+ /** @internal */
1628
+ export declare const ListAgentTasksToolChoiceAgentsFunction$inboundSchema: z.ZodType<ListAgentTasksToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
1629
+ /** @internal */
1630
+ export type ListAgentTasksToolChoiceAgentsFunction$Outbound = {
1631
+ name?: string | undefined;
1632
+ };
1633
+ /** @internal */
1634
+ export declare const ListAgentTasksToolChoiceAgentsFunction$outboundSchema: z.ZodType<ListAgentTasksToolChoiceAgentsFunction$Outbound, z.ZodTypeDef, ListAgentTasksToolChoiceAgentsFunction>;
1635
+ /**
1636
+ * @internal
1637
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1638
+ */
1639
+ export declare namespace ListAgentTasksToolChoiceAgentsFunction$ {
1640
+ /** @deprecated use `ListAgentTasksToolChoiceAgentsFunction$inboundSchema` instead. */
1641
+ const inboundSchema: z.ZodType<ListAgentTasksToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
1642
+ /** @deprecated use `ListAgentTasksToolChoiceAgentsFunction$outboundSchema` instead. */
1643
+ const outboundSchema: z.ZodType<ListAgentTasksToolChoiceAgentsFunction$Outbound, z.ZodTypeDef, ListAgentTasksToolChoiceAgentsFunction>;
1644
+ /** @deprecated use `ListAgentTasksToolChoiceAgentsFunction$Outbound` instead. */
1645
+ type Outbound = ListAgentTasksToolChoiceAgentsFunction$Outbound;
1646
+ }
1647
+ export declare function listAgentTasksToolChoiceAgentsFunctionToJSON(listAgentTasksToolChoiceAgentsFunction: ListAgentTasksToolChoiceAgentsFunction): string;
1648
+ export declare function listAgentTasksToolChoiceAgentsFunctionFromJSON(jsonString: string): SafeParseResult<ListAgentTasksToolChoiceAgentsFunction, SDKValidationError>;
1649
+ /** @internal */
1650
+ export declare const ListAgentTasksToolChoiceAgents2$inboundSchema: z.ZodType<ListAgentTasksToolChoiceAgents2, z.ZodTypeDef, unknown>;
1651
+ /** @internal */
1652
+ export type ListAgentTasksToolChoiceAgents2$Outbound = {
1653
+ type?: string | undefined;
1654
+ function: ListAgentTasksToolChoiceAgentsFunction$Outbound;
1655
+ };
1656
+ /** @internal */
1657
+ export declare const ListAgentTasksToolChoiceAgents2$outboundSchema: z.ZodType<ListAgentTasksToolChoiceAgents2$Outbound, z.ZodTypeDef, ListAgentTasksToolChoiceAgents2>;
1658
+ /**
1659
+ * @internal
1660
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1661
+ */
1662
+ export declare namespace ListAgentTasksToolChoiceAgents2$ {
1663
+ /** @deprecated use `ListAgentTasksToolChoiceAgents2$inboundSchema` instead. */
1664
+ const inboundSchema: z.ZodType<ListAgentTasksToolChoiceAgents2, z.ZodTypeDef, unknown>;
1665
+ /** @deprecated use `ListAgentTasksToolChoiceAgents2$outboundSchema` instead. */
1666
+ const outboundSchema: z.ZodType<ListAgentTasksToolChoiceAgents2$Outbound, z.ZodTypeDef, ListAgentTasksToolChoiceAgents2>;
1667
+ /** @deprecated use `ListAgentTasksToolChoiceAgents2$Outbound` instead. */
1668
+ type Outbound = ListAgentTasksToolChoiceAgents2$Outbound;
1669
+ }
1670
+ export declare function listAgentTasksToolChoiceAgents2ToJSON(listAgentTasksToolChoiceAgents2: ListAgentTasksToolChoiceAgents2): string;
1671
+ export declare function listAgentTasksToolChoiceAgents2FromJSON(jsonString: string): SafeParseResult<ListAgentTasksToolChoiceAgents2, SDKValidationError>;
1672
+ /** @internal */
1673
+ export declare const ListAgentTasksToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceAgents1>;
1674
+ /** @internal */
1675
+ export declare const ListAgentTasksToolChoiceAgents1$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksToolChoiceAgents1>;
1676
+ /**
1677
+ * @internal
1678
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1679
+ */
1680
+ export declare namespace ListAgentTasksToolChoiceAgents1$ {
1681
+ /** @deprecated use `ListAgentTasksToolChoiceAgents1$inboundSchema` instead. */
1682
+ const inboundSchema: z.ZodNativeEnum<{
1683
+ readonly None: "none";
1684
+ readonly Auto: "auto";
1685
+ readonly Required: "required";
1686
+ }>;
1687
+ /** @deprecated use `ListAgentTasksToolChoiceAgents1$outboundSchema` instead. */
1688
+ const outboundSchema: z.ZodNativeEnum<{
1689
+ readonly None: "none";
1690
+ readonly Auto: "auto";
1691
+ readonly Required: "required";
1692
+ }>;
1693
+ }
1694
+ /** @internal */
1695
+ export declare const ListAgentTasksFallbackModelsToolChoice$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsToolChoice, z.ZodTypeDef, unknown>;
1696
+ /** @internal */
1697
+ export type ListAgentTasksFallbackModelsToolChoice$Outbound = ListAgentTasksToolChoiceAgents2$Outbound | string;
1698
+ /** @internal */
1699
+ export declare const ListAgentTasksFallbackModelsToolChoice$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsToolChoice$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsToolChoice>;
1700
+ /**
1701
+ * @internal
1702
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1703
+ */
1704
+ export declare namespace ListAgentTasksFallbackModelsToolChoice$ {
1705
+ /** @deprecated use `ListAgentTasksFallbackModelsToolChoice$inboundSchema` instead. */
1706
+ const inboundSchema: z.ZodType<ListAgentTasksFallbackModelsToolChoice, z.ZodTypeDef, unknown>;
1707
+ /** @deprecated use `ListAgentTasksFallbackModelsToolChoice$outboundSchema` instead. */
1708
+ const outboundSchema: z.ZodType<ListAgentTasksFallbackModelsToolChoice$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsToolChoice>;
1709
+ /** @deprecated use `ListAgentTasksFallbackModelsToolChoice$Outbound` instead. */
1710
+ type Outbound = ListAgentTasksFallbackModelsToolChoice$Outbound;
1711
+ }
1712
+ export declare function listAgentTasksFallbackModelsToolChoiceToJSON(listAgentTasksFallbackModelsToolChoice: ListAgentTasksFallbackModelsToolChoice): string;
1713
+ export declare function listAgentTasksFallbackModelsToolChoiceFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsToolChoice, SDKValidationError>;
1714
+ /** @internal */
1715
+ export declare const ListAgentTasksFallbackModelsModalities$inboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsModalities>;
1716
+ /** @internal */
1717
+ export declare const ListAgentTasksFallbackModelsModalities$outboundSchema: z.ZodNativeEnum<typeof ListAgentTasksFallbackModelsModalities>;
1718
+ /**
1719
+ * @internal
1720
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1721
+ */
1722
+ export declare namespace ListAgentTasksFallbackModelsModalities$ {
1723
+ /** @deprecated use `ListAgentTasksFallbackModelsModalities$inboundSchema` instead. */
1724
+ const inboundSchema: z.ZodNativeEnum<{
1725
+ readonly Text: "text";
1726
+ readonly Audio: "audio";
1727
+ }>;
1728
+ /** @deprecated use `ListAgentTasksFallbackModelsModalities$outboundSchema` instead. */
1729
+ const outboundSchema: z.ZodNativeEnum<{
1730
+ readonly Text: "text";
1731
+ readonly Audio: "audio";
1732
+ }>;
1733
+ }
1734
+ /** @internal */
1735
+ export declare const ListAgentTasksFallbackModelsWebSearchOptions$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsWebSearchOptions, z.ZodTypeDef, unknown>;
1736
+ /** @internal */
1737
+ export type ListAgentTasksFallbackModelsWebSearchOptions$Outbound = {
1738
+ enabled?: boolean | undefined;
1739
+ };
1740
+ /** @internal */
1741
+ export declare const ListAgentTasksFallbackModelsWebSearchOptions$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsWebSearchOptions$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsWebSearchOptions>;
1742
+ /**
1743
+ * @internal
1744
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1745
+ */
1746
+ export declare namespace ListAgentTasksFallbackModelsWebSearchOptions$ {
1747
+ /** @deprecated use `ListAgentTasksFallbackModelsWebSearchOptions$inboundSchema` instead. */
1748
+ const inboundSchema: z.ZodType<ListAgentTasksFallbackModelsWebSearchOptions, z.ZodTypeDef, unknown>;
1749
+ /** @deprecated use `ListAgentTasksFallbackModelsWebSearchOptions$outboundSchema` instead. */
1750
+ const outboundSchema: z.ZodType<ListAgentTasksFallbackModelsWebSearchOptions$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsWebSearchOptions>;
1751
+ /** @deprecated use `ListAgentTasksFallbackModelsWebSearchOptions$Outbound` instead. */
1752
+ type Outbound = ListAgentTasksFallbackModelsWebSearchOptions$Outbound;
1753
+ }
1754
+ export declare function listAgentTasksFallbackModelsWebSearchOptionsToJSON(listAgentTasksFallbackModelsWebSearchOptions: ListAgentTasksFallbackModelsWebSearchOptions): string;
1755
+ export declare function listAgentTasksFallbackModelsWebSearchOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsWebSearchOptions, SDKValidationError>;
1756
+ /** @internal */
1757
+ export declare const ListAgentTasksFallbackModelsParameters$inboundSchema: z.ZodType<ListAgentTasksFallbackModelsParameters, z.ZodTypeDef, unknown>;
1758
+ /** @internal */
1759
+ export type ListAgentTasksFallbackModelsParameters$Outbound = {
1760
+ audio?: ListAgentTasksFallbackModelsAudio$Outbound | null | undefined;
1761
+ frequency_penalty?: number | null | undefined;
1762
+ max_tokens?: number | null | undefined;
1763
+ max_completion_tokens?: number | null | undefined;
1764
+ logprobs?: boolean | null | undefined;
1765
+ top_logprobs?: number | null | undefined;
1766
+ n?: number | null | undefined;
1767
+ presence_penalty?: number | null | undefined;
1768
+ response_format?: ListAgentTasksResponseFormatAgents3$Outbound | ListAgentTasksResponseFormatAgents1$Outbound | ListAgentTasksResponseFormatAgents2$Outbound | undefined;
1769
+ reasoning_effort?: string | undefined;
1770
+ verbosity?: string | undefined;
1771
+ seed?: number | null | undefined;
1772
+ stop?: string | Array<string> | null | undefined;
1773
+ stream_options?: ListAgentTasksFallbackModelsStreamOptions$Outbound | null | undefined;
1774
+ thinking?: ListAgentTasksFallbackModelsThinking$Outbound | undefined;
1775
+ temperature?: number | null | undefined;
1776
+ top_p?: number | null | undefined;
1777
+ top_k?: number | null | undefined;
1778
+ tool_choice?: ListAgentTasksToolChoiceAgents2$Outbound | string | undefined;
1779
+ parallel_tool_calls?: boolean | undefined;
1780
+ modalities?: Array<string> | null | undefined;
1781
+ web_search_options?: ListAgentTasksFallbackModelsWebSearchOptions$Outbound | undefined;
1782
+ };
1783
+ /** @internal */
1784
+ export declare const ListAgentTasksFallbackModelsParameters$outboundSchema: z.ZodType<ListAgentTasksFallbackModelsParameters$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsParameters>;
1785
+ /**
1786
+ * @internal
1787
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1788
+ */
1789
+ export declare namespace ListAgentTasksFallbackModelsParameters$ {
1790
+ /** @deprecated use `ListAgentTasksFallbackModelsParameters$inboundSchema` instead. */
1791
+ const inboundSchema: z.ZodType<ListAgentTasksFallbackModelsParameters, z.ZodTypeDef, unknown>;
1792
+ /** @deprecated use `ListAgentTasksFallbackModelsParameters$outboundSchema` instead. */
1793
+ const outboundSchema: z.ZodType<ListAgentTasksFallbackModelsParameters$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModelsParameters>;
1794
+ /** @deprecated use `ListAgentTasksFallbackModelsParameters$Outbound` instead. */
1795
+ type Outbound = ListAgentTasksFallbackModelsParameters$Outbound;
1796
+ }
1797
+ export declare function listAgentTasksFallbackModelsParametersToJSON(listAgentTasksFallbackModelsParameters: ListAgentTasksFallbackModelsParameters): string;
1798
+ export declare function listAgentTasksFallbackModelsParametersFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModelsParameters, SDKValidationError>;
1799
+ /** @internal */
1800
+ export declare const ListAgentTasksFallbackModels2$inboundSchema: z.ZodType<ListAgentTasksFallbackModels2, z.ZodTypeDef, unknown>;
1801
+ /** @internal */
1802
+ export type ListAgentTasksFallbackModels2$Outbound = {
1803
+ id: string;
1804
+ integration_id?: string | null | undefined;
1805
+ parameters?: ListAgentTasksFallbackModelsParameters$Outbound | undefined;
1806
+ };
1807
+ /** @internal */
1808
+ export declare const ListAgentTasksFallbackModels2$outboundSchema: z.ZodType<ListAgentTasksFallbackModels2$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModels2>;
1809
+ /**
1810
+ * @internal
1811
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1812
+ */
1813
+ export declare namespace ListAgentTasksFallbackModels2$ {
1814
+ /** @deprecated use `ListAgentTasksFallbackModels2$inboundSchema` instead. */
1815
+ const inboundSchema: z.ZodType<ListAgentTasksFallbackModels2, z.ZodTypeDef, unknown>;
1816
+ /** @deprecated use `ListAgentTasksFallbackModels2$outboundSchema` instead. */
1817
+ const outboundSchema: z.ZodType<ListAgentTasksFallbackModels2$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModels2>;
1818
+ /** @deprecated use `ListAgentTasksFallbackModels2$Outbound` instead. */
1819
+ type Outbound = ListAgentTasksFallbackModels2$Outbound;
1820
+ }
1821
+ export declare function listAgentTasksFallbackModels2ToJSON(listAgentTasksFallbackModels2: ListAgentTasksFallbackModels2): string;
1822
+ export declare function listAgentTasksFallbackModels2FromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModels2, SDKValidationError>;
1823
+ /** @internal */
1824
+ export declare const ListAgentTasksFallbackModels$inboundSchema: z.ZodType<ListAgentTasksFallbackModels, z.ZodTypeDef, unknown>;
1825
+ /** @internal */
1826
+ export type ListAgentTasksFallbackModels$Outbound = ListAgentTasksFallbackModels2$Outbound | string;
1827
+ /** @internal */
1828
+ export declare const ListAgentTasksFallbackModels$outboundSchema: z.ZodType<ListAgentTasksFallbackModels$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModels>;
1829
+ /**
1830
+ * @internal
1831
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1832
+ */
1833
+ export declare namespace ListAgentTasksFallbackModels$ {
1834
+ /** @deprecated use `ListAgentTasksFallbackModels$inboundSchema` instead. */
1835
+ const inboundSchema: z.ZodType<ListAgentTasksFallbackModels, z.ZodTypeDef, unknown>;
1836
+ /** @deprecated use `ListAgentTasksFallbackModels$outboundSchema` instead. */
1837
+ const outboundSchema: z.ZodType<ListAgentTasksFallbackModels$Outbound, z.ZodTypeDef, ListAgentTasksFallbackModels>;
1838
+ /** @deprecated use `ListAgentTasksFallbackModels$Outbound` instead. */
1839
+ type Outbound = ListAgentTasksFallbackModels$Outbound;
1840
+ }
1841
+ export declare function listAgentTasksFallbackModelsToJSON(listAgentTasksFallbackModels: ListAgentTasksFallbackModels): string;
1842
+ export declare function listAgentTasksFallbackModelsFromJSON(jsonString: string): SafeParseResult<ListAgentTasksFallbackModels, SDKValidationError>;
1843
+ /** @internal */
240
1844
  export declare const ListAgentTasksModel$inboundSchema: z.ZodType<ListAgentTasksModel, z.ZodTypeDef, unknown>;
241
1845
  /** @internal */
242
1846
  export type ListAgentTasksModel$Outbound = {
243
1847
  id: string;
244
1848
  integration_id?: string | null | undefined;
245
- fallback_models?: Array<string> | null | undefined;
246
- max_tokens?: number | undefined;
247
- temperature?: number | undefined;
1849
+ parameters?: ListAgentTasksParameters$Outbound | undefined;
1850
+ fallback_models?: Array<ListAgentTasksFallbackModels2$Outbound | string> | null | undefined;
248
1851
  };
249
1852
  /** @internal */
250
1853
  export declare const ListAgentTasksModel$outboundSchema: z.ZodType<ListAgentTasksModel$Outbound, z.ZodTypeDef, ListAgentTasksModel>;