@orq-ai/node 3.12.16 → 3.12.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +112 -112
- package/bin/mcp-server.js.map +30 -30
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/README.md +107 -90
- package/packages/orq-rc/docs/sdks/tools/README.md +488 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/toolsCreate.ts +163 -0
- package/packages/orq-rc/src/funcs/toolsDelete.ts +167 -0
- package/packages/orq-rc/src/funcs/toolsDuplicate.ts +175 -0
- package/packages/orq-rc/src/funcs/toolsList.ts +176 -0
- package/packages/orq-rc/src/funcs/toolsRetrieve.ts +166 -0
- package/packages/orq-rc/src/funcs/toolsUpdate.ts +176 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +13 -1
- package/packages/orq-rc/src/mcp-server/tools/toolsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsDelete.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsDuplicate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsList.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsUpdate.ts +37 -0
- package/packages/orq-rc/src/models/components/callsubagenttool.ts +109 -0
- package/packages/orq-rc/src/models/components/codeexecutiontool.ts +293 -0
- package/packages/orq-rc/src/models/components/currentdatetool.ts +107 -0
- package/packages/orq-rc/src/models/components/deployments.ts +52 -45
- package/packages/orq-rc/src/models/components/functiontool.ts +195 -0
- package/packages/orq-rc/src/models/components/googlesearchtool.ts +108 -0
- package/packages/orq-rc/src/models/components/httptool.ts +532 -0
- package/packages/orq-rc/src/models/components/index.ts +13 -0
- package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +111 -0
- package/packages/orq-rc/src/models/components/querymemorystoretool.ts +111 -0
- package/packages/orq-rc/src/models/components/retrieveagentstool.ts +109 -0
- package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +111 -0
- package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +111 -0
- package/packages/orq-rc/src/models/components/webscrapertool.ts +105 -0
- package/packages/orq-rc/src/models/components/writememorystoretool.ts +111 -0
- package/packages/orq-rc/src/models/errors/duplicatetool.ts +91 -0
- package/packages/orq-rc/src/models/errors/index.ts +2 -0
- package/packages/orq-rc/src/models/errors/updatetool.ts +91 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +10 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +60 -56
- package/packages/orq-rc/src/models/operations/createknowledge.ts +18 -0
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +137 -136
- package/packages/orq-rc/src/models/operations/createprompt.ts +631 -314
- package/packages/orq-rc/src/models/operations/createtool.ts +4027 -0
- package/packages/orq-rc/src/models/operations/deletetool.ts +75 -0
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +8 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +362 -194
- package/packages/orq-rc/src/models/operations/deployments.ts +329 -160
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +8 -6
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +2311 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +10 -10
- package/packages/orq-rc/src/models/operations/getallprompts.ts +333 -168
- package/packages/orq-rc/src/models/operations/getalltools.ts +2278 -0
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +9 -0
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +329 -167
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +337 -168
- package/packages/orq-rc/src/models/operations/index.ts +6 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +10 -10
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +6 -5
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +9 -0
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +354 -183
- package/packages/orq-rc/src/models/operations/parse.ts +20 -335
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +6 -5
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +2303 -0
- package/packages/orq-rc/src/models/operations/runagent.ts +412 -1375
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +399 -1449
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +10 -8
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +57 -57
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +18 -0
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +136 -168
- package/packages/orq-rc/src/models/operations/updateprompt.ts +668 -335
- package/packages/orq-rc/src/models/operations/updatetool.ts +4231 -0
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/packages/orq-rc/src/sdk/tools.ts +117 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
|
@@ -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
|
|
@@ -232,9 +269,12 @@ export type GetOnePromptModelParameters = {
|
|
|
232
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.
|
|
233
270
|
*/
|
|
234
271
|
responseFormat?:
|
|
235
|
-
|
|
|
272
|
+
| GetOnePrompt11
|
|
273
|
+
| GetOnePrompt12
|
|
274
|
+
| GetOnePrompt13
|
|
236
275
|
| GetOnePromptResponseFormat2
|
|
237
276
|
| GetOnePromptResponseFormat3
|
|
277
|
+
| GetOnePromptResponseFormat4
|
|
238
278
|
| null
|
|
239
279
|
| undefined;
|
|
240
280
|
/**
|
|
@@ -649,188 +689,234 @@ export namespace GetOnePromptFormat$ {
|
|
|
649
689
|
}
|
|
650
690
|
|
|
651
691
|
/** @internal */
|
|
652
|
-
export const
|
|
653
|
-
|
|
654
|
-
|
|
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);
|
|
655
716
|
|
|
656
717
|
/** @internal */
|
|
657
|
-
export const
|
|
658
|
-
|
|
659
|
-
|
|
718
|
+
export const GetOnePromptResponseFormat3$outboundSchema: z.ZodNativeEnum<
|
|
719
|
+
typeof GetOnePromptResponseFormat3
|
|
720
|
+
> = GetOnePromptResponseFormat3$inboundSchema;
|
|
660
721
|
|
|
661
722
|
/**
|
|
662
723
|
* @internal
|
|
663
724
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
664
725
|
*/
|
|
665
|
-
export namespace
|
|
666
|
-
/** @deprecated use `
|
|
667
|
-
export const inboundSchema =
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
export const outboundSchema =
|
|
671
|
-
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;
|
|
672
731
|
}
|
|
673
732
|
|
|
674
733
|
/** @internal */
|
|
675
|
-
export const
|
|
676
|
-
|
|
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,
|
|
677
778
|
z.ZodTypeDef,
|
|
678
779
|
unknown
|
|
679
780
|
> = z.object({
|
|
680
|
-
type:
|
|
781
|
+
type: GetOnePrompt1PromptsResponseType$inboundSchema,
|
|
681
782
|
});
|
|
682
783
|
|
|
683
784
|
/** @internal */
|
|
684
|
-
export type
|
|
785
|
+
export type GetOnePrompt13$Outbound = {
|
|
685
786
|
type: string;
|
|
686
787
|
};
|
|
687
788
|
|
|
688
789
|
/** @internal */
|
|
689
|
-
export const
|
|
690
|
-
|
|
790
|
+
export const GetOnePrompt13$outboundSchema: z.ZodType<
|
|
791
|
+
GetOnePrompt13$Outbound,
|
|
691
792
|
z.ZodTypeDef,
|
|
692
|
-
|
|
793
|
+
GetOnePrompt13
|
|
693
794
|
> = z.object({
|
|
694
|
-
type:
|
|
795
|
+
type: GetOnePrompt1PromptsResponseType$outboundSchema,
|
|
695
796
|
});
|
|
696
797
|
|
|
697
798
|
/**
|
|
698
799
|
* @internal
|
|
699
800
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
700
801
|
*/
|
|
701
|
-
export namespace
|
|
702
|
-
/** @deprecated use `
|
|
703
|
-
export const inboundSchema =
|
|
704
|
-
/** @deprecated use `
|
|
705
|
-
export const outboundSchema =
|
|
706
|
-
/** @deprecated use `
|
|
707
|
-
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;
|
|
708
809
|
}
|
|
709
810
|
|
|
710
|
-
export function
|
|
711
|
-
|
|
712
|
-
): string {
|
|
713
|
-
return JSON.stringify(
|
|
714
|
-
GetOnePromptResponseFormat3$outboundSchema.parse(
|
|
715
|
-
getOnePromptResponseFormat3,
|
|
716
|
-
),
|
|
717
|
-
);
|
|
811
|
+
export function getOnePrompt13ToJSON(getOnePrompt13: GetOnePrompt13): string {
|
|
812
|
+
return JSON.stringify(GetOnePrompt13$outboundSchema.parse(getOnePrompt13));
|
|
718
813
|
}
|
|
719
814
|
|
|
720
|
-
export function
|
|
815
|
+
export function getOnePrompt13FromJSON(
|
|
721
816
|
jsonString: string,
|
|
722
|
-
): SafeParseResult<
|
|
817
|
+
): SafeParseResult<GetOnePrompt13, SDKValidationError> {
|
|
723
818
|
return safeParse(
|
|
724
819
|
jsonString,
|
|
725
|
-
(x) =>
|
|
726
|
-
`Failed to parse '
|
|
820
|
+
(x) => GetOnePrompt13$inboundSchema.parse(JSON.parse(x)),
|
|
821
|
+
`Failed to parse 'GetOnePrompt13' from JSON`,
|
|
727
822
|
);
|
|
728
823
|
}
|
|
729
824
|
|
|
730
825
|
/** @internal */
|
|
731
|
-
export const
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
);
|
|
826
|
+
export const GetOnePrompt1PromptsType$inboundSchema: z.ZodNativeEnum<
|
|
827
|
+
typeof GetOnePrompt1PromptsType
|
|
828
|
+
> = z.nativeEnum(GetOnePrompt1PromptsType);
|
|
735
829
|
|
|
736
830
|
/** @internal */
|
|
737
|
-
export const
|
|
738
|
-
|
|
739
|
-
|
|
831
|
+
export const GetOnePrompt1PromptsType$outboundSchema: z.ZodNativeEnum<
|
|
832
|
+
typeof GetOnePrompt1PromptsType
|
|
833
|
+
> = GetOnePrompt1PromptsType$inboundSchema;
|
|
740
834
|
|
|
741
835
|
/**
|
|
742
836
|
* @internal
|
|
743
837
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
744
838
|
*/
|
|
745
|
-
export namespace
|
|
746
|
-
/** @deprecated use `
|
|
747
|
-
export const inboundSchema =
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
export const outboundSchema =
|
|
751
|
-
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;
|
|
752
844
|
}
|
|
753
845
|
|
|
754
846
|
/** @internal */
|
|
755
|
-
export const
|
|
756
|
-
|
|
847
|
+
export const GetOnePrompt12$inboundSchema: z.ZodType<
|
|
848
|
+
GetOnePrompt12,
|
|
757
849
|
z.ZodTypeDef,
|
|
758
850
|
unknown
|
|
759
851
|
> = z.object({
|
|
760
|
-
type:
|
|
852
|
+
type: GetOnePrompt1PromptsType$inboundSchema,
|
|
761
853
|
});
|
|
762
854
|
|
|
763
855
|
/** @internal */
|
|
764
|
-
export type
|
|
856
|
+
export type GetOnePrompt12$Outbound = {
|
|
765
857
|
type: string;
|
|
766
858
|
};
|
|
767
859
|
|
|
768
860
|
/** @internal */
|
|
769
|
-
export const
|
|
770
|
-
|
|
861
|
+
export const GetOnePrompt12$outboundSchema: z.ZodType<
|
|
862
|
+
GetOnePrompt12$Outbound,
|
|
771
863
|
z.ZodTypeDef,
|
|
772
|
-
|
|
864
|
+
GetOnePrompt12
|
|
773
865
|
> = z.object({
|
|
774
|
-
type:
|
|
866
|
+
type: GetOnePrompt1PromptsType$outboundSchema,
|
|
775
867
|
});
|
|
776
868
|
|
|
777
869
|
/**
|
|
778
870
|
* @internal
|
|
779
871
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
780
872
|
*/
|
|
781
|
-
export namespace
|
|
782
|
-
/** @deprecated use `
|
|
783
|
-
export const inboundSchema =
|
|
784
|
-
/** @deprecated use `
|
|
785
|
-
export const outboundSchema =
|
|
786
|
-
/** @deprecated use `
|
|
787
|
-
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;
|
|
788
880
|
}
|
|
789
881
|
|
|
790
|
-
export function
|
|
791
|
-
|
|
792
|
-
): string {
|
|
793
|
-
return JSON.stringify(
|
|
794
|
-
GetOnePromptResponseFormat2$outboundSchema.parse(
|
|
795
|
-
getOnePromptResponseFormat2,
|
|
796
|
-
),
|
|
797
|
-
);
|
|
882
|
+
export function getOnePrompt12ToJSON(getOnePrompt12: GetOnePrompt12): string {
|
|
883
|
+
return JSON.stringify(GetOnePrompt12$outboundSchema.parse(getOnePrompt12));
|
|
798
884
|
}
|
|
799
885
|
|
|
800
|
-
export function
|
|
886
|
+
export function getOnePrompt12FromJSON(
|
|
801
887
|
jsonString: string,
|
|
802
|
-
): SafeParseResult<
|
|
888
|
+
): SafeParseResult<GetOnePrompt12, SDKValidationError> {
|
|
803
889
|
return safeParse(
|
|
804
890
|
jsonString,
|
|
805
|
-
(x) =>
|
|
806
|
-
`Failed to parse '
|
|
891
|
+
(x) => GetOnePrompt12$inboundSchema.parse(JSON.parse(x)),
|
|
892
|
+
`Failed to parse 'GetOnePrompt12' from JSON`,
|
|
807
893
|
);
|
|
808
894
|
}
|
|
809
895
|
|
|
810
896
|
/** @internal */
|
|
811
|
-
export const
|
|
812
|
-
typeof
|
|
813
|
-
> = z.nativeEnum(
|
|
897
|
+
export const GetOnePrompt1Type$inboundSchema: z.ZodNativeEnum<
|
|
898
|
+
typeof GetOnePrompt1Type
|
|
899
|
+
> = z.nativeEnum(GetOnePrompt1Type);
|
|
814
900
|
|
|
815
901
|
/** @internal */
|
|
816
|
-
export const
|
|
817
|
-
typeof
|
|
818
|
-
> =
|
|
902
|
+
export const GetOnePrompt1Type$outboundSchema: z.ZodNativeEnum<
|
|
903
|
+
typeof GetOnePrompt1Type
|
|
904
|
+
> = GetOnePrompt1Type$inboundSchema;
|
|
819
905
|
|
|
820
906
|
/**
|
|
821
907
|
* @internal
|
|
822
908
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
823
909
|
*/
|
|
824
|
-
export namespace
|
|
825
|
-
/** @deprecated use `
|
|
826
|
-
export const inboundSchema =
|
|
827
|
-
/** @deprecated use `
|
|
828
|
-
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;
|
|
829
915
|
}
|
|
830
916
|
|
|
831
917
|
/** @internal */
|
|
832
|
-
export const
|
|
833
|
-
|
|
918
|
+
export const GetOnePrompt1JsonSchema$inboundSchema: z.ZodType<
|
|
919
|
+
GetOnePrompt1JsonSchema,
|
|
834
920
|
z.ZodTypeDef,
|
|
835
921
|
unknown
|
|
836
922
|
> = z.object({
|
|
@@ -840,17 +926,17 @@ export const GetOnePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
840
926
|
});
|
|
841
927
|
|
|
842
928
|
/** @internal */
|
|
843
|
-
export type
|
|
929
|
+
export type GetOnePrompt1JsonSchema$Outbound = {
|
|
844
930
|
name: string;
|
|
845
931
|
strict?: boolean | undefined;
|
|
846
932
|
schema: { [k: string]: any };
|
|
847
933
|
};
|
|
848
934
|
|
|
849
935
|
/** @internal */
|
|
850
|
-
export const
|
|
851
|
-
|
|
936
|
+
export const GetOnePrompt1JsonSchema$outboundSchema: z.ZodType<
|
|
937
|
+
GetOnePrompt1JsonSchema$Outbound,
|
|
852
938
|
z.ZodTypeDef,
|
|
853
|
-
|
|
939
|
+
GetOnePrompt1JsonSchema
|
|
854
940
|
> = z.object({
|
|
855
941
|
name: z.string(),
|
|
856
942
|
strict: z.boolean().optional(),
|
|
@@ -861,46 +947,41 @@ export const GetOnePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
861
947
|
* @internal
|
|
862
948
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
863
949
|
*/
|
|
864
|
-
export namespace
|
|
865
|
-
/** @deprecated use `
|
|
866
|
-
export const inboundSchema =
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
/** @deprecated use `GetOnePromptResponseFormatJsonSchema$Outbound` instead. */
|
|
872
|
-
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;
|
|
873
957
|
}
|
|
874
958
|
|
|
875
|
-
export function
|
|
876
|
-
|
|
959
|
+
export function getOnePrompt1JsonSchemaToJSON(
|
|
960
|
+
getOnePrompt1JsonSchema: GetOnePrompt1JsonSchema,
|
|
877
961
|
): string {
|
|
878
962
|
return JSON.stringify(
|
|
879
|
-
|
|
880
|
-
getOnePromptResponseFormatJsonSchema,
|
|
881
|
-
),
|
|
963
|
+
GetOnePrompt1JsonSchema$outboundSchema.parse(getOnePrompt1JsonSchema),
|
|
882
964
|
);
|
|
883
965
|
}
|
|
884
966
|
|
|
885
|
-
export function
|
|
967
|
+
export function getOnePrompt1JsonSchemaFromJSON(
|
|
886
968
|
jsonString: string,
|
|
887
|
-
): SafeParseResult<
|
|
969
|
+
): SafeParseResult<GetOnePrompt1JsonSchema, SDKValidationError> {
|
|
888
970
|
return safeParse(
|
|
889
971
|
jsonString,
|
|
890
|
-
(x) =>
|
|
891
|
-
|
|
892
|
-
`Failed to parse 'GetOnePromptResponseFormatJsonSchema' from JSON`,
|
|
972
|
+
(x) => GetOnePrompt1JsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
973
|
+
`Failed to parse 'GetOnePrompt1JsonSchema' from JSON`,
|
|
893
974
|
);
|
|
894
975
|
}
|
|
895
976
|
|
|
896
977
|
/** @internal */
|
|
897
|
-
export const
|
|
898
|
-
|
|
978
|
+
export const GetOnePrompt11$inboundSchema: z.ZodType<
|
|
979
|
+
GetOnePrompt11,
|
|
899
980
|
z.ZodTypeDef,
|
|
900
981
|
unknown
|
|
901
982
|
> = z.object({
|
|
902
|
-
type:
|
|
903
|
-
json_schema: z.lazy(() =>
|
|
983
|
+
type: GetOnePrompt1Type$inboundSchema,
|
|
984
|
+
json_schema: z.lazy(() => GetOnePrompt1JsonSchema$inboundSchema),
|
|
904
985
|
}).transform((v) => {
|
|
905
986
|
return remap$(v, {
|
|
906
987
|
"json_schema": "jsonSchema",
|
|
@@ -908,25 +989,80 @@ export const GetOnePromptResponseFormat1$inboundSchema: z.ZodType<
|
|
|
908
989
|
});
|
|
909
990
|
|
|
910
991
|
/** @internal */
|
|
911
|
-
export type
|
|
992
|
+
export type GetOnePrompt11$Outbound = {
|
|
912
993
|
type: string;
|
|
913
|
-
json_schema:
|
|
994
|
+
json_schema: GetOnePrompt1JsonSchema$Outbound;
|
|
914
995
|
};
|
|
915
996
|
|
|
916
997
|
/** @internal */
|
|
917
|
-
export const
|
|
918
|
-
|
|
998
|
+
export const GetOnePrompt11$outboundSchema: z.ZodType<
|
|
999
|
+
GetOnePrompt11$Outbound,
|
|
919
1000
|
z.ZodTypeDef,
|
|
920
|
-
|
|
1001
|
+
GetOnePrompt11
|
|
921
1002
|
> = z.object({
|
|
922
|
-
type:
|
|
923
|
-
jsonSchema: z.lazy(() =>
|
|
1003
|
+
type: GetOnePrompt1Type$outboundSchema,
|
|
1004
|
+
jsonSchema: z.lazy(() => GetOnePrompt1JsonSchema$outboundSchema),
|
|
924
1005
|
}).transform((v) => {
|
|
925
1006
|
return remap$(v, {
|
|
926
1007
|
jsonSchema: "json_schema",
|
|
927
1008
|
});
|
|
928
1009
|
});
|
|
929
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
|
+
|
|
930
1066
|
/**
|
|
931
1067
|
* @internal
|
|
932
1068
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -966,16 +1102,24 @@ export const GetOnePromptResponseFormat$inboundSchema: z.ZodType<
|
|
|
966
1102
|
z.ZodTypeDef,
|
|
967
1103
|
unknown
|
|
968
1104
|
> = z.union([
|
|
969
|
-
z.
|
|
970
|
-
|
|
971
|
-
|
|
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,
|
|
972
1113
|
]);
|
|
973
1114
|
|
|
974
1115
|
/** @internal */
|
|
975
1116
|
export type GetOnePromptResponseFormat$Outbound =
|
|
976
|
-
|
|
|
977
|
-
|
|
|
978
|
-
|
|
|
1117
|
+
| GetOnePrompt11$Outbound
|
|
1118
|
+
| GetOnePrompt12$Outbound
|
|
1119
|
+
| GetOnePrompt13$Outbound
|
|
1120
|
+
| string
|
|
1121
|
+
| string
|
|
1122
|
+
| string;
|
|
979
1123
|
|
|
980
1124
|
/** @internal */
|
|
981
1125
|
export const GetOnePromptResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -983,9 +1127,14 @@ export const GetOnePromptResponseFormat$outboundSchema: z.ZodType<
|
|
|
983
1127
|
z.ZodTypeDef,
|
|
984
1128
|
GetOnePromptResponseFormat
|
|
985
1129
|
> = z.union([
|
|
986
|
-
z.
|
|
987
|
-
|
|
988
|
-
|
|
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,
|
|
989
1138
|
]);
|
|
990
1139
|
|
|
991
1140
|
/**
|
|
@@ -1123,9 +1272,14 @@ export const GetOnePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
1123
1272
|
style: z.string().optional(),
|
|
1124
1273
|
responseFormat: z.nullable(
|
|
1125
1274
|
z.union([
|
|
1126
|
-
z.
|
|
1127
|
-
|
|
1128
|
-
|
|
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,
|
|
1129
1283
|
]),
|
|
1130
1284
|
).optional(),
|
|
1131
1285
|
photoRealVersion: GetOnePromptPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1154,9 +1308,12 @@ export type GetOnePromptModelParameters$Outbound = {
|
|
|
1154
1308
|
quality?: string | undefined;
|
|
1155
1309
|
style?: string | undefined;
|
|
1156
1310
|
responseFormat?:
|
|
1157
|
-
|
|
|
1158
|
-
|
|
|
1159
|
-
|
|
|
1311
|
+
| GetOnePrompt11$Outbound
|
|
1312
|
+
| GetOnePrompt12$Outbound
|
|
1313
|
+
| GetOnePrompt13$Outbound
|
|
1314
|
+
| string
|
|
1315
|
+
| string
|
|
1316
|
+
| string
|
|
1160
1317
|
| null
|
|
1161
1318
|
| undefined;
|
|
1162
1319
|
photoRealVersion?: string | undefined;
|
|
@@ -1186,9 +1343,14 @@ export const GetOnePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1186
1343
|
style: z.string().optional(),
|
|
1187
1344
|
responseFormat: z.nullable(
|
|
1188
1345
|
z.union([
|
|
1189
|
-
z.
|
|
1190
|
-
|
|
1191
|
-
|
|
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,
|
|
1192
1354
|
]),
|
|
1193
1355
|
).optional(),
|
|
1194
1356
|
photoRealVersion: GetOnePromptPhotoRealVersion$outboundSchema.optional(),
|