@orq-ai/node 3.10.17 → 3.10.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 +382 -382
- package/bin/mcp-server.js.map +35 -35
- package/examples/contactsCreate.example.ts +1 -1
- 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/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/createprompt.d.ts +94 -94
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +98 -98
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +47 -47
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +49 -49
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +47 -47
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +49 -49
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getallprompts.d.ts +47 -47
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +50 -50
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +47 -47
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +49 -49
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +47 -47
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +49 -49
- package/models/operations/getpromptversion.js.map +1 -1
- 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/listpromptversions.d.ts +47 -47
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +49 -49
- package/models/operations/listpromptversions.js.map +1 -1
- 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/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/models/operations/updateprompt.d.ts +94 -94
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +99 -99
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/docs/sdks/contacts/README.md +1 -1
- package/packages/orq-rc/examples/contactsCreate.example.ts +1 -1
- 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/contactsCreate.ts +1 -1
- 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 +1 -1
- package/packages/orq-rc/src/mcp-server/tools/contactsCreate.ts +1 -1
- 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 +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createprompt.ts +246 -40
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +121 -20
- package/packages/orq-rc/src/models/operations/deployments.ts +115 -19
- 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/getallprompts.ts +100 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +100 -2
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +100 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- 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/listpromptversions.ts +101 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- 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/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- 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 +16 -16
- package/packages/orq-rc/src/models/operations/updateprompt.ts +210 -4
- package/packages/orq-rc/src/sdk/contacts.ts +1 -1
- 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/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/createprompt.ts +179 -179
- package/src/models/operations/deploymentgetconfig.ts +106 -106
- package/src/models/operations/deployments.ts +94 -94
- 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/getallprompts.ts +98 -98
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +94 -94
- package/src/models/operations/getpromptversion.ts +104 -104
- 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/listpromptversions.ts +103 -103
- 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/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
- package/src/models/operations/updateprompt.ts +183 -183
|
@@ -24,7 +24,7 @@ export const UpdatePromptFormat = {
|
|
|
24
24
|
export type UpdatePromptFormat = ClosedEnum<typeof UpdatePromptFormat>;
|
|
25
25
|
|
|
26
26
|
export const UpdatePromptResponseFormatPromptsRequestType = {
|
|
27
|
-
|
|
27
|
+
Text: "text",
|
|
28
28
|
} as const;
|
|
29
29
|
export type UpdatePromptResponseFormatPromptsRequestType = ClosedEnum<
|
|
30
30
|
typeof UpdatePromptResponseFormatPromptsRequestType
|
|
@@ -35,32 +35,32 @@ export type UpdatePromptResponseFormat3 = {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
export const UpdatePromptResponseFormatPromptsType = {
|
|
38
|
-
|
|
38
|
+
JsonObject: "json_object",
|
|
39
39
|
} as const;
|
|
40
40
|
export type UpdatePromptResponseFormatPromptsType = ClosedEnum<
|
|
41
41
|
typeof UpdatePromptResponseFormatPromptsType
|
|
42
42
|
>;
|
|
43
43
|
|
|
44
|
-
export type ResponseFormatJsonSchema = {
|
|
45
|
-
name: string;
|
|
46
|
-
strict?: boolean | undefined;
|
|
47
|
-
schema: { [k: string]: any };
|
|
48
|
-
};
|
|
49
|
-
|
|
50
44
|
export type UpdatePromptResponseFormat2 = {
|
|
51
45
|
type: UpdatePromptResponseFormatPromptsType;
|
|
52
|
-
jsonSchema: ResponseFormatJsonSchema;
|
|
53
46
|
};
|
|
54
47
|
|
|
55
48
|
export const UpdatePromptResponseFormatType = {
|
|
56
|
-
|
|
49
|
+
JsonSchema: "json_schema",
|
|
57
50
|
} as const;
|
|
58
51
|
export type UpdatePromptResponseFormatType = ClosedEnum<
|
|
59
52
|
typeof UpdatePromptResponseFormatType
|
|
60
53
|
>;
|
|
61
54
|
|
|
55
|
+
export type ResponseFormatJsonSchema = {
|
|
56
|
+
name: string;
|
|
57
|
+
strict?: boolean | undefined;
|
|
58
|
+
schema: { [k: string]: any };
|
|
59
|
+
};
|
|
60
|
+
|
|
62
61
|
export type UpdatePromptResponseFormat1 = {
|
|
63
62
|
type: UpdatePromptResponseFormatType;
|
|
63
|
+
jsonSchema: ResponseFormatJsonSchema;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
/**
|
|
@@ -75,8 +75,8 @@ export type UpdatePromptResponseFormat1 = {
|
|
|
75
75
|
* 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
76
|
*/
|
|
77
77
|
export type UpdatePromptResponseFormat =
|
|
78
|
-
| UpdatePromptResponseFormat2
|
|
79
78
|
| UpdatePromptResponseFormat1
|
|
79
|
+
| UpdatePromptResponseFormat2
|
|
80
80
|
| UpdatePromptResponseFormat3;
|
|
81
81
|
|
|
82
82
|
/**
|
|
@@ -200,8 +200,8 @@ export type UpdatePromptModelParameters = {
|
|
|
200
200
|
* 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
201
|
*/
|
|
202
202
|
responseFormat?:
|
|
203
|
-
| UpdatePromptResponseFormat2
|
|
204
203
|
| UpdatePromptResponseFormat1
|
|
204
|
+
| UpdatePromptResponseFormat2
|
|
205
205
|
| UpdatePromptResponseFormat3
|
|
206
206
|
| null
|
|
207
207
|
| undefined;
|
|
@@ -526,7 +526,7 @@ export type UpdatePromptPromptsFormat = ClosedEnum<
|
|
|
526
526
|
>;
|
|
527
527
|
|
|
528
528
|
export const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType = {
|
|
529
|
-
|
|
529
|
+
Text: "text",
|
|
530
530
|
} as const;
|
|
531
531
|
export type UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType =
|
|
532
532
|
ClosedEnum<
|
|
@@ -538,32 +538,32 @@ export type UpdatePromptResponseFormatPrompts3 = {
|
|
|
538
538
|
};
|
|
539
539
|
|
|
540
540
|
export const UpdatePromptResponseFormatPromptsResponse200Type = {
|
|
541
|
-
|
|
541
|
+
JsonObject: "json_object",
|
|
542
542
|
} as const;
|
|
543
543
|
export type UpdatePromptResponseFormatPromptsResponse200Type = ClosedEnum<
|
|
544
544
|
typeof UpdatePromptResponseFormatPromptsResponse200Type
|
|
545
545
|
>;
|
|
546
546
|
|
|
547
|
-
export type UpdatePromptResponseFormatJsonSchema = {
|
|
548
|
-
name: string;
|
|
549
|
-
strict?: boolean | undefined;
|
|
550
|
-
schema: { [k: string]: any };
|
|
551
|
-
};
|
|
552
|
-
|
|
553
547
|
export type UpdatePromptResponseFormatPrompts2 = {
|
|
554
548
|
type: UpdatePromptResponseFormatPromptsResponse200Type;
|
|
555
|
-
jsonSchema: UpdatePromptResponseFormatJsonSchema;
|
|
556
549
|
};
|
|
557
550
|
|
|
558
551
|
export const UpdatePromptResponseFormatPromptsResponseType = {
|
|
559
|
-
|
|
552
|
+
JsonSchema: "json_schema",
|
|
560
553
|
} as const;
|
|
561
554
|
export type UpdatePromptResponseFormatPromptsResponseType = ClosedEnum<
|
|
562
555
|
typeof UpdatePromptResponseFormatPromptsResponseType
|
|
563
556
|
>;
|
|
564
557
|
|
|
558
|
+
export type UpdatePromptResponseFormatJsonSchema = {
|
|
559
|
+
name: string;
|
|
560
|
+
strict?: boolean | undefined;
|
|
561
|
+
schema: { [k: string]: any };
|
|
562
|
+
};
|
|
563
|
+
|
|
565
564
|
export type UpdatePromptResponseFormatPrompts1 = {
|
|
566
565
|
type: UpdatePromptResponseFormatPromptsResponseType;
|
|
566
|
+
jsonSchema: UpdatePromptResponseFormatJsonSchema;
|
|
567
567
|
};
|
|
568
568
|
|
|
569
569
|
/**
|
|
@@ -578,8 +578,8 @@ export type UpdatePromptResponseFormatPrompts1 = {
|
|
|
578
578
|
* 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.
|
|
579
579
|
*/
|
|
580
580
|
export type UpdatePromptPromptsResponseFormat =
|
|
581
|
-
| UpdatePromptResponseFormatPrompts2
|
|
582
581
|
| UpdatePromptResponseFormatPrompts1
|
|
582
|
+
| UpdatePromptResponseFormatPrompts2
|
|
583
583
|
| UpdatePromptResponseFormatPrompts3;
|
|
584
584
|
|
|
585
585
|
/**
|
|
@@ -705,8 +705,8 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
705
705
|
* 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.
|
|
706
706
|
*/
|
|
707
707
|
responseFormat?:
|
|
708
|
-
| UpdatePromptResponseFormatPrompts2
|
|
709
708
|
| UpdatePromptResponseFormatPrompts1
|
|
709
|
+
| UpdatePromptResponseFormatPrompts2
|
|
710
710
|
| UpdatePromptResponseFormatPrompts3
|
|
711
711
|
| null
|
|
712
712
|
| undefined;
|
|
@@ -1143,66 +1143,6 @@ export namespace UpdatePromptResponseFormatPromptsType$ {
|
|
|
1143
1143
|
UpdatePromptResponseFormatPromptsType$outboundSchema;
|
|
1144
1144
|
}
|
|
1145
1145
|
|
|
1146
|
-
/** @internal */
|
|
1147
|
-
export const ResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
1148
|
-
ResponseFormatJsonSchema,
|
|
1149
|
-
z.ZodTypeDef,
|
|
1150
|
-
unknown
|
|
1151
|
-
> = z.object({
|
|
1152
|
-
name: z.string(),
|
|
1153
|
-
strict: z.boolean().optional(),
|
|
1154
|
-
schema: z.record(z.any()),
|
|
1155
|
-
});
|
|
1156
|
-
|
|
1157
|
-
/** @internal */
|
|
1158
|
-
export type ResponseFormatJsonSchema$Outbound = {
|
|
1159
|
-
name: string;
|
|
1160
|
-
strict?: boolean | undefined;
|
|
1161
|
-
schema: { [k: string]: any };
|
|
1162
|
-
};
|
|
1163
|
-
|
|
1164
|
-
/** @internal */
|
|
1165
|
-
export const ResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
1166
|
-
ResponseFormatJsonSchema$Outbound,
|
|
1167
|
-
z.ZodTypeDef,
|
|
1168
|
-
ResponseFormatJsonSchema
|
|
1169
|
-
> = z.object({
|
|
1170
|
-
name: z.string(),
|
|
1171
|
-
strict: z.boolean().optional(),
|
|
1172
|
-
schema: z.record(z.any()),
|
|
1173
|
-
});
|
|
1174
|
-
|
|
1175
|
-
/**
|
|
1176
|
-
* @internal
|
|
1177
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1178
|
-
*/
|
|
1179
|
-
export namespace ResponseFormatJsonSchema$ {
|
|
1180
|
-
/** @deprecated use `ResponseFormatJsonSchema$inboundSchema` instead. */
|
|
1181
|
-
export const inboundSchema = ResponseFormatJsonSchema$inboundSchema;
|
|
1182
|
-
/** @deprecated use `ResponseFormatJsonSchema$outboundSchema` instead. */
|
|
1183
|
-
export const outboundSchema = ResponseFormatJsonSchema$outboundSchema;
|
|
1184
|
-
/** @deprecated use `ResponseFormatJsonSchema$Outbound` instead. */
|
|
1185
|
-
export type Outbound = ResponseFormatJsonSchema$Outbound;
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
export function responseFormatJsonSchemaToJSON(
|
|
1189
|
-
responseFormatJsonSchema: ResponseFormatJsonSchema,
|
|
1190
|
-
): string {
|
|
1191
|
-
return JSON.stringify(
|
|
1192
|
-
ResponseFormatJsonSchema$outboundSchema.parse(responseFormatJsonSchema),
|
|
1193
|
-
);
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
export function responseFormatJsonSchemaFromJSON(
|
|
1197
|
-
jsonString: string,
|
|
1198
|
-
): SafeParseResult<ResponseFormatJsonSchema, SDKValidationError> {
|
|
1199
|
-
return safeParse(
|
|
1200
|
-
jsonString,
|
|
1201
|
-
(x) => ResponseFormatJsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
1202
|
-
`Failed to parse 'ResponseFormatJsonSchema' from JSON`,
|
|
1203
|
-
);
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
1146
|
/** @internal */
|
|
1207
1147
|
export const UpdatePromptResponseFormat2$inboundSchema: z.ZodType<
|
|
1208
1148
|
UpdatePromptResponseFormat2,
|
|
@@ -1210,17 +1150,11 @@ export const UpdatePromptResponseFormat2$inboundSchema: z.ZodType<
|
|
|
1210
1150
|
unknown
|
|
1211
1151
|
> = z.object({
|
|
1212
1152
|
type: UpdatePromptResponseFormatPromptsType$inboundSchema,
|
|
1213
|
-
json_schema: z.lazy(() => ResponseFormatJsonSchema$inboundSchema),
|
|
1214
|
-
}).transform((v) => {
|
|
1215
|
-
return remap$(v, {
|
|
1216
|
-
"json_schema": "jsonSchema",
|
|
1217
|
-
});
|
|
1218
1153
|
});
|
|
1219
1154
|
|
|
1220
1155
|
/** @internal */
|
|
1221
1156
|
export type UpdatePromptResponseFormat2$Outbound = {
|
|
1222
1157
|
type: string;
|
|
1223
|
-
json_schema: ResponseFormatJsonSchema$Outbound;
|
|
1224
1158
|
};
|
|
1225
1159
|
|
|
1226
1160
|
/** @internal */
|
|
@@ -1230,11 +1164,6 @@ export const UpdatePromptResponseFormat2$outboundSchema: z.ZodType<
|
|
|
1230
1164
|
UpdatePromptResponseFormat2
|
|
1231
1165
|
> = z.object({
|
|
1232
1166
|
type: UpdatePromptResponseFormatPromptsType$outboundSchema,
|
|
1233
|
-
jsonSchema: z.lazy(() => ResponseFormatJsonSchema$outboundSchema),
|
|
1234
|
-
}).transform((v) => {
|
|
1235
|
-
return remap$(v, {
|
|
1236
|
-
jsonSchema: "json_schema",
|
|
1237
|
-
});
|
|
1238
1167
|
});
|
|
1239
1168
|
|
|
1240
1169
|
/**
|
|
@@ -1291,6 +1220,66 @@ export namespace UpdatePromptResponseFormatType$ {
|
|
|
1291
1220
|
export const outboundSchema = UpdatePromptResponseFormatType$outboundSchema;
|
|
1292
1221
|
}
|
|
1293
1222
|
|
|
1223
|
+
/** @internal */
|
|
1224
|
+
export const ResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
1225
|
+
ResponseFormatJsonSchema,
|
|
1226
|
+
z.ZodTypeDef,
|
|
1227
|
+
unknown
|
|
1228
|
+
> = z.object({
|
|
1229
|
+
name: z.string(),
|
|
1230
|
+
strict: z.boolean().optional(),
|
|
1231
|
+
schema: z.record(z.any()),
|
|
1232
|
+
});
|
|
1233
|
+
|
|
1234
|
+
/** @internal */
|
|
1235
|
+
export type ResponseFormatJsonSchema$Outbound = {
|
|
1236
|
+
name: string;
|
|
1237
|
+
strict?: boolean | undefined;
|
|
1238
|
+
schema: { [k: string]: any };
|
|
1239
|
+
};
|
|
1240
|
+
|
|
1241
|
+
/** @internal */
|
|
1242
|
+
export const ResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
1243
|
+
ResponseFormatJsonSchema$Outbound,
|
|
1244
|
+
z.ZodTypeDef,
|
|
1245
|
+
ResponseFormatJsonSchema
|
|
1246
|
+
> = z.object({
|
|
1247
|
+
name: z.string(),
|
|
1248
|
+
strict: z.boolean().optional(),
|
|
1249
|
+
schema: z.record(z.any()),
|
|
1250
|
+
});
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* @internal
|
|
1254
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1255
|
+
*/
|
|
1256
|
+
export namespace ResponseFormatJsonSchema$ {
|
|
1257
|
+
/** @deprecated use `ResponseFormatJsonSchema$inboundSchema` instead. */
|
|
1258
|
+
export const inboundSchema = ResponseFormatJsonSchema$inboundSchema;
|
|
1259
|
+
/** @deprecated use `ResponseFormatJsonSchema$outboundSchema` instead. */
|
|
1260
|
+
export const outboundSchema = ResponseFormatJsonSchema$outboundSchema;
|
|
1261
|
+
/** @deprecated use `ResponseFormatJsonSchema$Outbound` instead. */
|
|
1262
|
+
export type Outbound = ResponseFormatJsonSchema$Outbound;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
export function responseFormatJsonSchemaToJSON(
|
|
1266
|
+
responseFormatJsonSchema: ResponseFormatJsonSchema,
|
|
1267
|
+
): string {
|
|
1268
|
+
return JSON.stringify(
|
|
1269
|
+
ResponseFormatJsonSchema$outboundSchema.parse(responseFormatJsonSchema),
|
|
1270
|
+
);
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
export function responseFormatJsonSchemaFromJSON(
|
|
1274
|
+
jsonString: string,
|
|
1275
|
+
): SafeParseResult<ResponseFormatJsonSchema, SDKValidationError> {
|
|
1276
|
+
return safeParse(
|
|
1277
|
+
jsonString,
|
|
1278
|
+
(x) => ResponseFormatJsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
1279
|
+
`Failed to parse 'ResponseFormatJsonSchema' from JSON`,
|
|
1280
|
+
);
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1294
1283
|
/** @internal */
|
|
1295
1284
|
export const UpdatePromptResponseFormat1$inboundSchema: z.ZodType<
|
|
1296
1285
|
UpdatePromptResponseFormat1,
|
|
@@ -1298,11 +1287,17 @@ export const UpdatePromptResponseFormat1$inboundSchema: z.ZodType<
|
|
|
1298
1287
|
unknown
|
|
1299
1288
|
> = z.object({
|
|
1300
1289
|
type: UpdatePromptResponseFormatType$inboundSchema,
|
|
1290
|
+
json_schema: z.lazy(() => ResponseFormatJsonSchema$inboundSchema),
|
|
1291
|
+
}).transform((v) => {
|
|
1292
|
+
return remap$(v, {
|
|
1293
|
+
"json_schema": "jsonSchema",
|
|
1294
|
+
});
|
|
1301
1295
|
});
|
|
1302
1296
|
|
|
1303
1297
|
/** @internal */
|
|
1304
1298
|
export type UpdatePromptResponseFormat1$Outbound = {
|
|
1305
1299
|
type: string;
|
|
1300
|
+
json_schema: ResponseFormatJsonSchema$Outbound;
|
|
1306
1301
|
};
|
|
1307
1302
|
|
|
1308
1303
|
/** @internal */
|
|
@@ -1312,6 +1307,11 @@ export const UpdatePromptResponseFormat1$outboundSchema: z.ZodType<
|
|
|
1312
1307
|
UpdatePromptResponseFormat1
|
|
1313
1308
|
> = z.object({
|
|
1314
1309
|
type: UpdatePromptResponseFormatType$outboundSchema,
|
|
1310
|
+
jsonSchema: z.lazy(() => ResponseFormatJsonSchema$outboundSchema),
|
|
1311
|
+
}).transform((v) => {
|
|
1312
|
+
return remap$(v, {
|
|
1313
|
+
jsonSchema: "json_schema",
|
|
1314
|
+
});
|
|
1315
1315
|
});
|
|
1316
1316
|
|
|
1317
1317
|
/**
|
|
@@ -1353,15 +1353,15 @@ export const UpdatePromptResponseFormat$inboundSchema: z.ZodType<
|
|
|
1353
1353
|
z.ZodTypeDef,
|
|
1354
1354
|
unknown
|
|
1355
1355
|
> = z.union([
|
|
1356
|
-
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1357
1356
|
z.lazy(() => UpdatePromptResponseFormat1$inboundSchema),
|
|
1357
|
+
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1358
1358
|
z.lazy(() => UpdatePromptResponseFormat3$inboundSchema),
|
|
1359
1359
|
]);
|
|
1360
1360
|
|
|
1361
1361
|
/** @internal */
|
|
1362
1362
|
export type UpdatePromptResponseFormat$Outbound =
|
|
1363
|
-
| UpdatePromptResponseFormat2$Outbound
|
|
1364
1363
|
| UpdatePromptResponseFormat1$Outbound
|
|
1364
|
+
| UpdatePromptResponseFormat2$Outbound
|
|
1365
1365
|
| UpdatePromptResponseFormat3$Outbound;
|
|
1366
1366
|
|
|
1367
1367
|
/** @internal */
|
|
@@ -1370,8 +1370,8 @@ export const UpdatePromptResponseFormat$outboundSchema: z.ZodType<
|
|
|
1370
1370
|
z.ZodTypeDef,
|
|
1371
1371
|
UpdatePromptResponseFormat
|
|
1372
1372
|
> = z.union([
|
|
1373
|
-
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1374
1373
|
z.lazy(() => UpdatePromptResponseFormat1$outboundSchema),
|
|
1374
|
+
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1375
1375
|
z.lazy(() => UpdatePromptResponseFormat3$outboundSchema),
|
|
1376
1376
|
]);
|
|
1377
1377
|
|
|
@@ -1510,8 +1510,8 @@ export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
1510
1510
|
style: z.string().optional(),
|
|
1511
1511
|
responseFormat: z.nullable(
|
|
1512
1512
|
z.union([
|
|
1513
|
-
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1514
1513
|
z.lazy(() => UpdatePromptResponseFormat1$inboundSchema),
|
|
1514
|
+
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1515
1515
|
z.lazy(() => UpdatePromptResponseFormat3$inboundSchema),
|
|
1516
1516
|
]),
|
|
1517
1517
|
).optional(),
|
|
@@ -1541,8 +1541,8 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1541
1541
|
quality?: string | undefined;
|
|
1542
1542
|
style?: string | undefined;
|
|
1543
1543
|
responseFormat?:
|
|
1544
|
-
| UpdatePromptResponseFormat2$Outbound
|
|
1545
1544
|
| UpdatePromptResponseFormat1$Outbound
|
|
1545
|
+
| UpdatePromptResponseFormat2$Outbound
|
|
1546
1546
|
| UpdatePromptResponseFormat3$Outbound
|
|
1547
1547
|
| null
|
|
1548
1548
|
| undefined;
|
|
@@ -1573,8 +1573,8 @@ export const UpdatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1573
1573
|
style: z.string().optional(),
|
|
1574
1574
|
responseFormat: z.nullable(
|
|
1575
1575
|
z.union([
|
|
1576
|
-
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1577
1576
|
z.lazy(() => UpdatePromptResponseFormat1$outboundSchema),
|
|
1577
|
+
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1578
1578
|
z.lazy(() => UpdatePromptResponseFormat3$outboundSchema),
|
|
1579
1579
|
]),
|
|
1580
1580
|
).optional(),
|
|
@@ -2914,71 +2914,6 @@ export namespace UpdatePromptResponseFormatPromptsResponse200Type$ {
|
|
|
2914
2914
|
UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema;
|
|
2915
2915
|
}
|
|
2916
2916
|
|
|
2917
|
-
/** @internal */
|
|
2918
|
-
export const UpdatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
2919
|
-
UpdatePromptResponseFormatJsonSchema,
|
|
2920
|
-
z.ZodTypeDef,
|
|
2921
|
-
unknown
|
|
2922
|
-
> = z.object({
|
|
2923
|
-
name: z.string(),
|
|
2924
|
-
strict: z.boolean().optional(),
|
|
2925
|
-
schema: z.record(z.any()),
|
|
2926
|
-
});
|
|
2927
|
-
|
|
2928
|
-
/** @internal */
|
|
2929
|
-
export type UpdatePromptResponseFormatJsonSchema$Outbound = {
|
|
2930
|
-
name: string;
|
|
2931
|
-
strict?: boolean | undefined;
|
|
2932
|
-
schema: { [k: string]: any };
|
|
2933
|
-
};
|
|
2934
|
-
|
|
2935
|
-
/** @internal */
|
|
2936
|
-
export const UpdatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
2937
|
-
UpdatePromptResponseFormatJsonSchema$Outbound,
|
|
2938
|
-
z.ZodTypeDef,
|
|
2939
|
-
UpdatePromptResponseFormatJsonSchema
|
|
2940
|
-
> = z.object({
|
|
2941
|
-
name: z.string(),
|
|
2942
|
-
strict: z.boolean().optional(),
|
|
2943
|
-
schema: z.record(z.any()),
|
|
2944
|
-
});
|
|
2945
|
-
|
|
2946
|
-
/**
|
|
2947
|
-
* @internal
|
|
2948
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2949
|
-
*/
|
|
2950
|
-
export namespace UpdatePromptResponseFormatJsonSchema$ {
|
|
2951
|
-
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$inboundSchema` instead. */
|
|
2952
|
-
export const inboundSchema =
|
|
2953
|
-
UpdatePromptResponseFormatJsonSchema$inboundSchema;
|
|
2954
|
-
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$outboundSchema` instead. */
|
|
2955
|
-
export const outboundSchema =
|
|
2956
|
-
UpdatePromptResponseFormatJsonSchema$outboundSchema;
|
|
2957
|
-
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$Outbound` instead. */
|
|
2958
|
-
export type Outbound = UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
2959
|
-
}
|
|
2960
|
-
|
|
2961
|
-
export function updatePromptResponseFormatJsonSchemaToJSON(
|
|
2962
|
-
updatePromptResponseFormatJsonSchema: UpdatePromptResponseFormatJsonSchema,
|
|
2963
|
-
): string {
|
|
2964
|
-
return JSON.stringify(
|
|
2965
|
-
UpdatePromptResponseFormatJsonSchema$outboundSchema.parse(
|
|
2966
|
-
updatePromptResponseFormatJsonSchema,
|
|
2967
|
-
),
|
|
2968
|
-
);
|
|
2969
|
-
}
|
|
2970
|
-
|
|
2971
|
-
export function updatePromptResponseFormatJsonSchemaFromJSON(
|
|
2972
|
-
jsonString: string,
|
|
2973
|
-
): SafeParseResult<UpdatePromptResponseFormatJsonSchema, SDKValidationError> {
|
|
2974
|
-
return safeParse(
|
|
2975
|
-
jsonString,
|
|
2976
|
-
(x) =>
|
|
2977
|
-
UpdatePromptResponseFormatJsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
2978
|
-
`Failed to parse 'UpdatePromptResponseFormatJsonSchema' from JSON`,
|
|
2979
|
-
);
|
|
2980
|
-
}
|
|
2981
|
-
|
|
2982
2917
|
/** @internal */
|
|
2983
2918
|
export const UpdatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<
|
|
2984
2919
|
UpdatePromptResponseFormatPrompts2,
|
|
@@ -2986,17 +2921,11 @@ export const UpdatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<
|
|
|
2986
2921
|
unknown
|
|
2987
2922
|
> = z.object({
|
|
2988
2923
|
type: UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema,
|
|
2989
|
-
json_schema: z.lazy(() => UpdatePromptResponseFormatJsonSchema$inboundSchema),
|
|
2990
|
-
}).transform((v) => {
|
|
2991
|
-
return remap$(v, {
|
|
2992
|
-
"json_schema": "jsonSchema",
|
|
2993
|
-
});
|
|
2994
2924
|
});
|
|
2995
2925
|
|
|
2996
2926
|
/** @internal */
|
|
2997
2927
|
export type UpdatePromptResponseFormatPrompts2$Outbound = {
|
|
2998
2928
|
type: string;
|
|
2999
|
-
json_schema: UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
3000
2929
|
};
|
|
3001
2930
|
|
|
3002
2931
|
/** @internal */
|
|
@@ -3006,11 +2935,6 @@ export const UpdatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<
|
|
|
3006
2935
|
UpdatePromptResponseFormatPrompts2
|
|
3007
2936
|
> = z.object({
|
|
3008
2937
|
type: UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema,
|
|
3009
|
-
jsonSchema: z.lazy(() => UpdatePromptResponseFormatJsonSchema$outboundSchema),
|
|
3010
|
-
}).transform((v) => {
|
|
3011
|
-
return remap$(v, {
|
|
3012
|
-
jsonSchema: "json_schema",
|
|
3013
|
-
});
|
|
3014
2938
|
});
|
|
3015
2939
|
|
|
3016
2940
|
/**
|
|
@@ -3071,6 +2995,71 @@ export namespace UpdatePromptResponseFormatPromptsResponseType$ {
|
|
|
3071
2995
|
UpdatePromptResponseFormatPromptsResponseType$outboundSchema;
|
|
3072
2996
|
}
|
|
3073
2997
|
|
|
2998
|
+
/** @internal */
|
|
2999
|
+
export const UpdatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<
|
|
3000
|
+
UpdatePromptResponseFormatJsonSchema,
|
|
3001
|
+
z.ZodTypeDef,
|
|
3002
|
+
unknown
|
|
3003
|
+
> = z.object({
|
|
3004
|
+
name: z.string(),
|
|
3005
|
+
strict: z.boolean().optional(),
|
|
3006
|
+
schema: z.record(z.any()),
|
|
3007
|
+
});
|
|
3008
|
+
|
|
3009
|
+
/** @internal */
|
|
3010
|
+
export type UpdatePromptResponseFormatJsonSchema$Outbound = {
|
|
3011
|
+
name: string;
|
|
3012
|
+
strict?: boolean | undefined;
|
|
3013
|
+
schema: { [k: string]: any };
|
|
3014
|
+
};
|
|
3015
|
+
|
|
3016
|
+
/** @internal */
|
|
3017
|
+
export const UpdatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<
|
|
3018
|
+
UpdatePromptResponseFormatJsonSchema$Outbound,
|
|
3019
|
+
z.ZodTypeDef,
|
|
3020
|
+
UpdatePromptResponseFormatJsonSchema
|
|
3021
|
+
> = z.object({
|
|
3022
|
+
name: z.string(),
|
|
3023
|
+
strict: z.boolean().optional(),
|
|
3024
|
+
schema: z.record(z.any()),
|
|
3025
|
+
});
|
|
3026
|
+
|
|
3027
|
+
/**
|
|
3028
|
+
* @internal
|
|
3029
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3030
|
+
*/
|
|
3031
|
+
export namespace UpdatePromptResponseFormatJsonSchema$ {
|
|
3032
|
+
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$inboundSchema` instead. */
|
|
3033
|
+
export const inboundSchema =
|
|
3034
|
+
UpdatePromptResponseFormatJsonSchema$inboundSchema;
|
|
3035
|
+
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$outboundSchema` instead. */
|
|
3036
|
+
export const outboundSchema =
|
|
3037
|
+
UpdatePromptResponseFormatJsonSchema$outboundSchema;
|
|
3038
|
+
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$Outbound` instead. */
|
|
3039
|
+
export type Outbound = UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
3040
|
+
}
|
|
3041
|
+
|
|
3042
|
+
export function updatePromptResponseFormatJsonSchemaToJSON(
|
|
3043
|
+
updatePromptResponseFormatJsonSchema: UpdatePromptResponseFormatJsonSchema,
|
|
3044
|
+
): string {
|
|
3045
|
+
return JSON.stringify(
|
|
3046
|
+
UpdatePromptResponseFormatJsonSchema$outboundSchema.parse(
|
|
3047
|
+
updatePromptResponseFormatJsonSchema,
|
|
3048
|
+
),
|
|
3049
|
+
);
|
|
3050
|
+
}
|
|
3051
|
+
|
|
3052
|
+
export function updatePromptResponseFormatJsonSchemaFromJSON(
|
|
3053
|
+
jsonString: string,
|
|
3054
|
+
): SafeParseResult<UpdatePromptResponseFormatJsonSchema, SDKValidationError> {
|
|
3055
|
+
return safeParse(
|
|
3056
|
+
jsonString,
|
|
3057
|
+
(x) =>
|
|
3058
|
+
UpdatePromptResponseFormatJsonSchema$inboundSchema.parse(JSON.parse(x)),
|
|
3059
|
+
`Failed to parse 'UpdatePromptResponseFormatJsonSchema' from JSON`,
|
|
3060
|
+
);
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3074
3063
|
/** @internal */
|
|
3075
3064
|
export const UpdatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<
|
|
3076
3065
|
UpdatePromptResponseFormatPrompts1,
|
|
@@ -3078,11 +3067,17 @@ export const UpdatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<
|
|
|
3078
3067
|
unknown
|
|
3079
3068
|
> = z.object({
|
|
3080
3069
|
type: UpdatePromptResponseFormatPromptsResponseType$inboundSchema,
|
|
3070
|
+
json_schema: z.lazy(() => UpdatePromptResponseFormatJsonSchema$inboundSchema),
|
|
3071
|
+
}).transform((v) => {
|
|
3072
|
+
return remap$(v, {
|
|
3073
|
+
"json_schema": "jsonSchema",
|
|
3074
|
+
});
|
|
3081
3075
|
});
|
|
3082
3076
|
|
|
3083
3077
|
/** @internal */
|
|
3084
3078
|
export type UpdatePromptResponseFormatPrompts1$Outbound = {
|
|
3085
3079
|
type: string;
|
|
3080
|
+
json_schema: UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
3086
3081
|
};
|
|
3087
3082
|
|
|
3088
3083
|
/** @internal */
|
|
@@ -3092,6 +3087,11 @@ export const UpdatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<
|
|
|
3092
3087
|
UpdatePromptResponseFormatPrompts1
|
|
3093
3088
|
> = z.object({
|
|
3094
3089
|
type: UpdatePromptResponseFormatPromptsResponseType$outboundSchema,
|
|
3090
|
+
jsonSchema: z.lazy(() => UpdatePromptResponseFormatJsonSchema$outboundSchema),
|
|
3091
|
+
}).transform((v) => {
|
|
3092
|
+
return remap$(v, {
|
|
3093
|
+
jsonSchema: "json_schema",
|
|
3094
|
+
});
|
|
3095
3095
|
});
|
|
3096
3096
|
|
|
3097
3097
|
/**
|
|
@@ -3135,15 +3135,15 @@ export const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<
|
|
|
3135
3135
|
z.ZodTypeDef,
|
|
3136
3136
|
unknown
|
|
3137
3137
|
> = z.union([
|
|
3138
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
3139
3138
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$inboundSchema),
|
|
3139
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
3140
3140
|
z.lazy(() => UpdatePromptResponseFormatPrompts3$inboundSchema),
|
|
3141
3141
|
]);
|
|
3142
3142
|
|
|
3143
3143
|
/** @internal */
|
|
3144
3144
|
export type UpdatePromptPromptsResponseFormat$Outbound =
|
|
3145
|
-
| UpdatePromptResponseFormatPrompts2$Outbound
|
|
3146
3145
|
| UpdatePromptResponseFormatPrompts1$Outbound
|
|
3146
|
+
| UpdatePromptResponseFormatPrompts2$Outbound
|
|
3147
3147
|
| UpdatePromptResponseFormatPrompts3$Outbound;
|
|
3148
3148
|
|
|
3149
3149
|
/** @internal */
|
|
@@ -3152,8 +3152,8 @@ export const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<
|
|
|
3152
3152
|
z.ZodTypeDef,
|
|
3153
3153
|
UpdatePromptPromptsResponseFormat
|
|
3154
3154
|
> = z.union([
|
|
3155
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
3156
3155
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$outboundSchema),
|
|
3156
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
3157
3157
|
z.lazy(() => UpdatePromptResponseFormatPrompts3$outboundSchema),
|
|
3158
3158
|
]);
|
|
3159
3159
|
|
|
@@ -3299,8 +3299,8 @@ export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
3299
3299
|
style: z.string().optional(),
|
|
3300
3300
|
responseFormat: z.nullable(
|
|
3301
3301
|
z.union([
|
|
3302
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
3303
3302
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$inboundSchema),
|
|
3303
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
3304
3304
|
z.lazy(() => UpdatePromptResponseFormatPrompts3$inboundSchema),
|
|
3305
3305
|
]),
|
|
3306
3306
|
).optional(),
|
|
@@ -3331,8 +3331,8 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
3331
3331
|
quality?: string | undefined;
|
|
3332
3332
|
style?: string | undefined;
|
|
3333
3333
|
responseFormat?:
|
|
3334
|
-
| UpdatePromptResponseFormatPrompts2$Outbound
|
|
3335
3334
|
| UpdatePromptResponseFormatPrompts1$Outbound
|
|
3335
|
+
| UpdatePromptResponseFormatPrompts2$Outbound
|
|
3336
3336
|
| UpdatePromptResponseFormatPrompts3$Outbound
|
|
3337
3337
|
| null
|
|
3338
3338
|
| undefined;
|
|
@@ -3363,8 +3363,8 @@ export const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
3363
3363
|
style: z.string().optional(),
|
|
3364
3364
|
responseFormat: z.nullable(
|
|
3365
3365
|
z.union([
|
|
3366
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
3367
3366
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$outboundSchema),
|
|
3367
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
3368
3368
|
z.lazy(() => UpdatePromptResponseFormatPrompts3$outboundSchema),
|
|
3369
3369
|
]),
|
|
3370
3370
|
).optional(),
|