@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
|
@@ -21,90 +21,15 @@ export type RetrieveDatapointRequest = {
|
|
|
21
21
|
datapointId: string;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
export
|
|
25
|
-
|
|
26
|
-
} as const;
|
|
27
|
-
export type RetrieveDatapoint2DatasetsResponse200Type = ClosedEnum<
|
|
28
|
-
typeof RetrieveDatapoint2DatasetsResponse200Type
|
|
29
|
-
>;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
33
|
-
*/
|
|
34
|
-
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type =
|
|
35
|
-
{
|
|
36
|
-
Ephemeral: "ephemeral",
|
|
37
|
-
} as const;
|
|
38
|
-
/**
|
|
39
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
40
|
-
*/
|
|
41
|
-
export type RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type =
|
|
42
|
-
ClosedEnum<
|
|
43
|
-
typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type
|
|
44
|
-
>;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
48
|
-
*
|
|
49
|
-
* @remarks
|
|
50
|
-
*
|
|
51
|
-
* - `5m`: 5 minutes
|
|
52
|
-
* - `1h`: 1 hour
|
|
53
|
-
*
|
|
54
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
55
|
-
*/
|
|
56
|
-
export const RetrieveDatapoint2DatasetsResponse200Ttl = {
|
|
57
|
-
Fivem: "5m",
|
|
58
|
-
Oneh: "1h",
|
|
59
|
-
} as const;
|
|
60
|
-
/**
|
|
61
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
62
|
-
*
|
|
63
|
-
* @remarks
|
|
64
|
-
*
|
|
65
|
-
* - `5m`: 5 minutes
|
|
66
|
-
* - `1h`: 1 hour
|
|
67
|
-
*
|
|
68
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
69
|
-
*/
|
|
70
|
-
export type RetrieveDatapoint2DatasetsResponse200Ttl = ClosedEnum<
|
|
71
|
-
typeof RetrieveDatapoint2DatasetsResponse200Ttl
|
|
72
|
-
>;
|
|
73
|
-
|
|
74
|
-
export type RetrieveDatapoint2DatasetsResponse200CacheControl = {
|
|
75
|
-
/**
|
|
76
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
77
|
-
*/
|
|
78
|
-
type:
|
|
79
|
-
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type;
|
|
80
|
-
/**
|
|
81
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
82
|
-
*
|
|
83
|
-
* @remarks
|
|
84
|
-
*
|
|
85
|
-
* - `5m`: 5 minutes
|
|
86
|
-
* - `1h`: 1 hour
|
|
87
|
-
*
|
|
88
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
89
|
-
*/
|
|
90
|
-
ttl?: RetrieveDatapoint2DatasetsResponse200Ttl | undefined;
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
export type RetrieveDatapoint2DatasetsResponse1 = {
|
|
94
|
-
type: RetrieveDatapoint2DatasetsResponse200Type;
|
|
95
|
-
text: string;
|
|
96
|
-
cacheControl?: RetrieveDatapoint2DatasetsResponse200CacheControl | undefined;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export type RetrieveDatapointContentDatasetsResponse200ApplicationJson2 =
|
|
100
|
-
RetrieveDatapoint2DatasetsResponse1;
|
|
24
|
+
export type RetrieveDatapointContentDatasetsResponse2 =
|
|
25
|
+
components.TextContentPartSchema;
|
|
101
26
|
|
|
102
27
|
/**
|
|
103
28
|
* The contents of the tool message.
|
|
104
29
|
*/
|
|
105
30
|
export type RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent =
|
|
106
31
|
| string
|
|
107
|
-
| Array<
|
|
32
|
+
| Array<components.TextContentPartSchema>;
|
|
108
33
|
|
|
109
34
|
/**
|
|
110
35
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
@@ -173,7 +98,7 @@ export type RetrieveDatapointMessagesToolMessage = {
|
|
|
173
98
|
/**
|
|
174
99
|
* The contents of the tool message.
|
|
175
100
|
*/
|
|
176
|
-
content: string | Array<
|
|
101
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
177
102
|
/**
|
|
178
103
|
* Tool call that this message is responding to.
|
|
179
104
|
*/
|
|
@@ -181,75 +106,8 @@ export type RetrieveDatapointMessagesToolMessage = {
|
|
|
181
106
|
cacheControl?: RetrieveDatapointMessagesCacheControl | undefined;
|
|
182
107
|
};
|
|
183
108
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
*/
|
|
187
|
-
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType =
|
|
188
|
-
{
|
|
189
|
-
Ephemeral: "ephemeral",
|
|
190
|
-
} as const;
|
|
191
|
-
/**
|
|
192
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
193
|
-
*/
|
|
194
|
-
export type RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType =
|
|
195
|
-
ClosedEnum<
|
|
196
|
-
typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType
|
|
197
|
-
>;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
201
|
-
*
|
|
202
|
-
* @remarks
|
|
203
|
-
*
|
|
204
|
-
* - `5m`: 5 minutes
|
|
205
|
-
* - `1h`: 1 hour
|
|
206
|
-
*
|
|
207
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
208
|
-
*/
|
|
209
|
-
export const RetrieveDatapoint2DatasetsResponseTtl = {
|
|
210
|
-
Fivem: "5m",
|
|
211
|
-
Oneh: "1h",
|
|
212
|
-
} as const;
|
|
213
|
-
/**
|
|
214
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
215
|
-
*
|
|
216
|
-
* @remarks
|
|
217
|
-
*
|
|
218
|
-
* - `5m`: 5 minutes
|
|
219
|
-
* - `1h`: 1 hour
|
|
220
|
-
*
|
|
221
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
222
|
-
*/
|
|
223
|
-
export type RetrieveDatapoint2DatasetsResponseTtl = ClosedEnum<
|
|
224
|
-
typeof RetrieveDatapoint2DatasetsResponseTtl
|
|
225
|
-
>;
|
|
226
|
-
|
|
227
|
-
export type RetrieveDatapoint2DatasetsResponseCacheControl = {
|
|
228
|
-
/**
|
|
229
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
230
|
-
*/
|
|
231
|
-
type: RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType;
|
|
232
|
-
/**
|
|
233
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
234
|
-
*
|
|
235
|
-
* @remarks
|
|
236
|
-
*
|
|
237
|
-
* - `5m`: 5 minutes
|
|
238
|
-
* - `1h`: 1 hour
|
|
239
|
-
*
|
|
240
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
241
|
-
*/
|
|
242
|
-
ttl?: RetrieveDatapoint2DatasetsResponseTtl | undefined;
|
|
243
|
-
};
|
|
244
|
-
|
|
245
|
-
export type RetrieveDatapoint2Datasets1 = {
|
|
246
|
-
type: "text";
|
|
247
|
-
text: string;
|
|
248
|
-
cacheControl?: RetrieveDatapoint2DatasetsResponseCacheControl | undefined;
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
export type RetrieveDatapointContentDatasetsResponse2002 =
|
|
252
|
-
| RetrieveDatapoint2Datasets1
|
|
109
|
+
export type RetrieveDatapointContentDatasets2 =
|
|
110
|
+
| (components.TextContentPartSchema & { type: "text" })
|
|
253
111
|
| components.RefusalPartSchema
|
|
254
112
|
| components.ReasoningPartSchema
|
|
255
113
|
| components.RedactedReasoningPartSchema;
|
|
@@ -260,7 +118,7 @@ export type RetrieveDatapointContentDatasetsResponse2002 =
|
|
|
260
118
|
export type RetrieveDatapointMessagesDatasetsResponse200Content =
|
|
261
119
|
| string
|
|
262
120
|
| Array<
|
|
263
|
-
|
|
|
121
|
+
| (components.TextContentPartSchema & { type: "text" })
|
|
264
122
|
| components.RefusalPartSchema
|
|
265
123
|
| components.ReasoningPartSchema
|
|
266
124
|
| components.RedactedReasoningPartSchema
|
|
@@ -323,7 +181,7 @@ export type RetrieveDatapointMessagesAssistantMessage = {
|
|
|
323
181
|
content?:
|
|
324
182
|
| string
|
|
325
183
|
| Array<
|
|
326
|
-
|
|
|
184
|
+
| (components.TextContentPartSchema & { type: "text" })
|
|
327
185
|
| components.RefusalPartSchema
|
|
328
186
|
| components.ReasoningPartSchema
|
|
329
187
|
| components.RedactedReasoningPartSchema
|
|
@@ -355,17 +213,15 @@ export type RetrieveDatapointMessagesAssistantMessage = {
|
|
|
355
213
|
/**
|
|
356
214
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
357
215
|
*/
|
|
358
|
-
export const
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
} as const;
|
|
216
|
+
export const RetrieveDatapoint2DatasetsType = {
|
|
217
|
+
Ephemeral: "ephemeral",
|
|
218
|
+
} as const;
|
|
362
219
|
/**
|
|
363
220
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
364
221
|
*/
|
|
365
|
-
export type
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
>;
|
|
222
|
+
export type RetrieveDatapoint2DatasetsType = ClosedEnum<
|
|
223
|
+
typeof RetrieveDatapoint2DatasetsType
|
|
224
|
+
>;
|
|
369
225
|
|
|
370
226
|
/**
|
|
371
227
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
@@ -377,7 +233,7 @@ export type RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMess
|
|
|
377
233
|
*
|
|
378
234
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
379
235
|
*/
|
|
380
|
-
export const
|
|
236
|
+
export const RetrieveDatapoint2Ttl = {
|
|
381
237
|
Fivem: "5m",
|
|
382
238
|
Oneh: "1h",
|
|
383
239
|
} as const;
|
|
@@ -391,16 +247,13 @@ export const RetrieveDatapoint2DatasetsTtl = {
|
|
|
391
247
|
*
|
|
392
248
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
393
249
|
*/
|
|
394
|
-
export type
|
|
395
|
-
typeof RetrieveDatapoint2DatasetsTtl
|
|
396
|
-
>;
|
|
250
|
+
export type RetrieveDatapoint2Ttl = ClosedEnum<typeof RetrieveDatapoint2Ttl>;
|
|
397
251
|
|
|
398
|
-
export type
|
|
252
|
+
export type RetrieveDatapoint2CacheControl = {
|
|
399
253
|
/**
|
|
400
254
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
401
255
|
*/
|
|
402
|
-
type:
|
|
403
|
-
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType;
|
|
256
|
+
type: RetrieveDatapoint2DatasetsType;
|
|
404
257
|
/**
|
|
405
258
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
406
259
|
*
|
|
@@ -411,7 +264,7 @@ export type RetrieveDatapoint2DatasetsCacheControl = {
|
|
|
411
264
|
*
|
|
412
265
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
413
266
|
*/
|
|
414
|
-
ttl?:
|
|
267
|
+
ttl?: RetrieveDatapoint2Ttl | undefined;
|
|
415
268
|
};
|
|
416
269
|
|
|
417
270
|
export type RetrieveDatapoint24 = {
|
|
@@ -419,77 +272,15 @@ export type RetrieveDatapoint24 = {
|
|
|
419
272
|
* The type of the content part. Always `file`.
|
|
420
273
|
*/
|
|
421
274
|
type: "file";
|
|
422
|
-
cacheControl?:
|
|
275
|
+
cacheControl?: RetrieveDatapoint2CacheControl | undefined;
|
|
423
276
|
/**
|
|
424
277
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
425
278
|
*/
|
|
426
279
|
file: components.FileContentPartSchema;
|
|
427
280
|
};
|
|
428
281
|
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
*/
|
|
432
|
-
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONType = {
|
|
433
|
-
Ephemeral: "ephemeral",
|
|
434
|
-
} as const;
|
|
435
|
-
/**
|
|
436
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
437
|
-
*/
|
|
438
|
-
export type RetrieveDatapoint2DatasetsResponse200ApplicationJSONType =
|
|
439
|
-
ClosedEnum<typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONType>;
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
443
|
-
*
|
|
444
|
-
* @remarks
|
|
445
|
-
*
|
|
446
|
-
* - `5m`: 5 minutes
|
|
447
|
-
* - `1h`: 1 hour
|
|
448
|
-
*
|
|
449
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
450
|
-
*/
|
|
451
|
-
export const RetrieveDatapoint2Ttl = {
|
|
452
|
-
Fivem: "5m",
|
|
453
|
-
Oneh: "1h",
|
|
454
|
-
} as const;
|
|
455
|
-
/**
|
|
456
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
457
|
-
*
|
|
458
|
-
* @remarks
|
|
459
|
-
*
|
|
460
|
-
* - `5m`: 5 minutes
|
|
461
|
-
* - `1h`: 1 hour
|
|
462
|
-
*
|
|
463
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
464
|
-
*/
|
|
465
|
-
export type RetrieveDatapoint2Ttl = ClosedEnum<typeof RetrieveDatapoint2Ttl>;
|
|
466
|
-
|
|
467
|
-
export type RetrieveDatapoint2CacheControl = {
|
|
468
|
-
/**
|
|
469
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
470
|
-
*/
|
|
471
|
-
type: RetrieveDatapoint2DatasetsResponse200ApplicationJSONType;
|
|
472
|
-
/**
|
|
473
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
474
|
-
*
|
|
475
|
-
* @remarks
|
|
476
|
-
*
|
|
477
|
-
* - `5m`: 5 minutes
|
|
478
|
-
* - `1h`: 1 hour
|
|
479
|
-
*
|
|
480
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
481
|
-
*/
|
|
482
|
-
ttl?: RetrieveDatapoint2Ttl | undefined;
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
export type RetrieveDatapoint21 = {
|
|
486
|
-
type: "text";
|
|
487
|
-
text: string;
|
|
488
|
-
cacheControl?: RetrieveDatapoint2CacheControl | undefined;
|
|
489
|
-
};
|
|
490
|
-
|
|
491
|
-
export type RetrieveDatapointContentDatasetsResponse2 =
|
|
492
|
-
| RetrieveDatapoint21
|
|
282
|
+
export type RetrieveDatapointContent2 =
|
|
283
|
+
| (components.TextContentPartSchema & { type: "text" })
|
|
493
284
|
| components.ImageContentPartSchema
|
|
494
285
|
| components.AudioContentPartSchema
|
|
495
286
|
| RetrieveDatapoint24;
|
|
@@ -500,7 +291,7 @@ export type RetrieveDatapointContentDatasetsResponse2 =
|
|
|
500
291
|
export type RetrieveDatapointMessagesDatasetsResponseContent =
|
|
501
292
|
| string
|
|
502
293
|
| Array<
|
|
503
|
-
|
|
|
294
|
+
| (components.TextContentPartSchema & { type: "text" })
|
|
504
295
|
| components.ImageContentPartSchema
|
|
505
296
|
| components.AudioContentPartSchema
|
|
506
297
|
| RetrieveDatapoint24
|
|
@@ -521,216 +312,72 @@ export type RetrieveDatapointMessagesUserMessage = {
|
|
|
521
312
|
content:
|
|
522
313
|
| string
|
|
523
314
|
| Array<
|
|
524
|
-
|
|
|
315
|
+
| (components.TextContentPartSchema & { type: "text" })
|
|
525
316
|
| components.ImageContentPartSchema
|
|
526
317
|
| components.AudioContentPartSchema
|
|
527
318
|
| RetrieveDatapoint24
|
|
528
319
|
>;
|
|
529
320
|
};
|
|
530
321
|
|
|
531
|
-
export const RetrieveDatapointContentDatasetsType = {
|
|
532
|
-
Text: "text",
|
|
533
|
-
} as const;
|
|
534
|
-
export type RetrieveDatapointContentDatasetsType = ClosedEnum<
|
|
535
|
-
typeof RetrieveDatapointContentDatasetsType
|
|
536
|
-
>;
|
|
537
|
-
|
|
538
|
-
/**
|
|
539
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
540
|
-
*/
|
|
541
|
-
export const RetrieveDatapointContentDatasetsResponse200Type = {
|
|
542
|
-
Ephemeral: "ephemeral",
|
|
543
|
-
} as const;
|
|
544
|
-
/**
|
|
545
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
546
|
-
*/
|
|
547
|
-
export type RetrieveDatapointContentDatasetsResponse200Type = ClosedEnum<
|
|
548
|
-
typeof RetrieveDatapointContentDatasetsResponse200Type
|
|
549
|
-
>;
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
553
|
-
*
|
|
554
|
-
* @remarks
|
|
555
|
-
*
|
|
556
|
-
* - `5m`: 5 minutes
|
|
557
|
-
* - `1h`: 1 hour
|
|
558
|
-
*
|
|
559
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
560
|
-
*/
|
|
561
|
-
export const RetrieveDatapointContentDatasetsTtl = {
|
|
562
|
-
Fivem: "5m",
|
|
563
|
-
Oneh: "1h",
|
|
564
|
-
} as const;
|
|
565
322
|
/**
|
|
566
|
-
* The
|
|
567
|
-
*
|
|
568
|
-
* @remarks
|
|
569
|
-
*
|
|
570
|
-
* - `5m`: 5 minutes
|
|
571
|
-
* - `1h`: 1 hour
|
|
572
|
-
*
|
|
573
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
323
|
+
* The contents of the developer message.
|
|
574
324
|
*/
|
|
575
|
-
export type
|
|
576
|
-
|
|
577
|
-
>;
|
|
325
|
+
export type RetrieveDatapointMessagesDatasetsContent =
|
|
326
|
+
| string
|
|
327
|
+
| Array<components.TextContentPartSchema>;
|
|
578
328
|
|
|
579
|
-
export type
|
|
329
|
+
export type RetrieveDatapointMessagesDeveloperMessage = {
|
|
580
330
|
/**
|
|
581
|
-
*
|
|
331
|
+
* The role of the messages author, in this case `developer`.
|
|
582
332
|
*/
|
|
583
|
-
|
|
333
|
+
role: "developer";
|
|
584
334
|
/**
|
|
585
|
-
* The
|
|
586
|
-
*
|
|
587
|
-
* @remarks
|
|
588
|
-
*
|
|
589
|
-
* - `5m`: 5 minutes
|
|
590
|
-
* - `1h`: 1 hour
|
|
591
|
-
*
|
|
592
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
335
|
+
* The contents of the developer message.
|
|
593
336
|
*/
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
text: string;
|
|
600
|
-
cacheControl?: RetrieveDatapointContentDatasetsCacheControl | undefined;
|
|
337
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
338
|
+
/**
|
|
339
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
340
|
+
*/
|
|
341
|
+
name?: string | undefined;
|
|
601
342
|
};
|
|
602
343
|
|
|
603
344
|
/**
|
|
604
|
-
* The contents of the
|
|
345
|
+
* The contents of the system message.
|
|
605
346
|
*/
|
|
606
|
-
export type
|
|
347
|
+
export type RetrieveDatapointMessagesContent =
|
|
607
348
|
| string
|
|
608
|
-
| Array<
|
|
349
|
+
| Array<components.TextContentPartSchema>;
|
|
609
350
|
|
|
610
|
-
|
|
351
|
+
/**
|
|
352
|
+
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
353
|
+
*/
|
|
354
|
+
export type RetrieveDatapointMessagesSystemMessage = {
|
|
611
355
|
/**
|
|
612
|
-
* The role of the messages author, in this case
|
|
356
|
+
* The role of the messages author, in this case `system`.
|
|
613
357
|
*/
|
|
614
|
-
role: "
|
|
358
|
+
role: "system";
|
|
615
359
|
/**
|
|
616
|
-
* The contents of the
|
|
360
|
+
* The contents of the system message.
|
|
617
361
|
*/
|
|
618
|
-
content: string | Array<
|
|
362
|
+
content: string | Array<components.TextContentPartSchema>;
|
|
619
363
|
/**
|
|
620
364
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
621
365
|
*/
|
|
622
366
|
name?: string | undefined;
|
|
623
367
|
};
|
|
624
368
|
|
|
625
|
-
export
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
369
|
+
export type RetrieveDatapointMessages =
|
|
370
|
+
| RetrieveDatapointMessagesSystemMessage
|
|
371
|
+
| RetrieveDatapointMessagesDeveloperMessage
|
|
372
|
+
| RetrieveDatapointMessagesUserMessage
|
|
373
|
+
| RetrieveDatapointMessagesAssistantMessage
|
|
374
|
+
| RetrieveDatapointMessagesToolMessage;
|
|
631
375
|
|
|
632
376
|
/**
|
|
633
|
-
*
|
|
377
|
+
* The type of evaluation
|
|
634
378
|
*/
|
|
635
|
-
export const
|
|
636
|
-
|
|
637
|
-
} as const;
|
|
638
|
-
/**
|
|
639
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
640
|
-
*/
|
|
641
|
-
export type RetrieveDatapointContentDatasetsResponseType = ClosedEnum<
|
|
642
|
-
typeof RetrieveDatapointContentDatasetsResponseType
|
|
643
|
-
>;
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
647
|
-
*
|
|
648
|
-
* @remarks
|
|
649
|
-
*
|
|
650
|
-
* - `5m`: 5 minutes
|
|
651
|
-
* - `1h`: 1 hour
|
|
652
|
-
*
|
|
653
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
654
|
-
*/
|
|
655
|
-
export const RetrieveDatapointContentTtl = {
|
|
656
|
-
Fivem: "5m",
|
|
657
|
-
Oneh: "1h",
|
|
658
|
-
} as const;
|
|
659
|
-
/**
|
|
660
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
661
|
-
*
|
|
662
|
-
* @remarks
|
|
663
|
-
*
|
|
664
|
-
* - `5m`: 5 minutes
|
|
665
|
-
* - `1h`: 1 hour
|
|
666
|
-
*
|
|
667
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
668
|
-
*/
|
|
669
|
-
export type RetrieveDatapointContentTtl = ClosedEnum<
|
|
670
|
-
typeof RetrieveDatapointContentTtl
|
|
671
|
-
>;
|
|
672
|
-
|
|
673
|
-
export type RetrieveDatapointContentCacheControl = {
|
|
674
|
-
/**
|
|
675
|
-
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
676
|
-
*/
|
|
677
|
-
type: RetrieveDatapointContentDatasetsResponseType;
|
|
678
|
-
/**
|
|
679
|
-
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
680
|
-
*
|
|
681
|
-
* @remarks
|
|
682
|
-
*
|
|
683
|
-
* - `5m`: 5 minutes
|
|
684
|
-
* - `1h`: 1 hour
|
|
685
|
-
*
|
|
686
|
-
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
687
|
-
*/
|
|
688
|
-
ttl?: RetrieveDatapointContentTtl | undefined;
|
|
689
|
-
};
|
|
690
|
-
|
|
691
|
-
export type RetrieveDatapointContent2 = {
|
|
692
|
-
type: RetrieveDatapointContentType;
|
|
693
|
-
text: string;
|
|
694
|
-
cacheControl?: RetrieveDatapointContentCacheControl | undefined;
|
|
695
|
-
};
|
|
696
|
-
|
|
697
|
-
/**
|
|
698
|
-
* The contents of the system message.
|
|
699
|
-
*/
|
|
700
|
-
export type RetrieveDatapointMessagesContent =
|
|
701
|
-
| string
|
|
702
|
-
| Array<RetrieveDatapointContent2>;
|
|
703
|
-
|
|
704
|
-
/**
|
|
705
|
-
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
706
|
-
*/
|
|
707
|
-
export type RetrieveDatapointMessagesSystemMessage = {
|
|
708
|
-
/**
|
|
709
|
-
* The role of the messages author, in this case `system`.
|
|
710
|
-
*/
|
|
711
|
-
role: "system";
|
|
712
|
-
/**
|
|
713
|
-
* The contents of the system message.
|
|
714
|
-
*/
|
|
715
|
-
content: string | Array<RetrieveDatapointContent2>;
|
|
716
|
-
/**
|
|
717
|
-
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
718
|
-
*/
|
|
719
|
-
name?: string | undefined;
|
|
720
|
-
};
|
|
721
|
-
|
|
722
|
-
export type RetrieveDatapointMessages =
|
|
723
|
-
| RetrieveDatapointMessagesSystemMessage
|
|
724
|
-
| RetrieveDatapointMessagesDeveloperMessage
|
|
725
|
-
| RetrieveDatapointMessagesUserMessage
|
|
726
|
-
| RetrieveDatapointMessagesAssistantMessage
|
|
727
|
-
| RetrieveDatapointMessagesToolMessage;
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
* The type of evaluation
|
|
731
|
-
*/
|
|
732
|
-
export const RetrieveDatapointEvaluationsDatasetsResponseEvaluationType = {
|
|
733
|
-
HumanReview: "human_review",
|
|
379
|
+
export const RetrieveDatapointEvaluationsDatasetsResponseEvaluationType = {
|
|
380
|
+
HumanReview: "human_review",
|
|
734
381
|
} as const;
|
|
735
382
|
/**
|
|
736
383
|
* The type of evaluation
|
|
@@ -989,194 +636,46 @@ export function retrieveDatapointRequestFromJSON(
|
|
|
989
636
|
}
|
|
990
637
|
|
|
991
638
|
/** @internal */
|
|
992
|
-
export const
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
z.ZodNativeEnum<typeof RetrieveDatapoint2DatasetsResponse200Type> =
|
|
998
|
-
RetrieveDatapoint2DatasetsResponse200Type$inboundSchema;
|
|
999
|
-
|
|
1000
|
-
/** @internal */
|
|
1001
|
-
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type$inboundSchema:
|
|
1002
|
-
z.ZodNativeEnum<
|
|
1003
|
-
typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type
|
|
1004
|
-
> = z.nativeEnum(
|
|
1005
|
-
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type,
|
|
1006
|
-
);
|
|
1007
|
-
/** @internal */
|
|
1008
|
-
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type$outboundSchema:
|
|
1009
|
-
z.ZodNativeEnum<
|
|
1010
|
-
typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type
|
|
1011
|
-
> =
|
|
1012
|
-
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type$inboundSchema;
|
|
1013
|
-
|
|
1014
|
-
/** @internal */
|
|
1015
|
-
export const RetrieveDatapoint2DatasetsResponse200Ttl$inboundSchema:
|
|
1016
|
-
z.ZodNativeEnum<typeof RetrieveDatapoint2DatasetsResponse200Ttl> = z
|
|
1017
|
-
.nativeEnum(RetrieveDatapoint2DatasetsResponse200Ttl);
|
|
1018
|
-
/** @internal */
|
|
1019
|
-
export const RetrieveDatapoint2DatasetsResponse200Ttl$outboundSchema:
|
|
1020
|
-
z.ZodNativeEnum<typeof RetrieveDatapoint2DatasetsResponse200Ttl> =
|
|
1021
|
-
RetrieveDatapoint2DatasetsResponse200Ttl$inboundSchema;
|
|
1022
|
-
|
|
1023
|
-
/** @internal */
|
|
1024
|
-
export const RetrieveDatapoint2DatasetsResponse200CacheControl$inboundSchema:
|
|
1025
|
-
z.ZodType<
|
|
1026
|
-
RetrieveDatapoint2DatasetsResponse200CacheControl,
|
|
1027
|
-
z.ZodTypeDef,
|
|
1028
|
-
unknown
|
|
1029
|
-
> = z.object({
|
|
1030
|
-
type:
|
|
1031
|
-
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type$inboundSchema,
|
|
1032
|
-
ttl: RetrieveDatapoint2DatasetsResponse200Ttl$inboundSchema.default("5m"),
|
|
1033
|
-
});
|
|
639
|
+
export const RetrieveDatapointContentDatasetsResponse2$inboundSchema: z.ZodType<
|
|
640
|
+
RetrieveDatapointContentDatasetsResponse2,
|
|
641
|
+
z.ZodTypeDef,
|
|
642
|
+
unknown
|
|
643
|
+
> = components.TextContentPartSchema$inboundSchema;
|
|
1034
644
|
/** @internal */
|
|
1035
|
-
export type
|
|
1036
|
-
|
|
1037
|
-
ttl: string;
|
|
1038
|
-
};
|
|
645
|
+
export type RetrieveDatapointContentDatasetsResponse2$Outbound =
|
|
646
|
+
components.TextContentPartSchema$Outbound;
|
|
1039
647
|
|
|
1040
648
|
/** @internal */
|
|
1041
|
-
export const
|
|
649
|
+
export const RetrieveDatapointContentDatasetsResponse2$outboundSchema:
|
|
1042
650
|
z.ZodType<
|
|
1043
|
-
|
|
651
|
+
RetrieveDatapointContentDatasetsResponse2$Outbound,
|
|
1044
652
|
z.ZodTypeDef,
|
|
1045
|
-
|
|
1046
|
-
> =
|
|
1047
|
-
type:
|
|
1048
|
-
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type$outboundSchema,
|
|
1049
|
-
ttl: RetrieveDatapoint2DatasetsResponse200Ttl$outboundSchema.default("5m"),
|
|
1050
|
-
});
|
|
653
|
+
RetrieveDatapointContentDatasetsResponse2
|
|
654
|
+
> = components.TextContentPartSchema$outboundSchema;
|
|
1051
655
|
|
|
1052
|
-
export function
|
|
1053
|
-
|
|
1054
|
-
|
|
656
|
+
export function retrieveDatapointContentDatasetsResponse2ToJSON(
|
|
657
|
+
retrieveDatapointContentDatasetsResponse2:
|
|
658
|
+
RetrieveDatapointContentDatasetsResponse2,
|
|
1055
659
|
): string {
|
|
1056
660
|
return JSON.stringify(
|
|
1057
|
-
|
|
1058
|
-
|
|
661
|
+
RetrieveDatapointContentDatasetsResponse2$outboundSchema.parse(
|
|
662
|
+
retrieveDatapointContentDatasetsResponse2,
|
|
1059
663
|
),
|
|
1060
664
|
);
|
|
1061
665
|
}
|
|
1062
|
-
export function
|
|
666
|
+
export function retrieveDatapointContentDatasetsResponse2FromJSON(
|
|
1063
667
|
jsonString: string,
|
|
1064
668
|
): SafeParseResult<
|
|
1065
|
-
|
|
669
|
+
RetrieveDatapointContentDatasetsResponse2,
|
|
1066
670
|
SDKValidationError
|
|
1067
671
|
> {
|
|
1068
672
|
return safeParse(
|
|
1069
673
|
jsonString,
|
|
1070
674
|
(x) =>
|
|
1071
|
-
|
|
675
|
+
RetrieveDatapointContentDatasetsResponse2$inboundSchema.parse(
|
|
1072
676
|
JSON.parse(x),
|
|
1073
677
|
),
|
|
1074
|
-
`Failed to parse '
|
|
1075
|
-
);
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
/** @internal */
|
|
1079
|
-
export const RetrieveDatapoint2DatasetsResponse1$inboundSchema: z.ZodType<
|
|
1080
|
-
RetrieveDatapoint2DatasetsResponse1,
|
|
1081
|
-
z.ZodTypeDef,
|
|
1082
|
-
unknown
|
|
1083
|
-
> = z.object({
|
|
1084
|
-
type: RetrieveDatapoint2DatasetsResponse200Type$inboundSchema,
|
|
1085
|
-
text: z.string(),
|
|
1086
|
-
cache_control: z.lazy(() =>
|
|
1087
|
-
RetrieveDatapoint2DatasetsResponse200CacheControl$inboundSchema
|
|
1088
|
-
).optional(),
|
|
1089
|
-
}).transform((v) => {
|
|
1090
|
-
return remap$(v, {
|
|
1091
|
-
"cache_control": "cacheControl",
|
|
1092
|
-
});
|
|
1093
|
-
});
|
|
1094
|
-
/** @internal */
|
|
1095
|
-
export type RetrieveDatapoint2DatasetsResponse1$Outbound = {
|
|
1096
|
-
type: string;
|
|
1097
|
-
text: string;
|
|
1098
|
-
cache_control?:
|
|
1099
|
-
| RetrieveDatapoint2DatasetsResponse200CacheControl$Outbound
|
|
1100
|
-
| undefined;
|
|
1101
|
-
};
|
|
1102
|
-
|
|
1103
|
-
/** @internal */
|
|
1104
|
-
export const RetrieveDatapoint2DatasetsResponse1$outboundSchema: z.ZodType<
|
|
1105
|
-
RetrieveDatapoint2DatasetsResponse1$Outbound,
|
|
1106
|
-
z.ZodTypeDef,
|
|
1107
|
-
RetrieveDatapoint2DatasetsResponse1
|
|
1108
|
-
> = z.object({
|
|
1109
|
-
type: RetrieveDatapoint2DatasetsResponse200Type$outboundSchema,
|
|
1110
|
-
text: z.string(),
|
|
1111
|
-
cacheControl: z.lazy(() =>
|
|
1112
|
-
RetrieveDatapoint2DatasetsResponse200CacheControl$outboundSchema
|
|
1113
|
-
).optional(),
|
|
1114
|
-
}).transform((v) => {
|
|
1115
|
-
return remap$(v, {
|
|
1116
|
-
cacheControl: "cache_control",
|
|
1117
|
-
});
|
|
1118
|
-
});
|
|
1119
|
-
|
|
1120
|
-
export function retrieveDatapoint2DatasetsResponse1ToJSON(
|
|
1121
|
-
retrieveDatapoint2DatasetsResponse1: RetrieveDatapoint2DatasetsResponse1,
|
|
1122
|
-
): string {
|
|
1123
|
-
return JSON.stringify(
|
|
1124
|
-
RetrieveDatapoint2DatasetsResponse1$outboundSchema.parse(
|
|
1125
|
-
retrieveDatapoint2DatasetsResponse1,
|
|
1126
|
-
),
|
|
1127
|
-
);
|
|
1128
|
-
}
|
|
1129
|
-
export function retrieveDatapoint2DatasetsResponse1FromJSON(
|
|
1130
|
-
jsonString: string,
|
|
1131
|
-
): SafeParseResult<RetrieveDatapoint2DatasetsResponse1, SDKValidationError> {
|
|
1132
|
-
return safeParse(
|
|
1133
|
-
jsonString,
|
|
1134
|
-
(x) =>
|
|
1135
|
-
RetrieveDatapoint2DatasetsResponse1$inboundSchema.parse(JSON.parse(x)),
|
|
1136
|
-
`Failed to parse 'RetrieveDatapoint2DatasetsResponse1' from JSON`,
|
|
1137
|
-
);
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
/** @internal */
|
|
1141
|
-
export const RetrieveDatapointContentDatasetsResponse200ApplicationJson2$inboundSchema:
|
|
1142
|
-
z.ZodType<
|
|
1143
|
-
RetrieveDatapointContentDatasetsResponse200ApplicationJson2,
|
|
1144
|
-
z.ZodTypeDef,
|
|
1145
|
-
unknown
|
|
1146
|
-
> = z.lazy(() => RetrieveDatapoint2DatasetsResponse1$inboundSchema);
|
|
1147
|
-
/** @internal */
|
|
1148
|
-
export type RetrieveDatapointContentDatasetsResponse200ApplicationJson2$Outbound =
|
|
1149
|
-
RetrieveDatapoint2DatasetsResponse1$Outbound;
|
|
1150
|
-
|
|
1151
|
-
/** @internal */
|
|
1152
|
-
export const RetrieveDatapointContentDatasetsResponse200ApplicationJson2$outboundSchema:
|
|
1153
|
-
z.ZodType<
|
|
1154
|
-
RetrieveDatapointContentDatasetsResponse200ApplicationJson2$Outbound,
|
|
1155
|
-
z.ZodTypeDef,
|
|
1156
|
-
RetrieveDatapointContentDatasetsResponse200ApplicationJson2
|
|
1157
|
-
> = z.lazy(() => RetrieveDatapoint2DatasetsResponse1$outboundSchema);
|
|
1158
|
-
|
|
1159
|
-
export function retrieveDatapointContentDatasetsResponse200ApplicationJSON2ToJSON(
|
|
1160
|
-
retrieveDatapointContentDatasetsResponse200ApplicationJson2:
|
|
1161
|
-
RetrieveDatapointContentDatasetsResponse200ApplicationJson2,
|
|
1162
|
-
): string {
|
|
1163
|
-
return JSON.stringify(
|
|
1164
|
-
RetrieveDatapointContentDatasetsResponse200ApplicationJson2$outboundSchema
|
|
1165
|
-
.parse(retrieveDatapointContentDatasetsResponse200ApplicationJson2),
|
|
1166
|
-
);
|
|
1167
|
-
}
|
|
1168
|
-
export function retrieveDatapointContentDatasetsResponse200ApplicationJSON2FromJSON(
|
|
1169
|
-
jsonString: string,
|
|
1170
|
-
): SafeParseResult<
|
|
1171
|
-
RetrieveDatapointContentDatasetsResponse200ApplicationJson2,
|
|
1172
|
-
SDKValidationError
|
|
1173
|
-
> {
|
|
1174
|
-
return safeParse(
|
|
1175
|
-
jsonString,
|
|
1176
|
-
(x) =>
|
|
1177
|
-
RetrieveDatapointContentDatasetsResponse200ApplicationJson2$inboundSchema
|
|
1178
|
-
.parse(JSON.parse(x)),
|
|
1179
|
-
`Failed to parse 'RetrieveDatapointContentDatasetsResponse200ApplicationJson2' from JSON`,
|
|
678
|
+
`Failed to parse 'RetrieveDatapointContentDatasetsResponse2' from JSON`,
|
|
1180
679
|
);
|
|
1181
680
|
}
|
|
1182
681
|
|
|
@@ -1188,12 +687,12 @@ export const RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent$
|
|
|
1188
687
|
unknown
|
|
1189
688
|
> = z.union([
|
|
1190
689
|
z.string(),
|
|
1191
|
-
z.array(
|
|
690
|
+
z.array(components.TextContentPartSchema$inboundSchema),
|
|
1192
691
|
]);
|
|
1193
692
|
/** @internal */
|
|
1194
693
|
export type RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent$Outbound =
|
|
1195
694
|
| string
|
|
1196
|
-
| Array<
|
|
695
|
+
| Array<components.TextContentPartSchema$Outbound>;
|
|
1197
696
|
|
|
1198
697
|
/** @internal */
|
|
1199
698
|
export const RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent$outboundSchema:
|
|
@@ -1203,7 +702,7 @@ export const RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent$
|
|
|
1203
702
|
RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent
|
|
1204
703
|
> = z.union([
|
|
1205
704
|
z.string(),
|
|
1206
|
-
z.array(
|
|
705
|
+
z.array(components.TextContentPartSchema$outboundSchema),
|
|
1207
706
|
]);
|
|
1208
707
|
|
|
1209
708
|
export function retrieveDatapointMessagesDatasetsResponse200ApplicationJSONContentToJSON(
|
|
@@ -1305,7 +804,7 @@ export const RetrieveDatapointMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
1305
804
|
role: z.literal("tool"),
|
|
1306
805
|
content: z.union([
|
|
1307
806
|
z.string(),
|
|
1308
|
-
z.array(
|
|
807
|
+
z.array(components.TextContentPartSchema$inboundSchema),
|
|
1309
808
|
]),
|
|
1310
809
|
tool_call_id: z.string(),
|
|
1311
810
|
cache_control: z.lazy(() =>
|
|
@@ -1320,7 +819,7 @@ export const RetrieveDatapointMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
1320
819
|
/** @internal */
|
|
1321
820
|
export type RetrieveDatapointMessagesToolMessage$Outbound = {
|
|
1322
821
|
role: "tool";
|
|
1323
|
-
content: string | Array<
|
|
822
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
1324
823
|
tool_call_id: string;
|
|
1325
824
|
cache_control?: RetrieveDatapointMessagesCacheControl$Outbound | undefined;
|
|
1326
825
|
};
|
|
@@ -1334,7 +833,7 @@ export const RetrieveDatapointMessagesToolMessage$outboundSchema: z.ZodType<
|
|
|
1334
833
|
role: z.literal("tool"),
|
|
1335
834
|
content: z.union([
|
|
1336
835
|
z.string(),
|
|
1337
|
-
z.array(
|
|
836
|
+
z.array(components.TextContentPartSchema$outboundSchema),
|
|
1338
837
|
]),
|
|
1339
838
|
toolCallId: z.string(),
|
|
1340
839
|
cacheControl: z.lazy(() =>
|
|
@@ -1368,200 +867,55 @@ export function retrieveDatapointMessagesToolMessageFromJSON(
|
|
|
1368
867
|
}
|
|
1369
868
|
|
|
1370
869
|
/** @internal */
|
|
1371
|
-
export const
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
/** @internal */
|
|
1385
|
-
export const RetrieveDatapoint2DatasetsResponseTtl$inboundSchema:
|
|
1386
|
-
z.ZodNativeEnum<typeof RetrieveDatapoint2DatasetsResponseTtl> = z.nativeEnum(
|
|
1387
|
-
RetrieveDatapoint2DatasetsResponseTtl,
|
|
1388
|
-
);
|
|
1389
|
-
/** @internal */
|
|
1390
|
-
export const RetrieveDatapoint2DatasetsResponseTtl$outboundSchema:
|
|
1391
|
-
z.ZodNativeEnum<typeof RetrieveDatapoint2DatasetsResponseTtl> =
|
|
1392
|
-
RetrieveDatapoint2DatasetsResponseTtl$inboundSchema;
|
|
1393
|
-
|
|
1394
|
-
/** @internal */
|
|
1395
|
-
export const RetrieveDatapoint2DatasetsResponseCacheControl$inboundSchema:
|
|
1396
|
-
z.ZodType<
|
|
1397
|
-
RetrieveDatapoint2DatasetsResponseCacheControl,
|
|
1398
|
-
z.ZodTypeDef,
|
|
1399
|
-
unknown
|
|
1400
|
-
> = z.object({
|
|
1401
|
-
type:
|
|
1402
|
-
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
1403
|
-
ttl: RetrieveDatapoint2DatasetsResponseTtl$inboundSchema.default("5m"),
|
|
1404
|
-
});
|
|
870
|
+
export const RetrieveDatapointContentDatasets2$inboundSchema: z.ZodType<
|
|
871
|
+
RetrieveDatapointContentDatasets2,
|
|
872
|
+
z.ZodTypeDef,
|
|
873
|
+
unknown
|
|
874
|
+
> = z.union([
|
|
875
|
+
components.TextContentPartSchema$inboundSchema.and(
|
|
876
|
+
z.object({ type: z.literal("text") }),
|
|
877
|
+
),
|
|
878
|
+
components.RefusalPartSchema$inboundSchema,
|
|
879
|
+
components.ReasoningPartSchema$inboundSchema,
|
|
880
|
+
components.RedactedReasoningPartSchema$inboundSchema,
|
|
881
|
+
]);
|
|
1405
882
|
/** @internal */
|
|
1406
|
-
export type
|
|
1407
|
-
type:
|
|
1408
|
-
|
|
1409
|
-
|
|
883
|
+
export type RetrieveDatapointContentDatasets2$Outbound =
|
|
884
|
+
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
885
|
+
| components.RefusalPartSchema$Outbound
|
|
886
|
+
| components.ReasoningPartSchema$Outbound
|
|
887
|
+
| components.RedactedReasoningPartSchema$Outbound;
|
|
1410
888
|
|
|
1411
889
|
/** @internal */
|
|
1412
|
-
export const
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
type:
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
890
|
+
export const RetrieveDatapointContentDatasets2$outboundSchema: z.ZodType<
|
|
891
|
+
RetrieveDatapointContentDatasets2$Outbound,
|
|
892
|
+
z.ZodTypeDef,
|
|
893
|
+
RetrieveDatapointContentDatasets2
|
|
894
|
+
> = z.union([
|
|
895
|
+
components.TextContentPartSchema$outboundSchema.and(
|
|
896
|
+
z.object({ type: z.literal("text") }),
|
|
897
|
+
),
|
|
898
|
+
components.RefusalPartSchema$outboundSchema,
|
|
899
|
+
components.ReasoningPartSchema$outboundSchema,
|
|
900
|
+
components.RedactedReasoningPartSchema$outboundSchema,
|
|
901
|
+
]);
|
|
1422
902
|
|
|
1423
|
-
export function
|
|
1424
|
-
|
|
1425
|
-
RetrieveDatapoint2DatasetsResponseCacheControl,
|
|
903
|
+
export function retrieveDatapointContentDatasets2ToJSON(
|
|
904
|
+
retrieveDatapointContentDatasets2: RetrieveDatapointContentDatasets2,
|
|
1426
905
|
): string {
|
|
1427
906
|
return JSON.stringify(
|
|
1428
|
-
|
|
1429
|
-
|
|
907
|
+
RetrieveDatapointContentDatasets2$outboundSchema.parse(
|
|
908
|
+
retrieveDatapointContentDatasets2,
|
|
1430
909
|
),
|
|
1431
910
|
);
|
|
1432
911
|
}
|
|
1433
|
-
export function
|
|
912
|
+
export function retrieveDatapointContentDatasets2FromJSON(
|
|
1434
913
|
jsonString: string,
|
|
1435
|
-
): SafeParseResult<
|
|
1436
|
-
RetrieveDatapoint2DatasetsResponseCacheControl,
|
|
1437
|
-
SDKValidationError
|
|
1438
|
-
> {
|
|
914
|
+
): SafeParseResult<RetrieveDatapointContentDatasets2, SDKValidationError> {
|
|
1439
915
|
return safeParse(
|
|
1440
916
|
jsonString,
|
|
1441
|
-
(x) =>
|
|
1442
|
-
|
|
1443
|
-
JSON.parse(x),
|
|
1444
|
-
),
|
|
1445
|
-
`Failed to parse 'RetrieveDatapoint2DatasetsResponseCacheControl' from JSON`,
|
|
1446
|
-
);
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
|
-
/** @internal */
|
|
1450
|
-
export const RetrieveDatapoint2Datasets1$inboundSchema: z.ZodType<
|
|
1451
|
-
RetrieveDatapoint2Datasets1,
|
|
1452
|
-
z.ZodTypeDef,
|
|
1453
|
-
unknown
|
|
1454
|
-
> = z.object({
|
|
1455
|
-
type: z.literal("text"),
|
|
1456
|
-
text: z.string(),
|
|
1457
|
-
cache_control: z.lazy(() =>
|
|
1458
|
-
RetrieveDatapoint2DatasetsResponseCacheControl$inboundSchema
|
|
1459
|
-
).optional(),
|
|
1460
|
-
}).transform((v) => {
|
|
1461
|
-
return remap$(v, {
|
|
1462
|
-
"cache_control": "cacheControl",
|
|
1463
|
-
});
|
|
1464
|
-
});
|
|
1465
|
-
/** @internal */
|
|
1466
|
-
export type RetrieveDatapoint2Datasets1$Outbound = {
|
|
1467
|
-
type: "text";
|
|
1468
|
-
text: string;
|
|
1469
|
-
cache_control?:
|
|
1470
|
-
| RetrieveDatapoint2DatasetsResponseCacheControl$Outbound
|
|
1471
|
-
| undefined;
|
|
1472
|
-
};
|
|
1473
|
-
|
|
1474
|
-
/** @internal */
|
|
1475
|
-
export const RetrieveDatapoint2Datasets1$outboundSchema: z.ZodType<
|
|
1476
|
-
RetrieveDatapoint2Datasets1$Outbound,
|
|
1477
|
-
z.ZodTypeDef,
|
|
1478
|
-
RetrieveDatapoint2Datasets1
|
|
1479
|
-
> = z.object({
|
|
1480
|
-
type: z.literal("text"),
|
|
1481
|
-
text: z.string(),
|
|
1482
|
-
cacheControl: z.lazy(() =>
|
|
1483
|
-
RetrieveDatapoint2DatasetsResponseCacheControl$outboundSchema
|
|
1484
|
-
).optional(),
|
|
1485
|
-
}).transform((v) => {
|
|
1486
|
-
return remap$(v, {
|
|
1487
|
-
cacheControl: "cache_control",
|
|
1488
|
-
});
|
|
1489
|
-
});
|
|
1490
|
-
|
|
1491
|
-
export function retrieveDatapoint2Datasets1ToJSON(
|
|
1492
|
-
retrieveDatapoint2Datasets1: RetrieveDatapoint2Datasets1,
|
|
1493
|
-
): string {
|
|
1494
|
-
return JSON.stringify(
|
|
1495
|
-
RetrieveDatapoint2Datasets1$outboundSchema.parse(
|
|
1496
|
-
retrieveDatapoint2Datasets1,
|
|
1497
|
-
),
|
|
1498
|
-
);
|
|
1499
|
-
}
|
|
1500
|
-
export function retrieveDatapoint2Datasets1FromJSON(
|
|
1501
|
-
jsonString: string,
|
|
1502
|
-
): SafeParseResult<RetrieveDatapoint2Datasets1, SDKValidationError> {
|
|
1503
|
-
return safeParse(
|
|
1504
|
-
jsonString,
|
|
1505
|
-
(x) => RetrieveDatapoint2Datasets1$inboundSchema.parse(JSON.parse(x)),
|
|
1506
|
-
`Failed to parse 'RetrieveDatapoint2Datasets1' from JSON`,
|
|
1507
|
-
);
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
/** @internal */
|
|
1511
|
-
export const RetrieveDatapointContentDatasetsResponse2002$inboundSchema:
|
|
1512
|
-
z.ZodType<
|
|
1513
|
-
RetrieveDatapointContentDatasetsResponse2002,
|
|
1514
|
-
z.ZodTypeDef,
|
|
1515
|
-
unknown
|
|
1516
|
-
> = z.union([
|
|
1517
|
-
z.lazy(() => RetrieveDatapoint2Datasets1$inboundSchema),
|
|
1518
|
-
components.RefusalPartSchema$inboundSchema,
|
|
1519
|
-
components.ReasoningPartSchema$inboundSchema,
|
|
1520
|
-
components.RedactedReasoningPartSchema$inboundSchema,
|
|
1521
|
-
]);
|
|
1522
|
-
/** @internal */
|
|
1523
|
-
export type RetrieveDatapointContentDatasetsResponse2002$Outbound =
|
|
1524
|
-
| RetrieveDatapoint2Datasets1$Outbound
|
|
1525
|
-
| components.RefusalPartSchema$Outbound
|
|
1526
|
-
| components.ReasoningPartSchema$Outbound
|
|
1527
|
-
| components.RedactedReasoningPartSchema$Outbound;
|
|
1528
|
-
|
|
1529
|
-
/** @internal */
|
|
1530
|
-
export const RetrieveDatapointContentDatasetsResponse2002$outboundSchema:
|
|
1531
|
-
z.ZodType<
|
|
1532
|
-
RetrieveDatapointContentDatasetsResponse2002$Outbound,
|
|
1533
|
-
z.ZodTypeDef,
|
|
1534
|
-
RetrieveDatapointContentDatasetsResponse2002
|
|
1535
|
-
> = z.union([
|
|
1536
|
-
z.lazy(() => RetrieveDatapoint2Datasets1$outboundSchema),
|
|
1537
|
-
components.RefusalPartSchema$outboundSchema,
|
|
1538
|
-
components.ReasoningPartSchema$outboundSchema,
|
|
1539
|
-
components.RedactedReasoningPartSchema$outboundSchema,
|
|
1540
|
-
]);
|
|
1541
|
-
|
|
1542
|
-
export function retrieveDatapointContentDatasetsResponse2002ToJSON(
|
|
1543
|
-
retrieveDatapointContentDatasetsResponse2002:
|
|
1544
|
-
RetrieveDatapointContentDatasetsResponse2002,
|
|
1545
|
-
): string {
|
|
1546
|
-
return JSON.stringify(
|
|
1547
|
-
RetrieveDatapointContentDatasetsResponse2002$outboundSchema.parse(
|
|
1548
|
-
retrieveDatapointContentDatasetsResponse2002,
|
|
1549
|
-
),
|
|
1550
|
-
);
|
|
1551
|
-
}
|
|
1552
|
-
export function retrieveDatapointContentDatasetsResponse2002FromJSON(
|
|
1553
|
-
jsonString: string,
|
|
1554
|
-
): SafeParseResult<
|
|
1555
|
-
RetrieveDatapointContentDatasetsResponse2002,
|
|
1556
|
-
SDKValidationError
|
|
1557
|
-
> {
|
|
1558
|
-
return safeParse(
|
|
1559
|
-
jsonString,
|
|
1560
|
-
(x) =>
|
|
1561
|
-
RetrieveDatapointContentDatasetsResponse2002$inboundSchema.parse(
|
|
1562
|
-
JSON.parse(x),
|
|
1563
|
-
),
|
|
1564
|
-
`Failed to parse 'RetrieveDatapointContentDatasetsResponse2002' from JSON`,
|
|
917
|
+
(x) => RetrieveDatapointContentDatasets2$inboundSchema.parse(JSON.parse(x)),
|
|
918
|
+
`Failed to parse 'RetrieveDatapointContentDatasets2' from JSON`,
|
|
1565
919
|
);
|
|
1566
920
|
}
|
|
1567
921
|
|
|
@@ -1573,18 +927,22 @@ export const RetrieveDatapointMessagesDatasetsResponse200Content$inboundSchema:
|
|
|
1573
927
|
unknown
|
|
1574
928
|
> = z.union([
|
|
1575
929
|
z.string(),
|
|
1576
|
-
z.array(
|
|
1577
|
-
z.
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
930
|
+
z.array(
|
|
931
|
+
z.union([
|
|
932
|
+
components.TextContentPartSchema$inboundSchema.and(
|
|
933
|
+
z.object({ type: z.literal("text") }),
|
|
934
|
+
),
|
|
935
|
+
components.RefusalPartSchema$inboundSchema,
|
|
936
|
+
components.ReasoningPartSchema$inboundSchema,
|
|
937
|
+
components.RedactedReasoningPartSchema$inboundSchema,
|
|
938
|
+
]),
|
|
939
|
+
),
|
|
1582
940
|
]);
|
|
1583
941
|
/** @internal */
|
|
1584
942
|
export type RetrieveDatapointMessagesDatasetsResponse200Content$Outbound =
|
|
1585
943
|
| string
|
|
1586
944
|
| Array<
|
|
1587
|
-
|
|
|
945
|
+
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
1588
946
|
| components.RefusalPartSchema$Outbound
|
|
1589
947
|
| components.ReasoningPartSchema$Outbound
|
|
1590
948
|
| components.RedactedReasoningPartSchema$Outbound
|
|
@@ -1598,12 +956,16 @@ export const RetrieveDatapointMessagesDatasetsResponse200Content$outboundSchema:
|
|
|
1598
956
|
RetrieveDatapointMessagesDatasetsResponse200Content
|
|
1599
957
|
> = z.union([
|
|
1600
958
|
z.string(),
|
|
1601
|
-
z.array(
|
|
1602
|
-
z.
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
959
|
+
z.array(
|
|
960
|
+
z.union([
|
|
961
|
+
components.TextContentPartSchema$outboundSchema.and(
|
|
962
|
+
z.object({ type: z.literal("text") }),
|
|
963
|
+
),
|
|
964
|
+
components.RefusalPartSchema$outboundSchema,
|
|
965
|
+
components.ReasoningPartSchema$outboundSchema,
|
|
966
|
+
components.RedactedReasoningPartSchema$outboundSchema,
|
|
967
|
+
]),
|
|
968
|
+
),
|
|
1607
969
|
]);
|
|
1608
970
|
|
|
1609
971
|
export function retrieveDatapointMessagesDatasetsResponse200ContentToJSON(
|
|
@@ -1796,7 +1158,9 @@ export const RetrieveDatapointMessagesAssistantMessage$inboundSchema: z.ZodType<
|
|
|
1796
1158
|
z.string(),
|
|
1797
1159
|
z.array(
|
|
1798
1160
|
z.union([
|
|
1799
|
-
|
|
1161
|
+
components.TextContentPartSchema$inboundSchema.and(
|
|
1162
|
+
z.object({ type: z.literal("text") }),
|
|
1163
|
+
),
|
|
1800
1164
|
components.RefusalPartSchema$inboundSchema,
|
|
1801
1165
|
components.ReasoningPartSchema$inboundSchema,
|
|
1802
1166
|
components.RedactedReasoningPartSchema$inboundSchema,
|
|
@@ -1822,7 +1186,7 @@ export type RetrieveDatapointMessagesAssistantMessage$Outbound = {
|
|
|
1822
1186
|
content?:
|
|
1823
1187
|
| string
|
|
1824
1188
|
| Array<
|
|
1825
|
-
|
|
|
1189
|
+
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
1826
1190
|
| components.RefusalPartSchema$Outbound
|
|
1827
1191
|
| components.ReasoningPartSchema$Outbound
|
|
1828
1192
|
| components.RedactedReasoningPartSchema$Outbound
|
|
@@ -1848,7 +1212,9 @@ export const RetrieveDatapointMessagesAssistantMessage$outboundSchema:
|
|
|
1848
1212
|
z.string(),
|
|
1849
1213
|
z.array(
|
|
1850
1214
|
z.union([
|
|
1851
|
-
|
|
1215
|
+
components.TextContentPartSchema$outboundSchema.and(
|
|
1216
|
+
z.object({ type: z.literal("text") }),
|
|
1217
|
+
),
|
|
1852
1218
|
components.RefusalPartSchema$outboundSchema,
|
|
1853
1219
|
components.ReasoningPartSchema$outboundSchema,
|
|
1854
1220
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
@@ -1898,143 +1264,13 @@ export function retrieveDatapointMessagesAssistantMessageFromJSON(
|
|
|
1898
1264
|
}
|
|
1899
1265
|
|
|
1900
1266
|
/** @internal */
|
|
1901
|
-
export const
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
> = z.nativeEnum(
|
|
1905
|
-
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType,
|
|
1906
|
-
);
|
|
1907
|
-
/** @internal */
|
|
1908
|
-
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$outboundSchema:
|
|
1909
|
-
z.ZodNativeEnum<
|
|
1910
|
-
typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType
|
|
1911
|
-
> =
|
|
1912
|
-
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$inboundSchema;
|
|
1913
|
-
|
|
1914
|
-
/** @internal */
|
|
1915
|
-
export const RetrieveDatapoint2DatasetsTtl$inboundSchema: z.ZodNativeEnum<
|
|
1916
|
-
typeof RetrieveDatapoint2DatasetsTtl
|
|
1917
|
-
> = z.nativeEnum(RetrieveDatapoint2DatasetsTtl);
|
|
1267
|
+
export const RetrieveDatapoint2DatasetsType$inboundSchema: z.ZodNativeEnum<
|
|
1268
|
+
typeof RetrieveDatapoint2DatasetsType
|
|
1269
|
+
> = z.nativeEnum(RetrieveDatapoint2DatasetsType);
|
|
1918
1270
|
/** @internal */
|
|
1919
|
-
export const
|
|
1920
|
-
typeof
|
|
1921
|
-
> =
|
|
1922
|
-
|
|
1923
|
-
/** @internal */
|
|
1924
|
-
export const RetrieveDatapoint2DatasetsCacheControl$inboundSchema: z.ZodType<
|
|
1925
|
-
RetrieveDatapoint2DatasetsCacheControl,
|
|
1926
|
-
z.ZodTypeDef,
|
|
1927
|
-
unknown
|
|
1928
|
-
> = z.object({
|
|
1929
|
-
type:
|
|
1930
|
-
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$inboundSchema,
|
|
1931
|
-
ttl: RetrieveDatapoint2DatasetsTtl$inboundSchema.default("5m"),
|
|
1932
|
-
});
|
|
1933
|
-
/** @internal */
|
|
1934
|
-
export type RetrieveDatapoint2DatasetsCacheControl$Outbound = {
|
|
1935
|
-
type: string;
|
|
1936
|
-
ttl: string;
|
|
1937
|
-
};
|
|
1938
|
-
|
|
1939
|
-
/** @internal */
|
|
1940
|
-
export const RetrieveDatapoint2DatasetsCacheControl$outboundSchema: z.ZodType<
|
|
1941
|
-
RetrieveDatapoint2DatasetsCacheControl$Outbound,
|
|
1942
|
-
z.ZodTypeDef,
|
|
1943
|
-
RetrieveDatapoint2DatasetsCacheControl
|
|
1944
|
-
> = z.object({
|
|
1945
|
-
type:
|
|
1946
|
-
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$outboundSchema,
|
|
1947
|
-
ttl: RetrieveDatapoint2DatasetsTtl$outboundSchema.default("5m"),
|
|
1948
|
-
});
|
|
1949
|
-
|
|
1950
|
-
export function retrieveDatapoint2DatasetsCacheControlToJSON(
|
|
1951
|
-
retrieveDatapoint2DatasetsCacheControl:
|
|
1952
|
-
RetrieveDatapoint2DatasetsCacheControl,
|
|
1953
|
-
): string {
|
|
1954
|
-
return JSON.stringify(
|
|
1955
|
-
RetrieveDatapoint2DatasetsCacheControl$outboundSchema.parse(
|
|
1956
|
-
retrieveDatapoint2DatasetsCacheControl,
|
|
1957
|
-
),
|
|
1958
|
-
);
|
|
1959
|
-
}
|
|
1960
|
-
export function retrieveDatapoint2DatasetsCacheControlFromJSON(
|
|
1961
|
-
jsonString: string,
|
|
1962
|
-
): SafeParseResult<RetrieveDatapoint2DatasetsCacheControl, SDKValidationError> {
|
|
1963
|
-
return safeParse(
|
|
1964
|
-
jsonString,
|
|
1965
|
-
(x) =>
|
|
1966
|
-
RetrieveDatapoint2DatasetsCacheControl$inboundSchema.parse(JSON.parse(x)),
|
|
1967
|
-
`Failed to parse 'RetrieveDatapoint2DatasetsCacheControl' from JSON`,
|
|
1968
|
-
);
|
|
1969
|
-
}
|
|
1970
|
-
|
|
1971
|
-
/** @internal */
|
|
1972
|
-
export const RetrieveDatapoint24$inboundSchema: z.ZodType<
|
|
1973
|
-
RetrieveDatapoint24,
|
|
1974
|
-
z.ZodTypeDef,
|
|
1975
|
-
unknown
|
|
1976
|
-
> = z.object({
|
|
1977
|
-
type: z.literal("file"),
|
|
1978
|
-
cache_control: z.lazy(() =>
|
|
1979
|
-
RetrieveDatapoint2DatasetsCacheControl$inboundSchema
|
|
1980
|
-
).optional(),
|
|
1981
|
-
file: components.FileContentPartSchema$inboundSchema,
|
|
1982
|
-
}).transform((v) => {
|
|
1983
|
-
return remap$(v, {
|
|
1984
|
-
"cache_control": "cacheControl",
|
|
1985
|
-
});
|
|
1986
|
-
});
|
|
1987
|
-
/** @internal */
|
|
1988
|
-
export type RetrieveDatapoint24$Outbound = {
|
|
1989
|
-
type: "file";
|
|
1990
|
-
cache_control?: RetrieveDatapoint2DatasetsCacheControl$Outbound | undefined;
|
|
1991
|
-
file: components.FileContentPartSchema$Outbound;
|
|
1992
|
-
};
|
|
1993
|
-
|
|
1994
|
-
/** @internal */
|
|
1995
|
-
export const RetrieveDatapoint24$outboundSchema: z.ZodType<
|
|
1996
|
-
RetrieveDatapoint24$Outbound,
|
|
1997
|
-
z.ZodTypeDef,
|
|
1998
|
-
RetrieveDatapoint24
|
|
1999
|
-
> = z.object({
|
|
2000
|
-
type: z.literal("file"),
|
|
2001
|
-
cacheControl: z.lazy(() =>
|
|
2002
|
-
RetrieveDatapoint2DatasetsCacheControl$outboundSchema
|
|
2003
|
-
).optional(),
|
|
2004
|
-
file: components.FileContentPartSchema$outboundSchema,
|
|
2005
|
-
}).transform((v) => {
|
|
2006
|
-
return remap$(v, {
|
|
2007
|
-
cacheControl: "cache_control",
|
|
2008
|
-
});
|
|
2009
|
-
});
|
|
2010
|
-
|
|
2011
|
-
export function retrieveDatapoint24ToJSON(
|
|
2012
|
-
retrieveDatapoint24: RetrieveDatapoint24,
|
|
2013
|
-
): string {
|
|
2014
|
-
return JSON.stringify(
|
|
2015
|
-
RetrieveDatapoint24$outboundSchema.parse(retrieveDatapoint24),
|
|
2016
|
-
);
|
|
2017
|
-
}
|
|
2018
|
-
export function retrieveDatapoint24FromJSON(
|
|
2019
|
-
jsonString: string,
|
|
2020
|
-
): SafeParseResult<RetrieveDatapoint24, SDKValidationError> {
|
|
2021
|
-
return safeParse(
|
|
2022
|
-
jsonString,
|
|
2023
|
-
(x) => RetrieveDatapoint24$inboundSchema.parse(JSON.parse(x)),
|
|
2024
|
-
`Failed to parse 'RetrieveDatapoint24' from JSON`,
|
|
2025
|
-
);
|
|
2026
|
-
}
|
|
2027
|
-
|
|
2028
|
-
/** @internal */
|
|
2029
|
-
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONType$inboundSchema:
|
|
2030
|
-
z.ZodNativeEnum<
|
|
2031
|
-
typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONType
|
|
2032
|
-
> = z.nativeEnum(RetrieveDatapoint2DatasetsResponse200ApplicationJSONType);
|
|
2033
|
-
/** @internal */
|
|
2034
|
-
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONType$outboundSchema:
|
|
2035
|
-
z.ZodNativeEnum<
|
|
2036
|
-
typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONType
|
|
2037
|
-
> = RetrieveDatapoint2DatasetsResponse200ApplicationJSONType$inboundSchema;
|
|
1271
|
+
export const RetrieveDatapoint2DatasetsType$outboundSchema: z.ZodNativeEnum<
|
|
1272
|
+
typeof RetrieveDatapoint2DatasetsType
|
|
1273
|
+
> = RetrieveDatapoint2DatasetsType$inboundSchema;
|
|
2038
1274
|
|
|
2039
1275
|
/** @internal */
|
|
2040
1276
|
export const RetrieveDatapoint2Ttl$inboundSchema: z.ZodNativeEnum<
|
|
@@ -2051,7 +1287,7 @@ export const RetrieveDatapoint2CacheControl$inboundSchema: z.ZodType<
|
|
|
2051
1287
|
z.ZodTypeDef,
|
|
2052
1288
|
unknown
|
|
2053
1289
|
> = z.object({
|
|
2054
|
-
type:
|
|
1290
|
+
type: RetrieveDatapoint2DatasetsType$inboundSchema,
|
|
2055
1291
|
ttl: RetrieveDatapoint2Ttl$inboundSchema.default("5m"),
|
|
2056
1292
|
});
|
|
2057
1293
|
/** @internal */
|
|
@@ -2066,7 +1302,7 @@ export const RetrieveDatapoint2CacheControl$outboundSchema: z.ZodType<
|
|
|
2066
1302
|
z.ZodTypeDef,
|
|
2067
1303
|
RetrieveDatapoint2CacheControl
|
|
2068
1304
|
> = z.object({
|
|
2069
|
-
type:
|
|
1305
|
+
type: RetrieveDatapoint2DatasetsType$outboundSchema,
|
|
2070
1306
|
ttl: RetrieveDatapoint2Ttl$outboundSchema.default("5m"),
|
|
2071
1307
|
});
|
|
2072
1308
|
|
|
@@ -2090,114 +1326,108 @@ export function retrieveDatapoint2CacheControlFromJSON(
|
|
|
2090
1326
|
}
|
|
2091
1327
|
|
|
2092
1328
|
/** @internal */
|
|
2093
|
-
export const
|
|
2094
|
-
|
|
1329
|
+
export const RetrieveDatapoint24$inboundSchema: z.ZodType<
|
|
1330
|
+
RetrieveDatapoint24,
|
|
2095
1331
|
z.ZodTypeDef,
|
|
2096
1332
|
unknown
|
|
2097
1333
|
> = z.object({
|
|
2098
|
-
type: z.literal("
|
|
2099
|
-
text: z.string(),
|
|
1334
|
+
type: z.literal("file"),
|
|
2100
1335
|
cache_control: z.lazy(() => RetrieveDatapoint2CacheControl$inboundSchema)
|
|
2101
1336
|
.optional(),
|
|
1337
|
+
file: components.FileContentPartSchema$inboundSchema,
|
|
2102
1338
|
}).transform((v) => {
|
|
2103
1339
|
return remap$(v, {
|
|
2104
1340
|
"cache_control": "cacheControl",
|
|
2105
1341
|
});
|
|
2106
1342
|
});
|
|
2107
1343
|
/** @internal */
|
|
2108
|
-
export type
|
|
2109
|
-
type: "
|
|
2110
|
-
text: string;
|
|
1344
|
+
export type RetrieveDatapoint24$Outbound = {
|
|
1345
|
+
type: "file";
|
|
2111
1346
|
cache_control?: RetrieveDatapoint2CacheControl$Outbound | undefined;
|
|
1347
|
+
file: components.FileContentPartSchema$Outbound;
|
|
2112
1348
|
};
|
|
2113
1349
|
|
|
2114
1350
|
/** @internal */
|
|
2115
|
-
export const
|
|
2116
|
-
|
|
1351
|
+
export const RetrieveDatapoint24$outboundSchema: z.ZodType<
|
|
1352
|
+
RetrieveDatapoint24$Outbound,
|
|
2117
1353
|
z.ZodTypeDef,
|
|
2118
|
-
|
|
1354
|
+
RetrieveDatapoint24
|
|
2119
1355
|
> = z.object({
|
|
2120
|
-
type: z.literal("
|
|
2121
|
-
text: z.string(),
|
|
1356
|
+
type: z.literal("file"),
|
|
2122
1357
|
cacheControl: z.lazy(() => RetrieveDatapoint2CacheControl$outboundSchema)
|
|
2123
1358
|
.optional(),
|
|
1359
|
+
file: components.FileContentPartSchema$outboundSchema,
|
|
2124
1360
|
}).transform((v) => {
|
|
2125
1361
|
return remap$(v, {
|
|
2126
1362
|
cacheControl: "cache_control",
|
|
2127
1363
|
});
|
|
2128
1364
|
});
|
|
2129
1365
|
|
|
2130
|
-
export function
|
|
2131
|
-
|
|
1366
|
+
export function retrieveDatapoint24ToJSON(
|
|
1367
|
+
retrieveDatapoint24: RetrieveDatapoint24,
|
|
2132
1368
|
): string {
|
|
2133
1369
|
return JSON.stringify(
|
|
2134
|
-
|
|
1370
|
+
RetrieveDatapoint24$outboundSchema.parse(retrieveDatapoint24),
|
|
2135
1371
|
);
|
|
2136
1372
|
}
|
|
2137
|
-
export function
|
|
1373
|
+
export function retrieveDatapoint24FromJSON(
|
|
2138
1374
|
jsonString: string,
|
|
2139
|
-
): SafeParseResult<
|
|
1375
|
+
): SafeParseResult<RetrieveDatapoint24, SDKValidationError> {
|
|
2140
1376
|
return safeParse(
|
|
2141
1377
|
jsonString,
|
|
2142
|
-
(x) =>
|
|
2143
|
-
`Failed to parse '
|
|
1378
|
+
(x) => RetrieveDatapoint24$inboundSchema.parse(JSON.parse(x)),
|
|
1379
|
+
`Failed to parse 'RetrieveDatapoint24' from JSON`,
|
|
2144
1380
|
);
|
|
2145
1381
|
}
|
|
2146
1382
|
|
|
2147
1383
|
/** @internal */
|
|
2148
|
-
export const
|
|
2149
|
-
|
|
1384
|
+
export const RetrieveDatapointContent2$inboundSchema: z.ZodType<
|
|
1385
|
+
RetrieveDatapointContent2,
|
|
2150
1386
|
z.ZodTypeDef,
|
|
2151
1387
|
unknown
|
|
2152
1388
|
> = z.union([
|
|
2153
|
-
|
|
1389
|
+
components.TextContentPartSchema$inboundSchema.and(
|
|
1390
|
+
z.object({ type: z.literal("text") }),
|
|
1391
|
+
),
|
|
2154
1392
|
components.ImageContentPartSchema$inboundSchema,
|
|
2155
1393
|
components.AudioContentPartSchema$inboundSchema,
|
|
2156
1394
|
z.lazy(() => RetrieveDatapoint24$inboundSchema),
|
|
2157
1395
|
]);
|
|
2158
1396
|
/** @internal */
|
|
2159
|
-
export type
|
|
2160
|
-
|
|
|
1397
|
+
export type RetrieveDatapointContent2$Outbound =
|
|
1398
|
+
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
2161
1399
|
| components.ImageContentPartSchema$Outbound
|
|
2162
1400
|
| components.AudioContentPartSchema$Outbound
|
|
2163
1401
|
| RetrieveDatapoint24$Outbound;
|
|
2164
1402
|
|
|
2165
1403
|
/** @internal */
|
|
2166
|
-
export const
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
z.
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
1404
|
+
export const RetrieveDatapointContent2$outboundSchema: z.ZodType<
|
|
1405
|
+
RetrieveDatapointContent2$Outbound,
|
|
1406
|
+
z.ZodTypeDef,
|
|
1407
|
+
RetrieveDatapointContent2
|
|
1408
|
+
> = z.union([
|
|
1409
|
+
components.TextContentPartSchema$outboundSchema.and(
|
|
1410
|
+
z.object({ type: z.literal("text") }),
|
|
1411
|
+
),
|
|
1412
|
+
components.ImageContentPartSchema$outboundSchema,
|
|
1413
|
+
components.AudioContentPartSchema$outboundSchema,
|
|
1414
|
+
z.lazy(() => RetrieveDatapoint24$outboundSchema),
|
|
1415
|
+
]);
|
|
2177
1416
|
|
|
2178
|
-
export function
|
|
2179
|
-
|
|
2180
|
-
RetrieveDatapointContentDatasetsResponse2,
|
|
1417
|
+
export function retrieveDatapointContent2ToJSON(
|
|
1418
|
+
retrieveDatapointContent2: RetrieveDatapointContent2,
|
|
2181
1419
|
): string {
|
|
2182
1420
|
return JSON.stringify(
|
|
2183
|
-
|
|
2184
|
-
retrieveDatapointContentDatasetsResponse2,
|
|
2185
|
-
),
|
|
1421
|
+
RetrieveDatapointContent2$outboundSchema.parse(retrieveDatapointContent2),
|
|
2186
1422
|
);
|
|
2187
1423
|
}
|
|
2188
|
-
export function
|
|
1424
|
+
export function retrieveDatapointContent2FromJSON(
|
|
2189
1425
|
jsonString: string,
|
|
2190
|
-
): SafeParseResult<
|
|
2191
|
-
RetrieveDatapointContentDatasetsResponse2,
|
|
2192
|
-
SDKValidationError
|
|
2193
|
-
> {
|
|
1426
|
+
): SafeParseResult<RetrieveDatapointContent2, SDKValidationError> {
|
|
2194
1427
|
return safeParse(
|
|
2195
1428
|
jsonString,
|
|
2196
|
-
(x) =>
|
|
2197
|
-
|
|
2198
|
-
JSON.parse(x),
|
|
2199
|
-
),
|
|
2200
|
-
`Failed to parse 'RetrieveDatapointContentDatasetsResponse2' from JSON`,
|
|
1429
|
+
(x) => RetrieveDatapointContent2$inboundSchema.parse(JSON.parse(x)),
|
|
1430
|
+
`Failed to parse 'RetrieveDatapointContent2' from JSON`,
|
|
2201
1431
|
);
|
|
2202
1432
|
}
|
|
2203
1433
|
|
|
@@ -2209,18 +1439,22 @@ export const RetrieveDatapointMessagesDatasetsResponseContent$inboundSchema:
|
|
|
2209
1439
|
unknown
|
|
2210
1440
|
> = z.union([
|
|
2211
1441
|
z.string(),
|
|
2212
|
-
z.array(
|
|
2213
|
-
z.
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
1442
|
+
z.array(
|
|
1443
|
+
z.union([
|
|
1444
|
+
components.TextContentPartSchema$inboundSchema.and(
|
|
1445
|
+
z.object({ type: z.literal("text") }),
|
|
1446
|
+
),
|
|
1447
|
+
components.ImageContentPartSchema$inboundSchema,
|
|
1448
|
+
components.AudioContentPartSchema$inboundSchema,
|
|
1449
|
+
z.lazy(() => RetrieveDatapoint24$inboundSchema),
|
|
1450
|
+
]),
|
|
1451
|
+
),
|
|
2218
1452
|
]);
|
|
2219
1453
|
/** @internal */
|
|
2220
1454
|
export type RetrieveDatapointMessagesDatasetsResponseContent$Outbound =
|
|
2221
1455
|
| string
|
|
2222
1456
|
| Array<
|
|
2223
|
-
|
|
|
1457
|
+
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
2224
1458
|
| components.ImageContentPartSchema$Outbound
|
|
2225
1459
|
| components.AudioContentPartSchema$Outbound
|
|
2226
1460
|
| RetrieveDatapoint24$Outbound
|
|
@@ -2234,12 +1468,16 @@ export const RetrieveDatapointMessagesDatasetsResponseContent$outboundSchema:
|
|
|
2234
1468
|
RetrieveDatapointMessagesDatasetsResponseContent
|
|
2235
1469
|
> = z.union([
|
|
2236
1470
|
z.string(),
|
|
2237
|
-
z.array(
|
|
2238
|
-
z.
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
1471
|
+
z.array(
|
|
1472
|
+
z.union([
|
|
1473
|
+
components.TextContentPartSchema$outboundSchema.and(
|
|
1474
|
+
z.object({ type: z.literal("text") }),
|
|
1475
|
+
),
|
|
1476
|
+
components.ImageContentPartSchema$outboundSchema,
|
|
1477
|
+
components.AudioContentPartSchema$outboundSchema,
|
|
1478
|
+
z.lazy(() => RetrieveDatapoint24$outboundSchema),
|
|
1479
|
+
]),
|
|
1480
|
+
),
|
|
2243
1481
|
]);
|
|
2244
1482
|
|
|
2245
1483
|
export function retrieveDatapointMessagesDatasetsResponseContentToJSON(
|
|
@@ -2278,12 +1516,16 @@ export const RetrieveDatapointMessagesUserMessage$inboundSchema: z.ZodType<
|
|
|
2278
1516
|
name: z.string().optional(),
|
|
2279
1517
|
content: z.union([
|
|
2280
1518
|
z.string(),
|
|
2281
|
-
z.array(
|
|
2282
|
-
z.
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
1519
|
+
z.array(
|
|
1520
|
+
z.union([
|
|
1521
|
+
components.TextContentPartSchema$inboundSchema.and(
|
|
1522
|
+
z.object({ type: z.literal("text") }),
|
|
1523
|
+
),
|
|
1524
|
+
components.ImageContentPartSchema$inboundSchema,
|
|
1525
|
+
components.AudioContentPartSchema$inboundSchema,
|
|
1526
|
+
z.lazy(() => RetrieveDatapoint24$inboundSchema),
|
|
1527
|
+
]),
|
|
1528
|
+
),
|
|
2287
1529
|
]),
|
|
2288
1530
|
});
|
|
2289
1531
|
/** @internal */
|
|
@@ -2293,7 +1535,7 @@ export type RetrieveDatapointMessagesUserMessage$Outbound = {
|
|
|
2293
1535
|
content:
|
|
2294
1536
|
| string
|
|
2295
1537
|
| Array<
|
|
2296
|
-
|
|
|
1538
|
+
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
2297
1539
|
| components.ImageContentPartSchema$Outbound
|
|
2298
1540
|
| components.AudioContentPartSchema$Outbound
|
|
2299
1541
|
| RetrieveDatapoint24$Outbound
|
|
@@ -2310,12 +1552,16 @@ export const RetrieveDatapointMessagesUserMessage$outboundSchema: z.ZodType<
|
|
|
2310
1552
|
name: z.string().optional(),
|
|
2311
1553
|
content: z.union([
|
|
2312
1554
|
z.string(),
|
|
2313
|
-
z.array(
|
|
2314
|
-
z.
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
1555
|
+
z.array(
|
|
1556
|
+
z.union([
|
|
1557
|
+
components.TextContentPartSchema$outboundSchema.and(
|
|
1558
|
+
z.object({ type: z.literal("text") }),
|
|
1559
|
+
),
|
|
1560
|
+
components.ImageContentPartSchema$outboundSchema,
|
|
1561
|
+
components.AudioContentPartSchema$outboundSchema,
|
|
1562
|
+
z.lazy(() => RetrieveDatapoint24$outboundSchema),
|
|
1563
|
+
]),
|
|
1564
|
+
),
|
|
2319
1565
|
]),
|
|
2320
1566
|
});
|
|
2321
1567
|
|
|
@@ -2339,148 +1585,6 @@ export function retrieveDatapointMessagesUserMessageFromJSON(
|
|
|
2339
1585
|
);
|
|
2340
1586
|
}
|
|
2341
1587
|
|
|
2342
|
-
/** @internal */
|
|
2343
|
-
export const RetrieveDatapointContentDatasetsType$inboundSchema:
|
|
2344
|
-
z.ZodNativeEnum<typeof RetrieveDatapointContentDatasetsType> = z.nativeEnum(
|
|
2345
|
-
RetrieveDatapointContentDatasetsType,
|
|
2346
|
-
);
|
|
2347
|
-
/** @internal */
|
|
2348
|
-
export const RetrieveDatapointContentDatasetsType$outboundSchema:
|
|
2349
|
-
z.ZodNativeEnum<typeof RetrieveDatapointContentDatasetsType> =
|
|
2350
|
-
RetrieveDatapointContentDatasetsType$inboundSchema;
|
|
2351
|
-
|
|
2352
|
-
/** @internal */
|
|
2353
|
-
export const RetrieveDatapointContentDatasetsResponse200Type$inboundSchema:
|
|
2354
|
-
z.ZodNativeEnum<typeof RetrieveDatapointContentDatasetsResponse200Type> = z
|
|
2355
|
-
.nativeEnum(RetrieveDatapointContentDatasetsResponse200Type);
|
|
2356
|
-
/** @internal */
|
|
2357
|
-
export const RetrieveDatapointContentDatasetsResponse200Type$outboundSchema:
|
|
2358
|
-
z.ZodNativeEnum<typeof RetrieveDatapointContentDatasetsResponse200Type> =
|
|
2359
|
-
RetrieveDatapointContentDatasetsResponse200Type$inboundSchema;
|
|
2360
|
-
|
|
2361
|
-
/** @internal */
|
|
2362
|
-
export const RetrieveDatapointContentDatasetsTtl$inboundSchema: z.ZodNativeEnum<
|
|
2363
|
-
typeof RetrieveDatapointContentDatasetsTtl
|
|
2364
|
-
> = z.nativeEnum(RetrieveDatapointContentDatasetsTtl);
|
|
2365
|
-
/** @internal */
|
|
2366
|
-
export const RetrieveDatapointContentDatasetsTtl$outboundSchema:
|
|
2367
|
-
z.ZodNativeEnum<typeof RetrieveDatapointContentDatasetsTtl> =
|
|
2368
|
-
RetrieveDatapointContentDatasetsTtl$inboundSchema;
|
|
2369
|
-
|
|
2370
|
-
/** @internal */
|
|
2371
|
-
export const RetrieveDatapointContentDatasetsCacheControl$inboundSchema:
|
|
2372
|
-
z.ZodType<
|
|
2373
|
-
RetrieveDatapointContentDatasetsCacheControl,
|
|
2374
|
-
z.ZodTypeDef,
|
|
2375
|
-
unknown
|
|
2376
|
-
> = z.object({
|
|
2377
|
-
type: RetrieveDatapointContentDatasetsResponse200Type$inboundSchema,
|
|
2378
|
-
ttl: RetrieveDatapointContentDatasetsTtl$inboundSchema.default("5m"),
|
|
2379
|
-
});
|
|
2380
|
-
/** @internal */
|
|
2381
|
-
export type RetrieveDatapointContentDatasetsCacheControl$Outbound = {
|
|
2382
|
-
type: string;
|
|
2383
|
-
ttl: string;
|
|
2384
|
-
};
|
|
2385
|
-
|
|
2386
|
-
/** @internal */
|
|
2387
|
-
export const RetrieveDatapointContentDatasetsCacheControl$outboundSchema:
|
|
2388
|
-
z.ZodType<
|
|
2389
|
-
RetrieveDatapointContentDatasetsCacheControl$Outbound,
|
|
2390
|
-
z.ZodTypeDef,
|
|
2391
|
-
RetrieveDatapointContentDatasetsCacheControl
|
|
2392
|
-
> = z.object({
|
|
2393
|
-
type: RetrieveDatapointContentDatasetsResponse200Type$outboundSchema,
|
|
2394
|
-
ttl: RetrieveDatapointContentDatasetsTtl$outboundSchema.default("5m"),
|
|
2395
|
-
});
|
|
2396
|
-
|
|
2397
|
-
export function retrieveDatapointContentDatasetsCacheControlToJSON(
|
|
2398
|
-
retrieveDatapointContentDatasetsCacheControl:
|
|
2399
|
-
RetrieveDatapointContentDatasetsCacheControl,
|
|
2400
|
-
): string {
|
|
2401
|
-
return JSON.stringify(
|
|
2402
|
-
RetrieveDatapointContentDatasetsCacheControl$outboundSchema.parse(
|
|
2403
|
-
retrieveDatapointContentDatasetsCacheControl,
|
|
2404
|
-
),
|
|
2405
|
-
);
|
|
2406
|
-
}
|
|
2407
|
-
export function retrieveDatapointContentDatasetsCacheControlFromJSON(
|
|
2408
|
-
jsonString: string,
|
|
2409
|
-
): SafeParseResult<
|
|
2410
|
-
RetrieveDatapointContentDatasetsCacheControl,
|
|
2411
|
-
SDKValidationError
|
|
2412
|
-
> {
|
|
2413
|
-
return safeParse(
|
|
2414
|
-
jsonString,
|
|
2415
|
-
(x) =>
|
|
2416
|
-
RetrieveDatapointContentDatasetsCacheControl$inboundSchema.parse(
|
|
2417
|
-
JSON.parse(x),
|
|
2418
|
-
),
|
|
2419
|
-
`Failed to parse 'RetrieveDatapointContentDatasetsCacheControl' from JSON`,
|
|
2420
|
-
);
|
|
2421
|
-
}
|
|
2422
|
-
|
|
2423
|
-
/** @internal */
|
|
2424
|
-
export const RetrieveDatapointContentDatasets2$inboundSchema: z.ZodType<
|
|
2425
|
-
RetrieveDatapointContentDatasets2,
|
|
2426
|
-
z.ZodTypeDef,
|
|
2427
|
-
unknown
|
|
2428
|
-
> = z.object({
|
|
2429
|
-
type: RetrieveDatapointContentDatasetsType$inboundSchema,
|
|
2430
|
-
text: z.string(),
|
|
2431
|
-
cache_control: z.lazy(() =>
|
|
2432
|
-
RetrieveDatapointContentDatasetsCacheControl$inboundSchema
|
|
2433
|
-
).optional(),
|
|
2434
|
-
}).transform((v) => {
|
|
2435
|
-
return remap$(v, {
|
|
2436
|
-
"cache_control": "cacheControl",
|
|
2437
|
-
});
|
|
2438
|
-
});
|
|
2439
|
-
/** @internal */
|
|
2440
|
-
export type RetrieveDatapointContentDatasets2$Outbound = {
|
|
2441
|
-
type: string;
|
|
2442
|
-
text: string;
|
|
2443
|
-
cache_control?:
|
|
2444
|
-
| RetrieveDatapointContentDatasetsCacheControl$Outbound
|
|
2445
|
-
| undefined;
|
|
2446
|
-
};
|
|
2447
|
-
|
|
2448
|
-
/** @internal */
|
|
2449
|
-
export const RetrieveDatapointContentDatasets2$outboundSchema: z.ZodType<
|
|
2450
|
-
RetrieveDatapointContentDatasets2$Outbound,
|
|
2451
|
-
z.ZodTypeDef,
|
|
2452
|
-
RetrieveDatapointContentDatasets2
|
|
2453
|
-
> = z.object({
|
|
2454
|
-
type: RetrieveDatapointContentDatasetsType$outboundSchema,
|
|
2455
|
-
text: z.string(),
|
|
2456
|
-
cacheControl: z.lazy(() =>
|
|
2457
|
-
RetrieveDatapointContentDatasetsCacheControl$outboundSchema
|
|
2458
|
-
).optional(),
|
|
2459
|
-
}).transform((v) => {
|
|
2460
|
-
return remap$(v, {
|
|
2461
|
-
cacheControl: "cache_control",
|
|
2462
|
-
});
|
|
2463
|
-
});
|
|
2464
|
-
|
|
2465
|
-
export function retrieveDatapointContentDatasets2ToJSON(
|
|
2466
|
-
retrieveDatapointContentDatasets2: RetrieveDatapointContentDatasets2,
|
|
2467
|
-
): string {
|
|
2468
|
-
return JSON.stringify(
|
|
2469
|
-
RetrieveDatapointContentDatasets2$outboundSchema.parse(
|
|
2470
|
-
retrieveDatapointContentDatasets2,
|
|
2471
|
-
),
|
|
2472
|
-
);
|
|
2473
|
-
}
|
|
2474
|
-
export function retrieveDatapointContentDatasets2FromJSON(
|
|
2475
|
-
jsonString: string,
|
|
2476
|
-
): SafeParseResult<RetrieveDatapointContentDatasets2, SDKValidationError> {
|
|
2477
|
-
return safeParse(
|
|
2478
|
-
jsonString,
|
|
2479
|
-
(x) => RetrieveDatapointContentDatasets2$inboundSchema.parse(JSON.parse(x)),
|
|
2480
|
-
`Failed to parse 'RetrieveDatapointContentDatasets2' from JSON`,
|
|
2481
|
-
);
|
|
2482
|
-
}
|
|
2483
|
-
|
|
2484
1588
|
/** @internal */
|
|
2485
1589
|
export const RetrieveDatapointMessagesDatasetsContent$inboundSchema: z.ZodType<
|
|
2486
1590
|
RetrieveDatapointMessagesDatasetsContent,
|
|
@@ -2488,12 +1592,12 @@ export const RetrieveDatapointMessagesDatasetsContent$inboundSchema: z.ZodType<
|
|
|
2488
1592
|
unknown
|
|
2489
1593
|
> = z.union([
|
|
2490
1594
|
z.string(),
|
|
2491
|
-
z.array(
|
|
1595
|
+
z.array(components.TextContentPartSchema$inboundSchema),
|
|
2492
1596
|
]);
|
|
2493
1597
|
/** @internal */
|
|
2494
1598
|
export type RetrieveDatapointMessagesDatasetsContent$Outbound =
|
|
2495
1599
|
| string
|
|
2496
|
-
| Array<
|
|
1600
|
+
| Array<components.TextContentPartSchema$Outbound>;
|
|
2497
1601
|
|
|
2498
1602
|
/** @internal */
|
|
2499
1603
|
export const RetrieveDatapointMessagesDatasetsContent$outboundSchema: z.ZodType<
|
|
@@ -2502,7 +1606,7 @@ export const RetrieveDatapointMessagesDatasetsContent$outboundSchema: z.ZodType<
|
|
|
2502
1606
|
RetrieveDatapointMessagesDatasetsContent
|
|
2503
1607
|
> = z.union([
|
|
2504
1608
|
z.string(),
|
|
2505
|
-
z.array(
|
|
1609
|
+
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2506
1610
|
]);
|
|
2507
1611
|
|
|
2508
1612
|
export function retrieveDatapointMessagesDatasetsContentToJSON(
|
|
@@ -2540,14 +1644,14 @@ export const RetrieveDatapointMessagesDeveloperMessage$inboundSchema: z.ZodType<
|
|
|
2540
1644
|
role: z.literal("developer"),
|
|
2541
1645
|
content: z.union([
|
|
2542
1646
|
z.string(),
|
|
2543
|
-
z.array(
|
|
1647
|
+
z.array(components.TextContentPartSchema$inboundSchema),
|
|
2544
1648
|
]),
|
|
2545
1649
|
name: z.string().optional(),
|
|
2546
1650
|
});
|
|
2547
1651
|
/** @internal */
|
|
2548
1652
|
export type RetrieveDatapointMessagesDeveloperMessage$Outbound = {
|
|
2549
1653
|
role: "developer";
|
|
2550
|
-
content: string | Array<
|
|
1654
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2551
1655
|
name?: string | undefined;
|
|
2552
1656
|
};
|
|
2553
1657
|
|
|
@@ -2561,7 +1665,7 @@ export const RetrieveDatapointMessagesDeveloperMessage$outboundSchema:
|
|
|
2561
1665
|
role: z.literal("developer"),
|
|
2562
1666
|
content: z.union([
|
|
2563
1667
|
z.string(),
|
|
2564
|
-
z.array(
|
|
1668
|
+
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2565
1669
|
]),
|
|
2566
1670
|
name: z.string().optional(),
|
|
2567
1671
|
});
|
|
@@ -2592,135 +1696,6 @@ export function retrieveDatapointMessagesDeveloperMessageFromJSON(
|
|
|
2592
1696
|
);
|
|
2593
1697
|
}
|
|
2594
1698
|
|
|
2595
|
-
/** @internal */
|
|
2596
|
-
export const RetrieveDatapointContentType$inboundSchema: z.ZodNativeEnum<
|
|
2597
|
-
typeof RetrieveDatapointContentType
|
|
2598
|
-
> = z.nativeEnum(RetrieveDatapointContentType);
|
|
2599
|
-
/** @internal */
|
|
2600
|
-
export const RetrieveDatapointContentType$outboundSchema: z.ZodNativeEnum<
|
|
2601
|
-
typeof RetrieveDatapointContentType
|
|
2602
|
-
> = RetrieveDatapointContentType$inboundSchema;
|
|
2603
|
-
|
|
2604
|
-
/** @internal */
|
|
2605
|
-
export const RetrieveDatapointContentDatasetsResponseType$inboundSchema:
|
|
2606
|
-
z.ZodNativeEnum<typeof RetrieveDatapointContentDatasetsResponseType> = z
|
|
2607
|
-
.nativeEnum(RetrieveDatapointContentDatasetsResponseType);
|
|
2608
|
-
/** @internal */
|
|
2609
|
-
export const RetrieveDatapointContentDatasetsResponseType$outboundSchema:
|
|
2610
|
-
z.ZodNativeEnum<typeof RetrieveDatapointContentDatasetsResponseType> =
|
|
2611
|
-
RetrieveDatapointContentDatasetsResponseType$inboundSchema;
|
|
2612
|
-
|
|
2613
|
-
/** @internal */
|
|
2614
|
-
export const RetrieveDatapointContentTtl$inboundSchema: z.ZodNativeEnum<
|
|
2615
|
-
typeof RetrieveDatapointContentTtl
|
|
2616
|
-
> = z.nativeEnum(RetrieveDatapointContentTtl);
|
|
2617
|
-
/** @internal */
|
|
2618
|
-
export const RetrieveDatapointContentTtl$outboundSchema: z.ZodNativeEnum<
|
|
2619
|
-
typeof RetrieveDatapointContentTtl
|
|
2620
|
-
> = RetrieveDatapointContentTtl$inboundSchema;
|
|
2621
|
-
|
|
2622
|
-
/** @internal */
|
|
2623
|
-
export const RetrieveDatapointContentCacheControl$inboundSchema: z.ZodType<
|
|
2624
|
-
RetrieveDatapointContentCacheControl,
|
|
2625
|
-
z.ZodTypeDef,
|
|
2626
|
-
unknown
|
|
2627
|
-
> = z.object({
|
|
2628
|
-
type: RetrieveDatapointContentDatasetsResponseType$inboundSchema,
|
|
2629
|
-
ttl: RetrieveDatapointContentTtl$inboundSchema.default("5m"),
|
|
2630
|
-
});
|
|
2631
|
-
/** @internal */
|
|
2632
|
-
export type RetrieveDatapointContentCacheControl$Outbound = {
|
|
2633
|
-
type: string;
|
|
2634
|
-
ttl: string;
|
|
2635
|
-
};
|
|
2636
|
-
|
|
2637
|
-
/** @internal */
|
|
2638
|
-
export const RetrieveDatapointContentCacheControl$outboundSchema: z.ZodType<
|
|
2639
|
-
RetrieveDatapointContentCacheControl$Outbound,
|
|
2640
|
-
z.ZodTypeDef,
|
|
2641
|
-
RetrieveDatapointContentCacheControl
|
|
2642
|
-
> = z.object({
|
|
2643
|
-
type: RetrieveDatapointContentDatasetsResponseType$outboundSchema,
|
|
2644
|
-
ttl: RetrieveDatapointContentTtl$outboundSchema.default("5m"),
|
|
2645
|
-
});
|
|
2646
|
-
|
|
2647
|
-
export function retrieveDatapointContentCacheControlToJSON(
|
|
2648
|
-
retrieveDatapointContentCacheControl: RetrieveDatapointContentCacheControl,
|
|
2649
|
-
): string {
|
|
2650
|
-
return JSON.stringify(
|
|
2651
|
-
RetrieveDatapointContentCacheControl$outboundSchema.parse(
|
|
2652
|
-
retrieveDatapointContentCacheControl,
|
|
2653
|
-
),
|
|
2654
|
-
);
|
|
2655
|
-
}
|
|
2656
|
-
export function retrieveDatapointContentCacheControlFromJSON(
|
|
2657
|
-
jsonString: string,
|
|
2658
|
-
): SafeParseResult<RetrieveDatapointContentCacheControl, SDKValidationError> {
|
|
2659
|
-
return safeParse(
|
|
2660
|
-
jsonString,
|
|
2661
|
-
(x) =>
|
|
2662
|
-
RetrieveDatapointContentCacheControl$inboundSchema.parse(JSON.parse(x)),
|
|
2663
|
-
`Failed to parse 'RetrieveDatapointContentCacheControl' from JSON`,
|
|
2664
|
-
);
|
|
2665
|
-
}
|
|
2666
|
-
|
|
2667
|
-
/** @internal */
|
|
2668
|
-
export const RetrieveDatapointContent2$inboundSchema: z.ZodType<
|
|
2669
|
-
RetrieveDatapointContent2,
|
|
2670
|
-
z.ZodTypeDef,
|
|
2671
|
-
unknown
|
|
2672
|
-
> = z.object({
|
|
2673
|
-
type: RetrieveDatapointContentType$inboundSchema,
|
|
2674
|
-
text: z.string(),
|
|
2675
|
-
cache_control: z.lazy(() =>
|
|
2676
|
-
RetrieveDatapointContentCacheControl$inboundSchema
|
|
2677
|
-
).optional(),
|
|
2678
|
-
}).transform((v) => {
|
|
2679
|
-
return remap$(v, {
|
|
2680
|
-
"cache_control": "cacheControl",
|
|
2681
|
-
});
|
|
2682
|
-
});
|
|
2683
|
-
/** @internal */
|
|
2684
|
-
export type RetrieveDatapointContent2$Outbound = {
|
|
2685
|
-
type: string;
|
|
2686
|
-
text: string;
|
|
2687
|
-
cache_control?: RetrieveDatapointContentCacheControl$Outbound | undefined;
|
|
2688
|
-
};
|
|
2689
|
-
|
|
2690
|
-
/** @internal */
|
|
2691
|
-
export const RetrieveDatapointContent2$outboundSchema: z.ZodType<
|
|
2692
|
-
RetrieveDatapointContent2$Outbound,
|
|
2693
|
-
z.ZodTypeDef,
|
|
2694
|
-
RetrieveDatapointContent2
|
|
2695
|
-
> = z.object({
|
|
2696
|
-
type: RetrieveDatapointContentType$outboundSchema,
|
|
2697
|
-
text: z.string(),
|
|
2698
|
-
cacheControl: z.lazy(() =>
|
|
2699
|
-
RetrieveDatapointContentCacheControl$outboundSchema
|
|
2700
|
-
).optional(),
|
|
2701
|
-
}).transform((v) => {
|
|
2702
|
-
return remap$(v, {
|
|
2703
|
-
cacheControl: "cache_control",
|
|
2704
|
-
});
|
|
2705
|
-
});
|
|
2706
|
-
|
|
2707
|
-
export function retrieveDatapointContent2ToJSON(
|
|
2708
|
-
retrieveDatapointContent2: RetrieveDatapointContent2,
|
|
2709
|
-
): string {
|
|
2710
|
-
return JSON.stringify(
|
|
2711
|
-
RetrieveDatapointContent2$outboundSchema.parse(retrieveDatapointContent2),
|
|
2712
|
-
);
|
|
2713
|
-
}
|
|
2714
|
-
export function retrieveDatapointContent2FromJSON(
|
|
2715
|
-
jsonString: string,
|
|
2716
|
-
): SafeParseResult<RetrieveDatapointContent2, SDKValidationError> {
|
|
2717
|
-
return safeParse(
|
|
2718
|
-
jsonString,
|
|
2719
|
-
(x) => RetrieveDatapointContent2$inboundSchema.parse(JSON.parse(x)),
|
|
2720
|
-
`Failed to parse 'RetrieveDatapointContent2' from JSON`,
|
|
2721
|
-
);
|
|
2722
|
-
}
|
|
2723
|
-
|
|
2724
1699
|
/** @internal */
|
|
2725
1700
|
export const RetrieveDatapointMessagesContent$inboundSchema: z.ZodType<
|
|
2726
1701
|
RetrieveDatapointMessagesContent,
|
|
@@ -2728,12 +1703,12 @@ export const RetrieveDatapointMessagesContent$inboundSchema: z.ZodType<
|
|
|
2728
1703
|
unknown
|
|
2729
1704
|
> = z.union([
|
|
2730
1705
|
z.string(),
|
|
2731
|
-
z.array(
|
|
1706
|
+
z.array(components.TextContentPartSchema$inboundSchema),
|
|
2732
1707
|
]);
|
|
2733
1708
|
/** @internal */
|
|
2734
1709
|
export type RetrieveDatapointMessagesContent$Outbound =
|
|
2735
1710
|
| string
|
|
2736
|
-
| Array<
|
|
1711
|
+
| Array<components.TextContentPartSchema$Outbound>;
|
|
2737
1712
|
|
|
2738
1713
|
/** @internal */
|
|
2739
1714
|
export const RetrieveDatapointMessagesContent$outboundSchema: z.ZodType<
|
|
@@ -2742,7 +1717,7 @@ export const RetrieveDatapointMessagesContent$outboundSchema: z.ZodType<
|
|
|
2742
1717
|
RetrieveDatapointMessagesContent
|
|
2743
1718
|
> = z.union([
|
|
2744
1719
|
z.string(),
|
|
2745
|
-
z.array(
|
|
1720
|
+
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2746
1721
|
]);
|
|
2747
1722
|
|
|
2748
1723
|
export function retrieveDatapointMessagesContentToJSON(
|
|
@@ -2773,14 +1748,14 @@ export const RetrieveDatapointMessagesSystemMessage$inboundSchema: z.ZodType<
|
|
|
2773
1748
|
role: z.literal("system"),
|
|
2774
1749
|
content: z.union([
|
|
2775
1750
|
z.string(),
|
|
2776
|
-
z.array(
|
|
1751
|
+
z.array(components.TextContentPartSchema$inboundSchema),
|
|
2777
1752
|
]),
|
|
2778
1753
|
name: z.string().optional(),
|
|
2779
1754
|
});
|
|
2780
1755
|
/** @internal */
|
|
2781
1756
|
export type RetrieveDatapointMessagesSystemMessage$Outbound = {
|
|
2782
1757
|
role: "system";
|
|
2783
|
-
content: string | Array<
|
|
1758
|
+
content: string | Array<components.TextContentPartSchema$Outbound>;
|
|
2784
1759
|
name?: string | undefined;
|
|
2785
1760
|
};
|
|
2786
1761
|
|
|
@@ -2793,7 +1768,7 @@ export const RetrieveDatapointMessagesSystemMessage$outboundSchema: z.ZodType<
|
|
|
2793
1768
|
role: z.literal("system"),
|
|
2794
1769
|
content: z.union([
|
|
2795
1770
|
z.string(),
|
|
2796
|
-
z.array(
|
|
1771
|
+
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2797
1772
|
]),
|
|
2798
1773
|
name: z.string().optional(),
|
|
2799
1774
|
});
|
|
@@ -2903,7 +1878,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2903
1878
|
.default("orq"),
|
|
2904
1879
|
reviewed_by_id: z.string(),
|
|
2905
1880
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2906
|
-
"2025-12-
|
|
1881
|
+
"2025-12-10T05:41:06.443Z",
|
|
2907
1882
|
).transform(v => new Date(v)),
|
|
2908
1883
|
type: z.literal("string_array"),
|
|
2909
1884
|
values: z.array(z.string()),
|
|
@@ -2940,7 +1915,7 @@ export const RetrieveDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
2940
1915
|
source: RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
2941
1916
|
.default("orq"),
|
|
2942
1917
|
reviewedById: z.string(),
|
|
2943
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
1918
|
+
reviewedAt: z.date().default(() => new Date("2025-12-10T05:41:06.443Z"))
|
|
2944
1919
|
.transform(v => v.toISOString()),
|
|
2945
1920
|
type: z.literal("string_array"),
|
|
2946
1921
|
values: z.array(z.string()),
|
|
@@ -3005,7 +1980,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
3005
1980
|
),
|
|
3006
1981
|
reviewed_by_id: z.string(),
|
|
3007
1982
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3008
|
-
"2025-12-
|
|
1983
|
+
"2025-12-10T05:41:06.443Z",
|
|
3009
1984
|
).transform(v => new Date(v)),
|
|
3010
1985
|
type: z.literal("number"),
|
|
3011
1986
|
value: z.number(),
|
|
@@ -3043,7 +2018,7 @@ export const RetrieveDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
3043
2018
|
"orq",
|
|
3044
2019
|
),
|
|
3045
2020
|
reviewedById: z.string(),
|
|
3046
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
2021
|
+
reviewedAt: z.date().default(() => new Date("2025-12-10T05:41:06.443Z"))
|
|
3047
2022
|
.transform(v => v.toISOString()),
|
|
3048
2023
|
type: z.literal("number"),
|
|
3049
2024
|
value: z.number(),
|
|
@@ -3105,7 +2080,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
3105
2080
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
3106
2081
|
reviewed_by_id: z.string(),
|
|
3107
2082
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3108
|
-
"2025-12-
|
|
2083
|
+
"2025-12-10T05:41:06.442Z",
|
|
3109
2084
|
).transform(v => new Date(v)),
|
|
3110
2085
|
type: z.literal("string"),
|
|
3111
2086
|
value: z.string(),
|
|
@@ -3140,7 +2115,7 @@ export const RetrieveDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
3140
2115
|
humanReviewId: z.string(),
|
|
3141
2116
|
source: RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
3142
2117
|
reviewedById: z.string(),
|
|
3143
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
2118
|
+
reviewedAt: z.date().default(() => new Date("2025-12-10T05:41:06.442Z"))
|
|
3144
2119
|
.transform(v => v.toISOString()),
|
|
3145
2120
|
type: z.literal("string"),
|
|
3146
2121
|
value: z.string(),
|
|
@@ -3251,7 +2226,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
3251
2226
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3252
2227
|
.optional(),
|
|
3253
2228
|
updated: z.string().datetime({ offset: true }).default(
|
|
3254
|
-
"2025-12-
|
|
2229
|
+
"2025-12-10T05:40:54.670Z",
|
|
3255
2230
|
).transform(v => new Date(v)),
|
|
3256
2231
|
}).transform((v) => {
|
|
3257
2232
|
return remap$(v, {
|
|
@@ -3325,7 +2300,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
3325
2300
|
createdById: z.string().optional(),
|
|
3326
2301
|
updatedById: z.string().optional(),
|
|
3327
2302
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
3328
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
2303
|
+
updated: z.date().default(() => new Date("2025-12-10T05:40:54.670Z"))
|
|
3329
2304
|
.transform(v => v.toISOString()),
|
|
3330
2305
|
}).transform((v) => {
|
|
3331
2306
|
return remap$(v, {
|