@orq-ai/node 4.1.0-rc.39 → 4.1.0-rc.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +662 -352
- package/bin/mcp-server.js.map +49 -49
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/conversationresponse.js +2 -2
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/operations/createagentrequest.d.ts +370 -42
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +277 -48
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createprompt.d.ts +10 -10
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +13 -13
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/generateconversationname.js +2 -2
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.d.ts +96 -4
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +57 -7
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +96 -4
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +59 -7
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +96 -4
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +65 -11
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +96 -4
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +63 -11
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +370 -42
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +276 -48
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/conversationresponse.ts +2 -2
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/operations/createagentrequest.ts +696 -86
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createprompt.ts +25 -23
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/generateconversationname.ts +2 -2
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +122 -8
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +130 -8
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +126 -10
- package/src/models/operations/streamrunagent.ts +128 -10
- package/src/models/operations/updateagent.ts +698 -86
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -36,12 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
39
|
+
exports.ModelConfigurationFormat$outboundSchema = exports.ModelConfigurationFormat$inboundSchema = exports.ModelConfigurationVoice$outboundSchema = exports.ModelConfigurationVoice$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsModalities = exports.UpdateAgentToolChoiceAgentsResponse2001 = exports.UpdateAgentToolChoiceAgentsResponse200Type = exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort = exports.UpdateAgentFallbackModelConfigurationAgentsFormat = exports.UpdateAgentFallbackModelConfigurationAgentsVoice = exports.UpdateAgentModalities = exports.UpdateAgentToolChoiceAgentsResponse1 = exports.UpdateAgentToolChoiceAgentsResponseType = exports.UpdateAgentReasoningEffort = exports.UpdateAgentFormat = exports.UpdateAgentVoice = exports.UpdateAgentAgentsResponse200ExecuteOn = exports.UpdateAgentAgentsResponseExecuteOn = exports.UpdateAgentAgentsToolApprovalRequired = exports.UpdateAgentStatus = exports.UpdateAgentAgentsExecuteOn = exports.UpdateAgentExecuteOn = 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.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type = exports.UpdateAgentToolApprovalRequired = exports.UpdateAgentFallbackModelConfigurationModalities = exports.UpdateAgentToolChoiceAgents1 = exports.UpdateAgentToolChoiceAgentsType = exports.UpdateAgentFallbackModelConfigurationReasoningEffort = exports.UpdateAgentFallbackModelConfigurationFormat = exports.UpdateAgentFallbackModelConfigurationVoice = exports.ModelConfigurationModalities = exports.UpdateAgentToolChoice1 = exports.UpdateAgentToolChoiceType = exports.ModelConfigurationReasoningEffort = exports.ModelConfigurationFormat = exports.ModelConfigurationVoice = void 0;
|
|
40
|
+
exports.UpdateAgentResponseFormatAgentsRequestJSONSchema$outboundSchema = exports.UpdateAgentResponseFormatAgentsRequestJSONSchema$inboundSchema = exports.UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outboundSchema = exports.UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAudio$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAudio$inboundSchema = exports.UpdateAgentFallbackModelConfigurationFormat$outboundSchema = exports.UpdateAgentFallbackModelConfigurationFormat$inboundSchema = exports.UpdateAgentFallbackModelConfigurationVoice$outboundSchema = exports.UpdateAgentFallbackModelConfigurationVoice$inboundSchema = exports.UpdateAgentModelConfiguration$outboundSchema = exports.UpdateAgentModelConfiguration$inboundSchema = exports.UpdateAgentModelConfiguration2$outboundSchema = exports.UpdateAgentModelConfiguration2$inboundSchema = exports.ModelConfigurationRetry$outboundSchema = exports.ModelConfigurationRetry$inboundSchema = exports.ModelConfigurationParameters$outboundSchema = exports.ModelConfigurationParameters$inboundSchema = exports.ModelConfigurationModalities$outboundSchema = exports.ModelConfigurationModalities$inboundSchema = exports.ModelConfigurationToolChoice$outboundSchema = exports.ModelConfigurationToolChoice$inboundSchema = exports.UpdateAgentToolChoice1$outboundSchema = exports.UpdateAgentToolChoice1$inboundSchema = exports.UpdateAgentToolChoice2$outboundSchema = exports.UpdateAgentToolChoice2$inboundSchema = exports.UpdateAgentToolChoiceFunction$outboundSchema = exports.UpdateAgentToolChoiceFunction$inboundSchema = exports.UpdateAgentToolChoiceType$outboundSchema = exports.UpdateAgentToolChoiceType$inboundSchema = exports.ModelConfigurationThinking$outboundSchema = exports.ModelConfigurationThinking$inboundSchema = exports.ModelConfigurationStreamOptions$outboundSchema = exports.ModelConfigurationStreamOptions$inboundSchema = exports.ModelConfigurationStop$outboundSchema = exports.ModelConfigurationStop$inboundSchema = exports.ModelConfigurationReasoningEffort$outboundSchema = exports.ModelConfigurationReasoningEffort$inboundSchema = exports.ModelConfigurationResponseFormat$outboundSchema = exports.ModelConfigurationResponseFormat$inboundSchema = exports.UpdateAgentResponseFormatText$outboundSchema = exports.UpdateAgentResponseFormatText$inboundSchema = exports.UpdateAgentResponseFormatJSONObject$outboundSchema = exports.UpdateAgentResponseFormatJSONObject$inboundSchema = exports.UpdateAgentResponseFormatJSONSchema$outboundSchema = exports.UpdateAgentResponseFormatJSONSchema$inboundSchema = exports.UpdateAgentResponseFormatAgentsJsonSchema$outboundSchema = exports.UpdateAgentResponseFormatAgentsJsonSchema$inboundSchema = exports.UpdateAgentModelConfigurationAudio$outboundSchema = exports.UpdateAgentModelConfigurationAudio$inboundSchema = void 0;
|
|
41
|
+
exports.AgentToolInputCRUDHTTPTool$outboundSchema = exports.AgentToolInputCRUDHTTPTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema = exports.AgentToolInputCRUDCodeExecutionTool$outboundSchema = exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema = exports.AgentToolInputCRUDFunctionTool$outboundSchema = exports.AgentToolInputCRUDFunctionTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema = exports.AgentToolInputCRUDMCPTool$outboundSchema = exports.AgentToolInputCRUDMCPTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema = exports.UpdateAgentToolApprovalRequired$outboundSchema = exports.UpdateAgentToolApprovalRequired$inboundSchema = exports.UpdateAgentFallbackModelConfiguration$outboundSchema = exports.UpdateAgentFallbackModelConfiguration$inboundSchema = exports.UpdateAgentFallbackModelConfiguration2$outboundSchema = exports.UpdateAgentFallbackModelConfiguration2$inboundSchema = exports.UpdateAgentFallbackModelConfigurationParameters$outboundSchema = exports.UpdateAgentFallbackModelConfigurationParameters$inboundSchema = exports.UpdateAgentFallbackModelConfigurationModalities$outboundSchema = exports.UpdateAgentFallbackModelConfigurationModalities$inboundSchema = exports.UpdateAgentFallbackModelConfigurationToolChoice$outboundSchema = exports.UpdateAgentFallbackModelConfigurationToolChoice$inboundSchema = exports.UpdateAgentToolChoiceAgents1$outboundSchema = exports.UpdateAgentToolChoiceAgents1$inboundSchema = exports.UpdateAgentToolChoiceAgents2$outboundSchema = exports.UpdateAgentToolChoiceAgents2$inboundSchema = exports.UpdateAgentToolChoiceAgentsFunction$outboundSchema = exports.UpdateAgentToolChoiceAgentsFunction$inboundSchema = exports.UpdateAgentToolChoiceAgentsType$outboundSchema = exports.UpdateAgentToolChoiceAgentsType$inboundSchema = exports.UpdateAgentFallbackModelConfigurationThinking$outboundSchema = exports.UpdateAgentFallbackModelConfigurationThinking$inboundSchema = exports.UpdateAgentFallbackModelConfigurationStreamOptions$outboundSchema = exports.UpdateAgentFallbackModelConfigurationStreamOptions$inboundSchema = exports.UpdateAgentFallbackModelConfigurationStop$outboundSchema = exports.UpdateAgentFallbackModelConfigurationStop$inboundSchema = exports.UpdateAgentFallbackModelConfigurationReasoningEffort$outboundSchema = exports.UpdateAgentFallbackModelConfigurationReasoningEffort$inboundSchema = exports.UpdateAgentFallbackModelConfigurationResponseFormat$outboundSchema = exports.UpdateAgentFallbackModelConfigurationResponseFormat$inboundSchema = exports.UpdateAgentResponseFormatAgentsText$outboundSchema = exports.UpdateAgentResponseFormatAgentsText$inboundSchema = exports.UpdateAgentResponseFormatAgentsJSONObject$outboundSchema = exports.UpdateAgentResponseFormatAgentsJSONObject$inboundSchema = void 0;
|
|
42
|
+
exports.UpdateAgentEvaluators$outboundSchema = exports.UpdateAgentEvaluators$inboundSchema = exports.UpdateAgentExecuteOn$outboundSchema = exports.UpdateAgentExecuteOn$inboundSchema = exports.UpdateAgentAgentToolInputCRUD$outboundSchema = exports.UpdateAgentAgentToolInputCRUD$inboundSchema = exports.AgentToolInputCRUDGoogleSearchTool$outboundSchema = exports.AgentToolInputCRUDGoogleSearchTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDType$inboundSchema = exports.AgentToolInputCRUDWebScraperTool$outboundSchema = exports.AgentToolInputCRUDWebScraperTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema = exports.AgentToolInputCRUDCallSubAgentTool$outboundSchema = exports.AgentToolInputCRUDCallSubAgentTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema = exports.AgentToolInputCRUDRetrieveAgentsTool$outboundSchema = exports.AgentToolInputCRUDRetrieveAgentsTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema = exports.AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema = exports.AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema = exports.AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema = exports.AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema = exports.AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema = exports.AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema = exports.AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema = exports.AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema = exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema = exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema = exports.AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema = exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema = exports.AgentToolInputCRUDCurrentDateTool$outboundSchema = exports.AgentToolInputCRUDCurrentDateTool$inboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema = void 0;
|
|
43
|
+
exports.UpdateAgentReasoningEffort$outboundSchema = exports.UpdateAgentReasoningEffort$inboundSchema = exports.UpdateAgentResponseFormat$outboundSchema = exports.UpdateAgentResponseFormat$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponseText$outboundSchema = exports.UpdateAgentResponseFormatAgentsResponseText$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponseJSONObject$outboundSchema = exports.UpdateAgentResponseFormatAgentsResponseJSONObject$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200JSONSchema$outboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200JSONSchema$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponseJsonSchema$outboundSchema = exports.UpdateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema = exports.UpdateAgentAudio$outboundSchema = exports.UpdateAgentAudio$inboundSchema = exports.UpdateAgentFormat$outboundSchema = exports.UpdateAgentFormat$inboundSchema = exports.UpdateAgentVoice$outboundSchema = exports.UpdateAgentVoice$inboundSchema = exports.UpdateAgentAgentsSettings$outboundSchema = exports.UpdateAgentAgentsSettings$inboundSchema = exports.UpdateAgentAgentsGuardrails$outboundSchema = exports.UpdateAgentAgentsGuardrails$inboundSchema = exports.UpdateAgentAgentsResponse200ExecuteOn$outboundSchema = exports.UpdateAgentAgentsResponse200ExecuteOn$inboundSchema = exports.UpdateAgentAgentsEvaluators$outboundSchema = exports.UpdateAgentAgentsEvaluators$inboundSchema = exports.UpdateAgentAgentsResponseExecuteOn$outboundSchema = exports.UpdateAgentAgentsResponseExecuteOn$inboundSchema = exports.UpdateAgentTools$outboundSchema = exports.UpdateAgentTools$inboundSchema = exports.UpdateAgentConditions$outboundSchema = exports.UpdateAgentConditions$inboundSchema = exports.UpdateAgentAgentsToolApprovalRequired$outboundSchema = exports.UpdateAgentAgentsToolApprovalRequired$inboundSchema = exports.UpdateAgentStatus$outboundSchema = exports.UpdateAgentStatus$inboundSchema = exports.UpdateAgentRequest$outboundSchema = exports.UpdateAgentRequest$inboundSchema = exports.UpdateAgentUpdateAgentRequest$outboundSchema = exports.UpdateAgentUpdateAgentRequest$inboundSchema = exports.UpdateAgentTeamOfAgents$outboundSchema = exports.UpdateAgentTeamOfAgents$inboundSchema = exports.UpdateAgentKnowledgeBases$outboundSchema = exports.UpdateAgentKnowledgeBases$inboundSchema = exports.UpdateAgentSettings$outboundSchema = exports.UpdateAgentSettings$inboundSchema = exports.UpdateAgentGuardrails$outboundSchema = exports.UpdateAgentGuardrails$inboundSchema = exports.UpdateAgentAgentsExecuteOn$outboundSchema = exports.UpdateAgentAgentsExecuteOn$inboundSchema = void 0;
|
|
44
|
+
exports.UpdateAgentToolChoiceAgentsResponse200Function$outboundSchema = exports.UpdateAgentToolChoiceAgentsResponse200Function$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponse200Type$outboundSchema = exports.UpdateAgentToolChoiceAgentsResponse200Type$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsThinking$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsThinking$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsStreamOptions$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsStreamOptions$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsStop$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsStop$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsResponseFormat$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsResponseFormat$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200Text$outboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200Text$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200JSONObject$outboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200JSONObject$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchema$outboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchema$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema$outboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsAudio$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsAudio$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsFormat$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsFormat$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsVoice$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsVoice$inboundSchema = exports.UpdateAgentRetry$outboundSchema = exports.UpdateAgentRetry$inboundSchema = exports.UpdateAgentParameters$outboundSchema = exports.UpdateAgentParameters$inboundSchema = exports.UpdateAgentModalities$outboundSchema = exports.UpdateAgentModalities$inboundSchema = exports.UpdateAgentToolChoice$outboundSchema = exports.UpdateAgentToolChoice$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponse1$outboundSchema = exports.UpdateAgentToolChoiceAgentsResponse1$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponse2$outboundSchema = exports.UpdateAgentToolChoiceAgentsResponse2$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponseFunction$outboundSchema = exports.UpdateAgentToolChoiceAgentsResponseFunction$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponseType$outboundSchema = exports.UpdateAgentToolChoiceAgentsResponseType$inboundSchema = exports.UpdateAgentThinking$outboundSchema = exports.UpdateAgentThinking$inboundSchema = exports.UpdateAgentStreamOptions$outboundSchema = exports.UpdateAgentStreamOptions$inboundSchema = exports.UpdateAgentStop$outboundSchema = exports.UpdateAgentStop$inboundSchema = void 0;
|
|
45
|
+
exports.UpdateAgentResponseBody$outboundSchema = exports.UpdateAgentResponseBody$inboundSchema = exports.UpdateAgentAgentsKnowledgeBases$outboundSchema = exports.UpdateAgentAgentsKnowledgeBases$inboundSchema = exports.UpdateAgentMetrics$outboundSchema = exports.UpdateAgentMetrics$inboundSchema = exports.UpdateAgentAgentsTeamOfAgents$outboundSchema = exports.UpdateAgentAgentsTeamOfAgents$inboundSchema = exports.UpdateAgentModel$outboundSchema = exports.UpdateAgentModel$inboundSchema = exports.UpdateAgentAgentsFallbackModelConfiguration$outboundSchema = exports.UpdateAgentAgentsFallbackModelConfiguration$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgents2$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgents2$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsParameters$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsModalities$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsModalities$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsToolChoice$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsToolChoice$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponse2001$outboundSchema = exports.UpdateAgentToolChoiceAgentsResponse2001$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponse2002$outboundSchema = exports.UpdateAgentToolChoiceAgentsResponse2002$inboundSchema = void 0;
|
|
45
46
|
exports.updateAgentModelConfigurationAudioToJSON = updateAgentModelConfigurationAudioToJSON;
|
|
46
47
|
exports.updateAgentModelConfigurationAudioFromJSON = updateAgentModelConfigurationAudioFromJSON;
|
|
47
48
|
exports.updateAgentResponseFormatAgentsJsonSchemaToJSON = updateAgentResponseFormatAgentsJsonSchemaToJSON;
|
|
@@ -253,6 +254,26 @@ exports.ModelConfigurationFormat = {
|
|
|
253
254
|
Opus: "opus",
|
|
254
255
|
Pcm16: "pcm16",
|
|
255
256
|
};
|
|
257
|
+
/**
|
|
258
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
259
|
+
*
|
|
260
|
+
* @remarks
|
|
261
|
+
*
|
|
262
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
263
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
264
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
265
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
266
|
+
*
|
|
267
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
268
|
+
*/
|
|
269
|
+
exports.ModelConfigurationReasoningEffort = {
|
|
270
|
+
None: "none",
|
|
271
|
+
Minimal: "minimal",
|
|
272
|
+
Low: "low",
|
|
273
|
+
Medium: "medium",
|
|
274
|
+
High: "high",
|
|
275
|
+
Xhigh: "xhigh",
|
|
276
|
+
};
|
|
256
277
|
/**
|
|
257
278
|
* The type of the tool. Currently, only function is supported.
|
|
258
279
|
*/
|
|
@@ -289,6 +310,26 @@ exports.UpdateAgentFallbackModelConfigurationFormat = {
|
|
|
289
310
|
Opus: "opus",
|
|
290
311
|
Pcm16: "pcm16",
|
|
291
312
|
};
|
|
313
|
+
/**
|
|
314
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
315
|
+
*
|
|
316
|
+
* @remarks
|
|
317
|
+
*
|
|
318
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
319
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
320
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
321
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
322
|
+
*
|
|
323
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
324
|
+
*/
|
|
325
|
+
exports.UpdateAgentFallbackModelConfigurationReasoningEffort = {
|
|
326
|
+
None: "none",
|
|
327
|
+
Minimal: "minimal",
|
|
328
|
+
Low: "low",
|
|
329
|
+
Medium: "medium",
|
|
330
|
+
High: "high",
|
|
331
|
+
Xhigh: "xhigh",
|
|
332
|
+
};
|
|
292
333
|
/**
|
|
293
334
|
* The type of the tool. Currently, only function is supported.
|
|
294
335
|
*/
|
|
@@ -312,6 +353,63 @@ exports.UpdateAgentToolApprovalRequired = {
|
|
|
312
353
|
RespectTool: "respect_tool",
|
|
313
354
|
None: "none",
|
|
314
355
|
};
|
|
356
|
+
/**
|
|
357
|
+
* MCP tool type
|
|
358
|
+
*/
|
|
359
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type = {
|
|
360
|
+
Mcp: "mcp",
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Function tool type
|
|
364
|
+
*/
|
|
365
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type = {
|
|
366
|
+
Function: "function",
|
|
367
|
+
};
|
|
368
|
+
/**
|
|
369
|
+
* Code execution tool type
|
|
370
|
+
*/
|
|
371
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type = {
|
|
372
|
+
Code: "code",
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* HTTP tool type
|
|
376
|
+
*/
|
|
377
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type = {
|
|
378
|
+
Http: "http",
|
|
379
|
+
};
|
|
380
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type = {
|
|
381
|
+
CurrentDate: "current_date",
|
|
382
|
+
};
|
|
383
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type = {
|
|
384
|
+
QueryKnowledgeBase: "query_knowledge_base",
|
|
385
|
+
};
|
|
386
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type = {
|
|
387
|
+
RetrieveKnowledgeBases: "retrieve_knowledge_bases",
|
|
388
|
+
};
|
|
389
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type = {
|
|
390
|
+
DeleteMemoryDocument: "delete_memory_document",
|
|
391
|
+
};
|
|
392
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type = {
|
|
393
|
+
RetrieveMemoryStores: "retrieve_memory_stores",
|
|
394
|
+
};
|
|
395
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType = {
|
|
396
|
+
WriteMemoryStore: "write_memory_store",
|
|
397
|
+
};
|
|
398
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType = {
|
|
399
|
+
QueryMemoryStore: "query_memory_store",
|
|
400
|
+
};
|
|
401
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType = {
|
|
402
|
+
RetrieveAgents: "retrieve_agents",
|
|
403
|
+
};
|
|
404
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestType = {
|
|
405
|
+
CallSubAgent: "call_sub_agent",
|
|
406
|
+
};
|
|
407
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsType = {
|
|
408
|
+
WebScraper: "web_scraper",
|
|
409
|
+
};
|
|
410
|
+
exports.UpdateAgentAgentToolInputCRUDType = {
|
|
411
|
+
GoogleSearch: "google_search",
|
|
412
|
+
};
|
|
315
413
|
/**
|
|
316
414
|
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
317
415
|
*/
|
|
@@ -378,6 +476,26 @@ exports.UpdateAgentFormat = {
|
|
|
378
476
|
Opus: "opus",
|
|
379
477
|
Pcm16: "pcm16",
|
|
380
478
|
};
|
|
479
|
+
/**
|
|
480
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
481
|
+
*
|
|
482
|
+
* @remarks
|
|
483
|
+
*
|
|
484
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
485
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
486
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
487
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
488
|
+
*
|
|
489
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
490
|
+
*/
|
|
491
|
+
exports.UpdateAgentReasoningEffort = {
|
|
492
|
+
None: "none",
|
|
493
|
+
Minimal: "minimal",
|
|
494
|
+
Low: "low",
|
|
495
|
+
Medium: "medium",
|
|
496
|
+
High: "high",
|
|
497
|
+
Xhigh: "xhigh",
|
|
498
|
+
};
|
|
381
499
|
/**
|
|
382
500
|
* The type of the tool. Currently, only function is supported.
|
|
383
501
|
*/
|
|
@@ -414,6 +532,26 @@ exports.UpdateAgentFallbackModelConfigurationAgentsFormat = {
|
|
|
414
532
|
Opus: "opus",
|
|
415
533
|
Pcm16: "pcm16",
|
|
416
534
|
};
|
|
535
|
+
/**
|
|
536
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
537
|
+
*
|
|
538
|
+
* @remarks
|
|
539
|
+
*
|
|
540
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
541
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
542
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
543
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
544
|
+
*
|
|
545
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
546
|
+
*/
|
|
547
|
+
exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort = {
|
|
548
|
+
None: "none",
|
|
549
|
+
Minimal: "minimal",
|
|
550
|
+
Low: "low",
|
|
551
|
+
Medium: "medium",
|
|
552
|
+
High: "high",
|
|
553
|
+
Xhigh: "xhigh",
|
|
554
|
+
};
|
|
417
555
|
/**
|
|
418
556
|
* The type of the tool. Currently, only function is supported.
|
|
419
557
|
*/
|
|
@@ -544,6 +682,10 @@ function modelConfigurationResponseFormatFromJSON(jsonString) {
|
|
|
544
682
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ModelConfigurationResponseFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ModelConfigurationResponseFormat' from JSON`);
|
|
545
683
|
}
|
|
546
684
|
/** @internal */
|
|
685
|
+
exports.ModelConfigurationReasoningEffort$inboundSchema = z.nativeEnum(exports.ModelConfigurationReasoningEffort);
|
|
686
|
+
/** @internal */
|
|
687
|
+
exports.ModelConfigurationReasoningEffort$outboundSchema = exports.ModelConfigurationReasoningEffort$inboundSchema;
|
|
688
|
+
/** @internal */
|
|
547
689
|
exports.ModelConfigurationStop$inboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
548
690
|
/** @internal */
|
|
549
691
|
exports.ModelConfigurationStop$outboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
@@ -664,7 +806,7 @@ exports.ModelConfigurationParameters$inboundSchema = z.object({
|
|
|
664
806
|
z.lazy(() => exports.UpdateAgentResponseFormatJSONObject$inboundSchema),
|
|
665
807
|
z.lazy(() => exports.UpdateAgentResponseFormatJSONSchema$inboundSchema),
|
|
666
808
|
]).optional(),
|
|
667
|
-
reasoning_effort:
|
|
809
|
+
reasoning_effort: exports.ModelConfigurationReasoningEffort$inboundSchema.optional(),
|
|
668
810
|
verbosity: z.string().optional(),
|
|
669
811
|
seed: z.nullable(z.number()).optional(),
|
|
670
812
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -714,7 +856,7 @@ exports.ModelConfigurationParameters$outboundSchema = z.object({
|
|
|
714
856
|
z.lazy(() => exports.UpdateAgentResponseFormatJSONObject$outboundSchema),
|
|
715
857
|
z.lazy(() => exports.UpdateAgentResponseFormatJSONSchema$outboundSchema),
|
|
716
858
|
]).optional(),
|
|
717
|
-
reasoningEffort:
|
|
859
|
+
reasoningEffort: exports.ModelConfigurationReasoningEffort$outboundSchema.optional(),
|
|
718
860
|
verbosity: z.string().optional(),
|
|
719
861
|
seed: z.nullable(z.number()).optional(),
|
|
720
862
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -934,6 +1076,10 @@ function updateAgentFallbackModelConfigurationResponseFormatFromJSON(jsonString)
|
|
|
934
1076
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentFallbackModelConfigurationResponseFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbackModelConfigurationResponseFormat' from JSON`);
|
|
935
1077
|
}
|
|
936
1078
|
/** @internal */
|
|
1079
|
+
exports.UpdateAgentFallbackModelConfigurationReasoningEffort$inboundSchema = z.nativeEnum(exports.UpdateAgentFallbackModelConfigurationReasoningEffort);
|
|
1080
|
+
/** @internal */
|
|
1081
|
+
exports.UpdateAgentFallbackModelConfigurationReasoningEffort$outboundSchema = exports.UpdateAgentFallbackModelConfigurationReasoningEffort$inboundSchema;
|
|
1082
|
+
/** @internal */
|
|
937
1083
|
exports.UpdateAgentFallbackModelConfigurationStop$inboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
938
1084
|
/** @internal */
|
|
939
1085
|
exports.UpdateAgentFallbackModelConfigurationStop$outboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
@@ -1055,7 +1201,8 @@ exports.UpdateAgentFallbackModelConfigurationParameters$inboundSchema = z.object
|
|
|
1055
1201
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsJSONObject$inboundSchema),
|
|
1056
1202
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsRequestJSONSchema$inboundSchema),
|
|
1057
1203
|
]).optional(),
|
|
1058
|
-
reasoning_effort:
|
|
1204
|
+
reasoning_effort: exports.UpdateAgentFallbackModelConfigurationReasoningEffort$inboundSchema
|
|
1205
|
+
.optional(),
|
|
1059
1206
|
verbosity: z.string().optional(),
|
|
1060
1207
|
seed: z.nullable(z.number()).optional(),
|
|
1061
1208
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -1104,7 +1251,8 @@ exports.UpdateAgentFallbackModelConfigurationParameters$outboundSchema = z.objec
|
|
|
1104
1251
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsJSONObject$outboundSchema),
|
|
1105
1252
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsRequestJSONSchema$outboundSchema),
|
|
1106
1253
|
]).optional(),
|
|
1107
|
-
reasoningEffort:
|
|
1254
|
+
reasoningEffort: exports.UpdateAgentFallbackModelConfigurationReasoningEffort$outboundSchema
|
|
1255
|
+
.optional(),
|
|
1108
1256
|
verbosity: z.string().optional(),
|
|
1109
1257
|
seed: z.nullable(z.number()).optional(),
|
|
1110
1258
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -1181,8 +1329,13 @@ exports.UpdateAgentToolApprovalRequired$inboundSchema = z.nativeEnum(exports.Upd
|
|
|
1181
1329
|
/** @internal */
|
|
1182
1330
|
exports.UpdateAgentToolApprovalRequired$outboundSchema = exports.UpdateAgentToolApprovalRequired$inboundSchema;
|
|
1183
1331
|
/** @internal */
|
|
1332
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type);
|
|
1333
|
+
/** @internal */
|
|
1334
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema;
|
|
1335
|
+
/** @internal */
|
|
1184
1336
|
exports.AgentToolInputCRUDMCPTool$inboundSchema = z.object({
|
|
1185
|
-
type:
|
|
1337
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$inboundSchema
|
|
1338
|
+
.default("mcp"),
|
|
1186
1339
|
key: z.string().optional(),
|
|
1187
1340
|
id: z.string().optional(),
|
|
1188
1341
|
tool_id: z.string(),
|
|
@@ -1195,7 +1348,8 @@ exports.AgentToolInputCRUDMCPTool$inboundSchema = z.object({
|
|
|
1195
1348
|
});
|
|
1196
1349
|
/** @internal */
|
|
1197
1350
|
exports.AgentToolInputCRUDMCPTool$outboundSchema = z.object({
|
|
1198
|
-
type:
|
|
1351
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema
|
|
1352
|
+
.default("mcp"),
|
|
1199
1353
|
key: z.string().optional(),
|
|
1200
1354
|
id: z.string().optional(),
|
|
1201
1355
|
toolId: z.string(),
|
|
@@ -1213,8 +1367,13 @@ function agentToolInputCRUDMCPToolFromJSON(jsonString) {
|
|
|
1213
1367
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDMCPTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDMCPTool' from JSON`);
|
|
1214
1368
|
}
|
|
1215
1369
|
/** @internal */
|
|
1370
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type);
|
|
1371
|
+
/** @internal */
|
|
1372
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema;
|
|
1373
|
+
/** @internal */
|
|
1216
1374
|
exports.AgentToolInputCRUDFunctionTool$inboundSchema = z.object({
|
|
1217
|
-
type:
|
|
1375
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$inboundSchema
|
|
1376
|
+
.default("function"),
|
|
1218
1377
|
key: z.string().optional(),
|
|
1219
1378
|
id: z.string().optional(),
|
|
1220
1379
|
requires_approval: z.boolean().default(false),
|
|
@@ -1225,7 +1384,8 @@ exports.AgentToolInputCRUDFunctionTool$inboundSchema = z.object({
|
|
|
1225
1384
|
});
|
|
1226
1385
|
/** @internal */
|
|
1227
1386
|
exports.AgentToolInputCRUDFunctionTool$outboundSchema = z.object({
|
|
1228
|
-
type:
|
|
1387
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema
|
|
1388
|
+
.default("function"),
|
|
1229
1389
|
key: z.string().optional(),
|
|
1230
1390
|
id: z.string().optional(),
|
|
1231
1391
|
requiresApproval: z.boolean().default(false),
|
|
@@ -1241,8 +1401,13 @@ function agentToolInputCRUDFunctionToolFromJSON(jsonString) {
|
|
|
1241
1401
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDFunctionTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDFunctionTool' from JSON`);
|
|
1242
1402
|
}
|
|
1243
1403
|
/** @internal */
|
|
1404
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type);
|
|
1405
|
+
/** @internal */
|
|
1406
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema;
|
|
1407
|
+
/** @internal */
|
|
1244
1408
|
exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema = z.object({
|
|
1245
|
-
type:
|
|
1409
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$inboundSchema
|
|
1410
|
+
.default("code"),
|
|
1246
1411
|
key: z.string().optional(),
|
|
1247
1412
|
id: z.string().optional(),
|
|
1248
1413
|
requires_approval: z.boolean().default(false),
|
|
@@ -1253,7 +1418,8 @@ exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema = z.object({
|
|
|
1253
1418
|
});
|
|
1254
1419
|
/** @internal */
|
|
1255
1420
|
exports.AgentToolInputCRUDCodeExecutionTool$outboundSchema = z.object({
|
|
1256
|
-
type:
|
|
1421
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema
|
|
1422
|
+
.default("code"),
|
|
1257
1423
|
key: z.string().optional(),
|
|
1258
1424
|
id: z.string().optional(),
|
|
1259
1425
|
requiresApproval: z.boolean().default(false),
|
|
@@ -1269,8 +1435,13 @@ function agentToolInputCRUDCodeExecutionToolFromJSON(jsonString) {
|
|
|
1269
1435
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDCodeExecutionTool' from JSON`);
|
|
1270
1436
|
}
|
|
1271
1437
|
/** @internal */
|
|
1438
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type);
|
|
1439
|
+
/** @internal */
|
|
1440
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema;
|
|
1441
|
+
/** @internal */
|
|
1272
1442
|
exports.AgentToolInputCRUDHTTPTool$inboundSchema = z.object({
|
|
1273
|
-
type:
|
|
1443
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$inboundSchema
|
|
1444
|
+
.default("http"),
|
|
1274
1445
|
key: z.string().optional(),
|
|
1275
1446
|
id: z.string().optional(),
|
|
1276
1447
|
requires_approval: z.boolean().default(false),
|
|
@@ -1281,7 +1452,8 @@ exports.AgentToolInputCRUDHTTPTool$inboundSchema = z.object({
|
|
|
1281
1452
|
});
|
|
1282
1453
|
/** @internal */
|
|
1283
1454
|
exports.AgentToolInputCRUDHTTPTool$outboundSchema = z.object({
|
|
1284
|
-
type:
|
|
1455
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema
|
|
1456
|
+
.default("http"),
|
|
1285
1457
|
key: z.string().optional(),
|
|
1286
1458
|
id: z.string().optional(),
|
|
1287
1459
|
requiresApproval: z.boolean().default(false),
|
|
@@ -1297,8 +1469,12 @@ function agentToolInputCRUDHTTPToolFromJSON(jsonString) {
|
|
|
1297
1469
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDHTTPTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDHTTPTool' from JSON`);
|
|
1298
1470
|
}
|
|
1299
1471
|
/** @internal */
|
|
1472
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type);
|
|
1473
|
+
/** @internal */
|
|
1474
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema;
|
|
1475
|
+
/** @internal */
|
|
1300
1476
|
exports.AgentToolInputCRUDCurrentDateTool$inboundSchema = z.object({
|
|
1301
|
-
type:
|
|
1477
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$inboundSchema,
|
|
1302
1478
|
requires_approval: z.boolean().optional(),
|
|
1303
1479
|
}).transform((v) => {
|
|
1304
1480
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1307,7 +1483,7 @@ exports.AgentToolInputCRUDCurrentDateTool$inboundSchema = z.object({
|
|
|
1307
1483
|
});
|
|
1308
1484
|
/** @internal */
|
|
1309
1485
|
exports.AgentToolInputCRUDCurrentDateTool$outboundSchema = z.object({
|
|
1310
|
-
type:
|
|
1486
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema,
|
|
1311
1487
|
requiresApproval: z.boolean().optional(),
|
|
1312
1488
|
}).transform((v) => {
|
|
1313
1489
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1321,8 +1497,12 @@ function agentToolInputCRUDCurrentDateToolFromJSON(jsonString) {
|
|
|
1321
1497
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDCurrentDateTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDCurrentDateTool' from JSON`);
|
|
1322
1498
|
}
|
|
1323
1499
|
/** @internal */
|
|
1500
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type);
|
|
1501
|
+
/** @internal */
|
|
1502
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema;
|
|
1503
|
+
/** @internal */
|
|
1324
1504
|
exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema = z.object({
|
|
1325
|
-
type:
|
|
1505
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$inboundSchema,
|
|
1326
1506
|
requires_approval: z.boolean().optional(),
|
|
1327
1507
|
}).transform((v) => {
|
|
1328
1508
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1331,7 +1511,7 @@ exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema = z.object({
|
|
|
1331
1511
|
});
|
|
1332
1512
|
/** @internal */
|
|
1333
1513
|
exports.AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema = z.object({
|
|
1334
|
-
type:
|
|
1514
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema,
|
|
1335
1515
|
requiresApproval: z.boolean().optional(),
|
|
1336
1516
|
}).transform((v) => {
|
|
1337
1517
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1345,8 +1525,12 @@ function agentToolInputCRUDQueryKnowledgeBaseToolFromJSON(jsonString) {
|
|
|
1345
1525
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDQueryKnowledgeBaseTool' from JSON`);
|
|
1346
1526
|
}
|
|
1347
1527
|
/** @internal */
|
|
1528
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type);
|
|
1529
|
+
/** @internal */
|
|
1530
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema;
|
|
1531
|
+
/** @internal */
|
|
1348
1532
|
exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema = z.object({
|
|
1349
|
-
type:
|
|
1533
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$inboundSchema,
|
|
1350
1534
|
requires_approval: z.boolean().optional(),
|
|
1351
1535
|
}).transform((v) => {
|
|
1352
1536
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1355,7 +1539,7 @@ exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema = z.object({
|
|
|
1355
1539
|
});
|
|
1356
1540
|
/** @internal */
|
|
1357
1541
|
exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema = z.object({
|
|
1358
|
-
type:
|
|
1542
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema,
|
|
1359
1543
|
requiresApproval: z.boolean().optional(),
|
|
1360
1544
|
}).transform((v) => {
|
|
1361
1545
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1369,8 +1553,12 @@ function agentToolInputCRUDRetrieveKnowledgeBasesToolFromJSON(jsonString) {
|
|
|
1369
1553
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDRetrieveKnowledgeBasesTool' from JSON`);
|
|
1370
1554
|
}
|
|
1371
1555
|
/** @internal */
|
|
1556
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type);
|
|
1557
|
+
/** @internal */
|
|
1558
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema;
|
|
1559
|
+
/** @internal */
|
|
1372
1560
|
exports.AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema = z.object({
|
|
1373
|
-
type:
|
|
1561
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$inboundSchema,
|
|
1374
1562
|
requires_approval: z.boolean().optional(),
|
|
1375
1563
|
}).transform((v) => {
|
|
1376
1564
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1379,7 +1567,7 @@ exports.AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema = z.object({
|
|
|
1379
1567
|
});
|
|
1380
1568
|
/** @internal */
|
|
1381
1569
|
exports.AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema = z.object({
|
|
1382
|
-
type:
|
|
1570
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema,
|
|
1383
1571
|
requiresApproval: z.boolean().optional(),
|
|
1384
1572
|
}).transform((v) => {
|
|
1385
1573
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1393,8 +1581,12 @@ function agentToolInputCRUDDeleteMemoryDocumentToolFromJSON(jsonString) {
|
|
|
1393
1581
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDDeleteMemoryDocumentTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDDeleteMemoryDocumentTool' from JSON`);
|
|
1394
1582
|
}
|
|
1395
1583
|
/** @internal */
|
|
1584
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type);
|
|
1585
|
+
/** @internal */
|
|
1586
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema;
|
|
1587
|
+
/** @internal */
|
|
1396
1588
|
exports.AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema = z.object({
|
|
1397
|
-
type:
|
|
1589
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$inboundSchema,
|
|
1398
1590
|
requires_approval: z.boolean().optional(),
|
|
1399
1591
|
}).transform((v) => {
|
|
1400
1592
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1403,7 +1595,7 @@ exports.AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema = z.object({
|
|
|
1403
1595
|
});
|
|
1404
1596
|
/** @internal */
|
|
1405
1597
|
exports.AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema = z.object({
|
|
1406
|
-
type:
|
|
1598
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema,
|
|
1407
1599
|
requiresApproval: z.boolean().optional(),
|
|
1408
1600
|
}).transform((v) => {
|
|
1409
1601
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1417,8 +1609,12 @@ function agentToolInputCRUDRetrieveMemoryStoresToolFromJSON(jsonString) {
|
|
|
1417
1609
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDRetrieveMemoryStoresTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDRetrieveMemoryStoresTool' from JSON`);
|
|
1418
1610
|
}
|
|
1419
1611
|
/** @internal */
|
|
1612
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType);
|
|
1613
|
+
/** @internal */
|
|
1614
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema;
|
|
1615
|
+
/** @internal */
|
|
1420
1616
|
exports.AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema = z.object({
|
|
1421
|
-
type:
|
|
1617
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$inboundSchema,
|
|
1422
1618
|
requires_approval: z.boolean().optional(),
|
|
1423
1619
|
}).transform((v) => {
|
|
1424
1620
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1427,7 +1623,7 @@ exports.AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema = z.object({
|
|
|
1427
1623
|
});
|
|
1428
1624
|
/** @internal */
|
|
1429
1625
|
exports.AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema = z.object({
|
|
1430
|
-
type:
|
|
1626
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema,
|
|
1431
1627
|
requiresApproval: z.boolean().optional(),
|
|
1432
1628
|
}).transform((v) => {
|
|
1433
1629
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1441,8 +1637,12 @@ function agentToolInputCRUDWriteMemoryStoreToolFromJSON(jsonString) {
|
|
|
1441
1637
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDWriteMemoryStoreTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDWriteMemoryStoreTool' from JSON`);
|
|
1442
1638
|
}
|
|
1443
1639
|
/** @internal */
|
|
1640
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType);
|
|
1641
|
+
/** @internal */
|
|
1642
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema;
|
|
1643
|
+
/** @internal */
|
|
1444
1644
|
exports.AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema = z.object({
|
|
1445
|
-
type:
|
|
1645
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$inboundSchema,
|
|
1446
1646
|
requires_approval: z.boolean().optional(),
|
|
1447
1647
|
}).transform((v) => {
|
|
1448
1648
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1451,7 +1651,7 @@ exports.AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema = z.object({
|
|
|
1451
1651
|
});
|
|
1452
1652
|
/** @internal */
|
|
1453
1653
|
exports.AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema = z.object({
|
|
1454
|
-
type:
|
|
1654
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema,
|
|
1455
1655
|
requiresApproval: z.boolean().optional(),
|
|
1456
1656
|
}).transform((v) => {
|
|
1457
1657
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1465,8 +1665,12 @@ function agentToolInputCRUDQueryMemoryStoreToolFromJSON(jsonString) {
|
|
|
1465
1665
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDQueryMemoryStoreTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDQueryMemoryStoreTool' from JSON`);
|
|
1466
1666
|
}
|
|
1467
1667
|
/** @internal */
|
|
1668
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType);
|
|
1669
|
+
/** @internal */
|
|
1670
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema;
|
|
1671
|
+
/** @internal */
|
|
1468
1672
|
exports.AgentToolInputCRUDRetrieveAgentsTool$inboundSchema = z.object({
|
|
1469
|
-
type:
|
|
1673
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$inboundSchema,
|
|
1470
1674
|
requires_approval: z.boolean().optional(),
|
|
1471
1675
|
}).transform((v) => {
|
|
1472
1676
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1475,7 +1679,7 @@ exports.AgentToolInputCRUDRetrieveAgentsTool$inboundSchema = z.object({
|
|
|
1475
1679
|
});
|
|
1476
1680
|
/** @internal */
|
|
1477
1681
|
exports.AgentToolInputCRUDRetrieveAgentsTool$outboundSchema = z.object({
|
|
1478
|
-
type:
|
|
1682
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema,
|
|
1479
1683
|
requiresApproval: z.boolean().optional(),
|
|
1480
1684
|
}).transform((v) => {
|
|
1481
1685
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1489,8 +1693,13 @@ function agentToolInputCRUDRetrieveAgentsToolFromJSON(jsonString) {
|
|
|
1489
1693
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDRetrieveAgentsTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDRetrieveAgentsTool' from JSON`);
|
|
1490
1694
|
}
|
|
1491
1695
|
/** @internal */
|
|
1696
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema = z
|
|
1697
|
+
.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsRequestType);
|
|
1698
|
+
/** @internal */
|
|
1699
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema;
|
|
1700
|
+
/** @internal */
|
|
1492
1701
|
exports.AgentToolInputCRUDCallSubAgentTool$inboundSchema = z.object({
|
|
1493
|
-
type:
|
|
1702
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$inboundSchema,
|
|
1494
1703
|
requires_approval: z.boolean().optional(),
|
|
1495
1704
|
}).transform((v) => {
|
|
1496
1705
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1499,7 +1708,7 @@ exports.AgentToolInputCRUDCallSubAgentTool$inboundSchema = z.object({
|
|
|
1499
1708
|
});
|
|
1500
1709
|
/** @internal */
|
|
1501
1710
|
exports.AgentToolInputCRUDCallSubAgentTool$outboundSchema = z.object({
|
|
1502
|
-
type:
|
|
1711
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema,
|
|
1503
1712
|
requiresApproval: z.boolean().optional(),
|
|
1504
1713
|
}).transform((v) => {
|
|
1505
1714
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1513,8 +1722,13 @@ function agentToolInputCRUDCallSubAgentToolFromJSON(jsonString) {
|
|
|
1513
1722
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDCallSubAgentTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDCallSubAgentTool' from JSON`);
|
|
1514
1723
|
}
|
|
1515
1724
|
/** @internal */
|
|
1725
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema = z
|
|
1726
|
+
.nativeEnum(exports.UpdateAgentAgentToolInputCRUDAgentsType);
|
|
1727
|
+
/** @internal */
|
|
1728
|
+
exports.UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema;
|
|
1729
|
+
/** @internal */
|
|
1516
1730
|
exports.AgentToolInputCRUDWebScraperTool$inboundSchema = z.object({
|
|
1517
|
-
type:
|
|
1731
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsType$inboundSchema,
|
|
1518
1732
|
requires_approval: z.boolean().optional(),
|
|
1519
1733
|
}).transform((v) => {
|
|
1520
1734
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1523,7 +1737,7 @@ exports.AgentToolInputCRUDWebScraperTool$inboundSchema = z.object({
|
|
|
1523
1737
|
});
|
|
1524
1738
|
/** @internal */
|
|
1525
1739
|
exports.AgentToolInputCRUDWebScraperTool$outboundSchema = z.object({
|
|
1526
|
-
type:
|
|
1740
|
+
type: exports.UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema,
|
|
1527
1741
|
requiresApproval: z.boolean().optional(),
|
|
1528
1742
|
}).transform((v) => {
|
|
1529
1743
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1537,8 +1751,12 @@ function agentToolInputCRUDWebScraperToolFromJSON(jsonString) {
|
|
|
1537
1751
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentToolInputCRUDWebScraperTool$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentToolInputCRUDWebScraperTool' from JSON`);
|
|
1538
1752
|
}
|
|
1539
1753
|
/** @internal */
|
|
1754
|
+
exports.UpdateAgentAgentToolInputCRUDType$inboundSchema = z.nativeEnum(exports.UpdateAgentAgentToolInputCRUDType);
|
|
1755
|
+
/** @internal */
|
|
1756
|
+
exports.UpdateAgentAgentToolInputCRUDType$outboundSchema = exports.UpdateAgentAgentToolInputCRUDType$inboundSchema;
|
|
1757
|
+
/** @internal */
|
|
1540
1758
|
exports.AgentToolInputCRUDGoogleSearchTool$inboundSchema = z.object({
|
|
1541
|
-
type:
|
|
1759
|
+
type: exports.UpdateAgentAgentToolInputCRUDType$inboundSchema,
|
|
1542
1760
|
requires_approval: z.boolean().optional(),
|
|
1543
1761
|
}).transform((v) => {
|
|
1544
1762
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1547,7 +1765,7 @@ exports.AgentToolInputCRUDGoogleSearchTool$inboundSchema = z.object({
|
|
|
1547
1765
|
});
|
|
1548
1766
|
/** @internal */
|
|
1549
1767
|
exports.AgentToolInputCRUDGoogleSearchTool$outboundSchema = z.object({
|
|
1550
|
-
type:
|
|
1768
|
+
type: exports.UpdateAgentAgentToolInputCRUDType$outboundSchema,
|
|
1551
1769
|
requiresApproval: z.boolean().optional(),
|
|
1552
1770
|
}).transform((v) => {
|
|
1553
1771
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1573,10 +1791,10 @@ exports.UpdateAgentAgentToolInputCRUD$inboundSchema = z.union([
|
|
|
1573
1791
|
z.lazy(() => exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema),
|
|
1574
1792
|
z.lazy(() => exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema),
|
|
1575
1793
|
z.lazy(() => exports.AgentToolInputCRUDCurrentDateTool$inboundSchema),
|
|
1794
|
+
z.lazy(() => exports.AgentToolInputCRUDMCPTool$inboundSchema),
|
|
1576
1795
|
z.lazy(() => exports.AgentToolInputCRUDHTTPTool$inboundSchema),
|
|
1577
1796
|
z.lazy(() => exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema),
|
|
1578
1797
|
z.lazy(() => exports.AgentToolInputCRUDFunctionTool$inboundSchema),
|
|
1579
|
-
z.lazy(() => exports.AgentToolInputCRUDMCPTool$inboundSchema),
|
|
1580
1798
|
]);
|
|
1581
1799
|
/** @internal */
|
|
1582
1800
|
exports.UpdateAgentAgentToolInputCRUD$outboundSchema = z.union([
|
|
@@ -1591,10 +1809,10 @@ exports.UpdateAgentAgentToolInputCRUD$outboundSchema = z.union([
|
|
|
1591
1809
|
z.lazy(() => exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema),
|
|
1592
1810
|
z.lazy(() => exports.AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema),
|
|
1593
1811
|
z.lazy(() => exports.AgentToolInputCRUDCurrentDateTool$outboundSchema),
|
|
1812
|
+
z.lazy(() => exports.AgentToolInputCRUDMCPTool$outboundSchema),
|
|
1594
1813
|
z.lazy(() => exports.AgentToolInputCRUDHTTPTool$outboundSchema),
|
|
1595
1814
|
z.lazy(() => exports.AgentToolInputCRUDCodeExecutionTool$outboundSchema),
|
|
1596
1815
|
z.lazy(() => exports.AgentToolInputCRUDFunctionTool$outboundSchema),
|
|
1597
|
-
z.lazy(() => exports.AgentToolInputCRUDMCPTool$outboundSchema),
|
|
1598
1816
|
]);
|
|
1599
1817
|
function updateAgentAgentToolInputCRUDToJSON(updateAgentAgentToolInputCRUD) {
|
|
1600
1818
|
return JSON.stringify(exports.UpdateAgentAgentToolInputCRUD$outboundSchema.parse(updateAgentAgentToolInputCRUD));
|
|
@@ -1683,10 +1901,10 @@ exports.UpdateAgentSettings$inboundSchema = z.object({
|
|
|
1683
1901
|
z.lazy(() => exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$inboundSchema),
|
|
1684
1902
|
z.lazy(() => exports.AgentToolInputCRUDQueryKnowledgeBaseTool$inboundSchema),
|
|
1685
1903
|
z.lazy(() => exports.AgentToolInputCRUDCurrentDateTool$inboundSchema),
|
|
1904
|
+
z.lazy(() => exports.AgentToolInputCRUDMCPTool$inboundSchema),
|
|
1686
1905
|
z.lazy(() => exports.AgentToolInputCRUDHTTPTool$inboundSchema),
|
|
1687
1906
|
z.lazy(() => exports.AgentToolInputCRUDCodeExecutionTool$inboundSchema),
|
|
1688
1907
|
z.lazy(() => exports.AgentToolInputCRUDFunctionTool$inboundSchema),
|
|
1689
|
-
z.lazy(() => exports.AgentToolInputCRUDMCPTool$inboundSchema),
|
|
1690
1908
|
])).optional(),
|
|
1691
1909
|
evaluators: z.array(z.lazy(() => exports.UpdateAgentEvaluators$inboundSchema))
|
|
1692
1910
|
.optional(),
|
|
@@ -1716,10 +1934,10 @@ exports.UpdateAgentSettings$outboundSchema = z.object({
|
|
|
1716
1934
|
z.lazy(() => exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema),
|
|
1717
1935
|
z.lazy(() => exports.AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema),
|
|
1718
1936
|
z.lazy(() => exports.AgentToolInputCRUDCurrentDateTool$outboundSchema),
|
|
1937
|
+
z.lazy(() => exports.AgentToolInputCRUDMCPTool$outboundSchema),
|
|
1719
1938
|
z.lazy(() => exports.AgentToolInputCRUDHTTPTool$outboundSchema),
|
|
1720
1939
|
z.lazy(() => exports.AgentToolInputCRUDCodeExecutionTool$outboundSchema),
|
|
1721
1940
|
z.lazy(() => exports.AgentToolInputCRUDFunctionTool$outboundSchema),
|
|
1722
|
-
z.lazy(() => exports.AgentToolInputCRUDMCPTool$outboundSchema),
|
|
1723
1941
|
])).optional(),
|
|
1724
1942
|
evaluators: z.array(z.lazy(() => exports.UpdateAgentEvaluators$outboundSchema))
|
|
1725
1943
|
.optional(),
|
|
@@ -2171,6 +2389,10 @@ function updateAgentResponseFormatFromJSON(jsonString) {
|
|
|
2171
2389
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentResponseFormat$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentResponseFormat' from JSON`);
|
|
2172
2390
|
}
|
|
2173
2391
|
/** @internal */
|
|
2392
|
+
exports.UpdateAgentReasoningEffort$inboundSchema = z.nativeEnum(exports.UpdateAgentReasoningEffort);
|
|
2393
|
+
/** @internal */
|
|
2394
|
+
exports.UpdateAgentReasoningEffort$outboundSchema = exports.UpdateAgentReasoningEffort$inboundSchema;
|
|
2395
|
+
/** @internal */
|
|
2174
2396
|
exports.UpdateAgentStop$inboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
2175
2397
|
/** @internal */
|
|
2176
2398
|
exports.UpdateAgentStop$outboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
@@ -2292,7 +2514,7 @@ exports.UpdateAgentParameters$inboundSchema = z.object({
|
|
|
2292
2514
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsResponseJSONObject$inboundSchema),
|
|
2293
2515
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsResponse200JSONSchema$inboundSchema),
|
|
2294
2516
|
]).optional(),
|
|
2295
|
-
reasoning_effort:
|
|
2517
|
+
reasoning_effort: exports.UpdateAgentReasoningEffort$inboundSchema.optional(),
|
|
2296
2518
|
verbosity: z.string().optional(),
|
|
2297
2519
|
seed: z.nullable(z.number()).optional(),
|
|
2298
2520
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -2342,7 +2564,7 @@ exports.UpdateAgentParameters$outboundSchema = z.object({
|
|
|
2342
2564
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsResponseJSONObject$outboundSchema),
|
|
2343
2565
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsResponse200JSONSchema$outboundSchema),
|
|
2344
2566
|
]).optional(),
|
|
2345
|
-
reasoningEffort:
|
|
2567
|
+
reasoningEffort: exports.UpdateAgentReasoningEffort$outboundSchema.optional(),
|
|
2346
2568
|
verbosity: z.string().optional(),
|
|
2347
2569
|
seed: z.nullable(z.number()).optional(),
|
|
2348
2570
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -2530,6 +2752,10 @@ function updateAgentFallbackModelConfigurationAgentsResponseFormatFromJSON(jsonS
|
|
|
2530
2752
|
.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsResponseFormat' from JSON`);
|
|
2531
2753
|
}
|
|
2532
2754
|
/** @internal */
|
|
2755
|
+
exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$inboundSchema = z.nativeEnum(exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort);
|
|
2756
|
+
/** @internal */
|
|
2757
|
+
exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$outboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$inboundSchema;
|
|
2758
|
+
/** @internal */
|
|
2533
2759
|
exports.UpdateAgentFallbackModelConfigurationAgentsStop$inboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
2534
2760
|
/** @internal */
|
|
2535
2761
|
exports.UpdateAgentFallbackModelConfigurationAgentsStop$outboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
@@ -2654,7 +2880,8 @@ exports.UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema = z.
|
|
|
2654
2880
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsResponse200JSONObject$inboundSchema),
|
|
2655
2881
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchema$inboundSchema),
|
|
2656
2882
|
]).optional(),
|
|
2657
|
-
reasoning_effort:
|
|
2883
|
+
reasoning_effort: exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$inboundSchema
|
|
2884
|
+
.optional(),
|
|
2658
2885
|
verbosity: z.string().optional(),
|
|
2659
2886
|
seed: z.nullable(z.number()).optional(),
|
|
2660
2887
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -2703,7 +2930,8 @@ exports.UpdateAgentFallbackModelConfigurationAgentsParameters$outboundSchema = z
|
|
|
2703
2930
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsResponse200JSONObject$outboundSchema),
|
|
2704
2931
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchema$outboundSchema),
|
|
2705
2932
|
]).optional(),
|
|
2706
|
-
reasoningEffort:
|
|
2933
|
+
reasoningEffort: exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$outboundSchema
|
|
2934
|
+
.optional(),
|
|
2707
2935
|
verbosity: z.string().optional(),
|
|
2708
2936
|
seed: z.nullable(z.number()).optional(),
|
|
2709
2937
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|