@orq-ai/node 4.1.8 → 4.1.9
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 +270 -314
- package/bin/mcp-server.js.map +58 -58
- package/examples/package-lock.json +1 -1
- package/funcs/memoryStoresCreateDocument.js +2 -5
- package/funcs/memoryStoresCreateDocument.js.map +1 -1
- package/funcs/memoryStoresDeleteDocument.js +2 -5
- package/funcs/memoryStoresDeleteDocument.js.map +1 -1
- package/funcs/memoryStoresDeleteMemory.js +2 -5
- package/funcs/memoryStoresDeleteMemory.js.map +1 -1
- package/funcs/memoryStoresListDocuments.js +2 -5
- package/funcs/memoryStoresListDocuments.js.map +1 -1
- package/funcs/memoryStoresRetrieveDocument.js +2 -5
- package/funcs/memoryStoresRetrieveDocument.js.map +1 -1
- package/funcs/memoryStoresRetrieveMemory.js +2 -5
- package/funcs/memoryStoresRetrieveMemory.js.map +1 -1
- package/funcs/memoryStoresUpdateDocument.js +2 -5
- package/funcs/memoryStoresUpdateDocument.js.map +1 -1
- package/funcs/memoryStoresUpdateMemory.js +2 -5
- package/funcs/memoryStoresUpdateMemory.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/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/creatememory.d.ts +3 -19
- package/models/operations/creatememory.d.ts.map +1 -1
- package/models/operations/creatememory.js +0 -4
- package/models/operations/creatememory.js.map +1 -1
- package/models/operations/creatememorydocument.d.ts +3 -3
- package/models/operations/creatememorydocument.d.ts.map +1 -1
- package/models/operations/creatememorydocument.js +4 -4
- package/models/operations/creatememorydocument.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deletememory.d.ts +2 -2
- package/models/operations/deletememory.d.ts.map +1 -1
- package/models/operations/deletememory.js +4 -4
- package/models/operations/deletememory.js.map +1 -1
- package/models/operations/deletememorydocument.d.ts +2 -2
- package/models/operations/deletememorydocument.d.ts.map +1 -1
- package/models/operations/deletememorydocument.js +4 -4
- package/models/operations/deletememorydocument.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/generateconversationname.js +2 -2
- package/models/operations/getallmemories.d.ts +3 -10
- package/models/operations/getallmemories.d.ts.map +1 -1
- package/models/operations/getallmemories.js +0 -2
- package/models/operations/getallmemories.js.map +1 -1
- package/models/operations/getallmemorydocuments.d.ts +2 -2
- package/models/operations/getallmemorydocuments.d.ts.map +1 -1
- package/models/operations/getallmemorydocuments.js +4 -4
- package/models/operations/getallmemorydocuments.js.map +1 -1
- 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/retrievememory.d.ts +5 -12
- package/models/operations/retrievememory.d.ts.map +1 -1
- package/models/operations/retrievememory.js +4 -6
- package/models/operations/retrievememory.js.map +1 -1
- package/models/operations/retrievememorydocument.d.ts +2 -2
- package/models/operations/retrievememorydocument.d.ts.map +1 -1
- package/models/operations/retrievememorydocument.js +4 -4
- package/models/operations/retrievememorydocument.js.map +1 -1
- 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/updatememory.d.ts +5 -20
- package/models/operations/updatememory.d.ts.map +1 -1
- package/models/operations/updatememory.js +4 -16
- package/models/operations/updatememory.js.map +1 -1
- package/models/operations/updatememorydocument.d.ts +2 -2
- package/models/operations/updatememorydocument.d.ts.map +1 -1
- package/models/operations/updatememorydocument.js +4 -4
- package/models/operations/updatememorydocument.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/src/funcs/memoryStoresCreateDocument.ts +6 -5
- package/src/funcs/memoryStoresDeleteDocument.ts +6 -5
- package/src/funcs/memoryStoresDeleteMemory.ts +6 -5
- package/src/funcs/memoryStoresListDocuments.ts +6 -5
- package/src/funcs/memoryStoresRetrieveDocument.ts +6 -5
- package/src/funcs/memoryStoresRetrieveMemory.ts +6 -5
- package/src/funcs/memoryStoresUpdateDocument.ts +6 -5
- package/src/funcs/memoryStoresUpdateMemory.ts +6 -5
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/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/creatememory.ts +3 -15
- package/src/models/operations/creatememorydocument.ts +7 -7
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deletememory.ts +6 -6
- package/src/models/operations/deletememorydocument.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/generateconversationname.ts +2 -2
- package/src/models/operations/getallmemories.ts +3 -8
- package/src/models/operations/getallmemorydocuments.ts +6 -6
- 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/retrievememory.ts +9 -14
- package/src/models/operations/retrievememorydocument.ts +6 -6
- 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/updatememory.ts +9 -32
- package/src/models/operations/updatememorydocument.ts +6 -6
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -25,9 +25,9 @@ export type CreateMemoryDocumentRequest = {
|
|
|
25
25
|
*/
|
|
26
26
|
memoryStoreKey: string;
|
|
27
27
|
/**
|
|
28
|
-
* The unique
|
|
28
|
+
* The unique entity_id provided during the memory store creation
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
memoryEntityId: string;
|
|
31
31
|
requestBody?: CreateMemoryDocumentRequestBody | undefined;
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -104,20 +104,20 @@ export const CreateMemoryDocumentRequest$inboundSchema: z.ZodType<
|
|
|
104
104
|
unknown
|
|
105
105
|
> = z.object({
|
|
106
106
|
memory_store_key: z.string(),
|
|
107
|
-
|
|
107
|
+
memory_entity_id: z.string(),
|
|
108
108
|
RequestBody: z.lazy(() => CreateMemoryDocumentRequestBody$inboundSchema)
|
|
109
109
|
.optional(),
|
|
110
110
|
}).transform((v) => {
|
|
111
111
|
return remap$(v, {
|
|
112
112
|
"memory_store_key": "memoryStoreKey",
|
|
113
|
-
"
|
|
113
|
+
"memory_entity_id": "memoryEntityId",
|
|
114
114
|
"RequestBody": "requestBody",
|
|
115
115
|
});
|
|
116
116
|
});
|
|
117
117
|
/** @internal */
|
|
118
118
|
export type CreateMemoryDocumentRequest$Outbound = {
|
|
119
119
|
memory_store_key: string;
|
|
120
|
-
|
|
120
|
+
memory_entity_id: string;
|
|
121
121
|
RequestBody?: CreateMemoryDocumentRequestBody$Outbound | undefined;
|
|
122
122
|
};
|
|
123
123
|
|
|
@@ -128,13 +128,13 @@ export const CreateMemoryDocumentRequest$outboundSchema: z.ZodType<
|
|
|
128
128
|
CreateMemoryDocumentRequest
|
|
129
129
|
> = z.object({
|
|
130
130
|
memoryStoreKey: z.string(),
|
|
131
|
-
|
|
131
|
+
memoryEntityId: z.string(),
|
|
132
132
|
requestBody: z.lazy(() => CreateMemoryDocumentRequestBody$outboundSchema)
|
|
133
133
|
.optional(),
|
|
134
134
|
}).transform((v) => {
|
|
135
135
|
return remap$(v, {
|
|
136
136
|
memoryStoreKey: "memory_store_key",
|
|
137
|
-
|
|
137
|
+
memoryEntityId: "memory_entity_id",
|
|
138
138
|
requestBody: "RequestBody",
|
|
139
139
|
});
|
|
140
140
|
});
|
|
@@ -2458,7 +2458,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2458
2458
|
z.ZodTypeDef,
|
|
2459
2459
|
unknown
|
|
2460
2460
|
> = z.object({
|
|
2461
|
-
_id: z.string().default("
|
|
2461
|
+
_id: z.string().default("tool_01KEFJDYD8CXWXTGFG264EEMR2"),
|
|
2462
2462
|
path: z.string(),
|
|
2463
2463
|
key: z.string(),
|
|
2464
2464
|
display_name: z.string().optional(),
|
|
@@ -2512,7 +2512,7 @@ export const ResponseBodyCodeExecutionTool$outboundSchema: z.ZodType<
|
|
|
2512
2512
|
z.ZodTypeDef,
|
|
2513
2513
|
ResponseBodyCodeExecutionTool
|
|
2514
2514
|
> = z.object({
|
|
2515
|
-
id: z.string().default("
|
|
2515
|
+
id: z.string().default("tool_01KEFJDYD8CXWXTGFG264EEMR2"),
|
|
2516
2516
|
path: z.string(),
|
|
2517
2517
|
key: z.string(),
|
|
2518
2518
|
displayName: z.string().optional(),
|
|
@@ -2678,7 +2678,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2678
2678
|
z.ZodTypeDef,
|
|
2679
2679
|
unknown
|
|
2680
2680
|
> = z.object({
|
|
2681
|
-
id: z.string().default("
|
|
2681
|
+
id: z.string().default("01KEFJDYD6KBBP2WBK9TFNAFDD"),
|
|
2682
2682
|
name: z.string(),
|
|
2683
2683
|
description: z.string().optional(),
|
|
2684
2684
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2697,7 +2697,7 @@ export const ResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
2697
2697
|
z.ZodTypeDef,
|
|
2698
2698
|
ResponseBodyTools
|
|
2699
2699
|
> = z.object({
|
|
2700
|
-
id: z.string().default("
|
|
2700
|
+
id: z.string().default("01KEFJDYD6KBBP2WBK9TFNAFDD"),
|
|
2701
2701
|
name: z.string(),
|
|
2702
2702
|
description: z.string().optional(),
|
|
2703
2703
|
schema: z.lazy(() => CreateToolResponseBodySchema$outboundSchema),
|
|
@@ -2792,7 +2792,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2792
2792
|
z.ZodTypeDef,
|
|
2793
2793
|
unknown
|
|
2794
2794
|
> = z.object({
|
|
2795
|
-
_id: z.string().default("
|
|
2795
|
+
_id: z.string().default("tool_01KEFJDYD4GEV8ZGG030YC4AQ4"),
|
|
2796
2796
|
path: z.string(),
|
|
2797
2797
|
key: z.string(),
|
|
2798
2798
|
display_name: z.string().optional(),
|
|
@@ -2845,7 +2845,7 @@ export const ResponseBodyMCPTool$outboundSchema: z.ZodType<
|
|
|
2845
2845
|
z.ZodTypeDef,
|
|
2846
2846
|
ResponseBodyMCPTool
|
|
2847
2847
|
> = z.object({
|
|
2848
|
-
id: z.string().default("
|
|
2848
|
+
id: z.string().default("tool_01KEFJDYD4GEV8ZGG030YC4AQ4"),
|
|
2849
2849
|
path: z.string(),
|
|
2850
2850
|
key: z.string(),
|
|
2851
2851
|
displayName: z.string().optional(),
|
|
@@ -3196,7 +3196,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
3196
3196
|
z.ZodTypeDef,
|
|
3197
3197
|
unknown
|
|
3198
3198
|
> = z.object({
|
|
3199
|
-
_id: z.string().default("
|
|
3199
|
+
_id: z.string().default("tool_01KEFJDYD13ZAPD2WAFEFV4JF2"),
|
|
3200
3200
|
path: z.string(),
|
|
3201
3201
|
key: z.string(),
|
|
3202
3202
|
display_name: z.string().optional(),
|
|
@@ -3247,7 +3247,7 @@ export const ResponseBodyHTTPTool$outboundSchema: z.ZodType<
|
|
|
3247
3247
|
z.ZodTypeDef,
|
|
3248
3248
|
ResponseBodyHTTPTool
|
|
3249
3249
|
> = z.object({
|
|
3250
|
-
id: z.string().default("
|
|
3250
|
+
id: z.string().default("tool_01KEFJDYD13ZAPD2WAFEFV4JF2"),
|
|
3251
3251
|
path: z.string(),
|
|
3252
3252
|
key: z.string(),
|
|
3253
3253
|
displayName: z.string().optional(),
|
|
@@ -3412,7 +3412,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
3412
3412
|
z.ZodTypeDef,
|
|
3413
3413
|
unknown
|
|
3414
3414
|
> = z.object({
|
|
3415
|
-
_id: z.string().default("
|
|
3415
|
+
_id: z.string().default("tool_01KEFJDYCZV8C6C65WKBRQXP7K"),
|
|
3416
3416
|
path: z.string(),
|
|
3417
3417
|
key: z.string(),
|
|
3418
3418
|
display_name: z.string().optional(),
|
|
@@ -3464,7 +3464,7 @@ export const ResponseBodyJSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
3464
3464
|
z.ZodTypeDef,
|
|
3465
3465
|
ResponseBodyJSONSchemaTool
|
|
3466
3466
|
> = z.object({
|
|
3467
|
-
id: z.string().default("
|
|
3467
|
+
id: z.string().default("tool_01KEFJDYCZV8C6C65WKBRQXP7K"),
|
|
3468
3468
|
path: z.string(),
|
|
3469
3469
|
key: z.string(),
|
|
3470
3470
|
displayName: z.string().optional(),
|
|
@@ -3645,7 +3645,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
3645
3645
|
z.ZodTypeDef,
|
|
3646
3646
|
unknown
|
|
3647
3647
|
> = z.object({
|
|
3648
|
-
_id: z.string().default("
|
|
3648
|
+
_id: z.string().default("tool_01KEFJDYCXHFV56AK53CK9W9ZW"),
|
|
3649
3649
|
path: z.string(),
|
|
3650
3650
|
key: z.string(),
|
|
3651
3651
|
display_name: z.string().optional(),
|
|
@@ -3696,7 +3696,7 @@ export const ResponseBodyFunctionTool$outboundSchema: z.ZodType<
|
|
|
3696
3696
|
z.ZodTypeDef,
|
|
3697
3697
|
ResponseBodyFunctionTool
|
|
3698
3698
|
> = z.object({
|
|
3699
|
-
id: z.string().default("
|
|
3699
|
+
id: z.string().default("tool_01KEFJDYCXHFV56AK53CK9W9ZW"),
|
|
3700
3700
|
path: z.string(),
|
|
3701
3701
|
key: z.string(),
|
|
3702
3702
|
displayName: z.string().optional(),
|
|
@@ -16,7 +16,7 @@ export type DeleteMemoryRequest = {
|
|
|
16
16
|
/**
|
|
17
17
|
* The unique identifier of the memory
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
memoryEntityId: string;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
/** @internal */
|
|
@@ -26,17 +26,17 @@ export const DeleteMemoryRequest$inboundSchema: z.ZodType<
|
|
|
26
26
|
unknown
|
|
27
27
|
> = z.object({
|
|
28
28
|
memory_store_key: z.string(),
|
|
29
|
-
|
|
29
|
+
memory_entity_id: z.string(),
|
|
30
30
|
}).transform((v) => {
|
|
31
31
|
return remap$(v, {
|
|
32
32
|
"memory_store_key": "memoryStoreKey",
|
|
33
|
-
"
|
|
33
|
+
"memory_entity_id": "memoryEntityId",
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
36
|
/** @internal */
|
|
37
37
|
export type DeleteMemoryRequest$Outbound = {
|
|
38
38
|
memory_store_key: string;
|
|
39
|
-
|
|
39
|
+
memory_entity_id: string;
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
/** @internal */
|
|
@@ -46,11 +46,11 @@ export const DeleteMemoryRequest$outboundSchema: z.ZodType<
|
|
|
46
46
|
DeleteMemoryRequest
|
|
47
47
|
> = z.object({
|
|
48
48
|
memoryStoreKey: z.string(),
|
|
49
|
-
|
|
49
|
+
memoryEntityId: z.string(),
|
|
50
50
|
}).transform((v) => {
|
|
51
51
|
return remap$(v, {
|
|
52
52
|
memoryStoreKey: "memory_store_key",
|
|
53
|
-
|
|
53
|
+
memoryEntityId: "memory_entity_id",
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
56
|
|
|
@@ -16,7 +16,7 @@ export type DeleteMemoryDocumentRequest = {
|
|
|
16
16
|
/**
|
|
17
17
|
* The unique identifier of the memory
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
memoryEntityId: string;
|
|
20
20
|
/**
|
|
21
21
|
* The unique identifier of the document
|
|
22
22
|
*/
|
|
@@ -30,19 +30,19 @@ export const DeleteMemoryDocumentRequest$inboundSchema: z.ZodType<
|
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
32
32
|
memory_store_key: z.string(),
|
|
33
|
-
|
|
33
|
+
memory_entity_id: z.string(),
|
|
34
34
|
document_id: z.string(),
|
|
35
35
|
}).transform((v) => {
|
|
36
36
|
return remap$(v, {
|
|
37
37
|
"memory_store_key": "memoryStoreKey",
|
|
38
|
-
"
|
|
38
|
+
"memory_entity_id": "memoryEntityId",
|
|
39
39
|
"document_id": "documentId",
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
42
|
/** @internal */
|
|
43
43
|
export type DeleteMemoryDocumentRequest$Outbound = {
|
|
44
44
|
memory_store_key: string;
|
|
45
|
-
|
|
45
|
+
memory_entity_id: string;
|
|
46
46
|
document_id: string;
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -53,12 +53,12 @@ export const DeleteMemoryDocumentRequest$outboundSchema: z.ZodType<
|
|
|
53
53
|
DeleteMemoryDocumentRequest
|
|
54
54
|
> = z.object({
|
|
55
55
|
memoryStoreKey: z.string(),
|
|
56
|
-
|
|
56
|
+
memoryEntityId: z.string(),
|
|
57
57
|
documentId: z.string(),
|
|
58
58
|
}).transform((v) => {
|
|
59
59
|
return remap$(v, {
|
|
60
60
|
memoryStoreKey: "memory_store_key",
|
|
61
|
-
|
|
61
|
+
memoryEntityId: "memory_entity_id",
|
|
62
62
|
documentId: "document_id",
|
|
63
63
|
});
|
|
64
64
|
});
|
|
@@ -119,7 +119,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
119
119
|
file_name: z.string(),
|
|
120
120
|
workspace_id: z.string(),
|
|
121
121
|
created: z.string().datetime({ offset: true }).default(
|
|
122
|
-
"2026-01-
|
|
122
|
+
"2026-01-08T19:48:01.595Z",
|
|
123
123
|
).transform(v => new Date(v)),
|
|
124
124
|
}).transform((v) => {
|
|
125
125
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
152
152
|
bytes: z.number(),
|
|
153
153
|
fileName: z.string(),
|
|
154
154
|
workspaceId: z.string(),
|
|
155
|
-
created: z.date().default(() => new Date("2026-01-
|
|
155
|
+
created: z.date().default(() => new Date("2026-01-08T19:48:01.595Z"))
|
|
156
156
|
.transform(v => v.toISOString()),
|
|
157
157
|
}).transform((v) => {
|
|
158
158
|
return remap$(v, {
|
|
@@ -157,7 +157,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
157
157
|
file_name: z.string(),
|
|
158
158
|
workspace_id: z.string(),
|
|
159
159
|
created: z.string().datetime({ offset: true }).default(
|
|
160
|
-
"2026-01-
|
|
160
|
+
"2026-01-08T19:48:01.595Z",
|
|
161
161
|
).transform(v => new Date(v)),
|
|
162
162
|
}).transform((v) => {
|
|
163
163
|
return remap$(v, {
|
|
@@ -190,7 +190,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
190
190
|
bytes: z.number(),
|
|
191
191
|
fileName: z.string(),
|
|
192
192
|
workspaceId: z.string(),
|
|
193
|
-
created: z.date().default(() => new Date("2026-01-
|
|
193
|
+
created: z.date().default(() => new Date("2026-01-08T19:48:01.595Z"))
|
|
194
194
|
.transform(v => v.toISOString()),
|
|
195
195
|
}).transform((v) => {
|
|
196
196
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileUploadResponseBody$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
|
-
"2026-01-
|
|
199
|
+
"2026-01-08T19:48:01.595Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -229,7 +229,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
229
229
|
bytes: z.number(),
|
|
230
230
|
fileName: z.string(),
|
|
231
231
|
workspaceId: z.string(),
|
|
232
|
-
created: z.date().default(() => new Date("2026-01-
|
|
232
|
+
created: z.date().default(() => new Date("2026-01-08T19:48:01.595Z"))
|
|
233
233
|
.transform(v => v.toISOString()),
|
|
234
234
|
}).transform((v) => {
|
|
235
235
|
return remap$(v, {
|
|
@@ -248,7 +248,7 @@ export const GenerateConversationNameResponseBody$inboundSchema: z.ZodType<
|
|
|
248
248
|
z.ZodTypeDef,
|
|
249
249
|
unknown
|
|
250
250
|
> = z.object({
|
|
251
|
-
_id: z.string().default("
|
|
251
|
+
_id: z.string().default("conv_01kefjdy5ey2wtyv78b4bjtyx3"),
|
|
252
252
|
entityId: z.string(),
|
|
253
253
|
kind: GenerateConversationNameKind$inboundSchema,
|
|
254
254
|
displayName: z.string(),
|
|
@@ -282,7 +282,7 @@ export const GenerateConversationNameResponseBody$outboundSchema: z.ZodType<
|
|
|
282
282
|
z.ZodTypeDef,
|
|
283
283
|
GenerateConversationNameResponseBody
|
|
284
284
|
> = z.object({
|
|
285
|
-
id: z.string().default("
|
|
285
|
+
id: z.string().default("conv_01kefjdy5ey2wtyv78b4bjtyx3"),
|
|
286
286
|
entityId: z.string(),
|
|
287
287
|
kind: GenerateConversationNameKind$outboundSchema,
|
|
288
288
|
displayName: z.string(),
|
|
@@ -40,7 +40,9 @@ export type GetAllMemoriesObject = ClosedEnum<typeof GetAllMemoriesObject>;
|
|
|
40
40
|
export type GetAllMemoriesData = {
|
|
41
41
|
id: string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* This property have been deprecated and moved to `_id`. Please refer to `_id` for future operations
|
|
44
|
+
*
|
|
45
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
44
46
|
*/
|
|
45
47
|
entityId: string;
|
|
46
48
|
created: string;
|
|
@@ -48,10 +50,6 @@ export type GetAllMemoriesData = {
|
|
|
48
50
|
createdById?: string | null | undefined;
|
|
49
51
|
updatedById?: string | null | undefined;
|
|
50
52
|
storeId: string;
|
|
51
|
-
/**
|
|
52
|
-
* Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory access based on their specific needs (e.g., user segments, topics, contexts, or any custom taxonomy).
|
|
53
|
-
*/
|
|
54
|
-
metadata: { [k: string]: string };
|
|
55
53
|
workspaceId: string;
|
|
56
54
|
/**
|
|
57
55
|
* The number of memories in the entity
|
|
@@ -153,7 +151,6 @@ export const GetAllMemoriesData$inboundSchema: z.ZodType<
|
|
|
153
151
|
created_by_id: z.nullable(z.string()).optional(),
|
|
154
152
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
155
153
|
store_id: z.string(),
|
|
156
|
-
metadata: z.record(z.string()),
|
|
157
154
|
workspace_id: z.string(),
|
|
158
155
|
documents_count: z.number(),
|
|
159
156
|
}).transform((v) => {
|
|
@@ -176,7 +173,6 @@ export type GetAllMemoriesData$Outbound = {
|
|
|
176
173
|
created_by_id?: string | null | undefined;
|
|
177
174
|
updated_by_id?: string | null | undefined;
|
|
178
175
|
store_id: string;
|
|
179
|
-
metadata: { [k: string]: string };
|
|
180
176
|
workspace_id: string;
|
|
181
177
|
documents_count: number;
|
|
182
178
|
};
|
|
@@ -194,7 +190,6 @@ export const GetAllMemoriesData$outboundSchema: z.ZodType<
|
|
|
194
190
|
createdById: z.nullable(z.string()).optional(),
|
|
195
191
|
updatedById: z.nullable(z.string()).optional(),
|
|
196
192
|
storeId: z.string(),
|
|
197
|
-
metadata: z.record(z.string()),
|
|
198
193
|
workspaceId: z.string(),
|
|
199
194
|
documentsCount: z.number(),
|
|
200
195
|
}).transform((v) => {
|
|
@@ -17,7 +17,7 @@ export type GetAllMemoryDocumentsRequest = {
|
|
|
17
17
|
/**
|
|
18
18
|
* The unique identifier of the memory
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
memoryEntityId: string;
|
|
21
21
|
/**
|
|
22
22
|
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
23
23
|
*/
|
|
@@ -82,7 +82,7 @@ export const GetAllMemoryDocumentsRequest$inboundSchema: z.ZodType<
|
|
|
82
82
|
unknown
|
|
83
83
|
> = z.object({
|
|
84
84
|
memory_store_key: z.string(),
|
|
85
|
-
|
|
85
|
+
memory_entity_id: z.string(),
|
|
86
86
|
limit: z.number().default(10),
|
|
87
87
|
starting_after: z.string().optional(),
|
|
88
88
|
ending_before: z.string().optional(),
|
|
@@ -95,7 +95,7 @@ export const GetAllMemoryDocumentsRequest$inboundSchema: z.ZodType<
|
|
|
95
95
|
}).transform((v) => {
|
|
96
96
|
return remap$(v, {
|
|
97
97
|
"memory_store_key": "memoryStoreKey",
|
|
98
|
-
"
|
|
98
|
+
"memory_entity_id": "memoryEntityId",
|
|
99
99
|
"starting_after": "startingAfter",
|
|
100
100
|
"ending_before": "endingBefore",
|
|
101
101
|
"updated_after": "updatedAfter",
|
|
@@ -105,7 +105,7 @@ export const GetAllMemoryDocumentsRequest$inboundSchema: z.ZodType<
|
|
|
105
105
|
/** @internal */
|
|
106
106
|
export type GetAllMemoryDocumentsRequest$Outbound = {
|
|
107
107
|
memory_store_key: string;
|
|
108
|
-
|
|
108
|
+
memory_entity_id: string;
|
|
109
109
|
limit: number;
|
|
110
110
|
starting_after?: string | undefined;
|
|
111
111
|
ending_before?: string | undefined;
|
|
@@ -120,7 +120,7 @@ export const GetAllMemoryDocumentsRequest$outboundSchema: z.ZodType<
|
|
|
120
120
|
GetAllMemoryDocumentsRequest
|
|
121
121
|
> = z.object({
|
|
122
122
|
memoryStoreKey: z.string(),
|
|
123
|
-
|
|
123
|
+
memoryEntityId: z.string(),
|
|
124
124
|
limit: z.number().default(10),
|
|
125
125
|
startingAfter: z.string().optional(),
|
|
126
126
|
endingBefore: z.string().optional(),
|
|
@@ -129,7 +129,7 @@ export const GetAllMemoryDocumentsRequest$outboundSchema: z.ZodType<
|
|
|
129
129
|
}).transform((v) => {
|
|
130
130
|
return remap$(v, {
|
|
131
131
|
memoryStoreKey: "memory_store_key",
|
|
132
|
-
|
|
132
|
+
memoryEntityId: "memory_entity_id",
|
|
133
133
|
startingAfter: "starting_after",
|
|
134
134
|
endingBefore: "ending_before",
|
|
135
135
|
updatedAfter: "updated_after",
|
|
@@ -863,7 +863,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
863
863
|
z.ZodTypeDef,
|
|
864
864
|
unknown
|
|
865
865
|
> = z.object({
|
|
866
|
-
_id: z.string().default("
|
|
866
|
+
_id: z.string().default("tool_01KEFJDYCBJRPR7Y0XNCQJTTED"),
|
|
867
867
|
path: z.string(),
|
|
868
868
|
key: z.string(),
|
|
869
869
|
display_name: z.string().optional(),
|
|
@@ -915,7 +915,7 @@ export const DataCodeExecutionTool$outboundSchema: z.ZodType<
|
|
|
915
915
|
z.ZodTypeDef,
|
|
916
916
|
DataCodeExecutionTool
|
|
917
917
|
> = z.object({
|
|
918
|
-
id: z.string().default("
|
|
918
|
+
id: z.string().default("tool_01KEFJDYCBJRPR7Y0XNCQJTTED"),
|
|
919
919
|
path: z.string(),
|
|
920
920
|
key: z.string(),
|
|
921
921
|
displayName: z.string().optional(),
|
|
@@ -1074,7 +1074,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
1074
1074
|
z.ZodTypeDef,
|
|
1075
1075
|
unknown
|
|
1076
1076
|
> = z.object({
|
|
1077
|
-
id: z.string().default("
|
|
1077
|
+
id: z.string().default("01KEFJDYCAB7M3BPYRJP6FR8BC"),
|
|
1078
1078
|
name: z.string(),
|
|
1079
1079
|
description: z.string().optional(),
|
|
1080
1080
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -1093,7 +1093,7 @@ export const DataTools$outboundSchema: z.ZodType<
|
|
|
1093
1093
|
z.ZodTypeDef,
|
|
1094
1094
|
DataTools
|
|
1095
1095
|
> = z.object({
|
|
1096
|
-
id: z.string().default("
|
|
1096
|
+
id: z.string().default("01KEFJDYCAB7M3BPYRJP6FR8BC"),
|
|
1097
1097
|
name: z.string(),
|
|
1098
1098
|
description: z.string().optional(),
|
|
1099
1099
|
schema: z.lazy(() => GetAllToolsDataSchema$outboundSchema),
|
|
@@ -1178,7 +1178,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
1178
1178
|
z.ZodTypeDef,
|
|
1179
1179
|
unknown
|
|
1180
1180
|
> = z.object({
|
|
1181
|
-
_id: z.string().default("
|
|
1181
|
+
_id: z.string().default("tool_01KEFJDYC88VJYYE1WSS3HBJN9"),
|
|
1182
1182
|
path: z.string(),
|
|
1183
1183
|
key: z.string(),
|
|
1184
1184
|
display_name: z.string().optional(),
|
|
@@ -1229,7 +1229,7 @@ export const DataMCPTool$outboundSchema: z.ZodType<
|
|
|
1229
1229
|
z.ZodTypeDef,
|
|
1230
1230
|
DataMCPTool
|
|
1231
1231
|
> = z.object({
|
|
1232
|
-
id: z.string().default("
|
|
1232
|
+
id: z.string().default("tool_01KEFJDYC88VJYYE1WSS3HBJN9"),
|
|
1233
1233
|
path: z.string(),
|
|
1234
1234
|
key: z.string(),
|
|
1235
1235
|
displayName: z.string().optional(),
|
|
@@ -1563,7 +1563,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1563
1563
|
z.ZodTypeDef,
|
|
1564
1564
|
unknown
|
|
1565
1565
|
> = z.object({
|
|
1566
|
-
_id: z.string().default("
|
|
1566
|
+
_id: z.string().default("tool_01KEFJDYC6MXHPR26EPA8TBVQJ"),
|
|
1567
1567
|
path: z.string(),
|
|
1568
1568
|
key: z.string(),
|
|
1569
1569
|
display_name: z.string().optional(),
|
|
@@ -1614,7 +1614,7 @@ export const DataHTTPTool$outboundSchema: z.ZodType<
|
|
|
1614
1614
|
z.ZodTypeDef,
|
|
1615
1615
|
DataHTTPTool
|
|
1616
1616
|
> = z.object({
|
|
1617
|
-
id: z.string().default("
|
|
1617
|
+
id: z.string().default("tool_01KEFJDYC6MXHPR26EPA8TBVQJ"),
|
|
1618
1618
|
path: z.string(),
|
|
1619
1619
|
key: z.string(),
|
|
1620
1620
|
displayName: z.string().optional(),
|
|
@@ -1767,7 +1767,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1767
1767
|
z.ZodTypeDef,
|
|
1768
1768
|
unknown
|
|
1769
1769
|
> = z.object({
|
|
1770
|
-
_id: z.string().default("
|
|
1770
|
+
_id: z.string().default("tool_01KEFJDYC5QSYBSZ5MA7NGFG6Q"),
|
|
1771
1771
|
path: z.string(),
|
|
1772
1772
|
key: z.string(),
|
|
1773
1773
|
display_name: z.string().optional(),
|
|
@@ -1819,7 +1819,7 @@ export const DataJSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
1819
1819
|
z.ZodTypeDef,
|
|
1820
1820
|
DataJSONSchemaTool
|
|
1821
1821
|
> = z.object({
|
|
1822
|
-
id: z.string().default("
|
|
1822
|
+
id: z.string().default("tool_01KEFJDYC5QSYBSZ5MA7NGFG6Q"),
|
|
1823
1823
|
path: z.string(),
|
|
1824
1824
|
key: z.string(),
|
|
1825
1825
|
displayName: z.string().optional(),
|
|
@@ -1995,7 +1995,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1995
1995
|
z.ZodTypeDef,
|
|
1996
1996
|
unknown
|
|
1997
1997
|
> = z.object({
|
|
1998
|
-
_id: z.string().default("
|
|
1998
|
+
_id: z.string().default("tool_01KEFJDYC3XN5QDW6V1PNNJ80M"),
|
|
1999
1999
|
path: z.string(),
|
|
2000
2000
|
key: z.string(),
|
|
2001
2001
|
display_name: z.string().optional(),
|
|
@@ -2046,7 +2046,7 @@ export const DataFunctionTool$outboundSchema: z.ZodType<
|
|
|
2046
2046
|
z.ZodTypeDef,
|
|
2047
2047
|
DataFunctionTool
|
|
2048
2048
|
> = z.object({
|
|
2049
|
-
id: z.string().default("
|
|
2049
|
+
id: z.string().default("tool_01KEFJDYC3XN5QDW6V1PNNJ80M"),
|
|
2050
2050
|
path: z.string(),
|
|
2051
2051
|
key: z.string(),
|
|
2052
2052
|
displayName: z.string().optional(),
|