@orq-ai/node 3.12.14 → 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 (167) hide show
  1. package/README.md +1 -4
  2. package/bin/mcp-server.js +113 -113
  3. package/bin/mcp-server.js.map +31 -31
  4. package/examples/package-lock.json +1 -1
  5. package/jsr.json +1 -1
  6. package/lib/config.d.ts +3 -3
  7. package/lib/config.js +3 -3
  8. package/lib/url.js +1 -1
  9. package/lib/url.js.map +1 -1
  10. package/mcp-server/mcp-server.js +1 -1
  11. package/mcp-server/server.js +1 -1
  12. package/models/operations/createbudget.js +2 -2
  13. package/models/operations/createcontact.js +2 -2
  14. package/models/operations/createdataset.js +2 -2
  15. package/models/operations/createdatasetitem.js +2 -2
  16. package/models/operations/createdatasource.js +2 -2
  17. package/models/operations/createeval.js +16 -16
  18. package/models/operations/fileget.js +2 -2
  19. package/models/operations/filelist.js +2 -2
  20. package/models/operations/fileupload.js +2 -2
  21. package/models/operations/getbudget.js +2 -2
  22. package/models/operations/getevals.js +28 -28
  23. package/models/operations/listbudgets.js +2 -2
  24. package/models/operations/listcontacts.js +2 -2
  25. package/models/operations/listdatasetdatapoints.js +2 -2
  26. package/models/operations/listdatasets.js +2 -2
  27. package/models/operations/listdatasources.js +2 -2
  28. package/models/operations/retrievecontact.js +2 -2
  29. package/models/operations/retrievedatapoint.js +2 -2
  30. package/models/operations/retrievedataset.js +2 -2
  31. package/models/operations/retrievedatasource.js +2 -2
  32. package/models/operations/updatebudget.js +2 -2
  33. package/models/operations/updatecontact.js +2 -2
  34. package/models/operations/updatedatapoint.js +2 -2
  35. package/models/operations/updatedataset.js +2 -2
  36. package/models/operations/updatedatasource.js +2 -2
  37. package/models/operations/updateeval.js +16 -16
  38. package/package.json +1 -1
  39. package/packages/orq-rc/README.md +108 -94
  40. package/packages/orq-rc/docs/sdks/agents/README.md +8 -2
  41. package/packages/orq-rc/docs/sdks/evals/README.md +2 -0
  42. package/packages/orq-rc/docs/sdks/tools/README.md +488 -0
  43. package/packages/orq-rc/examples/package-lock.json +1 -1
  44. package/packages/orq-rc/jsr.json +1 -1
  45. package/packages/orq-rc/package-lock.json +2 -2
  46. package/packages/orq-rc/package.json +1 -1
  47. package/packages/orq-rc/src/funcs/toolsCreate.ts +163 -0
  48. package/packages/orq-rc/src/funcs/toolsDelete.ts +167 -0
  49. package/packages/orq-rc/src/funcs/toolsDuplicate.ts +175 -0
  50. package/packages/orq-rc/src/funcs/toolsList.ts +176 -0
  51. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +166 -0
  52. package/packages/orq-rc/src/funcs/toolsUpdate.ts +176 -0
  53. package/packages/orq-rc/src/lib/config.ts +3 -3
  54. package/packages/orq-rc/src/lib/url.ts +1 -1
  55. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  56. package/packages/orq-rc/src/mcp-server/server.ts +13 -1
  57. package/packages/orq-rc/src/mcp-server/tools/toolsCreate.ts +37 -0
  58. package/packages/orq-rc/src/mcp-server/tools/toolsDelete.ts +35 -0
  59. package/packages/orq-rc/src/mcp-server/tools/toolsDuplicate.ts +37 -0
  60. package/packages/orq-rc/src/mcp-server/tools/toolsList.ts +37 -0
  61. package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.ts +37 -0
  62. package/packages/orq-rc/src/mcp-server/tools/toolsUpdate.ts +37 -0
  63. package/packages/orq-rc/src/models/components/callsubagenttool.ts +109 -0
  64. package/packages/orq-rc/src/models/components/codeexecutiontool.ts +293 -0
  65. package/packages/orq-rc/src/models/components/currentdatetool.ts +107 -0
  66. package/packages/orq-rc/src/models/components/deployments.ts +52 -45
  67. package/packages/orq-rc/src/models/components/functiontool.ts +195 -0
  68. package/packages/orq-rc/src/models/components/googlesearchtool.ts +108 -0
  69. package/packages/orq-rc/src/models/components/httptool.ts +532 -0
  70. package/packages/orq-rc/src/models/components/index.ts +13 -0
  71. package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +111 -0
  72. package/packages/orq-rc/src/models/components/querymemorystoretool.ts +111 -0
  73. package/packages/orq-rc/src/models/components/retrieveagentstool.ts +109 -0
  74. package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +111 -0
  75. package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +111 -0
  76. package/packages/orq-rc/src/models/components/webscrapertool.ts +105 -0
  77. package/packages/orq-rc/src/models/components/writememorystoretool.ts +111 -0
  78. package/packages/orq-rc/src/models/errors/duplicatetool.ts +91 -0
  79. package/packages/orq-rc/src/models/errors/index.ts +2 -0
  80. package/packages/orq-rc/src/models/errors/updatetool.ts +91 -0
  81. package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
  82. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  83. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  84. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +10 -8
  85. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  86. package/packages/orq-rc/src/models/operations/createeval.ts +199 -56
  87. package/packages/orq-rc/src/models/operations/createknowledge.ts +18 -0
  88. package/packages/orq-rc/src/models/operations/creatememorystore.ts +137 -136
  89. package/packages/orq-rc/src/models/operations/createprompt.ts +633 -314
  90. package/packages/orq-rc/src/models/operations/createtool.ts +4027 -0
  91. package/packages/orq-rc/src/models/operations/deletetool.ts +75 -0
  92. package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +8 -6
  93. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +363 -194
  94. package/packages/orq-rc/src/models/operations/deployments.ts +330 -160
  95. package/packages/orq-rc/src/models/operations/deploymentstream.ts +8 -6
  96. package/packages/orq-rc/src/models/operations/duplicatetool.ts +2311 -0
  97. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  98. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  99. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  100. package/packages/orq-rc/src/models/operations/getagent.ts +10 -10
  101. package/packages/orq-rc/src/models/operations/getallprompts.ts +334 -168
  102. package/packages/orq-rc/src/models/operations/getalltools.ts +2278 -0
  103. package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
  104. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  105. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +9 -0
  106. package/packages/orq-rc/src/models/operations/getoneprompt.ts +330 -167
  107. package/packages/orq-rc/src/models/operations/getpromptversion.ts +338 -168
  108. package/packages/orq-rc/src/models/operations/index.ts +6 -0
  109. package/packages/orq-rc/src/models/operations/listagents.ts +10 -10
  110. package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
  111. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  112. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +6 -5
  113. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  114. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  115. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +9 -0
  116. package/packages/orq-rc/src/models/operations/listpromptversions.ts +355 -183
  117. package/packages/orq-rc/src/models/operations/parse.ts +20 -335
  118. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  119. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +6 -5
  120. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  121. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  122. package/packages/orq-rc/src/models/operations/retrievetool.ts +2303 -0
  123. package/packages/orq-rc/src/models/operations/runagent.ts +428 -1384
  124. package/packages/orq-rc/src/models/operations/searchknowledge.ts +2 -2
  125. package/packages/orq-rc/src/models/operations/streamrunagent.ts +409 -1452
  126. package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
  127. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  128. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +10 -8
  129. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  130. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  131. package/packages/orq-rc/src/models/operations/updateeval.ts +210 -57
  132. package/packages/orq-rc/src/models/operations/updateknowledge.ts +18 -0
  133. package/packages/orq-rc/src/models/operations/updatememorystore.ts +136 -168
  134. package/packages/orq-rc/src/models/operations/updateprompt.ts +670 -335
  135. package/packages/orq-rc/src/models/operations/updatetool.ts +4231 -0
  136. package/packages/orq-rc/src/sdk/sdk.ts +6 -0
  137. package/packages/orq-rc/src/sdk/tools.ts +117 -0
  138. package/src/lib/config.ts +3 -3
  139. package/src/lib/url.ts +1 -1
  140. package/src/mcp-server/mcp-server.ts +1 -1
  141. package/src/mcp-server/server.ts +1 -1
  142. package/src/models/operations/createbudget.ts +2 -2
  143. package/src/models/operations/createcontact.ts +2 -2
  144. package/src/models/operations/createdataset.ts +2 -2
  145. package/src/models/operations/createdatasetitem.ts +2 -2
  146. package/src/models/operations/createdatasource.ts +2 -2
  147. package/src/models/operations/createeval.ts +16 -16
  148. package/src/models/operations/fileget.ts +2 -2
  149. package/src/models/operations/filelist.ts +2 -2
  150. package/src/models/operations/fileupload.ts +2 -2
  151. package/src/models/operations/getbudget.ts +2 -2
  152. package/src/models/operations/getevals.ts +28 -28
  153. package/src/models/operations/listbudgets.ts +2 -2
  154. package/src/models/operations/listcontacts.ts +2 -2
  155. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  156. package/src/models/operations/listdatasets.ts +2 -2
  157. package/src/models/operations/listdatasources.ts +2 -2
  158. package/src/models/operations/retrievecontact.ts +2 -2
  159. package/src/models/operations/retrievedatapoint.ts +2 -2
  160. package/src/models/operations/retrievedataset.ts +2 -2
  161. package/src/models/operations/retrievedatasource.ts +2 -2
  162. package/src/models/operations/updatebudget.ts +2 -2
  163. package/src/models/operations/updatecontact.ts +2 -2
  164. package/src/models/operations/updatedatapoint.ts +2 -2
  165. package/src/models/operations/updatedataset.ts +2 -2
  166. package/src/models/operations/updatedatasource.ts +2 -2
  167. package/src/models/operations/updateeval.ts +16 -16
@@ -69,46 +69,82 @@ export type ListPromptVersionsFormat = ClosedEnum<
69
69
  typeof ListPromptVersionsFormat
70
70
  >;
71
71
 
72
- export const ListPromptVersionsResponseFormatPromptsResponseType = {
72
+ export const ListPromptVersionsResponseFormat4 = {
73
+ Json: "json",
73
74
  Text: "text",
75
+ Srt: "srt",
76
+ VerboseJson: "verbose_json",
77
+ Vtt: "vtt",
74
78
  } as const;
75
- export type ListPromptVersionsResponseFormatPromptsResponseType = ClosedEnum<
76
- typeof ListPromptVersionsResponseFormatPromptsResponseType
79
+ export type ListPromptVersionsResponseFormat4 = ClosedEnum<
80
+ typeof ListPromptVersionsResponseFormat4
77
81
  >;
78
82
 
79
- export type ListPromptVersionsResponseFormat3 = {
80
- type: ListPromptVersionsResponseFormatPromptsResponseType;
83
+ export const ListPromptVersionsResponseFormat3 = {
84
+ Url: "url",
85
+ Base64Json: "base64_json",
86
+ } as const;
87
+ export type ListPromptVersionsResponseFormat3 = ClosedEnum<
88
+ typeof ListPromptVersionsResponseFormat3
89
+ >;
90
+
91
+ export const ListPromptVersionsResponseFormat2 = {
92
+ Mp3: "mp3",
93
+ Opus: "opus",
94
+ Aac: "aac",
95
+ Flac: "flac",
96
+ Wav: "wav",
97
+ Pcm: "pcm",
98
+ } as const;
99
+ export type ListPromptVersionsResponseFormat2 = ClosedEnum<
100
+ typeof ListPromptVersionsResponseFormat2
101
+ >;
102
+
103
+ export const ListPromptVersions1PromptsResponseType = {
104
+ Text: "text",
105
+ } as const;
106
+ export type ListPromptVersions1PromptsResponseType = ClosedEnum<
107
+ typeof ListPromptVersions1PromptsResponseType
108
+ >;
109
+
110
+ export type ListPromptVersions13 = {
111
+ type: ListPromptVersions1PromptsResponseType;
81
112
  };
82
113
 
83
- export const ListPromptVersionsResponseFormatPromptsType = {
114
+ export const ListPromptVersions1PromptsType = {
84
115
  JsonObject: "json_object",
85
116
  } as const;
86
- export type ListPromptVersionsResponseFormatPromptsType = ClosedEnum<
87
- typeof ListPromptVersionsResponseFormatPromptsType
117
+ export type ListPromptVersions1PromptsType = ClosedEnum<
118
+ typeof ListPromptVersions1PromptsType
88
119
  >;
89
120
 
90
- export type ListPromptVersionsResponseFormat2 = {
91
- type: ListPromptVersionsResponseFormatPromptsType;
121
+ export type ListPromptVersions12 = {
122
+ type: ListPromptVersions1PromptsType;
92
123
  };
93
124
 
94
- export const ListPromptVersionsResponseFormatType = {
125
+ export const ListPromptVersions1Type = {
95
126
  JsonSchema: "json_schema",
96
127
  } as const;
97
- export type ListPromptVersionsResponseFormatType = ClosedEnum<
98
- typeof ListPromptVersionsResponseFormatType
128
+ export type ListPromptVersions1Type = ClosedEnum<
129
+ typeof ListPromptVersions1Type
99
130
  >;
100
131
 
101
- export type ListPromptVersionsResponseFormatJsonSchema = {
132
+ export type ListPromptVersions1JsonSchema = {
102
133
  name: string;
103
134
  strict?: boolean | undefined;
104
135
  schema: { [k: string]: any };
105
136
  };
106
137
 
107
- export type ListPromptVersionsResponseFormat1 = {
108
- type: ListPromptVersionsResponseFormatType;
109
- jsonSchema: ListPromptVersionsResponseFormatJsonSchema;
138
+ export type ListPromptVersions11 = {
139
+ type: ListPromptVersions1Type;
140
+ jsonSchema: ListPromptVersions1JsonSchema;
110
141
  };
111
142
 
143
+ export type ListPromptVersionsResponseFormat1 =
144
+ | ListPromptVersions11
145
+ | ListPromptVersions12
146
+ | ListPromptVersions13;
147
+
112
148
  /**
113
149
  * An object specifying the format that the model must output.
114
150
  *
@@ -121,9 +157,12 @@ export type ListPromptVersionsResponseFormat1 = {
121
157
  * 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.
122
158
  */
123
159
  export type ListPromptVersionsResponseFormat =
124
- | ListPromptVersionsResponseFormat1
160
+ | ListPromptVersions11
161
+ | ListPromptVersions12
162
+ | ListPromptVersions13
125
163
  | ListPromptVersionsResponseFormat2
126
- | ListPromptVersionsResponseFormat3;
164
+ | ListPromptVersionsResponseFormat3
165
+ | ListPromptVersionsResponseFormat4;
127
166
 
128
167
  /**
129
168
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
@@ -158,6 +197,7 @@ export type ListPromptVersionsEncodingFormat = ClosedEnum<
158
197
  */
159
198
  export const ListPromptVersionsReasoningEffort = {
160
199
  Disable: "disable",
200
+ Minimal: "minimal",
161
201
  Low: "low",
162
202
  Medium: "medium",
163
203
  High: "high",
@@ -248,9 +288,12 @@ export type ListPromptVersionsModelParameters = {
248
288
  * 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.
249
289
  */
250
290
  responseFormat?:
251
- | ListPromptVersionsResponseFormat1
291
+ | ListPromptVersions11
292
+ | ListPromptVersions12
293
+ | ListPromptVersions13
252
294
  | ListPromptVersionsResponseFormat2
253
295
  | ListPromptVersionsResponseFormat3
296
+ | ListPromptVersionsResponseFormat4
254
297
  | null
255
298
  | undefined;
256
299
  /**
@@ -692,269 +735,315 @@ export namespace ListPromptVersionsFormat$ {
692
735
  }
693
736
 
694
737
  /** @internal */
695
- export const ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema:
696
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsResponseType> =
697
- z.nativeEnum(ListPromptVersionsResponseFormatPromptsResponseType);
738
+ export const ListPromptVersionsResponseFormat4$inboundSchema: z.ZodNativeEnum<
739
+ typeof ListPromptVersionsResponseFormat4
740
+ > = z.nativeEnum(ListPromptVersionsResponseFormat4);
741
+
742
+ /** @internal */
743
+ export const ListPromptVersionsResponseFormat4$outboundSchema: z.ZodNativeEnum<
744
+ typeof ListPromptVersionsResponseFormat4
745
+ > = ListPromptVersionsResponseFormat4$inboundSchema;
746
+
747
+ /**
748
+ * @internal
749
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
750
+ */
751
+ export namespace ListPromptVersionsResponseFormat4$ {
752
+ /** @deprecated use `ListPromptVersionsResponseFormat4$inboundSchema` instead. */
753
+ export const inboundSchema = ListPromptVersionsResponseFormat4$inboundSchema;
754
+ /** @deprecated use `ListPromptVersionsResponseFormat4$outboundSchema` instead. */
755
+ export const outboundSchema =
756
+ ListPromptVersionsResponseFormat4$outboundSchema;
757
+ }
758
+
759
+ /** @internal */
760
+ export const ListPromptVersionsResponseFormat3$inboundSchema: z.ZodNativeEnum<
761
+ typeof ListPromptVersionsResponseFormat3
762
+ > = z.nativeEnum(ListPromptVersionsResponseFormat3);
698
763
 
699
764
  /** @internal */
700
- export const ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema:
701
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsResponseType> =
702
- ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema;
765
+ export const ListPromptVersionsResponseFormat3$outboundSchema: z.ZodNativeEnum<
766
+ typeof ListPromptVersionsResponseFormat3
767
+ > = ListPromptVersionsResponseFormat3$inboundSchema;
703
768
 
704
769
  /**
705
770
  * @internal
706
771
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
707
772
  */
708
- export namespace ListPromptVersionsResponseFormatPromptsResponseType$ {
709
- /** @deprecated use `ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema` instead. */
773
+ export namespace ListPromptVersionsResponseFormat3$ {
774
+ /** @deprecated use `ListPromptVersionsResponseFormat3$inboundSchema` instead. */
775
+ export const inboundSchema = ListPromptVersionsResponseFormat3$inboundSchema;
776
+ /** @deprecated use `ListPromptVersionsResponseFormat3$outboundSchema` instead. */
777
+ export const outboundSchema =
778
+ ListPromptVersionsResponseFormat3$outboundSchema;
779
+ }
780
+
781
+ /** @internal */
782
+ export const ListPromptVersionsResponseFormat2$inboundSchema: z.ZodNativeEnum<
783
+ typeof ListPromptVersionsResponseFormat2
784
+ > = z.nativeEnum(ListPromptVersionsResponseFormat2);
785
+
786
+ /** @internal */
787
+ export const ListPromptVersionsResponseFormat2$outboundSchema: z.ZodNativeEnum<
788
+ typeof ListPromptVersionsResponseFormat2
789
+ > = ListPromptVersionsResponseFormat2$inboundSchema;
790
+
791
+ /**
792
+ * @internal
793
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
794
+ */
795
+ export namespace ListPromptVersionsResponseFormat2$ {
796
+ /** @deprecated use `ListPromptVersionsResponseFormat2$inboundSchema` instead. */
797
+ export const inboundSchema = ListPromptVersionsResponseFormat2$inboundSchema;
798
+ /** @deprecated use `ListPromptVersionsResponseFormat2$outboundSchema` instead. */
799
+ export const outboundSchema =
800
+ ListPromptVersionsResponseFormat2$outboundSchema;
801
+ }
802
+
803
+ /** @internal */
804
+ export const ListPromptVersions1PromptsResponseType$inboundSchema:
805
+ z.ZodNativeEnum<typeof ListPromptVersions1PromptsResponseType> = z.nativeEnum(
806
+ ListPromptVersions1PromptsResponseType,
807
+ );
808
+
809
+ /** @internal */
810
+ export const ListPromptVersions1PromptsResponseType$outboundSchema:
811
+ z.ZodNativeEnum<typeof ListPromptVersions1PromptsResponseType> =
812
+ ListPromptVersions1PromptsResponseType$inboundSchema;
813
+
814
+ /**
815
+ * @internal
816
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
817
+ */
818
+ export namespace ListPromptVersions1PromptsResponseType$ {
819
+ /** @deprecated use `ListPromptVersions1PromptsResponseType$inboundSchema` instead. */
710
820
  export const inboundSchema =
711
- ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema;
712
- /** @deprecated use `ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema` instead. */
821
+ ListPromptVersions1PromptsResponseType$inboundSchema;
822
+ /** @deprecated use `ListPromptVersions1PromptsResponseType$outboundSchema` instead. */
713
823
  export const outboundSchema =
714
- ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema;
824
+ ListPromptVersions1PromptsResponseType$outboundSchema;
715
825
  }
716
826
 
717
827
  /** @internal */
718
- export const ListPromptVersionsResponseFormat3$inboundSchema: z.ZodType<
719
- ListPromptVersionsResponseFormat3,
828
+ export const ListPromptVersions13$inboundSchema: z.ZodType<
829
+ ListPromptVersions13,
720
830
  z.ZodTypeDef,
721
831
  unknown
722
832
  > = z.object({
723
- type: ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema,
833
+ type: ListPromptVersions1PromptsResponseType$inboundSchema,
724
834
  });
725
835
 
726
836
  /** @internal */
727
- export type ListPromptVersionsResponseFormat3$Outbound = {
837
+ export type ListPromptVersions13$Outbound = {
728
838
  type: string;
729
839
  };
730
840
 
731
841
  /** @internal */
732
- export const ListPromptVersionsResponseFormat3$outboundSchema: z.ZodType<
733
- ListPromptVersionsResponseFormat3$Outbound,
842
+ export const ListPromptVersions13$outboundSchema: z.ZodType<
843
+ ListPromptVersions13$Outbound,
734
844
  z.ZodTypeDef,
735
- ListPromptVersionsResponseFormat3
845
+ ListPromptVersions13
736
846
  > = z.object({
737
- type: ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema,
847
+ type: ListPromptVersions1PromptsResponseType$outboundSchema,
738
848
  });
739
849
 
740
850
  /**
741
851
  * @internal
742
852
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
743
853
  */
744
- export namespace ListPromptVersionsResponseFormat3$ {
745
- /** @deprecated use `ListPromptVersionsResponseFormat3$inboundSchema` instead. */
746
- export const inboundSchema = ListPromptVersionsResponseFormat3$inboundSchema;
747
- /** @deprecated use `ListPromptVersionsResponseFormat3$outboundSchema` instead. */
748
- export const outboundSchema =
749
- ListPromptVersionsResponseFormat3$outboundSchema;
750
- /** @deprecated use `ListPromptVersionsResponseFormat3$Outbound` instead. */
751
- export type Outbound = ListPromptVersionsResponseFormat3$Outbound;
854
+ export namespace ListPromptVersions13$ {
855
+ /** @deprecated use `ListPromptVersions13$inboundSchema` instead. */
856
+ export const inboundSchema = ListPromptVersions13$inboundSchema;
857
+ /** @deprecated use `ListPromptVersions13$outboundSchema` instead. */
858
+ export const outboundSchema = ListPromptVersions13$outboundSchema;
859
+ /** @deprecated use `ListPromptVersions13$Outbound` instead. */
860
+ export type Outbound = ListPromptVersions13$Outbound;
752
861
  }
753
862
 
754
- export function listPromptVersionsResponseFormat3ToJSON(
755
- listPromptVersionsResponseFormat3: ListPromptVersionsResponseFormat3,
863
+ export function listPromptVersions13ToJSON(
864
+ listPromptVersions13: ListPromptVersions13,
756
865
  ): string {
757
866
  return JSON.stringify(
758
- ListPromptVersionsResponseFormat3$outboundSchema.parse(
759
- listPromptVersionsResponseFormat3,
760
- ),
867
+ ListPromptVersions13$outboundSchema.parse(listPromptVersions13),
761
868
  );
762
869
  }
763
870
 
764
- export function listPromptVersionsResponseFormat3FromJSON(
871
+ export function listPromptVersions13FromJSON(
765
872
  jsonString: string,
766
- ): SafeParseResult<ListPromptVersionsResponseFormat3, SDKValidationError> {
873
+ ): SafeParseResult<ListPromptVersions13, SDKValidationError> {
767
874
  return safeParse(
768
875
  jsonString,
769
- (x) => ListPromptVersionsResponseFormat3$inboundSchema.parse(JSON.parse(x)),
770
- `Failed to parse 'ListPromptVersionsResponseFormat3' from JSON`,
876
+ (x) => ListPromptVersions13$inboundSchema.parse(JSON.parse(x)),
877
+ `Failed to parse 'ListPromptVersions13' from JSON`,
771
878
  );
772
879
  }
773
880
 
774
881
  /** @internal */
775
- export const ListPromptVersionsResponseFormatPromptsType$inboundSchema:
776
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsType> = z
777
- .nativeEnum(ListPromptVersionsResponseFormatPromptsType);
882
+ export const ListPromptVersions1PromptsType$inboundSchema: z.ZodNativeEnum<
883
+ typeof ListPromptVersions1PromptsType
884
+ > = z.nativeEnum(ListPromptVersions1PromptsType);
778
885
 
779
886
  /** @internal */
780
- export const ListPromptVersionsResponseFormatPromptsType$outboundSchema:
781
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsType> =
782
- ListPromptVersionsResponseFormatPromptsType$inboundSchema;
887
+ export const ListPromptVersions1PromptsType$outboundSchema: z.ZodNativeEnum<
888
+ typeof ListPromptVersions1PromptsType
889
+ > = ListPromptVersions1PromptsType$inboundSchema;
783
890
 
784
891
  /**
785
892
  * @internal
786
893
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
787
894
  */
788
- export namespace ListPromptVersionsResponseFormatPromptsType$ {
789
- /** @deprecated use `ListPromptVersionsResponseFormatPromptsType$inboundSchema` instead. */
790
- export const inboundSchema =
791
- ListPromptVersionsResponseFormatPromptsType$inboundSchema;
792
- /** @deprecated use `ListPromptVersionsResponseFormatPromptsType$outboundSchema` instead. */
793
- export const outboundSchema =
794
- ListPromptVersionsResponseFormatPromptsType$outboundSchema;
895
+ export namespace ListPromptVersions1PromptsType$ {
896
+ /** @deprecated use `ListPromptVersions1PromptsType$inboundSchema` instead. */
897
+ export const inboundSchema = ListPromptVersions1PromptsType$inboundSchema;
898
+ /** @deprecated use `ListPromptVersions1PromptsType$outboundSchema` instead. */
899
+ export const outboundSchema = ListPromptVersions1PromptsType$outboundSchema;
795
900
  }
796
901
 
797
902
  /** @internal */
798
- export const ListPromptVersionsResponseFormat2$inboundSchema: z.ZodType<
799
- ListPromptVersionsResponseFormat2,
903
+ export const ListPromptVersions12$inboundSchema: z.ZodType<
904
+ ListPromptVersions12,
800
905
  z.ZodTypeDef,
801
906
  unknown
802
907
  > = z.object({
803
- type: ListPromptVersionsResponseFormatPromptsType$inboundSchema,
908
+ type: ListPromptVersions1PromptsType$inboundSchema,
804
909
  });
805
910
 
806
911
  /** @internal */
807
- export type ListPromptVersionsResponseFormat2$Outbound = {
912
+ export type ListPromptVersions12$Outbound = {
808
913
  type: string;
809
914
  };
810
915
 
811
916
  /** @internal */
812
- export const ListPromptVersionsResponseFormat2$outboundSchema: z.ZodType<
813
- ListPromptVersionsResponseFormat2$Outbound,
917
+ export const ListPromptVersions12$outboundSchema: z.ZodType<
918
+ ListPromptVersions12$Outbound,
814
919
  z.ZodTypeDef,
815
- ListPromptVersionsResponseFormat2
920
+ ListPromptVersions12
816
921
  > = z.object({
817
- type: ListPromptVersionsResponseFormatPromptsType$outboundSchema,
922
+ type: ListPromptVersions1PromptsType$outboundSchema,
818
923
  });
819
924
 
820
925
  /**
821
926
  * @internal
822
927
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
823
928
  */
824
- export namespace ListPromptVersionsResponseFormat2$ {
825
- /** @deprecated use `ListPromptVersionsResponseFormat2$inboundSchema` instead. */
826
- export const inboundSchema = ListPromptVersionsResponseFormat2$inboundSchema;
827
- /** @deprecated use `ListPromptVersionsResponseFormat2$outboundSchema` instead. */
828
- export const outboundSchema =
829
- ListPromptVersionsResponseFormat2$outboundSchema;
830
- /** @deprecated use `ListPromptVersionsResponseFormat2$Outbound` instead. */
831
- export type Outbound = ListPromptVersionsResponseFormat2$Outbound;
929
+ export namespace ListPromptVersions12$ {
930
+ /** @deprecated use `ListPromptVersions12$inboundSchema` instead. */
931
+ export const inboundSchema = ListPromptVersions12$inboundSchema;
932
+ /** @deprecated use `ListPromptVersions12$outboundSchema` instead. */
933
+ export const outboundSchema = ListPromptVersions12$outboundSchema;
934
+ /** @deprecated use `ListPromptVersions12$Outbound` instead. */
935
+ export type Outbound = ListPromptVersions12$Outbound;
832
936
  }
833
937
 
834
- export function listPromptVersionsResponseFormat2ToJSON(
835
- listPromptVersionsResponseFormat2: ListPromptVersionsResponseFormat2,
938
+ export function listPromptVersions12ToJSON(
939
+ listPromptVersions12: ListPromptVersions12,
836
940
  ): string {
837
941
  return JSON.stringify(
838
- ListPromptVersionsResponseFormat2$outboundSchema.parse(
839
- listPromptVersionsResponseFormat2,
840
- ),
942
+ ListPromptVersions12$outboundSchema.parse(listPromptVersions12),
841
943
  );
842
944
  }
843
945
 
844
- export function listPromptVersionsResponseFormat2FromJSON(
946
+ export function listPromptVersions12FromJSON(
845
947
  jsonString: string,
846
- ): SafeParseResult<ListPromptVersionsResponseFormat2, SDKValidationError> {
948
+ ): SafeParseResult<ListPromptVersions12, SDKValidationError> {
847
949
  return safeParse(
848
950
  jsonString,
849
- (x) => ListPromptVersionsResponseFormat2$inboundSchema.parse(JSON.parse(x)),
850
- `Failed to parse 'ListPromptVersionsResponseFormat2' from JSON`,
951
+ (x) => ListPromptVersions12$inboundSchema.parse(JSON.parse(x)),
952
+ `Failed to parse 'ListPromptVersions12' from JSON`,
851
953
  );
852
954
  }
853
955
 
854
956
  /** @internal */
855
- export const ListPromptVersionsResponseFormatType$inboundSchema:
856
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatType> = z.nativeEnum(
857
- ListPromptVersionsResponseFormatType,
858
- );
957
+ export const ListPromptVersions1Type$inboundSchema: z.ZodNativeEnum<
958
+ typeof ListPromptVersions1Type
959
+ > = z.nativeEnum(ListPromptVersions1Type);
859
960
 
860
961
  /** @internal */
861
- export const ListPromptVersionsResponseFormatType$outboundSchema:
862
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatType> =
863
- ListPromptVersionsResponseFormatType$inboundSchema;
962
+ export const ListPromptVersions1Type$outboundSchema: z.ZodNativeEnum<
963
+ typeof ListPromptVersions1Type
964
+ > = ListPromptVersions1Type$inboundSchema;
864
965
 
865
966
  /**
866
967
  * @internal
867
968
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
868
969
  */
869
- export namespace ListPromptVersionsResponseFormatType$ {
870
- /** @deprecated use `ListPromptVersionsResponseFormatType$inboundSchema` instead. */
871
- export const inboundSchema =
872
- ListPromptVersionsResponseFormatType$inboundSchema;
873
- /** @deprecated use `ListPromptVersionsResponseFormatType$outboundSchema` instead. */
874
- export const outboundSchema =
875
- ListPromptVersionsResponseFormatType$outboundSchema;
970
+ export namespace ListPromptVersions1Type$ {
971
+ /** @deprecated use `ListPromptVersions1Type$inboundSchema` instead. */
972
+ export const inboundSchema = ListPromptVersions1Type$inboundSchema;
973
+ /** @deprecated use `ListPromptVersions1Type$outboundSchema` instead. */
974
+ export const outboundSchema = ListPromptVersions1Type$outboundSchema;
876
975
  }
877
976
 
878
977
  /** @internal */
879
- export const ListPromptVersionsResponseFormatJsonSchema$inboundSchema:
880
- z.ZodType<ListPromptVersionsResponseFormatJsonSchema, z.ZodTypeDef, unknown> =
881
- z.object({
882
- name: z.string(),
883
- strict: z.boolean().optional(),
884
- schema: z.record(z.any()),
885
- });
978
+ export const ListPromptVersions1JsonSchema$inboundSchema: z.ZodType<
979
+ ListPromptVersions1JsonSchema,
980
+ z.ZodTypeDef,
981
+ unknown
982
+ > = z.object({
983
+ name: z.string(),
984
+ strict: z.boolean().optional(),
985
+ schema: z.record(z.any()),
986
+ });
886
987
 
887
988
  /** @internal */
888
- export type ListPromptVersionsResponseFormatJsonSchema$Outbound = {
989
+ export type ListPromptVersions1JsonSchema$Outbound = {
889
990
  name: string;
890
991
  strict?: boolean | undefined;
891
992
  schema: { [k: string]: any };
892
993
  };
893
994
 
894
995
  /** @internal */
895
- export const ListPromptVersionsResponseFormatJsonSchema$outboundSchema:
896
- z.ZodType<
897
- ListPromptVersionsResponseFormatJsonSchema$Outbound,
898
- z.ZodTypeDef,
899
- ListPromptVersionsResponseFormatJsonSchema
900
- > = z.object({
901
- name: z.string(),
902
- strict: z.boolean().optional(),
903
- schema: z.record(z.any()),
904
- });
996
+ export const ListPromptVersions1JsonSchema$outboundSchema: z.ZodType<
997
+ ListPromptVersions1JsonSchema$Outbound,
998
+ z.ZodTypeDef,
999
+ ListPromptVersions1JsonSchema
1000
+ > = z.object({
1001
+ name: z.string(),
1002
+ strict: z.boolean().optional(),
1003
+ schema: z.record(z.any()),
1004
+ });
905
1005
 
906
1006
  /**
907
1007
  * @internal
908
1008
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
909
1009
  */
910
- export namespace ListPromptVersionsResponseFormatJsonSchema$ {
911
- /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$inboundSchema` instead. */
912
- export const inboundSchema =
913
- ListPromptVersionsResponseFormatJsonSchema$inboundSchema;
914
- /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$outboundSchema` instead. */
915
- export const outboundSchema =
916
- ListPromptVersionsResponseFormatJsonSchema$outboundSchema;
917
- /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$Outbound` instead. */
918
- export type Outbound = ListPromptVersionsResponseFormatJsonSchema$Outbound;
1010
+ export namespace ListPromptVersions1JsonSchema$ {
1011
+ /** @deprecated use `ListPromptVersions1JsonSchema$inboundSchema` instead. */
1012
+ export const inboundSchema = ListPromptVersions1JsonSchema$inboundSchema;
1013
+ /** @deprecated use `ListPromptVersions1JsonSchema$outboundSchema` instead. */
1014
+ export const outboundSchema = ListPromptVersions1JsonSchema$outboundSchema;
1015
+ /** @deprecated use `ListPromptVersions1JsonSchema$Outbound` instead. */
1016
+ export type Outbound = ListPromptVersions1JsonSchema$Outbound;
919
1017
  }
920
1018
 
921
- export function listPromptVersionsResponseFormatJsonSchemaToJSON(
922
- listPromptVersionsResponseFormatJsonSchema:
923
- ListPromptVersionsResponseFormatJsonSchema,
1019
+ export function listPromptVersions1JsonSchemaToJSON(
1020
+ listPromptVersions1JsonSchema: ListPromptVersions1JsonSchema,
924
1021
  ): string {
925
1022
  return JSON.stringify(
926
- ListPromptVersionsResponseFormatJsonSchema$outboundSchema.parse(
927
- listPromptVersionsResponseFormatJsonSchema,
1023
+ ListPromptVersions1JsonSchema$outboundSchema.parse(
1024
+ listPromptVersions1JsonSchema,
928
1025
  ),
929
1026
  );
930
1027
  }
931
1028
 
932
- export function listPromptVersionsResponseFormatJsonSchemaFromJSON(
1029
+ export function listPromptVersions1JsonSchemaFromJSON(
933
1030
  jsonString: string,
934
- ): SafeParseResult<
935
- ListPromptVersionsResponseFormatJsonSchema,
936
- SDKValidationError
937
- > {
1031
+ ): SafeParseResult<ListPromptVersions1JsonSchema, SDKValidationError> {
938
1032
  return safeParse(
939
1033
  jsonString,
940
- (x) =>
941
- ListPromptVersionsResponseFormatJsonSchema$inboundSchema.parse(
942
- JSON.parse(x),
943
- ),
944
- `Failed to parse 'ListPromptVersionsResponseFormatJsonSchema' from JSON`,
1034
+ (x) => ListPromptVersions1JsonSchema$inboundSchema.parse(JSON.parse(x)),
1035
+ `Failed to parse 'ListPromptVersions1JsonSchema' from JSON`,
945
1036
  );
946
1037
  }
947
1038
 
948
1039
  /** @internal */
949
- export const ListPromptVersionsResponseFormat1$inboundSchema: z.ZodType<
950
- ListPromptVersionsResponseFormat1,
1040
+ export const ListPromptVersions11$inboundSchema: z.ZodType<
1041
+ ListPromptVersions11,
951
1042
  z.ZodTypeDef,
952
1043
  unknown
953
1044
  > = z.object({
954
- type: ListPromptVersionsResponseFormatType$inboundSchema,
955
- json_schema: z.lazy(() =>
956
- ListPromptVersionsResponseFormatJsonSchema$inboundSchema
957
- ),
1045
+ type: ListPromptVersions1Type$inboundSchema,
1046
+ json_schema: z.lazy(() => ListPromptVersions1JsonSchema$inboundSchema),
958
1047
  }).transform((v) => {
959
1048
  return remap$(v, {
960
1049
  "json_schema": "jsonSchema",
@@ -962,27 +1051,84 @@ export const ListPromptVersionsResponseFormat1$inboundSchema: z.ZodType<
962
1051
  });
963
1052
 
964
1053
  /** @internal */
965
- export type ListPromptVersionsResponseFormat1$Outbound = {
1054
+ export type ListPromptVersions11$Outbound = {
966
1055
  type: string;
967
- json_schema: ListPromptVersionsResponseFormatJsonSchema$Outbound;
1056
+ json_schema: ListPromptVersions1JsonSchema$Outbound;
968
1057
  };
969
1058
 
970
1059
  /** @internal */
971
- export const ListPromptVersionsResponseFormat1$outboundSchema: z.ZodType<
972
- ListPromptVersionsResponseFormat1$Outbound,
1060
+ export const ListPromptVersions11$outboundSchema: z.ZodType<
1061
+ ListPromptVersions11$Outbound,
973
1062
  z.ZodTypeDef,
974
- ListPromptVersionsResponseFormat1
1063
+ ListPromptVersions11
975
1064
  > = z.object({
976
- type: ListPromptVersionsResponseFormatType$outboundSchema,
977
- jsonSchema: z.lazy(() =>
978
- ListPromptVersionsResponseFormatJsonSchema$outboundSchema
979
- ),
1065
+ type: ListPromptVersions1Type$outboundSchema,
1066
+ jsonSchema: z.lazy(() => ListPromptVersions1JsonSchema$outboundSchema),
980
1067
  }).transform((v) => {
981
1068
  return remap$(v, {
982
1069
  jsonSchema: "json_schema",
983
1070
  });
984
1071
  });
985
1072
 
1073
+ /**
1074
+ * @internal
1075
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1076
+ */
1077
+ export namespace ListPromptVersions11$ {
1078
+ /** @deprecated use `ListPromptVersions11$inboundSchema` instead. */
1079
+ export const inboundSchema = ListPromptVersions11$inboundSchema;
1080
+ /** @deprecated use `ListPromptVersions11$outboundSchema` instead. */
1081
+ export const outboundSchema = ListPromptVersions11$outboundSchema;
1082
+ /** @deprecated use `ListPromptVersions11$Outbound` instead. */
1083
+ export type Outbound = ListPromptVersions11$Outbound;
1084
+ }
1085
+
1086
+ export function listPromptVersions11ToJSON(
1087
+ listPromptVersions11: ListPromptVersions11,
1088
+ ): string {
1089
+ return JSON.stringify(
1090
+ ListPromptVersions11$outboundSchema.parse(listPromptVersions11),
1091
+ );
1092
+ }
1093
+
1094
+ export function listPromptVersions11FromJSON(
1095
+ jsonString: string,
1096
+ ): SafeParseResult<ListPromptVersions11, SDKValidationError> {
1097
+ return safeParse(
1098
+ jsonString,
1099
+ (x) => ListPromptVersions11$inboundSchema.parse(JSON.parse(x)),
1100
+ `Failed to parse 'ListPromptVersions11' from JSON`,
1101
+ );
1102
+ }
1103
+
1104
+ /** @internal */
1105
+ export const ListPromptVersionsResponseFormat1$inboundSchema: z.ZodType<
1106
+ ListPromptVersionsResponseFormat1,
1107
+ z.ZodTypeDef,
1108
+ unknown
1109
+ > = z.union([
1110
+ z.lazy(() => ListPromptVersions11$inboundSchema),
1111
+ z.lazy(() => ListPromptVersions12$inboundSchema),
1112
+ z.lazy(() => ListPromptVersions13$inboundSchema),
1113
+ ]);
1114
+
1115
+ /** @internal */
1116
+ export type ListPromptVersionsResponseFormat1$Outbound =
1117
+ | ListPromptVersions11$Outbound
1118
+ | ListPromptVersions12$Outbound
1119
+ | ListPromptVersions13$Outbound;
1120
+
1121
+ /** @internal */
1122
+ export const ListPromptVersionsResponseFormat1$outboundSchema: z.ZodType<
1123
+ ListPromptVersionsResponseFormat1$Outbound,
1124
+ z.ZodTypeDef,
1125
+ ListPromptVersionsResponseFormat1
1126
+ > = z.union([
1127
+ z.lazy(() => ListPromptVersions11$outboundSchema),
1128
+ z.lazy(() => ListPromptVersions12$outboundSchema),
1129
+ z.lazy(() => ListPromptVersions13$outboundSchema),
1130
+ ]);
1131
+
986
1132
  /**
987
1133
  * @internal
988
1134
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -1023,16 +1169,24 @@ export const ListPromptVersionsResponseFormat$inboundSchema: z.ZodType<
1023
1169
  z.ZodTypeDef,
1024
1170
  unknown
1025
1171
  > = z.union([
1026
- z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
1027
- z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
1028
- z.lazy(() => ListPromptVersionsResponseFormat3$inboundSchema),
1172
+ z.union([
1173
+ z.lazy(() => ListPromptVersions11$inboundSchema),
1174
+ z.lazy(() => ListPromptVersions12$inboundSchema),
1175
+ z.lazy(() => ListPromptVersions13$inboundSchema),
1176
+ ]),
1177
+ ListPromptVersionsResponseFormat2$inboundSchema,
1178
+ ListPromptVersionsResponseFormat3$inboundSchema,
1179
+ ListPromptVersionsResponseFormat4$inboundSchema,
1029
1180
  ]);
1030
1181
 
1031
1182
  /** @internal */
1032
1183
  export type ListPromptVersionsResponseFormat$Outbound =
1033
- | ListPromptVersionsResponseFormat1$Outbound
1034
- | ListPromptVersionsResponseFormat2$Outbound
1035
- | ListPromptVersionsResponseFormat3$Outbound;
1184
+ | ListPromptVersions11$Outbound
1185
+ | ListPromptVersions12$Outbound
1186
+ | ListPromptVersions13$Outbound
1187
+ | string
1188
+ | string
1189
+ | string;
1036
1190
 
1037
1191
  /** @internal */
1038
1192
  export const ListPromptVersionsResponseFormat$outboundSchema: z.ZodType<
@@ -1040,9 +1194,14 @@ export const ListPromptVersionsResponseFormat$outboundSchema: z.ZodType<
1040
1194
  z.ZodTypeDef,
1041
1195
  ListPromptVersionsResponseFormat
1042
1196
  > = z.union([
1043
- z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
1044
- z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
1045
- z.lazy(() => ListPromptVersionsResponseFormat3$outboundSchema),
1197
+ z.union([
1198
+ z.lazy(() => ListPromptVersions11$outboundSchema),
1199
+ z.lazy(() => ListPromptVersions12$outboundSchema),
1200
+ z.lazy(() => ListPromptVersions13$outboundSchema),
1201
+ ]),
1202
+ ListPromptVersionsResponseFormat2$outboundSchema,
1203
+ ListPromptVersionsResponseFormat3$outboundSchema,
1204
+ ListPromptVersionsResponseFormat4$outboundSchema,
1046
1205
  ]);
1047
1206
 
1048
1207
  /**
@@ -1184,9 +1343,14 @@ export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
1184
1343
  style: z.string().optional(),
1185
1344
  responseFormat: z.nullable(
1186
1345
  z.union([
1187
- z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
1188
- z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
1189
- z.lazy(() => ListPromptVersionsResponseFormat3$inboundSchema),
1346
+ z.union([
1347
+ z.lazy(() => ListPromptVersions11$inboundSchema),
1348
+ z.lazy(() => ListPromptVersions12$inboundSchema),
1349
+ z.lazy(() => ListPromptVersions13$inboundSchema),
1350
+ ]),
1351
+ ListPromptVersionsResponseFormat2$inboundSchema,
1352
+ ListPromptVersionsResponseFormat3$inboundSchema,
1353
+ ListPromptVersionsResponseFormat4$inboundSchema,
1190
1354
  ]),
1191
1355
  ).optional(),
1192
1356
  photoRealVersion: ListPromptVersionsPhotoRealVersion$inboundSchema.optional(),
@@ -1215,9 +1379,12 @@ export type ListPromptVersionsModelParameters$Outbound = {
1215
1379
  quality?: string | undefined;
1216
1380
  style?: string | undefined;
1217
1381
  responseFormat?:
1218
- | ListPromptVersionsResponseFormat1$Outbound
1219
- | ListPromptVersionsResponseFormat2$Outbound
1220
- | ListPromptVersionsResponseFormat3$Outbound
1382
+ | ListPromptVersions11$Outbound
1383
+ | ListPromptVersions12$Outbound
1384
+ | ListPromptVersions13$Outbound
1385
+ | string
1386
+ | string
1387
+ | string
1221
1388
  | null
1222
1389
  | undefined;
1223
1390
  photoRealVersion?: string | undefined;
@@ -1247,9 +1414,14 @@ export const ListPromptVersionsModelParameters$outboundSchema: z.ZodType<
1247
1414
  style: z.string().optional(),
1248
1415
  responseFormat: z.nullable(
1249
1416
  z.union([
1250
- z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
1251
- z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
1252
- z.lazy(() => ListPromptVersionsResponseFormat3$outboundSchema),
1417
+ z.union([
1418
+ z.lazy(() => ListPromptVersions11$outboundSchema),
1419
+ z.lazy(() => ListPromptVersions12$outboundSchema),
1420
+ z.lazy(() => ListPromptVersions13$outboundSchema),
1421
+ ]),
1422
+ ListPromptVersionsResponseFormat2$outboundSchema,
1423
+ ListPromptVersionsResponseFormat3$outboundSchema,
1424
+ ListPromptVersionsResponseFormat4$outboundSchema,
1253
1425
  ]),
1254
1426
  ).optional(),
1255
1427
  photoRealVersion: ListPromptVersionsPhotoRealVersion$outboundSchema