@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
|
@@ -92,10 +92,11 @@ async function $do(
|
|
|
92
92
|
const body = null;
|
|
93
93
|
|
|
94
94
|
const pathParams = {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
memory_entity_id: encodeSimple(
|
|
96
|
+
"memory_entity_id",
|
|
97
|
+
payload.memory_entity_id,
|
|
98
|
+
{ explode: false, charEncoding: "percent" },
|
|
99
|
+
),
|
|
99
100
|
memory_store_key: encodeSimple(
|
|
100
101
|
"memory_store_key",
|
|
101
102
|
payload.memory_store_key,
|
|
@@ -104,7 +105,7 @@ async function $do(
|
|
|
104
105
|
};
|
|
105
106
|
|
|
106
107
|
const path = pathToFunc(
|
|
107
|
-
"/v2/memory-stores/{memory_store_key}/memories/{
|
|
108
|
+
"/v2/memory-stores/{memory_store_key}/memories/{memory_entity_id}",
|
|
108
109
|
)(pathParams);
|
|
109
110
|
|
|
110
111
|
const headers = new Headers(compactMap({
|
|
@@ -87,10 +87,11 @@ async function $do(
|
|
|
87
87
|
const body = null;
|
|
88
88
|
|
|
89
89
|
const pathParams = {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
90
|
+
memory_entity_id: encodeSimple(
|
|
91
|
+
"memory_entity_id",
|
|
92
|
+
payload.memory_entity_id,
|
|
93
|
+
{ explode: false, charEncoding: "percent" },
|
|
94
|
+
),
|
|
94
95
|
memory_store_key: encodeSimple(
|
|
95
96
|
"memory_store_key",
|
|
96
97
|
payload.memory_store_key,
|
|
@@ -99,7 +100,7 @@ async function $do(
|
|
|
99
100
|
};
|
|
100
101
|
|
|
101
102
|
const path = pathToFunc(
|
|
102
|
-
"/v2/memory-stores/{memory_store_key}/memories/{
|
|
103
|
+
"/v2/memory-stores/{memory_store_key}/memories/{memory_entity_id}/documents",
|
|
103
104
|
)(pathParams);
|
|
104
105
|
|
|
105
106
|
const query = encodeFormQuery({
|
|
@@ -91,10 +91,11 @@ async function $do(
|
|
|
91
91
|
explode: false,
|
|
92
92
|
charEncoding: "percent",
|
|
93
93
|
}),
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
memory_entity_id: encodeSimple(
|
|
95
|
+
"memory_entity_id",
|
|
96
|
+
payload.memory_entity_id,
|
|
97
|
+
{ explode: false, charEncoding: "percent" },
|
|
98
|
+
),
|
|
98
99
|
memory_store_key: encodeSimple(
|
|
99
100
|
"memory_store_key",
|
|
100
101
|
payload.memory_store_key,
|
|
@@ -103,7 +104,7 @@ async function $do(
|
|
|
103
104
|
};
|
|
104
105
|
|
|
105
106
|
const path = pathToFunc(
|
|
106
|
-
"/v2/memory-stores/{memory_store_key}/memories/{
|
|
107
|
+
"/v2/memory-stores/{memory_store_key}/memories/{memory_entity_id}/documents/{document_id}",
|
|
107
108
|
)(pathParams);
|
|
108
109
|
|
|
109
110
|
const headers = new Headers(compactMap({
|
|
@@ -86,10 +86,11 @@ async function $do(
|
|
|
86
86
|
const body = null;
|
|
87
87
|
|
|
88
88
|
const pathParams = {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
memory_entity_id: encodeSimple(
|
|
90
|
+
"memory_entity_id",
|
|
91
|
+
payload.memory_entity_id,
|
|
92
|
+
{ explode: false, charEncoding: "percent" },
|
|
93
|
+
),
|
|
93
94
|
memory_store_key: encodeSimple(
|
|
94
95
|
"memory_store_key",
|
|
95
96
|
payload.memory_store_key,
|
|
@@ -98,7 +99,7 @@ async function $do(
|
|
|
98
99
|
};
|
|
99
100
|
|
|
100
101
|
const path = pathToFunc(
|
|
101
|
-
"/v2/memory-stores/{memory_store_key}/memories/{
|
|
102
|
+
"/v2/memory-stores/{memory_store_key}/memories/{memory_entity_id}",
|
|
102
103
|
)(pathParams);
|
|
103
104
|
|
|
104
105
|
const headers = new Headers(compactMap({
|
|
@@ -91,10 +91,11 @@ async function $do(
|
|
|
91
91
|
explode: false,
|
|
92
92
|
charEncoding: "percent",
|
|
93
93
|
}),
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
memory_entity_id: encodeSimple(
|
|
95
|
+
"memory_entity_id",
|
|
96
|
+
payload.memory_entity_id,
|
|
97
|
+
{ explode: false, charEncoding: "percent" },
|
|
98
|
+
),
|
|
98
99
|
memory_store_key: encodeSimple(
|
|
99
100
|
"memory_store_key",
|
|
100
101
|
payload.memory_store_key,
|
|
@@ -103,7 +104,7 @@ async function $do(
|
|
|
103
104
|
};
|
|
104
105
|
|
|
105
106
|
const path = pathToFunc(
|
|
106
|
-
"/v2/memory-stores/{memory_store_key}/memories/{
|
|
107
|
+
"/v2/memory-stores/{memory_store_key}/memories/{memory_entity_id}/documents/{document_id}",
|
|
107
108
|
)(pathParams);
|
|
108
109
|
|
|
109
110
|
const headers = new Headers(compactMap({
|
|
@@ -86,10 +86,11 @@ async function $do(
|
|
|
86
86
|
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
87
87
|
|
|
88
88
|
const pathParams = {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
memory_entity_id: encodeSimple(
|
|
90
|
+
"memory_entity_id",
|
|
91
|
+
payload.memory_entity_id,
|
|
92
|
+
{ explode: false, charEncoding: "percent" },
|
|
93
|
+
),
|
|
93
94
|
memory_store_key: encodeSimple(
|
|
94
95
|
"memory_store_key",
|
|
95
96
|
payload.memory_store_key,
|
|
@@ -98,7 +99,7 @@ async function $do(
|
|
|
98
99
|
};
|
|
99
100
|
|
|
100
101
|
const path = pathToFunc(
|
|
101
|
-
"/v2/memory-stores/{memory_store_key}/memories/{
|
|
102
|
+
"/v2/memory-stores/{memory_store_key}/memories/{memory_entity_id}",
|
|
102
103
|
)(pathParams);
|
|
103
104
|
|
|
104
105
|
const headers = new Headers(compactMap({
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "4.1.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 4.1.
|
|
71
|
+
sdkVersion: "4.1.9",
|
|
72
|
+
genVersion: "2.792.0",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 4.1.9 2.792.0 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -128,7 +128,7 @@ export const ConversationResponse$inboundSchema: z.ZodType<
|
|
|
128
128
|
z.ZodTypeDef,
|
|
129
129
|
unknown
|
|
130
130
|
> = z.object({
|
|
131
|
-
_id: z.string().default("
|
|
131
|
+
_id: z.string().default("conv_01kefjdy5aw26j7hpxezn7a7za"),
|
|
132
132
|
entityId: z.string(),
|
|
133
133
|
kind: ConversationResponseKind$inboundSchema,
|
|
134
134
|
displayName: z.string(),
|
|
@@ -161,7 +161,7 @@ export const ConversationResponse$outboundSchema: z.ZodType<
|
|
|
161
161
|
z.ZodTypeDef,
|
|
162
162
|
ConversationResponse
|
|
163
163
|
> = z.object({
|
|
164
|
-
id: z.string().default("
|
|
164
|
+
id: z.string().default("conv_01kefjdy5aw26j7hpxezn7a7za"),
|
|
165
165
|
entityId: z.string(),
|
|
166
166
|
kind: ConversationResponseKind$outboundSchema,
|
|
167
167
|
displayName: z.string(),
|
|
@@ -79,7 +79,7 @@ export const PartReasoningPart$inboundSchema: z.ZodType<
|
|
|
79
79
|
z.ZodTypeDef,
|
|
80
80
|
unknown
|
|
81
81
|
> = z.object({
|
|
82
|
-
_id: z.string().default("
|
|
82
|
+
_id: z.string().default("reasoning_01kefjdxwtpa09ef2db4dp45k5"),
|
|
83
83
|
metadata: z.record(z.any()).optional(),
|
|
84
84
|
kind: PartKind$inboundSchema,
|
|
85
85
|
reasoning: z.string(),
|
|
@@ -104,7 +104,7 @@ export const PartReasoningPart$outboundSchema: z.ZodType<
|
|
|
104
104
|
z.ZodTypeDef,
|
|
105
105
|
PartReasoningPart
|
|
106
106
|
> = z.object({
|
|
107
|
-
id: z.string().default("
|
|
107
|
+
id: z.string().default("reasoning_01kefjdxwtpa09ef2db4dp45k5"),
|
|
108
108
|
metadata: z.record(z.any()).optional(),
|
|
109
109
|
kind: PartKind$outboundSchema,
|
|
110
110
|
reasoning: z.string(),
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01kefjdxwky9zmb5v4a74ehs0s"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -65,7 +65,7 @@ export const ReasoningPart$outboundSchema: z.ZodType<
|
|
|
65
65
|
z.ZodTypeDef,
|
|
66
66
|
ReasoningPart
|
|
67
67
|
> = z.object({
|
|
68
|
-
id: z.string().default("
|
|
68
|
+
id: z.string().default("reasoning_01kefjdxwky9zmb5v4a74ehs0s"),
|
|
69
69
|
metadata: z.record(z.any()).optional(),
|
|
70
70
|
kind: z.literal("reasoning"),
|
|
71
71
|
reasoning: z.string(),
|
|
@@ -167,7 +167,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
167
167
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
168
168
|
.optional(),
|
|
169
169
|
updated: z.string().datetime({ offset: true }).default(
|
|
170
|
-
"2026-01-
|
|
170
|
+
"2026-01-08T19:47:58.040Z",
|
|
171
171
|
).transform(v => new Date(v)),
|
|
172
172
|
}).transform((v) => {
|
|
173
173
|
return remap$(v, {
|
|
@@ -207,7 +207,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
207
207
|
tags: z.array(z.string()).optional(),
|
|
208
208
|
metadata: z.record(z.any()).optional(),
|
|
209
209
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
210
|
-
updated: z.date().default(() => new Date("2026-01-
|
|
210
|
+
updated: z.date().default(() => new Date("2026-01-08T19:47:58.040Z"))
|
|
211
211
|
.transform(v => v.toISOString()),
|
|
212
212
|
}).transform((v) => {
|
|
213
213
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const CreateConversationResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
z.ZodTypeDef,
|
|
245
245
|
unknown
|
|
246
246
|
> = z.object({
|
|
247
|
-
_id: z.string().default("
|
|
247
|
+
_id: z.string().default("conv_01kefjdy5cxwkpy4ea26v9fv7j"),
|
|
248
248
|
entityId: z.string(),
|
|
249
249
|
kind: CreateConversationKind$inboundSchema,
|
|
250
250
|
displayName: z.string(),
|
|
@@ -278,7 +278,7 @@ export const CreateConversationResponseBody$outboundSchema: z.ZodType<
|
|
|
278
278
|
z.ZodTypeDef,
|
|
279
279
|
CreateConversationResponseBody
|
|
280
280
|
> = z.object({
|
|
281
|
-
id: z.string().default("
|
|
281
|
+
id: z.string().default("conv_01kefjdy5cxwkpy4ea26v9fv7j"),
|
|
282
282
|
entityId: z.string(),
|
|
283
283
|
kind: CreateConversationKind$outboundSchema,
|
|
284
284
|
displayName: z.string(),
|
|
@@ -187,7 +187,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
187
187
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
188
188
|
.optional(),
|
|
189
189
|
updated: z.string().datetime({ offset: true }).default(
|
|
190
|
-
"2026-01-
|
|
190
|
+
"2026-01-08T19:47:58.040Z",
|
|
191
191
|
).transform(v => new Date(v)),
|
|
192
192
|
}).transform((v) => {
|
|
193
193
|
return remap$(v, {
|
|
@@ -226,7 +226,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
226
226
|
createdById: z.string().optional(),
|
|
227
227
|
updatedById: z.string().optional(),
|
|
228
228
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
229
|
-
updated: z.date().default(() => new Date("2026-01-
|
|
229
|
+
updated: z.date().default(() => new Date("2026-01-08T19:47:58.040Z"))
|
|
230
230
|
.transform(v => v.toISOString()),
|
|
231
231
|
}).transform((v) => {
|
|
232
232
|
return remap$(v, {
|
|
@@ -3612,7 +3612,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
3612
3612
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
3613
3613
|
reviewed_by_id: z.string(),
|
|
3614
3614
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3615
|
-
"2026-01-
|
|
3615
|
+
"2026-01-08T19:48:10.571Z",
|
|
3616
3616
|
).transform(v => new Date(v)),
|
|
3617
3617
|
type: z.literal("string_array"),
|
|
3618
3618
|
values: z.array(z.string()),
|
|
@@ -3647,7 +3647,7 @@ export const Evaluations3$outboundSchema: z.ZodType<
|
|
|
3647
3647
|
humanReviewId: z.string(),
|
|
3648
3648
|
source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
|
|
3649
3649
|
reviewedById: z.string(),
|
|
3650
|
-
reviewedAt: z.date().default(() => new Date("2026-01-
|
|
3650
|
+
reviewedAt: z.date().default(() => new Date("2026-01-08T19:48:10.571Z"))
|
|
3651
3651
|
.transform(v => v.toISOString()),
|
|
3652
3652
|
type: z.literal("string_array"),
|
|
3653
3653
|
values: z.array(z.string()),
|
|
@@ -3703,7 +3703,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
3703
3703
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
3704
3704
|
reviewed_by_id: z.string(),
|
|
3705
3705
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3706
|
-
"2026-01-
|
|
3706
|
+
"2026-01-08T19:48:10.570Z",
|
|
3707
3707
|
).transform(v => new Date(v)),
|
|
3708
3708
|
type: z.literal("number"),
|
|
3709
3709
|
value: z.number(),
|
|
@@ -3738,7 +3738,7 @@ export const Evaluations2$outboundSchema: z.ZodType<
|
|
|
3738
3738
|
humanReviewId: z.string(),
|
|
3739
3739
|
source: EvaluationsSource$outboundSchema.default("orq"),
|
|
3740
3740
|
reviewedById: z.string(),
|
|
3741
|
-
reviewedAt: z.date().default(() => new Date("2026-01-
|
|
3741
|
+
reviewedAt: z.date().default(() => new Date("2026-01-08T19:48:10.570Z"))
|
|
3742
3742
|
.transform(v => v.toISOString()),
|
|
3743
3743
|
type: z.literal("number"),
|
|
3744
3744
|
value: z.number(),
|
|
@@ -3792,7 +3792,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
3792
3792
|
source: Source$inboundSchema.default("orq"),
|
|
3793
3793
|
reviewed_by_id: z.string(),
|
|
3794
3794
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3795
|
-
"2026-01-
|
|
3795
|
+
"2026-01-08T19:48:10.570Z",
|
|
3796
3796
|
).transform(v => new Date(v)),
|
|
3797
3797
|
type: z.literal("string"),
|
|
3798
3798
|
value: z.string(),
|
|
@@ -3827,7 +3827,7 @@ export const Evaluations1$outboundSchema: z.ZodType<
|
|
|
3827
3827
|
humanReviewId: z.string(),
|
|
3828
3828
|
source: Source$outboundSchema.default("orq"),
|
|
3829
3829
|
reviewedById: z.string(),
|
|
3830
|
-
reviewedAt: z.date().default(() => new Date("2026-01-
|
|
3830
|
+
reviewedAt: z.date().default(() => new Date("2026-01-08T19:48:10.570Z"))
|
|
3831
3831
|
.transform(v => v.toISOString()),
|
|
3832
3832
|
type: z.literal("string"),
|
|
3833
3833
|
value: z.string(),
|
|
@@ -3932,7 +3932,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
3932
3932
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3933
3933
|
.optional(),
|
|
3934
3934
|
updated: z.string().datetime({ offset: true }).default(
|
|
3935
|
-
"2026-01-
|
|
3935
|
+
"2026-01-08T19:47:58.040Z",
|
|
3936
3936
|
).transform(v => new Date(v)),
|
|
3937
3937
|
}).transform((v) => {
|
|
3938
3938
|
return remap$(v, {
|
|
@@ -4010,7 +4010,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
|
|
|
4010
4010
|
createdById: z.string().optional(),
|
|
4011
4011
|
updatedById: z.string().optional(),
|
|
4012
4012
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
4013
|
-
updated: z.date().default(() => new Date("2026-01-
|
|
4013
|
+
updated: z.date().default(() => new Date("2026-01-08T19:47:58.040Z"))
|
|
4014
4014
|
.transform(v => v.toISOString()),
|
|
4015
4015
|
}).transform((v) => {
|
|
4016
4016
|
return remap$(v, {
|
|
@@ -576,7 +576,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
576
576
|
z.ZodTypeDef,
|
|
577
577
|
unknown
|
|
578
578
|
> = z.object({
|
|
579
|
-
_id: z.string().default("
|
|
579
|
+
_id: z.string().default("01KEFJDYK442KJ2EKK6X086TEA"),
|
|
580
580
|
display_name: z.string(),
|
|
581
581
|
description: z.string().optional(),
|
|
582
582
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -619,7 +619,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
619
619
|
z.ZodTypeDef,
|
|
620
620
|
CreateDatasourceResponseBody
|
|
621
621
|
> = z.object({
|
|
622
|
-
id: z.string().default("
|
|
622
|
+
id: z.string().default("01KEFJDYK442KJ2EKK6X086TEA"),
|
|
623
623
|
displayName: z.string(),
|
|
624
624
|
description: z.string().optional(),
|
|
625
625
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -2124,8 +2124,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2124
2124
|
> = z.object({
|
|
2125
2125
|
_id: z.string(),
|
|
2126
2126
|
description: z.string(),
|
|
2127
|
-
created: z.string().default("2026-01-
|
|
2128
|
-
updated: z.string().default("2026-01-
|
|
2127
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
2128
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
2129
2129
|
guardrail_config: z.union([
|
|
2130
2130
|
z.lazy(() =>
|
|
2131
2131
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema
|
|
@@ -2166,8 +2166,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
2166
2166
|
> = z.object({
|
|
2167
2167
|
id: z.string(),
|
|
2168
2168
|
description: z.string(),
|
|
2169
|
-
created: z.string().default("2026-01-
|
|
2170
|
-
updated: z.string().default("2026-01-
|
|
2169
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
2170
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
2171
2171
|
guardrailConfig: z.union([
|
|
2172
2172
|
z.lazy(() =>
|
|
2173
2173
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$outboundSchema
|
|
@@ -2426,8 +2426,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2426
2426
|
.object({
|
|
2427
2427
|
_id: z.string(),
|
|
2428
2428
|
description: z.string(),
|
|
2429
|
-
created: z.string().default("2026-01-
|
|
2430
|
-
updated: z.string().default("2026-01-
|
|
2429
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
2430
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
2431
2431
|
guardrail_config: z.union([
|
|
2432
2432
|
z.lazy(() =>
|
|
2433
2433
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema
|
|
@@ -2471,8 +2471,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
2471
2471
|
> = z.object({
|
|
2472
2472
|
id: z.string(),
|
|
2473
2473
|
description: z.string(),
|
|
2474
|
-
created: z.string().default("2026-01-
|
|
2475
|
-
updated: z.string().default("2026-01-
|
|
2474
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
2475
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
2476
2476
|
guardrailConfig: z.union([
|
|
2477
2477
|
z.lazy(() =>
|
|
2478
2478
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$outboundSchema
|
|
@@ -4000,8 +4000,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
4000
4000
|
> = z.object({
|
|
4001
4001
|
_id: z.string(),
|
|
4002
4002
|
description: z.string(),
|
|
4003
|
-
created: z.string().default("2026-01-
|
|
4004
|
-
updated: z.string().default("2026-01-
|
|
4003
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4004
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4005
4005
|
guardrail_config: z.union([
|
|
4006
4006
|
z.lazy(() =>
|
|
4007
4007
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$inboundSchema
|
|
@@ -4108,8 +4108,8 @@ export const CreateEvalResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
4108
4108
|
> = z.object({
|
|
4109
4109
|
id: z.string(),
|
|
4110
4110
|
description: z.string(),
|
|
4111
|
-
created: z.string().default("2026-01-
|
|
4112
|
-
updated: z.string().default("2026-01-
|
|
4111
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4112
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4113
4113
|
guardrailConfig: z.union([
|
|
4114
4114
|
z.lazy(() =>
|
|
4115
4115
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$outboundSchema
|
|
@@ -4404,8 +4404,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
4404
4404
|
> = z.object({
|
|
4405
4405
|
_id: z.string(),
|
|
4406
4406
|
description: z.string(),
|
|
4407
|
-
created: z.string().default("2026-01-
|
|
4408
|
-
updated: z.string().default("2026-01-
|
|
4407
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4408
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4409
4409
|
guardrail_config: z.union([
|
|
4410
4410
|
z.lazy(() =>
|
|
4411
4411
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -4446,8 +4446,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
4446
4446
|
> = z.object({
|
|
4447
4447
|
id: z.string(),
|
|
4448
4448
|
description: z.string(),
|
|
4449
|
-
created: z.string().default("2026-01-
|
|
4450
|
-
updated: z.string().default("2026-01-
|
|
4449
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4450
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4451
4451
|
guardrailConfig: z.union([
|
|
4452
4452
|
z.lazy(() =>
|
|
4453
4453
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema
|
|
@@ -4708,8 +4708,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
4708
4708
|
> = z.object({
|
|
4709
4709
|
_id: z.string(),
|
|
4710
4710
|
description: z.string(),
|
|
4711
|
-
created: z.string().default("2026-01-
|
|
4712
|
-
updated: z.string().default("2026-01-
|
|
4711
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4712
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4713
4713
|
guardrail_config: z.union([
|
|
4714
4714
|
z.lazy(() =>
|
|
4715
4715
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -4756,8 +4756,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
4756
4756
|
> = z.object({
|
|
4757
4757
|
id: z.string(),
|
|
4758
4758
|
description: z.string(),
|
|
4759
|
-
created: z.string().default("2026-01-
|
|
4760
|
-
updated: z.string().default("2026-01-
|
|
4759
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4760
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4761
4761
|
guardrailConfig: z.union([
|
|
4762
4762
|
z.lazy(() =>
|
|
4763
4763
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema
|
|
@@ -4994,8 +4994,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
4994
4994
|
> = z.object({
|
|
4995
4995
|
_id: z.string(),
|
|
4996
4996
|
description: z.string(),
|
|
4997
|
-
created: z.string().default("2026-01-
|
|
4998
|
-
updated: z.string().default("2026-01-
|
|
4997
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4998
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
4999
4999
|
guardrail_config: z.union([
|
|
5000
5000
|
z.lazy(() =>
|
|
5001
5001
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -5034,8 +5034,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
5034
5034
|
> = z.object({
|
|
5035
5035
|
id: z.string(),
|
|
5036
5036
|
description: z.string(),
|
|
5037
|
-
created: z.string().default("2026-01-
|
|
5038
|
-
updated: z.string().default("2026-01-
|
|
5037
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
5038
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
5039
5039
|
guardrailConfig: z.union([
|
|
5040
5040
|
z.lazy(() =>
|
|
5041
5041
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema
|
|
@@ -5268,8 +5268,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
5268
5268
|
> = z.object({
|
|
5269
5269
|
_id: z.string(),
|
|
5270
5270
|
description: z.string(),
|
|
5271
|
-
created: z.string().default("2026-01-
|
|
5272
|
-
updated: z.string().default("2026-01-
|
|
5271
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
5272
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
5273
5273
|
guardrail_config: z.union([
|
|
5274
5274
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
5275
5275
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -5308,8 +5308,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
5308
5308
|
> = z.object({
|
|
5309
5309
|
id: z.string(),
|
|
5310
5310
|
description: z.string(),
|
|
5311
|
-
created: z.string().default("2026-01-
|
|
5312
|
-
updated: z.string().default("2026-01-
|
|
5311
|
+
created: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
5312
|
+
updated: z.string().default("2026-01-08T19:48:00.470Z"),
|
|
5313
5313
|
guardrailConfig: z.union([
|
|
5314
5314
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
5315
5315
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
@@ -13,10 +13,6 @@ export type CreateMemoryRequestBody = {
|
|
|
13
13
|
* Unique identifier for the entity this memory is associated with (e.g., user ID, session ID, conversation ID).
|
|
14
14
|
*/
|
|
15
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
|
-
metadata?: { [k: string]: string } | undefined;
|
|
20
16
|
};
|
|
21
17
|
|
|
22
18
|
export type CreateMemoryRequest = {
|
|
@@ -33,7 +29,9 @@ export type CreateMemoryRequest = {
|
|
|
33
29
|
export type CreateMemoryResponseBody = {
|
|
34
30
|
id: string;
|
|
35
31
|
/**
|
|
36
|
-
*
|
|
32
|
+
* This property have been deprecated and moved to `_id`. Please refer to `_id` for future operations
|
|
33
|
+
*
|
|
34
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
37
35
|
*/
|
|
38
36
|
entityId: string;
|
|
39
37
|
created: string;
|
|
@@ -41,10 +39,6 @@ export type CreateMemoryResponseBody = {
|
|
|
41
39
|
createdById?: string | null | undefined;
|
|
42
40
|
updatedById?: string | null | undefined;
|
|
43
41
|
storeId: string;
|
|
44
|
-
/**
|
|
45
|
-
* 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).
|
|
46
|
-
*/
|
|
47
|
-
metadata: { [k: string]: string };
|
|
48
42
|
workspaceId: string;
|
|
49
43
|
/**
|
|
50
44
|
* The number of memories in the entity
|
|
@@ -59,7 +53,6 @@ export const CreateMemoryRequestBody$inboundSchema: z.ZodType<
|
|
|
59
53
|
unknown
|
|
60
54
|
> = z.object({
|
|
61
55
|
entity_id: z.string(),
|
|
62
|
-
metadata: z.record(z.string()).optional(),
|
|
63
56
|
}).transform((v) => {
|
|
64
57
|
return remap$(v, {
|
|
65
58
|
"entity_id": "entityId",
|
|
@@ -68,7 +61,6 @@ export const CreateMemoryRequestBody$inboundSchema: z.ZodType<
|
|
|
68
61
|
/** @internal */
|
|
69
62
|
export type CreateMemoryRequestBody$Outbound = {
|
|
70
63
|
entity_id: string;
|
|
71
|
-
metadata?: { [k: string]: string } | undefined;
|
|
72
64
|
};
|
|
73
65
|
|
|
74
66
|
/** @internal */
|
|
@@ -78,7 +70,6 @@ export const CreateMemoryRequestBody$outboundSchema: z.ZodType<
|
|
|
78
70
|
CreateMemoryRequestBody
|
|
79
71
|
> = z.object({
|
|
80
72
|
entityId: z.string(),
|
|
81
|
-
metadata: z.record(z.string()).optional(),
|
|
82
73
|
}).transform((v) => {
|
|
83
74
|
return remap$(v, {
|
|
84
75
|
entityId: "entity_id",
|
|
@@ -167,7 +158,6 @@ export const CreateMemoryResponseBody$inboundSchema: z.ZodType<
|
|
|
167
158
|
created_by_id: z.nullable(z.string()).optional(),
|
|
168
159
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
169
160
|
store_id: z.string(),
|
|
170
|
-
metadata: z.record(z.string()),
|
|
171
161
|
workspace_id: z.string(),
|
|
172
162
|
documents_count: z.number(),
|
|
173
163
|
}).transform((v) => {
|
|
@@ -190,7 +180,6 @@ export type CreateMemoryResponseBody$Outbound = {
|
|
|
190
180
|
created_by_id?: string | null | undefined;
|
|
191
181
|
updated_by_id?: string | null | undefined;
|
|
192
182
|
store_id: string;
|
|
193
|
-
metadata: { [k: string]: string };
|
|
194
183
|
workspace_id: string;
|
|
195
184
|
documents_count: number;
|
|
196
185
|
};
|
|
@@ -208,7 +197,6 @@ export const CreateMemoryResponseBody$outboundSchema: z.ZodType<
|
|
|
208
197
|
createdById: z.nullable(z.string()).optional(),
|
|
209
198
|
updatedById: z.nullable(z.string()).optional(),
|
|
210
199
|
storeId: z.string(),
|
|
211
|
-
metadata: z.record(z.string()),
|
|
212
200
|
workspaceId: z.string(),
|
|
213
201
|
documentsCount: z.number(),
|
|
214
202
|
}).transform((v) => {
|