@orq-ai/node 1.32.0-rc.5 → 1.32.0-rc.6

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