@orq-ai/node 4.0.0-rc.5 → 4.0.0-rc.8

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 +7488 -544
  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 +3 -3
  6. package/lib/config.js +3 -3
  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 +3 -3
  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
@@ -96,6 +96,534 @@ export type ListAgentsSettings = {
96
96
  toolApprovalRequired?: ListAgentsToolApprovalRequired | undefined;
97
97
  tools?: Array<ListAgentsTools> | undefined;
98
98
  };
99
+ /**
100
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
101
+ */
102
+ export declare const ListAgentsVoice: {
103
+ readonly Alloy: "alloy";
104
+ readonly Echo: "echo";
105
+ readonly Fable: "fable";
106
+ readonly Onyx: "onyx";
107
+ readonly Nova: "nova";
108
+ readonly Shimmer: "shimmer";
109
+ };
110
+ /**
111
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
112
+ */
113
+ export type ListAgentsVoice = ClosedEnum<typeof ListAgentsVoice>;
114
+ /**
115
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
116
+ */
117
+ export declare const ListAgentsFormat: {
118
+ readonly Wav: "wav";
119
+ readonly Mp3: "mp3";
120
+ readonly Flac: "flac";
121
+ readonly Opus: "opus";
122
+ readonly Pcm16: "pcm16";
123
+ };
124
+ /**
125
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
126
+ */
127
+ export type ListAgentsFormat = ClosedEnum<typeof ListAgentsFormat>;
128
+ /**
129
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
130
+ */
131
+ export type ListAgentsAudio = {
132
+ /**
133
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
134
+ */
135
+ voice: ListAgentsVoice;
136
+ /**
137
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
138
+ */
139
+ format: ListAgentsFormat;
140
+ };
141
+ export declare const ListAgentsResponseFormatAgentsResponseType: {
142
+ readonly JsonSchema: "json_schema";
143
+ };
144
+ export type ListAgentsResponseFormatAgentsResponseType = ClosedEnum<typeof ListAgentsResponseFormatAgentsResponseType>;
145
+ export type ListAgentsResponseFormatJsonSchema = {
146
+ /**
147
+ * A description of what the response format is for, used by the model to determine how to respond in the format.
148
+ */
149
+ description?: string | undefined;
150
+ /**
151
+ * 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.
152
+ */
153
+ name: string;
154
+ /**
155
+ * The schema for the response format, described as a JSON Schema object.
156
+ */
157
+ schema?: any | undefined;
158
+ /**
159
+ * 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.
160
+ */
161
+ strict?: boolean | undefined;
162
+ };
163
+ export type ListAgentsResponseFormat3 = {
164
+ type: ListAgentsResponseFormatAgentsResponseType;
165
+ jsonSchema: ListAgentsResponseFormatJsonSchema;
166
+ };
167
+ export declare const ListAgentsResponseFormatAgentsType: {
168
+ readonly JsonObject: "json_object";
169
+ };
170
+ export type ListAgentsResponseFormatAgentsType = ClosedEnum<typeof ListAgentsResponseFormatAgentsType>;
171
+ export type ListAgentsResponseFormat2 = {
172
+ type: ListAgentsResponseFormatAgentsType;
173
+ };
174
+ export declare const ListAgentsResponseFormatType: {
175
+ readonly Text: "text";
176
+ };
177
+ export type ListAgentsResponseFormatType = ClosedEnum<typeof ListAgentsResponseFormatType>;
178
+ export type ListAgentsResponseFormat1 = {
179
+ type: ListAgentsResponseFormatType;
180
+ };
181
+ /**
182
+ * An object specifying the format that the model must output
183
+ */
184
+ export type ListAgentsResponseFormat = ListAgentsResponseFormat3 | ListAgentsResponseFormat1 | ListAgentsResponseFormat2;
185
+ /**
186
+ * Up to 4 sequences where the API will stop generating further tokens.
187
+ */
188
+ export type ListAgentsStop = string | Array<string>;
189
+ /**
190
+ * Options for streaming response. Only set this when you set stream: true.
191
+ */
192
+ export type ListAgentsStreamOptions = {
193
+ /**
194
+ * 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.
195
+ */
196
+ includeUsage?: boolean | undefined;
197
+ };
198
+ /**
199
+ * Enables or disables the thinking mode capability
200
+ */
201
+ export declare const ListAgentsType: {
202
+ readonly Enabled: "enabled";
203
+ readonly Disabled: "disabled";
204
+ };
205
+ /**
206
+ * Enables or disables the thinking mode capability
207
+ */
208
+ export type ListAgentsType = ClosedEnum<typeof ListAgentsType>;
209
+ export type ListAgentsThinking = {
210
+ /**
211
+ * Enables or disables the thinking mode capability
212
+ */
213
+ type: ListAgentsType;
214
+ /**
215
+ * 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`.
216
+ */
217
+ budgetTokens: number;
218
+ };
219
+ /**
220
+ * The type of the tool. Currently, only function is supported.
221
+ */
222
+ export declare const ListAgentsToolChoiceType: {
223
+ readonly Function: "function";
224
+ };
225
+ /**
226
+ * The type of the tool. Currently, only function is supported.
227
+ */
228
+ export type ListAgentsToolChoiceType = ClosedEnum<typeof ListAgentsToolChoiceType>;
229
+ export type ListAgentsToolChoiceFunction = {
230
+ /**
231
+ * The name of the function to call.
232
+ */
233
+ name?: string | undefined;
234
+ };
235
+ export type ListAgentsToolChoice2 = {
236
+ /**
237
+ * The type of the tool. Currently, only function is supported.
238
+ */
239
+ type?: ListAgentsToolChoiceType | undefined;
240
+ function: ListAgentsToolChoiceFunction;
241
+ };
242
+ export declare const ListAgentsToolChoice1: {
243
+ readonly None: "none";
244
+ readonly Auto: "auto";
245
+ readonly Required: "required";
246
+ };
247
+ export type ListAgentsToolChoice1 = ClosedEnum<typeof ListAgentsToolChoice1>;
248
+ /**
249
+ * Controls which (if any) tool is called by the model.
250
+ */
251
+ export type ListAgentsToolChoice = ListAgentsToolChoice2 | ListAgentsToolChoice1;
252
+ export declare const ListAgentsModalities: {
253
+ readonly Text: "text";
254
+ readonly Audio: "audio";
255
+ };
256
+ export type ListAgentsModalities = ClosedEnum<typeof ListAgentsModalities>;
257
+ /**
258
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
259
+ */
260
+ export type ListAgentsWebSearchOptions = {
261
+ /**
262
+ * Whether to enable web search for this request.
263
+ */
264
+ enabled?: boolean | undefined;
265
+ };
266
+ /**
267
+ * 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.
268
+ */
269
+ export type ListAgentsParameters = {
270
+ /**
271
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
272
+ */
273
+ audio?: ListAgentsAudio | null | undefined;
274
+ /**
275
+ * 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.
276
+ */
277
+ frequencyPenalty?: number | null | undefined;
278
+ /**
279
+ * `[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.
280
+ *
281
+ * @remarks
282
+ *
283
+ * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
284
+ */
285
+ maxTokens?: number | null | undefined;
286
+ /**
287
+ * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
288
+ */
289
+ maxCompletionTokens?: number | null | undefined;
290
+ /**
291
+ * 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.
292
+ */
293
+ logprobs?: boolean | null | undefined;
294
+ /**
295
+ * 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.
296
+ */
297
+ topLogprobs?: number | null | undefined;
298
+ /**
299
+ * 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.
300
+ */
301
+ n?: number | null | undefined;
302
+ /**
303
+ * 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.
304
+ */
305
+ presencePenalty?: number | null | undefined;
306
+ /**
307
+ * An object specifying the format that the model must output
308
+ */
309
+ responseFormat?: ListAgentsResponseFormat3 | ListAgentsResponseFormat1 | ListAgentsResponseFormat2 | undefined;
310
+ /**
311
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
312
+ */
313
+ reasoningEffort?: string | undefined;
314
+ /**
315
+ * Adjusts response verbosity. Lower levels yield shorter answers.
316
+ */
317
+ verbosity?: string | undefined;
318
+ /**
319
+ * 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.
320
+ */
321
+ seed?: number | null | undefined;
322
+ /**
323
+ * Up to 4 sequences where the API will stop generating further tokens.
324
+ */
325
+ stop?: string | Array<string> | null | undefined;
326
+ /**
327
+ * Options for streaming response. Only set this when you set stream: true.
328
+ */
329
+ streamOptions?: ListAgentsStreamOptions | null | undefined;
330
+ thinking?: ListAgentsThinking | undefined;
331
+ /**
332
+ * 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.
333
+ */
334
+ temperature?: number | null | undefined;
335
+ /**
336
+ * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
337
+ */
338
+ topP?: number | null | undefined;
339
+ /**
340
+ * Limits the model to consider only the top k most likely tokens at each step.
341
+ */
342
+ topK?: number | null | undefined;
343
+ /**
344
+ * Controls which (if any) tool is called by the model.
345
+ */
346
+ toolChoice?: ListAgentsToolChoice2 | ListAgentsToolChoice1 | undefined;
347
+ /**
348
+ * Whether to enable parallel function calling during tool use.
349
+ */
350
+ parallelToolCalls?: boolean | undefined;
351
+ /**
352
+ * 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"].
353
+ */
354
+ modalities?: Array<ListAgentsModalities> | null | undefined;
355
+ /**
356
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
357
+ */
358
+ webSearchOptions?: ListAgentsWebSearchOptions | undefined;
359
+ };
360
+ /**
361
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
362
+ */
363
+ export declare const ListAgentsFallbackModelsVoice: {
364
+ readonly Alloy: "alloy";
365
+ readonly Echo: "echo";
366
+ readonly Fable: "fable";
367
+ readonly Onyx: "onyx";
368
+ readonly Nova: "nova";
369
+ readonly Shimmer: "shimmer";
370
+ };
371
+ /**
372
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
373
+ */
374
+ export type ListAgentsFallbackModelsVoice = ClosedEnum<typeof ListAgentsFallbackModelsVoice>;
375
+ /**
376
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
377
+ */
378
+ export declare const ListAgentsFallbackModelsFormat: {
379
+ readonly Wav: "wav";
380
+ readonly Mp3: "mp3";
381
+ readonly Flac: "flac";
382
+ readonly Opus: "opus";
383
+ readonly Pcm16: "pcm16";
384
+ };
385
+ /**
386
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
387
+ */
388
+ export type ListAgentsFallbackModelsFormat = ClosedEnum<typeof ListAgentsFallbackModelsFormat>;
389
+ /**
390
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
391
+ */
392
+ export type ListAgentsFallbackModelsAudio = {
393
+ /**
394
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
395
+ */
396
+ voice: ListAgentsFallbackModelsVoice;
397
+ /**
398
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
399
+ */
400
+ format: ListAgentsFallbackModelsFormat;
401
+ };
402
+ export declare const ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType: {
403
+ readonly JsonSchema: "json_schema";
404
+ };
405
+ export type ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
406
+ export type ListAgentsResponseFormatAgentsJsonSchema = {
407
+ /**
408
+ * A description of what the response format is for, used by the model to determine how to respond in the format.
409
+ */
410
+ description?: string | undefined;
411
+ /**
412
+ * 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.
413
+ */
414
+ name: string;
415
+ /**
416
+ * The schema for the response format, described as a JSON Schema object.
417
+ */
418
+ schema?: any | undefined;
419
+ /**
420
+ * 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.
421
+ */
422
+ strict?: boolean | undefined;
423
+ };
424
+ export type ListAgentsResponseFormatAgents3 = {
425
+ type: ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType;
426
+ jsonSchema: ListAgentsResponseFormatAgentsJsonSchema;
427
+ };
428
+ export declare const ListAgentsResponseFormatAgentsResponse200ApplicationJSONType: {
429
+ readonly JsonObject: "json_object";
430
+ };
431
+ export type ListAgentsResponseFormatAgentsResponse200ApplicationJSONType = ClosedEnum<typeof ListAgentsResponseFormatAgentsResponse200ApplicationJSONType>;
432
+ export type ListAgentsResponseFormatAgents2 = {
433
+ type: ListAgentsResponseFormatAgentsResponse200ApplicationJSONType;
434
+ };
435
+ export declare const ListAgentsResponseFormatAgentsResponse200Type: {
436
+ readonly Text: "text";
437
+ };
438
+ export type ListAgentsResponseFormatAgentsResponse200Type = ClosedEnum<typeof ListAgentsResponseFormatAgentsResponse200Type>;
439
+ export type ListAgentsResponseFormatAgents1 = {
440
+ type: ListAgentsResponseFormatAgentsResponse200Type;
441
+ };
442
+ /**
443
+ * An object specifying the format that the model must output
444
+ */
445
+ export type ListAgentsFallbackModelsResponseFormat = ListAgentsResponseFormatAgents3 | ListAgentsResponseFormatAgents1 | ListAgentsResponseFormatAgents2;
446
+ /**
447
+ * Up to 4 sequences where the API will stop generating further tokens.
448
+ */
449
+ export type ListAgentsFallbackModelsStop = string | Array<string>;
450
+ /**
451
+ * Options for streaming response. Only set this when you set stream: true.
452
+ */
453
+ export type ListAgentsFallbackModelsStreamOptions = {
454
+ /**
455
+ * 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.
456
+ */
457
+ includeUsage?: boolean | undefined;
458
+ };
459
+ /**
460
+ * Enables or disables the thinking mode capability
461
+ */
462
+ export declare const ListAgentsFallbackModelsType: {
463
+ readonly Enabled: "enabled";
464
+ readonly Disabled: "disabled";
465
+ };
466
+ /**
467
+ * Enables or disables the thinking mode capability
468
+ */
469
+ export type ListAgentsFallbackModelsType = ClosedEnum<typeof ListAgentsFallbackModelsType>;
470
+ export type ListAgentsFallbackModelsThinking = {
471
+ /**
472
+ * Enables or disables the thinking mode capability
473
+ */
474
+ type: ListAgentsFallbackModelsType;
475
+ /**
476
+ * 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`.
477
+ */
478
+ budgetTokens: number;
479
+ };
480
+ /**
481
+ * The type of the tool. Currently, only function is supported.
482
+ */
483
+ export declare const ListAgentsToolChoiceAgentsType: {
484
+ readonly Function: "function";
485
+ };
486
+ /**
487
+ * The type of the tool. Currently, only function is supported.
488
+ */
489
+ export type ListAgentsToolChoiceAgentsType = ClosedEnum<typeof ListAgentsToolChoiceAgentsType>;
490
+ export type ListAgentsToolChoiceAgentsFunction = {
491
+ /**
492
+ * The name of the function to call.
493
+ */
494
+ name?: string | undefined;
495
+ };
496
+ export type ListAgentsToolChoiceAgents2 = {
497
+ /**
498
+ * The type of the tool. Currently, only function is supported.
499
+ */
500
+ type?: ListAgentsToolChoiceAgentsType | undefined;
501
+ function: ListAgentsToolChoiceAgentsFunction;
502
+ };
503
+ export declare const ListAgentsToolChoiceAgents1: {
504
+ readonly None: "none";
505
+ readonly Auto: "auto";
506
+ readonly Required: "required";
507
+ };
508
+ export type ListAgentsToolChoiceAgents1 = ClosedEnum<typeof ListAgentsToolChoiceAgents1>;
509
+ /**
510
+ * Controls which (if any) tool is called by the model.
511
+ */
512
+ export type ListAgentsFallbackModelsToolChoice = ListAgentsToolChoiceAgents2 | ListAgentsToolChoiceAgents1;
513
+ export declare const ListAgentsFallbackModelsModalities: {
514
+ readonly Text: "text";
515
+ readonly Audio: "audio";
516
+ };
517
+ export type ListAgentsFallbackModelsModalities = ClosedEnum<typeof ListAgentsFallbackModelsModalities>;
518
+ /**
519
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
520
+ */
521
+ export type ListAgentsFallbackModelsWebSearchOptions = {
522
+ /**
523
+ * Whether to enable web search for this request.
524
+ */
525
+ enabled?: boolean | undefined;
526
+ };
527
+ export type ListAgentsFallbackModelsParameters = {
528
+ /**
529
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
530
+ */
531
+ audio?: ListAgentsFallbackModelsAudio | null | undefined;
532
+ /**
533
+ * 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.
534
+ */
535
+ frequencyPenalty?: number | null | undefined;
536
+ /**
537
+ * `[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.
538
+ *
539
+ * @remarks
540
+ *
541
+ * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
542
+ */
543
+ maxTokens?: number | null | undefined;
544
+ /**
545
+ * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
546
+ */
547
+ maxCompletionTokens?: number | null | undefined;
548
+ /**
549
+ * 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.
550
+ */
551
+ logprobs?: boolean | null | undefined;
552
+ /**
553
+ * 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.
554
+ */
555
+ topLogprobs?: number | null | undefined;
556
+ /**
557
+ * 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.
558
+ */
559
+ n?: number | null | undefined;
560
+ /**
561
+ * 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.
562
+ */
563
+ presencePenalty?: number | null | undefined;
564
+ /**
565
+ * An object specifying the format that the model must output
566
+ */
567
+ responseFormat?: ListAgentsResponseFormatAgents3 | ListAgentsResponseFormatAgents1 | ListAgentsResponseFormatAgents2 | undefined;
568
+ /**
569
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
570
+ */
571
+ reasoningEffort?: string | undefined;
572
+ /**
573
+ * Adjusts response verbosity. Lower levels yield shorter answers.
574
+ */
575
+ verbosity?: string | undefined;
576
+ /**
577
+ * 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.
578
+ */
579
+ seed?: number | null | undefined;
580
+ /**
581
+ * Up to 4 sequences where the API will stop generating further tokens.
582
+ */
583
+ stop?: string | Array<string> | null | undefined;
584
+ /**
585
+ * Options for streaming response. Only set this when you set stream: true.
586
+ */
587
+ streamOptions?: ListAgentsFallbackModelsStreamOptions | null | undefined;
588
+ thinking?: ListAgentsFallbackModelsThinking | undefined;
589
+ /**
590
+ * 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.
591
+ */
592
+ temperature?: number | null | undefined;
593
+ /**
594
+ * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
595
+ */
596
+ topP?: number | null | undefined;
597
+ /**
598
+ * Limits the model to consider only the top k most likely tokens at each step.
599
+ */
600
+ topK?: number | null | undefined;
601
+ /**
602
+ * Controls which (if any) tool is called by the model.
603
+ */
604
+ toolChoice?: ListAgentsToolChoiceAgents2 | ListAgentsToolChoiceAgents1 | undefined;
605
+ /**
606
+ * Whether to enable parallel function calling during tool use.
607
+ */
608
+ parallelToolCalls?: boolean | undefined;
609
+ /**
610
+ * 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"].
611
+ */
612
+ modalities?: Array<ListAgentsFallbackModelsModalities> | null | undefined;
613
+ /**
614
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
615
+ */
616
+ webSearchOptions?: ListAgentsFallbackModelsWebSearchOptions | undefined;
617
+ };
618
+ export type ListAgentsFallbackModels2 = {
619
+ /**
620
+ * Fallback model ID
621
+ */
622
+ id: string;
623
+ integrationId?: string | null | undefined;
624
+ parameters?: ListAgentsFallbackModelsParameters | undefined;
625
+ };
626
+ export type ListAgentsFallbackModels = ListAgentsFallbackModels2 | string;
99
627
  export type ListAgentsModel = {
100
628
  /**
101
629
  * The database ID of the primary model
@@ -106,17 +634,13 @@ export type ListAgentsModel = {
106
634
  */
107
635
  integrationId?: string | null | undefined;
108
636
  /**
109
- * Optional array of fallback model IDs that will be used automatically in order if the primary model fails
110
- */
111
- fallbackModels?: Array<string> | null | undefined;
112
- /**
113
- * Maximum number of tokens for model responses
637
+ * 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.
114
638
  */
115
- maxTokens?: number | undefined;
639
+ parameters?: ListAgentsParameters | undefined;
116
640
  /**
117
- * Temperature setting for model responses
641
+ * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
118
642
  */
119
- temperature?: number | undefined;
643
+ fallbackModels?: Array<ListAgentsFallbackModels2 | string> | null | undefined;
120
644
  };
121
645
  export type ListAgentsTeamOfAgents = {
122
646
  /**
@@ -371,14 +895,1093 @@ export declare namespace ListAgentsSettings$ {
371
895
  export declare function listAgentsSettingsToJSON(listAgentsSettings: ListAgentsSettings): string;
372
896
  export declare function listAgentsSettingsFromJSON(jsonString: string): SafeParseResult<ListAgentsSettings, SDKValidationError>;
373
897
  /** @internal */
898
+ export declare const ListAgentsVoice$inboundSchema: z.ZodNativeEnum<typeof ListAgentsVoice>;
899
+ /** @internal */
900
+ export declare const ListAgentsVoice$outboundSchema: z.ZodNativeEnum<typeof ListAgentsVoice>;
901
+ /**
902
+ * @internal
903
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
904
+ */
905
+ export declare namespace ListAgentsVoice$ {
906
+ /** @deprecated use `ListAgentsVoice$inboundSchema` instead. */
907
+ const inboundSchema: z.ZodNativeEnum<{
908
+ readonly Alloy: "alloy";
909
+ readonly Echo: "echo";
910
+ readonly Fable: "fable";
911
+ readonly Onyx: "onyx";
912
+ readonly Nova: "nova";
913
+ readonly Shimmer: "shimmer";
914
+ }>;
915
+ /** @deprecated use `ListAgentsVoice$outboundSchema` instead. */
916
+ const outboundSchema: z.ZodNativeEnum<{
917
+ readonly Alloy: "alloy";
918
+ readonly Echo: "echo";
919
+ readonly Fable: "fable";
920
+ readonly Onyx: "onyx";
921
+ readonly Nova: "nova";
922
+ readonly Shimmer: "shimmer";
923
+ }>;
924
+ }
925
+ /** @internal */
926
+ export declare const ListAgentsFormat$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFormat>;
927
+ /** @internal */
928
+ export declare const ListAgentsFormat$outboundSchema: z.ZodNativeEnum<typeof ListAgentsFormat>;
929
+ /**
930
+ * @internal
931
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
932
+ */
933
+ export declare namespace ListAgentsFormat$ {
934
+ /** @deprecated use `ListAgentsFormat$inboundSchema` instead. */
935
+ const inboundSchema: z.ZodNativeEnum<{
936
+ readonly Wav: "wav";
937
+ readonly Mp3: "mp3";
938
+ readonly Flac: "flac";
939
+ readonly Opus: "opus";
940
+ readonly Pcm16: "pcm16";
941
+ }>;
942
+ /** @deprecated use `ListAgentsFormat$outboundSchema` instead. */
943
+ const outboundSchema: z.ZodNativeEnum<{
944
+ readonly Wav: "wav";
945
+ readonly Mp3: "mp3";
946
+ readonly Flac: "flac";
947
+ readonly Opus: "opus";
948
+ readonly Pcm16: "pcm16";
949
+ }>;
950
+ }
951
+ /** @internal */
952
+ export declare const ListAgentsAudio$inboundSchema: z.ZodType<ListAgentsAudio, z.ZodTypeDef, unknown>;
953
+ /** @internal */
954
+ export type ListAgentsAudio$Outbound = {
955
+ voice: string;
956
+ format: string;
957
+ };
958
+ /** @internal */
959
+ export declare const ListAgentsAudio$outboundSchema: z.ZodType<ListAgentsAudio$Outbound, z.ZodTypeDef, ListAgentsAudio>;
960
+ /**
961
+ * @internal
962
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
963
+ */
964
+ export declare namespace ListAgentsAudio$ {
965
+ /** @deprecated use `ListAgentsAudio$inboundSchema` instead. */
966
+ const inboundSchema: z.ZodType<ListAgentsAudio, z.ZodTypeDef, unknown>;
967
+ /** @deprecated use `ListAgentsAudio$outboundSchema` instead. */
968
+ const outboundSchema: z.ZodType<ListAgentsAudio$Outbound, z.ZodTypeDef, ListAgentsAudio>;
969
+ /** @deprecated use `ListAgentsAudio$Outbound` instead. */
970
+ type Outbound = ListAgentsAudio$Outbound;
971
+ }
972
+ export declare function listAgentsAudioToJSON(listAgentsAudio: ListAgentsAudio): string;
973
+ export declare function listAgentsAudioFromJSON(jsonString: string): SafeParseResult<ListAgentsAudio, SDKValidationError>;
974
+ /** @internal */
975
+ export declare const ListAgentsResponseFormatAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatAgentsResponseType>;
976
+ /** @internal */
977
+ export declare const ListAgentsResponseFormatAgentsResponseType$outboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatAgentsResponseType>;
978
+ /**
979
+ * @internal
980
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
981
+ */
982
+ export declare namespace ListAgentsResponseFormatAgentsResponseType$ {
983
+ /** @deprecated use `ListAgentsResponseFormatAgentsResponseType$inboundSchema` instead. */
984
+ const inboundSchema: z.ZodNativeEnum<{
985
+ readonly JsonSchema: "json_schema";
986
+ }>;
987
+ /** @deprecated use `ListAgentsResponseFormatAgentsResponseType$outboundSchema` instead. */
988
+ const outboundSchema: z.ZodNativeEnum<{
989
+ readonly JsonSchema: "json_schema";
990
+ }>;
991
+ }
992
+ /** @internal */
993
+ export declare const ListAgentsResponseFormatJsonSchema$inboundSchema: z.ZodType<ListAgentsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
994
+ /** @internal */
995
+ export type ListAgentsResponseFormatJsonSchema$Outbound = {
996
+ description?: string | undefined;
997
+ name: string;
998
+ schema?: any | undefined;
999
+ strict?: boolean | undefined;
1000
+ };
1001
+ /** @internal */
1002
+ export declare const ListAgentsResponseFormatJsonSchema$outboundSchema: z.ZodType<ListAgentsResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ListAgentsResponseFormatJsonSchema>;
1003
+ /**
1004
+ * @internal
1005
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1006
+ */
1007
+ export declare namespace ListAgentsResponseFormatJsonSchema$ {
1008
+ /** @deprecated use `ListAgentsResponseFormatJsonSchema$inboundSchema` instead. */
1009
+ const inboundSchema: z.ZodType<ListAgentsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1010
+ /** @deprecated use `ListAgentsResponseFormatJsonSchema$outboundSchema` instead. */
1011
+ const outboundSchema: z.ZodType<ListAgentsResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ListAgentsResponseFormatJsonSchema>;
1012
+ /** @deprecated use `ListAgentsResponseFormatJsonSchema$Outbound` instead. */
1013
+ type Outbound = ListAgentsResponseFormatJsonSchema$Outbound;
1014
+ }
1015
+ export declare function listAgentsResponseFormatJsonSchemaToJSON(listAgentsResponseFormatJsonSchema: ListAgentsResponseFormatJsonSchema): string;
1016
+ export declare function listAgentsResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatJsonSchema, SDKValidationError>;
1017
+ /** @internal */
1018
+ export declare const ListAgentsResponseFormat3$inboundSchema: z.ZodType<ListAgentsResponseFormat3, z.ZodTypeDef, unknown>;
1019
+ /** @internal */
1020
+ export type ListAgentsResponseFormat3$Outbound = {
1021
+ type: string;
1022
+ json_schema: ListAgentsResponseFormatJsonSchema$Outbound;
1023
+ };
1024
+ /** @internal */
1025
+ export declare const ListAgentsResponseFormat3$outboundSchema: z.ZodType<ListAgentsResponseFormat3$Outbound, z.ZodTypeDef, ListAgentsResponseFormat3>;
1026
+ /**
1027
+ * @internal
1028
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1029
+ */
1030
+ export declare namespace ListAgentsResponseFormat3$ {
1031
+ /** @deprecated use `ListAgentsResponseFormat3$inboundSchema` instead. */
1032
+ const inboundSchema: z.ZodType<ListAgentsResponseFormat3, z.ZodTypeDef, unknown>;
1033
+ /** @deprecated use `ListAgentsResponseFormat3$outboundSchema` instead. */
1034
+ const outboundSchema: z.ZodType<ListAgentsResponseFormat3$Outbound, z.ZodTypeDef, ListAgentsResponseFormat3>;
1035
+ /** @deprecated use `ListAgentsResponseFormat3$Outbound` instead. */
1036
+ type Outbound = ListAgentsResponseFormat3$Outbound;
1037
+ }
1038
+ export declare function listAgentsResponseFormat3ToJSON(listAgentsResponseFormat3: ListAgentsResponseFormat3): string;
1039
+ export declare function listAgentsResponseFormat3FromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormat3, SDKValidationError>;
1040
+ /** @internal */
1041
+ export declare const ListAgentsResponseFormatAgentsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatAgentsType>;
1042
+ /** @internal */
1043
+ export declare const ListAgentsResponseFormatAgentsType$outboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatAgentsType>;
1044
+ /**
1045
+ * @internal
1046
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1047
+ */
1048
+ export declare namespace ListAgentsResponseFormatAgentsType$ {
1049
+ /** @deprecated use `ListAgentsResponseFormatAgentsType$inboundSchema` instead. */
1050
+ const inboundSchema: z.ZodNativeEnum<{
1051
+ readonly JsonObject: "json_object";
1052
+ }>;
1053
+ /** @deprecated use `ListAgentsResponseFormatAgentsType$outboundSchema` instead. */
1054
+ const outboundSchema: z.ZodNativeEnum<{
1055
+ readonly JsonObject: "json_object";
1056
+ }>;
1057
+ }
1058
+ /** @internal */
1059
+ export declare const ListAgentsResponseFormat2$inboundSchema: z.ZodType<ListAgentsResponseFormat2, z.ZodTypeDef, unknown>;
1060
+ /** @internal */
1061
+ export type ListAgentsResponseFormat2$Outbound = {
1062
+ type: string;
1063
+ };
1064
+ /** @internal */
1065
+ export declare const ListAgentsResponseFormat2$outboundSchema: z.ZodType<ListAgentsResponseFormat2$Outbound, z.ZodTypeDef, ListAgentsResponseFormat2>;
1066
+ /**
1067
+ * @internal
1068
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1069
+ */
1070
+ export declare namespace ListAgentsResponseFormat2$ {
1071
+ /** @deprecated use `ListAgentsResponseFormat2$inboundSchema` instead. */
1072
+ const inboundSchema: z.ZodType<ListAgentsResponseFormat2, z.ZodTypeDef, unknown>;
1073
+ /** @deprecated use `ListAgentsResponseFormat2$outboundSchema` instead. */
1074
+ const outboundSchema: z.ZodType<ListAgentsResponseFormat2$Outbound, z.ZodTypeDef, ListAgentsResponseFormat2>;
1075
+ /** @deprecated use `ListAgentsResponseFormat2$Outbound` instead. */
1076
+ type Outbound = ListAgentsResponseFormat2$Outbound;
1077
+ }
1078
+ export declare function listAgentsResponseFormat2ToJSON(listAgentsResponseFormat2: ListAgentsResponseFormat2): string;
1079
+ export declare function listAgentsResponseFormat2FromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormat2, SDKValidationError>;
1080
+ /** @internal */
1081
+ export declare const ListAgentsResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatType>;
1082
+ /** @internal */
1083
+ export declare const ListAgentsResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatType>;
1084
+ /**
1085
+ * @internal
1086
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1087
+ */
1088
+ export declare namespace ListAgentsResponseFormatType$ {
1089
+ /** @deprecated use `ListAgentsResponseFormatType$inboundSchema` instead. */
1090
+ const inboundSchema: z.ZodNativeEnum<{
1091
+ readonly Text: "text";
1092
+ }>;
1093
+ /** @deprecated use `ListAgentsResponseFormatType$outboundSchema` instead. */
1094
+ const outboundSchema: z.ZodNativeEnum<{
1095
+ readonly Text: "text";
1096
+ }>;
1097
+ }
1098
+ /** @internal */
1099
+ export declare const ListAgentsResponseFormat1$inboundSchema: z.ZodType<ListAgentsResponseFormat1, z.ZodTypeDef, unknown>;
1100
+ /** @internal */
1101
+ export type ListAgentsResponseFormat1$Outbound = {
1102
+ type: string;
1103
+ };
1104
+ /** @internal */
1105
+ export declare const ListAgentsResponseFormat1$outboundSchema: z.ZodType<ListAgentsResponseFormat1$Outbound, z.ZodTypeDef, ListAgentsResponseFormat1>;
1106
+ /**
1107
+ * @internal
1108
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1109
+ */
1110
+ export declare namespace ListAgentsResponseFormat1$ {
1111
+ /** @deprecated use `ListAgentsResponseFormat1$inboundSchema` instead. */
1112
+ const inboundSchema: z.ZodType<ListAgentsResponseFormat1, z.ZodTypeDef, unknown>;
1113
+ /** @deprecated use `ListAgentsResponseFormat1$outboundSchema` instead. */
1114
+ const outboundSchema: z.ZodType<ListAgentsResponseFormat1$Outbound, z.ZodTypeDef, ListAgentsResponseFormat1>;
1115
+ /** @deprecated use `ListAgentsResponseFormat1$Outbound` instead. */
1116
+ type Outbound = ListAgentsResponseFormat1$Outbound;
1117
+ }
1118
+ export declare function listAgentsResponseFormat1ToJSON(listAgentsResponseFormat1: ListAgentsResponseFormat1): string;
1119
+ export declare function listAgentsResponseFormat1FromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormat1, SDKValidationError>;
1120
+ /** @internal */
1121
+ export declare const ListAgentsResponseFormat$inboundSchema: z.ZodType<ListAgentsResponseFormat, z.ZodTypeDef, unknown>;
1122
+ /** @internal */
1123
+ export type ListAgentsResponseFormat$Outbound = ListAgentsResponseFormat3$Outbound | ListAgentsResponseFormat1$Outbound | ListAgentsResponseFormat2$Outbound;
1124
+ /** @internal */
1125
+ export declare const ListAgentsResponseFormat$outboundSchema: z.ZodType<ListAgentsResponseFormat$Outbound, z.ZodTypeDef, ListAgentsResponseFormat>;
1126
+ /**
1127
+ * @internal
1128
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1129
+ */
1130
+ export declare namespace ListAgentsResponseFormat$ {
1131
+ /** @deprecated use `ListAgentsResponseFormat$inboundSchema` instead. */
1132
+ const inboundSchema: z.ZodType<ListAgentsResponseFormat, z.ZodTypeDef, unknown>;
1133
+ /** @deprecated use `ListAgentsResponseFormat$outboundSchema` instead. */
1134
+ const outboundSchema: z.ZodType<ListAgentsResponseFormat$Outbound, z.ZodTypeDef, ListAgentsResponseFormat>;
1135
+ /** @deprecated use `ListAgentsResponseFormat$Outbound` instead. */
1136
+ type Outbound = ListAgentsResponseFormat$Outbound;
1137
+ }
1138
+ export declare function listAgentsResponseFormatToJSON(listAgentsResponseFormat: ListAgentsResponseFormat): string;
1139
+ export declare function listAgentsResponseFormatFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormat, SDKValidationError>;
1140
+ /** @internal */
1141
+ export declare const ListAgentsStop$inboundSchema: z.ZodType<ListAgentsStop, z.ZodTypeDef, unknown>;
1142
+ /** @internal */
1143
+ export type ListAgentsStop$Outbound = string | Array<string>;
1144
+ /** @internal */
1145
+ export declare const ListAgentsStop$outboundSchema: z.ZodType<ListAgentsStop$Outbound, z.ZodTypeDef, ListAgentsStop>;
1146
+ /**
1147
+ * @internal
1148
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1149
+ */
1150
+ export declare namespace ListAgentsStop$ {
1151
+ /** @deprecated use `ListAgentsStop$inboundSchema` instead. */
1152
+ const inboundSchema: z.ZodType<ListAgentsStop, z.ZodTypeDef, unknown>;
1153
+ /** @deprecated use `ListAgentsStop$outboundSchema` instead. */
1154
+ const outboundSchema: z.ZodType<ListAgentsStop$Outbound, z.ZodTypeDef, ListAgentsStop>;
1155
+ /** @deprecated use `ListAgentsStop$Outbound` instead. */
1156
+ type Outbound = ListAgentsStop$Outbound;
1157
+ }
1158
+ export declare function listAgentsStopToJSON(listAgentsStop: ListAgentsStop): string;
1159
+ export declare function listAgentsStopFromJSON(jsonString: string): SafeParseResult<ListAgentsStop, SDKValidationError>;
1160
+ /** @internal */
1161
+ export declare const ListAgentsStreamOptions$inboundSchema: z.ZodType<ListAgentsStreamOptions, z.ZodTypeDef, unknown>;
1162
+ /** @internal */
1163
+ export type ListAgentsStreamOptions$Outbound = {
1164
+ include_usage?: boolean | undefined;
1165
+ };
1166
+ /** @internal */
1167
+ export declare const ListAgentsStreamOptions$outboundSchema: z.ZodType<ListAgentsStreamOptions$Outbound, z.ZodTypeDef, ListAgentsStreamOptions>;
1168
+ /**
1169
+ * @internal
1170
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1171
+ */
1172
+ export declare namespace ListAgentsStreamOptions$ {
1173
+ /** @deprecated use `ListAgentsStreamOptions$inboundSchema` instead. */
1174
+ const inboundSchema: z.ZodType<ListAgentsStreamOptions, z.ZodTypeDef, unknown>;
1175
+ /** @deprecated use `ListAgentsStreamOptions$outboundSchema` instead. */
1176
+ const outboundSchema: z.ZodType<ListAgentsStreamOptions$Outbound, z.ZodTypeDef, ListAgentsStreamOptions>;
1177
+ /** @deprecated use `ListAgentsStreamOptions$Outbound` instead. */
1178
+ type Outbound = ListAgentsStreamOptions$Outbound;
1179
+ }
1180
+ export declare function listAgentsStreamOptionsToJSON(listAgentsStreamOptions: ListAgentsStreamOptions): string;
1181
+ export declare function listAgentsStreamOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentsStreamOptions, SDKValidationError>;
1182
+ /** @internal */
1183
+ export declare const ListAgentsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsType>;
1184
+ /** @internal */
1185
+ export declare const ListAgentsType$outboundSchema: z.ZodNativeEnum<typeof ListAgentsType>;
1186
+ /**
1187
+ * @internal
1188
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1189
+ */
1190
+ export declare namespace ListAgentsType$ {
1191
+ /** @deprecated use `ListAgentsType$inboundSchema` instead. */
1192
+ const inboundSchema: z.ZodNativeEnum<{
1193
+ readonly Enabled: "enabled";
1194
+ readonly Disabled: "disabled";
1195
+ }>;
1196
+ /** @deprecated use `ListAgentsType$outboundSchema` instead. */
1197
+ const outboundSchema: z.ZodNativeEnum<{
1198
+ readonly Enabled: "enabled";
1199
+ readonly Disabled: "disabled";
1200
+ }>;
1201
+ }
1202
+ /** @internal */
1203
+ export declare const ListAgentsThinking$inboundSchema: z.ZodType<ListAgentsThinking, z.ZodTypeDef, unknown>;
1204
+ /** @internal */
1205
+ export type ListAgentsThinking$Outbound = {
1206
+ type: string;
1207
+ budget_tokens: number;
1208
+ };
1209
+ /** @internal */
1210
+ export declare const ListAgentsThinking$outboundSchema: z.ZodType<ListAgentsThinking$Outbound, z.ZodTypeDef, ListAgentsThinking>;
1211
+ /**
1212
+ * @internal
1213
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1214
+ */
1215
+ export declare namespace ListAgentsThinking$ {
1216
+ /** @deprecated use `ListAgentsThinking$inboundSchema` instead. */
1217
+ const inboundSchema: z.ZodType<ListAgentsThinking, z.ZodTypeDef, unknown>;
1218
+ /** @deprecated use `ListAgentsThinking$outboundSchema` instead. */
1219
+ const outboundSchema: z.ZodType<ListAgentsThinking$Outbound, z.ZodTypeDef, ListAgentsThinking>;
1220
+ /** @deprecated use `ListAgentsThinking$Outbound` instead. */
1221
+ type Outbound = ListAgentsThinking$Outbound;
1222
+ }
1223
+ export declare function listAgentsThinkingToJSON(listAgentsThinking: ListAgentsThinking): string;
1224
+ export declare function listAgentsThinkingFromJSON(jsonString: string): SafeParseResult<ListAgentsThinking, SDKValidationError>;
1225
+ /** @internal */
1226
+ export declare const ListAgentsToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoiceType>;
1227
+ /** @internal */
1228
+ export declare const ListAgentsToolChoiceType$outboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoiceType>;
1229
+ /**
1230
+ * @internal
1231
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1232
+ */
1233
+ export declare namespace ListAgentsToolChoiceType$ {
1234
+ /** @deprecated use `ListAgentsToolChoiceType$inboundSchema` instead. */
1235
+ const inboundSchema: z.ZodNativeEnum<{
1236
+ readonly Function: "function";
1237
+ }>;
1238
+ /** @deprecated use `ListAgentsToolChoiceType$outboundSchema` instead. */
1239
+ const outboundSchema: z.ZodNativeEnum<{
1240
+ readonly Function: "function";
1241
+ }>;
1242
+ }
1243
+ /** @internal */
1244
+ export declare const ListAgentsToolChoiceFunction$inboundSchema: z.ZodType<ListAgentsToolChoiceFunction, z.ZodTypeDef, unknown>;
1245
+ /** @internal */
1246
+ export type ListAgentsToolChoiceFunction$Outbound = {
1247
+ name?: string | undefined;
1248
+ };
1249
+ /** @internal */
1250
+ export declare const ListAgentsToolChoiceFunction$outboundSchema: z.ZodType<ListAgentsToolChoiceFunction$Outbound, z.ZodTypeDef, ListAgentsToolChoiceFunction>;
1251
+ /**
1252
+ * @internal
1253
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1254
+ */
1255
+ export declare namespace ListAgentsToolChoiceFunction$ {
1256
+ /** @deprecated use `ListAgentsToolChoiceFunction$inboundSchema` instead. */
1257
+ const inboundSchema: z.ZodType<ListAgentsToolChoiceFunction, z.ZodTypeDef, unknown>;
1258
+ /** @deprecated use `ListAgentsToolChoiceFunction$outboundSchema` instead. */
1259
+ const outboundSchema: z.ZodType<ListAgentsToolChoiceFunction$Outbound, z.ZodTypeDef, ListAgentsToolChoiceFunction>;
1260
+ /** @deprecated use `ListAgentsToolChoiceFunction$Outbound` instead. */
1261
+ type Outbound = ListAgentsToolChoiceFunction$Outbound;
1262
+ }
1263
+ export declare function listAgentsToolChoiceFunctionToJSON(listAgentsToolChoiceFunction: ListAgentsToolChoiceFunction): string;
1264
+ export declare function listAgentsToolChoiceFunctionFromJSON(jsonString: string): SafeParseResult<ListAgentsToolChoiceFunction, SDKValidationError>;
1265
+ /** @internal */
1266
+ export declare const ListAgentsToolChoice2$inboundSchema: z.ZodType<ListAgentsToolChoice2, z.ZodTypeDef, unknown>;
1267
+ /** @internal */
1268
+ export type ListAgentsToolChoice2$Outbound = {
1269
+ type?: string | undefined;
1270
+ function: ListAgentsToolChoiceFunction$Outbound;
1271
+ };
1272
+ /** @internal */
1273
+ export declare const ListAgentsToolChoice2$outboundSchema: z.ZodType<ListAgentsToolChoice2$Outbound, z.ZodTypeDef, ListAgentsToolChoice2>;
1274
+ /**
1275
+ * @internal
1276
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1277
+ */
1278
+ export declare namespace ListAgentsToolChoice2$ {
1279
+ /** @deprecated use `ListAgentsToolChoice2$inboundSchema` instead. */
1280
+ const inboundSchema: z.ZodType<ListAgentsToolChoice2, z.ZodTypeDef, unknown>;
1281
+ /** @deprecated use `ListAgentsToolChoice2$outboundSchema` instead. */
1282
+ const outboundSchema: z.ZodType<ListAgentsToolChoice2$Outbound, z.ZodTypeDef, ListAgentsToolChoice2>;
1283
+ /** @deprecated use `ListAgentsToolChoice2$Outbound` instead. */
1284
+ type Outbound = ListAgentsToolChoice2$Outbound;
1285
+ }
1286
+ export declare function listAgentsToolChoice2ToJSON(listAgentsToolChoice2: ListAgentsToolChoice2): string;
1287
+ export declare function listAgentsToolChoice2FromJSON(jsonString: string): SafeParseResult<ListAgentsToolChoice2, SDKValidationError>;
1288
+ /** @internal */
1289
+ export declare const ListAgentsToolChoice1$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoice1>;
1290
+ /** @internal */
1291
+ export declare const ListAgentsToolChoice1$outboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoice1>;
1292
+ /**
1293
+ * @internal
1294
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1295
+ */
1296
+ export declare namespace ListAgentsToolChoice1$ {
1297
+ /** @deprecated use `ListAgentsToolChoice1$inboundSchema` instead. */
1298
+ const inboundSchema: z.ZodNativeEnum<{
1299
+ readonly None: "none";
1300
+ readonly Auto: "auto";
1301
+ readonly Required: "required";
1302
+ }>;
1303
+ /** @deprecated use `ListAgentsToolChoice1$outboundSchema` instead. */
1304
+ const outboundSchema: z.ZodNativeEnum<{
1305
+ readonly None: "none";
1306
+ readonly Auto: "auto";
1307
+ readonly Required: "required";
1308
+ }>;
1309
+ }
1310
+ /** @internal */
1311
+ export declare const ListAgentsToolChoice$inboundSchema: z.ZodType<ListAgentsToolChoice, z.ZodTypeDef, unknown>;
1312
+ /** @internal */
1313
+ export type ListAgentsToolChoice$Outbound = ListAgentsToolChoice2$Outbound | string;
1314
+ /** @internal */
1315
+ export declare const ListAgentsToolChoice$outboundSchema: z.ZodType<ListAgentsToolChoice$Outbound, z.ZodTypeDef, ListAgentsToolChoice>;
1316
+ /**
1317
+ * @internal
1318
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1319
+ */
1320
+ export declare namespace ListAgentsToolChoice$ {
1321
+ /** @deprecated use `ListAgentsToolChoice$inboundSchema` instead. */
1322
+ const inboundSchema: z.ZodType<ListAgentsToolChoice, z.ZodTypeDef, unknown>;
1323
+ /** @deprecated use `ListAgentsToolChoice$outboundSchema` instead. */
1324
+ const outboundSchema: z.ZodType<ListAgentsToolChoice$Outbound, z.ZodTypeDef, ListAgentsToolChoice>;
1325
+ /** @deprecated use `ListAgentsToolChoice$Outbound` instead. */
1326
+ type Outbound = ListAgentsToolChoice$Outbound;
1327
+ }
1328
+ export declare function listAgentsToolChoiceToJSON(listAgentsToolChoice: ListAgentsToolChoice): string;
1329
+ export declare function listAgentsToolChoiceFromJSON(jsonString: string): SafeParseResult<ListAgentsToolChoice, SDKValidationError>;
1330
+ /** @internal */
1331
+ export declare const ListAgentsModalities$inboundSchema: z.ZodNativeEnum<typeof ListAgentsModalities>;
1332
+ /** @internal */
1333
+ export declare const ListAgentsModalities$outboundSchema: z.ZodNativeEnum<typeof ListAgentsModalities>;
1334
+ /**
1335
+ * @internal
1336
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1337
+ */
1338
+ export declare namespace ListAgentsModalities$ {
1339
+ /** @deprecated use `ListAgentsModalities$inboundSchema` instead. */
1340
+ const inboundSchema: z.ZodNativeEnum<{
1341
+ readonly Text: "text";
1342
+ readonly Audio: "audio";
1343
+ }>;
1344
+ /** @deprecated use `ListAgentsModalities$outboundSchema` instead. */
1345
+ const outboundSchema: z.ZodNativeEnum<{
1346
+ readonly Text: "text";
1347
+ readonly Audio: "audio";
1348
+ }>;
1349
+ }
1350
+ /** @internal */
1351
+ export declare const ListAgentsWebSearchOptions$inboundSchema: z.ZodType<ListAgentsWebSearchOptions, z.ZodTypeDef, unknown>;
1352
+ /** @internal */
1353
+ export type ListAgentsWebSearchOptions$Outbound = {
1354
+ enabled?: boolean | undefined;
1355
+ };
1356
+ /** @internal */
1357
+ export declare const ListAgentsWebSearchOptions$outboundSchema: z.ZodType<ListAgentsWebSearchOptions$Outbound, z.ZodTypeDef, ListAgentsWebSearchOptions>;
1358
+ /**
1359
+ * @internal
1360
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1361
+ */
1362
+ export declare namespace ListAgentsWebSearchOptions$ {
1363
+ /** @deprecated use `ListAgentsWebSearchOptions$inboundSchema` instead. */
1364
+ const inboundSchema: z.ZodType<ListAgentsWebSearchOptions, z.ZodTypeDef, unknown>;
1365
+ /** @deprecated use `ListAgentsWebSearchOptions$outboundSchema` instead. */
1366
+ const outboundSchema: z.ZodType<ListAgentsWebSearchOptions$Outbound, z.ZodTypeDef, ListAgentsWebSearchOptions>;
1367
+ /** @deprecated use `ListAgentsWebSearchOptions$Outbound` instead. */
1368
+ type Outbound = ListAgentsWebSearchOptions$Outbound;
1369
+ }
1370
+ export declare function listAgentsWebSearchOptionsToJSON(listAgentsWebSearchOptions: ListAgentsWebSearchOptions): string;
1371
+ export declare function listAgentsWebSearchOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentsWebSearchOptions, SDKValidationError>;
1372
+ /** @internal */
1373
+ export declare const ListAgentsParameters$inboundSchema: z.ZodType<ListAgentsParameters, z.ZodTypeDef, unknown>;
1374
+ /** @internal */
1375
+ export type ListAgentsParameters$Outbound = {
1376
+ audio?: ListAgentsAudio$Outbound | null | undefined;
1377
+ frequency_penalty?: number | null | undefined;
1378
+ max_tokens?: number | null | undefined;
1379
+ max_completion_tokens?: number | null | undefined;
1380
+ logprobs?: boolean | null | undefined;
1381
+ top_logprobs?: number | null | undefined;
1382
+ n?: number | null | undefined;
1383
+ presence_penalty?: number | null | undefined;
1384
+ response_format?: ListAgentsResponseFormat3$Outbound | ListAgentsResponseFormat1$Outbound | ListAgentsResponseFormat2$Outbound | undefined;
1385
+ reasoning_effort?: string | undefined;
1386
+ verbosity?: string | undefined;
1387
+ seed?: number | null | undefined;
1388
+ stop?: string | Array<string> | null | undefined;
1389
+ stream_options?: ListAgentsStreamOptions$Outbound | null | undefined;
1390
+ thinking?: ListAgentsThinking$Outbound | undefined;
1391
+ temperature?: number | null | undefined;
1392
+ top_p?: number | null | undefined;
1393
+ top_k?: number | null | undefined;
1394
+ tool_choice?: ListAgentsToolChoice2$Outbound | string | undefined;
1395
+ parallel_tool_calls?: boolean | undefined;
1396
+ modalities?: Array<string> | null | undefined;
1397
+ web_search_options?: ListAgentsWebSearchOptions$Outbound | undefined;
1398
+ };
1399
+ /** @internal */
1400
+ export declare const ListAgentsParameters$outboundSchema: z.ZodType<ListAgentsParameters$Outbound, z.ZodTypeDef, ListAgentsParameters>;
1401
+ /**
1402
+ * @internal
1403
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1404
+ */
1405
+ export declare namespace ListAgentsParameters$ {
1406
+ /** @deprecated use `ListAgentsParameters$inboundSchema` instead. */
1407
+ const inboundSchema: z.ZodType<ListAgentsParameters, z.ZodTypeDef, unknown>;
1408
+ /** @deprecated use `ListAgentsParameters$outboundSchema` instead. */
1409
+ const outboundSchema: z.ZodType<ListAgentsParameters$Outbound, z.ZodTypeDef, ListAgentsParameters>;
1410
+ /** @deprecated use `ListAgentsParameters$Outbound` instead. */
1411
+ type Outbound = ListAgentsParameters$Outbound;
1412
+ }
1413
+ export declare function listAgentsParametersToJSON(listAgentsParameters: ListAgentsParameters): string;
1414
+ export declare function listAgentsParametersFromJSON(jsonString: string): SafeParseResult<ListAgentsParameters, SDKValidationError>;
1415
+ /** @internal */
1416
+ export declare const ListAgentsFallbackModelsVoice$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelsVoice>;
1417
+ /** @internal */
1418
+ export declare const ListAgentsFallbackModelsVoice$outboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelsVoice>;
1419
+ /**
1420
+ * @internal
1421
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1422
+ */
1423
+ export declare namespace ListAgentsFallbackModelsVoice$ {
1424
+ /** @deprecated use `ListAgentsFallbackModelsVoice$inboundSchema` instead. */
1425
+ const inboundSchema: z.ZodNativeEnum<{
1426
+ readonly Alloy: "alloy";
1427
+ readonly Echo: "echo";
1428
+ readonly Fable: "fable";
1429
+ readonly Onyx: "onyx";
1430
+ readonly Nova: "nova";
1431
+ readonly Shimmer: "shimmer";
1432
+ }>;
1433
+ /** @deprecated use `ListAgentsFallbackModelsVoice$outboundSchema` instead. */
1434
+ const outboundSchema: z.ZodNativeEnum<{
1435
+ readonly Alloy: "alloy";
1436
+ readonly Echo: "echo";
1437
+ readonly Fable: "fable";
1438
+ readonly Onyx: "onyx";
1439
+ readonly Nova: "nova";
1440
+ readonly Shimmer: "shimmer";
1441
+ }>;
1442
+ }
1443
+ /** @internal */
1444
+ export declare const ListAgentsFallbackModelsFormat$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelsFormat>;
1445
+ /** @internal */
1446
+ export declare const ListAgentsFallbackModelsFormat$outboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelsFormat>;
1447
+ /**
1448
+ * @internal
1449
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1450
+ */
1451
+ export declare namespace ListAgentsFallbackModelsFormat$ {
1452
+ /** @deprecated use `ListAgentsFallbackModelsFormat$inboundSchema` instead. */
1453
+ const inboundSchema: z.ZodNativeEnum<{
1454
+ readonly Wav: "wav";
1455
+ readonly Mp3: "mp3";
1456
+ readonly Flac: "flac";
1457
+ readonly Opus: "opus";
1458
+ readonly Pcm16: "pcm16";
1459
+ }>;
1460
+ /** @deprecated use `ListAgentsFallbackModelsFormat$outboundSchema` instead. */
1461
+ const outboundSchema: z.ZodNativeEnum<{
1462
+ readonly Wav: "wav";
1463
+ readonly Mp3: "mp3";
1464
+ readonly Flac: "flac";
1465
+ readonly Opus: "opus";
1466
+ readonly Pcm16: "pcm16";
1467
+ }>;
1468
+ }
1469
+ /** @internal */
1470
+ export declare const ListAgentsFallbackModelsAudio$inboundSchema: z.ZodType<ListAgentsFallbackModelsAudio, z.ZodTypeDef, unknown>;
1471
+ /** @internal */
1472
+ export type ListAgentsFallbackModelsAudio$Outbound = {
1473
+ voice: string;
1474
+ format: string;
1475
+ };
1476
+ /** @internal */
1477
+ export declare const ListAgentsFallbackModelsAudio$outboundSchema: z.ZodType<ListAgentsFallbackModelsAudio$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsAudio>;
1478
+ /**
1479
+ * @internal
1480
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1481
+ */
1482
+ export declare namespace ListAgentsFallbackModelsAudio$ {
1483
+ /** @deprecated use `ListAgentsFallbackModelsAudio$inboundSchema` instead. */
1484
+ const inboundSchema: z.ZodType<ListAgentsFallbackModelsAudio, z.ZodTypeDef, unknown>;
1485
+ /** @deprecated use `ListAgentsFallbackModelsAudio$outboundSchema` instead. */
1486
+ const outboundSchema: z.ZodType<ListAgentsFallbackModelsAudio$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsAudio>;
1487
+ /** @deprecated use `ListAgentsFallbackModelsAudio$Outbound` instead. */
1488
+ type Outbound = ListAgentsFallbackModelsAudio$Outbound;
1489
+ }
1490
+ export declare function listAgentsFallbackModelsAudioToJSON(listAgentsFallbackModelsAudio: ListAgentsFallbackModelsAudio): string;
1491
+ export declare function listAgentsFallbackModelsAudioFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelsAudio, SDKValidationError>;
1492
+ /** @internal */
1493
+ export declare const ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
1494
+ /** @internal */
1495
+ export declare const ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
1496
+ /**
1497
+ * @internal
1498
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1499
+ */
1500
+ export declare namespace ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$ {
1501
+ /** @deprecated use `ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
1502
+ const inboundSchema: z.ZodNativeEnum<{
1503
+ readonly JsonSchema: "json_schema";
1504
+ }>;
1505
+ /** @deprecated use `ListAgentsResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
1506
+ const outboundSchema: z.ZodNativeEnum<{
1507
+ readonly JsonSchema: "json_schema";
1508
+ }>;
1509
+ }
1510
+ /** @internal */
1511
+ export declare const ListAgentsResponseFormatAgentsJsonSchema$inboundSchema: z.ZodType<ListAgentsResponseFormatAgentsJsonSchema, z.ZodTypeDef, unknown>;
1512
+ /** @internal */
1513
+ export type ListAgentsResponseFormatAgentsJsonSchema$Outbound = {
1514
+ description?: string | undefined;
1515
+ name: string;
1516
+ schema?: any | undefined;
1517
+ strict?: boolean | undefined;
1518
+ };
1519
+ /** @internal */
1520
+ export declare const ListAgentsResponseFormatAgentsJsonSchema$outboundSchema: z.ZodType<ListAgentsResponseFormatAgentsJsonSchema$Outbound, z.ZodTypeDef, ListAgentsResponseFormatAgentsJsonSchema>;
1521
+ /**
1522
+ * @internal
1523
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1524
+ */
1525
+ export declare namespace ListAgentsResponseFormatAgentsJsonSchema$ {
1526
+ /** @deprecated use `ListAgentsResponseFormatAgentsJsonSchema$inboundSchema` instead. */
1527
+ const inboundSchema: z.ZodType<ListAgentsResponseFormatAgentsJsonSchema, z.ZodTypeDef, unknown>;
1528
+ /** @deprecated use `ListAgentsResponseFormatAgentsJsonSchema$outboundSchema` instead. */
1529
+ const outboundSchema: z.ZodType<ListAgentsResponseFormatAgentsJsonSchema$Outbound, z.ZodTypeDef, ListAgentsResponseFormatAgentsJsonSchema>;
1530
+ /** @deprecated use `ListAgentsResponseFormatAgentsJsonSchema$Outbound` instead. */
1531
+ type Outbound = ListAgentsResponseFormatAgentsJsonSchema$Outbound;
1532
+ }
1533
+ export declare function listAgentsResponseFormatAgentsJsonSchemaToJSON(listAgentsResponseFormatAgentsJsonSchema: ListAgentsResponseFormatAgentsJsonSchema): string;
1534
+ export declare function listAgentsResponseFormatAgentsJsonSchemaFromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatAgentsJsonSchema, SDKValidationError>;
1535
+ /** @internal */
1536
+ export declare const ListAgentsResponseFormatAgents3$inboundSchema: z.ZodType<ListAgentsResponseFormatAgents3, z.ZodTypeDef, unknown>;
1537
+ /** @internal */
1538
+ export type ListAgentsResponseFormatAgents3$Outbound = {
1539
+ type: string;
1540
+ json_schema: ListAgentsResponseFormatAgentsJsonSchema$Outbound;
1541
+ };
1542
+ /** @internal */
1543
+ export declare const ListAgentsResponseFormatAgents3$outboundSchema: z.ZodType<ListAgentsResponseFormatAgents3$Outbound, z.ZodTypeDef, ListAgentsResponseFormatAgents3>;
1544
+ /**
1545
+ * @internal
1546
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1547
+ */
1548
+ export declare namespace ListAgentsResponseFormatAgents3$ {
1549
+ /** @deprecated use `ListAgentsResponseFormatAgents3$inboundSchema` instead. */
1550
+ const inboundSchema: z.ZodType<ListAgentsResponseFormatAgents3, z.ZodTypeDef, unknown>;
1551
+ /** @deprecated use `ListAgentsResponseFormatAgents3$outboundSchema` instead. */
1552
+ const outboundSchema: z.ZodType<ListAgentsResponseFormatAgents3$Outbound, z.ZodTypeDef, ListAgentsResponseFormatAgents3>;
1553
+ /** @deprecated use `ListAgentsResponseFormatAgents3$Outbound` instead. */
1554
+ type Outbound = ListAgentsResponseFormatAgents3$Outbound;
1555
+ }
1556
+ export declare function listAgentsResponseFormatAgents3ToJSON(listAgentsResponseFormatAgents3: ListAgentsResponseFormatAgents3): string;
1557
+ export declare function listAgentsResponseFormatAgents3FromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatAgents3, SDKValidationError>;
1558
+ /** @internal */
1559
+ export declare const ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatAgentsResponse200ApplicationJSONType>;
1560
+ /** @internal */
1561
+ export declare const ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatAgentsResponse200ApplicationJSONType>;
1562
+ /**
1563
+ * @internal
1564
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1565
+ */
1566
+ export declare namespace ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$ {
1567
+ /** @deprecated use `ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema` instead. */
1568
+ const inboundSchema: z.ZodNativeEnum<{
1569
+ readonly JsonObject: "json_object";
1570
+ }>;
1571
+ /** @deprecated use `ListAgentsResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema` instead. */
1572
+ const outboundSchema: z.ZodNativeEnum<{
1573
+ readonly JsonObject: "json_object";
1574
+ }>;
1575
+ }
1576
+ /** @internal */
1577
+ export declare const ListAgentsResponseFormatAgents2$inboundSchema: z.ZodType<ListAgentsResponseFormatAgents2, z.ZodTypeDef, unknown>;
1578
+ /** @internal */
1579
+ export type ListAgentsResponseFormatAgents2$Outbound = {
1580
+ type: string;
1581
+ };
1582
+ /** @internal */
1583
+ export declare const ListAgentsResponseFormatAgents2$outboundSchema: z.ZodType<ListAgentsResponseFormatAgents2$Outbound, z.ZodTypeDef, ListAgentsResponseFormatAgents2>;
1584
+ /**
1585
+ * @internal
1586
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1587
+ */
1588
+ export declare namespace ListAgentsResponseFormatAgents2$ {
1589
+ /** @deprecated use `ListAgentsResponseFormatAgents2$inboundSchema` instead. */
1590
+ const inboundSchema: z.ZodType<ListAgentsResponseFormatAgents2, z.ZodTypeDef, unknown>;
1591
+ /** @deprecated use `ListAgentsResponseFormatAgents2$outboundSchema` instead. */
1592
+ const outboundSchema: z.ZodType<ListAgentsResponseFormatAgents2$Outbound, z.ZodTypeDef, ListAgentsResponseFormatAgents2>;
1593
+ /** @deprecated use `ListAgentsResponseFormatAgents2$Outbound` instead. */
1594
+ type Outbound = ListAgentsResponseFormatAgents2$Outbound;
1595
+ }
1596
+ export declare function listAgentsResponseFormatAgents2ToJSON(listAgentsResponseFormatAgents2: ListAgentsResponseFormatAgents2): string;
1597
+ export declare function listAgentsResponseFormatAgents2FromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatAgents2, SDKValidationError>;
1598
+ /** @internal */
1599
+ export declare const ListAgentsResponseFormatAgentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatAgentsResponse200Type>;
1600
+ /** @internal */
1601
+ export declare const ListAgentsResponseFormatAgentsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof ListAgentsResponseFormatAgentsResponse200Type>;
1602
+ /**
1603
+ * @internal
1604
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1605
+ */
1606
+ export declare namespace ListAgentsResponseFormatAgentsResponse200Type$ {
1607
+ /** @deprecated use `ListAgentsResponseFormatAgentsResponse200Type$inboundSchema` instead. */
1608
+ const inboundSchema: z.ZodNativeEnum<{
1609
+ readonly Text: "text";
1610
+ }>;
1611
+ /** @deprecated use `ListAgentsResponseFormatAgentsResponse200Type$outboundSchema` instead. */
1612
+ const outboundSchema: z.ZodNativeEnum<{
1613
+ readonly Text: "text";
1614
+ }>;
1615
+ }
1616
+ /** @internal */
1617
+ export declare const ListAgentsResponseFormatAgents1$inboundSchema: z.ZodType<ListAgentsResponseFormatAgents1, z.ZodTypeDef, unknown>;
1618
+ /** @internal */
1619
+ export type ListAgentsResponseFormatAgents1$Outbound = {
1620
+ type: string;
1621
+ };
1622
+ /** @internal */
1623
+ export declare const ListAgentsResponseFormatAgents1$outboundSchema: z.ZodType<ListAgentsResponseFormatAgents1$Outbound, z.ZodTypeDef, ListAgentsResponseFormatAgents1>;
1624
+ /**
1625
+ * @internal
1626
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1627
+ */
1628
+ export declare namespace ListAgentsResponseFormatAgents1$ {
1629
+ /** @deprecated use `ListAgentsResponseFormatAgents1$inboundSchema` instead. */
1630
+ const inboundSchema: z.ZodType<ListAgentsResponseFormatAgents1, z.ZodTypeDef, unknown>;
1631
+ /** @deprecated use `ListAgentsResponseFormatAgents1$outboundSchema` instead. */
1632
+ const outboundSchema: z.ZodType<ListAgentsResponseFormatAgents1$Outbound, z.ZodTypeDef, ListAgentsResponseFormatAgents1>;
1633
+ /** @deprecated use `ListAgentsResponseFormatAgents1$Outbound` instead. */
1634
+ type Outbound = ListAgentsResponseFormatAgents1$Outbound;
1635
+ }
1636
+ export declare function listAgentsResponseFormatAgents1ToJSON(listAgentsResponseFormatAgents1: ListAgentsResponseFormatAgents1): string;
1637
+ export declare function listAgentsResponseFormatAgents1FromJSON(jsonString: string): SafeParseResult<ListAgentsResponseFormatAgents1, SDKValidationError>;
1638
+ /** @internal */
1639
+ export declare const ListAgentsFallbackModelsResponseFormat$inboundSchema: z.ZodType<ListAgentsFallbackModelsResponseFormat, z.ZodTypeDef, unknown>;
1640
+ /** @internal */
1641
+ export type ListAgentsFallbackModelsResponseFormat$Outbound = ListAgentsResponseFormatAgents3$Outbound | ListAgentsResponseFormatAgents1$Outbound | ListAgentsResponseFormatAgents2$Outbound;
1642
+ /** @internal */
1643
+ export declare const ListAgentsFallbackModelsResponseFormat$outboundSchema: z.ZodType<ListAgentsFallbackModelsResponseFormat$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsResponseFormat>;
1644
+ /**
1645
+ * @internal
1646
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1647
+ */
1648
+ export declare namespace ListAgentsFallbackModelsResponseFormat$ {
1649
+ /** @deprecated use `ListAgentsFallbackModelsResponseFormat$inboundSchema` instead. */
1650
+ const inboundSchema: z.ZodType<ListAgentsFallbackModelsResponseFormat, z.ZodTypeDef, unknown>;
1651
+ /** @deprecated use `ListAgentsFallbackModelsResponseFormat$outboundSchema` instead. */
1652
+ const outboundSchema: z.ZodType<ListAgentsFallbackModelsResponseFormat$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsResponseFormat>;
1653
+ /** @deprecated use `ListAgentsFallbackModelsResponseFormat$Outbound` instead. */
1654
+ type Outbound = ListAgentsFallbackModelsResponseFormat$Outbound;
1655
+ }
1656
+ export declare function listAgentsFallbackModelsResponseFormatToJSON(listAgentsFallbackModelsResponseFormat: ListAgentsFallbackModelsResponseFormat): string;
1657
+ export declare function listAgentsFallbackModelsResponseFormatFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelsResponseFormat, SDKValidationError>;
1658
+ /** @internal */
1659
+ export declare const ListAgentsFallbackModelsStop$inboundSchema: z.ZodType<ListAgentsFallbackModelsStop, z.ZodTypeDef, unknown>;
1660
+ /** @internal */
1661
+ export type ListAgentsFallbackModelsStop$Outbound = string | Array<string>;
1662
+ /** @internal */
1663
+ export declare const ListAgentsFallbackModelsStop$outboundSchema: z.ZodType<ListAgentsFallbackModelsStop$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsStop>;
1664
+ /**
1665
+ * @internal
1666
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1667
+ */
1668
+ export declare namespace ListAgentsFallbackModelsStop$ {
1669
+ /** @deprecated use `ListAgentsFallbackModelsStop$inboundSchema` instead. */
1670
+ const inboundSchema: z.ZodType<ListAgentsFallbackModelsStop, z.ZodTypeDef, unknown>;
1671
+ /** @deprecated use `ListAgentsFallbackModelsStop$outboundSchema` instead. */
1672
+ const outboundSchema: z.ZodType<ListAgentsFallbackModelsStop$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsStop>;
1673
+ /** @deprecated use `ListAgentsFallbackModelsStop$Outbound` instead. */
1674
+ type Outbound = ListAgentsFallbackModelsStop$Outbound;
1675
+ }
1676
+ export declare function listAgentsFallbackModelsStopToJSON(listAgentsFallbackModelsStop: ListAgentsFallbackModelsStop): string;
1677
+ export declare function listAgentsFallbackModelsStopFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelsStop, SDKValidationError>;
1678
+ /** @internal */
1679
+ export declare const ListAgentsFallbackModelsStreamOptions$inboundSchema: z.ZodType<ListAgentsFallbackModelsStreamOptions, z.ZodTypeDef, unknown>;
1680
+ /** @internal */
1681
+ export type ListAgentsFallbackModelsStreamOptions$Outbound = {
1682
+ include_usage?: boolean | undefined;
1683
+ };
1684
+ /** @internal */
1685
+ export declare const ListAgentsFallbackModelsStreamOptions$outboundSchema: z.ZodType<ListAgentsFallbackModelsStreamOptions$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsStreamOptions>;
1686
+ /**
1687
+ * @internal
1688
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1689
+ */
1690
+ export declare namespace ListAgentsFallbackModelsStreamOptions$ {
1691
+ /** @deprecated use `ListAgentsFallbackModelsStreamOptions$inboundSchema` instead. */
1692
+ const inboundSchema: z.ZodType<ListAgentsFallbackModelsStreamOptions, z.ZodTypeDef, unknown>;
1693
+ /** @deprecated use `ListAgentsFallbackModelsStreamOptions$outboundSchema` instead. */
1694
+ const outboundSchema: z.ZodType<ListAgentsFallbackModelsStreamOptions$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsStreamOptions>;
1695
+ /** @deprecated use `ListAgentsFallbackModelsStreamOptions$Outbound` instead. */
1696
+ type Outbound = ListAgentsFallbackModelsStreamOptions$Outbound;
1697
+ }
1698
+ export declare function listAgentsFallbackModelsStreamOptionsToJSON(listAgentsFallbackModelsStreamOptions: ListAgentsFallbackModelsStreamOptions): string;
1699
+ export declare function listAgentsFallbackModelsStreamOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelsStreamOptions, SDKValidationError>;
1700
+ /** @internal */
1701
+ export declare const ListAgentsFallbackModelsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelsType>;
1702
+ /** @internal */
1703
+ export declare const ListAgentsFallbackModelsType$outboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelsType>;
1704
+ /**
1705
+ * @internal
1706
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1707
+ */
1708
+ export declare namespace ListAgentsFallbackModelsType$ {
1709
+ /** @deprecated use `ListAgentsFallbackModelsType$inboundSchema` instead. */
1710
+ const inboundSchema: z.ZodNativeEnum<{
1711
+ readonly Enabled: "enabled";
1712
+ readonly Disabled: "disabled";
1713
+ }>;
1714
+ /** @deprecated use `ListAgentsFallbackModelsType$outboundSchema` instead. */
1715
+ const outboundSchema: z.ZodNativeEnum<{
1716
+ readonly Enabled: "enabled";
1717
+ readonly Disabled: "disabled";
1718
+ }>;
1719
+ }
1720
+ /** @internal */
1721
+ export declare const ListAgentsFallbackModelsThinking$inboundSchema: z.ZodType<ListAgentsFallbackModelsThinking, z.ZodTypeDef, unknown>;
1722
+ /** @internal */
1723
+ export type ListAgentsFallbackModelsThinking$Outbound = {
1724
+ type: string;
1725
+ budget_tokens: number;
1726
+ };
1727
+ /** @internal */
1728
+ export declare const ListAgentsFallbackModelsThinking$outboundSchema: z.ZodType<ListAgentsFallbackModelsThinking$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsThinking>;
1729
+ /**
1730
+ * @internal
1731
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1732
+ */
1733
+ export declare namespace ListAgentsFallbackModelsThinking$ {
1734
+ /** @deprecated use `ListAgentsFallbackModelsThinking$inboundSchema` instead. */
1735
+ const inboundSchema: z.ZodType<ListAgentsFallbackModelsThinking, z.ZodTypeDef, unknown>;
1736
+ /** @deprecated use `ListAgentsFallbackModelsThinking$outboundSchema` instead. */
1737
+ const outboundSchema: z.ZodType<ListAgentsFallbackModelsThinking$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsThinking>;
1738
+ /** @deprecated use `ListAgentsFallbackModelsThinking$Outbound` instead. */
1739
+ type Outbound = ListAgentsFallbackModelsThinking$Outbound;
1740
+ }
1741
+ export declare function listAgentsFallbackModelsThinkingToJSON(listAgentsFallbackModelsThinking: ListAgentsFallbackModelsThinking): string;
1742
+ export declare function listAgentsFallbackModelsThinkingFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelsThinking, SDKValidationError>;
1743
+ /** @internal */
1744
+ export declare const ListAgentsToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoiceAgentsType>;
1745
+ /** @internal */
1746
+ export declare const ListAgentsToolChoiceAgentsType$outboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoiceAgentsType>;
1747
+ /**
1748
+ * @internal
1749
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1750
+ */
1751
+ export declare namespace ListAgentsToolChoiceAgentsType$ {
1752
+ /** @deprecated use `ListAgentsToolChoiceAgentsType$inboundSchema` instead. */
1753
+ const inboundSchema: z.ZodNativeEnum<{
1754
+ readonly Function: "function";
1755
+ }>;
1756
+ /** @deprecated use `ListAgentsToolChoiceAgentsType$outboundSchema` instead. */
1757
+ const outboundSchema: z.ZodNativeEnum<{
1758
+ readonly Function: "function";
1759
+ }>;
1760
+ }
1761
+ /** @internal */
1762
+ export declare const ListAgentsToolChoiceAgentsFunction$inboundSchema: z.ZodType<ListAgentsToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
1763
+ /** @internal */
1764
+ export type ListAgentsToolChoiceAgentsFunction$Outbound = {
1765
+ name?: string | undefined;
1766
+ };
1767
+ /** @internal */
1768
+ export declare const ListAgentsToolChoiceAgentsFunction$outboundSchema: z.ZodType<ListAgentsToolChoiceAgentsFunction$Outbound, z.ZodTypeDef, ListAgentsToolChoiceAgentsFunction>;
1769
+ /**
1770
+ * @internal
1771
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1772
+ */
1773
+ export declare namespace ListAgentsToolChoiceAgentsFunction$ {
1774
+ /** @deprecated use `ListAgentsToolChoiceAgentsFunction$inboundSchema` instead. */
1775
+ const inboundSchema: z.ZodType<ListAgentsToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
1776
+ /** @deprecated use `ListAgentsToolChoiceAgentsFunction$outboundSchema` instead. */
1777
+ const outboundSchema: z.ZodType<ListAgentsToolChoiceAgentsFunction$Outbound, z.ZodTypeDef, ListAgentsToolChoiceAgentsFunction>;
1778
+ /** @deprecated use `ListAgentsToolChoiceAgentsFunction$Outbound` instead. */
1779
+ type Outbound = ListAgentsToolChoiceAgentsFunction$Outbound;
1780
+ }
1781
+ export declare function listAgentsToolChoiceAgentsFunctionToJSON(listAgentsToolChoiceAgentsFunction: ListAgentsToolChoiceAgentsFunction): string;
1782
+ export declare function listAgentsToolChoiceAgentsFunctionFromJSON(jsonString: string): SafeParseResult<ListAgentsToolChoiceAgentsFunction, SDKValidationError>;
1783
+ /** @internal */
1784
+ export declare const ListAgentsToolChoiceAgents2$inboundSchema: z.ZodType<ListAgentsToolChoiceAgents2, z.ZodTypeDef, unknown>;
1785
+ /** @internal */
1786
+ export type ListAgentsToolChoiceAgents2$Outbound = {
1787
+ type?: string | undefined;
1788
+ function: ListAgentsToolChoiceAgentsFunction$Outbound;
1789
+ };
1790
+ /** @internal */
1791
+ export declare const ListAgentsToolChoiceAgents2$outboundSchema: z.ZodType<ListAgentsToolChoiceAgents2$Outbound, z.ZodTypeDef, ListAgentsToolChoiceAgents2>;
1792
+ /**
1793
+ * @internal
1794
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1795
+ */
1796
+ export declare namespace ListAgentsToolChoiceAgents2$ {
1797
+ /** @deprecated use `ListAgentsToolChoiceAgents2$inboundSchema` instead. */
1798
+ const inboundSchema: z.ZodType<ListAgentsToolChoiceAgents2, z.ZodTypeDef, unknown>;
1799
+ /** @deprecated use `ListAgentsToolChoiceAgents2$outboundSchema` instead. */
1800
+ const outboundSchema: z.ZodType<ListAgentsToolChoiceAgents2$Outbound, z.ZodTypeDef, ListAgentsToolChoiceAgents2>;
1801
+ /** @deprecated use `ListAgentsToolChoiceAgents2$Outbound` instead. */
1802
+ type Outbound = ListAgentsToolChoiceAgents2$Outbound;
1803
+ }
1804
+ export declare function listAgentsToolChoiceAgents2ToJSON(listAgentsToolChoiceAgents2: ListAgentsToolChoiceAgents2): string;
1805
+ export declare function listAgentsToolChoiceAgents2FromJSON(jsonString: string): SafeParseResult<ListAgentsToolChoiceAgents2, SDKValidationError>;
1806
+ /** @internal */
1807
+ export declare const ListAgentsToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoiceAgents1>;
1808
+ /** @internal */
1809
+ export declare const ListAgentsToolChoiceAgents1$outboundSchema: z.ZodNativeEnum<typeof ListAgentsToolChoiceAgents1>;
1810
+ /**
1811
+ * @internal
1812
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1813
+ */
1814
+ export declare namespace ListAgentsToolChoiceAgents1$ {
1815
+ /** @deprecated use `ListAgentsToolChoiceAgents1$inboundSchema` instead. */
1816
+ const inboundSchema: z.ZodNativeEnum<{
1817
+ readonly None: "none";
1818
+ readonly Auto: "auto";
1819
+ readonly Required: "required";
1820
+ }>;
1821
+ /** @deprecated use `ListAgentsToolChoiceAgents1$outboundSchema` instead. */
1822
+ const outboundSchema: z.ZodNativeEnum<{
1823
+ readonly None: "none";
1824
+ readonly Auto: "auto";
1825
+ readonly Required: "required";
1826
+ }>;
1827
+ }
1828
+ /** @internal */
1829
+ export declare const ListAgentsFallbackModelsToolChoice$inboundSchema: z.ZodType<ListAgentsFallbackModelsToolChoice, z.ZodTypeDef, unknown>;
1830
+ /** @internal */
1831
+ export type ListAgentsFallbackModelsToolChoice$Outbound = ListAgentsToolChoiceAgents2$Outbound | string;
1832
+ /** @internal */
1833
+ export declare const ListAgentsFallbackModelsToolChoice$outboundSchema: z.ZodType<ListAgentsFallbackModelsToolChoice$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsToolChoice>;
1834
+ /**
1835
+ * @internal
1836
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1837
+ */
1838
+ export declare namespace ListAgentsFallbackModelsToolChoice$ {
1839
+ /** @deprecated use `ListAgentsFallbackModelsToolChoice$inboundSchema` instead. */
1840
+ const inboundSchema: z.ZodType<ListAgentsFallbackModelsToolChoice, z.ZodTypeDef, unknown>;
1841
+ /** @deprecated use `ListAgentsFallbackModelsToolChoice$outboundSchema` instead. */
1842
+ const outboundSchema: z.ZodType<ListAgentsFallbackModelsToolChoice$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsToolChoice>;
1843
+ /** @deprecated use `ListAgentsFallbackModelsToolChoice$Outbound` instead. */
1844
+ type Outbound = ListAgentsFallbackModelsToolChoice$Outbound;
1845
+ }
1846
+ export declare function listAgentsFallbackModelsToolChoiceToJSON(listAgentsFallbackModelsToolChoice: ListAgentsFallbackModelsToolChoice): string;
1847
+ export declare function listAgentsFallbackModelsToolChoiceFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelsToolChoice, SDKValidationError>;
1848
+ /** @internal */
1849
+ export declare const ListAgentsFallbackModelsModalities$inboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelsModalities>;
1850
+ /** @internal */
1851
+ export declare const ListAgentsFallbackModelsModalities$outboundSchema: z.ZodNativeEnum<typeof ListAgentsFallbackModelsModalities>;
1852
+ /**
1853
+ * @internal
1854
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1855
+ */
1856
+ export declare namespace ListAgentsFallbackModelsModalities$ {
1857
+ /** @deprecated use `ListAgentsFallbackModelsModalities$inboundSchema` instead. */
1858
+ const inboundSchema: z.ZodNativeEnum<{
1859
+ readonly Text: "text";
1860
+ readonly Audio: "audio";
1861
+ }>;
1862
+ /** @deprecated use `ListAgentsFallbackModelsModalities$outboundSchema` instead. */
1863
+ const outboundSchema: z.ZodNativeEnum<{
1864
+ readonly Text: "text";
1865
+ readonly Audio: "audio";
1866
+ }>;
1867
+ }
1868
+ /** @internal */
1869
+ export declare const ListAgentsFallbackModelsWebSearchOptions$inboundSchema: z.ZodType<ListAgentsFallbackModelsWebSearchOptions, z.ZodTypeDef, unknown>;
1870
+ /** @internal */
1871
+ export type ListAgentsFallbackModelsWebSearchOptions$Outbound = {
1872
+ enabled?: boolean | undefined;
1873
+ };
1874
+ /** @internal */
1875
+ export declare const ListAgentsFallbackModelsWebSearchOptions$outboundSchema: z.ZodType<ListAgentsFallbackModelsWebSearchOptions$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsWebSearchOptions>;
1876
+ /**
1877
+ * @internal
1878
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1879
+ */
1880
+ export declare namespace ListAgentsFallbackModelsWebSearchOptions$ {
1881
+ /** @deprecated use `ListAgentsFallbackModelsWebSearchOptions$inboundSchema` instead. */
1882
+ const inboundSchema: z.ZodType<ListAgentsFallbackModelsWebSearchOptions, z.ZodTypeDef, unknown>;
1883
+ /** @deprecated use `ListAgentsFallbackModelsWebSearchOptions$outboundSchema` instead. */
1884
+ const outboundSchema: z.ZodType<ListAgentsFallbackModelsWebSearchOptions$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsWebSearchOptions>;
1885
+ /** @deprecated use `ListAgentsFallbackModelsWebSearchOptions$Outbound` instead. */
1886
+ type Outbound = ListAgentsFallbackModelsWebSearchOptions$Outbound;
1887
+ }
1888
+ export declare function listAgentsFallbackModelsWebSearchOptionsToJSON(listAgentsFallbackModelsWebSearchOptions: ListAgentsFallbackModelsWebSearchOptions): string;
1889
+ export declare function listAgentsFallbackModelsWebSearchOptionsFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelsWebSearchOptions, SDKValidationError>;
1890
+ /** @internal */
1891
+ export declare const ListAgentsFallbackModelsParameters$inboundSchema: z.ZodType<ListAgentsFallbackModelsParameters, z.ZodTypeDef, unknown>;
1892
+ /** @internal */
1893
+ export type ListAgentsFallbackModelsParameters$Outbound = {
1894
+ audio?: ListAgentsFallbackModelsAudio$Outbound | null | undefined;
1895
+ frequency_penalty?: number | null | undefined;
1896
+ max_tokens?: number | null | undefined;
1897
+ max_completion_tokens?: number | null | undefined;
1898
+ logprobs?: boolean | null | undefined;
1899
+ top_logprobs?: number | null | undefined;
1900
+ n?: number | null | undefined;
1901
+ presence_penalty?: number | null | undefined;
1902
+ response_format?: ListAgentsResponseFormatAgents3$Outbound | ListAgentsResponseFormatAgents1$Outbound | ListAgentsResponseFormatAgents2$Outbound | undefined;
1903
+ reasoning_effort?: string | undefined;
1904
+ verbosity?: string | undefined;
1905
+ seed?: number | null | undefined;
1906
+ stop?: string | Array<string> | null | undefined;
1907
+ stream_options?: ListAgentsFallbackModelsStreamOptions$Outbound | null | undefined;
1908
+ thinking?: ListAgentsFallbackModelsThinking$Outbound | undefined;
1909
+ temperature?: number | null | undefined;
1910
+ top_p?: number | null | undefined;
1911
+ top_k?: number | null | undefined;
1912
+ tool_choice?: ListAgentsToolChoiceAgents2$Outbound | string | undefined;
1913
+ parallel_tool_calls?: boolean | undefined;
1914
+ modalities?: Array<string> | null | undefined;
1915
+ web_search_options?: ListAgentsFallbackModelsWebSearchOptions$Outbound | undefined;
1916
+ };
1917
+ /** @internal */
1918
+ export declare const ListAgentsFallbackModelsParameters$outboundSchema: z.ZodType<ListAgentsFallbackModelsParameters$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsParameters>;
1919
+ /**
1920
+ * @internal
1921
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1922
+ */
1923
+ export declare namespace ListAgentsFallbackModelsParameters$ {
1924
+ /** @deprecated use `ListAgentsFallbackModelsParameters$inboundSchema` instead. */
1925
+ const inboundSchema: z.ZodType<ListAgentsFallbackModelsParameters, z.ZodTypeDef, unknown>;
1926
+ /** @deprecated use `ListAgentsFallbackModelsParameters$outboundSchema` instead. */
1927
+ const outboundSchema: z.ZodType<ListAgentsFallbackModelsParameters$Outbound, z.ZodTypeDef, ListAgentsFallbackModelsParameters>;
1928
+ /** @deprecated use `ListAgentsFallbackModelsParameters$Outbound` instead. */
1929
+ type Outbound = ListAgentsFallbackModelsParameters$Outbound;
1930
+ }
1931
+ export declare function listAgentsFallbackModelsParametersToJSON(listAgentsFallbackModelsParameters: ListAgentsFallbackModelsParameters): string;
1932
+ export declare function listAgentsFallbackModelsParametersFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModelsParameters, SDKValidationError>;
1933
+ /** @internal */
1934
+ export declare const ListAgentsFallbackModels2$inboundSchema: z.ZodType<ListAgentsFallbackModels2, z.ZodTypeDef, unknown>;
1935
+ /** @internal */
1936
+ export type ListAgentsFallbackModels2$Outbound = {
1937
+ id: string;
1938
+ integration_id?: string | null | undefined;
1939
+ parameters?: ListAgentsFallbackModelsParameters$Outbound | undefined;
1940
+ };
1941
+ /** @internal */
1942
+ export declare const ListAgentsFallbackModels2$outboundSchema: z.ZodType<ListAgentsFallbackModels2$Outbound, z.ZodTypeDef, ListAgentsFallbackModels2>;
1943
+ /**
1944
+ * @internal
1945
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1946
+ */
1947
+ export declare namespace ListAgentsFallbackModels2$ {
1948
+ /** @deprecated use `ListAgentsFallbackModels2$inboundSchema` instead. */
1949
+ const inboundSchema: z.ZodType<ListAgentsFallbackModels2, z.ZodTypeDef, unknown>;
1950
+ /** @deprecated use `ListAgentsFallbackModels2$outboundSchema` instead. */
1951
+ const outboundSchema: z.ZodType<ListAgentsFallbackModels2$Outbound, z.ZodTypeDef, ListAgentsFallbackModels2>;
1952
+ /** @deprecated use `ListAgentsFallbackModels2$Outbound` instead. */
1953
+ type Outbound = ListAgentsFallbackModels2$Outbound;
1954
+ }
1955
+ export declare function listAgentsFallbackModels2ToJSON(listAgentsFallbackModels2: ListAgentsFallbackModels2): string;
1956
+ export declare function listAgentsFallbackModels2FromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModels2, SDKValidationError>;
1957
+ /** @internal */
1958
+ export declare const ListAgentsFallbackModels$inboundSchema: z.ZodType<ListAgentsFallbackModels, z.ZodTypeDef, unknown>;
1959
+ /** @internal */
1960
+ export type ListAgentsFallbackModels$Outbound = ListAgentsFallbackModels2$Outbound | string;
1961
+ /** @internal */
1962
+ export declare const ListAgentsFallbackModels$outboundSchema: z.ZodType<ListAgentsFallbackModels$Outbound, z.ZodTypeDef, ListAgentsFallbackModels>;
1963
+ /**
1964
+ * @internal
1965
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1966
+ */
1967
+ export declare namespace ListAgentsFallbackModels$ {
1968
+ /** @deprecated use `ListAgentsFallbackModels$inboundSchema` instead. */
1969
+ const inboundSchema: z.ZodType<ListAgentsFallbackModels, z.ZodTypeDef, unknown>;
1970
+ /** @deprecated use `ListAgentsFallbackModels$outboundSchema` instead. */
1971
+ const outboundSchema: z.ZodType<ListAgentsFallbackModels$Outbound, z.ZodTypeDef, ListAgentsFallbackModels>;
1972
+ /** @deprecated use `ListAgentsFallbackModels$Outbound` instead. */
1973
+ type Outbound = ListAgentsFallbackModels$Outbound;
1974
+ }
1975
+ export declare function listAgentsFallbackModelsToJSON(listAgentsFallbackModels: ListAgentsFallbackModels): string;
1976
+ export declare function listAgentsFallbackModelsFromJSON(jsonString: string): SafeParseResult<ListAgentsFallbackModels, SDKValidationError>;
1977
+ /** @internal */
374
1978
  export declare const ListAgentsModel$inboundSchema: z.ZodType<ListAgentsModel, z.ZodTypeDef, unknown>;
375
1979
  /** @internal */
376
1980
  export type ListAgentsModel$Outbound = {
377
1981
  id: string;
378
1982
  integration_id?: string | null | undefined;
379
- fallback_models?: Array<string> | null | undefined;
380
- max_tokens?: number | undefined;
381
- temperature?: number | undefined;
1983
+ parameters?: ListAgentsParameters$Outbound | undefined;
1984
+ fallback_models?: Array<ListAgentsFallbackModels2$Outbound | string> | null | undefined;
382
1985
  };
383
1986
  /** @internal */
384
1987
  export declare const ListAgentsModel$outboundSchema: z.ZodType<ListAgentsModel$Outbound, z.ZodTypeDef, ListAgentsModel>;