@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.
- package/bin/mcp-server.js +112 -112
- package/bin/mcp-server.js.map +30 -30
- 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/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 +107 -90
- 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/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 +60 -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 +631 -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 +362 -194
- package/packages/orq-rc/src/models/operations/deployments.ts +329 -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 +333 -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 +329 -167
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +337 -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 +354 -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 +412 -1375
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +399 -1449
- 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 +57 -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 +668 -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/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
|
|
@@ -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
|
-
|
|
|
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
|
|
697
|
-
|
|
698
|
-
|
|
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
|
|
702
|
-
|
|
703
|
-
|
|
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
|
|
710
|
-
/** @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. */
|
|
711
820
|
export const inboundSchema =
|
|
712
|
-
|
|
713
|
-
/** @deprecated use `
|
|
821
|
+
ListPromptVersions1PromptsResponseType$inboundSchema;
|
|
822
|
+
/** @deprecated use `ListPromptVersions1PromptsResponseType$outboundSchema` instead. */
|
|
714
823
|
export const outboundSchema =
|
|
715
|
-
|
|
824
|
+
ListPromptVersions1PromptsResponseType$outboundSchema;
|
|
716
825
|
}
|
|
717
826
|
|
|
718
827
|
/** @internal */
|
|
719
|
-
export const
|
|
720
|
-
|
|
828
|
+
export const ListPromptVersions13$inboundSchema: z.ZodType<
|
|
829
|
+
ListPromptVersions13,
|
|
721
830
|
z.ZodTypeDef,
|
|
722
831
|
unknown
|
|
723
832
|
> = z.object({
|
|
724
|
-
type:
|
|
833
|
+
type: ListPromptVersions1PromptsResponseType$inboundSchema,
|
|
725
834
|
});
|
|
726
835
|
|
|
727
836
|
/** @internal */
|
|
728
|
-
export type
|
|
837
|
+
export type ListPromptVersions13$Outbound = {
|
|
729
838
|
type: string;
|
|
730
839
|
};
|
|
731
840
|
|
|
732
841
|
/** @internal */
|
|
733
|
-
export const
|
|
734
|
-
|
|
842
|
+
export const ListPromptVersions13$outboundSchema: z.ZodType<
|
|
843
|
+
ListPromptVersions13$Outbound,
|
|
735
844
|
z.ZodTypeDef,
|
|
736
|
-
|
|
845
|
+
ListPromptVersions13
|
|
737
846
|
> = z.object({
|
|
738
|
-
type:
|
|
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
|
|
746
|
-
/** @deprecated use `
|
|
747
|
-
export const inboundSchema =
|
|
748
|
-
/** @deprecated use `
|
|
749
|
-
export const outboundSchema =
|
|
750
|
-
|
|
751
|
-
|
|
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
|
|
756
|
-
|
|
863
|
+
export function listPromptVersions13ToJSON(
|
|
864
|
+
listPromptVersions13: ListPromptVersions13,
|
|
757
865
|
): string {
|
|
758
866
|
return JSON.stringify(
|
|
759
|
-
|
|
760
|
-
listPromptVersionsResponseFormat3,
|
|
761
|
-
),
|
|
867
|
+
ListPromptVersions13$outboundSchema.parse(listPromptVersions13),
|
|
762
868
|
);
|
|
763
869
|
}
|
|
764
870
|
|
|
765
|
-
export function
|
|
871
|
+
export function listPromptVersions13FromJSON(
|
|
766
872
|
jsonString: string,
|
|
767
|
-
): SafeParseResult<
|
|
873
|
+
): SafeParseResult<ListPromptVersions13, SDKValidationError> {
|
|
768
874
|
return safeParse(
|
|
769
875
|
jsonString,
|
|
770
|
-
(x) =>
|
|
771
|
-
`Failed to parse '
|
|
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
|
|
777
|
-
|
|
778
|
-
|
|
882
|
+
export const ListPromptVersions1PromptsType$inboundSchema: z.ZodNativeEnum<
|
|
883
|
+
typeof ListPromptVersions1PromptsType
|
|
884
|
+
> = z.nativeEnum(ListPromptVersions1PromptsType);
|
|
779
885
|
|
|
780
886
|
/** @internal */
|
|
781
|
-
export const
|
|
782
|
-
|
|
783
|
-
|
|
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
|
|
790
|
-
/** @deprecated use `
|
|
791
|
-
export const inboundSchema =
|
|
792
|
-
|
|
793
|
-
|
|
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
|
|
800
|
-
|
|
903
|
+
export const ListPromptVersions12$inboundSchema: z.ZodType<
|
|
904
|
+
ListPromptVersions12,
|
|
801
905
|
z.ZodTypeDef,
|
|
802
906
|
unknown
|
|
803
907
|
> = z.object({
|
|
804
|
-
type:
|
|
908
|
+
type: ListPromptVersions1PromptsType$inboundSchema,
|
|
805
909
|
});
|
|
806
910
|
|
|
807
911
|
/** @internal */
|
|
808
|
-
export type
|
|
912
|
+
export type ListPromptVersions12$Outbound = {
|
|
809
913
|
type: string;
|
|
810
914
|
};
|
|
811
915
|
|
|
812
916
|
/** @internal */
|
|
813
|
-
export const
|
|
814
|
-
|
|
917
|
+
export const ListPromptVersions12$outboundSchema: z.ZodType<
|
|
918
|
+
ListPromptVersions12$Outbound,
|
|
815
919
|
z.ZodTypeDef,
|
|
816
|
-
|
|
920
|
+
ListPromptVersions12
|
|
817
921
|
> = z.object({
|
|
818
|
-
type:
|
|
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
|
|
826
|
-
/** @deprecated use `
|
|
827
|
-
export const inboundSchema =
|
|
828
|
-
/** @deprecated use `
|
|
829
|
-
export const outboundSchema =
|
|
830
|
-
|
|
831
|
-
|
|
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
|
|
836
|
-
|
|
938
|
+
export function listPromptVersions12ToJSON(
|
|
939
|
+
listPromptVersions12: ListPromptVersions12,
|
|
837
940
|
): string {
|
|
838
941
|
return JSON.stringify(
|
|
839
|
-
|
|
840
|
-
listPromptVersionsResponseFormat2,
|
|
841
|
-
),
|
|
942
|
+
ListPromptVersions12$outboundSchema.parse(listPromptVersions12),
|
|
842
943
|
);
|
|
843
944
|
}
|
|
844
945
|
|
|
845
|
-
export function
|
|
946
|
+
export function listPromptVersions12FromJSON(
|
|
846
947
|
jsonString: string,
|
|
847
|
-
): SafeParseResult<
|
|
948
|
+
): SafeParseResult<ListPromptVersions12, SDKValidationError> {
|
|
848
949
|
return safeParse(
|
|
849
950
|
jsonString,
|
|
850
|
-
(x) =>
|
|
851
|
-
`Failed to parse '
|
|
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
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
);
|
|
957
|
+
export const ListPromptVersions1Type$inboundSchema: z.ZodNativeEnum<
|
|
958
|
+
typeof ListPromptVersions1Type
|
|
959
|
+
> = z.nativeEnum(ListPromptVersions1Type);
|
|
860
960
|
|
|
861
961
|
/** @internal */
|
|
862
|
-
export const
|
|
863
|
-
|
|
864
|
-
|
|
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
|
|
871
|
-
/** @deprecated use `
|
|
872
|
-
export const inboundSchema =
|
|
873
|
-
|
|
874
|
-
|
|
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
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
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
|
|
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
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
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
|
|
912
|
-
/** @deprecated use `
|
|
913
|
-
export const inboundSchema =
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
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
|
|
923
|
-
|
|
924
|
-
ListPromptVersionsResponseFormatJsonSchema,
|
|
1019
|
+
export function listPromptVersions1JsonSchemaToJSON(
|
|
1020
|
+
listPromptVersions1JsonSchema: ListPromptVersions1JsonSchema,
|
|
925
1021
|
): string {
|
|
926
1022
|
return JSON.stringify(
|
|
927
|
-
|
|
928
|
-
|
|
1023
|
+
ListPromptVersions1JsonSchema$outboundSchema.parse(
|
|
1024
|
+
listPromptVersions1JsonSchema,
|
|
929
1025
|
),
|
|
930
1026
|
);
|
|
931
1027
|
}
|
|
932
1028
|
|
|
933
|
-
export function
|
|
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
|
-
|
|
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
|
|
951
|
-
|
|
1040
|
+
export const ListPromptVersions11$inboundSchema: z.ZodType<
|
|
1041
|
+
ListPromptVersions11,
|
|
952
1042
|
z.ZodTypeDef,
|
|
953
1043
|
unknown
|
|
954
1044
|
> = z.object({
|
|
955
|
-
type:
|
|
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
|
|
1054
|
+
export type ListPromptVersions11$Outbound = {
|
|
967
1055
|
type: string;
|
|
968
|
-
json_schema:
|
|
1056
|
+
json_schema: ListPromptVersions1JsonSchema$Outbound;
|
|
969
1057
|
};
|
|
970
1058
|
|
|
971
1059
|
/** @internal */
|
|
972
|
-
export const
|
|
973
|
-
|
|
1060
|
+
export const ListPromptVersions11$outboundSchema: z.ZodType<
|
|
1061
|
+
ListPromptVersions11$Outbound,
|
|
974
1062
|
z.ZodTypeDef,
|
|
975
|
-
|
|
1063
|
+
ListPromptVersions11
|
|
976
1064
|
> = z.object({
|
|
977
|
-
type:
|
|
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.
|
|
1028
|
-
|
|
1029
|
-
|
|
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
|
-
|
|
|
1035
|
-
|
|
|
1036
|
-
|
|
|
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.
|
|
1045
|
-
|
|
1046
|
-
|
|
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.
|
|
1189
|
-
|
|
1190
|
-
|
|
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
|
-
|
|
|
1220
|
-
|
|
|
1221
|
-
|
|
|
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.
|
|
1252
|
-
|
|
1253
|
-
|
|
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
|