@orq-ai/node 4.0.0-rc.20 → 4.0.0-rc.21
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/README.md +25 -21
- package/bin/mcp-server.js +4356 -3411
- package/bin/mcp-server.js.map +54 -50
- package/docs/sdks/agents/README.md +83 -3
- package/examples/package-lock.json +1 -1
- package/funcs/agentsDuplicate.d.ts +18 -0
- package/funcs/agentsDuplicate.d.ts.map +1 -0
- package/funcs/agentsDuplicate.js +123 -0
- package/funcs/agentsDuplicate.js.map +1 -0
- package/funcs/agentsList.d.ts +1 -1
- package/funcs/agentsList.js +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.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsDuplicate.d.ts +8 -0
- package/mcp-server/tools/agentsDuplicate.d.ts.map +1 -0
- package/mcp-server/tools/agentsDuplicate.js +64 -0
- package/mcp-server/tools/agentsDuplicate.js.map +1 -0
- package/mcp-server/tools/agentsList.js +1 -1
- package/mcp-server/tools/agentsList.js.map +1 -1
- package/models/errors/duplicateagent.d.ts +55 -0
- package/models/errors/duplicateagent.d.ts.map +1 -0
- package/models/errors/duplicateagent.js +106 -0
- package/models/errors/duplicateagent.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagent.d.ts +19 -10
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +14 -11
- package/models/operations/createagent.js.map +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 +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +10 -10
- package/models/operations/duplicateagent.d.ts +1267 -0
- package/models/operations/duplicateagent.d.ts.map +1 -0
- package/models/operations/duplicateagent.js +1278 -0
- package/models/operations/duplicateagent.js.map +1 -0
- 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 +12 -9
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +11 -11
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getagenttask.d.ts +321 -4
- package/models/operations/getagenttask.d.ts.map +1 -1
- package/models/operations/getagenttask.js +351 -5
- 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/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +231 -2
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +261 -4
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +14 -11
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +14 -13
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +250 -1094
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +276 -1117
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- 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/retrievedatapoint.js +8 -8
- 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 +232 -3
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +267 -8
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +1 -1
- package/models/operations/updateagent.d.ts +41 -9
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +34 -16
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.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/updatetool.js +10 -10
- package/package.json +1 -1
- package/sdk/agents.d.ts +8 -1
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +11 -1
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsDuplicate.ts +179 -0
- package/src/funcs/agentsList.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/agentsDuplicate.ts +37 -0
- package/src/mcp-server/tools/agentsList.ts +1 -1
- package/src/models/errors/duplicateagent.ts +128 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/createagent.ts +33 -16
- 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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/duplicateagent.ts +3280 -0
- 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 +29 -17
- package/src/models/operations/getagenttask.ts +750 -8
- 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/index.ts +1 -0
- package/src/models/operations/invokeagent.ts +632 -4
- package/src/models/operations/listagents.ts +32 -21
- package/src/models/operations/listagenttasks.ts +640 -2908
- package/src/models/operations/listbudgets.ts +2 -2
- 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/retrievedatapoint.ts +8 -8
- 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 +606 -5
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updateagent.ts +72 -18
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.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/updatetool.ts +10 -10
- package/src/sdk/agents.ts +19 -1
|
@@ -1104,6 +1104,17 @@ export type UpdateAgentTeamOfAgents = {
|
|
|
1104
1104
|
role?: string | undefined;
|
|
1105
1105
|
};
|
|
1106
1106
|
|
|
1107
|
+
export const CollapsedConfigurationSections = {
|
|
1108
|
+
Information: "information",
|
|
1109
|
+
Model: "model",
|
|
1110
|
+
Tools: "tools",
|
|
1111
|
+
Context: "context",
|
|
1112
|
+
RuntimeConstraints: "runtime_constraints",
|
|
1113
|
+
} as const;
|
|
1114
|
+
export type CollapsedConfigurationSections = ClosedEnum<
|
|
1115
|
+
typeof CollapsedConfigurationSections
|
|
1116
|
+
>;
|
|
1117
|
+
|
|
1107
1118
|
export type UpdateAgentRequestBody = {
|
|
1108
1119
|
key?: string | undefined;
|
|
1109
1120
|
projectId?: string | undefined;
|
|
@@ -1135,12 +1146,25 @@ export type UpdateAgentRequestBody = {
|
|
|
1135
1146
|
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
1136
1147
|
*/
|
|
1137
1148
|
path?: string | undefined;
|
|
1149
|
+
/**
|
|
1150
|
+
* Array of memory store identifiers. Accepts both memory store IDs and keys.
|
|
1151
|
+
*/
|
|
1138
1152
|
memoryStores?: Array<string> | undefined;
|
|
1139
1153
|
knowledgeBases?: Array<UpdateAgentKnowledgeBases> | undefined;
|
|
1140
1154
|
/**
|
|
1141
1155
|
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
1142
1156
|
*/
|
|
1143
1157
|
teamOfAgents?: Array<UpdateAgentTeamOfAgents> | undefined;
|
|
1158
|
+
/**
|
|
1159
|
+
* List of collapsed sections in configuration. Duplicates are not allowed.
|
|
1160
|
+
*/
|
|
1161
|
+
collapsedConfigurationSections?:
|
|
1162
|
+
| Array<CollapsedConfigurationSections>
|
|
1163
|
+
| undefined;
|
|
1164
|
+
/**
|
|
1165
|
+
* Extracted variables from agent instructions
|
|
1166
|
+
*/
|
|
1167
|
+
variables?: { [k: string]: any } | undefined;
|
|
1144
1168
|
};
|
|
1145
1169
|
|
|
1146
1170
|
export type UpdateAgentRequest = {
|
|
@@ -1944,15 +1968,15 @@ export type UpdateAgentAgentsKnowledgeBases = {
|
|
|
1944
1968
|
knowledgeId: string;
|
|
1945
1969
|
};
|
|
1946
1970
|
|
|
1947
|
-
export const
|
|
1971
|
+
export const UpdateAgentCollapsedConfigurationSections = {
|
|
1972
|
+
Information: "information",
|
|
1948
1973
|
Model: "model",
|
|
1949
1974
|
Tools: "tools",
|
|
1950
|
-
|
|
1951
|
-
Variables: "variables",
|
|
1975
|
+
Context: "context",
|
|
1952
1976
|
RuntimeConstraints: "runtime_constraints",
|
|
1953
1977
|
} as const;
|
|
1954
|
-
export type
|
|
1955
|
-
typeof
|
|
1978
|
+
export type UpdateAgentCollapsedConfigurationSections = ClosedEnum<
|
|
1979
|
+
typeof UpdateAgentCollapsedConfigurationSections
|
|
1956
1980
|
>;
|
|
1957
1981
|
|
|
1958
1982
|
/**
|
|
@@ -1988,6 +2012,9 @@ export type UpdateAgentResponseBody = {
|
|
|
1988
2012
|
* With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
|
|
1989
2013
|
*/
|
|
1990
2014
|
path: string;
|
|
2015
|
+
/**
|
|
2016
|
+
* Array of memory store identifiers. Accepts both memory store IDs and keys.
|
|
2017
|
+
*/
|
|
1991
2018
|
memoryStores: Array<string>;
|
|
1992
2019
|
/**
|
|
1993
2020
|
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
@@ -2003,9 +2030,11 @@ export type UpdateAgentResponseBody = {
|
|
|
2003
2030
|
*/
|
|
2004
2031
|
knowledgeBases?: Array<UpdateAgentAgentsKnowledgeBases> | undefined;
|
|
2005
2032
|
/**
|
|
2006
|
-
* List of
|
|
2033
|
+
* List of collapsed sections in configuration. Duplicates are not allowed.
|
|
2007
2034
|
*/
|
|
2008
|
-
|
|
2035
|
+
collapsedConfigurationSections?:
|
|
2036
|
+
| Array<UpdateAgentCollapsedConfigurationSections>
|
|
2037
|
+
| undefined;
|
|
2009
2038
|
};
|
|
2010
2039
|
|
|
2011
2040
|
/** @internal */
|
|
@@ -5162,6 +5191,15 @@ export function updateAgentTeamOfAgentsFromJSON(
|
|
|
5162
5191
|
);
|
|
5163
5192
|
}
|
|
5164
5193
|
|
|
5194
|
+
/** @internal */
|
|
5195
|
+
export const CollapsedConfigurationSections$inboundSchema: z.ZodNativeEnum<
|
|
5196
|
+
typeof CollapsedConfigurationSections
|
|
5197
|
+
> = z.nativeEnum(CollapsedConfigurationSections);
|
|
5198
|
+
/** @internal */
|
|
5199
|
+
export const CollapsedConfigurationSections$outboundSchema: z.ZodNativeEnum<
|
|
5200
|
+
typeof CollapsedConfigurationSections
|
|
5201
|
+
> = CollapsedConfigurationSections$inboundSchema;
|
|
5202
|
+
|
|
5165
5203
|
/** @internal */
|
|
5166
5204
|
export const UpdateAgentRequestBody$inboundSchema: z.ZodType<
|
|
5167
5205
|
UpdateAgentRequestBody,
|
|
@@ -5192,6 +5230,10 @@ export const UpdateAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
5192
5230
|
).optional(),
|
|
5193
5231
|
team_of_agents: z.array(z.lazy(() => UpdateAgentTeamOfAgents$inboundSchema))
|
|
5194
5232
|
.optional(),
|
|
5233
|
+
collapsed_configuration_sections: z.array(
|
|
5234
|
+
CollapsedConfigurationSections$inboundSchema,
|
|
5235
|
+
).optional(),
|
|
5236
|
+
variables: z.record(z.any()).optional(),
|
|
5195
5237
|
}).transform((v) => {
|
|
5196
5238
|
return remap$(v, {
|
|
5197
5239
|
"project_id": "projectId",
|
|
@@ -5200,6 +5242,7 @@ export const UpdateAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
5200
5242
|
"memory_stores": "memoryStores",
|
|
5201
5243
|
"knowledge_bases": "knowledgeBases",
|
|
5202
5244
|
"team_of_agents": "teamOfAgents",
|
|
5245
|
+
"collapsed_configuration_sections": "collapsedConfigurationSections",
|
|
5203
5246
|
});
|
|
5204
5247
|
});
|
|
5205
5248
|
/** @internal */
|
|
@@ -5219,6 +5262,8 @@ export type UpdateAgentRequestBody$Outbound = {
|
|
|
5219
5262
|
memory_stores?: Array<string> | undefined;
|
|
5220
5263
|
knowledge_bases?: Array<UpdateAgentKnowledgeBases$Outbound> | undefined;
|
|
5221
5264
|
team_of_agents?: Array<UpdateAgentTeamOfAgents$Outbound> | undefined;
|
|
5265
|
+
collapsed_configuration_sections?: Array<string> | undefined;
|
|
5266
|
+
variables?: { [k: string]: any } | undefined;
|
|
5222
5267
|
};
|
|
5223
5268
|
|
|
5224
5269
|
/** @internal */
|
|
@@ -5251,6 +5296,10 @@ export const UpdateAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
5251
5296
|
).optional(),
|
|
5252
5297
|
teamOfAgents: z.array(z.lazy(() => UpdateAgentTeamOfAgents$outboundSchema))
|
|
5253
5298
|
.optional(),
|
|
5299
|
+
collapsedConfigurationSections: z.array(
|
|
5300
|
+
CollapsedConfigurationSections$outboundSchema,
|
|
5301
|
+
).optional(),
|
|
5302
|
+
variables: z.record(z.any()).optional(),
|
|
5254
5303
|
}).transform((v) => {
|
|
5255
5304
|
return remap$(v, {
|
|
5256
5305
|
projectId: "project_id",
|
|
@@ -5259,6 +5308,7 @@ export const UpdateAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
5259
5308
|
memoryStores: "memory_stores",
|
|
5260
5309
|
knowledgeBases: "knowledge_bases",
|
|
5261
5310
|
teamOfAgents: "team_of_agents",
|
|
5311
|
+
collapsedConfigurationSections: "collapsed_configuration_sections",
|
|
5262
5312
|
});
|
|
5263
5313
|
});
|
|
5264
5314
|
|
|
@@ -7666,13 +7716,13 @@ export function updateAgentAgentsKnowledgeBasesFromJSON(
|
|
|
7666
7716
|
}
|
|
7667
7717
|
|
|
7668
7718
|
/** @internal */
|
|
7669
|
-
export const
|
|
7670
|
-
typeof
|
|
7671
|
-
|
|
7719
|
+
export const UpdateAgentCollapsedConfigurationSections$inboundSchema:
|
|
7720
|
+
z.ZodNativeEnum<typeof UpdateAgentCollapsedConfigurationSections> = z
|
|
7721
|
+
.nativeEnum(UpdateAgentCollapsedConfigurationSections);
|
|
7672
7722
|
/** @internal */
|
|
7673
|
-
export const
|
|
7674
|
-
typeof
|
|
7675
|
-
|
|
7723
|
+
export const UpdateAgentCollapsedConfigurationSections$outboundSchema:
|
|
7724
|
+
z.ZodNativeEnum<typeof UpdateAgentCollapsedConfigurationSections> =
|
|
7725
|
+
UpdateAgentCollapsedConfigurationSections$inboundSchema;
|
|
7676
7726
|
|
|
7677
7727
|
/** @internal */
|
|
7678
7728
|
export const UpdateAgentResponseBody$inboundSchema: z.ZodType<
|
|
@@ -7706,7 +7756,9 @@ export const UpdateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
7706
7756
|
knowledge_bases: z.array(
|
|
7707
7757
|
z.lazy(() => UpdateAgentAgentsKnowledgeBases$inboundSchema),
|
|
7708
7758
|
).optional(),
|
|
7709
|
-
|
|
7759
|
+
collapsed_configuration_sections: z.array(
|
|
7760
|
+
UpdateAgentCollapsedConfigurationSections$inboundSchema,
|
|
7761
|
+
).optional(),
|
|
7710
7762
|
}).transform((v) => {
|
|
7711
7763
|
return remap$(v, {
|
|
7712
7764
|
"_id": "id",
|
|
@@ -7719,7 +7771,7 @@ export const UpdateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
7719
7771
|
"memory_stores": "memoryStores",
|
|
7720
7772
|
"team_of_agents": "teamOfAgents",
|
|
7721
7773
|
"knowledge_bases": "knowledgeBases",
|
|
7722
|
-
"
|
|
7774
|
+
"collapsed_configuration_sections": "collapsedConfigurationSections",
|
|
7723
7775
|
});
|
|
7724
7776
|
});
|
|
7725
7777
|
/** @internal */
|
|
@@ -7746,7 +7798,7 @@ export type UpdateAgentResponseBody$Outbound = {
|
|
|
7746
7798
|
metrics?: UpdateAgentMetrics$Outbound | undefined;
|
|
7747
7799
|
variables?: { [k: string]: any } | undefined;
|
|
7748
7800
|
knowledge_bases?: Array<UpdateAgentAgentsKnowledgeBases$Outbound> | undefined;
|
|
7749
|
-
|
|
7801
|
+
collapsed_configuration_sections?: Array<string> | undefined;
|
|
7750
7802
|
};
|
|
7751
7803
|
|
|
7752
7804
|
/** @internal */
|
|
@@ -7781,7 +7833,9 @@ export const UpdateAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
7781
7833
|
knowledgeBases: z.array(
|
|
7782
7834
|
z.lazy(() => UpdateAgentAgentsKnowledgeBases$outboundSchema),
|
|
7783
7835
|
).optional(),
|
|
7784
|
-
|
|
7836
|
+
collapsedConfigurationSections: z.array(
|
|
7837
|
+
UpdateAgentCollapsedConfigurationSections$outboundSchema,
|
|
7838
|
+
).optional(),
|
|
7785
7839
|
}).transform((v) => {
|
|
7786
7840
|
return remap$(v, {
|
|
7787
7841
|
id: "_id",
|
|
@@ -7794,7 +7848,7 @@ export const UpdateAgentResponseBody$outboundSchema: z.ZodType<
|
|
|
7794
7848
|
memoryStores: "memory_stores",
|
|
7795
7849
|
teamOfAgents: "team_of_agents",
|
|
7796
7850
|
knowledgeBases: "knowledge_bases",
|
|
7797
|
-
|
|
7851
|
+
collapsedConfigurationSections: "collapsed_configuration_sections",
|
|
7798
7852
|
});
|
|
7799
7853
|
});
|
|
7800
7854
|
|
|
@@ -436,7 +436,7 @@ export const UpdateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
436
436
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
437
437
|
.optional(),
|
|
438
438
|
updated: z.string().datetime({ offset: true }).default(
|
|
439
|
-
"2025-11-
|
|
439
|
+
"2025-11-11T05:06:17.991Z",
|
|
440
440
|
).transform(v => new Date(v)),
|
|
441
441
|
}).transform((v) => {
|
|
442
442
|
return remap$(v, {
|
|
@@ -473,7 +473,7 @@ export const UpdateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
473
473
|
isActive: z.boolean(),
|
|
474
474
|
consumption: z.lazy(() => UpdateBudgetConsumption$outboundSchema).optional(),
|
|
475
475
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
476
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
476
|
+
updated: z.date().default(() => new Date("2025-11-11T05:06:17.991Z"))
|
|
477
477
|
.transform(v => v.toISOString()),
|
|
478
478
|
}).transform((v) => {
|
|
479
479
|
return remap$(v, {
|
|
@@ -214,7 +214,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
214
214
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
215
215
|
.optional(),
|
|
216
216
|
updated: z.string().datetime({ offset: true }).default(
|
|
217
|
-
"2025-11-
|
|
217
|
+
"2025-11-11T05:06:17.576Z",
|
|
218
218
|
).transform(v => new Date(v)),
|
|
219
219
|
}).transform((v) => {
|
|
220
220
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
tags: z.array(z.string()).optional(),
|
|
252
252
|
metadata: z.record(z.any()).optional(),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-11-11T05:06:17.576Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -4893,7 +4893,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
4893
4893
|
.default("orq"),
|
|
4894
4894
|
reviewed_by_id: z.string(),
|
|
4895
4895
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
4896
|
-
"2025-11-
|
|
4896
|
+
"2025-11-11T05:06:32.273Z",
|
|
4897
4897
|
).transform(v => new Date(v)),
|
|
4898
4898
|
type: UpdateDatapointEvaluationsDatasetsResponseType$inboundSchema,
|
|
4899
4899
|
values: z.array(z.string()),
|
|
@@ -4930,7 +4930,7 @@ export const UpdateDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
4930
4930
|
source: UpdateDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
4931
4931
|
.default("orq"),
|
|
4932
4932
|
reviewedById: z.string(),
|
|
4933
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
4933
|
+
reviewedAt: z.date().default(() => new Date("2025-11-11T05:06:32.273Z"))
|
|
4934
4934
|
.transform(v => v.toISOString()),
|
|
4935
4935
|
type: UpdateDatapointEvaluationsDatasetsResponseType$outboundSchema,
|
|
4936
4936
|
values: z.array(z.string()),
|
|
@@ -5003,7 +5003,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
5003
5003
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
5004
5004
|
reviewed_by_id: z.string(),
|
|
5005
5005
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5006
|
-
"2025-11-
|
|
5006
|
+
"2025-11-11T05:06:32.272Z",
|
|
5007
5007
|
).transform(v => new Date(v)),
|
|
5008
5008
|
type: UpdateDatapointEvaluationsDatasetsType$inboundSchema,
|
|
5009
5009
|
value: z.number(),
|
|
@@ -5041,7 +5041,7 @@ export const UpdateDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
5041
5041
|
"orq",
|
|
5042
5042
|
),
|
|
5043
5043
|
reviewedById: z.string(),
|
|
5044
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5044
|
+
reviewedAt: z.date().default(() => new Date("2025-11-11T05:06:32.272Z"))
|
|
5045
5045
|
.transform(v => v.toISOString()),
|
|
5046
5046
|
type: UpdateDatapointEvaluationsDatasetsType$outboundSchema,
|
|
5047
5047
|
value: z.number(),
|
|
@@ -5112,7 +5112,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
5112
5112
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
5113
5113
|
reviewed_by_id: z.string(),
|
|
5114
5114
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5115
|
-
"2025-11-
|
|
5115
|
+
"2025-11-11T05:06:32.271Z",
|
|
5116
5116
|
).transform(v => new Date(v)),
|
|
5117
5117
|
type: UpdateDatapointEvaluationsType$inboundSchema,
|
|
5118
5118
|
value: z.string(),
|
|
@@ -5147,7 +5147,7 @@ export const UpdateDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
5147
5147
|
humanReviewId: z.string(),
|
|
5148
5148
|
source: UpdateDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
5149
5149
|
reviewedById: z.string(),
|
|
5150
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5150
|
+
reviewedAt: z.date().default(() => new Date("2025-11-11T05:06:32.271Z"))
|
|
5151
5151
|
.transform(v => v.toISOString()),
|
|
5152
5152
|
type: UpdateDatapointEvaluationsType$outboundSchema,
|
|
5153
5153
|
value: z.string(),
|
|
@@ -5262,7 +5262,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
5262
5262
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5263
5263
|
.optional(),
|
|
5264
5264
|
updated: z.string().datetime({ offset: true }).default(
|
|
5265
|
-
"2025-11-
|
|
5265
|
+
"2025-11-11T05:06:17.576Z",
|
|
5266
5266
|
).transform(v => new Date(v)),
|
|
5267
5267
|
}).transform((v) => {
|
|
5268
5268
|
return remap$(v, {
|
|
@@ -5340,7 +5340,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
5340
5340
|
createdById: z.string().optional(),
|
|
5341
5341
|
updatedById: z.string().optional(),
|
|
5342
5342
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5343
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
5343
|
+
updated: z.date().default(() => new Date("2025-11-11T05:06:17.576Z"))
|
|
5344
5344
|
.transform(v => v.toISOString()),
|
|
5345
5345
|
}).transform((v) => {
|
|
5346
5346
|
return remap$(v, {
|
|
@@ -256,7 +256,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
256
256
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
257
257
|
.optional(),
|
|
258
258
|
updated: z.string().datetime({ offset: true }).default(
|
|
259
|
-
"2025-11-
|
|
259
|
+
"2025-11-11T05:06:17.576Z",
|
|
260
260
|
).transform(v => new Date(v)),
|
|
261
261
|
}).transform((v) => {
|
|
262
262
|
return remap$(v, {
|
|
@@ -295,7 +295,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
295
295
|
createdById: z.string().optional(),
|
|
296
296
|
updatedById: z.string().optional(),
|
|
297
297
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
298
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
298
|
+
updated: z.date().default(() => new Date("2025-11-11T05:06:17.576Z"))
|
|
299
299
|
.transform(v => v.toISOString()),
|
|
300
300
|
}).transform((v) => {
|
|
301
301
|
return remap$(v, {
|
|
@@ -202,7 +202,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
202
202
|
z.ZodTypeDef,
|
|
203
203
|
unknown
|
|
204
204
|
> = z.object({
|
|
205
|
-
_id: z.string().default("
|
|
205
|
+
_id: z.string().default("01K9RMXY2HAJ6K6CMWSVSZAJ3B"),
|
|
206
206
|
display_name: z.string(),
|
|
207
207
|
description: z.string().optional(),
|
|
208
208
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -245,7 +245,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
245
245
|
z.ZodTypeDef,
|
|
246
246
|
UpdateDatasourceResponseBody
|
|
247
247
|
> = z.object({
|
|
248
|
-
id: z.string().default("
|
|
248
|
+
id: z.string().default("01K9RMXY2HAJ6K6CMWSVSZAJ3B"),
|
|
249
249
|
displayName: z.string(),
|
|
250
250
|
description: z.string().optional(),
|
|
251
251
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -2988,8 +2988,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
2988
2988
|
> = z.object({
|
|
2989
2989
|
_id: z.string(),
|
|
2990
2990
|
description: z.string(),
|
|
2991
|
-
created: z.string().default("2025-11-
|
|
2992
|
-
updated: z.string().default("2025-11-
|
|
2991
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
2992
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
2993
2993
|
guardrail_config: z.union([
|
|
2994
2994
|
z.lazy(() =>
|
|
2995
2995
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3031,8 +3031,8 @@ export const ResponseBodyTypescript$outboundSchema: z.ZodType<
|
|
|
3031
3031
|
> = z.object({
|
|
3032
3032
|
id: z.string(),
|
|
3033
3033
|
description: z.string(),
|
|
3034
|
-
created: z.string().default("2025-11-
|
|
3035
|
-
updated: z.string().default("2025-11-
|
|
3034
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
3035
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
3036
3036
|
guardrailConfig: z.union([
|
|
3037
3037
|
z.lazy(() =>
|
|
3038
3038
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3322,8 +3322,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
3322
3322
|
> = z.object({
|
|
3323
3323
|
_id: z.string(),
|
|
3324
3324
|
description: z.string(),
|
|
3325
|
-
created: z.string().default("2025-11-
|
|
3326
|
-
updated: z.string().default("2025-11-
|
|
3325
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
3326
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
3327
3327
|
guardrail_config: z.union([
|
|
3328
3328
|
z.lazy(() =>
|
|
3329
3329
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -3368,8 +3368,8 @@ export const ResponseBodyRagas$outboundSchema: z.ZodType<
|
|
|
3368
3368
|
> = z.object({
|
|
3369
3369
|
id: z.string(),
|
|
3370
3370
|
description: z.string(),
|
|
3371
|
-
created: z.string().default("2025-11-
|
|
3372
|
-
updated: z.string().default("2025-11-
|
|
3371
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
3372
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
3373
3373
|
guardrailConfig: z.union([
|
|
3374
3374
|
z.lazy(() =>
|
|
3375
3375
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -5707,8 +5707,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
5707
5707
|
> = z.object({
|
|
5708
5708
|
_id: z.string(),
|
|
5709
5709
|
description: z.string(),
|
|
5710
|
-
created: z.string().default("2025-11-
|
|
5711
|
-
updated: z.string().default("2025-11-
|
|
5710
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
5711
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
5712
5712
|
guardrail_config: z.union([
|
|
5713
5713
|
z.lazy(() =>
|
|
5714
5714
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -5821,8 +5821,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
5821
5821
|
> = z.object({
|
|
5822
5822
|
id: z.string(),
|
|
5823
5823
|
description: z.string(),
|
|
5824
|
-
created: z.string().default("2025-11-
|
|
5825
|
-
updated: z.string().default("2025-11-
|
|
5824
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
5825
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
5826
5826
|
guardrailConfig: z.union([
|
|
5827
5827
|
z.lazy(() =>
|
|
5828
5828
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -6138,8 +6138,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
6138
6138
|
> = z.object({
|
|
6139
6139
|
_id: z.string(),
|
|
6140
6140
|
description: z.string(),
|
|
6141
|
-
created: z.string().default("2025-11-
|
|
6142
|
-
updated: z.string().default("2025-11-
|
|
6141
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6142
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6143
6143
|
guardrail_config: z.union([
|
|
6144
6144
|
z.lazy(() =>
|
|
6145
6145
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -6180,8 +6180,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
6180
6180
|
> = z.object({
|
|
6181
6181
|
id: z.string(),
|
|
6182
6182
|
description: z.string(),
|
|
6183
|
-
created: z.string().default("2025-11-
|
|
6184
|
-
updated: z.string().default("2025-11-
|
|
6183
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6184
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6185
6185
|
guardrailConfig: z.union([
|
|
6186
6186
|
z.lazy(() =>
|
|
6187
6187
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -6466,8 +6466,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
6466
6466
|
> = z.object({
|
|
6467
6467
|
_id: z.string(),
|
|
6468
6468
|
description: z.string(),
|
|
6469
|
-
created: z.string().default("2025-11-
|
|
6470
|
-
updated: z.string().default("2025-11-
|
|
6469
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6470
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6471
6471
|
guardrail_config: z.union([
|
|
6472
6472
|
z.lazy(() =>
|
|
6473
6473
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -6514,8 +6514,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
6514
6514
|
> = z.object({
|
|
6515
6515
|
id: z.string(),
|
|
6516
6516
|
description: z.string(),
|
|
6517
|
-
created: z.string().default("2025-11-
|
|
6518
|
-
updated: z.string().default("2025-11-
|
|
6517
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6518
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6519
6519
|
guardrailConfig: z.union([
|
|
6520
6520
|
z.lazy(() =>
|
|
6521
6521
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -6784,8 +6784,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
6784
6784
|
> = z.object({
|
|
6785
6785
|
_id: z.string(),
|
|
6786
6786
|
description: z.string(),
|
|
6787
|
-
created: z.string().default("2025-11-
|
|
6788
|
-
updated: z.string().default("2025-11-
|
|
6787
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6788
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6789
6789
|
guardrail_config: z.union([
|
|
6790
6790
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
6791
6791
|
z.lazy(() =>
|
|
@@ -6824,8 +6824,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
6824
6824
|
> = z.object({
|
|
6825
6825
|
id: z.string(),
|
|
6826
6826
|
description: z.string(),
|
|
6827
|
-
created: z.string().default("2025-11-
|
|
6828
|
-
updated: z.string().default("2025-11-
|
|
6827
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6828
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
6829
6829
|
guardrailConfig: z.union([
|
|
6830
6830
|
z.lazy(() =>
|
|
6831
6831
|
UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -7064,8 +7064,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
7064
7064
|
> = z.object({
|
|
7065
7065
|
_id: z.string(),
|
|
7066
7066
|
description: z.string(),
|
|
7067
|
-
created: z.string().default("2025-11-
|
|
7068
|
-
updated: z.string().default("2025-11-
|
|
7067
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
7068
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
7069
7069
|
guardrail_config: z.union([
|
|
7070
7070
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
7071
7071
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -7104,8 +7104,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
7104
7104
|
> = z.object({
|
|
7105
7105
|
id: z.string(),
|
|
7106
7106
|
description: z.string(),
|
|
7107
|
-
created: z.string().default("2025-11-
|
|
7108
|
-
updated: z.string().default("2025-11-
|
|
7107
|
+
created: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
7108
|
+
updated: z.string().default("2025-11-11T05:06:20.287Z"),
|
|
7109
7109
|
guardrailConfig: z.union([
|
|
7110
7110
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
7111
7111
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -2315,7 +2315,7 @@ export const UpdateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
2315
2315
|
z.ZodTypeDef,
|
|
2316
2316
|
unknown
|
|
2317
2317
|
> = z.object({
|
|
2318
|
-
_id: z.string().default("
|
|
2318
|
+
_id: z.string().default("01K9RMXXYEGWA9G5R45S11Y08Z"),
|
|
2319
2319
|
path: z.string(),
|
|
2320
2320
|
key: z.string(),
|
|
2321
2321
|
display_name: z.string().optional(),
|
|
@@ -2369,7 +2369,7 @@ export const UpdateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
2369
2369
|
z.ZodTypeDef,
|
|
2370
2370
|
UpdateToolResponseBody5
|
|
2371
2371
|
> = z.object({
|
|
2372
|
-
id: z.string().default("
|
|
2372
|
+
id: z.string().default("01K9RMXXYEGWA9G5R45S11Y08Z"),
|
|
2373
2373
|
path: z.string(),
|
|
2374
2374
|
key: z.string(),
|
|
2375
2375
|
displayName: z.string().optional(),
|
|
@@ -2627,7 +2627,7 @@ export const UpdateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
2627
2627
|
z.ZodTypeDef,
|
|
2628
2628
|
unknown
|
|
2629
2629
|
> = z.object({
|
|
2630
|
-
_id: z.string().default("
|
|
2630
|
+
_id: z.string().default("01K9RMXXYCRQHFVT25KAK4RMXC"),
|
|
2631
2631
|
path: z.string(),
|
|
2632
2632
|
key: z.string(),
|
|
2633
2633
|
display_name: z.string().optional(),
|
|
@@ -2680,7 +2680,7 @@ export const UpdateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
2680
2680
|
z.ZodTypeDef,
|
|
2681
2681
|
UpdateToolResponseBody4
|
|
2682
2682
|
> = z.object({
|
|
2683
|
-
id: z.string().default("
|
|
2683
|
+
id: z.string().default("01K9RMXXYCRQHFVT25KAK4RMXC"),
|
|
2684
2684
|
path: z.string(),
|
|
2685
2685
|
key: z.string(),
|
|
2686
2686
|
displayName: z.string().optional(),
|
|
@@ -3020,7 +3020,7 @@ export const UpdateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
3020
3020
|
z.ZodTypeDef,
|
|
3021
3021
|
unknown
|
|
3022
3022
|
> = z.object({
|
|
3023
|
-
_id: z.string().default("
|
|
3023
|
+
_id: z.string().default("01K9RMXXYASCHCFMKM6N2FX9YY"),
|
|
3024
3024
|
path: z.string(),
|
|
3025
3025
|
key: z.string(),
|
|
3026
3026
|
display_name: z.string().optional(),
|
|
@@ -3073,7 +3073,7 @@ export const UpdateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
3073
3073
|
z.ZodTypeDef,
|
|
3074
3074
|
UpdateToolResponseBody3
|
|
3075
3075
|
> = z.object({
|
|
3076
|
-
id: z.string().default("
|
|
3076
|
+
id: z.string().default("01K9RMXXYASCHCFMKM6N2FX9YY"),
|
|
3077
3077
|
path: z.string(),
|
|
3078
3078
|
key: z.string(),
|
|
3079
3079
|
displayName: z.string().optional(),
|
|
@@ -3193,7 +3193,7 @@ export const UpdateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
3193
3193
|
z.ZodTypeDef,
|
|
3194
3194
|
unknown
|
|
3195
3195
|
> = z.object({
|
|
3196
|
-
_id: z.string().default("
|
|
3196
|
+
_id: z.string().default("01K9RMXXY9Y98PN7TJ3ZBG64V5"),
|
|
3197
3197
|
path: z.string(),
|
|
3198
3198
|
key: z.string(),
|
|
3199
3199
|
display_name: z.string().optional(),
|
|
@@ -3245,7 +3245,7 @@ export const UpdateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
3245
3245
|
z.ZodTypeDef,
|
|
3246
3246
|
UpdateToolResponseBody2
|
|
3247
3247
|
> = z.object({
|
|
3248
|
-
id: z.string().default("
|
|
3248
|
+
id: z.string().default("01K9RMXXY9Y98PN7TJ3ZBG64V5"),
|
|
3249
3249
|
path: z.string(),
|
|
3250
3250
|
key: z.string(),
|
|
3251
3251
|
displayName: z.string().optional(),
|
|
@@ -3364,7 +3364,7 @@ export const UpdateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
3364
3364
|
z.ZodTypeDef,
|
|
3365
3365
|
unknown
|
|
3366
3366
|
> = z.object({
|
|
3367
|
-
_id: z.string().default("
|
|
3367
|
+
_id: z.string().default("01K9RMXXY70YDZHR8K5JWXHJC2"),
|
|
3368
3368
|
path: z.string(),
|
|
3369
3369
|
key: z.string(),
|
|
3370
3370
|
display_name: z.string().optional(),
|
|
@@ -3415,7 +3415,7 @@ export const UpdateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
3415
3415
|
z.ZodTypeDef,
|
|
3416
3416
|
UpdateToolResponseBody1
|
|
3417
3417
|
> = z.object({
|
|
3418
|
-
id: z.string().default("
|
|
3418
|
+
id: z.string().default("01K9RMXXY70YDZHR8K5JWXHJC2"),
|
|
3419
3419
|
path: z.string(),
|
|
3420
3420
|
key: z.string(),
|
|
3421
3421
|
displayName: z.string().optional(),
|
package/src/sdk/agents.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { agentsCreate } from "../funcs/agentsCreate.js";
|
|
6
6
|
import { agentsDelete } from "../funcs/agentsDelete.js";
|
|
7
|
+
import { agentsDuplicate } from "../funcs/agentsDuplicate.js";
|
|
7
8
|
import { agentsInvoke } from "../funcs/agentsInvoke.js";
|
|
8
9
|
import { agentsList } from "../funcs/agentsList.js";
|
|
9
10
|
import { agentsListActions } from "../funcs/agentsListActions.js";
|
|
@@ -59,7 +60,7 @@ export class Agents extends ClientSDK {
|
|
|
59
60
|
* List all agents
|
|
60
61
|
*
|
|
61
62
|
* @remarks
|
|
62
|
-
* Retrieves a
|
|
63
|
+
* Retrieves a list of all agents in your workspace. When no limit is provided, returns all agents without pagination. When a limit is specified, returns a paginated list. Each agent includes its configuration, primary model, and optional fallback model settings.
|
|
63
64
|
*/
|
|
64
65
|
async list(
|
|
65
66
|
request?: operations.ListAgentsRequest | undefined,
|
|
@@ -123,6 +124,23 @@ export class Agents extends ClientSDK {
|
|
|
123
124
|
));
|
|
124
125
|
}
|
|
125
126
|
|
|
127
|
+
/**
|
|
128
|
+
* Duplicate an existing agent
|
|
129
|
+
*
|
|
130
|
+
* @remarks
|
|
131
|
+
* Creates a copy of an existing agent with a new unique key. The duplicated agent will have all the same configuration as the original, including model settings, instructions, tools, and knowledge bases.
|
|
132
|
+
*/
|
|
133
|
+
async duplicate(
|
|
134
|
+
request: operations.DuplicateAgentRequest,
|
|
135
|
+
options?: RequestOptions,
|
|
136
|
+
): Promise<operations.DuplicateAgentResponseBody> {
|
|
137
|
+
return unwrapAsync(agentsDuplicate(
|
|
138
|
+
this,
|
|
139
|
+
request,
|
|
140
|
+
options,
|
|
141
|
+
));
|
|
142
|
+
}
|
|
143
|
+
|
|
126
144
|
/**
|
|
127
145
|
* Invoke an agent
|
|
128
146
|
*
|