@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.
- package/README.md +1 -4
- package/bin/mcp-server.js +113 -113
- package/bin/mcp-server.js.map +31 -31
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/url.js +1 -1
- package/lib/url.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/README.md +108 -94
- package/packages/orq-rc/docs/sdks/agents/README.md +8 -2
- package/packages/orq-rc/docs/sdks/evals/README.md +2 -0
- package/packages/orq-rc/docs/sdks/tools/README.md +488 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/toolsCreate.ts +163 -0
- package/packages/orq-rc/src/funcs/toolsDelete.ts +167 -0
- package/packages/orq-rc/src/funcs/toolsDuplicate.ts +175 -0
- package/packages/orq-rc/src/funcs/toolsList.ts +176 -0
- package/packages/orq-rc/src/funcs/toolsRetrieve.ts +166 -0
- package/packages/orq-rc/src/funcs/toolsUpdate.ts +176 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/url.ts +1 -1
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +13 -1
- package/packages/orq-rc/src/mcp-server/tools/toolsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsDelete.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsDuplicate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsList.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsUpdate.ts +37 -0
- package/packages/orq-rc/src/models/components/callsubagenttool.ts +109 -0
- package/packages/orq-rc/src/models/components/codeexecutiontool.ts +293 -0
- package/packages/orq-rc/src/models/components/currentdatetool.ts +107 -0
- package/packages/orq-rc/src/models/components/deployments.ts +52 -45
- package/packages/orq-rc/src/models/components/functiontool.ts +195 -0
- package/packages/orq-rc/src/models/components/googlesearchtool.ts +108 -0
- package/packages/orq-rc/src/models/components/httptool.ts +532 -0
- package/packages/orq-rc/src/models/components/index.ts +13 -0
- package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +111 -0
- package/packages/orq-rc/src/models/components/querymemorystoretool.ts +111 -0
- package/packages/orq-rc/src/models/components/retrieveagentstool.ts +109 -0
- package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +111 -0
- package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +111 -0
- package/packages/orq-rc/src/models/components/webscrapertool.ts +105 -0
- package/packages/orq-rc/src/models/components/writememorystoretool.ts +111 -0
- package/packages/orq-rc/src/models/errors/duplicatetool.ts +91 -0
- package/packages/orq-rc/src/models/errors/index.ts +2 -0
- package/packages/orq-rc/src/models/errors/updatetool.ts +91 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +10 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +199 -56
- package/packages/orq-rc/src/models/operations/createknowledge.ts +18 -0
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +137 -136
- package/packages/orq-rc/src/models/operations/createprompt.ts +633 -314
- package/packages/orq-rc/src/models/operations/createtool.ts +4027 -0
- package/packages/orq-rc/src/models/operations/deletetool.ts +75 -0
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +8 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +363 -194
- package/packages/orq-rc/src/models/operations/deployments.ts +330 -160
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +8 -6
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +2311 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +10 -10
- package/packages/orq-rc/src/models/operations/getallprompts.ts +334 -168
- package/packages/orq-rc/src/models/operations/getalltools.ts +2278 -0
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +9 -0
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +330 -167
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +338 -168
- package/packages/orq-rc/src/models/operations/index.ts +6 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +10 -10
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +6 -5
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +9 -0
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +355 -183
- package/packages/orq-rc/src/models/operations/parse.ts +20 -335
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +6 -5
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +2303 -0
- package/packages/orq-rc/src/models/operations/runagent.ts +428 -1384
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +2 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +409 -1452
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +10 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +210 -57
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +18 -0
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +136 -168
- package/packages/orq-rc/src/models/operations/updateprompt.ts +670 -335
- package/packages/orq-rc/src/models/operations/updatetool.ts +4231 -0
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/packages/orq-rc/src/sdk/tools.ts +117 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/url.ts +1 -1
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- 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
|
|
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
|
|
76
|
-
typeof
|
|
79
|
+
export type ListPromptVersionsResponseFormat4 = ClosedEnum<
|
|
80
|
+
typeof ListPromptVersionsResponseFormat4
|
|
77
81
|
>;
|
|
78
82
|
|
|
79
|
-
export
|
|
80
|
-
|
|
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
|
|
114
|
+
export const ListPromptVersions1PromptsType = {
|
|
84
115
|
JsonObject: "json_object",
|
|
85
116
|
} as const;
|
|
86
|
-
export type
|
|
87
|
-
typeof
|
|
117
|
+
export type ListPromptVersions1PromptsType = ClosedEnum<
|
|
118
|
+
typeof ListPromptVersions1PromptsType
|
|
88
119
|
>;
|
|
89
120
|
|
|
90
|
-
export type
|
|
91
|
-
type:
|
|
121
|
+
export type ListPromptVersions12 = {
|
|
122
|
+
type: ListPromptVersions1PromptsType;
|
|
92
123
|
};
|
|
93
124
|
|
|
94
|
-
export const
|
|
125
|
+
export const ListPromptVersions1Type = {
|
|
95
126
|
JsonSchema: "json_schema",
|
|
96
127
|
} as const;
|
|
97
|
-
export type
|
|
98
|
-
typeof
|
|
128
|
+
export type ListPromptVersions1Type = ClosedEnum<
|
|
129
|
+
typeof ListPromptVersions1Type
|
|
99
130
|
>;
|
|
100
131
|
|
|
101
|
-
export type
|
|
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
|
|
108
|
-
type:
|
|
109
|
-
jsonSchema:
|
|
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
|
-
|
|
|
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
|
-
|
|
|
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
|
|
696
|
-
|
|
697
|
-
|
|
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
|
|
701
|
-
|
|
702
|
-
|
|
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
|
|
709
|
-
/** @deprecated use `
|
|
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
|
-
|
|
712
|
-
/** @deprecated use `
|
|
821
|
+
ListPromptVersions1PromptsResponseType$inboundSchema;
|
|
822
|
+
/** @deprecated use `ListPromptVersions1PromptsResponseType$outboundSchema` instead. */
|
|
713
823
|
export const outboundSchema =
|
|
714
|
-
|
|
824
|
+
ListPromptVersions1PromptsResponseType$outboundSchema;
|
|
715
825
|
}
|
|
716
826
|
|
|
717
827
|
/** @internal */
|
|
718
|
-
export const
|
|
719
|
-
|
|
828
|
+
export const ListPromptVersions13$inboundSchema: z.ZodType<
|
|
829
|
+
ListPromptVersions13,
|
|
720
830
|
z.ZodTypeDef,
|
|
721
831
|
unknown
|
|
722
832
|
> = z.object({
|
|
723
|
-
type:
|
|
833
|
+
type: ListPromptVersions1PromptsResponseType$inboundSchema,
|
|
724
834
|
});
|
|
725
835
|
|
|
726
836
|
/** @internal */
|
|
727
|
-
export type
|
|
837
|
+
export type ListPromptVersions13$Outbound = {
|
|
728
838
|
type: string;
|
|
729
839
|
};
|
|
730
840
|
|
|
731
841
|
/** @internal */
|
|
732
|
-
export const
|
|
733
|
-
|
|
842
|
+
export const ListPromptVersions13$outboundSchema: z.ZodType<
|
|
843
|
+
ListPromptVersions13$Outbound,
|
|
734
844
|
z.ZodTypeDef,
|
|
735
|
-
|
|
845
|
+
ListPromptVersions13
|
|
736
846
|
> = z.object({
|
|
737
|
-
type:
|
|
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
|
|
745
|
-
/** @deprecated use `
|
|
746
|
-
export const inboundSchema =
|
|
747
|
-
/** @deprecated use `
|
|
748
|
-
export const outboundSchema =
|
|
749
|
-
|
|
750
|
-
|
|
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
|
|
755
|
-
|
|
863
|
+
export function listPromptVersions13ToJSON(
|
|
864
|
+
listPromptVersions13: ListPromptVersions13,
|
|
756
865
|
): string {
|
|
757
866
|
return JSON.stringify(
|
|
758
|
-
|
|
759
|
-
listPromptVersionsResponseFormat3,
|
|
760
|
-
),
|
|
867
|
+
ListPromptVersions13$outboundSchema.parse(listPromptVersions13),
|
|
761
868
|
);
|
|
762
869
|
}
|
|
763
870
|
|
|
764
|
-
export function
|
|
871
|
+
export function listPromptVersions13FromJSON(
|
|
765
872
|
jsonString: string,
|
|
766
|
-
): SafeParseResult<
|
|
873
|
+
): SafeParseResult<ListPromptVersions13, SDKValidationError> {
|
|
767
874
|
return safeParse(
|
|
768
875
|
jsonString,
|
|
769
|
-
(x) =>
|
|
770
|
-
`Failed to parse '
|
|
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
|
|
776
|
-
|
|
777
|
-
|
|
882
|
+
export const ListPromptVersions1PromptsType$inboundSchema: z.ZodNativeEnum<
|
|
883
|
+
typeof ListPromptVersions1PromptsType
|
|
884
|
+
> = z.nativeEnum(ListPromptVersions1PromptsType);
|
|
778
885
|
|
|
779
886
|
/** @internal */
|
|
780
|
-
export const
|
|
781
|
-
|
|
782
|
-
|
|
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
|
|
789
|
-
/** @deprecated use `
|
|
790
|
-
export const inboundSchema =
|
|
791
|
-
|
|
792
|
-
|
|
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
|
|
799
|
-
|
|
903
|
+
export const ListPromptVersions12$inboundSchema: z.ZodType<
|
|
904
|
+
ListPromptVersions12,
|
|
800
905
|
z.ZodTypeDef,
|
|
801
906
|
unknown
|
|
802
907
|
> = z.object({
|
|
803
|
-
type:
|
|
908
|
+
type: ListPromptVersions1PromptsType$inboundSchema,
|
|
804
909
|
});
|
|
805
910
|
|
|
806
911
|
/** @internal */
|
|
807
|
-
export type
|
|
912
|
+
export type ListPromptVersions12$Outbound = {
|
|
808
913
|
type: string;
|
|
809
914
|
};
|
|
810
915
|
|
|
811
916
|
/** @internal */
|
|
812
|
-
export const
|
|
813
|
-
|
|
917
|
+
export const ListPromptVersions12$outboundSchema: z.ZodType<
|
|
918
|
+
ListPromptVersions12$Outbound,
|
|
814
919
|
z.ZodTypeDef,
|
|
815
|
-
|
|
920
|
+
ListPromptVersions12
|
|
816
921
|
> = z.object({
|
|
817
|
-
type:
|
|
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
|
|
825
|
-
/** @deprecated use `
|
|
826
|
-
export const inboundSchema =
|
|
827
|
-
/** @deprecated use `
|
|
828
|
-
export const outboundSchema =
|
|
829
|
-
|
|
830
|
-
|
|
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
|
|
835
|
-
|
|
938
|
+
export function listPromptVersions12ToJSON(
|
|
939
|
+
listPromptVersions12: ListPromptVersions12,
|
|
836
940
|
): string {
|
|
837
941
|
return JSON.stringify(
|
|
838
|
-
|
|
839
|
-
listPromptVersionsResponseFormat2,
|
|
840
|
-
),
|
|
942
|
+
ListPromptVersions12$outboundSchema.parse(listPromptVersions12),
|
|
841
943
|
);
|
|
842
944
|
}
|
|
843
945
|
|
|
844
|
-
export function
|
|
946
|
+
export function listPromptVersions12FromJSON(
|
|
845
947
|
jsonString: string,
|
|
846
|
-
): SafeParseResult<
|
|
948
|
+
): SafeParseResult<ListPromptVersions12, SDKValidationError> {
|
|
847
949
|
return safeParse(
|
|
848
950
|
jsonString,
|
|
849
|
-
(x) =>
|
|
850
|
-
`Failed to parse '
|
|
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
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
);
|
|
957
|
+
export const ListPromptVersions1Type$inboundSchema: z.ZodNativeEnum<
|
|
958
|
+
typeof ListPromptVersions1Type
|
|
959
|
+
> = z.nativeEnum(ListPromptVersions1Type);
|
|
859
960
|
|
|
860
961
|
/** @internal */
|
|
861
|
-
export const
|
|
862
|
-
|
|
863
|
-
|
|
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
|
|
870
|
-
/** @deprecated use `
|
|
871
|
-
export const inboundSchema =
|
|
872
|
-
|
|
873
|
-
|
|
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
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
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
|
|
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
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
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
|
|
911
|
-
/** @deprecated use `
|
|
912
|
-
export const inboundSchema =
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
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
|
|
922
|
-
|
|
923
|
-
ListPromptVersionsResponseFormatJsonSchema,
|
|
1019
|
+
export function listPromptVersions1JsonSchemaToJSON(
|
|
1020
|
+
listPromptVersions1JsonSchema: ListPromptVersions1JsonSchema,
|
|
924
1021
|
): string {
|
|
925
1022
|
return JSON.stringify(
|
|
926
|
-
|
|
927
|
-
|
|
1023
|
+
ListPromptVersions1JsonSchema$outboundSchema.parse(
|
|
1024
|
+
listPromptVersions1JsonSchema,
|
|
928
1025
|
),
|
|
929
1026
|
);
|
|
930
1027
|
}
|
|
931
1028
|
|
|
932
|
-
export function
|
|
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
|
-
|
|
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
|
|
950
|
-
|
|
1040
|
+
export const ListPromptVersions11$inboundSchema: z.ZodType<
|
|
1041
|
+
ListPromptVersions11,
|
|
951
1042
|
z.ZodTypeDef,
|
|
952
1043
|
unknown
|
|
953
1044
|
> = z.object({
|
|
954
|
-
type:
|
|
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
|
|
1054
|
+
export type ListPromptVersions11$Outbound = {
|
|
966
1055
|
type: string;
|
|
967
|
-
json_schema:
|
|
1056
|
+
json_schema: ListPromptVersions1JsonSchema$Outbound;
|
|
968
1057
|
};
|
|
969
1058
|
|
|
970
1059
|
/** @internal */
|
|
971
|
-
export const
|
|
972
|
-
|
|
1060
|
+
export const ListPromptVersions11$outboundSchema: z.ZodType<
|
|
1061
|
+
ListPromptVersions11$Outbound,
|
|
973
1062
|
z.ZodTypeDef,
|
|
974
|
-
|
|
1063
|
+
ListPromptVersions11
|
|
975
1064
|
> = z.object({
|
|
976
|
-
type:
|
|
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.
|
|
1027
|
-
|
|
1028
|
-
|
|
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
|
-
|
|
|
1034
|
-
|
|
|
1035
|
-
|
|
|
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.
|
|
1044
|
-
|
|
1045
|
-
|
|
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.
|
|
1188
|
-
|
|
1189
|
-
|
|
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
|
-
|
|
|
1219
|
-
|
|
|
1220
|
-
|
|
|
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.
|
|
1251
|
-
|
|
1252
|
-
|
|
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
|