@orq-ai/node 4.1.8 → 4.1.10
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 +272 -316
- package/bin/mcp-server.js.map +59 -59
- 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/lib/config.js.map +1 -1
- package/lib/sdks.js +2 -2
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/server.js.map +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/lib/sdks.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/conversationresponse.ts +2 -2
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/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
|
@@ -16,7 +16,7 @@ export type RetrieveMemoryDocumentRequest = {
|
|
|
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
|
*/
|
|
@@ -52,19 +52,19 @@ export const RetrieveMemoryDocumentRequest$inboundSchema: z.ZodType<
|
|
|
52
52
|
unknown
|
|
53
53
|
> = z.object({
|
|
54
54
|
memory_store_key: z.string(),
|
|
55
|
-
|
|
55
|
+
memory_entity_id: z.string(),
|
|
56
56
|
document_id: z.string(),
|
|
57
57
|
}).transform((v) => {
|
|
58
58
|
return remap$(v, {
|
|
59
59
|
"memory_store_key": "memoryStoreKey",
|
|
60
|
-
"
|
|
60
|
+
"memory_entity_id": "memoryEntityId",
|
|
61
61
|
"document_id": "documentId",
|
|
62
62
|
});
|
|
63
63
|
});
|
|
64
64
|
/** @internal */
|
|
65
65
|
export type RetrieveMemoryDocumentRequest$Outbound = {
|
|
66
66
|
memory_store_key: string;
|
|
67
|
-
|
|
67
|
+
memory_entity_id: string;
|
|
68
68
|
document_id: string;
|
|
69
69
|
};
|
|
70
70
|
|
|
@@ -75,12 +75,12 @@ export const RetrieveMemoryDocumentRequest$outboundSchema: z.ZodType<
|
|
|
75
75
|
RetrieveMemoryDocumentRequest
|
|
76
76
|
> = z.object({
|
|
77
77
|
memoryStoreKey: z.string(),
|
|
78
|
-
|
|
78
|
+
memoryEntityId: z.string(),
|
|
79
79
|
documentId: z.string(),
|
|
80
80
|
}).transform((v) => {
|
|
81
81
|
return remap$(v, {
|
|
82
82
|
memoryStoreKey: "memory_store_key",
|
|
83
|
-
|
|
83
|
+
memoryEntityId: "memory_entity_id",
|
|
84
84
|
documentId: "document_id",
|
|
85
85
|
});
|
|
86
86
|
});
|
|
@@ -858,7 +858,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
858
858
|
z.ZodTypeDef,
|
|
859
859
|
unknown
|
|
860
860
|
> = z.object({
|
|
861
|
-
_id: z.string().default("
|
|
861
|
+
_id: z.string().default("tool_01KEH7ST0RT00J5A14RYK6S8PA"),
|
|
862
862
|
path: z.string(),
|
|
863
863
|
key: z.string(),
|
|
864
864
|
display_name: z.string().optional(),
|
|
@@ -913,7 +913,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$outboundSchema:
|
|
|
913
913
|
z.ZodTypeDef,
|
|
914
914
|
RetrieveToolResponseBodyCodeExecutionTool
|
|
915
915
|
> = z.object({
|
|
916
|
-
id: z.string().default("
|
|
916
|
+
id: z.string().default("tool_01KEH7ST0RT00J5A14RYK6S8PA"),
|
|
917
917
|
path: z.string(),
|
|
918
918
|
key: z.string(),
|
|
919
919
|
displayName: z.string().optional(),
|
|
@@ -1092,7 +1092,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1092
1092
|
z.ZodTypeDef,
|
|
1093
1093
|
unknown
|
|
1094
1094
|
> = z.object({
|
|
1095
|
-
id: z.string().default("
|
|
1095
|
+
id: z.string().default("01KEH7ST0Q0V55G3WARKDN4AHB"),
|
|
1096
1096
|
name: z.string(),
|
|
1097
1097
|
description: z.string().optional(),
|
|
1098
1098
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -1111,7 +1111,7 @@ export const RetrieveToolResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
1111
1111
|
z.ZodTypeDef,
|
|
1112
1112
|
RetrieveToolResponseBodyTools
|
|
1113
1113
|
> = z.object({
|
|
1114
|
-
id: z.string().default("
|
|
1114
|
+
id: z.string().default("01KEH7ST0Q0V55G3WARKDN4AHB"),
|
|
1115
1115
|
name: z.string(),
|
|
1116
1116
|
description: z.string().optional(),
|
|
1117
1117
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -1217,7 +1217,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
1217
1217
|
z.ZodTypeDef,
|
|
1218
1218
|
unknown
|
|
1219
1219
|
> = z.object({
|
|
1220
|
-
_id: z.string().default("
|
|
1220
|
+
_id: z.string().default("tool_01KEH7ST0PMQPM2BS0798J1765"),
|
|
1221
1221
|
path: z.string(),
|
|
1222
1222
|
key: z.string(),
|
|
1223
1223
|
display_name: z.string().optional(),
|
|
@@ -1270,7 +1270,7 @@ export const RetrieveToolResponseBodyMCPTool$outboundSchema: z.ZodType<
|
|
|
1270
1270
|
z.ZodTypeDef,
|
|
1271
1271
|
RetrieveToolResponseBodyMCPTool
|
|
1272
1272
|
> = z.object({
|
|
1273
|
-
id: z.string().default("
|
|
1273
|
+
id: z.string().default("tool_01KEH7ST0PMQPM2BS0798J1765"),
|
|
1274
1274
|
path: z.string(),
|
|
1275
1275
|
key: z.string(),
|
|
1276
1276
|
displayName: z.string().optional(),
|
|
@@ -1641,7 +1641,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1641
1641
|
z.ZodTypeDef,
|
|
1642
1642
|
unknown
|
|
1643
1643
|
> = z.object({
|
|
1644
|
-
_id: z.string().default("
|
|
1644
|
+
_id: z.string().default("tool_01KEH7ST0MAXBFMWC0WK9KR40P"),
|
|
1645
1645
|
path: z.string(),
|
|
1646
1646
|
key: z.string(),
|
|
1647
1647
|
display_name: z.string().optional(),
|
|
@@ -1694,7 +1694,7 @@ export const RetrieveToolResponseBodyHTTPTool$outboundSchema: z.ZodType<
|
|
|
1694
1694
|
z.ZodTypeDef,
|
|
1695
1695
|
RetrieveToolResponseBodyHTTPTool
|
|
1696
1696
|
> = z.object({
|
|
1697
|
-
id: z.string().default("
|
|
1697
|
+
id: z.string().default("tool_01KEH7ST0MAXBFMWC0WK9KR40P"),
|
|
1698
1698
|
path: z.string(),
|
|
1699
1699
|
key: z.string(),
|
|
1700
1700
|
displayName: z.string().optional(),
|
|
@@ -1868,7 +1868,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1868
1868
|
z.ZodTypeDef,
|
|
1869
1869
|
unknown
|
|
1870
1870
|
> = z.object({
|
|
1871
|
-
_id: z.string().default("
|
|
1871
|
+
_id: z.string().default("tool_01KEH7ST0KZBK1V9BXVKKZZ3S2"),
|
|
1872
1872
|
path: z.string(),
|
|
1873
1873
|
key: z.string(),
|
|
1874
1874
|
display_name: z.string().optional(),
|
|
@@ -1920,7 +1920,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
1920
1920
|
z.ZodTypeDef,
|
|
1921
1921
|
RetrieveToolResponseBodyJSONSchemaTool
|
|
1922
1922
|
> = z.object({
|
|
1923
|
-
id: z.string().default("
|
|
1923
|
+
id: z.string().default("tool_01KEH7ST0KZBK1V9BXVKKZZ3S2"),
|
|
1924
1924
|
path: z.string(),
|
|
1925
1925
|
key: z.string(),
|
|
1926
1926
|
displayName: z.string().optional(),
|
|
@@ -2113,7 +2113,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2113
2113
|
z.ZodTypeDef,
|
|
2114
2114
|
unknown
|
|
2115
2115
|
> = z.object({
|
|
2116
|
-
_id: z.string().default("
|
|
2116
|
+
_id: z.string().default("tool_01KEH7ST0HJ6W65SM7GC4V7GTC"),
|
|
2117
2117
|
path: z.string(),
|
|
2118
2118
|
key: z.string(),
|
|
2119
2119
|
display_name: z.string().optional(),
|
|
@@ -2164,7 +2164,7 @@ export const RetrieveToolResponseBodyFunctionTool$outboundSchema: z.ZodType<
|
|
|
2164
2164
|
z.ZodTypeDef,
|
|
2165
2165
|
RetrieveToolResponseBodyFunctionTool
|
|
2166
2166
|
> = z.object({
|
|
2167
|
-
id: z.string().default("
|
|
2167
|
+
id: z.string().default("tool_01KEH7ST0HJ6W65SM7GC4V7GTC"),
|
|
2168
2168
|
path: z.string(),
|
|
2169
2169
|
key: z.string(),
|
|
2170
2170
|
displayName: z.string().optional(),
|
|
@@ -4307,7 +4307,7 @@ export function schemaFromJSON(
|
|
|
4307
4307
|
/** @internal */
|
|
4308
4308
|
export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
|
|
4309
4309
|
.object({
|
|
4310
|
-
id: z.string().default("
|
|
4310
|
+
id: z.string().default("01KEH7SSKW4P3C4K5EP4YWSRB1"),
|
|
4311
4311
|
name: z.string(),
|
|
4312
4312
|
description: z.string().optional(),
|
|
4313
4313
|
schema: z.lazy(() => Schema$inboundSchema),
|
|
@@ -4326,7 +4326,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
4326
4326
|
z.ZodTypeDef,
|
|
4327
4327
|
Tools
|
|
4328
4328
|
> = z.object({
|
|
4329
|
-
id: z.string().default("
|
|
4329
|
+
id: z.string().default("01KEH7SSKW4P3C4K5EP4YWSRB1"),
|
|
4330
4330
|
name: z.string(),
|
|
4331
4331
|
description: z.string().optional(),
|
|
4332
4332
|
schema: z.lazy(() => Schema$outboundSchema),
|
|
@@ -4435,7 +4435,7 @@ export const AgentToolInputRunTools$inboundSchema: z.ZodType<
|
|
|
4435
4435
|
z.ZodTypeDef,
|
|
4436
4436
|
unknown
|
|
4437
4437
|
> = z.object({
|
|
4438
|
-
id: z.string().default("
|
|
4438
|
+
id: z.string().default("01KEH7SSNFYG5M9GWH18KG53WE"),
|
|
4439
4439
|
name: z.string(),
|
|
4440
4440
|
description: z.string().optional(),
|
|
4441
4441
|
schema: z.lazy(() => AgentToolInputRunSchema$inboundSchema),
|
|
@@ -4454,7 +4454,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
4454
4454
|
z.ZodTypeDef,
|
|
4455
4455
|
AgentToolInputRunTools
|
|
4456
4456
|
> = z.object({
|
|
4457
|
-
id: z.string().default("
|
|
4457
|
+
id: z.string().default("01KEH7SSNFYG5M9GWH18KG53WE"),
|
|
4458
4458
|
name: z.string(),
|
|
4459
4459
|
description: z.string().optional(),
|
|
4460
4460
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -214,7 +214,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
214
214
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
215
215
|
.optional(),
|
|
216
216
|
updated: z.string().datetime({ offset: true }).default(
|
|
217
|
-
"2026-01-
|
|
217
|
+
"2026-01-09T11:20:41.257Z",
|
|
218
218
|
).transform(v => new Date(v)),
|
|
219
219
|
}).transform((v) => {
|
|
220
220
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
tags: z.array(z.string()).optional(),
|
|
252
252
|
metadata: z.record(z.any()).optional(),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2026-01-
|
|
254
|
+
updated: z.date().default(() => new Date("2026-01-09T11:20:41.257Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -307,7 +307,7 @@ export const UpdateConversationResponseBody$inboundSchema: z.ZodType<
|
|
|
307
307
|
z.ZodTypeDef,
|
|
308
308
|
unknown
|
|
309
309
|
> = z.object({
|
|
310
|
-
_id: z.string().default("
|
|
310
|
+
_id: z.string().default("conv_01keh7ssqpg71gpmmzbrm7n0sf"),
|
|
311
311
|
entityId: z.string(),
|
|
312
312
|
kind: UpdateConversationKind$inboundSchema,
|
|
313
313
|
displayName: z.string(),
|
|
@@ -341,7 +341,7 @@ export const UpdateConversationResponseBody$outboundSchema: z.ZodType<
|
|
|
341
341
|
z.ZodTypeDef,
|
|
342
342
|
UpdateConversationResponseBody
|
|
343
343
|
> = z.object({
|
|
344
|
-
id: z.string().default("
|
|
344
|
+
id: z.string().default("conv_01keh7ssqpg71gpmmzbrm7n0sf"),
|
|
345
345
|
entityId: z.string(),
|
|
346
346
|
kind: UpdateConversationKind$outboundSchema,
|
|
347
347
|
displayName: z.string(),
|
|
@@ -3598,7 +3598,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
3598
3598
|
.default("orq"),
|
|
3599
3599
|
reviewed_by_id: z.string(),
|
|
3600
3600
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3601
|
-
"2026-01-
|
|
3601
|
+
"2026-01-09T11:20:53.805Z",
|
|
3602
3602
|
).transform(v => new Date(v)),
|
|
3603
3603
|
type: z.literal("string_array"),
|
|
3604
3604
|
values: z.array(z.string()),
|
|
@@ -3635,7 +3635,7 @@ export const UpdateDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
3635
3635
|
source: UpdateDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
3636
3636
|
.default("orq"),
|
|
3637
3637
|
reviewedById: z.string(),
|
|
3638
|
-
reviewedAt: z.date().default(() => new Date("2026-01-
|
|
3638
|
+
reviewedAt: z.date().default(() => new Date("2026-01-09T11:20:53.805Z"))
|
|
3639
3639
|
.transform(v => v.toISOString()),
|
|
3640
3640
|
type: z.literal("string_array"),
|
|
3641
3641
|
values: z.array(z.string()),
|
|
@@ -3698,7 +3698,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
3698
3698
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
3699
3699
|
reviewed_by_id: z.string(),
|
|
3700
3700
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3701
|
-
"2026-01-
|
|
3701
|
+
"2026-01-09T11:20:53.804Z",
|
|
3702
3702
|
).transform(v => new Date(v)),
|
|
3703
3703
|
type: z.literal("number"),
|
|
3704
3704
|
value: z.number(),
|
|
@@ -3736,7 +3736,7 @@ export const UpdateDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
3736
3736
|
"orq",
|
|
3737
3737
|
),
|
|
3738
3738
|
reviewedById: z.string(),
|
|
3739
|
-
reviewedAt: z.date().default(() => new Date("2026-01-
|
|
3739
|
+
reviewedAt: z.date().default(() => new Date("2026-01-09T11:20:53.804Z"))
|
|
3740
3740
|
.transform(v => v.toISOString()),
|
|
3741
3741
|
type: z.literal("number"),
|
|
3742
3742
|
value: z.number(),
|
|
@@ -3798,7 +3798,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
3798
3798
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
3799
3799
|
reviewed_by_id: z.string(),
|
|
3800
3800
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3801
|
-
"2026-01-
|
|
3801
|
+
"2026-01-09T11:20:53.803Z",
|
|
3802
3802
|
).transform(v => new Date(v)),
|
|
3803
3803
|
type: z.literal("string"),
|
|
3804
3804
|
value: z.string(),
|
|
@@ -3833,7 +3833,7 @@ export const UpdateDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
3833
3833
|
humanReviewId: z.string(),
|
|
3834
3834
|
source: UpdateDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
3835
3835
|
reviewedById: z.string(),
|
|
3836
|
-
reviewedAt: z.date().default(() => new Date("2026-01-
|
|
3836
|
+
reviewedAt: z.date().default(() => new Date("2026-01-09T11:20:53.803Z"))
|
|
3837
3837
|
.transform(v => v.toISOString()),
|
|
3838
3838
|
type: z.literal("string"),
|
|
3839
3839
|
value: z.string(),
|
|
@@ -3946,7 +3946,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
3946
3946
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3947
3947
|
.optional(),
|
|
3948
3948
|
updated: z.string().datetime({ offset: true }).default(
|
|
3949
|
-
"2026-01-
|
|
3949
|
+
"2026-01-09T11:20:41.257Z",
|
|
3950
3950
|
).transform(v => new Date(v)),
|
|
3951
3951
|
}).transform((v) => {
|
|
3952
3952
|
return remap$(v, {
|
|
@@ -4024,7 +4024,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
4024
4024
|
createdById: z.string().optional(),
|
|
4025
4025
|
updatedById: z.string().optional(),
|
|
4026
4026
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
4027
|
-
updated: z.date().default(() => new Date("2026-01-
|
|
4027
|
+
updated: z.date().default(() => new Date("2026-01-09T11:20:41.257Z"))
|
|
4028
4028
|
.transform(v => v.toISOString()),
|
|
4029
4029
|
}).transform((v) => {
|
|
4030
4030
|
return remap$(v, {
|
|
@@ -256,7 +256,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
256
256
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
257
257
|
.optional(),
|
|
258
258
|
updated: z.string().datetime({ offset: true }).default(
|
|
259
|
-
"2026-01-
|
|
259
|
+
"2026-01-09T11:20:41.257Z",
|
|
260
260
|
).transform(v => new Date(v)),
|
|
261
261
|
}).transform((v) => {
|
|
262
262
|
return remap$(v, {
|
|
@@ -295,7 +295,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
295
295
|
createdById: z.string().optional(),
|
|
296
296
|
updatedById: z.string().optional(),
|
|
297
297
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
298
|
-
updated: z.date().default(() => new Date("2026-01-
|
|
298
|
+
updated: z.date().default(() => new Date("2026-01-09T11:20:41.257Z"))
|
|
299
299
|
.transform(v => v.toISOString()),
|
|
300
300
|
}).transform((v) => {
|
|
301
301
|
return remap$(v, {
|
|
@@ -202,7 +202,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
202
202
|
z.ZodTypeDef,
|
|
203
203
|
unknown
|
|
204
204
|
> = z.object({
|
|
205
|
-
_id: z.string().default("
|
|
205
|
+
_id: z.string().default("01KEH7ST51HSEG4NP5XKVJB5HQ"),
|
|
206
206
|
display_name: z.string(),
|
|
207
207
|
description: z.string().optional(),
|
|
208
208
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -245,7 +245,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
245
245
|
z.ZodTypeDef,
|
|
246
246
|
UpdateDatasourceResponseBody
|
|
247
247
|
> = z.object({
|
|
248
|
-
id: z.string().default("
|
|
248
|
+
id: z.string().default("01KEH7ST51HSEG4NP5XKVJB5HQ"),
|
|
249
249
|
displayName: z.string(),
|
|
250
250
|
description: z.string().optional(),
|
|
251
251
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -2345,8 +2345,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
2345
2345
|
> = z.object({
|
|
2346
2346
|
_id: z.string(),
|
|
2347
2347
|
description: z.string(),
|
|
2348
|
-
created: z.string().default("2026-01-
|
|
2349
|
-
updated: z.string().default("2026-01-
|
|
2348
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
2349
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
2350
2350
|
guardrail_config: z.union([
|
|
2351
2351
|
z.lazy(() =>
|
|
2352
2352
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema
|
|
@@ -2387,8 +2387,8 @@ export const ResponseBodyTypescript$outboundSchema: z.ZodType<
|
|
|
2387
2387
|
> = z.object({
|
|
2388
2388
|
id: z.string(),
|
|
2389
2389
|
description: z.string(),
|
|
2390
|
-
created: z.string().default("2026-01-
|
|
2391
|
-
updated: z.string().default("2026-01-
|
|
2390
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
2391
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
2392
2392
|
guardrailConfig: z.union([
|
|
2393
2393
|
z.lazy(() =>
|
|
2394
2394
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$outboundSchema
|
|
@@ -2656,8 +2656,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
2656
2656
|
> = z.object({
|
|
2657
2657
|
_id: z.string(),
|
|
2658
2658
|
description: z.string(),
|
|
2659
|
-
created: z.string().default("2026-01-
|
|
2660
|
-
updated: z.string().default("2026-01-
|
|
2659
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
2660
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
2661
2661
|
guardrail_config: z.union([
|
|
2662
2662
|
z.lazy(() =>
|
|
2663
2663
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema
|
|
@@ -2701,8 +2701,8 @@ export const ResponseBodyRagas$outboundSchema: z.ZodType<
|
|
|
2701
2701
|
> = z.object({
|
|
2702
2702
|
id: z.string(),
|
|
2703
2703
|
description: z.string(),
|
|
2704
|
-
created: z.string().default("2026-01-
|
|
2705
|
-
updated: z.string().default("2026-01-
|
|
2704
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
2705
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
2706
2706
|
guardrailConfig: z.union([
|
|
2707
2707
|
z.lazy(() =>
|
|
2708
2708
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$outboundSchema
|
|
@@ -4360,8 +4360,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
4360
4360
|
> = z.object({
|
|
4361
4361
|
_id: z.string(),
|
|
4362
4362
|
description: z.string(),
|
|
4363
|
-
created: z.string().default("2026-01-
|
|
4364
|
-
updated: z.string().default("2026-01-
|
|
4363
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
4364
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
4365
4365
|
guardrail_config: z.union([
|
|
4366
4366
|
z.lazy(() =>
|
|
4367
4367
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$inboundSchema
|
|
@@ -4468,8 +4468,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
4468
4468
|
> = z.object({
|
|
4469
4469
|
id: z.string(),
|
|
4470
4470
|
description: z.string(),
|
|
4471
|
-
created: z.string().default("2026-01-
|
|
4472
|
-
updated: z.string().default("2026-01-
|
|
4471
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
4472
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
4473
4473
|
guardrailConfig: z.union([
|
|
4474
4474
|
z.lazy(() =>
|
|
4475
4475
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$outboundSchema
|
|
@@ -4762,8 +4762,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
4762
4762
|
> = z.object({
|
|
4763
4763
|
_id: z.string(),
|
|
4764
4764
|
description: z.string(),
|
|
4765
|
-
created: z.string().default("2026-01-
|
|
4766
|
-
updated: z.string().default("2026-01-
|
|
4765
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
4766
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
4767
4767
|
guardrail_config: z.union([
|
|
4768
4768
|
z.lazy(() =>
|
|
4769
4769
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -4804,8 +4804,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
4804
4804
|
> = z.object({
|
|
4805
4805
|
id: z.string(),
|
|
4806
4806
|
description: z.string(),
|
|
4807
|
-
created: z.string().default("2026-01-
|
|
4808
|
-
updated: z.string().default("2026-01-
|
|
4807
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
4808
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
4809
4809
|
guardrailConfig: z.union([
|
|
4810
4810
|
z.lazy(() =>
|
|
4811
4811
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema
|
|
@@ -5071,8 +5071,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
5071
5071
|
> = z.object({
|
|
5072
5072
|
_id: z.string(),
|
|
5073
5073
|
description: z.string(),
|
|
5074
|
-
created: z.string().default("2026-01-
|
|
5075
|
-
updated: z.string().default("2026-01-
|
|
5074
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5075
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5076
5076
|
guardrail_config: z.union([
|
|
5077
5077
|
z.lazy(() =>
|
|
5078
5078
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -5119,8 +5119,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
5119
5119
|
> = z.object({
|
|
5120
5120
|
id: z.string(),
|
|
5121
5121
|
description: z.string(),
|
|
5122
|
-
created: z.string().default("2026-01-
|
|
5123
|
-
updated: z.string().default("2026-01-
|
|
5122
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5123
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5124
5124
|
guardrailConfig: z.union([
|
|
5125
5125
|
z.lazy(() =>
|
|
5126
5126
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema
|
|
@@ -5370,8 +5370,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
5370
5370
|
> = z.object({
|
|
5371
5371
|
_id: z.string(),
|
|
5372
5372
|
description: z.string(),
|
|
5373
|
-
created: z.string().default("2026-01-
|
|
5374
|
-
updated: z.string().default("2026-01-
|
|
5373
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5374
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5375
5375
|
guardrail_config: z.union([
|
|
5376
5376
|
z.lazy(() =>
|
|
5377
5377
|
UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -5410,8 +5410,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
5410
5410
|
> = z.object({
|
|
5411
5411
|
id: z.string(),
|
|
5412
5412
|
description: z.string(),
|
|
5413
|
-
created: z.string().default("2026-01-
|
|
5414
|
-
updated: z.string().default("2026-01-
|
|
5413
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5414
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5415
5415
|
guardrailConfig: z.union([
|
|
5416
5416
|
z.lazy(() =>
|
|
5417
5417
|
UpdateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema
|
|
@@ -5645,8 +5645,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
5645
5645
|
> = z.object({
|
|
5646
5646
|
_id: z.string(),
|
|
5647
5647
|
description: z.string(),
|
|
5648
|
-
created: z.string().default("2026-01-
|
|
5649
|
-
updated: z.string().default("2026-01-
|
|
5648
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5649
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5650
5650
|
guardrail_config: z.union([
|
|
5651
5651
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
5652
5652
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -5685,8 +5685,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
5685
5685
|
> = z.object({
|
|
5686
5686
|
id: z.string(),
|
|
5687
5687
|
description: z.string(),
|
|
5688
|
-
created: z.string().default("2026-01-
|
|
5689
|
-
updated: z.string().default("2026-01-
|
|
5688
|
+
created: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5689
|
+
updated: z.string().default("2026-01-09T11:20:43.618Z"),
|
|
5690
5690
|
guardrailConfig: z.union([
|
|
5691
5691
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
5692
5692
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
@@ -9,13 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type UpdateMemoryRequestBody = {
|
|
12
|
-
/**
|
|
13
|
-
* Unique identifier for the entity this memory is associated with (e.g., user ID, session ID, conversation ID).
|
|
14
|
-
*/
|
|
15
|
-
entityId: string;
|
|
16
|
-
/**
|
|
17
|
-
* 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).
|
|
18
|
-
*/
|
|
19
12
|
metadata?: { [k: string]: string } | undefined;
|
|
20
13
|
};
|
|
21
14
|
|
|
@@ -27,7 +20,7 @@ export type UpdateMemoryRequest = {
|
|
|
27
20
|
/**
|
|
28
21
|
* The unique identifier of the memory
|
|
29
22
|
*/
|
|
30
|
-
|
|
23
|
+
memoryEntityId: string;
|
|
31
24
|
requestBody?: UpdateMemoryRequestBody | undefined;
|
|
32
25
|
};
|
|
33
26
|
|
|
@@ -37,7 +30,9 @@ export type UpdateMemoryRequest = {
|
|
|
37
30
|
export type UpdateMemoryResponseBody = {
|
|
38
31
|
id: string;
|
|
39
32
|
/**
|
|
40
|
-
*
|
|
33
|
+
* This property have been deprecated and moved to `_id`. Please refer to `_id` for future operations
|
|
34
|
+
*
|
|
35
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
41
36
|
*/
|
|
42
37
|
entityId: string;
|
|
43
38
|
created: string;
|
|
@@ -45,10 +40,6 @@ export type UpdateMemoryResponseBody = {
|
|
|
45
40
|
createdById?: string | null | undefined;
|
|
46
41
|
updatedById?: string | null | undefined;
|
|
47
42
|
storeId: string;
|
|
48
|
-
/**
|
|
49
|
-
* 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).
|
|
50
|
-
*/
|
|
51
|
-
metadata: { [k: string]: string };
|
|
52
43
|
workspaceId: string;
|
|
53
44
|
/**
|
|
54
45
|
* The number of memories in the entity
|
|
@@ -62,16 +53,10 @@ export const UpdateMemoryRequestBody$inboundSchema: z.ZodType<
|
|
|
62
53
|
z.ZodTypeDef,
|
|
63
54
|
unknown
|
|
64
55
|
> = z.object({
|
|
65
|
-
entity_id: z.string(),
|
|
66
56
|
metadata: z.record(z.string()).optional(),
|
|
67
|
-
}).transform((v) => {
|
|
68
|
-
return remap$(v, {
|
|
69
|
-
"entity_id": "entityId",
|
|
70
|
-
});
|
|
71
57
|
});
|
|
72
58
|
/** @internal */
|
|
73
59
|
export type UpdateMemoryRequestBody$Outbound = {
|
|
74
|
-
entity_id: string;
|
|
75
60
|
metadata?: { [k: string]: string } | undefined;
|
|
76
61
|
};
|
|
77
62
|
|
|
@@ -81,12 +66,7 @@ export const UpdateMemoryRequestBody$outboundSchema: z.ZodType<
|
|
|
81
66
|
z.ZodTypeDef,
|
|
82
67
|
UpdateMemoryRequestBody
|
|
83
68
|
> = z.object({
|
|
84
|
-
entityId: z.string(),
|
|
85
69
|
metadata: z.record(z.string()).optional(),
|
|
86
|
-
}).transform((v) => {
|
|
87
|
-
return remap$(v, {
|
|
88
|
-
entityId: "entity_id",
|
|
89
|
-
});
|
|
90
70
|
});
|
|
91
71
|
|
|
92
72
|
export function updateMemoryRequestBodyToJSON(
|
|
@@ -113,19 +93,19 @@ export const UpdateMemoryRequest$inboundSchema: z.ZodType<
|
|
|
113
93
|
unknown
|
|
114
94
|
> = z.object({
|
|
115
95
|
memory_store_key: z.string(),
|
|
116
|
-
|
|
96
|
+
memory_entity_id: z.string(),
|
|
117
97
|
RequestBody: z.lazy(() => UpdateMemoryRequestBody$inboundSchema).optional(),
|
|
118
98
|
}).transform((v) => {
|
|
119
99
|
return remap$(v, {
|
|
120
100
|
"memory_store_key": "memoryStoreKey",
|
|
121
|
-
"
|
|
101
|
+
"memory_entity_id": "memoryEntityId",
|
|
122
102
|
"RequestBody": "requestBody",
|
|
123
103
|
});
|
|
124
104
|
});
|
|
125
105
|
/** @internal */
|
|
126
106
|
export type UpdateMemoryRequest$Outbound = {
|
|
127
107
|
memory_store_key: string;
|
|
128
|
-
|
|
108
|
+
memory_entity_id: string;
|
|
129
109
|
RequestBody?: UpdateMemoryRequestBody$Outbound | undefined;
|
|
130
110
|
};
|
|
131
111
|
|
|
@@ -136,12 +116,12 @@ export const UpdateMemoryRequest$outboundSchema: z.ZodType<
|
|
|
136
116
|
UpdateMemoryRequest
|
|
137
117
|
> = z.object({
|
|
138
118
|
memoryStoreKey: z.string(),
|
|
139
|
-
|
|
119
|
+
memoryEntityId: z.string(),
|
|
140
120
|
requestBody: z.lazy(() => UpdateMemoryRequestBody$outboundSchema).optional(),
|
|
141
121
|
}).transform((v) => {
|
|
142
122
|
return remap$(v, {
|
|
143
123
|
memoryStoreKey: "memory_store_key",
|
|
144
|
-
|
|
124
|
+
memoryEntityId: "memory_entity_id",
|
|
145
125
|
requestBody: "RequestBody",
|
|
146
126
|
});
|
|
147
127
|
});
|
|
@@ -176,7 +156,6 @@ export const UpdateMemoryResponseBody$inboundSchema: z.ZodType<
|
|
|
176
156
|
created_by_id: z.nullable(z.string()).optional(),
|
|
177
157
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
178
158
|
store_id: z.string(),
|
|
179
|
-
metadata: z.record(z.string()),
|
|
180
159
|
workspace_id: z.string(),
|
|
181
160
|
documents_count: z.number(),
|
|
182
161
|
}).transform((v) => {
|
|
@@ -199,7 +178,6 @@ export type UpdateMemoryResponseBody$Outbound = {
|
|
|
199
178
|
created_by_id?: string | null | undefined;
|
|
200
179
|
updated_by_id?: string | null | undefined;
|
|
201
180
|
store_id: string;
|
|
202
|
-
metadata: { [k: string]: string };
|
|
203
181
|
workspace_id: string;
|
|
204
182
|
documents_count: number;
|
|
205
183
|
};
|
|
@@ -217,7 +195,6 @@ export const UpdateMemoryResponseBody$outboundSchema: z.ZodType<
|
|
|
217
195
|
createdById: z.nullable(z.string()).optional(),
|
|
218
196
|
updatedById: z.nullable(z.string()).optional(),
|
|
219
197
|
storeId: z.string(),
|
|
220
|
-
metadata: z.record(z.string()),
|
|
221
198
|
workspaceId: z.string(),
|
|
222
199
|
documentsCount: z.number(),
|
|
223
200
|
}).transform((v) => {
|