@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
|
@@ -23,46 +23,80 @@ export const UpdatePromptFormat = {
|
|
|
23
23
|
*/
|
|
24
24
|
export type UpdatePromptFormat = ClosedEnum<typeof UpdatePromptFormat>;
|
|
25
25
|
|
|
26
|
-
export const
|
|
26
|
+
export const UpdatePromptResponseFormat4 = {
|
|
27
|
+
Json: "json",
|
|
27
28
|
Text: "text",
|
|
29
|
+
Srt: "srt",
|
|
30
|
+
VerboseJson: "verbose_json",
|
|
31
|
+
Vtt: "vtt",
|
|
28
32
|
} as const;
|
|
29
|
-
export type
|
|
30
|
-
typeof
|
|
33
|
+
export type UpdatePromptResponseFormat4 = ClosedEnum<
|
|
34
|
+
typeof UpdatePromptResponseFormat4
|
|
31
35
|
>;
|
|
32
36
|
|
|
33
|
-
export
|
|
34
|
-
|
|
37
|
+
export const UpdatePromptResponseFormat3 = {
|
|
38
|
+
Url: "url",
|
|
39
|
+
Base64Json: "base64_json",
|
|
40
|
+
} as const;
|
|
41
|
+
export type UpdatePromptResponseFormat3 = ClosedEnum<
|
|
42
|
+
typeof UpdatePromptResponseFormat3
|
|
43
|
+
>;
|
|
44
|
+
|
|
45
|
+
export const UpdatePromptResponseFormat2 = {
|
|
46
|
+
Mp3: "mp3",
|
|
47
|
+
Opus: "opus",
|
|
48
|
+
Aac: "aac",
|
|
49
|
+
Flac: "flac",
|
|
50
|
+
Wav: "wav",
|
|
51
|
+
Pcm: "pcm",
|
|
52
|
+
} as const;
|
|
53
|
+
export type UpdatePromptResponseFormat2 = ClosedEnum<
|
|
54
|
+
typeof UpdatePromptResponseFormat2
|
|
55
|
+
>;
|
|
56
|
+
|
|
57
|
+
export const UpdatePrompt1PromptsRequestType = {
|
|
58
|
+
Text: "text",
|
|
59
|
+
} as const;
|
|
60
|
+
export type UpdatePrompt1PromptsRequestType = ClosedEnum<
|
|
61
|
+
typeof UpdatePrompt1PromptsRequestType
|
|
62
|
+
>;
|
|
63
|
+
|
|
64
|
+
export type UpdatePrompt13 = {
|
|
65
|
+
type: UpdatePrompt1PromptsRequestType;
|
|
35
66
|
};
|
|
36
67
|
|
|
37
|
-
export const
|
|
68
|
+
export const UpdatePrompt1PromptsType = {
|
|
38
69
|
JsonObject: "json_object",
|
|
39
70
|
} as const;
|
|
40
|
-
export type
|
|
41
|
-
typeof
|
|
71
|
+
export type UpdatePrompt1PromptsType = ClosedEnum<
|
|
72
|
+
typeof UpdatePrompt1PromptsType
|
|
42
73
|
>;
|
|
43
74
|
|
|
44
|
-
export type
|
|
45
|
-
type:
|
|
75
|
+
export type UpdatePrompt12 = {
|
|
76
|
+
type: UpdatePrompt1PromptsType;
|
|
46
77
|
};
|
|
47
78
|
|
|
48
|
-
export const
|
|
79
|
+
export const UpdatePrompt1Type = {
|
|
49
80
|
JsonSchema: "json_schema",
|
|
50
81
|
} as const;
|
|
51
|
-
export type
|
|
52
|
-
typeof UpdatePromptResponseFormatType
|
|
53
|
-
>;
|
|
82
|
+
export type UpdatePrompt1Type = ClosedEnum<typeof UpdatePrompt1Type>;
|
|
54
83
|
|
|
55
|
-
export type
|
|
84
|
+
export type OneJsonSchema = {
|
|
56
85
|
name: string;
|
|
57
86
|
strict?: boolean | undefined;
|
|
58
87
|
schema: { [k: string]: any };
|
|
59
88
|
};
|
|
60
89
|
|
|
61
|
-
export type
|
|
62
|
-
type:
|
|
63
|
-
jsonSchema:
|
|
90
|
+
export type UpdatePrompt11 = {
|
|
91
|
+
type: UpdatePrompt1Type;
|
|
92
|
+
jsonSchema: OneJsonSchema;
|
|
64
93
|
};
|
|
65
94
|
|
|
95
|
+
export type UpdatePromptResponseFormat1 =
|
|
96
|
+
| UpdatePrompt11
|
|
97
|
+
| UpdatePrompt12
|
|
98
|
+
| UpdatePrompt13;
|
|
99
|
+
|
|
66
100
|
/**
|
|
67
101
|
* An object specifying the format that the model must output.
|
|
68
102
|
*
|
|
@@ -75,9 +109,12 @@ export type UpdatePromptResponseFormat1 = {
|
|
|
75
109
|
* 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.
|
|
76
110
|
*/
|
|
77
111
|
export type UpdatePromptResponseFormat =
|
|
78
|
-
|
|
|
112
|
+
| UpdatePrompt11
|
|
113
|
+
| UpdatePrompt12
|
|
114
|
+
| UpdatePrompt13
|
|
79
115
|
| UpdatePromptResponseFormat2
|
|
80
|
-
| UpdatePromptResponseFormat3
|
|
116
|
+
| UpdatePromptResponseFormat3
|
|
117
|
+
| UpdatePromptResponseFormat4;
|
|
81
118
|
|
|
82
119
|
/**
|
|
83
120
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -112,6 +149,7 @@ export type UpdatePromptEncodingFormat = ClosedEnum<
|
|
|
112
149
|
*/
|
|
113
150
|
export const UpdatePromptReasoningEffort = {
|
|
114
151
|
Disable: "disable",
|
|
152
|
+
Minimal: "minimal",
|
|
115
153
|
Low: "low",
|
|
116
154
|
Medium: "medium",
|
|
117
155
|
High: "high",
|
|
@@ -200,9 +238,12 @@ export type UpdatePromptModelParameters = {
|
|
|
200
238
|
* 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.
|
|
201
239
|
*/
|
|
202
240
|
responseFormat?:
|
|
203
|
-
|
|
|
241
|
+
| UpdatePrompt11
|
|
242
|
+
| UpdatePrompt12
|
|
243
|
+
| UpdatePrompt13
|
|
204
244
|
| UpdatePromptResponseFormat2
|
|
205
245
|
| UpdatePromptResponseFormat3
|
|
246
|
+
| UpdatePromptResponseFormat4
|
|
206
247
|
| null
|
|
207
248
|
| undefined;
|
|
208
249
|
/**
|
|
@@ -550,47 +591,82 @@ export type UpdatePromptPromptsFormat = ClosedEnum<
|
|
|
550
591
|
typeof UpdatePromptPromptsFormat
|
|
551
592
|
>;
|
|
552
593
|
|
|
553
|
-
export const
|
|
594
|
+
export const UpdatePromptResponseFormatPrompts4 = {
|
|
595
|
+
Json: "json",
|
|
554
596
|
Text: "text",
|
|
597
|
+
Srt: "srt",
|
|
598
|
+
VerboseJson: "verbose_json",
|
|
599
|
+
Vtt: "vtt",
|
|
555
600
|
} as const;
|
|
556
|
-
export type
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
601
|
+
export type UpdatePromptResponseFormatPrompts4 = ClosedEnum<
|
|
602
|
+
typeof UpdatePromptResponseFormatPrompts4
|
|
603
|
+
>;
|
|
604
|
+
|
|
605
|
+
export const UpdatePromptResponseFormatPrompts3 = {
|
|
606
|
+
Url: "url",
|
|
607
|
+
Base64Json: "base64_json",
|
|
608
|
+
} as const;
|
|
609
|
+
export type UpdatePromptResponseFormatPrompts3 = ClosedEnum<
|
|
610
|
+
typeof UpdatePromptResponseFormatPrompts3
|
|
611
|
+
>;
|
|
612
|
+
|
|
613
|
+
export const UpdatePromptResponseFormatPrompts2 = {
|
|
614
|
+
Mp3: "mp3",
|
|
615
|
+
Opus: "opus",
|
|
616
|
+
Aac: "aac",
|
|
617
|
+
Flac: "flac",
|
|
618
|
+
Wav: "wav",
|
|
619
|
+
Pcm: "pcm",
|
|
620
|
+
} as const;
|
|
621
|
+
export type UpdatePromptResponseFormatPrompts2 = ClosedEnum<
|
|
622
|
+
typeof UpdatePromptResponseFormatPrompts2
|
|
623
|
+
>;
|
|
624
|
+
|
|
625
|
+
export const UpdatePrompt1PromptsResponse200ApplicationJSONType = {
|
|
626
|
+
Text: "text",
|
|
627
|
+
} as const;
|
|
628
|
+
export type UpdatePrompt1PromptsResponse200ApplicationJSONType = ClosedEnum<
|
|
629
|
+
typeof UpdatePrompt1PromptsResponse200ApplicationJSONType
|
|
630
|
+
>;
|
|
560
631
|
|
|
561
|
-
export type
|
|
562
|
-
type:
|
|
632
|
+
export type UpdatePrompt1Prompts3 = {
|
|
633
|
+
type: UpdatePrompt1PromptsResponse200ApplicationJSONType;
|
|
563
634
|
};
|
|
564
635
|
|
|
565
|
-
export const
|
|
636
|
+
export const UpdatePrompt1PromptsResponse200Type = {
|
|
566
637
|
JsonObject: "json_object",
|
|
567
638
|
} as const;
|
|
568
|
-
export type
|
|
569
|
-
typeof
|
|
639
|
+
export type UpdatePrompt1PromptsResponse200Type = ClosedEnum<
|
|
640
|
+
typeof UpdatePrompt1PromptsResponse200Type
|
|
570
641
|
>;
|
|
571
642
|
|
|
572
|
-
export type
|
|
573
|
-
type:
|
|
643
|
+
export type UpdatePrompt1Prompts2 = {
|
|
644
|
+
type: UpdatePrompt1PromptsResponse200Type;
|
|
574
645
|
};
|
|
575
646
|
|
|
576
|
-
export const
|
|
647
|
+
export const UpdatePrompt1PromptsResponseType = {
|
|
577
648
|
JsonSchema: "json_schema",
|
|
578
649
|
} as const;
|
|
579
|
-
export type
|
|
580
|
-
typeof
|
|
650
|
+
export type UpdatePrompt1PromptsResponseType = ClosedEnum<
|
|
651
|
+
typeof UpdatePrompt1PromptsResponseType
|
|
581
652
|
>;
|
|
582
653
|
|
|
583
|
-
export type
|
|
654
|
+
export type UpdatePrompt1JsonSchema = {
|
|
584
655
|
name: string;
|
|
585
656
|
strict?: boolean | undefined;
|
|
586
657
|
schema: { [k: string]: any };
|
|
587
658
|
};
|
|
588
659
|
|
|
589
|
-
export type
|
|
590
|
-
type:
|
|
591
|
-
jsonSchema:
|
|
660
|
+
export type UpdatePrompt1Prompts1 = {
|
|
661
|
+
type: UpdatePrompt1PromptsResponseType;
|
|
662
|
+
jsonSchema: UpdatePrompt1JsonSchema;
|
|
592
663
|
};
|
|
593
664
|
|
|
665
|
+
export type UpdatePromptResponseFormatPrompts1 =
|
|
666
|
+
| UpdatePrompt1Prompts1
|
|
667
|
+
| UpdatePrompt1Prompts2
|
|
668
|
+
| UpdatePrompt1Prompts3;
|
|
669
|
+
|
|
594
670
|
/**
|
|
595
671
|
* An object specifying the format that the model must output.
|
|
596
672
|
*
|
|
@@ -603,9 +679,12 @@ export type UpdatePromptResponseFormatPrompts1 = {
|
|
|
603
679
|
* 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.
|
|
604
680
|
*/
|
|
605
681
|
export type UpdatePromptPromptsResponseFormat =
|
|
606
|
-
|
|
|
682
|
+
| UpdatePrompt1Prompts1
|
|
683
|
+
| UpdatePrompt1Prompts2
|
|
684
|
+
| UpdatePrompt1Prompts3
|
|
607
685
|
| UpdatePromptResponseFormatPrompts2
|
|
608
|
-
| UpdatePromptResponseFormatPrompts3
|
|
686
|
+
| UpdatePromptResponseFormatPrompts3
|
|
687
|
+
| UpdatePromptResponseFormatPrompts4;
|
|
609
688
|
|
|
610
689
|
/**
|
|
611
690
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -640,6 +719,7 @@ export type UpdatePromptPromptsEncodingFormat = ClosedEnum<
|
|
|
640
719
|
*/
|
|
641
720
|
export const UpdatePromptPromptsReasoningEffort = {
|
|
642
721
|
Disable: "disable",
|
|
722
|
+
Minimal: "minimal",
|
|
643
723
|
Low: "low",
|
|
644
724
|
Medium: "medium",
|
|
645
725
|
High: "high",
|
|
@@ -730,9 +810,12 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
730
810
|
* 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.
|
|
731
811
|
*/
|
|
732
812
|
responseFormat?:
|
|
733
|
-
|
|
|
813
|
+
| UpdatePrompt1Prompts1
|
|
814
|
+
| UpdatePrompt1Prompts2
|
|
815
|
+
| UpdatePrompt1Prompts3
|
|
734
816
|
| UpdatePromptResponseFormatPrompts2
|
|
735
817
|
| UpdatePromptResponseFormatPrompts3
|
|
818
|
+
| UpdatePromptResponseFormatPrompts4
|
|
736
819
|
| null
|
|
737
820
|
| undefined;
|
|
738
821
|
/**
|
|
@@ -1067,188 +1150,234 @@ export namespace UpdatePromptFormat$ {
|
|
|
1067
1150
|
}
|
|
1068
1151
|
|
|
1069
1152
|
/** @internal */
|
|
1070
|
-
export const
|
|
1071
|
-
|
|
1072
|
-
|
|
1153
|
+
export const UpdatePromptResponseFormat4$inboundSchema: z.ZodNativeEnum<
|
|
1154
|
+
typeof UpdatePromptResponseFormat4
|
|
1155
|
+
> = z.nativeEnum(UpdatePromptResponseFormat4);
|
|
1073
1156
|
|
|
1074
1157
|
/** @internal */
|
|
1075
|
-
export const
|
|
1076
|
-
|
|
1077
|
-
|
|
1158
|
+
export const UpdatePromptResponseFormat4$outboundSchema: z.ZodNativeEnum<
|
|
1159
|
+
typeof UpdatePromptResponseFormat4
|
|
1160
|
+
> = UpdatePromptResponseFormat4$inboundSchema;
|
|
1078
1161
|
|
|
1079
1162
|
/**
|
|
1080
1163
|
* @internal
|
|
1081
1164
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1082
1165
|
*/
|
|
1083
|
-
export namespace
|
|
1084
|
-
/** @deprecated use `
|
|
1085
|
-
export const inboundSchema =
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
export const outboundSchema =
|
|
1089
|
-
UpdatePromptResponseFormatPromptsRequestType$outboundSchema;
|
|
1166
|
+
export namespace UpdatePromptResponseFormat4$ {
|
|
1167
|
+
/** @deprecated use `UpdatePromptResponseFormat4$inboundSchema` instead. */
|
|
1168
|
+
export const inboundSchema = UpdatePromptResponseFormat4$inboundSchema;
|
|
1169
|
+
/** @deprecated use `UpdatePromptResponseFormat4$outboundSchema` instead. */
|
|
1170
|
+
export const outboundSchema = UpdatePromptResponseFormat4$outboundSchema;
|
|
1090
1171
|
}
|
|
1091
1172
|
|
|
1092
1173
|
/** @internal */
|
|
1093
|
-
export const UpdatePromptResponseFormat3$inboundSchema: z.
|
|
1094
|
-
UpdatePromptResponseFormat3
|
|
1174
|
+
export const UpdatePromptResponseFormat3$inboundSchema: z.ZodNativeEnum<
|
|
1175
|
+
typeof UpdatePromptResponseFormat3
|
|
1176
|
+
> = z.nativeEnum(UpdatePromptResponseFormat3);
|
|
1177
|
+
|
|
1178
|
+
/** @internal */
|
|
1179
|
+
export const UpdatePromptResponseFormat3$outboundSchema: z.ZodNativeEnum<
|
|
1180
|
+
typeof UpdatePromptResponseFormat3
|
|
1181
|
+
> = UpdatePromptResponseFormat3$inboundSchema;
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* @internal
|
|
1185
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1186
|
+
*/
|
|
1187
|
+
export namespace UpdatePromptResponseFormat3$ {
|
|
1188
|
+
/** @deprecated use `UpdatePromptResponseFormat3$inboundSchema` instead. */
|
|
1189
|
+
export const inboundSchema = UpdatePromptResponseFormat3$inboundSchema;
|
|
1190
|
+
/** @deprecated use `UpdatePromptResponseFormat3$outboundSchema` instead. */
|
|
1191
|
+
export const outboundSchema = UpdatePromptResponseFormat3$outboundSchema;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
/** @internal */
|
|
1195
|
+
export const UpdatePromptResponseFormat2$inboundSchema: z.ZodNativeEnum<
|
|
1196
|
+
typeof UpdatePromptResponseFormat2
|
|
1197
|
+
> = z.nativeEnum(UpdatePromptResponseFormat2);
|
|
1198
|
+
|
|
1199
|
+
/** @internal */
|
|
1200
|
+
export const UpdatePromptResponseFormat2$outboundSchema: z.ZodNativeEnum<
|
|
1201
|
+
typeof UpdatePromptResponseFormat2
|
|
1202
|
+
> = UpdatePromptResponseFormat2$inboundSchema;
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* @internal
|
|
1206
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1207
|
+
*/
|
|
1208
|
+
export namespace UpdatePromptResponseFormat2$ {
|
|
1209
|
+
/** @deprecated use `UpdatePromptResponseFormat2$inboundSchema` instead. */
|
|
1210
|
+
export const inboundSchema = UpdatePromptResponseFormat2$inboundSchema;
|
|
1211
|
+
/** @deprecated use `UpdatePromptResponseFormat2$outboundSchema` instead. */
|
|
1212
|
+
export const outboundSchema = UpdatePromptResponseFormat2$outboundSchema;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
/** @internal */
|
|
1216
|
+
export const UpdatePrompt1PromptsRequestType$inboundSchema: z.ZodNativeEnum<
|
|
1217
|
+
typeof UpdatePrompt1PromptsRequestType
|
|
1218
|
+
> = z.nativeEnum(UpdatePrompt1PromptsRequestType);
|
|
1219
|
+
|
|
1220
|
+
/** @internal */
|
|
1221
|
+
export const UpdatePrompt1PromptsRequestType$outboundSchema: z.ZodNativeEnum<
|
|
1222
|
+
typeof UpdatePrompt1PromptsRequestType
|
|
1223
|
+
> = UpdatePrompt1PromptsRequestType$inboundSchema;
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* @internal
|
|
1227
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1228
|
+
*/
|
|
1229
|
+
export namespace UpdatePrompt1PromptsRequestType$ {
|
|
1230
|
+
/** @deprecated use `UpdatePrompt1PromptsRequestType$inboundSchema` instead. */
|
|
1231
|
+
export const inboundSchema = UpdatePrompt1PromptsRequestType$inboundSchema;
|
|
1232
|
+
/** @deprecated use `UpdatePrompt1PromptsRequestType$outboundSchema` instead. */
|
|
1233
|
+
export const outboundSchema = UpdatePrompt1PromptsRequestType$outboundSchema;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
/** @internal */
|
|
1237
|
+
export const UpdatePrompt13$inboundSchema: z.ZodType<
|
|
1238
|
+
UpdatePrompt13,
|
|
1095
1239
|
z.ZodTypeDef,
|
|
1096
1240
|
unknown
|
|
1097
1241
|
> = z.object({
|
|
1098
|
-
type:
|
|
1242
|
+
type: UpdatePrompt1PromptsRequestType$inboundSchema,
|
|
1099
1243
|
});
|
|
1100
1244
|
|
|
1101
1245
|
/** @internal */
|
|
1102
|
-
export type
|
|
1246
|
+
export type UpdatePrompt13$Outbound = {
|
|
1103
1247
|
type: string;
|
|
1104
1248
|
};
|
|
1105
1249
|
|
|
1106
1250
|
/** @internal */
|
|
1107
|
-
export const
|
|
1108
|
-
|
|
1251
|
+
export const UpdatePrompt13$outboundSchema: z.ZodType<
|
|
1252
|
+
UpdatePrompt13$Outbound,
|
|
1109
1253
|
z.ZodTypeDef,
|
|
1110
|
-
|
|
1254
|
+
UpdatePrompt13
|
|
1111
1255
|
> = z.object({
|
|
1112
|
-
type:
|
|
1256
|
+
type: UpdatePrompt1PromptsRequestType$outboundSchema,
|
|
1113
1257
|
});
|
|
1114
1258
|
|
|
1115
1259
|
/**
|
|
1116
1260
|
* @internal
|
|
1117
1261
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1118
1262
|
*/
|
|
1119
|
-
export namespace
|
|
1120
|
-
/** @deprecated use `
|
|
1121
|
-
export const inboundSchema =
|
|
1122
|
-
/** @deprecated use `
|
|
1123
|
-
export const outboundSchema =
|
|
1124
|
-
/** @deprecated use `
|
|
1125
|
-
export type Outbound =
|
|
1263
|
+
export namespace UpdatePrompt13$ {
|
|
1264
|
+
/** @deprecated use `UpdatePrompt13$inboundSchema` instead. */
|
|
1265
|
+
export const inboundSchema = UpdatePrompt13$inboundSchema;
|
|
1266
|
+
/** @deprecated use `UpdatePrompt13$outboundSchema` instead. */
|
|
1267
|
+
export const outboundSchema = UpdatePrompt13$outboundSchema;
|
|
1268
|
+
/** @deprecated use `UpdatePrompt13$Outbound` instead. */
|
|
1269
|
+
export type Outbound = UpdatePrompt13$Outbound;
|
|
1126
1270
|
}
|
|
1127
1271
|
|
|
1128
|
-
export function
|
|
1129
|
-
|
|
1130
|
-
): string {
|
|
1131
|
-
return JSON.stringify(
|
|
1132
|
-
UpdatePromptResponseFormat3$outboundSchema.parse(
|
|
1133
|
-
updatePromptResponseFormat3,
|
|
1134
|
-
),
|
|
1135
|
-
);
|
|
1272
|
+
export function updatePrompt13ToJSON(updatePrompt13: UpdatePrompt13): string {
|
|
1273
|
+
return JSON.stringify(UpdatePrompt13$outboundSchema.parse(updatePrompt13));
|
|
1136
1274
|
}
|
|
1137
1275
|
|
|
1138
|
-
export function
|
|
1276
|
+
export function updatePrompt13FromJSON(
|
|
1139
1277
|
jsonString: string,
|
|
1140
|
-
): SafeParseResult<
|
|
1278
|
+
): SafeParseResult<UpdatePrompt13, SDKValidationError> {
|
|
1141
1279
|
return safeParse(
|
|
1142
1280
|
jsonString,
|
|
1143
|
-
(x) =>
|
|
1144
|
-
`Failed to parse '
|
|
1281
|
+
(x) => UpdatePrompt13$inboundSchema.parse(JSON.parse(x)),
|
|
1282
|
+
`Failed to parse 'UpdatePrompt13' from JSON`,
|
|
1145
1283
|
);
|
|
1146
1284
|
}
|
|
1147
1285
|
|
|
1148
1286
|
/** @internal */
|
|
1149
|
-
export const
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
);
|
|
1287
|
+
export const UpdatePrompt1PromptsType$inboundSchema: z.ZodNativeEnum<
|
|
1288
|
+
typeof UpdatePrompt1PromptsType
|
|
1289
|
+
> = z.nativeEnum(UpdatePrompt1PromptsType);
|
|
1153
1290
|
|
|
1154
1291
|
/** @internal */
|
|
1155
|
-
export const
|
|
1156
|
-
|
|
1157
|
-
|
|
1292
|
+
export const UpdatePrompt1PromptsType$outboundSchema: z.ZodNativeEnum<
|
|
1293
|
+
typeof UpdatePrompt1PromptsType
|
|
1294
|
+
> = UpdatePrompt1PromptsType$inboundSchema;
|
|
1158
1295
|
|
|
1159
1296
|
/**
|
|
1160
1297
|
* @internal
|
|
1161
1298
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1162
1299
|
*/
|
|
1163
|
-
export namespace
|
|
1164
|
-
/** @deprecated use `
|
|
1165
|
-
export const inboundSchema =
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
export const outboundSchema =
|
|
1169
|
-
UpdatePromptResponseFormatPromptsType$outboundSchema;
|
|
1300
|
+
export namespace UpdatePrompt1PromptsType$ {
|
|
1301
|
+
/** @deprecated use `UpdatePrompt1PromptsType$inboundSchema` instead. */
|
|
1302
|
+
export const inboundSchema = UpdatePrompt1PromptsType$inboundSchema;
|
|
1303
|
+
/** @deprecated use `UpdatePrompt1PromptsType$outboundSchema` instead. */
|
|
1304
|
+
export const outboundSchema = UpdatePrompt1PromptsType$outboundSchema;
|
|
1170
1305
|
}
|
|
1171
1306
|
|
|
1172
1307
|
/** @internal */
|
|
1173
|
-
export const
|
|
1174
|
-
|
|
1308
|
+
export const UpdatePrompt12$inboundSchema: z.ZodType<
|
|
1309
|
+
UpdatePrompt12,
|
|
1175
1310
|
z.ZodTypeDef,
|
|
1176
1311
|
unknown
|
|
1177
1312
|
> = z.object({
|
|
1178
|
-
type:
|
|
1313
|
+
type: UpdatePrompt1PromptsType$inboundSchema,
|
|
1179
1314
|
});
|
|
1180
1315
|
|
|
1181
1316
|
/** @internal */
|
|
1182
|
-
export type
|
|
1317
|
+
export type UpdatePrompt12$Outbound = {
|
|
1183
1318
|
type: string;
|
|
1184
1319
|
};
|
|
1185
1320
|
|
|
1186
1321
|
/** @internal */
|
|
1187
|
-
export const
|
|
1188
|
-
|
|
1322
|
+
export const UpdatePrompt12$outboundSchema: z.ZodType<
|
|
1323
|
+
UpdatePrompt12$Outbound,
|
|
1189
1324
|
z.ZodTypeDef,
|
|
1190
|
-
|
|
1325
|
+
UpdatePrompt12
|
|
1191
1326
|
> = z.object({
|
|
1192
|
-
type:
|
|
1327
|
+
type: UpdatePrompt1PromptsType$outboundSchema,
|
|
1193
1328
|
});
|
|
1194
1329
|
|
|
1195
1330
|
/**
|
|
1196
1331
|
* @internal
|
|
1197
1332
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1198
1333
|
*/
|
|
1199
|
-
export namespace
|
|
1200
|
-
/** @deprecated use `
|
|
1201
|
-
export const inboundSchema =
|
|
1202
|
-
/** @deprecated use `
|
|
1203
|
-
export const outboundSchema =
|
|
1204
|
-
/** @deprecated use `
|
|
1205
|
-
export type Outbound =
|
|
1334
|
+
export namespace UpdatePrompt12$ {
|
|
1335
|
+
/** @deprecated use `UpdatePrompt12$inboundSchema` instead. */
|
|
1336
|
+
export const inboundSchema = UpdatePrompt12$inboundSchema;
|
|
1337
|
+
/** @deprecated use `UpdatePrompt12$outboundSchema` instead. */
|
|
1338
|
+
export const outboundSchema = UpdatePrompt12$outboundSchema;
|
|
1339
|
+
/** @deprecated use `UpdatePrompt12$Outbound` instead. */
|
|
1340
|
+
export type Outbound = UpdatePrompt12$Outbound;
|
|
1206
1341
|
}
|
|
1207
1342
|
|
|
1208
|
-
export function
|
|
1209
|
-
|
|
1210
|
-
): string {
|
|
1211
|
-
return JSON.stringify(
|
|
1212
|
-
UpdatePromptResponseFormat2$outboundSchema.parse(
|
|
1213
|
-
updatePromptResponseFormat2,
|
|
1214
|
-
),
|
|
1215
|
-
);
|
|
1343
|
+
export function updatePrompt12ToJSON(updatePrompt12: UpdatePrompt12): string {
|
|
1344
|
+
return JSON.stringify(UpdatePrompt12$outboundSchema.parse(updatePrompt12));
|
|
1216
1345
|
}
|
|
1217
1346
|
|
|
1218
|
-
export function
|
|
1347
|
+
export function updatePrompt12FromJSON(
|
|
1219
1348
|
jsonString: string,
|
|
1220
|
-
): SafeParseResult<
|
|
1349
|
+
): SafeParseResult<UpdatePrompt12, SDKValidationError> {
|
|
1221
1350
|
return safeParse(
|
|
1222
1351
|
jsonString,
|
|
1223
|
-
(x) =>
|
|
1224
|
-
`Failed to parse '
|
|
1352
|
+
(x) => UpdatePrompt12$inboundSchema.parse(JSON.parse(x)),
|
|
1353
|
+
`Failed to parse 'UpdatePrompt12' from JSON`,
|
|
1225
1354
|
);
|
|
1226
1355
|
}
|
|
1227
1356
|
|
|
1228
1357
|
/** @internal */
|
|
1229
|
-
export const
|
|
1230
|
-
typeof
|
|
1231
|
-
> = z.nativeEnum(
|
|
1358
|
+
export const UpdatePrompt1Type$inboundSchema: z.ZodNativeEnum<
|
|
1359
|
+
typeof UpdatePrompt1Type
|
|
1360
|
+
> = z.nativeEnum(UpdatePrompt1Type);
|
|
1232
1361
|
|
|
1233
1362
|
/** @internal */
|
|
1234
|
-
export const
|
|
1235
|
-
typeof
|
|
1236
|
-
> =
|
|
1363
|
+
export const UpdatePrompt1Type$outboundSchema: z.ZodNativeEnum<
|
|
1364
|
+
typeof UpdatePrompt1Type
|
|
1365
|
+
> = UpdatePrompt1Type$inboundSchema;
|
|
1237
1366
|
|
|
1238
1367
|
/**
|
|
1239
1368
|
* @internal
|
|
1240
1369
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1241
1370
|
*/
|
|
1242
|
-
export namespace
|
|
1243
|
-
/** @deprecated use `
|
|
1244
|
-
export const inboundSchema =
|
|
1245
|
-
/** @deprecated use `
|
|
1246
|
-
export const outboundSchema =
|
|
1371
|
+
export namespace UpdatePrompt1Type$ {
|
|
1372
|
+
/** @deprecated use `UpdatePrompt1Type$inboundSchema` instead. */
|
|
1373
|
+
export const inboundSchema = UpdatePrompt1Type$inboundSchema;
|
|
1374
|
+
/** @deprecated use `UpdatePrompt1Type$outboundSchema` instead. */
|
|
1375
|
+
export const outboundSchema = UpdatePrompt1Type$outboundSchema;
|
|
1247
1376
|
}
|
|
1248
1377
|
|
|
1249
1378
|
/** @internal */
|
|
1250
|
-
export const
|
|
1251
|
-
|
|
1379
|
+
export const OneJsonSchema$inboundSchema: z.ZodType<
|
|
1380
|
+
OneJsonSchema,
|
|
1252
1381
|
z.ZodTypeDef,
|
|
1253
1382
|
unknown
|
|
1254
1383
|
> = z.object({
|
|
@@ -1258,17 +1387,17 @@ export const ResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
1258
1387
|
});
|
|
1259
1388
|
|
|
1260
1389
|
/** @internal */
|
|
1261
|
-
export type
|
|
1390
|
+
export type OneJsonSchema$Outbound = {
|
|
1262
1391
|
name: string;
|
|
1263
1392
|
strict?: boolean | undefined;
|
|
1264
1393
|
schema: { [k: string]: any };
|
|
1265
1394
|
};
|
|
1266
1395
|
|
|
1267
1396
|
/** @internal */
|
|
1268
|
-
export const
|
|
1269
|
-
|
|
1397
|
+
export const OneJsonSchema$outboundSchema: z.ZodType<
|
|
1398
|
+
OneJsonSchema$Outbound,
|
|
1270
1399
|
z.ZodTypeDef,
|
|
1271
|
-
|
|
1400
|
+
OneJsonSchema
|
|
1272
1401
|
> = z.object({
|
|
1273
1402
|
name: z.string(),
|
|
1274
1403
|
strict: z.boolean().optional(),
|
|
@@ -1279,41 +1408,37 @@ export const ResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
1279
1408
|
* @internal
|
|
1280
1409
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1281
1410
|
*/
|
|
1282
|
-
export namespace
|
|
1283
|
-
/** @deprecated use `
|
|
1284
|
-
export const inboundSchema =
|
|
1285
|
-
/** @deprecated use `
|
|
1286
|
-
export const outboundSchema =
|
|
1287
|
-
/** @deprecated use `
|
|
1288
|
-
export type Outbound =
|
|
1411
|
+
export namespace OneJsonSchema$ {
|
|
1412
|
+
/** @deprecated use `OneJsonSchema$inboundSchema` instead. */
|
|
1413
|
+
export const inboundSchema = OneJsonSchema$inboundSchema;
|
|
1414
|
+
/** @deprecated use `OneJsonSchema$outboundSchema` instead. */
|
|
1415
|
+
export const outboundSchema = OneJsonSchema$outboundSchema;
|
|
1416
|
+
/** @deprecated use `OneJsonSchema$Outbound` instead. */
|
|
1417
|
+
export type Outbound = OneJsonSchema$Outbound;
|
|
1289
1418
|
}
|
|
1290
1419
|
|
|
1291
|
-
export function
|
|
1292
|
-
|
|
1293
|
-
): string {
|
|
1294
|
-
return JSON.stringify(
|
|
1295
|
-
ResponseFormatJsonSchema$outboundSchema.parse(responseFormatJsonSchema),
|
|
1296
|
-
);
|
|
1420
|
+
export function oneJsonSchemaToJSON(oneJsonSchema: OneJsonSchema): string {
|
|
1421
|
+
return JSON.stringify(OneJsonSchema$outboundSchema.parse(oneJsonSchema));
|
|
1297
1422
|
}
|
|
1298
1423
|
|
|
1299
|
-
export function
|
|
1424
|
+
export function oneJsonSchemaFromJSON(
|
|
1300
1425
|
jsonString: string,
|
|
1301
|
-
): SafeParseResult<
|
|
1426
|
+
): SafeParseResult<OneJsonSchema, SDKValidationError> {
|
|
1302
1427
|
return safeParse(
|
|
1303
1428
|
jsonString,
|
|
1304
|
-
(x) =>
|
|
1305
|
-
`Failed to parse '
|
|
1429
|
+
(x) => OneJsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
1430
|
+
`Failed to parse 'OneJsonSchema' from JSON`,
|
|
1306
1431
|
);
|
|
1307
1432
|
}
|
|
1308
1433
|
|
|
1309
1434
|
/** @internal */
|
|
1310
|
-
export const
|
|
1311
|
-
|
|
1435
|
+
export const UpdatePrompt11$inboundSchema: z.ZodType<
|
|
1436
|
+
UpdatePrompt11,
|
|
1312
1437
|
z.ZodTypeDef,
|
|
1313
1438
|
unknown
|
|
1314
1439
|
> = z.object({
|
|
1315
|
-
type:
|
|
1316
|
-
json_schema: z.lazy(() =>
|
|
1440
|
+
type: UpdatePrompt1Type$inboundSchema,
|
|
1441
|
+
json_schema: z.lazy(() => OneJsonSchema$inboundSchema),
|
|
1317
1442
|
}).transform((v) => {
|
|
1318
1443
|
return remap$(v, {
|
|
1319
1444
|
"json_schema": "jsonSchema",
|
|
@@ -1321,25 +1446,80 @@ export const UpdatePromptResponseFormat1$inboundSchema: z.ZodType<
|
|
|
1321
1446
|
});
|
|
1322
1447
|
|
|
1323
1448
|
/** @internal */
|
|
1324
|
-
export type
|
|
1449
|
+
export type UpdatePrompt11$Outbound = {
|
|
1325
1450
|
type: string;
|
|
1326
|
-
json_schema:
|
|
1451
|
+
json_schema: OneJsonSchema$Outbound;
|
|
1327
1452
|
};
|
|
1328
1453
|
|
|
1329
1454
|
/** @internal */
|
|
1330
|
-
export const
|
|
1331
|
-
|
|
1455
|
+
export const UpdatePrompt11$outboundSchema: z.ZodType<
|
|
1456
|
+
UpdatePrompt11$Outbound,
|
|
1332
1457
|
z.ZodTypeDef,
|
|
1333
|
-
|
|
1458
|
+
UpdatePrompt11
|
|
1334
1459
|
> = z.object({
|
|
1335
|
-
type:
|
|
1336
|
-
jsonSchema: z.lazy(() =>
|
|
1460
|
+
type: UpdatePrompt1Type$outboundSchema,
|
|
1461
|
+
jsonSchema: z.lazy(() => OneJsonSchema$outboundSchema),
|
|
1337
1462
|
}).transform((v) => {
|
|
1338
1463
|
return remap$(v, {
|
|
1339
1464
|
jsonSchema: "json_schema",
|
|
1340
1465
|
});
|
|
1341
1466
|
});
|
|
1342
1467
|
|
|
1468
|
+
/**
|
|
1469
|
+
* @internal
|
|
1470
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1471
|
+
*/
|
|
1472
|
+
export namespace UpdatePrompt11$ {
|
|
1473
|
+
/** @deprecated use `UpdatePrompt11$inboundSchema` instead. */
|
|
1474
|
+
export const inboundSchema = UpdatePrompt11$inboundSchema;
|
|
1475
|
+
/** @deprecated use `UpdatePrompt11$outboundSchema` instead. */
|
|
1476
|
+
export const outboundSchema = UpdatePrompt11$outboundSchema;
|
|
1477
|
+
/** @deprecated use `UpdatePrompt11$Outbound` instead. */
|
|
1478
|
+
export type Outbound = UpdatePrompt11$Outbound;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
export function updatePrompt11ToJSON(updatePrompt11: UpdatePrompt11): string {
|
|
1482
|
+
return JSON.stringify(UpdatePrompt11$outboundSchema.parse(updatePrompt11));
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
export function updatePrompt11FromJSON(
|
|
1486
|
+
jsonString: string,
|
|
1487
|
+
): SafeParseResult<UpdatePrompt11, SDKValidationError> {
|
|
1488
|
+
return safeParse(
|
|
1489
|
+
jsonString,
|
|
1490
|
+
(x) => UpdatePrompt11$inboundSchema.parse(JSON.parse(x)),
|
|
1491
|
+
`Failed to parse 'UpdatePrompt11' from JSON`,
|
|
1492
|
+
);
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
/** @internal */
|
|
1496
|
+
export const UpdatePromptResponseFormat1$inboundSchema: z.ZodType<
|
|
1497
|
+
UpdatePromptResponseFormat1,
|
|
1498
|
+
z.ZodTypeDef,
|
|
1499
|
+
unknown
|
|
1500
|
+
> = z.union([
|
|
1501
|
+
z.lazy(() => UpdatePrompt11$inboundSchema),
|
|
1502
|
+
z.lazy(() => UpdatePrompt12$inboundSchema),
|
|
1503
|
+
z.lazy(() => UpdatePrompt13$inboundSchema),
|
|
1504
|
+
]);
|
|
1505
|
+
|
|
1506
|
+
/** @internal */
|
|
1507
|
+
export type UpdatePromptResponseFormat1$Outbound =
|
|
1508
|
+
| UpdatePrompt11$Outbound
|
|
1509
|
+
| UpdatePrompt12$Outbound
|
|
1510
|
+
| UpdatePrompt13$Outbound;
|
|
1511
|
+
|
|
1512
|
+
/** @internal */
|
|
1513
|
+
export const UpdatePromptResponseFormat1$outboundSchema: z.ZodType<
|
|
1514
|
+
UpdatePromptResponseFormat1$Outbound,
|
|
1515
|
+
z.ZodTypeDef,
|
|
1516
|
+
UpdatePromptResponseFormat1
|
|
1517
|
+
> = z.union([
|
|
1518
|
+
z.lazy(() => UpdatePrompt11$outboundSchema),
|
|
1519
|
+
z.lazy(() => UpdatePrompt12$outboundSchema),
|
|
1520
|
+
z.lazy(() => UpdatePrompt13$outboundSchema),
|
|
1521
|
+
]);
|
|
1522
|
+
|
|
1343
1523
|
/**
|
|
1344
1524
|
* @internal
|
|
1345
1525
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -1379,16 +1559,24 @@ export const UpdatePromptResponseFormat$inboundSchema: z.ZodType<
|
|
|
1379
1559
|
z.ZodTypeDef,
|
|
1380
1560
|
unknown
|
|
1381
1561
|
> = z.union([
|
|
1382
|
-
z.
|
|
1383
|
-
|
|
1384
|
-
|
|
1562
|
+
z.union([
|
|
1563
|
+
z.lazy(() => UpdatePrompt11$inboundSchema),
|
|
1564
|
+
z.lazy(() => UpdatePrompt12$inboundSchema),
|
|
1565
|
+
z.lazy(() => UpdatePrompt13$inboundSchema),
|
|
1566
|
+
]),
|
|
1567
|
+
UpdatePromptResponseFormat2$inboundSchema,
|
|
1568
|
+
UpdatePromptResponseFormat3$inboundSchema,
|
|
1569
|
+
UpdatePromptResponseFormat4$inboundSchema,
|
|
1385
1570
|
]);
|
|
1386
1571
|
|
|
1387
1572
|
/** @internal */
|
|
1388
1573
|
export type UpdatePromptResponseFormat$Outbound =
|
|
1389
|
-
|
|
|
1390
|
-
|
|
|
1391
|
-
|
|
|
1574
|
+
| UpdatePrompt11$Outbound
|
|
1575
|
+
| UpdatePrompt12$Outbound
|
|
1576
|
+
| UpdatePrompt13$Outbound
|
|
1577
|
+
| string
|
|
1578
|
+
| string
|
|
1579
|
+
| string;
|
|
1392
1580
|
|
|
1393
1581
|
/** @internal */
|
|
1394
1582
|
export const UpdatePromptResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -1396,9 +1584,14 @@ export const UpdatePromptResponseFormat$outboundSchema: z.ZodType<
|
|
|
1396
1584
|
z.ZodTypeDef,
|
|
1397
1585
|
UpdatePromptResponseFormat
|
|
1398
1586
|
> = z.union([
|
|
1399
|
-
z.
|
|
1400
|
-
|
|
1401
|
-
|
|
1587
|
+
z.union([
|
|
1588
|
+
z.lazy(() => UpdatePrompt11$outboundSchema),
|
|
1589
|
+
z.lazy(() => UpdatePrompt12$outboundSchema),
|
|
1590
|
+
z.lazy(() => UpdatePrompt13$outboundSchema),
|
|
1591
|
+
]),
|
|
1592
|
+
UpdatePromptResponseFormat2$outboundSchema,
|
|
1593
|
+
UpdatePromptResponseFormat3$outboundSchema,
|
|
1594
|
+
UpdatePromptResponseFormat4$outboundSchema,
|
|
1402
1595
|
]);
|
|
1403
1596
|
|
|
1404
1597
|
/**
|
|
@@ -1536,9 +1729,14 @@ export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
1536
1729
|
style: z.string().optional(),
|
|
1537
1730
|
responseFormat: z.nullable(
|
|
1538
1731
|
z.union([
|
|
1539
|
-
z.
|
|
1540
|
-
|
|
1541
|
-
|
|
1732
|
+
z.union([
|
|
1733
|
+
z.lazy(() => UpdatePrompt11$inboundSchema),
|
|
1734
|
+
z.lazy(() => UpdatePrompt12$inboundSchema),
|
|
1735
|
+
z.lazy(() => UpdatePrompt13$inboundSchema),
|
|
1736
|
+
]),
|
|
1737
|
+
UpdatePromptResponseFormat2$inboundSchema,
|
|
1738
|
+
UpdatePromptResponseFormat3$inboundSchema,
|
|
1739
|
+
UpdatePromptResponseFormat4$inboundSchema,
|
|
1542
1740
|
]),
|
|
1543
1741
|
).optional(),
|
|
1544
1742
|
photoRealVersion: UpdatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1567,9 +1765,12 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1567
1765
|
quality?: string | undefined;
|
|
1568
1766
|
style?: string | undefined;
|
|
1569
1767
|
responseFormat?:
|
|
1570
|
-
|
|
|
1571
|
-
|
|
|
1572
|
-
|
|
|
1768
|
+
| UpdatePrompt11$Outbound
|
|
1769
|
+
| UpdatePrompt12$Outbound
|
|
1770
|
+
| UpdatePrompt13$Outbound
|
|
1771
|
+
| string
|
|
1772
|
+
| string
|
|
1773
|
+
| string
|
|
1573
1774
|
| null
|
|
1574
1775
|
| undefined;
|
|
1575
1776
|
photoRealVersion?: string | undefined;
|
|
@@ -1599,9 +1800,14 @@ export const UpdatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1599
1800
|
style: z.string().optional(),
|
|
1600
1801
|
responseFormat: z.nullable(
|
|
1601
1802
|
z.union([
|
|
1602
|
-
z.
|
|
1603
|
-
|
|
1604
|
-
|
|
1803
|
+
z.union([
|
|
1804
|
+
z.lazy(() => UpdatePrompt11$outboundSchema),
|
|
1805
|
+
z.lazy(() => UpdatePrompt12$outboundSchema),
|
|
1806
|
+
z.lazy(() => UpdatePrompt13$outboundSchema),
|
|
1807
|
+
]),
|
|
1808
|
+
UpdatePromptResponseFormat2$outboundSchema,
|
|
1809
|
+
UpdatePromptResponseFormat3$outboundSchema,
|
|
1810
|
+
UpdatePromptResponseFormat4$outboundSchema,
|
|
1605
1811
|
]),
|
|
1606
1812
|
).optional(),
|
|
1607
1813
|
photoRealVersion: UpdatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
@@ -2851,200 +3057,249 @@ export namespace UpdatePromptPromptsFormat$ {
|
|
|
2851
3057
|
}
|
|
2852
3058
|
|
|
2853
3059
|
/** @internal */
|
|
2854
|
-
export const
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
3060
|
+
export const UpdatePromptResponseFormatPrompts4$inboundSchema: z.ZodNativeEnum<
|
|
3061
|
+
typeof UpdatePromptResponseFormatPrompts4
|
|
3062
|
+
> = z.nativeEnum(UpdatePromptResponseFormatPrompts4);
|
|
3063
|
+
|
|
3064
|
+
/** @internal */
|
|
3065
|
+
export const UpdatePromptResponseFormatPrompts4$outboundSchema: z.ZodNativeEnum<
|
|
3066
|
+
typeof UpdatePromptResponseFormatPrompts4
|
|
3067
|
+
> = UpdatePromptResponseFormatPrompts4$inboundSchema;
|
|
3068
|
+
|
|
3069
|
+
/**
|
|
3070
|
+
* @internal
|
|
3071
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3072
|
+
*/
|
|
3073
|
+
export namespace UpdatePromptResponseFormatPrompts4$ {
|
|
3074
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts4$inboundSchema` instead. */
|
|
3075
|
+
export const inboundSchema = UpdatePromptResponseFormatPrompts4$inboundSchema;
|
|
3076
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts4$outboundSchema` instead. */
|
|
3077
|
+
export const outboundSchema =
|
|
3078
|
+
UpdatePromptResponseFormatPrompts4$outboundSchema;
|
|
3079
|
+
}
|
|
3080
|
+
|
|
3081
|
+
/** @internal */
|
|
3082
|
+
export const UpdatePromptResponseFormatPrompts3$inboundSchema: z.ZodNativeEnum<
|
|
3083
|
+
typeof UpdatePromptResponseFormatPrompts3
|
|
3084
|
+
> = z.nativeEnum(UpdatePromptResponseFormatPrompts3);
|
|
2860
3085
|
|
|
2861
3086
|
/** @internal */
|
|
2862
|
-
export const
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
> =
|
|
2866
|
-
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema;
|
|
3087
|
+
export const UpdatePromptResponseFormatPrompts3$outboundSchema: z.ZodNativeEnum<
|
|
3088
|
+
typeof UpdatePromptResponseFormatPrompts3
|
|
3089
|
+
> = UpdatePromptResponseFormatPrompts3$inboundSchema;
|
|
2867
3090
|
|
|
2868
3091
|
/**
|
|
2869
3092
|
* @internal
|
|
2870
3093
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2871
3094
|
*/
|
|
2872
|
-
export namespace
|
|
2873
|
-
/** @deprecated use `
|
|
3095
|
+
export namespace UpdatePromptResponseFormatPrompts3$ {
|
|
3096
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts3$inboundSchema` instead. */
|
|
3097
|
+
export const inboundSchema = UpdatePromptResponseFormatPrompts3$inboundSchema;
|
|
3098
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts3$outboundSchema` instead. */
|
|
3099
|
+
export const outboundSchema =
|
|
3100
|
+
UpdatePromptResponseFormatPrompts3$outboundSchema;
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3103
|
+
/** @internal */
|
|
3104
|
+
export const UpdatePromptResponseFormatPrompts2$inboundSchema: z.ZodNativeEnum<
|
|
3105
|
+
typeof UpdatePromptResponseFormatPrompts2
|
|
3106
|
+
> = z.nativeEnum(UpdatePromptResponseFormatPrompts2);
|
|
3107
|
+
|
|
3108
|
+
/** @internal */
|
|
3109
|
+
export const UpdatePromptResponseFormatPrompts2$outboundSchema: z.ZodNativeEnum<
|
|
3110
|
+
typeof UpdatePromptResponseFormatPrompts2
|
|
3111
|
+
> = UpdatePromptResponseFormatPrompts2$inboundSchema;
|
|
3112
|
+
|
|
3113
|
+
/**
|
|
3114
|
+
* @internal
|
|
3115
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3116
|
+
*/
|
|
3117
|
+
export namespace UpdatePromptResponseFormatPrompts2$ {
|
|
3118
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts2$inboundSchema` instead. */
|
|
3119
|
+
export const inboundSchema = UpdatePromptResponseFormatPrompts2$inboundSchema;
|
|
3120
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts2$outboundSchema` instead. */
|
|
3121
|
+
export const outboundSchema =
|
|
3122
|
+
UpdatePromptResponseFormatPrompts2$outboundSchema;
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
/** @internal */
|
|
3126
|
+
export const UpdatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema:
|
|
3127
|
+
z.ZodNativeEnum<typeof UpdatePrompt1PromptsResponse200ApplicationJSONType> = z
|
|
3128
|
+
.nativeEnum(UpdatePrompt1PromptsResponse200ApplicationJSONType);
|
|
3129
|
+
|
|
3130
|
+
/** @internal */
|
|
3131
|
+
export const UpdatePrompt1PromptsResponse200ApplicationJSONType$outboundSchema:
|
|
3132
|
+
z.ZodNativeEnum<typeof UpdatePrompt1PromptsResponse200ApplicationJSONType> =
|
|
3133
|
+
UpdatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema;
|
|
3134
|
+
|
|
3135
|
+
/**
|
|
3136
|
+
* @internal
|
|
3137
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3138
|
+
*/
|
|
3139
|
+
export namespace UpdatePrompt1PromptsResponse200ApplicationJSONType$ {
|
|
3140
|
+
/** @deprecated use `UpdatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
2874
3141
|
export const inboundSchema =
|
|
2875
|
-
|
|
2876
|
-
/** @deprecated use `
|
|
3142
|
+
UpdatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema;
|
|
3143
|
+
/** @deprecated use `UpdatePrompt1PromptsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
2877
3144
|
export const outboundSchema =
|
|
2878
|
-
|
|
3145
|
+
UpdatePrompt1PromptsResponse200ApplicationJSONType$outboundSchema;
|
|
2879
3146
|
}
|
|
2880
3147
|
|
|
2881
3148
|
/** @internal */
|
|
2882
|
-
export const
|
|
2883
|
-
|
|
3149
|
+
export const UpdatePrompt1Prompts3$inboundSchema: z.ZodType<
|
|
3150
|
+
UpdatePrompt1Prompts3,
|
|
2884
3151
|
z.ZodTypeDef,
|
|
2885
3152
|
unknown
|
|
2886
3153
|
> = z.object({
|
|
2887
|
-
type:
|
|
2888
|
-
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema,
|
|
3154
|
+
type: UpdatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema,
|
|
2889
3155
|
});
|
|
2890
3156
|
|
|
2891
3157
|
/** @internal */
|
|
2892
|
-
export type
|
|
3158
|
+
export type UpdatePrompt1Prompts3$Outbound = {
|
|
2893
3159
|
type: string;
|
|
2894
3160
|
};
|
|
2895
3161
|
|
|
2896
3162
|
/** @internal */
|
|
2897
|
-
export const
|
|
2898
|
-
|
|
3163
|
+
export const UpdatePrompt1Prompts3$outboundSchema: z.ZodType<
|
|
3164
|
+
UpdatePrompt1Prompts3$Outbound,
|
|
2899
3165
|
z.ZodTypeDef,
|
|
2900
|
-
|
|
3166
|
+
UpdatePrompt1Prompts3
|
|
2901
3167
|
> = z.object({
|
|
2902
|
-
type:
|
|
2903
|
-
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema,
|
|
3168
|
+
type: UpdatePrompt1PromptsResponse200ApplicationJSONType$outboundSchema,
|
|
2904
3169
|
});
|
|
2905
3170
|
|
|
2906
3171
|
/**
|
|
2907
3172
|
* @internal
|
|
2908
3173
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2909
3174
|
*/
|
|
2910
|
-
export namespace
|
|
2911
|
-
/** @deprecated use `
|
|
2912
|
-
export const inboundSchema =
|
|
2913
|
-
/** @deprecated use `
|
|
2914
|
-
export const outboundSchema =
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
export type Outbound = UpdatePromptResponseFormatPrompts3$Outbound;
|
|
3175
|
+
export namespace UpdatePrompt1Prompts3$ {
|
|
3176
|
+
/** @deprecated use `UpdatePrompt1Prompts3$inboundSchema` instead. */
|
|
3177
|
+
export const inboundSchema = UpdatePrompt1Prompts3$inboundSchema;
|
|
3178
|
+
/** @deprecated use `UpdatePrompt1Prompts3$outboundSchema` instead. */
|
|
3179
|
+
export const outboundSchema = UpdatePrompt1Prompts3$outboundSchema;
|
|
3180
|
+
/** @deprecated use `UpdatePrompt1Prompts3$Outbound` instead. */
|
|
3181
|
+
export type Outbound = UpdatePrompt1Prompts3$Outbound;
|
|
2918
3182
|
}
|
|
2919
3183
|
|
|
2920
|
-
export function
|
|
2921
|
-
|
|
3184
|
+
export function updatePrompt1Prompts3ToJSON(
|
|
3185
|
+
updatePrompt1Prompts3: UpdatePrompt1Prompts3,
|
|
2922
3186
|
): string {
|
|
2923
3187
|
return JSON.stringify(
|
|
2924
|
-
|
|
2925
|
-
updatePromptResponseFormatPrompts3,
|
|
2926
|
-
),
|
|
3188
|
+
UpdatePrompt1Prompts3$outboundSchema.parse(updatePrompt1Prompts3),
|
|
2927
3189
|
);
|
|
2928
3190
|
}
|
|
2929
3191
|
|
|
2930
|
-
export function
|
|
3192
|
+
export function updatePrompt1Prompts3FromJSON(
|
|
2931
3193
|
jsonString: string,
|
|
2932
|
-
): SafeParseResult<
|
|
3194
|
+
): SafeParseResult<UpdatePrompt1Prompts3, SDKValidationError> {
|
|
2933
3195
|
return safeParse(
|
|
2934
3196
|
jsonString,
|
|
2935
|
-
(x) =>
|
|
2936
|
-
|
|
2937
|
-
`Failed to parse 'UpdatePromptResponseFormatPrompts3' from JSON`,
|
|
3197
|
+
(x) => UpdatePrompt1Prompts3$inboundSchema.parse(JSON.parse(x)),
|
|
3198
|
+
`Failed to parse 'UpdatePrompt1Prompts3' from JSON`,
|
|
2938
3199
|
);
|
|
2939
3200
|
}
|
|
2940
3201
|
|
|
2941
3202
|
/** @internal */
|
|
2942
|
-
export const
|
|
2943
|
-
|
|
2944
|
-
|
|
3203
|
+
export const UpdatePrompt1PromptsResponse200Type$inboundSchema: z.ZodNativeEnum<
|
|
3204
|
+
typeof UpdatePrompt1PromptsResponse200Type
|
|
3205
|
+
> = z.nativeEnum(UpdatePrompt1PromptsResponse200Type);
|
|
2945
3206
|
|
|
2946
3207
|
/** @internal */
|
|
2947
|
-
export const
|
|
2948
|
-
z.ZodNativeEnum<typeof
|
|
2949
|
-
|
|
3208
|
+
export const UpdatePrompt1PromptsResponse200Type$outboundSchema:
|
|
3209
|
+
z.ZodNativeEnum<typeof UpdatePrompt1PromptsResponse200Type> =
|
|
3210
|
+
UpdatePrompt1PromptsResponse200Type$inboundSchema;
|
|
2950
3211
|
|
|
2951
3212
|
/**
|
|
2952
3213
|
* @internal
|
|
2953
3214
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2954
3215
|
*/
|
|
2955
|
-
export namespace
|
|
2956
|
-
/** @deprecated use `
|
|
3216
|
+
export namespace UpdatePrompt1PromptsResponse200Type$ {
|
|
3217
|
+
/** @deprecated use `UpdatePrompt1PromptsResponse200Type$inboundSchema` instead. */
|
|
2957
3218
|
export const inboundSchema =
|
|
2958
|
-
|
|
2959
|
-
/** @deprecated use `
|
|
3219
|
+
UpdatePrompt1PromptsResponse200Type$inboundSchema;
|
|
3220
|
+
/** @deprecated use `UpdatePrompt1PromptsResponse200Type$outboundSchema` instead. */
|
|
2960
3221
|
export const outboundSchema =
|
|
2961
|
-
|
|
3222
|
+
UpdatePrompt1PromptsResponse200Type$outboundSchema;
|
|
2962
3223
|
}
|
|
2963
3224
|
|
|
2964
3225
|
/** @internal */
|
|
2965
|
-
export const
|
|
2966
|
-
|
|
3226
|
+
export const UpdatePrompt1Prompts2$inboundSchema: z.ZodType<
|
|
3227
|
+
UpdatePrompt1Prompts2,
|
|
2967
3228
|
z.ZodTypeDef,
|
|
2968
3229
|
unknown
|
|
2969
3230
|
> = z.object({
|
|
2970
|
-
type:
|
|
3231
|
+
type: UpdatePrompt1PromptsResponse200Type$inboundSchema,
|
|
2971
3232
|
});
|
|
2972
3233
|
|
|
2973
3234
|
/** @internal */
|
|
2974
|
-
export type
|
|
3235
|
+
export type UpdatePrompt1Prompts2$Outbound = {
|
|
2975
3236
|
type: string;
|
|
2976
3237
|
};
|
|
2977
3238
|
|
|
2978
3239
|
/** @internal */
|
|
2979
|
-
export const
|
|
2980
|
-
|
|
3240
|
+
export const UpdatePrompt1Prompts2$outboundSchema: z.ZodType<
|
|
3241
|
+
UpdatePrompt1Prompts2$Outbound,
|
|
2981
3242
|
z.ZodTypeDef,
|
|
2982
|
-
|
|
3243
|
+
UpdatePrompt1Prompts2
|
|
2983
3244
|
> = z.object({
|
|
2984
|
-
type:
|
|
3245
|
+
type: UpdatePrompt1PromptsResponse200Type$outboundSchema,
|
|
2985
3246
|
});
|
|
2986
3247
|
|
|
2987
3248
|
/**
|
|
2988
3249
|
* @internal
|
|
2989
3250
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2990
3251
|
*/
|
|
2991
|
-
export namespace
|
|
2992
|
-
/** @deprecated use `
|
|
2993
|
-
export const inboundSchema =
|
|
2994
|
-
/** @deprecated use `
|
|
2995
|
-
export const outboundSchema =
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
export type Outbound = UpdatePromptResponseFormatPrompts2$Outbound;
|
|
3252
|
+
export namespace UpdatePrompt1Prompts2$ {
|
|
3253
|
+
/** @deprecated use `UpdatePrompt1Prompts2$inboundSchema` instead. */
|
|
3254
|
+
export const inboundSchema = UpdatePrompt1Prompts2$inboundSchema;
|
|
3255
|
+
/** @deprecated use `UpdatePrompt1Prompts2$outboundSchema` instead. */
|
|
3256
|
+
export const outboundSchema = UpdatePrompt1Prompts2$outboundSchema;
|
|
3257
|
+
/** @deprecated use `UpdatePrompt1Prompts2$Outbound` instead. */
|
|
3258
|
+
export type Outbound = UpdatePrompt1Prompts2$Outbound;
|
|
2999
3259
|
}
|
|
3000
3260
|
|
|
3001
|
-
export function
|
|
3002
|
-
|
|
3261
|
+
export function updatePrompt1Prompts2ToJSON(
|
|
3262
|
+
updatePrompt1Prompts2: UpdatePrompt1Prompts2,
|
|
3003
3263
|
): string {
|
|
3004
3264
|
return JSON.stringify(
|
|
3005
|
-
|
|
3006
|
-
updatePromptResponseFormatPrompts2,
|
|
3007
|
-
),
|
|
3265
|
+
UpdatePrompt1Prompts2$outboundSchema.parse(updatePrompt1Prompts2),
|
|
3008
3266
|
);
|
|
3009
3267
|
}
|
|
3010
3268
|
|
|
3011
|
-
export function
|
|
3269
|
+
export function updatePrompt1Prompts2FromJSON(
|
|
3012
3270
|
jsonString: string,
|
|
3013
|
-
): SafeParseResult<
|
|
3271
|
+
): SafeParseResult<UpdatePrompt1Prompts2, SDKValidationError> {
|
|
3014
3272
|
return safeParse(
|
|
3015
3273
|
jsonString,
|
|
3016
|
-
(x) =>
|
|
3017
|
-
|
|
3018
|
-
`Failed to parse 'UpdatePromptResponseFormatPrompts2' from JSON`,
|
|
3274
|
+
(x) => UpdatePrompt1Prompts2$inboundSchema.parse(JSON.parse(x)),
|
|
3275
|
+
`Failed to parse 'UpdatePrompt1Prompts2' from JSON`,
|
|
3019
3276
|
);
|
|
3020
3277
|
}
|
|
3021
3278
|
|
|
3022
3279
|
/** @internal */
|
|
3023
|
-
export const
|
|
3024
|
-
|
|
3025
|
-
|
|
3280
|
+
export const UpdatePrompt1PromptsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
3281
|
+
typeof UpdatePrompt1PromptsResponseType
|
|
3282
|
+
> = z.nativeEnum(UpdatePrompt1PromptsResponseType);
|
|
3026
3283
|
|
|
3027
3284
|
/** @internal */
|
|
3028
|
-
export const
|
|
3029
|
-
|
|
3030
|
-
|
|
3285
|
+
export const UpdatePrompt1PromptsResponseType$outboundSchema: z.ZodNativeEnum<
|
|
3286
|
+
typeof UpdatePrompt1PromptsResponseType
|
|
3287
|
+
> = UpdatePrompt1PromptsResponseType$inboundSchema;
|
|
3031
3288
|
|
|
3032
3289
|
/**
|
|
3033
3290
|
* @internal
|
|
3034
3291
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3035
3292
|
*/
|
|
3036
|
-
export namespace
|
|
3037
|
-
/** @deprecated use `
|
|
3038
|
-
export const inboundSchema =
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
export const outboundSchema =
|
|
3042
|
-
UpdatePromptResponseFormatPromptsResponseType$outboundSchema;
|
|
3293
|
+
export namespace UpdatePrompt1PromptsResponseType$ {
|
|
3294
|
+
/** @deprecated use `UpdatePrompt1PromptsResponseType$inboundSchema` instead. */
|
|
3295
|
+
export const inboundSchema = UpdatePrompt1PromptsResponseType$inboundSchema;
|
|
3296
|
+
/** @deprecated use `UpdatePrompt1PromptsResponseType$outboundSchema` instead. */
|
|
3297
|
+
export const outboundSchema = UpdatePrompt1PromptsResponseType$outboundSchema;
|
|
3043
3298
|
}
|
|
3044
3299
|
|
|
3045
3300
|
/** @internal */
|
|
3046
|
-
export const
|
|
3047
|
-
|
|
3301
|
+
export const UpdatePrompt1JsonSchema$inboundSchema: z.ZodType<
|
|
3302
|
+
UpdatePrompt1JsonSchema,
|
|
3048
3303
|
z.ZodTypeDef,
|
|
3049
3304
|
unknown
|
|
3050
3305
|
> = z.object({
|
|
@@ -3054,17 +3309,17 @@ export const UpdatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
3054
3309
|
});
|
|
3055
3310
|
|
|
3056
3311
|
/** @internal */
|
|
3057
|
-
export type
|
|
3312
|
+
export type UpdatePrompt1JsonSchema$Outbound = {
|
|
3058
3313
|
name: string;
|
|
3059
3314
|
strict?: boolean | undefined;
|
|
3060
3315
|
schema: { [k: string]: any };
|
|
3061
3316
|
};
|
|
3062
3317
|
|
|
3063
3318
|
/** @internal */
|
|
3064
|
-
export const
|
|
3065
|
-
|
|
3319
|
+
export const UpdatePrompt1JsonSchema$outboundSchema: z.ZodType<
|
|
3320
|
+
UpdatePrompt1JsonSchema$Outbound,
|
|
3066
3321
|
z.ZodTypeDef,
|
|
3067
|
-
|
|
3322
|
+
UpdatePrompt1JsonSchema
|
|
3068
3323
|
> = z.object({
|
|
3069
3324
|
name: z.string(),
|
|
3070
3325
|
strict: z.boolean().optional(),
|
|
@@ -3075,46 +3330,41 @@ export const UpdatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
3075
3330
|
* @internal
|
|
3076
3331
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3077
3332
|
*/
|
|
3078
|
-
export namespace
|
|
3079
|
-
/** @deprecated use `
|
|
3080
|
-
export const inboundSchema =
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$Outbound` instead. */
|
|
3086
|
-
export type Outbound = UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
3333
|
+
export namespace UpdatePrompt1JsonSchema$ {
|
|
3334
|
+
/** @deprecated use `UpdatePrompt1JsonSchema$inboundSchema` instead. */
|
|
3335
|
+
export const inboundSchema = UpdatePrompt1JsonSchema$inboundSchema;
|
|
3336
|
+
/** @deprecated use `UpdatePrompt1JsonSchema$outboundSchema` instead. */
|
|
3337
|
+
export const outboundSchema = UpdatePrompt1JsonSchema$outboundSchema;
|
|
3338
|
+
/** @deprecated use `UpdatePrompt1JsonSchema$Outbound` instead. */
|
|
3339
|
+
export type Outbound = UpdatePrompt1JsonSchema$Outbound;
|
|
3087
3340
|
}
|
|
3088
3341
|
|
|
3089
|
-
export function
|
|
3090
|
-
|
|
3342
|
+
export function updatePrompt1JsonSchemaToJSON(
|
|
3343
|
+
updatePrompt1JsonSchema: UpdatePrompt1JsonSchema,
|
|
3091
3344
|
): string {
|
|
3092
3345
|
return JSON.stringify(
|
|
3093
|
-
|
|
3094
|
-
updatePromptResponseFormatJsonSchema,
|
|
3095
|
-
),
|
|
3346
|
+
UpdatePrompt1JsonSchema$outboundSchema.parse(updatePrompt1JsonSchema),
|
|
3096
3347
|
);
|
|
3097
3348
|
}
|
|
3098
3349
|
|
|
3099
|
-
export function
|
|
3350
|
+
export function updatePrompt1JsonSchemaFromJSON(
|
|
3100
3351
|
jsonString: string,
|
|
3101
|
-
): SafeParseResult<
|
|
3352
|
+
): SafeParseResult<UpdatePrompt1JsonSchema, SDKValidationError> {
|
|
3102
3353
|
return safeParse(
|
|
3103
3354
|
jsonString,
|
|
3104
|
-
(x) =>
|
|
3105
|
-
|
|
3106
|
-
`Failed to parse 'UpdatePromptResponseFormatJsonSchema' from JSON`,
|
|
3355
|
+
(x) => UpdatePrompt1JsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
3356
|
+
`Failed to parse 'UpdatePrompt1JsonSchema' from JSON`,
|
|
3107
3357
|
);
|
|
3108
3358
|
}
|
|
3109
3359
|
|
|
3110
3360
|
/** @internal */
|
|
3111
|
-
export const
|
|
3112
|
-
|
|
3361
|
+
export const UpdatePrompt1Prompts1$inboundSchema: z.ZodType<
|
|
3362
|
+
UpdatePrompt1Prompts1,
|
|
3113
3363
|
z.ZodTypeDef,
|
|
3114
3364
|
unknown
|
|
3115
3365
|
> = z.object({
|
|
3116
|
-
type:
|
|
3117
|
-
json_schema: z.lazy(() =>
|
|
3366
|
+
type: UpdatePrompt1PromptsResponseType$inboundSchema,
|
|
3367
|
+
json_schema: z.lazy(() => UpdatePrompt1JsonSchema$inboundSchema),
|
|
3118
3368
|
}).transform((v) => {
|
|
3119
3369
|
return remap$(v, {
|
|
3120
3370
|
"json_schema": "jsonSchema",
|
|
@@ -3122,25 +3372,84 @@ export const UpdatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<
|
|
|
3122
3372
|
});
|
|
3123
3373
|
|
|
3124
3374
|
/** @internal */
|
|
3125
|
-
export type
|
|
3375
|
+
export type UpdatePrompt1Prompts1$Outbound = {
|
|
3126
3376
|
type: string;
|
|
3127
|
-
json_schema:
|
|
3377
|
+
json_schema: UpdatePrompt1JsonSchema$Outbound;
|
|
3128
3378
|
};
|
|
3129
3379
|
|
|
3130
3380
|
/** @internal */
|
|
3131
|
-
export const
|
|
3132
|
-
|
|
3381
|
+
export const UpdatePrompt1Prompts1$outboundSchema: z.ZodType<
|
|
3382
|
+
UpdatePrompt1Prompts1$Outbound,
|
|
3133
3383
|
z.ZodTypeDef,
|
|
3134
|
-
|
|
3384
|
+
UpdatePrompt1Prompts1
|
|
3135
3385
|
> = z.object({
|
|
3136
|
-
type:
|
|
3137
|
-
jsonSchema: z.lazy(() =>
|
|
3386
|
+
type: UpdatePrompt1PromptsResponseType$outboundSchema,
|
|
3387
|
+
jsonSchema: z.lazy(() => UpdatePrompt1JsonSchema$outboundSchema),
|
|
3138
3388
|
}).transform((v) => {
|
|
3139
3389
|
return remap$(v, {
|
|
3140
3390
|
jsonSchema: "json_schema",
|
|
3141
3391
|
});
|
|
3142
3392
|
});
|
|
3143
3393
|
|
|
3394
|
+
/**
|
|
3395
|
+
* @internal
|
|
3396
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3397
|
+
*/
|
|
3398
|
+
export namespace UpdatePrompt1Prompts1$ {
|
|
3399
|
+
/** @deprecated use `UpdatePrompt1Prompts1$inboundSchema` instead. */
|
|
3400
|
+
export const inboundSchema = UpdatePrompt1Prompts1$inboundSchema;
|
|
3401
|
+
/** @deprecated use `UpdatePrompt1Prompts1$outboundSchema` instead. */
|
|
3402
|
+
export const outboundSchema = UpdatePrompt1Prompts1$outboundSchema;
|
|
3403
|
+
/** @deprecated use `UpdatePrompt1Prompts1$Outbound` instead. */
|
|
3404
|
+
export type Outbound = UpdatePrompt1Prompts1$Outbound;
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
export function updatePrompt1Prompts1ToJSON(
|
|
3408
|
+
updatePrompt1Prompts1: UpdatePrompt1Prompts1,
|
|
3409
|
+
): string {
|
|
3410
|
+
return JSON.stringify(
|
|
3411
|
+
UpdatePrompt1Prompts1$outboundSchema.parse(updatePrompt1Prompts1),
|
|
3412
|
+
);
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3415
|
+
export function updatePrompt1Prompts1FromJSON(
|
|
3416
|
+
jsonString: string,
|
|
3417
|
+
): SafeParseResult<UpdatePrompt1Prompts1, SDKValidationError> {
|
|
3418
|
+
return safeParse(
|
|
3419
|
+
jsonString,
|
|
3420
|
+
(x) => UpdatePrompt1Prompts1$inboundSchema.parse(JSON.parse(x)),
|
|
3421
|
+
`Failed to parse 'UpdatePrompt1Prompts1' from JSON`,
|
|
3422
|
+
);
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3425
|
+
/** @internal */
|
|
3426
|
+
export const UpdatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<
|
|
3427
|
+
UpdatePromptResponseFormatPrompts1,
|
|
3428
|
+
z.ZodTypeDef,
|
|
3429
|
+
unknown
|
|
3430
|
+
> = z.union([
|
|
3431
|
+
z.lazy(() => UpdatePrompt1Prompts1$inboundSchema),
|
|
3432
|
+
z.lazy(() => UpdatePrompt1Prompts2$inboundSchema),
|
|
3433
|
+
z.lazy(() => UpdatePrompt1Prompts3$inboundSchema),
|
|
3434
|
+
]);
|
|
3435
|
+
|
|
3436
|
+
/** @internal */
|
|
3437
|
+
export type UpdatePromptResponseFormatPrompts1$Outbound =
|
|
3438
|
+
| UpdatePrompt1Prompts1$Outbound
|
|
3439
|
+
| UpdatePrompt1Prompts2$Outbound
|
|
3440
|
+
| UpdatePrompt1Prompts3$Outbound;
|
|
3441
|
+
|
|
3442
|
+
/** @internal */
|
|
3443
|
+
export const UpdatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<
|
|
3444
|
+
UpdatePromptResponseFormatPrompts1$Outbound,
|
|
3445
|
+
z.ZodTypeDef,
|
|
3446
|
+
UpdatePromptResponseFormatPrompts1
|
|
3447
|
+
> = z.union([
|
|
3448
|
+
z.lazy(() => UpdatePrompt1Prompts1$outboundSchema),
|
|
3449
|
+
z.lazy(() => UpdatePrompt1Prompts2$outboundSchema),
|
|
3450
|
+
z.lazy(() => UpdatePrompt1Prompts3$outboundSchema),
|
|
3451
|
+
]);
|
|
3452
|
+
|
|
3144
3453
|
/**
|
|
3145
3454
|
* @internal
|
|
3146
3455
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -3182,16 +3491,24 @@ export const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<
|
|
|
3182
3491
|
z.ZodTypeDef,
|
|
3183
3492
|
unknown
|
|
3184
3493
|
> = z.union([
|
|
3185
|
-
z.
|
|
3186
|
-
|
|
3187
|
-
|
|
3494
|
+
z.union([
|
|
3495
|
+
z.lazy(() => UpdatePrompt1Prompts1$inboundSchema),
|
|
3496
|
+
z.lazy(() => UpdatePrompt1Prompts2$inboundSchema),
|
|
3497
|
+
z.lazy(() => UpdatePrompt1Prompts3$inboundSchema),
|
|
3498
|
+
]),
|
|
3499
|
+
UpdatePromptResponseFormatPrompts2$inboundSchema,
|
|
3500
|
+
UpdatePromptResponseFormatPrompts3$inboundSchema,
|
|
3501
|
+
UpdatePromptResponseFormatPrompts4$inboundSchema,
|
|
3188
3502
|
]);
|
|
3189
3503
|
|
|
3190
3504
|
/** @internal */
|
|
3191
3505
|
export type UpdatePromptPromptsResponseFormat$Outbound =
|
|
3192
|
-
|
|
|
3193
|
-
|
|
|
3194
|
-
|
|
|
3506
|
+
| UpdatePrompt1Prompts1$Outbound
|
|
3507
|
+
| UpdatePrompt1Prompts2$Outbound
|
|
3508
|
+
| UpdatePrompt1Prompts3$Outbound
|
|
3509
|
+
| string
|
|
3510
|
+
| string
|
|
3511
|
+
| string;
|
|
3195
3512
|
|
|
3196
3513
|
/** @internal */
|
|
3197
3514
|
export const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -3199,9 +3516,14 @@ export const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<
|
|
|
3199
3516
|
z.ZodTypeDef,
|
|
3200
3517
|
UpdatePromptPromptsResponseFormat
|
|
3201
3518
|
> = z.union([
|
|
3202
|
-
z.
|
|
3203
|
-
|
|
3204
|
-
|
|
3519
|
+
z.union([
|
|
3520
|
+
z.lazy(() => UpdatePrompt1Prompts1$outboundSchema),
|
|
3521
|
+
z.lazy(() => UpdatePrompt1Prompts2$outboundSchema),
|
|
3522
|
+
z.lazy(() => UpdatePrompt1Prompts3$outboundSchema),
|
|
3523
|
+
]),
|
|
3524
|
+
UpdatePromptResponseFormatPrompts2$outboundSchema,
|
|
3525
|
+
UpdatePromptResponseFormatPrompts3$outboundSchema,
|
|
3526
|
+
UpdatePromptResponseFormatPrompts4$outboundSchema,
|
|
3205
3527
|
]);
|
|
3206
3528
|
|
|
3207
3529
|
/**
|
|
@@ -3346,9 +3668,14 @@ export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
3346
3668
|
style: z.string().optional(),
|
|
3347
3669
|
responseFormat: z.nullable(
|
|
3348
3670
|
z.union([
|
|
3349
|
-
z.
|
|
3350
|
-
|
|
3351
|
-
|
|
3671
|
+
z.union([
|
|
3672
|
+
z.lazy(() => UpdatePrompt1Prompts1$inboundSchema),
|
|
3673
|
+
z.lazy(() => UpdatePrompt1Prompts2$inboundSchema),
|
|
3674
|
+
z.lazy(() => UpdatePrompt1Prompts3$inboundSchema),
|
|
3675
|
+
]),
|
|
3676
|
+
UpdatePromptResponseFormatPrompts2$inboundSchema,
|
|
3677
|
+
UpdatePromptResponseFormatPrompts3$inboundSchema,
|
|
3678
|
+
UpdatePromptResponseFormatPrompts4$inboundSchema,
|
|
3352
3679
|
]),
|
|
3353
3680
|
).optional(),
|
|
3354
3681
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$inboundSchema
|
|
@@ -3378,9 +3705,12 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
3378
3705
|
quality?: string | undefined;
|
|
3379
3706
|
style?: string | undefined;
|
|
3380
3707
|
responseFormat?:
|
|
3381
|
-
|
|
|
3382
|
-
|
|
|
3383
|
-
|
|
|
3708
|
+
| UpdatePrompt1Prompts1$Outbound
|
|
3709
|
+
| UpdatePrompt1Prompts2$Outbound
|
|
3710
|
+
| UpdatePrompt1Prompts3$Outbound
|
|
3711
|
+
| string
|
|
3712
|
+
| string
|
|
3713
|
+
| string
|
|
3384
3714
|
| null
|
|
3385
3715
|
| undefined;
|
|
3386
3716
|
photoRealVersion?: string | undefined;
|
|
@@ -3410,9 +3740,14 @@ export const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
3410
3740
|
style: z.string().optional(),
|
|
3411
3741
|
responseFormat: z.nullable(
|
|
3412
3742
|
z.union([
|
|
3413
|
-
z.
|
|
3414
|
-
|
|
3415
|
-
|
|
3743
|
+
z.union([
|
|
3744
|
+
z.lazy(() => UpdatePrompt1Prompts1$outboundSchema),
|
|
3745
|
+
z.lazy(() => UpdatePrompt1Prompts2$outboundSchema),
|
|
3746
|
+
z.lazy(() => UpdatePrompt1Prompts3$outboundSchema),
|
|
3747
|
+
]),
|
|
3748
|
+
UpdatePromptResponseFormatPrompts2$outboundSchema,
|
|
3749
|
+
UpdatePromptResponseFormatPrompts3$outboundSchema,
|
|
3750
|
+
UpdatePromptResponseFormatPrompts4$outboundSchema,
|
|
3416
3751
|
]),
|
|
3417
3752
|
).optional(),
|
|
3418
3753
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$outboundSchema
|