@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
|
@@ -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
|
|
@@ -201,9 +238,12 @@ export type UpdatePromptModelParameters = {
|
|
|
201
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.
|
|
202
239
|
*/
|
|
203
240
|
responseFormat?:
|
|
204
|
-
|
|
|
241
|
+
| UpdatePrompt11
|
|
242
|
+
| UpdatePrompt12
|
|
243
|
+
| UpdatePrompt13
|
|
205
244
|
| UpdatePromptResponseFormat2
|
|
206
245
|
| UpdatePromptResponseFormat3
|
|
246
|
+
| UpdatePromptResponseFormat4
|
|
207
247
|
| null
|
|
208
248
|
| undefined;
|
|
209
249
|
/**
|
|
@@ -551,47 +591,82 @@ export type UpdatePromptPromptsFormat = ClosedEnum<
|
|
|
551
591
|
typeof UpdatePromptPromptsFormat
|
|
552
592
|
>;
|
|
553
593
|
|
|
554
|
-
export const
|
|
594
|
+
export const UpdatePromptResponseFormatPrompts4 = {
|
|
595
|
+
Json: "json",
|
|
555
596
|
Text: "text",
|
|
597
|
+
Srt: "srt",
|
|
598
|
+
VerboseJson: "verbose_json",
|
|
599
|
+
Vtt: "vtt",
|
|
556
600
|
} as const;
|
|
557
|
-
export type
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
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
|
+
>;
|
|
561
631
|
|
|
562
|
-
export type
|
|
563
|
-
type:
|
|
632
|
+
export type UpdatePrompt1Prompts3 = {
|
|
633
|
+
type: UpdatePrompt1PromptsResponse200ApplicationJSONType;
|
|
564
634
|
};
|
|
565
635
|
|
|
566
|
-
export const
|
|
636
|
+
export const UpdatePrompt1PromptsResponse200Type = {
|
|
567
637
|
JsonObject: "json_object",
|
|
568
638
|
} as const;
|
|
569
|
-
export type
|
|
570
|
-
typeof
|
|
639
|
+
export type UpdatePrompt1PromptsResponse200Type = ClosedEnum<
|
|
640
|
+
typeof UpdatePrompt1PromptsResponse200Type
|
|
571
641
|
>;
|
|
572
642
|
|
|
573
|
-
export type
|
|
574
|
-
type:
|
|
643
|
+
export type UpdatePrompt1Prompts2 = {
|
|
644
|
+
type: UpdatePrompt1PromptsResponse200Type;
|
|
575
645
|
};
|
|
576
646
|
|
|
577
|
-
export const
|
|
647
|
+
export const UpdatePrompt1PromptsResponseType = {
|
|
578
648
|
JsonSchema: "json_schema",
|
|
579
649
|
} as const;
|
|
580
|
-
export type
|
|
581
|
-
typeof
|
|
650
|
+
export type UpdatePrompt1PromptsResponseType = ClosedEnum<
|
|
651
|
+
typeof UpdatePrompt1PromptsResponseType
|
|
582
652
|
>;
|
|
583
653
|
|
|
584
|
-
export type
|
|
654
|
+
export type UpdatePrompt1JsonSchema = {
|
|
585
655
|
name: string;
|
|
586
656
|
strict?: boolean | undefined;
|
|
587
657
|
schema: { [k: string]: any };
|
|
588
658
|
};
|
|
589
659
|
|
|
590
|
-
export type
|
|
591
|
-
type:
|
|
592
|
-
jsonSchema:
|
|
660
|
+
export type UpdatePrompt1Prompts1 = {
|
|
661
|
+
type: UpdatePrompt1PromptsResponseType;
|
|
662
|
+
jsonSchema: UpdatePrompt1JsonSchema;
|
|
593
663
|
};
|
|
594
664
|
|
|
665
|
+
export type UpdatePromptResponseFormatPrompts1 =
|
|
666
|
+
| UpdatePrompt1Prompts1
|
|
667
|
+
| UpdatePrompt1Prompts2
|
|
668
|
+
| UpdatePrompt1Prompts3;
|
|
669
|
+
|
|
595
670
|
/**
|
|
596
671
|
* An object specifying the format that the model must output.
|
|
597
672
|
*
|
|
@@ -604,9 +679,12 @@ export type UpdatePromptResponseFormatPrompts1 = {
|
|
|
604
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.
|
|
605
680
|
*/
|
|
606
681
|
export type UpdatePromptPromptsResponseFormat =
|
|
607
|
-
|
|
|
682
|
+
| UpdatePrompt1Prompts1
|
|
683
|
+
| UpdatePrompt1Prompts2
|
|
684
|
+
| UpdatePrompt1Prompts3
|
|
608
685
|
| UpdatePromptResponseFormatPrompts2
|
|
609
|
-
| UpdatePromptResponseFormatPrompts3
|
|
686
|
+
| UpdatePromptResponseFormatPrompts3
|
|
687
|
+
| UpdatePromptResponseFormatPrompts4;
|
|
610
688
|
|
|
611
689
|
/**
|
|
612
690
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -732,9 +810,12 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
732
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.
|
|
733
811
|
*/
|
|
734
812
|
responseFormat?:
|
|
735
|
-
|
|
|
813
|
+
| UpdatePrompt1Prompts1
|
|
814
|
+
| UpdatePrompt1Prompts2
|
|
815
|
+
| UpdatePrompt1Prompts3
|
|
736
816
|
| UpdatePromptResponseFormatPrompts2
|
|
737
817
|
| UpdatePromptResponseFormatPrompts3
|
|
818
|
+
| UpdatePromptResponseFormatPrompts4
|
|
738
819
|
| null
|
|
739
820
|
| undefined;
|
|
740
821
|
/**
|
|
@@ -1069,188 +1150,234 @@ export namespace UpdatePromptFormat$ {
|
|
|
1069
1150
|
}
|
|
1070
1151
|
|
|
1071
1152
|
/** @internal */
|
|
1072
|
-
export const
|
|
1073
|
-
|
|
1074
|
-
|
|
1153
|
+
export const UpdatePromptResponseFormat4$inboundSchema: z.ZodNativeEnum<
|
|
1154
|
+
typeof UpdatePromptResponseFormat4
|
|
1155
|
+
> = z.nativeEnum(UpdatePromptResponseFormat4);
|
|
1075
1156
|
|
|
1076
1157
|
/** @internal */
|
|
1077
|
-
export const
|
|
1078
|
-
|
|
1079
|
-
|
|
1158
|
+
export const UpdatePromptResponseFormat4$outboundSchema: z.ZodNativeEnum<
|
|
1159
|
+
typeof UpdatePromptResponseFormat4
|
|
1160
|
+
> = UpdatePromptResponseFormat4$inboundSchema;
|
|
1080
1161
|
|
|
1081
1162
|
/**
|
|
1082
1163
|
* @internal
|
|
1083
1164
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1084
1165
|
*/
|
|
1085
|
-
export namespace
|
|
1086
|
-
/** @deprecated use `
|
|
1087
|
-
export const inboundSchema =
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
export const outboundSchema =
|
|
1091
|
-
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;
|
|
1092
1171
|
}
|
|
1093
1172
|
|
|
1094
1173
|
/** @internal */
|
|
1095
|
-
export const UpdatePromptResponseFormat3$inboundSchema: z.
|
|
1096
|
-
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,
|
|
1097
1239
|
z.ZodTypeDef,
|
|
1098
1240
|
unknown
|
|
1099
1241
|
> = z.object({
|
|
1100
|
-
type:
|
|
1242
|
+
type: UpdatePrompt1PromptsRequestType$inboundSchema,
|
|
1101
1243
|
});
|
|
1102
1244
|
|
|
1103
1245
|
/** @internal */
|
|
1104
|
-
export type
|
|
1246
|
+
export type UpdatePrompt13$Outbound = {
|
|
1105
1247
|
type: string;
|
|
1106
1248
|
};
|
|
1107
1249
|
|
|
1108
1250
|
/** @internal */
|
|
1109
|
-
export const
|
|
1110
|
-
|
|
1251
|
+
export const UpdatePrompt13$outboundSchema: z.ZodType<
|
|
1252
|
+
UpdatePrompt13$Outbound,
|
|
1111
1253
|
z.ZodTypeDef,
|
|
1112
|
-
|
|
1254
|
+
UpdatePrompt13
|
|
1113
1255
|
> = z.object({
|
|
1114
|
-
type:
|
|
1256
|
+
type: UpdatePrompt1PromptsRequestType$outboundSchema,
|
|
1115
1257
|
});
|
|
1116
1258
|
|
|
1117
1259
|
/**
|
|
1118
1260
|
* @internal
|
|
1119
1261
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1120
1262
|
*/
|
|
1121
|
-
export namespace
|
|
1122
|
-
/** @deprecated use `
|
|
1123
|
-
export const inboundSchema =
|
|
1124
|
-
/** @deprecated use `
|
|
1125
|
-
export const outboundSchema =
|
|
1126
|
-
/** @deprecated use `
|
|
1127
|
-
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;
|
|
1128
1270
|
}
|
|
1129
1271
|
|
|
1130
|
-
export function
|
|
1131
|
-
|
|
1132
|
-
): string {
|
|
1133
|
-
return JSON.stringify(
|
|
1134
|
-
UpdatePromptResponseFormat3$outboundSchema.parse(
|
|
1135
|
-
updatePromptResponseFormat3,
|
|
1136
|
-
),
|
|
1137
|
-
);
|
|
1272
|
+
export function updatePrompt13ToJSON(updatePrompt13: UpdatePrompt13): string {
|
|
1273
|
+
return JSON.stringify(UpdatePrompt13$outboundSchema.parse(updatePrompt13));
|
|
1138
1274
|
}
|
|
1139
1275
|
|
|
1140
|
-
export function
|
|
1276
|
+
export function updatePrompt13FromJSON(
|
|
1141
1277
|
jsonString: string,
|
|
1142
|
-
): SafeParseResult<
|
|
1278
|
+
): SafeParseResult<UpdatePrompt13, SDKValidationError> {
|
|
1143
1279
|
return safeParse(
|
|
1144
1280
|
jsonString,
|
|
1145
|
-
(x) =>
|
|
1146
|
-
`Failed to parse '
|
|
1281
|
+
(x) => UpdatePrompt13$inboundSchema.parse(JSON.parse(x)),
|
|
1282
|
+
`Failed to parse 'UpdatePrompt13' from JSON`,
|
|
1147
1283
|
);
|
|
1148
1284
|
}
|
|
1149
1285
|
|
|
1150
1286
|
/** @internal */
|
|
1151
|
-
export const
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
);
|
|
1287
|
+
export const UpdatePrompt1PromptsType$inboundSchema: z.ZodNativeEnum<
|
|
1288
|
+
typeof UpdatePrompt1PromptsType
|
|
1289
|
+
> = z.nativeEnum(UpdatePrompt1PromptsType);
|
|
1155
1290
|
|
|
1156
1291
|
/** @internal */
|
|
1157
|
-
export const
|
|
1158
|
-
|
|
1159
|
-
|
|
1292
|
+
export const UpdatePrompt1PromptsType$outboundSchema: z.ZodNativeEnum<
|
|
1293
|
+
typeof UpdatePrompt1PromptsType
|
|
1294
|
+
> = UpdatePrompt1PromptsType$inboundSchema;
|
|
1160
1295
|
|
|
1161
1296
|
/**
|
|
1162
1297
|
* @internal
|
|
1163
1298
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1164
1299
|
*/
|
|
1165
|
-
export namespace
|
|
1166
|
-
/** @deprecated use `
|
|
1167
|
-
export const inboundSchema =
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
export const outboundSchema =
|
|
1171
|
-
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;
|
|
1172
1305
|
}
|
|
1173
1306
|
|
|
1174
1307
|
/** @internal */
|
|
1175
|
-
export const
|
|
1176
|
-
|
|
1308
|
+
export const UpdatePrompt12$inboundSchema: z.ZodType<
|
|
1309
|
+
UpdatePrompt12,
|
|
1177
1310
|
z.ZodTypeDef,
|
|
1178
1311
|
unknown
|
|
1179
1312
|
> = z.object({
|
|
1180
|
-
type:
|
|
1313
|
+
type: UpdatePrompt1PromptsType$inboundSchema,
|
|
1181
1314
|
});
|
|
1182
1315
|
|
|
1183
1316
|
/** @internal */
|
|
1184
|
-
export type
|
|
1317
|
+
export type UpdatePrompt12$Outbound = {
|
|
1185
1318
|
type: string;
|
|
1186
1319
|
};
|
|
1187
1320
|
|
|
1188
1321
|
/** @internal */
|
|
1189
|
-
export const
|
|
1190
|
-
|
|
1322
|
+
export const UpdatePrompt12$outboundSchema: z.ZodType<
|
|
1323
|
+
UpdatePrompt12$Outbound,
|
|
1191
1324
|
z.ZodTypeDef,
|
|
1192
|
-
|
|
1325
|
+
UpdatePrompt12
|
|
1193
1326
|
> = z.object({
|
|
1194
|
-
type:
|
|
1327
|
+
type: UpdatePrompt1PromptsType$outboundSchema,
|
|
1195
1328
|
});
|
|
1196
1329
|
|
|
1197
1330
|
/**
|
|
1198
1331
|
* @internal
|
|
1199
1332
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1200
1333
|
*/
|
|
1201
|
-
export namespace
|
|
1202
|
-
/** @deprecated use `
|
|
1203
|
-
export const inboundSchema =
|
|
1204
|
-
/** @deprecated use `
|
|
1205
|
-
export const outboundSchema =
|
|
1206
|
-
/** @deprecated use `
|
|
1207
|
-
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;
|
|
1208
1341
|
}
|
|
1209
1342
|
|
|
1210
|
-
export function
|
|
1211
|
-
|
|
1212
|
-
): string {
|
|
1213
|
-
return JSON.stringify(
|
|
1214
|
-
UpdatePromptResponseFormat2$outboundSchema.parse(
|
|
1215
|
-
updatePromptResponseFormat2,
|
|
1216
|
-
),
|
|
1217
|
-
);
|
|
1343
|
+
export function updatePrompt12ToJSON(updatePrompt12: UpdatePrompt12): string {
|
|
1344
|
+
return JSON.stringify(UpdatePrompt12$outboundSchema.parse(updatePrompt12));
|
|
1218
1345
|
}
|
|
1219
1346
|
|
|
1220
|
-
export function
|
|
1347
|
+
export function updatePrompt12FromJSON(
|
|
1221
1348
|
jsonString: string,
|
|
1222
|
-
): SafeParseResult<
|
|
1349
|
+
): SafeParseResult<UpdatePrompt12, SDKValidationError> {
|
|
1223
1350
|
return safeParse(
|
|
1224
1351
|
jsonString,
|
|
1225
|
-
(x) =>
|
|
1226
|
-
`Failed to parse '
|
|
1352
|
+
(x) => UpdatePrompt12$inboundSchema.parse(JSON.parse(x)),
|
|
1353
|
+
`Failed to parse 'UpdatePrompt12' from JSON`,
|
|
1227
1354
|
);
|
|
1228
1355
|
}
|
|
1229
1356
|
|
|
1230
1357
|
/** @internal */
|
|
1231
|
-
export const
|
|
1232
|
-
typeof
|
|
1233
|
-
> = z.nativeEnum(
|
|
1358
|
+
export const UpdatePrompt1Type$inboundSchema: z.ZodNativeEnum<
|
|
1359
|
+
typeof UpdatePrompt1Type
|
|
1360
|
+
> = z.nativeEnum(UpdatePrompt1Type);
|
|
1234
1361
|
|
|
1235
1362
|
/** @internal */
|
|
1236
|
-
export const
|
|
1237
|
-
typeof
|
|
1238
|
-
> =
|
|
1363
|
+
export const UpdatePrompt1Type$outboundSchema: z.ZodNativeEnum<
|
|
1364
|
+
typeof UpdatePrompt1Type
|
|
1365
|
+
> = UpdatePrompt1Type$inboundSchema;
|
|
1239
1366
|
|
|
1240
1367
|
/**
|
|
1241
1368
|
* @internal
|
|
1242
1369
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1243
1370
|
*/
|
|
1244
|
-
export namespace
|
|
1245
|
-
/** @deprecated use `
|
|
1246
|
-
export const inboundSchema =
|
|
1247
|
-
/** @deprecated use `
|
|
1248
|
-
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;
|
|
1249
1376
|
}
|
|
1250
1377
|
|
|
1251
1378
|
/** @internal */
|
|
1252
|
-
export const
|
|
1253
|
-
|
|
1379
|
+
export const OneJsonSchema$inboundSchema: z.ZodType<
|
|
1380
|
+
OneJsonSchema,
|
|
1254
1381
|
z.ZodTypeDef,
|
|
1255
1382
|
unknown
|
|
1256
1383
|
> = z.object({
|
|
@@ -1260,17 +1387,17 @@ export const ResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
1260
1387
|
});
|
|
1261
1388
|
|
|
1262
1389
|
/** @internal */
|
|
1263
|
-
export type
|
|
1390
|
+
export type OneJsonSchema$Outbound = {
|
|
1264
1391
|
name: string;
|
|
1265
1392
|
strict?: boolean | undefined;
|
|
1266
1393
|
schema: { [k: string]: any };
|
|
1267
1394
|
};
|
|
1268
1395
|
|
|
1269
1396
|
/** @internal */
|
|
1270
|
-
export const
|
|
1271
|
-
|
|
1397
|
+
export const OneJsonSchema$outboundSchema: z.ZodType<
|
|
1398
|
+
OneJsonSchema$Outbound,
|
|
1272
1399
|
z.ZodTypeDef,
|
|
1273
|
-
|
|
1400
|
+
OneJsonSchema
|
|
1274
1401
|
> = z.object({
|
|
1275
1402
|
name: z.string(),
|
|
1276
1403
|
strict: z.boolean().optional(),
|
|
@@ -1281,41 +1408,37 @@ export const ResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
1281
1408
|
* @internal
|
|
1282
1409
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1283
1410
|
*/
|
|
1284
|
-
export namespace
|
|
1285
|
-
/** @deprecated use `
|
|
1286
|
-
export const inboundSchema =
|
|
1287
|
-
/** @deprecated use `
|
|
1288
|
-
export const outboundSchema =
|
|
1289
|
-
/** @deprecated use `
|
|
1290
|
-
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;
|
|
1291
1418
|
}
|
|
1292
1419
|
|
|
1293
|
-
export function
|
|
1294
|
-
|
|
1295
|
-
): string {
|
|
1296
|
-
return JSON.stringify(
|
|
1297
|
-
ResponseFormatJsonSchema$outboundSchema.parse(responseFormatJsonSchema),
|
|
1298
|
-
);
|
|
1420
|
+
export function oneJsonSchemaToJSON(oneJsonSchema: OneJsonSchema): string {
|
|
1421
|
+
return JSON.stringify(OneJsonSchema$outboundSchema.parse(oneJsonSchema));
|
|
1299
1422
|
}
|
|
1300
1423
|
|
|
1301
|
-
export function
|
|
1424
|
+
export function oneJsonSchemaFromJSON(
|
|
1302
1425
|
jsonString: string,
|
|
1303
|
-
): SafeParseResult<
|
|
1426
|
+
): SafeParseResult<OneJsonSchema, SDKValidationError> {
|
|
1304
1427
|
return safeParse(
|
|
1305
1428
|
jsonString,
|
|
1306
|
-
(x) =>
|
|
1307
|
-
`Failed to parse '
|
|
1429
|
+
(x) => OneJsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
1430
|
+
`Failed to parse 'OneJsonSchema' from JSON`,
|
|
1308
1431
|
);
|
|
1309
1432
|
}
|
|
1310
1433
|
|
|
1311
1434
|
/** @internal */
|
|
1312
|
-
export const
|
|
1313
|
-
|
|
1435
|
+
export const UpdatePrompt11$inboundSchema: z.ZodType<
|
|
1436
|
+
UpdatePrompt11,
|
|
1314
1437
|
z.ZodTypeDef,
|
|
1315
1438
|
unknown
|
|
1316
1439
|
> = z.object({
|
|
1317
|
-
type:
|
|
1318
|
-
json_schema: z.lazy(() =>
|
|
1440
|
+
type: UpdatePrompt1Type$inboundSchema,
|
|
1441
|
+
json_schema: z.lazy(() => OneJsonSchema$inboundSchema),
|
|
1319
1442
|
}).transform((v) => {
|
|
1320
1443
|
return remap$(v, {
|
|
1321
1444
|
"json_schema": "jsonSchema",
|
|
@@ -1323,25 +1446,80 @@ export const UpdatePromptResponseFormat1$inboundSchema: z.ZodType<
|
|
|
1323
1446
|
});
|
|
1324
1447
|
|
|
1325
1448
|
/** @internal */
|
|
1326
|
-
export type
|
|
1449
|
+
export type UpdatePrompt11$Outbound = {
|
|
1327
1450
|
type: string;
|
|
1328
|
-
json_schema:
|
|
1451
|
+
json_schema: OneJsonSchema$Outbound;
|
|
1329
1452
|
};
|
|
1330
1453
|
|
|
1331
1454
|
/** @internal */
|
|
1332
|
-
export const
|
|
1333
|
-
|
|
1455
|
+
export const UpdatePrompt11$outboundSchema: z.ZodType<
|
|
1456
|
+
UpdatePrompt11$Outbound,
|
|
1334
1457
|
z.ZodTypeDef,
|
|
1335
|
-
|
|
1458
|
+
UpdatePrompt11
|
|
1336
1459
|
> = z.object({
|
|
1337
|
-
type:
|
|
1338
|
-
jsonSchema: z.lazy(() =>
|
|
1460
|
+
type: UpdatePrompt1Type$outboundSchema,
|
|
1461
|
+
jsonSchema: z.lazy(() => OneJsonSchema$outboundSchema),
|
|
1339
1462
|
}).transform((v) => {
|
|
1340
1463
|
return remap$(v, {
|
|
1341
1464
|
jsonSchema: "json_schema",
|
|
1342
1465
|
});
|
|
1343
1466
|
});
|
|
1344
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
|
+
|
|
1345
1523
|
/**
|
|
1346
1524
|
* @internal
|
|
1347
1525
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -1381,16 +1559,24 @@ export const UpdatePromptResponseFormat$inboundSchema: z.ZodType<
|
|
|
1381
1559
|
z.ZodTypeDef,
|
|
1382
1560
|
unknown
|
|
1383
1561
|
> = z.union([
|
|
1384
|
-
z.
|
|
1385
|
-
|
|
1386
|
-
|
|
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,
|
|
1387
1570
|
]);
|
|
1388
1571
|
|
|
1389
1572
|
/** @internal */
|
|
1390
1573
|
export type UpdatePromptResponseFormat$Outbound =
|
|
1391
|
-
|
|
|
1392
|
-
|
|
|
1393
|
-
|
|
|
1574
|
+
| UpdatePrompt11$Outbound
|
|
1575
|
+
| UpdatePrompt12$Outbound
|
|
1576
|
+
| UpdatePrompt13$Outbound
|
|
1577
|
+
| string
|
|
1578
|
+
| string
|
|
1579
|
+
| string;
|
|
1394
1580
|
|
|
1395
1581
|
/** @internal */
|
|
1396
1582
|
export const UpdatePromptResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -1398,9 +1584,14 @@ export const UpdatePromptResponseFormat$outboundSchema: z.ZodType<
|
|
|
1398
1584
|
z.ZodTypeDef,
|
|
1399
1585
|
UpdatePromptResponseFormat
|
|
1400
1586
|
> = z.union([
|
|
1401
|
-
z.
|
|
1402
|
-
|
|
1403
|
-
|
|
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,
|
|
1404
1595
|
]);
|
|
1405
1596
|
|
|
1406
1597
|
/**
|
|
@@ -1538,9 +1729,14 @@ export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
1538
1729
|
style: z.string().optional(),
|
|
1539
1730
|
responseFormat: z.nullable(
|
|
1540
1731
|
z.union([
|
|
1541
|
-
z.
|
|
1542
|
-
|
|
1543
|
-
|
|
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,
|
|
1544
1740
|
]),
|
|
1545
1741
|
).optional(),
|
|
1546
1742
|
photoRealVersion: UpdatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1569,9 +1765,12 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1569
1765
|
quality?: string | undefined;
|
|
1570
1766
|
style?: string | undefined;
|
|
1571
1767
|
responseFormat?:
|
|
1572
|
-
|
|
|
1573
|
-
|
|
|
1574
|
-
|
|
|
1768
|
+
| UpdatePrompt11$Outbound
|
|
1769
|
+
| UpdatePrompt12$Outbound
|
|
1770
|
+
| UpdatePrompt13$Outbound
|
|
1771
|
+
| string
|
|
1772
|
+
| string
|
|
1773
|
+
| string
|
|
1575
1774
|
| null
|
|
1576
1775
|
| undefined;
|
|
1577
1776
|
photoRealVersion?: string | undefined;
|
|
@@ -1601,9 +1800,14 @@ export const UpdatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1601
1800
|
style: z.string().optional(),
|
|
1602
1801
|
responseFormat: z.nullable(
|
|
1603
1802
|
z.union([
|
|
1604
|
-
z.
|
|
1605
|
-
|
|
1606
|
-
|
|
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,
|
|
1607
1811
|
]),
|
|
1608
1812
|
).optional(),
|
|
1609
1813
|
photoRealVersion: UpdatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
@@ -2853,200 +3057,249 @@ export namespace UpdatePromptPromptsFormat$ {
|
|
|
2853
3057
|
}
|
|
2854
3058
|
|
|
2855
3059
|
/** @internal */
|
|
2856
|
-
export const
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
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);
|
|
2862
3085
|
|
|
2863
3086
|
/** @internal */
|
|
2864
|
-
export const
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
> =
|
|
2868
|
-
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema;
|
|
3087
|
+
export const UpdatePromptResponseFormatPrompts3$outboundSchema: z.ZodNativeEnum<
|
|
3088
|
+
typeof UpdatePromptResponseFormatPrompts3
|
|
3089
|
+
> = UpdatePromptResponseFormatPrompts3$inboundSchema;
|
|
2869
3090
|
|
|
2870
3091
|
/**
|
|
2871
3092
|
* @internal
|
|
2872
3093
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2873
3094
|
*/
|
|
2874
|
-
export namespace
|
|
2875
|
-
/** @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. */
|
|
2876
3141
|
export const inboundSchema =
|
|
2877
|
-
|
|
2878
|
-
/** @deprecated use `
|
|
3142
|
+
UpdatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema;
|
|
3143
|
+
/** @deprecated use `UpdatePrompt1PromptsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
2879
3144
|
export const outboundSchema =
|
|
2880
|
-
|
|
3145
|
+
UpdatePrompt1PromptsResponse200ApplicationJSONType$outboundSchema;
|
|
2881
3146
|
}
|
|
2882
3147
|
|
|
2883
3148
|
/** @internal */
|
|
2884
|
-
export const
|
|
2885
|
-
|
|
3149
|
+
export const UpdatePrompt1Prompts3$inboundSchema: z.ZodType<
|
|
3150
|
+
UpdatePrompt1Prompts3,
|
|
2886
3151
|
z.ZodTypeDef,
|
|
2887
3152
|
unknown
|
|
2888
3153
|
> = z.object({
|
|
2889
|
-
type:
|
|
2890
|
-
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema,
|
|
3154
|
+
type: UpdatePrompt1PromptsResponse200ApplicationJSONType$inboundSchema,
|
|
2891
3155
|
});
|
|
2892
3156
|
|
|
2893
3157
|
/** @internal */
|
|
2894
|
-
export type
|
|
3158
|
+
export type UpdatePrompt1Prompts3$Outbound = {
|
|
2895
3159
|
type: string;
|
|
2896
3160
|
};
|
|
2897
3161
|
|
|
2898
3162
|
/** @internal */
|
|
2899
|
-
export const
|
|
2900
|
-
|
|
3163
|
+
export const UpdatePrompt1Prompts3$outboundSchema: z.ZodType<
|
|
3164
|
+
UpdatePrompt1Prompts3$Outbound,
|
|
2901
3165
|
z.ZodTypeDef,
|
|
2902
|
-
|
|
3166
|
+
UpdatePrompt1Prompts3
|
|
2903
3167
|
> = z.object({
|
|
2904
|
-
type:
|
|
2905
|
-
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema,
|
|
3168
|
+
type: UpdatePrompt1PromptsResponse200ApplicationJSONType$outboundSchema,
|
|
2906
3169
|
});
|
|
2907
3170
|
|
|
2908
3171
|
/**
|
|
2909
3172
|
* @internal
|
|
2910
3173
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2911
3174
|
*/
|
|
2912
|
-
export namespace
|
|
2913
|
-
/** @deprecated use `
|
|
2914
|
-
export const inboundSchema =
|
|
2915
|
-
/** @deprecated use `
|
|
2916
|
-
export const outboundSchema =
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
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;
|
|
2920
3182
|
}
|
|
2921
3183
|
|
|
2922
|
-
export function
|
|
2923
|
-
|
|
3184
|
+
export function updatePrompt1Prompts3ToJSON(
|
|
3185
|
+
updatePrompt1Prompts3: UpdatePrompt1Prompts3,
|
|
2924
3186
|
): string {
|
|
2925
3187
|
return JSON.stringify(
|
|
2926
|
-
|
|
2927
|
-
updatePromptResponseFormatPrompts3,
|
|
2928
|
-
),
|
|
3188
|
+
UpdatePrompt1Prompts3$outboundSchema.parse(updatePrompt1Prompts3),
|
|
2929
3189
|
);
|
|
2930
3190
|
}
|
|
2931
3191
|
|
|
2932
|
-
export function
|
|
3192
|
+
export function updatePrompt1Prompts3FromJSON(
|
|
2933
3193
|
jsonString: string,
|
|
2934
|
-
): SafeParseResult<
|
|
3194
|
+
): SafeParseResult<UpdatePrompt1Prompts3, SDKValidationError> {
|
|
2935
3195
|
return safeParse(
|
|
2936
3196
|
jsonString,
|
|
2937
|
-
(x) =>
|
|
2938
|
-
|
|
2939
|
-
`Failed to parse 'UpdatePromptResponseFormatPrompts3' from JSON`,
|
|
3197
|
+
(x) => UpdatePrompt1Prompts3$inboundSchema.parse(JSON.parse(x)),
|
|
3198
|
+
`Failed to parse 'UpdatePrompt1Prompts3' from JSON`,
|
|
2940
3199
|
);
|
|
2941
3200
|
}
|
|
2942
3201
|
|
|
2943
3202
|
/** @internal */
|
|
2944
|
-
export const
|
|
2945
|
-
|
|
2946
|
-
|
|
3203
|
+
export const UpdatePrompt1PromptsResponse200Type$inboundSchema: z.ZodNativeEnum<
|
|
3204
|
+
typeof UpdatePrompt1PromptsResponse200Type
|
|
3205
|
+
> = z.nativeEnum(UpdatePrompt1PromptsResponse200Type);
|
|
2947
3206
|
|
|
2948
3207
|
/** @internal */
|
|
2949
|
-
export const
|
|
2950
|
-
z.ZodNativeEnum<typeof
|
|
2951
|
-
|
|
3208
|
+
export const UpdatePrompt1PromptsResponse200Type$outboundSchema:
|
|
3209
|
+
z.ZodNativeEnum<typeof UpdatePrompt1PromptsResponse200Type> =
|
|
3210
|
+
UpdatePrompt1PromptsResponse200Type$inboundSchema;
|
|
2952
3211
|
|
|
2953
3212
|
/**
|
|
2954
3213
|
* @internal
|
|
2955
3214
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2956
3215
|
*/
|
|
2957
|
-
export namespace
|
|
2958
|
-
/** @deprecated use `
|
|
3216
|
+
export namespace UpdatePrompt1PromptsResponse200Type$ {
|
|
3217
|
+
/** @deprecated use `UpdatePrompt1PromptsResponse200Type$inboundSchema` instead. */
|
|
2959
3218
|
export const inboundSchema =
|
|
2960
|
-
|
|
2961
|
-
/** @deprecated use `
|
|
3219
|
+
UpdatePrompt1PromptsResponse200Type$inboundSchema;
|
|
3220
|
+
/** @deprecated use `UpdatePrompt1PromptsResponse200Type$outboundSchema` instead. */
|
|
2962
3221
|
export const outboundSchema =
|
|
2963
|
-
|
|
3222
|
+
UpdatePrompt1PromptsResponse200Type$outboundSchema;
|
|
2964
3223
|
}
|
|
2965
3224
|
|
|
2966
3225
|
/** @internal */
|
|
2967
|
-
export const
|
|
2968
|
-
|
|
3226
|
+
export const UpdatePrompt1Prompts2$inboundSchema: z.ZodType<
|
|
3227
|
+
UpdatePrompt1Prompts2,
|
|
2969
3228
|
z.ZodTypeDef,
|
|
2970
3229
|
unknown
|
|
2971
3230
|
> = z.object({
|
|
2972
|
-
type:
|
|
3231
|
+
type: UpdatePrompt1PromptsResponse200Type$inboundSchema,
|
|
2973
3232
|
});
|
|
2974
3233
|
|
|
2975
3234
|
/** @internal */
|
|
2976
|
-
export type
|
|
3235
|
+
export type UpdatePrompt1Prompts2$Outbound = {
|
|
2977
3236
|
type: string;
|
|
2978
3237
|
};
|
|
2979
3238
|
|
|
2980
3239
|
/** @internal */
|
|
2981
|
-
export const
|
|
2982
|
-
|
|
3240
|
+
export const UpdatePrompt1Prompts2$outboundSchema: z.ZodType<
|
|
3241
|
+
UpdatePrompt1Prompts2$Outbound,
|
|
2983
3242
|
z.ZodTypeDef,
|
|
2984
|
-
|
|
3243
|
+
UpdatePrompt1Prompts2
|
|
2985
3244
|
> = z.object({
|
|
2986
|
-
type:
|
|
3245
|
+
type: UpdatePrompt1PromptsResponse200Type$outboundSchema,
|
|
2987
3246
|
});
|
|
2988
3247
|
|
|
2989
3248
|
/**
|
|
2990
3249
|
* @internal
|
|
2991
3250
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2992
3251
|
*/
|
|
2993
|
-
export namespace
|
|
2994
|
-
/** @deprecated use `
|
|
2995
|
-
export const inboundSchema =
|
|
2996
|
-
/** @deprecated use `
|
|
2997
|
-
export const outboundSchema =
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
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;
|
|
3001
3259
|
}
|
|
3002
3260
|
|
|
3003
|
-
export function
|
|
3004
|
-
|
|
3261
|
+
export function updatePrompt1Prompts2ToJSON(
|
|
3262
|
+
updatePrompt1Prompts2: UpdatePrompt1Prompts2,
|
|
3005
3263
|
): string {
|
|
3006
3264
|
return JSON.stringify(
|
|
3007
|
-
|
|
3008
|
-
updatePromptResponseFormatPrompts2,
|
|
3009
|
-
),
|
|
3265
|
+
UpdatePrompt1Prompts2$outboundSchema.parse(updatePrompt1Prompts2),
|
|
3010
3266
|
);
|
|
3011
3267
|
}
|
|
3012
3268
|
|
|
3013
|
-
export function
|
|
3269
|
+
export function updatePrompt1Prompts2FromJSON(
|
|
3014
3270
|
jsonString: string,
|
|
3015
|
-
): SafeParseResult<
|
|
3271
|
+
): SafeParseResult<UpdatePrompt1Prompts2, SDKValidationError> {
|
|
3016
3272
|
return safeParse(
|
|
3017
3273
|
jsonString,
|
|
3018
|
-
(x) =>
|
|
3019
|
-
|
|
3020
|
-
`Failed to parse 'UpdatePromptResponseFormatPrompts2' from JSON`,
|
|
3274
|
+
(x) => UpdatePrompt1Prompts2$inboundSchema.parse(JSON.parse(x)),
|
|
3275
|
+
`Failed to parse 'UpdatePrompt1Prompts2' from JSON`,
|
|
3021
3276
|
);
|
|
3022
3277
|
}
|
|
3023
3278
|
|
|
3024
3279
|
/** @internal */
|
|
3025
|
-
export const
|
|
3026
|
-
|
|
3027
|
-
|
|
3280
|
+
export const UpdatePrompt1PromptsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
3281
|
+
typeof UpdatePrompt1PromptsResponseType
|
|
3282
|
+
> = z.nativeEnum(UpdatePrompt1PromptsResponseType);
|
|
3028
3283
|
|
|
3029
3284
|
/** @internal */
|
|
3030
|
-
export const
|
|
3031
|
-
|
|
3032
|
-
|
|
3285
|
+
export const UpdatePrompt1PromptsResponseType$outboundSchema: z.ZodNativeEnum<
|
|
3286
|
+
typeof UpdatePrompt1PromptsResponseType
|
|
3287
|
+
> = UpdatePrompt1PromptsResponseType$inboundSchema;
|
|
3033
3288
|
|
|
3034
3289
|
/**
|
|
3035
3290
|
* @internal
|
|
3036
3291
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3037
3292
|
*/
|
|
3038
|
-
export namespace
|
|
3039
|
-
/** @deprecated use `
|
|
3040
|
-
export const inboundSchema =
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
export const outboundSchema =
|
|
3044
|
-
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;
|
|
3045
3298
|
}
|
|
3046
3299
|
|
|
3047
3300
|
/** @internal */
|
|
3048
|
-
export const
|
|
3049
|
-
|
|
3301
|
+
export const UpdatePrompt1JsonSchema$inboundSchema: z.ZodType<
|
|
3302
|
+
UpdatePrompt1JsonSchema,
|
|
3050
3303
|
z.ZodTypeDef,
|
|
3051
3304
|
unknown
|
|
3052
3305
|
> = z.object({
|
|
@@ -3056,17 +3309,17 @@ export const UpdatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
|
3056
3309
|
});
|
|
3057
3310
|
|
|
3058
3311
|
/** @internal */
|
|
3059
|
-
export type
|
|
3312
|
+
export type UpdatePrompt1JsonSchema$Outbound = {
|
|
3060
3313
|
name: string;
|
|
3061
3314
|
strict?: boolean | undefined;
|
|
3062
3315
|
schema: { [k: string]: any };
|
|
3063
3316
|
};
|
|
3064
3317
|
|
|
3065
3318
|
/** @internal */
|
|
3066
|
-
export const
|
|
3067
|
-
|
|
3319
|
+
export const UpdatePrompt1JsonSchema$outboundSchema: z.ZodType<
|
|
3320
|
+
UpdatePrompt1JsonSchema$Outbound,
|
|
3068
3321
|
z.ZodTypeDef,
|
|
3069
|
-
|
|
3322
|
+
UpdatePrompt1JsonSchema
|
|
3070
3323
|
> = z.object({
|
|
3071
3324
|
name: z.string(),
|
|
3072
3325
|
strict: z.boolean().optional(),
|
|
@@ -3077,46 +3330,41 @@ export const UpdatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
|
3077
3330
|
* @internal
|
|
3078
3331
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3079
3332
|
*/
|
|
3080
|
-
export namespace
|
|
3081
|
-
/** @deprecated use `
|
|
3082
|
-
export const inboundSchema =
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$Outbound` instead. */
|
|
3088
|
-
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;
|
|
3089
3340
|
}
|
|
3090
3341
|
|
|
3091
|
-
export function
|
|
3092
|
-
|
|
3342
|
+
export function updatePrompt1JsonSchemaToJSON(
|
|
3343
|
+
updatePrompt1JsonSchema: UpdatePrompt1JsonSchema,
|
|
3093
3344
|
): string {
|
|
3094
3345
|
return JSON.stringify(
|
|
3095
|
-
|
|
3096
|
-
updatePromptResponseFormatJsonSchema,
|
|
3097
|
-
),
|
|
3346
|
+
UpdatePrompt1JsonSchema$outboundSchema.parse(updatePrompt1JsonSchema),
|
|
3098
3347
|
);
|
|
3099
3348
|
}
|
|
3100
3349
|
|
|
3101
|
-
export function
|
|
3350
|
+
export function updatePrompt1JsonSchemaFromJSON(
|
|
3102
3351
|
jsonString: string,
|
|
3103
|
-
): SafeParseResult<
|
|
3352
|
+
): SafeParseResult<UpdatePrompt1JsonSchema, SDKValidationError> {
|
|
3104
3353
|
return safeParse(
|
|
3105
3354
|
jsonString,
|
|
3106
|
-
(x) =>
|
|
3107
|
-
|
|
3108
|
-
`Failed to parse 'UpdatePromptResponseFormatJsonSchema' from JSON`,
|
|
3355
|
+
(x) => UpdatePrompt1JsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
3356
|
+
`Failed to parse 'UpdatePrompt1JsonSchema' from JSON`,
|
|
3109
3357
|
);
|
|
3110
3358
|
}
|
|
3111
3359
|
|
|
3112
3360
|
/** @internal */
|
|
3113
|
-
export const
|
|
3114
|
-
|
|
3361
|
+
export const UpdatePrompt1Prompts1$inboundSchema: z.ZodType<
|
|
3362
|
+
UpdatePrompt1Prompts1,
|
|
3115
3363
|
z.ZodTypeDef,
|
|
3116
3364
|
unknown
|
|
3117
3365
|
> = z.object({
|
|
3118
|
-
type:
|
|
3119
|
-
json_schema: z.lazy(() =>
|
|
3366
|
+
type: UpdatePrompt1PromptsResponseType$inboundSchema,
|
|
3367
|
+
json_schema: z.lazy(() => UpdatePrompt1JsonSchema$inboundSchema),
|
|
3120
3368
|
}).transform((v) => {
|
|
3121
3369
|
return remap$(v, {
|
|
3122
3370
|
"json_schema": "jsonSchema",
|
|
@@ -3124,25 +3372,84 @@ export const UpdatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<
|
|
|
3124
3372
|
});
|
|
3125
3373
|
|
|
3126
3374
|
/** @internal */
|
|
3127
|
-
export type
|
|
3375
|
+
export type UpdatePrompt1Prompts1$Outbound = {
|
|
3128
3376
|
type: string;
|
|
3129
|
-
json_schema:
|
|
3377
|
+
json_schema: UpdatePrompt1JsonSchema$Outbound;
|
|
3130
3378
|
};
|
|
3131
3379
|
|
|
3132
3380
|
/** @internal */
|
|
3133
|
-
export const
|
|
3134
|
-
|
|
3381
|
+
export const UpdatePrompt1Prompts1$outboundSchema: z.ZodType<
|
|
3382
|
+
UpdatePrompt1Prompts1$Outbound,
|
|
3135
3383
|
z.ZodTypeDef,
|
|
3136
|
-
|
|
3384
|
+
UpdatePrompt1Prompts1
|
|
3137
3385
|
> = z.object({
|
|
3138
|
-
type:
|
|
3139
|
-
jsonSchema: z.lazy(() =>
|
|
3386
|
+
type: UpdatePrompt1PromptsResponseType$outboundSchema,
|
|
3387
|
+
jsonSchema: z.lazy(() => UpdatePrompt1JsonSchema$outboundSchema),
|
|
3140
3388
|
}).transform((v) => {
|
|
3141
3389
|
return remap$(v, {
|
|
3142
3390
|
jsonSchema: "json_schema",
|
|
3143
3391
|
});
|
|
3144
3392
|
});
|
|
3145
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
|
+
|
|
3146
3453
|
/**
|
|
3147
3454
|
* @internal
|
|
3148
3455
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -3184,16 +3491,24 @@ export const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<
|
|
|
3184
3491
|
z.ZodTypeDef,
|
|
3185
3492
|
unknown
|
|
3186
3493
|
> = z.union([
|
|
3187
|
-
z.
|
|
3188
|
-
|
|
3189
|
-
|
|
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,
|
|
3190
3502
|
]);
|
|
3191
3503
|
|
|
3192
3504
|
/** @internal */
|
|
3193
3505
|
export type UpdatePromptPromptsResponseFormat$Outbound =
|
|
3194
|
-
|
|
|
3195
|
-
|
|
|
3196
|
-
|
|
|
3506
|
+
| UpdatePrompt1Prompts1$Outbound
|
|
3507
|
+
| UpdatePrompt1Prompts2$Outbound
|
|
3508
|
+
| UpdatePrompt1Prompts3$Outbound
|
|
3509
|
+
| string
|
|
3510
|
+
| string
|
|
3511
|
+
| string;
|
|
3197
3512
|
|
|
3198
3513
|
/** @internal */
|
|
3199
3514
|
export const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -3201,9 +3516,14 @@ export const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<
|
|
|
3201
3516
|
z.ZodTypeDef,
|
|
3202
3517
|
UpdatePromptPromptsResponseFormat
|
|
3203
3518
|
> = z.union([
|
|
3204
|
-
z.
|
|
3205
|
-
|
|
3206
|
-
|
|
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,
|
|
3207
3527
|
]);
|
|
3208
3528
|
|
|
3209
3529
|
/**
|
|
@@ -3348,9 +3668,14 @@ export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
3348
3668
|
style: z.string().optional(),
|
|
3349
3669
|
responseFormat: z.nullable(
|
|
3350
3670
|
z.union([
|
|
3351
|
-
z.
|
|
3352
|
-
|
|
3353
|
-
|
|
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,
|
|
3354
3679
|
]),
|
|
3355
3680
|
).optional(),
|
|
3356
3681
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$inboundSchema
|
|
@@ -3380,9 +3705,12 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
3380
3705
|
quality?: string | undefined;
|
|
3381
3706
|
style?: string | undefined;
|
|
3382
3707
|
responseFormat?:
|
|
3383
|
-
|
|
|
3384
|
-
|
|
|
3385
|
-
|
|
|
3708
|
+
| UpdatePrompt1Prompts1$Outbound
|
|
3709
|
+
| UpdatePrompt1Prompts2$Outbound
|
|
3710
|
+
| UpdatePrompt1Prompts3$Outbound
|
|
3711
|
+
| string
|
|
3712
|
+
| string
|
|
3713
|
+
| string
|
|
3386
3714
|
| null
|
|
3387
3715
|
| undefined;
|
|
3388
3716
|
photoRealVersion?: string | undefined;
|
|
@@ -3412,9 +3740,14 @@ export const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
3412
3740
|
style: z.string().optional(),
|
|
3413
3741
|
responseFormat: z.nullable(
|
|
3414
3742
|
z.union([
|
|
3415
|
-
z.
|
|
3416
|
-
|
|
3417
|
-
|
|
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,
|
|
3418
3751
|
]),
|
|
3419
3752
|
).optional(),
|
|
3420
3753
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$outboundSchema
|