@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
|
@@ -54,46 +54,80 @@ export const GetOnePromptFormat = {
|
|
|
54
54
|
*/
|
|
55
55
|
export type GetOnePromptFormat = ClosedEnum<typeof GetOnePromptFormat>;
|
|
56
56
|
|
|
57
|
-
export const
|
|
57
|
+
export const GetOnePromptResponseFormat4 = {
|
|
58
|
+
Json: "json",
|
|
58
59
|
Text: "text",
|
|
60
|
+
Srt: "srt",
|
|
61
|
+
VerboseJson: "verbose_json",
|
|
62
|
+
Vtt: "vtt",
|
|
59
63
|
} as const;
|
|
60
|
-
export type
|
|
61
|
-
typeof
|
|
64
|
+
export type GetOnePromptResponseFormat4 = ClosedEnum<
|
|
65
|
+
typeof GetOnePromptResponseFormat4
|
|
62
66
|
>;
|
|
63
67
|
|
|
64
|
-
export
|
|
65
|
-
|
|
68
|
+
export const GetOnePromptResponseFormat3 = {
|
|
69
|
+
Url: "url",
|
|
70
|
+
Base64Json: "base64_json",
|
|
71
|
+
} as const;
|
|
72
|
+
export type GetOnePromptResponseFormat3 = ClosedEnum<
|
|
73
|
+
typeof GetOnePromptResponseFormat3
|
|
74
|
+
>;
|
|
75
|
+
|
|
76
|
+
export const GetOnePromptResponseFormat2 = {
|
|
77
|
+
Mp3: "mp3",
|
|
78
|
+
Opus: "opus",
|
|
79
|
+
Aac: "aac",
|
|
80
|
+
Flac: "flac",
|
|
81
|
+
Wav: "wav",
|
|
82
|
+
Pcm: "pcm",
|
|
83
|
+
} as const;
|
|
84
|
+
export type GetOnePromptResponseFormat2 = ClosedEnum<
|
|
85
|
+
typeof GetOnePromptResponseFormat2
|
|
86
|
+
>;
|
|
87
|
+
|
|
88
|
+
export const GetOnePrompt1PromptsResponseType = {
|
|
89
|
+
Text: "text",
|
|
90
|
+
} as const;
|
|
91
|
+
export type GetOnePrompt1PromptsResponseType = ClosedEnum<
|
|
92
|
+
typeof GetOnePrompt1PromptsResponseType
|
|
93
|
+
>;
|
|
94
|
+
|
|
95
|
+
export type GetOnePrompt13 = {
|
|
96
|
+
type: GetOnePrompt1PromptsResponseType;
|
|
66
97
|
};
|
|
67
98
|
|
|
68
|
-
export const
|
|
99
|
+
export const GetOnePrompt1PromptsType = {
|
|
69
100
|
JsonObject: "json_object",
|
|
70
101
|
} as const;
|
|
71
|
-
export type
|
|
72
|
-
typeof
|
|
102
|
+
export type GetOnePrompt1PromptsType = ClosedEnum<
|
|
103
|
+
typeof GetOnePrompt1PromptsType
|
|
73
104
|
>;
|
|
74
105
|
|
|
75
|
-
export type
|
|
76
|
-
type:
|
|
106
|
+
export type GetOnePrompt12 = {
|
|
107
|
+
type: GetOnePrompt1PromptsType;
|
|
77
108
|
};
|
|
78
109
|
|
|
79
|
-
export const
|
|
110
|
+
export const GetOnePrompt1Type = {
|
|
80
111
|
JsonSchema: "json_schema",
|
|
81
112
|
} as const;
|
|
82
|
-
export type
|
|
83
|
-
typeof GetOnePromptResponseFormatType
|
|
84
|
-
>;
|
|
113
|
+
export type GetOnePrompt1Type = ClosedEnum<typeof GetOnePrompt1Type>;
|
|
85
114
|
|
|
86
|
-
export type
|
|
115
|
+
export type GetOnePrompt1JsonSchema = {
|
|
87
116
|
name: string;
|
|
88
117
|
strict?: boolean | undefined;
|
|
89
118
|
schema: { [k: string]: any };
|
|
90
119
|
};
|
|
91
120
|
|
|
92
|
-
export type
|
|
93
|
-
type:
|
|
94
|
-
jsonSchema:
|
|
121
|
+
export type GetOnePrompt11 = {
|
|
122
|
+
type: GetOnePrompt1Type;
|
|
123
|
+
jsonSchema: GetOnePrompt1JsonSchema;
|
|
95
124
|
};
|
|
96
125
|
|
|
126
|
+
export type GetOnePromptResponseFormat1 =
|
|
127
|
+
| GetOnePrompt11
|
|
128
|
+
| GetOnePrompt12
|
|
129
|
+
| GetOnePrompt13;
|
|
130
|
+
|
|
97
131
|
/**
|
|
98
132
|
* An object specifying the format that the model must output.
|
|
99
133
|
*
|
|
@@ -106,9 +140,12 @@ export type GetOnePromptResponseFormat1 = {
|
|
|
106
140
|
* 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.
|
|
107
141
|
*/
|
|
108
142
|
export type GetOnePromptResponseFormat =
|
|
109
|
-
|
|
|
143
|
+
| GetOnePrompt11
|
|
144
|
+
| GetOnePrompt12
|
|
145
|
+
| GetOnePrompt13
|
|
110
146
|
| GetOnePromptResponseFormat2
|
|
111
|
-
| GetOnePromptResponseFormat3
|
|
147
|
+
| GetOnePromptResponseFormat3
|
|
148
|
+
| GetOnePromptResponseFormat4;
|
|
112
149
|
|
|
113
150
|
/**
|
|
114
151
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -143,6 +180,7 @@ export type GetOnePromptEncodingFormat = ClosedEnum<
|
|
|
143
180
|
*/
|
|
144
181
|
export const GetOnePromptReasoningEffort = {
|
|
145
182
|
Disable: "disable",
|
|
183
|
+
Minimal: "minimal",
|
|
146
184
|
Low: "low",
|
|
147
185
|
Medium: "medium",
|
|
148
186
|
High: "high",
|
|
@@ -231,9 +269,12 @@ export type GetOnePromptModelParameters = {
|
|
|
231
269
|
* 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.
|
|
232
270
|
*/
|
|
233
271
|
responseFormat?:
|
|
234
|
-
|
|
|
272
|
+
| GetOnePrompt11
|
|
273
|
+
| GetOnePrompt12
|
|
274
|
+
| GetOnePrompt13
|
|
235
275
|
| GetOnePromptResponseFormat2
|
|
236
276
|
| GetOnePromptResponseFormat3
|
|
277
|
+
| GetOnePromptResponseFormat4
|
|
237
278
|
| null
|
|
238
279
|
| undefined;
|
|
239
280
|
/**
|
|
@@ -648,188 +689,234 @@ export namespace GetOnePromptFormat$ {
|
|
|
648
689
|
}
|
|
649
690
|
|
|
650
691
|
/** @internal */
|
|
651
|
-
export const
|
|
652
|
-
|
|
653
|
-
|
|
692
|
+
export const GetOnePromptResponseFormat4$inboundSchema: z.ZodNativeEnum<
|
|
693
|
+
typeof GetOnePromptResponseFormat4
|
|
694
|
+
> = z.nativeEnum(GetOnePromptResponseFormat4);
|
|
695
|
+
|
|
696
|
+
/** @internal */
|
|
697
|
+
export const GetOnePromptResponseFormat4$outboundSchema: z.ZodNativeEnum<
|
|
698
|
+
typeof GetOnePromptResponseFormat4
|
|
699
|
+
> = GetOnePromptResponseFormat4$inboundSchema;
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* @internal
|
|
703
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
704
|
+
*/
|
|
705
|
+
export namespace GetOnePromptResponseFormat4$ {
|
|
706
|
+
/** @deprecated use `GetOnePromptResponseFormat4$inboundSchema` instead. */
|
|
707
|
+
export const inboundSchema = GetOnePromptResponseFormat4$inboundSchema;
|
|
708
|
+
/** @deprecated use `GetOnePromptResponseFormat4$outboundSchema` instead. */
|
|
709
|
+
export const outboundSchema = GetOnePromptResponseFormat4$outboundSchema;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/** @internal */
|
|
713
|
+
export const GetOnePromptResponseFormat3$inboundSchema: z.ZodNativeEnum<
|
|
714
|
+
typeof GetOnePromptResponseFormat3
|
|
715
|
+
> = z.nativeEnum(GetOnePromptResponseFormat3);
|
|
654
716
|
|
|
655
717
|
/** @internal */
|
|
656
|
-
export const
|
|
657
|
-
|
|
658
|
-
|
|
718
|
+
export const GetOnePromptResponseFormat3$outboundSchema: z.ZodNativeEnum<
|
|
719
|
+
typeof GetOnePromptResponseFormat3
|
|
720
|
+
> = GetOnePromptResponseFormat3$inboundSchema;
|
|
659
721
|
|
|
660
722
|
/**
|
|
661
723
|
* @internal
|
|
662
724
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
663
725
|
*/
|
|
664
|
-
export namespace
|
|
665
|
-
/** @deprecated use `
|
|
666
|
-
export const inboundSchema =
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
export const outboundSchema =
|
|
670
|
-
GetOnePromptResponseFormatPromptsResponseType$outboundSchema;
|
|
726
|
+
export namespace GetOnePromptResponseFormat3$ {
|
|
727
|
+
/** @deprecated use `GetOnePromptResponseFormat3$inboundSchema` instead. */
|
|
728
|
+
export const inboundSchema = GetOnePromptResponseFormat3$inboundSchema;
|
|
729
|
+
/** @deprecated use `GetOnePromptResponseFormat3$outboundSchema` instead. */
|
|
730
|
+
export const outboundSchema = GetOnePromptResponseFormat3$outboundSchema;
|
|
671
731
|
}
|
|
672
732
|
|
|
673
733
|
/** @internal */
|
|
674
|
-
export const
|
|
675
|
-
|
|
734
|
+
export const GetOnePromptResponseFormat2$inboundSchema: z.ZodNativeEnum<
|
|
735
|
+
typeof GetOnePromptResponseFormat2
|
|
736
|
+
> = z.nativeEnum(GetOnePromptResponseFormat2);
|
|
737
|
+
|
|
738
|
+
/** @internal */
|
|
739
|
+
export const GetOnePromptResponseFormat2$outboundSchema: z.ZodNativeEnum<
|
|
740
|
+
typeof GetOnePromptResponseFormat2
|
|
741
|
+
> = GetOnePromptResponseFormat2$inboundSchema;
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* @internal
|
|
745
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
746
|
+
*/
|
|
747
|
+
export namespace GetOnePromptResponseFormat2$ {
|
|
748
|
+
/** @deprecated use `GetOnePromptResponseFormat2$inboundSchema` instead. */
|
|
749
|
+
export const inboundSchema = GetOnePromptResponseFormat2$inboundSchema;
|
|
750
|
+
/** @deprecated use `GetOnePromptResponseFormat2$outboundSchema` instead. */
|
|
751
|
+
export const outboundSchema = GetOnePromptResponseFormat2$outboundSchema;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/** @internal */
|
|
755
|
+
export const GetOnePrompt1PromptsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
756
|
+
typeof GetOnePrompt1PromptsResponseType
|
|
757
|
+
> = z.nativeEnum(GetOnePrompt1PromptsResponseType);
|
|
758
|
+
|
|
759
|
+
/** @internal */
|
|
760
|
+
export const GetOnePrompt1PromptsResponseType$outboundSchema: z.ZodNativeEnum<
|
|
761
|
+
typeof GetOnePrompt1PromptsResponseType
|
|
762
|
+
> = GetOnePrompt1PromptsResponseType$inboundSchema;
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* @internal
|
|
766
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
767
|
+
*/
|
|
768
|
+
export namespace GetOnePrompt1PromptsResponseType$ {
|
|
769
|
+
/** @deprecated use `GetOnePrompt1PromptsResponseType$inboundSchema` instead. */
|
|
770
|
+
export const inboundSchema = GetOnePrompt1PromptsResponseType$inboundSchema;
|
|
771
|
+
/** @deprecated use `GetOnePrompt1PromptsResponseType$outboundSchema` instead. */
|
|
772
|
+
export const outboundSchema = GetOnePrompt1PromptsResponseType$outboundSchema;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/** @internal */
|
|
776
|
+
export const GetOnePrompt13$inboundSchema: z.ZodType<
|
|
777
|
+
GetOnePrompt13,
|
|
676
778
|
z.ZodTypeDef,
|
|
677
779
|
unknown
|
|
678
780
|
> = z.object({
|
|
679
|
-
type:
|
|
781
|
+
type: GetOnePrompt1PromptsResponseType$inboundSchema,
|
|
680
782
|
});
|
|
681
783
|
|
|
682
784
|
/** @internal */
|
|
683
|
-
export type
|
|
785
|
+
export type GetOnePrompt13$Outbound = {
|
|
684
786
|
type: string;
|
|
685
787
|
};
|
|
686
788
|
|
|
687
789
|
/** @internal */
|
|
688
|
-
export const
|
|
689
|
-
|
|
790
|
+
export const GetOnePrompt13$outboundSchema: z.ZodType<
|
|
791
|
+
GetOnePrompt13$Outbound,
|
|
690
792
|
z.ZodTypeDef,
|
|
691
|
-
|
|
793
|
+
GetOnePrompt13
|
|
692
794
|
> = z.object({
|
|
693
|
-
type:
|
|
795
|
+
type: GetOnePrompt1PromptsResponseType$outboundSchema,
|
|
694
796
|
});
|
|
695
797
|
|
|
696
798
|
/**
|
|
697
799
|
* @internal
|
|
698
800
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
699
801
|
*/
|
|
700
|
-
export namespace
|
|
701
|
-
/** @deprecated use `
|
|
702
|
-
export const inboundSchema =
|
|
703
|
-
/** @deprecated use `
|
|
704
|
-
export const outboundSchema =
|
|
705
|
-
/** @deprecated use `
|
|
706
|
-
export type Outbound =
|
|
802
|
+
export namespace GetOnePrompt13$ {
|
|
803
|
+
/** @deprecated use `GetOnePrompt13$inboundSchema` instead. */
|
|
804
|
+
export const inboundSchema = GetOnePrompt13$inboundSchema;
|
|
805
|
+
/** @deprecated use `GetOnePrompt13$outboundSchema` instead. */
|
|
806
|
+
export const outboundSchema = GetOnePrompt13$outboundSchema;
|
|
807
|
+
/** @deprecated use `GetOnePrompt13$Outbound` instead. */
|
|
808
|
+
export type Outbound = GetOnePrompt13$Outbound;
|
|
707
809
|
}
|
|
708
810
|
|
|
709
|
-
export function
|
|
710
|
-
|
|
711
|
-
): string {
|
|
712
|
-
return JSON.stringify(
|
|
713
|
-
GetOnePromptResponseFormat3$outboundSchema.parse(
|
|
714
|
-
getOnePromptResponseFormat3,
|
|
715
|
-
),
|
|
716
|
-
);
|
|
811
|
+
export function getOnePrompt13ToJSON(getOnePrompt13: GetOnePrompt13): string {
|
|
812
|
+
return JSON.stringify(GetOnePrompt13$outboundSchema.parse(getOnePrompt13));
|
|
717
813
|
}
|
|
718
814
|
|
|
719
|
-
export function
|
|
815
|
+
export function getOnePrompt13FromJSON(
|
|
720
816
|
jsonString: string,
|
|
721
|
-
): SafeParseResult<
|
|
817
|
+
): SafeParseResult<GetOnePrompt13, SDKValidationError> {
|
|
722
818
|
return safeParse(
|
|
723
819
|
jsonString,
|
|
724
|
-
(x) =>
|
|
725
|
-
`Failed to parse '
|
|
820
|
+
(x) => GetOnePrompt13$inboundSchema.parse(JSON.parse(x)),
|
|
821
|
+
`Failed to parse 'GetOnePrompt13' from JSON`,
|
|
726
822
|
);
|
|
727
823
|
}
|
|
728
824
|
|
|
729
825
|
/** @internal */
|
|
730
|
-
export const
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
);
|
|
826
|
+
export const GetOnePrompt1PromptsType$inboundSchema: z.ZodNativeEnum<
|
|
827
|
+
typeof GetOnePrompt1PromptsType
|
|
828
|
+
> = z.nativeEnum(GetOnePrompt1PromptsType);
|
|
734
829
|
|
|
735
830
|
/** @internal */
|
|
736
|
-
export const
|
|
737
|
-
|
|
738
|
-
|
|
831
|
+
export const GetOnePrompt1PromptsType$outboundSchema: z.ZodNativeEnum<
|
|
832
|
+
typeof GetOnePrompt1PromptsType
|
|
833
|
+
> = GetOnePrompt1PromptsType$inboundSchema;
|
|
739
834
|
|
|
740
835
|
/**
|
|
741
836
|
* @internal
|
|
742
837
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
743
838
|
*/
|
|
744
|
-
export namespace
|
|
745
|
-
/** @deprecated use `
|
|
746
|
-
export const inboundSchema =
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
export const outboundSchema =
|
|
750
|
-
GetOnePromptResponseFormatPromptsType$outboundSchema;
|
|
839
|
+
export namespace GetOnePrompt1PromptsType$ {
|
|
840
|
+
/** @deprecated use `GetOnePrompt1PromptsType$inboundSchema` instead. */
|
|
841
|
+
export const inboundSchema = GetOnePrompt1PromptsType$inboundSchema;
|
|
842
|
+
/** @deprecated use `GetOnePrompt1PromptsType$outboundSchema` instead. */
|
|
843
|
+
export const outboundSchema = GetOnePrompt1PromptsType$outboundSchema;
|
|
751
844
|
}
|
|
752
845
|
|
|
753
846
|
/** @internal */
|
|
754
|
-
export const
|
|
755
|
-
|
|
847
|
+
export const GetOnePrompt12$inboundSchema: z.ZodType<
|
|
848
|
+
GetOnePrompt12,
|
|
756
849
|
z.ZodTypeDef,
|
|
757
850
|
unknown
|
|
758
851
|
> = z.object({
|
|
759
|
-
type:
|
|
852
|
+
type: GetOnePrompt1PromptsType$inboundSchema,
|
|
760
853
|
});
|
|
761
854
|
|
|
762
855
|
/** @internal */
|
|
763
|
-
export type
|
|
856
|
+
export type GetOnePrompt12$Outbound = {
|
|
764
857
|
type: string;
|
|
765
858
|
};
|
|
766
859
|
|
|
767
860
|
/** @internal */
|
|
768
|
-
export const
|
|
769
|
-
|
|
861
|
+
export const GetOnePrompt12$outboundSchema: z.ZodType<
|
|
862
|
+
GetOnePrompt12$Outbound,
|
|
770
863
|
z.ZodTypeDef,
|
|
771
|
-
|
|
864
|
+
GetOnePrompt12
|
|
772
865
|
> = z.object({
|
|
773
|
-
type:
|
|
866
|
+
type: GetOnePrompt1PromptsType$outboundSchema,
|
|
774
867
|
});
|
|
775
868
|
|
|
776
869
|
/**
|
|
777
870
|
* @internal
|
|
778
871
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
779
872
|
*/
|
|
780
|
-
export namespace
|
|
781
|
-
/** @deprecated use `
|
|
782
|
-
export const inboundSchema =
|
|
783
|
-
/** @deprecated use `
|
|
784
|
-
export const outboundSchema =
|
|
785
|
-
/** @deprecated use `
|
|
786
|
-
export type Outbound =
|
|
873
|
+
export namespace GetOnePrompt12$ {
|
|
874
|
+
/** @deprecated use `GetOnePrompt12$inboundSchema` instead. */
|
|
875
|
+
export const inboundSchema = GetOnePrompt12$inboundSchema;
|
|
876
|
+
/** @deprecated use `GetOnePrompt12$outboundSchema` instead. */
|
|
877
|
+
export const outboundSchema = GetOnePrompt12$outboundSchema;
|
|
878
|
+
/** @deprecated use `GetOnePrompt12$Outbound` instead. */
|
|
879
|
+
export type Outbound = GetOnePrompt12$Outbound;
|
|
787
880
|
}
|
|
788
881
|
|
|
789
|
-
export function
|
|
790
|
-
|
|
791
|
-
): string {
|
|
792
|
-
return JSON.stringify(
|
|
793
|
-
GetOnePromptResponseFormat2$outboundSchema.parse(
|
|
794
|
-
getOnePromptResponseFormat2,
|
|
795
|
-
),
|
|
796
|
-
);
|
|
882
|
+
export function getOnePrompt12ToJSON(getOnePrompt12: GetOnePrompt12): string {
|
|
883
|
+
return JSON.stringify(GetOnePrompt12$outboundSchema.parse(getOnePrompt12));
|
|
797
884
|
}
|
|
798
885
|
|
|
799
|
-
export function
|
|
886
|
+
export function getOnePrompt12FromJSON(
|
|
800
887
|
jsonString: string,
|
|
801
|
-
): SafeParseResult<
|
|
888
|
+
): SafeParseResult<GetOnePrompt12, SDKValidationError> {
|
|
802
889
|
return safeParse(
|
|
803
890
|
jsonString,
|
|
804
|
-
(x) =>
|
|
805
|
-
`Failed to parse '
|
|
891
|
+
(x) => GetOnePrompt12$inboundSchema.parse(JSON.parse(x)),
|
|
892
|
+
`Failed to parse 'GetOnePrompt12' from JSON`,
|
|
806
893
|
);
|
|
807
894
|
}
|
|
808
895
|
|
|
809
896
|
/** @internal */
|
|
810
|
-
export const
|
|
811
|
-
typeof
|
|
812
|
-
> = z.nativeEnum(
|
|
897
|
+
export const GetOnePrompt1Type$inboundSchema: z.ZodNativeEnum<
|
|
898
|
+
typeof GetOnePrompt1Type
|
|
899
|
+
> = z.nativeEnum(GetOnePrompt1Type);
|
|
813
900
|
|
|
814
901
|
/** @internal */
|
|
815
|
-
export const
|
|
816
|
-
typeof
|
|
817
|
-
> =
|
|
902
|
+
export const GetOnePrompt1Type$outboundSchema: z.ZodNativeEnum<
|
|
903
|
+
typeof GetOnePrompt1Type
|
|
904
|
+
> = GetOnePrompt1Type$inboundSchema;
|
|
818
905
|
|
|
819
906
|
/**
|
|
820
907
|
* @internal
|
|
821
908
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
822
909
|
*/
|
|
823
|
-
export namespace
|
|
824
|
-
/** @deprecated use `
|
|
825
|
-
export const inboundSchema =
|
|
826
|
-
/** @deprecated use `
|
|
827
|
-
export const outboundSchema =
|
|
910
|
+
export namespace GetOnePrompt1Type$ {
|
|
911
|
+
/** @deprecated use `GetOnePrompt1Type$inboundSchema` instead. */
|
|
912
|
+
export const inboundSchema = GetOnePrompt1Type$inboundSchema;
|
|
913
|
+
/** @deprecated use `GetOnePrompt1Type$outboundSchema` instead. */
|
|
914
|
+
export const outboundSchema = GetOnePrompt1Type$outboundSchema;
|
|
828
915
|
}
|
|
829
916
|
|
|
830
917
|
/** @internal */
|
|
831
|
-
export const
|
|
832
|
-
|
|
918
|
+
export const GetOnePrompt1JsonSchema$inboundSchema: z.ZodType<
|
|
919
|
+
GetOnePrompt1JsonSchema,
|
|
833
920
|
z.ZodTypeDef,
|
|
834
921
|
unknown
|
|
835
922
|
> = z.object({
|
|
@@ -839,17 +926,17 @@ export const GetOnePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
839
926
|
});
|
|
840
927
|
|
|
841
928
|
/** @internal */
|
|
842
|
-
export type
|
|
929
|
+
export type GetOnePrompt1JsonSchema$Outbound = {
|
|
843
930
|
name: string;
|
|
844
931
|
strict?: boolean | undefined;
|
|
845
932
|
schema: { [k: string]: any };
|
|
846
933
|
};
|
|
847
934
|
|
|
848
935
|
/** @internal */
|
|
849
|
-
export const
|
|
850
|
-
|
|
936
|
+
export const GetOnePrompt1JsonSchema$outboundSchema: z.ZodType<
|
|
937
|
+
GetOnePrompt1JsonSchema$Outbound,
|
|
851
938
|
z.ZodTypeDef,
|
|
852
|
-
|
|
939
|
+
GetOnePrompt1JsonSchema
|
|
853
940
|
> = z.object({
|
|
854
941
|
name: z.string(),
|
|
855
942
|
strict: z.boolean().optional(),
|
|
@@ -860,46 +947,41 @@ export const GetOnePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
860
947
|
* @internal
|
|
861
948
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
862
949
|
*/
|
|
863
|
-
export namespace
|
|
864
|
-
/** @deprecated use `
|
|
865
|
-
export const inboundSchema =
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
/** @deprecated use `GetOnePromptResponseFormatJsonSchema$Outbound` instead. */
|
|
871
|
-
export type Outbound = GetOnePromptResponseFormatJsonSchema$Outbound;
|
|
950
|
+
export namespace GetOnePrompt1JsonSchema$ {
|
|
951
|
+
/** @deprecated use `GetOnePrompt1JsonSchema$inboundSchema` instead. */
|
|
952
|
+
export const inboundSchema = GetOnePrompt1JsonSchema$inboundSchema;
|
|
953
|
+
/** @deprecated use `GetOnePrompt1JsonSchema$outboundSchema` instead. */
|
|
954
|
+
export const outboundSchema = GetOnePrompt1JsonSchema$outboundSchema;
|
|
955
|
+
/** @deprecated use `GetOnePrompt1JsonSchema$Outbound` instead. */
|
|
956
|
+
export type Outbound = GetOnePrompt1JsonSchema$Outbound;
|
|
872
957
|
}
|
|
873
958
|
|
|
874
|
-
export function
|
|
875
|
-
|
|
959
|
+
export function getOnePrompt1JsonSchemaToJSON(
|
|
960
|
+
getOnePrompt1JsonSchema: GetOnePrompt1JsonSchema,
|
|
876
961
|
): string {
|
|
877
962
|
return JSON.stringify(
|
|
878
|
-
|
|
879
|
-
getOnePromptResponseFormatJsonSchema,
|
|
880
|
-
),
|
|
963
|
+
GetOnePrompt1JsonSchema$outboundSchema.parse(getOnePrompt1JsonSchema),
|
|
881
964
|
);
|
|
882
965
|
}
|
|
883
966
|
|
|
884
|
-
export function
|
|
967
|
+
export function getOnePrompt1JsonSchemaFromJSON(
|
|
885
968
|
jsonString: string,
|
|
886
|
-
): SafeParseResult<
|
|
969
|
+
): SafeParseResult<GetOnePrompt1JsonSchema, SDKValidationError> {
|
|
887
970
|
return safeParse(
|
|
888
971
|
jsonString,
|
|
889
|
-
(x) =>
|
|
890
|
-
|
|
891
|
-
`Failed to parse 'GetOnePromptResponseFormatJsonSchema' from JSON`,
|
|
972
|
+
(x) => GetOnePrompt1JsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
973
|
+
`Failed to parse 'GetOnePrompt1JsonSchema' from JSON`,
|
|
892
974
|
);
|
|
893
975
|
}
|
|
894
976
|
|
|
895
977
|
/** @internal */
|
|
896
|
-
export const
|
|
897
|
-
|
|
978
|
+
export const GetOnePrompt11$inboundSchema: z.ZodType<
|
|
979
|
+
GetOnePrompt11,
|
|
898
980
|
z.ZodTypeDef,
|
|
899
981
|
unknown
|
|
900
982
|
> = z.object({
|
|
901
|
-
type:
|
|
902
|
-
json_schema: z.lazy(() =>
|
|
983
|
+
type: GetOnePrompt1Type$inboundSchema,
|
|
984
|
+
json_schema: z.lazy(() => GetOnePrompt1JsonSchema$inboundSchema),
|
|
903
985
|
}).transform((v) => {
|
|
904
986
|
return remap$(v, {
|
|
905
987
|
"json_schema": "jsonSchema",
|
|
@@ -907,25 +989,80 @@ export const GetOnePromptResponseFormat1$inboundSchema: z.ZodType<
|
|
|
907
989
|
});
|
|
908
990
|
|
|
909
991
|
/** @internal */
|
|
910
|
-
export type
|
|
992
|
+
export type GetOnePrompt11$Outbound = {
|
|
911
993
|
type: string;
|
|
912
|
-
json_schema:
|
|
994
|
+
json_schema: GetOnePrompt1JsonSchema$Outbound;
|
|
913
995
|
};
|
|
914
996
|
|
|
915
997
|
/** @internal */
|
|
916
|
-
export const
|
|
917
|
-
|
|
998
|
+
export const GetOnePrompt11$outboundSchema: z.ZodType<
|
|
999
|
+
GetOnePrompt11$Outbound,
|
|
918
1000
|
z.ZodTypeDef,
|
|
919
|
-
|
|
1001
|
+
GetOnePrompt11
|
|
920
1002
|
> = z.object({
|
|
921
|
-
type:
|
|
922
|
-
jsonSchema: z.lazy(() =>
|
|
1003
|
+
type: GetOnePrompt1Type$outboundSchema,
|
|
1004
|
+
jsonSchema: z.lazy(() => GetOnePrompt1JsonSchema$outboundSchema),
|
|
923
1005
|
}).transform((v) => {
|
|
924
1006
|
return remap$(v, {
|
|
925
1007
|
jsonSchema: "json_schema",
|
|
926
1008
|
});
|
|
927
1009
|
});
|
|
928
1010
|
|
|
1011
|
+
/**
|
|
1012
|
+
* @internal
|
|
1013
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1014
|
+
*/
|
|
1015
|
+
export namespace GetOnePrompt11$ {
|
|
1016
|
+
/** @deprecated use `GetOnePrompt11$inboundSchema` instead. */
|
|
1017
|
+
export const inboundSchema = GetOnePrompt11$inboundSchema;
|
|
1018
|
+
/** @deprecated use `GetOnePrompt11$outboundSchema` instead. */
|
|
1019
|
+
export const outboundSchema = GetOnePrompt11$outboundSchema;
|
|
1020
|
+
/** @deprecated use `GetOnePrompt11$Outbound` instead. */
|
|
1021
|
+
export type Outbound = GetOnePrompt11$Outbound;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
export function getOnePrompt11ToJSON(getOnePrompt11: GetOnePrompt11): string {
|
|
1025
|
+
return JSON.stringify(GetOnePrompt11$outboundSchema.parse(getOnePrompt11));
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
export function getOnePrompt11FromJSON(
|
|
1029
|
+
jsonString: string,
|
|
1030
|
+
): SafeParseResult<GetOnePrompt11, SDKValidationError> {
|
|
1031
|
+
return safeParse(
|
|
1032
|
+
jsonString,
|
|
1033
|
+
(x) => GetOnePrompt11$inboundSchema.parse(JSON.parse(x)),
|
|
1034
|
+
`Failed to parse 'GetOnePrompt11' from JSON`,
|
|
1035
|
+
);
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
/** @internal */
|
|
1039
|
+
export const GetOnePromptResponseFormat1$inboundSchema: z.ZodType<
|
|
1040
|
+
GetOnePromptResponseFormat1,
|
|
1041
|
+
z.ZodTypeDef,
|
|
1042
|
+
unknown
|
|
1043
|
+
> = z.union([
|
|
1044
|
+
z.lazy(() => GetOnePrompt11$inboundSchema),
|
|
1045
|
+
z.lazy(() => GetOnePrompt12$inboundSchema),
|
|
1046
|
+
z.lazy(() => GetOnePrompt13$inboundSchema),
|
|
1047
|
+
]);
|
|
1048
|
+
|
|
1049
|
+
/** @internal */
|
|
1050
|
+
export type GetOnePromptResponseFormat1$Outbound =
|
|
1051
|
+
| GetOnePrompt11$Outbound
|
|
1052
|
+
| GetOnePrompt12$Outbound
|
|
1053
|
+
| GetOnePrompt13$Outbound;
|
|
1054
|
+
|
|
1055
|
+
/** @internal */
|
|
1056
|
+
export const GetOnePromptResponseFormat1$outboundSchema: z.ZodType<
|
|
1057
|
+
GetOnePromptResponseFormat1$Outbound,
|
|
1058
|
+
z.ZodTypeDef,
|
|
1059
|
+
GetOnePromptResponseFormat1
|
|
1060
|
+
> = z.union([
|
|
1061
|
+
z.lazy(() => GetOnePrompt11$outboundSchema),
|
|
1062
|
+
z.lazy(() => GetOnePrompt12$outboundSchema),
|
|
1063
|
+
z.lazy(() => GetOnePrompt13$outboundSchema),
|
|
1064
|
+
]);
|
|
1065
|
+
|
|
929
1066
|
/**
|
|
930
1067
|
* @internal
|
|
931
1068
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -965,16 +1102,24 @@ export const GetOnePromptResponseFormat$inboundSchema: z.ZodType<
|
|
|
965
1102
|
z.ZodTypeDef,
|
|
966
1103
|
unknown
|
|
967
1104
|
> = z.union([
|
|
968
|
-
z.
|
|
969
|
-
|
|
970
|
-
|
|
1105
|
+
z.union([
|
|
1106
|
+
z.lazy(() => GetOnePrompt11$inboundSchema),
|
|
1107
|
+
z.lazy(() => GetOnePrompt12$inboundSchema),
|
|
1108
|
+
z.lazy(() => GetOnePrompt13$inboundSchema),
|
|
1109
|
+
]),
|
|
1110
|
+
GetOnePromptResponseFormat2$inboundSchema,
|
|
1111
|
+
GetOnePromptResponseFormat3$inboundSchema,
|
|
1112
|
+
GetOnePromptResponseFormat4$inboundSchema,
|
|
971
1113
|
]);
|
|
972
1114
|
|
|
973
1115
|
/** @internal */
|
|
974
1116
|
export type GetOnePromptResponseFormat$Outbound =
|
|
975
|
-
|
|
|
976
|
-
|
|
|
977
|
-
|
|
|
1117
|
+
| GetOnePrompt11$Outbound
|
|
1118
|
+
| GetOnePrompt12$Outbound
|
|
1119
|
+
| GetOnePrompt13$Outbound
|
|
1120
|
+
| string
|
|
1121
|
+
| string
|
|
1122
|
+
| string;
|
|
978
1123
|
|
|
979
1124
|
/** @internal */
|
|
980
1125
|
export const GetOnePromptResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -982,9 +1127,14 @@ export const GetOnePromptResponseFormat$outboundSchema: z.ZodType<
|
|
|
982
1127
|
z.ZodTypeDef,
|
|
983
1128
|
GetOnePromptResponseFormat
|
|
984
1129
|
> = z.union([
|
|
985
|
-
z.
|
|
986
|
-
|
|
987
|
-
|
|
1130
|
+
z.union([
|
|
1131
|
+
z.lazy(() => GetOnePrompt11$outboundSchema),
|
|
1132
|
+
z.lazy(() => GetOnePrompt12$outboundSchema),
|
|
1133
|
+
z.lazy(() => GetOnePrompt13$outboundSchema),
|
|
1134
|
+
]),
|
|
1135
|
+
GetOnePromptResponseFormat2$outboundSchema,
|
|
1136
|
+
GetOnePromptResponseFormat3$outboundSchema,
|
|
1137
|
+
GetOnePromptResponseFormat4$outboundSchema,
|
|
988
1138
|
]);
|
|
989
1139
|
|
|
990
1140
|
/**
|
|
@@ -1122,9 +1272,14 @@ export const GetOnePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
1122
1272
|
style: z.string().optional(),
|
|
1123
1273
|
responseFormat: z.nullable(
|
|
1124
1274
|
z.union([
|
|
1125
|
-
z.
|
|
1126
|
-
|
|
1127
|
-
|
|
1275
|
+
z.union([
|
|
1276
|
+
z.lazy(() => GetOnePrompt11$inboundSchema),
|
|
1277
|
+
z.lazy(() => GetOnePrompt12$inboundSchema),
|
|
1278
|
+
z.lazy(() => GetOnePrompt13$inboundSchema),
|
|
1279
|
+
]),
|
|
1280
|
+
GetOnePromptResponseFormat2$inboundSchema,
|
|
1281
|
+
GetOnePromptResponseFormat3$inboundSchema,
|
|
1282
|
+
GetOnePromptResponseFormat4$inboundSchema,
|
|
1128
1283
|
]),
|
|
1129
1284
|
).optional(),
|
|
1130
1285
|
photoRealVersion: GetOnePromptPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1153,9 +1308,12 @@ export type GetOnePromptModelParameters$Outbound = {
|
|
|
1153
1308
|
quality?: string | undefined;
|
|
1154
1309
|
style?: string | undefined;
|
|
1155
1310
|
responseFormat?:
|
|
1156
|
-
|
|
|
1157
|
-
|
|
|
1158
|
-
|
|
|
1311
|
+
| GetOnePrompt11$Outbound
|
|
1312
|
+
| GetOnePrompt12$Outbound
|
|
1313
|
+
| GetOnePrompt13$Outbound
|
|
1314
|
+
| string
|
|
1315
|
+
| string
|
|
1316
|
+
| string
|
|
1159
1317
|
| null
|
|
1160
1318
|
| undefined;
|
|
1161
1319
|
photoRealVersion?: string | undefined;
|
|
@@ -1185,9 +1343,14 @@ export const GetOnePromptModelParameters$outboundSchema: 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(() => GetOnePrompt11$outboundSchema),
|
|
1348
|
+
z.lazy(() => GetOnePrompt12$outboundSchema),
|
|
1349
|
+
z.lazy(() => GetOnePrompt13$outboundSchema),
|
|
1350
|
+
]),
|
|
1351
|
+
GetOnePromptResponseFormat2$outboundSchema,
|
|
1352
|
+
GetOnePromptResponseFormat3$outboundSchema,
|
|
1353
|
+
GetOnePromptResponseFormat4$outboundSchema,
|
|
1191
1354
|
]),
|
|
1192
1355
|
).optional(),
|
|
1193
1356
|
photoRealVersion: GetOnePromptPhotoRealVersion$outboundSchema.optional(),
|