@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
|
|
@@ -16,7 +16,7 @@ export class Contacts extends ClientSDK {
|
|
|
16
16
|
* Create a contact
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Creates a new contact
|
|
19
|
+
* Creates a new contact with a unique external_id. If a contact with the same external_id already exists, the operation will fail. Use this endpoint to add users from your system to orq.ai for tracking their usage and engagement.
|
|
20
20
|
*/
|
|
21
21
|
async create(
|
|
22
22
|
request?: operations.CreateContactRequestBody | undefined,
|
|
@@ -129,7 +129,7 @@ export class Datasets extends ClientSDK {
|
|
|
129
129
|
async createDatapoint(
|
|
130
130
|
request: operations.CreateDatasetItemRequest,
|
|
131
131
|
options?: RequestOptions,
|
|
132
|
-
): Promise<operations.
|
|
132
|
+
): Promise<Array<operations.ResponseBody>> {
|
|
133
133
|
return unwrapAsync(datasetsCreateDatapoint(
|
|
134
134
|
this,
|
|
135
135
|
request,
|
|
@@ -198,7 +198,7 @@ export class Knowledge extends ClientSDK {
|
|
|
198
198
|
async createChunks(
|
|
199
199
|
request: operations.CreateChunkRequest,
|
|
200
200
|
options?: RequestOptions,
|
|
201
|
-
): Promise<Array<operations.
|
|
201
|
+
): Promise<Array<operations.CreateChunkResponseBody>> {
|
|
202
202
|
return unwrapAsync(knowledgeCreateChunks(
|
|
203
203
|
this,
|
|
204
204
|
request,
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "3.10.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 3.10.
|
|
71
|
+
sdkVersion: "3.10.19",
|
|
72
|
+
genVersion: "2.681.1",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 3.10.19 2.681.1 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -182,7 +182,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2025-08-
|
|
185
|
+
"2025-08-13T12:53:43.771Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -223,7 +223,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
223
223
|
tags: z.array(z.string()).optional(),
|
|
224
224
|
metadata: z.record(z.any()).optional(),
|
|
225
225
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
226
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
226
|
+
updated: z.date().default(() => new Date("2025-08-13T12:53:43.771Z"))
|
|
227
227
|
.transform(v => v.toISOString()),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-08-
|
|
214
|
+
"2025-08-13T12:53:43.771Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-08-13T12:53:43.771Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -5100,7 +5100,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
5100
5100
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5101
5101
|
.optional(),
|
|
5102
5102
|
updated: z.string().datetime({ offset: true }).default(
|
|
5103
|
-
"2025-08-
|
|
5103
|
+
"2025-08-13T12:53:43.771Z",
|
|
5104
5104
|
).transform(v => new Date(v)),
|
|
5105
5105
|
}).transform((v) => {
|
|
5106
5106
|
return remap$(v, {
|
|
@@ -5164,7 +5164,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
5164
5164
|
createdById: z.string().optional(),
|
|
5165
5165
|
updatedById: z.string().optional(),
|
|
5166
5166
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5167
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
5167
|
+
updated: z.date().default(() => new Date("2025-08-13T12:53:43.771Z"))
|
|
5168
5168
|
.transform(v => v.toISOString()),
|
|
5169
5169
|
}).transform((v) => {
|
|
5170
5170
|
return remap$(v, {
|
|
@@ -751,7 +751,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
751
751
|
z.ZodTypeDef,
|
|
752
752
|
unknown
|
|
753
753
|
> = z.object({
|
|
754
|
-
_id: z.string().default("
|
|
754
|
+
_id: z.string().default("01K2HQWZ169M1E37F0773SAY1F"),
|
|
755
755
|
display_name: z.string(),
|
|
756
756
|
description: z.string().optional(),
|
|
757
757
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -795,7 +795,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
795
795
|
z.ZodTypeDef,
|
|
796
796
|
CreateDatasourceResponseBody
|
|
797
797
|
> = z.object({
|
|
798
|
-
id: z.string().default("
|
|
798
|
+
id: z.string().default("01K2HQWZ169M1E37F0773SAY1F"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -2399,8 +2399,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2399
2399
|
> = z.object({
|
|
2400
2400
|
_id: z.string(),
|
|
2401
2401
|
description: z.string(),
|
|
2402
|
-
created: z.string().default("2025-08-
|
|
2403
|
-
updated: z.string().default("2025-08-
|
|
2402
|
+
created: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
2403
|
+
updated: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
2404
2404
|
guardrail_config: z.union([
|
|
2405
2405
|
z.lazy(() =>
|
|
2406
2406
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -2442,8 +2442,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
2442
2442
|
> = z.object({
|
|
2443
2443
|
id: z.string(),
|
|
2444
2444
|
description: z.string(),
|
|
2445
|
-
created: z.string().default("2025-08-
|
|
2446
|
-
updated: z.string().default("2025-08-
|
|
2445
|
+
created: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
2446
|
+
updated: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
2447
2447
|
guardrailConfig: z.union([
|
|
2448
2448
|
z.lazy(() =>
|
|
2449
2449
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -2856,8 +2856,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2856
2856
|
> = z.object({
|
|
2857
2857
|
_id: z.string(),
|
|
2858
2858
|
description: z.string(),
|
|
2859
|
-
created: z.string().default("2025-08-
|
|
2860
|
-
updated: z.string().default("2025-08-
|
|
2859
|
+
created: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
2860
|
+
updated: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
2861
2861
|
guardrail_config: z.union([
|
|
2862
2862
|
z.lazy(() =>
|
|
2863
2863
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -2905,8 +2905,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
2905
2905
|
> = z.object({
|
|
2906
2906
|
id: z.string(),
|
|
2907
2907
|
description: z.string(),
|
|
2908
|
-
created: z.string().default("2025-08-
|
|
2909
|
-
updated: z.string().default("2025-08-
|
|
2908
|
+
created: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
2909
|
+
updated: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
2910
2910
|
guardrailConfig: z.union([
|
|
2911
2911
|
z.lazy(() =>
|
|
2912
2912
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -3283,8 +3283,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3283
3283
|
> = z.object({
|
|
3284
3284
|
_id: z.string(),
|
|
3285
3285
|
description: z.string(),
|
|
3286
|
-
created: z.string().default("2025-08-
|
|
3287
|
-
updated: z.string().default("2025-08-
|
|
3286
|
+
created: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
3287
|
+
updated: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
3288
3288
|
guardrail_config: z.union([
|
|
3289
3289
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
3290
3290
|
z.lazy(() =>
|
|
@@ -3324,8 +3324,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
3324
3324
|
> = z.object({
|
|
3325
3325
|
id: z.string(),
|
|
3326
3326
|
description: z.string(),
|
|
3327
|
-
created: z.string().default("2025-08-
|
|
3328
|
-
updated: z.string().default("2025-08-
|
|
3327
|
+
created: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
3328
|
+
updated: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
3329
3329
|
guardrailConfig: z.union([
|
|
3330
3330
|
z.lazy(() =>
|
|
3331
3331
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -3680,8 +3680,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
3680
3680
|
> = z.object({
|
|
3681
3681
|
_id: z.string(),
|
|
3682
3682
|
description: z.string(),
|
|
3683
|
-
created: z.string().default("2025-08-
|
|
3684
|
-
updated: z.string().default("2025-08-
|
|
3683
|
+
created: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
3684
|
+
updated: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
3685
3685
|
guardrail_config: z.union([
|
|
3686
3686
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
3687
3687
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -3721,8 +3721,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
3721
3721
|
> = z.object({
|
|
3722
3722
|
id: z.string(),
|
|
3723
3723
|
description: z.string(),
|
|
3724
|
-
created: z.string().default("2025-08-
|
|
3725
|
-
updated: z.string().default("2025-08-
|
|
3724
|
+
created: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
3725
|
+
updated: z.string().default("2025-08-13T12:53:46.195Z"),
|
|
3726
3726
|
guardrailConfig: z.union([
|
|
3727
3727
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
3728
3728
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|