@orq-ai/node 3.10.16 → 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 +418 -188
- 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 +118 -24
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +130 -30
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +59 -12
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +73 -24
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +59 -12
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +66 -16
- 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 +51 -4
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +53 -3
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +51 -4
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +53 -3
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +51 -4
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +53 -3
- 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 +51 -4
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +52 -3
- 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 +102 -8
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +105 -5
- 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/docs/sdks/datasets/README.md +1 -1
- package/packages/orq-rc/docs/sdks/knowledge/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/funcs/datasetsCreateDatapoint.ts +5 -4
- package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +4 -4
- 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/createchunk.ts +54 -44
- 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 +46 -63
- 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/packages/orq-rc/src/sdk/datasets.ts +1 -1
- package/packages/orq-rc/src/sdk/knowledge.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 +246 -40
- package/src/models/operations/deploymentgetconfig.ts +121 -20
- package/src/models/operations/deployments.ts +115 -19
- 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 +100 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +100 -2
- package/src/models/operations/getpromptversion.ts +100 -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/listpromptversions.ts +101 -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/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 +210 -4
|
@@ -23,6 +23,17 @@ export const UpdatePromptFormat = {
|
|
|
23
23
|
*/
|
|
24
24
|
export type UpdatePromptFormat = ClosedEnum<typeof UpdatePromptFormat>;
|
|
25
25
|
|
|
26
|
+
export const UpdatePromptResponseFormatPromptsRequestType = {
|
|
27
|
+
Text: "text",
|
|
28
|
+
} as const;
|
|
29
|
+
export type UpdatePromptResponseFormatPromptsRequestType = ClosedEnum<
|
|
30
|
+
typeof UpdatePromptResponseFormatPromptsRequestType
|
|
31
|
+
>;
|
|
32
|
+
|
|
33
|
+
export type UpdatePromptResponseFormat3 = {
|
|
34
|
+
type: UpdatePromptResponseFormatPromptsRequestType;
|
|
35
|
+
};
|
|
36
|
+
|
|
26
37
|
export const UpdatePromptResponseFormatPromptsType = {
|
|
27
38
|
JsonObject: "json_object",
|
|
28
39
|
} as const;
|
|
@@ -65,7 +76,8 @@ export type UpdatePromptResponseFormat1 = {
|
|
|
65
76
|
*/
|
|
66
77
|
export type UpdatePromptResponseFormat =
|
|
67
78
|
| UpdatePromptResponseFormat1
|
|
68
|
-
| UpdatePromptResponseFormat2
|
|
79
|
+
| UpdatePromptResponseFormat2
|
|
80
|
+
| UpdatePromptResponseFormat3;
|
|
69
81
|
|
|
70
82
|
/**
|
|
71
83
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -190,6 +202,7 @@ export type UpdatePromptModelParameters = {
|
|
|
190
202
|
responseFormat?:
|
|
191
203
|
| UpdatePromptResponseFormat1
|
|
192
204
|
| UpdatePromptResponseFormat2
|
|
205
|
+
| UpdatePromptResponseFormat3
|
|
193
206
|
| null
|
|
194
207
|
| undefined;
|
|
195
208
|
/**
|
|
@@ -512,6 +525,18 @@ export type UpdatePromptPromptsFormat = ClosedEnum<
|
|
|
512
525
|
typeof UpdatePromptPromptsFormat
|
|
513
526
|
>;
|
|
514
527
|
|
|
528
|
+
export const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType = {
|
|
529
|
+
Text: "text",
|
|
530
|
+
} as const;
|
|
531
|
+
export type UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType =
|
|
532
|
+
ClosedEnum<
|
|
533
|
+
typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType
|
|
534
|
+
>;
|
|
535
|
+
|
|
536
|
+
export type UpdatePromptResponseFormatPrompts3 = {
|
|
537
|
+
type: UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType;
|
|
538
|
+
};
|
|
539
|
+
|
|
515
540
|
export const UpdatePromptResponseFormatPromptsResponse200Type = {
|
|
516
541
|
JsonObject: "json_object",
|
|
517
542
|
} as const;
|
|
@@ -554,7 +579,8 @@ export type UpdatePromptResponseFormatPrompts1 = {
|
|
|
554
579
|
*/
|
|
555
580
|
export type UpdatePromptPromptsResponseFormat =
|
|
556
581
|
| UpdatePromptResponseFormatPrompts1
|
|
557
|
-
| UpdatePromptResponseFormatPrompts2
|
|
582
|
+
| UpdatePromptResponseFormatPrompts2
|
|
583
|
+
| UpdatePromptResponseFormatPrompts3;
|
|
558
584
|
|
|
559
585
|
/**
|
|
560
586
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -681,6 +707,7 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
681
707
|
responseFormat?:
|
|
682
708
|
| UpdatePromptResponseFormatPrompts1
|
|
683
709
|
| UpdatePromptResponseFormatPrompts2
|
|
710
|
+
| UpdatePromptResponseFormatPrompts3
|
|
684
711
|
| null
|
|
685
712
|
| undefined;
|
|
686
713
|
/**
|
|
@@ -1013,6 +1040,85 @@ export namespace UpdatePromptFormat$ {
|
|
|
1013
1040
|
export const outboundSchema = UpdatePromptFormat$outboundSchema;
|
|
1014
1041
|
}
|
|
1015
1042
|
|
|
1043
|
+
/** @internal */
|
|
1044
|
+
export const UpdatePromptResponseFormatPromptsRequestType$inboundSchema:
|
|
1045
|
+
z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsRequestType> = z
|
|
1046
|
+
.nativeEnum(UpdatePromptResponseFormatPromptsRequestType);
|
|
1047
|
+
|
|
1048
|
+
/** @internal */
|
|
1049
|
+
export const UpdatePromptResponseFormatPromptsRequestType$outboundSchema:
|
|
1050
|
+
z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsRequestType> =
|
|
1051
|
+
UpdatePromptResponseFormatPromptsRequestType$inboundSchema;
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* @internal
|
|
1055
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1056
|
+
*/
|
|
1057
|
+
export namespace UpdatePromptResponseFormatPromptsRequestType$ {
|
|
1058
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsRequestType$inboundSchema` instead. */
|
|
1059
|
+
export const inboundSchema =
|
|
1060
|
+
UpdatePromptResponseFormatPromptsRequestType$inboundSchema;
|
|
1061
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsRequestType$outboundSchema` instead. */
|
|
1062
|
+
export const outboundSchema =
|
|
1063
|
+
UpdatePromptResponseFormatPromptsRequestType$outboundSchema;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
/** @internal */
|
|
1067
|
+
export const UpdatePromptResponseFormat3$inboundSchema: z.ZodType<
|
|
1068
|
+
UpdatePromptResponseFormat3,
|
|
1069
|
+
z.ZodTypeDef,
|
|
1070
|
+
unknown
|
|
1071
|
+
> = z.object({
|
|
1072
|
+
type: UpdatePromptResponseFormatPromptsRequestType$inboundSchema,
|
|
1073
|
+
});
|
|
1074
|
+
|
|
1075
|
+
/** @internal */
|
|
1076
|
+
export type UpdatePromptResponseFormat3$Outbound = {
|
|
1077
|
+
type: string;
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
/** @internal */
|
|
1081
|
+
export const UpdatePromptResponseFormat3$outboundSchema: z.ZodType<
|
|
1082
|
+
UpdatePromptResponseFormat3$Outbound,
|
|
1083
|
+
z.ZodTypeDef,
|
|
1084
|
+
UpdatePromptResponseFormat3
|
|
1085
|
+
> = z.object({
|
|
1086
|
+
type: UpdatePromptResponseFormatPromptsRequestType$outboundSchema,
|
|
1087
|
+
});
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* @internal
|
|
1091
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1092
|
+
*/
|
|
1093
|
+
export namespace UpdatePromptResponseFormat3$ {
|
|
1094
|
+
/** @deprecated use `UpdatePromptResponseFormat3$inboundSchema` instead. */
|
|
1095
|
+
export const inboundSchema = UpdatePromptResponseFormat3$inboundSchema;
|
|
1096
|
+
/** @deprecated use `UpdatePromptResponseFormat3$outboundSchema` instead. */
|
|
1097
|
+
export const outboundSchema = UpdatePromptResponseFormat3$outboundSchema;
|
|
1098
|
+
/** @deprecated use `UpdatePromptResponseFormat3$Outbound` instead. */
|
|
1099
|
+
export type Outbound = UpdatePromptResponseFormat3$Outbound;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
export function updatePromptResponseFormat3ToJSON(
|
|
1103
|
+
updatePromptResponseFormat3: UpdatePromptResponseFormat3,
|
|
1104
|
+
): string {
|
|
1105
|
+
return JSON.stringify(
|
|
1106
|
+
UpdatePromptResponseFormat3$outboundSchema.parse(
|
|
1107
|
+
updatePromptResponseFormat3,
|
|
1108
|
+
),
|
|
1109
|
+
);
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
export function updatePromptResponseFormat3FromJSON(
|
|
1113
|
+
jsonString: string,
|
|
1114
|
+
): SafeParseResult<UpdatePromptResponseFormat3, SDKValidationError> {
|
|
1115
|
+
return safeParse(
|
|
1116
|
+
jsonString,
|
|
1117
|
+
(x) => UpdatePromptResponseFormat3$inboundSchema.parse(JSON.parse(x)),
|
|
1118
|
+
`Failed to parse 'UpdatePromptResponseFormat3' from JSON`,
|
|
1119
|
+
);
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1016
1122
|
/** @internal */
|
|
1017
1123
|
export const UpdatePromptResponseFormatPromptsType$inboundSchema:
|
|
1018
1124
|
z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType> = z.nativeEnum(
|
|
@@ -1249,12 +1355,14 @@ export const UpdatePromptResponseFormat$inboundSchema: z.ZodType<
|
|
|
1249
1355
|
> = z.union([
|
|
1250
1356
|
z.lazy(() => UpdatePromptResponseFormat1$inboundSchema),
|
|
1251
1357
|
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1358
|
+
z.lazy(() => UpdatePromptResponseFormat3$inboundSchema),
|
|
1252
1359
|
]);
|
|
1253
1360
|
|
|
1254
1361
|
/** @internal */
|
|
1255
1362
|
export type UpdatePromptResponseFormat$Outbound =
|
|
1256
1363
|
| UpdatePromptResponseFormat1$Outbound
|
|
1257
|
-
| UpdatePromptResponseFormat2$Outbound
|
|
1364
|
+
| UpdatePromptResponseFormat2$Outbound
|
|
1365
|
+
| UpdatePromptResponseFormat3$Outbound;
|
|
1258
1366
|
|
|
1259
1367
|
/** @internal */
|
|
1260
1368
|
export const UpdatePromptResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -1264,6 +1372,7 @@ export const UpdatePromptResponseFormat$outboundSchema: z.ZodType<
|
|
|
1264
1372
|
> = z.union([
|
|
1265
1373
|
z.lazy(() => UpdatePromptResponseFormat1$outboundSchema),
|
|
1266
1374
|
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1375
|
+
z.lazy(() => UpdatePromptResponseFormat3$outboundSchema),
|
|
1267
1376
|
]);
|
|
1268
1377
|
|
|
1269
1378
|
/**
|
|
@@ -1403,6 +1512,7 @@ export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
1403
1512
|
z.union([
|
|
1404
1513
|
z.lazy(() => UpdatePromptResponseFormat1$inboundSchema),
|
|
1405
1514
|
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1515
|
+
z.lazy(() => UpdatePromptResponseFormat3$inboundSchema),
|
|
1406
1516
|
]),
|
|
1407
1517
|
).optional(),
|
|
1408
1518
|
photoRealVersion: UpdatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1433,6 +1543,7 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1433
1543
|
responseFormat?:
|
|
1434
1544
|
| UpdatePromptResponseFormat1$Outbound
|
|
1435
1545
|
| UpdatePromptResponseFormat2$Outbound
|
|
1546
|
+
| UpdatePromptResponseFormat3$Outbound
|
|
1436
1547
|
| null
|
|
1437
1548
|
| undefined;
|
|
1438
1549
|
photoRealVersion?: string | undefined;
|
|
@@ -1464,6 +1575,7 @@ export const UpdatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1464
1575
|
z.union([
|
|
1465
1576
|
z.lazy(() => UpdatePromptResponseFormat1$outboundSchema),
|
|
1466
1577
|
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1578
|
+
z.lazy(() => UpdatePromptResponseFormat3$outboundSchema),
|
|
1467
1579
|
]),
|
|
1468
1580
|
).optional(),
|
|
1469
1581
|
photoRealVersion: UpdatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
@@ -2691,6 +2803,94 @@ export namespace UpdatePromptPromptsFormat$ {
|
|
|
2691
2803
|
export const outboundSchema = UpdatePromptPromptsFormat$outboundSchema;
|
|
2692
2804
|
}
|
|
2693
2805
|
|
|
2806
|
+
/** @internal */
|
|
2807
|
+
export const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema:
|
|
2808
|
+
z.ZodNativeEnum<
|
|
2809
|
+
typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType
|
|
2810
|
+
> = z.nativeEnum(
|
|
2811
|
+
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType,
|
|
2812
|
+
);
|
|
2813
|
+
|
|
2814
|
+
/** @internal */
|
|
2815
|
+
export const UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema:
|
|
2816
|
+
z.ZodNativeEnum<
|
|
2817
|
+
typeof UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType
|
|
2818
|
+
> =
|
|
2819
|
+
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema;
|
|
2820
|
+
|
|
2821
|
+
/**
|
|
2822
|
+
* @internal
|
|
2823
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2824
|
+
*/
|
|
2825
|
+
export namespace UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$ {
|
|
2826
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
2827
|
+
export const inboundSchema =
|
|
2828
|
+
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema;
|
|
2829
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
2830
|
+
export const outboundSchema =
|
|
2831
|
+
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema;
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
/** @internal */
|
|
2835
|
+
export const UpdatePromptResponseFormatPrompts3$inboundSchema: z.ZodType<
|
|
2836
|
+
UpdatePromptResponseFormatPrompts3,
|
|
2837
|
+
z.ZodTypeDef,
|
|
2838
|
+
unknown
|
|
2839
|
+
> = z.object({
|
|
2840
|
+
type:
|
|
2841
|
+
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema,
|
|
2842
|
+
});
|
|
2843
|
+
|
|
2844
|
+
/** @internal */
|
|
2845
|
+
export type UpdatePromptResponseFormatPrompts3$Outbound = {
|
|
2846
|
+
type: string;
|
|
2847
|
+
};
|
|
2848
|
+
|
|
2849
|
+
/** @internal */
|
|
2850
|
+
export const UpdatePromptResponseFormatPrompts3$outboundSchema: z.ZodType<
|
|
2851
|
+
UpdatePromptResponseFormatPrompts3$Outbound,
|
|
2852
|
+
z.ZodTypeDef,
|
|
2853
|
+
UpdatePromptResponseFormatPrompts3
|
|
2854
|
+
> = z.object({
|
|
2855
|
+
type:
|
|
2856
|
+
UpdatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema,
|
|
2857
|
+
});
|
|
2858
|
+
|
|
2859
|
+
/**
|
|
2860
|
+
* @internal
|
|
2861
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2862
|
+
*/
|
|
2863
|
+
export namespace UpdatePromptResponseFormatPrompts3$ {
|
|
2864
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts3$inboundSchema` instead. */
|
|
2865
|
+
export const inboundSchema = UpdatePromptResponseFormatPrompts3$inboundSchema;
|
|
2866
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts3$outboundSchema` instead. */
|
|
2867
|
+
export const outboundSchema =
|
|
2868
|
+
UpdatePromptResponseFormatPrompts3$outboundSchema;
|
|
2869
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts3$Outbound` instead. */
|
|
2870
|
+
export type Outbound = UpdatePromptResponseFormatPrompts3$Outbound;
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
export function updatePromptResponseFormatPrompts3ToJSON(
|
|
2874
|
+
updatePromptResponseFormatPrompts3: UpdatePromptResponseFormatPrompts3,
|
|
2875
|
+
): string {
|
|
2876
|
+
return JSON.stringify(
|
|
2877
|
+
UpdatePromptResponseFormatPrompts3$outboundSchema.parse(
|
|
2878
|
+
updatePromptResponseFormatPrompts3,
|
|
2879
|
+
),
|
|
2880
|
+
);
|
|
2881
|
+
}
|
|
2882
|
+
|
|
2883
|
+
export function updatePromptResponseFormatPrompts3FromJSON(
|
|
2884
|
+
jsonString: string,
|
|
2885
|
+
): SafeParseResult<UpdatePromptResponseFormatPrompts3, SDKValidationError> {
|
|
2886
|
+
return safeParse(
|
|
2887
|
+
jsonString,
|
|
2888
|
+
(x) =>
|
|
2889
|
+
UpdatePromptResponseFormatPrompts3$inboundSchema.parse(JSON.parse(x)),
|
|
2890
|
+
`Failed to parse 'UpdatePromptResponseFormatPrompts3' from JSON`,
|
|
2891
|
+
);
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2694
2894
|
/** @internal */
|
|
2695
2895
|
export const UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema:
|
|
2696
2896
|
z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type> = z
|
|
@@ -2937,12 +3137,14 @@ export const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<
|
|
|
2937
3137
|
> = z.union([
|
|
2938
3138
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$inboundSchema),
|
|
2939
3139
|
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
3140
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts3$inboundSchema),
|
|
2940
3141
|
]);
|
|
2941
3142
|
|
|
2942
3143
|
/** @internal */
|
|
2943
3144
|
export type UpdatePromptPromptsResponseFormat$Outbound =
|
|
2944
3145
|
| UpdatePromptResponseFormatPrompts1$Outbound
|
|
2945
|
-
| UpdatePromptResponseFormatPrompts2$Outbound
|
|
3146
|
+
| UpdatePromptResponseFormatPrompts2$Outbound
|
|
3147
|
+
| UpdatePromptResponseFormatPrompts3$Outbound;
|
|
2946
3148
|
|
|
2947
3149
|
/** @internal */
|
|
2948
3150
|
export const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -2952,6 +3154,7 @@ export const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<
|
|
|
2952
3154
|
> = z.union([
|
|
2953
3155
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$outboundSchema),
|
|
2954
3156
|
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
3157
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts3$outboundSchema),
|
|
2955
3158
|
]);
|
|
2956
3159
|
|
|
2957
3160
|
/**
|
|
@@ -3098,6 +3301,7 @@ export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
3098
3301
|
z.union([
|
|
3099
3302
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$inboundSchema),
|
|
3100
3303
|
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
3304
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts3$inboundSchema),
|
|
3101
3305
|
]),
|
|
3102
3306
|
).optional(),
|
|
3103
3307
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$inboundSchema
|
|
@@ -3129,6 +3333,7 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
3129
3333
|
responseFormat?:
|
|
3130
3334
|
| UpdatePromptResponseFormatPrompts1$Outbound
|
|
3131
3335
|
| UpdatePromptResponseFormatPrompts2$Outbound
|
|
3336
|
+
| UpdatePromptResponseFormatPrompts3$Outbound
|
|
3132
3337
|
| null
|
|
3133
3338
|
| undefined;
|
|
3134
3339
|
photoRealVersion?: string | undefined;
|
|
@@ -3160,6 +3365,7 @@ export const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
3160
3365
|
z.union([
|
|
3161
3366
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$outboundSchema),
|
|
3162
3367
|
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
3368
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts3$outboundSchema),
|
|
3163
3369
|
]),
|
|
3164
3370
|
).optional(),
|
|
3165
3371
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$outboundSchema
|