@orq-ai/node 3.4.0-rc.24 → 3.4.0-rc.25
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 +75 -67
- package/bin/mcp-server.js.map +28 -28
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/matchers.d.ts +3 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +12 -0
- package/lib/matchers.js.map +1 -1
- package/lib/sdks.js +7 -2
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createtool.js +6 -6
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +6 -6
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.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/retrievetool.js +6 -6
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updatetool.js +6 -6
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +20 -0
- package/src/lib/sdks.ts +8 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createtool.ts +6 -6
- 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/getalltools.ts +6 -6
- 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/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +6 -6
- 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/updatetool.ts +6 -6
|
@@ -334,7 +334,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
334
334
|
}
|
|
335
335
|
/** @internal */
|
|
336
336
|
exports.RetrieveToolResponseBody3$inboundSchema = z.object({
|
|
337
|
-
_id: z.string().default("
|
|
337
|
+
_id: z.string().default("tool_01JRXMJDQNKPFB58CC8AGD20ST"),
|
|
338
338
|
path: z.string(),
|
|
339
339
|
key: z.string(),
|
|
340
340
|
description: z.string(),
|
|
@@ -360,7 +360,7 @@ exports.RetrieveToolResponseBody3$inboundSchema = z.object({
|
|
|
360
360
|
});
|
|
361
361
|
/** @internal */
|
|
362
362
|
exports.RetrieveToolResponseBody3$outboundSchema = z.object({
|
|
363
|
-
id: z.string().default("
|
|
363
|
+
id: z.string().default("tool_01JRXMJDQNKPFB58CC8AGD20ST"),
|
|
364
364
|
path: z.string(),
|
|
365
365
|
key: z.string(),
|
|
366
366
|
description: z.string(),
|
|
@@ -464,7 +464,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
464
464
|
}
|
|
465
465
|
/** @internal */
|
|
466
466
|
exports.RetrieveToolResponseBody2$inboundSchema = z.object({
|
|
467
|
-
_id: z.string().default("
|
|
467
|
+
_id: z.string().default("tool_01JRXMJDQNGW56F0ZG99JT09FQ"),
|
|
468
468
|
path: z.string(),
|
|
469
469
|
key: z.string(),
|
|
470
470
|
description: z.string(),
|
|
@@ -491,7 +491,7 @@ exports.RetrieveToolResponseBody2$inboundSchema = z.object({
|
|
|
491
491
|
});
|
|
492
492
|
/** @internal */
|
|
493
493
|
exports.RetrieveToolResponseBody2$outboundSchema = z.object({
|
|
494
|
-
id: z.string().default("
|
|
494
|
+
id: z.string().default("tool_01JRXMJDQNGW56F0ZG99JT09FQ"),
|
|
495
495
|
path: z.string(),
|
|
496
496
|
key: z.string(),
|
|
497
497
|
description: z.string(),
|
|
@@ -596,7 +596,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
596
596
|
}
|
|
597
597
|
/** @internal */
|
|
598
598
|
exports.RetrieveToolResponseBody1$inboundSchema = z.object({
|
|
599
|
-
_id: z.string().default("
|
|
599
|
+
_id: z.string().default("tool_01JRXMJDQM8E5QJ8SMDG9H50GP"),
|
|
600
600
|
path: z.string(),
|
|
601
601
|
key: z.string(),
|
|
602
602
|
description: z.string(),
|
|
@@ -622,7 +622,7 @@ exports.RetrieveToolResponseBody1$inboundSchema = z.object({
|
|
|
622
622
|
});
|
|
623
623
|
/** @internal */
|
|
624
624
|
exports.RetrieveToolResponseBody1$outboundSchema = z.object({
|
|
625
|
-
id: z.string().default("
|
|
625
|
+
id: z.string().default("tool_01JRXMJDQM8E5QJ8SMDG9H50GP"),
|
|
626
626
|
path: z.string(),
|
|
627
627
|
key: z.string(),
|
|
628
628
|
description: z.string(),
|
|
@@ -855,7 +855,7 @@ exports.UpdateDatapointResponseBody$inboundSchema = z.object({
|
|
|
855
855
|
updated_by_id: z.string().optional(),
|
|
856
856
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
857
857
|
.optional(),
|
|
858
|
-
updated: z.string().datetime({ offset: true }).default("2025-04-
|
|
858
|
+
updated: z.string().datetime({ offset: true }).default("2025-04-15T21:09:29.256Z").transform(v => new Date(v)),
|
|
859
859
|
}).transform((v) => {
|
|
860
860
|
return (0, primitives_js_1.remap)(v, {
|
|
861
861
|
"_id": "id",
|
|
@@ -877,7 +877,7 @@ exports.UpdateDatapointResponseBody$outboundSchema = z.object({
|
|
|
877
877
|
createdById: z.string().optional(),
|
|
878
878
|
updatedById: z.string().optional(),
|
|
879
879
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
880
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
880
|
+
updated: z.date().default(() => new Date("2025-04-15T21:09:29.256Z"))
|
|
881
881
|
.transform(v => v.toISOString()),
|
|
882
882
|
}).transform((v) => {
|
|
883
883
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -174,7 +174,7 @@ exports.UpdateDatasetResponseBody$inboundSchema = z.object({
|
|
|
174
174
|
version: z.string().optional(),
|
|
175
175
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
176
176
|
.optional(),
|
|
177
|
-
updated: z.string().datetime({ offset: true }).default("2025-04-
|
|
177
|
+
updated: z.string().datetime({ offset: true }).default("2025-04-15T21:09:29.256Z").transform(v => new Date(v)),
|
|
178
178
|
}).transform((v) => {
|
|
179
179
|
return (0, primitives_js_1.remap)(v, {
|
|
180
180
|
"_id": "id",
|
|
@@ -198,7 +198,7 @@ exports.UpdateDatasetResponseBody$outboundSchema = z.object({
|
|
|
198
198
|
parentId: z.string().optional(),
|
|
199
199
|
version: z.string().optional(),
|
|
200
200
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
201
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
201
|
+
updated: z.date().default(() => new Date("2025-04-15T21:09:29.256Z"))
|
|
202
202
|
.transform(v => v.toISOString()),
|
|
203
203
|
}).transform((v) => {
|
|
204
204
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -144,7 +144,7 @@ var UpdateDatasourceStatus$;
|
|
|
144
144
|
})(UpdateDatasourceStatus$ || (exports.UpdateDatasourceStatus$ = UpdateDatasourceStatus$ = {}));
|
|
145
145
|
/** @internal */
|
|
146
146
|
exports.UpdateDatasourceResponseBody$inboundSchema = z.object({
|
|
147
|
-
_id: z.string().default("
|
|
147
|
+
_id: z.string().default("01JRXMJDRSN4K740713RKJ1SQS"),
|
|
148
148
|
display_name: z.string(),
|
|
149
149
|
description: z.string().optional(),
|
|
150
150
|
status: exports.UpdateDatasourceStatus$inboundSchema,
|
|
@@ -168,7 +168,7 @@ exports.UpdateDatasourceResponseBody$inboundSchema = z.object({
|
|
|
168
168
|
});
|
|
169
169
|
/** @internal */
|
|
170
170
|
exports.UpdateDatasourceResponseBody$outboundSchema = z.object({
|
|
171
|
-
id: z.string().default("
|
|
171
|
+
id: z.string().default("01JRXMJDRSN4K740713RKJ1SQS"),
|
|
172
172
|
displayName: z.string(),
|
|
173
173
|
description: z.string().optional(),
|
|
174
174
|
status: exports.UpdateDatasourceStatus$outboundSchema,
|
|
@@ -889,7 +889,7 @@ function updateToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
889
889
|
}
|
|
890
890
|
/** @internal */
|
|
891
891
|
exports.UpdateToolResponseBody3$inboundSchema = z.object({
|
|
892
|
-
_id: z.string().default("
|
|
892
|
+
_id: z.string().default("tool_01JRXMJDQJHRAZMRPWG1P5BAZR"),
|
|
893
893
|
path: z.string(),
|
|
894
894
|
key: z.string(),
|
|
895
895
|
description: z.string(),
|
|
@@ -915,7 +915,7 @@ exports.UpdateToolResponseBody3$inboundSchema = z.object({
|
|
|
915
915
|
});
|
|
916
916
|
/** @internal */
|
|
917
917
|
exports.UpdateToolResponseBody3$outboundSchema = z.object({
|
|
918
|
-
id: z.string().default("
|
|
918
|
+
id: z.string().default("tool_01JRXMJDQJHRAZMRPWG1P5BAZR"),
|
|
919
919
|
path: z.string(),
|
|
920
920
|
key: z.string(),
|
|
921
921
|
description: z.string(),
|
|
@@ -1019,7 +1019,7 @@ function updateToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
/** @internal */
|
|
1021
1021
|
exports.UpdateToolResponseBody2$inboundSchema = z.object({
|
|
1022
|
-
_id: z.string().default("
|
|
1022
|
+
_id: z.string().default("tool_01JRXMJDQFSVTJFR7E0BYAB06V"),
|
|
1023
1023
|
path: z.string(),
|
|
1024
1024
|
key: z.string(),
|
|
1025
1025
|
description: z.string(),
|
|
@@ -1046,7 +1046,7 @@ exports.UpdateToolResponseBody2$inboundSchema = z.object({
|
|
|
1046
1046
|
});
|
|
1047
1047
|
/** @internal */
|
|
1048
1048
|
exports.UpdateToolResponseBody2$outboundSchema = z.object({
|
|
1049
|
-
id: z.string().default("
|
|
1049
|
+
id: z.string().default("tool_01JRXMJDQFSVTJFR7E0BYAB06V"),
|
|
1050
1050
|
path: z.string(),
|
|
1051
1051
|
key: z.string(),
|
|
1052
1052
|
description: z.string(),
|
|
@@ -1151,7 +1151,7 @@ function updateToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
/** @internal */
|
|
1153
1153
|
exports.UpdateToolResponseBody1$inboundSchema = z.object({
|
|
1154
|
-
_id: z.string().default("
|
|
1154
|
+
_id: z.string().default("tool_01JRXMJDQFE9M83GAP8A3F0W14"),
|
|
1155
1155
|
path: z.string(),
|
|
1156
1156
|
key: z.string(),
|
|
1157
1157
|
description: z.string(),
|
|
@@ -1177,7 +1177,7 @@ exports.UpdateToolResponseBody1$inboundSchema = z.object({
|
|
|
1177
1177
|
});
|
|
1178
1178
|
/** @internal */
|
|
1179
1179
|
exports.UpdateToolResponseBody1$outboundSchema = z.object({
|
|
1180
|
-
id: z.string().default("
|
|
1180
|
+
id: z.string().default("tool_01JRXMJDQFE9M83GAP8A3F0W14"),
|
|
1181
1181
|
path: z.string(),
|
|
1182
1182
|
key: z.string(),
|
|
1183
1183
|
description: z.string(),
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
64
64
|
export const SDK_METADATA = {
|
|
65
65
|
language: "typescript",
|
|
66
66
|
openapiDocVersion: "2.0",
|
|
67
|
-
sdkVersion: "3.4.0-rc.
|
|
68
|
-
genVersion: "2.
|
|
69
|
-
userAgent: "speakeasy-sdk/typescript 3.4.0-rc.
|
|
67
|
+
sdkVersion: "3.4.0-rc.25",
|
|
68
|
+
genVersion: "2.578.0",
|
|
69
|
+
userAgent: "speakeasy-sdk/typescript 3.4.0-rc.25 2.578.0 2.0 @orq-ai/node",
|
|
70
70
|
} as const;
|
package/src/lib/matchers.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { isPlainObject } from "./is-plain-object.js";
|
|
|
11
11
|
import { safeParse } from "./schemas.js";
|
|
12
12
|
|
|
13
13
|
export type Encoding =
|
|
14
|
+
| "jsonl"
|
|
14
15
|
| "json"
|
|
15
16
|
| "text"
|
|
16
17
|
| "bytes"
|
|
@@ -20,6 +21,7 @@ export type Encoding =
|
|
|
20
21
|
| "fail";
|
|
21
22
|
|
|
22
23
|
const DEFAULT_CONTENT_TYPES: Record<Encoding, string> = {
|
|
24
|
+
jsonl: "application/jsonl",
|
|
23
25
|
json: "application/json",
|
|
24
26
|
text: "text/plain",
|
|
25
27
|
bytes: "application/octet-stream",
|
|
@@ -73,6 +75,21 @@ export function json<T>(
|
|
|
73
75
|
return { ...options, enc: "json", codes, schema };
|
|
74
76
|
}
|
|
75
77
|
|
|
78
|
+
export function jsonl<T>(
|
|
79
|
+
codes: StatusCodePredicate,
|
|
80
|
+
schema: Schema<T>,
|
|
81
|
+
options?: MatchOptions,
|
|
82
|
+
): ValueMatcher<T> {
|
|
83
|
+
return { ...options, enc: "jsonl", codes, schema };
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function jsonlErr<E>(
|
|
87
|
+
codes: StatusCodePredicate,
|
|
88
|
+
schema: Schema<E>,
|
|
89
|
+
options?: MatchOptions,
|
|
90
|
+
): ErrorMatcher<E> {
|
|
91
|
+
return { ...options, err: true, enc: "jsonl", codes, schema };
|
|
92
|
+
}
|
|
76
93
|
export function textErr<E>(
|
|
77
94
|
codes: StatusCodePredicate,
|
|
78
95
|
schema: Schema<E>,
|
|
@@ -205,6 +222,9 @@ export function match<T, E>(
|
|
|
205
222
|
case "json":
|
|
206
223
|
raw = await response.json();
|
|
207
224
|
break;
|
|
225
|
+
case "jsonl":
|
|
226
|
+
raw = response.body;
|
|
227
|
+
break;
|
|
208
228
|
case "bytes":
|
|
209
229
|
raw = new Uint8Array(await response.arrayBuffer());
|
|
210
230
|
break;
|
package/src/lib/sdks.ts
CHANGED
|
@@ -302,7 +302,9 @@ export class ClientSDK {
|
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
const jsonLikeContentTypeRE =
|
|
305
|
+
const jsonLikeContentTypeRE = /(application|text)\/.*?\+*json.*/;
|
|
306
|
+
const jsonlLikeContentTypeRE =
|
|
307
|
+
/(application|text)\/(.*?\+*\bjsonl\b.*|.*?\+*\bx-ndjson\b.*)/;
|
|
306
308
|
async function logRequest(logger: Logger | undefined, req: Request) {
|
|
307
309
|
if (!logger) {
|
|
308
310
|
return;
|
|
@@ -368,9 +370,13 @@ async function logResponse(
|
|
|
368
370
|
logger.group("Body:");
|
|
369
371
|
switch (true) {
|
|
370
372
|
case matchContentType(res, "application/json")
|
|
371
|
-
|| jsonLikeContentTypeRE.test(ct):
|
|
373
|
+
|| jsonLikeContentTypeRE.test(ct) && !jsonlLikeContentTypeRE.test(ct):
|
|
372
374
|
logger.log(await res.clone().json());
|
|
373
375
|
break;
|
|
376
|
+
case matchContentType(res, "application/jsonl")
|
|
377
|
+
|| jsonlLikeContentTypeRE.test(ct):
|
|
378
|
+
logger.log(await res.clone().text());
|
|
379
|
+
break;
|
|
374
380
|
case matchContentType(res, "text/event-stream"):
|
|
375
381
|
logger.log(`<${contentType}>`);
|
|
376
382
|
break;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -1731,7 +1731,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
1731
1731
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1732
1732
|
.optional(),
|
|
1733
1733
|
updated: z.string().datetime({ offset: true }).default(
|
|
1734
|
-
"2025-04-
|
|
1734
|
+
"2025-04-15T21:09:29.256Z",
|
|
1735
1735
|
).transform(v => new Date(v)),
|
|
1736
1736
|
}).transform((v) => {
|
|
1737
1737
|
return remap$(v, {
|
|
@@ -1775,7 +1775,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
1775
1775
|
createdById: z.string().optional(),
|
|
1776
1776
|
updatedById: z.string().optional(),
|
|
1777
1777
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
1778
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
1778
|
+
updated: z.date().default(() => new Date("2025-04-15T21:09:29.256Z"))
|
|
1779
1779
|
.transform(v => v.toISOString()),
|
|
1780
1780
|
}).transform((v) => {
|
|
1781
1781
|
return remap$(v, {
|
|
@@ -177,7 +177,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
177
177
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
178
178
|
.optional(),
|
|
179
179
|
updated: z.string().datetime({ offset: true }).default(
|
|
180
|
-
"2025-04-
|
|
180
|
+
"2025-04-15T21:09:29.256Z",
|
|
181
181
|
).transform(v => new Date(v)),
|
|
182
182
|
}).transform((v) => {
|
|
183
183
|
return remap$(v, {
|
|
@@ -214,7 +214,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
214
214
|
tags: z.array(z.string()).optional(),
|
|
215
215
|
metadata: z.record(z.any()).optional(),
|
|
216
216
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
217
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
217
|
+
updated: z.date().default(() => new Date("2025-04-15T21:09:29.256Z"))
|
|
218
218
|
.transform(v => v.toISOString()),
|
|
219
219
|
}).transform((v) => {
|
|
220
220
|
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-04-
|
|
214
|
+
"2025-04-15T21:09:29.256Z",
|
|
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-04-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-04-15T21:09:29.256Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -1649,7 +1649,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
1649
1649
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1650
1650
|
.optional(),
|
|
1651
1651
|
updated: z.string().datetime({ offset: true }).default(
|
|
1652
|
-
"2025-04-
|
|
1652
|
+
"2025-04-15T21:09:29.256Z",
|
|
1653
1653
|
).transform(v => new Date(v)),
|
|
1654
1654
|
}).transform((v) => {
|
|
1655
1655
|
return remap$(v, {
|
|
@@ -1693,7 +1693,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
|
|
|
1693
1693
|
createdById: z.string().optional(),
|
|
1694
1694
|
updatedById: z.string().optional(),
|
|
1695
1695
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
1696
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
1696
|
+
updated: z.date().default(() => new Date("2025-04-15T21:09:29.256Z"))
|
|
1697
1697
|
.transform(v => v.toISOString()),
|
|
1698
1698
|
}).transform((v) => {
|
|
1699
1699
|
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("01JRXMJDRQWB26PGHDRDBX4HJ5"),
|
|
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("01JRXMJDRQWB26PGHDRDBX4HJ5"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -1710,7 +1710,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
1710
1710
|
z.ZodTypeDef,
|
|
1711
1711
|
unknown
|
|
1712
1712
|
> = z.object({
|
|
1713
|
-
_id: z.string().default("
|
|
1713
|
+
_id: z.string().default("tool_01JRXMJDQBAYS8PPY7B2SXCPT3"),
|
|
1714
1714
|
path: z.string(),
|
|
1715
1715
|
key: z.string(),
|
|
1716
1716
|
description: z.string(),
|
|
@@ -1759,7 +1759,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
1759
1759
|
z.ZodTypeDef,
|
|
1760
1760
|
ResponseBody3
|
|
1761
1761
|
> = z.object({
|
|
1762
|
-
id: z.string().default("
|
|
1762
|
+
id: z.string().default("tool_01JRXMJDQBAYS8PPY7B2SXCPT3"),
|
|
1763
1763
|
path: z.string(),
|
|
1764
1764
|
key: z.string(),
|
|
1765
1765
|
description: z.string(),
|
|
@@ -1922,7 +1922,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
1922
1922
|
z.ZodTypeDef,
|
|
1923
1923
|
unknown
|
|
1924
1924
|
> = z.object({
|
|
1925
|
-
_id: z.string().default("
|
|
1925
|
+
_id: z.string().default("tool_01JRXMJDQAXBHWDGR4TY1BAAKB"),
|
|
1926
1926
|
path: z.string(),
|
|
1927
1927
|
key: z.string(),
|
|
1928
1928
|
description: z.string(),
|
|
@@ -1972,7 +1972,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
|
|
|
1972
1972
|
z.ZodTypeDef,
|
|
1973
1973
|
ResponseBody2
|
|
1974
1974
|
> = z.object({
|
|
1975
|
-
id: z.string().default("
|
|
1975
|
+
id: z.string().default("tool_01JRXMJDQAXBHWDGR4TY1BAAKB"),
|
|
1976
1976
|
path: z.string(),
|
|
1977
1977
|
key: z.string(),
|
|
1978
1978
|
description: z.string(),
|
|
@@ -2136,7 +2136,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
2136
2136
|
z.ZodTypeDef,
|
|
2137
2137
|
unknown
|
|
2138
2138
|
> = z.object({
|
|
2139
|
-
_id: z.string().default("
|
|
2139
|
+
_id: z.string().default("tool_01JRXMJDQ91CD73MK54A0E1XYS"),
|
|
2140
2140
|
path: z.string(),
|
|
2141
2141
|
key: z.string(),
|
|
2142
2142
|
description: z.string(),
|
|
@@ -2185,7 +2185,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
|
|
|
2185
2185
|
z.ZodTypeDef,
|
|
2186
2186
|
ResponseBody1
|
|
2187
2187
|
> = z.object({
|
|
2188
|
-
id: z.string().default("
|
|
2188
|
+
id: z.string().default("tool_01JRXMJDQ91CD73MK54A0E1XYS"),
|
|
2189
2189
|
path: z.string(),
|
|
2190
2190
|
key: z.string(),
|
|
2191
2191
|
description: z.string(),
|
|
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
146
146
|
file_name: z.string(),
|
|
147
147
|
workspace_id: z.string(),
|
|
148
148
|
created: z.string().datetime({ offset: true }).default(
|
|
149
|
-
"2025-04-
|
|
149
|
+
"2025-04-15T21:09:32.074Z",
|
|
150
150
|
).transform(v => new Date(v)),
|
|
151
151
|
}).transform((v) => {
|
|
152
152
|
return remap$(v, {
|
|
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
180
180
|
bytes: z.number(),
|
|
181
181
|
fileName: z.string(),
|
|
182
182
|
workspaceId: z.string(),
|
|
183
|
-
created: z.date().default(() => new Date("2025-04-
|
|
183
|
+
created: z.date().default(() => new Date("2025-04-15T21:09:32.074Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-04-
|
|
199
|
+
"2025-04-15T21:09:32.074Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-04-
|
|
233
|
+
created: z.date().default(() => new Date("2025-04-15T21:09:32.074Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -247,7 +247,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
247
247
|
file_name: z.string(),
|
|
248
248
|
workspace_id: z.string(),
|
|
249
249
|
created: z.string().datetime({ offset: true }).default(
|
|
250
|
-
"2025-04-
|
|
250
|
+
"2025-04-15T21:09:32.074Z",
|
|
251
251
|
).transform(v => new Date(v)),
|
|
252
252
|
}).transform((v) => {
|
|
253
253
|
return remap$(v, {
|
|
@@ -281,7 +281,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
281
281
|
bytes: z.number(),
|
|
282
282
|
fileName: z.string(),
|
|
283
283
|
workspaceId: z.string(),
|
|
284
|
-
created: z.date().default(() => new Date("2025-04-
|
|
284
|
+
created: z.date().default(() => new Date("2025-04-15T21:09:32.074Z"))
|
|
285
285
|
.transform(v => v.toISOString()),
|
|
286
286
|
}).transform((v) => {
|
|
287
287
|
return remap$(v, {
|
|
@@ -735,7 +735,7 @@ export function dataHttpFromJSON(
|
|
|
735
735
|
/** @internal */
|
|
736
736
|
export const Data3$inboundSchema: z.ZodType<Data3, z.ZodTypeDef, unknown> = z
|
|
737
737
|
.object({
|
|
738
|
-
_id: z.string().default("
|
|
738
|
+
_id: z.string().default("tool_01JRXMJDQ8HVYNSBR9WMHG7RJA"),
|
|
739
739
|
path: z.string(),
|
|
740
740
|
key: z.string(),
|
|
741
741
|
description: z.string(),
|
|
@@ -784,7 +784,7 @@ export const Data3$outboundSchema: z.ZodType<
|
|
|
784
784
|
z.ZodTypeDef,
|
|
785
785
|
Data3
|
|
786
786
|
> = z.object({
|
|
787
|
-
id: z.string().default("
|
|
787
|
+
id: z.string().default("tool_01JRXMJDQ8HVYNSBR9WMHG7RJA"),
|
|
788
788
|
path: z.string(),
|
|
789
789
|
key: z.string(),
|
|
790
790
|
description: z.string(),
|
|
@@ -938,7 +938,7 @@ export function dataJsonSchemaFromJSON(
|
|
|
938
938
|
/** @internal */
|
|
939
939
|
export const Data2$inboundSchema: z.ZodType<Data2, z.ZodTypeDef, unknown> = z
|
|
940
940
|
.object({
|
|
941
|
-
_id: z.string().default("
|
|
941
|
+
_id: z.string().default("tool_01JRXMJDQ77QQ29X0MKPBS6WE9"),
|
|
942
942
|
path: z.string(),
|
|
943
943
|
key: z.string(),
|
|
944
944
|
description: z.string(),
|
|
@@ -988,7 +988,7 @@ export const Data2$outboundSchema: z.ZodType<
|
|
|
988
988
|
z.ZodTypeDef,
|
|
989
989
|
Data2
|
|
990
990
|
> = z.object({
|
|
991
|
-
id: z.string().default("
|
|
991
|
+
id: z.string().default("tool_01JRXMJDQ77QQ29X0MKPBS6WE9"),
|
|
992
992
|
path: z.string(),
|
|
993
993
|
key: z.string(),
|
|
994
994
|
description: z.string(),
|
|
@@ -1143,7 +1143,7 @@ export function dataFunctionFromJSON(
|
|
|
1143
1143
|
/** @internal */
|
|
1144
1144
|
export const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown> = z
|
|
1145
1145
|
.object({
|
|
1146
|
-
_id: z.string().default("
|
|
1146
|
+
_id: z.string().default("tool_01JRXMJDQ77X93H19BE8KQ5KMK"),
|
|
1147
1147
|
path: z.string(),
|
|
1148
1148
|
key: z.string(),
|
|
1149
1149
|
description: z.string(),
|
|
@@ -1192,7 +1192,7 @@ export const Data1$outboundSchema: z.ZodType<
|
|
|
1192
1192
|
z.ZodTypeDef,
|
|
1193
1193
|
Data1
|
|
1194
1194
|
> = z.object({
|
|
1195
|
-
id: z.string().default("
|
|
1195
|
+
id: z.string().default("tool_01JRXMJDQ77X93H19BE8KQ5KMK"),
|
|
1196
1196
|
path: z.string(),
|
|
1197
1197
|
key: z.string(),
|
|
1198
1198
|
description: z.string(),
|
|
@@ -912,7 +912,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
912
912
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
913
913
|
.optional(),
|
|
914
914
|
updated: z.string().datetime({ offset: true }).default(
|
|
915
|
-
"2025-04-
|
|
915
|
+
"2025-04-15T21:09:29.256Z",
|
|
916
916
|
).transform(v => new Date(v)),
|
|
917
917
|
}).transform((v) => {
|
|
918
918
|
return remap$(v, {
|
|
@@ -955,7 +955,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
955
955
|
createdById: z.string().optional(),
|
|
956
956
|
updatedById: z.string().optional(),
|
|
957
957
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
958
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
958
|
+
updated: z.date().default(() => new Date("2025-04-15T21:09:29.256Z"))
|
|
959
959
|
.transform(v => v.toISOString()),
|
|
960
960
|
}).transform((v) => {
|
|
961
961
|
return remap$(v, {
|
|
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
253
253
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
254
254
|
.optional(),
|
|
255
255
|
updated: z.string().datetime({ offset: true }).default(
|
|
256
|
-
"2025-04-
|
|
256
|
+
"2025-04-15T21:09:29.256Z",
|
|
257
257
|
).transform(v => new Date(v)),
|
|
258
258
|
}).transform((v) => {
|
|
259
259
|
return remap$(v, {
|
|
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
293
293
|
updatedById: z.string().optional(),
|
|
294
294
|
metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
|
|
295
295
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
296
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-04-15T21:09:29.256Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
278
278
|
z.ZodTypeDef,
|
|
279
279
|
unknown
|
|
280
280
|
> = z.object({
|
|
281
|
-
_id: z.string().default("
|
|
281
|
+
_id: z.string().default("01JRXMJDRPWSGY4JSX0GD9H5M2"),
|
|
282
282
|
display_name: z.string(),
|
|
283
283
|
description: z.string().optional(),
|
|
284
284
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -322,7 +322,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
322
322
|
z.ZodTypeDef,
|
|
323
323
|
ListDatasourcesData
|
|
324
324
|
> = z.object({
|
|
325
|
-
id: z.string().default("
|
|
325
|
+
id: z.string().default("01JRXMJDRPWSGY4JSX0GD9H5M2"),
|
|
326
326
|
displayName: z.string(),
|
|
327
327
|
description: z.string().optional(),
|
|
328
328
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -834,7 +834,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
834
834
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
835
835
|
.optional(),
|
|
836
836
|
updated: z.string().datetime({ offset: true }).default(
|
|
837
|
-
"2025-04-
|
|
837
|
+
"2025-04-15T21:09:29.256Z",
|
|
838
838
|
).transform(v => new Date(v)),
|
|
839
839
|
}).transform((v) => {
|
|
840
840
|
return remap$(v, {
|
|
@@ -877,7 +877,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
877
877
|
createdById: z.string().optional(),
|
|
878
878
|
updatedById: z.string().optional(),
|
|
879
879
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
880
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
880
|
+
updated: z.date().default(() => new Date("2025-04-15T21:09:29.256Z"))
|
|
881
881
|
.transform(v => v.toISOString()),
|
|
882
882
|
}).transform((v) => {
|
|
883
883
|
return remap$(v, {
|
|
@@ -201,7 +201,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
201
201
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
202
202
|
.optional(),
|
|
203
203
|
updated: z.string().datetime({ offset: true }).default(
|
|
204
|
-
"2025-04-
|
|
204
|
+
"2025-04-15T21:09:29.256Z",
|
|
205
205
|
).transform(v => new Date(v)),
|
|
206
206
|
}).transform((v) => {
|
|
207
207
|
return remap$(v, {
|
|
@@ -241,7 +241,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
241
241
|
updatedById: z.string().optional(),
|
|
242
242
|
metadata: z.lazy(() => RetrieveDatasetMetadata$outboundSchema),
|
|
243
243
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
244
|
-
updated: z.date().default(() => new Date("2025-04-
|
|
244
|
+
updated: z.date().default(() => new Date("2025-04-15T21:09:29.256Z"))
|
|
245
245
|
.transform(v => v.toISOString()),
|
|
246
246
|
}).transform((v) => {
|
|
247
247
|
return remap$(v, {
|
|
@@ -172,7 +172,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
172
172
|
z.ZodTypeDef,
|
|
173
173
|
unknown
|
|
174
174
|
> = z.object({
|
|
175
|
-
_id: z.string().default("
|
|
175
|
+
_id: z.string().default("01JRXMJDRQC73ZFXCZ0JVZ5CZT"),
|
|
176
176
|
display_name: z.string(),
|
|
177
177
|
description: z.string().optional(),
|
|
178
178
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -216,7 +216,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
216
216
|
z.ZodTypeDef,
|
|
217
217
|
RetrieveDatasourceResponseBody
|
|
218
218
|
> = z.object({
|
|
219
|
-
id: z.string().default("
|
|
219
|
+
id: z.string().default("01JRXMJDRQC73ZFXCZ0JVZ5CZT"),
|
|
220
220
|
displayName: z.string(),
|
|
221
221
|
description: z.string().optional(),
|
|
222
222
|
status: RetrieveDatasourceStatus$outboundSchema,
|