@orq-ai/node 4.1.0-rc.34 → 4.1.0-rc.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -18
- package/bin/mcp-server.js +4959 -5404
- package/bin/mcp-server.js.map +126 -82
- package/examples/package-lock.json +1 -1
- package/funcs/agentsResponsesCreate.d.ts +7 -1
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +9 -2
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/budgetsCreate.d.ts +1 -1
- package/funcs/budgetsCreate.js +1 -1
- package/funcs/contactsList.js +1 -0
- package/funcs/contactsList.js.map +1 -1
- package/funcs/conversationsCreate.d.ts +17 -0
- package/funcs/conversationsCreate.d.ts.map +1 -0
- package/funcs/conversationsCreate.js +114 -0
- package/funcs/conversationsCreate.js.map +1 -0
- package/funcs/conversationsDelete.d.ts +17 -0
- package/funcs/conversationsDelete.d.ts.map +1 -0
- package/funcs/conversationsDelete.js +127 -0
- package/funcs/conversationsDelete.js.map +1 -0
- package/funcs/conversationsGenerateName.d.ts +18 -0
- package/funcs/conversationsGenerateName.d.ts.map +1 -0
- package/funcs/conversationsGenerateName.js +128 -0
- package/funcs/conversationsGenerateName.js.map +1 -0
- package/funcs/conversationsList.d.ts +17 -0
- package/funcs/conversationsList.d.ts.map +1 -0
- package/funcs/conversationsList.js +124 -0
- package/funcs/conversationsList.js.map +1 -0
- package/funcs/conversationsRetrieve.d.ts +18 -0
- package/funcs/conversationsRetrieve.d.ts.map +1 -0
- package/funcs/conversationsRetrieve.js +126 -0
- package/funcs/conversationsRetrieve.js.map +1 -0
- package/funcs/conversationsUpdate.d.ts +18 -0
- package/funcs/conversationsUpdate.d.ts.map +1 -0
- package/funcs/conversationsUpdate.js +128 -0
- package/funcs/conversationsUpdate.js.map +1 -0
- package/funcs/evalsInvoke.d.ts +15 -0
- package/funcs/evalsInvoke.d.ts.map +1 -0
- package/funcs/evalsInvoke.js +121 -0
- package/funcs/evalsInvoke.js.map +1 -0
- package/funcs/memoryStoresListDocuments.js +2 -0
- package/funcs/memoryStoresListDocuments.js.map +1 -1
- package/funcs/memoryStoresListMemories.js +1 -0
- package/funcs/memoryStoresListMemories.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +15 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/budgetsCreate.js +1 -1
- package/mcp-server/tools/budgetsCreate.js.map +1 -1
- package/mcp-server/tools/conversationsCreate.d.ts +8 -0
- package/mcp-server/tools/conversationsCreate.d.ts.map +1 -0
- package/mcp-server/tools/conversationsCreate.js +64 -0
- package/mcp-server/tools/conversationsCreate.js.map +1 -0
- package/mcp-server/tools/conversationsDelete.d.ts +8 -0
- package/mcp-server/tools/conversationsDelete.d.ts.map +1 -0
- package/mcp-server/tools/conversationsDelete.js +63 -0
- package/mcp-server/tools/conversationsDelete.js.map +1 -0
- package/mcp-server/tools/conversationsGenerateName.d.ts +10 -0
- package/mcp-server/tools/conversationsGenerateName.d.ts.map +1 -0
- package/mcp-server/tools/conversationsGenerateName.js +66 -0
- package/mcp-server/tools/conversationsGenerateName.js.map +1 -0
- package/mcp-server/tools/conversationsList.d.ts +10 -0
- package/mcp-server/tools/conversationsList.d.ts.map +1 -0
- package/mcp-server/tools/conversationsList.js +66 -0
- package/mcp-server/tools/conversationsList.js.map +1 -0
- package/mcp-server/tools/conversationsRetrieve.d.ts +8 -0
- package/mcp-server/tools/conversationsRetrieve.d.ts.map +1 -0
- package/mcp-server/tools/conversationsRetrieve.js +64 -0
- package/mcp-server/tools/conversationsRetrieve.js.map +1 -0
- package/mcp-server/tools/conversationsUpdate.d.ts +10 -0
- package/mcp-server/tools/conversationsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/conversationsUpdate.js +66 -0
- package/mcp-server/tools/conversationsUpdate.js.map +1 -0
- package/mcp-server/tools/evalsInvoke.d.ts +8 -0
- package/mcp-server/tools/evalsInvoke.d.ts.map +1 -0
- package/mcp-server/tools/evalsInvoke.js +62 -0
- package/mcp-server/tools/evalsInvoke.js.map +1 -0
- package/models/components/agentexecutionstartedstreamingevent.d.ts +8 -8
- package/models/components/agentexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentexecutionstartedstreamingevent.js +11 -12
- package/models/components/agentexecutionstartedstreamingevent.js.map +1 -1
- package/models/components/agentinactivestreamingevent.d.ts +21 -21
- package/models/components/agentinactivestreamingevent.d.ts.map +1 -1
- package/models/components/agentinactivestreamingevent.js +27 -28
- package/models/components/agentinactivestreamingevent.js.map +1 -1
- package/models/components/agentresponsemessage.d.ts +56 -0
- package/models/components/agentresponsemessage.d.ts.map +1 -0
- package/models/components/agentresponsemessage.js +116 -0
- package/models/components/agentresponsemessage.js.map +1 -0
- package/models/components/agentstartedstreamingevent.d.ts +6 -6
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +11 -12
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/agentthoughtstreamingevent.d.ts +26 -24
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +34 -32
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/conversationresponse.d.ts +39 -5
- package/models/components/conversationresponse.d.ts.map +1 -1
- package/models/components/conversationresponse.js +52 -8
- package/models/components/conversationresponse.js.map +1 -1
- package/models/components/createagentresponse.d.ts +124 -0
- package/models/components/createagentresponse.d.ts.map +1 -0
- package/models/components/createagentresponse.js +191 -0
- package/models/components/createagentresponse.js.map +1 -0
- package/models/components/imagecontentpartschema.d.ts +18 -18
- package/models/components/imagecontentpartschema.d.ts.map +1 -1
- package/models/components/imagecontentpartschema.js +23 -21
- package/models/components/imagecontentpartschema.js.map +1 -1
- package/models/components/index.d.ts +18 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +18 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +161 -1040
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +161 -1015
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/components/responsedoneevent.d.ts +24 -24
- package/models/components/responsedoneevent.d.ts.map +1 -1
- package/models/components/responsedoneevent.js +31 -32
- package/models/components/responsedoneevent.js.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.js +2 -0
- package/models/components/toolexecutionfailedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.js +2 -0
- package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.js +2 -0
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
- package/models/errors/generateconversationname.d.ts +55 -0
- package/models/errors/generateconversationname.d.ts.map +1 -0
- package/models/errors/generateconversationname.js +106 -0
- package/models/errors/generateconversationname.js.map +1 -0
- package/models/errors/index.d.ts +5 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +5 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +3 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +4 -4
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +37 -147
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +64 -205
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createbudget.d.ts +69 -13
- package/models/operations/createbudget.d.ts.map +1 -1
- package/models/operations/createbudget.js +61 -12
- package/models/operations/createbudget.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.d.ts +62 -8
- package/models/operations/createconversation.d.ts.map +1 -1
- package/models/operations/createconversation.js +94 -10
- package/models/operations/createconversation.js.map +1 -1
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +154 -1034
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +149 -959
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/creatememory.d.ts +10 -5
- package/models/operations/creatememory.d.ts.map +1 -1
- package/models/operations/creatememory.js +6 -2
- package/models/operations/creatememory.js.map +1 -1
- package/models/operations/creatememorydocument.d.ts +4 -4
- package/models/operations/creatememorydocument.d.ts.map +1 -1
- package/models/operations/creatememorydocument.js +2 -2
- package/models/operations/creatememorydocument.js.map +1 -1
- package/models/operations/createprompt.d.ts +136 -479
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +158 -473
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentcreatemetric.d.ts +154 -1034
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +140 -975
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +222 -1102
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +263 -1059
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +27 -26
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +29 -28
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +14 -13
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +14 -13
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +187 -1066
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +163 -989
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.d.ts +8 -8
- package/models/operations/fileupload.d.ts.map +1 -1
- package/models/operations/fileupload.js +13 -14
- package/models/operations/fileupload.js.map +1 -1
- package/models/operations/generateconversationname.d.ts +136 -0
- package/models/operations/generateconversationname.d.ts.map +1 -0
- package/models/operations/generateconversationname.js +179 -0
- package/models/operations/generateconversationname.js.map +1 -0
- package/models/operations/getallmemories.d.ts +10 -0
- package/models/operations/getallmemories.d.ts.map +1 -1
- package/models/operations/getallmemories.js +6 -0
- package/models/operations/getallmemories.js.map +1 -1
- package/models/operations/getallmemorydocuments.d.ts +10 -0
- package/models/operations/getallmemorydocuments.d.ts.map +1 -1
- package/models/operations/getallmemorydocuments.js +8 -0
- package/models/operations/getallmemorydocuments.js.map +1 -1
- package/models/operations/getallprompts.d.ts +14 -13
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +14 -13
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.d.ts +5 -0
- package/models/operations/getbudget.d.ts.map +1 -1
- package/models/operations/getbudget.js +6 -2
- package/models/operations/getbudget.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +14 -13
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +14 -13
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +14 -13
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +14 -13
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/index.d.ts +7 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +7 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +6 -6
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +10 -9
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +3 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +2 -2
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.d.ts +5 -0
- package/models/operations/listbudgets.d.ts.map +1 -1
- package/models/operations/listbudgets.js +6 -2
- package/models/operations/listbudgets.js.map +1 -1
- package/models/operations/listcontacts.d.ts +5 -0
- package/models/operations/listcontacts.d.ts.map +1 -1
- package/models/operations/listcontacts.js +4 -2
- package/models/operations/listcontacts.js.map +1 -1
- package/models/operations/listconversations.d.ts +60 -0
- package/models/operations/listconversations.d.ts.map +1 -0
- package/models/operations/listconversations.js +109 -0
- package/models/operations/listconversations.js.map +1 -0
- package/models/operations/listdatasetdatapoints.d.ts +76 -516
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +75 -475
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +14 -13
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +14 -13
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +3 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -2
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.d.ts +39 -5
- package/models/operations/retrieveconversation.d.ts.map +1 -1
- package/models/operations/retrieveconversation.js +53 -8
- package/models/operations/retrieveconversation.js.map +1 -1
- package/models/operations/retrievedatapoint.d.ts +76 -516
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +75 -473
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievememory.d.ts +5 -0
- package/models/operations/retrievememory.d.ts.map +1 -1
- package/models/operations/retrievememory.js +4 -0
- package/models/operations/retrievememory.js.map +1 -1
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +4 -4
- package/models/operations/streamrunagent.js +4 -4
- package/models/operations/updateagent.d.ts +3 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +4 -4
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.d.ts +5 -0
- package/models/operations/updatebudget.d.ts.map +1 -1
- package/models/operations/updatebudget.js +6 -2
- package/models/operations/updatebudget.js.map +1 -1
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.d.ts +63 -6
- package/models/operations/updateconversation.d.ts.map +1 -1
- package/models/operations/updateconversation.js +93 -9
- package/models/operations/updateconversation.js.map +1 -1
- package/models/operations/updatedatapoint.d.ts +154 -1034
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +147 -955
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememory.d.ts +10 -5
- package/models/operations/updatememory.d.ts.map +1 -1
- package/models/operations/updatememory.js +6 -2
- package/models/operations/updatememory.js.map +1 -1
- package/models/operations/updatememorydocument.d.ts +4 -4
- package/models/operations/updatememorydocument.d.ts.map +1 -1
- package/models/operations/updatememorydocument.js +2 -2
- package/models/operations/updatememorydocument.js.map +1 -1
- package/models/operations/updatememorystore.d.ts +24 -59
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +27 -55
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +149 -486
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +156 -466
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/budgets.d.ts +1 -1
- package/sdk/budgets.js +1 -1
- package/sdk/conversations.d.ts +47 -0
- package/sdk/conversations.d.ts.map +1 -0
- package/sdk/conversations.js +72 -0
- package/sdk/conversations.js.map +1 -0
- package/sdk/evals.d.ts +4 -0
- package/sdk/evals.d.ts.map +1 -1
- package/sdk/evals.js +7 -0
- package/sdk/evals.js.map +1 -1
- package/sdk/responses.d.ts +5 -1
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +3 -1
- package/sdk/responses.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/agentsResponsesCreate.ts +14 -10
- package/src/funcs/budgetsCreate.ts +1 -1
- package/src/funcs/contactsList.ts +1 -0
- package/src/funcs/conversationsCreate.ts +161 -0
- package/src/funcs/conversationsDelete.ts +180 -0
- package/src/funcs/conversationsGenerateName.ts +194 -0
- package/src/funcs/conversationsList.ts +181 -0
- package/src/funcs/conversationsRetrieve.ts +180 -0
- package/src/funcs/conversationsUpdate.ts +184 -0
- package/src/funcs/evalsInvoke.ts +177 -0
- package/src/funcs/memoryStoresListDocuments.ts +2 -0
- package/src/funcs/memoryStoresListMemories.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +15 -1
- package/src/mcp-server/tools/budgetsCreate.ts +1 -1
- package/src/mcp-server/tools/conversationsCreate.ts +37 -0
- package/src/mcp-server/tools/conversationsDelete.ts +35 -0
- package/src/mcp-server/tools/conversationsGenerateName.ts +40 -0
- package/src/mcp-server/tools/conversationsList.ts +41 -0
- package/src/mcp-server/tools/conversationsRetrieve.ts +37 -0
- package/src/mcp-server/tools/conversationsUpdate.ts +40 -0
- package/src/mcp-server/tools/evalsInvoke.ts +35 -0
- package/src/models/components/agentexecutionstartedstreamingevent.ts +53 -34
- package/src/models/components/agentinactivestreamingevent.ts +85 -57
- package/src/models/components/agentresponsemessage.ts +185 -0
- package/src/models/components/agentstartedstreamingevent.ts +30 -21
- package/src/models/components/agentthoughtstreamingevent.ts +167 -118
- package/src/models/components/conversationresponse.ts +100 -12
- package/src/models/components/createagentresponse.ts +340 -0
- package/src/models/components/imagecontentpartschema.ts +52 -37
- package/src/models/components/index.ts +18 -0
- package/src/models/components/invokedeploymentrequest.ts +515 -2564
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/components/responsedoneevent.ts +93 -68
- package/src/models/components/toolexecutionfailedstreamingevent.ts +4 -0
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +4 -0
- package/src/models/components/toolexecutionstartedstreamingevent.ts +4 -0
- package/src/models/errors/generateconversationname.ts +132 -0
- package/src/models/errors/index.ts +5 -0
- package/src/models/operations/createagentrequest.ts +7 -4
- package/src/models/operations/createagentresponserequest.ts +126 -435
- package/src/models/operations/createbudget.ts +143 -28
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +192 -17
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +601 -2786
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/creatememory.ts +14 -5
- package/src/models/operations/creatememorydocument.ts +4 -4
- package/src/models/operations/createprompt.ts +397 -1201
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentcreatemetric.ts +601 -3040
- package/src/models/operations/deploymentgetconfig.ts +824 -2901
- package/src/models/operations/deploymentinvoke.ts +47 -46
- package/src/models/operations/deployments.ts +16 -15
- package/src/models/operations/deploymentstream.ts +727 -2977
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +30 -27
- package/src/models/operations/generateconversationname.ts +341 -0
- package/src/models/operations/getallmemories.ts +16 -0
- package/src/models/operations/getallmemorydocuments.ts +22 -0
- package/src/models/operations/getallprompts.ts +16 -15
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +11 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +16 -15
- package/src/models/operations/getpromptversion.ts +16 -15
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/invokeagent.ts +19 -26
- package/src/models/operations/listagents.ts +5 -2
- package/src/models/operations/listbudgets.ts +11 -2
- package/src/models/operations/listcontacts.ts +9 -2
- package/src/models/operations/listconversations.ts +161 -0
- package/src/models/operations/listdatasetdatapoints.ts +288 -1355
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +16 -15
- package/src/models/operations/retrieveagentrequest.ts +5 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +107 -12
- package/src/models/operations/retrievedatapoint.ts +263 -1288
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievememory.ts +9 -0
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +4 -4
- package/src/models/operations/streamrunagent.ts +4 -4
- package/src/models/operations/updateagent.ts +7 -4
- package/src/models/operations/updatebudget.ts +11 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +192 -14
- package/src/models/operations/updatedatapoint.ts +556 -2717
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatememory.ts +14 -5
- package/src/models/operations/updatememorydocument.ts +4 -4
- package/src/models/operations/updatememorystore.ts +64 -154
- package/src/models/operations/updateprompt.ts +385 -1144
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/budgets.ts +1 -1
- package/src/sdk/conversations.ts +125 -0
- package/src/sdk/evals.ts +15 -0
- package/src/sdk/responses.ts +8 -3
- package/src/sdk/sdk.ts +6 -0
|
@@ -231,29 +231,30 @@ export type UpdatePromptModelParameters = {
|
|
|
231
231
|
thinkingLevel?: UpdatePromptThinkingLevel | undefined;
|
|
232
232
|
};
|
|
233
233
|
export declare const Provider: {
|
|
234
|
-
readonly Cohere: "cohere";
|
|
235
234
|
readonly Openai: "openai";
|
|
236
|
-
readonly
|
|
237
|
-
readonly
|
|
238
|
-
readonly Replicate: "replicate";
|
|
239
|
-
readonly Google: "google";
|
|
240
|
-
readonly GoogleAi: "google-ai";
|
|
235
|
+
readonly Groq: "groq";
|
|
236
|
+
readonly Cohere: "cohere";
|
|
241
237
|
readonly Azure: "azure";
|
|
242
238
|
readonly Aws: "aws";
|
|
243
|
-
readonly
|
|
239
|
+
readonly Google: "google";
|
|
240
|
+
readonly GoogleAi: "google-ai";
|
|
241
|
+
readonly Huggingface: "huggingface";
|
|
242
|
+
readonly Togetherai: "togetherai";
|
|
244
243
|
readonly Perplexity: "perplexity";
|
|
245
|
-
readonly
|
|
246
|
-
readonly Fal: "fal";
|
|
244
|
+
readonly Anthropic: "anthropic";
|
|
247
245
|
readonly Leonardoai: "leonardoai";
|
|
246
|
+
readonly Fal: "fal";
|
|
248
247
|
readonly Nvidia: "nvidia";
|
|
249
248
|
readonly Jina: "jina";
|
|
250
|
-
readonly Togetherai: "togetherai";
|
|
251
249
|
readonly Elevenlabs: "elevenlabs";
|
|
252
250
|
readonly Litellm: "litellm";
|
|
253
|
-
readonly Openailike: "openailike";
|
|
254
251
|
readonly Cerebras: "cerebras";
|
|
252
|
+
readonly Openailike: "openailike";
|
|
255
253
|
readonly Bytedance: "bytedance";
|
|
256
254
|
readonly Mistral: "mistral";
|
|
255
|
+
readonly Deepseek: "deepseek";
|
|
256
|
+
readonly Contextualai: "contextualai";
|
|
257
|
+
readonly Moonshotai: "moonshotai";
|
|
257
258
|
};
|
|
258
259
|
export type Provider = ClosedEnum<typeof Provider>;
|
|
259
260
|
/**
|
|
@@ -291,14 +292,14 @@ export type UpdatePrompt2File = {
|
|
|
291
292
|
*/
|
|
292
293
|
filename?: string | undefined;
|
|
293
294
|
};
|
|
294
|
-
export type
|
|
295
|
+
export type UpdatePrompt23 = {
|
|
295
296
|
/**
|
|
296
297
|
* The type of the content part. Always `file`.
|
|
297
298
|
*/
|
|
298
299
|
type: "file";
|
|
299
300
|
file: UpdatePrompt2File;
|
|
300
301
|
};
|
|
301
|
-
export type
|
|
302
|
+
export type UpdatePrompt2ImageUrl = {
|
|
302
303
|
/**
|
|
303
304
|
* Either a URL of the image or the base64 encoded data URI.
|
|
304
305
|
*/
|
|
@@ -313,7 +314,7 @@ export type TwoImageUrl = {
|
|
|
313
314
|
*/
|
|
314
315
|
export type UpdatePrompt22 = {
|
|
315
316
|
type: "image_url";
|
|
316
|
-
imageUrl:
|
|
317
|
+
imageUrl: UpdatePrompt2ImageUrl;
|
|
317
318
|
};
|
|
318
319
|
/**
|
|
319
320
|
* Text content part of a prompt message
|
|
@@ -322,11 +323,11 @@ export type UpdatePrompt21 = {
|
|
|
322
323
|
type: "text";
|
|
323
324
|
text: string;
|
|
324
325
|
};
|
|
325
|
-
export type UpdatePromptContent2 = UpdatePrompt21 | UpdatePrompt22 |
|
|
326
|
+
export type UpdatePromptContent2 = UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23;
|
|
326
327
|
/**
|
|
327
328
|
* 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.
|
|
328
329
|
*/
|
|
329
|
-
export type UpdatePromptContent = string | Array<UpdatePrompt21 | UpdatePrompt22 |
|
|
330
|
+
export type UpdatePromptContent = string | Array<UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23>;
|
|
330
331
|
export declare const UpdatePromptType: {
|
|
331
332
|
readonly Function: "function";
|
|
332
333
|
};
|
|
@@ -352,9 +353,9 @@ export type UpdatePromptMessages = {
|
|
|
352
353
|
/**
|
|
353
354
|
* 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.
|
|
354
355
|
*/
|
|
355
|
-
content: string | Array<UpdatePrompt21 | UpdatePrompt22 |
|
|
356
|
+
content: string | Array<UpdatePrompt21 | UpdatePrompt22 | UpdatePrompt23> | null;
|
|
356
357
|
toolCalls?: Array<UpdatePromptToolCalls> | undefined;
|
|
357
|
-
toolCallId?: string | undefined;
|
|
358
|
+
toolCallId?: string | null | undefined;
|
|
358
359
|
};
|
|
359
360
|
/**
|
|
360
361
|
* The modality of the model
|
|
@@ -387,6 +388,10 @@ export type PromptConfig = {
|
|
|
387
388
|
*/
|
|
388
389
|
modelParameters?: UpdatePromptModelParameters | undefined;
|
|
389
390
|
provider?: Provider | undefined;
|
|
391
|
+
/**
|
|
392
|
+
* The ID of the integration to use
|
|
393
|
+
*/
|
|
394
|
+
integrationId?: string | null | undefined;
|
|
390
395
|
version?: string | undefined;
|
|
391
396
|
messages: Array<UpdatePromptMessages>;
|
|
392
397
|
modelDbId?: string | null | undefined;
|
|
@@ -445,72 +450,11 @@ export type UpdatePromptMetadata = {
|
|
|
445
450
|
*/
|
|
446
451
|
language?: UpdatePromptLanguage | null | undefined;
|
|
447
452
|
};
|
|
448
|
-
export
|
|
449
|
-
readonly Text: "text";
|
|
450
|
-
};
|
|
451
|
-
export type UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type>;
|
|
452
|
-
/**
|
|
453
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
454
|
-
*/
|
|
455
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType: {
|
|
456
|
-
readonly Ephemeral: "ephemeral";
|
|
457
|
-
};
|
|
458
|
-
/**
|
|
459
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
460
|
-
*/
|
|
461
|
-
export type UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
462
|
-
/**
|
|
463
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
464
|
-
*
|
|
465
|
-
* @remarks
|
|
466
|
-
*
|
|
467
|
-
* - `5m`: 5 minutes
|
|
468
|
-
* - `1h`: 1 hour
|
|
469
|
-
*
|
|
470
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
471
|
-
*/
|
|
472
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyTtl: {
|
|
473
|
-
readonly Fivem: "5m";
|
|
474
|
-
readonly Oneh: "1h";
|
|
475
|
-
};
|
|
476
|
-
/**
|
|
477
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
478
|
-
*
|
|
479
|
-
* @remarks
|
|
480
|
-
*
|
|
481
|
-
* - `5m`: 5 minutes
|
|
482
|
-
* - `1h`: 1 hour
|
|
483
|
-
*
|
|
484
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
485
|
-
*/
|
|
486
|
-
export type UpdatePrompt2PromptsRequestRequestBodyTtl = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyTtl>;
|
|
487
|
-
export type UpdatePrompt2PromptsRequestRequestBodyCacheControl = {
|
|
488
|
-
/**
|
|
489
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
490
|
-
*/
|
|
491
|
-
type: UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType;
|
|
492
|
-
/**
|
|
493
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
494
|
-
*
|
|
495
|
-
* @remarks
|
|
496
|
-
*
|
|
497
|
-
* - `5m`: 5 minutes
|
|
498
|
-
* - `1h`: 1 hour
|
|
499
|
-
*
|
|
500
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
501
|
-
*/
|
|
502
|
-
ttl?: UpdatePrompt2PromptsRequestRequestBodyTtl | undefined;
|
|
503
|
-
};
|
|
504
|
-
export type UpdatePrompt2PromptsRequestRequestBody1 = {
|
|
505
|
-
type: UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type;
|
|
506
|
-
text: string;
|
|
507
|
-
cacheControl?: UpdatePrompt2PromptsRequestRequestBodyCacheControl | undefined;
|
|
508
|
-
};
|
|
509
|
-
export type UpdatePromptContentPromptsRequestRequestBodyPrompt2 = UpdatePrompt2PromptsRequestRequestBody1;
|
|
453
|
+
export type UpdatePromptContentPromptsRequestRequestBody2 = components.TextContentPartSchema;
|
|
510
454
|
/**
|
|
511
455
|
* The contents of the tool message.
|
|
512
456
|
*/
|
|
513
|
-
export type UpdatePromptMessagesPromptsRequestRequestBodyContent = string | Array<
|
|
457
|
+
export type UpdatePromptMessagesPromptsRequestRequestBodyContent = string | Array<components.TextContentPartSchema>;
|
|
514
458
|
/**
|
|
515
459
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
516
460
|
*/
|
|
@@ -571,75 +515,22 @@ export type UpdatePromptMessagesToolMessage = {
|
|
|
571
515
|
/**
|
|
572
516
|
* The contents of the tool message.
|
|
573
517
|
*/
|
|
574
|
-
content: string | Array<
|
|
518
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
575
519
|
/**
|
|
576
520
|
* Tool call that this message is responding to.
|
|
577
521
|
*/
|
|
578
522
|
toolCallId: string;
|
|
579
523
|
cacheControl?: UpdatePromptMessagesCacheControl | undefined;
|
|
580
524
|
};
|
|
581
|
-
|
|
582
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
583
|
-
*/
|
|
584
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType: {
|
|
585
|
-
readonly Ephemeral: "ephemeral";
|
|
586
|
-
};
|
|
587
|
-
/**
|
|
588
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
589
|
-
*/
|
|
590
|
-
export type UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType>;
|
|
591
|
-
/**
|
|
592
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
593
|
-
*
|
|
594
|
-
* @remarks
|
|
595
|
-
*
|
|
596
|
-
* - `5m`: 5 minutes
|
|
597
|
-
* - `1h`: 1 hour
|
|
598
|
-
*
|
|
599
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
600
|
-
*/
|
|
601
|
-
export declare const UpdatePrompt2PromptsRequestTtl: {
|
|
602
|
-
readonly Fivem: "5m";
|
|
603
|
-
readonly Oneh: "1h";
|
|
604
|
-
};
|
|
605
|
-
/**
|
|
606
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
607
|
-
*
|
|
608
|
-
* @remarks
|
|
609
|
-
*
|
|
610
|
-
* - `5m`: 5 minutes
|
|
611
|
-
* - `1h`: 1 hour
|
|
612
|
-
*
|
|
613
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
614
|
-
*/
|
|
615
|
-
export type UpdatePrompt2PromptsRequestTtl = ClosedEnum<typeof UpdatePrompt2PromptsRequestTtl>;
|
|
616
|
-
export type UpdatePrompt2PromptsRequestCacheControl = {
|
|
617
|
-
/**
|
|
618
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
619
|
-
*/
|
|
620
|
-
type: UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType;
|
|
621
|
-
/**
|
|
622
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
623
|
-
*
|
|
624
|
-
* @remarks
|
|
625
|
-
*
|
|
626
|
-
* - `5m`: 5 minutes
|
|
627
|
-
* - `1h`: 1 hour
|
|
628
|
-
*
|
|
629
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
630
|
-
*/
|
|
631
|
-
ttl?: UpdatePrompt2PromptsRequestTtl | undefined;
|
|
632
|
-
};
|
|
633
|
-
export type UpdatePrompt2PromptsRequest1 = {
|
|
525
|
+
export type UpdatePromptContentPromptsRequest2 = (components.TextContentPartSchema & {
|
|
634
526
|
type: "text";
|
|
635
|
-
|
|
636
|
-
cacheControl?: UpdatePrompt2PromptsRequestCacheControl | undefined;
|
|
637
|
-
};
|
|
638
|
-
export type UpdatePromptContentPromptsRequestRequestBody2 = UpdatePrompt2PromptsRequest1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
527
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
639
528
|
/**
|
|
640
529
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
641
530
|
*/
|
|
642
|
-
export type UpdatePromptMessagesPromptsRequestContent = string | Array<
|
|
531
|
+
export type UpdatePromptMessagesPromptsRequestContent = string | Array<(components.TextContentPartSchema & {
|
|
532
|
+
type: "text";
|
|
533
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
643
534
|
/**
|
|
644
535
|
* Data about a previous audio response from the model.
|
|
645
536
|
*/
|
|
@@ -688,7 +579,9 @@ export type UpdatePromptMessagesAssistantMessage = {
|
|
|
688
579
|
/**
|
|
689
580
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
690
581
|
*/
|
|
691
|
-
content?: string | Array<
|
|
582
|
+
content?: string | Array<(components.TextContentPartSchema & {
|
|
583
|
+
type: "text";
|
|
584
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
692
585
|
/**
|
|
693
586
|
* The refusal message by the assistant.
|
|
694
587
|
*/
|
|
@@ -713,13 +606,13 @@ export type UpdatePromptMessagesAssistantMessage = {
|
|
|
713
606
|
/**
|
|
714
607
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
715
608
|
*/
|
|
716
|
-
export declare const
|
|
609
|
+
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptType: {
|
|
717
610
|
readonly Ephemeral: "ephemeral";
|
|
718
611
|
};
|
|
719
612
|
/**
|
|
720
613
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
721
614
|
*/
|
|
722
|
-
export type
|
|
615
|
+
export type UpdatePrompt2PromptsRequestRequestBodyPromptType = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
723
616
|
/**
|
|
724
617
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
725
618
|
*
|
|
@@ -730,7 +623,7 @@ export type UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type = ClosedEn
|
|
|
730
623
|
*
|
|
731
624
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
732
625
|
*/
|
|
733
|
-
export declare const
|
|
626
|
+
export declare const UpdatePrompt2Ttl: {
|
|
734
627
|
readonly Fivem: "5m";
|
|
735
628
|
readonly Oneh: "1h";
|
|
736
629
|
};
|
|
@@ -744,12 +637,12 @@ export declare const UpdatePrompt2PromptsTtl: {
|
|
|
744
637
|
*
|
|
745
638
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
746
639
|
*/
|
|
747
|
-
export type
|
|
748
|
-
export type
|
|
640
|
+
export type UpdatePrompt2Ttl = ClosedEnum<typeof UpdatePrompt2Ttl>;
|
|
641
|
+
export type UpdatePrompt2CacheControl = {
|
|
749
642
|
/**
|
|
750
643
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
751
644
|
*/
|
|
752
|
-
type:
|
|
645
|
+
type: UpdatePrompt2PromptsRequestRequestBodyPromptType;
|
|
753
646
|
/**
|
|
754
647
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
755
648
|
*
|
|
@@ -760,81 +653,28 @@ export type UpdatePrompt2PromptsCacheControl = {
|
|
|
760
653
|
*
|
|
761
654
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
762
655
|
*/
|
|
763
|
-
ttl?:
|
|
656
|
+
ttl?: UpdatePrompt2Ttl | undefined;
|
|
764
657
|
};
|
|
765
658
|
export type UpdatePrompt24 = {
|
|
766
659
|
/**
|
|
767
660
|
* The type of the content part. Always `file`.
|
|
768
661
|
*/
|
|
769
662
|
type: "file";
|
|
770
|
-
cacheControl?:
|
|
663
|
+
cacheControl?: UpdatePrompt2CacheControl | undefined;
|
|
771
664
|
/**
|
|
772
665
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
773
666
|
*/
|
|
774
667
|
file: components.FileContentPartSchema;
|
|
775
668
|
};
|
|
776
|
-
|
|
777
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
778
|
-
*/
|
|
779
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptType: {
|
|
780
|
-
readonly Ephemeral: "ephemeral";
|
|
781
|
-
};
|
|
782
|
-
/**
|
|
783
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
784
|
-
*/
|
|
785
|
-
export type UpdatePrompt2PromptsRequestRequestBodyPromptType = ClosedEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
786
|
-
/**
|
|
787
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
788
|
-
*
|
|
789
|
-
* @remarks
|
|
790
|
-
*
|
|
791
|
-
* - `5m`: 5 minutes
|
|
792
|
-
* - `1h`: 1 hour
|
|
793
|
-
*
|
|
794
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
795
|
-
*/
|
|
796
|
-
export declare const UpdatePrompt2Ttl: {
|
|
797
|
-
readonly Fivem: "5m";
|
|
798
|
-
readonly Oneh: "1h";
|
|
799
|
-
};
|
|
800
|
-
/**
|
|
801
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
802
|
-
*
|
|
803
|
-
* @remarks
|
|
804
|
-
*
|
|
805
|
-
* - `5m`: 5 minutes
|
|
806
|
-
* - `1h`: 1 hour
|
|
807
|
-
*
|
|
808
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
809
|
-
*/
|
|
810
|
-
export type UpdatePrompt2Ttl = ClosedEnum<typeof UpdatePrompt2Ttl>;
|
|
811
|
-
export type UpdatePrompt2CacheControl = {
|
|
812
|
-
/**
|
|
813
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
814
|
-
*/
|
|
815
|
-
type: UpdatePrompt2PromptsRequestRequestBodyPromptType;
|
|
816
|
-
/**
|
|
817
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
818
|
-
*
|
|
819
|
-
* @remarks
|
|
820
|
-
*
|
|
821
|
-
* - `5m`: 5 minutes
|
|
822
|
-
* - `1h`: 1 hour
|
|
823
|
-
*
|
|
824
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
825
|
-
*/
|
|
826
|
-
ttl?: UpdatePrompt2Ttl | undefined;
|
|
827
|
-
};
|
|
828
|
-
export type UpdatePrompt2Prompts1 = {
|
|
669
|
+
export type UpdatePromptContentPrompts2 = (components.TextContentPartSchema & {
|
|
829
670
|
type: "text";
|
|
830
|
-
|
|
831
|
-
cacheControl?: UpdatePrompt2CacheControl | undefined;
|
|
832
|
-
};
|
|
833
|
-
export type UpdatePromptContentPromptsRequest2 = UpdatePrompt2Prompts1 | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24;
|
|
671
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24;
|
|
834
672
|
/**
|
|
835
673
|
* The contents of the user message.
|
|
836
674
|
*/
|
|
837
|
-
export type UpdatePromptMessagesPromptsContent = string | Array<
|
|
675
|
+
export type UpdatePromptMessagesPromptsContent = string | Array<(components.TextContentPartSchema & {
|
|
676
|
+
type: "text";
|
|
677
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24>;
|
|
838
678
|
export type UpdatePromptMessagesUserMessage = {
|
|
839
679
|
/**
|
|
840
680
|
* The role of the messages author, in this case `user`.
|
|
@@ -847,73 +687,14 @@ export type UpdatePromptMessagesUserMessage = {
|
|
|
847
687
|
/**
|
|
848
688
|
* The contents of the user message.
|
|
849
689
|
*/
|
|
850
|
-
content: string | Array<
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
readonly Text: "text";
|
|
854
|
-
};
|
|
855
|
-
export type UpdatePromptContentType = ClosedEnum<typeof UpdatePromptContentType>;
|
|
856
|
-
/**
|
|
857
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
858
|
-
*/
|
|
859
|
-
export declare const UpdatePromptContentPromptsType: {
|
|
860
|
-
readonly Ephemeral: "ephemeral";
|
|
861
|
-
};
|
|
862
|
-
/**
|
|
863
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
864
|
-
*/
|
|
865
|
-
export type UpdatePromptContentPromptsType = ClosedEnum<typeof UpdatePromptContentPromptsType>;
|
|
866
|
-
/**
|
|
867
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
868
|
-
*
|
|
869
|
-
* @remarks
|
|
870
|
-
*
|
|
871
|
-
* - `5m`: 5 minutes
|
|
872
|
-
* - `1h`: 1 hour
|
|
873
|
-
*
|
|
874
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
875
|
-
*/
|
|
876
|
-
export declare const UpdatePromptContentTtl: {
|
|
877
|
-
readonly Fivem: "5m";
|
|
878
|
-
readonly Oneh: "1h";
|
|
879
|
-
};
|
|
880
|
-
/**
|
|
881
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
882
|
-
*
|
|
883
|
-
* @remarks
|
|
884
|
-
*
|
|
885
|
-
* - `5m`: 5 minutes
|
|
886
|
-
* - `1h`: 1 hour
|
|
887
|
-
*
|
|
888
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
889
|
-
*/
|
|
890
|
-
export type UpdatePromptContentTtl = ClosedEnum<typeof UpdatePromptContentTtl>;
|
|
891
|
-
export type UpdatePromptContentCacheControl = {
|
|
892
|
-
/**
|
|
893
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
894
|
-
*/
|
|
895
|
-
type: UpdatePromptContentPromptsType;
|
|
896
|
-
/**
|
|
897
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
898
|
-
*
|
|
899
|
-
* @remarks
|
|
900
|
-
*
|
|
901
|
-
* - `5m`: 5 minutes
|
|
902
|
-
* - `1h`: 1 hour
|
|
903
|
-
*
|
|
904
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
905
|
-
*/
|
|
906
|
-
ttl?: UpdatePromptContentTtl | undefined;
|
|
907
|
-
};
|
|
908
|
-
export type UpdatePromptContentPrompts2 = {
|
|
909
|
-
type: UpdatePromptContentType;
|
|
910
|
-
text: string;
|
|
911
|
-
cacheControl?: UpdatePromptContentCacheControl | undefined;
|
|
690
|
+
content: string | Array<(components.TextContentPartSchema & {
|
|
691
|
+
type: "text";
|
|
692
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdatePrompt24>;
|
|
912
693
|
};
|
|
913
694
|
/**
|
|
914
695
|
* The contents of the system message.
|
|
915
696
|
*/
|
|
916
|
-
export type UpdatePromptMessagesContent = string | Array<
|
|
697
|
+
export type UpdatePromptMessagesContent = string | Array<components.TextContentPartSchema>;
|
|
917
698
|
/**
|
|
918
699
|
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
919
700
|
*/
|
|
@@ -925,7 +706,7 @@ export type UpdatePromptMessagesSystemMessage = {
|
|
|
925
706
|
/**
|
|
926
707
|
* The contents of the system message.
|
|
927
708
|
*/
|
|
928
|
-
content: string | Array<
|
|
709
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
929
710
|
/**
|
|
930
711
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
931
712
|
*/
|
|
@@ -1303,29 +1084,30 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
1303
1084
|
thinkingLevel?: UpdatePromptPromptsThinkingLevel | undefined;
|
|
1304
1085
|
};
|
|
1305
1086
|
export declare const UpdatePromptProvider: {
|
|
1306
|
-
readonly Cohere: "cohere";
|
|
1307
1087
|
readonly Openai: "openai";
|
|
1308
|
-
readonly
|
|
1309
|
-
readonly
|
|
1310
|
-
readonly Replicate: "replicate";
|
|
1311
|
-
readonly Google: "google";
|
|
1312
|
-
readonly GoogleAi: "google-ai";
|
|
1088
|
+
readonly Groq: "groq";
|
|
1089
|
+
readonly Cohere: "cohere";
|
|
1313
1090
|
readonly Azure: "azure";
|
|
1314
1091
|
readonly Aws: "aws";
|
|
1315
|
-
readonly
|
|
1092
|
+
readonly Google: "google";
|
|
1093
|
+
readonly GoogleAi: "google-ai";
|
|
1094
|
+
readonly Huggingface: "huggingface";
|
|
1095
|
+
readonly Togetherai: "togetherai";
|
|
1316
1096
|
readonly Perplexity: "perplexity";
|
|
1317
|
-
readonly
|
|
1318
|
-
readonly Fal: "fal";
|
|
1097
|
+
readonly Anthropic: "anthropic";
|
|
1319
1098
|
readonly Leonardoai: "leonardoai";
|
|
1099
|
+
readonly Fal: "fal";
|
|
1320
1100
|
readonly Nvidia: "nvidia";
|
|
1321
1101
|
readonly Jina: "jina";
|
|
1322
|
-
readonly Togetherai: "togetherai";
|
|
1323
1102
|
readonly Elevenlabs: "elevenlabs";
|
|
1324
1103
|
readonly Litellm: "litellm";
|
|
1325
|
-
readonly Openailike: "openailike";
|
|
1326
1104
|
readonly Cerebras: "cerebras";
|
|
1105
|
+
readonly Openailike: "openailike";
|
|
1327
1106
|
readonly Bytedance: "bytedance";
|
|
1328
1107
|
readonly Mistral: "mistral";
|
|
1108
|
+
readonly Deepseek: "deepseek";
|
|
1109
|
+
readonly Contextualai: "contextualai";
|
|
1110
|
+
readonly Moonshotai: "moonshotai";
|
|
1329
1111
|
};
|
|
1330
1112
|
export type UpdatePromptProvider = ClosedEnum<typeof UpdatePromptProvider>;
|
|
1331
1113
|
/**
|
|
@@ -1363,14 +1145,14 @@ export type UpdatePrompt2PromptsFile = {
|
|
|
1363
1145
|
*/
|
|
1364
1146
|
filename?: string | undefined;
|
|
1365
1147
|
};
|
|
1366
|
-
export type
|
|
1148
|
+
export type UpdatePrompt2Prompts3 = {
|
|
1367
1149
|
/**
|
|
1368
1150
|
* The type of the content part. Always `file`.
|
|
1369
1151
|
*/
|
|
1370
1152
|
type: "file";
|
|
1371
1153
|
file: UpdatePrompt2PromptsFile;
|
|
1372
1154
|
};
|
|
1373
|
-
export type
|
|
1155
|
+
export type UpdatePrompt2PromptsImageUrl = {
|
|
1374
1156
|
/**
|
|
1375
1157
|
* The orq.ai id of the image
|
|
1376
1158
|
*/
|
|
@@ -1389,20 +1171,20 @@ export type UpdatePrompt2ImageUrl = {
|
|
|
1389
1171
|
*/
|
|
1390
1172
|
export type UpdatePrompt2Prompts2 = {
|
|
1391
1173
|
type: "image_url";
|
|
1392
|
-
imageUrl:
|
|
1174
|
+
imageUrl: UpdatePrompt2PromptsImageUrl;
|
|
1393
1175
|
};
|
|
1394
1176
|
/**
|
|
1395
1177
|
* Text content part of a prompt message
|
|
1396
1178
|
*/
|
|
1397
|
-
export type
|
|
1179
|
+
export type UpdatePrompt2Prompts1 = {
|
|
1398
1180
|
type: "text";
|
|
1399
1181
|
text: string;
|
|
1400
1182
|
};
|
|
1401
|
-
export type UpdatePromptContentPromptsResponse2 =
|
|
1183
|
+
export type UpdatePromptContentPromptsResponse2 = UpdatePrompt2Prompts1 | UpdatePrompt2Prompts2 | UpdatePrompt2Prompts3;
|
|
1402
1184
|
/**
|
|
1403
1185
|
* 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.
|
|
1404
1186
|
*/
|
|
1405
|
-
export type UpdatePromptPromptsContent = string | Array<
|
|
1187
|
+
export type UpdatePromptPromptsContent = string | Array<UpdatePrompt2Prompts1 | UpdatePrompt2Prompts2 | UpdatePrompt2Prompts3>;
|
|
1406
1188
|
export declare const UpdatePromptPromptsResponseType: {
|
|
1407
1189
|
readonly Function: "function";
|
|
1408
1190
|
};
|
|
@@ -1428,9 +1210,9 @@ export type UpdatePromptPromptsResponseMessages = {
|
|
|
1428
1210
|
/**
|
|
1429
1211
|
* 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.
|
|
1430
1212
|
*/
|
|
1431
|
-
content: string | Array<
|
|
1213
|
+
content: string | Array<UpdatePrompt2Prompts1 | UpdatePrompt2Prompts2 | UpdatePrompt2Prompts3> | null;
|
|
1432
1214
|
toolCalls?: Array<UpdatePromptPromptsToolCalls> | undefined;
|
|
1433
|
-
toolCallId?: string | undefined;
|
|
1215
|
+
toolCallId?: string | null | undefined;
|
|
1434
1216
|
};
|
|
1435
1217
|
/**
|
|
1436
1218
|
* A list of messages compatible with the openAI schema
|
|
@@ -1686,33 +1468,33 @@ export declare const UpdatePrompt2File$outboundSchema: z.ZodType<UpdatePrompt2Fi
|
|
|
1686
1468
|
export declare function updatePrompt2FileToJSON(updatePrompt2File: UpdatePrompt2File): string;
|
|
1687
1469
|
export declare function updatePrompt2FileFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2File, SDKValidationError>;
|
|
1688
1470
|
/** @internal */
|
|
1689
|
-
export declare const
|
|
1471
|
+
export declare const UpdatePrompt23$inboundSchema: z.ZodType<UpdatePrompt23, z.ZodTypeDef, unknown>;
|
|
1690
1472
|
/** @internal */
|
|
1691
|
-
export type
|
|
1473
|
+
export type UpdatePrompt23$Outbound = {
|
|
1692
1474
|
type: "file";
|
|
1693
1475
|
file: UpdatePrompt2File$Outbound;
|
|
1694
1476
|
};
|
|
1695
1477
|
/** @internal */
|
|
1696
|
-
export declare const
|
|
1697
|
-
export declare function
|
|
1698
|
-
export declare function
|
|
1478
|
+
export declare const UpdatePrompt23$outboundSchema: z.ZodType<UpdatePrompt23$Outbound, z.ZodTypeDef, UpdatePrompt23>;
|
|
1479
|
+
export declare function updatePrompt23ToJSON(updatePrompt23: UpdatePrompt23): string;
|
|
1480
|
+
export declare function updatePrompt23FromJSON(jsonString: string): SafeParseResult<UpdatePrompt23, SDKValidationError>;
|
|
1699
1481
|
/** @internal */
|
|
1700
|
-
export declare const
|
|
1482
|
+
export declare const UpdatePrompt2ImageUrl$inboundSchema: z.ZodType<UpdatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1701
1483
|
/** @internal */
|
|
1702
|
-
export type
|
|
1484
|
+
export type UpdatePrompt2ImageUrl$Outbound = {
|
|
1703
1485
|
url: string;
|
|
1704
1486
|
detail?: string | undefined;
|
|
1705
1487
|
};
|
|
1706
1488
|
/** @internal */
|
|
1707
|
-
export declare const
|
|
1708
|
-
export declare function
|
|
1709
|
-
export declare function
|
|
1489
|
+
export declare const UpdatePrompt2ImageUrl$outboundSchema: z.ZodType<UpdatePrompt2ImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2ImageUrl>;
|
|
1490
|
+
export declare function updatePrompt2ImageUrlToJSON(updatePrompt2ImageUrl: UpdatePrompt2ImageUrl): string;
|
|
1491
|
+
export declare function updatePrompt2ImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2ImageUrl, SDKValidationError>;
|
|
1710
1492
|
/** @internal */
|
|
1711
1493
|
export declare const UpdatePrompt22$inboundSchema: z.ZodType<UpdatePrompt22, z.ZodTypeDef, unknown>;
|
|
1712
1494
|
/** @internal */
|
|
1713
1495
|
export type UpdatePrompt22$Outbound = {
|
|
1714
1496
|
type: "image_url";
|
|
1715
|
-
image_url:
|
|
1497
|
+
image_url: UpdatePrompt2ImageUrl$Outbound;
|
|
1716
1498
|
};
|
|
1717
1499
|
/** @internal */
|
|
1718
1500
|
export declare const UpdatePrompt22$outboundSchema: z.ZodType<UpdatePrompt22$Outbound, z.ZodTypeDef, UpdatePrompt22>;
|
|
@@ -1732,7 +1514,7 @@ export declare function updatePrompt21FromJSON(jsonString: string): SafeParseRes
|
|
|
1732
1514
|
/** @internal */
|
|
1733
1515
|
export declare const UpdatePromptContent2$inboundSchema: z.ZodType<UpdatePromptContent2, z.ZodTypeDef, unknown>;
|
|
1734
1516
|
/** @internal */
|
|
1735
|
-
export type UpdatePromptContent2$Outbound = UpdatePrompt21$Outbound | UpdatePrompt22$Outbound |
|
|
1517
|
+
export type UpdatePromptContent2$Outbound = UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | UpdatePrompt23$Outbound;
|
|
1736
1518
|
/** @internal */
|
|
1737
1519
|
export declare const UpdatePromptContent2$outboundSchema: z.ZodType<UpdatePromptContent2$Outbound, z.ZodTypeDef, UpdatePromptContent2>;
|
|
1738
1520
|
export declare function updatePromptContent2ToJSON(updatePromptContent2: UpdatePromptContent2): string;
|
|
@@ -1740,7 +1522,7 @@ export declare function updatePromptContent2FromJSON(jsonString: string): SafePa
|
|
|
1740
1522
|
/** @internal */
|
|
1741
1523
|
export declare const UpdatePromptContent$inboundSchema: z.ZodType<UpdatePromptContent, z.ZodTypeDef, unknown>;
|
|
1742
1524
|
/** @internal */
|
|
1743
|
-
export type UpdatePromptContent$Outbound = string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound |
|
|
1525
|
+
export type UpdatePromptContent$Outbound = string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | UpdatePrompt23$Outbound>;
|
|
1744
1526
|
/** @internal */
|
|
1745
1527
|
export declare const UpdatePromptContent$outboundSchema: z.ZodType<UpdatePromptContent$Outbound, z.ZodTypeDef, UpdatePromptContent>;
|
|
1746
1528
|
export declare function updatePromptContentToJSON(updatePromptContent: UpdatePromptContent): string;
|
|
@@ -1778,9 +1560,9 @@ export declare const UpdatePromptMessages$inboundSchema: z.ZodType<UpdatePromptM
|
|
|
1778
1560
|
/** @internal */
|
|
1779
1561
|
export type UpdatePromptMessages$Outbound = {
|
|
1780
1562
|
role: string;
|
|
1781
|
-
content: string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound |
|
|
1563
|
+
content: string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound | UpdatePrompt23$Outbound> | null;
|
|
1782
1564
|
tool_calls?: Array<UpdatePromptToolCalls$Outbound> | undefined;
|
|
1783
|
-
tool_call_id?: string | undefined;
|
|
1565
|
+
tool_call_id?: string | null | undefined;
|
|
1784
1566
|
};
|
|
1785
1567
|
/** @internal */
|
|
1786
1568
|
export declare const UpdatePromptMessages$outboundSchema: z.ZodType<UpdatePromptMessages$Outbound, z.ZodTypeDef, UpdatePromptMessages>;
|
|
@@ -1798,6 +1580,7 @@ export type PromptConfig$Outbound = {
|
|
|
1798
1580
|
model?: string | undefined;
|
|
1799
1581
|
model_parameters?: UpdatePromptModelParameters$Outbound | undefined;
|
|
1800
1582
|
provider?: string | undefined;
|
|
1583
|
+
integration_id?: string | null | undefined;
|
|
1801
1584
|
version?: string | undefined;
|
|
1802
1585
|
messages: Array<UpdatePromptMessages$Outbound>;
|
|
1803
1586
|
model_db_id?: string | null | undefined;
|
|
@@ -1828,52 +1611,17 @@ export declare const UpdatePromptMetadata$outboundSchema: z.ZodType<UpdatePrompt
|
|
|
1828
1611
|
export declare function updatePromptMetadataToJSON(updatePromptMetadata: UpdatePromptMetadata): string;
|
|
1829
1612
|
export declare function updatePromptMetadataFromJSON(jsonString: string): SafeParseResult<UpdatePromptMetadata, SDKValidationError>;
|
|
1830
1613
|
/** @internal */
|
|
1831
|
-
export declare const
|
|
1832
|
-
/** @internal */
|
|
1833
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages4Type>;
|
|
1834
|
-
/** @internal */
|
|
1835
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
1836
|
-
/** @internal */
|
|
1837
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages4ContentType>;
|
|
1838
|
-
/** @internal */
|
|
1839
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyTtl>;
|
|
1840
|
-
/** @internal */
|
|
1841
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyTtl>;
|
|
1842
|
-
/** @internal */
|
|
1843
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyCacheControl$inboundSchema: z.ZodType<UpdatePrompt2PromptsRequestRequestBodyCacheControl, z.ZodTypeDef, unknown>;
|
|
1844
|
-
/** @internal */
|
|
1845
|
-
export type UpdatePrompt2PromptsRequestRequestBodyCacheControl$Outbound = {
|
|
1846
|
-
type: string;
|
|
1847
|
-
ttl: string;
|
|
1848
|
-
};
|
|
1849
|
-
/** @internal */
|
|
1850
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyCacheControl$outboundSchema: z.ZodType<UpdatePrompt2PromptsRequestRequestBodyCacheControl$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsRequestRequestBodyCacheControl>;
|
|
1851
|
-
export declare function updatePrompt2PromptsRequestRequestBodyCacheControlToJSON(updatePrompt2PromptsRequestRequestBodyCacheControl: UpdatePrompt2PromptsRequestRequestBodyCacheControl): string;
|
|
1852
|
-
export declare function updatePrompt2PromptsRequestRequestBodyCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsRequestRequestBodyCacheControl, SDKValidationError>;
|
|
1853
|
-
/** @internal */
|
|
1854
|
-
export declare const UpdatePrompt2PromptsRequestRequestBody1$inboundSchema: z.ZodType<UpdatePrompt2PromptsRequestRequestBody1, z.ZodTypeDef, unknown>;
|
|
1855
|
-
/** @internal */
|
|
1856
|
-
export type UpdatePrompt2PromptsRequestRequestBody1$Outbound = {
|
|
1857
|
-
type: string;
|
|
1858
|
-
text: string;
|
|
1859
|
-
cache_control?: UpdatePrompt2PromptsRequestRequestBodyCacheControl$Outbound | undefined;
|
|
1860
|
-
};
|
|
1861
|
-
/** @internal */
|
|
1862
|
-
export declare const UpdatePrompt2PromptsRequestRequestBody1$outboundSchema: z.ZodType<UpdatePrompt2PromptsRequestRequestBody1$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsRequestRequestBody1>;
|
|
1863
|
-
export declare function updatePrompt2PromptsRequestRequestBody1ToJSON(updatePrompt2PromptsRequestRequestBody1: UpdatePrompt2PromptsRequestRequestBody1): string;
|
|
1864
|
-
export declare function updatePrompt2PromptsRequestRequestBody1FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsRequestRequestBody1, SDKValidationError>;
|
|
1865
|
-
/** @internal */
|
|
1866
|
-
export declare const UpdatePromptContentPromptsRequestRequestBodyPrompt2$inboundSchema: z.ZodType<UpdatePromptContentPromptsRequestRequestBodyPrompt2, z.ZodTypeDef, unknown>;
|
|
1614
|
+
export declare const UpdatePromptContentPromptsRequestRequestBody2$inboundSchema: z.ZodType<UpdatePromptContentPromptsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
1867
1615
|
/** @internal */
|
|
1868
|
-
export type
|
|
1616
|
+
export type UpdatePromptContentPromptsRequestRequestBody2$Outbound = components.TextContentPartSchema$Outbound;
|
|
1869
1617
|
/** @internal */
|
|
1870
|
-
export declare const
|
|
1871
|
-
export declare function
|
|
1872
|
-
export declare function
|
|
1618
|
+
export declare const UpdatePromptContentPromptsRequestRequestBody2$outboundSchema: z.ZodType<UpdatePromptContentPromptsRequestRequestBody2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsRequestRequestBody2>;
|
|
1619
|
+
export declare function updatePromptContentPromptsRequestRequestBody2ToJSON(updatePromptContentPromptsRequestRequestBody2: UpdatePromptContentPromptsRequestRequestBody2): string;
|
|
1620
|
+
export declare function updatePromptContentPromptsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsRequestRequestBody2, SDKValidationError>;
|
|
1873
1621
|
/** @internal */
|
|
1874
1622
|
export declare const UpdatePromptMessagesPromptsRequestRequestBodyContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
|
|
1875
1623
|
/** @internal */
|
|
1876
|
-
export type UpdatePromptMessagesPromptsRequestRequestBodyContent$Outbound = string | Array<
|
|
1624
|
+
export type UpdatePromptMessagesPromptsRequestRequestBodyContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
1877
1625
|
/** @internal */
|
|
1878
1626
|
export declare const UpdatePromptMessagesPromptsRequestRequestBodyContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestRequestBodyContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsRequestRequestBodyContent>;
|
|
1879
1627
|
export declare function updatePromptMessagesPromptsRequestRequestBodyContentToJSON(updatePromptMessagesPromptsRequestRequestBodyContent: UpdatePromptMessagesPromptsRequestRequestBodyContent): string;
|
|
@@ -1902,7 +1650,7 @@ export declare const UpdatePromptMessagesToolMessage$inboundSchema: z.ZodType<Up
|
|
|
1902
1650
|
/** @internal */
|
|
1903
1651
|
export type UpdatePromptMessagesToolMessage$Outbound = {
|
|
1904
1652
|
role: "tool";
|
|
1905
|
-
content: string | Array<
|
|
1653
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1906
1654
|
tool_call_id: string;
|
|
1907
1655
|
cache_control?: UpdatePromptMessagesCacheControl$Outbound | undefined;
|
|
1908
1656
|
};
|
|
@@ -1911,48 +1659,21 @@ export declare const UpdatePromptMessagesToolMessage$outboundSchema: z.ZodType<U
|
|
|
1911
1659
|
export declare function updatePromptMessagesToolMessageToJSON(updatePromptMessagesToolMessage: UpdatePromptMessagesToolMessage): string;
|
|
1912
1660
|
export declare function updatePromptMessagesToolMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesToolMessage, SDKValidationError>;
|
|
1913
1661
|
/** @internal */
|
|
1914
|
-
export declare const
|
|
1915
|
-
/** @internal */
|
|
1916
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages3ContentType>;
|
|
1917
|
-
/** @internal */
|
|
1918
|
-
export declare const UpdatePrompt2PromptsRequestTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestTtl>;
|
|
1919
|
-
/** @internal */
|
|
1920
|
-
export declare const UpdatePrompt2PromptsRequestTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestTtl>;
|
|
1921
|
-
/** @internal */
|
|
1922
|
-
export declare const UpdatePrompt2PromptsRequestCacheControl$inboundSchema: z.ZodType<UpdatePrompt2PromptsRequestCacheControl, z.ZodTypeDef, unknown>;
|
|
1923
|
-
/** @internal */
|
|
1924
|
-
export type UpdatePrompt2PromptsRequestCacheControl$Outbound = {
|
|
1925
|
-
type: string;
|
|
1926
|
-
ttl: string;
|
|
1927
|
-
};
|
|
1928
|
-
/** @internal */
|
|
1929
|
-
export declare const UpdatePrompt2PromptsRequestCacheControl$outboundSchema: z.ZodType<UpdatePrompt2PromptsRequestCacheControl$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsRequestCacheControl>;
|
|
1930
|
-
export declare function updatePrompt2PromptsRequestCacheControlToJSON(updatePrompt2PromptsRequestCacheControl: UpdatePrompt2PromptsRequestCacheControl): string;
|
|
1931
|
-
export declare function updatePrompt2PromptsRequestCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsRequestCacheControl, SDKValidationError>;
|
|
1932
|
-
/** @internal */
|
|
1933
|
-
export declare const UpdatePrompt2PromptsRequest1$inboundSchema: z.ZodType<UpdatePrompt2PromptsRequest1, z.ZodTypeDef, unknown>;
|
|
1662
|
+
export declare const UpdatePromptContentPromptsRequest2$inboundSchema: z.ZodType<UpdatePromptContentPromptsRequest2, z.ZodTypeDef, unknown>;
|
|
1934
1663
|
/** @internal */
|
|
1935
|
-
export type
|
|
1664
|
+
export type UpdatePromptContentPromptsRequest2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1936
1665
|
type: "text";
|
|
1937
|
-
|
|
1938
|
-
cache_control?: UpdatePrompt2PromptsRequestCacheControl$Outbound | undefined;
|
|
1939
|
-
};
|
|
1940
|
-
/** @internal */
|
|
1941
|
-
export declare const UpdatePrompt2PromptsRequest1$outboundSchema: z.ZodType<UpdatePrompt2PromptsRequest1$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsRequest1>;
|
|
1942
|
-
export declare function updatePrompt2PromptsRequest1ToJSON(updatePrompt2PromptsRequest1: UpdatePrompt2PromptsRequest1): string;
|
|
1943
|
-
export declare function updatePrompt2PromptsRequest1FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsRequest1, SDKValidationError>;
|
|
1666
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
1944
1667
|
/** @internal */
|
|
1945
|
-
export declare const
|
|
1946
|
-
|
|
1947
|
-
export
|
|
1948
|
-
/** @internal */
|
|
1949
|
-
export declare const UpdatePromptContentPromptsRequestRequestBody2$outboundSchema: z.ZodType<UpdatePromptContentPromptsRequestRequestBody2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsRequestRequestBody2>;
|
|
1950
|
-
export declare function updatePromptContentPromptsRequestRequestBody2ToJSON(updatePromptContentPromptsRequestRequestBody2: UpdatePromptContentPromptsRequestRequestBody2): string;
|
|
1951
|
-
export declare function updatePromptContentPromptsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsRequestRequestBody2, SDKValidationError>;
|
|
1668
|
+
export declare const UpdatePromptContentPromptsRequest2$outboundSchema: z.ZodType<UpdatePromptContentPromptsRequest2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsRequest2>;
|
|
1669
|
+
export declare function updatePromptContentPromptsRequest2ToJSON(updatePromptContentPromptsRequest2: UpdatePromptContentPromptsRequest2): string;
|
|
1670
|
+
export declare function updatePromptContentPromptsRequest2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPromptsRequest2, SDKValidationError>;
|
|
1952
1671
|
/** @internal */
|
|
1953
1672
|
export declare const UpdatePromptMessagesPromptsRequestContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestContent, z.ZodTypeDef, unknown>;
|
|
1954
1673
|
/** @internal */
|
|
1955
|
-
export type UpdatePromptMessagesPromptsRequestContent$Outbound = string | Array<
|
|
1674
|
+
export type UpdatePromptMessagesPromptsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1675
|
+
type: "text";
|
|
1676
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
1956
1677
|
/** @internal */
|
|
1957
1678
|
export declare const UpdatePromptMessagesPromptsRequestContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsRequestContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsRequestContent>;
|
|
1958
1679
|
export declare function updatePromptMessagesPromptsRequestContentToJSON(updatePromptMessagesPromptsRequestContent: UpdatePromptMessagesPromptsRequestContent): string;
|
|
@@ -1999,7 +1720,9 @@ export declare function updatePromptMessagesToolCallsFromJSON(jsonString: string
|
|
|
1999
1720
|
export declare const UpdatePromptMessagesAssistantMessage$inboundSchema: z.ZodType<UpdatePromptMessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
2000
1721
|
/** @internal */
|
|
2001
1722
|
export type UpdatePromptMessagesAssistantMessage$Outbound = {
|
|
2002
|
-
content?: string | Array<
|
|
1723
|
+
content?: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1724
|
+
type: "text";
|
|
1725
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
2003
1726
|
refusal?: string | null | undefined;
|
|
2004
1727
|
role: "assistant";
|
|
2005
1728
|
name?: string | undefined;
|
|
@@ -2011,37 +1734,6 @@ export declare const UpdatePromptMessagesAssistantMessage$outboundSchema: z.ZodT
|
|
|
2011
1734
|
export declare function updatePromptMessagesAssistantMessageToJSON(updatePromptMessagesAssistantMessage: UpdatePromptMessagesAssistantMessage): string;
|
|
2012
1735
|
export declare function updatePromptMessagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesAssistantMessage, SDKValidationError>;
|
|
2013
1736
|
/** @internal */
|
|
2014
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type>;
|
|
2015
|
-
/** @internal */
|
|
2016
|
-
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptMessages2Type>;
|
|
2017
|
-
/** @internal */
|
|
2018
|
-
export declare const UpdatePrompt2PromptsTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsTtl>;
|
|
2019
|
-
/** @internal */
|
|
2020
|
-
export declare const UpdatePrompt2PromptsTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsTtl>;
|
|
2021
|
-
/** @internal */
|
|
2022
|
-
export declare const UpdatePrompt2PromptsCacheControl$inboundSchema: z.ZodType<UpdatePrompt2PromptsCacheControl, z.ZodTypeDef, unknown>;
|
|
2023
|
-
/** @internal */
|
|
2024
|
-
export type UpdatePrompt2PromptsCacheControl$Outbound = {
|
|
2025
|
-
type: string;
|
|
2026
|
-
ttl: string;
|
|
2027
|
-
};
|
|
2028
|
-
/** @internal */
|
|
2029
|
-
export declare const UpdatePrompt2PromptsCacheControl$outboundSchema: z.ZodType<UpdatePrompt2PromptsCacheControl$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsCacheControl>;
|
|
2030
|
-
export declare function updatePrompt2PromptsCacheControlToJSON(updatePrompt2PromptsCacheControl: UpdatePrompt2PromptsCacheControl): string;
|
|
2031
|
-
export declare function updatePrompt2PromptsCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsCacheControl, SDKValidationError>;
|
|
2032
|
-
/** @internal */
|
|
2033
|
-
export declare const UpdatePrompt24$inboundSchema: z.ZodType<UpdatePrompt24, z.ZodTypeDef, unknown>;
|
|
2034
|
-
/** @internal */
|
|
2035
|
-
export type UpdatePrompt24$Outbound = {
|
|
2036
|
-
type: "file";
|
|
2037
|
-
cache_control?: UpdatePrompt2PromptsCacheControl$Outbound | undefined;
|
|
2038
|
-
file: components.FileContentPartSchema$Outbound;
|
|
2039
|
-
};
|
|
2040
|
-
/** @internal */
|
|
2041
|
-
export declare const UpdatePrompt24$outboundSchema: z.ZodType<UpdatePrompt24$Outbound, z.ZodTypeDef, UpdatePrompt24>;
|
|
2042
|
-
export declare function updatePrompt24ToJSON(updatePrompt24: UpdatePrompt24): string;
|
|
2043
|
-
export declare function updatePrompt24FromJSON(jsonString: string): SafeParseResult<UpdatePrompt24, SDKValidationError>;
|
|
2044
|
-
/** @internal */
|
|
2045
1737
|
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptType$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
2046
1738
|
/** @internal */
|
|
2047
1739
|
export declare const UpdatePrompt2PromptsRequestRequestBodyPromptType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsRequestRequestBodyPromptType>;
|
|
@@ -2061,29 +1753,33 @@ export declare const UpdatePrompt2CacheControl$outboundSchema: z.ZodType<UpdateP
|
|
|
2061
1753
|
export declare function updatePrompt2CacheControlToJSON(updatePrompt2CacheControl: UpdatePrompt2CacheControl): string;
|
|
2062
1754
|
export declare function updatePrompt2CacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2CacheControl, SDKValidationError>;
|
|
2063
1755
|
/** @internal */
|
|
2064
|
-
export declare const
|
|
1756
|
+
export declare const UpdatePrompt24$inboundSchema: z.ZodType<UpdatePrompt24, z.ZodTypeDef, unknown>;
|
|
2065
1757
|
/** @internal */
|
|
2066
|
-
export type
|
|
2067
|
-
type: "
|
|
2068
|
-
text: string;
|
|
1758
|
+
export type UpdatePrompt24$Outbound = {
|
|
1759
|
+
type: "file";
|
|
2069
1760
|
cache_control?: UpdatePrompt2CacheControl$Outbound | undefined;
|
|
1761
|
+
file: components.FileContentPartSchema$Outbound;
|
|
2070
1762
|
};
|
|
2071
1763
|
/** @internal */
|
|
2072
|
-
export declare const
|
|
2073
|
-
export declare function
|
|
2074
|
-
export declare function
|
|
1764
|
+
export declare const UpdatePrompt24$outboundSchema: z.ZodType<UpdatePrompt24$Outbound, z.ZodTypeDef, UpdatePrompt24>;
|
|
1765
|
+
export declare function updatePrompt24ToJSON(updatePrompt24: UpdatePrompt24): string;
|
|
1766
|
+
export declare function updatePrompt24FromJSON(jsonString: string): SafeParseResult<UpdatePrompt24, SDKValidationError>;
|
|
2075
1767
|
/** @internal */
|
|
2076
|
-
export declare const
|
|
1768
|
+
export declare const UpdatePromptContentPrompts2$inboundSchema: z.ZodType<UpdatePromptContentPrompts2, z.ZodTypeDef, unknown>;
|
|
2077
1769
|
/** @internal */
|
|
2078
|
-
export type
|
|
1770
|
+
export type UpdatePromptContentPrompts2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1771
|
+
type: "text";
|
|
1772
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound;
|
|
2079
1773
|
/** @internal */
|
|
2080
|
-
export declare const
|
|
2081
|
-
export declare function
|
|
2082
|
-
export declare function
|
|
1774
|
+
export declare const UpdatePromptContentPrompts2$outboundSchema: z.ZodType<UpdatePromptContentPrompts2$Outbound, z.ZodTypeDef, UpdatePromptContentPrompts2>;
|
|
1775
|
+
export declare function updatePromptContentPrompts2ToJSON(updatePromptContentPrompts2: UpdatePromptContentPrompts2): string;
|
|
1776
|
+
export declare function updatePromptContentPrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPrompts2, SDKValidationError>;
|
|
2083
1777
|
/** @internal */
|
|
2084
1778
|
export declare const UpdatePromptMessagesPromptsContent$inboundSchema: z.ZodType<UpdatePromptMessagesPromptsContent, z.ZodTypeDef, unknown>;
|
|
2085
1779
|
/** @internal */
|
|
2086
|
-
export type UpdatePromptMessagesPromptsContent$Outbound = string | Array<
|
|
1780
|
+
export type UpdatePromptMessagesPromptsContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1781
|
+
type: "text";
|
|
1782
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound>;
|
|
2087
1783
|
/** @internal */
|
|
2088
1784
|
export declare const UpdatePromptMessagesPromptsContent$outboundSchema: z.ZodType<UpdatePromptMessagesPromptsContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesPromptsContent>;
|
|
2089
1785
|
export declare function updatePromptMessagesPromptsContentToJSON(updatePromptMessagesPromptsContent: UpdatePromptMessagesPromptsContent): string;
|
|
@@ -2094,51 +1790,18 @@ export declare const UpdatePromptMessagesUserMessage$inboundSchema: z.ZodType<Up
|
|
|
2094
1790
|
export type UpdatePromptMessagesUserMessage$Outbound = {
|
|
2095
1791
|
role: "user";
|
|
2096
1792
|
name?: string | undefined;
|
|
2097
|
-
content: string | Array<
|
|
1793
|
+
content: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1794
|
+
type: "text";
|
|
1795
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdatePrompt24$Outbound>;
|
|
2098
1796
|
};
|
|
2099
1797
|
/** @internal */
|
|
2100
1798
|
export declare const UpdatePromptMessagesUserMessage$outboundSchema: z.ZodType<UpdatePromptMessagesUserMessage$Outbound, z.ZodTypeDef, UpdatePromptMessagesUserMessage>;
|
|
2101
1799
|
export declare function updatePromptMessagesUserMessageToJSON(updatePromptMessagesUserMessage: UpdatePromptMessagesUserMessage): string;
|
|
2102
1800
|
export declare function updatePromptMessagesUserMessageFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessagesUserMessage, SDKValidationError>;
|
|
2103
1801
|
/** @internal */
|
|
2104
|
-
export declare const UpdatePromptContentType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentType>;
|
|
2105
|
-
/** @internal */
|
|
2106
|
-
export declare const UpdatePromptContentType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentType>;
|
|
2107
|
-
/** @internal */
|
|
2108
|
-
export declare const UpdatePromptContentPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentPromptsType>;
|
|
2109
|
-
/** @internal */
|
|
2110
|
-
export declare const UpdatePromptContentPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentPromptsType>;
|
|
2111
|
-
/** @internal */
|
|
2112
|
-
export declare const UpdatePromptContentTtl$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentTtl>;
|
|
2113
|
-
/** @internal */
|
|
2114
|
-
export declare const UpdatePromptContentTtl$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptContentTtl>;
|
|
2115
|
-
/** @internal */
|
|
2116
|
-
export declare const UpdatePromptContentCacheControl$inboundSchema: z.ZodType<UpdatePromptContentCacheControl, z.ZodTypeDef, unknown>;
|
|
2117
|
-
/** @internal */
|
|
2118
|
-
export type UpdatePromptContentCacheControl$Outbound = {
|
|
2119
|
-
type: string;
|
|
2120
|
-
ttl: string;
|
|
2121
|
-
};
|
|
2122
|
-
/** @internal */
|
|
2123
|
-
export declare const UpdatePromptContentCacheControl$outboundSchema: z.ZodType<UpdatePromptContentCacheControl$Outbound, z.ZodTypeDef, UpdatePromptContentCacheControl>;
|
|
2124
|
-
export declare function updatePromptContentCacheControlToJSON(updatePromptContentCacheControl: UpdatePromptContentCacheControl): string;
|
|
2125
|
-
export declare function updatePromptContentCacheControlFromJSON(jsonString: string): SafeParseResult<UpdatePromptContentCacheControl, SDKValidationError>;
|
|
2126
|
-
/** @internal */
|
|
2127
|
-
export declare const UpdatePromptContentPrompts2$inboundSchema: z.ZodType<UpdatePromptContentPrompts2, z.ZodTypeDef, unknown>;
|
|
2128
|
-
/** @internal */
|
|
2129
|
-
export type UpdatePromptContentPrompts2$Outbound = {
|
|
2130
|
-
type: string;
|
|
2131
|
-
text: string;
|
|
2132
|
-
cache_control?: UpdatePromptContentCacheControl$Outbound | undefined;
|
|
2133
|
-
};
|
|
2134
|
-
/** @internal */
|
|
2135
|
-
export declare const UpdatePromptContentPrompts2$outboundSchema: z.ZodType<UpdatePromptContentPrompts2$Outbound, z.ZodTypeDef, UpdatePromptContentPrompts2>;
|
|
2136
|
-
export declare function updatePromptContentPrompts2ToJSON(updatePromptContentPrompts2: UpdatePromptContentPrompts2): string;
|
|
2137
|
-
export declare function updatePromptContentPrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPrompts2, SDKValidationError>;
|
|
2138
|
-
/** @internal */
|
|
2139
1802
|
export declare const UpdatePromptMessagesContent$inboundSchema: z.ZodType<UpdatePromptMessagesContent, z.ZodTypeDef, unknown>;
|
|
2140
1803
|
/** @internal */
|
|
2141
|
-
export type UpdatePromptMessagesContent$Outbound = string | Array<
|
|
1804
|
+
export type UpdatePromptMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2142
1805
|
/** @internal */
|
|
2143
1806
|
export declare const UpdatePromptMessagesContent$outboundSchema: z.ZodType<UpdatePromptMessagesContent$Outbound, z.ZodTypeDef, UpdatePromptMessagesContent>;
|
|
2144
1807
|
export declare function updatePromptMessagesContentToJSON(updatePromptMessagesContent: UpdatePromptMessagesContent): string;
|
|
@@ -2148,7 +1811,7 @@ export declare const UpdatePromptMessagesSystemMessage$inboundSchema: z.ZodType<
|
|
|
2148
1811
|
/** @internal */
|
|
2149
1812
|
export type UpdatePromptMessagesSystemMessage$Outbound = {
|
|
2150
1813
|
role: "system";
|
|
2151
|
-
content: string | Array<
|
|
1814
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2152
1815
|
name?: string | undefined;
|
|
2153
1816
|
};
|
|
2154
1817
|
/** @internal */
|
|
@@ -2423,54 +2086,54 @@ export declare const UpdatePrompt2PromptsFile$outboundSchema: z.ZodType<UpdatePr
|
|
|
2423
2086
|
export declare function updatePrompt2PromptsFileToJSON(updatePrompt2PromptsFile: UpdatePrompt2PromptsFile): string;
|
|
2424
2087
|
export declare function updatePrompt2PromptsFileFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsFile, SDKValidationError>;
|
|
2425
2088
|
/** @internal */
|
|
2426
|
-
export declare const
|
|
2089
|
+
export declare const UpdatePrompt2Prompts3$inboundSchema: z.ZodType<UpdatePrompt2Prompts3, z.ZodTypeDef, unknown>;
|
|
2427
2090
|
/** @internal */
|
|
2428
|
-
export type
|
|
2091
|
+
export type UpdatePrompt2Prompts3$Outbound = {
|
|
2429
2092
|
type: "file";
|
|
2430
2093
|
file: UpdatePrompt2PromptsFile$Outbound;
|
|
2431
2094
|
};
|
|
2432
2095
|
/** @internal */
|
|
2433
|
-
export declare const
|
|
2434
|
-
export declare function
|
|
2435
|
-
export declare function
|
|
2096
|
+
export declare const UpdatePrompt2Prompts3$outboundSchema: z.ZodType<UpdatePrompt2Prompts3$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts3>;
|
|
2097
|
+
export declare function updatePrompt2Prompts3ToJSON(updatePrompt2Prompts3: UpdatePrompt2Prompts3): string;
|
|
2098
|
+
export declare function updatePrompt2Prompts3FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2Prompts3, SDKValidationError>;
|
|
2436
2099
|
/** @internal */
|
|
2437
|
-
export declare const
|
|
2100
|
+
export declare const UpdatePrompt2PromptsImageUrl$inboundSchema: z.ZodType<UpdatePrompt2PromptsImageUrl, z.ZodTypeDef, unknown>;
|
|
2438
2101
|
/** @internal */
|
|
2439
|
-
export type
|
|
2102
|
+
export type UpdatePrompt2PromptsImageUrl$Outbound = {
|
|
2440
2103
|
id?: string | undefined;
|
|
2441
2104
|
url: string;
|
|
2442
2105
|
detail?: string | undefined;
|
|
2443
2106
|
};
|
|
2444
2107
|
/** @internal */
|
|
2445
|
-
export declare const
|
|
2446
|
-
export declare function
|
|
2447
|
-
export declare function
|
|
2108
|
+
export declare const UpdatePrompt2PromptsImageUrl$outboundSchema: z.ZodType<UpdatePrompt2PromptsImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsImageUrl>;
|
|
2109
|
+
export declare function updatePrompt2PromptsImageUrlToJSON(updatePrompt2PromptsImageUrl: UpdatePrompt2PromptsImageUrl): string;
|
|
2110
|
+
export declare function updatePrompt2PromptsImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsImageUrl, SDKValidationError>;
|
|
2448
2111
|
/** @internal */
|
|
2449
2112
|
export declare const UpdatePrompt2Prompts2$inboundSchema: z.ZodType<UpdatePrompt2Prompts2, z.ZodTypeDef, unknown>;
|
|
2450
2113
|
/** @internal */
|
|
2451
2114
|
export type UpdatePrompt2Prompts2$Outbound = {
|
|
2452
2115
|
type: "image_url";
|
|
2453
|
-
image_url:
|
|
2116
|
+
image_url: UpdatePrompt2PromptsImageUrl$Outbound;
|
|
2454
2117
|
};
|
|
2455
2118
|
/** @internal */
|
|
2456
2119
|
export declare const UpdatePrompt2Prompts2$outboundSchema: z.ZodType<UpdatePrompt2Prompts2$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts2>;
|
|
2457
2120
|
export declare function updatePrompt2Prompts2ToJSON(updatePrompt2Prompts2: UpdatePrompt2Prompts2): string;
|
|
2458
2121
|
export declare function updatePrompt2Prompts2FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2Prompts2, SDKValidationError>;
|
|
2459
2122
|
/** @internal */
|
|
2460
|
-
export declare const
|
|
2123
|
+
export declare const UpdatePrompt2Prompts1$inboundSchema: z.ZodType<UpdatePrompt2Prompts1, z.ZodTypeDef, unknown>;
|
|
2461
2124
|
/** @internal */
|
|
2462
|
-
export type
|
|
2125
|
+
export type UpdatePrompt2Prompts1$Outbound = {
|
|
2463
2126
|
type: "text";
|
|
2464
2127
|
text: string;
|
|
2465
2128
|
};
|
|
2466
2129
|
/** @internal */
|
|
2467
|
-
export declare const
|
|
2468
|
-
export declare function
|
|
2469
|
-
export declare function
|
|
2130
|
+
export declare const UpdatePrompt2Prompts1$outboundSchema: z.ZodType<UpdatePrompt2Prompts1$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts1>;
|
|
2131
|
+
export declare function updatePrompt2Prompts1ToJSON(updatePrompt2Prompts1: UpdatePrompt2Prompts1): string;
|
|
2132
|
+
export declare function updatePrompt2Prompts1FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2Prompts1, SDKValidationError>;
|
|
2470
2133
|
/** @internal */
|
|
2471
2134
|
export declare const UpdatePromptContentPromptsResponse2$inboundSchema: z.ZodType<UpdatePromptContentPromptsResponse2, z.ZodTypeDef, unknown>;
|
|
2472
2135
|
/** @internal */
|
|
2473
|
-
export type UpdatePromptContentPromptsResponse2$Outbound =
|
|
2136
|
+
export type UpdatePromptContentPromptsResponse2$Outbound = UpdatePrompt2Prompts1$Outbound | UpdatePrompt2Prompts2$Outbound | UpdatePrompt2Prompts3$Outbound;
|
|
2474
2137
|
/** @internal */
|
|
2475
2138
|
export declare const UpdatePromptContentPromptsResponse2$outboundSchema: z.ZodType<UpdatePromptContentPromptsResponse2$Outbound, z.ZodTypeDef, UpdatePromptContentPromptsResponse2>;
|
|
2476
2139
|
export declare function updatePromptContentPromptsResponse2ToJSON(updatePromptContentPromptsResponse2: UpdatePromptContentPromptsResponse2): string;
|
|
@@ -2478,7 +2141,7 @@ export declare function updatePromptContentPromptsResponse2FromJSON(jsonString:
|
|
|
2478
2141
|
/** @internal */
|
|
2479
2142
|
export declare const UpdatePromptPromptsContent$inboundSchema: z.ZodType<UpdatePromptPromptsContent, z.ZodTypeDef, unknown>;
|
|
2480
2143
|
/** @internal */
|
|
2481
|
-
export type UpdatePromptPromptsContent$Outbound = string | Array<
|
|
2144
|
+
export type UpdatePromptPromptsContent$Outbound = string | Array<UpdatePrompt2Prompts1$Outbound | UpdatePrompt2Prompts2$Outbound | UpdatePrompt2Prompts3$Outbound>;
|
|
2482
2145
|
/** @internal */
|
|
2483
2146
|
export declare const UpdatePromptPromptsContent$outboundSchema: z.ZodType<UpdatePromptPromptsContent$Outbound, z.ZodTypeDef, UpdatePromptPromptsContent>;
|
|
2484
2147
|
export declare function updatePromptPromptsContentToJSON(updatePromptPromptsContent: UpdatePromptPromptsContent): string;
|
|
@@ -2516,9 +2179,9 @@ export declare const UpdatePromptPromptsResponseMessages$inboundSchema: z.ZodTyp
|
|
|
2516
2179
|
/** @internal */
|
|
2517
2180
|
export type UpdatePromptPromptsResponseMessages$Outbound = {
|
|
2518
2181
|
role: string;
|
|
2519
|
-
content: string | Array<
|
|
2182
|
+
content: string | Array<UpdatePrompt2Prompts1$Outbound | UpdatePrompt2Prompts2$Outbound | UpdatePrompt2Prompts3$Outbound> | null;
|
|
2520
2183
|
tool_calls?: Array<UpdatePromptPromptsToolCalls$Outbound> | undefined;
|
|
2521
|
-
tool_call_id?: string | undefined;
|
|
2184
|
+
tool_call_id?: string | null | undefined;
|
|
2522
2185
|
};
|
|
2523
2186
|
/** @internal */
|
|
2524
2187
|
export declare const UpdatePromptPromptsResponseMessages$outboundSchema: z.ZodType<UpdatePromptPromptsResponseMessages$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseMessages>;
|