@orq-ai/node 4.1.0-rc.33 → 4.1.0-rc.34
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 +18 -38
- package/bin/mcp-server.js +9851 -9147
- package/bin/mcp-server.js.map +82 -118
- package/examples/package-lock.json +1 -1
- package/funcs/agentsResponsesCreate.d.ts +1 -7
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +2 -9
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/budgetsCreate.d.ts +1 -1
- package/funcs/budgetsCreate.js +1 -1
- package/funcs/contactsList.js +0 -1
- package/funcs/contactsList.js.map +1 -1
- package/funcs/memoryStoresListDocuments.js +0 -2
- package/funcs/memoryStoresListDocuments.js.map +1 -1
- package/funcs/memoryStoresListMemories.js +0 -1
- 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 +1 -13
- 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/models/components/agentexecutionstartedstreamingevent.d.ts +8 -8
- package/models/components/agentexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/agentexecutionstartedstreamingevent.js +12 -11
- 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 +28 -27
- package/models/components/agentinactivestreamingevent.js.map +1 -1
- package/models/components/agentthoughtstreamingevent.d.ts +24 -26
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +32 -34
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/imagecontentpartschema.d.ts +18 -18
- package/models/components/imagecontentpartschema.d.ts.map +1 -1
- package/models/components/imagecontentpartschema.js +21 -23
- package/models/components/imagecontentpartschema.js.map +1 -1
- package/models/components/index.d.ts +2 -16
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -16
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +1028 -149
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +984 -128
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/thinkingconfigdisabledschema.d.ts +23 -0
- package/models/components/thinkingconfigdisabledschema.d.ts.map +1 -0
- package/{mcp-server/tools/conversationsDelete.js → models/components/thinkingconfigdisabledschema.js} +19 -24
- package/models/components/thinkingconfigdisabledschema.js.map +1 -0
- package/models/components/thinkingconfigenabledschema.d.ts +49 -0
- package/models/components/thinkingconfigenabledschema.d.ts.map +1 -0
- package/models/components/thinkingconfigenabledschema.js +84 -0
- package/models/components/thinkingconfigenabledschema.js.map +1 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts +0 -2
- package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.js +0 -2
- package/models/components/toolexecutionfailedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +0 -2
- package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.js +0 -2
- package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +0 -2
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.js +0 -2
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
- package/models/errors/index.d.ts +0 -4
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -4
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +17 -207
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +71 -190
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +1 -35
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +1 -55
- package/models/operations/createagentresponserequest.js.map +1 -1
- package/models/operations/createbudget.d.ts +13 -69
- package/models/operations/createbudget.d.ts.map +1 -1
- package/models/operations/createbudget.js +12 -61
- package/models/operations/createbudget.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +1033 -153
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +957 -147
- 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 +5 -10
- package/models/operations/creatememory.d.ts.map +1 -1
- package/models/operations/creatememory.js +2 -6
- 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 +489 -146
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +483 -168
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/deploymentcreatemetric.d.ts +1034 -154
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +972 -137
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +1101 -221
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1059 -263
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +26 -27
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +28 -29
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +13 -14
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +13 -14
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1064 -185
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +990 -164
- 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 +14 -13
- package/models/operations/fileupload.js.map +1 -1
- package/models/operations/getallmemories.d.ts +0 -10
- package/models/operations/getallmemories.d.ts.map +1 -1
- package/models/operations/getallmemories.js +0 -6
- package/models/operations/getallmemories.js.map +1 -1
- package/models/operations/getallmemorydocuments.d.ts +0 -10
- package/models/operations/getallmemorydocuments.d.ts.map +1 -1
- package/models/operations/getallmemorydocuments.js +0 -8
- package/models/operations/getallmemorydocuments.js.map +1 -1
- package/models/operations/getallprompts.d.ts +13 -14
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +13 -14
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.d.ts +0 -5
- package/models/operations/getbudget.d.ts.map +1 -1
- package/models/operations/getbudget.js +2 -6
- package/models/operations/getbudget.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +13 -14
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +13 -14
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +13 -14
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +13 -14
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/index.d.ts +0 -6
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -6
- package/models/operations/index.js.map +1 -1
- package/models/operations/listagents.d.ts +9 -105
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +36 -95
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.d.ts +0 -5
- package/models/operations/listbudgets.d.ts.map +1 -1
- package/models/operations/listbudgets.js +2 -6
- package/models/operations/listbudgets.js.map +1 -1
- package/models/operations/listcontacts.d.ts +0 -5
- package/models/operations/listcontacts.d.ts.map +1 -1
- package/models/operations/listcontacts.js +2 -4
- package/models/operations/listcontacts.js.map +1 -1
- package/models/operations/listdatasetdatapoints.d.ts +516 -76
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +475 -75
- 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 +13 -14
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +13 -14
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +9 -105
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +36 -95
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.d.ts +516 -76
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +473 -75
- 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 +0 -5
- package/models/operations/retrievememory.d.ts.map +1 -1
- package/models/operations/retrievememory.js +0 -4
- package/models/operations/retrievememory.js.map +1 -1
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +8 -102
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +39 -102
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +8 -102
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +39 -101
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +17 -207
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +71 -189
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.d.ts +0 -5
- package/models/operations/updatebudget.d.ts.map +1 -1
- package/models/operations/updatebudget.js +2 -6
- package/models/operations/updatebudget.js.map +1 -1
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.d.ts +1033 -153
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +955 -147
- 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 +5 -10
- package/models/operations/updatememory.d.ts.map +1 -1
- package/models/operations/updatememory.js +2 -6
- 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 +59 -24
- package/models/operations/updatememorystore.d.ts.map +1 -1
- package/models/operations/updatememorystore.js +55 -27
- package/models/operations/updatememorystore.js.map +1 -1
- package/models/operations/updateprompt.d.ts +486 -149
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +466 -156
- 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/evals.d.ts +0 -4
- package/sdk/evals.d.ts.map +1 -1
- package/sdk/evals.js +0 -7
- package/sdk/evals.js.map +1 -1
- package/sdk/responses.d.ts +1 -5
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +1 -3
- package/sdk/responses.js.map +1 -1
- package/sdk/sdk.d.ts +0 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -4
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/agentsResponsesCreate.ts +10 -14
- package/src/funcs/budgetsCreate.ts +1 -1
- package/src/funcs/contactsList.ts +0 -1
- package/src/funcs/memoryStoresListDocuments.ts +0 -2
- package/src/funcs/memoryStoresListMemories.ts +0 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -13
- package/src/mcp-server/tools/budgetsCreate.ts +1 -1
- package/src/models/components/agentexecutionstartedstreamingevent.ts +34 -53
- package/src/models/components/agentinactivestreamingevent.ts +57 -85
- package/src/models/components/agentthoughtstreamingevent.ts +118 -167
- package/src/models/components/imagecontentpartschema.ts +37 -52
- package/src/models/components/index.ts +2 -16
- package/src/models/components/invokedeploymentrequest.ts +2543 -486
- package/src/models/components/thinkingconfigdisabledschema.ts +59 -0
- package/src/models/components/thinkingconfigenabledschema.ts +106 -0
- package/src/models/components/toolexecutionfailedstreamingevent.ts +0 -4
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +0 -4
- package/src/models/components/toolexecutionstartedstreamingevent.ts +0 -4
- package/src/models/errors/index.ts +0 -4
- package/src/models/operations/createagentrequest.ts +119 -368
- package/src/models/operations/createagentresponserequest.ts +1 -134
- package/src/models/operations/createbudget.ts +28 -143
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2747 -562
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/creatememory.ts +5 -14
- package/src/models/operations/creatememorydocument.ts +4 -4
- package/src/models/operations/createprompt.ts +1217 -415
- package/src/models/operations/createtool.ts +12 -12
- package/src/models/operations/deploymentcreatemetric.ts +3037 -598
- package/src/models/operations/deploymentgetconfig.ts +2905 -828
- package/src/models/operations/deploymentinvoke.ts +46 -47
- package/src/models/operations/deployments.ts +15 -16
- package/src/models/operations/deploymentstream.ts +2842 -592
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +27 -30
- package/src/models/operations/getallmemories.ts +0 -16
- package/src/models/operations/getallmemorydocuments.ts +0 -22
- package/src/models/operations/getallprompts.ts +15 -16
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -11
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +15 -16
- package/src/models/operations/getpromptversion.ts +15 -16
- package/src/models/operations/index.ts +0 -6
- package/src/models/operations/listagents.ts +61 -187
- package/src/models/operations/listbudgets.ts +2 -11
- package/src/models/operations/listcontacts.ts +2 -9
- package/src/models/operations/listdatasetdatapoints.ts +1381 -314
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +15 -16
- package/src/models/operations/retrieveagentrequest.ts +59 -195
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +1301 -276
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievememory.ts +0 -9
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +62 -192
- package/src/models/operations/streamrunagent.ts +60 -199
- package/src/models/operations/updateagent.ts +119 -378
- package/src/models/operations/updatebudget.ts +2 -11
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2772 -611
- 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 +5 -14
- package/src/models/operations/updatememorydocument.ts +4 -4
- package/src/models/operations/updatememorystore.ts +154 -64
- package/src/models/operations/updateprompt.ts +1142 -383
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/budgets.ts +1 -1
- package/src/sdk/evals.ts +0 -15
- package/src/sdk/responses.ts +3 -8
- package/src/sdk/sdk.ts +0 -6
- package/funcs/conversationsCreate.d.ts +0 -17
- package/funcs/conversationsCreate.d.ts.map +0 -1
- package/funcs/conversationsCreate.js +0 -114
- package/funcs/conversationsCreate.js.map +0 -1
- package/funcs/conversationsDelete.d.ts +0 -17
- package/funcs/conversationsDelete.d.ts.map +0 -1
- package/funcs/conversationsDelete.js +0 -127
- package/funcs/conversationsDelete.js.map +0 -1
- package/funcs/conversationsList.d.ts +0 -17
- package/funcs/conversationsList.d.ts.map +0 -1
- package/funcs/conversationsList.js +0 -124
- package/funcs/conversationsList.js.map +0 -1
- package/funcs/conversationsRetrieve.d.ts +0 -18
- package/funcs/conversationsRetrieve.d.ts.map +0 -1
- package/funcs/conversationsRetrieve.js +0 -126
- package/funcs/conversationsRetrieve.js.map +0 -1
- package/funcs/conversationsUpdate.d.ts +0 -18
- package/funcs/conversationsUpdate.d.ts.map +0 -1
- package/funcs/conversationsUpdate.js +0 -128
- package/funcs/conversationsUpdate.js.map +0 -1
- package/funcs/evalsInvoke.d.ts +0 -15
- package/funcs/evalsInvoke.d.ts.map +0 -1
- package/funcs/evalsInvoke.js +0 -121
- package/funcs/evalsInvoke.js.map +0 -1
- package/mcp-server/tools/conversationsCreate.d.ts +0 -8
- package/mcp-server/tools/conversationsCreate.d.ts.map +0 -1
- package/mcp-server/tools/conversationsCreate.js +0 -64
- package/mcp-server/tools/conversationsCreate.js.map +0 -1
- package/mcp-server/tools/conversationsDelete.d.ts +0 -8
- package/mcp-server/tools/conversationsDelete.d.ts.map +0 -1
- package/mcp-server/tools/conversationsDelete.js.map +0 -1
- package/mcp-server/tools/conversationsList.d.ts +0 -10
- package/mcp-server/tools/conversationsList.d.ts.map +0 -1
- package/mcp-server/tools/conversationsList.js +0 -66
- package/mcp-server/tools/conversationsList.js.map +0 -1
- package/mcp-server/tools/conversationsRetrieve.d.ts +0 -8
- package/mcp-server/tools/conversationsRetrieve.d.ts.map +0 -1
- package/mcp-server/tools/conversationsRetrieve.js +0 -64
- package/mcp-server/tools/conversationsRetrieve.js.map +0 -1
- package/mcp-server/tools/conversationsUpdate.d.ts +0 -10
- package/mcp-server/tools/conversationsUpdate.d.ts.map +0 -1
- package/mcp-server/tools/conversationsUpdate.js +0 -66
- package/mcp-server/tools/conversationsUpdate.js.map +0 -1
- package/mcp-server/tools/evalsInvoke.d.ts +0 -8
- package/mcp-server/tools/evalsInvoke.d.ts.map +0 -1
- package/mcp-server/tools/evalsInvoke.js +0 -62
- package/mcp-server/tools/evalsInvoke.js.map +0 -1
- package/models/operations/listconversations.d.ts +0 -60
- package/models/operations/listconversations.d.ts.map +0 -1
- package/models/operations/listconversations.js +0 -109
- package/models/operations/listconversations.js.map +0 -1
- package/sdk/conversations.d.ts +0 -40
- package/sdk/conversations.d.ts.map +0 -1
- package/sdk/conversations.js +0 -62
- package/sdk/conversations.js.map +0 -1
- package/src/funcs/conversationsCreate.ts +0 -161
- package/src/funcs/conversationsDelete.ts +0 -180
- package/src/funcs/conversationsList.ts +0 -181
- package/src/funcs/conversationsRetrieve.ts +0 -180
- package/src/funcs/conversationsUpdate.ts +0 -184
- package/src/funcs/evalsInvoke.ts +0 -177
- package/src/mcp-server/tools/conversationsCreate.ts +0 -37
- package/src/mcp-server/tools/conversationsDelete.ts +0 -35
- package/src/mcp-server/tools/conversationsList.ts +0 -41
- package/src/mcp-server/tools/conversationsRetrieve.ts +0 -37
- package/src/mcp-server/tools/conversationsUpdate.ts +0 -40
- package/src/mcp-server/tools/evalsInvoke.ts +0 -35
- package/src/models/operations/listconversations.ts +0 -161
- package/src/sdk/conversations.ts +0 -105
|
@@ -21,15 +21,90 @@ export type RetrieveDatapointRequest = {
|
|
|
21
21
|
datapointId: string;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
export
|
|
25
|
-
|
|
24
|
+
export const RetrieveDatapoint2DatasetsResponse200Type = {
|
|
25
|
+
Text: "text",
|
|
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;
|
|
26
101
|
|
|
27
102
|
/**
|
|
28
103
|
* The contents of the tool message.
|
|
29
104
|
*/
|
|
30
105
|
export type RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent =
|
|
31
106
|
| string
|
|
32
|
-
| Array<
|
|
107
|
+
| Array<RetrieveDatapoint2DatasetsResponse1>;
|
|
33
108
|
|
|
34
109
|
/**
|
|
35
110
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
@@ -98,7 +173,7 @@ export type RetrieveDatapointMessagesToolMessage = {
|
|
|
98
173
|
/**
|
|
99
174
|
* The contents of the tool message.
|
|
100
175
|
*/
|
|
101
|
-
content: string | Array<
|
|
176
|
+
content: string | Array<RetrieveDatapoint2DatasetsResponse1>;
|
|
102
177
|
/**
|
|
103
178
|
* Tool call that this message is responding to.
|
|
104
179
|
*/
|
|
@@ -106,8 +181,75 @@ export type RetrieveDatapointMessagesToolMessage = {
|
|
|
106
181
|
cacheControl?: RetrieveDatapointMessagesCacheControl | undefined;
|
|
107
182
|
};
|
|
108
183
|
|
|
109
|
-
|
|
110
|
-
|
|
184
|
+
/**
|
|
185
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
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
|
|
111
253
|
| components.RefusalPartSchema
|
|
112
254
|
| components.ReasoningPartSchema
|
|
113
255
|
| components.RedactedReasoningPartSchema;
|
|
@@ -118,7 +260,7 @@ export type RetrieveDatapointContentDatasets2 =
|
|
|
118
260
|
export type RetrieveDatapointMessagesDatasetsResponse200Content =
|
|
119
261
|
| string
|
|
120
262
|
| Array<
|
|
121
|
-
|
|
|
263
|
+
| RetrieveDatapoint2Datasets1
|
|
122
264
|
| components.RefusalPartSchema
|
|
123
265
|
| components.ReasoningPartSchema
|
|
124
266
|
| components.RedactedReasoningPartSchema
|
|
@@ -181,7 +323,7 @@ export type RetrieveDatapointMessagesAssistantMessage = {
|
|
|
181
323
|
content?:
|
|
182
324
|
| string
|
|
183
325
|
| Array<
|
|
184
|
-
|
|
|
326
|
+
| RetrieveDatapoint2Datasets1
|
|
185
327
|
| components.RefusalPartSchema
|
|
186
328
|
| components.ReasoningPartSchema
|
|
187
329
|
| components.RedactedReasoningPartSchema
|
|
@@ -213,15 +355,17 @@ export type RetrieveDatapointMessagesAssistantMessage = {
|
|
|
213
355
|
/**
|
|
214
356
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
215
357
|
*/
|
|
216
|
-
export const
|
|
217
|
-
|
|
218
|
-
|
|
358
|
+
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType =
|
|
359
|
+
{
|
|
360
|
+
Ephemeral: "ephemeral",
|
|
361
|
+
} as const;
|
|
219
362
|
/**
|
|
220
363
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
221
364
|
*/
|
|
222
|
-
export type
|
|
223
|
-
|
|
224
|
-
|
|
365
|
+
export type RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType =
|
|
366
|
+
ClosedEnum<
|
|
367
|
+
typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType
|
|
368
|
+
>;
|
|
225
369
|
|
|
226
370
|
/**
|
|
227
371
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
@@ -233,7 +377,7 @@ export type RetrieveDatapoint2DatasetsType = ClosedEnum<
|
|
|
233
377
|
*
|
|
234
378
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
235
379
|
*/
|
|
236
|
-
export const
|
|
380
|
+
export const RetrieveDatapoint2DatasetsTtl = {
|
|
237
381
|
Fivem: "5m",
|
|
238
382
|
Oneh: "1h",
|
|
239
383
|
} as const;
|
|
@@ -247,13 +391,16 @@ export const RetrieveDatapoint2Ttl = {
|
|
|
247
391
|
*
|
|
248
392
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
249
393
|
*/
|
|
250
|
-
export type
|
|
394
|
+
export type RetrieveDatapoint2DatasetsTtl = ClosedEnum<
|
|
395
|
+
typeof RetrieveDatapoint2DatasetsTtl
|
|
396
|
+
>;
|
|
251
397
|
|
|
252
|
-
export type
|
|
398
|
+
export type RetrieveDatapoint2DatasetsCacheControl = {
|
|
253
399
|
/**
|
|
254
400
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
255
401
|
*/
|
|
256
|
-
type:
|
|
402
|
+
type:
|
|
403
|
+
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType;
|
|
257
404
|
/**
|
|
258
405
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
259
406
|
*
|
|
@@ -264,7 +411,7 @@ export type RetrieveDatapoint2CacheControl = {
|
|
|
264
411
|
*
|
|
265
412
|
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
266
413
|
*/
|
|
267
|
-
ttl?:
|
|
414
|
+
ttl?: RetrieveDatapoint2DatasetsTtl | undefined;
|
|
268
415
|
};
|
|
269
416
|
|
|
270
417
|
export type RetrieveDatapoint24 = {
|
|
@@ -272,15 +419,77 @@ export type RetrieveDatapoint24 = {
|
|
|
272
419
|
* The type of the content part. Always `file`.
|
|
273
420
|
*/
|
|
274
421
|
type: "file";
|
|
275
|
-
cacheControl?:
|
|
422
|
+
cacheControl?: RetrieveDatapoint2DatasetsCacheControl | undefined;
|
|
276
423
|
/**
|
|
277
424
|
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
278
425
|
*/
|
|
279
426
|
file: components.FileContentPartSchema;
|
|
280
427
|
};
|
|
281
428
|
|
|
282
|
-
|
|
283
|
-
|
|
429
|
+
/**
|
|
430
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
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
|
|
284
493
|
| components.ImageContentPartSchema
|
|
285
494
|
| components.AudioContentPartSchema
|
|
286
495
|
| RetrieveDatapoint24;
|
|
@@ -291,7 +500,7 @@ export type RetrieveDatapointContent2 =
|
|
|
291
500
|
export type RetrieveDatapointMessagesDatasetsResponseContent =
|
|
292
501
|
| string
|
|
293
502
|
| Array<
|
|
294
|
-
|
|
|
503
|
+
| RetrieveDatapoint21
|
|
295
504
|
| components.ImageContentPartSchema
|
|
296
505
|
| components.AudioContentPartSchema
|
|
297
506
|
| RetrieveDatapoint24
|
|
@@ -312,75 +521,219 @@ export type RetrieveDatapointMessagesUserMessage = {
|
|
|
312
521
|
content:
|
|
313
522
|
| string
|
|
314
523
|
| Array<
|
|
315
|
-
|
|
|
524
|
+
| RetrieveDatapoint21
|
|
316
525
|
| components.ImageContentPartSchema
|
|
317
526
|
| components.AudioContentPartSchema
|
|
318
527
|
| RetrieveDatapoint24
|
|
319
528
|
>;
|
|
320
529
|
};
|
|
321
530
|
|
|
531
|
+
export const RetrieveDatapointContentDatasetsType = {
|
|
532
|
+
Text: "text",
|
|
533
|
+
} as const;
|
|
534
|
+
export type RetrieveDatapointContentDatasetsType = ClosedEnum<
|
|
535
|
+
typeof RetrieveDatapointContentDatasetsType
|
|
536
|
+
>;
|
|
537
|
+
|
|
322
538
|
/**
|
|
323
|
-
*
|
|
539
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
324
540
|
*/
|
|
325
|
-
export
|
|
326
|
-
|
|
327
|
-
|
|
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
|
+
>;
|
|
328
550
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
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
|
+
/**
|
|
566
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
567
|
+
*
|
|
568
|
+
* @remarks
|
|
569
|
+
*
|
|
570
|
+
* - `5m`: 5 minutes
|
|
571
|
+
* - `1h`: 1 hour
|
|
572
|
+
*
|
|
573
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
574
|
+
*/
|
|
575
|
+
export type RetrieveDatapointContentDatasetsTtl = ClosedEnum<
|
|
576
|
+
typeof RetrieveDatapointContentDatasetsTtl
|
|
577
|
+
>;
|
|
578
|
+
|
|
579
|
+
export type RetrieveDatapointContentDatasetsCacheControl = {
|
|
334
580
|
/**
|
|
335
|
-
*
|
|
581
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
336
582
|
*/
|
|
337
|
-
|
|
583
|
+
type: RetrieveDatapointContentDatasetsResponse200Type;
|
|
338
584
|
/**
|
|
339
|
-
*
|
|
585
|
+
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
586
|
+
*
|
|
587
|
+
* @remarks
|
|
588
|
+
*
|
|
589
|
+
* - `5m`: 5 minutes
|
|
590
|
+
* - `1h`: 1 hour
|
|
591
|
+
*
|
|
592
|
+
* Defaults to `5m`. Only supported by `Anthropic` Claude models.
|
|
340
593
|
*/
|
|
341
|
-
|
|
594
|
+
ttl?: RetrieveDatapointContentDatasetsTtl | undefined;
|
|
595
|
+
};
|
|
596
|
+
|
|
597
|
+
export type RetrieveDatapointContentDatasets2 = {
|
|
598
|
+
type: RetrieveDatapointContentDatasetsType;
|
|
599
|
+
text: string;
|
|
600
|
+
cacheControl?: RetrieveDatapointContentDatasetsCacheControl | undefined;
|
|
342
601
|
};
|
|
343
602
|
|
|
344
603
|
/**
|
|
345
|
-
* The contents of the
|
|
604
|
+
* The contents of the developer message.
|
|
346
605
|
*/
|
|
347
|
-
export type
|
|
606
|
+
export type RetrieveDatapointMessagesDatasetsContent =
|
|
348
607
|
| string
|
|
349
|
-
| Array<
|
|
608
|
+
| Array<RetrieveDatapointContentDatasets2>;
|
|
350
609
|
|
|
351
|
-
|
|
352
|
-
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
353
|
-
*/
|
|
354
|
-
export type RetrieveDatapointMessagesSystemMessage = {
|
|
610
|
+
export type RetrieveDatapointMessagesDeveloperMessage = {
|
|
355
611
|
/**
|
|
356
|
-
* The role of the messages author, in this case
|
|
612
|
+
* The role of the messages author, in this case `developer`.
|
|
357
613
|
*/
|
|
358
|
-
role: "
|
|
614
|
+
role: "developer";
|
|
359
615
|
/**
|
|
360
|
-
* The contents of the
|
|
616
|
+
* The contents of the developer message.
|
|
361
617
|
*/
|
|
362
|
-
content: string | Array<
|
|
618
|
+
content: string | Array<RetrieveDatapointContentDatasets2>;
|
|
363
619
|
/**
|
|
364
620
|
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
365
621
|
*/
|
|
366
622
|
name?: string | undefined;
|
|
367
623
|
};
|
|
368
624
|
|
|
369
|
-
export
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
625
|
+
export const RetrieveDatapointContentType = {
|
|
626
|
+
Text: "text",
|
|
627
|
+
} as const;
|
|
628
|
+
export type RetrieveDatapointContentType = ClosedEnum<
|
|
629
|
+
typeof RetrieveDatapointContentType
|
|
630
|
+
>;
|
|
375
631
|
|
|
376
632
|
/**
|
|
377
|
-
*
|
|
633
|
+
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
378
634
|
*/
|
|
379
|
-
export const
|
|
380
|
-
|
|
635
|
+
export const RetrieveDatapointContentDatasetsResponseType = {
|
|
636
|
+
Ephemeral: "ephemeral",
|
|
381
637
|
} as const;
|
|
382
638
|
/**
|
|
383
|
-
*
|
|
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",
|
|
734
|
+
} as const;
|
|
735
|
+
/**
|
|
736
|
+
* The type of evaluation
|
|
384
737
|
*/
|
|
385
738
|
export type RetrieveDatapointEvaluationsDatasetsResponseEvaluationType =
|
|
386
739
|
ClosedEnum<typeof RetrieveDatapointEvaluationsDatasetsResponseEvaluationType>;
|
|
@@ -636,46 +989,194 @@ export function retrieveDatapointRequestFromJSON(
|
|
|
636
989
|
}
|
|
637
990
|
|
|
638
991
|
/** @internal */
|
|
639
|
-
export const
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
unknown
|
|
643
|
-
> = components.TextContentPartSchema$inboundSchema;
|
|
992
|
+
export const RetrieveDatapoint2DatasetsResponse200Type$inboundSchema:
|
|
993
|
+
z.ZodNativeEnum<typeof RetrieveDatapoint2DatasetsResponse200Type> = z
|
|
994
|
+
.nativeEnum(RetrieveDatapoint2DatasetsResponse200Type);
|
|
644
995
|
/** @internal */
|
|
645
|
-
export
|
|
646
|
-
|
|
996
|
+
export const RetrieveDatapoint2DatasetsResponse200Type$outboundSchema:
|
|
997
|
+
z.ZodNativeEnum<typeof RetrieveDatapoint2DatasetsResponse200Type> =
|
|
998
|
+
RetrieveDatapoint2DatasetsResponse200Type$inboundSchema;
|
|
647
999
|
|
|
648
1000
|
/** @internal */
|
|
649
|
-
export const
|
|
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:
|
|
650
1025
|
z.ZodType<
|
|
651
|
-
|
|
1026
|
+
RetrieveDatapoint2DatasetsResponse200CacheControl,
|
|
652
1027
|
z.ZodTypeDef,
|
|
653
|
-
|
|
654
|
-
> =
|
|
1028
|
+
unknown
|
|
1029
|
+
> = z.object({
|
|
1030
|
+
type:
|
|
1031
|
+
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type$inboundSchema,
|
|
1032
|
+
ttl: RetrieveDatapoint2DatasetsResponse200Ttl$inboundSchema.default("5m"),
|
|
1033
|
+
});
|
|
1034
|
+
/** @internal */
|
|
1035
|
+
export type RetrieveDatapoint2DatasetsResponse200CacheControl$Outbound = {
|
|
1036
|
+
type: string;
|
|
1037
|
+
ttl: string;
|
|
1038
|
+
};
|
|
655
1039
|
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
1040
|
+
/** @internal */
|
|
1041
|
+
export const RetrieveDatapoint2DatasetsResponse200CacheControl$outboundSchema:
|
|
1042
|
+
z.ZodType<
|
|
1043
|
+
RetrieveDatapoint2DatasetsResponse200CacheControl$Outbound,
|
|
1044
|
+
z.ZodTypeDef,
|
|
1045
|
+
RetrieveDatapoint2DatasetsResponse200CacheControl
|
|
1046
|
+
> = z.object({
|
|
1047
|
+
type:
|
|
1048
|
+
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessages5Type$outboundSchema,
|
|
1049
|
+
ttl: RetrieveDatapoint2DatasetsResponse200Ttl$outboundSchema.default("5m"),
|
|
1050
|
+
});
|
|
1051
|
+
|
|
1052
|
+
export function retrieveDatapoint2DatasetsResponse200CacheControlToJSON(
|
|
1053
|
+
retrieveDatapoint2DatasetsResponse200CacheControl:
|
|
1054
|
+
RetrieveDatapoint2DatasetsResponse200CacheControl,
|
|
659
1055
|
): string {
|
|
660
1056
|
return JSON.stringify(
|
|
661
|
-
|
|
662
|
-
|
|
1057
|
+
RetrieveDatapoint2DatasetsResponse200CacheControl$outboundSchema.parse(
|
|
1058
|
+
retrieveDatapoint2DatasetsResponse200CacheControl,
|
|
663
1059
|
),
|
|
664
1060
|
);
|
|
665
1061
|
}
|
|
666
|
-
export function
|
|
1062
|
+
export function retrieveDatapoint2DatasetsResponse200CacheControlFromJSON(
|
|
667
1063
|
jsonString: string,
|
|
668
1064
|
): SafeParseResult<
|
|
669
|
-
|
|
1065
|
+
RetrieveDatapoint2DatasetsResponse200CacheControl,
|
|
670
1066
|
SDKValidationError
|
|
671
1067
|
> {
|
|
672
1068
|
return safeParse(
|
|
673
1069
|
jsonString,
|
|
674
1070
|
(x) =>
|
|
675
|
-
|
|
1071
|
+
RetrieveDatapoint2DatasetsResponse200CacheControl$inboundSchema.parse(
|
|
676
1072
|
JSON.parse(x),
|
|
677
1073
|
),
|
|
678
|
-
`Failed to parse '
|
|
1074
|
+
`Failed to parse 'RetrieveDatapoint2DatasetsResponse200CacheControl' from JSON`,
|
|
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`,
|
|
679
1180
|
);
|
|
680
1181
|
}
|
|
681
1182
|
|
|
@@ -687,12 +1188,12 @@ export const RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent$
|
|
|
687
1188
|
unknown
|
|
688
1189
|
> = z.union([
|
|
689
1190
|
z.string(),
|
|
690
|
-
z.array(
|
|
1191
|
+
z.array(z.lazy(() => RetrieveDatapoint2DatasetsResponse1$inboundSchema)),
|
|
691
1192
|
]);
|
|
692
1193
|
/** @internal */
|
|
693
1194
|
export type RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent$Outbound =
|
|
694
1195
|
| string
|
|
695
|
-
| Array<
|
|
1196
|
+
| Array<RetrieveDatapoint2DatasetsResponse1$Outbound>;
|
|
696
1197
|
|
|
697
1198
|
/** @internal */
|
|
698
1199
|
export const RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent$outboundSchema:
|
|
@@ -702,7 +1203,7 @@ export const RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent$
|
|
|
702
1203
|
RetrieveDatapointMessagesDatasetsResponse200ApplicationJSONContent
|
|
703
1204
|
> = z.union([
|
|
704
1205
|
z.string(),
|
|
705
|
-
z.array(
|
|
1206
|
+
z.array(z.lazy(() => RetrieveDatapoint2DatasetsResponse1$outboundSchema)),
|
|
706
1207
|
]);
|
|
707
1208
|
|
|
708
1209
|
export function retrieveDatapointMessagesDatasetsResponse200ApplicationJSONContentToJSON(
|
|
@@ -804,7 +1305,7 @@ export const RetrieveDatapointMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
804
1305
|
role: z.literal("tool"),
|
|
805
1306
|
content: z.union([
|
|
806
1307
|
z.string(),
|
|
807
|
-
z.array(
|
|
1308
|
+
z.array(z.lazy(() => RetrieveDatapoint2DatasetsResponse1$inboundSchema)),
|
|
808
1309
|
]),
|
|
809
1310
|
tool_call_id: z.string(),
|
|
810
1311
|
cache_control: z.lazy(() =>
|
|
@@ -819,7 +1320,7 @@ export const RetrieveDatapointMessagesToolMessage$inboundSchema: z.ZodType<
|
|
|
819
1320
|
/** @internal */
|
|
820
1321
|
export type RetrieveDatapointMessagesToolMessage$Outbound = {
|
|
821
1322
|
role: "tool";
|
|
822
|
-
content: string | Array<
|
|
1323
|
+
content: string | Array<RetrieveDatapoint2DatasetsResponse1$Outbound>;
|
|
823
1324
|
tool_call_id: string;
|
|
824
1325
|
cache_control?: RetrieveDatapointMessagesCacheControl$Outbound | undefined;
|
|
825
1326
|
};
|
|
@@ -833,7 +1334,7 @@ export const RetrieveDatapointMessagesToolMessage$outboundSchema: z.ZodType<
|
|
|
833
1334
|
role: z.literal("tool"),
|
|
834
1335
|
content: z.union([
|
|
835
1336
|
z.string(),
|
|
836
|
-
z.array(
|
|
1337
|
+
z.array(z.lazy(() => RetrieveDatapoint2DatasetsResponse1$outboundSchema)),
|
|
837
1338
|
]),
|
|
838
1339
|
toolCallId: z.string(),
|
|
839
1340
|
cacheControl: z.lazy(() =>
|
|
@@ -867,82 +1368,223 @@ export function retrieveDatapointMessagesToolMessageFromJSON(
|
|
|
867
1368
|
}
|
|
868
1369
|
|
|
869
1370
|
/** @internal */
|
|
870
|
-
export const
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
z.object({ type: z.literal("text") }),
|
|
877
|
-
),
|
|
878
|
-
components.RefusalPartSchema$inboundSchema,
|
|
879
|
-
components.ReasoningPartSchema$inboundSchema,
|
|
880
|
-
components.RedactedReasoningPartSchema$inboundSchema,
|
|
881
|
-
]);
|
|
1371
|
+
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
1372
|
+
z.ZodNativeEnum<
|
|
1373
|
+
typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType
|
|
1374
|
+
> = z.nativeEnum(
|
|
1375
|
+
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType,
|
|
1376
|
+
);
|
|
882
1377
|
/** @internal */
|
|
883
|
-
export
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
1378
|
+
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
1379
|
+
z.ZodNativeEnum<
|
|
1380
|
+
typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType
|
|
1381
|
+
> =
|
|
1382
|
+
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
888
1383
|
|
|
889
1384
|
/** @internal */
|
|
890
|
-
export const
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
components.RefusalPartSchema$outboundSchema,
|
|
899
|
-
components.ReasoningPartSchema$outboundSchema,
|
|
900
|
-
components.RedactedReasoningPartSchema$outboundSchema,
|
|
901
|
-
]);
|
|
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;
|
|
902
1393
|
|
|
903
|
-
|
|
904
|
-
|
|
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
|
+
});
|
|
1405
|
+
/** @internal */
|
|
1406
|
+
export type RetrieveDatapoint2DatasetsResponseCacheControl$Outbound = {
|
|
1407
|
+
type: string;
|
|
1408
|
+
ttl: string;
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1411
|
+
/** @internal */
|
|
1412
|
+
export const RetrieveDatapoint2DatasetsResponseCacheControl$outboundSchema:
|
|
1413
|
+
z.ZodType<
|
|
1414
|
+
RetrieveDatapoint2DatasetsResponseCacheControl$Outbound,
|
|
1415
|
+
z.ZodTypeDef,
|
|
1416
|
+
RetrieveDatapoint2DatasetsResponseCacheControl
|
|
1417
|
+
> = z.object({
|
|
1418
|
+
type:
|
|
1419
|
+
RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
1420
|
+
ttl: RetrieveDatapoint2DatasetsResponseTtl$outboundSchema.default("5m"),
|
|
1421
|
+
});
|
|
1422
|
+
|
|
1423
|
+
export function retrieveDatapoint2DatasetsResponseCacheControlToJSON(
|
|
1424
|
+
retrieveDatapoint2DatasetsResponseCacheControl:
|
|
1425
|
+
RetrieveDatapoint2DatasetsResponseCacheControl,
|
|
905
1426
|
): string {
|
|
906
1427
|
return JSON.stringify(
|
|
907
|
-
|
|
908
|
-
|
|
1428
|
+
RetrieveDatapoint2DatasetsResponseCacheControl$outboundSchema.parse(
|
|
1429
|
+
retrieveDatapoint2DatasetsResponseCacheControl,
|
|
909
1430
|
),
|
|
910
1431
|
);
|
|
911
1432
|
}
|
|
912
|
-
export function
|
|
1433
|
+
export function retrieveDatapoint2DatasetsResponseCacheControlFromJSON(
|
|
913
1434
|
jsonString: string,
|
|
914
|
-
): SafeParseResult<
|
|
1435
|
+
): SafeParseResult<
|
|
1436
|
+
RetrieveDatapoint2DatasetsResponseCacheControl,
|
|
1437
|
+
SDKValidationError
|
|
1438
|
+
> {
|
|
915
1439
|
return safeParse(
|
|
916
1440
|
jsonString,
|
|
917
|
-
(x) =>
|
|
918
|
-
|
|
1441
|
+
(x) =>
|
|
1442
|
+
RetrieveDatapoint2DatasetsResponseCacheControl$inboundSchema.parse(
|
|
1443
|
+
JSON.parse(x),
|
|
1444
|
+
),
|
|
1445
|
+
`Failed to parse 'RetrieveDatapoint2DatasetsResponseCacheControl' from JSON`,
|
|
919
1446
|
);
|
|
920
1447
|
}
|
|
921
1448
|
|
|
922
1449
|
/** @internal */
|
|
923
|
-
export const
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
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`,
|
|
1565
|
+
);
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
/** @internal */
|
|
1569
|
+
export const RetrieveDatapointMessagesDatasetsResponse200Content$inboundSchema:
|
|
1570
|
+
z.ZodType<
|
|
1571
|
+
RetrieveDatapointMessagesDatasetsResponse200Content,
|
|
1572
|
+
z.ZodTypeDef,
|
|
1573
|
+
unknown
|
|
1574
|
+
> = z.union([
|
|
1575
|
+
z.string(),
|
|
1576
|
+
z.array(z.union([
|
|
1577
|
+
z.lazy(() => RetrieveDatapoint2Datasets1$inboundSchema),
|
|
1578
|
+
components.RefusalPartSchema$inboundSchema,
|
|
1579
|
+
components.ReasoningPartSchema$inboundSchema,
|
|
1580
|
+
components.RedactedReasoningPartSchema$inboundSchema,
|
|
1581
|
+
])),
|
|
1582
|
+
]);
|
|
1583
|
+
/** @internal */
|
|
1584
|
+
export type RetrieveDatapointMessagesDatasetsResponse200Content$Outbound =
|
|
1585
|
+
| string
|
|
1586
|
+
| Array<
|
|
1587
|
+
| RetrieveDatapoint2Datasets1$Outbound
|
|
946
1588
|
| components.RefusalPartSchema$Outbound
|
|
947
1589
|
| components.ReasoningPartSchema$Outbound
|
|
948
1590
|
| components.RedactedReasoningPartSchema$Outbound
|
|
@@ -956,16 +1598,12 @@ export const RetrieveDatapointMessagesDatasetsResponse200Content$outboundSchema:
|
|
|
956
1598
|
RetrieveDatapointMessagesDatasetsResponse200Content
|
|
957
1599
|
> = z.union([
|
|
958
1600
|
z.string(),
|
|
959
|
-
z.array(
|
|
960
|
-
z.
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
components.ReasoningPartSchema$outboundSchema,
|
|
966
|
-
components.RedactedReasoningPartSchema$outboundSchema,
|
|
967
|
-
]),
|
|
968
|
-
),
|
|
1601
|
+
z.array(z.union([
|
|
1602
|
+
z.lazy(() => RetrieveDatapoint2Datasets1$outboundSchema),
|
|
1603
|
+
components.RefusalPartSchema$outboundSchema,
|
|
1604
|
+
components.ReasoningPartSchema$outboundSchema,
|
|
1605
|
+
components.RedactedReasoningPartSchema$outboundSchema,
|
|
1606
|
+
])),
|
|
969
1607
|
]);
|
|
970
1608
|
|
|
971
1609
|
export function retrieveDatapointMessagesDatasetsResponse200ContentToJSON(
|
|
@@ -1158,9 +1796,7 @@ export const RetrieveDatapointMessagesAssistantMessage$inboundSchema: z.ZodType<
|
|
|
1158
1796
|
z.string(),
|
|
1159
1797
|
z.array(
|
|
1160
1798
|
z.union([
|
|
1161
|
-
|
|
1162
|
-
z.object({ type: z.literal("text") }),
|
|
1163
|
-
),
|
|
1799
|
+
z.lazy(() => RetrieveDatapoint2Datasets1$inboundSchema),
|
|
1164
1800
|
components.RefusalPartSchema$inboundSchema,
|
|
1165
1801
|
components.ReasoningPartSchema$inboundSchema,
|
|
1166
1802
|
components.RedactedReasoningPartSchema$inboundSchema,
|
|
@@ -1186,7 +1822,7 @@ export type RetrieveDatapointMessagesAssistantMessage$Outbound = {
|
|
|
1186
1822
|
content?:
|
|
1187
1823
|
| string
|
|
1188
1824
|
| Array<
|
|
1189
|
-
|
|
|
1825
|
+
| RetrieveDatapoint2Datasets1$Outbound
|
|
1190
1826
|
| components.RefusalPartSchema$Outbound
|
|
1191
1827
|
| components.ReasoningPartSchema$Outbound
|
|
1192
1828
|
| components.RedactedReasoningPartSchema$Outbound
|
|
@@ -1212,9 +1848,7 @@ export const RetrieveDatapointMessagesAssistantMessage$outboundSchema:
|
|
|
1212
1848
|
z.string(),
|
|
1213
1849
|
z.array(
|
|
1214
1850
|
z.union([
|
|
1215
|
-
|
|
1216
|
-
z.object({ type: z.literal("text") }),
|
|
1217
|
-
),
|
|
1851
|
+
z.lazy(() => RetrieveDatapoint2Datasets1$outboundSchema),
|
|
1218
1852
|
components.RefusalPartSchema$outboundSchema,
|
|
1219
1853
|
components.ReasoningPartSchema$outboundSchema,
|
|
1220
1854
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
@@ -1264,13 +1898,143 @@ export function retrieveDatapointMessagesAssistantMessageFromJSON(
|
|
|
1264
1898
|
}
|
|
1265
1899
|
|
|
1266
1900
|
/** @internal */
|
|
1267
|
-
export const
|
|
1268
|
-
|
|
1269
|
-
|
|
1901
|
+
export const RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType$inboundSchema:
|
|
1902
|
+
z.ZodNativeEnum<
|
|
1903
|
+
typeof RetrieveDatapoint2DatasetsResponse200ApplicationJSONResponseBodyMessagesType
|
|
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);
|
|
1918
|
+
/** @internal */
|
|
1919
|
+
export const RetrieveDatapoint2DatasetsTtl$outboundSchema: z.ZodNativeEnum<
|
|
1920
|
+
typeof RetrieveDatapoint2DatasetsTtl
|
|
1921
|
+
> = RetrieveDatapoint2DatasetsTtl$inboundSchema;
|
|
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
|
+
});
|
|
1270
1987
|
/** @internal */
|
|
1271
|
-
export
|
|
1272
|
-
|
|
1273
|
-
|
|
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;
|
|
1274
2038
|
|
|
1275
2039
|
/** @internal */
|
|
1276
2040
|
export const RetrieveDatapoint2Ttl$inboundSchema: z.ZodNativeEnum<
|
|
@@ -1287,7 +2051,7 @@ export const RetrieveDatapoint2CacheControl$inboundSchema: z.ZodType<
|
|
|
1287
2051
|
z.ZodTypeDef,
|
|
1288
2052
|
unknown
|
|
1289
2053
|
> = z.object({
|
|
1290
|
-
type:
|
|
2054
|
+
type: RetrieveDatapoint2DatasetsResponse200ApplicationJSONType$inboundSchema,
|
|
1291
2055
|
ttl: RetrieveDatapoint2Ttl$inboundSchema.default("5m"),
|
|
1292
2056
|
});
|
|
1293
2057
|
/** @internal */
|
|
@@ -1302,7 +2066,7 @@ export const RetrieveDatapoint2CacheControl$outboundSchema: z.ZodType<
|
|
|
1302
2066
|
z.ZodTypeDef,
|
|
1303
2067
|
RetrieveDatapoint2CacheControl
|
|
1304
2068
|
> = z.object({
|
|
1305
|
-
type:
|
|
2069
|
+
type: RetrieveDatapoint2DatasetsResponse200ApplicationJSONType$outboundSchema,
|
|
1306
2070
|
ttl: RetrieveDatapoint2Ttl$outboundSchema.default("5m"),
|
|
1307
2071
|
});
|
|
1308
2072
|
|
|
@@ -1326,108 +2090,114 @@ export function retrieveDatapoint2CacheControlFromJSON(
|
|
|
1326
2090
|
}
|
|
1327
2091
|
|
|
1328
2092
|
/** @internal */
|
|
1329
|
-
export const
|
|
1330
|
-
|
|
2093
|
+
export const RetrieveDatapoint21$inboundSchema: z.ZodType<
|
|
2094
|
+
RetrieveDatapoint21,
|
|
1331
2095
|
z.ZodTypeDef,
|
|
1332
2096
|
unknown
|
|
1333
2097
|
> = z.object({
|
|
1334
|
-
type: z.literal("
|
|
2098
|
+
type: z.literal("text"),
|
|
2099
|
+
text: z.string(),
|
|
1335
2100
|
cache_control: z.lazy(() => RetrieveDatapoint2CacheControl$inboundSchema)
|
|
1336
2101
|
.optional(),
|
|
1337
|
-
file: components.FileContentPartSchema$inboundSchema,
|
|
1338
2102
|
}).transform((v) => {
|
|
1339
2103
|
return remap$(v, {
|
|
1340
2104
|
"cache_control": "cacheControl",
|
|
1341
2105
|
});
|
|
1342
2106
|
});
|
|
1343
2107
|
/** @internal */
|
|
1344
|
-
export type
|
|
1345
|
-
type: "
|
|
2108
|
+
export type RetrieveDatapoint21$Outbound = {
|
|
2109
|
+
type: "text";
|
|
2110
|
+
text: string;
|
|
1346
2111
|
cache_control?: RetrieveDatapoint2CacheControl$Outbound | undefined;
|
|
1347
|
-
file: components.FileContentPartSchema$Outbound;
|
|
1348
2112
|
};
|
|
1349
2113
|
|
|
1350
2114
|
/** @internal */
|
|
1351
|
-
export const
|
|
1352
|
-
|
|
2115
|
+
export const RetrieveDatapoint21$outboundSchema: z.ZodType<
|
|
2116
|
+
RetrieveDatapoint21$Outbound,
|
|
1353
2117
|
z.ZodTypeDef,
|
|
1354
|
-
|
|
2118
|
+
RetrieveDatapoint21
|
|
1355
2119
|
> = z.object({
|
|
1356
|
-
type: z.literal("
|
|
2120
|
+
type: z.literal("text"),
|
|
2121
|
+
text: z.string(),
|
|
1357
2122
|
cacheControl: z.lazy(() => RetrieveDatapoint2CacheControl$outboundSchema)
|
|
1358
2123
|
.optional(),
|
|
1359
|
-
file: components.FileContentPartSchema$outboundSchema,
|
|
1360
2124
|
}).transform((v) => {
|
|
1361
2125
|
return remap$(v, {
|
|
1362
2126
|
cacheControl: "cache_control",
|
|
1363
2127
|
});
|
|
1364
2128
|
});
|
|
1365
2129
|
|
|
1366
|
-
export function
|
|
1367
|
-
|
|
2130
|
+
export function retrieveDatapoint21ToJSON(
|
|
2131
|
+
retrieveDatapoint21: RetrieveDatapoint21,
|
|
1368
2132
|
): string {
|
|
1369
2133
|
return JSON.stringify(
|
|
1370
|
-
|
|
2134
|
+
RetrieveDatapoint21$outboundSchema.parse(retrieveDatapoint21),
|
|
1371
2135
|
);
|
|
1372
2136
|
}
|
|
1373
|
-
export function
|
|
2137
|
+
export function retrieveDatapoint21FromJSON(
|
|
1374
2138
|
jsonString: string,
|
|
1375
|
-
): SafeParseResult<
|
|
2139
|
+
): SafeParseResult<RetrieveDatapoint21, SDKValidationError> {
|
|
1376
2140
|
return safeParse(
|
|
1377
2141
|
jsonString,
|
|
1378
|
-
(x) =>
|
|
1379
|
-
`Failed to parse '
|
|
2142
|
+
(x) => RetrieveDatapoint21$inboundSchema.parse(JSON.parse(x)),
|
|
2143
|
+
`Failed to parse 'RetrieveDatapoint21' from JSON`,
|
|
1380
2144
|
);
|
|
1381
2145
|
}
|
|
1382
2146
|
|
|
1383
2147
|
/** @internal */
|
|
1384
|
-
export const
|
|
1385
|
-
|
|
2148
|
+
export const RetrieveDatapointContentDatasetsResponse2$inboundSchema: z.ZodType<
|
|
2149
|
+
RetrieveDatapointContentDatasetsResponse2,
|
|
1386
2150
|
z.ZodTypeDef,
|
|
1387
2151
|
unknown
|
|
1388
2152
|
> = z.union([
|
|
1389
|
-
|
|
1390
|
-
z.object({ type: z.literal("text") }),
|
|
1391
|
-
),
|
|
2153
|
+
z.lazy(() => RetrieveDatapoint21$inboundSchema),
|
|
1392
2154
|
components.ImageContentPartSchema$inboundSchema,
|
|
1393
2155
|
components.AudioContentPartSchema$inboundSchema,
|
|
1394
2156
|
z.lazy(() => RetrieveDatapoint24$inboundSchema),
|
|
1395
2157
|
]);
|
|
1396
2158
|
/** @internal */
|
|
1397
|
-
export type
|
|
1398
|
-
|
|
|
2159
|
+
export type RetrieveDatapointContentDatasetsResponse2$Outbound =
|
|
2160
|
+
| RetrieveDatapoint21$Outbound
|
|
1399
2161
|
| components.ImageContentPartSchema$Outbound
|
|
1400
2162
|
| components.AudioContentPartSchema$Outbound
|
|
1401
2163
|
| RetrieveDatapoint24$Outbound;
|
|
1402
2164
|
|
|
1403
2165
|
/** @internal */
|
|
1404
|
-
export const
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
z.
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
]);
|
|
2166
|
+
export const RetrieveDatapointContentDatasetsResponse2$outboundSchema:
|
|
2167
|
+
z.ZodType<
|
|
2168
|
+
RetrieveDatapointContentDatasetsResponse2$Outbound,
|
|
2169
|
+
z.ZodTypeDef,
|
|
2170
|
+
RetrieveDatapointContentDatasetsResponse2
|
|
2171
|
+
> = z.union([
|
|
2172
|
+
z.lazy(() => RetrieveDatapoint21$outboundSchema),
|
|
2173
|
+
components.ImageContentPartSchema$outboundSchema,
|
|
2174
|
+
components.AudioContentPartSchema$outboundSchema,
|
|
2175
|
+
z.lazy(() => RetrieveDatapoint24$outboundSchema),
|
|
2176
|
+
]);
|
|
1416
2177
|
|
|
1417
|
-
export function
|
|
1418
|
-
|
|
2178
|
+
export function retrieveDatapointContentDatasetsResponse2ToJSON(
|
|
2179
|
+
retrieveDatapointContentDatasetsResponse2:
|
|
2180
|
+
RetrieveDatapointContentDatasetsResponse2,
|
|
1419
2181
|
): string {
|
|
1420
2182
|
return JSON.stringify(
|
|
1421
|
-
|
|
2183
|
+
RetrieveDatapointContentDatasetsResponse2$outboundSchema.parse(
|
|
2184
|
+
retrieveDatapointContentDatasetsResponse2,
|
|
2185
|
+
),
|
|
1422
2186
|
);
|
|
1423
2187
|
}
|
|
1424
|
-
export function
|
|
2188
|
+
export function retrieveDatapointContentDatasetsResponse2FromJSON(
|
|
1425
2189
|
jsonString: string,
|
|
1426
|
-
): SafeParseResult<
|
|
2190
|
+
): SafeParseResult<
|
|
2191
|
+
RetrieveDatapointContentDatasetsResponse2,
|
|
2192
|
+
SDKValidationError
|
|
2193
|
+
> {
|
|
1427
2194
|
return safeParse(
|
|
1428
2195
|
jsonString,
|
|
1429
|
-
(x) =>
|
|
1430
|
-
|
|
2196
|
+
(x) =>
|
|
2197
|
+
RetrieveDatapointContentDatasetsResponse2$inboundSchema.parse(
|
|
2198
|
+
JSON.parse(x),
|
|
2199
|
+
),
|
|
2200
|
+
`Failed to parse 'RetrieveDatapointContentDatasetsResponse2' from JSON`,
|
|
1431
2201
|
);
|
|
1432
2202
|
}
|
|
1433
2203
|
|
|
@@ -1439,22 +2209,18 @@ export const RetrieveDatapointMessagesDatasetsResponseContent$inboundSchema:
|
|
|
1439
2209
|
unknown
|
|
1440
2210
|
> = z.union([
|
|
1441
2211
|
z.string(),
|
|
1442
|
-
z.array(
|
|
1443
|
-
z.
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
components.AudioContentPartSchema$inboundSchema,
|
|
1449
|
-
z.lazy(() => RetrieveDatapoint24$inboundSchema),
|
|
1450
|
-
]),
|
|
1451
|
-
),
|
|
2212
|
+
z.array(z.union([
|
|
2213
|
+
z.lazy(() => RetrieveDatapoint21$inboundSchema),
|
|
2214
|
+
components.ImageContentPartSchema$inboundSchema,
|
|
2215
|
+
components.AudioContentPartSchema$inboundSchema,
|
|
2216
|
+
z.lazy(() => RetrieveDatapoint24$inboundSchema),
|
|
2217
|
+
])),
|
|
1452
2218
|
]);
|
|
1453
2219
|
/** @internal */
|
|
1454
2220
|
export type RetrieveDatapointMessagesDatasetsResponseContent$Outbound =
|
|
1455
2221
|
| string
|
|
1456
2222
|
| Array<
|
|
1457
|
-
|
|
|
2223
|
+
| RetrieveDatapoint21$Outbound
|
|
1458
2224
|
| components.ImageContentPartSchema$Outbound
|
|
1459
2225
|
| components.AudioContentPartSchema$Outbound
|
|
1460
2226
|
| RetrieveDatapoint24$Outbound
|
|
@@ -1468,16 +2234,12 @@ export const RetrieveDatapointMessagesDatasetsResponseContent$outboundSchema:
|
|
|
1468
2234
|
RetrieveDatapointMessagesDatasetsResponseContent
|
|
1469
2235
|
> = z.union([
|
|
1470
2236
|
z.string(),
|
|
1471
|
-
z.array(
|
|
1472
|
-
z.
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
components.AudioContentPartSchema$outboundSchema,
|
|
1478
|
-
z.lazy(() => RetrieveDatapoint24$outboundSchema),
|
|
1479
|
-
]),
|
|
1480
|
-
),
|
|
2237
|
+
z.array(z.union([
|
|
2238
|
+
z.lazy(() => RetrieveDatapoint21$outboundSchema),
|
|
2239
|
+
components.ImageContentPartSchema$outboundSchema,
|
|
2240
|
+
components.AudioContentPartSchema$outboundSchema,
|
|
2241
|
+
z.lazy(() => RetrieveDatapoint24$outboundSchema),
|
|
2242
|
+
])),
|
|
1481
2243
|
]);
|
|
1482
2244
|
|
|
1483
2245
|
export function retrieveDatapointMessagesDatasetsResponseContentToJSON(
|
|
@@ -1516,16 +2278,12 @@ export const RetrieveDatapointMessagesUserMessage$inboundSchema: z.ZodType<
|
|
|
1516
2278
|
name: z.string().optional(),
|
|
1517
2279
|
content: z.union([
|
|
1518
2280
|
z.string(),
|
|
1519
|
-
z.array(
|
|
1520
|
-
z.
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
components.AudioContentPartSchema$inboundSchema,
|
|
1526
|
-
z.lazy(() => RetrieveDatapoint24$inboundSchema),
|
|
1527
|
-
]),
|
|
1528
|
-
),
|
|
2281
|
+
z.array(z.union([
|
|
2282
|
+
z.lazy(() => RetrieveDatapoint21$inboundSchema),
|
|
2283
|
+
components.ImageContentPartSchema$inboundSchema,
|
|
2284
|
+
components.AudioContentPartSchema$inboundSchema,
|
|
2285
|
+
z.lazy(() => RetrieveDatapoint24$inboundSchema),
|
|
2286
|
+
])),
|
|
1529
2287
|
]),
|
|
1530
2288
|
});
|
|
1531
2289
|
/** @internal */
|
|
@@ -1535,7 +2293,7 @@ export type RetrieveDatapointMessagesUserMessage$Outbound = {
|
|
|
1535
2293
|
content:
|
|
1536
2294
|
| string
|
|
1537
2295
|
| Array<
|
|
1538
|
-
|
|
|
2296
|
+
| RetrieveDatapoint21$Outbound
|
|
1539
2297
|
| components.ImageContentPartSchema$Outbound
|
|
1540
2298
|
| components.AudioContentPartSchema$Outbound
|
|
1541
2299
|
| RetrieveDatapoint24$Outbound
|
|
@@ -1552,16 +2310,12 @@ export const RetrieveDatapointMessagesUserMessage$outboundSchema: z.ZodType<
|
|
|
1552
2310
|
name: z.string().optional(),
|
|
1553
2311
|
content: z.union([
|
|
1554
2312
|
z.string(),
|
|
1555
|
-
z.array(
|
|
1556
|
-
z.
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
components.AudioContentPartSchema$outboundSchema,
|
|
1562
|
-
z.lazy(() => RetrieveDatapoint24$outboundSchema),
|
|
1563
|
-
]),
|
|
1564
|
-
),
|
|
2313
|
+
z.array(z.union([
|
|
2314
|
+
z.lazy(() => RetrieveDatapoint21$outboundSchema),
|
|
2315
|
+
components.ImageContentPartSchema$outboundSchema,
|
|
2316
|
+
components.AudioContentPartSchema$outboundSchema,
|
|
2317
|
+
z.lazy(() => RetrieveDatapoint24$outboundSchema),
|
|
2318
|
+
])),
|
|
1565
2319
|
]),
|
|
1566
2320
|
});
|
|
1567
2321
|
|
|
@@ -1585,6 +2339,148 @@ export function retrieveDatapointMessagesUserMessageFromJSON(
|
|
|
1585
2339
|
);
|
|
1586
2340
|
}
|
|
1587
2341
|
|
|
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
|
+
|
|
1588
2484
|
/** @internal */
|
|
1589
2485
|
export const RetrieveDatapointMessagesDatasetsContent$inboundSchema: z.ZodType<
|
|
1590
2486
|
RetrieveDatapointMessagesDatasetsContent,
|
|
@@ -1592,12 +2488,12 @@ export const RetrieveDatapointMessagesDatasetsContent$inboundSchema: z.ZodType<
|
|
|
1592
2488
|
unknown
|
|
1593
2489
|
> = z.union([
|
|
1594
2490
|
z.string(),
|
|
1595
|
-
z.array(
|
|
2491
|
+
z.array(z.lazy(() => RetrieveDatapointContentDatasets2$inboundSchema)),
|
|
1596
2492
|
]);
|
|
1597
2493
|
/** @internal */
|
|
1598
2494
|
export type RetrieveDatapointMessagesDatasetsContent$Outbound =
|
|
1599
2495
|
| string
|
|
1600
|
-
| Array<
|
|
2496
|
+
| Array<RetrieveDatapointContentDatasets2$Outbound>;
|
|
1601
2497
|
|
|
1602
2498
|
/** @internal */
|
|
1603
2499
|
export const RetrieveDatapointMessagesDatasetsContent$outboundSchema: z.ZodType<
|
|
@@ -1606,7 +2502,7 @@ export const RetrieveDatapointMessagesDatasetsContent$outboundSchema: z.ZodType<
|
|
|
1606
2502
|
RetrieveDatapointMessagesDatasetsContent
|
|
1607
2503
|
> = z.union([
|
|
1608
2504
|
z.string(),
|
|
1609
|
-
z.array(
|
|
2505
|
+
z.array(z.lazy(() => RetrieveDatapointContentDatasets2$outboundSchema)),
|
|
1610
2506
|
]);
|
|
1611
2507
|
|
|
1612
2508
|
export function retrieveDatapointMessagesDatasetsContentToJSON(
|
|
@@ -1644,14 +2540,14 @@ export const RetrieveDatapointMessagesDeveloperMessage$inboundSchema: z.ZodType<
|
|
|
1644
2540
|
role: z.literal("developer"),
|
|
1645
2541
|
content: z.union([
|
|
1646
2542
|
z.string(),
|
|
1647
|
-
z.array(
|
|
2543
|
+
z.array(z.lazy(() => RetrieveDatapointContentDatasets2$inboundSchema)),
|
|
1648
2544
|
]),
|
|
1649
2545
|
name: z.string().optional(),
|
|
1650
2546
|
});
|
|
1651
2547
|
/** @internal */
|
|
1652
2548
|
export type RetrieveDatapointMessagesDeveloperMessage$Outbound = {
|
|
1653
2549
|
role: "developer";
|
|
1654
|
-
content: string | Array<
|
|
2550
|
+
content: string | Array<RetrieveDatapointContentDatasets2$Outbound>;
|
|
1655
2551
|
name?: string | undefined;
|
|
1656
2552
|
};
|
|
1657
2553
|
|
|
@@ -1665,7 +2561,7 @@ export const RetrieveDatapointMessagesDeveloperMessage$outboundSchema:
|
|
|
1665
2561
|
role: z.literal("developer"),
|
|
1666
2562
|
content: z.union([
|
|
1667
2563
|
z.string(),
|
|
1668
|
-
z.array(
|
|
2564
|
+
z.array(z.lazy(() => RetrieveDatapointContentDatasets2$outboundSchema)),
|
|
1669
2565
|
]),
|
|
1670
2566
|
name: z.string().optional(),
|
|
1671
2567
|
});
|
|
@@ -1696,6 +2592,135 @@ export function retrieveDatapointMessagesDeveloperMessageFromJSON(
|
|
|
1696
2592
|
);
|
|
1697
2593
|
}
|
|
1698
2594
|
|
|
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
|
+
|
|
1699
2724
|
/** @internal */
|
|
1700
2725
|
export const RetrieveDatapointMessagesContent$inboundSchema: z.ZodType<
|
|
1701
2726
|
RetrieveDatapointMessagesContent,
|
|
@@ -1703,12 +2728,12 @@ export const RetrieveDatapointMessagesContent$inboundSchema: z.ZodType<
|
|
|
1703
2728
|
unknown
|
|
1704
2729
|
> = z.union([
|
|
1705
2730
|
z.string(),
|
|
1706
|
-
z.array(
|
|
2731
|
+
z.array(z.lazy(() => RetrieveDatapointContent2$inboundSchema)),
|
|
1707
2732
|
]);
|
|
1708
2733
|
/** @internal */
|
|
1709
2734
|
export type RetrieveDatapointMessagesContent$Outbound =
|
|
1710
2735
|
| string
|
|
1711
|
-
| Array<
|
|
2736
|
+
| Array<RetrieveDatapointContent2$Outbound>;
|
|
1712
2737
|
|
|
1713
2738
|
/** @internal */
|
|
1714
2739
|
export const RetrieveDatapointMessagesContent$outboundSchema: z.ZodType<
|
|
@@ -1717,7 +2742,7 @@ export const RetrieveDatapointMessagesContent$outboundSchema: z.ZodType<
|
|
|
1717
2742
|
RetrieveDatapointMessagesContent
|
|
1718
2743
|
> = z.union([
|
|
1719
2744
|
z.string(),
|
|
1720
|
-
z.array(
|
|
2745
|
+
z.array(z.lazy(() => RetrieveDatapointContent2$outboundSchema)),
|
|
1721
2746
|
]);
|
|
1722
2747
|
|
|
1723
2748
|
export function retrieveDatapointMessagesContentToJSON(
|
|
@@ -1748,14 +2773,14 @@ export const RetrieveDatapointMessagesSystemMessage$inboundSchema: z.ZodType<
|
|
|
1748
2773
|
role: z.literal("system"),
|
|
1749
2774
|
content: z.union([
|
|
1750
2775
|
z.string(),
|
|
1751
|
-
z.array(
|
|
2776
|
+
z.array(z.lazy(() => RetrieveDatapointContent2$inboundSchema)),
|
|
1752
2777
|
]),
|
|
1753
2778
|
name: z.string().optional(),
|
|
1754
2779
|
});
|
|
1755
2780
|
/** @internal */
|
|
1756
2781
|
export type RetrieveDatapointMessagesSystemMessage$Outbound = {
|
|
1757
2782
|
role: "system";
|
|
1758
|
-
content: string | Array<
|
|
2783
|
+
content: string | Array<RetrieveDatapointContent2$Outbound>;
|
|
1759
2784
|
name?: string | undefined;
|
|
1760
2785
|
};
|
|
1761
2786
|
|
|
@@ -1768,7 +2793,7 @@ export const RetrieveDatapointMessagesSystemMessage$outboundSchema: z.ZodType<
|
|
|
1768
2793
|
role: z.literal("system"),
|
|
1769
2794
|
content: z.union([
|
|
1770
2795
|
z.string(),
|
|
1771
|
-
z.array(
|
|
2796
|
+
z.array(z.lazy(() => RetrieveDatapointContent2$outboundSchema)),
|
|
1772
2797
|
]),
|
|
1773
2798
|
name: z.string().optional(),
|
|
1774
2799
|
});
|
|
@@ -1878,7 +2903,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1878
2903
|
.default("orq"),
|
|
1879
2904
|
reviewed_by_id: z.string(),
|
|
1880
2905
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1881
|
-
"2025-12-
|
|
2906
|
+
"2025-12-08T22:59:30.810Z",
|
|
1882
2907
|
).transform(v => new Date(v)),
|
|
1883
2908
|
type: z.literal("string_array"),
|
|
1884
2909
|
values: z.array(z.string()),
|
|
@@ -1915,7 +2940,7 @@ export const RetrieveDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
1915
2940
|
source: RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
1916
2941
|
.default("orq"),
|
|
1917
2942
|
reviewedById: z.string(),
|
|
1918
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
2943
|
+
reviewedAt: z.date().default(() => new Date("2025-12-08T22:59:30.810Z"))
|
|
1919
2944
|
.transform(v => v.toISOString()),
|
|
1920
2945
|
type: z.literal("string_array"),
|
|
1921
2946
|
values: z.array(z.string()),
|
|
@@ -1980,7 +3005,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1980
3005
|
),
|
|
1981
3006
|
reviewed_by_id: z.string(),
|
|
1982
3007
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1983
|
-
"2025-12-
|
|
3008
|
+
"2025-12-08T22:59:30.809Z",
|
|
1984
3009
|
).transform(v => new Date(v)),
|
|
1985
3010
|
type: z.literal("number"),
|
|
1986
3011
|
value: z.number(),
|
|
@@ -2018,7 +3043,7 @@ export const RetrieveDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
2018
3043
|
"orq",
|
|
2019
3044
|
),
|
|
2020
3045
|
reviewedById: z.string(),
|
|
2021
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
3046
|
+
reviewedAt: z.date().default(() => new Date("2025-12-08T22:59:30.809Z"))
|
|
2022
3047
|
.transform(v => v.toISOString()),
|
|
2023
3048
|
type: z.literal("number"),
|
|
2024
3049
|
value: z.number(),
|
|
@@ -2080,7 +3105,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2080
3105
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2081
3106
|
reviewed_by_id: z.string(),
|
|
2082
3107
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2083
|
-
"2025-12-
|
|
3108
|
+
"2025-12-08T22:59:30.809Z",
|
|
2084
3109
|
).transform(v => new Date(v)),
|
|
2085
3110
|
type: z.literal("string"),
|
|
2086
3111
|
value: z.string(),
|
|
@@ -2115,7 +3140,7 @@ export const RetrieveDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
2115
3140
|
humanReviewId: z.string(),
|
|
2116
3141
|
source: RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
2117
3142
|
reviewedById: z.string(),
|
|
2118
|
-
reviewedAt: z.date().default(() => new Date("2025-12-
|
|
3143
|
+
reviewedAt: z.date().default(() => new Date("2025-12-08T22:59:30.809Z"))
|
|
2119
3144
|
.transform(v => v.toISOString()),
|
|
2120
3145
|
type: z.literal("string"),
|
|
2121
3146
|
value: z.string(),
|
|
@@ -2226,7 +3251,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2226
3251
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2227
3252
|
.optional(),
|
|
2228
3253
|
updated: z.string().datetime({ offset: true }).default(
|
|
2229
|
-
"2025-12-
|
|
3254
|
+
"2025-12-08T22:59:16.300Z",
|
|
2230
3255
|
).transform(v => new Date(v)),
|
|
2231
3256
|
}).transform((v) => {
|
|
2232
3257
|
return remap$(v, {
|
|
@@ -2300,7 +3325,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
2300
3325
|
createdById: z.string().optional(),
|
|
2301
3326
|
updatedById: z.string().optional(),
|
|
2302
3327
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2303
|
-
updated: z.date().default(() => new Date("2025-12-
|
|
3328
|
+
updated: z.date().default(() => new Date("2025-12-08T22:59:16.300Z"))
|
|
2304
3329
|
.transform(v => v.toISOString()),
|
|
2305
3330
|
}).transform((v) => {
|
|
2306
3331
|
return remap$(v, {
|