@orq-ai/node 4.2.0-rc.5 → 4.2.0-rc.50
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/FUNCTIONS.md +7 -17
- package/README.md +108 -122
- package/bin/mcp-server.js +10369 -5339
- package/bin/mcp-server.js.map +160 -139
- package/examples/feedbackCreate.example.ts +32 -0
- package/examples/package-lock.json +2 -2
- package/funcs/agentsCreate.d.ts +1 -2
- package/funcs/agentsCreate.d.ts.map +1 -1
- package/funcs/agentsCreate.js +2 -6
- package/funcs/agentsCreate.js.map +1 -1
- package/funcs/contactsCreate.d.ts +2 -0
- package/funcs/contactsCreate.d.ts.map +1 -1
- package/funcs/contactsCreate.js +2 -0
- package/funcs/contactsCreate.js.map +1 -1
- package/funcs/contactsDelete.d.ts +2 -0
- package/funcs/contactsDelete.d.ts.map +1 -1
- package/funcs/contactsDelete.js +2 -0
- package/funcs/contactsDelete.js.map +1 -1
- package/funcs/contactsList.d.ts +2 -0
- package/funcs/contactsList.d.ts.map +1 -1
- package/funcs/contactsList.js +2 -0
- package/funcs/contactsList.js.map +1 -1
- package/funcs/contactsRetrieve.d.ts +2 -0
- package/funcs/contactsRetrieve.d.ts.map +1 -1
- package/funcs/contactsRetrieve.js +2 -0
- package/funcs/contactsRetrieve.js.map +1 -1
- package/funcs/contactsUpdate.d.ts +2 -0
- package/funcs/contactsUpdate.d.ts.map +1 -1
- package/funcs/contactsUpdate.js +2 -0
- package/funcs/contactsUpdate.js.map +1 -1
- package/funcs/{evaluatorsGetV2EvaluatorsIdVersionsVersionId.d.ts → conversationsCreateConversationResponse.d.ts} +5 -5
- package/funcs/conversationsCreateConversationResponse.d.ts.map +1 -0
- package/funcs/conversationsCreateConversationResponse.js +132 -0
- 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/identitiesCreate.d.ts +17 -0
- package/funcs/identitiesCreate.d.ts.map +1 -0
- package/funcs/identitiesCreate.js +116 -0
- package/funcs/identitiesCreate.js.map +1 -0
- package/funcs/identitiesDelete.d.ts +18 -0
- package/funcs/identitiesDelete.d.ts.map +1 -0
- package/funcs/identitiesDelete.js +124 -0
- package/funcs/identitiesDelete.js.map +1 -0
- package/funcs/identitiesList.d.ts +17 -0
- package/funcs/identitiesList.d.ts.map +1 -0
- package/funcs/identitiesList.js +122 -0
- package/funcs/identitiesList.js.map +1 -0
- package/funcs/identitiesRetrieve.d.ts +18 -0
- package/funcs/identitiesRetrieve.d.ts.map +1 -0
- package/funcs/{evaluatorsGetV2EvaluatorsIdVersionsVersionId.js → identitiesRetrieve.js} +9 -13
- package/funcs/identitiesRetrieve.js.map +1 -0
- package/funcs/identitiesUpdate.d.ts +18 -0
- package/funcs/identitiesUpdate.d.ts.map +1 -0
- package/funcs/identitiesUpdate.js +124 -0
- package/funcs/identitiesUpdate.js.map +1 -0
- 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/funcs/promptsDelete.d.ts +2 -1
- package/funcs/promptsDelete.d.ts.map +1 -1
- package/funcs/promptsDelete.js +7 -3
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/toolsCreate.d.ts +1 -2
- package/funcs/toolsCreate.d.ts.map +1 -1
- package/funcs/toolsCreate.js +2 -6
- package/funcs/toolsCreate.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.d.ts.map +1 -1
- package/mcp-server/server.js +13 -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/conversationsCreateConversationResponse.js +64 -0
- 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/mcp-server/tools/identitiesCreate.d.ts +8 -0
- package/mcp-server/tools/identitiesCreate.d.ts.map +1 -0
- package/mcp-server/tools/{evaluatorsGetV2EvaluatorsIdVersionsVersionId.js → identitiesCreate.js} +9 -9
- package/mcp-server/tools/identitiesCreate.js.map +1 -0
- package/mcp-server/tools/identitiesDelete.d.ts +8 -0
- package/mcp-server/tools/identitiesDelete.d.ts.map +1 -0
- package/mcp-server/tools/identitiesDelete.js +63 -0
- package/mcp-server/tools/identitiesDelete.js.map +1 -0
- package/mcp-server/tools/identitiesList.d.ts +8 -0
- package/mcp-server/tools/identitiesList.d.ts.map +1 -0
- package/mcp-server/tools/identitiesList.js +64 -0
- package/mcp-server/tools/identitiesList.js.map +1 -0
- package/mcp-server/tools/identitiesRetrieve.d.ts +8 -0
- package/mcp-server/tools/identitiesRetrieve.d.ts.map +1 -0
- package/mcp-server/tools/identitiesRetrieve.js +64 -0
- package/mcp-server/tools/identitiesRetrieve.js.map +1 -0
- package/mcp-server/tools/identitiesUpdate.d.ts +8 -0
- package/mcp-server/tools/identitiesUpdate.d.ts.map +1 -0
- package/mcp-server/tools/identitiesUpdate.js +64 -0
- package/mcp-server/tools/identitiesUpdate.js.map +1 -0
- package/models/components/agentinactivestreamingevent.d.ts +36 -4
- package/models/components/agentinactivestreamingevent.d.ts.map +1 -1
- package/models/components/agentinactivestreamingevent.js +50 -1
- 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/components/errorpart.js +62 -0
- 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/deleteidentity.d.ts +36 -0
- package/models/errors/deleteidentity.d.ts.map +1 -0
- package/models/errors/deleteidentity.js +77 -0
- package/models/errors/deleteidentity.js.map +1 -0
- package/models/errors/deleteprompt.d.ts +29 -0
- package/models/errors/deleteprompt.d.ts.map +1 -0
- package/models/errors/{getv2evaluatorsidversionsversionid.js → deleteprompt.js} +9 -9
- package/models/errors/deleteprompt.js.map +1 -0
- package/models/errors/index.d.ts +4 -2
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +4 -2
- package/models/errors/index.js.map +1 -1
- package/models/errors/retrieveidentity.d.ts +36 -0
- package/models/errors/retrieveidentity.d.ts.map +1 -0
- package/models/errors/retrieveidentity.js +77 -0
- package/models/errors/retrieveidentity.js.map +1 -0
- package/models/errors/updateidentity.d.ts +32 -0
- package/models/errors/updateidentity.d.ts.map +1 -0
- package/models/errors/{createagentrequest.js → updateidentity.js} +9 -9
- package/models/errors/updateidentity.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +142 -12
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +139 -13
- 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.d.ts +16 -16
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +56 -53
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createidentity.d.ts +120 -0
- package/models/operations/createidentity.d.ts.map +1 -0
- package/models/operations/createidentity.js +133 -0
- package/models/operations/createidentity.js.map +1 -0
- 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/createprompt.d.ts +1746 -976
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +2032 -1282
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.d.ts +8 -8
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +23 -23
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deleteidentity.d.ts +20 -0
- package/models/operations/deleteidentity.d.ts.map +1 -0
- package/models/operations/deleteidentity.js +58 -0
- package/models/operations/deleteidentity.js.map +1 -0
- 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 +89 -89
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +131 -130
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +5 -5
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +7 -6
- package/models/operations/deploymentinvoke.js.map +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/getallprompts.d.ts +1051 -42
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1069 -48
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +1051 -42
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1071 -47
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1051 -42
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1070 -48
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2evaluatorsidversions.d.ts +2 -2
- package/models/operations/getv2evaluatorsidversions.d.ts.map +1 -1
- package/models/operations/getv2evaluatorsidversions.js +2 -2
- package/models/operations/getv2evaluatorsidversions.js.map +1 -1
- package/models/operations/getv2toolstoolidversions.d.ts +2 -2
- package/models/operations/getv2toolstoolidversions.d.ts.map +1 -1
- package/models/operations/getv2toolstoolidversions.js +2 -2
- package/models/operations/getv2toolstoolidversions.js.map +1 -1
- package/models/operations/getv2toolstoolidversionsversionid.d.ts +2 -2
- package/models/operations/getv2toolstoolidversionsversionid.d.ts.map +1 -1
- package/models/operations/getv2toolstoolidversionsversionid.js +2 -2
- package/models/operations/getv2toolstoolidversionsversionid.js.map +1 -1
- package/models/operations/index.d.ts +6 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +6 -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/invokeeval.d.ts +2 -2
- package/models/operations/invokeeval.d.ts.map +1 -1
- package/models/operations/invokeeval.js +2 -2
- package/models/operations/invokeeval.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.d.ts +8 -8
- package/models/operations/listcontacts.d.ts.map +1 -1
- package/models/operations/listcontacts.js +15 -13
- package/models/operations/listcontacts.js.map +1 -1
- 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/listidentities.d.ts +183 -0
- package/models/operations/listidentities.d.ts.map +1 -0
- package/models/operations/listidentities.js +220 -0
- package/models/operations/listidentities.js.map +1 -0
- package/models/operations/listpromptversions.d.ts +1051 -42
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1070 -47
- package/models/operations/listpromptversions.js.map +1 -1
- 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/remoteconfigsgetconfig.d.ts +9 -0
- package/models/operations/remoteconfigsgetconfig.d.ts.map +1 -1
- package/models/operations/remoteconfigsgetconfig.js +3 -0
- package/models/operations/remoteconfigsgetconfig.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/retrieveidentity.d.ts +83 -0
- package/models/operations/retrieveidentity.d.ts.map +1 -0
- package/models/operations/retrieveidentity.js +107 -0
- package/models/operations/retrieveidentity.js.map +1 -0
- 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 +217 -29
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +194 -23
- 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 +213 -25
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +188 -21
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +130 -12
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +128 -13
- 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/updateidentity.d.ts +131 -0
- package/models/operations/updateidentity.d.ts.map +1 -0
- package/models/operations/updateidentity.js +152 -0
- package/models/operations/updateidentity.js.map +1 -0
- 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/updateprompt.d.ts +2112 -1413
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +2200 -1525
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +2 -2
- package/sdk/contacts.d.ts +10 -0
- package/sdk/contacts.d.ts.map +1 -1
- package/sdk/contacts.js +10 -0
- package/sdk/contacts.js.map +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/identities.d.ts +40 -0
- package/sdk/identities.d.ts.map +1 -0
- package/sdk/identities.js +62 -0
- package/sdk/identities.js.map +1 -0
- 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 +6 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +8 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/agentsCreate.ts +2 -11
- package/src/funcs/contactsCreate.ts +2 -0
- package/src/funcs/contactsDelete.ts +2 -0
- package/src/funcs/contactsList.ts +2 -0
- package/src/funcs/contactsRetrieve.ts +2 -0
- package/src/funcs/contactsUpdate.ts +2 -0
- package/src/funcs/conversationsCreateConversationResponse.ts +186 -0
- package/src/funcs/conversationsList.ts +6 -1
- package/src/funcs/conversationsRetrieve.ts +5 -4
- package/src/funcs/identitiesCreate.ts +165 -0
- package/src/funcs/identitiesDelete.ts +176 -0
- package/src/funcs/identitiesList.ts +170 -0
- package/src/funcs/{evaluatorsGetV2EvaluatorsIdVersionsVersionId.ts → identitiesRetrieve.ts} +16 -31
- package/src/funcs/identitiesUpdate.ts +176 -0
- 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/funcs/promptsDelete.ts +12 -3
- package/src/funcs/toolsCreate.ts +2 -11
- 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 +13 -3
- package/src/mcp-server/tools/conversationsCreateConversationResponse.ts +39 -0
- package/src/mcp-server/tools/conversationsList.ts +2 -0
- package/src/mcp-server/tools/identitiesCreate.ts +37 -0
- package/src/mcp-server/tools/identitiesDelete.ts +35 -0
- package/src/mcp-server/tools/identitiesList.ts +37 -0
- package/src/mcp-server/tools/identitiesRetrieve.ts +37 -0
- package/src/mcp-server/tools/identitiesUpdate.ts +37 -0
- package/src/models/components/agentinactivestreamingevent.ts +98 -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/deleteidentity.ts +78 -0
- package/src/models/errors/deleteprompt.ts +67 -0
- package/src/models/errors/index.ts +4 -2
- package/src/models/errors/retrieveidentity.ts +78 -0
- package/src/models/errors/updateidentity.ts +70 -0
- package/src/models/operations/createagentrequest.ts +336 -17
- 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 +76 -96
- package/src/models/operations/createidentity.ts +237 -0
- 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/createprompt.ts +5179 -3019
- package/src/models/operations/createtool.ts +33 -29
- package/src/models/operations/deleteidentity.ts +54 -0
- package/src/models/operations/deletememory.ts +6 -6
- package/src/models/operations/deletememorydocument.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +253 -338
- package/src/models/operations/deploymentinvoke.ts +9 -13
- 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/getallprompts.ts +3543 -850
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +3463 -786
- package/src/models/operations/getpromptversion.ts +3579 -835
- package/src/models/operations/getv2evaluatorsidversions.ts +4 -4
- package/src/models/operations/getv2toolstoolidversions.ts +4 -4
- package/src/models/operations/getv2toolstoolidversionsversionid.ts +4 -4
- package/src/models/operations/index.ts +6 -1
- package/src/models/operations/invokeagent.ts +128 -5
- package/src/models/operations/invokeeval.ts +4 -4
- package/src/models/operations/listagents.ts +104 -1
- package/src/models/operations/listcontacts.ts +24 -20
- 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/listidentities.ts +432 -0
- package/src/models/operations/listpromptversions.ts +3644 -864
- package/src/models/operations/parse.ts +157 -2
- package/src/models/operations/remoteconfigsgetconfig.ts +9 -0
- 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/retrieveidentity.ts +180 -0
- 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 +491 -42
- package/src/models/operations/streamagent.ts +120 -5
- package/src/models/operations/streamrunagent.ts +530 -52
- package/src/models/operations/updateagent.ts +327 -17
- 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/updateidentity.ts +281 -0
- package/src/models/operations/updatememory.ts +9 -32
- package/src/models/operations/updatememorydocument.ts +6 -6
- package/src/models/operations/updateprompt.ts +5281 -3301
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/contacts.ts +10 -0
- package/src/sdk/conversations.ts +23 -1
- package/src/sdk/evaluators.ts +0 -18
- package/src/sdk/identities.ts +99 -0
- package/src/sdk/internal.ts +28 -0
- package/src/sdk/sdk.ts +12 -0
- package/examples/contactsCreate.example.ts +0 -42
- 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/createagentrequest.d.ts +0 -29
- package/models/errors/createagentrequest.d.ts.map +0 -1
- package/models/errors/createagentrequest.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/createagentrequest.ts +0 -67
- package/src/models/errors/getv2evaluatorsidversionsversionid.ts +0 -69
- package/src/models/operations/getv2evaluatorsidversionsversionid.ts +0 -193
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import * as components from "../components/index.js";
|
|
4
5
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
6
|
export type GetAllPromptsRequest = {
|
|
6
7
|
/**
|
|
@@ -77,25 +78,25 @@ export declare const GetAllPromptsResponseFormat4: {
|
|
|
77
78
|
readonly Pcm: "pcm";
|
|
78
79
|
};
|
|
79
80
|
export type GetAllPromptsResponseFormat4 = ClosedEnum<typeof GetAllPromptsResponseFormat4>;
|
|
80
|
-
export declare const
|
|
81
|
+
export declare const GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType: {
|
|
81
82
|
readonly Text: "text";
|
|
82
83
|
};
|
|
83
|
-
export type
|
|
84
|
+
export type GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType>;
|
|
84
85
|
export type GetAllPromptsResponseFormat3 = {
|
|
85
|
-
type:
|
|
86
|
+
type: GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType;
|
|
86
87
|
};
|
|
87
|
-
export declare const
|
|
88
|
+
export declare const GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONType: {
|
|
88
89
|
readonly JsonObject: "json_object";
|
|
89
90
|
};
|
|
90
|
-
export type
|
|
91
|
+
export type GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONType = ClosedEnum<typeof GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONType>;
|
|
91
92
|
export type GetAllPromptsResponseFormat2 = {
|
|
92
|
-
type:
|
|
93
|
+
type: GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONType;
|
|
93
94
|
};
|
|
94
|
-
export declare const
|
|
95
|
+
export declare const GetAllPromptsResponseFormatPromptsResponse200Type: {
|
|
95
96
|
readonly JsonSchema: "json_schema";
|
|
96
97
|
};
|
|
97
|
-
export type
|
|
98
|
-
export type
|
|
98
|
+
export type GetAllPromptsResponseFormatPromptsResponse200Type = ClosedEnum<typeof GetAllPromptsResponseFormatPromptsResponse200Type>;
|
|
99
|
+
export type GetAllPromptsResponseFormatPromptsResponseJsonSchema = {
|
|
99
100
|
name: string;
|
|
100
101
|
description?: string | undefined;
|
|
101
102
|
strict?: boolean | undefined;
|
|
@@ -104,9 +105,9 @@ export type GetAllPromptsResponseFormatJsonSchema = {
|
|
|
104
105
|
};
|
|
105
106
|
};
|
|
106
107
|
export type GetAllPromptsResponseFormat1 = {
|
|
107
|
-
type:
|
|
108
|
+
type: GetAllPromptsResponseFormatPromptsResponse200Type;
|
|
108
109
|
displayName?: string | undefined;
|
|
109
|
-
jsonSchema:
|
|
110
|
+
jsonSchema: GetAllPromptsResponseFormatPromptsResponseJsonSchema;
|
|
110
111
|
};
|
|
111
112
|
/**
|
|
112
113
|
* An object specifying the format that the model must output.
|
|
@@ -119,7 +120,7 @@ export type GetAllPromptsResponseFormat1 = {
|
|
|
119
120
|
*
|
|
120
121
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
121
122
|
*/
|
|
122
|
-
export type
|
|
123
|
+
export type GetAllPromptsPromptsResponseFormat = GetAllPromptsResponseFormat1 | GetAllPromptsResponseFormat2 | GetAllPromptsResponseFormat3 | GetAllPromptsResponseFormat4 | GetAllPromptsResponseFormat5 | GetAllPromptsResponseFormat6;
|
|
123
124
|
/**
|
|
124
125
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
125
126
|
*/
|
|
@@ -145,7 +146,7 @@ export type GetAllPromptsEncodingFormat = ClosedEnum<typeof GetAllPromptsEncodin
|
|
|
145
146
|
/**
|
|
146
147
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
147
148
|
*/
|
|
148
|
-
export declare const
|
|
149
|
+
export declare const GetAllPromptsPromptsReasoningEffort: {
|
|
149
150
|
readonly None: "none";
|
|
150
151
|
readonly Disable: "disable";
|
|
151
152
|
readonly Minimal: "minimal";
|
|
@@ -156,7 +157,7 @@ export declare const GetAllPromptsReasoningEffort: {
|
|
|
156
157
|
/**
|
|
157
158
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
158
159
|
*/
|
|
159
|
-
export type
|
|
160
|
+
export type GetAllPromptsPromptsReasoningEffort = ClosedEnum<typeof GetAllPromptsPromptsReasoningEffort>;
|
|
160
161
|
/**
|
|
161
162
|
* Controls the verbosity of the model output.
|
|
162
163
|
*/
|
|
@@ -255,7 +256,7 @@ export type GetAllPromptsModelParameters = {
|
|
|
255
256
|
/**
|
|
256
257
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
257
258
|
*/
|
|
258
|
-
reasoningEffort?:
|
|
259
|
+
reasoningEffort?: GetAllPromptsPromptsReasoningEffort | undefined;
|
|
259
260
|
/**
|
|
260
261
|
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
261
262
|
*/
|
|
@@ -403,11 +404,13 @@ export type GetAllPromptsMessages = {
|
|
|
403
404
|
toolCallId?: string | null | undefined;
|
|
404
405
|
};
|
|
405
406
|
/**
|
|
406
|
-
* A list of messages compatible with the openAI schema
|
|
407
|
+
* [DEPRECATED] Use the `prompt` property instead. A list of messages compatible with the openAI schema.
|
|
408
|
+
*
|
|
409
|
+
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
407
410
|
*/
|
|
408
411
|
export type GetAllPromptsPromptConfig = {
|
|
409
412
|
stream?: boolean | undefined;
|
|
410
|
-
model?: string | undefined;
|
|
413
|
+
model?: string | null | undefined;
|
|
411
414
|
/**
|
|
412
415
|
* The id of the resource
|
|
413
416
|
*/
|
|
@@ -420,7 +423,7 @@ export type GetAllPromptsPromptConfig = {
|
|
|
420
423
|
* Model Parameters: Not all parameters apply to every model
|
|
421
424
|
*/
|
|
422
425
|
modelParameters?: GetAllPromptsModelParameters | undefined;
|
|
423
|
-
provider?: GetAllPromptsProvider | undefined;
|
|
426
|
+
provider?: GetAllPromptsProvider | null | undefined;
|
|
424
427
|
/**
|
|
425
428
|
* The ID of the integration to use
|
|
426
429
|
*/
|
|
@@ -428,6 +431,586 @@ export type GetAllPromptsPromptConfig = {
|
|
|
428
431
|
version?: string | undefined;
|
|
429
432
|
messages: Array<GetAllPromptsMessages>;
|
|
430
433
|
};
|
|
434
|
+
/**
|
|
435
|
+
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
436
|
+
*/
|
|
437
|
+
export declare const GetAllPromptsVoice: {
|
|
438
|
+
readonly Alloy: "alloy";
|
|
439
|
+
readonly Echo: "echo";
|
|
440
|
+
readonly Fable: "fable";
|
|
441
|
+
readonly Onyx: "onyx";
|
|
442
|
+
readonly Nova: "nova";
|
|
443
|
+
readonly Shimmer: "shimmer";
|
|
444
|
+
};
|
|
445
|
+
/**
|
|
446
|
+
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
447
|
+
*/
|
|
448
|
+
export type GetAllPromptsVoice = ClosedEnum<typeof GetAllPromptsVoice>;
|
|
449
|
+
/**
|
|
450
|
+
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
451
|
+
*/
|
|
452
|
+
export declare const GetAllPromptsPromptsFormat: {
|
|
453
|
+
readonly Wav: "wav";
|
|
454
|
+
readonly Mp3: "mp3";
|
|
455
|
+
readonly Flac: "flac";
|
|
456
|
+
readonly Opus: "opus";
|
|
457
|
+
readonly Pcm16: "pcm16";
|
|
458
|
+
};
|
|
459
|
+
/**
|
|
460
|
+
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
461
|
+
*/
|
|
462
|
+
export type GetAllPromptsPromptsFormat = ClosedEnum<typeof GetAllPromptsPromptsFormat>;
|
|
463
|
+
/**
|
|
464
|
+
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
465
|
+
*/
|
|
466
|
+
export type GetAllPromptsAudio = {
|
|
467
|
+
/**
|
|
468
|
+
* The voice the model uses to respond. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.
|
|
469
|
+
*/
|
|
470
|
+
voice: GetAllPromptsVoice;
|
|
471
|
+
/**
|
|
472
|
+
* Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.
|
|
473
|
+
*/
|
|
474
|
+
format: GetAllPromptsPromptsFormat;
|
|
475
|
+
};
|
|
476
|
+
export type GetAllPromptsResponseFormatJsonSchema = {
|
|
477
|
+
/**
|
|
478
|
+
* A description of what the response format is for, used by the model to determine how to respond in the format.
|
|
479
|
+
*/
|
|
480
|
+
description?: string | undefined;
|
|
481
|
+
/**
|
|
482
|
+
* The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
483
|
+
*/
|
|
484
|
+
name: string;
|
|
485
|
+
/**
|
|
486
|
+
* The schema for the response format, described as a JSON Schema object.
|
|
487
|
+
*/
|
|
488
|
+
schema?: any | undefined;
|
|
489
|
+
/**
|
|
490
|
+
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when strict is true.
|
|
491
|
+
*/
|
|
492
|
+
strict?: boolean | undefined;
|
|
493
|
+
};
|
|
494
|
+
/**
|
|
495
|
+
* @remarks
|
|
496
|
+
*
|
|
497
|
+
* JSON Schema response format. Used to generate structured JSON responses
|
|
498
|
+
*/
|
|
499
|
+
export type GetAllPromptsResponseFormatPromptsJSONSchema = {
|
|
500
|
+
type: "json_schema";
|
|
501
|
+
jsonSchema: GetAllPromptsResponseFormatJsonSchema;
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* @remarks
|
|
505
|
+
*
|
|
506
|
+
* JSON object response format. An older method of generating JSON responses. Using `json_schema` is recommended for models that support it. Note that the model will not generate JSON without a system or user message instructing it to do so.
|
|
507
|
+
*/
|
|
508
|
+
export type GetAllPromptsResponseFormatJSONObject = {
|
|
509
|
+
type: "json_object";
|
|
510
|
+
};
|
|
511
|
+
/**
|
|
512
|
+
* @remarks
|
|
513
|
+
*
|
|
514
|
+
* Default response format. Used to generate text responses
|
|
515
|
+
*/
|
|
516
|
+
export type GetAllPromptsResponseFormatText = {
|
|
517
|
+
type: "text";
|
|
518
|
+
};
|
|
519
|
+
/**
|
|
520
|
+
* An object specifying the format that the model must output
|
|
521
|
+
*/
|
|
522
|
+
export type GetAllPromptsResponseFormat = GetAllPromptsResponseFormatText | GetAllPromptsResponseFormatJSONObject | GetAllPromptsResponseFormatPromptsJSONSchema;
|
|
523
|
+
/**
|
|
524
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
525
|
+
*
|
|
526
|
+
* @remarks
|
|
527
|
+
*
|
|
528
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
529
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
530
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
531
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
532
|
+
*
|
|
533
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
534
|
+
*/
|
|
535
|
+
export declare const GetAllPromptsReasoningEffort: {
|
|
536
|
+
readonly None: "none";
|
|
537
|
+
readonly Minimal: "minimal";
|
|
538
|
+
readonly Low: "low";
|
|
539
|
+
readonly Medium: "medium";
|
|
540
|
+
readonly High: "high";
|
|
541
|
+
readonly Xhigh: "xhigh";
|
|
542
|
+
};
|
|
543
|
+
/**
|
|
544
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
545
|
+
*
|
|
546
|
+
* @remarks
|
|
547
|
+
*
|
|
548
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
549
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
550
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
551
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
552
|
+
*
|
|
553
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
554
|
+
*/
|
|
555
|
+
export type GetAllPromptsReasoningEffort = ClosedEnum<typeof GetAllPromptsReasoningEffort>;
|
|
556
|
+
/**
|
|
557
|
+
* Up to 4 sequences where the API will stop generating further tokens.
|
|
558
|
+
*/
|
|
559
|
+
export type GetAllPromptsStop = string | Array<string>;
|
|
560
|
+
/**
|
|
561
|
+
* Options for streaming response. Only set this when you set stream: true.
|
|
562
|
+
*/
|
|
563
|
+
export type GetAllPromptsStreamOptions = {
|
|
564
|
+
/**
|
|
565
|
+
* 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.
|
|
566
|
+
*/
|
|
567
|
+
includeUsage?: boolean | undefined;
|
|
568
|
+
};
|
|
569
|
+
export type GetAllPromptsThinking = components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema;
|
|
570
|
+
/**
|
|
571
|
+
* The type of the tool. Currently, only function is supported.
|
|
572
|
+
*/
|
|
573
|
+
export declare const GetAllPromptsToolChoiceType: {
|
|
574
|
+
readonly Function: "function";
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
* The type of the tool. Currently, only function is supported.
|
|
578
|
+
*/
|
|
579
|
+
export type GetAllPromptsToolChoiceType = ClosedEnum<typeof GetAllPromptsToolChoiceType>;
|
|
580
|
+
export type GetAllPromptsToolChoiceFunction = {
|
|
581
|
+
/**
|
|
582
|
+
* The name of the function to call.
|
|
583
|
+
*/
|
|
584
|
+
name: string;
|
|
585
|
+
};
|
|
586
|
+
export type GetAllPromptsToolChoice2 = {
|
|
587
|
+
/**
|
|
588
|
+
* The type of the tool. Currently, only function is supported.
|
|
589
|
+
*/
|
|
590
|
+
type?: GetAllPromptsToolChoiceType | undefined;
|
|
591
|
+
function: GetAllPromptsToolChoiceFunction;
|
|
592
|
+
};
|
|
593
|
+
export declare const GetAllPromptsToolChoice1: {
|
|
594
|
+
readonly None: "none";
|
|
595
|
+
readonly Auto: "auto";
|
|
596
|
+
readonly Required: "required";
|
|
597
|
+
};
|
|
598
|
+
export type GetAllPromptsToolChoice1 = ClosedEnum<typeof GetAllPromptsToolChoice1>;
|
|
599
|
+
/**
|
|
600
|
+
* Controls which (if any) tool is called by the model.
|
|
601
|
+
*/
|
|
602
|
+
export type GetAllPromptsToolChoice = GetAllPromptsToolChoice2 | GetAllPromptsToolChoice1;
|
|
603
|
+
export declare const GetAllPromptsModalities: {
|
|
604
|
+
readonly Text: "text";
|
|
605
|
+
readonly Audio: "audio";
|
|
606
|
+
};
|
|
607
|
+
export type GetAllPromptsModalities = ClosedEnum<typeof GetAllPromptsModalities>;
|
|
608
|
+
/**
|
|
609
|
+
* The key of the guardrail.
|
|
610
|
+
*/
|
|
611
|
+
export declare const GetAllPromptsId1: {
|
|
612
|
+
readonly OrqPiiDetection: "orq_pii_detection";
|
|
613
|
+
readonly OrqSexualModeration: "orq_sexual_moderation";
|
|
614
|
+
readonly OrqHarmfulModeration: "orq_harmful_moderation";
|
|
615
|
+
};
|
|
616
|
+
/**
|
|
617
|
+
* The key of the guardrail.
|
|
618
|
+
*/
|
|
619
|
+
export type GetAllPromptsId1 = ClosedEnum<typeof GetAllPromptsId1>;
|
|
620
|
+
export type GetAllPromptsId = GetAllPromptsId1 | string;
|
|
621
|
+
/**
|
|
622
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
623
|
+
*/
|
|
624
|
+
export declare const GetAllPromptsExecuteOn: {
|
|
625
|
+
readonly Input: "input";
|
|
626
|
+
readonly Output: "output";
|
|
627
|
+
};
|
|
628
|
+
/**
|
|
629
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
630
|
+
*/
|
|
631
|
+
export type GetAllPromptsExecuteOn = ClosedEnum<typeof GetAllPromptsExecuteOn>;
|
|
632
|
+
export type GetAllPromptsGuardrails = {
|
|
633
|
+
id: GetAllPromptsId1 | string;
|
|
634
|
+
/**
|
|
635
|
+
* Determines whether the guardrail runs on the input (user message) or output (model response).
|
|
636
|
+
*/
|
|
637
|
+
executeOn: GetAllPromptsExecuteOn;
|
|
638
|
+
};
|
|
639
|
+
export type GetAllPromptsContentPromptsResponse2002 = components.TextContentPartSchema;
|
|
640
|
+
/**
|
|
641
|
+
* The contents of the tool message.
|
|
642
|
+
*/
|
|
643
|
+
export type GetAllPromptsMessagesPromptsResponse200Content = string | Array<components.TextContentPartSchema>;
|
|
644
|
+
/**
|
|
645
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
646
|
+
*/
|
|
647
|
+
export declare const GetAllPromptsMessagesPromptsType: {
|
|
648
|
+
readonly Ephemeral: "ephemeral";
|
|
649
|
+
};
|
|
650
|
+
/**
|
|
651
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
652
|
+
*/
|
|
653
|
+
export type GetAllPromptsMessagesPromptsType = ClosedEnum<typeof GetAllPromptsMessagesPromptsType>;
|
|
654
|
+
/**
|
|
655
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
656
|
+
*
|
|
657
|
+
* @remarks
|
|
658
|
+
*
|
|
659
|
+
* - `5m`: 5 minutes
|
|
660
|
+
* - `1h`: 1 hour
|
|
661
|
+
*
|
|
662
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
663
|
+
*/
|
|
664
|
+
export declare const GetAllPromptsMessagesTtl: {
|
|
665
|
+
readonly Fivem: "5m";
|
|
666
|
+
readonly Oneh: "1h";
|
|
667
|
+
};
|
|
668
|
+
/**
|
|
669
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
670
|
+
*
|
|
671
|
+
* @remarks
|
|
672
|
+
*
|
|
673
|
+
* - `5m`: 5 minutes
|
|
674
|
+
* - `1h`: 1 hour
|
|
675
|
+
*
|
|
676
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
677
|
+
*/
|
|
678
|
+
export type GetAllPromptsMessagesTtl = ClosedEnum<typeof GetAllPromptsMessagesTtl>;
|
|
679
|
+
export type GetAllPromptsMessagesCacheControl = {
|
|
680
|
+
/**
|
|
681
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
682
|
+
*/
|
|
683
|
+
type: GetAllPromptsMessagesPromptsType;
|
|
684
|
+
/**
|
|
685
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
686
|
+
*
|
|
687
|
+
* @remarks
|
|
688
|
+
*
|
|
689
|
+
* - `5m`: 5 minutes
|
|
690
|
+
* - `1h`: 1 hour
|
|
691
|
+
*
|
|
692
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
693
|
+
*/
|
|
694
|
+
ttl?: GetAllPromptsMessagesTtl | undefined;
|
|
695
|
+
};
|
|
696
|
+
export type GetAllPromptsMessagesToolMessage = {
|
|
697
|
+
/**
|
|
698
|
+
* The role of the messages author, in this case tool.
|
|
699
|
+
*/
|
|
700
|
+
role: "tool";
|
|
701
|
+
/**
|
|
702
|
+
* The contents of the tool message.
|
|
703
|
+
*/
|
|
704
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
705
|
+
/**
|
|
706
|
+
* Tool call that this message is responding to.
|
|
707
|
+
*/
|
|
708
|
+
toolCallId: string | null;
|
|
709
|
+
cacheControl?: GetAllPromptsMessagesCacheControl | undefined;
|
|
710
|
+
};
|
|
711
|
+
export type GetAllPromptsContentPromptsResponse2 = (components.TextContentPartSchema & {
|
|
712
|
+
type: "text";
|
|
713
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
714
|
+
/**
|
|
715
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
716
|
+
*/
|
|
717
|
+
export type GetAllPromptsMessagesPromptsResponseContent = string | Array<(components.TextContentPartSchema & {
|
|
718
|
+
type: "text";
|
|
719
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
720
|
+
/**
|
|
721
|
+
* Data about a previous audio response from the model.
|
|
722
|
+
*/
|
|
723
|
+
export type GetAllPromptsMessagesAudio = {
|
|
724
|
+
/**
|
|
725
|
+
* Unique identifier for a previous audio response from the model.
|
|
726
|
+
*/
|
|
727
|
+
id: string;
|
|
728
|
+
};
|
|
729
|
+
/**
|
|
730
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
731
|
+
*/
|
|
732
|
+
export declare const GetAllPromptsMessagesType: {
|
|
733
|
+
readonly Function: "function";
|
|
734
|
+
};
|
|
735
|
+
/**
|
|
736
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
737
|
+
*/
|
|
738
|
+
export type GetAllPromptsMessagesType = ClosedEnum<typeof GetAllPromptsMessagesType>;
|
|
739
|
+
export type GetAllPromptsMessagesFunction = {
|
|
740
|
+
/**
|
|
741
|
+
* The name of the function to call.
|
|
742
|
+
*/
|
|
743
|
+
name?: string | undefined;
|
|
744
|
+
/**
|
|
745
|
+
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
746
|
+
*/
|
|
747
|
+
arguments?: string | undefined;
|
|
748
|
+
};
|
|
749
|
+
export type GetAllPromptsMessagesToolCalls = {
|
|
750
|
+
/**
|
|
751
|
+
* The ID of the tool call.
|
|
752
|
+
*/
|
|
753
|
+
id: string;
|
|
754
|
+
/**
|
|
755
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
756
|
+
*/
|
|
757
|
+
type: GetAllPromptsMessagesType;
|
|
758
|
+
function: GetAllPromptsMessagesFunction;
|
|
759
|
+
/**
|
|
760
|
+
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
761
|
+
*/
|
|
762
|
+
thoughtSignature?: string | undefined;
|
|
763
|
+
};
|
|
764
|
+
export type GetAllPromptsMessagesAssistantMessage = {
|
|
765
|
+
/**
|
|
766
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
767
|
+
*/
|
|
768
|
+
content?: string | Array<(components.TextContentPartSchema & {
|
|
769
|
+
type: "text";
|
|
770
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
771
|
+
/**
|
|
772
|
+
* The refusal message by the assistant.
|
|
773
|
+
*/
|
|
774
|
+
refusal?: string | null | undefined;
|
|
775
|
+
/**
|
|
776
|
+
* The role of the messages author, in this case `assistant`.
|
|
777
|
+
*/
|
|
778
|
+
role: "assistant";
|
|
779
|
+
/**
|
|
780
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
781
|
+
*/
|
|
782
|
+
name?: string | undefined;
|
|
783
|
+
/**
|
|
784
|
+
* Data about a previous audio response from the model.
|
|
785
|
+
*/
|
|
786
|
+
audio?: GetAllPromptsMessagesAudio | null | undefined;
|
|
787
|
+
/**
|
|
788
|
+
* The tool calls generated by the model, such as function calls.
|
|
789
|
+
*/
|
|
790
|
+
toolCalls?: Array<GetAllPromptsMessagesToolCalls> | undefined;
|
|
791
|
+
};
|
|
792
|
+
/**
|
|
793
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
794
|
+
*/
|
|
795
|
+
export declare const GetAllPrompts2PromptsResponse200ApplicationJSONType: {
|
|
796
|
+
readonly Ephemeral: "ephemeral";
|
|
797
|
+
};
|
|
798
|
+
/**
|
|
799
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
800
|
+
*/
|
|
801
|
+
export type GetAllPrompts2PromptsResponse200ApplicationJSONType = ClosedEnum<typeof GetAllPrompts2PromptsResponse200ApplicationJSONType>;
|
|
802
|
+
/**
|
|
803
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
804
|
+
*
|
|
805
|
+
* @remarks
|
|
806
|
+
*
|
|
807
|
+
* - `5m`: 5 minutes
|
|
808
|
+
* - `1h`: 1 hour
|
|
809
|
+
*
|
|
810
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
811
|
+
*/
|
|
812
|
+
export declare const GetAllPrompts2Ttl: {
|
|
813
|
+
readonly Fivem: "5m";
|
|
814
|
+
readonly Oneh: "1h";
|
|
815
|
+
};
|
|
816
|
+
/**
|
|
817
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
818
|
+
*
|
|
819
|
+
* @remarks
|
|
820
|
+
*
|
|
821
|
+
* - `5m`: 5 minutes
|
|
822
|
+
* - `1h`: 1 hour
|
|
823
|
+
*
|
|
824
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
825
|
+
*/
|
|
826
|
+
export type GetAllPrompts2Ttl = ClosedEnum<typeof GetAllPrompts2Ttl>;
|
|
827
|
+
export type GetAllPrompts2CacheControl = {
|
|
828
|
+
/**
|
|
829
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
830
|
+
*/
|
|
831
|
+
type: GetAllPrompts2PromptsResponse200ApplicationJSONType;
|
|
832
|
+
/**
|
|
833
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
834
|
+
*
|
|
835
|
+
* @remarks
|
|
836
|
+
*
|
|
837
|
+
* - `5m`: 5 minutes
|
|
838
|
+
* - `1h`: 1 hour
|
|
839
|
+
*
|
|
840
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
841
|
+
*/
|
|
842
|
+
ttl?: GetAllPrompts2Ttl | undefined;
|
|
843
|
+
};
|
|
844
|
+
export type GetAllPrompts24 = {
|
|
845
|
+
/**
|
|
846
|
+
* The type of the content part. Always `file`.
|
|
847
|
+
*/
|
|
848
|
+
type: "file";
|
|
849
|
+
cacheControl?: GetAllPrompts2CacheControl | undefined;
|
|
850
|
+
/**
|
|
851
|
+
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
852
|
+
*/
|
|
853
|
+
file: components.FileContentPartSchema;
|
|
854
|
+
};
|
|
855
|
+
export type GetAllPromptsContentPrompts2 = (components.TextContentPartSchema & {
|
|
856
|
+
type: "text";
|
|
857
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | GetAllPrompts24;
|
|
858
|
+
/**
|
|
859
|
+
* The contents of the user message.
|
|
860
|
+
*/
|
|
861
|
+
export type GetAllPromptsMessagesPromptsContent = string | Array<(components.TextContentPartSchema & {
|
|
862
|
+
type: "text";
|
|
863
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | GetAllPrompts24>;
|
|
864
|
+
export type GetAllPromptsMessagesUserMessage = {
|
|
865
|
+
/**
|
|
866
|
+
* The role of the messages author, in this case `user`.
|
|
867
|
+
*/
|
|
868
|
+
role: "user";
|
|
869
|
+
/**
|
|
870
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
871
|
+
*/
|
|
872
|
+
name?: string | undefined;
|
|
873
|
+
/**
|
|
874
|
+
* The contents of the user message.
|
|
875
|
+
*/
|
|
876
|
+
content: string | Array<(components.TextContentPartSchema & {
|
|
877
|
+
type: "text";
|
|
878
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | GetAllPrompts24>;
|
|
879
|
+
};
|
|
880
|
+
/**
|
|
881
|
+
* The contents of the system message.
|
|
882
|
+
*/
|
|
883
|
+
export type GetAllPromptsMessagesContent = string | Array<components.TextContentPartSchema>;
|
|
884
|
+
/**
|
|
885
|
+
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
886
|
+
*/
|
|
887
|
+
export type GetAllPromptsMessagesSystemMessage = {
|
|
888
|
+
/**
|
|
889
|
+
* The role of the messages author, in this case `system`.
|
|
890
|
+
*/
|
|
891
|
+
role: "system";
|
|
892
|
+
/**
|
|
893
|
+
* The contents of the system message.
|
|
894
|
+
*/
|
|
895
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
896
|
+
/**
|
|
897
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
898
|
+
*/
|
|
899
|
+
name?: string | undefined;
|
|
900
|
+
};
|
|
901
|
+
export type GetAllPromptsPromptsMessages = GetAllPromptsMessagesSystemMessage | GetAllPromptsMessagesUserMessage | GetAllPromptsMessagesAssistantMessage | GetAllPromptsMessagesToolMessage;
|
|
902
|
+
/**
|
|
903
|
+
* Prompt configuration with model and messages. Use this instead of prompt_config.
|
|
904
|
+
*/
|
|
905
|
+
export type GetAllPromptsPromptField = {
|
|
906
|
+
/**
|
|
907
|
+
* Parameters for audio output. Required when audio output is requested with modalities: ["audio"]. Learn more.
|
|
908
|
+
*/
|
|
909
|
+
audio?: GetAllPromptsAudio | null | undefined;
|
|
910
|
+
/**
|
|
911
|
+
* 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.
|
|
912
|
+
*/
|
|
913
|
+
frequencyPenalty?: number | null | undefined;
|
|
914
|
+
/**
|
|
915
|
+
* `[Deprecated]`. The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API.
|
|
916
|
+
*
|
|
917
|
+
* @remarks
|
|
918
|
+
*
|
|
919
|
+
* This value is now `deprecated` in favor of `max_completion_tokens`, and is not compatible with o1 series models.
|
|
920
|
+
*/
|
|
921
|
+
maxTokens?: number | null | undefined;
|
|
922
|
+
/**
|
|
923
|
+
* An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens
|
|
924
|
+
*/
|
|
925
|
+
maxCompletionTokens?: number | null | undefined;
|
|
926
|
+
/**
|
|
927
|
+
* 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.
|
|
928
|
+
*/
|
|
929
|
+
logprobs?: boolean | null | undefined;
|
|
930
|
+
/**
|
|
931
|
+
* 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.
|
|
932
|
+
*/
|
|
933
|
+
topLogprobs?: number | null | undefined;
|
|
934
|
+
/**
|
|
935
|
+
* 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.
|
|
936
|
+
*/
|
|
937
|
+
n?: number | null | undefined;
|
|
938
|
+
/**
|
|
939
|
+
* 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.
|
|
940
|
+
*/
|
|
941
|
+
presencePenalty?: number | null | undefined;
|
|
942
|
+
/**
|
|
943
|
+
* An object specifying the format that the model must output
|
|
944
|
+
*/
|
|
945
|
+
responseFormat?: GetAllPromptsResponseFormatText | GetAllPromptsResponseFormatJSONObject | GetAllPromptsResponseFormatPromptsJSONSchema | undefined;
|
|
946
|
+
/**
|
|
947
|
+
* Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently supported values are `none`, `minimal`, `low`, `medium`, `high`, and `xhigh`. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
948
|
+
*
|
|
949
|
+
* @remarks
|
|
950
|
+
*
|
|
951
|
+
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool calls are supported for all reasoning values in gpt-5.1.
|
|
952
|
+
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not support `none`.
|
|
953
|
+
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
|
954
|
+
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
|
|
955
|
+
*
|
|
956
|
+
* Any of "none", "minimal", "low", "medium", "high", "xhigh".
|
|
957
|
+
*/
|
|
958
|
+
reasoningEffort?: GetAllPromptsReasoningEffort | undefined;
|
|
959
|
+
/**
|
|
960
|
+
* Adjusts response verbosity. Lower levels yield shorter answers.
|
|
961
|
+
*/
|
|
962
|
+
verbosity?: string | undefined;
|
|
963
|
+
/**
|
|
964
|
+
* If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
|
|
965
|
+
*/
|
|
966
|
+
seed?: number | null | undefined;
|
|
967
|
+
/**
|
|
968
|
+
* Up to 4 sequences where the API will stop generating further tokens.
|
|
969
|
+
*/
|
|
970
|
+
stop?: string | Array<string> | null | undefined;
|
|
971
|
+
/**
|
|
972
|
+
* Options for streaming response. Only set this when you set stream: true.
|
|
973
|
+
*/
|
|
974
|
+
streamOptions?: GetAllPromptsStreamOptions | null | undefined;
|
|
975
|
+
thinking?: components.ThinkingConfigDisabledSchema | components.ThinkingConfigEnabledSchema | undefined;
|
|
976
|
+
/**
|
|
977
|
+
* 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.
|
|
978
|
+
*/
|
|
979
|
+
temperature?: number | null | undefined;
|
|
980
|
+
/**
|
|
981
|
+
* An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
|
|
982
|
+
*/
|
|
983
|
+
topP?: number | null | undefined;
|
|
984
|
+
/**
|
|
985
|
+
* Limits the model to consider only the top k most likely tokens at each step.
|
|
986
|
+
*/
|
|
987
|
+
topK?: number | null | undefined;
|
|
988
|
+
/**
|
|
989
|
+
* Controls which (if any) tool is called by the model.
|
|
990
|
+
*/
|
|
991
|
+
toolChoice?: GetAllPromptsToolChoice2 | GetAllPromptsToolChoice1 | undefined;
|
|
992
|
+
/**
|
|
993
|
+
* Whether to enable parallel function calling during tool use.
|
|
994
|
+
*/
|
|
995
|
+
parallelToolCalls?: boolean | undefined;
|
|
996
|
+
/**
|
|
997
|
+
* Output types that you would like the model to generate. Most models are capable of generating text, which is the default: ["text"]. The gpt-4o-audio-preview model can also be used to generate audio. To request that this model generate both text and audio responses, you can use: ["text", "audio"].
|
|
998
|
+
*/
|
|
999
|
+
modalities?: Array<GetAllPromptsModalities> | null | undefined;
|
|
1000
|
+
/**
|
|
1001
|
+
* A list of guardrails to apply to the request.
|
|
1002
|
+
*/
|
|
1003
|
+
guardrails?: Array<GetAllPromptsGuardrails> | undefined;
|
|
1004
|
+
/**
|
|
1005
|
+
* Array of messages that make up the conversation. Each message has a role (system, user, assistant, or tool) and content.
|
|
1006
|
+
*/
|
|
1007
|
+
messages?: Array<GetAllPromptsMessagesSystemMessage | GetAllPromptsMessagesUserMessage | GetAllPromptsMessagesAssistantMessage | GetAllPromptsMessagesToolMessage> | undefined;
|
|
1008
|
+
/**
|
|
1009
|
+
* Model ID used to generate the response, like `openai/gpt-4o` or `anthropic/claude-3-5-sonnet-20241022`. For private models, use format: `{workspaceKey}@{provider}/{model}`.
|
|
1010
|
+
*/
|
|
1011
|
+
model?: string | null | undefined;
|
|
1012
|
+
version?: string | undefined;
|
|
1013
|
+
};
|
|
431
1014
|
export declare const GetAllPromptsUseCases: {
|
|
432
1015
|
readonly AgentsSimulations: "Agents simulations";
|
|
433
1016
|
readonly Agents: "Agents";
|
|
@@ -498,9 +1081,15 @@ export type GetAllPromptsPrompt = {
|
|
|
498
1081
|
*/
|
|
499
1082
|
description?: string | null | undefined;
|
|
500
1083
|
/**
|
|
501
|
-
* A list of messages compatible with the openAI schema
|
|
1084
|
+
* [DEPRECATED] Use the `prompt` property instead. A list of messages compatible with the openAI schema.
|
|
1085
|
+
*
|
|
1086
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1087
|
+
*/
|
|
1088
|
+
promptConfig?: GetAllPromptsPromptConfig | undefined;
|
|
1089
|
+
/**
|
|
1090
|
+
* Prompt configuration with model and messages. Use this instead of prompt_config.
|
|
502
1091
|
*/
|
|
503
|
-
|
|
1092
|
+
prompt: GetAllPromptsPromptField;
|
|
504
1093
|
metadata?: GetAllPromptsMetadata | undefined;
|
|
505
1094
|
};
|
|
506
1095
|
/**
|
|
@@ -552,9 +1141,9 @@ export declare const GetAllPromptsResponseFormat4$inboundSchema: z.ZodNativeEnum
|
|
|
552
1141
|
/** @internal */
|
|
553
1142
|
export declare const GetAllPromptsResponseFormat4$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormat4>;
|
|
554
1143
|
/** @internal */
|
|
555
|
-
export declare const
|
|
1144
|
+
export declare const GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType>;
|
|
556
1145
|
/** @internal */
|
|
557
|
-
export declare const
|
|
1146
|
+
export declare const GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONResponseBodyType>;
|
|
558
1147
|
/** @internal */
|
|
559
1148
|
export declare const GetAllPromptsResponseFormat3$inboundSchema: z.ZodType<GetAllPromptsResponseFormat3, z.ZodTypeDef, unknown>;
|
|
560
1149
|
/** @internal */
|
|
@@ -566,9 +1155,9 @@ export declare const GetAllPromptsResponseFormat3$outboundSchema: z.ZodType<GetA
|
|
|
566
1155
|
export declare function getAllPromptsResponseFormat3ToJSON(getAllPromptsResponseFormat3: GetAllPromptsResponseFormat3): string;
|
|
567
1156
|
export declare function getAllPromptsResponseFormat3FromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormat3, SDKValidationError>;
|
|
568
1157
|
/** @internal */
|
|
569
|
-
export declare const
|
|
1158
|
+
export declare const GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONType>;
|
|
570
1159
|
/** @internal */
|
|
571
|
-
export declare const
|
|
1160
|
+
export declare const GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsResponse200ApplicationJSONType>;
|
|
572
1161
|
/** @internal */
|
|
573
1162
|
export declare const GetAllPromptsResponseFormat2$inboundSchema: z.ZodType<GetAllPromptsResponseFormat2, z.ZodTypeDef, unknown>;
|
|
574
1163
|
/** @internal */
|
|
@@ -580,13 +1169,13 @@ export declare const GetAllPromptsResponseFormat2$outboundSchema: z.ZodType<GetA
|
|
|
580
1169
|
export declare function getAllPromptsResponseFormat2ToJSON(getAllPromptsResponseFormat2: GetAllPromptsResponseFormat2): string;
|
|
581
1170
|
export declare function getAllPromptsResponseFormat2FromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormat2, SDKValidationError>;
|
|
582
1171
|
/** @internal */
|
|
583
|
-
export declare const
|
|
1172
|
+
export declare const GetAllPromptsResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsResponse200Type>;
|
|
584
1173
|
/** @internal */
|
|
585
|
-
export declare const
|
|
1174
|
+
export declare const GetAllPromptsResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsResponse200Type>;
|
|
586
1175
|
/** @internal */
|
|
587
|
-
export declare const
|
|
1176
|
+
export declare const GetAllPromptsResponseFormatPromptsResponseJsonSchema$inboundSchema: z.ZodType<GetAllPromptsResponseFormatPromptsResponseJsonSchema, z.ZodTypeDef, unknown>;
|
|
588
1177
|
/** @internal */
|
|
589
|
-
export type
|
|
1178
|
+
export type GetAllPromptsResponseFormatPromptsResponseJsonSchema$Outbound = {
|
|
590
1179
|
name: string;
|
|
591
1180
|
description?: string | undefined;
|
|
592
1181
|
strict?: boolean | undefined;
|
|
@@ -595,29 +1184,29 @@ export type GetAllPromptsResponseFormatJsonSchema$Outbound = {
|
|
|
595
1184
|
};
|
|
596
1185
|
};
|
|
597
1186
|
/** @internal */
|
|
598
|
-
export declare const
|
|
599
|
-
export declare function
|
|
600
|
-
export declare function
|
|
1187
|
+
export declare const GetAllPromptsResponseFormatPromptsResponseJsonSchema$outboundSchema: z.ZodType<GetAllPromptsResponseFormatPromptsResponseJsonSchema$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormatPromptsResponseJsonSchema>;
|
|
1188
|
+
export declare function getAllPromptsResponseFormatPromptsResponseJsonSchemaToJSON(getAllPromptsResponseFormatPromptsResponseJsonSchema: GetAllPromptsResponseFormatPromptsResponseJsonSchema): string;
|
|
1189
|
+
export declare function getAllPromptsResponseFormatPromptsResponseJsonSchemaFromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormatPromptsResponseJsonSchema, SDKValidationError>;
|
|
601
1190
|
/** @internal */
|
|
602
1191
|
export declare const GetAllPromptsResponseFormat1$inboundSchema: z.ZodType<GetAllPromptsResponseFormat1, z.ZodTypeDef, unknown>;
|
|
603
1192
|
/** @internal */
|
|
604
1193
|
export type GetAllPromptsResponseFormat1$Outbound = {
|
|
605
1194
|
type: string;
|
|
606
1195
|
display_name?: string | undefined;
|
|
607
|
-
json_schema:
|
|
1196
|
+
json_schema: GetAllPromptsResponseFormatPromptsResponseJsonSchema$Outbound;
|
|
608
1197
|
};
|
|
609
1198
|
/** @internal */
|
|
610
1199
|
export declare const GetAllPromptsResponseFormat1$outboundSchema: z.ZodType<GetAllPromptsResponseFormat1$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat1>;
|
|
611
1200
|
export declare function getAllPromptsResponseFormat1ToJSON(getAllPromptsResponseFormat1: GetAllPromptsResponseFormat1): string;
|
|
612
1201
|
export declare function getAllPromptsResponseFormat1FromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormat1, SDKValidationError>;
|
|
613
1202
|
/** @internal */
|
|
614
|
-
export declare const
|
|
1203
|
+
export declare const GetAllPromptsPromptsResponseFormat$inboundSchema: z.ZodType<GetAllPromptsPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
615
1204
|
/** @internal */
|
|
616
|
-
export type
|
|
1205
|
+
export type GetAllPromptsPromptsResponseFormat$Outbound = GetAllPromptsResponseFormat1$Outbound | GetAllPromptsResponseFormat2$Outbound | GetAllPromptsResponseFormat3$Outbound | string | string | string;
|
|
617
1206
|
/** @internal */
|
|
618
|
-
export declare const
|
|
619
|
-
export declare function
|
|
620
|
-
export declare function
|
|
1207
|
+
export declare const GetAllPromptsPromptsResponseFormat$outboundSchema: z.ZodType<GetAllPromptsPromptsResponseFormat$Outbound, z.ZodTypeDef, GetAllPromptsPromptsResponseFormat>;
|
|
1208
|
+
export declare function getAllPromptsPromptsResponseFormatToJSON(getAllPromptsPromptsResponseFormat: GetAllPromptsPromptsResponseFormat): string;
|
|
1209
|
+
export declare function getAllPromptsPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<GetAllPromptsPromptsResponseFormat, SDKValidationError>;
|
|
621
1210
|
/** @internal */
|
|
622
1211
|
export declare const GetAllPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPhotoRealVersion>;
|
|
623
1212
|
/** @internal */
|
|
@@ -627,9 +1216,9 @@ export declare const GetAllPromptsEncodingFormat$inboundSchema: z.ZodNativeEnum<
|
|
|
627
1216
|
/** @internal */
|
|
628
1217
|
export declare const GetAllPromptsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsEncodingFormat>;
|
|
629
1218
|
/** @internal */
|
|
630
|
-
export declare const
|
|
1219
|
+
export declare const GetAllPromptsPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsReasoningEffort>;
|
|
631
1220
|
/** @internal */
|
|
632
|
-
export declare const
|
|
1221
|
+
export declare const GetAllPromptsPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsReasoningEffort>;
|
|
633
1222
|
/** @internal */
|
|
634
1223
|
export declare const GetAllPromptsVerbosity$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsVerbosity>;
|
|
635
1224
|
/** @internal */
|
|
@@ -794,11 +1383,11 @@ export declare const GetAllPromptsPromptConfig$inboundSchema: z.ZodType<GetAllPr
|
|
|
794
1383
|
/** @internal */
|
|
795
1384
|
export type GetAllPromptsPromptConfig$Outbound = {
|
|
796
1385
|
stream?: boolean | undefined;
|
|
797
|
-
model?: string | undefined;
|
|
1386
|
+
model?: string | null | undefined;
|
|
798
1387
|
model_db_id?: string | null | undefined;
|
|
799
1388
|
model_type?: string | null | undefined;
|
|
800
1389
|
model_parameters?: GetAllPromptsModelParameters$Outbound | undefined;
|
|
801
|
-
provider?: string | undefined;
|
|
1390
|
+
provider?: string | null | undefined;
|
|
802
1391
|
integration_id?: string | null | undefined;
|
|
803
1392
|
version?: string | undefined;
|
|
804
1393
|
messages: Array<GetAllPromptsMessages$Outbound>;
|
|
@@ -808,6 +1397,425 @@ export declare const GetAllPromptsPromptConfig$outboundSchema: z.ZodType<GetAllP
|
|
|
808
1397
|
export declare function getAllPromptsPromptConfigToJSON(getAllPromptsPromptConfig: GetAllPromptsPromptConfig): string;
|
|
809
1398
|
export declare function getAllPromptsPromptConfigFromJSON(jsonString: string): SafeParseResult<GetAllPromptsPromptConfig, SDKValidationError>;
|
|
810
1399
|
/** @internal */
|
|
1400
|
+
export declare const GetAllPromptsVoice$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsVoice>;
|
|
1401
|
+
/** @internal */
|
|
1402
|
+
export declare const GetAllPromptsVoice$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsVoice>;
|
|
1403
|
+
/** @internal */
|
|
1404
|
+
export declare const GetAllPromptsPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsFormat>;
|
|
1405
|
+
/** @internal */
|
|
1406
|
+
export declare const GetAllPromptsPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsFormat>;
|
|
1407
|
+
/** @internal */
|
|
1408
|
+
export declare const GetAllPromptsAudio$inboundSchema: z.ZodType<GetAllPromptsAudio, z.ZodTypeDef, unknown>;
|
|
1409
|
+
/** @internal */
|
|
1410
|
+
export type GetAllPromptsAudio$Outbound = {
|
|
1411
|
+
voice: string;
|
|
1412
|
+
format: string;
|
|
1413
|
+
};
|
|
1414
|
+
/** @internal */
|
|
1415
|
+
export declare const GetAllPromptsAudio$outboundSchema: z.ZodType<GetAllPromptsAudio$Outbound, z.ZodTypeDef, GetAllPromptsAudio>;
|
|
1416
|
+
export declare function getAllPromptsAudioToJSON(getAllPromptsAudio: GetAllPromptsAudio): string;
|
|
1417
|
+
export declare function getAllPromptsAudioFromJSON(jsonString: string): SafeParseResult<GetAllPromptsAudio, SDKValidationError>;
|
|
1418
|
+
/** @internal */
|
|
1419
|
+
export declare const GetAllPromptsResponseFormatJsonSchema$inboundSchema: z.ZodType<GetAllPromptsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
1420
|
+
/** @internal */
|
|
1421
|
+
export type GetAllPromptsResponseFormatJsonSchema$Outbound = {
|
|
1422
|
+
description?: string | undefined;
|
|
1423
|
+
name: string;
|
|
1424
|
+
schema?: any | undefined;
|
|
1425
|
+
strict: boolean;
|
|
1426
|
+
};
|
|
1427
|
+
/** @internal */
|
|
1428
|
+
export declare const GetAllPromptsResponseFormatJsonSchema$outboundSchema: z.ZodType<GetAllPromptsResponseFormatJsonSchema$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormatJsonSchema>;
|
|
1429
|
+
export declare function getAllPromptsResponseFormatJsonSchemaToJSON(getAllPromptsResponseFormatJsonSchema: GetAllPromptsResponseFormatJsonSchema): string;
|
|
1430
|
+
export declare function getAllPromptsResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormatJsonSchema, SDKValidationError>;
|
|
1431
|
+
/** @internal */
|
|
1432
|
+
export declare const GetAllPromptsResponseFormatPromptsJSONSchema$inboundSchema: z.ZodType<GetAllPromptsResponseFormatPromptsJSONSchema, z.ZodTypeDef, unknown>;
|
|
1433
|
+
/** @internal */
|
|
1434
|
+
export type GetAllPromptsResponseFormatPromptsJSONSchema$Outbound = {
|
|
1435
|
+
type: "json_schema";
|
|
1436
|
+
json_schema: GetAllPromptsResponseFormatJsonSchema$Outbound;
|
|
1437
|
+
};
|
|
1438
|
+
/** @internal */
|
|
1439
|
+
export declare const GetAllPromptsResponseFormatPromptsJSONSchema$outboundSchema: z.ZodType<GetAllPromptsResponseFormatPromptsJSONSchema$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormatPromptsJSONSchema>;
|
|
1440
|
+
export declare function getAllPromptsResponseFormatPromptsJSONSchemaToJSON(getAllPromptsResponseFormatPromptsJSONSchema: GetAllPromptsResponseFormatPromptsJSONSchema): string;
|
|
1441
|
+
export declare function getAllPromptsResponseFormatPromptsJSONSchemaFromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormatPromptsJSONSchema, SDKValidationError>;
|
|
1442
|
+
/** @internal */
|
|
1443
|
+
export declare const GetAllPromptsResponseFormatJSONObject$inboundSchema: z.ZodType<GetAllPromptsResponseFormatJSONObject, z.ZodTypeDef, unknown>;
|
|
1444
|
+
/** @internal */
|
|
1445
|
+
export type GetAllPromptsResponseFormatJSONObject$Outbound = {
|
|
1446
|
+
type: "json_object";
|
|
1447
|
+
};
|
|
1448
|
+
/** @internal */
|
|
1449
|
+
export declare const GetAllPromptsResponseFormatJSONObject$outboundSchema: z.ZodType<GetAllPromptsResponseFormatJSONObject$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormatJSONObject>;
|
|
1450
|
+
export declare function getAllPromptsResponseFormatJSONObjectToJSON(getAllPromptsResponseFormatJSONObject: GetAllPromptsResponseFormatJSONObject): string;
|
|
1451
|
+
export declare function getAllPromptsResponseFormatJSONObjectFromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormatJSONObject, SDKValidationError>;
|
|
1452
|
+
/** @internal */
|
|
1453
|
+
export declare const GetAllPromptsResponseFormatText$inboundSchema: z.ZodType<GetAllPromptsResponseFormatText, z.ZodTypeDef, unknown>;
|
|
1454
|
+
/** @internal */
|
|
1455
|
+
export type GetAllPromptsResponseFormatText$Outbound = {
|
|
1456
|
+
type: "text";
|
|
1457
|
+
};
|
|
1458
|
+
/** @internal */
|
|
1459
|
+
export declare const GetAllPromptsResponseFormatText$outboundSchema: z.ZodType<GetAllPromptsResponseFormatText$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormatText>;
|
|
1460
|
+
export declare function getAllPromptsResponseFormatTextToJSON(getAllPromptsResponseFormatText: GetAllPromptsResponseFormatText): string;
|
|
1461
|
+
export declare function getAllPromptsResponseFormatTextFromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormatText, SDKValidationError>;
|
|
1462
|
+
/** @internal */
|
|
1463
|
+
export declare const GetAllPromptsResponseFormat$inboundSchema: z.ZodType<GetAllPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1464
|
+
/** @internal */
|
|
1465
|
+
export type GetAllPromptsResponseFormat$Outbound = GetAllPromptsResponseFormatText$Outbound | GetAllPromptsResponseFormatJSONObject$Outbound | GetAllPromptsResponseFormatPromptsJSONSchema$Outbound;
|
|
1466
|
+
/** @internal */
|
|
1467
|
+
export declare const GetAllPromptsResponseFormat$outboundSchema: z.ZodType<GetAllPromptsResponseFormat$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat>;
|
|
1468
|
+
export declare function getAllPromptsResponseFormatToJSON(getAllPromptsResponseFormat: GetAllPromptsResponseFormat): string;
|
|
1469
|
+
export declare function getAllPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormat, SDKValidationError>;
|
|
1470
|
+
/** @internal */
|
|
1471
|
+
export declare const GetAllPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsReasoningEffort>;
|
|
1472
|
+
/** @internal */
|
|
1473
|
+
export declare const GetAllPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsReasoningEffort>;
|
|
1474
|
+
/** @internal */
|
|
1475
|
+
export declare const GetAllPromptsStop$inboundSchema: z.ZodType<GetAllPromptsStop, z.ZodTypeDef, unknown>;
|
|
1476
|
+
/** @internal */
|
|
1477
|
+
export type GetAllPromptsStop$Outbound = string | Array<string>;
|
|
1478
|
+
/** @internal */
|
|
1479
|
+
export declare const GetAllPromptsStop$outboundSchema: z.ZodType<GetAllPromptsStop$Outbound, z.ZodTypeDef, GetAllPromptsStop>;
|
|
1480
|
+
export declare function getAllPromptsStopToJSON(getAllPromptsStop: GetAllPromptsStop): string;
|
|
1481
|
+
export declare function getAllPromptsStopFromJSON(jsonString: string): SafeParseResult<GetAllPromptsStop, SDKValidationError>;
|
|
1482
|
+
/** @internal */
|
|
1483
|
+
export declare const GetAllPromptsStreamOptions$inboundSchema: z.ZodType<GetAllPromptsStreamOptions, z.ZodTypeDef, unknown>;
|
|
1484
|
+
/** @internal */
|
|
1485
|
+
export type GetAllPromptsStreamOptions$Outbound = {
|
|
1486
|
+
include_usage?: boolean | undefined;
|
|
1487
|
+
};
|
|
1488
|
+
/** @internal */
|
|
1489
|
+
export declare const GetAllPromptsStreamOptions$outboundSchema: z.ZodType<GetAllPromptsStreamOptions$Outbound, z.ZodTypeDef, GetAllPromptsStreamOptions>;
|
|
1490
|
+
export declare function getAllPromptsStreamOptionsToJSON(getAllPromptsStreamOptions: GetAllPromptsStreamOptions): string;
|
|
1491
|
+
export declare function getAllPromptsStreamOptionsFromJSON(jsonString: string): SafeParseResult<GetAllPromptsStreamOptions, SDKValidationError>;
|
|
1492
|
+
/** @internal */
|
|
1493
|
+
export declare const GetAllPromptsThinking$inboundSchema: z.ZodType<GetAllPromptsThinking, z.ZodTypeDef, unknown>;
|
|
1494
|
+
/** @internal */
|
|
1495
|
+
export type GetAllPromptsThinking$Outbound = components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound;
|
|
1496
|
+
/** @internal */
|
|
1497
|
+
export declare const GetAllPromptsThinking$outboundSchema: z.ZodType<GetAllPromptsThinking$Outbound, z.ZodTypeDef, GetAllPromptsThinking>;
|
|
1498
|
+
export declare function getAllPromptsThinkingToJSON(getAllPromptsThinking: GetAllPromptsThinking): string;
|
|
1499
|
+
export declare function getAllPromptsThinkingFromJSON(jsonString: string): SafeParseResult<GetAllPromptsThinking, SDKValidationError>;
|
|
1500
|
+
/** @internal */
|
|
1501
|
+
export declare const GetAllPromptsToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsToolChoiceType>;
|
|
1502
|
+
/** @internal */
|
|
1503
|
+
export declare const GetAllPromptsToolChoiceType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsToolChoiceType>;
|
|
1504
|
+
/** @internal */
|
|
1505
|
+
export declare const GetAllPromptsToolChoiceFunction$inboundSchema: z.ZodType<GetAllPromptsToolChoiceFunction, z.ZodTypeDef, unknown>;
|
|
1506
|
+
/** @internal */
|
|
1507
|
+
export type GetAllPromptsToolChoiceFunction$Outbound = {
|
|
1508
|
+
name: string;
|
|
1509
|
+
};
|
|
1510
|
+
/** @internal */
|
|
1511
|
+
export declare const GetAllPromptsToolChoiceFunction$outboundSchema: z.ZodType<GetAllPromptsToolChoiceFunction$Outbound, z.ZodTypeDef, GetAllPromptsToolChoiceFunction>;
|
|
1512
|
+
export declare function getAllPromptsToolChoiceFunctionToJSON(getAllPromptsToolChoiceFunction: GetAllPromptsToolChoiceFunction): string;
|
|
1513
|
+
export declare function getAllPromptsToolChoiceFunctionFromJSON(jsonString: string): SafeParseResult<GetAllPromptsToolChoiceFunction, SDKValidationError>;
|
|
1514
|
+
/** @internal */
|
|
1515
|
+
export declare const GetAllPromptsToolChoice2$inboundSchema: z.ZodType<GetAllPromptsToolChoice2, z.ZodTypeDef, unknown>;
|
|
1516
|
+
/** @internal */
|
|
1517
|
+
export type GetAllPromptsToolChoice2$Outbound = {
|
|
1518
|
+
type?: string | undefined;
|
|
1519
|
+
function: GetAllPromptsToolChoiceFunction$Outbound;
|
|
1520
|
+
};
|
|
1521
|
+
/** @internal */
|
|
1522
|
+
export declare const GetAllPromptsToolChoice2$outboundSchema: z.ZodType<GetAllPromptsToolChoice2$Outbound, z.ZodTypeDef, GetAllPromptsToolChoice2>;
|
|
1523
|
+
export declare function getAllPromptsToolChoice2ToJSON(getAllPromptsToolChoice2: GetAllPromptsToolChoice2): string;
|
|
1524
|
+
export declare function getAllPromptsToolChoice2FromJSON(jsonString: string): SafeParseResult<GetAllPromptsToolChoice2, SDKValidationError>;
|
|
1525
|
+
/** @internal */
|
|
1526
|
+
export declare const GetAllPromptsToolChoice1$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsToolChoice1>;
|
|
1527
|
+
/** @internal */
|
|
1528
|
+
export declare const GetAllPromptsToolChoice1$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsToolChoice1>;
|
|
1529
|
+
/** @internal */
|
|
1530
|
+
export declare const GetAllPromptsToolChoice$inboundSchema: z.ZodType<GetAllPromptsToolChoice, z.ZodTypeDef, unknown>;
|
|
1531
|
+
/** @internal */
|
|
1532
|
+
export type GetAllPromptsToolChoice$Outbound = GetAllPromptsToolChoice2$Outbound | string;
|
|
1533
|
+
/** @internal */
|
|
1534
|
+
export declare const GetAllPromptsToolChoice$outboundSchema: z.ZodType<GetAllPromptsToolChoice$Outbound, z.ZodTypeDef, GetAllPromptsToolChoice>;
|
|
1535
|
+
export declare function getAllPromptsToolChoiceToJSON(getAllPromptsToolChoice: GetAllPromptsToolChoice): string;
|
|
1536
|
+
export declare function getAllPromptsToolChoiceFromJSON(jsonString: string): SafeParseResult<GetAllPromptsToolChoice, SDKValidationError>;
|
|
1537
|
+
/** @internal */
|
|
1538
|
+
export declare const GetAllPromptsModalities$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsModalities>;
|
|
1539
|
+
/** @internal */
|
|
1540
|
+
export declare const GetAllPromptsModalities$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsModalities>;
|
|
1541
|
+
/** @internal */
|
|
1542
|
+
export declare const GetAllPromptsId1$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsId1>;
|
|
1543
|
+
/** @internal */
|
|
1544
|
+
export declare const GetAllPromptsId1$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsId1>;
|
|
1545
|
+
/** @internal */
|
|
1546
|
+
export declare const GetAllPromptsId$inboundSchema: z.ZodType<GetAllPromptsId, z.ZodTypeDef, unknown>;
|
|
1547
|
+
/** @internal */
|
|
1548
|
+
export type GetAllPromptsId$Outbound = string | string;
|
|
1549
|
+
/** @internal */
|
|
1550
|
+
export declare const GetAllPromptsId$outboundSchema: z.ZodType<GetAllPromptsId$Outbound, z.ZodTypeDef, GetAllPromptsId>;
|
|
1551
|
+
export declare function getAllPromptsIdToJSON(getAllPromptsId: GetAllPromptsId): string;
|
|
1552
|
+
export declare function getAllPromptsIdFromJSON(jsonString: string): SafeParseResult<GetAllPromptsId, SDKValidationError>;
|
|
1553
|
+
/** @internal */
|
|
1554
|
+
export declare const GetAllPromptsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsExecuteOn>;
|
|
1555
|
+
/** @internal */
|
|
1556
|
+
export declare const GetAllPromptsExecuteOn$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsExecuteOn>;
|
|
1557
|
+
/** @internal */
|
|
1558
|
+
export declare const GetAllPromptsGuardrails$inboundSchema: z.ZodType<GetAllPromptsGuardrails, z.ZodTypeDef, unknown>;
|
|
1559
|
+
/** @internal */
|
|
1560
|
+
export type GetAllPromptsGuardrails$Outbound = {
|
|
1561
|
+
id: string | string;
|
|
1562
|
+
execute_on: string;
|
|
1563
|
+
};
|
|
1564
|
+
/** @internal */
|
|
1565
|
+
export declare const GetAllPromptsGuardrails$outboundSchema: z.ZodType<GetAllPromptsGuardrails$Outbound, z.ZodTypeDef, GetAllPromptsGuardrails>;
|
|
1566
|
+
export declare function getAllPromptsGuardrailsToJSON(getAllPromptsGuardrails: GetAllPromptsGuardrails): string;
|
|
1567
|
+
export declare function getAllPromptsGuardrailsFromJSON(jsonString: string): SafeParseResult<GetAllPromptsGuardrails, SDKValidationError>;
|
|
1568
|
+
/** @internal */
|
|
1569
|
+
export declare const GetAllPromptsContentPromptsResponse2002$inboundSchema: z.ZodType<GetAllPromptsContentPromptsResponse2002, z.ZodTypeDef, unknown>;
|
|
1570
|
+
/** @internal */
|
|
1571
|
+
export type GetAllPromptsContentPromptsResponse2002$Outbound = components.TextContentPartSchema$Outbound;
|
|
1572
|
+
/** @internal */
|
|
1573
|
+
export declare const GetAllPromptsContentPromptsResponse2002$outboundSchema: z.ZodType<GetAllPromptsContentPromptsResponse2002$Outbound, z.ZodTypeDef, GetAllPromptsContentPromptsResponse2002>;
|
|
1574
|
+
export declare function getAllPromptsContentPromptsResponse2002ToJSON(getAllPromptsContentPromptsResponse2002: GetAllPromptsContentPromptsResponse2002): string;
|
|
1575
|
+
export declare function getAllPromptsContentPromptsResponse2002FromJSON(jsonString: string): SafeParseResult<GetAllPromptsContentPromptsResponse2002, SDKValidationError>;
|
|
1576
|
+
/** @internal */
|
|
1577
|
+
export declare const GetAllPromptsMessagesPromptsResponse200Content$inboundSchema: z.ZodType<GetAllPromptsMessagesPromptsResponse200Content, z.ZodTypeDef, unknown>;
|
|
1578
|
+
/** @internal */
|
|
1579
|
+
export type GetAllPromptsMessagesPromptsResponse200Content$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
1580
|
+
/** @internal */
|
|
1581
|
+
export declare const GetAllPromptsMessagesPromptsResponse200Content$outboundSchema: z.ZodType<GetAllPromptsMessagesPromptsResponse200Content$Outbound, z.ZodTypeDef, GetAllPromptsMessagesPromptsResponse200Content>;
|
|
1582
|
+
export declare function getAllPromptsMessagesPromptsResponse200ContentToJSON(getAllPromptsMessagesPromptsResponse200Content: GetAllPromptsMessagesPromptsResponse200Content): string;
|
|
1583
|
+
export declare function getAllPromptsMessagesPromptsResponse200ContentFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesPromptsResponse200Content, SDKValidationError>;
|
|
1584
|
+
/** @internal */
|
|
1585
|
+
export declare const GetAllPromptsMessagesPromptsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsMessagesPromptsType>;
|
|
1586
|
+
/** @internal */
|
|
1587
|
+
export declare const GetAllPromptsMessagesPromptsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsMessagesPromptsType>;
|
|
1588
|
+
/** @internal */
|
|
1589
|
+
export declare const GetAllPromptsMessagesTtl$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsMessagesTtl>;
|
|
1590
|
+
/** @internal */
|
|
1591
|
+
export declare const GetAllPromptsMessagesTtl$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsMessagesTtl>;
|
|
1592
|
+
/** @internal */
|
|
1593
|
+
export declare const GetAllPromptsMessagesCacheControl$inboundSchema: z.ZodType<GetAllPromptsMessagesCacheControl, z.ZodTypeDef, unknown>;
|
|
1594
|
+
/** @internal */
|
|
1595
|
+
export type GetAllPromptsMessagesCacheControl$Outbound = {
|
|
1596
|
+
type: string;
|
|
1597
|
+
ttl: string;
|
|
1598
|
+
};
|
|
1599
|
+
/** @internal */
|
|
1600
|
+
export declare const GetAllPromptsMessagesCacheControl$outboundSchema: z.ZodType<GetAllPromptsMessagesCacheControl$Outbound, z.ZodTypeDef, GetAllPromptsMessagesCacheControl>;
|
|
1601
|
+
export declare function getAllPromptsMessagesCacheControlToJSON(getAllPromptsMessagesCacheControl: GetAllPromptsMessagesCacheControl): string;
|
|
1602
|
+
export declare function getAllPromptsMessagesCacheControlFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesCacheControl, SDKValidationError>;
|
|
1603
|
+
/** @internal */
|
|
1604
|
+
export declare const GetAllPromptsMessagesToolMessage$inboundSchema: z.ZodType<GetAllPromptsMessagesToolMessage, z.ZodTypeDef, unknown>;
|
|
1605
|
+
/** @internal */
|
|
1606
|
+
export type GetAllPromptsMessagesToolMessage$Outbound = {
|
|
1607
|
+
role: "tool";
|
|
1608
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1609
|
+
tool_call_id: string | null;
|
|
1610
|
+
cache_control?: GetAllPromptsMessagesCacheControl$Outbound | undefined;
|
|
1611
|
+
};
|
|
1612
|
+
/** @internal */
|
|
1613
|
+
export declare const GetAllPromptsMessagesToolMessage$outboundSchema: z.ZodType<GetAllPromptsMessagesToolMessage$Outbound, z.ZodTypeDef, GetAllPromptsMessagesToolMessage>;
|
|
1614
|
+
export declare function getAllPromptsMessagesToolMessageToJSON(getAllPromptsMessagesToolMessage: GetAllPromptsMessagesToolMessage): string;
|
|
1615
|
+
export declare function getAllPromptsMessagesToolMessageFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesToolMessage, SDKValidationError>;
|
|
1616
|
+
/** @internal */
|
|
1617
|
+
export declare const GetAllPromptsContentPromptsResponse2$inboundSchema: z.ZodType<GetAllPromptsContentPromptsResponse2, z.ZodTypeDef, unknown>;
|
|
1618
|
+
/** @internal */
|
|
1619
|
+
export type GetAllPromptsContentPromptsResponse2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1620
|
+
type: "text";
|
|
1621
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
1622
|
+
/** @internal */
|
|
1623
|
+
export declare const GetAllPromptsContentPromptsResponse2$outboundSchema: z.ZodType<GetAllPromptsContentPromptsResponse2$Outbound, z.ZodTypeDef, GetAllPromptsContentPromptsResponse2>;
|
|
1624
|
+
export declare function getAllPromptsContentPromptsResponse2ToJSON(getAllPromptsContentPromptsResponse2: GetAllPromptsContentPromptsResponse2): string;
|
|
1625
|
+
export declare function getAllPromptsContentPromptsResponse2FromJSON(jsonString: string): SafeParseResult<GetAllPromptsContentPromptsResponse2, SDKValidationError>;
|
|
1626
|
+
/** @internal */
|
|
1627
|
+
export declare const GetAllPromptsMessagesPromptsResponseContent$inboundSchema: z.ZodType<GetAllPromptsMessagesPromptsResponseContent, z.ZodTypeDef, unknown>;
|
|
1628
|
+
/** @internal */
|
|
1629
|
+
export type GetAllPromptsMessagesPromptsResponseContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1630
|
+
type: "text";
|
|
1631
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
1632
|
+
/** @internal */
|
|
1633
|
+
export declare const GetAllPromptsMessagesPromptsResponseContent$outboundSchema: z.ZodType<GetAllPromptsMessagesPromptsResponseContent$Outbound, z.ZodTypeDef, GetAllPromptsMessagesPromptsResponseContent>;
|
|
1634
|
+
export declare function getAllPromptsMessagesPromptsResponseContentToJSON(getAllPromptsMessagesPromptsResponseContent: GetAllPromptsMessagesPromptsResponseContent): string;
|
|
1635
|
+
export declare function getAllPromptsMessagesPromptsResponseContentFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesPromptsResponseContent, SDKValidationError>;
|
|
1636
|
+
/** @internal */
|
|
1637
|
+
export declare const GetAllPromptsMessagesAudio$inboundSchema: z.ZodType<GetAllPromptsMessagesAudio, z.ZodTypeDef, unknown>;
|
|
1638
|
+
/** @internal */
|
|
1639
|
+
export type GetAllPromptsMessagesAudio$Outbound = {
|
|
1640
|
+
id: string;
|
|
1641
|
+
};
|
|
1642
|
+
/** @internal */
|
|
1643
|
+
export declare const GetAllPromptsMessagesAudio$outboundSchema: z.ZodType<GetAllPromptsMessagesAudio$Outbound, z.ZodTypeDef, GetAllPromptsMessagesAudio>;
|
|
1644
|
+
export declare function getAllPromptsMessagesAudioToJSON(getAllPromptsMessagesAudio: GetAllPromptsMessagesAudio): string;
|
|
1645
|
+
export declare function getAllPromptsMessagesAudioFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesAudio, SDKValidationError>;
|
|
1646
|
+
/** @internal */
|
|
1647
|
+
export declare const GetAllPromptsMessagesType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsMessagesType>;
|
|
1648
|
+
/** @internal */
|
|
1649
|
+
export declare const GetAllPromptsMessagesType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsMessagesType>;
|
|
1650
|
+
/** @internal */
|
|
1651
|
+
export declare const GetAllPromptsMessagesFunction$inboundSchema: z.ZodType<GetAllPromptsMessagesFunction, z.ZodTypeDef, unknown>;
|
|
1652
|
+
/** @internal */
|
|
1653
|
+
export type GetAllPromptsMessagesFunction$Outbound = {
|
|
1654
|
+
name?: string | undefined;
|
|
1655
|
+
arguments?: string | undefined;
|
|
1656
|
+
};
|
|
1657
|
+
/** @internal */
|
|
1658
|
+
export declare const GetAllPromptsMessagesFunction$outboundSchema: z.ZodType<GetAllPromptsMessagesFunction$Outbound, z.ZodTypeDef, GetAllPromptsMessagesFunction>;
|
|
1659
|
+
export declare function getAllPromptsMessagesFunctionToJSON(getAllPromptsMessagesFunction: GetAllPromptsMessagesFunction): string;
|
|
1660
|
+
export declare function getAllPromptsMessagesFunctionFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesFunction, SDKValidationError>;
|
|
1661
|
+
/** @internal */
|
|
1662
|
+
export declare const GetAllPromptsMessagesToolCalls$inboundSchema: z.ZodType<GetAllPromptsMessagesToolCalls, z.ZodTypeDef, unknown>;
|
|
1663
|
+
/** @internal */
|
|
1664
|
+
export type GetAllPromptsMessagesToolCalls$Outbound = {
|
|
1665
|
+
id: string;
|
|
1666
|
+
type: string;
|
|
1667
|
+
function: GetAllPromptsMessagesFunction$Outbound;
|
|
1668
|
+
thought_signature?: string | undefined;
|
|
1669
|
+
};
|
|
1670
|
+
/** @internal */
|
|
1671
|
+
export declare const GetAllPromptsMessagesToolCalls$outboundSchema: z.ZodType<GetAllPromptsMessagesToolCalls$Outbound, z.ZodTypeDef, GetAllPromptsMessagesToolCalls>;
|
|
1672
|
+
export declare function getAllPromptsMessagesToolCallsToJSON(getAllPromptsMessagesToolCalls: GetAllPromptsMessagesToolCalls): string;
|
|
1673
|
+
export declare function getAllPromptsMessagesToolCallsFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesToolCalls, SDKValidationError>;
|
|
1674
|
+
/** @internal */
|
|
1675
|
+
export declare const GetAllPromptsMessagesAssistantMessage$inboundSchema: z.ZodType<GetAllPromptsMessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1676
|
+
/** @internal */
|
|
1677
|
+
export type GetAllPromptsMessagesAssistantMessage$Outbound = {
|
|
1678
|
+
content?: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1679
|
+
type: "text";
|
|
1680
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
1681
|
+
refusal?: string | null | undefined;
|
|
1682
|
+
role: "assistant";
|
|
1683
|
+
name?: string | undefined;
|
|
1684
|
+
audio?: GetAllPromptsMessagesAudio$Outbound | null | undefined;
|
|
1685
|
+
tool_calls?: Array<GetAllPromptsMessagesToolCalls$Outbound> | undefined;
|
|
1686
|
+
};
|
|
1687
|
+
/** @internal */
|
|
1688
|
+
export declare const GetAllPromptsMessagesAssistantMessage$outboundSchema: z.ZodType<GetAllPromptsMessagesAssistantMessage$Outbound, z.ZodTypeDef, GetAllPromptsMessagesAssistantMessage>;
|
|
1689
|
+
export declare function getAllPromptsMessagesAssistantMessageToJSON(getAllPromptsMessagesAssistantMessage: GetAllPromptsMessagesAssistantMessage): string;
|
|
1690
|
+
export declare function getAllPromptsMessagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesAssistantMessage, SDKValidationError>;
|
|
1691
|
+
/** @internal */
|
|
1692
|
+
export declare const GetAllPrompts2PromptsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2PromptsResponse200ApplicationJSONType>;
|
|
1693
|
+
/** @internal */
|
|
1694
|
+
export declare const GetAllPrompts2PromptsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2PromptsResponse200ApplicationJSONType>;
|
|
1695
|
+
/** @internal */
|
|
1696
|
+
export declare const GetAllPrompts2Ttl$inboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2Ttl>;
|
|
1697
|
+
/** @internal */
|
|
1698
|
+
export declare const GetAllPrompts2Ttl$outboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2Ttl>;
|
|
1699
|
+
/** @internal */
|
|
1700
|
+
export declare const GetAllPrompts2CacheControl$inboundSchema: z.ZodType<GetAllPrompts2CacheControl, z.ZodTypeDef, unknown>;
|
|
1701
|
+
/** @internal */
|
|
1702
|
+
export type GetAllPrompts2CacheControl$Outbound = {
|
|
1703
|
+
type: string;
|
|
1704
|
+
ttl: string;
|
|
1705
|
+
};
|
|
1706
|
+
/** @internal */
|
|
1707
|
+
export declare const GetAllPrompts2CacheControl$outboundSchema: z.ZodType<GetAllPrompts2CacheControl$Outbound, z.ZodTypeDef, GetAllPrompts2CacheControl>;
|
|
1708
|
+
export declare function getAllPrompts2CacheControlToJSON(getAllPrompts2CacheControl: GetAllPrompts2CacheControl): string;
|
|
1709
|
+
export declare function getAllPrompts2CacheControlFromJSON(jsonString: string): SafeParseResult<GetAllPrompts2CacheControl, SDKValidationError>;
|
|
1710
|
+
/** @internal */
|
|
1711
|
+
export declare const GetAllPrompts24$inboundSchema: z.ZodType<GetAllPrompts24, z.ZodTypeDef, unknown>;
|
|
1712
|
+
/** @internal */
|
|
1713
|
+
export type GetAllPrompts24$Outbound = {
|
|
1714
|
+
type: "file";
|
|
1715
|
+
cache_control?: GetAllPrompts2CacheControl$Outbound | undefined;
|
|
1716
|
+
file: components.FileContentPartSchema$Outbound;
|
|
1717
|
+
};
|
|
1718
|
+
/** @internal */
|
|
1719
|
+
export declare const GetAllPrompts24$outboundSchema: z.ZodType<GetAllPrompts24$Outbound, z.ZodTypeDef, GetAllPrompts24>;
|
|
1720
|
+
export declare function getAllPrompts24ToJSON(getAllPrompts24: GetAllPrompts24): string;
|
|
1721
|
+
export declare function getAllPrompts24FromJSON(jsonString: string): SafeParseResult<GetAllPrompts24, SDKValidationError>;
|
|
1722
|
+
/** @internal */
|
|
1723
|
+
export declare const GetAllPromptsContentPrompts2$inboundSchema: z.ZodType<GetAllPromptsContentPrompts2, z.ZodTypeDef, unknown>;
|
|
1724
|
+
/** @internal */
|
|
1725
|
+
export type GetAllPromptsContentPrompts2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1726
|
+
type: "text";
|
|
1727
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | GetAllPrompts24$Outbound;
|
|
1728
|
+
/** @internal */
|
|
1729
|
+
export declare const GetAllPromptsContentPrompts2$outboundSchema: z.ZodType<GetAllPromptsContentPrompts2$Outbound, z.ZodTypeDef, GetAllPromptsContentPrompts2>;
|
|
1730
|
+
export declare function getAllPromptsContentPrompts2ToJSON(getAllPromptsContentPrompts2: GetAllPromptsContentPrompts2): string;
|
|
1731
|
+
export declare function getAllPromptsContentPrompts2FromJSON(jsonString: string): SafeParseResult<GetAllPromptsContentPrompts2, SDKValidationError>;
|
|
1732
|
+
/** @internal */
|
|
1733
|
+
export declare const GetAllPromptsMessagesPromptsContent$inboundSchema: z.ZodType<GetAllPromptsMessagesPromptsContent, z.ZodTypeDef, unknown>;
|
|
1734
|
+
/** @internal */
|
|
1735
|
+
export type GetAllPromptsMessagesPromptsContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1736
|
+
type: "text";
|
|
1737
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | GetAllPrompts24$Outbound>;
|
|
1738
|
+
/** @internal */
|
|
1739
|
+
export declare const GetAllPromptsMessagesPromptsContent$outboundSchema: z.ZodType<GetAllPromptsMessagesPromptsContent$Outbound, z.ZodTypeDef, GetAllPromptsMessagesPromptsContent>;
|
|
1740
|
+
export declare function getAllPromptsMessagesPromptsContentToJSON(getAllPromptsMessagesPromptsContent: GetAllPromptsMessagesPromptsContent): string;
|
|
1741
|
+
export declare function getAllPromptsMessagesPromptsContentFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesPromptsContent, SDKValidationError>;
|
|
1742
|
+
/** @internal */
|
|
1743
|
+
export declare const GetAllPromptsMessagesUserMessage$inboundSchema: z.ZodType<GetAllPromptsMessagesUserMessage, z.ZodTypeDef, unknown>;
|
|
1744
|
+
/** @internal */
|
|
1745
|
+
export type GetAllPromptsMessagesUserMessage$Outbound = {
|
|
1746
|
+
role: "user";
|
|
1747
|
+
name?: string | undefined;
|
|
1748
|
+
content: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1749
|
+
type: "text";
|
|
1750
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | GetAllPrompts24$Outbound>;
|
|
1751
|
+
};
|
|
1752
|
+
/** @internal */
|
|
1753
|
+
export declare const GetAllPromptsMessagesUserMessage$outboundSchema: z.ZodType<GetAllPromptsMessagesUserMessage$Outbound, z.ZodTypeDef, GetAllPromptsMessagesUserMessage>;
|
|
1754
|
+
export declare function getAllPromptsMessagesUserMessageToJSON(getAllPromptsMessagesUserMessage: GetAllPromptsMessagesUserMessage): string;
|
|
1755
|
+
export declare function getAllPromptsMessagesUserMessageFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesUserMessage, SDKValidationError>;
|
|
1756
|
+
/** @internal */
|
|
1757
|
+
export declare const GetAllPromptsMessagesContent$inboundSchema: z.ZodType<GetAllPromptsMessagesContent, z.ZodTypeDef, unknown>;
|
|
1758
|
+
/** @internal */
|
|
1759
|
+
export type GetAllPromptsMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
1760
|
+
/** @internal */
|
|
1761
|
+
export declare const GetAllPromptsMessagesContent$outboundSchema: z.ZodType<GetAllPromptsMessagesContent$Outbound, z.ZodTypeDef, GetAllPromptsMessagesContent>;
|
|
1762
|
+
export declare function getAllPromptsMessagesContentToJSON(getAllPromptsMessagesContent: GetAllPromptsMessagesContent): string;
|
|
1763
|
+
export declare function getAllPromptsMessagesContentFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesContent, SDKValidationError>;
|
|
1764
|
+
/** @internal */
|
|
1765
|
+
export declare const GetAllPromptsMessagesSystemMessage$inboundSchema: z.ZodType<GetAllPromptsMessagesSystemMessage, z.ZodTypeDef, unknown>;
|
|
1766
|
+
/** @internal */
|
|
1767
|
+
export type GetAllPromptsMessagesSystemMessage$Outbound = {
|
|
1768
|
+
role: "system";
|
|
1769
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1770
|
+
name?: string | undefined;
|
|
1771
|
+
};
|
|
1772
|
+
/** @internal */
|
|
1773
|
+
export declare const GetAllPromptsMessagesSystemMessage$outboundSchema: z.ZodType<GetAllPromptsMessagesSystemMessage$Outbound, z.ZodTypeDef, GetAllPromptsMessagesSystemMessage>;
|
|
1774
|
+
export declare function getAllPromptsMessagesSystemMessageToJSON(getAllPromptsMessagesSystemMessage: GetAllPromptsMessagesSystemMessage): string;
|
|
1775
|
+
export declare function getAllPromptsMessagesSystemMessageFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessagesSystemMessage, SDKValidationError>;
|
|
1776
|
+
/** @internal */
|
|
1777
|
+
export declare const GetAllPromptsPromptsMessages$inboundSchema: z.ZodType<GetAllPromptsPromptsMessages, z.ZodTypeDef, unknown>;
|
|
1778
|
+
/** @internal */
|
|
1779
|
+
export type GetAllPromptsPromptsMessages$Outbound = GetAllPromptsMessagesSystemMessage$Outbound | GetAllPromptsMessagesUserMessage$Outbound | GetAllPromptsMessagesAssistantMessage$Outbound | GetAllPromptsMessagesToolMessage$Outbound;
|
|
1780
|
+
/** @internal */
|
|
1781
|
+
export declare const GetAllPromptsPromptsMessages$outboundSchema: z.ZodType<GetAllPromptsPromptsMessages$Outbound, z.ZodTypeDef, GetAllPromptsPromptsMessages>;
|
|
1782
|
+
export declare function getAllPromptsPromptsMessagesToJSON(getAllPromptsPromptsMessages: GetAllPromptsPromptsMessages): string;
|
|
1783
|
+
export declare function getAllPromptsPromptsMessagesFromJSON(jsonString: string): SafeParseResult<GetAllPromptsPromptsMessages, SDKValidationError>;
|
|
1784
|
+
/** @internal */
|
|
1785
|
+
export declare const GetAllPromptsPromptField$inboundSchema: z.ZodType<GetAllPromptsPromptField, z.ZodTypeDef, unknown>;
|
|
1786
|
+
/** @internal */
|
|
1787
|
+
export type GetAllPromptsPromptField$Outbound = {
|
|
1788
|
+
audio?: GetAllPromptsAudio$Outbound | null | undefined;
|
|
1789
|
+
frequency_penalty?: number | null | undefined;
|
|
1790
|
+
max_tokens?: number | null | undefined;
|
|
1791
|
+
max_completion_tokens?: number | null | undefined;
|
|
1792
|
+
logprobs?: boolean | null | undefined;
|
|
1793
|
+
top_logprobs?: number | null | undefined;
|
|
1794
|
+
n?: number | null | undefined;
|
|
1795
|
+
presence_penalty?: number | null | undefined;
|
|
1796
|
+
response_format?: GetAllPromptsResponseFormatText$Outbound | GetAllPromptsResponseFormatJSONObject$Outbound | GetAllPromptsResponseFormatPromptsJSONSchema$Outbound | undefined;
|
|
1797
|
+
reasoning_effort?: string | undefined;
|
|
1798
|
+
verbosity?: string | undefined;
|
|
1799
|
+
seed?: number | null | undefined;
|
|
1800
|
+
stop?: string | Array<string> | null | undefined;
|
|
1801
|
+
stream_options?: GetAllPromptsStreamOptions$Outbound | null | undefined;
|
|
1802
|
+
thinking?: components.ThinkingConfigDisabledSchema$Outbound | components.ThinkingConfigEnabledSchema$Outbound | undefined;
|
|
1803
|
+
temperature?: number | null | undefined;
|
|
1804
|
+
top_p?: number | null | undefined;
|
|
1805
|
+
top_k?: number | null | undefined;
|
|
1806
|
+
tool_choice?: GetAllPromptsToolChoice2$Outbound | string | undefined;
|
|
1807
|
+
parallel_tool_calls?: boolean | undefined;
|
|
1808
|
+
modalities?: Array<string> | null | undefined;
|
|
1809
|
+
guardrails?: Array<GetAllPromptsGuardrails$Outbound> | undefined;
|
|
1810
|
+
messages?: Array<GetAllPromptsMessagesSystemMessage$Outbound | GetAllPromptsMessagesUserMessage$Outbound | GetAllPromptsMessagesAssistantMessage$Outbound | GetAllPromptsMessagesToolMessage$Outbound> | undefined;
|
|
1811
|
+
model?: string | null | undefined;
|
|
1812
|
+
version?: string | undefined;
|
|
1813
|
+
};
|
|
1814
|
+
/** @internal */
|
|
1815
|
+
export declare const GetAllPromptsPromptField$outboundSchema: z.ZodType<GetAllPromptsPromptField$Outbound, z.ZodTypeDef, GetAllPromptsPromptField>;
|
|
1816
|
+
export declare function getAllPromptsPromptFieldToJSON(getAllPromptsPromptField: GetAllPromptsPromptField): string;
|
|
1817
|
+
export declare function getAllPromptsPromptFieldFromJSON(jsonString: string): SafeParseResult<GetAllPromptsPromptField, SDKValidationError>;
|
|
1818
|
+
/** @internal */
|
|
811
1819
|
export declare const GetAllPromptsUseCases$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsUseCases>;
|
|
812
1820
|
/** @internal */
|
|
813
1821
|
export declare const GetAllPromptsUseCases$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsUseCases>;
|
|
@@ -840,7 +1848,8 @@ export type GetAllPromptsPrompt$Outbound = {
|
|
|
840
1848
|
updated_by_id?: string | null | undefined;
|
|
841
1849
|
display_name: string;
|
|
842
1850
|
description?: string | null | undefined;
|
|
843
|
-
prompt_config
|
|
1851
|
+
prompt_config?: GetAllPromptsPromptConfig$Outbound | undefined;
|
|
1852
|
+
prompt: GetAllPromptsPromptField$Outbound;
|
|
844
1853
|
metadata?: GetAllPromptsMetadata$Outbound | undefined;
|
|
845
1854
|
};
|
|
846
1855
|
/** @internal */
|