@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
|
@@ -10,7 +10,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
12
|
export type RetrieveToolRequest = {
|
|
13
|
-
|
|
13
|
+
toolId: string;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -552,16 +552,16 @@ export const RetrieveToolRequest$inboundSchema: z.ZodType<
|
|
|
552
552
|
z.ZodTypeDef,
|
|
553
553
|
unknown
|
|
554
554
|
> = z.object({
|
|
555
|
-
|
|
555
|
+
tool_id: z.string(),
|
|
556
556
|
}).transform((v) => {
|
|
557
557
|
return remap$(v, {
|
|
558
|
-
"
|
|
558
|
+
"tool_id": "toolId",
|
|
559
559
|
});
|
|
560
560
|
});
|
|
561
561
|
|
|
562
562
|
/** @internal */
|
|
563
563
|
export type RetrieveToolRequest$Outbound = {
|
|
564
|
-
|
|
564
|
+
tool_id: string;
|
|
565
565
|
};
|
|
566
566
|
|
|
567
567
|
/** @internal */
|
|
@@ -570,10 +570,10 @@ export const RetrieveToolRequest$outboundSchema: z.ZodType<
|
|
|
570
570
|
z.ZodTypeDef,
|
|
571
571
|
RetrieveToolRequest
|
|
572
572
|
> = z.object({
|
|
573
|
-
|
|
573
|
+
toolId: z.string(),
|
|
574
574
|
}).transform((v) => {
|
|
575
575
|
return remap$(v, {
|
|
576
|
-
|
|
576
|
+
toolId: "tool_id",
|
|
577
577
|
});
|
|
578
578
|
});
|
|
579
579
|
|
|
@@ -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("01K6MDVPV22ZR8W2GYMVZ5F6TZ"),
|
|
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("01K6MDVPV22ZR8W2GYMVZ5F6TZ"),
|
|
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("01K6MDVPV1RYZ74ZSMPJ3S9EXQ"),
|
|
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("01K6MDVPV1RYZ74ZSMPJ3S9EXQ"),
|
|
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("01K6MDVPV13ZW53ERT9WNJ2K2P"),
|
|
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("01K6MDVPV13ZW53ERT9WNJ2K2P"),
|
|
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("01K6MDVPV00F4169XKZ0S0FPN7"),
|
|
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("01K6MDVPV00F4169XKZ0S0FPN7"),
|
|
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("01K6MDVPV0R1R97DFR2Z314CXZ"),
|
|
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("01K6MDVPV0R1R97DFR2Z314CXZ"),
|
|
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
|
*/
|
|
@@ -425,7 +428,6 @@ export type Http = {
|
|
|
425
428
|
* Makes HTTP requests to external APIs
|
|
426
429
|
*/
|
|
427
430
|
export type HTTPTool = {
|
|
428
|
-
id?: string | undefined;
|
|
429
431
|
/**
|
|
430
432
|
* Unique key of the tool as it will be displayed in the UI
|
|
431
433
|
*/
|
|
@@ -1951,17 +1953,13 @@ export const TeamOfAgents$inboundSchema: z.ZodType<
|
|
|
1951
1953
|
z.ZodTypeDef,
|
|
1952
1954
|
unknown
|
|
1953
1955
|
> = z.object({
|
|
1954
|
-
|
|
1956
|
+
key: z.string(),
|
|
1955
1957
|
role: z.string().optional(),
|
|
1956
|
-
}).transform((v) => {
|
|
1957
|
-
return remap$(v, {
|
|
1958
|
-
"_id": "id",
|
|
1959
|
-
});
|
|
1960
1958
|
});
|
|
1961
1959
|
|
|
1962
1960
|
/** @internal */
|
|
1963
1961
|
export type TeamOfAgents$Outbound = {
|
|
1964
|
-
|
|
1962
|
+
key: string;
|
|
1965
1963
|
role?: string | undefined;
|
|
1966
1964
|
};
|
|
1967
1965
|
|
|
@@ -1971,12 +1969,8 @@ export const TeamOfAgents$outboundSchema: z.ZodType<
|
|
|
1971
1969
|
z.ZodTypeDef,
|
|
1972
1970
|
TeamOfAgents
|
|
1973
1971
|
> = z.object({
|
|
1974
|
-
|
|
1972
|
+
key: z.string(),
|
|
1975
1973
|
role: z.string().optional(),
|
|
1976
|
-
}).transform((v) => {
|
|
1977
|
-
return remap$(v, {
|
|
1978
|
-
id: "_id",
|
|
1979
|
-
});
|
|
1980
1974
|
});
|
|
1981
1975
|
|
|
1982
1976
|
/**
|
|
@@ -2674,7 +2668,6 @@ export const HTTPTool$inboundSchema: z.ZodType<
|
|
|
2674
2668
|
z.ZodTypeDef,
|
|
2675
2669
|
unknown
|
|
2676
2670
|
> = z.object({
|
|
2677
|
-
_id: z.string().default("01K6J0GBY0P5PGP2YCZTH8RYA3"),
|
|
2678
2671
|
key: z.string(),
|
|
2679
2672
|
display_name: z.string(),
|
|
2680
2673
|
description: z.string(),
|
|
@@ -2684,7 +2677,6 @@ export const HTTPTool$inboundSchema: z.ZodType<
|
|
|
2684
2677
|
requires_approval: z.boolean().default(false),
|
|
2685
2678
|
}).transform((v) => {
|
|
2686
2679
|
return remap$(v, {
|
|
2687
|
-
"_id": "id",
|
|
2688
2680
|
"display_name": "displayName",
|
|
2689
2681
|
"requires_approval": "requiresApproval",
|
|
2690
2682
|
});
|
|
@@ -2692,7 +2684,6 @@ export const HTTPTool$inboundSchema: z.ZodType<
|
|
|
2692
2684
|
|
|
2693
2685
|
/** @internal */
|
|
2694
2686
|
export type HTTPTool$Outbound = {
|
|
2695
|
-
_id: string;
|
|
2696
2687
|
key: string;
|
|
2697
2688
|
display_name: string;
|
|
2698
2689
|
description: string;
|
|
@@ -2707,7 +2698,6 @@ export const HTTPTool$outboundSchema: z.ZodType<
|
|
|
2707
2698
|
z.ZodTypeDef,
|
|
2708
2699
|
HTTPTool
|
|
2709
2700
|
> = z.object({
|
|
2710
|
-
id: z.string().default("01K6J0GBY0P5PGP2YCZTH8RYA3"),
|
|
2711
2701
|
key: z.string(),
|
|
2712
2702
|
displayName: z.string(),
|
|
2713
2703
|
description: z.string(),
|
|
@@ -2717,7 +2707,6 @@ export const HTTPTool$outboundSchema: z.ZodType<
|
|
|
2717
2707
|
requiresApproval: z.boolean().default(false),
|
|
2718
2708
|
}).transform((v) => {
|
|
2719
2709
|
return remap$(v, {
|
|
2720
|
-
id: "_id",
|
|
2721
2710
|
displayName: "display_name",
|
|
2722
2711
|
requiresApproval: "requires_approval",
|
|
2723
2712
|
});
|
|
@@ -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
|
*/
|
|
@@ -452,7 +455,6 @@ export type RunAgentRequestToolHttp = {
|
|
|
452
455
|
* Makes HTTP requests to external APIs
|
|
453
456
|
*/
|
|
454
457
|
export type RunAgentRequestToolHTTPTool = {
|
|
455
|
-
id?: string | undefined;
|
|
456
458
|
/**
|
|
457
459
|
* Unique key of the tool as it will be displayed in the UI
|
|
458
460
|
*/
|
|
@@ -2032,17 +2034,13 @@ export const StreamRunAgentTeamOfAgents$inboundSchema: z.ZodType<
|
|
|
2032
2034
|
z.ZodTypeDef,
|
|
2033
2035
|
unknown
|
|
2034
2036
|
> = z.object({
|
|
2035
|
-
|
|
2037
|
+
key: z.string(),
|
|
2036
2038
|
role: z.string().optional(),
|
|
2037
|
-
}).transform((v) => {
|
|
2038
|
-
return remap$(v, {
|
|
2039
|
-
"_id": "id",
|
|
2040
|
-
});
|
|
2041
2039
|
});
|
|
2042
2040
|
|
|
2043
2041
|
/** @internal */
|
|
2044
2042
|
export type StreamRunAgentTeamOfAgents$Outbound = {
|
|
2045
|
-
|
|
2043
|
+
key: string;
|
|
2046
2044
|
role?: string | undefined;
|
|
2047
2045
|
};
|
|
2048
2046
|
|
|
@@ -2052,12 +2050,8 @@ export const StreamRunAgentTeamOfAgents$outboundSchema: z.ZodType<
|
|
|
2052
2050
|
z.ZodTypeDef,
|
|
2053
2051
|
StreamRunAgentTeamOfAgents
|
|
2054
2052
|
> = z.object({
|
|
2055
|
-
|
|
2053
|
+
key: z.string(),
|
|
2056
2054
|
role: z.string().optional(),
|
|
2057
|
-
}).transform((v) => {
|
|
2058
|
-
return remap$(v, {
|
|
2059
|
-
id: "_id",
|
|
2060
|
-
});
|
|
2061
2055
|
});
|
|
2062
2056
|
|
|
2063
2057
|
/**
|
|
@@ -2829,7 +2823,6 @@ export const RunAgentRequestToolHTTPTool$inboundSchema: z.ZodType<
|
|
|
2829
2823
|
z.ZodTypeDef,
|
|
2830
2824
|
unknown
|
|
2831
2825
|
> = z.object({
|
|
2832
|
-
_id: z.string().default("01K6J0GBY6KWDFE5DH8SJT0HNV"),
|
|
2833
2826
|
key: z.string(),
|
|
2834
2827
|
display_name: z.string(),
|
|
2835
2828
|
description: z.string(),
|
|
@@ -2839,7 +2832,6 @@ export const RunAgentRequestToolHTTPTool$inboundSchema: z.ZodType<
|
|
|
2839
2832
|
requires_approval: z.boolean().default(false),
|
|
2840
2833
|
}).transform((v) => {
|
|
2841
2834
|
return remap$(v, {
|
|
2842
|
-
"_id": "id",
|
|
2843
2835
|
"display_name": "displayName",
|
|
2844
2836
|
"requires_approval": "requiresApproval",
|
|
2845
2837
|
});
|
|
@@ -2847,7 +2839,6 @@ export const RunAgentRequestToolHTTPTool$inboundSchema: z.ZodType<
|
|
|
2847
2839
|
|
|
2848
2840
|
/** @internal */
|
|
2849
2841
|
export type RunAgentRequestToolHTTPTool$Outbound = {
|
|
2850
|
-
_id: string;
|
|
2851
2842
|
key: string;
|
|
2852
2843
|
display_name: string;
|
|
2853
2844
|
description: string;
|
|
@@ -2862,7 +2853,6 @@ export const RunAgentRequestToolHTTPTool$outboundSchema: z.ZodType<
|
|
|
2862
2853
|
z.ZodTypeDef,
|
|
2863
2854
|
RunAgentRequestToolHTTPTool
|
|
2864
2855
|
> = z.object({
|
|
2865
|
-
id: z.string().default("01K6J0GBY6KWDFE5DH8SJT0HNV"),
|
|
2866
2856
|
key: z.string(),
|
|
2867
2857
|
displayName: z.string(),
|
|
2868
2858
|
description: z.string(),
|
|
@@ -2872,7 +2862,6 @@ export const RunAgentRequestToolHTTPTool$outboundSchema: z.ZodType<
|
|
|
2872
2862
|
requiresApproval: z.boolean().default(false),
|
|
2873
2863
|
}).transform((v) => {
|
|
2874
2864
|
return remap$(v, {
|
|
2875
|
-
id: "_id",
|
|
2876
2865
|
displayName: "display_name",
|
|
2877
2866
|
requiresApproval: "requires_approval",
|
|
2878
2867
|
});
|
|
@@ -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-03T06:58:46.742Z",
|
|
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-03T06:58:46.742Z"))
|
|
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-03T06:58:46.742Z",
|
|
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-03T06:58:46.742Z"))
|
|
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-03T06:58:46.742Z",
|
|
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-03T06:58:46.742Z"))
|
|
6086
6086
|
.transform(v => v.toISOString()),
|
|
6087
6087
|
}).transform((v) => {
|
|
6088
6088
|
return remap$(v, {
|
|
@@ -302,7 +302,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
302
302
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
303
303
|
.optional(),
|
|
304
304
|
updated: z.string().datetime({ offset: true }).default(
|
|
305
|
-
"2025-10-
|
|
305
|
+
"2025-10-03T06:58:46.742Z",
|
|
306
306
|
).transform(v => new Date(v)),
|
|
307
307
|
}).transform((v) => {
|
|
308
308
|
return remap$(v, {
|
|
@@ -347,7 +347,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
347
347
|
parentId: z.string().optional(),
|
|
348
348
|
version: z.string().optional(),
|
|
349
349
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
350
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
350
|
+
updated: z.date().default(() => new Date("2025-10-03T06:58:46.742Z"))
|
|
351
351
|
.transform(v => v.toISOString()),
|
|
352
352
|
}).transform((v) => {
|
|
353
353
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
z.ZodTypeDef,
|
|
245
245
|
unknown
|
|
246
246
|
> = z.object({
|
|
247
|
-
_id: z.string().default("
|
|
247
|
+
_id: z.string().default("01K6MDVPQ7V0HAB3XYGW4G3PGX"),
|
|
248
248
|
display_name: z.string(),
|
|
249
249
|
description: z.string().optional(),
|
|
250
250
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -288,7 +288,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
288
288
|
z.ZodTypeDef,
|
|
289
289
|
UpdateDatasourceResponseBody
|
|
290
290
|
> = z.object({
|
|
291
|
-
id: z.string().default("
|
|
291
|
+
id: z.string().default("01K6MDVPQ7V0HAB3XYGW4G3PGX"),
|
|
292
292
|
displayName: z.string(),
|
|
293
293
|
description: z.string().optional(),
|
|
294
294
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -3636,8 +3636,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
3636
3636
|
> = z.object({
|
|
3637
3637
|
_id: z.string(),
|
|
3638
3638
|
description: z.string(),
|
|
3639
|
-
created: z.string().default("2025-10-
|
|
3640
|
-
updated: z.string().default("2025-10-
|
|
3639
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
3640
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
3641
3641
|
guardrail_config: z.union([
|
|
3642
3642
|
z.lazy(() =>
|
|
3643
3643
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3680,8 +3680,8 @@ export const ResponseBodyTypescript$outboundSchema: z.ZodType<
|
|
|
3680
3680
|
> = z.object({
|
|
3681
3681
|
id: z.string(),
|
|
3682
3682
|
description: z.string(),
|
|
3683
|
-
created: z.string().default("2025-10-
|
|
3684
|
-
updated: z.string().default("2025-10-
|
|
3683
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
3684
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
3685
3685
|
guardrailConfig: z.union([
|
|
3686
3686
|
z.lazy(() =>
|
|
3687
3687
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -4107,8 +4107,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
4107
4107
|
> = z.object({
|
|
4108
4108
|
_id: z.string(),
|
|
4109
4109
|
description: z.string(),
|
|
4110
|
-
created: z.string().default("2025-10-
|
|
4111
|
-
updated: z.string().default("2025-10-
|
|
4110
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
4111
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
4112
4112
|
guardrail_config: z.union([
|
|
4113
4113
|
z.lazy(() =>
|
|
4114
4114
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -4154,8 +4154,8 @@ export const ResponseBodyRagas$outboundSchema: z.ZodType<
|
|
|
4154
4154
|
> = z.object({
|
|
4155
4155
|
id: z.string(),
|
|
4156
4156
|
description: z.string(),
|
|
4157
|
-
created: z.string().default("2025-10-
|
|
4158
|
-
updated: z.string().default("2025-10-
|
|
4157
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
4158
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
4159
4159
|
guardrailConfig: z.union([
|
|
4160
4160
|
z.lazy(() =>
|
|
4161
4161
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7662,8 +7662,8 @@ export const UpdateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7662
7662
|
> = z.object({
|
|
7663
7663
|
_id: z.string(),
|
|
7664
7664
|
description: z.string(),
|
|
7665
|
-
created: z.string().default("2025-10-
|
|
7666
|
-
updated: z.string().default("2025-10-
|
|
7665
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
7666
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
7667
7667
|
guardrail_config: z.union([
|
|
7668
7668
|
z.lazy(() =>
|
|
7669
7669
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7777,8 +7777,8 @@ export const UpdateEvalResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7777
7777
|
> = z.object({
|
|
7778
7778
|
id: z.string(),
|
|
7779
7779
|
description: z.string(),
|
|
7780
|
-
created: z.string().default("2025-10-
|
|
7781
|
-
updated: z.string().default("2025-10-
|
|
7780
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
7781
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
7782
7782
|
guardrailConfig: z.union([
|
|
7783
7783
|
z.lazy(() =>
|
|
7784
7784
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -8220,8 +8220,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
8220
8220
|
> = z.object({
|
|
8221
8221
|
_id: z.string(),
|
|
8222
8222
|
description: z.string(),
|
|
8223
|
-
created: z.string().default("2025-10-
|
|
8224
|
-
updated: z.string().default("2025-10-
|
|
8223
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
8224
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
8225
8225
|
guardrail_config: z.union([
|
|
8226
8226
|
z.lazy(() =>
|
|
8227
8227
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -8263,8 +8263,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
8263
8263
|
> = z.object({
|
|
8264
8264
|
id: z.string(),
|
|
8265
8265
|
description: z.string(),
|
|
8266
|
-
created: z.string().default("2025-10-
|
|
8267
|
-
updated: z.string().default("2025-10-
|
|
8266
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
8267
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
8268
8268
|
guardrailConfig: z.union([
|
|
8269
8269
|
z.lazy(() =>
|
|
8270
8270
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8685,8 +8685,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8685
8685
|
> = z.object({
|
|
8686
8686
|
_id: z.string(),
|
|
8687
8687
|
description: z.string(),
|
|
8688
|
-
created: z.string().default("2025-10-
|
|
8689
|
-
updated: z.string().default("2025-10-
|
|
8688
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
8689
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
8690
8690
|
guardrail_config: z.union([
|
|
8691
8691
|
z.lazy(() =>
|
|
8692
8692
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8734,8 +8734,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8734
8734
|
> = z.object({
|
|
8735
8735
|
id: z.string(),
|
|
8736
8736
|
description: z.string(),
|
|
8737
|
-
created: z.string().default("2025-10-
|
|
8738
|
-
updated: z.string().default("2025-10-
|
|
8737
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
8738
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
8739
8739
|
guardrailConfig: z.union([
|
|
8740
8740
|
z.lazy(() =>
|
|
8741
8741
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -9125,8 +9125,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
9125
9125
|
> = z.object({
|
|
9126
9126
|
_id: z.string(),
|
|
9127
9127
|
description: z.string(),
|
|
9128
|
-
created: z.string().default("2025-10-
|
|
9129
|
-
updated: z.string().default("2025-10-
|
|
9128
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
9129
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
9130
9130
|
guardrail_config: z.union([
|
|
9131
9131
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
9132
9132
|
z.lazy(() =>
|
|
@@ -9166,8 +9166,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
9166
9166
|
> = z.object({
|
|
9167
9167
|
id: z.string(),
|
|
9168
9168
|
description: z.string(),
|
|
9169
|
-
created: z.string().default("2025-10-
|
|
9170
|
-
updated: z.string().default("2025-10-
|
|
9169
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
9170
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
9171
9171
|
guardrailConfig: z.union([
|
|
9172
9172
|
z.lazy(() =>
|
|
9173
9173
|
UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9525,8 +9525,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9525
9525
|
> = z.object({
|
|
9526
9526
|
_id: z.string(),
|
|
9527
9527
|
description: z.string(),
|
|
9528
|
-
created: z.string().default("2025-10-
|
|
9529
|
-
updated: z.string().default("2025-10-
|
|
9528
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
9529
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
9530
9530
|
guardrail_config: z.union([
|
|
9531
9531
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9532
9532
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9566,8 +9566,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9566
9566
|
> = z.object({
|
|
9567
9567
|
id: z.string(),
|
|
9568
9568
|
description: z.string(),
|
|
9569
|
-
created: z.string().default("2025-10-
|
|
9570
|
-
updated: z.string().default("2025-10-
|
|
9569
|
+
created: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
9570
|
+
updated: z.string().default("2025-10-03T06:58:49.026Z"),
|
|
9571
9571
|
guardrailConfig: z.union([
|
|
9572
9572
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9573
9573
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -83,6 +83,7 @@ export type UpdatePrompt1Type = ClosedEnum<typeof UpdatePrompt1Type>;
|
|
|
83
83
|
|
|
84
84
|
export type OneJsonSchema = {
|
|
85
85
|
name: string;
|
|
86
|
+
description?: string | undefined;
|
|
86
87
|
strict?: boolean | undefined;
|
|
87
88
|
schema: { [k: string]: any };
|
|
88
89
|
};
|
|
@@ -653,6 +654,7 @@ export type UpdatePrompt1PromptsResponseType = ClosedEnum<
|
|
|
653
654
|
|
|
654
655
|
export type UpdatePrompt1JsonSchema = {
|
|
655
656
|
name: string;
|
|
657
|
+
description?: string | undefined;
|
|
656
658
|
strict?: boolean | undefined;
|
|
657
659
|
schema: { [k: string]: any };
|
|
658
660
|
};
|
|
@@ -1382,6 +1384,7 @@ export const OneJsonSchema$inboundSchema: z.ZodType<
|
|
|
1382
1384
|
unknown
|
|
1383
1385
|
> = z.object({
|
|
1384
1386
|
name: z.string(),
|
|
1387
|
+
description: z.string().optional(),
|
|
1385
1388
|
strict: z.boolean().optional(),
|
|
1386
1389
|
schema: z.record(z.any()),
|
|
1387
1390
|
});
|
|
@@ -1389,6 +1392,7 @@ export const OneJsonSchema$inboundSchema: z.ZodType<
|
|
|
1389
1392
|
/** @internal */
|
|
1390
1393
|
export type OneJsonSchema$Outbound = {
|
|
1391
1394
|
name: string;
|
|
1395
|
+
description?: string | undefined;
|
|
1392
1396
|
strict?: boolean | undefined;
|
|
1393
1397
|
schema: { [k: string]: any };
|
|
1394
1398
|
};
|
|
@@ -1400,6 +1404,7 @@ export const OneJsonSchema$outboundSchema: z.ZodType<
|
|
|
1400
1404
|
OneJsonSchema
|
|
1401
1405
|
> = z.object({
|
|
1402
1406
|
name: z.string(),
|
|
1407
|
+
description: z.string().optional(),
|
|
1403
1408
|
strict: z.boolean().optional(),
|
|
1404
1409
|
schema: z.record(z.any()),
|
|
1405
1410
|
});
|
|
@@ -3304,6 +3309,7 @@ export const UpdatePrompt1JsonSchema$inboundSchema: z.ZodType<
|
|
|
3304
3309
|
unknown
|
|
3305
3310
|
> = z.object({
|
|
3306
3311
|
name: z.string(),
|
|
3312
|
+
description: z.string().optional(),
|
|
3307
3313
|
strict: z.boolean().optional(),
|
|
3308
3314
|
schema: z.record(z.any()),
|
|
3309
3315
|
});
|
|
@@ -3311,6 +3317,7 @@ export const UpdatePrompt1JsonSchema$inboundSchema: z.ZodType<
|
|
|
3311
3317
|
/** @internal */
|
|
3312
3318
|
export type UpdatePrompt1JsonSchema$Outbound = {
|
|
3313
3319
|
name: string;
|
|
3320
|
+
description?: string | undefined;
|
|
3314
3321
|
strict?: boolean | undefined;
|
|
3315
3322
|
schema: { [k: string]: any };
|
|
3316
3323
|
};
|
|
@@ -3322,6 +3329,7 @@ export const UpdatePrompt1JsonSchema$outboundSchema: z.ZodType<
|
|
|
3322
3329
|
UpdatePrompt1JsonSchema
|
|
3323
3330
|
> = z.object({
|
|
3324
3331
|
name: z.string(),
|
|
3332
|
+
description: z.string().optional(),
|
|
3325
3333
|
strict: z.boolean().optional(),
|
|
3326
3334
|
schema: z.record(z.any()),
|
|
3327
3335
|
});
|