@orq-ai/node 3.12.16 → 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/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
|
@@ -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
|
|
@@ -235,9 +272,12 @@ export type GetPromptVersionModelParameters = {
|
|
|
235
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.
|
|
236
273
|
*/
|
|
237
274
|
responseFormat?:
|
|
238
|
-
|
|
|
275
|
+
| GetPromptVersion11
|
|
276
|
+
| GetPromptVersion12
|
|
277
|
+
| GetPromptVersion13
|
|
239
278
|
| GetPromptVersionResponseFormat2
|
|
240
279
|
| GetPromptVersionResponseFormat3
|
|
280
|
+
| GetPromptVersionResponseFormat4
|
|
241
281
|
| null
|
|
242
282
|
| undefined;
|
|
243
283
|
/**
|
|
@@ -642,188 +682,245 @@ export namespace GetPromptVersionFormat$ {
|
|
|
642
682
|
}
|
|
643
683
|
|
|
644
684
|
/** @internal */
|
|
645
|
-
export const
|
|
646
|
-
|
|
647
|
-
|
|
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);
|
|
648
709
|
|
|
649
710
|
/** @internal */
|
|
650
|
-
export const
|
|
651
|
-
|
|
652
|
-
|
|
711
|
+
export const GetPromptVersionResponseFormat3$outboundSchema: z.ZodNativeEnum<
|
|
712
|
+
typeof GetPromptVersionResponseFormat3
|
|
713
|
+
> = GetPromptVersionResponseFormat3$inboundSchema;
|
|
653
714
|
|
|
654
715
|
/**
|
|
655
716
|
* @internal
|
|
656
717
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
657
718
|
*/
|
|
658
|
-
export namespace
|
|
659
|
-
/** @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. */
|
|
660
764
|
export const inboundSchema =
|
|
661
|
-
|
|
662
|
-
/** @deprecated use `
|
|
765
|
+
GetPromptVersion1PromptsResponseType$inboundSchema;
|
|
766
|
+
/** @deprecated use `GetPromptVersion1PromptsResponseType$outboundSchema` instead. */
|
|
663
767
|
export const outboundSchema =
|
|
664
|
-
|
|
768
|
+
GetPromptVersion1PromptsResponseType$outboundSchema;
|
|
665
769
|
}
|
|
666
770
|
|
|
667
771
|
/** @internal */
|
|
668
|
-
export const
|
|
669
|
-
|
|
772
|
+
export const GetPromptVersion13$inboundSchema: z.ZodType<
|
|
773
|
+
GetPromptVersion13,
|
|
670
774
|
z.ZodTypeDef,
|
|
671
775
|
unknown
|
|
672
776
|
> = z.object({
|
|
673
|
-
type:
|
|
777
|
+
type: GetPromptVersion1PromptsResponseType$inboundSchema,
|
|
674
778
|
});
|
|
675
779
|
|
|
676
780
|
/** @internal */
|
|
677
|
-
export type
|
|
781
|
+
export type GetPromptVersion13$Outbound = {
|
|
678
782
|
type: string;
|
|
679
783
|
};
|
|
680
784
|
|
|
681
785
|
/** @internal */
|
|
682
|
-
export const
|
|
683
|
-
|
|
786
|
+
export const GetPromptVersion13$outboundSchema: z.ZodType<
|
|
787
|
+
GetPromptVersion13$Outbound,
|
|
684
788
|
z.ZodTypeDef,
|
|
685
|
-
|
|
789
|
+
GetPromptVersion13
|
|
686
790
|
> = z.object({
|
|
687
|
-
type:
|
|
791
|
+
type: GetPromptVersion1PromptsResponseType$outboundSchema,
|
|
688
792
|
});
|
|
689
793
|
|
|
690
794
|
/**
|
|
691
795
|
* @internal
|
|
692
796
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
693
797
|
*/
|
|
694
|
-
export namespace
|
|
695
|
-
/** @deprecated use `
|
|
696
|
-
export const inboundSchema =
|
|
697
|
-
/** @deprecated use `
|
|
698
|
-
export const outboundSchema =
|
|
699
|
-
/** @deprecated use `
|
|
700
|
-
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;
|
|
701
805
|
}
|
|
702
806
|
|
|
703
|
-
export function
|
|
704
|
-
|
|
807
|
+
export function getPromptVersion13ToJSON(
|
|
808
|
+
getPromptVersion13: GetPromptVersion13,
|
|
705
809
|
): string {
|
|
706
810
|
return JSON.stringify(
|
|
707
|
-
|
|
708
|
-
getPromptVersionResponseFormat3,
|
|
709
|
-
),
|
|
811
|
+
GetPromptVersion13$outboundSchema.parse(getPromptVersion13),
|
|
710
812
|
);
|
|
711
813
|
}
|
|
712
814
|
|
|
713
|
-
export function
|
|
815
|
+
export function getPromptVersion13FromJSON(
|
|
714
816
|
jsonString: string,
|
|
715
|
-
): SafeParseResult<
|
|
817
|
+
): SafeParseResult<GetPromptVersion13, SDKValidationError> {
|
|
716
818
|
return safeParse(
|
|
717
819
|
jsonString,
|
|
718
|
-
(x) =>
|
|
719
|
-
`Failed to parse '
|
|
820
|
+
(x) => GetPromptVersion13$inboundSchema.parse(JSON.parse(x)),
|
|
821
|
+
`Failed to parse 'GetPromptVersion13' from JSON`,
|
|
720
822
|
);
|
|
721
823
|
}
|
|
722
824
|
|
|
723
825
|
/** @internal */
|
|
724
|
-
export const
|
|
725
|
-
|
|
726
|
-
|
|
826
|
+
export const GetPromptVersion1PromptsType$inboundSchema: z.ZodNativeEnum<
|
|
827
|
+
typeof GetPromptVersion1PromptsType
|
|
828
|
+
> = z.nativeEnum(GetPromptVersion1PromptsType);
|
|
727
829
|
|
|
728
830
|
/** @internal */
|
|
729
|
-
export const
|
|
730
|
-
|
|
731
|
-
|
|
831
|
+
export const GetPromptVersion1PromptsType$outboundSchema: z.ZodNativeEnum<
|
|
832
|
+
typeof GetPromptVersion1PromptsType
|
|
833
|
+
> = GetPromptVersion1PromptsType$inboundSchema;
|
|
732
834
|
|
|
733
835
|
/**
|
|
734
836
|
* @internal
|
|
735
837
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
736
838
|
*/
|
|
737
|
-
export namespace
|
|
738
|
-
/** @deprecated use `
|
|
739
|
-
export const inboundSchema =
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
export const outboundSchema =
|
|
743
|
-
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;
|
|
744
844
|
}
|
|
745
845
|
|
|
746
846
|
/** @internal */
|
|
747
|
-
export const
|
|
748
|
-
|
|
847
|
+
export const GetPromptVersion12$inboundSchema: z.ZodType<
|
|
848
|
+
GetPromptVersion12,
|
|
749
849
|
z.ZodTypeDef,
|
|
750
850
|
unknown
|
|
751
851
|
> = z.object({
|
|
752
|
-
type:
|
|
852
|
+
type: GetPromptVersion1PromptsType$inboundSchema,
|
|
753
853
|
});
|
|
754
854
|
|
|
755
855
|
/** @internal */
|
|
756
|
-
export type
|
|
856
|
+
export type GetPromptVersion12$Outbound = {
|
|
757
857
|
type: string;
|
|
758
858
|
};
|
|
759
859
|
|
|
760
860
|
/** @internal */
|
|
761
|
-
export const
|
|
762
|
-
|
|
861
|
+
export const GetPromptVersion12$outboundSchema: z.ZodType<
|
|
862
|
+
GetPromptVersion12$Outbound,
|
|
763
863
|
z.ZodTypeDef,
|
|
764
|
-
|
|
864
|
+
GetPromptVersion12
|
|
765
865
|
> = z.object({
|
|
766
|
-
type:
|
|
866
|
+
type: GetPromptVersion1PromptsType$outboundSchema,
|
|
767
867
|
});
|
|
768
868
|
|
|
769
869
|
/**
|
|
770
870
|
* @internal
|
|
771
871
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
772
872
|
*/
|
|
773
|
-
export namespace
|
|
774
|
-
/** @deprecated use `
|
|
775
|
-
export const inboundSchema =
|
|
776
|
-
/** @deprecated use `
|
|
777
|
-
export const outboundSchema =
|
|
778
|
-
/** @deprecated use `
|
|
779
|
-
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;
|
|
780
880
|
}
|
|
781
881
|
|
|
782
|
-
export function
|
|
783
|
-
|
|
882
|
+
export function getPromptVersion12ToJSON(
|
|
883
|
+
getPromptVersion12: GetPromptVersion12,
|
|
784
884
|
): string {
|
|
785
885
|
return JSON.stringify(
|
|
786
|
-
|
|
787
|
-
getPromptVersionResponseFormat2,
|
|
788
|
-
),
|
|
886
|
+
GetPromptVersion12$outboundSchema.parse(getPromptVersion12),
|
|
789
887
|
);
|
|
790
888
|
}
|
|
791
889
|
|
|
792
|
-
export function
|
|
890
|
+
export function getPromptVersion12FromJSON(
|
|
793
891
|
jsonString: string,
|
|
794
|
-
): SafeParseResult<
|
|
892
|
+
): SafeParseResult<GetPromptVersion12, SDKValidationError> {
|
|
795
893
|
return safeParse(
|
|
796
894
|
jsonString,
|
|
797
|
-
(x) =>
|
|
798
|
-
`Failed to parse '
|
|
895
|
+
(x) => GetPromptVersion12$inboundSchema.parse(JSON.parse(x)),
|
|
896
|
+
`Failed to parse 'GetPromptVersion12' from JSON`,
|
|
799
897
|
);
|
|
800
898
|
}
|
|
801
899
|
|
|
802
900
|
/** @internal */
|
|
803
|
-
export const
|
|
804
|
-
typeof
|
|
805
|
-
> = z.nativeEnum(
|
|
901
|
+
export const GetPromptVersion1Type$inboundSchema: z.ZodNativeEnum<
|
|
902
|
+
typeof GetPromptVersion1Type
|
|
903
|
+
> = z.nativeEnum(GetPromptVersion1Type);
|
|
806
904
|
|
|
807
905
|
/** @internal */
|
|
808
|
-
export const
|
|
809
|
-
typeof
|
|
810
|
-
> =
|
|
906
|
+
export const GetPromptVersion1Type$outboundSchema: z.ZodNativeEnum<
|
|
907
|
+
typeof GetPromptVersion1Type
|
|
908
|
+
> = GetPromptVersion1Type$inboundSchema;
|
|
811
909
|
|
|
812
910
|
/**
|
|
813
911
|
* @internal
|
|
814
912
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
815
913
|
*/
|
|
816
|
-
export namespace
|
|
817
|
-
/** @deprecated use `
|
|
818
|
-
export const inboundSchema =
|
|
819
|
-
/** @deprecated use `
|
|
820
|
-
export const outboundSchema =
|
|
821
|
-
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;
|
|
822
919
|
}
|
|
823
920
|
|
|
824
921
|
/** @internal */
|
|
825
|
-
export const
|
|
826
|
-
|
|
922
|
+
export const GetPromptVersion1JsonSchema$inboundSchema: z.ZodType<
|
|
923
|
+
GetPromptVersion1JsonSchema,
|
|
827
924
|
z.ZodTypeDef,
|
|
828
925
|
unknown
|
|
829
926
|
> = z.object({
|
|
@@ -833,17 +930,17 @@ export const GetPromptVersionResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
833
930
|
});
|
|
834
931
|
|
|
835
932
|
/** @internal */
|
|
836
|
-
export type
|
|
933
|
+
export type GetPromptVersion1JsonSchema$Outbound = {
|
|
837
934
|
name: string;
|
|
838
935
|
strict?: boolean | undefined;
|
|
839
936
|
schema: { [k: string]: any };
|
|
840
937
|
};
|
|
841
938
|
|
|
842
939
|
/** @internal */
|
|
843
|
-
export const
|
|
844
|
-
|
|
940
|
+
export const GetPromptVersion1JsonSchema$outboundSchema: z.ZodType<
|
|
941
|
+
GetPromptVersion1JsonSchema$Outbound,
|
|
845
942
|
z.ZodTypeDef,
|
|
846
|
-
|
|
943
|
+
GetPromptVersion1JsonSchema
|
|
847
944
|
> = z.object({
|
|
848
945
|
name: z.string(),
|
|
849
946
|
strict: z.boolean().optional(),
|
|
@@ -854,54 +951,43 @@ export const GetPromptVersionResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
854
951
|
* @internal
|
|
855
952
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
856
953
|
*/
|
|
857
|
-
export namespace
|
|
858
|
-
/** @deprecated use `
|
|
859
|
-
export const inboundSchema =
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
/** @deprecated use `GetPromptVersionResponseFormatJsonSchema$Outbound` instead. */
|
|
865
|
-
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;
|
|
866
961
|
}
|
|
867
962
|
|
|
868
|
-
export function
|
|
869
|
-
|
|
870
|
-
GetPromptVersionResponseFormatJsonSchema,
|
|
963
|
+
export function getPromptVersion1JsonSchemaToJSON(
|
|
964
|
+
getPromptVersion1JsonSchema: GetPromptVersion1JsonSchema,
|
|
871
965
|
): string {
|
|
872
966
|
return JSON.stringify(
|
|
873
|
-
|
|
874
|
-
|
|
967
|
+
GetPromptVersion1JsonSchema$outboundSchema.parse(
|
|
968
|
+
getPromptVersion1JsonSchema,
|
|
875
969
|
),
|
|
876
970
|
);
|
|
877
971
|
}
|
|
878
972
|
|
|
879
|
-
export function
|
|
973
|
+
export function getPromptVersion1JsonSchemaFromJSON(
|
|
880
974
|
jsonString: string,
|
|
881
|
-
): SafeParseResult<
|
|
882
|
-
GetPromptVersionResponseFormatJsonSchema,
|
|
883
|
-
SDKValidationError
|
|
884
|
-
> {
|
|
975
|
+
): SafeParseResult<GetPromptVersion1JsonSchema, SDKValidationError> {
|
|
885
976
|
return safeParse(
|
|
886
977
|
jsonString,
|
|
887
|
-
(x) =>
|
|
888
|
-
|
|
889
|
-
JSON.parse(x),
|
|
890
|
-
),
|
|
891
|
-
`Failed to parse 'GetPromptVersionResponseFormatJsonSchema' from JSON`,
|
|
978
|
+
(x) => GetPromptVersion1JsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
979
|
+
`Failed to parse 'GetPromptVersion1JsonSchema' from JSON`,
|
|
892
980
|
);
|
|
893
981
|
}
|
|
894
982
|
|
|
895
983
|
/** @internal */
|
|
896
|
-
export const
|
|
897
|
-
|
|
984
|
+
export const GetPromptVersion11$inboundSchema: z.ZodType<
|
|
985
|
+
GetPromptVersion11,
|
|
898
986
|
z.ZodTypeDef,
|
|
899
987
|
unknown
|
|
900
988
|
> = z.object({
|
|
901
|
-
type:
|
|
902
|
-
json_schema: z.lazy(() =>
|
|
903
|
-
GetPromptVersionResponseFormatJsonSchema$inboundSchema
|
|
904
|
-
),
|
|
989
|
+
type: GetPromptVersion1Type$inboundSchema,
|
|
990
|
+
json_schema: z.lazy(() => GetPromptVersion1JsonSchema$inboundSchema),
|
|
905
991
|
}).transform((v) => {
|
|
906
992
|
return remap$(v, {
|
|
907
993
|
"json_schema": "jsonSchema",
|
|
@@ -909,27 +995,84 @@ export const GetPromptVersionResponseFormat1$inboundSchema: z.ZodType<
|
|
|
909
995
|
});
|
|
910
996
|
|
|
911
997
|
/** @internal */
|
|
912
|
-
export type
|
|
998
|
+
export type GetPromptVersion11$Outbound = {
|
|
913
999
|
type: string;
|
|
914
|
-
json_schema:
|
|
1000
|
+
json_schema: GetPromptVersion1JsonSchema$Outbound;
|
|
915
1001
|
};
|
|
916
1002
|
|
|
917
1003
|
/** @internal */
|
|
918
|
-
export const
|
|
919
|
-
|
|
1004
|
+
export const GetPromptVersion11$outboundSchema: z.ZodType<
|
|
1005
|
+
GetPromptVersion11$Outbound,
|
|
920
1006
|
z.ZodTypeDef,
|
|
921
|
-
|
|
1007
|
+
GetPromptVersion11
|
|
922
1008
|
> = z.object({
|
|
923
|
-
type:
|
|
924
|
-
jsonSchema: z.lazy(() =>
|
|
925
|
-
GetPromptVersionResponseFormatJsonSchema$outboundSchema
|
|
926
|
-
),
|
|
1009
|
+
type: GetPromptVersion1Type$outboundSchema,
|
|
1010
|
+
jsonSchema: z.lazy(() => GetPromptVersion1JsonSchema$outboundSchema),
|
|
927
1011
|
}).transform((v) => {
|
|
928
1012
|
return remap$(v, {
|
|
929
1013
|
jsonSchema: "json_schema",
|
|
930
1014
|
});
|
|
931
1015
|
});
|
|
932
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
|
+
|
|
933
1076
|
/**
|
|
934
1077
|
* @internal
|
|
935
1078
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -969,16 +1112,24 @@ export const GetPromptVersionResponseFormat$inboundSchema: z.ZodType<
|
|
|
969
1112
|
z.ZodTypeDef,
|
|
970
1113
|
unknown
|
|
971
1114
|
> = z.union([
|
|
972
|
-
z.
|
|
973
|
-
|
|
974
|
-
|
|
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,
|
|
975
1123
|
]);
|
|
976
1124
|
|
|
977
1125
|
/** @internal */
|
|
978
1126
|
export type GetPromptVersionResponseFormat$Outbound =
|
|
979
|
-
|
|
|
980
|
-
|
|
|
981
|
-
|
|
|
1127
|
+
| GetPromptVersion11$Outbound
|
|
1128
|
+
| GetPromptVersion12$Outbound
|
|
1129
|
+
| GetPromptVersion13$Outbound
|
|
1130
|
+
| string
|
|
1131
|
+
| string
|
|
1132
|
+
| string;
|
|
982
1133
|
|
|
983
1134
|
/** @internal */
|
|
984
1135
|
export const GetPromptVersionResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -986,9 +1137,14 @@ export const GetPromptVersionResponseFormat$outboundSchema: z.ZodType<
|
|
|
986
1137
|
z.ZodTypeDef,
|
|
987
1138
|
GetPromptVersionResponseFormat
|
|
988
1139
|
> = z.union([
|
|
989
|
-
z.
|
|
990
|
-
|
|
991
|
-
|
|
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,
|
|
992
1148
|
]);
|
|
993
1149
|
|
|
994
1150
|
/**
|
|
@@ -1128,9 +1284,14 @@ export const GetPromptVersionModelParameters$inboundSchema: z.ZodType<
|
|
|
1128
1284
|
style: z.string().optional(),
|
|
1129
1285
|
responseFormat: z.nullable(
|
|
1130
1286
|
z.union([
|
|
1131
|
-
z.
|
|
1132
|
-
|
|
1133
|
-
|
|
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,
|
|
1134
1295
|
]),
|
|
1135
1296
|
).optional(),
|
|
1136
1297
|
photoRealVersion: GetPromptVersionPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1159,9 +1320,12 @@ export type GetPromptVersionModelParameters$Outbound = {
|
|
|
1159
1320
|
quality?: string | undefined;
|
|
1160
1321
|
style?: string | undefined;
|
|
1161
1322
|
responseFormat?:
|
|
1162
|
-
|
|
|
1163
|
-
|
|
|
1164
|
-
|
|
|
1323
|
+
| GetPromptVersion11$Outbound
|
|
1324
|
+
| GetPromptVersion12$Outbound
|
|
1325
|
+
| GetPromptVersion13$Outbound
|
|
1326
|
+
| string
|
|
1327
|
+
| string
|
|
1328
|
+
| string
|
|
1165
1329
|
| null
|
|
1166
1330
|
| undefined;
|
|
1167
1331
|
photoRealVersion?: string | undefined;
|
|
@@ -1191,9 +1355,14 @@ export const GetPromptVersionModelParameters$outboundSchema: z.ZodType<
|
|
|
1191
1355
|
style: z.string().optional(),
|
|
1192
1356
|
responseFormat: z.nullable(
|
|
1193
1357
|
z.union([
|
|
1194
|
-
z.
|
|
1195
|
-
|
|
1196
|
-
|
|
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,
|
|
1197
1366
|
]),
|
|
1198
1367
|
).optional(),
|
|
1199
1368
|
photoRealVersion: GetPromptVersionPhotoRealVersion$outboundSchema.optional(),
|