@orq-ai/node 4.2.0-rc.2 → 4.2.0-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -31
- package/bin/mcp-server.js +1599 -893
- package/bin/mcp-server.js.map +97 -94
- package/examples/package-lock.json +1 -1
- package/funcs/{evaluatorsGetV2EvaluatorsIdVersionsVersionId.d.ts → conversationsCreateConversationResponse.d.ts} +5 -5
- package/funcs/conversationsCreateConversationResponse.d.ts.map +1 -0
- package/funcs/{evaluatorsGetV2EvaluatorsIdVersionsVersionId.js → conversationsCreateConversationResponse.js} +27 -22
- package/funcs/conversationsCreateConversationResponse.js.map +1 -0
- package/funcs/conversationsList.d.ts +1 -1
- package/funcs/conversationsList.d.ts.map +1 -1
- package/funcs/conversationsList.js +6 -4
- package/funcs/conversationsList.js.map +1 -1
- package/funcs/conversationsRetrieve.d.ts +2 -2
- package/funcs/conversationsRetrieve.d.ts.map +1 -1
- package/funcs/conversationsRetrieve.js +2 -1
- package/funcs/conversationsRetrieve.js.map +1 -1
- package/funcs/memoryStoresCreateDocument.js +2 -5
- package/funcs/memoryStoresCreateDocument.js.map +1 -1
- package/funcs/memoryStoresDeleteDocument.js +2 -5
- package/funcs/memoryStoresDeleteDocument.js.map +1 -1
- package/funcs/memoryStoresDeleteMemory.js +2 -5
- package/funcs/memoryStoresDeleteMemory.js.map +1 -1
- package/funcs/memoryStoresListDocuments.js +2 -5
- package/funcs/memoryStoresListDocuments.js.map +1 -1
- package/funcs/memoryStoresRetrieveDocument.js +2 -5
- package/funcs/memoryStoresRetrieveDocument.js.map +1 -1
- package/funcs/memoryStoresRetrieveMemory.js +2 -5
- package/funcs/memoryStoresRetrieveMemory.js.map +1 -1
- package/funcs/memoryStoresUpdateDocument.js +2 -5
- package/funcs/memoryStoresUpdateDocument.js.map +1 -1
- package/funcs/memoryStoresUpdateMemory.js +2 -5
- package/funcs/memoryStoresUpdateMemory.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/sdks.js +2 -2
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.js +3 -3
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/conversationsCreateConversationResponse.d.ts +8 -0
- package/mcp-server/tools/conversationsCreateConversationResponse.d.ts.map +1 -0
- package/mcp-server/tools/{evaluatorsGetV2EvaluatorsIdVersionsVersionId.js → conversationsCreateConversationResponse.js} +9 -9
- package/mcp-server/tools/conversationsCreateConversationResponse.js.map +1 -0
- package/mcp-server/tools/conversationsList.d.ts +1 -0
- package/mcp-server/tools/conversationsList.d.ts.map +1 -1
- package/mcp-server/tools/conversationsList.js +2 -1
- package/mcp-server/tools/conversationsList.js.map +1 -1
- package/models/components/agentinactivestreamingevent.d.ts +5 -4
- package/models/components/agentinactivestreamingevent.d.ts.map +1 -1
- package/models/components/agentinactivestreamingevent.js +5 -0
- package/models/components/agentinactivestreamingevent.js.map +1 -1
- package/models/components/agentmessagecreatedstreamingevent.d.ts +5 -4
- package/models/components/agentmessagecreatedstreamingevent.d.ts.map +1 -1
- package/models/components/agentmessagecreatedstreamingevent.js +5 -0
- package/models/components/agentmessagecreatedstreamingevent.js.map +1 -1
- package/models/components/agentresponsemessage.d.ts +5 -4
- package/models/components/agentresponsemessage.d.ts.map +1 -1
- package/models/components/agentresponsemessage.js +5 -0
- package/models/components/agentresponsemessage.js.map +1 -1
- package/models/components/agentstartedstreamingevent.d.ts +5 -4
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +5 -0
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/agentthoughtstreamingevent.d.ts +5 -4
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +5 -0
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/conversationresponse.d.ts +20 -20
- package/models/components/conversationresponse.d.ts.map +1 -1
- package/models/components/conversationresponse.js +7 -7
- package/models/components/conversationresponse.js.map +1 -1
- package/models/components/conversationwithmessagesresponse.d.ts +105 -0
- package/models/components/conversationwithmessagesresponse.d.ts.map +1 -0
- package/models/components/conversationwithmessagesresponse.js +115 -0
- package/models/components/conversationwithmessagesresponse.js.map +1 -0
- package/models/components/errorpart.d.ts +24 -0
- package/models/components/errorpart.d.ts.map +1 -0
- package/models/{errors/getv2evaluatorsidversionsversionid.js → components/errorpart.js} +20 -32
- package/models/components/errorpart.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +1 -1
- package/models/components/messageresponse.d.ts +77 -0
- package/models/components/messageresponse.d.ts.map +1 -0
- package/models/components/messageresponse.js +124 -0
- package/models/components/messageresponse.js.map +1 -0
- package/models/components/partdoneevent.js +2 -2
- package/models/components/publiccontact.d.ts +1 -1
- package/models/components/reasoningpart.js +2 -2
- package/models/components/responsestartedevent.d.ts +10 -0
- package/models/components/responsestartedevent.d.ts.map +1 -1
- package/models/components/responsestartedevent.js +4 -0
- package/models/components/responsestartedevent.js.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.d.ts +1 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.js +1 -0
- package/models/components/toolexecutionfailedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +1 -0
- package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.js +1 -0
- package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +1 -0
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.js +1 -0
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
- package/models/components/usermessagerequest.d.ts +64 -0
- package/models/components/usermessagerequest.d.ts.map +1 -0
- package/models/components/usermessagerequest.js +108 -0
- package/models/components/usermessagerequest.js.map +1 -0
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +84 -2
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +88 -8
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +69 -6
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +43 -1
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +57 -5
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +46 -7
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.d.ts +45 -26
- package/models/operations/createconversation.d.ts.map +1 -1
- package/models/operations/createconversation.js +15 -11
- package/models/operations/createconversation.js.map +1 -1
- package/models/operations/createconversationresponse.d.ts +295 -0
- package/models/operations/createconversationresponse.d.ts.map +1 -0
- package/models/operations/createconversationresponse.js +360 -0
- package/models/operations/createconversationresponse.js.map +1 -0
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +15 -15
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +26 -26
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createimage.d.ts +55 -3
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +41 -3
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/creatememory.d.ts +3 -19
- package/models/operations/creatememory.d.ts.map +1 -1
- package/models/operations/creatememory.js +0 -4
- package/models/operations/creatememory.js.map +1 -1
- package/models/operations/creatememorydocument.d.ts +3 -3
- package/models/operations/creatememorydocument.d.ts.map +1 -1
- package/models/operations/creatememorydocument.js +4 -4
- package/models/operations/creatememorydocument.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deletememory.d.ts +2 -2
- package/models/operations/deletememory.d.ts.map +1 -1
- package/models/operations/deletememory.js +4 -4
- package/models/operations/deletememory.js.map +1 -1
- package/models/operations/deletememorydocument.d.ts +2 -2
- package/models/operations/deletememorydocument.d.ts.map +1 -1
- package/models/operations/deletememorydocument.js +4 -4
- package/models/operations/deletememorydocument.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +1 -1
- package/models/operations/deploymentstream.d.ts +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/generateconversationname.d.ts +21 -21
- package/models/operations/generateconversationname.d.ts.map +1 -1
- package/models/operations/generateconversationname.js +7 -7
- package/models/operations/generateconversationname.js.map +1 -1
- package/models/operations/getallmemories.d.ts +3 -10
- package/models/operations/getallmemories.d.ts.map +1 -1
- package/models/operations/getallmemories.js +0 -2
- package/models/operations/getallmemories.js.map +1 -1
- package/models/operations/getallmemorydocuments.d.ts +2 -2
- package/models/operations/getallmemorydocuments.d.ts.map +1 -1
- package/models/operations/getallmemorydocuments.js +4 -4
- package/models/operations/getallmemorydocuments.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +1 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +67 -10
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +47 -1
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +42 -1
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +45 -4
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listconversations.d.ts +8 -3
- package/models/operations/listconversations.d.ts.map +1 -1
- package/models/operations/listconversations.js +2 -0
- package/models/operations/listconversations.js.map +1 -1
- package/models/operations/listdatasetdatapoints.d.ts +15 -15
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +28 -28
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/parse.d.ts +78 -2
- package/models/operations/parse.d.ts.map +1 -1
- package/models/operations/parse.js +62 -1
- package/models/operations/parse.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +42 -1
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +43 -3
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.d.ts +0 -98
- package/models/operations/retrieveconversation.d.ts.map +1 -1
- package/models/operations/retrieveconversation.js +1 -70
- package/models/operations/retrieveconversation.js.map +1 -1
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievememory.d.ts +5 -12
- package/models/operations/retrievememory.d.ts.map +1 -1
- package/models/operations/retrievememory.js +4 -6
- package/models/operations/retrievememory.js.map +1 -1
- package/models/operations/retrievememorydocument.d.ts +2 -2
- package/models/operations/retrievememorydocument.d.ts.map +1 -1
- package/models/operations/retrievememorydocument.js +4 -4
- package/models/operations/retrievememorydocument.js.map +1 -1
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +97 -11
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +82 -6
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +63 -6
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +43 -1
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +93 -7
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +75 -5
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +72 -2
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +76 -7
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.d.ts +31 -25
- package/models/operations/updateconversation.d.ts.map +1 -1
- package/models/operations/updateconversation.js +9 -9
- package/models/operations/updateconversation.js.map +1 -1
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememory.d.ts +5 -20
- package/models/operations/updatememory.d.ts.map +1 -1
- package/models/operations/updatememory.js +4 -16
- package/models/operations/updatememory.js.map +1 -1
- package/models/operations/updatememorydocument.d.ts +2 -2
- package/models/operations/updatememorydocument.d.ts.map +1 -1
- package/models/operations/updatememorydocument.js +4 -4
- package/models/operations/updatememorydocument.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/conversations.d.ts +11 -2
- package/sdk/conversations.d.ts.map +1 -1
- package/sdk/conversations.js +12 -2
- package/sdk/conversations.js.map +1 -1
- package/sdk/evaluators.d.ts +0 -7
- package/sdk/evaluators.d.ts.map +1 -1
- package/sdk/evaluators.js +0 -10
- package/sdk/evaluators.js.map +1 -1
- package/sdk/internal.d.ts +13 -0
- package/sdk/internal.d.ts.map +1 -0
- package/sdk/internal.js +22 -0
- package/sdk/internal.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/{evaluatorsGetV2EvaluatorsIdVersionsVersionId.ts → conversationsCreateConversationResponse.ts} +34 -38
- package/src/funcs/conversationsList.ts +6 -1
- package/src/funcs/conversationsRetrieve.ts +5 -4
- package/src/funcs/memoryStoresCreateDocument.ts +6 -5
- package/src/funcs/memoryStoresDeleteDocument.ts +6 -5
- package/src/funcs/memoryStoresDeleteMemory.ts +6 -5
- package/src/funcs/memoryStoresListDocuments.ts +6 -5
- package/src/funcs/memoryStoresRetrieveDocument.ts +6 -5
- package/src/funcs/memoryStoresRetrieveMemory.ts +6 -5
- package/src/funcs/memoryStoresUpdateDocument.ts +6 -5
- package/src/funcs/memoryStoresUpdateMemory.ts +6 -5
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -3
- package/src/mcp-server/tools/conversationsCreateConversationResponse.ts +39 -0
- package/src/mcp-server/tools/conversationsList.ts +2 -0
- package/src/models/components/agentinactivestreamingevent.ts +16 -1
- package/src/models/components/agentmessagecreatedstreamingevent.ts +16 -1
- package/src/models/components/agentresponsemessage.ts +16 -1
- package/src/models/components/agentstartedstreamingevent.ts +16 -1
- package/src/models/components/agentthoughtstreamingevent.ts +16 -1
- package/src/models/components/conversationresponse.ts +26 -26
- package/src/models/components/conversationwithmessagesresponse.ts +226 -0
- package/src/models/components/errorpart.ts +58 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/invokedeploymentrequest.ts +1 -1
- package/src/models/components/messageresponse.ts +217 -0
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/publiccontact.ts +1 -1
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/components/responsestartedevent.ts +14 -0
- package/src/models/components/toolexecutionfailedstreamingevent.ts +1 -0
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +1 -0
- package/src/models/components/toolexecutionstartedstreamingevent.ts +1 -0
- package/src/models/components/usermessagerequest.ts +194 -0
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/createagentrequest.ts +204 -2
- package/src/models/operations/createagentresponserequest.ts +122 -5
- package/src/models/operations/createchatcompletion.ts +110 -7
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +59 -36
- package/src/models/operations/createconversationresponse.ts +794 -0
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +48 -40
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createimage.ts +105 -5
- package/src/models/operations/creatememory.ts +3 -15
- package/src/models/operations/creatememorydocument.ts +7 -7
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deletememory.ts +6 -6
- package/src/models/operations/deletememorydocument.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +1 -1
- package/src/models/operations/deploymentstream.ts +1 -1
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/generateconversationname.ts +27 -27
- package/src/models/operations/getallmemories.ts +3 -8
- package/src/models/operations/getallmemorydocuments.ts +6 -6
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +1 -1
- package/src/models/operations/invokeagent.ts +128 -5
- package/src/models/operations/listagents.ts +104 -1
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listconversations.ts +10 -3
- package/src/models/operations/listdatasetdatapoints.ts +53 -53
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/parse.ts +157 -2
- package/src/models/operations/retrieveagentrequest.ts +111 -1
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +0 -197
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievememory.ts +9 -14
- package/src/models/operations/retrievememorydocument.ts +6 -6
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +213 -8
- package/src/models/operations/streamagent.ts +120 -5
- package/src/models/operations/streamrunagent.ts +209 -8
- package/src/models/operations/updateagent.ts +189 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +39 -33
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatememory.ts +9 -32
- package/src/models/operations/updatememorydocument.ts +6 -6
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/conversations.ts +23 -1
- package/src/sdk/evaluators.ts +0 -18
- package/src/sdk/internal.ts +28 -0
- package/src/sdk/sdk.ts +6 -0
- package/funcs/evaluatorsGetV2EvaluatorsIdVersionsVersionId.d.ts.map +0 -1
- package/funcs/evaluatorsGetV2EvaluatorsIdVersionsVersionId.js.map +0 -1
- package/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.d.ts +0 -8
- package/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.d.ts.map +0 -1
- package/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.js.map +0 -1
- package/models/errors/getv2evaluatorsidversionsversionid.d.ts +0 -29
- package/models/errors/getv2evaluatorsidversionsversionid.d.ts.map +0 -1
- package/models/errors/getv2evaluatorsidversionsversionid.js.map +0 -1
- package/models/operations/getv2evaluatorsidversionsversionid.d.ts +0 -61
- package/models/operations/getv2evaluatorsidversionsversionid.d.ts.map +0 -1
- package/models/operations/getv2evaluatorsidversionsversionid.js +0 -125
- package/models/operations/getv2evaluatorsidversionsversionid.js.map +0 -1
- package/src/mcp-server/tools/evaluatorsGetV2EvaluatorsIdVersionsVersionId.ts +0 -40
- package/src/models/errors/getv2evaluatorsidversionsversionid.ts +0 -69
- package/src/models/operations/getv2evaluatorsidversionsversionid.ts +0 -193
|
@@ -174,7 +174,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
174
174
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
175
175
|
.optional(),
|
|
176
176
|
updated: z.string().datetime({ offset: true }).default(
|
|
177
|
-
"
|
|
177
|
+
"2026-01-12T07:12:53.135Z",
|
|
178
178
|
).transform(v => new Date(v)),
|
|
179
179
|
}).transform((v) => {
|
|
180
180
|
return remap$(v, {
|
|
@@ -213,7 +213,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
213
213
|
createdById: z.string().optional(),
|
|
214
214
|
updatedById: z.string().optional(),
|
|
215
215
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
216
|
-
updated: z.date().default(() => new Date("
|
|
216
|
+
updated: z.date().default(() => new Date("2026-01-12T07:12:53.135Z"))
|
|
217
217
|
.transform(v => v.toISOString()),
|
|
218
218
|
}).transform((v) => {
|
|
219
219
|
return remap$(v, {
|
|
@@ -145,7 +145,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
145
145
|
z.ZodTypeDef,
|
|
146
146
|
unknown
|
|
147
147
|
> = z.object({
|
|
148
|
-
_id: z.string().default("
|
|
148
|
+
_id: z.string().default("01KERGT8D2ZWJV05A4T5S781ZR"),
|
|
149
149
|
display_name: z.string(),
|
|
150
150
|
description: z.string().optional(),
|
|
151
151
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -188,7 +188,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
188
188
|
z.ZodTypeDef,
|
|
189
189
|
RetrieveDatasourceResponseBody
|
|
190
190
|
> = z.object({
|
|
191
|
-
id: z.string().default("
|
|
191
|
+
id: z.string().default("01KERGT8D2ZWJV05A4T5S781ZR"),
|
|
192
192
|
displayName: z.string(),
|
|
193
193
|
description: z.string().optional(),
|
|
194
194
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -16,7 +16,7 @@ export type RetrieveMemoryRequest = {
|
|
|
16
16
|
/**
|
|
17
17
|
* The unique identifier of the memory
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
memoryEntityId: string;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -25,7 +25,9 @@ export type RetrieveMemoryRequest = {
|
|
|
25
25
|
export type RetrieveMemoryResponseBody = {
|
|
26
26
|
id: string;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* This property have been deprecated and moved to `_id`. Please refer to `_id` for future operations
|
|
29
|
+
*
|
|
30
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
29
31
|
*/
|
|
30
32
|
entityId: string;
|
|
31
33
|
created: string;
|
|
@@ -33,10 +35,6 @@ export type RetrieveMemoryResponseBody = {
|
|
|
33
35
|
createdById?: string | null | undefined;
|
|
34
36
|
updatedById?: string | null | undefined;
|
|
35
37
|
storeId: string;
|
|
36
|
-
/**
|
|
37
|
-
* Flexible key-value pairs for custom filtering and categorization. Clients can add arbitrary string metadata to enable future filtering of memory access based on their specific needs (e.g., user segments, topics, contexts, or any custom taxonomy).
|
|
38
|
-
*/
|
|
39
|
-
metadata: { [k: string]: string };
|
|
40
38
|
workspaceId: string;
|
|
41
39
|
/**
|
|
42
40
|
* The number of memories in the entity
|
|
@@ -51,17 +49,17 @@ export const RetrieveMemoryRequest$inboundSchema: z.ZodType<
|
|
|
51
49
|
unknown
|
|
52
50
|
> = z.object({
|
|
53
51
|
memory_store_key: z.string(),
|
|
54
|
-
|
|
52
|
+
memory_entity_id: z.string(),
|
|
55
53
|
}).transform((v) => {
|
|
56
54
|
return remap$(v, {
|
|
57
55
|
"memory_store_key": "memoryStoreKey",
|
|
58
|
-
"
|
|
56
|
+
"memory_entity_id": "memoryEntityId",
|
|
59
57
|
});
|
|
60
58
|
});
|
|
61
59
|
/** @internal */
|
|
62
60
|
export type RetrieveMemoryRequest$Outbound = {
|
|
63
61
|
memory_store_key: string;
|
|
64
|
-
|
|
62
|
+
memory_entity_id: string;
|
|
65
63
|
};
|
|
66
64
|
|
|
67
65
|
/** @internal */
|
|
@@ -71,11 +69,11 @@ export const RetrieveMemoryRequest$outboundSchema: z.ZodType<
|
|
|
71
69
|
RetrieveMemoryRequest
|
|
72
70
|
> = z.object({
|
|
73
71
|
memoryStoreKey: z.string(),
|
|
74
|
-
|
|
72
|
+
memoryEntityId: z.string(),
|
|
75
73
|
}).transform((v) => {
|
|
76
74
|
return remap$(v, {
|
|
77
75
|
memoryStoreKey: "memory_store_key",
|
|
78
|
-
|
|
76
|
+
memoryEntityId: "memory_entity_id",
|
|
79
77
|
});
|
|
80
78
|
});
|
|
81
79
|
|
|
@@ -109,7 +107,6 @@ export const RetrieveMemoryResponseBody$inboundSchema: z.ZodType<
|
|
|
109
107
|
created_by_id: z.nullable(z.string()).optional(),
|
|
110
108
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
111
109
|
store_id: z.string(),
|
|
112
|
-
metadata: z.record(z.string()),
|
|
113
110
|
workspace_id: z.string(),
|
|
114
111
|
documents_count: z.number(),
|
|
115
112
|
}).transform((v) => {
|
|
@@ -132,7 +129,6 @@ export type RetrieveMemoryResponseBody$Outbound = {
|
|
|
132
129
|
created_by_id?: string | null | undefined;
|
|
133
130
|
updated_by_id?: string | null | undefined;
|
|
134
131
|
store_id: string;
|
|
135
|
-
metadata: { [k: string]: string };
|
|
136
132
|
workspace_id: string;
|
|
137
133
|
documents_count: number;
|
|
138
134
|
};
|
|
@@ -150,7 +146,6 @@ export const RetrieveMemoryResponseBody$outboundSchema: z.ZodType<
|
|
|
150
146
|
createdById: z.nullable(z.string()).optional(),
|
|
151
147
|
updatedById: z.nullable(z.string()).optional(),
|
|
152
148
|
storeId: z.string(),
|
|
153
|
-
metadata: z.record(z.string()),
|
|
154
149
|
workspaceId: z.string(),
|
|
155
150
|
documentsCount: z.number(),
|
|
156
151
|
}).transform((v) => {
|
|
@@ -16,7 +16,7 @@ export type RetrieveMemoryDocumentRequest = {
|
|
|
16
16
|
/**
|
|
17
17
|
* The unique identifier of the memory
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
memoryEntityId: string;
|
|
20
20
|
/**
|
|
21
21
|
* The unique identifier of the document
|
|
22
22
|
*/
|
|
@@ -52,19 +52,19 @@ export const RetrieveMemoryDocumentRequest$inboundSchema: z.ZodType<
|
|
|
52
52
|
unknown
|
|
53
53
|
> = z.object({
|
|
54
54
|
memory_store_key: z.string(),
|
|
55
|
-
|
|
55
|
+
memory_entity_id: z.string(),
|
|
56
56
|
document_id: z.string(),
|
|
57
57
|
}).transform((v) => {
|
|
58
58
|
return remap$(v, {
|
|
59
59
|
"memory_store_key": "memoryStoreKey",
|
|
60
|
-
"
|
|
60
|
+
"memory_entity_id": "memoryEntityId",
|
|
61
61
|
"document_id": "documentId",
|
|
62
62
|
});
|
|
63
63
|
});
|
|
64
64
|
/** @internal */
|
|
65
65
|
export type RetrieveMemoryDocumentRequest$Outbound = {
|
|
66
66
|
memory_store_key: string;
|
|
67
|
-
|
|
67
|
+
memory_entity_id: string;
|
|
68
68
|
document_id: string;
|
|
69
69
|
};
|
|
70
70
|
|
|
@@ -75,12 +75,12 @@ export const RetrieveMemoryDocumentRequest$outboundSchema: z.ZodType<
|
|
|
75
75
|
RetrieveMemoryDocumentRequest
|
|
76
76
|
> = z.object({
|
|
77
77
|
memoryStoreKey: z.string(),
|
|
78
|
-
|
|
78
|
+
memoryEntityId: z.string(),
|
|
79
79
|
documentId: z.string(),
|
|
80
80
|
}).transform((v) => {
|
|
81
81
|
return remap$(v, {
|
|
82
82
|
memoryStoreKey: "memory_store_key",
|
|
83
|
-
|
|
83
|
+
memoryEntityId: "memory_entity_id",
|
|
84
84
|
documentId: "document_id",
|
|
85
85
|
});
|
|
86
86
|
});
|
|
@@ -858,7 +858,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
858
858
|
z.ZodTypeDef,
|
|
859
859
|
unknown
|
|
860
860
|
> = z.object({
|
|
861
|
-
_id: z.string().default("
|
|
861
|
+
_id: z.string().default("tool_01KERGT89PAHKAKYTY8KYBT6QT"),
|
|
862
862
|
path: z.string(),
|
|
863
863
|
key: z.string(),
|
|
864
864
|
display_name: z.string().optional(),
|
|
@@ -913,7 +913,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$outboundSchema:
|
|
|
913
913
|
z.ZodTypeDef,
|
|
914
914
|
RetrieveToolResponseBodyCodeExecutionTool
|
|
915
915
|
> = z.object({
|
|
916
|
-
id: z.string().default("
|
|
916
|
+
id: z.string().default("tool_01KERGT89PAHKAKYTY8KYBT6QT"),
|
|
917
917
|
path: z.string(),
|
|
918
918
|
key: z.string(),
|
|
919
919
|
displayName: z.string().optional(),
|
|
@@ -1092,7 +1092,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1092
1092
|
z.ZodTypeDef,
|
|
1093
1093
|
unknown
|
|
1094
1094
|
> = z.object({
|
|
1095
|
-
id: z.string().default("
|
|
1095
|
+
id: z.string().default("01KERGT89PSF9G166ZPTXB6ACB"),
|
|
1096
1096
|
name: z.string(),
|
|
1097
1097
|
description: z.string().optional(),
|
|
1098
1098
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -1111,7 +1111,7 @@ export const RetrieveToolResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
1111
1111
|
z.ZodTypeDef,
|
|
1112
1112
|
RetrieveToolResponseBodyTools
|
|
1113
1113
|
> = z.object({
|
|
1114
|
-
id: z.string().default("
|
|
1114
|
+
id: z.string().default("01KERGT89PSF9G166ZPTXB6ACB"),
|
|
1115
1115
|
name: z.string(),
|
|
1116
1116
|
description: z.string().optional(),
|
|
1117
1117
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -1217,7 +1217,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
1217
1217
|
z.ZodTypeDef,
|
|
1218
1218
|
unknown
|
|
1219
1219
|
> = z.object({
|
|
1220
|
-
_id: z.string().default("
|
|
1220
|
+
_id: z.string().default("tool_01KERGT89NZ39GNVZF1A90VSB1"),
|
|
1221
1221
|
path: z.string(),
|
|
1222
1222
|
key: z.string(),
|
|
1223
1223
|
display_name: z.string().optional(),
|
|
@@ -1270,7 +1270,7 @@ export const RetrieveToolResponseBodyMCPTool$outboundSchema: z.ZodType<
|
|
|
1270
1270
|
z.ZodTypeDef,
|
|
1271
1271
|
RetrieveToolResponseBodyMCPTool
|
|
1272
1272
|
> = z.object({
|
|
1273
|
-
id: z.string().default("
|
|
1273
|
+
id: z.string().default("tool_01KERGT89NZ39GNVZF1A90VSB1"),
|
|
1274
1274
|
path: z.string(),
|
|
1275
1275
|
key: z.string(),
|
|
1276
1276
|
displayName: z.string().optional(),
|
|
@@ -1641,7 +1641,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1641
1641
|
z.ZodTypeDef,
|
|
1642
1642
|
unknown
|
|
1643
1643
|
> = z.object({
|
|
1644
|
-
_id: z.string().default("
|
|
1644
|
+
_id: z.string().default("tool_01KERGT89JKWDNBS2VR9A6B2NY"),
|
|
1645
1645
|
path: z.string(),
|
|
1646
1646
|
key: z.string(),
|
|
1647
1647
|
display_name: z.string().optional(),
|
|
@@ -1694,7 +1694,7 @@ export const RetrieveToolResponseBodyHTTPTool$outboundSchema: z.ZodType<
|
|
|
1694
1694
|
z.ZodTypeDef,
|
|
1695
1695
|
RetrieveToolResponseBodyHTTPTool
|
|
1696
1696
|
> = z.object({
|
|
1697
|
-
id: z.string().default("
|
|
1697
|
+
id: z.string().default("tool_01KERGT89JKWDNBS2VR9A6B2NY"),
|
|
1698
1698
|
path: z.string(),
|
|
1699
1699
|
key: z.string(),
|
|
1700
1700
|
displayName: z.string().optional(),
|
|
@@ -1868,7 +1868,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1868
1868
|
z.ZodTypeDef,
|
|
1869
1869
|
unknown
|
|
1870
1870
|
> = z.object({
|
|
1871
|
-
_id: z.string().default("
|
|
1871
|
+
_id: z.string().default("tool_01KERGT89HJGEJQQ2TY19Q33A9"),
|
|
1872
1872
|
path: z.string(),
|
|
1873
1873
|
key: z.string(),
|
|
1874
1874
|
display_name: z.string().optional(),
|
|
@@ -1920,7 +1920,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
1920
1920
|
z.ZodTypeDef,
|
|
1921
1921
|
RetrieveToolResponseBodyJSONSchemaTool
|
|
1922
1922
|
> = z.object({
|
|
1923
|
-
id: z.string().default("
|
|
1923
|
+
id: z.string().default("tool_01KERGT89HJGEJQQ2TY19Q33A9"),
|
|
1924
1924
|
path: z.string(),
|
|
1925
1925
|
key: z.string(),
|
|
1926
1926
|
displayName: z.string().optional(),
|
|
@@ -2113,7 +2113,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2113
2113
|
z.ZodTypeDef,
|
|
2114
2114
|
unknown
|
|
2115
2115
|
> = z.object({
|
|
2116
|
-
_id: z.string().default("
|
|
2116
|
+
_id: z.string().default("tool_01KERGT89GBH8ZS942KQ0F08E9"),
|
|
2117
2117
|
path: z.string(),
|
|
2118
2118
|
key: z.string(),
|
|
2119
2119
|
display_name: z.string().optional(),
|
|
@@ -2164,7 +2164,7 @@ export const RetrieveToolResponseBodyFunctionTool$outboundSchema: z.ZodType<
|
|
|
2164
2164
|
z.ZodTypeDef,
|
|
2165
2165
|
RetrieveToolResponseBodyFunctionTool
|
|
2166
2166
|
> = z.object({
|
|
2167
|
-
id: z.string().default("
|
|
2167
|
+
id: z.string().default("tool_01KERGT89GBH8ZS942KQ0F08E9"),
|
|
2168
2168
|
path: z.string(),
|
|
2169
2169
|
key: z.string(),
|
|
2170
2170
|
displayName: z.string().optional(),
|
|
@@ -778,7 +778,21 @@ export type RunAgentFallbackModelConfigurationParameters = {
|
|
|
778
778
|
};
|
|
779
779
|
|
|
780
780
|
/**
|
|
781
|
-
*
|
|
781
|
+
* Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
|
|
782
|
+
*/
|
|
783
|
+
export type RunAgentFallbackModelConfigurationRetry = {
|
|
784
|
+
/**
|
|
785
|
+
* Number of retry attempts (1-5)
|
|
786
|
+
*/
|
|
787
|
+
count?: number | undefined;
|
|
788
|
+
/**
|
|
789
|
+
* HTTP status codes that trigger retry logic
|
|
790
|
+
*/
|
|
791
|
+
onCodes?: Array<number> | undefined;
|
|
792
|
+
};
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* Fallback model configuration with optional parameters and retry settings.
|
|
782
796
|
*/
|
|
783
797
|
export type RunAgentFallbackModelConfiguration2 = {
|
|
784
798
|
/**
|
|
@@ -789,6 +803,10 @@ export type RunAgentFallbackModelConfiguration2 = {
|
|
|
789
803
|
* Optional model parameters specific to this fallback model. Overrides primary model parameters if this fallback is used.
|
|
790
804
|
*/
|
|
791
805
|
parameters?: RunAgentFallbackModelConfigurationParameters | undefined;
|
|
806
|
+
/**
|
|
807
|
+
* Retry configuration for this fallback model. Allows customizing retry count (1-5) and HTTP status codes that trigger retries.
|
|
808
|
+
*/
|
|
809
|
+
retry?: RunAgentFallbackModelConfigurationRetry | undefined;
|
|
792
810
|
};
|
|
793
811
|
|
|
794
812
|
/**
|
|
@@ -835,7 +853,8 @@ export type RunAgentRole = RunAgentRoleUserMessage | RunAgentRoleToolMessage;
|
|
|
835
853
|
export type RunAgentPublicMessagePart =
|
|
836
854
|
| components.TextPart
|
|
837
855
|
| components.FilePart
|
|
838
|
-
| components.ToolResultPart
|
|
856
|
+
| components.ToolResultPart
|
|
857
|
+
| components.ErrorPart;
|
|
839
858
|
|
|
840
859
|
/**
|
|
841
860
|
* The A2A format message containing the task for the agent to perform.
|
|
@@ -853,12 +872,47 @@ export type RunAgentA2AMessage = {
|
|
|
853
872
|
* A2A message parts (text, file, or tool_result only)
|
|
854
873
|
*/
|
|
855
874
|
parts: Array<
|
|
856
|
-
|
|
875
|
+
| components.TextPart
|
|
876
|
+
| components.FilePart
|
|
877
|
+
| components.ToolResultPart
|
|
878
|
+
| components.ErrorPart
|
|
857
879
|
>;
|
|
858
880
|
};
|
|
859
881
|
|
|
860
882
|
/**
|
|
861
|
-
* Information about the
|
|
883
|
+
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
884
|
+
*/
|
|
885
|
+
export type RunAgentIdentity = {
|
|
886
|
+
/**
|
|
887
|
+
* Unique identifier for the contact
|
|
888
|
+
*/
|
|
889
|
+
id: string;
|
|
890
|
+
/**
|
|
891
|
+
* Display name of the contact
|
|
892
|
+
*/
|
|
893
|
+
displayName?: string | undefined;
|
|
894
|
+
/**
|
|
895
|
+
* Email address of the contact
|
|
896
|
+
*/
|
|
897
|
+
email?: string | undefined;
|
|
898
|
+
/**
|
|
899
|
+
* A hash of key/value pairs containing any other data about the contact
|
|
900
|
+
*/
|
|
901
|
+
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
902
|
+
/**
|
|
903
|
+
* URL to the contact's avatar or logo
|
|
904
|
+
*/
|
|
905
|
+
logoUrl?: string | undefined;
|
|
906
|
+
/**
|
|
907
|
+
* A list of tags associated with the contact
|
|
908
|
+
*/
|
|
909
|
+
tags?: Array<string> | undefined;
|
|
910
|
+
};
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
914
|
+
*
|
|
915
|
+
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
862
916
|
*/
|
|
863
917
|
export type RunAgentContact = {
|
|
864
918
|
/**
|
|
@@ -1555,7 +1609,13 @@ export type RunAgentRequestBody = {
|
|
|
1555
1609
|
*/
|
|
1556
1610
|
variables?: { [k: string]: any } | undefined;
|
|
1557
1611
|
/**
|
|
1558
|
-
* Information about the
|
|
1612
|
+
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
1613
|
+
*/
|
|
1614
|
+
identity?: RunAgentIdentity | undefined;
|
|
1615
|
+
/**
|
|
1616
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
1617
|
+
*
|
|
1618
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1559
1619
|
*/
|
|
1560
1620
|
contact?: RunAgentContact | undefined;
|
|
1561
1621
|
/**
|
|
@@ -1655,6 +1715,7 @@ export type RunAgentExtendedMessageRole = ClosedEnum<
|
|
|
1655
1715
|
|
|
1656
1716
|
export type RunAgentParts =
|
|
1657
1717
|
| components.TextPart
|
|
1718
|
+
| components.ErrorPart
|
|
1658
1719
|
| components.DataPart
|
|
1659
1720
|
| components.FilePart
|
|
1660
1721
|
| components.ToolCallPart
|
|
@@ -1672,6 +1733,7 @@ export type RunAgentTaskStatusMessage = {
|
|
|
1672
1733
|
role: RunAgentExtendedMessageRole;
|
|
1673
1734
|
parts: Array<
|
|
1674
1735
|
| components.TextPart
|
|
1736
|
+
| components.ErrorPart
|
|
1675
1737
|
| components.DataPart
|
|
1676
1738
|
| components.FilePart
|
|
1677
1739
|
| components.ToolCallPart
|
|
@@ -3717,6 +3779,65 @@ export function runAgentFallbackModelConfigurationParametersFromJSON(
|
|
|
3717
3779
|
);
|
|
3718
3780
|
}
|
|
3719
3781
|
|
|
3782
|
+
/** @internal */
|
|
3783
|
+
export const RunAgentFallbackModelConfigurationRetry$inboundSchema: z.ZodType<
|
|
3784
|
+
RunAgentFallbackModelConfigurationRetry,
|
|
3785
|
+
z.ZodTypeDef,
|
|
3786
|
+
unknown
|
|
3787
|
+
> = z.object({
|
|
3788
|
+
count: z.number().default(3),
|
|
3789
|
+
on_codes: z.array(z.number()).optional(),
|
|
3790
|
+
}).transform((v) => {
|
|
3791
|
+
return remap$(v, {
|
|
3792
|
+
"on_codes": "onCodes",
|
|
3793
|
+
});
|
|
3794
|
+
});
|
|
3795
|
+
/** @internal */
|
|
3796
|
+
export type RunAgentFallbackModelConfigurationRetry$Outbound = {
|
|
3797
|
+
count: number;
|
|
3798
|
+
on_codes?: Array<number> | undefined;
|
|
3799
|
+
};
|
|
3800
|
+
|
|
3801
|
+
/** @internal */
|
|
3802
|
+
export const RunAgentFallbackModelConfigurationRetry$outboundSchema: z.ZodType<
|
|
3803
|
+
RunAgentFallbackModelConfigurationRetry$Outbound,
|
|
3804
|
+
z.ZodTypeDef,
|
|
3805
|
+
RunAgentFallbackModelConfigurationRetry
|
|
3806
|
+
> = z.object({
|
|
3807
|
+
count: z.number().default(3),
|
|
3808
|
+
onCodes: z.array(z.number()).optional(),
|
|
3809
|
+
}).transform((v) => {
|
|
3810
|
+
return remap$(v, {
|
|
3811
|
+
onCodes: "on_codes",
|
|
3812
|
+
});
|
|
3813
|
+
});
|
|
3814
|
+
|
|
3815
|
+
export function runAgentFallbackModelConfigurationRetryToJSON(
|
|
3816
|
+
runAgentFallbackModelConfigurationRetry:
|
|
3817
|
+
RunAgentFallbackModelConfigurationRetry,
|
|
3818
|
+
): string {
|
|
3819
|
+
return JSON.stringify(
|
|
3820
|
+
RunAgentFallbackModelConfigurationRetry$outboundSchema.parse(
|
|
3821
|
+
runAgentFallbackModelConfigurationRetry,
|
|
3822
|
+
),
|
|
3823
|
+
);
|
|
3824
|
+
}
|
|
3825
|
+
export function runAgentFallbackModelConfigurationRetryFromJSON(
|
|
3826
|
+
jsonString: string,
|
|
3827
|
+
): SafeParseResult<
|
|
3828
|
+
RunAgentFallbackModelConfigurationRetry,
|
|
3829
|
+
SDKValidationError
|
|
3830
|
+
> {
|
|
3831
|
+
return safeParse(
|
|
3832
|
+
jsonString,
|
|
3833
|
+
(x) =>
|
|
3834
|
+
RunAgentFallbackModelConfigurationRetry$inboundSchema.parse(
|
|
3835
|
+
JSON.parse(x),
|
|
3836
|
+
),
|
|
3837
|
+
`Failed to parse 'RunAgentFallbackModelConfigurationRetry' from JSON`,
|
|
3838
|
+
);
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3720
3841
|
/** @internal */
|
|
3721
3842
|
export const RunAgentFallbackModelConfiguration2$inboundSchema: z.ZodType<
|
|
3722
3843
|
RunAgentFallbackModelConfiguration2,
|
|
@@ -3727,6 +3848,8 @@ export const RunAgentFallbackModelConfiguration2$inboundSchema: z.ZodType<
|
|
|
3727
3848
|
parameters: z.lazy(() =>
|
|
3728
3849
|
RunAgentFallbackModelConfigurationParameters$inboundSchema
|
|
3729
3850
|
).optional(),
|
|
3851
|
+
retry: z.lazy(() => RunAgentFallbackModelConfigurationRetry$inboundSchema)
|
|
3852
|
+
.optional(),
|
|
3730
3853
|
});
|
|
3731
3854
|
/** @internal */
|
|
3732
3855
|
export type RunAgentFallbackModelConfiguration2$Outbound = {
|
|
@@ -3734,6 +3857,7 @@ export type RunAgentFallbackModelConfiguration2$Outbound = {
|
|
|
3734
3857
|
parameters?:
|
|
3735
3858
|
| RunAgentFallbackModelConfigurationParameters$Outbound
|
|
3736
3859
|
| undefined;
|
|
3860
|
+
retry?: RunAgentFallbackModelConfigurationRetry$Outbound | undefined;
|
|
3737
3861
|
};
|
|
3738
3862
|
|
|
3739
3863
|
/** @internal */
|
|
@@ -3746,6 +3870,8 @@ export const RunAgentFallbackModelConfiguration2$outboundSchema: z.ZodType<
|
|
|
3746
3870
|
parameters: z.lazy(() =>
|
|
3747
3871
|
RunAgentFallbackModelConfigurationParameters$outboundSchema
|
|
3748
3872
|
).optional(),
|
|
3873
|
+
retry: z.lazy(() => RunAgentFallbackModelConfigurationRetry$outboundSchema)
|
|
3874
|
+
.optional(),
|
|
3749
3875
|
});
|
|
3750
3876
|
|
|
3751
3877
|
export function runAgentFallbackModelConfiguration2ToJSON(
|
|
@@ -3874,12 +4000,14 @@ export const RunAgentPublicMessagePart$inboundSchema: z.ZodType<
|
|
|
3874
4000
|
components.TextPart$inboundSchema,
|
|
3875
4001
|
components.FilePart$inboundSchema,
|
|
3876
4002
|
components.ToolResultPart$inboundSchema,
|
|
4003
|
+
components.ErrorPart$inboundSchema,
|
|
3877
4004
|
]);
|
|
3878
4005
|
/** @internal */
|
|
3879
4006
|
export type RunAgentPublicMessagePart$Outbound =
|
|
3880
4007
|
| components.TextPart$Outbound
|
|
3881
4008
|
| components.FilePart$Outbound
|
|
3882
|
-
| components.ToolResultPart$Outbound
|
|
4009
|
+
| components.ToolResultPart$Outbound
|
|
4010
|
+
| components.ErrorPart$Outbound;
|
|
3883
4011
|
|
|
3884
4012
|
/** @internal */
|
|
3885
4013
|
export const RunAgentPublicMessagePart$outboundSchema: z.ZodType<
|
|
@@ -3890,6 +4018,7 @@ export const RunAgentPublicMessagePart$outboundSchema: z.ZodType<
|
|
|
3890
4018
|
components.TextPart$outboundSchema,
|
|
3891
4019
|
components.FilePart$outboundSchema,
|
|
3892
4020
|
components.ToolResultPart$outboundSchema,
|
|
4021
|
+
components.ErrorPart$outboundSchema,
|
|
3893
4022
|
]);
|
|
3894
4023
|
|
|
3895
4024
|
export function runAgentPublicMessagePartToJSON(
|
|
@@ -3925,6 +4054,7 @@ export const RunAgentA2AMessage$inboundSchema: z.ZodType<
|
|
|
3925
4054
|
components.TextPart$inboundSchema,
|
|
3926
4055
|
components.FilePart$inboundSchema,
|
|
3927
4056
|
components.ToolResultPart$inboundSchema,
|
|
4057
|
+
components.ErrorPart$inboundSchema,
|
|
3928
4058
|
]),
|
|
3929
4059
|
),
|
|
3930
4060
|
});
|
|
@@ -3936,6 +4066,7 @@ export type RunAgentA2AMessage$Outbound = {
|
|
|
3936
4066
|
| components.TextPart$Outbound
|
|
3937
4067
|
| components.FilePart$Outbound
|
|
3938
4068
|
| components.ToolResultPart$Outbound
|
|
4069
|
+
| components.ErrorPart$Outbound
|
|
3939
4070
|
>;
|
|
3940
4071
|
};
|
|
3941
4072
|
|
|
@@ -3955,6 +4086,7 @@ export const RunAgentA2AMessage$outboundSchema: z.ZodType<
|
|
|
3955
4086
|
components.TextPart$outboundSchema,
|
|
3956
4087
|
components.FilePart$outboundSchema,
|
|
3957
4088
|
components.ToolResultPart$outboundSchema,
|
|
4089
|
+
components.ErrorPart$outboundSchema,
|
|
3958
4090
|
]),
|
|
3959
4091
|
),
|
|
3960
4092
|
});
|
|
@@ -3976,6 +4108,70 @@ export function runAgentA2AMessageFromJSON(
|
|
|
3976
4108
|
);
|
|
3977
4109
|
}
|
|
3978
4110
|
|
|
4111
|
+
/** @internal */
|
|
4112
|
+
export const RunAgentIdentity$inboundSchema: z.ZodType<
|
|
4113
|
+
RunAgentIdentity,
|
|
4114
|
+
z.ZodTypeDef,
|
|
4115
|
+
unknown
|
|
4116
|
+
> = z.object({
|
|
4117
|
+
id: z.string(),
|
|
4118
|
+
display_name: z.string().optional(),
|
|
4119
|
+
email: z.string().optional(),
|
|
4120
|
+
metadata: z.array(z.record(z.any())).optional(),
|
|
4121
|
+
logo_url: z.string().optional(),
|
|
4122
|
+
tags: z.array(z.string()).optional(),
|
|
4123
|
+
}).transform((v) => {
|
|
4124
|
+
return remap$(v, {
|
|
4125
|
+
"display_name": "displayName",
|
|
4126
|
+
"logo_url": "logoUrl",
|
|
4127
|
+
});
|
|
4128
|
+
});
|
|
4129
|
+
/** @internal */
|
|
4130
|
+
export type RunAgentIdentity$Outbound = {
|
|
4131
|
+
id: string;
|
|
4132
|
+
display_name?: string | undefined;
|
|
4133
|
+
email?: string | undefined;
|
|
4134
|
+
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
4135
|
+
logo_url?: string | undefined;
|
|
4136
|
+
tags?: Array<string> | undefined;
|
|
4137
|
+
};
|
|
4138
|
+
|
|
4139
|
+
/** @internal */
|
|
4140
|
+
export const RunAgentIdentity$outboundSchema: z.ZodType<
|
|
4141
|
+
RunAgentIdentity$Outbound,
|
|
4142
|
+
z.ZodTypeDef,
|
|
4143
|
+
RunAgentIdentity
|
|
4144
|
+
> = z.object({
|
|
4145
|
+
id: z.string(),
|
|
4146
|
+
displayName: z.string().optional(),
|
|
4147
|
+
email: z.string().optional(),
|
|
4148
|
+
metadata: z.array(z.record(z.any())).optional(),
|
|
4149
|
+
logoUrl: z.string().optional(),
|
|
4150
|
+
tags: z.array(z.string()).optional(),
|
|
4151
|
+
}).transform((v) => {
|
|
4152
|
+
return remap$(v, {
|
|
4153
|
+
displayName: "display_name",
|
|
4154
|
+
logoUrl: "logo_url",
|
|
4155
|
+
});
|
|
4156
|
+
});
|
|
4157
|
+
|
|
4158
|
+
export function runAgentIdentityToJSON(
|
|
4159
|
+
runAgentIdentity: RunAgentIdentity,
|
|
4160
|
+
): string {
|
|
4161
|
+
return JSON.stringify(
|
|
4162
|
+
RunAgentIdentity$outboundSchema.parse(runAgentIdentity),
|
|
4163
|
+
);
|
|
4164
|
+
}
|
|
4165
|
+
export function runAgentIdentityFromJSON(
|
|
4166
|
+
jsonString: string,
|
|
4167
|
+
): SafeParseResult<RunAgentIdentity, SDKValidationError> {
|
|
4168
|
+
return safeParse(
|
|
4169
|
+
jsonString,
|
|
4170
|
+
(x) => RunAgentIdentity$inboundSchema.parse(JSON.parse(x)),
|
|
4171
|
+
`Failed to parse 'RunAgentIdentity' from JSON`,
|
|
4172
|
+
);
|
|
4173
|
+
}
|
|
4174
|
+
|
|
3979
4175
|
/** @internal */
|
|
3980
4176
|
export const RunAgentContact$inboundSchema: z.ZodType<
|
|
3981
4177
|
RunAgentContact,
|
|
@@ -4307,7 +4503,7 @@ export function schemaFromJSON(
|
|
|
4307
4503
|
/** @internal */
|
|
4308
4504
|
export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
|
|
4309
4505
|
.object({
|
|
4310
|
-
id: z.string().default("
|
|
4506
|
+
id: z.string().default("01KERGT7V1BHWWB7TCQZN7RVWZ"),
|
|
4311
4507
|
name: z.string(),
|
|
4312
4508
|
description: z.string().optional(),
|
|
4313
4509
|
schema: z.lazy(() => Schema$inboundSchema),
|
|
@@ -4326,7 +4522,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
4326
4522
|
z.ZodTypeDef,
|
|
4327
4523
|
Tools
|
|
4328
4524
|
> = z.object({
|
|
4329
|
-
id: z.string().default("
|
|
4525
|
+
id: z.string().default("01KERGT7V1BHWWB7TCQZN7RVWZ"),
|
|
4330
4526
|
name: z.string(),
|
|
4331
4527
|
description: z.string().optional(),
|
|
4332
4528
|
schema: z.lazy(() => Schema$outboundSchema),
|
|
@@ -6144,6 +6340,7 @@ export const RunAgentRequestBody$inboundSchema: z.ZodType<
|
|
|
6144
6340
|
instructions: z.string(),
|
|
6145
6341
|
message: z.lazy(() => RunAgentA2AMessage$inboundSchema),
|
|
6146
6342
|
variables: z.record(z.any()).optional(),
|
|
6343
|
+
identity: z.lazy(() => RunAgentIdentity$inboundSchema).optional(),
|
|
6147
6344
|
contact: z.lazy(() => RunAgentContact$inboundSchema).optional(),
|
|
6148
6345
|
thread: z.lazy(() => RunAgentThread$inboundSchema).optional(),
|
|
6149
6346
|
memory: z.lazy(() => RunAgentMemory$inboundSchema).optional(),
|
|
@@ -6179,6 +6376,7 @@ export type RunAgentRequestBody$Outbound = {
|
|
|
6179
6376
|
instructions: string;
|
|
6180
6377
|
message: RunAgentA2AMessage$Outbound;
|
|
6181
6378
|
variables?: { [k: string]: any } | undefined;
|
|
6379
|
+
identity?: RunAgentIdentity$Outbound | undefined;
|
|
6182
6380
|
contact?: RunAgentContact$Outbound | undefined;
|
|
6183
6381
|
thread?: RunAgentThread$Outbound | undefined;
|
|
6184
6382
|
memory?: RunAgentMemory$Outbound | undefined;
|
|
@@ -6214,6 +6412,7 @@ export const RunAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
6214
6412
|
instructions: z.string(),
|
|
6215
6413
|
message: z.lazy(() => RunAgentA2AMessage$outboundSchema),
|
|
6216
6414
|
variables: z.record(z.any()).optional(),
|
|
6415
|
+
identity: z.lazy(() => RunAgentIdentity$outboundSchema).optional(),
|
|
6217
6416
|
contact: z.lazy(() => RunAgentContact$outboundSchema).optional(),
|
|
6218
6417
|
thread: z.lazy(() => RunAgentThread$outboundSchema).optional(),
|
|
6219
6418
|
memory: z.lazy(() => RunAgentMemory$outboundSchema).optional(),
|
|
@@ -6296,6 +6495,7 @@ export const RunAgentParts$inboundSchema: z.ZodType<
|
|
|
6296
6495
|
unknown
|
|
6297
6496
|
> = z.union([
|
|
6298
6497
|
components.TextPart$inboundSchema,
|
|
6498
|
+
components.ErrorPart$inboundSchema,
|
|
6299
6499
|
components.DataPart$inboundSchema,
|
|
6300
6500
|
components.FilePart$inboundSchema,
|
|
6301
6501
|
components.ToolCallPart$inboundSchema,
|
|
@@ -6304,6 +6504,7 @@ export const RunAgentParts$inboundSchema: z.ZodType<
|
|
|
6304
6504
|
/** @internal */
|
|
6305
6505
|
export type RunAgentParts$Outbound =
|
|
6306
6506
|
| components.TextPart$Outbound
|
|
6507
|
+
| components.ErrorPart$Outbound
|
|
6307
6508
|
| components.DataPart$Outbound
|
|
6308
6509
|
| components.FilePart$Outbound
|
|
6309
6510
|
| components.ToolCallPart$Outbound
|
|
@@ -6316,6 +6517,7 @@ export const RunAgentParts$outboundSchema: z.ZodType<
|
|
|
6316
6517
|
RunAgentParts
|
|
6317
6518
|
> = z.union([
|
|
6318
6519
|
components.TextPart$outboundSchema,
|
|
6520
|
+
components.ErrorPart$outboundSchema,
|
|
6319
6521
|
components.DataPart$outboundSchema,
|
|
6320
6522
|
components.FilePart$outboundSchema,
|
|
6321
6523
|
components.ToolCallPart$outboundSchema,
|
|
@@ -6347,6 +6549,7 @@ export const RunAgentTaskStatusMessage$inboundSchema: z.ZodType<
|
|
|
6347
6549
|
parts: z.array(
|
|
6348
6550
|
z.union([
|
|
6349
6551
|
components.TextPart$inboundSchema,
|
|
6552
|
+
components.ErrorPart$inboundSchema,
|
|
6350
6553
|
components.DataPart$inboundSchema,
|
|
6351
6554
|
components.FilePart$inboundSchema,
|
|
6352
6555
|
components.ToolCallPart$inboundSchema,
|
|
@@ -6361,6 +6564,7 @@ export type RunAgentTaskStatusMessage$Outbound = {
|
|
|
6361
6564
|
role: string;
|
|
6362
6565
|
parts: Array<
|
|
6363
6566
|
| components.TextPart$Outbound
|
|
6567
|
+
| components.ErrorPart$Outbound
|
|
6364
6568
|
| components.DataPart$Outbound
|
|
6365
6569
|
| components.FilePart$Outbound
|
|
6366
6570
|
| components.ToolCallPart$Outbound
|
|
@@ -6380,6 +6584,7 @@ export const RunAgentTaskStatusMessage$outboundSchema: z.ZodType<
|
|
|
6380
6584
|
parts: z.array(
|
|
6381
6585
|
z.union([
|
|
6382
6586
|
components.TextPart$outboundSchema,
|
|
6587
|
+
components.ErrorPart$outboundSchema,
|
|
6383
6588
|
components.DataPart$outboundSchema,
|
|
6384
6589
|
components.FilePart$outboundSchema,
|
|
6385
6590
|
components.ToolCallPart$outboundSchema,
|