@orq-ai/node 4.1.0-rc.34 → 4.1.0-rc.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -18
- package/bin/mcp-server.js +4959 -5404
- package/bin/mcp-server.js.map +126 -82
- package/examples/package-lock.json +1 -1
- package/funcs/agentsResponsesCreate.d.ts +7 -1
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +9 -2
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/budgetsCreate.d.ts +1 -1
- package/funcs/budgetsCreate.js +1 -1
- package/funcs/contactsList.js +1 -0
- package/funcs/contactsList.js.map +1 -1
- package/funcs/conversationsCreate.d.ts +17 -0
- package/funcs/conversationsCreate.d.ts.map +1 -0
- package/funcs/conversationsCreate.js +114 -0
- package/funcs/conversationsCreate.js.map +1 -0
- package/funcs/conversationsDelete.d.ts +17 -0
- package/funcs/conversationsDelete.d.ts.map +1 -0
- package/funcs/conversationsDelete.js +127 -0
- package/funcs/conversationsDelete.js.map +1 -0
- package/funcs/conversationsGenerateName.d.ts +18 -0
- package/funcs/conversationsGenerateName.d.ts.map +1 -0
- package/funcs/conversationsGenerateName.js +128 -0
- package/funcs/conversationsGenerateName.js.map +1 -0
- package/funcs/conversationsList.d.ts +17 -0
- package/funcs/conversationsList.d.ts.map +1 -0
- package/funcs/conversationsList.js +124 -0
- package/funcs/conversationsList.js.map +1 -0
- package/funcs/conversationsRetrieve.d.ts +18 -0
- package/funcs/conversationsRetrieve.d.ts.map +1 -0
- package/funcs/conversationsRetrieve.js +126 -0
- package/funcs/conversationsRetrieve.js.map +1 -0
- package/funcs/conversationsUpdate.d.ts +18 -0
- package/funcs/conversationsUpdate.d.ts.map +1 -0
- package/funcs/conversationsUpdate.js +128 -0
- package/funcs/conversationsUpdate.js.map +1 -0
- package/funcs/evalsInvoke.d.ts +15 -0
- package/funcs/evalsInvoke.d.ts.map +1 -0
- package/funcs/evalsInvoke.js +121 -0
- package/funcs/evalsInvoke.js.map +1 -0
- package/funcs/memoryStoresListDocuments.js +2 -0
- package/funcs/memoryStoresListDocuments.js.map +1 -1
- package/funcs/memoryStoresListMemories.js +1 -0
- package/funcs/memoryStoresListMemories.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +15 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/budgetsCreate.js +1 -1
- package/mcp-server/tools/budgetsCreate.js.map +1 -1
- package/mcp-server/tools/conversationsCreate.d.ts +8 -0
- package/mcp-server/tools/conversationsCreate.d.ts.map +1 -0
- package/mcp-server/tools/conversationsCreate.js +64 -0
- package/mcp-server/tools/conversationsCreate.js.map +1 -0
- package/mcp-server/tools/conversationsDelete.d.ts +8 -0
- package/mcp-server/tools/conversationsDelete.d.ts.map +1 -0
- package/mcp-server/tools/conversationsDelete.js +63 -0
- package/mcp-server/tools/conversationsDelete.js.map +1 -0
- package/mcp-server/tools/conversationsGenerateName.d.ts +10 -0
- package/mcp-server/tools/conversationsGenerateName.d.ts.map +1 -0
- package/mcp-server/tools/conversationsGenerateName.js +66 -0
- package/mcp-server/tools/conversationsGenerateName.js.map +1 -0
- package/mcp-server/tools/conversationsList.d.ts +10 -0
- package/mcp-server/tools/conversationsList.d.ts.map +1 -0
- package/mcp-server/tools/conversationsList.js +66 -0
- package/mcp-server/tools/conversationsList.js.map +1 -0
- package/mcp-server/tools/conversationsRetrieve.d.ts +8 -0
- package/mcp-server/tools/conversationsRetrieve.d.ts.map +1 -0
- package/mcp-server/tools/conversationsRetrieve.js +64 -0
- package/mcp-server/tools/conversationsRetrieve.js.map +1 -0
- package/mcp-server/tools/conversationsUpdate.d.ts +10 -0
- package/mcp-server/tools/conversationsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/conversationsUpdate.js +66 -0
- package/mcp-server/tools/conversationsUpdate.js.map +1 -0
- package/mcp-server/tools/evalsInvoke.d.ts +8 -0
- package/mcp-server/tools/evalsInvoke.d.ts.map +1 -0
- package/mcp-server/tools/evalsInvoke.js +62 -0
- package/mcp-server/tools/evalsInvoke.js.map +1 -0
- package/models/components/agentexecutionstartedstreamingevent.d.ts +8 -8
- package/models/components/agentexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentexecutionstartedstreamingevent.js +11 -12
- package/models/components/agentexecutionstartedstreamingevent.js.map +1 -1
- package/models/components/agentinactivestreamingevent.d.ts +21 -21
- package/models/components/agentinactivestreamingevent.d.ts.map +1 -1
- package/models/components/agentinactivestreamingevent.js +27 -28
- package/models/components/agentinactivestreamingevent.js.map +1 -1
- package/models/components/agentresponsemessage.d.ts +56 -0
- package/models/components/agentresponsemessage.d.ts.map +1 -0
- package/models/components/agentresponsemessage.js +116 -0
- package/models/components/agentresponsemessage.js.map +1 -0
- package/models/components/agentstartedstreamingevent.d.ts +6 -6
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +11 -12
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/agentthoughtstreamingevent.d.ts +26 -24
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +34 -32
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/conversationresponse.d.ts +39 -5
- package/models/components/conversationresponse.d.ts.map +1 -1
- package/models/components/conversationresponse.js +52 -8
- package/models/components/conversationresponse.js.map +1 -1
- package/models/components/createagentresponse.d.ts +124 -0
- package/models/components/createagentresponse.d.ts.map +1 -0
- package/models/components/createagentresponse.js +191 -0
- package/models/components/createagentresponse.js.map +1 -0
- package/models/components/imagecontentpartschema.d.ts +18 -18
- package/models/components/imagecontentpartschema.d.ts.map +1 -1
- package/models/components/imagecontentpartschema.js +23 -21
- package/models/components/imagecontentpartschema.js.map +1 -1
- package/models/components/index.d.ts +18 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +18 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +161 -1040
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +161 -1015
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/components/responsedoneevent.d.ts +24 -24
- package/models/components/responsedoneevent.d.ts.map +1 -1
- package/models/components/responsedoneevent.js +31 -32
- package/models/components/responsedoneevent.js.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.js +2 -0
- package/models/components/toolexecutionfailedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.js +2 -0
- package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.js +2 -0
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
- package/models/errors/generateconversationname.d.ts +55 -0
- package/models/errors/generateconversationname.d.ts.map +1 -0
- package/models/errors/generateconversationname.js +106 -0
- package/models/errors/generateconversationname.js.map +1 -0
- package/models/errors/index.d.ts +5 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +5 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +3 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +4 -4
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +37 -147
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +64 -205
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createbudget.d.ts +69 -13
- package/models/operations/createbudget.d.ts.map +1 -1
- package/models/operations/createbudget.js +61 -12
- package/models/operations/createbudget.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.d.ts +62 -8
- package/models/operations/createconversation.d.ts.map +1 -1
- package/models/operations/createconversation.js +94 -10
- package/models/operations/createconversation.js.map +1 -1
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +154 -1034
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +149 -959
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/creatememory.d.ts +10 -5
- package/models/operations/creatememory.d.ts.map +1 -1
- package/models/operations/creatememory.js +6 -2
- package/models/operations/creatememory.js.map +1 -1
- package/models/operations/creatememorydocument.d.ts +4 -4
- package/models/operations/creatememorydocument.d.ts.map +1 -1
- package/models/operations/creatememorydocument.js +2 -2
- package/models/operations/creatememorydocument.js.map +1 -1
- package/models/operations/createprompt.d.ts +136 -479
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +158 -473
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentcreatemetric.d.ts +154 -1034
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +140 -975
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +222 -1102
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +263 -1059
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +27 -26
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +29 -28
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +14 -13
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +14 -13
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +187 -1066
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +163 -989
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.d.ts +8 -8
- package/models/operations/fileupload.d.ts.map +1 -1
- package/models/operations/fileupload.js +13 -14
- package/models/operations/fileupload.js.map +1 -1
- package/models/operations/generateconversationname.d.ts +136 -0
- package/models/operations/generateconversationname.d.ts.map +1 -0
- package/models/operations/generateconversationname.js +179 -0
- package/models/operations/generateconversationname.js.map +1 -0
- package/models/operations/getallmemories.d.ts +10 -0
- package/models/operations/getallmemories.d.ts.map +1 -1
- package/models/operations/getallmemories.js +6 -0
- package/models/operations/getallmemories.js.map +1 -1
- package/models/operations/getallmemorydocuments.d.ts +10 -0
- package/models/operations/getallmemorydocuments.d.ts.map +1 -1
- package/models/operations/getallmemorydocuments.js +8 -0
- package/models/operations/getallmemorydocuments.js.map +1 -1
- package/models/operations/getallprompts.d.ts +14 -13
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +14 -13
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.d.ts +5 -0
- package/models/operations/getbudget.d.ts.map +1 -1
- package/models/operations/getbudget.js +6 -2
- package/models/operations/getbudget.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +14 -13
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +14 -13
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +14 -13
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +14 -13
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/index.d.ts +7 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +7 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +6 -6
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +10 -9
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +3 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +2 -2
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.d.ts +5 -0
- package/models/operations/listbudgets.d.ts.map +1 -1
- package/models/operations/listbudgets.js +6 -2
- package/models/operations/listbudgets.js.map +1 -1
- package/models/operations/listcontacts.d.ts +5 -0
- package/models/operations/listcontacts.d.ts.map +1 -1
- package/models/operations/listcontacts.js +4 -2
- package/models/operations/listcontacts.js.map +1 -1
- package/models/operations/listconversations.d.ts +60 -0
- package/models/operations/listconversations.d.ts.map +1 -0
- package/models/operations/listconversations.js +109 -0
- package/models/operations/listconversations.js.map +1 -0
- package/models/operations/listdatasetdatapoints.d.ts +76 -516
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +75 -475
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +14 -13
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +14 -13
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +3 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -2
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.d.ts +39 -5
- package/models/operations/retrieveconversation.d.ts.map +1 -1
- package/models/operations/retrieveconversation.js +53 -8
- package/models/operations/retrieveconversation.js.map +1 -1
- package/models/operations/retrievedatapoint.d.ts +76 -516
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +75 -473
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievememory.d.ts +5 -0
- package/models/operations/retrievememory.d.ts.map +1 -1
- package/models/operations/retrievememory.js +4 -0
- package/models/operations/retrievememory.js.map +1 -1
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +4 -4
- package/models/operations/streamrunagent.js +4 -4
- package/models/operations/updateagent.d.ts +3 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +4 -4
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.d.ts +5 -0
- package/models/operations/updatebudget.d.ts.map +1 -1
- package/models/operations/updatebudget.js +6 -2
- package/models/operations/updatebudget.js.map +1 -1
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.d.ts +63 -6
- package/models/operations/updateconversation.d.ts.map +1 -1
- package/models/operations/updateconversation.js +93 -9
- package/models/operations/updateconversation.js.map +1 -1
- package/models/operations/updatedatapoint.d.ts +154 -1034
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +147 -955
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememory.d.ts +10 -5
- package/models/operations/updatememory.d.ts.map +1 -1
- package/models/operations/updatememory.js +6 -2
- package/models/operations/updatememory.js.map +1 -1
- package/models/operations/updatememorydocument.d.ts +4 -4
- package/models/operations/updatememorydocument.d.ts.map +1 -1
- package/models/operations/updatememorydocument.js +2 -2
- package/models/operations/updatememorydocument.js.map +1 -1
- package/models/operations/updatememorystore.d.ts +24 -59
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +27 -55
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +149 -486
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +156 -466
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/budgets.d.ts +1 -1
- package/sdk/budgets.js +1 -1
- package/sdk/conversations.d.ts +47 -0
- package/sdk/conversations.d.ts.map +1 -0
- package/sdk/conversations.js +72 -0
- package/sdk/conversations.js.map +1 -0
- package/sdk/evals.d.ts +4 -0
- package/sdk/evals.d.ts.map +1 -1
- package/sdk/evals.js +7 -0
- package/sdk/evals.js.map +1 -1
- package/sdk/responses.d.ts +5 -1
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +3 -1
- package/sdk/responses.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/agentsResponsesCreate.ts +14 -10
- package/src/funcs/budgetsCreate.ts +1 -1
- package/src/funcs/contactsList.ts +1 -0
- package/src/funcs/conversationsCreate.ts +161 -0
- package/src/funcs/conversationsDelete.ts +180 -0
- package/src/funcs/conversationsGenerateName.ts +194 -0
- package/src/funcs/conversationsList.ts +181 -0
- package/src/funcs/conversationsRetrieve.ts +180 -0
- package/src/funcs/conversationsUpdate.ts +184 -0
- package/src/funcs/evalsInvoke.ts +177 -0
- package/src/funcs/memoryStoresListDocuments.ts +2 -0
- package/src/funcs/memoryStoresListMemories.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +15 -1
- package/src/mcp-server/tools/budgetsCreate.ts +1 -1
- package/src/mcp-server/tools/conversationsCreate.ts +37 -0
- package/src/mcp-server/tools/conversationsDelete.ts +35 -0
- package/src/mcp-server/tools/conversationsGenerateName.ts +40 -0
- package/src/mcp-server/tools/conversationsList.ts +41 -0
- package/src/mcp-server/tools/conversationsRetrieve.ts +37 -0
- package/src/mcp-server/tools/conversationsUpdate.ts +40 -0
- package/src/mcp-server/tools/evalsInvoke.ts +35 -0
- package/src/models/components/agentexecutionstartedstreamingevent.ts +53 -34
- package/src/models/components/agentinactivestreamingevent.ts +85 -57
- package/src/models/components/agentresponsemessage.ts +185 -0
- package/src/models/components/agentstartedstreamingevent.ts +30 -21
- package/src/models/components/agentthoughtstreamingevent.ts +167 -118
- package/src/models/components/conversationresponse.ts +100 -12
- package/src/models/components/createagentresponse.ts +340 -0
- package/src/models/components/imagecontentpartschema.ts +52 -37
- package/src/models/components/index.ts +18 -0
- package/src/models/components/invokedeploymentrequest.ts +515 -2564
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/components/responsedoneevent.ts +93 -68
- package/src/models/components/toolexecutionfailedstreamingevent.ts +4 -0
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +4 -0
- package/src/models/components/toolexecutionstartedstreamingevent.ts +4 -0
- package/src/models/errors/generateconversationname.ts +132 -0
- package/src/models/errors/index.ts +5 -0
- package/src/models/operations/createagentrequest.ts +7 -4
- package/src/models/operations/createagentresponserequest.ts +126 -435
- package/src/models/operations/createbudget.ts +143 -28
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +192 -17
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +601 -2786
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/creatememory.ts +14 -5
- package/src/models/operations/creatememorydocument.ts +4 -4
- package/src/models/operations/createprompt.ts +397 -1201
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentcreatemetric.ts +601 -3040
- package/src/models/operations/deploymentgetconfig.ts +824 -2901
- package/src/models/operations/deploymentinvoke.ts +47 -46
- package/src/models/operations/deployments.ts +16 -15
- package/src/models/operations/deploymentstream.ts +727 -2977
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +30 -27
- package/src/models/operations/generateconversationname.ts +341 -0
- package/src/models/operations/getallmemories.ts +16 -0
- package/src/models/operations/getallmemorydocuments.ts +22 -0
- package/src/models/operations/getallprompts.ts +16 -15
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +11 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +16 -15
- package/src/models/operations/getpromptversion.ts +16 -15
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/invokeagent.ts +19 -26
- package/src/models/operations/listagents.ts +5 -2
- package/src/models/operations/listbudgets.ts +11 -2
- package/src/models/operations/listcontacts.ts +9 -2
- package/src/models/operations/listconversations.ts +161 -0
- package/src/models/operations/listdatasetdatapoints.ts +288 -1355
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +16 -15
- package/src/models/operations/retrieveagentrequest.ts +5 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +107 -12
- package/src/models/operations/retrievedatapoint.ts +263 -1288
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievememory.ts +9 -0
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +4 -4
- package/src/models/operations/streamrunagent.ts +4 -4
- package/src/models/operations/updateagent.ts +7 -4
- package/src/models/operations/updatebudget.ts +11 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +192 -14
- package/src/models/operations/updatedatapoint.ts +556 -2717
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatememory.ts +14 -5
- package/src/models/operations/updatememorydocument.ts +4 -4
- package/src/models/operations/updatememorystore.ts +64 -154
- package/src/models/operations/updateprompt.ts +385 -1144
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/budgets.ts +1 -1
- package/src/sdk/conversations.ts +125 -0
- package/src/sdk/evals.ts +15 -0
- package/src/sdk/responses.ts +8 -3
- package/src/sdk/sdk.ts +6 -0
|
@@ -87,14 +87,14 @@ export type TwoFile = {
|
|
|
87
87
|
*/
|
|
88
88
|
filename?: string | undefined;
|
|
89
89
|
};
|
|
90
|
-
export type
|
|
90
|
+
export type Two3 = {
|
|
91
91
|
/**
|
|
92
92
|
* The type of the content part. Always `file`.
|
|
93
93
|
*/
|
|
94
94
|
type: "file";
|
|
95
95
|
file: TwoFile;
|
|
96
96
|
};
|
|
97
|
-
export type
|
|
97
|
+
export type TwoImageUrl = {
|
|
98
98
|
/**
|
|
99
99
|
* Either a URL of the image or the base64 encoded data URI.
|
|
100
100
|
*/
|
|
@@ -107,22 +107,22 @@ export type ImageUrl = {
|
|
|
107
107
|
/**
|
|
108
108
|
* The image part of the prompt message. Only supported with vision models.
|
|
109
109
|
*/
|
|
110
|
-
export type
|
|
110
|
+
export type CreatePrompt22 = {
|
|
111
111
|
type: "image_url";
|
|
112
|
-
imageUrl:
|
|
112
|
+
imageUrl: TwoImageUrl;
|
|
113
113
|
};
|
|
114
114
|
/**
|
|
115
115
|
* Text content part of a prompt message
|
|
116
116
|
*/
|
|
117
|
-
export type
|
|
117
|
+
export type Two1 = {
|
|
118
118
|
type: "text";
|
|
119
119
|
text: string;
|
|
120
120
|
};
|
|
121
|
-
export type CreatePromptContent2 =
|
|
121
|
+
export type CreatePromptContent2 = Two1 | CreatePrompt22 | Two3;
|
|
122
122
|
/**
|
|
123
123
|
* 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.
|
|
124
124
|
*/
|
|
125
|
-
export type CreatePromptContent = string | Array<
|
|
125
|
+
export type CreatePromptContent = string | Array<Two1 | CreatePrompt22 | Two3>;
|
|
126
126
|
export declare const CreatePromptType: {
|
|
127
127
|
readonly Function: "function";
|
|
128
128
|
};
|
|
@@ -148,9 +148,9 @@ export type CreatePromptMessages = {
|
|
|
148
148
|
/**
|
|
149
149
|
* 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.
|
|
150
150
|
*/
|
|
151
|
-
content: string | Array<
|
|
151
|
+
content: string | Array<Two1 | CreatePrompt22 | Two3> | null;
|
|
152
152
|
toolCalls?: Array<CreatePromptToolCalls> | undefined;
|
|
153
|
-
toolCallId?: string | undefined;
|
|
153
|
+
toolCallId?: string | null | undefined;
|
|
154
154
|
};
|
|
155
155
|
/**
|
|
156
156
|
* Only supported on `image` models.
|
|
@@ -398,72 +398,11 @@ export type PromptConfiguration = {
|
|
|
398
398
|
*/
|
|
399
399
|
modelParameters?: ModelParameters | undefined;
|
|
400
400
|
};
|
|
401
|
-
export
|
|
402
|
-
readonly Text: "text";
|
|
403
|
-
};
|
|
404
|
-
export type CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type>;
|
|
405
|
-
/**
|
|
406
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
407
|
-
*/
|
|
408
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType: {
|
|
409
|
-
readonly Ephemeral: "ephemeral";
|
|
410
|
-
};
|
|
411
|
-
/**
|
|
412
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
413
|
-
*/
|
|
414
|
-
export type CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
415
|
-
/**
|
|
416
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
417
|
-
*
|
|
418
|
-
* @remarks
|
|
419
|
-
*
|
|
420
|
-
* - `5m`: 5 minutes
|
|
421
|
-
* - `1h`: 1 hour
|
|
422
|
-
*
|
|
423
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
424
|
-
*/
|
|
425
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyTtl: {
|
|
426
|
-
readonly Fivem: "5m";
|
|
427
|
-
readonly Oneh: "1h";
|
|
428
|
-
};
|
|
429
|
-
/**
|
|
430
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
431
|
-
*
|
|
432
|
-
* @remarks
|
|
433
|
-
*
|
|
434
|
-
* - `5m`: 5 minutes
|
|
435
|
-
* - `1h`: 1 hour
|
|
436
|
-
*
|
|
437
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
438
|
-
*/
|
|
439
|
-
export type CreatePrompt2PromptsRequestRequestBodyTtl = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyTtl>;
|
|
440
|
-
export type CreatePrompt2PromptsRequestRequestBodyCacheControl = {
|
|
441
|
-
/**
|
|
442
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
443
|
-
*/
|
|
444
|
-
type: CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType;
|
|
445
|
-
/**
|
|
446
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
447
|
-
*
|
|
448
|
-
* @remarks
|
|
449
|
-
*
|
|
450
|
-
* - `5m`: 5 minutes
|
|
451
|
-
* - `1h`: 1 hour
|
|
452
|
-
*
|
|
453
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
454
|
-
*/
|
|
455
|
-
ttl?: CreatePrompt2PromptsRequestRequestBodyTtl | undefined;
|
|
456
|
-
};
|
|
457
|
-
export type CreatePrompt2PromptsRequestRequestBody1 = {
|
|
458
|
-
type: CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type;
|
|
459
|
-
text: string;
|
|
460
|
-
cacheControl?: CreatePrompt2PromptsRequestRequestBodyCacheControl | undefined;
|
|
461
|
-
};
|
|
462
|
-
export type CreatePromptContentPromptsRequestRequestBodyPrompt2 = CreatePrompt2PromptsRequestRequestBody1;
|
|
401
|
+
export type CreatePromptContentPromptsRequestRequestBody2 = components.TextContentPartSchema;
|
|
463
402
|
/**
|
|
464
403
|
* The contents of the tool message.
|
|
465
404
|
*/
|
|
466
|
-
export type CreatePromptMessagesPromptsRequestRequestBodyContent = string | Array<
|
|
405
|
+
export type CreatePromptMessagesPromptsRequestRequestBodyContent = string | Array<components.TextContentPartSchema>;
|
|
467
406
|
/**
|
|
468
407
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
469
408
|
*/
|
|
@@ -524,75 +463,22 @@ export type CreatePromptMessagesToolMessage = {
|
|
|
524
463
|
/**
|
|
525
464
|
* The contents of the tool message.
|
|
526
465
|
*/
|
|
527
|
-
content: string | Array<
|
|
466
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
528
467
|
/**
|
|
529
468
|
* Tool call that this message is responding to.
|
|
530
469
|
*/
|
|
531
470
|
toolCallId: string;
|
|
532
471
|
cacheControl?: CreatePromptMessagesCacheControl | undefined;
|
|
533
472
|
};
|
|
534
|
-
|
|
535
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
536
|
-
*/
|
|
537
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType: {
|
|
538
|
-
readonly Ephemeral: "ephemeral";
|
|
539
|
-
};
|
|
540
|
-
/**
|
|
541
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
542
|
-
*/
|
|
543
|
-
export type CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType>;
|
|
544
|
-
/**
|
|
545
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
546
|
-
*
|
|
547
|
-
* @remarks
|
|
548
|
-
*
|
|
549
|
-
* - `5m`: 5 minutes
|
|
550
|
-
* - `1h`: 1 hour
|
|
551
|
-
*
|
|
552
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
553
|
-
*/
|
|
554
|
-
export declare const CreatePrompt2PromptsRequestTtl: {
|
|
555
|
-
readonly Fivem: "5m";
|
|
556
|
-
readonly Oneh: "1h";
|
|
557
|
-
};
|
|
558
|
-
/**
|
|
559
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
560
|
-
*
|
|
561
|
-
* @remarks
|
|
562
|
-
*
|
|
563
|
-
* - `5m`: 5 minutes
|
|
564
|
-
* - `1h`: 1 hour
|
|
565
|
-
*
|
|
566
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
567
|
-
*/
|
|
568
|
-
export type CreatePrompt2PromptsRequestTtl = ClosedEnum<typeof CreatePrompt2PromptsRequestTtl>;
|
|
569
|
-
export type CreatePrompt2PromptsRequestCacheControl = {
|
|
570
|
-
/**
|
|
571
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
572
|
-
*/
|
|
573
|
-
type: CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType;
|
|
574
|
-
/**
|
|
575
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
576
|
-
*
|
|
577
|
-
* @remarks
|
|
578
|
-
*
|
|
579
|
-
* - `5m`: 5 minutes
|
|
580
|
-
* - `1h`: 1 hour
|
|
581
|
-
*
|
|
582
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
583
|
-
*/
|
|
584
|
-
ttl?: CreatePrompt2PromptsRequestTtl | undefined;
|
|
585
|
-
};
|
|
586
|
-
export type CreatePrompt2PromptsRequest1 = {
|
|
473
|
+
export type CreatePromptContentPromptsRequest2 = (components.TextContentPartSchema & {
|
|
587
474
|
type: "text";
|
|
588
|
-
|
|
589
|
-
cacheControl?: CreatePrompt2PromptsRequestCacheControl | undefined;
|
|
590
|
-
};
|
|
591
|
-
export type CreatePromptContentPromptsRequestRequestBody2 = CreatePrompt2PromptsRequest1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
475
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
592
476
|
/**
|
|
593
477
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
594
478
|
*/
|
|
595
|
-
export type CreatePromptMessagesPromptsRequestContent = string | Array<
|
|
479
|
+
export type CreatePromptMessagesPromptsRequestContent = string | Array<(components.TextContentPartSchema & {
|
|
480
|
+
type: "text";
|
|
481
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
596
482
|
/**
|
|
597
483
|
* Data about a previous audio response from the model.
|
|
598
484
|
*/
|
|
@@ -641,7 +527,9 @@ export type CreatePromptMessagesAssistantMessage = {
|
|
|
641
527
|
/**
|
|
642
528
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
643
529
|
*/
|
|
644
|
-
content?: string | Array<
|
|
530
|
+
content?: string | Array<(components.TextContentPartSchema & {
|
|
531
|
+
type: "text";
|
|
532
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
645
533
|
/**
|
|
646
534
|
* The refusal message by the assistant.
|
|
647
535
|
*/
|
|
@@ -666,13 +554,13 @@ export type CreatePromptMessagesAssistantMessage = {
|
|
|
666
554
|
/**
|
|
667
555
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
668
556
|
*/
|
|
669
|
-
export declare const
|
|
557
|
+
export declare const CreatePrompt2PromptsRequestRequestBodyPromptType: {
|
|
670
558
|
readonly Ephemeral: "ephemeral";
|
|
671
559
|
};
|
|
672
560
|
/**
|
|
673
561
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
674
562
|
*/
|
|
675
|
-
export type
|
|
563
|
+
export type CreatePrompt2PromptsRequestRequestBodyPromptType = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
676
564
|
/**
|
|
677
565
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
678
566
|
*
|
|
@@ -683,7 +571,7 @@ export type CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type = ClosedEn
|
|
|
683
571
|
*
|
|
684
572
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
685
573
|
*/
|
|
686
|
-
export declare const
|
|
574
|
+
export declare const CreatePrompt2Ttl: {
|
|
687
575
|
readonly Fivem: "5m";
|
|
688
576
|
readonly Oneh: "1h";
|
|
689
577
|
};
|
|
@@ -697,12 +585,12 @@ export declare const CreatePrompt2PromptsTtl: {
|
|
|
697
585
|
*
|
|
698
586
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
699
587
|
*/
|
|
700
|
-
export type
|
|
701
|
-
export type
|
|
588
|
+
export type CreatePrompt2Ttl = ClosedEnum<typeof CreatePrompt2Ttl>;
|
|
589
|
+
export type CreatePrompt2CacheControl = {
|
|
702
590
|
/**
|
|
703
591
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
704
592
|
*/
|
|
705
|
-
type:
|
|
593
|
+
type: CreatePrompt2PromptsRequestRequestBodyPromptType;
|
|
706
594
|
/**
|
|
707
595
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
708
596
|
*
|
|
@@ -713,81 +601,28 @@ export type CreatePrompt2PromptsCacheControl = {
|
|
|
713
601
|
*
|
|
714
602
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
715
603
|
*/
|
|
716
|
-
ttl?:
|
|
604
|
+
ttl?: CreatePrompt2Ttl | undefined;
|
|
717
605
|
};
|
|
718
606
|
export type CreatePrompt24 = {
|
|
719
607
|
/**
|
|
720
608
|
* The type of the content part. Always `file`.
|
|
721
609
|
*/
|
|
722
610
|
type: "file";
|
|
723
|
-
cacheControl?:
|
|
611
|
+
cacheControl?: CreatePrompt2CacheControl | undefined;
|
|
724
612
|
/**
|
|
725
613
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
726
614
|
*/
|
|
727
615
|
file: components.FileContentPartSchema;
|
|
728
616
|
};
|
|
729
|
-
|
|
730
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
731
|
-
*/
|
|
732
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyPromptType: {
|
|
733
|
-
readonly Ephemeral: "ephemeral";
|
|
734
|
-
};
|
|
735
|
-
/**
|
|
736
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
737
|
-
*/
|
|
738
|
-
export type CreatePrompt2PromptsRequestRequestBodyPromptType = ClosedEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
739
|
-
/**
|
|
740
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
741
|
-
*
|
|
742
|
-
* @remarks
|
|
743
|
-
*
|
|
744
|
-
* - `5m`: 5 minutes
|
|
745
|
-
* - `1h`: 1 hour
|
|
746
|
-
*
|
|
747
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
748
|
-
*/
|
|
749
|
-
export declare const CreatePrompt2Ttl: {
|
|
750
|
-
readonly Fivem: "5m";
|
|
751
|
-
readonly Oneh: "1h";
|
|
752
|
-
};
|
|
753
|
-
/**
|
|
754
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
755
|
-
*
|
|
756
|
-
* @remarks
|
|
757
|
-
*
|
|
758
|
-
* - `5m`: 5 minutes
|
|
759
|
-
* - `1h`: 1 hour
|
|
760
|
-
*
|
|
761
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
762
|
-
*/
|
|
763
|
-
export type CreatePrompt2Ttl = ClosedEnum<typeof CreatePrompt2Ttl>;
|
|
764
|
-
export type CreatePrompt2CacheControl = {
|
|
765
|
-
/**
|
|
766
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
767
|
-
*/
|
|
768
|
-
type: CreatePrompt2PromptsRequestRequestBodyPromptType;
|
|
769
|
-
/**
|
|
770
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
771
|
-
*
|
|
772
|
-
* @remarks
|
|
773
|
-
*
|
|
774
|
-
* - `5m`: 5 minutes
|
|
775
|
-
* - `1h`: 1 hour
|
|
776
|
-
*
|
|
777
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
778
|
-
*/
|
|
779
|
-
ttl?: CreatePrompt2Ttl | undefined;
|
|
780
|
-
};
|
|
781
|
-
export type CreatePrompt2Prompts1 = {
|
|
617
|
+
export type CreatePromptContentPrompts2 = (components.TextContentPartSchema & {
|
|
782
618
|
type: "text";
|
|
783
|
-
|
|
784
|
-
cacheControl?: CreatePrompt2CacheControl | undefined;
|
|
785
|
-
};
|
|
786
|
-
export type CreatePromptContentPromptsRequest2 = CreatePrompt2Prompts1 | components.ImageContentPartSchema | components.AudioContentPartSchema | CreatePrompt24;
|
|
619
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | CreatePrompt24;
|
|
787
620
|
/**
|
|
788
621
|
* The contents of the user message.
|
|
789
622
|
*/
|
|
790
|
-
export type CreatePromptMessagesPromptsContent = string | Array<
|
|
623
|
+
export type CreatePromptMessagesPromptsContent = string | Array<(components.TextContentPartSchema & {
|
|
624
|
+
type: "text";
|
|
625
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | CreatePrompt24>;
|
|
791
626
|
export type CreatePromptMessagesUserMessage = {
|
|
792
627
|
/**
|
|
793
628
|
* The role of the messages author, in this case `user`.
|
|
@@ -800,73 +635,14 @@ export type CreatePromptMessagesUserMessage = {
|
|
|
800
635
|
/**
|
|
801
636
|
* The contents of the user message.
|
|
802
637
|
*/
|
|
803
|
-
content: string | Array<
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
readonly Text: "text";
|
|
807
|
-
};
|
|
808
|
-
export type CreatePromptContentType = ClosedEnum<typeof CreatePromptContentType>;
|
|
809
|
-
/**
|
|
810
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
811
|
-
*/
|
|
812
|
-
export declare const CreatePromptContentPromptsType: {
|
|
813
|
-
readonly Ephemeral: "ephemeral";
|
|
814
|
-
};
|
|
815
|
-
/**
|
|
816
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
817
|
-
*/
|
|
818
|
-
export type CreatePromptContentPromptsType = ClosedEnum<typeof CreatePromptContentPromptsType>;
|
|
819
|
-
/**
|
|
820
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
821
|
-
*
|
|
822
|
-
* @remarks
|
|
823
|
-
*
|
|
824
|
-
* - `5m`: 5 minutes
|
|
825
|
-
* - `1h`: 1 hour
|
|
826
|
-
*
|
|
827
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
828
|
-
*/
|
|
829
|
-
export declare const CreatePromptContentTtl: {
|
|
830
|
-
readonly Fivem: "5m";
|
|
831
|
-
readonly Oneh: "1h";
|
|
832
|
-
};
|
|
833
|
-
/**
|
|
834
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
835
|
-
*
|
|
836
|
-
* @remarks
|
|
837
|
-
*
|
|
838
|
-
* - `5m`: 5 minutes
|
|
839
|
-
* - `1h`: 1 hour
|
|
840
|
-
*
|
|
841
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
842
|
-
*/
|
|
843
|
-
export type CreatePromptContentTtl = ClosedEnum<typeof CreatePromptContentTtl>;
|
|
844
|
-
export type CreatePromptContentCacheControl = {
|
|
845
|
-
/**
|
|
846
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
847
|
-
*/
|
|
848
|
-
type: CreatePromptContentPromptsType;
|
|
849
|
-
/**
|
|
850
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
851
|
-
*
|
|
852
|
-
* @remarks
|
|
853
|
-
*
|
|
854
|
-
* - `5m`: 5 minutes
|
|
855
|
-
* - `1h`: 1 hour
|
|
856
|
-
*
|
|
857
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
858
|
-
*/
|
|
859
|
-
ttl?: CreatePromptContentTtl | undefined;
|
|
860
|
-
};
|
|
861
|
-
export type CreatePromptContentPrompts2 = {
|
|
862
|
-
type: CreatePromptContentType;
|
|
863
|
-
text: string;
|
|
864
|
-
cacheControl?: CreatePromptContentCacheControl | undefined;
|
|
638
|
+
content: string | Array<(components.TextContentPartSchema & {
|
|
639
|
+
type: "text";
|
|
640
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | CreatePrompt24>;
|
|
865
641
|
};
|
|
866
642
|
/**
|
|
867
643
|
* The contents of the system message.
|
|
868
644
|
*/
|
|
869
|
-
export type CreatePromptMessagesContent = string | Array<
|
|
645
|
+
export type CreatePromptMessagesContent = string | Array<components.TextContentPartSchema>;
|
|
870
646
|
/**
|
|
871
647
|
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
872
648
|
*/
|
|
@@ -878,7 +654,7 @@ export type CreatePromptMessagesSystemMessage = {
|
|
|
878
654
|
/**
|
|
879
655
|
* The contents of the system message.
|
|
880
656
|
*/
|
|
881
|
-
content: string | Array<
|
|
657
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
882
658
|
/**
|
|
883
659
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
884
660
|
*/
|
|
@@ -1242,29 +1018,30 @@ export type CreatePromptModelParameters = {
|
|
|
1242
1018
|
thinkingLevel?: CreatePromptThinkingLevel | undefined;
|
|
1243
1019
|
};
|
|
1244
1020
|
export declare const CreatePromptProvider: {
|
|
1245
|
-
readonly Cohere: "cohere";
|
|
1246
1021
|
readonly Openai: "openai";
|
|
1247
|
-
readonly
|
|
1248
|
-
readonly
|
|
1249
|
-
readonly Replicate: "replicate";
|
|
1250
|
-
readonly Google: "google";
|
|
1251
|
-
readonly GoogleAi: "google-ai";
|
|
1022
|
+
readonly Groq: "groq";
|
|
1023
|
+
readonly Cohere: "cohere";
|
|
1252
1024
|
readonly Azure: "azure";
|
|
1253
1025
|
readonly Aws: "aws";
|
|
1254
|
-
readonly
|
|
1026
|
+
readonly Google: "google";
|
|
1027
|
+
readonly GoogleAi: "google-ai";
|
|
1028
|
+
readonly Huggingface: "huggingface";
|
|
1029
|
+
readonly Togetherai: "togetherai";
|
|
1255
1030
|
readonly Perplexity: "perplexity";
|
|
1256
|
-
readonly
|
|
1257
|
-
readonly Fal: "fal";
|
|
1031
|
+
readonly Anthropic: "anthropic";
|
|
1258
1032
|
readonly Leonardoai: "leonardoai";
|
|
1033
|
+
readonly Fal: "fal";
|
|
1259
1034
|
readonly Nvidia: "nvidia";
|
|
1260
1035
|
readonly Jina: "jina";
|
|
1261
|
-
readonly Togetherai: "togetherai";
|
|
1262
1036
|
readonly Elevenlabs: "elevenlabs";
|
|
1263
1037
|
readonly Litellm: "litellm";
|
|
1264
|
-
readonly Openailike: "openailike";
|
|
1265
1038
|
readonly Cerebras: "cerebras";
|
|
1039
|
+
readonly Openailike: "openailike";
|
|
1266
1040
|
readonly Bytedance: "bytedance";
|
|
1267
1041
|
readonly Mistral: "mistral";
|
|
1042
|
+
readonly Deepseek: "deepseek";
|
|
1043
|
+
readonly Contextualai: "contextualai";
|
|
1044
|
+
readonly Moonshotai: "moonshotai";
|
|
1268
1045
|
};
|
|
1269
1046
|
export type CreatePromptProvider = ClosedEnum<typeof CreatePromptProvider>;
|
|
1270
1047
|
/**
|
|
@@ -1326,22 +1103,22 @@ export type CreatePrompt2ImageUrl = {
|
|
|
1326
1103
|
/**
|
|
1327
1104
|
* The image part of the prompt message. Only supported with vision models.
|
|
1328
1105
|
*/
|
|
1329
|
-
export type
|
|
1106
|
+
export type CreatePrompt2Prompts2 = {
|
|
1330
1107
|
type: "image_url";
|
|
1331
1108
|
imageUrl: CreatePrompt2ImageUrl;
|
|
1332
1109
|
};
|
|
1333
1110
|
/**
|
|
1334
1111
|
* Text content part of a prompt message
|
|
1335
1112
|
*/
|
|
1336
|
-
export type
|
|
1113
|
+
export type CreatePrompt21 = {
|
|
1337
1114
|
type: "text";
|
|
1338
1115
|
text: string;
|
|
1339
1116
|
};
|
|
1340
|
-
export type CreatePromptContentPromptsResponse2 =
|
|
1117
|
+
export type CreatePromptContentPromptsResponse2 = CreatePrompt21 | CreatePrompt2Prompts2 | CreatePrompt23;
|
|
1341
1118
|
/**
|
|
1342
1119
|
* 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.
|
|
1343
1120
|
*/
|
|
1344
|
-
export type CreatePromptPromptsContent = string | Array<
|
|
1121
|
+
export type CreatePromptPromptsContent = string | Array<CreatePrompt21 | CreatePrompt2Prompts2 | CreatePrompt23>;
|
|
1345
1122
|
export declare const CreatePromptPromptsResponseType: {
|
|
1346
1123
|
readonly Function: "function";
|
|
1347
1124
|
};
|
|
@@ -1367,9 +1144,9 @@ export type CreatePromptPromptsResponseMessages = {
|
|
|
1367
1144
|
/**
|
|
1368
1145
|
* 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.
|
|
1369
1146
|
*/
|
|
1370
|
-
content: string | Array<
|
|
1147
|
+
content: string | Array<CreatePrompt21 | CreatePrompt2Prompts2 | CreatePrompt23> | null;
|
|
1371
1148
|
toolCalls?: Array<CreatePromptPromptsToolCalls> | undefined;
|
|
1372
|
-
toolCallId?: string | undefined;
|
|
1149
|
+
toolCallId?: string | null | undefined;
|
|
1373
1150
|
};
|
|
1374
1151
|
/**
|
|
1375
1152
|
* A list of messages compatible with the openAI schema
|
|
@@ -1509,53 +1286,53 @@ export declare const TwoFile$outboundSchema: z.ZodType<TwoFile$Outbound, z.ZodTy
|
|
|
1509
1286
|
export declare function twoFileToJSON(twoFile: TwoFile): string;
|
|
1510
1287
|
export declare function twoFileFromJSON(jsonString: string): SafeParseResult<TwoFile, SDKValidationError>;
|
|
1511
1288
|
/** @internal */
|
|
1512
|
-
export declare const
|
|
1289
|
+
export declare const Two3$inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown>;
|
|
1513
1290
|
/** @internal */
|
|
1514
|
-
export type
|
|
1291
|
+
export type Two3$Outbound = {
|
|
1515
1292
|
type: "file";
|
|
1516
1293
|
file: TwoFile$Outbound;
|
|
1517
1294
|
};
|
|
1518
1295
|
/** @internal */
|
|
1519
|
-
export declare const
|
|
1520
|
-
export declare function
|
|
1521
|
-
export declare function
|
|
1296
|
+
export declare const Two3$outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3>;
|
|
1297
|
+
export declare function two3ToJSON(two3: Two3): string;
|
|
1298
|
+
export declare function two3FromJSON(jsonString: string): SafeParseResult<Two3, SDKValidationError>;
|
|
1522
1299
|
/** @internal */
|
|
1523
|
-
export declare const
|
|
1300
|
+
export declare const TwoImageUrl$inboundSchema: z.ZodType<TwoImageUrl, z.ZodTypeDef, unknown>;
|
|
1524
1301
|
/** @internal */
|
|
1525
|
-
export type
|
|
1302
|
+
export type TwoImageUrl$Outbound = {
|
|
1526
1303
|
url: string;
|
|
1527
1304
|
detail?: string | undefined;
|
|
1528
1305
|
};
|
|
1529
1306
|
/** @internal */
|
|
1530
|
-
export declare const
|
|
1531
|
-
export declare function
|
|
1532
|
-
export declare function
|
|
1307
|
+
export declare const TwoImageUrl$outboundSchema: z.ZodType<TwoImageUrl$Outbound, z.ZodTypeDef, TwoImageUrl>;
|
|
1308
|
+
export declare function twoImageUrlToJSON(twoImageUrl: TwoImageUrl): string;
|
|
1309
|
+
export declare function twoImageUrlFromJSON(jsonString: string): SafeParseResult<TwoImageUrl, SDKValidationError>;
|
|
1533
1310
|
/** @internal */
|
|
1534
|
-
export declare const
|
|
1311
|
+
export declare const CreatePrompt22$inboundSchema: z.ZodType<CreatePrompt22, z.ZodTypeDef, unknown>;
|
|
1535
1312
|
/** @internal */
|
|
1536
|
-
export type
|
|
1313
|
+
export type CreatePrompt22$Outbound = {
|
|
1537
1314
|
type: "image_url";
|
|
1538
|
-
image_url:
|
|
1315
|
+
image_url: TwoImageUrl$Outbound;
|
|
1539
1316
|
};
|
|
1540
1317
|
/** @internal */
|
|
1541
|
-
export declare const
|
|
1542
|
-
export declare function
|
|
1543
|
-
export declare function
|
|
1318
|
+
export declare const CreatePrompt22$outboundSchema: z.ZodType<CreatePrompt22$Outbound, z.ZodTypeDef, CreatePrompt22>;
|
|
1319
|
+
export declare function createPrompt22ToJSON(createPrompt22: CreatePrompt22): string;
|
|
1320
|
+
export declare function createPrompt22FromJSON(jsonString: string): SafeParseResult<CreatePrompt22, SDKValidationError>;
|
|
1544
1321
|
/** @internal */
|
|
1545
|
-
export declare const
|
|
1322
|
+
export declare const Two1$inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown>;
|
|
1546
1323
|
/** @internal */
|
|
1547
|
-
export type
|
|
1324
|
+
export type Two1$Outbound = {
|
|
1548
1325
|
type: "text";
|
|
1549
1326
|
text: string;
|
|
1550
1327
|
};
|
|
1551
1328
|
/** @internal */
|
|
1552
|
-
export declare const
|
|
1553
|
-
export declare function
|
|
1554
|
-
export declare function
|
|
1329
|
+
export declare const Two1$outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1>;
|
|
1330
|
+
export declare function two1ToJSON(two1: Two1): string;
|
|
1331
|
+
export declare function two1FromJSON(jsonString: string): SafeParseResult<Two1, SDKValidationError>;
|
|
1555
1332
|
/** @internal */
|
|
1556
1333
|
export declare const CreatePromptContent2$inboundSchema: z.ZodType<CreatePromptContent2, z.ZodTypeDef, unknown>;
|
|
1557
1334
|
/** @internal */
|
|
1558
|
-
export type CreatePromptContent2$Outbound =
|
|
1335
|
+
export type CreatePromptContent2$Outbound = Two1$Outbound | CreatePrompt22$Outbound | Two3$Outbound;
|
|
1559
1336
|
/** @internal */
|
|
1560
1337
|
export declare const CreatePromptContent2$outboundSchema: z.ZodType<CreatePromptContent2$Outbound, z.ZodTypeDef, CreatePromptContent2>;
|
|
1561
1338
|
export declare function createPromptContent2ToJSON(createPromptContent2: CreatePromptContent2): string;
|
|
@@ -1563,7 +1340,7 @@ export declare function createPromptContent2FromJSON(jsonString: string): SafePa
|
|
|
1563
1340
|
/** @internal */
|
|
1564
1341
|
export declare const CreatePromptContent$inboundSchema: z.ZodType<CreatePromptContent, z.ZodTypeDef, unknown>;
|
|
1565
1342
|
/** @internal */
|
|
1566
|
-
export type CreatePromptContent$Outbound = string | Array<
|
|
1343
|
+
export type CreatePromptContent$Outbound = string | Array<Two1$Outbound | CreatePrompt22$Outbound | Two3$Outbound>;
|
|
1567
1344
|
/** @internal */
|
|
1568
1345
|
export declare const CreatePromptContent$outboundSchema: z.ZodType<CreatePromptContent$Outbound, z.ZodTypeDef, CreatePromptContent>;
|
|
1569
1346
|
export declare function createPromptContentToJSON(createPromptContent: CreatePromptContent): string;
|
|
@@ -1601,9 +1378,9 @@ export declare const CreatePromptMessages$inboundSchema: z.ZodType<CreatePromptM
|
|
|
1601
1378
|
/** @internal */
|
|
1602
1379
|
export type CreatePromptMessages$Outbound = {
|
|
1603
1380
|
role: string;
|
|
1604
|
-
content: string | Array<
|
|
1381
|
+
content: string | Array<Two1$Outbound | CreatePrompt22$Outbound | Two3$Outbound> | null;
|
|
1605
1382
|
tool_calls?: Array<CreatePromptToolCalls$Outbound> | undefined;
|
|
1606
|
-
tool_call_id?: string | undefined;
|
|
1383
|
+
tool_call_id?: string | null | undefined;
|
|
1607
1384
|
};
|
|
1608
1385
|
/** @internal */
|
|
1609
1386
|
export declare const CreatePromptMessages$outboundSchema: z.ZodType<CreatePromptMessages$Outbound, z.ZodTypeDef, CreatePromptMessages>;
|
|
@@ -1753,52 +1530,17 @@ export declare const PromptConfiguration$outboundSchema: z.ZodType<PromptConfigu
|
|
|
1753
1530
|
export declare function promptConfigurationToJSON(promptConfiguration: PromptConfiguration): string;
|
|
1754
1531
|
export declare function promptConfigurationFromJSON(jsonString: string): SafeParseResult<PromptConfiguration, SDKValidationError>;
|
|
1755
1532
|
/** @internal */
|
|
1756
|
-
export declare const
|
|
1757
|
-
/** @internal */
|
|
1758
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages4Type>;
|
|
1759
|
-
/** @internal */
|
|
1760
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
1761
|
-
/** @internal */
|
|
1762
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
1763
|
-
/** @internal */
|
|
1764
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyTtl$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyTtl>;
|
|
1765
|
-
/** @internal */
|
|
1766
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyTtl$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyTtl>;
|
|
1767
|
-
/** @internal */
|
|
1768
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyCacheControl$inboundSchema: z.ZodType<CreatePrompt2PromptsRequestRequestBodyCacheControl, z.ZodTypeDef, unknown>;
|
|
1769
|
-
/** @internal */
|
|
1770
|
-
export type CreatePrompt2PromptsRequestRequestBodyCacheControl$Outbound = {
|
|
1771
|
-
type: string;
|
|
1772
|
-
ttl: string;
|
|
1773
|
-
};
|
|
1774
|
-
/** @internal */
|
|
1775
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyCacheControl$outboundSchema: z.ZodType<CreatePrompt2PromptsRequestRequestBodyCacheControl$Outbound, z.ZodTypeDef, CreatePrompt2PromptsRequestRequestBodyCacheControl>;
|
|
1776
|
-
export declare function createPrompt2PromptsRequestRequestBodyCacheControlToJSON(createPrompt2PromptsRequestRequestBodyCacheControl: CreatePrompt2PromptsRequestRequestBodyCacheControl): string;
|
|
1777
|
-
export declare function createPrompt2PromptsRequestRequestBodyCacheControlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsRequestRequestBodyCacheControl, SDKValidationError>;
|
|
1778
|
-
/** @internal */
|
|
1779
|
-
export declare const CreatePrompt2PromptsRequestRequestBody1$inboundSchema: z.ZodType<CreatePrompt2PromptsRequestRequestBody1, z.ZodTypeDef, unknown>;
|
|
1780
|
-
/** @internal */
|
|
1781
|
-
export type CreatePrompt2PromptsRequestRequestBody1$Outbound = {
|
|
1782
|
-
type: string;
|
|
1783
|
-
text: string;
|
|
1784
|
-
cache_control?: CreatePrompt2PromptsRequestRequestBodyCacheControl$Outbound | undefined;
|
|
1785
|
-
};
|
|
1786
|
-
/** @internal */
|
|
1787
|
-
export declare const CreatePrompt2PromptsRequestRequestBody1$outboundSchema: z.ZodType<CreatePrompt2PromptsRequestRequestBody1$Outbound, z.ZodTypeDef, CreatePrompt2PromptsRequestRequestBody1>;
|
|
1788
|
-
export declare function createPrompt2PromptsRequestRequestBody1ToJSON(createPrompt2PromptsRequestRequestBody1: CreatePrompt2PromptsRequestRequestBody1): string;
|
|
1789
|
-
export declare function createPrompt2PromptsRequestRequestBody1FromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsRequestRequestBody1, SDKValidationError>;
|
|
1790
|
-
/** @internal */
|
|
1791
|
-
export declare const CreatePromptContentPromptsRequestRequestBodyPrompt2$inboundSchema: z.ZodType<CreatePromptContentPromptsRequestRequestBodyPrompt2, z.ZodTypeDef, unknown>;
|
|
1533
|
+
export declare const CreatePromptContentPromptsRequestRequestBody2$inboundSchema: z.ZodType<CreatePromptContentPromptsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
1792
1534
|
/** @internal */
|
|
1793
|
-
export type
|
|
1535
|
+
export type CreatePromptContentPromptsRequestRequestBody2$Outbound = components.TextContentPartSchema$Outbound;
|
|
1794
1536
|
/** @internal */
|
|
1795
|
-
export declare const
|
|
1796
|
-
export declare function
|
|
1797
|
-
export declare function
|
|
1537
|
+
export declare const CreatePromptContentPromptsRequestRequestBody2$outboundSchema: z.ZodType<CreatePromptContentPromptsRequestRequestBody2$Outbound, z.ZodTypeDef, CreatePromptContentPromptsRequestRequestBody2>;
|
|
1538
|
+
export declare function createPromptContentPromptsRequestRequestBody2ToJSON(createPromptContentPromptsRequestRequestBody2: CreatePromptContentPromptsRequestRequestBody2): string;
|
|
1539
|
+
export declare function createPromptContentPromptsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<CreatePromptContentPromptsRequestRequestBody2, SDKValidationError>;
|
|
1798
1540
|
/** @internal */
|
|
1799
1541
|
export declare const CreatePromptMessagesPromptsRequestRequestBodyContent$inboundSchema: z.ZodType<CreatePromptMessagesPromptsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
|
|
1800
1542
|
/** @internal */
|
|
1801
|
-
export type CreatePromptMessagesPromptsRequestRequestBodyContent$Outbound = string | Array<
|
|
1543
|
+
export type CreatePromptMessagesPromptsRequestRequestBodyContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
1802
1544
|
/** @internal */
|
|
1803
1545
|
export declare const CreatePromptMessagesPromptsRequestRequestBodyContent$outboundSchema: z.ZodType<CreatePromptMessagesPromptsRequestRequestBodyContent$Outbound, z.ZodTypeDef, CreatePromptMessagesPromptsRequestRequestBodyContent>;
|
|
1804
1546
|
export declare function createPromptMessagesPromptsRequestRequestBodyContentToJSON(createPromptMessagesPromptsRequestRequestBodyContent: CreatePromptMessagesPromptsRequestRequestBodyContent): string;
|
|
@@ -1827,7 +1569,7 @@ export declare const CreatePromptMessagesToolMessage$inboundSchema: z.ZodType<Cr
|
|
|
1827
1569
|
/** @internal */
|
|
1828
1570
|
export type CreatePromptMessagesToolMessage$Outbound = {
|
|
1829
1571
|
role: "tool";
|
|
1830
|
-
content: string | Array<
|
|
1572
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1831
1573
|
tool_call_id: string;
|
|
1832
1574
|
cache_control?: CreatePromptMessagesCacheControl$Outbound | undefined;
|
|
1833
1575
|
};
|
|
@@ -1836,48 +1578,21 @@ export declare const CreatePromptMessagesToolMessage$outboundSchema: z.ZodType<C
|
|
|
1836
1578
|
export declare function createPromptMessagesToolMessageToJSON(createPromptMessagesToolMessage: CreatePromptMessagesToolMessage): string;
|
|
1837
1579
|
export declare function createPromptMessagesToolMessageFromJSON(jsonString: string): SafeParseResult<CreatePromptMessagesToolMessage, SDKValidationError>;
|
|
1838
1580
|
/** @internal */
|
|
1839
|
-
export declare const
|
|
1840
|
-
/** @internal */
|
|
1841
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType>;
|
|
1842
|
-
/** @internal */
|
|
1843
|
-
export declare const CreatePrompt2PromptsRequestTtl$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestTtl>;
|
|
1844
|
-
/** @internal */
|
|
1845
|
-
export declare const CreatePrompt2PromptsRequestTtl$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestTtl>;
|
|
1846
|
-
/** @internal */
|
|
1847
|
-
export declare const CreatePrompt2PromptsRequestCacheControl$inboundSchema: z.ZodType<CreatePrompt2PromptsRequestCacheControl, z.ZodTypeDef, unknown>;
|
|
1848
|
-
/** @internal */
|
|
1849
|
-
export type CreatePrompt2PromptsRequestCacheControl$Outbound = {
|
|
1850
|
-
type: string;
|
|
1851
|
-
ttl: string;
|
|
1852
|
-
};
|
|
1853
|
-
/** @internal */
|
|
1854
|
-
export declare const CreatePrompt2PromptsRequestCacheControl$outboundSchema: z.ZodType<CreatePrompt2PromptsRequestCacheControl$Outbound, z.ZodTypeDef, CreatePrompt2PromptsRequestCacheControl>;
|
|
1855
|
-
export declare function createPrompt2PromptsRequestCacheControlToJSON(createPrompt2PromptsRequestCacheControl: CreatePrompt2PromptsRequestCacheControl): string;
|
|
1856
|
-
export declare function createPrompt2PromptsRequestCacheControlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsRequestCacheControl, SDKValidationError>;
|
|
1857
|
-
/** @internal */
|
|
1858
|
-
export declare const CreatePrompt2PromptsRequest1$inboundSchema: z.ZodType<CreatePrompt2PromptsRequest1, z.ZodTypeDef, unknown>;
|
|
1581
|
+
export declare const CreatePromptContentPromptsRequest2$inboundSchema: z.ZodType<CreatePromptContentPromptsRequest2, z.ZodTypeDef, unknown>;
|
|
1859
1582
|
/** @internal */
|
|
1860
|
-
export type
|
|
1583
|
+
export type CreatePromptContentPromptsRequest2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1861
1584
|
type: "text";
|
|
1862
|
-
|
|
1863
|
-
cache_control?: CreatePrompt2PromptsRequestCacheControl$Outbound | undefined;
|
|
1864
|
-
};
|
|
1865
|
-
/** @internal */
|
|
1866
|
-
export declare const CreatePrompt2PromptsRequest1$outboundSchema: z.ZodType<CreatePrompt2PromptsRequest1$Outbound, z.ZodTypeDef, CreatePrompt2PromptsRequest1>;
|
|
1867
|
-
export declare function createPrompt2PromptsRequest1ToJSON(createPrompt2PromptsRequest1: CreatePrompt2PromptsRequest1): string;
|
|
1868
|
-
export declare function createPrompt2PromptsRequest1FromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsRequest1, SDKValidationError>;
|
|
1869
|
-
/** @internal */
|
|
1870
|
-
export declare const CreatePromptContentPromptsRequestRequestBody2$inboundSchema: z.ZodType<CreatePromptContentPromptsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
1871
|
-
/** @internal */
|
|
1872
|
-
export type CreatePromptContentPromptsRequestRequestBody2$Outbound = CreatePrompt2PromptsRequest1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
1585
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
1873
1586
|
/** @internal */
|
|
1874
|
-
export declare const
|
|
1875
|
-
export declare function
|
|
1876
|
-
export declare function
|
|
1587
|
+
export declare const CreatePromptContentPromptsRequest2$outboundSchema: z.ZodType<CreatePromptContentPromptsRequest2$Outbound, z.ZodTypeDef, CreatePromptContentPromptsRequest2>;
|
|
1588
|
+
export declare function createPromptContentPromptsRequest2ToJSON(createPromptContentPromptsRequest2: CreatePromptContentPromptsRequest2): string;
|
|
1589
|
+
export declare function createPromptContentPromptsRequest2FromJSON(jsonString: string): SafeParseResult<CreatePromptContentPromptsRequest2, SDKValidationError>;
|
|
1877
1590
|
/** @internal */
|
|
1878
1591
|
export declare const CreatePromptMessagesPromptsRequestContent$inboundSchema: z.ZodType<CreatePromptMessagesPromptsRequestContent, z.ZodTypeDef, unknown>;
|
|
1879
1592
|
/** @internal */
|
|
1880
|
-
export type CreatePromptMessagesPromptsRequestContent$Outbound = string | Array<
|
|
1593
|
+
export type CreatePromptMessagesPromptsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1594
|
+
type: "text";
|
|
1595
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
1881
1596
|
/** @internal */
|
|
1882
1597
|
export declare const CreatePromptMessagesPromptsRequestContent$outboundSchema: z.ZodType<CreatePromptMessagesPromptsRequestContent$Outbound, z.ZodTypeDef, CreatePromptMessagesPromptsRequestContent>;
|
|
1883
1598
|
export declare function createPromptMessagesPromptsRequestContentToJSON(createPromptMessagesPromptsRequestContent: CreatePromptMessagesPromptsRequestContent): string;
|
|
@@ -1924,7 +1639,9 @@ export declare function createPromptMessagesToolCallsFromJSON(jsonString: string
|
|
|
1924
1639
|
export declare const CreatePromptMessagesAssistantMessage$inboundSchema: z.ZodType<CreatePromptMessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1925
1640
|
/** @internal */
|
|
1926
1641
|
export type CreatePromptMessagesAssistantMessage$Outbound = {
|
|
1927
|
-
content?: string | Array<
|
|
1642
|
+
content?: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1643
|
+
type: "text";
|
|
1644
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
1928
1645
|
refusal?: string | null | undefined;
|
|
1929
1646
|
role: "assistant";
|
|
1930
1647
|
name?: string | undefined;
|
|
@@ -1936,37 +1653,6 @@ export declare const CreatePromptMessagesAssistantMessage$outboundSchema: z.ZodT
|
|
|
1936
1653
|
export declare function createPromptMessagesAssistantMessageToJSON(createPromptMessagesAssistantMessage: CreatePromptMessagesAssistantMessage): string;
|
|
1937
1654
|
export declare function createPromptMessagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<CreatePromptMessagesAssistantMessage, SDKValidationError>;
|
|
1938
1655
|
/** @internal */
|
|
1939
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type>;
|
|
1940
|
-
/** @internal */
|
|
1941
|
-
export declare const CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptMessages2Type>;
|
|
1942
|
-
/** @internal */
|
|
1943
|
-
export declare const CreatePrompt2PromptsTtl$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsTtl>;
|
|
1944
|
-
/** @internal */
|
|
1945
|
-
export declare const CreatePrompt2PromptsTtl$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsTtl>;
|
|
1946
|
-
/** @internal */
|
|
1947
|
-
export declare const CreatePrompt2PromptsCacheControl$inboundSchema: z.ZodType<CreatePrompt2PromptsCacheControl, z.ZodTypeDef, unknown>;
|
|
1948
|
-
/** @internal */
|
|
1949
|
-
export type CreatePrompt2PromptsCacheControl$Outbound = {
|
|
1950
|
-
type: string;
|
|
1951
|
-
ttl: string;
|
|
1952
|
-
};
|
|
1953
|
-
/** @internal */
|
|
1954
|
-
export declare const CreatePrompt2PromptsCacheControl$outboundSchema: z.ZodType<CreatePrompt2PromptsCacheControl$Outbound, z.ZodTypeDef, CreatePrompt2PromptsCacheControl>;
|
|
1955
|
-
export declare function createPrompt2PromptsCacheControlToJSON(createPrompt2PromptsCacheControl: CreatePrompt2PromptsCacheControl): string;
|
|
1956
|
-
export declare function createPrompt2PromptsCacheControlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsCacheControl, SDKValidationError>;
|
|
1957
|
-
/** @internal */
|
|
1958
|
-
export declare const CreatePrompt24$inboundSchema: z.ZodType<CreatePrompt24, z.ZodTypeDef, unknown>;
|
|
1959
|
-
/** @internal */
|
|
1960
|
-
export type CreatePrompt24$Outbound = {
|
|
1961
|
-
type: "file";
|
|
1962
|
-
cache_control?: CreatePrompt2PromptsCacheControl$Outbound | undefined;
|
|
1963
|
-
file: components.FileContentPartSchema$Outbound;
|
|
1964
|
-
};
|
|
1965
|
-
/** @internal */
|
|
1966
|
-
export declare const CreatePrompt24$outboundSchema: z.ZodType<CreatePrompt24$Outbound, z.ZodTypeDef, CreatePrompt24>;
|
|
1967
|
-
export declare function createPrompt24ToJSON(createPrompt24: CreatePrompt24): string;
|
|
1968
|
-
export declare function createPrompt24FromJSON(jsonString: string): SafeParseResult<CreatePrompt24, SDKValidationError>;
|
|
1969
|
-
/** @internal */
|
|
1970
1656
|
export declare const CreatePrompt2PromptsRequestRequestBodyPromptType$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
1971
1657
|
/** @internal */
|
|
1972
1658
|
export declare const CreatePrompt2PromptsRequestRequestBodyPromptType$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
@@ -1986,29 +1672,33 @@ export declare const CreatePrompt2CacheControl$outboundSchema: z.ZodType<CreateP
|
|
|
1986
1672
|
export declare function createPrompt2CacheControlToJSON(createPrompt2CacheControl: CreatePrompt2CacheControl): string;
|
|
1987
1673
|
export declare function createPrompt2CacheControlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2CacheControl, SDKValidationError>;
|
|
1988
1674
|
/** @internal */
|
|
1989
|
-
export declare const
|
|
1675
|
+
export declare const CreatePrompt24$inboundSchema: z.ZodType<CreatePrompt24, z.ZodTypeDef, unknown>;
|
|
1990
1676
|
/** @internal */
|
|
1991
|
-
export type
|
|
1992
|
-
type: "
|
|
1993
|
-
text: string;
|
|
1677
|
+
export type CreatePrompt24$Outbound = {
|
|
1678
|
+
type: "file";
|
|
1994
1679
|
cache_control?: CreatePrompt2CacheControl$Outbound | undefined;
|
|
1680
|
+
file: components.FileContentPartSchema$Outbound;
|
|
1995
1681
|
};
|
|
1996
1682
|
/** @internal */
|
|
1997
|
-
export declare const
|
|
1998
|
-
export declare function
|
|
1999
|
-
export declare function
|
|
1683
|
+
export declare const CreatePrompt24$outboundSchema: z.ZodType<CreatePrompt24$Outbound, z.ZodTypeDef, CreatePrompt24>;
|
|
1684
|
+
export declare function createPrompt24ToJSON(createPrompt24: CreatePrompt24): string;
|
|
1685
|
+
export declare function createPrompt24FromJSON(jsonString: string): SafeParseResult<CreatePrompt24, SDKValidationError>;
|
|
2000
1686
|
/** @internal */
|
|
2001
|
-
export declare const
|
|
1687
|
+
export declare const CreatePromptContentPrompts2$inboundSchema: z.ZodType<CreatePromptContentPrompts2, z.ZodTypeDef, unknown>;
|
|
2002
1688
|
/** @internal */
|
|
2003
|
-
export type
|
|
1689
|
+
export type CreatePromptContentPrompts2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1690
|
+
type: "text";
|
|
1691
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | CreatePrompt24$Outbound;
|
|
2004
1692
|
/** @internal */
|
|
2005
|
-
export declare const
|
|
2006
|
-
export declare function
|
|
2007
|
-
export declare function
|
|
1693
|
+
export declare const CreatePromptContentPrompts2$outboundSchema: z.ZodType<CreatePromptContentPrompts2$Outbound, z.ZodTypeDef, CreatePromptContentPrompts2>;
|
|
1694
|
+
export declare function createPromptContentPrompts2ToJSON(createPromptContentPrompts2: CreatePromptContentPrompts2): string;
|
|
1695
|
+
export declare function createPromptContentPrompts2FromJSON(jsonString: string): SafeParseResult<CreatePromptContentPrompts2, SDKValidationError>;
|
|
2008
1696
|
/** @internal */
|
|
2009
1697
|
export declare const CreatePromptMessagesPromptsContent$inboundSchema: z.ZodType<CreatePromptMessagesPromptsContent, z.ZodTypeDef, unknown>;
|
|
2010
1698
|
/** @internal */
|
|
2011
|
-
export type CreatePromptMessagesPromptsContent$Outbound = string | Array<
|
|
1699
|
+
export type CreatePromptMessagesPromptsContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1700
|
+
type: "text";
|
|
1701
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | CreatePrompt24$Outbound>;
|
|
2012
1702
|
/** @internal */
|
|
2013
1703
|
export declare const CreatePromptMessagesPromptsContent$outboundSchema: z.ZodType<CreatePromptMessagesPromptsContent$Outbound, z.ZodTypeDef, CreatePromptMessagesPromptsContent>;
|
|
2014
1704
|
export declare function createPromptMessagesPromptsContentToJSON(createPromptMessagesPromptsContent: CreatePromptMessagesPromptsContent): string;
|
|
@@ -2019,51 +1709,18 @@ export declare const CreatePromptMessagesUserMessage$inboundSchema: z.ZodType<Cr
|
|
|
2019
1709
|
export type CreatePromptMessagesUserMessage$Outbound = {
|
|
2020
1710
|
role: "user";
|
|
2021
1711
|
name?: string | undefined;
|
|
2022
|
-
content: string | Array<
|
|
1712
|
+
content: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1713
|
+
type: "text";
|
|
1714
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | CreatePrompt24$Outbound>;
|
|
2023
1715
|
};
|
|
2024
1716
|
/** @internal */
|
|
2025
1717
|
export declare const CreatePromptMessagesUserMessage$outboundSchema: z.ZodType<CreatePromptMessagesUserMessage$Outbound, z.ZodTypeDef, CreatePromptMessagesUserMessage>;
|
|
2026
1718
|
export declare function createPromptMessagesUserMessageToJSON(createPromptMessagesUserMessage: CreatePromptMessagesUserMessage): string;
|
|
2027
1719
|
export declare function createPromptMessagesUserMessageFromJSON(jsonString: string): SafeParseResult<CreatePromptMessagesUserMessage, SDKValidationError>;
|
|
2028
1720
|
/** @internal */
|
|
2029
|
-
export declare const CreatePromptContentType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptContentType>;
|
|
2030
|
-
/** @internal */
|
|
2031
|
-
export declare const CreatePromptContentType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptContentType>;
|
|
2032
|
-
/** @internal */
|
|
2033
|
-
export declare const CreatePromptContentPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptContentPromptsType>;
|
|
2034
|
-
/** @internal */
|
|
2035
|
-
export declare const CreatePromptContentPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptContentPromptsType>;
|
|
2036
|
-
/** @internal */
|
|
2037
|
-
export declare const CreatePromptContentTtl$inboundSchema: z.ZodNativeEnum<typeof CreatePromptContentTtl>;
|
|
2038
|
-
/** @internal */
|
|
2039
|
-
export declare const CreatePromptContentTtl$outboundSchema: z.ZodNativeEnum<typeof CreatePromptContentTtl>;
|
|
2040
|
-
/** @internal */
|
|
2041
|
-
export declare const CreatePromptContentCacheControl$inboundSchema: z.ZodType<CreatePromptContentCacheControl, z.ZodTypeDef, unknown>;
|
|
2042
|
-
/** @internal */
|
|
2043
|
-
export type CreatePromptContentCacheControl$Outbound = {
|
|
2044
|
-
type: string;
|
|
2045
|
-
ttl: string;
|
|
2046
|
-
};
|
|
2047
|
-
/** @internal */
|
|
2048
|
-
export declare const CreatePromptContentCacheControl$outboundSchema: z.ZodType<CreatePromptContentCacheControl$Outbound, z.ZodTypeDef, CreatePromptContentCacheControl>;
|
|
2049
|
-
export declare function createPromptContentCacheControlToJSON(createPromptContentCacheControl: CreatePromptContentCacheControl): string;
|
|
2050
|
-
export declare function createPromptContentCacheControlFromJSON(jsonString: string): SafeParseResult<CreatePromptContentCacheControl, SDKValidationError>;
|
|
2051
|
-
/** @internal */
|
|
2052
|
-
export declare const CreatePromptContentPrompts2$inboundSchema: z.ZodType<CreatePromptContentPrompts2, z.ZodTypeDef, unknown>;
|
|
2053
|
-
/** @internal */
|
|
2054
|
-
export type CreatePromptContentPrompts2$Outbound = {
|
|
2055
|
-
type: string;
|
|
2056
|
-
text: string;
|
|
2057
|
-
cache_control?: CreatePromptContentCacheControl$Outbound | undefined;
|
|
2058
|
-
};
|
|
2059
|
-
/** @internal */
|
|
2060
|
-
export declare const CreatePromptContentPrompts2$outboundSchema: z.ZodType<CreatePromptContentPrompts2$Outbound, z.ZodTypeDef, CreatePromptContentPrompts2>;
|
|
2061
|
-
export declare function createPromptContentPrompts2ToJSON(createPromptContentPrompts2: CreatePromptContentPrompts2): string;
|
|
2062
|
-
export declare function createPromptContentPrompts2FromJSON(jsonString: string): SafeParseResult<CreatePromptContentPrompts2, SDKValidationError>;
|
|
2063
|
-
/** @internal */
|
|
2064
1721
|
export declare const CreatePromptMessagesContent$inboundSchema: z.ZodType<CreatePromptMessagesContent, z.ZodTypeDef, unknown>;
|
|
2065
1722
|
/** @internal */
|
|
2066
|
-
export type CreatePromptMessagesContent$Outbound = string | Array<
|
|
1723
|
+
export type CreatePromptMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2067
1724
|
/** @internal */
|
|
2068
1725
|
export declare const CreatePromptMessagesContent$outboundSchema: z.ZodType<CreatePromptMessagesContent$Outbound, z.ZodTypeDef, CreatePromptMessagesContent>;
|
|
2069
1726
|
export declare function createPromptMessagesContentToJSON(createPromptMessagesContent: CreatePromptMessagesContent): string;
|
|
@@ -2073,7 +1730,7 @@ export declare const CreatePromptMessagesSystemMessage$inboundSchema: z.ZodType<
|
|
|
2073
1730
|
/** @internal */
|
|
2074
1731
|
export type CreatePromptMessagesSystemMessage$Outbound = {
|
|
2075
1732
|
role: "system";
|
|
2076
|
-
content: string | Array<
|
|
1733
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2077
1734
|
name?: string | undefined;
|
|
2078
1735
|
};
|
|
2079
1736
|
/** @internal */
|
|
@@ -2353,31 +2010,31 @@ export declare const CreatePrompt2ImageUrl$outboundSchema: z.ZodType<CreatePromp
|
|
|
2353
2010
|
export declare function createPrompt2ImageUrlToJSON(createPrompt2ImageUrl: CreatePrompt2ImageUrl): string;
|
|
2354
2011
|
export declare function createPrompt2ImageUrlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2ImageUrl, SDKValidationError>;
|
|
2355
2012
|
/** @internal */
|
|
2356
|
-
export declare const
|
|
2013
|
+
export declare const CreatePrompt2Prompts2$inboundSchema: z.ZodType<CreatePrompt2Prompts2, z.ZodTypeDef, unknown>;
|
|
2357
2014
|
/** @internal */
|
|
2358
|
-
export type
|
|
2015
|
+
export type CreatePrompt2Prompts2$Outbound = {
|
|
2359
2016
|
type: "image_url";
|
|
2360
2017
|
image_url: CreatePrompt2ImageUrl$Outbound;
|
|
2361
2018
|
};
|
|
2362
2019
|
/** @internal */
|
|
2363
|
-
export declare const
|
|
2364
|
-
export declare function
|
|
2365
|
-
export declare function
|
|
2020
|
+
export declare const CreatePrompt2Prompts2$outboundSchema: z.ZodType<CreatePrompt2Prompts2$Outbound, z.ZodTypeDef, CreatePrompt2Prompts2>;
|
|
2021
|
+
export declare function createPrompt2Prompts2ToJSON(createPrompt2Prompts2: CreatePrompt2Prompts2): string;
|
|
2022
|
+
export declare function createPrompt2Prompts2FromJSON(jsonString: string): SafeParseResult<CreatePrompt2Prompts2, SDKValidationError>;
|
|
2366
2023
|
/** @internal */
|
|
2367
|
-
export declare const
|
|
2024
|
+
export declare const CreatePrompt21$inboundSchema: z.ZodType<CreatePrompt21, z.ZodTypeDef, unknown>;
|
|
2368
2025
|
/** @internal */
|
|
2369
|
-
export type
|
|
2026
|
+
export type CreatePrompt21$Outbound = {
|
|
2370
2027
|
type: "text";
|
|
2371
2028
|
text: string;
|
|
2372
2029
|
};
|
|
2373
2030
|
/** @internal */
|
|
2374
|
-
export declare const
|
|
2375
|
-
export declare function
|
|
2376
|
-
export declare function
|
|
2031
|
+
export declare const CreatePrompt21$outboundSchema: z.ZodType<CreatePrompt21$Outbound, z.ZodTypeDef, CreatePrompt21>;
|
|
2032
|
+
export declare function createPrompt21ToJSON(createPrompt21: CreatePrompt21): string;
|
|
2033
|
+
export declare function createPrompt21FromJSON(jsonString: string): SafeParseResult<CreatePrompt21, SDKValidationError>;
|
|
2377
2034
|
/** @internal */
|
|
2378
2035
|
export declare const CreatePromptContentPromptsResponse2$inboundSchema: z.ZodType<CreatePromptContentPromptsResponse2, z.ZodTypeDef, unknown>;
|
|
2379
2036
|
/** @internal */
|
|
2380
|
-
export type CreatePromptContentPromptsResponse2$Outbound =
|
|
2037
|
+
export type CreatePromptContentPromptsResponse2$Outbound = CreatePrompt21$Outbound | CreatePrompt2Prompts2$Outbound | CreatePrompt23$Outbound;
|
|
2381
2038
|
/** @internal */
|
|
2382
2039
|
export declare const CreatePromptContentPromptsResponse2$outboundSchema: z.ZodType<CreatePromptContentPromptsResponse2$Outbound, z.ZodTypeDef, CreatePromptContentPromptsResponse2>;
|
|
2383
2040
|
export declare function createPromptContentPromptsResponse2ToJSON(createPromptContentPromptsResponse2: CreatePromptContentPromptsResponse2): string;
|
|
@@ -2385,7 +2042,7 @@ export declare function createPromptContentPromptsResponse2FromJSON(jsonString:
|
|
|
2385
2042
|
/** @internal */
|
|
2386
2043
|
export declare const CreatePromptPromptsContent$inboundSchema: z.ZodType<CreatePromptPromptsContent, z.ZodTypeDef, unknown>;
|
|
2387
2044
|
/** @internal */
|
|
2388
|
-
export type CreatePromptPromptsContent$Outbound = string | Array<
|
|
2045
|
+
export type CreatePromptPromptsContent$Outbound = string | Array<CreatePrompt21$Outbound | CreatePrompt2Prompts2$Outbound | CreatePrompt23$Outbound>;
|
|
2389
2046
|
/** @internal */
|
|
2390
2047
|
export declare const CreatePromptPromptsContent$outboundSchema: z.ZodType<CreatePromptPromptsContent$Outbound, z.ZodTypeDef, CreatePromptPromptsContent>;
|
|
2391
2048
|
export declare function createPromptPromptsContentToJSON(createPromptPromptsContent: CreatePromptPromptsContent): string;
|
|
@@ -2423,9 +2080,9 @@ export declare const CreatePromptPromptsResponseMessages$inboundSchema: z.ZodTyp
|
|
|
2423
2080
|
/** @internal */
|
|
2424
2081
|
export type CreatePromptPromptsResponseMessages$Outbound = {
|
|
2425
2082
|
role: string;
|
|
2426
|
-
content: string | Array<
|
|
2083
|
+
content: string | Array<CreatePrompt21$Outbound | CreatePrompt2Prompts2$Outbound | CreatePrompt23$Outbound> | null;
|
|
2427
2084
|
tool_calls?: Array<CreatePromptPromptsToolCalls$Outbound> | undefined;
|
|
2428
|
-
tool_call_id?: string | undefined;
|
|
2085
|
+
tool_call_id?: string | null | undefined;
|
|
2429
2086
|
};
|
|
2430
2087
|
/** @internal */
|
|
2431
2088
|
export declare const CreatePromptPromptsResponseMessages$outboundSchema: z.ZodType<CreatePromptPromptsResponseMessages$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseMessages>;
|