@openrouter/sdk 0.13.59 → 0.13.60

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 (191) hide show
  1. package/esm/lib/config.d.ts +2 -2
  2. package/esm/lib/config.js +2 -2
  3. package/esm/models/additionaltoolsitem.d.ts +7 -7
  4. package/esm/models/additionaltoolsitem.js +5 -5
  5. package/esm/models/advisornestedtool.d.ts +3 -3
  6. package/esm/models/advisornestedtool.js +2 -2
  7. package/esm/models/agentmessageitem.d.ts +3 -3
  8. package/esm/models/agentmessageitem.js +3 -3
  9. package/esm/models/badgatewayresponseerrordata.d.ts +1 -1
  10. package/esm/models/badgatewayresponseerrordata.js +1 -1
  11. package/esm/models/badrequestresponseerrordata.d.ts +1 -1
  12. package/esm/models/badrequestresponseerrordata.js +1 -1
  13. package/esm/models/baseinputsunion.d.ts +3 -3
  14. package/esm/models/baseinputsunion.js +0 -3
  15. package/esm/models/byokproviderslug.d.ts +1 -0
  16. package/esm/models/byokproviderslug.js +1 -0
  17. package/esm/models/chatassistantmessage.d.ts +4 -4
  18. package/esm/models/chatassistantmessage.js +4 -4
  19. package/esm/models/chatfunctiontool.d.ts +2 -2
  20. package/esm/models/chatfunctiontool.js +1 -1
  21. package/esm/models/chatjsonschemaconfig.d.ts +2 -2
  22. package/esm/models/chatjsonschemaconfig.js +1 -1
  23. package/esm/models/chatrequest.d.ts +4 -4
  24. package/esm/models/chatrequest.js +1 -3
  25. package/esm/models/compactionitem.d.ts +1 -1
  26. package/esm/models/compactionitem.js +1 -1
  27. package/esm/models/compoundfilter.d.ts +2 -2
  28. package/esm/models/compoundfilter.js +2 -2
  29. package/esm/models/conflictresponseerrordata.d.ts +1 -1
  30. package/esm/models/conflictresponseerrordata.js +1 -1
  31. package/esm/models/contextcompactionitem.d.ts +1 -1
  32. package/esm/models/contextcompactionitem.js +1 -1
  33. package/esm/models/createobservabilitydestinationrequest.d.ts +2 -2
  34. package/esm/models/createobservabilitydestinationrequest.js +1 -1
  35. package/esm/models/debugevent.d.ts +1 -1
  36. package/esm/models/debugevent.js +1 -1
  37. package/esm/models/easyinputmessage.d.ts +8 -8
  38. package/esm/models/easyinputmessage.js +0 -4
  39. package/esm/models/edgenetworktimeoutresponseerrordata.d.ts +1 -1
  40. package/esm/models/edgenetworktimeoutresponseerrordata.js +1 -1
  41. package/esm/models/errors/badgatewayresponseerror.d.ts +2 -2
  42. package/esm/models/errors/badgatewayresponseerror.js +1 -2
  43. package/esm/models/errors/badrequestresponseerror.d.ts +2 -2
  44. package/esm/models/errors/badrequestresponseerror.js +1 -2
  45. package/esm/models/errors/conflictresponseerror.d.ts +2 -2
  46. package/esm/models/errors/conflictresponseerror.js +1 -2
  47. package/esm/models/errors/edgenetworktimeoutresponseerror.d.ts +2 -2
  48. package/esm/models/errors/edgenetworktimeoutresponseerror.js +1 -2
  49. package/esm/models/errors/forbiddenresponseerror.d.ts +2 -2
  50. package/esm/models/errors/forbiddenresponseerror.js +1 -2
  51. package/esm/models/errors/internalserverresponseerror.d.ts +2 -2
  52. package/esm/models/errors/internalserverresponseerror.js +1 -2
  53. package/esm/models/errors/notfoundresponseerror.d.ts +2 -2
  54. package/esm/models/errors/notfoundresponseerror.js +1 -2
  55. package/esm/models/errors/payloadtoolargeresponseerror.d.ts +2 -2
  56. package/esm/models/errors/payloadtoolargeresponseerror.js +1 -2
  57. package/esm/models/errors/paymentrequiredresponseerror.d.ts +2 -2
  58. package/esm/models/errors/paymentrequiredresponseerror.js +1 -2
  59. package/esm/models/errors/provideroverloadedresponseerror.d.ts +2 -2
  60. package/esm/models/errors/provideroverloadedresponseerror.js +1 -2
  61. package/esm/models/errors/requesttimeoutresponseerror.d.ts +2 -2
  62. package/esm/models/errors/requesttimeoutresponseerror.js +1 -2
  63. package/esm/models/errors/serviceunavailableresponseerror.d.ts +2 -2
  64. package/esm/models/errors/serviceunavailableresponseerror.js +1 -2
  65. package/esm/models/errors/toomanyrequestsresponseerror.d.ts +2 -2
  66. package/esm/models/errors/toomanyrequestsresponseerror.js +1 -2
  67. package/esm/models/errors/unauthorizedresponseerror.d.ts +2 -2
  68. package/esm/models/errors/unauthorizedresponseerror.js +1 -2
  69. package/esm/models/errors/unprocessableentityresponseerror.d.ts +2 -2
  70. package/esm/models/errors/unprocessableentityresponseerror.js +1 -2
  71. package/esm/models/filesearchservertool.d.ts +4 -4
  72. package/esm/models/filesearchservertool.js +1 -8
  73. package/esm/models/forbiddenresponseerrordata.d.ts +1 -1
  74. package/esm/models/forbiddenresponseerrordata.js +1 -1
  75. package/esm/models/formatjsonschemaconfig.d.ts +2 -2
  76. package/esm/models/formatjsonschemaconfig.js +2 -2
  77. package/esm/models/functioncalloutputitem.d.ts +2 -9
  78. package/esm/models/functioncalloutputitem.js +2 -8
  79. package/esm/models/fusionplugin.d.ts +28 -2
  80. package/esm/models/fusionplugin.js +28 -1
  81. package/esm/models/fusionservertoolconfig.d.ts +2 -2
  82. package/esm/models/fusionservertoolconfig.js +1 -1
  83. package/esm/models/generationcontentdata.d.ts +1 -1
  84. package/esm/models/generationcontentdata.js +1 -1
  85. package/esm/models/imageconfig.d.ts +2 -2
  86. package/esm/models/imageconfig.js +1 -1
  87. package/esm/models/imagegenerationproviderpreferences.d.ts +256 -250
  88. package/esm/models/imagegenerationproviderpreferences.js +126 -133
  89. package/esm/models/imagegenerationservertoolconfigunion.d.ts +2 -2
  90. package/esm/models/imagegenerationservertoolconfigunion.js +1 -1
  91. package/esm/models/index.d.ts +0 -2
  92. package/esm/models/index.js +0 -2
  93. package/esm/models/inputsunion.d.ts +8 -8
  94. package/esm/models/inputsunion.js +0 -4
  95. package/esm/models/internalserverresponseerrordata.d.ts +1 -1
  96. package/esm/models/internalserverresponseerrordata.js +1 -1
  97. package/esm/models/listendpointsresponse.d.ts +2 -33
  98. package/esm/models/listendpointsresponse.js +2 -30
  99. package/esm/models/localshellcalloutputitem.d.ts +3 -10
  100. package/esm/models/localshellcalloutputitem.js +2 -9
  101. package/esm/models/mcplisttoolsitem.d.ts +4 -4
  102. package/esm/models/mcplisttoolsitem.js +2 -2
  103. package/esm/models/mcpservertool.d.ts +8 -8
  104. package/esm/models/mcpservertool.js +4 -24
  105. package/esm/models/messagesadvisortoolresultblock.d.ts +2 -2
  106. package/esm/models/messagesadvisortoolresultblock.js +1 -1
  107. package/esm/models/messagesfallbackparam.d.ts +1 -1
  108. package/esm/models/messagesfallbackparam.js +1 -1
  109. package/esm/models/messagesmessageparam.d.ts +4 -4
  110. package/esm/models/messagesmessageparam.js +2 -2
  111. package/esm/models/messagesoutputconfig.d.ts +2 -2
  112. package/esm/models/messagesoutputconfig.js +1 -1
  113. package/esm/models/messagesrequest.d.ts +10 -32
  114. package/esm/models/messagesrequest.js +7 -21
  115. package/esm/models/namespacefunctiontool.d.ts +4 -4
  116. package/esm/models/namespacefunctiontool.js +4 -6
  117. package/esm/models/notfoundresponseerrordata.d.ts +1 -1
  118. package/esm/models/notfoundresponseerrordata.js +1 -1
  119. package/esm/models/openairesponsefunctiontoolcalloutput.d.ts +3 -10
  120. package/esm/models/openairesponsefunctiontoolcalloutput.js +2 -11
  121. package/esm/models/openresponsesresult.d.ts +46 -2
  122. package/esm/models/openresponsesresult.js +69 -3
  123. package/esm/models/operations/listbyokkeys.d.ts +1 -0
  124. package/esm/models/operations/listbyokkeys.js +1 -0
  125. package/esm/models/outputcomputercallitem.d.ts +2 -2
  126. package/esm/models/outputcomputercallitem.js +2 -2
  127. package/esm/models/outputmemoryservertoolitem.d.ts +2 -2
  128. package/esm/models/outputmemoryservertoolitem.js +2 -2
  129. package/esm/models/outputmessage.d.ts +2 -2
  130. package/esm/models/outputmessage.js +0 -2
  131. package/esm/models/outputmessageitem.d.ts +2 -2
  132. package/esm/models/outputmessageitem.js +0 -2
  133. package/esm/models/payloadtoolargeresponseerrordata.d.ts +1 -1
  134. package/esm/models/payloadtoolargeresponseerrordata.js +1 -1
  135. package/esm/models/paymentrequiredresponseerrordata.d.ts +1 -1
  136. package/esm/models/paymentrequiredresponseerrordata.js +1 -1
  137. package/esm/models/pipelinestage.d.ts +1 -1
  138. package/esm/models/pipelinestage.js +1 -1
  139. package/esm/models/preferredmaxlatency.d.ts +2 -2
  140. package/esm/models/preferredmaxlatency.js +1 -1
  141. package/esm/models/preferredminthroughput.d.ts +2 -2
  142. package/esm/models/preferredminthroughput.js +1 -1
  143. package/esm/models/presetdesignatedversion.d.ts +1 -1
  144. package/esm/models/presetdesignatedversion.js +1 -1
  145. package/esm/models/providername.d.ts +2 -1
  146. package/esm/models/providername.js +2 -1
  147. package/esm/models/provideroptions.d.ts +252 -246
  148. package/esm/models/provideroptions.js +124 -123
  149. package/esm/models/provideroverloadedresponseerrordata.d.ts +1 -1
  150. package/esm/models/provideroverloadedresponseerrordata.js +1 -1
  151. package/esm/models/providerpreferences.d.ts +4 -4
  152. package/esm/models/providerpreferences.js +2 -10
  153. package/esm/models/providerresponse.d.ts +2 -1
  154. package/esm/models/providerresponse.js +2 -1
  155. package/esm/models/publicendpoint.d.ts +2 -16
  156. package/esm/models/publicendpoint.js +2 -15
  157. package/esm/models/quantization.d.ts +2 -0
  158. package/esm/models/quantization.js +2 -0
  159. package/esm/models/requesttimeoutresponseerrordata.d.ts +1 -1
  160. package/esm/models/requesttimeoutresponseerrordata.js +1 -1
  161. package/esm/models/responsesrequest.d.ts +34 -5
  162. package/esm/models/responsesrequest.js +24 -4
  163. package/esm/models/routerparams.d.ts +1 -1
  164. package/esm/models/serviceunavailableresponseerrordata.d.ts +1 -1
  165. package/esm/models/serviceunavailableresponseerrordata.js +1 -1
  166. package/esm/models/shellcallitem.d.ts +5 -12
  167. package/esm/models/shellcallitem.js +3 -10
  168. package/esm/models/shellcalloutputitem.d.ts +4 -11
  169. package/esm/models/shellcalloutputitem.js +3 -10
  170. package/esm/models/subagentnestedtool.d.ts +3 -3
  171. package/esm/models/subagentnestedtool.js +2 -2
  172. package/esm/models/toolchoiceallowed.d.ts +2 -2
  173. package/esm/models/toolchoiceallowed.js +2 -2
  174. package/esm/models/toomanyrequestsresponseerrordata.d.ts +1 -1
  175. package/esm/models/toomanyrequestsresponseerrordata.js +1 -1
  176. package/esm/models/traceconfig.d.ts +1 -1
  177. package/esm/models/traceconfig.js +1 -1
  178. package/esm/models/unauthorizedresponseerrordata.d.ts +1 -1
  179. package/esm/models/unauthorizedresponseerrordata.js +1 -1
  180. package/esm/models/unprocessableentityresponseerrordata.d.ts +1 -1
  181. package/esm/models/unprocessableentityresponseerrordata.js +1 -1
  182. package/esm/models/updateobservabilitydestinationrequest.d.ts +2 -2
  183. package/esm/models/updateobservabilitydestinationrequest.js +1 -1
  184. package/esm/models/videogenerationrequest.d.ts +252 -246
  185. package/esm/models/videogenerationrequest.js +124 -123
  186. package/jsr.json +1 -1
  187. package/package.json +7 -7
  188. package/esm/models/reasoningconfig.d.ts +0 -35
  189. package/esm/models/reasoningconfig.js +0 -27
  190. package/esm/models/usage.d.ts +0 -52
  191. package/esm/models/usage.js +0 -75
@@ -9,380 +9,383 @@ export type ImageGenerationProviderPreferencesOnly = ProviderName | string;
9
9
  */
10
10
  export type ImageGenerationProviderPreferencesOptions = {
11
11
  oneai?: {
12
- [k: string]: any | null;
12
+ [k: string]: any;
13
13
  } | undefined;
14
14
  ai21?: {
15
- [k: string]: any | null;
15
+ [k: string]: any;
16
16
  } | undefined;
17
17
  aionLabs?: {
18
- [k: string]: any | null;
18
+ [k: string]: any;
19
19
  } | undefined;
20
20
  akashml?: {
21
- [k: string]: any | null;
21
+ [k: string]: any;
22
22
  } | undefined;
23
23
  alibaba?: {
24
- [k: string]: any | null;
24
+ [k: string]: any;
25
25
  } | undefined;
26
26
  amazonBedrock?: {
27
- [k: string]: any | null;
27
+ [k: string]: any;
28
28
  } | undefined;
29
29
  amazonNova?: {
30
- [k: string]: any | null;
30
+ [k: string]: any;
31
31
  } | undefined;
32
32
  ambient?: {
33
- [k: string]: any | null;
33
+ [k: string]: any;
34
34
  } | undefined;
35
35
  anthropic?: {
36
- [k: string]: any | null;
36
+ [k: string]: any;
37
37
  } | undefined;
38
38
  anyscale?: {
39
- [k: string]: any | null;
39
+ [k: string]: any;
40
40
  } | undefined;
41
41
  arceeAi?: {
42
- [k: string]: any | null;
42
+ [k: string]: any;
43
43
  } | undefined;
44
44
  atlasCloud?: {
45
- [k: string]: any | null;
45
+ [k: string]: any;
46
46
  } | undefined;
47
47
  atoma?: {
48
- [k: string]: any | null;
48
+ [k: string]: any;
49
49
  } | undefined;
50
50
  avian?: {
51
- [k: string]: any | null;
51
+ [k: string]: any;
52
52
  } | undefined;
53
53
  azure?: {
54
- [k: string]: any | null;
54
+ [k: string]: any;
55
55
  } | undefined;
56
56
  baidu?: {
57
- [k: string]: any | null;
57
+ [k: string]: any;
58
58
  } | undefined;
59
59
  baseten?: {
60
- [k: string]: any | null;
60
+ [k: string]: any;
61
61
  } | undefined;
62
62
  blackForestLabs?: {
63
- [k: string]: any | null;
63
+ [k: string]: any;
64
64
  } | undefined;
65
65
  byteplus?: {
66
- [k: string]: any | null;
66
+ [k: string]: any;
67
67
  } | undefined;
68
68
  centml?: {
69
- [k: string]: any | null;
69
+ [k: string]: any;
70
70
  } | undefined;
71
71
  cerebras?: {
72
- [k: string]: any | null;
72
+ [k: string]: any;
73
73
  } | undefined;
74
74
  chutes?: {
75
- [k: string]: any | null;
75
+ [k: string]: any;
76
76
  } | undefined;
77
77
  cirrascale?: {
78
- [k: string]: any | null;
78
+ [k: string]: any;
79
79
  } | undefined;
80
80
  clarifai?: {
81
- [k: string]: any | null;
81
+ [k: string]: any;
82
82
  } | undefined;
83
83
  cloudflare?: {
84
- [k: string]: any | null;
84
+ [k: string]: any;
85
85
  } | undefined;
86
86
  cohere?: {
87
- [k: string]: any | null;
87
+ [k: string]: any;
88
88
  } | undefined;
89
89
  crofai?: {
90
- [k: string]: any | null;
90
+ [k: string]: any;
91
91
  } | undefined;
92
92
  crucible?: {
93
- [k: string]: any | null;
93
+ [k: string]: any;
94
94
  } | undefined;
95
95
  crusoe?: {
96
- [k: string]: any | null;
96
+ [k: string]: any;
97
97
  } | undefined;
98
98
  darkbloom?: {
99
- [k: string]: any | null;
99
+ [k: string]: any;
100
100
  } | undefined;
101
101
  decart?: {
102
- [k: string]: any | null;
102
+ [k: string]: any;
103
103
  } | undefined;
104
104
  deepgram?: {
105
- [k: string]: any | null;
105
+ [k: string]: any;
106
106
  } | undefined;
107
107
  deepinfra?: {
108
- [k: string]: any | null;
108
+ [k: string]: any;
109
109
  } | undefined;
110
110
  deepseek?: {
111
- [k: string]: any | null;
111
+ [k: string]: any;
112
112
  } | undefined;
113
113
  dekallm?: {
114
- [k: string]: any | null;
114
+ [k: string]: any;
115
115
  } | undefined;
116
116
  digitalocean?: {
117
- [k: string]: any | null;
117
+ [k: string]: any;
118
118
  } | undefined;
119
119
  enfer?: {
120
- [k: string]: any | null;
120
+ [k: string]: any;
121
121
  } | undefined;
122
122
  fakeProvider?: {
123
- [k: string]: any | null;
123
+ [k: string]: any;
124
124
  } | undefined;
125
125
  featherless?: {
126
- [k: string]: any | null;
126
+ [k: string]: any;
127
127
  } | undefined;
128
128
  fireworks?: {
129
- [k: string]: any | null;
129
+ [k: string]: any;
130
130
  } | undefined;
131
131
  friendli?: {
132
- [k: string]: any | null;
132
+ [k: string]: any;
133
133
  } | undefined;
134
134
  gmicloud?: {
135
- [k: string]: any | null;
135
+ [k: string]: any;
136
136
  } | undefined;
137
137
  googleAiStudio?: {
138
- [k: string]: any | null;
138
+ [k: string]: any;
139
139
  } | undefined;
140
140
  googleVertex?: {
141
- [k: string]: any | null;
141
+ [k: string]: any;
142
142
  } | undefined;
143
143
  gopomelo?: {
144
- [k: string]: any | null;
144
+ [k: string]: any;
145
145
  } | undefined;
146
146
  groq?: {
147
- [k: string]: any | null;
147
+ [k: string]: any;
148
148
  } | undefined;
149
149
  heygen?: {
150
- [k: string]: any | null;
150
+ [k: string]: any;
151
151
  } | undefined;
152
152
  huggingface?: {
153
- [k: string]: any | null;
153
+ [k: string]: any;
154
154
  } | undefined;
155
155
  hyperbolic?: {
156
- [k: string]: any | null;
156
+ [k: string]: any;
157
157
  } | undefined;
158
158
  hyperbolicQuantized?: {
159
- [k: string]: any | null;
159
+ [k: string]: any;
160
160
  } | undefined;
161
161
  inception?: {
162
- [k: string]: any | null;
162
+ [k: string]: any;
163
163
  } | undefined;
164
164
  inceptron?: {
165
- [k: string]: any | null;
165
+ [k: string]: any;
166
166
  } | undefined;
167
167
  inferactVllm?: {
168
- [k: string]: any | null;
168
+ [k: string]: any;
169
169
  } | undefined;
170
170
  inferenceNet?: {
171
- [k: string]: any | null;
171
+ [k: string]: any;
172
172
  } | undefined;
173
173
  infermatic?: {
174
- [k: string]: any | null;
174
+ [k: string]: any;
175
175
  } | undefined;
176
176
  inflection?: {
177
- [k: string]: any | null;
177
+ [k: string]: any;
178
178
  } | undefined;
179
179
  inocloud?: {
180
- [k: string]: any | null;
180
+ [k: string]: any;
181
181
  } | undefined;
182
182
  ioNet?: {
183
- [k: string]: any | null;
183
+ [k: string]: any;
184
184
  } | undefined;
185
185
  ionstream?: {
186
- [k: string]: any | null;
186
+ [k: string]: any;
187
187
  } | undefined;
188
188
  klusterai?: {
189
- [k: string]: any | null;
189
+ [k: string]: any;
190
190
  } | undefined;
191
191
  krea?: {
192
- [k: string]: any | null;
192
+ [k: string]: any;
193
193
  } | undefined;
194
194
  lambda?: {
195
- [k: string]: any | null;
195
+ [k: string]: any;
196
196
  } | undefined;
197
197
  lepton?: {
198
- [k: string]: any | null;
198
+ [k: string]: any;
199
199
  } | undefined;
200
200
  liquid?: {
201
- [k: string]: any | null;
201
+ [k: string]: any;
202
202
  } | undefined;
203
203
  lynn?: {
204
- [k: string]: any | null;
204
+ [k: string]: any;
205
205
  } | undefined;
206
206
  lynnPrivate?: {
207
- [k: string]: any | null;
207
+ [k: string]: any;
208
208
  } | undefined;
209
209
  mancer?: {
210
- [k: string]: any | null;
210
+ [k: string]: any;
211
211
  } | undefined;
212
212
  mancerOld?: {
213
- [k: string]: any | null;
213
+ [k: string]: any;
214
214
  } | undefined;
215
215
  mara?: {
216
- [k: string]: any | null;
216
+ [k: string]: any;
217
217
  } | undefined;
218
218
  meta?: {
219
- [k: string]: any | null;
219
+ [k: string]: any;
220
220
  } | undefined;
221
221
  minimax?: {
222
- [k: string]: any | null;
222
+ [k: string]: any;
223
223
  } | undefined;
224
224
  mistral?: {
225
- [k: string]: any | null;
225
+ [k: string]: any;
226
226
  } | undefined;
227
227
  modal?: {
228
- [k: string]: any | null;
228
+ [k: string]: any;
229
229
  } | undefined;
230
230
  modelrun?: {
231
- [k: string]: any | null;
231
+ [k: string]: any;
232
232
  } | undefined;
233
233
  modular?: {
234
- [k: string]: any | null;
234
+ [k: string]: any;
235
235
  } | undefined;
236
236
  moonshotai?: {
237
- [k: string]: any | null;
237
+ [k: string]: any;
238
238
  } | undefined;
239
239
  morph?: {
240
- [k: string]: any | null;
240
+ [k: string]: any;
241
241
  } | undefined;
242
242
  ncompass?: {
243
- [k: string]: any | null;
243
+ [k: string]: any;
244
244
  } | undefined;
245
245
  nebius?: {
246
- [k: string]: any | null;
246
+ [k: string]: any;
247
247
  } | undefined;
248
248
  nexAgi?: {
249
- [k: string]: any | null;
249
+ [k: string]: any;
250
250
  } | undefined;
251
251
  nextbit?: {
252
- [k: string]: any | null;
252
+ [k: string]: any;
253
253
  } | undefined;
254
254
  nineteen?: {
255
- [k: string]: any | null;
255
+ [k: string]: any;
256
256
  } | undefined;
257
257
  novita?: {
258
- [k: string]: any | null;
258
+ [k: string]: any;
259
259
  } | undefined;
260
260
  nvidia?: {
261
- [k: string]: any | null;
261
+ [k: string]: any;
262
262
  } | undefined;
263
263
  octoai?: {
264
- [k: string]: any | null;
264
+ [k: string]: any;
265
265
  } | undefined;
266
266
  openInference?: {
267
- [k: string]: any | null;
267
+ [k: string]: any;
268
268
  } | undefined;
269
269
  openai?: {
270
- [k: string]: any | null;
270
+ [k: string]: any;
271
271
  } | undefined;
272
272
  parasail?: {
273
- [k: string]: any | null;
273
+ [k: string]: any;
274
274
  } | undefined;
275
275
  perceptron?: {
276
- [k: string]: any | null;
276
+ [k: string]: any;
277
277
  } | undefined;
278
278
  perplexity?: {
279
- [k: string]: any | null;
279
+ [k: string]: any;
280
280
  } | undefined;
281
281
  phala?: {
282
- [k: string]: any | null;
282
+ [k: string]: any;
283
283
  } | undefined;
284
284
  poolside?: {
285
- [k: string]: any | null;
285
+ [k: string]: any;
286
286
  } | undefined;
287
287
  quiver?: {
288
- [k: string]: any | null;
288
+ [k: string]: any;
289
289
  } | undefined;
290
290
  recraft?: {
291
- [k: string]: any | null;
291
+ [k: string]: any;
292
292
  } | undefined;
293
293
  recursal?: {
294
- [k: string]: any | null;
294
+ [k: string]: any;
295
295
  } | undefined;
296
296
  reflection?: {
297
- [k: string]: any | null;
297
+ [k: string]: any;
298
298
  } | undefined;
299
299
  reka?: {
300
- [k: string]: any | null;
300
+ [k: string]: any;
301
301
  } | undefined;
302
302
  relace?: {
303
- [k: string]: any | null;
303
+ [k: string]: any;
304
304
  } | undefined;
305
305
  replicate?: {
306
- [k: string]: any | null;
306
+ [k: string]: any;
307
307
  } | undefined;
308
308
  sailResearch?: {
309
- [k: string]: any | null;
309
+ [k: string]: any;
310
310
  } | undefined;
311
311
  sakana?: {
312
- [k: string]: any | null;
312
+ [k: string]: any;
313
313
  } | undefined;
314
314
  sambanova?: {
315
- [k: string]: any | null;
315
+ [k: string]: any;
316
316
  } | undefined;
317
317
  sambanovaCloaked?: {
318
- [k: string]: any | null;
318
+ [k: string]: any;
319
319
  } | undefined;
320
320
  seed?: {
321
- [k: string]: any | null;
321
+ [k: string]: any;
322
322
  } | undefined;
323
323
  sfCompute?: {
324
- [k: string]: any | null;
324
+ [k: string]: any;
325
325
  } | undefined;
326
326
  siliconflow?: {
327
- [k: string]: any | null;
327
+ [k: string]: any;
328
328
  } | undefined;
329
329
  sourceful?: {
330
- [k: string]: any | null;
330
+ [k: string]: any;
331
331
  } | undefined;
332
332
  stealth?: {
333
- [k: string]: any | null;
333
+ [k: string]: any;
334
334
  } | undefined;
335
335
  stepfun?: {
336
- [k: string]: any | null;
336
+ [k: string]: any;
337
337
  } | undefined;
338
338
  streamlake?: {
339
- [k: string]: any | null;
339
+ [k: string]: any;
340
340
  } | undefined;
341
341
  switchpoint?: {
342
- [k: string]: any | null;
342
+ [k: string]: any;
343
343
  } | undefined;
344
344
  targon?: {
345
- [k: string]: any | null;
345
+ [k: string]: any;
346
+ } | undefined;
347
+ tencent?: {
348
+ [k: string]: any;
346
349
  } | undefined;
347
350
  tenstorrent?: {
348
- [k: string]: any | null;
351
+ [k: string]: any;
349
352
  } | undefined;
350
353
  together?: {
351
- [k: string]: any | null;
354
+ [k: string]: any;
352
355
  } | undefined;
353
356
  togetherLite?: {
354
- [k: string]: any | null;
357
+ [k: string]: any;
355
358
  } | undefined;
356
359
  ubicloud?: {
357
- [k: string]: any | null;
360
+ [k: string]: any;
358
361
  } | undefined;
359
362
  upstage?: {
360
- [k: string]: any | null;
363
+ [k: string]: any;
361
364
  } | undefined;
362
365
  venice?: {
363
- [k: string]: any | null;
366
+ [k: string]: any;
364
367
  } | undefined;
365
368
  wafer?: {
366
- [k: string]: any | null;
369
+ [k: string]: any;
367
370
  } | undefined;
368
371
  wandb?: {
369
- [k: string]: any | null;
372
+ [k: string]: any;
370
373
  } | undefined;
371
374
  xai?: {
372
- [k: string]: any | null;
375
+ [k: string]: any;
373
376
  } | undefined;
374
377
  xiaomi?: {
375
- [k: string]: any | null;
378
+ [k: string]: any;
376
379
  } | undefined;
377
380
  zAi?: {
378
- [k: string]: any | null;
381
+ [k: string]: any;
379
382
  } | undefined;
380
383
  };
381
384
  export type ImageGenerationProviderPreferencesOrder = ProviderName | string;
382
385
  /**
383
386
  * The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
384
387
  */
385
- export type ImageGenerationProviderPreferencesSort = ProviderSort | ProviderSortConfig | any;
388
+ export type ImageGenerationProviderPreferencesSort = ProviderSort | ProviderSortConfig;
386
389
  /**
387
390
  * Provider routing preferences and provider-specific passthrough configuration.
388
391
  */
@@ -411,7 +414,7 @@ export type ImageGenerationProviderPreferences = {
411
414
  /**
412
415
  * The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
413
416
  */
414
- sort?: ProviderSort | ProviderSortConfig | any | null | undefined;
417
+ sort?: ProviderSort | ProviderSortConfig | null | undefined;
415
418
  };
416
419
  /** @internal */
417
420
  export type ImageGenerationProviderPreferencesIgnore$Outbound = string | string;
@@ -426,373 +429,376 @@ export declare function imageGenerationProviderPreferencesOnlyToJSON(imageGenera
426
429
  /** @internal */
427
430
  export type ImageGenerationProviderPreferencesOptions$Outbound = {
428
431
  "01ai"?: {
429
- [k: string]: any | null;
432
+ [k: string]: any;
430
433
  } | undefined;
431
434
  ai21?: {
432
- [k: string]: any | null;
435
+ [k: string]: any;
433
436
  } | undefined;
434
437
  "aion-labs"?: {
435
- [k: string]: any | null;
438
+ [k: string]: any;
436
439
  } | undefined;
437
440
  akashml?: {
438
- [k: string]: any | null;
441
+ [k: string]: any;
439
442
  } | undefined;
440
443
  alibaba?: {
441
- [k: string]: any | null;
444
+ [k: string]: any;
442
445
  } | undefined;
443
446
  "amazon-bedrock"?: {
444
- [k: string]: any | null;
447
+ [k: string]: any;
445
448
  } | undefined;
446
449
  "amazon-nova"?: {
447
- [k: string]: any | null;
450
+ [k: string]: any;
448
451
  } | undefined;
449
452
  ambient?: {
450
- [k: string]: any | null;
453
+ [k: string]: any;
451
454
  } | undefined;
452
455
  anthropic?: {
453
- [k: string]: any | null;
456
+ [k: string]: any;
454
457
  } | undefined;
455
458
  anyscale?: {
456
- [k: string]: any | null;
459
+ [k: string]: any;
457
460
  } | undefined;
458
461
  "arcee-ai"?: {
459
- [k: string]: any | null;
462
+ [k: string]: any;
460
463
  } | undefined;
461
464
  "atlas-cloud"?: {
462
- [k: string]: any | null;
465
+ [k: string]: any;
463
466
  } | undefined;
464
467
  atoma?: {
465
- [k: string]: any | null;
468
+ [k: string]: any;
466
469
  } | undefined;
467
470
  avian?: {
468
- [k: string]: any | null;
471
+ [k: string]: any;
469
472
  } | undefined;
470
473
  azure?: {
471
- [k: string]: any | null;
474
+ [k: string]: any;
472
475
  } | undefined;
473
476
  baidu?: {
474
- [k: string]: any | null;
477
+ [k: string]: any;
475
478
  } | undefined;
476
479
  baseten?: {
477
- [k: string]: any | null;
480
+ [k: string]: any;
478
481
  } | undefined;
479
482
  "black-forest-labs"?: {
480
- [k: string]: any | null;
483
+ [k: string]: any;
481
484
  } | undefined;
482
485
  byteplus?: {
483
- [k: string]: any | null;
486
+ [k: string]: any;
484
487
  } | undefined;
485
488
  centml?: {
486
- [k: string]: any | null;
489
+ [k: string]: any;
487
490
  } | undefined;
488
491
  cerebras?: {
489
- [k: string]: any | null;
492
+ [k: string]: any;
490
493
  } | undefined;
491
494
  chutes?: {
492
- [k: string]: any | null;
495
+ [k: string]: any;
493
496
  } | undefined;
494
497
  cirrascale?: {
495
- [k: string]: any | null;
498
+ [k: string]: any;
496
499
  } | undefined;
497
500
  clarifai?: {
498
- [k: string]: any | null;
501
+ [k: string]: any;
499
502
  } | undefined;
500
503
  cloudflare?: {
501
- [k: string]: any | null;
504
+ [k: string]: any;
502
505
  } | undefined;
503
506
  cohere?: {
504
- [k: string]: any | null;
507
+ [k: string]: any;
505
508
  } | undefined;
506
509
  crofai?: {
507
- [k: string]: any | null;
510
+ [k: string]: any;
508
511
  } | undefined;
509
512
  crucible?: {
510
- [k: string]: any | null;
513
+ [k: string]: any;
511
514
  } | undefined;
512
515
  crusoe?: {
513
- [k: string]: any | null;
516
+ [k: string]: any;
514
517
  } | undefined;
515
518
  darkbloom?: {
516
- [k: string]: any | null;
519
+ [k: string]: any;
517
520
  } | undefined;
518
521
  decart?: {
519
- [k: string]: any | null;
522
+ [k: string]: any;
520
523
  } | undefined;
521
524
  deepgram?: {
522
- [k: string]: any | null;
525
+ [k: string]: any;
523
526
  } | undefined;
524
527
  deepinfra?: {
525
- [k: string]: any | null;
528
+ [k: string]: any;
526
529
  } | undefined;
527
530
  deepseek?: {
528
- [k: string]: any | null;
531
+ [k: string]: any;
529
532
  } | undefined;
530
533
  dekallm?: {
531
- [k: string]: any | null;
534
+ [k: string]: any;
532
535
  } | undefined;
533
536
  digitalocean?: {
534
- [k: string]: any | null;
537
+ [k: string]: any;
535
538
  } | undefined;
536
539
  enfer?: {
537
- [k: string]: any | null;
540
+ [k: string]: any;
538
541
  } | undefined;
539
542
  "fake-provider"?: {
540
- [k: string]: any | null;
543
+ [k: string]: any;
541
544
  } | undefined;
542
545
  featherless?: {
543
- [k: string]: any | null;
546
+ [k: string]: any;
544
547
  } | undefined;
545
548
  fireworks?: {
546
- [k: string]: any | null;
549
+ [k: string]: any;
547
550
  } | undefined;
548
551
  friendli?: {
549
- [k: string]: any | null;
552
+ [k: string]: any;
550
553
  } | undefined;
551
554
  gmicloud?: {
552
- [k: string]: any | null;
555
+ [k: string]: any;
553
556
  } | undefined;
554
557
  "google-ai-studio"?: {
555
- [k: string]: any | null;
558
+ [k: string]: any;
556
559
  } | undefined;
557
560
  "google-vertex"?: {
558
- [k: string]: any | null;
561
+ [k: string]: any;
559
562
  } | undefined;
560
563
  gopomelo?: {
561
- [k: string]: any | null;
564
+ [k: string]: any;
562
565
  } | undefined;
563
566
  groq?: {
564
- [k: string]: any | null;
567
+ [k: string]: any;
565
568
  } | undefined;
566
569
  heygen?: {
567
- [k: string]: any | null;
570
+ [k: string]: any;
568
571
  } | undefined;
569
572
  huggingface?: {
570
- [k: string]: any | null;
573
+ [k: string]: any;
571
574
  } | undefined;
572
575
  hyperbolic?: {
573
- [k: string]: any | null;
576
+ [k: string]: any;
574
577
  } | undefined;
575
578
  "hyperbolic-quantized"?: {
576
- [k: string]: any | null;
579
+ [k: string]: any;
577
580
  } | undefined;
578
581
  inception?: {
579
- [k: string]: any | null;
582
+ [k: string]: any;
580
583
  } | undefined;
581
584
  inceptron?: {
582
- [k: string]: any | null;
585
+ [k: string]: any;
583
586
  } | undefined;
584
587
  "inferact-vllm"?: {
585
- [k: string]: any | null;
588
+ [k: string]: any;
586
589
  } | undefined;
587
590
  "inference-net"?: {
588
- [k: string]: any | null;
591
+ [k: string]: any;
589
592
  } | undefined;
590
593
  infermatic?: {
591
- [k: string]: any | null;
594
+ [k: string]: any;
592
595
  } | undefined;
593
596
  inflection?: {
594
- [k: string]: any | null;
597
+ [k: string]: any;
595
598
  } | undefined;
596
599
  inocloud?: {
597
- [k: string]: any | null;
600
+ [k: string]: any;
598
601
  } | undefined;
599
602
  "io-net"?: {
600
- [k: string]: any | null;
603
+ [k: string]: any;
601
604
  } | undefined;
602
605
  ionstream?: {
603
- [k: string]: any | null;
606
+ [k: string]: any;
604
607
  } | undefined;
605
608
  klusterai?: {
606
- [k: string]: any | null;
609
+ [k: string]: any;
607
610
  } | undefined;
608
611
  krea?: {
609
- [k: string]: any | null;
612
+ [k: string]: any;
610
613
  } | undefined;
611
614
  lambda?: {
612
- [k: string]: any | null;
615
+ [k: string]: any;
613
616
  } | undefined;
614
617
  lepton?: {
615
- [k: string]: any | null;
618
+ [k: string]: any;
616
619
  } | undefined;
617
620
  liquid?: {
618
- [k: string]: any | null;
621
+ [k: string]: any;
619
622
  } | undefined;
620
623
  lynn?: {
621
- [k: string]: any | null;
624
+ [k: string]: any;
622
625
  } | undefined;
623
626
  "lynn-private"?: {
624
- [k: string]: any | null;
627
+ [k: string]: any;
625
628
  } | undefined;
626
629
  mancer?: {
627
- [k: string]: any | null;
630
+ [k: string]: any;
628
631
  } | undefined;
629
632
  "mancer-old"?: {
630
- [k: string]: any | null;
633
+ [k: string]: any;
631
634
  } | undefined;
632
635
  mara?: {
633
- [k: string]: any | null;
636
+ [k: string]: any;
634
637
  } | undefined;
635
638
  meta?: {
636
- [k: string]: any | null;
639
+ [k: string]: any;
637
640
  } | undefined;
638
641
  minimax?: {
639
- [k: string]: any | null;
642
+ [k: string]: any;
640
643
  } | undefined;
641
644
  mistral?: {
642
- [k: string]: any | null;
645
+ [k: string]: any;
643
646
  } | undefined;
644
647
  modal?: {
645
- [k: string]: any | null;
648
+ [k: string]: any;
646
649
  } | undefined;
647
650
  modelrun?: {
648
- [k: string]: any | null;
651
+ [k: string]: any;
649
652
  } | undefined;
650
653
  modular?: {
651
- [k: string]: any | null;
654
+ [k: string]: any;
652
655
  } | undefined;
653
656
  moonshotai?: {
654
- [k: string]: any | null;
657
+ [k: string]: any;
655
658
  } | undefined;
656
659
  morph?: {
657
- [k: string]: any | null;
660
+ [k: string]: any;
658
661
  } | undefined;
659
662
  ncompass?: {
660
- [k: string]: any | null;
663
+ [k: string]: any;
661
664
  } | undefined;
662
665
  nebius?: {
663
- [k: string]: any | null;
666
+ [k: string]: any;
664
667
  } | undefined;
665
668
  "nex-agi"?: {
666
- [k: string]: any | null;
669
+ [k: string]: any;
667
670
  } | undefined;
668
671
  nextbit?: {
669
- [k: string]: any | null;
672
+ [k: string]: any;
670
673
  } | undefined;
671
674
  nineteen?: {
672
- [k: string]: any | null;
675
+ [k: string]: any;
673
676
  } | undefined;
674
677
  novita?: {
675
- [k: string]: any | null;
678
+ [k: string]: any;
676
679
  } | undefined;
677
680
  nvidia?: {
678
- [k: string]: any | null;
681
+ [k: string]: any;
679
682
  } | undefined;
680
683
  octoai?: {
681
- [k: string]: any | null;
684
+ [k: string]: any;
682
685
  } | undefined;
683
686
  "open-inference"?: {
684
- [k: string]: any | null;
687
+ [k: string]: any;
685
688
  } | undefined;
686
689
  openai?: {
687
- [k: string]: any | null;
690
+ [k: string]: any;
688
691
  } | undefined;
689
692
  parasail?: {
690
- [k: string]: any | null;
693
+ [k: string]: any;
691
694
  } | undefined;
692
695
  perceptron?: {
693
- [k: string]: any | null;
696
+ [k: string]: any;
694
697
  } | undefined;
695
698
  perplexity?: {
696
- [k: string]: any | null;
699
+ [k: string]: any;
697
700
  } | undefined;
698
701
  phala?: {
699
- [k: string]: any | null;
702
+ [k: string]: any;
700
703
  } | undefined;
701
704
  poolside?: {
702
- [k: string]: any | null;
705
+ [k: string]: any;
703
706
  } | undefined;
704
707
  quiver?: {
705
- [k: string]: any | null;
708
+ [k: string]: any;
706
709
  } | undefined;
707
710
  recraft?: {
708
- [k: string]: any | null;
711
+ [k: string]: any;
709
712
  } | undefined;
710
713
  recursal?: {
711
- [k: string]: any | null;
714
+ [k: string]: any;
712
715
  } | undefined;
713
716
  reflection?: {
714
- [k: string]: any | null;
717
+ [k: string]: any;
715
718
  } | undefined;
716
719
  reka?: {
717
- [k: string]: any | null;
720
+ [k: string]: any;
718
721
  } | undefined;
719
722
  relace?: {
720
- [k: string]: any | null;
723
+ [k: string]: any;
721
724
  } | undefined;
722
725
  replicate?: {
723
- [k: string]: any | null;
726
+ [k: string]: any;
724
727
  } | undefined;
725
728
  "sail-research"?: {
726
- [k: string]: any | null;
729
+ [k: string]: any;
727
730
  } | undefined;
728
731
  sakana?: {
729
- [k: string]: any | null;
732
+ [k: string]: any;
730
733
  } | undefined;
731
734
  sambanova?: {
732
- [k: string]: any | null;
735
+ [k: string]: any;
733
736
  } | undefined;
734
737
  "sambanova-cloaked"?: {
735
- [k: string]: any | null;
738
+ [k: string]: any;
736
739
  } | undefined;
737
740
  seed?: {
738
- [k: string]: any | null;
741
+ [k: string]: any;
739
742
  } | undefined;
740
743
  "sf-compute"?: {
741
- [k: string]: any | null;
744
+ [k: string]: any;
742
745
  } | undefined;
743
746
  siliconflow?: {
744
- [k: string]: any | null;
747
+ [k: string]: any;
745
748
  } | undefined;
746
749
  sourceful?: {
747
- [k: string]: any | null;
750
+ [k: string]: any;
748
751
  } | undefined;
749
752
  stealth?: {
750
- [k: string]: any | null;
753
+ [k: string]: any;
751
754
  } | undefined;
752
755
  stepfun?: {
753
- [k: string]: any | null;
756
+ [k: string]: any;
754
757
  } | undefined;
755
758
  streamlake?: {
756
- [k: string]: any | null;
759
+ [k: string]: any;
757
760
  } | undefined;
758
761
  switchpoint?: {
759
- [k: string]: any | null;
762
+ [k: string]: any;
760
763
  } | undefined;
761
764
  targon?: {
762
- [k: string]: any | null;
765
+ [k: string]: any;
766
+ } | undefined;
767
+ tencent?: {
768
+ [k: string]: any;
763
769
  } | undefined;
764
770
  tenstorrent?: {
765
- [k: string]: any | null;
771
+ [k: string]: any;
766
772
  } | undefined;
767
773
  together?: {
768
- [k: string]: any | null;
774
+ [k: string]: any;
769
775
  } | undefined;
770
776
  "together-lite"?: {
771
- [k: string]: any | null;
777
+ [k: string]: any;
772
778
  } | undefined;
773
779
  ubicloud?: {
774
- [k: string]: any | null;
780
+ [k: string]: any;
775
781
  } | undefined;
776
782
  upstage?: {
777
- [k: string]: any | null;
783
+ [k: string]: any;
778
784
  } | undefined;
779
785
  venice?: {
780
- [k: string]: any | null;
786
+ [k: string]: any;
781
787
  } | undefined;
782
788
  wafer?: {
783
- [k: string]: any | null;
789
+ [k: string]: any;
784
790
  } | undefined;
785
791
  wandb?: {
786
- [k: string]: any | null;
792
+ [k: string]: any;
787
793
  } | undefined;
788
794
  xai?: {
789
- [k: string]: any | null;
795
+ [k: string]: any;
790
796
  } | undefined;
791
797
  xiaomi?: {
792
- [k: string]: any | null;
798
+ [k: string]: any;
793
799
  } | undefined;
794
800
  "z-ai"?: {
795
- [k: string]: any | null;
801
+ [k: string]: any;
796
802
  } | undefined;
797
803
  };
798
804
  /** @internal */
@@ -804,7 +810,7 @@ export type ImageGenerationProviderPreferencesOrder$Outbound = string | string;
804
810
  export declare const ImageGenerationProviderPreferencesOrder$outboundSchema: z.ZodType<ImageGenerationProviderPreferencesOrder$Outbound, ImageGenerationProviderPreferencesOrder>;
805
811
  export declare function imageGenerationProviderPreferencesOrderToJSON(imageGenerationProviderPreferencesOrder: ImageGenerationProviderPreferencesOrder): string;
806
812
  /** @internal */
807
- export type ImageGenerationProviderPreferencesSort$Outbound = string | ProviderSortConfig$Outbound | any;
813
+ export type ImageGenerationProviderPreferencesSort$Outbound = string | ProviderSortConfig$Outbound;
808
814
  /** @internal */
809
815
  export declare const ImageGenerationProviderPreferencesSort$outboundSchema: z.ZodType<ImageGenerationProviderPreferencesSort$Outbound, ImageGenerationProviderPreferencesSort>;
810
816
  export declare function imageGenerationProviderPreferencesSortToJSON(imageGenerationProviderPreferencesSort: ImageGenerationProviderPreferencesSort): string;
@@ -815,7 +821,7 @@ export type ImageGenerationProviderPreferences$Outbound = {
815
821
  only?: Array<string | string> | null | undefined;
816
822
  options?: ImageGenerationProviderPreferencesOptions$Outbound | undefined;
817
823
  order?: Array<string | string> | null | undefined;
818
- sort?: string | ProviderSortConfig$Outbound | any | null | undefined;
824
+ sort?: string | ProviderSortConfig$Outbound | null | undefined;
819
825
  };
820
826
  /** @internal */
821
827
  export declare const ImageGenerationProviderPreferences$outboundSchema: z.ZodType<ImageGenerationProviderPreferences$Outbound, ImageGenerationProviderPreferences>;