@orq-ai/node 4.1.0-rc.34 → 4.1.0-rc.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -18
- package/bin/mcp-server.js +4959 -5404
- package/bin/mcp-server.js.map +126 -82
- package/examples/package-lock.json +1 -1
- package/funcs/agentsResponsesCreate.d.ts +7 -1
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +9 -2
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/budgetsCreate.d.ts +1 -1
- package/funcs/budgetsCreate.js +1 -1
- package/funcs/contactsList.js +1 -0
- package/funcs/contactsList.js.map +1 -1
- package/funcs/conversationsCreate.d.ts +17 -0
- package/funcs/conversationsCreate.d.ts.map +1 -0
- package/funcs/conversationsCreate.js +114 -0
- package/funcs/conversationsCreate.js.map +1 -0
- package/funcs/conversationsDelete.d.ts +17 -0
- package/funcs/conversationsDelete.d.ts.map +1 -0
- package/funcs/conversationsDelete.js +127 -0
- package/funcs/conversationsDelete.js.map +1 -0
- package/funcs/conversationsGenerateName.d.ts +18 -0
- package/funcs/conversationsGenerateName.d.ts.map +1 -0
- package/funcs/conversationsGenerateName.js +128 -0
- package/funcs/conversationsGenerateName.js.map +1 -0
- package/funcs/conversationsList.d.ts +17 -0
- package/funcs/conversationsList.d.ts.map +1 -0
- package/funcs/conversationsList.js +124 -0
- package/funcs/conversationsList.js.map +1 -0
- package/funcs/conversationsRetrieve.d.ts +18 -0
- package/funcs/conversationsRetrieve.d.ts.map +1 -0
- package/funcs/conversationsRetrieve.js +126 -0
- package/funcs/conversationsRetrieve.js.map +1 -0
- package/funcs/conversationsUpdate.d.ts +18 -0
- package/funcs/conversationsUpdate.d.ts.map +1 -0
- package/funcs/conversationsUpdate.js +128 -0
- package/funcs/conversationsUpdate.js.map +1 -0
- package/funcs/evalsInvoke.d.ts +15 -0
- package/funcs/evalsInvoke.d.ts.map +1 -0
- package/funcs/evalsInvoke.js +121 -0
- package/funcs/evalsInvoke.js.map +1 -0
- package/funcs/memoryStoresListDocuments.js +2 -0
- package/funcs/memoryStoresListDocuments.js.map +1 -1
- package/funcs/memoryStoresListMemories.js +1 -0
- package/funcs/memoryStoresListMemories.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +15 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/budgetsCreate.js +1 -1
- package/mcp-server/tools/budgetsCreate.js.map +1 -1
- package/mcp-server/tools/conversationsCreate.d.ts +8 -0
- package/mcp-server/tools/conversationsCreate.d.ts.map +1 -0
- package/mcp-server/tools/conversationsCreate.js +64 -0
- package/mcp-server/tools/conversationsCreate.js.map +1 -0
- package/mcp-server/tools/conversationsDelete.d.ts +8 -0
- package/mcp-server/tools/conversationsDelete.d.ts.map +1 -0
- package/mcp-server/tools/conversationsDelete.js +63 -0
- package/mcp-server/tools/conversationsDelete.js.map +1 -0
- package/mcp-server/tools/conversationsGenerateName.d.ts +10 -0
- package/mcp-server/tools/conversationsGenerateName.d.ts.map +1 -0
- package/mcp-server/tools/conversationsGenerateName.js +66 -0
- package/mcp-server/tools/conversationsGenerateName.js.map +1 -0
- package/mcp-server/tools/conversationsList.d.ts +10 -0
- package/mcp-server/tools/conversationsList.d.ts.map +1 -0
- package/mcp-server/tools/conversationsList.js +66 -0
- package/mcp-server/tools/conversationsList.js.map +1 -0
- package/mcp-server/tools/conversationsRetrieve.d.ts +8 -0
- package/mcp-server/tools/conversationsRetrieve.d.ts.map +1 -0
- package/mcp-server/tools/conversationsRetrieve.js +64 -0
- package/mcp-server/tools/conversationsRetrieve.js.map +1 -0
- package/mcp-server/tools/conversationsUpdate.d.ts +10 -0
- package/mcp-server/tools/conversationsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/conversationsUpdate.js +66 -0
- package/mcp-server/tools/conversationsUpdate.js.map +1 -0
- package/mcp-server/tools/evalsInvoke.d.ts +8 -0
- package/mcp-server/tools/evalsInvoke.d.ts.map +1 -0
- package/mcp-server/tools/evalsInvoke.js +62 -0
- package/mcp-server/tools/evalsInvoke.js.map +1 -0
- package/models/components/agentexecutionstartedstreamingevent.d.ts +8 -8
- package/models/components/agentexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentexecutionstartedstreamingevent.js +11 -12
- package/models/components/agentexecutionstartedstreamingevent.js.map +1 -1
- package/models/components/agentinactivestreamingevent.d.ts +21 -21
- package/models/components/agentinactivestreamingevent.d.ts.map +1 -1
- package/models/components/agentinactivestreamingevent.js +27 -28
- package/models/components/agentinactivestreamingevent.js.map +1 -1
- package/models/components/agentresponsemessage.d.ts +56 -0
- package/models/components/agentresponsemessage.d.ts.map +1 -0
- package/models/components/agentresponsemessage.js +116 -0
- package/models/components/agentresponsemessage.js.map +1 -0
- package/models/components/agentstartedstreamingevent.d.ts +6 -6
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +11 -12
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/agentthoughtstreamingevent.d.ts +26 -24
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +34 -32
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/conversationresponse.d.ts +39 -5
- package/models/components/conversationresponse.d.ts.map +1 -1
- package/models/components/conversationresponse.js +52 -8
- package/models/components/conversationresponse.js.map +1 -1
- package/models/components/createagentresponse.d.ts +124 -0
- package/models/components/createagentresponse.d.ts.map +1 -0
- package/models/components/createagentresponse.js +191 -0
- package/models/components/createagentresponse.js.map +1 -0
- package/models/components/imagecontentpartschema.d.ts +18 -18
- package/models/components/imagecontentpartschema.d.ts.map +1 -1
- package/models/components/imagecontentpartschema.js +23 -21
- package/models/components/imagecontentpartschema.js.map +1 -1
- package/models/components/index.d.ts +18 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +18 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +161 -1040
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +161 -1015
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/components/responsedoneevent.d.ts +24 -24
- package/models/components/responsedoneevent.d.ts.map +1 -1
- package/models/components/responsedoneevent.js +31 -32
- package/models/components/responsedoneevent.js.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.js +2 -0
- package/models/components/toolexecutionfailedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.js +2 -0
- package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.js +2 -0
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
- package/models/errors/generateconversationname.d.ts +55 -0
- package/models/errors/generateconversationname.d.ts.map +1 -0
- package/models/errors/generateconversationname.js +106 -0
- package/models/errors/generateconversationname.js.map +1 -0
- package/models/errors/index.d.ts +5 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +5 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +3 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +4 -4
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +37 -147
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +64 -205
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createbudget.d.ts +69 -13
- package/models/operations/createbudget.d.ts.map +1 -1
- package/models/operations/createbudget.js +61 -12
- package/models/operations/createbudget.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.d.ts +62 -8
- package/models/operations/createconversation.d.ts.map +1 -1
- package/models/operations/createconversation.js +94 -10
- package/models/operations/createconversation.js.map +1 -1
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +154 -1034
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +149 -959
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/creatememory.d.ts +10 -5
- package/models/operations/creatememory.d.ts.map +1 -1
- package/models/operations/creatememory.js +6 -2
- package/models/operations/creatememory.js.map +1 -1
- package/models/operations/creatememorydocument.d.ts +4 -4
- package/models/operations/creatememorydocument.d.ts.map +1 -1
- package/models/operations/creatememorydocument.js +2 -2
- package/models/operations/creatememorydocument.js.map +1 -1
- package/models/operations/createprompt.d.ts +136 -479
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +158 -473
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentcreatemetric.d.ts +154 -1034
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +140 -975
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +222 -1102
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +263 -1059
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +27 -26
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +29 -28
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +14 -13
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +14 -13
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +187 -1066
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +163 -989
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.d.ts +8 -8
- package/models/operations/fileupload.d.ts.map +1 -1
- package/models/operations/fileupload.js +13 -14
- package/models/operations/fileupload.js.map +1 -1
- package/models/operations/generateconversationname.d.ts +136 -0
- package/models/operations/generateconversationname.d.ts.map +1 -0
- package/models/operations/generateconversationname.js +179 -0
- package/models/operations/generateconversationname.js.map +1 -0
- package/models/operations/getallmemories.d.ts +10 -0
- package/models/operations/getallmemories.d.ts.map +1 -1
- package/models/operations/getallmemories.js +6 -0
- package/models/operations/getallmemories.js.map +1 -1
- package/models/operations/getallmemorydocuments.d.ts +10 -0
- package/models/operations/getallmemorydocuments.d.ts.map +1 -1
- package/models/operations/getallmemorydocuments.js +8 -0
- package/models/operations/getallmemorydocuments.js.map +1 -1
- package/models/operations/getallprompts.d.ts +14 -13
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +14 -13
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.d.ts +5 -0
- package/models/operations/getbudget.d.ts.map +1 -1
- package/models/operations/getbudget.js +6 -2
- package/models/operations/getbudget.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +14 -13
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +14 -13
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +14 -13
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +14 -13
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/index.d.ts +7 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +7 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +6 -6
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +10 -9
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +3 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +2 -2
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.d.ts +5 -0
- package/models/operations/listbudgets.d.ts.map +1 -1
- package/models/operations/listbudgets.js +6 -2
- package/models/operations/listbudgets.js.map +1 -1
- package/models/operations/listcontacts.d.ts +5 -0
- package/models/operations/listcontacts.d.ts.map +1 -1
- package/models/operations/listcontacts.js +4 -2
- package/models/operations/listcontacts.js.map +1 -1
- package/models/operations/listconversations.d.ts +60 -0
- package/models/operations/listconversations.d.ts.map +1 -0
- package/models/operations/listconversations.js +109 -0
- package/models/operations/listconversations.js.map +1 -0
- package/models/operations/listdatasetdatapoints.d.ts +76 -516
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +75 -475
- 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/listpromptversions.d.ts +14 -13
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +14 -13
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +3 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -2
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.d.ts +39 -5
- package/models/operations/retrieveconversation.d.ts.map +1 -1
- package/models/operations/retrieveconversation.js +53 -8
- package/models/operations/retrieveconversation.js.map +1 -1
- package/models/operations/retrievedatapoint.d.ts +76 -516
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +75 -473
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievememory.d.ts +5 -0
- package/models/operations/retrievememory.d.ts.map +1 -1
- package/models/operations/retrievememory.js +4 -0
- package/models/operations/retrievememory.js.map +1 -1
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +4 -4
- package/models/operations/streamrunagent.js +4 -4
- package/models/operations/updateagent.d.ts +3 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +4 -4
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.d.ts +5 -0
- package/models/operations/updatebudget.d.ts.map +1 -1
- package/models/operations/updatebudget.js +6 -2
- package/models/operations/updatebudget.js.map +1 -1
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.d.ts +63 -6
- package/models/operations/updateconversation.d.ts.map +1 -1
- package/models/operations/updateconversation.js +93 -9
- package/models/operations/updateconversation.js.map +1 -1
- package/models/operations/updatedatapoint.d.ts +154 -1034
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +147 -955
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememory.d.ts +10 -5
- package/models/operations/updatememory.d.ts.map +1 -1
- package/models/operations/updatememory.js +6 -2
- package/models/operations/updatememory.js.map +1 -1
- package/models/operations/updatememorydocument.d.ts +4 -4
- package/models/operations/updatememorydocument.d.ts.map +1 -1
- package/models/operations/updatememorydocument.js +2 -2
- package/models/operations/updatememorydocument.js.map +1 -1
- package/models/operations/updatememorystore.d.ts +24 -59
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +27 -55
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +149 -486
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +156 -466
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/budgets.d.ts +1 -1
- package/sdk/budgets.js +1 -1
- package/sdk/conversations.d.ts +47 -0
- package/sdk/conversations.d.ts.map +1 -0
- package/sdk/conversations.js +72 -0
- package/sdk/conversations.js.map +1 -0
- package/sdk/evals.d.ts +4 -0
- package/sdk/evals.d.ts.map +1 -1
- package/sdk/evals.js +7 -0
- package/sdk/evals.js.map +1 -1
- package/sdk/responses.d.ts +5 -1
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +3 -1
- package/sdk/responses.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/agentsResponsesCreate.ts +14 -10
- package/src/funcs/budgetsCreate.ts +1 -1
- package/src/funcs/contactsList.ts +1 -0
- package/src/funcs/conversationsCreate.ts +161 -0
- package/src/funcs/conversationsDelete.ts +180 -0
- package/src/funcs/conversationsGenerateName.ts +194 -0
- package/src/funcs/conversationsList.ts +181 -0
- package/src/funcs/conversationsRetrieve.ts +180 -0
- package/src/funcs/conversationsUpdate.ts +184 -0
- package/src/funcs/evalsInvoke.ts +177 -0
- package/src/funcs/memoryStoresListDocuments.ts +2 -0
- package/src/funcs/memoryStoresListMemories.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +15 -1
- package/src/mcp-server/tools/budgetsCreate.ts +1 -1
- package/src/mcp-server/tools/conversationsCreate.ts +37 -0
- package/src/mcp-server/tools/conversationsDelete.ts +35 -0
- package/src/mcp-server/tools/conversationsGenerateName.ts +40 -0
- package/src/mcp-server/tools/conversationsList.ts +41 -0
- package/src/mcp-server/tools/conversationsRetrieve.ts +37 -0
- package/src/mcp-server/tools/conversationsUpdate.ts +40 -0
- package/src/mcp-server/tools/evalsInvoke.ts +35 -0
- package/src/models/components/agentexecutionstartedstreamingevent.ts +53 -34
- package/src/models/components/agentinactivestreamingevent.ts +85 -57
- package/src/models/components/agentresponsemessage.ts +185 -0
- package/src/models/components/agentstartedstreamingevent.ts +30 -21
- package/src/models/components/agentthoughtstreamingevent.ts +167 -118
- package/src/models/components/conversationresponse.ts +100 -12
- package/src/models/components/createagentresponse.ts +340 -0
- package/src/models/components/imagecontentpartschema.ts +52 -37
- package/src/models/components/index.ts +18 -0
- package/src/models/components/invokedeploymentrequest.ts +515 -2564
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/components/responsedoneevent.ts +93 -68
- package/src/models/components/toolexecutionfailedstreamingevent.ts +4 -0
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +4 -0
- package/src/models/components/toolexecutionstartedstreamingevent.ts +4 -0
- package/src/models/errors/generateconversationname.ts +132 -0
- package/src/models/errors/index.ts +5 -0
- package/src/models/operations/createagentrequest.ts +7 -4
- package/src/models/operations/createagentresponserequest.ts +126 -435
- package/src/models/operations/createbudget.ts +143 -28
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +192 -17
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +601 -2786
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/creatememory.ts +14 -5
- package/src/models/operations/creatememorydocument.ts +4 -4
- package/src/models/operations/createprompt.ts +397 -1201
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentcreatemetric.ts +601 -3040
- package/src/models/operations/deploymentgetconfig.ts +824 -2901
- package/src/models/operations/deploymentinvoke.ts +47 -46
- package/src/models/operations/deployments.ts +16 -15
- package/src/models/operations/deploymentstream.ts +727 -2977
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +30 -27
- package/src/models/operations/generateconversationname.ts +341 -0
- package/src/models/operations/getallmemories.ts +16 -0
- package/src/models/operations/getallmemorydocuments.ts +22 -0
- package/src/models/operations/getallprompts.ts +16 -15
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +11 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +16 -15
- package/src/models/operations/getpromptversion.ts +16 -15
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/invokeagent.ts +19 -26
- package/src/models/operations/listagents.ts +5 -2
- package/src/models/operations/listbudgets.ts +11 -2
- package/src/models/operations/listcontacts.ts +9 -2
- package/src/models/operations/listconversations.ts +161 -0
- package/src/models/operations/listdatasetdatapoints.ts +288 -1355
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +16 -15
- package/src/models/operations/retrieveagentrequest.ts +5 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +107 -12
- package/src/models/operations/retrievedatapoint.ts +263 -1288
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievememory.ts +9 -0
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +4 -4
- package/src/models/operations/streamrunagent.ts +4 -4
- package/src/models/operations/updateagent.ts +7 -4
- package/src/models/operations/updatebudget.ts +11 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +192 -14
- package/src/models/operations/updatedatapoint.ts +556 -2717
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatememory.ts +14 -5
- package/src/models/operations/updatememorydocument.ts +4 -4
- package/src/models/operations/updatememorystore.ts +64 -154
- package/src/models/operations/updateprompt.ts +385 -1144
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/budgets.ts +1 -1
- package/src/sdk/conversations.ts +125 -0
- package/src/sdk/evals.ts +15 -0
- package/src/sdk/responses.ts +8 -3
- package/src/sdk/sdk.ts +6 -0
|
@@ -7,72 +7,11 @@ export type DeploymentStreamGlobals = {
|
|
|
7
7
|
environment?: string | undefined;
|
|
8
8
|
contactId?: string | undefined;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
11
|
-
readonly Text: "text";
|
|
12
|
-
};
|
|
13
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5Type = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5Type>;
|
|
14
|
-
/**
|
|
15
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
16
|
-
*/
|
|
17
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5ContentType: {
|
|
18
|
-
readonly Ephemeral: "ephemeral";
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
22
|
-
*/
|
|
23
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5ContentType = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5ContentType>;
|
|
24
|
-
/**
|
|
25
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
26
|
-
*
|
|
27
|
-
* @remarks
|
|
28
|
-
*
|
|
29
|
-
* - `5m`: 5 minutes
|
|
30
|
-
* - `1h`: 1 hour
|
|
31
|
-
*
|
|
32
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
33
|
-
*/
|
|
34
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyTtl: {
|
|
35
|
-
readonly Fivem: "5m";
|
|
36
|
-
readonly Oneh: "1h";
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
40
|
-
*
|
|
41
|
-
* @remarks
|
|
42
|
-
*
|
|
43
|
-
* - `5m`: 5 minutes
|
|
44
|
-
* - `1h`: 1 hour
|
|
45
|
-
*
|
|
46
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
47
|
-
*/
|
|
48
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyTtl = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyTtl>;
|
|
49
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyCacheControl = {
|
|
50
|
-
/**
|
|
51
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
52
|
-
*/
|
|
53
|
-
type: DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5ContentType;
|
|
54
|
-
/**
|
|
55
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
56
|
-
*
|
|
57
|
-
* @remarks
|
|
58
|
-
*
|
|
59
|
-
* - `5m`: 5 minutes
|
|
60
|
-
* - `1h`: 1 hour
|
|
61
|
-
*
|
|
62
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
63
|
-
*/
|
|
64
|
-
ttl?: DeploymentStream2DeploymentsRequestRequestBodyTtl | undefined;
|
|
65
|
-
};
|
|
66
|
-
export type DeploymentStream2DeploymentsRequest1 = {
|
|
67
|
-
type: DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5Type;
|
|
68
|
-
text: string;
|
|
69
|
-
cacheControl?: DeploymentStream2DeploymentsRequestRequestBodyCacheControl | undefined;
|
|
70
|
-
};
|
|
71
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyPrefixMessages2 = DeploymentStream2DeploymentsRequest1;
|
|
10
|
+
export type DeploymentStreamContentDeploymentsRequest2 = components.TextContentPartSchema;
|
|
72
11
|
/**
|
|
73
12
|
* The contents of the tool message.
|
|
74
13
|
*/
|
|
75
|
-
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content = string | Array<
|
|
14
|
+
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content = string | Array<components.TextContentPartSchema>;
|
|
76
15
|
/**
|
|
77
16
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
78
17
|
*/
|
|
@@ -133,75 +72,22 @@ export type PrefixMessagesToolMessage = {
|
|
|
133
72
|
/**
|
|
134
73
|
* The contents of the tool message.
|
|
135
74
|
*/
|
|
136
|
-
content: string | Array<
|
|
75
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
137
76
|
/**
|
|
138
77
|
* Tool call that this message is responding to.
|
|
139
78
|
*/
|
|
140
79
|
toolCallId: string;
|
|
141
80
|
cacheControl?: DeploymentStreamPrefixMessagesCacheControl | undefined;
|
|
142
81
|
};
|
|
143
|
-
|
|
144
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
145
|
-
*/
|
|
146
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages4Type: {
|
|
147
|
-
readonly Ephemeral: "ephemeral";
|
|
148
|
-
};
|
|
149
|
-
/**
|
|
150
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
151
|
-
*/
|
|
152
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages4Type = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages4Type>;
|
|
153
|
-
/**
|
|
154
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
155
|
-
*
|
|
156
|
-
* @remarks
|
|
157
|
-
*
|
|
158
|
-
* - `5m`: 5 minutes
|
|
159
|
-
* - `1h`: 1 hour
|
|
160
|
-
*
|
|
161
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
162
|
-
*/
|
|
163
|
-
export declare const DeploymentStream2DeploymentsRequestTtl: {
|
|
164
|
-
readonly Fivem: "5m";
|
|
165
|
-
readonly Oneh: "1h";
|
|
166
|
-
};
|
|
167
|
-
/**
|
|
168
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
169
|
-
*
|
|
170
|
-
* @remarks
|
|
171
|
-
*
|
|
172
|
-
* - `5m`: 5 minutes
|
|
173
|
-
* - `1h`: 1 hour
|
|
174
|
-
*
|
|
175
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
176
|
-
*/
|
|
177
|
-
export type DeploymentStream2DeploymentsRequestTtl = ClosedEnum<typeof DeploymentStream2DeploymentsRequestTtl>;
|
|
178
|
-
export type DeploymentStream2DeploymentsRequestCacheControl = {
|
|
179
|
-
/**
|
|
180
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
181
|
-
*/
|
|
182
|
-
type: DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages4Type;
|
|
183
|
-
/**
|
|
184
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
185
|
-
*
|
|
186
|
-
* @remarks
|
|
187
|
-
*
|
|
188
|
-
* - `5m`: 5 minutes
|
|
189
|
-
* - `1h`: 1 hour
|
|
190
|
-
*
|
|
191
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
192
|
-
*/
|
|
193
|
-
ttl?: DeploymentStream2DeploymentsRequestTtl | undefined;
|
|
194
|
-
};
|
|
195
|
-
export type DeploymentStream2Deployments1 = {
|
|
82
|
+
export type DeploymentStreamContentDeployments2 = (components.TextContentPartSchema & {
|
|
196
83
|
type: "text";
|
|
197
|
-
|
|
198
|
-
cacheControl?: DeploymentStream2DeploymentsRequestCacheControl | undefined;
|
|
199
|
-
};
|
|
200
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBody2 = DeploymentStream2Deployments1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
84
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
201
85
|
/**
|
|
202
86
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
203
87
|
*/
|
|
204
|
-
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent = string | Array<
|
|
88
|
+
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent = string | Array<(components.TextContentPartSchema & {
|
|
89
|
+
type: "text";
|
|
90
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
205
91
|
/**
|
|
206
92
|
* Data about a previous audio response from the model.
|
|
207
93
|
*/
|
|
@@ -221,7 +107,7 @@ export declare const DeploymentStreamPrefixMessagesType: {
|
|
|
221
107
|
* The type of the tool. Currently, only `function` is supported.
|
|
222
108
|
*/
|
|
223
109
|
export type DeploymentStreamPrefixMessagesType = ClosedEnum<typeof DeploymentStreamPrefixMessagesType>;
|
|
224
|
-
export type
|
|
110
|
+
export type DeploymentStreamPrefixMessagesFunction = {
|
|
225
111
|
/**
|
|
226
112
|
* The name of the function to call.
|
|
227
113
|
*/
|
|
@@ -231,7 +117,7 @@ export type PrefixMessagesFunction = {
|
|
|
231
117
|
*/
|
|
232
118
|
arguments?: string | undefined;
|
|
233
119
|
};
|
|
234
|
-
export type
|
|
120
|
+
export type DeploymentStreamPrefixMessagesToolCalls = {
|
|
235
121
|
/**
|
|
236
122
|
* The ID of the tool call.
|
|
237
123
|
*/
|
|
@@ -240,7 +126,7 @@ export type PrefixMessagesToolCalls = {
|
|
|
240
126
|
* The type of the tool. Currently, only `function` is supported.
|
|
241
127
|
*/
|
|
242
128
|
type: DeploymentStreamPrefixMessagesType;
|
|
243
|
-
function:
|
|
129
|
+
function: DeploymentStreamPrefixMessagesFunction;
|
|
244
130
|
/**
|
|
245
131
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
246
132
|
*/
|
|
@@ -250,7 +136,9 @@ export type PrefixMessagesAssistantMessage = {
|
|
|
250
136
|
/**
|
|
251
137
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
252
138
|
*/
|
|
253
|
-
content?: string | Array<
|
|
139
|
+
content?: string | Array<(components.TextContentPartSchema & {
|
|
140
|
+
type: "text";
|
|
141
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
254
142
|
/**
|
|
255
143
|
* The refusal message by the assistant.
|
|
256
144
|
*/
|
|
@@ -270,18 +158,18 @@ export type PrefixMessagesAssistantMessage = {
|
|
|
270
158
|
/**
|
|
271
159
|
* The tool calls generated by the model, such as function calls.
|
|
272
160
|
*/
|
|
273
|
-
toolCalls?: Array<
|
|
161
|
+
toolCalls?: Array<DeploymentStreamPrefixMessagesToolCalls> | undefined;
|
|
274
162
|
};
|
|
275
163
|
/**
|
|
276
164
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
277
165
|
*/
|
|
278
|
-
export declare const
|
|
166
|
+
export declare const DeploymentStream2DeploymentsType: {
|
|
279
167
|
readonly Ephemeral: "ephemeral";
|
|
280
168
|
};
|
|
281
169
|
/**
|
|
282
170
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
283
171
|
*/
|
|
284
|
-
export type
|
|
172
|
+
export type DeploymentStream2DeploymentsType = ClosedEnum<typeof DeploymentStream2DeploymentsType>;
|
|
285
173
|
/**
|
|
286
174
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
287
175
|
*
|
|
@@ -292,7 +180,7 @@ export type DeploymentStream2DeploymentsRequestRequestBodyType = ClosedEnum<type
|
|
|
292
180
|
*
|
|
293
181
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
294
182
|
*/
|
|
295
|
-
export declare const
|
|
183
|
+
export declare const DeploymentStream2Ttl: {
|
|
296
184
|
readonly Fivem: "5m";
|
|
297
185
|
readonly Oneh: "1h";
|
|
298
186
|
};
|
|
@@ -306,12 +194,12 @@ export declare const DeploymentStream2DeploymentsTtl: {
|
|
|
306
194
|
*
|
|
307
195
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
308
196
|
*/
|
|
309
|
-
export type
|
|
310
|
-
export type
|
|
197
|
+
export type DeploymentStream2Ttl = ClosedEnum<typeof DeploymentStream2Ttl>;
|
|
198
|
+
export type DeploymentStream2CacheControl = {
|
|
311
199
|
/**
|
|
312
200
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
313
201
|
*/
|
|
314
|
-
type:
|
|
202
|
+
type: DeploymentStream2DeploymentsType;
|
|
315
203
|
/**
|
|
316
204
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
317
205
|
*
|
|
@@ -322,81 +210,28 @@ export type DeploymentStream2DeploymentsCacheControl = {
|
|
|
322
210
|
*
|
|
323
211
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
324
212
|
*/
|
|
325
|
-
ttl?:
|
|
213
|
+
ttl?: DeploymentStream2Ttl | undefined;
|
|
326
214
|
};
|
|
327
215
|
export type DeploymentStream24 = {
|
|
328
216
|
/**
|
|
329
217
|
* The type of the content part. Always `file`.
|
|
330
218
|
*/
|
|
331
219
|
type: "file";
|
|
332
|
-
cacheControl?:
|
|
220
|
+
cacheControl?: DeploymentStream2CacheControl | undefined;
|
|
333
221
|
/**
|
|
334
222
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
335
223
|
*/
|
|
336
224
|
file: components.FileContentPartSchema;
|
|
337
225
|
};
|
|
338
|
-
|
|
339
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
340
|
-
*/
|
|
341
|
-
export declare const DeploymentStream2DeploymentsType: {
|
|
342
|
-
readonly Ephemeral: "ephemeral";
|
|
343
|
-
};
|
|
344
|
-
/**
|
|
345
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
346
|
-
*/
|
|
347
|
-
export type DeploymentStream2DeploymentsType = ClosedEnum<typeof DeploymentStream2DeploymentsType>;
|
|
348
|
-
/**
|
|
349
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
350
|
-
*
|
|
351
|
-
* @remarks
|
|
352
|
-
*
|
|
353
|
-
* - `5m`: 5 minutes
|
|
354
|
-
* - `1h`: 1 hour
|
|
355
|
-
*
|
|
356
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
357
|
-
*/
|
|
358
|
-
export declare const DeploymentStream2Ttl: {
|
|
359
|
-
readonly Fivem: "5m";
|
|
360
|
-
readonly Oneh: "1h";
|
|
361
|
-
};
|
|
362
|
-
/**
|
|
363
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
364
|
-
*
|
|
365
|
-
* @remarks
|
|
366
|
-
*
|
|
367
|
-
* - `5m`: 5 minutes
|
|
368
|
-
* - `1h`: 1 hour
|
|
369
|
-
*
|
|
370
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
371
|
-
*/
|
|
372
|
-
export type DeploymentStream2Ttl = ClosedEnum<typeof DeploymentStream2Ttl>;
|
|
373
|
-
export type DeploymentStream2CacheControl = {
|
|
374
|
-
/**
|
|
375
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
376
|
-
*/
|
|
377
|
-
type: DeploymentStream2DeploymentsType;
|
|
378
|
-
/**
|
|
379
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
380
|
-
*
|
|
381
|
-
* @remarks
|
|
382
|
-
*
|
|
383
|
-
* - `5m`: 5 minutes
|
|
384
|
-
* - `1h`: 1 hour
|
|
385
|
-
*
|
|
386
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
387
|
-
*/
|
|
388
|
-
ttl?: DeploymentStream2Ttl | undefined;
|
|
389
|
-
};
|
|
390
|
-
export type DeploymentStream21 = {
|
|
226
|
+
export type DeploymentStreamContent2 = (components.TextContentPartSchema & {
|
|
391
227
|
type: "text";
|
|
392
|
-
|
|
393
|
-
cacheControl?: DeploymentStream2CacheControl | undefined;
|
|
394
|
-
};
|
|
395
|
-
export type DeploymentStreamContentDeploymentsRequest2 = DeploymentStream21 | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream24;
|
|
228
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream24;
|
|
396
229
|
/**
|
|
397
230
|
* The contents of the user message.
|
|
398
231
|
*/
|
|
399
|
-
export type DeploymentStreamPrefixMessagesDeploymentsRequestContent = string | Array<
|
|
232
|
+
export type DeploymentStreamPrefixMessagesDeploymentsRequestContent = string | Array<(components.TextContentPartSchema & {
|
|
233
|
+
type: "text";
|
|
234
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream24>;
|
|
400
235
|
export type PrefixMessagesUserMessage = {
|
|
401
236
|
/**
|
|
402
237
|
* The role of the messages author, in this case `user`.
|
|
@@ -409,73 +244,14 @@ export type PrefixMessagesUserMessage = {
|
|
|
409
244
|
/**
|
|
410
245
|
* The contents of the user message.
|
|
411
246
|
*/
|
|
412
|
-
content: string | Array<
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
readonly Text: "text";
|
|
416
|
-
};
|
|
417
|
-
export type DeploymentStreamContentDeploymentsRequestType = ClosedEnum<typeof DeploymentStreamContentDeploymentsRequestType>;
|
|
418
|
-
/**
|
|
419
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
420
|
-
*/
|
|
421
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyType: {
|
|
422
|
-
readonly Ephemeral: "ephemeral";
|
|
423
|
-
};
|
|
424
|
-
/**
|
|
425
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
426
|
-
*/
|
|
427
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyType = ClosedEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyType>;
|
|
428
|
-
/**
|
|
429
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
430
|
-
*
|
|
431
|
-
* @remarks
|
|
432
|
-
*
|
|
433
|
-
* - `5m`: 5 minutes
|
|
434
|
-
* - `1h`: 1 hour
|
|
435
|
-
*
|
|
436
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
437
|
-
*/
|
|
438
|
-
export declare const DeploymentStreamContentDeploymentsTtl: {
|
|
439
|
-
readonly Fivem: "5m";
|
|
440
|
-
readonly Oneh: "1h";
|
|
441
|
-
};
|
|
442
|
-
/**
|
|
443
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
444
|
-
*
|
|
445
|
-
* @remarks
|
|
446
|
-
*
|
|
447
|
-
* - `5m`: 5 minutes
|
|
448
|
-
* - `1h`: 1 hour
|
|
449
|
-
*
|
|
450
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
451
|
-
*/
|
|
452
|
-
export type DeploymentStreamContentDeploymentsTtl = ClosedEnum<typeof DeploymentStreamContentDeploymentsTtl>;
|
|
453
|
-
export type DeploymentStreamContentDeploymentsCacheControl = {
|
|
454
|
-
/**
|
|
455
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
456
|
-
*/
|
|
457
|
-
type: DeploymentStreamContentDeploymentsRequestRequestBodyType;
|
|
458
|
-
/**
|
|
459
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
460
|
-
*
|
|
461
|
-
* @remarks
|
|
462
|
-
*
|
|
463
|
-
* - `5m`: 5 minutes
|
|
464
|
-
* - `1h`: 1 hour
|
|
465
|
-
*
|
|
466
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
467
|
-
*/
|
|
468
|
-
ttl?: DeploymentStreamContentDeploymentsTtl | undefined;
|
|
469
|
-
};
|
|
470
|
-
export type DeploymentStreamContentDeployments2 = {
|
|
471
|
-
type: DeploymentStreamContentDeploymentsRequestType;
|
|
472
|
-
text: string;
|
|
473
|
-
cacheControl?: DeploymentStreamContentDeploymentsCacheControl | undefined;
|
|
247
|
+
content: string | Array<(components.TextContentPartSchema & {
|
|
248
|
+
type: "text";
|
|
249
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream24>;
|
|
474
250
|
};
|
|
475
251
|
/**
|
|
476
252
|
* The contents of the developer message.
|
|
477
253
|
*/
|
|
478
|
-
export type DeploymentStreamPrefixMessagesDeploymentsContent = string | Array<
|
|
254
|
+
export type DeploymentStreamPrefixMessagesDeploymentsContent = string | Array<components.TextContentPartSchema>;
|
|
479
255
|
export type PrefixMessagesDeveloperMessage = {
|
|
480
256
|
/**
|
|
481
257
|
* The role of the messages author, in this case `developer`.
|
|
@@ -484,161 +260,39 @@ export type PrefixMessagesDeveloperMessage = {
|
|
|
484
260
|
/**
|
|
485
261
|
* The contents of the developer message.
|
|
486
262
|
*/
|
|
487
|
-
content: string | Array<
|
|
488
|
-
/**
|
|
489
|
-
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
490
|
-
*/
|
|
491
|
-
name?: string | undefined;
|
|
492
|
-
};
|
|
493
|
-
export declare const DeploymentStreamContentType: {
|
|
494
|
-
readonly Text: "text";
|
|
495
|
-
};
|
|
496
|
-
export type DeploymentStreamContentType = ClosedEnum<typeof DeploymentStreamContentType>;
|
|
497
|
-
/**
|
|
498
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
499
|
-
*/
|
|
500
|
-
export declare const DeploymentStreamContentDeploymentsType: {
|
|
501
|
-
readonly Ephemeral: "ephemeral";
|
|
502
|
-
};
|
|
503
|
-
/**
|
|
504
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
505
|
-
*/
|
|
506
|
-
export type DeploymentStreamContentDeploymentsType = ClosedEnum<typeof DeploymentStreamContentDeploymentsType>;
|
|
507
|
-
/**
|
|
508
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
509
|
-
*
|
|
510
|
-
* @remarks
|
|
511
|
-
*
|
|
512
|
-
* - `5m`: 5 minutes
|
|
513
|
-
* - `1h`: 1 hour
|
|
514
|
-
*
|
|
515
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
516
|
-
*/
|
|
517
|
-
export declare const DeploymentStreamContentTtl: {
|
|
518
|
-
readonly Fivem: "5m";
|
|
519
|
-
readonly Oneh: "1h";
|
|
520
|
-
};
|
|
521
|
-
/**
|
|
522
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
523
|
-
*
|
|
524
|
-
* @remarks
|
|
525
|
-
*
|
|
526
|
-
* - `5m`: 5 minutes
|
|
527
|
-
* - `1h`: 1 hour
|
|
528
|
-
*
|
|
529
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
530
|
-
*/
|
|
531
|
-
export type DeploymentStreamContentTtl = ClosedEnum<typeof DeploymentStreamContentTtl>;
|
|
532
|
-
export type DeploymentStreamContentCacheControl = {
|
|
533
|
-
/**
|
|
534
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
535
|
-
*/
|
|
536
|
-
type: DeploymentStreamContentDeploymentsType;
|
|
537
|
-
/**
|
|
538
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
539
|
-
*
|
|
540
|
-
* @remarks
|
|
541
|
-
*
|
|
542
|
-
* - `5m`: 5 minutes
|
|
543
|
-
* - `1h`: 1 hour
|
|
544
|
-
*
|
|
545
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
546
|
-
*/
|
|
547
|
-
ttl?: DeploymentStreamContentTtl | undefined;
|
|
548
|
-
};
|
|
549
|
-
export type DeploymentStreamContent2 = {
|
|
550
|
-
type: DeploymentStreamContentType;
|
|
551
|
-
text: string;
|
|
552
|
-
cacheControl?: DeploymentStreamContentCacheControl | undefined;
|
|
553
|
-
};
|
|
554
|
-
/**
|
|
555
|
-
* The contents of the system message.
|
|
556
|
-
*/
|
|
557
|
-
export type DeploymentStreamPrefixMessagesContent = string | Array<DeploymentStreamContent2>;
|
|
558
|
-
/**
|
|
559
|
-
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
560
|
-
*/
|
|
561
|
-
export type PrefixMessagesSystemMessage = {
|
|
562
|
-
/**
|
|
563
|
-
* The role of the messages author, in this case `system`.
|
|
564
|
-
*/
|
|
565
|
-
role: "system";
|
|
566
|
-
/**
|
|
567
|
-
* The contents of the system message.
|
|
568
|
-
*/
|
|
569
|
-
content: string | Array<DeploymentStreamContent2>;
|
|
263
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
570
264
|
/**
|
|
571
265
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
572
|
-
*/
|
|
573
|
-
name?: string | undefined;
|
|
574
|
-
};
|
|
575
|
-
export type DeploymentStreamPrefixMessages = PrefixMessagesSystemMessage | PrefixMessagesDeveloperMessage | PrefixMessagesUserMessage | PrefixMessagesAssistantMessage | PrefixMessagesToolMessage;
|
|
576
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages5Type: {
|
|
577
|
-
readonly Text: "text";
|
|
578
|
-
};
|
|
579
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessages5Type = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages5Type>;
|
|
580
|
-
/**
|
|
581
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
582
|
-
*/
|
|
583
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages5ContentType: {
|
|
584
|
-
readonly Ephemeral: "ephemeral";
|
|
266
|
+
*/
|
|
267
|
+
name?: string | undefined;
|
|
585
268
|
};
|
|
586
269
|
/**
|
|
587
|
-
*
|
|
588
|
-
*/
|
|
589
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessages5ContentType = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages5ContentType>;
|
|
590
|
-
/**
|
|
591
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
592
|
-
*
|
|
593
|
-
* @remarks
|
|
594
|
-
*
|
|
595
|
-
* - `5m`: 5 minutes
|
|
596
|
-
* - `1h`: 1 hour
|
|
597
|
-
*
|
|
598
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
270
|
+
* The contents of the system message.
|
|
599
271
|
*/
|
|
600
|
-
export
|
|
601
|
-
readonly Fivem: "5m";
|
|
602
|
-
readonly Oneh: "1h";
|
|
603
|
-
};
|
|
272
|
+
export type DeploymentStreamPrefixMessagesContent = string | Array<components.TextContentPartSchema>;
|
|
604
273
|
/**
|
|
605
|
-
*
|
|
606
|
-
*
|
|
607
|
-
* @remarks
|
|
608
|
-
*
|
|
609
|
-
* - `5m`: 5 minutes
|
|
610
|
-
* - `1h`: 1 hour
|
|
611
|
-
*
|
|
612
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
274
|
+
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
613
275
|
*/
|
|
614
|
-
export type
|
|
615
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl = {
|
|
276
|
+
export type PrefixMessagesSystemMessage = {
|
|
616
277
|
/**
|
|
617
|
-
*
|
|
278
|
+
* The role of the messages author, in this case `system`.
|
|
618
279
|
*/
|
|
619
|
-
|
|
280
|
+
role: "system";
|
|
620
281
|
/**
|
|
621
|
-
* The
|
|
622
|
-
*
|
|
623
|
-
* @remarks
|
|
624
|
-
*
|
|
625
|
-
* - `5m`: 5 minutes
|
|
626
|
-
* - `1h`: 1 hour
|
|
627
|
-
*
|
|
628
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
282
|
+
* The contents of the system message.
|
|
629
283
|
*/
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
cacheControl?: DeploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl | undefined;
|
|
284
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
285
|
+
/**
|
|
286
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
287
|
+
*/
|
|
288
|
+
name?: string | undefined;
|
|
636
289
|
};
|
|
637
|
-
export type
|
|
290
|
+
export type DeploymentStreamPrefixMessages = PrefixMessagesSystemMessage | PrefixMessagesDeveloperMessage | PrefixMessagesUserMessage | PrefixMessagesAssistantMessage | PrefixMessagesToolMessage;
|
|
291
|
+
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages52 = components.TextContentPartSchema;
|
|
638
292
|
/**
|
|
639
293
|
* The contents of the tool message.
|
|
640
294
|
*/
|
|
641
|
-
export type DeploymentStreamMessagesDeploymentsRequestRequestBody5Content = string | Array<
|
|
295
|
+
export type DeploymentStreamMessagesDeploymentsRequestRequestBody5Content = string | Array<components.TextContentPartSchema>;
|
|
642
296
|
/**
|
|
643
297
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
644
298
|
*/
|
|
@@ -699,75 +353,22 @@ export type DeploymentStreamMessagesToolMessage = {
|
|
|
699
353
|
/**
|
|
700
354
|
* The contents of the tool message.
|
|
701
355
|
*/
|
|
702
|
-
content: string | Array<
|
|
356
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
703
357
|
/**
|
|
704
358
|
* Tool call that this message is responding to.
|
|
705
359
|
*/
|
|
706
360
|
toolCallId: string;
|
|
707
361
|
cacheControl?: DeploymentStreamMessagesCacheControl | undefined;
|
|
708
362
|
};
|
|
709
|
-
|
|
710
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
711
|
-
*/
|
|
712
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages4ContentType: {
|
|
713
|
-
readonly Ephemeral: "ephemeral";
|
|
714
|
-
};
|
|
715
|
-
/**
|
|
716
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
717
|
-
*/
|
|
718
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessages4ContentType = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages4ContentType>;
|
|
719
|
-
/**
|
|
720
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
721
|
-
*
|
|
722
|
-
* @remarks
|
|
723
|
-
*
|
|
724
|
-
* - `5m`: 5 minutes
|
|
725
|
-
* - `1h`: 1 hour
|
|
726
|
-
*
|
|
727
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
728
|
-
*/
|
|
729
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages4Ttl: {
|
|
730
|
-
readonly Fivem: "5m";
|
|
731
|
-
readonly Oneh: "1h";
|
|
732
|
-
};
|
|
733
|
-
/**
|
|
734
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
735
|
-
*
|
|
736
|
-
* @remarks
|
|
737
|
-
*
|
|
738
|
-
* - `5m`: 5 minutes
|
|
739
|
-
* - `1h`: 1 hour
|
|
740
|
-
*
|
|
741
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
742
|
-
*/
|
|
743
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessages4Ttl = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages4Ttl>;
|
|
744
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl = {
|
|
745
|
-
/**
|
|
746
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
747
|
-
*/
|
|
748
|
-
type: DeploymentStream2DeploymentsRequestRequestBodyMessages4ContentType;
|
|
749
|
-
/**
|
|
750
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
751
|
-
*
|
|
752
|
-
* @remarks
|
|
753
|
-
*
|
|
754
|
-
* - `5m`: 5 minutes
|
|
755
|
-
* - `1h`: 1 hour
|
|
756
|
-
*
|
|
757
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
758
|
-
*/
|
|
759
|
-
ttl?: DeploymentStream2DeploymentsRequestRequestBodyMessages4Ttl | undefined;
|
|
760
|
-
};
|
|
761
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessages1 = {
|
|
363
|
+
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages2 = (components.TextContentPartSchema & {
|
|
762
364
|
type: "text";
|
|
763
|
-
|
|
764
|
-
cacheControl?: DeploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl | undefined;
|
|
765
|
-
};
|
|
766
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages42 = DeploymentStream2DeploymentsRequestRequestBodyMessages1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
365
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
767
366
|
/**
|
|
768
367
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
769
368
|
*/
|
|
770
|
-
export type DeploymentStreamMessagesDeploymentsRequestRequestBodyContent = string | Array<
|
|
369
|
+
export type DeploymentStreamMessagesDeploymentsRequestRequestBodyContent = string | Array<(components.TextContentPartSchema & {
|
|
370
|
+
type: "text";
|
|
371
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
771
372
|
/**
|
|
772
373
|
* Data about a previous audio response from the model.
|
|
773
374
|
*/
|
|
@@ -816,7 +417,9 @@ export type DeploymentStreamMessagesAssistantMessage = {
|
|
|
816
417
|
/**
|
|
817
418
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
818
419
|
*/
|
|
819
|
-
content?: string | Array<
|
|
420
|
+
content?: string | Array<(components.TextContentPartSchema & {
|
|
421
|
+
type: "text";
|
|
422
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
820
423
|
/**
|
|
821
424
|
* The refusal message by the assistant.
|
|
822
425
|
*/
|
|
@@ -841,13 +444,13 @@ export type DeploymentStreamMessagesAssistantMessage = {
|
|
|
841
444
|
/**
|
|
842
445
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
843
446
|
*/
|
|
844
|
-
export declare const
|
|
447
|
+
export declare const DeploymentStream2DeploymentsRequestRequestBodyType: {
|
|
845
448
|
readonly Ephemeral: "ephemeral";
|
|
846
449
|
};
|
|
847
450
|
/**
|
|
848
451
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
849
452
|
*/
|
|
850
|
-
export type
|
|
453
|
+
export type DeploymentStream2DeploymentsRequestRequestBodyType = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyType>;
|
|
851
454
|
/**
|
|
852
455
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
853
456
|
*
|
|
@@ -858,7 +461,7 @@ export type DeploymentStream2DeploymentsRequestRequestBodyMessages3Content4Type
|
|
|
858
461
|
*
|
|
859
462
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
860
463
|
*/
|
|
861
|
-
export declare const
|
|
464
|
+
export declare const DeploymentStream2DeploymentsTtl: {
|
|
862
465
|
readonly Fivem: "5m";
|
|
863
466
|
readonly Oneh: "1h";
|
|
864
467
|
};
|
|
@@ -872,12 +475,12 @@ export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages3Ttl:
|
|
|
872
475
|
*
|
|
873
476
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
874
477
|
*/
|
|
875
|
-
export type
|
|
876
|
-
export type
|
|
478
|
+
export type DeploymentStream2DeploymentsTtl = ClosedEnum<typeof DeploymentStream2DeploymentsTtl>;
|
|
479
|
+
export type DeploymentStream2DeploymentsCacheControl = {
|
|
877
480
|
/**
|
|
878
481
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
879
482
|
*/
|
|
880
|
-
type:
|
|
483
|
+
type: DeploymentStream2DeploymentsRequestRequestBodyType;
|
|
881
484
|
/**
|
|
882
485
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
883
486
|
*
|
|
@@ -888,81 +491,28 @@ export type DeploymentStream2DeploymentsRequestRequestBodyMessages3CacheControl
|
|
|
888
491
|
*
|
|
889
492
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
890
493
|
*/
|
|
891
|
-
ttl?:
|
|
494
|
+
ttl?: DeploymentStream2DeploymentsTtl | undefined;
|
|
892
495
|
};
|
|
893
496
|
export type DeploymentStream2Deployments4 = {
|
|
894
497
|
/**
|
|
895
498
|
* The type of the content part. Always `file`.
|
|
896
499
|
*/
|
|
897
500
|
type: "file";
|
|
898
|
-
cacheControl?:
|
|
501
|
+
cacheControl?: DeploymentStream2DeploymentsCacheControl | undefined;
|
|
899
502
|
/**
|
|
900
503
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
901
504
|
*/
|
|
902
505
|
file: components.FileContentPartSchema;
|
|
903
506
|
};
|
|
904
|
-
|
|
905
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
906
|
-
*/
|
|
907
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages3Type: {
|
|
908
|
-
readonly Ephemeral: "ephemeral";
|
|
909
|
-
};
|
|
910
|
-
/**
|
|
911
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
912
|
-
*/
|
|
913
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessages3Type = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages3Type>;
|
|
914
|
-
/**
|
|
915
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
916
|
-
*
|
|
917
|
-
* @remarks
|
|
918
|
-
*
|
|
919
|
-
* - `5m`: 5 minutes
|
|
920
|
-
* - `1h`: 1 hour
|
|
921
|
-
*
|
|
922
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
923
|
-
*/
|
|
924
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessagesTtl: {
|
|
925
|
-
readonly Fivem: "5m";
|
|
926
|
-
readonly Oneh: "1h";
|
|
927
|
-
};
|
|
928
|
-
/**
|
|
929
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
930
|
-
*
|
|
931
|
-
* @remarks
|
|
932
|
-
*
|
|
933
|
-
* - `5m`: 5 minutes
|
|
934
|
-
* - `1h`: 1 hour
|
|
935
|
-
*
|
|
936
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
937
|
-
*/
|
|
938
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessagesTtl = ClosedEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessagesTtl>;
|
|
939
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl = {
|
|
940
|
-
/**
|
|
941
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
942
|
-
*/
|
|
943
|
-
type: DeploymentStream2DeploymentsRequestRequestBodyMessages3Type;
|
|
944
|
-
/**
|
|
945
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
946
|
-
*
|
|
947
|
-
* @remarks
|
|
948
|
-
*
|
|
949
|
-
* - `5m`: 5 minutes
|
|
950
|
-
* - `1h`: 1 hour
|
|
951
|
-
*
|
|
952
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
953
|
-
*/
|
|
954
|
-
ttl?: DeploymentStream2DeploymentsRequestRequestBodyMessagesTtl | undefined;
|
|
955
|
-
};
|
|
956
|
-
export type DeploymentStream2DeploymentsRequestRequestBody1 = {
|
|
507
|
+
export type DeploymentStreamContentDeploymentsRequestRequestBody2 = (components.TextContentPartSchema & {
|
|
957
508
|
type: "text";
|
|
958
|
-
|
|
959
|
-
cacheControl?: DeploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl | undefined;
|
|
960
|
-
};
|
|
961
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages32 = DeploymentStream2DeploymentsRequestRequestBody1 | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream2Deployments4;
|
|
509
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream2Deployments4;
|
|
962
510
|
/**
|
|
963
511
|
* The contents of the user message.
|
|
964
512
|
*/
|
|
965
|
-
export type DeploymentStreamMessagesDeploymentsRequestContent = string | Array<
|
|
513
|
+
export type DeploymentStreamMessagesDeploymentsRequestContent = string | Array<(components.TextContentPartSchema & {
|
|
514
|
+
type: "text";
|
|
515
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream2Deployments4>;
|
|
966
516
|
export type DeploymentStreamMessagesUserMessage = {
|
|
967
517
|
/**
|
|
968
518
|
* The role of the messages author, in this case `user`.
|
|
@@ -975,73 +525,14 @@ export type DeploymentStreamMessagesUserMessage = {
|
|
|
975
525
|
/**
|
|
976
526
|
* The contents of the user message.
|
|
977
527
|
*/
|
|
978
|
-
content: string | Array<
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
readonly Text: "text";
|
|
982
|
-
};
|
|
983
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages2Type = ClosedEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessages2Type>;
|
|
984
|
-
/**
|
|
985
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
986
|
-
*/
|
|
987
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages22Type: {
|
|
988
|
-
readonly Ephemeral: "ephemeral";
|
|
989
|
-
};
|
|
990
|
-
/**
|
|
991
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
992
|
-
*/
|
|
993
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages22Type = ClosedEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessages22Type>;
|
|
994
|
-
/**
|
|
995
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
996
|
-
*
|
|
997
|
-
* @remarks
|
|
998
|
-
*
|
|
999
|
-
* - `5m`: 5 minutes
|
|
1000
|
-
* - `1h`: 1 hour
|
|
1001
|
-
*
|
|
1002
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1003
|
-
*/
|
|
1004
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyTtl: {
|
|
1005
|
-
readonly Fivem: "5m";
|
|
1006
|
-
readonly Oneh: "1h";
|
|
1007
|
-
};
|
|
1008
|
-
/**
|
|
1009
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1010
|
-
*
|
|
1011
|
-
* @remarks
|
|
1012
|
-
*
|
|
1013
|
-
* - `5m`: 5 minutes
|
|
1014
|
-
* - `1h`: 1 hour
|
|
1015
|
-
*
|
|
1016
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1017
|
-
*/
|
|
1018
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyTtl = ClosedEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyTtl>;
|
|
1019
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyCacheControl = {
|
|
1020
|
-
/**
|
|
1021
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1022
|
-
*/
|
|
1023
|
-
type: DeploymentStreamContentDeploymentsRequestRequestBodyMessages22Type;
|
|
1024
|
-
/**
|
|
1025
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1026
|
-
*
|
|
1027
|
-
* @remarks
|
|
1028
|
-
*
|
|
1029
|
-
* - `5m`: 5 minutes
|
|
1030
|
-
* - `1h`: 1 hour
|
|
1031
|
-
*
|
|
1032
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1033
|
-
*/
|
|
1034
|
-
ttl?: DeploymentStreamContentDeploymentsRequestRequestBodyTtl | undefined;
|
|
1035
|
-
};
|
|
1036
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages22 = {
|
|
1037
|
-
type: DeploymentStreamContentDeploymentsRequestRequestBodyMessages2Type;
|
|
1038
|
-
text: string;
|
|
1039
|
-
cacheControl?: DeploymentStreamContentDeploymentsRequestRequestBodyCacheControl | undefined;
|
|
528
|
+
content: string | Array<(components.TextContentPartSchema & {
|
|
529
|
+
type: "text";
|
|
530
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentStream2Deployments4>;
|
|
1040
531
|
};
|
|
1041
532
|
/**
|
|
1042
533
|
* The contents of the developer message.
|
|
1043
534
|
*/
|
|
1044
|
-
export type DeploymentStreamMessagesDeploymentsContent = string | Array<
|
|
535
|
+
export type DeploymentStreamMessagesDeploymentsContent = string | Array<components.TextContentPartSchema>;
|
|
1045
536
|
export type DeploymentStreamMessagesDeveloperMessage = {
|
|
1046
537
|
/**
|
|
1047
538
|
* The role of the messages author, in this case `developer`.
|
|
@@ -1050,77 +541,16 @@ export type DeploymentStreamMessagesDeveloperMessage = {
|
|
|
1050
541
|
/**
|
|
1051
542
|
* The contents of the developer message.
|
|
1052
543
|
*/
|
|
1053
|
-
content: string | Array<
|
|
544
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
1054
545
|
/**
|
|
1055
546
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
1056
547
|
*/
|
|
1057
548
|
name?: string | undefined;
|
|
1058
549
|
};
|
|
1059
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessagesType: {
|
|
1060
|
-
readonly Text: "text";
|
|
1061
|
-
};
|
|
1062
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessagesType = ClosedEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessagesType>;
|
|
1063
|
-
/**
|
|
1064
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1065
|
-
*/
|
|
1066
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages1Type: {
|
|
1067
|
-
readonly Ephemeral: "ephemeral";
|
|
1068
|
-
};
|
|
1069
|
-
/**
|
|
1070
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1071
|
-
*/
|
|
1072
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages1Type = ClosedEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessages1Type>;
|
|
1073
|
-
/**
|
|
1074
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1075
|
-
*
|
|
1076
|
-
* @remarks
|
|
1077
|
-
*
|
|
1078
|
-
* - `5m`: 5 minutes
|
|
1079
|
-
* - `1h`: 1 hour
|
|
1080
|
-
*
|
|
1081
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1082
|
-
*/
|
|
1083
|
-
export declare const DeploymentStreamContentDeploymentsRequestTtl: {
|
|
1084
|
-
readonly Fivem: "5m";
|
|
1085
|
-
readonly Oneh: "1h";
|
|
1086
|
-
};
|
|
1087
|
-
/**
|
|
1088
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1089
|
-
*
|
|
1090
|
-
* @remarks
|
|
1091
|
-
*
|
|
1092
|
-
* - `5m`: 5 minutes
|
|
1093
|
-
* - `1h`: 1 hour
|
|
1094
|
-
*
|
|
1095
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1096
|
-
*/
|
|
1097
|
-
export type DeploymentStreamContentDeploymentsRequestTtl = ClosedEnum<typeof DeploymentStreamContentDeploymentsRequestTtl>;
|
|
1098
|
-
export type DeploymentStreamContentDeploymentsRequestCacheControl = {
|
|
1099
|
-
/**
|
|
1100
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1101
|
-
*/
|
|
1102
|
-
type: DeploymentStreamContentDeploymentsRequestRequestBodyMessages1Type;
|
|
1103
|
-
/**
|
|
1104
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1105
|
-
*
|
|
1106
|
-
* @remarks
|
|
1107
|
-
*
|
|
1108
|
-
* - `5m`: 5 minutes
|
|
1109
|
-
* - `1h`: 1 hour
|
|
1110
|
-
*
|
|
1111
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1112
|
-
*/
|
|
1113
|
-
ttl?: DeploymentStreamContentDeploymentsRequestTtl | undefined;
|
|
1114
|
-
};
|
|
1115
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages2 = {
|
|
1116
|
-
type: DeploymentStreamContentDeploymentsRequestRequestBodyMessagesType;
|
|
1117
|
-
text: string;
|
|
1118
|
-
cacheControl?: DeploymentStreamContentDeploymentsRequestCacheControl | undefined;
|
|
1119
|
-
};
|
|
1120
550
|
/**
|
|
1121
551
|
* The contents of the system message.
|
|
1122
552
|
*/
|
|
1123
|
-
export type DeploymentStreamMessagesContent = string | Array<
|
|
553
|
+
export type DeploymentStreamMessagesContent = string | Array<components.TextContentPartSchema>;
|
|
1124
554
|
/**
|
|
1125
555
|
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
1126
556
|
*/
|
|
@@ -1132,7 +562,7 @@ export type DeploymentStreamMessagesSystemMessage = {
|
|
|
1132
562
|
/**
|
|
1133
563
|
* The contents of the system message.
|
|
1134
564
|
*/
|
|
1135
|
-
content: string | Array<
|
|
565
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
1136
566
|
/**
|
|
1137
567
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
1138
568
|
*/
|
|
@@ -1459,29 +889,30 @@ export type DeploymentStreamObject = ClosedEnum<typeof DeploymentStreamObject>;
|
|
|
1459
889
|
* The provider used to generate the response
|
|
1460
890
|
*/
|
|
1461
891
|
export declare const DeploymentStreamProvider: {
|
|
1462
|
-
readonly Cohere: "cohere";
|
|
1463
892
|
readonly Openai: "openai";
|
|
1464
|
-
readonly
|
|
1465
|
-
readonly
|
|
1466
|
-
readonly Replicate: "replicate";
|
|
1467
|
-
readonly Google: "google";
|
|
1468
|
-
readonly GoogleAi: "google-ai";
|
|
893
|
+
readonly Groq: "groq";
|
|
894
|
+
readonly Cohere: "cohere";
|
|
1469
895
|
readonly Azure: "azure";
|
|
1470
896
|
readonly Aws: "aws";
|
|
1471
|
-
readonly
|
|
897
|
+
readonly Google: "google";
|
|
898
|
+
readonly GoogleAi: "google-ai";
|
|
899
|
+
readonly Huggingface: "huggingface";
|
|
900
|
+
readonly Togetherai: "togetherai";
|
|
1472
901
|
readonly Perplexity: "perplexity";
|
|
1473
|
-
readonly
|
|
1474
|
-
readonly Fal: "fal";
|
|
902
|
+
readonly Anthropic: "anthropic";
|
|
1475
903
|
readonly Leonardoai: "leonardoai";
|
|
904
|
+
readonly Fal: "fal";
|
|
1476
905
|
readonly Nvidia: "nvidia";
|
|
1477
906
|
readonly Jina: "jina";
|
|
1478
|
-
readonly Togetherai: "togetherai";
|
|
1479
907
|
readonly Elevenlabs: "elevenlabs";
|
|
1480
908
|
readonly Litellm: "litellm";
|
|
1481
|
-
readonly Openailike: "openailike";
|
|
1482
909
|
readonly Cerebras: "cerebras";
|
|
910
|
+
readonly Openailike: "openailike";
|
|
1483
911
|
readonly Bytedance: "bytedance";
|
|
1484
912
|
readonly Mistral: "mistral";
|
|
913
|
+
readonly Deepseek: "deepseek";
|
|
914
|
+
readonly Contextualai: "contextualai";
|
|
915
|
+
readonly Moonshotai: "moonshotai";
|
|
1485
916
|
};
|
|
1486
917
|
/**
|
|
1487
918
|
* The provider used to generate the response
|
|
@@ -1725,52 +1156,17 @@ export declare const DeploymentStreamGlobals$outboundSchema: z.ZodType<Deploymen
|
|
|
1725
1156
|
export declare function deploymentStreamGlobalsToJSON(deploymentStreamGlobals: DeploymentStreamGlobals): string;
|
|
1726
1157
|
export declare function deploymentStreamGlobalsFromJSON(jsonString: string): SafeParseResult<DeploymentStreamGlobals, SDKValidationError>;
|
|
1727
1158
|
/** @internal */
|
|
1728
|
-
export declare const
|
|
1729
|
-
/** @internal */
|
|
1730
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5Type>;
|
|
1731
|
-
/** @internal */
|
|
1732
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5ContentType>;
|
|
1733
|
-
/** @internal */
|
|
1734
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages5ContentType>;
|
|
1735
|
-
/** @internal */
|
|
1736
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyTtl>;
|
|
1737
|
-
/** @internal */
|
|
1738
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyTtl>;
|
|
1739
|
-
/** @internal */
|
|
1740
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyCacheControl$inboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyCacheControl, z.ZodTypeDef, unknown>;
|
|
1741
|
-
/** @internal */
|
|
1742
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyCacheControl$Outbound = {
|
|
1743
|
-
type: string;
|
|
1744
|
-
ttl: string;
|
|
1745
|
-
};
|
|
1746
|
-
/** @internal */
|
|
1747
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyCacheControl$outboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyCacheControl$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsRequestRequestBodyCacheControl>;
|
|
1748
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyCacheControlToJSON(deploymentStream2DeploymentsRequestRequestBodyCacheControl: DeploymentStream2DeploymentsRequestRequestBodyCacheControl): string;
|
|
1749
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStream2DeploymentsRequestRequestBodyCacheControl, SDKValidationError>;
|
|
1750
|
-
/** @internal */
|
|
1751
|
-
export declare const DeploymentStream2DeploymentsRequest1$inboundSchema: z.ZodType<DeploymentStream2DeploymentsRequest1, z.ZodTypeDef, unknown>;
|
|
1752
|
-
/** @internal */
|
|
1753
|
-
export type DeploymentStream2DeploymentsRequest1$Outbound = {
|
|
1754
|
-
type: string;
|
|
1755
|
-
text: string;
|
|
1756
|
-
cache_control?: DeploymentStream2DeploymentsRequestRequestBodyCacheControl$Outbound | undefined;
|
|
1757
|
-
};
|
|
1758
|
-
/** @internal */
|
|
1759
|
-
export declare const DeploymentStream2DeploymentsRequest1$outboundSchema: z.ZodType<DeploymentStream2DeploymentsRequest1$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsRequest1>;
|
|
1760
|
-
export declare function deploymentStream2DeploymentsRequest1ToJSON(deploymentStream2DeploymentsRequest1: DeploymentStream2DeploymentsRequest1): string;
|
|
1761
|
-
export declare function deploymentStream2DeploymentsRequest1FromJSON(jsonString: string): SafeParseResult<DeploymentStream2DeploymentsRequest1, SDKValidationError>;
|
|
1762
|
-
/** @internal */
|
|
1763
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyPrefixMessages2$inboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyPrefixMessages2, z.ZodTypeDef, unknown>;
|
|
1159
|
+
export declare const DeploymentStreamContentDeploymentsRequest2$inboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequest2, z.ZodTypeDef, unknown>;
|
|
1764
1160
|
/** @internal */
|
|
1765
|
-
export type
|
|
1161
|
+
export type DeploymentStreamContentDeploymentsRequest2$Outbound = components.TextContentPartSchema$Outbound;
|
|
1766
1162
|
/** @internal */
|
|
1767
|
-
export declare const
|
|
1768
|
-
export declare function
|
|
1769
|
-
export declare function
|
|
1163
|
+
export declare const DeploymentStreamContentDeploymentsRequest2$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequest2$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequest2>;
|
|
1164
|
+
export declare function deploymentStreamContentDeploymentsRequest2ToJSON(deploymentStreamContentDeploymentsRequest2: DeploymentStreamContentDeploymentsRequest2): string;
|
|
1165
|
+
export declare function deploymentStreamContentDeploymentsRequest2FromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeploymentsRequest2, SDKValidationError>;
|
|
1770
1166
|
/** @internal */
|
|
1771
1167
|
export declare const DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$inboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content, z.ZodTypeDef, unknown>;
|
|
1772
1168
|
/** @internal */
|
|
1773
|
-
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$Outbound = string | Array<
|
|
1169
|
+
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
1774
1170
|
/** @internal */
|
|
1775
1171
|
export declare const DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content>;
|
|
1776
1172
|
export declare function deploymentStreamPrefixMessagesDeploymentsRequestRequestBody5ContentToJSON(deploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content: DeploymentStreamPrefixMessagesDeploymentsRequestRequestBody5Content): string;
|
|
@@ -1799,7 +1195,7 @@ export declare const PrefixMessagesToolMessage$inboundSchema: z.ZodType<PrefixMe
|
|
|
1799
1195
|
/** @internal */
|
|
1800
1196
|
export type PrefixMessagesToolMessage$Outbound = {
|
|
1801
1197
|
role: "tool";
|
|
1802
|
-
content: string | Array<
|
|
1198
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1803
1199
|
tool_call_id: string;
|
|
1804
1200
|
cache_control?: DeploymentStreamPrefixMessagesCacheControl$Outbound | undefined;
|
|
1805
1201
|
};
|
|
@@ -1808,48 +1204,21 @@ export declare const PrefixMessagesToolMessage$outboundSchema: z.ZodType<PrefixM
|
|
|
1808
1204
|
export declare function prefixMessagesToolMessageToJSON(prefixMessagesToolMessage: PrefixMessagesToolMessage): string;
|
|
1809
1205
|
export declare function prefixMessagesToolMessageFromJSON(jsonString: string): SafeParseResult<PrefixMessagesToolMessage, SDKValidationError>;
|
|
1810
1206
|
/** @internal */
|
|
1811
|
-
export declare const
|
|
1812
|
-
/** @internal */
|
|
1813
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages4Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyPrefixMessages4Type>;
|
|
1814
|
-
/** @internal */
|
|
1815
|
-
export declare const DeploymentStream2DeploymentsRequestTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestTtl>;
|
|
1816
|
-
/** @internal */
|
|
1817
|
-
export declare const DeploymentStream2DeploymentsRequestTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestTtl>;
|
|
1818
|
-
/** @internal */
|
|
1819
|
-
export declare const DeploymentStream2DeploymentsRequestCacheControl$inboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestCacheControl, z.ZodTypeDef, unknown>;
|
|
1820
|
-
/** @internal */
|
|
1821
|
-
export type DeploymentStream2DeploymentsRequestCacheControl$Outbound = {
|
|
1822
|
-
type: string;
|
|
1823
|
-
ttl: string;
|
|
1824
|
-
};
|
|
1825
|
-
/** @internal */
|
|
1826
|
-
export declare const DeploymentStream2DeploymentsRequestCacheControl$outboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestCacheControl$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsRequestCacheControl>;
|
|
1827
|
-
export declare function deploymentStream2DeploymentsRequestCacheControlToJSON(deploymentStream2DeploymentsRequestCacheControl: DeploymentStream2DeploymentsRequestCacheControl): string;
|
|
1828
|
-
export declare function deploymentStream2DeploymentsRequestCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStream2DeploymentsRequestCacheControl, SDKValidationError>;
|
|
1829
|
-
/** @internal */
|
|
1830
|
-
export declare const DeploymentStream2Deployments1$inboundSchema: z.ZodType<DeploymentStream2Deployments1, z.ZodTypeDef, unknown>;
|
|
1207
|
+
export declare const DeploymentStreamContentDeployments2$inboundSchema: z.ZodType<DeploymentStreamContentDeployments2, z.ZodTypeDef, unknown>;
|
|
1831
1208
|
/** @internal */
|
|
1832
|
-
export type
|
|
1209
|
+
export type DeploymentStreamContentDeployments2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1833
1210
|
type: "text";
|
|
1834
|
-
|
|
1835
|
-
cache_control?: DeploymentStream2DeploymentsRequestCacheControl$Outbound | undefined;
|
|
1836
|
-
};
|
|
1837
|
-
/** @internal */
|
|
1838
|
-
export declare const DeploymentStream2Deployments1$outboundSchema: z.ZodType<DeploymentStream2Deployments1$Outbound, z.ZodTypeDef, DeploymentStream2Deployments1>;
|
|
1839
|
-
export declare function deploymentStream2Deployments1ToJSON(deploymentStream2Deployments1: DeploymentStream2Deployments1): string;
|
|
1840
|
-
export declare function deploymentStream2Deployments1FromJSON(jsonString: string): SafeParseResult<DeploymentStream2Deployments1, SDKValidationError>;
|
|
1211
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
1841
1212
|
/** @internal */
|
|
1842
|
-
export declare const
|
|
1843
|
-
|
|
1844
|
-
export
|
|
1845
|
-
/** @internal */
|
|
1846
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBody2$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestRequestBody2>;
|
|
1847
|
-
export declare function deploymentStreamContentDeploymentsRequestRequestBody2ToJSON(deploymentStreamContentDeploymentsRequestRequestBody2: DeploymentStreamContentDeploymentsRequestRequestBody2): string;
|
|
1848
|
-
export declare function deploymentStreamContentDeploymentsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeploymentsRequestRequestBody2, SDKValidationError>;
|
|
1213
|
+
export declare const DeploymentStreamContentDeployments2$outboundSchema: z.ZodType<DeploymentStreamContentDeployments2$Outbound, z.ZodTypeDef, DeploymentStreamContentDeployments2>;
|
|
1214
|
+
export declare function deploymentStreamContentDeployments2ToJSON(deploymentStreamContentDeployments2: DeploymentStreamContentDeployments2): string;
|
|
1215
|
+
export declare function deploymentStreamContentDeployments2FromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeployments2, SDKValidationError>;
|
|
1849
1216
|
/** @internal */
|
|
1850
1217
|
export declare const DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$inboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
|
|
1851
1218
|
/** @internal */
|
|
1852
|
-
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound = string | Array<
|
|
1219
|
+
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1220
|
+
type: "text";
|
|
1221
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
1853
1222
|
/** @internal */
|
|
1854
1223
|
export declare const DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent>;
|
|
1855
1224
|
export declare function deploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent: DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyContent): string;
|
|
@@ -1869,76 +1238,47 @@ export declare const DeploymentStreamPrefixMessagesType$inboundSchema: z.ZodNati
|
|
|
1869
1238
|
/** @internal */
|
|
1870
1239
|
export declare const DeploymentStreamPrefixMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamPrefixMessagesType>;
|
|
1871
1240
|
/** @internal */
|
|
1872
|
-
export declare const
|
|
1241
|
+
export declare const DeploymentStreamPrefixMessagesFunction$inboundSchema: z.ZodType<DeploymentStreamPrefixMessagesFunction, z.ZodTypeDef, unknown>;
|
|
1873
1242
|
/** @internal */
|
|
1874
|
-
export type
|
|
1243
|
+
export type DeploymentStreamPrefixMessagesFunction$Outbound = {
|
|
1875
1244
|
name?: string | undefined;
|
|
1876
1245
|
arguments?: string | undefined;
|
|
1877
1246
|
};
|
|
1878
1247
|
/** @internal */
|
|
1879
|
-
export declare const
|
|
1880
|
-
export declare function
|
|
1881
|
-
export declare function
|
|
1248
|
+
export declare const DeploymentStreamPrefixMessagesFunction$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesFunction$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesFunction>;
|
|
1249
|
+
export declare function deploymentStreamPrefixMessagesFunctionToJSON(deploymentStreamPrefixMessagesFunction: DeploymentStreamPrefixMessagesFunction): string;
|
|
1250
|
+
export declare function deploymentStreamPrefixMessagesFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentStreamPrefixMessagesFunction, SDKValidationError>;
|
|
1882
1251
|
/** @internal */
|
|
1883
|
-
export declare const
|
|
1252
|
+
export declare const DeploymentStreamPrefixMessagesToolCalls$inboundSchema: z.ZodType<DeploymentStreamPrefixMessagesToolCalls, z.ZodTypeDef, unknown>;
|
|
1884
1253
|
/** @internal */
|
|
1885
|
-
export type
|
|
1254
|
+
export type DeploymentStreamPrefixMessagesToolCalls$Outbound = {
|
|
1886
1255
|
id: string;
|
|
1887
1256
|
type: string;
|
|
1888
|
-
function:
|
|
1257
|
+
function: DeploymentStreamPrefixMessagesFunction$Outbound;
|
|
1889
1258
|
thought_signature?: string | undefined;
|
|
1890
1259
|
};
|
|
1891
1260
|
/** @internal */
|
|
1892
|
-
export declare const
|
|
1893
|
-
export declare function
|
|
1894
|
-
export declare function
|
|
1261
|
+
export declare const DeploymentStreamPrefixMessagesToolCalls$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesToolCalls$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesToolCalls>;
|
|
1262
|
+
export declare function deploymentStreamPrefixMessagesToolCallsToJSON(deploymentStreamPrefixMessagesToolCalls: DeploymentStreamPrefixMessagesToolCalls): string;
|
|
1263
|
+
export declare function deploymentStreamPrefixMessagesToolCallsFromJSON(jsonString: string): SafeParseResult<DeploymentStreamPrefixMessagesToolCalls, SDKValidationError>;
|
|
1895
1264
|
/** @internal */
|
|
1896
1265
|
export declare const PrefixMessagesAssistantMessage$inboundSchema: z.ZodType<PrefixMessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1897
1266
|
/** @internal */
|
|
1898
1267
|
export type PrefixMessagesAssistantMessage$Outbound = {
|
|
1899
|
-
content?: string | Array<
|
|
1268
|
+
content?: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1269
|
+
type: "text";
|
|
1270
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
1900
1271
|
refusal?: string | null | undefined;
|
|
1901
1272
|
role: "assistant";
|
|
1902
1273
|
name?: string | undefined;
|
|
1903
1274
|
audio?: PrefixMessagesAudio$Outbound | null | undefined;
|
|
1904
|
-
tool_calls?: Array<
|
|
1275
|
+
tool_calls?: Array<DeploymentStreamPrefixMessagesToolCalls$Outbound> | undefined;
|
|
1905
1276
|
};
|
|
1906
1277
|
/** @internal */
|
|
1907
1278
|
export declare const PrefixMessagesAssistantMessage$outboundSchema: z.ZodType<PrefixMessagesAssistantMessage$Outbound, z.ZodTypeDef, PrefixMessagesAssistantMessage>;
|
|
1908
1279
|
export declare function prefixMessagesAssistantMessageToJSON(prefixMessagesAssistantMessage: PrefixMessagesAssistantMessage): string;
|
|
1909
1280
|
export declare function prefixMessagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<PrefixMessagesAssistantMessage, SDKValidationError>;
|
|
1910
1281
|
/** @internal */
|
|
1911
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyType>;
|
|
1912
|
-
/** @internal */
|
|
1913
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyType>;
|
|
1914
|
-
/** @internal */
|
|
1915
|
-
export declare const DeploymentStream2DeploymentsTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsTtl>;
|
|
1916
|
-
/** @internal */
|
|
1917
|
-
export declare const DeploymentStream2DeploymentsTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsTtl>;
|
|
1918
|
-
/** @internal */
|
|
1919
|
-
export declare const DeploymentStream2DeploymentsCacheControl$inboundSchema: z.ZodType<DeploymentStream2DeploymentsCacheControl, z.ZodTypeDef, unknown>;
|
|
1920
|
-
/** @internal */
|
|
1921
|
-
export type DeploymentStream2DeploymentsCacheControl$Outbound = {
|
|
1922
|
-
type: string;
|
|
1923
|
-
ttl: string;
|
|
1924
|
-
};
|
|
1925
|
-
/** @internal */
|
|
1926
|
-
export declare const DeploymentStream2DeploymentsCacheControl$outboundSchema: z.ZodType<DeploymentStream2DeploymentsCacheControl$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsCacheControl>;
|
|
1927
|
-
export declare function deploymentStream2DeploymentsCacheControlToJSON(deploymentStream2DeploymentsCacheControl: DeploymentStream2DeploymentsCacheControl): string;
|
|
1928
|
-
export declare function deploymentStream2DeploymentsCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStream2DeploymentsCacheControl, SDKValidationError>;
|
|
1929
|
-
/** @internal */
|
|
1930
|
-
export declare const DeploymentStream24$inboundSchema: z.ZodType<DeploymentStream24, z.ZodTypeDef, unknown>;
|
|
1931
|
-
/** @internal */
|
|
1932
|
-
export type DeploymentStream24$Outbound = {
|
|
1933
|
-
type: "file";
|
|
1934
|
-
cache_control?: DeploymentStream2DeploymentsCacheControl$Outbound | undefined;
|
|
1935
|
-
file: components.FileContentPartSchema$Outbound;
|
|
1936
|
-
};
|
|
1937
|
-
/** @internal */
|
|
1938
|
-
export declare const DeploymentStream24$outboundSchema: z.ZodType<DeploymentStream24$Outbound, z.ZodTypeDef, DeploymentStream24>;
|
|
1939
|
-
export declare function deploymentStream24ToJSON(deploymentStream24: DeploymentStream24): string;
|
|
1940
|
-
export declare function deploymentStream24FromJSON(jsonString: string): SafeParseResult<DeploymentStream24, SDKValidationError>;
|
|
1941
|
-
/** @internal */
|
|
1942
1282
|
export declare const DeploymentStream2DeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsType>;
|
|
1943
1283
|
/** @internal */
|
|
1944
1284
|
export declare const DeploymentStream2DeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsType>;
|
|
@@ -1958,29 +1298,33 @@ export declare const DeploymentStream2CacheControl$outboundSchema: z.ZodType<Dep
|
|
|
1958
1298
|
export declare function deploymentStream2CacheControlToJSON(deploymentStream2CacheControl: DeploymentStream2CacheControl): string;
|
|
1959
1299
|
export declare function deploymentStream2CacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStream2CacheControl, SDKValidationError>;
|
|
1960
1300
|
/** @internal */
|
|
1961
|
-
export declare const
|
|
1301
|
+
export declare const DeploymentStream24$inboundSchema: z.ZodType<DeploymentStream24, z.ZodTypeDef, unknown>;
|
|
1962
1302
|
/** @internal */
|
|
1963
|
-
export type
|
|
1964
|
-
type: "
|
|
1965
|
-
text: string;
|
|
1303
|
+
export type DeploymentStream24$Outbound = {
|
|
1304
|
+
type: "file";
|
|
1966
1305
|
cache_control?: DeploymentStream2CacheControl$Outbound | undefined;
|
|
1306
|
+
file: components.FileContentPartSchema$Outbound;
|
|
1967
1307
|
};
|
|
1968
1308
|
/** @internal */
|
|
1969
|
-
export declare const
|
|
1970
|
-
export declare function
|
|
1971
|
-
export declare function
|
|
1309
|
+
export declare const DeploymentStream24$outboundSchema: z.ZodType<DeploymentStream24$Outbound, z.ZodTypeDef, DeploymentStream24>;
|
|
1310
|
+
export declare function deploymentStream24ToJSON(deploymentStream24: DeploymentStream24): string;
|
|
1311
|
+
export declare function deploymentStream24FromJSON(jsonString: string): SafeParseResult<DeploymentStream24, SDKValidationError>;
|
|
1972
1312
|
/** @internal */
|
|
1973
|
-
export declare const
|
|
1313
|
+
export declare const DeploymentStreamContent2$inboundSchema: z.ZodType<DeploymentStreamContent2, z.ZodTypeDef, unknown>;
|
|
1974
1314
|
/** @internal */
|
|
1975
|
-
export type
|
|
1315
|
+
export type DeploymentStreamContent2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1316
|
+
type: "text";
|
|
1317
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream24$Outbound;
|
|
1976
1318
|
/** @internal */
|
|
1977
|
-
export declare const
|
|
1978
|
-
export declare function
|
|
1979
|
-
export declare function
|
|
1319
|
+
export declare const DeploymentStreamContent2$outboundSchema: z.ZodType<DeploymentStreamContent2$Outbound, z.ZodTypeDef, DeploymentStreamContent2>;
|
|
1320
|
+
export declare function deploymentStreamContent2ToJSON(deploymentStreamContent2: DeploymentStreamContent2): string;
|
|
1321
|
+
export declare function deploymentStreamContent2FromJSON(jsonString: string): SafeParseResult<DeploymentStreamContent2, SDKValidationError>;
|
|
1980
1322
|
/** @internal */
|
|
1981
1323
|
export declare const DeploymentStreamPrefixMessagesDeploymentsRequestContent$inboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsRequestContent, z.ZodTypeDef, unknown>;
|
|
1982
1324
|
/** @internal */
|
|
1983
|
-
export type DeploymentStreamPrefixMessagesDeploymentsRequestContent$Outbound = string | Array<
|
|
1325
|
+
export type DeploymentStreamPrefixMessagesDeploymentsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1326
|
+
type: "text";
|
|
1327
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream24$Outbound>;
|
|
1984
1328
|
/** @internal */
|
|
1985
1329
|
export declare const DeploymentStreamPrefixMessagesDeploymentsRequestContent$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsRequestContent$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesDeploymentsRequestContent>;
|
|
1986
1330
|
export declare function deploymentStreamPrefixMessagesDeploymentsRequestContentToJSON(deploymentStreamPrefixMessagesDeploymentsRequestContent: DeploymentStreamPrefixMessagesDeploymentsRequestContent): string;
|
|
@@ -1991,51 +1335,18 @@ export declare const PrefixMessagesUserMessage$inboundSchema: z.ZodType<PrefixMe
|
|
|
1991
1335
|
export type PrefixMessagesUserMessage$Outbound = {
|
|
1992
1336
|
role: "user";
|
|
1993
1337
|
name?: string | undefined;
|
|
1994
|
-
content: string | Array<
|
|
1338
|
+
content: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1339
|
+
type: "text";
|
|
1340
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream24$Outbound>;
|
|
1995
1341
|
};
|
|
1996
1342
|
/** @internal */
|
|
1997
1343
|
export declare const PrefixMessagesUserMessage$outboundSchema: z.ZodType<PrefixMessagesUserMessage$Outbound, z.ZodTypeDef, PrefixMessagesUserMessage>;
|
|
1998
1344
|
export declare function prefixMessagesUserMessageToJSON(prefixMessagesUserMessage: PrefixMessagesUserMessage): string;
|
|
1999
1345
|
export declare function prefixMessagesUserMessageFromJSON(jsonString: string): SafeParseResult<PrefixMessagesUserMessage, SDKValidationError>;
|
|
2000
1346
|
/** @internal */
|
|
2001
|
-
export declare const DeploymentStreamContentDeploymentsRequestType$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestType>;
|
|
2002
|
-
/** @internal */
|
|
2003
|
-
export declare const DeploymentStreamContentDeploymentsRequestType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestType>;
|
|
2004
|
-
/** @internal */
|
|
2005
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyType>;
|
|
2006
|
-
/** @internal */
|
|
2007
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyType>;
|
|
2008
|
-
/** @internal */
|
|
2009
|
-
export declare const DeploymentStreamContentDeploymentsTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsTtl>;
|
|
2010
|
-
/** @internal */
|
|
2011
|
-
export declare const DeploymentStreamContentDeploymentsTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsTtl>;
|
|
2012
|
-
/** @internal */
|
|
2013
|
-
export declare const DeploymentStreamContentDeploymentsCacheControl$inboundSchema: z.ZodType<DeploymentStreamContentDeploymentsCacheControl, z.ZodTypeDef, unknown>;
|
|
2014
|
-
/** @internal */
|
|
2015
|
-
export type DeploymentStreamContentDeploymentsCacheControl$Outbound = {
|
|
2016
|
-
type: string;
|
|
2017
|
-
ttl: string;
|
|
2018
|
-
};
|
|
2019
|
-
/** @internal */
|
|
2020
|
-
export declare const DeploymentStreamContentDeploymentsCacheControl$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsCacheControl$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsCacheControl>;
|
|
2021
|
-
export declare function deploymentStreamContentDeploymentsCacheControlToJSON(deploymentStreamContentDeploymentsCacheControl: DeploymentStreamContentDeploymentsCacheControl): string;
|
|
2022
|
-
export declare function deploymentStreamContentDeploymentsCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeploymentsCacheControl, SDKValidationError>;
|
|
2023
|
-
/** @internal */
|
|
2024
|
-
export declare const DeploymentStreamContentDeployments2$inboundSchema: z.ZodType<DeploymentStreamContentDeployments2, z.ZodTypeDef, unknown>;
|
|
2025
|
-
/** @internal */
|
|
2026
|
-
export type DeploymentStreamContentDeployments2$Outbound = {
|
|
2027
|
-
type: string;
|
|
2028
|
-
text: string;
|
|
2029
|
-
cache_control?: DeploymentStreamContentDeploymentsCacheControl$Outbound | undefined;
|
|
2030
|
-
};
|
|
2031
|
-
/** @internal */
|
|
2032
|
-
export declare const DeploymentStreamContentDeployments2$outboundSchema: z.ZodType<DeploymentStreamContentDeployments2$Outbound, z.ZodTypeDef, DeploymentStreamContentDeployments2>;
|
|
2033
|
-
export declare function deploymentStreamContentDeployments2ToJSON(deploymentStreamContentDeployments2: DeploymentStreamContentDeployments2): string;
|
|
2034
|
-
export declare function deploymentStreamContentDeployments2FromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeployments2, SDKValidationError>;
|
|
2035
|
-
/** @internal */
|
|
2036
1347
|
export declare const DeploymentStreamPrefixMessagesDeploymentsContent$inboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsContent, z.ZodTypeDef, unknown>;
|
|
2037
1348
|
/** @internal */
|
|
2038
|
-
export type DeploymentStreamPrefixMessagesDeploymentsContent$Outbound = string | Array<
|
|
1349
|
+
export type DeploymentStreamPrefixMessagesDeploymentsContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2039
1350
|
/** @internal */
|
|
2040
1351
|
export declare const DeploymentStreamPrefixMessagesDeploymentsContent$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesDeploymentsContent>;
|
|
2041
1352
|
export declare function deploymentStreamPrefixMessagesDeploymentsContentToJSON(deploymentStreamPrefixMessagesDeploymentsContent: DeploymentStreamPrefixMessagesDeploymentsContent): string;
|
|
@@ -2045,7 +1356,7 @@ export declare const PrefixMessagesDeveloperMessage$inboundSchema: z.ZodType<Pre
|
|
|
2045
1356
|
/** @internal */
|
|
2046
1357
|
export type PrefixMessagesDeveloperMessage$Outbound = {
|
|
2047
1358
|
role: "developer";
|
|
2048
|
-
content: string | Array<
|
|
1359
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2049
1360
|
name?: string | undefined;
|
|
2050
1361
|
};
|
|
2051
1362
|
/** @internal */
|
|
@@ -2053,44 +1364,9 @@ export declare const PrefixMessagesDeveloperMessage$outboundSchema: z.ZodType<Pr
|
|
|
2053
1364
|
export declare function prefixMessagesDeveloperMessageToJSON(prefixMessagesDeveloperMessage: PrefixMessagesDeveloperMessage): string;
|
|
2054
1365
|
export declare function prefixMessagesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<PrefixMessagesDeveloperMessage, SDKValidationError>;
|
|
2055
1366
|
/** @internal */
|
|
2056
|
-
export declare const DeploymentStreamContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentType>;
|
|
2057
|
-
/** @internal */
|
|
2058
|
-
export declare const DeploymentStreamContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentType>;
|
|
2059
|
-
/** @internal */
|
|
2060
|
-
export declare const DeploymentStreamContentDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsType>;
|
|
2061
|
-
/** @internal */
|
|
2062
|
-
export declare const DeploymentStreamContentDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsType>;
|
|
2063
|
-
/** @internal */
|
|
2064
|
-
export declare const DeploymentStreamContentTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentTtl>;
|
|
2065
|
-
/** @internal */
|
|
2066
|
-
export declare const DeploymentStreamContentTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentTtl>;
|
|
2067
|
-
/** @internal */
|
|
2068
|
-
export declare const DeploymentStreamContentCacheControl$inboundSchema: z.ZodType<DeploymentStreamContentCacheControl, z.ZodTypeDef, unknown>;
|
|
2069
|
-
/** @internal */
|
|
2070
|
-
export type DeploymentStreamContentCacheControl$Outbound = {
|
|
2071
|
-
type: string;
|
|
2072
|
-
ttl: string;
|
|
2073
|
-
};
|
|
2074
|
-
/** @internal */
|
|
2075
|
-
export declare const DeploymentStreamContentCacheControl$outboundSchema: z.ZodType<DeploymentStreamContentCacheControl$Outbound, z.ZodTypeDef, DeploymentStreamContentCacheControl>;
|
|
2076
|
-
export declare function deploymentStreamContentCacheControlToJSON(deploymentStreamContentCacheControl: DeploymentStreamContentCacheControl): string;
|
|
2077
|
-
export declare function deploymentStreamContentCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentCacheControl, SDKValidationError>;
|
|
2078
|
-
/** @internal */
|
|
2079
|
-
export declare const DeploymentStreamContent2$inboundSchema: z.ZodType<DeploymentStreamContent2, z.ZodTypeDef, unknown>;
|
|
2080
|
-
/** @internal */
|
|
2081
|
-
export type DeploymentStreamContent2$Outbound = {
|
|
2082
|
-
type: string;
|
|
2083
|
-
text: string;
|
|
2084
|
-
cache_control?: DeploymentStreamContentCacheControl$Outbound | undefined;
|
|
2085
|
-
};
|
|
2086
|
-
/** @internal */
|
|
2087
|
-
export declare const DeploymentStreamContent2$outboundSchema: z.ZodType<DeploymentStreamContent2$Outbound, z.ZodTypeDef, DeploymentStreamContent2>;
|
|
2088
|
-
export declare function deploymentStreamContent2ToJSON(deploymentStreamContent2: DeploymentStreamContent2): string;
|
|
2089
|
-
export declare function deploymentStreamContent2FromJSON(jsonString: string): SafeParseResult<DeploymentStreamContent2, SDKValidationError>;
|
|
2090
|
-
/** @internal */
|
|
2091
1367
|
export declare const DeploymentStreamPrefixMessagesContent$inboundSchema: z.ZodType<DeploymentStreamPrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
2092
1368
|
/** @internal */
|
|
2093
|
-
export type DeploymentStreamPrefixMessagesContent$Outbound = string | Array<
|
|
1369
|
+
export type DeploymentStreamPrefixMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2094
1370
|
/** @internal */
|
|
2095
1371
|
export declare const DeploymentStreamPrefixMessagesContent$outboundSchema: z.ZodType<DeploymentStreamPrefixMessagesContent$Outbound, z.ZodTypeDef, DeploymentStreamPrefixMessagesContent>;
|
|
2096
1372
|
export declare function deploymentStreamPrefixMessagesContentToJSON(deploymentStreamPrefixMessagesContent: DeploymentStreamPrefixMessagesContent): string;
|
|
@@ -2100,7 +1376,7 @@ export declare const PrefixMessagesSystemMessage$inboundSchema: z.ZodType<Prefix
|
|
|
2100
1376
|
/** @internal */
|
|
2101
1377
|
export type PrefixMessagesSystemMessage$Outbound = {
|
|
2102
1378
|
role: "system";
|
|
2103
|
-
content: string | Array<
|
|
1379
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2104
1380
|
name?: string | undefined;
|
|
2105
1381
|
};
|
|
2106
1382
|
/** @internal */
|
|
@@ -2116,44 +1392,9 @@ export declare const DeploymentStreamPrefixMessages$outboundSchema: z.ZodType<De
|
|
|
2116
1392
|
export declare function deploymentStreamPrefixMessagesToJSON(deploymentStreamPrefixMessages: DeploymentStreamPrefixMessages): string;
|
|
2117
1393
|
export declare function deploymentStreamPrefixMessagesFromJSON(jsonString: string): SafeParseResult<DeploymentStreamPrefixMessages, SDKValidationError>;
|
|
2118
1394
|
/** @internal */
|
|
2119
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages5Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages5Type>;
|
|
2120
|
-
/** @internal */
|
|
2121
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages5Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages5Type>;
|
|
2122
|
-
/** @internal */
|
|
2123
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages5ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages5ContentType>;
|
|
2124
|
-
/** @internal */
|
|
2125
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages5ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages5ContentType>;
|
|
2126
|
-
/** @internal */
|
|
2127
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages5Ttl$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages5Ttl>;
|
|
2128
|
-
/** @internal */
|
|
2129
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages5Ttl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages5Ttl>;
|
|
2130
|
-
/** @internal */
|
|
2131
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl$inboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl, z.ZodTypeDef, unknown>;
|
|
2132
|
-
/** @internal */
|
|
2133
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl$Outbound = {
|
|
2134
|
-
type: string;
|
|
2135
|
-
ttl: string;
|
|
2136
|
-
};
|
|
2137
|
-
/** @internal */
|
|
2138
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl$outboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl>;
|
|
2139
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyMessages5CacheControlToJSON(deploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl: DeploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl): string;
|
|
2140
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyMessages5CacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl, SDKValidationError>;
|
|
2141
|
-
/** @internal */
|
|
2142
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages51$inboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyMessages51, z.ZodTypeDef, unknown>;
|
|
2143
|
-
/** @internal */
|
|
2144
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessages51$Outbound = {
|
|
2145
|
-
type: string;
|
|
2146
|
-
text: string;
|
|
2147
|
-
cache_control?: DeploymentStream2DeploymentsRequestRequestBodyMessages5CacheControl$Outbound | undefined;
|
|
2148
|
-
};
|
|
2149
|
-
/** @internal */
|
|
2150
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages51$outboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyMessages51$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsRequestRequestBodyMessages51>;
|
|
2151
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyMessages51ToJSON(deploymentStream2DeploymentsRequestRequestBodyMessages51: DeploymentStream2DeploymentsRequestRequestBodyMessages51): string;
|
|
2152
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyMessages51FromJSON(jsonString: string): SafeParseResult<DeploymentStream2DeploymentsRequestRequestBodyMessages51, SDKValidationError>;
|
|
2153
|
-
/** @internal */
|
|
2154
1395
|
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$inboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages52, z.ZodTypeDef, unknown>;
|
|
2155
1396
|
/** @internal */
|
|
2156
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$Outbound =
|
|
1397
|
+
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$Outbound = components.TextContentPartSchema$Outbound;
|
|
2157
1398
|
/** @internal */
|
|
2158
1399
|
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages52$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestRequestBodyMessages52>;
|
|
2159
1400
|
export declare function deploymentStreamContentDeploymentsRequestRequestBodyMessages52ToJSON(deploymentStreamContentDeploymentsRequestRequestBodyMessages52: DeploymentStreamContentDeploymentsRequestRequestBodyMessages52): string;
|
|
@@ -2161,7 +1402,7 @@ export declare function deploymentStreamContentDeploymentsRequestRequestBodyMess
|
|
|
2161
1402
|
/** @internal */
|
|
2162
1403
|
export declare const DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$inboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsRequestRequestBody5Content, z.ZodTypeDef, unknown>;
|
|
2163
1404
|
/** @internal */
|
|
2164
|
-
export type DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$Outbound = string | Array<
|
|
1405
|
+
export type DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2165
1406
|
/** @internal */
|
|
2166
1407
|
export declare const DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$outboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsRequestRequestBody5Content$Outbound, z.ZodTypeDef, DeploymentStreamMessagesDeploymentsRequestRequestBody5Content>;
|
|
2167
1408
|
export declare function deploymentStreamMessagesDeploymentsRequestRequestBody5ContentToJSON(deploymentStreamMessagesDeploymentsRequestRequestBody5Content: DeploymentStreamMessagesDeploymentsRequestRequestBody5Content): string;
|
|
@@ -2190,7 +1431,7 @@ export declare const DeploymentStreamMessagesToolMessage$inboundSchema: z.ZodTyp
|
|
|
2190
1431
|
/** @internal */
|
|
2191
1432
|
export type DeploymentStreamMessagesToolMessage$Outbound = {
|
|
2192
1433
|
role: "tool";
|
|
2193
|
-
content: string | Array<
|
|
1434
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2194
1435
|
tool_call_id: string;
|
|
2195
1436
|
cache_control?: DeploymentStreamMessagesCacheControl$Outbound | undefined;
|
|
2196
1437
|
};
|
|
@@ -2199,48 +1440,21 @@ export declare const DeploymentStreamMessagesToolMessage$outboundSchema: z.ZodTy
|
|
|
2199
1440
|
export declare function deploymentStreamMessagesToolMessageToJSON(deploymentStreamMessagesToolMessage: DeploymentStreamMessagesToolMessage): string;
|
|
2200
1441
|
export declare function deploymentStreamMessagesToolMessageFromJSON(jsonString: string): SafeParseResult<DeploymentStreamMessagesToolMessage, SDKValidationError>;
|
|
2201
1442
|
/** @internal */
|
|
2202
|
-
export declare const
|
|
2203
|
-
/** @internal */
|
|
2204
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages4ContentType>;
|
|
2205
|
-
/** @internal */
|
|
2206
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages4Ttl$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages4Ttl>;
|
|
2207
|
-
/** @internal */
|
|
2208
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages4Ttl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages4Ttl>;
|
|
2209
|
-
/** @internal */
|
|
2210
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl$inboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl, z.ZodTypeDef, unknown>;
|
|
2211
|
-
/** @internal */
|
|
2212
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl$Outbound = {
|
|
2213
|
-
type: string;
|
|
2214
|
-
ttl: string;
|
|
2215
|
-
};
|
|
2216
|
-
/** @internal */
|
|
2217
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl$outboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl>;
|
|
2218
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyMessages4CacheControlToJSON(deploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl: DeploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl): string;
|
|
2219
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyMessages4CacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl, SDKValidationError>;
|
|
2220
|
-
/** @internal */
|
|
2221
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages1$inboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyMessages1, z.ZodTypeDef, unknown>;
|
|
1443
|
+
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$inboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages2, z.ZodTypeDef, unknown>;
|
|
2222
1444
|
/** @internal */
|
|
2223
|
-
export type
|
|
1445
|
+
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
2224
1446
|
type: "text";
|
|
2225
|
-
|
|
2226
|
-
cache_control?: DeploymentStream2DeploymentsRequestRequestBodyMessages4CacheControl$Outbound | undefined;
|
|
2227
|
-
};
|
|
2228
|
-
/** @internal */
|
|
2229
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages1$outboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyMessages1$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsRequestRequestBodyMessages1>;
|
|
2230
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyMessages1ToJSON(deploymentStream2DeploymentsRequestRequestBodyMessages1: DeploymentStream2DeploymentsRequestRequestBodyMessages1): string;
|
|
2231
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyMessages1FromJSON(jsonString: string): SafeParseResult<DeploymentStream2DeploymentsRequestRequestBodyMessages1, SDKValidationError>;
|
|
1447
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
2232
1448
|
/** @internal */
|
|
2233
|
-
export declare const
|
|
2234
|
-
|
|
2235
|
-
export
|
|
2236
|
-
/** @internal */
|
|
2237
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages42$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages42$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestRequestBodyMessages42>;
|
|
2238
|
-
export declare function deploymentStreamContentDeploymentsRequestRequestBodyMessages42ToJSON(deploymentStreamContentDeploymentsRequestRequestBodyMessages42: DeploymentStreamContentDeploymentsRequestRequestBodyMessages42): string;
|
|
2239
|
-
export declare function deploymentStreamContentDeploymentsRequestRequestBodyMessages42FromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeploymentsRequestRequestBodyMessages42, SDKValidationError>;
|
|
1449
|
+
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestRequestBodyMessages2>;
|
|
1450
|
+
export declare function deploymentStreamContentDeploymentsRequestRequestBodyMessages2ToJSON(deploymentStreamContentDeploymentsRequestRequestBodyMessages2: DeploymentStreamContentDeploymentsRequestRequestBodyMessages2): string;
|
|
1451
|
+
export declare function deploymentStreamContentDeploymentsRequestRequestBodyMessages2FromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeploymentsRequestRequestBodyMessages2, SDKValidationError>;
|
|
2240
1452
|
/** @internal */
|
|
2241
1453
|
export declare const DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$inboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
|
|
2242
1454
|
/** @internal */
|
|
2243
|
-
export type DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$Outbound = string | Array<
|
|
1455
|
+
export type DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1456
|
+
type: "text";
|
|
1457
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
2244
1458
|
/** @internal */
|
|
2245
1459
|
export declare const DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$outboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsRequestRequestBodyContent$Outbound, z.ZodTypeDef, DeploymentStreamMessagesDeploymentsRequestRequestBodyContent>;
|
|
2246
1460
|
export declare function deploymentStreamMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentStreamMessagesDeploymentsRequestRequestBodyContent: DeploymentStreamMessagesDeploymentsRequestRequestBodyContent): string;
|
|
@@ -2287,7 +1501,9 @@ export declare function deploymentStreamMessagesToolCallsFromJSON(jsonString: st
|
|
|
2287
1501
|
export declare const DeploymentStreamMessagesAssistantMessage$inboundSchema: z.ZodType<DeploymentStreamMessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
2288
1502
|
/** @internal */
|
|
2289
1503
|
export type DeploymentStreamMessagesAssistantMessage$Outbound = {
|
|
2290
|
-
content?: string | Array<
|
|
1504
|
+
content?: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1505
|
+
type: "text";
|
|
1506
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
2291
1507
|
refusal?: string | null | undefined;
|
|
2292
1508
|
role: "assistant";
|
|
2293
1509
|
name?: string | undefined;
|
|
@@ -2299,30 +1515,30 @@ export declare const DeploymentStreamMessagesAssistantMessage$outboundSchema: z.
|
|
|
2299
1515
|
export declare function deploymentStreamMessagesAssistantMessageToJSON(deploymentStreamMessagesAssistantMessage: DeploymentStreamMessagesAssistantMessage): string;
|
|
2300
1516
|
export declare function deploymentStreamMessagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<DeploymentStreamMessagesAssistantMessage, SDKValidationError>;
|
|
2301
1517
|
/** @internal */
|
|
2302
|
-
export declare const
|
|
1518
|
+
export declare const DeploymentStream2DeploymentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyType>;
|
|
2303
1519
|
/** @internal */
|
|
2304
|
-
export declare const
|
|
1520
|
+
export declare const DeploymentStream2DeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyType>;
|
|
2305
1521
|
/** @internal */
|
|
2306
|
-
export declare const
|
|
1522
|
+
export declare const DeploymentStream2DeploymentsTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsTtl>;
|
|
2307
1523
|
/** @internal */
|
|
2308
|
-
export declare const
|
|
1524
|
+
export declare const DeploymentStream2DeploymentsTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsTtl>;
|
|
2309
1525
|
/** @internal */
|
|
2310
|
-
export declare const
|
|
1526
|
+
export declare const DeploymentStream2DeploymentsCacheControl$inboundSchema: z.ZodType<DeploymentStream2DeploymentsCacheControl, z.ZodTypeDef, unknown>;
|
|
2311
1527
|
/** @internal */
|
|
2312
|
-
export type
|
|
1528
|
+
export type DeploymentStream2DeploymentsCacheControl$Outbound = {
|
|
2313
1529
|
type: string;
|
|
2314
1530
|
ttl: string;
|
|
2315
1531
|
};
|
|
2316
1532
|
/** @internal */
|
|
2317
|
-
export declare const
|
|
2318
|
-
export declare function
|
|
2319
|
-
export declare function
|
|
1533
|
+
export declare const DeploymentStream2DeploymentsCacheControl$outboundSchema: z.ZodType<DeploymentStream2DeploymentsCacheControl$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsCacheControl>;
|
|
1534
|
+
export declare function deploymentStream2DeploymentsCacheControlToJSON(deploymentStream2DeploymentsCacheControl: DeploymentStream2DeploymentsCacheControl): string;
|
|
1535
|
+
export declare function deploymentStream2DeploymentsCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStream2DeploymentsCacheControl, SDKValidationError>;
|
|
2320
1536
|
/** @internal */
|
|
2321
1537
|
export declare const DeploymentStream2Deployments4$inboundSchema: z.ZodType<DeploymentStream2Deployments4, z.ZodTypeDef, unknown>;
|
|
2322
1538
|
/** @internal */
|
|
2323
1539
|
export type DeploymentStream2Deployments4$Outbound = {
|
|
2324
1540
|
type: "file";
|
|
2325
|
-
cache_control?:
|
|
1541
|
+
cache_control?: DeploymentStream2DeploymentsCacheControl$Outbound | undefined;
|
|
2326
1542
|
file: components.FileContentPartSchema$Outbound;
|
|
2327
1543
|
};
|
|
2328
1544
|
/** @internal */
|
|
@@ -2330,48 +1546,21 @@ export declare const DeploymentStream2Deployments4$outboundSchema: z.ZodType<Dep
|
|
|
2330
1546
|
export declare function deploymentStream2Deployments4ToJSON(deploymentStream2Deployments4: DeploymentStream2Deployments4): string;
|
|
2331
1547
|
export declare function deploymentStream2Deployments4FromJSON(jsonString: string): SafeParseResult<DeploymentStream2Deployments4, SDKValidationError>;
|
|
2332
1548
|
/** @internal */
|
|
2333
|
-
export declare const
|
|
2334
|
-
/** @internal */
|
|
2335
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessages3Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessages3Type>;
|
|
2336
|
-
/** @internal */
|
|
2337
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessagesTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessagesTtl>;
|
|
2338
|
-
/** @internal */
|
|
2339
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessagesTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStream2DeploymentsRequestRequestBodyMessagesTtl>;
|
|
2340
|
-
/** @internal */
|
|
2341
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl$inboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl, z.ZodTypeDef, unknown>;
|
|
2342
|
-
/** @internal */
|
|
2343
|
-
export type DeploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl$Outbound = {
|
|
2344
|
-
type: string;
|
|
2345
|
-
ttl: string;
|
|
2346
|
-
};
|
|
2347
|
-
/** @internal */
|
|
2348
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl$outboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl>;
|
|
2349
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyMessagesCacheControlToJSON(deploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl: DeploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl): string;
|
|
2350
|
-
export declare function deploymentStream2DeploymentsRequestRequestBodyMessagesCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl, SDKValidationError>;
|
|
2351
|
-
/** @internal */
|
|
2352
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBody1$inboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBody1, z.ZodTypeDef, unknown>;
|
|
1549
|
+
export declare const DeploymentStreamContentDeploymentsRequestRequestBody2$inboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
2353
1550
|
/** @internal */
|
|
2354
|
-
export type
|
|
1551
|
+
export type DeploymentStreamContentDeploymentsRequestRequestBody2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
2355
1552
|
type: "text";
|
|
2356
|
-
|
|
2357
|
-
cache_control?: DeploymentStream2DeploymentsRequestRequestBodyMessagesCacheControl$Outbound | undefined;
|
|
2358
|
-
};
|
|
2359
|
-
/** @internal */
|
|
2360
|
-
export declare const DeploymentStream2DeploymentsRequestRequestBody1$outboundSchema: z.ZodType<DeploymentStream2DeploymentsRequestRequestBody1$Outbound, z.ZodTypeDef, DeploymentStream2DeploymentsRequestRequestBody1>;
|
|
2361
|
-
export declare function deploymentStream2DeploymentsRequestRequestBody1ToJSON(deploymentStream2DeploymentsRequestRequestBody1: DeploymentStream2DeploymentsRequestRequestBody1): string;
|
|
2362
|
-
export declare function deploymentStream2DeploymentsRequestRequestBody1FromJSON(jsonString: string): SafeParseResult<DeploymentStream2DeploymentsRequestRequestBody1, SDKValidationError>;
|
|
2363
|
-
/** @internal */
|
|
2364
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages32$inboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages32, z.ZodTypeDef, unknown>;
|
|
2365
|
-
/** @internal */
|
|
2366
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages32$Outbound = DeploymentStream2DeploymentsRequestRequestBody1$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream2Deployments4$Outbound;
|
|
1553
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream2Deployments4$Outbound;
|
|
2367
1554
|
/** @internal */
|
|
2368
|
-
export declare const
|
|
2369
|
-
export declare function
|
|
2370
|
-
export declare function
|
|
1555
|
+
export declare const DeploymentStreamContentDeploymentsRequestRequestBody2$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestRequestBody2>;
|
|
1556
|
+
export declare function deploymentStreamContentDeploymentsRequestRequestBody2ToJSON(deploymentStreamContentDeploymentsRequestRequestBody2: DeploymentStreamContentDeploymentsRequestRequestBody2): string;
|
|
1557
|
+
export declare function deploymentStreamContentDeploymentsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeploymentsRequestRequestBody2, SDKValidationError>;
|
|
2371
1558
|
/** @internal */
|
|
2372
1559
|
export declare const DeploymentStreamMessagesDeploymentsRequestContent$inboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsRequestContent, z.ZodTypeDef, unknown>;
|
|
2373
1560
|
/** @internal */
|
|
2374
|
-
export type DeploymentStreamMessagesDeploymentsRequestContent$Outbound = string | Array<
|
|
1561
|
+
export type DeploymentStreamMessagesDeploymentsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1562
|
+
type: "text";
|
|
1563
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream2Deployments4$Outbound>;
|
|
2375
1564
|
/** @internal */
|
|
2376
1565
|
export declare const DeploymentStreamMessagesDeploymentsRequestContent$outboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsRequestContent$Outbound, z.ZodTypeDef, DeploymentStreamMessagesDeploymentsRequestContent>;
|
|
2377
1566
|
export declare function deploymentStreamMessagesDeploymentsRequestContentToJSON(deploymentStreamMessagesDeploymentsRequestContent: DeploymentStreamMessagesDeploymentsRequestContent): string;
|
|
@@ -2382,51 +1571,18 @@ export declare const DeploymentStreamMessagesUserMessage$inboundSchema: z.ZodTyp
|
|
|
2382
1571
|
export type DeploymentStreamMessagesUserMessage$Outbound = {
|
|
2383
1572
|
role: "user";
|
|
2384
1573
|
name?: string | undefined;
|
|
2385
|
-
content: string | Array<
|
|
1574
|
+
content: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1575
|
+
type: "text";
|
|
1576
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentStream2Deployments4$Outbound>;
|
|
2386
1577
|
};
|
|
2387
1578
|
/** @internal */
|
|
2388
1579
|
export declare const DeploymentStreamMessagesUserMessage$outboundSchema: z.ZodType<DeploymentStreamMessagesUserMessage$Outbound, z.ZodTypeDef, DeploymentStreamMessagesUserMessage>;
|
|
2389
1580
|
export declare function deploymentStreamMessagesUserMessageToJSON(deploymentStreamMessagesUserMessage: DeploymentStreamMessagesUserMessage): string;
|
|
2390
1581
|
export declare function deploymentStreamMessagesUserMessageFromJSON(jsonString: string): SafeParseResult<DeploymentStreamMessagesUserMessage, SDKValidationError>;
|
|
2391
1582
|
/** @internal */
|
|
2392
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages2Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessages2Type>;
|
|
2393
|
-
/** @internal */
|
|
2394
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages2Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessages2Type>;
|
|
2395
|
-
/** @internal */
|
|
2396
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages22Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessages22Type>;
|
|
2397
|
-
/** @internal */
|
|
2398
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages22Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessages22Type>;
|
|
2399
|
-
/** @internal */
|
|
2400
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyTtl>;
|
|
2401
|
-
/** @internal */
|
|
2402
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyTtl>;
|
|
2403
|
-
/** @internal */
|
|
2404
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyCacheControl$inboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyCacheControl, z.ZodTypeDef, unknown>;
|
|
2405
|
-
/** @internal */
|
|
2406
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyCacheControl$Outbound = {
|
|
2407
|
-
type: string;
|
|
2408
|
-
ttl: string;
|
|
2409
|
-
};
|
|
2410
|
-
/** @internal */
|
|
2411
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyCacheControl$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyCacheControl$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestRequestBodyCacheControl>;
|
|
2412
|
-
export declare function deploymentStreamContentDeploymentsRequestRequestBodyCacheControlToJSON(deploymentStreamContentDeploymentsRequestRequestBodyCacheControl: DeploymentStreamContentDeploymentsRequestRequestBodyCacheControl): string;
|
|
2413
|
-
export declare function deploymentStreamContentDeploymentsRequestRequestBodyCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeploymentsRequestRequestBodyCacheControl, SDKValidationError>;
|
|
2414
|
-
/** @internal */
|
|
2415
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages22$inboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages22, z.ZodTypeDef, unknown>;
|
|
2416
|
-
/** @internal */
|
|
2417
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages22$Outbound = {
|
|
2418
|
-
type: string;
|
|
2419
|
-
text: string;
|
|
2420
|
-
cache_control?: DeploymentStreamContentDeploymentsRequestRequestBodyCacheControl$Outbound | undefined;
|
|
2421
|
-
};
|
|
2422
|
-
/** @internal */
|
|
2423
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages22$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages22$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestRequestBodyMessages22>;
|
|
2424
|
-
export declare function deploymentStreamContentDeploymentsRequestRequestBodyMessages22ToJSON(deploymentStreamContentDeploymentsRequestRequestBodyMessages22: DeploymentStreamContentDeploymentsRequestRequestBodyMessages22): string;
|
|
2425
|
-
export declare function deploymentStreamContentDeploymentsRequestRequestBodyMessages22FromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeploymentsRequestRequestBodyMessages22, SDKValidationError>;
|
|
2426
|
-
/** @internal */
|
|
2427
1583
|
export declare const DeploymentStreamMessagesDeploymentsContent$inboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsContent, z.ZodTypeDef, unknown>;
|
|
2428
1584
|
/** @internal */
|
|
2429
|
-
export type DeploymentStreamMessagesDeploymentsContent$Outbound = string | Array<
|
|
1585
|
+
export type DeploymentStreamMessagesDeploymentsContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2430
1586
|
/** @internal */
|
|
2431
1587
|
export declare const DeploymentStreamMessagesDeploymentsContent$outboundSchema: z.ZodType<DeploymentStreamMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentStreamMessagesDeploymentsContent>;
|
|
2432
1588
|
export declare function deploymentStreamMessagesDeploymentsContentToJSON(deploymentStreamMessagesDeploymentsContent: DeploymentStreamMessagesDeploymentsContent): string;
|
|
@@ -2436,7 +1592,7 @@ export declare const DeploymentStreamMessagesDeveloperMessage$inboundSchema: z.Z
|
|
|
2436
1592
|
/** @internal */
|
|
2437
1593
|
export type DeploymentStreamMessagesDeveloperMessage$Outbound = {
|
|
2438
1594
|
role: "developer";
|
|
2439
|
-
content: string | Array<
|
|
1595
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2440
1596
|
name?: string | undefined;
|
|
2441
1597
|
};
|
|
2442
1598
|
/** @internal */
|
|
@@ -2444,44 +1600,9 @@ export declare const DeploymentStreamMessagesDeveloperMessage$outboundSchema: z.
|
|
|
2444
1600
|
export declare function deploymentStreamMessagesDeveloperMessageToJSON(deploymentStreamMessagesDeveloperMessage: DeploymentStreamMessagesDeveloperMessage): string;
|
|
2445
1601
|
export declare function deploymentStreamMessagesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<DeploymentStreamMessagesDeveloperMessage, SDKValidationError>;
|
|
2446
1602
|
/** @internal */
|
|
2447
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessagesType$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessagesType>;
|
|
2448
|
-
/** @internal */
|
|
2449
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessagesType>;
|
|
2450
|
-
/** @internal */
|
|
2451
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages1Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessages1Type>;
|
|
2452
|
-
/** @internal */
|
|
2453
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages1Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestRequestBodyMessages1Type>;
|
|
2454
|
-
/** @internal */
|
|
2455
|
-
export declare const DeploymentStreamContentDeploymentsRequestTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestTtl>;
|
|
2456
|
-
/** @internal */
|
|
2457
|
-
export declare const DeploymentStreamContentDeploymentsRequestTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentStreamContentDeploymentsRequestTtl>;
|
|
2458
|
-
/** @internal */
|
|
2459
|
-
export declare const DeploymentStreamContentDeploymentsRequestCacheControl$inboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestCacheControl, z.ZodTypeDef, unknown>;
|
|
2460
|
-
/** @internal */
|
|
2461
|
-
export type DeploymentStreamContentDeploymentsRequestCacheControl$Outbound = {
|
|
2462
|
-
type: string;
|
|
2463
|
-
ttl: string;
|
|
2464
|
-
};
|
|
2465
|
-
/** @internal */
|
|
2466
|
-
export declare const DeploymentStreamContentDeploymentsRequestCacheControl$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestCacheControl$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestCacheControl>;
|
|
2467
|
-
export declare function deploymentStreamContentDeploymentsRequestCacheControlToJSON(deploymentStreamContentDeploymentsRequestCacheControl: DeploymentStreamContentDeploymentsRequestCacheControl): string;
|
|
2468
|
-
export declare function deploymentStreamContentDeploymentsRequestCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeploymentsRequestCacheControl, SDKValidationError>;
|
|
2469
|
-
/** @internal */
|
|
2470
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$inboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages2, z.ZodTypeDef, unknown>;
|
|
2471
|
-
/** @internal */
|
|
2472
|
-
export type DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$Outbound = {
|
|
2473
|
-
type: string;
|
|
2474
|
-
text: string;
|
|
2475
|
-
cache_control?: DeploymentStreamContentDeploymentsRequestCacheControl$Outbound | undefined;
|
|
2476
|
-
};
|
|
2477
|
-
/** @internal */
|
|
2478
|
-
export declare const DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$outboundSchema: z.ZodType<DeploymentStreamContentDeploymentsRequestRequestBodyMessages2$Outbound, z.ZodTypeDef, DeploymentStreamContentDeploymentsRequestRequestBodyMessages2>;
|
|
2479
|
-
export declare function deploymentStreamContentDeploymentsRequestRequestBodyMessages2ToJSON(deploymentStreamContentDeploymentsRequestRequestBodyMessages2: DeploymentStreamContentDeploymentsRequestRequestBodyMessages2): string;
|
|
2480
|
-
export declare function deploymentStreamContentDeploymentsRequestRequestBodyMessages2FromJSON(jsonString: string): SafeParseResult<DeploymentStreamContentDeploymentsRequestRequestBodyMessages2, SDKValidationError>;
|
|
2481
|
-
/** @internal */
|
|
2482
1603
|
export declare const DeploymentStreamMessagesContent$inboundSchema: z.ZodType<DeploymentStreamMessagesContent, z.ZodTypeDef, unknown>;
|
|
2483
1604
|
/** @internal */
|
|
2484
|
-
export type DeploymentStreamMessagesContent$Outbound = string | Array<
|
|
1605
|
+
export type DeploymentStreamMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2485
1606
|
/** @internal */
|
|
2486
1607
|
export declare const DeploymentStreamMessagesContent$outboundSchema: z.ZodType<DeploymentStreamMessagesContent$Outbound, z.ZodTypeDef, DeploymentStreamMessagesContent>;
|
|
2487
1608
|
export declare function deploymentStreamMessagesContentToJSON(deploymentStreamMessagesContent: DeploymentStreamMessagesContent): string;
|
|
@@ -2491,7 +1612,7 @@ export declare const DeploymentStreamMessagesSystemMessage$inboundSchema: z.ZodT
|
|
|
2491
1612
|
/** @internal */
|
|
2492
1613
|
export type DeploymentStreamMessagesSystemMessage$Outbound = {
|
|
2493
1614
|
role: "system";
|
|
2494
|
-
content: string | Array<
|
|
1615
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2495
1616
|
name?: string | undefined;
|
|
2496
1617
|
};
|
|
2497
1618
|
/** @internal */
|