@scalar/oas-utils 0.2.137 → 0.2.139

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.
@@ -16,7 +16,7 @@ export declare const requestExampleParametersSchema: z.ZodEffects<z.ZodObject<{
16
16
  description: z.ZodOptional<z.ZodString>;
17
17
  required: z.ZodOptional<z.ZodBoolean>;
18
18
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
+ examples: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
20
20
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
21
21
  format: z.ZodOptional<z.ZodString>;
22
22
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -33,9 +33,9 @@ export declare const requestExampleParametersSchema: z.ZodEffects<z.ZodObject<{
33
33
  description?: string | undefined;
34
34
  default?: any;
35
35
  required?: boolean | undefined;
36
- examples?: string[] | undefined;
37
- format?: string | undefined;
38
36
  enum?: string[] | undefined;
37
+ format?: string | undefined;
38
+ examples?: any[] | undefined;
39
39
  file?: any;
40
40
  nullable?: boolean | undefined;
41
41
  }, {
@@ -47,9 +47,9 @@ export declare const requestExampleParametersSchema: z.ZodEffects<z.ZodObject<{
47
47
  default?: any;
48
48
  required?: boolean | undefined;
49
49
  key?: string | undefined;
50
- examples?: string[] | undefined;
51
- format?: string | undefined;
52
50
  enum?: string[] | undefined;
51
+ format?: string | undefined;
52
+ examples?: any[] | undefined;
53
53
  enabled?: boolean | undefined;
54
54
  file?: any;
55
55
  nullable?: boolean | undefined;
@@ -63,9 +63,9 @@ export declare const requestExampleParametersSchema: z.ZodEffects<z.ZodObject<{
63
63
  description?: string | undefined;
64
64
  default?: any;
65
65
  required?: boolean | undefined;
66
- examples?: string[] | undefined;
67
- format?: string | undefined;
68
66
  enum?: string[] | undefined;
67
+ format?: string | undefined;
68
+ examples?: any[] | undefined;
69
69
  file?: any;
70
70
  nullable?: boolean | undefined;
71
71
  }, {
@@ -77,9 +77,9 @@ export declare const requestExampleParametersSchema: z.ZodEffects<z.ZodObject<{
77
77
  default?: any;
78
78
  required?: boolean | undefined;
79
79
  key?: string | undefined;
80
- examples?: string[] | undefined;
81
- format?: string | undefined;
82
80
  enum?: string[] | undefined;
81
+ format?: string | undefined;
82
+ examples?: any[] | undefined;
83
83
  enabled?: boolean | undefined;
84
84
  file?: any;
85
85
  nullable?: boolean | undefined;
@@ -181,7 +181,7 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
181
181
  description: z.ZodOptional<z.ZodString>;
182
182
  required: z.ZodOptional<z.ZodBoolean>;
183
183
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
184
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
184
+ examples: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
185
185
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
186
186
  format: z.ZodOptional<z.ZodString>;
187
187
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -198,9 +198,9 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
198
198
  description?: string | undefined;
199
199
  default?: any;
200
200
  required?: boolean | undefined;
201
- examples?: string[] | undefined;
202
- format?: string | undefined;
203
201
  enum?: string[] | undefined;
202
+ format?: string | undefined;
203
+ examples?: any[] | undefined;
204
204
  file?: any;
205
205
  nullable?: boolean | undefined;
206
206
  }, {
@@ -212,9 +212,9 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
212
212
  default?: any;
213
213
  required?: boolean | undefined;
214
214
  key?: string | undefined;
215
- examples?: string[] | undefined;
216
- format?: string | undefined;
217
215
  enum?: string[] | undefined;
216
+ format?: string | undefined;
217
+ examples?: any[] | undefined;
218
218
  enabled?: boolean | undefined;
219
219
  file?: any;
220
220
  nullable?: boolean | undefined;
@@ -228,9 +228,9 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
228
228
  description?: string | undefined;
229
229
  default?: any;
230
230
  required?: boolean | undefined;
231
- examples?: string[] | undefined;
232
- format?: string | undefined;
233
231
  enum?: string[] | undefined;
232
+ format?: string | undefined;
233
+ examples?: any[] | undefined;
234
234
  file?: any;
235
235
  nullable?: boolean | undefined;
236
236
  }, {
@@ -242,9 +242,9 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
242
242
  default?: any;
243
243
  required?: boolean | undefined;
244
244
  key?: string | undefined;
245
- examples?: string[] | undefined;
246
- format?: string | undefined;
247
245
  enum?: string[] | undefined;
246
+ format?: string | undefined;
247
+ examples?: any[] | undefined;
248
248
  enabled?: boolean | undefined;
249
249
  file?: any;
250
250
  nullable?: boolean | undefined;
@@ -260,9 +260,9 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
260
260
  description?: string | undefined;
261
261
  default?: any;
262
262
  required?: boolean | undefined;
263
- examples?: string[] | undefined;
264
- format?: string | undefined;
265
263
  enum?: string[] | undefined;
264
+ format?: string | undefined;
265
+ examples?: any[] | undefined;
266
266
  file?: any;
267
267
  nullable?: boolean | undefined;
268
268
  }[];
@@ -277,9 +277,9 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
277
277
  default?: any;
278
278
  required?: boolean | undefined;
279
279
  key?: string | undefined;
280
- examples?: string[] | undefined;
281
- format?: string | undefined;
282
280
  enum?: string[] | undefined;
281
+ format?: string | undefined;
282
+ examples?: any[] | undefined;
283
283
  enabled?: boolean | undefined;
284
284
  file?: any;
285
285
  nullable?: boolean | undefined;
@@ -289,7 +289,7 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
289
289
  binary: z.ZodOptional<z.ZodType<Blob, z.ZodTypeDef, Blob>>;
290
290
  activeBody: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"raw">, z.ZodLiteral<"formData">, z.ZodLiteral<"binary">]>>;
291
291
  }, "strip", z.ZodTypeAny, {
292
- activeBody: "formData" | "binary" | "raw";
292
+ activeBody: "formData" | "raw" | "binary";
293
293
  formData?: {
294
294
  value: {
295
295
  value: string;
@@ -301,20 +301,20 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
301
301
  description?: string | undefined;
302
302
  default?: any;
303
303
  required?: boolean | undefined;
304
- examples?: string[] | undefined;
305
- format?: string | undefined;
306
304
  enum?: string[] | undefined;
305
+ format?: string | undefined;
306
+ examples?: any[] | undefined;
307
307
  file?: any;
308
308
  nullable?: boolean | undefined;
309
309
  }[];
310
310
  encoding: "form-data" | "urlencoded";
311
311
  } | undefined;
312
- binary?: Blob | undefined;
313
312
  raw?: {
314
313
  value: string;
315
314
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
316
315
  mimeType?: string | undefined;
317
316
  } | undefined;
317
+ binary?: Blob | undefined;
318
318
  }, {
319
319
  formData?: {
320
320
  value?: {
@@ -326,22 +326,22 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
326
326
  default?: any;
327
327
  required?: boolean | undefined;
328
328
  key?: string | undefined;
329
- examples?: string[] | undefined;
330
- format?: string | undefined;
331
329
  enum?: string[] | undefined;
330
+ format?: string | undefined;
331
+ examples?: any[] | undefined;
332
332
  enabled?: boolean | undefined;
333
333
  file?: any;
334
334
  nullable?: boolean | undefined;
335
335
  }[] | undefined;
336
336
  encoding?: "form-data" | "urlencoded" | undefined;
337
337
  } | undefined;
338
- binary?: Blob | undefined;
339
338
  raw?: {
340
339
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
341
340
  value?: string | undefined;
342
341
  mimeType?: string | undefined;
343
342
  } | undefined;
344
- activeBody?: "formData" | "binary" | "raw" | undefined;
343
+ binary?: Blob | undefined;
344
+ activeBody?: "formData" | "raw" | "binary" | undefined;
345
345
  }>;
346
346
  export type ExampleRequestBody = z.infer<typeof exampleRequestBodySchema>;
347
347
  /** Schema for the OAS serialization of request example bodies */
@@ -365,15 +365,15 @@ export declare const xScalarExampleBodySchema: z.ZodObject<{
365
365
  base64?: string | undefined;
366
366
  }>>>;
367
367
  }, "strip", z.ZodTypeAny, {
368
+ encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "binary" | "text/html" | "application/javascript" | "application/yaml" | "application/edn";
368
369
  content: string | Record<string, any>;
369
- encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "text/html" | "application/javascript" | "application/yaml" | "application/edn" | "binary";
370
370
  file?: {
371
371
  url: string;
372
372
  base64?: string | undefined;
373
373
  } | null | undefined;
374
374
  }, {
375
+ encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "binary" | "text/html" | "application/javascript" | "application/yaml" | "application/edn";
375
376
  content: string | Record<string, any>;
376
- encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "text/html" | "application/javascript" | "application/yaml" | "application/edn" | "binary";
377
377
  file?: {
378
378
  url: string;
379
379
  base64?: string | undefined;
@@ -409,7 +409,7 @@ export declare const requestExampleSchema: z.ZodObject<{
409
409
  description: z.ZodOptional<z.ZodString>;
410
410
  required: z.ZodOptional<z.ZodBoolean>;
411
411
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
412
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
412
+ examples: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
413
413
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
414
414
  format: z.ZodOptional<z.ZodString>;
415
415
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -426,9 +426,9 @@ export declare const requestExampleSchema: z.ZodObject<{
426
426
  description?: string | undefined;
427
427
  default?: any;
428
428
  required?: boolean | undefined;
429
- examples?: string[] | undefined;
430
- format?: string | undefined;
431
429
  enum?: string[] | undefined;
430
+ format?: string | undefined;
431
+ examples?: any[] | undefined;
432
432
  file?: any;
433
433
  nullable?: boolean | undefined;
434
434
  }, {
@@ -440,9 +440,9 @@ export declare const requestExampleSchema: z.ZodObject<{
440
440
  default?: any;
441
441
  required?: boolean | undefined;
442
442
  key?: string | undefined;
443
- examples?: string[] | undefined;
444
- format?: string | undefined;
445
443
  enum?: string[] | undefined;
444
+ format?: string | undefined;
445
+ examples?: any[] | undefined;
446
446
  enabled?: boolean | undefined;
447
447
  file?: any;
448
448
  nullable?: boolean | undefined;
@@ -456,9 +456,9 @@ export declare const requestExampleSchema: z.ZodObject<{
456
456
  description?: string | undefined;
457
457
  default?: any;
458
458
  required?: boolean | undefined;
459
- examples?: string[] | undefined;
460
- format?: string | undefined;
461
459
  enum?: string[] | undefined;
460
+ format?: string | undefined;
461
+ examples?: any[] | undefined;
462
462
  file?: any;
463
463
  nullable?: boolean | undefined;
464
464
  }, {
@@ -470,9 +470,9 @@ export declare const requestExampleSchema: z.ZodObject<{
470
470
  default?: any;
471
471
  required?: boolean | undefined;
472
472
  key?: string | undefined;
473
- examples?: string[] | undefined;
474
- format?: string | undefined;
475
473
  enum?: string[] | undefined;
474
+ format?: string | undefined;
475
+ examples?: any[] | undefined;
476
476
  enabled?: boolean | undefined;
477
477
  file?: any;
478
478
  nullable?: boolean | undefined;
@@ -488,9 +488,9 @@ export declare const requestExampleSchema: z.ZodObject<{
488
488
  description?: string | undefined;
489
489
  default?: any;
490
490
  required?: boolean | undefined;
491
- examples?: string[] | undefined;
492
- format?: string | undefined;
493
491
  enum?: string[] | undefined;
492
+ format?: string | undefined;
493
+ examples?: any[] | undefined;
494
494
  file?: any;
495
495
  nullable?: boolean | undefined;
496
496
  }[];
@@ -505,9 +505,9 @@ export declare const requestExampleSchema: z.ZodObject<{
505
505
  default?: any;
506
506
  required?: boolean | undefined;
507
507
  key?: string | undefined;
508
- examples?: string[] | undefined;
509
- format?: string | undefined;
510
508
  enum?: string[] | undefined;
509
+ format?: string | undefined;
510
+ examples?: any[] | undefined;
511
511
  enabled?: boolean | undefined;
512
512
  file?: any;
513
513
  nullable?: boolean | undefined;
@@ -517,7 +517,7 @@ export declare const requestExampleSchema: z.ZodObject<{
517
517
  binary: z.ZodOptional<z.ZodType<Blob, z.ZodTypeDef, Blob>>;
518
518
  activeBody: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"raw">, z.ZodLiteral<"formData">, z.ZodLiteral<"binary">]>>;
519
519
  }, "strip", z.ZodTypeAny, {
520
- activeBody: "formData" | "binary" | "raw";
520
+ activeBody: "formData" | "raw" | "binary";
521
521
  formData?: {
522
522
  value: {
523
523
  value: string;
@@ -529,20 +529,20 @@ export declare const requestExampleSchema: z.ZodObject<{
529
529
  description?: string | undefined;
530
530
  default?: any;
531
531
  required?: boolean | undefined;
532
- examples?: string[] | undefined;
533
- format?: string | undefined;
534
532
  enum?: string[] | undefined;
533
+ format?: string | undefined;
534
+ examples?: any[] | undefined;
535
535
  file?: any;
536
536
  nullable?: boolean | undefined;
537
537
  }[];
538
538
  encoding: "form-data" | "urlencoded";
539
539
  } | undefined;
540
- binary?: Blob | undefined;
541
540
  raw?: {
542
541
  value: string;
543
542
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
544
543
  mimeType?: string | undefined;
545
544
  } | undefined;
545
+ binary?: Blob | undefined;
546
546
  }, {
547
547
  formData?: {
548
548
  value?: {
@@ -554,22 +554,22 @@ export declare const requestExampleSchema: z.ZodObject<{
554
554
  default?: any;
555
555
  required?: boolean | undefined;
556
556
  key?: string | undefined;
557
- examples?: string[] | undefined;
558
- format?: string | undefined;
559
557
  enum?: string[] | undefined;
558
+ format?: string | undefined;
559
+ examples?: any[] | undefined;
560
560
  enabled?: boolean | undefined;
561
561
  file?: any;
562
562
  nullable?: boolean | undefined;
563
563
  }[] | undefined;
564
564
  encoding?: "form-data" | "urlencoded" | undefined;
565
565
  } | undefined;
566
- binary?: Blob | undefined;
567
566
  raw?: {
568
567
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
569
568
  value?: string | undefined;
570
569
  mimeType?: string | undefined;
571
570
  } | undefined;
572
- activeBody?: "formData" | "binary" | "raw" | undefined;
571
+ binary?: Blob | undefined;
572
+ activeBody?: "formData" | "raw" | "binary" | undefined;
573
573
  }>>>;
574
574
  parameters: z.ZodDefault<z.ZodOptional<z.ZodObject<{
575
575
  path: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
@@ -580,7 +580,7 @@ export declare const requestExampleSchema: z.ZodObject<{
580
580
  description: z.ZodOptional<z.ZodString>;
581
581
  required: z.ZodOptional<z.ZodBoolean>;
582
582
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
583
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
583
+ examples: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
584
584
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
585
585
  format: z.ZodOptional<z.ZodString>;
586
586
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -597,9 +597,9 @@ export declare const requestExampleSchema: z.ZodObject<{
597
597
  description?: string | undefined;
598
598
  default?: any;
599
599
  required?: boolean | undefined;
600
- examples?: string[] | undefined;
601
- format?: string | undefined;
602
600
  enum?: string[] | undefined;
601
+ format?: string | undefined;
602
+ examples?: any[] | undefined;
603
603
  file?: any;
604
604
  nullable?: boolean | undefined;
605
605
  }, {
@@ -611,9 +611,9 @@ export declare const requestExampleSchema: z.ZodObject<{
611
611
  default?: any;
612
612
  required?: boolean | undefined;
613
613
  key?: string | undefined;
614
- examples?: string[] | undefined;
615
- format?: string | undefined;
616
614
  enum?: string[] | undefined;
615
+ format?: string | undefined;
616
+ examples?: any[] | undefined;
617
617
  enabled?: boolean | undefined;
618
618
  file?: any;
619
619
  nullable?: boolean | undefined;
@@ -627,9 +627,9 @@ export declare const requestExampleSchema: z.ZodObject<{
627
627
  description?: string | undefined;
628
628
  default?: any;
629
629
  required?: boolean | undefined;
630
- examples?: string[] | undefined;
631
- format?: string | undefined;
632
630
  enum?: string[] | undefined;
631
+ format?: string | undefined;
632
+ examples?: any[] | undefined;
633
633
  file?: any;
634
634
  nullable?: boolean | undefined;
635
635
  }, {
@@ -641,9 +641,9 @@ export declare const requestExampleSchema: z.ZodObject<{
641
641
  default?: any;
642
642
  required?: boolean | undefined;
643
643
  key?: string | undefined;
644
- examples?: string[] | undefined;
645
- format?: string | undefined;
646
644
  enum?: string[] | undefined;
645
+ format?: string | undefined;
646
+ examples?: any[] | undefined;
647
647
  enabled?: boolean | undefined;
648
648
  file?: any;
649
649
  nullable?: boolean | undefined;
@@ -656,7 +656,7 @@ export declare const requestExampleSchema: z.ZodObject<{
656
656
  description: z.ZodOptional<z.ZodString>;
657
657
  required: z.ZodOptional<z.ZodBoolean>;
658
658
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
659
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
659
+ examples: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
660
660
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
661
661
  format: z.ZodOptional<z.ZodString>;
662
662
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -673,9 +673,9 @@ export declare const requestExampleSchema: z.ZodObject<{
673
673
  description?: string | undefined;
674
674
  default?: any;
675
675
  required?: boolean | undefined;
676
- examples?: string[] | undefined;
677
- format?: string | undefined;
678
676
  enum?: string[] | undefined;
677
+ format?: string | undefined;
678
+ examples?: any[] | undefined;
679
679
  file?: any;
680
680
  nullable?: boolean | undefined;
681
681
  }, {
@@ -687,9 +687,9 @@ export declare const requestExampleSchema: z.ZodObject<{
687
687
  default?: any;
688
688
  required?: boolean | undefined;
689
689
  key?: string | undefined;
690
- examples?: string[] | undefined;
691
- format?: string | undefined;
692
690
  enum?: string[] | undefined;
691
+ format?: string | undefined;
692
+ examples?: any[] | undefined;
693
693
  enabled?: boolean | undefined;
694
694
  file?: any;
695
695
  nullable?: boolean | undefined;
@@ -703,9 +703,9 @@ export declare const requestExampleSchema: z.ZodObject<{
703
703
  description?: string | undefined;
704
704
  default?: any;
705
705
  required?: boolean | undefined;
706
- examples?: string[] | undefined;
707
- format?: string | undefined;
708
706
  enum?: string[] | undefined;
707
+ format?: string | undefined;
708
+ examples?: any[] | undefined;
709
709
  file?: any;
710
710
  nullable?: boolean | undefined;
711
711
  }, {
@@ -717,9 +717,9 @@ export declare const requestExampleSchema: z.ZodObject<{
717
717
  default?: any;
718
718
  required?: boolean | undefined;
719
719
  key?: string | undefined;
720
- examples?: string[] | undefined;
721
- format?: string | undefined;
722
720
  enum?: string[] | undefined;
721
+ format?: string | undefined;
722
+ examples?: any[] | undefined;
723
723
  enabled?: boolean | undefined;
724
724
  file?: any;
725
725
  nullable?: boolean | undefined;
@@ -732,7 +732,7 @@ export declare const requestExampleSchema: z.ZodObject<{
732
732
  description: z.ZodOptional<z.ZodString>;
733
733
  required: z.ZodOptional<z.ZodBoolean>;
734
734
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
735
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
735
+ examples: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
736
736
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
737
737
  format: z.ZodOptional<z.ZodString>;
738
738
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -749,9 +749,9 @@ export declare const requestExampleSchema: z.ZodObject<{
749
749
  description?: string | undefined;
750
750
  default?: any;
751
751
  required?: boolean | undefined;
752
- examples?: string[] | undefined;
753
- format?: string | undefined;
754
752
  enum?: string[] | undefined;
753
+ format?: string | undefined;
754
+ examples?: any[] | undefined;
755
755
  file?: any;
756
756
  nullable?: boolean | undefined;
757
757
  }, {
@@ -763,9 +763,9 @@ export declare const requestExampleSchema: z.ZodObject<{
763
763
  default?: any;
764
764
  required?: boolean | undefined;
765
765
  key?: string | undefined;
766
- examples?: string[] | undefined;
767
- format?: string | undefined;
768
766
  enum?: string[] | undefined;
767
+ format?: string | undefined;
768
+ examples?: any[] | undefined;
769
769
  enabled?: boolean | undefined;
770
770
  file?: any;
771
771
  nullable?: boolean | undefined;
@@ -779,9 +779,9 @@ export declare const requestExampleSchema: z.ZodObject<{
779
779
  description?: string | undefined;
780
780
  default?: any;
781
781
  required?: boolean | undefined;
782
- examples?: string[] | undefined;
783
- format?: string | undefined;
784
782
  enum?: string[] | undefined;
783
+ format?: string | undefined;
784
+ examples?: any[] | undefined;
785
785
  file?: any;
786
786
  nullable?: boolean | undefined;
787
787
  }, {
@@ -793,9 +793,9 @@ export declare const requestExampleSchema: z.ZodObject<{
793
793
  default?: any;
794
794
  required?: boolean | undefined;
795
795
  key?: string | undefined;
796
- examples?: string[] | undefined;
797
- format?: string | undefined;
798
796
  enum?: string[] | undefined;
797
+ format?: string | undefined;
798
+ examples?: any[] | undefined;
799
799
  enabled?: boolean | undefined;
800
800
  file?: any;
801
801
  nullable?: boolean | undefined;
@@ -808,7 +808,7 @@ export declare const requestExampleSchema: z.ZodObject<{
808
808
  description: z.ZodOptional<z.ZodString>;
809
809
  required: z.ZodOptional<z.ZodBoolean>;
810
810
  enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
811
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
811
+ examples: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
812
812
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
813
813
  format: z.ZodOptional<z.ZodString>;
814
814
  minimum: z.ZodOptional<z.ZodNumber>;
@@ -825,9 +825,9 @@ export declare const requestExampleSchema: z.ZodObject<{
825
825
  description?: string | undefined;
826
826
  default?: any;
827
827
  required?: boolean | undefined;
828
- examples?: string[] | undefined;
829
- format?: string | undefined;
830
828
  enum?: string[] | undefined;
829
+ format?: string | undefined;
830
+ examples?: any[] | undefined;
831
831
  file?: any;
832
832
  nullable?: boolean | undefined;
833
833
  }, {
@@ -839,9 +839,9 @@ export declare const requestExampleSchema: z.ZodObject<{
839
839
  default?: any;
840
840
  required?: boolean | undefined;
841
841
  key?: string | undefined;
842
- examples?: string[] | undefined;
843
- format?: string | undefined;
844
842
  enum?: string[] | undefined;
843
+ format?: string | undefined;
844
+ examples?: any[] | undefined;
845
845
  enabled?: boolean | undefined;
846
846
  file?: any;
847
847
  nullable?: boolean | undefined;
@@ -855,9 +855,9 @@ export declare const requestExampleSchema: z.ZodObject<{
855
855
  description?: string | undefined;
856
856
  default?: any;
857
857
  required?: boolean | undefined;
858
- examples?: string[] | undefined;
859
- format?: string | undefined;
860
858
  enum?: string[] | undefined;
859
+ format?: string | undefined;
860
+ examples?: any[] | undefined;
861
861
  file?: any;
862
862
  nullable?: boolean | undefined;
863
863
  }, {
@@ -869,9 +869,9 @@ export declare const requestExampleSchema: z.ZodObject<{
869
869
  default?: any;
870
870
  required?: boolean | undefined;
871
871
  key?: string | undefined;
872
- examples?: string[] | undefined;
873
- format?: string | undefined;
874
872
  enum?: string[] | undefined;
873
+ format?: string | undefined;
874
+ examples?: any[] | undefined;
875
875
  enabled?: boolean | undefined;
876
876
  file?: any;
877
877
  nullable?: boolean | undefined;
@@ -887,9 +887,9 @@ export declare const requestExampleSchema: z.ZodObject<{
887
887
  description?: string | undefined;
888
888
  default?: any;
889
889
  required?: boolean | undefined;
890
- examples?: string[] | undefined;
891
- format?: string | undefined;
892
890
  enum?: string[] | undefined;
891
+ format?: string | undefined;
892
+ examples?: any[] | undefined;
893
893
  file?: any;
894
894
  nullable?: boolean | undefined;
895
895
  }[];
@@ -903,9 +903,9 @@ export declare const requestExampleSchema: z.ZodObject<{
903
903
  description?: string | undefined;
904
904
  default?: any;
905
905
  required?: boolean | undefined;
906
- examples?: string[] | undefined;
907
- format?: string | undefined;
908
906
  enum?: string[] | undefined;
907
+ format?: string | undefined;
908
+ examples?: any[] | undefined;
909
909
  file?: any;
910
910
  nullable?: boolean | undefined;
911
911
  }[];
@@ -919,9 +919,9 @@ export declare const requestExampleSchema: z.ZodObject<{
919
919
  description?: string | undefined;
920
920
  default?: any;
921
921
  required?: boolean | undefined;
922
- examples?: string[] | undefined;
923
- format?: string | undefined;
924
922
  enum?: string[] | undefined;
923
+ format?: string | undefined;
924
+ examples?: any[] | undefined;
925
925
  file?: any;
926
926
  nullable?: boolean | undefined;
927
927
  }[];
@@ -935,9 +935,9 @@ export declare const requestExampleSchema: z.ZodObject<{
935
935
  description?: string | undefined;
936
936
  default?: any;
937
937
  required?: boolean | undefined;
938
- examples?: string[] | undefined;
939
- format?: string | undefined;
940
938
  enum?: string[] | undefined;
939
+ format?: string | undefined;
940
+ examples?: any[] | undefined;
941
941
  file?: any;
942
942
  nullable?: boolean | undefined;
943
943
  }[];
@@ -951,9 +951,9 @@ export declare const requestExampleSchema: z.ZodObject<{
951
951
  default?: any;
952
952
  required?: boolean | undefined;
953
953
  key?: string | undefined;
954
- examples?: string[] | undefined;
955
- format?: string | undefined;
956
954
  enum?: string[] | undefined;
955
+ format?: string | undefined;
956
+ examples?: any[] | undefined;
957
957
  enabled?: boolean | undefined;
958
958
  file?: any;
959
959
  nullable?: boolean | undefined;
@@ -967,9 +967,9 @@ export declare const requestExampleSchema: z.ZodObject<{
967
967
  default?: any;
968
968
  required?: boolean | undefined;
969
969
  key?: string | undefined;
970
- examples?: string[] | undefined;
971
- format?: string | undefined;
972
970
  enum?: string[] | undefined;
971
+ format?: string | undefined;
972
+ examples?: any[] | undefined;
973
973
  enabled?: boolean | undefined;
974
974
  file?: any;
975
975
  nullable?: boolean | undefined;
@@ -983,9 +983,9 @@ export declare const requestExampleSchema: z.ZodObject<{
983
983
  default?: any;
984
984
  required?: boolean | undefined;
985
985
  key?: string | undefined;
986
- examples?: string[] | undefined;
987
- format?: string | undefined;
988
986
  enum?: string[] | undefined;
987
+ format?: string | undefined;
988
+ examples?: any[] | undefined;
989
989
  enabled?: boolean | undefined;
990
990
  file?: any;
991
991
  nullable?: boolean | undefined;
@@ -999,9 +999,9 @@ export declare const requestExampleSchema: z.ZodObject<{
999
999
  default?: any;
1000
1000
  required?: boolean | undefined;
1001
1001
  key?: string | undefined;
1002
- examples?: string[] | undefined;
1003
- format?: string | undefined;
1004
1002
  enum?: string[] | undefined;
1003
+ format?: string | undefined;
1004
+ examples?: any[] | undefined;
1005
1005
  enabled?: boolean | undefined;
1006
1006
  file?: any;
1007
1007
  nullable?: boolean | undefined;
@@ -1014,7 +1014,7 @@ export declare const requestExampleSchema: z.ZodObject<{
1014
1014
  name: string;
1015
1015
  type: "requestExample";
1016
1016
  body: {
1017
- activeBody: "formData" | "binary" | "raw";
1017
+ activeBody: "formData" | "raw" | "binary";
1018
1018
  formData?: {
1019
1019
  value: {
1020
1020
  value: string;
@@ -1026,20 +1026,20 @@ export declare const requestExampleSchema: z.ZodObject<{
1026
1026
  description?: string | undefined;
1027
1027
  default?: any;
1028
1028
  required?: boolean | undefined;
1029
- examples?: string[] | undefined;
1030
- format?: string | undefined;
1031
1029
  enum?: string[] | undefined;
1030
+ format?: string | undefined;
1031
+ examples?: any[] | undefined;
1032
1032
  file?: any;
1033
1033
  nullable?: boolean | undefined;
1034
1034
  }[];
1035
1035
  encoding: "form-data" | "urlencoded";
1036
1036
  } | undefined;
1037
- binary?: Blob | undefined;
1038
1037
  raw?: {
1039
1038
  value: string;
1040
1039
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
1041
1040
  mimeType?: string | undefined;
1042
1041
  } | undefined;
1042
+ binary?: Blob | undefined;
1043
1043
  };
1044
1044
  parameters: {
1045
1045
  path: {
@@ -1052,9 +1052,9 @@ export declare const requestExampleSchema: z.ZodObject<{
1052
1052
  description?: string | undefined;
1053
1053
  default?: any;
1054
1054
  required?: boolean | undefined;
1055
- examples?: string[] | undefined;
1056
- format?: string | undefined;
1057
1055
  enum?: string[] | undefined;
1056
+ format?: string | undefined;
1057
+ examples?: any[] | undefined;
1058
1058
  file?: any;
1059
1059
  nullable?: boolean | undefined;
1060
1060
  }[];
@@ -1068,9 +1068,9 @@ export declare const requestExampleSchema: z.ZodObject<{
1068
1068
  description?: string | undefined;
1069
1069
  default?: any;
1070
1070
  required?: boolean | undefined;
1071
- examples?: string[] | undefined;
1072
- format?: string | undefined;
1073
1071
  enum?: string[] | undefined;
1072
+ format?: string | undefined;
1073
+ examples?: any[] | undefined;
1074
1074
  file?: any;
1075
1075
  nullable?: boolean | undefined;
1076
1076
  }[];
@@ -1084,9 +1084,9 @@ export declare const requestExampleSchema: z.ZodObject<{
1084
1084
  description?: string | undefined;
1085
1085
  default?: any;
1086
1086
  required?: boolean | undefined;
1087
- examples?: string[] | undefined;
1088
- format?: string | undefined;
1089
1087
  enum?: string[] | undefined;
1088
+ format?: string | undefined;
1089
+ examples?: any[] | undefined;
1090
1090
  file?: any;
1091
1091
  nullable?: boolean | undefined;
1092
1092
  }[];
@@ -1100,9 +1100,9 @@ export declare const requestExampleSchema: z.ZodObject<{
1100
1100
  description?: string | undefined;
1101
1101
  default?: any;
1102
1102
  required?: boolean | undefined;
1103
- examples?: string[] | undefined;
1104
- format?: string | undefined;
1105
1103
  enum?: string[] | undefined;
1104
+ format?: string | undefined;
1105
+ examples?: any[] | undefined;
1106
1106
  file?: any;
1107
1107
  nullable?: boolean | undefined;
1108
1108
  }[];
@@ -1124,22 +1124,22 @@ export declare const requestExampleSchema: z.ZodObject<{
1124
1124
  default?: any;
1125
1125
  required?: boolean | undefined;
1126
1126
  key?: string | undefined;
1127
- examples?: string[] | undefined;
1128
- format?: string | undefined;
1129
1127
  enum?: string[] | undefined;
1128
+ format?: string | undefined;
1129
+ examples?: any[] | undefined;
1130
1130
  enabled?: boolean | undefined;
1131
1131
  file?: any;
1132
1132
  nullable?: boolean | undefined;
1133
1133
  }[] | undefined;
1134
1134
  encoding?: "form-data" | "urlencoded" | undefined;
1135
1135
  } | undefined;
1136
- binary?: Blob | undefined;
1137
1136
  raw?: {
1138
1137
  encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
1139
1138
  value?: string | undefined;
1140
1139
  mimeType?: string | undefined;
1141
1140
  } | undefined;
1142
- activeBody?: "formData" | "binary" | "raw" | undefined;
1141
+ binary?: Blob | undefined;
1142
+ activeBody?: "formData" | "raw" | "binary" | undefined;
1143
1143
  } | undefined;
1144
1144
  requestUid?: string | undefined;
1145
1145
  parameters?: {
@@ -1152,9 +1152,9 @@ export declare const requestExampleSchema: z.ZodObject<{
1152
1152
  default?: any;
1153
1153
  required?: boolean | undefined;
1154
1154
  key?: string | undefined;
1155
- examples?: string[] | undefined;
1156
- format?: string | undefined;
1157
1155
  enum?: string[] | undefined;
1156
+ format?: string | undefined;
1157
+ examples?: any[] | undefined;
1158
1158
  enabled?: boolean | undefined;
1159
1159
  file?: any;
1160
1160
  nullable?: boolean | undefined;
@@ -1168,9 +1168,9 @@ export declare const requestExampleSchema: z.ZodObject<{
1168
1168
  default?: any;
1169
1169
  required?: boolean | undefined;
1170
1170
  key?: string | undefined;
1171
- examples?: string[] | undefined;
1172
- format?: string | undefined;
1173
1171
  enum?: string[] | undefined;
1172
+ format?: string | undefined;
1173
+ examples?: any[] | undefined;
1174
1174
  enabled?: boolean | undefined;
1175
1175
  file?: any;
1176
1176
  nullable?: boolean | undefined;
@@ -1184,9 +1184,9 @@ export declare const requestExampleSchema: z.ZodObject<{
1184
1184
  default?: any;
1185
1185
  required?: boolean | undefined;
1186
1186
  key?: string | undefined;
1187
- examples?: string[] | undefined;
1188
- format?: string | undefined;
1189
1187
  enum?: string[] | undefined;
1188
+ format?: string | undefined;
1189
+ examples?: any[] | undefined;
1190
1190
  enabled?: boolean | undefined;
1191
1191
  file?: any;
1192
1192
  nullable?: boolean | undefined;
@@ -1200,9 +1200,9 @@ export declare const requestExampleSchema: z.ZodObject<{
1200
1200
  default?: any;
1201
1201
  required?: boolean | undefined;
1202
1202
  key?: string | undefined;
1203
- examples?: string[] | undefined;
1204
- format?: string | undefined;
1205
1203
  enum?: string[] | undefined;
1204
+ format?: string | undefined;
1205
+ examples?: any[] | undefined;
1206
1206
  enabled?: boolean | undefined;
1207
1207
  file?: any;
1208
1208
  nullable?: boolean | undefined;
@@ -1235,15 +1235,15 @@ export declare const xScalarExampleSchema: z.ZodObject<{
1235
1235
  base64?: string | undefined;
1236
1236
  }>>>;
1237
1237
  }, "strip", z.ZodTypeAny, {
1238
+ encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "binary" | "text/html" | "application/javascript" | "application/yaml" | "application/edn";
1238
1239
  content: string | Record<string, any>;
1239
- encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "text/html" | "application/javascript" | "application/yaml" | "application/edn" | "binary";
1240
1240
  file?: {
1241
1241
  url: string;
1242
1242
  base64?: string | undefined;
1243
1243
  } | null | undefined;
1244
1244
  }, {
1245
+ encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "binary" | "text/html" | "application/javascript" | "application/yaml" | "application/edn";
1245
1246
  content: string | Record<string, any>;
1246
- encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "text/html" | "application/javascript" | "application/yaml" | "application/edn" | "binary";
1247
1247
  file?: {
1248
1248
  url: string;
1249
1249
  base64?: string | undefined;
@@ -1274,8 +1274,8 @@ export declare const xScalarExampleSchema: z.ZodObject<{
1274
1274
  };
1275
1275
  name?: string | undefined;
1276
1276
  body?: {
1277
+ encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "binary" | "text/html" | "application/javascript" | "application/yaml" | "application/edn";
1277
1278
  content: string | Record<string, any>;
1278
- encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "text/html" | "application/javascript" | "application/yaml" | "application/edn" | "binary";
1279
1279
  file?: {
1280
1280
  url: string;
1281
1281
  base64?: string | undefined;
@@ -1290,8 +1290,8 @@ export declare const xScalarExampleSchema: z.ZodObject<{
1290
1290
  };
1291
1291
  name?: string | undefined;
1292
1292
  body?: {
1293
+ encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "binary" | "text/html" | "application/javascript" | "application/yaml" | "application/edn";
1293
1294
  content: string | Record<string, any>;
1294
- encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "text/html" | "application/javascript" | "application/yaml" | "application/edn" | "binary";
1295
1295
  file?: {
1296
1296
  url: string;
1297
1297
  base64?: string | undefined;
@@ -1313,8 +1313,8 @@ export declare function convertExampleToXScalar(example: RequestExample): {
1313
1313
  };
1314
1314
  name?: string | undefined;
1315
1315
  body?: {
1316
+ encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "binary" | "text/html" | "application/javascript" | "application/yaml" | "application/edn";
1316
1317
  content: string | Record<string, any>;
1317
- encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "text/html" | "application/javascript" | "application/yaml" | "application/edn" | "binary";
1318
1318
  file?: {
1319
1319
  url: string;
1320
1320
  base64?: string | undefined;
@@ -1332,9 +1332,9 @@ export declare function createParamInstance(param: RequestParameter): {
1332
1332
  description?: string | undefined;
1333
1333
  default?: any;
1334
1334
  required?: boolean | undefined;
1335
- examples?: string[] | undefined;
1336
- format?: string | undefined;
1337
1335
  enum?: string[] | undefined;
1336
+ format?: string | undefined;
1337
+ examples?: any[] | undefined;
1338
1338
  file?: any;
1339
1339
  nullable?: boolean | undefined;
1340
1340
  };