@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
|
@@ -3,72 +3,11 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import * as components from "../components/index.js";
|
|
5
5
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
6
|
-
export
|
|
7
|
-
readonly Text: "text";
|
|
8
|
-
};
|
|
9
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type>;
|
|
10
|
-
/**
|
|
11
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
12
|
-
*/
|
|
13
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType: {
|
|
14
|
-
readonly Ephemeral: "ephemeral";
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
18
|
-
*/
|
|
19
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType>;
|
|
20
|
-
/**
|
|
21
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
22
|
-
*
|
|
23
|
-
* @remarks
|
|
24
|
-
*
|
|
25
|
-
* - `5m`: 5 minutes
|
|
26
|
-
* - `1h`: 1 hour
|
|
27
|
-
*
|
|
28
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
29
|
-
*/
|
|
30
|
-
export declare const DeploymentGetConfig2DeploymentsRequestTtl: {
|
|
31
|
-
readonly Fivem: "5m";
|
|
32
|
-
readonly Oneh: "1h";
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
36
|
-
*
|
|
37
|
-
* @remarks
|
|
38
|
-
*
|
|
39
|
-
* - `5m`: 5 minutes
|
|
40
|
-
* - `1h`: 1 hour
|
|
41
|
-
*
|
|
42
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
43
|
-
*/
|
|
44
|
-
export type DeploymentGetConfig2DeploymentsRequestTtl = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestTtl>;
|
|
45
|
-
export type DeploymentGetConfig2DeploymentsRequestCacheControl = {
|
|
46
|
-
/**
|
|
47
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
48
|
-
*/
|
|
49
|
-
type: DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType;
|
|
50
|
-
/**
|
|
51
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
52
|
-
*
|
|
53
|
-
* @remarks
|
|
54
|
-
*
|
|
55
|
-
* - `5m`: 5 minutes
|
|
56
|
-
* - `1h`: 1 hour
|
|
57
|
-
*
|
|
58
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
59
|
-
*/
|
|
60
|
-
ttl?: DeploymentGetConfig2DeploymentsRequestTtl | undefined;
|
|
61
|
-
};
|
|
62
|
-
export type DeploymentGetConfig21 = {
|
|
63
|
-
type: DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type;
|
|
64
|
-
text: string;
|
|
65
|
-
cacheControl?: DeploymentGetConfig2DeploymentsRequestCacheControl | undefined;
|
|
66
|
-
};
|
|
67
|
-
export type DeploymentGetConfigContentDeploymentsRequest2 = DeploymentGetConfig21;
|
|
6
|
+
export type DeploymentGetConfigContentDeployments2 = components.TextContentPartSchema;
|
|
68
7
|
/**
|
|
69
8
|
* The contents of the tool message.
|
|
70
9
|
*/
|
|
71
|
-
export type
|
|
10
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent = string | Array<components.TextContentPartSchema>;
|
|
72
11
|
/**
|
|
73
12
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
74
13
|
*/
|
|
@@ -129,75 +68,22 @@ export type ToolMessage = {
|
|
|
129
68
|
/**
|
|
130
69
|
* The contents of the tool message.
|
|
131
70
|
*/
|
|
132
|
-
content: string | Array<
|
|
71
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
133
72
|
/**
|
|
134
73
|
* Tool call that this message is responding to.
|
|
135
74
|
*/
|
|
136
75
|
toolCallId: string;
|
|
137
76
|
cacheControl?: PrefixMessagesCacheControl | undefined;
|
|
138
77
|
};
|
|
139
|
-
|
|
140
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
141
|
-
*/
|
|
142
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType: {
|
|
143
|
-
readonly Ephemeral: "ephemeral";
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
147
|
-
*/
|
|
148
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType>;
|
|
149
|
-
/**
|
|
150
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
151
|
-
*
|
|
152
|
-
* @remarks
|
|
153
|
-
*
|
|
154
|
-
* - `5m`: 5 minutes
|
|
155
|
-
* - `1h`: 1 hour
|
|
156
|
-
*
|
|
157
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
158
|
-
*/
|
|
159
|
-
export declare const DeploymentGetConfig2DeploymentsTtl: {
|
|
160
|
-
readonly Fivem: "5m";
|
|
161
|
-
readonly Oneh: "1h";
|
|
162
|
-
};
|
|
163
|
-
/**
|
|
164
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
165
|
-
*
|
|
166
|
-
* @remarks
|
|
167
|
-
*
|
|
168
|
-
* - `5m`: 5 minutes
|
|
169
|
-
* - `1h`: 1 hour
|
|
170
|
-
*
|
|
171
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
172
|
-
*/
|
|
173
|
-
export type DeploymentGetConfig2DeploymentsTtl = ClosedEnum<typeof DeploymentGetConfig2DeploymentsTtl>;
|
|
174
|
-
export type DeploymentGetConfig2DeploymentsCacheControl = {
|
|
175
|
-
/**
|
|
176
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
177
|
-
*/
|
|
178
|
-
type: DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType;
|
|
179
|
-
/**
|
|
180
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
181
|
-
*
|
|
182
|
-
* @remarks
|
|
183
|
-
*
|
|
184
|
-
* - `5m`: 5 minutes
|
|
185
|
-
* - `1h`: 1 hour
|
|
186
|
-
*
|
|
187
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
188
|
-
*/
|
|
189
|
-
ttl?: DeploymentGetConfig2DeploymentsTtl | undefined;
|
|
190
|
-
};
|
|
191
|
-
export type Two1 = {
|
|
78
|
+
export type DeploymentGetConfigContent2 = (components.TextContentPartSchema & {
|
|
192
79
|
type: "text";
|
|
193
|
-
|
|
194
|
-
cacheControl?: DeploymentGetConfig2DeploymentsCacheControl | undefined;
|
|
195
|
-
};
|
|
196
|
-
export type DeploymentGetConfigContentDeployments2 = Two1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
80
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
197
81
|
/**
|
|
198
82
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
199
83
|
*/
|
|
200
|
-
export type
|
|
84
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestContent = string | Array<(components.TextContentPartSchema & {
|
|
85
|
+
type: "text";
|
|
86
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
201
87
|
/**
|
|
202
88
|
* Data about a previous audio response from the model.
|
|
203
89
|
*/
|
|
@@ -217,7 +103,7 @@ export declare const PrefixMessagesType: {
|
|
|
217
103
|
* The type of the tool. Currently, only `function` is supported.
|
|
218
104
|
*/
|
|
219
105
|
export type PrefixMessagesType = ClosedEnum<typeof PrefixMessagesType>;
|
|
220
|
-
export type
|
|
106
|
+
export type PrefixMessagesFunction = {
|
|
221
107
|
/**
|
|
222
108
|
* The name of the function to call.
|
|
223
109
|
*/
|
|
@@ -227,7 +113,7 @@ export type FunctionT = {
|
|
|
227
113
|
*/
|
|
228
114
|
arguments?: string | undefined;
|
|
229
115
|
};
|
|
230
|
-
export type
|
|
116
|
+
export type PrefixMessagesToolCalls = {
|
|
231
117
|
/**
|
|
232
118
|
* The ID of the tool call.
|
|
233
119
|
*/
|
|
@@ -236,7 +122,7 @@ export type ToolCalls = {
|
|
|
236
122
|
* The type of the tool. Currently, only `function` is supported.
|
|
237
123
|
*/
|
|
238
124
|
type: PrefixMessagesType;
|
|
239
|
-
function:
|
|
125
|
+
function: PrefixMessagesFunction;
|
|
240
126
|
/**
|
|
241
127
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
242
128
|
*/
|
|
@@ -246,7 +132,9 @@ export type AssistantMessage = {
|
|
|
246
132
|
/**
|
|
247
133
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
248
134
|
*/
|
|
249
|
-
content?: string | Array<
|
|
135
|
+
content?: string | Array<(components.TextContentPartSchema & {
|
|
136
|
+
type: "text";
|
|
137
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
250
138
|
/**
|
|
251
139
|
* The refusal message by the assistant.
|
|
252
140
|
*/
|
|
@@ -266,18 +154,18 @@ export type AssistantMessage = {
|
|
|
266
154
|
/**
|
|
267
155
|
* The tool calls generated by the model, such as function calls.
|
|
268
156
|
*/
|
|
269
|
-
toolCalls?: Array<
|
|
157
|
+
toolCalls?: Array<PrefixMessagesToolCalls> | undefined;
|
|
270
158
|
};
|
|
271
159
|
/**
|
|
272
160
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
273
161
|
*/
|
|
274
|
-
export declare const
|
|
162
|
+
export declare const DeploymentGetConfig2DeploymentsType: {
|
|
275
163
|
readonly Ephemeral: "ephemeral";
|
|
276
164
|
};
|
|
277
165
|
/**
|
|
278
166
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
279
167
|
*/
|
|
280
|
-
export type
|
|
168
|
+
export type DeploymentGetConfig2DeploymentsType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
281
169
|
/**
|
|
282
170
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
283
171
|
*
|
|
@@ -288,7 +176,7 @@ export type DeploymentGetConfig2DeploymentsRequestType = ClosedEnum<typeof Deplo
|
|
|
288
176
|
*
|
|
289
177
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
290
178
|
*/
|
|
291
|
-
export declare const
|
|
179
|
+
export declare const Ttl: {
|
|
292
180
|
readonly Fivem: "5m";
|
|
293
181
|
readonly Oneh: "1h";
|
|
294
182
|
};
|
|
@@ -302,12 +190,12 @@ export declare const DeploymentGetConfig2Ttl: {
|
|
|
302
190
|
*
|
|
303
191
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
304
192
|
*/
|
|
305
|
-
export type
|
|
306
|
-
export type
|
|
193
|
+
export type Ttl = ClosedEnum<typeof Ttl>;
|
|
194
|
+
export type CacheControl = {
|
|
307
195
|
/**
|
|
308
196
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
309
197
|
*/
|
|
310
|
-
type:
|
|
198
|
+
type: DeploymentGetConfig2DeploymentsType;
|
|
311
199
|
/**
|
|
312
200
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
313
201
|
*
|
|
@@ -318,81 +206,28 @@ export type DeploymentGetConfig2CacheControl = {
|
|
|
318
206
|
*
|
|
319
207
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
320
208
|
*/
|
|
321
|
-
ttl?:
|
|
209
|
+
ttl?: Ttl | undefined;
|
|
322
210
|
};
|
|
323
211
|
export type Four = {
|
|
324
212
|
/**
|
|
325
213
|
* The type of the content part. Always `file`.
|
|
326
214
|
*/
|
|
327
215
|
type: "file";
|
|
328
|
-
cacheControl?:
|
|
216
|
+
cacheControl?: CacheControl | undefined;
|
|
329
217
|
/**
|
|
330
218
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
331
219
|
*/
|
|
332
220
|
file: components.FileContentPartSchema;
|
|
333
221
|
};
|
|
334
|
-
|
|
335
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
336
|
-
*/
|
|
337
|
-
export declare const DeploymentGetConfig2Type: {
|
|
338
|
-
readonly Ephemeral: "ephemeral";
|
|
339
|
-
};
|
|
340
|
-
/**
|
|
341
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
342
|
-
*/
|
|
343
|
-
export type DeploymentGetConfig2Type = ClosedEnum<typeof DeploymentGetConfig2Type>;
|
|
344
|
-
/**
|
|
345
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
346
|
-
*
|
|
347
|
-
* @remarks
|
|
348
|
-
*
|
|
349
|
-
* - `5m`: 5 minutes
|
|
350
|
-
* - `1h`: 1 hour
|
|
351
|
-
*
|
|
352
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
353
|
-
*/
|
|
354
|
-
export declare const TwoTtl: {
|
|
355
|
-
readonly Fivem: "5m";
|
|
356
|
-
readonly Oneh: "1h";
|
|
357
|
-
};
|
|
358
|
-
/**
|
|
359
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
360
|
-
*
|
|
361
|
-
* @remarks
|
|
362
|
-
*
|
|
363
|
-
* - `5m`: 5 minutes
|
|
364
|
-
* - `1h`: 1 hour
|
|
365
|
-
*
|
|
366
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
367
|
-
*/
|
|
368
|
-
export type TwoTtl = ClosedEnum<typeof TwoTtl>;
|
|
369
|
-
export type TwoCacheControl = {
|
|
370
|
-
/**
|
|
371
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
372
|
-
*/
|
|
373
|
-
type: DeploymentGetConfig2Type;
|
|
374
|
-
/**
|
|
375
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
376
|
-
*
|
|
377
|
-
* @remarks
|
|
378
|
-
*
|
|
379
|
-
* - `5m`: 5 minutes
|
|
380
|
-
* - `1h`: 1 hour
|
|
381
|
-
*
|
|
382
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
383
|
-
*/
|
|
384
|
-
ttl?: TwoTtl | undefined;
|
|
385
|
-
};
|
|
386
|
-
export type One = {
|
|
222
|
+
export type Content2 = (components.TextContentPartSchema & {
|
|
387
223
|
type: "text";
|
|
388
|
-
|
|
389
|
-
cacheControl?: TwoCacheControl | undefined;
|
|
390
|
-
};
|
|
391
|
-
export type DeploymentGetConfigContent2 = One | components.ImageContentPartSchema | components.AudioContentPartSchema | Four;
|
|
224
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | Four;
|
|
392
225
|
/**
|
|
393
226
|
* The contents of the user message.
|
|
394
227
|
*/
|
|
395
|
-
export type
|
|
228
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsContent = string | Array<(components.TextContentPartSchema & {
|
|
229
|
+
type: "text";
|
|
230
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | Four>;
|
|
396
231
|
export type UserMessage = {
|
|
397
232
|
/**
|
|
398
233
|
* The role of the messages author, in this case `user`.
|
|
@@ -405,73 +240,14 @@ export type UserMessage = {
|
|
|
405
240
|
/**
|
|
406
241
|
* The contents of the user message.
|
|
407
242
|
*/
|
|
408
|
-
content: string | Array<
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
readonly Text: "text";
|
|
412
|
-
};
|
|
413
|
-
export type DeploymentGetConfigContentType = ClosedEnum<typeof DeploymentGetConfigContentType>;
|
|
414
|
-
/**
|
|
415
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
416
|
-
*/
|
|
417
|
-
export declare const DeploymentGetConfigContentDeploymentsType: {
|
|
418
|
-
readonly Ephemeral: "ephemeral";
|
|
419
|
-
};
|
|
420
|
-
/**
|
|
421
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
422
|
-
*/
|
|
423
|
-
export type DeploymentGetConfigContentDeploymentsType = ClosedEnum<typeof DeploymentGetConfigContentDeploymentsType>;
|
|
424
|
-
/**
|
|
425
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
426
|
-
*
|
|
427
|
-
* @remarks
|
|
428
|
-
*
|
|
429
|
-
* - `5m`: 5 minutes
|
|
430
|
-
* - `1h`: 1 hour
|
|
431
|
-
*
|
|
432
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
433
|
-
*/
|
|
434
|
-
export declare const ContentTtl: {
|
|
435
|
-
readonly Fivem: "5m";
|
|
436
|
-
readonly Oneh: "1h";
|
|
437
|
-
};
|
|
438
|
-
/**
|
|
439
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
440
|
-
*
|
|
441
|
-
* @remarks
|
|
442
|
-
*
|
|
443
|
-
* - `5m`: 5 minutes
|
|
444
|
-
* - `1h`: 1 hour
|
|
445
|
-
*
|
|
446
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
447
|
-
*/
|
|
448
|
-
export type ContentTtl = ClosedEnum<typeof ContentTtl>;
|
|
449
|
-
export type ContentCacheControl = {
|
|
450
|
-
/**
|
|
451
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
452
|
-
*/
|
|
453
|
-
type: DeploymentGetConfigContentDeploymentsType;
|
|
454
|
-
/**
|
|
455
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
456
|
-
*
|
|
457
|
-
* @remarks
|
|
458
|
-
*
|
|
459
|
-
* - `5m`: 5 minutes
|
|
460
|
-
* - `1h`: 1 hour
|
|
461
|
-
*
|
|
462
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
463
|
-
*/
|
|
464
|
-
ttl?: ContentTtl | undefined;
|
|
465
|
-
};
|
|
466
|
-
export type Content2 = {
|
|
467
|
-
type: DeploymentGetConfigContentType;
|
|
468
|
-
text: string;
|
|
469
|
-
cacheControl?: ContentCacheControl | undefined;
|
|
243
|
+
content: string | Array<(components.TextContentPartSchema & {
|
|
244
|
+
type: "text";
|
|
245
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | Four>;
|
|
470
246
|
};
|
|
471
247
|
/**
|
|
472
248
|
* The contents of the developer message.
|
|
473
249
|
*/
|
|
474
|
-
export type
|
|
250
|
+
export type DeploymentGetConfigPrefixMessagesContent = string | Array<components.TextContentPartSchema>;
|
|
475
251
|
export type DeveloperMessage = {
|
|
476
252
|
/**
|
|
477
253
|
* The role of the messages author, in this case `developer`.
|
|
@@ -480,77 +256,16 @@ export type DeveloperMessage = {
|
|
|
480
256
|
/**
|
|
481
257
|
* The contents of the developer message.
|
|
482
258
|
*/
|
|
483
|
-
content: string | Array<
|
|
259
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
484
260
|
/**
|
|
485
261
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
486
262
|
*/
|
|
487
263
|
name?: string | undefined;
|
|
488
264
|
};
|
|
489
|
-
export declare const Type: {
|
|
490
|
-
readonly Text: "text";
|
|
491
|
-
};
|
|
492
|
-
export type Type = ClosedEnum<typeof Type>;
|
|
493
|
-
/**
|
|
494
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
495
|
-
*/
|
|
496
|
-
export declare const ContentType: {
|
|
497
|
-
readonly Ephemeral: "ephemeral";
|
|
498
|
-
};
|
|
499
|
-
/**
|
|
500
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
501
|
-
*/
|
|
502
|
-
export type ContentType = ClosedEnum<typeof ContentType>;
|
|
503
|
-
/**
|
|
504
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
505
|
-
*
|
|
506
|
-
* @remarks
|
|
507
|
-
*
|
|
508
|
-
* - `5m`: 5 minutes
|
|
509
|
-
* - `1h`: 1 hour
|
|
510
|
-
*
|
|
511
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
512
|
-
*/
|
|
513
|
-
export declare const Ttl: {
|
|
514
|
-
readonly Fivem: "5m";
|
|
515
|
-
readonly Oneh: "1h";
|
|
516
|
-
};
|
|
517
|
-
/**
|
|
518
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
519
|
-
*
|
|
520
|
-
* @remarks
|
|
521
|
-
*
|
|
522
|
-
* - `5m`: 5 minutes
|
|
523
|
-
* - `1h`: 1 hour
|
|
524
|
-
*
|
|
525
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
526
|
-
*/
|
|
527
|
-
export type Ttl = ClosedEnum<typeof Ttl>;
|
|
528
|
-
export type CacheControl = {
|
|
529
|
-
/**
|
|
530
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
531
|
-
*/
|
|
532
|
-
type: ContentType;
|
|
533
|
-
/**
|
|
534
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
535
|
-
*
|
|
536
|
-
* @remarks
|
|
537
|
-
*
|
|
538
|
-
* - `5m`: 5 minutes
|
|
539
|
-
* - `1h`: 1 hour
|
|
540
|
-
*
|
|
541
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
542
|
-
*/
|
|
543
|
-
ttl?: Ttl | undefined;
|
|
544
|
-
};
|
|
545
|
-
export type Two = {
|
|
546
|
-
type: Type;
|
|
547
|
-
text: string;
|
|
548
|
-
cacheControl?: CacheControl | undefined;
|
|
549
|
-
};
|
|
550
265
|
/**
|
|
551
266
|
* The contents of the system message.
|
|
552
267
|
*/
|
|
553
|
-
export type
|
|
268
|
+
export type PrefixMessagesContent = string | Array<components.TextContentPartSchema>;
|
|
554
269
|
/**
|
|
555
270
|
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
556
271
|
*/
|
|
@@ -562,79 +277,18 @@ export type SystemMessage = {
|
|
|
562
277
|
/**
|
|
563
278
|
* The contents of the system message.
|
|
564
279
|
*/
|
|
565
|
-
content: string | Array<
|
|
280
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
566
281
|
/**
|
|
567
282
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
568
283
|
*/
|
|
569
|
-
name?: string | undefined;
|
|
570
|
-
};
|
|
571
|
-
export type PrefixMessages = SystemMessage | DeveloperMessage | UserMessage | AssistantMessage | ToolMessage;
|
|
572
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type: {
|
|
573
|
-
readonly Text: "text";
|
|
574
|
-
};
|
|
575
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type>;
|
|
576
|
-
/**
|
|
577
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
578
|
-
*/
|
|
579
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType: {
|
|
580
|
-
readonly Ephemeral: "ephemeral";
|
|
581
|
-
};
|
|
582
|
-
/**
|
|
583
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
584
|
-
*/
|
|
585
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType>;
|
|
586
|
-
/**
|
|
587
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
588
|
-
*
|
|
589
|
-
* @remarks
|
|
590
|
-
*
|
|
591
|
-
* - `5m`: 5 minutes
|
|
592
|
-
* - `1h`: 1 hour
|
|
593
|
-
*
|
|
594
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
595
|
-
*/
|
|
596
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl: {
|
|
597
|
-
readonly Fivem: "5m";
|
|
598
|
-
readonly Oneh: "1h";
|
|
599
|
-
};
|
|
600
|
-
/**
|
|
601
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
602
|
-
*
|
|
603
|
-
* @remarks
|
|
604
|
-
*
|
|
605
|
-
* - `5m`: 5 minutes
|
|
606
|
-
* - `1h`: 1 hour
|
|
607
|
-
*
|
|
608
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
609
|
-
*/
|
|
610
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl>;
|
|
611
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl = {
|
|
612
|
-
/**
|
|
613
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
614
|
-
*/
|
|
615
|
-
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType;
|
|
616
|
-
/**
|
|
617
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
618
|
-
*
|
|
619
|
-
* @remarks
|
|
620
|
-
*
|
|
621
|
-
* - `5m`: 5 minutes
|
|
622
|
-
* - `1h`: 1 hour
|
|
623
|
-
*
|
|
624
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
625
|
-
*/
|
|
626
|
-
ttl?: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl | undefined;
|
|
627
|
-
};
|
|
628
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBody1 = {
|
|
629
|
-
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type;
|
|
630
|
-
text: string;
|
|
631
|
-
cacheControl?: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl | undefined;
|
|
284
|
+
name?: string | undefined;
|
|
632
285
|
};
|
|
633
|
-
export type
|
|
286
|
+
export type PrefixMessages = SystemMessage | DeveloperMessage | UserMessage | AssistantMessage | ToolMessage;
|
|
287
|
+
export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2 = components.TextContentPartSchema;
|
|
634
288
|
/**
|
|
635
289
|
* The contents of the tool message.
|
|
636
290
|
*/
|
|
637
|
-
export type DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent = string | Array<
|
|
291
|
+
export type DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent = string | Array<components.TextContentPartSchema>;
|
|
638
292
|
/**
|
|
639
293
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
640
294
|
*/
|
|
@@ -695,75 +349,22 @@ export type MessagesToolMessage = {
|
|
|
695
349
|
/**
|
|
696
350
|
* The contents of the tool message.
|
|
697
351
|
*/
|
|
698
|
-
content: string | Array<
|
|
352
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
699
353
|
/**
|
|
700
354
|
* Tool call that this message is responding to.
|
|
701
355
|
*/
|
|
702
356
|
toolCallId: string;
|
|
703
357
|
cacheControl?: MessagesCacheControl | undefined;
|
|
704
358
|
};
|
|
705
|
-
|
|
706
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
707
|
-
*/
|
|
708
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType: {
|
|
709
|
-
readonly Ephemeral: "ephemeral";
|
|
710
|
-
};
|
|
711
|
-
/**
|
|
712
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
713
|
-
*/
|
|
714
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType>;
|
|
715
|
-
/**
|
|
716
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
717
|
-
*
|
|
718
|
-
* @remarks
|
|
719
|
-
*
|
|
720
|
-
* - `5m`: 5 minutes
|
|
721
|
-
* - `1h`: 1 hour
|
|
722
|
-
*
|
|
723
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
724
|
-
*/
|
|
725
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl: {
|
|
726
|
-
readonly Fivem: "5m";
|
|
727
|
-
readonly Oneh: "1h";
|
|
728
|
-
};
|
|
729
|
-
/**
|
|
730
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
731
|
-
*
|
|
732
|
-
* @remarks
|
|
733
|
-
*
|
|
734
|
-
* - `5m`: 5 minutes
|
|
735
|
-
* - `1h`: 1 hour
|
|
736
|
-
*
|
|
737
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
738
|
-
*/
|
|
739
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl>;
|
|
740
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl = {
|
|
741
|
-
/**
|
|
742
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
743
|
-
*/
|
|
744
|
-
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType;
|
|
745
|
-
/**
|
|
746
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
747
|
-
*
|
|
748
|
-
* @remarks
|
|
749
|
-
*
|
|
750
|
-
* - `5m`: 5 minutes
|
|
751
|
-
* - `1h`: 1 hour
|
|
752
|
-
*
|
|
753
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
754
|
-
*/
|
|
755
|
-
ttl?: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl | undefined;
|
|
756
|
-
};
|
|
757
|
-
export type DeploymentGetConfig2DeploymentsRequest1 = {
|
|
359
|
+
export type DeploymentGetConfigContentDeploymentsRequestRequestBody2 = (components.TextContentPartSchema & {
|
|
758
360
|
type: "text";
|
|
759
|
-
|
|
760
|
-
cacheControl?: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl | undefined;
|
|
761
|
-
};
|
|
762
|
-
export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42 = DeploymentGetConfig2DeploymentsRequest1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
361
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
763
362
|
/**
|
|
764
363
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
765
364
|
*/
|
|
766
|
-
export type DeploymentGetConfigMessagesDeploymentsRequestContent = string | Array<
|
|
365
|
+
export type DeploymentGetConfigMessagesDeploymentsRequestContent = string | Array<(components.TextContentPartSchema & {
|
|
366
|
+
type: "text";
|
|
367
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
767
368
|
/**
|
|
768
369
|
* Data about a previous audio response from the model.
|
|
769
370
|
*/
|
|
@@ -812,7 +413,9 @@ export type MessagesAssistantMessage = {
|
|
|
812
413
|
/**
|
|
813
414
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
814
415
|
*/
|
|
815
|
-
content?: string | Array<
|
|
416
|
+
content?: string | Array<(components.TextContentPartSchema & {
|
|
417
|
+
type: "text";
|
|
418
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
816
419
|
/**
|
|
817
420
|
* The refusal message by the assistant.
|
|
818
421
|
*/
|
|
@@ -837,13 +440,13 @@ export type MessagesAssistantMessage = {
|
|
|
837
440
|
/**
|
|
838
441
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
839
442
|
*/
|
|
840
|
-
export declare const
|
|
443
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType: {
|
|
841
444
|
readonly Ephemeral: "ephemeral";
|
|
842
445
|
};
|
|
843
446
|
/**
|
|
844
447
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
845
448
|
*/
|
|
846
|
-
export type
|
|
449
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
847
450
|
/**
|
|
848
451
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
849
452
|
*
|
|
@@ -854,7 +457,7 @@ export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Ty
|
|
|
854
457
|
*
|
|
855
458
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
856
459
|
*/
|
|
857
|
-
export declare const
|
|
460
|
+
export declare const TwoTtl: {
|
|
858
461
|
readonly Fivem: "5m";
|
|
859
462
|
readonly Oneh: "1h";
|
|
860
463
|
};
|
|
@@ -868,12 +471,12 @@ export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesTt
|
|
|
868
471
|
*
|
|
869
472
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
870
473
|
*/
|
|
871
|
-
export type
|
|
872
|
-
export type
|
|
474
|
+
export type TwoTtl = ClosedEnum<typeof TwoTtl>;
|
|
475
|
+
export type TwoCacheControl = {
|
|
873
476
|
/**
|
|
874
477
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
875
478
|
*/
|
|
876
|
-
type:
|
|
479
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyType;
|
|
877
480
|
/**
|
|
878
481
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
879
482
|
*
|
|
@@ -884,81 +487,28 @@ export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesCacheContro
|
|
|
884
487
|
*
|
|
885
488
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
886
489
|
*/
|
|
887
|
-
ttl?:
|
|
490
|
+
ttl?: TwoTtl | undefined;
|
|
888
491
|
};
|
|
889
492
|
export type Two4 = {
|
|
890
493
|
/**
|
|
891
494
|
* The type of the content part. Always `file`.
|
|
892
495
|
*/
|
|
893
496
|
type: "file";
|
|
894
|
-
cacheControl?:
|
|
497
|
+
cacheControl?: TwoCacheControl | undefined;
|
|
895
498
|
/**
|
|
896
499
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
897
500
|
*/
|
|
898
501
|
file: components.FileContentPartSchema;
|
|
899
502
|
};
|
|
900
|
-
|
|
901
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
902
|
-
*/
|
|
903
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type: {
|
|
904
|
-
readonly Ephemeral: "ephemeral";
|
|
905
|
-
};
|
|
906
|
-
/**
|
|
907
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
908
|
-
*/
|
|
909
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type>;
|
|
910
|
-
/**
|
|
911
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
912
|
-
*
|
|
913
|
-
* @remarks
|
|
914
|
-
*
|
|
915
|
-
* - `5m`: 5 minutes
|
|
916
|
-
* - `1h`: 1 hour
|
|
917
|
-
*
|
|
918
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
919
|
-
*/
|
|
920
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyTtl: {
|
|
921
|
-
readonly Fivem: "5m";
|
|
922
|
-
readonly Oneh: "1h";
|
|
923
|
-
};
|
|
924
|
-
/**
|
|
925
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
926
|
-
*
|
|
927
|
-
* @remarks
|
|
928
|
-
*
|
|
929
|
-
* - `5m`: 5 minutes
|
|
930
|
-
* - `1h`: 1 hour
|
|
931
|
-
*
|
|
932
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
933
|
-
*/
|
|
934
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyTtl = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyTtl>;
|
|
935
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl = {
|
|
936
|
-
/**
|
|
937
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
938
|
-
*/
|
|
939
|
-
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type;
|
|
940
|
-
/**
|
|
941
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
942
|
-
*
|
|
943
|
-
* @remarks
|
|
944
|
-
*
|
|
945
|
-
* - `5m`: 5 minutes
|
|
946
|
-
* - `1h`: 1 hour
|
|
947
|
-
*
|
|
948
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
949
|
-
*/
|
|
950
|
-
ttl?: DeploymentGetConfig2DeploymentsRequestRequestBodyTtl | undefined;
|
|
951
|
-
};
|
|
952
|
-
export type DeploymentGetConfig2Deployments1 = {
|
|
503
|
+
export type DeploymentGetConfigContentDeploymentsRequest2 = (components.TextContentPartSchema & {
|
|
953
504
|
type: "text";
|
|
954
|
-
|
|
955
|
-
cacheControl?: DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl | undefined;
|
|
956
|
-
};
|
|
957
|
-
export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32 = DeploymentGetConfig2Deployments1 | components.ImageContentPartSchema | components.AudioContentPartSchema | Two4;
|
|
505
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | Two4;
|
|
958
506
|
/**
|
|
959
507
|
* The contents of the user message.
|
|
960
508
|
*/
|
|
961
|
-
export type DeploymentGetConfigMessagesDeploymentsContent = string | Array<
|
|
509
|
+
export type DeploymentGetConfigMessagesDeploymentsContent = string | Array<(components.TextContentPartSchema & {
|
|
510
|
+
type: "text";
|
|
511
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | Two4>;
|
|
962
512
|
export type MessagesUserMessage = {
|
|
963
513
|
/**
|
|
964
514
|
* The role of the messages author, in this case `user`.
|
|
@@ -971,73 +521,14 @@ export type MessagesUserMessage = {
|
|
|
971
521
|
/**
|
|
972
522
|
* The contents of the user message.
|
|
973
523
|
*/
|
|
974
|
-
content: string | Array<
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
readonly Text: "text";
|
|
978
|
-
};
|
|
979
|
-
export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType = ClosedEnum<typeof DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType>;
|
|
980
|
-
/**
|
|
981
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
982
|
-
*/
|
|
983
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type: {
|
|
984
|
-
readonly Ephemeral: "ephemeral";
|
|
985
|
-
};
|
|
986
|
-
/**
|
|
987
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
988
|
-
*/
|
|
989
|
-
export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type = ClosedEnum<typeof DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type>;
|
|
990
|
-
/**
|
|
991
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
992
|
-
*
|
|
993
|
-
* @remarks
|
|
994
|
-
*
|
|
995
|
-
* - `5m`: 5 minutes
|
|
996
|
-
* - `1h`: 1 hour
|
|
997
|
-
*
|
|
998
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
999
|
-
*/
|
|
1000
|
-
export declare const DeploymentGetConfigContentDeploymentsTtl: {
|
|
1001
|
-
readonly Fivem: "5m";
|
|
1002
|
-
readonly Oneh: "1h";
|
|
1003
|
-
};
|
|
1004
|
-
/**
|
|
1005
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1006
|
-
*
|
|
1007
|
-
* @remarks
|
|
1008
|
-
*
|
|
1009
|
-
* - `5m`: 5 minutes
|
|
1010
|
-
* - `1h`: 1 hour
|
|
1011
|
-
*
|
|
1012
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1013
|
-
*/
|
|
1014
|
-
export type DeploymentGetConfigContentDeploymentsTtl = ClosedEnum<typeof DeploymentGetConfigContentDeploymentsTtl>;
|
|
1015
|
-
export type DeploymentGetConfigContentDeploymentsCacheControl = {
|
|
1016
|
-
/**
|
|
1017
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1018
|
-
*/
|
|
1019
|
-
type: DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type;
|
|
1020
|
-
/**
|
|
1021
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1022
|
-
*
|
|
1023
|
-
* @remarks
|
|
1024
|
-
*
|
|
1025
|
-
* - `5m`: 5 minutes
|
|
1026
|
-
* - `1h`: 1 hour
|
|
1027
|
-
*
|
|
1028
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1029
|
-
*/
|
|
1030
|
-
ttl?: DeploymentGetConfigContentDeploymentsTtl | undefined;
|
|
1031
|
-
};
|
|
1032
|
-
export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2 = {
|
|
1033
|
-
type: DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType;
|
|
1034
|
-
text: string;
|
|
1035
|
-
cacheControl?: DeploymentGetConfigContentDeploymentsCacheControl | undefined;
|
|
524
|
+
content: string | Array<(components.TextContentPartSchema & {
|
|
525
|
+
type: "text";
|
|
526
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | Two4>;
|
|
1036
527
|
};
|
|
1037
528
|
/**
|
|
1038
529
|
* The contents of the developer message.
|
|
1039
530
|
*/
|
|
1040
|
-
export type DeploymentGetConfigMessagesContent = string | Array<
|
|
531
|
+
export type DeploymentGetConfigMessagesContent = string | Array<components.TextContentPartSchema>;
|
|
1041
532
|
export type MessagesDeveloperMessage = {
|
|
1042
533
|
/**
|
|
1043
534
|
* The role of the messages author, in this case `developer`.
|
|
@@ -1046,77 +537,16 @@ export type MessagesDeveloperMessage = {
|
|
|
1046
537
|
/**
|
|
1047
538
|
* The contents of the developer message.
|
|
1048
539
|
*/
|
|
1049
|
-
content: string | Array<
|
|
540
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
1050
541
|
/**
|
|
1051
542
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
1052
543
|
*/
|
|
1053
544
|
name?: string | undefined;
|
|
1054
545
|
};
|
|
1055
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestType: {
|
|
1056
|
-
readonly Text: "text";
|
|
1057
|
-
};
|
|
1058
|
-
export type DeploymentGetConfigContentDeploymentsRequestType = ClosedEnum<typeof DeploymentGetConfigContentDeploymentsRequestType>;
|
|
1059
|
-
/**
|
|
1060
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1061
|
-
*/
|
|
1062
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyType: {
|
|
1063
|
-
readonly Ephemeral: "ephemeral";
|
|
1064
|
-
};
|
|
1065
|
-
/**
|
|
1066
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1067
|
-
*/
|
|
1068
|
-
export type DeploymentGetConfigContentDeploymentsRequestRequestBodyType = ClosedEnum<typeof DeploymentGetConfigContentDeploymentsRequestRequestBodyType>;
|
|
1069
|
-
/**
|
|
1070
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1071
|
-
*
|
|
1072
|
-
* @remarks
|
|
1073
|
-
*
|
|
1074
|
-
* - `5m`: 5 minutes
|
|
1075
|
-
* - `1h`: 1 hour
|
|
1076
|
-
*
|
|
1077
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1078
|
-
*/
|
|
1079
|
-
export declare const DeploymentGetConfigContentTtl: {
|
|
1080
|
-
readonly Fivem: "5m";
|
|
1081
|
-
readonly Oneh: "1h";
|
|
1082
|
-
};
|
|
1083
|
-
/**
|
|
1084
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1085
|
-
*
|
|
1086
|
-
* @remarks
|
|
1087
|
-
*
|
|
1088
|
-
* - `5m`: 5 minutes
|
|
1089
|
-
* - `1h`: 1 hour
|
|
1090
|
-
*
|
|
1091
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1092
|
-
*/
|
|
1093
|
-
export type DeploymentGetConfigContentTtl = ClosedEnum<typeof DeploymentGetConfigContentTtl>;
|
|
1094
|
-
export type DeploymentGetConfigContentCacheControl = {
|
|
1095
|
-
/**
|
|
1096
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1097
|
-
*/
|
|
1098
|
-
type: DeploymentGetConfigContentDeploymentsRequestRequestBodyType;
|
|
1099
|
-
/**
|
|
1100
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1101
|
-
*
|
|
1102
|
-
* @remarks
|
|
1103
|
-
*
|
|
1104
|
-
* - `5m`: 5 minutes
|
|
1105
|
-
* - `1h`: 1 hour
|
|
1106
|
-
*
|
|
1107
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1108
|
-
*/
|
|
1109
|
-
ttl?: DeploymentGetConfigContentTtl | undefined;
|
|
1110
|
-
};
|
|
1111
|
-
export type DeploymentGetConfigContentDeploymentsRequestRequestBody2 = {
|
|
1112
|
-
type: DeploymentGetConfigContentDeploymentsRequestType;
|
|
1113
|
-
text: string;
|
|
1114
|
-
cacheControl?: DeploymentGetConfigContentCacheControl | undefined;
|
|
1115
|
-
};
|
|
1116
546
|
/**
|
|
1117
547
|
* The contents of the system message.
|
|
1118
548
|
*/
|
|
1119
|
-
export type MessagesContent = string | Array<
|
|
549
|
+
export type MessagesContent = string | Array<components.TextContentPartSchema>;
|
|
1120
550
|
/**
|
|
1121
551
|
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
1122
552
|
*/
|
|
@@ -1128,13 +558,13 @@ export type MessagesSystemMessage = {
|
|
|
1128
558
|
/**
|
|
1129
559
|
* The contents of the system message.
|
|
1130
560
|
*/
|
|
1131
|
-
content: string | Array<
|
|
561
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
1132
562
|
/**
|
|
1133
563
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
1134
564
|
*/
|
|
1135
565
|
name?: string | undefined;
|
|
1136
566
|
};
|
|
1137
|
-
export type
|
|
567
|
+
export type DeploymentGetConfigMessages = MessagesSystemMessage | MessagesDeveloperMessage | MessagesUserMessage | MessagesAssistantMessage | MessagesToolMessage;
|
|
1138
568
|
/**
|
|
1139
569
|
* Metadata about the document
|
|
1140
570
|
*/
|
|
@@ -1523,15 +953,15 @@ export type DeploymentGetConfig22 = {
|
|
|
1523
953
|
/**
|
|
1524
954
|
* Text content part of a prompt message
|
|
1525
955
|
*/
|
|
1526
|
-
export type
|
|
956
|
+
export type DeploymentGetConfig21 = {
|
|
1527
957
|
type: "text";
|
|
1528
958
|
text: string;
|
|
1529
959
|
};
|
|
1530
|
-
export type DeploymentGetConfigContentDeploymentsResponse2 =
|
|
960
|
+
export type DeploymentGetConfigContentDeploymentsResponse2 = DeploymentGetConfig21 | DeploymentGetConfig22 | DeploymentGetConfig23;
|
|
1531
961
|
/**
|
|
1532
962
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
1533
963
|
*/
|
|
1534
|
-
export type DeploymentGetConfigContent = string | Array<
|
|
964
|
+
export type DeploymentGetConfigContent = string | Array<DeploymentGetConfig21 | DeploymentGetConfig22 | DeploymentGetConfig23>;
|
|
1535
965
|
export declare const DeploymentGetConfigDeploymentsResponseType: {
|
|
1536
966
|
readonly Function: "function";
|
|
1537
967
|
};
|
|
@@ -1549,7 +979,7 @@ export type DeploymentGetConfigToolCalls = {
|
|
|
1549
979
|
type: DeploymentGetConfigDeploymentsResponseType;
|
|
1550
980
|
function: DeploymentGetConfigDeploymentsFunction;
|
|
1551
981
|
};
|
|
1552
|
-
export type
|
|
982
|
+
export type DeploymentGetConfigDeploymentsMessages = {
|
|
1553
983
|
/**
|
|
1554
984
|
* The role of the prompt message
|
|
1555
985
|
*/
|
|
@@ -1557,9 +987,9 @@ export type DeploymentGetConfigMessages = {
|
|
|
1557
987
|
/**
|
|
1558
988
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
1559
989
|
*/
|
|
1560
|
-
content: string | Array<
|
|
990
|
+
content: string | Array<DeploymentGetConfig21 | DeploymentGetConfig22 | DeploymentGetConfig23> | null;
|
|
1561
991
|
toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
|
|
1562
|
-
toolCallId?: string | undefined;
|
|
992
|
+
toolCallId?: string | null | undefined;
|
|
1563
993
|
};
|
|
1564
994
|
/**
|
|
1565
995
|
* Only supported on `image` models.
|
|
@@ -1849,7 +1279,7 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
1849
1279
|
* The current version of the deployment
|
|
1850
1280
|
*/
|
|
1851
1281
|
version: string;
|
|
1852
|
-
messages: Array<
|
|
1282
|
+
messages: Array<DeploymentGetConfigDeploymentsMessages>;
|
|
1853
1283
|
/**
|
|
1854
1284
|
* Model Parameters: Not all parameters apply to every model
|
|
1855
1285
|
*/
|
|
@@ -1860,56 +1290,21 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
1860
1290
|
tools?: Array<DeploymentGetConfigTools> | undefined;
|
|
1861
1291
|
};
|
|
1862
1292
|
/** @internal */
|
|
1863
|
-
export declare const
|
|
1864
|
-
/** @internal */
|
|
1865
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5Type>;
|
|
1866
|
-
/** @internal */
|
|
1867
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType>;
|
|
1868
|
-
/** @internal */
|
|
1869
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages5ContentType>;
|
|
1870
|
-
/** @internal */
|
|
1871
|
-
export declare const DeploymentGetConfig2DeploymentsRequestTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestTtl>;
|
|
1872
|
-
/** @internal */
|
|
1873
|
-
export declare const DeploymentGetConfig2DeploymentsRequestTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestTtl>;
|
|
1874
|
-
/** @internal */
|
|
1875
|
-
export declare const DeploymentGetConfig2DeploymentsRequestCacheControl$inboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsRequestCacheControl, z.ZodTypeDef, unknown>;
|
|
1876
|
-
/** @internal */
|
|
1877
|
-
export type DeploymentGetConfig2DeploymentsRequestCacheControl$Outbound = {
|
|
1878
|
-
type: string;
|
|
1879
|
-
ttl: string;
|
|
1880
|
-
};
|
|
1881
|
-
/** @internal */
|
|
1882
|
-
export declare const DeploymentGetConfig2DeploymentsRequestCacheControl$outboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsRequestCacheControl$Outbound, z.ZodTypeDef, DeploymentGetConfig2DeploymentsRequestCacheControl>;
|
|
1883
|
-
export declare function deploymentGetConfig2DeploymentsRequestCacheControlToJSON(deploymentGetConfig2DeploymentsRequestCacheControl: DeploymentGetConfig2DeploymentsRequestCacheControl): string;
|
|
1884
|
-
export declare function deploymentGetConfig2DeploymentsRequestCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2DeploymentsRequestCacheControl, SDKValidationError>;
|
|
1885
|
-
/** @internal */
|
|
1886
|
-
export declare const DeploymentGetConfig21$inboundSchema: z.ZodType<DeploymentGetConfig21, z.ZodTypeDef, unknown>;
|
|
1887
|
-
/** @internal */
|
|
1888
|
-
export type DeploymentGetConfig21$Outbound = {
|
|
1889
|
-
type: string;
|
|
1890
|
-
text: string;
|
|
1891
|
-
cache_control?: DeploymentGetConfig2DeploymentsRequestCacheControl$Outbound | undefined;
|
|
1892
|
-
};
|
|
1893
|
-
/** @internal */
|
|
1894
|
-
export declare const DeploymentGetConfig21$outboundSchema: z.ZodType<DeploymentGetConfig21$Outbound, z.ZodTypeDef, DeploymentGetConfig21>;
|
|
1895
|
-
export declare function deploymentGetConfig21ToJSON(deploymentGetConfig21: DeploymentGetConfig21): string;
|
|
1896
|
-
export declare function deploymentGetConfig21FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig21, SDKValidationError>;
|
|
1897
|
-
/** @internal */
|
|
1898
|
-
export declare const DeploymentGetConfigContentDeploymentsRequest2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequest2, z.ZodTypeDef, unknown>;
|
|
1293
|
+
export declare const DeploymentGetConfigContentDeployments2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2, z.ZodTypeDef, unknown>;
|
|
1899
1294
|
/** @internal */
|
|
1900
|
-
export type
|
|
1295
|
+
export type DeploymentGetConfigContentDeployments2$Outbound = components.TextContentPartSchema$Outbound;
|
|
1901
1296
|
/** @internal */
|
|
1902
|
-
export declare const
|
|
1903
|
-
export declare function
|
|
1904
|
-
export declare function
|
|
1297
|
+
export declare const DeploymentGetConfigContentDeployments2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeployments2>;
|
|
1298
|
+
export declare function deploymentGetConfigContentDeployments2ToJSON(deploymentGetConfigContentDeployments2: DeploymentGetConfigContentDeployments2): string;
|
|
1299
|
+
export declare function deploymentGetConfigContentDeployments2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeployments2, SDKValidationError>;
|
|
1905
1300
|
/** @internal */
|
|
1906
|
-
export declare const
|
|
1301
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$inboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
|
|
1907
1302
|
/** @internal */
|
|
1908
|
-
export type
|
|
1303
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
1909
1304
|
/** @internal */
|
|
1910
|
-
export declare const
|
|
1911
|
-
export declare function
|
|
1912
|
-
export declare function
|
|
1305
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$outboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent$Outbound, z.ZodTypeDef, DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent>;
|
|
1306
|
+
export declare function deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent: DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent): string;
|
|
1307
|
+
export declare function deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent, SDKValidationError>;
|
|
1913
1308
|
/** @internal */
|
|
1914
1309
|
export declare const DeploymentGetConfigPrefixMessagesType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesType>;
|
|
1915
1310
|
/** @internal */
|
|
@@ -1934,61 +1329,34 @@ export declare const ToolMessage$inboundSchema: z.ZodType<ToolMessage, z.ZodType
|
|
|
1934
1329
|
/** @internal */
|
|
1935
1330
|
export type ToolMessage$Outbound = {
|
|
1936
1331
|
role: "tool";
|
|
1937
|
-
content: string | Array<
|
|
1332
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1938
1333
|
tool_call_id: string;
|
|
1939
1334
|
cache_control?: PrefixMessagesCacheControl$Outbound | undefined;
|
|
1940
1335
|
};
|
|
1941
1336
|
/** @internal */
|
|
1942
|
-
export declare const ToolMessage$outboundSchema: z.ZodType<ToolMessage$Outbound, z.ZodTypeDef, ToolMessage>;
|
|
1943
|
-
export declare function toolMessageToJSON(toolMessage: ToolMessage): string;
|
|
1944
|
-
export declare function toolMessageFromJSON(jsonString: string): SafeParseResult<ToolMessage, SDKValidationError>;
|
|
1945
|
-
/** @internal */
|
|
1946
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType>;
|
|
1947
|
-
/** @internal */
|
|
1948
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType>;
|
|
1949
|
-
/** @internal */
|
|
1950
|
-
export declare const DeploymentGetConfig2DeploymentsTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsTtl>;
|
|
1951
|
-
/** @internal */
|
|
1952
|
-
export declare const DeploymentGetConfig2DeploymentsTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsTtl>;
|
|
1953
|
-
/** @internal */
|
|
1954
|
-
export declare const DeploymentGetConfig2DeploymentsCacheControl$inboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsCacheControl, z.ZodTypeDef, unknown>;
|
|
1955
|
-
/** @internal */
|
|
1956
|
-
export type DeploymentGetConfig2DeploymentsCacheControl$Outbound = {
|
|
1957
|
-
type: string;
|
|
1958
|
-
ttl: string;
|
|
1959
|
-
};
|
|
1960
|
-
/** @internal */
|
|
1961
|
-
export declare const DeploymentGetConfig2DeploymentsCacheControl$outboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsCacheControl$Outbound, z.ZodTypeDef, DeploymentGetConfig2DeploymentsCacheControl>;
|
|
1962
|
-
export declare function deploymentGetConfig2DeploymentsCacheControlToJSON(deploymentGetConfig2DeploymentsCacheControl: DeploymentGetConfig2DeploymentsCacheControl): string;
|
|
1963
|
-
export declare function deploymentGetConfig2DeploymentsCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2DeploymentsCacheControl, SDKValidationError>;
|
|
1964
|
-
/** @internal */
|
|
1965
|
-
export declare const Two1$inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown>;
|
|
1966
|
-
/** @internal */
|
|
1967
|
-
export type Two1$Outbound = {
|
|
1968
|
-
type: "text";
|
|
1969
|
-
text: string;
|
|
1970
|
-
cache_control?: DeploymentGetConfig2DeploymentsCacheControl$Outbound | undefined;
|
|
1971
|
-
};
|
|
1972
|
-
/** @internal */
|
|
1973
|
-
export declare const Two1$outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1>;
|
|
1974
|
-
export declare function two1ToJSON(two1: Two1): string;
|
|
1975
|
-
export declare function two1FromJSON(jsonString: string): SafeParseResult<Two1, SDKValidationError>;
|
|
1337
|
+
export declare const ToolMessage$outboundSchema: z.ZodType<ToolMessage$Outbound, z.ZodTypeDef, ToolMessage>;
|
|
1338
|
+
export declare function toolMessageToJSON(toolMessage: ToolMessage): string;
|
|
1339
|
+
export declare function toolMessageFromJSON(jsonString: string): SafeParseResult<ToolMessage, SDKValidationError>;
|
|
1976
1340
|
/** @internal */
|
|
1977
|
-
export declare const
|
|
1341
|
+
export declare const DeploymentGetConfigContent2$inboundSchema: z.ZodType<DeploymentGetConfigContent2, z.ZodTypeDef, unknown>;
|
|
1978
1342
|
/** @internal */
|
|
1979
|
-
export type
|
|
1343
|
+
export type DeploymentGetConfigContent2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1344
|
+
type: "text";
|
|
1345
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
1980
1346
|
/** @internal */
|
|
1981
|
-
export declare const
|
|
1982
|
-
export declare function
|
|
1983
|
-
export declare function
|
|
1347
|
+
export declare const DeploymentGetConfigContent2$outboundSchema: z.ZodType<DeploymentGetConfigContent2$Outbound, z.ZodTypeDef, DeploymentGetConfigContent2>;
|
|
1348
|
+
export declare function deploymentGetConfigContent2ToJSON(deploymentGetConfigContent2: DeploymentGetConfigContent2): string;
|
|
1349
|
+
export declare function deploymentGetConfigContent2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContent2, SDKValidationError>;
|
|
1984
1350
|
/** @internal */
|
|
1985
|
-
export declare const
|
|
1351
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$inboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesDeploymentsRequestContent, z.ZodTypeDef, unknown>;
|
|
1986
1352
|
/** @internal */
|
|
1987
|
-
export type
|
|
1353
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1354
|
+
type: "text";
|
|
1355
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
1988
1356
|
/** @internal */
|
|
1989
|
-
export declare const
|
|
1990
|
-
export declare function
|
|
1991
|
-
export declare function
|
|
1357
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$Outbound, z.ZodTypeDef, DeploymentGetConfigPrefixMessagesDeploymentsRequestContent>;
|
|
1358
|
+
export declare function deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsRequestContent: DeploymentGetConfigPrefixMessagesDeploymentsRequestContent): string;
|
|
1359
|
+
export declare function deploymentGetConfigPrefixMessagesDeploymentsRequestContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigPrefixMessagesDeploymentsRequestContent, SDKValidationError>;
|
|
1992
1360
|
/** @internal */
|
|
1993
1361
|
export declare const Audio$inboundSchema: z.ZodType<Audio, z.ZodTypeDef, unknown>;
|
|
1994
1362
|
/** @internal */
|
|
@@ -2004,69 +1372,71 @@ export declare const PrefixMessagesType$inboundSchema: z.ZodNativeEnum<typeof Pr
|
|
|
2004
1372
|
/** @internal */
|
|
2005
1373
|
export declare const PrefixMessagesType$outboundSchema: z.ZodNativeEnum<typeof PrefixMessagesType>;
|
|
2006
1374
|
/** @internal */
|
|
2007
|
-
export declare const
|
|
1375
|
+
export declare const PrefixMessagesFunction$inboundSchema: z.ZodType<PrefixMessagesFunction, z.ZodTypeDef, unknown>;
|
|
2008
1376
|
/** @internal */
|
|
2009
|
-
export type
|
|
1377
|
+
export type PrefixMessagesFunction$Outbound = {
|
|
2010
1378
|
name?: string | undefined;
|
|
2011
1379
|
arguments?: string | undefined;
|
|
2012
1380
|
};
|
|
2013
1381
|
/** @internal */
|
|
2014
|
-
export declare const
|
|
2015
|
-
export declare function
|
|
2016
|
-
export declare function
|
|
1382
|
+
export declare const PrefixMessagesFunction$outboundSchema: z.ZodType<PrefixMessagesFunction$Outbound, z.ZodTypeDef, PrefixMessagesFunction>;
|
|
1383
|
+
export declare function prefixMessagesFunctionToJSON(prefixMessagesFunction: PrefixMessagesFunction): string;
|
|
1384
|
+
export declare function prefixMessagesFunctionFromJSON(jsonString: string): SafeParseResult<PrefixMessagesFunction, SDKValidationError>;
|
|
2017
1385
|
/** @internal */
|
|
2018
|
-
export declare const
|
|
1386
|
+
export declare const PrefixMessagesToolCalls$inboundSchema: z.ZodType<PrefixMessagesToolCalls, z.ZodTypeDef, unknown>;
|
|
2019
1387
|
/** @internal */
|
|
2020
|
-
export type
|
|
1388
|
+
export type PrefixMessagesToolCalls$Outbound = {
|
|
2021
1389
|
id: string;
|
|
2022
1390
|
type: string;
|
|
2023
|
-
function:
|
|
1391
|
+
function: PrefixMessagesFunction$Outbound;
|
|
2024
1392
|
thought_signature?: string | undefined;
|
|
2025
1393
|
};
|
|
2026
1394
|
/** @internal */
|
|
2027
|
-
export declare const
|
|
2028
|
-
export declare function
|
|
2029
|
-
export declare function
|
|
1395
|
+
export declare const PrefixMessagesToolCalls$outboundSchema: z.ZodType<PrefixMessagesToolCalls$Outbound, z.ZodTypeDef, PrefixMessagesToolCalls>;
|
|
1396
|
+
export declare function prefixMessagesToolCallsToJSON(prefixMessagesToolCalls: PrefixMessagesToolCalls): string;
|
|
1397
|
+
export declare function prefixMessagesToolCallsFromJSON(jsonString: string): SafeParseResult<PrefixMessagesToolCalls, SDKValidationError>;
|
|
2030
1398
|
/** @internal */
|
|
2031
1399
|
export declare const AssistantMessage$inboundSchema: z.ZodType<AssistantMessage, z.ZodTypeDef, unknown>;
|
|
2032
1400
|
/** @internal */
|
|
2033
1401
|
export type AssistantMessage$Outbound = {
|
|
2034
|
-
content?: string | Array<
|
|
1402
|
+
content?: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1403
|
+
type: "text";
|
|
1404
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
2035
1405
|
refusal?: string | null | undefined;
|
|
2036
1406
|
role: "assistant";
|
|
2037
1407
|
name?: string | undefined;
|
|
2038
1408
|
audio?: Audio$Outbound | null | undefined;
|
|
2039
|
-
tool_calls?: Array<
|
|
1409
|
+
tool_calls?: Array<PrefixMessagesToolCalls$Outbound> | undefined;
|
|
2040
1410
|
};
|
|
2041
1411
|
/** @internal */
|
|
2042
1412
|
export declare const AssistantMessage$outboundSchema: z.ZodType<AssistantMessage$Outbound, z.ZodTypeDef, AssistantMessage>;
|
|
2043
1413
|
export declare function assistantMessageToJSON(assistantMessage: AssistantMessage): string;
|
|
2044
1414
|
export declare function assistantMessageFromJSON(jsonString: string): SafeParseResult<AssistantMessage, SDKValidationError>;
|
|
2045
1415
|
/** @internal */
|
|
2046
|
-
export declare const
|
|
1416
|
+
export declare const DeploymentGetConfig2DeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
2047
1417
|
/** @internal */
|
|
2048
|
-
export declare const
|
|
1418
|
+
export declare const DeploymentGetConfig2DeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
2049
1419
|
/** @internal */
|
|
2050
|
-
export declare const
|
|
1420
|
+
export declare const Ttl$inboundSchema: z.ZodNativeEnum<typeof Ttl>;
|
|
2051
1421
|
/** @internal */
|
|
2052
|
-
export declare const
|
|
1422
|
+
export declare const Ttl$outboundSchema: z.ZodNativeEnum<typeof Ttl>;
|
|
2053
1423
|
/** @internal */
|
|
2054
|
-
export declare const
|
|
1424
|
+
export declare const CacheControl$inboundSchema: z.ZodType<CacheControl, z.ZodTypeDef, unknown>;
|
|
2055
1425
|
/** @internal */
|
|
2056
|
-
export type
|
|
1426
|
+
export type CacheControl$Outbound = {
|
|
2057
1427
|
type: string;
|
|
2058
1428
|
ttl: string;
|
|
2059
1429
|
};
|
|
2060
1430
|
/** @internal */
|
|
2061
|
-
export declare const
|
|
2062
|
-
export declare function
|
|
2063
|
-
export declare function
|
|
1431
|
+
export declare const CacheControl$outboundSchema: z.ZodType<CacheControl$Outbound, z.ZodTypeDef, CacheControl>;
|
|
1432
|
+
export declare function cacheControlToJSON(cacheControl: CacheControl): string;
|
|
1433
|
+
export declare function cacheControlFromJSON(jsonString: string): SafeParseResult<CacheControl, SDKValidationError>;
|
|
2064
1434
|
/** @internal */
|
|
2065
1435
|
export declare const Four$inboundSchema: z.ZodType<Four, z.ZodTypeDef, unknown>;
|
|
2066
1436
|
/** @internal */
|
|
2067
1437
|
export type Four$Outbound = {
|
|
2068
1438
|
type: "file";
|
|
2069
|
-
cache_control?:
|
|
1439
|
+
cache_control?: CacheControl$Outbound | undefined;
|
|
2070
1440
|
file: components.FileContentPartSchema$Outbound;
|
|
2071
1441
|
};
|
|
2072
1442
|
/** @internal */
|
|
@@ -2074,113 +1444,53 @@ export declare const Four$outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef,
|
|
|
2074
1444
|
export declare function fourToJSON(four: Four): string;
|
|
2075
1445
|
export declare function fourFromJSON(jsonString: string): SafeParseResult<Four, SDKValidationError>;
|
|
2076
1446
|
/** @internal */
|
|
2077
|
-
export declare const
|
|
2078
|
-
/** @internal */
|
|
2079
|
-
export declare const DeploymentGetConfig2Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2Type>;
|
|
2080
|
-
/** @internal */
|
|
2081
|
-
export declare const TwoTtl$inboundSchema: z.ZodNativeEnum<typeof TwoTtl>;
|
|
2082
|
-
/** @internal */
|
|
2083
|
-
export declare const TwoTtl$outboundSchema: z.ZodNativeEnum<typeof TwoTtl>;
|
|
2084
|
-
/** @internal */
|
|
2085
|
-
export declare const TwoCacheControl$inboundSchema: z.ZodType<TwoCacheControl, z.ZodTypeDef, unknown>;
|
|
2086
|
-
/** @internal */
|
|
2087
|
-
export type TwoCacheControl$Outbound = {
|
|
2088
|
-
type: string;
|
|
2089
|
-
ttl: string;
|
|
2090
|
-
};
|
|
2091
|
-
/** @internal */
|
|
2092
|
-
export declare const TwoCacheControl$outboundSchema: z.ZodType<TwoCacheControl$Outbound, z.ZodTypeDef, TwoCacheControl>;
|
|
2093
|
-
export declare function twoCacheControlToJSON(twoCacheControl: TwoCacheControl): string;
|
|
2094
|
-
export declare function twoCacheControlFromJSON(jsonString: string): SafeParseResult<TwoCacheControl, SDKValidationError>;
|
|
2095
|
-
/** @internal */
|
|
2096
|
-
export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
1447
|
+
export declare const Content2$inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
|
|
2097
1448
|
/** @internal */
|
|
2098
|
-
export type
|
|
1449
|
+
export type Content2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
2099
1450
|
type: "text";
|
|
2100
|
-
|
|
2101
|
-
cache_control?: TwoCacheControl$Outbound | undefined;
|
|
2102
|
-
};
|
|
2103
|
-
/** @internal */
|
|
2104
|
-
export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
2105
|
-
export declare function oneToJSON(one: One): string;
|
|
2106
|
-
export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SDKValidationError>;
|
|
2107
|
-
/** @internal */
|
|
2108
|
-
export declare const DeploymentGetConfigContent2$inboundSchema: z.ZodType<DeploymentGetConfigContent2, z.ZodTypeDef, unknown>;
|
|
2109
|
-
/** @internal */
|
|
2110
|
-
export type DeploymentGetConfigContent2$Outbound = One$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Four$Outbound;
|
|
1451
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Four$Outbound;
|
|
2111
1452
|
/** @internal */
|
|
2112
|
-
export declare const
|
|
2113
|
-
export declare function
|
|
2114
|
-
export declare function
|
|
1453
|
+
export declare const Content2$outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
|
|
1454
|
+
export declare function content2ToJSON(content2: Content2): string;
|
|
1455
|
+
export declare function content2FromJSON(jsonString: string): SafeParseResult<Content2, SDKValidationError>;
|
|
2115
1456
|
/** @internal */
|
|
2116
|
-
export declare const
|
|
1457
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsContent$inboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesDeploymentsContent, z.ZodTypeDef, unknown>;
|
|
2117
1458
|
/** @internal */
|
|
2118
|
-
export type
|
|
1459
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1460
|
+
type: "text";
|
|
1461
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Four$Outbound>;
|
|
2119
1462
|
/** @internal */
|
|
2120
|
-
export declare const
|
|
2121
|
-
export declare function
|
|
2122
|
-
export declare function
|
|
1463
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentGetConfigPrefixMessagesDeploymentsContent>;
|
|
1464
|
+
export declare function deploymentGetConfigPrefixMessagesDeploymentsContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsContent: DeploymentGetConfigPrefixMessagesDeploymentsContent): string;
|
|
1465
|
+
export declare function deploymentGetConfigPrefixMessagesDeploymentsContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigPrefixMessagesDeploymentsContent, SDKValidationError>;
|
|
2123
1466
|
/** @internal */
|
|
2124
1467
|
export declare const UserMessage$inboundSchema: z.ZodType<UserMessage, z.ZodTypeDef, unknown>;
|
|
2125
1468
|
/** @internal */
|
|
2126
1469
|
export type UserMessage$Outbound = {
|
|
2127
1470
|
role: "user";
|
|
2128
1471
|
name?: string | undefined;
|
|
2129
|
-
content: string | Array<
|
|
1472
|
+
content: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1473
|
+
type: "text";
|
|
1474
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Four$Outbound>;
|
|
2130
1475
|
};
|
|
2131
1476
|
/** @internal */
|
|
2132
1477
|
export declare const UserMessage$outboundSchema: z.ZodType<UserMessage$Outbound, z.ZodTypeDef, UserMessage>;
|
|
2133
1478
|
export declare function userMessageToJSON(userMessage: UserMessage): string;
|
|
2134
1479
|
export declare function userMessageFromJSON(jsonString: string): SafeParseResult<UserMessage, SDKValidationError>;
|
|
2135
1480
|
/** @internal */
|
|
2136
|
-
export declare const
|
|
2137
|
-
/** @internal */
|
|
2138
|
-
export declare const DeploymentGetConfigContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentType>;
|
|
2139
|
-
/** @internal */
|
|
2140
|
-
export declare const DeploymentGetConfigContentDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsType>;
|
|
2141
|
-
/** @internal */
|
|
2142
|
-
export declare const DeploymentGetConfigContentDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsType>;
|
|
2143
|
-
/** @internal */
|
|
2144
|
-
export declare const ContentTtl$inboundSchema: z.ZodNativeEnum<typeof ContentTtl>;
|
|
2145
|
-
/** @internal */
|
|
2146
|
-
export declare const ContentTtl$outboundSchema: z.ZodNativeEnum<typeof ContentTtl>;
|
|
2147
|
-
/** @internal */
|
|
2148
|
-
export declare const ContentCacheControl$inboundSchema: z.ZodType<ContentCacheControl, z.ZodTypeDef, unknown>;
|
|
2149
|
-
/** @internal */
|
|
2150
|
-
export type ContentCacheControl$Outbound = {
|
|
2151
|
-
type: string;
|
|
2152
|
-
ttl: string;
|
|
2153
|
-
};
|
|
2154
|
-
/** @internal */
|
|
2155
|
-
export declare const ContentCacheControl$outboundSchema: z.ZodType<ContentCacheControl$Outbound, z.ZodTypeDef, ContentCacheControl>;
|
|
2156
|
-
export declare function contentCacheControlToJSON(contentCacheControl: ContentCacheControl): string;
|
|
2157
|
-
export declare function contentCacheControlFromJSON(jsonString: string): SafeParseResult<ContentCacheControl, SDKValidationError>;
|
|
2158
|
-
/** @internal */
|
|
2159
|
-
export declare const Content2$inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
|
|
2160
|
-
/** @internal */
|
|
2161
|
-
export type Content2$Outbound = {
|
|
2162
|
-
type: string;
|
|
2163
|
-
text: string;
|
|
2164
|
-
cache_control?: ContentCacheControl$Outbound | undefined;
|
|
2165
|
-
};
|
|
2166
|
-
/** @internal */
|
|
2167
|
-
export declare const Content2$outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
|
|
2168
|
-
export declare function content2ToJSON(content2: Content2): string;
|
|
2169
|
-
export declare function content2FromJSON(jsonString: string): SafeParseResult<Content2, SDKValidationError>;
|
|
2170
|
-
/** @internal */
|
|
2171
|
-
export declare const PrefixMessagesContent$inboundSchema: z.ZodType<PrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
1481
|
+
export declare const DeploymentGetConfigPrefixMessagesContent$inboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
2172
1482
|
/** @internal */
|
|
2173
|
-
export type
|
|
1483
|
+
export type DeploymentGetConfigPrefixMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2174
1484
|
/** @internal */
|
|
2175
|
-
export declare const
|
|
2176
|
-
export declare function
|
|
2177
|
-
export declare function
|
|
1485
|
+
export declare const DeploymentGetConfigPrefixMessagesContent$outboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent$Outbound, z.ZodTypeDef, DeploymentGetConfigPrefixMessagesContent>;
|
|
1486
|
+
export declare function deploymentGetConfigPrefixMessagesContentToJSON(deploymentGetConfigPrefixMessagesContent: DeploymentGetConfigPrefixMessagesContent): string;
|
|
1487
|
+
export declare function deploymentGetConfigPrefixMessagesContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigPrefixMessagesContent, SDKValidationError>;
|
|
2178
1488
|
/** @internal */
|
|
2179
1489
|
export declare const DeveloperMessage$inboundSchema: z.ZodType<DeveloperMessage, z.ZodTypeDef, unknown>;
|
|
2180
1490
|
/** @internal */
|
|
2181
1491
|
export type DeveloperMessage$Outbound = {
|
|
2182
1492
|
role: "developer";
|
|
2183
|
-
content: string | Array<
|
|
1493
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2184
1494
|
name?: string | undefined;
|
|
2185
1495
|
};
|
|
2186
1496
|
/** @internal */
|
|
@@ -2188,54 +1498,19 @@ export declare const DeveloperMessage$outboundSchema: z.ZodType<DeveloperMessage
|
|
|
2188
1498
|
export declare function developerMessageToJSON(developerMessage: DeveloperMessage): string;
|
|
2189
1499
|
export declare function developerMessageFromJSON(jsonString: string): SafeParseResult<DeveloperMessage, SDKValidationError>;
|
|
2190
1500
|
/** @internal */
|
|
2191
|
-
export declare const
|
|
2192
|
-
/** @internal */
|
|
2193
|
-
export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
2194
|
-
/** @internal */
|
|
2195
|
-
export declare const ContentType$inboundSchema: z.ZodNativeEnum<typeof ContentType>;
|
|
2196
|
-
/** @internal */
|
|
2197
|
-
export declare const ContentType$outboundSchema: z.ZodNativeEnum<typeof ContentType>;
|
|
2198
|
-
/** @internal */
|
|
2199
|
-
export declare const Ttl$inboundSchema: z.ZodNativeEnum<typeof Ttl>;
|
|
2200
|
-
/** @internal */
|
|
2201
|
-
export declare const Ttl$outboundSchema: z.ZodNativeEnum<typeof Ttl>;
|
|
2202
|
-
/** @internal */
|
|
2203
|
-
export declare const CacheControl$inboundSchema: z.ZodType<CacheControl, z.ZodTypeDef, unknown>;
|
|
2204
|
-
/** @internal */
|
|
2205
|
-
export type CacheControl$Outbound = {
|
|
2206
|
-
type: string;
|
|
2207
|
-
ttl: string;
|
|
2208
|
-
};
|
|
2209
|
-
/** @internal */
|
|
2210
|
-
export declare const CacheControl$outboundSchema: z.ZodType<CacheControl$Outbound, z.ZodTypeDef, CacheControl>;
|
|
2211
|
-
export declare function cacheControlToJSON(cacheControl: CacheControl): string;
|
|
2212
|
-
export declare function cacheControlFromJSON(jsonString: string): SafeParseResult<CacheControl, SDKValidationError>;
|
|
2213
|
-
/** @internal */
|
|
2214
|
-
export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
2215
|
-
/** @internal */
|
|
2216
|
-
export type Two$Outbound = {
|
|
2217
|
-
type: string;
|
|
2218
|
-
text: string;
|
|
2219
|
-
cache_control?: CacheControl$Outbound | undefined;
|
|
2220
|
-
};
|
|
2221
|
-
/** @internal */
|
|
2222
|
-
export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
2223
|
-
export declare function twoToJSON(two: Two): string;
|
|
2224
|
-
export declare function twoFromJSON(jsonString: string): SafeParseResult<Two, SDKValidationError>;
|
|
2225
|
-
/** @internal */
|
|
2226
|
-
export declare const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
|
|
1501
|
+
export declare const PrefixMessagesContent$inboundSchema: z.ZodType<PrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
2227
1502
|
/** @internal */
|
|
2228
|
-
export type
|
|
1503
|
+
export type PrefixMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2229
1504
|
/** @internal */
|
|
2230
|
-
export declare const
|
|
2231
|
-
export declare function
|
|
2232
|
-
export declare function
|
|
1505
|
+
export declare const PrefixMessagesContent$outboundSchema: z.ZodType<PrefixMessagesContent$Outbound, z.ZodTypeDef, PrefixMessagesContent>;
|
|
1506
|
+
export declare function prefixMessagesContentToJSON(prefixMessagesContent: PrefixMessagesContent): string;
|
|
1507
|
+
export declare function prefixMessagesContentFromJSON(jsonString: string): SafeParseResult<PrefixMessagesContent, SDKValidationError>;
|
|
2233
1508
|
/** @internal */
|
|
2234
1509
|
export declare const SystemMessage$inboundSchema: z.ZodType<SystemMessage, z.ZodTypeDef, unknown>;
|
|
2235
1510
|
/** @internal */
|
|
2236
1511
|
export type SystemMessage$Outbound = {
|
|
2237
1512
|
role: "system";
|
|
2238
|
-
content: string | Array<
|
|
1513
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2239
1514
|
name?: string | undefined;
|
|
2240
1515
|
};
|
|
2241
1516
|
/** @internal */
|
|
@@ -2251,52 +1526,17 @@ export declare const PrefixMessages$outboundSchema: z.ZodType<PrefixMessages$Out
|
|
|
2251
1526
|
export declare function prefixMessagesToJSON(prefixMessages: PrefixMessages): string;
|
|
2252
1527
|
export declare function prefixMessagesFromJSON(jsonString: string): SafeParseResult<PrefixMessages, SDKValidationError>;
|
|
2253
1528
|
/** @internal */
|
|
2254
|
-
export declare const
|
|
2255
|
-
/** @internal */
|
|
2256
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Type>;
|
|
2257
|
-
/** @internal */
|
|
2258
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType>;
|
|
2259
|
-
/** @internal */
|
|
2260
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5ContentType>;
|
|
2261
|
-
/** @internal */
|
|
2262
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl>;
|
|
2263
|
-
/** @internal */
|
|
2264
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5Ttl>;
|
|
2265
|
-
/** @internal */
|
|
2266
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$inboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl, z.ZodTypeDef, unknown>;
|
|
2267
|
-
/** @internal */
|
|
2268
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$Outbound = {
|
|
2269
|
-
type: string;
|
|
2270
|
-
ttl: string;
|
|
2271
|
-
};
|
|
2272
|
-
/** @internal */
|
|
2273
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$outboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$Outbound, z.ZodTypeDef, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl>;
|
|
2274
|
-
export declare function deploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControlToJSON(deploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl): string;
|
|
2275
|
-
export declare function deploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl, SDKValidationError>;
|
|
2276
|
-
/** @internal */
|
|
2277
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBody1$inboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsRequestRequestBody1, z.ZodTypeDef, unknown>;
|
|
2278
|
-
/** @internal */
|
|
2279
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBody1$Outbound = {
|
|
2280
|
-
type: string;
|
|
2281
|
-
text: string;
|
|
2282
|
-
cache_control?: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages5CacheControl$Outbound | undefined;
|
|
2283
|
-
};
|
|
2284
|
-
/** @internal */
|
|
2285
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBody1$outboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsRequestRequestBody1$Outbound, z.ZodTypeDef, DeploymentGetConfig2DeploymentsRequestRequestBody1>;
|
|
2286
|
-
export declare function deploymentGetConfig2DeploymentsRequestRequestBody1ToJSON(deploymentGetConfig2DeploymentsRequestRequestBody1: DeploymentGetConfig2DeploymentsRequestRequestBody1): string;
|
|
2287
|
-
export declare function deploymentGetConfig2DeploymentsRequestRequestBody1FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2DeploymentsRequestRequestBody1, SDKValidationError>;
|
|
2288
|
-
/** @internal */
|
|
2289
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages52, z.ZodTypeDef, unknown>;
|
|
1529
|
+
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2, z.ZodTypeDef, unknown>;
|
|
2290
1530
|
/** @internal */
|
|
2291
|
-
export type
|
|
1531
|
+
export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$Outbound = components.TextContentPartSchema$Outbound;
|
|
2292
1532
|
/** @internal */
|
|
2293
|
-
export declare const
|
|
2294
|
-
export declare function
|
|
2295
|
-
export declare function
|
|
1533
|
+
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2>;
|
|
1534
|
+
export declare function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2: DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2): string;
|
|
1535
|
+
export declare function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2, SDKValidationError>;
|
|
2296
1536
|
/** @internal */
|
|
2297
1537
|
export declare const DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$inboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
|
|
2298
1538
|
/** @internal */
|
|
2299
|
-
export type DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$Outbound = string | Array<
|
|
1539
|
+
export type DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2300
1540
|
/** @internal */
|
|
2301
1541
|
export declare const DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$outboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent>;
|
|
2302
1542
|
export declare function deploymentGetConfigMessagesDeploymentsRequestRequestBodyContentToJSON(deploymentGetConfigMessagesDeploymentsRequestRequestBodyContent: DeploymentGetConfigMessagesDeploymentsRequestRequestBodyContent): string;
|
|
@@ -2325,7 +1565,7 @@ export declare const MessagesToolMessage$inboundSchema: z.ZodType<MessagesToolMe
|
|
|
2325
1565
|
/** @internal */
|
|
2326
1566
|
export type MessagesToolMessage$Outbound = {
|
|
2327
1567
|
role: "tool";
|
|
2328
|
-
content: string | Array<
|
|
1568
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2329
1569
|
tool_call_id: string;
|
|
2330
1570
|
cache_control?: MessagesCacheControl$Outbound | undefined;
|
|
2331
1571
|
};
|
|
@@ -2334,48 +1574,21 @@ export declare const MessagesToolMessage$outboundSchema: z.ZodType<MessagesToolM
|
|
|
2334
1574
|
export declare function messagesToolMessageToJSON(messagesToolMessage: MessagesToolMessage): string;
|
|
2335
1575
|
export declare function messagesToolMessageFromJSON(jsonString: string): SafeParseResult<MessagesToolMessage, SDKValidationError>;
|
|
2336
1576
|
/** @internal */
|
|
2337
|
-
export declare const
|
|
2338
|
-
/** @internal */
|
|
2339
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType>;
|
|
2340
|
-
/** @internal */
|
|
2341
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl>;
|
|
2342
|
-
/** @internal */
|
|
2343
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Ttl>;
|
|
2344
|
-
/** @internal */
|
|
2345
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$inboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl, z.ZodTypeDef, unknown>;
|
|
2346
|
-
/** @internal */
|
|
2347
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$Outbound = {
|
|
2348
|
-
type: string;
|
|
2349
|
-
ttl: string;
|
|
2350
|
-
};
|
|
2351
|
-
/** @internal */
|
|
2352
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$outboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$Outbound, z.ZodTypeDef, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl>;
|
|
2353
|
-
export declare function deploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControlToJSON(deploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl): string;
|
|
2354
|
-
export declare function deploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl, SDKValidationError>;
|
|
2355
|
-
/** @internal */
|
|
2356
|
-
export declare const DeploymentGetConfig2DeploymentsRequest1$inboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsRequest1, z.ZodTypeDef, unknown>;
|
|
1577
|
+
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBody2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
2357
1578
|
/** @internal */
|
|
2358
|
-
export type
|
|
1579
|
+
export type DeploymentGetConfigContentDeploymentsRequestRequestBody2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
2359
1580
|
type: "text";
|
|
2360
|
-
|
|
2361
|
-
cache_control?: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4CacheControl$Outbound | undefined;
|
|
2362
|
-
};
|
|
1581
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
2363
1582
|
/** @internal */
|
|
2364
|
-
export declare const
|
|
2365
|
-
export declare function
|
|
2366
|
-
export declare function
|
|
2367
|
-
/** @internal */
|
|
2368
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42, z.ZodTypeDef, unknown>;
|
|
2369
|
-
/** @internal */
|
|
2370
|
-
export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42$Outbound = DeploymentGetConfig2DeploymentsRequest1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
2371
|
-
/** @internal */
|
|
2372
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42>;
|
|
2373
|
-
export declare function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages42ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages42: DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42): string;
|
|
2374
|
-
export declare function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages42FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages42, SDKValidationError>;
|
|
1583
|
+
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsRequestRequestBody2>;
|
|
1584
|
+
export declare function deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBody2: DeploymentGetConfigContentDeploymentsRequestRequestBody2): string;
|
|
1585
|
+
export declare function deploymentGetConfigContentDeploymentsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeploymentsRequestRequestBody2, SDKValidationError>;
|
|
2375
1586
|
/** @internal */
|
|
2376
1587
|
export declare const DeploymentGetConfigMessagesDeploymentsRequestContent$inboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsRequestContent, z.ZodTypeDef, unknown>;
|
|
2377
1588
|
/** @internal */
|
|
2378
|
-
export type DeploymentGetConfigMessagesDeploymentsRequestContent$Outbound = string | Array<
|
|
1589
|
+
export type DeploymentGetConfigMessagesDeploymentsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1590
|
+
type: "text";
|
|
1591
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
2379
1592
|
/** @internal */
|
|
2380
1593
|
export declare const DeploymentGetConfigMessagesDeploymentsRequestContent$outboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsRequestContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesDeploymentsRequestContent>;
|
|
2381
1594
|
export declare function deploymentGetConfigMessagesDeploymentsRequestContentToJSON(deploymentGetConfigMessagesDeploymentsRequestContent: DeploymentGetConfigMessagesDeploymentsRequestContent): string;
|
|
@@ -2422,7 +1635,9 @@ export declare function messagesToolCallsFromJSON(jsonString: string): SafeParse
|
|
|
2422
1635
|
export declare const MessagesAssistantMessage$inboundSchema: z.ZodType<MessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
2423
1636
|
/** @internal */
|
|
2424
1637
|
export type MessagesAssistantMessage$Outbound = {
|
|
2425
|
-
content?: string | Array<
|
|
1638
|
+
content?: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1639
|
+
type: "text";
|
|
1640
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
2426
1641
|
refusal?: string | null | undefined;
|
|
2427
1642
|
role: "assistant";
|
|
2428
1643
|
name?: string | undefined;
|
|
@@ -2434,30 +1649,30 @@ export declare const MessagesAssistantMessage$outboundSchema: z.ZodType<Messages
|
|
|
2434
1649
|
export declare function messagesAssistantMessageToJSON(messagesAssistantMessage: MessagesAssistantMessage): string;
|
|
2435
1650
|
export declare function messagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<MessagesAssistantMessage, SDKValidationError>;
|
|
2436
1651
|
/** @internal */
|
|
2437
|
-
export declare const
|
|
1652
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
2438
1653
|
/** @internal */
|
|
2439
|
-
export declare const
|
|
1654
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
2440
1655
|
/** @internal */
|
|
2441
|
-
export declare const
|
|
1656
|
+
export declare const TwoTtl$inboundSchema: z.ZodNativeEnum<typeof TwoTtl>;
|
|
2442
1657
|
/** @internal */
|
|
2443
|
-
export declare const
|
|
1658
|
+
export declare const TwoTtl$outboundSchema: z.ZodNativeEnum<typeof TwoTtl>;
|
|
2444
1659
|
/** @internal */
|
|
2445
|
-
export declare const
|
|
1660
|
+
export declare const TwoCacheControl$inboundSchema: z.ZodType<TwoCacheControl, z.ZodTypeDef, unknown>;
|
|
2446
1661
|
/** @internal */
|
|
2447
|
-
export type
|
|
1662
|
+
export type TwoCacheControl$Outbound = {
|
|
2448
1663
|
type: string;
|
|
2449
1664
|
ttl: string;
|
|
2450
1665
|
};
|
|
2451
1666
|
/** @internal */
|
|
2452
|
-
export declare const
|
|
2453
|
-
export declare function
|
|
2454
|
-
export declare function
|
|
1667
|
+
export declare const TwoCacheControl$outboundSchema: z.ZodType<TwoCacheControl$Outbound, z.ZodTypeDef, TwoCacheControl>;
|
|
1668
|
+
export declare function twoCacheControlToJSON(twoCacheControl: TwoCacheControl): string;
|
|
1669
|
+
export declare function twoCacheControlFromJSON(jsonString: string): SafeParseResult<TwoCacheControl, SDKValidationError>;
|
|
2455
1670
|
/** @internal */
|
|
2456
1671
|
export declare const Two4$inboundSchema: z.ZodType<Two4, z.ZodTypeDef, unknown>;
|
|
2457
1672
|
/** @internal */
|
|
2458
1673
|
export type Two4$Outbound = {
|
|
2459
1674
|
type: "file";
|
|
2460
|
-
cache_control?:
|
|
1675
|
+
cache_control?: TwoCacheControl$Outbound | undefined;
|
|
2461
1676
|
file: components.FileContentPartSchema$Outbound;
|
|
2462
1677
|
};
|
|
2463
1678
|
/** @internal */
|
|
@@ -2465,48 +1680,21 @@ export declare const Two4$outboundSchema: z.ZodType<Two4$Outbound, z.ZodTypeDef,
|
|
|
2465
1680
|
export declare function two4ToJSON(two4: Two4): string;
|
|
2466
1681
|
export declare function two4FromJSON(jsonString: string): SafeParseResult<Two4, SDKValidationError>;
|
|
2467
1682
|
/** @internal */
|
|
2468
|
-
export declare const
|
|
2469
|
-
/** @internal */
|
|
2470
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type>;
|
|
2471
|
-
/** @internal */
|
|
2472
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyTtl>;
|
|
2473
|
-
/** @internal */
|
|
2474
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyTtl>;
|
|
2475
|
-
/** @internal */
|
|
2476
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$inboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl, z.ZodTypeDef, unknown>;
|
|
2477
|
-
/** @internal */
|
|
2478
|
-
export type DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$Outbound = {
|
|
2479
|
-
type: string;
|
|
2480
|
-
ttl: string;
|
|
2481
|
-
};
|
|
2482
|
-
/** @internal */
|
|
2483
|
-
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$outboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$Outbound, z.ZodTypeDef, DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl>;
|
|
2484
|
-
export declare function deploymentGetConfig2DeploymentsRequestRequestBodyCacheControlToJSON(deploymentGetConfig2DeploymentsRequestRequestBodyCacheControl: DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl): string;
|
|
2485
|
-
export declare function deploymentGetConfig2DeploymentsRequestRequestBodyCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl, SDKValidationError>;
|
|
2486
|
-
/** @internal */
|
|
2487
|
-
export declare const DeploymentGetConfig2Deployments1$inboundSchema: z.ZodType<DeploymentGetConfig2Deployments1, z.ZodTypeDef, unknown>;
|
|
1683
|
+
export declare const DeploymentGetConfigContentDeploymentsRequest2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequest2, z.ZodTypeDef, unknown>;
|
|
2488
1684
|
/** @internal */
|
|
2489
|
-
export type
|
|
1685
|
+
export type DeploymentGetConfigContentDeploymentsRequest2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
2490
1686
|
type: "text";
|
|
2491
|
-
|
|
2492
|
-
cache_control?: DeploymentGetConfig2DeploymentsRequestRequestBodyCacheControl$Outbound | undefined;
|
|
2493
|
-
};
|
|
1687
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Two4$Outbound;
|
|
2494
1688
|
/** @internal */
|
|
2495
|
-
export declare const
|
|
2496
|
-
export declare function
|
|
2497
|
-
export declare function
|
|
2498
|
-
/** @internal */
|
|
2499
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32, z.ZodTypeDef, unknown>;
|
|
2500
|
-
/** @internal */
|
|
2501
|
-
export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32$Outbound = DeploymentGetConfig2Deployments1$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Two4$Outbound;
|
|
2502
|
-
/** @internal */
|
|
2503
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32>;
|
|
2504
|
-
export declare function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages32ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages32: DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32): string;
|
|
2505
|
-
export declare function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages32FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages32, SDKValidationError>;
|
|
1689
|
+
export declare const DeploymentGetConfigContentDeploymentsRequest2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequest2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsRequest2>;
|
|
1690
|
+
export declare function deploymentGetConfigContentDeploymentsRequest2ToJSON(deploymentGetConfigContentDeploymentsRequest2: DeploymentGetConfigContentDeploymentsRequest2): string;
|
|
1691
|
+
export declare function deploymentGetConfigContentDeploymentsRequest2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeploymentsRequest2, SDKValidationError>;
|
|
2506
1692
|
/** @internal */
|
|
2507
1693
|
export declare const DeploymentGetConfigMessagesDeploymentsContent$inboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsContent, z.ZodTypeDef, unknown>;
|
|
2508
1694
|
/** @internal */
|
|
2509
|
-
export type DeploymentGetConfigMessagesDeploymentsContent$Outbound = string | Array<
|
|
1695
|
+
export type DeploymentGetConfigMessagesDeploymentsContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1696
|
+
type: "text";
|
|
1697
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Two4$Outbound>;
|
|
2510
1698
|
/** @internal */
|
|
2511
1699
|
export declare const DeploymentGetConfigMessagesDeploymentsContent$outboundSchema: z.ZodType<DeploymentGetConfigMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesDeploymentsContent>;
|
|
2512
1700
|
export declare function deploymentGetConfigMessagesDeploymentsContentToJSON(deploymentGetConfigMessagesDeploymentsContent: DeploymentGetConfigMessagesDeploymentsContent): string;
|
|
@@ -2517,51 +1705,18 @@ export declare const MessagesUserMessage$inboundSchema: z.ZodType<MessagesUserMe
|
|
|
2517
1705
|
export type MessagesUserMessage$Outbound = {
|
|
2518
1706
|
role: "user";
|
|
2519
1707
|
name?: string | undefined;
|
|
2520
|
-
content: string | Array<
|
|
1708
|
+
content: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1709
|
+
type: "text";
|
|
1710
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | Two4$Outbound>;
|
|
2521
1711
|
};
|
|
2522
1712
|
/** @internal */
|
|
2523
1713
|
export declare const MessagesUserMessage$outboundSchema: z.ZodType<MessagesUserMessage$Outbound, z.ZodTypeDef, MessagesUserMessage>;
|
|
2524
1714
|
export declare function messagesUserMessageToJSON(messagesUserMessage: MessagesUserMessage): string;
|
|
2525
1715
|
export declare function messagesUserMessageFromJSON(jsonString: string): SafeParseResult<MessagesUserMessage, SDKValidationError>;
|
|
2526
1716
|
/** @internal */
|
|
2527
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType>;
|
|
2528
|
-
/** @internal */
|
|
2529
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsRequestRequestBodyMessagesType>;
|
|
2530
|
-
/** @internal */
|
|
2531
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type>;
|
|
2532
|
-
/** @internal */
|
|
2533
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2Type>;
|
|
2534
|
-
/** @internal */
|
|
2535
|
-
export declare const DeploymentGetConfigContentDeploymentsTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsTtl>;
|
|
2536
|
-
/** @internal */
|
|
2537
|
-
export declare const DeploymentGetConfigContentDeploymentsTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsTtl>;
|
|
2538
|
-
/** @internal */
|
|
2539
|
-
export declare const DeploymentGetConfigContentDeploymentsCacheControl$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsCacheControl, z.ZodTypeDef, unknown>;
|
|
2540
|
-
/** @internal */
|
|
2541
|
-
export type DeploymentGetConfigContentDeploymentsCacheControl$Outbound = {
|
|
2542
|
-
type: string;
|
|
2543
|
-
ttl: string;
|
|
2544
|
-
};
|
|
2545
|
-
/** @internal */
|
|
2546
|
-
export declare const DeploymentGetConfigContentDeploymentsCacheControl$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsCacheControl$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsCacheControl>;
|
|
2547
|
-
export declare function deploymentGetConfigContentDeploymentsCacheControlToJSON(deploymentGetConfigContentDeploymentsCacheControl: DeploymentGetConfigContentDeploymentsCacheControl): string;
|
|
2548
|
-
export declare function deploymentGetConfigContentDeploymentsCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeploymentsCacheControl, SDKValidationError>;
|
|
2549
|
-
/** @internal */
|
|
2550
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2, z.ZodTypeDef, unknown>;
|
|
2551
|
-
/** @internal */
|
|
2552
|
-
export type DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$Outbound = {
|
|
2553
|
-
type: string;
|
|
2554
|
-
text: string;
|
|
2555
|
-
cache_control?: DeploymentGetConfigContentDeploymentsCacheControl$Outbound | undefined;
|
|
2556
|
-
};
|
|
2557
|
-
/** @internal */
|
|
2558
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2>;
|
|
2559
|
-
export declare function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2: DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2): string;
|
|
2560
|
-
export declare function deploymentGetConfigContentDeploymentsRequestRequestBodyMessages2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeploymentsRequestRequestBodyMessages2, SDKValidationError>;
|
|
2561
|
-
/** @internal */
|
|
2562
1717
|
export declare const DeploymentGetConfigMessagesContent$inboundSchema: z.ZodType<DeploymentGetConfigMessagesContent, z.ZodTypeDef, unknown>;
|
|
2563
1718
|
/** @internal */
|
|
2564
|
-
export type DeploymentGetConfigMessagesContent$Outbound = string | Array<
|
|
1719
|
+
export type DeploymentGetConfigMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2565
1720
|
/** @internal */
|
|
2566
1721
|
export declare const DeploymentGetConfigMessagesContent$outboundSchema: z.ZodType<DeploymentGetConfigMessagesContent$Outbound, z.ZodTypeDef, DeploymentGetConfigMessagesContent>;
|
|
2567
1722
|
export declare function deploymentGetConfigMessagesContentToJSON(deploymentGetConfigMessagesContent: DeploymentGetConfigMessagesContent): string;
|
|
@@ -2571,7 +1726,7 @@ export declare const MessagesDeveloperMessage$inboundSchema: z.ZodType<MessagesD
|
|
|
2571
1726
|
/** @internal */
|
|
2572
1727
|
export type MessagesDeveloperMessage$Outbound = {
|
|
2573
1728
|
role: "developer";
|
|
2574
|
-
content: string | Array<
|
|
1729
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2575
1730
|
name?: string | undefined;
|
|
2576
1731
|
};
|
|
2577
1732
|
/** @internal */
|
|
@@ -2579,44 +1734,9 @@ export declare const MessagesDeveloperMessage$outboundSchema: z.ZodType<Messages
|
|
|
2579
1734
|
export declare function messagesDeveloperMessageToJSON(messagesDeveloperMessage: MessagesDeveloperMessage): string;
|
|
2580
1735
|
export declare function messagesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<MessagesDeveloperMessage, SDKValidationError>;
|
|
2581
1736
|
/** @internal */
|
|
2582
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsRequestType>;
|
|
2583
|
-
/** @internal */
|
|
2584
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsRequestType>;
|
|
2585
|
-
/** @internal */
|
|
2586
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsRequestRequestBodyType>;
|
|
2587
|
-
/** @internal */
|
|
2588
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentDeploymentsRequestRequestBodyType>;
|
|
2589
|
-
/** @internal */
|
|
2590
|
-
export declare const DeploymentGetConfigContentTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentTtl>;
|
|
2591
|
-
/** @internal */
|
|
2592
|
-
export declare const DeploymentGetConfigContentTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigContentTtl>;
|
|
2593
|
-
/** @internal */
|
|
2594
|
-
export declare const DeploymentGetConfigContentCacheControl$inboundSchema: z.ZodType<DeploymentGetConfigContentCacheControl, z.ZodTypeDef, unknown>;
|
|
2595
|
-
/** @internal */
|
|
2596
|
-
export type DeploymentGetConfigContentCacheControl$Outbound = {
|
|
2597
|
-
type: string;
|
|
2598
|
-
ttl: string;
|
|
2599
|
-
};
|
|
2600
|
-
/** @internal */
|
|
2601
|
-
export declare const DeploymentGetConfigContentCacheControl$outboundSchema: z.ZodType<DeploymentGetConfigContentCacheControl$Outbound, z.ZodTypeDef, DeploymentGetConfigContentCacheControl>;
|
|
2602
|
-
export declare function deploymentGetConfigContentCacheControlToJSON(deploymentGetConfigContentCacheControl: DeploymentGetConfigContentCacheControl): string;
|
|
2603
|
-
export declare function deploymentGetConfigContentCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentCacheControl, SDKValidationError>;
|
|
2604
|
-
/** @internal */
|
|
2605
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBody2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
2606
|
-
/** @internal */
|
|
2607
|
-
export type DeploymentGetConfigContentDeploymentsRequestRequestBody2$Outbound = {
|
|
2608
|
-
type: string;
|
|
2609
|
-
text: string;
|
|
2610
|
-
cache_control?: DeploymentGetConfigContentCacheControl$Outbound | undefined;
|
|
2611
|
-
};
|
|
2612
|
-
/** @internal */
|
|
2613
|
-
export declare const DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsRequestRequestBody2>;
|
|
2614
|
-
export declare function deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON(deploymentGetConfigContentDeploymentsRequestRequestBody2: DeploymentGetConfigContentDeploymentsRequestRequestBody2): string;
|
|
2615
|
-
export declare function deploymentGetConfigContentDeploymentsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeploymentsRequestRequestBody2, SDKValidationError>;
|
|
2616
|
-
/** @internal */
|
|
2617
1737
|
export declare const MessagesContent$inboundSchema: z.ZodType<MessagesContent, z.ZodTypeDef, unknown>;
|
|
2618
1738
|
/** @internal */
|
|
2619
|
-
export type MessagesContent$Outbound = string | Array<
|
|
1739
|
+
export type MessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2620
1740
|
/** @internal */
|
|
2621
1741
|
export declare const MessagesContent$outboundSchema: z.ZodType<MessagesContent$Outbound, z.ZodTypeDef, MessagesContent>;
|
|
2622
1742
|
export declare function messagesContentToJSON(messagesContent: MessagesContent): string;
|
|
@@ -2626,7 +1746,7 @@ export declare const MessagesSystemMessage$inboundSchema: z.ZodType<MessagesSyst
|
|
|
2626
1746
|
/** @internal */
|
|
2627
1747
|
export type MessagesSystemMessage$Outbound = {
|
|
2628
1748
|
role: "system";
|
|
2629
|
-
content: string | Array<
|
|
1749
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2630
1750
|
name?: string | undefined;
|
|
2631
1751
|
};
|
|
2632
1752
|
/** @internal */
|
|
@@ -2634,13 +1754,13 @@ export declare const MessagesSystemMessage$outboundSchema: z.ZodType<MessagesSys
|
|
|
2634
1754
|
export declare function messagesSystemMessageToJSON(messagesSystemMessage: MessagesSystemMessage): string;
|
|
2635
1755
|
export declare function messagesSystemMessageFromJSON(jsonString: string): SafeParseResult<MessagesSystemMessage, SDKValidationError>;
|
|
2636
1756
|
/** @internal */
|
|
2637
|
-
export declare const
|
|
1757
|
+
export declare const DeploymentGetConfigMessages$inboundSchema: z.ZodType<DeploymentGetConfigMessages, z.ZodTypeDef, unknown>;
|
|
2638
1758
|
/** @internal */
|
|
2639
|
-
export type
|
|
1759
|
+
export type DeploymentGetConfigMessages$Outbound = MessagesSystemMessage$Outbound | MessagesDeveloperMessage$Outbound | MessagesUserMessage$Outbound | MessagesAssistantMessage$Outbound | MessagesToolMessage$Outbound;
|
|
2640
1760
|
/** @internal */
|
|
2641
|
-
export declare const
|
|
2642
|
-
export declare function
|
|
2643
|
-
export declare function
|
|
1761
|
+
export declare const DeploymentGetConfigMessages$outboundSchema: z.ZodType<DeploymentGetConfigMessages$Outbound, z.ZodTypeDef, DeploymentGetConfigMessages>;
|
|
1762
|
+
export declare function deploymentGetConfigMessagesToJSON(deploymentGetConfigMessages: DeploymentGetConfigMessages): string;
|
|
1763
|
+
export declare function deploymentGetConfigMessagesFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigMessages, SDKValidationError>;
|
|
2644
1764
|
/** @internal */
|
|
2645
1765
|
export declare const Metadata$inboundSchema: z.ZodType<Metadata, z.ZodTypeDef, unknown>;
|
|
2646
1766
|
/** @internal */
|
|
@@ -3198,20 +2318,20 @@ export declare const DeploymentGetConfig22$outboundSchema: z.ZodType<DeploymentG
|
|
|
3198
2318
|
export declare function deploymentGetConfig22ToJSON(deploymentGetConfig22: DeploymentGetConfig22): string;
|
|
3199
2319
|
export declare function deploymentGetConfig22FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig22, SDKValidationError>;
|
|
3200
2320
|
/** @internal */
|
|
3201
|
-
export declare const
|
|
2321
|
+
export declare const DeploymentGetConfig21$inboundSchema: z.ZodType<DeploymentGetConfig21, z.ZodTypeDef, unknown>;
|
|
3202
2322
|
/** @internal */
|
|
3203
|
-
export type
|
|
2323
|
+
export type DeploymentGetConfig21$Outbound = {
|
|
3204
2324
|
type: "text";
|
|
3205
2325
|
text: string;
|
|
3206
2326
|
};
|
|
3207
2327
|
/** @internal */
|
|
3208
|
-
export declare const
|
|
3209
|
-
export declare function
|
|
3210
|
-
export declare function
|
|
2328
|
+
export declare const DeploymentGetConfig21$outboundSchema: z.ZodType<DeploymentGetConfig21$Outbound, z.ZodTypeDef, DeploymentGetConfig21>;
|
|
2329
|
+
export declare function deploymentGetConfig21ToJSON(deploymentGetConfig21: DeploymentGetConfig21): string;
|
|
2330
|
+
export declare function deploymentGetConfig21FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig21, SDKValidationError>;
|
|
3211
2331
|
/** @internal */
|
|
3212
2332
|
export declare const DeploymentGetConfigContentDeploymentsResponse2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2, z.ZodTypeDef, unknown>;
|
|
3213
2333
|
/** @internal */
|
|
3214
|
-
export type DeploymentGetConfigContentDeploymentsResponse2$Outbound =
|
|
2334
|
+
export type DeploymentGetConfigContentDeploymentsResponse2$Outbound = DeploymentGetConfig21$Outbound | DeploymentGetConfig22$Outbound | DeploymentGetConfig23$Outbound;
|
|
3215
2335
|
/** @internal */
|
|
3216
2336
|
export declare const DeploymentGetConfigContentDeploymentsResponse2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsResponse2>;
|
|
3217
2337
|
export declare function deploymentGetConfigContentDeploymentsResponse2ToJSON(deploymentGetConfigContentDeploymentsResponse2: DeploymentGetConfigContentDeploymentsResponse2): string;
|
|
@@ -3219,7 +2339,7 @@ export declare function deploymentGetConfigContentDeploymentsResponse2FromJSON(j
|
|
|
3219
2339
|
/** @internal */
|
|
3220
2340
|
export declare const DeploymentGetConfigContent$inboundSchema: z.ZodType<DeploymentGetConfigContent, z.ZodTypeDef, unknown>;
|
|
3221
2341
|
/** @internal */
|
|
3222
|
-
export type DeploymentGetConfigContent$Outbound = string | Array<
|
|
2342
|
+
export type DeploymentGetConfigContent$Outbound = string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig22$Outbound | DeploymentGetConfig23$Outbound>;
|
|
3223
2343
|
/** @internal */
|
|
3224
2344
|
export declare const DeploymentGetConfigContent$outboundSchema: z.ZodType<DeploymentGetConfigContent$Outbound, z.ZodTypeDef, DeploymentGetConfigContent>;
|
|
3225
2345
|
export declare function deploymentGetConfigContentToJSON(deploymentGetConfigContent: DeploymentGetConfigContent): string;
|
|
@@ -3253,18 +2373,18 @@ export declare const DeploymentGetConfigToolCalls$outboundSchema: z.ZodType<Depl
|
|
|
3253
2373
|
export declare function deploymentGetConfigToolCallsToJSON(deploymentGetConfigToolCalls: DeploymentGetConfigToolCalls): string;
|
|
3254
2374
|
export declare function deploymentGetConfigToolCallsFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigToolCalls, SDKValidationError>;
|
|
3255
2375
|
/** @internal */
|
|
3256
|
-
export declare const
|
|
2376
|
+
export declare const DeploymentGetConfigDeploymentsMessages$inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsMessages, z.ZodTypeDef, unknown>;
|
|
3257
2377
|
/** @internal */
|
|
3258
|
-
export type
|
|
2378
|
+
export type DeploymentGetConfigDeploymentsMessages$Outbound = {
|
|
3259
2379
|
role: string;
|
|
3260
|
-
content: string | Array<
|
|
2380
|
+
content: string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig22$Outbound | DeploymentGetConfig23$Outbound> | null;
|
|
3261
2381
|
tool_calls?: Array<DeploymentGetConfigToolCalls$Outbound> | undefined;
|
|
3262
|
-
tool_call_id?: string | undefined;
|
|
2382
|
+
tool_call_id?: string | null | undefined;
|
|
3263
2383
|
};
|
|
3264
2384
|
/** @internal */
|
|
3265
|
-
export declare const
|
|
3266
|
-
export declare function
|
|
3267
|
-
export declare function
|
|
2385
|
+
export declare const DeploymentGetConfigDeploymentsMessages$outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsMessages$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsMessages>;
|
|
2386
|
+
export declare function deploymentGetConfigDeploymentsMessagesToJSON(deploymentGetConfigDeploymentsMessages: DeploymentGetConfigDeploymentsMessages): string;
|
|
2387
|
+
export declare function deploymentGetConfigDeploymentsMessagesFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigDeploymentsMessages, SDKValidationError>;
|
|
3268
2388
|
/** @internal */
|
|
3269
2389
|
export declare const DeploymentGetConfigFormat$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigFormat>;
|
|
3270
2390
|
/** @internal */
|
|
@@ -3434,7 +2554,7 @@ export type DeploymentGetConfigResponseBody$Outbound = {
|
|
|
3434
2554
|
model: string;
|
|
3435
2555
|
type?: string | undefined;
|
|
3436
2556
|
version: string;
|
|
3437
|
-
messages: Array<
|
|
2557
|
+
messages: Array<DeploymentGetConfigDeploymentsMessages$Outbound>;
|
|
3438
2558
|
parameters: DeploymentGetConfigParameters$Outbound;
|
|
3439
2559
|
tools?: Array<DeploymentGetConfigTools$Outbound> | undefined;
|
|
3440
2560
|
};
|