@orq-ai/node 3.13.9 → 3.13.11
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 +107 -93
- package/bin/mcp-server.js +43652 -40649
- package/bin/mcp-server.js.map +117 -98
- package/docs/sdks/agents/README.md +566 -0
- package/examples/package-lock.json +1 -1
- package/funcs/agentsCreate.d.ts +18 -0
- package/funcs/agentsCreate.d.ts.map +1 -0
- package/funcs/agentsCreate.js +120 -0
- package/funcs/agentsCreate.js.map +1 -0
- package/funcs/agentsDelete.d.ts +18 -0
- package/funcs/agentsDelete.d.ts.map +1 -0
- package/funcs/agentsDelete.js +124 -0
- package/funcs/agentsDelete.js.map +1 -0
- package/funcs/agentsInvoke.d.ts +17 -0
- package/funcs/agentsInvoke.d.ts.map +1 -0
- package/funcs/agentsInvoke.js +120 -0
- package/funcs/agentsInvoke.js.map +1 -0
- package/funcs/agentsStream.d.ts +19 -0
- package/funcs/agentsStream.d.ts.map +1 -0
- package/funcs/agentsStream.js +134 -0
- package/funcs/agentsStream.js.map +1 -0
- package/funcs/agentsUpdate.d.ts +18 -0
- package/funcs/agentsUpdate.d.ts.map +1 -0
- package/funcs/agentsUpdate.js +124 -0
- package/funcs/agentsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +11 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsCreate.d.ts +8 -0
- package/mcp-server/tools/agentsCreate.d.ts.map +1 -0
- package/mcp-server/tools/agentsCreate.js +64 -0
- package/mcp-server/tools/agentsCreate.js.map +1 -0
- package/mcp-server/tools/agentsDelete.d.ts +8 -0
- package/mcp-server/tools/agentsDelete.d.ts.map +1 -0
- package/mcp-server/tools/agentsDelete.js +63 -0
- package/mcp-server/tools/agentsDelete.js.map +1 -0
- package/mcp-server/tools/agentsInvoke.d.ts +8 -0
- package/mcp-server/tools/agentsInvoke.d.ts.map +1 -0
- package/mcp-server/tools/agentsInvoke.js +64 -0
- package/mcp-server/tools/agentsInvoke.js.map +1 -0
- package/mcp-server/tools/agentsStream.d.ts +8 -0
- package/mcp-server/tools/agentsStream.d.ts.map +1 -0
- package/mcp-server/tools/agentsStream.js +64 -0
- package/mcp-server/tools/agentsStream.js.map +1 -0
- package/mcp-server/tools/agentsUpdate.d.ts +8 -0
- package/mcp-server/tools/agentsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/agentsUpdate.js +64 -0
- package/mcp-server/tools/agentsUpdate.js.map +1 -0
- package/models/errors/createagent.d.ts +41 -0
- package/models/errors/createagent.d.ts.map +1 -0
- package/models/errors/createagent.js +85 -0
- package/models/errors/createagent.js.map +1 -0
- package/models/errors/deleteagent.d.ts +41 -0
- package/models/errors/deleteagent.d.ts.map +1 -0
- package/models/errors/deleteagent.js +85 -0
- package/models/errors/deleteagent.js.map +1 -0
- package/models/errors/index.d.ts +4 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +4 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/streamagent.d.ts +41 -0
- package/models/errors/streamagent.d.ts.map +1 -0
- package/models/errors/streamagent.js +85 -0
- package/models/errors/streamagent.js.map +1 -0
- package/models/errors/updateagent.d.ts +41 -0
- package/models/errors/updateagent.d.ts.map +1 -0
- package/models/errors/updateagent.js +85 -0
- package/models/errors/updateagent.js.map +1 -0
- package/models/operations/createagent.d.ts +1504 -0
- package/models/operations/createagent.d.ts.map +1 -0
- package/models/operations/createagent.js +1530 -0
- package/models/operations/createagent.js.map +1 -0
- 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.d.ts +20 -20
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +34 -34
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deleteagent.d.ts +32 -0
- package/models/operations/deleteagent.d.ts.map +1 -0
- package/models/operations/deleteagent.js +78 -0
- package/models/operations/deleteagent.js.map +1 -0
- package/models/operations/duplicatetool.d.ts +10 -10
- package/models/operations/duplicatetool.d.ts.map +1 -1
- package/models/operations/duplicatetool.js +20 -20
- package/models/operations/duplicatetool.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +44 -175
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +51 -184
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.d.ts +10 -10
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +20 -20
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +912 -0
- package/models/operations/invokeagent.d.ts.map +1 -0
- package/models/operations/invokeagent.js +824 -0
- package/models/operations/invokeagent.js.map +1 -0
- package/models/operations/listagents.d.ts +6 -137
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +3 -139
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +5 -0
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +2 -0
- 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 +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.d.ts +10 -10
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +20 -20
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +640 -721
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +817 -928
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +676 -0
- package/models/operations/streamagent.d.ts.map +1 -0
- package/models/operations/streamagent.js +670 -0
- package/models/operations/streamagent.js.map +1 -0
- package/models/operations/streamrunagent.d.ts +567 -648
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +721 -835
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +1515 -0
- package/models/operations/updateagent.d.ts.map +1 -0
- package/models/operations/updateagent.js +1576 -0
- package/models/operations/updateagent.js.map +1 -0
- 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.d.ts +18 -18
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +36 -36
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/README.md +103 -94
- package/packages/orq-rc/docs/sdks/agents/README.md +297 -0
- 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/agentsCreate.ts +172 -0
- package/packages/orq-rc/src/funcs/agentsDelete.ts +176 -0
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +176 -0
- package/packages/orq-rc/src/lib/config.ts +2 -2
- 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/agentsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/packages/orq-rc/src/models/errors/createagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/deleteagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/index.ts +3 -0
- package/packages/orq-rc/src/models/errors/updateagent.ts +80 -0
- package/packages/orq-rc/src/models/operations/createagent.ts +3027 -0
- 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 +8 -8
- 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/createtool.ts +50 -50
- package/packages/orq-rc/src/models/operations/deleteagent.ts +78 -0
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +30 -30
- 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 +87 -387
- package/packages/orq-rc/src/models/operations/getalltools.ts +33 -33
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/index.ts +3 -0
- package/packages/orq-rc/src/models/operations/invokeagent.ts +12 -4
- package/packages/orq-rc/src/models/operations/listagents.ts +8 -321
- package/packages/orq-rc/src/models/operations/listagenttasks.ts +7 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +8 -8
- 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/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +8 -8
- 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 +30 -30
- package/packages/orq-rc/src/models/operations/runagent.ts +1003 -1113
- package/packages/orq-rc/src/models/operations/streamagent.ts +4 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1276 -1427
- package/packages/orq-rc/src/models/operations/updateagent.ts +3239 -0
- 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 +8 -8
- 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/updatetool.ts +56 -56
- package/packages/orq-rc/src/sdk/agents.ts +54 -0
- package/sdk/agents.d.ts +35 -0
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +50 -0
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsCreate.ts +172 -0
- package/src/funcs/agentsDelete.ts +176 -0
- package/src/funcs/agentsInvoke.ts +167 -0
- package/src/funcs/agentsStream.ts +191 -0
- package/src/funcs/agentsUpdate.ts +176 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -1
- package/src/mcp-server/tools/agentsCreate.ts +37 -0
- package/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/src/mcp-server/tools/agentsInvoke.ts +37 -0
- package/src/mcp-server/tools/agentsStream.ts +37 -0
- package/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/src/models/errors/createagent.ts +80 -0
- package/src/models/errors/deleteagent.ts +80 -0
- package/src/models/errors/index.ts +4 -0
- package/src/models/errors/streamagent.ts +80 -0
- package/src/models/errors/updateagent.ts +80 -0
- package/src/models/operations/createagent.ts +3021 -0
- 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 +54 -54
- package/src/models/operations/deleteagent.ts +78 -0
- package/src/models/operations/duplicatetool.ts +30 -30
- 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 +87 -387
- package/src/models/operations/getalltools.ts +30 -30
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/invokeagent.ts +1569 -0
- package/src/models/operations/listagents.ts +8 -321
- package/src/models/operations/listagenttasks.ts +7 -0
- 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 +30 -30
- package/src/models/operations/runagent.ts +1441 -1488
- package/src/models/operations/streamagent.ts +1367 -0
- package/src/models/operations/streamrunagent.ts +1542 -1657
- package/src/models/operations/updateagent.ts +3227 -0
- 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 +60 -60
- package/src/sdk/agents.ts +90 -0
|
@@ -0,0 +1,1576 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema = exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema = exports.AgentToolInputCRUDCurrentDateTool$ = exports.AgentToolInputCRUDCurrentDateTool$outboundSchema = exports.AgentToolInputCRUDCurrentDateTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema = exports.AgentToolInputCRUDHTTPTool$ = exports.AgentToolInputCRUDHTTPTool$outboundSchema = exports.AgentToolInputCRUDHTTPTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema = exports.AgentToolInputCRUDCodeExecutionTool$ = exports.AgentToolInputCRUDCodeExecutionTool$outboundSchema = exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema = exports.AgentToolInputCRUDFunctionTool$ = exports.AgentToolInputCRUDFunctionTool$outboundSchema = exports.AgentToolInputCRUDFunctionTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema = exports.UpdateAgentToolApprovalRequired$ = exports.UpdateAgentToolApprovalRequired$outboundSchema = exports.UpdateAgentToolApprovalRequired$inboundSchema = exports.UpdateAgentHiddenPanels = exports.UpdateAgentAgentsToolApprovalRequired = exports.UpdateAgentStatus = exports.UpdateAgentAgentToolInputCRUDType = exports.UpdateAgentAgentToolInputCRUDAgentsType = exports.UpdateAgentAgentToolInputCRUDAgentsRequestType = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type = exports.UpdateAgentToolApprovalRequired = void 0;
|
|
40
|
+
exports.UpdateAgentAgentToolInputCRUDType$inboundSchema = exports.AgentToolInputCRUDWebScraperTool$ = exports.AgentToolInputCRUDWebScraperTool$outboundSchema = exports.AgentToolInputCRUDWebScraperTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsType$ = exports.UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema = exports.AgentToolInputCRUDCallSubAgentTool$ = exports.AgentToolInputCRUDCallSubAgentTool$outboundSchema = exports.AgentToolInputCRUDCallSubAgentTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema = exports.AgentToolInputCRUDRetrieveAgentsTool$ = exports.AgentToolInputCRUDRetrieveAgentsTool$outboundSchema = exports.AgentToolInputCRUDRetrieveAgentsTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema = exports.AgentToolInputCRUDQueryMemoryStoreTool$ = exports.AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema = exports.AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema = exports.AgentToolInputCRUDWriteMemoryStoreTool$ = exports.AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema = exports.AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema = exports.AgentToolInputCRUDRetrieveMemoryStoresTool$ = exports.AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema = exports.AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema = exports.AgentToolInputCRUDDeleteMemoryDocumentTool$ = exports.AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema = exports.AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema = exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$ = exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema = exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$ = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema = exports.AgentToolInputCRUDQueryKnowledgeBaseTool$ = void 0;
|
|
41
|
+
exports.UpdateAgentHiddenPanels$ = exports.UpdateAgentHiddenPanels$outboundSchema = exports.UpdateAgentHiddenPanels$inboundSchema = exports.UpdateAgentAgentsKnowledgeBases$ = exports.UpdateAgentAgentsKnowledgeBases$outboundSchema = exports.UpdateAgentAgentsKnowledgeBases$inboundSchema = exports.UpdateAgentMetrics$ = exports.UpdateAgentMetrics$outboundSchema = exports.UpdateAgentMetrics$inboundSchema = exports.UpdateAgentTeamOfAgents$ = exports.UpdateAgentTeamOfAgents$outboundSchema = exports.UpdateAgentTeamOfAgents$inboundSchema = exports.UpdateAgentModel$ = exports.UpdateAgentModel$outboundSchema = exports.UpdateAgentModel$inboundSchema = exports.UpdateAgentAgentsSettings$ = exports.UpdateAgentAgentsSettings$outboundSchema = exports.UpdateAgentAgentsSettings$inboundSchema = exports.UpdateAgentTools$ = exports.UpdateAgentTools$outboundSchema = exports.UpdateAgentTools$inboundSchema = exports.UpdateAgentConditions$ = exports.UpdateAgentConditions$outboundSchema = exports.UpdateAgentConditions$inboundSchema = exports.UpdateAgentAgentsToolApprovalRequired$ = exports.UpdateAgentAgentsToolApprovalRequired$outboundSchema = exports.UpdateAgentAgentsToolApprovalRequired$inboundSchema = exports.UpdateAgentStatus$ = exports.UpdateAgentStatus$outboundSchema = exports.UpdateAgentStatus$inboundSchema = exports.UpdateAgentRequest$ = exports.UpdateAgentRequest$outboundSchema = exports.UpdateAgentRequest$inboundSchema = exports.UpdateAgentRequestBody$ = exports.UpdateAgentRequestBody$outboundSchema = exports.UpdateAgentRequestBody$inboundSchema = exports.UpdateAgentKnowledgeBases$ = exports.UpdateAgentKnowledgeBases$outboundSchema = exports.UpdateAgentKnowledgeBases$inboundSchema = exports.UpdateAgentSettings$ = exports.UpdateAgentSettings$outboundSchema = exports.UpdateAgentSettings$inboundSchema = exports.UpdateAgentAgentToolInputCRUD$ = exports.UpdateAgentAgentToolInputCRUD$outboundSchema = exports.UpdateAgentAgentToolInputCRUD$inboundSchema = exports.AgentToolInputCRUDGoogleSearchTool$ = exports.AgentToolInputCRUDGoogleSearchTool$outboundSchema = exports.AgentToolInputCRUDGoogleSearchTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDType$ = exports.UpdateAgentAgentToolInputCRUDType$outboundSchema = void 0;
|
|
42
|
+
exports.UpdateAgentResponseBody$ = exports.UpdateAgentResponseBody$outboundSchema = exports.UpdateAgentResponseBody$inboundSchema = void 0;
|
|
43
|
+
exports.agentToolInputCRUDFunctionToolToJSON = agentToolInputCRUDFunctionToolToJSON;
|
|
44
|
+
exports.agentToolInputCRUDFunctionToolFromJSON = agentToolInputCRUDFunctionToolFromJSON;
|
|
45
|
+
exports.agentToolInputCRUDCodeExecutionToolToJSON = agentToolInputCRUDCodeExecutionToolToJSON;
|
|
46
|
+
exports.agentToolInputCRUDCodeExecutionToolFromJSON = agentToolInputCRUDCodeExecutionToolFromJSON;
|
|
47
|
+
exports.agentToolInputCRUDHTTPToolToJSON = agentToolInputCRUDHTTPToolToJSON;
|
|
48
|
+
exports.agentToolInputCRUDHTTPToolFromJSON = agentToolInputCRUDHTTPToolFromJSON;
|
|
49
|
+
exports.agentToolInputCRUDCurrentDateToolToJSON = agentToolInputCRUDCurrentDateToolToJSON;
|
|
50
|
+
exports.agentToolInputCRUDCurrentDateToolFromJSON = agentToolInputCRUDCurrentDateToolFromJSON;
|
|
51
|
+
exports.agentToolInputCRUDQueryKnowledgeBaseToolToJSON = agentToolInputCRUDQueryKnowledgeBaseToolToJSON;
|
|
52
|
+
exports.agentToolInputCRUDQueryKnowledgeBaseToolFromJSON = agentToolInputCRUDQueryKnowledgeBaseToolFromJSON;
|
|
53
|
+
exports.agentToolInputCRUDRetrieveKnowledgeBasesToolToJSON = agentToolInputCRUDRetrieveKnowledgeBasesToolToJSON;
|
|
54
|
+
exports.agentToolInputCRUDRetrieveKnowledgeBasesToolFromJSON = agentToolInputCRUDRetrieveKnowledgeBasesToolFromJSON;
|
|
55
|
+
exports.agentToolInputCRUDDeleteMemoryDocumentToolToJSON = agentToolInputCRUDDeleteMemoryDocumentToolToJSON;
|
|
56
|
+
exports.agentToolInputCRUDDeleteMemoryDocumentToolFromJSON = agentToolInputCRUDDeleteMemoryDocumentToolFromJSON;
|
|
57
|
+
exports.agentToolInputCRUDRetrieveMemoryStoresToolToJSON = agentToolInputCRUDRetrieveMemoryStoresToolToJSON;
|
|
58
|
+
exports.agentToolInputCRUDRetrieveMemoryStoresToolFromJSON = agentToolInputCRUDRetrieveMemoryStoresToolFromJSON;
|
|
59
|
+
exports.agentToolInputCRUDWriteMemoryStoreToolToJSON = agentToolInputCRUDWriteMemoryStoreToolToJSON;
|
|
60
|
+
exports.agentToolInputCRUDWriteMemoryStoreToolFromJSON = agentToolInputCRUDWriteMemoryStoreToolFromJSON;
|
|
61
|
+
exports.agentToolInputCRUDQueryMemoryStoreToolToJSON = agentToolInputCRUDQueryMemoryStoreToolToJSON;
|
|
62
|
+
exports.agentToolInputCRUDQueryMemoryStoreToolFromJSON = agentToolInputCRUDQueryMemoryStoreToolFromJSON;
|
|
63
|
+
exports.agentToolInputCRUDRetrieveAgentsToolToJSON = agentToolInputCRUDRetrieveAgentsToolToJSON;
|
|
64
|
+
exports.agentToolInputCRUDRetrieveAgentsToolFromJSON = agentToolInputCRUDRetrieveAgentsToolFromJSON;
|
|
65
|
+
exports.agentToolInputCRUDCallSubAgentToolToJSON = agentToolInputCRUDCallSubAgentToolToJSON;
|
|
66
|
+
exports.agentToolInputCRUDCallSubAgentToolFromJSON = agentToolInputCRUDCallSubAgentToolFromJSON;
|
|
67
|
+
exports.agentToolInputCRUDWebScraperToolToJSON = agentToolInputCRUDWebScraperToolToJSON;
|
|
68
|
+
exports.agentToolInputCRUDWebScraperToolFromJSON = agentToolInputCRUDWebScraperToolFromJSON;
|
|
69
|
+
exports.agentToolInputCRUDGoogleSearchToolToJSON = agentToolInputCRUDGoogleSearchToolToJSON;
|
|
70
|
+
exports.agentToolInputCRUDGoogleSearchToolFromJSON = agentToolInputCRUDGoogleSearchToolFromJSON;
|
|
71
|
+
exports.updateAgentAgentToolInputCRUDToJSON = updateAgentAgentToolInputCRUDToJSON;
|
|
72
|
+
exports.updateAgentAgentToolInputCRUDFromJSON = updateAgentAgentToolInputCRUDFromJSON;
|
|
73
|
+
exports.updateAgentSettingsToJSON = updateAgentSettingsToJSON;
|
|
74
|
+
exports.updateAgentSettingsFromJSON = updateAgentSettingsFromJSON;
|
|
75
|
+
exports.updateAgentKnowledgeBasesToJSON = updateAgentKnowledgeBasesToJSON;
|
|
76
|
+
exports.updateAgentKnowledgeBasesFromJSON = updateAgentKnowledgeBasesFromJSON;
|
|
77
|
+
exports.updateAgentRequestBodyToJSON = updateAgentRequestBodyToJSON;
|
|
78
|
+
exports.updateAgentRequestBodyFromJSON = updateAgentRequestBodyFromJSON;
|
|
79
|
+
exports.updateAgentRequestToJSON = updateAgentRequestToJSON;
|
|
80
|
+
exports.updateAgentRequestFromJSON = updateAgentRequestFromJSON;
|
|
81
|
+
exports.updateAgentConditionsToJSON = updateAgentConditionsToJSON;
|
|
82
|
+
exports.updateAgentConditionsFromJSON = updateAgentConditionsFromJSON;
|
|
83
|
+
exports.updateAgentToolsToJSON = updateAgentToolsToJSON;
|
|
84
|
+
exports.updateAgentToolsFromJSON = updateAgentToolsFromJSON;
|
|
85
|
+
exports.updateAgentAgentsSettingsToJSON = updateAgentAgentsSettingsToJSON;
|
|
86
|
+
exports.updateAgentAgentsSettingsFromJSON = updateAgentAgentsSettingsFromJSON;
|
|
87
|
+
exports.updateAgentModelToJSON = updateAgentModelToJSON;
|
|
88
|
+
exports.updateAgentModelFromJSON = updateAgentModelFromJSON;
|
|
89
|
+
exports.updateAgentTeamOfAgentsToJSON = updateAgentTeamOfAgentsToJSON;
|
|
90
|
+
exports.updateAgentTeamOfAgentsFromJSON = updateAgentTeamOfAgentsFromJSON;
|
|
91
|
+
exports.updateAgentMetricsToJSON = updateAgentMetricsToJSON;
|
|
92
|
+
exports.updateAgentMetricsFromJSON = updateAgentMetricsFromJSON;
|
|
93
|
+
exports.updateAgentAgentsKnowledgeBasesToJSON = updateAgentAgentsKnowledgeBasesToJSON;
|
|
94
|
+
exports.updateAgentAgentsKnowledgeBasesFromJSON = updateAgentAgentsKnowledgeBasesFromJSON;
|
|
95
|
+
exports.updateAgentResponseBodyToJSON = updateAgentResponseBodyToJSON;
|
|
96
|
+
exports.updateAgentResponseBodyFromJSON = updateAgentResponseBodyFromJSON;
|
|
97
|
+
const z = __importStar(require("zod"));
|
|
98
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
99
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
100
|
+
/**
|
|
101
|
+
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
102
|
+
*/
|
|
103
|
+
exports.UpdateAgentToolApprovalRequired = {
|
|
104
|
+
All: "all",
|
|
105
|
+
RespectTool: "respect_tool",
|
|
106
|
+
None: "none",
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Function tool type
|
|
110
|
+
*/
|
|
111
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type = {
|
|
112
|
+
Function: "function",
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Code execution tool type
|
|
116
|
+
*/
|
|
117
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type = {
|
|
118
|
+
Code: "code",
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* HTTP tool type
|
|
122
|
+
*/
|
|
123
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type = {
|
|
124
|
+
Http: "http",
|
|
125
|
+
};
|
|
126
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type = {
|
|
127
|
+
CurrentDate: "current_date",
|
|
128
|
+
};
|
|
129
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type = {
|
|
130
|
+
QueryKnowledgeBase: "query_knowledge_base",
|
|
131
|
+
};
|
|
132
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type = {
|
|
133
|
+
RetrieveKnowledgeBases: "retrieve_knowledge_bases",
|
|
134
|
+
};
|
|
135
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type = {
|
|
136
|
+
DeleteMemoryDocument: "delete_memory_document",
|
|
137
|
+
};
|
|
138
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type = {
|
|
139
|
+
RetrieveMemoryStores: "retrieve_memory_stores",
|
|
140
|
+
};
|
|
141
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType = {
|
|
142
|
+
WriteMemoryStore: "write_memory_store",
|
|
143
|
+
};
|
|
144
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType = {
|
|
145
|
+
QueryMemoryStore: "query_memory_store",
|
|
146
|
+
};
|
|
147
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType = {
|
|
148
|
+
RetrieveAgents: "retrieve_agents",
|
|
149
|
+
};
|
|
150
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestType = {
|
|
151
|
+
CallSubAgent: "call_sub_agent",
|
|
152
|
+
};
|
|
153
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsType = {
|
|
154
|
+
WebScraper: "web_scraper",
|
|
155
|
+
};
|
|
156
|
+
exports.UpdateAgentAgentToolInputCRUDType = {
|
|
157
|
+
GoogleSearch: "google_search",
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
161
|
+
*/
|
|
162
|
+
exports.UpdateAgentStatus = {
|
|
163
|
+
Live: "live",
|
|
164
|
+
Draft: "draft",
|
|
165
|
+
Pending: "pending",
|
|
166
|
+
Published: "published",
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
170
|
+
*/
|
|
171
|
+
exports.UpdateAgentAgentsToolApprovalRequired = {
|
|
172
|
+
All: "all",
|
|
173
|
+
RespectTool: "respect_tool",
|
|
174
|
+
None: "none",
|
|
175
|
+
};
|
|
176
|
+
exports.UpdateAgentHiddenPanels = {
|
|
177
|
+
Model: "model",
|
|
178
|
+
Tools: "tools",
|
|
179
|
+
KnowledgeBases: "knowledge_bases",
|
|
180
|
+
Variables: "variables",
|
|
181
|
+
RuntimeConstraints: "runtime_constraints",
|
|
182
|
+
};
|
|
183
|
+
/** @internal */
|
|
184
|
+
exports.UpdateAgentToolApprovalRequired$inboundSchema = z.nativeEnum(exports.UpdateAgentToolApprovalRequired);
|
|
185
|
+
/** @internal */
|
|
186
|
+
exports.UpdateAgentToolApprovalRequired$outboundSchema = exports.UpdateAgentToolApprovalRequired$inboundSchema;
|
|
187
|
+
/**
|
|
188
|
+
* @internal
|
|
189
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
190
|
+
*/
|
|
191
|
+
var UpdateAgentToolApprovalRequired$;
|
|
192
|
+
(function (UpdateAgentToolApprovalRequired$) {
|
|
193
|
+
/** @deprecated use `UpdateAgentToolApprovalRequired$inboundSchema` instead. */
|
|
194
|
+
UpdateAgentToolApprovalRequired$.inboundSchema = exports.UpdateAgentToolApprovalRequired$inboundSchema;
|
|
195
|
+
/** @deprecated use `UpdateAgentToolApprovalRequired$outboundSchema` instead. */
|
|
196
|
+
UpdateAgentToolApprovalRequired$.outboundSchema = exports.UpdateAgentToolApprovalRequired$outboundSchema;
|
|
197
|
+
})(UpdateAgentToolApprovalRequired$ || (exports.UpdateAgentToolApprovalRequired$ = UpdateAgentToolApprovalRequired$ = {}));
|
|
198
|
+
/** @internal */
|
|
199
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type);
|
|
200
|
+
/** @internal */
|
|
201
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema;
|
|
202
|
+
/**
|
|
203
|
+
* @internal
|
|
204
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
205
|
+
*/
|
|
206
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$;
|
|
207
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$) {
|
|
208
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema` instead. */
|
|
209
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema;
|
|
210
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema` instead. */
|
|
211
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema;
|
|
212
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$ = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$ = {}));
|
|
213
|
+
/** @internal */
|
|
214
|
+
exports.AgentToolInputCRUDFunctionTool$inboundSchema = z.object({
|
|
215
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema,
|
|
216
|
+
key: z.string().optional(),
|
|
217
|
+
id: z.string().optional(),
|
|
218
|
+
requires_approval: z.boolean().default(false),
|
|
219
|
+
}).transform((v) => {
|
|
220
|
+
return (0, primitives_js_1.remap)(v, {
|
|
221
|
+
"requires_approval": "requiresApproval",
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
/** @internal */
|
|
225
|
+
exports.AgentToolInputCRUDFunctionTool$outboundSchema = z.object({
|
|
226
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema,
|
|
227
|
+
key: z.string().optional(),
|
|
228
|
+
id: z.string().optional(),
|
|
229
|
+
requiresApproval: z.boolean().default(false),
|
|
230
|
+
}).transform((v) => {
|
|
231
|
+
return (0, primitives_js_1.remap)(v, {
|
|
232
|
+
requiresApproval: "requires_approval",
|
|
233
|
+
});
|
|
234
|
+
});
|
|
235
|
+
/**
|
|
236
|
+
* @internal
|
|
237
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
238
|
+
*/
|
|
239
|
+
var AgentToolInputCRUDFunctionTool$;
|
|
240
|
+
(function (AgentToolInputCRUDFunctionTool$) {
|
|
241
|
+
/** @deprecated use `AgentToolInputCRUDFunctionTool$inboundSchema` instead. */
|
|
242
|
+
AgentToolInputCRUDFunctionTool$.inboundSchema = exports.AgentToolInputCRUDFunctionTool$inboundSchema;
|
|
243
|
+
/** @deprecated use `AgentToolInputCRUDFunctionTool$outboundSchema` instead. */
|
|
244
|
+
AgentToolInputCRUDFunctionTool$.outboundSchema = exports.AgentToolInputCRUDFunctionTool$outboundSchema;
|
|
245
|
+
})(AgentToolInputCRUDFunctionTool$ || (exports.AgentToolInputCRUDFunctionTool$ = AgentToolInputCRUDFunctionTool$ = {}));
|
|
246
|
+
function agentToolInputCRUDFunctionToolToJSON(agentToolInputCRUDFunctionTool) {
|
|
247
|
+
return JSON.stringify(exports.AgentToolInputCRUDFunctionTool$outboundSchema.parse(agentToolInputCRUDFunctionTool));
|
|
248
|
+
}
|
|
249
|
+
function agentToolInputCRUDFunctionToolFromJSON(jsonString) {
|
|
250
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDFunctionTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDFunctionTool' from JSON`);
|
|
251
|
+
}
|
|
252
|
+
/** @internal */
|
|
253
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type);
|
|
254
|
+
/** @internal */
|
|
255
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema;
|
|
256
|
+
/**
|
|
257
|
+
* @internal
|
|
258
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
259
|
+
*/
|
|
260
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$;
|
|
261
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$) {
|
|
262
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema` instead. */
|
|
263
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema;
|
|
264
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema` instead. */
|
|
265
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema;
|
|
266
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$ = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$ = {}));
|
|
267
|
+
/** @internal */
|
|
268
|
+
exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema = z.object({
|
|
269
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema,
|
|
270
|
+
key: z.string().optional(),
|
|
271
|
+
id: z.string().optional(),
|
|
272
|
+
requires_approval: z.boolean().default(false),
|
|
273
|
+
}).transform((v) => {
|
|
274
|
+
return (0, primitives_js_1.remap)(v, {
|
|
275
|
+
"requires_approval": "requiresApproval",
|
|
276
|
+
});
|
|
277
|
+
});
|
|
278
|
+
/** @internal */
|
|
279
|
+
exports.AgentToolInputCRUDCodeExecutionTool$outboundSchema = z.object({
|
|
280
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema,
|
|
281
|
+
key: z.string().optional(),
|
|
282
|
+
id: z.string().optional(),
|
|
283
|
+
requiresApproval: z.boolean().default(false),
|
|
284
|
+
}).transform((v) => {
|
|
285
|
+
return (0, primitives_js_1.remap)(v, {
|
|
286
|
+
requiresApproval: "requires_approval",
|
|
287
|
+
});
|
|
288
|
+
});
|
|
289
|
+
/**
|
|
290
|
+
* @internal
|
|
291
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
292
|
+
*/
|
|
293
|
+
var AgentToolInputCRUDCodeExecutionTool$;
|
|
294
|
+
(function (AgentToolInputCRUDCodeExecutionTool$) {
|
|
295
|
+
/** @deprecated use `AgentToolInputCRUDCodeExecutionTool$inboundSchema` instead. */
|
|
296
|
+
AgentToolInputCRUDCodeExecutionTool$.inboundSchema = exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema;
|
|
297
|
+
/** @deprecated use `AgentToolInputCRUDCodeExecutionTool$outboundSchema` instead. */
|
|
298
|
+
AgentToolInputCRUDCodeExecutionTool$.outboundSchema = exports.AgentToolInputCRUDCodeExecutionTool$outboundSchema;
|
|
299
|
+
})(AgentToolInputCRUDCodeExecutionTool$ || (exports.AgentToolInputCRUDCodeExecutionTool$ = AgentToolInputCRUDCodeExecutionTool$ = {}));
|
|
300
|
+
function agentToolInputCRUDCodeExecutionToolToJSON(agentToolInputCRUDCodeExecutionTool) {
|
|
301
|
+
return JSON.stringify(exports.AgentToolInputCRUDCodeExecutionTool$outboundSchema.parse(agentToolInputCRUDCodeExecutionTool));
|
|
302
|
+
}
|
|
303
|
+
function agentToolInputCRUDCodeExecutionToolFromJSON(jsonString) {
|
|
304
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDCodeExecutionTool' from JSON`);
|
|
305
|
+
}
|
|
306
|
+
/** @internal */
|
|
307
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type);
|
|
308
|
+
/** @internal */
|
|
309
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema;
|
|
310
|
+
/**
|
|
311
|
+
* @internal
|
|
312
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
313
|
+
*/
|
|
314
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$;
|
|
315
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$) {
|
|
316
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema` instead. */
|
|
317
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema;
|
|
318
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema` instead. */
|
|
319
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema;
|
|
320
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$ = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$ = {}));
|
|
321
|
+
/** @internal */
|
|
322
|
+
exports.AgentToolInputCRUDHTTPTool$inboundSchema = z.object({
|
|
323
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema,
|
|
324
|
+
key: z.string().optional(),
|
|
325
|
+
id: z.string().optional(),
|
|
326
|
+
requires_approval: z.boolean().default(false),
|
|
327
|
+
}).transform((v) => {
|
|
328
|
+
return (0, primitives_js_1.remap)(v, {
|
|
329
|
+
"requires_approval": "requiresApproval",
|
|
330
|
+
});
|
|
331
|
+
});
|
|
332
|
+
/** @internal */
|
|
333
|
+
exports.AgentToolInputCRUDHTTPTool$outboundSchema = z.object({
|
|
334
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema,
|
|
335
|
+
key: z.string().optional(),
|
|
336
|
+
id: z.string().optional(),
|
|
337
|
+
requiresApproval: z.boolean().default(false),
|
|
338
|
+
}).transform((v) => {
|
|
339
|
+
return (0, primitives_js_1.remap)(v, {
|
|
340
|
+
requiresApproval: "requires_approval",
|
|
341
|
+
});
|
|
342
|
+
});
|
|
343
|
+
/**
|
|
344
|
+
* @internal
|
|
345
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
346
|
+
*/
|
|
347
|
+
var AgentToolInputCRUDHTTPTool$;
|
|
348
|
+
(function (AgentToolInputCRUDHTTPTool$) {
|
|
349
|
+
/** @deprecated use `AgentToolInputCRUDHTTPTool$inboundSchema` instead. */
|
|
350
|
+
AgentToolInputCRUDHTTPTool$.inboundSchema = exports.AgentToolInputCRUDHTTPTool$inboundSchema;
|
|
351
|
+
/** @deprecated use `AgentToolInputCRUDHTTPTool$outboundSchema` instead. */
|
|
352
|
+
AgentToolInputCRUDHTTPTool$.outboundSchema = exports.AgentToolInputCRUDHTTPTool$outboundSchema;
|
|
353
|
+
})(AgentToolInputCRUDHTTPTool$ || (exports.AgentToolInputCRUDHTTPTool$ = AgentToolInputCRUDHTTPTool$ = {}));
|
|
354
|
+
function agentToolInputCRUDHTTPToolToJSON(agentToolInputCRUDHTTPTool) {
|
|
355
|
+
return JSON.stringify(exports.AgentToolInputCRUDHTTPTool$outboundSchema.parse(agentToolInputCRUDHTTPTool));
|
|
356
|
+
}
|
|
357
|
+
function agentToolInputCRUDHTTPToolFromJSON(jsonString) {
|
|
358
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDHTTPTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDHTTPTool' from JSON`);
|
|
359
|
+
}
|
|
360
|
+
/** @internal */
|
|
361
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type);
|
|
362
|
+
/** @internal */
|
|
363
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema;
|
|
364
|
+
/**
|
|
365
|
+
* @internal
|
|
366
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
367
|
+
*/
|
|
368
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$;
|
|
369
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$) {
|
|
370
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema` instead. */
|
|
371
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema;
|
|
372
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema` instead. */
|
|
373
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema;
|
|
374
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$ = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$ = {}));
|
|
375
|
+
/** @internal */
|
|
376
|
+
exports.AgentToolInputCRUDCurrentDateTool$inboundSchema = z.object({
|
|
377
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema,
|
|
378
|
+
requires_approval: z.boolean().default(false),
|
|
379
|
+
}).transform((v) => {
|
|
380
|
+
return (0, primitives_js_1.remap)(v, {
|
|
381
|
+
"requires_approval": "requiresApproval",
|
|
382
|
+
});
|
|
383
|
+
});
|
|
384
|
+
/** @internal */
|
|
385
|
+
exports.AgentToolInputCRUDCurrentDateTool$outboundSchema = z.object({
|
|
386
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema,
|
|
387
|
+
requiresApproval: z.boolean().default(false),
|
|
388
|
+
}).transform((v) => {
|
|
389
|
+
return (0, primitives_js_1.remap)(v, {
|
|
390
|
+
requiresApproval: "requires_approval",
|
|
391
|
+
});
|
|
392
|
+
});
|
|
393
|
+
/**
|
|
394
|
+
* @internal
|
|
395
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
396
|
+
*/
|
|
397
|
+
var AgentToolInputCRUDCurrentDateTool$;
|
|
398
|
+
(function (AgentToolInputCRUDCurrentDateTool$) {
|
|
399
|
+
/** @deprecated use `AgentToolInputCRUDCurrentDateTool$inboundSchema` instead. */
|
|
400
|
+
AgentToolInputCRUDCurrentDateTool$.inboundSchema = exports.AgentToolInputCRUDCurrentDateTool$inboundSchema;
|
|
401
|
+
/** @deprecated use `AgentToolInputCRUDCurrentDateTool$outboundSchema` instead. */
|
|
402
|
+
AgentToolInputCRUDCurrentDateTool$.outboundSchema = exports.AgentToolInputCRUDCurrentDateTool$outboundSchema;
|
|
403
|
+
})(AgentToolInputCRUDCurrentDateTool$ || (exports.AgentToolInputCRUDCurrentDateTool$ = AgentToolInputCRUDCurrentDateTool$ = {}));
|
|
404
|
+
function agentToolInputCRUDCurrentDateToolToJSON(agentToolInputCRUDCurrentDateTool) {
|
|
405
|
+
return JSON.stringify(exports.AgentToolInputCRUDCurrentDateTool$outboundSchema.parse(agentToolInputCRUDCurrentDateTool));
|
|
406
|
+
}
|
|
407
|
+
function agentToolInputCRUDCurrentDateToolFromJSON(jsonString) {
|
|
408
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDCurrentDateTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDCurrentDateTool' from JSON`);
|
|
409
|
+
}
|
|
410
|
+
/** @internal */
|
|
411
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type);
|
|
412
|
+
/** @internal */
|
|
413
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema;
|
|
414
|
+
/**
|
|
415
|
+
* @internal
|
|
416
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
417
|
+
*/
|
|
418
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$;
|
|
419
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$) {
|
|
420
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema` instead. */
|
|
421
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema;
|
|
422
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema` instead. */
|
|
423
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema;
|
|
424
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$ = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$ = {}));
|
|
425
|
+
/** @internal */
|
|
426
|
+
exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema = z.object({
|
|
427
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema,
|
|
428
|
+
requires_approval: z.boolean().default(false),
|
|
429
|
+
}).transform((v) => {
|
|
430
|
+
return (0, primitives_js_1.remap)(v, {
|
|
431
|
+
"requires_approval": "requiresApproval",
|
|
432
|
+
});
|
|
433
|
+
});
|
|
434
|
+
/** @internal */
|
|
435
|
+
exports.AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema = z.object({
|
|
436
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema,
|
|
437
|
+
requiresApproval: z.boolean().default(false),
|
|
438
|
+
}).transform((v) => {
|
|
439
|
+
return (0, primitives_js_1.remap)(v, {
|
|
440
|
+
requiresApproval: "requires_approval",
|
|
441
|
+
});
|
|
442
|
+
});
|
|
443
|
+
/**
|
|
444
|
+
* @internal
|
|
445
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
446
|
+
*/
|
|
447
|
+
var AgentToolInputCRUDQueryKnowledgeBaseTool$;
|
|
448
|
+
(function (AgentToolInputCRUDQueryKnowledgeBaseTool$) {
|
|
449
|
+
/** @deprecated use `AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema` instead. */
|
|
450
|
+
AgentToolInputCRUDQueryKnowledgeBaseTool$.inboundSchema = exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema;
|
|
451
|
+
/** @deprecated use `AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema` instead. */
|
|
452
|
+
AgentToolInputCRUDQueryKnowledgeBaseTool$.outboundSchema = exports.AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema;
|
|
453
|
+
})(AgentToolInputCRUDQueryKnowledgeBaseTool$ || (exports.AgentToolInputCRUDQueryKnowledgeBaseTool$ = AgentToolInputCRUDQueryKnowledgeBaseTool$ = {}));
|
|
454
|
+
function agentToolInputCRUDQueryKnowledgeBaseToolToJSON(agentToolInputCRUDQueryKnowledgeBaseTool) {
|
|
455
|
+
return JSON.stringify(exports.AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema.parse(agentToolInputCRUDQueryKnowledgeBaseTool));
|
|
456
|
+
}
|
|
457
|
+
function agentToolInputCRUDQueryKnowledgeBaseToolFromJSON(jsonString) {
|
|
458
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDQueryKnowledgeBaseTool' from JSON`);
|
|
459
|
+
}
|
|
460
|
+
/** @internal */
|
|
461
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type);
|
|
462
|
+
/** @internal */
|
|
463
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema;
|
|
464
|
+
/**
|
|
465
|
+
* @internal
|
|
466
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
467
|
+
*/
|
|
468
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$;
|
|
469
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$) {
|
|
470
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema` instead. */
|
|
471
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema;
|
|
472
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema` instead. */
|
|
473
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema;
|
|
474
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$ = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$ = {}));
|
|
475
|
+
/** @internal */
|
|
476
|
+
exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema = z.object({
|
|
477
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema,
|
|
478
|
+
requires_approval: z.boolean().default(false),
|
|
479
|
+
}).transform((v) => {
|
|
480
|
+
return (0, primitives_js_1.remap)(v, {
|
|
481
|
+
"requires_approval": "requiresApproval",
|
|
482
|
+
});
|
|
483
|
+
});
|
|
484
|
+
/** @internal */
|
|
485
|
+
exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema = z.object({
|
|
486
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema,
|
|
487
|
+
requiresApproval: z.boolean().default(false),
|
|
488
|
+
}).transform((v) => {
|
|
489
|
+
return (0, primitives_js_1.remap)(v, {
|
|
490
|
+
requiresApproval: "requires_approval",
|
|
491
|
+
});
|
|
492
|
+
});
|
|
493
|
+
/**
|
|
494
|
+
* @internal
|
|
495
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
496
|
+
*/
|
|
497
|
+
var AgentToolInputCRUDRetrieveKnowledgeBasesTool$;
|
|
498
|
+
(function (AgentToolInputCRUDRetrieveKnowledgeBasesTool$) {
|
|
499
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema` instead. */
|
|
500
|
+
AgentToolInputCRUDRetrieveKnowledgeBasesTool$.inboundSchema = exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema;
|
|
501
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema` instead. */
|
|
502
|
+
AgentToolInputCRUDRetrieveKnowledgeBasesTool$.outboundSchema = exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema;
|
|
503
|
+
})(AgentToolInputCRUDRetrieveKnowledgeBasesTool$ || (exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$ = AgentToolInputCRUDRetrieveKnowledgeBasesTool$ = {}));
|
|
504
|
+
function agentToolInputCRUDRetrieveKnowledgeBasesToolToJSON(agentToolInputCRUDRetrieveKnowledgeBasesTool) {
|
|
505
|
+
return JSON.stringify(exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema.parse(agentToolInputCRUDRetrieveKnowledgeBasesTool));
|
|
506
|
+
}
|
|
507
|
+
function agentToolInputCRUDRetrieveKnowledgeBasesToolFromJSON(jsonString) {
|
|
508
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDRetrieveKnowledgeBasesTool' from JSON`);
|
|
509
|
+
}
|
|
510
|
+
/** @internal */
|
|
511
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type);
|
|
512
|
+
/** @internal */
|
|
513
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema;
|
|
514
|
+
/**
|
|
515
|
+
* @internal
|
|
516
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
517
|
+
*/
|
|
518
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$;
|
|
519
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$) {
|
|
520
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema` instead. */
|
|
521
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema;
|
|
522
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema` instead. */
|
|
523
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema;
|
|
524
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$ = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$ = {}));
|
|
525
|
+
/** @internal */
|
|
526
|
+
exports.AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema = z.object({
|
|
527
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema,
|
|
528
|
+
requires_approval: z.boolean().default(false),
|
|
529
|
+
}).transform((v) => {
|
|
530
|
+
return (0, primitives_js_1.remap)(v, {
|
|
531
|
+
"requires_approval": "requiresApproval",
|
|
532
|
+
});
|
|
533
|
+
});
|
|
534
|
+
/** @internal */
|
|
535
|
+
exports.AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema = z.object({
|
|
536
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema,
|
|
537
|
+
requiresApproval: z.boolean().default(false),
|
|
538
|
+
}).transform((v) => {
|
|
539
|
+
return (0, primitives_js_1.remap)(v, {
|
|
540
|
+
requiresApproval: "requires_approval",
|
|
541
|
+
});
|
|
542
|
+
});
|
|
543
|
+
/**
|
|
544
|
+
* @internal
|
|
545
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
546
|
+
*/
|
|
547
|
+
var AgentToolInputCRUDDeleteMemoryDocumentTool$;
|
|
548
|
+
(function (AgentToolInputCRUDDeleteMemoryDocumentTool$) {
|
|
549
|
+
/** @deprecated use `AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema` instead. */
|
|
550
|
+
AgentToolInputCRUDDeleteMemoryDocumentTool$.inboundSchema = exports.AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema;
|
|
551
|
+
/** @deprecated use `AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema` instead. */
|
|
552
|
+
AgentToolInputCRUDDeleteMemoryDocumentTool$.outboundSchema = exports.AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema;
|
|
553
|
+
})(AgentToolInputCRUDDeleteMemoryDocumentTool$ || (exports.AgentToolInputCRUDDeleteMemoryDocumentTool$ = AgentToolInputCRUDDeleteMemoryDocumentTool$ = {}));
|
|
554
|
+
function agentToolInputCRUDDeleteMemoryDocumentToolToJSON(agentToolInputCRUDDeleteMemoryDocumentTool) {
|
|
555
|
+
return JSON.stringify(exports.AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema.parse(agentToolInputCRUDDeleteMemoryDocumentTool));
|
|
556
|
+
}
|
|
557
|
+
function agentToolInputCRUDDeleteMemoryDocumentToolFromJSON(jsonString) {
|
|
558
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDDeleteMemoryDocumentTool' from JSON`);
|
|
559
|
+
}
|
|
560
|
+
/** @internal */
|
|
561
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type);
|
|
562
|
+
/** @internal */
|
|
563
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema;
|
|
564
|
+
/**
|
|
565
|
+
* @internal
|
|
566
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
567
|
+
*/
|
|
568
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$;
|
|
569
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$) {
|
|
570
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema` instead. */
|
|
571
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema;
|
|
572
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema` instead. */
|
|
573
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema;
|
|
574
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$ = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$ = {}));
|
|
575
|
+
/** @internal */
|
|
576
|
+
exports.AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema = z.object({
|
|
577
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema,
|
|
578
|
+
requires_approval: z.boolean().default(false),
|
|
579
|
+
}).transform((v) => {
|
|
580
|
+
return (0, primitives_js_1.remap)(v, {
|
|
581
|
+
"requires_approval": "requiresApproval",
|
|
582
|
+
});
|
|
583
|
+
});
|
|
584
|
+
/** @internal */
|
|
585
|
+
exports.AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema = z.object({
|
|
586
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema,
|
|
587
|
+
requiresApproval: z.boolean().default(false),
|
|
588
|
+
}).transform((v) => {
|
|
589
|
+
return (0, primitives_js_1.remap)(v, {
|
|
590
|
+
requiresApproval: "requires_approval",
|
|
591
|
+
});
|
|
592
|
+
});
|
|
593
|
+
/**
|
|
594
|
+
* @internal
|
|
595
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
596
|
+
*/
|
|
597
|
+
var AgentToolInputCRUDRetrieveMemoryStoresTool$;
|
|
598
|
+
(function (AgentToolInputCRUDRetrieveMemoryStoresTool$) {
|
|
599
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema` instead. */
|
|
600
|
+
AgentToolInputCRUDRetrieveMemoryStoresTool$.inboundSchema = exports.AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema;
|
|
601
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema` instead. */
|
|
602
|
+
AgentToolInputCRUDRetrieveMemoryStoresTool$.outboundSchema = exports.AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema;
|
|
603
|
+
})(AgentToolInputCRUDRetrieveMemoryStoresTool$ || (exports.AgentToolInputCRUDRetrieveMemoryStoresTool$ = AgentToolInputCRUDRetrieveMemoryStoresTool$ = {}));
|
|
604
|
+
function agentToolInputCRUDRetrieveMemoryStoresToolToJSON(agentToolInputCRUDRetrieveMemoryStoresTool) {
|
|
605
|
+
return JSON.stringify(exports.AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema.parse(agentToolInputCRUDRetrieveMemoryStoresTool));
|
|
606
|
+
}
|
|
607
|
+
function agentToolInputCRUDRetrieveMemoryStoresToolFromJSON(jsonString) {
|
|
608
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDRetrieveMemoryStoresTool' from JSON`);
|
|
609
|
+
}
|
|
610
|
+
/** @internal */
|
|
611
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType);
|
|
612
|
+
/** @internal */
|
|
613
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema;
|
|
614
|
+
/**
|
|
615
|
+
* @internal
|
|
616
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
617
|
+
*/
|
|
618
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$;
|
|
619
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$) {
|
|
620
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema` instead. */
|
|
621
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema;
|
|
622
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema` instead. */
|
|
623
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema;
|
|
624
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$ = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$ = {}));
|
|
625
|
+
/** @internal */
|
|
626
|
+
exports.AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema = z.object({
|
|
627
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema,
|
|
628
|
+
requires_approval: z.boolean().default(false),
|
|
629
|
+
}).transform((v) => {
|
|
630
|
+
return (0, primitives_js_1.remap)(v, {
|
|
631
|
+
"requires_approval": "requiresApproval",
|
|
632
|
+
});
|
|
633
|
+
});
|
|
634
|
+
/** @internal */
|
|
635
|
+
exports.AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema = z.object({
|
|
636
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema,
|
|
637
|
+
requiresApproval: z.boolean().default(false),
|
|
638
|
+
}).transform((v) => {
|
|
639
|
+
return (0, primitives_js_1.remap)(v, {
|
|
640
|
+
requiresApproval: "requires_approval",
|
|
641
|
+
});
|
|
642
|
+
});
|
|
643
|
+
/**
|
|
644
|
+
* @internal
|
|
645
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
646
|
+
*/
|
|
647
|
+
var AgentToolInputCRUDWriteMemoryStoreTool$;
|
|
648
|
+
(function (AgentToolInputCRUDWriteMemoryStoreTool$) {
|
|
649
|
+
/** @deprecated use `AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema` instead. */
|
|
650
|
+
AgentToolInputCRUDWriteMemoryStoreTool$.inboundSchema = exports.AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema;
|
|
651
|
+
/** @deprecated use `AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema` instead. */
|
|
652
|
+
AgentToolInputCRUDWriteMemoryStoreTool$.outboundSchema = exports.AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema;
|
|
653
|
+
})(AgentToolInputCRUDWriteMemoryStoreTool$ || (exports.AgentToolInputCRUDWriteMemoryStoreTool$ = AgentToolInputCRUDWriteMemoryStoreTool$ = {}));
|
|
654
|
+
function agentToolInputCRUDWriteMemoryStoreToolToJSON(agentToolInputCRUDWriteMemoryStoreTool) {
|
|
655
|
+
return JSON.stringify(exports.AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema.parse(agentToolInputCRUDWriteMemoryStoreTool));
|
|
656
|
+
}
|
|
657
|
+
function agentToolInputCRUDWriteMemoryStoreToolFromJSON(jsonString) {
|
|
658
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDWriteMemoryStoreTool' from JSON`);
|
|
659
|
+
}
|
|
660
|
+
/** @internal */
|
|
661
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType);
|
|
662
|
+
/** @internal */
|
|
663
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema;
|
|
664
|
+
/**
|
|
665
|
+
* @internal
|
|
666
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
667
|
+
*/
|
|
668
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$;
|
|
669
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$) {
|
|
670
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema` instead. */
|
|
671
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema;
|
|
672
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema` instead. */
|
|
673
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema;
|
|
674
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$ = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$ = {}));
|
|
675
|
+
/** @internal */
|
|
676
|
+
exports.AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema = z.object({
|
|
677
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema,
|
|
678
|
+
requires_approval: z.boolean().default(false),
|
|
679
|
+
}).transform((v) => {
|
|
680
|
+
return (0, primitives_js_1.remap)(v, {
|
|
681
|
+
"requires_approval": "requiresApproval",
|
|
682
|
+
});
|
|
683
|
+
});
|
|
684
|
+
/** @internal */
|
|
685
|
+
exports.AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema = z.object({
|
|
686
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema,
|
|
687
|
+
requiresApproval: z.boolean().default(false),
|
|
688
|
+
}).transform((v) => {
|
|
689
|
+
return (0, primitives_js_1.remap)(v, {
|
|
690
|
+
requiresApproval: "requires_approval",
|
|
691
|
+
});
|
|
692
|
+
});
|
|
693
|
+
/**
|
|
694
|
+
* @internal
|
|
695
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
696
|
+
*/
|
|
697
|
+
var AgentToolInputCRUDQueryMemoryStoreTool$;
|
|
698
|
+
(function (AgentToolInputCRUDQueryMemoryStoreTool$) {
|
|
699
|
+
/** @deprecated use `AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema` instead. */
|
|
700
|
+
AgentToolInputCRUDQueryMemoryStoreTool$.inboundSchema = exports.AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema;
|
|
701
|
+
/** @deprecated use `AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema` instead. */
|
|
702
|
+
AgentToolInputCRUDQueryMemoryStoreTool$.outboundSchema = exports.AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema;
|
|
703
|
+
})(AgentToolInputCRUDQueryMemoryStoreTool$ || (exports.AgentToolInputCRUDQueryMemoryStoreTool$ = AgentToolInputCRUDQueryMemoryStoreTool$ = {}));
|
|
704
|
+
function agentToolInputCRUDQueryMemoryStoreToolToJSON(agentToolInputCRUDQueryMemoryStoreTool) {
|
|
705
|
+
return JSON.stringify(exports.AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema.parse(agentToolInputCRUDQueryMemoryStoreTool));
|
|
706
|
+
}
|
|
707
|
+
function agentToolInputCRUDQueryMemoryStoreToolFromJSON(jsonString) {
|
|
708
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDQueryMemoryStoreTool' from JSON`);
|
|
709
|
+
}
|
|
710
|
+
/** @internal */
|
|
711
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType);
|
|
712
|
+
/** @internal */
|
|
713
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema;
|
|
714
|
+
/**
|
|
715
|
+
* @internal
|
|
716
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
717
|
+
*/
|
|
718
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$;
|
|
719
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$) {
|
|
720
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema` instead. */
|
|
721
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema;
|
|
722
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema` instead. */
|
|
723
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema;
|
|
724
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$ = UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$ = {}));
|
|
725
|
+
/** @internal */
|
|
726
|
+
exports.AgentToolInputCRUDRetrieveAgentsTool$inboundSchema = z.object({
|
|
727
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema,
|
|
728
|
+
requires_approval: z.boolean().default(false),
|
|
729
|
+
}).transform((v) => {
|
|
730
|
+
return (0, primitives_js_1.remap)(v, {
|
|
731
|
+
"requires_approval": "requiresApproval",
|
|
732
|
+
});
|
|
733
|
+
});
|
|
734
|
+
/** @internal */
|
|
735
|
+
exports.AgentToolInputCRUDRetrieveAgentsTool$outboundSchema = z.object({
|
|
736
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema,
|
|
737
|
+
requiresApproval: z.boolean().default(false),
|
|
738
|
+
}).transform((v) => {
|
|
739
|
+
return (0, primitives_js_1.remap)(v, {
|
|
740
|
+
requiresApproval: "requires_approval",
|
|
741
|
+
});
|
|
742
|
+
});
|
|
743
|
+
/**
|
|
744
|
+
* @internal
|
|
745
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
746
|
+
*/
|
|
747
|
+
var AgentToolInputCRUDRetrieveAgentsTool$;
|
|
748
|
+
(function (AgentToolInputCRUDRetrieveAgentsTool$) {
|
|
749
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveAgentsTool$inboundSchema` instead. */
|
|
750
|
+
AgentToolInputCRUDRetrieveAgentsTool$.inboundSchema = exports.AgentToolInputCRUDRetrieveAgentsTool$inboundSchema;
|
|
751
|
+
/** @deprecated use `AgentToolInputCRUDRetrieveAgentsTool$outboundSchema` instead. */
|
|
752
|
+
AgentToolInputCRUDRetrieveAgentsTool$.outboundSchema = exports.AgentToolInputCRUDRetrieveAgentsTool$outboundSchema;
|
|
753
|
+
})(AgentToolInputCRUDRetrieveAgentsTool$ || (exports.AgentToolInputCRUDRetrieveAgentsTool$ = AgentToolInputCRUDRetrieveAgentsTool$ = {}));
|
|
754
|
+
function agentToolInputCRUDRetrieveAgentsToolToJSON(agentToolInputCRUDRetrieveAgentsTool) {
|
|
755
|
+
return JSON.stringify(exports.AgentToolInputCRUDRetrieveAgentsTool$outboundSchema.parse(agentToolInputCRUDRetrieveAgentsTool));
|
|
756
|
+
}
|
|
757
|
+
function agentToolInputCRUDRetrieveAgentsToolFromJSON(jsonString) {
|
|
758
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDRetrieveAgentsTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDRetrieveAgentsTool' from JSON`);
|
|
759
|
+
}
|
|
760
|
+
/** @internal */
|
|
761
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema = z
|
|
762
|
+
.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestType);
|
|
763
|
+
/** @internal */
|
|
764
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema;
|
|
765
|
+
/**
|
|
766
|
+
* @internal
|
|
767
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
768
|
+
*/
|
|
769
|
+
var UpdateAgentAgentToolInputCRUDAgentsRequestType$;
|
|
770
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsRequestType$) {
|
|
771
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema` instead. */
|
|
772
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestType$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema;
|
|
773
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema` instead. */
|
|
774
|
+
UpdateAgentAgentToolInputCRUDAgentsRequestType$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema;
|
|
775
|
+
})(UpdateAgentAgentToolInputCRUDAgentsRequestType$ || (exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$ = UpdateAgentAgentToolInputCRUDAgentsRequestType$ = {}));
|
|
776
|
+
/** @internal */
|
|
777
|
+
exports.AgentToolInputCRUDCallSubAgentTool$inboundSchema = z.object({
|
|
778
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema,
|
|
779
|
+
requires_approval: z.boolean().default(false),
|
|
780
|
+
}).transform((v) => {
|
|
781
|
+
return (0, primitives_js_1.remap)(v, {
|
|
782
|
+
"requires_approval": "requiresApproval",
|
|
783
|
+
});
|
|
784
|
+
});
|
|
785
|
+
/** @internal */
|
|
786
|
+
exports.AgentToolInputCRUDCallSubAgentTool$outboundSchema = z.object({
|
|
787
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema,
|
|
788
|
+
requiresApproval: z.boolean().default(false),
|
|
789
|
+
}).transform((v) => {
|
|
790
|
+
return (0, primitives_js_1.remap)(v, {
|
|
791
|
+
requiresApproval: "requires_approval",
|
|
792
|
+
});
|
|
793
|
+
});
|
|
794
|
+
/**
|
|
795
|
+
* @internal
|
|
796
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
797
|
+
*/
|
|
798
|
+
var AgentToolInputCRUDCallSubAgentTool$;
|
|
799
|
+
(function (AgentToolInputCRUDCallSubAgentTool$) {
|
|
800
|
+
/** @deprecated use `AgentToolInputCRUDCallSubAgentTool$inboundSchema` instead. */
|
|
801
|
+
AgentToolInputCRUDCallSubAgentTool$.inboundSchema = exports.AgentToolInputCRUDCallSubAgentTool$inboundSchema;
|
|
802
|
+
/** @deprecated use `AgentToolInputCRUDCallSubAgentTool$outboundSchema` instead. */
|
|
803
|
+
AgentToolInputCRUDCallSubAgentTool$.outboundSchema = exports.AgentToolInputCRUDCallSubAgentTool$outboundSchema;
|
|
804
|
+
})(AgentToolInputCRUDCallSubAgentTool$ || (exports.AgentToolInputCRUDCallSubAgentTool$ = AgentToolInputCRUDCallSubAgentTool$ = {}));
|
|
805
|
+
function agentToolInputCRUDCallSubAgentToolToJSON(agentToolInputCRUDCallSubAgentTool) {
|
|
806
|
+
return JSON.stringify(exports.AgentToolInputCRUDCallSubAgentTool$outboundSchema.parse(agentToolInputCRUDCallSubAgentTool));
|
|
807
|
+
}
|
|
808
|
+
function agentToolInputCRUDCallSubAgentToolFromJSON(jsonString) {
|
|
809
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDCallSubAgentTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDCallSubAgentTool' from JSON`);
|
|
810
|
+
}
|
|
811
|
+
/** @internal */
|
|
812
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema = z
|
|
813
|
+
.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsType);
|
|
814
|
+
/** @internal */
|
|
815
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema;
|
|
816
|
+
/**
|
|
817
|
+
* @internal
|
|
818
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
819
|
+
*/
|
|
820
|
+
var UpdateAgentAgentToolInputCRUDAgentsType$;
|
|
821
|
+
(function (UpdateAgentAgentToolInputCRUDAgentsType$) {
|
|
822
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema` instead. */
|
|
823
|
+
UpdateAgentAgentToolInputCRUDAgentsType$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema;
|
|
824
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema` instead. */
|
|
825
|
+
UpdateAgentAgentToolInputCRUDAgentsType$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema;
|
|
826
|
+
})(UpdateAgentAgentToolInputCRUDAgentsType$ || (exports.UpdateAgentAgentToolInputCRUDAgentsType$ = UpdateAgentAgentToolInputCRUDAgentsType$ = {}));
|
|
827
|
+
/** @internal */
|
|
828
|
+
exports.AgentToolInputCRUDWebScraperTool$inboundSchema = z.object({
|
|
829
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema,
|
|
830
|
+
requires_approval: z.boolean().default(false),
|
|
831
|
+
}).transform((v) => {
|
|
832
|
+
return (0, primitives_js_1.remap)(v, {
|
|
833
|
+
"requires_approval": "requiresApproval",
|
|
834
|
+
});
|
|
835
|
+
});
|
|
836
|
+
/** @internal */
|
|
837
|
+
exports.AgentToolInputCRUDWebScraperTool$outboundSchema = z.object({
|
|
838
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema,
|
|
839
|
+
requiresApproval: z.boolean().default(false),
|
|
840
|
+
}).transform((v) => {
|
|
841
|
+
return (0, primitives_js_1.remap)(v, {
|
|
842
|
+
requiresApproval: "requires_approval",
|
|
843
|
+
});
|
|
844
|
+
});
|
|
845
|
+
/**
|
|
846
|
+
* @internal
|
|
847
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
848
|
+
*/
|
|
849
|
+
var AgentToolInputCRUDWebScraperTool$;
|
|
850
|
+
(function (AgentToolInputCRUDWebScraperTool$) {
|
|
851
|
+
/** @deprecated use `AgentToolInputCRUDWebScraperTool$inboundSchema` instead. */
|
|
852
|
+
AgentToolInputCRUDWebScraperTool$.inboundSchema = exports.AgentToolInputCRUDWebScraperTool$inboundSchema;
|
|
853
|
+
/** @deprecated use `AgentToolInputCRUDWebScraperTool$outboundSchema` instead. */
|
|
854
|
+
AgentToolInputCRUDWebScraperTool$.outboundSchema = exports.AgentToolInputCRUDWebScraperTool$outboundSchema;
|
|
855
|
+
})(AgentToolInputCRUDWebScraperTool$ || (exports.AgentToolInputCRUDWebScraperTool$ = AgentToolInputCRUDWebScraperTool$ = {}));
|
|
856
|
+
function agentToolInputCRUDWebScraperToolToJSON(agentToolInputCRUDWebScraperTool) {
|
|
857
|
+
return JSON.stringify(exports.AgentToolInputCRUDWebScraperTool$outboundSchema.parse(agentToolInputCRUDWebScraperTool));
|
|
858
|
+
}
|
|
859
|
+
function agentToolInputCRUDWebScraperToolFromJSON(jsonString) {
|
|
860
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDWebScraperTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDWebScraperTool' from JSON`);
|
|
861
|
+
}
|
|
862
|
+
/** @internal */
|
|
863
|
+
exports.UpdateAgentAgentToolInputCRUDType$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDType);
|
|
864
|
+
/** @internal */
|
|
865
|
+
exports.UpdateAgentAgentToolInputCRUDType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDType$inboundSchema;
|
|
866
|
+
/**
|
|
867
|
+
* @internal
|
|
868
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
869
|
+
*/
|
|
870
|
+
var UpdateAgentAgentToolInputCRUDType$;
|
|
871
|
+
(function (UpdateAgentAgentToolInputCRUDType$) {
|
|
872
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDType$inboundSchema` instead. */
|
|
873
|
+
UpdateAgentAgentToolInputCRUDType$.inboundSchema = exports.UpdateAgentAgentToolInputCRUDType$inboundSchema;
|
|
874
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUDType$outboundSchema` instead. */
|
|
875
|
+
UpdateAgentAgentToolInputCRUDType$.outboundSchema = exports.UpdateAgentAgentToolInputCRUDType$outboundSchema;
|
|
876
|
+
})(UpdateAgentAgentToolInputCRUDType$ || (exports.UpdateAgentAgentToolInputCRUDType$ = UpdateAgentAgentToolInputCRUDType$ = {}));
|
|
877
|
+
/** @internal */
|
|
878
|
+
exports.AgentToolInputCRUDGoogleSearchTool$inboundSchema = z.object({
|
|
879
|
+
type: exports.UpdateAgentAgentToolInputCRUDType$inboundSchema,
|
|
880
|
+
requires_approval: z.boolean().default(false),
|
|
881
|
+
}).transform((v) => {
|
|
882
|
+
return (0, primitives_js_1.remap)(v, {
|
|
883
|
+
"requires_approval": "requiresApproval",
|
|
884
|
+
});
|
|
885
|
+
});
|
|
886
|
+
/** @internal */
|
|
887
|
+
exports.AgentToolInputCRUDGoogleSearchTool$outboundSchema = z.object({
|
|
888
|
+
type: exports.UpdateAgentAgentToolInputCRUDType$outboundSchema,
|
|
889
|
+
requiresApproval: z.boolean().default(false),
|
|
890
|
+
}).transform((v) => {
|
|
891
|
+
return (0, primitives_js_1.remap)(v, {
|
|
892
|
+
requiresApproval: "requires_approval",
|
|
893
|
+
});
|
|
894
|
+
});
|
|
895
|
+
/**
|
|
896
|
+
* @internal
|
|
897
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
898
|
+
*/
|
|
899
|
+
var AgentToolInputCRUDGoogleSearchTool$;
|
|
900
|
+
(function (AgentToolInputCRUDGoogleSearchTool$) {
|
|
901
|
+
/** @deprecated use `AgentToolInputCRUDGoogleSearchTool$inboundSchema` instead. */
|
|
902
|
+
AgentToolInputCRUDGoogleSearchTool$.inboundSchema = exports.AgentToolInputCRUDGoogleSearchTool$inboundSchema;
|
|
903
|
+
/** @deprecated use `AgentToolInputCRUDGoogleSearchTool$outboundSchema` instead. */
|
|
904
|
+
AgentToolInputCRUDGoogleSearchTool$.outboundSchema = exports.AgentToolInputCRUDGoogleSearchTool$outboundSchema;
|
|
905
|
+
})(AgentToolInputCRUDGoogleSearchTool$ || (exports.AgentToolInputCRUDGoogleSearchTool$ = AgentToolInputCRUDGoogleSearchTool$ = {}));
|
|
906
|
+
function agentToolInputCRUDGoogleSearchToolToJSON(agentToolInputCRUDGoogleSearchTool) {
|
|
907
|
+
return JSON.stringify(exports.AgentToolInputCRUDGoogleSearchTool$outboundSchema.parse(agentToolInputCRUDGoogleSearchTool));
|
|
908
|
+
}
|
|
909
|
+
function agentToolInputCRUDGoogleSearchToolFromJSON(jsonString) {
|
|
910
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDGoogleSearchTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDGoogleSearchTool' from JSON`);
|
|
911
|
+
}
|
|
912
|
+
/** @internal */
|
|
913
|
+
exports.UpdateAgentAgentToolInputCRUD$inboundSchema = z.union([
|
|
914
|
+
z.lazy(() => exports.AgentToolInputCRUDGoogleSearchTool$inboundSchema),
|
|
915
|
+
z.lazy(() => exports.AgentToolInputCRUDWebScraperTool$inboundSchema),
|
|
916
|
+
z.lazy(() => exports.AgentToolInputCRUDCallSubAgentTool$inboundSchema),
|
|
917
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveAgentsTool$inboundSchema),
|
|
918
|
+
z.lazy(() => exports.AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema),
|
|
919
|
+
z.lazy(() => exports.AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema),
|
|
920
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema),
|
|
921
|
+
z.lazy(() => exports.AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema),
|
|
922
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema),
|
|
923
|
+
z.lazy(() => exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema),
|
|
924
|
+
z.lazy(() => exports.AgentToolInputCRUDCurrentDateTool$inboundSchema),
|
|
925
|
+
z.lazy(() => exports.AgentToolInputCRUDHTTPTool$inboundSchema),
|
|
926
|
+
z.lazy(() => exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema),
|
|
927
|
+
z.lazy(() => exports.AgentToolInputCRUDFunctionTool$inboundSchema),
|
|
928
|
+
]);
|
|
929
|
+
/** @internal */
|
|
930
|
+
exports.UpdateAgentAgentToolInputCRUD$outboundSchema = z.union([
|
|
931
|
+
z.lazy(() => exports.AgentToolInputCRUDGoogleSearchTool$outboundSchema),
|
|
932
|
+
z.lazy(() => exports.AgentToolInputCRUDWebScraperTool$outboundSchema),
|
|
933
|
+
z.lazy(() => exports.AgentToolInputCRUDCallSubAgentTool$outboundSchema),
|
|
934
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveAgentsTool$outboundSchema),
|
|
935
|
+
z.lazy(() => exports.AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema),
|
|
936
|
+
z.lazy(() => exports.AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema),
|
|
937
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema),
|
|
938
|
+
z.lazy(() => exports.AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema),
|
|
939
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema),
|
|
940
|
+
z.lazy(() => exports.AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema),
|
|
941
|
+
z.lazy(() => exports.AgentToolInputCRUDCurrentDateTool$outboundSchema),
|
|
942
|
+
z.lazy(() => exports.AgentToolInputCRUDHTTPTool$outboundSchema),
|
|
943
|
+
z.lazy(() => exports.AgentToolInputCRUDCodeExecutionTool$outboundSchema),
|
|
944
|
+
z.lazy(() => exports.AgentToolInputCRUDFunctionTool$outboundSchema),
|
|
945
|
+
]);
|
|
946
|
+
/**
|
|
947
|
+
* @internal
|
|
948
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
949
|
+
*/
|
|
950
|
+
var UpdateAgentAgentToolInputCRUD$;
|
|
951
|
+
(function (UpdateAgentAgentToolInputCRUD$) {
|
|
952
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUD$inboundSchema` instead. */
|
|
953
|
+
UpdateAgentAgentToolInputCRUD$.inboundSchema = exports.UpdateAgentAgentToolInputCRUD$inboundSchema;
|
|
954
|
+
/** @deprecated use `UpdateAgentAgentToolInputCRUD$outboundSchema` instead. */
|
|
955
|
+
UpdateAgentAgentToolInputCRUD$.outboundSchema = exports.UpdateAgentAgentToolInputCRUD$outboundSchema;
|
|
956
|
+
})(UpdateAgentAgentToolInputCRUD$ || (exports.UpdateAgentAgentToolInputCRUD$ = UpdateAgentAgentToolInputCRUD$ = {}));
|
|
957
|
+
function updateAgentAgentToolInputCRUDToJSON(updateAgentAgentToolInputCRUD) {
|
|
958
|
+
return JSON.stringify(exports.UpdateAgentAgentToolInputCRUD$outboundSchema.parse(updateAgentAgentToolInputCRUD));
|
|
959
|
+
}
|
|
960
|
+
function updateAgentAgentToolInputCRUDFromJSON(jsonString) {
|
|
961
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentAgentToolInputCRUD$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentAgentToolInputCRUD' from JSON`);
|
|
962
|
+
}
|
|
963
|
+
/** @internal */
|
|
964
|
+
exports.UpdateAgentSettings$inboundSchema = z.object({
|
|
965
|
+
max_iterations: z.number().int().default(15),
|
|
966
|
+
max_execution_time: z.number().int().default(300),
|
|
967
|
+
tool_approval_required: exports.UpdateAgentToolApprovalRequired$inboundSchema.default("respect_tool"),
|
|
968
|
+
tools: z.array(z.union([
|
|
969
|
+
z.lazy(() => exports.AgentToolInputCRUDGoogleSearchTool$inboundSchema),
|
|
970
|
+
z.lazy(() => exports.AgentToolInputCRUDWebScraperTool$inboundSchema),
|
|
971
|
+
z.lazy(() => exports.AgentToolInputCRUDCallSubAgentTool$inboundSchema),
|
|
972
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveAgentsTool$inboundSchema),
|
|
973
|
+
z.lazy(() => exports.AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema),
|
|
974
|
+
z.lazy(() => exports.AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema),
|
|
975
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema),
|
|
976
|
+
z.lazy(() => exports.AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema),
|
|
977
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema),
|
|
978
|
+
z.lazy(() => exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema),
|
|
979
|
+
z.lazy(() => exports.AgentToolInputCRUDCurrentDateTool$inboundSchema),
|
|
980
|
+
z.lazy(() => exports.AgentToolInputCRUDHTTPTool$inboundSchema),
|
|
981
|
+
z.lazy(() => exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema),
|
|
982
|
+
z.lazy(() => exports.AgentToolInputCRUDFunctionTool$inboundSchema),
|
|
983
|
+
])).optional(),
|
|
984
|
+
}).transform((v) => {
|
|
985
|
+
return (0, primitives_js_1.remap)(v, {
|
|
986
|
+
"max_iterations": "maxIterations",
|
|
987
|
+
"max_execution_time": "maxExecutionTime",
|
|
988
|
+
"tool_approval_required": "toolApprovalRequired",
|
|
989
|
+
});
|
|
990
|
+
});
|
|
991
|
+
/** @internal */
|
|
992
|
+
exports.UpdateAgentSettings$outboundSchema = z.object({
|
|
993
|
+
maxIterations: z.number().int().default(15),
|
|
994
|
+
maxExecutionTime: z.number().int().default(300),
|
|
995
|
+
toolApprovalRequired: exports.UpdateAgentToolApprovalRequired$outboundSchema.default("respect_tool"),
|
|
996
|
+
tools: z.array(z.union([
|
|
997
|
+
z.lazy(() => exports.AgentToolInputCRUDGoogleSearchTool$outboundSchema),
|
|
998
|
+
z.lazy(() => exports.AgentToolInputCRUDWebScraperTool$outboundSchema),
|
|
999
|
+
z.lazy(() => exports.AgentToolInputCRUDCallSubAgentTool$outboundSchema),
|
|
1000
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveAgentsTool$outboundSchema),
|
|
1001
|
+
z.lazy(() => exports.AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema),
|
|
1002
|
+
z.lazy(() => exports.AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema),
|
|
1003
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema),
|
|
1004
|
+
z.lazy(() => exports.AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema),
|
|
1005
|
+
z.lazy(() => exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema),
|
|
1006
|
+
z.lazy(() => exports.AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema),
|
|
1007
|
+
z.lazy(() => exports.AgentToolInputCRUDCurrentDateTool$outboundSchema),
|
|
1008
|
+
z.lazy(() => exports.AgentToolInputCRUDHTTPTool$outboundSchema),
|
|
1009
|
+
z.lazy(() => exports.AgentToolInputCRUDCodeExecutionTool$outboundSchema),
|
|
1010
|
+
z.lazy(() => exports.AgentToolInputCRUDFunctionTool$outboundSchema),
|
|
1011
|
+
])).optional(),
|
|
1012
|
+
}).transform((v) => {
|
|
1013
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1014
|
+
maxIterations: "max_iterations",
|
|
1015
|
+
maxExecutionTime: "max_execution_time",
|
|
1016
|
+
toolApprovalRequired: "tool_approval_required",
|
|
1017
|
+
});
|
|
1018
|
+
});
|
|
1019
|
+
/**
|
|
1020
|
+
* @internal
|
|
1021
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1022
|
+
*/
|
|
1023
|
+
var UpdateAgentSettings$;
|
|
1024
|
+
(function (UpdateAgentSettings$) {
|
|
1025
|
+
/** @deprecated use `UpdateAgentSettings$inboundSchema` instead. */
|
|
1026
|
+
UpdateAgentSettings$.inboundSchema = exports.UpdateAgentSettings$inboundSchema;
|
|
1027
|
+
/** @deprecated use `UpdateAgentSettings$outboundSchema` instead. */
|
|
1028
|
+
UpdateAgentSettings$.outboundSchema = exports.UpdateAgentSettings$outboundSchema;
|
|
1029
|
+
})(UpdateAgentSettings$ || (exports.UpdateAgentSettings$ = UpdateAgentSettings$ = {}));
|
|
1030
|
+
function updateAgentSettingsToJSON(updateAgentSettings) {
|
|
1031
|
+
return JSON.stringify(exports.UpdateAgentSettings$outboundSchema.parse(updateAgentSettings));
|
|
1032
|
+
}
|
|
1033
|
+
function updateAgentSettingsFromJSON(jsonString) {
|
|
1034
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentSettings$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentSettings' from JSON`);
|
|
1035
|
+
}
|
|
1036
|
+
/** @internal */
|
|
1037
|
+
exports.UpdateAgentKnowledgeBases$inboundSchema = z.object({
|
|
1038
|
+
knowledge_id: z.string(),
|
|
1039
|
+
}).transform((v) => {
|
|
1040
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1041
|
+
"knowledge_id": "knowledgeId",
|
|
1042
|
+
});
|
|
1043
|
+
});
|
|
1044
|
+
/** @internal */
|
|
1045
|
+
exports.UpdateAgentKnowledgeBases$outboundSchema = z.object({
|
|
1046
|
+
knowledgeId: z.string(),
|
|
1047
|
+
}).transform((v) => {
|
|
1048
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1049
|
+
knowledgeId: "knowledge_id",
|
|
1050
|
+
});
|
|
1051
|
+
});
|
|
1052
|
+
/**
|
|
1053
|
+
* @internal
|
|
1054
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1055
|
+
*/
|
|
1056
|
+
var UpdateAgentKnowledgeBases$;
|
|
1057
|
+
(function (UpdateAgentKnowledgeBases$) {
|
|
1058
|
+
/** @deprecated use `UpdateAgentKnowledgeBases$inboundSchema` instead. */
|
|
1059
|
+
UpdateAgentKnowledgeBases$.inboundSchema = exports.UpdateAgentKnowledgeBases$inboundSchema;
|
|
1060
|
+
/** @deprecated use `UpdateAgentKnowledgeBases$outboundSchema` instead. */
|
|
1061
|
+
UpdateAgentKnowledgeBases$.outboundSchema = exports.UpdateAgentKnowledgeBases$outboundSchema;
|
|
1062
|
+
})(UpdateAgentKnowledgeBases$ || (exports.UpdateAgentKnowledgeBases$ = UpdateAgentKnowledgeBases$ = {}));
|
|
1063
|
+
function updateAgentKnowledgeBasesToJSON(updateAgentKnowledgeBases) {
|
|
1064
|
+
return JSON.stringify(exports.UpdateAgentKnowledgeBases$outboundSchema.parse(updateAgentKnowledgeBases));
|
|
1065
|
+
}
|
|
1066
|
+
function updateAgentKnowledgeBasesFromJSON(jsonString) {
|
|
1067
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentKnowledgeBases$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentKnowledgeBases' from JSON`);
|
|
1068
|
+
}
|
|
1069
|
+
/** @internal */
|
|
1070
|
+
exports.UpdateAgentRequestBody$inboundSchema = z.object({
|
|
1071
|
+
key: z.string().optional(),
|
|
1072
|
+
project_id: z.string().optional(),
|
|
1073
|
+
role: z.string().optional(),
|
|
1074
|
+
description: z.string().optional(),
|
|
1075
|
+
instructions: z.string().optional(),
|
|
1076
|
+
system_prompt: z.string().optional(),
|
|
1077
|
+
model: z.string().optional(),
|
|
1078
|
+
fallback_models: z.array(z.string()).optional(),
|
|
1079
|
+
settings: z.lazy(() => exports.UpdateAgentSettings$inboundSchema).optional(),
|
|
1080
|
+
path: z.string().optional(),
|
|
1081
|
+
memory_stores: z.array(z.string()).optional(),
|
|
1082
|
+
knowledge_bases: z.array(z.lazy(() => exports.UpdateAgentKnowledgeBases$inboundSchema)).optional(),
|
|
1083
|
+
}).transform((v) => {
|
|
1084
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1085
|
+
"project_id": "projectId",
|
|
1086
|
+
"system_prompt": "systemPrompt",
|
|
1087
|
+
"fallback_models": "fallbackModels",
|
|
1088
|
+
"memory_stores": "memoryStores",
|
|
1089
|
+
"knowledge_bases": "knowledgeBases",
|
|
1090
|
+
});
|
|
1091
|
+
});
|
|
1092
|
+
/** @internal */
|
|
1093
|
+
exports.UpdateAgentRequestBody$outboundSchema = z.object({
|
|
1094
|
+
key: z.string().optional(),
|
|
1095
|
+
projectId: z.string().optional(),
|
|
1096
|
+
role: z.string().optional(),
|
|
1097
|
+
description: z.string().optional(),
|
|
1098
|
+
instructions: z.string().optional(),
|
|
1099
|
+
systemPrompt: z.string().optional(),
|
|
1100
|
+
model: z.string().optional(),
|
|
1101
|
+
fallbackModels: z.array(z.string()).optional(),
|
|
1102
|
+
settings: z.lazy(() => exports.UpdateAgentSettings$outboundSchema).optional(),
|
|
1103
|
+
path: z.string().optional(),
|
|
1104
|
+
memoryStores: z.array(z.string()).optional(),
|
|
1105
|
+
knowledgeBases: z.array(z.lazy(() => exports.UpdateAgentKnowledgeBases$outboundSchema)).optional(),
|
|
1106
|
+
}).transform((v) => {
|
|
1107
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1108
|
+
projectId: "project_id",
|
|
1109
|
+
systemPrompt: "system_prompt",
|
|
1110
|
+
fallbackModels: "fallback_models",
|
|
1111
|
+
memoryStores: "memory_stores",
|
|
1112
|
+
knowledgeBases: "knowledge_bases",
|
|
1113
|
+
});
|
|
1114
|
+
});
|
|
1115
|
+
/**
|
|
1116
|
+
* @internal
|
|
1117
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1118
|
+
*/
|
|
1119
|
+
var UpdateAgentRequestBody$;
|
|
1120
|
+
(function (UpdateAgentRequestBody$) {
|
|
1121
|
+
/** @deprecated use `UpdateAgentRequestBody$inboundSchema` instead. */
|
|
1122
|
+
UpdateAgentRequestBody$.inboundSchema = exports.UpdateAgentRequestBody$inboundSchema;
|
|
1123
|
+
/** @deprecated use `UpdateAgentRequestBody$outboundSchema` instead. */
|
|
1124
|
+
UpdateAgentRequestBody$.outboundSchema = exports.UpdateAgentRequestBody$outboundSchema;
|
|
1125
|
+
})(UpdateAgentRequestBody$ || (exports.UpdateAgentRequestBody$ = UpdateAgentRequestBody$ = {}));
|
|
1126
|
+
function updateAgentRequestBodyToJSON(updateAgentRequestBody) {
|
|
1127
|
+
return JSON.stringify(exports.UpdateAgentRequestBody$outboundSchema.parse(updateAgentRequestBody));
|
|
1128
|
+
}
|
|
1129
|
+
function updateAgentRequestBodyFromJSON(jsonString) {
|
|
1130
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentRequestBody' from JSON`);
|
|
1131
|
+
}
|
|
1132
|
+
/** @internal */
|
|
1133
|
+
exports.UpdateAgentRequest$inboundSchema = z.object({
|
|
1134
|
+
agent_key: z.string(),
|
|
1135
|
+
RequestBody: z.lazy(() => exports.UpdateAgentRequestBody$inboundSchema).optional(),
|
|
1136
|
+
}).transform((v) => {
|
|
1137
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1138
|
+
"agent_key": "agentKey",
|
|
1139
|
+
"RequestBody": "requestBody",
|
|
1140
|
+
});
|
|
1141
|
+
});
|
|
1142
|
+
/** @internal */
|
|
1143
|
+
exports.UpdateAgentRequest$outboundSchema = z.object({
|
|
1144
|
+
agentKey: z.string(),
|
|
1145
|
+
requestBody: z.lazy(() => exports.UpdateAgentRequestBody$outboundSchema).optional(),
|
|
1146
|
+
}).transform((v) => {
|
|
1147
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1148
|
+
agentKey: "agent_key",
|
|
1149
|
+
requestBody: "RequestBody",
|
|
1150
|
+
});
|
|
1151
|
+
});
|
|
1152
|
+
/**
|
|
1153
|
+
* @internal
|
|
1154
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1155
|
+
*/
|
|
1156
|
+
var UpdateAgentRequest$;
|
|
1157
|
+
(function (UpdateAgentRequest$) {
|
|
1158
|
+
/** @deprecated use `UpdateAgentRequest$inboundSchema` instead. */
|
|
1159
|
+
UpdateAgentRequest$.inboundSchema = exports.UpdateAgentRequest$inboundSchema;
|
|
1160
|
+
/** @deprecated use `UpdateAgentRequest$outboundSchema` instead. */
|
|
1161
|
+
UpdateAgentRequest$.outboundSchema = exports.UpdateAgentRequest$outboundSchema;
|
|
1162
|
+
})(UpdateAgentRequest$ || (exports.UpdateAgentRequest$ = UpdateAgentRequest$ = {}));
|
|
1163
|
+
function updateAgentRequestToJSON(updateAgentRequest) {
|
|
1164
|
+
return JSON.stringify(exports.UpdateAgentRequest$outboundSchema.parse(updateAgentRequest));
|
|
1165
|
+
}
|
|
1166
|
+
function updateAgentRequestFromJSON(jsonString) {
|
|
1167
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentRequest' from JSON`);
|
|
1168
|
+
}
|
|
1169
|
+
/** @internal */
|
|
1170
|
+
exports.UpdateAgentStatus$inboundSchema = z.nativeEnum(exports.UpdateAgentStatus);
|
|
1171
|
+
/** @internal */
|
|
1172
|
+
exports.UpdateAgentStatus$outboundSchema = exports.UpdateAgentStatus$inboundSchema;
|
|
1173
|
+
/**
|
|
1174
|
+
* @internal
|
|
1175
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1176
|
+
*/
|
|
1177
|
+
var UpdateAgentStatus$;
|
|
1178
|
+
(function (UpdateAgentStatus$) {
|
|
1179
|
+
/** @deprecated use `UpdateAgentStatus$inboundSchema` instead. */
|
|
1180
|
+
UpdateAgentStatus$.inboundSchema = exports.UpdateAgentStatus$inboundSchema;
|
|
1181
|
+
/** @deprecated use `UpdateAgentStatus$outboundSchema` instead. */
|
|
1182
|
+
UpdateAgentStatus$.outboundSchema = exports.UpdateAgentStatus$outboundSchema;
|
|
1183
|
+
})(UpdateAgentStatus$ || (exports.UpdateAgentStatus$ = UpdateAgentStatus$ = {}));
|
|
1184
|
+
/** @internal */
|
|
1185
|
+
exports.UpdateAgentAgentsToolApprovalRequired$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentsToolApprovalRequired);
|
|
1186
|
+
/** @internal */
|
|
1187
|
+
exports.UpdateAgentAgentsToolApprovalRequired$outboundSchema = exports.UpdateAgentAgentsToolApprovalRequired$inboundSchema;
|
|
1188
|
+
/**
|
|
1189
|
+
* @internal
|
|
1190
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1191
|
+
*/
|
|
1192
|
+
var UpdateAgentAgentsToolApprovalRequired$;
|
|
1193
|
+
(function (UpdateAgentAgentsToolApprovalRequired$) {
|
|
1194
|
+
/** @deprecated use `UpdateAgentAgentsToolApprovalRequired$inboundSchema` instead. */
|
|
1195
|
+
UpdateAgentAgentsToolApprovalRequired$.inboundSchema = exports.UpdateAgentAgentsToolApprovalRequired$inboundSchema;
|
|
1196
|
+
/** @deprecated use `UpdateAgentAgentsToolApprovalRequired$outboundSchema` instead. */
|
|
1197
|
+
UpdateAgentAgentsToolApprovalRequired$.outboundSchema = exports.UpdateAgentAgentsToolApprovalRequired$outboundSchema;
|
|
1198
|
+
})(UpdateAgentAgentsToolApprovalRequired$ || (exports.UpdateAgentAgentsToolApprovalRequired$ = UpdateAgentAgentsToolApprovalRequired$ = {}));
|
|
1199
|
+
/** @internal */
|
|
1200
|
+
exports.UpdateAgentConditions$inboundSchema = z.object({
|
|
1201
|
+
condition: z.string(),
|
|
1202
|
+
operator: z.string(),
|
|
1203
|
+
value: z.string(),
|
|
1204
|
+
});
|
|
1205
|
+
/** @internal */
|
|
1206
|
+
exports.UpdateAgentConditions$outboundSchema = z.object({
|
|
1207
|
+
condition: z.string(),
|
|
1208
|
+
operator: z.string(),
|
|
1209
|
+
value: z.string(),
|
|
1210
|
+
});
|
|
1211
|
+
/**
|
|
1212
|
+
* @internal
|
|
1213
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1214
|
+
*/
|
|
1215
|
+
var UpdateAgentConditions$;
|
|
1216
|
+
(function (UpdateAgentConditions$) {
|
|
1217
|
+
/** @deprecated use `UpdateAgentConditions$inboundSchema` instead. */
|
|
1218
|
+
UpdateAgentConditions$.inboundSchema = exports.UpdateAgentConditions$inboundSchema;
|
|
1219
|
+
/** @deprecated use `UpdateAgentConditions$outboundSchema` instead. */
|
|
1220
|
+
UpdateAgentConditions$.outboundSchema = exports.UpdateAgentConditions$outboundSchema;
|
|
1221
|
+
})(UpdateAgentConditions$ || (exports.UpdateAgentConditions$ = UpdateAgentConditions$ = {}));
|
|
1222
|
+
function updateAgentConditionsToJSON(updateAgentConditions) {
|
|
1223
|
+
return JSON.stringify(exports.UpdateAgentConditions$outboundSchema.parse(updateAgentConditions));
|
|
1224
|
+
}
|
|
1225
|
+
function updateAgentConditionsFromJSON(jsonString) {
|
|
1226
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentConditions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentConditions' from JSON`);
|
|
1227
|
+
}
|
|
1228
|
+
/** @internal */
|
|
1229
|
+
exports.UpdateAgentTools$inboundSchema = z.object({
|
|
1230
|
+
id: z.string(),
|
|
1231
|
+
key: z.string().optional(),
|
|
1232
|
+
action_type: z.string(),
|
|
1233
|
+
display_name: z.string().optional(),
|
|
1234
|
+
requires_approval: z.boolean().default(false),
|
|
1235
|
+
conditions: z.array(z.lazy(() => exports.UpdateAgentConditions$inboundSchema))
|
|
1236
|
+
.optional(),
|
|
1237
|
+
mcpServer: z.string().optional(),
|
|
1238
|
+
timeout: z.number().default(120),
|
|
1239
|
+
}).transform((v) => {
|
|
1240
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1241
|
+
"action_type": "actionType",
|
|
1242
|
+
"display_name": "displayName",
|
|
1243
|
+
"requires_approval": "requiresApproval",
|
|
1244
|
+
});
|
|
1245
|
+
});
|
|
1246
|
+
/** @internal */
|
|
1247
|
+
exports.UpdateAgentTools$outboundSchema = z.object({
|
|
1248
|
+
id: z.string(),
|
|
1249
|
+
key: z.string().optional(),
|
|
1250
|
+
actionType: z.string(),
|
|
1251
|
+
displayName: z.string().optional(),
|
|
1252
|
+
requiresApproval: z.boolean().default(false),
|
|
1253
|
+
conditions: z.array(z.lazy(() => exports.UpdateAgentConditions$outboundSchema))
|
|
1254
|
+
.optional(),
|
|
1255
|
+
mcpServer: z.string().optional(),
|
|
1256
|
+
timeout: z.number().default(120),
|
|
1257
|
+
}).transform((v) => {
|
|
1258
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1259
|
+
actionType: "action_type",
|
|
1260
|
+
displayName: "display_name",
|
|
1261
|
+
requiresApproval: "requires_approval",
|
|
1262
|
+
});
|
|
1263
|
+
});
|
|
1264
|
+
/**
|
|
1265
|
+
* @internal
|
|
1266
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1267
|
+
*/
|
|
1268
|
+
var UpdateAgentTools$;
|
|
1269
|
+
(function (UpdateAgentTools$) {
|
|
1270
|
+
/** @deprecated use `UpdateAgentTools$inboundSchema` instead. */
|
|
1271
|
+
UpdateAgentTools$.inboundSchema = exports.UpdateAgentTools$inboundSchema;
|
|
1272
|
+
/** @deprecated use `UpdateAgentTools$outboundSchema` instead. */
|
|
1273
|
+
UpdateAgentTools$.outboundSchema = exports.UpdateAgentTools$outboundSchema;
|
|
1274
|
+
})(UpdateAgentTools$ || (exports.UpdateAgentTools$ = UpdateAgentTools$ = {}));
|
|
1275
|
+
function updateAgentToolsToJSON(updateAgentTools) {
|
|
1276
|
+
return JSON.stringify(exports.UpdateAgentTools$outboundSchema.parse(updateAgentTools));
|
|
1277
|
+
}
|
|
1278
|
+
function updateAgentToolsFromJSON(jsonString) {
|
|
1279
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentTools$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentTools' from JSON`);
|
|
1280
|
+
}
|
|
1281
|
+
/** @internal */
|
|
1282
|
+
exports.UpdateAgentAgentsSettings$inboundSchema = z.object({
|
|
1283
|
+
max_iterations: z.number().int().default(15),
|
|
1284
|
+
max_execution_time: z.number().int().default(300),
|
|
1285
|
+
tool_approval_required: exports.UpdateAgentAgentsToolApprovalRequired$inboundSchema
|
|
1286
|
+
.default("respect_tool"),
|
|
1287
|
+
tools: z.array(z.lazy(() => exports.UpdateAgentTools$inboundSchema)),
|
|
1288
|
+
}).transform((v) => {
|
|
1289
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1290
|
+
"max_iterations": "maxIterations",
|
|
1291
|
+
"max_execution_time": "maxExecutionTime",
|
|
1292
|
+
"tool_approval_required": "toolApprovalRequired",
|
|
1293
|
+
});
|
|
1294
|
+
});
|
|
1295
|
+
/** @internal */
|
|
1296
|
+
exports.UpdateAgentAgentsSettings$outboundSchema = z.object({
|
|
1297
|
+
maxIterations: z.number().int().default(15),
|
|
1298
|
+
maxExecutionTime: z.number().int().default(300),
|
|
1299
|
+
toolApprovalRequired: exports.UpdateAgentAgentsToolApprovalRequired$outboundSchema
|
|
1300
|
+
.default("respect_tool"),
|
|
1301
|
+
tools: z.array(z.lazy(() => exports.UpdateAgentTools$outboundSchema)),
|
|
1302
|
+
}).transform((v) => {
|
|
1303
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1304
|
+
maxIterations: "max_iterations",
|
|
1305
|
+
maxExecutionTime: "max_execution_time",
|
|
1306
|
+
toolApprovalRequired: "tool_approval_required",
|
|
1307
|
+
});
|
|
1308
|
+
});
|
|
1309
|
+
/**
|
|
1310
|
+
* @internal
|
|
1311
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1312
|
+
*/
|
|
1313
|
+
var UpdateAgentAgentsSettings$;
|
|
1314
|
+
(function (UpdateAgentAgentsSettings$) {
|
|
1315
|
+
/** @deprecated use `UpdateAgentAgentsSettings$inboundSchema` instead. */
|
|
1316
|
+
UpdateAgentAgentsSettings$.inboundSchema = exports.UpdateAgentAgentsSettings$inboundSchema;
|
|
1317
|
+
/** @deprecated use `UpdateAgentAgentsSettings$outboundSchema` instead. */
|
|
1318
|
+
UpdateAgentAgentsSettings$.outboundSchema = exports.UpdateAgentAgentsSettings$outboundSchema;
|
|
1319
|
+
})(UpdateAgentAgentsSettings$ || (exports.UpdateAgentAgentsSettings$ = UpdateAgentAgentsSettings$ = {}));
|
|
1320
|
+
function updateAgentAgentsSettingsToJSON(updateAgentAgentsSettings) {
|
|
1321
|
+
return JSON.stringify(exports.UpdateAgentAgentsSettings$outboundSchema.parse(updateAgentAgentsSettings));
|
|
1322
|
+
}
|
|
1323
|
+
function updateAgentAgentsSettingsFromJSON(jsonString) {
|
|
1324
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentAgentsSettings$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentAgentsSettings' from JSON`);
|
|
1325
|
+
}
|
|
1326
|
+
/** @internal */
|
|
1327
|
+
exports.UpdateAgentModel$inboundSchema = z.object({
|
|
1328
|
+
id: z.string(),
|
|
1329
|
+
integration_id: z.nullable(z.string()).optional(),
|
|
1330
|
+
fallback_models: z.nullable(z.array(z.string())).optional(),
|
|
1331
|
+
max_tokens: z.number().int().optional(),
|
|
1332
|
+
temperature: z.number().optional(),
|
|
1333
|
+
}).transform((v) => {
|
|
1334
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1335
|
+
"integration_id": "integrationId",
|
|
1336
|
+
"fallback_models": "fallbackModels",
|
|
1337
|
+
"max_tokens": "maxTokens",
|
|
1338
|
+
});
|
|
1339
|
+
});
|
|
1340
|
+
/** @internal */
|
|
1341
|
+
exports.UpdateAgentModel$outboundSchema = z.object({
|
|
1342
|
+
id: z.string(),
|
|
1343
|
+
integrationId: z.nullable(z.string()).optional(),
|
|
1344
|
+
fallbackModels: z.nullable(z.array(z.string())).optional(),
|
|
1345
|
+
maxTokens: z.number().int().optional(),
|
|
1346
|
+
temperature: z.number().optional(),
|
|
1347
|
+
}).transform((v) => {
|
|
1348
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1349
|
+
integrationId: "integration_id",
|
|
1350
|
+
fallbackModels: "fallback_models",
|
|
1351
|
+
maxTokens: "max_tokens",
|
|
1352
|
+
});
|
|
1353
|
+
});
|
|
1354
|
+
/**
|
|
1355
|
+
* @internal
|
|
1356
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1357
|
+
*/
|
|
1358
|
+
var UpdateAgentModel$;
|
|
1359
|
+
(function (UpdateAgentModel$) {
|
|
1360
|
+
/** @deprecated use `UpdateAgentModel$inboundSchema` instead. */
|
|
1361
|
+
UpdateAgentModel$.inboundSchema = exports.UpdateAgentModel$inboundSchema;
|
|
1362
|
+
/** @deprecated use `UpdateAgentModel$outboundSchema` instead. */
|
|
1363
|
+
UpdateAgentModel$.outboundSchema = exports.UpdateAgentModel$outboundSchema;
|
|
1364
|
+
})(UpdateAgentModel$ || (exports.UpdateAgentModel$ = UpdateAgentModel$ = {}));
|
|
1365
|
+
function updateAgentModelToJSON(updateAgentModel) {
|
|
1366
|
+
return JSON.stringify(exports.UpdateAgentModel$outboundSchema.parse(updateAgentModel));
|
|
1367
|
+
}
|
|
1368
|
+
function updateAgentModelFromJSON(jsonString) {
|
|
1369
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentModel$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentModel' from JSON`);
|
|
1370
|
+
}
|
|
1371
|
+
/** @internal */
|
|
1372
|
+
exports.UpdateAgentTeamOfAgents$inboundSchema = z.object({
|
|
1373
|
+
key: z.string(),
|
|
1374
|
+
role: z.string().optional(),
|
|
1375
|
+
});
|
|
1376
|
+
/** @internal */
|
|
1377
|
+
exports.UpdateAgentTeamOfAgents$outboundSchema = z.object({
|
|
1378
|
+
key: z.string(),
|
|
1379
|
+
role: z.string().optional(),
|
|
1380
|
+
});
|
|
1381
|
+
/**
|
|
1382
|
+
* @internal
|
|
1383
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1384
|
+
*/
|
|
1385
|
+
var UpdateAgentTeamOfAgents$;
|
|
1386
|
+
(function (UpdateAgentTeamOfAgents$) {
|
|
1387
|
+
/** @deprecated use `UpdateAgentTeamOfAgents$inboundSchema` instead. */
|
|
1388
|
+
UpdateAgentTeamOfAgents$.inboundSchema = exports.UpdateAgentTeamOfAgents$inboundSchema;
|
|
1389
|
+
/** @deprecated use `UpdateAgentTeamOfAgents$outboundSchema` instead. */
|
|
1390
|
+
UpdateAgentTeamOfAgents$.outboundSchema = exports.UpdateAgentTeamOfAgents$outboundSchema;
|
|
1391
|
+
})(UpdateAgentTeamOfAgents$ || (exports.UpdateAgentTeamOfAgents$ = UpdateAgentTeamOfAgents$ = {}));
|
|
1392
|
+
function updateAgentTeamOfAgentsToJSON(updateAgentTeamOfAgents) {
|
|
1393
|
+
return JSON.stringify(exports.UpdateAgentTeamOfAgents$outboundSchema.parse(updateAgentTeamOfAgents));
|
|
1394
|
+
}
|
|
1395
|
+
function updateAgentTeamOfAgentsFromJSON(jsonString) {
|
|
1396
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentTeamOfAgents$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentTeamOfAgents' from JSON`);
|
|
1397
|
+
}
|
|
1398
|
+
/** @internal */
|
|
1399
|
+
exports.UpdateAgentMetrics$inboundSchema = z.object({
|
|
1400
|
+
total_cost: z.number().default(0),
|
|
1401
|
+
}).transform((v) => {
|
|
1402
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1403
|
+
"total_cost": "totalCost",
|
|
1404
|
+
});
|
|
1405
|
+
});
|
|
1406
|
+
/** @internal */
|
|
1407
|
+
exports.UpdateAgentMetrics$outboundSchema = z.object({
|
|
1408
|
+
totalCost: z.number().default(0),
|
|
1409
|
+
}).transform((v) => {
|
|
1410
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1411
|
+
totalCost: "total_cost",
|
|
1412
|
+
});
|
|
1413
|
+
});
|
|
1414
|
+
/**
|
|
1415
|
+
* @internal
|
|
1416
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1417
|
+
*/
|
|
1418
|
+
var UpdateAgentMetrics$;
|
|
1419
|
+
(function (UpdateAgentMetrics$) {
|
|
1420
|
+
/** @deprecated use `UpdateAgentMetrics$inboundSchema` instead. */
|
|
1421
|
+
UpdateAgentMetrics$.inboundSchema = exports.UpdateAgentMetrics$inboundSchema;
|
|
1422
|
+
/** @deprecated use `UpdateAgentMetrics$outboundSchema` instead. */
|
|
1423
|
+
UpdateAgentMetrics$.outboundSchema = exports.UpdateAgentMetrics$outboundSchema;
|
|
1424
|
+
})(UpdateAgentMetrics$ || (exports.UpdateAgentMetrics$ = UpdateAgentMetrics$ = {}));
|
|
1425
|
+
function updateAgentMetricsToJSON(updateAgentMetrics) {
|
|
1426
|
+
return JSON.stringify(exports.UpdateAgentMetrics$outboundSchema.parse(updateAgentMetrics));
|
|
1427
|
+
}
|
|
1428
|
+
function updateAgentMetricsFromJSON(jsonString) {
|
|
1429
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentMetrics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentMetrics' from JSON`);
|
|
1430
|
+
}
|
|
1431
|
+
/** @internal */
|
|
1432
|
+
exports.UpdateAgentAgentsKnowledgeBases$inboundSchema = z.object({
|
|
1433
|
+
knowledge_id: z.string(),
|
|
1434
|
+
}).transform((v) => {
|
|
1435
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1436
|
+
"knowledge_id": "knowledgeId",
|
|
1437
|
+
});
|
|
1438
|
+
});
|
|
1439
|
+
/** @internal */
|
|
1440
|
+
exports.UpdateAgentAgentsKnowledgeBases$outboundSchema = z.object({
|
|
1441
|
+
knowledgeId: z.string(),
|
|
1442
|
+
}).transform((v) => {
|
|
1443
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1444
|
+
knowledgeId: "knowledge_id",
|
|
1445
|
+
});
|
|
1446
|
+
});
|
|
1447
|
+
/**
|
|
1448
|
+
* @internal
|
|
1449
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1450
|
+
*/
|
|
1451
|
+
var UpdateAgentAgentsKnowledgeBases$;
|
|
1452
|
+
(function (UpdateAgentAgentsKnowledgeBases$) {
|
|
1453
|
+
/** @deprecated use `UpdateAgentAgentsKnowledgeBases$inboundSchema` instead. */
|
|
1454
|
+
UpdateAgentAgentsKnowledgeBases$.inboundSchema = exports.UpdateAgentAgentsKnowledgeBases$inboundSchema;
|
|
1455
|
+
/** @deprecated use `UpdateAgentAgentsKnowledgeBases$outboundSchema` instead. */
|
|
1456
|
+
UpdateAgentAgentsKnowledgeBases$.outboundSchema = exports.UpdateAgentAgentsKnowledgeBases$outboundSchema;
|
|
1457
|
+
})(UpdateAgentAgentsKnowledgeBases$ || (exports.UpdateAgentAgentsKnowledgeBases$ = UpdateAgentAgentsKnowledgeBases$ = {}));
|
|
1458
|
+
function updateAgentAgentsKnowledgeBasesToJSON(updateAgentAgentsKnowledgeBases) {
|
|
1459
|
+
return JSON.stringify(exports.UpdateAgentAgentsKnowledgeBases$outboundSchema.parse(updateAgentAgentsKnowledgeBases));
|
|
1460
|
+
}
|
|
1461
|
+
function updateAgentAgentsKnowledgeBasesFromJSON(jsonString) {
|
|
1462
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentAgentsKnowledgeBases$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentAgentsKnowledgeBases' from JSON`);
|
|
1463
|
+
}
|
|
1464
|
+
/** @internal */
|
|
1465
|
+
exports.UpdateAgentHiddenPanels$inboundSchema = z.nativeEnum(exports.UpdateAgentHiddenPanels);
|
|
1466
|
+
/** @internal */
|
|
1467
|
+
exports.UpdateAgentHiddenPanels$outboundSchema = exports.UpdateAgentHiddenPanels$inboundSchema;
|
|
1468
|
+
/**
|
|
1469
|
+
* @internal
|
|
1470
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1471
|
+
*/
|
|
1472
|
+
var UpdateAgentHiddenPanels$;
|
|
1473
|
+
(function (UpdateAgentHiddenPanels$) {
|
|
1474
|
+
/** @deprecated use `UpdateAgentHiddenPanels$inboundSchema` instead. */
|
|
1475
|
+
UpdateAgentHiddenPanels$.inboundSchema = exports.UpdateAgentHiddenPanels$inboundSchema;
|
|
1476
|
+
/** @deprecated use `UpdateAgentHiddenPanels$outboundSchema` instead. */
|
|
1477
|
+
UpdateAgentHiddenPanels$.outboundSchema = exports.UpdateAgentHiddenPanels$outboundSchema;
|
|
1478
|
+
})(UpdateAgentHiddenPanels$ || (exports.UpdateAgentHiddenPanels$ = UpdateAgentHiddenPanels$ = {}));
|
|
1479
|
+
/** @internal */
|
|
1480
|
+
exports.UpdateAgentResponseBody$inboundSchema = z.object({
|
|
1481
|
+
_id: z.string(),
|
|
1482
|
+
key: z.string(),
|
|
1483
|
+
workspace_id: z.string(),
|
|
1484
|
+
project_id: z.string(),
|
|
1485
|
+
created_by_id: z.nullable(z.string()).optional(),
|
|
1486
|
+
updated_by_id: z.nullable(z.string()).optional(),
|
|
1487
|
+
created: z.string().optional(),
|
|
1488
|
+
updated: z.string().optional(),
|
|
1489
|
+
role: z.string(),
|
|
1490
|
+
description: z.string(),
|
|
1491
|
+
system_prompt: z.string().optional(),
|
|
1492
|
+
instructions: z.string(),
|
|
1493
|
+
status: exports.UpdateAgentStatus$inboundSchema,
|
|
1494
|
+
settings: z.lazy(() => exports.UpdateAgentAgentsSettings$inboundSchema).optional(),
|
|
1495
|
+
model: z.lazy(() => exports.UpdateAgentModel$inboundSchema),
|
|
1496
|
+
version_hash: z.string().optional(),
|
|
1497
|
+
path: z.string(),
|
|
1498
|
+
memory_stores: z.array(z.string()),
|
|
1499
|
+
team_of_agents: z.array(z.lazy(() => exports.UpdateAgentTeamOfAgents$inboundSchema)),
|
|
1500
|
+
metrics: z.lazy(() => exports.UpdateAgentMetrics$inboundSchema).optional(),
|
|
1501
|
+
variables: z.record(z.any()).optional(),
|
|
1502
|
+
knowledge_bases: z.array(z.lazy(() => exports.UpdateAgentAgentsKnowledgeBases$inboundSchema)).optional(),
|
|
1503
|
+
hidden_panels: z.array(exports.UpdateAgentHiddenPanels$inboundSchema).optional(),
|
|
1504
|
+
}).transform((v) => {
|
|
1505
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1506
|
+
"_id": "id",
|
|
1507
|
+
"workspace_id": "workspaceId",
|
|
1508
|
+
"project_id": "projectId",
|
|
1509
|
+
"created_by_id": "createdById",
|
|
1510
|
+
"updated_by_id": "updatedById",
|
|
1511
|
+
"system_prompt": "systemPrompt",
|
|
1512
|
+
"version_hash": "versionHash",
|
|
1513
|
+
"memory_stores": "memoryStores",
|
|
1514
|
+
"team_of_agents": "teamOfAgents",
|
|
1515
|
+
"knowledge_bases": "knowledgeBases",
|
|
1516
|
+
"hidden_panels": "hiddenPanels",
|
|
1517
|
+
});
|
|
1518
|
+
});
|
|
1519
|
+
/** @internal */
|
|
1520
|
+
exports.UpdateAgentResponseBody$outboundSchema = z.object({
|
|
1521
|
+
id: z.string(),
|
|
1522
|
+
key: z.string(),
|
|
1523
|
+
workspaceId: z.string(),
|
|
1524
|
+
projectId: z.string(),
|
|
1525
|
+
createdById: z.nullable(z.string()).optional(),
|
|
1526
|
+
updatedById: z.nullable(z.string()).optional(),
|
|
1527
|
+
created: z.string().optional(),
|
|
1528
|
+
updated: z.string().optional(),
|
|
1529
|
+
role: z.string(),
|
|
1530
|
+
description: z.string(),
|
|
1531
|
+
systemPrompt: z.string().optional(),
|
|
1532
|
+
instructions: z.string(),
|
|
1533
|
+
status: exports.UpdateAgentStatus$outboundSchema,
|
|
1534
|
+
settings: z.lazy(() => exports.UpdateAgentAgentsSettings$outboundSchema).optional(),
|
|
1535
|
+
model: z.lazy(() => exports.UpdateAgentModel$outboundSchema),
|
|
1536
|
+
versionHash: z.string().optional(),
|
|
1537
|
+
path: z.string(),
|
|
1538
|
+
memoryStores: z.array(z.string()),
|
|
1539
|
+
teamOfAgents: z.array(z.lazy(() => exports.UpdateAgentTeamOfAgents$outboundSchema)),
|
|
1540
|
+
metrics: z.lazy(() => exports.UpdateAgentMetrics$outboundSchema).optional(),
|
|
1541
|
+
variables: z.record(z.any()).optional(),
|
|
1542
|
+
knowledgeBases: z.array(z.lazy(() => exports.UpdateAgentAgentsKnowledgeBases$outboundSchema)).optional(),
|
|
1543
|
+
hiddenPanels: z.array(exports.UpdateAgentHiddenPanels$outboundSchema).optional(),
|
|
1544
|
+
}).transform((v) => {
|
|
1545
|
+
return (0, primitives_js_1.remap)(v, {
|
|
1546
|
+
id: "_id",
|
|
1547
|
+
workspaceId: "workspace_id",
|
|
1548
|
+
projectId: "project_id",
|
|
1549
|
+
createdById: "created_by_id",
|
|
1550
|
+
updatedById: "updated_by_id",
|
|
1551
|
+
systemPrompt: "system_prompt",
|
|
1552
|
+
versionHash: "version_hash",
|
|
1553
|
+
memoryStores: "memory_stores",
|
|
1554
|
+
teamOfAgents: "team_of_agents",
|
|
1555
|
+
knowledgeBases: "knowledge_bases",
|
|
1556
|
+
hiddenPanels: "hidden_panels",
|
|
1557
|
+
});
|
|
1558
|
+
});
|
|
1559
|
+
/**
|
|
1560
|
+
* @internal
|
|
1561
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1562
|
+
*/
|
|
1563
|
+
var UpdateAgentResponseBody$;
|
|
1564
|
+
(function (UpdateAgentResponseBody$) {
|
|
1565
|
+
/** @deprecated use `UpdateAgentResponseBody$inboundSchema` instead. */
|
|
1566
|
+
UpdateAgentResponseBody$.inboundSchema = exports.UpdateAgentResponseBody$inboundSchema;
|
|
1567
|
+
/** @deprecated use `UpdateAgentResponseBody$outboundSchema` instead. */
|
|
1568
|
+
UpdateAgentResponseBody$.outboundSchema = exports.UpdateAgentResponseBody$outboundSchema;
|
|
1569
|
+
})(UpdateAgentResponseBody$ || (exports.UpdateAgentResponseBody$ = UpdateAgentResponseBody$ = {}));
|
|
1570
|
+
function updateAgentResponseBodyToJSON(updateAgentResponseBody) {
|
|
1571
|
+
return JSON.stringify(exports.UpdateAgentResponseBody$outboundSchema.parse(updateAgentResponseBody));
|
|
1572
|
+
}
|
|
1573
|
+
function updateAgentResponseBodyFromJSON(jsonString) {
|
|
1574
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentResponseBody' from JSON`);
|
|
1575
|
+
}
|
|
1576
|
+
//# sourceMappingURL=updateagent.js.map
|