@orq-ai/node 4.2.0-rc.3 → 4.2.0-rc.5
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 +219 -219
- package/bin/mcp-server.js.map +39 -39
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/conversationresponse.js +2 -2
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/generateconversationname.js +2 -2
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getevals.js +28 -28
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/conversationresponse.ts +2 -2
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +12 -12
- 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/generateconversationname.ts +2 -2
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -893,8 +893,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
893
893
|
> = z.object({
|
|
894
894
|
_id: z.string(),
|
|
895
895
|
description: z.string(),
|
|
896
|
-
created: z.string().default("
|
|
897
|
-
updated: z.string().default("
|
|
896
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
897
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
898
898
|
guardrail_config: z.union([
|
|
899
899
|
z.lazy(() =>
|
|
900
900
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -935,8 +935,8 @@ export const DataTypescript$outboundSchema: z.ZodType<
|
|
|
935
935
|
> = z.object({
|
|
936
936
|
id: z.string(),
|
|
937
937
|
description: z.string(),
|
|
938
|
-
created: z.string().default("
|
|
939
|
-
updated: z.string().default("
|
|
938
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
939
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
940
940
|
guardrailConfig: z.union([
|
|
941
941
|
z.lazy(() =>
|
|
942
942
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema
|
|
@@ -1183,8 +1183,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1183
1183
|
> = z.object({
|
|
1184
1184
|
_id: z.string(),
|
|
1185
1185
|
description: z.string(),
|
|
1186
|
-
created: z.string().default("
|
|
1187
|
-
updated: z.string().default("
|
|
1186
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1187
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1188
1188
|
guardrail_config: z.union([
|
|
1189
1189
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
1190
1190
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
@@ -1224,8 +1224,8 @@ export const DataRagas$outboundSchema: z.ZodType<
|
|
|
1224
1224
|
> = z.object({
|
|
1225
1225
|
id: z.string(),
|
|
1226
1226
|
description: z.string(),
|
|
1227
|
-
created: z.string().default("
|
|
1228
|
-
updated: z.string().default("
|
|
1227
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1228
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
1229
1229
|
guardrailConfig: z.union([
|
|
1230
1230
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
1231
1231
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
@@ -2871,8 +2871,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
2871
2871
|
> = z.object({
|
|
2872
2872
|
_id: z.string(),
|
|
2873
2873
|
description: z.string(),
|
|
2874
|
-
created: z.string().default("
|
|
2875
|
-
updated: z.string().default("
|
|
2874
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2875
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2876
2876
|
guardrail_config: z.union([
|
|
2877
2877
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
2878
2878
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -2975,8 +2975,8 @@ export const DataFunction$outboundSchema: z.ZodType<
|
|
|
2975
2975
|
> = z.object({
|
|
2976
2976
|
id: z.string(),
|
|
2977
2977
|
description: z.string(),
|
|
2978
|
-
created: z.string().default("
|
|
2979
|
-
updated: z.string().default("
|
|
2978
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2979
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
2980
2980
|
guardrailConfig: z.union([
|
|
2981
2981
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
2982
2982
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
@@ -3220,8 +3220,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
3220
3220
|
> = z.object({
|
|
3221
3221
|
_id: z.string(),
|
|
3222
3222
|
description: z.string(),
|
|
3223
|
-
created: z.string().default("
|
|
3224
|
-
updated: z.string().default("
|
|
3223
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3224
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3225
3225
|
guardrail_config: z.union([
|
|
3226
3226
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
3227
3227
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
@@ -3258,8 +3258,8 @@ export const DataPython$outboundSchema: z.ZodType<
|
|
|
3258
3258
|
> = z.object({
|
|
3259
3259
|
id: z.string(),
|
|
3260
3260
|
description: z.string(),
|
|
3261
|
-
created: z.string().default("
|
|
3262
|
-
updated: z.string().default("
|
|
3261
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3262
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3263
3263
|
guardrailConfig: z.union([
|
|
3264
3264
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
|
|
3265
3265
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
@@ -3473,8 +3473,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
3473
3473
|
> = z.object({
|
|
3474
3474
|
_id: z.string(),
|
|
3475
3475
|
description: z.string(),
|
|
3476
|
-
created: z.string().default("
|
|
3477
|
-
updated: z.string().default("
|
|
3476
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3477
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3478
3478
|
guardrail_config: z.union([
|
|
3479
3479
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
3480
3480
|
z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
@@ -3517,8 +3517,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
|
|
|
3517
3517
|
> = z.object({
|
|
3518
3518
|
id: z.string(),
|
|
3519
3519
|
description: z.string(),
|
|
3520
|
-
created: z.string().default("
|
|
3521
|
-
updated: z.string().default("
|
|
3520
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3521
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3522
3522
|
guardrailConfig: z.union([
|
|
3523
3523
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
|
|
3524
3524
|
z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
@@ -3761,8 +3761,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
3761
3761
|
> = z.object({
|
|
3762
3762
|
_id: z.string(),
|
|
3763
3763
|
description: z.string(),
|
|
3764
|
-
created: z.string().default("
|
|
3765
|
-
updated: z.string().default("
|
|
3764
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3765
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3766
3766
|
guardrail_config: z.union([
|
|
3767
3767
|
z.lazy(() =>
|
|
3768
3768
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema
|
|
@@ -3803,8 +3803,8 @@ export const DataJSON$outboundSchema: z.ZodType<
|
|
|
3803
3803
|
> = z.object({
|
|
3804
3804
|
id: z.string(),
|
|
3805
3805
|
description: z.string(),
|
|
3806
|
-
created: z.string().default("
|
|
3807
|
-
updated: z.string().default("
|
|
3806
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3807
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
3808
3808
|
guardrailConfig: z.union([
|
|
3809
3809
|
z.lazy(() =>
|
|
3810
3810
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$outboundSchema
|
|
@@ -4056,8 +4056,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
|
|
|
4056
4056
|
z.object({
|
|
4057
4057
|
_id: z.string(),
|
|
4058
4058
|
description: z.string(),
|
|
4059
|
-
created: z.string().default("
|
|
4060
|
-
updated: z.string().default("
|
|
4059
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
4060
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
4061
4061
|
guardrail_config: z.union([
|
|
4062
4062
|
z.lazy(() =>
|
|
4063
4063
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -4100,8 +4100,8 @@ export const DataLLM$outboundSchema: z.ZodType<
|
|
|
4100
4100
|
> = z.object({
|
|
4101
4101
|
id: z.string(),
|
|
4102
4102
|
description: z.string(),
|
|
4103
|
-
created: z.string().default("
|
|
4104
|
-
updated: z.string().default("
|
|
4103
|
+
created: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
4104
|
+
updated: z.string().default("2026-01-01T12:11:33.601Z"),
|
|
4105
4105
|
guardrailConfig: z.union([
|
|
4106
4106
|
z.lazy(() =>
|
|
4107
4107
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema
|
|
@@ -305,7 +305,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
|
|
|
305
305
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
306
306
|
.optional(),
|
|
307
307
|
updated: z.string().datetime({ offset: true }).default(
|
|
308
|
-
"
|
|
308
|
+
"2026-01-01T12:11:30.915Z",
|
|
309
309
|
).transform(v => new Date(v)),
|
|
310
310
|
metrics: z.lazy(() => ListContactsMetrics$inboundSchema),
|
|
311
311
|
}).transform((v) => {
|
|
@@ -341,7 +341,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
|
|
|
341
341
|
tags: z.array(z.string()).optional(),
|
|
342
342
|
metadata: z.record(z.any()).optional(),
|
|
343
343
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
344
|
-
updated: z.date().default(() => new Date("
|
|
344
|
+
updated: z.date().default(() => new Date("2026-01-01T12:11:30.915Z"))
|
|
345
345
|
.transform(v => v.toISOString()),
|
|
346
346
|
metrics: z.lazy(() => ListContactsMetrics$outboundSchema),
|
|
347
347
|
}).transform((v) => {
|
|
@@ -1960,7 +1960,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1960
1960
|
source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
1961
1961
|
reviewed_by_id: z.string(),
|
|
1962
1962
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1963
|
-
"
|
|
1963
|
+
"2026-01-01T12:11:44.008Z",
|
|
1964
1964
|
).transform(v => new Date(v)),
|
|
1965
1965
|
type: z.literal("string_array"),
|
|
1966
1966
|
values: z.array(z.string()),
|
|
@@ -1995,7 +1995,7 @@ export const ListDatasetDatapointsEvaluations3$outboundSchema: z.ZodType<
|
|
|
1995
1995
|
humanReviewId: z.string(),
|
|
1996
1996
|
source: ListDatasetDatapointsEvaluationsSource$outboundSchema.default("orq"),
|
|
1997
1997
|
reviewedById: z.string(),
|
|
1998
|
-
reviewedAt: z.date().default(() => new Date("
|
|
1998
|
+
reviewedAt: z.date().default(() => new Date("2026-01-01T12:11:44.008Z"))
|
|
1999
1999
|
.transform(v => v.toISOString()),
|
|
2000
2000
|
type: z.literal("string_array"),
|
|
2001
2001
|
values: z.array(z.string()),
|
|
@@ -2066,7 +2066,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
2066
2066
|
.default("orq"),
|
|
2067
2067
|
reviewed_by_id: z.string(),
|
|
2068
2068
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2069
|
-
"
|
|
2069
|
+
"2026-01-01T12:11:44.007Z",
|
|
2070
2070
|
).transform(v => new Date(v)),
|
|
2071
2071
|
type: z.literal("number"),
|
|
2072
2072
|
value: z.number(),
|
|
@@ -2103,7 +2103,7 @@ export const ListDatasetDatapointsEvaluations2$outboundSchema: z.ZodType<
|
|
|
2103
2103
|
source: ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema
|
|
2104
2104
|
.default("orq"),
|
|
2105
2105
|
reviewedById: z.string(),
|
|
2106
|
-
reviewedAt: z.date().default(() => new Date("
|
|
2106
|
+
reviewedAt: z.date().default(() => new Date("2026-01-01T12:11:44.007Z"))
|
|
2107
2107
|
.transform(v => v.toISOString()),
|
|
2108
2108
|
type: z.literal("number"),
|
|
2109
2109
|
value: z.number(),
|
|
@@ -2170,7 +2170,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
2170
2170
|
),
|
|
2171
2171
|
reviewed_by_id: z.string(),
|
|
2172
2172
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2173
|
-
"
|
|
2173
|
+
"2026-01-01T12:11:44.006Z",
|
|
2174
2174
|
).transform(v => new Date(v)),
|
|
2175
2175
|
type: z.literal("string"),
|
|
2176
2176
|
value: z.string(),
|
|
@@ -2208,7 +2208,7 @@ export const ListDatasetDatapointsEvaluations1$outboundSchema: z.ZodType<
|
|
|
2208
2208
|
"orq",
|
|
2209
2209
|
),
|
|
2210
2210
|
reviewedById: z.string(),
|
|
2211
|
-
reviewedAt: z.date().default(() => new Date("
|
|
2211
|
+
reviewedAt: z.date().default(() => new Date("2026-01-01T12:11:44.006Z"))
|
|
2212
2212
|
.transform(v => v.toISOString()),
|
|
2213
2213
|
type: z.literal("string"),
|
|
2214
2214
|
value: z.string(),
|
|
@@ -2321,7 +2321,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2321
2321
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2322
2322
|
.optional(),
|
|
2323
2323
|
updated: z.string().datetime({ offset: true }).default(
|
|
2324
|
-
"
|
|
2324
|
+
"2026-01-01T12:11:30.915Z",
|
|
2325
2325
|
).transform(v => new Date(v)),
|
|
2326
2326
|
}).transform((v) => {
|
|
2327
2327
|
return remap$(v, {
|
|
@@ -2399,7 +2399,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
2399
2399
|
createdById: z.string().optional(),
|
|
2400
2400
|
updatedById: z.string().optional(),
|
|
2401
2401
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2402
|
-
updated: z.date().default(() => new Date("
|
|
2402
|
+
updated: z.date().default(() => new Date("2026-01-01T12:11:30.915Z"))
|
|
2403
2403
|
.transform(v => v.toISOString()),
|
|
2404
2404
|
}).transform((v) => {
|
|
2405
2405
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const ListDatasetsData$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
|
-
"
|
|
214
|
+
"2026-01-01T12:11:30.915Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
250
250
|
createdById: z.string().optional(),
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
253
|
-
updated: z.date().default(() => new Date("
|
|
253
|
+
updated: z.date().default(() => new Date("2026-01-01T12:11:30.915Z"))
|
|
254
254
|
.transform(v => v.toISOString()),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -224,7 +224,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
224
224
|
z.ZodTypeDef,
|
|
225
225
|
unknown
|
|
226
226
|
> = z.object({
|
|
227
|
-
_id: z.string().default("
|
|
227
|
+
_id: z.string().default("01KDWQH4XB4NA9GF1KV09E5J88"),
|
|
228
228
|
display_name: z.string(),
|
|
229
229
|
description: z.string().optional(),
|
|
230
230
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -267,7 +267,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
267
267
|
z.ZodTypeDef,
|
|
268
268
|
ListDatasourcesData
|
|
269
269
|
> = z.object({
|
|
270
|
-
id: z.string().default("
|
|
270
|
+
id: z.string().default("01KDWQH4XB4NA9GF1KV09E5J88"),
|
|
271
271
|
displayName: z.string(),
|
|
272
272
|
description: z.string().optional(),
|
|
273
273
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -112,7 +112,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
112
112
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
113
113
|
.optional(),
|
|
114
114
|
updated: z.string().datetime({ offset: true }).default(
|
|
115
|
-
"
|
|
115
|
+
"2026-01-01T12:11:30.915Z",
|
|
116
116
|
).transform(v => new Date(v)),
|
|
117
117
|
}).transform((v) => {
|
|
118
118
|
return remap$(v, {
|
|
@@ -149,7 +149,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
149
149
|
tags: z.array(z.string()).optional(),
|
|
150
150
|
metadata: z.record(z.any()).optional(),
|
|
151
151
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
152
|
-
updated: z.date().default(() => new Date("
|
|
152
|
+
updated: z.date().default(() => new Date("2026-01-01T12:11:30.915Z"))
|
|
153
153
|
.transform(v => v.toISOString()),
|
|
154
154
|
}).transform((v) => {
|
|
155
155
|
return remap$(v, {
|
|
@@ -193,7 +193,7 @@ export const RetrieveConversationResponseBody$inboundSchema: z.ZodType<
|
|
|
193
193
|
z.ZodTypeDef,
|
|
194
194
|
unknown
|
|
195
195
|
> = z.object({
|
|
196
|
-
_id: z.string().default("
|
|
196
|
+
_id: z.string().default("conv_01kdwqh4ezn99bj6wzwz9sq0t3"),
|
|
197
197
|
entityId: z.string(),
|
|
198
198
|
kind: RetrieveConversationKind$inboundSchema,
|
|
199
199
|
displayName: z.string(),
|
|
@@ -226,7 +226,7 @@ export const RetrieveConversationResponseBody$outboundSchema: z.ZodType<
|
|
|
226
226
|
z.ZodTypeDef,
|
|
227
227
|
RetrieveConversationResponseBody
|
|
228
228
|
> = z.object({
|
|
229
|
-
id: z.string().default("
|
|
229
|
+
id: z.string().default("conv_01kdwqh4ezn99bj6wzwz9sq0t3"),
|
|
230
230
|
entityId: z.string(),
|
|
231
231
|
kind: RetrieveConversationKind$outboundSchema,
|
|
232
232
|
displayName: z.string(),
|
|
@@ -1878,7 +1878,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1878
1878
|
.default("orq"),
|
|
1879
1879
|
reviewed_by_id: z.string(),
|
|
1880
1880
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1881
|
-
"
|
|
1881
|
+
"2026-01-01T12:11:44.021Z",
|
|
1882
1882
|
).transform(v => new Date(v)),
|
|
1883
1883
|
type: z.literal("string_array"),
|
|
1884
1884
|
values: z.array(z.string()),
|
|
@@ -1915,7 +1915,7 @@ export const RetrieveDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
1915
1915
|
source: RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
1916
1916
|
.default("orq"),
|
|
1917
1917
|
reviewedById: z.string(),
|
|
1918
|
-
reviewedAt: z.date().default(() => new Date("
|
|
1918
|
+
reviewedAt: z.date().default(() => new Date("2026-01-01T12:11:44.021Z"))
|
|
1919
1919
|
.transform(v => v.toISOString()),
|
|
1920
1920
|
type: z.literal("string_array"),
|
|
1921
1921
|
values: z.array(z.string()),
|
|
@@ -1980,7 +1980,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1980
1980
|
),
|
|
1981
1981
|
reviewed_by_id: z.string(),
|
|
1982
1982
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1983
|
-
"
|
|
1983
|
+
"2026-01-01T12:11:44.021Z",
|
|
1984
1984
|
).transform(v => new Date(v)),
|
|
1985
1985
|
type: z.literal("number"),
|
|
1986
1986
|
value: z.number(),
|
|
@@ -2018,7 +2018,7 @@ export const RetrieveDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
2018
2018
|
"orq",
|
|
2019
2019
|
),
|
|
2020
2020
|
reviewedById: z.string(),
|
|
2021
|
-
reviewedAt: z.date().default(() => new Date("
|
|
2021
|
+
reviewedAt: z.date().default(() => new Date("2026-01-01T12:11:44.021Z"))
|
|
2022
2022
|
.transform(v => v.toISOString()),
|
|
2023
2023
|
type: z.literal("number"),
|
|
2024
2024
|
value: z.number(),
|
|
@@ -2080,7 +2080,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2080
2080
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2081
2081
|
reviewed_by_id: z.string(),
|
|
2082
2082
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2083
|
-
"
|
|
2083
|
+
"2026-01-01T12:11:44.020Z",
|
|
2084
2084
|
).transform(v => new Date(v)),
|
|
2085
2085
|
type: z.literal("string"),
|
|
2086
2086
|
value: z.string(),
|
|
@@ -2115,7 +2115,7 @@ export const RetrieveDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
2115
2115
|
humanReviewId: z.string(),
|
|
2116
2116
|
source: RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
2117
2117
|
reviewedById: z.string(),
|
|
2118
|
-
reviewedAt: z.date().default(() => new Date("
|
|
2118
|
+
reviewedAt: z.date().default(() => new Date("2026-01-01T12:11:44.020Z"))
|
|
2119
2119
|
.transform(v => v.toISOString()),
|
|
2120
2120
|
type: z.literal("string"),
|
|
2121
2121
|
value: z.string(),
|
|
@@ -2226,7 +2226,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2226
2226
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2227
2227
|
.optional(),
|
|
2228
2228
|
updated: z.string().datetime({ offset: true }).default(
|
|
2229
|
-
"
|
|
2229
|
+
"2026-01-01T12:11:30.915Z",
|
|
2230
2230
|
).transform(v => new Date(v)),
|
|
2231
2231
|
}).transform((v) => {
|
|
2232
2232
|
return remap$(v, {
|
|
@@ -2300,7 +2300,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
2300
2300
|
createdById: z.string().optional(),
|
|
2301
2301
|
updatedById: z.string().optional(),
|
|
2302
2302
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2303
|
-
updated: z.date().default(() => new Date("
|
|
2303
|
+
updated: z.date().default(() => new Date("2026-01-01T12:11:30.915Z"))
|
|
2304
2304
|
.transform(v => v.toISOString()),
|
|
2305
2305
|
}).transform((v) => {
|
|
2306
2306
|
return remap$(v, {
|
|
@@ -174,7 +174,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
174
174
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
175
175
|
.optional(),
|
|
176
176
|
updated: z.string().datetime({ offset: true }).default(
|
|
177
|
-
"
|
|
177
|
+
"2026-01-01T12:11:30.915Z",
|
|
178
178
|
).transform(v => new Date(v)),
|
|
179
179
|
}).transform((v) => {
|
|
180
180
|
return remap$(v, {
|
|
@@ -213,7 +213,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
213
213
|
createdById: z.string().optional(),
|
|
214
214
|
updatedById: z.string().optional(),
|
|
215
215
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
216
|
-
updated: z.date().default(() => new Date("
|
|
216
|
+
updated: z.date().default(() => new Date("2026-01-01T12:11:30.915Z"))
|
|
217
217
|
.transform(v => v.toISOString()),
|
|
218
218
|
}).transform((v) => {
|
|
219
219
|
return remap$(v, {
|
|
@@ -145,7 +145,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
145
145
|
z.ZodTypeDef,
|
|
146
146
|
unknown
|
|
147
147
|
> = z.object({
|
|
148
|
-
_id: z.string().default("
|
|
148
|
+
_id: z.string().default("01KDWQH4XE6W8C2QBYXFB43FFV"),
|
|
149
149
|
display_name: z.string(),
|
|
150
150
|
description: z.string().optional(),
|
|
151
151
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -188,7 +188,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
188
188
|
z.ZodTypeDef,
|
|
189
189
|
RetrieveDatasourceResponseBody
|
|
190
190
|
> = z.object({
|
|
191
|
-
id: z.string().default("
|
|
191
|
+
id: z.string().default("01KDWQH4XE6W8C2QBYXFB43FFV"),
|
|
192
192
|
displayName: z.string(),
|
|
193
193
|
description: z.string().optional(),
|
|
194
194
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -858,7 +858,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
858
858
|
z.ZodTypeDef,
|
|
859
859
|
unknown
|
|
860
860
|
> = z.object({
|
|
861
|
-
_id: z.string().default("
|
|
861
|
+
_id: z.string().default("tool_01KDWQH4SBX7J92V62E03MJQFK"),
|
|
862
862
|
path: z.string(),
|
|
863
863
|
key: z.string(),
|
|
864
864
|
display_name: z.string().optional(),
|
|
@@ -913,7 +913,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$outboundSchema:
|
|
|
913
913
|
z.ZodTypeDef,
|
|
914
914
|
RetrieveToolResponseBodyCodeExecutionTool
|
|
915
915
|
> = z.object({
|
|
916
|
-
id: z.string().default("
|
|
916
|
+
id: z.string().default("tool_01KDWQH4SBX7J92V62E03MJQFK"),
|
|
917
917
|
path: z.string(),
|
|
918
918
|
key: z.string(),
|
|
919
919
|
displayName: z.string().optional(),
|
|
@@ -1092,7 +1092,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1092
1092
|
z.ZodTypeDef,
|
|
1093
1093
|
unknown
|
|
1094
1094
|
> = z.object({
|
|
1095
|
-
id: z.string().default("
|
|
1095
|
+
id: z.string().default("01KDWQH4SATDKX2R40SX0MVW38"),
|
|
1096
1096
|
name: z.string(),
|
|
1097
1097
|
description: z.string().optional(),
|
|
1098
1098
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -1111,7 +1111,7 @@ export const RetrieveToolResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
1111
1111
|
z.ZodTypeDef,
|
|
1112
1112
|
RetrieveToolResponseBodyTools
|
|
1113
1113
|
> = z.object({
|
|
1114
|
-
id: z.string().default("
|
|
1114
|
+
id: z.string().default("01KDWQH4SATDKX2R40SX0MVW38"),
|
|
1115
1115
|
name: z.string(),
|
|
1116
1116
|
description: z.string().optional(),
|
|
1117
1117
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -1217,7 +1217,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
1217
1217
|
z.ZodTypeDef,
|
|
1218
1218
|
unknown
|
|
1219
1219
|
> = z.object({
|
|
1220
|
-
_id: z.string().default("
|
|
1220
|
+
_id: z.string().default("tool_01KDWQH4S9KDTH087AXPE1EYRD"),
|
|
1221
1221
|
path: z.string(),
|
|
1222
1222
|
key: z.string(),
|
|
1223
1223
|
display_name: z.string().optional(),
|
|
@@ -1270,7 +1270,7 @@ export const RetrieveToolResponseBodyMCPTool$outboundSchema: z.ZodType<
|
|
|
1270
1270
|
z.ZodTypeDef,
|
|
1271
1271
|
RetrieveToolResponseBodyMCPTool
|
|
1272
1272
|
> = z.object({
|
|
1273
|
-
id: z.string().default("
|
|
1273
|
+
id: z.string().default("tool_01KDWQH4S9KDTH087AXPE1EYRD"),
|
|
1274
1274
|
path: z.string(),
|
|
1275
1275
|
key: z.string(),
|
|
1276
1276
|
displayName: z.string().optional(),
|
|
@@ -1641,7 +1641,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1641
1641
|
z.ZodTypeDef,
|
|
1642
1642
|
unknown
|
|
1643
1643
|
> = z.object({
|
|
1644
|
-
_id: z.string().default("
|
|
1644
|
+
_id: z.string().default("tool_01KDWQH4S8Y55Q47DZSX27BD6H"),
|
|
1645
1645
|
path: z.string(),
|
|
1646
1646
|
key: z.string(),
|
|
1647
1647
|
display_name: z.string().optional(),
|
|
@@ -1694,7 +1694,7 @@ export const RetrieveToolResponseBodyHTTPTool$outboundSchema: z.ZodType<
|
|
|
1694
1694
|
z.ZodTypeDef,
|
|
1695
1695
|
RetrieveToolResponseBodyHTTPTool
|
|
1696
1696
|
> = z.object({
|
|
1697
|
-
id: z.string().default("
|
|
1697
|
+
id: z.string().default("tool_01KDWQH4S8Y55Q47DZSX27BD6H"),
|
|
1698
1698
|
path: z.string(),
|
|
1699
1699
|
key: z.string(),
|
|
1700
1700
|
displayName: z.string().optional(),
|
|
@@ -1868,7 +1868,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1868
1868
|
z.ZodTypeDef,
|
|
1869
1869
|
unknown
|
|
1870
1870
|
> = z.object({
|
|
1871
|
-
_id: z.string().default("
|
|
1871
|
+
_id: z.string().default("tool_01KDWQH4S6GYKFKA8A5A4DBEJG"),
|
|
1872
1872
|
path: z.string(),
|
|
1873
1873
|
key: z.string(),
|
|
1874
1874
|
display_name: z.string().optional(),
|
|
@@ -1920,7 +1920,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
1920
1920
|
z.ZodTypeDef,
|
|
1921
1921
|
RetrieveToolResponseBodyJSONSchemaTool
|
|
1922
1922
|
> = z.object({
|
|
1923
|
-
id: z.string().default("
|
|
1923
|
+
id: z.string().default("tool_01KDWQH4S6GYKFKA8A5A4DBEJG"),
|
|
1924
1924
|
path: z.string(),
|
|
1925
1925
|
key: z.string(),
|
|
1926
1926
|
displayName: z.string().optional(),
|
|
@@ -2113,7 +2113,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2113
2113
|
z.ZodTypeDef,
|
|
2114
2114
|
unknown
|
|
2115
2115
|
> = z.object({
|
|
2116
|
-
_id: z.string().default("
|
|
2116
|
+
_id: z.string().default("tool_01KDWQH4S54Y4QZRCRM22P0MZ6"),
|
|
2117
2117
|
path: z.string(),
|
|
2118
2118
|
key: z.string(),
|
|
2119
2119
|
display_name: z.string().optional(),
|
|
@@ -2164,7 +2164,7 @@ export const RetrieveToolResponseBodyFunctionTool$outboundSchema: z.ZodType<
|
|
|
2164
2164
|
z.ZodTypeDef,
|
|
2165
2165
|
RetrieveToolResponseBodyFunctionTool
|
|
2166
2166
|
> = z.object({
|
|
2167
|
-
id: z.string().default("
|
|
2167
|
+
id: z.string().default("tool_01KDWQH4S54Y4QZRCRM22P0MZ6"),
|
|
2168
2168
|
path: z.string(),
|
|
2169
2169
|
key: z.string(),
|
|
2170
2170
|
displayName: z.string().optional(),
|
|
@@ -4307,7 +4307,7 @@ export function schemaFromJSON(
|
|
|
4307
4307
|
/** @internal */
|
|
4308
4308
|
export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
|
|
4309
4309
|
.object({
|
|
4310
|
-
id: z.string().default("
|
|
4310
|
+
id: z.string().default("01KDWQH4AGBP20RFAHXZ2XSE66"),
|
|
4311
4311
|
name: z.string(),
|
|
4312
4312
|
description: z.string().optional(),
|
|
4313
4313
|
schema: z.lazy(() => Schema$inboundSchema),
|
|
@@ -4326,7 +4326,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
4326
4326
|
z.ZodTypeDef,
|
|
4327
4327
|
Tools
|
|
4328
4328
|
> = z.object({
|
|
4329
|
-
id: z.string().default("
|
|
4329
|
+
id: z.string().default("01KDWQH4AGBP20RFAHXZ2XSE66"),
|
|
4330
4330
|
name: z.string(),
|
|
4331
4331
|
description: z.string().optional(),
|
|
4332
4332
|
schema: z.lazy(() => Schema$outboundSchema),
|
|
@@ -4435,7 +4435,7 @@ export const AgentToolInputRunTools$inboundSchema: z.ZodType<
|
|
|
4435
4435
|
z.ZodTypeDef,
|
|
4436
4436
|
unknown
|
|
4437
4437
|
> = z.object({
|
|
4438
|
-
id: z.string().default("
|
|
4438
|
+
id: z.string().default("01KDWQH4CJHA0HA2WWT9RG75JP"),
|
|
4439
4439
|
name: z.string(),
|
|
4440
4440
|
description: z.string().optional(),
|
|
4441
4441
|
schema: z.lazy(() => AgentToolInputRunSchema$inboundSchema),
|
|
@@ -4454,7 +4454,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
4454
4454
|
z.ZodTypeDef,
|
|
4455
4455
|
AgentToolInputRunTools
|
|
4456
4456
|
> = z.object({
|
|
4457
|
-
id: z.string().default("
|
|
4457
|
+
id: z.string().default("01KDWQH4CJHA0HA2WWT9RG75JP"),
|
|
4458
4458
|
name: z.string(),
|
|
4459
4459
|
description: z.string().optional(),
|
|
4460
4460
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -214,7 +214,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
214
214
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
215
215
|
.optional(),
|
|
216
216
|
updated: z.string().datetime({ offset: true }).default(
|
|
217
|
-
"
|
|
217
|
+
"2026-01-01T12:11:30.915Z",
|
|
218
218
|
).transform(v => new Date(v)),
|
|
219
219
|
}).transform((v) => {
|
|
220
220
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
tags: z.array(z.string()).optional(),
|
|
252
252
|
metadata: z.record(z.any()).optional(),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("
|
|
254
|
+
updated: z.date().default(() => new Date("2026-01-01T12:11:30.915Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -307,7 +307,7 @@ export const UpdateConversationResponseBody$inboundSchema: z.ZodType<
|
|
|
307
307
|
z.ZodTypeDef,
|
|
308
308
|
unknown
|
|
309
309
|
> = z.object({
|
|
310
|
-
_id: z.string().default("
|
|
310
|
+
_id: z.string().default("conv_01kdwqh4f051sga852qennxm22"),
|
|
311
311
|
entityId: z.string(),
|
|
312
312
|
kind: UpdateConversationKind$inboundSchema,
|
|
313
313
|
displayName: z.string(),
|
|
@@ -341,7 +341,7 @@ export const UpdateConversationResponseBody$outboundSchema: z.ZodType<
|
|
|
341
341
|
z.ZodTypeDef,
|
|
342
342
|
UpdateConversationResponseBody
|
|
343
343
|
> = z.object({
|
|
344
|
-
id: z.string().default("
|
|
344
|
+
id: z.string().default("conv_01kdwqh4f051sga852qennxm22"),
|
|
345
345
|
entityId: z.string(),
|
|
346
346
|
kind: UpdateConversationKind$outboundSchema,
|
|
347
347
|
displayName: z.string(),
|