@orq-ai/node 4.5.0-rc.9 → 4.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -28
- package/funcs/agentsList.d.ts +1 -1
- package/funcs/agentsList.d.ts.map +1 -1
- package/funcs/agentsList.js +5 -3
- package/funcs/agentsList.js.map +1 -1
- package/funcs/agentsPostV2AgentsA2a.d.ts +18 -0
- package/funcs/agentsPostV2AgentsA2a.d.ts.map +1 -0
- package/funcs/agentsPostV2AgentsA2a.js +120 -0
- package/funcs/agentsPostV2AgentsA2a.js.map +1 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts +18 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts.map +1 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.js +124 -0
- package/funcs/agentsPostV2AgentsKeyCardRefresh.js.map +1 -0
- package/funcs/agentsResponsesGet.d.ts +19 -0
- package/funcs/agentsResponsesGet.d.ts.map +1 -0
- package/funcs/agentsResponsesGet.js +128 -0
- package/funcs/agentsResponsesGet.js.map +1 -0
- package/funcs/agentsStream.js +4 -2
- package/funcs/agentsStream.js.map +1 -1
- package/funcs/agentsStreamRun.js +4 -2
- package/funcs/agentsStreamRun.js.map +1 -1
- package/funcs/agentsUpdate.d.ts +1 -1
- package/funcs/agentsUpdate.d.ts.map +1 -1
- package/funcs/agentsUpdate.js.map +1 -1
- package/funcs/deploymentsStream.js +4 -2
- package/funcs/deploymentsStream.js.map +1 -1
- package/funcs/filesCreate.d.ts +1 -1
- package/funcs/filesCreate.js +8 -1
- package/funcs/filesCreate.js.map +1 -1
- package/funcs/routerAudioTranscriptionsCreate.js +7 -0
- package/funcs/routerAudioTranscriptionsCreate.js.map +1 -1
- package/funcs/routerAudioTranslationsCreate.js +7 -0
- package/funcs/routerAudioTranslationsCreate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/event-streams.d.ts +5 -0
- package/lib/event-streams.d.ts.map +1 -1
- package/lib/event-streams.js.map +1 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +0 -1
- package/lib/matchers.js.map +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +1 -2
- package/lib/security.js.map +1 -1
- 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/extendedmessage.d.ts +71 -0
- package/models/components/extendedmessage.d.ts.map +1 -0
- package/models/components/extendedmessage.js +98 -0
- package/models/components/extendedmessage.js.map +1 -0
- package/models/components/getagentresponse.d.ts +157 -0
- package/models/components/getagentresponse.d.ts.map +1 -0
- package/models/components/getagentresponse.js +175 -0
- package/models/components/getagentresponse.js.map +1 -0
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -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/errors/index.d.ts +2 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +2 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/postv2agentsa2a.d.ts +43 -0
- package/models/errors/postv2agentsa2a.d.ts.map +1 -0
- package/models/errors/postv2agentsa2a.js +94 -0
- package/models/errors/postv2agentsa2a.js.map +1 -0
- package/models/errors/postv2agentskeycardrefresh.d.ts +43 -0
- package/models/errors/postv2agentskeycardrefresh.d.ts.map +1 -0
- package/models/errors/postv2agentskeycardrefresh.js +94 -0
- package/models/errors/postv2agentskeycardrefresh.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +113 -500
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +103 -343
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +22 -1
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +12 -2
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createannotation.d.ts +1 -1
- package/models/operations/createannotation.d.ts.map +1 -1
- package/models/operations/createannotation.js +4 -0
- package/models/operations/createannotation.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +15 -2
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +3 -1
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createcompletion.d.ts +6 -2
- package/models/operations/createcompletion.d.ts.map +1 -1
- package/models/operations/createcompletion.js +2 -1
- package/models/operations/createcompletion.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/createfeedback.d.ts +2 -2
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createprompt.d.ts +33 -32
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +33 -30
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createresponse.d.ts.map +1 -1
- package/models/operations/createresponse.js +2 -1
- package/models/operations/createresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentinvoke.d.ts +15 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +17 -1
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +1 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +15 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +17 -1
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +1 -1
- package/models/operations/filelist.js +1 -1
- package/models/operations/fileupload.js +1 -1
- package/models/operations/getagentresponse.d.ts +20 -0
- package/models/operations/getagentresponse.d.ts.map +1 -0
- package/models/operations/getagentresponse.js +56 -0
- package/models/operations/getagentresponse.js.map +1 -0
- package/models/operations/getallprompts.d.ts +1 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneprompt.d.ts +1 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +26 -1
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +12 -1
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +114 -241
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +94 -182
- 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/listpromptversions.d.ts +1 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/postv2agentsa2a.d.ts +119 -0
- package/models/operations/postv2agentsa2a.d.ts.map +1 -0
- package/models/operations/postv2agentsa2a.js +147 -0
- package/models/operations/postv2agentsa2a.js.map +1 -0
- package/models/operations/postv2agentskeycardrefresh.d.ts +35 -0
- package/models/operations/postv2agentskeycardrefresh.d.ts.map +1 -0
- package/models/operations/postv2agentskeycardrefresh.js +71 -0
- package/models/operations/postv2agentskeycardrefresh.js.map +1 -0
- package/models/operations/retrieveagentrequest.d.ts +96 -242
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +84 -185
- 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 +27 -265
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +26 -163
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +22 -1
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +11 -1
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +13 -255
- 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 +190 -507
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +144 -348
- 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.d.ts +48 -0
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +60 -20
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatememorystore.d.ts +2 -43
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +2 -45
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +1 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +1 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.d.ts +60 -0
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +63 -9
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +3 -4
- package/packages/orq-rc/examples/contactsCreate.example.ts +42 -0
- package/packages/orq-rc/src/core.ts +13 -0
- package/packages/orq-rc/src/funcs/agentsCreate.ts +161 -0
- package/packages/orq-rc/src/funcs/agentsDelete.ts +180 -0
- package/packages/orq-rc/src/funcs/agentsInvoke.ts +177 -0
- package/packages/orq-rc/src/funcs/agentsList.ts +184 -0
- package/packages/orq-rc/src/funcs/agentsPostV2AgentsA2a.ts +178 -0
- package/packages/orq-rc/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +187 -0
- package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +183 -0
- package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +182 -0
- package/packages/orq-rc/src/funcs/agentsRetrieve.ts +180 -0
- package/packages/orq-rc/src/funcs/agentsRun.ts +162 -0
- package/packages/orq-rc/src/funcs/agentsStream.ts +204 -0
- package/packages/orq-rc/src/funcs/agentsStreamRun.ts +189 -0
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +184 -0
- package/packages/orq-rc/src/funcs/annotationsCreate.ts +171 -0
- package/packages/orq-rc/src/funcs/annotationsDelete.ts +171 -0
- package/packages/orq-rc/src/funcs/chunkingParse.ts +160 -0
- package/packages/orq-rc/src/funcs/contactsCreate.ts +160 -0
- package/packages/orq-rc/src/funcs/datasetsClear.ts +167 -0
- package/packages/orq-rc/src/funcs/datasetsCreate.ts +165 -0
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +171 -0
- package/packages/orq-rc/src/funcs/datasetsDelete.ts +167 -0
- package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +182 -0
- package/packages/orq-rc/src/funcs/datasetsList.ts +167 -0
- package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +174 -0
- package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +175 -0
- package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +181 -0
- package/packages/orq-rc/src/funcs/datasetsUpdate.ts +176 -0
- package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +179 -0
- package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +168 -0
- package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +176 -0
- package/packages/orq-rc/src/funcs/deploymentsList.ts +176 -0
- package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +168 -0
- package/packages/orq-rc/src/funcs/deploymentsStream.ts +186 -0
- package/packages/orq-rc/src/funcs/evalsAll.ts +173 -0
- package/packages/orq-rc/src/funcs/evalsCreate.ts +169 -0
- package/packages/orq-rc/src/funcs/evalsDelete.ts +173 -0
- package/packages/orq-rc/src/funcs/evalsInvoke.ts +181 -0
- package/packages/orq-rc/src/funcs/evalsUpdate.ts +173 -0
- package/packages/orq-rc/src/funcs/evaluatorsGetV2EvaluatorsIdVersions.ts +183 -0
- package/packages/orq-rc/src/funcs/feedbackCreate.ts +160 -0
- package/packages/orq-rc/src/funcs/filesCreate.ts +198 -0
- package/packages/orq-rc/src/funcs/filesDelete.ts +164 -0
- package/packages/orq-rc/src/funcs/filesGet.ts +166 -0
- package/packages/orq-rc/src/funcs/filesList.ts +167 -0
- package/packages/orq-rc/src/funcs/identitiesCreate.ts +165 -0
- package/packages/orq-rc/src/funcs/identitiesDelete.ts +176 -0
- package/packages/orq-rc/src/funcs/identitiesList.ts +170 -0
- package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +175 -0
- package/packages/orq-rc/src/funcs/identitiesUpdate.ts +176 -0
- package/packages/orq-rc/src/funcs/knowledgeCreate.ts +158 -0
- package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +171 -0
- package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +166 -0
- package/packages/orq-rc/src/funcs/knowledgeDelete.ts +167 -0
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +174 -0
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +170 -0
- package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +173 -0
- package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +170 -0
- package/packages/orq-rc/src/funcs/knowledgeList.ts +169 -0
- package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +178 -0
- package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +171 -0
- package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +174 -0
- package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +166 -0
- package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +173 -0
- package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +169 -0
- package/packages/orq-rc/src/funcs/knowledgeSearch.ts +167 -0
- package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +164 -0
- package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +174 -0
- package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +170 -0
- package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +162 -0
- package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +176 -0
- package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +170 -0
- package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +168 -0
- package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +185 -0
- package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +180 -0
- package/packages/orq-rc/src/funcs/memoryStoresList.ts +178 -0
- package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +184 -0
- package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +177 -0
- package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +177 -0
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +179 -0
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +174 -0
- package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +168 -0
- package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +180 -0
- package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +175 -0
- package/packages/orq-rc/src/funcs/modelsList.ts +142 -0
- package/packages/orq-rc/src/funcs/promptsCreate.ts +160 -0
- package/packages/orq-rc/src/funcs/promptsDelete.ts +173 -0
- package/packages/orq-rc/src/funcs/promptsGetVersion.ts +181 -0
- package/packages/orq-rc/src/funcs/promptsList.ts +167 -0
- package/packages/orq-rc/src/funcs/promptsListVersions.ts +173 -0
- package/packages/orq-rc/src/funcs/promptsRetrieve.ts +166 -0
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +173 -0
- package/packages/orq-rc/src/funcs/remoteconfigsRetrieve.ts +161 -0
- package/packages/orq-rc/src/funcs/routerAudioSpeechCreate.ts +161 -0
- package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +273 -0
- package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +263 -0
- package/packages/orq-rc/src/funcs/routerChatCompletionsCreate.ts +168 -0
- package/packages/orq-rc/src/funcs/routerCompletionsCreate.ts +168 -0
- package/packages/orq-rc/src/funcs/routerEmbeddingsCreate.ts +161 -0
- package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +222 -0
- package/packages/orq-rc/src/funcs/routerImagesGenerationsCreate.ts +160 -0
- package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +218 -0
- package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +167 -0
- package/packages/orq-rc/src/funcs/routerOcr.ts +158 -0
- package/packages/orq-rc/src/funcs/routerRerankCreate.ts +160 -0
- package/packages/orq-rc/src/funcs/routerResponsesCreate.ts +167 -0
- package/packages/orq-rc/src/funcs/toolsCreate.ts +163 -0
- package/packages/orq-rc/src/funcs/toolsDelete.ts +167 -0
- package/packages/orq-rc/src/funcs/toolsGetV2ToolsToolIdVersions.ts +183 -0
- package/packages/orq-rc/src/funcs/toolsGetV2ToolsToolIdVersionsVersionId.ts +190 -0
- package/packages/orq-rc/src/funcs/toolsList.ts +176 -0
- package/packages/orq-rc/src/funcs/toolsRetrieve.ts +166 -0
- package/packages/orq-rc/src/funcs/toolsUpdate.ts +176 -0
- package/packages/orq-rc/src/hooks/global.ts +44 -0
- package/packages/orq-rc/src/hooks/hooks.ts +132 -0
- package/packages/orq-rc/src/hooks/index.ts +6 -0
- package/packages/orq-rc/src/hooks/registration.ts +15 -0
- package/packages/orq-rc/src/hooks/types.ts +112 -0
- package/packages/orq-rc/src/index.ts +9 -0
- package/packages/orq-rc/src/lib/base64.ts +37 -0
- package/packages/orq-rc/src/lib/config.ts +74 -0
- package/packages/orq-rc/src/lib/dlv.ts +53 -0
- package/packages/orq-rc/src/lib/encodings.ts +497 -0
- package/packages/orq-rc/src/lib/env.ts +89 -0
- package/packages/orq-rc/src/lib/event-streams.ts +161 -0
- package/packages/orq-rc/src/lib/files.ts +82 -0
- package/packages/orq-rc/src/lib/http.ts +323 -0
- package/packages/orq-rc/src/lib/is-plain-object.ts +43 -0
- package/packages/orq-rc/src/lib/logger.ts +9 -0
- package/packages/orq-rc/src/lib/matchers.ts +346 -0
- package/packages/orq-rc/src/lib/primitives.ts +150 -0
- package/packages/orq-rc/src/lib/retries.ts +218 -0
- package/packages/orq-rc/src/lib/schemas.ts +91 -0
- package/packages/orq-rc/src/lib/sdks.ts +407 -0
- package/packages/orq-rc/src/lib/security.ts +263 -0
- package/packages/orq-rc/src/lib/url.ts +33 -0
- package/packages/orq-rc/src/models/components/actionreviewedstreamingevent.ts +99 -0
- package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +185 -0
- package/packages/orq-rc/src/models/components/agenterroredstreamingevent.ts +73 -0
- package/packages/orq-rc/src/models/components/agentexecutionstartedstreamingevent.ts +91 -0
- package/packages/orq-rc/src/models/components/agenthandedoffstreamingevent.ts +71 -0
- package/packages/orq-rc/src/models/components/agentinactivestreamingevent.ts +507 -0
- package/packages/orq-rc/src/models/components/agentmessagecreatedstreamingevent.ts +165 -0
- package/packages/orq-rc/src/models/components/agentresponsemessage.ts +103 -0
- package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +517 -0
- package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +807 -0
- package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +136 -0
- package/packages/orq-rc/src/models/components/createagentresponse.ts +305 -0
- package/packages/orq-rc/src/models/components/datapart.ts +38 -0
- package/packages/orq-rc/src/models/components/errorpart.ts +58 -0
- package/packages/orq-rc/src/models/components/errorstreamingevent.ts +66 -0
- package/packages/orq-rc/src/models/components/executionnamedstreamingevent.ts +71 -0
- package/packages/orq-rc/src/models/components/executionreviewedstreamingevent.ts +61 -0
- package/packages/orq-rc/src/models/components/executionreviewrequiredstreamingevent.ts +67 -0
- package/packages/orq-rc/src/models/components/extendedmessage.ts +146 -0
- package/packages/orq-rc/src/models/components/filecontentpartschema.ts +87 -0
- package/packages/orq-rc/src/models/components/filepart.ts +218 -0
- package/packages/orq-rc/src/models/components/getagentresponse.ts +348 -0
- package/packages/orq-rc/src/models/components/imagecontentpartschema.ts +268 -0
- package/packages/orq-rc/src/models/components/index.ts +59 -0
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +3450 -0
- package/packages/orq-rc/src/models/components/partdelta.ts +39 -0
- package/packages/orq-rc/src/models/components/partdeltaevent.ts +73 -0
- package/packages/orq-rc/src/models/components/partdoneevent.ts +139 -0
- package/packages/orq-rc/src/models/components/publiccontact.ts +71 -0
- package/packages/orq-rc/src/models/components/publicidentity.ts +69 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +62 -0
- package/packages/orq-rc/src/models/components/reasoningpartschema.ts +71 -0
- package/packages/orq-rc/src/models/components/redactedreasoningpartschema.ts +66 -0
- package/packages/orq-rc/src/models/components/refusalpartschema.ts +64 -0
- package/packages/orq-rc/src/models/components/responsedoneevent.ts +324 -0
- package/packages/orq-rc/src/models/components/responsefailedevent.ts +72 -0
- package/packages/orq-rc/src/models/components/responsestartedevent.ts +97 -0
- package/packages/orq-rc/src/models/components/responsestreamingevent.ts +85 -0
- package/packages/orq-rc/src/models/components/reviewoutcome.ts +23 -0
- package/packages/orq-rc/src/models/components/security.ts +32 -0
- package/packages/orq-rc/src/models/components/telemetry.ts +48 -0
- package/packages/orq-rc/src/models/components/textcontentpartschema.ts +207 -0
- package/packages/orq-rc/src/models/components/textpart.ts +54 -0
- package/packages/orq-rc/src/models/components/thinkingconfigdisabledschema.ts +59 -0
- package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +106 -0
- package/packages/orq-rc/src/models/components/timeoutstreamingevent.ts +64 -0
- package/packages/orq-rc/src/models/components/toolcallpart.ts +51 -0
- package/packages/orq-rc/src/models/components/tooldoneevent.ts +77 -0
- package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +230 -0
- package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +214 -0
- package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +200 -0
- package/packages/orq-rc/src/models/components/toolfailedevent.ts +77 -0
- package/packages/orq-rc/src/models/components/toolresultpart.ts +71 -0
- package/packages/orq-rc/src/models/components/toolreviewdoneevent.ts +78 -0
- package/packages/orq-rc/src/models/components/toolreviewrequestedevent.ts +87 -0
- package/packages/orq-rc/src/models/components/toolstartedevent.ts +82 -0
- package/packages/orq-rc/src/models/errors/apierror.ts +40 -0
- package/packages/orq-rc/src/models/errors/createeval.ts +51 -0
- package/packages/orq-rc/src/models/errors/createmoderation.ts +84 -0
- package/packages/orq-rc/src/models/errors/createtranscription.ts +87 -0
- package/packages/orq-rc/src/models/errors/createtranslation.ts +87 -0
- package/packages/orq-rc/src/models/errors/deleteagent.ts +51 -0
- package/packages/orq-rc/src/models/errors/deleteeval.ts +51 -0
- package/packages/orq-rc/src/models/errors/deleteidentity.ts +62 -0
- package/packages/orq-rc/src/models/errors/deleteprompt.ts +51 -0
- package/packages/orq-rc/src/models/errors/getevals.ts +51 -0
- package/packages/orq-rc/src/models/errors/getpromptversion.ts +51 -0
- package/packages/orq-rc/src/models/errors/getv2evaluatorsidversions.ts +51 -0
- package/packages/orq-rc/src/models/errors/getv2toolstoolidversions.ts +51 -0
- package/packages/orq-rc/src/models/errors/getv2toolstoolidversionsversionid.ts +52 -0
- package/packages/orq-rc/src/models/errors/honoapierror.ts +59 -0
- package/packages/orq-rc/src/models/errors/httpclienterrors.ts +62 -0
- package/packages/orq-rc/src/models/errors/index.ts +35 -0
- package/packages/orq-rc/src/models/errors/invokeeval.ts +141 -0
- package/packages/orq-rc/src/models/errors/orqerror.ts +35 -0
- package/packages/orq-rc/src/models/errors/postv2agentsa2a.ts +96 -0
- package/packages/orq-rc/src/models/errors/postv2agentskeycardrefresh.ts +97 -0
- package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +50 -0
- package/packages/orq-rc/src/models/errors/retrieveagentrequest.ts +51 -0
- package/packages/orq-rc/src/models/errors/retrieveidentity.ts +62 -0
- package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +109 -0
- package/packages/orq-rc/src/models/errors/streamagent.ts +51 -0
- package/packages/orq-rc/src/models/errors/streamrunagent.ts +51 -0
- package/packages/orq-rc/src/models/errors/updateagent.ts +51 -0
- package/packages/orq-rc/src/models/errors/updateeval.ts +51 -0
- package/packages/orq-rc/src/models/errors/updateidentity.ts +54 -0
- package/packages/orq-rc/src/models/errors/updateprompt.ts +51 -0
- package/packages/orq-rc/src/models/errors/updatetool.ts +62 -0
- package/packages/orq-rc/src/models/operations/cleardataset.ts +39 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +6393 -0
- package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +644 -0
- package/packages/orq-rc/src/models/operations/createannotation.ts +166 -0
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +6392 -0
- package/packages/orq-rc/src/models/operations/createchunk.ts +222 -0
- package/packages/orq-rc/src/models/operations/createcompletion.ts +3418 -0
- package/packages/orq-rc/src/models/operations/createcontact.ts +156 -0
- package/packages/orq-rc/src/models/operations/createdataset.ts +162 -0
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2551 -0
- package/packages/orq-rc/src/models/operations/createdatasource.ts +437 -0
- package/packages/orq-rc/src/models/operations/createembedding.ts +947 -0
- package/packages/orq-rc/src/models/operations/createeval.ts +4170 -0
- package/packages/orq-rc/src/models/operations/createfeedback.ts +144 -0
- package/packages/orq-rc/src/models/operations/createidentity.ts +162 -0
- package/packages/orq-rc/src/models/operations/createimage.ts +1028 -0
- package/packages/orq-rc/src/models/operations/createimageedit.ts +1045 -0
- package/packages/orq-rc/src/models/operations/createimagevariation.ts +1067 -0
- package/packages/orq-rc/src/models/operations/createknowledge.ts +944 -0
- package/packages/orq-rc/src/models/operations/creatememory.ts +142 -0
- package/packages/orq-rc/src/models/operations/creatememorydocument.ts +152 -0
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +199 -0
- package/packages/orq-rc/src/models/operations/createmoderation.ts +664 -0
- package/packages/orq-rc/src/models/operations/createprompt.ts +5391 -0
- package/packages/orq-rc/src/models/operations/creatererank.ts +890 -0
- package/packages/orq-rc/src/models/operations/createresponse.ts +3325 -0
- package/packages/orq-rc/src/models/operations/createspeech.ts +700 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +2499 -0
- package/packages/orq-rc/src/models/operations/createtranscription.ts +955 -0
- package/packages/orq-rc/src/models/operations/createtranslation.ts +930 -0
- package/packages/orq-rc/src/models/operations/deleteagent.ts +39 -0
- package/packages/orq-rc/src/models/operations/deleteannotation.ts +79 -0
- package/packages/orq-rc/src/models/operations/deletechunk.ts +53 -0
- package/packages/orq-rc/src/models/operations/deletechunks.ts +125 -0
- package/packages/orq-rc/src/models/operations/deletedatapoint.ts +46 -0
- package/packages/orq-rc/src/models/operations/deletedataset.ts +39 -0
- package/packages/orq-rc/src/models/operations/deletedatasource.ts +46 -0
- package/packages/orq-rc/src/models/operations/deleteeval.ts +31 -0
- package/packages/orq-rc/src/models/operations/deleteidentity.ts +34 -0
- package/packages/orq-rc/src/models/operations/deleteknowledge.ts +39 -0
- package/packages/orq-rc/src/models/operations/deletememory.ts +46 -0
- package/packages/orq-rc/src/models/operations/deletememorydocument.ts +55 -0
- package/packages/orq-rc/src/models/operations/deletememorystore.ts +39 -0
- package/packages/orq-rc/src/models/operations/deleteprompt.ts +34 -0
- package/packages/orq-rc/src/models/operations/deletetool.ts +36 -0
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +2370 -0
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +4525 -0
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +729 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +1269 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +4653 -0
- package/packages/orq-rc/src/models/operations/filedelete.ts +39 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +116 -0
- package/packages/orq-rc/src/models/operations/filelist.ts +172 -0
- package/packages/orq-rc/src/models/operations/fileupload.ts +170 -0
- package/packages/orq-rc/src/models/operations/getagentresponse.ts +46 -0
- package/packages/orq-rc/src/models/operations/getallmemories.ts +173 -0
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +188 -0
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +200 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +3165 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +1398 -0
- package/packages/orq-rc/src/models/operations/getchunkscount.ts +121 -0
- package/packages/orq-rc/src/models/operations/getevals.ts +2842 -0
- package/packages/orq-rc/src/models/operations/getonechunk.ts +171 -0
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +652 -0
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +3090 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +3135 -0
- package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +162 -0
- package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +163 -0
- package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +110 -0
- package/packages/orq-rc/src/models/operations/index.ts +116 -0
- package/packages/orq-rc/src/models/operations/invokeagent.ts +777 -0
- package/packages/orq-rc/src/models/operations/invokeeval.ts +1253 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +2754 -0
- package/packages/orq-rc/src/models/operations/listchunks.ts +260 -0
- package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +263 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +1498 -0
- package/packages/orq-rc/src/models/operations/listdatasets.ts +205 -0
- package/packages/orq-rc/src/models/operations/listdatasources.ts +235 -0
- package/packages/orq-rc/src/models/operations/listidentities.ts +275 -0
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +642 -0
- package/packages/orq-rc/src/models/operations/listmodels.ts +143 -0
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +3210 -0
- package/packages/orq-rc/src/models/operations/parse.ts +777 -0
- package/packages/orq-rc/src/models/operations/postv2agentsa2a.ts +252 -0
- package/packages/orq-rc/src/models/operations/postv2agentskeycardrefresh.ts +100 -0
- package/packages/orq-rc/src/models/operations/postv2routerocr.ts +478 -0
- package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +108 -0
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +2814 -0
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +1402 -0
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +150 -0
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +152 -0
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +117 -0
- package/packages/orq-rc/src/models/operations/retrievememory.ts +112 -0
- package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +118 -0
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +144 -0
- package/packages/orq-rc/src/models/operations/retrievetool.ts +1379 -0
- package/packages/orq-rc/src/models/operations/runagent.ts +4927 -0
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +1762 -0
- package/packages/orq-rc/src/models/operations/streamagent.ts +668 -0
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +5089 -0
- package/packages/orq-rc/src/models/operations/updateagent.ts +6824 -0
- package/packages/orq-rc/src/models/operations/updatechunk.ts +236 -0
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2555 -0
- package/packages/orq-rc/src/models/operations/updatedataset.ts +206 -0
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +186 -0
- package/packages/orq-rc/src/models/operations/updateeval.ts +4152 -0
- package/packages/orq-rc/src/models/operations/updateidentity.ts +189 -0
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +1231 -0
- package/packages/orq-rc/src/models/operations/updatememory.ts +142 -0
- package/packages/orq-rc/src/models/operations/updatememorydocument.ts +159 -0
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +188 -0
- package/packages/orq-rc/src/models/operations/updateprompt.ts +5473 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +2810 -0
- package/packages/orq-rc/src/sdk/agents.ts +234 -0
- package/packages/orq-rc/src/sdk/annotations.ts +39 -0
- package/packages/orq-rc/src/sdk/audio.ts +25 -0
- package/packages/orq-rc/src/sdk/chat.ts +13 -0
- package/packages/orq-rc/src/sdk/chunking.ts +27 -0
- package/packages/orq-rc/src/sdk/completions.ts +32 -0
- package/packages/orq-rc/src/sdk/contacts.ts +27 -0
- package/packages/orq-rc/src/sdk/datasets.ts +204 -0
- package/packages/orq-rc/src/sdk/deployments.ts +89 -0
- package/packages/orq-rc/src/sdk/edits.ts +27 -0
- package/packages/orq-rc/src/sdk/embeddings.ts +27 -0
- package/packages/orq-rc/src/sdk/evals.ts +84 -0
- package/packages/orq-rc/src/sdk/evaluators.ts +27 -0
- package/packages/orq-rc/src/sdk/feedback.ts +27 -0
- package/packages/orq-rc/src/sdk/files.ts +78 -0
- package/packages/orq-rc/src/sdk/generations.ts +27 -0
- package/packages/orq-rc/src/sdk/identities.ts +99 -0
- package/packages/orq-rc/src/sdk/images.ts +25 -0
- package/packages/orq-rc/src/sdk/index.ts +5 -0
- package/packages/orq-rc/src/sdk/knowledge.ts +309 -0
- package/packages/orq-rc/src/sdk/memorystores.ts +286 -0
- package/packages/orq-rc/src/sdk/metrics.ts +27 -0
- package/packages/orq-rc/src/sdk/models.ts +25 -0
- package/packages/orq-rc/src/sdk/moderations.ts +24 -0
- package/packages/orq-rc/src/sdk/orqcompletions.ts +32 -0
- package/packages/orq-rc/src/sdk/orqresponses.ts +32 -0
- package/packages/orq-rc/src/sdk/prompts.ts +126 -0
- package/packages/orq-rc/src/sdk/remoteconfigs.ts +24 -0
- package/packages/orq-rc/src/sdk/rerank.ts +27 -0
- package/packages/orq-rc/src/sdk/responses.ts +53 -0
- package/packages/orq-rc/src/sdk/router.ts +72 -0
- package/packages/orq-rc/src/sdk/sdk.ts +115 -0
- package/packages/orq-rc/src/sdk/speech.ts +27 -0
- package/packages/orq-rc/src/sdk/tools.ts +135 -0
- package/packages/orq-rc/src/sdk/transcriptions.ts +24 -0
- package/packages/orq-rc/src/sdk/translations.ts +24 -0
- package/packages/orq-rc/src/sdk/variations.ts +27 -0
- package/packages/orq-rc/src/types/async.ts +68 -0
- package/packages/orq-rc/src/types/blobs.ts +32 -0
- package/packages/orq-rc/src/types/constdatetime.ts +15 -0
- package/packages/orq-rc/src/types/enums.ts +45 -0
- package/packages/orq-rc/src/types/fp.ts +50 -0
- package/packages/orq-rc/src/types/index.ts +11 -0
- package/packages/orq-rc/src/types/operations.ts +105 -0
- package/packages/orq-rc/src/types/rfcdate.ts +54 -0
- package/packages/orq-rc/src/types/streams.ts +21 -0
- package/packages/orq-rc/src/types/unrecognized.ts +35 -0
- package/sdk/agents.d.ts +16 -2
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +22 -2
- package/sdk/agents.js.map +1 -1
- package/sdk/files.d.ts +1 -1
- package/sdk/files.js +1 -1
- package/sdk/responses.d.ts +8 -0
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +10 -0
- package/sdk/responses.js.map +1 -1
- package/src/funcs/agentsList.ts +5 -0
- package/src/funcs/agentsPostV2AgentsA2a.ts +178 -0
- package/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +187 -0
- package/src/funcs/agentsResponsesGet.ts +182 -0
- package/src/funcs/agentsStream.ts +4 -1
- package/src/funcs/agentsStreamRun.ts +4 -1
- package/src/funcs/agentsUpdate.ts +2 -2
- package/src/funcs/deploymentsStream.ts +4 -1
- package/src/funcs/filesCreate.ts +12 -1
- package/src/funcs/routerAudioTranscriptionsCreate.ts +11 -0
- package/src/funcs/routerAudioTranslationsCreate.ts +11 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/event-streams.ts +10 -1
- package/src/lib/matchers.ts +3 -2
- package/src/lib/security.ts +1 -2
- package/src/models/components/createagentresponse.ts +6 -0
- package/src/models/components/extendedmessage.ts +146 -0
- package/src/models/components/getagentresponse.ts +348 -0
- package/src/models/components/index.ts +3 -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/errors/index.ts +2 -0
- package/src/models/errors/postv2agentsa2a.ts +96 -0
- package/src/models/errors/postv2agentskeycardrefresh.ts +97 -0
- package/src/models/operations/createagentrequest.ts +243 -943
- package/src/models/operations/createagentresponserequest.ts +37 -2
- package/src/models/operations/createannotation.ts +5 -1
- package/src/models/operations/createchatcompletion.ts +14 -3
- package/src/models/operations/createcompletion.ts +8 -3
- 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/createfeedback.ts +2 -2
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createprompt.ts +59 -69
- package/src/models/operations/createresponse.ts +2 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentinvoke.ts +39 -0
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/deploymentstream.ts +39 -0
- 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/getagentresponse.ts +46 -0
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/invokeagent.ts +45 -1
- package/src/models/operations/listagents.ts +218 -482
- 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/listpromptversions.ts +1 -0
- package/src/models/operations/postv2agentsa2a.ts +252 -0
- package/src/models/operations/postv2agentskeycardrefresh.ts +100 -0
- package/src/models/operations/retrieveagentrequest.ts +207 -497
- 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 +69 -493
- package/src/models/operations/streamagent.ts +40 -1
- package/src/models/operations/streamrunagent.ts +36 -493
- package/src/models/operations/updateagent.ts +380 -1003
- 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 +102 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatememorystore.ts +3 -61
- package/src/models/operations/updateprompt.ts +1 -0
- package/src/models/operations/updatetool.ts +121 -7
- package/src/sdk/agents.ts +39 -1
- package/src/sdk/files.ts +1 -1
- package/src/sdk/responses.ts +19 -0
|
@@ -3,48 +3,6 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import * as components from "../components/index.js";
|
|
5
5
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
6
|
-
/**
|
|
7
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
8
|
-
*/
|
|
9
|
-
export declare const ModelConfigurationVoice: {
|
|
10
|
-
readonly Alloy: "alloy";
|
|
11
|
-
readonly Echo: "echo";
|
|
12
|
-
readonly Fable: "fable";
|
|
13
|
-
readonly Onyx: "onyx";
|
|
14
|
-
readonly Nova: "nova";
|
|
15
|
-
readonly Shimmer: "shimmer";
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
19
|
-
*/
|
|
20
|
-
export type ModelConfigurationVoice = ClosedEnum<typeof ModelConfigurationVoice>;
|
|
21
|
-
/**
|
|
22
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
23
|
-
*/
|
|
24
|
-
export declare const ModelConfigurationFormat: {
|
|
25
|
-
readonly Wav: "wav";
|
|
26
|
-
readonly Mp3: "mp3";
|
|
27
|
-
readonly Flac: "flac";
|
|
28
|
-
readonly Opus: "opus";
|
|
29
|
-
readonly Pcm16: "pcm16";
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
33
|
-
*/
|
|
34
|
-
export type ModelConfigurationFormat = ClosedEnum<typeof ModelConfigurationFormat>;
|
|
35
|
-
/**
|
|
36
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
37
|
-
*/
|
|
38
|
-
export type UpdateAgentModelConfigurationAudio = {
|
|
39
|
-
/**
|
|
40
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
41
|
-
*/
|
|
42
|
-
voice: ModelConfigurationVoice;
|
|
43
|
-
/**
|
|
44
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
45
|
-
*/
|
|
46
|
-
format: ModelConfigurationFormat;
|
|
47
|
-
};
|
|
48
6
|
export type UpdateAgentResponseFormatAgentsJsonSchema = {
|
|
49
7
|
/**
|
|
50
8
|
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
@@ -129,15 +87,6 @@ export type ModelConfigurationReasoningEffort = ClosedEnum<typeof ModelConfigura
|
|
|
129
87
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
130
88
|
*/
|
|
131
89
|
export type ModelConfigurationStop = string | Array<string>;
|
|
132
|
-
/**
|
|
133
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
134
|
-
*/
|
|
135
|
-
export type ModelConfigurationStreamOptions = {
|
|
136
|
-
/**
|
|
137
|
-
* If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
|
|
138
|
-
*/
|
|
139
|
-
includeUsage?: boolean | undefined;
|
|
140
|
-
};
|
|
141
90
|
export type ModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
|
|
142
91
|
/**
|
|
143
92
|
* The type of the tool. Currently, only function is supported.
|
|
@@ -214,19 +163,6 @@ export type ModelConfigurationFallbacks = {
|
|
|
214
163
|
*/
|
|
215
164
|
model: string;
|
|
216
165
|
};
|
|
217
|
-
/**
|
|
218
|
-
* Retry configuration for the request
|
|
219
|
-
*/
|
|
220
|
-
export type UpdateAgentModelConfigurationRetry = {
|
|
221
|
-
/**
|
|
222
|
-
* Number of retry attempts (1-5)
|
|
223
|
-
*/
|
|
224
|
-
count?: number | undefined;
|
|
225
|
-
/**
|
|
226
|
-
* HTTP status codes that trigger retry logic
|
|
227
|
-
*/
|
|
228
|
-
onCodes?: Array<number> | undefined;
|
|
229
|
-
};
|
|
230
166
|
export declare const UpdateAgentModelConfigurationType: {
|
|
231
167
|
readonly ExactMatch: "exact_match";
|
|
232
168
|
};
|
|
@@ -280,10 +216,6 @@ export type ModelConfigurationParameters = {
|
|
|
280
216
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
281
217
|
*/
|
|
282
218
|
name?: string | undefined;
|
|
283
|
-
/**
|
|
284
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
285
|
-
*/
|
|
286
|
-
audio?: UpdateAgentModelConfigurationAudio | null | undefined;
|
|
287
219
|
/**
|
|
288
220
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
|
|
289
221
|
*/
|
|
@@ -300,18 +232,6 @@ export type ModelConfigurationParameters = {
|
|
|
300
232
|
* An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
|
|
301
233
|
*/
|
|
302
234
|
maxCompletionTokens?: number | null | undefined;
|
|
303
|
-
/**
|
|
304
|
-
* Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
|
|
305
|
-
*/
|
|
306
|
-
logprobs?: boolean | null | undefined;
|
|
307
|
-
/**
|
|
308
|
-
* An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
|
|
309
|
-
*/
|
|
310
|
-
topLogprobs?: number | null | undefined;
|
|
311
|
-
/**
|
|
312
|
-
* How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
|
|
313
|
-
*/
|
|
314
|
-
n?: number | null | undefined;
|
|
315
235
|
/**
|
|
316
236
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
|
|
317
237
|
*/
|
|
@@ -345,10 +265,6 @@ export type ModelConfigurationParameters = {
|
|
|
345
265
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
346
266
|
*/
|
|
347
267
|
stop?: string | Array<string> | null | undefined;
|
|
348
|
-
/**
|
|
349
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
350
|
-
*/
|
|
351
|
-
streamOptions?: ModelConfigurationStreamOptions | null | undefined;
|
|
352
268
|
thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
|
|
353
269
|
/**
|
|
354
270
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
@@ -382,10 +298,6 @@ export type ModelConfigurationParameters = {
|
|
|
382
298
|
* Array of fallback models to use if primary model fails
|
|
383
299
|
*/
|
|
384
300
|
fallbacks?: Array<ModelConfigurationFallbacks> | undefined;
|
|
385
|
-
/**
|
|
386
|
-
* Retry configuration for the request
|
|
387
|
-
*/
|
|
388
|
-
retry?: UpdateAgentModelConfigurationRetry | undefined;
|
|
389
301
|
/**
|
|
390
302
|
* Cache configuration for the request.
|
|
391
303
|
*/
|
|
@@ -402,7 +314,7 @@ export type ModelConfigurationParameters = {
|
|
|
402
314
|
/**
|
|
403
315
|
* Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
|
|
404
316
|
*/
|
|
405
|
-
export type
|
|
317
|
+
export type ModelConfigurationRetry = {
|
|
406
318
|
/**
|
|
407
319
|
* Number of retry attempts (1-5)
|
|
408
320
|
*/
|
|
@@ -429,54 +341,12 @@ export type UpdateAgentModelConfiguration2 = {
|
|
|
429
341
|
/**
|
|
430
342
|
* Retry configuration for model requests. Retries are triggered for specific HTTP status codes (e.g., 500, 429, 502, 503, 504). Supports configurable retry count (1-5) and custom status codes.
|
|
431
343
|
*/
|
|
432
|
-
retry?:
|
|
344
|
+
retry?: ModelConfigurationRetry | undefined;
|
|
433
345
|
};
|
|
434
346
|
/**
|
|
435
347
|
* Model configuration for agent execution. Can be a simple model ID string or a configuration object with optional behavior parameters and retry settings.
|
|
436
348
|
*/
|
|
437
349
|
export type UpdateAgentModelConfiguration = UpdateAgentModelConfiguration2 | string;
|
|
438
|
-
/**
|
|
439
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
440
|
-
*/
|
|
441
|
-
export declare const UpdateAgentFallbackModelConfigurationVoice: {
|
|
442
|
-
readonly Alloy: "alloy";
|
|
443
|
-
readonly Echo: "echo";
|
|
444
|
-
readonly Fable: "fable";
|
|
445
|
-
readonly Onyx: "onyx";
|
|
446
|
-
readonly Nova: "nova";
|
|
447
|
-
readonly Shimmer: "shimmer";
|
|
448
|
-
};
|
|
449
|
-
/**
|
|
450
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
451
|
-
*/
|
|
452
|
-
export type UpdateAgentFallbackModelConfigurationVoice = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationVoice>;
|
|
453
|
-
/**
|
|
454
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
455
|
-
*/
|
|
456
|
-
export declare const UpdateAgentFallbackModelConfigurationFormat: {
|
|
457
|
-
readonly Wav: "wav";
|
|
458
|
-
readonly Mp3: "mp3";
|
|
459
|
-
readonly Flac: "flac";
|
|
460
|
-
readonly Opus: "opus";
|
|
461
|
-
readonly Pcm16: "pcm16";
|
|
462
|
-
};
|
|
463
|
-
/**
|
|
464
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
465
|
-
*/
|
|
466
|
-
export type UpdateAgentFallbackModelConfigurationFormat = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationFormat>;
|
|
467
|
-
/**
|
|
468
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
469
|
-
*/
|
|
470
|
-
export type UpdateAgentFallbackModelConfigurationAudio = {
|
|
471
|
-
/**
|
|
472
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
473
|
-
*/
|
|
474
|
-
voice: UpdateAgentFallbackModelConfigurationVoice;
|
|
475
|
-
/**
|
|
476
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
477
|
-
*/
|
|
478
|
-
format: UpdateAgentFallbackModelConfigurationFormat;
|
|
479
|
-
};
|
|
480
350
|
export type UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema = {
|
|
481
351
|
/**
|
|
482
352
|
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
@@ -561,15 +431,6 @@ export type UpdateAgentFallbackModelConfigurationReasoningEffort = ClosedEnum<ty
|
|
|
561
431
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
562
432
|
*/
|
|
563
433
|
export type UpdateAgentFallbackModelConfigurationStop = string | Array<string>;
|
|
564
|
-
/**
|
|
565
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
566
|
-
*/
|
|
567
|
-
export type UpdateAgentFallbackModelConfigurationStreamOptions = {
|
|
568
|
-
/**
|
|
569
|
-
* If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
|
|
570
|
-
*/
|
|
571
|
-
includeUsage?: boolean | undefined;
|
|
572
|
-
};
|
|
573
434
|
export type UpdateAgentFallbackModelConfigurationThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
|
|
574
435
|
/**
|
|
575
436
|
* The type of the tool. Currently, only function is supported.
|
|
@@ -646,19 +507,6 @@ export type UpdateAgentFallbackModelConfigurationFallbacks = {
|
|
|
646
507
|
*/
|
|
647
508
|
model: string;
|
|
648
509
|
};
|
|
649
|
-
/**
|
|
650
|
-
* Retry configuration for the request
|
|
651
|
-
*/
|
|
652
|
-
export type UpdateAgentFallbackModelConfigurationRetry = {
|
|
653
|
-
/**
|
|
654
|
-
* Number of retry attempts (1-5)
|
|
655
|
-
*/
|
|
656
|
-
count?: number | undefined;
|
|
657
|
-
/**
|
|
658
|
-
* HTTP status codes that trigger retry logic
|
|
659
|
-
*/
|
|
660
|
-
onCodes?: Array<number> | undefined;
|
|
661
|
-
};
|
|
662
510
|
export declare const UpdateAgentFallbackModelConfigurationType: {
|
|
663
511
|
readonly ExactMatch: "exact_match";
|
|
664
512
|
};
|
|
@@ -712,10 +560,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
|
|
|
712
560
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
713
561
|
*/
|
|
714
562
|
name?: string | undefined;
|
|
715
|
-
/**
|
|
716
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
717
|
-
*/
|
|
718
|
-
audio?: UpdateAgentFallbackModelConfigurationAudio | null | undefined;
|
|
719
563
|
/**
|
|
720
564
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
|
|
721
565
|
*/
|
|
@@ -732,18 +576,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
|
|
|
732
576
|
* An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
|
|
733
577
|
*/
|
|
734
578
|
maxCompletionTokens?: number | null | undefined;
|
|
735
|
-
/**
|
|
736
|
-
* Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
|
|
737
|
-
*/
|
|
738
|
-
logprobs?: boolean | null | undefined;
|
|
739
|
-
/**
|
|
740
|
-
* An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
|
|
741
|
-
*/
|
|
742
|
-
topLogprobs?: number | null | undefined;
|
|
743
|
-
/**
|
|
744
|
-
* How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
|
|
745
|
-
*/
|
|
746
|
-
n?: number | null | undefined;
|
|
747
579
|
/**
|
|
748
580
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
|
|
749
581
|
*/
|
|
@@ -777,10 +609,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
|
|
|
777
609
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
778
610
|
*/
|
|
779
611
|
stop?: string | Array<string> | null | undefined;
|
|
780
|
-
/**
|
|
781
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
782
|
-
*/
|
|
783
|
-
streamOptions?: UpdateAgentFallbackModelConfigurationStreamOptions | null | undefined;
|
|
784
612
|
thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
|
|
785
613
|
/**
|
|
786
614
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
@@ -814,10 +642,6 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
|
|
|
814
642
|
* Array of fallback models to use if primary model fails
|
|
815
643
|
*/
|
|
816
644
|
fallbacks?: Array<UpdateAgentFallbackModelConfigurationFallbacks> | undefined;
|
|
817
|
-
/**
|
|
818
|
-
* Retry configuration for the request
|
|
819
|
-
*/
|
|
820
|
-
retry?: UpdateAgentFallbackModelConfigurationRetry | undefined;
|
|
821
645
|
/**
|
|
822
646
|
* Cache configuration for the request.
|
|
823
647
|
*/
|
|
@@ -834,7 +658,7 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
|
|
|
834
658
|
/**
|
|
835
659
|
* Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
|
|
836
660
|
*/
|
|
837
|
-
export type
|
|
661
|
+
export type UpdateAgentFallbackModelConfigurationRetry = {
|
|
838
662
|
/**
|
|
839
663
|
* Number of retry attempts (1-5)
|
|
840
664
|
*/
|
|
@@ -859,7 +683,7 @@ export type UpdateAgentFallbackModelConfiguration2 = {
|
|
|
859
683
|
/**
|
|
860
684
|
* Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
|
|
861
685
|
*/
|
|
862
|
-
retry?:
|
|
686
|
+
retry?: UpdateAgentFallbackModelConfigurationRetry | undefined;
|
|
863
687
|
};
|
|
864
688
|
/**
|
|
865
689
|
* Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
|
|
@@ -1303,10 +1127,45 @@ export type UpdateAgentTeamOfAgents = {
|
|
|
1303
1127
|
*/
|
|
1304
1128
|
role?: string | undefined;
|
|
1305
1129
|
};
|
|
1130
|
+
export type UpdateAgentHeaders = {
|
|
1131
|
+
/**
|
|
1132
|
+
* Header value. **Update behavior**: Provide empty string ("") to preserve existing encrypted value without re-entering credentials. Provide new value to rotate. Omit header entirely to remove.
|
|
1133
|
+
*/
|
|
1134
|
+
value: string;
|
|
1135
|
+
encrypted?: boolean | undefined;
|
|
1136
|
+
};
|
|
1306
1137
|
/**
|
|
1307
|
-
*
|
|
1138
|
+
* Update A2A agent configuration (only applicable to A2A agents)
|
|
1308
1139
|
*/
|
|
1309
|
-
export type
|
|
1140
|
+
export type UpdateA2AConfiguration = {
|
|
1141
|
+
/**
|
|
1142
|
+
* Update the A2A agent endpoint URL
|
|
1143
|
+
*/
|
|
1144
|
+
agentUrl?: string | undefined;
|
|
1145
|
+
/**
|
|
1146
|
+
* Update the explicit agent card URL
|
|
1147
|
+
*/
|
|
1148
|
+
cardUrl?: string | undefined;
|
|
1149
|
+
/**
|
|
1150
|
+
* Update HTTP headers for authentication. **Credential preservation**: Use empty string ("") for encrypted header values to keep existing credentials without re-entry. Provide new values to rotate credentials. Omit headers entirely to remove them.
|
|
1151
|
+
*/
|
|
1152
|
+
headers?: {
|
|
1153
|
+
[k: string]: UpdateAgentHeaders;
|
|
1154
|
+
} | undefined;
|
|
1155
|
+
};
|
|
1156
|
+
/**
|
|
1157
|
+
* Optional semantic version bump to create after a successful publish.
|
|
1158
|
+
*/
|
|
1159
|
+
export declare const VersionIncrement: {
|
|
1160
|
+
readonly Major: "major";
|
|
1161
|
+
readonly Minor: "minor";
|
|
1162
|
+
readonly Patch: "patch";
|
|
1163
|
+
};
|
|
1164
|
+
/**
|
|
1165
|
+
* Optional semantic version bump to create after a successful publish.
|
|
1166
|
+
*/
|
|
1167
|
+
export type VersionIncrement = ClosedEnum<typeof VersionIncrement>;
|
|
1168
|
+
export type UpdateAgentRequestBody = {
|
|
1310
1169
|
key?: string | undefined;
|
|
1311
1170
|
displayName?: string | undefined;
|
|
1312
1171
|
projectId?: string | undefined;
|
|
@@ -1354,13 +1213,25 @@ export type UpdateAgentUpdateAgentRequest = {
|
|
|
1354
1213
|
variables?: {
|
|
1355
1214
|
[k: string]: any;
|
|
1356
1215
|
} | undefined;
|
|
1216
|
+
/**
|
|
1217
|
+
* Update A2A agent configuration (only applicable to A2A agents)
|
|
1218
|
+
*/
|
|
1219
|
+
a2a?: UpdateA2AConfiguration | undefined;
|
|
1220
|
+
/**
|
|
1221
|
+
* Optional semantic version bump to create after a successful publish.
|
|
1222
|
+
*/
|
|
1223
|
+
versionIncrement?: VersionIncrement | undefined;
|
|
1224
|
+
/**
|
|
1225
|
+
* Optional description stored with the created version.
|
|
1226
|
+
*/
|
|
1227
|
+
versionDescription?: string | undefined;
|
|
1357
1228
|
};
|
|
1358
1229
|
export type UpdateAgentRequest = {
|
|
1359
1230
|
/**
|
|
1360
1231
|
* The unique key of the agent to update
|
|
1361
1232
|
*/
|
|
1362
1233
|
agentKey: string;
|
|
1363
|
-
requestBody:
|
|
1234
|
+
requestBody: UpdateAgentRequestBody;
|
|
1364
1235
|
};
|
|
1365
1236
|
/**
|
|
1366
1237
|
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
@@ -1375,6 +1246,42 @@ export declare const UpdateAgentStatus: {
|
|
|
1375
1246
|
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
1376
1247
|
*/
|
|
1377
1248
|
export type UpdateAgentStatus = ClosedEnum<typeof UpdateAgentStatus>;
|
|
1249
|
+
export type UpdateAgentAgentsTeamOfAgents = {
|
|
1250
|
+
/**
|
|
1251
|
+
* The unique key of the agent within the workspace
|
|
1252
|
+
*/
|
|
1253
|
+
key: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* The role of the agent in this context. This is used to give extra information to the leader to help it decide which agent to hand off to.
|
|
1256
|
+
*/
|
|
1257
|
+
role?: string | undefined;
|
|
1258
|
+
};
|
|
1259
|
+
export type UpdateAgentMetrics = {
|
|
1260
|
+
totalCost: number;
|
|
1261
|
+
};
|
|
1262
|
+
export type UpdateAgentAgentsKnowledgeBases = {
|
|
1263
|
+
/**
|
|
1264
|
+
* Unique identifier of the knowledge base to search
|
|
1265
|
+
*/
|
|
1266
|
+
knowledgeId: string;
|
|
1267
|
+
};
|
|
1268
|
+
export declare const UpdateAgentSource: {
|
|
1269
|
+
readonly Internal: "internal";
|
|
1270
|
+
readonly External: "external";
|
|
1271
|
+
readonly Experiment: "experiment";
|
|
1272
|
+
};
|
|
1273
|
+
export type UpdateAgentSource = ClosedEnum<typeof UpdateAgentSource>;
|
|
1274
|
+
/**
|
|
1275
|
+
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
1276
|
+
*/
|
|
1277
|
+
export declare const UpdateAgentType: {
|
|
1278
|
+
readonly Internal: "internal";
|
|
1279
|
+
readonly A2a: "a2a";
|
|
1280
|
+
};
|
|
1281
|
+
/**
|
|
1282
|
+
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
1283
|
+
*/
|
|
1284
|
+
export type UpdateAgentType = ClosedEnum<typeof UpdateAgentType>;
|
|
1378
1285
|
/**
|
|
1379
1286
|
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
1380
1287
|
*/
|
|
@@ -1504,48 +1411,6 @@ export type UpdateAgentAgentsSettings = {
|
|
|
1504
1411
|
*/
|
|
1505
1412
|
guardrails?: Array<UpdateAgentAgentsGuardrails> | undefined;
|
|
1506
1413
|
};
|
|
1507
|
-
/**
|
|
1508
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1509
|
-
*/
|
|
1510
|
-
export declare const UpdateAgentVoice: {
|
|
1511
|
-
readonly Alloy: "alloy";
|
|
1512
|
-
readonly Echo: "echo";
|
|
1513
|
-
readonly Fable: "fable";
|
|
1514
|
-
readonly Onyx: "onyx";
|
|
1515
|
-
readonly Nova: "nova";
|
|
1516
|
-
readonly Shimmer: "shimmer";
|
|
1517
|
-
};
|
|
1518
|
-
/**
|
|
1519
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1520
|
-
*/
|
|
1521
|
-
export type UpdateAgentVoice = ClosedEnum<typeof UpdateAgentVoice>;
|
|
1522
|
-
/**
|
|
1523
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1524
|
-
*/
|
|
1525
|
-
export declare const UpdateAgentFormat: {
|
|
1526
|
-
readonly Wav: "wav";
|
|
1527
|
-
readonly Mp3: "mp3";
|
|
1528
|
-
readonly Flac: "flac";
|
|
1529
|
-
readonly Opus: "opus";
|
|
1530
|
-
readonly Pcm16: "pcm16";
|
|
1531
|
-
};
|
|
1532
|
-
/**
|
|
1533
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1534
|
-
*/
|
|
1535
|
-
export type UpdateAgentFormat = ClosedEnum<typeof UpdateAgentFormat>;
|
|
1536
|
-
/**
|
|
1537
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
1538
|
-
*/
|
|
1539
|
-
export type UpdateAgentAudio = {
|
|
1540
|
-
/**
|
|
1541
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1542
|
-
*/
|
|
1543
|
-
voice: UpdateAgentVoice;
|
|
1544
|
-
/**
|
|
1545
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1546
|
-
*/
|
|
1547
|
-
format: UpdateAgentFormat;
|
|
1548
|
-
};
|
|
1549
1414
|
export type UpdateAgentResponseFormatAgentsResponseJsonSchema = {
|
|
1550
1415
|
/**
|
|
1551
1416
|
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
@@ -1630,15 +1495,6 @@ export type UpdateAgentReasoningEffort = ClosedEnum<typeof UpdateAgentReasoningE
|
|
|
1630
1495
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
1631
1496
|
*/
|
|
1632
1497
|
export type UpdateAgentStop = string | Array<string>;
|
|
1633
|
-
/**
|
|
1634
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
1635
|
-
*/
|
|
1636
|
-
export type UpdateAgentStreamOptions = {
|
|
1637
|
-
/**
|
|
1638
|
-
* If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
|
|
1639
|
-
*/
|
|
1640
|
-
includeUsage?: boolean | undefined;
|
|
1641
|
-
};
|
|
1642
1498
|
export type UpdateAgentThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
|
|
1643
1499
|
/**
|
|
1644
1500
|
* The type of the tool. Currently, only function is supported.
|
|
@@ -1715,23 +1571,10 @@ export type UpdateAgentFallbacks = {
|
|
|
1715
1571
|
*/
|
|
1716
1572
|
model: string;
|
|
1717
1573
|
};
|
|
1718
|
-
|
|
1719
|
-
* Retry configuration for the request
|
|
1720
|
-
*/
|
|
1721
|
-
export type UpdateAgentAgentsRetry = {
|
|
1722
|
-
/**
|
|
1723
|
-
* Number of retry attempts (1-5)
|
|
1724
|
-
*/
|
|
1725
|
-
count: number;
|
|
1726
|
-
/**
|
|
1727
|
-
* HTTP status codes that trigger retry logic
|
|
1728
|
-
*/
|
|
1729
|
-
onCodes?: Array<number> | undefined;
|
|
1730
|
-
};
|
|
1731
|
-
export declare const UpdateAgentType: {
|
|
1574
|
+
export declare const UpdateAgentAgentsType: {
|
|
1732
1575
|
readonly ExactMatch: "exact_match";
|
|
1733
1576
|
};
|
|
1734
|
-
export type
|
|
1577
|
+
export type UpdateAgentAgentsType = ClosedEnum<typeof UpdateAgentAgentsType>;
|
|
1735
1578
|
/**
|
|
1736
1579
|
* Cache configuration for the request.
|
|
1737
1580
|
*/
|
|
@@ -1740,7 +1583,7 @@ export type UpdateAgentCache = {
|
|
|
1740
1583
|
* Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
|
|
1741
1584
|
*/
|
|
1742
1585
|
ttl: number;
|
|
1743
|
-
type:
|
|
1586
|
+
type: UpdateAgentAgentsType;
|
|
1744
1587
|
};
|
|
1745
1588
|
export declare const UpdateAgentLoadBalancerAgentsResponseType: {
|
|
1746
1589
|
readonly WeightBased: "weight_based";
|
|
@@ -1781,10 +1624,6 @@ export type UpdateAgentParameters = {
|
|
|
1781
1624
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
1782
1625
|
*/
|
|
1783
1626
|
name?: string | undefined;
|
|
1784
|
-
/**
|
|
1785
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
1786
|
-
*/
|
|
1787
|
-
audio?: UpdateAgentAudio | null | undefined;
|
|
1788
1627
|
/**
|
|
1789
1628
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
|
|
1790
1629
|
*/
|
|
@@ -1801,18 +1640,6 @@ export type UpdateAgentParameters = {
|
|
|
1801
1640
|
* An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
|
|
1802
1641
|
*/
|
|
1803
1642
|
maxCompletionTokens?: number | null | undefined;
|
|
1804
|
-
/**
|
|
1805
|
-
* Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
|
|
1806
|
-
*/
|
|
1807
|
-
logprobs?: boolean | null | undefined;
|
|
1808
|
-
/**
|
|
1809
|
-
* An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
|
|
1810
|
-
*/
|
|
1811
|
-
topLogprobs?: number | null | undefined;
|
|
1812
|
-
/**
|
|
1813
|
-
* How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
|
|
1814
|
-
*/
|
|
1815
|
-
n?: number | null | undefined;
|
|
1816
1643
|
/**
|
|
1817
1644
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
|
|
1818
1645
|
*/
|
|
@@ -1846,10 +1673,6 @@ export type UpdateAgentParameters = {
|
|
|
1846
1673
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
1847
1674
|
*/
|
|
1848
1675
|
stop?: string | Array<string> | null | undefined;
|
|
1849
|
-
/**
|
|
1850
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
1851
|
-
*/
|
|
1852
|
-
streamOptions?: UpdateAgentStreamOptions | null | undefined;
|
|
1853
1676
|
thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
|
|
1854
1677
|
/**
|
|
1855
1678
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
@@ -1883,10 +1706,6 @@ export type UpdateAgentParameters = {
|
|
|
1883
1706
|
* Array of fallback models to use if primary model fails
|
|
1884
1707
|
*/
|
|
1885
1708
|
fallbacks?: Array<UpdateAgentFallbacks> | undefined;
|
|
1886
|
-
/**
|
|
1887
|
-
* Retry configuration for the request
|
|
1888
|
-
*/
|
|
1889
|
-
retry?: UpdateAgentAgentsRetry | undefined;
|
|
1890
1709
|
/**
|
|
1891
1710
|
* Cache configuration for the request.
|
|
1892
1711
|
*/
|
|
@@ -1913,48 +1732,6 @@ export type UpdateAgentRetry = {
|
|
|
1913
1732
|
*/
|
|
1914
1733
|
onCodes?: Array<number> | undefined;
|
|
1915
1734
|
};
|
|
1916
|
-
/**
|
|
1917
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1918
|
-
*/
|
|
1919
|
-
export declare const UpdateAgentFallbackModelConfigurationAgentsVoice: {
|
|
1920
|
-
readonly Alloy: "alloy";
|
|
1921
|
-
readonly Echo: "echo";
|
|
1922
|
-
readonly Fable: "fable";
|
|
1923
|
-
readonly Onyx: "onyx";
|
|
1924
|
-
readonly Nova: "nova";
|
|
1925
|
-
readonly Shimmer: "shimmer";
|
|
1926
|
-
};
|
|
1927
|
-
/**
|
|
1928
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1929
|
-
*/
|
|
1930
|
-
export type UpdateAgentFallbackModelConfigurationAgentsVoice = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsVoice>;
|
|
1931
|
-
/**
|
|
1932
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1933
|
-
*/
|
|
1934
|
-
export declare const UpdateAgentFallbackModelConfigurationAgentsFormat: {
|
|
1935
|
-
readonly Wav: "wav";
|
|
1936
|
-
readonly Mp3: "mp3";
|
|
1937
|
-
readonly Flac: "flac";
|
|
1938
|
-
readonly Opus: "opus";
|
|
1939
|
-
readonly Pcm16: "pcm16";
|
|
1940
|
-
};
|
|
1941
|
-
/**
|
|
1942
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1943
|
-
*/
|
|
1944
|
-
export type UpdateAgentFallbackModelConfigurationAgentsFormat = ClosedEnum<typeof UpdateAgentFallbackModelConfigurationAgentsFormat>;
|
|
1945
|
-
/**
|
|
1946
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
1947
|
-
*/
|
|
1948
|
-
export type UpdateAgentFallbackModelConfigurationAgentsAudio = {
|
|
1949
|
-
/**
|
|
1950
|
-
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
1951
|
-
*/
|
|
1952
|
-
voice: UpdateAgentFallbackModelConfigurationAgentsVoice;
|
|
1953
|
-
/**
|
|
1954
|
-
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
1955
|
-
*/
|
|
1956
|
-
format: UpdateAgentFallbackModelConfigurationAgentsFormat;
|
|
1957
|
-
};
|
|
1958
1735
|
export type UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema = {
|
|
1959
1736
|
/**
|
|
1960
1737
|
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
@@ -2039,15 +1816,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsReasoningEffort = ClosedE
|
|
|
2039
1816
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
2040
1817
|
*/
|
|
2041
1818
|
export type UpdateAgentFallbackModelConfigurationAgentsStop = string | Array<string>;
|
|
2042
|
-
/**
|
|
2043
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
2044
|
-
*/
|
|
2045
|
-
export type UpdateAgentFallbackModelConfigurationAgentsStreamOptions = {
|
|
2046
|
-
/**
|
|
2047
|
-
* If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request, and the choices field will always be an empty array. All other chunks will also include a usage field, but with a null value.
|
|
2048
|
-
*/
|
|
2049
|
-
includeUsage?: boolean | undefined;
|
|
2050
|
-
};
|
|
2051
1819
|
export type UpdateAgentFallbackModelConfigurationAgentsThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
|
|
2052
1820
|
/**
|
|
2053
1821
|
* The type of the tool. Currently, only function is supported.
|
|
@@ -2124,19 +1892,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsFallbacks = {
|
|
|
2124
1892
|
*/
|
|
2125
1893
|
model: string;
|
|
2126
1894
|
};
|
|
2127
|
-
/**
|
|
2128
|
-
* Retry configuration for the request
|
|
2129
|
-
*/
|
|
2130
|
-
export type UpdateAgentFallbackModelConfigurationAgentsResponse200Retry = {
|
|
2131
|
-
/**
|
|
2132
|
-
* Number of retry attempts (1-5)
|
|
2133
|
-
*/
|
|
2134
|
-
count: number;
|
|
2135
|
-
/**
|
|
2136
|
-
* HTTP status codes that trigger retry logic
|
|
2137
|
-
*/
|
|
2138
|
-
onCodes?: Array<number> | undefined;
|
|
2139
|
-
};
|
|
2140
1895
|
export declare const UpdateAgentFallbackModelConfigurationAgentsType: {
|
|
2141
1896
|
readonly ExactMatch: "exact_match";
|
|
2142
1897
|
};
|
|
@@ -2190,10 +1945,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
|
|
|
2190
1945
|
* The name to display on the trace. If not specified, the default system name will be used.
|
|
2191
1946
|
*/
|
|
2192
1947
|
name?: string | undefined;
|
|
2193
|
-
/**
|
|
2194
|
-
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
2195
|
-
*/
|
|
2196
|
-
audio?: UpdateAgentFallbackModelConfigurationAgentsAudio | null | undefined;
|
|
2197
1948
|
/**
|
|
2198
1949
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
|
|
2199
1950
|
*/
|
|
@@ -2210,18 +1961,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
|
|
|
2210
1961
|
* An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
|
|
2211
1962
|
*/
|
|
2212
1963
|
maxCompletionTokens?: number | null | undefined;
|
|
2213
|
-
/**
|
|
2214
|
-
* Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message.
|
|
2215
|
-
*/
|
|
2216
|
-
logprobs?: boolean | null | undefined;
|
|
2217
|
-
/**
|
|
2218
|
-
* An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.
|
|
2219
|
-
*/
|
|
2220
|
-
topLogprobs?: number | null | undefined;
|
|
2221
|
-
/**
|
|
2222
|
-
* How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
|
|
2223
|
-
*/
|
|
2224
|
-
n?: number | null | undefined;
|
|
2225
1964
|
/**
|
|
2226
1965
|
* Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
|
|
2227
1966
|
*/
|
|
@@ -2255,10 +1994,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
|
|
|
2255
1994
|
* Up to 4 sequences where the API will stop generating further tokens.
|
|
2256
1995
|
*/
|
|
2257
1996
|
stop?: string | Array<string> | null | undefined;
|
|
2258
|
-
/**
|
|
2259
|
-
* Options for streaming response. Only set this when you set stream: true.
|
|
2260
|
-
*/
|
|
2261
|
-
streamOptions?: UpdateAgentFallbackModelConfigurationAgentsStreamOptions | null | undefined;
|
|
2262
1997
|
thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
|
|
2263
1998
|
/**
|
|
2264
1999
|
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
|
|
@@ -2292,10 +2027,6 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
|
|
|
2292
2027
|
* Array of fallback models to use if primary model fails
|
|
2293
2028
|
*/
|
|
2294
2029
|
fallbacks?: Array<UpdateAgentFallbackModelConfigurationAgentsFallbacks> | undefined;
|
|
2295
|
-
/**
|
|
2296
|
-
* Retry configuration for the request
|
|
2297
|
-
*/
|
|
2298
|
-
retry?: UpdateAgentFallbackModelConfigurationAgentsResponse200Retry | undefined;
|
|
2299
2030
|
/**
|
|
2300
2031
|
* Cache configuration for the request.
|
|
2301
2032
|
*/
|
|
@@ -2312,7 +2043,7 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
|
|
|
2312
2043
|
/**
|
|
2313
2044
|
* Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
|
|
2314
2045
|
*/
|
|
2315
|
-
export type
|
|
2046
|
+
export type UpdateAgentFallbackModelConfigurationAgentsRetry = {
|
|
2316
2047
|
/**
|
|
2317
2048
|
* Number of retry attempts (1-5)
|
|
2318
2049
|
*/
|
|
@@ -2337,7 +2068,7 @@ export type UpdateAgentFallbackModelConfigurationAgents2 = {
|
|
|
2337
2068
|
/**
|
|
2338
2069
|
* Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
|
|
2339
2070
|
*/
|
|
2340
|
-
retry?:
|
|
2071
|
+
retry?: UpdateAgentFallbackModelConfigurationAgentsRetry | undefined;
|
|
2341
2072
|
};
|
|
2342
2073
|
/**
|
|
2343
2074
|
* Fallback model for automatic failover when primary model request fails. Supports optional parameter overrides. Can be a simple model ID string or a configuration object with model-specific parameters. Fallbacks are tried in order.
|
|
@@ -2365,31 +2096,36 @@ export type UpdateAgentModel = {
|
|
|
2365
2096
|
*/
|
|
2366
2097
|
fallbackModels?: Array<UpdateAgentFallbackModelConfigurationAgents2 | string> | null | undefined;
|
|
2367
2098
|
};
|
|
2368
|
-
export type
|
|
2099
|
+
export type UpdateAgentAgentsHeaders = {
|
|
2369
2100
|
/**
|
|
2370
|
-
*
|
|
2101
|
+
* Header value. **Update behavior**: Provide empty string ("") to preserve existing encrypted value without re-entering credentials. Provide new value to rotate. Omit header entirely to remove.
|
|
2371
2102
|
*/
|
|
2372
|
-
|
|
2103
|
+
value: string;
|
|
2104
|
+
encrypted: boolean;
|
|
2105
|
+
};
|
|
2106
|
+
/**
|
|
2107
|
+
* A2A configuration with agent endpoint and authentication. Only present for A2A agents.
|
|
2108
|
+
*/
|
|
2109
|
+
export type UpdateAgentA2AAgentConfiguration = {
|
|
2373
2110
|
/**
|
|
2374
|
-
* The
|
|
2111
|
+
* The A2A agent endpoint URL (e.g., https://example.com/agent/a2a)
|
|
2375
2112
|
*/
|
|
2376
|
-
|
|
2377
|
-
};
|
|
2378
|
-
export type UpdateAgentMetrics = {
|
|
2379
|
-
totalCost: number;
|
|
2380
|
-
};
|
|
2381
|
-
export type UpdateAgentAgentsKnowledgeBases = {
|
|
2113
|
+
agentUrl: string;
|
|
2382
2114
|
/**
|
|
2383
|
-
*
|
|
2115
|
+
* Optional explicit URL to fetch agent card. Defaults to {agent_url}/card if not provided
|
|
2384
2116
|
*/
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2117
|
+
cardUrl?: string | undefined;
|
|
2118
|
+
/**
|
|
2119
|
+
* HTTP headers for A2A agent requests with encryption support (max 20 headers). **Update behavior**: Empty string values preserve existing encrypted headers, allowing partial updates without credential re-entry.
|
|
2120
|
+
*/
|
|
2121
|
+
headers?: {
|
|
2122
|
+
[k: string]: UpdateAgentAgentsHeaders;
|
|
2123
|
+
} | undefined;
|
|
2124
|
+
/**
|
|
2125
|
+
* Cached agent card from discovery. Refreshed periodically.
|
|
2126
|
+
*/
|
|
2127
|
+
cachedCard?: any | undefined;
|
|
2391
2128
|
};
|
|
2392
|
-
export type UpdateAgentSource = ClosedEnum<typeof UpdateAgentSource>;
|
|
2393
2129
|
/**
|
|
2394
2130
|
* Agent configuration successfully updated. Returns the complete updated agent manifest reflecting all changes made.
|
|
2395
2131
|
*/
|
|
@@ -2400,22 +2136,15 @@ export type UpdateAgentResponseBody = {
|
|
|
2400
2136
|
*/
|
|
2401
2137
|
key: string;
|
|
2402
2138
|
displayName?: string | undefined;
|
|
2403
|
-
workspaceId: string;
|
|
2404
2139
|
projectId: string;
|
|
2405
2140
|
createdById?: string | null | undefined;
|
|
2406
2141
|
updatedById?: string | null | undefined;
|
|
2407
2142
|
created?: string | undefined;
|
|
2408
2143
|
updated?: string | undefined;
|
|
2409
|
-
role: string;
|
|
2410
|
-
description: string;
|
|
2411
|
-
systemPrompt?: string | undefined;
|
|
2412
|
-
instructions: string;
|
|
2413
2144
|
/**
|
|
2414
2145
|
* The status of the agent. `Live` is the latest version of the agent. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
2415
2146
|
*/
|
|
2416
2147
|
status: UpdateAgentStatus;
|
|
2417
|
-
settings?: UpdateAgentAgentsSettings | undefined;
|
|
2418
|
-
model: UpdateAgentModel;
|
|
2419
2148
|
versionHash?: string | undefined;
|
|
2420
2149
|
/**
|
|
2421
2150
|
* Entity storage path in the format: `project/folder/subfolder/...`
|
|
@@ -2430,11 +2159,11 @@ export type UpdateAgentResponseBody = {
|
|
|
2430
2159
|
/**
|
|
2431
2160
|
* Array of memory store identifiers. Accepts both memory store IDs and keys.
|
|
2432
2161
|
*/
|
|
2433
|
-
memoryStores
|
|
2162
|
+
memoryStores?: Array<string> | undefined;
|
|
2434
2163
|
/**
|
|
2435
2164
|
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
2436
2165
|
*/
|
|
2437
|
-
teamOfAgents
|
|
2166
|
+
teamOfAgents?: Array<UpdateAgentAgentsTeamOfAgents> | undefined;
|
|
2438
2167
|
metrics?: UpdateAgentMetrics | undefined;
|
|
2439
2168
|
/**
|
|
2440
2169
|
* Extracted variables from agent instructions
|
|
@@ -2447,20 +2176,22 @@ export type UpdateAgentResponseBody = {
|
|
|
2447
2176
|
*/
|
|
2448
2177
|
knowledgeBases?: Array<UpdateAgentAgentsKnowledgeBases> | undefined;
|
|
2449
2178
|
source?: UpdateAgentSource | undefined;
|
|
2179
|
+
/**
|
|
2180
|
+
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
2181
|
+
*/
|
|
2182
|
+
type: UpdateAgentType;
|
|
2183
|
+
role: string;
|
|
2184
|
+
description: string;
|
|
2185
|
+
systemPrompt?: string | undefined;
|
|
2186
|
+
instructions: string;
|
|
2187
|
+
settings?: UpdateAgentAgentsSettings | undefined;
|
|
2188
|
+
model: UpdateAgentModel;
|
|
2189
|
+
/**
|
|
2190
|
+
* A2A configuration with agent endpoint and authentication. Only present for A2A agents.
|
|
2191
|
+
*/
|
|
2192
|
+
a2a?: UpdateAgentA2AAgentConfiguration | undefined;
|
|
2450
2193
|
};
|
|
2451
2194
|
/** @internal */
|
|
2452
|
-
export declare const ModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationVoice>;
|
|
2453
|
-
/** @internal */
|
|
2454
|
-
export declare const ModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof ModelConfigurationFormat>;
|
|
2455
|
-
/** @internal */
|
|
2456
|
-
export type UpdateAgentModelConfigurationAudio$Outbound = {
|
|
2457
|
-
voice: string;
|
|
2458
|
-
format: string;
|
|
2459
|
-
};
|
|
2460
|
-
/** @internal */
|
|
2461
|
-
export declare const UpdateAgentModelConfigurationAudio$outboundSchema: z.ZodType<UpdateAgentModelConfigurationAudio$Outbound, z.ZodTypeDef, UpdateAgentModelConfigurationAudio>;
|
|
2462
|
-
export declare function updateAgentModelConfigurationAudioToJSON(updateAgentModelConfigurationAudio: UpdateAgentModelConfigurationAudio): string;
|
|
2463
|
-
/** @internal */
|
|
2464
2195
|
export type UpdateAgentResponseFormatAgentsJsonSchema$Outbound = {
|
|
2465
2196
|
description?: string | undefined;
|
|
2466
2197
|
name: string;
|
|
@@ -2505,13 +2236,6 @@ export type ModelConfigurationStop$Outbound = string | Array<string>;
|
|
|
2505
2236
|
export declare const ModelConfigurationStop$outboundSchema: z.ZodType<ModelConfigurationStop$Outbound, z.ZodTypeDef, ModelConfigurationStop>;
|
|
2506
2237
|
export declare function modelConfigurationStopToJSON(modelConfigurationStop: ModelConfigurationStop): string;
|
|
2507
2238
|
/** @internal */
|
|
2508
|
-
export type ModelConfigurationStreamOptions$Outbound = {
|
|
2509
|
-
include_usage?: boolean | undefined;
|
|
2510
|
-
};
|
|
2511
|
-
/** @internal */
|
|
2512
|
-
export declare const ModelConfigurationStreamOptions$outboundSchema: z.ZodType<ModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, ModelConfigurationStreamOptions>;
|
|
2513
|
-
export declare function modelConfigurationStreamOptionsToJSON(modelConfigurationStreamOptions: ModelConfigurationStreamOptions): string;
|
|
2514
|
-
/** @internal */
|
|
2515
2239
|
export type ModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
|
|
2516
2240
|
/** @internal */
|
|
2517
2241
|
export declare const ModelConfigurationThinking$outboundSchema: z.ZodType<ModelConfigurationThinking$Outbound, z.ZodTypeDef, ModelConfigurationThinking>;
|
|
@@ -2567,14 +2291,6 @@ export type ModelConfigurationFallbacks$Outbound = {
|
|
|
2567
2291
|
export declare const ModelConfigurationFallbacks$outboundSchema: z.ZodType<ModelConfigurationFallbacks$Outbound, z.ZodTypeDef, ModelConfigurationFallbacks>;
|
|
2568
2292
|
export declare function modelConfigurationFallbacksToJSON(modelConfigurationFallbacks: ModelConfigurationFallbacks): string;
|
|
2569
2293
|
/** @internal */
|
|
2570
|
-
export type UpdateAgentModelConfigurationRetry$Outbound = {
|
|
2571
|
-
count: number;
|
|
2572
|
-
on_codes?: Array<number> | undefined;
|
|
2573
|
-
};
|
|
2574
|
-
/** @internal */
|
|
2575
|
-
export declare const UpdateAgentModelConfigurationRetry$outboundSchema: z.ZodType<UpdateAgentModelConfigurationRetry$Outbound, z.ZodTypeDef, UpdateAgentModelConfigurationRetry>;
|
|
2576
|
-
export declare function updateAgentModelConfigurationRetryToJSON(updateAgentModelConfigurationRetry: UpdateAgentModelConfigurationRetry): string;
|
|
2577
|
-
/** @internal */
|
|
2578
2294
|
export declare const UpdateAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentModelConfigurationType>;
|
|
2579
2295
|
/** @internal */
|
|
2580
2296
|
export type ModelConfigurationCache$Outbound = {
|
|
@@ -2617,20 +2333,15 @@ export declare function modelConfigurationTimeoutToJSON(modelConfigurationTimeou
|
|
|
2617
2333
|
/** @internal */
|
|
2618
2334
|
export type ModelConfigurationParameters$Outbound = {
|
|
2619
2335
|
name?: string | undefined;
|
|
2620
|
-
audio?: UpdateAgentModelConfigurationAudio$Outbound | null | undefined;
|
|
2621
2336
|
frequency_penalty?: number | null | undefined;
|
|
2622
2337
|
max_tokens?: number | null | undefined;
|
|
2623
2338
|
max_completion_tokens?: number | null | undefined;
|
|
2624
|
-
logprobs?: boolean | null | undefined;
|
|
2625
|
-
top_logprobs?: number | null | undefined;
|
|
2626
|
-
n?: number | null | undefined;
|
|
2627
2339
|
presence_penalty?: number | null | undefined;
|
|
2628
2340
|
response_format?: UpdateAgentResponseFormatText$Outbound | UpdateAgentResponseFormatJSONObject$Outbound | UpdateAgentResponseFormatJSONSchema$Outbound | undefined;
|
|
2629
2341
|
reasoning_effort?: string | undefined;
|
|
2630
2342
|
verbosity?: string | undefined;
|
|
2631
2343
|
seed?: number | null | undefined;
|
|
2632
2344
|
stop?: string | Array<string> | null | undefined;
|
|
2633
|
-
stream_options?: ModelConfigurationStreamOptions$Outbound | null | undefined;
|
|
2634
2345
|
thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
|
|
2635
2346
|
temperature?: number | null | undefined;
|
|
2636
2347
|
top_p?: number | null | undefined;
|
|
@@ -2640,7 +2351,6 @@ export type ModelConfigurationParameters$Outbound = {
|
|
|
2640
2351
|
modalities?: Array<string> | null | undefined;
|
|
2641
2352
|
guardrails?: Array<ModelConfigurationGuardrails$Outbound> | undefined;
|
|
2642
2353
|
fallbacks?: Array<ModelConfigurationFallbacks$Outbound> | undefined;
|
|
2643
|
-
retry?: UpdateAgentModelConfigurationRetry$Outbound | undefined;
|
|
2644
2354
|
cache?: ModelConfigurationCache$Outbound | undefined;
|
|
2645
2355
|
load_balancer?: UpdateAgentLoadBalancer1$Outbound | undefined;
|
|
2646
2356
|
timeout?: ModelConfigurationTimeout$Outbound | undefined;
|
|
@@ -2649,18 +2359,18 @@ export type ModelConfigurationParameters$Outbound = {
|
|
|
2649
2359
|
export declare const ModelConfigurationParameters$outboundSchema: z.ZodType<ModelConfigurationParameters$Outbound, z.ZodTypeDef, ModelConfigurationParameters>;
|
|
2650
2360
|
export declare function modelConfigurationParametersToJSON(modelConfigurationParameters: ModelConfigurationParameters): string;
|
|
2651
2361
|
/** @internal */
|
|
2652
|
-
export type
|
|
2362
|
+
export type ModelConfigurationRetry$Outbound = {
|
|
2653
2363
|
count: number;
|
|
2654
2364
|
on_codes?: Array<number> | undefined;
|
|
2655
2365
|
};
|
|
2656
2366
|
/** @internal */
|
|
2657
|
-
export declare const
|
|
2658
|
-
export declare function
|
|
2367
|
+
export declare const ModelConfigurationRetry$outboundSchema: z.ZodType<ModelConfigurationRetry$Outbound, z.ZodTypeDef, ModelConfigurationRetry>;
|
|
2368
|
+
export declare function modelConfigurationRetryToJSON(modelConfigurationRetry: ModelConfigurationRetry): string;
|
|
2659
2369
|
/** @internal */
|
|
2660
2370
|
export type UpdateAgentModelConfiguration2$Outbound = {
|
|
2661
2371
|
id: string;
|
|
2662
2372
|
parameters?: ModelConfigurationParameters$Outbound | undefined;
|
|
2663
|
-
retry?:
|
|
2373
|
+
retry?: ModelConfigurationRetry$Outbound | undefined;
|
|
2664
2374
|
};
|
|
2665
2375
|
/** @internal */
|
|
2666
2376
|
export declare const UpdateAgentModelConfiguration2$outboundSchema: z.ZodType<UpdateAgentModelConfiguration2$Outbound, z.ZodTypeDef, UpdateAgentModelConfiguration2>;
|
|
@@ -2671,18 +2381,6 @@ export type UpdateAgentModelConfiguration$Outbound = UpdateAgentModelConfigurati
|
|
|
2671
2381
|
export declare const UpdateAgentModelConfiguration$outboundSchema: z.ZodType<UpdateAgentModelConfiguration$Outbound, z.ZodTypeDef, UpdateAgentModelConfiguration>;
|
|
2672
2382
|
export declare function updateAgentModelConfigurationToJSON(updateAgentModelConfiguration: UpdateAgentModelConfiguration): string;
|
|
2673
2383
|
/** @internal */
|
|
2674
|
-
export declare const UpdateAgentFallbackModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationVoice>;
|
|
2675
|
-
/** @internal */
|
|
2676
|
-
export declare const UpdateAgentFallbackModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationFormat>;
|
|
2677
|
-
/** @internal */
|
|
2678
|
-
export type UpdateAgentFallbackModelConfigurationAudio$Outbound = {
|
|
2679
|
-
voice: string;
|
|
2680
|
-
format: string;
|
|
2681
|
-
};
|
|
2682
|
-
/** @internal */
|
|
2683
|
-
export declare const UpdateAgentFallbackModelConfigurationAudio$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAudio$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationAudio>;
|
|
2684
|
-
export declare function updateAgentFallbackModelConfigurationAudioToJSON(updateAgentFallbackModelConfigurationAudio: UpdateAgentFallbackModelConfigurationAudio): string;
|
|
2685
|
-
/** @internal */
|
|
2686
2384
|
export type UpdateAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound = {
|
|
2687
2385
|
description?: string | undefined;
|
|
2688
2386
|
name: string;
|
|
@@ -2727,13 +2425,6 @@ export type UpdateAgentFallbackModelConfigurationStop$Outbound = string | Array<
|
|
|
2727
2425
|
export declare const UpdateAgentFallbackModelConfigurationStop$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationStop$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationStop>;
|
|
2728
2426
|
export declare function updateAgentFallbackModelConfigurationStopToJSON(updateAgentFallbackModelConfigurationStop: UpdateAgentFallbackModelConfigurationStop): string;
|
|
2729
2427
|
/** @internal */
|
|
2730
|
-
export type UpdateAgentFallbackModelConfigurationStreamOptions$Outbound = {
|
|
2731
|
-
include_usage?: boolean | undefined;
|
|
2732
|
-
};
|
|
2733
|
-
/** @internal */
|
|
2734
|
-
export declare const UpdateAgentFallbackModelConfigurationStreamOptions$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationStreamOptions>;
|
|
2735
|
-
export declare function updateAgentFallbackModelConfigurationStreamOptionsToJSON(updateAgentFallbackModelConfigurationStreamOptions: UpdateAgentFallbackModelConfigurationStreamOptions): string;
|
|
2736
|
-
/** @internal */
|
|
2737
2428
|
export type UpdateAgentFallbackModelConfigurationThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
|
|
2738
2429
|
/** @internal */
|
|
2739
2430
|
export declare const UpdateAgentFallbackModelConfigurationThinking$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationThinking$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationThinking>;
|
|
@@ -2789,14 +2480,6 @@ export type UpdateAgentFallbackModelConfigurationFallbacks$Outbound = {
|
|
|
2789
2480
|
export declare const UpdateAgentFallbackModelConfigurationFallbacks$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationFallbacks$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationFallbacks>;
|
|
2790
2481
|
export declare function updateAgentFallbackModelConfigurationFallbacksToJSON(updateAgentFallbackModelConfigurationFallbacks: UpdateAgentFallbackModelConfigurationFallbacks): string;
|
|
2791
2482
|
/** @internal */
|
|
2792
|
-
export type UpdateAgentFallbackModelConfigurationRetry$Outbound = {
|
|
2793
|
-
count: number;
|
|
2794
|
-
on_codes?: Array<number> | undefined;
|
|
2795
|
-
};
|
|
2796
|
-
/** @internal */
|
|
2797
|
-
export declare const UpdateAgentFallbackModelConfigurationRetry$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationRetry>;
|
|
2798
|
-
export declare function updateAgentFallbackModelConfigurationRetryToJSON(updateAgentFallbackModelConfigurationRetry: UpdateAgentFallbackModelConfigurationRetry): string;
|
|
2799
|
-
/** @internal */
|
|
2800
2483
|
export declare const UpdateAgentFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationType>;
|
|
2801
2484
|
/** @internal */
|
|
2802
2485
|
export type UpdateAgentFallbackModelConfigurationCache$Outbound = {
|
|
@@ -2839,20 +2522,15 @@ export declare function updateAgentFallbackModelConfigurationTimeoutToJSON(updat
|
|
|
2839
2522
|
/** @internal */
|
|
2840
2523
|
export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
|
|
2841
2524
|
name?: string | undefined;
|
|
2842
|
-
audio?: UpdateAgentFallbackModelConfigurationAudio$Outbound | null | undefined;
|
|
2843
2525
|
frequency_penalty?: number | null | undefined;
|
|
2844
2526
|
max_tokens?: number | null | undefined;
|
|
2845
2527
|
max_completion_tokens?: number | null | undefined;
|
|
2846
|
-
logprobs?: boolean | null | undefined;
|
|
2847
|
-
top_logprobs?: number | null | undefined;
|
|
2848
|
-
n?: number | null | undefined;
|
|
2849
2528
|
presence_penalty?: number | null | undefined;
|
|
2850
2529
|
response_format?: UpdateAgentResponseFormatAgentsText$Outbound | UpdateAgentResponseFormatAgentsJSONObject$Outbound | UpdateAgentResponseFormatAgentsRequestJSONSchema$Outbound | undefined;
|
|
2851
2530
|
reasoning_effort?: string | undefined;
|
|
2852
2531
|
verbosity?: string | undefined;
|
|
2853
2532
|
seed?: number | null | undefined;
|
|
2854
2533
|
stop?: string | Array<string> | null | undefined;
|
|
2855
|
-
stream_options?: UpdateAgentFallbackModelConfigurationStreamOptions$Outbound | null | undefined;
|
|
2856
2534
|
thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
|
|
2857
2535
|
temperature?: number | null | undefined;
|
|
2858
2536
|
top_p?: number | null | undefined;
|
|
@@ -2862,7 +2540,6 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
2862
2540
|
modalities?: Array<string> | null | undefined;
|
|
2863
2541
|
guardrails?: Array<UpdateAgentFallbackModelConfigurationGuardrails$Outbound> | undefined;
|
|
2864
2542
|
fallbacks?: Array<UpdateAgentFallbackModelConfigurationFallbacks$Outbound> | undefined;
|
|
2865
|
-
retry?: UpdateAgentFallbackModelConfigurationRetry$Outbound | undefined;
|
|
2866
2543
|
cache?: UpdateAgentFallbackModelConfigurationCache$Outbound | undefined;
|
|
2867
2544
|
load_balancer?: UpdateAgentLoadBalancerAgents1$Outbound | undefined;
|
|
2868
2545
|
timeout?: UpdateAgentFallbackModelConfigurationTimeout$Outbound | undefined;
|
|
@@ -2871,18 +2548,18 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
2871
2548
|
export declare const UpdateAgentFallbackModelConfigurationParameters$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationParameters>;
|
|
2872
2549
|
export declare function updateAgentFallbackModelConfigurationParametersToJSON(updateAgentFallbackModelConfigurationParameters: UpdateAgentFallbackModelConfigurationParameters): string;
|
|
2873
2550
|
/** @internal */
|
|
2874
|
-
export type
|
|
2551
|
+
export type UpdateAgentFallbackModelConfigurationRetry$Outbound = {
|
|
2875
2552
|
count: number;
|
|
2876
2553
|
on_codes?: Array<number> | undefined;
|
|
2877
2554
|
};
|
|
2878
2555
|
/** @internal */
|
|
2879
|
-
export declare const
|
|
2880
|
-
export declare function
|
|
2556
|
+
export declare const UpdateAgentFallbackModelConfigurationRetry$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationRetry$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfigurationRetry>;
|
|
2557
|
+
export declare function updateAgentFallbackModelConfigurationRetryToJSON(updateAgentFallbackModelConfigurationRetry: UpdateAgentFallbackModelConfigurationRetry): string;
|
|
2881
2558
|
/** @internal */
|
|
2882
2559
|
export type UpdateAgentFallbackModelConfiguration2$Outbound = {
|
|
2883
2560
|
id: string;
|
|
2884
2561
|
parameters?: UpdateAgentFallbackModelConfigurationParameters$Outbound | undefined;
|
|
2885
|
-
retry?:
|
|
2562
|
+
retry?: UpdateAgentFallbackModelConfigurationRetry$Outbound | undefined;
|
|
2886
2563
|
};
|
|
2887
2564
|
/** @internal */
|
|
2888
2565
|
export declare const UpdateAgentFallbackModelConfiguration2$outboundSchema: z.ZodType<UpdateAgentFallbackModelConfiguration2$Outbound, z.ZodTypeDef, UpdateAgentFallbackModelConfiguration2>;
|
|
@@ -3129,7 +2806,28 @@ export type UpdateAgentTeamOfAgents$Outbound = {
|
|
|
3129
2806
|
export declare const UpdateAgentTeamOfAgents$outboundSchema: z.ZodType<UpdateAgentTeamOfAgents$Outbound, z.ZodTypeDef, UpdateAgentTeamOfAgents>;
|
|
3130
2807
|
export declare function updateAgentTeamOfAgentsToJSON(updateAgentTeamOfAgents: UpdateAgentTeamOfAgents): string;
|
|
3131
2808
|
/** @internal */
|
|
3132
|
-
export type
|
|
2809
|
+
export type UpdateAgentHeaders$Outbound = {
|
|
2810
|
+
value: string;
|
|
2811
|
+
encrypted: boolean;
|
|
2812
|
+
};
|
|
2813
|
+
/** @internal */
|
|
2814
|
+
export declare const UpdateAgentHeaders$outboundSchema: z.ZodType<UpdateAgentHeaders$Outbound, z.ZodTypeDef, UpdateAgentHeaders>;
|
|
2815
|
+
export declare function updateAgentHeadersToJSON(updateAgentHeaders: UpdateAgentHeaders): string;
|
|
2816
|
+
/** @internal */
|
|
2817
|
+
export type UpdateA2AConfiguration$Outbound = {
|
|
2818
|
+
agent_url?: string | undefined;
|
|
2819
|
+
card_url?: string | undefined;
|
|
2820
|
+
headers?: {
|
|
2821
|
+
[k: string]: UpdateAgentHeaders$Outbound;
|
|
2822
|
+
} | undefined;
|
|
2823
|
+
};
|
|
2824
|
+
/** @internal */
|
|
2825
|
+
export declare const UpdateA2AConfiguration$outboundSchema: z.ZodType<UpdateA2AConfiguration$Outbound, z.ZodTypeDef, UpdateA2AConfiguration>;
|
|
2826
|
+
export declare function updateA2AConfigurationToJSON(updateA2AConfiguration: UpdateA2AConfiguration): string;
|
|
2827
|
+
/** @internal */
|
|
2828
|
+
export declare const VersionIncrement$outboundSchema: z.ZodNativeEnum<typeof VersionIncrement>;
|
|
2829
|
+
/** @internal */
|
|
2830
|
+
export type UpdateAgentRequestBody$Outbound = {
|
|
3133
2831
|
key?: string | undefined;
|
|
3134
2832
|
display_name?: string | undefined;
|
|
3135
2833
|
project_id?: string | undefined;
|
|
@@ -3147,14 +2845,17 @@ export type UpdateAgentUpdateAgentRequest$Outbound = {
|
|
|
3147
2845
|
variables?: {
|
|
3148
2846
|
[k: string]: any;
|
|
3149
2847
|
} | undefined;
|
|
2848
|
+
a2a?: UpdateA2AConfiguration$Outbound | undefined;
|
|
2849
|
+
versionIncrement?: string | undefined;
|
|
2850
|
+
versionDescription?: string | undefined;
|
|
3150
2851
|
};
|
|
3151
2852
|
/** @internal */
|
|
3152
|
-
export declare const
|
|
3153
|
-
export declare function
|
|
2853
|
+
export declare const UpdateAgentRequestBody$outboundSchema: z.ZodType<UpdateAgentRequestBody$Outbound, z.ZodTypeDef, UpdateAgentRequestBody>;
|
|
2854
|
+
export declare function updateAgentRequestBodyToJSON(updateAgentRequestBody: UpdateAgentRequestBody): string;
|
|
3154
2855
|
/** @internal */
|
|
3155
2856
|
export type UpdateAgentRequest$Outbound = {
|
|
3156
2857
|
agent_key: string;
|
|
3157
|
-
RequestBody:
|
|
2858
|
+
RequestBody: UpdateAgentRequestBody$Outbound;
|
|
3158
2859
|
};
|
|
3159
2860
|
/** @internal */
|
|
3160
2861
|
export declare const UpdateAgentRequest$outboundSchema: z.ZodType<UpdateAgentRequest$Outbound, z.ZodTypeDef, UpdateAgentRequest>;
|
|
@@ -3162,6 +2863,19 @@ export declare function updateAgentRequestToJSON(updateAgentRequest: UpdateAgent
|
|
|
3162
2863
|
/** @internal */
|
|
3163
2864
|
export declare const UpdateAgentStatus$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentStatus>;
|
|
3164
2865
|
/** @internal */
|
|
2866
|
+
export declare const UpdateAgentAgentsTeamOfAgents$inboundSchema: z.ZodType<UpdateAgentAgentsTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
2867
|
+
export declare function updateAgentAgentsTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsTeamOfAgents, SDKValidationError>;
|
|
2868
|
+
/** @internal */
|
|
2869
|
+
export declare const UpdateAgentMetrics$inboundSchema: z.ZodType<UpdateAgentMetrics, z.ZodTypeDef, unknown>;
|
|
2870
|
+
export declare function updateAgentMetricsFromJSON(jsonString: string): SafeParseResult<UpdateAgentMetrics, SDKValidationError>;
|
|
2871
|
+
/** @internal */
|
|
2872
|
+
export declare const UpdateAgentAgentsKnowledgeBases$inboundSchema: z.ZodType<UpdateAgentAgentsKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
2873
|
+
export declare function updateAgentAgentsKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsKnowledgeBases, SDKValidationError>;
|
|
2874
|
+
/** @internal */
|
|
2875
|
+
export declare const UpdateAgentSource$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentSource>;
|
|
2876
|
+
/** @internal */
|
|
2877
|
+
export declare const UpdateAgentType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentType>;
|
|
2878
|
+
/** @internal */
|
|
3165
2879
|
export declare const UpdateAgentAgentsToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsToolApprovalRequired>;
|
|
3166
2880
|
/** @internal */
|
|
3167
2881
|
export declare const UpdateAgentConditions$inboundSchema: z.ZodType<UpdateAgentConditions, z.ZodTypeDef, unknown>;
|
|
@@ -3183,13 +2897,6 @@ export declare function updateAgentAgentsGuardrailsFromJSON(jsonString: string):
|
|
|
3183
2897
|
export declare const UpdateAgentAgentsSettings$inboundSchema: z.ZodType<UpdateAgentAgentsSettings, z.ZodTypeDef, unknown>;
|
|
3184
2898
|
export declare function updateAgentAgentsSettingsFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsSettings, SDKValidationError>;
|
|
3185
2899
|
/** @internal */
|
|
3186
|
-
export declare const UpdateAgentVoice$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentVoice>;
|
|
3187
|
-
/** @internal */
|
|
3188
|
-
export declare const UpdateAgentFormat$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFormat>;
|
|
3189
|
-
/** @internal */
|
|
3190
|
-
export declare const UpdateAgentAudio$inboundSchema: z.ZodType<UpdateAgentAudio, z.ZodTypeDef, unknown>;
|
|
3191
|
-
export declare function updateAgentAudioFromJSON(jsonString: string): SafeParseResult<UpdateAgentAudio, SDKValidationError>;
|
|
3192
|
-
/** @internal */
|
|
3193
2900
|
export declare const UpdateAgentResponseFormatAgentsResponseJsonSchema$inboundSchema: z.ZodType<UpdateAgentResponseFormatAgentsResponseJsonSchema, z.ZodTypeDef, unknown>;
|
|
3194
2901
|
export declare function updateAgentResponseFormatAgentsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseFormatAgentsResponseJsonSchema, SDKValidationError>;
|
|
3195
2902
|
/** @internal */
|
|
@@ -3210,9 +2917,6 @@ export declare const UpdateAgentReasoningEffort$inboundSchema: z.ZodNativeEnum<t
|
|
|
3210
2917
|
export declare const UpdateAgentStop$inboundSchema: z.ZodType<UpdateAgentStop, z.ZodTypeDef, unknown>;
|
|
3211
2918
|
export declare function updateAgentStopFromJSON(jsonString: string): SafeParseResult<UpdateAgentStop, SDKValidationError>;
|
|
3212
2919
|
/** @internal */
|
|
3213
|
-
export declare const UpdateAgentStreamOptions$inboundSchema: z.ZodType<UpdateAgentStreamOptions, z.ZodTypeDef, unknown>;
|
|
3214
|
-
export declare function updateAgentStreamOptionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentStreamOptions, SDKValidationError>;
|
|
3215
|
-
/** @internal */
|
|
3216
2920
|
export declare const UpdateAgentThinking$inboundSchema: z.ZodType<UpdateAgentThinking, z.ZodTypeDef, unknown>;
|
|
3217
2921
|
export declare function updateAgentThinkingFromJSON(jsonString: string): SafeParseResult<UpdateAgentThinking, SDKValidationError>;
|
|
3218
2922
|
/** @internal */
|
|
@@ -3244,10 +2948,7 @@ export declare function updateAgentAgentsResponseGuardrailsFromJSON(jsonString:
|
|
|
3244
2948
|
export declare const UpdateAgentFallbacks$inboundSchema: z.ZodType<UpdateAgentFallbacks, z.ZodTypeDef, unknown>;
|
|
3245
2949
|
export declare function updateAgentFallbacksFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbacks, SDKValidationError>;
|
|
3246
2950
|
/** @internal */
|
|
3247
|
-
export declare const
|
|
3248
|
-
export declare function updateAgentAgentsRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsRetry, SDKValidationError>;
|
|
3249
|
-
/** @internal */
|
|
3250
|
-
export declare const UpdateAgentType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentType>;
|
|
2951
|
+
export declare const UpdateAgentAgentsType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentAgentsType>;
|
|
3251
2952
|
/** @internal */
|
|
3252
2953
|
export declare const UpdateAgentCache$inboundSchema: z.ZodType<UpdateAgentCache, z.ZodTypeDef, unknown>;
|
|
3253
2954
|
export declare function updateAgentCacheFromJSON(jsonString: string): SafeParseResult<UpdateAgentCache, SDKValidationError>;
|
|
@@ -3272,13 +2973,6 @@ export declare function updateAgentParametersFromJSON(jsonString: string): SafeP
|
|
|
3272
2973
|
export declare const UpdateAgentRetry$inboundSchema: z.ZodType<UpdateAgentRetry, z.ZodTypeDef, unknown>;
|
|
3273
2974
|
export declare function updateAgentRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentRetry, SDKValidationError>;
|
|
3274
2975
|
/** @internal */
|
|
3275
|
-
export declare const UpdateAgentFallbackModelConfigurationAgentsVoice$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsVoice>;
|
|
3276
|
-
/** @internal */
|
|
3277
|
-
export declare const UpdateAgentFallbackModelConfigurationAgentsFormat$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsFormat>;
|
|
3278
|
-
/** @internal */
|
|
3279
|
-
export declare const UpdateAgentFallbackModelConfigurationAgentsAudio$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsAudio, z.ZodTypeDef, unknown>;
|
|
3280
|
-
export declare function updateAgentFallbackModelConfigurationAgentsAudioFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsAudio, SDKValidationError>;
|
|
3281
|
-
/** @internal */
|
|
3282
2976
|
export declare const UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema$inboundSchema: z.ZodType<UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema, z.ZodTypeDef, unknown>;
|
|
3283
2977
|
export declare function updateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchemaFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseFormatAgentsResponse200ApplicationJSONJSONSchema, SDKValidationError>;
|
|
3284
2978
|
/** @internal */
|
|
@@ -3299,9 +2993,6 @@ export declare const UpdateAgentFallbackModelConfigurationAgentsReasoningEffort$
|
|
|
3299
2993
|
export declare const UpdateAgentFallbackModelConfigurationAgentsStop$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsStop, z.ZodTypeDef, unknown>;
|
|
3300
2994
|
export declare function updateAgentFallbackModelConfigurationAgentsStopFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsStop, SDKValidationError>;
|
|
3301
2995
|
/** @internal */
|
|
3302
|
-
export declare const UpdateAgentFallbackModelConfigurationAgentsStreamOptions$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsStreamOptions, z.ZodTypeDef, unknown>;
|
|
3303
|
-
export declare function updateAgentFallbackModelConfigurationAgentsStreamOptionsFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsStreamOptions, SDKValidationError>;
|
|
3304
|
-
/** @internal */
|
|
3305
2996
|
export declare const UpdateAgentFallbackModelConfigurationAgentsThinking$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsThinking, z.ZodTypeDef, unknown>;
|
|
3306
2997
|
export declare function updateAgentFallbackModelConfigurationAgentsThinkingFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsThinking, SDKValidationError>;
|
|
3307
2998
|
/** @internal */
|
|
@@ -3333,9 +3024,6 @@ export declare function updateAgentFallbackModelConfigurationAgentsGuardrailsFro
|
|
|
3333
3024
|
export declare const UpdateAgentFallbackModelConfigurationAgentsFallbacks$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsFallbacks, z.ZodTypeDef, unknown>;
|
|
3334
3025
|
export declare function updateAgentFallbackModelConfigurationAgentsFallbacksFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsFallbacks, SDKValidationError>;
|
|
3335
3026
|
/** @internal */
|
|
3336
|
-
export declare const UpdateAgentFallbackModelConfigurationAgentsResponse200Retry$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsResponse200Retry, z.ZodTypeDef, unknown>;
|
|
3337
|
-
export declare function updateAgentFallbackModelConfigurationAgentsResponse200RetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsResponse200Retry, SDKValidationError>;
|
|
3338
|
-
/** @internal */
|
|
3339
3027
|
export declare const UpdateAgentFallbackModelConfigurationAgentsType$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentFallbackModelConfigurationAgentsType>;
|
|
3340
3028
|
/** @internal */
|
|
3341
3029
|
export declare const UpdateAgentFallbackModelConfigurationAgentsCache$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsCache, z.ZodTypeDef, unknown>;
|
|
@@ -3358,8 +3046,8 @@ export declare function updateAgentFallbackModelConfigurationAgentsTimeoutFromJS
|
|
|
3358
3046
|
export declare const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsParameters, z.ZodTypeDef, unknown>;
|
|
3359
3047
|
export declare function updateAgentFallbackModelConfigurationAgentsParametersFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsParameters, SDKValidationError>;
|
|
3360
3048
|
/** @internal */
|
|
3361
|
-
export declare const
|
|
3362
|
-
export declare function
|
|
3049
|
+
export declare const UpdateAgentFallbackModelConfigurationAgentsRetry$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgentsRetry, z.ZodTypeDef, unknown>;
|
|
3050
|
+
export declare function updateAgentFallbackModelConfigurationAgentsRetryFromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgentsRetry, SDKValidationError>;
|
|
3363
3051
|
/** @internal */
|
|
3364
3052
|
export declare const UpdateAgentFallbackModelConfigurationAgents2$inboundSchema: z.ZodType<UpdateAgentFallbackModelConfigurationAgents2, z.ZodTypeDef, unknown>;
|
|
3365
3053
|
export declare function updateAgentFallbackModelConfigurationAgents2FromJSON(jsonString: string): SafeParseResult<UpdateAgentFallbackModelConfigurationAgents2, SDKValidationError>;
|
|
@@ -3370,16 +3058,11 @@ export declare function updateAgentAgentsFallbackModelConfigurationFromJSON(json
|
|
|
3370
3058
|
export declare const UpdateAgentModel$inboundSchema: z.ZodType<UpdateAgentModel, z.ZodTypeDef, unknown>;
|
|
3371
3059
|
export declare function updateAgentModelFromJSON(jsonString: string): SafeParseResult<UpdateAgentModel, SDKValidationError>;
|
|
3372
3060
|
/** @internal */
|
|
3373
|
-
export declare const
|
|
3374
|
-
export declare function
|
|
3061
|
+
export declare const UpdateAgentAgentsHeaders$inboundSchema: z.ZodType<UpdateAgentAgentsHeaders, z.ZodTypeDef, unknown>;
|
|
3062
|
+
export declare function updateAgentAgentsHeadersFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsHeaders, SDKValidationError>;
|
|
3375
3063
|
/** @internal */
|
|
3376
|
-
export declare const
|
|
3377
|
-
export declare function
|
|
3378
|
-
/** @internal */
|
|
3379
|
-
export declare const UpdateAgentAgentsKnowledgeBases$inboundSchema: z.ZodType<UpdateAgentAgentsKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
3380
|
-
export declare function updateAgentAgentsKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<UpdateAgentAgentsKnowledgeBases, SDKValidationError>;
|
|
3381
|
-
/** @internal */
|
|
3382
|
-
export declare const UpdateAgentSource$inboundSchema: z.ZodNativeEnum<typeof UpdateAgentSource>;
|
|
3064
|
+
export declare const UpdateAgentA2AAgentConfiguration$inboundSchema: z.ZodType<UpdateAgentA2AAgentConfiguration, z.ZodTypeDef, unknown>;
|
|
3065
|
+
export declare function updateAgentA2AAgentConfigurationFromJSON(jsonString: string): SafeParseResult<UpdateAgentA2AAgentConfiguration, SDKValidationError>;
|
|
3383
3066
|
/** @internal */
|
|
3384
3067
|
export declare const UpdateAgentResponseBody$inboundSchema: z.ZodType<UpdateAgentResponseBody, z.ZodTypeDef, unknown>;
|
|
3385
3068
|
export declare function updateAgentResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateAgentResponseBody, SDKValidationError>;
|