@orq-ai/node 1.31.1 → 1.31.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/README.md +17 -45
  2. package/lib/config.d.ts +3 -3
  3. package/lib/config.js +3 -3
  4. package/lib/config.js.map +1 -1
  5. package/models/errors/index.d.ts +0 -1
  6. package/models/errors/index.d.ts.map +1 -1
  7. package/models/errors/index.js +0 -1
  8. package/models/errors/index.js.map +1 -1
  9. package/models/operations/bulkfileupload.js +2 -2
  10. package/models/operations/createcontact.js +2 -2
  11. package/models/operations/deploymentgetconfig.d.ts +96 -96
  12. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  13. package/models/operations/deploymentgetconfig.js +135 -136
  14. package/models/operations/deploymentgetconfig.js.map +1 -1
  15. package/models/operations/deploymentinvoke.d.ts +49 -46
  16. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  17. package/models/operations/deploymentinvoke.js +63 -61
  18. package/models/operations/deploymentinvoke.js.map +1 -1
  19. package/models/operations/deployments.d.ts +53 -53
  20. package/models/operations/deployments.d.ts.map +1 -1
  21. package/models/operations/deployments.js +67 -66
  22. package/models/operations/deployments.js.map +1 -1
  23. package/models/operations/fileupload.js +2 -2
  24. package/models/operations/index.d.ts +0 -9
  25. package/models/operations/index.d.ts.map +1 -1
  26. package/models/operations/index.js +0 -9
  27. package/models/operations/index.js.map +1 -1
  28. package/package.json +1 -1
  29. package/sdk/sdk.d.ts +0 -6
  30. package/sdk/sdk.d.ts.map +1 -1
  31. package/sdk/sdk.js +0 -10
  32. package/sdk/sdk.js.map +1 -1
  33. package/src/lib/config.ts +3 -3
  34. package/src/models/errors/index.ts +0 -1
  35. package/src/models/operations/bulkfileupload.ts +2 -2
  36. package/src/models/operations/createcontact.ts +2 -2
  37. package/src/models/operations/deploymentgetconfig.ts +188 -255
  38. package/src/models/operations/deploymentinvoke.ts +81 -95
  39. package/src/models/operations/deployments.ts +88 -101
  40. package/src/models/operations/fileupload.ts +2 -2
  41. package/src/models/operations/index.ts +0 -9
  42. package/src/sdk/sdk.ts +0 -12
  43. package/docs/sdks/prompt/README.md +0 -6
  44. package/docs/sdks/prompts/README.md +0 -533
  45. package/docs/sdks/snippets/README.md +0 -84
  46. package/docs/sdks/templates/README.md +0 -80
  47. package/funcs/promptSnippetsFindOne.d.ts +0 -12
  48. package/funcs/promptSnippetsFindOne.d.ts.map +0 -1
  49. package/funcs/promptSnippetsFindOne.js +0 -107
  50. package/funcs/promptSnippetsFindOne.js.map +0 -1
  51. package/funcs/promptTemplatesGetAll.d.ts +0 -12
  52. package/funcs/promptTemplatesGetAll.d.ts.map +0 -1
  53. package/funcs/promptTemplatesGetAll.js +0 -107
  54. package/funcs/promptTemplatesGetAll.js.map +0 -1
  55. package/funcs/promptsCreate.d.ts +0 -12
  56. package/funcs/promptsCreate.d.ts.map +0 -1
  57. package/funcs/promptsCreate.js +0 -104
  58. package/funcs/promptsCreate.js.map +0 -1
  59. package/funcs/promptsCreateVersion.d.ts +0 -12
  60. package/funcs/promptsCreateVersion.d.ts.map +0 -1
  61. package/funcs/promptsCreateVersion.js +0 -108
  62. package/funcs/promptsCreateVersion.js.map +0 -1
  63. package/funcs/promptsDelete.d.ts +0 -12
  64. package/funcs/promptsDelete.d.ts.map +0 -1
  65. package/funcs/promptsDelete.js +0 -108
  66. package/funcs/promptsDelete.js.map +0 -1
  67. package/funcs/promptsDuplicate.d.ts +0 -12
  68. package/funcs/promptsDuplicate.d.ts.map +0 -1
  69. package/funcs/promptsDuplicate.js +0 -108
  70. package/funcs/promptsDuplicate.js.map +0 -1
  71. package/funcs/promptsGetAll.d.ts +0 -12
  72. package/funcs/promptsGetAll.d.ts.map +0 -1
  73. package/funcs/promptsGetAll.js +0 -107
  74. package/funcs/promptsGetAll.js.map +0 -1
  75. package/funcs/promptsGetOne.d.ts +0 -12
  76. package/funcs/promptsGetOne.d.ts.map +0 -1
  77. package/funcs/promptsGetOne.js +0 -108
  78. package/funcs/promptsGetOne.js.map +0 -1
  79. package/funcs/promptsUpdate.d.ts +0 -13
  80. package/funcs/promptsUpdate.d.ts.map +0 -1
  81. package/funcs/promptsUpdate.js +0 -112
  82. package/funcs/promptsUpdate.js.map +0 -1
  83. package/models/errors/updateprompt.d.ts +0 -36
  84. package/models/errors/updateprompt.d.ts.map +0 -1
  85. package/models/errors/updateprompt.js +0 -79
  86. package/models/errors/updateprompt.js.map +0 -1
  87. package/models/operations/createprompt.d.ts +0 -2035
  88. package/models/operations/createprompt.d.ts.map +0 -1
  89. package/models/operations/createprompt.js +0 -1853
  90. package/models/operations/createprompt.js.map +0 -1
  91. package/models/operations/createpromptversion.d.ts +0 -2001
  92. package/models/operations/createpromptversion.d.ts.map +0 -1
  93. package/models/operations/createpromptversion.js +0 -1848
  94. package/models/operations/createpromptversion.js.map +0 -1
  95. package/models/operations/deleteprompt.d.ts +0 -32
  96. package/models/operations/deleteprompt.d.ts.map +0 -1
  97. package/models/operations/deleteprompt.js +0 -69
  98. package/models/operations/deleteprompt.js.map +0 -1
  99. package/models/operations/duplicateprompt.d.ts +0 -32
  100. package/models/operations/duplicateprompt.d.ts.map +0 -1
  101. package/models/operations/duplicateprompt.js +0 -69
  102. package/models/operations/duplicateprompt.js.map +0 -1
  103. package/models/operations/findonepromptsnippet.d.ts +0 -6278
  104. package/models/operations/findonepromptsnippet.d.ts.map +0 -1
  105. package/models/operations/findonepromptsnippet.js +0 -5891
  106. package/models/operations/findonepromptsnippet.js.map +0 -1
  107. package/models/operations/getallprompts.d.ts +0 -6613
  108. package/models/operations/getallprompts.d.ts.map +0 -1
  109. package/models/operations/getallprompts.js +0 -6161
  110. package/models/operations/getallprompts.js.map +0 -1
  111. package/models/operations/getallprompttemplates.d.ts +0 -6607
  112. package/models/operations/getallprompttemplates.d.ts.map +0 -1
  113. package/models/operations/getallprompttemplates.js +0 -6225
  114. package/models/operations/getallprompttemplates.js.map +0 -1
  115. package/models/operations/getoneprompt.d.ts +0 -32
  116. package/models/operations/getoneprompt.d.ts.map +0 -1
  117. package/models/operations/getoneprompt.js +0 -69
  118. package/models/operations/getoneprompt.js.map +0 -1
  119. package/models/operations/updateprompt.d.ts +0 -7251
  120. package/models/operations/updateprompt.d.ts.map +0 -1
  121. package/models/operations/updateprompt.js +0 -6678
  122. package/models/operations/updateprompt.js.map +0 -1
  123. package/sdk/prompt.d.ts +0 -10
  124. package/sdk/prompt.d.ts.map +0 -1
  125. package/sdk/prompt.js +0 -21
  126. package/sdk/prompt.js.map +0 -1
  127. package/sdk/prompts.d.ts +0 -33
  128. package/sdk/prompts.d.ts.map +0 -1
  129. package/sdk/prompts.js +0 -61
  130. package/sdk/prompts.js.map +0 -1
  131. package/sdk/snippets.d.ts +0 -9
  132. package/sdk/snippets.d.ts.map +0 -1
  133. package/sdk/snippets.js +0 -19
  134. package/sdk/snippets.js.map +0 -1
  135. package/sdk/templates.d.ts +0 -9
  136. package/sdk/templates.d.ts.map +0 -1
  137. package/sdk/templates.js +0 -19
  138. package/sdk/templates.js.map +0 -1
  139. package/src/funcs/promptSnippetsFindOne.ts +0 -127
  140. package/src/funcs/promptTemplatesGetAll.ts +0 -129
  141. package/src/funcs/promptsCreate.ts +0 -123
  142. package/src/funcs/promptsCreateVersion.ts +0 -128
  143. package/src/funcs/promptsDelete.ts +0 -127
  144. package/src/funcs/promptsDuplicate.ts +0 -127
  145. package/src/funcs/promptsGetAll.ts +0 -127
  146. package/src/funcs/promptsGetOne.ts +0 -127
  147. package/src/funcs/promptsUpdate.ts +0 -135
  148. package/src/models/errors/updateprompt.ts +0 -71
  149. package/src/models/operations/createprompt.ts +0 -3455
  150. package/src/models/operations/createpromptversion.ts +0 -3697
  151. package/src/models/operations/deleteprompt.ts +0 -69
  152. package/src/models/operations/duplicateprompt.ts +0 -69
  153. package/src/models/operations/findonepromptsnippet.ts +0 -13629
  154. package/src/models/operations/getallprompts.ts +0 -13390
  155. package/src/models/operations/getallprompttemplates.ts +0 -13690
  156. package/src/models/operations/getoneprompt.ts +0 -69
  157. package/src/models/operations/updateprompt.ts +0 -14407
  158. package/src/sdk/prompt.ts +0 -19
  159. package/src/sdk/prompts.ts +0 -114
  160. package/src/sdk/snippets.ts +0 -24
  161. package/src/sdk/templates.ts +0 -24
@@ -416,7 +416,7 @@ export type DeploymentGetConfigMessages = {
416
416
  /**
417
417
  * Only supported on `image` models.
418
418
  */
419
- export const DeploymentGetConfigFormat = {
419
+ export const Format = {
420
420
  Url: "url",
421
421
  B64Json: "b64_json",
422
422
  Text: "text",
@@ -425,23 +425,19 @@ export const DeploymentGetConfigFormat = {
425
425
  /**
426
426
  * Only supported on `image` models.
427
427
  */
428
- export type DeploymentGetConfigFormat = ClosedEnum<
429
- typeof DeploymentGetConfigFormat
430
- >;
428
+ export type Format = ClosedEnum<typeof Format>;
431
429
 
432
430
  /**
433
431
  * Only supported on `image` models.
434
432
  */
435
- export const DeploymentGetConfigQuality = {
433
+ export const Quality = {
436
434
  Standard: "standard",
437
435
  Hd: "hd",
438
436
  } as const;
439
437
  /**
440
438
  * Only supported on `image` models.
441
439
  */
442
- export type DeploymentGetConfigQuality = ClosedEnum<
443
- typeof DeploymentGetConfigQuality
444
- >;
440
+ export type Quality = ClosedEnum<typeof Quality>;
445
441
 
446
442
  export const DeploymentGetConfigResponseFormatType = {
447
443
  JsonObject: "json_object",
@@ -450,26 +446,24 @@ export type DeploymentGetConfigResponseFormatType = ClosedEnum<
450
446
  typeof DeploymentGetConfigResponseFormatType
451
447
  >;
452
448
 
453
- export type DeploymentGetConfigResponseFormat2 = {
449
+ export type ResponseFormat2 = {
454
450
  type: DeploymentGetConfigResponseFormatType;
455
451
  };
456
452
 
457
- export const DeploymentGetConfigResponseFormatDeploymentsType = {
453
+ export const ResponseFormatType = {
458
454
  JsonSchema: "json_schema",
459
455
  } as const;
460
- export type DeploymentGetConfigResponseFormatDeploymentsType = ClosedEnum<
461
- typeof DeploymentGetConfigResponseFormatDeploymentsType
462
- >;
456
+ export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
463
457
 
464
- export type DeploymentGetConfigResponseFormatJsonSchema = {
458
+ export type JsonSchema = {
465
459
  name: string;
466
460
  strict: boolean;
467
461
  schema: { [k: string]: any };
468
462
  };
469
463
 
470
- export type DeploymentGetConfigResponseFormat1 = {
471
- type: DeploymentGetConfigResponseFormatDeploymentsType;
472
- jsonSchema: DeploymentGetConfigResponseFormatJsonSchema;
464
+ export type ResponseFormat1 = {
465
+ type: ResponseFormatType;
466
+ jsonSchema: JsonSchema;
473
467
  };
474
468
 
475
469
  /**
@@ -483,37 +477,31 @@ export type DeploymentGetConfigResponseFormat1 = {
483
477
  *
484
478
  * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
485
479
  */
486
- export type DeploymentGetConfigResponseFormat =
487
- | DeploymentGetConfigResponseFormat2
488
- | DeploymentGetConfigResponseFormat1;
480
+ export type ResponseFormat = ResponseFormat2 | ResponseFormat1;
489
481
 
490
482
  /**
491
483
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
492
484
  */
493
- export const DeploymentGetConfigPhotoRealVersion = {
485
+ export const PhotoRealVersion = {
494
486
  V1: "v1",
495
487
  V2: "v2",
496
488
  } as const;
497
489
  /**
498
490
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
499
491
  */
500
- export type DeploymentGetConfigPhotoRealVersion = ClosedEnum<
501
- typeof DeploymentGetConfigPhotoRealVersion
502
- >;
492
+ export type PhotoRealVersion = ClosedEnum<typeof PhotoRealVersion>;
503
493
 
504
494
  /**
505
495
  * The format to return the embeddings
506
496
  */
507
- export const DeploymentGetConfigEncodingFormat = {
497
+ export const EncodingFormat = {
508
498
  Float: "float",
509
499
  Base64: "base64",
510
500
  } as const;
511
501
  /**
512
502
  * The format to return the embeddings
513
503
  */
514
- export type DeploymentGetConfigEncodingFormat = ClosedEnum<
515
- typeof DeploymentGetConfigEncodingFormat
516
- >;
504
+ export type EncodingFormat = ClosedEnum<typeof EncodingFormat>;
517
505
 
518
506
  /**
519
507
  * Model Parameters: Not all parameters apply to every model
@@ -554,7 +542,7 @@ export type ParametersT = {
554
542
  /**
555
543
  * Only supported on `image` models.
556
544
  */
557
- format?: DeploymentGetConfigFormat | undefined;
545
+ format?: Format | undefined;
558
546
  /**
559
547
  * Only supported on `image` models.
560
548
  */
@@ -562,7 +550,7 @@ export type ParametersT = {
562
550
  /**
563
551
  * Only supported on `image` models.
564
552
  */
565
- quality?: DeploymentGetConfigQuality | undefined;
553
+ quality?: Quality | undefined;
566
554
  /**
567
555
  * Only supported on `image` models.
568
556
  */
@@ -578,19 +566,15 @@ export type ParametersT = {
578
566
  *
579
567
  * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
580
568
  */
581
- responseFormat?:
582
- | DeploymentGetConfigResponseFormat2
583
- | DeploymentGetConfigResponseFormat1
584
- | null
585
- | undefined;
569
+ responseFormat?: ResponseFormat2 | ResponseFormat1 | null | undefined;
586
570
  /**
587
571
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
588
572
  */
589
- photoRealVersion?: DeploymentGetConfigPhotoRealVersion | undefined;
573
+ photoRealVersion?: PhotoRealVersion | undefined;
590
574
  /**
591
575
  * The format to return the embeddings
592
576
  */
593
- encodingFormat?: DeploymentGetConfigEncodingFormat | undefined;
577
+ encodingFormat?: EncodingFormat | undefined;
594
578
  };
595
579
 
596
580
  /**
@@ -2686,45 +2670,41 @@ export function deploymentGetConfigMessagesFromJSON(
2686
2670
  }
2687
2671
 
2688
2672
  /** @internal */
2689
- export const DeploymentGetConfigFormat$inboundSchema: z.ZodNativeEnum<
2690
- typeof DeploymentGetConfigFormat
2691
- > = z.nativeEnum(DeploymentGetConfigFormat);
2673
+ export const Format$inboundSchema: z.ZodNativeEnum<typeof Format> = z
2674
+ .nativeEnum(Format);
2692
2675
 
2693
2676
  /** @internal */
2694
- export const DeploymentGetConfigFormat$outboundSchema: z.ZodNativeEnum<
2695
- typeof DeploymentGetConfigFormat
2696
- > = DeploymentGetConfigFormat$inboundSchema;
2677
+ export const Format$outboundSchema: z.ZodNativeEnum<typeof Format> =
2678
+ Format$inboundSchema;
2697
2679
 
2698
2680
  /**
2699
2681
  * @internal
2700
2682
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2701
2683
  */
2702
- export namespace DeploymentGetConfigFormat$ {
2703
- /** @deprecated use `DeploymentGetConfigFormat$inboundSchema` instead. */
2704
- export const inboundSchema = DeploymentGetConfigFormat$inboundSchema;
2705
- /** @deprecated use `DeploymentGetConfigFormat$outboundSchema` instead. */
2706
- export const outboundSchema = DeploymentGetConfigFormat$outboundSchema;
2684
+ export namespace Format$ {
2685
+ /** @deprecated use `Format$inboundSchema` instead. */
2686
+ export const inboundSchema = Format$inboundSchema;
2687
+ /** @deprecated use `Format$outboundSchema` instead. */
2688
+ export const outboundSchema = Format$outboundSchema;
2707
2689
  }
2708
2690
 
2709
2691
  /** @internal */
2710
- export const DeploymentGetConfigQuality$inboundSchema: z.ZodNativeEnum<
2711
- typeof DeploymentGetConfigQuality
2712
- > = z.nativeEnum(DeploymentGetConfigQuality);
2692
+ export const Quality$inboundSchema: z.ZodNativeEnum<typeof Quality> = z
2693
+ .nativeEnum(Quality);
2713
2694
 
2714
2695
  /** @internal */
2715
- export const DeploymentGetConfigQuality$outboundSchema: z.ZodNativeEnum<
2716
- typeof DeploymentGetConfigQuality
2717
- > = DeploymentGetConfigQuality$inboundSchema;
2696
+ export const Quality$outboundSchema: z.ZodNativeEnum<typeof Quality> =
2697
+ Quality$inboundSchema;
2718
2698
 
2719
2699
  /**
2720
2700
  * @internal
2721
2701
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2722
2702
  */
2723
- export namespace DeploymentGetConfigQuality$ {
2724
- /** @deprecated use `DeploymentGetConfigQuality$inboundSchema` instead. */
2725
- export const inboundSchema = DeploymentGetConfigQuality$inboundSchema;
2726
- /** @deprecated use `DeploymentGetConfigQuality$outboundSchema` instead. */
2727
- export const outboundSchema = DeploymentGetConfigQuality$outboundSchema;
2703
+ export namespace Quality$ {
2704
+ /** @deprecated use `Quality$inboundSchema` instead. */
2705
+ export const inboundSchema = Quality$inboundSchema;
2706
+ /** @deprecated use `Quality$outboundSchema` instead. */
2707
+ export const outboundSchema = Quality$outboundSchema;
2728
2708
  }
2729
2709
 
2730
2710
  /** @internal */
@@ -2752,8 +2732,8 @@ export namespace DeploymentGetConfigResponseFormatType$ {
2752
2732
  }
2753
2733
 
2754
2734
  /** @internal */
2755
- export const DeploymentGetConfigResponseFormat2$inboundSchema: z.ZodType<
2756
- DeploymentGetConfigResponseFormat2,
2735
+ export const ResponseFormat2$inboundSchema: z.ZodType<
2736
+ ResponseFormat2,
2757
2737
  z.ZodTypeDef,
2758
2738
  unknown
2759
2739
  > = z.object({
@@ -2761,15 +2741,15 @@ export const DeploymentGetConfigResponseFormat2$inboundSchema: z.ZodType<
2761
2741
  });
2762
2742
 
2763
2743
  /** @internal */
2764
- export type DeploymentGetConfigResponseFormat2$Outbound = {
2744
+ export type ResponseFormat2$Outbound = {
2765
2745
  type: string;
2766
2746
  };
2767
2747
 
2768
2748
  /** @internal */
2769
- export const DeploymentGetConfigResponseFormat2$outboundSchema: z.ZodType<
2770
- DeploymentGetConfigResponseFormat2$Outbound,
2749
+ export const ResponseFormat2$outboundSchema: z.ZodType<
2750
+ ResponseFormat2$Outbound,
2771
2751
  z.ZodTypeDef,
2772
- DeploymentGetConfigResponseFormat2
2752
+ ResponseFormat2
2773
2753
  > = z.object({
2774
2754
  type: DeploymentGetConfigResponseFormatType$outboundSchema,
2775
2755
  });
@@ -2778,143 +2758,116 @@ export const DeploymentGetConfigResponseFormat2$outboundSchema: z.ZodType<
2778
2758
  * @internal
2779
2759
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2780
2760
  */
2781
- export namespace DeploymentGetConfigResponseFormat2$ {
2782
- /** @deprecated use `DeploymentGetConfigResponseFormat2$inboundSchema` instead. */
2783
- export const inboundSchema = DeploymentGetConfigResponseFormat2$inboundSchema;
2784
- /** @deprecated use `DeploymentGetConfigResponseFormat2$outboundSchema` instead. */
2785
- export const outboundSchema =
2786
- DeploymentGetConfigResponseFormat2$outboundSchema;
2787
- /** @deprecated use `DeploymentGetConfigResponseFormat2$Outbound` instead. */
2788
- export type Outbound = DeploymentGetConfigResponseFormat2$Outbound;
2761
+ export namespace ResponseFormat2$ {
2762
+ /** @deprecated use `ResponseFormat2$inboundSchema` instead. */
2763
+ export const inboundSchema = ResponseFormat2$inboundSchema;
2764
+ /** @deprecated use `ResponseFormat2$outboundSchema` instead. */
2765
+ export const outboundSchema = ResponseFormat2$outboundSchema;
2766
+ /** @deprecated use `ResponseFormat2$Outbound` instead. */
2767
+ export type Outbound = ResponseFormat2$Outbound;
2789
2768
  }
2790
2769
 
2791
- export function deploymentGetConfigResponseFormat2ToJSON(
2792
- deploymentGetConfigResponseFormat2: DeploymentGetConfigResponseFormat2,
2770
+ export function responseFormat2ToJSON(
2771
+ responseFormat2: ResponseFormat2,
2793
2772
  ): string {
2794
- return JSON.stringify(
2795
- DeploymentGetConfigResponseFormat2$outboundSchema.parse(
2796
- deploymentGetConfigResponseFormat2,
2797
- ),
2798
- );
2773
+ return JSON.stringify(ResponseFormat2$outboundSchema.parse(responseFormat2));
2799
2774
  }
2800
2775
 
2801
- export function deploymentGetConfigResponseFormat2FromJSON(
2776
+ export function responseFormat2FromJSON(
2802
2777
  jsonString: string,
2803
- ): SafeParseResult<DeploymentGetConfigResponseFormat2, SDKValidationError> {
2778
+ ): SafeParseResult<ResponseFormat2, SDKValidationError> {
2804
2779
  return safeParse(
2805
2780
  jsonString,
2806
- (x) =>
2807
- DeploymentGetConfigResponseFormat2$inboundSchema.parse(JSON.parse(x)),
2808
- `Failed to parse 'DeploymentGetConfigResponseFormat2' from JSON`,
2781
+ (x) => ResponseFormat2$inboundSchema.parse(JSON.parse(x)),
2782
+ `Failed to parse 'ResponseFormat2' from JSON`,
2809
2783
  );
2810
2784
  }
2811
2785
 
2812
2786
  /** @internal */
2813
- export const DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema:
2814
- z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType> = z
2815
- .nativeEnum(DeploymentGetConfigResponseFormatDeploymentsType);
2787
+ export const ResponseFormatType$inboundSchema: z.ZodNativeEnum<
2788
+ typeof ResponseFormatType
2789
+ > = z.nativeEnum(ResponseFormatType);
2816
2790
 
2817
2791
  /** @internal */
2818
- export const DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema:
2819
- z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType> =
2820
- DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema;
2792
+ export const ResponseFormatType$outboundSchema: z.ZodNativeEnum<
2793
+ typeof ResponseFormatType
2794
+ > = ResponseFormatType$inboundSchema;
2821
2795
 
2822
2796
  /**
2823
2797
  * @internal
2824
2798
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2825
2799
  */
2826
- export namespace DeploymentGetConfigResponseFormatDeploymentsType$ {
2827
- /** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema` instead. */
2828
- export const inboundSchema =
2829
- DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema;
2830
- /** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema` instead. */
2831
- export const outboundSchema =
2832
- DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema;
2800
+ export namespace ResponseFormatType$ {
2801
+ /** @deprecated use `ResponseFormatType$inboundSchema` instead. */
2802
+ export const inboundSchema = ResponseFormatType$inboundSchema;
2803
+ /** @deprecated use `ResponseFormatType$outboundSchema` instead. */
2804
+ export const outboundSchema = ResponseFormatType$outboundSchema;
2833
2805
  }
2834
2806
 
2835
2807
  /** @internal */
2836
- export const DeploymentGetConfigResponseFormatJsonSchema$inboundSchema:
2837
- z.ZodType<
2838
- DeploymentGetConfigResponseFormatJsonSchema,
2839
- z.ZodTypeDef,
2840
- unknown
2841
- > = z.object({
2842
- name: z.string(),
2843
- strict: z.boolean(),
2844
- schema: z.record(z.any()),
2845
- });
2808
+ export const JsonSchema$inboundSchema: z.ZodType<
2809
+ JsonSchema,
2810
+ z.ZodTypeDef,
2811
+ unknown
2812
+ > = z.object({
2813
+ name: z.string(),
2814
+ strict: z.boolean(),
2815
+ schema: z.record(z.any()),
2816
+ });
2846
2817
 
2847
2818
  /** @internal */
2848
- export type DeploymentGetConfigResponseFormatJsonSchema$Outbound = {
2819
+ export type JsonSchema$Outbound = {
2849
2820
  name: string;
2850
2821
  strict: boolean;
2851
2822
  schema: { [k: string]: any };
2852
2823
  };
2853
2824
 
2854
2825
  /** @internal */
2855
- export const DeploymentGetConfigResponseFormatJsonSchema$outboundSchema:
2856
- z.ZodType<
2857
- DeploymentGetConfigResponseFormatJsonSchema$Outbound,
2858
- z.ZodTypeDef,
2859
- DeploymentGetConfigResponseFormatJsonSchema
2860
- > = z.object({
2861
- name: z.string(),
2862
- strict: z.boolean(),
2863
- schema: z.record(z.any()),
2864
- });
2826
+ export const JsonSchema$outboundSchema: z.ZodType<
2827
+ JsonSchema$Outbound,
2828
+ z.ZodTypeDef,
2829
+ JsonSchema
2830
+ > = z.object({
2831
+ name: z.string(),
2832
+ strict: z.boolean(),
2833
+ schema: z.record(z.any()),
2834
+ });
2865
2835
 
2866
2836
  /**
2867
2837
  * @internal
2868
2838
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2869
2839
  */
2870
- export namespace DeploymentGetConfigResponseFormatJsonSchema$ {
2871
- /** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$inboundSchema` instead. */
2872
- export const inboundSchema =
2873
- DeploymentGetConfigResponseFormatJsonSchema$inboundSchema;
2874
- /** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$outboundSchema` instead. */
2875
- export const outboundSchema =
2876
- DeploymentGetConfigResponseFormatJsonSchema$outboundSchema;
2877
- /** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$Outbound` instead. */
2878
- export type Outbound = DeploymentGetConfigResponseFormatJsonSchema$Outbound;
2840
+ export namespace JsonSchema$ {
2841
+ /** @deprecated use `JsonSchema$inboundSchema` instead. */
2842
+ export const inboundSchema = JsonSchema$inboundSchema;
2843
+ /** @deprecated use `JsonSchema$outboundSchema` instead. */
2844
+ export const outboundSchema = JsonSchema$outboundSchema;
2845
+ /** @deprecated use `JsonSchema$Outbound` instead. */
2846
+ export type Outbound = JsonSchema$Outbound;
2879
2847
  }
2880
2848
 
2881
- export function deploymentGetConfigResponseFormatJsonSchemaToJSON(
2882
- deploymentGetConfigResponseFormatJsonSchema:
2883
- DeploymentGetConfigResponseFormatJsonSchema,
2884
- ): string {
2885
- return JSON.stringify(
2886
- DeploymentGetConfigResponseFormatJsonSchema$outboundSchema.parse(
2887
- deploymentGetConfigResponseFormatJsonSchema,
2888
- ),
2889
- );
2849
+ export function jsonSchemaToJSON(jsonSchema: JsonSchema): string {
2850
+ return JSON.stringify(JsonSchema$outboundSchema.parse(jsonSchema));
2890
2851
  }
2891
2852
 
2892
- export function deploymentGetConfigResponseFormatJsonSchemaFromJSON(
2853
+ export function jsonSchemaFromJSON(
2893
2854
  jsonString: string,
2894
- ): SafeParseResult<
2895
- DeploymentGetConfigResponseFormatJsonSchema,
2896
- SDKValidationError
2897
- > {
2855
+ ): SafeParseResult<JsonSchema, SDKValidationError> {
2898
2856
  return safeParse(
2899
2857
  jsonString,
2900
- (x) =>
2901
- DeploymentGetConfigResponseFormatJsonSchema$inboundSchema.parse(
2902
- JSON.parse(x),
2903
- ),
2904
- `Failed to parse 'DeploymentGetConfigResponseFormatJsonSchema' from JSON`,
2858
+ (x) => JsonSchema$inboundSchema.parse(JSON.parse(x)),
2859
+ `Failed to parse 'JsonSchema' from JSON`,
2905
2860
  );
2906
2861
  }
2907
2862
 
2908
2863
  /** @internal */
2909
- export const DeploymentGetConfigResponseFormat1$inboundSchema: z.ZodType<
2910
- DeploymentGetConfigResponseFormat1,
2864
+ export const ResponseFormat1$inboundSchema: z.ZodType<
2865
+ ResponseFormat1,
2911
2866
  z.ZodTypeDef,
2912
2867
  unknown
2913
2868
  > = z.object({
2914
- type: DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema,
2915
- json_schema: z.lazy(() =>
2916
- DeploymentGetConfigResponseFormatJsonSchema$inboundSchema
2917
- ),
2869
+ type: ResponseFormatType$inboundSchema,
2870
+ json_schema: z.lazy(() => JsonSchema$inboundSchema),
2918
2871
  }).transform((v) => {
2919
2872
  return remap$(v, {
2920
2873
  "json_schema": "jsonSchema",
@@ -2922,21 +2875,19 @@ export const DeploymentGetConfigResponseFormat1$inboundSchema: z.ZodType<
2922
2875
  });
2923
2876
 
2924
2877
  /** @internal */
2925
- export type DeploymentGetConfigResponseFormat1$Outbound = {
2878
+ export type ResponseFormat1$Outbound = {
2926
2879
  type: string;
2927
- json_schema: DeploymentGetConfigResponseFormatJsonSchema$Outbound;
2880
+ json_schema: JsonSchema$Outbound;
2928
2881
  };
2929
2882
 
2930
2883
  /** @internal */
2931
- export const DeploymentGetConfigResponseFormat1$outboundSchema: z.ZodType<
2932
- DeploymentGetConfigResponseFormat1$Outbound,
2884
+ export const ResponseFormat1$outboundSchema: z.ZodType<
2885
+ ResponseFormat1$Outbound,
2933
2886
  z.ZodTypeDef,
2934
- DeploymentGetConfigResponseFormat1
2887
+ ResponseFormat1
2935
2888
  > = z.object({
2936
- type: DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema,
2937
- jsonSchema: z.lazy(() =>
2938
- DeploymentGetConfigResponseFormatJsonSchema$outboundSchema
2939
- ),
2889
+ type: ResponseFormatType$outboundSchema,
2890
+ jsonSchema: z.lazy(() => JsonSchema$outboundSchema),
2940
2891
  }).transform((v) => {
2941
2892
  return remap$(v, {
2942
2893
  jsonSchema: "json_schema",
@@ -2947,139 +2898,123 @@ export const DeploymentGetConfigResponseFormat1$outboundSchema: z.ZodType<
2947
2898
  * @internal
2948
2899
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2949
2900
  */
2950
- export namespace DeploymentGetConfigResponseFormat1$ {
2951
- /** @deprecated use `DeploymentGetConfigResponseFormat1$inboundSchema` instead. */
2952
- export const inboundSchema = DeploymentGetConfigResponseFormat1$inboundSchema;
2953
- /** @deprecated use `DeploymentGetConfigResponseFormat1$outboundSchema` instead. */
2954
- export const outboundSchema =
2955
- DeploymentGetConfigResponseFormat1$outboundSchema;
2956
- /** @deprecated use `DeploymentGetConfigResponseFormat1$Outbound` instead. */
2957
- export type Outbound = DeploymentGetConfigResponseFormat1$Outbound;
2901
+ export namespace ResponseFormat1$ {
2902
+ /** @deprecated use `ResponseFormat1$inboundSchema` instead. */
2903
+ export const inboundSchema = ResponseFormat1$inboundSchema;
2904
+ /** @deprecated use `ResponseFormat1$outboundSchema` instead. */
2905
+ export const outboundSchema = ResponseFormat1$outboundSchema;
2906
+ /** @deprecated use `ResponseFormat1$Outbound` instead. */
2907
+ export type Outbound = ResponseFormat1$Outbound;
2958
2908
  }
2959
2909
 
2960
- export function deploymentGetConfigResponseFormat1ToJSON(
2961
- deploymentGetConfigResponseFormat1: DeploymentGetConfigResponseFormat1,
2910
+ export function responseFormat1ToJSON(
2911
+ responseFormat1: ResponseFormat1,
2962
2912
  ): string {
2963
- return JSON.stringify(
2964
- DeploymentGetConfigResponseFormat1$outboundSchema.parse(
2965
- deploymentGetConfigResponseFormat1,
2966
- ),
2967
- );
2913
+ return JSON.stringify(ResponseFormat1$outboundSchema.parse(responseFormat1));
2968
2914
  }
2969
2915
 
2970
- export function deploymentGetConfigResponseFormat1FromJSON(
2916
+ export function responseFormat1FromJSON(
2971
2917
  jsonString: string,
2972
- ): SafeParseResult<DeploymentGetConfigResponseFormat1, SDKValidationError> {
2918
+ ): SafeParseResult<ResponseFormat1, SDKValidationError> {
2973
2919
  return safeParse(
2974
2920
  jsonString,
2975
- (x) =>
2976
- DeploymentGetConfigResponseFormat1$inboundSchema.parse(JSON.parse(x)),
2977
- `Failed to parse 'DeploymentGetConfigResponseFormat1' from JSON`,
2921
+ (x) => ResponseFormat1$inboundSchema.parse(JSON.parse(x)),
2922
+ `Failed to parse 'ResponseFormat1' from JSON`,
2978
2923
  );
2979
2924
  }
2980
2925
 
2981
2926
  /** @internal */
2982
- export const DeploymentGetConfigResponseFormat$inboundSchema: z.ZodType<
2983
- DeploymentGetConfigResponseFormat,
2927
+ export const ResponseFormat$inboundSchema: z.ZodType<
2928
+ ResponseFormat,
2984
2929
  z.ZodTypeDef,
2985
2930
  unknown
2986
2931
  > = z.union([
2987
- z.lazy(() => DeploymentGetConfigResponseFormat2$inboundSchema),
2988
- z.lazy(() => DeploymentGetConfigResponseFormat1$inboundSchema),
2932
+ z.lazy(() => ResponseFormat2$inboundSchema),
2933
+ z.lazy(() => ResponseFormat1$inboundSchema),
2989
2934
  ]);
2990
2935
 
2991
2936
  /** @internal */
2992
- export type DeploymentGetConfigResponseFormat$Outbound =
2993
- | DeploymentGetConfigResponseFormat2$Outbound
2994
- | DeploymentGetConfigResponseFormat1$Outbound;
2937
+ export type ResponseFormat$Outbound =
2938
+ | ResponseFormat2$Outbound
2939
+ | ResponseFormat1$Outbound;
2995
2940
 
2996
2941
  /** @internal */
2997
- export const DeploymentGetConfigResponseFormat$outboundSchema: z.ZodType<
2998
- DeploymentGetConfigResponseFormat$Outbound,
2942
+ export const ResponseFormat$outboundSchema: z.ZodType<
2943
+ ResponseFormat$Outbound,
2999
2944
  z.ZodTypeDef,
3000
- DeploymentGetConfigResponseFormat
2945
+ ResponseFormat
3001
2946
  > = z.union([
3002
- z.lazy(() => DeploymentGetConfigResponseFormat2$outboundSchema),
3003
- z.lazy(() => DeploymentGetConfigResponseFormat1$outboundSchema),
2947
+ z.lazy(() => ResponseFormat2$outboundSchema),
2948
+ z.lazy(() => ResponseFormat1$outboundSchema),
3004
2949
  ]);
3005
2950
 
3006
2951
  /**
3007
2952
  * @internal
3008
2953
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3009
2954
  */
3010
- export namespace DeploymentGetConfigResponseFormat$ {
3011
- /** @deprecated use `DeploymentGetConfigResponseFormat$inboundSchema` instead. */
3012
- export const inboundSchema = DeploymentGetConfigResponseFormat$inboundSchema;
3013
- /** @deprecated use `DeploymentGetConfigResponseFormat$outboundSchema` instead. */
3014
- export const outboundSchema =
3015
- DeploymentGetConfigResponseFormat$outboundSchema;
3016
- /** @deprecated use `DeploymentGetConfigResponseFormat$Outbound` instead. */
3017
- export type Outbound = DeploymentGetConfigResponseFormat$Outbound;
2955
+ export namespace ResponseFormat$ {
2956
+ /** @deprecated use `ResponseFormat$inboundSchema` instead. */
2957
+ export const inboundSchema = ResponseFormat$inboundSchema;
2958
+ /** @deprecated use `ResponseFormat$outboundSchema` instead. */
2959
+ export const outboundSchema = ResponseFormat$outboundSchema;
2960
+ /** @deprecated use `ResponseFormat$Outbound` instead. */
2961
+ export type Outbound = ResponseFormat$Outbound;
3018
2962
  }
3019
2963
 
3020
- export function deploymentGetConfigResponseFormatToJSON(
3021
- deploymentGetConfigResponseFormat: DeploymentGetConfigResponseFormat,
3022
- ): string {
3023
- return JSON.stringify(
3024
- DeploymentGetConfigResponseFormat$outboundSchema.parse(
3025
- deploymentGetConfigResponseFormat,
3026
- ),
3027
- );
2964
+ export function responseFormatToJSON(responseFormat: ResponseFormat): string {
2965
+ return JSON.stringify(ResponseFormat$outboundSchema.parse(responseFormat));
3028
2966
  }
3029
2967
 
3030
- export function deploymentGetConfigResponseFormatFromJSON(
2968
+ export function responseFormatFromJSON(
3031
2969
  jsonString: string,
3032
- ): SafeParseResult<DeploymentGetConfigResponseFormat, SDKValidationError> {
2970
+ ): SafeParseResult<ResponseFormat, SDKValidationError> {
3033
2971
  return safeParse(
3034
2972
  jsonString,
3035
- (x) => DeploymentGetConfigResponseFormat$inboundSchema.parse(JSON.parse(x)),
3036
- `Failed to parse 'DeploymentGetConfigResponseFormat' from JSON`,
2973
+ (x) => ResponseFormat$inboundSchema.parse(JSON.parse(x)),
2974
+ `Failed to parse 'ResponseFormat' from JSON`,
3037
2975
  );
3038
2976
  }
3039
2977
 
3040
2978
  /** @internal */
3041
- export const DeploymentGetConfigPhotoRealVersion$inboundSchema: z.ZodNativeEnum<
3042
- typeof DeploymentGetConfigPhotoRealVersion
3043
- > = z.nativeEnum(DeploymentGetConfigPhotoRealVersion);
2979
+ export const PhotoRealVersion$inboundSchema: z.ZodNativeEnum<
2980
+ typeof PhotoRealVersion
2981
+ > = z.nativeEnum(PhotoRealVersion);
3044
2982
 
3045
2983
  /** @internal */
3046
- export const DeploymentGetConfigPhotoRealVersion$outboundSchema:
3047
- z.ZodNativeEnum<typeof DeploymentGetConfigPhotoRealVersion> =
3048
- DeploymentGetConfigPhotoRealVersion$inboundSchema;
2984
+ export const PhotoRealVersion$outboundSchema: z.ZodNativeEnum<
2985
+ typeof PhotoRealVersion
2986
+ > = PhotoRealVersion$inboundSchema;
3049
2987
 
3050
2988
  /**
3051
2989
  * @internal
3052
2990
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3053
2991
  */
3054
- export namespace DeploymentGetConfigPhotoRealVersion$ {
3055
- /** @deprecated use `DeploymentGetConfigPhotoRealVersion$inboundSchema` instead. */
3056
- export const inboundSchema =
3057
- DeploymentGetConfigPhotoRealVersion$inboundSchema;
3058
- /** @deprecated use `DeploymentGetConfigPhotoRealVersion$outboundSchema` instead. */
3059
- export const outboundSchema =
3060
- DeploymentGetConfigPhotoRealVersion$outboundSchema;
2992
+ export namespace PhotoRealVersion$ {
2993
+ /** @deprecated use `PhotoRealVersion$inboundSchema` instead. */
2994
+ export const inboundSchema = PhotoRealVersion$inboundSchema;
2995
+ /** @deprecated use `PhotoRealVersion$outboundSchema` instead. */
2996
+ export const outboundSchema = PhotoRealVersion$outboundSchema;
3061
2997
  }
3062
2998
 
3063
2999
  /** @internal */
3064
- export const DeploymentGetConfigEncodingFormat$inboundSchema: z.ZodNativeEnum<
3065
- typeof DeploymentGetConfigEncodingFormat
3066
- > = z.nativeEnum(DeploymentGetConfigEncodingFormat);
3000
+ export const EncodingFormat$inboundSchema: z.ZodNativeEnum<
3001
+ typeof EncodingFormat
3002
+ > = z.nativeEnum(EncodingFormat);
3067
3003
 
3068
3004
  /** @internal */
3069
- export const DeploymentGetConfigEncodingFormat$outboundSchema: z.ZodNativeEnum<
3070
- typeof DeploymentGetConfigEncodingFormat
3071
- > = DeploymentGetConfigEncodingFormat$inboundSchema;
3005
+ export const EncodingFormat$outboundSchema: z.ZodNativeEnum<
3006
+ typeof EncodingFormat
3007
+ > = EncodingFormat$inboundSchema;
3072
3008
 
3073
3009
  /**
3074
3010
  * @internal
3075
3011
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3076
3012
  */
3077
- export namespace DeploymentGetConfigEncodingFormat$ {
3078
- /** @deprecated use `DeploymentGetConfigEncodingFormat$inboundSchema` instead. */
3079
- export const inboundSchema = DeploymentGetConfigEncodingFormat$inboundSchema;
3080
- /** @deprecated use `DeploymentGetConfigEncodingFormat$outboundSchema` instead. */
3081
- export const outboundSchema =
3082
- DeploymentGetConfigEncodingFormat$outboundSchema;
3013
+ export namespace EncodingFormat$ {
3014
+ /** @deprecated use `EncodingFormat$inboundSchema` instead. */
3015
+ export const inboundSchema = EncodingFormat$inboundSchema;
3016
+ /** @deprecated use `EncodingFormat$outboundSchema` instead. */
3017
+ export const outboundSchema = EncodingFormat$outboundSchema;
3083
3018
  }
3084
3019
 
3085
3020
  /** @internal */
@@ -3096,19 +3031,18 @@ export const ParametersT$inboundSchema: z.ZodType<
3096
3031
  presencePenalty: z.number().optional(),
3097
3032
  numImages: z.number().optional(),
3098
3033
  seed: z.number().optional(),
3099
- format: DeploymentGetConfigFormat$inboundSchema.optional(),
3034
+ format: Format$inboundSchema.optional(),
3100
3035
  dimensions: z.string().optional(),
3101
- quality: DeploymentGetConfigQuality$inboundSchema.optional(),
3036
+ quality: Quality$inboundSchema.optional(),
3102
3037
  style: z.string().optional(),
3103
3038
  responseFormat: z.nullable(
3104
3039
  z.union([
3105
- z.lazy(() => DeploymentGetConfigResponseFormat2$inboundSchema),
3106
- z.lazy(() => DeploymentGetConfigResponseFormat1$inboundSchema),
3040
+ z.lazy(() => ResponseFormat2$inboundSchema),
3041
+ z.lazy(() => ResponseFormat1$inboundSchema),
3107
3042
  ]),
3108
3043
  ).optional(),
3109
- photoRealVersion: DeploymentGetConfigPhotoRealVersion$inboundSchema
3110
- .optional(),
3111
- encoding_format: DeploymentGetConfigEncodingFormat$inboundSchema.optional(),
3044
+ photoRealVersion: PhotoRealVersion$inboundSchema.optional(),
3045
+ encoding_format: EncodingFormat$inboundSchema.optional(),
3112
3046
  }).transform((v) => {
3113
3047
  return remap$(v, {
3114
3048
  "encoding_format": "encodingFormat",
@@ -3130,8 +3064,8 @@ export type ParametersT$Outbound = {
3130
3064
  quality?: string | undefined;
3131
3065
  style?: string | undefined;
3132
3066
  responseFormat?:
3133
- | DeploymentGetConfigResponseFormat2$Outbound
3134
- | DeploymentGetConfigResponseFormat1$Outbound
3067
+ | ResponseFormat2$Outbound
3068
+ | ResponseFormat1$Outbound
3135
3069
  | null
3136
3070
  | undefined;
3137
3071
  photoRealVersion?: string | undefined;
@@ -3152,19 +3086,18 @@ export const ParametersT$outboundSchema: z.ZodType<
3152
3086
  presencePenalty: z.number().optional(),
3153
3087
  numImages: z.number().optional(),
3154
3088
  seed: z.number().optional(),
3155
- format: DeploymentGetConfigFormat$outboundSchema.optional(),
3089
+ format: Format$outboundSchema.optional(),
3156
3090
  dimensions: z.string().optional(),
3157
- quality: DeploymentGetConfigQuality$outboundSchema.optional(),
3091
+ quality: Quality$outboundSchema.optional(),
3158
3092
  style: z.string().optional(),
3159
3093
  responseFormat: z.nullable(
3160
3094
  z.union([
3161
- z.lazy(() => DeploymentGetConfigResponseFormat2$outboundSchema),
3162
- z.lazy(() => DeploymentGetConfigResponseFormat1$outboundSchema),
3095
+ z.lazy(() => ResponseFormat2$outboundSchema),
3096
+ z.lazy(() => ResponseFormat1$outboundSchema),
3163
3097
  ]),
3164
3098
  ).optional(),
3165
- photoRealVersion: DeploymentGetConfigPhotoRealVersion$outboundSchema
3166
- .optional(),
3167
- encodingFormat: DeploymentGetConfigEncodingFormat$outboundSchema.optional(),
3099
+ photoRealVersion: PhotoRealVersion$outboundSchema.optional(),
3100
+ encodingFormat: EncodingFormat$outboundSchema.optional(),
3168
3101
  }).transform((v) => {
3169
3102
  return remap$(v, {
3170
3103
  encodingFormat: "encoding_format",