@orq-ai/node 4.5.0-rc.24 → 4.5.0-rc.26
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/createagentresponse.d.ts +5 -0
- package/models/components/createagentresponse.d.ts.map +1 -1
- package/models/components/createagentresponse.js +2 -0
- package/models/components/createagentresponse.js.map +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/partdoneevent.js +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/responsedoneevent.d.ts +5 -0
- package/models/components/responsedoneevent.d.ts.map +1 -1
- package/models/components/responsedoneevent.js +2 -0
- package/models/components/responsedoneevent.js.map +1 -1
- package/models/components/responsestartedevent.d.ts +5 -0
- package/models/components/responsestartedevent.d.ts.map +1 -1
- package/models/components/responsestartedevent.js +2 -0
- package/models/components/responsestartedevent.js.map +1 -1
- package/models/components/telemetry.d.ts +20 -0
- package/models/components/telemetry.d.ts.map +1 -0
- package/models/components/telemetry.js +57 -0
- package/models/components/telemetry.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +16 -460
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +21 -299
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createprompt.d.ts +30 -30
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +31 -29
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/fileget.js +1 -1
- package/models/operations/filelist.js +1 -1
- package/models/operations/fileupload.js +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/listagents.d.ts +0 -202
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +2 -139
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/retrieveagentrequest.d.ts +0 -202
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -140
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +12 -254
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +16 -153
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +12 -254
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +15 -152
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +16 -460
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +21 -298
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/createagentresponse.ts +6 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/partdoneevent.ts +1 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/responsedoneevent.ts +6 -0
- package/src/models/components/responsestartedevent.ts +6 -0
- package/src/models/components/telemetry.ts +48 -0
- package/src/models/operations/createagentrequest.ts +49 -860
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createprompt.ts +55 -66
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/fileget.ts +1 -1
- package/src/models/operations/filelist.ts +1 -1
- package/src/models/operations/fileupload.ts +1 -1
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/listagents.ts +0 -393
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/retrieveagentrequest.ts +0 -402
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +35 -473
- package/src/models/operations/streamrunagent.ts +35 -492
- package/src/models/operations/updateagent.ts +36 -874
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -36,20 +36,17 @@ 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.UpdateAgentResponseBody$inboundSchema = exports.UpdateAgentSource$inboundSchema = exports.UpdateAgentAgentsKnowledgeBases$inboundSchema = exports.UpdateAgentMetrics$inboundSchema = exports.UpdateAgentAgentsTeamOfAgents$inboundSchema = exports.UpdateAgentModel$inboundSchema = exports.UpdateAgentAgentsFallbackModelConfiguration$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgents2$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsResponseRetry$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsTimeout$inboundSchema = void 0;
|
|
45
|
-
exports.updateAgentModelConfigurationAudioToJSON = updateAgentModelConfigurationAudioToJSON;
|
|
39
|
+
exports.UpdateAgentToolChoiceAgentsResponse2001 = exports.UpdateAgentToolChoiceAgentsResponse200Type = exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort = exports.UpdateAgentLoadBalancerAgentsResponseType = exports.UpdateAgentType = exports.UpdateAgentAgentsResponse200ApplicationJSONExecuteOn = exports.UpdateAgentIdAgentsResponse1 = exports.UpdateAgentModalities = exports.UpdateAgentToolChoiceAgentsResponse1 = exports.UpdateAgentToolChoiceAgentsResponseType = exports.UpdateAgentReasoningEffort = 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.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type = exports.UpdateAgentToolApprovalRequired = exports.UpdateAgentLoadBalancerAgentsType = exports.UpdateAgentFallbackModelConfigurationType = exports.UpdateAgentFallbackModelConfigurationExecuteOn = exports.UpdateAgentIdAgents1 = exports.UpdateAgentFallbackModelConfigurationModalities = exports.UpdateAgentToolChoiceAgents1 = exports.UpdateAgentToolChoiceAgentsType = exports.UpdateAgentFallbackModelConfigurationReasoningEffort = exports.UpdateAgentLoadBalancerType = exports.UpdateAgentModelConfigurationType = exports.ModelConfigurationExecuteOn = exports.UpdateAgentId1 = exports.ModelConfigurationModalities = exports.UpdateAgentToolChoice1 = exports.UpdateAgentToolChoiceType = exports.ModelConfigurationReasoningEffort = void 0;
|
|
40
|
+
exports.UpdateAgentFallbackModelConfigurationModalities$outboundSchema = exports.UpdateAgentFallbackModelConfigurationToolChoice$outboundSchema = exports.UpdateAgentToolChoiceAgents1$outboundSchema = exports.UpdateAgentToolChoiceAgents2$outboundSchema = exports.UpdateAgentToolChoiceAgentsFunction$outboundSchema = exports.UpdateAgentToolChoiceAgentsType$outboundSchema = exports.UpdateAgentFallbackModelConfigurationThinking$outboundSchema = exports.UpdateAgentFallbackModelConfigurationStop$outboundSchema = exports.UpdateAgentFallbackModelConfigurationReasoningEffort$outboundSchema = exports.UpdateAgentFallbackModelConfigurationResponseFormat$outboundSchema = exports.UpdateAgentResponseFormatAgentsText$outboundSchema = exports.UpdateAgentResponseFormatAgentsJSONObject$outboundSchema = exports.UpdateAgentResponseFormatAgentsRequestJSONSchema$outboundSchema = exports.UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outboundSchema = exports.UpdateAgentModelConfiguration$outboundSchema = exports.UpdateAgentModelConfiguration2$outboundSchema = exports.ModelConfigurationRetry$outboundSchema = exports.ModelConfigurationParameters$outboundSchema = exports.ModelConfigurationTimeout$outboundSchema = exports.ModelConfigurationLoadBalancer$outboundSchema = exports.UpdateAgentLoadBalancer1$outboundSchema = exports.UpdateAgentLoadBalancerModels$outboundSchema = exports.UpdateAgentLoadBalancerType$outboundSchema = exports.ModelConfigurationCache$outboundSchema = exports.UpdateAgentModelConfigurationType$outboundSchema = exports.ModelConfigurationFallbacks$outboundSchema = exports.ModelConfigurationGuardrails$outboundSchema = exports.ModelConfigurationExecuteOn$outboundSchema = exports.ModelConfigurationId$outboundSchema = exports.UpdateAgentId1$outboundSchema = exports.ModelConfigurationModalities$outboundSchema = exports.ModelConfigurationToolChoice$outboundSchema = exports.UpdateAgentToolChoice1$outboundSchema = exports.UpdateAgentToolChoice2$outboundSchema = exports.UpdateAgentToolChoiceFunction$outboundSchema = exports.UpdateAgentToolChoiceType$outboundSchema = exports.ModelConfigurationThinking$outboundSchema = exports.ModelConfigurationStop$outboundSchema = exports.ModelConfigurationReasoningEffort$outboundSchema = exports.ModelConfigurationResponseFormat$outboundSchema = exports.UpdateAgentResponseFormatText$outboundSchema = exports.UpdateAgentResponseFormatJSONObject$outboundSchema = exports.UpdateAgentResponseFormatJSONSchema$outboundSchema = exports.UpdateAgentResponseFormatAgentsJsonSchema$outboundSchema = exports.UpdateAgentSource = exports.UpdateAgentLoadBalancerAgentsResponse200Type = exports.UpdateAgentFallbackModelConfigurationAgentsType = exports.UpdateAgentFallbackModelConfigurationAgentsExecuteOn = exports.UpdateAgentIdAgentsResponse2001 = exports.UpdateAgentFallbackModelConfigurationAgentsModalities = void 0;
|
|
41
|
+
exports.AgentToolInputCRUDGoogleSearchTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDType$outboundSchema = exports.AgentToolInputCRUDWebScraperTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsType$outboundSchema = exports.AgentToolInputCRUDCallSubAgentTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestType$outboundSchema = exports.AgentToolInputCRUDRetrieveAgentsTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodyType$outboundSchema = exports.AgentToolInputCRUDQueryMemoryStoreTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsType$outboundSchema = exports.AgentToolInputCRUDWriteMemoryStoreTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsToolsType$outboundSchema = exports.AgentToolInputCRUDRetrieveMemoryStoresTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools7Type$outboundSchema = exports.AgentToolInputCRUDDeleteMemoryDocumentTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools8Type$outboundSchema = exports.AgentToolInputCRUDRetrieveKnowledgeBasesTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools9Type$outboundSchema = exports.AgentToolInputCRUDQueryKnowledgeBaseTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools10Type$outboundSchema = exports.AgentToolInputCRUDCurrentDateTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools11Type$outboundSchema = exports.AgentToolInputCRUDHTTPTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools12Type$outboundSchema = exports.AgentToolInputCRUDCodeExecutionTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools13Type$outboundSchema = exports.AgentToolInputCRUDFunctionTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools14Type$outboundSchema = exports.AgentToolInputCRUDJSONSchemaTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools15Type$outboundSchema = exports.AgentToolInputCRUDMCPTool$outboundSchema = exports.UpdateAgentAgentToolInputCRUDAgentsRequestRequestBodySettingsTools16Type$outboundSchema = exports.AgentToolInputCRUDProviderBuiltInTool$outboundSchema = exports.UpdateAgentToolApprovalRequired$outboundSchema = exports.UpdateAgentFallbackModelConfiguration$outboundSchema = exports.UpdateAgentFallbackModelConfiguration2$outboundSchema = exports.UpdateAgentFallbackModelConfigurationRetry$outboundSchema = exports.UpdateAgentFallbackModelConfigurationParameters$outboundSchema = exports.UpdateAgentFallbackModelConfigurationTimeout$outboundSchema = exports.UpdateAgentFallbackModelConfigurationLoadBalancer$outboundSchema = exports.UpdateAgentLoadBalancerAgents1$outboundSchema = exports.UpdateAgentLoadBalancerAgentsModels$outboundSchema = exports.UpdateAgentLoadBalancerAgentsType$outboundSchema = exports.UpdateAgentFallbackModelConfigurationCache$outboundSchema = exports.UpdateAgentFallbackModelConfigurationType$outboundSchema = exports.UpdateAgentFallbackModelConfigurationFallbacks$outboundSchema = exports.UpdateAgentFallbackModelConfigurationGuardrails$outboundSchema = exports.UpdateAgentFallbackModelConfigurationExecuteOn$outboundSchema = exports.UpdateAgentFallbackModelConfigurationId$outboundSchema = exports.UpdateAgentIdAgents1$outboundSchema = void 0;
|
|
42
|
+
exports.UpdateAgentResponseFormatAgentsResponse200JSONObject$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchema$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema$inboundSchema = exports.UpdateAgentRetry$inboundSchema = exports.UpdateAgentParameters$inboundSchema = exports.UpdateAgentTimeout$inboundSchema = exports.UpdateAgentLoadBalancer$inboundSchema = exports.UpdateAgentLoadBalancerAgentsResponse1$inboundSchema = exports.UpdateAgentLoadBalancerAgentsResponseModels$inboundSchema = exports.UpdateAgentLoadBalancerAgentsResponseType$inboundSchema = exports.UpdateAgentCache$inboundSchema = exports.UpdateAgentType$inboundSchema = exports.UpdateAgentFallbacks$inboundSchema = exports.UpdateAgentAgentsResponseGuardrails$inboundSchema = exports.UpdateAgentAgentsResponse200ApplicationJSONExecuteOn$inboundSchema = exports.UpdateAgentId$inboundSchema = exports.UpdateAgentIdAgentsResponse1$inboundSchema = exports.UpdateAgentModalities$inboundSchema = exports.UpdateAgentToolChoice$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponse1$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponse2$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponseFunction$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponseType$inboundSchema = exports.UpdateAgentThinking$inboundSchema = exports.UpdateAgentStop$inboundSchema = exports.UpdateAgentReasoningEffort$inboundSchema = exports.UpdateAgentResponseFormat$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponseText$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponseJSONObject$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200JSONSchema$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema = exports.UpdateAgentAgentsSettings$inboundSchema = exports.UpdateAgentAgentsGuardrails$inboundSchema = exports.UpdateAgentAgentsResponse200ExecuteOn$inboundSchema = exports.UpdateAgentAgentsEvaluators$inboundSchema = exports.UpdateAgentAgentsResponseExecuteOn$inboundSchema = exports.UpdateAgentTools$inboundSchema = exports.UpdateAgentConditions$inboundSchema = exports.UpdateAgentAgentsToolApprovalRequired$inboundSchema = exports.UpdateAgentStatus$inboundSchema = exports.UpdateAgentRequest$outboundSchema = exports.UpdateAgentUpdateAgentRequest$outboundSchema = exports.UpdateAgentTeamOfAgents$outboundSchema = exports.UpdateAgentKnowledgeBases$outboundSchema = exports.UpdateAgentSettings$outboundSchema = exports.UpdateAgentGuardrails$outboundSchema = exports.UpdateAgentAgentsExecuteOn$outboundSchema = exports.UpdateAgentEvaluators$outboundSchema = exports.UpdateAgentExecuteOn$outboundSchema = exports.UpdateAgentAgentToolInputCRUD$outboundSchema = void 0;
|
|
43
|
+
exports.UpdateAgentResponseBody$inboundSchema = exports.UpdateAgentSource$inboundSchema = exports.UpdateAgentAgentsKnowledgeBases$inboundSchema = exports.UpdateAgentMetrics$inboundSchema = exports.UpdateAgentAgentsTeamOfAgents$inboundSchema = exports.UpdateAgentModel$inboundSchema = exports.UpdateAgentAgentsFallbackModelConfiguration$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgents2$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsRetry$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsTimeout$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsLoadBalancer$inboundSchema = exports.UpdateAgentLoadBalancerAgentsResponse2001$inboundSchema = exports.UpdateAgentLoadBalancerAgentsResponse200Models$inboundSchema = exports.UpdateAgentLoadBalancerAgentsResponse200Type$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsCache$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsType$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsFallbacks$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsGuardrails$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsExecuteOn$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsId$inboundSchema = exports.UpdateAgentIdAgentsResponse2001$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsModalities$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsToolChoice$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponse2001$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponse2002$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponse200Function$inboundSchema = exports.UpdateAgentToolChoiceAgentsResponse200Type$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsThinking$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsStop$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$inboundSchema = exports.UpdateAgentFallbackModelConfigurationAgentsResponseFormat$inboundSchema = exports.UpdateAgentResponseFormatAgentsResponse200Text$inboundSchema = void 0;
|
|
46
44
|
exports.updateAgentResponseFormatAgentsJsonSchemaToJSON = updateAgentResponseFormatAgentsJsonSchemaToJSON;
|
|
47
45
|
exports.updateAgentResponseFormatJSONSchemaToJSON = updateAgentResponseFormatJSONSchemaToJSON;
|
|
48
46
|
exports.updateAgentResponseFormatJSONObjectToJSON = updateAgentResponseFormatJSONObjectToJSON;
|
|
49
47
|
exports.updateAgentResponseFormatTextToJSON = updateAgentResponseFormatTextToJSON;
|
|
50
48
|
exports.modelConfigurationResponseFormatToJSON = modelConfigurationResponseFormatToJSON;
|
|
51
49
|
exports.modelConfigurationStopToJSON = modelConfigurationStopToJSON;
|
|
52
|
-
exports.modelConfigurationStreamOptionsToJSON = modelConfigurationStreamOptionsToJSON;
|
|
53
50
|
exports.modelConfigurationThinkingToJSON = modelConfigurationThinkingToJSON;
|
|
54
51
|
exports.updateAgentToolChoiceFunctionToJSON = updateAgentToolChoiceFunctionToJSON;
|
|
55
52
|
exports.updateAgentToolChoice2ToJSON = updateAgentToolChoice2ToJSON;
|
|
@@ -57,24 +54,21 @@ exports.modelConfigurationToolChoiceToJSON = modelConfigurationToolChoiceToJSON;
|
|
|
57
54
|
exports.modelConfigurationIdToJSON = modelConfigurationIdToJSON;
|
|
58
55
|
exports.modelConfigurationGuardrailsToJSON = modelConfigurationGuardrailsToJSON;
|
|
59
56
|
exports.modelConfigurationFallbacksToJSON = modelConfigurationFallbacksToJSON;
|
|
60
|
-
exports.updateAgentModelConfigurationRetryToJSON = updateAgentModelConfigurationRetryToJSON;
|
|
61
57
|
exports.modelConfigurationCacheToJSON = modelConfigurationCacheToJSON;
|
|
62
58
|
exports.updateAgentLoadBalancerModelsToJSON = updateAgentLoadBalancerModelsToJSON;
|
|
63
59
|
exports.updateAgentLoadBalancer1ToJSON = updateAgentLoadBalancer1ToJSON;
|
|
64
60
|
exports.modelConfigurationLoadBalancerToJSON = modelConfigurationLoadBalancerToJSON;
|
|
65
61
|
exports.modelConfigurationTimeoutToJSON = modelConfigurationTimeoutToJSON;
|
|
66
62
|
exports.modelConfigurationParametersToJSON = modelConfigurationParametersToJSON;
|
|
67
|
-
exports.
|
|
63
|
+
exports.modelConfigurationRetryToJSON = modelConfigurationRetryToJSON;
|
|
68
64
|
exports.updateAgentModelConfiguration2ToJSON = updateAgentModelConfiguration2ToJSON;
|
|
69
65
|
exports.updateAgentModelConfigurationToJSON = updateAgentModelConfigurationToJSON;
|
|
70
|
-
exports.updateAgentFallbackModelConfigurationAudioToJSON = updateAgentFallbackModelConfigurationAudioToJSON;
|
|
71
66
|
exports.updateAgentResponseFormatAgentsRequestRequestBodyJsonSchemaToJSON = updateAgentResponseFormatAgentsRequestRequestBodyJsonSchemaToJSON;
|
|
72
67
|
exports.updateAgentResponseFormatAgentsRequestJSONSchemaToJSON = updateAgentResponseFormatAgentsRequestJSONSchemaToJSON;
|
|
73
68
|
exports.updateAgentResponseFormatAgentsJSONObjectToJSON = updateAgentResponseFormatAgentsJSONObjectToJSON;
|
|
74
69
|
exports.updateAgentResponseFormatAgentsTextToJSON = updateAgentResponseFormatAgentsTextToJSON;
|
|
75
70
|
exports.updateAgentFallbackModelConfigurationResponseFormatToJSON = updateAgentFallbackModelConfigurationResponseFormatToJSON;
|
|
76
71
|
exports.updateAgentFallbackModelConfigurationStopToJSON = updateAgentFallbackModelConfigurationStopToJSON;
|
|
77
|
-
exports.updateAgentFallbackModelConfigurationStreamOptionsToJSON = updateAgentFallbackModelConfigurationStreamOptionsToJSON;
|
|
78
72
|
exports.updateAgentFallbackModelConfigurationThinkingToJSON = updateAgentFallbackModelConfigurationThinkingToJSON;
|
|
79
73
|
exports.updateAgentToolChoiceAgentsFunctionToJSON = updateAgentToolChoiceAgentsFunctionToJSON;
|
|
80
74
|
exports.updateAgentToolChoiceAgents2ToJSON = updateAgentToolChoiceAgents2ToJSON;
|
|
@@ -82,14 +76,13 @@ exports.updateAgentFallbackModelConfigurationToolChoiceToJSON = updateAgentFallb
|
|
|
82
76
|
exports.updateAgentFallbackModelConfigurationIdToJSON = updateAgentFallbackModelConfigurationIdToJSON;
|
|
83
77
|
exports.updateAgentFallbackModelConfigurationGuardrailsToJSON = updateAgentFallbackModelConfigurationGuardrailsToJSON;
|
|
84
78
|
exports.updateAgentFallbackModelConfigurationFallbacksToJSON = updateAgentFallbackModelConfigurationFallbacksToJSON;
|
|
85
|
-
exports.updateAgentFallbackModelConfigurationRetryToJSON = updateAgentFallbackModelConfigurationRetryToJSON;
|
|
86
79
|
exports.updateAgentFallbackModelConfigurationCacheToJSON = updateAgentFallbackModelConfigurationCacheToJSON;
|
|
87
80
|
exports.updateAgentLoadBalancerAgentsModelsToJSON = updateAgentLoadBalancerAgentsModelsToJSON;
|
|
88
81
|
exports.updateAgentLoadBalancerAgents1ToJSON = updateAgentLoadBalancerAgents1ToJSON;
|
|
89
82
|
exports.updateAgentFallbackModelConfigurationLoadBalancerToJSON = updateAgentFallbackModelConfigurationLoadBalancerToJSON;
|
|
90
83
|
exports.updateAgentFallbackModelConfigurationTimeoutToJSON = updateAgentFallbackModelConfigurationTimeoutToJSON;
|
|
91
84
|
exports.updateAgentFallbackModelConfigurationParametersToJSON = updateAgentFallbackModelConfigurationParametersToJSON;
|
|
92
|
-
exports.
|
|
85
|
+
exports.updateAgentFallbackModelConfigurationRetryToJSON = updateAgentFallbackModelConfigurationRetryToJSON;
|
|
93
86
|
exports.updateAgentFallbackModelConfiguration2ToJSON = updateAgentFallbackModelConfiguration2ToJSON;
|
|
94
87
|
exports.updateAgentFallbackModelConfigurationToJSON = updateAgentFallbackModelConfigurationToJSON;
|
|
95
88
|
exports.agentToolInputCRUDProviderBuiltInToolToJSON = agentToolInputCRUDProviderBuiltInToolToJSON;
|
|
@@ -122,14 +115,12 @@ exports.updateAgentToolsFromJSON = updateAgentToolsFromJSON;
|
|
|
122
115
|
exports.updateAgentAgentsEvaluatorsFromJSON = updateAgentAgentsEvaluatorsFromJSON;
|
|
123
116
|
exports.updateAgentAgentsGuardrailsFromJSON = updateAgentAgentsGuardrailsFromJSON;
|
|
124
117
|
exports.updateAgentAgentsSettingsFromJSON = updateAgentAgentsSettingsFromJSON;
|
|
125
|
-
exports.updateAgentAudioFromJSON = updateAgentAudioFromJSON;
|
|
126
118
|
exports.updateAgentResponseFormatAgentsResponseJsonSchemaFromJSON = updateAgentResponseFormatAgentsResponseJsonSchemaFromJSON;
|
|
127
119
|
exports.updateAgentResponseFormatAgentsResponse200JSONSchemaFromJSON = updateAgentResponseFormatAgentsResponse200JSONSchemaFromJSON;
|
|
128
120
|
exports.updateAgentResponseFormatAgentsResponseJSONObjectFromJSON = updateAgentResponseFormatAgentsResponseJSONObjectFromJSON;
|
|
129
121
|
exports.updateAgentResponseFormatAgentsResponseTextFromJSON = updateAgentResponseFormatAgentsResponseTextFromJSON;
|
|
130
122
|
exports.updateAgentResponseFormatFromJSON = updateAgentResponseFormatFromJSON;
|
|
131
123
|
exports.updateAgentStopFromJSON = updateAgentStopFromJSON;
|
|
132
|
-
exports.updateAgentStreamOptionsFromJSON = updateAgentStreamOptionsFromJSON;
|
|
133
124
|
exports.updateAgentThinkingFromJSON = updateAgentThinkingFromJSON;
|
|
134
125
|
exports.updateAgentToolChoiceAgentsResponseFunctionFromJSON = updateAgentToolChoiceAgentsResponseFunctionFromJSON;
|
|
135
126
|
exports.updateAgentToolChoiceAgentsResponse2FromJSON = updateAgentToolChoiceAgentsResponse2FromJSON;
|
|
@@ -137,7 +128,6 @@ exports.updateAgentToolChoiceFromJSON = updateAgentToolChoiceFromJSON;
|
|
|
137
128
|
exports.updateAgentIdFromJSON = updateAgentIdFromJSON;
|
|
138
129
|
exports.updateAgentAgentsResponseGuardrailsFromJSON = updateAgentAgentsResponseGuardrailsFromJSON;
|
|
139
130
|
exports.updateAgentFallbacksFromJSON = updateAgentFallbacksFromJSON;
|
|
140
|
-
exports.updateAgentAgentsRetryFromJSON = updateAgentAgentsRetryFromJSON;
|
|
141
131
|
exports.updateAgentCacheFromJSON = updateAgentCacheFromJSON;
|
|
142
132
|
exports.updateAgentLoadBalancerAgentsResponseModelsFromJSON = updateAgentLoadBalancerAgentsResponseModelsFromJSON;
|
|
143
133
|
exports.updateAgentLoadBalancerAgentsResponse1FromJSON = updateAgentLoadBalancerAgentsResponse1FromJSON;
|
|
@@ -145,14 +135,12 @@ exports.updateAgentLoadBalancerFromJSON = updateAgentLoadBalancerFromJSON;
|
|
|
145
135
|
exports.updateAgentTimeoutFromJSON = updateAgentTimeoutFromJSON;
|
|
146
136
|
exports.updateAgentParametersFromJSON = updateAgentParametersFromJSON;
|
|
147
137
|
exports.updateAgentRetryFromJSON = updateAgentRetryFromJSON;
|
|
148
|
-
exports.updateAgentFallbackModelConfigurationAgentsAudioFromJSON = updateAgentFallbackModelConfigurationAgentsAudioFromJSON;
|
|
149
138
|
exports.updateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchemaFromJSON = updateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchemaFromJSON;
|
|
150
139
|
exports.updateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchemaFromJSON = updateAgentResponseFormatAgentsResponse200ApplicationJSONResponseBodyJSONSchemaFromJSON;
|
|
151
140
|
exports.updateAgentResponseFormatAgentsResponse200JSONObjectFromJSON = updateAgentResponseFormatAgentsResponse200JSONObjectFromJSON;
|
|
152
141
|
exports.updateAgentResponseFormatAgentsResponse200TextFromJSON = updateAgentResponseFormatAgentsResponse200TextFromJSON;
|
|
153
142
|
exports.updateAgentFallbackModelConfigurationAgentsResponseFormatFromJSON = updateAgentFallbackModelConfigurationAgentsResponseFormatFromJSON;
|
|
154
143
|
exports.updateAgentFallbackModelConfigurationAgentsStopFromJSON = updateAgentFallbackModelConfigurationAgentsStopFromJSON;
|
|
155
|
-
exports.updateAgentFallbackModelConfigurationAgentsStreamOptionsFromJSON = updateAgentFallbackModelConfigurationAgentsStreamOptionsFromJSON;
|
|
156
144
|
exports.updateAgentFallbackModelConfigurationAgentsThinkingFromJSON = updateAgentFallbackModelConfigurationAgentsThinkingFromJSON;
|
|
157
145
|
exports.updateAgentToolChoiceAgentsResponse200FunctionFromJSON = updateAgentToolChoiceAgentsResponse200FunctionFromJSON;
|
|
158
146
|
exports.updateAgentToolChoiceAgentsResponse2002FromJSON = updateAgentToolChoiceAgentsResponse2002FromJSON;
|
|
@@ -160,14 +148,13 @@ exports.updateAgentFallbackModelConfigurationAgentsToolChoiceFromJSON = updateAg
|
|
|
160
148
|
exports.updateAgentFallbackModelConfigurationAgentsIdFromJSON = updateAgentFallbackModelConfigurationAgentsIdFromJSON;
|
|
161
149
|
exports.updateAgentFallbackModelConfigurationAgentsGuardrailsFromJSON = updateAgentFallbackModelConfigurationAgentsGuardrailsFromJSON;
|
|
162
150
|
exports.updateAgentFallbackModelConfigurationAgentsFallbacksFromJSON = updateAgentFallbackModelConfigurationAgentsFallbacksFromJSON;
|
|
163
|
-
exports.updateAgentFallbackModelConfigurationAgentsResponse200RetryFromJSON = updateAgentFallbackModelConfigurationAgentsResponse200RetryFromJSON;
|
|
164
151
|
exports.updateAgentFallbackModelConfigurationAgentsCacheFromJSON = updateAgentFallbackModelConfigurationAgentsCacheFromJSON;
|
|
165
152
|
exports.updateAgentLoadBalancerAgentsResponse200ModelsFromJSON = updateAgentLoadBalancerAgentsResponse200ModelsFromJSON;
|
|
166
153
|
exports.updateAgentLoadBalancerAgentsResponse2001FromJSON = updateAgentLoadBalancerAgentsResponse2001FromJSON;
|
|
167
154
|
exports.updateAgentFallbackModelConfigurationAgentsLoadBalancerFromJSON = updateAgentFallbackModelConfigurationAgentsLoadBalancerFromJSON;
|
|
168
155
|
exports.updateAgentFallbackModelConfigurationAgentsTimeoutFromJSON = updateAgentFallbackModelConfigurationAgentsTimeoutFromJSON;
|
|
169
156
|
exports.updateAgentFallbackModelConfigurationAgentsParametersFromJSON = updateAgentFallbackModelConfigurationAgentsParametersFromJSON;
|
|
170
|
-
exports.
|
|
157
|
+
exports.updateAgentFallbackModelConfigurationAgentsRetryFromJSON = updateAgentFallbackModelConfigurationAgentsRetryFromJSON;
|
|
171
158
|
exports.updateAgentFallbackModelConfigurationAgents2FromJSON = updateAgentFallbackModelConfigurationAgents2FromJSON;
|
|
172
159
|
exports.updateAgentAgentsFallbackModelConfigurationFromJSON = updateAgentAgentsFallbackModelConfigurationFromJSON;
|
|
173
160
|
exports.updateAgentModelFromJSON = updateAgentModelFromJSON;
|
|
@@ -179,27 +166,6 @@ const z = __importStar(require("zod/v3"));
|
|
|
179
166
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
180
167
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
181
168
|
const components = __importStar(require("../components/index.js"));
|
|
182
|
-
/**
|
|
183
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
184
|
-
*/
|
|
185
|
-
exports.ModelConfigurationVoice = {
|
|
186
|
-
Alloy: "alloy",
|
|
187
|
-
Echo: "echo",
|
|
188
|
-
Fable: "fable",
|
|
189
|
-
Onyx: "onyx",
|
|
190
|
-
Nova: "nova",
|
|
191
|
-
Shimmer: "shimmer",
|
|
192
|
-
};
|
|
193
|
-
/**
|
|
194
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
195
|
-
*/
|
|
196
|
-
exports.ModelConfigurationFormat = {
|
|
197
|
-
Wav: "wav",
|
|
198
|
-
Mp3: "mp3",
|
|
199
|
-
Flac: "flac",
|
|
200
|
-
Opus: "opus",
|
|
201
|
-
Pcm16: "pcm16",
|
|
202
|
-
};
|
|
203
169
|
/**
|
|
204
170
|
* 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.
|
|
205
171
|
*
|
|
@@ -256,27 +222,6 @@ exports.UpdateAgentModelConfigurationType = {
|
|
|
256
222
|
exports.UpdateAgentLoadBalancerType = {
|
|
257
223
|
WeightBased: "weight_based",
|
|
258
224
|
};
|
|
259
|
-
/**
|
|
260
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
261
|
-
*/
|
|
262
|
-
exports.UpdateAgentFallbackModelConfigurationVoice = {
|
|
263
|
-
Alloy: "alloy",
|
|
264
|
-
Echo: "echo",
|
|
265
|
-
Fable: "fable",
|
|
266
|
-
Onyx: "onyx",
|
|
267
|
-
Nova: "nova",
|
|
268
|
-
Shimmer: "shimmer",
|
|
269
|
-
};
|
|
270
|
-
/**
|
|
271
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
272
|
-
*/
|
|
273
|
-
exports.UpdateAgentFallbackModelConfigurationFormat = {
|
|
274
|
-
Wav: "wav",
|
|
275
|
-
Mp3: "mp3",
|
|
276
|
-
Flac: "flac",
|
|
277
|
-
Opus: "opus",
|
|
278
|
-
Pcm16: "pcm16",
|
|
279
|
-
};
|
|
280
225
|
/**
|
|
281
226
|
* 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.
|
|
282
227
|
*
|
|
@@ -449,27 +394,6 @@ exports.UpdateAgentAgentsResponse200ExecuteOn = {
|
|
|
449
394
|
Input: "input",
|
|
450
395
|
Output: "output",
|
|
451
396
|
};
|
|
452
|
-
/**
|
|
453
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
454
|
-
*/
|
|
455
|
-
exports.UpdateAgentVoice = {
|
|
456
|
-
Alloy: "alloy",
|
|
457
|
-
Echo: "echo",
|
|
458
|
-
Fable: "fable",
|
|
459
|
-
Onyx: "onyx",
|
|
460
|
-
Nova: "nova",
|
|
461
|
-
Shimmer: "shimmer",
|
|
462
|
-
};
|
|
463
|
-
/**
|
|
464
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
465
|
-
*/
|
|
466
|
-
exports.UpdateAgentFormat = {
|
|
467
|
-
Wav: "wav",
|
|
468
|
-
Mp3: "mp3",
|
|
469
|
-
Flac: "flac",
|
|
470
|
-
Opus: "opus",
|
|
471
|
-
Pcm16: "pcm16",
|
|
472
|
-
};
|
|
473
397
|
/**
|
|
474
398
|
* 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.
|
|
475
399
|
*
|
|
@@ -526,27 +450,6 @@ exports.UpdateAgentType = {
|
|
|
526
450
|
exports.UpdateAgentLoadBalancerAgentsResponseType = {
|
|
527
451
|
WeightBased: "weight_based",
|
|
528
452
|
};
|
|
529
|
-
/**
|
|
530
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
531
|
-
*/
|
|
532
|
-
exports.UpdateAgentFallbackModelConfigurationAgentsVoice = {
|
|
533
|
-
Alloy: "alloy",
|
|
534
|
-
Echo: "echo",
|
|
535
|
-
Fable: "fable",
|
|
536
|
-
Onyx: "onyx",
|
|
537
|
-
Nova: "nova",
|
|
538
|
-
Shimmer: "shimmer",
|
|
539
|
-
};
|
|
540
|
-
/**
|
|
541
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
542
|
-
*/
|
|
543
|
-
exports.UpdateAgentFallbackModelConfigurationAgentsFormat = {
|
|
544
|
-
Wav: "wav",
|
|
545
|
-
Mp3: "mp3",
|
|
546
|
-
Flac: "flac",
|
|
547
|
-
Opus: "opus",
|
|
548
|
-
Pcm16: "pcm16",
|
|
549
|
-
};
|
|
550
453
|
/**
|
|
551
454
|
* 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.
|
|
552
455
|
*
|
|
@@ -609,18 +512,6 @@ exports.UpdateAgentSource = {
|
|
|
609
512
|
Experiment: "experiment",
|
|
610
513
|
};
|
|
611
514
|
/** @internal */
|
|
612
|
-
exports.ModelConfigurationVoice$outboundSchema = z.nativeEnum(exports.ModelConfigurationVoice);
|
|
613
|
-
/** @internal */
|
|
614
|
-
exports.ModelConfigurationFormat$outboundSchema = z.nativeEnum(exports.ModelConfigurationFormat);
|
|
615
|
-
/** @internal */
|
|
616
|
-
exports.UpdateAgentModelConfigurationAudio$outboundSchema = z.object({
|
|
617
|
-
voice: exports.ModelConfigurationVoice$outboundSchema,
|
|
618
|
-
format: exports.ModelConfigurationFormat$outboundSchema,
|
|
619
|
-
});
|
|
620
|
-
function updateAgentModelConfigurationAudioToJSON(updateAgentModelConfigurationAudio) {
|
|
621
|
-
return JSON.stringify(exports.UpdateAgentModelConfigurationAudio$outboundSchema.parse(updateAgentModelConfigurationAudio));
|
|
622
|
-
}
|
|
623
|
-
/** @internal */
|
|
624
515
|
exports.UpdateAgentResponseFormatAgentsJsonSchema$outboundSchema = z.object({
|
|
625
516
|
description: z.string().optional(),
|
|
626
517
|
name: z.string(),
|
|
@@ -673,17 +564,6 @@ function modelConfigurationStopToJSON(modelConfigurationStop) {
|
|
|
673
564
|
return JSON.stringify(exports.ModelConfigurationStop$outboundSchema.parse(modelConfigurationStop));
|
|
674
565
|
}
|
|
675
566
|
/** @internal */
|
|
676
|
-
exports.ModelConfigurationStreamOptions$outboundSchema = z.object({
|
|
677
|
-
includeUsage: z.boolean().optional(),
|
|
678
|
-
}).transform((v) => {
|
|
679
|
-
return (0, primitives_js_1.remap)(v, {
|
|
680
|
-
includeUsage: "include_usage",
|
|
681
|
-
});
|
|
682
|
-
});
|
|
683
|
-
function modelConfigurationStreamOptionsToJSON(modelConfigurationStreamOptions) {
|
|
684
|
-
return JSON.stringify(exports.ModelConfigurationStreamOptions$outboundSchema.parse(modelConfigurationStreamOptions));
|
|
685
|
-
}
|
|
686
|
-
/** @internal */
|
|
687
567
|
exports.ModelConfigurationThinking$outboundSchema = z.union([
|
|
688
568
|
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
689
569
|
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
@@ -749,18 +629,6 @@ function modelConfigurationFallbacksToJSON(modelConfigurationFallbacks) {
|
|
|
749
629
|
return JSON.stringify(exports.ModelConfigurationFallbacks$outboundSchema.parse(modelConfigurationFallbacks));
|
|
750
630
|
}
|
|
751
631
|
/** @internal */
|
|
752
|
-
exports.UpdateAgentModelConfigurationRetry$outboundSchema = z.object({
|
|
753
|
-
count: z.number().default(3),
|
|
754
|
-
onCodes: z.array(z.number()).optional(),
|
|
755
|
-
}).transform((v) => {
|
|
756
|
-
return (0, primitives_js_1.remap)(v, {
|
|
757
|
-
onCodes: "on_codes",
|
|
758
|
-
});
|
|
759
|
-
});
|
|
760
|
-
function updateAgentModelConfigurationRetryToJSON(updateAgentModelConfigurationRetry) {
|
|
761
|
-
return JSON.stringify(exports.UpdateAgentModelConfigurationRetry$outboundSchema.parse(updateAgentModelConfigurationRetry));
|
|
762
|
-
}
|
|
763
|
-
/** @internal */
|
|
764
632
|
exports.UpdateAgentModelConfigurationType$outboundSchema = z.nativeEnum(exports.UpdateAgentModelConfigurationType);
|
|
765
633
|
/** @internal */
|
|
766
634
|
exports.ModelConfigurationCache$outboundSchema = z.object({
|
|
@@ -807,13 +675,9 @@ function modelConfigurationTimeoutToJSON(modelConfigurationTimeout) {
|
|
|
807
675
|
/** @internal */
|
|
808
676
|
exports.ModelConfigurationParameters$outboundSchema = z.object({
|
|
809
677
|
name: z.string().optional(),
|
|
810
|
-
audio: z.nullable(z.lazy(() => exports.UpdateAgentModelConfigurationAudio$outboundSchema)).optional(),
|
|
811
678
|
frequencyPenalty: z.nullable(z.number()).optional(),
|
|
812
679
|
maxTokens: z.nullable(z.number().int()).optional(),
|
|
813
680
|
maxCompletionTokens: z.nullable(z.number().int()).optional(),
|
|
814
|
-
logprobs: z.nullable(z.boolean()).optional(),
|
|
815
|
-
topLogprobs: z.nullable(z.number().int()).optional(),
|
|
816
|
-
n: z.nullable(z.number().int()).optional(),
|
|
817
681
|
presencePenalty: z.nullable(z.number()).optional(),
|
|
818
682
|
responseFormat: z.union([
|
|
819
683
|
z.lazy(() => exports.UpdateAgentResponseFormatText$outboundSchema),
|
|
@@ -824,7 +688,6 @@ exports.ModelConfigurationParameters$outboundSchema = z.object({
|
|
|
824
688
|
verbosity: z.string().optional(),
|
|
825
689
|
seed: z.nullable(z.number()).optional(),
|
|
826
690
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
827
|
-
streamOptions: z.nullable(z.lazy(() => exports.ModelConfigurationStreamOptions$outboundSchema)).optional(),
|
|
828
691
|
thinking: z.union([
|
|
829
692
|
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
830
693
|
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
@@ -843,8 +706,6 @@ exports.ModelConfigurationParameters$outboundSchema = z.object({
|
|
|
843
706
|
.optional(),
|
|
844
707
|
fallbacks: z.array(z.lazy(() => exports.ModelConfigurationFallbacks$outboundSchema))
|
|
845
708
|
.optional(),
|
|
846
|
-
retry: z.lazy(() => exports.UpdateAgentModelConfigurationRetry$outboundSchema)
|
|
847
|
-
.optional(),
|
|
848
709
|
cache: z.lazy(() => exports.ModelConfigurationCache$outboundSchema).optional(),
|
|
849
710
|
loadBalancer: z.lazy(() => exports.UpdateAgentLoadBalancer1$outboundSchema)
|
|
850
711
|
.optional(),
|
|
@@ -854,11 +715,9 @@ exports.ModelConfigurationParameters$outboundSchema = z.object({
|
|
|
854
715
|
frequencyPenalty: "frequency_penalty",
|
|
855
716
|
maxTokens: "max_tokens",
|
|
856
717
|
maxCompletionTokens: "max_completion_tokens",
|
|
857
|
-
topLogprobs: "top_logprobs",
|
|
858
718
|
presencePenalty: "presence_penalty",
|
|
859
719
|
responseFormat: "response_format",
|
|
860
720
|
reasoningEffort: "reasoning_effort",
|
|
861
|
-
streamOptions: "stream_options",
|
|
862
721
|
topP: "top_p",
|
|
863
722
|
topK: "top_k",
|
|
864
723
|
toolChoice: "tool_choice",
|
|
@@ -870,7 +729,7 @@ function modelConfigurationParametersToJSON(modelConfigurationParameters) {
|
|
|
870
729
|
return JSON.stringify(exports.ModelConfigurationParameters$outboundSchema.parse(modelConfigurationParameters));
|
|
871
730
|
}
|
|
872
731
|
/** @internal */
|
|
873
|
-
exports.
|
|
732
|
+
exports.ModelConfigurationRetry$outboundSchema = z.object({
|
|
874
733
|
count: z.number().default(3),
|
|
875
734
|
onCodes: z.array(z.number()).optional(),
|
|
876
735
|
}).transform((v) => {
|
|
@@ -878,16 +737,15 @@ exports.UpdateAgentModelConfigurationAgentsRetry$outboundSchema = z.object({
|
|
|
878
737
|
onCodes: "on_codes",
|
|
879
738
|
});
|
|
880
739
|
});
|
|
881
|
-
function
|
|
882
|
-
return JSON.stringify(exports.
|
|
740
|
+
function modelConfigurationRetryToJSON(modelConfigurationRetry) {
|
|
741
|
+
return JSON.stringify(exports.ModelConfigurationRetry$outboundSchema.parse(modelConfigurationRetry));
|
|
883
742
|
}
|
|
884
743
|
/** @internal */
|
|
885
744
|
exports.UpdateAgentModelConfiguration2$outboundSchema = z.object({
|
|
886
745
|
id: z.string(),
|
|
887
746
|
parameters: z.lazy(() => exports.ModelConfigurationParameters$outboundSchema)
|
|
888
747
|
.optional(),
|
|
889
|
-
retry: z.lazy(() => exports.
|
|
890
|
-
.optional(),
|
|
748
|
+
retry: z.lazy(() => exports.ModelConfigurationRetry$outboundSchema).optional(),
|
|
891
749
|
});
|
|
892
750
|
function updateAgentModelConfiguration2ToJSON(updateAgentModelConfiguration2) {
|
|
893
751
|
return JSON.stringify(exports.UpdateAgentModelConfiguration2$outboundSchema.parse(updateAgentModelConfiguration2));
|
|
@@ -901,20 +759,6 @@ function updateAgentModelConfigurationToJSON(updateAgentModelConfiguration) {
|
|
|
901
759
|
return JSON.stringify(exports.UpdateAgentModelConfiguration$outboundSchema.parse(updateAgentModelConfiguration));
|
|
902
760
|
}
|
|
903
761
|
/** @internal */
|
|
904
|
-
exports.UpdateAgentFallbackModelConfigurationVoice$outboundSchema = z
|
|
905
|
-
.nativeEnum(exports.UpdateAgentFallbackModelConfigurationVoice);
|
|
906
|
-
/** @internal */
|
|
907
|
-
exports.UpdateAgentFallbackModelConfigurationFormat$outboundSchema = z
|
|
908
|
-
.nativeEnum(exports.UpdateAgentFallbackModelConfigurationFormat);
|
|
909
|
-
/** @internal */
|
|
910
|
-
exports.UpdateAgentFallbackModelConfigurationAudio$outboundSchema = z.object({
|
|
911
|
-
voice: exports.UpdateAgentFallbackModelConfigurationVoice$outboundSchema,
|
|
912
|
-
format: exports.UpdateAgentFallbackModelConfigurationFormat$outboundSchema,
|
|
913
|
-
});
|
|
914
|
-
function updateAgentFallbackModelConfigurationAudioToJSON(updateAgentFallbackModelConfigurationAudio) {
|
|
915
|
-
return JSON.stringify(exports.UpdateAgentFallbackModelConfigurationAudio$outboundSchema.parse(updateAgentFallbackModelConfigurationAudio));
|
|
916
|
-
}
|
|
917
|
-
/** @internal */
|
|
918
762
|
exports.UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outboundSchema = z.object({
|
|
919
763
|
description: z.string().optional(),
|
|
920
764
|
name: z.string(),
|
|
@@ -968,17 +812,6 @@ function updateAgentFallbackModelConfigurationStopToJSON(updateAgentFallbackMode
|
|
|
968
812
|
return JSON.stringify(exports.UpdateAgentFallbackModelConfigurationStop$outboundSchema.parse(updateAgentFallbackModelConfigurationStop));
|
|
969
813
|
}
|
|
970
814
|
/** @internal */
|
|
971
|
-
exports.UpdateAgentFallbackModelConfigurationStreamOptions$outboundSchema = z.object({
|
|
972
|
-
includeUsage: z.boolean().optional(),
|
|
973
|
-
}).transform((v) => {
|
|
974
|
-
return (0, primitives_js_1.remap)(v, {
|
|
975
|
-
includeUsage: "include_usage",
|
|
976
|
-
});
|
|
977
|
-
});
|
|
978
|
-
function updateAgentFallbackModelConfigurationStreamOptionsToJSON(updateAgentFallbackModelConfigurationStreamOptions) {
|
|
979
|
-
return JSON.stringify(exports.UpdateAgentFallbackModelConfigurationStreamOptions$outboundSchema.parse(updateAgentFallbackModelConfigurationStreamOptions));
|
|
980
|
-
}
|
|
981
|
-
/** @internal */
|
|
982
815
|
exports.UpdateAgentFallbackModelConfigurationThinking$outboundSchema = z.union([
|
|
983
816
|
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
984
817
|
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
@@ -1046,18 +879,6 @@ function updateAgentFallbackModelConfigurationFallbacksToJSON(updateAgentFallbac
|
|
|
1046
879
|
return JSON.stringify(exports.UpdateAgentFallbackModelConfigurationFallbacks$outboundSchema.parse(updateAgentFallbackModelConfigurationFallbacks));
|
|
1047
880
|
}
|
|
1048
881
|
/** @internal */
|
|
1049
|
-
exports.UpdateAgentFallbackModelConfigurationRetry$outboundSchema = z.object({
|
|
1050
|
-
count: z.number().default(3),
|
|
1051
|
-
onCodes: z.array(z.number()).optional(),
|
|
1052
|
-
}).transform((v) => {
|
|
1053
|
-
return (0, primitives_js_1.remap)(v, {
|
|
1054
|
-
onCodes: "on_codes",
|
|
1055
|
-
});
|
|
1056
|
-
});
|
|
1057
|
-
function updateAgentFallbackModelConfigurationRetryToJSON(updateAgentFallbackModelConfigurationRetry) {
|
|
1058
|
-
return JSON.stringify(exports.UpdateAgentFallbackModelConfigurationRetry$outboundSchema.parse(updateAgentFallbackModelConfigurationRetry));
|
|
1059
|
-
}
|
|
1060
|
-
/** @internal */
|
|
1061
882
|
exports.UpdateAgentFallbackModelConfigurationType$outboundSchema = z
|
|
1062
883
|
.nativeEnum(exports.UpdateAgentFallbackModelConfigurationType);
|
|
1063
884
|
/** @internal */
|
|
@@ -1105,13 +926,9 @@ function updateAgentFallbackModelConfigurationTimeoutToJSON(updateAgentFallbackM
|
|
|
1105
926
|
/** @internal */
|
|
1106
927
|
exports.UpdateAgentFallbackModelConfigurationParameters$outboundSchema = z.object({
|
|
1107
928
|
name: z.string().optional(),
|
|
1108
|
-
audio: z.nullable(z.lazy(() => exports.UpdateAgentFallbackModelConfigurationAudio$outboundSchema)).optional(),
|
|
1109
929
|
frequencyPenalty: z.nullable(z.number()).optional(),
|
|
1110
930
|
maxTokens: z.nullable(z.number().int()).optional(),
|
|
1111
931
|
maxCompletionTokens: z.nullable(z.number().int()).optional(),
|
|
1112
|
-
logprobs: z.nullable(z.boolean()).optional(),
|
|
1113
|
-
topLogprobs: z.nullable(z.number().int()).optional(),
|
|
1114
|
-
n: z.nullable(z.number().int()).optional(),
|
|
1115
932
|
presencePenalty: z.nullable(z.number()).optional(),
|
|
1116
933
|
responseFormat: z.union([
|
|
1117
934
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsText$outboundSchema),
|
|
@@ -1123,7 +940,6 @@ exports.UpdateAgentFallbackModelConfigurationParameters$outboundSchema = z.objec
|
|
|
1123
940
|
verbosity: z.string().optional(),
|
|
1124
941
|
seed: z.nullable(z.number()).optional(),
|
|
1125
942
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
1126
|
-
streamOptions: z.nullable(z.lazy(() => exports.UpdateAgentFallbackModelConfigurationStreamOptions$outboundSchema)).optional(),
|
|
1127
943
|
thinking: z.union([
|
|
1128
944
|
components.ThinkingConfigDisabledSchema$outboundSchema,
|
|
1129
945
|
components.ThinkingConfigEnabledSchema$outboundSchema,
|
|
@@ -1139,7 +955,6 @@ exports.UpdateAgentFallbackModelConfigurationParameters$outboundSchema = z.objec
|
|
|
1139
955
|
modalities: z.nullable(z.array(exports.UpdateAgentFallbackModelConfigurationModalities$outboundSchema)).optional(),
|
|
1140
956
|
guardrails: z.array(z.lazy(() => exports.UpdateAgentFallbackModelConfigurationGuardrails$outboundSchema)).optional(),
|
|
1141
957
|
fallbacks: z.array(z.lazy(() => exports.UpdateAgentFallbackModelConfigurationFallbacks$outboundSchema)).optional(),
|
|
1142
|
-
retry: z.lazy(() => exports.UpdateAgentFallbackModelConfigurationRetry$outboundSchema).optional(),
|
|
1143
958
|
cache: z.lazy(() => exports.UpdateAgentFallbackModelConfigurationCache$outboundSchema).optional(),
|
|
1144
959
|
loadBalancer: z.lazy(() => exports.UpdateAgentLoadBalancerAgents1$outboundSchema)
|
|
1145
960
|
.optional(),
|
|
@@ -1149,11 +964,9 @@ exports.UpdateAgentFallbackModelConfigurationParameters$outboundSchema = z.objec
|
|
|
1149
964
|
frequencyPenalty: "frequency_penalty",
|
|
1150
965
|
maxTokens: "max_tokens",
|
|
1151
966
|
maxCompletionTokens: "max_completion_tokens",
|
|
1152
|
-
topLogprobs: "top_logprobs",
|
|
1153
967
|
presencePenalty: "presence_penalty",
|
|
1154
968
|
responseFormat: "response_format",
|
|
1155
969
|
reasoningEffort: "reasoning_effort",
|
|
1156
|
-
streamOptions: "stream_options",
|
|
1157
970
|
topP: "top_p",
|
|
1158
971
|
topK: "top_k",
|
|
1159
972
|
toolChoice: "tool_choice",
|
|
@@ -1165,7 +978,7 @@ function updateAgentFallbackModelConfigurationParametersToJSON(updateAgentFallba
|
|
|
1165
978
|
return JSON.stringify(exports.UpdateAgentFallbackModelConfigurationParameters$outboundSchema.parse(updateAgentFallbackModelConfigurationParameters));
|
|
1166
979
|
}
|
|
1167
980
|
/** @internal */
|
|
1168
|
-
exports.
|
|
981
|
+
exports.UpdateAgentFallbackModelConfigurationRetry$outboundSchema = z.object({
|
|
1169
982
|
count: z.number().default(3),
|
|
1170
983
|
onCodes: z.array(z.number()).optional(),
|
|
1171
984
|
}).transform((v) => {
|
|
@@ -1173,14 +986,15 @@ exports.UpdateAgentFallbackModelConfigurationAgentsRetry$outboundSchema = z.obje
|
|
|
1173
986
|
onCodes: "on_codes",
|
|
1174
987
|
});
|
|
1175
988
|
});
|
|
1176
|
-
function
|
|
1177
|
-
return JSON.stringify(exports.
|
|
989
|
+
function updateAgentFallbackModelConfigurationRetryToJSON(updateAgentFallbackModelConfigurationRetry) {
|
|
990
|
+
return JSON.stringify(exports.UpdateAgentFallbackModelConfigurationRetry$outboundSchema.parse(updateAgentFallbackModelConfigurationRetry));
|
|
1178
991
|
}
|
|
1179
992
|
/** @internal */
|
|
1180
993
|
exports.UpdateAgentFallbackModelConfiguration2$outboundSchema = z.object({
|
|
1181
994
|
id: z.string(),
|
|
1182
995
|
parameters: z.lazy(() => exports.UpdateAgentFallbackModelConfigurationParameters$outboundSchema).optional(),
|
|
1183
|
-
retry: z.lazy(() => exports.
|
|
996
|
+
retry: z.lazy(() => exports.UpdateAgentFallbackModelConfigurationRetry$outboundSchema)
|
|
997
|
+
.optional(),
|
|
1184
998
|
});
|
|
1185
999
|
function updateAgentFallbackModelConfiguration2ToJSON(updateAgentFallbackModelConfiguration2) {
|
|
1186
1000
|
return JSON.stringify(exports.UpdateAgentFallbackModelConfiguration2$outboundSchema.parse(updateAgentFallbackModelConfiguration2));
|
|
@@ -1707,18 +1521,6 @@ function updateAgentAgentsSettingsFromJSON(jsonString) {
|
|
|
1707
1521
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentAgentsSettings$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentAgentsSettings' from JSON`);
|
|
1708
1522
|
}
|
|
1709
1523
|
/** @internal */
|
|
1710
|
-
exports.UpdateAgentVoice$inboundSchema = z.nativeEnum(exports.UpdateAgentVoice);
|
|
1711
|
-
/** @internal */
|
|
1712
|
-
exports.UpdateAgentFormat$inboundSchema = z.nativeEnum(exports.UpdateAgentFormat);
|
|
1713
|
-
/** @internal */
|
|
1714
|
-
exports.UpdateAgentAudio$inboundSchema = z.object({
|
|
1715
|
-
voice: exports.UpdateAgentVoice$inboundSchema,
|
|
1716
|
-
format: exports.UpdateAgentFormat$inboundSchema,
|
|
1717
|
-
});
|
|
1718
|
-
function updateAgentAudioFromJSON(jsonString) {
|
|
1719
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentAudio$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentAudio' from JSON`);
|
|
1720
|
-
}
|
|
1721
|
-
/** @internal */
|
|
1722
1524
|
exports.UpdateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema = z.object({
|
|
1723
1525
|
description: z.string().optional(),
|
|
1724
1526
|
name: z.string(),
|
|
@@ -1771,17 +1573,6 @@ function updateAgentStopFromJSON(jsonString) {
|
|
|
1771
1573
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentStop$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentStop' from JSON`);
|
|
1772
1574
|
}
|
|
1773
1575
|
/** @internal */
|
|
1774
|
-
exports.UpdateAgentStreamOptions$inboundSchema = z.object({
|
|
1775
|
-
include_usage: z.boolean().optional(),
|
|
1776
|
-
}).transform((v) => {
|
|
1777
|
-
return (0, primitives_js_1.remap)(v, {
|
|
1778
|
-
"include_usage": "includeUsage",
|
|
1779
|
-
});
|
|
1780
|
-
});
|
|
1781
|
-
function updateAgentStreamOptionsFromJSON(jsonString) {
|
|
1782
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentStreamOptions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentStreamOptions' from JSON`);
|
|
1783
|
-
}
|
|
1784
|
-
/** @internal */
|
|
1785
1576
|
exports.UpdateAgentThinking$inboundSchema = z.union([
|
|
1786
1577
|
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
1787
1578
|
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
@@ -1848,18 +1639,6 @@ function updateAgentFallbacksFromJSON(jsonString) {
|
|
|
1848
1639
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentFallbacks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbacks' from JSON`);
|
|
1849
1640
|
}
|
|
1850
1641
|
/** @internal */
|
|
1851
|
-
exports.UpdateAgentAgentsRetry$inboundSchema = z.object({
|
|
1852
|
-
count: z.number().default(3),
|
|
1853
|
-
on_codes: z.array(z.number()).optional(),
|
|
1854
|
-
}).transform((v) => {
|
|
1855
|
-
return (0, primitives_js_1.remap)(v, {
|
|
1856
|
-
"on_codes": "onCodes",
|
|
1857
|
-
});
|
|
1858
|
-
});
|
|
1859
|
-
function updateAgentAgentsRetryFromJSON(jsonString) {
|
|
1860
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentAgentsRetry$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentAgentsRetry' from JSON`);
|
|
1861
|
-
}
|
|
1862
|
-
/** @internal */
|
|
1863
1642
|
exports.UpdateAgentType$inboundSchema = z.nativeEnum(exports.UpdateAgentType);
|
|
1864
1643
|
/** @internal */
|
|
1865
1644
|
exports.UpdateAgentCache$inboundSchema = z.object({
|
|
@@ -1907,13 +1686,9 @@ function updateAgentTimeoutFromJSON(jsonString) {
|
|
|
1907
1686
|
/** @internal */
|
|
1908
1687
|
exports.UpdateAgentParameters$inboundSchema = z.object({
|
|
1909
1688
|
name: z.string().optional(),
|
|
1910
|
-
audio: z.nullable(z.lazy(() => exports.UpdateAgentAudio$inboundSchema)).optional(),
|
|
1911
1689
|
frequency_penalty: z.nullable(z.number()).optional(),
|
|
1912
1690
|
max_tokens: z.nullable(z.number().int()).optional(),
|
|
1913
1691
|
max_completion_tokens: z.nullable(z.number().int()).optional(),
|
|
1914
|
-
logprobs: z.nullable(z.boolean()).optional(),
|
|
1915
|
-
top_logprobs: z.nullable(z.number().int()).optional(),
|
|
1916
|
-
n: z.nullable(z.number().int()).optional(),
|
|
1917
1692
|
presence_penalty: z.nullable(z.number()).optional(),
|
|
1918
1693
|
response_format: z.union([
|
|
1919
1694
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsResponseText$inboundSchema),
|
|
@@ -1924,7 +1699,6 @@ exports.UpdateAgentParameters$inboundSchema = z.object({
|
|
|
1924
1699
|
verbosity: z.string().optional(),
|
|
1925
1700
|
seed: z.nullable(z.number()).optional(),
|
|
1926
1701
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
1927
|
-
stream_options: z.nullable(z.lazy(() => exports.UpdateAgentStreamOptions$inboundSchema)).optional(),
|
|
1928
1702
|
thinking: z.union([
|
|
1929
1703
|
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
1930
1704
|
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
@@ -1942,7 +1716,6 @@ exports.UpdateAgentParameters$inboundSchema = z.object({
|
|
|
1942
1716
|
guardrails: z.array(z.lazy(() => exports.UpdateAgentAgentsResponseGuardrails$inboundSchema)).optional(),
|
|
1943
1717
|
fallbacks: z.array(z.lazy(() => exports.UpdateAgentFallbacks$inboundSchema))
|
|
1944
1718
|
.optional(),
|
|
1945
|
-
retry: z.lazy(() => exports.UpdateAgentAgentsRetry$inboundSchema).optional(),
|
|
1946
1719
|
cache: z.lazy(() => exports.UpdateAgentCache$inboundSchema).optional(),
|
|
1947
1720
|
load_balancer: z.lazy(() => exports.UpdateAgentLoadBalancerAgentsResponse1$inboundSchema).optional(),
|
|
1948
1721
|
timeout: z.lazy(() => exports.UpdateAgentTimeout$inboundSchema).optional(),
|
|
@@ -1951,11 +1724,9 @@ exports.UpdateAgentParameters$inboundSchema = z.object({
|
|
|
1951
1724
|
"frequency_penalty": "frequencyPenalty",
|
|
1952
1725
|
"max_tokens": "maxTokens",
|
|
1953
1726
|
"max_completion_tokens": "maxCompletionTokens",
|
|
1954
|
-
"top_logprobs": "topLogprobs",
|
|
1955
1727
|
"presence_penalty": "presencePenalty",
|
|
1956
1728
|
"response_format": "responseFormat",
|
|
1957
1729
|
"reasoning_effort": "reasoningEffort",
|
|
1958
|
-
"stream_options": "streamOptions",
|
|
1959
1730
|
"top_p": "topP",
|
|
1960
1731
|
"top_k": "topK",
|
|
1961
1732
|
"tool_choice": "toolChoice",
|
|
@@ -1979,20 +1750,6 @@ function updateAgentRetryFromJSON(jsonString) {
|
|
|
1979
1750
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentRetry$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentRetry' from JSON`);
|
|
1980
1751
|
}
|
|
1981
1752
|
/** @internal */
|
|
1982
|
-
exports.UpdateAgentFallbackModelConfigurationAgentsVoice$inboundSchema = z
|
|
1983
|
-
.nativeEnum(exports.UpdateAgentFallbackModelConfigurationAgentsVoice);
|
|
1984
|
-
/** @internal */
|
|
1985
|
-
exports.UpdateAgentFallbackModelConfigurationAgentsFormat$inboundSchema = z
|
|
1986
|
-
.nativeEnum(exports.UpdateAgentFallbackModelConfigurationAgentsFormat);
|
|
1987
|
-
/** @internal */
|
|
1988
|
-
exports.UpdateAgentFallbackModelConfigurationAgentsAudio$inboundSchema = z.object({
|
|
1989
|
-
voice: exports.UpdateAgentFallbackModelConfigurationAgentsVoice$inboundSchema,
|
|
1990
|
-
format: exports.UpdateAgentFallbackModelConfigurationAgentsFormat$inboundSchema,
|
|
1991
|
-
});
|
|
1992
|
-
function updateAgentFallbackModelConfigurationAgentsAudioFromJSON(jsonString) {
|
|
1993
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentFallbackModelConfigurationAgentsAudio$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsAudio' from JSON`);
|
|
1994
|
-
}
|
|
1995
|
-
/** @internal */
|
|
1996
1753
|
exports.UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema$inboundSchema = z.object({
|
|
1997
1754
|
description: z.string().optional(),
|
|
1998
1755
|
name: z.string(),
|
|
@@ -2048,18 +1805,6 @@ function updateAgentFallbackModelConfigurationAgentsStopFromJSON(jsonString) {
|
|
|
2048
1805
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentFallbackModelConfigurationAgentsStop$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsStop' from JSON`);
|
|
2049
1806
|
}
|
|
2050
1807
|
/** @internal */
|
|
2051
|
-
exports.UpdateAgentFallbackModelConfigurationAgentsStreamOptions$inboundSchema = z.object({
|
|
2052
|
-
include_usage: z.boolean().optional(),
|
|
2053
|
-
}).transform((v) => {
|
|
2054
|
-
return (0, primitives_js_1.remap)(v, {
|
|
2055
|
-
"include_usage": "includeUsage",
|
|
2056
|
-
});
|
|
2057
|
-
});
|
|
2058
|
-
function updateAgentFallbackModelConfigurationAgentsStreamOptionsFromJSON(jsonString) {
|
|
2059
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentFallbackModelConfigurationAgentsStreamOptions$inboundSchema
|
|
2060
|
-
.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsStreamOptions' from JSON`);
|
|
2061
|
-
}
|
|
2062
|
-
/** @internal */
|
|
2063
1808
|
exports.UpdateAgentFallbackModelConfigurationAgentsThinking$inboundSchema = z.union([
|
|
2064
1809
|
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
2065
1810
|
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
@@ -2127,19 +1872,6 @@ function updateAgentFallbackModelConfigurationAgentsFallbacksFromJSON(jsonString
|
|
|
2127
1872
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentFallbackModelConfigurationAgentsFallbacks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsFallbacks' from JSON`);
|
|
2128
1873
|
}
|
|
2129
1874
|
/** @internal */
|
|
2130
|
-
exports.UpdateAgentFallbackModelConfigurationAgentsResponse200Retry$inboundSchema = z.object({
|
|
2131
|
-
count: z.number().default(3),
|
|
2132
|
-
on_codes: z.array(z.number()).optional(),
|
|
2133
|
-
}).transform((v) => {
|
|
2134
|
-
return (0, primitives_js_1.remap)(v, {
|
|
2135
|
-
"on_codes": "onCodes",
|
|
2136
|
-
});
|
|
2137
|
-
});
|
|
2138
|
-
function updateAgentFallbackModelConfigurationAgentsResponse200RetryFromJSON(jsonString) {
|
|
2139
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentFallbackModelConfigurationAgentsResponse200Retry$inboundSchema
|
|
2140
|
-
.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsResponse200Retry' from JSON`);
|
|
2141
|
-
}
|
|
2142
|
-
/** @internal */
|
|
2143
1875
|
exports.UpdateAgentFallbackModelConfigurationAgentsType$inboundSchema = z
|
|
2144
1876
|
.nativeEnum(exports.UpdateAgentFallbackModelConfigurationAgentsType);
|
|
2145
1877
|
/** @internal */
|
|
@@ -2189,13 +1921,9 @@ function updateAgentFallbackModelConfigurationAgentsTimeoutFromJSON(jsonString)
|
|
|
2189
1921
|
/** @internal */
|
|
2190
1922
|
exports.UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema = z.object({
|
|
2191
1923
|
name: z.string().optional(),
|
|
2192
|
-
audio: z.nullable(z.lazy(() => exports.UpdateAgentFallbackModelConfigurationAgentsAudio$inboundSchema)).optional(),
|
|
2193
1924
|
frequency_penalty: z.nullable(z.number()).optional(),
|
|
2194
1925
|
max_tokens: z.nullable(z.number().int()).optional(),
|
|
2195
1926
|
max_completion_tokens: z.nullable(z.number().int()).optional(),
|
|
2196
|
-
logprobs: z.nullable(z.boolean()).optional(),
|
|
2197
|
-
top_logprobs: z.nullable(z.number().int()).optional(),
|
|
2198
|
-
n: z.nullable(z.number().int()).optional(),
|
|
2199
1927
|
presence_penalty: z.nullable(z.number()).optional(),
|
|
2200
1928
|
response_format: z.union([
|
|
2201
1929
|
z.lazy(() => exports.UpdateAgentResponseFormatAgentsResponse200Text$inboundSchema),
|
|
@@ -2207,7 +1935,6 @@ exports.UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema = z.
|
|
|
2207
1935
|
verbosity: z.string().optional(),
|
|
2208
1936
|
seed: z.nullable(z.number()).optional(),
|
|
2209
1937
|
stop: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
2210
|
-
stream_options: z.nullable(z.lazy(() => exports.UpdateAgentFallbackModelConfigurationAgentsStreamOptions$inboundSchema)).optional(),
|
|
2211
1938
|
thinking: z.union([
|
|
2212
1939
|
components.ThinkingConfigDisabledSchema$inboundSchema,
|
|
2213
1940
|
components.ThinkingConfigEnabledSchema$inboundSchema,
|
|
@@ -2223,7 +1950,6 @@ exports.UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema = z.
|
|
|
2223
1950
|
modalities: z.nullable(z.array(exports.UpdateAgentFallbackModelConfigurationAgentsModalities$inboundSchema)).optional(),
|
|
2224
1951
|
guardrails: z.array(z.lazy(() => exports.UpdateAgentFallbackModelConfigurationAgentsGuardrails$inboundSchema)).optional(),
|
|
2225
1952
|
fallbacks: z.array(z.lazy(() => exports.UpdateAgentFallbackModelConfigurationAgentsFallbacks$inboundSchema)).optional(),
|
|
2226
|
-
retry: z.lazy(() => exports.UpdateAgentFallbackModelConfigurationAgentsResponse200Retry$inboundSchema).optional(),
|
|
2227
1953
|
cache: z.lazy(() => exports.UpdateAgentFallbackModelConfigurationAgentsCache$inboundSchema).optional(),
|
|
2228
1954
|
load_balancer: z.lazy(() => exports.UpdateAgentLoadBalancerAgentsResponse2001$inboundSchema).optional(),
|
|
2229
1955
|
timeout: z.lazy(() => exports.UpdateAgentFallbackModelConfigurationAgentsTimeout$inboundSchema).optional(),
|
|
@@ -2232,11 +1958,9 @@ exports.UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema = z.
|
|
|
2232
1958
|
"frequency_penalty": "frequencyPenalty",
|
|
2233
1959
|
"max_tokens": "maxTokens",
|
|
2234
1960
|
"max_completion_tokens": "maxCompletionTokens",
|
|
2235
|
-
"top_logprobs": "topLogprobs",
|
|
2236
1961
|
"presence_penalty": "presencePenalty",
|
|
2237
1962
|
"response_format": "responseFormat",
|
|
2238
1963
|
"reasoning_effort": "reasoningEffort",
|
|
2239
|
-
"stream_options": "streamOptions",
|
|
2240
1964
|
"top_p": "topP",
|
|
2241
1965
|
"top_k": "topK",
|
|
2242
1966
|
"tool_choice": "toolChoice",
|
|
@@ -2248,7 +1972,7 @@ function updateAgentFallbackModelConfigurationAgentsParametersFromJSON(jsonStrin
|
|
|
2248
1972
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsParameters' from JSON`);
|
|
2249
1973
|
}
|
|
2250
1974
|
/** @internal */
|
|
2251
|
-
exports.
|
|
1975
|
+
exports.UpdateAgentFallbackModelConfigurationAgentsRetry$inboundSchema = z.object({
|
|
2252
1976
|
count: z.number().default(3),
|
|
2253
1977
|
on_codes: z.array(z.number()).optional(),
|
|
2254
1978
|
}).transform((v) => {
|
|
@@ -2256,15 +1980,14 @@ exports.UpdateAgentFallbackModelConfigurationAgentsResponseRetry$inboundSchema =
|
|
|
2256
1980
|
"on_codes": "onCodes",
|
|
2257
1981
|
});
|
|
2258
1982
|
});
|
|
2259
|
-
function
|
|
2260
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
2261
|
-
.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsResponseRetry' from JSON`);
|
|
1983
|
+
function updateAgentFallbackModelConfigurationAgentsRetryFromJSON(jsonString) {
|
|
1984
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentFallbackModelConfigurationAgentsRetry$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbackModelConfigurationAgentsRetry' from JSON`);
|
|
2262
1985
|
}
|
|
2263
1986
|
/** @internal */
|
|
2264
1987
|
exports.UpdateAgentFallbackModelConfigurationAgents2$inboundSchema = z.object({
|
|
2265
1988
|
id: z.string(),
|
|
2266
1989
|
parameters: z.lazy(() => exports.UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema).optional(),
|
|
2267
|
-
retry: z.lazy(() => exports.
|
|
1990
|
+
retry: z.lazy(() => exports.UpdateAgentFallbackModelConfigurationAgentsRetry$inboundSchema).optional(),
|
|
2268
1991
|
});
|
|
2269
1992
|
function updateAgentFallbackModelConfigurationAgents2FromJSON(jsonString) {
|
|
2270
1993
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UpdateAgentFallbackModelConfigurationAgents2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateAgentFallbackModelConfigurationAgents2' from JSON`);
|