@orq-ai/node 4.2.7 → 4.2.9
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.
- package/examples/package-lock.json +1 -1
- package/funcs/routerAudioTranscriptionsCreate.js +15 -0
- package/funcs/routerAudioTranscriptionsCreate.js.map +1 -1
- package/funcs/routerAudioTranslationsCreate.js +15 -0
- package/funcs/routerAudioTranslationsCreate.js.map +1 -1
- package/funcs/routerImagesEditsCreate.js +18 -0
- package/funcs/routerImagesEditsCreate.js.map +1 -1
- package/funcs/routerImagesVariationsCreate.js +18 -0
- package/funcs/routerImagesVariationsCreate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/conversationresponse.js +1 -1
- package/models/components/conversationwithmessagesresponse.js +1 -1
- package/models/components/partdoneevent.js +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +18 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +4 -0
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +5 -0
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +1 -0
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createcompletion.d.ts +193 -44
- package/models/operations/createcompletion.d.ts.map +1 -1
- package/models/operations/createcompletion.js +125 -38
- package/models/operations/createcompletion.js.map +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createconversation.js +1 -1
- package/models/operations/createconversationresponse.js +2 -2
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createembedding.d.ts +176 -27
- package/models/operations/createembedding.d.ts.map +1 -1
- package/models/operations/createembedding.js +104 -17
- package/models/operations/createembedding.js.map +1 -1
- package/models/operations/createeval.js +14 -14
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createimage.d.ts +173 -24
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +100 -14
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/createimageedit.d.ts +187 -38
- package/models/operations/createimageedit.d.ts.map +1 -1
- package/models/operations/createimageedit.js +114 -27
- package/models/operations/createimageedit.js.map +1 -1
- package/models/operations/createimagevariation.d.ts +187 -38
- package/models/operations/createimagevariation.d.ts.map +1 -1
- package/models/operations/createimagevariation.js +115 -29
- package/models/operations/createimagevariation.js.map +1 -1
- package/models/operations/createprompt.d.ts +9 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +2 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/creatererank.d.ts +176 -27
- package/models/operations/creatererank.d.ts.map +1 -1
- package/models/operations/creatererank.js +103 -18
- package/models/operations/creatererank.js.map +1 -1
- package/models/operations/createspeech.d.ts +150 -30
- package/models/operations/createspeech.d.ts.map +1 -1
- package/models/operations/createspeech.js +93 -22
- package/models/operations/createspeech.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/createtranscription.d.ts +129 -9
- package/models/operations/createtranscription.d.ts.map +1 -1
- package/models/operations/createtranscription.js +78 -7
- package/models/operations/createtranscription.js.map +1 -1
- package/models/operations/createtranslation.d.ts +129 -9
- package/models/operations/createtranslation.d.ts.map +1 -1
- package/models/operations/createtranslation.js +76 -7
- package/models/operations/createtranslation.js.map +1 -1
- package/models/operations/fileget.js +1 -1
- package/models/operations/filelist.js +1 -1
- package/models/operations/fileupload.js +1 -1
- package/models/operations/generateconversationname.js +1 -1
- package/models/operations/getallprompts.d.ts +4 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +14 -14
- package/models/operations/getoneprompt.d.ts +4 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +4 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +8 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +2 -0
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/listpromptversions.d.ts +4 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +8 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -0
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +10 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +3 -1
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +10 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +3 -1
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +18 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +4 -0
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updateconversation.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +14 -14
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updateprompt.d.ts +9 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +2 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/src/funcs/routerAudioTranscriptionsCreate.ts +31 -0
- package/src/funcs/routerAudioTranslationsCreate.ts +31 -0
- package/src/funcs/routerImagesEditsCreate.ts +38 -0
- package/src/funcs/routerImagesVariationsCreate.ts +38 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/conversationresponse.ts +1 -1
- package/src/models/components/conversationwithmessagesresponse.ts +1 -1
- package/src/models/components/partdoneevent.ts +1 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +22 -0
- package/src/models/operations/createchatcompletion.ts +6 -0
- package/src/models/operations/createcompletion.ts +432 -97
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createconversation.ts +1 -1
- package/src/models/operations/createconversationresponse.ts +2 -2
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createembedding.ts +383 -53
- package/src/models/operations/createeval.ts +14 -14
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createimage.ts +382 -45
- package/src/models/operations/createimageedit.ts +406 -73
- package/src/models/operations/createimagevariation.ts +428 -78
- package/src/models/operations/createprompt.ts +11 -0
- package/src/models/operations/creatererank.ts +369 -54
- package/src/models/operations/createspeech.ts +333 -61
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/createtranscription.ts +312 -15
- package/src/models/operations/createtranslation.ts +307 -15
- package/src/models/operations/fileget.ts +1 -1
- package/src/models/operations/filelist.ts +1 -1
- package/src/models/operations/fileupload.ts +1 -1
- package/src/models/operations/generateconversationname.ts +1 -1
- package/src/models/operations/getallprompts.ts +5 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +14 -14
- package/src/models/operations/getoneprompt.ts +5 -0
- package/src/models/operations/getpromptversion.ts +5 -0
- package/src/models/operations/listagents.ts +10 -0
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/listpromptversions.ts +5 -0
- package/src/models/operations/retrieveagentrequest.ts +10 -0
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +13 -1
- package/src/models/operations/streamrunagent.ts +13 -1
- package/src/models/operations/updateagent.ts +22 -0
- package/src/models/operations/updateconversation.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +14 -14
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updateprompt.ts +11 -0
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -37,6 +37,13 @@ export const Size = {
|
|
|
37
37
|
*/
|
|
38
38
|
export type Size = ClosedEnum<typeof Size>;
|
|
39
39
|
|
|
40
|
+
export type CreateImageVariationFallbacks = {
|
|
41
|
+
/**
|
|
42
|
+
* Fallback model identifier
|
|
43
|
+
*/
|
|
44
|
+
model: string;
|
|
45
|
+
};
|
|
46
|
+
|
|
40
47
|
/**
|
|
41
48
|
* Retry configuration for the request
|
|
42
49
|
*/
|
|
@@ -51,7 +58,78 @@ export type CreateImageVariationRetry = {
|
|
|
51
58
|
onCodes?: Array<number> | undefined;
|
|
52
59
|
};
|
|
53
60
|
|
|
54
|
-
export
|
|
61
|
+
export const CreateImageVariationType = {
|
|
62
|
+
ExactMatch: "exact_match",
|
|
63
|
+
} as const;
|
|
64
|
+
export type CreateImageVariationType = ClosedEnum<
|
|
65
|
+
typeof CreateImageVariationType
|
|
66
|
+
>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Cache configuration for the request.
|
|
70
|
+
*/
|
|
71
|
+
export type CreateImageVariationCache = {
|
|
72
|
+
/**
|
|
73
|
+
* Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
|
|
74
|
+
*/
|
|
75
|
+
ttl?: number | undefined;
|
|
76
|
+
type: CreateImageVariationType;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export const CreateImageVariationLoadBalancerType = {
|
|
80
|
+
WeightBased: "weight_based",
|
|
81
|
+
} as const;
|
|
82
|
+
export type CreateImageVariationLoadBalancerType = ClosedEnum<
|
|
83
|
+
typeof CreateImageVariationLoadBalancerType
|
|
84
|
+
>;
|
|
85
|
+
|
|
86
|
+
export type CreateImageVariationLoadBalancerModels = {
|
|
87
|
+
/**
|
|
88
|
+
* Model identifier for load balancing
|
|
89
|
+
*/
|
|
90
|
+
model: string;
|
|
91
|
+
/**
|
|
92
|
+
* Weight assigned to this model for load balancing
|
|
93
|
+
*/
|
|
94
|
+
weight?: number | undefined;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export type CreateImageVariationLoadBalancer1 = {
|
|
98
|
+
type: CreateImageVariationLoadBalancerType;
|
|
99
|
+
models: Array<CreateImageVariationLoadBalancerModels>;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Load balancer configuration for the request.
|
|
104
|
+
*/
|
|
105
|
+
export type CreateImageVariationLoadBalancer =
|
|
106
|
+
CreateImageVariationLoadBalancer1;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
110
|
+
*/
|
|
111
|
+
export type CreateImageVariationTimeout = {
|
|
112
|
+
/**
|
|
113
|
+
* Timeout value in milliseconds
|
|
114
|
+
*/
|
|
115
|
+
callTimeout: number;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Retry configuration for the request
|
|
120
|
+
*/
|
|
121
|
+
export type CreateImageVariationRouterImagesVariationsRetry = {
|
|
122
|
+
/**
|
|
123
|
+
* Number of retry attempts (1-5)
|
|
124
|
+
*/
|
|
125
|
+
count?: number | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* HTTP status codes that trigger retry logic
|
|
128
|
+
*/
|
|
129
|
+
onCodes?: Array<number> | undefined;
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
export type CreateImageVariationRouterImagesVariationsFallbacks = {
|
|
55
133
|
/**
|
|
56
134
|
* Fallback model identifier
|
|
57
135
|
*/
|
|
@@ -85,32 +163,31 @@ export type CreateImageVariationPrompt = {
|
|
|
85
163
|
version: CreateImageVariationVersion;
|
|
86
164
|
};
|
|
87
165
|
|
|
88
|
-
export const
|
|
166
|
+
export const CreateImageVariationRouterImagesVariationsType = {
|
|
89
167
|
ExactMatch: "exact_match",
|
|
90
168
|
} as const;
|
|
91
|
-
export type
|
|
92
|
-
typeof
|
|
169
|
+
export type CreateImageVariationRouterImagesVariationsType = ClosedEnum<
|
|
170
|
+
typeof CreateImageVariationRouterImagesVariationsType
|
|
93
171
|
>;
|
|
94
172
|
|
|
95
173
|
/**
|
|
96
174
|
* Cache configuration for the request.
|
|
97
175
|
*/
|
|
98
|
-
export type
|
|
176
|
+
export type CreateImageVariationRouterImagesVariationsCache = {
|
|
99
177
|
/**
|
|
100
178
|
* Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
|
|
101
179
|
*/
|
|
102
180
|
ttl?: number | undefined;
|
|
103
|
-
type:
|
|
181
|
+
type: CreateImageVariationRouterImagesVariationsType;
|
|
104
182
|
};
|
|
105
183
|
|
|
106
|
-
export const
|
|
184
|
+
export const CreateImageVariationLoadBalancerRouterImagesVariationsType = {
|
|
107
185
|
WeightBased: "weight_based",
|
|
108
186
|
} as const;
|
|
109
|
-
export type
|
|
110
|
-
typeof
|
|
111
|
-
>;
|
|
187
|
+
export type CreateImageVariationLoadBalancerRouterImagesVariationsType =
|
|
188
|
+
ClosedEnum<typeof CreateImageVariationLoadBalancerRouterImagesVariationsType>;
|
|
112
189
|
|
|
113
|
-
export type
|
|
190
|
+
export type CreateImageVariationLoadBalancerRouterImagesVariationsModels = {
|
|
114
191
|
/**
|
|
115
192
|
* Model identifier for load balancing
|
|
116
193
|
*/
|
|
@@ -121,21 +198,21 @@ export type CreateImageVariationLoadBalancerModels = {
|
|
|
121
198
|
weight?: number | undefined;
|
|
122
199
|
};
|
|
123
200
|
|
|
124
|
-
export type
|
|
125
|
-
type:
|
|
126
|
-
models: Array<
|
|
201
|
+
export type CreateImageVariationLoadBalancerRouterImagesVariations1 = {
|
|
202
|
+
type: CreateImageVariationLoadBalancerRouterImagesVariationsType;
|
|
203
|
+
models: Array<CreateImageVariationLoadBalancerRouterImagesVariationsModels>;
|
|
127
204
|
};
|
|
128
205
|
|
|
129
206
|
/**
|
|
130
207
|
* Array of models with weights for load balancing requests
|
|
131
208
|
*/
|
|
132
|
-
export type
|
|
133
|
-
|
|
209
|
+
export type CreateImageVariationRouterImagesVariationsLoadBalancer =
|
|
210
|
+
CreateImageVariationLoadBalancerRouterImagesVariations1;
|
|
134
211
|
|
|
135
212
|
/**
|
|
136
213
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
137
214
|
*/
|
|
138
|
-
export type
|
|
215
|
+
export type CreateImageVariationRouterImagesVariationsTimeout = {
|
|
139
216
|
/**
|
|
140
217
|
* Timeout value in milliseconds
|
|
141
218
|
*/
|
|
@@ -150,11 +227,13 @@ export type CreateImageVariationOrq = {
|
|
|
150
227
|
/**
|
|
151
228
|
* Retry configuration for the request
|
|
152
229
|
*/
|
|
153
|
-
retry?:
|
|
230
|
+
retry?: CreateImageVariationRouterImagesVariationsRetry | undefined;
|
|
154
231
|
/**
|
|
155
232
|
* Array of fallback models to use if primary model fails
|
|
156
233
|
*/
|
|
157
|
-
fallbacks?:
|
|
234
|
+
fallbacks?:
|
|
235
|
+
| Array<CreateImageVariationRouterImagesVariationsFallbacks>
|
|
236
|
+
| undefined;
|
|
158
237
|
/**
|
|
159
238
|
* Prompt configuration for the request
|
|
160
239
|
*/
|
|
@@ -172,15 +251,17 @@ export type CreateImageVariationOrq = {
|
|
|
172
251
|
/**
|
|
173
252
|
* Cache configuration for the request.
|
|
174
253
|
*/
|
|
175
|
-
cache?:
|
|
254
|
+
cache?: CreateImageVariationRouterImagesVariationsCache | undefined;
|
|
176
255
|
/**
|
|
177
256
|
* Array of models with weights for load balancing requests
|
|
178
257
|
*/
|
|
179
|
-
loadBalancer?:
|
|
258
|
+
loadBalancer?:
|
|
259
|
+
| CreateImageVariationLoadBalancerRouterImagesVariations1
|
|
260
|
+
| undefined;
|
|
180
261
|
/**
|
|
181
262
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
182
263
|
*/
|
|
183
|
-
timeout?:
|
|
264
|
+
timeout?: CreateImageVariationRouterImagesVariationsTimeout | undefined;
|
|
184
265
|
};
|
|
185
266
|
|
|
186
267
|
/**
|
|
@@ -211,6 +292,30 @@ export type CreateImageVariationRequestBody = {
|
|
|
211
292
|
* A unique identifier representing your end-user, which can help to monitor and detect abuse.
|
|
212
293
|
*/
|
|
213
294
|
user?: string | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* The name to display on the trace. If not specified, the default system name will be used.
|
|
297
|
+
*/
|
|
298
|
+
name?: string | undefined;
|
|
299
|
+
/**
|
|
300
|
+
* Array of fallback models to use if primary model fails
|
|
301
|
+
*/
|
|
302
|
+
fallbacks?: Array<CreateImageVariationFallbacks> | undefined;
|
|
303
|
+
/**
|
|
304
|
+
* Retry configuration for the request
|
|
305
|
+
*/
|
|
306
|
+
retry?: CreateImageVariationRetry | undefined;
|
|
307
|
+
/**
|
|
308
|
+
* Cache configuration for the request.
|
|
309
|
+
*/
|
|
310
|
+
cache?: CreateImageVariationCache | undefined;
|
|
311
|
+
/**
|
|
312
|
+
* Load balancer configuration for the request.
|
|
313
|
+
*/
|
|
314
|
+
loadBalancer?: CreateImageVariationLoadBalancer1 | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
317
|
+
*/
|
|
318
|
+
timeout?: CreateImageVariationTimeout | undefined;
|
|
214
319
|
orq?: CreateImageVariationOrq | undefined;
|
|
215
320
|
};
|
|
216
321
|
|
|
@@ -301,34 +406,6 @@ export const Size$outboundSchema: z.ZodNativeEnum<typeof Size> = z.nativeEnum(
|
|
|
301
406
|
Size,
|
|
302
407
|
);
|
|
303
408
|
|
|
304
|
-
/** @internal */
|
|
305
|
-
export type CreateImageVariationRetry$Outbound = {
|
|
306
|
-
count: number;
|
|
307
|
-
on_codes?: Array<number> | undefined;
|
|
308
|
-
};
|
|
309
|
-
|
|
310
|
-
/** @internal */
|
|
311
|
-
export const CreateImageVariationRetry$outboundSchema: z.ZodType<
|
|
312
|
-
CreateImageVariationRetry$Outbound,
|
|
313
|
-
z.ZodTypeDef,
|
|
314
|
-
CreateImageVariationRetry
|
|
315
|
-
> = z.object({
|
|
316
|
-
count: z.number().default(3),
|
|
317
|
-
onCodes: z.array(z.number()).optional(),
|
|
318
|
-
}).transform((v) => {
|
|
319
|
-
return remap$(v, {
|
|
320
|
-
onCodes: "on_codes",
|
|
321
|
-
});
|
|
322
|
-
});
|
|
323
|
-
|
|
324
|
-
export function createImageVariationRetryToJSON(
|
|
325
|
-
createImageVariationRetry: CreateImageVariationRetry,
|
|
326
|
-
): string {
|
|
327
|
-
return JSON.stringify(
|
|
328
|
-
CreateImageVariationRetry$outboundSchema.parse(createImageVariationRetry),
|
|
329
|
-
);
|
|
330
|
-
}
|
|
331
|
-
|
|
332
409
|
/** @internal */
|
|
333
410
|
export type CreateImageVariationFallbacks$Outbound = {
|
|
334
411
|
model: string;
|
|
@@ -354,31 +431,30 @@ export function createImageVariationFallbacksToJSON(
|
|
|
354
431
|
}
|
|
355
432
|
|
|
356
433
|
/** @internal */
|
|
357
|
-
export
|
|
358
|
-
|
|
359
|
-
>
|
|
360
|
-
|
|
361
|
-
/** @internal */
|
|
362
|
-
export type CreateImageVariationPrompt$Outbound = {
|
|
363
|
-
id: string;
|
|
364
|
-
version: string;
|
|
434
|
+
export type CreateImageVariationRetry$Outbound = {
|
|
435
|
+
count: number;
|
|
436
|
+
on_codes?: Array<number> | undefined;
|
|
365
437
|
};
|
|
366
438
|
|
|
367
439
|
/** @internal */
|
|
368
|
-
export const
|
|
369
|
-
|
|
440
|
+
export const CreateImageVariationRetry$outboundSchema: z.ZodType<
|
|
441
|
+
CreateImageVariationRetry$Outbound,
|
|
370
442
|
z.ZodTypeDef,
|
|
371
|
-
|
|
443
|
+
CreateImageVariationRetry
|
|
372
444
|
> = z.object({
|
|
373
|
-
|
|
374
|
-
|
|
445
|
+
count: z.number().default(3),
|
|
446
|
+
onCodes: z.array(z.number()).optional(),
|
|
447
|
+
}).transform((v) => {
|
|
448
|
+
return remap$(v, {
|
|
449
|
+
onCodes: "on_codes",
|
|
450
|
+
});
|
|
375
451
|
});
|
|
376
452
|
|
|
377
|
-
export function
|
|
378
|
-
|
|
453
|
+
export function createImageVariationRetryToJSON(
|
|
454
|
+
createImageVariationRetry: CreateImageVariationRetry,
|
|
379
455
|
): string {
|
|
380
456
|
return JSON.stringify(
|
|
381
|
-
|
|
457
|
+
CreateImageVariationRetry$outboundSchema.parse(createImageVariationRetry),
|
|
382
458
|
);
|
|
383
459
|
}
|
|
384
460
|
|
|
@@ -521,17 +597,266 @@ export function createImageVariationTimeoutToJSON(
|
|
|
521
597
|
);
|
|
522
598
|
}
|
|
523
599
|
|
|
600
|
+
/** @internal */
|
|
601
|
+
export type CreateImageVariationRouterImagesVariationsRetry$Outbound = {
|
|
602
|
+
count: number;
|
|
603
|
+
on_codes?: Array<number> | undefined;
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
/** @internal */
|
|
607
|
+
export const CreateImageVariationRouterImagesVariationsRetry$outboundSchema:
|
|
608
|
+
z.ZodType<
|
|
609
|
+
CreateImageVariationRouterImagesVariationsRetry$Outbound,
|
|
610
|
+
z.ZodTypeDef,
|
|
611
|
+
CreateImageVariationRouterImagesVariationsRetry
|
|
612
|
+
> = z.object({
|
|
613
|
+
count: z.number().default(3),
|
|
614
|
+
onCodes: z.array(z.number()).optional(),
|
|
615
|
+
}).transform((v) => {
|
|
616
|
+
return remap$(v, {
|
|
617
|
+
onCodes: "on_codes",
|
|
618
|
+
});
|
|
619
|
+
});
|
|
620
|
+
|
|
621
|
+
export function createImageVariationRouterImagesVariationsRetryToJSON(
|
|
622
|
+
createImageVariationRouterImagesVariationsRetry:
|
|
623
|
+
CreateImageVariationRouterImagesVariationsRetry,
|
|
624
|
+
): string {
|
|
625
|
+
return JSON.stringify(
|
|
626
|
+
CreateImageVariationRouterImagesVariationsRetry$outboundSchema.parse(
|
|
627
|
+
createImageVariationRouterImagesVariationsRetry,
|
|
628
|
+
),
|
|
629
|
+
);
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/** @internal */
|
|
633
|
+
export type CreateImageVariationRouterImagesVariationsFallbacks$Outbound = {
|
|
634
|
+
model: string;
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
/** @internal */
|
|
638
|
+
export const CreateImageVariationRouterImagesVariationsFallbacks$outboundSchema:
|
|
639
|
+
z.ZodType<
|
|
640
|
+
CreateImageVariationRouterImagesVariationsFallbacks$Outbound,
|
|
641
|
+
z.ZodTypeDef,
|
|
642
|
+
CreateImageVariationRouterImagesVariationsFallbacks
|
|
643
|
+
> = z.object({
|
|
644
|
+
model: z.string(),
|
|
645
|
+
});
|
|
646
|
+
|
|
647
|
+
export function createImageVariationRouterImagesVariationsFallbacksToJSON(
|
|
648
|
+
createImageVariationRouterImagesVariationsFallbacks:
|
|
649
|
+
CreateImageVariationRouterImagesVariationsFallbacks,
|
|
650
|
+
): string {
|
|
651
|
+
return JSON.stringify(
|
|
652
|
+
CreateImageVariationRouterImagesVariationsFallbacks$outboundSchema.parse(
|
|
653
|
+
createImageVariationRouterImagesVariationsFallbacks,
|
|
654
|
+
),
|
|
655
|
+
);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/** @internal */
|
|
659
|
+
export const CreateImageVariationVersion$outboundSchema: z.ZodNativeEnum<
|
|
660
|
+
typeof CreateImageVariationVersion
|
|
661
|
+
> = z.nativeEnum(CreateImageVariationVersion);
|
|
662
|
+
|
|
663
|
+
/** @internal */
|
|
664
|
+
export type CreateImageVariationPrompt$Outbound = {
|
|
665
|
+
id: string;
|
|
666
|
+
version: string;
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
/** @internal */
|
|
670
|
+
export const CreateImageVariationPrompt$outboundSchema: z.ZodType<
|
|
671
|
+
CreateImageVariationPrompt$Outbound,
|
|
672
|
+
z.ZodTypeDef,
|
|
673
|
+
CreateImageVariationPrompt
|
|
674
|
+
> = z.object({
|
|
675
|
+
id: z.string(),
|
|
676
|
+
version: CreateImageVariationVersion$outboundSchema,
|
|
677
|
+
});
|
|
678
|
+
|
|
679
|
+
export function createImageVariationPromptToJSON(
|
|
680
|
+
createImageVariationPrompt: CreateImageVariationPrompt,
|
|
681
|
+
): string {
|
|
682
|
+
return JSON.stringify(
|
|
683
|
+
CreateImageVariationPrompt$outboundSchema.parse(createImageVariationPrompt),
|
|
684
|
+
);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/** @internal */
|
|
688
|
+
export const CreateImageVariationRouterImagesVariationsType$outboundSchema:
|
|
689
|
+
z.ZodNativeEnum<typeof CreateImageVariationRouterImagesVariationsType> = z
|
|
690
|
+
.nativeEnum(CreateImageVariationRouterImagesVariationsType);
|
|
691
|
+
|
|
692
|
+
/** @internal */
|
|
693
|
+
export type CreateImageVariationRouterImagesVariationsCache$Outbound = {
|
|
694
|
+
ttl: number;
|
|
695
|
+
type: string;
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
/** @internal */
|
|
699
|
+
export const CreateImageVariationRouterImagesVariationsCache$outboundSchema:
|
|
700
|
+
z.ZodType<
|
|
701
|
+
CreateImageVariationRouterImagesVariationsCache$Outbound,
|
|
702
|
+
z.ZodTypeDef,
|
|
703
|
+
CreateImageVariationRouterImagesVariationsCache
|
|
704
|
+
> = z.object({
|
|
705
|
+
ttl: z.number().default(1800),
|
|
706
|
+
type: CreateImageVariationRouterImagesVariationsType$outboundSchema,
|
|
707
|
+
});
|
|
708
|
+
|
|
709
|
+
export function createImageVariationRouterImagesVariationsCacheToJSON(
|
|
710
|
+
createImageVariationRouterImagesVariationsCache:
|
|
711
|
+
CreateImageVariationRouterImagesVariationsCache,
|
|
712
|
+
): string {
|
|
713
|
+
return JSON.stringify(
|
|
714
|
+
CreateImageVariationRouterImagesVariationsCache$outboundSchema.parse(
|
|
715
|
+
createImageVariationRouterImagesVariationsCache,
|
|
716
|
+
),
|
|
717
|
+
);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/** @internal */
|
|
721
|
+
export const CreateImageVariationLoadBalancerRouterImagesVariationsType$outboundSchema:
|
|
722
|
+
z.ZodNativeEnum<
|
|
723
|
+
typeof CreateImageVariationLoadBalancerRouterImagesVariationsType
|
|
724
|
+
> = z.nativeEnum(CreateImageVariationLoadBalancerRouterImagesVariationsType);
|
|
725
|
+
|
|
726
|
+
/** @internal */
|
|
727
|
+
export type CreateImageVariationLoadBalancerRouterImagesVariationsModels$Outbound =
|
|
728
|
+
{
|
|
729
|
+
model: string;
|
|
730
|
+
weight: number;
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
/** @internal */
|
|
734
|
+
export const CreateImageVariationLoadBalancerRouterImagesVariationsModels$outboundSchema:
|
|
735
|
+
z.ZodType<
|
|
736
|
+
CreateImageVariationLoadBalancerRouterImagesVariationsModels$Outbound,
|
|
737
|
+
z.ZodTypeDef,
|
|
738
|
+
CreateImageVariationLoadBalancerRouterImagesVariationsModels
|
|
739
|
+
> = z.object({
|
|
740
|
+
model: z.string(),
|
|
741
|
+
weight: z.number().default(0.5),
|
|
742
|
+
});
|
|
743
|
+
|
|
744
|
+
export function createImageVariationLoadBalancerRouterImagesVariationsModelsToJSON(
|
|
745
|
+
createImageVariationLoadBalancerRouterImagesVariationsModels:
|
|
746
|
+
CreateImageVariationLoadBalancerRouterImagesVariationsModels,
|
|
747
|
+
): string {
|
|
748
|
+
return JSON.stringify(
|
|
749
|
+
CreateImageVariationLoadBalancerRouterImagesVariationsModels$outboundSchema
|
|
750
|
+
.parse(createImageVariationLoadBalancerRouterImagesVariationsModels),
|
|
751
|
+
);
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/** @internal */
|
|
755
|
+
export type CreateImageVariationLoadBalancerRouterImagesVariations1$Outbound = {
|
|
756
|
+
type: string;
|
|
757
|
+
models: Array<
|
|
758
|
+
CreateImageVariationLoadBalancerRouterImagesVariationsModels$Outbound
|
|
759
|
+
>;
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
/** @internal */
|
|
763
|
+
export const CreateImageVariationLoadBalancerRouterImagesVariations1$outboundSchema:
|
|
764
|
+
z.ZodType<
|
|
765
|
+
CreateImageVariationLoadBalancerRouterImagesVariations1$Outbound,
|
|
766
|
+
z.ZodTypeDef,
|
|
767
|
+
CreateImageVariationLoadBalancerRouterImagesVariations1
|
|
768
|
+
> = z.object({
|
|
769
|
+
type:
|
|
770
|
+
CreateImageVariationLoadBalancerRouterImagesVariationsType$outboundSchema,
|
|
771
|
+
models: z.array(
|
|
772
|
+
z.lazy(() =>
|
|
773
|
+
CreateImageVariationLoadBalancerRouterImagesVariationsModels$outboundSchema
|
|
774
|
+
),
|
|
775
|
+
),
|
|
776
|
+
});
|
|
777
|
+
|
|
778
|
+
export function createImageVariationLoadBalancerRouterImagesVariations1ToJSON(
|
|
779
|
+
createImageVariationLoadBalancerRouterImagesVariations1:
|
|
780
|
+
CreateImageVariationLoadBalancerRouterImagesVariations1,
|
|
781
|
+
): string {
|
|
782
|
+
return JSON.stringify(
|
|
783
|
+
CreateImageVariationLoadBalancerRouterImagesVariations1$outboundSchema
|
|
784
|
+
.parse(createImageVariationLoadBalancerRouterImagesVariations1),
|
|
785
|
+
);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/** @internal */
|
|
789
|
+
export type CreateImageVariationRouterImagesVariationsLoadBalancer$Outbound =
|
|
790
|
+
CreateImageVariationLoadBalancerRouterImagesVariations1$Outbound;
|
|
791
|
+
|
|
792
|
+
/** @internal */
|
|
793
|
+
export const CreateImageVariationRouterImagesVariationsLoadBalancer$outboundSchema:
|
|
794
|
+
z.ZodType<
|
|
795
|
+
CreateImageVariationRouterImagesVariationsLoadBalancer$Outbound,
|
|
796
|
+
z.ZodTypeDef,
|
|
797
|
+
CreateImageVariationRouterImagesVariationsLoadBalancer
|
|
798
|
+
> = z.lazy(() =>
|
|
799
|
+
CreateImageVariationLoadBalancerRouterImagesVariations1$outboundSchema
|
|
800
|
+
);
|
|
801
|
+
|
|
802
|
+
export function createImageVariationRouterImagesVariationsLoadBalancerToJSON(
|
|
803
|
+
createImageVariationRouterImagesVariationsLoadBalancer:
|
|
804
|
+
CreateImageVariationRouterImagesVariationsLoadBalancer,
|
|
805
|
+
): string {
|
|
806
|
+
return JSON.stringify(
|
|
807
|
+
CreateImageVariationRouterImagesVariationsLoadBalancer$outboundSchema.parse(
|
|
808
|
+
createImageVariationRouterImagesVariationsLoadBalancer,
|
|
809
|
+
),
|
|
810
|
+
);
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
/** @internal */
|
|
814
|
+
export type CreateImageVariationRouterImagesVariationsTimeout$Outbound = {
|
|
815
|
+
call_timeout: number;
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
/** @internal */
|
|
819
|
+
export const CreateImageVariationRouterImagesVariationsTimeout$outboundSchema:
|
|
820
|
+
z.ZodType<
|
|
821
|
+
CreateImageVariationRouterImagesVariationsTimeout$Outbound,
|
|
822
|
+
z.ZodTypeDef,
|
|
823
|
+
CreateImageVariationRouterImagesVariationsTimeout
|
|
824
|
+
> = z.object({
|
|
825
|
+
callTimeout: z.number(),
|
|
826
|
+
}).transform((v) => {
|
|
827
|
+
return remap$(v, {
|
|
828
|
+
callTimeout: "call_timeout",
|
|
829
|
+
});
|
|
830
|
+
});
|
|
831
|
+
|
|
832
|
+
export function createImageVariationRouterImagesVariationsTimeoutToJSON(
|
|
833
|
+
createImageVariationRouterImagesVariationsTimeout:
|
|
834
|
+
CreateImageVariationRouterImagesVariationsTimeout,
|
|
835
|
+
): string {
|
|
836
|
+
return JSON.stringify(
|
|
837
|
+
CreateImageVariationRouterImagesVariationsTimeout$outboundSchema.parse(
|
|
838
|
+
createImageVariationRouterImagesVariationsTimeout,
|
|
839
|
+
),
|
|
840
|
+
);
|
|
841
|
+
}
|
|
842
|
+
|
|
524
843
|
/** @internal */
|
|
525
844
|
export type CreateImageVariationOrq$Outbound = {
|
|
526
845
|
name?: string | undefined;
|
|
527
|
-
retry?:
|
|
528
|
-
fallbacks?:
|
|
846
|
+
retry?: CreateImageVariationRouterImagesVariationsRetry$Outbound | undefined;
|
|
847
|
+
fallbacks?:
|
|
848
|
+
| Array<CreateImageVariationRouterImagesVariationsFallbacks$Outbound>
|
|
849
|
+
| undefined;
|
|
529
850
|
prompt?: CreateImageVariationPrompt$Outbound | undefined;
|
|
530
851
|
identity?: components.PublicIdentity$Outbound | undefined;
|
|
531
852
|
contact?: components.PublicContact$Outbound | undefined;
|
|
532
|
-
cache?:
|
|
533
|
-
load_balancer?:
|
|
534
|
-
|
|
853
|
+
cache?: CreateImageVariationRouterImagesVariationsCache$Outbound | undefined;
|
|
854
|
+
load_balancer?:
|
|
855
|
+
| CreateImageVariationLoadBalancerRouterImagesVariations1$Outbound
|
|
856
|
+
| undefined;
|
|
857
|
+
timeout?:
|
|
858
|
+
| CreateImageVariationRouterImagesVariationsTimeout$Outbound
|
|
859
|
+
| undefined;
|
|
535
860
|
};
|
|
536
861
|
|
|
537
862
|
/** @internal */
|
|
@@ -541,16 +866,26 @@ export const CreateImageVariationOrq$outboundSchema: z.ZodType<
|
|
|
541
866
|
CreateImageVariationOrq
|
|
542
867
|
> = z.object({
|
|
543
868
|
name: z.string().optional(),
|
|
544
|
-
retry: z.lazy(() =>
|
|
545
|
-
|
|
546
|
-
|
|
869
|
+
retry: z.lazy(() =>
|
|
870
|
+
CreateImageVariationRouterImagesVariationsRetry$outboundSchema
|
|
871
|
+
).optional(),
|
|
872
|
+
fallbacks: z.array(
|
|
873
|
+
z.lazy(() =>
|
|
874
|
+
CreateImageVariationRouterImagesVariationsFallbacks$outboundSchema
|
|
875
|
+
),
|
|
876
|
+
).optional(),
|
|
547
877
|
prompt: z.lazy(() => CreateImageVariationPrompt$outboundSchema).optional(),
|
|
548
878
|
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
549
879
|
contact: components.PublicContact$outboundSchema.optional(),
|
|
550
|
-
cache: z.lazy(() =>
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
880
|
+
cache: z.lazy(() =>
|
|
881
|
+
CreateImageVariationRouterImagesVariationsCache$outboundSchema
|
|
882
|
+
).optional(),
|
|
883
|
+
loadBalancer: z.lazy(() =>
|
|
884
|
+
CreateImageVariationLoadBalancerRouterImagesVariations1$outboundSchema
|
|
885
|
+
).optional(),
|
|
886
|
+
timeout: z.lazy(() =>
|
|
887
|
+
CreateImageVariationRouterImagesVariationsTimeout$outboundSchema
|
|
888
|
+
).optional(),
|
|
554
889
|
}).transform((v) => {
|
|
555
890
|
return remap$(v, {
|
|
556
891
|
loadBalancer: "load_balancer",
|
|
@@ -573,6 +908,12 @@ export type CreateImageVariationRequestBody$Outbound = {
|
|
|
573
908
|
response_format: string;
|
|
574
909
|
size: string;
|
|
575
910
|
user?: string | undefined;
|
|
911
|
+
name?: string | undefined;
|
|
912
|
+
fallbacks?: Array<CreateImageVariationFallbacks$Outbound> | undefined;
|
|
913
|
+
retry?: CreateImageVariationRetry$Outbound | undefined;
|
|
914
|
+
cache?: CreateImageVariationCache$Outbound | undefined;
|
|
915
|
+
load_balancer?: CreateImageVariationLoadBalancer1$Outbound | undefined;
|
|
916
|
+
timeout?: CreateImageVariationTimeout$Outbound | undefined;
|
|
576
917
|
orq?: CreateImageVariationOrq$Outbound | undefined;
|
|
577
918
|
};
|
|
578
919
|
|
|
@@ -590,10 +931,19 @@ export const CreateImageVariationRequestBody$outboundSchema: z.ZodType<
|
|
|
590
931
|
),
|
|
591
932
|
size: Size$outboundSchema.default("1024x1024"),
|
|
592
933
|
user: z.string().optional(),
|
|
934
|
+
name: z.string().optional(),
|
|
935
|
+
fallbacks: z.array(z.lazy(() => CreateImageVariationFallbacks$outboundSchema))
|
|
936
|
+
.optional(),
|
|
937
|
+
retry: z.lazy(() => CreateImageVariationRetry$outboundSchema).optional(),
|
|
938
|
+
cache: z.lazy(() => CreateImageVariationCache$outboundSchema).optional(),
|
|
939
|
+
loadBalancer: z.lazy(() => CreateImageVariationLoadBalancer1$outboundSchema)
|
|
940
|
+
.optional(),
|
|
941
|
+
timeout: z.lazy(() => CreateImageVariationTimeout$outboundSchema).optional(),
|
|
593
942
|
orq: z.lazy(() => CreateImageVariationOrq$outboundSchema).optional(),
|
|
594
943
|
}).transform((v) => {
|
|
595
944
|
return remap$(v, {
|
|
596
945
|
responseFormat: "response_format",
|
|
946
|
+
loadBalancer: "load_balancer",
|
|
597
947
|
});
|
|
598
948
|
});
|
|
599
949
|
|
|
@@ -723,6 +723,10 @@ export type PromptInput = {
|
|
|
723
723
|
* Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`. The full list of models can be found at https://docs.orq.ai/docs/ai-gateway-supported-models. Only chat models are supported.
|
|
724
724
|
*/
|
|
725
725
|
model?: string | undefined;
|
|
726
|
+
/**
|
|
727
|
+
* The name to display on the trace. If not specified, the default system name will be used.
|
|
728
|
+
*/
|
|
729
|
+
name?: string | undefined;
|
|
726
730
|
/**
|
|
727
731
|
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
728
732
|
*/
|
|
@@ -2040,6 +2044,10 @@ export type CreatePromptPromptsResponseMessages =
|
|
|
2040
2044
|
* Prompt configuration with model and messages. Use this instead of prompt_config.
|
|
2041
2045
|
*/
|
|
2042
2046
|
export type PromptField = {
|
|
2047
|
+
/**
|
|
2048
|
+
* The name to display on the trace. If not specified, the default system name will be used.
|
|
2049
|
+
*/
|
|
2050
|
+
name?: string | undefined;
|
|
2043
2051
|
/**
|
|
2044
2052
|
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
2045
2053
|
*/
|
|
@@ -3483,6 +3491,7 @@ export type PromptInput$Outbound = {
|
|
|
3483
3491
|
| CreatePromptMessagesToolMessage$Outbound
|
|
3484
3492
|
>;
|
|
3485
3493
|
model?: string | undefined;
|
|
3494
|
+
name?: string | undefined;
|
|
3486
3495
|
audio?: CreatePromptAudio$Outbound | null | undefined;
|
|
3487
3496
|
frequency_penalty?: number | null | undefined;
|
|
3488
3497
|
max_tokens?: number | null | undefined;
|
|
@@ -3534,6 +3543,7 @@ export const PromptInput$outboundSchema: z.ZodType<
|
|
|
3534
3543
|
]),
|
|
3535
3544
|
),
|
|
3536
3545
|
model: z.string().optional(),
|
|
3546
|
+
name: z.string().optional(),
|
|
3537
3547
|
audio: z.nullable(z.lazy(() => CreatePromptAudio$outboundSchema)).optional(),
|
|
3538
3548
|
frequencyPenalty: z.nullable(z.number()).optional(),
|
|
3539
3549
|
maxTokens: z.nullable(z.number().int()).optional(),
|
|
@@ -5229,6 +5239,7 @@ export const PromptField$inboundSchema: z.ZodType<
|
|
|
5229
5239
|
z.ZodTypeDef,
|
|
5230
5240
|
unknown
|
|
5231
5241
|
> = z.object({
|
|
5242
|
+
name: z.string().optional(),
|
|
5232
5243
|
audio: z.nullable(z.lazy(() => CreatePromptPromptsAudio$inboundSchema))
|
|
5233
5244
|
.optional(),
|
|
5234
5245
|
frequency_penalty: z.nullable(z.number()).optional(),
|