@orq-ai/node 4.5.0-rc.24 → 4.5.0-rc.26

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 (123) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/createagentresponse.d.ts +5 -0
  5. package/models/components/createagentresponse.d.ts.map +1 -1
  6. package/models/components/createagentresponse.js +2 -0
  7. package/models/components/createagentresponse.js.map +1 -1
  8. package/models/components/index.d.ts +1 -0
  9. package/models/components/index.d.ts.map +1 -1
  10. package/models/components/index.js +1 -0
  11. package/models/components/index.js.map +1 -1
  12. package/models/components/partdoneevent.js +1 -1
  13. package/models/components/reasoningpart.js +1 -1
  14. package/models/components/responsedoneevent.d.ts +5 -0
  15. package/models/components/responsedoneevent.d.ts.map +1 -1
  16. package/models/components/responsedoneevent.js +2 -0
  17. package/models/components/responsedoneevent.js.map +1 -1
  18. package/models/components/responsestartedevent.d.ts +5 -0
  19. package/models/components/responsestartedevent.d.ts.map +1 -1
  20. package/models/components/responsestartedevent.js +2 -0
  21. package/models/components/responsestartedevent.js.map +1 -1
  22. package/models/components/telemetry.d.ts +20 -0
  23. package/models/components/telemetry.d.ts.map +1 -0
  24. package/models/components/telemetry.js +57 -0
  25. package/models/components/telemetry.js.map +1 -0
  26. package/models/operations/createagentrequest.d.ts +16 -460
  27. package/models/operations/createagentrequest.d.ts.map +1 -1
  28. package/models/operations/createagentrequest.js +21 -299
  29. package/models/operations/createagentrequest.js.map +1 -1
  30. package/models/operations/createcontact.js +1 -1
  31. package/models/operations/createdataset.js +1 -1
  32. package/models/operations/createdatasetitem.js +4 -4
  33. package/models/operations/createdatasource.js +1 -1
  34. package/models/operations/createeval.js +16 -16
  35. package/models/operations/createidentity.js +1 -1
  36. package/models/operations/createprompt.d.ts +30 -30
  37. package/models/operations/createprompt.d.ts.map +1 -1
  38. package/models/operations/createprompt.js +31 -29
  39. package/models/operations/createprompt.js.map +1 -1
  40. package/models/operations/createtool.js +6 -6
  41. package/models/operations/fileget.js +1 -1
  42. package/models/operations/filelist.js +1 -1
  43. package/models/operations/fileupload.js +1 -1
  44. package/models/operations/getalltools.js +6 -6
  45. package/models/operations/getevals.js +16 -16
  46. package/models/operations/listagents.d.ts +0 -202
  47. package/models/operations/listagents.d.ts.map +1 -1
  48. package/models/operations/listagents.js +2 -139
  49. package/models/operations/listagents.js.map +1 -1
  50. package/models/operations/listdatasetdatapoints.js +4 -4
  51. package/models/operations/listdatasets.js +1 -1
  52. package/models/operations/listdatasources.js +1 -1
  53. package/models/operations/listidentities.js +1 -1
  54. package/models/operations/retrieveagentrequest.d.ts +0 -202
  55. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  56. package/models/operations/retrieveagentrequest.js +2 -140
  57. package/models/operations/retrieveagentrequest.js.map +1 -1
  58. package/models/operations/retrievedatapoint.js +4 -4
  59. package/models/operations/retrievedataset.js +1 -1
  60. package/models/operations/retrievedatasource.js +1 -1
  61. package/models/operations/retrieveidentity.js +1 -1
  62. package/models/operations/retrievetool.js +6 -6
  63. package/models/operations/runagent.d.ts +12 -254
  64. package/models/operations/runagent.d.ts.map +1 -1
  65. package/models/operations/runagent.js +16 -153
  66. package/models/operations/runagent.js.map +1 -1
  67. package/models/operations/streamrunagent.d.ts +12 -254
  68. package/models/operations/streamrunagent.d.ts.map +1 -1
  69. package/models/operations/streamrunagent.js +15 -152
  70. package/models/operations/streamrunagent.js.map +1 -1
  71. package/models/operations/updateagent.d.ts +16 -460
  72. package/models/operations/updateagent.d.ts.map +1 -1
  73. package/models/operations/updateagent.js +21 -298
  74. package/models/operations/updateagent.js.map +1 -1
  75. package/models/operations/updatedatapoint.js +4 -4
  76. package/models/operations/updatedataset.js +1 -1
  77. package/models/operations/updatedatasource.js +1 -1
  78. package/models/operations/updateeval.js +16 -16
  79. package/models/operations/updateidentity.js +1 -1
  80. package/models/operations/updatetool.js +7 -7
  81. package/package.json +1 -1
  82. package/src/lib/config.ts +2 -2
  83. package/src/models/components/createagentresponse.ts +6 -0
  84. package/src/models/components/index.ts +1 -0
  85. package/src/models/components/partdoneevent.ts +1 -1
  86. package/src/models/components/reasoningpart.ts +1 -1
  87. package/src/models/components/responsedoneevent.ts +6 -0
  88. package/src/models/components/responsestartedevent.ts +6 -0
  89. package/src/models/components/telemetry.ts +48 -0
  90. package/src/models/operations/createagentrequest.ts +49 -860
  91. package/src/models/operations/createcontact.ts +1 -1
  92. package/src/models/operations/createdataset.ts +1 -1
  93. package/src/models/operations/createdatasetitem.ts +4 -4
  94. package/src/models/operations/createdatasource.ts +1 -1
  95. package/src/models/operations/createeval.ts +16 -16
  96. package/src/models/operations/createidentity.ts +1 -1
  97. package/src/models/operations/createprompt.ts +55 -66
  98. package/src/models/operations/createtool.ts +6 -6
  99. package/src/models/operations/fileget.ts +1 -1
  100. package/src/models/operations/filelist.ts +1 -1
  101. package/src/models/operations/fileupload.ts +1 -1
  102. package/src/models/operations/getalltools.ts +6 -6
  103. package/src/models/operations/getevals.ts +16 -16
  104. package/src/models/operations/listagents.ts +0 -393
  105. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  106. package/src/models/operations/listdatasets.ts +1 -1
  107. package/src/models/operations/listdatasources.ts +1 -1
  108. package/src/models/operations/listidentities.ts +1 -1
  109. package/src/models/operations/retrieveagentrequest.ts +0 -402
  110. package/src/models/operations/retrievedatapoint.ts +4 -4
  111. package/src/models/operations/retrievedataset.ts +1 -1
  112. package/src/models/operations/retrievedatasource.ts +1 -1
  113. package/src/models/operations/retrieveidentity.ts +1 -1
  114. package/src/models/operations/retrievetool.ts +6 -6
  115. package/src/models/operations/runagent.ts +35 -473
  116. package/src/models/operations/streamrunagent.ts +35 -492
  117. package/src/models/operations/updateagent.ts +36 -874
  118. package/src/models/operations/updatedatapoint.ts +4 -4
  119. package/src/models/operations/updatedataset.ts +1 -1
  120. package/src/models/operations/updatedatasource.ts +1 -1
  121. package/src/models/operations/updateeval.ts +16 -16
  122. package/src/models/operations/updateidentity.ts +1 -1
  123. package/src/models/operations/updatetool.ts +7 -7
@@ -3,48 +3,6 @@ import { ClosedEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import * as components from "../components/index.js";
5
5
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
6
- /**
7
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
8
- */
9
- export declare const ModelConfigurationVoice: {
10
- readonly Alloy: "alloy";
11
- readonly Echo: "echo";
12
- readonly Fable: "fable";
13
- readonly Onyx: "onyx";
14
- readonly Nova: "nova";
15
- readonly Shimmer: "shimmer";
16
- };
17
- /**
18
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
19
- */
20
- export type ModelConfigurationVoice = ClosedEnum<typeof ModelConfigurationVoice>;
21
- /**
22
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
23
- */
24
- export declare const ModelConfigurationFormat: {
25
- readonly Wav: "wav";
26
- readonly Mp3: "mp3";
27
- readonly Flac: "flac";
28
- readonly Opus: "opus";
29
- readonly Pcm16: "pcm16";
30
- };
31
- /**
32
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
33
- */
34
- export type ModelConfigurationFormat = ClosedEnum<typeof ModelConfigurationFormat>;
35
- /**
36
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
37
- */
38
- export type UpdateAgentModelConfigurationAudio = {
39
- /**
40
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
41
- */
42
- voice: ModelConfigurationVoice;
43
- /**
44
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
45
- */
46
- format: ModelConfigurationFormat;
47
- };
48
6
  export type UpdateAgentResponseFormatAgentsJsonSchema = {
49
7
  /**
50
8
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -129,15 +87,6 @@ export type ModelConfigurationReasoningEffort = ClosedEnum<typeof ModelConfigura
129
87
  * Up to 4 sequences where the API will stop generating further tokens.
130
88
  */
131
89
  export type ModelConfigurationStop = string | Array<string>;
132
- /**
133
- * Options for streaming response. Only set this when you set stream: true.
134
- */
135
- export type ModelConfigurationStreamOptions = {
136
- /**
137
- * 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.
138
- */
139
- includeUsage?: boolean | undefined;
140
- };
141
90
  export type ModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
142
91
  /**
143
92
  * The type of the tool. Currently, only function is supported.
@@ -214,19 +163,6 @@ export type ModelConfigurationFallbacks = {
214
163
  */
215
164
  model: string;
216
165
  };
217
- /**
218
- * Retry configuration for the request
219
- */
220
- export type UpdateAgentModelConfigurationRetry = {
221
- /**
222
- * Number of retry attempts (1-5)
223
- */
224
- count?: number | undefined;
225
- /**
226
- * HTTP status codes that trigger retry logic
227
- */
228
- onCodes?: Array<number> | undefined;
229
- };
230
166
  export declare const UpdateAgentModelConfigurationType: {
231
167
  readonly ExactMatch: "exact_match";
232
168
  };
@@ -280,10 +216,6 @@ export type ModelConfigurationParameters = {
280
216
  * The name to display on the trace. If not specified, the default system name will be used.
281
217
  */
282
218
  name?: string | undefined;
283
- /**
284
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
285
- */
286
- audio?: UpdateAgentModelConfigurationAudio | null | undefined;
287
219
  /**
288
220
  * 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.
289
221
  */
@@ -300,18 +232,6 @@ export type ModelConfigurationParameters = {
300
232
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
301
233
  */
302
234
  maxCompletionTokens?: number | null | undefined;
303
- /**
304
- * 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.
305
- */
306
- logprobs?: boolean | null | undefined;
307
- /**
308
- * 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.
309
- */
310
- topLogprobs?: number | null | undefined;
311
- /**
312
- * 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.
313
- */
314
- n?: number | null | undefined;
315
235
  /**
316
236
  * 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.
317
237
  */
@@ -345,10 +265,6 @@ export type ModelConfigurationParameters = {
345
265
  * Up to 4 sequences where the API will stop generating further tokens.
346
266
  */
347
267
  stop?: string | Array<string> | null | undefined;
348
- /**
349
- * Options for streaming response. Only set this when you set stream: true.
350
- */
351
- streamOptions?: ModelConfigurationStreamOptions | null | undefined;
352
268
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
353
269
  /**
354
270
  * 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.
@@ -382,10 +298,6 @@ export type ModelConfigurationParameters = {
382
298
  * Array of fallback models to use if primary model fails
383
299
  */
384
300
  fallbacks?: Array<ModelConfigurationFallbacks> | undefined;
385
- /**
386
- * Retry configuration for the request
387
- */
388
- retry?: UpdateAgentModelConfigurationRetry | undefined;
389
301
  /**
390
302
  * Cache configuration for the request.
391
303
  */
@@ -402,7 +314,7 @@ export type ModelConfigurationParameters = {
402
314
  /**
403
315
  * Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
404
316
  */
405
- export type UpdateAgentModelConfigurationAgentsRetry = {
317
+ export type ModelConfigurationRetry = {
406
318
  /**
407
319
  * Number of retry attempts (1-5)
408
320
  */
@@ -429,54 +341,12 @@ export type UpdateAgentModelConfiguration2 = {
429
341
  /**
430
342
  * Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
431
343
  */
432
- retry?: UpdateAgentModelConfigurationAgentsRetry | undefined;
344
+ retry?: ModelConfigurationRetry | undefined;
433
345
  };
434
346
  /**
435
347
  * Model configuration for agent execution. Can be a simple model ID string or a configuration object with optional behavior parameters and retry settings.
436
348
  */
437
349
  export type UpdateAgentModelConfiguration = UpdateAgentModelConfiguration2 | string;
438
- /**
439
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
440
- */
441
- export declare const UpdateAgentFallbackModelConfigurationVoice: {
442
- readonly Alloy: "alloy";
443
- readonly Echo: "echo";
444
- readonly Fable: "fable";
445
- readonly Onyx: "onyx";
446
- readonly Nova: "nova";
447
- readonly Shimmer: "shimmer";
448
- };
449
- /**
450
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
451
- */
452
- export type UpdateAgentFallbackModelConfigurationVoice = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationVoice>;
453
- /**
454
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
455
- */
456
- export declare const UpdateAgentFallbackModelConfigurationFormat: {
457
- readonly Wav: "wav";
458
- readonly Mp3: "mp3";
459
- readonly Flac: "flac";
460
- readonly Opus: "opus";
461
- readonly Pcm16: "pcm16";
462
- };
463
- /**
464
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
465
- */
466
- export type UpdateAgentFallbackModelConfigurationFormat = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationFormat>;
467
- /**
468
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
469
- */
470
- export type UpdateAgentFallbackModelConfigurationAudio = {
471
- /**
472
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
473
- */
474
- voice: UpdateAgentFallbackModelConfigurationVoice;
475
- /**
476
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
477
- */
478
- format: UpdateAgentFallbackModelConfigurationFormat;
479
- };
480
350
  export type UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema = {
481
351
  /**
482
352
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -561,15 +431,6 @@ export type UpdateAgentFallbackModelConfigurationReasoningEffort = ClosedEnum<ty
561
431
  * Up to 4 sequences where the API will stop generating further tokens.
562
432
  */
563
433
  export type UpdateAgentFallbackModelConfigurationStop = string | Array<string>;
564
- /**
565
- * Options for streaming response. Only set this when you set stream: true.
566
- */
567
- export type UpdateAgentFallbackModelConfigurationStreamOptions = {
568
- /**
569
- * 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.
570
- */
571
- includeUsage?: boolean | undefined;
572
- };
573
434
  export type UpdateAgentFallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
574
435
  /**
575
436
  * The type of the tool. Currently, only function is supported.
@@ -646,19 +507,6 @@ export type UpdateAgentFallbackModelConfigurationFallbacks = {
646
507
  */
647
508
  model: string;
648
509
  };
649
- /**
650
- * Retry configuration for the request
651
- */
652
- export type UpdateAgentFallbackModelConfigurationRetry = {
653
- /**
654
- * Number of retry attempts (1-5)
655
- */
656
- count?: number | undefined;
657
- /**
658
- * HTTP status codes that trigger retry logic
659
- */
660
- onCodes?: Array<number> | undefined;
661
- };
662
510
  export declare const UpdateAgentFallbackModelConfigurationType: {
663
511
  readonly ExactMatch: "exact_match";
664
512
  };
@@ -712,10 +560,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
712
560
  * The name to display on the trace. If not specified, the default system name will be used.
713
561
  */
714
562
  name?: string | undefined;
715
- /**
716
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
717
- */
718
- audio?: UpdateAgentFallbackModelConfigurationAudio | null | undefined;
719
563
  /**
720
564
  * 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.
721
565
  */
@@ -732,18 +576,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
732
576
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
733
577
  */
734
578
  maxCompletionTokens?: number | null | undefined;
735
- /**
736
- * 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.
737
- */
738
- logprobs?: boolean | null | undefined;
739
- /**
740
- * 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.
741
- */
742
- topLogprobs?: number | null | undefined;
743
- /**
744
- * 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.
745
- */
746
- n?: number | null | undefined;
747
579
  /**
748
580
  * 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.
749
581
  */
@@ -777,10 +609,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
777
609
  * Up to 4 sequences where the API will stop generating further tokens.
778
610
  */
779
611
  stop?: string | Array<string> | null | undefined;
780
- /**
781
- * Options for streaming response. Only set this when you set stream: true.
782
- */
783
- streamOptions?: UpdateAgentFallbackModelConfigurationStreamOptions | null | undefined;
784
612
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
785
613
  /**
786
614
  * 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.
@@ -814,10 +642,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
814
642
  * Array of fallback models to use if primary model fails
815
643
  */
816
644
  fallbacks?: Array<UpdateAgentFallbackModelConfigurationFallbacks> | undefined;
817
- /**
818
- * Retry configuration for the request
819
- */
820
- retry?: UpdateAgentFallbackModelConfigurationRetry | undefined;
821
645
  /**
822
646
  * Cache configuration for the request.
823
647
  */
@@ -834,7 +658,7 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
834
658
  /**
835
659
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
836
660
  */
837
- export type UpdateAgentFallbackModelConfigurationAgentsRetry = {
661
+ export type UpdateAgentFallbackModelConfigurationRetry = {
838
662
  /**
839
663
  * Number of retry attempts (1-5)
840
664
  */
@@ -859,7 +683,7 @@ export type UpdateAgentFallbackModelConfiguration2 = {
859
683
  /**
860
684
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
861
685
  */
862
- retry?: UpdateAgentFallbackModelConfigurationAgentsRetry | undefined;
686
+ retry?: UpdateAgentFallbackModelConfigurationRetry | undefined;
863
687
  };
864
688
  /**
865
689
  * Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
@@ -1504,48 +1328,6 @@ export type UpdateAgentAgentsSettings = {
1504
1328
  */
1505
1329
  guardrails?: Array<UpdateAgentAgentsGuardrails> | undefined;
1506
1330
  };
1507
- /**
1508
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1509
- */
1510
- export declare const UpdateAgentVoice: {
1511
- readonly Alloy: "alloy";
1512
- readonly Echo: "echo";
1513
- readonly Fable: "fable";
1514
- readonly Onyx: "onyx";
1515
- readonly Nova: "nova";
1516
- readonly Shimmer: "shimmer";
1517
- };
1518
- /**
1519
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1520
- */
1521
- export type UpdateAgentVoice = ClosedEnum<typeof UpdateAgentVoice>;
1522
- /**
1523
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1524
- */
1525
- export declare const UpdateAgentFormat: {
1526
- readonly Wav: "wav";
1527
- readonly Mp3: "mp3";
1528
- readonly Flac: "flac";
1529
- readonly Opus: "opus";
1530
- readonly Pcm16: "pcm16";
1531
- };
1532
- /**
1533
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1534
- */
1535
- export type UpdateAgentFormat = ClosedEnum<typeof UpdateAgentFormat>;
1536
- /**
1537
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1538
- */
1539
- export type UpdateAgentAudio = {
1540
- /**
1541
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1542
- */
1543
- voice: UpdateAgentVoice;
1544
- /**
1545
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1546
- */
1547
- format: UpdateAgentFormat;
1548
- };
1549
1331
  export type UpdateAgentResponseFormatAgentsResponseJsonSchema = {
1550
1332
  /**
1551
1333
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -1630,15 +1412,6 @@ export type UpdateAgentReasoningEffort = ClosedEnum<typeof UpdateAgentReasoningE
1630
1412
  * Up to 4 sequences where the API will stop generating further tokens.
1631
1413
  */
1632
1414
  export type UpdateAgentStop = string | Array<string>;
1633
- /**
1634
- * Options for streaming response. Only set this when you set stream: true.
1635
- */
1636
- export type UpdateAgentStreamOptions = {
1637
- /**
1638
- * 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.
1639
- */
1640
- includeUsage?: boolean | undefined;
1641
- };
1642
1415
  export type UpdateAgentThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
1643
1416
  /**
1644
1417
  * The type of the tool. Currently, only function is supported.
@@ -1715,19 +1488,6 @@ export type UpdateAgentFallbacks = {
1715
1488
  */
1716
1489
  model: string;
1717
1490
  };
1718
- /**
1719
- * Retry configuration for the request
1720
- */
1721
- export type UpdateAgentAgentsRetry = {
1722
- /**
1723
- * Number of retry attempts (1-5)
1724
- */
1725
- count: number;
1726
- /**
1727
- * HTTP status codes that trigger retry logic
1728
- */
1729
- onCodes?: Array<number> | undefined;
1730
- };
1731
1491
  export declare const UpdateAgentType: {
1732
1492
  readonly ExactMatch: "exact_match";
1733
1493
  };
@@ -1781,10 +1541,6 @@ export type UpdateAgentParameters = {
1781
1541
  * The name to display on the trace. If not specified, the default system name will be used.
1782
1542
  */
1783
1543
  name?: string | undefined;
1784
- /**
1785
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1786
- */
1787
- audio?: UpdateAgentAudio | null | undefined;
1788
1544
  /**
1789
1545
  * 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.
1790
1546
  */
@@ -1801,18 +1557,6 @@ export type UpdateAgentParameters = {
1801
1557
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
1802
1558
  */
1803
1559
  maxCompletionTokens?: number | null | undefined;
1804
- /**
1805
- * 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.
1806
- */
1807
- logprobs?: boolean | null | undefined;
1808
- /**
1809
- * 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.
1810
- */
1811
- topLogprobs?: number | null | undefined;
1812
- /**
1813
- * 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.
1814
- */
1815
- n?: number | null | undefined;
1816
1560
  /**
1817
1561
  * 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.
1818
1562
  */
@@ -1846,10 +1590,6 @@ export type UpdateAgentParameters = {
1846
1590
  * Up to 4 sequences where the API will stop generating further tokens.
1847
1591
  */
1848
1592
  stop?: string | Array<string> | null | undefined;
1849
- /**
1850
- * Options for streaming response. Only set this when you set stream: true.
1851
- */
1852
- streamOptions?: UpdateAgentStreamOptions | null | undefined;
1853
1593
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
1854
1594
  /**
1855
1595
  * 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.
@@ -1883,10 +1623,6 @@ export type UpdateAgentParameters = {
1883
1623
  * Array of fallback models to use if primary model fails
1884
1624
  */
1885
1625
  fallbacks?: Array<UpdateAgentFallbacks> | undefined;
1886
- /**
1887
- * Retry configuration for the request
1888
- */
1889
- retry?: UpdateAgentAgentsRetry | undefined;
1890
1626
  /**
1891
1627
  * Cache configuration for the request.
1892
1628
  */
@@ -1913,48 +1649,6 @@ export type UpdateAgentRetry = {
1913
1649
  */
1914
1650
  onCodes?: Array<number> | undefined;
1915
1651
  };
1916
- /**
1917
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1918
- */
1919
- export declare const UpdateAgentFallbackModelConfigurationAgentsVoice: {
1920
- readonly Alloy: "alloy";
1921
- readonly Echo: "echo";
1922
- readonly Fable: "fable";
1923
- readonly Onyx: "onyx";
1924
- readonly Nova: "nova";
1925
- readonly Shimmer: "shimmer";
1926
- };
1927
- /**
1928
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1929
- */
1930
- export type UpdateAgentFallbackModelConfigurationAgentsVoice = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsVoice>;
1931
- /**
1932
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1933
- */
1934
- export declare const UpdateAgentFallbackModelConfigurationAgentsFormat: {
1935
- readonly Wav: "wav";
1936
- readonly Mp3: "mp3";
1937
- readonly Flac: "flac";
1938
- readonly Opus: "opus";
1939
- readonly Pcm16: "pcm16";
1940
- };
1941
- /**
1942
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1943
- */
1944
- export type UpdateAgentFallbackModelConfigurationAgentsFormat = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsFormat>;
1945
- /**
1946
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1947
- */
1948
- export type UpdateAgentFallbackModelConfigurationAgentsAudio = {
1949
- /**
1950
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1951
- */
1952
- voice: UpdateAgentFallbackModelConfigurationAgentsVoice;
1953
- /**
1954
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1955
- */
1956
- format: UpdateAgentFallbackModelConfigurationAgentsFormat;
1957
- };
1958
1652
  export type UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema = {
1959
1653
  /**
1960
1654
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -2039,15 +1733,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsReasoningEffort = ClosedE
2039
1733
  * Up to 4 sequences where the API will stop generating further tokens.
2040
1734
  */
2041
1735
  export type UpdateAgentFallbackModelConfigurationAgentsStop = string | Array<string>;
2042
- /**
2043
- * Options for streaming response. Only set this when you set stream: true.
2044
- */
2045
- export type UpdateAgentFallbackModelConfigurationAgentsStreamOptions = {
2046
- /**
2047
- * 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.
2048
- */
2049
- includeUsage?: boolean | undefined;
2050
- };
2051
1736
  export type UpdateAgentFallbackModelConfigurationAgentsThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
2052
1737
  /**
2053
1738
  * The type of the tool. Currently, only function is supported.
@@ -2124,19 +1809,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsFallbacks = {
2124
1809
  */
2125
1810
  model: string;
2126
1811
  };
2127
- /**
2128
- * Retry configuration for the request
2129
- */
2130
- export type UpdateAgentFallbackModelConfigurationAgentsResponse200Retry = {
2131
- /**
2132
- * Number of retry attempts (1-5)
2133
- */
2134
- count: number;
2135
- /**
2136
- * HTTP status codes that trigger retry logic
2137
- */
2138
- onCodes?: Array<number> | undefined;
2139
- };
2140
1812
  export declare const UpdateAgentFallbackModelConfigurationAgentsType: {
2141
1813
  readonly ExactMatch: "exact_match";
2142
1814
  };
@@ -2190,10 +1862,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2190
1862
  * The name to display on the trace. If not specified, the default system name will be used.
2191
1863
  */
2192
1864
  name?: string | undefined;
2193
- /**
2194
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
2195
- */
2196
- audio?: UpdateAgentFallbackModelConfigurationAgentsAudio | null | undefined;
2197
1865
  /**
2198
1866
  * 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.
2199
1867
  */
@@ -2210,18 +1878,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2210
1878
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
2211
1879
  */
2212
1880
  maxCompletionTokens?: number | null | undefined;
2213
- /**
2214
- * 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.
2215
- */
2216
- logprobs?: boolean | null | undefined;
2217
- /**
2218
- * 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.
2219
- */
2220
- topLogprobs?: number | null | undefined;
2221
- /**
2222
- * 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.
2223
- */
2224
- n?: number | null | undefined;
2225
1881
  /**
2226
1882
  * 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.
2227
1883
  */
@@ -2255,10 +1911,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2255
1911
  * Up to 4 sequences where the API will stop generating further tokens.
2256
1912
  */
2257
1913
  stop?: string | Array<string> | null | undefined;
2258
- /**
2259
- * Options for streaming response. Only set this when you set stream: true.
2260
- */
2261
- streamOptions?: UpdateAgentFallbackModelConfigurationAgentsStreamOptions | null | undefined;
2262
1914
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
2263
1915
  /**
2264
1916
  * 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.
@@ -2292,10 +1944,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2292
1944
  * Array of fallback models to use if primary model fails
2293
1945
  */
2294
1946
  fallbacks?: Array<UpdateAgentFallbackModelConfigurationAgentsFallbacks> | undefined;
2295
- /**
2296
- * Retry configuration for the request
2297
- */
2298
- retry?: UpdateAgentFallbackModelConfigurationAgentsResponse200Retry | undefined;
2299
1947
  /**
2300
1948
  * Cache configuration for the request.
2301
1949
  */
@@ -2312,7 +1960,7 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2312
1960
  /**
2313
1961
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
2314
1962
  */
2315
- export type UpdateAgentFallbackModelConfigurationAgentsResponseRetry = {
1963
+ export type UpdateAgentFallbackModelConfigurationAgentsRetry = {
2316
1964
  /**
2317
1965
  * Number of retry attempts (1-5)
2318
1966
  */
@@ -2337,7 +1985,7 @@ export type UpdateAgentFallbackModelConfigurationAgents2 = {
2337
1985
  /**
2338
1986
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
2339
1987
  */
2340
- retry?: UpdateAgentFallbackModelConfigurationAgentsResponseRetry | undefined;
1988
+ retry?: UpdateAgentFallbackModelConfigurationAgentsRetry | undefined;
2341
1989
  };
2342
1990
  /**
2343
1991
  * Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
@@ -2449,18 +2097,6 @@ export type UpdateAgentResponseBody = {
2449
2097
  source?: UpdateAgentSource | undefined;
2450
2098
  };
2451
2099
  /** @internal */
2452
- export declare const ModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationVoice>;
2453
- /** @internal */
2454
- export declare const ModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationFormat>;
2455
- /** @internal */
2456
- export type UpdateAgentModelConfigurationAudio$Outbound = {
2457
- voice: string;
2458
- format: string;
2459
- };
2460
- /** @internal */
2461
- export declare const UpdateAgentModelConfigurationAudio$outboundSchema: z.ZodType<UpdateAgentModelConfigurationAudio$Outbound, z.ZodTypeDef, UpdateAgentModelConfigurationAudio>;
2462
- export declare function updateAgentModelConfigurationAudioToJSON(updateAgentModelConfigurationAudio: UpdateAgentModelConfigurationAudio): string;
2463
- /** @internal */
2464
2100
  export type UpdateAgentResponseFormatAgentsJsonSchema$Outbound = {
2465
2101
  description?: string | undefined;
2466
2102
  name: string;
@@ -2505,13 +2141,6 @@ export type ModelConfigurationStop$Outbound = string | Array<string>;
2505
2141
  export declare const ModelConfigurationStop$outboundSchema: z.ZodType<ModelConfigurationStop$Outbound, z.ZodTypeDef, ModelConfigurationStop>;
2506
2142
  export declare function modelConfigurationStopToJSON(modelConfigurationStop: ModelConfigurationStop): string;
2507
2143
  /** @internal */
2508
- export type ModelConfigurationStreamOptions$Outbound = {
2509
- include_usage?: boolean | undefined;
2510
- };
2511
- /** @internal */
2512
- export declare const ModelConfigurationStreamOptions$outboundSchema: z.ZodType<ModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, ModelConfigurationStreamOptions>;
2513
- export declare function modelConfigurationStreamOptionsToJSON(modelConfigurationStreamOptions: ModelConfigurationStreamOptions): string;
2514
- /** @internal */
2515
2144
  export type ModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
2516
2145
  /** @internal */
2517
2146
  export declare const ModelConfigurationThinking$outboundSchema: z.ZodType<ModelConfigurationThinking$Outbound, z.ZodTypeDef, ModelConfigurationThinking>;
@@ -2567,14 +2196,6 @@ export type ModelConfigurationFallbacks$Outbound = {
2567
2196
  export declare const ModelConfigurationFallbacks$outboundSchema: z.ZodType<ModelConfigurationFallbacks$Outbound, z.ZodTypeDef, ModelConfigurationFallbacks>;
2568
2197
  export declare function modelConfigurationFallbacksToJSON(modelConfigurationFallbacks: ModelConfigurationFallbacks): string;
2569
2198
  /** @internal */
2570
- export type UpdateAgentModelConfigurationRetry$Outbound = {
2571
- count: number;
2572
- on_codes?: Array<number> | undefined;
2573
- };
2574
- /** @internal */
2575
- export declare const UpdateAgentModelConfigurationRetry$outboundSchema: z.ZodType<UpdateAgentModelConfigurationRetry$Outbound, z.ZodTypeDef, UpdateAgentModelConfigurationRetry>;
2576
- export declare function updateAgentModelConfigurationRetryToJSON(updateAgentModelConfigurationRetry: UpdateAgentModelConfigurationRetry): string;
2577
- /** @internal */
2578
2199
  export declare const UpdateAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentModelConfigurationType>;
2579
2200
  /** @internal */
2580
2201
  export type ModelConfigurationCache$Outbound = {
@@ -2617,20 +2238,15 @@ export declare function modelConfigurationTimeoutToJSON(modelConfigurationTimeou
2617
2238
  /** @internal */
2618
2239
  export type ModelConfigurationParameters$Outbound = {
2619
2240
  name?: string | undefined;
2620
- audio?: UpdateAgentModelConfigurationAudio$Outbound | null | undefined;
2621
2241
  frequency_penalty?: number | null | undefined;
2622
2242
  max_tokens?: number | null | undefined;
2623
2243
  max_completion_tokens?: number | null | undefined;
2624
- logprobs?: boolean | null | undefined;
2625
- top_logprobs?: number | null | undefined;
2626
- n?: number | null | undefined;
2627
2244
  presence_penalty?: number | null | undefined;
2628
2245
  response_format?: UpdateAgentResponseFormatText$Outbound | UpdateAgentResponseFormatJSONObject$Outbound | UpdateAgentResponseFormatJSONSchema$Outbound | undefined;
2629
2246
  reasoning_effort?: string | undefined;
2630
2247
  verbosity?: string | undefined;
2631
2248
  seed?: number | null | undefined;
2632
2249
  stop?: string | Array<string> | null | undefined;
2633
- stream_options?: ModelConfigurationStreamOptions$Outbound | null | undefined;
2634
2250
  thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2635
2251
  temperature?: number | null | undefined;
2636
2252
  top_p?: number | null | undefined;
@@ -2640,7 +2256,6 @@ export type ModelConfigurationParameters$Outbound = {
2640
2256
  modalities?: Array<string> | null | undefined;
2641
2257
  guardrails?: Array<ModelConfigurationGuardrails$Outbound> | undefined;
2642
2258
  fallbacks?: Array<ModelConfigurationFallbacks$Outbound> | undefined;
2643
- retry?: UpdateAgentModelConfigurationRetry$Outbound | undefined;
2644
2259
  cache?: ModelConfigurationCache$Outbound | undefined;
2645
2260
  load_balancer?: UpdateAgentLoadBalancer1$Outbound | undefined;
2646
2261
  timeout?: ModelConfigurationTimeout$Outbound | undefined;
@@ -2649,18 +2264,18 @@ export type ModelConfigurationParameters$Outbound = {
2649
2264
  export declare const ModelConfigurationParameters$outboundSchema: z.ZodType<ModelConfigurationParameters$Outbound, z.ZodTypeDef, ModelConfigurationParameters>;
2650
2265
  export declare function modelConfigurationParametersToJSON(modelConfigurationParameters: ModelConfigurationParameters): string;
2651
2266
  /** @internal */
2652
- export type UpdateAgentModelConfigurationAgentsRetry$Outbound = {
2267
+ export type ModelConfigurationRetry$Outbound = {
2653
2268
  count: number;
2654
2269
  on_codes?: Array<number> | undefined;
2655
2270
  };
2656
2271
  /** @internal */
2657
- export declare const UpdateAgentModelConfigurationAgentsRetry$outboundSchema: z.ZodType<UpdateAgentModelConfigurationAgentsRetry$Outbound, z.ZodTypeDef, UpdateAgentModelConfigurationAgentsRetry>;
2658
- export declare function updateAgentModelConfigurationAgentsRetryToJSON(updateAgentModelConfigurationAgentsRetry: UpdateAgentModelConfigurationAgentsRetry): string;
2272
+ export declare const ModelConfigurationRetry$outboundSchema: z.ZodType<ModelConfigurationRetry$Outbound, z.ZodTypeDef, ModelConfigurationRetry>;
2273
+ export declare function modelConfigurationRetryToJSON(modelConfigurationRetry: ModelConfigurationRetry): string;
2659
2274
  /** @internal */
2660
2275
  export type UpdateAgentModelConfiguration2$Outbound = {
2661
2276
  id: string;
2662
2277
  parameters?: ModelConfigurationParameters$Outbound | undefined;
2663
- retry?: UpdateAgentModelConfigurationAgentsRetry$Outbound | undefined;
2278
+ retry?: ModelConfigurationRetry$Outbound | undefined;
2664
2279
  };
2665
2280
  /** @internal */
2666
2281
  export declare const UpdateAgentModelConfiguration2$outboundSchema: z.ZodType<UpdateAgentModelConfiguration2$Outbound, z.ZodTypeDef, UpdateAgentModelConfiguration2>;
@@ -2671,18 +2286,6 @@ export type UpdateAgentModelConfiguration$Outbound = UpdateAgentModelConfigurati
2671
2286
  export declare const UpdateAgentModelConfiguration$outboundSchema: z.ZodType<UpdateAgentModelConfiguration$Outbound, z.ZodTypeDef, UpdateAgentModelConfiguration>;
2672
2287
  export declare function updateAgentModelConfigurationToJSON(updateAgentModelConfiguration: UpdateAgentModelConfiguration): string;
2673
2288
  /** @internal */
2674
- export declare const UpdateAgentFallbackModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationVoice>;
2675
- /** @internal */
2676
- export declare const UpdateAgentFallbackModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationFormat>;
2677
- /** @internal */
2678
- export type UpdateAgentFallbackModelConfigurationAudio$Outbound = {
2679
- voice: string;
2680
- format: string;
2681
- };
2682
- /** @internal */
2683
- export declare const UpdateAgentFallbackModelConfigurationAudio$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAudio$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAudio>;
2684
- export declare function updateAgentFallbackModelConfigurationAudioToJSON(updateAgentFallbackModelConfigurationAudio: UpdateAgentFallbackModelConfigurationAudio): string;
2685
- /** @internal */
2686
2289
  export type UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound = {
2687
2290
  description?: string | undefined;
2688
2291
  name: string;
@@ -2727,13 +2330,6 @@ export type UpdateAgentFallbackModelConfigurationStop$Outbound = string | Array<
2727
2330
  export declare const UpdateAgentFallbackModelConfigurationStop$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationStop$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationStop>;
2728
2331
  export declare function updateAgentFallbackModelConfigurationStopToJSON(updateAgentFallbackModelConfigurationStop: UpdateAgentFallbackModelConfigurationStop): string;
2729
2332
  /** @internal */
2730
- export type UpdateAgentFallbackModelConfigurationStreamOptions$Outbound = {
2731
- include_usage?: boolean | undefined;
2732
- };
2733
- /** @internal */
2734
- export declare const UpdateAgentFallbackModelConfigurationStreamOptions$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationStreamOptions>;
2735
- export declare function updateAgentFallbackModelConfigurationStreamOptionsToJSON(updateAgentFallbackModelConfigurationStreamOptions: UpdateAgentFallbackModelConfigurationStreamOptions): string;
2736
- /** @internal */
2737
2333
  export type UpdateAgentFallbackModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
2738
2334
  /** @internal */
2739
2335
  export declare const UpdateAgentFallbackModelConfigurationThinking$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationThinking$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationThinking>;
@@ -2789,14 +2385,6 @@ export type UpdateAgentFallbackModelConfigurationFallbacks$Outbound = {
2789
2385
  export declare const UpdateAgentFallbackModelConfigurationFallbacks$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationFallbacks$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationFallbacks>;
2790
2386
  export declare function updateAgentFallbackModelConfigurationFallbacksToJSON(updateAgentFallbackModelConfigurationFallbacks: UpdateAgentFallbackModelConfigurationFallbacks): string;
2791
2387
  /** @internal */
2792
- export type UpdateAgentFallbackModelConfigurationRetry$Outbound = {
2793
- count: number;
2794
- on_codes?: Array<number> | undefined;
2795
- };
2796
- /** @internal */
2797
- export declare const UpdateAgentFallbackModelConfigurationRetry$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationRetry>;
2798
- export declare function updateAgentFallbackModelConfigurationRetryToJSON(updateAgentFallbackModelConfigurationRetry: UpdateAgentFallbackModelConfigurationRetry): string;
2799
- /** @internal */
2800
2388
  export declare const UpdateAgentFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationType>;
2801
2389
  /** @internal */
2802
2390
  export type UpdateAgentFallbackModelConfigurationCache$Outbound = {
@@ -2839,20 +2427,15 @@ export declare function updateAgentFallbackModelConfigurationTimeoutToJSON(updat
2839
2427
  /** @internal */
2840
2428
  export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
2841
2429
  name?: string | undefined;
2842
- audio?: UpdateAgentFallbackModelConfigurationAudio$Outbound | null | undefined;
2843
2430
  frequency_penalty?: number | null | undefined;
2844
2431
  max_tokens?: number | null | undefined;
2845
2432
  max_completion_tokens?: number | null | undefined;
2846
- logprobs?: boolean | null | undefined;
2847
- top_logprobs?: number | null | undefined;
2848
- n?: number | null | undefined;
2849
2433
  presence_penalty?: number | null | undefined;
2850
2434
  response_format?: UpdateAgentResponseFormatAgentsText$Outbound | UpdateAgentResponseFormatAgentsJSONObject$Outbound | UpdateAgentResponseFormatAgentsRequestJSONSchema$Outbound | undefined;
2851
2435
  reasoning_effort?: string | undefined;
2852
2436
  verbosity?: string | undefined;
2853
2437
  seed?: number | null | undefined;
2854
2438
  stop?: string | Array<string> | null | undefined;
2855
- stream_options?: UpdateAgentFallbackModelConfigurationStreamOptions$Outbound | null | undefined;
2856
2439
  thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2857
2440
  temperature?: number | null | undefined;
2858
2441
  top_p?: number | null | undefined;
@@ -2862,7 +2445,6 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
2862
2445
  modalities?: Array<string> | null | undefined;
2863
2446
  guardrails?: Array<UpdateAgentFallbackModelConfigurationGuardrails$Outbound> | undefined;
2864
2447
  fallbacks?: Array<UpdateAgentFallbackModelConfigurationFallbacks$Outbound> | undefined;
2865
- retry?: UpdateAgentFallbackModelConfigurationRetry$Outbound | undefined;
2866
2448
  cache?: UpdateAgentFallbackModelConfigurationCache$Outbound | undefined;
2867
2449
  load_balancer?: UpdateAgentLoadBalancerAgents1$Outbound | undefined;
2868
2450
  timeout?: UpdateAgentFallbackModelConfigurationTimeout$Outbound | undefined;
@@ -2871,18 +2453,18 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
2871
2453
  export declare const UpdateAgentFallbackModelConfigurationParameters$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationParameters>;
2872
2454
  export declare function updateAgentFallbackModelConfigurationParametersToJSON(updateAgentFallbackModelConfigurationParameters: UpdateAgentFallbackModelConfigurationParameters): string;
2873
2455
  /** @internal */
2874
- export type UpdateAgentFallbackModelConfigurationAgentsRetry$Outbound = {
2456
+ export type UpdateAgentFallbackModelConfigurationRetry$Outbound = {
2875
2457
  count: number;
2876
2458
  on_codes?: Array<number> | undefined;
2877
2459
  };
2878
2460
  /** @internal */
2879
- export declare const UpdateAgentFallbackModelConfigurationAgentsRetry$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsRetry$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAgentsRetry>;
2880
- export declare function updateAgentFallbackModelConfigurationAgentsRetryToJSON(updateAgentFallbackModelConfigurationAgentsRetry: UpdateAgentFallbackModelConfigurationAgentsRetry): string;
2461
+ export declare const UpdateAgentFallbackModelConfigurationRetry$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationRetry>;
2462
+ export declare function updateAgentFallbackModelConfigurationRetryToJSON(updateAgentFallbackModelConfigurationRetry: UpdateAgentFallbackModelConfigurationRetry): string;
2881
2463
  /** @internal */
2882
2464
  export type UpdateAgentFallbackModelConfiguration2$Outbound = {
2883
2465
  id: string;
2884
2466
  parameters?: UpdateAgentFallbackModelConfigurationParameters$Outbound | undefined;
2885
- retry?: UpdateAgentFallbackModelConfigurationAgentsRetry$Outbound | undefined;
2467
+ retry?: UpdateAgentFallbackModelConfigurationRetry$Outbound | undefined;
2886
2468
  };
2887
2469
  /** @internal */
2888
2470
  export declare const UpdateAgentFallbackModelConfiguration2$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfiguration2$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfiguration2>;
@@ -3183,13 +2765,6 @@ export declare function updateAgentAgentsGuardrailsFromJSON(jsonString: string):
3183
2765
  export declare const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<UpdateAgentAgentsSettings, z.ZodTypeDef, unknown>;
3184
2766
  export declare function updateAgentAgentsSettingsFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsSettings, SDKValidationError>;
3185
2767
  /** @internal */
3186
- export declare const UpdateAgentVoice$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentVoice>;
3187
- /** @internal */
3188
- export declare const UpdateAgentFormat$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFormat>;
3189
- /** @internal */
3190
- export declare const UpdateAgentAudio$inboundSchema: z.ZodType<UpdateAgentAudio, z.ZodTypeDef, unknown>;
3191
- export declare function updateAgentAudioFromJSON(jsonString: string): SafeParseResult<UpdateAgentAudio, SDKValidationError>;
3192
- /** @internal */
3193
2768
  export declare const UpdateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<UpdateAgentResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
3194
2769
  export declare function updateAgentResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
3195
2770
  /** @internal */
@@ -3210,9 +2785,6 @@ export declare const UpdateAgentReasoningEffort$inboundSchema: z.ZodNativeEnum<t
3210
2785
  export declare const UpdateAgentStop$inboundSchema: z.ZodType<UpdateAgentStop, z.ZodTypeDef, unknown>;
3211
2786
  export declare function updateAgentStopFromJSON(jsonString: string): SafeParseResult<UpdateAgentStop, SDKValidationError>;
3212
2787
  /** @internal */
3213
- export declare const UpdateAgentStreamOptions$inboundSchema: z.ZodType<UpdateAgentStreamOptions, z.ZodTypeDef, unknown>;
3214
- export declare function updateAgentStreamOptionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentStreamOptions, SDKValidationError>;
3215
- /** @internal */
3216
2788
  export declare const UpdateAgentThinking$inboundSchema: z.ZodType<UpdateAgentThinking, z.ZodTypeDef, unknown>;
3217
2789
  export declare function updateAgentThinkingFromJSON(jsonString: string): SafeParseResult<UpdateAgentThinking, SDKValidationError>;
3218
2790
  /** @internal */
@@ -3244,9 +2816,6 @@ export declare function updateAgentAgentsResponseGuardrailsFromJSON(jsonString:
3244
2816
  export declare const UpdateAgentFallbacks$inboundSchema: z.ZodType<UpdateAgentFallbacks, z.ZodTypeDef, unknown>;
3245
2817
  export declare function updateAgentFallbacksFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbacks, SDKValidationError>;
3246
2818
  /** @internal */
3247
- export declare const UpdateAgentAgentsRetry$inboundSchema: z.ZodType<UpdateAgentAgentsRetry, z.ZodTypeDef, unknown>;
3248
- export declare function updateAgentAgentsRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsRetry, SDKValidationError>;
3249
- /** @internal */
3250
2819
  export declare const UpdateAgentType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentType>;
3251
2820
  /** @internal */
3252
2821
  export declare const UpdateAgentCache$inboundSchema: z.ZodType<UpdateAgentCache, z.ZodTypeDef, unknown>;
@@ -3272,13 +2841,6 @@ export declare function updateAgentParametersFromJSON(jsonString: string): SafeP
3272
2841
  export declare const UpdateAgentRetry$inboundSchema: z.ZodType<UpdateAgentRetry, z.ZodTypeDef, unknown>;
3273
2842
  export declare function updateAgentRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentRetry, SDKValidationError>;
3274
2843
  /** @internal */
3275
- export declare const UpdateAgentFallbackModelConfigurationAgentsVoice$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsVoice>;
3276
- /** @internal */
3277
- export declare const UpdateAgentFallbackModelConfigurationAgentsFormat$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsFormat>;
3278
- /** @internal */
3279
- export declare const UpdateAgentFallbackModelConfigurationAgentsAudio$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsAudio, z.ZodTypeDef, unknown>;
3280
- export declare function updateAgentFallbackModelConfigurationAgentsAudioFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsAudio, SDKValidationError>;
3281
- /** @internal */
3282
2844
  export declare const UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema$inboundSchema: z.ZodType<UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema, z.ZodTypeDef, unknown>;
3283
2845
  export declare function updateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchemaFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema, SDKValidationError>;
3284
2846
  /** @internal */
@@ -3299,9 +2861,6 @@ export declare const UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$
3299
2861
  export declare const UpdateAgentFallbackModelConfigurationAgentsStop$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsStop, z.ZodTypeDef, unknown>;
3300
2862
  export declare function updateAgentFallbackModelConfigurationAgentsStopFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsStop, SDKValidationError>;
3301
2863
  /** @internal */
3302
- export declare const UpdateAgentFallbackModelConfigurationAgentsStreamOptions$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsStreamOptions, z.ZodTypeDef, unknown>;
3303
- export declare function updateAgentFallbackModelConfigurationAgentsStreamOptionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsStreamOptions, SDKValidationError>;
3304
- /** @internal */
3305
2864
  export declare const UpdateAgentFallbackModelConfigurationAgentsThinking$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsThinking, z.ZodTypeDef, unknown>;
3306
2865
  export declare function updateAgentFallbackModelConfigurationAgentsThinkingFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsThinking, SDKValidationError>;
3307
2866
  /** @internal */
@@ -3333,9 +2892,6 @@ export declare function updateAgentFallbackModelConfigurationAgentsGuardrailsFro
3333
2892
  export declare const UpdateAgentFallbackModelConfigurationAgentsFallbacks$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsFallbacks, z.ZodTypeDef, unknown>;
3334
2893
  export declare function updateAgentFallbackModelConfigurationAgentsFallbacksFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsFallbacks, SDKValidationError>;
3335
2894
  /** @internal */
3336
- export declare const UpdateAgentFallbackModelConfigurationAgentsResponse200Retry$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsResponse200Retry, z.ZodTypeDef, unknown>;
3337
- export declare function updateAgentFallbackModelConfigurationAgentsResponse200RetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsResponse200Retry, SDKValidationError>;
3338
- /** @internal */
3339
2895
  export declare const UpdateAgentFallbackModelConfigurationAgentsType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsType>;
3340
2896
  /** @internal */
3341
2897
  export declare const UpdateAgentFallbackModelConfigurationAgentsCache$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsCache, z.ZodTypeDef, unknown>;
@@ -3358,8 +2914,8 @@ export declare function updateAgentFallbackModelConfigurationAgentsTimeoutFromJS
3358
2914
  export declare const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsParameters, z.ZodTypeDef, unknown>;
3359
2915
  export declare function updateAgentFallbackModelConfigurationAgentsParametersFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsParameters, SDKValidationError>;
3360
2916
  /** @internal */
3361
- export declare const UpdateAgentFallbackModelConfigurationAgentsResponseRetry$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsResponseRetry, z.ZodTypeDef, unknown>;
3362
- export declare function updateAgentFallbackModelConfigurationAgentsResponseRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsResponseRetry, SDKValidationError>;
2917
+ export declare const UpdateAgentFallbackModelConfigurationAgentsRetry$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsRetry, z.ZodTypeDef, unknown>;
2918
+ export declare function updateAgentFallbackModelConfigurationAgentsRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsRetry, SDKValidationError>;
3363
2919
  /** @internal */
3364
2920
  export declare const UpdateAgentFallbackModelConfigurationAgents2$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgents2, z.ZodTypeDef, unknown>;
3365
2921
  export declare function updateAgentFallbackModelConfigurationAgents2FromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgents2, SDKValidationError>;