@orq-ai/node 4.1.0-rc.34 → 4.1.0-rc.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -18
- package/bin/mcp-server.js +4959 -5404
- package/bin/mcp-server.js.map +126 -82
- package/examples/package-lock.json +1 -1
- package/funcs/agentsResponsesCreate.d.ts +7 -1
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +9 -2
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/budgetsCreate.d.ts +1 -1
- package/funcs/budgetsCreate.js +1 -1
- package/funcs/contactsList.js +1 -0
- package/funcs/contactsList.js.map +1 -1
- package/funcs/conversationsCreate.d.ts +17 -0
- package/funcs/conversationsCreate.d.ts.map +1 -0
- package/funcs/conversationsCreate.js +114 -0
- package/funcs/conversationsCreate.js.map +1 -0
- package/funcs/conversationsDelete.d.ts +17 -0
- package/funcs/conversationsDelete.d.ts.map +1 -0
- package/funcs/conversationsDelete.js +127 -0
- package/funcs/conversationsDelete.js.map +1 -0
- package/funcs/conversationsGenerateName.d.ts +18 -0
- package/funcs/conversationsGenerateName.d.ts.map +1 -0
- package/funcs/conversationsGenerateName.js +128 -0
- package/funcs/conversationsGenerateName.js.map +1 -0
- package/funcs/conversationsList.d.ts +17 -0
- package/funcs/conversationsList.d.ts.map +1 -0
- package/funcs/conversationsList.js +124 -0
- package/funcs/conversationsList.js.map +1 -0
- package/funcs/conversationsRetrieve.d.ts +18 -0
- package/funcs/conversationsRetrieve.d.ts.map +1 -0
- package/funcs/conversationsRetrieve.js +126 -0
- package/funcs/conversationsRetrieve.js.map +1 -0
- package/funcs/conversationsUpdate.d.ts +18 -0
- package/funcs/conversationsUpdate.d.ts.map +1 -0
- package/funcs/conversationsUpdate.js +128 -0
- package/funcs/conversationsUpdate.js.map +1 -0
- package/funcs/evalsInvoke.d.ts +15 -0
- package/funcs/evalsInvoke.d.ts.map +1 -0
- package/funcs/evalsInvoke.js +121 -0
- package/funcs/evalsInvoke.js.map +1 -0
- package/funcs/memoryStoresListDocuments.js +2 -0
- package/funcs/memoryStoresListDocuments.js.map +1 -1
- package/funcs/memoryStoresListMemories.js +1 -0
- package/funcs/memoryStoresListMemories.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +15 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/budgetsCreate.js +1 -1
- package/mcp-server/tools/budgetsCreate.js.map +1 -1
- package/mcp-server/tools/conversationsCreate.d.ts +8 -0
- package/mcp-server/tools/conversationsCreate.d.ts.map +1 -0
- package/mcp-server/tools/conversationsCreate.js +64 -0
- package/mcp-server/tools/conversationsCreate.js.map +1 -0
- package/mcp-server/tools/conversationsDelete.d.ts +8 -0
- package/mcp-server/tools/conversationsDelete.d.ts.map +1 -0
- package/mcp-server/tools/conversationsDelete.js +63 -0
- package/mcp-server/tools/conversationsDelete.js.map +1 -0
- package/mcp-server/tools/conversationsGenerateName.d.ts +10 -0
- package/mcp-server/tools/conversationsGenerateName.d.ts.map +1 -0
- package/mcp-server/tools/conversationsGenerateName.js +66 -0
- package/mcp-server/tools/conversationsGenerateName.js.map +1 -0
- package/mcp-server/tools/conversationsList.d.ts +10 -0
- package/mcp-server/tools/conversationsList.d.ts.map +1 -0
- package/mcp-server/tools/conversationsList.js +66 -0
- package/mcp-server/tools/conversationsList.js.map +1 -0
- package/mcp-server/tools/conversationsRetrieve.d.ts +8 -0
- package/mcp-server/tools/conversationsRetrieve.d.ts.map +1 -0
- package/mcp-server/tools/conversationsRetrieve.js +64 -0
- package/mcp-server/tools/conversationsRetrieve.js.map +1 -0
- package/mcp-server/tools/conversationsUpdate.d.ts +10 -0
- package/mcp-server/tools/conversationsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/conversationsUpdate.js +66 -0
- package/mcp-server/tools/conversationsUpdate.js.map +1 -0
- package/mcp-server/tools/evalsInvoke.d.ts +8 -0
- package/mcp-server/tools/evalsInvoke.d.ts.map +1 -0
- package/mcp-server/tools/evalsInvoke.js +62 -0
- package/mcp-server/tools/evalsInvoke.js.map +1 -0
- package/models/components/agentexecutionstartedstreamingevent.d.ts +8 -8
- package/models/components/agentexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentexecutionstartedstreamingevent.js +11 -12
- package/models/components/agentexecutionstartedstreamingevent.js.map +1 -1
- package/models/components/agentinactivestreamingevent.d.ts +21 -21
- package/models/components/agentinactivestreamingevent.d.ts.map +1 -1
- package/models/components/agentinactivestreamingevent.js +27 -28
- package/models/components/agentinactivestreamingevent.js.map +1 -1
- package/models/components/agentresponsemessage.d.ts +56 -0
- package/models/components/agentresponsemessage.d.ts.map +1 -0
- package/models/components/agentresponsemessage.js +116 -0
- package/models/components/agentresponsemessage.js.map +1 -0
- package/models/components/agentstartedstreamingevent.d.ts +6 -6
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentstartedstreamingevent.js +11 -12
- package/models/components/agentstartedstreamingevent.js.map +1 -1
- package/models/components/agentthoughtstreamingevent.d.ts +26 -24
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +34 -32
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/conversationresponse.d.ts +39 -5
- package/models/components/conversationresponse.d.ts.map +1 -1
- package/models/components/conversationresponse.js +52 -8
- package/models/components/conversationresponse.js.map +1 -1
- package/models/components/createagentresponse.d.ts +124 -0
- package/models/components/createagentresponse.d.ts.map +1 -0
- package/models/components/createagentresponse.js +191 -0
- package/models/components/createagentresponse.js.map +1 -0
- package/models/components/imagecontentpartschema.d.ts +18 -18
- package/models/components/imagecontentpartschema.d.ts.map +1 -1
- package/models/components/imagecontentpartschema.js +23 -21
- package/models/components/imagecontentpartschema.js.map +1 -1
- package/models/components/index.d.ts +18 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +18 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +161 -1040
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +161 -1015
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/partdoneevent.js +2 -2
- package/models/components/reasoningpart.js +2 -2
- package/models/components/responsedoneevent.d.ts +24 -24
- package/models/components/responsedoneevent.d.ts.map +1 -1
- package/models/components/responsedoneevent.js +31 -32
- package/models/components/responsedoneevent.js.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.js +2 -0
- package/models/components/toolexecutionfailedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.js +2 -0
- package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +2 -0
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.js +2 -0
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
- package/models/errors/generateconversationname.d.ts +55 -0
- package/models/errors/generateconversationname.d.ts.map +1 -0
- package/models/errors/generateconversationname.js +106 -0
- package/models/errors/generateconversationname.js.map +1 -0
- package/models/errors/index.d.ts +5 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +5 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +3 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +4 -4
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +37 -147
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +64 -205
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createbudget.d.ts +69 -13
- package/models/operations/createbudget.d.ts.map +1 -1
- package/models/operations/createbudget.js +61 -12
- package/models/operations/createbudget.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createconversation.d.ts +62 -8
- package/models/operations/createconversation.d.ts.map +1 -1
- package/models/operations/createconversation.js +94 -10
- package/models/operations/createconversation.js.map +1 -1
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +154 -1034
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +149 -959
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/creatememory.d.ts +10 -5
- package/models/operations/creatememory.d.ts.map +1 -1
- package/models/operations/creatememory.js +6 -2
- package/models/operations/creatememory.js.map +1 -1
- package/models/operations/creatememorydocument.d.ts +4 -4
- package/models/operations/creatememorydocument.d.ts.map +1 -1
- package/models/operations/creatememorydocument.js +2 -2
- package/models/operations/creatememorydocument.js.map +1 -1
- package/models/operations/createprompt.d.ts +136 -479
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +158 -473
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentcreatemetric.d.ts +154 -1034
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +140 -975
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +222 -1102
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +263 -1059
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +27 -26
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +29 -28
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +14 -13
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +14 -13
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +187 -1066
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +163 -989
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.d.ts +8 -8
- package/models/operations/fileupload.d.ts.map +1 -1
- package/models/operations/fileupload.js +13 -14
- package/models/operations/fileupload.js.map +1 -1
- package/models/operations/generateconversationname.d.ts +136 -0
- package/models/operations/generateconversationname.d.ts.map +1 -0
- package/models/operations/generateconversationname.js +179 -0
- package/models/operations/generateconversationname.js.map +1 -0
- package/models/operations/getallmemories.d.ts +10 -0
- package/models/operations/getallmemories.d.ts.map +1 -1
- package/models/operations/getallmemories.js +6 -0
- package/models/operations/getallmemories.js.map +1 -1
- package/models/operations/getallmemorydocuments.d.ts +10 -0
- package/models/operations/getallmemorydocuments.d.ts.map +1 -1
- package/models/operations/getallmemorydocuments.js +8 -0
- package/models/operations/getallmemorydocuments.js.map +1 -1
- package/models/operations/getallprompts.d.ts +14 -13
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +14 -13
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.d.ts +5 -0
- package/models/operations/getbudget.d.ts.map +1 -1
- package/models/operations/getbudget.js +6 -2
- package/models/operations/getbudget.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +14 -13
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +14 -13
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +14 -13
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +14 -13
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/index.d.ts +7 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +7 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +6 -6
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +10 -9
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +3 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +2 -2
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.d.ts +5 -0
- package/models/operations/listbudgets.d.ts.map +1 -1
- package/models/operations/listbudgets.js +6 -2
- package/models/operations/listbudgets.js.map +1 -1
- package/models/operations/listcontacts.d.ts +5 -0
- package/models/operations/listcontacts.d.ts.map +1 -1
- package/models/operations/listcontacts.js +4 -2
- package/models/operations/listcontacts.js.map +1 -1
- package/models/operations/listconversations.d.ts +60 -0
- package/models/operations/listconversations.d.ts.map +1 -0
- package/models/operations/listconversations.js +109 -0
- package/models/operations/listconversations.js.map +1 -0
- package/models/operations/listdatasetdatapoints.d.ts +76 -516
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +75 -475
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +14 -13
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +14 -13
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +3 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +2 -2
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrieveconversation.d.ts +39 -5
- package/models/operations/retrieveconversation.d.ts.map +1 -1
- package/models/operations/retrieveconversation.js +53 -8
- package/models/operations/retrieveconversation.js.map +1 -1
- package/models/operations/retrievedatapoint.d.ts +76 -516
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +75 -473
- package/models/operations/retrievedatapoint.js.map +1 -1
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievememory.d.ts +5 -0
- package/models/operations/retrievememory.d.ts.map +1 -1
- package/models/operations/retrievememory.js +4 -0
- package/models/operations/retrievememory.js.map +1 -1
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +4 -4
- package/models/operations/streamrunagent.js +4 -4
- package/models/operations/updateagent.d.ts +3 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +4 -4
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.d.ts +5 -0
- package/models/operations/updatebudget.d.ts.map +1 -1
- package/models/operations/updatebudget.js +6 -2
- package/models/operations/updatebudget.js.map +1 -1
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updateconversation.d.ts +63 -6
- package/models/operations/updateconversation.d.ts.map +1 -1
- package/models/operations/updateconversation.js +93 -9
- package/models/operations/updateconversation.js.map +1 -1
- package/models/operations/updatedatapoint.d.ts +154 -1034
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +147 -955
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatememory.d.ts +10 -5
- package/models/operations/updatememory.d.ts.map +1 -1
- package/models/operations/updatememory.js +6 -2
- package/models/operations/updatememory.js.map +1 -1
- package/models/operations/updatememorydocument.d.ts +4 -4
- package/models/operations/updatememorydocument.d.ts.map +1 -1
- package/models/operations/updatememorydocument.js +2 -2
- package/models/operations/updatememorydocument.js.map +1 -1
- package/models/operations/updatememorystore.d.ts +24 -59
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +27 -55
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +149 -486
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +156 -466
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/budgets.d.ts +1 -1
- package/sdk/budgets.js +1 -1
- package/sdk/conversations.d.ts +47 -0
- package/sdk/conversations.d.ts.map +1 -0
- package/sdk/conversations.js +72 -0
- package/sdk/conversations.js.map +1 -0
- package/sdk/evals.d.ts +4 -0
- package/sdk/evals.d.ts.map +1 -1
- package/sdk/evals.js +7 -0
- package/sdk/evals.js.map +1 -1
- package/sdk/responses.d.ts +5 -1
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +3 -1
- package/sdk/responses.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/agentsResponsesCreate.ts +14 -10
- package/src/funcs/budgetsCreate.ts +1 -1
- package/src/funcs/contactsList.ts +1 -0
- package/src/funcs/conversationsCreate.ts +161 -0
- package/src/funcs/conversationsDelete.ts +180 -0
- package/src/funcs/conversationsGenerateName.ts +194 -0
- package/src/funcs/conversationsList.ts +181 -0
- package/src/funcs/conversationsRetrieve.ts +180 -0
- package/src/funcs/conversationsUpdate.ts +184 -0
- package/src/funcs/evalsInvoke.ts +177 -0
- package/src/funcs/memoryStoresListDocuments.ts +2 -0
- package/src/funcs/memoryStoresListMemories.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +15 -1
- package/src/mcp-server/tools/budgetsCreate.ts +1 -1
- package/src/mcp-server/tools/conversationsCreate.ts +37 -0
- package/src/mcp-server/tools/conversationsDelete.ts +35 -0
- package/src/mcp-server/tools/conversationsGenerateName.ts +40 -0
- package/src/mcp-server/tools/conversationsList.ts +41 -0
- package/src/mcp-server/tools/conversationsRetrieve.ts +37 -0
- package/src/mcp-server/tools/conversationsUpdate.ts +40 -0
- package/src/mcp-server/tools/evalsInvoke.ts +35 -0
- package/src/models/components/agentexecutionstartedstreamingevent.ts +53 -34
- package/src/models/components/agentinactivestreamingevent.ts +85 -57
- package/src/models/components/agentresponsemessage.ts +185 -0
- package/src/models/components/agentstartedstreamingevent.ts +30 -21
- package/src/models/components/agentthoughtstreamingevent.ts +167 -118
- package/src/models/components/conversationresponse.ts +100 -12
- package/src/models/components/createagentresponse.ts +340 -0
- package/src/models/components/imagecontentpartschema.ts +52 -37
- package/src/models/components/index.ts +18 -0
- package/src/models/components/invokedeploymentrequest.ts +515 -2564
- package/src/models/components/partdoneevent.ts +2 -2
- package/src/models/components/reasoningpart.ts +2 -2
- package/src/models/components/responsedoneevent.ts +93 -68
- package/src/models/components/toolexecutionfailedstreamingevent.ts +4 -0
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +4 -0
- package/src/models/components/toolexecutionstartedstreamingevent.ts +4 -0
- package/src/models/errors/generateconversationname.ts +132 -0
- package/src/models/errors/index.ts +5 -0
- package/src/models/operations/createagentrequest.ts +7 -4
- package/src/models/operations/createagentresponserequest.ts +126 -435
- package/src/models/operations/createbudget.ts +143 -28
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createconversation.ts +192 -17
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +601 -2786
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/creatememory.ts +14 -5
- package/src/models/operations/creatememorydocument.ts +4 -4
- package/src/models/operations/createprompt.ts +397 -1201
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentcreatemetric.ts +601 -3040
- package/src/models/operations/deploymentgetconfig.ts +824 -2901
- package/src/models/operations/deploymentinvoke.ts +47 -46
- package/src/models/operations/deployments.ts +16 -15
- package/src/models/operations/deploymentstream.ts +727 -2977
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +30 -27
- package/src/models/operations/generateconversationname.ts +341 -0
- package/src/models/operations/getallmemories.ts +16 -0
- package/src/models/operations/getallmemorydocuments.ts +22 -0
- package/src/models/operations/getallprompts.ts +16 -15
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +11 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +16 -15
- package/src/models/operations/getpromptversion.ts +16 -15
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/invokeagent.ts +19 -26
- package/src/models/operations/listagents.ts +5 -2
- package/src/models/operations/listbudgets.ts +11 -2
- package/src/models/operations/listcontacts.ts +9 -2
- package/src/models/operations/listconversations.ts +161 -0
- package/src/models/operations/listdatasetdatapoints.ts +288 -1355
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +16 -15
- package/src/models/operations/retrieveagentrequest.ts +5 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrieveconversation.ts +107 -12
- package/src/models/operations/retrievedatapoint.ts +263 -1288
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievememory.ts +9 -0
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +4 -4
- package/src/models/operations/streamrunagent.ts +4 -4
- package/src/models/operations/updateagent.ts +7 -4
- package/src/models/operations/updatebudget.ts +11 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updateconversation.ts +192 -14
- package/src/models/operations/updatedatapoint.ts +556 -2717
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatememory.ts +14 -5
- package/src/models/operations/updatememorydocument.ts +4 -4
- package/src/models/operations/updatememorystore.ts +64 -154
- package/src/models/operations/updateprompt.ts +385 -1144
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/budgets.ts +1 -1
- package/src/sdk/conversations.ts +125 -0
- package/src/sdk/evals.ts +15 -0
- package/src/sdk/responses.ts +8 -3
- package/src/sdk/sdk.ts +6 -0
|
@@ -3,72 +3,11 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import * as components from "../components/index.js";
|
|
5
5
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
6
|
-
export
|
|
7
|
-
readonly Text: "text";
|
|
8
|
-
};
|
|
9
|
-
export type UpdateDatapoint2DatasetsRequestRequestBodyMessages5Type = ClosedEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyMessages5Type>;
|
|
10
|
-
/**
|
|
11
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
12
|
-
*/
|
|
13
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyMessages5ContentType: {
|
|
14
|
-
readonly Ephemeral: "ephemeral";
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
18
|
-
*/
|
|
19
|
-
export type UpdateDatapoint2DatasetsRequestRequestBodyMessages5ContentType = ClosedEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyMessages5ContentType>;
|
|
20
|
-
/**
|
|
21
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
22
|
-
*
|
|
23
|
-
* @remarks
|
|
24
|
-
*
|
|
25
|
-
* - `5m`: 5 minutes
|
|
26
|
-
* - `1h`: 1 hour
|
|
27
|
-
*
|
|
28
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
29
|
-
*/
|
|
30
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyTtl: {
|
|
31
|
-
readonly Fivem: "5m";
|
|
32
|
-
readonly Oneh: "1h";
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
36
|
-
*
|
|
37
|
-
* @remarks
|
|
38
|
-
*
|
|
39
|
-
* - `5m`: 5 minutes
|
|
40
|
-
* - `1h`: 1 hour
|
|
41
|
-
*
|
|
42
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
43
|
-
*/
|
|
44
|
-
export type UpdateDatapoint2DatasetsRequestRequestBodyTtl = ClosedEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyTtl>;
|
|
45
|
-
export type UpdateDatapoint2DatasetsRequestRequestBodyCacheControl = {
|
|
46
|
-
/**
|
|
47
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
48
|
-
*/
|
|
49
|
-
type: UpdateDatapoint2DatasetsRequestRequestBodyMessages5ContentType;
|
|
50
|
-
/**
|
|
51
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
52
|
-
*
|
|
53
|
-
* @remarks
|
|
54
|
-
*
|
|
55
|
-
* - `5m`: 5 minutes
|
|
56
|
-
* - `1h`: 1 hour
|
|
57
|
-
*
|
|
58
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
59
|
-
*/
|
|
60
|
-
ttl?: UpdateDatapoint2DatasetsRequestRequestBodyTtl | undefined;
|
|
61
|
-
};
|
|
62
|
-
export type UpdateDatapoint2DatasetsRequest1 = {
|
|
63
|
-
type: UpdateDatapoint2DatasetsRequestRequestBodyMessages5Type;
|
|
64
|
-
text: string;
|
|
65
|
-
cacheControl?: UpdateDatapoint2DatasetsRequestRequestBodyCacheControl | undefined;
|
|
66
|
-
};
|
|
67
|
-
export type UpdateDatapointContentDatasetsRequestRequestBodyMessages2 = UpdateDatapoint2DatasetsRequest1;
|
|
6
|
+
export type UpdateDatapointContentDatasetsRequest2 = components.TextContentPartSchema;
|
|
68
7
|
/**
|
|
69
8
|
* The contents of the tool message.
|
|
70
9
|
*/
|
|
71
|
-
export type UpdateDatapointMessagesDatasetsRequestRequestBody5Content = string | Array<
|
|
10
|
+
export type UpdateDatapointMessagesDatasetsRequestRequestBody5Content = string | Array<components.TextContentPartSchema>;
|
|
72
11
|
/**
|
|
73
12
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
74
13
|
*/
|
|
@@ -129,75 +68,22 @@ export type UpdateDatapointMessagesToolMessage = {
|
|
|
129
68
|
/**
|
|
130
69
|
* The contents of the tool message.
|
|
131
70
|
*/
|
|
132
|
-
content: string | Array<
|
|
71
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
133
72
|
/**
|
|
134
73
|
* Tool call that this message is responding to.
|
|
135
74
|
*/
|
|
136
75
|
toolCallId: string;
|
|
137
76
|
cacheControl?: UpdateDatapointMessagesCacheControl | undefined;
|
|
138
77
|
};
|
|
139
|
-
|
|
140
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
141
|
-
*/
|
|
142
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyMessages4Type: {
|
|
143
|
-
readonly Ephemeral: "ephemeral";
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
147
|
-
*/
|
|
148
|
-
export type UpdateDatapoint2DatasetsRequestRequestBodyMessages4Type = ClosedEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyMessages4Type>;
|
|
149
|
-
/**
|
|
150
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
151
|
-
*
|
|
152
|
-
* @remarks
|
|
153
|
-
*
|
|
154
|
-
* - `5m`: 5 minutes
|
|
155
|
-
* - `1h`: 1 hour
|
|
156
|
-
*
|
|
157
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
158
|
-
*/
|
|
159
|
-
export declare const UpdateDatapoint2DatasetsRequestTtl: {
|
|
160
|
-
readonly Fivem: "5m";
|
|
161
|
-
readonly Oneh: "1h";
|
|
162
|
-
};
|
|
163
|
-
/**
|
|
164
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
165
|
-
*
|
|
166
|
-
* @remarks
|
|
167
|
-
*
|
|
168
|
-
* - `5m`: 5 minutes
|
|
169
|
-
* - `1h`: 1 hour
|
|
170
|
-
*
|
|
171
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
172
|
-
*/
|
|
173
|
-
export type UpdateDatapoint2DatasetsRequestTtl = ClosedEnum<typeof UpdateDatapoint2DatasetsRequestTtl>;
|
|
174
|
-
export type UpdateDatapoint2DatasetsRequestCacheControl = {
|
|
175
|
-
/**
|
|
176
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
177
|
-
*/
|
|
178
|
-
type: UpdateDatapoint2DatasetsRequestRequestBodyMessages4Type;
|
|
179
|
-
/**
|
|
180
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
181
|
-
*
|
|
182
|
-
* @remarks
|
|
183
|
-
*
|
|
184
|
-
* - `5m`: 5 minutes
|
|
185
|
-
* - `1h`: 1 hour
|
|
186
|
-
*
|
|
187
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
188
|
-
*/
|
|
189
|
-
ttl?: UpdateDatapoint2DatasetsRequestTtl | undefined;
|
|
190
|
-
};
|
|
191
|
-
export type UpdateDatapoint2Datasets1 = {
|
|
78
|
+
export type UpdateDatapointContentDatasets2 = (components.TextContentPartSchema & {
|
|
192
79
|
type: "text";
|
|
193
|
-
|
|
194
|
-
cacheControl?: UpdateDatapoint2DatasetsRequestCacheControl | undefined;
|
|
195
|
-
};
|
|
196
|
-
export type UpdateDatapointContentDatasetsRequestRequestBody2 = UpdateDatapoint2Datasets1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
80
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
197
81
|
/**
|
|
198
82
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
199
83
|
*/
|
|
200
|
-
export type UpdateDatapointMessagesDatasetsRequestRequestBodyContent = string | Array<
|
|
84
|
+
export type UpdateDatapointMessagesDatasetsRequestRequestBodyContent = string | Array<(components.TextContentPartSchema & {
|
|
85
|
+
type: "text";
|
|
86
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
201
87
|
/**
|
|
202
88
|
* Data about a previous audio response from the model.
|
|
203
89
|
*/
|
|
@@ -246,7 +132,9 @@ export type UpdateDatapointMessagesAssistantMessage = {
|
|
|
246
132
|
/**
|
|
247
133
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
248
134
|
*/
|
|
249
|
-
content?: string | Array<
|
|
135
|
+
content?: string | Array<(components.TextContentPartSchema & {
|
|
136
|
+
type: "text";
|
|
137
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
250
138
|
/**
|
|
251
139
|
* The refusal message by the assistant.
|
|
252
140
|
*/
|
|
@@ -271,13 +159,13 @@ export type UpdateDatapointMessagesAssistantMessage = {
|
|
|
271
159
|
/**
|
|
272
160
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
273
161
|
*/
|
|
274
|
-
export declare const
|
|
162
|
+
export declare const UpdateDatapoint2DatasetsType: {
|
|
275
163
|
readonly Ephemeral: "ephemeral";
|
|
276
164
|
};
|
|
277
165
|
/**
|
|
278
166
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
279
167
|
*/
|
|
280
|
-
export type
|
|
168
|
+
export type UpdateDatapoint2DatasetsType = ClosedEnum<typeof UpdateDatapoint2DatasetsType>;
|
|
281
169
|
/**
|
|
282
170
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
283
171
|
*
|
|
@@ -288,7 +176,7 @@ export type UpdateDatapoint2DatasetsRequestRequestBodyType = ClosedEnum<typeof U
|
|
|
288
176
|
*
|
|
289
177
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
290
178
|
*/
|
|
291
|
-
export declare const
|
|
179
|
+
export declare const UpdateDatapoint2Ttl: {
|
|
292
180
|
readonly Fivem: "5m";
|
|
293
181
|
readonly Oneh: "1h";
|
|
294
182
|
};
|
|
@@ -302,12 +190,12 @@ export declare const UpdateDatapoint2DatasetsTtl: {
|
|
|
302
190
|
*
|
|
303
191
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
304
192
|
*/
|
|
305
|
-
export type
|
|
306
|
-
export type
|
|
193
|
+
export type UpdateDatapoint2Ttl = ClosedEnum<typeof UpdateDatapoint2Ttl>;
|
|
194
|
+
export type UpdateDatapoint2CacheControl = {
|
|
307
195
|
/**
|
|
308
196
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
309
197
|
*/
|
|
310
|
-
type:
|
|
198
|
+
type: UpdateDatapoint2DatasetsType;
|
|
311
199
|
/**
|
|
312
200
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
313
201
|
*
|
|
@@ -318,81 +206,28 @@ export type UpdateDatapoint2DatasetsCacheControl = {
|
|
|
318
206
|
*
|
|
319
207
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
320
208
|
*/
|
|
321
|
-
ttl?:
|
|
209
|
+
ttl?: UpdateDatapoint2Ttl | undefined;
|
|
322
210
|
};
|
|
323
211
|
export type UpdateDatapoint24 = {
|
|
324
212
|
/**
|
|
325
213
|
* The type of the content part. Always `file`.
|
|
326
214
|
*/
|
|
327
215
|
type: "file";
|
|
328
|
-
cacheControl?:
|
|
216
|
+
cacheControl?: UpdateDatapoint2CacheControl | undefined;
|
|
329
217
|
/**
|
|
330
218
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
331
219
|
*/
|
|
332
220
|
file: components.FileContentPartSchema;
|
|
333
221
|
};
|
|
334
|
-
|
|
335
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
336
|
-
*/
|
|
337
|
-
export declare const UpdateDatapoint2DatasetsType: {
|
|
338
|
-
readonly Ephemeral: "ephemeral";
|
|
339
|
-
};
|
|
340
|
-
/**
|
|
341
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
342
|
-
*/
|
|
343
|
-
export type UpdateDatapoint2DatasetsType = ClosedEnum<typeof UpdateDatapoint2DatasetsType>;
|
|
344
|
-
/**
|
|
345
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
346
|
-
*
|
|
347
|
-
* @remarks
|
|
348
|
-
*
|
|
349
|
-
* - `5m`: 5 minutes
|
|
350
|
-
* - `1h`: 1 hour
|
|
351
|
-
*
|
|
352
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
353
|
-
*/
|
|
354
|
-
export declare const UpdateDatapoint2Ttl: {
|
|
355
|
-
readonly Fivem: "5m";
|
|
356
|
-
readonly Oneh: "1h";
|
|
357
|
-
};
|
|
358
|
-
/**
|
|
359
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
360
|
-
*
|
|
361
|
-
* @remarks
|
|
362
|
-
*
|
|
363
|
-
* - `5m`: 5 minutes
|
|
364
|
-
* - `1h`: 1 hour
|
|
365
|
-
*
|
|
366
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
367
|
-
*/
|
|
368
|
-
export type UpdateDatapoint2Ttl = ClosedEnum<typeof UpdateDatapoint2Ttl>;
|
|
369
|
-
export type UpdateDatapoint2CacheControl = {
|
|
370
|
-
/**
|
|
371
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
372
|
-
*/
|
|
373
|
-
type: UpdateDatapoint2DatasetsType;
|
|
374
|
-
/**
|
|
375
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
376
|
-
*
|
|
377
|
-
* @remarks
|
|
378
|
-
*
|
|
379
|
-
* - `5m`: 5 minutes
|
|
380
|
-
* - `1h`: 1 hour
|
|
381
|
-
*
|
|
382
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
383
|
-
*/
|
|
384
|
-
ttl?: UpdateDatapoint2Ttl | undefined;
|
|
385
|
-
};
|
|
386
|
-
export type UpdateDatapoint21 = {
|
|
222
|
+
export type UpdateDatapointContent2 = (components.TextContentPartSchema & {
|
|
387
223
|
type: "text";
|
|
388
|
-
|
|
389
|
-
cacheControl?: UpdateDatapoint2CacheControl | undefined;
|
|
390
|
-
};
|
|
391
|
-
export type UpdateDatapointContentDatasetsRequest2 = UpdateDatapoint21 | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdateDatapoint24;
|
|
224
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdateDatapoint24;
|
|
392
225
|
/**
|
|
393
226
|
* The contents of the user message.
|
|
394
227
|
*/
|
|
395
|
-
export type UpdateDatapointMessagesDatasetsRequestContent = string | Array<
|
|
228
|
+
export type UpdateDatapointMessagesDatasetsRequestContent = string | Array<(components.TextContentPartSchema & {
|
|
229
|
+
type: "text";
|
|
230
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdateDatapoint24>;
|
|
396
231
|
export type UpdateDatapointMessagesUserMessage = {
|
|
397
232
|
/**
|
|
398
233
|
* The role of the messages author, in this case `user`.
|
|
@@ -405,73 +240,14 @@ export type UpdateDatapointMessagesUserMessage = {
|
|
|
405
240
|
/**
|
|
406
241
|
* The contents of the user message.
|
|
407
242
|
*/
|
|
408
|
-
content: string | Array<
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
readonly Text: "text";
|
|
412
|
-
};
|
|
413
|
-
export type UpdateDatapointContentDatasetsRequestType = ClosedEnum<typeof UpdateDatapointContentDatasetsRequestType>;
|
|
414
|
-
/**
|
|
415
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
416
|
-
*/
|
|
417
|
-
export declare const UpdateDatapointContentDatasetsRequestRequestBodyType: {
|
|
418
|
-
readonly Ephemeral: "ephemeral";
|
|
419
|
-
};
|
|
420
|
-
/**
|
|
421
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
422
|
-
*/
|
|
423
|
-
export type UpdateDatapointContentDatasetsRequestRequestBodyType = ClosedEnum<typeof UpdateDatapointContentDatasetsRequestRequestBodyType>;
|
|
424
|
-
/**
|
|
425
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
426
|
-
*
|
|
427
|
-
* @remarks
|
|
428
|
-
*
|
|
429
|
-
* - `5m`: 5 minutes
|
|
430
|
-
* - `1h`: 1 hour
|
|
431
|
-
*
|
|
432
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
433
|
-
*/
|
|
434
|
-
export declare const UpdateDatapointContentDatasetsTtl: {
|
|
435
|
-
readonly Fivem: "5m";
|
|
436
|
-
readonly Oneh: "1h";
|
|
437
|
-
};
|
|
438
|
-
/**
|
|
439
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
440
|
-
*
|
|
441
|
-
* @remarks
|
|
442
|
-
*
|
|
443
|
-
* - `5m`: 5 minutes
|
|
444
|
-
* - `1h`: 1 hour
|
|
445
|
-
*
|
|
446
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
447
|
-
*/
|
|
448
|
-
export type UpdateDatapointContentDatasetsTtl = ClosedEnum<typeof UpdateDatapointContentDatasetsTtl>;
|
|
449
|
-
export type UpdateDatapointContentDatasetsCacheControl = {
|
|
450
|
-
/**
|
|
451
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
452
|
-
*/
|
|
453
|
-
type: UpdateDatapointContentDatasetsRequestRequestBodyType;
|
|
454
|
-
/**
|
|
455
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
456
|
-
*
|
|
457
|
-
* @remarks
|
|
458
|
-
*
|
|
459
|
-
* - `5m`: 5 minutes
|
|
460
|
-
* - `1h`: 1 hour
|
|
461
|
-
*
|
|
462
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
463
|
-
*/
|
|
464
|
-
ttl?: UpdateDatapointContentDatasetsTtl | undefined;
|
|
465
|
-
};
|
|
466
|
-
export type UpdateDatapointContentDatasets2 = {
|
|
467
|
-
type: UpdateDatapointContentDatasetsRequestType;
|
|
468
|
-
text: string;
|
|
469
|
-
cacheControl?: UpdateDatapointContentDatasetsCacheControl | undefined;
|
|
243
|
+
content: string | Array<(components.TextContentPartSchema & {
|
|
244
|
+
type: "text";
|
|
245
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdateDatapoint24>;
|
|
470
246
|
};
|
|
471
247
|
/**
|
|
472
248
|
* The contents of the developer message.
|
|
473
249
|
*/
|
|
474
|
-
export type UpdateDatapointMessagesDatasetsContent = string | Array<
|
|
250
|
+
export type UpdateDatapointMessagesDatasetsContent = string | Array<components.TextContentPartSchema>;
|
|
475
251
|
export type UpdateDatapointMessagesDeveloperMessage = {
|
|
476
252
|
/**
|
|
477
253
|
* The role of the messages author, in this case `developer`.
|
|
@@ -480,77 +256,16 @@ export type UpdateDatapointMessagesDeveloperMessage = {
|
|
|
480
256
|
/**
|
|
481
257
|
* The contents of the developer message.
|
|
482
258
|
*/
|
|
483
|
-
content: string | Array<
|
|
259
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
484
260
|
/**
|
|
485
261
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
486
262
|
*/
|
|
487
263
|
name?: string | undefined;
|
|
488
264
|
};
|
|
489
|
-
export declare const UpdateDatapointContentType: {
|
|
490
|
-
readonly Text: "text";
|
|
491
|
-
};
|
|
492
|
-
export type UpdateDatapointContentType = ClosedEnum<typeof UpdateDatapointContentType>;
|
|
493
|
-
/**
|
|
494
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
495
|
-
*/
|
|
496
|
-
export declare const UpdateDatapointContentDatasetsType: {
|
|
497
|
-
readonly Ephemeral: "ephemeral";
|
|
498
|
-
};
|
|
499
|
-
/**
|
|
500
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
501
|
-
*/
|
|
502
|
-
export type UpdateDatapointContentDatasetsType = ClosedEnum<typeof UpdateDatapointContentDatasetsType>;
|
|
503
|
-
/**
|
|
504
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
505
|
-
*
|
|
506
|
-
* @remarks
|
|
507
|
-
*
|
|
508
|
-
* - `5m`: 5 minutes
|
|
509
|
-
* - `1h`: 1 hour
|
|
510
|
-
*
|
|
511
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
512
|
-
*/
|
|
513
|
-
export declare const UpdateDatapointContentTtl: {
|
|
514
|
-
readonly Fivem: "5m";
|
|
515
|
-
readonly Oneh: "1h";
|
|
516
|
-
};
|
|
517
|
-
/**
|
|
518
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
519
|
-
*
|
|
520
|
-
* @remarks
|
|
521
|
-
*
|
|
522
|
-
* - `5m`: 5 minutes
|
|
523
|
-
* - `1h`: 1 hour
|
|
524
|
-
*
|
|
525
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
526
|
-
*/
|
|
527
|
-
export type UpdateDatapointContentTtl = ClosedEnum<typeof UpdateDatapointContentTtl>;
|
|
528
|
-
export type UpdateDatapointContentCacheControl = {
|
|
529
|
-
/**
|
|
530
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
531
|
-
*/
|
|
532
|
-
type: UpdateDatapointContentDatasetsType;
|
|
533
|
-
/**
|
|
534
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
535
|
-
*
|
|
536
|
-
* @remarks
|
|
537
|
-
*
|
|
538
|
-
* - `5m`: 5 minutes
|
|
539
|
-
* - `1h`: 1 hour
|
|
540
|
-
*
|
|
541
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
542
|
-
*/
|
|
543
|
-
ttl?: UpdateDatapointContentTtl | undefined;
|
|
544
|
-
};
|
|
545
|
-
export type UpdateDatapointContent2 = {
|
|
546
|
-
type: UpdateDatapointContentType;
|
|
547
|
-
text: string;
|
|
548
|
-
cacheControl?: UpdateDatapointContentCacheControl | undefined;
|
|
549
|
-
};
|
|
550
265
|
/**
|
|
551
266
|
* The contents of the system message.
|
|
552
267
|
*/
|
|
553
|
-
export type UpdateDatapointMessagesContent = string | Array<
|
|
268
|
+
export type UpdateDatapointMessagesContent = string | Array<components.TextContentPartSchema>;
|
|
554
269
|
/**
|
|
555
270
|
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
556
271
|
*/
|
|
@@ -562,7 +277,7 @@ export type UpdateDatapointMessagesSystemMessage = {
|
|
|
562
277
|
/**
|
|
563
278
|
* The contents of the system message.
|
|
564
279
|
*/
|
|
565
|
-
content: string | Array<
|
|
280
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
566
281
|
/**
|
|
567
282
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
568
283
|
*/
|
|
@@ -593,72 +308,11 @@ export type UpdateDatapointRequest = {
|
|
|
593
308
|
datapointId: string;
|
|
594
309
|
requestBody?: UpdateDatapointRequestBody | undefined;
|
|
595
310
|
};
|
|
596
|
-
export
|
|
597
|
-
readonly Text: "text";
|
|
598
|
-
};
|
|
599
|
-
export type UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType>;
|
|
600
|
-
/**
|
|
601
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
602
|
-
*/
|
|
603
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type: {
|
|
604
|
-
readonly Ephemeral: "ephemeral";
|
|
605
|
-
};
|
|
606
|
-
/**
|
|
607
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
608
|
-
*/
|
|
609
|
-
export type UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type = ClosedEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type>;
|
|
610
|
-
/**
|
|
611
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
612
|
-
*
|
|
613
|
-
* @remarks
|
|
614
|
-
*
|
|
615
|
-
* - `5m`: 5 minutes
|
|
616
|
-
* - `1h`: 1 hour
|
|
617
|
-
*
|
|
618
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
619
|
-
*/
|
|
620
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyTtl: {
|
|
621
|
-
readonly Fivem: "5m";
|
|
622
|
-
readonly Oneh: "1h";
|
|
623
|
-
};
|
|
624
|
-
/**
|
|
625
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
626
|
-
*
|
|
627
|
-
* @remarks
|
|
628
|
-
*
|
|
629
|
-
* - `5m`: 5 minutes
|
|
630
|
-
* - `1h`: 1 hour
|
|
631
|
-
*
|
|
632
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
633
|
-
*/
|
|
634
|
-
export type UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyTtl = ClosedEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyTtl>;
|
|
635
|
-
export type UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl = {
|
|
636
|
-
/**
|
|
637
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
638
|
-
*/
|
|
639
|
-
type: UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type;
|
|
640
|
-
/**
|
|
641
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
642
|
-
*
|
|
643
|
-
* @remarks
|
|
644
|
-
*
|
|
645
|
-
* - `5m`: 5 minutes
|
|
646
|
-
* - `1h`: 1 hour
|
|
647
|
-
*
|
|
648
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
649
|
-
*/
|
|
650
|
-
ttl?: UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyTtl | undefined;
|
|
651
|
-
};
|
|
652
|
-
export type UpdateDatapoint2DatasetsResponse200ApplicationJson1 = {
|
|
653
|
-
type: UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType;
|
|
654
|
-
text: string;
|
|
655
|
-
cacheControl?: UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl | undefined;
|
|
656
|
-
};
|
|
657
|
-
export type UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBodyMessages2 = UpdateDatapoint2DatasetsResponse200ApplicationJson1;
|
|
311
|
+
export type UpdateDatapointContentDatasetsResponse200ApplicationJson2 = components.TextContentPartSchema;
|
|
658
312
|
/**
|
|
659
313
|
* The contents of the tool message.
|
|
660
314
|
*/
|
|
661
|
-
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5Content = string | Array<
|
|
315
|
+
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5Content = string | Array<components.TextContentPartSchema>;
|
|
662
316
|
/**
|
|
663
317
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
664
318
|
*/
|
|
@@ -719,75 +373,22 @@ export type UpdateDatapointMessagesDatasetsToolMessage = {
|
|
|
719
373
|
/**
|
|
720
374
|
* The contents of the tool message.
|
|
721
375
|
*/
|
|
722
|
-
content: string | Array<
|
|
376
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
723
377
|
/**
|
|
724
378
|
* Tool call that this message is responding to.
|
|
725
379
|
*/
|
|
726
380
|
toolCallId: string;
|
|
727
381
|
cacheControl?: UpdateDatapointMessagesDatasetsCacheControl | undefined;
|
|
728
382
|
};
|
|
729
|
-
|
|
730
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
731
|
-
*/
|
|
732
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type: {
|
|
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 UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type = ClosedEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type>;
|
|
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 UpdateDatapoint2DatasetsResponse200ApplicationJSONTtl: {
|
|
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 UpdateDatapoint2DatasetsResponse200ApplicationJSONTtl = ClosedEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONTtl>;
|
|
764
|
-
export type UpdateDatapoint2DatasetsResponse200ApplicationJSONCacheControl = {
|
|
765
|
-
/**
|
|
766
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
767
|
-
*/
|
|
768
|
-
type: UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type;
|
|
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?: UpdateDatapoint2DatasetsResponse200ApplicationJSONTtl | undefined;
|
|
780
|
-
};
|
|
781
|
-
export type UpdateDatapoint2DatasetsResponse2001 = {
|
|
383
|
+
export type UpdateDatapointContentDatasetsResponse2002 = (components.TextContentPartSchema & {
|
|
782
384
|
type: "text";
|
|
783
|
-
|
|
784
|
-
cacheControl?: UpdateDatapoint2DatasetsResponse200ApplicationJSONCacheControl | undefined;
|
|
785
|
-
};
|
|
786
|
-
export type UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2 = UpdateDatapoint2DatasetsResponse2001 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
385
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
|
|
787
386
|
/**
|
|
788
387
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
789
388
|
*/
|
|
790
|
-
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContent = string | Array<
|
|
389
|
+
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContent = string | Array<(components.TextContentPartSchema & {
|
|
390
|
+
type: "text";
|
|
391
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
|
|
791
392
|
/**
|
|
792
393
|
* Data about a previous audio response from the model.
|
|
793
394
|
*/
|
|
@@ -836,7 +437,9 @@ export type UpdateDatapointMessagesDatasetsAssistantMessage = {
|
|
|
836
437
|
/**
|
|
837
438
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
838
439
|
*/
|
|
839
|
-
content?: string | Array<
|
|
440
|
+
content?: string | Array<(components.TextContentPartSchema & {
|
|
441
|
+
type: "text";
|
|
442
|
+
}) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
|
|
840
443
|
/**
|
|
841
444
|
* The refusal message by the assistant.
|
|
842
445
|
*/
|
|
@@ -861,13 +464,13 @@ export type UpdateDatapointMessagesDatasetsAssistantMessage = {
|
|
|
861
464
|
/**
|
|
862
465
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
863
466
|
*/
|
|
864
|
-
export declare const
|
|
467
|
+
export declare const UpdateDatapoint2DatasetsResponse200Type: {
|
|
865
468
|
readonly Ephemeral: "ephemeral";
|
|
866
469
|
};
|
|
867
470
|
/**
|
|
868
471
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
869
472
|
*/
|
|
870
|
-
export type
|
|
473
|
+
export type UpdateDatapoint2DatasetsResponse200Type = ClosedEnum<typeof UpdateDatapoint2DatasetsResponse200Type>;
|
|
871
474
|
/**
|
|
872
475
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
873
476
|
*
|
|
@@ -878,7 +481,7 @@ export type UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessag
|
|
|
878
481
|
*
|
|
879
482
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
880
483
|
*/
|
|
881
|
-
export declare const
|
|
484
|
+
export declare const UpdateDatapoint2DatasetsTtl: {
|
|
882
485
|
readonly Fivem: "5m";
|
|
883
486
|
readonly Oneh: "1h";
|
|
884
487
|
};
|
|
@@ -892,12 +495,12 @@ export declare const UpdateDatapoint2DatasetsResponse200Ttl: {
|
|
|
892
495
|
*
|
|
893
496
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
894
497
|
*/
|
|
895
|
-
export type
|
|
896
|
-
export type
|
|
498
|
+
export type UpdateDatapoint2DatasetsTtl = ClosedEnum<typeof UpdateDatapoint2DatasetsTtl>;
|
|
499
|
+
export type UpdateDatapoint2DatasetsCacheControl = {
|
|
897
500
|
/**
|
|
898
501
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
899
502
|
*/
|
|
900
|
-
type:
|
|
503
|
+
type: UpdateDatapoint2DatasetsResponse200Type;
|
|
901
504
|
/**
|
|
902
505
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
903
506
|
*
|
|
@@ -908,81 +511,28 @@ export type UpdateDatapoint2DatasetsResponse200CacheControl = {
|
|
|
908
511
|
*
|
|
909
512
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
910
513
|
*/
|
|
911
|
-
ttl?:
|
|
514
|
+
ttl?: UpdateDatapoint2DatasetsTtl | undefined;
|
|
912
515
|
};
|
|
913
516
|
export type UpdateDatapoint2Datasets4 = {
|
|
914
517
|
/**
|
|
915
518
|
* The type of the content part. Always `file`.
|
|
916
519
|
*/
|
|
917
520
|
type: "file";
|
|
918
|
-
cacheControl?:
|
|
521
|
+
cacheControl?: UpdateDatapoint2DatasetsCacheControl | undefined;
|
|
919
522
|
/**
|
|
920
523
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
921
524
|
*/
|
|
922
525
|
file: components.FileContentPartSchema;
|
|
923
526
|
};
|
|
924
|
-
|
|
925
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
926
|
-
*/
|
|
927
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType: {
|
|
928
|
-
readonly Ephemeral: "ephemeral";
|
|
929
|
-
};
|
|
930
|
-
/**
|
|
931
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
932
|
-
*/
|
|
933
|
-
export type UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType = ClosedEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType>;
|
|
934
|
-
/**
|
|
935
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
936
|
-
*
|
|
937
|
-
* @remarks
|
|
938
|
-
*
|
|
939
|
-
* - `5m`: 5 minutes
|
|
940
|
-
* - `1h`: 1 hour
|
|
941
|
-
*
|
|
942
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
943
|
-
*/
|
|
944
|
-
export declare const UpdateDatapoint2DatasetsResponseTtl: {
|
|
945
|
-
readonly Fivem: "5m";
|
|
946
|
-
readonly Oneh: "1h";
|
|
947
|
-
};
|
|
948
|
-
/**
|
|
949
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
950
|
-
*
|
|
951
|
-
* @remarks
|
|
952
|
-
*
|
|
953
|
-
* - `5m`: 5 minutes
|
|
954
|
-
* - `1h`: 1 hour
|
|
955
|
-
*
|
|
956
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
957
|
-
*/
|
|
958
|
-
export type UpdateDatapoint2DatasetsResponseTtl = ClosedEnum<typeof UpdateDatapoint2DatasetsResponseTtl>;
|
|
959
|
-
export type UpdateDatapoint2DatasetsResponseCacheControl = {
|
|
960
|
-
/**
|
|
961
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
962
|
-
*/
|
|
963
|
-
type: UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType;
|
|
964
|
-
/**
|
|
965
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
966
|
-
*
|
|
967
|
-
* @remarks
|
|
968
|
-
*
|
|
969
|
-
* - `5m`: 5 minutes
|
|
970
|
-
* - `1h`: 1 hour
|
|
971
|
-
*
|
|
972
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
973
|
-
*/
|
|
974
|
-
ttl?: UpdateDatapoint2DatasetsResponseTtl | undefined;
|
|
975
|
-
};
|
|
976
|
-
export type UpdateDatapoint2DatasetsResponse1 = {
|
|
527
|
+
export type UpdateDatapointContentDatasetsResponse2 = (components.TextContentPartSchema & {
|
|
977
528
|
type: "text";
|
|
978
|
-
|
|
979
|
-
cacheControl?: UpdateDatapoint2DatasetsResponseCacheControl | undefined;
|
|
980
|
-
};
|
|
981
|
-
export type UpdateDatapointContentDatasetsResponse200ApplicationJson2 = UpdateDatapoint2DatasetsResponse1 | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdateDatapoint2Datasets4;
|
|
529
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdateDatapoint2Datasets4;
|
|
982
530
|
/**
|
|
983
531
|
* The contents of the user message.
|
|
984
532
|
*/
|
|
985
|
-
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONContent = string | Array<
|
|
533
|
+
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONContent = string | Array<(components.TextContentPartSchema & {
|
|
534
|
+
type: "text";
|
|
535
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdateDatapoint2Datasets4>;
|
|
986
536
|
export type UpdateDatapointMessagesDatasetsUserMessage = {
|
|
987
537
|
/**
|
|
988
538
|
* The role of the messages author, in this case `user`.
|
|
@@ -995,152 +545,32 @@ export type UpdateDatapointMessagesDatasetsUserMessage = {
|
|
|
995
545
|
/**
|
|
996
546
|
* The contents of the user message.
|
|
997
547
|
*/
|
|
998
|
-
content: string | Array<
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
readonly Text: "text";
|
|
1002
|
-
};
|
|
1003
|
-
export type UpdateDatapointContentDatasetsResponse200Type = ClosedEnum<typeof UpdateDatapointContentDatasetsResponse200Type>;
|
|
1004
|
-
/**
|
|
1005
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1006
|
-
*/
|
|
1007
|
-
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBodyType: {
|
|
1008
|
-
readonly Ephemeral: "ephemeral";
|
|
1009
|
-
};
|
|
1010
|
-
/**
|
|
1011
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1012
|
-
*/
|
|
1013
|
-
export type UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBodyType>;
|
|
1014
|
-
/**
|
|
1015
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1016
|
-
*
|
|
1017
|
-
* @remarks
|
|
1018
|
-
*
|
|
1019
|
-
* - `5m`: 5 minutes
|
|
1020
|
-
* - `1h`: 1 hour
|
|
1021
|
-
*
|
|
1022
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1023
|
-
*/
|
|
1024
|
-
export declare const UpdateDatapointContentDatasetsResponse200Ttl: {
|
|
1025
|
-
readonly Fivem: "5m";
|
|
1026
|
-
readonly Oneh: "1h";
|
|
1027
|
-
};
|
|
1028
|
-
/**
|
|
1029
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1030
|
-
*
|
|
1031
|
-
* @remarks
|
|
1032
|
-
*
|
|
1033
|
-
* - `5m`: 5 minutes
|
|
1034
|
-
* - `1h`: 1 hour
|
|
1035
|
-
*
|
|
1036
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1037
|
-
*/
|
|
1038
|
-
export type UpdateDatapointContentDatasetsResponse200Ttl = ClosedEnum<typeof UpdateDatapointContentDatasetsResponse200Ttl>;
|
|
1039
|
-
export type UpdateDatapointContentDatasetsResponse200CacheControl = {
|
|
1040
|
-
/**
|
|
1041
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1042
|
-
*/
|
|
1043
|
-
type: UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBodyType;
|
|
1044
|
-
/**
|
|
1045
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1046
|
-
*
|
|
1047
|
-
* @remarks
|
|
1048
|
-
*
|
|
1049
|
-
* - `5m`: 5 minutes
|
|
1050
|
-
* - `1h`: 1 hour
|
|
1051
|
-
*
|
|
1052
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1053
|
-
*/
|
|
1054
|
-
ttl?: UpdateDatapointContentDatasetsResponse200Ttl | undefined;
|
|
1055
|
-
};
|
|
1056
|
-
export type UpdateDatapointContentDatasetsResponse2002 = {
|
|
1057
|
-
type: UpdateDatapointContentDatasetsResponse200Type;
|
|
1058
|
-
text: string;
|
|
1059
|
-
cacheControl?: UpdateDatapointContentDatasetsResponse200CacheControl | undefined;
|
|
548
|
+
content: string | Array<(components.TextContentPartSchema & {
|
|
549
|
+
type: "text";
|
|
550
|
+
}) | components.ImageContentPartSchema | components.AudioContentPartSchema | UpdateDatapoint2Datasets4>;
|
|
1060
551
|
};
|
|
1061
552
|
/**
|
|
1062
553
|
* The contents of the developer message.
|
|
1063
554
|
*/
|
|
1064
|
-
export type UpdateDatapointMessagesDatasetsResponse200Content = string | Array<
|
|
555
|
+
export type UpdateDatapointMessagesDatasetsResponse200Content = string | Array<components.TextContentPartSchema>;
|
|
1065
556
|
export type UpdateDatapointMessagesDatasetsDeveloperMessage = {
|
|
1066
557
|
/**
|
|
1067
558
|
* The role of the messages author, in this case `developer`.
|
|
1068
559
|
*/
|
|
1069
|
-
role: "developer";
|
|
1070
|
-
/**
|
|
1071
|
-
* The contents of the developer message.
|
|
1072
|
-
*/
|
|
1073
|
-
content: string | Array<UpdateDatapointContentDatasetsResponse2002>;
|
|
1074
|
-
/**
|
|
1075
|
-
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
1076
|
-
*/
|
|
1077
|
-
name?: string | undefined;
|
|
1078
|
-
};
|
|
1079
|
-
export declare const UpdateDatapointContentDatasetsResponseType: {
|
|
1080
|
-
readonly Text: "text";
|
|
1081
|
-
};
|
|
1082
|
-
export type UpdateDatapointContentDatasetsResponseType = ClosedEnum<typeof UpdateDatapointContentDatasetsResponseType>;
|
|
1083
|
-
/**
|
|
1084
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1085
|
-
*/
|
|
1086
|
-
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJSONType: {
|
|
1087
|
-
readonly Ephemeral: "ephemeral";
|
|
1088
|
-
};
|
|
1089
|
-
/**
|
|
1090
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
1091
|
-
*/
|
|
1092
|
-
export type UpdateDatapointContentDatasetsResponse200ApplicationJSONType = ClosedEnum<typeof UpdateDatapointContentDatasetsResponse200ApplicationJSONType>;
|
|
1093
|
-
/**
|
|
1094
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1095
|
-
*
|
|
1096
|
-
* @remarks
|
|
1097
|
-
*
|
|
1098
|
-
* - `5m`: 5 minutes
|
|
1099
|
-
* - `1h`: 1 hour
|
|
1100
|
-
*
|
|
1101
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1102
|
-
*/
|
|
1103
|
-
export declare const UpdateDatapointContentDatasetsResponseTtl: {
|
|
1104
|
-
readonly Fivem: "5m";
|
|
1105
|
-
readonly Oneh: "1h";
|
|
1106
|
-
};
|
|
1107
|
-
/**
|
|
1108
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
1109
|
-
*
|
|
1110
|
-
* @remarks
|
|
1111
|
-
*
|
|
1112
|
-
* - `5m`: 5 minutes
|
|
1113
|
-
* - `1h`: 1 hour
|
|
1114
|
-
*
|
|
1115
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
1116
|
-
*/
|
|
1117
|
-
export type UpdateDatapointContentDatasetsResponseTtl = ClosedEnum<typeof UpdateDatapointContentDatasetsResponseTtl>;
|
|
1118
|
-
export type UpdateDatapointContentDatasetsResponseCacheControl = {
|
|
560
|
+
role: "developer";
|
|
1119
561
|
/**
|
|
1120
|
-
*
|
|
562
|
+
* The contents of the developer message.
|
|
1121
563
|
*/
|
|
1122
|
-
|
|
564
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
1123
565
|
/**
|
|
1124
|
-
*
|
|
1125
|
-
*
|
|
1126
|
-
* @remarks
|
|
1127
|
-
*
|
|
1128
|
-
* - `5m`: 5 minutes
|
|
1129
|
-
* - `1h`: 1 hour
|
|
1130
|
-
*
|
|
1131
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
566
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
1132
567
|
*/
|
|
1133
|
-
|
|
1134
|
-
};
|
|
1135
|
-
export type UpdateDatapointContentDatasetsResponse2 = {
|
|
1136
|
-
type: UpdateDatapointContentDatasetsResponseType;
|
|
1137
|
-
text: string;
|
|
1138
|
-
cacheControl?: UpdateDatapointContentDatasetsResponseCacheControl | undefined;
|
|
568
|
+
name?: string | undefined;
|
|
1139
569
|
};
|
|
1140
570
|
/**
|
|
1141
571
|
* The contents of the system message.
|
|
1142
572
|
*/
|
|
1143
|
-
export type UpdateDatapointMessagesDatasetsResponseContent = string | Array<
|
|
573
|
+
export type UpdateDatapointMessagesDatasetsResponseContent = string | Array<components.TextContentPartSchema>;
|
|
1144
574
|
/**
|
|
1145
575
|
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
1146
576
|
*/
|
|
@@ -1152,7 +582,7 @@ export type UpdateDatapointMessagesDatasetsSystemMessage = {
|
|
|
1152
582
|
/**
|
|
1153
583
|
* The contents of the system message.
|
|
1154
584
|
*/
|
|
1155
|
-
content: string | Array<
|
|
585
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
1156
586
|
/**
|
|
1157
587
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
1158
588
|
*/
|
|
@@ -1333,52 +763,17 @@ export type UpdateDatapointResponseBody = {
|
|
|
1333
763
|
updated?: Date | undefined;
|
|
1334
764
|
};
|
|
1335
765
|
/** @internal */
|
|
1336
|
-
export declare const
|
|
1337
|
-
/** @internal */
|
|
1338
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyMessages5Type$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyMessages5Type>;
|
|
1339
|
-
/** @internal */
|
|
1340
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyMessages5ContentType$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyMessages5ContentType>;
|
|
1341
|
-
/** @internal */
|
|
1342
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyMessages5ContentType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyMessages5ContentType>;
|
|
1343
|
-
/** @internal */
|
|
1344
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyTtl$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyTtl>;
|
|
1345
|
-
/** @internal */
|
|
1346
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyTtl$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyTtl>;
|
|
1347
|
-
/** @internal */
|
|
1348
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyCacheControl$inboundSchema: z.ZodType<UpdateDatapoint2DatasetsRequestRequestBodyCacheControl, z.ZodTypeDef, unknown>;
|
|
1349
|
-
/** @internal */
|
|
1350
|
-
export type UpdateDatapoint2DatasetsRequestRequestBodyCacheControl$Outbound = {
|
|
1351
|
-
type: string;
|
|
1352
|
-
ttl: string;
|
|
1353
|
-
};
|
|
1354
|
-
/** @internal */
|
|
1355
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyCacheControl$outboundSchema: z.ZodType<UpdateDatapoint2DatasetsRequestRequestBodyCacheControl$Outbound, z.ZodTypeDef, UpdateDatapoint2DatasetsRequestRequestBodyCacheControl>;
|
|
1356
|
-
export declare function updateDatapoint2DatasetsRequestRequestBodyCacheControlToJSON(updateDatapoint2DatasetsRequestRequestBodyCacheControl: UpdateDatapoint2DatasetsRequestRequestBodyCacheControl): string;
|
|
1357
|
-
export declare function updateDatapoint2DatasetsRequestRequestBodyCacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2DatasetsRequestRequestBodyCacheControl, SDKValidationError>;
|
|
1358
|
-
/** @internal */
|
|
1359
|
-
export declare const UpdateDatapoint2DatasetsRequest1$inboundSchema: z.ZodType<UpdateDatapoint2DatasetsRequest1, z.ZodTypeDef, unknown>;
|
|
1360
|
-
/** @internal */
|
|
1361
|
-
export type UpdateDatapoint2DatasetsRequest1$Outbound = {
|
|
1362
|
-
type: string;
|
|
1363
|
-
text: string;
|
|
1364
|
-
cache_control?: UpdateDatapoint2DatasetsRequestRequestBodyCacheControl$Outbound | undefined;
|
|
1365
|
-
};
|
|
1366
|
-
/** @internal */
|
|
1367
|
-
export declare const UpdateDatapoint2DatasetsRequest1$outboundSchema: z.ZodType<UpdateDatapoint2DatasetsRequest1$Outbound, z.ZodTypeDef, UpdateDatapoint2DatasetsRequest1>;
|
|
1368
|
-
export declare function updateDatapoint2DatasetsRequest1ToJSON(updateDatapoint2DatasetsRequest1: UpdateDatapoint2DatasetsRequest1): string;
|
|
1369
|
-
export declare function updateDatapoint2DatasetsRequest1FromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2DatasetsRequest1, SDKValidationError>;
|
|
1370
|
-
/** @internal */
|
|
1371
|
-
export declare const UpdateDatapointContentDatasetsRequestRequestBodyMessages2$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsRequestRequestBodyMessages2, z.ZodTypeDef, unknown>;
|
|
766
|
+
export declare const UpdateDatapointContentDatasetsRequest2$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsRequest2, z.ZodTypeDef, unknown>;
|
|
1372
767
|
/** @internal */
|
|
1373
|
-
export type
|
|
768
|
+
export type UpdateDatapointContentDatasetsRequest2$Outbound = components.TextContentPartSchema$Outbound;
|
|
1374
769
|
/** @internal */
|
|
1375
|
-
export declare const
|
|
1376
|
-
export declare function
|
|
1377
|
-
export declare function
|
|
770
|
+
export declare const UpdateDatapointContentDatasetsRequest2$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsRequest2$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsRequest2>;
|
|
771
|
+
export declare function updateDatapointContentDatasetsRequest2ToJSON(updateDatapointContentDatasetsRequest2: UpdateDatapointContentDatasetsRequest2): string;
|
|
772
|
+
export declare function updateDatapointContentDatasetsRequest2FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsRequest2, SDKValidationError>;
|
|
1378
773
|
/** @internal */
|
|
1379
774
|
export declare const UpdateDatapointMessagesDatasetsRequestRequestBody5Content$inboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsRequestRequestBody5Content, z.ZodTypeDef, unknown>;
|
|
1380
775
|
/** @internal */
|
|
1381
|
-
export type UpdateDatapointMessagesDatasetsRequestRequestBody5Content$Outbound = string | Array<
|
|
776
|
+
export type UpdateDatapointMessagesDatasetsRequestRequestBody5Content$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
1382
777
|
/** @internal */
|
|
1383
778
|
export declare const UpdateDatapointMessagesDatasetsRequestRequestBody5Content$outboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsRequestRequestBody5Content$Outbound, z.ZodTypeDef, UpdateDatapointMessagesDatasetsRequestRequestBody5Content>;
|
|
1384
779
|
export declare function updateDatapointMessagesDatasetsRequestRequestBody5ContentToJSON(updateDatapointMessagesDatasetsRequestRequestBody5Content: UpdateDatapointMessagesDatasetsRequestRequestBody5Content): string;
|
|
@@ -1407,7 +802,7 @@ export declare const UpdateDatapointMessagesToolMessage$inboundSchema: z.ZodType
|
|
|
1407
802
|
/** @internal */
|
|
1408
803
|
export type UpdateDatapointMessagesToolMessage$Outbound = {
|
|
1409
804
|
role: "tool";
|
|
1410
|
-
content: string | Array<
|
|
805
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1411
806
|
tool_call_id: string;
|
|
1412
807
|
cache_control?: UpdateDatapointMessagesCacheControl$Outbound | undefined;
|
|
1413
808
|
};
|
|
@@ -1416,48 +811,21 @@ export declare const UpdateDatapointMessagesToolMessage$outboundSchema: z.ZodTyp
|
|
|
1416
811
|
export declare function updateDatapointMessagesToolMessageToJSON(updateDatapointMessagesToolMessage: UpdateDatapointMessagesToolMessage): string;
|
|
1417
812
|
export declare function updateDatapointMessagesToolMessageFromJSON(jsonString: string): SafeParseResult<UpdateDatapointMessagesToolMessage, SDKValidationError>;
|
|
1418
813
|
/** @internal */
|
|
1419
|
-
export declare const
|
|
1420
|
-
/** @internal */
|
|
1421
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyMessages4Type$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyMessages4Type>;
|
|
1422
|
-
/** @internal */
|
|
1423
|
-
export declare const UpdateDatapoint2DatasetsRequestTtl$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsRequestTtl>;
|
|
1424
|
-
/** @internal */
|
|
1425
|
-
export declare const UpdateDatapoint2DatasetsRequestTtl$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsRequestTtl>;
|
|
1426
|
-
/** @internal */
|
|
1427
|
-
export declare const UpdateDatapoint2DatasetsRequestCacheControl$inboundSchema: z.ZodType<UpdateDatapoint2DatasetsRequestCacheControl, z.ZodTypeDef, unknown>;
|
|
1428
|
-
/** @internal */
|
|
1429
|
-
export type UpdateDatapoint2DatasetsRequestCacheControl$Outbound = {
|
|
1430
|
-
type: string;
|
|
1431
|
-
ttl: string;
|
|
1432
|
-
};
|
|
1433
|
-
/** @internal */
|
|
1434
|
-
export declare const UpdateDatapoint2DatasetsRequestCacheControl$outboundSchema: z.ZodType<UpdateDatapoint2DatasetsRequestCacheControl$Outbound, z.ZodTypeDef, UpdateDatapoint2DatasetsRequestCacheControl>;
|
|
1435
|
-
export declare function updateDatapoint2DatasetsRequestCacheControlToJSON(updateDatapoint2DatasetsRequestCacheControl: UpdateDatapoint2DatasetsRequestCacheControl): string;
|
|
1436
|
-
export declare function updateDatapoint2DatasetsRequestCacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2DatasetsRequestCacheControl, SDKValidationError>;
|
|
1437
|
-
/** @internal */
|
|
1438
|
-
export declare const UpdateDatapoint2Datasets1$inboundSchema: z.ZodType<UpdateDatapoint2Datasets1, z.ZodTypeDef, unknown>;
|
|
814
|
+
export declare const UpdateDatapointContentDatasets2$inboundSchema: z.ZodType<UpdateDatapointContentDatasets2, z.ZodTypeDef, unknown>;
|
|
1439
815
|
/** @internal */
|
|
1440
|
-
export type
|
|
816
|
+
export type UpdateDatapointContentDatasets2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1441
817
|
type: "text";
|
|
1442
|
-
|
|
1443
|
-
cache_control?: UpdateDatapoint2DatasetsRequestCacheControl$Outbound | undefined;
|
|
1444
|
-
};
|
|
1445
|
-
/** @internal */
|
|
1446
|
-
export declare const UpdateDatapoint2Datasets1$outboundSchema: z.ZodType<UpdateDatapoint2Datasets1$Outbound, z.ZodTypeDef, UpdateDatapoint2Datasets1>;
|
|
1447
|
-
export declare function updateDatapoint2Datasets1ToJSON(updateDatapoint2Datasets1: UpdateDatapoint2Datasets1): string;
|
|
1448
|
-
export declare function updateDatapoint2Datasets1FromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2Datasets1, SDKValidationError>;
|
|
818
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
1449
819
|
/** @internal */
|
|
1450
|
-
export declare const
|
|
1451
|
-
|
|
1452
|
-
export
|
|
1453
|
-
/** @internal */
|
|
1454
|
-
export declare const UpdateDatapointContentDatasetsRequestRequestBody2$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsRequestRequestBody2$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsRequestRequestBody2>;
|
|
1455
|
-
export declare function updateDatapointContentDatasetsRequestRequestBody2ToJSON(updateDatapointContentDatasetsRequestRequestBody2: UpdateDatapointContentDatasetsRequestRequestBody2): string;
|
|
1456
|
-
export declare function updateDatapointContentDatasetsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsRequestRequestBody2, SDKValidationError>;
|
|
820
|
+
export declare const UpdateDatapointContentDatasets2$outboundSchema: z.ZodType<UpdateDatapointContentDatasets2$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasets2>;
|
|
821
|
+
export declare function updateDatapointContentDatasets2ToJSON(updateDatapointContentDatasets2: UpdateDatapointContentDatasets2): string;
|
|
822
|
+
export declare function updateDatapointContentDatasets2FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasets2, SDKValidationError>;
|
|
1457
823
|
/** @internal */
|
|
1458
824
|
export declare const UpdateDatapointMessagesDatasetsRequestRequestBodyContent$inboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
|
|
1459
825
|
/** @internal */
|
|
1460
|
-
export type UpdateDatapointMessagesDatasetsRequestRequestBodyContent$Outbound = string | Array<
|
|
826
|
+
export type UpdateDatapointMessagesDatasetsRequestRequestBodyContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
827
|
+
type: "text";
|
|
828
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
1461
829
|
/** @internal */
|
|
1462
830
|
export declare const UpdateDatapointMessagesDatasetsRequestRequestBodyContent$outboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsRequestRequestBodyContent$Outbound, z.ZodTypeDef, UpdateDatapointMessagesDatasetsRequestRequestBodyContent>;
|
|
1463
831
|
export declare function updateDatapointMessagesDatasetsRequestRequestBodyContentToJSON(updateDatapointMessagesDatasetsRequestRequestBodyContent: UpdateDatapointMessagesDatasetsRequestRequestBodyContent): string;
|
|
@@ -1504,7 +872,9 @@ export declare function updateDatapointMessagesToolCallsFromJSON(jsonString: str
|
|
|
1504
872
|
export declare const UpdateDatapointMessagesAssistantMessage$inboundSchema: z.ZodType<UpdateDatapointMessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1505
873
|
/** @internal */
|
|
1506
874
|
export type UpdateDatapointMessagesAssistantMessage$Outbound = {
|
|
1507
|
-
content?: string | Array<
|
|
875
|
+
content?: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
876
|
+
type: "text";
|
|
877
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
1508
878
|
refusal?: string | null | undefined;
|
|
1509
879
|
role: "assistant";
|
|
1510
880
|
name?: string | undefined;
|
|
@@ -1516,37 +886,6 @@ export declare const UpdateDatapointMessagesAssistantMessage$outboundSchema: z.Z
|
|
|
1516
886
|
export declare function updateDatapointMessagesAssistantMessageToJSON(updateDatapointMessagesAssistantMessage: UpdateDatapointMessagesAssistantMessage): string;
|
|
1517
887
|
export declare function updateDatapointMessagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<UpdateDatapointMessagesAssistantMessage, SDKValidationError>;
|
|
1518
888
|
/** @internal */
|
|
1519
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyType>;
|
|
1520
|
-
/** @internal */
|
|
1521
|
-
export declare const UpdateDatapoint2DatasetsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsRequestRequestBodyType>;
|
|
1522
|
-
/** @internal */
|
|
1523
|
-
export declare const UpdateDatapoint2DatasetsTtl$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsTtl>;
|
|
1524
|
-
/** @internal */
|
|
1525
|
-
export declare const UpdateDatapoint2DatasetsTtl$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsTtl>;
|
|
1526
|
-
/** @internal */
|
|
1527
|
-
export declare const UpdateDatapoint2DatasetsCacheControl$inboundSchema: z.ZodType<UpdateDatapoint2DatasetsCacheControl, z.ZodTypeDef, unknown>;
|
|
1528
|
-
/** @internal */
|
|
1529
|
-
export type UpdateDatapoint2DatasetsCacheControl$Outbound = {
|
|
1530
|
-
type: string;
|
|
1531
|
-
ttl: string;
|
|
1532
|
-
};
|
|
1533
|
-
/** @internal */
|
|
1534
|
-
export declare const UpdateDatapoint2DatasetsCacheControl$outboundSchema: z.ZodType<UpdateDatapoint2DatasetsCacheControl$Outbound, z.ZodTypeDef, UpdateDatapoint2DatasetsCacheControl>;
|
|
1535
|
-
export declare function updateDatapoint2DatasetsCacheControlToJSON(updateDatapoint2DatasetsCacheControl: UpdateDatapoint2DatasetsCacheControl): string;
|
|
1536
|
-
export declare function updateDatapoint2DatasetsCacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2DatasetsCacheControl, SDKValidationError>;
|
|
1537
|
-
/** @internal */
|
|
1538
|
-
export declare const UpdateDatapoint24$inboundSchema: z.ZodType<UpdateDatapoint24, z.ZodTypeDef, unknown>;
|
|
1539
|
-
/** @internal */
|
|
1540
|
-
export type UpdateDatapoint24$Outbound = {
|
|
1541
|
-
type: "file";
|
|
1542
|
-
cache_control?: UpdateDatapoint2DatasetsCacheControl$Outbound | undefined;
|
|
1543
|
-
file: components.FileContentPartSchema$Outbound;
|
|
1544
|
-
};
|
|
1545
|
-
/** @internal */
|
|
1546
|
-
export declare const UpdateDatapoint24$outboundSchema: z.ZodType<UpdateDatapoint24$Outbound, z.ZodTypeDef, UpdateDatapoint24>;
|
|
1547
|
-
export declare function updateDatapoint24ToJSON(updateDatapoint24: UpdateDatapoint24): string;
|
|
1548
|
-
export declare function updateDatapoint24FromJSON(jsonString: string): SafeParseResult<UpdateDatapoint24, SDKValidationError>;
|
|
1549
|
-
/** @internal */
|
|
1550
889
|
export declare const UpdateDatapoint2DatasetsType$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsType>;
|
|
1551
890
|
/** @internal */
|
|
1552
891
|
export declare const UpdateDatapoint2DatasetsType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsType>;
|
|
@@ -1566,29 +905,33 @@ export declare const UpdateDatapoint2CacheControl$outboundSchema: z.ZodType<Upda
|
|
|
1566
905
|
export declare function updateDatapoint2CacheControlToJSON(updateDatapoint2CacheControl: UpdateDatapoint2CacheControl): string;
|
|
1567
906
|
export declare function updateDatapoint2CacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2CacheControl, SDKValidationError>;
|
|
1568
907
|
/** @internal */
|
|
1569
|
-
export declare const
|
|
908
|
+
export declare const UpdateDatapoint24$inboundSchema: z.ZodType<UpdateDatapoint24, z.ZodTypeDef, unknown>;
|
|
1570
909
|
/** @internal */
|
|
1571
|
-
export type
|
|
1572
|
-
type: "
|
|
1573
|
-
text: string;
|
|
910
|
+
export type UpdateDatapoint24$Outbound = {
|
|
911
|
+
type: "file";
|
|
1574
912
|
cache_control?: UpdateDatapoint2CacheControl$Outbound | undefined;
|
|
913
|
+
file: components.FileContentPartSchema$Outbound;
|
|
1575
914
|
};
|
|
1576
915
|
/** @internal */
|
|
1577
|
-
export declare const
|
|
1578
|
-
export declare function
|
|
1579
|
-
export declare function
|
|
916
|
+
export declare const UpdateDatapoint24$outboundSchema: z.ZodType<UpdateDatapoint24$Outbound, z.ZodTypeDef, UpdateDatapoint24>;
|
|
917
|
+
export declare function updateDatapoint24ToJSON(updateDatapoint24: UpdateDatapoint24): string;
|
|
918
|
+
export declare function updateDatapoint24FromJSON(jsonString: string): SafeParseResult<UpdateDatapoint24, SDKValidationError>;
|
|
1580
919
|
/** @internal */
|
|
1581
|
-
export declare const
|
|
920
|
+
export declare const UpdateDatapointContent2$inboundSchema: z.ZodType<UpdateDatapointContent2, z.ZodTypeDef, unknown>;
|
|
1582
921
|
/** @internal */
|
|
1583
|
-
export type
|
|
922
|
+
export type UpdateDatapointContent2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
923
|
+
type: "text";
|
|
924
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdateDatapoint24$Outbound;
|
|
1584
925
|
/** @internal */
|
|
1585
|
-
export declare const
|
|
1586
|
-
export declare function
|
|
1587
|
-
export declare function
|
|
926
|
+
export declare const UpdateDatapointContent2$outboundSchema: z.ZodType<UpdateDatapointContent2$Outbound, z.ZodTypeDef, UpdateDatapointContent2>;
|
|
927
|
+
export declare function updateDatapointContent2ToJSON(updateDatapointContent2: UpdateDatapointContent2): string;
|
|
928
|
+
export declare function updateDatapointContent2FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContent2, SDKValidationError>;
|
|
1588
929
|
/** @internal */
|
|
1589
930
|
export declare const UpdateDatapointMessagesDatasetsRequestContent$inboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsRequestContent, z.ZodTypeDef, unknown>;
|
|
1590
931
|
/** @internal */
|
|
1591
|
-
export type UpdateDatapointMessagesDatasetsRequestContent$Outbound = string | Array<
|
|
932
|
+
export type UpdateDatapointMessagesDatasetsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
933
|
+
type: "text";
|
|
934
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdateDatapoint24$Outbound>;
|
|
1592
935
|
/** @internal */
|
|
1593
936
|
export declare const UpdateDatapointMessagesDatasetsRequestContent$outboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsRequestContent$Outbound, z.ZodTypeDef, UpdateDatapointMessagesDatasetsRequestContent>;
|
|
1594
937
|
export declare function updateDatapointMessagesDatasetsRequestContentToJSON(updateDatapointMessagesDatasetsRequestContent: UpdateDatapointMessagesDatasetsRequestContent): string;
|
|
@@ -1599,51 +942,18 @@ export declare const UpdateDatapointMessagesUserMessage$inboundSchema: z.ZodType
|
|
|
1599
942
|
export type UpdateDatapointMessagesUserMessage$Outbound = {
|
|
1600
943
|
role: "user";
|
|
1601
944
|
name?: string | undefined;
|
|
1602
|
-
content: string | Array<
|
|
945
|
+
content: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
946
|
+
type: "text";
|
|
947
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdateDatapoint24$Outbound>;
|
|
1603
948
|
};
|
|
1604
949
|
/** @internal */
|
|
1605
950
|
export declare const UpdateDatapointMessagesUserMessage$outboundSchema: z.ZodType<UpdateDatapointMessagesUserMessage$Outbound, z.ZodTypeDef, UpdateDatapointMessagesUserMessage>;
|
|
1606
951
|
export declare function updateDatapointMessagesUserMessageToJSON(updateDatapointMessagesUserMessage: UpdateDatapointMessagesUserMessage): string;
|
|
1607
952
|
export declare function updateDatapointMessagesUserMessageFromJSON(jsonString: string): SafeParseResult<UpdateDatapointMessagesUserMessage, SDKValidationError>;
|
|
1608
953
|
/** @internal */
|
|
1609
|
-
export declare const UpdateDatapointContentDatasetsRequestType$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsRequestType>;
|
|
1610
|
-
/** @internal */
|
|
1611
|
-
export declare const UpdateDatapointContentDatasetsRequestType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsRequestType>;
|
|
1612
|
-
/** @internal */
|
|
1613
|
-
export declare const UpdateDatapointContentDatasetsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsRequestRequestBodyType>;
|
|
1614
|
-
/** @internal */
|
|
1615
|
-
export declare const UpdateDatapointContentDatasetsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsRequestRequestBodyType>;
|
|
1616
|
-
/** @internal */
|
|
1617
|
-
export declare const UpdateDatapointContentDatasetsTtl$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsTtl>;
|
|
1618
|
-
/** @internal */
|
|
1619
|
-
export declare const UpdateDatapointContentDatasetsTtl$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsTtl>;
|
|
1620
|
-
/** @internal */
|
|
1621
|
-
export declare const UpdateDatapointContentDatasetsCacheControl$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsCacheControl, z.ZodTypeDef, unknown>;
|
|
1622
|
-
/** @internal */
|
|
1623
|
-
export type UpdateDatapointContentDatasetsCacheControl$Outbound = {
|
|
1624
|
-
type: string;
|
|
1625
|
-
ttl: string;
|
|
1626
|
-
};
|
|
1627
|
-
/** @internal */
|
|
1628
|
-
export declare const UpdateDatapointContentDatasetsCacheControl$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsCacheControl$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsCacheControl>;
|
|
1629
|
-
export declare function updateDatapointContentDatasetsCacheControlToJSON(updateDatapointContentDatasetsCacheControl: UpdateDatapointContentDatasetsCacheControl): string;
|
|
1630
|
-
export declare function updateDatapointContentDatasetsCacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsCacheControl, SDKValidationError>;
|
|
1631
|
-
/** @internal */
|
|
1632
|
-
export declare const UpdateDatapointContentDatasets2$inboundSchema: z.ZodType<UpdateDatapointContentDatasets2, z.ZodTypeDef, unknown>;
|
|
1633
|
-
/** @internal */
|
|
1634
|
-
export type UpdateDatapointContentDatasets2$Outbound = {
|
|
1635
|
-
type: string;
|
|
1636
|
-
text: string;
|
|
1637
|
-
cache_control?: UpdateDatapointContentDatasetsCacheControl$Outbound | undefined;
|
|
1638
|
-
};
|
|
1639
|
-
/** @internal */
|
|
1640
|
-
export declare const UpdateDatapointContentDatasets2$outboundSchema: z.ZodType<UpdateDatapointContentDatasets2$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasets2>;
|
|
1641
|
-
export declare function updateDatapointContentDatasets2ToJSON(updateDatapointContentDatasets2: UpdateDatapointContentDatasets2): string;
|
|
1642
|
-
export declare function updateDatapointContentDatasets2FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasets2, SDKValidationError>;
|
|
1643
|
-
/** @internal */
|
|
1644
954
|
export declare const UpdateDatapointMessagesDatasetsContent$inboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsContent, z.ZodTypeDef, unknown>;
|
|
1645
955
|
/** @internal */
|
|
1646
|
-
export type UpdateDatapointMessagesDatasetsContent$Outbound = string | Array<
|
|
956
|
+
export type UpdateDatapointMessagesDatasetsContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
1647
957
|
/** @internal */
|
|
1648
958
|
export declare const UpdateDatapointMessagesDatasetsContent$outboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsContent$Outbound, z.ZodTypeDef, UpdateDatapointMessagesDatasetsContent>;
|
|
1649
959
|
export declare function updateDatapointMessagesDatasetsContentToJSON(updateDatapointMessagesDatasetsContent: UpdateDatapointMessagesDatasetsContent): string;
|
|
@@ -1653,7 +963,7 @@ export declare const UpdateDatapointMessagesDeveloperMessage$inboundSchema: z.Zo
|
|
|
1653
963
|
/** @internal */
|
|
1654
964
|
export type UpdateDatapointMessagesDeveloperMessage$Outbound = {
|
|
1655
965
|
role: "developer";
|
|
1656
|
-
content: string | Array<
|
|
966
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1657
967
|
name?: string | undefined;
|
|
1658
968
|
};
|
|
1659
969
|
/** @internal */
|
|
@@ -1661,44 +971,9 @@ export declare const UpdateDatapointMessagesDeveloperMessage$outboundSchema: z.Z
|
|
|
1661
971
|
export declare function updateDatapointMessagesDeveloperMessageToJSON(updateDatapointMessagesDeveloperMessage: UpdateDatapointMessagesDeveloperMessage): string;
|
|
1662
972
|
export declare function updateDatapointMessagesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<UpdateDatapointMessagesDeveloperMessage, SDKValidationError>;
|
|
1663
973
|
/** @internal */
|
|
1664
|
-
export declare const UpdateDatapointContentType$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentType>;
|
|
1665
|
-
/** @internal */
|
|
1666
|
-
export declare const UpdateDatapointContentType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentType>;
|
|
1667
|
-
/** @internal */
|
|
1668
|
-
export declare const UpdateDatapointContentDatasetsType$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsType>;
|
|
1669
|
-
/** @internal */
|
|
1670
|
-
export declare const UpdateDatapointContentDatasetsType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsType>;
|
|
1671
|
-
/** @internal */
|
|
1672
|
-
export declare const UpdateDatapointContentTtl$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentTtl>;
|
|
1673
|
-
/** @internal */
|
|
1674
|
-
export declare const UpdateDatapointContentTtl$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentTtl>;
|
|
1675
|
-
/** @internal */
|
|
1676
|
-
export declare const UpdateDatapointContentCacheControl$inboundSchema: z.ZodType<UpdateDatapointContentCacheControl, z.ZodTypeDef, unknown>;
|
|
1677
|
-
/** @internal */
|
|
1678
|
-
export type UpdateDatapointContentCacheControl$Outbound = {
|
|
1679
|
-
type: string;
|
|
1680
|
-
ttl: string;
|
|
1681
|
-
};
|
|
1682
|
-
/** @internal */
|
|
1683
|
-
export declare const UpdateDatapointContentCacheControl$outboundSchema: z.ZodType<UpdateDatapointContentCacheControl$Outbound, z.ZodTypeDef, UpdateDatapointContentCacheControl>;
|
|
1684
|
-
export declare function updateDatapointContentCacheControlToJSON(updateDatapointContentCacheControl: UpdateDatapointContentCacheControl): string;
|
|
1685
|
-
export declare function updateDatapointContentCacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentCacheControl, SDKValidationError>;
|
|
1686
|
-
/** @internal */
|
|
1687
|
-
export declare const UpdateDatapointContent2$inboundSchema: z.ZodType<UpdateDatapointContent2, z.ZodTypeDef, unknown>;
|
|
1688
|
-
/** @internal */
|
|
1689
|
-
export type UpdateDatapointContent2$Outbound = {
|
|
1690
|
-
type: string;
|
|
1691
|
-
text: string;
|
|
1692
|
-
cache_control?: UpdateDatapointContentCacheControl$Outbound | undefined;
|
|
1693
|
-
};
|
|
1694
|
-
/** @internal */
|
|
1695
|
-
export declare const UpdateDatapointContent2$outboundSchema: z.ZodType<UpdateDatapointContent2$Outbound, z.ZodTypeDef, UpdateDatapointContent2>;
|
|
1696
|
-
export declare function updateDatapointContent2ToJSON(updateDatapointContent2: UpdateDatapointContent2): string;
|
|
1697
|
-
export declare function updateDatapointContent2FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContent2, SDKValidationError>;
|
|
1698
|
-
/** @internal */
|
|
1699
974
|
export declare const UpdateDatapointMessagesContent$inboundSchema: z.ZodType<UpdateDatapointMessagesContent, z.ZodTypeDef, unknown>;
|
|
1700
975
|
/** @internal */
|
|
1701
|
-
export type UpdateDatapointMessagesContent$Outbound = string | Array<
|
|
976
|
+
export type UpdateDatapointMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
1702
977
|
/** @internal */
|
|
1703
978
|
export declare const UpdateDatapointMessagesContent$outboundSchema: z.ZodType<UpdateDatapointMessagesContent$Outbound, z.ZodTypeDef, UpdateDatapointMessagesContent>;
|
|
1704
979
|
export declare function updateDatapointMessagesContentToJSON(updateDatapointMessagesContent: UpdateDatapointMessagesContent): string;
|
|
@@ -1708,7 +983,7 @@ export declare const UpdateDatapointMessagesSystemMessage$inboundSchema: z.ZodTy
|
|
|
1708
983
|
/** @internal */
|
|
1709
984
|
export type UpdateDatapointMessagesSystemMessage$Outbound = {
|
|
1710
985
|
role: "system";
|
|
1711
|
-
content: string | Array<
|
|
986
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1712
987
|
name?: string | undefined;
|
|
1713
988
|
};
|
|
1714
989
|
/** @internal */
|
|
@@ -1750,52 +1025,17 @@ export declare const UpdateDatapointRequest$outboundSchema: z.ZodType<UpdateData
|
|
|
1750
1025
|
export declare function updateDatapointRequestToJSON(updateDatapointRequest: UpdateDatapointRequest): string;
|
|
1751
1026
|
export declare function updateDatapointRequestFromJSON(jsonString: string): SafeParseResult<UpdateDatapointRequest, SDKValidationError>;
|
|
1752
1027
|
/** @internal */
|
|
1753
|
-
export declare const
|
|
1754
|
-
/** @internal */
|
|
1755
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType>;
|
|
1756
|
-
/** @internal */
|
|
1757
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type>;
|
|
1758
|
-
/** @internal */
|
|
1759
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type>;
|
|
1760
|
-
/** @internal */
|
|
1761
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyTtl$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyTtl>;
|
|
1762
|
-
/** @internal */
|
|
1763
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyTtl$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyTtl>;
|
|
1764
|
-
/** @internal */
|
|
1765
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl$inboundSchema: z.ZodType<UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl, z.ZodTypeDef, unknown>;
|
|
1766
|
-
/** @internal */
|
|
1767
|
-
export type UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl$Outbound = {
|
|
1768
|
-
type: string;
|
|
1769
|
-
ttl: string;
|
|
1770
|
-
};
|
|
1771
|
-
/** @internal */
|
|
1772
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl$outboundSchema: z.ZodType<UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl$Outbound, z.ZodTypeDef, UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl>;
|
|
1773
|
-
export declare function updateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControlToJSON(updateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl: UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl): string;
|
|
1774
|
-
export declare function updateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl, SDKValidationError>;
|
|
1775
|
-
/** @internal */
|
|
1776
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJson1$inboundSchema: z.ZodType<UpdateDatapoint2DatasetsResponse200ApplicationJson1, z.ZodTypeDef, unknown>;
|
|
1777
|
-
/** @internal */
|
|
1778
|
-
export type UpdateDatapoint2DatasetsResponse200ApplicationJson1$Outbound = {
|
|
1779
|
-
type: string;
|
|
1780
|
-
text: string;
|
|
1781
|
-
cache_control?: UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyCacheControl$Outbound | undefined;
|
|
1782
|
-
};
|
|
1783
|
-
/** @internal */
|
|
1784
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJson1$outboundSchema: z.ZodType<UpdateDatapoint2DatasetsResponse200ApplicationJson1$Outbound, z.ZodTypeDef, UpdateDatapoint2DatasetsResponse200ApplicationJson1>;
|
|
1785
|
-
export declare function updateDatapoint2DatasetsResponse200ApplicationJSON1ToJSON(updateDatapoint2DatasetsResponse200ApplicationJson1: UpdateDatapoint2DatasetsResponse200ApplicationJson1): string;
|
|
1786
|
-
export declare function updateDatapoint2DatasetsResponse200ApplicationJSON1FromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2DatasetsResponse200ApplicationJson1, SDKValidationError>;
|
|
1787
|
-
/** @internal */
|
|
1788
|
-
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBodyMessages2$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBodyMessages2, z.ZodTypeDef, unknown>;
|
|
1028
|
+
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJson2$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse200ApplicationJson2, z.ZodTypeDef, unknown>;
|
|
1789
1029
|
/** @internal */
|
|
1790
|
-
export type
|
|
1030
|
+
export type UpdateDatapointContentDatasetsResponse200ApplicationJson2$Outbound = components.TextContentPartSchema$Outbound;
|
|
1791
1031
|
/** @internal */
|
|
1792
|
-
export declare const
|
|
1793
|
-
export declare function
|
|
1794
|
-
export declare function
|
|
1032
|
+
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJson2$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse200ApplicationJson2$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsResponse200ApplicationJson2>;
|
|
1033
|
+
export declare function updateDatapointContentDatasetsResponse200ApplicationJSON2ToJSON(updateDatapointContentDatasetsResponse200ApplicationJson2: UpdateDatapointContentDatasetsResponse200ApplicationJson2): string;
|
|
1034
|
+
export declare function updateDatapointContentDatasetsResponse200ApplicationJSON2FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsResponse200ApplicationJson2, SDKValidationError>;
|
|
1795
1035
|
/** @internal */
|
|
1796
1036
|
export declare const UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5Content$inboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5Content, z.ZodTypeDef, unknown>;
|
|
1797
1037
|
/** @internal */
|
|
1798
|
-
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5Content$Outbound = string | Array<
|
|
1038
|
+
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5Content$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
1799
1039
|
/** @internal */
|
|
1800
1040
|
export declare const UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5Content$outboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5Content$Outbound, z.ZodTypeDef, UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5Content>;
|
|
1801
1041
|
export declare function updateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5ContentToJSON(updateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5Content: UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBody5Content): string;
|
|
@@ -1824,7 +1064,7 @@ export declare const UpdateDatapointMessagesDatasetsToolMessage$inboundSchema: z
|
|
|
1824
1064
|
/** @internal */
|
|
1825
1065
|
export type UpdateDatapointMessagesDatasetsToolMessage$Outbound = {
|
|
1826
1066
|
role: "tool";
|
|
1827
|
-
content: string | Array<
|
|
1067
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1828
1068
|
tool_call_id: string;
|
|
1829
1069
|
cache_control?: UpdateDatapointMessagesDatasetsCacheControl$Outbound | undefined;
|
|
1830
1070
|
};
|
|
@@ -1833,48 +1073,21 @@ export declare const UpdateDatapointMessagesDatasetsToolMessage$outboundSchema:
|
|
|
1833
1073
|
export declare function updateDatapointMessagesDatasetsToolMessageToJSON(updateDatapointMessagesDatasetsToolMessage: UpdateDatapointMessagesDatasetsToolMessage): string;
|
|
1834
1074
|
export declare function updateDatapointMessagesDatasetsToolMessageFromJSON(jsonString: string): SafeParseResult<UpdateDatapointMessagesDatasetsToolMessage, SDKValidationError>;
|
|
1835
1075
|
/** @internal */
|
|
1836
|
-
export declare const
|
|
1837
|
-
/** @internal */
|
|
1838
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages4Type>;
|
|
1839
|
-
/** @internal */
|
|
1840
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONTtl$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONTtl>;
|
|
1841
|
-
/** @internal */
|
|
1842
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONTtl$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONTtl>;
|
|
1843
|
-
/** @internal */
|
|
1844
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONCacheControl$inboundSchema: z.ZodType<UpdateDatapoint2DatasetsResponse200ApplicationJSONCacheControl, z.ZodTypeDef, unknown>;
|
|
1845
|
-
/** @internal */
|
|
1846
|
-
export type UpdateDatapoint2DatasetsResponse200ApplicationJSONCacheControl$Outbound = {
|
|
1847
|
-
type: string;
|
|
1848
|
-
ttl: string;
|
|
1849
|
-
};
|
|
1850
|
-
/** @internal */
|
|
1851
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONCacheControl$outboundSchema: z.ZodType<UpdateDatapoint2DatasetsResponse200ApplicationJSONCacheControl$Outbound, z.ZodTypeDef, UpdateDatapoint2DatasetsResponse200ApplicationJSONCacheControl>;
|
|
1852
|
-
export declare function updateDatapoint2DatasetsResponse200ApplicationJSONCacheControlToJSON(updateDatapoint2DatasetsResponse200ApplicationJSONCacheControl: UpdateDatapoint2DatasetsResponse200ApplicationJSONCacheControl): string;
|
|
1853
|
-
export declare function updateDatapoint2DatasetsResponse200ApplicationJSONCacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2DatasetsResponse200ApplicationJSONCacheControl, SDKValidationError>;
|
|
1854
|
-
/** @internal */
|
|
1855
|
-
export declare const UpdateDatapoint2DatasetsResponse2001$inboundSchema: z.ZodType<UpdateDatapoint2DatasetsResponse2001, z.ZodTypeDef, unknown>;
|
|
1076
|
+
export declare const UpdateDatapointContentDatasetsResponse2002$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse2002, z.ZodTypeDef, unknown>;
|
|
1856
1077
|
/** @internal */
|
|
1857
|
-
export type
|
|
1078
|
+
export type UpdateDatapointContentDatasetsResponse2002$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1858
1079
|
type: "text";
|
|
1859
|
-
|
|
1860
|
-
cache_control?: UpdateDatapoint2DatasetsResponse200ApplicationJSONCacheControl$Outbound | undefined;
|
|
1861
|
-
};
|
|
1080
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
1862
1081
|
/** @internal */
|
|
1863
|
-
export declare const
|
|
1864
|
-
export declare function
|
|
1865
|
-
export declare function
|
|
1866
|
-
/** @internal */
|
|
1867
|
-
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2, z.ZodTypeDef, unknown>;
|
|
1868
|
-
/** @internal */
|
|
1869
|
-
export type UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2$Outbound = UpdateDatapoint2DatasetsResponse2001$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
|
|
1870
|
-
/** @internal */
|
|
1871
|
-
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2>;
|
|
1872
|
-
export declare function updateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2ToJSON(updateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2: UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2): string;
|
|
1873
|
-
export declare function updateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBody2, SDKValidationError>;
|
|
1082
|
+
export declare const UpdateDatapointContentDatasetsResponse2002$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse2002$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsResponse2002>;
|
|
1083
|
+
export declare function updateDatapointContentDatasetsResponse2002ToJSON(updateDatapointContentDatasetsResponse2002: UpdateDatapointContentDatasetsResponse2002): string;
|
|
1084
|
+
export declare function updateDatapointContentDatasetsResponse2002FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsResponse2002, SDKValidationError>;
|
|
1874
1085
|
/** @internal */
|
|
1875
1086
|
export declare const UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContent$inboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContent, z.ZodTypeDef, unknown>;
|
|
1876
1087
|
/** @internal */
|
|
1877
|
-
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContent$Outbound = string | Array<
|
|
1088
|
+
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1089
|
+
type: "text";
|
|
1090
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
|
|
1878
1091
|
/** @internal */
|
|
1879
1092
|
export declare const UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContent$outboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContent$Outbound, z.ZodTypeDef, UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContent>;
|
|
1880
1093
|
export declare function updateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContentToJSON(updateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContent: UpdateDatapointMessagesDatasetsResponse200ApplicationJSONResponseBodyContent): string;
|
|
@@ -1921,7 +1134,9 @@ export declare function updateDatapointMessagesDatasetsToolCallsFromJSON(jsonStr
|
|
|
1921
1134
|
export declare const UpdateDatapointMessagesDatasetsAssistantMessage$inboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1922
1135
|
/** @internal */
|
|
1923
1136
|
export type UpdateDatapointMessagesDatasetsAssistantMessage$Outbound = {
|
|
1924
|
-
content?: string | Array<
|
|
1137
|
+
content?: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1138
|
+
type: "text";
|
|
1139
|
+
}) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
|
|
1925
1140
|
refusal?: string | null | undefined;
|
|
1926
1141
|
role: "assistant";
|
|
1927
1142
|
name?: string | undefined;
|
|
@@ -1933,30 +1148,30 @@ export declare const UpdateDatapointMessagesDatasetsAssistantMessage$outboundSch
|
|
|
1933
1148
|
export declare function updateDatapointMessagesDatasetsAssistantMessageToJSON(updateDatapointMessagesDatasetsAssistantMessage: UpdateDatapointMessagesDatasetsAssistantMessage): string;
|
|
1934
1149
|
export declare function updateDatapointMessagesDatasetsAssistantMessageFromJSON(jsonString: string): SafeParseResult<UpdateDatapointMessagesDatasetsAssistantMessage, SDKValidationError>;
|
|
1935
1150
|
/** @internal */
|
|
1936
|
-
export declare const
|
|
1151
|
+
export declare const UpdateDatapoint2DatasetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200Type>;
|
|
1937
1152
|
/** @internal */
|
|
1938
|
-
export declare const
|
|
1153
|
+
export declare const UpdateDatapoint2DatasetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200Type>;
|
|
1939
1154
|
/** @internal */
|
|
1940
|
-
export declare const
|
|
1155
|
+
export declare const UpdateDatapoint2DatasetsTtl$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsTtl>;
|
|
1941
1156
|
/** @internal */
|
|
1942
|
-
export declare const
|
|
1157
|
+
export declare const UpdateDatapoint2DatasetsTtl$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsTtl>;
|
|
1943
1158
|
/** @internal */
|
|
1944
|
-
export declare const
|
|
1159
|
+
export declare const UpdateDatapoint2DatasetsCacheControl$inboundSchema: z.ZodType<UpdateDatapoint2DatasetsCacheControl, z.ZodTypeDef, unknown>;
|
|
1945
1160
|
/** @internal */
|
|
1946
|
-
export type
|
|
1161
|
+
export type UpdateDatapoint2DatasetsCacheControl$Outbound = {
|
|
1947
1162
|
type: string;
|
|
1948
1163
|
ttl: string;
|
|
1949
1164
|
};
|
|
1950
1165
|
/** @internal */
|
|
1951
|
-
export declare const
|
|
1952
|
-
export declare function
|
|
1953
|
-
export declare function
|
|
1166
|
+
export declare const UpdateDatapoint2DatasetsCacheControl$outboundSchema: z.ZodType<UpdateDatapoint2DatasetsCacheControl$Outbound, z.ZodTypeDef, UpdateDatapoint2DatasetsCacheControl>;
|
|
1167
|
+
export declare function updateDatapoint2DatasetsCacheControlToJSON(updateDatapoint2DatasetsCacheControl: UpdateDatapoint2DatasetsCacheControl): string;
|
|
1168
|
+
export declare function updateDatapoint2DatasetsCacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2DatasetsCacheControl, SDKValidationError>;
|
|
1954
1169
|
/** @internal */
|
|
1955
1170
|
export declare const UpdateDatapoint2Datasets4$inboundSchema: z.ZodType<UpdateDatapoint2Datasets4, z.ZodTypeDef, unknown>;
|
|
1956
1171
|
/** @internal */
|
|
1957
1172
|
export type UpdateDatapoint2Datasets4$Outbound = {
|
|
1958
1173
|
type: "file";
|
|
1959
|
-
cache_control?:
|
|
1174
|
+
cache_control?: UpdateDatapoint2DatasetsCacheControl$Outbound | undefined;
|
|
1960
1175
|
file: components.FileContentPartSchema$Outbound;
|
|
1961
1176
|
};
|
|
1962
1177
|
/** @internal */
|
|
@@ -1964,48 +1179,21 @@ export declare const UpdateDatapoint2Datasets4$outboundSchema: z.ZodType<UpdateD
|
|
|
1964
1179
|
export declare function updateDatapoint2Datasets4ToJSON(updateDatapoint2Datasets4: UpdateDatapoint2Datasets4): string;
|
|
1965
1180
|
export declare function updateDatapoint2Datasets4FromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2Datasets4, SDKValidationError>;
|
|
1966
1181
|
/** @internal */
|
|
1967
|
-
export declare const
|
|
1968
|
-
/** @internal */
|
|
1969
|
-
export declare const UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType>;
|
|
1970
|
-
/** @internal */
|
|
1971
|
-
export declare const UpdateDatapoint2DatasetsResponseTtl$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponseTtl>;
|
|
1972
|
-
/** @internal */
|
|
1973
|
-
export declare const UpdateDatapoint2DatasetsResponseTtl$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapoint2DatasetsResponseTtl>;
|
|
1974
|
-
/** @internal */
|
|
1975
|
-
export declare const UpdateDatapoint2DatasetsResponseCacheControl$inboundSchema: z.ZodType<UpdateDatapoint2DatasetsResponseCacheControl, z.ZodTypeDef, unknown>;
|
|
1976
|
-
/** @internal */
|
|
1977
|
-
export type UpdateDatapoint2DatasetsResponseCacheControl$Outbound = {
|
|
1978
|
-
type: string;
|
|
1979
|
-
ttl: string;
|
|
1980
|
-
};
|
|
1981
|
-
/** @internal */
|
|
1982
|
-
export declare const UpdateDatapoint2DatasetsResponseCacheControl$outboundSchema: z.ZodType<UpdateDatapoint2DatasetsResponseCacheControl$Outbound, z.ZodTypeDef, UpdateDatapoint2DatasetsResponseCacheControl>;
|
|
1983
|
-
export declare function updateDatapoint2DatasetsResponseCacheControlToJSON(updateDatapoint2DatasetsResponseCacheControl: UpdateDatapoint2DatasetsResponseCacheControl): string;
|
|
1984
|
-
export declare function updateDatapoint2DatasetsResponseCacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2DatasetsResponseCacheControl, SDKValidationError>;
|
|
1985
|
-
/** @internal */
|
|
1986
|
-
export declare const UpdateDatapoint2DatasetsResponse1$inboundSchema: z.ZodType<UpdateDatapoint2DatasetsResponse1, z.ZodTypeDef, unknown>;
|
|
1182
|
+
export declare const UpdateDatapointContentDatasetsResponse2$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse2, z.ZodTypeDef, unknown>;
|
|
1987
1183
|
/** @internal */
|
|
1988
|
-
export type
|
|
1184
|
+
export type UpdateDatapointContentDatasetsResponse2$Outbound = (components.TextContentPartSchema$Outbound & {
|
|
1989
1185
|
type: "text";
|
|
1990
|
-
|
|
1991
|
-
cache_control?: UpdateDatapoint2DatasetsResponseCacheControl$Outbound | undefined;
|
|
1992
|
-
};
|
|
1993
|
-
/** @internal */
|
|
1994
|
-
export declare const UpdateDatapoint2DatasetsResponse1$outboundSchema: z.ZodType<UpdateDatapoint2DatasetsResponse1$Outbound, z.ZodTypeDef, UpdateDatapoint2DatasetsResponse1>;
|
|
1995
|
-
export declare function updateDatapoint2DatasetsResponse1ToJSON(updateDatapoint2DatasetsResponse1: UpdateDatapoint2DatasetsResponse1): string;
|
|
1996
|
-
export declare function updateDatapoint2DatasetsResponse1FromJSON(jsonString: string): SafeParseResult<UpdateDatapoint2DatasetsResponse1, SDKValidationError>;
|
|
1186
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdateDatapoint2Datasets4$Outbound;
|
|
1997
1187
|
/** @internal */
|
|
1998
|
-
export declare const
|
|
1999
|
-
|
|
2000
|
-
export
|
|
2001
|
-
/** @internal */
|
|
2002
|
-
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJson2$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse200ApplicationJson2$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsResponse200ApplicationJson2>;
|
|
2003
|
-
export declare function updateDatapointContentDatasetsResponse200ApplicationJSON2ToJSON(updateDatapointContentDatasetsResponse200ApplicationJson2: UpdateDatapointContentDatasetsResponse200ApplicationJson2): string;
|
|
2004
|
-
export declare function updateDatapointContentDatasetsResponse200ApplicationJSON2FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsResponse200ApplicationJson2, SDKValidationError>;
|
|
1188
|
+
export declare const UpdateDatapointContentDatasetsResponse2$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse2$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsResponse2>;
|
|
1189
|
+
export declare function updateDatapointContentDatasetsResponse2ToJSON(updateDatapointContentDatasetsResponse2: UpdateDatapointContentDatasetsResponse2): string;
|
|
1190
|
+
export declare function updateDatapointContentDatasetsResponse2FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsResponse2, SDKValidationError>;
|
|
2005
1191
|
/** @internal */
|
|
2006
1192
|
export declare const UpdateDatapointMessagesDatasetsResponse200ApplicationJSONContent$inboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsResponse200ApplicationJSONContent, z.ZodTypeDef, unknown>;
|
|
2007
1193
|
/** @internal */
|
|
2008
|
-
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONContent$Outbound = string | Array<
|
|
1194
|
+
export type UpdateDatapointMessagesDatasetsResponse200ApplicationJSONContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1195
|
+
type: "text";
|
|
1196
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdateDatapoint2Datasets4$Outbound>;
|
|
2009
1197
|
/** @internal */
|
|
2010
1198
|
export declare const UpdateDatapointMessagesDatasetsResponse200ApplicationJSONContent$outboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsResponse200ApplicationJSONContent$Outbound, z.ZodTypeDef, UpdateDatapointMessagesDatasetsResponse200ApplicationJSONContent>;
|
|
2011
1199
|
export declare function updateDatapointMessagesDatasetsResponse200ApplicationJSONContentToJSON(updateDatapointMessagesDatasetsResponse200ApplicationJSONContent: UpdateDatapointMessagesDatasetsResponse200ApplicationJSONContent): string;
|
|
@@ -2016,51 +1204,18 @@ export declare const UpdateDatapointMessagesDatasetsUserMessage$inboundSchema: z
|
|
|
2016
1204
|
export type UpdateDatapointMessagesDatasetsUserMessage$Outbound = {
|
|
2017
1205
|
role: "user";
|
|
2018
1206
|
name?: string | undefined;
|
|
2019
|
-
content: string | Array<
|
|
1207
|
+
content: string | Array<(components.TextContentPartSchema$Outbound & {
|
|
1208
|
+
type: "text";
|
|
1209
|
+
}) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | UpdateDatapoint2Datasets4$Outbound>;
|
|
2020
1210
|
};
|
|
2021
1211
|
/** @internal */
|
|
2022
1212
|
export declare const UpdateDatapointMessagesDatasetsUserMessage$outboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsUserMessage$Outbound, z.ZodTypeDef, UpdateDatapointMessagesDatasetsUserMessage>;
|
|
2023
1213
|
export declare function updateDatapointMessagesDatasetsUserMessageToJSON(updateDatapointMessagesDatasetsUserMessage: UpdateDatapointMessagesDatasetsUserMessage): string;
|
|
2024
1214
|
export declare function updateDatapointMessagesDatasetsUserMessageFromJSON(jsonString: string): SafeParseResult<UpdateDatapointMessagesDatasetsUserMessage, SDKValidationError>;
|
|
2025
1215
|
/** @internal */
|
|
2026
|
-
export declare const UpdateDatapointContentDatasetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponse200Type>;
|
|
2027
|
-
/** @internal */
|
|
2028
|
-
export declare const UpdateDatapointContentDatasetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponse200Type>;
|
|
2029
|
-
/** @internal */
|
|
2030
|
-
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBodyType>;
|
|
2031
|
-
/** @internal */
|
|
2032
|
-
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponse200ApplicationJSONResponseBodyType>;
|
|
2033
|
-
/** @internal */
|
|
2034
|
-
export declare const UpdateDatapointContentDatasetsResponse200Ttl$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponse200Ttl>;
|
|
2035
|
-
/** @internal */
|
|
2036
|
-
export declare const UpdateDatapointContentDatasetsResponse200Ttl$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponse200Ttl>;
|
|
2037
|
-
/** @internal */
|
|
2038
|
-
export declare const UpdateDatapointContentDatasetsResponse200CacheControl$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse200CacheControl, z.ZodTypeDef, unknown>;
|
|
2039
|
-
/** @internal */
|
|
2040
|
-
export type UpdateDatapointContentDatasetsResponse200CacheControl$Outbound = {
|
|
2041
|
-
type: string;
|
|
2042
|
-
ttl: string;
|
|
2043
|
-
};
|
|
2044
|
-
/** @internal */
|
|
2045
|
-
export declare const UpdateDatapointContentDatasetsResponse200CacheControl$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse200CacheControl$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsResponse200CacheControl>;
|
|
2046
|
-
export declare function updateDatapointContentDatasetsResponse200CacheControlToJSON(updateDatapointContentDatasetsResponse200CacheControl: UpdateDatapointContentDatasetsResponse200CacheControl): string;
|
|
2047
|
-
export declare function updateDatapointContentDatasetsResponse200CacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsResponse200CacheControl, SDKValidationError>;
|
|
2048
|
-
/** @internal */
|
|
2049
|
-
export declare const UpdateDatapointContentDatasetsResponse2002$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse2002, z.ZodTypeDef, unknown>;
|
|
2050
|
-
/** @internal */
|
|
2051
|
-
export type UpdateDatapointContentDatasetsResponse2002$Outbound = {
|
|
2052
|
-
type: string;
|
|
2053
|
-
text: string;
|
|
2054
|
-
cache_control?: UpdateDatapointContentDatasetsResponse200CacheControl$Outbound | undefined;
|
|
2055
|
-
};
|
|
2056
|
-
/** @internal */
|
|
2057
|
-
export declare const UpdateDatapointContentDatasetsResponse2002$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse2002$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsResponse2002>;
|
|
2058
|
-
export declare function updateDatapointContentDatasetsResponse2002ToJSON(updateDatapointContentDatasetsResponse2002: UpdateDatapointContentDatasetsResponse2002): string;
|
|
2059
|
-
export declare function updateDatapointContentDatasetsResponse2002FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsResponse2002, SDKValidationError>;
|
|
2060
|
-
/** @internal */
|
|
2061
1216
|
export declare const UpdateDatapointMessagesDatasetsResponse200Content$inboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsResponse200Content, z.ZodTypeDef, unknown>;
|
|
2062
1217
|
/** @internal */
|
|
2063
|
-
export type UpdateDatapointMessagesDatasetsResponse200Content$Outbound = string | Array<
|
|
1218
|
+
export type UpdateDatapointMessagesDatasetsResponse200Content$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2064
1219
|
/** @internal */
|
|
2065
1220
|
export declare const UpdateDatapointMessagesDatasetsResponse200Content$outboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsResponse200Content$Outbound, z.ZodTypeDef, UpdateDatapointMessagesDatasetsResponse200Content>;
|
|
2066
1221
|
export declare function updateDatapointMessagesDatasetsResponse200ContentToJSON(updateDatapointMessagesDatasetsResponse200Content: UpdateDatapointMessagesDatasetsResponse200Content): string;
|
|
@@ -2070,7 +1225,7 @@ export declare const UpdateDatapointMessagesDatasetsDeveloperMessage$inboundSche
|
|
|
2070
1225
|
/** @internal */
|
|
2071
1226
|
export type UpdateDatapointMessagesDatasetsDeveloperMessage$Outbound = {
|
|
2072
1227
|
role: "developer";
|
|
2073
|
-
content: string | Array<
|
|
1228
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2074
1229
|
name?: string | undefined;
|
|
2075
1230
|
};
|
|
2076
1231
|
/** @internal */
|
|
@@ -2078,44 +1233,9 @@ export declare const UpdateDatapointMessagesDatasetsDeveloperMessage$outboundSch
|
|
|
2078
1233
|
export declare function updateDatapointMessagesDatasetsDeveloperMessageToJSON(updateDatapointMessagesDatasetsDeveloperMessage: UpdateDatapointMessagesDatasetsDeveloperMessage): string;
|
|
2079
1234
|
export declare function updateDatapointMessagesDatasetsDeveloperMessageFromJSON(jsonString: string): SafeParseResult<UpdateDatapointMessagesDatasetsDeveloperMessage, SDKValidationError>;
|
|
2080
1235
|
/** @internal */
|
|
2081
|
-
export declare const UpdateDatapointContentDatasetsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponseType>;
|
|
2082
|
-
/** @internal */
|
|
2083
|
-
export declare const UpdateDatapointContentDatasetsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponseType>;
|
|
2084
|
-
/** @internal */
|
|
2085
|
-
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponse200ApplicationJSONType>;
|
|
2086
|
-
/** @internal */
|
|
2087
|
-
export declare const UpdateDatapointContentDatasetsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponse200ApplicationJSONType>;
|
|
2088
|
-
/** @internal */
|
|
2089
|
-
export declare const UpdateDatapointContentDatasetsResponseTtl$inboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponseTtl>;
|
|
2090
|
-
/** @internal */
|
|
2091
|
-
export declare const UpdateDatapointContentDatasetsResponseTtl$outboundSchema: z.ZodNativeEnum<typeof UpdateDatapointContentDatasetsResponseTtl>;
|
|
2092
|
-
/** @internal */
|
|
2093
|
-
export declare const UpdateDatapointContentDatasetsResponseCacheControl$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponseCacheControl, z.ZodTypeDef, unknown>;
|
|
2094
|
-
/** @internal */
|
|
2095
|
-
export type UpdateDatapointContentDatasetsResponseCacheControl$Outbound = {
|
|
2096
|
-
type: string;
|
|
2097
|
-
ttl: string;
|
|
2098
|
-
};
|
|
2099
|
-
/** @internal */
|
|
2100
|
-
export declare const UpdateDatapointContentDatasetsResponseCacheControl$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponseCacheControl$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsResponseCacheControl>;
|
|
2101
|
-
export declare function updateDatapointContentDatasetsResponseCacheControlToJSON(updateDatapointContentDatasetsResponseCacheControl: UpdateDatapointContentDatasetsResponseCacheControl): string;
|
|
2102
|
-
export declare function updateDatapointContentDatasetsResponseCacheControlFromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsResponseCacheControl, SDKValidationError>;
|
|
2103
|
-
/** @internal */
|
|
2104
|
-
export declare const UpdateDatapointContentDatasetsResponse2$inboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse2, z.ZodTypeDef, unknown>;
|
|
2105
|
-
/** @internal */
|
|
2106
|
-
export type UpdateDatapointContentDatasetsResponse2$Outbound = {
|
|
2107
|
-
type: string;
|
|
2108
|
-
text: string;
|
|
2109
|
-
cache_control?: UpdateDatapointContentDatasetsResponseCacheControl$Outbound | undefined;
|
|
2110
|
-
};
|
|
2111
|
-
/** @internal */
|
|
2112
|
-
export declare const UpdateDatapointContentDatasetsResponse2$outboundSchema: z.ZodType<UpdateDatapointContentDatasetsResponse2$Outbound, z.ZodTypeDef, UpdateDatapointContentDatasetsResponse2>;
|
|
2113
|
-
export declare function updateDatapointContentDatasetsResponse2ToJSON(updateDatapointContentDatasetsResponse2: UpdateDatapointContentDatasetsResponse2): string;
|
|
2114
|
-
export declare function updateDatapointContentDatasetsResponse2FromJSON(jsonString: string): SafeParseResult<UpdateDatapointContentDatasetsResponse2, SDKValidationError>;
|
|
2115
|
-
/** @internal */
|
|
2116
1236
|
export declare const UpdateDatapointMessagesDatasetsResponseContent$inboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsResponseContent, z.ZodTypeDef, unknown>;
|
|
2117
1237
|
/** @internal */
|
|
2118
|
-
export type UpdateDatapointMessagesDatasetsResponseContent$Outbound = string | Array<
|
|
1238
|
+
export type UpdateDatapointMessagesDatasetsResponseContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
|
|
2119
1239
|
/** @internal */
|
|
2120
1240
|
export declare const UpdateDatapointMessagesDatasetsResponseContent$outboundSchema: z.ZodType<UpdateDatapointMessagesDatasetsResponseContent$Outbound, z.ZodTypeDef, UpdateDatapointMessagesDatasetsResponseContent>;
|
|
2121
1241
|
export declare function updateDatapointMessagesDatasetsResponseContentToJSON(updateDatapointMessagesDatasetsResponseContent: UpdateDatapointMessagesDatasetsResponseContent): string;
|
|
@@ -2125,7 +1245,7 @@ export declare const UpdateDatapointMessagesDatasetsSystemMessage$inboundSchema:
|
|
|
2125
1245
|
/** @internal */
|
|
2126
1246
|
export type UpdateDatapointMessagesDatasetsSystemMessage$Outbound = {
|
|
2127
1247
|
role: "system";
|
|
2128
|
-
content: string | Array<
|
|
1248
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2129
1249
|
name?: string | undefined;
|
|
2130
1250
|
};
|
|
2131
1251
|
/** @internal */
|