@orq-ai/node 3.12.16 → 3.12.17

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 (159) hide show
  1. package/bin/mcp-server.js +112 -112
  2. package/bin/mcp-server.js.map +30 -30
  3. package/examples/package-lock.json +1 -1
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/operations/createbudget.js +2 -2
  10. package/models/operations/createcontact.js +2 -2
  11. package/models/operations/createdataset.js +2 -2
  12. package/models/operations/createdatasetitem.js +2 -2
  13. package/models/operations/createdatasource.js +2 -2
  14. package/models/operations/createeval.js +16 -16
  15. package/models/operations/fileget.js +2 -2
  16. package/models/operations/filelist.js +2 -2
  17. package/models/operations/fileupload.js +2 -2
  18. package/models/operations/getbudget.js +2 -2
  19. package/models/operations/getevals.js +28 -28
  20. package/models/operations/listbudgets.js +2 -2
  21. package/models/operations/listcontacts.js +2 -2
  22. package/models/operations/listdatasetdatapoints.js +2 -2
  23. package/models/operations/listdatasets.js +2 -2
  24. package/models/operations/listdatasources.js +2 -2
  25. package/models/operations/retrievecontact.js +2 -2
  26. package/models/operations/retrievedatapoint.js +2 -2
  27. package/models/operations/retrievedataset.js +2 -2
  28. package/models/operations/retrievedatasource.js +2 -2
  29. package/models/operations/updatebudget.js +2 -2
  30. package/models/operations/updatecontact.js +2 -2
  31. package/models/operations/updatedatapoint.js +2 -2
  32. package/models/operations/updatedataset.js +2 -2
  33. package/models/operations/updatedatasource.js +2 -2
  34. package/models/operations/updateeval.js +16 -16
  35. package/package.json +1 -1
  36. package/packages/orq-rc/README.md +107 -90
  37. package/packages/orq-rc/docs/sdks/tools/README.md +488 -0
  38. package/packages/orq-rc/examples/package-lock.json +1 -1
  39. package/packages/orq-rc/jsr.json +1 -1
  40. package/packages/orq-rc/package-lock.json +2 -2
  41. package/packages/orq-rc/package.json +1 -1
  42. package/packages/orq-rc/src/funcs/toolsCreate.ts +163 -0
  43. package/packages/orq-rc/src/funcs/toolsDelete.ts +167 -0
  44. package/packages/orq-rc/src/funcs/toolsDuplicate.ts +175 -0
  45. package/packages/orq-rc/src/funcs/toolsList.ts +176 -0
  46. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +166 -0
  47. package/packages/orq-rc/src/funcs/toolsUpdate.ts +176 -0
  48. package/packages/orq-rc/src/lib/config.ts +3 -3
  49. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  50. package/packages/orq-rc/src/mcp-server/server.ts +13 -1
  51. package/packages/orq-rc/src/mcp-server/tools/toolsCreate.ts +37 -0
  52. package/packages/orq-rc/src/mcp-server/tools/toolsDelete.ts +35 -0
  53. package/packages/orq-rc/src/mcp-server/tools/toolsDuplicate.ts +37 -0
  54. package/packages/orq-rc/src/mcp-server/tools/toolsList.ts +37 -0
  55. package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.ts +37 -0
  56. package/packages/orq-rc/src/mcp-server/tools/toolsUpdate.ts +37 -0
  57. package/packages/orq-rc/src/models/components/callsubagenttool.ts +109 -0
  58. package/packages/orq-rc/src/models/components/codeexecutiontool.ts +293 -0
  59. package/packages/orq-rc/src/models/components/currentdatetool.ts +107 -0
  60. package/packages/orq-rc/src/models/components/deployments.ts +52 -45
  61. package/packages/orq-rc/src/models/components/functiontool.ts +195 -0
  62. package/packages/orq-rc/src/models/components/googlesearchtool.ts +108 -0
  63. package/packages/orq-rc/src/models/components/httptool.ts +532 -0
  64. package/packages/orq-rc/src/models/components/index.ts +13 -0
  65. package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +111 -0
  66. package/packages/orq-rc/src/models/components/querymemorystoretool.ts +111 -0
  67. package/packages/orq-rc/src/models/components/retrieveagentstool.ts +109 -0
  68. package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +111 -0
  69. package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +111 -0
  70. package/packages/orq-rc/src/models/components/webscrapertool.ts +105 -0
  71. package/packages/orq-rc/src/models/components/writememorystoretool.ts +111 -0
  72. package/packages/orq-rc/src/models/errors/duplicatetool.ts +91 -0
  73. package/packages/orq-rc/src/models/errors/index.ts +2 -0
  74. package/packages/orq-rc/src/models/errors/updatetool.ts +91 -0
  75. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  76. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  77. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  78. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +10 -8
  79. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  80. package/packages/orq-rc/src/models/operations/createeval.ts +60 -56
  81. package/packages/orq-rc/src/models/operations/createknowledge.ts +18 -0
  82. package/packages/orq-rc/src/models/operations/creatememorystore.ts +137 -136
  83. package/packages/orq-rc/src/models/operations/createprompt.ts +631 -314
  84. package/packages/orq-rc/src/models/operations/createtool.ts +4027 -0
  85. package/packages/orq-rc/src/models/operations/deletetool.ts +75 -0
  86. package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +8 -6
  87. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +362 -194
  88. package/packages/orq-rc/src/models/operations/deployments.ts +329 -160
  89. package/packages/orq-rc/src/models/operations/deploymentstream.ts +8 -6
  90. package/packages/orq-rc/src/models/operations/duplicatetool.ts +2311 -0
  91. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  92. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  93. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  94. package/packages/orq-rc/src/models/operations/getagent.ts +10 -10
  95. package/packages/orq-rc/src/models/operations/getallprompts.ts +333 -168
  96. package/packages/orq-rc/src/models/operations/getalltools.ts +2278 -0
  97. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  98. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  99. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +9 -0
  100. package/packages/orq-rc/src/models/operations/getoneprompt.ts +329 -167
  101. package/packages/orq-rc/src/models/operations/getpromptversion.ts +337 -168
  102. package/packages/orq-rc/src/models/operations/index.ts +6 -0
  103. package/packages/orq-rc/src/models/operations/listagents.ts +10 -10
  104. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  105. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  106. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +6 -5
  107. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  108. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  109. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +9 -0
  110. package/packages/orq-rc/src/models/operations/listpromptversions.ts +354 -183
  111. package/packages/orq-rc/src/models/operations/parse.ts +20 -335
  112. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  113. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +6 -5
  114. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  115. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  116. package/packages/orq-rc/src/models/operations/retrievetool.ts +2303 -0
  117. package/packages/orq-rc/src/models/operations/runagent.ts +412 -1375
  118. package/packages/orq-rc/src/models/operations/streamrunagent.ts +399 -1449
  119. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  120. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  121. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +10 -8
  122. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  123. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  124. package/packages/orq-rc/src/models/operations/updateeval.ts +57 -57
  125. package/packages/orq-rc/src/models/operations/updateknowledge.ts +18 -0
  126. package/packages/orq-rc/src/models/operations/updatememorystore.ts +136 -168
  127. package/packages/orq-rc/src/models/operations/updateprompt.ts +668 -335
  128. package/packages/orq-rc/src/models/operations/updatetool.ts +4231 -0
  129. package/packages/orq-rc/src/sdk/sdk.ts +6 -0
  130. package/packages/orq-rc/src/sdk/tools.ts +117 -0
  131. package/src/lib/config.ts +3 -3
  132. package/src/mcp-server/mcp-server.ts +1 -1
  133. package/src/mcp-server/server.ts +1 -1
  134. package/src/models/operations/createbudget.ts +2 -2
  135. package/src/models/operations/createcontact.ts +2 -2
  136. package/src/models/operations/createdataset.ts +2 -2
  137. package/src/models/operations/createdatasetitem.ts +2 -2
  138. package/src/models/operations/createdatasource.ts +2 -2
  139. package/src/models/operations/createeval.ts +16 -16
  140. package/src/models/operations/fileget.ts +2 -2
  141. package/src/models/operations/filelist.ts +2 -2
  142. package/src/models/operations/fileupload.ts +2 -2
  143. package/src/models/operations/getbudget.ts +2 -2
  144. package/src/models/operations/getevals.ts +28 -28
  145. package/src/models/operations/listbudgets.ts +2 -2
  146. package/src/models/operations/listcontacts.ts +2 -2
  147. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  148. package/src/models/operations/listdatasets.ts +2 -2
  149. package/src/models/operations/listdatasources.ts +2 -2
  150. package/src/models/operations/retrievecontact.ts +2 -2
  151. package/src/models/operations/retrievedatapoint.ts +2 -2
  152. package/src/models/operations/retrievedataset.ts +2 -2
  153. package/src/models/operations/retrievedatasource.ts +2 -2
  154. package/src/models/operations/updatebudget.ts +2 -2
  155. package/src/models/operations/updatecontact.ts +2 -2
  156. package/src/models/operations/updatedatapoint.ts +2 -2
  157. package/src/models/operations/updatedataset.ts +2 -2
  158. package/src/models/operations/updatedatasource.ts +2 -2
  159. package/src/models/operations/updateeval.ts +16 -16
@@ -55,46 +55,80 @@ export const GetPromptVersionFormat = {
55
55
  */
56
56
  export type GetPromptVersionFormat = ClosedEnum<typeof GetPromptVersionFormat>;
57
57
 
58
- export const GetPromptVersionResponseFormatPromptsResponseType = {
58
+ export const GetPromptVersionResponseFormat4 = {
59
+ Json: "json",
59
60
  Text: "text",
61
+ Srt: "srt",
62
+ VerboseJson: "verbose_json",
63
+ Vtt: "vtt",
60
64
  } as const;
61
- export type GetPromptVersionResponseFormatPromptsResponseType = ClosedEnum<
62
- typeof GetPromptVersionResponseFormatPromptsResponseType
65
+ export type GetPromptVersionResponseFormat4 = ClosedEnum<
66
+ typeof GetPromptVersionResponseFormat4
63
67
  >;
64
68
 
65
- export type GetPromptVersionResponseFormat3 = {
66
- type: GetPromptVersionResponseFormatPromptsResponseType;
69
+ export const GetPromptVersionResponseFormat3 = {
70
+ Url: "url",
71
+ Base64Json: "base64_json",
72
+ } as const;
73
+ export type GetPromptVersionResponseFormat3 = ClosedEnum<
74
+ typeof GetPromptVersionResponseFormat3
75
+ >;
76
+
77
+ export const GetPromptVersionResponseFormat2 = {
78
+ Mp3: "mp3",
79
+ Opus: "opus",
80
+ Aac: "aac",
81
+ Flac: "flac",
82
+ Wav: "wav",
83
+ Pcm: "pcm",
84
+ } as const;
85
+ export type GetPromptVersionResponseFormat2 = ClosedEnum<
86
+ typeof GetPromptVersionResponseFormat2
87
+ >;
88
+
89
+ export const GetPromptVersion1PromptsResponseType = {
90
+ Text: "text",
91
+ } as const;
92
+ export type GetPromptVersion1PromptsResponseType = ClosedEnum<
93
+ typeof GetPromptVersion1PromptsResponseType
94
+ >;
95
+
96
+ export type GetPromptVersion13 = {
97
+ type: GetPromptVersion1PromptsResponseType;
67
98
  };
68
99
 
69
- export const GetPromptVersionResponseFormatPromptsType = {
100
+ export const GetPromptVersion1PromptsType = {
70
101
  JsonObject: "json_object",
71
102
  } as const;
72
- export type GetPromptVersionResponseFormatPromptsType = ClosedEnum<
73
- typeof GetPromptVersionResponseFormatPromptsType
103
+ export type GetPromptVersion1PromptsType = ClosedEnum<
104
+ typeof GetPromptVersion1PromptsType
74
105
  >;
75
106
 
76
- export type GetPromptVersionResponseFormat2 = {
77
- type: GetPromptVersionResponseFormatPromptsType;
107
+ export type GetPromptVersion12 = {
108
+ type: GetPromptVersion1PromptsType;
78
109
  };
79
110
 
80
- export const GetPromptVersionResponseFormatType = {
111
+ export const GetPromptVersion1Type = {
81
112
  JsonSchema: "json_schema",
82
113
  } as const;
83
- export type GetPromptVersionResponseFormatType = ClosedEnum<
84
- typeof GetPromptVersionResponseFormatType
85
- >;
114
+ export type GetPromptVersion1Type = ClosedEnum<typeof GetPromptVersion1Type>;
86
115
 
87
- export type GetPromptVersionResponseFormatJsonSchema = {
116
+ export type GetPromptVersion1JsonSchema = {
88
117
  name: string;
89
118
  strict?: boolean | undefined;
90
119
  schema: { [k: string]: any };
91
120
  };
92
121
 
93
- export type GetPromptVersionResponseFormat1 = {
94
- type: GetPromptVersionResponseFormatType;
95
- jsonSchema: GetPromptVersionResponseFormatJsonSchema;
122
+ export type GetPromptVersion11 = {
123
+ type: GetPromptVersion1Type;
124
+ jsonSchema: GetPromptVersion1JsonSchema;
96
125
  };
97
126
 
127
+ export type GetPromptVersionResponseFormat1 =
128
+ | GetPromptVersion11
129
+ | GetPromptVersion12
130
+ | GetPromptVersion13;
131
+
98
132
  /**
99
133
  * An object specifying the format that the model must output.
100
134
  *
@@ -107,9 +141,12 @@ export type GetPromptVersionResponseFormat1 = {
107
141
  * 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.
108
142
  */
109
143
  export type GetPromptVersionResponseFormat =
110
- | GetPromptVersionResponseFormat1
144
+ | GetPromptVersion11
145
+ | GetPromptVersion12
146
+ | GetPromptVersion13
111
147
  | GetPromptVersionResponseFormat2
112
- | GetPromptVersionResponseFormat3;
148
+ | GetPromptVersionResponseFormat3
149
+ | GetPromptVersionResponseFormat4;
113
150
 
114
151
  /**
115
152
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
@@ -235,9 +272,12 @@ export type GetPromptVersionModelParameters = {
235
272
  * 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.
236
273
  */
237
274
  responseFormat?:
238
- | GetPromptVersionResponseFormat1
275
+ | GetPromptVersion11
276
+ | GetPromptVersion12
277
+ | GetPromptVersion13
239
278
  | GetPromptVersionResponseFormat2
240
279
  | GetPromptVersionResponseFormat3
280
+ | GetPromptVersionResponseFormat4
241
281
  | null
242
282
  | undefined;
243
283
  /**
@@ -642,188 +682,245 @@ export namespace GetPromptVersionFormat$ {
642
682
  }
643
683
 
644
684
  /** @internal */
645
- export const GetPromptVersionResponseFormatPromptsResponseType$inboundSchema:
646
- z.ZodNativeEnum<typeof GetPromptVersionResponseFormatPromptsResponseType> = z
647
- .nativeEnum(GetPromptVersionResponseFormatPromptsResponseType);
685
+ export const GetPromptVersionResponseFormat4$inboundSchema: z.ZodNativeEnum<
686
+ typeof GetPromptVersionResponseFormat4
687
+ > = z.nativeEnum(GetPromptVersionResponseFormat4);
688
+
689
+ /** @internal */
690
+ export const GetPromptVersionResponseFormat4$outboundSchema: z.ZodNativeEnum<
691
+ typeof GetPromptVersionResponseFormat4
692
+ > = GetPromptVersionResponseFormat4$inboundSchema;
693
+
694
+ /**
695
+ * @internal
696
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
697
+ */
698
+ export namespace GetPromptVersionResponseFormat4$ {
699
+ /** @deprecated use `GetPromptVersionResponseFormat4$inboundSchema` instead. */
700
+ export const inboundSchema = GetPromptVersionResponseFormat4$inboundSchema;
701
+ /** @deprecated use `GetPromptVersionResponseFormat4$outboundSchema` instead. */
702
+ export const outboundSchema = GetPromptVersionResponseFormat4$outboundSchema;
703
+ }
704
+
705
+ /** @internal */
706
+ export const GetPromptVersionResponseFormat3$inboundSchema: z.ZodNativeEnum<
707
+ typeof GetPromptVersionResponseFormat3
708
+ > = z.nativeEnum(GetPromptVersionResponseFormat3);
648
709
 
649
710
  /** @internal */
650
- export const GetPromptVersionResponseFormatPromptsResponseType$outboundSchema:
651
- z.ZodNativeEnum<typeof GetPromptVersionResponseFormatPromptsResponseType> =
652
- GetPromptVersionResponseFormatPromptsResponseType$inboundSchema;
711
+ export const GetPromptVersionResponseFormat3$outboundSchema: z.ZodNativeEnum<
712
+ typeof GetPromptVersionResponseFormat3
713
+ > = GetPromptVersionResponseFormat3$inboundSchema;
653
714
 
654
715
  /**
655
716
  * @internal
656
717
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
657
718
  */
658
- export namespace GetPromptVersionResponseFormatPromptsResponseType$ {
659
- /** @deprecated use `GetPromptVersionResponseFormatPromptsResponseType$inboundSchema` instead. */
719
+ export namespace GetPromptVersionResponseFormat3$ {
720
+ /** @deprecated use `GetPromptVersionResponseFormat3$inboundSchema` instead. */
721
+ export const inboundSchema = GetPromptVersionResponseFormat3$inboundSchema;
722
+ /** @deprecated use `GetPromptVersionResponseFormat3$outboundSchema` instead. */
723
+ export const outboundSchema = GetPromptVersionResponseFormat3$outboundSchema;
724
+ }
725
+
726
+ /** @internal */
727
+ export const GetPromptVersionResponseFormat2$inboundSchema: z.ZodNativeEnum<
728
+ typeof GetPromptVersionResponseFormat2
729
+ > = z.nativeEnum(GetPromptVersionResponseFormat2);
730
+
731
+ /** @internal */
732
+ export const GetPromptVersionResponseFormat2$outboundSchema: z.ZodNativeEnum<
733
+ typeof GetPromptVersionResponseFormat2
734
+ > = GetPromptVersionResponseFormat2$inboundSchema;
735
+
736
+ /**
737
+ * @internal
738
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
739
+ */
740
+ export namespace GetPromptVersionResponseFormat2$ {
741
+ /** @deprecated use `GetPromptVersionResponseFormat2$inboundSchema` instead. */
742
+ export const inboundSchema = GetPromptVersionResponseFormat2$inboundSchema;
743
+ /** @deprecated use `GetPromptVersionResponseFormat2$outboundSchema` instead. */
744
+ export const outboundSchema = GetPromptVersionResponseFormat2$outboundSchema;
745
+ }
746
+
747
+ /** @internal */
748
+ export const GetPromptVersion1PromptsResponseType$inboundSchema:
749
+ z.ZodNativeEnum<typeof GetPromptVersion1PromptsResponseType> = z.nativeEnum(
750
+ GetPromptVersion1PromptsResponseType,
751
+ );
752
+
753
+ /** @internal */
754
+ export const GetPromptVersion1PromptsResponseType$outboundSchema:
755
+ z.ZodNativeEnum<typeof GetPromptVersion1PromptsResponseType> =
756
+ GetPromptVersion1PromptsResponseType$inboundSchema;
757
+
758
+ /**
759
+ * @internal
760
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
761
+ */
762
+ export namespace GetPromptVersion1PromptsResponseType$ {
763
+ /** @deprecated use `GetPromptVersion1PromptsResponseType$inboundSchema` instead. */
660
764
  export const inboundSchema =
661
- GetPromptVersionResponseFormatPromptsResponseType$inboundSchema;
662
- /** @deprecated use `GetPromptVersionResponseFormatPromptsResponseType$outboundSchema` instead. */
765
+ GetPromptVersion1PromptsResponseType$inboundSchema;
766
+ /** @deprecated use `GetPromptVersion1PromptsResponseType$outboundSchema` instead. */
663
767
  export const outboundSchema =
664
- GetPromptVersionResponseFormatPromptsResponseType$outboundSchema;
768
+ GetPromptVersion1PromptsResponseType$outboundSchema;
665
769
  }
666
770
 
667
771
  /** @internal */
668
- export const GetPromptVersionResponseFormat3$inboundSchema: z.ZodType<
669
- GetPromptVersionResponseFormat3,
772
+ export const GetPromptVersion13$inboundSchema: z.ZodType<
773
+ GetPromptVersion13,
670
774
  z.ZodTypeDef,
671
775
  unknown
672
776
  > = z.object({
673
- type: GetPromptVersionResponseFormatPromptsResponseType$inboundSchema,
777
+ type: GetPromptVersion1PromptsResponseType$inboundSchema,
674
778
  });
675
779
 
676
780
  /** @internal */
677
- export type GetPromptVersionResponseFormat3$Outbound = {
781
+ export type GetPromptVersion13$Outbound = {
678
782
  type: string;
679
783
  };
680
784
 
681
785
  /** @internal */
682
- export const GetPromptVersionResponseFormat3$outboundSchema: z.ZodType<
683
- GetPromptVersionResponseFormat3$Outbound,
786
+ export const GetPromptVersion13$outboundSchema: z.ZodType<
787
+ GetPromptVersion13$Outbound,
684
788
  z.ZodTypeDef,
685
- GetPromptVersionResponseFormat3
789
+ GetPromptVersion13
686
790
  > = z.object({
687
- type: GetPromptVersionResponseFormatPromptsResponseType$outboundSchema,
791
+ type: GetPromptVersion1PromptsResponseType$outboundSchema,
688
792
  });
689
793
 
690
794
  /**
691
795
  * @internal
692
796
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
693
797
  */
694
- export namespace GetPromptVersionResponseFormat3$ {
695
- /** @deprecated use `GetPromptVersionResponseFormat3$inboundSchema` instead. */
696
- export const inboundSchema = GetPromptVersionResponseFormat3$inboundSchema;
697
- /** @deprecated use `GetPromptVersionResponseFormat3$outboundSchema` instead. */
698
- export const outboundSchema = GetPromptVersionResponseFormat3$outboundSchema;
699
- /** @deprecated use `GetPromptVersionResponseFormat3$Outbound` instead. */
700
- export type Outbound = GetPromptVersionResponseFormat3$Outbound;
798
+ export namespace GetPromptVersion13$ {
799
+ /** @deprecated use `GetPromptVersion13$inboundSchema` instead. */
800
+ export const inboundSchema = GetPromptVersion13$inboundSchema;
801
+ /** @deprecated use `GetPromptVersion13$outboundSchema` instead. */
802
+ export const outboundSchema = GetPromptVersion13$outboundSchema;
803
+ /** @deprecated use `GetPromptVersion13$Outbound` instead. */
804
+ export type Outbound = GetPromptVersion13$Outbound;
701
805
  }
702
806
 
703
- export function getPromptVersionResponseFormat3ToJSON(
704
- getPromptVersionResponseFormat3: GetPromptVersionResponseFormat3,
807
+ export function getPromptVersion13ToJSON(
808
+ getPromptVersion13: GetPromptVersion13,
705
809
  ): string {
706
810
  return JSON.stringify(
707
- GetPromptVersionResponseFormat3$outboundSchema.parse(
708
- getPromptVersionResponseFormat3,
709
- ),
811
+ GetPromptVersion13$outboundSchema.parse(getPromptVersion13),
710
812
  );
711
813
  }
712
814
 
713
- export function getPromptVersionResponseFormat3FromJSON(
815
+ export function getPromptVersion13FromJSON(
714
816
  jsonString: string,
715
- ): SafeParseResult<GetPromptVersionResponseFormat3, SDKValidationError> {
817
+ ): SafeParseResult<GetPromptVersion13, SDKValidationError> {
716
818
  return safeParse(
717
819
  jsonString,
718
- (x) => GetPromptVersionResponseFormat3$inboundSchema.parse(JSON.parse(x)),
719
- `Failed to parse 'GetPromptVersionResponseFormat3' from JSON`,
820
+ (x) => GetPromptVersion13$inboundSchema.parse(JSON.parse(x)),
821
+ `Failed to parse 'GetPromptVersion13' from JSON`,
720
822
  );
721
823
  }
722
824
 
723
825
  /** @internal */
724
- export const GetPromptVersionResponseFormatPromptsType$inboundSchema:
725
- z.ZodNativeEnum<typeof GetPromptVersionResponseFormatPromptsType> = z
726
- .nativeEnum(GetPromptVersionResponseFormatPromptsType);
826
+ export const GetPromptVersion1PromptsType$inboundSchema: z.ZodNativeEnum<
827
+ typeof GetPromptVersion1PromptsType
828
+ > = z.nativeEnum(GetPromptVersion1PromptsType);
727
829
 
728
830
  /** @internal */
729
- export const GetPromptVersionResponseFormatPromptsType$outboundSchema:
730
- z.ZodNativeEnum<typeof GetPromptVersionResponseFormatPromptsType> =
731
- GetPromptVersionResponseFormatPromptsType$inboundSchema;
831
+ export const GetPromptVersion1PromptsType$outboundSchema: z.ZodNativeEnum<
832
+ typeof GetPromptVersion1PromptsType
833
+ > = GetPromptVersion1PromptsType$inboundSchema;
732
834
 
733
835
  /**
734
836
  * @internal
735
837
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
736
838
  */
737
- export namespace GetPromptVersionResponseFormatPromptsType$ {
738
- /** @deprecated use `GetPromptVersionResponseFormatPromptsType$inboundSchema` instead. */
739
- export const inboundSchema =
740
- GetPromptVersionResponseFormatPromptsType$inboundSchema;
741
- /** @deprecated use `GetPromptVersionResponseFormatPromptsType$outboundSchema` instead. */
742
- export const outboundSchema =
743
- GetPromptVersionResponseFormatPromptsType$outboundSchema;
839
+ export namespace GetPromptVersion1PromptsType$ {
840
+ /** @deprecated use `GetPromptVersion1PromptsType$inboundSchema` instead. */
841
+ export const inboundSchema = GetPromptVersion1PromptsType$inboundSchema;
842
+ /** @deprecated use `GetPromptVersion1PromptsType$outboundSchema` instead. */
843
+ export const outboundSchema = GetPromptVersion1PromptsType$outboundSchema;
744
844
  }
745
845
 
746
846
  /** @internal */
747
- export const GetPromptVersionResponseFormat2$inboundSchema: z.ZodType<
748
- GetPromptVersionResponseFormat2,
847
+ export const GetPromptVersion12$inboundSchema: z.ZodType<
848
+ GetPromptVersion12,
749
849
  z.ZodTypeDef,
750
850
  unknown
751
851
  > = z.object({
752
- type: GetPromptVersionResponseFormatPromptsType$inboundSchema,
852
+ type: GetPromptVersion1PromptsType$inboundSchema,
753
853
  });
754
854
 
755
855
  /** @internal */
756
- export type GetPromptVersionResponseFormat2$Outbound = {
856
+ export type GetPromptVersion12$Outbound = {
757
857
  type: string;
758
858
  };
759
859
 
760
860
  /** @internal */
761
- export const GetPromptVersionResponseFormat2$outboundSchema: z.ZodType<
762
- GetPromptVersionResponseFormat2$Outbound,
861
+ export const GetPromptVersion12$outboundSchema: z.ZodType<
862
+ GetPromptVersion12$Outbound,
763
863
  z.ZodTypeDef,
764
- GetPromptVersionResponseFormat2
864
+ GetPromptVersion12
765
865
  > = z.object({
766
- type: GetPromptVersionResponseFormatPromptsType$outboundSchema,
866
+ type: GetPromptVersion1PromptsType$outboundSchema,
767
867
  });
768
868
 
769
869
  /**
770
870
  * @internal
771
871
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
772
872
  */
773
- export namespace GetPromptVersionResponseFormat2$ {
774
- /** @deprecated use `GetPromptVersionResponseFormat2$inboundSchema` instead. */
775
- export const inboundSchema = GetPromptVersionResponseFormat2$inboundSchema;
776
- /** @deprecated use `GetPromptVersionResponseFormat2$outboundSchema` instead. */
777
- export const outboundSchema = GetPromptVersionResponseFormat2$outboundSchema;
778
- /** @deprecated use `GetPromptVersionResponseFormat2$Outbound` instead. */
779
- export type Outbound = GetPromptVersionResponseFormat2$Outbound;
873
+ export namespace GetPromptVersion12$ {
874
+ /** @deprecated use `GetPromptVersion12$inboundSchema` instead. */
875
+ export const inboundSchema = GetPromptVersion12$inboundSchema;
876
+ /** @deprecated use `GetPromptVersion12$outboundSchema` instead. */
877
+ export const outboundSchema = GetPromptVersion12$outboundSchema;
878
+ /** @deprecated use `GetPromptVersion12$Outbound` instead. */
879
+ export type Outbound = GetPromptVersion12$Outbound;
780
880
  }
781
881
 
782
- export function getPromptVersionResponseFormat2ToJSON(
783
- getPromptVersionResponseFormat2: GetPromptVersionResponseFormat2,
882
+ export function getPromptVersion12ToJSON(
883
+ getPromptVersion12: GetPromptVersion12,
784
884
  ): string {
785
885
  return JSON.stringify(
786
- GetPromptVersionResponseFormat2$outboundSchema.parse(
787
- getPromptVersionResponseFormat2,
788
- ),
886
+ GetPromptVersion12$outboundSchema.parse(getPromptVersion12),
789
887
  );
790
888
  }
791
889
 
792
- export function getPromptVersionResponseFormat2FromJSON(
890
+ export function getPromptVersion12FromJSON(
793
891
  jsonString: string,
794
- ): SafeParseResult<GetPromptVersionResponseFormat2, SDKValidationError> {
892
+ ): SafeParseResult<GetPromptVersion12, SDKValidationError> {
795
893
  return safeParse(
796
894
  jsonString,
797
- (x) => GetPromptVersionResponseFormat2$inboundSchema.parse(JSON.parse(x)),
798
- `Failed to parse 'GetPromptVersionResponseFormat2' from JSON`,
895
+ (x) => GetPromptVersion12$inboundSchema.parse(JSON.parse(x)),
896
+ `Failed to parse 'GetPromptVersion12' from JSON`,
799
897
  );
800
898
  }
801
899
 
802
900
  /** @internal */
803
- export const GetPromptVersionResponseFormatType$inboundSchema: z.ZodNativeEnum<
804
- typeof GetPromptVersionResponseFormatType
805
- > = z.nativeEnum(GetPromptVersionResponseFormatType);
901
+ export const GetPromptVersion1Type$inboundSchema: z.ZodNativeEnum<
902
+ typeof GetPromptVersion1Type
903
+ > = z.nativeEnum(GetPromptVersion1Type);
806
904
 
807
905
  /** @internal */
808
- export const GetPromptVersionResponseFormatType$outboundSchema: z.ZodNativeEnum<
809
- typeof GetPromptVersionResponseFormatType
810
- > = GetPromptVersionResponseFormatType$inboundSchema;
906
+ export const GetPromptVersion1Type$outboundSchema: z.ZodNativeEnum<
907
+ typeof GetPromptVersion1Type
908
+ > = GetPromptVersion1Type$inboundSchema;
811
909
 
812
910
  /**
813
911
  * @internal
814
912
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
815
913
  */
816
- export namespace GetPromptVersionResponseFormatType$ {
817
- /** @deprecated use `GetPromptVersionResponseFormatType$inboundSchema` instead. */
818
- export const inboundSchema = GetPromptVersionResponseFormatType$inboundSchema;
819
- /** @deprecated use `GetPromptVersionResponseFormatType$outboundSchema` instead. */
820
- export const outboundSchema =
821
- GetPromptVersionResponseFormatType$outboundSchema;
914
+ export namespace GetPromptVersion1Type$ {
915
+ /** @deprecated use `GetPromptVersion1Type$inboundSchema` instead. */
916
+ export const inboundSchema = GetPromptVersion1Type$inboundSchema;
917
+ /** @deprecated use `GetPromptVersion1Type$outboundSchema` instead. */
918
+ export const outboundSchema = GetPromptVersion1Type$outboundSchema;
822
919
  }
823
920
 
824
921
  /** @internal */
825
- export const GetPromptVersionResponseFormatJsonSchema$inboundSchema: z.ZodType<
826
- GetPromptVersionResponseFormatJsonSchema,
922
+ export const GetPromptVersion1JsonSchema$inboundSchema: z.ZodType<
923
+ GetPromptVersion1JsonSchema,
827
924
  z.ZodTypeDef,
828
925
  unknown
829
926
  > = z.object({
@@ -833,17 +930,17 @@ export const GetPromptVersionResponseFormatJsonSchema$inboundSchema: z.ZodType<
833
930
  });
834
931
 
835
932
  /** @internal */
836
- export type GetPromptVersionResponseFormatJsonSchema$Outbound = {
933
+ export type GetPromptVersion1JsonSchema$Outbound = {
837
934
  name: string;
838
935
  strict?: boolean | undefined;
839
936
  schema: { [k: string]: any };
840
937
  };
841
938
 
842
939
  /** @internal */
843
- export const GetPromptVersionResponseFormatJsonSchema$outboundSchema: z.ZodType<
844
- GetPromptVersionResponseFormatJsonSchema$Outbound,
940
+ export const GetPromptVersion1JsonSchema$outboundSchema: z.ZodType<
941
+ GetPromptVersion1JsonSchema$Outbound,
845
942
  z.ZodTypeDef,
846
- GetPromptVersionResponseFormatJsonSchema
943
+ GetPromptVersion1JsonSchema
847
944
  > = z.object({
848
945
  name: z.string(),
849
946
  strict: z.boolean().optional(),
@@ -854,54 +951,43 @@ export const GetPromptVersionResponseFormatJsonSchema$outboundSchema: z.ZodType<
854
951
  * @internal
855
952
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
856
953
  */
857
- export namespace GetPromptVersionResponseFormatJsonSchema$ {
858
- /** @deprecated use `GetPromptVersionResponseFormatJsonSchema$inboundSchema` instead. */
859
- export const inboundSchema =
860
- GetPromptVersionResponseFormatJsonSchema$inboundSchema;
861
- /** @deprecated use `GetPromptVersionResponseFormatJsonSchema$outboundSchema` instead. */
862
- export const outboundSchema =
863
- GetPromptVersionResponseFormatJsonSchema$outboundSchema;
864
- /** @deprecated use `GetPromptVersionResponseFormatJsonSchema$Outbound` instead. */
865
- export type Outbound = GetPromptVersionResponseFormatJsonSchema$Outbound;
954
+ export namespace GetPromptVersion1JsonSchema$ {
955
+ /** @deprecated use `GetPromptVersion1JsonSchema$inboundSchema` instead. */
956
+ export const inboundSchema = GetPromptVersion1JsonSchema$inboundSchema;
957
+ /** @deprecated use `GetPromptVersion1JsonSchema$outboundSchema` instead. */
958
+ export const outboundSchema = GetPromptVersion1JsonSchema$outboundSchema;
959
+ /** @deprecated use `GetPromptVersion1JsonSchema$Outbound` instead. */
960
+ export type Outbound = GetPromptVersion1JsonSchema$Outbound;
866
961
  }
867
962
 
868
- export function getPromptVersionResponseFormatJsonSchemaToJSON(
869
- getPromptVersionResponseFormatJsonSchema:
870
- GetPromptVersionResponseFormatJsonSchema,
963
+ export function getPromptVersion1JsonSchemaToJSON(
964
+ getPromptVersion1JsonSchema: GetPromptVersion1JsonSchema,
871
965
  ): string {
872
966
  return JSON.stringify(
873
- GetPromptVersionResponseFormatJsonSchema$outboundSchema.parse(
874
- getPromptVersionResponseFormatJsonSchema,
967
+ GetPromptVersion1JsonSchema$outboundSchema.parse(
968
+ getPromptVersion1JsonSchema,
875
969
  ),
876
970
  );
877
971
  }
878
972
 
879
- export function getPromptVersionResponseFormatJsonSchemaFromJSON(
973
+ export function getPromptVersion1JsonSchemaFromJSON(
880
974
  jsonString: string,
881
- ): SafeParseResult<
882
- GetPromptVersionResponseFormatJsonSchema,
883
- SDKValidationError
884
- > {
975
+ ): SafeParseResult<GetPromptVersion1JsonSchema, SDKValidationError> {
885
976
  return safeParse(
886
977
  jsonString,
887
- (x) =>
888
- GetPromptVersionResponseFormatJsonSchema$inboundSchema.parse(
889
- JSON.parse(x),
890
- ),
891
- `Failed to parse 'GetPromptVersionResponseFormatJsonSchema' from JSON`,
978
+ (x) => GetPromptVersion1JsonSchema$inboundSchema.parse(JSON.parse(x)),
979
+ `Failed to parse 'GetPromptVersion1JsonSchema' from JSON`,
892
980
  );
893
981
  }
894
982
 
895
983
  /** @internal */
896
- export const GetPromptVersionResponseFormat1$inboundSchema: z.ZodType<
897
- GetPromptVersionResponseFormat1,
984
+ export const GetPromptVersion11$inboundSchema: z.ZodType<
985
+ GetPromptVersion11,
898
986
  z.ZodTypeDef,
899
987
  unknown
900
988
  > = z.object({
901
- type: GetPromptVersionResponseFormatType$inboundSchema,
902
- json_schema: z.lazy(() =>
903
- GetPromptVersionResponseFormatJsonSchema$inboundSchema
904
- ),
989
+ type: GetPromptVersion1Type$inboundSchema,
990
+ json_schema: z.lazy(() => GetPromptVersion1JsonSchema$inboundSchema),
905
991
  }).transform((v) => {
906
992
  return remap$(v, {
907
993
  "json_schema": "jsonSchema",
@@ -909,27 +995,84 @@ export const GetPromptVersionResponseFormat1$inboundSchema: z.ZodType<
909
995
  });
910
996
 
911
997
  /** @internal */
912
- export type GetPromptVersionResponseFormat1$Outbound = {
998
+ export type GetPromptVersion11$Outbound = {
913
999
  type: string;
914
- json_schema: GetPromptVersionResponseFormatJsonSchema$Outbound;
1000
+ json_schema: GetPromptVersion1JsonSchema$Outbound;
915
1001
  };
916
1002
 
917
1003
  /** @internal */
918
- export const GetPromptVersionResponseFormat1$outboundSchema: z.ZodType<
919
- GetPromptVersionResponseFormat1$Outbound,
1004
+ export const GetPromptVersion11$outboundSchema: z.ZodType<
1005
+ GetPromptVersion11$Outbound,
920
1006
  z.ZodTypeDef,
921
- GetPromptVersionResponseFormat1
1007
+ GetPromptVersion11
922
1008
  > = z.object({
923
- type: GetPromptVersionResponseFormatType$outboundSchema,
924
- jsonSchema: z.lazy(() =>
925
- GetPromptVersionResponseFormatJsonSchema$outboundSchema
926
- ),
1009
+ type: GetPromptVersion1Type$outboundSchema,
1010
+ jsonSchema: z.lazy(() => GetPromptVersion1JsonSchema$outboundSchema),
927
1011
  }).transform((v) => {
928
1012
  return remap$(v, {
929
1013
  jsonSchema: "json_schema",
930
1014
  });
931
1015
  });
932
1016
 
1017
+ /**
1018
+ * @internal
1019
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1020
+ */
1021
+ export namespace GetPromptVersion11$ {
1022
+ /** @deprecated use `GetPromptVersion11$inboundSchema` instead. */
1023
+ export const inboundSchema = GetPromptVersion11$inboundSchema;
1024
+ /** @deprecated use `GetPromptVersion11$outboundSchema` instead. */
1025
+ export const outboundSchema = GetPromptVersion11$outboundSchema;
1026
+ /** @deprecated use `GetPromptVersion11$Outbound` instead. */
1027
+ export type Outbound = GetPromptVersion11$Outbound;
1028
+ }
1029
+
1030
+ export function getPromptVersion11ToJSON(
1031
+ getPromptVersion11: GetPromptVersion11,
1032
+ ): string {
1033
+ return JSON.stringify(
1034
+ GetPromptVersion11$outboundSchema.parse(getPromptVersion11),
1035
+ );
1036
+ }
1037
+
1038
+ export function getPromptVersion11FromJSON(
1039
+ jsonString: string,
1040
+ ): SafeParseResult<GetPromptVersion11, SDKValidationError> {
1041
+ return safeParse(
1042
+ jsonString,
1043
+ (x) => GetPromptVersion11$inboundSchema.parse(JSON.parse(x)),
1044
+ `Failed to parse 'GetPromptVersion11' from JSON`,
1045
+ );
1046
+ }
1047
+
1048
+ /** @internal */
1049
+ export const GetPromptVersionResponseFormat1$inboundSchema: z.ZodType<
1050
+ GetPromptVersionResponseFormat1,
1051
+ z.ZodTypeDef,
1052
+ unknown
1053
+ > = z.union([
1054
+ z.lazy(() => GetPromptVersion11$inboundSchema),
1055
+ z.lazy(() => GetPromptVersion12$inboundSchema),
1056
+ z.lazy(() => GetPromptVersion13$inboundSchema),
1057
+ ]);
1058
+
1059
+ /** @internal */
1060
+ export type GetPromptVersionResponseFormat1$Outbound =
1061
+ | GetPromptVersion11$Outbound
1062
+ | GetPromptVersion12$Outbound
1063
+ | GetPromptVersion13$Outbound;
1064
+
1065
+ /** @internal */
1066
+ export const GetPromptVersionResponseFormat1$outboundSchema: z.ZodType<
1067
+ GetPromptVersionResponseFormat1$Outbound,
1068
+ z.ZodTypeDef,
1069
+ GetPromptVersionResponseFormat1
1070
+ > = z.union([
1071
+ z.lazy(() => GetPromptVersion11$outboundSchema),
1072
+ z.lazy(() => GetPromptVersion12$outboundSchema),
1073
+ z.lazy(() => GetPromptVersion13$outboundSchema),
1074
+ ]);
1075
+
933
1076
  /**
934
1077
  * @internal
935
1078
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -969,16 +1112,24 @@ export const GetPromptVersionResponseFormat$inboundSchema: z.ZodType<
969
1112
  z.ZodTypeDef,
970
1113
  unknown
971
1114
  > = z.union([
972
- z.lazy(() => GetPromptVersionResponseFormat1$inboundSchema),
973
- z.lazy(() => GetPromptVersionResponseFormat2$inboundSchema),
974
- z.lazy(() => GetPromptVersionResponseFormat3$inboundSchema),
1115
+ z.union([
1116
+ z.lazy(() => GetPromptVersion11$inboundSchema),
1117
+ z.lazy(() => GetPromptVersion12$inboundSchema),
1118
+ z.lazy(() => GetPromptVersion13$inboundSchema),
1119
+ ]),
1120
+ GetPromptVersionResponseFormat2$inboundSchema,
1121
+ GetPromptVersionResponseFormat3$inboundSchema,
1122
+ GetPromptVersionResponseFormat4$inboundSchema,
975
1123
  ]);
976
1124
 
977
1125
  /** @internal */
978
1126
  export type GetPromptVersionResponseFormat$Outbound =
979
- | GetPromptVersionResponseFormat1$Outbound
980
- | GetPromptVersionResponseFormat2$Outbound
981
- | GetPromptVersionResponseFormat3$Outbound;
1127
+ | GetPromptVersion11$Outbound
1128
+ | GetPromptVersion12$Outbound
1129
+ | GetPromptVersion13$Outbound
1130
+ | string
1131
+ | string
1132
+ | string;
982
1133
 
983
1134
  /** @internal */
984
1135
  export const GetPromptVersionResponseFormat$outboundSchema: z.ZodType<
@@ -986,9 +1137,14 @@ export const GetPromptVersionResponseFormat$outboundSchema: z.ZodType<
986
1137
  z.ZodTypeDef,
987
1138
  GetPromptVersionResponseFormat
988
1139
  > = z.union([
989
- z.lazy(() => GetPromptVersionResponseFormat1$outboundSchema),
990
- z.lazy(() => GetPromptVersionResponseFormat2$outboundSchema),
991
- z.lazy(() => GetPromptVersionResponseFormat3$outboundSchema),
1140
+ z.union([
1141
+ z.lazy(() => GetPromptVersion11$outboundSchema),
1142
+ z.lazy(() => GetPromptVersion12$outboundSchema),
1143
+ z.lazy(() => GetPromptVersion13$outboundSchema),
1144
+ ]),
1145
+ GetPromptVersionResponseFormat2$outboundSchema,
1146
+ GetPromptVersionResponseFormat3$outboundSchema,
1147
+ GetPromptVersionResponseFormat4$outboundSchema,
992
1148
  ]);
993
1149
 
994
1150
  /**
@@ -1128,9 +1284,14 @@ export const GetPromptVersionModelParameters$inboundSchema: z.ZodType<
1128
1284
  style: z.string().optional(),
1129
1285
  responseFormat: z.nullable(
1130
1286
  z.union([
1131
- z.lazy(() => GetPromptVersionResponseFormat1$inboundSchema),
1132
- z.lazy(() => GetPromptVersionResponseFormat2$inboundSchema),
1133
- z.lazy(() => GetPromptVersionResponseFormat3$inboundSchema),
1287
+ z.union([
1288
+ z.lazy(() => GetPromptVersion11$inboundSchema),
1289
+ z.lazy(() => GetPromptVersion12$inboundSchema),
1290
+ z.lazy(() => GetPromptVersion13$inboundSchema),
1291
+ ]),
1292
+ GetPromptVersionResponseFormat2$inboundSchema,
1293
+ GetPromptVersionResponseFormat3$inboundSchema,
1294
+ GetPromptVersionResponseFormat4$inboundSchema,
1134
1295
  ]),
1135
1296
  ).optional(),
1136
1297
  photoRealVersion: GetPromptVersionPhotoRealVersion$inboundSchema.optional(),
@@ -1159,9 +1320,12 @@ export type GetPromptVersionModelParameters$Outbound = {
1159
1320
  quality?: string | undefined;
1160
1321
  style?: string | undefined;
1161
1322
  responseFormat?:
1162
- | GetPromptVersionResponseFormat1$Outbound
1163
- | GetPromptVersionResponseFormat2$Outbound
1164
- | GetPromptVersionResponseFormat3$Outbound
1323
+ | GetPromptVersion11$Outbound
1324
+ | GetPromptVersion12$Outbound
1325
+ | GetPromptVersion13$Outbound
1326
+ | string
1327
+ | string
1328
+ | string
1165
1329
  | null
1166
1330
  | undefined;
1167
1331
  photoRealVersion?: string | undefined;
@@ -1191,9 +1355,14 @@ export const GetPromptVersionModelParameters$outboundSchema: z.ZodType<
1191
1355
  style: z.string().optional(),
1192
1356
  responseFormat: z.nullable(
1193
1357
  z.union([
1194
- z.lazy(() => GetPromptVersionResponseFormat1$outboundSchema),
1195
- z.lazy(() => GetPromptVersionResponseFormat2$outboundSchema),
1196
- z.lazy(() => GetPromptVersionResponseFormat3$outboundSchema),
1358
+ z.union([
1359
+ z.lazy(() => GetPromptVersion11$outboundSchema),
1360
+ z.lazy(() => GetPromptVersion12$outboundSchema),
1361
+ z.lazy(() => GetPromptVersion13$outboundSchema),
1362
+ ]),
1363
+ GetPromptVersionResponseFormat2$outboundSchema,
1364
+ GetPromptVersionResponseFormat3$outboundSchema,
1365
+ GetPromptVersionResponseFormat4$outboundSchema,
1197
1366
  ]),
1198
1367
  ).optional(),
1199
1368
  photoRealVersion: GetPromptVersionPhotoRealVersion$outboundSchema.optional(),