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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/bin/mcp-server.js +7487 -543
  2. package/bin/mcp-server.js.map +52 -52
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createagent.d.ts +4141 -865
  10. package/models/operations/createagent.d.ts.map +1 -1
  11. package/models/operations/createagent.js +3767 -768
  12. package/models/operations/createagent.js.map +1 -1
  13. package/models/operations/createbudget.js +2 -2
  14. package/models/operations/createcontact.js +2 -2
  15. package/models/operations/createdataset.js +2 -2
  16. package/models/operations/createdatasetitem.js +8 -8
  17. package/models/operations/createdatasource.js +2 -2
  18. package/models/operations/createeval.js +28 -28
  19. package/models/operations/creatememorystore.d.ts +42 -42
  20. package/models/operations/creatememorystore.d.ts.map +1 -1
  21. package/models/operations/creatememorystore.js +61 -63
  22. package/models/operations/creatememorystore.js.map +1 -1
  23. package/models/operations/createprompt.d.ts +263 -263
  24. package/models/operations/createprompt.d.ts.map +1 -1
  25. package/models/operations/createprompt.js +345 -345
  26. package/models/operations/createprompt.js.map +1 -1
  27. package/models/operations/createtool.js +10 -10
  28. package/models/operations/deploymentgetconfig.d.ts +19 -19
  29. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  30. package/models/operations/deploymentgetconfig.js +22 -22
  31. package/models/operations/deploymentgetconfig.js.map +1 -1
  32. package/models/operations/deployments.d.ts +4 -4
  33. package/models/operations/deployments.d.ts.map +1 -1
  34. package/models/operations/deployments.js +4 -4
  35. package/models/operations/deployments.js.map +1 -1
  36. package/models/operations/duplicatetool.js +10 -10
  37. package/models/operations/fileget.js +2 -2
  38. package/models/operations/filelist.js +2 -2
  39. package/models/operations/fileupload.js +2 -2
  40. package/models/operations/getagent.d.ts +1614 -11
  41. package/models/operations/getagent.d.ts.map +1 -1
  42. package/models/operations/getagent.js +1475 -9
  43. package/models/operations/getagent.js.map +1 -1
  44. package/models/operations/getallprompts.d.ts +4 -4
  45. package/models/operations/getallprompts.d.ts.map +1 -1
  46. package/models/operations/getallprompts.js +4 -4
  47. package/models/operations/getallprompts.js.map +1 -1
  48. package/models/operations/getalltools.js +10 -10
  49. package/models/operations/getbudget.js +2 -2
  50. package/models/operations/getevals.js +28 -28
  51. package/models/operations/getoneprompt.d.ts +4 -4
  52. package/models/operations/getoneprompt.d.ts.map +1 -1
  53. package/models/operations/getoneprompt.js +4 -4
  54. package/models/operations/getoneprompt.js.map +1 -1
  55. package/models/operations/getpromptversion.d.ts +4 -4
  56. package/models/operations/getpromptversion.d.ts.map +1 -1
  57. package/models/operations/getpromptversion.js +4 -4
  58. package/models/operations/getpromptversion.js.map +1 -1
  59. package/models/operations/listagents.d.ts +1614 -11
  60. package/models/operations/listagents.d.ts.map +1 -1
  61. package/models/operations/listagents.js +1481 -9
  62. package/models/operations/listagents.js.map +1 -1
  63. package/models/operations/listagenttasks.d.ts +1614 -11
  64. package/models/operations/listagenttasks.d.ts.map +1 -1
  65. package/models/operations/listagenttasks.js +1479 -9
  66. package/models/operations/listagenttasks.js.map +1 -1
  67. package/models/operations/listbudgets.js +2 -2
  68. package/models/operations/listcontacts.js +2 -2
  69. package/models/operations/listdatasetdatapoints.js +8 -8
  70. package/models/operations/listdatasets.js +2 -2
  71. package/models/operations/listdatasources.js +2 -2
  72. package/models/operations/listpromptversions.d.ts +4 -4
  73. package/models/operations/listpromptversions.d.ts.map +1 -1
  74. package/models/operations/listpromptversions.js +4 -4
  75. package/models/operations/listpromptversions.js.map +1 -1
  76. package/models/operations/retrievecontact.js +2 -2
  77. package/models/operations/retrievedatapoint.js +8 -8
  78. package/models/operations/retrievedataset.js +2 -2
  79. package/models/operations/retrievedatasource.js +2 -2
  80. package/models/operations/retrievetool.js +10 -10
  81. package/models/operations/runagent.d.ts +2176 -503
  82. package/models/operations/runagent.d.ts.map +1 -1
  83. package/models/operations/runagent.js +1534 -9
  84. package/models/operations/runagent.js.map +1 -1
  85. package/models/operations/streamrunagent.d.ts +2128 -455
  86. package/models/operations/streamrunagent.d.ts.map +1 -1
  87. package/models/operations/streamrunagent.js +1630 -89
  88. package/models/operations/streamrunagent.js.map +1 -1
  89. package/models/operations/updateagent.d.ts +4129 -853
  90. package/models/operations/updateagent.d.ts.map +1 -1
  91. package/models/operations/updateagent.js +3837 -825
  92. package/models/operations/updateagent.js.map +1 -1
  93. package/models/operations/updatebudget.js +2 -2
  94. package/models/operations/updatecontact.js +2 -2
  95. package/models/operations/updatedatapoint.js +8 -8
  96. package/models/operations/updatedataset.js +2 -2
  97. package/models/operations/updatedatasource.js +2 -2
  98. package/models/operations/updateeval.js +28 -28
  99. package/models/operations/updateprompt.d.ts +8 -8
  100. package/models/operations/updateprompt.d.ts.map +1 -1
  101. package/models/operations/updateprompt.js +8 -8
  102. package/models/operations/updateprompt.js.map +1 -1
  103. package/models/operations/updatetool.js +10 -10
  104. package/package.json +1 -1
  105. package/src/lib/config.ts +2 -2
  106. package/src/mcp-server/mcp-server.ts +1 -1
  107. package/src/mcp-server/server.ts +1 -1
  108. package/src/models/operations/createagent.ts +7853 -1626
  109. package/src/models/operations/createbudget.ts +2 -2
  110. package/src/models/operations/createcontact.ts +2 -2
  111. package/src/models/operations/createdataset.ts +2 -2
  112. package/src/models/operations/createdatasetitem.ts +8 -8
  113. package/src/models/operations/createdatasource.ts +2 -2
  114. package/src/models/operations/createeval.ts +28 -28
  115. package/src/models/operations/creatememorystore.ts +120 -103
  116. package/src/models/operations/createprompt.ts +742 -621
  117. package/src/models/operations/createtool.ts +10 -10
  118. package/src/models/operations/deploymentgetconfig.ts +60 -44
  119. package/src/models/operations/deployments.ts +25 -20
  120. package/src/models/operations/duplicatetool.ts +10 -10
  121. package/src/models/operations/fileget.ts +2 -2
  122. package/src/models/operations/filelist.ts +2 -2
  123. package/src/models/operations/fileupload.ts +2 -2
  124. package/src/models/operations/getagent.ts +3274 -246
  125. package/src/models/operations/getallprompts.ts +30 -20
  126. package/src/models/operations/getalltools.ts +10 -10
  127. package/src/models/operations/getbudget.ts +2 -2
  128. package/src/models/operations/getevals.ts +28 -28
  129. package/src/models/operations/getoneprompt.ts +28 -20
  130. package/src/models/operations/getpromptversion.ts +30 -20
  131. package/src/models/operations/listagents.ts +3351 -270
  132. package/src/models/operations/listagenttasks.ts +3347 -180
  133. package/src/models/operations/listbudgets.ts +2 -2
  134. package/src/models/operations/listcontacts.ts +2 -2
  135. package/src/models/operations/listdatasetdatapoints.ts +8 -8
  136. package/src/models/operations/listdatasets.ts +2 -2
  137. package/src/models/operations/listdatasources.ts +2 -2
  138. package/src/models/operations/listpromptversions.ts +30 -20
  139. package/src/models/operations/retrievecontact.ts +2 -2
  140. package/src/models/operations/retrievedatapoint.ts +8 -8
  141. package/src/models/operations/retrievedataset.ts +2 -2
  142. package/src/models/operations/retrievedatasource.ts +2 -2
  143. package/src/models/operations/retrievetool.ts +10 -10
  144. package/src/models/operations/runagent.ts +3799 -610
  145. package/src/models/operations/streamrunagent.ts +3945 -605
  146. package/src/models/operations/updateagent.ts +8331 -1757
  147. package/src/models/operations/updatebudget.ts +2 -2
  148. package/src/models/operations/updatecontact.ts +2 -2
  149. package/src/models/operations/updatedatapoint.ts +8 -8
  150. package/src/models/operations/updatedataset.ts +2 -2
  151. package/src/models/operations/updatedatasource.ts +2 -2
  152. package/src/models/operations/updateeval.ts +28 -28
  153. package/src/models/operations/updateprompt.ts +58 -40
  154. package/src/models/operations/updatetool.ts +10 -10
@@ -84,6 +84,534 @@ export type GetAgentSettings = {
84
84
  toolApprovalRequired?: GetAgentToolApprovalRequired | undefined;
85
85
  tools?: Array<GetAgentTools> | undefined;
86
86
  };
87
+ /**
88
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
89
+ */
90
+ export declare const GetAgentVoice: {
91
+ readonly Alloy: "alloy";
92
+ readonly Echo: "echo";
93
+ readonly Fable: "fable";
94
+ readonly Onyx: "onyx";
95
+ readonly Nova: "nova";
96
+ readonly Shimmer: "shimmer";
97
+ };
98
+ /**
99
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
100
+ */
101
+ export type GetAgentVoice = ClosedEnum<typeof GetAgentVoice>;
102
+ /**
103
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
104
+ */
105
+ export declare const GetAgentFormat: {
106
+ readonly Wav: "wav";
107
+ readonly Mp3: "mp3";
108
+ readonly Flac: "flac";
109
+ readonly Opus: "opus";
110
+ readonly Pcm16: "pcm16";
111
+ };
112
+ /**
113
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
114
+ */
115
+ export type GetAgentFormat = ClosedEnum<typeof GetAgentFormat>;
116
+ /**
117
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
118
+ */
119
+ export type GetAgentAudio = {
120
+ /**
121
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
122
+ */
123
+ voice: GetAgentVoice;
124
+ /**
125
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
126
+ */
127
+ format: GetAgentFormat;
128
+ };
129
+ export declare const GetAgentResponseFormatAgentsResponseType: {
130
+ readonly JsonSchema: "json_schema";
131
+ };
132
+ export type GetAgentResponseFormatAgentsResponseType = ClosedEnum<typeof GetAgentResponseFormatAgentsResponseType>;
133
+ export type GetAgentResponseFormatJsonSchema = {
134
+ /**
135
+ * A description of what the response format is for, used by the model to determine how to respond in the format.
136
+ */
137
+ description?: string | undefined;
138
+ /**
139
+ * 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.
140
+ */
141
+ name: string;
142
+ /**
143
+ * The schema for the response format, described as a JSON Schema object.
144
+ */
145
+ schema?: any | undefined;
146
+ /**
147
+ * 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.
148
+ */
149
+ strict?: boolean | undefined;
150
+ };
151
+ export type GetAgentResponseFormat3 = {
152
+ type: GetAgentResponseFormatAgentsResponseType;
153
+ jsonSchema: GetAgentResponseFormatJsonSchema;
154
+ };
155
+ export declare const GetAgentResponseFormatAgentsType: {
156
+ readonly JsonObject: "json_object";
157
+ };
158
+ export type GetAgentResponseFormatAgentsType = ClosedEnum<typeof GetAgentResponseFormatAgentsType>;
159
+ export type GetAgentResponseFormat2 = {
160
+ type: GetAgentResponseFormatAgentsType;
161
+ };
162
+ export declare const GetAgentResponseFormatType: {
163
+ readonly Text: "text";
164
+ };
165
+ export type GetAgentResponseFormatType = ClosedEnum<typeof GetAgentResponseFormatType>;
166
+ export type GetAgentResponseFormat1 = {
167
+ type: GetAgentResponseFormatType;
168
+ };
169
+ /**
170
+ * An object specifying the format that the model must output
171
+ */
172
+ export type GetAgentResponseFormat = GetAgentResponseFormat3 | GetAgentResponseFormat1 | GetAgentResponseFormat2;
173
+ /**
174
+ * Up to 4 sequences where the API will stop generating further tokens.
175
+ */
176
+ export type GetAgentStop = string | Array<string>;
177
+ /**
178
+ * Options for streaming response. Only set this when you set stream: true.
179
+ */
180
+ export type GetAgentStreamOptions = {
181
+ /**
182
+ * 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.
183
+ */
184
+ includeUsage?: boolean | undefined;
185
+ };
186
+ /**
187
+ * Enables or disables the thinking mode capability
188
+ */
189
+ export declare const GetAgentType: {
190
+ readonly Enabled: "enabled";
191
+ readonly Disabled: "disabled";
192
+ };
193
+ /**
194
+ * Enables or disables the thinking mode capability
195
+ */
196
+ export type GetAgentType = ClosedEnum<typeof GetAgentType>;
197
+ export type GetAgentThinking = {
198
+ /**
199
+ * Enables or disables the thinking mode capability
200
+ */
201
+ type: GetAgentType;
202
+ /**
203
+ * 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`.
204
+ */
205
+ budgetTokens: number;
206
+ };
207
+ /**
208
+ * The type of the tool. Currently, only function is supported.
209
+ */
210
+ export declare const GetAgentToolChoiceType: {
211
+ readonly Function: "function";
212
+ };
213
+ /**
214
+ * The type of the tool. Currently, only function is supported.
215
+ */
216
+ export type GetAgentToolChoiceType = ClosedEnum<typeof GetAgentToolChoiceType>;
217
+ export type GetAgentToolChoiceFunction = {
218
+ /**
219
+ * The name of the function to call.
220
+ */
221
+ name?: string | undefined;
222
+ };
223
+ export type GetAgentToolChoice2 = {
224
+ /**
225
+ * The type of the tool. Currently, only function is supported.
226
+ */
227
+ type?: GetAgentToolChoiceType | undefined;
228
+ function: GetAgentToolChoiceFunction;
229
+ };
230
+ export declare const GetAgentToolChoice1: {
231
+ readonly None: "none";
232
+ readonly Auto: "auto";
233
+ readonly Required: "required";
234
+ };
235
+ export type GetAgentToolChoice1 = ClosedEnum<typeof GetAgentToolChoice1>;
236
+ /**
237
+ * Controls which (if any) tool is called by the model.
238
+ */
239
+ export type GetAgentToolChoice = GetAgentToolChoice2 | GetAgentToolChoice1;
240
+ export declare const GetAgentModalities: {
241
+ readonly Text: "text";
242
+ readonly Audio: "audio";
243
+ };
244
+ export type GetAgentModalities = ClosedEnum<typeof GetAgentModalities>;
245
+ /**
246
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
247
+ */
248
+ export type GetAgentWebSearchOptions = {
249
+ /**
250
+ * Whether to enable web search for this request.
251
+ */
252
+ enabled?: boolean | undefined;
253
+ };
254
+ /**
255
+ * 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.
256
+ */
257
+ export type GetAgentParameters = {
258
+ /**
259
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
260
+ */
261
+ audio?: GetAgentAudio | null | undefined;
262
+ /**
263
+ * 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.
264
+ */
265
+ frequencyPenalty?: number | null | undefined;
266
+ /**
267
+ * `[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.
268
+ *
269
+ * @remarks
270
+ *
271
+ * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
272
+ */
273
+ maxTokens?: number | null | undefined;
274
+ /**
275
+ * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
276
+ */
277
+ maxCompletionTokens?: number | null | undefined;
278
+ /**
279
+ * 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.
280
+ */
281
+ logprobs?: boolean | null | undefined;
282
+ /**
283
+ * 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.
284
+ */
285
+ topLogprobs?: number | null | undefined;
286
+ /**
287
+ * 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.
288
+ */
289
+ n?: number | null | undefined;
290
+ /**
291
+ * 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.
292
+ */
293
+ presencePenalty?: number | null | undefined;
294
+ /**
295
+ * An object specifying the format that the model must output
296
+ */
297
+ responseFormat?: GetAgentResponseFormat3 | GetAgentResponseFormat1 | GetAgentResponseFormat2 | undefined;
298
+ /**
299
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
300
+ */
301
+ reasoningEffort?: string | undefined;
302
+ /**
303
+ * Adjusts response verbosity. Lower levels yield shorter answers.
304
+ */
305
+ verbosity?: string | undefined;
306
+ /**
307
+ * 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.
308
+ */
309
+ seed?: number | null | undefined;
310
+ /**
311
+ * Up to 4 sequences where the API will stop generating further tokens.
312
+ */
313
+ stop?: string | Array<string> | null | undefined;
314
+ /**
315
+ * Options for streaming response. Only set this when you set stream: true.
316
+ */
317
+ streamOptions?: GetAgentStreamOptions | null | undefined;
318
+ thinking?: GetAgentThinking | undefined;
319
+ /**
320
+ * 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.
321
+ */
322
+ temperature?: number | null | undefined;
323
+ /**
324
+ * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
325
+ */
326
+ topP?: number | null | undefined;
327
+ /**
328
+ * Limits the model to consider only the top k most likely tokens at each step.
329
+ */
330
+ topK?: number | null | undefined;
331
+ /**
332
+ * Controls which (if any) tool is called by the model.
333
+ */
334
+ toolChoice?: GetAgentToolChoice2 | GetAgentToolChoice1 | undefined;
335
+ /**
336
+ * Whether to enable parallel function calling during tool use.
337
+ */
338
+ parallelToolCalls?: boolean | undefined;
339
+ /**
340
+ * 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"].
341
+ */
342
+ modalities?: Array<GetAgentModalities> | null | undefined;
343
+ /**
344
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
345
+ */
346
+ webSearchOptions?: GetAgentWebSearchOptions | undefined;
347
+ };
348
+ /**
349
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
350
+ */
351
+ export declare const GetAgentFallbackModelsVoice: {
352
+ readonly Alloy: "alloy";
353
+ readonly Echo: "echo";
354
+ readonly Fable: "fable";
355
+ readonly Onyx: "onyx";
356
+ readonly Nova: "nova";
357
+ readonly Shimmer: "shimmer";
358
+ };
359
+ /**
360
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
361
+ */
362
+ export type GetAgentFallbackModelsVoice = ClosedEnum<typeof GetAgentFallbackModelsVoice>;
363
+ /**
364
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
365
+ */
366
+ export declare const GetAgentFallbackModelsFormat: {
367
+ readonly Wav: "wav";
368
+ readonly Mp3: "mp3";
369
+ readonly Flac: "flac";
370
+ readonly Opus: "opus";
371
+ readonly Pcm16: "pcm16";
372
+ };
373
+ /**
374
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
375
+ */
376
+ export type GetAgentFallbackModelsFormat = ClosedEnum<typeof GetAgentFallbackModelsFormat>;
377
+ /**
378
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
379
+ */
380
+ export type GetAgentFallbackModelsAudio = {
381
+ /**
382
+ * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
383
+ */
384
+ voice: GetAgentFallbackModelsVoice;
385
+ /**
386
+ * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
387
+ */
388
+ format: GetAgentFallbackModelsFormat;
389
+ };
390
+ export declare const GetAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyType: {
391
+ readonly JsonSchema: "json_schema";
392
+ };
393
+ export type GetAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof GetAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
394
+ export type GetAgentResponseFormatAgentsJsonSchema = {
395
+ /**
396
+ * A description of what the response format is for, used by the model to determine how to respond in the format.
397
+ */
398
+ description?: string | undefined;
399
+ /**
400
+ * 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.
401
+ */
402
+ name: string;
403
+ /**
404
+ * The schema for the response format, described as a JSON Schema object.
405
+ */
406
+ schema?: any | undefined;
407
+ /**
408
+ * 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.
409
+ */
410
+ strict?: boolean | undefined;
411
+ };
412
+ export type GetAgentResponseFormatAgents3 = {
413
+ type: GetAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyType;
414
+ jsonSchema: GetAgentResponseFormatAgentsJsonSchema;
415
+ };
416
+ export declare const GetAgentResponseFormatAgentsResponse200ApplicationJSONType: {
417
+ readonly JsonObject: "json_object";
418
+ };
419
+ export type GetAgentResponseFormatAgentsResponse200ApplicationJSONType = ClosedEnum<typeof GetAgentResponseFormatAgentsResponse200ApplicationJSONType>;
420
+ export type GetAgentResponseFormatAgents2 = {
421
+ type: GetAgentResponseFormatAgentsResponse200ApplicationJSONType;
422
+ };
423
+ export declare const GetAgentResponseFormatAgentsResponse200Type: {
424
+ readonly Text: "text";
425
+ };
426
+ export type GetAgentResponseFormatAgentsResponse200Type = ClosedEnum<typeof GetAgentResponseFormatAgentsResponse200Type>;
427
+ export type GetAgentResponseFormatAgents1 = {
428
+ type: GetAgentResponseFormatAgentsResponse200Type;
429
+ };
430
+ /**
431
+ * An object specifying the format that the model must output
432
+ */
433
+ export type GetAgentFallbackModelsResponseFormat = GetAgentResponseFormatAgents3 | GetAgentResponseFormatAgents1 | GetAgentResponseFormatAgents2;
434
+ /**
435
+ * Up to 4 sequences where the API will stop generating further tokens.
436
+ */
437
+ export type GetAgentFallbackModelsStop = string | Array<string>;
438
+ /**
439
+ * Options for streaming response. Only set this when you set stream: true.
440
+ */
441
+ export type GetAgentFallbackModelsStreamOptions = {
442
+ /**
443
+ * 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.
444
+ */
445
+ includeUsage?: boolean | undefined;
446
+ };
447
+ /**
448
+ * Enables or disables the thinking mode capability
449
+ */
450
+ export declare const GetAgentFallbackModelsType: {
451
+ readonly Enabled: "enabled";
452
+ readonly Disabled: "disabled";
453
+ };
454
+ /**
455
+ * Enables or disables the thinking mode capability
456
+ */
457
+ export type GetAgentFallbackModelsType = ClosedEnum<typeof GetAgentFallbackModelsType>;
458
+ export type GetAgentFallbackModelsThinking = {
459
+ /**
460
+ * Enables or disables the thinking mode capability
461
+ */
462
+ type: GetAgentFallbackModelsType;
463
+ /**
464
+ * 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`.
465
+ */
466
+ budgetTokens: number;
467
+ };
468
+ /**
469
+ * The type of the tool. Currently, only function is supported.
470
+ */
471
+ export declare const GetAgentToolChoiceAgentsType: {
472
+ readonly Function: "function";
473
+ };
474
+ /**
475
+ * The type of the tool. Currently, only function is supported.
476
+ */
477
+ export type GetAgentToolChoiceAgentsType = ClosedEnum<typeof GetAgentToolChoiceAgentsType>;
478
+ export type GetAgentToolChoiceAgentsFunction = {
479
+ /**
480
+ * The name of the function to call.
481
+ */
482
+ name?: string | undefined;
483
+ };
484
+ export type GetAgentToolChoiceAgents2 = {
485
+ /**
486
+ * The type of the tool. Currently, only function is supported.
487
+ */
488
+ type?: GetAgentToolChoiceAgentsType | undefined;
489
+ function: GetAgentToolChoiceAgentsFunction;
490
+ };
491
+ export declare const GetAgentToolChoiceAgents1: {
492
+ readonly None: "none";
493
+ readonly Auto: "auto";
494
+ readonly Required: "required";
495
+ };
496
+ export type GetAgentToolChoiceAgents1 = ClosedEnum<typeof GetAgentToolChoiceAgents1>;
497
+ /**
498
+ * Controls which (if any) tool is called by the model.
499
+ */
500
+ export type GetAgentFallbackModelsToolChoice = GetAgentToolChoiceAgents2 | GetAgentToolChoiceAgents1;
501
+ export declare const GetAgentFallbackModelsModalities: {
502
+ readonly Text: "text";
503
+ readonly Audio: "audio";
504
+ };
505
+ export type GetAgentFallbackModelsModalities = ClosedEnum<typeof GetAgentFallbackModelsModalities>;
506
+ /**
507
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
508
+ */
509
+ export type GetAgentFallbackModelsWebSearchOptions = {
510
+ /**
511
+ * Whether to enable web search for this request.
512
+ */
513
+ enabled?: boolean | undefined;
514
+ };
515
+ export type GetAgentFallbackModelsParameters = {
516
+ /**
517
+ * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
518
+ */
519
+ audio?: GetAgentFallbackModelsAudio | null | undefined;
520
+ /**
521
+ * 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.
522
+ */
523
+ frequencyPenalty?: number | null | undefined;
524
+ /**
525
+ * `[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.
526
+ *
527
+ * @remarks
528
+ *
529
+ * This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
530
+ */
531
+ maxTokens?: number | null | undefined;
532
+ /**
533
+ * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
534
+ */
535
+ maxCompletionTokens?: number | null | undefined;
536
+ /**
537
+ * 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.
538
+ */
539
+ logprobs?: boolean | null | undefined;
540
+ /**
541
+ * 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.
542
+ */
543
+ topLogprobs?: number | null | undefined;
544
+ /**
545
+ * 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.
546
+ */
547
+ n?: number | null | undefined;
548
+ /**
549
+ * 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.
550
+ */
551
+ presencePenalty?: number | null | undefined;
552
+ /**
553
+ * An object specifying the format that the model must output
554
+ */
555
+ responseFormat?: GetAgentResponseFormatAgents3 | GetAgentResponseFormatAgents1 | GetAgentResponseFormatAgents2 | undefined;
556
+ /**
557
+ * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
558
+ */
559
+ reasoningEffort?: string | undefined;
560
+ /**
561
+ * Adjusts response verbosity. Lower levels yield shorter answers.
562
+ */
563
+ verbosity?: string | undefined;
564
+ /**
565
+ * 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.
566
+ */
567
+ seed?: number | null | undefined;
568
+ /**
569
+ * Up to 4 sequences where the API will stop generating further tokens.
570
+ */
571
+ stop?: string | Array<string> | null | undefined;
572
+ /**
573
+ * Options for streaming response. Only set this when you set stream: true.
574
+ */
575
+ streamOptions?: GetAgentFallbackModelsStreamOptions | null | undefined;
576
+ thinking?: GetAgentFallbackModelsThinking | undefined;
577
+ /**
578
+ * 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.
579
+ */
580
+ temperature?: number | null | undefined;
581
+ /**
582
+ * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
583
+ */
584
+ topP?: number | null | undefined;
585
+ /**
586
+ * Limits the model to consider only the top k most likely tokens at each step.
587
+ */
588
+ topK?: number | null | undefined;
589
+ /**
590
+ * Controls which (if any) tool is called by the model.
591
+ */
592
+ toolChoice?: GetAgentToolChoiceAgents2 | GetAgentToolChoiceAgents1 | undefined;
593
+ /**
594
+ * Whether to enable parallel function calling during tool use.
595
+ */
596
+ parallelToolCalls?: boolean | undefined;
597
+ /**
598
+ * 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"].
599
+ */
600
+ modalities?: Array<GetAgentFallbackModelsModalities> | null | undefined;
601
+ /**
602
+ * This tool searches the web for relevant results to use in a response. Learn more about the web search tool.
603
+ */
604
+ webSearchOptions?: GetAgentFallbackModelsWebSearchOptions | undefined;
605
+ };
606
+ export type GetAgentFallbackModels2 = {
607
+ /**
608
+ * Fallback model ID
609
+ */
610
+ id: string;
611
+ integrationId?: string | null | undefined;
612
+ parameters?: GetAgentFallbackModelsParameters | undefined;
613
+ };
614
+ export type GetAgentFallbackModels = GetAgentFallbackModels2 | string;
87
615
  export type GetAgentModel = {
88
616
  /**
89
617
  * The database ID of the primary model
@@ -94,17 +622,13 @@ export type GetAgentModel = {
94
622
  */
95
623
  integrationId?: string | null | undefined;
96
624
  /**
97
- * Optional array of fallback model IDs that will be used automatically in order if the primary model fails
98
- */
99
- fallbackModels?: Array<string> | null | undefined;
100
- /**
101
- * Maximum number of tokens for model responses
625
+ * 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.
102
626
  */
103
- maxTokens?: number | undefined;
627
+ parameters?: GetAgentParameters | undefined;
104
628
  /**
105
- * Temperature setting for model responses
629
+ * Optional array of fallback models (string IDs or config objects) that will be used automatically in order if the primary model fails
106
630
  */
107
- temperature?: number | undefined;
631
+ fallbackModels?: Array<GetAgentFallbackModels2 | string> | null | undefined;
108
632
  };
109
633
  export type GetAgentTeamOfAgents = {
110
634
  /**
@@ -334,14 +858,1093 @@ export declare namespace GetAgentSettings$ {
334
858
  export declare function getAgentSettingsToJSON(getAgentSettings: GetAgentSettings): string;
335
859
  export declare function getAgentSettingsFromJSON(jsonString: string): SafeParseResult<GetAgentSettings, SDKValidationError>;
336
860
  /** @internal */
861
+ export declare const GetAgentVoice$inboundSchema: z.ZodNativeEnum<typeof GetAgentVoice>;
862
+ /** @internal */
863
+ export declare const GetAgentVoice$outboundSchema: z.ZodNativeEnum<typeof GetAgentVoice>;
864
+ /**
865
+ * @internal
866
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
867
+ */
868
+ export declare namespace GetAgentVoice$ {
869
+ /** @deprecated use `GetAgentVoice$inboundSchema` instead. */
870
+ const inboundSchema: z.ZodNativeEnum<{
871
+ readonly Alloy: "alloy";
872
+ readonly Echo: "echo";
873
+ readonly Fable: "fable";
874
+ readonly Onyx: "onyx";
875
+ readonly Nova: "nova";
876
+ readonly Shimmer: "shimmer";
877
+ }>;
878
+ /** @deprecated use `GetAgentVoice$outboundSchema` instead. */
879
+ const outboundSchema: z.ZodNativeEnum<{
880
+ readonly Alloy: "alloy";
881
+ readonly Echo: "echo";
882
+ readonly Fable: "fable";
883
+ readonly Onyx: "onyx";
884
+ readonly Nova: "nova";
885
+ readonly Shimmer: "shimmer";
886
+ }>;
887
+ }
888
+ /** @internal */
889
+ export declare const GetAgentFormat$inboundSchema: z.ZodNativeEnum<typeof GetAgentFormat>;
890
+ /** @internal */
891
+ export declare const GetAgentFormat$outboundSchema: z.ZodNativeEnum<typeof GetAgentFormat>;
892
+ /**
893
+ * @internal
894
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
895
+ */
896
+ export declare namespace GetAgentFormat$ {
897
+ /** @deprecated use `GetAgentFormat$inboundSchema` instead. */
898
+ const inboundSchema: z.ZodNativeEnum<{
899
+ readonly Wav: "wav";
900
+ readonly Mp3: "mp3";
901
+ readonly Flac: "flac";
902
+ readonly Opus: "opus";
903
+ readonly Pcm16: "pcm16";
904
+ }>;
905
+ /** @deprecated use `GetAgentFormat$outboundSchema` instead. */
906
+ const outboundSchema: z.ZodNativeEnum<{
907
+ readonly Wav: "wav";
908
+ readonly Mp3: "mp3";
909
+ readonly Flac: "flac";
910
+ readonly Opus: "opus";
911
+ readonly Pcm16: "pcm16";
912
+ }>;
913
+ }
914
+ /** @internal */
915
+ export declare const GetAgentAudio$inboundSchema: z.ZodType<GetAgentAudio, z.ZodTypeDef, unknown>;
916
+ /** @internal */
917
+ export type GetAgentAudio$Outbound = {
918
+ voice: string;
919
+ format: string;
920
+ };
921
+ /** @internal */
922
+ export declare const GetAgentAudio$outboundSchema: z.ZodType<GetAgentAudio$Outbound, z.ZodTypeDef, GetAgentAudio>;
923
+ /**
924
+ * @internal
925
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
926
+ */
927
+ export declare namespace GetAgentAudio$ {
928
+ /** @deprecated use `GetAgentAudio$inboundSchema` instead. */
929
+ const inboundSchema: z.ZodType<GetAgentAudio, z.ZodTypeDef, unknown>;
930
+ /** @deprecated use `GetAgentAudio$outboundSchema` instead. */
931
+ const outboundSchema: z.ZodType<GetAgentAudio$Outbound, z.ZodTypeDef, GetAgentAudio>;
932
+ /** @deprecated use `GetAgentAudio$Outbound` instead. */
933
+ type Outbound = GetAgentAudio$Outbound;
934
+ }
935
+ export declare function getAgentAudioToJSON(getAgentAudio: GetAgentAudio): string;
936
+ export declare function getAgentAudioFromJSON(jsonString: string): SafeParseResult<GetAgentAudio, SDKValidationError>;
937
+ /** @internal */
938
+ export declare const GetAgentResponseFormatAgentsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatAgentsResponseType>;
939
+ /** @internal */
940
+ export declare const GetAgentResponseFormatAgentsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatAgentsResponseType>;
941
+ /**
942
+ * @internal
943
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
944
+ */
945
+ export declare namespace GetAgentResponseFormatAgentsResponseType$ {
946
+ /** @deprecated use `GetAgentResponseFormatAgentsResponseType$inboundSchema` instead. */
947
+ const inboundSchema: z.ZodNativeEnum<{
948
+ readonly JsonSchema: "json_schema";
949
+ }>;
950
+ /** @deprecated use `GetAgentResponseFormatAgentsResponseType$outboundSchema` instead. */
951
+ const outboundSchema: z.ZodNativeEnum<{
952
+ readonly JsonSchema: "json_schema";
953
+ }>;
954
+ }
955
+ /** @internal */
956
+ export declare const GetAgentResponseFormatJsonSchema$inboundSchema: z.ZodType<GetAgentResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
957
+ /** @internal */
958
+ export type GetAgentResponseFormatJsonSchema$Outbound = {
959
+ description?: string | undefined;
960
+ name: string;
961
+ schema?: any | undefined;
962
+ strict?: boolean | undefined;
963
+ };
964
+ /** @internal */
965
+ export declare const GetAgentResponseFormatJsonSchema$outboundSchema: z.ZodType<GetAgentResponseFormatJsonSchema$Outbound, z.ZodTypeDef, GetAgentResponseFormatJsonSchema>;
966
+ /**
967
+ * @internal
968
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
969
+ */
970
+ export declare namespace GetAgentResponseFormatJsonSchema$ {
971
+ /** @deprecated use `GetAgentResponseFormatJsonSchema$inboundSchema` instead. */
972
+ const inboundSchema: z.ZodType<GetAgentResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
973
+ /** @deprecated use `GetAgentResponseFormatJsonSchema$outboundSchema` instead. */
974
+ const outboundSchema: z.ZodType<GetAgentResponseFormatJsonSchema$Outbound, z.ZodTypeDef, GetAgentResponseFormatJsonSchema>;
975
+ /** @deprecated use `GetAgentResponseFormatJsonSchema$Outbound` instead. */
976
+ type Outbound = GetAgentResponseFormatJsonSchema$Outbound;
977
+ }
978
+ export declare function getAgentResponseFormatJsonSchemaToJSON(getAgentResponseFormatJsonSchema: GetAgentResponseFormatJsonSchema): string;
979
+ export declare function getAgentResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<GetAgentResponseFormatJsonSchema, SDKValidationError>;
980
+ /** @internal */
981
+ export declare const GetAgentResponseFormat3$inboundSchema: z.ZodType<GetAgentResponseFormat3, z.ZodTypeDef, unknown>;
982
+ /** @internal */
983
+ export type GetAgentResponseFormat3$Outbound = {
984
+ type: string;
985
+ json_schema: GetAgentResponseFormatJsonSchema$Outbound;
986
+ };
987
+ /** @internal */
988
+ export declare const GetAgentResponseFormat3$outboundSchema: z.ZodType<GetAgentResponseFormat3$Outbound, z.ZodTypeDef, GetAgentResponseFormat3>;
989
+ /**
990
+ * @internal
991
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
992
+ */
993
+ export declare namespace GetAgentResponseFormat3$ {
994
+ /** @deprecated use `GetAgentResponseFormat3$inboundSchema` instead. */
995
+ const inboundSchema: z.ZodType<GetAgentResponseFormat3, z.ZodTypeDef, unknown>;
996
+ /** @deprecated use `GetAgentResponseFormat3$outboundSchema` instead. */
997
+ const outboundSchema: z.ZodType<GetAgentResponseFormat3$Outbound, z.ZodTypeDef, GetAgentResponseFormat3>;
998
+ /** @deprecated use `GetAgentResponseFormat3$Outbound` instead. */
999
+ type Outbound = GetAgentResponseFormat3$Outbound;
1000
+ }
1001
+ export declare function getAgentResponseFormat3ToJSON(getAgentResponseFormat3: GetAgentResponseFormat3): string;
1002
+ export declare function getAgentResponseFormat3FromJSON(jsonString: string): SafeParseResult<GetAgentResponseFormat3, SDKValidationError>;
1003
+ /** @internal */
1004
+ export declare const GetAgentResponseFormatAgentsType$inboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatAgentsType>;
1005
+ /** @internal */
1006
+ export declare const GetAgentResponseFormatAgentsType$outboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatAgentsType>;
1007
+ /**
1008
+ * @internal
1009
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1010
+ */
1011
+ export declare namespace GetAgentResponseFormatAgentsType$ {
1012
+ /** @deprecated use `GetAgentResponseFormatAgentsType$inboundSchema` instead. */
1013
+ const inboundSchema: z.ZodNativeEnum<{
1014
+ readonly JsonObject: "json_object";
1015
+ }>;
1016
+ /** @deprecated use `GetAgentResponseFormatAgentsType$outboundSchema` instead. */
1017
+ const outboundSchema: z.ZodNativeEnum<{
1018
+ readonly JsonObject: "json_object";
1019
+ }>;
1020
+ }
1021
+ /** @internal */
1022
+ export declare const GetAgentResponseFormat2$inboundSchema: z.ZodType<GetAgentResponseFormat2, z.ZodTypeDef, unknown>;
1023
+ /** @internal */
1024
+ export type GetAgentResponseFormat2$Outbound = {
1025
+ type: string;
1026
+ };
1027
+ /** @internal */
1028
+ export declare const GetAgentResponseFormat2$outboundSchema: z.ZodType<GetAgentResponseFormat2$Outbound, z.ZodTypeDef, GetAgentResponseFormat2>;
1029
+ /**
1030
+ * @internal
1031
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1032
+ */
1033
+ export declare namespace GetAgentResponseFormat2$ {
1034
+ /** @deprecated use `GetAgentResponseFormat2$inboundSchema` instead. */
1035
+ const inboundSchema: z.ZodType<GetAgentResponseFormat2, z.ZodTypeDef, unknown>;
1036
+ /** @deprecated use `GetAgentResponseFormat2$outboundSchema` instead. */
1037
+ const outboundSchema: z.ZodType<GetAgentResponseFormat2$Outbound, z.ZodTypeDef, GetAgentResponseFormat2>;
1038
+ /** @deprecated use `GetAgentResponseFormat2$Outbound` instead. */
1039
+ type Outbound = GetAgentResponseFormat2$Outbound;
1040
+ }
1041
+ export declare function getAgentResponseFormat2ToJSON(getAgentResponseFormat2: GetAgentResponseFormat2): string;
1042
+ export declare function getAgentResponseFormat2FromJSON(jsonString: string): SafeParseResult<GetAgentResponseFormat2, SDKValidationError>;
1043
+ /** @internal */
1044
+ export declare const GetAgentResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatType>;
1045
+ /** @internal */
1046
+ export declare const GetAgentResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatType>;
1047
+ /**
1048
+ * @internal
1049
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1050
+ */
1051
+ export declare namespace GetAgentResponseFormatType$ {
1052
+ /** @deprecated use `GetAgentResponseFormatType$inboundSchema` instead. */
1053
+ const inboundSchema: z.ZodNativeEnum<{
1054
+ readonly Text: "text";
1055
+ }>;
1056
+ /** @deprecated use `GetAgentResponseFormatType$outboundSchema` instead. */
1057
+ const outboundSchema: z.ZodNativeEnum<{
1058
+ readonly Text: "text";
1059
+ }>;
1060
+ }
1061
+ /** @internal */
1062
+ export declare const GetAgentResponseFormat1$inboundSchema: z.ZodType<GetAgentResponseFormat1, z.ZodTypeDef, unknown>;
1063
+ /** @internal */
1064
+ export type GetAgentResponseFormat1$Outbound = {
1065
+ type: string;
1066
+ };
1067
+ /** @internal */
1068
+ export declare const GetAgentResponseFormat1$outboundSchema: z.ZodType<GetAgentResponseFormat1$Outbound, z.ZodTypeDef, GetAgentResponseFormat1>;
1069
+ /**
1070
+ * @internal
1071
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1072
+ */
1073
+ export declare namespace GetAgentResponseFormat1$ {
1074
+ /** @deprecated use `GetAgentResponseFormat1$inboundSchema` instead. */
1075
+ const inboundSchema: z.ZodType<GetAgentResponseFormat1, z.ZodTypeDef, unknown>;
1076
+ /** @deprecated use `GetAgentResponseFormat1$outboundSchema` instead. */
1077
+ const outboundSchema: z.ZodType<GetAgentResponseFormat1$Outbound, z.ZodTypeDef, GetAgentResponseFormat1>;
1078
+ /** @deprecated use `GetAgentResponseFormat1$Outbound` instead. */
1079
+ type Outbound = GetAgentResponseFormat1$Outbound;
1080
+ }
1081
+ export declare function getAgentResponseFormat1ToJSON(getAgentResponseFormat1: GetAgentResponseFormat1): string;
1082
+ export declare function getAgentResponseFormat1FromJSON(jsonString: string): SafeParseResult<GetAgentResponseFormat1, SDKValidationError>;
1083
+ /** @internal */
1084
+ export declare const GetAgentResponseFormat$inboundSchema: z.ZodType<GetAgentResponseFormat, z.ZodTypeDef, unknown>;
1085
+ /** @internal */
1086
+ export type GetAgentResponseFormat$Outbound = GetAgentResponseFormat3$Outbound | GetAgentResponseFormat1$Outbound | GetAgentResponseFormat2$Outbound;
1087
+ /** @internal */
1088
+ export declare const GetAgentResponseFormat$outboundSchema: z.ZodType<GetAgentResponseFormat$Outbound, z.ZodTypeDef, GetAgentResponseFormat>;
1089
+ /**
1090
+ * @internal
1091
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1092
+ */
1093
+ export declare namespace GetAgentResponseFormat$ {
1094
+ /** @deprecated use `GetAgentResponseFormat$inboundSchema` instead. */
1095
+ const inboundSchema: z.ZodType<GetAgentResponseFormat, z.ZodTypeDef, unknown>;
1096
+ /** @deprecated use `GetAgentResponseFormat$outboundSchema` instead. */
1097
+ const outboundSchema: z.ZodType<GetAgentResponseFormat$Outbound, z.ZodTypeDef, GetAgentResponseFormat>;
1098
+ /** @deprecated use `GetAgentResponseFormat$Outbound` instead. */
1099
+ type Outbound = GetAgentResponseFormat$Outbound;
1100
+ }
1101
+ export declare function getAgentResponseFormatToJSON(getAgentResponseFormat: GetAgentResponseFormat): string;
1102
+ export declare function getAgentResponseFormatFromJSON(jsonString: string): SafeParseResult<GetAgentResponseFormat, SDKValidationError>;
1103
+ /** @internal */
1104
+ export declare const GetAgentStop$inboundSchema: z.ZodType<GetAgentStop, z.ZodTypeDef, unknown>;
1105
+ /** @internal */
1106
+ export type GetAgentStop$Outbound = string | Array<string>;
1107
+ /** @internal */
1108
+ export declare const GetAgentStop$outboundSchema: z.ZodType<GetAgentStop$Outbound, z.ZodTypeDef, GetAgentStop>;
1109
+ /**
1110
+ * @internal
1111
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1112
+ */
1113
+ export declare namespace GetAgentStop$ {
1114
+ /** @deprecated use `GetAgentStop$inboundSchema` instead. */
1115
+ const inboundSchema: z.ZodType<GetAgentStop, z.ZodTypeDef, unknown>;
1116
+ /** @deprecated use `GetAgentStop$outboundSchema` instead. */
1117
+ const outboundSchema: z.ZodType<GetAgentStop$Outbound, z.ZodTypeDef, GetAgentStop>;
1118
+ /** @deprecated use `GetAgentStop$Outbound` instead. */
1119
+ type Outbound = GetAgentStop$Outbound;
1120
+ }
1121
+ export declare function getAgentStopToJSON(getAgentStop: GetAgentStop): string;
1122
+ export declare function getAgentStopFromJSON(jsonString: string): SafeParseResult<GetAgentStop, SDKValidationError>;
1123
+ /** @internal */
1124
+ export declare const GetAgentStreamOptions$inboundSchema: z.ZodType<GetAgentStreamOptions, z.ZodTypeDef, unknown>;
1125
+ /** @internal */
1126
+ export type GetAgentStreamOptions$Outbound = {
1127
+ include_usage?: boolean | undefined;
1128
+ };
1129
+ /** @internal */
1130
+ export declare const GetAgentStreamOptions$outboundSchema: z.ZodType<GetAgentStreamOptions$Outbound, z.ZodTypeDef, GetAgentStreamOptions>;
1131
+ /**
1132
+ * @internal
1133
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1134
+ */
1135
+ export declare namespace GetAgentStreamOptions$ {
1136
+ /** @deprecated use `GetAgentStreamOptions$inboundSchema` instead. */
1137
+ const inboundSchema: z.ZodType<GetAgentStreamOptions, z.ZodTypeDef, unknown>;
1138
+ /** @deprecated use `GetAgentStreamOptions$outboundSchema` instead. */
1139
+ const outboundSchema: z.ZodType<GetAgentStreamOptions$Outbound, z.ZodTypeDef, GetAgentStreamOptions>;
1140
+ /** @deprecated use `GetAgentStreamOptions$Outbound` instead. */
1141
+ type Outbound = GetAgentStreamOptions$Outbound;
1142
+ }
1143
+ export declare function getAgentStreamOptionsToJSON(getAgentStreamOptions: GetAgentStreamOptions): string;
1144
+ export declare function getAgentStreamOptionsFromJSON(jsonString: string): SafeParseResult<GetAgentStreamOptions, SDKValidationError>;
1145
+ /** @internal */
1146
+ export declare const GetAgentType$inboundSchema: z.ZodNativeEnum<typeof GetAgentType>;
1147
+ /** @internal */
1148
+ export declare const GetAgentType$outboundSchema: z.ZodNativeEnum<typeof GetAgentType>;
1149
+ /**
1150
+ * @internal
1151
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1152
+ */
1153
+ export declare namespace GetAgentType$ {
1154
+ /** @deprecated use `GetAgentType$inboundSchema` instead. */
1155
+ const inboundSchema: z.ZodNativeEnum<{
1156
+ readonly Enabled: "enabled";
1157
+ readonly Disabled: "disabled";
1158
+ }>;
1159
+ /** @deprecated use `GetAgentType$outboundSchema` instead. */
1160
+ const outboundSchema: z.ZodNativeEnum<{
1161
+ readonly Enabled: "enabled";
1162
+ readonly Disabled: "disabled";
1163
+ }>;
1164
+ }
1165
+ /** @internal */
1166
+ export declare const GetAgentThinking$inboundSchema: z.ZodType<GetAgentThinking, z.ZodTypeDef, unknown>;
1167
+ /** @internal */
1168
+ export type GetAgentThinking$Outbound = {
1169
+ type: string;
1170
+ budget_tokens: number;
1171
+ };
1172
+ /** @internal */
1173
+ export declare const GetAgentThinking$outboundSchema: z.ZodType<GetAgentThinking$Outbound, z.ZodTypeDef, GetAgentThinking>;
1174
+ /**
1175
+ * @internal
1176
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1177
+ */
1178
+ export declare namespace GetAgentThinking$ {
1179
+ /** @deprecated use `GetAgentThinking$inboundSchema` instead. */
1180
+ const inboundSchema: z.ZodType<GetAgentThinking, z.ZodTypeDef, unknown>;
1181
+ /** @deprecated use `GetAgentThinking$outboundSchema` instead. */
1182
+ const outboundSchema: z.ZodType<GetAgentThinking$Outbound, z.ZodTypeDef, GetAgentThinking>;
1183
+ /** @deprecated use `GetAgentThinking$Outbound` instead. */
1184
+ type Outbound = GetAgentThinking$Outbound;
1185
+ }
1186
+ export declare function getAgentThinkingToJSON(getAgentThinking: GetAgentThinking): string;
1187
+ export declare function getAgentThinkingFromJSON(jsonString: string): SafeParseResult<GetAgentThinking, SDKValidationError>;
1188
+ /** @internal */
1189
+ export declare const GetAgentToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof GetAgentToolChoiceType>;
1190
+ /** @internal */
1191
+ export declare const GetAgentToolChoiceType$outboundSchema: z.ZodNativeEnum<typeof GetAgentToolChoiceType>;
1192
+ /**
1193
+ * @internal
1194
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1195
+ */
1196
+ export declare namespace GetAgentToolChoiceType$ {
1197
+ /** @deprecated use `GetAgentToolChoiceType$inboundSchema` instead. */
1198
+ const inboundSchema: z.ZodNativeEnum<{
1199
+ readonly Function: "function";
1200
+ }>;
1201
+ /** @deprecated use `GetAgentToolChoiceType$outboundSchema` instead. */
1202
+ const outboundSchema: z.ZodNativeEnum<{
1203
+ readonly Function: "function";
1204
+ }>;
1205
+ }
1206
+ /** @internal */
1207
+ export declare const GetAgentToolChoiceFunction$inboundSchema: z.ZodType<GetAgentToolChoiceFunction, z.ZodTypeDef, unknown>;
1208
+ /** @internal */
1209
+ export type GetAgentToolChoiceFunction$Outbound = {
1210
+ name?: string | undefined;
1211
+ };
1212
+ /** @internal */
1213
+ export declare const GetAgentToolChoiceFunction$outboundSchema: z.ZodType<GetAgentToolChoiceFunction$Outbound, z.ZodTypeDef, GetAgentToolChoiceFunction>;
1214
+ /**
1215
+ * @internal
1216
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1217
+ */
1218
+ export declare namespace GetAgentToolChoiceFunction$ {
1219
+ /** @deprecated use `GetAgentToolChoiceFunction$inboundSchema` instead. */
1220
+ const inboundSchema: z.ZodType<GetAgentToolChoiceFunction, z.ZodTypeDef, unknown>;
1221
+ /** @deprecated use `GetAgentToolChoiceFunction$outboundSchema` instead. */
1222
+ const outboundSchema: z.ZodType<GetAgentToolChoiceFunction$Outbound, z.ZodTypeDef, GetAgentToolChoiceFunction>;
1223
+ /** @deprecated use `GetAgentToolChoiceFunction$Outbound` instead. */
1224
+ type Outbound = GetAgentToolChoiceFunction$Outbound;
1225
+ }
1226
+ export declare function getAgentToolChoiceFunctionToJSON(getAgentToolChoiceFunction: GetAgentToolChoiceFunction): string;
1227
+ export declare function getAgentToolChoiceFunctionFromJSON(jsonString: string): SafeParseResult<GetAgentToolChoiceFunction, SDKValidationError>;
1228
+ /** @internal */
1229
+ export declare const GetAgentToolChoice2$inboundSchema: z.ZodType<GetAgentToolChoice2, z.ZodTypeDef, unknown>;
1230
+ /** @internal */
1231
+ export type GetAgentToolChoice2$Outbound = {
1232
+ type?: string | undefined;
1233
+ function: GetAgentToolChoiceFunction$Outbound;
1234
+ };
1235
+ /** @internal */
1236
+ export declare const GetAgentToolChoice2$outboundSchema: z.ZodType<GetAgentToolChoice2$Outbound, z.ZodTypeDef, GetAgentToolChoice2>;
1237
+ /**
1238
+ * @internal
1239
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1240
+ */
1241
+ export declare namespace GetAgentToolChoice2$ {
1242
+ /** @deprecated use `GetAgentToolChoice2$inboundSchema` instead. */
1243
+ const inboundSchema: z.ZodType<GetAgentToolChoice2, z.ZodTypeDef, unknown>;
1244
+ /** @deprecated use `GetAgentToolChoice2$outboundSchema` instead. */
1245
+ const outboundSchema: z.ZodType<GetAgentToolChoice2$Outbound, z.ZodTypeDef, GetAgentToolChoice2>;
1246
+ /** @deprecated use `GetAgentToolChoice2$Outbound` instead. */
1247
+ type Outbound = GetAgentToolChoice2$Outbound;
1248
+ }
1249
+ export declare function getAgentToolChoice2ToJSON(getAgentToolChoice2: GetAgentToolChoice2): string;
1250
+ export declare function getAgentToolChoice2FromJSON(jsonString: string): SafeParseResult<GetAgentToolChoice2, SDKValidationError>;
1251
+ /** @internal */
1252
+ export declare const GetAgentToolChoice1$inboundSchema: z.ZodNativeEnum<typeof GetAgentToolChoice1>;
1253
+ /** @internal */
1254
+ export declare const GetAgentToolChoice1$outboundSchema: z.ZodNativeEnum<typeof GetAgentToolChoice1>;
1255
+ /**
1256
+ * @internal
1257
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1258
+ */
1259
+ export declare namespace GetAgentToolChoice1$ {
1260
+ /** @deprecated use `GetAgentToolChoice1$inboundSchema` instead. */
1261
+ const inboundSchema: z.ZodNativeEnum<{
1262
+ readonly None: "none";
1263
+ readonly Auto: "auto";
1264
+ readonly Required: "required";
1265
+ }>;
1266
+ /** @deprecated use `GetAgentToolChoice1$outboundSchema` instead. */
1267
+ const outboundSchema: z.ZodNativeEnum<{
1268
+ readonly None: "none";
1269
+ readonly Auto: "auto";
1270
+ readonly Required: "required";
1271
+ }>;
1272
+ }
1273
+ /** @internal */
1274
+ export declare const GetAgentToolChoice$inboundSchema: z.ZodType<GetAgentToolChoice, z.ZodTypeDef, unknown>;
1275
+ /** @internal */
1276
+ export type GetAgentToolChoice$Outbound = GetAgentToolChoice2$Outbound | string;
1277
+ /** @internal */
1278
+ export declare const GetAgentToolChoice$outboundSchema: z.ZodType<GetAgentToolChoice$Outbound, z.ZodTypeDef, GetAgentToolChoice>;
1279
+ /**
1280
+ * @internal
1281
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1282
+ */
1283
+ export declare namespace GetAgentToolChoice$ {
1284
+ /** @deprecated use `GetAgentToolChoice$inboundSchema` instead. */
1285
+ const inboundSchema: z.ZodType<GetAgentToolChoice, z.ZodTypeDef, unknown>;
1286
+ /** @deprecated use `GetAgentToolChoice$outboundSchema` instead. */
1287
+ const outboundSchema: z.ZodType<GetAgentToolChoice$Outbound, z.ZodTypeDef, GetAgentToolChoice>;
1288
+ /** @deprecated use `GetAgentToolChoice$Outbound` instead. */
1289
+ type Outbound = GetAgentToolChoice$Outbound;
1290
+ }
1291
+ export declare function getAgentToolChoiceToJSON(getAgentToolChoice: GetAgentToolChoice): string;
1292
+ export declare function getAgentToolChoiceFromJSON(jsonString: string): SafeParseResult<GetAgentToolChoice, SDKValidationError>;
1293
+ /** @internal */
1294
+ export declare const GetAgentModalities$inboundSchema: z.ZodNativeEnum<typeof GetAgentModalities>;
1295
+ /** @internal */
1296
+ export declare const GetAgentModalities$outboundSchema: z.ZodNativeEnum<typeof GetAgentModalities>;
1297
+ /**
1298
+ * @internal
1299
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1300
+ */
1301
+ export declare namespace GetAgentModalities$ {
1302
+ /** @deprecated use `GetAgentModalities$inboundSchema` instead. */
1303
+ const inboundSchema: z.ZodNativeEnum<{
1304
+ readonly Text: "text";
1305
+ readonly Audio: "audio";
1306
+ }>;
1307
+ /** @deprecated use `GetAgentModalities$outboundSchema` instead. */
1308
+ const outboundSchema: z.ZodNativeEnum<{
1309
+ readonly Text: "text";
1310
+ readonly Audio: "audio";
1311
+ }>;
1312
+ }
1313
+ /** @internal */
1314
+ export declare const GetAgentWebSearchOptions$inboundSchema: z.ZodType<GetAgentWebSearchOptions, z.ZodTypeDef, unknown>;
1315
+ /** @internal */
1316
+ export type GetAgentWebSearchOptions$Outbound = {
1317
+ enabled?: boolean | undefined;
1318
+ };
1319
+ /** @internal */
1320
+ export declare const GetAgentWebSearchOptions$outboundSchema: z.ZodType<GetAgentWebSearchOptions$Outbound, z.ZodTypeDef, GetAgentWebSearchOptions>;
1321
+ /**
1322
+ * @internal
1323
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1324
+ */
1325
+ export declare namespace GetAgentWebSearchOptions$ {
1326
+ /** @deprecated use `GetAgentWebSearchOptions$inboundSchema` instead. */
1327
+ const inboundSchema: z.ZodType<GetAgentWebSearchOptions, z.ZodTypeDef, unknown>;
1328
+ /** @deprecated use `GetAgentWebSearchOptions$outboundSchema` instead. */
1329
+ const outboundSchema: z.ZodType<GetAgentWebSearchOptions$Outbound, z.ZodTypeDef, GetAgentWebSearchOptions>;
1330
+ /** @deprecated use `GetAgentWebSearchOptions$Outbound` instead. */
1331
+ type Outbound = GetAgentWebSearchOptions$Outbound;
1332
+ }
1333
+ export declare function getAgentWebSearchOptionsToJSON(getAgentWebSearchOptions: GetAgentWebSearchOptions): string;
1334
+ export declare function getAgentWebSearchOptionsFromJSON(jsonString: string): SafeParseResult<GetAgentWebSearchOptions, SDKValidationError>;
1335
+ /** @internal */
1336
+ export declare const GetAgentParameters$inboundSchema: z.ZodType<GetAgentParameters, z.ZodTypeDef, unknown>;
1337
+ /** @internal */
1338
+ export type GetAgentParameters$Outbound = {
1339
+ audio?: GetAgentAudio$Outbound | null | undefined;
1340
+ frequency_penalty?: number | null | undefined;
1341
+ max_tokens?: number | null | undefined;
1342
+ max_completion_tokens?: number | null | undefined;
1343
+ logprobs?: boolean | null | undefined;
1344
+ top_logprobs?: number | null | undefined;
1345
+ n?: number | null | undefined;
1346
+ presence_penalty?: number | null | undefined;
1347
+ response_format?: GetAgentResponseFormat3$Outbound | GetAgentResponseFormat1$Outbound | GetAgentResponseFormat2$Outbound | undefined;
1348
+ reasoning_effort?: string | undefined;
1349
+ verbosity?: string | undefined;
1350
+ seed?: number | null | undefined;
1351
+ stop?: string | Array<string> | null | undefined;
1352
+ stream_options?: GetAgentStreamOptions$Outbound | null | undefined;
1353
+ thinking?: GetAgentThinking$Outbound | undefined;
1354
+ temperature?: number | null | undefined;
1355
+ top_p?: number | null | undefined;
1356
+ top_k?: number | null | undefined;
1357
+ tool_choice?: GetAgentToolChoice2$Outbound | string | undefined;
1358
+ parallel_tool_calls?: boolean | undefined;
1359
+ modalities?: Array<string> | null | undefined;
1360
+ web_search_options?: GetAgentWebSearchOptions$Outbound | undefined;
1361
+ };
1362
+ /** @internal */
1363
+ export declare const GetAgentParameters$outboundSchema: z.ZodType<GetAgentParameters$Outbound, z.ZodTypeDef, GetAgentParameters>;
1364
+ /**
1365
+ * @internal
1366
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1367
+ */
1368
+ export declare namespace GetAgentParameters$ {
1369
+ /** @deprecated use `GetAgentParameters$inboundSchema` instead. */
1370
+ const inboundSchema: z.ZodType<GetAgentParameters, z.ZodTypeDef, unknown>;
1371
+ /** @deprecated use `GetAgentParameters$outboundSchema` instead. */
1372
+ const outboundSchema: z.ZodType<GetAgentParameters$Outbound, z.ZodTypeDef, GetAgentParameters>;
1373
+ /** @deprecated use `GetAgentParameters$Outbound` instead. */
1374
+ type Outbound = GetAgentParameters$Outbound;
1375
+ }
1376
+ export declare function getAgentParametersToJSON(getAgentParameters: GetAgentParameters): string;
1377
+ export declare function getAgentParametersFromJSON(jsonString: string): SafeParseResult<GetAgentParameters, SDKValidationError>;
1378
+ /** @internal */
1379
+ export declare const GetAgentFallbackModelsVoice$inboundSchema: z.ZodNativeEnum<typeof GetAgentFallbackModelsVoice>;
1380
+ /** @internal */
1381
+ export declare const GetAgentFallbackModelsVoice$outboundSchema: z.ZodNativeEnum<typeof GetAgentFallbackModelsVoice>;
1382
+ /**
1383
+ * @internal
1384
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1385
+ */
1386
+ export declare namespace GetAgentFallbackModelsVoice$ {
1387
+ /** @deprecated use `GetAgentFallbackModelsVoice$inboundSchema` instead. */
1388
+ const inboundSchema: z.ZodNativeEnum<{
1389
+ readonly Alloy: "alloy";
1390
+ readonly Echo: "echo";
1391
+ readonly Fable: "fable";
1392
+ readonly Onyx: "onyx";
1393
+ readonly Nova: "nova";
1394
+ readonly Shimmer: "shimmer";
1395
+ }>;
1396
+ /** @deprecated use `GetAgentFallbackModelsVoice$outboundSchema` instead. */
1397
+ const outboundSchema: z.ZodNativeEnum<{
1398
+ readonly Alloy: "alloy";
1399
+ readonly Echo: "echo";
1400
+ readonly Fable: "fable";
1401
+ readonly Onyx: "onyx";
1402
+ readonly Nova: "nova";
1403
+ readonly Shimmer: "shimmer";
1404
+ }>;
1405
+ }
1406
+ /** @internal */
1407
+ export declare const GetAgentFallbackModelsFormat$inboundSchema: z.ZodNativeEnum<typeof GetAgentFallbackModelsFormat>;
1408
+ /** @internal */
1409
+ export declare const GetAgentFallbackModelsFormat$outboundSchema: z.ZodNativeEnum<typeof GetAgentFallbackModelsFormat>;
1410
+ /**
1411
+ * @internal
1412
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1413
+ */
1414
+ export declare namespace GetAgentFallbackModelsFormat$ {
1415
+ /** @deprecated use `GetAgentFallbackModelsFormat$inboundSchema` instead. */
1416
+ const inboundSchema: z.ZodNativeEnum<{
1417
+ readonly Wav: "wav";
1418
+ readonly Mp3: "mp3";
1419
+ readonly Flac: "flac";
1420
+ readonly Opus: "opus";
1421
+ readonly Pcm16: "pcm16";
1422
+ }>;
1423
+ /** @deprecated use `GetAgentFallbackModelsFormat$outboundSchema` instead. */
1424
+ const outboundSchema: z.ZodNativeEnum<{
1425
+ readonly Wav: "wav";
1426
+ readonly Mp3: "mp3";
1427
+ readonly Flac: "flac";
1428
+ readonly Opus: "opus";
1429
+ readonly Pcm16: "pcm16";
1430
+ }>;
1431
+ }
1432
+ /** @internal */
1433
+ export declare const GetAgentFallbackModelsAudio$inboundSchema: z.ZodType<GetAgentFallbackModelsAudio, z.ZodTypeDef, unknown>;
1434
+ /** @internal */
1435
+ export type GetAgentFallbackModelsAudio$Outbound = {
1436
+ voice: string;
1437
+ format: string;
1438
+ };
1439
+ /** @internal */
1440
+ export declare const GetAgentFallbackModelsAudio$outboundSchema: z.ZodType<GetAgentFallbackModelsAudio$Outbound, z.ZodTypeDef, GetAgentFallbackModelsAudio>;
1441
+ /**
1442
+ * @internal
1443
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1444
+ */
1445
+ export declare namespace GetAgentFallbackModelsAudio$ {
1446
+ /** @deprecated use `GetAgentFallbackModelsAudio$inboundSchema` instead. */
1447
+ const inboundSchema: z.ZodType<GetAgentFallbackModelsAudio, z.ZodTypeDef, unknown>;
1448
+ /** @deprecated use `GetAgentFallbackModelsAudio$outboundSchema` instead. */
1449
+ const outboundSchema: z.ZodType<GetAgentFallbackModelsAudio$Outbound, z.ZodTypeDef, GetAgentFallbackModelsAudio>;
1450
+ /** @deprecated use `GetAgentFallbackModelsAudio$Outbound` instead. */
1451
+ type Outbound = GetAgentFallbackModelsAudio$Outbound;
1452
+ }
1453
+ export declare function getAgentFallbackModelsAudioToJSON(getAgentFallbackModelsAudio: GetAgentFallbackModelsAudio): string;
1454
+ export declare function getAgentFallbackModelsAudioFromJSON(jsonString: string): SafeParseResult<GetAgentFallbackModelsAudio, SDKValidationError>;
1455
+ /** @internal */
1456
+ export declare const GetAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
1457
+ /** @internal */
1458
+ export declare const GetAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyType>;
1459
+ /**
1460
+ * @internal
1461
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1462
+ */
1463
+ export declare namespace GetAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$ {
1464
+ /** @deprecated use `GetAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
1465
+ const inboundSchema: z.ZodNativeEnum<{
1466
+ readonly JsonSchema: "json_schema";
1467
+ }>;
1468
+ /** @deprecated use `GetAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
1469
+ const outboundSchema: z.ZodNativeEnum<{
1470
+ readonly JsonSchema: "json_schema";
1471
+ }>;
1472
+ }
1473
+ /** @internal */
1474
+ export declare const GetAgentResponseFormatAgentsJsonSchema$inboundSchema: z.ZodType<GetAgentResponseFormatAgentsJsonSchema, z.ZodTypeDef, unknown>;
1475
+ /** @internal */
1476
+ export type GetAgentResponseFormatAgentsJsonSchema$Outbound = {
1477
+ description?: string | undefined;
1478
+ name: string;
1479
+ schema?: any | undefined;
1480
+ strict?: boolean | undefined;
1481
+ };
1482
+ /** @internal */
1483
+ export declare const GetAgentResponseFormatAgentsJsonSchema$outboundSchema: z.ZodType<GetAgentResponseFormatAgentsJsonSchema$Outbound, z.ZodTypeDef, GetAgentResponseFormatAgentsJsonSchema>;
1484
+ /**
1485
+ * @internal
1486
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1487
+ */
1488
+ export declare namespace GetAgentResponseFormatAgentsJsonSchema$ {
1489
+ /** @deprecated use `GetAgentResponseFormatAgentsJsonSchema$inboundSchema` instead. */
1490
+ const inboundSchema: z.ZodType<GetAgentResponseFormatAgentsJsonSchema, z.ZodTypeDef, unknown>;
1491
+ /** @deprecated use `GetAgentResponseFormatAgentsJsonSchema$outboundSchema` instead. */
1492
+ const outboundSchema: z.ZodType<GetAgentResponseFormatAgentsJsonSchema$Outbound, z.ZodTypeDef, GetAgentResponseFormatAgentsJsonSchema>;
1493
+ /** @deprecated use `GetAgentResponseFormatAgentsJsonSchema$Outbound` instead. */
1494
+ type Outbound = GetAgentResponseFormatAgentsJsonSchema$Outbound;
1495
+ }
1496
+ export declare function getAgentResponseFormatAgentsJsonSchemaToJSON(getAgentResponseFormatAgentsJsonSchema: GetAgentResponseFormatAgentsJsonSchema): string;
1497
+ export declare function getAgentResponseFormatAgentsJsonSchemaFromJSON(jsonString: string): SafeParseResult<GetAgentResponseFormatAgentsJsonSchema, SDKValidationError>;
1498
+ /** @internal */
1499
+ export declare const GetAgentResponseFormatAgents3$inboundSchema: z.ZodType<GetAgentResponseFormatAgents3, z.ZodTypeDef, unknown>;
1500
+ /** @internal */
1501
+ export type GetAgentResponseFormatAgents3$Outbound = {
1502
+ type: string;
1503
+ json_schema: GetAgentResponseFormatAgentsJsonSchema$Outbound;
1504
+ };
1505
+ /** @internal */
1506
+ export declare const GetAgentResponseFormatAgents3$outboundSchema: z.ZodType<GetAgentResponseFormatAgents3$Outbound, z.ZodTypeDef, GetAgentResponseFormatAgents3>;
1507
+ /**
1508
+ * @internal
1509
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1510
+ */
1511
+ export declare namespace GetAgentResponseFormatAgents3$ {
1512
+ /** @deprecated use `GetAgentResponseFormatAgents3$inboundSchema` instead. */
1513
+ const inboundSchema: z.ZodType<GetAgentResponseFormatAgents3, z.ZodTypeDef, unknown>;
1514
+ /** @deprecated use `GetAgentResponseFormatAgents3$outboundSchema` instead. */
1515
+ const outboundSchema: z.ZodType<GetAgentResponseFormatAgents3$Outbound, z.ZodTypeDef, GetAgentResponseFormatAgents3>;
1516
+ /** @deprecated use `GetAgentResponseFormatAgents3$Outbound` instead. */
1517
+ type Outbound = GetAgentResponseFormatAgents3$Outbound;
1518
+ }
1519
+ export declare function getAgentResponseFormatAgents3ToJSON(getAgentResponseFormatAgents3: GetAgentResponseFormatAgents3): string;
1520
+ export declare function getAgentResponseFormatAgents3FromJSON(jsonString: string): SafeParseResult<GetAgentResponseFormatAgents3, SDKValidationError>;
1521
+ /** @internal */
1522
+ export declare const GetAgentResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatAgentsResponse200ApplicationJSONType>;
1523
+ /** @internal */
1524
+ export declare const GetAgentResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatAgentsResponse200ApplicationJSONType>;
1525
+ /**
1526
+ * @internal
1527
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1528
+ */
1529
+ export declare namespace GetAgentResponseFormatAgentsResponse200ApplicationJSONType$ {
1530
+ /** @deprecated use `GetAgentResponseFormatAgentsResponse200ApplicationJSONType$inboundSchema` instead. */
1531
+ const inboundSchema: z.ZodNativeEnum<{
1532
+ readonly JsonObject: "json_object";
1533
+ }>;
1534
+ /** @deprecated use `GetAgentResponseFormatAgentsResponse200ApplicationJSONType$outboundSchema` instead. */
1535
+ const outboundSchema: z.ZodNativeEnum<{
1536
+ readonly JsonObject: "json_object";
1537
+ }>;
1538
+ }
1539
+ /** @internal */
1540
+ export declare const GetAgentResponseFormatAgents2$inboundSchema: z.ZodType<GetAgentResponseFormatAgents2, z.ZodTypeDef, unknown>;
1541
+ /** @internal */
1542
+ export type GetAgentResponseFormatAgents2$Outbound = {
1543
+ type: string;
1544
+ };
1545
+ /** @internal */
1546
+ export declare const GetAgentResponseFormatAgents2$outboundSchema: z.ZodType<GetAgentResponseFormatAgents2$Outbound, z.ZodTypeDef, GetAgentResponseFormatAgents2>;
1547
+ /**
1548
+ * @internal
1549
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1550
+ */
1551
+ export declare namespace GetAgentResponseFormatAgents2$ {
1552
+ /** @deprecated use `GetAgentResponseFormatAgents2$inboundSchema` instead. */
1553
+ const inboundSchema: z.ZodType<GetAgentResponseFormatAgents2, z.ZodTypeDef, unknown>;
1554
+ /** @deprecated use `GetAgentResponseFormatAgents2$outboundSchema` instead. */
1555
+ const outboundSchema: z.ZodType<GetAgentResponseFormatAgents2$Outbound, z.ZodTypeDef, GetAgentResponseFormatAgents2>;
1556
+ /** @deprecated use `GetAgentResponseFormatAgents2$Outbound` instead. */
1557
+ type Outbound = GetAgentResponseFormatAgents2$Outbound;
1558
+ }
1559
+ export declare function getAgentResponseFormatAgents2ToJSON(getAgentResponseFormatAgents2: GetAgentResponseFormatAgents2): string;
1560
+ export declare function getAgentResponseFormatAgents2FromJSON(jsonString: string): SafeParseResult<GetAgentResponseFormatAgents2, SDKValidationError>;
1561
+ /** @internal */
1562
+ export declare const GetAgentResponseFormatAgentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatAgentsResponse200Type>;
1563
+ /** @internal */
1564
+ export declare const GetAgentResponseFormatAgentsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetAgentResponseFormatAgentsResponse200Type>;
1565
+ /**
1566
+ * @internal
1567
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1568
+ */
1569
+ export declare namespace GetAgentResponseFormatAgentsResponse200Type$ {
1570
+ /** @deprecated use `GetAgentResponseFormatAgentsResponse200Type$inboundSchema` instead. */
1571
+ const inboundSchema: z.ZodNativeEnum<{
1572
+ readonly Text: "text";
1573
+ }>;
1574
+ /** @deprecated use `GetAgentResponseFormatAgentsResponse200Type$outboundSchema` instead. */
1575
+ const outboundSchema: z.ZodNativeEnum<{
1576
+ readonly Text: "text";
1577
+ }>;
1578
+ }
1579
+ /** @internal */
1580
+ export declare const GetAgentResponseFormatAgents1$inboundSchema: z.ZodType<GetAgentResponseFormatAgents1, z.ZodTypeDef, unknown>;
1581
+ /** @internal */
1582
+ export type GetAgentResponseFormatAgents1$Outbound = {
1583
+ type: string;
1584
+ };
1585
+ /** @internal */
1586
+ export declare const GetAgentResponseFormatAgents1$outboundSchema: z.ZodType<GetAgentResponseFormatAgents1$Outbound, z.ZodTypeDef, GetAgentResponseFormatAgents1>;
1587
+ /**
1588
+ * @internal
1589
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1590
+ */
1591
+ export declare namespace GetAgentResponseFormatAgents1$ {
1592
+ /** @deprecated use `GetAgentResponseFormatAgents1$inboundSchema` instead. */
1593
+ const inboundSchema: z.ZodType<GetAgentResponseFormatAgents1, z.ZodTypeDef, unknown>;
1594
+ /** @deprecated use `GetAgentResponseFormatAgents1$outboundSchema` instead. */
1595
+ const outboundSchema: z.ZodType<GetAgentResponseFormatAgents1$Outbound, z.ZodTypeDef, GetAgentResponseFormatAgents1>;
1596
+ /** @deprecated use `GetAgentResponseFormatAgents1$Outbound` instead. */
1597
+ type Outbound = GetAgentResponseFormatAgents1$Outbound;
1598
+ }
1599
+ export declare function getAgentResponseFormatAgents1ToJSON(getAgentResponseFormatAgents1: GetAgentResponseFormatAgents1): string;
1600
+ export declare function getAgentResponseFormatAgents1FromJSON(jsonString: string): SafeParseResult<GetAgentResponseFormatAgents1, SDKValidationError>;
1601
+ /** @internal */
1602
+ export declare const GetAgentFallbackModelsResponseFormat$inboundSchema: z.ZodType<GetAgentFallbackModelsResponseFormat, z.ZodTypeDef, unknown>;
1603
+ /** @internal */
1604
+ export type GetAgentFallbackModelsResponseFormat$Outbound = GetAgentResponseFormatAgents3$Outbound | GetAgentResponseFormatAgents1$Outbound | GetAgentResponseFormatAgents2$Outbound;
1605
+ /** @internal */
1606
+ export declare const GetAgentFallbackModelsResponseFormat$outboundSchema: z.ZodType<GetAgentFallbackModelsResponseFormat$Outbound, z.ZodTypeDef, GetAgentFallbackModelsResponseFormat>;
1607
+ /**
1608
+ * @internal
1609
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1610
+ */
1611
+ export declare namespace GetAgentFallbackModelsResponseFormat$ {
1612
+ /** @deprecated use `GetAgentFallbackModelsResponseFormat$inboundSchema` instead. */
1613
+ const inboundSchema: z.ZodType<GetAgentFallbackModelsResponseFormat, z.ZodTypeDef, unknown>;
1614
+ /** @deprecated use `GetAgentFallbackModelsResponseFormat$outboundSchema` instead. */
1615
+ const outboundSchema: z.ZodType<GetAgentFallbackModelsResponseFormat$Outbound, z.ZodTypeDef, GetAgentFallbackModelsResponseFormat>;
1616
+ /** @deprecated use `GetAgentFallbackModelsResponseFormat$Outbound` instead. */
1617
+ type Outbound = GetAgentFallbackModelsResponseFormat$Outbound;
1618
+ }
1619
+ export declare function getAgentFallbackModelsResponseFormatToJSON(getAgentFallbackModelsResponseFormat: GetAgentFallbackModelsResponseFormat): string;
1620
+ export declare function getAgentFallbackModelsResponseFormatFromJSON(jsonString: string): SafeParseResult<GetAgentFallbackModelsResponseFormat, SDKValidationError>;
1621
+ /** @internal */
1622
+ export declare const GetAgentFallbackModelsStop$inboundSchema: z.ZodType<GetAgentFallbackModelsStop, z.ZodTypeDef, unknown>;
1623
+ /** @internal */
1624
+ export type GetAgentFallbackModelsStop$Outbound = string | Array<string>;
1625
+ /** @internal */
1626
+ export declare const GetAgentFallbackModelsStop$outboundSchema: z.ZodType<GetAgentFallbackModelsStop$Outbound, z.ZodTypeDef, GetAgentFallbackModelsStop>;
1627
+ /**
1628
+ * @internal
1629
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1630
+ */
1631
+ export declare namespace GetAgentFallbackModelsStop$ {
1632
+ /** @deprecated use `GetAgentFallbackModelsStop$inboundSchema` instead. */
1633
+ const inboundSchema: z.ZodType<GetAgentFallbackModelsStop, z.ZodTypeDef, unknown>;
1634
+ /** @deprecated use `GetAgentFallbackModelsStop$outboundSchema` instead. */
1635
+ const outboundSchema: z.ZodType<GetAgentFallbackModelsStop$Outbound, z.ZodTypeDef, GetAgentFallbackModelsStop>;
1636
+ /** @deprecated use `GetAgentFallbackModelsStop$Outbound` instead. */
1637
+ type Outbound = GetAgentFallbackModelsStop$Outbound;
1638
+ }
1639
+ export declare function getAgentFallbackModelsStopToJSON(getAgentFallbackModelsStop: GetAgentFallbackModelsStop): string;
1640
+ export declare function getAgentFallbackModelsStopFromJSON(jsonString: string): SafeParseResult<GetAgentFallbackModelsStop, SDKValidationError>;
1641
+ /** @internal */
1642
+ export declare const GetAgentFallbackModelsStreamOptions$inboundSchema: z.ZodType<GetAgentFallbackModelsStreamOptions, z.ZodTypeDef, unknown>;
1643
+ /** @internal */
1644
+ export type GetAgentFallbackModelsStreamOptions$Outbound = {
1645
+ include_usage?: boolean | undefined;
1646
+ };
1647
+ /** @internal */
1648
+ export declare const GetAgentFallbackModelsStreamOptions$outboundSchema: z.ZodType<GetAgentFallbackModelsStreamOptions$Outbound, z.ZodTypeDef, GetAgentFallbackModelsStreamOptions>;
1649
+ /**
1650
+ * @internal
1651
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1652
+ */
1653
+ export declare namespace GetAgentFallbackModelsStreamOptions$ {
1654
+ /** @deprecated use `GetAgentFallbackModelsStreamOptions$inboundSchema` instead. */
1655
+ const inboundSchema: z.ZodType<GetAgentFallbackModelsStreamOptions, z.ZodTypeDef, unknown>;
1656
+ /** @deprecated use `GetAgentFallbackModelsStreamOptions$outboundSchema` instead. */
1657
+ const outboundSchema: z.ZodType<GetAgentFallbackModelsStreamOptions$Outbound, z.ZodTypeDef, GetAgentFallbackModelsStreamOptions>;
1658
+ /** @deprecated use `GetAgentFallbackModelsStreamOptions$Outbound` instead. */
1659
+ type Outbound = GetAgentFallbackModelsStreamOptions$Outbound;
1660
+ }
1661
+ export declare function getAgentFallbackModelsStreamOptionsToJSON(getAgentFallbackModelsStreamOptions: GetAgentFallbackModelsStreamOptions): string;
1662
+ export declare function getAgentFallbackModelsStreamOptionsFromJSON(jsonString: string): SafeParseResult<GetAgentFallbackModelsStreamOptions, SDKValidationError>;
1663
+ /** @internal */
1664
+ export declare const GetAgentFallbackModelsType$inboundSchema: z.ZodNativeEnum<typeof GetAgentFallbackModelsType>;
1665
+ /** @internal */
1666
+ export declare const GetAgentFallbackModelsType$outboundSchema: z.ZodNativeEnum<typeof GetAgentFallbackModelsType>;
1667
+ /**
1668
+ * @internal
1669
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1670
+ */
1671
+ export declare namespace GetAgentFallbackModelsType$ {
1672
+ /** @deprecated use `GetAgentFallbackModelsType$inboundSchema` instead. */
1673
+ const inboundSchema: z.ZodNativeEnum<{
1674
+ readonly Enabled: "enabled";
1675
+ readonly Disabled: "disabled";
1676
+ }>;
1677
+ /** @deprecated use `GetAgentFallbackModelsType$outboundSchema` instead. */
1678
+ const outboundSchema: z.ZodNativeEnum<{
1679
+ readonly Enabled: "enabled";
1680
+ readonly Disabled: "disabled";
1681
+ }>;
1682
+ }
1683
+ /** @internal */
1684
+ export declare const GetAgentFallbackModelsThinking$inboundSchema: z.ZodType<GetAgentFallbackModelsThinking, z.ZodTypeDef, unknown>;
1685
+ /** @internal */
1686
+ export type GetAgentFallbackModelsThinking$Outbound = {
1687
+ type: string;
1688
+ budget_tokens: number;
1689
+ };
1690
+ /** @internal */
1691
+ export declare const GetAgentFallbackModelsThinking$outboundSchema: z.ZodType<GetAgentFallbackModelsThinking$Outbound, z.ZodTypeDef, GetAgentFallbackModelsThinking>;
1692
+ /**
1693
+ * @internal
1694
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1695
+ */
1696
+ export declare namespace GetAgentFallbackModelsThinking$ {
1697
+ /** @deprecated use `GetAgentFallbackModelsThinking$inboundSchema` instead. */
1698
+ const inboundSchema: z.ZodType<GetAgentFallbackModelsThinking, z.ZodTypeDef, unknown>;
1699
+ /** @deprecated use `GetAgentFallbackModelsThinking$outboundSchema` instead. */
1700
+ const outboundSchema: z.ZodType<GetAgentFallbackModelsThinking$Outbound, z.ZodTypeDef, GetAgentFallbackModelsThinking>;
1701
+ /** @deprecated use `GetAgentFallbackModelsThinking$Outbound` instead. */
1702
+ type Outbound = GetAgentFallbackModelsThinking$Outbound;
1703
+ }
1704
+ export declare function getAgentFallbackModelsThinkingToJSON(getAgentFallbackModelsThinking: GetAgentFallbackModelsThinking): string;
1705
+ export declare function getAgentFallbackModelsThinkingFromJSON(jsonString: string): SafeParseResult<GetAgentFallbackModelsThinking, SDKValidationError>;
1706
+ /** @internal */
1707
+ export declare const GetAgentToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof GetAgentToolChoiceAgentsType>;
1708
+ /** @internal */
1709
+ export declare const GetAgentToolChoiceAgentsType$outboundSchema: z.ZodNativeEnum<typeof GetAgentToolChoiceAgentsType>;
1710
+ /**
1711
+ * @internal
1712
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1713
+ */
1714
+ export declare namespace GetAgentToolChoiceAgentsType$ {
1715
+ /** @deprecated use `GetAgentToolChoiceAgentsType$inboundSchema` instead. */
1716
+ const inboundSchema: z.ZodNativeEnum<{
1717
+ readonly Function: "function";
1718
+ }>;
1719
+ /** @deprecated use `GetAgentToolChoiceAgentsType$outboundSchema` instead. */
1720
+ const outboundSchema: z.ZodNativeEnum<{
1721
+ readonly Function: "function";
1722
+ }>;
1723
+ }
1724
+ /** @internal */
1725
+ export declare const GetAgentToolChoiceAgentsFunction$inboundSchema: z.ZodType<GetAgentToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
1726
+ /** @internal */
1727
+ export type GetAgentToolChoiceAgentsFunction$Outbound = {
1728
+ name?: string | undefined;
1729
+ };
1730
+ /** @internal */
1731
+ export declare const GetAgentToolChoiceAgentsFunction$outboundSchema: z.ZodType<GetAgentToolChoiceAgentsFunction$Outbound, z.ZodTypeDef, GetAgentToolChoiceAgentsFunction>;
1732
+ /**
1733
+ * @internal
1734
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1735
+ */
1736
+ export declare namespace GetAgentToolChoiceAgentsFunction$ {
1737
+ /** @deprecated use `GetAgentToolChoiceAgentsFunction$inboundSchema` instead. */
1738
+ const inboundSchema: z.ZodType<GetAgentToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
1739
+ /** @deprecated use `GetAgentToolChoiceAgentsFunction$outboundSchema` instead. */
1740
+ const outboundSchema: z.ZodType<GetAgentToolChoiceAgentsFunction$Outbound, z.ZodTypeDef, GetAgentToolChoiceAgentsFunction>;
1741
+ /** @deprecated use `GetAgentToolChoiceAgentsFunction$Outbound` instead. */
1742
+ type Outbound = GetAgentToolChoiceAgentsFunction$Outbound;
1743
+ }
1744
+ export declare function getAgentToolChoiceAgentsFunctionToJSON(getAgentToolChoiceAgentsFunction: GetAgentToolChoiceAgentsFunction): string;
1745
+ export declare function getAgentToolChoiceAgentsFunctionFromJSON(jsonString: string): SafeParseResult<GetAgentToolChoiceAgentsFunction, SDKValidationError>;
1746
+ /** @internal */
1747
+ export declare const GetAgentToolChoiceAgents2$inboundSchema: z.ZodType<GetAgentToolChoiceAgents2, z.ZodTypeDef, unknown>;
1748
+ /** @internal */
1749
+ export type GetAgentToolChoiceAgents2$Outbound = {
1750
+ type?: string | undefined;
1751
+ function: GetAgentToolChoiceAgentsFunction$Outbound;
1752
+ };
1753
+ /** @internal */
1754
+ export declare const GetAgentToolChoiceAgents2$outboundSchema: z.ZodType<GetAgentToolChoiceAgents2$Outbound, z.ZodTypeDef, GetAgentToolChoiceAgents2>;
1755
+ /**
1756
+ * @internal
1757
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1758
+ */
1759
+ export declare namespace GetAgentToolChoiceAgents2$ {
1760
+ /** @deprecated use `GetAgentToolChoiceAgents2$inboundSchema` instead. */
1761
+ const inboundSchema: z.ZodType<GetAgentToolChoiceAgents2, z.ZodTypeDef, unknown>;
1762
+ /** @deprecated use `GetAgentToolChoiceAgents2$outboundSchema` instead. */
1763
+ const outboundSchema: z.ZodType<GetAgentToolChoiceAgents2$Outbound, z.ZodTypeDef, GetAgentToolChoiceAgents2>;
1764
+ /** @deprecated use `GetAgentToolChoiceAgents2$Outbound` instead. */
1765
+ type Outbound = GetAgentToolChoiceAgents2$Outbound;
1766
+ }
1767
+ export declare function getAgentToolChoiceAgents2ToJSON(getAgentToolChoiceAgents2: GetAgentToolChoiceAgents2): string;
1768
+ export declare function getAgentToolChoiceAgents2FromJSON(jsonString: string): SafeParseResult<GetAgentToolChoiceAgents2, SDKValidationError>;
1769
+ /** @internal */
1770
+ export declare const GetAgentToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof GetAgentToolChoiceAgents1>;
1771
+ /** @internal */
1772
+ export declare const GetAgentToolChoiceAgents1$outboundSchema: z.ZodNativeEnum<typeof GetAgentToolChoiceAgents1>;
1773
+ /**
1774
+ * @internal
1775
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1776
+ */
1777
+ export declare namespace GetAgentToolChoiceAgents1$ {
1778
+ /** @deprecated use `GetAgentToolChoiceAgents1$inboundSchema` instead. */
1779
+ const inboundSchema: z.ZodNativeEnum<{
1780
+ readonly None: "none";
1781
+ readonly Auto: "auto";
1782
+ readonly Required: "required";
1783
+ }>;
1784
+ /** @deprecated use `GetAgentToolChoiceAgents1$outboundSchema` instead. */
1785
+ const outboundSchema: z.ZodNativeEnum<{
1786
+ readonly None: "none";
1787
+ readonly Auto: "auto";
1788
+ readonly Required: "required";
1789
+ }>;
1790
+ }
1791
+ /** @internal */
1792
+ export declare const GetAgentFallbackModelsToolChoice$inboundSchema: z.ZodType<GetAgentFallbackModelsToolChoice, z.ZodTypeDef, unknown>;
1793
+ /** @internal */
1794
+ export type GetAgentFallbackModelsToolChoice$Outbound = GetAgentToolChoiceAgents2$Outbound | string;
1795
+ /** @internal */
1796
+ export declare const GetAgentFallbackModelsToolChoice$outboundSchema: z.ZodType<GetAgentFallbackModelsToolChoice$Outbound, z.ZodTypeDef, GetAgentFallbackModelsToolChoice>;
1797
+ /**
1798
+ * @internal
1799
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1800
+ */
1801
+ export declare namespace GetAgentFallbackModelsToolChoice$ {
1802
+ /** @deprecated use `GetAgentFallbackModelsToolChoice$inboundSchema` instead. */
1803
+ const inboundSchema: z.ZodType<GetAgentFallbackModelsToolChoice, z.ZodTypeDef, unknown>;
1804
+ /** @deprecated use `GetAgentFallbackModelsToolChoice$outboundSchema` instead. */
1805
+ const outboundSchema: z.ZodType<GetAgentFallbackModelsToolChoice$Outbound, z.ZodTypeDef, GetAgentFallbackModelsToolChoice>;
1806
+ /** @deprecated use `GetAgentFallbackModelsToolChoice$Outbound` instead. */
1807
+ type Outbound = GetAgentFallbackModelsToolChoice$Outbound;
1808
+ }
1809
+ export declare function getAgentFallbackModelsToolChoiceToJSON(getAgentFallbackModelsToolChoice: GetAgentFallbackModelsToolChoice): string;
1810
+ export declare function getAgentFallbackModelsToolChoiceFromJSON(jsonString: string): SafeParseResult<GetAgentFallbackModelsToolChoice, SDKValidationError>;
1811
+ /** @internal */
1812
+ export declare const GetAgentFallbackModelsModalities$inboundSchema: z.ZodNativeEnum<typeof GetAgentFallbackModelsModalities>;
1813
+ /** @internal */
1814
+ export declare const GetAgentFallbackModelsModalities$outboundSchema: z.ZodNativeEnum<typeof GetAgentFallbackModelsModalities>;
1815
+ /**
1816
+ * @internal
1817
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1818
+ */
1819
+ export declare namespace GetAgentFallbackModelsModalities$ {
1820
+ /** @deprecated use `GetAgentFallbackModelsModalities$inboundSchema` instead. */
1821
+ const inboundSchema: z.ZodNativeEnum<{
1822
+ readonly Text: "text";
1823
+ readonly Audio: "audio";
1824
+ }>;
1825
+ /** @deprecated use `GetAgentFallbackModelsModalities$outboundSchema` instead. */
1826
+ const outboundSchema: z.ZodNativeEnum<{
1827
+ readonly Text: "text";
1828
+ readonly Audio: "audio";
1829
+ }>;
1830
+ }
1831
+ /** @internal */
1832
+ export declare const GetAgentFallbackModelsWebSearchOptions$inboundSchema: z.ZodType<GetAgentFallbackModelsWebSearchOptions, z.ZodTypeDef, unknown>;
1833
+ /** @internal */
1834
+ export type GetAgentFallbackModelsWebSearchOptions$Outbound = {
1835
+ enabled?: boolean | undefined;
1836
+ };
1837
+ /** @internal */
1838
+ export declare const GetAgentFallbackModelsWebSearchOptions$outboundSchema: z.ZodType<GetAgentFallbackModelsWebSearchOptions$Outbound, z.ZodTypeDef, GetAgentFallbackModelsWebSearchOptions>;
1839
+ /**
1840
+ * @internal
1841
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1842
+ */
1843
+ export declare namespace GetAgentFallbackModelsWebSearchOptions$ {
1844
+ /** @deprecated use `GetAgentFallbackModelsWebSearchOptions$inboundSchema` instead. */
1845
+ const inboundSchema: z.ZodType<GetAgentFallbackModelsWebSearchOptions, z.ZodTypeDef, unknown>;
1846
+ /** @deprecated use `GetAgentFallbackModelsWebSearchOptions$outboundSchema` instead. */
1847
+ const outboundSchema: z.ZodType<GetAgentFallbackModelsWebSearchOptions$Outbound, z.ZodTypeDef, GetAgentFallbackModelsWebSearchOptions>;
1848
+ /** @deprecated use `GetAgentFallbackModelsWebSearchOptions$Outbound` instead. */
1849
+ type Outbound = GetAgentFallbackModelsWebSearchOptions$Outbound;
1850
+ }
1851
+ export declare function getAgentFallbackModelsWebSearchOptionsToJSON(getAgentFallbackModelsWebSearchOptions: GetAgentFallbackModelsWebSearchOptions): string;
1852
+ export declare function getAgentFallbackModelsWebSearchOptionsFromJSON(jsonString: string): SafeParseResult<GetAgentFallbackModelsWebSearchOptions, SDKValidationError>;
1853
+ /** @internal */
1854
+ export declare const GetAgentFallbackModelsParameters$inboundSchema: z.ZodType<GetAgentFallbackModelsParameters, z.ZodTypeDef, unknown>;
1855
+ /** @internal */
1856
+ export type GetAgentFallbackModelsParameters$Outbound = {
1857
+ audio?: GetAgentFallbackModelsAudio$Outbound | null | undefined;
1858
+ frequency_penalty?: number | null | undefined;
1859
+ max_tokens?: number | null | undefined;
1860
+ max_completion_tokens?: number | null | undefined;
1861
+ logprobs?: boolean | null | undefined;
1862
+ top_logprobs?: number | null | undefined;
1863
+ n?: number | null | undefined;
1864
+ presence_penalty?: number | null | undefined;
1865
+ response_format?: GetAgentResponseFormatAgents3$Outbound | GetAgentResponseFormatAgents1$Outbound | GetAgentResponseFormatAgents2$Outbound | undefined;
1866
+ reasoning_effort?: string | undefined;
1867
+ verbosity?: string | undefined;
1868
+ seed?: number | null | undefined;
1869
+ stop?: string | Array<string> | null | undefined;
1870
+ stream_options?: GetAgentFallbackModelsStreamOptions$Outbound | null | undefined;
1871
+ thinking?: GetAgentFallbackModelsThinking$Outbound | undefined;
1872
+ temperature?: number | null | undefined;
1873
+ top_p?: number | null | undefined;
1874
+ top_k?: number | null | undefined;
1875
+ tool_choice?: GetAgentToolChoiceAgents2$Outbound | string | undefined;
1876
+ parallel_tool_calls?: boolean | undefined;
1877
+ modalities?: Array<string> | null | undefined;
1878
+ web_search_options?: GetAgentFallbackModelsWebSearchOptions$Outbound | undefined;
1879
+ };
1880
+ /** @internal */
1881
+ export declare const GetAgentFallbackModelsParameters$outboundSchema: z.ZodType<GetAgentFallbackModelsParameters$Outbound, z.ZodTypeDef, GetAgentFallbackModelsParameters>;
1882
+ /**
1883
+ * @internal
1884
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1885
+ */
1886
+ export declare namespace GetAgentFallbackModelsParameters$ {
1887
+ /** @deprecated use `GetAgentFallbackModelsParameters$inboundSchema` instead. */
1888
+ const inboundSchema: z.ZodType<GetAgentFallbackModelsParameters, z.ZodTypeDef, unknown>;
1889
+ /** @deprecated use `GetAgentFallbackModelsParameters$outboundSchema` instead. */
1890
+ const outboundSchema: z.ZodType<GetAgentFallbackModelsParameters$Outbound, z.ZodTypeDef, GetAgentFallbackModelsParameters>;
1891
+ /** @deprecated use `GetAgentFallbackModelsParameters$Outbound` instead. */
1892
+ type Outbound = GetAgentFallbackModelsParameters$Outbound;
1893
+ }
1894
+ export declare function getAgentFallbackModelsParametersToJSON(getAgentFallbackModelsParameters: GetAgentFallbackModelsParameters): string;
1895
+ export declare function getAgentFallbackModelsParametersFromJSON(jsonString: string): SafeParseResult<GetAgentFallbackModelsParameters, SDKValidationError>;
1896
+ /** @internal */
1897
+ export declare const GetAgentFallbackModels2$inboundSchema: z.ZodType<GetAgentFallbackModels2, z.ZodTypeDef, unknown>;
1898
+ /** @internal */
1899
+ export type GetAgentFallbackModels2$Outbound = {
1900
+ id: string;
1901
+ integration_id?: string | null | undefined;
1902
+ parameters?: GetAgentFallbackModelsParameters$Outbound | undefined;
1903
+ };
1904
+ /** @internal */
1905
+ export declare const GetAgentFallbackModels2$outboundSchema: z.ZodType<GetAgentFallbackModels2$Outbound, z.ZodTypeDef, GetAgentFallbackModels2>;
1906
+ /**
1907
+ * @internal
1908
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1909
+ */
1910
+ export declare namespace GetAgentFallbackModels2$ {
1911
+ /** @deprecated use `GetAgentFallbackModels2$inboundSchema` instead. */
1912
+ const inboundSchema: z.ZodType<GetAgentFallbackModels2, z.ZodTypeDef, unknown>;
1913
+ /** @deprecated use `GetAgentFallbackModels2$outboundSchema` instead. */
1914
+ const outboundSchema: z.ZodType<GetAgentFallbackModels2$Outbound, z.ZodTypeDef, GetAgentFallbackModels2>;
1915
+ /** @deprecated use `GetAgentFallbackModels2$Outbound` instead. */
1916
+ type Outbound = GetAgentFallbackModels2$Outbound;
1917
+ }
1918
+ export declare function getAgentFallbackModels2ToJSON(getAgentFallbackModels2: GetAgentFallbackModels2): string;
1919
+ export declare function getAgentFallbackModels2FromJSON(jsonString: string): SafeParseResult<GetAgentFallbackModels2, SDKValidationError>;
1920
+ /** @internal */
1921
+ export declare const GetAgentFallbackModels$inboundSchema: z.ZodType<GetAgentFallbackModels, z.ZodTypeDef, unknown>;
1922
+ /** @internal */
1923
+ export type GetAgentFallbackModels$Outbound = GetAgentFallbackModels2$Outbound | string;
1924
+ /** @internal */
1925
+ export declare const GetAgentFallbackModels$outboundSchema: z.ZodType<GetAgentFallbackModels$Outbound, z.ZodTypeDef, GetAgentFallbackModels>;
1926
+ /**
1927
+ * @internal
1928
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1929
+ */
1930
+ export declare namespace GetAgentFallbackModels$ {
1931
+ /** @deprecated use `GetAgentFallbackModels$inboundSchema` instead. */
1932
+ const inboundSchema: z.ZodType<GetAgentFallbackModels, z.ZodTypeDef, unknown>;
1933
+ /** @deprecated use `GetAgentFallbackModels$outboundSchema` instead. */
1934
+ const outboundSchema: z.ZodType<GetAgentFallbackModels$Outbound, z.ZodTypeDef, GetAgentFallbackModels>;
1935
+ /** @deprecated use `GetAgentFallbackModels$Outbound` instead. */
1936
+ type Outbound = GetAgentFallbackModels$Outbound;
1937
+ }
1938
+ export declare function getAgentFallbackModelsToJSON(getAgentFallbackModels: GetAgentFallbackModels): string;
1939
+ export declare function getAgentFallbackModelsFromJSON(jsonString: string): SafeParseResult<GetAgentFallbackModels, SDKValidationError>;
1940
+ /** @internal */
337
1941
  export declare const GetAgentModel$inboundSchema: z.ZodType<GetAgentModel, z.ZodTypeDef, unknown>;
338
1942
  /** @internal */
339
1943
  export type GetAgentModel$Outbound = {
340
1944
  id: string;
341
1945
  integration_id?: string | null | undefined;
342
- fallback_models?: Array<string> | null | undefined;
343
- max_tokens?: number | undefined;
344
- temperature?: number | undefined;
1946
+ parameters?: GetAgentParameters$Outbound | undefined;
1947
+ fallback_models?: Array<GetAgentFallbackModels2$Outbound | string> | null | undefined;
345
1948
  };
346
1949
  /** @internal */
347
1950
  export declare const GetAgentModel$outboundSchema: z.ZodType<GetAgentModel$Outbound, z.ZodTypeDef, GetAgentModel>;