@orq-ai/node 3.3.6 → 3.3.8
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 +71 -71
- package/bin/mcp-server.js.map +26 -26
- 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/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createchunk.d.ts +4 -4
- package/models/operations/createchunk.d.ts.map +1 -1
- package/models/operations/createchunk.js +4 -4
- package/models/operations/createchunk.js.map +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.d.ts +4 -4
- package/models/operations/createdatasource.d.ts.map +1 -1
- package/models/operations/createdatasource.js +6 -6
- package/models/operations/createdatasource.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/getonechunk.d.ts +4 -4
- package/models/operations/getonechunk.d.ts.map +1 -1
- package/models/operations/getonechunk.js +4 -4
- package/models/operations/getonechunk.js.map +1 -1
- package/models/operations/listchunks.d.ts +4 -4
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +4 -4
- package/models/operations/listchunks.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.d.ts +4 -4
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +6 -6
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.d.ts +4 -4
- package/models/operations/retrievedatasource.d.ts.map +1 -1
- package/models/operations/retrievedatasource.js +6 -6
- package/models/operations/retrievedatasource.js.map +1 -1
- package/models/operations/updatechunk.d.ts +4 -4
- package/models/operations/updatechunk.d.ts.map +1 -1
- package/models/operations/updatechunk.js +4 -4
- package/models/operations/updatechunk.js.map +1 -1
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.d.ts +4 -4
- package/models/operations/updatedatasource.d.ts.map +1 -1
- package/models/operations/updatedatasource.js +6 -6
- package/models/operations/updatedatasource.js.map +1 -1
- 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/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createchunk.ts +8 -8
- 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 +10 -10
- 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/getonechunk.ts +8 -8
- package/src/models/operations/listchunks.ts +8 -8
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +10 -10
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +10 -10
- package/src/models/operations/updatechunk.ts +8 -8
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatedatasource.js","sourceRoot":"","sources":["../../src/models/operations/updatedatasource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HH,8EAQC;AAED,kFAQC;AAwDD,sEAMC;AAED,0EAQC;AA6GD,gFAQC;AAED,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AAC,MAAM,EAAE;IACvB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,EAAE,EAAE,KAAK;QACT,WAAW,EAAE,cAAc;QAC3B,MAAM,EAAE,SAAS;QACjB,WAAW,EAAE,eAAe;QAC5B,UAAU,EAAE,cAAc;QAC1B,WAAW,EAAE,cAAc;QAC3B,WAAW,EAAE,cAAc;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,6BAA6B,CAO7C;AAPD,WAAiB,6BAA6B;IAC5C,4EAA4E;IAC/D,2CAAa,GAAG,kDAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,mDAA2C,CAAC;AAG5E,CAAC,EAPgB,6BAA6B,6CAA7B,6BAA6B,QAO7C;AAED,SAAgB,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,mDAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
|
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.3.
|
|
67
|
+
sdkVersion: "3.3.8",
|
|
68
68
|
genVersion: "2.568.2",
|
|
69
|
-
userAgent: "speakeasy-sdk/typescript 3.3.
|
|
69
|
+
userAgent: "speakeasy-sdk/typescript 3.3.8 2.568.2 2.0 @orq-ai/node",
|
|
70
70
|
} as const;
|
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-09T06:57:16.333Z",
|
|
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-09T06:57:16.333Z"))
|
|
1779
1779
|
.transform(v => v.toISOString()),
|
|
1780
1780
|
}).transform((v) => {
|
|
1781
1781
|
return remap$(v, {
|
|
@@ -93,11 +93,11 @@ export type CreateChunkResponseBody = {
|
|
|
93
93
|
/**
|
|
94
94
|
* The unique identifier of the user who created the chunk
|
|
95
95
|
*/
|
|
96
|
-
createdById?: string | undefined;
|
|
96
|
+
createdById?: string | null | undefined;
|
|
97
97
|
/**
|
|
98
98
|
* The unique identifier of the user who updated the chunk
|
|
99
99
|
*/
|
|
100
|
-
updateById?: string | undefined;
|
|
100
|
+
updateById?: string | null | undefined;
|
|
101
101
|
};
|
|
102
102
|
|
|
103
103
|
/** @internal */
|
|
@@ -324,8 +324,8 @@ export const CreateChunkResponseBody$inboundSchema: z.ZodType<
|
|
|
324
324
|
status: CreateChunkStatus$inboundSchema,
|
|
325
325
|
created: z.string(),
|
|
326
326
|
updated: z.string(),
|
|
327
|
-
created_by_id: z.string().optional(),
|
|
328
|
-
update_by_id: z.string().optional(),
|
|
327
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
328
|
+
update_by_id: z.nullable(z.string()).optional(),
|
|
329
329
|
}).transform((v) => {
|
|
330
330
|
return remap$(v, {
|
|
331
331
|
"_id": "id",
|
|
@@ -343,8 +343,8 @@ export type CreateChunkResponseBody$Outbound = {
|
|
|
343
343
|
status: string;
|
|
344
344
|
created: string;
|
|
345
345
|
updated: string;
|
|
346
|
-
created_by_id?: string | undefined;
|
|
347
|
-
update_by_id?: string | undefined;
|
|
346
|
+
created_by_id?: string | null | undefined;
|
|
347
|
+
update_by_id?: string | null | undefined;
|
|
348
348
|
};
|
|
349
349
|
|
|
350
350
|
/** @internal */
|
|
@@ -360,8 +360,8 @@ export const CreateChunkResponseBody$outboundSchema: z.ZodType<
|
|
|
360
360
|
status: CreateChunkStatus$outboundSchema,
|
|
361
361
|
created: z.string(),
|
|
362
362
|
updated: z.string(),
|
|
363
|
-
createdById: z.string().optional(),
|
|
364
|
-
updateById: z.string().optional(),
|
|
363
|
+
createdById: z.nullable(z.string()).optional(),
|
|
364
|
+
updateById: z.nullable(z.string()).optional(),
|
|
365
365
|
}).transform((v) => {
|
|
366
366
|
return remap$(v, {
|
|
367
367
|
id: "_id",
|
|
@@ -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-09T06:57:16.333Z",
|
|
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-09T06:57:16.333Z"))
|
|
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-09T06:57:16.333Z",
|
|
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-09T06:57:16.333Z"))
|
|
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-09T06:57:16.333Z",
|
|
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-09T06:57:16.333Z"))
|
|
1697
1697
|
.transform(v => v.toISOString()),
|
|
1698
1698
|
}).transform((v) => {
|
|
1699
1699
|
return remap$(v, {
|
|
@@ -171,11 +171,11 @@ export type CreateDatasourceResponseBody = {
|
|
|
171
171
|
/**
|
|
172
172
|
* The id of the resource
|
|
173
173
|
*/
|
|
174
|
-
createdById?: string | undefined;
|
|
174
|
+
createdById?: string | null | undefined;
|
|
175
175
|
/**
|
|
176
176
|
* The id of the resource
|
|
177
177
|
*/
|
|
178
|
-
updateById?: string | undefined;
|
|
178
|
+
updateById?: string | null | undefined;
|
|
179
179
|
/**
|
|
180
180
|
* The unique identifier of the knowledge base
|
|
181
181
|
*/
|
|
@@ -751,15 +751,15 @@ 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("01JRCNDM8KVKZ9YPCDZX7FYC28"),
|
|
755
755
|
display_name: z.string(),
|
|
756
756
|
description: z.string().optional(),
|
|
757
757
|
status: CreateDatasourceStatus$inboundSchema,
|
|
758
758
|
file_id: z.nullable(z.string()).optional(),
|
|
759
759
|
created: z.string(),
|
|
760
760
|
updated: z.string(),
|
|
761
|
-
created_by_id: z.string().optional(),
|
|
762
|
-
update_by_id: z.string().optional(),
|
|
761
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
762
|
+
update_by_id: z.nullable(z.string()).optional(),
|
|
763
763
|
knowledge_id: z.string(),
|
|
764
764
|
chunks_count: z.number(),
|
|
765
765
|
}).transform((v) => {
|
|
@@ -783,8 +783,8 @@ export type CreateDatasourceResponseBody$Outbound = {
|
|
|
783
783
|
file_id?: string | null | undefined;
|
|
784
784
|
created: string;
|
|
785
785
|
updated: string;
|
|
786
|
-
created_by_id?: string | undefined;
|
|
787
|
-
update_by_id?: string | undefined;
|
|
786
|
+
created_by_id?: string | null | undefined;
|
|
787
|
+
update_by_id?: string | null | undefined;
|
|
788
788
|
knowledge_id: string;
|
|
789
789
|
chunks_count: number;
|
|
790
790
|
};
|
|
@@ -795,15 +795,15 @@ 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("01JRCNDM8KVKZ9YPCDZX7FYC28"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|
|
802
802
|
fileId: z.nullable(z.string()).optional(),
|
|
803
803
|
created: z.string(),
|
|
804
804
|
updated: z.string(),
|
|
805
|
-
createdById: z.string().optional(),
|
|
806
|
-
updateById: z.string().optional(),
|
|
805
|
+
createdById: z.nullable(z.string()).optional(),
|
|
806
|
+
updateById: z.nullable(z.string()).optional(),
|
|
807
807
|
knowledgeId: z.string(),
|
|
808
808
|
chunksCount: z.number(),
|
|
809
809
|
}).transform((v) => {
|
|
@@ -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-09T06:57:17.887Z",
|
|
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-09T06:57:17.887Z"))
|
|
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-09T06:57:17.887Z",
|
|
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-09T06:57:17.887Z"))
|
|
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-09T06:57:17.887Z",
|
|
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-09T06:57:17.887Z"))
|
|
285
285
|
.transform(v => v.toISOString()),
|
|
286
286
|
}).transform((v) => {
|
|
287
287
|
return remap$(v, {
|
|
@@ -74,11 +74,11 @@ export type GetOneChunkResponseBody = {
|
|
|
74
74
|
/**
|
|
75
75
|
* The unique identifier of the user who created the chunk
|
|
76
76
|
*/
|
|
77
|
-
createdById?: string | undefined;
|
|
77
|
+
createdById?: string | null | undefined;
|
|
78
78
|
/**
|
|
79
79
|
* The unique identifier of the user who updated the chunk
|
|
80
80
|
*/
|
|
81
|
-
updateById?: string | undefined;
|
|
81
|
+
updateById?: string | null | undefined;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
/** @internal */
|
|
@@ -187,8 +187,8 @@ export const GetOneChunkResponseBody$inboundSchema: z.ZodType<
|
|
|
187
187
|
status: GetOneChunkStatus$inboundSchema,
|
|
188
188
|
created: z.string(),
|
|
189
189
|
updated: z.string(),
|
|
190
|
-
created_by_id: z.string().optional(),
|
|
191
|
-
update_by_id: z.string().optional(),
|
|
190
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
191
|
+
update_by_id: z.nullable(z.string()).optional(),
|
|
192
192
|
}).transform((v) => {
|
|
193
193
|
return remap$(v, {
|
|
194
194
|
"_id": "id",
|
|
@@ -206,8 +206,8 @@ export type GetOneChunkResponseBody$Outbound = {
|
|
|
206
206
|
status: string;
|
|
207
207
|
created: string;
|
|
208
208
|
updated: string;
|
|
209
|
-
created_by_id?: string | undefined;
|
|
210
|
-
update_by_id?: string | undefined;
|
|
209
|
+
created_by_id?: string | null | undefined;
|
|
210
|
+
update_by_id?: string | null | undefined;
|
|
211
211
|
};
|
|
212
212
|
|
|
213
213
|
/** @internal */
|
|
@@ -223,8 +223,8 @@ export const GetOneChunkResponseBody$outboundSchema: z.ZodType<
|
|
|
223
223
|
status: GetOneChunkStatus$outboundSchema,
|
|
224
224
|
created: z.string(),
|
|
225
225
|
updated: z.string(),
|
|
226
|
-
createdById: z.string().optional(),
|
|
227
|
-
updateById: z.string().optional(),
|
|
226
|
+
createdById: z.nullable(z.string()).optional(),
|
|
227
|
+
updateById: z.nullable(z.string()).optional(),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|
|
230
230
|
id: "_id",
|
|
@@ -97,11 +97,11 @@ export type ListChunksData = {
|
|
|
97
97
|
/**
|
|
98
98
|
* The unique identifier of the user who created the chunk
|
|
99
99
|
*/
|
|
100
|
-
createdById?: string | undefined;
|
|
100
|
+
createdById?: string | null | undefined;
|
|
101
101
|
/**
|
|
102
102
|
* The unique identifier of the user who updated the chunk
|
|
103
103
|
*/
|
|
104
|
-
updateById?: string | undefined;
|
|
104
|
+
updateById?: string | null | undefined;
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
/**
|
|
@@ -302,8 +302,8 @@ export const ListChunksData$inboundSchema: z.ZodType<
|
|
|
302
302
|
status: ListChunksStatus$inboundSchema,
|
|
303
303
|
created: z.string(),
|
|
304
304
|
updated: z.string(),
|
|
305
|
-
created_by_id: z.string().optional(),
|
|
306
|
-
update_by_id: z.string().optional(),
|
|
305
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
306
|
+
update_by_id: z.nullable(z.string()).optional(),
|
|
307
307
|
}).transform((v) => {
|
|
308
308
|
return remap$(v, {
|
|
309
309
|
"_id": "id",
|
|
@@ -321,8 +321,8 @@ export type ListChunksData$Outbound = {
|
|
|
321
321
|
status: string;
|
|
322
322
|
created: string;
|
|
323
323
|
updated: string;
|
|
324
|
-
created_by_id?: string | undefined;
|
|
325
|
-
update_by_id?: string | undefined;
|
|
324
|
+
created_by_id?: string | null | undefined;
|
|
325
|
+
update_by_id?: string | null | undefined;
|
|
326
326
|
};
|
|
327
327
|
|
|
328
328
|
/** @internal */
|
|
@@ -338,8 +338,8 @@ export const ListChunksData$outboundSchema: z.ZodType<
|
|
|
338
338
|
status: ListChunksStatus$outboundSchema,
|
|
339
339
|
created: z.string(),
|
|
340
340
|
updated: z.string(),
|
|
341
|
-
createdById: z.string().optional(),
|
|
342
|
-
updateById: z.string().optional(),
|
|
341
|
+
createdById: z.nullable(z.string()).optional(),
|
|
342
|
+
updateById: z.nullable(z.string()).optional(),
|
|
343
343
|
}).transform((v) => {
|
|
344
344
|
return remap$(v, {
|
|
345
345
|
id: "_id",
|
|
@@ -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-09T06:57:16.333Z",
|
|
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-09T06:57:16.333Z"))
|
|
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-09T06:57:16.333Z",
|
|
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-09T06:57:16.333Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -84,11 +84,11 @@ export type ListDatasourcesData = {
|
|
|
84
84
|
/**
|
|
85
85
|
* The id of the resource
|
|
86
86
|
*/
|
|
87
|
-
createdById?: string | undefined;
|
|
87
|
+
createdById?: string | null | undefined;
|
|
88
88
|
/**
|
|
89
89
|
* The id of the resource
|
|
90
90
|
*/
|
|
91
|
-
updateById?: string | undefined;
|
|
91
|
+
updateById?: string | null | undefined;
|
|
92
92
|
/**
|
|
93
93
|
* The unique identifier of the knowledge base
|
|
94
94
|
*/
|
|
@@ -278,15 +278,15 @@ 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("01JRCNDM8DCVA6GE3EC52WSBD4"),
|
|
282
282
|
display_name: z.string(),
|
|
283
283
|
description: z.string().optional(),
|
|
284
284
|
status: ListDatasourcesStatus$inboundSchema,
|
|
285
285
|
file_id: z.nullable(z.string()).optional(),
|
|
286
286
|
created: z.string(),
|
|
287
287
|
updated: z.string(),
|
|
288
|
-
created_by_id: z.string().optional(),
|
|
289
|
-
update_by_id: z.string().optional(),
|
|
288
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
289
|
+
update_by_id: z.nullable(z.string()).optional(),
|
|
290
290
|
knowledge_id: z.string(),
|
|
291
291
|
chunks_count: z.number(),
|
|
292
292
|
}).transform((v) => {
|
|
@@ -310,8 +310,8 @@ export type ListDatasourcesData$Outbound = {
|
|
|
310
310
|
file_id?: string | null | undefined;
|
|
311
311
|
created: string;
|
|
312
312
|
updated: string;
|
|
313
|
-
created_by_id?: string | undefined;
|
|
314
|
-
update_by_id?: string | undefined;
|
|
313
|
+
created_by_id?: string | null | undefined;
|
|
314
|
+
update_by_id?: string | null | undefined;
|
|
315
315
|
knowledge_id: string;
|
|
316
316
|
chunks_count: number;
|
|
317
317
|
};
|
|
@@ -322,15 +322,15 @@ 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("01JRCNDM8DCVA6GE3EC52WSBD4"),
|
|
326
326
|
displayName: z.string(),
|
|
327
327
|
description: z.string().optional(),
|
|
328
328
|
status: ListDatasourcesStatus$outboundSchema,
|
|
329
329
|
fileId: z.nullable(z.string()).optional(),
|
|
330
330
|
created: z.string(),
|
|
331
331
|
updated: z.string(),
|
|
332
|
-
createdById: z.string().optional(),
|
|
333
|
-
updateById: z.string().optional(),
|
|
332
|
+
createdById: z.nullable(z.string()).optional(),
|
|
333
|
+
updateById: z.nullable(z.string()).optional(),
|
|
334
334
|
knowledgeId: z.string(),
|
|
335
335
|
chunksCount: z.number(),
|
|
336
336
|
}).transform((v) => {
|
|
@@ -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-09T06:57:16.333Z",
|
|
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-09T06:57:16.333Z"))
|
|
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-09T06:57:16.333Z",
|
|
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-09T06:57:16.333Z"))
|
|
245
245
|
.transform(v => v.toISOString()),
|
|
246
246
|
}).transform((v) => {
|
|
247
247
|
return remap$(v, {
|
|
@@ -63,11 +63,11 @@ export type RetrieveDatasourceResponseBody = {
|
|
|
63
63
|
/**
|
|
64
64
|
* The id of the resource
|
|
65
65
|
*/
|
|
66
|
-
createdById?: string | undefined;
|
|
66
|
+
createdById?: string | null | undefined;
|
|
67
67
|
/**
|
|
68
68
|
* The id of the resource
|
|
69
69
|
*/
|
|
70
|
-
updateById?: string | undefined;
|
|
70
|
+
updateById?: string | null | undefined;
|
|
71
71
|
/**
|
|
72
72
|
* The unique identifier of the knowledge base
|
|
73
73
|
*/
|
|
@@ -172,15 +172,15 @@ 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("01JRCNDM8JSKPC8SGCV8R4C8JH"),
|
|
176
176
|
display_name: z.string(),
|
|
177
177
|
description: z.string().optional(),
|
|
178
178
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
179
179
|
file_id: z.nullable(z.string()).optional(),
|
|
180
180
|
created: z.string(),
|
|
181
181
|
updated: z.string(),
|
|
182
|
-
created_by_id: z.string().optional(),
|
|
183
|
-
update_by_id: z.string().optional(),
|
|
182
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
183
|
+
update_by_id: z.nullable(z.string()).optional(),
|
|
184
184
|
knowledge_id: z.string(),
|
|
185
185
|
chunks_count: z.number(),
|
|
186
186
|
}).transform((v) => {
|
|
@@ -204,8 +204,8 @@ export type RetrieveDatasourceResponseBody$Outbound = {
|
|
|
204
204
|
file_id?: string | null | undefined;
|
|
205
205
|
created: string;
|
|
206
206
|
updated: string;
|
|
207
|
-
created_by_id?: string | undefined;
|
|
208
|
-
update_by_id?: string | undefined;
|
|
207
|
+
created_by_id?: string | null | undefined;
|
|
208
|
+
update_by_id?: string | null | undefined;
|
|
209
209
|
knowledge_id: string;
|
|
210
210
|
chunks_count: number;
|
|
211
211
|
};
|
|
@@ -216,15 +216,15 @@ 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("01JRCNDM8JSKPC8SGCV8R4C8JH"),
|
|
220
220
|
displayName: z.string(),
|
|
221
221
|
description: z.string().optional(),
|
|
222
222
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
223
223
|
fileId: z.nullable(z.string()).optional(),
|
|
224
224
|
created: z.string(),
|
|
225
225
|
updated: z.string(),
|
|
226
|
-
createdById: z.string().optional(),
|
|
227
|
-
updateById: z.string().optional(),
|
|
226
|
+
createdById: z.nullable(z.string()).optional(),
|
|
227
|
+
updateById: z.nullable(z.string()).optional(),
|
|
228
228
|
knowledgeId: z.string(),
|
|
229
229
|
chunksCount: z.number(),
|
|
230
230
|
}).transform((v) => {
|
|
@@ -100,11 +100,11 @@ export type UpdateChunkResponseBody = {
|
|
|
100
100
|
/**
|
|
101
101
|
* The unique identifier of the user who created the chunk
|
|
102
102
|
*/
|
|
103
|
-
createdById?: string | undefined;
|
|
103
|
+
createdById?: string | null | undefined;
|
|
104
104
|
/**
|
|
105
105
|
* The unique identifier of the user who updated the chunk
|
|
106
106
|
*/
|
|
107
|
-
updateById?: string | undefined;
|
|
107
|
+
updateById?: string | null | undefined;
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
/** @internal */
|
|
@@ -340,8 +340,8 @@ export const UpdateChunkResponseBody$inboundSchema: z.ZodType<
|
|
|
340
340
|
status: UpdateChunkStatus$inboundSchema,
|
|
341
341
|
created: z.string(),
|
|
342
342
|
updated: z.string(),
|
|
343
|
-
created_by_id: z.string().optional(),
|
|
344
|
-
update_by_id: z.string().optional(),
|
|
343
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
344
|
+
update_by_id: z.nullable(z.string()).optional(),
|
|
345
345
|
}).transform((v) => {
|
|
346
346
|
return remap$(v, {
|
|
347
347
|
"_id": "id",
|
|
@@ -359,8 +359,8 @@ export type UpdateChunkResponseBody$Outbound = {
|
|
|
359
359
|
status: string;
|
|
360
360
|
created: string;
|
|
361
361
|
updated: string;
|
|
362
|
-
created_by_id?: string | undefined;
|
|
363
|
-
update_by_id?: string | undefined;
|
|
362
|
+
created_by_id?: string | null | undefined;
|
|
363
|
+
update_by_id?: string | null | undefined;
|
|
364
364
|
};
|
|
365
365
|
|
|
366
366
|
/** @internal */
|
|
@@ -376,8 +376,8 @@ export const UpdateChunkResponseBody$outboundSchema: z.ZodType<
|
|
|
376
376
|
status: UpdateChunkStatus$outboundSchema,
|
|
377
377
|
created: z.string(),
|
|
378
378
|
updated: z.string(),
|
|
379
|
-
createdById: z.string().optional(),
|
|
380
|
-
updateById: z.string().optional(),
|
|
379
|
+
createdById: z.nullable(z.string()).optional(),
|
|
380
|
+
updateById: z.nullable(z.string()).optional(),
|
|
381
381
|
}).transform((v) => {
|
|
382
382
|
return remap$(v, {
|
|
383
383
|
id: "_id",
|