@orq-ai/node 4.5.0-rc.23 → 4.5.0-rc.25

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 (98) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +3 -3
  3. package/lib/config.js +3 -3
  4. package/models/components/partdoneevent.js +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createagentrequest.d.ts +16 -460
  7. package/models/operations/createagentrequest.d.ts.map +1 -1
  8. package/models/operations/createagentrequest.js +21 -299
  9. package/models/operations/createagentrequest.js.map +1 -1
  10. package/models/operations/createcontact.js +1 -1
  11. package/models/operations/createdataset.js +1 -1
  12. package/models/operations/createdatasetitem.js +4 -4
  13. package/models/operations/createdatasource.js +1 -1
  14. package/models/operations/createeval.js +16 -16
  15. package/models/operations/createidentity.js +1 -1
  16. package/models/operations/createprompt.d.ts +30 -30
  17. package/models/operations/createprompt.d.ts.map +1 -1
  18. package/models/operations/createprompt.js +31 -29
  19. package/models/operations/createprompt.js.map +1 -1
  20. package/models/operations/createtool.js +6 -6
  21. package/models/operations/fileget.js +1 -1
  22. package/models/operations/filelist.js +1 -1
  23. package/models/operations/fileupload.js +1 -1
  24. package/models/operations/getalltools.js +6 -6
  25. package/models/operations/getevals.js +16 -16
  26. package/models/operations/listagents.d.ts +0 -202
  27. package/models/operations/listagents.d.ts.map +1 -1
  28. package/models/operations/listagents.js +2 -139
  29. package/models/operations/listagents.js.map +1 -1
  30. package/models/operations/listdatasetdatapoints.js +4 -4
  31. package/models/operations/listdatasets.js +1 -1
  32. package/models/operations/listdatasources.js +1 -1
  33. package/models/operations/listidentities.js +1 -1
  34. package/models/operations/retrieveagentrequest.d.ts +0 -202
  35. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  36. package/models/operations/retrieveagentrequest.js +2 -140
  37. package/models/operations/retrieveagentrequest.js.map +1 -1
  38. package/models/operations/retrievedatapoint.js +4 -4
  39. package/models/operations/retrievedataset.js +1 -1
  40. package/models/operations/retrievedatasource.js +1 -1
  41. package/models/operations/retrieveidentity.js +1 -1
  42. package/models/operations/retrievetool.js +6 -6
  43. package/models/operations/runagent.d.ts +12 -254
  44. package/models/operations/runagent.d.ts.map +1 -1
  45. package/models/operations/runagent.js +16 -153
  46. package/models/operations/runagent.js.map +1 -1
  47. package/models/operations/streamrunagent.d.ts +12 -254
  48. package/models/operations/streamrunagent.d.ts.map +1 -1
  49. package/models/operations/streamrunagent.js +15 -152
  50. package/models/operations/streamrunagent.js.map +1 -1
  51. package/models/operations/updateagent.d.ts +16 -460
  52. package/models/operations/updateagent.d.ts.map +1 -1
  53. package/models/operations/updateagent.js +21 -298
  54. package/models/operations/updateagent.js.map +1 -1
  55. package/models/operations/updatedatapoint.js +4 -4
  56. package/models/operations/updatedataset.js +1 -1
  57. package/models/operations/updatedatasource.js +1 -1
  58. package/models/operations/updateeval.js +16 -16
  59. package/models/operations/updateidentity.js +1 -1
  60. package/models/operations/updatetool.js +7 -7
  61. package/package.json +1 -1
  62. package/src/lib/config.ts +3 -3
  63. package/src/models/components/partdoneevent.ts +1 -1
  64. package/src/models/components/reasoningpart.ts +1 -1
  65. package/src/models/operations/createagentrequest.ts +49 -860
  66. package/src/models/operations/createcontact.ts +1 -1
  67. package/src/models/operations/createdataset.ts +1 -1
  68. package/src/models/operations/createdatasetitem.ts +4 -4
  69. package/src/models/operations/createdatasource.ts +1 -1
  70. package/src/models/operations/createeval.ts +16 -16
  71. package/src/models/operations/createidentity.ts +1 -1
  72. package/src/models/operations/createprompt.ts +55 -66
  73. package/src/models/operations/createtool.ts +6 -6
  74. package/src/models/operations/fileget.ts +1 -1
  75. package/src/models/operations/filelist.ts +1 -1
  76. package/src/models/operations/fileupload.ts +1 -1
  77. package/src/models/operations/getalltools.ts +6 -6
  78. package/src/models/operations/getevals.ts +16 -16
  79. package/src/models/operations/listagents.ts +0 -393
  80. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  81. package/src/models/operations/listdatasets.ts +1 -1
  82. package/src/models/operations/listdatasources.ts +1 -1
  83. package/src/models/operations/listidentities.ts +1 -1
  84. package/src/models/operations/retrieveagentrequest.ts +0 -402
  85. package/src/models/operations/retrievedatapoint.ts +4 -4
  86. package/src/models/operations/retrievedataset.ts +1 -1
  87. package/src/models/operations/retrievedatasource.ts +1 -1
  88. package/src/models/operations/retrieveidentity.ts +1 -1
  89. package/src/models/operations/retrievetool.ts +6 -6
  90. package/src/models/operations/runagent.ts +35 -473
  91. package/src/models/operations/streamrunagent.ts +35 -492
  92. package/src/models/operations/updateagent.ts +36 -874
  93. package/src/models/operations/updatedatapoint.ts +4 -4
  94. package/src/models/operations/updatedataset.ts +1 -1
  95. package/src/models/operations/updatedatasource.ts +1 -1
  96. package/src/models/operations/updateeval.ts +16 -16
  97. package/src/models/operations/updateidentity.ts +1 -1
  98. 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 Voice: {
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 Voice = ClosedEnum<typeof Voice>;
21
- /**
22
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
23
- */
24
- export declare const Format: {
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 Format = ClosedEnum<typeof Format>;
35
- /**
36
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
37
- */
38
- export type ModelConfigurationAudio = {
39
- /**
40
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
41
- */
42
- voice: Voice;
43
- /**
44
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
45
- */
46
- format: Format;
47
- };
48
6
  export type ResponseFormatJsonSchema = {
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 ReasoningEffort = ClosedEnum<typeof ReasoningEffort>;
129
87
  * Up to 4 sequences where the API will stop generating further tokens.
130
88
  */
131
89
  export type Stop = string | Array<string>;
132
- /**
133
- * Options for streaming response. Only set this when you set stream: true.
134
- */
135
- export type StreamOptions = {
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 Thinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
142
91
  /**
143
92
  * The type of the tool. Currently, only function is supported.
@@ -214,19 +163,6 @@ export type Fallbacks = {
214
163
  */
215
164
  model: string;
216
165
  };
217
- /**
218
- * Retry configuration for the request
219
- */
220
- export type Retry = {
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 ModelConfigurationType: {
231
167
  readonly ExactMatch: "exact_match";
232
168
  };
@@ -280,10 +216,6 @@ export type ParametersT = {
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?: ModelConfigurationAudio | 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 ParametersT = {
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 ParametersT = {
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?: StreamOptions | 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 ParametersT = {
382
298
  * Array of fallback models to use if primary model fails
383
299
  */
384
300
  fallbacks?: Array<Fallbacks> | undefined;
385
- /**
386
- * Retry configuration for the request
387
- */
388
- retry?: Retry | undefined;
389
301
  /**
390
302
  * Cache configuration for the request.
391
303
  */
@@ -402,7 +314,7 @@ export type ParametersT = {
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 ModelConfigurationRetry = {
317
+ export type Retry = {
406
318
  /**
407
319
  * Number of retry attempts (1-5)
408
320
  */
@@ -429,54 +341,12 @@ export type ModelConfiguration2 = {
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?: ModelConfigurationRetry | undefined;
344
+ retry?: Retry | 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 ModelConfiguration = ModelConfiguration2 | 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 FallbackModelConfigurationVoice: {
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 FallbackModelConfigurationVoice = ClosedEnum<typeof FallbackModelConfigurationVoice>;
453
- /**
454
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
455
- */
456
- export declare const FallbackModelConfigurationFormat: {
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 FallbackModelConfigurationFormat = ClosedEnum<typeof FallbackModelConfigurationFormat>;
467
- /**
468
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
469
- */
470
- export type FallbackModelConfigurationAudio = {
471
- /**
472
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
473
- */
474
- voice: FallbackModelConfigurationVoice;
475
- /**
476
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
477
- */
478
- format: FallbackModelConfigurationFormat;
479
- };
480
350
  export type CreateAgentRequestResponseFormatAgentsJsonSchema = {
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 FallbackModelConfigurationReasoningEffort = ClosedEnum<typeof Fallba
561
431
  * Up to 4 sequences where the API will stop generating further tokens.
562
432
  */
563
433
  export type FallbackModelConfigurationStop = string | Array<string>;
564
- /**
565
- * Options for streaming response. Only set this when you set stream: true.
566
- */
567
- export type FallbackModelConfigurationStreamOptions = {
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 FallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
574
435
  /**
575
436
  * The type of the tool. Currently, only function is supported.
@@ -646,19 +507,6 @@ export type FallbackModelConfigurationFallbacks = {
646
507
  */
647
508
  model: string;
648
509
  };
649
- /**
650
- * Retry configuration for the request
651
- */
652
- export type FallbackModelConfigurationRetry = {
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 FallbackModelConfigurationType: {
663
511
  readonly ExactMatch: "exact_match";
664
512
  };
@@ -712,10 +560,6 @@ export type FallbackModelConfigurationParameters = {
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?: FallbackModelConfigurationAudio | 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 FallbackModelConfigurationParameters = {
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 FallbackModelConfigurationParameters = {
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?: FallbackModelConfigurationStreamOptions | 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 FallbackModelConfigurationParameters = {
814
642
  * Array of fallback models to use if primary model fails
815
643
  */
816
644
  fallbacks?: Array<FallbackModelConfigurationFallbacks> | undefined;
817
- /**
818
- * Retry configuration for the request
819
- */
820
- retry?: FallbackModelConfigurationRetry | undefined;
821
645
  /**
822
646
  * Cache configuration for the request.
823
647
  */
@@ -834,7 +658,7 @@ export type FallbackModelConfigurationParameters = {
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 CreateAgentRequestFallbackModelConfigurationRetry = {
661
+ export type FallbackModelConfigurationRetry = {
838
662
  /**
839
663
  * Number of retry attempts (1-5)
840
664
  */
@@ -859,7 +683,7 @@ export type FallbackModelConfiguration2 = {
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?: CreateAgentRequestFallbackModelConfigurationRetry | undefined;
686
+ retry?: FallbackModelConfigurationRetry | 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.
@@ -1516,48 +1340,6 @@ export type CreateAgentRequestSettings = {
1516
1340
  */
1517
1341
  guardrails?: Array<CreateAgentRequestAgentsGuardrails> | undefined;
1518
1342
  };
1519
- /**
1520
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1521
- */
1522
- export declare const CreateAgentRequestVoice: {
1523
- readonly Alloy: "alloy";
1524
- readonly Echo: "echo";
1525
- readonly Fable: "fable";
1526
- readonly Onyx: "onyx";
1527
- readonly Nova: "nova";
1528
- readonly Shimmer: "shimmer";
1529
- };
1530
- /**
1531
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1532
- */
1533
- export type CreateAgentRequestVoice = ClosedEnum<typeof CreateAgentRequestVoice>;
1534
- /**
1535
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1536
- */
1537
- export declare const CreateAgentRequestFormat: {
1538
- readonly Wav: "wav";
1539
- readonly Mp3: "mp3";
1540
- readonly Flac: "flac";
1541
- readonly Opus: "opus";
1542
- readonly Pcm16: "pcm16";
1543
- };
1544
- /**
1545
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1546
- */
1547
- export type CreateAgentRequestFormat = ClosedEnum<typeof CreateAgentRequestFormat>;
1548
- /**
1549
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1550
- */
1551
- export type CreateAgentRequestAudio = {
1552
- /**
1553
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1554
- */
1555
- voice: CreateAgentRequestVoice;
1556
- /**
1557
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1558
- */
1559
- format: CreateAgentRequestFormat;
1560
- };
1561
1343
  export type CreateAgentRequestResponseFormatAgentsResponseJsonSchema = {
1562
1344
  /**
1563
1345
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -1642,15 +1424,6 @@ export type CreateAgentRequestReasoningEffort = ClosedEnum<typeof CreateAgentReq
1642
1424
  * Up to 4 sequences where the API will stop generating further tokens.
1643
1425
  */
1644
1426
  export type CreateAgentRequestStop = string | Array<string>;
1645
- /**
1646
- * Options for streaming response. Only set this when you set stream: true.
1647
- */
1648
- export type CreateAgentRequestStreamOptions = {
1649
- /**
1650
- * 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.
1651
- */
1652
- includeUsage?: boolean | undefined;
1653
- };
1654
1427
  export type CreateAgentRequestThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
1655
1428
  /**
1656
1429
  * The type of the tool. Currently, only function is supported.
@@ -1727,19 +1500,6 @@ export type CreateAgentRequestFallbacks = {
1727
1500
  */
1728
1501
  model: string;
1729
1502
  };
1730
- /**
1731
- * Retry configuration for the request
1732
- */
1733
- export type CreateAgentRequestAgentsRetry = {
1734
- /**
1735
- * Number of retry attempts (1-5)
1736
- */
1737
- count: number;
1738
- /**
1739
- * HTTP status codes that trigger retry logic
1740
- */
1741
- onCodes?: Array<number> | undefined;
1742
- };
1743
1503
  export declare const CreateAgentRequestType: {
1744
1504
  readonly ExactMatch: "exact_match";
1745
1505
  };
@@ -1793,10 +1553,6 @@ export type CreateAgentRequestParameters = {
1793
1553
  * The name to display on the trace. If not specified, the default system name will be used.
1794
1554
  */
1795
1555
  name?: string | undefined;
1796
- /**
1797
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1798
- */
1799
- audio?: CreateAgentRequestAudio | null | undefined;
1800
1556
  /**
1801
1557
  * 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.
1802
1558
  */
@@ -1813,18 +1569,6 @@ export type CreateAgentRequestParameters = {
1813
1569
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
1814
1570
  */
1815
1571
  maxCompletionTokens?: number | null | undefined;
1816
- /**
1817
- * 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.
1818
- */
1819
- logprobs?: boolean | null | undefined;
1820
- /**
1821
- * 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.
1822
- */
1823
- topLogprobs?: number | null | undefined;
1824
- /**
1825
- * 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.
1826
- */
1827
- n?: number | null | undefined;
1828
1572
  /**
1829
1573
  * 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.
1830
1574
  */
@@ -1858,10 +1602,6 @@ export type CreateAgentRequestParameters = {
1858
1602
  * Up to 4 sequences where the API will stop generating further tokens.
1859
1603
  */
1860
1604
  stop?: string | Array<string> | null | undefined;
1861
- /**
1862
- * Options for streaming response. Only set this when you set stream: true.
1863
- */
1864
- streamOptions?: CreateAgentRequestStreamOptions | null | undefined;
1865
1605
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
1866
1606
  /**
1867
1607
  * 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.
@@ -1895,10 +1635,6 @@ export type CreateAgentRequestParameters = {
1895
1635
  * Array of fallback models to use if primary model fails
1896
1636
  */
1897
1637
  fallbacks?: Array<CreateAgentRequestFallbacks> | undefined;
1898
- /**
1899
- * Retry configuration for the request
1900
- */
1901
- retry?: CreateAgentRequestAgentsRetry | undefined;
1902
1638
  /**
1903
1639
  * Cache configuration for the request.
1904
1640
  */
@@ -1925,48 +1661,6 @@ export type CreateAgentRequestRetry = {
1925
1661
  */
1926
1662
  onCodes?: Array<number> | undefined;
1927
1663
  };
1928
- /**
1929
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1930
- */
1931
- export declare const CreateAgentRequestFallbackModelConfigurationVoice: {
1932
- readonly Alloy: "alloy";
1933
- readonly Echo: "echo";
1934
- readonly Fable: "fable";
1935
- readonly Onyx: "onyx";
1936
- readonly Nova: "nova";
1937
- readonly Shimmer: "shimmer";
1938
- };
1939
- /**
1940
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1941
- */
1942
- export type CreateAgentRequestFallbackModelConfigurationVoice = ClosedEnum<typeof CreateAgentRequestFallbackModelConfigurationVoice>;
1943
- /**
1944
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1945
- */
1946
- export declare const CreateAgentRequestFallbackModelConfigurationFormat: {
1947
- readonly Wav: "wav";
1948
- readonly Mp3: "mp3";
1949
- readonly Flac: "flac";
1950
- readonly Opus: "opus";
1951
- readonly Pcm16: "pcm16";
1952
- };
1953
- /**
1954
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1955
- */
1956
- export type CreateAgentRequestFallbackModelConfigurationFormat = ClosedEnum<typeof CreateAgentRequestFallbackModelConfigurationFormat>;
1957
- /**
1958
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1959
- */
1960
- export type CreateAgentRequestFallbackModelConfigurationAudio = {
1961
- /**
1962
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1963
- */
1964
- voice: CreateAgentRequestFallbackModelConfigurationVoice;
1965
- /**
1966
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1967
- */
1968
- format: CreateAgentRequestFallbackModelConfigurationFormat;
1969
- };
1970
1664
  export type CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema = {
1971
1665
  /**
1972
1666
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -2051,15 +1745,6 @@ export type CreateAgentRequestFallbackModelConfigurationReasoningEffort = Closed
2051
1745
  * Up to 4 sequences where the API will stop generating further tokens.
2052
1746
  */
2053
1747
  export type CreateAgentRequestFallbackModelConfigurationStop = string | Array<string>;
2054
- /**
2055
- * Options for streaming response. Only set this when you set stream: true.
2056
- */
2057
- export type CreateAgentRequestFallbackModelConfigurationStreamOptions = {
2058
- /**
2059
- * 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.
2060
- */
2061
- includeUsage?: boolean | undefined;
2062
- };
2063
1748
  export type CreateAgentRequestFallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
2064
1749
  /**
2065
1750
  * The type of the tool. Currently, only function is supported.
@@ -2136,19 +1821,6 @@ export type CreateAgentRequestFallbackModelConfigurationFallbacks = {
2136
1821
  */
2137
1822
  model: string;
2138
1823
  };
2139
- /**
2140
- * Retry configuration for the request
2141
- */
2142
- export type CreateAgentRequestFallbackModelConfigurationAgentsResponseRetry = {
2143
- /**
2144
- * Number of retry attempts (1-5)
2145
- */
2146
- count: number;
2147
- /**
2148
- * HTTP status codes that trigger retry logic
2149
- */
2150
- onCodes?: Array<number> | undefined;
2151
- };
2152
1824
  export declare const CreateAgentRequestFallbackModelConfigurationType: {
2153
1825
  readonly ExactMatch: "exact_match";
2154
1826
  };
@@ -2202,10 +1874,6 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
2202
1874
  * The name to display on the trace. If not specified, the default system name will be used.
2203
1875
  */
2204
1876
  name?: string | undefined;
2205
- /**
2206
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
2207
- */
2208
- audio?: CreateAgentRequestFallbackModelConfigurationAudio | null | undefined;
2209
1877
  /**
2210
1878
  * 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.
2211
1879
  */
@@ -2222,18 +1890,6 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
2222
1890
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
2223
1891
  */
2224
1892
  maxCompletionTokens?: number | null | undefined;
2225
- /**
2226
- * 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.
2227
- */
2228
- logprobs?: boolean | null | undefined;
2229
- /**
2230
- * 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.
2231
- */
2232
- topLogprobs?: number | null | undefined;
2233
- /**
2234
- * 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.
2235
- */
2236
- n?: number | null | undefined;
2237
1893
  /**
2238
1894
  * 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.
2239
1895
  */
@@ -2267,10 +1923,6 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
2267
1923
  * Up to 4 sequences where the API will stop generating further tokens.
2268
1924
  */
2269
1925
  stop?: string | Array<string> | null | undefined;
2270
- /**
2271
- * Options for streaming response. Only set this when you set stream: true.
2272
- */
2273
- streamOptions?: CreateAgentRequestFallbackModelConfigurationStreamOptions | null | undefined;
2274
1926
  thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
2275
1927
  /**
2276
1928
  * 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.
@@ -2304,10 +1956,6 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
2304
1956
  * Array of fallback models to use if primary model fails
2305
1957
  */
2306
1958
  fallbacks?: Array<CreateAgentRequestFallbackModelConfigurationFallbacks> | undefined;
2307
- /**
2308
- * Retry configuration for the request
2309
- */
2310
- retry?: CreateAgentRequestFallbackModelConfigurationAgentsResponseRetry | undefined;
2311
1959
  /**
2312
1960
  * Cache configuration for the request.
2313
1961
  */
@@ -2324,7 +1972,7 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
2324
1972
  /**
2325
1973
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
2326
1974
  */
2327
- export type CreateAgentRequestFallbackModelConfigurationAgentsRetry = {
1975
+ export type CreateAgentRequestFallbackModelConfigurationRetry = {
2328
1976
  /**
2329
1977
  * Number of retry attempts (1-5)
2330
1978
  */
@@ -2349,7 +1997,7 @@ export type CreateAgentRequestFallbackModelConfiguration2 = {
2349
1997
  /**
2350
1998
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
2351
1999
  */
2352
- retry?: CreateAgentRequestFallbackModelConfigurationAgentsRetry | undefined;
2000
+ retry?: CreateAgentRequestFallbackModelConfigurationRetry | undefined;
2353
2001
  };
2354
2002
  /**
2355
2003
  * 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.
@@ -2460,18 +2108,6 @@ export type CreateAgentRequestResponseBody = {
2460
2108
  source?: CreateAgentRequestSource | undefined;
2461
2109
  };
2462
2110
  /** @internal */
2463
- export declare const Voice$outboundSchema: z.ZodNativeEnum<typeof Voice>;
2464
- /** @internal */
2465
- export declare const Format$outboundSchema: z.ZodNativeEnum<typeof Format>;
2466
- /** @internal */
2467
- export type ModelConfigurationAudio$Outbound = {
2468
- voice: string;
2469
- format: string;
2470
- };
2471
- /** @internal */
2472
- export declare const ModelConfigurationAudio$outboundSchema: z.ZodType<ModelConfigurationAudio$Outbound, z.ZodTypeDef, ModelConfigurationAudio>;
2473
- export declare function modelConfigurationAudioToJSON(modelConfigurationAudio: ModelConfigurationAudio): string;
2474
- /** @internal */
2475
2111
  export type ResponseFormatJsonSchema$Outbound = {
2476
2112
  description?: string | undefined;
2477
2113
  name: string;
@@ -2516,13 +2152,6 @@ export type Stop$Outbound = string | Array<string>;
2516
2152
  export declare const Stop$outboundSchema: z.ZodType<Stop$Outbound, z.ZodTypeDef, Stop>;
2517
2153
  export declare function stopToJSON(stop: Stop): string;
2518
2154
  /** @internal */
2519
- export type StreamOptions$Outbound = {
2520
- include_usage?: boolean | undefined;
2521
- };
2522
- /** @internal */
2523
- export declare const StreamOptions$outboundSchema: z.ZodType<StreamOptions$Outbound, z.ZodTypeDef, StreamOptions>;
2524
- export declare function streamOptionsToJSON(streamOptions: StreamOptions): string;
2525
- /** @internal */
2526
2155
  export type Thinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
2527
2156
  /** @internal */
2528
2157
  export declare const Thinking$outboundSchema: z.ZodType<Thinking$Outbound, z.ZodTypeDef, Thinking>;
@@ -2578,14 +2207,6 @@ export type Fallbacks$Outbound = {
2578
2207
  export declare const Fallbacks$outboundSchema: z.ZodType<Fallbacks$Outbound, z.ZodTypeDef, Fallbacks>;
2579
2208
  export declare function fallbacksToJSON(fallbacks: Fallbacks): string;
2580
2209
  /** @internal */
2581
- export type Retry$Outbound = {
2582
- count: number;
2583
- on_codes?: Array<number> | undefined;
2584
- };
2585
- /** @internal */
2586
- export declare const Retry$outboundSchema: z.ZodType<Retry$Outbound, z.ZodTypeDef, Retry>;
2587
- export declare function retryToJSON(retry: Retry): string;
2588
- /** @internal */
2589
2210
  export declare const ModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationType>;
2590
2211
  /** @internal */
2591
2212
  export type Cache$Outbound = {
@@ -2628,20 +2249,15 @@ export declare function timeoutToJSON(timeout: Timeout): string;
2628
2249
  /** @internal */
2629
2250
  export type ParametersT$Outbound = {
2630
2251
  name?: string | undefined;
2631
- audio?: ModelConfigurationAudio$Outbound | null | undefined;
2632
2252
  frequency_penalty?: number | null | undefined;
2633
2253
  max_tokens?: number | null | undefined;
2634
2254
  max_completion_tokens?: number | null | undefined;
2635
- logprobs?: boolean | null | undefined;
2636
- top_logprobs?: number | null | undefined;
2637
- n?: number | null | undefined;
2638
2255
  presence_penalty?: number | null | undefined;
2639
2256
  response_format?: Text$Outbound | JSONObject$Outbound | JSONSchema$Outbound | undefined;
2640
2257
  reasoning_effort?: string | undefined;
2641
2258
  verbosity?: string | undefined;
2642
2259
  seed?: number | null | undefined;
2643
2260
  stop?: string | Array<string> | null | undefined;
2644
- stream_options?: StreamOptions$Outbound | null | undefined;
2645
2261
  thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2646
2262
  temperature?: number | null | undefined;
2647
2263
  top_p?: number | null | undefined;
@@ -2651,7 +2267,6 @@ export type ParametersT$Outbound = {
2651
2267
  modalities?: Array<string> | null | undefined;
2652
2268
  guardrails?: Array<Guardrails$Outbound> | undefined;
2653
2269
  fallbacks?: Array<Fallbacks$Outbound> | undefined;
2654
- retry?: Retry$Outbound | undefined;
2655
2270
  cache?: Cache$Outbound | undefined;
2656
2271
  load_balancer?: LoadBalancer1$Outbound | undefined;
2657
2272
  timeout?: Timeout$Outbound | undefined;
@@ -2660,18 +2275,18 @@ export type ParametersT$Outbound = {
2660
2275
  export declare const ParametersT$outboundSchema: z.ZodType<ParametersT$Outbound, z.ZodTypeDef, ParametersT>;
2661
2276
  export declare function parametersToJSON(parametersT: ParametersT): string;
2662
2277
  /** @internal */
2663
- export type ModelConfigurationRetry$Outbound = {
2278
+ export type Retry$Outbound = {
2664
2279
  count: number;
2665
2280
  on_codes?: Array<number> | undefined;
2666
2281
  };
2667
2282
  /** @internal */
2668
- export declare const ModelConfigurationRetry$outboundSchema: z.ZodType<ModelConfigurationRetry$Outbound, z.ZodTypeDef, ModelConfigurationRetry>;
2669
- export declare function modelConfigurationRetryToJSON(modelConfigurationRetry: ModelConfigurationRetry): string;
2283
+ export declare const Retry$outboundSchema: z.ZodType<Retry$Outbound, z.ZodTypeDef, Retry>;
2284
+ export declare function retryToJSON(retry: Retry): string;
2670
2285
  /** @internal */
2671
2286
  export type ModelConfiguration2$Outbound = {
2672
2287
  id: string;
2673
2288
  parameters?: ParametersT$Outbound | undefined;
2674
- retry?: ModelConfigurationRetry$Outbound | undefined;
2289
+ retry?: Retry$Outbound | undefined;
2675
2290
  };
2676
2291
  /** @internal */
2677
2292
  export declare const ModelConfiguration2$outboundSchema: z.ZodType<ModelConfiguration2$Outbound, z.ZodTypeDef, ModelConfiguration2>;
@@ -2682,18 +2297,6 @@ export type ModelConfiguration$Outbound = ModelConfiguration2$Outbound | string;
2682
2297
  export declare const ModelConfiguration$outboundSchema: z.ZodType<ModelConfiguration$Outbound, z.ZodTypeDef, ModelConfiguration>;
2683
2298
  export declare function modelConfigurationToJSON(modelConfiguration: ModelConfiguration): string;
2684
2299
  /** @internal */
2685
- export declare const FallbackModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof FallbackModelConfigurationVoice>;
2686
- /** @internal */
2687
- export declare const FallbackModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof FallbackModelConfigurationFormat>;
2688
- /** @internal */
2689
- export type FallbackModelConfigurationAudio$Outbound = {
2690
- voice: string;
2691
- format: string;
2692
- };
2693
- /** @internal */
2694
- export declare const FallbackModelConfigurationAudio$outboundSchema: z.ZodType<FallbackModelConfigurationAudio$Outbound, z.ZodTypeDef, FallbackModelConfigurationAudio>;
2695
- export declare function fallbackModelConfigurationAudioToJSON(fallbackModelConfigurationAudio: FallbackModelConfigurationAudio): string;
2696
- /** @internal */
2697
2300
  export type CreateAgentRequestResponseFormatAgentsJsonSchema$Outbound = {
2698
2301
  description?: string | undefined;
2699
2302
  name: string;
@@ -2738,13 +2341,6 @@ export type FallbackModelConfigurationStop$Outbound = string | Array<string>;
2738
2341
  export declare const FallbackModelConfigurationStop$outboundSchema: z.ZodType<FallbackModelConfigurationStop$Outbound, z.ZodTypeDef, FallbackModelConfigurationStop>;
2739
2342
  export declare function fallbackModelConfigurationStopToJSON(fallbackModelConfigurationStop: FallbackModelConfigurationStop): string;
2740
2343
  /** @internal */
2741
- export type FallbackModelConfigurationStreamOptions$Outbound = {
2742
- include_usage?: boolean | undefined;
2743
- };
2744
- /** @internal */
2745
- export declare const FallbackModelConfigurationStreamOptions$outboundSchema: z.ZodType<FallbackModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, FallbackModelConfigurationStreamOptions>;
2746
- export declare function fallbackModelConfigurationStreamOptionsToJSON(fallbackModelConfigurationStreamOptions: FallbackModelConfigurationStreamOptions): string;
2747
- /** @internal */
2748
2344
  export type FallbackModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
2749
2345
  /** @internal */
2750
2346
  export declare const FallbackModelConfigurationThinking$outboundSchema: z.ZodType<FallbackModelConfigurationThinking$Outbound, z.ZodTypeDef, FallbackModelConfigurationThinking>;
@@ -2800,14 +2396,6 @@ export type FallbackModelConfigurationFallbacks$Outbound = {
2800
2396
  export declare const FallbackModelConfigurationFallbacks$outboundSchema: z.ZodType<FallbackModelConfigurationFallbacks$Outbound, z.ZodTypeDef, FallbackModelConfigurationFallbacks>;
2801
2397
  export declare function fallbackModelConfigurationFallbacksToJSON(fallbackModelConfigurationFallbacks: FallbackModelConfigurationFallbacks): string;
2802
2398
  /** @internal */
2803
- export type FallbackModelConfigurationRetry$Outbound = {
2804
- count: number;
2805
- on_codes?: Array<number> | undefined;
2806
- };
2807
- /** @internal */
2808
- export declare const FallbackModelConfigurationRetry$outboundSchema: z.ZodType<FallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, FallbackModelConfigurationRetry>;
2809
- export declare function fallbackModelConfigurationRetryToJSON(fallbackModelConfigurationRetry: FallbackModelConfigurationRetry): string;
2810
- /** @internal */
2811
2399
  export declare const FallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof FallbackModelConfigurationType>;
2812
2400
  /** @internal */
2813
2401
  export type FallbackModelConfigurationCache$Outbound = {
@@ -2850,20 +2438,15 @@ export declare function fallbackModelConfigurationTimeoutToJSON(fallbackModelCon
2850
2438
  /** @internal */
2851
2439
  export type FallbackModelConfigurationParameters$Outbound = {
2852
2440
  name?: string | undefined;
2853
- audio?: FallbackModelConfigurationAudio$Outbound | null | undefined;
2854
2441
  frequency_penalty?: number | null | undefined;
2855
2442
  max_tokens?: number | null | undefined;
2856
2443
  max_completion_tokens?: number | null | undefined;
2857
- logprobs?: boolean | null | undefined;
2858
- top_logprobs?: number | null | undefined;
2859
- n?: number | null | undefined;
2860
2444
  presence_penalty?: number | null | undefined;
2861
2445
  response_format?: ResponseFormatText$Outbound | ResponseFormatJSONObject$Outbound | CreateAgentRequestResponseFormatJSONSchema$Outbound | undefined;
2862
2446
  reasoning_effort?: string | undefined;
2863
2447
  verbosity?: string | undefined;
2864
2448
  seed?: number | null | undefined;
2865
2449
  stop?: string | Array<string> | null | undefined;
2866
- stream_options?: FallbackModelConfigurationStreamOptions$Outbound | null | undefined;
2867
2450
  thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2868
2451
  temperature?: number | null | undefined;
2869
2452
  top_p?: number | null | undefined;
@@ -2873,7 +2456,6 @@ export type FallbackModelConfigurationParameters$Outbound = {
2873
2456
  modalities?: Array<string> | null | undefined;
2874
2457
  guardrails?: Array<FallbackModelConfigurationGuardrails$Outbound> | undefined;
2875
2458
  fallbacks?: Array<FallbackModelConfigurationFallbacks$Outbound> | undefined;
2876
- retry?: FallbackModelConfigurationRetry$Outbound | undefined;
2877
2459
  cache?: FallbackModelConfigurationCache$Outbound | undefined;
2878
2460
  load_balancer?: CreateAgentRequestLoadBalancer1$Outbound | undefined;
2879
2461
  timeout?: FallbackModelConfigurationTimeout$Outbound | undefined;
@@ -2882,18 +2464,18 @@ export type FallbackModelConfigurationParameters$Outbound = {
2882
2464
  export declare const FallbackModelConfigurationParameters$outboundSchema: z.ZodType<FallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, FallbackModelConfigurationParameters>;
2883
2465
  export declare function fallbackModelConfigurationParametersToJSON(fallbackModelConfigurationParameters: FallbackModelConfigurationParameters): string;
2884
2466
  /** @internal */
2885
- export type CreateAgentRequestFallbackModelConfigurationRetry$Outbound = {
2467
+ export type FallbackModelConfigurationRetry$Outbound = {
2886
2468
  count: number;
2887
2469
  on_codes?: Array<number> | undefined;
2888
2470
  };
2889
2471
  /** @internal */
2890
- export declare const CreateAgentRequestFallbackModelConfigurationRetry$outboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, CreateAgentRequestFallbackModelConfigurationRetry>;
2891
- export declare function createAgentRequestFallbackModelConfigurationRetryToJSON(createAgentRequestFallbackModelConfigurationRetry: CreateAgentRequestFallbackModelConfigurationRetry): string;
2472
+ export declare const FallbackModelConfigurationRetry$outboundSchema: z.ZodType<FallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, FallbackModelConfigurationRetry>;
2473
+ export declare function fallbackModelConfigurationRetryToJSON(fallbackModelConfigurationRetry: FallbackModelConfigurationRetry): string;
2892
2474
  /** @internal */
2893
2475
  export type FallbackModelConfiguration2$Outbound = {
2894
2476
  id: string;
2895
2477
  parameters?: FallbackModelConfigurationParameters$Outbound | undefined;
2896
- retry?: CreateAgentRequestFallbackModelConfigurationRetry$Outbound | undefined;
2478
+ retry?: FallbackModelConfigurationRetry$Outbound | undefined;
2897
2479
  };
2898
2480
  /** @internal */
2899
2481
  export declare const FallbackModelConfiguration2$outboundSchema: z.ZodType<FallbackModelConfiguration2$Outbound, z.ZodTypeDef, FallbackModelConfiguration2>;
@@ -3188,13 +2770,6 @@ export declare function createAgentRequestAgentsGuardrailsFromJSON(jsonString: s
3188
2770
  export declare const CreateAgentRequestSettings$inboundSchema: z.ZodType<CreateAgentRequestSettings, z.ZodTypeDef, unknown>;
3189
2771
  export declare function createAgentRequestSettingsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestSettings, SDKValidationError>;
3190
2772
  /** @internal */
3191
- export declare const CreateAgentRequestVoice$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestVoice>;
3192
- /** @internal */
3193
- export declare const CreateAgentRequestFormat$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestFormat>;
3194
- /** @internal */
3195
- export declare const CreateAgentRequestAudio$inboundSchema: z.ZodType<CreateAgentRequestAudio, z.ZodTypeDef, unknown>;
3196
- export declare function createAgentRequestAudioFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestAudio, SDKValidationError>;
3197
- /** @internal */
3198
2773
  export declare const CreateAgentRequestResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<CreateAgentRequestResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
3199
2774
  export declare function createAgentRequestResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
3200
2775
  /** @internal */
@@ -3215,9 +2790,6 @@ export declare const CreateAgentRequestReasoningEffort$inboundSchema: z.ZodNativ
3215
2790
  export declare const CreateAgentRequestStop$inboundSchema: z.ZodType<CreateAgentRequestStop, z.ZodTypeDef, unknown>;
3216
2791
  export declare function createAgentRequestStopFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestStop, SDKValidationError>;
3217
2792
  /** @internal */
3218
- export declare const CreateAgentRequestStreamOptions$inboundSchema: z.ZodType<CreateAgentRequestStreamOptions, z.ZodTypeDef, unknown>;
3219
- export declare function createAgentRequestStreamOptionsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestStreamOptions, SDKValidationError>;
3220
- /** @internal */
3221
2793
  export declare const CreateAgentRequestThinking$inboundSchema: z.ZodType<CreateAgentRequestThinking, z.ZodTypeDef, unknown>;
3222
2794
  export declare function createAgentRequestThinkingFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestThinking, SDKValidationError>;
3223
2795
  /** @internal */
@@ -3249,9 +2821,6 @@ export declare function createAgentRequestAgentsResponseGuardrailsFromJSON(jsonS
3249
2821
  export declare const CreateAgentRequestFallbacks$inboundSchema: z.ZodType<CreateAgentRequestFallbacks, z.ZodTypeDef, unknown>;
3250
2822
  export declare function createAgentRequestFallbacksFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbacks, SDKValidationError>;
3251
2823
  /** @internal */
3252
- export declare const CreateAgentRequestAgentsRetry$inboundSchema: z.ZodType<CreateAgentRequestAgentsRetry, z.ZodTypeDef, unknown>;
3253
- export declare function createAgentRequestAgentsRetryFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestAgentsRetry, SDKValidationError>;
3254
- /** @internal */
3255
2824
  export declare const CreateAgentRequestType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestType>;
3256
2825
  /** @internal */
3257
2826
  export declare const CreateAgentRequestCache$inboundSchema: z.ZodType<CreateAgentRequestCache, z.ZodTypeDef, unknown>;
@@ -3277,13 +2846,6 @@ export declare function createAgentRequestParametersFromJSON(jsonString: string)
3277
2846
  export declare const CreateAgentRequestRetry$inboundSchema: z.ZodType<CreateAgentRequestRetry, z.ZodTypeDef, unknown>;
3278
2847
  export declare function createAgentRequestRetryFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestRetry, SDKValidationError>;
3279
2848
  /** @internal */
3280
- export declare const CreateAgentRequestFallbackModelConfigurationVoice$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestFallbackModelConfigurationVoice>;
3281
- /** @internal */
3282
- export declare const CreateAgentRequestFallbackModelConfigurationFormat$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestFallbackModelConfigurationFormat>;
3283
- /** @internal */
3284
- export declare const CreateAgentRequestFallbackModelConfigurationAudio$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationAudio, z.ZodTypeDef, unknown>;
3285
- export declare function createAgentRequestFallbackModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationAudio, SDKValidationError>;
3286
- /** @internal */
3287
2849
  export declare const CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema$inboundSchema: z.ZodType<CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema, z.ZodTypeDef, unknown>;
3288
2850
  export declare function createAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchemaFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestResponseFormatAgentsResponse201ApplicationJSONJSONSchema, SDKValidationError>;
3289
2851
  /** @internal */
@@ -3304,9 +2866,6 @@ export declare const CreateAgentRequestFallbackModelConfigurationReasoningEffort
3304
2866
  export declare const CreateAgentRequestFallbackModelConfigurationStop$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
3305
2867
  export declare function createAgentRequestFallbackModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationStop, SDKValidationError>;
3306
2868
  /** @internal */
3307
- export declare const CreateAgentRequestFallbackModelConfigurationStreamOptions$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
3308
- export declare function createAgentRequestFallbackModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationStreamOptions, SDKValidationError>;
3309
- /** @internal */
3310
2869
  export declare const CreateAgentRequestFallbackModelConfigurationThinking$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationThinking, z.ZodTypeDef, unknown>;
3311
2870
  export declare function createAgentRequestFallbackModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationThinking, SDKValidationError>;
3312
2871
  /** @internal */
@@ -3338,9 +2897,6 @@ export declare function createAgentRequestFallbackModelConfigurationGuardrailsFr
3338
2897
  export declare const CreateAgentRequestFallbackModelConfigurationFallbacks$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationFallbacks, z.ZodTypeDef, unknown>;
3339
2898
  export declare function createAgentRequestFallbackModelConfigurationFallbacksFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationFallbacks, SDKValidationError>;
3340
2899
  /** @internal */
3341
- export declare const CreateAgentRequestFallbackModelConfigurationAgentsResponseRetry$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationAgentsResponseRetry, z.ZodTypeDef, unknown>;
3342
- export declare function createAgentRequestFallbackModelConfigurationAgentsResponseRetryFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationAgentsResponseRetry, SDKValidationError>;
3343
- /** @internal */
3344
2900
  export declare const CreateAgentRequestFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof CreateAgentRequestFallbackModelConfigurationType>;
3345
2901
  /** @internal */
3346
2902
  export declare const CreateAgentRequestFallbackModelConfigurationCache$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationCache, z.ZodTypeDef, unknown>;
@@ -3363,8 +2919,8 @@ export declare function createAgentRequestFallbackModelConfigurationTimeoutFromJ
3363
2919
  export declare const CreateAgentRequestFallbackModelConfigurationParameters$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationParameters, z.ZodTypeDef, unknown>;
3364
2920
  export declare function createAgentRequestFallbackModelConfigurationParametersFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationParameters, SDKValidationError>;
3365
2921
  /** @internal */
3366
- export declare const CreateAgentRequestFallbackModelConfigurationAgentsRetry$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationAgentsRetry, z.ZodTypeDef, unknown>;
3367
- export declare function createAgentRequestFallbackModelConfigurationAgentsRetryFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationAgentsRetry, SDKValidationError>;
2922
+ export declare const CreateAgentRequestFallbackModelConfigurationRetry$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfigurationRetry, z.ZodTypeDef, unknown>;
2923
+ export declare function createAgentRequestFallbackModelConfigurationRetryFromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfigurationRetry, SDKValidationError>;
3368
2924
  /** @internal */
3369
2925
  export declare const CreateAgentRequestFallbackModelConfiguration2$inboundSchema: z.ZodType<CreateAgentRequestFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
3370
2926
  export declare function createAgentRequestFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<CreateAgentRequestFallbackModelConfiguration2, SDKValidationError>;