@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
|
@@ -55,46 +55,80 @@ export const GetPromptVersionFormat = {
|
|
|
55
55
|
*/
|
|
56
56
|
export type GetPromptVersionFormat = ClosedEnum<typeof GetPromptVersionFormat>;
|
|
57
57
|
|
|
58
|
-
export const
|
|
58
|
+
export const GetPromptVersionResponseFormat4 = {
|
|
59
|
+
Json: "json",
|
|
59
60
|
Text: "text",
|
|
61
|
+
Srt: "srt",
|
|
62
|
+
VerboseJson: "verbose_json",
|
|
63
|
+
Vtt: "vtt",
|
|
60
64
|
} as const;
|
|
61
|
-
export type
|
|
62
|
-
typeof
|
|
65
|
+
export type GetPromptVersionResponseFormat4 = ClosedEnum<
|
|
66
|
+
typeof GetPromptVersionResponseFormat4
|
|
63
67
|
>;
|
|
64
68
|
|
|
65
|
-
export
|
|
66
|
-
|
|
69
|
+
export const GetPromptVersionResponseFormat3 = {
|
|
70
|
+
Url: "url",
|
|
71
|
+
Base64Json: "base64_json",
|
|
72
|
+
} as const;
|
|
73
|
+
export type GetPromptVersionResponseFormat3 = ClosedEnum<
|
|
74
|
+
typeof GetPromptVersionResponseFormat3
|
|
75
|
+
>;
|
|
76
|
+
|
|
77
|
+
export const GetPromptVersionResponseFormat2 = {
|
|
78
|
+
Mp3: "mp3",
|
|
79
|
+
Opus: "opus",
|
|
80
|
+
Aac: "aac",
|
|
81
|
+
Flac: "flac",
|
|
82
|
+
Wav: "wav",
|
|
83
|
+
Pcm: "pcm",
|
|
84
|
+
} as const;
|
|
85
|
+
export type GetPromptVersionResponseFormat2 = ClosedEnum<
|
|
86
|
+
typeof GetPromptVersionResponseFormat2
|
|
87
|
+
>;
|
|
88
|
+
|
|
89
|
+
export const GetPromptVersion1PromptsResponseType = {
|
|
90
|
+
Text: "text",
|
|
91
|
+
} as const;
|
|
92
|
+
export type GetPromptVersion1PromptsResponseType = ClosedEnum<
|
|
93
|
+
typeof GetPromptVersion1PromptsResponseType
|
|
94
|
+
>;
|
|
95
|
+
|
|
96
|
+
export type GetPromptVersion13 = {
|
|
97
|
+
type: GetPromptVersion1PromptsResponseType;
|
|
67
98
|
};
|
|
68
99
|
|
|
69
|
-
export const
|
|
100
|
+
export const GetPromptVersion1PromptsType = {
|
|
70
101
|
JsonObject: "json_object",
|
|
71
102
|
} as const;
|
|
72
|
-
export type
|
|
73
|
-
typeof
|
|
103
|
+
export type GetPromptVersion1PromptsType = ClosedEnum<
|
|
104
|
+
typeof GetPromptVersion1PromptsType
|
|
74
105
|
>;
|
|
75
106
|
|
|
76
|
-
export type
|
|
77
|
-
type:
|
|
107
|
+
export type GetPromptVersion12 = {
|
|
108
|
+
type: GetPromptVersion1PromptsType;
|
|
78
109
|
};
|
|
79
110
|
|
|
80
|
-
export const
|
|
111
|
+
export const GetPromptVersion1Type = {
|
|
81
112
|
JsonSchema: "json_schema",
|
|
82
113
|
} as const;
|
|
83
|
-
export type
|
|
84
|
-
typeof GetPromptVersionResponseFormatType
|
|
85
|
-
>;
|
|
114
|
+
export type GetPromptVersion1Type = ClosedEnum<typeof GetPromptVersion1Type>;
|
|
86
115
|
|
|
87
|
-
export type
|
|
116
|
+
export type GetPromptVersion1JsonSchema = {
|
|
88
117
|
name: string;
|
|
89
118
|
strict?: boolean | undefined;
|
|
90
119
|
schema: { [k: string]: any };
|
|
91
120
|
};
|
|
92
121
|
|
|
93
|
-
export type
|
|
94
|
-
type:
|
|
95
|
-
jsonSchema:
|
|
122
|
+
export type GetPromptVersion11 = {
|
|
123
|
+
type: GetPromptVersion1Type;
|
|
124
|
+
jsonSchema: GetPromptVersion1JsonSchema;
|
|
96
125
|
};
|
|
97
126
|
|
|
127
|
+
export type GetPromptVersionResponseFormat1 =
|
|
128
|
+
| GetPromptVersion11
|
|
129
|
+
| GetPromptVersion12
|
|
130
|
+
| GetPromptVersion13;
|
|
131
|
+
|
|
98
132
|
/**
|
|
99
133
|
* An object specifying the format that the model must output.
|
|
100
134
|
*
|
|
@@ -107,9 +141,12 @@ export type GetPromptVersionResponseFormat1 = {
|
|
|
107
141
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
108
142
|
*/
|
|
109
143
|
export type GetPromptVersionResponseFormat =
|
|
110
|
-
|
|
|
144
|
+
| GetPromptVersion11
|
|
145
|
+
| GetPromptVersion12
|
|
146
|
+
| GetPromptVersion13
|
|
111
147
|
| GetPromptVersionResponseFormat2
|
|
112
|
-
| GetPromptVersionResponseFormat3
|
|
148
|
+
| GetPromptVersionResponseFormat3
|
|
149
|
+
| GetPromptVersionResponseFormat4;
|
|
113
150
|
|
|
114
151
|
/**
|
|
115
152
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -144,6 +181,7 @@ export type GetPromptVersionEncodingFormat = ClosedEnum<
|
|
|
144
181
|
*/
|
|
145
182
|
export const GetPromptVersionReasoningEffort = {
|
|
146
183
|
Disable: "disable",
|
|
184
|
+
Minimal: "minimal",
|
|
147
185
|
Low: "low",
|
|
148
186
|
Medium: "medium",
|
|
149
187
|
High: "high",
|
|
@@ -234,9 +272,12 @@ export type GetPromptVersionModelParameters = {
|
|
|
234
272
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
235
273
|
*/
|
|
236
274
|
responseFormat?:
|
|
237
|
-
|
|
|
275
|
+
| GetPromptVersion11
|
|
276
|
+
| GetPromptVersion12
|
|
277
|
+
| GetPromptVersion13
|
|
238
278
|
| GetPromptVersionResponseFormat2
|
|
239
279
|
| GetPromptVersionResponseFormat3
|
|
280
|
+
| GetPromptVersionResponseFormat4
|
|
240
281
|
| null
|
|
241
282
|
| undefined;
|
|
242
283
|
/**
|
|
@@ -641,188 +682,245 @@ export namespace GetPromptVersionFormat$ {
|
|
|
641
682
|
}
|
|
642
683
|
|
|
643
684
|
/** @internal */
|
|
644
|
-
export const
|
|
645
|
-
|
|
646
|
-
|
|
685
|
+
export const GetPromptVersionResponseFormat4$inboundSchema: z.ZodNativeEnum<
|
|
686
|
+
typeof GetPromptVersionResponseFormat4
|
|
687
|
+
> = z.nativeEnum(GetPromptVersionResponseFormat4);
|
|
688
|
+
|
|
689
|
+
/** @internal */
|
|
690
|
+
export const GetPromptVersionResponseFormat4$outboundSchema: z.ZodNativeEnum<
|
|
691
|
+
typeof GetPromptVersionResponseFormat4
|
|
692
|
+
> = GetPromptVersionResponseFormat4$inboundSchema;
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* @internal
|
|
696
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
697
|
+
*/
|
|
698
|
+
export namespace GetPromptVersionResponseFormat4$ {
|
|
699
|
+
/** @deprecated use `GetPromptVersionResponseFormat4$inboundSchema` instead. */
|
|
700
|
+
export const inboundSchema = GetPromptVersionResponseFormat4$inboundSchema;
|
|
701
|
+
/** @deprecated use `GetPromptVersionResponseFormat4$outboundSchema` instead. */
|
|
702
|
+
export const outboundSchema = GetPromptVersionResponseFormat4$outboundSchema;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
/** @internal */
|
|
706
|
+
export const GetPromptVersionResponseFormat3$inboundSchema: z.ZodNativeEnum<
|
|
707
|
+
typeof GetPromptVersionResponseFormat3
|
|
708
|
+
> = z.nativeEnum(GetPromptVersionResponseFormat3);
|
|
647
709
|
|
|
648
710
|
/** @internal */
|
|
649
|
-
export const
|
|
650
|
-
|
|
651
|
-
|
|
711
|
+
export const GetPromptVersionResponseFormat3$outboundSchema: z.ZodNativeEnum<
|
|
712
|
+
typeof GetPromptVersionResponseFormat3
|
|
713
|
+
> = GetPromptVersionResponseFormat3$inboundSchema;
|
|
652
714
|
|
|
653
715
|
/**
|
|
654
716
|
* @internal
|
|
655
717
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
656
718
|
*/
|
|
657
|
-
export namespace
|
|
658
|
-
/** @deprecated use `
|
|
719
|
+
export namespace GetPromptVersionResponseFormat3$ {
|
|
720
|
+
/** @deprecated use `GetPromptVersionResponseFormat3$inboundSchema` instead. */
|
|
721
|
+
export const inboundSchema = GetPromptVersionResponseFormat3$inboundSchema;
|
|
722
|
+
/** @deprecated use `GetPromptVersionResponseFormat3$outboundSchema` instead. */
|
|
723
|
+
export const outboundSchema = GetPromptVersionResponseFormat3$outboundSchema;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/** @internal */
|
|
727
|
+
export const GetPromptVersionResponseFormat2$inboundSchema: z.ZodNativeEnum<
|
|
728
|
+
typeof GetPromptVersionResponseFormat2
|
|
729
|
+
> = z.nativeEnum(GetPromptVersionResponseFormat2);
|
|
730
|
+
|
|
731
|
+
/** @internal */
|
|
732
|
+
export const GetPromptVersionResponseFormat2$outboundSchema: z.ZodNativeEnum<
|
|
733
|
+
typeof GetPromptVersionResponseFormat2
|
|
734
|
+
> = GetPromptVersionResponseFormat2$inboundSchema;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* @internal
|
|
738
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
739
|
+
*/
|
|
740
|
+
export namespace GetPromptVersionResponseFormat2$ {
|
|
741
|
+
/** @deprecated use `GetPromptVersionResponseFormat2$inboundSchema` instead. */
|
|
742
|
+
export const inboundSchema = GetPromptVersionResponseFormat2$inboundSchema;
|
|
743
|
+
/** @deprecated use `GetPromptVersionResponseFormat2$outboundSchema` instead. */
|
|
744
|
+
export const outboundSchema = GetPromptVersionResponseFormat2$outboundSchema;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/** @internal */
|
|
748
|
+
export const GetPromptVersion1PromptsResponseType$inboundSchema:
|
|
749
|
+
z.ZodNativeEnum<typeof GetPromptVersion1PromptsResponseType> = z.nativeEnum(
|
|
750
|
+
GetPromptVersion1PromptsResponseType,
|
|
751
|
+
);
|
|
752
|
+
|
|
753
|
+
/** @internal */
|
|
754
|
+
export const GetPromptVersion1PromptsResponseType$outboundSchema:
|
|
755
|
+
z.ZodNativeEnum<typeof GetPromptVersion1PromptsResponseType> =
|
|
756
|
+
GetPromptVersion1PromptsResponseType$inboundSchema;
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* @internal
|
|
760
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
761
|
+
*/
|
|
762
|
+
export namespace GetPromptVersion1PromptsResponseType$ {
|
|
763
|
+
/** @deprecated use `GetPromptVersion1PromptsResponseType$inboundSchema` instead. */
|
|
659
764
|
export const inboundSchema =
|
|
660
|
-
|
|
661
|
-
/** @deprecated use `
|
|
765
|
+
GetPromptVersion1PromptsResponseType$inboundSchema;
|
|
766
|
+
/** @deprecated use `GetPromptVersion1PromptsResponseType$outboundSchema` instead. */
|
|
662
767
|
export const outboundSchema =
|
|
663
|
-
|
|
768
|
+
GetPromptVersion1PromptsResponseType$outboundSchema;
|
|
664
769
|
}
|
|
665
770
|
|
|
666
771
|
/** @internal */
|
|
667
|
-
export const
|
|
668
|
-
|
|
772
|
+
export const GetPromptVersion13$inboundSchema: z.ZodType<
|
|
773
|
+
GetPromptVersion13,
|
|
669
774
|
z.ZodTypeDef,
|
|
670
775
|
unknown
|
|
671
776
|
> = z.object({
|
|
672
|
-
type:
|
|
777
|
+
type: GetPromptVersion1PromptsResponseType$inboundSchema,
|
|
673
778
|
});
|
|
674
779
|
|
|
675
780
|
/** @internal */
|
|
676
|
-
export type
|
|
781
|
+
export type GetPromptVersion13$Outbound = {
|
|
677
782
|
type: string;
|
|
678
783
|
};
|
|
679
784
|
|
|
680
785
|
/** @internal */
|
|
681
|
-
export const
|
|
682
|
-
|
|
786
|
+
export const GetPromptVersion13$outboundSchema: z.ZodType<
|
|
787
|
+
GetPromptVersion13$Outbound,
|
|
683
788
|
z.ZodTypeDef,
|
|
684
|
-
|
|
789
|
+
GetPromptVersion13
|
|
685
790
|
> = z.object({
|
|
686
|
-
type:
|
|
791
|
+
type: GetPromptVersion1PromptsResponseType$outboundSchema,
|
|
687
792
|
});
|
|
688
793
|
|
|
689
794
|
/**
|
|
690
795
|
* @internal
|
|
691
796
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
692
797
|
*/
|
|
693
|
-
export namespace
|
|
694
|
-
/** @deprecated use `
|
|
695
|
-
export const inboundSchema =
|
|
696
|
-
/** @deprecated use `
|
|
697
|
-
export const outboundSchema =
|
|
698
|
-
/** @deprecated use `
|
|
699
|
-
export type Outbound =
|
|
798
|
+
export namespace GetPromptVersion13$ {
|
|
799
|
+
/** @deprecated use `GetPromptVersion13$inboundSchema` instead. */
|
|
800
|
+
export const inboundSchema = GetPromptVersion13$inboundSchema;
|
|
801
|
+
/** @deprecated use `GetPromptVersion13$outboundSchema` instead. */
|
|
802
|
+
export const outboundSchema = GetPromptVersion13$outboundSchema;
|
|
803
|
+
/** @deprecated use `GetPromptVersion13$Outbound` instead. */
|
|
804
|
+
export type Outbound = GetPromptVersion13$Outbound;
|
|
700
805
|
}
|
|
701
806
|
|
|
702
|
-
export function
|
|
703
|
-
|
|
807
|
+
export function getPromptVersion13ToJSON(
|
|
808
|
+
getPromptVersion13: GetPromptVersion13,
|
|
704
809
|
): string {
|
|
705
810
|
return JSON.stringify(
|
|
706
|
-
|
|
707
|
-
getPromptVersionResponseFormat3,
|
|
708
|
-
),
|
|
811
|
+
GetPromptVersion13$outboundSchema.parse(getPromptVersion13),
|
|
709
812
|
);
|
|
710
813
|
}
|
|
711
814
|
|
|
712
|
-
export function
|
|
815
|
+
export function getPromptVersion13FromJSON(
|
|
713
816
|
jsonString: string,
|
|
714
|
-
): SafeParseResult<
|
|
817
|
+
): SafeParseResult<GetPromptVersion13, SDKValidationError> {
|
|
715
818
|
return safeParse(
|
|
716
819
|
jsonString,
|
|
717
|
-
(x) =>
|
|
718
|
-
`Failed to parse '
|
|
820
|
+
(x) => GetPromptVersion13$inboundSchema.parse(JSON.parse(x)),
|
|
821
|
+
`Failed to parse 'GetPromptVersion13' from JSON`,
|
|
719
822
|
);
|
|
720
823
|
}
|
|
721
824
|
|
|
722
825
|
/** @internal */
|
|
723
|
-
export const
|
|
724
|
-
|
|
725
|
-
|
|
826
|
+
export const GetPromptVersion1PromptsType$inboundSchema: z.ZodNativeEnum<
|
|
827
|
+
typeof GetPromptVersion1PromptsType
|
|
828
|
+
> = z.nativeEnum(GetPromptVersion1PromptsType);
|
|
726
829
|
|
|
727
830
|
/** @internal */
|
|
728
|
-
export const
|
|
729
|
-
|
|
730
|
-
|
|
831
|
+
export const GetPromptVersion1PromptsType$outboundSchema: z.ZodNativeEnum<
|
|
832
|
+
typeof GetPromptVersion1PromptsType
|
|
833
|
+
> = GetPromptVersion1PromptsType$inboundSchema;
|
|
731
834
|
|
|
732
835
|
/**
|
|
733
836
|
* @internal
|
|
734
837
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
735
838
|
*/
|
|
736
|
-
export namespace
|
|
737
|
-
/** @deprecated use `
|
|
738
|
-
export const inboundSchema =
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
export const outboundSchema =
|
|
742
|
-
GetPromptVersionResponseFormatPromptsType$outboundSchema;
|
|
839
|
+
export namespace GetPromptVersion1PromptsType$ {
|
|
840
|
+
/** @deprecated use `GetPromptVersion1PromptsType$inboundSchema` instead. */
|
|
841
|
+
export const inboundSchema = GetPromptVersion1PromptsType$inboundSchema;
|
|
842
|
+
/** @deprecated use `GetPromptVersion1PromptsType$outboundSchema` instead. */
|
|
843
|
+
export const outboundSchema = GetPromptVersion1PromptsType$outboundSchema;
|
|
743
844
|
}
|
|
744
845
|
|
|
745
846
|
/** @internal */
|
|
746
|
-
export const
|
|
747
|
-
|
|
847
|
+
export const GetPromptVersion12$inboundSchema: z.ZodType<
|
|
848
|
+
GetPromptVersion12,
|
|
748
849
|
z.ZodTypeDef,
|
|
749
850
|
unknown
|
|
750
851
|
> = z.object({
|
|
751
|
-
type:
|
|
852
|
+
type: GetPromptVersion1PromptsType$inboundSchema,
|
|
752
853
|
});
|
|
753
854
|
|
|
754
855
|
/** @internal */
|
|
755
|
-
export type
|
|
856
|
+
export type GetPromptVersion12$Outbound = {
|
|
756
857
|
type: string;
|
|
757
858
|
};
|
|
758
859
|
|
|
759
860
|
/** @internal */
|
|
760
|
-
export const
|
|
761
|
-
|
|
861
|
+
export const GetPromptVersion12$outboundSchema: z.ZodType<
|
|
862
|
+
GetPromptVersion12$Outbound,
|
|
762
863
|
z.ZodTypeDef,
|
|
763
|
-
|
|
864
|
+
GetPromptVersion12
|
|
764
865
|
> = z.object({
|
|
765
|
-
type:
|
|
866
|
+
type: GetPromptVersion1PromptsType$outboundSchema,
|
|
766
867
|
});
|
|
767
868
|
|
|
768
869
|
/**
|
|
769
870
|
* @internal
|
|
770
871
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
771
872
|
*/
|
|
772
|
-
export namespace
|
|
773
|
-
/** @deprecated use `
|
|
774
|
-
export const inboundSchema =
|
|
775
|
-
/** @deprecated use `
|
|
776
|
-
export const outboundSchema =
|
|
777
|
-
/** @deprecated use `
|
|
778
|
-
export type Outbound =
|
|
873
|
+
export namespace GetPromptVersion12$ {
|
|
874
|
+
/** @deprecated use `GetPromptVersion12$inboundSchema` instead. */
|
|
875
|
+
export const inboundSchema = GetPromptVersion12$inboundSchema;
|
|
876
|
+
/** @deprecated use `GetPromptVersion12$outboundSchema` instead. */
|
|
877
|
+
export const outboundSchema = GetPromptVersion12$outboundSchema;
|
|
878
|
+
/** @deprecated use `GetPromptVersion12$Outbound` instead. */
|
|
879
|
+
export type Outbound = GetPromptVersion12$Outbound;
|
|
779
880
|
}
|
|
780
881
|
|
|
781
|
-
export function
|
|
782
|
-
|
|
882
|
+
export function getPromptVersion12ToJSON(
|
|
883
|
+
getPromptVersion12: GetPromptVersion12,
|
|
783
884
|
): string {
|
|
784
885
|
return JSON.stringify(
|
|
785
|
-
|
|
786
|
-
getPromptVersionResponseFormat2,
|
|
787
|
-
),
|
|
886
|
+
GetPromptVersion12$outboundSchema.parse(getPromptVersion12),
|
|
788
887
|
);
|
|
789
888
|
}
|
|
790
889
|
|
|
791
|
-
export function
|
|
890
|
+
export function getPromptVersion12FromJSON(
|
|
792
891
|
jsonString: string,
|
|
793
|
-
): SafeParseResult<
|
|
892
|
+
): SafeParseResult<GetPromptVersion12, SDKValidationError> {
|
|
794
893
|
return safeParse(
|
|
795
894
|
jsonString,
|
|
796
|
-
(x) =>
|
|
797
|
-
`Failed to parse '
|
|
895
|
+
(x) => GetPromptVersion12$inboundSchema.parse(JSON.parse(x)),
|
|
896
|
+
`Failed to parse 'GetPromptVersion12' from JSON`,
|
|
798
897
|
);
|
|
799
898
|
}
|
|
800
899
|
|
|
801
900
|
/** @internal */
|
|
802
|
-
export const
|
|
803
|
-
typeof
|
|
804
|
-
> = z.nativeEnum(
|
|
901
|
+
export const GetPromptVersion1Type$inboundSchema: z.ZodNativeEnum<
|
|
902
|
+
typeof GetPromptVersion1Type
|
|
903
|
+
> = z.nativeEnum(GetPromptVersion1Type);
|
|
805
904
|
|
|
806
905
|
/** @internal */
|
|
807
|
-
export const
|
|
808
|
-
typeof
|
|
809
|
-
> =
|
|
906
|
+
export const GetPromptVersion1Type$outboundSchema: z.ZodNativeEnum<
|
|
907
|
+
typeof GetPromptVersion1Type
|
|
908
|
+
> = GetPromptVersion1Type$inboundSchema;
|
|
810
909
|
|
|
811
910
|
/**
|
|
812
911
|
* @internal
|
|
813
912
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
814
913
|
*/
|
|
815
|
-
export namespace
|
|
816
|
-
/** @deprecated use `
|
|
817
|
-
export const inboundSchema =
|
|
818
|
-
/** @deprecated use `
|
|
819
|
-
export const outboundSchema =
|
|
820
|
-
GetPromptVersionResponseFormatType$outboundSchema;
|
|
914
|
+
export namespace GetPromptVersion1Type$ {
|
|
915
|
+
/** @deprecated use `GetPromptVersion1Type$inboundSchema` instead. */
|
|
916
|
+
export const inboundSchema = GetPromptVersion1Type$inboundSchema;
|
|
917
|
+
/** @deprecated use `GetPromptVersion1Type$outboundSchema` instead. */
|
|
918
|
+
export const outboundSchema = GetPromptVersion1Type$outboundSchema;
|
|
821
919
|
}
|
|
822
920
|
|
|
823
921
|
/** @internal */
|
|
824
|
-
export const
|
|
825
|
-
|
|
922
|
+
export const GetPromptVersion1JsonSchema$inboundSchema: z.ZodType<
|
|
923
|
+
GetPromptVersion1JsonSchema,
|
|
826
924
|
z.ZodTypeDef,
|
|
827
925
|
unknown
|
|
828
926
|
> = z.object({
|
|
@@ -832,17 +930,17 @@ export const GetPromptVersionResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
832
930
|
});
|
|
833
931
|
|
|
834
932
|
/** @internal */
|
|
835
|
-
export type
|
|
933
|
+
export type GetPromptVersion1JsonSchema$Outbound = {
|
|
836
934
|
name: string;
|
|
837
935
|
strict?: boolean | undefined;
|
|
838
936
|
schema: { [k: string]: any };
|
|
839
937
|
};
|
|
840
938
|
|
|
841
939
|
/** @internal */
|
|
842
|
-
export const
|
|
843
|
-
|
|
940
|
+
export const GetPromptVersion1JsonSchema$outboundSchema: z.ZodType<
|
|
941
|
+
GetPromptVersion1JsonSchema$Outbound,
|
|
844
942
|
z.ZodTypeDef,
|
|
845
|
-
|
|
943
|
+
GetPromptVersion1JsonSchema
|
|
846
944
|
> = z.object({
|
|
847
945
|
name: z.string(),
|
|
848
946
|
strict: z.boolean().optional(),
|
|
@@ -853,54 +951,43 @@ export const GetPromptVersionResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
853
951
|
* @internal
|
|
854
952
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
855
953
|
*/
|
|
856
|
-
export namespace
|
|
857
|
-
/** @deprecated use `
|
|
858
|
-
export const inboundSchema =
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
/** @deprecated use `GetPromptVersionResponseFormatJsonSchema$Outbound` instead. */
|
|
864
|
-
export type Outbound = GetPromptVersionResponseFormatJsonSchema$Outbound;
|
|
954
|
+
export namespace GetPromptVersion1JsonSchema$ {
|
|
955
|
+
/** @deprecated use `GetPromptVersion1JsonSchema$inboundSchema` instead. */
|
|
956
|
+
export const inboundSchema = GetPromptVersion1JsonSchema$inboundSchema;
|
|
957
|
+
/** @deprecated use `GetPromptVersion1JsonSchema$outboundSchema` instead. */
|
|
958
|
+
export const outboundSchema = GetPromptVersion1JsonSchema$outboundSchema;
|
|
959
|
+
/** @deprecated use `GetPromptVersion1JsonSchema$Outbound` instead. */
|
|
960
|
+
export type Outbound = GetPromptVersion1JsonSchema$Outbound;
|
|
865
961
|
}
|
|
866
962
|
|
|
867
|
-
export function
|
|
868
|
-
|
|
869
|
-
GetPromptVersionResponseFormatJsonSchema,
|
|
963
|
+
export function getPromptVersion1JsonSchemaToJSON(
|
|
964
|
+
getPromptVersion1JsonSchema: GetPromptVersion1JsonSchema,
|
|
870
965
|
): string {
|
|
871
966
|
return JSON.stringify(
|
|
872
|
-
|
|
873
|
-
|
|
967
|
+
GetPromptVersion1JsonSchema$outboundSchema.parse(
|
|
968
|
+
getPromptVersion1JsonSchema,
|
|
874
969
|
),
|
|
875
970
|
);
|
|
876
971
|
}
|
|
877
972
|
|
|
878
|
-
export function
|
|
973
|
+
export function getPromptVersion1JsonSchemaFromJSON(
|
|
879
974
|
jsonString: string,
|
|
880
|
-
): SafeParseResult<
|
|
881
|
-
GetPromptVersionResponseFormatJsonSchema,
|
|
882
|
-
SDKValidationError
|
|
883
|
-
> {
|
|
975
|
+
): SafeParseResult<GetPromptVersion1JsonSchema, SDKValidationError> {
|
|
884
976
|
return safeParse(
|
|
885
977
|
jsonString,
|
|
886
|
-
(x) =>
|
|
887
|
-
|
|
888
|
-
JSON.parse(x),
|
|
889
|
-
),
|
|
890
|
-
`Failed to parse 'GetPromptVersionResponseFormatJsonSchema' from JSON`,
|
|
978
|
+
(x) => GetPromptVersion1JsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
979
|
+
`Failed to parse 'GetPromptVersion1JsonSchema' from JSON`,
|
|
891
980
|
);
|
|
892
981
|
}
|
|
893
982
|
|
|
894
983
|
/** @internal */
|
|
895
|
-
export const
|
|
896
|
-
|
|
984
|
+
export const GetPromptVersion11$inboundSchema: z.ZodType<
|
|
985
|
+
GetPromptVersion11,
|
|
897
986
|
z.ZodTypeDef,
|
|
898
987
|
unknown
|
|
899
988
|
> = z.object({
|
|
900
|
-
type:
|
|
901
|
-
json_schema: z.lazy(() =>
|
|
902
|
-
GetPromptVersionResponseFormatJsonSchema$inboundSchema
|
|
903
|
-
),
|
|
989
|
+
type: GetPromptVersion1Type$inboundSchema,
|
|
990
|
+
json_schema: z.lazy(() => GetPromptVersion1JsonSchema$inboundSchema),
|
|
904
991
|
}).transform((v) => {
|
|
905
992
|
return remap$(v, {
|
|
906
993
|
"json_schema": "jsonSchema",
|
|
@@ -908,27 +995,84 @@ export const GetPromptVersionResponseFormat1$inboundSchema: z.ZodType<
|
|
|
908
995
|
});
|
|
909
996
|
|
|
910
997
|
/** @internal */
|
|
911
|
-
export type
|
|
998
|
+
export type GetPromptVersion11$Outbound = {
|
|
912
999
|
type: string;
|
|
913
|
-
json_schema:
|
|
1000
|
+
json_schema: GetPromptVersion1JsonSchema$Outbound;
|
|
914
1001
|
};
|
|
915
1002
|
|
|
916
1003
|
/** @internal */
|
|
917
|
-
export const
|
|
918
|
-
|
|
1004
|
+
export const GetPromptVersion11$outboundSchema: z.ZodType<
|
|
1005
|
+
GetPromptVersion11$Outbound,
|
|
919
1006
|
z.ZodTypeDef,
|
|
920
|
-
|
|
1007
|
+
GetPromptVersion11
|
|
921
1008
|
> = z.object({
|
|
922
|
-
type:
|
|
923
|
-
jsonSchema: z.lazy(() =>
|
|
924
|
-
GetPromptVersionResponseFormatJsonSchema$outboundSchema
|
|
925
|
-
),
|
|
1009
|
+
type: GetPromptVersion1Type$outboundSchema,
|
|
1010
|
+
jsonSchema: z.lazy(() => GetPromptVersion1JsonSchema$outboundSchema),
|
|
926
1011
|
}).transform((v) => {
|
|
927
1012
|
return remap$(v, {
|
|
928
1013
|
jsonSchema: "json_schema",
|
|
929
1014
|
});
|
|
930
1015
|
});
|
|
931
1016
|
|
|
1017
|
+
/**
|
|
1018
|
+
* @internal
|
|
1019
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1020
|
+
*/
|
|
1021
|
+
export namespace GetPromptVersion11$ {
|
|
1022
|
+
/** @deprecated use `GetPromptVersion11$inboundSchema` instead. */
|
|
1023
|
+
export const inboundSchema = GetPromptVersion11$inboundSchema;
|
|
1024
|
+
/** @deprecated use `GetPromptVersion11$outboundSchema` instead. */
|
|
1025
|
+
export const outboundSchema = GetPromptVersion11$outboundSchema;
|
|
1026
|
+
/** @deprecated use `GetPromptVersion11$Outbound` instead. */
|
|
1027
|
+
export type Outbound = GetPromptVersion11$Outbound;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export function getPromptVersion11ToJSON(
|
|
1031
|
+
getPromptVersion11: GetPromptVersion11,
|
|
1032
|
+
): string {
|
|
1033
|
+
return JSON.stringify(
|
|
1034
|
+
GetPromptVersion11$outboundSchema.parse(getPromptVersion11),
|
|
1035
|
+
);
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
export function getPromptVersion11FromJSON(
|
|
1039
|
+
jsonString: string,
|
|
1040
|
+
): SafeParseResult<GetPromptVersion11, SDKValidationError> {
|
|
1041
|
+
return safeParse(
|
|
1042
|
+
jsonString,
|
|
1043
|
+
(x) => GetPromptVersion11$inboundSchema.parse(JSON.parse(x)),
|
|
1044
|
+
`Failed to parse 'GetPromptVersion11' from JSON`,
|
|
1045
|
+
);
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
/** @internal */
|
|
1049
|
+
export const GetPromptVersionResponseFormat1$inboundSchema: z.ZodType<
|
|
1050
|
+
GetPromptVersionResponseFormat1,
|
|
1051
|
+
z.ZodTypeDef,
|
|
1052
|
+
unknown
|
|
1053
|
+
> = z.union([
|
|
1054
|
+
z.lazy(() => GetPromptVersion11$inboundSchema),
|
|
1055
|
+
z.lazy(() => GetPromptVersion12$inboundSchema),
|
|
1056
|
+
z.lazy(() => GetPromptVersion13$inboundSchema),
|
|
1057
|
+
]);
|
|
1058
|
+
|
|
1059
|
+
/** @internal */
|
|
1060
|
+
export type GetPromptVersionResponseFormat1$Outbound =
|
|
1061
|
+
| GetPromptVersion11$Outbound
|
|
1062
|
+
| GetPromptVersion12$Outbound
|
|
1063
|
+
| GetPromptVersion13$Outbound;
|
|
1064
|
+
|
|
1065
|
+
/** @internal */
|
|
1066
|
+
export const GetPromptVersionResponseFormat1$outboundSchema: z.ZodType<
|
|
1067
|
+
GetPromptVersionResponseFormat1$Outbound,
|
|
1068
|
+
z.ZodTypeDef,
|
|
1069
|
+
GetPromptVersionResponseFormat1
|
|
1070
|
+
> = z.union([
|
|
1071
|
+
z.lazy(() => GetPromptVersion11$outboundSchema),
|
|
1072
|
+
z.lazy(() => GetPromptVersion12$outboundSchema),
|
|
1073
|
+
z.lazy(() => GetPromptVersion13$outboundSchema),
|
|
1074
|
+
]);
|
|
1075
|
+
|
|
932
1076
|
/**
|
|
933
1077
|
* @internal
|
|
934
1078
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -968,16 +1112,24 @@ export const GetPromptVersionResponseFormat$inboundSchema: z.ZodType<
|
|
|
968
1112
|
z.ZodTypeDef,
|
|
969
1113
|
unknown
|
|
970
1114
|
> = z.union([
|
|
971
|
-
z.
|
|
972
|
-
|
|
973
|
-
|
|
1115
|
+
z.union([
|
|
1116
|
+
z.lazy(() => GetPromptVersion11$inboundSchema),
|
|
1117
|
+
z.lazy(() => GetPromptVersion12$inboundSchema),
|
|
1118
|
+
z.lazy(() => GetPromptVersion13$inboundSchema),
|
|
1119
|
+
]),
|
|
1120
|
+
GetPromptVersionResponseFormat2$inboundSchema,
|
|
1121
|
+
GetPromptVersionResponseFormat3$inboundSchema,
|
|
1122
|
+
GetPromptVersionResponseFormat4$inboundSchema,
|
|
974
1123
|
]);
|
|
975
1124
|
|
|
976
1125
|
/** @internal */
|
|
977
1126
|
export type GetPromptVersionResponseFormat$Outbound =
|
|
978
|
-
|
|
|
979
|
-
|
|
|
980
|
-
|
|
|
1127
|
+
| GetPromptVersion11$Outbound
|
|
1128
|
+
| GetPromptVersion12$Outbound
|
|
1129
|
+
| GetPromptVersion13$Outbound
|
|
1130
|
+
| string
|
|
1131
|
+
| string
|
|
1132
|
+
| string;
|
|
981
1133
|
|
|
982
1134
|
/** @internal */
|
|
983
1135
|
export const GetPromptVersionResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -985,9 +1137,14 @@ export const GetPromptVersionResponseFormat$outboundSchema: z.ZodType<
|
|
|
985
1137
|
z.ZodTypeDef,
|
|
986
1138
|
GetPromptVersionResponseFormat
|
|
987
1139
|
> = z.union([
|
|
988
|
-
z.
|
|
989
|
-
|
|
990
|
-
|
|
1140
|
+
z.union([
|
|
1141
|
+
z.lazy(() => GetPromptVersion11$outboundSchema),
|
|
1142
|
+
z.lazy(() => GetPromptVersion12$outboundSchema),
|
|
1143
|
+
z.lazy(() => GetPromptVersion13$outboundSchema),
|
|
1144
|
+
]),
|
|
1145
|
+
GetPromptVersionResponseFormat2$outboundSchema,
|
|
1146
|
+
GetPromptVersionResponseFormat3$outboundSchema,
|
|
1147
|
+
GetPromptVersionResponseFormat4$outboundSchema,
|
|
991
1148
|
]);
|
|
992
1149
|
|
|
993
1150
|
/**
|
|
@@ -1127,9 +1284,14 @@ export const GetPromptVersionModelParameters$inboundSchema: z.ZodType<
|
|
|
1127
1284
|
style: z.string().optional(),
|
|
1128
1285
|
responseFormat: z.nullable(
|
|
1129
1286
|
z.union([
|
|
1130
|
-
z.
|
|
1131
|
-
|
|
1132
|
-
|
|
1287
|
+
z.union([
|
|
1288
|
+
z.lazy(() => GetPromptVersion11$inboundSchema),
|
|
1289
|
+
z.lazy(() => GetPromptVersion12$inboundSchema),
|
|
1290
|
+
z.lazy(() => GetPromptVersion13$inboundSchema),
|
|
1291
|
+
]),
|
|
1292
|
+
GetPromptVersionResponseFormat2$inboundSchema,
|
|
1293
|
+
GetPromptVersionResponseFormat3$inboundSchema,
|
|
1294
|
+
GetPromptVersionResponseFormat4$inboundSchema,
|
|
1133
1295
|
]),
|
|
1134
1296
|
).optional(),
|
|
1135
1297
|
photoRealVersion: GetPromptVersionPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1158,9 +1320,12 @@ export type GetPromptVersionModelParameters$Outbound = {
|
|
|
1158
1320
|
quality?: string | undefined;
|
|
1159
1321
|
style?: string | undefined;
|
|
1160
1322
|
responseFormat?:
|
|
1161
|
-
|
|
|
1162
|
-
|
|
|
1163
|
-
|
|
|
1323
|
+
| GetPromptVersion11$Outbound
|
|
1324
|
+
| GetPromptVersion12$Outbound
|
|
1325
|
+
| GetPromptVersion13$Outbound
|
|
1326
|
+
| string
|
|
1327
|
+
| string
|
|
1328
|
+
| string
|
|
1164
1329
|
| null
|
|
1165
1330
|
| undefined;
|
|
1166
1331
|
photoRealVersion?: string | undefined;
|
|
@@ -1190,9 +1355,14 @@ export const GetPromptVersionModelParameters$outboundSchema: z.ZodType<
|
|
|
1190
1355
|
style: z.string().optional(),
|
|
1191
1356
|
responseFormat: z.nullable(
|
|
1192
1357
|
z.union([
|
|
1193
|
-
z.
|
|
1194
|
-
|
|
1195
|
-
|
|
1358
|
+
z.union([
|
|
1359
|
+
z.lazy(() => GetPromptVersion11$outboundSchema),
|
|
1360
|
+
z.lazy(() => GetPromptVersion12$outboundSchema),
|
|
1361
|
+
z.lazy(() => GetPromptVersion13$outboundSchema),
|
|
1362
|
+
]),
|
|
1363
|
+
GetPromptVersionResponseFormat2$outboundSchema,
|
|
1364
|
+
GetPromptVersionResponseFormat3$outboundSchema,
|
|
1365
|
+
GetPromptVersionResponseFormat4$outboundSchema,
|
|
1196
1366
|
]),
|
|
1197
1367
|
).optional(),
|
|
1198
1368
|
photoRealVersion: GetPromptVersionPhotoRealVersion$outboundSchema.optional(),
|