@orq-ai/node 3.12.16 → 3.12.19

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
@@ -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
@@ -249,9 +288,12 @@ export type ListPromptVersionsModelParameters = {
249
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.
250
289
  */
251
290
  responseFormat?:
252
- | ListPromptVersionsResponseFormat1
291
+ | ListPromptVersions11
292
+ | ListPromptVersions12
293
+ | ListPromptVersions13
253
294
  | ListPromptVersionsResponseFormat2
254
295
  | ListPromptVersionsResponseFormat3
296
+ | ListPromptVersionsResponseFormat4
255
297
  | null
256
298
  | undefined;
257
299
  /**
@@ -693,269 +735,315 @@ export namespace ListPromptVersionsFormat$ {
693
735
  }
694
736
 
695
737
  /** @internal */
696
- export const ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema:
697
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsResponseType> =
698
- 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);
699
763
 
700
764
  /** @internal */
701
- export const ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema:
702
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsResponseType> =
703
- ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema;
765
+ export const ListPromptVersionsResponseFormat3$outboundSchema: z.ZodNativeEnum<
766
+ typeof ListPromptVersionsResponseFormat3
767
+ > = ListPromptVersionsResponseFormat3$inboundSchema;
704
768
 
705
769
  /**
706
770
  * @internal
707
771
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
708
772
  */
709
- export namespace ListPromptVersionsResponseFormatPromptsResponseType$ {
710
- /** @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. */
711
820
  export const inboundSchema =
712
- ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema;
713
- /** @deprecated use `ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema` instead. */
821
+ ListPromptVersions1PromptsResponseType$inboundSchema;
822
+ /** @deprecated use `ListPromptVersions1PromptsResponseType$outboundSchema` instead. */
714
823
  export const outboundSchema =
715
- ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema;
824
+ ListPromptVersions1PromptsResponseType$outboundSchema;
716
825
  }
717
826
 
718
827
  /** @internal */
719
- export const ListPromptVersionsResponseFormat3$inboundSchema: z.ZodType<
720
- ListPromptVersionsResponseFormat3,
828
+ export const ListPromptVersions13$inboundSchema: z.ZodType<
829
+ ListPromptVersions13,
721
830
  z.ZodTypeDef,
722
831
  unknown
723
832
  > = z.object({
724
- type: ListPromptVersionsResponseFormatPromptsResponseType$inboundSchema,
833
+ type: ListPromptVersions1PromptsResponseType$inboundSchema,
725
834
  });
726
835
 
727
836
  /** @internal */
728
- export type ListPromptVersionsResponseFormat3$Outbound = {
837
+ export type ListPromptVersions13$Outbound = {
729
838
  type: string;
730
839
  };
731
840
 
732
841
  /** @internal */
733
- export const ListPromptVersionsResponseFormat3$outboundSchema: z.ZodType<
734
- ListPromptVersionsResponseFormat3$Outbound,
842
+ export const ListPromptVersions13$outboundSchema: z.ZodType<
843
+ ListPromptVersions13$Outbound,
735
844
  z.ZodTypeDef,
736
- ListPromptVersionsResponseFormat3
845
+ ListPromptVersions13
737
846
  > = z.object({
738
- type: ListPromptVersionsResponseFormatPromptsResponseType$outboundSchema,
847
+ type: ListPromptVersions1PromptsResponseType$outboundSchema,
739
848
  });
740
849
 
741
850
  /**
742
851
  * @internal
743
852
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
744
853
  */
745
- export namespace ListPromptVersionsResponseFormat3$ {
746
- /** @deprecated use `ListPromptVersionsResponseFormat3$inboundSchema` instead. */
747
- export const inboundSchema = ListPromptVersionsResponseFormat3$inboundSchema;
748
- /** @deprecated use `ListPromptVersionsResponseFormat3$outboundSchema` instead. */
749
- export const outboundSchema =
750
- ListPromptVersionsResponseFormat3$outboundSchema;
751
- /** @deprecated use `ListPromptVersionsResponseFormat3$Outbound` instead. */
752
- 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;
753
861
  }
754
862
 
755
- export function listPromptVersionsResponseFormat3ToJSON(
756
- listPromptVersionsResponseFormat3: ListPromptVersionsResponseFormat3,
863
+ export function listPromptVersions13ToJSON(
864
+ listPromptVersions13: ListPromptVersions13,
757
865
  ): string {
758
866
  return JSON.stringify(
759
- ListPromptVersionsResponseFormat3$outboundSchema.parse(
760
- listPromptVersionsResponseFormat3,
761
- ),
867
+ ListPromptVersions13$outboundSchema.parse(listPromptVersions13),
762
868
  );
763
869
  }
764
870
 
765
- export function listPromptVersionsResponseFormat3FromJSON(
871
+ export function listPromptVersions13FromJSON(
766
872
  jsonString: string,
767
- ): SafeParseResult<ListPromptVersionsResponseFormat3, SDKValidationError> {
873
+ ): SafeParseResult<ListPromptVersions13, SDKValidationError> {
768
874
  return safeParse(
769
875
  jsonString,
770
- (x) => ListPromptVersionsResponseFormat3$inboundSchema.parse(JSON.parse(x)),
771
- `Failed to parse 'ListPromptVersionsResponseFormat3' from JSON`,
876
+ (x) => ListPromptVersions13$inboundSchema.parse(JSON.parse(x)),
877
+ `Failed to parse 'ListPromptVersions13' from JSON`,
772
878
  );
773
879
  }
774
880
 
775
881
  /** @internal */
776
- export const ListPromptVersionsResponseFormatPromptsType$inboundSchema:
777
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsType> = z
778
- .nativeEnum(ListPromptVersionsResponseFormatPromptsType);
882
+ export const ListPromptVersions1PromptsType$inboundSchema: z.ZodNativeEnum<
883
+ typeof ListPromptVersions1PromptsType
884
+ > = z.nativeEnum(ListPromptVersions1PromptsType);
779
885
 
780
886
  /** @internal */
781
- export const ListPromptVersionsResponseFormatPromptsType$outboundSchema:
782
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatPromptsType> =
783
- ListPromptVersionsResponseFormatPromptsType$inboundSchema;
887
+ export const ListPromptVersions1PromptsType$outboundSchema: z.ZodNativeEnum<
888
+ typeof ListPromptVersions1PromptsType
889
+ > = ListPromptVersions1PromptsType$inboundSchema;
784
890
 
785
891
  /**
786
892
  * @internal
787
893
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
788
894
  */
789
- export namespace ListPromptVersionsResponseFormatPromptsType$ {
790
- /** @deprecated use `ListPromptVersionsResponseFormatPromptsType$inboundSchema` instead. */
791
- export const inboundSchema =
792
- ListPromptVersionsResponseFormatPromptsType$inboundSchema;
793
- /** @deprecated use `ListPromptVersionsResponseFormatPromptsType$outboundSchema` instead. */
794
- export const outboundSchema =
795
- 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;
796
900
  }
797
901
 
798
902
  /** @internal */
799
- export const ListPromptVersionsResponseFormat2$inboundSchema: z.ZodType<
800
- ListPromptVersionsResponseFormat2,
903
+ export const ListPromptVersions12$inboundSchema: z.ZodType<
904
+ ListPromptVersions12,
801
905
  z.ZodTypeDef,
802
906
  unknown
803
907
  > = z.object({
804
- type: ListPromptVersionsResponseFormatPromptsType$inboundSchema,
908
+ type: ListPromptVersions1PromptsType$inboundSchema,
805
909
  });
806
910
 
807
911
  /** @internal */
808
- export type ListPromptVersionsResponseFormat2$Outbound = {
912
+ export type ListPromptVersions12$Outbound = {
809
913
  type: string;
810
914
  };
811
915
 
812
916
  /** @internal */
813
- export const ListPromptVersionsResponseFormat2$outboundSchema: z.ZodType<
814
- ListPromptVersionsResponseFormat2$Outbound,
917
+ export const ListPromptVersions12$outboundSchema: z.ZodType<
918
+ ListPromptVersions12$Outbound,
815
919
  z.ZodTypeDef,
816
- ListPromptVersionsResponseFormat2
920
+ ListPromptVersions12
817
921
  > = z.object({
818
- type: ListPromptVersionsResponseFormatPromptsType$outboundSchema,
922
+ type: ListPromptVersions1PromptsType$outboundSchema,
819
923
  });
820
924
 
821
925
  /**
822
926
  * @internal
823
927
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
824
928
  */
825
- export namespace ListPromptVersionsResponseFormat2$ {
826
- /** @deprecated use `ListPromptVersionsResponseFormat2$inboundSchema` instead. */
827
- export const inboundSchema = ListPromptVersionsResponseFormat2$inboundSchema;
828
- /** @deprecated use `ListPromptVersionsResponseFormat2$outboundSchema` instead. */
829
- export const outboundSchema =
830
- ListPromptVersionsResponseFormat2$outboundSchema;
831
- /** @deprecated use `ListPromptVersionsResponseFormat2$Outbound` instead. */
832
- 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;
833
936
  }
834
937
 
835
- export function listPromptVersionsResponseFormat2ToJSON(
836
- listPromptVersionsResponseFormat2: ListPromptVersionsResponseFormat2,
938
+ export function listPromptVersions12ToJSON(
939
+ listPromptVersions12: ListPromptVersions12,
837
940
  ): string {
838
941
  return JSON.stringify(
839
- ListPromptVersionsResponseFormat2$outboundSchema.parse(
840
- listPromptVersionsResponseFormat2,
841
- ),
942
+ ListPromptVersions12$outboundSchema.parse(listPromptVersions12),
842
943
  );
843
944
  }
844
945
 
845
- export function listPromptVersionsResponseFormat2FromJSON(
946
+ export function listPromptVersions12FromJSON(
846
947
  jsonString: string,
847
- ): SafeParseResult<ListPromptVersionsResponseFormat2, SDKValidationError> {
948
+ ): SafeParseResult<ListPromptVersions12, SDKValidationError> {
848
949
  return safeParse(
849
950
  jsonString,
850
- (x) => ListPromptVersionsResponseFormat2$inboundSchema.parse(JSON.parse(x)),
851
- `Failed to parse 'ListPromptVersionsResponseFormat2' from JSON`,
951
+ (x) => ListPromptVersions12$inboundSchema.parse(JSON.parse(x)),
952
+ `Failed to parse 'ListPromptVersions12' from JSON`,
852
953
  );
853
954
  }
854
955
 
855
956
  /** @internal */
856
- export const ListPromptVersionsResponseFormatType$inboundSchema:
857
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatType> = z.nativeEnum(
858
- ListPromptVersionsResponseFormatType,
859
- );
957
+ export const ListPromptVersions1Type$inboundSchema: z.ZodNativeEnum<
958
+ typeof ListPromptVersions1Type
959
+ > = z.nativeEnum(ListPromptVersions1Type);
860
960
 
861
961
  /** @internal */
862
- export const ListPromptVersionsResponseFormatType$outboundSchema:
863
- z.ZodNativeEnum<typeof ListPromptVersionsResponseFormatType> =
864
- ListPromptVersionsResponseFormatType$inboundSchema;
962
+ export const ListPromptVersions1Type$outboundSchema: z.ZodNativeEnum<
963
+ typeof ListPromptVersions1Type
964
+ > = ListPromptVersions1Type$inboundSchema;
865
965
 
866
966
  /**
867
967
  * @internal
868
968
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
869
969
  */
870
- export namespace ListPromptVersionsResponseFormatType$ {
871
- /** @deprecated use `ListPromptVersionsResponseFormatType$inboundSchema` instead. */
872
- export const inboundSchema =
873
- ListPromptVersionsResponseFormatType$inboundSchema;
874
- /** @deprecated use `ListPromptVersionsResponseFormatType$outboundSchema` instead. */
875
- export const outboundSchema =
876
- 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;
877
975
  }
878
976
 
879
977
  /** @internal */
880
- export const ListPromptVersionsResponseFormatJsonSchema$inboundSchema:
881
- z.ZodType<ListPromptVersionsResponseFormatJsonSchema, z.ZodTypeDef, unknown> =
882
- z.object({
883
- name: z.string(),
884
- strict: z.boolean().optional(),
885
- schema: z.record(z.any()),
886
- });
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
+ });
887
987
 
888
988
  /** @internal */
889
- export type ListPromptVersionsResponseFormatJsonSchema$Outbound = {
989
+ export type ListPromptVersions1JsonSchema$Outbound = {
890
990
  name: string;
891
991
  strict?: boolean | undefined;
892
992
  schema: { [k: string]: any };
893
993
  };
894
994
 
895
995
  /** @internal */
896
- export const ListPromptVersionsResponseFormatJsonSchema$outboundSchema:
897
- z.ZodType<
898
- ListPromptVersionsResponseFormatJsonSchema$Outbound,
899
- z.ZodTypeDef,
900
- ListPromptVersionsResponseFormatJsonSchema
901
- > = z.object({
902
- name: z.string(),
903
- strict: z.boolean().optional(),
904
- schema: z.record(z.any()),
905
- });
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
+ });
906
1005
 
907
1006
  /**
908
1007
  * @internal
909
1008
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
910
1009
  */
911
- export namespace ListPromptVersionsResponseFormatJsonSchema$ {
912
- /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$inboundSchema` instead. */
913
- export const inboundSchema =
914
- ListPromptVersionsResponseFormatJsonSchema$inboundSchema;
915
- /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$outboundSchema` instead. */
916
- export const outboundSchema =
917
- ListPromptVersionsResponseFormatJsonSchema$outboundSchema;
918
- /** @deprecated use `ListPromptVersionsResponseFormatJsonSchema$Outbound` instead. */
919
- 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;
920
1017
  }
921
1018
 
922
- export function listPromptVersionsResponseFormatJsonSchemaToJSON(
923
- listPromptVersionsResponseFormatJsonSchema:
924
- ListPromptVersionsResponseFormatJsonSchema,
1019
+ export function listPromptVersions1JsonSchemaToJSON(
1020
+ listPromptVersions1JsonSchema: ListPromptVersions1JsonSchema,
925
1021
  ): string {
926
1022
  return JSON.stringify(
927
- ListPromptVersionsResponseFormatJsonSchema$outboundSchema.parse(
928
- listPromptVersionsResponseFormatJsonSchema,
1023
+ ListPromptVersions1JsonSchema$outboundSchema.parse(
1024
+ listPromptVersions1JsonSchema,
929
1025
  ),
930
1026
  );
931
1027
  }
932
1028
 
933
- export function listPromptVersionsResponseFormatJsonSchemaFromJSON(
1029
+ export function listPromptVersions1JsonSchemaFromJSON(
934
1030
  jsonString: string,
935
- ): SafeParseResult<
936
- ListPromptVersionsResponseFormatJsonSchema,
937
- SDKValidationError
938
- > {
1031
+ ): SafeParseResult<ListPromptVersions1JsonSchema, SDKValidationError> {
939
1032
  return safeParse(
940
1033
  jsonString,
941
- (x) =>
942
- ListPromptVersionsResponseFormatJsonSchema$inboundSchema.parse(
943
- JSON.parse(x),
944
- ),
945
- `Failed to parse 'ListPromptVersionsResponseFormatJsonSchema' from JSON`,
1034
+ (x) => ListPromptVersions1JsonSchema$inboundSchema.parse(JSON.parse(x)),
1035
+ `Failed to parse 'ListPromptVersions1JsonSchema' from JSON`,
946
1036
  );
947
1037
  }
948
1038
 
949
1039
  /** @internal */
950
- export const ListPromptVersionsResponseFormat1$inboundSchema: z.ZodType<
951
- ListPromptVersionsResponseFormat1,
1040
+ export const ListPromptVersions11$inboundSchema: z.ZodType<
1041
+ ListPromptVersions11,
952
1042
  z.ZodTypeDef,
953
1043
  unknown
954
1044
  > = z.object({
955
- type: ListPromptVersionsResponseFormatType$inboundSchema,
956
- json_schema: z.lazy(() =>
957
- ListPromptVersionsResponseFormatJsonSchema$inboundSchema
958
- ),
1045
+ type: ListPromptVersions1Type$inboundSchema,
1046
+ json_schema: z.lazy(() => ListPromptVersions1JsonSchema$inboundSchema),
959
1047
  }).transform((v) => {
960
1048
  return remap$(v, {
961
1049
  "json_schema": "jsonSchema",
@@ -963,27 +1051,84 @@ export const ListPromptVersionsResponseFormat1$inboundSchema: z.ZodType<
963
1051
  });
964
1052
 
965
1053
  /** @internal */
966
- export type ListPromptVersionsResponseFormat1$Outbound = {
1054
+ export type ListPromptVersions11$Outbound = {
967
1055
  type: string;
968
- json_schema: ListPromptVersionsResponseFormatJsonSchema$Outbound;
1056
+ json_schema: ListPromptVersions1JsonSchema$Outbound;
969
1057
  };
970
1058
 
971
1059
  /** @internal */
972
- export const ListPromptVersionsResponseFormat1$outboundSchema: z.ZodType<
973
- ListPromptVersionsResponseFormat1$Outbound,
1060
+ export const ListPromptVersions11$outboundSchema: z.ZodType<
1061
+ ListPromptVersions11$Outbound,
974
1062
  z.ZodTypeDef,
975
- ListPromptVersionsResponseFormat1
1063
+ ListPromptVersions11
976
1064
  > = z.object({
977
- type: ListPromptVersionsResponseFormatType$outboundSchema,
978
- jsonSchema: z.lazy(() =>
979
- ListPromptVersionsResponseFormatJsonSchema$outboundSchema
980
- ),
1065
+ type: ListPromptVersions1Type$outboundSchema,
1066
+ jsonSchema: z.lazy(() => ListPromptVersions1JsonSchema$outboundSchema),
981
1067
  }).transform((v) => {
982
1068
  return remap$(v, {
983
1069
  jsonSchema: "json_schema",
984
1070
  });
985
1071
  });
986
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
+
987
1132
  /**
988
1133
  * @internal
989
1134
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -1024,16 +1169,24 @@ export const ListPromptVersionsResponseFormat$inboundSchema: z.ZodType<
1024
1169
  z.ZodTypeDef,
1025
1170
  unknown
1026
1171
  > = z.union([
1027
- z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
1028
- z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
1029
- 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,
1030
1180
  ]);
1031
1181
 
1032
1182
  /** @internal */
1033
1183
  export type ListPromptVersionsResponseFormat$Outbound =
1034
- | ListPromptVersionsResponseFormat1$Outbound
1035
- | ListPromptVersionsResponseFormat2$Outbound
1036
- | ListPromptVersionsResponseFormat3$Outbound;
1184
+ | ListPromptVersions11$Outbound
1185
+ | ListPromptVersions12$Outbound
1186
+ | ListPromptVersions13$Outbound
1187
+ | string
1188
+ | string
1189
+ | string;
1037
1190
 
1038
1191
  /** @internal */
1039
1192
  export const ListPromptVersionsResponseFormat$outboundSchema: z.ZodType<
@@ -1041,9 +1194,14 @@ export const ListPromptVersionsResponseFormat$outboundSchema: z.ZodType<
1041
1194
  z.ZodTypeDef,
1042
1195
  ListPromptVersionsResponseFormat
1043
1196
  > = z.union([
1044
- z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
1045
- z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
1046
- 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,
1047
1205
  ]);
1048
1206
 
1049
1207
  /**
@@ -1185,9 +1343,14 @@ export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
1185
1343
  style: z.string().optional(),
1186
1344
  responseFormat: z.nullable(
1187
1345
  z.union([
1188
- z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
1189
- z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
1190
- 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,
1191
1354
  ]),
1192
1355
  ).optional(),
1193
1356
  photoRealVersion: ListPromptVersionsPhotoRealVersion$inboundSchema.optional(),
@@ -1216,9 +1379,12 @@ export type ListPromptVersionsModelParameters$Outbound = {
1216
1379
  quality?: string | undefined;
1217
1380
  style?: string | undefined;
1218
1381
  responseFormat?:
1219
- | ListPromptVersionsResponseFormat1$Outbound
1220
- | ListPromptVersionsResponseFormat2$Outbound
1221
- | ListPromptVersionsResponseFormat3$Outbound
1382
+ | ListPromptVersions11$Outbound
1383
+ | ListPromptVersions12$Outbound
1384
+ | ListPromptVersions13$Outbound
1385
+ | string
1386
+ | string
1387
+ | string
1222
1388
  | null
1223
1389
  | undefined;
1224
1390
  photoRealVersion?: string | undefined;
@@ -1248,9 +1414,14 @@ export const ListPromptVersionsModelParameters$outboundSchema: z.ZodType<
1248
1414
  style: z.string().optional(),
1249
1415
  responseFormat: z.nullable(
1250
1416
  z.union([
1251
- z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
1252
- z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
1253
- 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,
1254
1425
  ]),
1255
1426
  ).optional(),
1256
1427
  photoRealVersion: ListPromptVersionsPhotoRealVersion$outboundSchema