@orq-ai/node 3.13.2 → 3.13.4
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 +216 -246
- package/bin/mcp-server.js.map +42 -42
- package/docs/sdks/agents/README.md +3 -3
- package/examples/package-lock.json +1 -1
- package/funcs/agentsRetrieveTask.js +2 -2
- package/funcs/agentsRetrieveTask.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/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +14 -14
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +5 -2
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +4 -12
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getagenttask.d.ts +2 -2
- package/models/operations/getagenttask.d.ts.map +1 -1
- package/models/operations/getagenttask.js +4 -2
- package/models/operations/getagenttask.js.map +1 -1
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.d.ts +5 -2
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +4 -12
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.d.ts +5 -2
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +4 -12
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +5 -2
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +4 -12
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/README.md +97 -91
- package/packages/orq-rc/docs/sdks/agents/README.md +3 -3
- package/packages/orq-rc/docs/sdks/knowledge/README.md +228 -0
- package/packages/orq-rc/docs/sdks/tools/README.md +14 -16
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsRetrieveTask.ts +2 -2
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +170 -0
- package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +170 -0
- package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +171 -0
- package/packages/orq-rc/src/funcs/toolsDelete.ts +2 -2
- package/packages/orq-rc/src/funcs/toolsDuplicate.ts +3 -3
- package/packages/orq-rc/src/funcs/toolsRetrieve.ts +3 -3
- package/packages/orq-rc/src/funcs/toolsUpdate.ts +2 -2
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +7 -1
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteChunks.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/knowledgeGetChunksCount.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/knowledgeListChunksPaginated.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsDuplicate.ts +1 -1
- package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.ts +1 -1
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createprompt.ts +8 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +10 -22
- package/packages/orq-rc/src/models/operations/deletechunks.ts +243 -0
- package/packages/orq-rc/src/models/operations/deletetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +4 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +4 -0
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +23 -15
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +9 -14
- package/packages/orq-rc/src/models/operations/getagenttask.ts +6 -4
- package/packages/orq-rc/src/models/operations/getallprompts.ts +4 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getchunkscount.ts +230 -0
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +4 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +4 -0
- package/packages/orq-rc/src/models/operations/index.ts +3 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +9 -14
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +507 -0
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +4 -0
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +16 -16
- package/packages/orq-rc/src/models/operations/runagent.ts +7 -18
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +7 -18
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updateprompt.ts +8 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +44 -28
- package/packages/orq-rc/src/sdk/knowledge.ts +45 -0
- package/packages/orq-rc/src/sdk/tools.ts +2 -2
- package/src/funcs/agentsRetrieveTask.ts +2 -2
- 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/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +14 -14
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +9 -14
- package/src/models/operations/getagenttask.ts +6 -4
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +9 -14
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +9 -14
- package/src/models/operations/streamrunagent.ts +9 -14
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -1556,8 +1556,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1556
1556
|
> = z.object({
|
|
1557
1557
|
_id: z.string(),
|
|
1558
1558
|
description: z.string(),
|
|
1559
|
-
created: z.string().default("2025-10-
|
|
1560
|
-
updated: z.string().default("2025-10-
|
|
1559
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
1560
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
1561
1561
|
guardrail_config: z.union([
|
|
1562
1562
|
z.lazy(() =>
|
|
1563
1563
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -1600,8 +1600,8 @@ export const DataTypescript$outboundSchema: z.ZodType<
|
|
|
1600
1600
|
> = z.object({
|
|
1601
1601
|
id: z.string(),
|
|
1602
1602
|
description: z.string(),
|
|
1603
|
-
created: z.string().default("2025-10-
|
|
1604
|
-
updated: z.string().default("2025-10-
|
|
1603
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
1604
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
1605
1605
|
guardrailConfig: z.union([
|
|
1606
1606
|
z.lazy(() =>
|
|
1607
1607
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -2002,8 +2002,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
2002
2002
|
> = z.object({
|
|
2003
2003
|
_id: z.string(),
|
|
2004
2004
|
description: z.string(),
|
|
2005
|
-
created: z.string().default("2025-10-
|
|
2006
|
-
updated: z.string().default("2025-10-
|
|
2005
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
2006
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
2007
2007
|
guardrail_config: z.union([
|
|
2008
2008
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
2009
2009
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
@@ -2044,8 +2044,8 @@ export const DataRagas$outboundSchema: z.ZodType<
|
|
|
2044
2044
|
> = z.object({
|
|
2045
2045
|
id: z.string(),
|
|
2046
2046
|
description: z.string(),
|
|
2047
|
-
created: z.string().default("2025-10-
|
|
2048
|
-
updated: z.string().default("2025-10-
|
|
2047
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
2048
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
2049
2049
|
guardrailConfig: z.union([
|
|
2050
2050
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
2051
2051
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
@@ -5512,8 +5512,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
5512
5512
|
> = z.object({
|
|
5513
5513
|
_id: z.string(),
|
|
5514
5514
|
description: z.string(),
|
|
5515
|
-
created: z.string().default("2025-10-
|
|
5516
|
-
updated: z.string().default("2025-10-
|
|
5515
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
5516
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
5517
5517
|
guardrail_config: z.union([
|
|
5518
5518
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
5519
5519
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -5623,8 +5623,8 @@ export const DataFunction$outboundSchema: z.ZodType<
|
|
|
5623
5623
|
> = z.object({
|
|
5624
5624
|
id: z.string(),
|
|
5625
5625
|
description: z.string(),
|
|
5626
|
-
created: z.string().default("2025-10-
|
|
5627
|
-
updated: z.string().default("2025-10-
|
|
5626
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
5627
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
5628
5628
|
guardrailConfig: z.union([
|
|
5629
5629
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
5630
5630
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -6006,8 +6006,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
6006
6006
|
> = z.object({
|
|
6007
6007
|
_id: z.string(),
|
|
6008
6008
|
description: z.string(),
|
|
6009
|
-
created: z.string().default("2025-10-
|
|
6010
|
-
updated: z.string().default("2025-10-
|
|
6009
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6010
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6011
6011
|
guardrail_config: z.union([
|
|
6012
6012
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
6013
6013
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -6045,8 +6045,8 @@ export const DataPython$outboundSchema: z.ZodType<
|
|
|
6045
6045
|
> = z.object({
|
|
6046
6046
|
id: z.string(),
|
|
6047
6047
|
description: z.string(),
|
|
6048
|
-
created: z.string().default("2025-10-
|
|
6049
|
-
updated: z.string().default("2025-10-
|
|
6048
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6049
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6050
6050
|
guardrailConfig: z.union([
|
|
6051
6051
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
6052
6052
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
|
|
@@ -6392,8 +6392,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
6392
6392
|
> = z.object({
|
|
6393
6393
|
_id: z.string(),
|
|
6394
6394
|
description: z.string(),
|
|
6395
|
-
created: z.string().default("2025-10-
|
|
6396
|
-
updated: z.string().default("2025-10-
|
|
6395
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6396
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6397
6397
|
guardrail_config: z.union([
|
|
6398
6398
|
z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
6399
6399
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
@@ -6437,8 +6437,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
|
|
|
6437
6437
|
> = z.object({
|
|
6438
6438
|
id: z.string(),
|
|
6439
6439
|
description: z.string(),
|
|
6440
|
-
created: z.string().default("2025-10-
|
|
6441
|
-
updated: z.string().default("2025-10-
|
|
6440
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6441
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6442
6442
|
guardrailConfig: z.union([
|
|
6443
6443
|
z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
6444
6444
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
|
|
@@ -6803,8 +6803,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
6803
6803
|
> = z.object({
|
|
6804
6804
|
_id: z.string(),
|
|
6805
6805
|
description: z.string(),
|
|
6806
|
-
created: z.string().default("2025-10-
|
|
6807
|
-
updated: z.string().default("2025-10-
|
|
6806
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6807
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6808
6808
|
guardrail_config: z.union([
|
|
6809
6809
|
z.lazy(() =>
|
|
6810
6810
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
|
|
@@ -6846,8 +6846,8 @@ export const DataJSON$outboundSchema: z.ZodType<
|
|
|
6846
6846
|
> = z.object({
|
|
6847
6847
|
id: z.string(),
|
|
6848
6848
|
description: z.string(),
|
|
6849
|
-
created: z.string().default("2025-10-
|
|
6850
|
-
updated: z.string().default("2025-10-
|
|
6849
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6850
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
6851
6851
|
guardrailConfig: z.union([
|
|
6852
6852
|
z.lazy(() =>
|
|
6853
6853
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
|
|
@@ -7229,8 +7229,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
|
|
|
7229
7229
|
z.object({
|
|
7230
7230
|
_id: z.string(),
|
|
7231
7231
|
description: z.string(),
|
|
7232
|
-
created: z.string().default("2025-10-
|
|
7233
|
-
updated: z.string().default("2025-10-
|
|
7232
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
7233
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
7234
7234
|
guardrail_config: z.union([
|
|
7235
7235
|
z.lazy(() =>
|
|
7236
7236
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7274,8 +7274,8 @@ export const DataLLM$outboundSchema: z.ZodType<
|
|
|
7274
7274
|
> = z.object({
|
|
7275
7275
|
id: z.string(),
|
|
7276
7276
|
description: z.string(),
|
|
7277
|
-
created: z.string().default("2025-10-
|
|
7278
|
-
updated: z.string().default("2025-10-
|
|
7277
|
+
created: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
7278
|
+
updated: z.string().default("2025-10-03T07:40:57.310Z"),
|
|
7279
7279
|
guardrailConfig: z.union([
|
|
7280
7280
|
z.lazy(() =>
|
|
7281
7281
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -132,7 +132,10 @@ export type ListAgentsModel = {
|
|
|
132
132
|
};
|
|
133
133
|
|
|
134
134
|
export type ListAgentsTeamOfAgents = {
|
|
135
|
-
|
|
135
|
+
/**
|
|
136
|
+
* The unique key of the agent within the workspace
|
|
137
|
+
*/
|
|
138
|
+
key: string;
|
|
136
139
|
/**
|
|
137
140
|
* The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
|
|
138
141
|
*/
|
|
@@ -696,17 +699,13 @@ export const ListAgentsTeamOfAgents$inboundSchema: z.ZodType<
|
|
|
696
699
|
z.ZodTypeDef,
|
|
697
700
|
unknown
|
|
698
701
|
> = z.object({
|
|
699
|
-
|
|
702
|
+
key: z.string(),
|
|
700
703
|
role: z.string().optional(),
|
|
701
|
-
}).transform((v) => {
|
|
702
|
-
return remap$(v, {
|
|
703
|
-
"_id": "id",
|
|
704
|
-
});
|
|
705
704
|
});
|
|
706
705
|
|
|
707
706
|
/** @internal */
|
|
708
707
|
export type ListAgentsTeamOfAgents$Outbound = {
|
|
709
|
-
|
|
708
|
+
key: string;
|
|
710
709
|
role?: string | undefined;
|
|
711
710
|
};
|
|
712
711
|
|
|
@@ -716,12 +715,8 @@ export const ListAgentsTeamOfAgents$outboundSchema: z.ZodType<
|
|
|
716
715
|
z.ZodTypeDef,
|
|
717
716
|
ListAgentsTeamOfAgents
|
|
718
717
|
> = z.object({
|
|
719
|
-
|
|
718
|
+
key: z.string(),
|
|
720
719
|
role: z.string().optional(),
|
|
721
|
-
}).transform((v) => {
|
|
722
|
-
return remap$(v, {
|
|
723
|
-
id: "_id",
|
|
724
|
-
});
|
|
725
720
|
});
|
|
726
721
|
|
|
727
722
|
/**
|
|
@@ -1075,7 +1070,7 @@ export const ListAgentsKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
1075
1070
|
z.ZodTypeDef,
|
|
1076
1071
|
unknown
|
|
1077
1072
|
> = z.object({
|
|
1078
|
-
id: z.string().default("
|
|
1073
|
+
id: z.string().default("01K6MG8VXR93QMT4J8YQVZ2RVE"),
|
|
1079
1074
|
knowledge_id: z.string(),
|
|
1080
1075
|
configuration: z.union([
|
|
1081
1076
|
z.lazy(() =>
|
|
@@ -1106,7 +1101,7 @@ export const ListAgentsKnowledgeBases$outboundSchema: z.ZodType<
|
|
|
1106
1101
|
z.ZodTypeDef,
|
|
1107
1102
|
ListAgentsKnowledgeBases
|
|
1108
1103
|
> = z.object({
|
|
1109
|
-
id: z.string().default("
|
|
1104
|
+
id: z.string().default("01K6MG8VXR93QMT4J8YQVZ2RVE"),
|
|
1110
1105
|
knowledgeId: z.string(),
|
|
1111
1106
|
configuration: z.union([
|
|
1112
1107
|
z.lazy(() =>
|
|
@@ -464,7 +464,7 @@ export const ListBudgetsData$inboundSchema: z.ZodType<
|
|
|
464
464
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
465
465
|
.optional(),
|
|
466
466
|
updated: z.string().datetime({ offset: true }).default(
|
|
467
|
-
"2025-10-
|
|
467
|
+
"2025-10-03T07:40:54.894Z",
|
|
468
468
|
).transform(v => new Date(v)),
|
|
469
469
|
}).transform((v) => {
|
|
470
470
|
return remap$(v, {
|
|
@@ -499,7 +499,7 @@ export const ListBudgetsData$outboundSchema: z.ZodType<
|
|
|
499
499
|
isActive: z.boolean(),
|
|
500
500
|
consumption: z.lazy(() => ListBudgetsConsumption$outboundSchema).optional(),
|
|
501
501
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
502
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
502
|
+
updated: z.date().default(() => new Date("2025-10-03T07:40:54.894Z"))
|
|
503
503
|
.transform(v => v.toISOString()),
|
|
504
504
|
}).transform((v) => {
|
|
505
505
|
return remap$(v, {
|
|
@@ -352,7 +352,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
|
|
|
352
352
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
353
353
|
.optional(),
|
|
354
354
|
updated: z.string().datetime({ offset: true }).default(
|
|
355
|
-
"2025-10-
|
|
355
|
+
"2025-10-03T07:40:54.894Z",
|
|
356
356
|
).transform(v => new Date(v)),
|
|
357
357
|
metrics: z.lazy(() => ListContactsMetrics$inboundSchema),
|
|
358
358
|
}).transform((v) => {
|
|
@@ -389,7 +389,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
|
|
|
389
389
|
tags: z.array(z.string()).optional(),
|
|
390
390
|
metadata: z.record(z.any()).optional(),
|
|
391
391
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
392
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
392
|
+
updated: z.date().default(() => new Date("2025-10-03T07:40:54.894Z"))
|
|
393
393
|
.transform(v => v.toISOString()),
|
|
394
394
|
metrics: z.lazy(() => ListContactsMetrics$outboundSchema),
|
|
395
395
|
}).transform((v) => {
|
|
@@ -3101,7 +3101,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
3101
3101
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3102
3102
|
.optional(),
|
|
3103
3103
|
updated: z.string().datetime({ offset: true }).default(
|
|
3104
|
-
"2025-10-
|
|
3104
|
+
"2025-10-03T07:40:54.894Z",
|
|
3105
3105
|
).transform(v => new Date(v)),
|
|
3106
3106
|
}).transform((v) => {
|
|
3107
3107
|
return remap$(v, {
|
|
@@ -3165,7 +3165,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
3165
3165
|
createdById: z.string().optional(),
|
|
3166
3166
|
updatedById: z.string().optional(),
|
|
3167
3167
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
3168
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
3168
|
+
updated: z.date().default(() => new Date("2025-10-03T07:40:54.894Z"))
|
|
3169
3169
|
.transform(v => v.toISOString()),
|
|
3170
3170
|
}).transform((v) => {
|
|
3171
3171
|
return remap$(v, {
|
|
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
253
253
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
254
254
|
.optional(),
|
|
255
255
|
updated: z.string().datetime({ offset: true }).default(
|
|
256
|
-
"2025-10-
|
|
256
|
+
"2025-10-03T07:40:54.894Z",
|
|
257
257
|
).transform(v => new Date(v)),
|
|
258
258
|
}).transform((v) => {
|
|
259
259
|
return remap$(v, {
|
|
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
293
293
|
updatedById: z.string().optional(),
|
|
294
294
|
metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
|
|
295
295
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
296
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-10-03T07:40:54.894Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
278
278
|
z.ZodTypeDef,
|
|
279
279
|
unknown
|
|
280
280
|
> = z.object({
|
|
281
|
-
_id: z.string().default("
|
|
281
|
+
_id: z.string().default("01K6MG8W20SJGWF1V8BX0SM7JP"),
|
|
282
282
|
display_name: z.string(),
|
|
283
283
|
description: z.string().optional(),
|
|
284
284
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -322,7 +322,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
322
322
|
z.ZodTypeDef,
|
|
323
323
|
ListDatasourcesData
|
|
324
324
|
> = z.object({
|
|
325
|
-
id: z.string().default("
|
|
325
|
+
id: z.string().default("01K6MG8W20SJGWF1V8BX0SM7JP"),
|
|
326
326
|
displayName: z.string(),
|
|
327
327
|
description: z.string().optional(),
|
|
328
328
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -127,7 +127,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
127
127
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
128
128
|
.optional(),
|
|
129
129
|
updated: z.string().datetime({ offset: true }).default(
|
|
130
|
-
"2025-10-
|
|
130
|
+
"2025-10-03T07:40:54.894Z",
|
|
131
131
|
).transform(v => new Date(v)),
|
|
132
132
|
}).transform((v) => {
|
|
133
133
|
return remap$(v, {
|
|
@@ -165,7 +165,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
165
165
|
tags: z.array(z.string()).optional(),
|
|
166
166
|
metadata: z.record(z.any()).optional(),
|
|
167
167
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
168
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
168
|
+
updated: z.date().default(() => new Date("2025-10-03T07:40:54.894Z"))
|
|
169
169
|
.transform(v => v.toISOString()),
|
|
170
170
|
}).transform((v) => {
|
|
171
171
|
return remap$(v, {
|
|
@@ -2958,7 +2958,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2958
2958
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2959
2959
|
.optional(),
|
|
2960
2960
|
updated: z.string().datetime({ offset: true }).default(
|
|
2961
|
-
"2025-10-
|
|
2961
|
+
"2025-10-03T07:40:54.894Z",
|
|
2962
2962
|
).transform(v => new Date(v)),
|
|
2963
2963
|
}).transform((v) => {
|
|
2964
2964
|
return remap$(v, {
|
|
@@ -3016,7 +3016,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
3016
3016
|
createdById: z.string().optional(),
|
|
3017
3017
|
updatedById: z.string().optional(),
|
|
3018
3018
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
3019
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
3019
|
+
updated: z.date().default(() => new Date("2025-10-03T07:40:54.894Z"))
|
|
3020
3020
|
.transform(v => v.toISOString()),
|
|
3021
3021
|
}).transform((v) => {
|
|
3022
3022
|
return remap$(v, {
|
|
@@ -201,7 +201,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
201
201
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
202
202
|
.optional(),
|
|
203
203
|
updated: z.string().datetime({ offset: true }).default(
|
|
204
|
-
"2025-10-
|
|
204
|
+
"2025-10-03T07:40:54.894Z",
|
|
205
205
|
).transform(v => new Date(v)),
|
|
206
206
|
}).transform((v) => {
|
|
207
207
|
return remap$(v, {
|
|
@@ -241,7 +241,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
241
241
|
updatedById: z.string().optional(),
|
|
242
242
|
metadata: z.lazy(() => RetrieveDatasetMetadata$outboundSchema),
|
|
243
243
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
244
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
244
|
+
updated: z.date().default(() => new Date("2025-10-03T07:40:54.894Z"))
|
|
245
245
|
.transform(v => v.toISOString()),
|
|
246
246
|
}).transform((v) => {
|
|
247
247
|
return remap$(v, {
|
|
@@ -172,7 +172,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
172
172
|
z.ZodTypeDef,
|
|
173
173
|
unknown
|
|
174
174
|
> = z.object({
|
|
175
|
-
_id: z.string().default("
|
|
175
|
+
_id: z.string().default("01K6MG8W21CXN2WZAZ1EMMB4MW"),
|
|
176
176
|
display_name: z.string(),
|
|
177
177
|
description: z.string().optional(),
|
|
178
178
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -216,7 +216,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
216
216
|
z.ZodTypeDef,
|
|
217
217
|
RetrieveDatasourceResponseBody
|
|
218
218
|
> = z.object({
|
|
219
|
-
id: z.string().default("
|
|
219
|
+
id: z.string().default("01K6MG8W21CXN2WZAZ1EMMB4MW"),
|
|
220
220
|
displayName: z.string(),
|
|
221
221
|
description: z.string().optional(),
|
|
222
222
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -750,7 +750,7 @@ export const RetrieveToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
750
750
|
z.ZodTypeDef,
|
|
751
751
|
unknown
|
|
752
752
|
> = z.object({
|
|
753
|
-
_id: z.string().default("
|
|
753
|
+
_id: z.string().default("01K6MG8W5VV24P1NK3MCN5KYKJ"),
|
|
754
754
|
path: z.string(),
|
|
755
755
|
key: z.string(),
|
|
756
756
|
display_name: z.string(),
|
|
@@ -806,7 +806,7 @@ export const RetrieveToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
806
806
|
z.ZodTypeDef,
|
|
807
807
|
RetrieveToolResponseBody5
|
|
808
808
|
> = z.object({
|
|
809
|
-
id: z.string().default("
|
|
809
|
+
id: z.string().default("01K6MG8W5VV24P1NK3MCN5KYKJ"),
|
|
810
810
|
path: z.string(),
|
|
811
811
|
key: z.string(),
|
|
812
812
|
displayName: z.string(),
|
|
@@ -1190,7 +1190,7 @@ export const RetrieveToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1190
1190
|
z.ZodTypeDef,
|
|
1191
1191
|
unknown
|
|
1192
1192
|
> = z.object({
|
|
1193
|
-
_id: z.string().default("
|
|
1193
|
+
_id: z.string().default("01K6MG8W5TA1N1B7ASFASBM6XY"),
|
|
1194
1194
|
path: z.string(),
|
|
1195
1195
|
key: z.string(),
|
|
1196
1196
|
display_name: z.string(),
|
|
@@ -1244,7 +1244,7 @@ export const RetrieveToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1244
1244
|
z.ZodTypeDef,
|
|
1245
1245
|
RetrieveToolResponseBody4
|
|
1246
1246
|
> = z.object({
|
|
1247
|
-
id: z.string().default("
|
|
1247
|
+
id: z.string().default("01K6MG8W5TA1N1B7ASFASBM6XY"),
|
|
1248
1248
|
path: z.string(),
|
|
1249
1249
|
key: z.string(),
|
|
1250
1250
|
displayName: z.string(),
|
|
@@ -1670,7 +1670,7 @@ export const RetrieveToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1670
1670
|
z.ZodTypeDef,
|
|
1671
1671
|
unknown
|
|
1672
1672
|
> = z.object({
|
|
1673
|
-
_id: z.string().default("
|
|
1673
|
+
_id: z.string().default("01K6MG8W5TKY3RY3YNK2XZDZBK"),
|
|
1674
1674
|
path: z.string(),
|
|
1675
1675
|
key: z.string(),
|
|
1676
1676
|
display_name: z.string(),
|
|
@@ -1724,7 +1724,7 @@ export const RetrieveToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1724
1724
|
z.ZodTypeDef,
|
|
1725
1725
|
RetrieveToolResponseBody3
|
|
1726
1726
|
> = z.object({
|
|
1727
|
-
id: z.string().default("
|
|
1727
|
+
id: z.string().default("01K6MG8W5TKY3RY3YNK2XZDZBK"),
|
|
1728
1728
|
path: z.string(),
|
|
1729
1729
|
key: z.string(),
|
|
1730
1730
|
displayName: z.string(),
|
|
@@ -1902,7 +1902,7 @@ export const RetrieveToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1902
1902
|
z.ZodTypeDef,
|
|
1903
1903
|
unknown
|
|
1904
1904
|
> = z.object({
|
|
1905
|
-
_id: z.string().default("
|
|
1905
|
+
_id: z.string().default("01K6MG8W5T3W8QEJ5T8PPVQ8G4"),
|
|
1906
1906
|
path: z.string(),
|
|
1907
1907
|
key: z.string(),
|
|
1908
1908
|
display_name: z.string(),
|
|
@@ -1955,7 +1955,7 @@ export const RetrieveToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
1955
1955
|
z.ZodTypeDef,
|
|
1956
1956
|
RetrieveToolResponseBody2
|
|
1957
1957
|
> = z.object({
|
|
1958
|
-
id: z.string().default("
|
|
1958
|
+
id: z.string().default("01K6MG8W5T3W8QEJ5T8PPVQ8G4"),
|
|
1959
1959
|
path: z.string(),
|
|
1960
1960
|
key: z.string(),
|
|
1961
1961
|
displayName: z.string(),
|
|
@@ -2127,7 +2127,7 @@ export const RetrieveToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2127
2127
|
z.ZodTypeDef,
|
|
2128
2128
|
unknown
|
|
2129
2129
|
> = z.object({
|
|
2130
|
-
_id: z.string().default("
|
|
2130
|
+
_id: z.string().default("01K6MG8W5SBK69CSZ17CXK6768"),
|
|
2131
2131
|
path: z.string(),
|
|
2132
2132
|
key: z.string(),
|
|
2133
2133
|
display_name: z.string(),
|
|
@@ -2179,7 +2179,7 @@ export const RetrieveToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2179
2179
|
z.ZodTypeDef,
|
|
2180
2180
|
RetrieveToolResponseBody1
|
|
2181
2181
|
> = z.object({
|
|
2182
|
-
id: z.string().default("
|
|
2182
|
+
id: z.string().default("01K6MG8W5SBK69CSZ17CXK6768"),
|
|
2183
2183
|
path: z.string(),
|
|
2184
2184
|
key: z.string(),
|
|
2185
2185
|
displayName: z.string(),
|
|
@@ -239,7 +239,10 @@ export type KnowledgeBases = {
|
|
|
239
239
|
};
|
|
240
240
|
|
|
241
241
|
export type TeamOfAgents = {
|
|
242
|
-
|
|
242
|
+
/**
|
|
243
|
+
* The unique key of the agent within the workspace
|
|
244
|
+
*/
|
|
245
|
+
key: string;
|
|
243
246
|
/**
|
|
244
247
|
* The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
|
|
245
248
|
*/
|
|
@@ -1951,17 +1954,13 @@ export const TeamOfAgents$inboundSchema: z.ZodType<
|
|
|
1951
1954
|
z.ZodTypeDef,
|
|
1952
1955
|
unknown
|
|
1953
1956
|
> = z.object({
|
|
1954
|
-
|
|
1957
|
+
key: z.string(),
|
|
1955
1958
|
role: z.string().optional(),
|
|
1956
|
-
}).transform((v) => {
|
|
1957
|
-
return remap$(v, {
|
|
1958
|
-
"_id": "id",
|
|
1959
|
-
});
|
|
1960
1959
|
});
|
|
1961
1960
|
|
|
1962
1961
|
/** @internal */
|
|
1963
1962
|
export type TeamOfAgents$Outbound = {
|
|
1964
|
-
|
|
1963
|
+
key: string;
|
|
1965
1964
|
role?: string | undefined;
|
|
1966
1965
|
};
|
|
1967
1966
|
|
|
@@ -1971,12 +1970,8 @@ export const TeamOfAgents$outboundSchema: z.ZodType<
|
|
|
1971
1970
|
z.ZodTypeDef,
|
|
1972
1971
|
TeamOfAgents
|
|
1973
1972
|
> = z.object({
|
|
1974
|
-
|
|
1973
|
+
key: z.string(),
|
|
1975
1974
|
role: z.string().optional(),
|
|
1976
|
-
}).transform((v) => {
|
|
1977
|
-
return remap$(v, {
|
|
1978
|
-
id: "_id",
|
|
1979
|
-
});
|
|
1980
1975
|
});
|
|
1981
1976
|
|
|
1982
1977
|
/**
|
|
@@ -2674,7 +2669,7 @@ export const HTTPTool$inboundSchema: z.ZodType<
|
|
|
2674
2669
|
z.ZodTypeDef,
|
|
2675
2670
|
unknown
|
|
2676
2671
|
> = z.object({
|
|
2677
|
-
_id: z.string().default("
|
|
2672
|
+
_id: z.string().default("01K6MG8VYBFSD5THXPFZH4686D"),
|
|
2678
2673
|
key: z.string(),
|
|
2679
2674
|
display_name: z.string(),
|
|
2680
2675
|
description: z.string(),
|
|
@@ -2707,7 +2702,7 @@ export const HTTPTool$outboundSchema: z.ZodType<
|
|
|
2707
2702
|
z.ZodTypeDef,
|
|
2708
2703
|
HTTPTool
|
|
2709
2704
|
> = z.object({
|
|
2710
|
-
id: z.string().default("
|
|
2705
|
+
id: z.string().default("01K6MG8VYBFSD5THXPFZH4686D"),
|
|
2711
2706
|
key: z.string(),
|
|
2712
2707
|
displayName: z.string(),
|
|
2713
2708
|
description: z.string(),
|
|
@@ -260,7 +260,10 @@ export type StreamRunAgentKnowledgeBases = {
|
|
|
260
260
|
};
|
|
261
261
|
|
|
262
262
|
export type StreamRunAgentTeamOfAgents = {
|
|
263
|
-
|
|
263
|
+
/**
|
|
264
|
+
* The unique key of the agent within the workspace
|
|
265
|
+
*/
|
|
266
|
+
key: string;
|
|
264
267
|
/**
|
|
265
268
|
* The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
|
|
266
269
|
*/
|
|
@@ -2032,17 +2035,13 @@ export const StreamRunAgentTeamOfAgents$inboundSchema: z.ZodType<
|
|
|
2032
2035
|
z.ZodTypeDef,
|
|
2033
2036
|
unknown
|
|
2034
2037
|
> = z.object({
|
|
2035
|
-
|
|
2038
|
+
key: z.string(),
|
|
2036
2039
|
role: z.string().optional(),
|
|
2037
|
-
}).transform((v) => {
|
|
2038
|
-
return remap$(v, {
|
|
2039
|
-
"_id": "id",
|
|
2040
|
-
});
|
|
2041
2040
|
});
|
|
2042
2041
|
|
|
2043
2042
|
/** @internal */
|
|
2044
2043
|
export type StreamRunAgentTeamOfAgents$Outbound = {
|
|
2045
|
-
|
|
2044
|
+
key: string;
|
|
2046
2045
|
role?: string | undefined;
|
|
2047
2046
|
};
|
|
2048
2047
|
|
|
@@ -2052,12 +2051,8 @@ export const StreamRunAgentTeamOfAgents$outboundSchema: z.ZodType<
|
|
|
2052
2051
|
z.ZodTypeDef,
|
|
2053
2052
|
StreamRunAgentTeamOfAgents
|
|
2054
2053
|
> = z.object({
|
|
2055
|
-
|
|
2054
|
+
key: z.string(),
|
|
2056
2055
|
role: z.string().optional(),
|
|
2057
|
-
}).transform((v) => {
|
|
2058
|
-
return remap$(v, {
|
|
2059
|
-
id: "_id",
|
|
2060
|
-
});
|
|
2061
2056
|
});
|
|
2062
2057
|
|
|
2063
2058
|
/**
|
|
@@ -2829,7 +2824,7 @@ export const RunAgentRequestToolHTTPTool$inboundSchema: z.ZodType<
|
|
|
2829
2824
|
z.ZodTypeDef,
|
|
2830
2825
|
unknown
|
|
2831
2826
|
> = z.object({
|
|
2832
|
-
_id: z.string().default("
|
|
2827
|
+
_id: z.string().default("01K6MG8VYF6HW72HB09T7SHET2"),
|
|
2833
2828
|
key: z.string(),
|
|
2834
2829
|
display_name: z.string(),
|
|
2835
2830
|
description: z.string(),
|
|
@@ -2862,7 +2857,7 @@ export const RunAgentRequestToolHTTPTool$outboundSchema: z.ZodType<
|
|
|
2862
2857
|
z.ZodTypeDef,
|
|
2863
2858
|
RunAgentRequestToolHTTPTool
|
|
2864
2859
|
> = z.object({
|
|
2865
|
-
id: z.string().default("
|
|
2860
|
+
id: z.string().default("01K6MG8VYF6HW72HB09T7SHET2"),
|
|
2866
2861
|
key: z.string(),
|
|
2867
2862
|
displayName: z.string(),
|
|
2868
2863
|
description: z.string(),
|
|
@@ -538,7 +538,7 @@ export const UpdateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
538
538
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
539
539
|
.optional(),
|
|
540
540
|
updated: z.string().datetime({ offset: true }).default(
|
|
541
|
-
"2025-10-
|
|
541
|
+
"2025-10-03T07:40:54.894Z",
|
|
542
542
|
).transform(v => new Date(v)),
|
|
543
543
|
}).transform((v) => {
|
|
544
544
|
return remap$(v, {
|
|
@@ -573,7 +573,7 @@ export const UpdateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
573
573
|
isActive: z.boolean(),
|
|
574
574
|
consumption: z.lazy(() => UpdateBudgetConsumption$outboundSchema).optional(),
|
|
575
575
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
576
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
576
|
+
updated: z.date().default(() => new Date("2025-10-03T07:40:54.894Z"))
|
|
577
577
|
.transform(v => v.toISOString()),
|
|
578
578
|
}).transform((v) => {
|
|
579
579
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
245
245
|
.optional(),
|
|
246
246
|
updated: z.string().datetime({ offset: true }).default(
|
|
247
|
-
"2025-10-
|
|
247
|
+
"2025-10-03T07:40:54.894Z",
|
|
248
248
|
).transform(v => new Date(v)),
|
|
249
249
|
}).transform((v) => {
|
|
250
250
|
return remap$(v, {
|
|
@@ -282,7 +282,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
282
282
|
tags: z.array(z.string()).optional(),
|
|
283
283
|
metadata: z.record(z.any()).optional(),
|
|
284
284
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
285
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
285
|
+
updated: z.date().default(() => new Date("2025-10-03T07:40:54.894Z"))
|
|
286
286
|
.transform(v => v.toISOString()),
|
|
287
287
|
}).transform((v) => {
|
|
288
288
|
return remap$(v, {
|
|
@@ -6020,7 +6020,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
6020
6020
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6021
6021
|
.optional(),
|
|
6022
6022
|
updated: z.string().datetime({ offset: true }).default(
|
|
6023
|
-
"2025-10-
|
|
6023
|
+
"2025-10-03T07:40:54.894Z",
|
|
6024
6024
|
).transform(v => new Date(v)),
|
|
6025
6025
|
}).transform((v) => {
|
|
6026
6026
|
return remap$(v, {
|
|
@@ -6082,7 +6082,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
6082
6082
|
createdById: z.string().optional(),
|
|
6083
6083
|
updatedById: z.string().optional(),
|
|
6084
6084
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6085
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
6085
|
+
updated: z.date().default(() => new Date("2025-10-03T07:40:54.894Z"))
|
|
6086
6086
|
.transform(v => v.toISOString()),
|
|
6087
6087
|
}).transform((v) => {
|
|
6088
6088
|
return remap$(v, {
|