@apicity/fireworks 0.5.4 → 0.6.1

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/dist/src/zod.d.ts CHANGED
@@ -1,6 +1,10 @@
1
1
  import { z } from "zod";
2
2
  export declare const FireworksMessageSchema: z.ZodObject<{
3
- role: z.ZodEnum<["user", "assistant", "system"]>;
3
+ role: z.ZodEnum<{
4
+ user: "user";
5
+ assistant: "assistant";
6
+ system: "system";
7
+ }>;
4
8
  content: z.ZodString;
5
9
  tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
10
  id: z.ZodString;
@@ -8,117 +12,42 @@ export declare const FireworksMessageSchema: z.ZodObject<{
8
12
  function: z.ZodObject<{
9
13
  name: z.ZodString;
10
14
  arguments: z.ZodString;
11
- }, "strip", z.ZodTypeAny, {
12
- name: string;
13
- arguments: string;
14
- }, {
15
- name: string;
16
- arguments: string;
17
- }>;
18
- }, "strip", z.ZodTypeAny, {
19
- function: {
20
- name: string;
21
- arguments: string;
22
- };
23
- type: "function";
24
- id: string;
25
- }, {
26
- function: {
27
- name: string;
28
- arguments: string;
29
- };
30
- type: "function";
31
- id: string;
32
- }>, "many">>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>>>;
33
17
  tool_call_id: z.ZodOptional<z.ZodString>;
34
18
  name: z.ZodOptional<z.ZodString>;
35
- }, "strip", z.ZodTypeAny, {
36
- role: "user" | "assistant" | "system";
37
- content: string;
38
- name?: string | undefined;
39
- tool_calls?: {
40
- function: {
41
- name: string;
42
- arguments: string;
43
- };
44
- type: "function";
45
- id: string;
46
- }[] | undefined;
47
- tool_call_id?: string | undefined;
48
- }, {
49
- role: "user" | "assistant" | "system";
50
- content: string;
51
- name?: string | undefined;
52
- tool_calls?: {
53
- function: {
54
- name: string;
55
- arguments: string;
56
- };
57
- type: "function";
58
- id: string;
59
- }[] | undefined;
60
- tool_call_id?: string | undefined;
61
- }>;
19
+ }, z.core.$strip>;
62
20
  export declare const FireworksToolFunctionSchema: z.ZodObject<{
63
21
  name: z.ZodString;
64
22
  description: z.ZodOptional<z.ZodString>;
65
23
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
66
- }, "strip", z.ZodTypeAny, {
67
- name: string;
68
- description?: string | undefined;
69
- parameters?: Record<string, unknown> | undefined;
70
- }, {
71
- name: string;
72
- description?: string | undefined;
73
- parameters?: Record<string, unknown> | undefined;
74
- }>;
24
+ }, z.core.$strip>;
75
25
  export declare const FireworksToolSchema: z.ZodObject<{
76
26
  type: z.ZodLiteral<"function">;
77
27
  function: z.ZodObject<{
78
28
  name: z.ZodString;
79
29
  description: z.ZodOptional<z.ZodString>;
80
30
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
81
- }, "strip", z.ZodTypeAny, {
82
- name: string;
83
- description?: string | undefined;
84
- parameters?: Record<string, unknown> | undefined;
85
- }, {
86
- name: string;
87
- description?: string | undefined;
88
- parameters?: Record<string, unknown> | undefined;
89
- }>;
90
- }, "strip", z.ZodTypeAny, {
91
- function: {
92
- name: string;
93
- description?: string | undefined;
94
- parameters?: Record<string, unknown> | undefined;
95
- };
96
- type: "function";
97
- }, {
98
- function: {
99
- name: string;
100
- description?: string | undefined;
101
- parameters?: Record<string, unknown> | undefined;
102
- };
103
- type: "function";
104
- }>;
31
+ }, z.core.$strip>;
32
+ }, z.core.$strip>;
105
33
  export declare const FireworksResponseFormatSchema: z.ZodObject<{
106
- type: z.ZodEnum<["text", "json_object", "json_schema", "grammar"]>;
34
+ type: z.ZodEnum<{
35
+ text: "text";
36
+ json_object: "json_object";
37
+ json_schema: "json_schema";
38
+ grammar: "grammar";
39
+ }>;
107
40
  json_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
108
41
  grammar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
109
- }, "strip", z.ZodTypeAny, {
110
- type: "text" | "json_object" | "json_schema" | "grammar";
111
- json_schema?: Record<string, unknown> | undefined;
112
- grammar?: Record<string, unknown> | undefined;
113
- }, {
114
- type: "text" | "json_object" | "json_schema" | "grammar";
115
- json_schema?: Record<string, unknown> | undefined;
116
- grammar?: Record<string, unknown> | undefined;
117
- }>;
42
+ }, z.core.$strip>;
118
43
  export declare const FireworksChatRequestSchema: z.ZodObject<{
119
44
  model: z.ZodString;
120
45
  messages: z.ZodArray<z.ZodObject<{
121
- role: z.ZodEnum<["user", "assistant", "system"]>;
46
+ role: z.ZodEnum<{
47
+ user: "user";
48
+ assistant: "assistant";
49
+ system: "system";
50
+ }>;
122
51
  content: z.ZodString;
123
52
  tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
124
53
  id: z.ZodString;
@@ -126,64 +55,18 @@ export declare const FireworksChatRequestSchema: z.ZodObject<{
126
55
  function: z.ZodObject<{
127
56
  name: z.ZodString;
128
57
  arguments: z.ZodString;
129
- }, "strip", z.ZodTypeAny, {
130
- name: string;
131
- arguments: string;
132
- }, {
133
- name: string;
134
- arguments: string;
135
- }>;
136
- }, "strip", z.ZodTypeAny, {
137
- function: {
138
- name: string;
139
- arguments: string;
140
- };
141
- type: "function";
142
- id: string;
143
- }, {
144
- function: {
145
- name: string;
146
- arguments: string;
147
- };
148
- type: "function";
149
- id: string;
150
- }>, "many">>;
58
+ }, z.core.$strip>;
59
+ }, z.core.$strip>>>;
151
60
  tool_call_id: z.ZodOptional<z.ZodString>;
152
61
  name: z.ZodOptional<z.ZodString>;
153
- }, "strip", z.ZodTypeAny, {
154
- role: "user" | "assistant" | "system";
155
- content: string;
156
- name?: string | undefined;
157
- tool_calls?: {
158
- function: {
159
- name: string;
160
- arguments: string;
161
- };
162
- type: "function";
163
- id: string;
164
- }[] | undefined;
165
- tool_call_id?: string | undefined;
166
- }, {
167
- role: "user" | "assistant" | "system";
168
- content: string;
169
- name?: string | undefined;
170
- tool_calls?: {
171
- function: {
172
- name: string;
173
- arguments: string;
174
- };
175
- type: "function";
176
- id: string;
177
- }[] | undefined;
178
- tool_call_id?: string | undefined;
179
- }>, "many">;
62
+ }, z.core.$strip>>;
180
63
  temperature: z.ZodOptional<z.ZodNumber>;
181
64
  top_p: z.ZodOptional<z.ZodNumber>;
182
65
  top_k: z.ZodOptional<z.ZodNumber>;
183
66
  max_tokens: z.ZodOptional<z.ZodNumber>;
184
67
  max_completion_tokens: z.ZodOptional<z.ZodNumber>;
185
68
  n: z.ZodOptional<z.ZodNumber>;
186
- stop: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
69
+ stop: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
187
70
  stream: z.ZodOptional<z.ZodBoolean>;
188
71
  tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
189
72
  type: z.ZodLiteral<"function">;
@@ -191,1263 +74,447 @@ export declare const FireworksChatRequestSchema: z.ZodObject<{
191
74
  name: z.ZodString;
192
75
  description: z.ZodOptional<z.ZodString>;
193
76
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
194
- }, "strip", z.ZodTypeAny, {
195
- name: string;
196
- description?: string | undefined;
197
- parameters?: Record<string, unknown> | undefined;
198
- }, {
199
- name: string;
200
- description?: string | undefined;
201
- parameters?: Record<string, unknown> | undefined;
202
- }>;
203
- }, "strip", z.ZodTypeAny, {
204
- function: {
205
- name: string;
206
- description?: string | undefined;
207
- parameters?: Record<string, unknown> | undefined;
208
- };
209
- type: "function";
210
- }, {
211
- function: {
212
- name: string;
213
- description?: string | undefined;
214
- parameters?: Record<string, unknown> | undefined;
215
- };
216
- type: "function";
217
- }>, "many">>;
218
- tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
77
+ }, z.core.$strip>;
78
+ }, z.core.$strip>>>;
79
+ tool_choice: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
80
+ auto: "auto";
81
+ none: "none";
82
+ required: "required";
83
+ }>, z.ZodObject<{
219
84
  type: z.ZodLiteral<"function">;
220
85
  function: z.ZodObject<{
221
86
  name: z.ZodString;
222
- }, "strip", z.ZodTypeAny, {
223
- name: string;
224
- }, {
225
- name: string;
226
- }>;
227
- }, "strip", z.ZodTypeAny, {
228
- function: {
229
- name: string;
230
- };
231
- type: "function";
232
- }, {
233
- function: {
234
- name: string;
235
- };
236
- type: "function";
237
- }>]>>;
87
+ }, z.core.$strip>;
88
+ }, z.core.$strip>]>>;
238
89
  response_format: z.ZodOptional<z.ZodObject<{
239
- type: z.ZodEnum<["text", "json_object", "json_schema", "grammar"]>;
90
+ type: z.ZodEnum<{
91
+ text: "text";
92
+ json_object: "json_object";
93
+ json_schema: "json_schema";
94
+ grammar: "grammar";
95
+ }>;
240
96
  json_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
241
97
  grammar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
242
- }, "strip", z.ZodTypeAny, {
243
- type: "text" | "json_object" | "json_schema" | "grammar";
244
- json_schema?: Record<string, unknown> | undefined;
245
- grammar?: Record<string, unknown> | undefined;
246
- }, {
247
- type: "text" | "json_object" | "json_schema" | "grammar";
248
- json_schema?: Record<string, unknown> | undefined;
249
- grammar?: Record<string, unknown> | undefined;
250
- }>>;
98
+ }, z.core.$strip>>;
251
99
  frequency_penalty: z.ZodOptional<z.ZodNumber>;
252
100
  presence_penalty: z.ZodOptional<z.ZodNumber>;
253
101
  logprobs: z.ZodOptional<z.ZodBoolean>;
254
102
  top_logprobs: z.ZodOptional<z.ZodNumber>;
255
- reasoning_effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "none"]>>;
103
+ reasoning_effort: z.ZodOptional<z.ZodEnum<{
104
+ none: "none";
105
+ low: "low";
106
+ medium: "medium";
107
+ high: "high";
108
+ }>>;
256
109
  user: z.ZodOptional<z.ZodString>;
257
- }, "strip", z.ZodTypeAny, {
258
- model: string;
259
- messages: {
260
- role: "user" | "assistant" | "system";
261
- content: string;
262
- name?: string | undefined;
263
- tool_calls?: {
264
- function: {
265
- name: string;
266
- arguments: string;
267
- };
268
- type: "function";
269
- id: string;
270
- }[] | undefined;
271
- tool_call_id?: string | undefined;
272
- }[];
273
- user?: string | undefined;
274
- temperature?: number | undefined;
275
- top_p?: number | undefined;
276
- top_k?: number | undefined;
277
- max_tokens?: number | undefined;
278
- max_completion_tokens?: number | undefined;
279
- n?: number | undefined;
280
- stop?: string | string[] | undefined;
281
- stream?: boolean | undefined;
282
- tools?: {
283
- function: {
284
- name: string;
285
- description?: string | undefined;
286
- parameters?: Record<string, unknown> | undefined;
287
- };
288
- type: "function";
289
- }[] | undefined;
290
- tool_choice?: "auto" | "none" | "required" | {
291
- function: {
292
- name: string;
293
- };
294
- type: "function";
295
- } | undefined;
296
- response_format?: {
297
- type: "text" | "json_object" | "json_schema" | "grammar";
298
- json_schema?: Record<string, unknown> | undefined;
299
- grammar?: Record<string, unknown> | undefined;
300
- } | undefined;
301
- frequency_penalty?: number | undefined;
302
- presence_penalty?: number | undefined;
303
- logprobs?: boolean | undefined;
304
- top_logprobs?: number | undefined;
305
- reasoning_effort?: "none" | "low" | "medium" | "high" | undefined;
306
- }, {
307
- model: string;
308
- messages: {
309
- role: "user" | "assistant" | "system";
310
- content: string;
311
- name?: string | undefined;
312
- tool_calls?: {
313
- function: {
314
- name: string;
315
- arguments: string;
316
- };
317
- type: "function";
318
- id: string;
319
- }[] | undefined;
320
- tool_call_id?: string | undefined;
321
- }[];
322
- user?: string | undefined;
323
- temperature?: number | undefined;
324
- top_p?: number | undefined;
325
- top_k?: number | undefined;
326
- max_tokens?: number | undefined;
327
- max_completion_tokens?: number | undefined;
328
- n?: number | undefined;
329
- stop?: string | string[] | undefined;
330
- stream?: boolean | undefined;
331
- tools?: {
332
- function: {
333
- name: string;
334
- description?: string | undefined;
335
- parameters?: Record<string, unknown> | undefined;
336
- };
337
- type: "function";
338
- }[] | undefined;
339
- tool_choice?: "auto" | "none" | "required" | {
340
- function: {
341
- name: string;
342
- };
343
- type: "function";
344
- } | undefined;
345
- response_format?: {
346
- type: "text" | "json_object" | "json_schema" | "grammar";
347
- json_schema?: Record<string, unknown> | undefined;
348
- grammar?: Record<string, unknown> | undefined;
349
- } | undefined;
350
- frequency_penalty?: number | undefined;
351
- presence_penalty?: number | undefined;
352
- logprobs?: boolean | undefined;
353
- top_logprobs?: number | undefined;
354
- reasoning_effort?: "none" | "low" | "medium" | "high" | undefined;
355
- }>;
110
+ }, z.core.$strip>;
356
111
  export declare const FireworksCompletionRequestSchema: z.ZodObject<{
357
112
  model: z.ZodString;
358
- prompt: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
113
+ prompt: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodArray<z.ZodNumber>>]>;
359
114
  max_tokens: z.ZodOptional<z.ZodNumber>;
360
115
  max_completion_tokens: z.ZodOptional<z.ZodNumber>;
361
116
  temperature: z.ZodOptional<z.ZodNumber>;
362
117
  top_p: z.ZodOptional<z.ZodNumber>;
363
118
  top_k: z.ZodOptional<z.ZodNumber>;
364
119
  n: z.ZodOptional<z.ZodNumber>;
365
- stop: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
120
+ stop: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
366
121
  stream: z.ZodOptional<z.ZodBoolean>;
367
122
  echo: z.ZodOptional<z.ZodBoolean>;
368
123
  echo_last: z.ZodOptional<z.ZodNumber>;
369
124
  frequency_penalty: z.ZodOptional<z.ZodNumber>;
370
125
  presence_penalty: z.ZodOptional<z.ZodNumber>;
371
126
  repetition_penalty: z.ZodOptional<z.ZodNumber>;
372
- logprobs: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
127
+ logprobs: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
373
128
  top_logprobs: z.ZodOptional<z.ZodNumber>;
374
129
  response_format: z.ZodOptional<z.ZodObject<{
375
- type: z.ZodEnum<["text", "json_object", "json_schema", "grammar"]>;
130
+ type: z.ZodEnum<{
131
+ text: "text";
132
+ json_object: "json_object";
133
+ json_schema: "json_schema";
134
+ grammar: "grammar";
135
+ }>;
376
136
  json_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
377
137
  grammar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
378
- }, "strip", z.ZodTypeAny, {
379
- type: "text" | "json_object" | "json_schema" | "grammar";
380
- json_schema?: Record<string, unknown> | undefined;
381
- grammar?: Record<string, unknown> | undefined;
382
- }, {
383
- type: "text" | "json_object" | "json_schema" | "grammar";
384
- json_schema?: Record<string, unknown> | undefined;
385
- grammar?: Record<string, unknown> | undefined;
138
+ }, z.core.$strip>>;
139
+ reasoning_effort: z.ZodOptional<z.ZodEnum<{
140
+ none: "none";
141
+ low: "low";
142
+ medium: "medium";
143
+ high: "high";
386
144
  }>>;
387
- reasoning_effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "none"]>>;
388
145
  seed: z.ZodOptional<z.ZodNumber>;
389
146
  user: z.ZodOptional<z.ZodString>;
390
- }, "strip", z.ZodTypeAny, {
391
- model: string;
392
- prompt: string | string[] | number[] | number[][];
393
- user?: string | undefined;
394
- temperature?: number | undefined;
395
- top_p?: number | undefined;
396
- top_k?: number | undefined;
397
- max_tokens?: number | undefined;
398
- max_completion_tokens?: number | undefined;
399
- n?: number | undefined;
400
- stop?: string | string[] | undefined;
401
- stream?: boolean | undefined;
402
- response_format?: {
403
- type: "text" | "json_object" | "json_schema" | "grammar";
404
- json_schema?: Record<string, unknown> | undefined;
405
- grammar?: Record<string, unknown> | undefined;
406
- } | undefined;
407
- frequency_penalty?: number | undefined;
408
- presence_penalty?: number | undefined;
409
- logprobs?: number | boolean | undefined;
410
- top_logprobs?: number | undefined;
411
- reasoning_effort?: "none" | "low" | "medium" | "high" | undefined;
412
- echo?: boolean | undefined;
413
- echo_last?: number | undefined;
414
- repetition_penalty?: number | undefined;
415
- seed?: number | undefined;
416
- }, {
417
- model: string;
418
- prompt: string | string[] | number[] | number[][];
419
- user?: string | undefined;
420
- temperature?: number | undefined;
421
- top_p?: number | undefined;
422
- top_k?: number | undefined;
423
- max_tokens?: number | undefined;
424
- max_completion_tokens?: number | undefined;
425
- n?: number | undefined;
426
- stop?: string | string[] | undefined;
427
- stream?: boolean | undefined;
428
- response_format?: {
429
- type: "text" | "json_object" | "json_schema" | "grammar";
430
- json_schema?: Record<string, unknown> | undefined;
431
- grammar?: Record<string, unknown> | undefined;
432
- } | undefined;
433
- frequency_penalty?: number | undefined;
434
- presence_penalty?: number | undefined;
435
- logprobs?: number | boolean | undefined;
436
- top_logprobs?: number | undefined;
437
- reasoning_effort?: "none" | "low" | "medium" | "high" | undefined;
438
- echo?: boolean | undefined;
439
- echo_last?: number | undefined;
440
- repetition_penalty?: number | undefined;
441
- seed?: number | undefined;
442
- }>;
147
+ }, z.core.$strip>;
443
148
  export declare const FireworksEmbeddingRequestSchema: z.ZodObject<{
444
149
  model: z.ZodString;
445
- input: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
150
+ input: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodArray<z.ZodNumber>>]>;
446
151
  dimensions: z.ZodOptional<z.ZodNumber>;
447
152
  prompt_template: z.ZodOptional<z.ZodString>;
448
- return_logits: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
153
+ return_logits: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
449
154
  normalize: z.ZodOptional<z.ZodBoolean>;
450
- }, "strip", z.ZodTypeAny, {
451
- model: string;
452
- input: string | string[] | number[] | number[][];
453
- dimensions?: number | undefined;
454
- prompt_template?: string | undefined;
455
- return_logits?: number[] | undefined;
456
- normalize?: boolean | undefined;
457
- }, {
458
- model: string;
459
- input: string | string[] | number[] | number[][];
460
- dimensions?: number | undefined;
461
- prompt_template?: string | undefined;
462
- return_logits?: number[] | undefined;
463
- normalize?: boolean | undefined;
464
- }>;
155
+ }, z.core.$strip>;
465
156
  export declare const FireworksRerankRequestSchema: z.ZodObject<{
466
157
  model: z.ZodString;
467
158
  query: z.ZodString;
468
- documents: z.ZodArray<z.ZodString, "many">;
159
+ documents: z.ZodArray<z.ZodString>;
469
160
  top_n: z.ZodOptional<z.ZodNumber>;
470
161
  return_documents: z.ZodOptional<z.ZodBoolean>;
471
- }, "strip", z.ZodTypeAny, {
472
- model: string;
473
- query: string;
474
- documents: string[];
475
- top_n?: number | undefined;
476
- return_documents?: boolean | undefined;
477
- }, {
478
- model: string;
479
- query: string;
480
- documents: string[];
481
- top_n?: number | undefined;
482
- return_documents?: boolean | undefined;
483
- }>;
484
- export declare const AnthropicInputContentBlockSchema: z.ZodUnion<[z.ZodObject<{
162
+ }, z.core.$strip>;
163
+ export declare const AnthropicInputContentBlockSchema: z.ZodUnion<readonly [z.ZodObject<{
485
164
  type: z.ZodLiteral<"text">;
486
165
  text: z.ZodString;
487
- }, "strip", z.ZodTypeAny, {
488
- type: "text";
489
- text: string;
490
- }, {
491
- type: "text";
492
- text: string;
493
- }>, z.ZodObject<{
166
+ }, z.core.$strip>, z.ZodObject<{
494
167
  type: z.ZodLiteral<"image">;
495
- source: z.ZodUnion<[z.ZodObject<{
168
+ source: z.ZodUnion<readonly [z.ZodObject<{
496
169
  type: z.ZodLiteral<"base64">;
497
- media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
170
+ media_type: z.ZodEnum<{
171
+ "image/jpeg": "image/jpeg";
172
+ "image/png": "image/png";
173
+ "image/gif": "image/gif";
174
+ "image/webp": "image/webp";
175
+ }>;
498
176
  data: z.ZodString;
499
- }, "strip", z.ZodTypeAny, {
500
- type: "base64";
501
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
502
- data: string;
503
- }, {
504
- type: "base64";
505
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
506
- data: string;
507
- }>, z.ZodObject<{
177
+ }, z.core.$strip>, z.ZodObject<{
508
178
  type: z.ZodLiteral<"url">;
509
179
  url: z.ZodString;
510
- }, "strip", z.ZodTypeAny, {
511
- type: "url";
512
- url: string;
513
- }, {
514
- type: "url";
515
- url: string;
516
- }>]>;
517
- }, "strip", z.ZodTypeAny, {
518
- type: "image";
519
- source: {
520
- type: "base64";
521
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
522
- data: string;
523
- } | {
524
- type: "url";
525
- url: string;
526
- };
527
- }, {
528
- type: "image";
529
- source: {
530
- type: "base64";
531
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
532
- data: string;
533
- } | {
534
- type: "url";
535
- url: string;
536
- };
537
- }>, z.ZodObject<{
180
+ }, z.core.$strip>]>;
181
+ }, z.core.$strip>, z.ZodObject<{
538
182
  type: z.ZodLiteral<"thinking">;
539
183
  thinking: z.ZodString;
540
184
  signature: z.ZodString;
541
- }, "strip", z.ZodTypeAny, {
542
- type: "thinking";
543
- thinking: string;
544
- signature: string;
545
- }, {
546
- type: "thinking";
547
- thinking: string;
548
- signature: string;
549
- }>, z.ZodObject<{
185
+ }, z.core.$strip>, z.ZodObject<{
550
186
  type: z.ZodLiteral<"redacted_thinking">;
551
187
  data: z.ZodString;
552
- }, "strip", z.ZodTypeAny, {
553
- type: "redacted_thinking";
554
- data: string;
555
- }, {
556
- type: "redacted_thinking";
557
- data: string;
558
- }>, z.ZodObject<{
188
+ }, z.core.$strip>, z.ZodObject<{
559
189
  type: z.ZodLiteral<"tool_use">;
560
190
  id: z.ZodString;
561
191
  name: z.ZodString;
562
192
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
563
- }, "strip", z.ZodTypeAny, {
564
- type: "tool_use";
565
- id: string;
566
- name: string;
567
- input: Record<string, unknown>;
568
- }, {
569
- type: "tool_use";
570
- id: string;
571
- name: string;
572
- input: Record<string, unknown>;
573
- }>, z.ZodObject<{
193
+ }, z.core.$strip>, z.ZodObject<{
574
194
  type: z.ZodLiteral<"tool_result">;
575
195
  tool_use_id: z.ZodString;
576
- content: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
196
+ content: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>]>>;
577
197
  is_error: z.ZodOptional<z.ZodBoolean>;
578
- }, "strip", z.ZodTypeAny, {
579
- type: "tool_result";
580
- tool_use_id: string;
581
- content?: string | Record<string, unknown>[] | undefined;
582
- is_error?: boolean | undefined;
583
- }, {
584
- type: "tool_result";
585
- tool_use_id: string;
586
- content?: string | Record<string, unknown>[] | undefined;
587
- is_error?: boolean | undefined;
588
- }>]>;
198
+ }, z.core.$strip>]>;
589
199
  export declare const AnthropicInputMessageSchema: z.ZodObject<{
590
- role: z.ZodEnum<["user", "assistant"]>;
591
- content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodObject<{
200
+ role: z.ZodEnum<{
201
+ user: "user";
202
+ assistant: "assistant";
203
+ }>;
204
+ content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
592
205
  type: z.ZodLiteral<"text">;
593
206
  text: z.ZodString;
594
- }, "strip", z.ZodTypeAny, {
595
- type: "text";
596
- text: string;
597
- }, {
598
- type: "text";
599
- text: string;
600
- }>, z.ZodObject<{
207
+ }, z.core.$strip>, z.ZodObject<{
601
208
  type: z.ZodLiteral<"image">;
602
- source: z.ZodUnion<[z.ZodObject<{
209
+ source: z.ZodUnion<readonly [z.ZodObject<{
603
210
  type: z.ZodLiteral<"base64">;
604
- media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
211
+ media_type: z.ZodEnum<{
212
+ "image/jpeg": "image/jpeg";
213
+ "image/png": "image/png";
214
+ "image/gif": "image/gif";
215
+ "image/webp": "image/webp";
216
+ }>;
605
217
  data: z.ZodString;
606
- }, "strip", z.ZodTypeAny, {
607
- type: "base64";
608
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
609
- data: string;
610
- }, {
611
- type: "base64";
612
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
613
- data: string;
614
- }>, z.ZodObject<{
218
+ }, z.core.$strip>, z.ZodObject<{
615
219
  type: z.ZodLiteral<"url">;
616
220
  url: z.ZodString;
617
- }, "strip", z.ZodTypeAny, {
618
- type: "url";
619
- url: string;
620
- }, {
621
- type: "url";
622
- url: string;
623
- }>]>;
624
- }, "strip", z.ZodTypeAny, {
625
- type: "image";
626
- source: {
627
- type: "base64";
628
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
629
- data: string;
630
- } | {
631
- type: "url";
632
- url: string;
633
- };
634
- }, {
635
- type: "image";
636
- source: {
637
- type: "base64";
638
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
639
- data: string;
640
- } | {
641
- type: "url";
642
- url: string;
643
- };
644
- }>, z.ZodObject<{
221
+ }, z.core.$strip>]>;
222
+ }, z.core.$strip>, z.ZodObject<{
645
223
  type: z.ZodLiteral<"thinking">;
646
224
  thinking: z.ZodString;
647
225
  signature: z.ZodString;
648
- }, "strip", z.ZodTypeAny, {
649
- type: "thinking";
650
- thinking: string;
651
- signature: string;
652
- }, {
653
- type: "thinking";
654
- thinking: string;
655
- signature: string;
656
- }>, z.ZodObject<{
226
+ }, z.core.$strip>, z.ZodObject<{
657
227
  type: z.ZodLiteral<"redacted_thinking">;
658
228
  data: z.ZodString;
659
- }, "strip", z.ZodTypeAny, {
660
- type: "redacted_thinking";
661
- data: string;
662
- }, {
663
- type: "redacted_thinking";
664
- data: string;
665
- }>, z.ZodObject<{
229
+ }, z.core.$strip>, z.ZodObject<{
666
230
  type: z.ZodLiteral<"tool_use">;
667
231
  id: z.ZodString;
668
232
  name: z.ZodString;
669
233
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
670
- }, "strip", z.ZodTypeAny, {
671
- type: "tool_use";
672
- id: string;
673
- name: string;
674
- input: Record<string, unknown>;
675
- }, {
676
- type: "tool_use";
677
- id: string;
678
- name: string;
679
- input: Record<string, unknown>;
680
- }>, z.ZodObject<{
234
+ }, z.core.$strip>, z.ZodObject<{
681
235
  type: z.ZodLiteral<"tool_result">;
682
236
  tool_use_id: z.ZodString;
683
- content: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
237
+ content: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>]>>;
684
238
  is_error: z.ZodOptional<z.ZodBoolean>;
685
- }, "strip", z.ZodTypeAny, {
686
- type: "tool_result";
687
- tool_use_id: string;
688
- content?: string | Record<string, unknown>[] | undefined;
689
- is_error?: boolean | undefined;
690
- }, {
691
- type: "tool_result";
692
- tool_use_id: string;
693
- content?: string | Record<string, unknown>[] | undefined;
694
- is_error?: boolean | undefined;
695
- }>]>, "many">]>;
696
- }, "strip", z.ZodTypeAny, {
697
- role: "user" | "assistant";
698
- content: string | ({
699
- type: "text";
700
- text: string;
701
- } | {
702
- type: "image";
703
- source: {
704
- type: "base64";
705
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
706
- data: string;
707
- } | {
708
- type: "url";
709
- url: string;
710
- };
711
- } | {
712
- type: "thinking";
713
- thinking: string;
714
- signature: string;
715
- } | {
716
- type: "redacted_thinking";
717
- data: string;
718
- } | {
719
- type: "tool_use";
720
- id: string;
721
- name: string;
722
- input: Record<string, unknown>;
723
- } | {
724
- type: "tool_result";
725
- tool_use_id: string;
726
- content?: string | Record<string, unknown>[] | undefined;
727
- is_error?: boolean | undefined;
728
- })[];
729
- }, {
730
- role: "user" | "assistant";
731
- content: string | ({
732
- type: "text";
733
- text: string;
734
- } | {
735
- type: "image";
736
- source: {
737
- type: "base64";
738
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
739
- data: string;
740
- } | {
741
- type: "url";
742
- url: string;
743
- };
744
- } | {
745
- type: "thinking";
746
- thinking: string;
747
- signature: string;
748
- } | {
749
- type: "redacted_thinking";
750
- data: string;
751
- } | {
752
- type: "tool_use";
753
- id: string;
754
- name: string;
755
- input: Record<string, unknown>;
756
- } | {
757
- type: "tool_result";
758
- tool_use_id: string;
759
- content?: string | Record<string, unknown>[] | undefined;
760
- is_error?: boolean | undefined;
761
- })[];
762
- }>;
239
+ }, z.core.$strip>]>>]>;
240
+ }, z.core.$strip>;
763
241
  export declare const AnthropicToolDefinitionSchema: z.ZodObject<{
764
242
  name: z.ZodString;
765
243
  description: z.ZodOptional<z.ZodString>;
766
244
  input_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
767
245
  strict: z.ZodOptional<z.ZodBoolean>;
768
- }, "strip", z.ZodTypeAny, {
769
- name: string;
770
- input_schema: Record<string, unknown>;
771
- description?: string | undefined;
772
- strict?: boolean | undefined;
773
- }, {
774
- name: string;
775
- input_schema: Record<string, unknown>;
776
- description?: string | undefined;
777
- strict?: boolean | undefined;
778
- }>;
246
+ }, z.core.$strip>;
779
247
  export declare const AnthropicThinkingConfigSchema: z.ZodObject<{
780
- type: z.ZodEnum<["enabled", "disabled"]>;
248
+ type: z.ZodEnum<{
249
+ enabled: "enabled";
250
+ disabled: "disabled";
251
+ }>;
781
252
  budget_tokens: z.ZodOptional<z.ZodNumber>;
782
- }, "strip", z.ZodTypeAny, {
783
- type: "enabled" | "disabled";
784
- budget_tokens?: number | undefined;
785
- }, {
786
- type: "enabled" | "disabled";
787
- budget_tokens?: number | undefined;
788
- }>;
253
+ }, z.core.$strip>;
789
254
  export declare const AnthropicMessagesRequestSchema: z.ZodObject<{
790
255
  model: z.ZodString;
791
256
  messages: z.ZodArray<z.ZodObject<{
792
- role: z.ZodEnum<["user", "assistant"]>;
793
- content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodObject<{
257
+ role: z.ZodEnum<{
258
+ user: "user";
259
+ assistant: "assistant";
260
+ }>;
261
+ content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
794
262
  type: z.ZodLiteral<"text">;
795
263
  text: z.ZodString;
796
- }, "strip", z.ZodTypeAny, {
797
- type: "text";
798
- text: string;
799
- }, {
800
- type: "text";
801
- text: string;
802
- }>, z.ZodObject<{
264
+ }, z.core.$strip>, z.ZodObject<{
803
265
  type: z.ZodLiteral<"image">;
804
- source: z.ZodUnion<[z.ZodObject<{
266
+ source: z.ZodUnion<readonly [z.ZodObject<{
805
267
  type: z.ZodLiteral<"base64">;
806
- media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
268
+ media_type: z.ZodEnum<{
269
+ "image/jpeg": "image/jpeg";
270
+ "image/png": "image/png";
271
+ "image/gif": "image/gif";
272
+ "image/webp": "image/webp";
273
+ }>;
807
274
  data: z.ZodString;
808
- }, "strip", z.ZodTypeAny, {
809
- type: "base64";
810
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
811
- data: string;
812
- }, {
813
- type: "base64";
814
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
815
- data: string;
816
- }>, z.ZodObject<{
275
+ }, z.core.$strip>, z.ZodObject<{
817
276
  type: z.ZodLiteral<"url">;
818
277
  url: z.ZodString;
819
- }, "strip", z.ZodTypeAny, {
820
- type: "url";
821
- url: string;
822
- }, {
823
- type: "url";
824
- url: string;
825
- }>]>;
826
- }, "strip", z.ZodTypeAny, {
827
- type: "image";
828
- source: {
829
- type: "base64";
830
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
831
- data: string;
832
- } | {
833
- type: "url";
834
- url: string;
835
- };
836
- }, {
837
- type: "image";
838
- source: {
839
- type: "base64";
840
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
841
- data: string;
842
- } | {
843
- type: "url";
844
- url: string;
845
- };
846
- }>, z.ZodObject<{
278
+ }, z.core.$strip>]>;
279
+ }, z.core.$strip>, z.ZodObject<{
847
280
  type: z.ZodLiteral<"thinking">;
848
281
  thinking: z.ZodString;
849
282
  signature: z.ZodString;
850
- }, "strip", z.ZodTypeAny, {
851
- type: "thinking";
852
- thinking: string;
853
- signature: string;
854
- }, {
855
- type: "thinking";
856
- thinking: string;
857
- signature: string;
858
- }>, z.ZodObject<{
283
+ }, z.core.$strip>, z.ZodObject<{
859
284
  type: z.ZodLiteral<"redacted_thinking">;
860
285
  data: z.ZodString;
861
- }, "strip", z.ZodTypeAny, {
862
- type: "redacted_thinking";
863
- data: string;
864
- }, {
865
- type: "redacted_thinking";
866
- data: string;
867
- }>, z.ZodObject<{
286
+ }, z.core.$strip>, z.ZodObject<{
868
287
  type: z.ZodLiteral<"tool_use">;
869
288
  id: z.ZodString;
870
289
  name: z.ZodString;
871
290
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
872
- }, "strip", z.ZodTypeAny, {
873
- type: "tool_use";
874
- id: string;
875
- name: string;
876
- input: Record<string, unknown>;
877
- }, {
878
- type: "tool_use";
879
- id: string;
880
- name: string;
881
- input: Record<string, unknown>;
882
- }>, z.ZodObject<{
291
+ }, z.core.$strip>, z.ZodObject<{
883
292
  type: z.ZodLiteral<"tool_result">;
884
293
  tool_use_id: z.ZodString;
885
- content: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
294
+ content: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>]>>;
886
295
  is_error: z.ZodOptional<z.ZodBoolean>;
887
- }, "strip", z.ZodTypeAny, {
888
- type: "tool_result";
889
- tool_use_id: string;
890
- content?: string | Record<string, unknown>[] | undefined;
891
- is_error?: boolean | undefined;
892
- }, {
893
- type: "tool_result";
894
- tool_use_id: string;
895
- content?: string | Record<string, unknown>[] | undefined;
896
- is_error?: boolean | undefined;
897
- }>]>, "many">]>;
898
- }, "strip", z.ZodTypeAny, {
899
- role: "user" | "assistant";
900
- content: string | ({
901
- type: "text";
902
- text: string;
903
- } | {
904
- type: "image";
905
- source: {
906
- type: "base64";
907
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
908
- data: string;
909
- } | {
910
- type: "url";
911
- url: string;
912
- };
913
- } | {
914
- type: "thinking";
915
- thinking: string;
916
- signature: string;
917
- } | {
918
- type: "redacted_thinking";
919
- data: string;
920
- } | {
921
- type: "tool_use";
922
- id: string;
923
- name: string;
924
- input: Record<string, unknown>;
925
- } | {
926
- type: "tool_result";
927
- tool_use_id: string;
928
- content?: string | Record<string, unknown>[] | undefined;
929
- is_error?: boolean | undefined;
930
- })[];
931
- }, {
932
- role: "user" | "assistant";
933
- content: string | ({
934
- type: "text";
935
- text: string;
936
- } | {
937
- type: "image";
938
- source: {
939
- type: "base64";
940
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
941
- data: string;
942
- } | {
943
- type: "url";
944
- url: string;
945
- };
946
- } | {
947
- type: "thinking";
948
- thinking: string;
949
- signature: string;
950
- } | {
951
- type: "redacted_thinking";
952
- data: string;
953
- } | {
954
- type: "tool_use";
955
- id: string;
956
- name: string;
957
- input: Record<string, unknown>;
958
- } | {
959
- type: "tool_result";
960
- tool_use_id: string;
961
- content?: string | Record<string, unknown>[] | undefined;
962
- is_error?: boolean | undefined;
963
- })[];
964
- }>, "many">;
296
+ }, z.core.$strip>]>>]>;
297
+ }, z.core.$strip>>;
965
298
  max_tokens: z.ZodOptional<z.ZodNumber>;
966
- system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
299
+ system: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
967
300
  type: z.ZodLiteral<"text">;
968
301
  text: z.ZodString;
969
- }, "strip", z.ZodTypeAny, {
970
- type: "text";
971
- text: string;
972
- }, {
973
- type: "text";
974
- text: string;
975
- }>, "many">]>>;
302
+ }, z.core.$strip>>]>>;
976
303
  temperature: z.ZodOptional<z.ZodNumber>;
977
304
  top_p: z.ZodOptional<z.ZodNumber>;
978
305
  top_k: z.ZodOptional<z.ZodNumber>;
979
- stop_sequences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
306
+ stop_sequences: z.ZodOptional<z.ZodArray<z.ZodString>>;
980
307
  stream: z.ZodOptional<z.ZodBoolean>;
981
308
  metadata: z.ZodOptional<z.ZodObject<{
982
309
  user_id: z.ZodOptional<z.ZodString>;
983
- }, "strip", z.ZodTypeAny, {
984
- user_id?: string | undefined;
985
- }, {
986
- user_id?: string | undefined;
987
- }>>;
310
+ }, z.core.$strip>>;
988
311
  thinking: z.ZodOptional<z.ZodObject<{
989
- type: z.ZodEnum<["enabled", "disabled"]>;
312
+ type: z.ZodEnum<{
313
+ enabled: "enabled";
314
+ disabled: "disabled";
315
+ }>;
990
316
  budget_tokens: z.ZodOptional<z.ZodNumber>;
991
- }, "strip", z.ZodTypeAny, {
992
- type: "enabled" | "disabled";
993
- budget_tokens?: number | undefined;
994
- }, {
995
- type: "enabled" | "disabled";
996
- budget_tokens?: number | undefined;
997
- }>>;
317
+ }, z.core.$strip>>;
998
318
  tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
999
319
  name: z.ZodString;
1000
320
  description: z.ZodOptional<z.ZodString>;
1001
321
  input_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1002
322
  strict: z.ZodOptional<z.ZodBoolean>;
1003
- }, "strip", z.ZodTypeAny, {
1004
- name: string;
1005
- input_schema: Record<string, unknown>;
1006
- description?: string | undefined;
1007
- strict?: boolean | undefined;
1008
- }, {
1009
- name: string;
1010
- input_schema: Record<string, unknown>;
1011
- description?: string | undefined;
1012
- strict?: boolean | undefined;
1013
- }>, "many">>;
1014
- tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
323
+ }, z.core.$strip>>>;
324
+ tool_choice: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1015
325
  type: z.ZodLiteral<"auto">;
1016
326
  disable_parallel_tool_use: z.ZodOptional<z.ZodBoolean>;
1017
- }, "strip", z.ZodTypeAny, {
1018
- type: "auto";
1019
- disable_parallel_tool_use?: boolean | undefined;
1020
- }, {
1021
- type: "auto";
1022
- disable_parallel_tool_use?: boolean | undefined;
1023
- }>, z.ZodObject<{
327
+ }, z.core.$strip>, z.ZodObject<{
1024
328
  type: z.ZodLiteral<"any">;
1025
329
  disable_parallel_tool_use: z.ZodOptional<z.ZodBoolean>;
1026
- }, "strip", z.ZodTypeAny, {
1027
- type: "any";
1028
- disable_parallel_tool_use?: boolean | undefined;
1029
- }, {
1030
- type: "any";
1031
- disable_parallel_tool_use?: boolean | undefined;
1032
- }>, z.ZodObject<{
330
+ }, z.core.$strip>, z.ZodObject<{
1033
331
  type: z.ZodLiteral<"none">;
1034
- }, "strip", z.ZodTypeAny, {
1035
- type: "none";
1036
- }, {
1037
- type: "none";
1038
- }>, z.ZodObject<{
332
+ }, z.core.$strip>, z.ZodObject<{
1039
333
  type: z.ZodLiteral<"tool">;
1040
334
  name: z.ZodString;
1041
335
  disable_parallel_tool_use: z.ZodOptional<z.ZodBoolean>;
1042
- }, "strip", z.ZodTypeAny, {
1043
- type: "tool";
1044
- name: string;
1045
- disable_parallel_tool_use?: boolean | undefined;
1046
- }, {
1047
- type: "tool";
1048
- name: string;
1049
- disable_parallel_tool_use?: boolean | undefined;
1050
- }>]>>;
336
+ }, z.core.$strip>]>>;
1051
337
  raw_output: z.ZodOptional<z.ZodBoolean>;
1052
- }, "strip", z.ZodTypeAny, {
1053
- model: string;
1054
- messages: {
1055
- role: "user" | "assistant";
1056
- content: string | ({
1057
- type: "text";
1058
- text: string;
1059
- } | {
1060
- type: "image";
1061
- source: {
1062
- type: "base64";
1063
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
1064
- data: string;
1065
- } | {
1066
- type: "url";
1067
- url: string;
1068
- };
1069
- } | {
1070
- type: "thinking";
1071
- thinking: string;
1072
- signature: string;
1073
- } | {
1074
- type: "redacted_thinking";
1075
- data: string;
1076
- } | {
1077
- type: "tool_use";
1078
- id: string;
1079
- name: string;
1080
- input: Record<string, unknown>;
1081
- } | {
1082
- type: "tool_result";
1083
- tool_use_id: string;
1084
- content?: string | Record<string, unknown>[] | undefined;
1085
- is_error?: boolean | undefined;
1086
- })[];
1087
- }[];
1088
- system?: string | {
1089
- type: "text";
1090
- text: string;
1091
- }[] | undefined;
1092
- temperature?: number | undefined;
1093
- top_p?: number | undefined;
1094
- top_k?: number | undefined;
1095
- max_tokens?: number | undefined;
1096
- stream?: boolean | undefined;
1097
- tools?: {
1098
- name: string;
1099
- input_schema: Record<string, unknown>;
1100
- description?: string | undefined;
1101
- strict?: boolean | undefined;
1102
- }[] | undefined;
1103
- tool_choice?: {
1104
- type: "auto";
1105
- disable_parallel_tool_use?: boolean | undefined;
1106
- } | {
1107
- type: "any";
1108
- disable_parallel_tool_use?: boolean | undefined;
1109
- } | {
1110
- type: "none";
1111
- } | {
1112
- type: "tool";
1113
- name: string;
1114
- disable_parallel_tool_use?: boolean | undefined;
1115
- } | undefined;
1116
- thinking?: {
1117
- type: "enabled" | "disabled";
1118
- budget_tokens?: number | undefined;
1119
- } | undefined;
1120
- stop_sequences?: string[] | undefined;
1121
- metadata?: {
1122
- user_id?: string | undefined;
1123
- } | undefined;
1124
- raw_output?: boolean | undefined;
1125
- }, {
1126
- model: string;
1127
- messages: {
1128
- role: "user" | "assistant";
1129
- content: string | ({
1130
- type: "text";
1131
- text: string;
1132
- } | {
1133
- type: "image";
1134
- source: {
1135
- type: "base64";
1136
- media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
1137
- data: string;
1138
- } | {
1139
- type: "url";
1140
- url: string;
1141
- };
1142
- } | {
1143
- type: "thinking";
1144
- thinking: string;
1145
- signature: string;
1146
- } | {
1147
- type: "redacted_thinking";
1148
- data: string;
1149
- } | {
1150
- type: "tool_use";
1151
- id: string;
1152
- name: string;
1153
- input: Record<string, unknown>;
1154
- } | {
1155
- type: "tool_result";
1156
- tool_use_id: string;
1157
- content?: string | Record<string, unknown>[] | undefined;
1158
- is_error?: boolean | undefined;
1159
- })[];
1160
- }[];
1161
- system?: string | {
1162
- type: "text";
1163
- text: string;
1164
- }[] | undefined;
1165
- temperature?: number | undefined;
1166
- top_p?: number | undefined;
1167
- top_k?: number | undefined;
1168
- max_tokens?: number | undefined;
1169
- stream?: boolean | undefined;
1170
- tools?: {
1171
- name: string;
1172
- input_schema: Record<string, unknown>;
1173
- description?: string | undefined;
1174
- strict?: boolean | undefined;
1175
- }[] | undefined;
1176
- tool_choice?: {
1177
- type: "auto";
1178
- disable_parallel_tool_use?: boolean | undefined;
1179
- } | {
1180
- type: "any";
1181
- disable_parallel_tool_use?: boolean | undefined;
1182
- } | {
1183
- type: "none";
1184
- } | {
1185
- type: "tool";
1186
- name: string;
1187
- disable_parallel_tool_use?: boolean | undefined;
1188
- } | undefined;
1189
- thinking?: {
1190
- type: "enabled" | "disabled";
1191
- budget_tokens?: number | undefined;
1192
- } | undefined;
1193
- stop_sequences?: string[] | undefined;
1194
- metadata?: {
1195
- user_id?: string | undefined;
1196
- } | undefined;
1197
- raw_output?: boolean | undefined;
1198
- }>;
338
+ }, z.core.$strip>;
1199
339
  export declare const FireworksTranscriptionRequestSchema: z.ZodObject<{
1200
- file: z.ZodUnion<[z.ZodType<Blob, z.ZodTypeDef, Blob>, z.ZodString]>;
340
+ file: z.ZodUnion<readonly [z.ZodCustom<Blob, Blob>, z.ZodString]>;
1201
341
  model: z.ZodOptional<z.ZodString>;
1202
- vad_model: z.ZodOptional<z.ZodEnum<["silero", "whisperx-pyannet"]>>;
1203
- alignment_model: z.ZodOptional<z.ZodEnum<["mms_fa", "tdnn_ffn"]>>;
342
+ vad_model: z.ZodOptional<z.ZodEnum<{
343
+ silero: "silero";
344
+ "whisperx-pyannet": "whisperx-pyannet";
345
+ }>>;
346
+ alignment_model: z.ZodOptional<z.ZodEnum<{
347
+ mms_fa: "mms_fa";
348
+ tdnn_ffn: "tdnn_ffn";
349
+ }>>;
1204
350
  language: z.ZodOptional<z.ZodString>;
1205
351
  prompt: z.ZodOptional<z.ZodString>;
1206
- temperature: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
1207
- response_format: z.ZodOptional<z.ZodEnum<["json", "text", "srt", "verbose_json", "vtt"]>>;
1208
- timestamp_granularities: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1209
- diarize: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
352
+ temperature: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]>>;
353
+ response_format: z.ZodOptional<z.ZodEnum<{
354
+ text: "text";
355
+ json: "json";
356
+ srt: "srt";
357
+ verbose_json: "verbose_json";
358
+ vtt: "vtt";
359
+ }>>;
360
+ timestamp_granularities: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
361
+ diarize: z.ZodOptional<z.ZodEnum<{
362
+ true: "true";
363
+ false: "false";
364
+ }>>;
1210
365
  min_speakers: z.ZodOptional<z.ZodNumber>;
1211
366
  max_speakers: z.ZodOptional<z.ZodNumber>;
1212
- preprocessing: z.ZodOptional<z.ZodEnum<["none", "dynamic", "soft_dynamic", "bass_dynamic"]>>;
1213
- }, "strip", z.ZodTypeAny, {
1214
- file: string | Blob;
1215
- model?: string | undefined;
1216
- temperature?: number | number[] | undefined;
1217
- response_format?: "text" | "json" | "srt" | "verbose_json" | "vtt" | undefined;
1218
- prompt?: string | undefined;
1219
- vad_model?: "silero" | "whisperx-pyannet" | undefined;
1220
- alignment_model?: "mms_fa" | "tdnn_ffn" | undefined;
1221
- language?: string | undefined;
1222
- timestamp_granularities?: string | string[] | undefined;
1223
- diarize?: "true" | "false" | undefined;
1224
- min_speakers?: number | undefined;
1225
- max_speakers?: number | undefined;
1226
- preprocessing?: "none" | "dynamic" | "soft_dynamic" | "bass_dynamic" | undefined;
1227
- }, {
1228
- file: string | Blob;
1229
- model?: string | undefined;
1230
- temperature?: number | number[] | undefined;
1231
- response_format?: "text" | "json" | "srt" | "verbose_json" | "vtt" | undefined;
1232
- prompt?: string | undefined;
1233
- vad_model?: "silero" | "whisperx-pyannet" | undefined;
1234
- alignment_model?: "mms_fa" | "tdnn_ffn" | undefined;
1235
- language?: string | undefined;
1236
- timestamp_granularities?: string | string[] | undefined;
1237
- diarize?: "true" | "false" | undefined;
1238
- min_speakers?: number | undefined;
1239
- max_speakers?: number | undefined;
1240
- preprocessing?: "none" | "dynamic" | "soft_dynamic" | "bass_dynamic" | undefined;
1241
- }>;
367
+ preprocessing: z.ZodOptional<z.ZodEnum<{
368
+ none: "none";
369
+ dynamic: "dynamic";
370
+ soft_dynamic: "soft_dynamic";
371
+ bass_dynamic: "bass_dynamic";
372
+ }>>;
373
+ }, z.core.$strip>;
1242
374
  export declare const FireworksTranslationRequestSchema: z.ZodObject<{
1243
- file: z.ZodUnion<[z.ZodType<Blob, z.ZodTypeDef, Blob>, z.ZodString]>;
375
+ file: z.ZodUnion<readonly [z.ZodCustom<Blob, Blob>, z.ZodString]>;
1244
376
  model: z.ZodOptional<z.ZodString>;
1245
- vad_model: z.ZodOptional<z.ZodEnum<["silero", "whisperx-pyannet"]>>;
1246
- alignment_model: z.ZodOptional<z.ZodEnum<["mms_fa", "tdnn_ffn"]>>;
377
+ vad_model: z.ZodOptional<z.ZodEnum<{
378
+ silero: "silero";
379
+ "whisperx-pyannet": "whisperx-pyannet";
380
+ }>>;
381
+ alignment_model: z.ZodOptional<z.ZodEnum<{
382
+ mms_fa: "mms_fa";
383
+ tdnn_ffn: "tdnn_ffn";
384
+ }>>;
1247
385
  language: z.ZodOptional<z.ZodString>;
1248
386
  prompt: z.ZodOptional<z.ZodString>;
1249
- temperature: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
1250
- response_format: z.ZodOptional<z.ZodEnum<["json", "text", "srt", "verbose_json", "vtt"]>>;
1251
- timestamp_granularities: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1252
- preprocessing: z.ZodOptional<z.ZodEnum<["none", "dynamic", "soft_dynamic", "bass_dynamic"]>>;
1253
- }, "strip", z.ZodTypeAny, {
1254
- file: string | Blob;
1255
- model?: string | undefined;
1256
- temperature?: number | number[] | undefined;
1257
- response_format?: "text" | "json" | "srt" | "verbose_json" | "vtt" | undefined;
1258
- prompt?: string | undefined;
1259
- vad_model?: "silero" | "whisperx-pyannet" | undefined;
1260
- alignment_model?: "mms_fa" | "tdnn_ffn" | undefined;
1261
- language?: string | undefined;
1262
- timestamp_granularities?: string | string[] | undefined;
1263
- preprocessing?: "none" | "dynamic" | "soft_dynamic" | "bass_dynamic" | undefined;
1264
- }, {
1265
- file: string | Blob;
1266
- model?: string | undefined;
1267
- temperature?: number | number[] | undefined;
1268
- response_format?: "text" | "json" | "srt" | "verbose_json" | "vtt" | undefined;
1269
- prompt?: string | undefined;
1270
- vad_model?: "silero" | "whisperx-pyannet" | undefined;
1271
- alignment_model?: "mms_fa" | "tdnn_ffn" | undefined;
1272
- language?: string | undefined;
1273
- timestamp_granularities?: string | string[] | undefined;
1274
- preprocessing?: "none" | "dynamic" | "soft_dynamic" | "bass_dynamic" | undefined;
1275
- }>;
387
+ temperature: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]>>;
388
+ response_format: z.ZodOptional<z.ZodEnum<{
389
+ text: "text";
390
+ json: "json";
391
+ srt: "srt";
392
+ verbose_json: "verbose_json";
393
+ vtt: "vtt";
394
+ }>>;
395
+ timestamp_granularities: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
396
+ preprocessing: z.ZodOptional<z.ZodEnum<{
397
+ none: "none";
398
+ dynamic: "dynamic";
399
+ soft_dynamic: "soft_dynamic";
400
+ bass_dynamic: "bass_dynamic";
401
+ }>>;
402
+ }, z.core.$strip>;
1276
403
  export declare const FireworksStreamingTranscriptionOptionsSchema: z.ZodObject<{
1277
404
  language: z.ZodOptional<z.ZodString>;
1278
405
  prompt: z.ZodOptional<z.ZodString>;
1279
406
  temperature: z.ZodOptional<z.ZodNumber>;
1280
407
  response_format: z.ZodOptional<z.ZodLiteral<"verbose_json">>;
1281
- timestamp_granularities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
408
+ timestamp_granularities: z.ZodOptional<z.ZodArray<z.ZodString>>;
1282
409
  baseURL: z.ZodOptional<z.ZodString>;
1283
- }, "strip", z.ZodTypeAny, {
1284
- temperature?: number | undefined;
1285
- response_format?: "verbose_json" | undefined;
1286
- prompt?: string | undefined;
1287
- language?: string | undefined;
1288
- timestamp_granularities?: string[] | undefined;
1289
- baseURL?: string | undefined;
1290
- }, {
1291
- temperature?: number | undefined;
1292
- response_format?: "verbose_json" | undefined;
1293
- prompt?: string | undefined;
1294
- language?: string | undefined;
1295
- timestamp_granularities?: string[] | undefined;
1296
- baseURL?: string | undefined;
1297
- }>;
410
+ }, z.core.$strip>;
1298
411
  export declare const FireworksAudioBatchTranscriptionRequestSchema: z.ZodObject<{
1299
- file: z.ZodUnion<[z.ZodType<Blob, z.ZodTypeDef, Blob>, z.ZodString]>;
412
+ file: z.ZodUnion<readonly [z.ZodCustom<Blob, Blob>, z.ZodString]>;
1300
413
  endpoint_id: z.ZodString;
1301
414
  model: z.ZodOptional<z.ZodString>;
1302
- vad_model: z.ZodOptional<z.ZodEnum<["silero", "whisperx-pyannet"]>>;
1303
- alignment_model: z.ZodOptional<z.ZodEnum<["mms_fa", "tdnn_ffn"]>>;
415
+ vad_model: z.ZodOptional<z.ZodEnum<{
416
+ silero: "silero";
417
+ "whisperx-pyannet": "whisperx-pyannet";
418
+ }>>;
419
+ alignment_model: z.ZodOptional<z.ZodEnum<{
420
+ mms_fa: "mms_fa";
421
+ tdnn_ffn: "tdnn_ffn";
422
+ }>>;
1304
423
  language: z.ZodOptional<z.ZodString>;
1305
424
  prompt: z.ZodOptional<z.ZodString>;
1306
- temperature: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
1307
- response_format: z.ZodOptional<z.ZodEnum<["json", "text", "srt", "verbose_json", "vtt"]>>;
1308
- timestamp_granularities: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1309
- diarize: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
425
+ temperature: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]>>;
426
+ response_format: z.ZodOptional<z.ZodEnum<{
427
+ text: "text";
428
+ json: "json";
429
+ srt: "srt";
430
+ verbose_json: "verbose_json";
431
+ vtt: "vtt";
432
+ }>>;
433
+ timestamp_granularities: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
434
+ diarize: z.ZodOptional<z.ZodEnum<{
435
+ true: "true";
436
+ false: "false";
437
+ }>>;
1310
438
  min_speakers: z.ZodOptional<z.ZodNumber>;
1311
439
  max_speakers: z.ZodOptional<z.ZodNumber>;
1312
- preprocessing: z.ZodOptional<z.ZodEnum<["none", "dynamic", "soft_dynamic", "bass_dynamic"]>>;
1313
- }, "strip", z.ZodTypeAny, {
1314
- file: string | Blob;
1315
- endpoint_id: string;
1316
- model?: string | undefined;
1317
- temperature?: number | number[] | undefined;
1318
- response_format?: "text" | "json" | "srt" | "verbose_json" | "vtt" | undefined;
1319
- prompt?: string | undefined;
1320
- vad_model?: "silero" | "whisperx-pyannet" | undefined;
1321
- alignment_model?: "mms_fa" | "tdnn_ffn" | undefined;
1322
- language?: string | undefined;
1323
- timestamp_granularities?: string | string[] | undefined;
1324
- diarize?: "true" | "false" | undefined;
1325
- min_speakers?: number | undefined;
1326
- max_speakers?: number | undefined;
1327
- preprocessing?: "none" | "dynamic" | "soft_dynamic" | "bass_dynamic" | undefined;
1328
- }, {
1329
- file: string | Blob;
1330
- endpoint_id: string;
1331
- model?: string | undefined;
1332
- temperature?: number | number[] | undefined;
1333
- response_format?: "text" | "json" | "srt" | "verbose_json" | "vtt" | undefined;
1334
- prompt?: string | undefined;
1335
- vad_model?: "silero" | "whisperx-pyannet" | undefined;
1336
- alignment_model?: "mms_fa" | "tdnn_ffn" | undefined;
1337
- language?: string | undefined;
1338
- timestamp_granularities?: string | string[] | undefined;
1339
- diarize?: "true" | "false" | undefined;
1340
- min_speakers?: number | undefined;
1341
- max_speakers?: number | undefined;
1342
- preprocessing?: "none" | "dynamic" | "soft_dynamic" | "bass_dynamic" | undefined;
1343
- }>;
440
+ preprocessing: z.ZodOptional<z.ZodEnum<{
441
+ none: "none";
442
+ dynamic: "dynamic";
443
+ soft_dynamic: "soft_dynamic";
444
+ bass_dynamic: "bass_dynamic";
445
+ }>>;
446
+ }, z.core.$strip>;
1344
447
  export declare const FireworksAudioBatchTranslationRequestSchema: z.ZodObject<{
1345
- file: z.ZodUnion<[z.ZodType<Blob, z.ZodTypeDef, Blob>, z.ZodString]>;
448
+ file: z.ZodUnion<readonly [z.ZodCustom<Blob, Blob>, z.ZodString]>;
1346
449
  endpoint_id: z.ZodString;
1347
450
  model: z.ZodOptional<z.ZodString>;
1348
- vad_model: z.ZodOptional<z.ZodEnum<["silero", "whisperx-pyannet"]>>;
1349
- alignment_model: z.ZodOptional<z.ZodEnum<["mms_fa", "tdnn_ffn"]>>;
451
+ vad_model: z.ZodOptional<z.ZodEnum<{
452
+ silero: "silero";
453
+ "whisperx-pyannet": "whisperx-pyannet";
454
+ }>>;
455
+ alignment_model: z.ZodOptional<z.ZodEnum<{
456
+ mms_fa: "mms_fa";
457
+ tdnn_ffn: "tdnn_ffn";
458
+ }>>;
1350
459
  language: z.ZodOptional<z.ZodString>;
1351
460
  prompt: z.ZodOptional<z.ZodString>;
1352
- temperature: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
1353
- response_format: z.ZodOptional<z.ZodEnum<["json", "text", "srt", "verbose_json", "vtt"]>>;
1354
- timestamp_granularities: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1355
- preprocessing: z.ZodOptional<z.ZodEnum<["none", "dynamic", "soft_dynamic", "bass_dynamic"]>>;
1356
- }, "strip", z.ZodTypeAny, {
1357
- file: string | Blob;
1358
- endpoint_id: string;
1359
- model?: string | undefined;
1360
- temperature?: number | number[] | undefined;
1361
- response_format?: "text" | "json" | "srt" | "verbose_json" | "vtt" | undefined;
1362
- prompt?: string | undefined;
1363
- vad_model?: "silero" | "whisperx-pyannet" | undefined;
1364
- alignment_model?: "mms_fa" | "tdnn_ffn" | undefined;
1365
- language?: string | undefined;
1366
- timestamp_granularities?: string | string[] | undefined;
1367
- preprocessing?: "none" | "dynamic" | "soft_dynamic" | "bass_dynamic" | undefined;
1368
- }, {
1369
- file: string | Blob;
1370
- endpoint_id: string;
1371
- model?: string | undefined;
1372
- temperature?: number | number[] | undefined;
1373
- response_format?: "text" | "json" | "srt" | "verbose_json" | "vtt" | undefined;
1374
- prompt?: string | undefined;
1375
- vad_model?: "silero" | "whisperx-pyannet" | undefined;
1376
- alignment_model?: "mms_fa" | "tdnn_ffn" | undefined;
1377
- language?: string | undefined;
1378
- timestamp_granularities?: string | string[] | undefined;
1379
- preprocessing?: "none" | "dynamic" | "soft_dynamic" | "bass_dynamic" | undefined;
1380
- }>;
461
+ temperature: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]>>;
462
+ response_format: z.ZodOptional<z.ZodEnum<{
463
+ text: "text";
464
+ json: "json";
465
+ srt: "srt";
466
+ verbose_json: "verbose_json";
467
+ vtt: "vtt";
468
+ }>>;
469
+ timestamp_granularities: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
470
+ preprocessing: z.ZodOptional<z.ZodEnum<{
471
+ none: "none";
472
+ dynamic: "dynamic";
473
+ soft_dynamic: "soft_dynamic";
474
+ bass_dynamic: "bass_dynamic";
475
+ }>>;
476
+ }, z.core.$strip>;
1381
477
  export declare const FireworksTextToImageRequestSchema: z.ZodObject<{
1382
478
  prompt: z.ZodString;
1383
- aspect_ratio: z.ZodOptional<z.ZodEnum<["1:1", "21:9", "16:9", "3:2", "5:4", "4:5", "2:3", "9:16", "9:21", "4:3", "3:4"]>>;
479
+ aspect_ratio: z.ZodOptional<z.ZodEnum<{
480
+ "1:1": "1:1";
481
+ "21:9": "21:9";
482
+ "16:9": "16:9";
483
+ "3:2": "3:2";
484
+ "5:4": "5:4";
485
+ "4:5": "4:5";
486
+ "2:3": "2:3";
487
+ "9:16": "9:16";
488
+ "9:21": "9:21";
489
+ "4:3": "4:3";
490
+ "3:4": "3:4";
491
+ }>>;
1384
492
  guidance_scale: z.ZodOptional<z.ZodNumber>;
1385
493
  num_inference_steps: z.ZodOptional<z.ZodNumber>;
1386
494
  seed: z.ZodOptional<z.ZodNumber>;
1387
- }, "strip", z.ZodTypeAny, {
1388
- prompt: string;
1389
- seed?: number | undefined;
1390
- aspect_ratio?: "1:1" | "21:9" | "16:9" | "3:2" | "5:4" | "4:5" | "2:3" | "9:16" | "9:21" | "4:3" | "3:4" | undefined;
1391
- guidance_scale?: number | undefined;
1392
- num_inference_steps?: number | undefined;
1393
- }, {
1394
- prompt: string;
1395
- seed?: number | undefined;
1396
- aspect_ratio?: "1:1" | "21:9" | "16:9" | "3:2" | "5:4" | "4:5" | "2:3" | "9:16" | "9:21" | "4:3" | "3:4" | undefined;
1397
- guidance_scale?: number | undefined;
1398
- num_inference_steps?: number | undefined;
1399
- }>;
495
+ }, z.core.$strip>;
1400
496
  export declare const FireworksKontextRequestSchema: z.ZodObject<{
1401
497
  prompt: z.ZodString;
1402
498
  input_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1403
499
  seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1404
500
  aspect_ratio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1405
- output_format: z.ZodOptional<z.ZodEnum<["png", "jpeg"]>>;
501
+ output_format: z.ZodOptional<z.ZodEnum<{
502
+ png: "png";
503
+ jpeg: "jpeg";
504
+ }>>;
1406
505
  webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1407
506
  webhook_secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1408
507
  prompt_upsampling: z.ZodOptional<z.ZodBoolean>;
1409
508
  safety_tolerance: z.ZodOptional<z.ZodNumber>;
1410
- }, "strip", z.ZodTypeAny, {
1411
- prompt: string;
1412
- seed?: number | null | undefined;
1413
- aspect_ratio?: string | null | undefined;
1414
- input_image?: string | null | undefined;
1415
- output_format?: "png" | "jpeg" | undefined;
1416
- webhook_url?: string | null | undefined;
1417
- webhook_secret?: string | null | undefined;
1418
- prompt_upsampling?: boolean | undefined;
1419
- safety_tolerance?: number | undefined;
1420
- }, {
1421
- prompt: string;
1422
- seed?: number | null | undefined;
1423
- aspect_ratio?: string | null | undefined;
1424
- input_image?: string | null | undefined;
1425
- output_format?: "png" | "jpeg" | undefined;
1426
- webhook_url?: string | null | undefined;
1427
- webhook_secret?: string | null | undefined;
1428
- prompt_upsampling?: boolean | undefined;
1429
- safety_tolerance?: number | undefined;
1430
- }>;
509
+ }, z.core.$strip>;
1431
510
  export declare const FireworksGetResultRequestSchema: z.ZodObject<{
1432
511
  id: z.ZodString;
1433
- }, "strip", z.ZodTypeAny, {
1434
- id: string;
1435
- }, {
1436
- id: string;
1437
- }>;
512
+ }, z.core.$strip>;
1438
513
  export declare const FireworksCreateModelRequestSchema: z.ZodObject<{
1439
514
  modelId: z.ZodString;
1440
515
  model: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1441
516
  cluster: z.ZodOptional<z.ZodString>;
1442
- }, "strip", z.ZodTypeAny, {
1443
- model: Record<string, unknown>;
1444
- modelId: string;
1445
- cluster?: string | undefined;
1446
- }, {
1447
- model: Record<string, unknown>;
1448
- modelId: string;
1449
- cluster?: string | undefined;
1450
- }>;
517
+ }, z.core.$strip>;
1451
518
  export declare const FireworksUpdateModelRequestSchema: z.ZodObject<{
1452
519
  displayName: z.ZodOptional<z.ZodString>;
1453
520
  description: z.ZodOptional<z.ZodString>;
@@ -1456,59 +523,21 @@ export declare const FireworksUpdateModelRequestSchema: z.ZodObject<{
1456
523
  contextLength: z.ZodOptional<z.ZodNumber>;
1457
524
  supportsImageInput: z.ZodOptional<z.ZodBoolean>;
1458
525
  supportsTools: z.ZodOptional<z.ZodBoolean>;
1459
- }, "strip", z.ZodTypeAny, {
1460
- description?: string | undefined;
1461
- displayName?: string | undefined;
1462
- kind?: string | undefined;
1463
- public?: boolean | undefined;
1464
- contextLength?: number | undefined;
1465
- supportsImageInput?: boolean | undefined;
1466
- supportsTools?: boolean | undefined;
1467
- }, {
1468
- description?: string | undefined;
1469
- displayName?: string | undefined;
1470
- kind?: string | undefined;
1471
- public?: boolean | undefined;
1472
- contextLength?: number | undefined;
1473
- supportsImageInput?: boolean | undefined;
1474
- supportsTools?: boolean | undefined;
1475
- }>;
526
+ }, z.core.$strip>;
1476
527
  export declare const FireworksPrepareModelRequestSchema: z.ZodObject<{
1477
528
  precision: z.ZodString;
1478
529
  readMask: z.ZodOptional<z.ZodString>;
1479
- }, "strip", z.ZodTypeAny, {
1480
- precision: string;
1481
- readMask?: string | undefined;
1482
- }, {
1483
- precision: string;
1484
- readMask?: string | undefined;
1485
- }>;
530
+ }, z.core.$strip>;
1486
531
  export declare const FireworksGetUploadEndpointRequestSchema: z.ZodObject<{
1487
532
  filenameToSize: z.ZodRecord<z.ZodString, z.ZodNumber>;
1488
533
  enableResumableUpload: z.ZodOptional<z.ZodBoolean>;
1489
534
  readMask: z.ZodOptional<z.ZodString>;
1490
- }, "strip", z.ZodTypeAny, {
1491
- filenameToSize: Record<string, number>;
1492
- readMask?: string | undefined;
1493
- enableResumableUpload?: boolean | undefined;
1494
- }, {
1495
- filenameToSize: Record<string, number>;
1496
- readMask?: string | undefined;
1497
- enableResumableUpload?: boolean | undefined;
1498
- }>;
535
+ }, z.core.$strip>;
1499
536
  export declare const FireworksValidateUploadRequestSchema: z.ZodObject<{
1500
537
  skipHfConfigValidation: z.ZodOptional<z.ZodBoolean>;
1501
538
  trustRemoteCode: z.ZodOptional<z.ZodBoolean>;
1502
539
  configOnly: z.ZodOptional<z.ZodBoolean>;
1503
- }, "strip", z.ZodTypeAny, {
1504
- skipHfConfigValidation?: boolean | undefined;
1505
- trustRemoteCode?: boolean | undefined;
1506
- configOnly?: boolean | undefined;
1507
- }, {
1508
- skipHfConfigValidation?: boolean | undefined;
1509
- trustRemoteCode?: boolean | undefined;
1510
- configOnly?: boolean | undefined;
1511
- }>;
540
+ }, z.core.$strip>;
1512
541
  export declare const FireworksBatchInferenceParametersSchema: z.ZodObject<{
1513
542
  maxTokens: z.ZodOptional<z.ZodNumber>;
1514
543
  temperature: z.ZodOptional<z.ZodNumber>;
@@ -1516,21 +545,7 @@ export declare const FireworksBatchInferenceParametersSchema: z.ZodObject<{
1516
545
  n: z.ZodOptional<z.ZodNumber>;
1517
546
  topK: z.ZodOptional<z.ZodNumber>;
1518
547
  extraBody: z.ZodOptional<z.ZodString>;
1519
- }, "strip", z.ZodTypeAny, {
1520
- temperature?: number | undefined;
1521
- n?: number | undefined;
1522
- maxTokens?: number | undefined;
1523
- topP?: number | undefined;
1524
- topK?: number | undefined;
1525
- extraBody?: string | undefined;
1526
- }, {
1527
- temperature?: number | undefined;
1528
- n?: number | undefined;
1529
- maxTokens?: number | undefined;
1530
- topP?: number | undefined;
1531
- topK?: number | undefined;
1532
- extraBody?: string | undefined;
1533
- }>;
548
+ }, z.core.$strip>;
1534
549
  export declare const FireworksBatchJobCreateRequestSchema: z.ZodObject<{
1535
550
  model: z.ZodString;
1536
551
  inputDatasetId: z.ZodString;
@@ -1543,54 +558,10 @@ export declare const FireworksBatchJobCreateRequestSchema: z.ZodObject<{
1543
558
  n: z.ZodOptional<z.ZodNumber>;
1544
559
  topK: z.ZodOptional<z.ZodNumber>;
1545
560
  extraBody: z.ZodOptional<z.ZodString>;
1546
- }, "strip", z.ZodTypeAny, {
1547
- temperature?: number | undefined;
1548
- n?: number | undefined;
1549
- maxTokens?: number | undefined;
1550
- topP?: number | undefined;
1551
- topK?: number | undefined;
1552
- extraBody?: string | undefined;
1553
- }, {
1554
- temperature?: number | undefined;
1555
- n?: number | undefined;
1556
- maxTokens?: number | undefined;
1557
- topP?: number | undefined;
1558
- topK?: number | undefined;
1559
- extraBody?: string | undefined;
1560
- }>>;
561
+ }, z.core.$strip>>;
1561
562
  precision: z.ZodOptional<z.ZodString>;
1562
563
  continuedFromJobName: z.ZodOptional<z.ZodString>;
1563
- }, "strip", z.ZodTypeAny, {
1564
- model: string;
1565
- inputDatasetId: string;
1566
- displayName?: string | undefined;
1567
- precision?: string | undefined;
1568
- outputDatasetId?: string | undefined;
1569
- inferenceParameters?: {
1570
- temperature?: number | undefined;
1571
- n?: number | undefined;
1572
- maxTokens?: number | undefined;
1573
- topP?: number | undefined;
1574
- topK?: number | undefined;
1575
- extraBody?: string | undefined;
1576
- } | undefined;
1577
- continuedFromJobName?: string | undefined;
1578
- }, {
1579
- model: string;
1580
- inputDatasetId: string;
1581
- displayName?: string | undefined;
1582
- precision?: string | undefined;
1583
- outputDatasetId?: string | undefined;
1584
- inferenceParameters?: {
1585
- temperature?: number | undefined;
1586
- n?: number | undefined;
1587
- maxTokens?: number | undefined;
1588
- topP?: number | undefined;
1589
- topK?: number | undefined;
1590
- extraBody?: string | undefined;
1591
- } | undefined;
1592
- continuedFromJobName?: string | undefined;
1593
- }>;
564
+ }, z.core.$strip>;
1594
565
  export declare const FireworksBaseTrainingConfigSchema: z.ZodObject<{
1595
566
  baseModel: z.ZodOptional<z.ZodString>;
1596
567
  warmStartFrom: z.ZodOptional<z.ZodString>;
@@ -1606,47 +577,18 @@ export declare const FireworksBaseTrainingConfigSchema: z.ZodObject<{
1606
577
  optimizerWeightDecay: z.ZodOptional<z.ZodNumber>;
1607
578
  jinjaTemplate: z.ZodOptional<z.ZodString>;
1608
579
  region: z.ZodOptional<z.ZodString>;
1609
- }, "strip", z.ZodTypeAny, {
1610
- baseModel?: string | undefined;
1611
- warmStartFrom?: string | undefined;
1612
- outputModel?: string | undefined;
1613
- learningRate?: number | undefined;
1614
- epochs?: number | undefined;
1615
- batchSize?: number | undefined;
1616
- batchSizeSamples?: number | undefined;
1617
- gradientAccumulationSteps?: number | undefined;
1618
- learningRateWarmupSteps?: number | undefined;
1619
- maxContextLength?: number | undefined;
1620
- loraRank?: number | undefined;
1621
- optimizerWeightDecay?: number | undefined;
1622
- jinjaTemplate?: string | undefined;
1623
- region?: string | undefined;
1624
- }, {
1625
- baseModel?: string | undefined;
1626
- warmStartFrom?: string | undefined;
1627
- outputModel?: string | undefined;
1628
- learningRate?: number | undefined;
1629
- epochs?: number | undefined;
1630
- batchSize?: number | undefined;
1631
- batchSizeSamples?: number | undefined;
1632
- gradientAccumulationSteps?: number | undefined;
1633
- learningRateWarmupSteps?: number | undefined;
1634
- maxContextLength?: number | undefined;
1635
- loraRank?: number | undefined;
1636
- optimizerWeightDecay?: number | undefined;
1637
- jinjaTemplate?: string | undefined;
1638
- region?: string | undefined;
1639
- }>;
580
+ }, z.core.$strip>;
1640
581
  export declare const FireworksRLLossConfigSchema: z.ZodObject<{
1641
- method: z.ZodOptional<z.ZodEnum<["METHOD_UNSPECIFIED", "GRPO", "DAPO", "DPO", "ORPO", "GSPO_TOKEN"]>>;
582
+ method: z.ZodOptional<z.ZodEnum<{
583
+ METHOD_UNSPECIFIED: "METHOD_UNSPECIFIED";
584
+ GRPO: "GRPO";
585
+ DAPO: "DAPO";
586
+ DPO: "DPO";
587
+ ORPO: "ORPO";
588
+ GSPO_TOKEN: "GSPO_TOKEN";
589
+ }>>;
1642
590
  klBeta: z.ZodOptional<z.ZodNumber>;
1643
- }, "strip", z.ZodTypeAny, {
1644
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
1645
- klBeta?: number | undefined;
1646
- }, {
1647
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
1648
- klBeta?: number | undefined;
1649
- }>;
591
+ }, z.core.$strip>;
1650
592
  export declare const FireworksWandbConfigSchema: z.ZodObject<{
1651
593
  enabled: z.ZodOptional<z.ZodBoolean>;
1652
594
  apiKey: z.ZodOptional<z.ZodString>;
@@ -1654,60 +596,22 @@ export declare const FireworksWandbConfigSchema: z.ZodObject<{
1654
596
  entity: z.ZodOptional<z.ZodString>;
1655
597
  runId: z.ZodOptional<z.ZodString>;
1656
598
  url: z.ZodOptional<z.ZodString>;
1657
- }, "strip", z.ZodTypeAny, {
1658
- url?: string | undefined;
1659
- enabled?: boolean | undefined;
1660
- apiKey?: string | undefined;
1661
- project?: string | undefined;
1662
- entity?: string | undefined;
1663
- runId?: string | undefined;
1664
- }, {
1665
- url?: string | undefined;
1666
- enabled?: boolean | undefined;
1667
- apiKey?: string | undefined;
1668
- project?: string | undefined;
1669
- entity?: string | undefined;
1670
- runId?: string | undefined;
1671
- }>;
599
+ }, z.core.$strip>;
1672
600
  export declare const FireworksAwsS3ConfigSchema: z.ZodObject<{
1673
601
  credentialsSecret: z.ZodOptional<z.ZodString>;
1674
602
  iamRoleArn: z.ZodOptional<z.ZodString>;
1675
- }, "strip", z.ZodTypeAny, {
1676
- credentialsSecret?: string | undefined;
1677
- iamRoleArn?: string | undefined;
1678
- }, {
1679
- credentialsSecret?: string | undefined;
1680
- iamRoleArn?: string | undefined;
1681
- }>;
603
+ }, z.core.$strip>;
1682
604
  export declare const FireworksAzureBlobStorageConfigSchema: z.ZodObject<{
1683
605
  credentialsSecret: z.ZodOptional<z.ZodString>;
1684
606
  managedIdentityClientId: z.ZodOptional<z.ZodString>;
1685
607
  tenantId: z.ZodOptional<z.ZodString>;
1686
- }, "strip", z.ZodTypeAny, {
1687
- credentialsSecret?: string | undefined;
1688
- managedIdentityClientId?: string | undefined;
1689
- tenantId?: string | undefined;
1690
- }, {
1691
- credentialsSecret?: string | undefined;
1692
- managedIdentityClientId?: string | undefined;
1693
- tenantId?: string | undefined;
1694
- }>;
608
+ }, z.core.$strip>;
1695
609
  export declare const FireworksRFTInferenceParamsSchema: z.ZodObject<{
1696
610
  maxTokens: z.ZodOptional<z.ZodNumber>;
1697
611
  temperature: z.ZodOptional<z.ZodNumber>;
1698
612
  topP: z.ZodOptional<z.ZodNumber>;
1699
613
  topK: z.ZodOptional<z.ZodNumber>;
1700
- }, "strip", z.ZodTypeAny, {
1701
- temperature?: number | undefined;
1702
- maxTokens?: number | undefined;
1703
- topP?: number | undefined;
1704
- topK?: number | undefined;
1705
- }, {
1706
- temperature?: number | undefined;
1707
- maxTokens?: number | undefined;
1708
- topP?: number | undefined;
1709
- topK?: number | undefined;
1710
- }>;
614
+ }, z.core.$strip>;
1711
615
  export declare const FireworksSFTCreateRequestSchema: z.ZodObject<{
1712
616
  accountId: z.ZodString;
1713
617
  dataset: z.ZodString;
@@ -1738,26 +642,12 @@ export declare const FireworksSFTCreateRequestSchema: z.ZodObject<{
1738
642
  awsS3Config: z.ZodOptional<z.ZodObject<{
1739
643
  credentialsSecret: z.ZodOptional<z.ZodString>;
1740
644
  iamRoleArn: z.ZodOptional<z.ZodString>;
1741
- }, "strip", z.ZodTypeAny, {
1742
- credentialsSecret?: string | undefined;
1743
- iamRoleArn?: string | undefined;
1744
- }, {
1745
- credentialsSecret?: string | undefined;
1746
- iamRoleArn?: string | undefined;
1747
- }>>;
645
+ }, z.core.$strip>>;
1748
646
  azureBlobStorageConfig: z.ZodOptional<z.ZodObject<{
1749
647
  credentialsSecret: z.ZodOptional<z.ZodString>;
1750
648
  managedIdentityClientId: z.ZodOptional<z.ZodString>;
1751
649
  tenantId: z.ZodOptional<z.ZodString>;
1752
- }, "strip", z.ZodTypeAny, {
1753
- credentialsSecret?: string | undefined;
1754
- managedIdentityClientId?: string | undefined;
1755
- tenantId?: string | undefined;
1756
- }, {
1757
- credentialsSecret?: string | undefined;
1758
- managedIdentityClientId?: string | undefined;
1759
- tenantId?: string | undefined;
1760
- }>>;
650
+ }, z.core.$strip>>;
1761
651
  wandbConfig: z.ZodOptional<z.ZodObject<{
1762
652
  enabled: z.ZodOptional<z.ZodBoolean>;
1763
653
  apiKey: z.ZodOptional<z.ZodString>;
@@ -1765,113 +655,9 @@ export declare const FireworksSFTCreateRequestSchema: z.ZodObject<{
1765
655
  entity: z.ZodOptional<z.ZodString>;
1766
656
  runId: z.ZodOptional<z.ZodString>;
1767
657
  url: z.ZodOptional<z.ZodString>;
1768
- }, "strip", z.ZodTypeAny, {
1769
- url?: string | undefined;
1770
- enabled?: boolean | undefined;
1771
- apiKey?: string | undefined;
1772
- project?: string | undefined;
1773
- entity?: string | undefined;
1774
- runId?: string | undefined;
1775
- }, {
1776
- url?: string | undefined;
1777
- enabled?: boolean | undefined;
1778
- apiKey?: string | undefined;
1779
- project?: string | undefined;
1780
- entity?: string | undefined;
1781
- runId?: string | undefined;
1782
- }>>;
658
+ }, z.core.$strip>>;
1783
659
  supervisedFineTuningJobId: z.ZodOptional<z.ZodString>;
1784
- }, "strip", z.ZodTypeAny, {
1785
- accountId: string;
1786
- dataset: string;
1787
- displayName?: string | undefined;
1788
- baseModel?: string | undefined;
1789
- warmStartFrom?: string | undefined;
1790
- outputModel?: string | undefined;
1791
- learningRate?: number | undefined;
1792
- epochs?: number | undefined;
1793
- batchSize?: number | undefined;
1794
- batchSizeSamples?: number | undefined;
1795
- gradientAccumulationSteps?: number | undefined;
1796
- learningRateWarmupSteps?: number | undefined;
1797
- maxContextLength?: number | undefined;
1798
- loraRank?: number | undefined;
1799
- optimizerWeightDecay?: number | undefined;
1800
- jinjaTemplate?: string | undefined;
1801
- region?: string | undefined;
1802
- earlyStop?: boolean | undefined;
1803
- evaluationDataset?: string | undefined;
1804
- isTurbo?: boolean | undefined;
1805
- evalAutoCarveout?: boolean | undefined;
1806
- nodes?: number | undefined;
1807
- mtpEnabled?: boolean | undefined;
1808
- mtpNumDraftTokens?: number | undefined;
1809
- mtpFreezeBaseModel?: boolean | undefined;
1810
- usePurpose?: string | undefined;
1811
- awsS3Config?: {
1812
- credentialsSecret?: string | undefined;
1813
- iamRoleArn?: string | undefined;
1814
- } | undefined;
1815
- azureBlobStorageConfig?: {
1816
- credentialsSecret?: string | undefined;
1817
- managedIdentityClientId?: string | undefined;
1818
- tenantId?: string | undefined;
1819
- } | undefined;
1820
- wandbConfig?: {
1821
- url?: string | undefined;
1822
- enabled?: boolean | undefined;
1823
- apiKey?: string | undefined;
1824
- project?: string | undefined;
1825
- entity?: string | undefined;
1826
- runId?: string | undefined;
1827
- } | undefined;
1828
- supervisedFineTuningJobId?: string | undefined;
1829
- }, {
1830
- accountId: string;
1831
- dataset: string;
1832
- displayName?: string | undefined;
1833
- baseModel?: string | undefined;
1834
- warmStartFrom?: string | undefined;
1835
- outputModel?: string | undefined;
1836
- learningRate?: number | undefined;
1837
- epochs?: number | undefined;
1838
- batchSize?: number | undefined;
1839
- batchSizeSamples?: number | undefined;
1840
- gradientAccumulationSteps?: number | undefined;
1841
- learningRateWarmupSteps?: number | undefined;
1842
- maxContextLength?: number | undefined;
1843
- loraRank?: number | undefined;
1844
- optimizerWeightDecay?: number | undefined;
1845
- jinjaTemplate?: string | undefined;
1846
- region?: string | undefined;
1847
- earlyStop?: boolean | undefined;
1848
- evaluationDataset?: string | undefined;
1849
- isTurbo?: boolean | undefined;
1850
- evalAutoCarveout?: boolean | undefined;
1851
- nodes?: number | undefined;
1852
- mtpEnabled?: boolean | undefined;
1853
- mtpNumDraftTokens?: number | undefined;
1854
- mtpFreezeBaseModel?: boolean | undefined;
1855
- usePurpose?: string | undefined;
1856
- awsS3Config?: {
1857
- credentialsSecret?: string | undefined;
1858
- iamRoleArn?: string | undefined;
1859
- } | undefined;
1860
- azureBlobStorageConfig?: {
1861
- credentialsSecret?: string | undefined;
1862
- managedIdentityClientId?: string | undefined;
1863
- tenantId?: string | undefined;
1864
- } | undefined;
1865
- wandbConfig?: {
1866
- url?: string | undefined;
1867
- enabled?: boolean | undefined;
1868
- apiKey?: string | undefined;
1869
- project?: string | undefined;
1870
- entity?: string | undefined;
1871
- runId?: string | undefined;
1872
- } | undefined;
1873
- supervisedFineTuningJobId?: string | undefined;
1874
- }>;
660
+ }, z.core.$strip>;
1875
661
  export declare const FireworksDpoJobCreateRequestSchema: z.ZodObject<{
1876
662
  dataset: z.ZodString;
1877
663
  displayName: z.ZodOptional<z.ZodString>;
@@ -1890,47 +676,18 @@ export declare const FireworksDpoJobCreateRequestSchema: z.ZodObject<{
1890
676
  optimizerWeightDecay: z.ZodOptional<z.ZodNumber>;
1891
677
  jinjaTemplate: z.ZodOptional<z.ZodString>;
1892
678
  region: z.ZodOptional<z.ZodString>;
1893
- }, "strip", z.ZodTypeAny, {
1894
- baseModel?: string | undefined;
1895
- warmStartFrom?: string | undefined;
1896
- outputModel?: string | undefined;
1897
- learningRate?: number | undefined;
1898
- epochs?: number | undefined;
1899
- batchSize?: number | undefined;
1900
- batchSizeSamples?: number | undefined;
1901
- gradientAccumulationSteps?: number | undefined;
1902
- learningRateWarmupSteps?: number | undefined;
1903
- maxContextLength?: number | undefined;
1904
- loraRank?: number | undefined;
1905
- optimizerWeightDecay?: number | undefined;
1906
- jinjaTemplate?: string | undefined;
1907
- region?: string | undefined;
1908
- }, {
1909
- baseModel?: string | undefined;
1910
- warmStartFrom?: string | undefined;
1911
- outputModel?: string | undefined;
1912
- learningRate?: number | undefined;
1913
- epochs?: number | undefined;
1914
- batchSize?: number | undefined;
1915
- batchSizeSamples?: number | undefined;
1916
- gradientAccumulationSteps?: number | undefined;
1917
- learningRateWarmupSteps?: number | undefined;
1918
- maxContextLength?: number | undefined;
1919
- loraRank?: number | undefined;
1920
- optimizerWeightDecay?: number | undefined;
1921
- jinjaTemplate?: string | undefined;
1922
- region?: string | undefined;
1923
- }>>;
679
+ }, z.core.$strip>>;
1924
680
  lossConfig: z.ZodOptional<z.ZodObject<{
1925
- method: z.ZodOptional<z.ZodEnum<["METHOD_UNSPECIFIED", "GRPO", "DAPO", "DPO", "ORPO", "GSPO_TOKEN"]>>;
681
+ method: z.ZodOptional<z.ZodEnum<{
682
+ METHOD_UNSPECIFIED: "METHOD_UNSPECIFIED";
683
+ GRPO: "GRPO";
684
+ DAPO: "DAPO";
685
+ DPO: "DPO";
686
+ ORPO: "ORPO";
687
+ GSPO_TOKEN: "GSPO_TOKEN";
688
+ }>>;
1926
689
  klBeta: z.ZodOptional<z.ZodNumber>;
1927
- }, "strip", z.ZodTypeAny, {
1928
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
1929
- klBeta?: number | undefined;
1930
- }, {
1931
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
1932
- klBeta?: number | undefined;
1933
- }>>;
690
+ }, z.core.$strip>>;
1934
691
  wandbConfig: z.ZodOptional<z.ZodObject<{
1935
692
  enabled: z.ZodOptional<z.ZodBoolean>;
1936
693
  apiKey: z.ZodOptional<z.ZodString>;
@@ -1938,125 +695,17 @@ export declare const FireworksDpoJobCreateRequestSchema: z.ZodObject<{
1938
695
  entity: z.ZodOptional<z.ZodString>;
1939
696
  runId: z.ZodOptional<z.ZodString>;
1940
697
  url: z.ZodOptional<z.ZodString>;
1941
- }, "strip", z.ZodTypeAny, {
1942
- url?: string | undefined;
1943
- enabled?: boolean | undefined;
1944
- apiKey?: string | undefined;
1945
- project?: string | undefined;
1946
- entity?: string | undefined;
1947
- runId?: string | undefined;
1948
- }, {
1949
- url?: string | undefined;
1950
- enabled?: boolean | undefined;
1951
- apiKey?: string | undefined;
1952
- project?: string | undefined;
1953
- entity?: string | undefined;
1954
- runId?: string | undefined;
1955
- }>>;
698
+ }, z.core.$strip>>;
1956
699
  awsS3Config: z.ZodOptional<z.ZodObject<{
1957
700
  credentialsSecret: z.ZodOptional<z.ZodString>;
1958
701
  iamRoleArn: z.ZodOptional<z.ZodString>;
1959
- }, "strip", z.ZodTypeAny, {
1960
- credentialsSecret?: string | undefined;
1961
- iamRoleArn?: string | undefined;
1962
- }, {
1963
- credentialsSecret?: string | undefined;
1964
- iamRoleArn?: string | undefined;
1965
- }>>;
702
+ }, z.core.$strip>>;
1966
703
  azureBlobStorageConfig: z.ZodOptional<z.ZodObject<{
1967
704
  credentialsSecret: z.ZodOptional<z.ZodString>;
1968
705
  managedIdentityClientId: z.ZodOptional<z.ZodString>;
1969
706
  tenantId: z.ZodOptional<z.ZodString>;
1970
- }, "strip", z.ZodTypeAny, {
1971
- credentialsSecret?: string | undefined;
1972
- managedIdentityClientId?: string | undefined;
1973
- tenantId?: string | undefined;
1974
- }, {
1975
- credentialsSecret?: string | undefined;
1976
- managedIdentityClientId?: string | undefined;
1977
- tenantId?: string | undefined;
1978
- }>>;
1979
- }, "strip", z.ZodTypeAny, {
1980
- dataset: string;
1981
- displayName?: string | undefined;
1982
- awsS3Config?: {
1983
- credentialsSecret?: string | undefined;
1984
- iamRoleArn?: string | undefined;
1985
- } | undefined;
1986
- azureBlobStorageConfig?: {
1987
- credentialsSecret?: string | undefined;
1988
- managedIdentityClientId?: string | undefined;
1989
- tenantId?: string | undefined;
1990
- } | undefined;
1991
- wandbConfig?: {
1992
- url?: string | undefined;
1993
- enabled?: boolean | undefined;
1994
- apiKey?: string | undefined;
1995
- project?: string | undefined;
1996
- entity?: string | undefined;
1997
- runId?: string | undefined;
1998
- } | undefined;
1999
- trainingConfig?: {
2000
- baseModel?: string | undefined;
2001
- warmStartFrom?: string | undefined;
2002
- outputModel?: string | undefined;
2003
- learningRate?: number | undefined;
2004
- epochs?: number | undefined;
2005
- batchSize?: number | undefined;
2006
- batchSizeSamples?: number | undefined;
2007
- gradientAccumulationSteps?: number | undefined;
2008
- learningRateWarmupSteps?: number | undefined;
2009
- maxContextLength?: number | undefined;
2010
- loraRank?: number | undefined;
2011
- optimizerWeightDecay?: number | undefined;
2012
- jinjaTemplate?: string | undefined;
2013
- region?: string | undefined;
2014
- } | undefined;
2015
- lossConfig?: {
2016
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
2017
- klBeta?: number | undefined;
2018
- } | undefined;
2019
- }, {
2020
- dataset: string;
2021
- displayName?: string | undefined;
2022
- awsS3Config?: {
2023
- credentialsSecret?: string | undefined;
2024
- iamRoleArn?: string | undefined;
2025
- } | undefined;
2026
- azureBlobStorageConfig?: {
2027
- credentialsSecret?: string | undefined;
2028
- managedIdentityClientId?: string | undefined;
2029
- tenantId?: string | undefined;
2030
- } | undefined;
2031
- wandbConfig?: {
2032
- url?: string | undefined;
2033
- enabled?: boolean | undefined;
2034
- apiKey?: string | undefined;
2035
- project?: string | undefined;
2036
- entity?: string | undefined;
2037
- runId?: string | undefined;
2038
- } | undefined;
2039
- trainingConfig?: {
2040
- baseModel?: string | undefined;
2041
- warmStartFrom?: string | undefined;
2042
- outputModel?: string | undefined;
2043
- learningRate?: number | undefined;
2044
- epochs?: number | undefined;
2045
- batchSize?: number | undefined;
2046
- batchSizeSamples?: number | undefined;
2047
- gradientAccumulationSteps?: number | undefined;
2048
- learningRateWarmupSteps?: number | undefined;
2049
- maxContextLength?: number | undefined;
2050
- loraRank?: number | undefined;
2051
- optimizerWeightDecay?: number | undefined;
2052
- jinjaTemplate?: string | undefined;
2053
- region?: string | undefined;
2054
- } | undefined;
2055
- lossConfig?: {
2056
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
2057
- klBeta?: number | undefined;
2058
- } | undefined;
2059
- }>;
707
+ }, z.core.$strip>>;
708
+ }, z.core.$strip>;
2060
709
  export declare const FireworksRFTCreateRequestSchema: z.ZodObject<{
2061
710
  dataset: z.ZodString;
2062
711
  evaluator: z.ZodString;
@@ -2076,63 +725,24 @@ export declare const FireworksRFTCreateRequestSchema: z.ZodObject<{
2076
725
  optimizerWeightDecay: z.ZodOptional<z.ZodNumber>;
2077
726
  jinjaTemplate: z.ZodOptional<z.ZodString>;
2078
727
  region: z.ZodOptional<z.ZodString>;
2079
- }, "strip", z.ZodTypeAny, {
2080
- baseModel?: string | undefined;
2081
- warmStartFrom?: string | undefined;
2082
- outputModel?: string | undefined;
2083
- learningRate?: number | undefined;
2084
- epochs?: number | undefined;
2085
- batchSize?: number | undefined;
2086
- batchSizeSamples?: number | undefined;
2087
- gradientAccumulationSteps?: number | undefined;
2088
- learningRateWarmupSteps?: number | undefined;
2089
- maxContextLength?: number | undefined;
2090
- loraRank?: number | undefined;
2091
- optimizerWeightDecay?: number | undefined;
2092
- jinjaTemplate?: string | undefined;
2093
- region?: string | undefined;
2094
- }, {
2095
- baseModel?: string | undefined;
2096
- warmStartFrom?: string | undefined;
2097
- outputModel?: string | undefined;
2098
- learningRate?: number | undefined;
2099
- epochs?: number | undefined;
2100
- batchSize?: number | undefined;
2101
- batchSizeSamples?: number | undefined;
2102
- gradientAccumulationSteps?: number | undefined;
2103
- learningRateWarmupSteps?: number | undefined;
2104
- maxContextLength?: number | undefined;
2105
- loraRank?: number | undefined;
2106
- optimizerWeightDecay?: number | undefined;
2107
- jinjaTemplate?: string | undefined;
2108
- region?: string | undefined;
2109
- }>>;
728
+ }, z.core.$strip>>;
2110
729
  inferenceParams: z.ZodOptional<z.ZodObject<{
2111
730
  maxTokens: z.ZodOptional<z.ZodNumber>;
2112
731
  temperature: z.ZodOptional<z.ZodNumber>;
2113
732
  topP: z.ZodOptional<z.ZodNumber>;
2114
733
  topK: z.ZodOptional<z.ZodNumber>;
2115
- }, "strip", z.ZodTypeAny, {
2116
- temperature?: number | undefined;
2117
- maxTokens?: number | undefined;
2118
- topP?: number | undefined;
2119
- topK?: number | undefined;
2120
- }, {
2121
- temperature?: number | undefined;
2122
- maxTokens?: number | undefined;
2123
- topP?: number | undefined;
2124
- topK?: number | undefined;
2125
- }>>;
734
+ }, z.core.$strip>>;
2126
735
  lossConfig: z.ZodOptional<z.ZodObject<{
2127
- method: z.ZodOptional<z.ZodEnum<["METHOD_UNSPECIFIED", "GRPO", "DAPO", "DPO", "ORPO", "GSPO_TOKEN"]>>;
736
+ method: z.ZodOptional<z.ZodEnum<{
737
+ METHOD_UNSPECIFIED: "METHOD_UNSPECIFIED";
738
+ GRPO: "GRPO";
739
+ DAPO: "DAPO";
740
+ DPO: "DPO";
741
+ ORPO: "ORPO";
742
+ GSPO_TOKEN: "GSPO_TOKEN";
743
+ }>>;
2128
744
  klBeta: z.ZodOptional<z.ZodNumber>;
2129
- }, "strip", z.ZodTypeAny, {
2130
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
2131
- klBeta?: number | undefined;
2132
- }, {
2133
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
2134
- klBeta?: number | undefined;
2135
- }>>;
745
+ }, z.core.$strip>>;
2136
746
  wandbConfig: z.ZodOptional<z.ZodObject<{
2137
747
  enabled: z.ZodOptional<z.ZodBoolean>;
2138
748
  apiKey: z.ZodOptional<z.ZodString>;
@@ -2140,152 +750,22 @@ export declare const FireworksRFTCreateRequestSchema: z.ZodObject<{
2140
750
  entity: z.ZodOptional<z.ZodString>;
2141
751
  runId: z.ZodOptional<z.ZodString>;
2142
752
  url: z.ZodOptional<z.ZodString>;
2143
- }, "strip", z.ZodTypeAny, {
2144
- url?: string | undefined;
2145
- enabled?: boolean | undefined;
2146
- apiKey?: string | undefined;
2147
- project?: string | undefined;
2148
- entity?: string | undefined;
2149
- runId?: string | undefined;
2150
- }, {
2151
- url?: string | undefined;
2152
- enabled?: boolean | undefined;
2153
- apiKey?: string | undefined;
2154
- project?: string | undefined;
2155
- entity?: string | undefined;
2156
- runId?: string | undefined;
2157
- }>>;
753
+ }, z.core.$strip>>;
2158
754
  awsS3Config: z.ZodOptional<z.ZodObject<{
2159
755
  credentialsSecret: z.ZodOptional<z.ZodString>;
2160
756
  iamRoleArn: z.ZodOptional<z.ZodString>;
2161
- }, "strip", z.ZodTypeAny, {
2162
- credentialsSecret?: string | undefined;
2163
- iamRoleArn?: string | undefined;
2164
- }, {
2165
- credentialsSecret?: string | undefined;
2166
- iamRoleArn?: string | undefined;
2167
- }>>;
757
+ }, z.core.$strip>>;
2168
758
  azureBlobStorageConfig: z.ZodOptional<z.ZodObject<{
2169
759
  credentialsSecret: z.ZodOptional<z.ZodString>;
2170
760
  managedIdentityClientId: z.ZodOptional<z.ZodString>;
2171
761
  tenantId: z.ZodOptional<z.ZodString>;
2172
- }, "strip", z.ZodTypeAny, {
2173
- credentialsSecret?: string | undefined;
2174
- managedIdentityClientId?: string | undefined;
2175
- tenantId?: string | undefined;
2176
- }, {
2177
- credentialsSecret?: string | undefined;
2178
- managedIdentityClientId?: string | undefined;
2179
- tenantId?: string | undefined;
2180
- }>>;
762
+ }, z.core.$strip>>;
2181
763
  reinforcementFineTuningJobId: z.ZodOptional<z.ZodString>;
2182
- }, "strip", z.ZodTypeAny, {
2183
- dataset: string;
2184
- evaluator: string;
2185
- displayName?: string | undefined;
2186
- awsS3Config?: {
2187
- credentialsSecret?: string | undefined;
2188
- iamRoleArn?: string | undefined;
2189
- } | undefined;
2190
- azureBlobStorageConfig?: {
2191
- credentialsSecret?: string | undefined;
2192
- managedIdentityClientId?: string | undefined;
2193
- tenantId?: string | undefined;
2194
- } | undefined;
2195
- wandbConfig?: {
2196
- url?: string | undefined;
2197
- enabled?: boolean | undefined;
2198
- apiKey?: string | undefined;
2199
- project?: string | undefined;
2200
- entity?: string | undefined;
2201
- runId?: string | undefined;
2202
- } | undefined;
2203
- trainingConfig?: {
2204
- baseModel?: string | undefined;
2205
- warmStartFrom?: string | undefined;
2206
- outputModel?: string | undefined;
2207
- learningRate?: number | undefined;
2208
- epochs?: number | undefined;
2209
- batchSize?: number | undefined;
2210
- batchSizeSamples?: number | undefined;
2211
- gradientAccumulationSteps?: number | undefined;
2212
- learningRateWarmupSteps?: number | undefined;
2213
- maxContextLength?: number | undefined;
2214
- loraRank?: number | undefined;
2215
- optimizerWeightDecay?: number | undefined;
2216
- jinjaTemplate?: string | undefined;
2217
- region?: string | undefined;
2218
- } | undefined;
2219
- lossConfig?: {
2220
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
2221
- klBeta?: number | undefined;
2222
- } | undefined;
2223
- inferenceParams?: {
2224
- temperature?: number | undefined;
2225
- maxTokens?: number | undefined;
2226
- topP?: number | undefined;
2227
- topK?: number | undefined;
2228
- } | undefined;
2229
- reinforcementFineTuningJobId?: string | undefined;
2230
- }, {
2231
- dataset: string;
2232
- evaluator: string;
2233
- displayName?: string | undefined;
2234
- awsS3Config?: {
2235
- credentialsSecret?: string | undefined;
2236
- iamRoleArn?: string | undefined;
2237
- } | undefined;
2238
- azureBlobStorageConfig?: {
2239
- credentialsSecret?: string | undefined;
2240
- managedIdentityClientId?: string | undefined;
2241
- tenantId?: string | undefined;
2242
- } | undefined;
2243
- wandbConfig?: {
2244
- url?: string | undefined;
2245
- enabled?: boolean | undefined;
2246
- apiKey?: string | undefined;
2247
- project?: string | undefined;
2248
- entity?: string | undefined;
2249
- runId?: string | undefined;
2250
- } | undefined;
2251
- trainingConfig?: {
2252
- baseModel?: string | undefined;
2253
- warmStartFrom?: string | undefined;
2254
- outputModel?: string | undefined;
2255
- learningRate?: number | undefined;
2256
- epochs?: number | undefined;
2257
- batchSize?: number | undefined;
2258
- batchSizeSamples?: number | undefined;
2259
- gradientAccumulationSteps?: number | undefined;
2260
- learningRateWarmupSteps?: number | undefined;
2261
- maxContextLength?: number | undefined;
2262
- loraRank?: number | undefined;
2263
- optimizerWeightDecay?: number | undefined;
2264
- jinjaTemplate?: string | undefined;
2265
- region?: string | undefined;
2266
- } | undefined;
2267
- lossConfig?: {
2268
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
2269
- klBeta?: number | undefined;
2270
- } | undefined;
2271
- inferenceParams?: {
2272
- temperature?: number | undefined;
2273
- maxTokens?: number | undefined;
2274
- topP?: number | undefined;
2275
- topK?: number | undefined;
2276
- } | undefined;
2277
- reinforcementFineTuningJobId?: string | undefined;
2278
- }>;
764
+ }, z.core.$strip>;
2279
765
  export declare const FireworksRlorRewardWeightSchema: z.ZodObject<{
2280
766
  name: z.ZodOptional<z.ZodString>;
2281
767
  weight: z.ZodOptional<z.ZodNumber>;
2282
- }, "strip", z.ZodTypeAny, {
2283
- name?: string | undefined;
2284
- weight?: number | undefined;
2285
- }, {
2286
- name?: string | undefined;
2287
- weight?: number | undefined;
2288
- }>;
768
+ }, z.core.$strip>;
2289
769
  export declare const FireworksRlorTrainerJobCreateRequestSchema: z.ZodObject<{
2290
770
  dataset: z.ZodString;
2291
771
  evaluator: z.ZodString;
@@ -2305,73 +785,28 @@ export declare const FireworksRlorTrainerJobCreateRequestSchema: z.ZodObject<{
2305
785
  optimizerWeightDecay: z.ZodOptional<z.ZodNumber>;
2306
786
  jinjaTemplate: z.ZodOptional<z.ZodString>;
2307
787
  region: z.ZodOptional<z.ZodString>;
2308
- }, "strip", z.ZodTypeAny, {
2309
- baseModel?: string | undefined;
2310
- warmStartFrom?: string | undefined;
2311
- outputModel?: string | undefined;
2312
- learningRate?: number | undefined;
2313
- epochs?: number | undefined;
2314
- batchSize?: number | undefined;
2315
- batchSizeSamples?: number | undefined;
2316
- gradientAccumulationSteps?: number | undefined;
2317
- learningRateWarmupSteps?: number | undefined;
2318
- maxContextLength?: number | undefined;
2319
- loraRank?: number | undefined;
2320
- optimizerWeightDecay?: number | undefined;
2321
- jinjaTemplate?: string | undefined;
2322
- region?: string | undefined;
2323
- }, {
2324
- baseModel?: string | undefined;
2325
- warmStartFrom?: string | undefined;
2326
- outputModel?: string | undefined;
2327
- learningRate?: number | undefined;
2328
- epochs?: number | undefined;
2329
- batchSize?: number | undefined;
2330
- batchSizeSamples?: number | undefined;
2331
- gradientAccumulationSteps?: number | undefined;
2332
- learningRateWarmupSteps?: number | undefined;
2333
- maxContextLength?: number | undefined;
2334
- loraRank?: number | undefined;
2335
- optimizerWeightDecay?: number | undefined;
2336
- jinjaTemplate?: string | undefined;
2337
- region?: string | undefined;
2338
- }>>;
788
+ }, z.core.$strip>>;
2339
789
  inferenceParams: z.ZodOptional<z.ZodObject<{
2340
790
  maxTokens: z.ZodOptional<z.ZodNumber>;
2341
791
  temperature: z.ZodOptional<z.ZodNumber>;
2342
792
  topP: z.ZodOptional<z.ZodNumber>;
2343
793
  topK: z.ZodOptional<z.ZodNumber>;
2344
- }, "strip", z.ZodTypeAny, {
2345
- temperature?: number | undefined;
2346
- maxTokens?: number | undefined;
2347
- topP?: number | undefined;
2348
- topK?: number | undefined;
2349
- }, {
2350
- temperature?: number | undefined;
2351
- maxTokens?: number | undefined;
2352
- topP?: number | undefined;
2353
- topK?: number | undefined;
2354
- }>>;
794
+ }, z.core.$strip>>;
2355
795
  lossConfig: z.ZodOptional<z.ZodObject<{
2356
- method: z.ZodOptional<z.ZodEnum<["METHOD_UNSPECIFIED", "GRPO", "DAPO", "DPO", "ORPO", "GSPO_TOKEN"]>>;
796
+ method: z.ZodOptional<z.ZodEnum<{
797
+ METHOD_UNSPECIFIED: "METHOD_UNSPECIFIED";
798
+ GRPO: "GRPO";
799
+ DAPO: "DAPO";
800
+ DPO: "DPO";
801
+ ORPO: "ORPO";
802
+ GSPO_TOKEN: "GSPO_TOKEN";
803
+ }>>;
2357
804
  klBeta: z.ZodOptional<z.ZodNumber>;
2358
- }, "strip", z.ZodTypeAny, {
2359
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
2360
- klBeta?: number | undefined;
2361
- }, {
2362
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
2363
- klBeta?: number | undefined;
2364
- }>>;
805
+ }, z.core.$strip>>;
2365
806
  rewardWeights: z.ZodOptional<z.ZodArray<z.ZodObject<{
2366
807
  name: z.ZodOptional<z.ZodString>;
2367
808
  weight: z.ZodOptional<z.ZodNumber>;
2368
- }, "strip", z.ZodTypeAny, {
2369
- name?: string | undefined;
2370
- weight?: number | undefined;
2371
- }, {
2372
- name?: string | undefined;
2373
- weight?: number | undefined;
2374
- }>, "many">>;
809
+ }, z.core.$strip>>>;
2375
810
  wandbConfig: z.ZodOptional<z.ZodObject<{
2376
811
  enabled: z.ZodOptional<z.ZodBoolean>;
2377
812
  apiKey: z.ZodOptional<z.ZodString>;
@@ -2379,157 +814,21 @@ export declare const FireworksRlorTrainerJobCreateRequestSchema: z.ZodObject<{
2379
814
  entity: z.ZodOptional<z.ZodString>;
2380
815
  runId: z.ZodOptional<z.ZodString>;
2381
816
  url: z.ZodOptional<z.ZodString>;
2382
- }, "strip", z.ZodTypeAny, {
2383
- url?: string | undefined;
2384
- enabled?: boolean | undefined;
2385
- apiKey?: string | undefined;
2386
- project?: string | undefined;
2387
- entity?: string | undefined;
2388
- runId?: string | undefined;
2389
- }, {
2390
- url?: string | undefined;
2391
- enabled?: boolean | undefined;
2392
- apiKey?: string | undefined;
2393
- project?: string | undefined;
2394
- entity?: string | undefined;
2395
- runId?: string | undefined;
2396
- }>>;
817
+ }, z.core.$strip>>;
2397
818
  awsS3Config: z.ZodOptional<z.ZodObject<{
2398
819
  credentialsSecret: z.ZodOptional<z.ZodString>;
2399
820
  iamRoleArn: z.ZodOptional<z.ZodString>;
2400
- }, "strip", z.ZodTypeAny, {
2401
- credentialsSecret?: string | undefined;
2402
- iamRoleArn?: string | undefined;
2403
- }, {
2404
- credentialsSecret?: string | undefined;
2405
- iamRoleArn?: string | undefined;
2406
- }>>;
821
+ }, z.core.$strip>>;
2407
822
  azureBlobStorageConfig: z.ZodOptional<z.ZodObject<{
2408
823
  credentialsSecret: z.ZodOptional<z.ZodString>;
2409
824
  managedIdentityClientId: z.ZodOptional<z.ZodString>;
2410
825
  tenantId: z.ZodOptional<z.ZodString>;
2411
- }, "strip", z.ZodTypeAny, {
2412
- credentialsSecret?: string | undefined;
2413
- managedIdentityClientId?: string | undefined;
2414
- tenantId?: string | undefined;
2415
- }, {
2416
- credentialsSecret?: string | undefined;
2417
- managedIdentityClientId?: string | undefined;
2418
- tenantId?: string | undefined;
2419
- }>>;
2420
- }, "strip", z.ZodTypeAny, {
2421
- dataset: string;
2422
- evaluator: string;
2423
- displayName?: string | undefined;
2424
- awsS3Config?: {
2425
- credentialsSecret?: string | undefined;
2426
- iamRoleArn?: string | undefined;
2427
- } | undefined;
2428
- azureBlobStorageConfig?: {
2429
- credentialsSecret?: string | undefined;
2430
- managedIdentityClientId?: string | undefined;
2431
- tenantId?: string | undefined;
2432
- } | undefined;
2433
- wandbConfig?: {
2434
- url?: string | undefined;
2435
- enabled?: boolean | undefined;
2436
- apiKey?: string | undefined;
2437
- project?: string | undefined;
2438
- entity?: string | undefined;
2439
- runId?: string | undefined;
2440
- } | undefined;
2441
- trainingConfig?: {
2442
- baseModel?: string | undefined;
2443
- warmStartFrom?: string | undefined;
2444
- outputModel?: string | undefined;
2445
- learningRate?: number | undefined;
2446
- epochs?: number | undefined;
2447
- batchSize?: number | undefined;
2448
- batchSizeSamples?: number | undefined;
2449
- gradientAccumulationSteps?: number | undefined;
2450
- learningRateWarmupSteps?: number | undefined;
2451
- maxContextLength?: number | undefined;
2452
- loraRank?: number | undefined;
2453
- optimizerWeightDecay?: number | undefined;
2454
- jinjaTemplate?: string | undefined;
2455
- region?: string | undefined;
2456
- } | undefined;
2457
- lossConfig?: {
2458
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
2459
- klBeta?: number | undefined;
2460
- } | undefined;
2461
- inferenceParams?: {
2462
- temperature?: number | undefined;
2463
- maxTokens?: number | undefined;
2464
- topP?: number | undefined;
2465
- topK?: number | undefined;
2466
- } | undefined;
2467
- rewardWeights?: {
2468
- name?: string | undefined;
2469
- weight?: number | undefined;
2470
- }[] | undefined;
2471
- }, {
2472
- dataset: string;
2473
- evaluator: string;
2474
- displayName?: string | undefined;
2475
- awsS3Config?: {
2476
- credentialsSecret?: string | undefined;
2477
- iamRoleArn?: string | undefined;
2478
- } | undefined;
2479
- azureBlobStorageConfig?: {
2480
- credentialsSecret?: string | undefined;
2481
- managedIdentityClientId?: string | undefined;
2482
- tenantId?: string | undefined;
2483
- } | undefined;
2484
- wandbConfig?: {
2485
- url?: string | undefined;
2486
- enabled?: boolean | undefined;
2487
- apiKey?: string | undefined;
2488
- project?: string | undefined;
2489
- entity?: string | undefined;
2490
- runId?: string | undefined;
2491
- } | undefined;
2492
- trainingConfig?: {
2493
- baseModel?: string | undefined;
2494
- warmStartFrom?: string | undefined;
2495
- outputModel?: string | undefined;
2496
- learningRate?: number | undefined;
2497
- epochs?: number | undefined;
2498
- batchSize?: number | undefined;
2499
- batchSizeSamples?: number | undefined;
2500
- gradientAccumulationSteps?: number | undefined;
2501
- learningRateWarmupSteps?: number | undefined;
2502
- maxContextLength?: number | undefined;
2503
- loraRank?: number | undefined;
2504
- optimizerWeightDecay?: number | undefined;
2505
- jinjaTemplate?: string | undefined;
2506
- region?: string | undefined;
2507
- } | undefined;
2508
- lossConfig?: {
2509
- method?: "METHOD_UNSPECIFIED" | "GRPO" | "DAPO" | "DPO" | "ORPO" | "GSPO_TOKEN" | undefined;
2510
- klBeta?: number | undefined;
2511
- } | undefined;
2512
- inferenceParams?: {
2513
- temperature?: number | undefined;
2514
- maxTokens?: number | undefined;
2515
- topP?: number | undefined;
2516
- topK?: number | undefined;
2517
- } | undefined;
2518
- rewardWeights?: {
2519
- name?: string | undefined;
2520
- weight?: number | undefined;
2521
- }[] | undefined;
2522
- }>;
826
+ }, z.core.$strip>>;
827
+ }, z.core.$strip>;
2523
828
  export declare const FireworksRlorTrainerJobExecuteStepRequestSchema: z.ZodObject<{
2524
829
  dataset: z.ZodString;
2525
830
  outputModel: z.ZodString;
2526
- }, "strip", z.ZodTypeAny, {
2527
- outputModel: string;
2528
- dataset: string;
2529
- }, {
2530
- outputModel: string;
2531
- dataset: string;
2532
- }>;
831
+ }, z.core.$strip>;
2533
832
  export declare const FireworksCreateDeploymentRequestSchema: z.ZodObject<{
2534
833
  baseModel: z.ZodString;
2535
834
  displayName: z.ZodOptional<z.ZodString>;
@@ -2537,42 +836,34 @@ export declare const FireworksCreateDeploymentRequestSchema: z.ZodObject<{
2537
836
  minReplicaCount: z.ZodOptional<z.ZodNumber>;
2538
837
  maxReplicaCount: z.ZodOptional<z.ZodNumber>;
2539
838
  acceleratorCount: z.ZodOptional<z.ZodNumber>;
2540
- acceleratorType: z.ZodOptional<z.ZodEnum<["ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_A100_80GB", "NVIDIA_H100_80GB", "AMD_MI300X_192GB", "NVIDIA_A10G_24GB", "NVIDIA_A100_40GB", "NVIDIA_L4_24GB", "NVIDIA_H200_141GB", "NVIDIA_B200_180GB", "AMD_MI325X_256GB", "AMD_MI350X_288GB"]>>;
2541
- precision: z.ZodOptional<z.ZodEnum<["PRECISION_UNSPECIFIED", "FP16", "FP8", "FP8_MM", "BF16", "NF4", "FP4"]>>;
839
+ acceleratorType: z.ZodOptional<z.ZodEnum<{
840
+ ACCELERATOR_TYPE_UNSPECIFIED: "ACCELERATOR_TYPE_UNSPECIFIED";
841
+ NVIDIA_A100_80GB: "NVIDIA_A100_80GB";
842
+ NVIDIA_H100_80GB: "NVIDIA_H100_80GB";
843
+ AMD_MI300X_192GB: "AMD_MI300X_192GB";
844
+ NVIDIA_A10G_24GB: "NVIDIA_A10G_24GB";
845
+ NVIDIA_A100_40GB: "NVIDIA_A100_40GB";
846
+ NVIDIA_L4_24GB: "NVIDIA_L4_24GB";
847
+ NVIDIA_H200_141GB: "NVIDIA_H200_141GB";
848
+ NVIDIA_B200_180GB: "NVIDIA_B200_180GB";
849
+ AMD_MI325X_256GB: "AMD_MI325X_256GB";
850
+ AMD_MI350X_288GB: "AMD_MI350X_288GB";
851
+ }>>;
852
+ precision: z.ZodOptional<z.ZodEnum<{
853
+ PRECISION_UNSPECIFIED: "PRECISION_UNSPECIFIED";
854
+ FP16: "FP16";
855
+ FP8: "FP8";
856
+ FP8_MM: "FP8_MM";
857
+ BF16: "BF16";
858
+ NF4: "NF4";
859
+ FP4: "FP4";
860
+ }>>;
2542
861
  enableAddons: z.ZodOptional<z.ZodBoolean>;
2543
862
  draftTokenCount: z.ZodOptional<z.ZodNumber>;
2544
863
  draftModel: z.ZodOptional<z.ZodString>;
2545
864
  maxContextLength: z.ZodOptional<z.ZodNumber>;
2546
865
  deploymentShape: z.ZodOptional<z.ZodString>;
2547
- }, "strip", z.ZodTypeAny, {
2548
- baseModel: string;
2549
- description?: string | undefined;
2550
- displayName?: string | undefined;
2551
- precision?: "PRECISION_UNSPECIFIED" | "FP16" | "FP8" | "FP8_MM" | "BF16" | "NF4" | "FP4" | undefined;
2552
- maxContextLength?: number | undefined;
2553
- minReplicaCount?: number | undefined;
2554
- maxReplicaCount?: number | undefined;
2555
- acceleratorCount?: number | undefined;
2556
- acceleratorType?: "ACCELERATOR_TYPE_UNSPECIFIED" | "NVIDIA_A100_80GB" | "NVIDIA_H100_80GB" | "AMD_MI300X_192GB" | "NVIDIA_A10G_24GB" | "NVIDIA_A100_40GB" | "NVIDIA_L4_24GB" | "NVIDIA_H200_141GB" | "NVIDIA_B200_180GB" | "AMD_MI325X_256GB" | "AMD_MI350X_288GB" | undefined;
2557
- enableAddons?: boolean | undefined;
2558
- draftTokenCount?: number | undefined;
2559
- draftModel?: string | undefined;
2560
- deploymentShape?: string | undefined;
2561
- }, {
2562
- baseModel: string;
2563
- description?: string | undefined;
2564
- displayName?: string | undefined;
2565
- precision?: "PRECISION_UNSPECIFIED" | "FP16" | "FP8" | "FP8_MM" | "BF16" | "NF4" | "FP4" | undefined;
2566
- maxContextLength?: number | undefined;
2567
- minReplicaCount?: number | undefined;
2568
- maxReplicaCount?: number | undefined;
2569
- acceleratorCount?: number | undefined;
2570
- acceleratorType?: "ACCELERATOR_TYPE_UNSPECIFIED" | "NVIDIA_A100_80GB" | "NVIDIA_H100_80GB" | "AMD_MI300X_192GB" | "NVIDIA_A10G_24GB" | "NVIDIA_A100_40GB" | "NVIDIA_L4_24GB" | "NVIDIA_H200_141GB" | "NVIDIA_B200_180GB" | "AMD_MI325X_256GB" | "AMD_MI350X_288GB" | undefined;
2571
- enableAddons?: boolean | undefined;
2572
- draftTokenCount?: number | undefined;
2573
- draftModel?: string | undefined;
2574
- deploymentShape?: string | undefined;
2575
- }>;
866
+ }, z.core.$strip>;
2576
867
  export declare const FireworksUpdateDeploymentRequestSchema: z.ZodObject<{
2577
868
  baseModel: z.ZodOptional<z.ZodString>;
2578
869
  displayName: z.ZodOptional<z.ZodString>;
@@ -2580,43 +871,35 @@ export declare const FireworksUpdateDeploymentRequestSchema: z.ZodObject<{
2580
871
  minReplicaCount: z.ZodOptional<z.ZodNumber>;
2581
872
  maxReplicaCount: z.ZodOptional<z.ZodNumber>;
2582
873
  acceleratorCount: z.ZodOptional<z.ZodNumber>;
2583
- acceleratorType: z.ZodOptional<z.ZodEnum<["ACCELERATOR_TYPE_UNSPECIFIED", "NVIDIA_A100_80GB", "NVIDIA_H100_80GB", "AMD_MI300X_192GB", "NVIDIA_A10G_24GB", "NVIDIA_A100_40GB", "NVIDIA_L4_24GB", "NVIDIA_H200_141GB", "NVIDIA_B200_180GB", "AMD_MI325X_256GB", "AMD_MI350X_288GB"]>>;
2584
- precision: z.ZodOptional<z.ZodEnum<["PRECISION_UNSPECIFIED", "FP16", "FP8", "FP8_MM", "BF16", "NF4", "FP4"]>>;
874
+ acceleratorType: z.ZodOptional<z.ZodEnum<{
875
+ ACCELERATOR_TYPE_UNSPECIFIED: "ACCELERATOR_TYPE_UNSPECIFIED";
876
+ NVIDIA_A100_80GB: "NVIDIA_A100_80GB";
877
+ NVIDIA_H100_80GB: "NVIDIA_H100_80GB";
878
+ AMD_MI300X_192GB: "AMD_MI300X_192GB";
879
+ NVIDIA_A10G_24GB: "NVIDIA_A10G_24GB";
880
+ NVIDIA_A100_40GB: "NVIDIA_A100_40GB";
881
+ NVIDIA_L4_24GB: "NVIDIA_L4_24GB";
882
+ NVIDIA_H200_141GB: "NVIDIA_H200_141GB";
883
+ NVIDIA_B200_180GB: "NVIDIA_B200_180GB";
884
+ AMD_MI325X_256GB: "AMD_MI325X_256GB";
885
+ AMD_MI350X_288GB: "AMD_MI350X_288GB";
886
+ }>>;
887
+ precision: z.ZodOptional<z.ZodEnum<{
888
+ PRECISION_UNSPECIFIED: "PRECISION_UNSPECIFIED";
889
+ FP16: "FP16";
890
+ FP8: "FP8";
891
+ FP8_MM: "FP8_MM";
892
+ BF16: "BF16";
893
+ NF4: "NF4";
894
+ FP4: "FP4";
895
+ }>>;
2585
896
  enableAddons: z.ZodOptional<z.ZodBoolean>;
2586
897
  maxContextLength: z.ZodOptional<z.ZodNumber>;
2587
898
  deploymentShape: z.ZodOptional<z.ZodString>;
2588
- }, "strip", z.ZodTypeAny, {
2589
- description?: string | undefined;
2590
- displayName?: string | undefined;
2591
- precision?: "PRECISION_UNSPECIFIED" | "FP16" | "FP8" | "FP8_MM" | "BF16" | "NF4" | "FP4" | undefined;
2592
- baseModel?: string | undefined;
2593
- maxContextLength?: number | undefined;
2594
- minReplicaCount?: number | undefined;
2595
- maxReplicaCount?: number | undefined;
2596
- acceleratorCount?: number | undefined;
2597
- acceleratorType?: "ACCELERATOR_TYPE_UNSPECIFIED" | "NVIDIA_A100_80GB" | "NVIDIA_H100_80GB" | "AMD_MI300X_192GB" | "NVIDIA_A10G_24GB" | "NVIDIA_A100_40GB" | "NVIDIA_L4_24GB" | "NVIDIA_H200_141GB" | "NVIDIA_B200_180GB" | "AMD_MI325X_256GB" | "AMD_MI350X_288GB" | undefined;
2598
- enableAddons?: boolean | undefined;
2599
- deploymentShape?: string | undefined;
2600
- }, {
2601
- description?: string | undefined;
2602
- displayName?: string | undefined;
2603
- precision?: "PRECISION_UNSPECIFIED" | "FP16" | "FP8" | "FP8_MM" | "BF16" | "NF4" | "FP4" | undefined;
2604
- baseModel?: string | undefined;
2605
- maxContextLength?: number | undefined;
2606
- minReplicaCount?: number | undefined;
2607
- maxReplicaCount?: number | undefined;
2608
- acceleratorCount?: number | undefined;
2609
- acceleratorType?: "ACCELERATOR_TYPE_UNSPECIFIED" | "NVIDIA_A100_80GB" | "NVIDIA_H100_80GB" | "AMD_MI300X_192GB" | "NVIDIA_A10G_24GB" | "NVIDIA_A100_40GB" | "NVIDIA_L4_24GB" | "NVIDIA_H200_141GB" | "NVIDIA_B200_180GB" | "AMD_MI325X_256GB" | "AMD_MI350X_288GB" | undefined;
2610
- enableAddons?: boolean | undefined;
2611
- deploymentShape?: string | undefined;
2612
- }>;
899
+ }, z.core.$strip>;
2613
900
  export declare const FireworksScaleDeploymentRequestSchema: z.ZodObject<{
2614
901
  replicaCount: z.ZodNumber;
2615
- }, "strip", z.ZodTypeAny, {
2616
- replicaCount: number;
2617
- }, {
2618
- replicaCount: number;
2619
- }>;
902
+ }, z.core.$strip>;
2620
903
  export declare const FireworksCreateDeployedModelRequestSchema: z.ZodObject<{
2621
904
  model: z.ZodString;
2622
905
  deployment: z.ZodString;
@@ -2625,23 +908,7 @@ export declare const FireworksCreateDeployedModelRequestSchema: z.ZodObject<{
2625
908
  default: z.ZodOptional<z.ZodBoolean>;
2626
909
  serverless: z.ZodOptional<z.ZodBoolean>;
2627
910
  public: z.ZodOptional<z.ZodBoolean>;
2628
- }, "strip", z.ZodTypeAny, {
2629
- model: string;
2630
- deployment: string;
2631
- description?: string | undefined;
2632
- displayName?: string | undefined;
2633
- public?: boolean | undefined;
2634
- default?: boolean | undefined;
2635
- serverless?: boolean | undefined;
2636
- }, {
2637
- model: string;
2638
- deployment: string;
2639
- description?: string | undefined;
2640
- displayName?: string | undefined;
2641
- public?: boolean | undefined;
2642
- default?: boolean | undefined;
2643
- serverless?: boolean | undefined;
2644
- }>;
911
+ }, z.core.$strip>;
2645
912
  export declare const FireworksUpdateDeployedModelRequestSchema: z.ZodObject<{
2646
913
  displayName: z.ZodOptional<z.ZodString>;
2647
914
  description: z.ZodOptional<z.ZodString>;
@@ -2650,155 +917,75 @@ export declare const FireworksUpdateDeployedModelRequestSchema: z.ZodObject<{
2650
917
  default: z.ZodOptional<z.ZodBoolean>;
2651
918
  serverless: z.ZodOptional<z.ZodBoolean>;
2652
919
  public: z.ZodOptional<z.ZodBoolean>;
2653
- }, "strip", z.ZodTypeAny, {
2654
- description?: string | undefined;
2655
- model?: string | undefined;
2656
- displayName?: string | undefined;
2657
- public?: boolean | undefined;
2658
- deployment?: string | undefined;
2659
- default?: boolean | undefined;
2660
- serverless?: boolean | undefined;
2661
- }, {
2662
- description?: string | undefined;
2663
- model?: string | undefined;
2664
- displayName?: string | undefined;
2665
- public?: boolean | undefined;
2666
- deployment?: string | undefined;
2667
- default?: boolean | undefined;
2668
- serverless?: boolean | undefined;
2669
- }>;
920
+ }, z.core.$strip>;
2670
921
  export declare const FireworksCreateDatasetRequestSchema: z.ZodObject<{
2671
922
  dataset: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2672
923
  datasetId: z.ZodString;
2673
924
  sourceDatasetId: z.ZodOptional<z.ZodString>;
2674
925
  filter: z.ZodOptional<z.ZodString>;
2675
- }, "strip", z.ZodTypeAny, {
2676
- dataset: Record<string, unknown>;
2677
- datasetId: string;
2678
- filter?: string | undefined;
2679
- sourceDatasetId?: string | undefined;
2680
- }, {
2681
- dataset: Record<string, unknown>;
2682
- datasetId: string;
2683
- filter?: string | undefined;
2684
- sourceDatasetId?: string | undefined;
2685
- }>;
926
+ }, z.core.$strip>;
2686
927
  export declare const FireworksUpdateDatasetRequestSchema: z.ZodObject<{
2687
928
  displayName: z.ZodOptional<z.ZodString>;
2688
929
  exampleCount: z.ZodOptional<z.ZodNumber>;
2689
930
  externalUrl: z.ZodOptional<z.ZodString>;
2690
- format: z.ZodOptional<z.ZodEnum<["FORMAT_UNSPECIFIED", "CHAT", "COMPLETION", "RL"]>>;
931
+ format: z.ZodOptional<z.ZodEnum<{
932
+ FORMAT_UNSPECIFIED: "FORMAT_UNSPECIFIED";
933
+ CHAT: "CHAT";
934
+ COMPLETION: "COMPLETION";
935
+ RL: "RL";
936
+ }>>;
2691
937
  sourceJobName: z.ZodOptional<z.ZodString>;
2692
- }, "strip", z.ZodTypeAny, {
2693
- displayName?: string | undefined;
2694
- exampleCount?: number | undefined;
2695
- externalUrl?: string | undefined;
2696
- format?: "FORMAT_UNSPECIFIED" | "CHAT" | "COMPLETION" | "RL" | undefined;
2697
- sourceJobName?: string | undefined;
2698
- }, {
2699
- displayName?: string | undefined;
2700
- exampleCount?: number | undefined;
2701
- externalUrl?: string | undefined;
2702
- format?: "FORMAT_UNSPECIFIED" | "CHAT" | "COMPLETION" | "RL" | undefined;
2703
- sourceJobName?: string | undefined;
2704
- }>;
938
+ }, z.core.$strip>;
2705
939
  export declare const FireworksDatasetGetUploadEndpointRequestSchema: z.ZodObject<{
2706
940
  filenameToSize: z.ZodRecord<z.ZodString, z.ZodNumber>;
2707
941
  readMask: z.ZodOptional<z.ZodString>;
2708
- }, "strip", z.ZodTypeAny, {
2709
- filenameToSize: Record<string, number>;
2710
- readMask?: string | undefined;
2711
- }, {
2712
- filenameToSize: Record<string, number>;
2713
- readMask?: string | undefined;
2714
- }>;
2715
- export declare const FireworksDatasetValidateUploadRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
942
+ }, z.core.$strip>;
943
+ export declare const FireworksDatasetValidateUploadRequestSchema: z.ZodObject<{}, z.core.$loose>;
2716
944
  export declare const FireworksCreateUserRequestSchema: z.ZodObject<{
2717
- role: z.ZodEnum<["admin", "user", "contributor", "inference-user"]>;
945
+ role: z.ZodEnum<{
946
+ user: "user";
947
+ admin: "admin";
948
+ contributor: "contributor";
949
+ "inference-user": "inference-user";
950
+ }>;
2718
951
  displayName: z.ZodOptional<z.ZodString>;
2719
952
  email: z.ZodOptional<z.ZodString>;
2720
953
  serviceAccount: z.ZodOptional<z.ZodBoolean>;
2721
- }, "strip", z.ZodTypeAny, {
2722
- role: "user" | "admin" | "contributor" | "inference-user";
2723
- displayName?: string | undefined;
2724
- email?: string | undefined;
2725
- serviceAccount?: boolean | undefined;
2726
- }, {
2727
- role: "user" | "admin" | "contributor" | "inference-user";
2728
- displayName?: string | undefined;
2729
- email?: string | undefined;
2730
- serviceAccount?: boolean | undefined;
2731
- }>;
954
+ }, z.core.$strip>;
2732
955
  export declare const FireworksUpdateUserRequestSchema: z.ZodObject<{
2733
- role: z.ZodEnum<["admin", "user", "contributor", "inference-user"]>;
956
+ role: z.ZodEnum<{
957
+ user: "user";
958
+ admin: "admin";
959
+ contributor: "contributor";
960
+ "inference-user": "inference-user";
961
+ }>;
2734
962
  displayName: z.ZodOptional<z.ZodString>;
2735
963
  email: z.ZodOptional<z.ZodString>;
2736
964
  serviceAccount: z.ZodOptional<z.ZodBoolean>;
2737
- }, "strip", z.ZodTypeAny, {
2738
- role: "user" | "admin" | "contributor" | "inference-user";
2739
- displayName?: string | undefined;
2740
- email?: string | undefined;
2741
- serviceAccount?: boolean | undefined;
2742
- }, {
2743
- role: "user" | "admin" | "contributor" | "inference-user";
2744
- displayName?: string | undefined;
2745
- email?: string | undefined;
2746
- serviceAccount?: boolean | undefined;
2747
- }>;
965
+ }, z.core.$strip>;
2748
966
  export declare const FireworksCreateApiKeyRequestSchema: z.ZodObject<{
2749
967
  apiKey: z.ZodObject<{
2750
968
  displayName: z.ZodOptional<z.ZodString>;
2751
969
  expireTime: z.ZodOptional<z.ZodString>;
2752
- }, "strip", z.ZodTypeAny, {
2753
- displayName?: string | undefined;
2754
- expireTime?: string | undefined;
2755
- }, {
2756
- displayName?: string | undefined;
2757
- expireTime?: string | undefined;
2758
- }>;
2759
- }, "strip", z.ZodTypeAny, {
2760
- apiKey: {
2761
- displayName?: string | undefined;
2762
- expireTime?: string | undefined;
2763
- };
2764
- }, {
2765
- apiKey: {
2766
- displayName?: string | undefined;
2767
- expireTime?: string | undefined;
2768
- };
2769
- }>;
970
+ }, z.core.$strip>;
971
+ }, z.core.$strip>;
2770
972
  export declare const FireworksDeleteApiKeyRequestSchema: z.ZodObject<{
2771
973
  keyId: z.ZodString;
2772
- }, "strip", z.ZodTypeAny, {
2773
- keyId: string;
2774
- }, {
2775
- keyId: string;
2776
- }>;
974
+ }, z.core.$strip>;
2777
975
  export declare const FireworksCreateSecretRequestSchema: z.ZodObject<{
2778
976
  keyName: z.ZodString;
2779
977
  value: z.ZodString;
2780
978
  name: z.ZodOptional<z.ZodString>;
2781
- }, "strip", z.ZodTypeAny, {
2782
- value: string;
2783
- keyName: string;
2784
- name?: string | undefined;
2785
- }, {
2786
- value: string;
2787
- keyName: string;
2788
- name?: string | undefined;
2789
- }>;
979
+ }, z.core.$strip>;
2790
980
  export declare const FireworksUpdateSecretRequestSchema: z.ZodObject<{
2791
981
  keyName: z.ZodString;
2792
982
  value: z.ZodOptional<z.ZodString>;
2793
- }, "strip", z.ZodTypeAny, {
2794
- keyName: string;
2795
- value?: string | undefined;
2796
- }, {
2797
- keyName: string;
2798
- value?: string | undefined;
2799
- }>;
983
+ }, z.core.$strip>;
2800
984
  export declare const FireworksCriterionSchema: z.ZodObject<{
2801
- type: z.ZodOptional<z.ZodEnum<["TYPE_UNSPECIFIED", "CODE_SNIPPETS"]>>;
985
+ type: z.ZodOptional<z.ZodEnum<{
986
+ TYPE_UNSPECIFIED: "TYPE_UNSPECIFIED";
987
+ CODE_SNIPPETS: "CODE_SNIPPETS";
988
+ }>>;
2802
989
  name: z.ZodOptional<z.ZodString>;
2803
990
  description: z.ZodOptional<z.ZodString>;
2804
991
  codeSnippets: z.ZodOptional<z.ZodObject<{
@@ -2806,48 +993,17 @@ export declare const FireworksCriterionSchema: z.ZodObject<{
2806
993
  fileContents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2807
994
  entryFile: z.ZodOptional<z.ZodString>;
2808
995
  entryFunc: z.ZodOptional<z.ZodString>;
2809
- }, "strip", z.ZodTypeAny, {
2810
- language?: string | undefined;
2811
- fileContents?: Record<string, string> | undefined;
2812
- entryFile?: string | undefined;
2813
- entryFunc?: string | undefined;
2814
- }, {
2815
- language?: string | undefined;
2816
- fileContents?: Record<string, string> | undefined;
2817
- entryFile?: string | undefined;
2818
- entryFunc?: string | undefined;
2819
- }>>;
2820
- }, "strip", z.ZodTypeAny, {
2821
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
2822
- name?: string | undefined;
2823
- description?: string | undefined;
2824
- codeSnippets?: {
2825
- language?: string | undefined;
2826
- fileContents?: Record<string, string> | undefined;
2827
- entryFile?: string | undefined;
2828
- entryFunc?: string | undefined;
2829
- } | undefined;
2830
- }, {
2831
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
2832
- name?: string | undefined;
2833
- description?: string | undefined;
2834
- codeSnippets?: {
2835
- language?: string | undefined;
2836
- fileContents?: Record<string, string> | undefined;
2837
- entryFile?: string | undefined;
2838
- entryFunc?: string | undefined;
2839
- } | undefined;
2840
- }>;
996
+ }, z.core.$strip>>;
997
+ }, z.core.$strip>;
2841
998
  export declare const FireworksEvaluatorSourceSchema: z.ZodObject<{
2842
- type: z.ZodOptional<z.ZodEnum<["TYPE_UNSPECIFIED", "TYPE_UPLOAD", "TYPE_GITHUB", "TYPE_TEMPORARY"]>>;
999
+ type: z.ZodOptional<z.ZodEnum<{
1000
+ TYPE_UNSPECIFIED: "TYPE_UNSPECIFIED";
1001
+ TYPE_UPLOAD: "TYPE_UPLOAD";
1002
+ TYPE_GITHUB: "TYPE_GITHUB";
1003
+ TYPE_TEMPORARY: "TYPE_TEMPORARY";
1004
+ }>>;
2843
1005
  githubRepositoryName: z.ZodOptional<z.ZodString>;
2844
- }, "strip", z.ZodTypeAny, {
2845
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
2846
- githubRepositoryName?: string | undefined;
2847
- }, {
2848
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
2849
- githubRepositoryName?: string | undefined;
2850
- }>;
1006
+ }, z.core.$strip>;
2851
1007
  export declare const FireworksCreateEvaluatorRequestSchema: z.ZodObject<{
2852
1008
  evaluatorId: z.ZodOptional<z.ZodString>;
2853
1009
  evaluator: z.ZodObject<{
@@ -2858,7 +1014,10 @@ export declare const FireworksCreateEvaluatorRequestSchema: z.ZodObject<{
2858
1014
  commitHash: z.ZodOptional<z.ZodString>;
2859
1015
  defaultDataset: z.ZodOptional<z.ZodString>;
2860
1016
  criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
2861
- type: z.ZodOptional<z.ZodEnum<["TYPE_UNSPECIFIED", "CODE_SNIPPETS"]>>;
1017
+ type: z.ZodOptional<z.ZodEnum<{
1018
+ TYPE_UNSPECIFIED: "TYPE_UNSPECIFIED";
1019
+ CODE_SNIPPETS: "CODE_SNIPPETS";
1020
+ }>>;
2862
1021
  name: z.ZodOptional<z.ZodString>;
2863
1022
  description: z.ZodOptional<z.ZodString>;
2864
1023
  codeSnippets: z.ZodOptional<z.ZodObject<{
@@ -2866,144 +1025,19 @@ export declare const FireworksCreateEvaluatorRequestSchema: z.ZodObject<{
2866
1025
  fileContents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2867
1026
  entryFile: z.ZodOptional<z.ZodString>;
2868
1027
  entryFunc: z.ZodOptional<z.ZodString>;
2869
- }, "strip", z.ZodTypeAny, {
2870
- language?: string | undefined;
2871
- fileContents?: Record<string, string> | undefined;
2872
- entryFile?: string | undefined;
2873
- entryFunc?: string | undefined;
2874
- }, {
2875
- language?: string | undefined;
2876
- fileContents?: Record<string, string> | undefined;
2877
- entryFile?: string | undefined;
2878
- entryFunc?: string | undefined;
2879
- }>>;
2880
- }, "strip", z.ZodTypeAny, {
2881
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
2882
- name?: string | undefined;
2883
- description?: string | undefined;
2884
- codeSnippets?: {
2885
- language?: string | undefined;
2886
- fileContents?: Record<string, string> | undefined;
2887
- entryFile?: string | undefined;
2888
- entryFunc?: string | undefined;
2889
- } | undefined;
2890
- }, {
2891
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
2892
- name?: string | undefined;
2893
- description?: string | undefined;
2894
- codeSnippets?: {
2895
- language?: string | undefined;
2896
- fileContents?: Record<string, string> | undefined;
2897
- entryFile?: string | undefined;
2898
- entryFunc?: string | undefined;
2899
- } | undefined;
2900
- }>, "many">>;
1028
+ }, z.core.$strip>>;
1029
+ }, z.core.$strip>>>;
2901
1030
  source: z.ZodOptional<z.ZodObject<{
2902
- type: z.ZodOptional<z.ZodEnum<["TYPE_UNSPECIFIED", "TYPE_UPLOAD", "TYPE_GITHUB", "TYPE_TEMPORARY"]>>;
1031
+ type: z.ZodOptional<z.ZodEnum<{
1032
+ TYPE_UNSPECIFIED: "TYPE_UNSPECIFIED";
1033
+ TYPE_UPLOAD: "TYPE_UPLOAD";
1034
+ TYPE_GITHUB: "TYPE_GITHUB";
1035
+ TYPE_TEMPORARY: "TYPE_TEMPORARY";
1036
+ }>>;
2903
1037
  githubRepositoryName: z.ZodOptional<z.ZodString>;
2904
- }, "strip", z.ZodTypeAny, {
2905
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
2906
- githubRepositoryName?: string | undefined;
2907
- }, {
2908
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
2909
- githubRepositoryName?: string | undefined;
2910
- }>>;
2911
- }, "strip", z.ZodTypeAny, {
2912
- description?: string | undefined;
2913
- source?: {
2914
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
2915
- githubRepositoryName?: string | undefined;
2916
- } | undefined;
2917
- displayName?: string | undefined;
2918
- requirements?: string | undefined;
2919
- entryPoint?: string | undefined;
2920
- commitHash?: string | undefined;
2921
- defaultDataset?: string | undefined;
2922
- criteria?: {
2923
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
2924
- name?: string | undefined;
2925
- description?: string | undefined;
2926
- codeSnippets?: {
2927
- language?: string | undefined;
2928
- fileContents?: Record<string, string> | undefined;
2929
- entryFile?: string | undefined;
2930
- entryFunc?: string | undefined;
2931
- } | undefined;
2932
- }[] | undefined;
2933
- }, {
2934
- description?: string | undefined;
2935
- source?: {
2936
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
2937
- githubRepositoryName?: string | undefined;
2938
- } | undefined;
2939
- displayName?: string | undefined;
2940
- requirements?: string | undefined;
2941
- entryPoint?: string | undefined;
2942
- commitHash?: string | undefined;
2943
- defaultDataset?: string | undefined;
2944
- criteria?: {
2945
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
2946
- name?: string | undefined;
2947
- description?: string | undefined;
2948
- codeSnippets?: {
2949
- language?: string | undefined;
2950
- fileContents?: Record<string, string> | undefined;
2951
- entryFile?: string | undefined;
2952
- entryFunc?: string | undefined;
2953
- } | undefined;
2954
- }[] | undefined;
2955
- }>;
2956
- }, "strip", z.ZodTypeAny, {
2957
- evaluator: {
2958
- description?: string | undefined;
2959
- source?: {
2960
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
2961
- githubRepositoryName?: string | undefined;
2962
- } | undefined;
2963
- displayName?: string | undefined;
2964
- requirements?: string | undefined;
2965
- entryPoint?: string | undefined;
2966
- commitHash?: string | undefined;
2967
- defaultDataset?: string | undefined;
2968
- criteria?: {
2969
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
2970
- name?: string | undefined;
2971
- description?: string | undefined;
2972
- codeSnippets?: {
2973
- language?: string | undefined;
2974
- fileContents?: Record<string, string> | undefined;
2975
- entryFile?: string | undefined;
2976
- entryFunc?: string | undefined;
2977
- } | undefined;
2978
- }[] | undefined;
2979
- };
2980
- evaluatorId?: string | undefined;
2981
- }, {
2982
- evaluator: {
2983
- description?: string | undefined;
2984
- source?: {
2985
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
2986
- githubRepositoryName?: string | undefined;
2987
- } | undefined;
2988
- displayName?: string | undefined;
2989
- requirements?: string | undefined;
2990
- entryPoint?: string | undefined;
2991
- commitHash?: string | undefined;
2992
- defaultDataset?: string | undefined;
2993
- criteria?: {
2994
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
2995
- name?: string | undefined;
2996
- description?: string | undefined;
2997
- codeSnippets?: {
2998
- language?: string | undefined;
2999
- fileContents?: Record<string, string> | undefined;
3000
- entryFile?: string | undefined;
3001
- entryFunc?: string | undefined;
3002
- } | undefined;
3003
- }[] | undefined;
3004
- };
3005
- evaluatorId?: string | undefined;
3006
- }>;
1038
+ }, z.core.$strip>>;
1039
+ }, z.core.$strip>;
1040
+ }, z.core.$strip>;
3007
1041
  export declare const FireworksUpdateEvaluatorRequestSchema: z.ZodObject<{
3008
1042
  displayName: z.ZodOptional<z.ZodString>;
3009
1043
  description: z.ZodOptional<z.ZodString>;
@@ -3012,7 +1046,10 @@ export declare const FireworksUpdateEvaluatorRequestSchema: z.ZodObject<{
3012
1046
  commitHash: z.ZodOptional<z.ZodString>;
3013
1047
  defaultDataset: z.ZodOptional<z.ZodString>;
3014
1048
  criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
3015
- type: z.ZodOptional<z.ZodEnum<["TYPE_UNSPECIFIED", "CODE_SNIPPETS"]>>;
1049
+ type: z.ZodOptional<z.ZodEnum<{
1050
+ TYPE_UNSPECIFIED: "TYPE_UNSPECIFIED";
1051
+ CODE_SNIPPETS: "CODE_SNIPPETS";
1052
+ }>>;
3016
1053
  name: z.ZodOptional<z.ZodString>;
3017
1054
  description: z.ZodOptional<z.ZodString>;
3018
1055
  codeSnippets: z.ZodOptional<z.ZodObject<{
@@ -3020,106 +1057,25 @@ export declare const FireworksUpdateEvaluatorRequestSchema: z.ZodObject<{
3020
1057
  fileContents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3021
1058
  entryFile: z.ZodOptional<z.ZodString>;
3022
1059
  entryFunc: z.ZodOptional<z.ZodString>;
3023
- }, "strip", z.ZodTypeAny, {
3024
- language?: string | undefined;
3025
- fileContents?: Record<string, string> | undefined;
3026
- entryFile?: string | undefined;
3027
- entryFunc?: string | undefined;
3028
- }, {
3029
- language?: string | undefined;
3030
- fileContents?: Record<string, string> | undefined;
3031
- entryFile?: string | undefined;
3032
- entryFunc?: string | undefined;
3033
- }>>;
3034
- }, "strip", z.ZodTypeAny, {
3035
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
3036
- name?: string | undefined;
3037
- description?: string | undefined;
3038
- codeSnippets?: {
3039
- language?: string | undefined;
3040
- fileContents?: Record<string, string> | undefined;
3041
- entryFile?: string | undefined;
3042
- entryFunc?: string | undefined;
3043
- } | undefined;
3044
- }, {
3045
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
3046
- name?: string | undefined;
3047
- description?: string | undefined;
3048
- codeSnippets?: {
3049
- language?: string | undefined;
3050
- fileContents?: Record<string, string> | undefined;
3051
- entryFile?: string | undefined;
3052
- entryFunc?: string | undefined;
3053
- } | undefined;
3054
- }>, "many">>;
1060
+ }, z.core.$strip>>;
1061
+ }, z.core.$strip>>>;
3055
1062
  source: z.ZodOptional<z.ZodObject<{
3056
- type: z.ZodOptional<z.ZodEnum<["TYPE_UNSPECIFIED", "TYPE_UPLOAD", "TYPE_GITHUB", "TYPE_TEMPORARY"]>>;
1063
+ type: z.ZodOptional<z.ZodEnum<{
1064
+ TYPE_UNSPECIFIED: "TYPE_UNSPECIFIED";
1065
+ TYPE_UPLOAD: "TYPE_UPLOAD";
1066
+ TYPE_GITHUB: "TYPE_GITHUB";
1067
+ TYPE_TEMPORARY: "TYPE_TEMPORARY";
1068
+ }>>;
3057
1069
  githubRepositoryName: z.ZodOptional<z.ZodString>;
3058
- }, "strip", z.ZodTypeAny, {
3059
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
3060
- githubRepositoryName?: string | undefined;
3061
- }, {
3062
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
3063
- githubRepositoryName?: string | undefined;
3064
- }>>;
3065
- }, "strip", z.ZodTypeAny, {
3066
- description?: string | undefined;
3067
- source?: {
3068
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
3069
- githubRepositoryName?: string | undefined;
3070
- } | undefined;
3071
- displayName?: string | undefined;
3072
- requirements?: string | undefined;
3073
- entryPoint?: string | undefined;
3074
- commitHash?: string | undefined;
3075
- defaultDataset?: string | undefined;
3076
- criteria?: {
3077
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
3078
- name?: string | undefined;
3079
- description?: string | undefined;
3080
- codeSnippets?: {
3081
- language?: string | undefined;
3082
- fileContents?: Record<string, string> | undefined;
3083
- entryFile?: string | undefined;
3084
- entryFunc?: string | undefined;
3085
- } | undefined;
3086
- }[] | undefined;
3087
- }, {
3088
- description?: string | undefined;
3089
- source?: {
3090
- type?: "TYPE_UNSPECIFIED" | "TYPE_UPLOAD" | "TYPE_GITHUB" | "TYPE_TEMPORARY" | undefined;
3091
- githubRepositoryName?: string | undefined;
3092
- } | undefined;
3093
- displayName?: string | undefined;
3094
- requirements?: string | undefined;
3095
- entryPoint?: string | undefined;
3096
- commitHash?: string | undefined;
3097
- defaultDataset?: string | undefined;
3098
- criteria?: {
3099
- type?: "TYPE_UNSPECIFIED" | "CODE_SNIPPETS" | undefined;
3100
- name?: string | undefined;
3101
- description?: string | undefined;
3102
- codeSnippets?: {
3103
- language?: string | undefined;
3104
- fileContents?: Record<string, string> | undefined;
3105
- entryFile?: string | undefined;
3106
- entryFunc?: string | undefined;
3107
- } | undefined;
3108
- }[] | undefined;
3109
- }>;
1070
+ }, z.core.$strip>>;
1071
+ }, z.core.$strip>;
3110
1072
  export declare const FireworksGetUploadEndpointEvaluatorRequestSchema: z.ZodObject<{
3111
1073
  filenameToSize: z.ZodRecord<z.ZodString, z.ZodString>;
3112
1074
  readMask: z.ZodOptional<z.ZodString>;
3113
- }, "strip", z.ZodTypeAny, {
3114
- filenameToSize: Record<string, string>;
3115
- readMask?: string | undefined;
3116
- }, {
3117
- filenameToSize: Record<string, string>;
3118
- readMask?: string | undefined;
3119
- }>;
1075
+ }, z.core.$strip>;
3120
1076
  export declare const FireworksCreateEvaluationJobRequestSchema: z.ZodObject<{
3121
1077
  evaluationJobId: z.ZodOptional<z.ZodString>;
3122
- leaderboardIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1078
+ leaderboardIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3123
1079
  evaluationJob: z.ZodObject<{
3124
1080
  displayName: z.ZodOptional<z.ZodString>;
3125
1081
  evaluator: z.ZodString;
@@ -3129,131 +1085,145 @@ export declare const FireworksCreateEvaluationJobRequestSchema: z.ZodObject<{
3129
1085
  awsS3Config: z.ZodOptional<z.ZodObject<{
3130
1086
  credentialsSecret: z.ZodOptional<z.ZodString>;
3131
1087
  iamRoleArn: z.ZodOptional<z.ZodString>;
3132
- }, "strip", z.ZodTypeAny, {
3133
- credentialsSecret?: string | undefined;
3134
- iamRoleArn?: string | undefined;
3135
- }, {
3136
- credentialsSecret?: string | undefined;
3137
- iamRoleArn?: string | undefined;
3138
- }>>;
3139
- }, "strip", z.ZodTypeAny, {
3140
- evaluator: string;
3141
- inputDataset: string;
3142
- outputDataset: string;
3143
- displayName?: string | undefined;
3144
- awsS3Config?: {
3145
- credentialsSecret?: string | undefined;
3146
- iamRoleArn?: string | undefined;
3147
- } | undefined;
3148
- outputStats?: string | undefined;
3149
- }, {
3150
- evaluator: string;
3151
- inputDataset: string;
3152
- outputDataset: string;
3153
- displayName?: string | undefined;
3154
- awsS3Config?: {
3155
- credentialsSecret?: string | undefined;
3156
- iamRoleArn?: string | undefined;
3157
- } | undefined;
3158
- outputStats?: string | undefined;
3159
- }>;
3160
- }, "strip", z.ZodTypeAny, {
3161
- evaluationJob: {
3162
- evaluator: string;
3163
- inputDataset: string;
3164
- outputDataset: string;
3165
- displayName?: string | undefined;
3166
- awsS3Config?: {
3167
- credentialsSecret?: string | undefined;
3168
- iamRoleArn?: string | undefined;
3169
- } | undefined;
3170
- outputStats?: string | undefined;
3171
- };
3172
- evaluationJobId?: string | undefined;
3173
- leaderboardIds?: string[] | undefined;
3174
- }, {
3175
- evaluationJob: {
3176
- evaluator: string;
3177
- inputDataset: string;
3178
- outputDataset: string;
3179
- displayName?: string | undefined;
3180
- awsS3Config?: {
3181
- credentialsSecret?: string | undefined;
3182
- iamRoleArn?: string | undefined;
3183
- } | undefined;
3184
- outputStats?: string | undefined;
3185
- };
3186
- evaluationJobId?: string | undefined;
3187
- leaderboardIds?: string[] | undefined;
3188
- }>;
3189
- export declare const FireworksEmptySchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
1088
+ }, z.core.$strip>>;
1089
+ }, z.core.$strip>;
1090
+ }, z.core.$strip>;
1091
+ export declare const FireworksEmptySchema: z.ZodObject<{}, z.core.$loose>;
3190
1092
  export declare const FireworksOptionsSchema: z.ZodObject<{
3191
1093
  apiKey: z.ZodString;
3192
1094
  baseURL: z.ZodOptional<z.ZodString>;
3193
1095
  audioBaseURL: z.ZodOptional<z.ZodString>;
3194
1096
  audioStreamingBaseURL: z.ZodOptional<z.ZodString>;
3195
1097
  timeout: z.ZodOptional<z.ZodNumber>;
3196
- fetch: z.ZodOptional<z.ZodType<(input: RequestInfo | URL, init?: RequestInit) => Promise<Response>, z.ZodTypeDef, (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>>>;
3197
- WebSocket: z.ZodOptional<z.ZodType<new (url: string | URL, protocols?: string | string[]) => WebSocket, z.ZodTypeDef, new (url: string | URL, protocols?: string | string[]) => WebSocket>>;
3198
- }, "strip", z.ZodTypeAny, {
3199
- apiKey: string;
3200
- baseURL?: string | undefined;
3201
- audioBaseURL?: string | undefined;
3202
- audioStreamingBaseURL?: string | undefined;
3203
- timeout?: number | undefined;
3204
- fetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) | undefined;
3205
- WebSocket?: (new (url: string | URL, protocols?: string | string[]) => WebSocket) | undefined;
3206
- }, {
3207
- apiKey: string;
3208
- baseURL?: string | undefined;
3209
- audioBaseURL?: string | undefined;
3210
- audioStreamingBaseURL?: string | undefined;
3211
- timeout?: number | undefined;
3212
- fetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) | undefined;
3213
- WebSocket?: (new (url: string | URL, protocols?: string | string[]) => WebSocket) | undefined;
3214
- }>;
3215
- export type FireworksChatRequest = z.infer<typeof FireworksChatRequestSchema>;
3216
- export type FireworksCompletionRequest = z.infer<typeof FireworksCompletionRequestSchema>;
3217
- export type FireworksEmbeddingRequest = z.infer<typeof FireworksEmbeddingRequestSchema>;
3218
- export type FireworksRerankRequest = z.infer<typeof FireworksRerankRequestSchema>;
3219
- export type AnthropicMessagesRequest = z.infer<typeof AnthropicMessagesRequestSchema>;
3220
- export type FireworksTranscriptionRequest = z.infer<typeof FireworksTranscriptionRequestSchema>;
3221
- export type FireworksTranslationRequest = z.infer<typeof FireworksTranslationRequestSchema>;
1098
+ fetch: z.ZodOptional<z.ZodCustom<(input: RequestInfo | URL, init?: RequestInit) => Promise<Response>, (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>>>;
1099
+ WebSocket: z.ZodOptional<z.ZodCustom<new (url: string | URL, protocols?: string | string[]) => WebSocket, new (url: string | URL, protocols?: string | string[]) => WebSocket>>;
1100
+ }, z.core.$strip>;
1101
+ export type FireworksChatRequest = z.input<typeof FireworksChatRequestSchema>;
1102
+ export type FireworksChatRequestInput = FireworksChatRequest;
1103
+ export type FireworksChatParsedRequest = z.output<typeof FireworksChatRequestSchema>;
1104
+ export type FireworksCompletionRequest = z.input<typeof FireworksCompletionRequestSchema>;
1105
+ export type FireworksCompletionRequestInput = FireworksCompletionRequest;
1106
+ export type FireworksCompletionParsedRequest = z.output<typeof FireworksCompletionRequestSchema>;
1107
+ export type FireworksEmbeddingRequest = z.input<typeof FireworksEmbeddingRequestSchema>;
1108
+ export type FireworksEmbeddingRequestInput = FireworksEmbeddingRequest;
1109
+ export type FireworksEmbeddingParsedRequest = z.output<typeof FireworksEmbeddingRequestSchema>;
1110
+ export type FireworksRerankRequest = z.input<typeof FireworksRerankRequestSchema>;
1111
+ export type FireworksRerankRequestInput = FireworksRerankRequest;
1112
+ export type FireworksRerankParsedRequest = z.output<typeof FireworksRerankRequestSchema>;
1113
+ export type AnthropicMessagesRequest = z.input<typeof AnthropicMessagesRequestSchema>;
1114
+ export type AnthropicMessagesRequestInput = AnthropicMessagesRequest;
1115
+ export type AnthropicMessagesParsedRequest = z.output<typeof AnthropicMessagesRequestSchema>;
1116
+ export type FireworksTranscriptionRequest = z.input<typeof FireworksTranscriptionRequestSchema>;
1117
+ export type FireworksTranscriptionRequestInput = FireworksTranscriptionRequest;
1118
+ export type FireworksTranscriptionParsedRequest = z.output<typeof FireworksTranscriptionRequestSchema>;
1119
+ export type FireworksTranslationRequest = z.input<typeof FireworksTranslationRequestSchema>;
1120
+ export type FireworksTranslationRequestInput = FireworksTranslationRequest;
1121
+ export type FireworksTranslationParsedRequest = z.output<typeof FireworksTranslationRequestSchema>;
3222
1122
  export type FireworksStreamingTranscriptionOptions = z.infer<typeof FireworksStreamingTranscriptionOptionsSchema>;
3223
- export type FireworksAudioBatchTranscriptionRequest = z.infer<typeof FireworksAudioBatchTranscriptionRequestSchema>;
3224
- export type FireworksAudioBatchTranslationRequest = z.infer<typeof FireworksAudioBatchTranslationRequestSchema>;
3225
- export type FireworksTextToImageRequest = z.infer<typeof FireworksTextToImageRequestSchema>;
3226
- export type FireworksKontextRequest = z.infer<typeof FireworksKontextRequestSchema>;
3227
- export type FireworksGetResultRequest = z.infer<typeof FireworksGetResultRequestSchema>;
3228
- export type FireworksCreateModelRequest = z.infer<typeof FireworksCreateModelRequestSchema>;
3229
- export type FireworksUpdateModelRequest = z.infer<typeof FireworksUpdateModelRequestSchema>;
3230
- export type FireworksPrepareModelRequest = z.infer<typeof FireworksPrepareModelRequestSchema>;
3231
- export type FireworksGetUploadEndpointRequest = z.infer<typeof FireworksGetUploadEndpointRequestSchema>;
3232
- export type FireworksValidateUploadRequest = z.infer<typeof FireworksValidateUploadRequestSchema>;
3233
- export type FireworksBatchJobCreateRequest = z.infer<typeof FireworksBatchJobCreateRequestSchema>;
3234
- export type FireworksSFTCreateRequest = z.infer<typeof FireworksSFTCreateRequestSchema>;
3235
- export type FireworksDpoJobCreateRequest = z.infer<typeof FireworksDpoJobCreateRequestSchema>;
3236
- export type FireworksRFTCreateRequest = z.infer<typeof FireworksRFTCreateRequestSchema>;
3237
- export type FireworksRlorTrainerJobCreateRequest = z.infer<typeof FireworksRlorTrainerJobCreateRequestSchema>;
3238
- export type FireworksRlorTrainerJobExecuteStepRequest = z.infer<typeof FireworksRlorTrainerJobExecuteStepRequestSchema>;
3239
- export type FireworksCreateDeploymentRequest = z.infer<typeof FireworksCreateDeploymentRequestSchema>;
3240
- export type FireworksUpdateDeploymentRequest = z.infer<typeof FireworksUpdateDeploymentRequestSchema>;
3241
- export type FireworksScaleDeploymentRequest = z.infer<typeof FireworksScaleDeploymentRequestSchema>;
3242
- export type FireworksCreateDeployedModelRequest = z.infer<typeof FireworksCreateDeployedModelRequestSchema>;
3243
- export type FireworksUpdateDeployedModelRequest = z.infer<typeof FireworksUpdateDeployedModelRequestSchema>;
3244
- export type FireworksCreateDatasetRequest = z.infer<typeof FireworksCreateDatasetRequestSchema>;
3245
- export type FireworksUpdateDatasetRequest = z.infer<typeof FireworksUpdateDatasetRequestSchema>;
3246
- export type FireworksDatasetGetUploadEndpointRequest = z.infer<typeof FireworksDatasetGetUploadEndpointRequestSchema>;
3247
- export type FireworksDatasetValidateUploadRequest = z.infer<typeof FireworksDatasetValidateUploadRequestSchema>;
3248
- export type FireworksCreateUserRequest = z.infer<typeof FireworksCreateUserRequestSchema>;
3249
- export type FireworksUpdateUserRequest = z.infer<typeof FireworksUpdateUserRequestSchema>;
3250
- export type FireworksCreateApiKeyRequest = z.infer<typeof FireworksCreateApiKeyRequestSchema>;
3251
- export type FireworksDeleteApiKeyRequest = z.infer<typeof FireworksDeleteApiKeyRequestSchema>;
3252
- export type FireworksCreateSecretRequest = z.infer<typeof FireworksCreateSecretRequestSchema>;
3253
- export type FireworksUpdateSecretRequest = z.infer<typeof FireworksUpdateSecretRequestSchema>;
3254
- export type FireworksCreateEvaluatorRequest = z.infer<typeof FireworksCreateEvaluatorRequestSchema>;
3255
- export type FireworksUpdateEvaluatorRequest = z.infer<typeof FireworksUpdateEvaluatorRequestSchema>;
3256
- export type FireworksGetUploadEndpointEvaluatorRequest = z.infer<typeof FireworksGetUploadEndpointEvaluatorRequestSchema>;
3257
- export type FireworksCreateEvaluationJobRequest = z.infer<typeof FireworksCreateEvaluationJobRequestSchema>;
1123
+ export type FireworksAudioBatchTranscriptionRequest = z.input<typeof FireworksAudioBatchTranscriptionRequestSchema>;
1124
+ export type FireworksAudioBatchTranscriptionRequestInput = FireworksAudioBatchTranscriptionRequest;
1125
+ export type FireworksAudioBatchTranscriptionParsedRequest = z.output<typeof FireworksAudioBatchTranscriptionRequestSchema>;
1126
+ export type FireworksAudioBatchTranslationRequest = z.input<typeof FireworksAudioBatchTranslationRequestSchema>;
1127
+ export type FireworksAudioBatchTranslationRequestInput = FireworksAudioBatchTranslationRequest;
1128
+ export type FireworksAudioBatchTranslationParsedRequest = z.output<typeof FireworksAudioBatchTranslationRequestSchema>;
1129
+ export type FireworksTextToImageRequest = z.input<typeof FireworksTextToImageRequestSchema>;
1130
+ export type FireworksTextToImageRequestInput = FireworksTextToImageRequest;
1131
+ export type FireworksTextToImageParsedRequest = z.output<typeof FireworksTextToImageRequestSchema>;
1132
+ export type FireworksKontextRequest = z.input<typeof FireworksKontextRequestSchema>;
1133
+ export type FireworksKontextRequestInput = FireworksKontextRequest;
1134
+ export type FireworksKontextParsedRequest = z.output<typeof FireworksKontextRequestSchema>;
1135
+ export type FireworksGetResultRequest = z.input<typeof FireworksGetResultRequestSchema>;
1136
+ export type FireworksGetResultRequestInput = FireworksGetResultRequest;
1137
+ export type FireworksGetResultParsedRequest = z.output<typeof FireworksGetResultRequestSchema>;
1138
+ export type FireworksCreateModelRequest = z.input<typeof FireworksCreateModelRequestSchema>;
1139
+ export type FireworksCreateModelRequestInput = FireworksCreateModelRequest;
1140
+ export type FireworksCreateModelParsedRequest = z.output<typeof FireworksCreateModelRequestSchema>;
1141
+ export type FireworksUpdateModelRequest = z.input<typeof FireworksUpdateModelRequestSchema>;
1142
+ export type FireworksUpdateModelRequestInput = FireworksUpdateModelRequest;
1143
+ export type FireworksUpdateModelParsedRequest = z.output<typeof FireworksUpdateModelRequestSchema>;
1144
+ export type FireworksPrepareModelRequest = z.input<typeof FireworksPrepareModelRequestSchema>;
1145
+ export type FireworksPrepareModelRequestInput = FireworksPrepareModelRequest;
1146
+ export type FireworksPrepareModelParsedRequest = z.output<typeof FireworksPrepareModelRequestSchema>;
1147
+ export type FireworksGetUploadEndpointRequest = z.input<typeof FireworksGetUploadEndpointRequestSchema>;
1148
+ export type FireworksGetUploadEndpointRequestInput = FireworksGetUploadEndpointRequest;
1149
+ export type FireworksGetUploadEndpointParsedRequest = z.output<typeof FireworksGetUploadEndpointRequestSchema>;
1150
+ export type FireworksValidateUploadRequest = z.input<typeof FireworksValidateUploadRequestSchema>;
1151
+ export type FireworksValidateUploadRequestInput = FireworksValidateUploadRequest;
1152
+ export type FireworksValidateUploadParsedRequest = z.output<typeof FireworksValidateUploadRequestSchema>;
1153
+ export type FireworksBatchJobCreateRequest = z.input<typeof FireworksBatchJobCreateRequestSchema>;
1154
+ export type FireworksBatchJobCreateRequestInput = FireworksBatchJobCreateRequest;
1155
+ export type FireworksBatchJobCreateParsedRequest = z.output<typeof FireworksBatchJobCreateRequestSchema>;
1156
+ export type FireworksSFTCreateRequest = z.input<typeof FireworksSFTCreateRequestSchema>;
1157
+ export type FireworksSFTCreateRequestInput = FireworksSFTCreateRequest;
1158
+ export type FireworksSFTCreateParsedRequest = z.output<typeof FireworksSFTCreateRequestSchema>;
1159
+ export type FireworksDpoJobCreateRequest = z.input<typeof FireworksDpoJobCreateRequestSchema>;
1160
+ export type FireworksDpoJobCreateRequestInput = FireworksDpoJobCreateRequest;
1161
+ export type FireworksDpoJobCreateParsedRequest = z.output<typeof FireworksDpoJobCreateRequestSchema>;
1162
+ export type FireworksRFTCreateRequest = z.input<typeof FireworksRFTCreateRequestSchema>;
1163
+ export type FireworksRFTCreateRequestInput = FireworksRFTCreateRequest;
1164
+ export type FireworksRFTCreateParsedRequest = z.output<typeof FireworksRFTCreateRequestSchema>;
1165
+ export type FireworksRlorTrainerJobCreateRequest = z.input<typeof FireworksRlorTrainerJobCreateRequestSchema>;
1166
+ export type FireworksRlorTrainerJobCreateRequestInput = FireworksRlorTrainerJobCreateRequest;
1167
+ export type FireworksRlorTrainerJobCreateParsedRequest = z.output<typeof FireworksRlorTrainerJobCreateRequestSchema>;
1168
+ export type FireworksRlorTrainerJobExecuteStepRequest = z.input<typeof FireworksRlorTrainerJobExecuteStepRequestSchema>;
1169
+ export type FireworksRlorTrainerJobExecuteStepRequestInput = FireworksRlorTrainerJobExecuteStepRequest;
1170
+ export type FireworksRlorTrainerJobExecuteStepParsedRequest = z.output<typeof FireworksRlorTrainerJobExecuteStepRequestSchema>;
1171
+ export type FireworksCreateDeploymentRequest = z.input<typeof FireworksCreateDeploymentRequestSchema>;
1172
+ export type FireworksCreateDeploymentRequestInput = FireworksCreateDeploymentRequest;
1173
+ export type FireworksCreateDeploymentParsedRequest = z.output<typeof FireworksCreateDeploymentRequestSchema>;
1174
+ export type FireworksUpdateDeploymentRequest = z.input<typeof FireworksUpdateDeploymentRequestSchema>;
1175
+ export type FireworksUpdateDeploymentRequestInput = FireworksUpdateDeploymentRequest;
1176
+ export type FireworksUpdateDeploymentParsedRequest = z.output<typeof FireworksUpdateDeploymentRequestSchema>;
1177
+ export type FireworksScaleDeploymentRequest = z.input<typeof FireworksScaleDeploymentRequestSchema>;
1178
+ export type FireworksScaleDeploymentRequestInput = FireworksScaleDeploymentRequest;
1179
+ export type FireworksScaleDeploymentParsedRequest = z.output<typeof FireworksScaleDeploymentRequestSchema>;
1180
+ export type FireworksCreateDeployedModelRequest = z.input<typeof FireworksCreateDeployedModelRequestSchema>;
1181
+ export type FireworksCreateDeployedModelRequestInput = FireworksCreateDeployedModelRequest;
1182
+ export type FireworksCreateDeployedModelParsedRequest = z.output<typeof FireworksCreateDeployedModelRequestSchema>;
1183
+ export type FireworksUpdateDeployedModelRequest = z.input<typeof FireworksUpdateDeployedModelRequestSchema>;
1184
+ export type FireworksUpdateDeployedModelRequestInput = FireworksUpdateDeployedModelRequest;
1185
+ export type FireworksUpdateDeployedModelParsedRequest = z.output<typeof FireworksUpdateDeployedModelRequestSchema>;
1186
+ export type FireworksCreateDatasetRequest = z.input<typeof FireworksCreateDatasetRequestSchema>;
1187
+ export type FireworksCreateDatasetRequestInput = FireworksCreateDatasetRequest;
1188
+ export type FireworksCreateDatasetParsedRequest = z.output<typeof FireworksCreateDatasetRequestSchema>;
1189
+ export type FireworksUpdateDatasetRequest = z.input<typeof FireworksUpdateDatasetRequestSchema>;
1190
+ export type FireworksUpdateDatasetRequestInput = FireworksUpdateDatasetRequest;
1191
+ export type FireworksUpdateDatasetParsedRequest = z.output<typeof FireworksUpdateDatasetRequestSchema>;
1192
+ export type FireworksDatasetGetUploadEndpointRequest = z.input<typeof FireworksDatasetGetUploadEndpointRequestSchema>;
1193
+ export type FireworksDatasetGetUploadEndpointRequestInput = FireworksDatasetGetUploadEndpointRequest;
1194
+ export type FireworksDatasetGetUploadEndpointParsedRequest = z.output<typeof FireworksDatasetGetUploadEndpointRequestSchema>;
1195
+ export type FireworksDatasetValidateUploadRequest = z.input<typeof FireworksDatasetValidateUploadRequestSchema>;
1196
+ export type FireworksDatasetValidateUploadRequestInput = FireworksDatasetValidateUploadRequest;
1197
+ export type FireworksDatasetValidateUploadParsedRequest = z.output<typeof FireworksDatasetValidateUploadRequestSchema>;
1198
+ export type FireworksCreateUserRequest = z.input<typeof FireworksCreateUserRequestSchema>;
1199
+ export type FireworksCreateUserRequestInput = FireworksCreateUserRequest;
1200
+ export type FireworksCreateUserParsedRequest = z.output<typeof FireworksCreateUserRequestSchema>;
1201
+ export type FireworksUpdateUserRequest = z.input<typeof FireworksUpdateUserRequestSchema>;
1202
+ export type FireworksUpdateUserRequestInput = FireworksUpdateUserRequest;
1203
+ export type FireworksUpdateUserParsedRequest = z.output<typeof FireworksUpdateUserRequestSchema>;
1204
+ export type FireworksCreateApiKeyRequest = z.input<typeof FireworksCreateApiKeyRequestSchema>;
1205
+ export type FireworksCreateApiKeyRequestInput = FireworksCreateApiKeyRequest;
1206
+ export type FireworksCreateApiKeyParsedRequest = z.output<typeof FireworksCreateApiKeyRequestSchema>;
1207
+ export type FireworksDeleteApiKeyRequest = z.input<typeof FireworksDeleteApiKeyRequestSchema>;
1208
+ export type FireworksDeleteApiKeyRequestInput = FireworksDeleteApiKeyRequest;
1209
+ export type FireworksDeleteApiKeyParsedRequest = z.output<typeof FireworksDeleteApiKeyRequestSchema>;
1210
+ export type FireworksCreateSecretRequest = z.input<typeof FireworksCreateSecretRequestSchema>;
1211
+ export type FireworksCreateSecretRequestInput = FireworksCreateSecretRequest;
1212
+ export type FireworksCreateSecretParsedRequest = z.output<typeof FireworksCreateSecretRequestSchema>;
1213
+ export type FireworksUpdateSecretRequest = z.input<typeof FireworksUpdateSecretRequestSchema>;
1214
+ export type FireworksUpdateSecretRequestInput = FireworksUpdateSecretRequest;
1215
+ export type FireworksUpdateSecretParsedRequest = z.output<typeof FireworksUpdateSecretRequestSchema>;
1216
+ export type FireworksCreateEvaluatorRequest = z.input<typeof FireworksCreateEvaluatorRequestSchema>;
1217
+ export type FireworksCreateEvaluatorRequestInput = FireworksCreateEvaluatorRequest;
1218
+ export type FireworksCreateEvaluatorParsedRequest = z.output<typeof FireworksCreateEvaluatorRequestSchema>;
1219
+ export type FireworksUpdateEvaluatorRequest = z.input<typeof FireworksUpdateEvaluatorRequestSchema>;
1220
+ export type FireworksUpdateEvaluatorRequestInput = FireworksUpdateEvaluatorRequest;
1221
+ export type FireworksUpdateEvaluatorParsedRequest = z.output<typeof FireworksUpdateEvaluatorRequestSchema>;
1222
+ export type FireworksGetUploadEndpointEvaluatorRequest = z.input<typeof FireworksGetUploadEndpointEvaluatorRequestSchema>;
1223
+ export type FireworksGetUploadEndpointEvaluatorRequestInput = FireworksGetUploadEndpointEvaluatorRequest;
1224
+ export type FireworksGetUploadEndpointEvaluatorParsedRequest = z.output<typeof FireworksGetUploadEndpointEvaluatorRequestSchema>;
1225
+ export type FireworksCreateEvaluationJobRequest = z.input<typeof FireworksCreateEvaluationJobRequestSchema>;
1226
+ export type FireworksCreateEvaluationJobRequestInput = FireworksCreateEvaluationJobRequest;
1227
+ export type FireworksCreateEvaluationJobParsedRequest = z.output<typeof FireworksCreateEvaluationJobRequestSchema>;
3258
1228
  export type FireworksOptions = z.infer<typeof FireworksOptionsSchema>;
3259
1229
  //# sourceMappingURL=zod.d.ts.map