@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 RunAgentModelConfigurationVoice: {
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 RunAgentModelConfigurationVoice = ClosedEnum<typeof RunAgentModelConfigurationVoice>;
21
- /**
22
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
23
- */
24
- export declare const RunAgentModelConfigurationFormat: {
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 RunAgentModelConfigurationFormat = ClosedEnum<typeof RunAgentModelConfigurationFormat>;
35
- /**
36
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
37
- */
38
- export type RunAgentModelConfigurationAudio = {
39
- /**
40
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
41
- */
42
- voice: RunAgentModelConfigurationVoice;
43
- /**
44
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
45
- */
46
- format: RunAgentModelConfigurationFormat;
47
- };
48
6
  export type RunAgentResponseFormatAgentsJsonSchema = {
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 RunAgentModelConfigurationReasoningEffort = ClosedEnum<typeof RunAge
129
87
  * Up to 4 sequences where the API will stop generating further tokens.
130
88
  */
131
89
  export type RunAgentModelConfigurationStop = string | Array<string>;
132
- /**
133
- * Options for streaming response. Only set this when you set stream: true.
134
- */
135
- export type RunAgentModelConfigurationStreamOptions = {
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 RunAgentModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
142
91
  /**
143
92
  * The type of the tool. Currently, only function is supported.
@@ -214,19 +163,6 @@ export type RunAgentModelConfigurationFallbacks = {
214
163
  */
215
164
  model: string;
216
165
  };
217
- /**
218
- * Retry configuration for the request
219
- */
220
- export type RunAgentModelConfigurationRetry = {
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 RunAgentModelConfigurationType: {
231
167
  readonly ExactMatch: "exact_match";
232
168
  };
@@ -280,10 +216,6 @@ export type RunAgentModelConfigurationParameters = {
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?: RunAgentModelConfigurationAudio | 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 RunAgentModelConfigurationParameters = {
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 RunAgentModelConfigurationParameters = {
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?: RunAgentModelConfigurationStreamOptions | 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 RunAgentModelConfigurationParameters = {
382
298
  * Array of fallback models to use if primary model fails
383
299
  */
384
300
  fallbacks?: Array<RunAgentModelConfigurationFallbacks> | undefined;
385
- /**
386
- * Retry configuration for the request
387
- */
388
- retry?: RunAgentModelConfigurationRetry | undefined;
389
301
  /**
390
302
  * Cache configuration for the request.
391
303
  */
@@ -402,7 +314,7 @@ export type RunAgentModelConfigurationParameters = {
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 RunAgentModelConfigurationAgentsRetry = {
317
+ export type RunAgentModelConfigurationRetry = {
406
318
  /**
407
319
  * Number of retry attempts (1-5)
408
320
  */
@@ -429,54 +341,12 @@ export type RunAgentModelConfiguration2 = {
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?: RunAgentModelConfigurationAgentsRetry | undefined;
344
+ retry?: RunAgentModelConfigurationRetry | undefined;
433
345
  };
434
346
  /**
435
347
  * Model configuration for this execution. Can override the agent manifest defaults if the agent already exists.
436
348
  */
437
349
  export type RunAgentModelConfiguration = RunAgentModelConfiguration2 | 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 RunAgentFallbackModelConfigurationVoice: {
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 RunAgentFallbackModelConfigurationVoice = ClosedEnum<typeof RunAgentFallbackModelConfigurationVoice>;
453
- /**
454
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
455
- */
456
- export declare const RunAgentFallbackModelConfigurationFormat: {
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 RunAgentFallbackModelConfigurationFormat = ClosedEnum<typeof RunAgentFallbackModelConfigurationFormat>;
467
- /**
468
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
469
- */
470
- export type RunAgentFallbackModelConfigurationAudio = {
471
- /**
472
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
473
- */
474
- voice: RunAgentFallbackModelConfigurationVoice;
475
- /**
476
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
477
- */
478
- format: RunAgentFallbackModelConfigurationFormat;
479
- };
480
350
  export type RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema = {
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 RunAgentFallbackModelConfigurationReasoningEffort = ClosedEnum<typeo
561
431
  * Up to 4 sequences where the API will stop generating further tokens.
562
432
  */
563
433
  export type RunAgentFallbackModelConfigurationStop = string | Array<string>;
564
- /**
565
- * Options for streaming response. Only set this when you set stream: true.
566
- */
567
- export type RunAgentFallbackModelConfigurationStreamOptions = {
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 RunAgentFallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
574
435
  /**
575
436
  * The type of the tool. Currently, only function is supported.
@@ -646,19 +507,6 @@ export type RunAgentFallbackModelConfigurationFallbacks = {
646
507
  */
647
508
  model: string;
648
509
  };
649
- /**
650
- * Retry configuration for the request
651
- */
652
- export type RunAgentFallbackModelConfigurationRetry = {
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 RunAgentFallbackModelConfigurationType: {
663
511
  readonly ExactMatch: "exact_match";
664
512
  };
@@ -712,10 +560,6 @@ export type RunAgentFallbackModelConfigurationParameters = {
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?: RunAgentFallbackModelConfigurationAudio | 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 RunAgentFallbackModelConfigurationParameters = {
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 RunAgentFallbackModelConfigurationParameters = {
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?: RunAgentFallbackModelConfigurationStreamOptions | 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 RunAgentFallbackModelConfigurationParameters = {
814
642
  * Array of fallback models to use if primary model fails
815
643
  */
816
644
  fallbacks?: Array<RunAgentFallbackModelConfigurationFallbacks> | undefined;
817
- /**
818
- * Retry configuration for the request
819
- */
820
- retry?: RunAgentFallbackModelConfigurationRetry | undefined;
821
645
  /**
822
646
  * Cache configuration for the request.
823
647
  */
@@ -834,7 +658,7 @@ export type RunAgentFallbackModelConfigurationParameters = {
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 RunAgentFallbackModelConfigurationAgentsRetry = {
661
+ export type RunAgentFallbackModelConfigurationRetry = {
838
662
  /**
839
663
  * Number of retry attempts (1-5)
840
664
  */
@@ -859,7 +683,7 @@ export type RunAgentFallbackModelConfiguration2 = {
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?: RunAgentFallbackModelConfigurationAgentsRetry | undefined;
686
+ retry?: RunAgentFallbackModelConfigurationRetry | 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.
@@ -1776,18 +1600,6 @@ export type RunAgentA2ATaskResponse = {
1776
1600
  } | undefined;
1777
1601
  };
1778
1602
  /** @internal */
1779
- export declare const RunAgentModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof RunAgentModelConfigurationVoice>;
1780
- /** @internal */
1781
- export declare const RunAgentModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof RunAgentModelConfigurationFormat>;
1782
- /** @internal */
1783
- export type RunAgentModelConfigurationAudio$Outbound = {
1784
- voice: string;
1785
- format: string;
1786
- };
1787
- /** @internal */
1788
- export declare const RunAgentModelConfigurationAudio$outboundSchema: z.ZodType<RunAgentModelConfigurationAudio$Outbound, z.ZodTypeDef, RunAgentModelConfigurationAudio>;
1789
- export declare function runAgentModelConfigurationAudioToJSON(runAgentModelConfigurationAudio: RunAgentModelConfigurationAudio): string;
1790
- /** @internal */
1791
1603
  export type RunAgentResponseFormatAgentsJsonSchema$Outbound = {
1792
1604
  description?: string | undefined;
1793
1605
  name: string;
@@ -1832,13 +1644,6 @@ export type RunAgentModelConfigurationStop$Outbound = string | Array<string>;
1832
1644
  export declare const RunAgentModelConfigurationStop$outboundSchema: z.ZodType<RunAgentModelConfigurationStop$Outbound, z.ZodTypeDef, RunAgentModelConfigurationStop>;
1833
1645
  export declare function runAgentModelConfigurationStopToJSON(runAgentModelConfigurationStop: RunAgentModelConfigurationStop): string;
1834
1646
  /** @internal */
1835
- export type RunAgentModelConfigurationStreamOptions$Outbound = {
1836
- include_usage?: boolean | undefined;
1837
- };
1838
- /** @internal */
1839
- export declare const RunAgentModelConfigurationStreamOptions$outboundSchema: z.ZodType<RunAgentModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, RunAgentModelConfigurationStreamOptions>;
1840
- export declare function runAgentModelConfigurationStreamOptionsToJSON(runAgentModelConfigurationStreamOptions: RunAgentModelConfigurationStreamOptions): string;
1841
- /** @internal */
1842
1647
  export type RunAgentModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
1843
1648
  /** @internal */
1844
1649
  export declare const RunAgentModelConfigurationThinking$outboundSchema: z.ZodType<RunAgentModelConfigurationThinking$Outbound, z.ZodTypeDef, RunAgentModelConfigurationThinking>;
@@ -1894,14 +1699,6 @@ export type RunAgentModelConfigurationFallbacks$Outbound = {
1894
1699
  export declare const RunAgentModelConfigurationFallbacks$outboundSchema: z.ZodType<RunAgentModelConfigurationFallbacks$Outbound, z.ZodTypeDef, RunAgentModelConfigurationFallbacks>;
1895
1700
  export declare function runAgentModelConfigurationFallbacksToJSON(runAgentModelConfigurationFallbacks: RunAgentModelConfigurationFallbacks): string;
1896
1701
  /** @internal */
1897
- export type RunAgentModelConfigurationRetry$Outbound = {
1898
- count: number;
1899
- on_codes?: Array<number> | undefined;
1900
- };
1901
- /** @internal */
1902
- export declare const RunAgentModelConfigurationRetry$outboundSchema: z.ZodType<RunAgentModelConfigurationRetry$Outbound, z.ZodTypeDef, RunAgentModelConfigurationRetry>;
1903
- export declare function runAgentModelConfigurationRetryToJSON(runAgentModelConfigurationRetry: RunAgentModelConfigurationRetry): string;
1904
- /** @internal */
1905
1702
  export declare const RunAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof RunAgentModelConfigurationType>;
1906
1703
  /** @internal */
1907
1704
  export type RunAgentModelConfigurationCache$Outbound = {
@@ -1944,20 +1741,15 @@ export declare function runAgentModelConfigurationTimeoutToJSON(runAgentModelCon
1944
1741
  /** @internal */
1945
1742
  export type RunAgentModelConfigurationParameters$Outbound = {
1946
1743
  name?: string | undefined;
1947
- audio?: RunAgentModelConfigurationAudio$Outbound | null | undefined;
1948
1744
  frequency_penalty?: number | null | undefined;
1949
1745
  max_tokens?: number | null | undefined;
1950
1746
  max_completion_tokens?: number | null | undefined;
1951
- logprobs?: boolean | null | undefined;
1952
- top_logprobs?: number | null | undefined;
1953
- n?: number | null | undefined;
1954
1747
  presence_penalty?: number | null | undefined;
1955
1748
  response_format?: RunAgentResponseFormatText$Outbound | RunAgentResponseFormatJSONObject$Outbound | RunAgentResponseFormatJSONSchema$Outbound | undefined;
1956
1749
  reasoning_effort?: string | undefined;
1957
1750
  verbosity?: string | undefined;
1958
1751
  seed?: number | null | undefined;
1959
1752
  stop?: string | Array<string> | null | undefined;
1960
- stream_options?: RunAgentModelConfigurationStreamOptions$Outbound | null | undefined;
1961
1753
  thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
1962
1754
  temperature?: number | null | undefined;
1963
1755
  top_p?: number | null | undefined;
@@ -1967,7 +1759,6 @@ export type RunAgentModelConfigurationParameters$Outbound = {
1967
1759
  modalities?: Array<string> | null | undefined;
1968
1760
  guardrails?: Array<RunAgentModelConfigurationGuardrails$Outbound> | undefined;
1969
1761
  fallbacks?: Array<RunAgentModelConfigurationFallbacks$Outbound> | undefined;
1970
- retry?: RunAgentModelConfigurationRetry$Outbound | undefined;
1971
1762
  cache?: RunAgentModelConfigurationCache$Outbound | undefined;
1972
1763
  load_balancer?: RunAgentLoadBalancer1$Outbound | undefined;
1973
1764
  timeout?: RunAgentModelConfigurationTimeout$Outbound | undefined;
@@ -1976,18 +1767,18 @@ export type RunAgentModelConfigurationParameters$Outbound = {
1976
1767
  export declare const RunAgentModelConfigurationParameters$outboundSchema: z.ZodType<RunAgentModelConfigurationParameters$Outbound, z.ZodTypeDef, RunAgentModelConfigurationParameters>;
1977
1768
  export declare function runAgentModelConfigurationParametersToJSON(runAgentModelConfigurationParameters: RunAgentModelConfigurationParameters): string;
1978
1769
  /** @internal */
1979
- export type RunAgentModelConfigurationAgentsRetry$Outbound = {
1770
+ export type RunAgentModelConfigurationRetry$Outbound = {
1980
1771
  count: number;
1981
1772
  on_codes?: Array<number> | undefined;
1982
1773
  };
1983
1774
  /** @internal */
1984
- export declare const RunAgentModelConfigurationAgentsRetry$outboundSchema: z.ZodType<RunAgentModelConfigurationAgentsRetry$Outbound, z.ZodTypeDef, RunAgentModelConfigurationAgentsRetry>;
1985
- export declare function runAgentModelConfigurationAgentsRetryToJSON(runAgentModelConfigurationAgentsRetry: RunAgentModelConfigurationAgentsRetry): string;
1775
+ export declare const RunAgentModelConfigurationRetry$outboundSchema: z.ZodType<RunAgentModelConfigurationRetry$Outbound, z.ZodTypeDef, RunAgentModelConfigurationRetry>;
1776
+ export declare function runAgentModelConfigurationRetryToJSON(runAgentModelConfigurationRetry: RunAgentModelConfigurationRetry): string;
1986
1777
  /** @internal */
1987
1778
  export type RunAgentModelConfiguration2$Outbound = {
1988
1779
  id: string;
1989
1780
  parameters?: RunAgentModelConfigurationParameters$Outbound | undefined;
1990
- retry?: RunAgentModelConfigurationAgentsRetry$Outbound | undefined;
1781
+ retry?: RunAgentModelConfigurationRetry$Outbound | undefined;
1991
1782
  };
1992
1783
  /** @internal */
1993
1784
  export declare const RunAgentModelConfiguration2$outboundSchema: z.ZodType<RunAgentModelConfiguration2$Outbound, z.ZodTypeDef, RunAgentModelConfiguration2>;
@@ -1998,18 +1789,6 @@ export type RunAgentModelConfiguration$Outbound = RunAgentModelConfiguration2$Ou
1998
1789
  export declare const RunAgentModelConfiguration$outboundSchema: z.ZodType<RunAgentModelConfiguration$Outbound, z.ZodTypeDef, RunAgentModelConfiguration>;
1999
1790
  export declare function runAgentModelConfigurationToJSON(runAgentModelConfiguration: RunAgentModelConfiguration): string;
2000
1791
  /** @internal */
2001
- export declare const RunAgentFallbackModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationVoice>;
2002
- /** @internal */
2003
- export declare const RunAgentFallbackModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationFormat>;
2004
- /** @internal */
2005
- export type RunAgentFallbackModelConfigurationAudio$Outbound = {
2006
- voice: string;
2007
- format: string;
2008
- };
2009
- /** @internal */
2010
- export declare const RunAgentFallbackModelConfigurationAudio$outboundSchema: z.ZodType<RunAgentFallbackModelConfigurationAudio$Outbound, z.ZodTypeDef, RunAgentFallbackModelConfigurationAudio>;
2011
- export declare function runAgentFallbackModelConfigurationAudioToJSON(runAgentFallbackModelConfigurationAudio: RunAgentFallbackModelConfigurationAudio): string;
2012
- /** @internal */
2013
1792
  export type RunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound = {
2014
1793
  description?: string | undefined;
2015
1794
  name: string;
@@ -2054,13 +1833,6 @@ export type RunAgentFallbackModelConfigurationStop$Outbound = string | Array<str
2054
1833
  export declare const RunAgentFallbackModelConfigurationStop$outboundSchema: z.ZodType<RunAgentFallbackModelConfigurationStop$Outbound, z.ZodTypeDef, RunAgentFallbackModelConfigurationStop>;
2055
1834
  export declare function runAgentFallbackModelConfigurationStopToJSON(runAgentFallbackModelConfigurationStop: RunAgentFallbackModelConfigurationStop): string;
2056
1835
  /** @internal */
2057
- export type RunAgentFallbackModelConfigurationStreamOptions$Outbound = {
2058
- include_usage?: boolean | undefined;
2059
- };
2060
- /** @internal */
2061
- export declare const RunAgentFallbackModelConfigurationStreamOptions$outboundSchema: z.ZodType<RunAgentFallbackModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, RunAgentFallbackModelConfigurationStreamOptions>;
2062
- export declare function runAgentFallbackModelConfigurationStreamOptionsToJSON(runAgentFallbackModelConfigurationStreamOptions: RunAgentFallbackModelConfigurationStreamOptions): string;
2063
- /** @internal */
2064
1836
  export type RunAgentFallbackModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
2065
1837
  /** @internal */
2066
1838
  export declare const RunAgentFallbackModelConfigurationThinking$outboundSchema: z.ZodType<RunAgentFallbackModelConfigurationThinking$Outbound, z.ZodTypeDef, RunAgentFallbackModelConfigurationThinking>;
@@ -2116,14 +1888,6 @@ export type RunAgentFallbackModelConfigurationFallbacks$Outbound = {
2116
1888
  export declare const RunAgentFallbackModelConfigurationFallbacks$outboundSchema: z.ZodType<RunAgentFallbackModelConfigurationFallbacks$Outbound, z.ZodTypeDef, RunAgentFallbackModelConfigurationFallbacks>;
2117
1889
  export declare function runAgentFallbackModelConfigurationFallbacksToJSON(runAgentFallbackModelConfigurationFallbacks: RunAgentFallbackModelConfigurationFallbacks): string;
2118
1890
  /** @internal */
2119
- export type RunAgentFallbackModelConfigurationRetry$Outbound = {
2120
- count: number;
2121
- on_codes?: Array<number> | undefined;
2122
- };
2123
- /** @internal */
2124
- export declare const RunAgentFallbackModelConfigurationRetry$outboundSchema: z.ZodType<RunAgentFallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, RunAgentFallbackModelConfigurationRetry>;
2125
- export declare function runAgentFallbackModelConfigurationRetryToJSON(runAgentFallbackModelConfigurationRetry: RunAgentFallbackModelConfigurationRetry): string;
2126
- /** @internal */
2127
1891
  export declare const RunAgentFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof RunAgentFallbackModelConfigurationType>;
2128
1892
  /** @internal */
2129
1893
  export type RunAgentFallbackModelConfigurationCache$Outbound = {
@@ -2166,20 +1930,15 @@ export declare function runAgentFallbackModelConfigurationTimeoutToJSON(runAgent
2166
1930
  /** @internal */
2167
1931
  export type RunAgentFallbackModelConfigurationParameters$Outbound = {
2168
1932
  name?: string | undefined;
2169
- audio?: RunAgentFallbackModelConfigurationAudio$Outbound | null | undefined;
2170
1933
  frequency_penalty?: number | null | undefined;
2171
1934
  max_tokens?: number | null | undefined;
2172
1935
  max_completion_tokens?: number | null | undefined;
2173
- logprobs?: boolean | null | undefined;
2174
- top_logprobs?: number | null | undefined;
2175
- n?: number | null | undefined;
2176
1936
  presence_penalty?: number | null | undefined;
2177
1937
  response_format?: RunAgentResponseFormatAgentsText$Outbound | RunAgentResponseFormatAgentsJSONObject$Outbound | RunAgentResponseFormatAgentsRequestJSONSchema$Outbound | undefined;
2178
1938
  reasoning_effort?: string | undefined;
2179
1939
  verbosity?: string | undefined;
2180
1940
  seed?: number | null | undefined;
2181
1941
  stop?: string | Array<string> | null | undefined;
2182
- stream_options?: RunAgentFallbackModelConfigurationStreamOptions$Outbound | null | undefined;
2183
1942
  thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
2184
1943
  temperature?: number | null | undefined;
2185
1944
  top_p?: number | null | undefined;
@@ -2189,7 +1948,6 @@ export type RunAgentFallbackModelConfigurationParameters$Outbound = {
2189
1948
  modalities?: Array<string> | null | undefined;
2190
1949
  guardrails?: Array<RunAgentFallbackModelConfigurationGuardrails$Outbound> | undefined;
2191
1950
  fallbacks?: Array<RunAgentFallbackModelConfigurationFallbacks$Outbound> | undefined;
2192
- retry?: RunAgentFallbackModelConfigurationRetry$Outbound | undefined;
2193
1951
  cache?: RunAgentFallbackModelConfigurationCache$Outbound | undefined;
2194
1952
  load_balancer?: RunAgentLoadBalancerAgents1$Outbound | undefined;
2195
1953
  timeout?: RunAgentFallbackModelConfigurationTimeout$Outbound | undefined;
@@ -2198,18 +1956,18 @@ export type RunAgentFallbackModelConfigurationParameters$Outbound = {
2198
1956
  export declare const RunAgentFallbackModelConfigurationParameters$outboundSchema: z.ZodType<RunAgentFallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, RunAgentFallbackModelConfigurationParameters>;
2199
1957
  export declare function runAgentFallbackModelConfigurationParametersToJSON(runAgentFallbackModelConfigurationParameters: RunAgentFallbackModelConfigurationParameters): string;
2200
1958
  /** @internal */
2201
- export type RunAgentFallbackModelConfigurationAgentsRetry$Outbound = {
1959
+ export type RunAgentFallbackModelConfigurationRetry$Outbound = {
2202
1960
  count: number;
2203
1961
  on_codes?: Array<number> | undefined;
2204
1962
  };
2205
1963
  /** @internal */
2206
- export declare const RunAgentFallbackModelConfigurationAgentsRetry$outboundSchema: z.ZodType<RunAgentFallbackModelConfigurationAgentsRetry$Outbound, z.ZodTypeDef, RunAgentFallbackModelConfigurationAgentsRetry>;
2207
- export declare function runAgentFallbackModelConfigurationAgentsRetryToJSON(runAgentFallbackModelConfigurationAgentsRetry: RunAgentFallbackModelConfigurationAgentsRetry): string;
1964
+ export declare const RunAgentFallbackModelConfigurationRetry$outboundSchema: z.ZodType<RunAgentFallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, RunAgentFallbackModelConfigurationRetry>;
1965
+ export declare function runAgentFallbackModelConfigurationRetryToJSON(runAgentFallbackModelConfigurationRetry: RunAgentFallbackModelConfigurationRetry): string;
2208
1966
  /** @internal */
2209
1967
  export type RunAgentFallbackModelConfiguration2$Outbound = {
2210
1968
  id: string;
2211
1969
  parameters?: RunAgentFallbackModelConfigurationParameters$Outbound | undefined;
2212
- retry?: RunAgentFallbackModelConfigurationAgentsRetry$Outbound | undefined;
1970
+ retry?: RunAgentFallbackModelConfigurationRetry$Outbound | undefined;
2213
1971
  };
2214
1972
  /** @internal */
2215
1973
  export declare const RunAgentFallbackModelConfiguration2$outboundSchema: z.ZodType<RunAgentFallbackModelConfiguration2$Outbound, z.ZodTypeDef, RunAgentFallbackModelConfiguration2>;