@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
@@ -10,55 +10,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import * as components from "../components/index.js";
11
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
 
13
- /**
14
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
15
- */
16
- export const ModelConfigurationVoice = {
17
- Alloy: "alloy",
18
- Echo: "echo",
19
- Fable: "fable",
20
- Onyx: "onyx",
21
- Nova: "nova",
22
- Shimmer: "shimmer",
23
- } as const;
24
- /**
25
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
26
- */
27
- export type ModelConfigurationVoice = ClosedEnum<
28
- typeof ModelConfigurationVoice
29
- >;
30
-
31
- /**
32
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
33
- */
34
- export const ModelConfigurationFormat = {
35
- Wav: "wav",
36
- Mp3: "mp3",
37
- Flac: "flac",
38
- Opus: "opus",
39
- Pcm16: "pcm16",
40
- } as const;
41
- /**
42
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
43
- */
44
- export type ModelConfigurationFormat = ClosedEnum<
45
- typeof ModelConfigurationFormat
46
- >;
47
-
48
- /**
49
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
50
- */
51
- export type UpdateAgentModelConfigurationAudio = {
52
- /**
53
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
54
- */
55
- voice: ModelConfigurationVoice;
56
- /**
57
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
58
- */
59
- format: ModelConfigurationFormat;
60
- };
61
-
62
13
  export type UpdateAgentResponseFormatAgentsJsonSchema = {
63
14
  /**
64
15
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -155,16 +106,6 @@ export type ModelConfigurationReasoningEffort = ClosedEnum<
155
106
  */
156
107
  export type ModelConfigurationStop = string | Array<string>;
157
108
 
158
- /**
159
- * Options for streaming response. Only set this when you set stream: true.
160
- */
161
- export type ModelConfigurationStreamOptions = {
162
- /**
163
- * 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.
164
- */
165
- includeUsage?: boolean | undefined;
166
- };
167
-
168
109
  export type ModelConfigurationThinking =
169
110
  | components.ThinkingConfigDisabledSchema
170
111
  | components.ThinkingConfigEnabledSchema;
@@ -263,20 +204,6 @@ export type ModelConfigurationFallbacks = {
263
204
  model: string;
264
205
  };
265
206
 
266
- /**
267
- * Retry configuration for the request
268
- */
269
- export type UpdateAgentModelConfigurationRetry = {
270
- /**
271
- * Number of retry attempts (1-5)
272
- */
273
- count?: number | undefined;
274
- /**
275
- * HTTP status codes that trigger retry logic
276
- */
277
- onCodes?: Array<number> | undefined;
278
- };
279
-
280
207
  export const UpdateAgentModelConfigurationType = {
281
208
  ExactMatch: "exact_match",
282
209
  } as const;
@@ -341,10 +268,6 @@ export type ModelConfigurationParameters = {
341
268
  * The name to display on the trace. If not specified, the default system name will be used.
342
269
  */
343
270
  name?: string | undefined;
344
- /**
345
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
346
- */
347
- audio?: UpdateAgentModelConfigurationAudio | null | undefined;
348
271
  /**
349
272
  * 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.
350
273
  */
@@ -361,18 +284,6 @@ export type ModelConfigurationParameters = {
361
284
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
362
285
  */
363
286
  maxCompletionTokens?: number | null | undefined;
364
- /**
365
- * 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.
366
- */
367
- logprobs?: boolean | null | undefined;
368
- /**
369
- * 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.
370
- */
371
- topLogprobs?: number | null | undefined;
372
- /**
373
- * 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.
374
- */
375
- n?: number | null | undefined;
376
287
  /**
377
288
  * 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.
378
289
  */
@@ -410,10 +321,6 @@ export type ModelConfigurationParameters = {
410
321
  * Up to 4 sequences where the API will stop generating further tokens.
411
322
  */
412
323
  stop?: string | Array<string> | null | undefined;
413
- /**
414
- * Options for streaming response. Only set this when you set stream: true.
415
- */
416
- streamOptions?: ModelConfigurationStreamOptions | null | undefined;
417
324
  thinking?:
418
325
  | components.ThinkingConfigDisabledSchema
419
326
  | components.ThinkingConfigEnabledSchema
@@ -450,10 +357,6 @@ export type ModelConfigurationParameters = {
450
357
  * Array of fallback models to use if primary model fails
451
358
  */
452
359
  fallbacks?: Array<ModelConfigurationFallbacks> | undefined;
453
- /**
454
- * Retry configuration for the request
455
- */
456
- retry?: UpdateAgentModelConfigurationRetry | undefined;
457
360
  /**
458
361
  * Cache configuration for the request.
459
362
  */
@@ -471,7 +374,7 @@ export type ModelConfigurationParameters = {
471
374
  /**
472
375
  * 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.
473
376
  */
474
- export type UpdateAgentModelConfigurationAgentsRetry = {
377
+ export type ModelConfigurationRetry = {
475
378
  /**
476
379
  * Number of retry attempts (1-5)
477
380
  */
@@ -499,7 +402,7 @@ export type UpdateAgentModelConfiguration2 = {
499
402
  /**
500
403
  * 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.
501
404
  */
502
- retry?: UpdateAgentModelConfigurationAgentsRetry | undefined;
405
+ retry?: ModelConfigurationRetry | undefined;
503
406
  };
504
407
 
505
408
  /**
@@ -509,55 +412,6 @@ export type UpdateAgentModelConfiguration =
509
412
  | UpdateAgentModelConfiguration2
510
413
  | string;
511
414
 
512
- /**
513
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
514
- */
515
- export const UpdateAgentFallbackModelConfigurationVoice = {
516
- Alloy: "alloy",
517
- Echo: "echo",
518
- Fable: "fable",
519
- Onyx: "onyx",
520
- Nova: "nova",
521
- Shimmer: "shimmer",
522
- } as const;
523
- /**
524
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
525
- */
526
- export type UpdateAgentFallbackModelConfigurationVoice = ClosedEnum<
527
- typeof UpdateAgentFallbackModelConfigurationVoice
528
- >;
529
-
530
- /**
531
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
532
- */
533
- export const UpdateAgentFallbackModelConfigurationFormat = {
534
- Wav: "wav",
535
- Mp3: "mp3",
536
- Flac: "flac",
537
- Opus: "opus",
538
- Pcm16: "pcm16",
539
- } as const;
540
- /**
541
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
542
- */
543
- export type UpdateAgentFallbackModelConfigurationFormat = ClosedEnum<
544
- typeof UpdateAgentFallbackModelConfigurationFormat
545
- >;
546
-
547
- /**
548
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
549
- */
550
- export type UpdateAgentFallbackModelConfigurationAudio = {
551
- /**
552
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
553
- */
554
- voice: UpdateAgentFallbackModelConfigurationVoice;
555
- /**
556
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
557
- */
558
- format: UpdateAgentFallbackModelConfigurationFormat;
559
- };
560
-
561
415
  export type UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema = {
562
416
  /**
563
417
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -654,16 +508,6 @@ export type UpdateAgentFallbackModelConfigurationReasoningEffort = ClosedEnum<
654
508
  */
655
509
  export type UpdateAgentFallbackModelConfigurationStop = string | Array<string>;
656
510
 
657
- /**
658
- * Options for streaming response. Only set this when you set stream: true.
659
- */
660
- export type UpdateAgentFallbackModelConfigurationStreamOptions = {
661
- /**
662
- * 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.
663
- */
664
- includeUsage?: boolean | undefined;
665
- };
666
-
667
511
  export type UpdateAgentFallbackModelConfigurationThinking =
668
512
  | components.ThinkingConfigDisabledSchema
669
513
  | components.ThinkingConfigEnabledSchema;
@@ -766,20 +610,6 @@ export type UpdateAgentFallbackModelConfigurationFallbacks = {
766
610
  model: string;
767
611
  };
768
612
 
769
- /**
770
- * Retry configuration for the request
771
- */
772
- export type UpdateAgentFallbackModelConfigurationRetry = {
773
- /**
774
- * Number of retry attempts (1-5)
775
- */
776
- count?: number | undefined;
777
- /**
778
- * HTTP status codes that trigger retry logic
779
- */
780
- onCodes?: Array<number> | undefined;
781
- };
782
-
783
613
  export const UpdateAgentFallbackModelConfigurationType = {
784
614
  ExactMatch: "exact_match",
785
615
  } as const;
@@ -845,10 +675,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
845
675
  * The name to display on the trace. If not specified, the default system name will be used.
846
676
  */
847
677
  name?: string | undefined;
848
- /**
849
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
850
- */
851
- audio?: UpdateAgentFallbackModelConfigurationAudio | null | undefined;
852
678
  /**
853
679
  * 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.
854
680
  */
@@ -865,18 +691,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
865
691
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
866
692
  */
867
693
  maxCompletionTokens?: number | null | undefined;
868
- /**
869
- * 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.
870
- */
871
- logprobs?: boolean | null | undefined;
872
- /**
873
- * 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.
874
- */
875
- topLogprobs?: number | null | undefined;
876
- /**
877
- * 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.
878
- */
879
- n?: number | null | undefined;
880
694
  /**
881
695
  * 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.
882
696
  */
@@ -916,13 +730,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
916
730
  * Up to 4 sequences where the API will stop generating further tokens.
917
731
  */
918
732
  stop?: string | Array<string> | null | undefined;
919
- /**
920
- * Options for streaming response. Only set this when you set stream: true.
921
- */
922
- streamOptions?:
923
- | UpdateAgentFallbackModelConfigurationStreamOptions
924
- | null
925
- | undefined;
926
733
  thinking?:
927
734
  | components.ThinkingConfigDisabledSchema
928
735
  | components.ThinkingConfigEnabledSchema
@@ -967,10 +774,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
967
774
  * Array of fallback models to use if primary model fails
968
775
  */
969
776
  fallbacks?: Array<UpdateAgentFallbackModelConfigurationFallbacks> | undefined;
970
- /**
971
- * Retry configuration for the request
972
- */
973
- retry?: UpdateAgentFallbackModelConfigurationRetry | undefined;
974
777
  /**
975
778
  * Cache configuration for the request.
976
779
  */
@@ -988,7 +791,7 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
988
791
  /**
989
792
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
990
793
  */
991
- export type UpdateAgentFallbackModelConfigurationAgentsRetry = {
794
+ export type UpdateAgentFallbackModelConfigurationRetry = {
992
795
  /**
993
796
  * Number of retry attempts (1-5)
994
797
  */
@@ -1014,7 +817,7 @@ export type UpdateAgentFallbackModelConfiguration2 = {
1014
817
  /**
1015
818
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
1016
819
  */
1017
- retry?: UpdateAgentFallbackModelConfigurationAgentsRetry | undefined;
820
+ retry?: UpdateAgentFallbackModelConfigurationRetry | undefined;
1018
821
  };
1019
822
 
1020
823
  /**
@@ -1830,51 +1633,6 @@ export type UpdateAgentAgentsSettings = {
1830
1633
  guardrails?: Array<UpdateAgentAgentsGuardrails> | undefined;
1831
1634
  };
1832
1635
 
1833
- /**
1834
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1835
- */
1836
- export const UpdateAgentVoice = {
1837
- Alloy: "alloy",
1838
- Echo: "echo",
1839
- Fable: "fable",
1840
- Onyx: "onyx",
1841
- Nova: "nova",
1842
- Shimmer: "shimmer",
1843
- } as const;
1844
- /**
1845
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1846
- */
1847
- export type UpdateAgentVoice = ClosedEnum<typeof UpdateAgentVoice>;
1848
-
1849
- /**
1850
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1851
- */
1852
- export const UpdateAgentFormat = {
1853
- Wav: "wav",
1854
- Mp3: "mp3",
1855
- Flac: "flac",
1856
- Opus: "opus",
1857
- Pcm16: "pcm16",
1858
- } as const;
1859
- /**
1860
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1861
- */
1862
- export type UpdateAgentFormat = ClosedEnum<typeof UpdateAgentFormat>;
1863
-
1864
- /**
1865
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
1866
- */
1867
- export type UpdateAgentAudio = {
1868
- /**
1869
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
1870
- */
1871
- voice: UpdateAgentVoice;
1872
- /**
1873
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
1874
- */
1875
- format: UpdateAgentFormat;
1876
- };
1877
-
1878
1636
  export type UpdateAgentResponseFormatAgentsResponseJsonSchema = {
1879
1637
  /**
1880
1638
  * A description of what the response format is for, used by the model to determine how to respond in the format.
@@ -1971,16 +1729,6 @@ export type UpdateAgentReasoningEffort = ClosedEnum<
1971
1729
  */
1972
1730
  export type UpdateAgentStop = string | Array<string>;
1973
1731
 
1974
- /**
1975
- * Options for streaming response. Only set this when you set stream: true.
1976
- */
1977
- export type UpdateAgentStreamOptions = {
1978
- /**
1979
- * 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.
1980
- */
1981
- includeUsage?: boolean | undefined;
1982
- };
1983
-
1984
1732
  export type UpdateAgentThinking =
1985
1733
  | components.ThinkingConfigDisabledSchema
1986
1734
  | components.ThinkingConfigEnabledSchema;
@@ -2081,20 +1829,6 @@ export type UpdateAgentFallbacks = {
2081
1829
  model: string;
2082
1830
  };
2083
1831
 
2084
- /**
2085
- * Retry configuration for the request
2086
- */
2087
- export type UpdateAgentAgentsRetry = {
2088
- /**
2089
- * Number of retry attempts (1-5)
2090
- */
2091
- count: number;
2092
- /**
2093
- * HTTP status codes that trigger retry logic
2094
- */
2095
- onCodes?: Array<number> | undefined;
2096
- };
2097
-
2098
1832
  export const UpdateAgentType = {
2099
1833
  ExactMatch: "exact_match",
2100
1834
  } as const;
@@ -2157,10 +1891,6 @@ export type UpdateAgentParameters = {
2157
1891
  * The name to display on the trace. If not specified, the default system name will be used.
2158
1892
  */
2159
1893
  name?: string | undefined;
2160
- /**
2161
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
2162
- */
2163
- audio?: UpdateAgentAudio | null | undefined;
2164
1894
  /**
2165
1895
  * 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.
2166
1896
  */
@@ -2177,18 +1907,6 @@ export type UpdateAgentParameters = {
2177
1907
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
2178
1908
  */
2179
1909
  maxCompletionTokens?: number | null | undefined;
2180
- /**
2181
- * 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.
2182
- */
2183
- logprobs?: boolean | null | undefined;
2184
- /**
2185
- * 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.
2186
- */
2187
- topLogprobs?: number | null | undefined;
2188
- /**
2189
- * 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.
2190
- */
2191
- n?: number | null | undefined;
2192
1910
  /**
2193
1911
  * 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.
2194
1912
  */
@@ -2226,10 +1944,6 @@ export type UpdateAgentParameters = {
2226
1944
  * Up to 4 sequences where the API will stop generating further tokens.
2227
1945
  */
2228
1946
  stop?: string | Array<string> | null | undefined;
2229
- /**
2230
- * Options for streaming response. Only set this when you set stream: true.
2231
- */
2232
- streamOptions?: UpdateAgentStreamOptions | null | undefined;
2233
1947
  thinking?:
2234
1948
  | components.ThinkingConfigDisabledSchema
2235
1949
  | components.ThinkingConfigEnabledSchema
@@ -2269,10 +1983,6 @@ export type UpdateAgentParameters = {
2269
1983
  * Array of fallback models to use if primary model fails
2270
1984
  */
2271
1985
  fallbacks?: Array<UpdateAgentFallbacks> | undefined;
2272
- /**
2273
- * Retry configuration for the request
2274
- */
2275
- retry?: UpdateAgentAgentsRetry | undefined;
2276
1986
  /**
2277
1987
  * Cache configuration for the request.
2278
1988
  */
@@ -2301,55 +2011,6 @@ export type UpdateAgentRetry = {
2301
2011
  onCodes?: Array<number> | undefined;
2302
2012
  };
2303
2013
 
2304
- /**
2305
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
2306
- */
2307
- export const UpdateAgentFallbackModelConfigurationAgentsVoice = {
2308
- Alloy: "alloy",
2309
- Echo: "echo",
2310
- Fable: "fable",
2311
- Onyx: "onyx",
2312
- Nova: "nova",
2313
- Shimmer: "shimmer",
2314
- } as const;
2315
- /**
2316
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
2317
- */
2318
- export type UpdateAgentFallbackModelConfigurationAgentsVoice = ClosedEnum<
2319
- typeof UpdateAgentFallbackModelConfigurationAgentsVoice
2320
- >;
2321
-
2322
- /**
2323
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
2324
- */
2325
- export const UpdateAgentFallbackModelConfigurationAgentsFormat = {
2326
- Wav: "wav",
2327
- Mp3: "mp3",
2328
- Flac: "flac",
2329
- Opus: "opus",
2330
- Pcm16: "pcm16",
2331
- } as const;
2332
- /**
2333
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
2334
- */
2335
- export type UpdateAgentFallbackModelConfigurationAgentsFormat = ClosedEnum<
2336
- typeof UpdateAgentFallbackModelConfigurationAgentsFormat
2337
- >;
2338
-
2339
- /**
2340
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
2341
- */
2342
- export type UpdateAgentFallbackModelConfigurationAgentsAudio = {
2343
- /**
2344
- * The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
2345
- */
2346
- voice: UpdateAgentFallbackModelConfigurationAgentsVoice;
2347
- /**
2348
- * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
2349
- */
2350
- format: UpdateAgentFallbackModelConfigurationAgentsFormat;
2351
- };
2352
-
2353
2014
  export type UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema =
2354
2015
  {
2355
2016
  /**
@@ -2450,16 +2111,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsStop =
2450
2111
  | string
2451
2112
  | Array<string>;
2452
2113
 
2453
- /**
2454
- * Options for streaming response. Only set this when you set stream: true.
2455
- */
2456
- export type UpdateAgentFallbackModelConfigurationAgentsStreamOptions = {
2457
- /**
2458
- * 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.
2459
- */
2460
- includeUsage?: boolean | undefined;
2461
- };
2462
-
2463
2114
  export type UpdateAgentFallbackModelConfigurationAgentsThinking =
2464
2115
  | components.ThinkingConfigDisabledSchema
2465
2116
  | components.ThinkingConfigEnabledSchema;
@@ -2564,20 +2215,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsFallbacks = {
2564
2215
  model: string;
2565
2216
  };
2566
2217
 
2567
- /**
2568
- * Retry configuration for the request
2569
- */
2570
- export type UpdateAgentFallbackModelConfigurationAgentsResponse200Retry = {
2571
- /**
2572
- * Number of retry attempts (1-5)
2573
- */
2574
- count: number;
2575
- /**
2576
- * HTTP status codes that trigger retry logic
2577
- */
2578
- onCodes?: Array<number> | undefined;
2579
- };
2580
-
2581
2218
  export const UpdateAgentFallbackModelConfigurationAgentsType = {
2582
2219
  ExactMatch: "exact_match",
2583
2220
  } as const;
@@ -2643,10 +2280,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2643
2280
  * The name to display on the trace. If not specified, the default system name will be used.
2644
2281
  */
2645
2282
  name?: string | undefined;
2646
- /**
2647
- * Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
2648
- */
2649
- audio?: UpdateAgentFallbackModelConfigurationAgentsAudio | null | undefined;
2650
2283
  /**
2651
2284
  * 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.
2652
2285
  */
@@ -2663,18 +2296,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2663
2296
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
2664
2297
  */
2665
2298
  maxCompletionTokens?: number | null | undefined;
2666
- /**
2667
- * 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.
2668
- */
2669
- logprobs?: boolean | null | undefined;
2670
- /**
2671
- * 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.
2672
- */
2673
- topLogprobs?: number | null | undefined;
2674
- /**
2675
- * 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.
2676
- */
2677
- n?: number | null | undefined;
2678
2299
  /**
2679
2300
  * 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.
2680
2301
  */
@@ -2714,13 +2335,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2714
2335
  * Up to 4 sequences where the API will stop generating further tokens.
2715
2336
  */
2716
2337
  stop?: string | Array<string> | null | undefined;
2717
- /**
2718
- * Options for streaming response. Only set this when you set stream: true.
2719
- */
2720
- streamOptions?:
2721
- | UpdateAgentFallbackModelConfigurationAgentsStreamOptions
2722
- | null
2723
- | undefined;
2724
2338
  thinking?:
2725
2339
  | components.ThinkingConfigDisabledSchema
2726
2340
  | components.ThinkingConfigEnabledSchema
@@ -2767,12 +2381,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2767
2381
  fallbacks?:
2768
2382
  | Array<UpdateAgentFallbackModelConfigurationAgentsFallbacks>
2769
2383
  | undefined;
2770
- /**
2771
- * Retry configuration for the request
2772
- */
2773
- retry?:
2774
- | UpdateAgentFallbackModelConfigurationAgentsResponse200Retry
2775
- | undefined;
2776
2384
  /**
2777
2385
  * Cache configuration for the request.
2778
2386
  */
@@ -2790,7 +2398,7 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2790
2398
  /**
2791
2399
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
2792
2400
  */
2793
- export type UpdateAgentFallbackModelConfigurationAgentsResponseRetry = {
2401
+ export type UpdateAgentFallbackModelConfigurationAgentsRetry = {
2794
2402
  /**
2795
2403
  * Number of retry attempts (1-5)
2796
2404
  */
@@ -2818,7 +2426,7 @@ export type UpdateAgentFallbackModelConfigurationAgents2 = {
2818
2426
  /**
2819
2427
  * Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
2820
2428
  */
2821
- retry?: UpdateAgentFallbackModelConfigurationAgentsResponseRetry | undefined;
2429
+ retry?: UpdateAgentFallbackModelConfigurationAgentsRetry | undefined;
2822
2430
  };
2823
2431
 
2824
2432
  /**
@@ -2940,42 +2548,6 @@ export type UpdateAgentResponseBody = {
2940
2548
  source?: UpdateAgentSource | undefined;
2941
2549
  };
2942
2550
 
2943
- /** @internal */
2944
- export const ModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<
2945
- typeof ModelConfigurationVoice
2946
- > = z.nativeEnum(ModelConfigurationVoice);
2947
-
2948
- /** @internal */
2949
- export const ModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<
2950
- typeof ModelConfigurationFormat
2951
- > = z.nativeEnum(ModelConfigurationFormat);
2952
-
2953
- /** @internal */
2954
- export type UpdateAgentModelConfigurationAudio$Outbound = {
2955
- voice: string;
2956
- format: string;
2957
- };
2958
-
2959
- /** @internal */
2960
- export const UpdateAgentModelConfigurationAudio$outboundSchema: z.ZodType<
2961
- UpdateAgentModelConfigurationAudio$Outbound,
2962
- z.ZodTypeDef,
2963
- UpdateAgentModelConfigurationAudio
2964
- > = z.object({
2965
- voice: ModelConfigurationVoice$outboundSchema,
2966
- format: ModelConfigurationFormat$outboundSchema,
2967
- });
2968
-
2969
- export function updateAgentModelConfigurationAudioToJSON(
2970
- updateAgentModelConfigurationAudio: UpdateAgentModelConfigurationAudio,
2971
- ): string {
2972
- return JSON.stringify(
2973
- UpdateAgentModelConfigurationAudio$outboundSchema.parse(
2974
- updateAgentModelConfigurationAudio,
2975
- ),
2976
- );
2977
- }
2978
-
2979
2551
  /** @internal */
2980
2552
  export type UpdateAgentResponseFormatAgentsJsonSchema$Outbound = {
2981
2553
  description?: string | undefined;
@@ -3138,34 +2710,6 @@ export function modelConfigurationStopToJSON(
3138
2710
  );
3139
2711
  }
3140
2712
 
3141
- /** @internal */
3142
- export type ModelConfigurationStreamOptions$Outbound = {
3143
- include_usage?: boolean | undefined;
3144
- };
3145
-
3146
- /** @internal */
3147
- export const ModelConfigurationStreamOptions$outboundSchema: z.ZodType<
3148
- ModelConfigurationStreamOptions$Outbound,
3149
- z.ZodTypeDef,
3150
- ModelConfigurationStreamOptions
3151
- > = z.object({
3152
- includeUsage: z.boolean().optional(),
3153
- }).transform((v) => {
3154
- return remap$(v, {
3155
- includeUsage: "include_usage",
3156
- });
3157
- });
3158
-
3159
- export function modelConfigurationStreamOptionsToJSON(
3160
- modelConfigurationStreamOptions: ModelConfigurationStreamOptions,
3161
- ): string {
3162
- return JSON.stringify(
3163
- ModelConfigurationStreamOptions$outboundSchema.parse(
3164
- modelConfigurationStreamOptions,
3165
- ),
3166
- );
3167
- }
3168
-
3169
2713
  /** @internal */
3170
2714
  export type ModelConfigurationThinking$Outbound =
3171
2715
  | components.ThinkingConfigDisabledSchema$Outbound
@@ -3359,36 +2903,6 @@ export function modelConfigurationFallbacksToJSON(
3359
2903
  );
3360
2904
  }
3361
2905
 
3362
- /** @internal */
3363
- export type UpdateAgentModelConfigurationRetry$Outbound = {
3364
- count: number;
3365
- on_codes?: Array<number> | undefined;
3366
- };
3367
-
3368
- /** @internal */
3369
- export const UpdateAgentModelConfigurationRetry$outboundSchema: z.ZodType<
3370
- UpdateAgentModelConfigurationRetry$Outbound,
3371
- z.ZodTypeDef,
3372
- UpdateAgentModelConfigurationRetry
3373
- > = z.object({
3374
- count: z.number().default(3),
3375
- onCodes: z.array(z.number()).optional(),
3376
- }).transform((v) => {
3377
- return remap$(v, {
3378
- onCodes: "on_codes",
3379
- });
3380
- });
3381
-
3382
- export function updateAgentModelConfigurationRetryToJSON(
3383
- updateAgentModelConfigurationRetry: UpdateAgentModelConfigurationRetry,
3384
- ): string {
3385
- return JSON.stringify(
3386
- UpdateAgentModelConfigurationRetry$outboundSchema.parse(
3387
- updateAgentModelConfigurationRetry,
3388
- ),
3389
- );
3390
- }
3391
-
3392
2906
  /** @internal */
3393
2907
  export const UpdateAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<
3394
2908
  typeof UpdateAgentModelConfigurationType
@@ -3523,13 +3037,9 @@ export function modelConfigurationTimeoutToJSON(
3523
3037
  /** @internal */
3524
3038
  export type ModelConfigurationParameters$Outbound = {
3525
3039
  name?: string | undefined;
3526
- audio?: UpdateAgentModelConfigurationAudio$Outbound | null | undefined;
3527
3040
  frequency_penalty?: number | null | undefined;
3528
3041
  max_tokens?: number | null | undefined;
3529
3042
  max_completion_tokens?: number | null | undefined;
3530
- logprobs?: boolean | null | undefined;
3531
- top_logprobs?: number | null | undefined;
3532
- n?: number | null | undefined;
3533
3043
  presence_penalty?: number | null | undefined;
3534
3044
  response_format?:
3535
3045
  | UpdateAgentResponseFormatText$Outbound
@@ -3540,7 +3050,6 @@ export type ModelConfigurationParameters$Outbound = {
3540
3050
  verbosity?: string | undefined;
3541
3051
  seed?: number | null | undefined;
3542
3052
  stop?: string | Array<string> | null | undefined;
3543
- stream_options?: ModelConfigurationStreamOptions$Outbound | null | undefined;
3544
3053
  thinking?:
3545
3054
  | components.ThinkingConfigDisabledSchema$Outbound
3546
3055
  | components.ThinkingConfigEnabledSchema$Outbound
@@ -3553,7 +3062,6 @@ export type ModelConfigurationParameters$Outbound = {
3553
3062
  modalities?: Array<string> | null | undefined;
3554
3063
  guardrails?: Array<ModelConfigurationGuardrails$Outbound> | undefined;
3555
3064
  fallbacks?: Array<ModelConfigurationFallbacks$Outbound> | undefined;
3556
- retry?: UpdateAgentModelConfigurationRetry$Outbound | undefined;
3557
3065
  cache?: ModelConfigurationCache$Outbound | undefined;
3558
3066
  load_balancer?: UpdateAgentLoadBalancer1$Outbound | undefined;
3559
3067
  timeout?: ModelConfigurationTimeout$Outbound | undefined;
@@ -3566,15 +3074,9 @@ export const ModelConfigurationParameters$outboundSchema: z.ZodType<
3566
3074
  ModelConfigurationParameters
3567
3075
  > = z.object({
3568
3076
  name: z.string().optional(),
3569
- audio: z.nullable(
3570
- z.lazy(() => UpdateAgentModelConfigurationAudio$outboundSchema),
3571
- ).optional(),
3572
3077
  frequencyPenalty: z.nullable(z.number()).optional(),
3573
3078
  maxTokens: z.nullable(z.number().int()).optional(),
3574
3079
  maxCompletionTokens: z.nullable(z.number().int()).optional(),
3575
- logprobs: z.nullable(z.boolean()).optional(),
3576
- topLogprobs: z.nullable(z.number().int()).optional(),
3577
- n: z.nullable(z.number().int()).optional(),
3578
3080
  presencePenalty: z.nullable(z.number()).optional(),
3579
3081
  responseFormat: z.union([
3580
3082
  z.lazy(() => UpdateAgentResponseFormatText$outboundSchema),
@@ -3585,9 +3087,6 @@ export const ModelConfigurationParameters$outboundSchema: z.ZodType<
3585
3087
  verbosity: z.string().optional(),
3586
3088
  seed: z.nullable(z.number()).optional(),
3587
3089
  stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
3588
- streamOptions: z.nullable(
3589
- z.lazy(() => ModelConfigurationStreamOptions$outboundSchema),
3590
- ).optional(),
3591
3090
  thinking: z.union([
3592
3091
  components.ThinkingConfigDisabledSchema$outboundSchema,
3593
3092
  components.ThinkingConfigEnabledSchema$outboundSchema,
@@ -3606,8 +3105,6 @@ export const ModelConfigurationParameters$outboundSchema: z.ZodType<
3606
3105
  .optional(),
3607
3106
  fallbacks: z.array(z.lazy(() => ModelConfigurationFallbacks$outboundSchema))
3608
3107
  .optional(),
3609
- retry: z.lazy(() => UpdateAgentModelConfigurationRetry$outboundSchema)
3610
- .optional(),
3611
3108
  cache: z.lazy(() => ModelConfigurationCache$outboundSchema).optional(),
3612
3109
  loadBalancer: z.lazy(() => UpdateAgentLoadBalancer1$outboundSchema)
3613
3110
  .optional(),
@@ -3617,11 +3114,9 @@ export const ModelConfigurationParameters$outboundSchema: z.ZodType<
3617
3114
  frequencyPenalty: "frequency_penalty",
3618
3115
  maxTokens: "max_tokens",
3619
3116
  maxCompletionTokens: "max_completion_tokens",
3620
- topLogprobs: "top_logprobs",
3621
3117
  presencePenalty: "presence_penalty",
3622
3118
  responseFormat: "response_format",
3623
3119
  reasoningEffort: "reasoning_effort",
3624
- streamOptions: "stream_options",
3625
3120
  topP: "top_p",
3626
3121
  topK: "top_k",
3627
3122
  toolChoice: "tool_choice",
@@ -3641,16 +3136,16 @@ export function modelConfigurationParametersToJSON(
3641
3136
  }
3642
3137
 
3643
3138
  /** @internal */
3644
- export type UpdateAgentModelConfigurationAgentsRetry$Outbound = {
3139
+ export type ModelConfigurationRetry$Outbound = {
3645
3140
  count: number;
3646
3141
  on_codes?: Array<number> | undefined;
3647
3142
  };
3648
3143
 
3649
3144
  /** @internal */
3650
- export const UpdateAgentModelConfigurationAgentsRetry$outboundSchema: z.ZodType<
3651
- UpdateAgentModelConfigurationAgentsRetry$Outbound,
3145
+ export const ModelConfigurationRetry$outboundSchema: z.ZodType<
3146
+ ModelConfigurationRetry$Outbound,
3652
3147
  z.ZodTypeDef,
3653
- UpdateAgentModelConfigurationAgentsRetry
3148
+ ModelConfigurationRetry
3654
3149
  > = z.object({
3655
3150
  count: z.number().default(3),
3656
3151
  onCodes: z.array(z.number()).optional(),
@@ -3660,14 +3155,11 @@ export const UpdateAgentModelConfigurationAgentsRetry$outboundSchema: z.ZodType<
3660
3155
  });
3661
3156
  });
3662
3157
 
3663
- export function updateAgentModelConfigurationAgentsRetryToJSON(
3664
- updateAgentModelConfigurationAgentsRetry:
3665
- UpdateAgentModelConfigurationAgentsRetry,
3158
+ export function modelConfigurationRetryToJSON(
3159
+ modelConfigurationRetry: ModelConfigurationRetry,
3666
3160
  ): string {
3667
3161
  return JSON.stringify(
3668
- UpdateAgentModelConfigurationAgentsRetry$outboundSchema.parse(
3669
- updateAgentModelConfigurationAgentsRetry,
3670
- ),
3162
+ ModelConfigurationRetry$outboundSchema.parse(modelConfigurationRetry),
3671
3163
  );
3672
3164
  }
3673
3165
 
@@ -3675,7 +3167,7 @@ export function updateAgentModelConfigurationAgentsRetryToJSON(
3675
3167
  export type UpdateAgentModelConfiguration2$Outbound = {
3676
3168
  id: string;
3677
3169
  parameters?: ModelConfigurationParameters$Outbound | undefined;
3678
- retry?: UpdateAgentModelConfigurationAgentsRetry$Outbound | undefined;
3170
+ retry?: ModelConfigurationRetry$Outbound | undefined;
3679
3171
  };
3680
3172
 
3681
3173
  /** @internal */
@@ -3687,8 +3179,7 @@ export const UpdateAgentModelConfiguration2$outboundSchema: z.ZodType<
3687
3179
  id: z.string(),
3688
3180
  parameters: z.lazy(() => ModelConfigurationParameters$outboundSchema)
3689
3181
  .optional(),
3690
- retry: z.lazy(() => UpdateAgentModelConfigurationAgentsRetry$outboundSchema)
3691
- .optional(),
3182
+ retry: z.lazy(() => ModelConfigurationRetry$outboundSchema).optional(),
3692
3183
  });
3693
3184
 
3694
3185
  export function updateAgentModelConfiguration2ToJSON(
@@ -3726,44 +3217,6 @@ export function updateAgentModelConfigurationToJSON(
3726
3217
  );
3727
3218
  }
3728
3219
 
3729
- /** @internal */
3730
- export const UpdateAgentFallbackModelConfigurationVoice$outboundSchema:
3731
- z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationVoice> = z
3732
- .nativeEnum(UpdateAgentFallbackModelConfigurationVoice);
3733
-
3734
- /** @internal */
3735
- export const UpdateAgentFallbackModelConfigurationFormat$outboundSchema:
3736
- z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationFormat> = z
3737
- .nativeEnum(UpdateAgentFallbackModelConfigurationFormat);
3738
-
3739
- /** @internal */
3740
- export type UpdateAgentFallbackModelConfigurationAudio$Outbound = {
3741
- voice: string;
3742
- format: string;
3743
- };
3744
-
3745
- /** @internal */
3746
- export const UpdateAgentFallbackModelConfigurationAudio$outboundSchema:
3747
- z.ZodType<
3748
- UpdateAgentFallbackModelConfigurationAudio$Outbound,
3749
- z.ZodTypeDef,
3750
- UpdateAgentFallbackModelConfigurationAudio
3751
- > = z.object({
3752
- voice: UpdateAgentFallbackModelConfigurationVoice$outboundSchema,
3753
- format: UpdateAgentFallbackModelConfigurationFormat$outboundSchema,
3754
- });
3755
-
3756
- export function updateAgentFallbackModelConfigurationAudioToJSON(
3757
- updateAgentFallbackModelConfigurationAudio:
3758
- UpdateAgentFallbackModelConfigurationAudio,
3759
- ): string {
3760
- return JSON.stringify(
3761
- UpdateAgentFallbackModelConfigurationAudio$outboundSchema.parse(
3762
- updateAgentFallbackModelConfigurationAudio,
3763
- ),
3764
- );
3765
- }
3766
-
3767
3220
  /** @internal */
3768
3221
  export type UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound =
3769
3222
  {
@@ -3941,36 +3394,6 @@ export function updateAgentFallbackModelConfigurationStopToJSON(
3941
3394
  );
3942
3395
  }
3943
3396
 
3944
- /** @internal */
3945
- export type UpdateAgentFallbackModelConfigurationStreamOptions$Outbound = {
3946
- include_usage?: boolean | undefined;
3947
- };
3948
-
3949
- /** @internal */
3950
- export const UpdateAgentFallbackModelConfigurationStreamOptions$outboundSchema:
3951
- z.ZodType<
3952
- UpdateAgentFallbackModelConfigurationStreamOptions$Outbound,
3953
- z.ZodTypeDef,
3954
- UpdateAgentFallbackModelConfigurationStreamOptions
3955
- > = z.object({
3956
- includeUsage: z.boolean().optional(),
3957
- }).transform((v) => {
3958
- return remap$(v, {
3959
- includeUsage: "include_usage",
3960
- });
3961
- });
3962
-
3963
- export function updateAgentFallbackModelConfigurationStreamOptionsToJSON(
3964
- updateAgentFallbackModelConfigurationStreamOptions:
3965
- UpdateAgentFallbackModelConfigurationStreamOptions,
3966
- ): string {
3967
- return JSON.stringify(
3968
- UpdateAgentFallbackModelConfigurationStreamOptions$outboundSchema.parse(
3969
- updateAgentFallbackModelConfigurationStreamOptions,
3970
- ),
3971
- );
3972
- }
3973
-
3974
3397
  /** @internal */
3975
3398
  export type UpdateAgentFallbackModelConfigurationThinking$Outbound =
3976
3399
  | components.ThinkingConfigDisabledSchema$Outbound
@@ -4179,38 +3602,6 @@ export function updateAgentFallbackModelConfigurationFallbacksToJSON(
4179
3602
  );
4180
3603
  }
4181
3604
 
4182
- /** @internal */
4183
- export type UpdateAgentFallbackModelConfigurationRetry$Outbound = {
4184
- count: number;
4185
- on_codes?: Array<number> | undefined;
4186
- };
4187
-
4188
- /** @internal */
4189
- export const UpdateAgentFallbackModelConfigurationRetry$outboundSchema:
4190
- z.ZodType<
4191
- UpdateAgentFallbackModelConfigurationRetry$Outbound,
4192
- z.ZodTypeDef,
4193
- UpdateAgentFallbackModelConfigurationRetry
4194
- > = z.object({
4195
- count: z.number().default(3),
4196
- onCodes: z.array(z.number()).optional(),
4197
- }).transform((v) => {
4198
- return remap$(v, {
4199
- onCodes: "on_codes",
4200
- });
4201
- });
4202
-
4203
- export function updateAgentFallbackModelConfigurationRetryToJSON(
4204
- updateAgentFallbackModelConfigurationRetry:
4205
- UpdateAgentFallbackModelConfigurationRetry,
4206
- ): string {
4207
- return JSON.stringify(
4208
- UpdateAgentFallbackModelConfigurationRetry$outboundSchema.parse(
4209
- updateAgentFallbackModelConfigurationRetry,
4210
- ),
4211
- );
4212
- }
4213
-
4214
3605
  /** @internal */
4215
3606
  export const UpdateAgentFallbackModelConfigurationType$outboundSchema:
4216
3607
  z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationType> = z
@@ -4359,16 +3750,9 @@ export function updateAgentFallbackModelConfigurationTimeoutToJSON(
4359
3750
  /** @internal */
4360
3751
  export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
4361
3752
  name?: string | undefined;
4362
- audio?:
4363
- | UpdateAgentFallbackModelConfigurationAudio$Outbound
4364
- | null
4365
- | undefined;
4366
3753
  frequency_penalty?: number | null | undefined;
4367
3754
  max_tokens?: number | null | undefined;
4368
3755
  max_completion_tokens?: number | null | undefined;
4369
- logprobs?: boolean | null | undefined;
4370
- top_logprobs?: number | null | undefined;
4371
- n?: number | null | undefined;
4372
3756
  presence_penalty?: number | null | undefined;
4373
3757
  response_format?:
4374
3758
  | UpdateAgentResponseFormatAgentsText$Outbound
@@ -4379,10 +3763,6 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
4379
3763
  verbosity?: string | undefined;
4380
3764
  seed?: number | null | undefined;
4381
3765
  stop?: string | Array<string> | null | undefined;
4382
- stream_options?:
4383
- | UpdateAgentFallbackModelConfigurationStreamOptions$Outbound
4384
- | null
4385
- | undefined;
4386
3766
  thinking?:
4387
3767
  | components.ThinkingConfigDisabledSchema$Outbound
4388
3768
  | components.ThinkingConfigEnabledSchema$Outbound
@@ -4399,7 +3779,6 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
4399
3779
  fallbacks?:
4400
3780
  | Array<UpdateAgentFallbackModelConfigurationFallbacks$Outbound>
4401
3781
  | undefined;
4402
- retry?: UpdateAgentFallbackModelConfigurationRetry$Outbound | undefined;
4403
3782
  cache?: UpdateAgentFallbackModelConfigurationCache$Outbound | undefined;
4404
3783
  load_balancer?: UpdateAgentLoadBalancerAgents1$Outbound | undefined;
4405
3784
  timeout?: UpdateAgentFallbackModelConfigurationTimeout$Outbound | undefined;
@@ -4413,15 +3792,9 @@ export const UpdateAgentFallbackModelConfigurationParameters$outboundSchema:
4413
3792
  UpdateAgentFallbackModelConfigurationParameters
4414
3793
  > = z.object({
4415
3794
  name: z.string().optional(),
4416
- audio: z.nullable(
4417
- z.lazy(() => UpdateAgentFallbackModelConfigurationAudio$outboundSchema),
4418
- ).optional(),
4419
3795
  frequencyPenalty: z.nullable(z.number()).optional(),
4420
3796
  maxTokens: z.nullable(z.number().int()).optional(),
4421
3797
  maxCompletionTokens: z.nullable(z.number().int()).optional(),
4422
- logprobs: z.nullable(z.boolean()).optional(),
4423
- topLogprobs: z.nullable(z.number().int()).optional(),
4424
- n: z.nullable(z.number().int()).optional(),
4425
3798
  presencePenalty: z.nullable(z.number()).optional(),
4426
3799
  responseFormat: z.union([
4427
3800
  z.lazy(() => UpdateAgentResponseFormatAgentsText$outboundSchema),
@@ -4436,11 +3809,6 @@ export const UpdateAgentFallbackModelConfigurationParameters$outboundSchema:
4436
3809
  verbosity: z.string().optional(),
4437
3810
  seed: z.nullable(z.number()).optional(),
4438
3811
  stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
4439
- streamOptions: z.nullable(
4440
- z.lazy(() =>
4441
- UpdateAgentFallbackModelConfigurationStreamOptions$outboundSchema
4442
- ),
4443
- ).optional(),
4444
3812
  thinking: z.union([
4445
3813
  components.ThinkingConfigDisabledSchema$outboundSchema,
4446
3814
  components.ThinkingConfigEnabledSchema$outboundSchema,
@@ -4466,9 +3834,6 @@ export const UpdateAgentFallbackModelConfigurationParameters$outboundSchema:
4466
3834
  UpdateAgentFallbackModelConfigurationFallbacks$outboundSchema
4467
3835
  ),
4468
3836
  ).optional(),
4469
- retry: z.lazy(() =>
4470
- UpdateAgentFallbackModelConfigurationRetry$outboundSchema
4471
- ).optional(),
4472
3837
  cache: z.lazy(() =>
4473
3838
  UpdateAgentFallbackModelConfigurationCache$outboundSchema
4474
3839
  ).optional(),
@@ -4482,11 +3847,9 @@ export const UpdateAgentFallbackModelConfigurationParameters$outboundSchema:
4482
3847
  frequencyPenalty: "frequency_penalty",
4483
3848
  maxTokens: "max_tokens",
4484
3849
  maxCompletionTokens: "max_completion_tokens",
4485
- topLogprobs: "top_logprobs",
4486
3850
  presencePenalty: "presence_penalty",
4487
3851
  responseFormat: "response_format",
4488
3852
  reasoningEffort: "reasoning_effort",
4489
- streamOptions: "stream_options",
4490
3853
  topP: "top_p",
4491
3854
  topK: "top_k",
4492
3855
  toolChoice: "tool_choice",
@@ -4507,17 +3870,17 @@ export function updateAgentFallbackModelConfigurationParametersToJSON(
4507
3870
  }
4508
3871
 
4509
3872
  /** @internal */
4510
- export type UpdateAgentFallbackModelConfigurationAgentsRetry$Outbound = {
3873
+ export type UpdateAgentFallbackModelConfigurationRetry$Outbound = {
4511
3874
  count: number;
4512
3875
  on_codes?: Array<number> | undefined;
4513
3876
  };
4514
3877
 
4515
3878
  /** @internal */
4516
- export const UpdateAgentFallbackModelConfigurationAgentsRetry$outboundSchema:
3879
+ export const UpdateAgentFallbackModelConfigurationRetry$outboundSchema:
4517
3880
  z.ZodType<
4518
- UpdateAgentFallbackModelConfigurationAgentsRetry$Outbound,
3881
+ UpdateAgentFallbackModelConfigurationRetry$Outbound,
4519
3882
  z.ZodTypeDef,
4520
- UpdateAgentFallbackModelConfigurationAgentsRetry
3883
+ UpdateAgentFallbackModelConfigurationRetry
4521
3884
  > = z.object({
4522
3885
  count: z.number().default(3),
4523
3886
  onCodes: z.array(z.number()).optional(),
@@ -4527,13 +3890,13 @@ export const UpdateAgentFallbackModelConfigurationAgentsRetry$outboundSchema:
4527
3890
  });
4528
3891
  });
4529
3892
 
4530
- export function updateAgentFallbackModelConfigurationAgentsRetryToJSON(
4531
- updateAgentFallbackModelConfigurationAgentsRetry:
4532
- UpdateAgentFallbackModelConfigurationAgentsRetry,
3893
+ export function updateAgentFallbackModelConfigurationRetryToJSON(
3894
+ updateAgentFallbackModelConfigurationRetry:
3895
+ UpdateAgentFallbackModelConfigurationRetry,
4533
3896
  ): string {
4534
3897
  return JSON.stringify(
4535
- UpdateAgentFallbackModelConfigurationAgentsRetry$outboundSchema.parse(
4536
- updateAgentFallbackModelConfigurationAgentsRetry,
3898
+ UpdateAgentFallbackModelConfigurationRetry$outboundSchema.parse(
3899
+ updateAgentFallbackModelConfigurationRetry,
4537
3900
  ),
4538
3901
  );
4539
3902
  }
@@ -4544,7 +3907,7 @@ export type UpdateAgentFallbackModelConfiguration2$Outbound = {
4544
3907
  parameters?:
4545
3908
  | UpdateAgentFallbackModelConfigurationParameters$Outbound
4546
3909
  | undefined;
4547
- retry?: UpdateAgentFallbackModelConfigurationAgentsRetry$Outbound | undefined;
3910
+ retry?: UpdateAgentFallbackModelConfigurationRetry$Outbound | undefined;
4548
3911
  };
4549
3912
 
4550
3913
  /** @internal */
@@ -4557,9 +3920,8 @@ export const UpdateAgentFallbackModelConfiguration2$outboundSchema: z.ZodType<
4557
3920
  parameters: z.lazy(() =>
4558
3921
  UpdateAgentFallbackModelConfigurationParameters$outboundSchema
4559
3922
  ).optional(),
4560
- retry: z.lazy(() =>
4561
- UpdateAgentFallbackModelConfigurationAgentsRetry$outboundSchema
4562
- ).optional(),
3923
+ retry: z.lazy(() => UpdateAgentFallbackModelConfigurationRetry$outboundSchema)
3924
+ .optional(),
4563
3925
  });
4564
3926
 
4565
3927
  export function updateAgentFallbackModelConfiguration2ToJSON(
@@ -5807,36 +5169,6 @@ export function updateAgentAgentsSettingsFromJSON(
5807
5169
  );
5808
5170
  }
5809
5171
 
5810
- /** @internal */
5811
- export const UpdateAgentVoice$inboundSchema: z.ZodNativeEnum<
5812
- typeof UpdateAgentVoice
5813
- > = z.nativeEnum(UpdateAgentVoice);
5814
-
5815
- /** @internal */
5816
- export const UpdateAgentFormat$inboundSchema: z.ZodNativeEnum<
5817
- typeof UpdateAgentFormat
5818
- > = z.nativeEnum(UpdateAgentFormat);
5819
-
5820
- /** @internal */
5821
- export const UpdateAgentAudio$inboundSchema: z.ZodType<
5822
- UpdateAgentAudio,
5823
- z.ZodTypeDef,
5824
- unknown
5825
- > = z.object({
5826
- voice: UpdateAgentVoice$inboundSchema,
5827
- format: UpdateAgentFormat$inboundSchema,
5828
- });
5829
-
5830
- export function updateAgentAudioFromJSON(
5831
- jsonString: string,
5832
- ): SafeParseResult<UpdateAgentAudio, SDKValidationError> {
5833
- return safeParse(
5834
- jsonString,
5835
- (x) => UpdateAgentAudio$inboundSchema.parse(JSON.parse(x)),
5836
- `Failed to parse 'UpdateAgentAudio' from JSON`,
5837
- );
5838
- }
5839
-
5840
5172
  /** @internal */
5841
5173
  export const UpdateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema:
5842
5174
  z.ZodType<
@@ -5996,29 +5328,6 @@ export function updateAgentStopFromJSON(
5996
5328
  );
5997
5329
  }
5998
5330
 
5999
- /** @internal */
6000
- export const UpdateAgentStreamOptions$inboundSchema: z.ZodType<
6001
- UpdateAgentStreamOptions,
6002
- z.ZodTypeDef,
6003
- unknown
6004
- > = z.object({
6005
- include_usage: z.boolean().optional(),
6006
- }).transform((v) => {
6007
- return remap$(v, {
6008
- "include_usage": "includeUsage",
6009
- });
6010
- });
6011
-
6012
- export function updateAgentStreamOptionsFromJSON(
6013
- jsonString: string,
6014
- ): SafeParseResult<UpdateAgentStreamOptions, SDKValidationError> {
6015
- return safeParse(
6016
- jsonString,
6017
- (x) => UpdateAgentStreamOptions$inboundSchema.parse(JSON.parse(x)),
6018
- `Failed to parse 'UpdateAgentStreamOptions' from JSON`,
6019
- );
6020
- }
6021
-
6022
5331
  /** @internal */
6023
5332
  export const UpdateAgentThinking$inboundSchema: z.ZodType<
6024
5333
  UpdateAgentThinking,
@@ -6196,30 +5505,6 @@ export function updateAgentFallbacksFromJSON(
6196
5505
  );
6197
5506
  }
6198
5507
 
6199
- /** @internal */
6200
- export const UpdateAgentAgentsRetry$inboundSchema: z.ZodType<
6201
- UpdateAgentAgentsRetry,
6202
- z.ZodTypeDef,
6203
- unknown
6204
- > = z.object({
6205
- count: z.number().default(3),
6206
- on_codes: z.array(z.number()).optional(),
6207
- }).transform((v) => {
6208
- return remap$(v, {
6209
- "on_codes": "onCodes",
6210
- });
6211
- });
6212
-
6213
- export function updateAgentAgentsRetryFromJSON(
6214
- jsonString: string,
6215
- ): SafeParseResult<UpdateAgentAgentsRetry, SDKValidationError> {
6216
- return safeParse(
6217
- jsonString,
6218
- (x) => UpdateAgentAgentsRetry$inboundSchema.parse(JSON.parse(x)),
6219
- `Failed to parse 'UpdateAgentAgentsRetry' from JSON`,
6220
- );
6221
- }
6222
-
6223
5508
  /** @internal */
6224
5509
  export const UpdateAgentType$inboundSchema: z.ZodNativeEnum<
6225
5510
  typeof UpdateAgentType
@@ -6347,13 +5632,9 @@ export const UpdateAgentParameters$inboundSchema: z.ZodType<
6347
5632
  unknown
6348
5633
  > = z.object({
6349
5634
  name: z.string().optional(),
6350
- audio: z.nullable(z.lazy(() => UpdateAgentAudio$inboundSchema)).optional(),
6351
5635
  frequency_penalty: z.nullable(z.number()).optional(),
6352
5636
  max_tokens: z.nullable(z.number().int()).optional(),
6353
5637
  max_completion_tokens: z.nullable(z.number().int()).optional(),
6354
- logprobs: z.nullable(z.boolean()).optional(),
6355
- top_logprobs: z.nullable(z.number().int()).optional(),
6356
- n: z.nullable(z.number().int()).optional(),
6357
5638
  presence_penalty: z.nullable(z.number()).optional(),
6358
5639
  response_format: z.union([
6359
5640
  z.lazy(() => UpdateAgentResponseFormatAgentsResponseText$inboundSchema),
@@ -6368,9 +5649,6 @@ export const UpdateAgentParameters$inboundSchema: z.ZodType<
6368
5649
  verbosity: z.string().optional(),
6369
5650
  seed: z.nullable(z.number()).optional(),
6370
5651
  stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
6371
- stream_options: z.nullable(
6372
- z.lazy(() => UpdateAgentStreamOptions$inboundSchema),
6373
- ).optional(),
6374
5652
  thinking: z.union([
6375
5653
  components.ThinkingConfigDisabledSchema$inboundSchema,
6376
5654
  components.ThinkingConfigEnabledSchema$inboundSchema,
@@ -6390,7 +5668,6 @@ export const UpdateAgentParameters$inboundSchema: z.ZodType<
6390
5668
  ).optional(),
6391
5669
  fallbacks: z.array(z.lazy(() => UpdateAgentFallbacks$inboundSchema))
6392
5670
  .optional(),
6393
- retry: z.lazy(() => UpdateAgentAgentsRetry$inboundSchema).optional(),
6394
5671
  cache: z.lazy(() => UpdateAgentCache$inboundSchema).optional(),
6395
5672
  load_balancer: z.lazy(() =>
6396
5673
  UpdateAgentLoadBalancerAgentsResponse1$inboundSchema
@@ -6401,11 +5678,9 @@ export const UpdateAgentParameters$inboundSchema: z.ZodType<
6401
5678
  "frequency_penalty": "frequencyPenalty",
6402
5679
  "max_tokens": "maxTokens",
6403
5680
  "max_completion_tokens": "maxCompletionTokens",
6404
- "top_logprobs": "topLogprobs",
6405
5681
  "presence_penalty": "presencePenalty",
6406
5682
  "response_format": "responseFormat",
6407
5683
  "reasoning_effort": "reasoningEffort",
6408
- "stream_options": "streamOptions",
6409
5684
  "top_p": "topP",
6410
5685
  "top_k": "topK",
6411
5686
  "tool_choice": "toolChoice",
@@ -6448,43 +5723,6 @@ export function updateAgentRetryFromJSON(
6448
5723
  );
6449
5724
  }
6450
5725
 
6451
- /** @internal */
6452
- export const UpdateAgentFallbackModelConfigurationAgentsVoice$inboundSchema:
6453
- z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsVoice> = z
6454
- .nativeEnum(UpdateAgentFallbackModelConfigurationAgentsVoice);
6455
-
6456
- /** @internal */
6457
- export const UpdateAgentFallbackModelConfigurationAgentsFormat$inboundSchema:
6458
- z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsFormat> = z
6459
- .nativeEnum(UpdateAgentFallbackModelConfigurationAgentsFormat);
6460
-
6461
- /** @internal */
6462
- export const UpdateAgentFallbackModelConfigurationAgentsAudio$inboundSchema:
6463
- z.ZodType<
6464
- UpdateAgentFallbackModelConfigurationAgentsAudio,
6465
- z.ZodTypeDef,
6466
- unknown
6467
- > = z.object({
6468
- voice: UpdateAgentFallbackModelConfigurationAgentsVoice$inboundSchema,
6469
- format: UpdateAgentFallbackModelConfigurationAgentsFormat$inboundSchema,
6470
- });
6471
-
6472
- export function updateAgentFallbackModelConfigurationAgentsAudioFromJSON(
6473
- jsonString: string,
6474
- ): SafeParseResult<
6475
- UpdateAgentFallbackModelConfigurationAgentsAudio,
6476
- SDKValidationError
6477
- > {
6478
- return safeParse(
6479
- jsonString,
6480
- (x) =>
6481
- UpdateAgentFallbackModelConfigurationAgentsAudio$inboundSchema.parse(
6482
- JSON.parse(x),
6483
- ),
6484
- `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsAudio' from JSON`,
6485
- );
6486
- }
6487
-
6488
5726
  /** @internal */
6489
5727
  export const UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema$inboundSchema:
6490
5728
  z.ZodType<
@@ -6658,35 +5896,6 @@ export function updateAgentFallbackModelConfigurationAgentsStopFromJSON(
6658
5896
  );
6659
5897
  }
6660
5898
 
6661
- /** @internal */
6662
- export const UpdateAgentFallbackModelConfigurationAgentsStreamOptions$inboundSchema:
6663
- z.ZodType<
6664
- UpdateAgentFallbackModelConfigurationAgentsStreamOptions,
6665
- z.ZodTypeDef,
6666
- unknown
6667
- > = z.object({
6668
- include_usage: z.boolean().optional(),
6669
- }).transform((v) => {
6670
- return remap$(v, {
6671
- "include_usage": "includeUsage",
6672
- });
6673
- });
6674
-
6675
- export function updateAgentFallbackModelConfigurationAgentsStreamOptionsFromJSON(
6676
- jsonString: string,
6677
- ): SafeParseResult<
6678
- UpdateAgentFallbackModelConfigurationAgentsStreamOptions,
6679
- SDKValidationError
6680
- > {
6681
- return safeParse(
6682
- jsonString,
6683
- (x) =>
6684
- UpdateAgentFallbackModelConfigurationAgentsStreamOptions$inboundSchema
6685
- .parse(JSON.parse(x)),
6686
- `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsStreamOptions' from JSON`,
6687
- );
6688
- }
6689
-
6690
5899
  /** @internal */
6691
5900
  export const UpdateAgentFallbackModelConfigurationAgentsThinking$inboundSchema:
6692
5901
  z.ZodType<
@@ -6903,36 +6112,6 @@ export function updateAgentFallbackModelConfigurationAgentsFallbacksFromJSON(
6903
6112
  );
6904
6113
  }
6905
6114
 
6906
- /** @internal */
6907
- export const UpdateAgentFallbackModelConfigurationAgentsResponse200Retry$inboundSchema:
6908
- z.ZodType<
6909
- UpdateAgentFallbackModelConfigurationAgentsResponse200Retry,
6910
- z.ZodTypeDef,
6911
- unknown
6912
- > = z.object({
6913
- count: z.number().default(3),
6914
- on_codes: z.array(z.number()).optional(),
6915
- }).transform((v) => {
6916
- return remap$(v, {
6917
- "on_codes": "onCodes",
6918
- });
6919
- });
6920
-
6921
- export function updateAgentFallbackModelConfigurationAgentsResponse200RetryFromJSON(
6922
- jsonString: string,
6923
- ): SafeParseResult<
6924
- UpdateAgentFallbackModelConfigurationAgentsResponse200Retry,
6925
- SDKValidationError
6926
- > {
6927
- return safeParse(
6928
- jsonString,
6929
- (x) =>
6930
- UpdateAgentFallbackModelConfigurationAgentsResponse200Retry$inboundSchema
6931
- .parse(JSON.parse(x)),
6932
- `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsResponse200Retry' from JSON`,
6933
- );
6934
- }
6935
-
6936
6115
  /** @internal */
6937
6116
  export const UpdateAgentFallbackModelConfigurationAgentsType$inboundSchema:
6938
6117
  z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsType> = z
@@ -7086,17 +6265,9 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
7086
6265
  unknown
7087
6266
  > = z.object({
7088
6267
  name: z.string().optional(),
7089
- audio: z.nullable(
7090
- z.lazy(() =>
7091
- UpdateAgentFallbackModelConfigurationAgentsAudio$inboundSchema
7092
- ),
7093
- ).optional(),
7094
6268
  frequency_penalty: z.nullable(z.number()).optional(),
7095
6269
  max_tokens: z.nullable(z.number().int()).optional(),
7096
6270
  max_completion_tokens: z.nullable(z.number().int()).optional(),
7097
- logprobs: z.nullable(z.boolean()).optional(),
7098
- top_logprobs: z.nullable(z.number().int()).optional(),
7099
- n: z.nullable(z.number().int()).optional(),
7100
6271
  presence_penalty: z.nullable(z.number()).optional(),
7101
6272
  response_format: z.union([
7102
6273
  z.lazy(() =>
@@ -7115,11 +6286,6 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
7115
6286
  verbosity: z.string().optional(),
7116
6287
  seed: z.nullable(z.number()).optional(),
7117
6288
  stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
7118
- stream_options: z.nullable(
7119
- z.lazy(() =>
7120
- UpdateAgentFallbackModelConfigurationAgentsStreamOptions$inboundSchema
7121
- ),
7122
- ).optional(),
7123
6289
  thinking: z.union([
7124
6290
  components.ThinkingConfigDisabledSchema$inboundSchema,
7125
6291
  components.ThinkingConfigEnabledSchema$inboundSchema,
@@ -7147,9 +6313,6 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
7147
6313
  UpdateAgentFallbackModelConfigurationAgentsFallbacks$inboundSchema
7148
6314
  ),
7149
6315
  ).optional(),
7150
- retry: z.lazy(() =>
7151
- UpdateAgentFallbackModelConfigurationAgentsResponse200Retry$inboundSchema
7152
- ).optional(),
7153
6316
  cache: z.lazy(() =>
7154
6317
  UpdateAgentFallbackModelConfigurationAgentsCache$inboundSchema
7155
6318
  ).optional(),
@@ -7164,11 +6327,9 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
7164
6327
  "frequency_penalty": "frequencyPenalty",
7165
6328
  "max_tokens": "maxTokens",
7166
6329
  "max_completion_tokens": "maxCompletionTokens",
7167
- "top_logprobs": "topLogprobs",
7168
6330
  "presence_penalty": "presencePenalty",
7169
6331
  "response_format": "responseFormat",
7170
6332
  "reasoning_effort": "reasoningEffort",
7171
- "stream_options": "streamOptions",
7172
6333
  "top_p": "topP",
7173
6334
  "top_k": "topK",
7174
6335
  "tool_choice": "toolChoice",
@@ -7194,9 +6355,9 @@ export function updateAgentFallbackModelConfigurationAgentsParametersFromJSON(
7194
6355
  }
7195
6356
 
7196
6357
  /** @internal */
7197
- export const UpdateAgentFallbackModelConfigurationAgentsResponseRetry$inboundSchema:
6358
+ export const UpdateAgentFallbackModelConfigurationAgentsRetry$inboundSchema:
7198
6359
  z.ZodType<
7199
- UpdateAgentFallbackModelConfigurationAgentsResponseRetry,
6360
+ UpdateAgentFallbackModelConfigurationAgentsRetry,
7200
6361
  z.ZodTypeDef,
7201
6362
  unknown
7202
6363
  > = z.object({
@@ -7208,18 +6369,19 @@ export const UpdateAgentFallbackModelConfigurationAgentsResponseRetry$inboundSch
7208
6369
  });
7209
6370
  });
7210
6371
 
7211
- export function updateAgentFallbackModelConfigurationAgentsResponseRetryFromJSON(
6372
+ export function updateAgentFallbackModelConfigurationAgentsRetryFromJSON(
7212
6373
  jsonString: string,
7213
6374
  ): SafeParseResult<
7214
- UpdateAgentFallbackModelConfigurationAgentsResponseRetry,
6375
+ UpdateAgentFallbackModelConfigurationAgentsRetry,
7215
6376
  SDKValidationError
7216
6377
  > {
7217
6378
  return safeParse(
7218
6379
  jsonString,
7219
6380
  (x) =>
7220
- UpdateAgentFallbackModelConfigurationAgentsResponseRetry$inboundSchema
7221
- .parse(JSON.parse(x)),
7222
- `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsResponseRetry' from JSON`,
6381
+ UpdateAgentFallbackModelConfigurationAgentsRetry$inboundSchema.parse(
6382
+ JSON.parse(x),
6383
+ ),
6384
+ `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsRetry' from JSON`,
7223
6385
  );
7224
6386
  }
7225
6387
 
@@ -7235,7 +6397,7 @@ export const UpdateAgentFallbackModelConfigurationAgents2$inboundSchema:
7235
6397
  UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
7236
6398
  ).optional(),
7237
6399
  retry: z.lazy(() =>
7238
- UpdateAgentFallbackModelConfigurationAgentsResponseRetry$inboundSchema
6400
+ UpdateAgentFallbackModelConfigurationAgentsRetry$inboundSchema
7239
6401
  ).optional(),
7240
6402
  });
7241
6403