@orq-ai/node 4.1.0-rc.0 → 4.1.0-rc.11
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 +22 -18
- package/bin/mcp-server.js +35857 -37966
- package/bin/mcp-server.js.map +100 -74
- package/docs/sdks/agents/README.md +10 -10
- package/docs/sdks/evals/README.md +103 -1
- package/docs/sdks/responses/README.md +5 -5
- package/examples/package-lock.json +1 -1
- package/funcs/agentsCreate.d.ts +1 -1
- package/funcs/agentsCreate.d.ts.map +1 -1
- package/funcs/agentsCreate.js +2 -4
- package/funcs/agentsCreate.js.map +1 -1
- package/funcs/agentsResponsesCreate.d.ts +1 -1
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +4 -4
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/agentsRun.d.ts +1 -1
- package/funcs/agentsRun.d.ts.map +1 -1
- package/funcs/agentsRun.js +2 -4
- package/funcs/agentsRun.js.map +1 -1
- package/funcs/agentsStream.d.ts +1 -1
- package/funcs/agentsStream.d.ts.map +1 -1
- package/funcs/agentsStream.js +4 -4
- package/funcs/agentsStream.js.map +1 -1
- package/funcs/agentsStreamRun.d.ts +1 -1
- package/funcs/agentsStreamRun.d.ts.map +1 -1
- package/funcs/agentsStreamRun.js +2 -4
- package/funcs/agentsStreamRun.js.map +1 -1
- package/funcs/agentsUpdate.d.ts +1 -1
- package/funcs/agentsUpdate.d.ts.map +1 -1
- package/funcs/agentsUpdate.js +4 -4
- package/funcs/agentsUpdate.js.map +1 -1
- 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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsCreate.d.ts +1 -1
- package/mcp-server/tools/agentsCreate.js +1 -1
- package/mcp-server/tools/agentsCreate.js.map +1 -1
- package/mcp-server/tools/agentsResponsesCreate.d.ts +1 -1
- package/mcp-server/tools/agentsResponsesCreate.d.ts.map +1 -1
- package/mcp-server/tools/agentsResponsesCreate.js +2 -3
- package/mcp-server/tools/agentsResponsesCreate.js.map +1 -1
- package/mcp-server/tools/agentsRun.d.ts +1 -1
- package/mcp-server/tools/agentsRun.js +1 -1
- package/mcp-server/tools/agentsRun.js.map +1 -1
- package/mcp-server/tools/agentsStream.d.ts +1 -1
- package/mcp-server/tools/agentsStream.js +2 -2
- package/mcp-server/tools/agentsStream.js.map +1 -1
- package/mcp-server/tools/agentsStreamRun.d.ts +1 -1
- package/mcp-server/tools/agentsStreamRun.js +1 -1
- package/mcp-server/tools/agentsStreamRun.js.map +1 -1
- package/mcp-server/tools/agentsUpdate.d.ts +1 -1
- package/mcp-server/tools/agentsUpdate.d.ts.map +1 -1
- package/mcp-server/tools/agentsUpdate.js +2 -3
- package/mcp-server/tools/agentsUpdate.js.map +1 -1
- 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/actionreviewedstreamingevent.d.ts +76 -0
- package/models/components/actionreviewedstreamingevent.d.ts.map +1 -0
- package/models/components/actionreviewedstreamingevent.js +127 -0
- package/models/components/actionreviewedstreamingevent.js.map +1 -0
- package/models/components/actionreviewrequestedstreamingevent.d.ts +135 -0
- package/models/components/actionreviewrequestedstreamingevent.d.ts.map +1 -0
- package/models/components/actionreviewrequestedstreamingevent.js +180 -0
- package/models/components/actionreviewrequestedstreamingevent.js.map +1 -0
- package/models/components/agenterroredstreamingevent.d.ts +58 -0
- package/models/components/agenterroredstreamingevent.d.ts.map +1 -0
- package/models/components/agenterroredstreamingevent.js +91 -0
- package/models/components/agenterroredstreamingevent.js.map +1 -0
- package/models/components/agentexecutionstartedstreamingevent.d.ts +62 -0
- package/models/components/agentexecutionstartedstreamingevent.d.ts.map +1 -0
- package/models/components/agentexecutionstartedstreamingevent.js +103 -0
- package/models/components/agentexecutionstartedstreamingevent.js.map +1 -0
- package/models/components/agenthandedoffstreamingevent.d.ts +51 -0
- package/models/components/agenthandedoffstreamingevent.d.ts.map +1 -0
- package/models/components/agenthandedoffstreamingevent.js +96 -0
- package/models/components/agenthandedoffstreamingevent.js.map +1 -0
- package/models/components/agentinactivestreamingevent.d.ts +309 -0
- package/models/components/agentinactivestreamingevent.d.ts.map +1 -0
- package/models/components/agentinactivestreamingevent.js +385 -0
- package/models/components/agentinactivestreamingevent.js.map +1 -0
- package/models/components/agentmessagecreatedstreamingevent.d.ts +141 -0
- package/models/components/agentmessagecreatedstreamingevent.d.ts.map +1 -0
- package/models/components/agentmessagecreatedstreamingevent.js +190 -0
- package/models/components/agentmessagecreatedstreamingevent.js.map +1 -0
- package/models/components/agentstartedstreamingevent.d.ts +382 -0
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -0
- package/models/components/agentstartedstreamingevent.js +441 -0
- package/models/components/agentstartedstreamingevent.js.map +1 -0
- package/models/components/agentthoughtstreamingevent.d.ts +542 -0
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -0
- package/models/components/agentthoughtstreamingevent.js +626 -0
- package/models/components/agentthoughtstreamingevent.js.map +1 -0
- package/models/components/datapart.d.ts +41 -0
- package/models/components/datapart.d.ts.map +1 -0
- package/models/components/datapart.js +69 -0
- package/models/components/datapart.js.map +1 -0
- package/models/components/errorstreamingevent.d.ts +51 -0
- package/models/components/errorstreamingevent.d.ts.map +1 -0
- package/models/components/errorstreamingevent.js +87 -0
- package/models/components/errorstreamingevent.js.map +1 -0
- package/models/components/executionnamedstreamingevent.d.ts +51 -0
- package/models/components/executionnamedstreamingevent.d.ts.map +1 -0
- package/models/components/executionnamedstreamingevent.js +96 -0
- package/models/components/executionnamedstreamingevent.js.map +1 -0
- package/models/components/executionreviewedstreamingevent.d.ts +45 -0
- package/models/components/executionreviewedstreamingevent.d.ts.map +1 -0
- package/models/components/executionreviewedstreamingevent.js +81 -0
- package/models/components/executionreviewedstreamingevent.js.map +1 -0
- package/models/components/executionreviewrequiredstreamingevent.d.ts +45 -0
- package/models/components/executionreviewrequiredstreamingevent.d.ts.map +1 -0
- package/models/components/executionreviewrequiredstreamingevent.js +82 -0
- package/models/components/executionreviewrequiredstreamingevent.js.map +1 -0
- package/models/components/filepart.d.ts +104 -0
- package/models/components/filepart.d.ts.map +1 -0
- package/models/components/filepart.js +134 -0
- package/models/components/filepart.js.map +1 -0
- package/models/components/index.d.ts +22 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +22 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +21 -21
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +27 -28
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/textpart.d.ts +31 -0
- package/models/components/textpart.d.ts.map +1 -0
- package/models/components/textpart.js +67 -0
- package/models/components/textpart.js.map +1 -0
- package/models/components/timeoutstreamingevent.d.ts +49 -0
- package/models/components/timeoutstreamingevent.d.ts.map +1 -0
- package/models/components/timeoutstreamingevent.js +85 -0
- package/models/components/timeoutstreamingevent.js.map +1 -0
- package/models/components/toolcallpart.d.ts +45 -0
- package/models/components/toolcallpart.d.ts.map +1 -0
- package/models/components/toolcallpart.js +84 -0
- package/models/components/toolcallpart.js.map +1 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts +144 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -0
- package/models/components/toolexecutionfailedstreamingevent.js +223 -0
- package/models/components/toolexecutionfailedstreamingevent.js.map +1 -0
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +129 -0
- package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -0
- package/models/components/toolexecutionfinishedstreamingevent.js +205 -0
- package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -0
- package/models/components/toolexecutionstartedstreamingevent.d.ts +139 -0
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -0
- package/models/components/toolexecutionstartedstreamingevent.js +217 -0
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -0
- package/models/components/toolresultpart.d.ts +39 -0
- package/models/components/toolresultpart.d.ts.map +1 -0
- package/models/components/toolresultpart.js +80 -0
- package/models/components/toolresultpart.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/invokeeval.d.ts +55 -0
- package/models/errors/invokeeval.d.ts.map +1 -0
- package/models/errors/invokeeval.js +106 -0
- package/models/errors/invokeeval.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +3 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +58 -167
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +89 -173
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +80 -145
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +190 -266
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createprompt.d.ts +9 -11
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +9 -11
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentgetconfig.d.ts +241 -241
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +346 -351
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +24 -26
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +26 -28
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +24 -26
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +26 -28
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +25 -27
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +30 -34
- 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.js +2 -2
- package/models/operations/getallprompts.d.ts +9 -11
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +9 -11
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.d.ts +14 -79
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +49 -132
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +9 -11
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +9 -11
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +9 -11
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +9 -11
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +63 -416
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +80 -429
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/invokeeval.d.ts +719 -0
- package/models/operations/invokeeval.d.ts.map +1 -0
- package/models/operations/invokeeval.js +954 -0
- package/models/operations/invokeeval.js.map +1 -0
- package/models/operations/listagents.d.ts +3 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listknowledgebases.d.ts +16 -16
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +27 -25
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +9 -11
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +9 -11
- 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.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +49 -402
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +70 -418
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +240 -3281
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +160 -3604
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +888 -3929
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +165 -3605
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +5 -2
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +2 -4
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.d.ts +14 -79
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +51 -134
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatememorystore.d.ts +9 -20
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +9 -14
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +18 -22
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +18 -22
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/agents.d.ts +5 -5
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +4 -4
- package/sdk/agents.js.map +1 -1
- 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 +1 -1
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +2 -2
- package/sdk/responses.js.map +1 -1
- package/src/funcs/agentsCreate.ts +4 -8
- package/src/funcs/agentsResponsesCreate.ts +4 -4
- package/src/funcs/agentsRun.ts +4 -7
- package/src/funcs/agentsStream.ts +4 -4
- package/src/funcs/agentsStreamRun.ts +4 -9
- package/src/funcs/agentsUpdate.ts +4 -4
- package/src/funcs/evalsInvoke.ts +177 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/agentsCreate.ts +1 -1
- package/src/mcp-server/tools/agentsResponsesCreate.ts +2 -3
- package/src/mcp-server/tools/agentsRun.ts +1 -1
- package/src/mcp-server/tools/agentsStream.ts +2 -2
- package/src/mcp-server/tools/agentsStreamRun.ts +1 -1
- package/src/mcp-server/tools/agentsUpdate.ts +2 -3
- package/src/mcp-server/tools/evalsInvoke.ts +35 -0
- package/src/models/components/actionreviewedstreamingevent.ts +189 -0
- package/src/models/components/actionreviewrequestedstreamingevent.ts +326 -0
- package/src/models/components/agenterroredstreamingevent.ts +142 -0
- package/src/models/components/agentexecutionstartedstreamingevent.ts +145 -0
- package/src/models/components/agenthandedoffstreamingevent.ts +142 -0
- package/src/models/components/agentinactivestreamingevent.ts +857 -0
- package/src/models/components/agentmessagecreatedstreamingevent.ts +396 -0
- package/src/models/components/agentstartedstreamingevent.ts +909 -0
- package/src/models/components/agentthoughtstreamingevent.ts +1419 -0
- package/src/models/components/datapart.ts +71 -0
- package/src/models/components/errorstreamingevent.ts +129 -0
- package/src/models/components/executionnamedstreamingevent.ts +142 -0
- package/src/models/components/executionreviewedstreamingevent.ts +122 -0
- package/src/models/components/executionreviewrequiredstreamingevent.ts +130 -0
- package/src/models/components/filepart.ts +231 -0
- package/src/models/components/index.ts +22 -0
- package/src/models/components/invokedeploymentrequest.ts +66 -52
- package/src/models/components/textpart.ts +68 -0
- package/src/models/components/timeoutstreamingevent.ts +125 -0
- package/src/models/components/toolcallpart.ts +92 -0
- package/src/models/components/toolexecutionfailedstreamingevent.ts +406 -0
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +373 -0
- package/src/models/components/toolexecutionstartedstreamingevent.ts +350 -0
- package/src/models/components/toolresultpart.ts +86 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/invokeeval.ts +128 -0
- package/src/models/operations/createagentrequest.ts +3 -0
- package/src/models/operations/createagentresponserequest.ts +190 -397
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +318 -615
- package/src/models/operations/createprompt.ts +9 -11
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentgetconfig.ts +877 -685
- package/src/models/operations/deploymentinvoke.ts +44 -46
- package/src/models/operations/deployments.ts +45 -47
- package/src/models/operations/deploymentstream.ts +64 -49
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getallprompts.ts +9 -11
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +52 -287
- package/src/models/operations/getoneprompt.ts +9 -11
- package/src/models/operations/getpromptversion.ts +9 -11
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/invokeagent.ts +180 -1041
- package/src/models/operations/invokeeval.ts +2062 -0
- package/src/models/operations/listagents.ts +3 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listknowledgebases.ts +82 -102
- package/src/models/operations/listpromptversions.ts +9 -11
- package/src/models/operations/retrieveagentrequest.ts +3 -0
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +238 -1140
- package/src/models/operations/streamagent.ts +780 -9308
- package/src/models/operations/streamrunagent.ts +3839 -12309
- package/src/models/operations/updateagent.ts +7 -6
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +52 -287
- package/src/models/operations/updatememorystore.ts +9 -20
- package/src/models/operations/updateprompt.ts +18 -22
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/agents.ts +7 -7
- package/src/sdk/evals.ts +15 -0
- package/src/sdk/responses.ts +2 -2
|
@@ -5,22 +5,22 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* The role of the messages author, in this case tool.
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole: {
|
|
9
9
|
readonly Tool: "tool";
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* The role of the messages author, in this case tool.
|
|
13
13
|
*/
|
|
14
|
-
export type
|
|
14
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole = ClosedEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole>;
|
|
15
15
|
/**
|
|
16
16
|
* The contents of the tool message.
|
|
17
17
|
*/
|
|
18
|
-
export type
|
|
18
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsContent = string | Array<string>;
|
|
19
19
|
export type ToolMessage = {
|
|
20
20
|
/**
|
|
21
21
|
* The role of the messages author, in this case tool.
|
|
22
22
|
*/
|
|
23
|
-
role:
|
|
23
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole;
|
|
24
24
|
/**
|
|
25
25
|
* The contents of the tool message.
|
|
26
26
|
*/
|
|
@@ -33,18 +33,18 @@ export type ToolMessage = {
|
|
|
33
33
|
/**
|
|
34
34
|
* The type of the content part.
|
|
35
35
|
*/
|
|
36
|
-
export declare const
|
|
36
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type: {
|
|
37
37
|
readonly Refusal: "refusal";
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* The type of the content part.
|
|
41
41
|
*/
|
|
42
|
-
export type
|
|
42
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type>;
|
|
43
43
|
export type RefusalContentPart = {
|
|
44
44
|
/**
|
|
45
45
|
* The type of the content part.
|
|
46
46
|
*/
|
|
47
|
-
type:
|
|
47
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type;
|
|
48
48
|
/**
|
|
49
49
|
* The refusal message generated by the model.
|
|
50
50
|
*/
|
|
@@ -53,13 +53,13 @@ export type RefusalContentPart = {
|
|
|
53
53
|
/**
|
|
54
54
|
* The type of the content part.
|
|
55
55
|
*/
|
|
56
|
-
export declare const
|
|
56
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType: {
|
|
57
57
|
readonly Text: "text";
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
60
|
* The type of the content part.
|
|
61
61
|
*/
|
|
62
|
-
export type
|
|
62
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType>;
|
|
63
63
|
export declare const DeploymentGetConfigAnnotationsType: {
|
|
64
64
|
readonly FilePath: "file_path";
|
|
65
65
|
};
|
|
@@ -94,7 +94,7 @@ export type TextContentPart = {
|
|
|
94
94
|
/**
|
|
95
95
|
* The type of the content part.
|
|
96
96
|
*/
|
|
97
|
-
type:
|
|
97
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType;
|
|
98
98
|
/**
|
|
99
99
|
* The text content.
|
|
100
100
|
*/
|
|
@@ -104,21 +104,21 @@ export type TextContentPart = {
|
|
|
104
104
|
*/
|
|
105
105
|
annotations?: Array<Annotations1 | Annotations2> | undefined;
|
|
106
106
|
};
|
|
107
|
-
export type
|
|
107
|
+
export type DeploymentGetConfigContent2 = TextContentPart | RefusalContentPart;
|
|
108
108
|
/**
|
|
109
109
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
110
110
|
*/
|
|
111
|
-
export type
|
|
111
|
+
export type DeploymentGetConfigPrefixMessagesContent = string | Array<TextContentPart | RefusalContentPart>;
|
|
112
112
|
/**
|
|
113
113
|
* The role of the messages author, in this case `assistant`.
|
|
114
114
|
*/
|
|
115
|
-
export declare const
|
|
115
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole: {
|
|
116
116
|
readonly Assistant: "assistant";
|
|
117
117
|
};
|
|
118
118
|
/**
|
|
119
119
|
* The role of the messages author, in this case `assistant`.
|
|
120
120
|
*/
|
|
121
|
-
export type
|
|
121
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestRole = ClosedEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole>;
|
|
122
122
|
/**
|
|
123
123
|
* Data about a previous audio response from the model.
|
|
124
124
|
*/
|
|
@@ -138,7 +138,7 @@ export declare const PrefixMessagesType: {
|
|
|
138
138
|
* The type of the tool. Currently, only `function` is supported.
|
|
139
139
|
*/
|
|
140
140
|
export type PrefixMessagesType = ClosedEnum<typeof PrefixMessagesType>;
|
|
141
|
-
export type
|
|
141
|
+
export type PrefixMessagesFunction = {
|
|
142
142
|
/**
|
|
143
143
|
* The name of the function to call.
|
|
144
144
|
*/
|
|
@@ -148,7 +148,7 @@ export type FunctionT = {
|
|
|
148
148
|
*/
|
|
149
149
|
arguments?: string | undefined;
|
|
150
150
|
};
|
|
151
|
-
export type
|
|
151
|
+
export type PrefixMessagesToolCalls = {
|
|
152
152
|
/**
|
|
153
153
|
* The ID of the tool call.
|
|
154
154
|
*/
|
|
@@ -157,7 +157,7 @@ export type ToolCalls = {
|
|
|
157
157
|
* The type of the tool. Currently, only `function` is supported.
|
|
158
158
|
*/
|
|
159
159
|
type: PrefixMessagesType;
|
|
160
|
-
function:
|
|
160
|
+
function: PrefixMessagesFunction;
|
|
161
161
|
};
|
|
162
162
|
export type AssistantMessage = {
|
|
163
163
|
/**
|
|
@@ -171,7 +171,7 @@ export type AssistantMessage = {
|
|
|
171
171
|
/**
|
|
172
172
|
* The role of the messages author, in this case `assistant`.
|
|
173
173
|
*/
|
|
174
|
-
role:
|
|
174
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRequestRole;
|
|
175
175
|
/**
|
|
176
176
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
177
177
|
*/
|
|
@@ -183,7 +183,7 @@ export type AssistantMessage = {
|
|
|
183
183
|
/**
|
|
184
184
|
* The tool calls generated by the model, such as function calls.
|
|
185
185
|
*/
|
|
186
|
-
toolCalls?: Array<
|
|
186
|
+
toolCalls?: Array<PrefixMessagesToolCalls> | undefined;
|
|
187
187
|
/**
|
|
188
188
|
* Internal thought process of the model
|
|
189
189
|
*/
|
|
@@ -200,27 +200,27 @@ export type AssistantMessage = {
|
|
|
200
200
|
/**
|
|
201
201
|
* The role of the messages author, in this case `user`.
|
|
202
202
|
*/
|
|
203
|
-
export declare const
|
|
203
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRole: {
|
|
204
204
|
readonly User: "user";
|
|
205
205
|
};
|
|
206
206
|
/**
|
|
207
207
|
* The role of the messages author, in this case `user`.
|
|
208
208
|
*/
|
|
209
|
-
export type
|
|
209
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRole = ClosedEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRole>;
|
|
210
210
|
/**
|
|
211
211
|
* The type of the content part. Always `file`.
|
|
212
212
|
*/
|
|
213
|
-
export declare const
|
|
213
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType: {
|
|
214
214
|
readonly File: "file";
|
|
215
215
|
};
|
|
216
216
|
/**
|
|
217
217
|
* The type of the content part. Always `file`.
|
|
218
218
|
*/
|
|
219
|
-
export type
|
|
219
|
+
export type DeploymentGetConfig2DeploymentsRequestRequestBodyType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
220
220
|
/**
|
|
221
221
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
222
222
|
*/
|
|
223
|
-
export type
|
|
223
|
+
export type TwoFile = {
|
|
224
224
|
/**
|
|
225
225
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
226
226
|
*/
|
|
@@ -242,16 +242,16 @@ export type Four = {
|
|
|
242
242
|
/**
|
|
243
243
|
* The type of the content part. Always `file`.
|
|
244
244
|
*/
|
|
245
|
-
type:
|
|
245
|
+
type: DeploymentGetConfig2DeploymentsRequestRequestBodyType;
|
|
246
246
|
/**
|
|
247
247
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
248
248
|
*/
|
|
249
|
-
file:
|
|
249
|
+
file: TwoFile;
|
|
250
250
|
};
|
|
251
|
-
export declare const
|
|
251
|
+
export declare const DeploymentGetConfig2DeploymentsRequestType: {
|
|
252
252
|
readonly InputAudio: "input_audio";
|
|
253
253
|
};
|
|
254
|
-
export type
|
|
254
|
+
export type DeploymentGetConfig2DeploymentsRequestType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestType>;
|
|
255
255
|
/**
|
|
256
256
|
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
257
257
|
*/
|
|
@@ -273,14 +273,14 @@ export type InputAudio = {
|
|
|
273
273
|
*/
|
|
274
274
|
format: Format;
|
|
275
275
|
};
|
|
276
|
-
export type
|
|
277
|
-
type:
|
|
276
|
+
export type Two3 = {
|
|
277
|
+
type: DeploymentGetConfig2DeploymentsRequestType;
|
|
278
278
|
inputAudio: InputAudio;
|
|
279
279
|
};
|
|
280
|
-
export declare const
|
|
280
|
+
export declare const DeploymentGetConfig2DeploymentsType: {
|
|
281
281
|
readonly ImageUrl: "image_url";
|
|
282
282
|
};
|
|
283
|
-
export type
|
|
283
|
+
export type DeploymentGetConfig2DeploymentsType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
284
284
|
/**
|
|
285
285
|
* Specifies the detail level of the image.
|
|
286
286
|
*/
|
|
@@ -293,7 +293,7 @@ export declare const Detail: {
|
|
|
293
293
|
* Specifies the detail level of the image.
|
|
294
294
|
*/
|
|
295
295
|
export type Detail = ClosedEnum<typeof Detail>;
|
|
296
|
-
export type
|
|
296
|
+
export type TwoImageUrl = {
|
|
297
297
|
/**
|
|
298
298
|
* Either a URL of the image or the base64 encoded image data.
|
|
299
299
|
*/
|
|
@@ -303,28 +303,28 @@ export type ImageUrl = {
|
|
|
303
303
|
*/
|
|
304
304
|
detail?: Detail | undefined;
|
|
305
305
|
};
|
|
306
|
-
export type
|
|
307
|
-
type:
|
|
308
|
-
imageUrl:
|
|
306
|
+
export type DeploymentGetConfig22 = {
|
|
307
|
+
type: DeploymentGetConfig2DeploymentsType;
|
|
308
|
+
imageUrl: TwoImageUrl;
|
|
309
309
|
};
|
|
310
|
-
export declare const
|
|
310
|
+
export declare const DeploymentGetConfig2Type: {
|
|
311
311
|
readonly Text: "text";
|
|
312
312
|
};
|
|
313
|
-
export type
|
|
314
|
-
export type
|
|
315
|
-
type:
|
|
313
|
+
export type DeploymentGetConfig2Type = ClosedEnum<typeof DeploymentGetConfig2Type>;
|
|
314
|
+
export type Two1 = {
|
|
315
|
+
type: DeploymentGetConfig2Type;
|
|
316
316
|
text: string;
|
|
317
317
|
};
|
|
318
|
-
export type
|
|
318
|
+
export type Content2 = Two1 | DeploymentGetConfig22 | Two3 | Four;
|
|
319
319
|
/**
|
|
320
320
|
* The contents of the user message.
|
|
321
321
|
*/
|
|
322
|
-
export type
|
|
322
|
+
export type PrefixMessagesContent = string | Array<Two1 | DeploymentGetConfig22 | Two3 | Four>;
|
|
323
323
|
export type UserMessage = {
|
|
324
324
|
/**
|
|
325
325
|
* The role of the messages author, in this case `user`.
|
|
326
326
|
*/
|
|
327
|
-
role:
|
|
327
|
+
role: DeploymentGetConfigPrefixMessagesDeploymentsRole;
|
|
328
328
|
/**
|
|
329
329
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
330
330
|
*/
|
|
@@ -332,23 +332,23 @@ export type UserMessage = {
|
|
|
332
332
|
/**
|
|
333
333
|
* The contents of the user message.
|
|
334
334
|
*/
|
|
335
|
-
content: string | Array<
|
|
335
|
+
content: string | Array<Two1 | DeploymentGetConfig22 | Two3 | Four>;
|
|
336
336
|
};
|
|
337
337
|
/**
|
|
338
338
|
* The role of the messages author, in this case `system`.
|
|
339
339
|
*/
|
|
340
|
-
export declare const
|
|
340
|
+
export declare const DeploymentGetConfigPrefixMessagesRole: {
|
|
341
341
|
readonly System: "system";
|
|
342
342
|
};
|
|
343
343
|
/**
|
|
344
344
|
* The role of the messages author, in this case `system`.
|
|
345
345
|
*/
|
|
346
|
-
export type
|
|
346
|
+
export type DeploymentGetConfigPrefixMessagesRole = ClosedEnum<typeof DeploymentGetConfigPrefixMessagesRole>;
|
|
347
347
|
export type SystemMessage = {
|
|
348
348
|
/**
|
|
349
349
|
* The role of the messages author, in this case `system`.
|
|
350
350
|
*/
|
|
351
|
-
role:
|
|
351
|
+
role: DeploymentGetConfigPrefixMessagesRole;
|
|
352
352
|
/**
|
|
353
353
|
* The contents of the system message.
|
|
354
354
|
*/
|
|
@@ -361,18 +361,18 @@ export type SystemMessage = {
|
|
|
361
361
|
/**
|
|
362
362
|
* The role of the messages author, in this case `developer`.
|
|
363
363
|
*/
|
|
364
|
-
export declare const
|
|
364
|
+
export declare const PrefixMessagesRole: {
|
|
365
365
|
readonly Developer: "developer";
|
|
366
366
|
};
|
|
367
367
|
/**
|
|
368
368
|
* The role of the messages author, in this case `developer`.
|
|
369
369
|
*/
|
|
370
|
-
export type
|
|
370
|
+
export type PrefixMessagesRole = ClosedEnum<typeof PrefixMessagesRole>;
|
|
371
371
|
export type DeveloperMessage = {
|
|
372
372
|
/**
|
|
373
373
|
* The role of the messages author, in this case `developer`.
|
|
374
374
|
*/
|
|
375
|
-
role:
|
|
375
|
+
role: PrefixMessagesRole;
|
|
376
376
|
/**
|
|
377
377
|
* The contents of the developer message.
|
|
378
378
|
*/
|
|
@@ -485,7 +485,7 @@ export type TwoTextContentPart = {
|
|
|
485
485
|
*/
|
|
486
486
|
annotations?: Array<DeploymentGetConfigAnnotations1 | DeploymentGetConfigAnnotations2> | undefined;
|
|
487
487
|
};
|
|
488
|
-
export type
|
|
488
|
+
export type DeploymentGetConfigContentDeploymentsRequest2 = TwoTextContentPart | TwoRefusalContentPart;
|
|
489
489
|
/**
|
|
490
490
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
491
491
|
*/
|
|
@@ -601,7 +601,7 @@ export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Ty
|
|
|
601
601
|
/**
|
|
602
602
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
603
603
|
*/
|
|
604
|
-
export type
|
|
604
|
+
export type DeploymentGetConfig2File = {
|
|
605
605
|
/**
|
|
606
606
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
607
607
|
*/
|
|
@@ -627,7 +627,7 @@ export type Two4 = {
|
|
|
627
627
|
/**
|
|
628
628
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
629
629
|
*/
|
|
630
|
-
file:
|
|
630
|
+
file: DeploymentGetConfig2File;
|
|
631
631
|
};
|
|
632
632
|
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType: {
|
|
633
633
|
readonly InputAudio: "input_audio";
|
|
@@ -654,7 +654,7 @@ export type TwoInputAudio = {
|
|
|
654
654
|
*/
|
|
655
655
|
format: TwoFormat;
|
|
656
656
|
};
|
|
657
|
-
export type
|
|
657
|
+
export type DeploymentGetConfig23 = {
|
|
658
658
|
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType;
|
|
659
659
|
inputAudio: TwoInputAudio;
|
|
660
660
|
};
|
|
@@ -674,7 +674,7 @@ export declare const TwoDetail: {
|
|
|
674
674
|
* Specifies the detail level of the image.
|
|
675
675
|
*/
|
|
676
676
|
export type TwoDetail = ClosedEnum<typeof TwoDetail>;
|
|
677
|
-
export type
|
|
677
|
+
export type DeploymentGetConfig2ImageUrl = {
|
|
678
678
|
/**
|
|
679
679
|
* Either a URL of the image or the base64 encoded image data.
|
|
680
680
|
*/
|
|
@@ -684,23 +684,23 @@ export type TwoImageUrl = {
|
|
|
684
684
|
*/
|
|
685
685
|
detail?: TwoDetail | undefined;
|
|
686
686
|
};
|
|
687
|
-
export type
|
|
687
|
+
export type DeploymentGetConfig2Deployments2 = {
|
|
688
688
|
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type;
|
|
689
|
-
imageUrl:
|
|
689
|
+
imageUrl: DeploymentGetConfig2ImageUrl;
|
|
690
690
|
};
|
|
691
691
|
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType: {
|
|
692
692
|
readonly Text: "text";
|
|
693
693
|
};
|
|
694
694
|
export type DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType>;
|
|
695
|
-
export type
|
|
695
|
+
export type DeploymentGetConfig21 = {
|
|
696
696
|
type: DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType;
|
|
697
697
|
text: string;
|
|
698
698
|
};
|
|
699
|
-
export type
|
|
699
|
+
export type DeploymentGetConfigContentDeployments2 = DeploymentGetConfig21 | DeploymentGetConfig2Deployments2 | DeploymentGetConfig23 | Two4;
|
|
700
700
|
/**
|
|
701
701
|
* The contents of the user message.
|
|
702
702
|
*/
|
|
703
|
-
export type MessagesContent = string | Array<
|
|
703
|
+
export type MessagesContent = string | Array<DeploymentGetConfig21 | DeploymentGetConfig2Deployments2 | DeploymentGetConfig23 | Two4>;
|
|
704
704
|
export type MessagesUserMessage = {
|
|
705
705
|
/**
|
|
706
706
|
* The role of the messages author, in this case `user`.
|
|
@@ -713,7 +713,7 @@ export type MessagesUserMessage = {
|
|
|
713
713
|
/**
|
|
714
714
|
* The contents of the user message.
|
|
715
715
|
*/
|
|
716
|
-
content: string | Array<
|
|
716
|
+
content: string | Array<DeploymentGetConfig21 | DeploymentGetConfig2Deployments2 | DeploymentGetConfig23 | Two4>;
|
|
717
717
|
};
|
|
718
718
|
/**
|
|
719
719
|
* The role of the messages author, in this case `system`.
|
|
@@ -763,7 +763,7 @@ export type MessagesDeveloperMessage = {
|
|
|
763
763
|
*/
|
|
764
764
|
name?: string | undefined;
|
|
765
765
|
};
|
|
766
|
-
export type
|
|
766
|
+
export type DeploymentGetConfigMessages = MessagesToolMessage | MessagesDeveloperMessage | MessagesSystemMessage | MessagesUserMessage | MessagesAssistantMessage;
|
|
767
767
|
/**
|
|
768
768
|
* Metadata about the document
|
|
769
769
|
*/
|
|
@@ -1109,7 +1109,7 @@ export declare const DeploymentGetConfig2DeploymentsResponse200ApplicationJSONTy
|
|
|
1109
1109
|
* The type of the content part. Always `file`.
|
|
1110
1110
|
*/
|
|
1111
1111
|
export type DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType>;
|
|
1112
|
-
export type
|
|
1112
|
+
export type DeploymentGetConfig2DeploymentsFile = {
|
|
1113
1113
|
/**
|
|
1114
1114
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
1115
1115
|
*/
|
|
@@ -1127,18 +1127,18 @@ export type DeploymentGetConfig2File = {
|
|
|
1127
1127
|
*/
|
|
1128
1128
|
filename?: string | undefined;
|
|
1129
1129
|
};
|
|
1130
|
-
export type
|
|
1130
|
+
export type DeploymentGetConfig2Deployments3 = {
|
|
1131
1131
|
/**
|
|
1132
1132
|
* The type of the content part. Always `file`.
|
|
1133
1133
|
*/
|
|
1134
1134
|
type: DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType;
|
|
1135
|
-
file:
|
|
1135
|
+
file: DeploymentGetConfig2DeploymentsFile;
|
|
1136
1136
|
};
|
|
1137
1137
|
export declare const DeploymentGetConfig2DeploymentsResponse200Type: {
|
|
1138
1138
|
readonly ImageUrl: "image_url";
|
|
1139
1139
|
};
|
|
1140
1140
|
export type DeploymentGetConfig2DeploymentsResponse200Type = ClosedEnum<typeof DeploymentGetConfig2DeploymentsResponse200Type>;
|
|
1141
|
-
export type
|
|
1141
|
+
export type DeploymentGetConfig2DeploymentsImageUrl = {
|
|
1142
1142
|
/**
|
|
1143
1143
|
* The orq.ai id of the image
|
|
1144
1144
|
*/
|
|
@@ -1155,9 +1155,9 @@ export type DeploymentGetConfig2ImageUrl = {
|
|
|
1155
1155
|
/**
|
|
1156
1156
|
* The image part of the prompt message. Only supported with vision models.
|
|
1157
1157
|
*/
|
|
1158
|
-
export type
|
|
1158
|
+
export type DeploymentGetConfig2DeploymentsResponse2 = {
|
|
1159
1159
|
type: DeploymentGetConfig2DeploymentsResponse200Type;
|
|
1160
|
-
imageUrl:
|
|
1160
|
+
imageUrl: DeploymentGetConfig2DeploymentsImageUrl;
|
|
1161
1161
|
};
|
|
1162
1162
|
export declare const DeploymentGetConfig2DeploymentsResponseType: {
|
|
1163
1163
|
readonly Text: "text";
|
|
@@ -1166,15 +1166,15 @@ export type DeploymentGetConfig2DeploymentsResponseType = ClosedEnum<typeof Depl
|
|
|
1166
1166
|
/**
|
|
1167
1167
|
* Text content part of a prompt message
|
|
1168
1168
|
*/
|
|
1169
|
-
export type
|
|
1169
|
+
export type DeploymentGetConfig2Deployments1 = {
|
|
1170
1170
|
type: DeploymentGetConfig2DeploymentsResponseType;
|
|
1171
1171
|
text: string;
|
|
1172
1172
|
};
|
|
1173
|
-
export type DeploymentGetConfigContentDeploymentsResponse2 =
|
|
1173
|
+
export type DeploymentGetConfigContentDeploymentsResponse2 = DeploymentGetConfig2Deployments1 | DeploymentGetConfig2DeploymentsResponse2 | DeploymentGetConfig2Deployments3;
|
|
1174
1174
|
/**
|
|
1175
1175
|
* 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.
|
|
1176
1176
|
*/
|
|
1177
|
-
export type DeploymentGetConfigContent = string | Array<
|
|
1177
|
+
export type DeploymentGetConfigContent = string | Array<DeploymentGetConfig2Deployments1 | DeploymentGetConfig2DeploymentsResponse2 | DeploymentGetConfig2Deployments3>;
|
|
1178
1178
|
export declare const DeploymentGetConfigDeploymentsResponseType: {
|
|
1179
1179
|
readonly Function: "function";
|
|
1180
1180
|
};
|
|
@@ -1192,7 +1192,7 @@ export type DeploymentGetConfigToolCalls = {
|
|
|
1192
1192
|
type: DeploymentGetConfigDeploymentsResponseType;
|
|
1193
1193
|
function: DeploymentGetConfigDeploymentsFunction;
|
|
1194
1194
|
};
|
|
1195
|
-
export type
|
|
1195
|
+
export type DeploymentGetConfigDeploymentsMessages = {
|
|
1196
1196
|
/**
|
|
1197
1197
|
* The role of the prompt message
|
|
1198
1198
|
*/
|
|
@@ -1200,7 +1200,7 @@ export type DeploymentGetConfigMessages = {
|
|
|
1200
1200
|
/**
|
|
1201
1201
|
* 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.
|
|
1202
1202
|
*/
|
|
1203
|
-
content: string | Array<
|
|
1203
|
+
content: string | Array<DeploymentGetConfig2Deployments1 | DeploymentGetConfig2DeploymentsResponse2 | DeploymentGetConfig2Deployments3> | null;
|
|
1204
1204
|
toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
|
|
1205
1205
|
toolCallId?: string | undefined;
|
|
1206
1206
|
};
|
|
@@ -1492,7 +1492,7 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
1492
1492
|
* The current version of the deployment
|
|
1493
1493
|
*/
|
|
1494
1494
|
version: string;
|
|
1495
|
-
messages: Array<
|
|
1495
|
+
messages: Array<DeploymentGetConfigDeploymentsMessages>;
|
|
1496
1496
|
/**
|
|
1497
1497
|
* Model Parameters: Not all parameters apply to every model
|
|
1498
1498
|
*/
|
|
@@ -1503,17 +1503,17 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
1503
1503
|
tools?: Array<DeploymentGetConfigTools> | undefined;
|
|
1504
1504
|
};
|
|
1505
1505
|
/** @internal */
|
|
1506
|
-
export declare const
|
|
1506
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole>;
|
|
1507
1507
|
/** @internal */
|
|
1508
|
-
export declare const
|
|
1508
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyRole>;
|
|
1509
1509
|
/** @internal */
|
|
1510
|
-
export declare const
|
|
1510
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsContent$inboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesDeploymentsContent, z.ZodTypeDef, unknown>;
|
|
1511
1511
|
/** @internal */
|
|
1512
|
-
export type
|
|
1512
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound = string | Array<string>;
|
|
1513
1513
|
/** @internal */
|
|
1514
|
-
export declare const
|
|
1515
|
-
export declare function
|
|
1516
|
-
export declare function
|
|
1514
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentGetConfigPrefixMessagesDeploymentsContent>;
|
|
1515
|
+
export declare function deploymentGetConfigPrefixMessagesDeploymentsContentToJSON(deploymentGetConfigPrefixMessagesDeploymentsContent: DeploymentGetConfigPrefixMessagesDeploymentsContent): string;
|
|
1516
|
+
export declare function deploymentGetConfigPrefixMessagesDeploymentsContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigPrefixMessagesDeploymentsContent, SDKValidationError>;
|
|
1517
1517
|
/** @internal */
|
|
1518
1518
|
export declare const ToolMessage$inboundSchema: z.ZodType<ToolMessage, z.ZodTypeDef, unknown>;
|
|
1519
1519
|
/** @internal */
|
|
@@ -1527,9 +1527,9 @@ export declare const ToolMessage$outboundSchema: z.ZodType<ToolMessage$Outbound,
|
|
|
1527
1527
|
export declare function toolMessageToJSON(toolMessage: ToolMessage): string;
|
|
1528
1528
|
export declare function toolMessageFromJSON(jsonString: string): SafeParseResult<ToolMessage, SDKValidationError>;
|
|
1529
1529
|
/** @internal */
|
|
1530
|
-
export declare const
|
|
1530
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type>;
|
|
1531
1531
|
/** @internal */
|
|
1532
|
-
export declare const
|
|
1532
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessages4Type>;
|
|
1533
1533
|
/** @internal */
|
|
1534
1534
|
export declare const RefusalContentPart$inboundSchema: z.ZodType<RefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1535
1535
|
/** @internal */
|
|
@@ -1542,9 +1542,9 @@ export declare const RefusalContentPart$outboundSchema: z.ZodType<RefusalContent
|
|
|
1542
1542
|
export declare function refusalContentPartToJSON(refusalContentPart: RefusalContentPart): string;
|
|
1543
1543
|
export declare function refusalContentPartFromJSON(jsonString: string): SafeParseResult<RefusalContentPart, SDKValidationError>;
|
|
1544
1544
|
/** @internal */
|
|
1545
|
-
export declare const
|
|
1545
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType>;
|
|
1546
1546
|
/** @internal */
|
|
1547
|
-
export declare const
|
|
1547
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyPrefixMessagesType>;
|
|
1548
1548
|
/** @internal */
|
|
1549
1549
|
export declare const DeploymentGetConfigAnnotationsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigAnnotationsType>;
|
|
1550
1550
|
/** @internal */
|
|
@@ -1623,25 +1623,25 @@ export declare const TextContentPart$outboundSchema: z.ZodType<TextContentPart$O
|
|
|
1623
1623
|
export declare function textContentPartToJSON(textContentPart: TextContentPart): string;
|
|
1624
1624
|
export declare function textContentPartFromJSON(jsonString: string): SafeParseResult<TextContentPart, SDKValidationError>;
|
|
1625
1625
|
/** @internal */
|
|
1626
|
-
export declare const
|
|
1626
|
+
export declare const DeploymentGetConfigContent2$inboundSchema: z.ZodType<DeploymentGetConfigContent2, z.ZodTypeDef, unknown>;
|
|
1627
1627
|
/** @internal */
|
|
1628
|
-
export type
|
|
1628
|
+
export type DeploymentGetConfigContent2$Outbound = TextContentPart$Outbound | RefusalContentPart$Outbound;
|
|
1629
1629
|
/** @internal */
|
|
1630
|
-
export declare const
|
|
1631
|
-
export declare function
|
|
1632
|
-
export declare function
|
|
1630
|
+
export declare const DeploymentGetConfigContent2$outboundSchema: z.ZodType<DeploymentGetConfigContent2$Outbound, z.ZodTypeDef, DeploymentGetConfigContent2>;
|
|
1631
|
+
export declare function deploymentGetConfigContent2ToJSON(deploymentGetConfigContent2: DeploymentGetConfigContent2): string;
|
|
1632
|
+
export declare function deploymentGetConfigContent2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContent2, SDKValidationError>;
|
|
1633
1633
|
/** @internal */
|
|
1634
|
-
export declare const
|
|
1634
|
+
export declare const DeploymentGetConfigPrefixMessagesContent$inboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
1635
1635
|
/** @internal */
|
|
1636
|
-
export type
|
|
1636
|
+
export type DeploymentGetConfigPrefixMessagesContent$Outbound = string | Array<TextContentPart$Outbound | RefusalContentPart$Outbound>;
|
|
1637
1637
|
/** @internal */
|
|
1638
|
-
export declare const
|
|
1639
|
-
export declare function
|
|
1640
|
-
export declare function
|
|
1638
|
+
export declare const DeploymentGetConfigPrefixMessagesContent$outboundSchema: z.ZodType<DeploymentGetConfigPrefixMessagesContent$Outbound, z.ZodTypeDef, DeploymentGetConfigPrefixMessagesContent>;
|
|
1639
|
+
export declare function deploymentGetConfigPrefixMessagesContentToJSON(deploymentGetConfigPrefixMessagesContent: DeploymentGetConfigPrefixMessagesContent): string;
|
|
1640
|
+
export declare function deploymentGetConfigPrefixMessagesContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigPrefixMessagesContent, SDKValidationError>;
|
|
1641
1641
|
/** @internal */
|
|
1642
|
-
export declare const
|
|
1642
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole>;
|
|
1643
1643
|
/** @internal */
|
|
1644
|
-
export declare const
|
|
1644
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRequestRole>;
|
|
1645
1645
|
/** @internal */
|
|
1646
1646
|
export declare const Audio$inboundSchema: z.ZodType<Audio, z.ZodTypeDef, unknown>;
|
|
1647
1647
|
/** @internal */
|
|
@@ -1657,28 +1657,28 @@ export declare const PrefixMessagesType$inboundSchema: z.ZodNativeEnum<typeof Pr
|
|
|
1657
1657
|
/** @internal */
|
|
1658
1658
|
export declare const PrefixMessagesType$outboundSchema: z.ZodNativeEnum<typeof PrefixMessagesType>;
|
|
1659
1659
|
/** @internal */
|
|
1660
|
-
export declare const
|
|
1660
|
+
export declare const PrefixMessagesFunction$inboundSchema: z.ZodType<PrefixMessagesFunction, z.ZodTypeDef, unknown>;
|
|
1661
1661
|
/** @internal */
|
|
1662
|
-
export type
|
|
1662
|
+
export type PrefixMessagesFunction$Outbound = {
|
|
1663
1663
|
name?: string | undefined;
|
|
1664
1664
|
arguments?: string | undefined;
|
|
1665
1665
|
};
|
|
1666
1666
|
/** @internal */
|
|
1667
|
-
export declare const
|
|
1668
|
-
export declare function
|
|
1669
|
-
export declare function
|
|
1667
|
+
export declare const PrefixMessagesFunction$outboundSchema: z.ZodType<PrefixMessagesFunction$Outbound, z.ZodTypeDef, PrefixMessagesFunction>;
|
|
1668
|
+
export declare function prefixMessagesFunctionToJSON(prefixMessagesFunction: PrefixMessagesFunction): string;
|
|
1669
|
+
export declare function prefixMessagesFunctionFromJSON(jsonString: string): SafeParseResult<PrefixMessagesFunction, SDKValidationError>;
|
|
1670
1670
|
/** @internal */
|
|
1671
|
-
export declare const
|
|
1671
|
+
export declare const PrefixMessagesToolCalls$inboundSchema: z.ZodType<PrefixMessagesToolCalls, z.ZodTypeDef, unknown>;
|
|
1672
1672
|
/** @internal */
|
|
1673
|
-
export type
|
|
1673
|
+
export type PrefixMessagesToolCalls$Outbound = {
|
|
1674
1674
|
id: string;
|
|
1675
1675
|
type: string;
|
|
1676
|
-
function:
|
|
1676
|
+
function: PrefixMessagesFunction$Outbound;
|
|
1677
1677
|
};
|
|
1678
1678
|
/** @internal */
|
|
1679
|
-
export declare const
|
|
1680
|
-
export declare function
|
|
1681
|
-
export declare function
|
|
1679
|
+
export declare const PrefixMessagesToolCalls$outboundSchema: z.ZodType<PrefixMessagesToolCalls$Outbound, z.ZodTypeDef, PrefixMessagesToolCalls>;
|
|
1680
|
+
export declare function prefixMessagesToolCallsToJSON(prefixMessagesToolCalls: PrefixMessagesToolCalls): string;
|
|
1681
|
+
export declare function prefixMessagesToolCallsFromJSON(jsonString: string): SafeParseResult<PrefixMessagesToolCalls, SDKValidationError>;
|
|
1682
1682
|
/** @internal */
|
|
1683
1683
|
export declare const AssistantMessage$inboundSchema: z.ZodType<AssistantMessage, z.ZodTypeDef, unknown>;
|
|
1684
1684
|
/** @internal */
|
|
@@ -1688,7 +1688,7 @@ export type AssistantMessage$Outbound = {
|
|
|
1688
1688
|
role: string;
|
|
1689
1689
|
name?: string | undefined;
|
|
1690
1690
|
audio?: Audio$Outbound | null | undefined;
|
|
1691
|
-
tool_calls?: Array<
|
|
1691
|
+
tool_calls?: Array<PrefixMessagesToolCalls$Outbound> | undefined;
|
|
1692
1692
|
reasoning?: string | undefined;
|
|
1693
1693
|
reasoning_signature?: string | undefined;
|
|
1694
1694
|
redacted_reasoning?: string | undefined;
|
|
@@ -1698,41 +1698,41 @@ export declare const AssistantMessage$outboundSchema: z.ZodType<AssistantMessage
|
|
|
1698
1698
|
export declare function assistantMessageToJSON(assistantMessage: AssistantMessage): string;
|
|
1699
1699
|
export declare function assistantMessageFromJSON(jsonString: string): SafeParseResult<AssistantMessage, SDKValidationError>;
|
|
1700
1700
|
/** @internal */
|
|
1701
|
-
export declare const
|
|
1701
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRole>;
|
|
1702
1702
|
/** @internal */
|
|
1703
|
-
export declare const
|
|
1703
|
+
export declare const DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesDeploymentsRole>;
|
|
1704
1704
|
/** @internal */
|
|
1705
|
-
export declare const
|
|
1705
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
1706
1706
|
/** @internal */
|
|
1707
|
-
export declare const
|
|
1707
|
+
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyType>;
|
|
1708
1708
|
/** @internal */
|
|
1709
|
-
export declare const
|
|
1709
|
+
export declare const TwoFile$inboundSchema: z.ZodType<TwoFile, z.ZodTypeDef, unknown>;
|
|
1710
1710
|
/** @internal */
|
|
1711
|
-
export type
|
|
1711
|
+
export type TwoFile$Outbound = {
|
|
1712
1712
|
file_data?: string | undefined;
|
|
1713
1713
|
uri?: string | undefined;
|
|
1714
1714
|
mimeType?: string | undefined;
|
|
1715
1715
|
filename?: string | undefined;
|
|
1716
1716
|
};
|
|
1717
1717
|
/** @internal */
|
|
1718
|
-
export declare const
|
|
1719
|
-
export declare function
|
|
1720
|
-
export declare function
|
|
1718
|
+
export declare const TwoFile$outboundSchema: z.ZodType<TwoFile$Outbound, z.ZodTypeDef, TwoFile>;
|
|
1719
|
+
export declare function twoFileToJSON(twoFile: TwoFile): string;
|
|
1720
|
+
export declare function twoFileFromJSON(jsonString: string): SafeParseResult<TwoFile, SDKValidationError>;
|
|
1721
1721
|
/** @internal */
|
|
1722
1722
|
export declare const Four$inboundSchema: z.ZodType<Four, z.ZodTypeDef, unknown>;
|
|
1723
1723
|
/** @internal */
|
|
1724
1724
|
export type Four$Outbound = {
|
|
1725
1725
|
type: string;
|
|
1726
|
-
file:
|
|
1726
|
+
file: TwoFile$Outbound;
|
|
1727
1727
|
};
|
|
1728
1728
|
/** @internal */
|
|
1729
1729
|
export declare const Four$outboundSchema: z.ZodType<Four$Outbound, z.ZodTypeDef, Four>;
|
|
1730
1730
|
export declare function fourToJSON(four: Four): string;
|
|
1731
1731
|
export declare function fourFromJSON(jsonString: string): SafeParseResult<Four, SDKValidationError>;
|
|
1732
1732
|
/** @internal */
|
|
1733
|
-
export declare const
|
|
1733
|
+
export declare const DeploymentGetConfig2DeploymentsRequestType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestType>;
|
|
1734
1734
|
/** @internal */
|
|
1735
|
-
export declare const
|
|
1735
|
+
export declare const DeploymentGetConfig2DeploymentsRequestType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestType>;
|
|
1736
1736
|
/** @internal */
|
|
1737
1737
|
export declare const Format$inboundSchema: z.ZodNativeEnum<typeof Format>;
|
|
1738
1738
|
/** @internal */
|
|
@@ -1749,93 +1749,93 @@ export declare const InputAudio$outboundSchema: z.ZodType<InputAudio$Outbound, z
|
|
|
1749
1749
|
export declare function inputAudioToJSON(inputAudio: InputAudio): string;
|
|
1750
1750
|
export declare function inputAudioFromJSON(jsonString: string): SafeParseResult<InputAudio, SDKValidationError>;
|
|
1751
1751
|
/** @internal */
|
|
1752
|
-
export declare const
|
|
1752
|
+
export declare const Two3$inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown>;
|
|
1753
1753
|
/** @internal */
|
|
1754
|
-
export type
|
|
1754
|
+
export type Two3$Outbound = {
|
|
1755
1755
|
type: string;
|
|
1756
1756
|
input_audio: InputAudio$Outbound;
|
|
1757
1757
|
};
|
|
1758
1758
|
/** @internal */
|
|
1759
|
-
export declare const
|
|
1760
|
-
export declare function
|
|
1761
|
-
export declare function
|
|
1759
|
+
export declare const Two3$outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3>;
|
|
1760
|
+
export declare function two3ToJSON(two3: Two3): string;
|
|
1761
|
+
export declare function two3FromJSON(jsonString: string): SafeParseResult<Two3, SDKValidationError>;
|
|
1762
1762
|
/** @internal */
|
|
1763
|
-
export declare const
|
|
1763
|
+
export declare const DeploymentGetConfig2DeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
1764
1764
|
/** @internal */
|
|
1765
|
-
export declare const
|
|
1765
|
+
export declare const DeploymentGetConfig2DeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType>;
|
|
1766
1766
|
/** @internal */
|
|
1767
1767
|
export declare const Detail$inboundSchema: z.ZodNativeEnum<typeof Detail>;
|
|
1768
1768
|
/** @internal */
|
|
1769
1769
|
export declare const Detail$outboundSchema: z.ZodNativeEnum<typeof Detail>;
|
|
1770
1770
|
/** @internal */
|
|
1771
|
-
export declare const
|
|
1771
|
+
export declare const TwoImageUrl$inboundSchema: z.ZodType<TwoImageUrl, z.ZodTypeDef, unknown>;
|
|
1772
1772
|
/** @internal */
|
|
1773
|
-
export type
|
|
1773
|
+
export type TwoImageUrl$Outbound = {
|
|
1774
1774
|
url: string;
|
|
1775
1775
|
detail?: string | undefined;
|
|
1776
1776
|
};
|
|
1777
1777
|
/** @internal */
|
|
1778
|
-
export declare const
|
|
1779
|
-
export declare function
|
|
1780
|
-
export declare function
|
|
1778
|
+
export declare const TwoImageUrl$outboundSchema: z.ZodType<TwoImageUrl$Outbound, z.ZodTypeDef, TwoImageUrl>;
|
|
1779
|
+
export declare function twoImageUrlToJSON(twoImageUrl: TwoImageUrl): string;
|
|
1780
|
+
export declare function twoImageUrlFromJSON(jsonString: string): SafeParseResult<TwoImageUrl, SDKValidationError>;
|
|
1781
1781
|
/** @internal */
|
|
1782
|
-
export declare const
|
|
1782
|
+
export declare const DeploymentGetConfig22$inboundSchema: z.ZodType<DeploymentGetConfig22, z.ZodTypeDef, unknown>;
|
|
1783
1783
|
/** @internal */
|
|
1784
|
-
export type
|
|
1784
|
+
export type DeploymentGetConfig22$Outbound = {
|
|
1785
1785
|
type: string;
|
|
1786
|
-
image_url:
|
|
1786
|
+
image_url: TwoImageUrl$Outbound;
|
|
1787
1787
|
};
|
|
1788
1788
|
/** @internal */
|
|
1789
|
-
export declare const
|
|
1790
|
-
export declare function
|
|
1791
|
-
export declare function
|
|
1789
|
+
export declare const DeploymentGetConfig22$outboundSchema: z.ZodType<DeploymentGetConfig22$Outbound, z.ZodTypeDef, DeploymentGetConfig22>;
|
|
1790
|
+
export declare function deploymentGetConfig22ToJSON(deploymentGetConfig22: DeploymentGetConfig22): string;
|
|
1791
|
+
export declare function deploymentGetConfig22FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig22, SDKValidationError>;
|
|
1792
1792
|
/** @internal */
|
|
1793
|
-
export declare const
|
|
1793
|
+
export declare const DeploymentGetConfig2Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2Type>;
|
|
1794
1794
|
/** @internal */
|
|
1795
|
-
export declare const
|
|
1795
|
+
export declare const DeploymentGetConfig2Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2Type>;
|
|
1796
1796
|
/** @internal */
|
|
1797
|
-
export declare const
|
|
1797
|
+
export declare const Two1$inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown>;
|
|
1798
1798
|
/** @internal */
|
|
1799
|
-
export type
|
|
1799
|
+
export type Two1$Outbound = {
|
|
1800
1800
|
type: string;
|
|
1801
1801
|
text: string;
|
|
1802
1802
|
};
|
|
1803
1803
|
/** @internal */
|
|
1804
|
-
export declare const
|
|
1805
|
-
export declare function
|
|
1806
|
-
export declare function
|
|
1804
|
+
export declare const Two1$outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1>;
|
|
1805
|
+
export declare function two1ToJSON(two1: Two1): string;
|
|
1806
|
+
export declare function two1FromJSON(jsonString: string): SafeParseResult<Two1, SDKValidationError>;
|
|
1807
1807
|
/** @internal */
|
|
1808
|
-
export declare const
|
|
1808
|
+
export declare const Content2$inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
|
|
1809
1809
|
/** @internal */
|
|
1810
|
-
export type
|
|
1810
|
+
export type Content2$Outbound = Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound | Four$Outbound;
|
|
1811
1811
|
/** @internal */
|
|
1812
|
-
export declare const
|
|
1813
|
-
export declare function
|
|
1814
|
-
export declare function
|
|
1812
|
+
export declare const Content2$outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
|
|
1813
|
+
export declare function content2ToJSON(content2: Content2): string;
|
|
1814
|
+
export declare function content2FromJSON(jsonString: string): SafeParseResult<Content2, SDKValidationError>;
|
|
1815
1815
|
/** @internal */
|
|
1816
|
-
export declare const
|
|
1816
|
+
export declare const PrefixMessagesContent$inboundSchema: z.ZodType<PrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
1817
1817
|
/** @internal */
|
|
1818
|
-
export type
|
|
1818
|
+
export type PrefixMessagesContent$Outbound = string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound | Four$Outbound>;
|
|
1819
1819
|
/** @internal */
|
|
1820
|
-
export declare const
|
|
1821
|
-
export declare function
|
|
1822
|
-
export declare function
|
|
1820
|
+
export declare const PrefixMessagesContent$outboundSchema: z.ZodType<PrefixMessagesContent$Outbound, z.ZodTypeDef, PrefixMessagesContent>;
|
|
1821
|
+
export declare function prefixMessagesContentToJSON(prefixMessagesContent: PrefixMessagesContent): string;
|
|
1822
|
+
export declare function prefixMessagesContentFromJSON(jsonString: string): SafeParseResult<PrefixMessagesContent, SDKValidationError>;
|
|
1823
1823
|
/** @internal */
|
|
1824
1824
|
export declare const UserMessage$inboundSchema: z.ZodType<UserMessage, z.ZodTypeDef, unknown>;
|
|
1825
1825
|
/** @internal */
|
|
1826
1826
|
export type UserMessage$Outbound = {
|
|
1827
1827
|
role: string;
|
|
1828
1828
|
name?: string | undefined;
|
|
1829
|
-
content: string | Array<
|
|
1829
|
+
content: string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound | Two3$Outbound | Four$Outbound>;
|
|
1830
1830
|
};
|
|
1831
1831
|
/** @internal */
|
|
1832
1832
|
export declare const UserMessage$outboundSchema: z.ZodType<UserMessage$Outbound, z.ZodTypeDef, UserMessage>;
|
|
1833
1833
|
export declare function userMessageToJSON(userMessage: UserMessage): string;
|
|
1834
1834
|
export declare function userMessageFromJSON(jsonString: string): SafeParseResult<UserMessage, SDKValidationError>;
|
|
1835
1835
|
/** @internal */
|
|
1836
|
-
export declare const
|
|
1836
|
+
export declare const DeploymentGetConfigPrefixMessagesRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesRole>;
|
|
1837
1837
|
/** @internal */
|
|
1838
|
-
export declare const
|
|
1838
|
+
export declare const DeploymentGetConfigPrefixMessagesRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPrefixMessagesRole>;
|
|
1839
1839
|
/** @internal */
|
|
1840
1840
|
export declare const SystemMessage$inboundSchema: z.ZodType<SystemMessage, z.ZodTypeDef, unknown>;
|
|
1841
1841
|
/** @internal */
|
|
@@ -1849,9 +1849,9 @@ export declare const SystemMessage$outboundSchema: z.ZodType<SystemMessage$Outbo
|
|
|
1849
1849
|
export declare function systemMessageToJSON(systemMessage: SystemMessage): string;
|
|
1850
1850
|
export declare function systemMessageFromJSON(jsonString: string): SafeParseResult<SystemMessage, SDKValidationError>;
|
|
1851
1851
|
/** @internal */
|
|
1852
|
-
export declare const
|
|
1852
|
+
export declare const PrefixMessagesRole$inboundSchema: z.ZodNativeEnum<typeof PrefixMessagesRole>;
|
|
1853
1853
|
/** @internal */
|
|
1854
|
-
export declare const
|
|
1854
|
+
export declare const PrefixMessagesRole$outboundSchema: z.ZodNativeEnum<typeof PrefixMessagesRole>;
|
|
1855
1855
|
/** @internal */
|
|
1856
1856
|
export declare const DeveloperMessage$inboundSchema: z.ZodType<DeveloperMessage, z.ZodTypeDef, unknown>;
|
|
1857
1857
|
/** @internal */
|
|
@@ -1993,13 +1993,13 @@ export declare const TwoTextContentPart$outboundSchema: z.ZodType<TwoTextContent
|
|
|
1993
1993
|
export declare function twoTextContentPartToJSON(twoTextContentPart: TwoTextContentPart): string;
|
|
1994
1994
|
export declare function twoTextContentPartFromJSON(jsonString: string): SafeParseResult<TwoTextContentPart, SDKValidationError>;
|
|
1995
1995
|
/** @internal */
|
|
1996
|
-
export declare const
|
|
1996
|
+
export declare const DeploymentGetConfigContentDeploymentsRequest2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequest2, z.ZodTypeDef, unknown>;
|
|
1997
1997
|
/** @internal */
|
|
1998
|
-
export type
|
|
1998
|
+
export type DeploymentGetConfigContentDeploymentsRequest2$Outbound = TwoTextContentPart$Outbound | TwoRefusalContentPart$Outbound;
|
|
1999
1999
|
/** @internal */
|
|
2000
|
-
export declare const
|
|
2001
|
-
export declare function
|
|
2002
|
-
export declare function
|
|
2000
|
+
export declare const DeploymentGetConfigContentDeploymentsRequest2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsRequest2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsRequest2>;
|
|
2001
|
+
export declare function deploymentGetConfigContentDeploymentsRequest2ToJSON(deploymentGetConfigContentDeploymentsRequest2: DeploymentGetConfigContentDeploymentsRequest2): string;
|
|
2002
|
+
export declare function deploymentGetConfigContentDeploymentsRequest2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeploymentsRequest2, SDKValidationError>;
|
|
2003
2003
|
/** @internal */
|
|
2004
2004
|
export declare const DeploymentGetConfigMessagesContent$inboundSchema: z.ZodType<DeploymentGetConfigMessagesContent, z.ZodTypeDef, unknown>;
|
|
2005
2005
|
/** @internal */
|
|
@@ -2076,24 +2076,24 @@ export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3C
|
|
|
2076
2076
|
/** @internal */
|
|
2077
2077
|
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type>;
|
|
2078
2078
|
/** @internal */
|
|
2079
|
-
export declare const
|
|
2079
|
+
export declare const DeploymentGetConfig2File$inboundSchema: z.ZodType<DeploymentGetConfig2File, z.ZodTypeDef, unknown>;
|
|
2080
2080
|
/** @internal */
|
|
2081
|
-
export type
|
|
2081
|
+
export type DeploymentGetConfig2File$Outbound = {
|
|
2082
2082
|
file_data?: string | undefined;
|
|
2083
2083
|
uri?: string | undefined;
|
|
2084
2084
|
mimeType?: string | undefined;
|
|
2085
2085
|
filename?: string | undefined;
|
|
2086
2086
|
};
|
|
2087
2087
|
/** @internal */
|
|
2088
|
-
export declare const
|
|
2089
|
-
export declare function
|
|
2090
|
-
export declare function
|
|
2088
|
+
export declare const DeploymentGetConfig2File$outboundSchema: z.ZodType<DeploymentGetConfig2File$Outbound, z.ZodTypeDef, DeploymentGetConfig2File>;
|
|
2089
|
+
export declare function deploymentGetConfig2FileToJSON(deploymentGetConfig2File: DeploymentGetConfig2File): string;
|
|
2090
|
+
export declare function deploymentGetConfig2FileFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2File, SDKValidationError>;
|
|
2091
2091
|
/** @internal */
|
|
2092
2092
|
export declare const Two4$inboundSchema: z.ZodType<Two4, z.ZodTypeDef, unknown>;
|
|
2093
2093
|
/** @internal */
|
|
2094
2094
|
export type Two4$Outbound = {
|
|
2095
2095
|
type: string;
|
|
2096
|
-
file:
|
|
2096
|
+
file: DeploymentGetConfig2File$Outbound;
|
|
2097
2097
|
};
|
|
2098
2098
|
/** @internal */
|
|
2099
2099
|
export declare const Two4$outboundSchema: z.ZodType<Two4$Outbound, z.ZodTypeDef, Two4>;
|
|
@@ -2119,16 +2119,16 @@ export declare const TwoInputAudio$outboundSchema: z.ZodType<TwoInputAudio$Outbo
|
|
|
2119
2119
|
export declare function twoInputAudioToJSON(twoInputAudio: TwoInputAudio): string;
|
|
2120
2120
|
export declare function twoInputAudioFromJSON(jsonString: string): SafeParseResult<TwoInputAudio, SDKValidationError>;
|
|
2121
2121
|
/** @internal */
|
|
2122
|
-
export declare const
|
|
2122
|
+
export declare const DeploymentGetConfig23$inboundSchema: z.ZodType<DeploymentGetConfig23, z.ZodTypeDef, unknown>;
|
|
2123
2123
|
/** @internal */
|
|
2124
|
-
export type
|
|
2124
|
+
export type DeploymentGetConfig23$Outbound = {
|
|
2125
2125
|
type: string;
|
|
2126
2126
|
input_audio: TwoInputAudio$Outbound;
|
|
2127
2127
|
};
|
|
2128
2128
|
/** @internal */
|
|
2129
|
-
export declare const
|
|
2130
|
-
export declare function
|
|
2131
|
-
export declare function
|
|
2129
|
+
export declare const DeploymentGetConfig23$outboundSchema: z.ZodType<DeploymentGetConfig23$Outbound, z.ZodTypeDef, DeploymentGetConfig23>;
|
|
2130
|
+
export declare function deploymentGetConfig23ToJSON(deploymentGetConfig23: DeploymentGetConfig23): string;
|
|
2131
|
+
export declare function deploymentGetConfig23FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig23, SDKValidationError>;
|
|
2132
2132
|
/** @internal */
|
|
2133
2133
|
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type>;
|
|
2134
2134
|
/** @internal */
|
|
@@ -2138,54 +2138,54 @@ export declare const TwoDetail$inboundSchema: z.ZodNativeEnum<typeof TwoDetail>;
|
|
|
2138
2138
|
/** @internal */
|
|
2139
2139
|
export declare const TwoDetail$outboundSchema: z.ZodNativeEnum<typeof TwoDetail>;
|
|
2140
2140
|
/** @internal */
|
|
2141
|
-
export declare const
|
|
2141
|
+
export declare const DeploymentGetConfig2ImageUrl$inboundSchema: z.ZodType<DeploymentGetConfig2ImageUrl, z.ZodTypeDef, unknown>;
|
|
2142
2142
|
/** @internal */
|
|
2143
|
-
export type
|
|
2143
|
+
export type DeploymentGetConfig2ImageUrl$Outbound = {
|
|
2144
2144
|
url: string;
|
|
2145
2145
|
detail?: string | undefined;
|
|
2146
2146
|
};
|
|
2147
2147
|
/** @internal */
|
|
2148
|
-
export declare const
|
|
2149
|
-
export declare function
|
|
2150
|
-
export declare function
|
|
2148
|
+
export declare const DeploymentGetConfig2ImageUrl$outboundSchema: z.ZodType<DeploymentGetConfig2ImageUrl$Outbound, z.ZodTypeDef, DeploymentGetConfig2ImageUrl>;
|
|
2149
|
+
export declare function deploymentGetConfig2ImageUrlToJSON(deploymentGetConfig2ImageUrl: DeploymentGetConfig2ImageUrl): string;
|
|
2150
|
+
export declare function deploymentGetConfig2ImageUrlFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2ImageUrl, SDKValidationError>;
|
|
2151
2151
|
/** @internal */
|
|
2152
|
-
export declare const
|
|
2152
|
+
export declare const DeploymentGetConfig2Deployments2$inboundSchema: z.ZodType<DeploymentGetConfig2Deployments2, z.ZodTypeDef, unknown>;
|
|
2153
2153
|
/** @internal */
|
|
2154
|
-
export type
|
|
2154
|
+
export type DeploymentGetConfig2Deployments2$Outbound = {
|
|
2155
2155
|
type: string;
|
|
2156
|
-
image_url:
|
|
2156
|
+
image_url: DeploymentGetConfig2ImageUrl$Outbound;
|
|
2157
2157
|
};
|
|
2158
2158
|
/** @internal */
|
|
2159
|
-
export declare const
|
|
2160
|
-
export declare function
|
|
2161
|
-
export declare function
|
|
2159
|
+
export declare const DeploymentGetConfig2Deployments2$outboundSchema: z.ZodType<DeploymentGetConfig2Deployments2$Outbound, z.ZodTypeDef, DeploymentGetConfig2Deployments2>;
|
|
2160
|
+
export declare function deploymentGetConfig2Deployments2ToJSON(deploymentGetConfig2Deployments2: DeploymentGetConfig2Deployments2): string;
|
|
2161
|
+
export declare function deploymentGetConfig2Deployments2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2Deployments2, SDKValidationError>;
|
|
2162
2162
|
/** @internal */
|
|
2163
2163
|
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType>;
|
|
2164
2164
|
/** @internal */
|
|
2165
2165
|
export declare const DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType>;
|
|
2166
2166
|
/** @internal */
|
|
2167
|
-
export declare const
|
|
2167
|
+
export declare const DeploymentGetConfig21$inboundSchema: z.ZodType<DeploymentGetConfig21, z.ZodTypeDef, unknown>;
|
|
2168
2168
|
/** @internal */
|
|
2169
|
-
export type
|
|
2169
|
+
export type DeploymentGetConfig21$Outbound = {
|
|
2170
2170
|
type: string;
|
|
2171
2171
|
text: string;
|
|
2172
2172
|
};
|
|
2173
2173
|
/** @internal */
|
|
2174
|
-
export declare const
|
|
2175
|
-
export declare function
|
|
2176
|
-
export declare function
|
|
2174
|
+
export declare const DeploymentGetConfig21$outboundSchema: z.ZodType<DeploymentGetConfig21$Outbound, z.ZodTypeDef, DeploymentGetConfig21>;
|
|
2175
|
+
export declare function deploymentGetConfig21ToJSON(deploymentGetConfig21: DeploymentGetConfig21): string;
|
|
2176
|
+
export declare function deploymentGetConfig21FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig21, SDKValidationError>;
|
|
2177
2177
|
/** @internal */
|
|
2178
|
-
export declare const
|
|
2178
|
+
export declare const DeploymentGetConfigContentDeployments2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2, z.ZodTypeDef, unknown>;
|
|
2179
2179
|
/** @internal */
|
|
2180
|
-
export type
|
|
2180
|
+
export type DeploymentGetConfigContentDeployments2$Outbound = DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound | DeploymentGetConfig23$Outbound | Two4$Outbound;
|
|
2181
2181
|
/** @internal */
|
|
2182
|
-
export declare const
|
|
2183
|
-
export declare function
|
|
2184
|
-
export declare function
|
|
2182
|
+
export declare const DeploymentGetConfigContentDeployments2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeployments2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeployments2>;
|
|
2183
|
+
export declare function deploymentGetConfigContentDeployments2ToJSON(deploymentGetConfigContentDeployments2: DeploymentGetConfigContentDeployments2): string;
|
|
2184
|
+
export declare function deploymentGetConfigContentDeployments2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContentDeployments2, SDKValidationError>;
|
|
2185
2185
|
/** @internal */
|
|
2186
2186
|
export declare const MessagesContent$inboundSchema: z.ZodType<MessagesContent, z.ZodTypeDef, unknown>;
|
|
2187
2187
|
/** @internal */
|
|
2188
|
-
export type MessagesContent$Outbound = string | Array<
|
|
2188
|
+
export type MessagesContent$Outbound = string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound | DeploymentGetConfig23$Outbound | Two4$Outbound>;
|
|
2189
2189
|
/** @internal */
|
|
2190
2190
|
export declare const MessagesContent$outboundSchema: z.ZodType<MessagesContent$Outbound, z.ZodTypeDef, MessagesContent>;
|
|
2191
2191
|
export declare function messagesContentToJSON(messagesContent: MessagesContent): string;
|
|
@@ -2196,7 +2196,7 @@ export declare const MessagesUserMessage$inboundSchema: z.ZodType<MessagesUserMe
|
|
|
2196
2196
|
export type MessagesUserMessage$Outbound = {
|
|
2197
2197
|
role: string;
|
|
2198
2198
|
name?: string | undefined;
|
|
2199
|
-
content: string | Array<
|
|
2199
|
+
content: string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound | DeploymentGetConfig23$Outbound | Two4$Outbound>;
|
|
2200
2200
|
};
|
|
2201
2201
|
/** @internal */
|
|
2202
2202
|
export declare const MessagesUserMessage$outboundSchema: z.ZodType<MessagesUserMessage$Outbound, z.ZodTypeDef, MessagesUserMessage>;
|
|
@@ -2235,13 +2235,13 @@ export declare const MessagesDeveloperMessage$outboundSchema: z.ZodType<Messages
|
|
|
2235
2235
|
export declare function messagesDeveloperMessageToJSON(messagesDeveloperMessage: MessagesDeveloperMessage): string;
|
|
2236
2236
|
export declare function messagesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<MessagesDeveloperMessage, SDKValidationError>;
|
|
2237
2237
|
/** @internal */
|
|
2238
|
-
export declare const
|
|
2238
|
+
export declare const DeploymentGetConfigMessages$inboundSchema: z.ZodType<DeploymentGetConfigMessages, z.ZodTypeDef, unknown>;
|
|
2239
2239
|
/** @internal */
|
|
2240
|
-
export type
|
|
2240
|
+
export type DeploymentGetConfigMessages$Outbound = MessagesToolMessage$Outbound | MessagesDeveloperMessage$Outbound | MessagesSystemMessage$Outbound | MessagesUserMessage$Outbound | MessagesAssistantMessage$Outbound;
|
|
2241
2241
|
/** @internal */
|
|
2242
|
-
export declare const
|
|
2243
|
-
export declare function
|
|
2244
|
-
export declare function
|
|
2242
|
+
export declare const DeploymentGetConfigMessages$outboundSchema: z.ZodType<DeploymentGetConfigMessages$Outbound, z.ZodTypeDef, DeploymentGetConfigMessages>;
|
|
2243
|
+
export declare function deploymentGetConfigMessagesToJSON(deploymentGetConfigMessages: DeploymentGetConfigMessages): string;
|
|
2244
|
+
export declare function deploymentGetConfigMessagesFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigMessages, SDKValidationError>;
|
|
2245
2245
|
/** @internal */
|
|
2246
2246
|
export declare const Metadata$inboundSchema: z.ZodType<Metadata, z.ZodTypeDef, unknown>;
|
|
2247
2247
|
/** @internal */
|
|
@@ -2755,75 +2755,75 @@ export declare const DeploymentGetConfig2DeploymentsResponse200ApplicationJSONTy
|
|
|
2755
2755
|
/** @internal */
|
|
2756
2756
|
export declare const DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType>;
|
|
2757
2757
|
/** @internal */
|
|
2758
|
-
export declare const
|
|
2758
|
+
export declare const DeploymentGetConfig2DeploymentsFile$inboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsFile, z.ZodTypeDef, unknown>;
|
|
2759
2759
|
/** @internal */
|
|
2760
|
-
export type
|
|
2760
|
+
export type DeploymentGetConfig2DeploymentsFile$Outbound = {
|
|
2761
2761
|
file_data?: string | undefined;
|
|
2762
2762
|
uri?: string | undefined;
|
|
2763
2763
|
mimeType?: string | undefined;
|
|
2764
2764
|
filename?: string | undefined;
|
|
2765
2765
|
};
|
|
2766
2766
|
/** @internal */
|
|
2767
|
-
export declare const
|
|
2768
|
-
export declare function
|
|
2769
|
-
export declare function
|
|
2767
|
+
export declare const DeploymentGetConfig2DeploymentsFile$outboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsFile$Outbound, z.ZodTypeDef, DeploymentGetConfig2DeploymentsFile>;
|
|
2768
|
+
export declare function deploymentGetConfig2DeploymentsFileToJSON(deploymentGetConfig2DeploymentsFile: DeploymentGetConfig2DeploymentsFile): string;
|
|
2769
|
+
export declare function deploymentGetConfig2DeploymentsFileFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2DeploymentsFile, SDKValidationError>;
|
|
2770
2770
|
/** @internal */
|
|
2771
|
-
export declare const
|
|
2771
|
+
export declare const DeploymentGetConfig2Deployments3$inboundSchema: z.ZodType<DeploymentGetConfig2Deployments3, z.ZodTypeDef, unknown>;
|
|
2772
2772
|
/** @internal */
|
|
2773
|
-
export type
|
|
2773
|
+
export type DeploymentGetConfig2Deployments3$Outbound = {
|
|
2774
2774
|
type: string;
|
|
2775
|
-
file:
|
|
2775
|
+
file: DeploymentGetConfig2DeploymentsFile$Outbound;
|
|
2776
2776
|
};
|
|
2777
2777
|
/** @internal */
|
|
2778
|
-
export declare const
|
|
2779
|
-
export declare function
|
|
2780
|
-
export declare function
|
|
2778
|
+
export declare const DeploymentGetConfig2Deployments3$outboundSchema: z.ZodType<DeploymentGetConfig2Deployments3$Outbound, z.ZodTypeDef, DeploymentGetConfig2Deployments3>;
|
|
2779
|
+
export declare function deploymentGetConfig2Deployments3ToJSON(deploymentGetConfig2Deployments3: DeploymentGetConfig2Deployments3): string;
|
|
2780
|
+
export declare function deploymentGetConfig2Deployments3FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2Deployments3, SDKValidationError>;
|
|
2781
2781
|
/** @internal */
|
|
2782
2782
|
export declare const DeploymentGetConfig2DeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsResponse200Type>;
|
|
2783
2783
|
/** @internal */
|
|
2784
2784
|
export declare const DeploymentGetConfig2DeploymentsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsResponse200Type>;
|
|
2785
2785
|
/** @internal */
|
|
2786
|
-
export declare const
|
|
2786
|
+
export declare const DeploymentGetConfig2DeploymentsImageUrl$inboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsImageUrl, z.ZodTypeDef, unknown>;
|
|
2787
2787
|
/** @internal */
|
|
2788
|
-
export type
|
|
2788
|
+
export type DeploymentGetConfig2DeploymentsImageUrl$Outbound = {
|
|
2789
2789
|
id?: string | undefined;
|
|
2790
2790
|
url: string;
|
|
2791
2791
|
detail?: string | undefined;
|
|
2792
2792
|
};
|
|
2793
2793
|
/** @internal */
|
|
2794
|
-
export declare const
|
|
2795
|
-
export declare function
|
|
2796
|
-
export declare function
|
|
2794
|
+
export declare const DeploymentGetConfig2DeploymentsImageUrl$outboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsImageUrl$Outbound, z.ZodTypeDef, DeploymentGetConfig2DeploymentsImageUrl>;
|
|
2795
|
+
export declare function deploymentGetConfig2DeploymentsImageUrlToJSON(deploymentGetConfig2DeploymentsImageUrl: DeploymentGetConfig2DeploymentsImageUrl): string;
|
|
2796
|
+
export declare function deploymentGetConfig2DeploymentsImageUrlFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2DeploymentsImageUrl, SDKValidationError>;
|
|
2797
2797
|
/** @internal */
|
|
2798
|
-
export declare const
|
|
2798
|
+
export declare const DeploymentGetConfig2DeploymentsResponse2$inboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsResponse2, z.ZodTypeDef, unknown>;
|
|
2799
2799
|
/** @internal */
|
|
2800
|
-
export type
|
|
2800
|
+
export type DeploymentGetConfig2DeploymentsResponse2$Outbound = {
|
|
2801
2801
|
type: string;
|
|
2802
|
-
image_url:
|
|
2802
|
+
image_url: DeploymentGetConfig2DeploymentsImageUrl$Outbound;
|
|
2803
2803
|
};
|
|
2804
2804
|
/** @internal */
|
|
2805
|
-
export declare const
|
|
2806
|
-
export declare function
|
|
2807
|
-
export declare function
|
|
2805
|
+
export declare const DeploymentGetConfig2DeploymentsResponse2$outboundSchema: z.ZodType<DeploymentGetConfig2DeploymentsResponse2$Outbound, z.ZodTypeDef, DeploymentGetConfig2DeploymentsResponse2>;
|
|
2806
|
+
export declare function deploymentGetConfig2DeploymentsResponse2ToJSON(deploymentGetConfig2DeploymentsResponse2: DeploymentGetConfig2DeploymentsResponse2): string;
|
|
2807
|
+
export declare function deploymentGetConfig2DeploymentsResponse2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2DeploymentsResponse2, SDKValidationError>;
|
|
2808
2808
|
/** @internal */
|
|
2809
2809
|
export declare const DeploymentGetConfig2DeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsResponseType>;
|
|
2810
2810
|
/** @internal */
|
|
2811
2811
|
export declare const DeploymentGetConfig2DeploymentsResponseType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsResponseType>;
|
|
2812
2812
|
/** @internal */
|
|
2813
|
-
export declare const
|
|
2813
|
+
export declare const DeploymentGetConfig2Deployments1$inboundSchema: z.ZodType<DeploymentGetConfig2Deployments1, z.ZodTypeDef, unknown>;
|
|
2814
2814
|
/** @internal */
|
|
2815
|
-
export type
|
|
2815
|
+
export type DeploymentGetConfig2Deployments1$Outbound = {
|
|
2816
2816
|
type: string;
|
|
2817
2817
|
text: string;
|
|
2818
2818
|
};
|
|
2819
2819
|
/** @internal */
|
|
2820
|
-
export declare const
|
|
2821
|
-
export declare function
|
|
2822
|
-
export declare function
|
|
2820
|
+
export declare const DeploymentGetConfig2Deployments1$outboundSchema: z.ZodType<DeploymentGetConfig2Deployments1$Outbound, z.ZodTypeDef, DeploymentGetConfig2Deployments1>;
|
|
2821
|
+
export declare function deploymentGetConfig2Deployments1ToJSON(deploymentGetConfig2Deployments1: DeploymentGetConfig2Deployments1): string;
|
|
2822
|
+
export declare function deploymentGetConfig2Deployments1FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2Deployments1, SDKValidationError>;
|
|
2823
2823
|
/** @internal */
|
|
2824
2824
|
export declare const DeploymentGetConfigContentDeploymentsResponse2$inboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2, z.ZodTypeDef, unknown>;
|
|
2825
2825
|
/** @internal */
|
|
2826
|
-
export type DeploymentGetConfigContentDeploymentsResponse2$Outbound =
|
|
2826
|
+
export type DeploymentGetConfigContentDeploymentsResponse2$Outbound = DeploymentGetConfig2Deployments1$Outbound | DeploymentGetConfig2DeploymentsResponse2$Outbound | DeploymentGetConfig2Deployments3$Outbound;
|
|
2827
2827
|
/** @internal */
|
|
2828
2828
|
export declare const DeploymentGetConfigContentDeploymentsResponse2$outboundSchema: z.ZodType<DeploymentGetConfigContentDeploymentsResponse2$Outbound, z.ZodTypeDef, DeploymentGetConfigContentDeploymentsResponse2>;
|
|
2829
2829
|
export declare function deploymentGetConfigContentDeploymentsResponse2ToJSON(deploymentGetConfigContentDeploymentsResponse2: DeploymentGetConfigContentDeploymentsResponse2): string;
|
|
@@ -2831,7 +2831,7 @@ export declare function deploymentGetConfigContentDeploymentsResponse2FromJSON(j
|
|
|
2831
2831
|
/** @internal */
|
|
2832
2832
|
export declare const DeploymentGetConfigContent$inboundSchema: z.ZodType<DeploymentGetConfigContent, z.ZodTypeDef, unknown>;
|
|
2833
2833
|
/** @internal */
|
|
2834
|
-
export type DeploymentGetConfigContent$Outbound = string | Array<
|
|
2834
|
+
export type DeploymentGetConfigContent$Outbound = string | Array<DeploymentGetConfig2Deployments1$Outbound | DeploymentGetConfig2DeploymentsResponse2$Outbound | DeploymentGetConfig2Deployments3$Outbound>;
|
|
2835
2835
|
/** @internal */
|
|
2836
2836
|
export declare const DeploymentGetConfigContent$outboundSchema: z.ZodType<DeploymentGetConfigContent$Outbound, z.ZodTypeDef, DeploymentGetConfigContent>;
|
|
2837
2837
|
export declare function deploymentGetConfigContentToJSON(deploymentGetConfigContent: DeploymentGetConfigContent): string;
|
|
@@ -2865,18 +2865,18 @@ export declare const DeploymentGetConfigToolCalls$outboundSchema: z.ZodType<Depl
|
|
|
2865
2865
|
export declare function deploymentGetConfigToolCallsToJSON(deploymentGetConfigToolCalls: DeploymentGetConfigToolCalls): string;
|
|
2866
2866
|
export declare function deploymentGetConfigToolCallsFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigToolCalls, SDKValidationError>;
|
|
2867
2867
|
/** @internal */
|
|
2868
|
-
export declare const
|
|
2868
|
+
export declare const DeploymentGetConfigDeploymentsMessages$inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsMessages, z.ZodTypeDef, unknown>;
|
|
2869
2869
|
/** @internal */
|
|
2870
|
-
export type
|
|
2870
|
+
export type DeploymentGetConfigDeploymentsMessages$Outbound = {
|
|
2871
2871
|
role: string;
|
|
2872
|
-
content: string | Array<
|
|
2872
|
+
content: string | Array<DeploymentGetConfig2Deployments1$Outbound | DeploymentGetConfig2DeploymentsResponse2$Outbound | DeploymentGetConfig2Deployments3$Outbound> | null;
|
|
2873
2873
|
tool_calls?: Array<DeploymentGetConfigToolCalls$Outbound> | undefined;
|
|
2874
2874
|
tool_call_id?: string | undefined;
|
|
2875
2875
|
};
|
|
2876
2876
|
/** @internal */
|
|
2877
|
-
export declare const
|
|
2878
|
-
export declare function
|
|
2879
|
-
export declare function
|
|
2877
|
+
export declare const DeploymentGetConfigDeploymentsMessages$outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsMessages$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsMessages>;
|
|
2878
|
+
export declare function deploymentGetConfigDeploymentsMessagesToJSON(deploymentGetConfigDeploymentsMessages: DeploymentGetConfigDeploymentsMessages): string;
|
|
2879
|
+
export declare function deploymentGetConfigDeploymentsMessagesFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigDeploymentsMessages, SDKValidationError>;
|
|
2880
2880
|
/** @internal */
|
|
2881
2881
|
export declare const DeploymentGetConfigFormat$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigFormat>;
|
|
2882
2882
|
/** @internal */
|
|
@@ -3046,7 +3046,7 @@ export type DeploymentGetConfigResponseBody$Outbound = {
|
|
|
3046
3046
|
model: string;
|
|
3047
3047
|
type?: string | undefined;
|
|
3048
3048
|
version: string;
|
|
3049
|
-
messages: Array<
|
|
3049
|
+
messages: Array<DeploymentGetConfigDeploymentsMessages$Outbound>;
|
|
3050
3050
|
parameters: DeploymentGetConfigParameters$Outbound;
|
|
3051
3051
|
tools?: Array<DeploymentGetConfigTools$Outbound> | undefined;
|
|
3052
3052
|
};
|