@orq-ai/node 3.14.8 → 4.0.0-rc.0
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/bin/mcp-server.js +210 -213
- package/bin/mcp-server.js.map +38 -38
- package/docs/sdks/agents/README.md +8 -4
- package/docs/sdks/budgets/README.md +4 -2
- package/docs/sdks/tools/README.md +4 -2
- package/examples/package-lock.json +5 -6
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/server.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +10 -10
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +10 -10
- package/package.json +4 -4
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +10 -10
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- 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/updatetool.ts +10 -10
- package/packages/orq-rc/FUNCTIONS.md +0 -103
- package/packages/orq-rc/README.md +0 -909
- package/packages/orq-rc/RUNTIMES.md +0 -48
- package/packages/orq-rc/docs/sdks/agents/README.md +0 -1319
- package/packages/orq-rc/docs/sdks/budgets/README.md +0 -401
- package/packages/orq-rc/docs/sdks/chunking/README.md +0 -95
- package/packages/orq-rc/docs/sdks/contacts/README.md +0 -450
- package/packages/orq-rc/docs/sdks/datasets/README.md +0 -836
- package/packages/orq-rc/docs/sdks/deployments/README.md +0 -312
- package/packages/orq-rc/docs/sdks/evals/README.md +0 -339
- package/packages/orq-rc/docs/sdks/feedback/README.md +0 -89
- package/packages/orq-rc/docs/sdks/files/README.md +0 -301
- package/packages/orq-rc/docs/sdks/knowledge/README.md +0 -1489
- package/packages/orq-rc/docs/sdks/memorystores/README.md +0 -1172
- package/packages/orq-rc/docs/sdks/metrics/README.md +0 -83
- package/packages/orq-rc/docs/sdks/models/README.md +0 -76
- package/packages/orq-rc/docs/sdks/prompts/README.md +0 -591
- package/packages/orq-rc/docs/sdks/remoteconfigs/README.md +0 -77
- package/packages/orq-rc/docs/sdks/tools/README.md +0 -490
- package/packages/orq-rc/examples/README.md +0 -31
- package/packages/orq-rc/examples/contactsCreate.example.ts +0 -42
- package/packages/orq-rc/examples/package-lock.json +0 -627
- package/packages/orq-rc/examples/package.json +0 -18
- package/packages/orq-rc/jsr.json +0 -28
- package/packages/orq-rc/package-lock.json +0 -3071
- package/packages/orq-rc/package.json +0 -43
- package/packages/orq-rc/src/core.ts +0 -13
- package/packages/orq-rc/src/funcs/agentsCreate.ts +0 -172
- package/packages/orq-rc/src/funcs/agentsDelete.ts +0 -176
- package/packages/orq-rc/src/funcs/agentsInvoke.ts +0 -167
- package/packages/orq-rc/src/funcs/agentsList.ts +0 -167
- package/packages/orq-rc/src/funcs/agentsListActions.ts +0 -169
- package/packages/orq-rc/src/funcs/agentsListTasks.ts +0 -183
- package/packages/orq-rc/src/funcs/agentsRetrieve.ts +0 -175
- package/packages/orq-rc/src/funcs/agentsRetrieveAction.ts +0 -173
- package/packages/orq-rc/src/funcs/agentsRetrieveTask.ts +0 -179
- package/packages/orq-rc/src/funcs/agentsRun.ts +0 -163
- package/packages/orq-rc/src/funcs/agentsStream.ts +0 -190
- package/packages/orq-rc/src/funcs/agentsStreamRun.ts +0 -188
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +0 -176
- package/packages/orq-rc/src/funcs/budgetsCreate.ts +0 -160
- package/packages/orq-rc/src/funcs/budgetsDelete.ts +0 -167
- package/packages/orq-rc/src/funcs/budgetsGet.ts +0 -166
- package/packages/orq-rc/src/funcs/budgetsList.ts +0 -170
- package/packages/orq-rc/src/funcs/budgetsUpdate.ts +0 -167
- package/packages/orq-rc/src/funcs/chunkingParse.ts +0 -160
- package/packages/orq-rc/src/funcs/contactsCreate.ts +0 -165
- package/packages/orq-rc/src/funcs/contactsDelete.ts +0 -176
- package/packages/orq-rc/src/funcs/contactsList.ts +0 -169
- package/packages/orq-rc/src/funcs/contactsRetrieve.ts +0 -175
- package/packages/orq-rc/src/funcs/contactsUpdate.ts +0 -176
- package/packages/orq-rc/src/funcs/datasetsClear.ts +0 -167
- package/packages/orq-rc/src/funcs/datasetsCreate.ts +0 -165
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +0 -171
- package/packages/orq-rc/src/funcs/datasetsDelete.ts +0 -167
- package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +0 -182
- package/packages/orq-rc/src/funcs/datasetsList.ts +0 -167
- package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +0 -174
- package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +0 -175
- package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +0 -181
- package/packages/orq-rc/src/funcs/datasetsUpdate.ts +0 -176
- package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +0 -179
- package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -168
- package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -176
- package/packages/orq-rc/src/funcs/deploymentsList.ts +0 -176
- package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +0 -168
- package/packages/orq-rc/src/funcs/deploymentsStream.ts +0 -183
- package/packages/orq-rc/src/funcs/evalsAll.ts +0 -173
- package/packages/orq-rc/src/funcs/evalsCreate.ts +0 -169
- package/packages/orq-rc/src/funcs/evalsDelete.ts +0 -173
- package/packages/orq-rc/src/funcs/evalsUpdate.ts +0 -173
- package/packages/orq-rc/src/funcs/feedbackCreate.ts +0 -160
- package/packages/orq-rc/src/funcs/filesCreate.ts +0 -187
- package/packages/orq-rc/src/funcs/filesDelete.ts +0 -164
- package/packages/orq-rc/src/funcs/filesGet.ts +0 -166
- package/packages/orq-rc/src/funcs/filesList.ts +0 -167
- package/packages/orq-rc/src/funcs/knowledgeCreate.ts +0 -158
- package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +0 -171
- package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +0 -166
- package/packages/orq-rc/src/funcs/knowledgeDelete.ts +0 -167
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +0 -174
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +0 -170
- package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +0 -173
- package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +0 -170
- package/packages/orq-rc/src/funcs/knowledgeList.ts +0 -169
- package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +0 -178
- package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +0 -171
- package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +0 -174
- package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +0 -166
- package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +0 -173
- package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +0 -169
- package/packages/orq-rc/src/funcs/knowledgeSearch.ts +0 -167
- package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +0 -164
- package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +0 -174
- package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +0 -170
- package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +0 -171
- package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +0 -175
- package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +0 -170
- package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +0 -168
- package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +0 -184
- package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +0 -179
- package/packages/orq-rc/src/funcs/memoryStoresList.ts +0 -178
- package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +0 -181
- package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +0 -176
- package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +0 -177
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +0 -178
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +0 -173
- package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +0 -168
- package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +0 -179
- package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +0 -174
- package/packages/orq-rc/src/funcs/modelsList.ts +0 -142
- package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -160
- package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -164
- package/packages/orq-rc/src/funcs/promptsGetVersion.ts +0 -181
- package/packages/orq-rc/src/funcs/promptsList.ts +0 -167
- package/packages/orq-rc/src/funcs/promptsListVersions.ts +0 -173
- package/packages/orq-rc/src/funcs/promptsRetrieve.ts +0 -166
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +0 -173
- package/packages/orq-rc/src/funcs/remoteconfigsRetrieve.ts +0 -161
- package/packages/orq-rc/src/funcs/toolsCreate.ts +0 -163
- package/packages/orq-rc/src/funcs/toolsDelete.ts +0 -167
- package/packages/orq-rc/src/funcs/toolsDuplicate.ts +0 -175
- package/packages/orq-rc/src/funcs/toolsList.ts +0 -176
- package/packages/orq-rc/src/funcs/toolsRetrieve.ts +0 -166
- package/packages/orq-rc/src/funcs/toolsUpdate.ts +0 -176
- package/packages/orq-rc/src/hooks/global.ts +0 -44
- package/packages/orq-rc/src/hooks/hooks.ts +0 -132
- package/packages/orq-rc/src/hooks/index.ts +0 -6
- package/packages/orq-rc/src/hooks/registration.ts +0 -15
- package/packages/orq-rc/src/hooks/types.ts +0 -112
- package/packages/orq-rc/src/index.ts +0 -9
- package/packages/orq-rc/src/lib/base64.ts +0 -37
- package/packages/orq-rc/src/lib/config.ts +0 -74
- package/packages/orq-rc/src/lib/dlv.ts +0 -53
- package/packages/orq-rc/src/lib/encodings.ts +0 -483
- package/packages/orq-rc/src/lib/env.ts +0 -89
- package/packages/orq-rc/src/lib/event-streams.ts +0 -135
- package/packages/orq-rc/src/lib/files.ts +0 -82
- package/packages/orq-rc/src/lib/http.ts +0 -323
- package/packages/orq-rc/src/lib/is-plain-object.ts +0 -43
- package/packages/orq-rc/src/lib/logger.ts +0 -9
- package/packages/orq-rc/src/lib/matchers.ts +0 -345
- package/packages/orq-rc/src/lib/primitives.ts +0 -150
- package/packages/orq-rc/src/lib/retries.ts +0 -218
- package/packages/orq-rc/src/lib/schemas.ts +0 -91
- package/packages/orq-rc/src/lib/sdks.ts +0 -407
- package/packages/orq-rc/src/lib/security.ts +0 -264
- package/packages/orq-rc/src/lib/url.ts +0 -33
- package/packages/orq-rc/src/mcp-server/cli/start/command.ts +0 -111
- package/packages/orq-rc/src/mcp-server/cli/start/impl.ts +0 -136
- package/packages/orq-rc/src/mcp-server/cli.ts +0 -13
- package/packages/orq-rc/src/mcp-server/console-logger.ts +0 -71
- package/packages/orq-rc/src/mcp-server/extensions.ts +0 -17
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +0 -26
- package/packages/orq-rc/src/mcp-server/prompts.ts +0 -117
- package/packages/orq-rc/src/mcp-server/resources.ts +0 -172
- package/packages/orq-rc/src/mcp-server/scopes.ts +0 -7
- package/packages/orq-rc/src/mcp-server/server.ts +0 -259
- package/packages/orq-rc/src/mcp-server/shared.ts +0 -74
- package/packages/orq-rc/src/mcp-server/tools/agentsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/agentsInvoke.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsListActions.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/agentsListTasks.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieveAction.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieveTask.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsRun.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsStream.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsStreamRun.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/agentsUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/budgetsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/budgetsDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/budgetsGet.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/budgetsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/budgetsUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/chunkingParse.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/contactsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/contactsDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/contactsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/contactsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/contactsUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsClear.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/datasetsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsCreateDatapoint.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/datasetsDeleteDatapoint.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/datasetsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsListDatapoints.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieveDatapoint.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/datasetsUpdateDatapoint.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/deploymentsGetConfig.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsInvoke.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsMetricsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/deploymentsStream.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/evalsAll.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/evalsCreate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/evalsDelete.ts +0 -33
- package/packages/orq-rc/src/mcp-server/tools/evalsUpdate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/feedbackCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/filesCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/filesDelete.ts +0 -33
- package/packages/orq-rc/src/mcp-server/tools/filesGet.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/filesList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/knowledgeCreate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateChunks.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteChunk.ts +0 -33
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteChunks.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeGetChunksCount.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/knowledgeListChunks.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeListChunksPaginated.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeListDatasources.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveChunk.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeSearch.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateChunk.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateDatasource.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreateDocument.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreateMemory.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresDeleteDocument.ts +0 -40
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresDeleteMemory.ts +0 -40
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresListDocuments.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresListMemories.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieveDocument.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieveMemory.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdateDocument.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdateMemory.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/modelsList.ts +0 -30
- package/packages/orq-rc/src/mcp-server/tools/promptsCreate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/promptsDelete.ts +0 -33
- package/packages/orq-rc/src/mcp-server/tools/promptsGetVersion.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsListVersions.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/promptsUpdate.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/remoteconfigsRetrieve.ts +0 -36
- package/packages/orq-rc/src/mcp-server/tools/toolsCreate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/toolsDelete.ts +0 -35
- package/packages/orq-rc/src/mcp-server/tools/toolsDuplicate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/toolsList.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools/toolsUpdate.ts +0 -37
- package/packages/orq-rc/src/mcp-server/tools.ts +0 -129
- package/packages/orq-rc/src/models/components/deployments.ts +0 -8147
- package/packages/orq-rc/src/models/components/index.ts +0 -6
- package/packages/orq-rc/src/models/components/security.ts +0 -71
- package/packages/orq-rc/src/models/errors/apierror.ts +0 -40
- package/packages/orq-rc/src/models/errors/createagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/createeval.ts +0 -80
- package/packages/orq-rc/src/models/errors/deleteagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/deletecontact.ts +0 -91
- package/packages/orq-rc/src/models/errors/deleteeval.ts +0 -80
- package/packages/orq-rc/src/models/errors/duplicatetool.ts +0 -91
- package/packages/orq-rc/src/models/errors/getagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/getagenttask.ts +0 -80
- package/packages/orq-rc/src/models/errors/getevals.ts +0 -80
- package/packages/orq-rc/src/models/errors/getpromptversion.ts +0 -80
- package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -90
- package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
- package/packages/orq-rc/src/models/errors/index.ts +0 -29
- package/packages/orq-rc/src/models/errors/listagenttasks.ts +0 -80
- package/packages/orq-rc/src/models/errors/orqerror.ts +0 -35
- package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +0 -50
- package/packages/orq-rc/src/models/errors/retrievecontact.ts +0 -91
- package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -109
- package/packages/orq-rc/src/models/errors/streamagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/streamrunagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/updateagent.ts +0 -80
- package/packages/orq-rc/src/models/errors/updatecontact.ts +0 -83
- package/packages/orq-rc/src/models/errors/updateeval.ts +0 -80
- package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -80
- package/packages/orq-rc/src/models/errors/updatetool.ts +0 -91
- package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -78
- package/packages/orq-rc/src/models/operations/createagent.ts +0 -3104
- package/packages/orq-rc/src/models/operations/createbudget.ts +0 -745
- package/packages/orq-rc/src/models/operations/createchunk.ts +0 -428
- package/packages/orq-rc/src/models/operations/createcontact.ts +0 -267
- package/packages/orq-rc/src/models/operations/createdataset.ts +0 -302
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +0 -6943
- package/packages/orq-rc/src/models/operations/createdatasource.ts +0 -852
- package/packages/orq-rc/src/models/operations/createeval.ts +0 -9341
- package/packages/orq-rc/src/models/operations/createfeedback.ts +0 -286
- package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -1850
- package/packages/orq-rc/src/models/operations/creatememory.ts +0 -274
- package/packages/orq-rc/src/models/operations/creatememorydocument.ts +0 -287
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +0 -2032
- package/packages/orq-rc/src/models/operations/createprompt.ts +0 -7812
- package/packages/orq-rc/src/models/operations/createtool.ts +0 -4077
- package/packages/orq-rc/src/models/operations/deleteagent.ts +0 -78
- package/packages/orq-rc/src/models/operations/deletebudget.ts +0 -69
- package/packages/orq-rc/src/models/operations/deletechunk.ts +0 -96
- package/packages/orq-rc/src/models/operations/deletechunks.ts +0 -243
- package/packages/orq-rc/src/models/operations/deletecontact.ts +0 -69
- package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -87
- package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -78
- package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -87
- package/packages/orq-rc/src/models/operations/deleteeval.ts +0 -66
- package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -78
- package/packages/orq-rc/src/models/operations/deletememory.ts +0 -87
- package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -98
- package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -78
- package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -69
- package/packages/orq-rc/src/models/operations/deletetool.ts +0 -75
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +0 -6547
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -10532
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -1266
- package/packages/orq-rc/src/models/operations/deployments.ts +0 -2606
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -10655
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +0 -2349
- package/packages/orq-rc/src/models/operations/filedelete.ts +0 -78
- package/packages/orq-rc/src/models/operations/fileget.ts +0 -223
- package/packages/orq-rc/src/models/operations/filelist.ts +0 -337
- package/packages/orq-rc/src/models/operations/fileupload.ts +0 -327
- package/packages/orq-rc/src/models/operations/getagent.ts +0 -957
- package/packages/orq-rc/src/models/operations/getagenttask.ts +0 -259
- package/packages/orq-rc/src/models/operations/getallmemories.ts +0 -318
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +0 -338
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +0 -1277
- package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -2572
- package/packages/orq-rc/src/models/operations/getalltools.ts +0 -2308
- package/packages/orq-rc/src/models/operations/getbudget.ts +0 -441
- package/packages/orq-rc/src/models/operations/getchunkscount.ts +0 -230
- package/packages/orq-rc/src/models/operations/getevals.ts +0 -7486
- package/packages/orq-rc/src/models/operations/getonechunk.ts +0 -315
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -1292
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -2437
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -2444
- package/packages/orq-rc/src/models/operations/index.ts +0 -102
- package/packages/orq-rc/src/models/operations/invokeagent.ts +0 -1569
- package/packages/orq-rc/src/models/operations/listactions.ts +0 -526
- package/packages/orq-rc/src/models/operations/listagents.ts +0 -1077
- package/packages/orq-rc/src/models/operations/listagenttasks.ts +0 -1106
- package/packages/orq-rc/src/models/operations/listbudgets.ts +0 -617
- package/packages/orq-rc/src/models/operations/listchunks.ts +0 -494
- package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +0 -507
- package/packages/orq-rc/src/models/operations/listcontacts.ts +0 -500
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +0 -4086
- package/packages/orq-rc/src/models/operations/listdatasets.ts +0 -406
- package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -454
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -1303
- package/packages/orq-rc/src/models/operations/listmodels.ts +0 -273
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -2580
- package/packages/orq-rc/src/models/operations/parse.ts +0 -1295
- package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +0 -190
- package/packages/orq-rc/src/models/operations/retrieveaction.ts +0 -426
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +0 -210
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -3853
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -291
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -273
- package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -201
- package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -220
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -1160
- package/packages/orq-rc/src/models/operations/retrievetool.ts +0 -2333
- package/packages/orq-rc/src/models/operations/runagent.ts +0 -4342
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +0 -3573
- package/packages/orq-rc/src/models/operations/streamagent.ts +0 -1367
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +0 -4355
- package/packages/orq-rc/src/models/operations/updateagent.ts +0 -3321
- package/packages/orq-rc/src/models/operations/updatebudget.ts +0 -628
- package/packages/orq-rc/src/models/operations/updatechunk.ts +0 -448
- package/packages/orq-rc/src/models/operations/updatecontact.ts +0 -325
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +0 -6934
- package/packages/orq-rc/src/models/operations/updatedataset.ts +0 -386
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +0 -345
- package/packages/orq-rc/src/models/operations/updateeval.ts +0 -9704
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +0 -2341
- package/packages/orq-rc/src/models/operations/updatememory.ts +0 -283
- package/packages/orq-rc/src/models/operations/updatememorydocument.ts +0 -296
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +0 -1363
- package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -8176
- package/packages/orq-rc/src/models/operations/updatetool.ts +0 -4288
- package/packages/orq-rc/src/sdk/agents.ts +0 -238
- package/packages/orq-rc/src/sdk/budgets.ts +0 -99
- package/packages/orq-rc/src/sdk/chunking.ts +0 -27
- package/packages/orq-rc/src/sdk/contacts.ts +0 -99
- package/packages/orq-rc/src/sdk/datasets.ts +0 -204
- package/packages/orq-rc/src/sdk/deployments.ts +0 -89
- package/packages/orq-rc/src/sdk/evals.ts +0 -69
- package/packages/orq-rc/src/sdk/feedback.ts +0 -27
- package/packages/orq-rc/src/sdk/files.ts +0 -78
- package/packages/orq-rc/src/sdk/index.ts +0 -5
- package/packages/orq-rc/src/sdk/knowledge.ts +0 -309
- package/packages/orq-rc/src/sdk/memorystores.ts +0 -286
- package/packages/orq-rc/src/sdk/metrics.ts +0 -27
- package/packages/orq-rc/src/sdk/models.ts +0 -25
- package/packages/orq-rc/src/sdk/prompts.ts +0 -126
- package/packages/orq-rc/src/sdk/remoteconfigs.ts +0 -24
- package/packages/orq-rc/src/sdk/sdk.ts +0 -97
- package/packages/orq-rc/src/sdk/tools.ts +0 -117
- package/packages/orq-rc/src/types/async.ts +0 -68
- package/packages/orq-rc/src/types/blobs.ts +0 -32
- package/packages/orq-rc/src/types/constdatetime.ts +0 -15
- package/packages/orq-rc/src/types/enums.ts +0 -16
- package/packages/orq-rc/src/types/fp.ts +0 -50
- package/packages/orq-rc/src/types/index.ts +0 -11
- package/packages/orq-rc/src/types/operations.ts +0 -105
- package/packages/orq-rc/src/types/rfcdate.ts +0 -54
- package/packages/orq-rc/src/types/streams.ts +0 -21
- package/packages/orq-rc/tsconfig.json +0 -41
|
@@ -1,4086 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
export type ListDatasetDatapointsRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* The unique identifier of the dataset
|
|
15
|
-
*/
|
|
16
|
-
datasetId: string;
|
|
17
|
-
/**
|
|
18
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
19
|
-
*/
|
|
20
|
-
limit?: number | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
23
|
-
*/
|
|
24
|
-
startingAfter?: string | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
27
|
-
*/
|
|
28
|
-
endingBefore?: string | undefined;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export const ListDatasetDatapointsObject = {
|
|
32
|
-
List: "list",
|
|
33
|
-
} as const;
|
|
34
|
-
export type ListDatasetDatapointsObject = ClosedEnum<
|
|
35
|
-
typeof ListDatasetDatapointsObject
|
|
36
|
-
>;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* The role of the messages author, in this case tool.
|
|
40
|
-
*/
|
|
41
|
-
export const ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole =
|
|
42
|
-
{
|
|
43
|
-
Tool: "tool",
|
|
44
|
-
} as const;
|
|
45
|
-
/**
|
|
46
|
-
* The role of the messages author, in this case tool.
|
|
47
|
-
*/
|
|
48
|
-
export type ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole =
|
|
49
|
-
ClosedEnum<
|
|
50
|
-
typeof ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole
|
|
51
|
-
>;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* The contents of the tool message.
|
|
55
|
-
*/
|
|
56
|
-
export type ListDatasetDatapointsMessagesDatasetsResponseContent =
|
|
57
|
-
| string
|
|
58
|
-
| Array<string>;
|
|
59
|
-
|
|
60
|
-
export type ListDatasetDatapointsMessagesToolMessage = {
|
|
61
|
-
/**
|
|
62
|
-
* The role of the messages author, in this case tool.
|
|
63
|
-
*/
|
|
64
|
-
role: ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole;
|
|
65
|
-
/**
|
|
66
|
-
* The contents of the tool message.
|
|
67
|
-
*/
|
|
68
|
-
content: string | Array<string>;
|
|
69
|
-
/**
|
|
70
|
-
* Tool call that this message is responding to.
|
|
71
|
-
*/
|
|
72
|
-
toolCallId: string;
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* The type of the content part.
|
|
77
|
-
*/
|
|
78
|
-
export const ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType =
|
|
79
|
-
{
|
|
80
|
-
Refusal: "refusal",
|
|
81
|
-
} as const;
|
|
82
|
-
/**
|
|
83
|
-
* The type of the content part.
|
|
84
|
-
*/
|
|
85
|
-
export type ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType =
|
|
86
|
-
ClosedEnum<
|
|
87
|
-
typeof ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType
|
|
88
|
-
>;
|
|
89
|
-
|
|
90
|
-
export type ListDatasetDatapoints2RefusalContentPart = {
|
|
91
|
-
/**
|
|
92
|
-
* The type of the content part.
|
|
93
|
-
*/
|
|
94
|
-
type:
|
|
95
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType;
|
|
96
|
-
/**
|
|
97
|
-
* The refusal message generated by the model.
|
|
98
|
-
*/
|
|
99
|
-
refusal: string;
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* The type of the content part.
|
|
104
|
-
*/
|
|
105
|
-
export const ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType = {
|
|
106
|
-
Text: "text",
|
|
107
|
-
} as const;
|
|
108
|
-
/**
|
|
109
|
-
* The type of the content part.
|
|
110
|
-
*/
|
|
111
|
-
export type ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType =
|
|
112
|
-
ClosedEnum<
|
|
113
|
-
typeof ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType
|
|
114
|
-
>;
|
|
115
|
-
|
|
116
|
-
export const ListDatasetDatapointsAnnotationsDatasetsType = {
|
|
117
|
-
FilePath: "file_path",
|
|
118
|
-
} as const;
|
|
119
|
-
export type ListDatasetDatapointsAnnotationsDatasetsType = ClosedEnum<
|
|
120
|
-
typeof ListDatasetDatapointsAnnotationsDatasetsType
|
|
121
|
-
>;
|
|
122
|
-
|
|
123
|
-
export type ListDatasetDatapointsAnnotationsFilePath = {
|
|
124
|
-
fileId: string;
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
export type ListDatasetDatapointsAnnotations2 = {
|
|
128
|
-
type: ListDatasetDatapointsAnnotationsDatasetsType;
|
|
129
|
-
text: string;
|
|
130
|
-
filePath: ListDatasetDatapointsAnnotationsFilePath;
|
|
131
|
-
startIndex: number;
|
|
132
|
-
endIndex: number;
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
export const ListDatasetDatapointsAnnotationsType = {
|
|
136
|
-
FileCitation: "file_citation",
|
|
137
|
-
} as const;
|
|
138
|
-
export type ListDatasetDatapointsAnnotationsType = ClosedEnum<
|
|
139
|
-
typeof ListDatasetDatapointsAnnotationsType
|
|
140
|
-
>;
|
|
141
|
-
|
|
142
|
-
export type ListDatasetDatapointsAnnotationsFileCitation = {
|
|
143
|
-
fileId: string;
|
|
144
|
-
quote?: string | undefined;
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
export type ListDatasetDatapointsAnnotations1 = {
|
|
148
|
-
type: ListDatasetDatapointsAnnotationsType;
|
|
149
|
-
text: string;
|
|
150
|
-
fileCitation: ListDatasetDatapointsAnnotationsFileCitation;
|
|
151
|
-
startIndex: number;
|
|
152
|
-
endIndex: number;
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
export type ListDatasetDatapoints2Annotations =
|
|
156
|
-
| ListDatasetDatapointsAnnotations1
|
|
157
|
-
| ListDatasetDatapointsAnnotations2;
|
|
158
|
-
|
|
159
|
-
export type ListDatasetDatapoints2TextContentPart = {
|
|
160
|
-
/**
|
|
161
|
-
* The type of the content part.
|
|
162
|
-
*/
|
|
163
|
-
type: ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType;
|
|
164
|
-
/**
|
|
165
|
-
* The text content.
|
|
166
|
-
*/
|
|
167
|
-
text: string;
|
|
168
|
-
/**
|
|
169
|
-
* Annotations for the text content.
|
|
170
|
-
*/
|
|
171
|
-
annotations?:
|
|
172
|
-
| Array<
|
|
173
|
-
ListDatasetDatapointsAnnotations1 | ListDatasetDatapointsAnnotations2
|
|
174
|
-
>
|
|
175
|
-
| undefined;
|
|
176
|
-
};
|
|
177
|
-
|
|
178
|
-
export type ListDatasetDatapointsContentDatasets2 =
|
|
179
|
-
| ListDatasetDatapoints2TextContentPart
|
|
180
|
-
| ListDatasetDatapoints2RefusalContentPart;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
184
|
-
*/
|
|
185
|
-
export type ListDatasetDatapointsMessagesDatasetsContent =
|
|
186
|
-
| string
|
|
187
|
-
| Array<
|
|
188
|
-
| ListDatasetDatapoints2TextContentPart
|
|
189
|
-
| ListDatasetDatapoints2RefusalContentPart
|
|
190
|
-
>;
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* The role of the messages author, in this case `assistant`.
|
|
194
|
-
*/
|
|
195
|
-
export const ListDatasetDatapointsMessagesDatasetsResponse200Role = {
|
|
196
|
-
Assistant: "assistant",
|
|
197
|
-
} as const;
|
|
198
|
-
/**
|
|
199
|
-
* The role of the messages author, in this case `assistant`.
|
|
200
|
-
*/
|
|
201
|
-
export type ListDatasetDatapointsMessagesDatasetsResponse200Role = ClosedEnum<
|
|
202
|
-
typeof ListDatasetDatapointsMessagesDatasetsResponse200Role
|
|
203
|
-
>;
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Data about a previous audio response from the model.
|
|
207
|
-
*/
|
|
208
|
-
export type ListDatasetDatapointsMessagesAudio = {
|
|
209
|
-
/**
|
|
210
|
-
* Unique identifier for a previous audio response from the model.
|
|
211
|
-
*/
|
|
212
|
-
id: string;
|
|
213
|
-
};
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* The type of the tool. Currently, only `function` is supported.
|
|
217
|
-
*/
|
|
218
|
-
export const ListDatasetDatapointsMessagesType = {
|
|
219
|
-
Function: "function",
|
|
220
|
-
} as const;
|
|
221
|
-
/**
|
|
222
|
-
* The type of the tool. Currently, only `function` is supported.
|
|
223
|
-
*/
|
|
224
|
-
export type ListDatasetDatapointsMessagesType = ClosedEnum<
|
|
225
|
-
typeof ListDatasetDatapointsMessagesType
|
|
226
|
-
>;
|
|
227
|
-
|
|
228
|
-
export type ListDatasetDatapointsMessagesFunction = {
|
|
229
|
-
/**
|
|
230
|
-
* The name of the function to call.
|
|
231
|
-
*/
|
|
232
|
-
name?: string | undefined;
|
|
233
|
-
/**
|
|
234
|
-
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
235
|
-
*/
|
|
236
|
-
arguments?: string | undefined;
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
export type ListDatasetDatapointsMessagesToolCalls = {
|
|
240
|
-
/**
|
|
241
|
-
* The ID of the tool call.
|
|
242
|
-
*/
|
|
243
|
-
id: string;
|
|
244
|
-
/**
|
|
245
|
-
* The type of the tool. Currently, only `function` is supported.
|
|
246
|
-
*/
|
|
247
|
-
type: ListDatasetDatapointsMessagesType;
|
|
248
|
-
function: ListDatasetDatapointsMessagesFunction;
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
export type ListDatasetDatapointsMessagesAssistantMessage = {
|
|
252
|
-
/**
|
|
253
|
-
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
254
|
-
*/
|
|
255
|
-
content?:
|
|
256
|
-
| string
|
|
257
|
-
| Array<
|
|
258
|
-
| ListDatasetDatapoints2TextContentPart
|
|
259
|
-
| ListDatasetDatapoints2RefusalContentPart
|
|
260
|
-
>
|
|
261
|
-
| null
|
|
262
|
-
| undefined;
|
|
263
|
-
/**
|
|
264
|
-
* The refusal message by the assistant.
|
|
265
|
-
*/
|
|
266
|
-
refusal?: string | null | undefined;
|
|
267
|
-
/**
|
|
268
|
-
* The role of the messages author, in this case `assistant`.
|
|
269
|
-
*/
|
|
270
|
-
role: ListDatasetDatapointsMessagesDatasetsResponse200Role;
|
|
271
|
-
/**
|
|
272
|
-
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
273
|
-
*/
|
|
274
|
-
name?: string | undefined;
|
|
275
|
-
/**
|
|
276
|
-
* Data about a previous audio response from the model.
|
|
277
|
-
*/
|
|
278
|
-
audio?: ListDatasetDatapointsMessagesAudio | null | undefined;
|
|
279
|
-
/**
|
|
280
|
-
* The tool calls generated by the model, such as function calls.
|
|
281
|
-
*/
|
|
282
|
-
toolCalls?: Array<ListDatasetDatapointsMessagesToolCalls> | undefined;
|
|
283
|
-
/**
|
|
284
|
-
* Internal thought process of the model
|
|
285
|
-
*/
|
|
286
|
-
reasoning?: string | undefined;
|
|
287
|
-
/**
|
|
288
|
-
* The signature holds a cryptographic token which verifies that the thinking block was generated by the model, and is verified when thinking is part of a multiturn conversation. This value should not be modified and should always be sent to the API when the reasoning is redacted. Currently only supported by `Anthropic`.
|
|
289
|
-
*/
|
|
290
|
-
reasoningSignature?: string | undefined;
|
|
291
|
-
/**
|
|
292
|
-
* Occasionally the model's internal reasoning will be flagged by the safety systems of the provider. When this occurs, the provider will encrypt the reasoning. These redacted reasoning is decrypted when passed back to the API, allowing the model to continue its response without losing context.
|
|
293
|
-
*/
|
|
294
|
-
redactedReasoning?: string | undefined;
|
|
295
|
-
};
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* The role of the messages author, in this case `user`.
|
|
299
|
-
*/
|
|
300
|
-
export const ListDatasetDatapointsMessagesDatasetsResponseRole = {
|
|
301
|
-
User: "user",
|
|
302
|
-
} as const;
|
|
303
|
-
/**
|
|
304
|
-
* The role of the messages author, in this case `user`.
|
|
305
|
-
*/
|
|
306
|
-
export type ListDatasetDatapointsMessagesDatasetsResponseRole = ClosedEnum<
|
|
307
|
-
typeof ListDatasetDatapointsMessagesDatasetsResponseRole
|
|
308
|
-
>;
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* The type of the content part. Always `file`.
|
|
312
|
-
*/
|
|
313
|
-
export const ListDatasetDatapoints2DatasetsResponse200Type = {
|
|
314
|
-
File: "file",
|
|
315
|
-
} as const;
|
|
316
|
-
/**
|
|
317
|
-
* The type of the content part. Always `file`.
|
|
318
|
-
*/
|
|
319
|
-
export type ListDatasetDatapoints2DatasetsResponse200Type = ClosedEnum<
|
|
320
|
-
typeof ListDatasetDatapoints2DatasetsResponse200Type
|
|
321
|
-
>;
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
325
|
-
*/
|
|
326
|
-
export type ListDatasetDatapoints2File = {
|
|
327
|
-
/**
|
|
328
|
-
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
329
|
-
*/
|
|
330
|
-
fileData?: string | undefined;
|
|
331
|
-
/**
|
|
332
|
-
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
333
|
-
*/
|
|
334
|
-
uri?: string | undefined;
|
|
335
|
-
/**
|
|
336
|
-
* MIME type of the file (e.g., application/pdf, image/png)
|
|
337
|
-
*/
|
|
338
|
-
mimeType?: string | undefined;
|
|
339
|
-
/**
|
|
340
|
-
* The name of the file, used when passing the file to the model as a string.
|
|
341
|
-
*/
|
|
342
|
-
filename?: string | undefined;
|
|
343
|
-
};
|
|
344
|
-
|
|
345
|
-
export type ListDatasetDatapoints24 = {
|
|
346
|
-
/**
|
|
347
|
-
* The type of the content part. Always `file`.
|
|
348
|
-
*/
|
|
349
|
-
type: ListDatasetDatapoints2DatasetsResponse200Type;
|
|
350
|
-
/**
|
|
351
|
-
* File data for the content part. Must contain either file_data or uri, but not both.
|
|
352
|
-
*/
|
|
353
|
-
file: ListDatasetDatapoints2File;
|
|
354
|
-
};
|
|
355
|
-
|
|
356
|
-
export const ListDatasetDatapoints2DatasetsResponseType = {
|
|
357
|
-
InputAudio: "input_audio",
|
|
358
|
-
} as const;
|
|
359
|
-
export type ListDatasetDatapoints2DatasetsResponseType = ClosedEnum<
|
|
360
|
-
typeof ListDatasetDatapoints2DatasetsResponseType
|
|
361
|
-
>;
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
365
|
-
*/
|
|
366
|
-
export const ListDatasetDatapoints2Format = {
|
|
367
|
-
Mp3: "mp3",
|
|
368
|
-
Wav: "wav",
|
|
369
|
-
} as const;
|
|
370
|
-
/**
|
|
371
|
-
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
372
|
-
*/
|
|
373
|
-
export type ListDatasetDatapoints2Format = ClosedEnum<
|
|
374
|
-
typeof ListDatasetDatapoints2Format
|
|
375
|
-
>;
|
|
376
|
-
|
|
377
|
-
export type ListDatasetDatapoints2InputAudio = {
|
|
378
|
-
/**
|
|
379
|
-
* Base64 encoded audio data.
|
|
380
|
-
*/
|
|
381
|
-
data: string;
|
|
382
|
-
/**
|
|
383
|
-
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
384
|
-
*/
|
|
385
|
-
format: ListDatasetDatapoints2Format;
|
|
386
|
-
};
|
|
387
|
-
|
|
388
|
-
export type ListDatasetDatapoints23 = {
|
|
389
|
-
type: ListDatasetDatapoints2DatasetsResponseType;
|
|
390
|
-
inputAudio: ListDatasetDatapoints2InputAudio;
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
export const ListDatasetDatapoints2DatasetsType = {
|
|
394
|
-
ImageUrl: "image_url",
|
|
395
|
-
} as const;
|
|
396
|
-
export type ListDatasetDatapoints2DatasetsType = ClosedEnum<
|
|
397
|
-
typeof ListDatasetDatapoints2DatasetsType
|
|
398
|
-
>;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Specifies the detail level of the image.
|
|
402
|
-
*/
|
|
403
|
-
export const ListDatasetDatapoints2Detail = {
|
|
404
|
-
Low: "low",
|
|
405
|
-
High: "high",
|
|
406
|
-
Auto: "auto",
|
|
407
|
-
} as const;
|
|
408
|
-
/**
|
|
409
|
-
* Specifies the detail level of the image.
|
|
410
|
-
*/
|
|
411
|
-
export type ListDatasetDatapoints2Detail = ClosedEnum<
|
|
412
|
-
typeof ListDatasetDatapoints2Detail
|
|
413
|
-
>;
|
|
414
|
-
|
|
415
|
-
export type ListDatasetDatapoints2ImageUrl = {
|
|
416
|
-
/**
|
|
417
|
-
* Either a URL of the image or the base64 encoded image data.
|
|
418
|
-
*/
|
|
419
|
-
url: string;
|
|
420
|
-
/**
|
|
421
|
-
* Specifies the detail level of the image.
|
|
422
|
-
*/
|
|
423
|
-
detail?: ListDatasetDatapoints2Detail | undefined;
|
|
424
|
-
};
|
|
425
|
-
|
|
426
|
-
export type ListDatasetDatapoints22 = {
|
|
427
|
-
type: ListDatasetDatapoints2DatasetsType;
|
|
428
|
-
imageUrl: ListDatasetDatapoints2ImageUrl;
|
|
429
|
-
};
|
|
430
|
-
|
|
431
|
-
export const ListDatasetDatapoints2Type = {
|
|
432
|
-
Text: "text",
|
|
433
|
-
} as const;
|
|
434
|
-
export type ListDatasetDatapoints2Type = ClosedEnum<
|
|
435
|
-
typeof ListDatasetDatapoints2Type
|
|
436
|
-
>;
|
|
437
|
-
|
|
438
|
-
export type ListDatasetDatapoints21 = {
|
|
439
|
-
type: ListDatasetDatapoints2Type;
|
|
440
|
-
text: string;
|
|
441
|
-
};
|
|
442
|
-
|
|
443
|
-
export type ListDatasetDatapointsContent2 =
|
|
444
|
-
| ListDatasetDatapoints21
|
|
445
|
-
| ListDatasetDatapoints22
|
|
446
|
-
| ListDatasetDatapoints23
|
|
447
|
-
| ListDatasetDatapoints24;
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* The contents of the user message.
|
|
451
|
-
*/
|
|
452
|
-
export type ListDatasetDatapointsMessagesContent =
|
|
453
|
-
| string
|
|
454
|
-
| Array<
|
|
455
|
-
| ListDatasetDatapoints21
|
|
456
|
-
| ListDatasetDatapoints22
|
|
457
|
-
| ListDatasetDatapoints23
|
|
458
|
-
| ListDatasetDatapoints24
|
|
459
|
-
>;
|
|
460
|
-
|
|
461
|
-
export type ListDatasetDatapointsMessagesUserMessage = {
|
|
462
|
-
/**
|
|
463
|
-
* The role of the messages author, in this case `user`.
|
|
464
|
-
*/
|
|
465
|
-
role: ListDatasetDatapointsMessagesDatasetsResponseRole;
|
|
466
|
-
/**
|
|
467
|
-
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
468
|
-
*/
|
|
469
|
-
name?: string | undefined;
|
|
470
|
-
/**
|
|
471
|
-
* The contents of the user message.
|
|
472
|
-
*/
|
|
473
|
-
content:
|
|
474
|
-
| string
|
|
475
|
-
| Array<
|
|
476
|
-
| ListDatasetDatapoints21
|
|
477
|
-
| ListDatasetDatapoints22
|
|
478
|
-
| ListDatasetDatapoints23
|
|
479
|
-
| ListDatasetDatapoints24
|
|
480
|
-
>;
|
|
481
|
-
};
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* The role of the messages author, in this case `system`.
|
|
485
|
-
*/
|
|
486
|
-
export const ListDatasetDatapointsMessagesDatasetsRole = {
|
|
487
|
-
System: "system",
|
|
488
|
-
} as const;
|
|
489
|
-
/**
|
|
490
|
-
* The role of the messages author, in this case `system`.
|
|
491
|
-
*/
|
|
492
|
-
export type ListDatasetDatapointsMessagesDatasetsRole = ClosedEnum<
|
|
493
|
-
typeof ListDatasetDatapointsMessagesDatasetsRole
|
|
494
|
-
>;
|
|
495
|
-
|
|
496
|
-
export type ListDatasetDatapointsMessagesSystemMessage = {
|
|
497
|
-
/**
|
|
498
|
-
* The role of the messages author, in this case `system`.
|
|
499
|
-
*/
|
|
500
|
-
role: ListDatasetDatapointsMessagesDatasetsRole;
|
|
501
|
-
/**
|
|
502
|
-
* The contents of the system message.
|
|
503
|
-
*/
|
|
504
|
-
content: string;
|
|
505
|
-
/**
|
|
506
|
-
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
507
|
-
*/
|
|
508
|
-
name?: string | undefined;
|
|
509
|
-
};
|
|
510
|
-
|
|
511
|
-
/**
|
|
512
|
-
* The role of the messages author, in this case `developer`.
|
|
513
|
-
*/
|
|
514
|
-
export const ListDatasetDatapointsMessagesRole = {
|
|
515
|
-
Developer: "developer",
|
|
516
|
-
} as const;
|
|
517
|
-
/**
|
|
518
|
-
* The role of the messages author, in this case `developer`.
|
|
519
|
-
*/
|
|
520
|
-
export type ListDatasetDatapointsMessagesRole = ClosedEnum<
|
|
521
|
-
typeof ListDatasetDatapointsMessagesRole
|
|
522
|
-
>;
|
|
523
|
-
|
|
524
|
-
export type ListDatasetDatapointsMessagesDeveloperMessage = {
|
|
525
|
-
/**
|
|
526
|
-
* The role of the messages author, in this case `developer`.
|
|
527
|
-
*/
|
|
528
|
-
role: ListDatasetDatapointsMessagesRole;
|
|
529
|
-
/**
|
|
530
|
-
* The contents of the developer message.
|
|
531
|
-
*/
|
|
532
|
-
content: string;
|
|
533
|
-
/**
|
|
534
|
-
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
535
|
-
*/
|
|
536
|
-
name?: string | undefined;
|
|
537
|
-
};
|
|
538
|
-
|
|
539
|
-
export type ListDatasetDatapointsMessages =
|
|
540
|
-
| ListDatasetDatapointsMessagesToolMessage
|
|
541
|
-
| ListDatasetDatapointsMessagesDeveloperMessage
|
|
542
|
-
| ListDatasetDatapointsMessagesSystemMessage
|
|
543
|
-
| ListDatasetDatapointsMessagesUserMessage
|
|
544
|
-
| ListDatasetDatapointsMessagesAssistantMessage;
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* The type of evaluation
|
|
548
|
-
*/
|
|
549
|
-
export const ListDatasetDatapointsEvaluationsEvaluationType = {
|
|
550
|
-
HumanReview: "human_review",
|
|
551
|
-
} as const;
|
|
552
|
-
/**
|
|
553
|
-
* The type of evaluation
|
|
554
|
-
*/
|
|
555
|
-
export type ListDatasetDatapointsEvaluationsEvaluationType = ClosedEnum<
|
|
556
|
-
typeof ListDatasetDatapointsEvaluationsEvaluationType
|
|
557
|
-
>;
|
|
558
|
-
|
|
559
|
-
export const ListDatasetDatapointsEvaluationsSource = {
|
|
560
|
-
Orq: "orq",
|
|
561
|
-
External: "external",
|
|
562
|
-
} as const;
|
|
563
|
-
export type ListDatasetDatapointsEvaluationsSource = ClosedEnum<
|
|
564
|
-
typeof ListDatasetDatapointsEvaluationsSource
|
|
565
|
-
>;
|
|
566
|
-
|
|
567
|
-
export const ListDatasetDatapointsEvaluationsDatasetsType = {
|
|
568
|
-
StringArray: "string_array",
|
|
569
|
-
} as const;
|
|
570
|
-
export type ListDatasetDatapointsEvaluationsDatasetsType = ClosedEnum<
|
|
571
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsType
|
|
572
|
-
>;
|
|
573
|
-
|
|
574
|
-
export type ListDatasetDatapointsEvaluations3 = {
|
|
575
|
-
/**
|
|
576
|
-
* The unique identifier of the human evaluation
|
|
577
|
-
*/
|
|
578
|
-
id: string;
|
|
579
|
-
/**
|
|
580
|
-
* The type of evaluation
|
|
581
|
-
*/
|
|
582
|
-
evaluationType: ListDatasetDatapointsEvaluationsEvaluationType;
|
|
583
|
-
/**
|
|
584
|
-
* The unique identifier of the human review
|
|
585
|
-
*/
|
|
586
|
-
humanReviewId: string;
|
|
587
|
-
source?: ListDatasetDatapointsEvaluationsSource | undefined;
|
|
588
|
-
/**
|
|
589
|
-
* The unique identifier of the user who reviewed the item
|
|
590
|
-
*/
|
|
591
|
-
reviewedById: string;
|
|
592
|
-
/**
|
|
593
|
-
* The date and time the item was reviewed
|
|
594
|
-
*/
|
|
595
|
-
reviewedAt?: Date | undefined;
|
|
596
|
-
type: ListDatasetDatapointsEvaluationsDatasetsType;
|
|
597
|
-
values: Array<string>;
|
|
598
|
-
};
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* The type of evaluation
|
|
602
|
-
*/
|
|
603
|
-
export const ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType = {
|
|
604
|
-
HumanReview: "human_review",
|
|
605
|
-
} as const;
|
|
606
|
-
/**
|
|
607
|
-
* The type of evaluation
|
|
608
|
-
*/
|
|
609
|
-
export type ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType =
|
|
610
|
-
ClosedEnum<
|
|
611
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType
|
|
612
|
-
>;
|
|
613
|
-
|
|
614
|
-
export const ListDatasetDatapointsEvaluationsDatasetsResponseSource = {
|
|
615
|
-
Orq: "orq",
|
|
616
|
-
External: "external",
|
|
617
|
-
} as const;
|
|
618
|
-
export type ListDatasetDatapointsEvaluationsDatasetsResponseSource = ClosedEnum<
|
|
619
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsResponseSource
|
|
620
|
-
>;
|
|
621
|
-
|
|
622
|
-
export const ListDatasetDatapointsEvaluationsType = {
|
|
623
|
-
Number: "number",
|
|
624
|
-
} as const;
|
|
625
|
-
export type ListDatasetDatapointsEvaluationsType = ClosedEnum<
|
|
626
|
-
typeof ListDatasetDatapointsEvaluationsType
|
|
627
|
-
>;
|
|
628
|
-
|
|
629
|
-
export type ListDatasetDatapointsEvaluations2 = {
|
|
630
|
-
/**
|
|
631
|
-
* The unique identifier of the human evaluation
|
|
632
|
-
*/
|
|
633
|
-
id: string;
|
|
634
|
-
/**
|
|
635
|
-
* The type of evaluation
|
|
636
|
-
*/
|
|
637
|
-
evaluationType:
|
|
638
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType;
|
|
639
|
-
/**
|
|
640
|
-
* The unique identifier of the human review
|
|
641
|
-
*/
|
|
642
|
-
humanReviewId: string;
|
|
643
|
-
source?: ListDatasetDatapointsEvaluationsDatasetsResponseSource | undefined;
|
|
644
|
-
/**
|
|
645
|
-
* The unique identifier of the user who reviewed the item
|
|
646
|
-
*/
|
|
647
|
-
reviewedById: string;
|
|
648
|
-
/**
|
|
649
|
-
* The date and time the item was reviewed
|
|
650
|
-
*/
|
|
651
|
-
reviewedAt?: Date | undefined;
|
|
652
|
-
type: ListDatasetDatapointsEvaluationsType;
|
|
653
|
-
value: number;
|
|
654
|
-
};
|
|
655
|
-
|
|
656
|
-
/**
|
|
657
|
-
* The type of evaluation
|
|
658
|
-
*/
|
|
659
|
-
export const ListDatasetDatapointsEvaluationsDatasetsEvaluationType = {
|
|
660
|
-
HumanReview: "human_review",
|
|
661
|
-
} as const;
|
|
662
|
-
/**
|
|
663
|
-
* The type of evaluation
|
|
664
|
-
*/
|
|
665
|
-
export type ListDatasetDatapointsEvaluationsDatasetsEvaluationType = ClosedEnum<
|
|
666
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsEvaluationType
|
|
667
|
-
>;
|
|
668
|
-
|
|
669
|
-
export const ListDatasetDatapointsEvaluationsDatasetsSource = {
|
|
670
|
-
Orq: "orq",
|
|
671
|
-
External: "external",
|
|
672
|
-
} as const;
|
|
673
|
-
export type ListDatasetDatapointsEvaluationsDatasetsSource = ClosedEnum<
|
|
674
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsSource
|
|
675
|
-
>;
|
|
676
|
-
|
|
677
|
-
export const ListDatasetDatapointsEvaluationsDatasetsResponseType = {
|
|
678
|
-
String: "string",
|
|
679
|
-
} as const;
|
|
680
|
-
export type ListDatasetDatapointsEvaluationsDatasetsResponseType = ClosedEnum<
|
|
681
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsResponseType
|
|
682
|
-
>;
|
|
683
|
-
|
|
684
|
-
export type ListDatasetDatapointsEvaluations1 = {
|
|
685
|
-
/**
|
|
686
|
-
* The unique identifier of the human evaluation
|
|
687
|
-
*/
|
|
688
|
-
id: string;
|
|
689
|
-
/**
|
|
690
|
-
* The type of evaluation
|
|
691
|
-
*/
|
|
692
|
-
evaluationType: ListDatasetDatapointsEvaluationsDatasetsEvaluationType;
|
|
693
|
-
/**
|
|
694
|
-
* The unique identifier of the human review
|
|
695
|
-
*/
|
|
696
|
-
humanReviewId: string;
|
|
697
|
-
source?: ListDatasetDatapointsEvaluationsDatasetsSource | undefined;
|
|
698
|
-
/**
|
|
699
|
-
* The unique identifier of the user who reviewed the item
|
|
700
|
-
*/
|
|
701
|
-
reviewedById: string;
|
|
702
|
-
/**
|
|
703
|
-
* The date and time the item was reviewed
|
|
704
|
-
*/
|
|
705
|
-
reviewedAt?: Date | undefined;
|
|
706
|
-
type: ListDatasetDatapointsEvaluationsDatasetsResponseType;
|
|
707
|
-
value: string;
|
|
708
|
-
};
|
|
709
|
-
|
|
710
|
-
export type ListDatasetDatapointsEvaluations =
|
|
711
|
-
| ListDatasetDatapointsEvaluations1
|
|
712
|
-
| ListDatasetDatapointsEvaluations2
|
|
713
|
-
| ListDatasetDatapointsEvaluations3;
|
|
714
|
-
|
|
715
|
-
export type ListDatasetDatapointsData = {
|
|
716
|
-
/**
|
|
717
|
-
* The unique identifier of the dataset item
|
|
718
|
-
*/
|
|
719
|
-
id: string;
|
|
720
|
-
/**
|
|
721
|
-
* The unique identifier of the workspace it belongs to
|
|
722
|
-
*/
|
|
723
|
-
workspaceId: string;
|
|
724
|
-
/**
|
|
725
|
-
* The inputs of the dataset. Key value pairs where the key is the input name and the value is the input value. Nested objects are not supported.
|
|
726
|
-
*/
|
|
727
|
-
inputs?: { [k: string]: any } | undefined;
|
|
728
|
-
/**
|
|
729
|
-
* A list of messages comprising the conversation so far
|
|
730
|
-
*/
|
|
731
|
-
messages?:
|
|
732
|
-
| Array<
|
|
733
|
-
| ListDatasetDatapointsMessagesToolMessage
|
|
734
|
-
| ListDatasetDatapointsMessagesDeveloperMessage
|
|
735
|
-
| ListDatasetDatapointsMessagesSystemMessage
|
|
736
|
-
| ListDatasetDatapointsMessagesUserMessage
|
|
737
|
-
| ListDatasetDatapointsMessagesAssistantMessage
|
|
738
|
-
>
|
|
739
|
-
| undefined;
|
|
740
|
-
expectedOutput?: string | undefined;
|
|
741
|
-
/**
|
|
742
|
-
* Evaluations associated with the datapoint
|
|
743
|
-
*/
|
|
744
|
-
evaluations?:
|
|
745
|
-
| Array<
|
|
746
|
-
| ListDatasetDatapointsEvaluations1
|
|
747
|
-
| ListDatasetDatapointsEvaluations2
|
|
748
|
-
| ListDatasetDatapointsEvaluations3
|
|
749
|
-
>
|
|
750
|
-
| undefined;
|
|
751
|
-
/**
|
|
752
|
-
* The unique identifier of the dataset
|
|
753
|
-
*/
|
|
754
|
-
datasetId: string;
|
|
755
|
-
/**
|
|
756
|
-
* The version of the dataset snapshot
|
|
757
|
-
*/
|
|
758
|
-
snapshotVersion?: string | undefined;
|
|
759
|
-
/**
|
|
760
|
-
* The unique identifier of the user who created the dataset
|
|
761
|
-
*/
|
|
762
|
-
createdById?: string | undefined;
|
|
763
|
-
/**
|
|
764
|
-
* The unique identifier of the user who last updated the dataset
|
|
765
|
-
*/
|
|
766
|
-
updatedById?: string | undefined;
|
|
767
|
-
/**
|
|
768
|
-
* The date and time the resource was created
|
|
769
|
-
*/
|
|
770
|
-
created?: Date | undefined;
|
|
771
|
-
/**
|
|
772
|
-
* The date and time the resource was last updated
|
|
773
|
-
*/
|
|
774
|
-
updated?: Date | undefined;
|
|
775
|
-
};
|
|
776
|
-
|
|
777
|
-
/**
|
|
778
|
-
* Datapoints retrieved successfully. Returns a paginated list of datapoints.
|
|
779
|
-
*/
|
|
780
|
-
export type ListDatasetDatapointsResponseBody = {
|
|
781
|
-
object: ListDatasetDatapointsObject;
|
|
782
|
-
data: Array<ListDatasetDatapointsData>;
|
|
783
|
-
hasMore: boolean;
|
|
784
|
-
};
|
|
785
|
-
|
|
786
|
-
/** @internal */
|
|
787
|
-
export const ListDatasetDatapointsRequest$inboundSchema: z.ZodType<
|
|
788
|
-
ListDatasetDatapointsRequest,
|
|
789
|
-
z.ZodTypeDef,
|
|
790
|
-
unknown
|
|
791
|
-
> = z.object({
|
|
792
|
-
dataset_id: z.string(),
|
|
793
|
-
limit: z.number().default(10),
|
|
794
|
-
starting_after: z.string().optional(),
|
|
795
|
-
ending_before: z.string().optional(),
|
|
796
|
-
}).transform((v) => {
|
|
797
|
-
return remap$(v, {
|
|
798
|
-
"dataset_id": "datasetId",
|
|
799
|
-
"starting_after": "startingAfter",
|
|
800
|
-
"ending_before": "endingBefore",
|
|
801
|
-
});
|
|
802
|
-
});
|
|
803
|
-
|
|
804
|
-
/** @internal */
|
|
805
|
-
export type ListDatasetDatapointsRequest$Outbound = {
|
|
806
|
-
dataset_id: string;
|
|
807
|
-
limit: number;
|
|
808
|
-
starting_after?: string | undefined;
|
|
809
|
-
ending_before?: string | undefined;
|
|
810
|
-
};
|
|
811
|
-
|
|
812
|
-
/** @internal */
|
|
813
|
-
export const ListDatasetDatapointsRequest$outboundSchema: z.ZodType<
|
|
814
|
-
ListDatasetDatapointsRequest$Outbound,
|
|
815
|
-
z.ZodTypeDef,
|
|
816
|
-
ListDatasetDatapointsRequest
|
|
817
|
-
> = z.object({
|
|
818
|
-
datasetId: z.string(),
|
|
819
|
-
limit: z.number().default(10),
|
|
820
|
-
startingAfter: z.string().optional(),
|
|
821
|
-
endingBefore: z.string().optional(),
|
|
822
|
-
}).transform((v) => {
|
|
823
|
-
return remap$(v, {
|
|
824
|
-
datasetId: "dataset_id",
|
|
825
|
-
startingAfter: "starting_after",
|
|
826
|
-
endingBefore: "ending_before",
|
|
827
|
-
});
|
|
828
|
-
});
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* @internal
|
|
832
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
833
|
-
*/
|
|
834
|
-
export namespace ListDatasetDatapointsRequest$ {
|
|
835
|
-
/** @deprecated use `ListDatasetDatapointsRequest$inboundSchema` instead. */
|
|
836
|
-
export const inboundSchema = ListDatasetDatapointsRequest$inboundSchema;
|
|
837
|
-
/** @deprecated use `ListDatasetDatapointsRequest$outboundSchema` instead. */
|
|
838
|
-
export const outboundSchema = ListDatasetDatapointsRequest$outboundSchema;
|
|
839
|
-
/** @deprecated use `ListDatasetDatapointsRequest$Outbound` instead. */
|
|
840
|
-
export type Outbound = ListDatasetDatapointsRequest$Outbound;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
export function listDatasetDatapointsRequestToJSON(
|
|
844
|
-
listDatasetDatapointsRequest: ListDatasetDatapointsRequest,
|
|
845
|
-
): string {
|
|
846
|
-
return JSON.stringify(
|
|
847
|
-
ListDatasetDatapointsRequest$outboundSchema.parse(
|
|
848
|
-
listDatasetDatapointsRequest,
|
|
849
|
-
),
|
|
850
|
-
);
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
export function listDatasetDatapointsRequestFromJSON(
|
|
854
|
-
jsonString: string,
|
|
855
|
-
): SafeParseResult<ListDatasetDatapointsRequest, SDKValidationError> {
|
|
856
|
-
return safeParse(
|
|
857
|
-
jsonString,
|
|
858
|
-
(x) => ListDatasetDatapointsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
859
|
-
`Failed to parse 'ListDatasetDatapointsRequest' from JSON`,
|
|
860
|
-
);
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
/** @internal */
|
|
864
|
-
export const ListDatasetDatapointsObject$inboundSchema: z.ZodNativeEnum<
|
|
865
|
-
typeof ListDatasetDatapointsObject
|
|
866
|
-
> = z.nativeEnum(ListDatasetDatapointsObject);
|
|
867
|
-
|
|
868
|
-
/** @internal */
|
|
869
|
-
export const ListDatasetDatapointsObject$outboundSchema: z.ZodNativeEnum<
|
|
870
|
-
typeof ListDatasetDatapointsObject
|
|
871
|
-
> = ListDatasetDatapointsObject$inboundSchema;
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* @internal
|
|
875
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
876
|
-
*/
|
|
877
|
-
export namespace ListDatasetDatapointsObject$ {
|
|
878
|
-
/** @deprecated use `ListDatasetDatapointsObject$inboundSchema` instead. */
|
|
879
|
-
export const inboundSchema = ListDatasetDatapointsObject$inboundSchema;
|
|
880
|
-
/** @deprecated use `ListDatasetDatapointsObject$outboundSchema` instead. */
|
|
881
|
-
export const outboundSchema = ListDatasetDatapointsObject$outboundSchema;
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
/** @internal */
|
|
885
|
-
export const ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole$inboundSchema:
|
|
886
|
-
z.ZodNativeEnum<
|
|
887
|
-
typeof ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole
|
|
888
|
-
> = z.nativeEnum(
|
|
889
|
-
ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole,
|
|
890
|
-
);
|
|
891
|
-
|
|
892
|
-
/** @internal */
|
|
893
|
-
export const ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole$outboundSchema:
|
|
894
|
-
z.ZodNativeEnum<
|
|
895
|
-
typeof ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole
|
|
896
|
-
> =
|
|
897
|
-
ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole$inboundSchema;
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* @internal
|
|
901
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
902
|
-
*/
|
|
903
|
-
export namespace ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole$ {
|
|
904
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole$inboundSchema` instead. */
|
|
905
|
-
export const inboundSchema =
|
|
906
|
-
ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole$inboundSchema;
|
|
907
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole$outboundSchema` instead. */
|
|
908
|
-
export const outboundSchema =
|
|
909
|
-
ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole$outboundSchema;
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
/** @internal */
|
|
913
|
-
export const ListDatasetDatapointsMessagesDatasetsResponseContent$inboundSchema:
|
|
914
|
-
z.ZodType<
|
|
915
|
-
ListDatasetDatapointsMessagesDatasetsResponseContent,
|
|
916
|
-
z.ZodTypeDef,
|
|
917
|
-
unknown
|
|
918
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
919
|
-
|
|
920
|
-
/** @internal */
|
|
921
|
-
export type ListDatasetDatapointsMessagesDatasetsResponseContent$Outbound =
|
|
922
|
-
| string
|
|
923
|
-
| Array<string>;
|
|
924
|
-
|
|
925
|
-
/** @internal */
|
|
926
|
-
export const ListDatasetDatapointsMessagesDatasetsResponseContent$outboundSchema:
|
|
927
|
-
z.ZodType<
|
|
928
|
-
ListDatasetDatapointsMessagesDatasetsResponseContent$Outbound,
|
|
929
|
-
z.ZodTypeDef,
|
|
930
|
-
ListDatasetDatapointsMessagesDatasetsResponseContent
|
|
931
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* @internal
|
|
935
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
936
|
-
*/
|
|
937
|
-
export namespace ListDatasetDatapointsMessagesDatasetsResponseContent$ {
|
|
938
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsResponseContent$inboundSchema` instead. */
|
|
939
|
-
export const inboundSchema =
|
|
940
|
-
ListDatasetDatapointsMessagesDatasetsResponseContent$inboundSchema;
|
|
941
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsResponseContent$outboundSchema` instead. */
|
|
942
|
-
export const outboundSchema =
|
|
943
|
-
ListDatasetDatapointsMessagesDatasetsResponseContent$outboundSchema;
|
|
944
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsResponseContent$Outbound` instead. */
|
|
945
|
-
export type Outbound =
|
|
946
|
-
ListDatasetDatapointsMessagesDatasetsResponseContent$Outbound;
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
export function listDatasetDatapointsMessagesDatasetsResponseContentToJSON(
|
|
950
|
-
listDatasetDatapointsMessagesDatasetsResponseContent:
|
|
951
|
-
ListDatasetDatapointsMessagesDatasetsResponseContent,
|
|
952
|
-
): string {
|
|
953
|
-
return JSON.stringify(
|
|
954
|
-
ListDatasetDatapointsMessagesDatasetsResponseContent$outboundSchema.parse(
|
|
955
|
-
listDatasetDatapointsMessagesDatasetsResponseContent,
|
|
956
|
-
),
|
|
957
|
-
);
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
export function listDatasetDatapointsMessagesDatasetsResponseContentFromJSON(
|
|
961
|
-
jsonString: string,
|
|
962
|
-
): SafeParseResult<
|
|
963
|
-
ListDatasetDatapointsMessagesDatasetsResponseContent,
|
|
964
|
-
SDKValidationError
|
|
965
|
-
> {
|
|
966
|
-
return safeParse(
|
|
967
|
-
jsonString,
|
|
968
|
-
(x) =>
|
|
969
|
-
ListDatasetDatapointsMessagesDatasetsResponseContent$inboundSchema.parse(
|
|
970
|
-
JSON.parse(x),
|
|
971
|
-
),
|
|
972
|
-
`Failed to parse 'ListDatasetDatapointsMessagesDatasetsResponseContent' from JSON`,
|
|
973
|
-
);
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
/** @internal */
|
|
977
|
-
export const ListDatasetDatapointsMessagesToolMessage$inboundSchema: z.ZodType<
|
|
978
|
-
ListDatasetDatapointsMessagesToolMessage,
|
|
979
|
-
z.ZodTypeDef,
|
|
980
|
-
unknown
|
|
981
|
-
> = z.object({
|
|
982
|
-
role:
|
|
983
|
-
ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole$inboundSchema,
|
|
984
|
-
content: z.union([z.string(), z.array(z.string())]),
|
|
985
|
-
tool_call_id: z.string(),
|
|
986
|
-
}).transform((v) => {
|
|
987
|
-
return remap$(v, {
|
|
988
|
-
"tool_call_id": "toolCallId",
|
|
989
|
-
});
|
|
990
|
-
});
|
|
991
|
-
|
|
992
|
-
/** @internal */
|
|
993
|
-
export type ListDatasetDatapointsMessagesToolMessage$Outbound = {
|
|
994
|
-
role: string;
|
|
995
|
-
content: string | Array<string>;
|
|
996
|
-
tool_call_id: string;
|
|
997
|
-
};
|
|
998
|
-
|
|
999
|
-
/** @internal */
|
|
1000
|
-
export const ListDatasetDatapointsMessagesToolMessage$outboundSchema: z.ZodType<
|
|
1001
|
-
ListDatasetDatapointsMessagesToolMessage$Outbound,
|
|
1002
|
-
z.ZodTypeDef,
|
|
1003
|
-
ListDatasetDatapointsMessagesToolMessage
|
|
1004
|
-
> = z.object({
|
|
1005
|
-
role:
|
|
1006
|
-
ListDatasetDatapointsMessagesDatasetsResponse200ApplicationJSONRole$outboundSchema,
|
|
1007
|
-
content: z.union([z.string(), z.array(z.string())]),
|
|
1008
|
-
toolCallId: z.string(),
|
|
1009
|
-
}).transform((v) => {
|
|
1010
|
-
return remap$(v, {
|
|
1011
|
-
toolCallId: "tool_call_id",
|
|
1012
|
-
});
|
|
1013
|
-
});
|
|
1014
|
-
|
|
1015
|
-
/**
|
|
1016
|
-
* @internal
|
|
1017
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1018
|
-
*/
|
|
1019
|
-
export namespace ListDatasetDatapointsMessagesToolMessage$ {
|
|
1020
|
-
/** @deprecated use `ListDatasetDatapointsMessagesToolMessage$inboundSchema` instead. */
|
|
1021
|
-
export const inboundSchema =
|
|
1022
|
-
ListDatasetDatapointsMessagesToolMessage$inboundSchema;
|
|
1023
|
-
/** @deprecated use `ListDatasetDatapointsMessagesToolMessage$outboundSchema` instead. */
|
|
1024
|
-
export const outboundSchema =
|
|
1025
|
-
ListDatasetDatapointsMessagesToolMessage$outboundSchema;
|
|
1026
|
-
/** @deprecated use `ListDatasetDatapointsMessagesToolMessage$Outbound` instead. */
|
|
1027
|
-
export type Outbound = ListDatasetDatapointsMessagesToolMessage$Outbound;
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
|
-
export function listDatasetDatapointsMessagesToolMessageToJSON(
|
|
1031
|
-
listDatasetDatapointsMessagesToolMessage:
|
|
1032
|
-
ListDatasetDatapointsMessagesToolMessage,
|
|
1033
|
-
): string {
|
|
1034
|
-
return JSON.stringify(
|
|
1035
|
-
ListDatasetDatapointsMessagesToolMessage$outboundSchema.parse(
|
|
1036
|
-
listDatasetDatapointsMessagesToolMessage,
|
|
1037
|
-
),
|
|
1038
|
-
);
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
export function listDatasetDatapointsMessagesToolMessageFromJSON(
|
|
1042
|
-
jsonString: string,
|
|
1043
|
-
): SafeParseResult<
|
|
1044
|
-
ListDatasetDatapointsMessagesToolMessage,
|
|
1045
|
-
SDKValidationError
|
|
1046
|
-
> {
|
|
1047
|
-
return safeParse(
|
|
1048
|
-
jsonString,
|
|
1049
|
-
(x) =>
|
|
1050
|
-
ListDatasetDatapointsMessagesToolMessage$inboundSchema.parse(
|
|
1051
|
-
JSON.parse(x),
|
|
1052
|
-
),
|
|
1053
|
-
`Failed to parse 'ListDatasetDatapointsMessagesToolMessage' from JSON`,
|
|
1054
|
-
);
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
/** @internal */
|
|
1058
|
-
export const ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
1059
|
-
z.ZodNativeEnum<
|
|
1060
|
-
typeof ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType
|
|
1061
|
-
> = z.nativeEnum(
|
|
1062
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType,
|
|
1063
|
-
);
|
|
1064
|
-
|
|
1065
|
-
/** @internal */
|
|
1066
|
-
export const ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
1067
|
-
z.ZodNativeEnum<
|
|
1068
|
-
typeof ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType
|
|
1069
|
-
> =
|
|
1070
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1071
|
-
|
|
1072
|
-
/**
|
|
1073
|
-
* @internal
|
|
1074
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1075
|
-
*/
|
|
1076
|
-
export namespace ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType$ {
|
|
1077
|
-
/** @deprecated use `ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
1078
|
-
export const inboundSchema =
|
|
1079
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1080
|
-
/** @deprecated use `ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
1081
|
-
export const outboundSchema =
|
|
1082
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
/** @internal */
|
|
1086
|
-
export const ListDatasetDatapoints2RefusalContentPart$inboundSchema: z.ZodType<
|
|
1087
|
-
ListDatasetDatapoints2RefusalContentPart,
|
|
1088
|
-
z.ZodTypeDef,
|
|
1089
|
-
unknown
|
|
1090
|
-
> = z.object({
|
|
1091
|
-
type:
|
|
1092
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
1093
|
-
refusal: z.string(),
|
|
1094
|
-
});
|
|
1095
|
-
|
|
1096
|
-
/** @internal */
|
|
1097
|
-
export type ListDatasetDatapoints2RefusalContentPart$Outbound = {
|
|
1098
|
-
type: string;
|
|
1099
|
-
refusal: string;
|
|
1100
|
-
};
|
|
1101
|
-
|
|
1102
|
-
/** @internal */
|
|
1103
|
-
export const ListDatasetDatapoints2RefusalContentPart$outboundSchema: z.ZodType<
|
|
1104
|
-
ListDatasetDatapoints2RefusalContentPart$Outbound,
|
|
1105
|
-
z.ZodTypeDef,
|
|
1106
|
-
ListDatasetDatapoints2RefusalContentPart
|
|
1107
|
-
> = z.object({
|
|
1108
|
-
type:
|
|
1109
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
1110
|
-
refusal: z.string(),
|
|
1111
|
-
});
|
|
1112
|
-
|
|
1113
|
-
/**
|
|
1114
|
-
* @internal
|
|
1115
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1116
|
-
*/
|
|
1117
|
-
export namespace ListDatasetDatapoints2RefusalContentPart$ {
|
|
1118
|
-
/** @deprecated use `ListDatasetDatapoints2RefusalContentPart$inboundSchema` instead. */
|
|
1119
|
-
export const inboundSchema =
|
|
1120
|
-
ListDatasetDatapoints2RefusalContentPart$inboundSchema;
|
|
1121
|
-
/** @deprecated use `ListDatasetDatapoints2RefusalContentPart$outboundSchema` instead. */
|
|
1122
|
-
export const outboundSchema =
|
|
1123
|
-
ListDatasetDatapoints2RefusalContentPart$outboundSchema;
|
|
1124
|
-
/** @deprecated use `ListDatasetDatapoints2RefusalContentPart$Outbound` instead. */
|
|
1125
|
-
export type Outbound = ListDatasetDatapoints2RefusalContentPart$Outbound;
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
export function listDatasetDatapoints2RefusalContentPartToJSON(
|
|
1129
|
-
listDatasetDatapoints2RefusalContentPart:
|
|
1130
|
-
ListDatasetDatapoints2RefusalContentPart,
|
|
1131
|
-
): string {
|
|
1132
|
-
return JSON.stringify(
|
|
1133
|
-
ListDatasetDatapoints2RefusalContentPart$outboundSchema.parse(
|
|
1134
|
-
listDatasetDatapoints2RefusalContentPart,
|
|
1135
|
-
),
|
|
1136
|
-
);
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
export function listDatasetDatapoints2RefusalContentPartFromJSON(
|
|
1140
|
-
jsonString: string,
|
|
1141
|
-
): SafeParseResult<
|
|
1142
|
-
ListDatasetDatapoints2RefusalContentPart,
|
|
1143
|
-
SDKValidationError
|
|
1144
|
-
> {
|
|
1145
|
-
return safeParse(
|
|
1146
|
-
jsonString,
|
|
1147
|
-
(x) =>
|
|
1148
|
-
ListDatasetDatapoints2RefusalContentPart$inboundSchema.parse(
|
|
1149
|
-
JSON.parse(x),
|
|
1150
|
-
),
|
|
1151
|
-
`Failed to parse 'ListDatasetDatapoints2RefusalContentPart' from JSON`,
|
|
1152
|
-
);
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
/** @internal */
|
|
1156
|
-
export const ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema:
|
|
1157
|
-
z.ZodNativeEnum<
|
|
1158
|
-
typeof ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType
|
|
1159
|
-
> = z.nativeEnum(
|
|
1160
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType,
|
|
1161
|
-
);
|
|
1162
|
-
|
|
1163
|
-
/** @internal */
|
|
1164
|
-
export const ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType$outboundSchema:
|
|
1165
|
-
z.ZodNativeEnum<
|
|
1166
|
-
typeof ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType
|
|
1167
|
-
> =
|
|
1168
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema;
|
|
1169
|
-
|
|
1170
|
-
/**
|
|
1171
|
-
* @internal
|
|
1172
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1173
|
-
*/
|
|
1174
|
-
export namespace ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType$ {
|
|
1175
|
-
/** @deprecated use `ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
1176
|
-
export const inboundSchema =
|
|
1177
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema;
|
|
1178
|
-
/** @deprecated use `ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
1179
|
-
export const outboundSchema =
|
|
1180
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType$outboundSchema;
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
/** @internal */
|
|
1184
|
-
export const ListDatasetDatapointsAnnotationsDatasetsType$inboundSchema:
|
|
1185
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsAnnotationsDatasetsType> = z
|
|
1186
|
-
.nativeEnum(ListDatasetDatapointsAnnotationsDatasetsType);
|
|
1187
|
-
|
|
1188
|
-
/** @internal */
|
|
1189
|
-
export const ListDatasetDatapointsAnnotationsDatasetsType$outboundSchema:
|
|
1190
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsAnnotationsDatasetsType> =
|
|
1191
|
-
ListDatasetDatapointsAnnotationsDatasetsType$inboundSchema;
|
|
1192
|
-
|
|
1193
|
-
/**
|
|
1194
|
-
* @internal
|
|
1195
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1196
|
-
*/
|
|
1197
|
-
export namespace ListDatasetDatapointsAnnotationsDatasetsType$ {
|
|
1198
|
-
/** @deprecated use `ListDatasetDatapointsAnnotationsDatasetsType$inboundSchema` instead. */
|
|
1199
|
-
export const inboundSchema =
|
|
1200
|
-
ListDatasetDatapointsAnnotationsDatasetsType$inboundSchema;
|
|
1201
|
-
/** @deprecated use `ListDatasetDatapointsAnnotationsDatasetsType$outboundSchema` instead. */
|
|
1202
|
-
export const outboundSchema =
|
|
1203
|
-
ListDatasetDatapointsAnnotationsDatasetsType$outboundSchema;
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
/** @internal */
|
|
1207
|
-
export const ListDatasetDatapointsAnnotationsFilePath$inboundSchema: z.ZodType<
|
|
1208
|
-
ListDatasetDatapointsAnnotationsFilePath,
|
|
1209
|
-
z.ZodTypeDef,
|
|
1210
|
-
unknown
|
|
1211
|
-
> = z.object({
|
|
1212
|
-
file_id: z.string(),
|
|
1213
|
-
}).transform((v) => {
|
|
1214
|
-
return remap$(v, {
|
|
1215
|
-
"file_id": "fileId",
|
|
1216
|
-
});
|
|
1217
|
-
});
|
|
1218
|
-
|
|
1219
|
-
/** @internal */
|
|
1220
|
-
export type ListDatasetDatapointsAnnotationsFilePath$Outbound = {
|
|
1221
|
-
file_id: string;
|
|
1222
|
-
};
|
|
1223
|
-
|
|
1224
|
-
/** @internal */
|
|
1225
|
-
export const ListDatasetDatapointsAnnotationsFilePath$outboundSchema: z.ZodType<
|
|
1226
|
-
ListDatasetDatapointsAnnotationsFilePath$Outbound,
|
|
1227
|
-
z.ZodTypeDef,
|
|
1228
|
-
ListDatasetDatapointsAnnotationsFilePath
|
|
1229
|
-
> = z.object({
|
|
1230
|
-
fileId: z.string(),
|
|
1231
|
-
}).transform((v) => {
|
|
1232
|
-
return remap$(v, {
|
|
1233
|
-
fileId: "file_id",
|
|
1234
|
-
});
|
|
1235
|
-
});
|
|
1236
|
-
|
|
1237
|
-
/**
|
|
1238
|
-
* @internal
|
|
1239
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1240
|
-
*/
|
|
1241
|
-
export namespace ListDatasetDatapointsAnnotationsFilePath$ {
|
|
1242
|
-
/** @deprecated use `ListDatasetDatapointsAnnotationsFilePath$inboundSchema` instead. */
|
|
1243
|
-
export const inboundSchema =
|
|
1244
|
-
ListDatasetDatapointsAnnotationsFilePath$inboundSchema;
|
|
1245
|
-
/** @deprecated use `ListDatasetDatapointsAnnotationsFilePath$outboundSchema` instead. */
|
|
1246
|
-
export const outboundSchema =
|
|
1247
|
-
ListDatasetDatapointsAnnotationsFilePath$outboundSchema;
|
|
1248
|
-
/** @deprecated use `ListDatasetDatapointsAnnotationsFilePath$Outbound` instead. */
|
|
1249
|
-
export type Outbound = ListDatasetDatapointsAnnotationsFilePath$Outbound;
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
export function listDatasetDatapointsAnnotationsFilePathToJSON(
|
|
1253
|
-
listDatasetDatapointsAnnotationsFilePath:
|
|
1254
|
-
ListDatasetDatapointsAnnotationsFilePath,
|
|
1255
|
-
): string {
|
|
1256
|
-
return JSON.stringify(
|
|
1257
|
-
ListDatasetDatapointsAnnotationsFilePath$outboundSchema.parse(
|
|
1258
|
-
listDatasetDatapointsAnnotationsFilePath,
|
|
1259
|
-
),
|
|
1260
|
-
);
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
export function listDatasetDatapointsAnnotationsFilePathFromJSON(
|
|
1264
|
-
jsonString: string,
|
|
1265
|
-
): SafeParseResult<
|
|
1266
|
-
ListDatasetDatapointsAnnotationsFilePath,
|
|
1267
|
-
SDKValidationError
|
|
1268
|
-
> {
|
|
1269
|
-
return safeParse(
|
|
1270
|
-
jsonString,
|
|
1271
|
-
(x) =>
|
|
1272
|
-
ListDatasetDatapointsAnnotationsFilePath$inboundSchema.parse(
|
|
1273
|
-
JSON.parse(x),
|
|
1274
|
-
),
|
|
1275
|
-
`Failed to parse 'ListDatasetDatapointsAnnotationsFilePath' from JSON`,
|
|
1276
|
-
);
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
|
-
/** @internal */
|
|
1280
|
-
export const ListDatasetDatapointsAnnotations2$inboundSchema: z.ZodType<
|
|
1281
|
-
ListDatasetDatapointsAnnotations2,
|
|
1282
|
-
z.ZodTypeDef,
|
|
1283
|
-
unknown
|
|
1284
|
-
> = z.object({
|
|
1285
|
-
type: ListDatasetDatapointsAnnotationsDatasetsType$inboundSchema,
|
|
1286
|
-
text: z.string(),
|
|
1287
|
-
file_path: z.lazy(() =>
|
|
1288
|
-
ListDatasetDatapointsAnnotationsFilePath$inboundSchema
|
|
1289
|
-
),
|
|
1290
|
-
start_index: z.number().int(),
|
|
1291
|
-
end_index: z.number().int(),
|
|
1292
|
-
}).transform((v) => {
|
|
1293
|
-
return remap$(v, {
|
|
1294
|
-
"file_path": "filePath",
|
|
1295
|
-
"start_index": "startIndex",
|
|
1296
|
-
"end_index": "endIndex",
|
|
1297
|
-
});
|
|
1298
|
-
});
|
|
1299
|
-
|
|
1300
|
-
/** @internal */
|
|
1301
|
-
export type ListDatasetDatapointsAnnotations2$Outbound = {
|
|
1302
|
-
type: string;
|
|
1303
|
-
text: string;
|
|
1304
|
-
file_path: ListDatasetDatapointsAnnotationsFilePath$Outbound;
|
|
1305
|
-
start_index: number;
|
|
1306
|
-
end_index: number;
|
|
1307
|
-
};
|
|
1308
|
-
|
|
1309
|
-
/** @internal */
|
|
1310
|
-
export const ListDatasetDatapointsAnnotations2$outboundSchema: z.ZodType<
|
|
1311
|
-
ListDatasetDatapointsAnnotations2$Outbound,
|
|
1312
|
-
z.ZodTypeDef,
|
|
1313
|
-
ListDatasetDatapointsAnnotations2
|
|
1314
|
-
> = z.object({
|
|
1315
|
-
type: ListDatasetDatapointsAnnotationsDatasetsType$outboundSchema,
|
|
1316
|
-
text: z.string(),
|
|
1317
|
-
filePath: z.lazy(() =>
|
|
1318
|
-
ListDatasetDatapointsAnnotationsFilePath$outboundSchema
|
|
1319
|
-
),
|
|
1320
|
-
startIndex: z.number().int(),
|
|
1321
|
-
endIndex: z.number().int(),
|
|
1322
|
-
}).transform((v) => {
|
|
1323
|
-
return remap$(v, {
|
|
1324
|
-
filePath: "file_path",
|
|
1325
|
-
startIndex: "start_index",
|
|
1326
|
-
endIndex: "end_index",
|
|
1327
|
-
});
|
|
1328
|
-
});
|
|
1329
|
-
|
|
1330
|
-
/**
|
|
1331
|
-
* @internal
|
|
1332
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1333
|
-
*/
|
|
1334
|
-
export namespace ListDatasetDatapointsAnnotations2$ {
|
|
1335
|
-
/** @deprecated use `ListDatasetDatapointsAnnotations2$inboundSchema` instead. */
|
|
1336
|
-
export const inboundSchema = ListDatasetDatapointsAnnotations2$inboundSchema;
|
|
1337
|
-
/** @deprecated use `ListDatasetDatapointsAnnotations2$outboundSchema` instead. */
|
|
1338
|
-
export const outboundSchema =
|
|
1339
|
-
ListDatasetDatapointsAnnotations2$outboundSchema;
|
|
1340
|
-
/** @deprecated use `ListDatasetDatapointsAnnotations2$Outbound` instead. */
|
|
1341
|
-
export type Outbound = ListDatasetDatapointsAnnotations2$Outbound;
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
export function listDatasetDatapointsAnnotations2ToJSON(
|
|
1345
|
-
listDatasetDatapointsAnnotations2: ListDatasetDatapointsAnnotations2,
|
|
1346
|
-
): string {
|
|
1347
|
-
return JSON.stringify(
|
|
1348
|
-
ListDatasetDatapointsAnnotations2$outboundSchema.parse(
|
|
1349
|
-
listDatasetDatapointsAnnotations2,
|
|
1350
|
-
),
|
|
1351
|
-
);
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
export function listDatasetDatapointsAnnotations2FromJSON(
|
|
1355
|
-
jsonString: string,
|
|
1356
|
-
): SafeParseResult<ListDatasetDatapointsAnnotations2, SDKValidationError> {
|
|
1357
|
-
return safeParse(
|
|
1358
|
-
jsonString,
|
|
1359
|
-
(x) => ListDatasetDatapointsAnnotations2$inboundSchema.parse(JSON.parse(x)),
|
|
1360
|
-
`Failed to parse 'ListDatasetDatapointsAnnotations2' from JSON`,
|
|
1361
|
-
);
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
/** @internal */
|
|
1365
|
-
export const ListDatasetDatapointsAnnotationsType$inboundSchema:
|
|
1366
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsAnnotationsType> = z.nativeEnum(
|
|
1367
|
-
ListDatasetDatapointsAnnotationsType,
|
|
1368
|
-
);
|
|
1369
|
-
|
|
1370
|
-
/** @internal */
|
|
1371
|
-
export const ListDatasetDatapointsAnnotationsType$outboundSchema:
|
|
1372
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsAnnotationsType> =
|
|
1373
|
-
ListDatasetDatapointsAnnotationsType$inboundSchema;
|
|
1374
|
-
|
|
1375
|
-
/**
|
|
1376
|
-
* @internal
|
|
1377
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1378
|
-
*/
|
|
1379
|
-
export namespace ListDatasetDatapointsAnnotationsType$ {
|
|
1380
|
-
/** @deprecated use `ListDatasetDatapointsAnnotationsType$inboundSchema` instead. */
|
|
1381
|
-
export const inboundSchema =
|
|
1382
|
-
ListDatasetDatapointsAnnotationsType$inboundSchema;
|
|
1383
|
-
/** @deprecated use `ListDatasetDatapointsAnnotationsType$outboundSchema` instead. */
|
|
1384
|
-
export const outboundSchema =
|
|
1385
|
-
ListDatasetDatapointsAnnotationsType$outboundSchema;
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
/** @internal */
|
|
1389
|
-
export const ListDatasetDatapointsAnnotationsFileCitation$inboundSchema:
|
|
1390
|
-
z.ZodType<
|
|
1391
|
-
ListDatasetDatapointsAnnotationsFileCitation,
|
|
1392
|
-
z.ZodTypeDef,
|
|
1393
|
-
unknown
|
|
1394
|
-
> = z.object({
|
|
1395
|
-
file_id: z.string(),
|
|
1396
|
-
quote: z.string().optional(),
|
|
1397
|
-
}).transform((v) => {
|
|
1398
|
-
return remap$(v, {
|
|
1399
|
-
"file_id": "fileId",
|
|
1400
|
-
});
|
|
1401
|
-
});
|
|
1402
|
-
|
|
1403
|
-
/** @internal */
|
|
1404
|
-
export type ListDatasetDatapointsAnnotationsFileCitation$Outbound = {
|
|
1405
|
-
file_id: string;
|
|
1406
|
-
quote?: string | undefined;
|
|
1407
|
-
};
|
|
1408
|
-
|
|
1409
|
-
/** @internal */
|
|
1410
|
-
export const ListDatasetDatapointsAnnotationsFileCitation$outboundSchema:
|
|
1411
|
-
z.ZodType<
|
|
1412
|
-
ListDatasetDatapointsAnnotationsFileCitation$Outbound,
|
|
1413
|
-
z.ZodTypeDef,
|
|
1414
|
-
ListDatasetDatapointsAnnotationsFileCitation
|
|
1415
|
-
> = z.object({
|
|
1416
|
-
fileId: z.string(),
|
|
1417
|
-
quote: z.string().optional(),
|
|
1418
|
-
}).transform((v) => {
|
|
1419
|
-
return remap$(v, {
|
|
1420
|
-
fileId: "file_id",
|
|
1421
|
-
});
|
|
1422
|
-
});
|
|
1423
|
-
|
|
1424
|
-
/**
|
|
1425
|
-
* @internal
|
|
1426
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1427
|
-
*/
|
|
1428
|
-
export namespace ListDatasetDatapointsAnnotationsFileCitation$ {
|
|
1429
|
-
/** @deprecated use `ListDatasetDatapointsAnnotationsFileCitation$inboundSchema` instead. */
|
|
1430
|
-
export const inboundSchema =
|
|
1431
|
-
ListDatasetDatapointsAnnotationsFileCitation$inboundSchema;
|
|
1432
|
-
/** @deprecated use `ListDatasetDatapointsAnnotationsFileCitation$outboundSchema` instead. */
|
|
1433
|
-
export const outboundSchema =
|
|
1434
|
-
ListDatasetDatapointsAnnotationsFileCitation$outboundSchema;
|
|
1435
|
-
/** @deprecated use `ListDatasetDatapointsAnnotationsFileCitation$Outbound` instead. */
|
|
1436
|
-
export type Outbound = ListDatasetDatapointsAnnotationsFileCitation$Outbound;
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
|
-
export function listDatasetDatapointsAnnotationsFileCitationToJSON(
|
|
1440
|
-
listDatasetDatapointsAnnotationsFileCitation:
|
|
1441
|
-
ListDatasetDatapointsAnnotationsFileCitation,
|
|
1442
|
-
): string {
|
|
1443
|
-
return JSON.stringify(
|
|
1444
|
-
ListDatasetDatapointsAnnotationsFileCitation$outboundSchema.parse(
|
|
1445
|
-
listDatasetDatapointsAnnotationsFileCitation,
|
|
1446
|
-
),
|
|
1447
|
-
);
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
export function listDatasetDatapointsAnnotationsFileCitationFromJSON(
|
|
1451
|
-
jsonString: string,
|
|
1452
|
-
): SafeParseResult<
|
|
1453
|
-
ListDatasetDatapointsAnnotationsFileCitation,
|
|
1454
|
-
SDKValidationError
|
|
1455
|
-
> {
|
|
1456
|
-
return safeParse(
|
|
1457
|
-
jsonString,
|
|
1458
|
-
(x) =>
|
|
1459
|
-
ListDatasetDatapointsAnnotationsFileCitation$inboundSchema.parse(
|
|
1460
|
-
JSON.parse(x),
|
|
1461
|
-
),
|
|
1462
|
-
`Failed to parse 'ListDatasetDatapointsAnnotationsFileCitation' from JSON`,
|
|
1463
|
-
);
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1466
|
-
/** @internal */
|
|
1467
|
-
export const ListDatasetDatapointsAnnotations1$inboundSchema: z.ZodType<
|
|
1468
|
-
ListDatasetDatapointsAnnotations1,
|
|
1469
|
-
z.ZodTypeDef,
|
|
1470
|
-
unknown
|
|
1471
|
-
> = z.object({
|
|
1472
|
-
type: ListDatasetDatapointsAnnotationsType$inboundSchema,
|
|
1473
|
-
text: z.string(),
|
|
1474
|
-
file_citation: z.lazy(() =>
|
|
1475
|
-
ListDatasetDatapointsAnnotationsFileCitation$inboundSchema
|
|
1476
|
-
),
|
|
1477
|
-
start_index: z.number().int(),
|
|
1478
|
-
end_index: z.number().int(),
|
|
1479
|
-
}).transform((v) => {
|
|
1480
|
-
return remap$(v, {
|
|
1481
|
-
"file_citation": "fileCitation",
|
|
1482
|
-
"start_index": "startIndex",
|
|
1483
|
-
"end_index": "endIndex",
|
|
1484
|
-
});
|
|
1485
|
-
});
|
|
1486
|
-
|
|
1487
|
-
/** @internal */
|
|
1488
|
-
export type ListDatasetDatapointsAnnotations1$Outbound = {
|
|
1489
|
-
type: string;
|
|
1490
|
-
text: string;
|
|
1491
|
-
file_citation: ListDatasetDatapointsAnnotationsFileCitation$Outbound;
|
|
1492
|
-
start_index: number;
|
|
1493
|
-
end_index: number;
|
|
1494
|
-
};
|
|
1495
|
-
|
|
1496
|
-
/** @internal */
|
|
1497
|
-
export const ListDatasetDatapointsAnnotations1$outboundSchema: z.ZodType<
|
|
1498
|
-
ListDatasetDatapointsAnnotations1$Outbound,
|
|
1499
|
-
z.ZodTypeDef,
|
|
1500
|
-
ListDatasetDatapointsAnnotations1
|
|
1501
|
-
> = z.object({
|
|
1502
|
-
type: ListDatasetDatapointsAnnotationsType$outboundSchema,
|
|
1503
|
-
text: z.string(),
|
|
1504
|
-
fileCitation: z.lazy(() =>
|
|
1505
|
-
ListDatasetDatapointsAnnotationsFileCitation$outboundSchema
|
|
1506
|
-
),
|
|
1507
|
-
startIndex: z.number().int(),
|
|
1508
|
-
endIndex: z.number().int(),
|
|
1509
|
-
}).transform((v) => {
|
|
1510
|
-
return remap$(v, {
|
|
1511
|
-
fileCitation: "file_citation",
|
|
1512
|
-
startIndex: "start_index",
|
|
1513
|
-
endIndex: "end_index",
|
|
1514
|
-
});
|
|
1515
|
-
});
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* @internal
|
|
1519
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1520
|
-
*/
|
|
1521
|
-
export namespace ListDatasetDatapointsAnnotations1$ {
|
|
1522
|
-
/** @deprecated use `ListDatasetDatapointsAnnotations1$inboundSchema` instead. */
|
|
1523
|
-
export const inboundSchema = ListDatasetDatapointsAnnotations1$inboundSchema;
|
|
1524
|
-
/** @deprecated use `ListDatasetDatapointsAnnotations1$outboundSchema` instead. */
|
|
1525
|
-
export const outboundSchema =
|
|
1526
|
-
ListDatasetDatapointsAnnotations1$outboundSchema;
|
|
1527
|
-
/** @deprecated use `ListDatasetDatapointsAnnotations1$Outbound` instead. */
|
|
1528
|
-
export type Outbound = ListDatasetDatapointsAnnotations1$Outbound;
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
export function listDatasetDatapointsAnnotations1ToJSON(
|
|
1532
|
-
listDatasetDatapointsAnnotations1: ListDatasetDatapointsAnnotations1,
|
|
1533
|
-
): string {
|
|
1534
|
-
return JSON.stringify(
|
|
1535
|
-
ListDatasetDatapointsAnnotations1$outboundSchema.parse(
|
|
1536
|
-
listDatasetDatapointsAnnotations1,
|
|
1537
|
-
),
|
|
1538
|
-
);
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
export function listDatasetDatapointsAnnotations1FromJSON(
|
|
1542
|
-
jsonString: string,
|
|
1543
|
-
): SafeParseResult<ListDatasetDatapointsAnnotations1, SDKValidationError> {
|
|
1544
|
-
return safeParse(
|
|
1545
|
-
jsonString,
|
|
1546
|
-
(x) => ListDatasetDatapointsAnnotations1$inboundSchema.parse(JSON.parse(x)),
|
|
1547
|
-
`Failed to parse 'ListDatasetDatapointsAnnotations1' from JSON`,
|
|
1548
|
-
);
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
/** @internal */
|
|
1552
|
-
export const ListDatasetDatapoints2Annotations$inboundSchema: z.ZodType<
|
|
1553
|
-
ListDatasetDatapoints2Annotations,
|
|
1554
|
-
z.ZodTypeDef,
|
|
1555
|
-
unknown
|
|
1556
|
-
> = z.union([
|
|
1557
|
-
z.lazy(() => ListDatasetDatapointsAnnotations1$inboundSchema),
|
|
1558
|
-
z.lazy(() => ListDatasetDatapointsAnnotations2$inboundSchema),
|
|
1559
|
-
]);
|
|
1560
|
-
|
|
1561
|
-
/** @internal */
|
|
1562
|
-
export type ListDatasetDatapoints2Annotations$Outbound =
|
|
1563
|
-
| ListDatasetDatapointsAnnotations1$Outbound
|
|
1564
|
-
| ListDatasetDatapointsAnnotations2$Outbound;
|
|
1565
|
-
|
|
1566
|
-
/** @internal */
|
|
1567
|
-
export const ListDatasetDatapoints2Annotations$outboundSchema: z.ZodType<
|
|
1568
|
-
ListDatasetDatapoints2Annotations$Outbound,
|
|
1569
|
-
z.ZodTypeDef,
|
|
1570
|
-
ListDatasetDatapoints2Annotations
|
|
1571
|
-
> = z.union([
|
|
1572
|
-
z.lazy(() => ListDatasetDatapointsAnnotations1$outboundSchema),
|
|
1573
|
-
z.lazy(() => ListDatasetDatapointsAnnotations2$outboundSchema),
|
|
1574
|
-
]);
|
|
1575
|
-
|
|
1576
|
-
/**
|
|
1577
|
-
* @internal
|
|
1578
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1579
|
-
*/
|
|
1580
|
-
export namespace ListDatasetDatapoints2Annotations$ {
|
|
1581
|
-
/** @deprecated use `ListDatasetDatapoints2Annotations$inboundSchema` instead. */
|
|
1582
|
-
export const inboundSchema = ListDatasetDatapoints2Annotations$inboundSchema;
|
|
1583
|
-
/** @deprecated use `ListDatasetDatapoints2Annotations$outboundSchema` instead. */
|
|
1584
|
-
export const outboundSchema =
|
|
1585
|
-
ListDatasetDatapoints2Annotations$outboundSchema;
|
|
1586
|
-
/** @deprecated use `ListDatasetDatapoints2Annotations$Outbound` instead. */
|
|
1587
|
-
export type Outbound = ListDatasetDatapoints2Annotations$Outbound;
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
|
-
export function listDatasetDatapoints2AnnotationsToJSON(
|
|
1591
|
-
listDatasetDatapoints2Annotations: ListDatasetDatapoints2Annotations,
|
|
1592
|
-
): string {
|
|
1593
|
-
return JSON.stringify(
|
|
1594
|
-
ListDatasetDatapoints2Annotations$outboundSchema.parse(
|
|
1595
|
-
listDatasetDatapoints2Annotations,
|
|
1596
|
-
),
|
|
1597
|
-
);
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
export function listDatasetDatapoints2AnnotationsFromJSON(
|
|
1601
|
-
jsonString: string,
|
|
1602
|
-
): SafeParseResult<ListDatasetDatapoints2Annotations, SDKValidationError> {
|
|
1603
|
-
return safeParse(
|
|
1604
|
-
jsonString,
|
|
1605
|
-
(x) => ListDatasetDatapoints2Annotations$inboundSchema.parse(JSON.parse(x)),
|
|
1606
|
-
`Failed to parse 'ListDatasetDatapoints2Annotations' from JSON`,
|
|
1607
|
-
);
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
/** @internal */
|
|
1611
|
-
export const ListDatasetDatapoints2TextContentPart$inboundSchema: z.ZodType<
|
|
1612
|
-
ListDatasetDatapoints2TextContentPart,
|
|
1613
|
-
z.ZodTypeDef,
|
|
1614
|
-
unknown
|
|
1615
|
-
> = z.object({
|
|
1616
|
-
type:
|
|
1617
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema,
|
|
1618
|
-
text: z.string(),
|
|
1619
|
-
annotations: z.array(
|
|
1620
|
-
z.union([
|
|
1621
|
-
z.lazy(() => ListDatasetDatapointsAnnotations1$inboundSchema),
|
|
1622
|
-
z.lazy(() => ListDatasetDatapointsAnnotations2$inboundSchema),
|
|
1623
|
-
]),
|
|
1624
|
-
).optional(),
|
|
1625
|
-
});
|
|
1626
|
-
|
|
1627
|
-
/** @internal */
|
|
1628
|
-
export type ListDatasetDatapoints2TextContentPart$Outbound = {
|
|
1629
|
-
type: string;
|
|
1630
|
-
text: string;
|
|
1631
|
-
annotations?:
|
|
1632
|
-
| Array<
|
|
1633
|
-
| ListDatasetDatapointsAnnotations1$Outbound
|
|
1634
|
-
| ListDatasetDatapointsAnnotations2$Outbound
|
|
1635
|
-
>
|
|
1636
|
-
| undefined;
|
|
1637
|
-
};
|
|
1638
|
-
|
|
1639
|
-
/** @internal */
|
|
1640
|
-
export const ListDatasetDatapoints2TextContentPart$outboundSchema: z.ZodType<
|
|
1641
|
-
ListDatasetDatapoints2TextContentPart$Outbound,
|
|
1642
|
-
z.ZodTypeDef,
|
|
1643
|
-
ListDatasetDatapoints2TextContentPart
|
|
1644
|
-
> = z.object({
|
|
1645
|
-
type:
|
|
1646
|
-
ListDatasetDatapoints2DatasetsResponse200ApplicationJSONType$outboundSchema,
|
|
1647
|
-
text: z.string(),
|
|
1648
|
-
annotations: z.array(
|
|
1649
|
-
z.union([
|
|
1650
|
-
z.lazy(() => ListDatasetDatapointsAnnotations1$outboundSchema),
|
|
1651
|
-
z.lazy(() => ListDatasetDatapointsAnnotations2$outboundSchema),
|
|
1652
|
-
]),
|
|
1653
|
-
).optional(),
|
|
1654
|
-
});
|
|
1655
|
-
|
|
1656
|
-
/**
|
|
1657
|
-
* @internal
|
|
1658
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1659
|
-
*/
|
|
1660
|
-
export namespace ListDatasetDatapoints2TextContentPart$ {
|
|
1661
|
-
/** @deprecated use `ListDatasetDatapoints2TextContentPart$inboundSchema` instead. */
|
|
1662
|
-
export const inboundSchema =
|
|
1663
|
-
ListDatasetDatapoints2TextContentPart$inboundSchema;
|
|
1664
|
-
/** @deprecated use `ListDatasetDatapoints2TextContentPart$outboundSchema` instead. */
|
|
1665
|
-
export const outboundSchema =
|
|
1666
|
-
ListDatasetDatapoints2TextContentPart$outboundSchema;
|
|
1667
|
-
/** @deprecated use `ListDatasetDatapoints2TextContentPart$Outbound` instead. */
|
|
1668
|
-
export type Outbound = ListDatasetDatapoints2TextContentPart$Outbound;
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1671
|
-
export function listDatasetDatapoints2TextContentPartToJSON(
|
|
1672
|
-
listDatasetDatapoints2TextContentPart: ListDatasetDatapoints2TextContentPart,
|
|
1673
|
-
): string {
|
|
1674
|
-
return JSON.stringify(
|
|
1675
|
-
ListDatasetDatapoints2TextContentPart$outboundSchema.parse(
|
|
1676
|
-
listDatasetDatapoints2TextContentPart,
|
|
1677
|
-
),
|
|
1678
|
-
);
|
|
1679
|
-
}
|
|
1680
|
-
|
|
1681
|
-
export function listDatasetDatapoints2TextContentPartFromJSON(
|
|
1682
|
-
jsonString: string,
|
|
1683
|
-
): SafeParseResult<ListDatasetDatapoints2TextContentPart, SDKValidationError> {
|
|
1684
|
-
return safeParse(
|
|
1685
|
-
jsonString,
|
|
1686
|
-
(x) =>
|
|
1687
|
-
ListDatasetDatapoints2TextContentPart$inboundSchema.parse(JSON.parse(x)),
|
|
1688
|
-
`Failed to parse 'ListDatasetDatapoints2TextContentPart' from JSON`,
|
|
1689
|
-
);
|
|
1690
|
-
}
|
|
1691
|
-
|
|
1692
|
-
/** @internal */
|
|
1693
|
-
export const ListDatasetDatapointsContentDatasets2$inboundSchema: z.ZodType<
|
|
1694
|
-
ListDatasetDatapointsContentDatasets2,
|
|
1695
|
-
z.ZodTypeDef,
|
|
1696
|
-
unknown
|
|
1697
|
-
> = z.union([
|
|
1698
|
-
z.lazy(() => ListDatasetDatapoints2TextContentPart$inboundSchema),
|
|
1699
|
-
z.lazy(() => ListDatasetDatapoints2RefusalContentPart$inboundSchema),
|
|
1700
|
-
]);
|
|
1701
|
-
|
|
1702
|
-
/** @internal */
|
|
1703
|
-
export type ListDatasetDatapointsContentDatasets2$Outbound =
|
|
1704
|
-
| ListDatasetDatapoints2TextContentPart$Outbound
|
|
1705
|
-
| ListDatasetDatapoints2RefusalContentPart$Outbound;
|
|
1706
|
-
|
|
1707
|
-
/** @internal */
|
|
1708
|
-
export const ListDatasetDatapointsContentDatasets2$outboundSchema: z.ZodType<
|
|
1709
|
-
ListDatasetDatapointsContentDatasets2$Outbound,
|
|
1710
|
-
z.ZodTypeDef,
|
|
1711
|
-
ListDatasetDatapointsContentDatasets2
|
|
1712
|
-
> = z.union([
|
|
1713
|
-
z.lazy(() => ListDatasetDatapoints2TextContentPart$outboundSchema),
|
|
1714
|
-
z.lazy(() => ListDatasetDatapoints2RefusalContentPart$outboundSchema),
|
|
1715
|
-
]);
|
|
1716
|
-
|
|
1717
|
-
/**
|
|
1718
|
-
* @internal
|
|
1719
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1720
|
-
*/
|
|
1721
|
-
export namespace ListDatasetDatapointsContentDatasets2$ {
|
|
1722
|
-
/** @deprecated use `ListDatasetDatapointsContentDatasets2$inboundSchema` instead. */
|
|
1723
|
-
export const inboundSchema =
|
|
1724
|
-
ListDatasetDatapointsContentDatasets2$inboundSchema;
|
|
1725
|
-
/** @deprecated use `ListDatasetDatapointsContentDatasets2$outboundSchema` instead. */
|
|
1726
|
-
export const outboundSchema =
|
|
1727
|
-
ListDatasetDatapointsContentDatasets2$outboundSchema;
|
|
1728
|
-
/** @deprecated use `ListDatasetDatapointsContentDatasets2$Outbound` instead. */
|
|
1729
|
-
export type Outbound = ListDatasetDatapointsContentDatasets2$Outbound;
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
|
-
export function listDatasetDatapointsContentDatasets2ToJSON(
|
|
1733
|
-
listDatasetDatapointsContentDatasets2: ListDatasetDatapointsContentDatasets2,
|
|
1734
|
-
): string {
|
|
1735
|
-
return JSON.stringify(
|
|
1736
|
-
ListDatasetDatapointsContentDatasets2$outboundSchema.parse(
|
|
1737
|
-
listDatasetDatapointsContentDatasets2,
|
|
1738
|
-
),
|
|
1739
|
-
);
|
|
1740
|
-
}
|
|
1741
|
-
|
|
1742
|
-
export function listDatasetDatapointsContentDatasets2FromJSON(
|
|
1743
|
-
jsonString: string,
|
|
1744
|
-
): SafeParseResult<ListDatasetDatapointsContentDatasets2, SDKValidationError> {
|
|
1745
|
-
return safeParse(
|
|
1746
|
-
jsonString,
|
|
1747
|
-
(x) =>
|
|
1748
|
-
ListDatasetDatapointsContentDatasets2$inboundSchema.parse(JSON.parse(x)),
|
|
1749
|
-
`Failed to parse 'ListDatasetDatapointsContentDatasets2' from JSON`,
|
|
1750
|
-
);
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
/** @internal */
|
|
1754
|
-
export const ListDatasetDatapointsMessagesDatasetsContent$inboundSchema:
|
|
1755
|
-
z.ZodType<
|
|
1756
|
-
ListDatasetDatapointsMessagesDatasetsContent,
|
|
1757
|
-
z.ZodTypeDef,
|
|
1758
|
-
unknown
|
|
1759
|
-
> = z.union([
|
|
1760
|
-
z.string(),
|
|
1761
|
-
z.array(z.union([
|
|
1762
|
-
z.lazy(() => ListDatasetDatapoints2TextContentPart$inboundSchema),
|
|
1763
|
-
z.lazy(() => ListDatasetDatapoints2RefusalContentPart$inboundSchema),
|
|
1764
|
-
])),
|
|
1765
|
-
]);
|
|
1766
|
-
|
|
1767
|
-
/** @internal */
|
|
1768
|
-
export type ListDatasetDatapointsMessagesDatasetsContent$Outbound =
|
|
1769
|
-
| string
|
|
1770
|
-
| Array<
|
|
1771
|
-
| ListDatasetDatapoints2TextContentPart$Outbound
|
|
1772
|
-
| ListDatasetDatapoints2RefusalContentPart$Outbound
|
|
1773
|
-
>;
|
|
1774
|
-
|
|
1775
|
-
/** @internal */
|
|
1776
|
-
export const ListDatasetDatapointsMessagesDatasetsContent$outboundSchema:
|
|
1777
|
-
z.ZodType<
|
|
1778
|
-
ListDatasetDatapointsMessagesDatasetsContent$Outbound,
|
|
1779
|
-
z.ZodTypeDef,
|
|
1780
|
-
ListDatasetDatapointsMessagesDatasetsContent
|
|
1781
|
-
> = z.union([
|
|
1782
|
-
z.string(),
|
|
1783
|
-
z.array(z.union([
|
|
1784
|
-
z.lazy(() => ListDatasetDatapoints2TextContentPart$outboundSchema),
|
|
1785
|
-
z.lazy(() => ListDatasetDatapoints2RefusalContentPart$outboundSchema),
|
|
1786
|
-
])),
|
|
1787
|
-
]);
|
|
1788
|
-
|
|
1789
|
-
/**
|
|
1790
|
-
* @internal
|
|
1791
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1792
|
-
*/
|
|
1793
|
-
export namespace ListDatasetDatapointsMessagesDatasetsContent$ {
|
|
1794
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsContent$inboundSchema` instead. */
|
|
1795
|
-
export const inboundSchema =
|
|
1796
|
-
ListDatasetDatapointsMessagesDatasetsContent$inboundSchema;
|
|
1797
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsContent$outboundSchema` instead. */
|
|
1798
|
-
export const outboundSchema =
|
|
1799
|
-
ListDatasetDatapointsMessagesDatasetsContent$outboundSchema;
|
|
1800
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsContent$Outbound` instead. */
|
|
1801
|
-
export type Outbound = ListDatasetDatapointsMessagesDatasetsContent$Outbound;
|
|
1802
|
-
}
|
|
1803
|
-
|
|
1804
|
-
export function listDatasetDatapointsMessagesDatasetsContentToJSON(
|
|
1805
|
-
listDatasetDatapointsMessagesDatasetsContent:
|
|
1806
|
-
ListDatasetDatapointsMessagesDatasetsContent,
|
|
1807
|
-
): string {
|
|
1808
|
-
return JSON.stringify(
|
|
1809
|
-
ListDatasetDatapointsMessagesDatasetsContent$outboundSchema.parse(
|
|
1810
|
-
listDatasetDatapointsMessagesDatasetsContent,
|
|
1811
|
-
),
|
|
1812
|
-
);
|
|
1813
|
-
}
|
|
1814
|
-
|
|
1815
|
-
export function listDatasetDatapointsMessagesDatasetsContentFromJSON(
|
|
1816
|
-
jsonString: string,
|
|
1817
|
-
): SafeParseResult<
|
|
1818
|
-
ListDatasetDatapointsMessagesDatasetsContent,
|
|
1819
|
-
SDKValidationError
|
|
1820
|
-
> {
|
|
1821
|
-
return safeParse(
|
|
1822
|
-
jsonString,
|
|
1823
|
-
(x) =>
|
|
1824
|
-
ListDatasetDatapointsMessagesDatasetsContent$inboundSchema.parse(
|
|
1825
|
-
JSON.parse(x),
|
|
1826
|
-
),
|
|
1827
|
-
`Failed to parse 'ListDatasetDatapointsMessagesDatasetsContent' from JSON`,
|
|
1828
|
-
);
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
|
-
/** @internal */
|
|
1832
|
-
export const ListDatasetDatapointsMessagesDatasetsResponse200Role$inboundSchema:
|
|
1833
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsMessagesDatasetsResponse200Role> =
|
|
1834
|
-
z.nativeEnum(ListDatasetDatapointsMessagesDatasetsResponse200Role);
|
|
1835
|
-
|
|
1836
|
-
/** @internal */
|
|
1837
|
-
export const ListDatasetDatapointsMessagesDatasetsResponse200Role$outboundSchema:
|
|
1838
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsMessagesDatasetsResponse200Role> =
|
|
1839
|
-
ListDatasetDatapointsMessagesDatasetsResponse200Role$inboundSchema;
|
|
1840
|
-
|
|
1841
|
-
/**
|
|
1842
|
-
* @internal
|
|
1843
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1844
|
-
*/
|
|
1845
|
-
export namespace ListDatasetDatapointsMessagesDatasetsResponse200Role$ {
|
|
1846
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsResponse200Role$inboundSchema` instead. */
|
|
1847
|
-
export const inboundSchema =
|
|
1848
|
-
ListDatasetDatapointsMessagesDatasetsResponse200Role$inboundSchema;
|
|
1849
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsResponse200Role$outboundSchema` instead. */
|
|
1850
|
-
export const outboundSchema =
|
|
1851
|
-
ListDatasetDatapointsMessagesDatasetsResponse200Role$outboundSchema;
|
|
1852
|
-
}
|
|
1853
|
-
|
|
1854
|
-
/** @internal */
|
|
1855
|
-
export const ListDatasetDatapointsMessagesAudio$inboundSchema: z.ZodType<
|
|
1856
|
-
ListDatasetDatapointsMessagesAudio,
|
|
1857
|
-
z.ZodTypeDef,
|
|
1858
|
-
unknown
|
|
1859
|
-
> = z.object({
|
|
1860
|
-
id: z.string(),
|
|
1861
|
-
});
|
|
1862
|
-
|
|
1863
|
-
/** @internal */
|
|
1864
|
-
export type ListDatasetDatapointsMessagesAudio$Outbound = {
|
|
1865
|
-
id: string;
|
|
1866
|
-
};
|
|
1867
|
-
|
|
1868
|
-
/** @internal */
|
|
1869
|
-
export const ListDatasetDatapointsMessagesAudio$outboundSchema: z.ZodType<
|
|
1870
|
-
ListDatasetDatapointsMessagesAudio$Outbound,
|
|
1871
|
-
z.ZodTypeDef,
|
|
1872
|
-
ListDatasetDatapointsMessagesAudio
|
|
1873
|
-
> = z.object({
|
|
1874
|
-
id: z.string(),
|
|
1875
|
-
});
|
|
1876
|
-
|
|
1877
|
-
/**
|
|
1878
|
-
* @internal
|
|
1879
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1880
|
-
*/
|
|
1881
|
-
export namespace ListDatasetDatapointsMessagesAudio$ {
|
|
1882
|
-
/** @deprecated use `ListDatasetDatapointsMessagesAudio$inboundSchema` instead. */
|
|
1883
|
-
export const inboundSchema = ListDatasetDatapointsMessagesAudio$inboundSchema;
|
|
1884
|
-
/** @deprecated use `ListDatasetDatapointsMessagesAudio$outboundSchema` instead. */
|
|
1885
|
-
export const outboundSchema =
|
|
1886
|
-
ListDatasetDatapointsMessagesAudio$outboundSchema;
|
|
1887
|
-
/** @deprecated use `ListDatasetDatapointsMessagesAudio$Outbound` instead. */
|
|
1888
|
-
export type Outbound = ListDatasetDatapointsMessagesAudio$Outbound;
|
|
1889
|
-
}
|
|
1890
|
-
|
|
1891
|
-
export function listDatasetDatapointsMessagesAudioToJSON(
|
|
1892
|
-
listDatasetDatapointsMessagesAudio: ListDatasetDatapointsMessagesAudio,
|
|
1893
|
-
): string {
|
|
1894
|
-
return JSON.stringify(
|
|
1895
|
-
ListDatasetDatapointsMessagesAudio$outboundSchema.parse(
|
|
1896
|
-
listDatasetDatapointsMessagesAudio,
|
|
1897
|
-
),
|
|
1898
|
-
);
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
|
-
export function listDatasetDatapointsMessagesAudioFromJSON(
|
|
1902
|
-
jsonString: string,
|
|
1903
|
-
): SafeParseResult<ListDatasetDatapointsMessagesAudio, SDKValidationError> {
|
|
1904
|
-
return safeParse(
|
|
1905
|
-
jsonString,
|
|
1906
|
-
(x) =>
|
|
1907
|
-
ListDatasetDatapointsMessagesAudio$inboundSchema.parse(JSON.parse(x)),
|
|
1908
|
-
`Failed to parse 'ListDatasetDatapointsMessagesAudio' from JSON`,
|
|
1909
|
-
);
|
|
1910
|
-
}
|
|
1911
|
-
|
|
1912
|
-
/** @internal */
|
|
1913
|
-
export const ListDatasetDatapointsMessagesType$inboundSchema: z.ZodNativeEnum<
|
|
1914
|
-
typeof ListDatasetDatapointsMessagesType
|
|
1915
|
-
> = z.nativeEnum(ListDatasetDatapointsMessagesType);
|
|
1916
|
-
|
|
1917
|
-
/** @internal */
|
|
1918
|
-
export const ListDatasetDatapointsMessagesType$outboundSchema: z.ZodNativeEnum<
|
|
1919
|
-
typeof ListDatasetDatapointsMessagesType
|
|
1920
|
-
> = ListDatasetDatapointsMessagesType$inboundSchema;
|
|
1921
|
-
|
|
1922
|
-
/**
|
|
1923
|
-
* @internal
|
|
1924
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1925
|
-
*/
|
|
1926
|
-
export namespace ListDatasetDatapointsMessagesType$ {
|
|
1927
|
-
/** @deprecated use `ListDatasetDatapointsMessagesType$inboundSchema` instead. */
|
|
1928
|
-
export const inboundSchema = ListDatasetDatapointsMessagesType$inboundSchema;
|
|
1929
|
-
/** @deprecated use `ListDatasetDatapointsMessagesType$outboundSchema` instead. */
|
|
1930
|
-
export const outboundSchema =
|
|
1931
|
-
ListDatasetDatapointsMessagesType$outboundSchema;
|
|
1932
|
-
}
|
|
1933
|
-
|
|
1934
|
-
/** @internal */
|
|
1935
|
-
export const ListDatasetDatapointsMessagesFunction$inboundSchema: z.ZodType<
|
|
1936
|
-
ListDatasetDatapointsMessagesFunction,
|
|
1937
|
-
z.ZodTypeDef,
|
|
1938
|
-
unknown
|
|
1939
|
-
> = z.object({
|
|
1940
|
-
name: z.string().optional(),
|
|
1941
|
-
arguments: z.string().optional(),
|
|
1942
|
-
});
|
|
1943
|
-
|
|
1944
|
-
/** @internal */
|
|
1945
|
-
export type ListDatasetDatapointsMessagesFunction$Outbound = {
|
|
1946
|
-
name?: string | undefined;
|
|
1947
|
-
arguments?: string | undefined;
|
|
1948
|
-
};
|
|
1949
|
-
|
|
1950
|
-
/** @internal */
|
|
1951
|
-
export const ListDatasetDatapointsMessagesFunction$outboundSchema: z.ZodType<
|
|
1952
|
-
ListDatasetDatapointsMessagesFunction$Outbound,
|
|
1953
|
-
z.ZodTypeDef,
|
|
1954
|
-
ListDatasetDatapointsMessagesFunction
|
|
1955
|
-
> = z.object({
|
|
1956
|
-
name: z.string().optional(),
|
|
1957
|
-
arguments: z.string().optional(),
|
|
1958
|
-
});
|
|
1959
|
-
|
|
1960
|
-
/**
|
|
1961
|
-
* @internal
|
|
1962
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1963
|
-
*/
|
|
1964
|
-
export namespace ListDatasetDatapointsMessagesFunction$ {
|
|
1965
|
-
/** @deprecated use `ListDatasetDatapointsMessagesFunction$inboundSchema` instead. */
|
|
1966
|
-
export const inboundSchema =
|
|
1967
|
-
ListDatasetDatapointsMessagesFunction$inboundSchema;
|
|
1968
|
-
/** @deprecated use `ListDatasetDatapointsMessagesFunction$outboundSchema` instead. */
|
|
1969
|
-
export const outboundSchema =
|
|
1970
|
-
ListDatasetDatapointsMessagesFunction$outboundSchema;
|
|
1971
|
-
/** @deprecated use `ListDatasetDatapointsMessagesFunction$Outbound` instead. */
|
|
1972
|
-
export type Outbound = ListDatasetDatapointsMessagesFunction$Outbound;
|
|
1973
|
-
}
|
|
1974
|
-
|
|
1975
|
-
export function listDatasetDatapointsMessagesFunctionToJSON(
|
|
1976
|
-
listDatasetDatapointsMessagesFunction: ListDatasetDatapointsMessagesFunction,
|
|
1977
|
-
): string {
|
|
1978
|
-
return JSON.stringify(
|
|
1979
|
-
ListDatasetDatapointsMessagesFunction$outboundSchema.parse(
|
|
1980
|
-
listDatasetDatapointsMessagesFunction,
|
|
1981
|
-
),
|
|
1982
|
-
);
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
|
-
export function listDatasetDatapointsMessagesFunctionFromJSON(
|
|
1986
|
-
jsonString: string,
|
|
1987
|
-
): SafeParseResult<ListDatasetDatapointsMessagesFunction, SDKValidationError> {
|
|
1988
|
-
return safeParse(
|
|
1989
|
-
jsonString,
|
|
1990
|
-
(x) =>
|
|
1991
|
-
ListDatasetDatapointsMessagesFunction$inboundSchema.parse(JSON.parse(x)),
|
|
1992
|
-
`Failed to parse 'ListDatasetDatapointsMessagesFunction' from JSON`,
|
|
1993
|
-
);
|
|
1994
|
-
}
|
|
1995
|
-
|
|
1996
|
-
/** @internal */
|
|
1997
|
-
export const ListDatasetDatapointsMessagesToolCalls$inboundSchema: z.ZodType<
|
|
1998
|
-
ListDatasetDatapointsMessagesToolCalls,
|
|
1999
|
-
z.ZodTypeDef,
|
|
2000
|
-
unknown
|
|
2001
|
-
> = z.object({
|
|
2002
|
-
id: z.string(),
|
|
2003
|
-
type: ListDatasetDatapointsMessagesType$inboundSchema,
|
|
2004
|
-
function: z.lazy(() => ListDatasetDatapointsMessagesFunction$inboundSchema),
|
|
2005
|
-
});
|
|
2006
|
-
|
|
2007
|
-
/** @internal */
|
|
2008
|
-
export type ListDatasetDatapointsMessagesToolCalls$Outbound = {
|
|
2009
|
-
id: string;
|
|
2010
|
-
type: string;
|
|
2011
|
-
function: ListDatasetDatapointsMessagesFunction$Outbound;
|
|
2012
|
-
};
|
|
2013
|
-
|
|
2014
|
-
/** @internal */
|
|
2015
|
-
export const ListDatasetDatapointsMessagesToolCalls$outboundSchema: z.ZodType<
|
|
2016
|
-
ListDatasetDatapointsMessagesToolCalls$Outbound,
|
|
2017
|
-
z.ZodTypeDef,
|
|
2018
|
-
ListDatasetDatapointsMessagesToolCalls
|
|
2019
|
-
> = z.object({
|
|
2020
|
-
id: z.string(),
|
|
2021
|
-
type: ListDatasetDatapointsMessagesType$outboundSchema,
|
|
2022
|
-
function: z.lazy(() => ListDatasetDatapointsMessagesFunction$outboundSchema),
|
|
2023
|
-
});
|
|
2024
|
-
|
|
2025
|
-
/**
|
|
2026
|
-
* @internal
|
|
2027
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2028
|
-
*/
|
|
2029
|
-
export namespace ListDatasetDatapointsMessagesToolCalls$ {
|
|
2030
|
-
/** @deprecated use `ListDatasetDatapointsMessagesToolCalls$inboundSchema` instead. */
|
|
2031
|
-
export const inboundSchema =
|
|
2032
|
-
ListDatasetDatapointsMessagesToolCalls$inboundSchema;
|
|
2033
|
-
/** @deprecated use `ListDatasetDatapointsMessagesToolCalls$outboundSchema` instead. */
|
|
2034
|
-
export const outboundSchema =
|
|
2035
|
-
ListDatasetDatapointsMessagesToolCalls$outboundSchema;
|
|
2036
|
-
/** @deprecated use `ListDatasetDatapointsMessagesToolCalls$Outbound` instead. */
|
|
2037
|
-
export type Outbound = ListDatasetDatapointsMessagesToolCalls$Outbound;
|
|
2038
|
-
}
|
|
2039
|
-
|
|
2040
|
-
export function listDatasetDatapointsMessagesToolCallsToJSON(
|
|
2041
|
-
listDatasetDatapointsMessagesToolCalls:
|
|
2042
|
-
ListDatasetDatapointsMessagesToolCalls,
|
|
2043
|
-
): string {
|
|
2044
|
-
return JSON.stringify(
|
|
2045
|
-
ListDatasetDatapointsMessagesToolCalls$outboundSchema.parse(
|
|
2046
|
-
listDatasetDatapointsMessagesToolCalls,
|
|
2047
|
-
),
|
|
2048
|
-
);
|
|
2049
|
-
}
|
|
2050
|
-
|
|
2051
|
-
export function listDatasetDatapointsMessagesToolCallsFromJSON(
|
|
2052
|
-
jsonString: string,
|
|
2053
|
-
): SafeParseResult<ListDatasetDatapointsMessagesToolCalls, SDKValidationError> {
|
|
2054
|
-
return safeParse(
|
|
2055
|
-
jsonString,
|
|
2056
|
-
(x) =>
|
|
2057
|
-
ListDatasetDatapointsMessagesToolCalls$inboundSchema.parse(JSON.parse(x)),
|
|
2058
|
-
`Failed to parse 'ListDatasetDatapointsMessagesToolCalls' from JSON`,
|
|
2059
|
-
);
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
/** @internal */
|
|
2063
|
-
export const ListDatasetDatapointsMessagesAssistantMessage$inboundSchema:
|
|
2064
|
-
z.ZodType<
|
|
2065
|
-
ListDatasetDatapointsMessagesAssistantMessage,
|
|
2066
|
-
z.ZodTypeDef,
|
|
2067
|
-
unknown
|
|
2068
|
-
> = z.object({
|
|
2069
|
-
content: z.nullable(
|
|
2070
|
-
z.union([
|
|
2071
|
-
z.string(),
|
|
2072
|
-
z.array(
|
|
2073
|
-
z.union([
|
|
2074
|
-
z.lazy(() => ListDatasetDatapoints2TextContentPart$inboundSchema),
|
|
2075
|
-
z.lazy(() =>
|
|
2076
|
-
ListDatasetDatapoints2RefusalContentPart$inboundSchema
|
|
2077
|
-
),
|
|
2078
|
-
]),
|
|
2079
|
-
),
|
|
2080
|
-
]),
|
|
2081
|
-
).optional(),
|
|
2082
|
-
refusal: z.nullable(z.string()).optional(),
|
|
2083
|
-
role: ListDatasetDatapointsMessagesDatasetsResponse200Role$inboundSchema,
|
|
2084
|
-
name: z.string().optional(),
|
|
2085
|
-
audio: z.nullable(
|
|
2086
|
-
z.lazy(() => ListDatasetDatapointsMessagesAudio$inboundSchema),
|
|
2087
|
-
).optional(),
|
|
2088
|
-
tool_calls: z.array(
|
|
2089
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolCalls$inboundSchema),
|
|
2090
|
-
).optional(),
|
|
2091
|
-
reasoning: z.string().optional(),
|
|
2092
|
-
reasoning_signature: z.string().optional(),
|
|
2093
|
-
redacted_reasoning: z.string().optional(),
|
|
2094
|
-
}).transform((v) => {
|
|
2095
|
-
return remap$(v, {
|
|
2096
|
-
"tool_calls": "toolCalls",
|
|
2097
|
-
"reasoning_signature": "reasoningSignature",
|
|
2098
|
-
"redacted_reasoning": "redactedReasoning",
|
|
2099
|
-
});
|
|
2100
|
-
});
|
|
2101
|
-
|
|
2102
|
-
/** @internal */
|
|
2103
|
-
export type ListDatasetDatapointsMessagesAssistantMessage$Outbound = {
|
|
2104
|
-
content?:
|
|
2105
|
-
| string
|
|
2106
|
-
| Array<
|
|
2107
|
-
| ListDatasetDatapoints2TextContentPart$Outbound
|
|
2108
|
-
| ListDatasetDatapoints2RefusalContentPart$Outbound
|
|
2109
|
-
>
|
|
2110
|
-
| null
|
|
2111
|
-
| undefined;
|
|
2112
|
-
refusal?: string | null | undefined;
|
|
2113
|
-
role: string;
|
|
2114
|
-
name?: string | undefined;
|
|
2115
|
-
audio?: ListDatasetDatapointsMessagesAudio$Outbound | null | undefined;
|
|
2116
|
-
tool_calls?:
|
|
2117
|
-
| Array<ListDatasetDatapointsMessagesToolCalls$Outbound>
|
|
2118
|
-
| undefined;
|
|
2119
|
-
reasoning?: string | undefined;
|
|
2120
|
-
reasoning_signature?: string | undefined;
|
|
2121
|
-
redacted_reasoning?: string | undefined;
|
|
2122
|
-
};
|
|
2123
|
-
|
|
2124
|
-
/** @internal */
|
|
2125
|
-
export const ListDatasetDatapointsMessagesAssistantMessage$outboundSchema:
|
|
2126
|
-
z.ZodType<
|
|
2127
|
-
ListDatasetDatapointsMessagesAssistantMessage$Outbound,
|
|
2128
|
-
z.ZodTypeDef,
|
|
2129
|
-
ListDatasetDatapointsMessagesAssistantMessage
|
|
2130
|
-
> = z.object({
|
|
2131
|
-
content: z.nullable(
|
|
2132
|
-
z.union([
|
|
2133
|
-
z.string(),
|
|
2134
|
-
z.array(
|
|
2135
|
-
z.union([
|
|
2136
|
-
z.lazy(() => ListDatasetDatapoints2TextContentPart$outboundSchema),
|
|
2137
|
-
z.lazy(() =>
|
|
2138
|
-
ListDatasetDatapoints2RefusalContentPart$outboundSchema
|
|
2139
|
-
),
|
|
2140
|
-
]),
|
|
2141
|
-
),
|
|
2142
|
-
]),
|
|
2143
|
-
).optional(),
|
|
2144
|
-
refusal: z.nullable(z.string()).optional(),
|
|
2145
|
-
role: ListDatasetDatapointsMessagesDatasetsResponse200Role$outboundSchema,
|
|
2146
|
-
name: z.string().optional(),
|
|
2147
|
-
audio: z.nullable(
|
|
2148
|
-
z.lazy(() => ListDatasetDatapointsMessagesAudio$outboundSchema),
|
|
2149
|
-
).optional(),
|
|
2150
|
-
toolCalls: z.array(
|
|
2151
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolCalls$outboundSchema),
|
|
2152
|
-
).optional(),
|
|
2153
|
-
reasoning: z.string().optional(),
|
|
2154
|
-
reasoningSignature: z.string().optional(),
|
|
2155
|
-
redactedReasoning: z.string().optional(),
|
|
2156
|
-
}).transform((v) => {
|
|
2157
|
-
return remap$(v, {
|
|
2158
|
-
toolCalls: "tool_calls",
|
|
2159
|
-
reasoningSignature: "reasoning_signature",
|
|
2160
|
-
redactedReasoning: "redacted_reasoning",
|
|
2161
|
-
});
|
|
2162
|
-
});
|
|
2163
|
-
|
|
2164
|
-
/**
|
|
2165
|
-
* @internal
|
|
2166
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2167
|
-
*/
|
|
2168
|
-
export namespace ListDatasetDatapointsMessagesAssistantMessage$ {
|
|
2169
|
-
/** @deprecated use `ListDatasetDatapointsMessagesAssistantMessage$inboundSchema` instead. */
|
|
2170
|
-
export const inboundSchema =
|
|
2171
|
-
ListDatasetDatapointsMessagesAssistantMessage$inboundSchema;
|
|
2172
|
-
/** @deprecated use `ListDatasetDatapointsMessagesAssistantMessage$outboundSchema` instead. */
|
|
2173
|
-
export const outboundSchema =
|
|
2174
|
-
ListDatasetDatapointsMessagesAssistantMessage$outboundSchema;
|
|
2175
|
-
/** @deprecated use `ListDatasetDatapointsMessagesAssistantMessage$Outbound` instead. */
|
|
2176
|
-
export type Outbound = ListDatasetDatapointsMessagesAssistantMessage$Outbound;
|
|
2177
|
-
}
|
|
2178
|
-
|
|
2179
|
-
export function listDatasetDatapointsMessagesAssistantMessageToJSON(
|
|
2180
|
-
listDatasetDatapointsMessagesAssistantMessage:
|
|
2181
|
-
ListDatasetDatapointsMessagesAssistantMessage,
|
|
2182
|
-
): string {
|
|
2183
|
-
return JSON.stringify(
|
|
2184
|
-
ListDatasetDatapointsMessagesAssistantMessage$outboundSchema.parse(
|
|
2185
|
-
listDatasetDatapointsMessagesAssistantMessage,
|
|
2186
|
-
),
|
|
2187
|
-
);
|
|
2188
|
-
}
|
|
2189
|
-
|
|
2190
|
-
export function listDatasetDatapointsMessagesAssistantMessageFromJSON(
|
|
2191
|
-
jsonString: string,
|
|
2192
|
-
): SafeParseResult<
|
|
2193
|
-
ListDatasetDatapointsMessagesAssistantMessage,
|
|
2194
|
-
SDKValidationError
|
|
2195
|
-
> {
|
|
2196
|
-
return safeParse(
|
|
2197
|
-
jsonString,
|
|
2198
|
-
(x) =>
|
|
2199
|
-
ListDatasetDatapointsMessagesAssistantMessage$inboundSchema.parse(
|
|
2200
|
-
JSON.parse(x),
|
|
2201
|
-
),
|
|
2202
|
-
`Failed to parse 'ListDatasetDatapointsMessagesAssistantMessage' from JSON`,
|
|
2203
|
-
);
|
|
2204
|
-
}
|
|
2205
|
-
|
|
2206
|
-
/** @internal */
|
|
2207
|
-
export const ListDatasetDatapointsMessagesDatasetsResponseRole$inboundSchema:
|
|
2208
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsMessagesDatasetsResponseRole> = z
|
|
2209
|
-
.nativeEnum(ListDatasetDatapointsMessagesDatasetsResponseRole);
|
|
2210
|
-
|
|
2211
|
-
/** @internal */
|
|
2212
|
-
export const ListDatasetDatapointsMessagesDatasetsResponseRole$outboundSchema:
|
|
2213
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsMessagesDatasetsResponseRole> =
|
|
2214
|
-
ListDatasetDatapointsMessagesDatasetsResponseRole$inboundSchema;
|
|
2215
|
-
|
|
2216
|
-
/**
|
|
2217
|
-
* @internal
|
|
2218
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2219
|
-
*/
|
|
2220
|
-
export namespace ListDatasetDatapointsMessagesDatasetsResponseRole$ {
|
|
2221
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsResponseRole$inboundSchema` instead. */
|
|
2222
|
-
export const inboundSchema =
|
|
2223
|
-
ListDatasetDatapointsMessagesDatasetsResponseRole$inboundSchema;
|
|
2224
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsResponseRole$outboundSchema` instead. */
|
|
2225
|
-
export const outboundSchema =
|
|
2226
|
-
ListDatasetDatapointsMessagesDatasetsResponseRole$outboundSchema;
|
|
2227
|
-
}
|
|
2228
|
-
|
|
2229
|
-
/** @internal */
|
|
2230
|
-
export const ListDatasetDatapoints2DatasetsResponse200Type$inboundSchema:
|
|
2231
|
-
z.ZodNativeEnum<typeof ListDatasetDatapoints2DatasetsResponse200Type> = z
|
|
2232
|
-
.nativeEnum(ListDatasetDatapoints2DatasetsResponse200Type);
|
|
2233
|
-
|
|
2234
|
-
/** @internal */
|
|
2235
|
-
export const ListDatasetDatapoints2DatasetsResponse200Type$outboundSchema:
|
|
2236
|
-
z.ZodNativeEnum<typeof ListDatasetDatapoints2DatasetsResponse200Type> =
|
|
2237
|
-
ListDatasetDatapoints2DatasetsResponse200Type$inboundSchema;
|
|
2238
|
-
|
|
2239
|
-
/**
|
|
2240
|
-
* @internal
|
|
2241
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2242
|
-
*/
|
|
2243
|
-
export namespace ListDatasetDatapoints2DatasetsResponse200Type$ {
|
|
2244
|
-
/** @deprecated use `ListDatasetDatapoints2DatasetsResponse200Type$inboundSchema` instead. */
|
|
2245
|
-
export const inboundSchema =
|
|
2246
|
-
ListDatasetDatapoints2DatasetsResponse200Type$inboundSchema;
|
|
2247
|
-
/** @deprecated use `ListDatasetDatapoints2DatasetsResponse200Type$outboundSchema` instead. */
|
|
2248
|
-
export const outboundSchema =
|
|
2249
|
-
ListDatasetDatapoints2DatasetsResponse200Type$outboundSchema;
|
|
2250
|
-
}
|
|
2251
|
-
|
|
2252
|
-
/** @internal */
|
|
2253
|
-
export const ListDatasetDatapoints2File$inboundSchema: z.ZodType<
|
|
2254
|
-
ListDatasetDatapoints2File,
|
|
2255
|
-
z.ZodTypeDef,
|
|
2256
|
-
unknown
|
|
2257
|
-
> = z.object({
|
|
2258
|
-
file_data: z.string().optional(),
|
|
2259
|
-
uri: z.string().optional(),
|
|
2260
|
-
mimeType: z.string().optional(),
|
|
2261
|
-
filename: z.string().optional(),
|
|
2262
|
-
}).transform((v) => {
|
|
2263
|
-
return remap$(v, {
|
|
2264
|
-
"file_data": "fileData",
|
|
2265
|
-
});
|
|
2266
|
-
});
|
|
2267
|
-
|
|
2268
|
-
/** @internal */
|
|
2269
|
-
export type ListDatasetDatapoints2File$Outbound = {
|
|
2270
|
-
file_data?: string | undefined;
|
|
2271
|
-
uri?: string | undefined;
|
|
2272
|
-
mimeType?: string | undefined;
|
|
2273
|
-
filename?: string | undefined;
|
|
2274
|
-
};
|
|
2275
|
-
|
|
2276
|
-
/** @internal */
|
|
2277
|
-
export const ListDatasetDatapoints2File$outboundSchema: z.ZodType<
|
|
2278
|
-
ListDatasetDatapoints2File$Outbound,
|
|
2279
|
-
z.ZodTypeDef,
|
|
2280
|
-
ListDatasetDatapoints2File
|
|
2281
|
-
> = z.object({
|
|
2282
|
-
fileData: z.string().optional(),
|
|
2283
|
-
uri: z.string().optional(),
|
|
2284
|
-
mimeType: z.string().optional(),
|
|
2285
|
-
filename: z.string().optional(),
|
|
2286
|
-
}).transform((v) => {
|
|
2287
|
-
return remap$(v, {
|
|
2288
|
-
fileData: "file_data",
|
|
2289
|
-
});
|
|
2290
|
-
});
|
|
2291
|
-
|
|
2292
|
-
/**
|
|
2293
|
-
* @internal
|
|
2294
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2295
|
-
*/
|
|
2296
|
-
export namespace ListDatasetDatapoints2File$ {
|
|
2297
|
-
/** @deprecated use `ListDatasetDatapoints2File$inboundSchema` instead. */
|
|
2298
|
-
export const inboundSchema = ListDatasetDatapoints2File$inboundSchema;
|
|
2299
|
-
/** @deprecated use `ListDatasetDatapoints2File$outboundSchema` instead. */
|
|
2300
|
-
export const outboundSchema = ListDatasetDatapoints2File$outboundSchema;
|
|
2301
|
-
/** @deprecated use `ListDatasetDatapoints2File$Outbound` instead. */
|
|
2302
|
-
export type Outbound = ListDatasetDatapoints2File$Outbound;
|
|
2303
|
-
}
|
|
2304
|
-
|
|
2305
|
-
export function listDatasetDatapoints2FileToJSON(
|
|
2306
|
-
listDatasetDatapoints2File: ListDatasetDatapoints2File,
|
|
2307
|
-
): string {
|
|
2308
|
-
return JSON.stringify(
|
|
2309
|
-
ListDatasetDatapoints2File$outboundSchema.parse(listDatasetDatapoints2File),
|
|
2310
|
-
);
|
|
2311
|
-
}
|
|
2312
|
-
|
|
2313
|
-
export function listDatasetDatapoints2FileFromJSON(
|
|
2314
|
-
jsonString: string,
|
|
2315
|
-
): SafeParseResult<ListDatasetDatapoints2File, SDKValidationError> {
|
|
2316
|
-
return safeParse(
|
|
2317
|
-
jsonString,
|
|
2318
|
-
(x) => ListDatasetDatapoints2File$inboundSchema.parse(JSON.parse(x)),
|
|
2319
|
-
`Failed to parse 'ListDatasetDatapoints2File' from JSON`,
|
|
2320
|
-
);
|
|
2321
|
-
}
|
|
2322
|
-
|
|
2323
|
-
/** @internal */
|
|
2324
|
-
export const ListDatasetDatapoints24$inboundSchema: z.ZodType<
|
|
2325
|
-
ListDatasetDatapoints24,
|
|
2326
|
-
z.ZodTypeDef,
|
|
2327
|
-
unknown
|
|
2328
|
-
> = z.object({
|
|
2329
|
-
type: ListDatasetDatapoints2DatasetsResponse200Type$inboundSchema,
|
|
2330
|
-
file: z.lazy(() => ListDatasetDatapoints2File$inboundSchema),
|
|
2331
|
-
});
|
|
2332
|
-
|
|
2333
|
-
/** @internal */
|
|
2334
|
-
export type ListDatasetDatapoints24$Outbound = {
|
|
2335
|
-
type: string;
|
|
2336
|
-
file: ListDatasetDatapoints2File$Outbound;
|
|
2337
|
-
};
|
|
2338
|
-
|
|
2339
|
-
/** @internal */
|
|
2340
|
-
export const ListDatasetDatapoints24$outboundSchema: z.ZodType<
|
|
2341
|
-
ListDatasetDatapoints24$Outbound,
|
|
2342
|
-
z.ZodTypeDef,
|
|
2343
|
-
ListDatasetDatapoints24
|
|
2344
|
-
> = z.object({
|
|
2345
|
-
type: ListDatasetDatapoints2DatasetsResponse200Type$outboundSchema,
|
|
2346
|
-
file: z.lazy(() => ListDatasetDatapoints2File$outboundSchema),
|
|
2347
|
-
});
|
|
2348
|
-
|
|
2349
|
-
/**
|
|
2350
|
-
* @internal
|
|
2351
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2352
|
-
*/
|
|
2353
|
-
export namespace ListDatasetDatapoints24$ {
|
|
2354
|
-
/** @deprecated use `ListDatasetDatapoints24$inboundSchema` instead. */
|
|
2355
|
-
export const inboundSchema = ListDatasetDatapoints24$inboundSchema;
|
|
2356
|
-
/** @deprecated use `ListDatasetDatapoints24$outboundSchema` instead. */
|
|
2357
|
-
export const outboundSchema = ListDatasetDatapoints24$outboundSchema;
|
|
2358
|
-
/** @deprecated use `ListDatasetDatapoints24$Outbound` instead. */
|
|
2359
|
-
export type Outbound = ListDatasetDatapoints24$Outbound;
|
|
2360
|
-
}
|
|
2361
|
-
|
|
2362
|
-
export function listDatasetDatapoints24ToJSON(
|
|
2363
|
-
listDatasetDatapoints24: ListDatasetDatapoints24,
|
|
2364
|
-
): string {
|
|
2365
|
-
return JSON.stringify(
|
|
2366
|
-
ListDatasetDatapoints24$outboundSchema.parse(listDatasetDatapoints24),
|
|
2367
|
-
);
|
|
2368
|
-
}
|
|
2369
|
-
|
|
2370
|
-
export function listDatasetDatapoints24FromJSON(
|
|
2371
|
-
jsonString: string,
|
|
2372
|
-
): SafeParseResult<ListDatasetDatapoints24, SDKValidationError> {
|
|
2373
|
-
return safeParse(
|
|
2374
|
-
jsonString,
|
|
2375
|
-
(x) => ListDatasetDatapoints24$inboundSchema.parse(JSON.parse(x)),
|
|
2376
|
-
`Failed to parse 'ListDatasetDatapoints24' from JSON`,
|
|
2377
|
-
);
|
|
2378
|
-
}
|
|
2379
|
-
|
|
2380
|
-
/** @internal */
|
|
2381
|
-
export const ListDatasetDatapoints2DatasetsResponseType$inboundSchema:
|
|
2382
|
-
z.ZodNativeEnum<typeof ListDatasetDatapoints2DatasetsResponseType> = z
|
|
2383
|
-
.nativeEnum(ListDatasetDatapoints2DatasetsResponseType);
|
|
2384
|
-
|
|
2385
|
-
/** @internal */
|
|
2386
|
-
export const ListDatasetDatapoints2DatasetsResponseType$outboundSchema:
|
|
2387
|
-
z.ZodNativeEnum<typeof ListDatasetDatapoints2DatasetsResponseType> =
|
|
2388
|
-
ListDatasetDatapoints2DatasetsResponseType$inboundSchema;
|
|
2389
|
-
|
|
2390
|
-
/**
|
|
2391
|
-
* @internal
|
|
2392
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2393
|
-
*/
|
|
2394
|
-
export namespace ListDatasetDatapoints2DatasetsResponseType$ {
|
|
2395
|
-
/** @deprecated use `ListDatasetDatapoints2DatasetsResponseType$inboundSchema` instead. */
|
|
2396
|
-
export const inboundSchema =
|
|
2397
|
-
ListDatasetDatapoints2DatasetsResponseType$inboundSchema;
|
|
2398
|
-
/** @deprecated use `ListDatasetDatapoints2DatasetsResponseType$outboundSchema` instead. */
|
|
2399
|
-
export const outboundSchema =
|
|
2400
|
-
ListDatasetDatapoints2DatasetsResponseType$outboundSchema;
|
|
2401
|
-
}
|
|
2402
|
-
|
|
2403
|
-
/** @internal */
|
|
2404
|
-
export const ListDatasetDatapoints2Format$inboundSchema: z.ZodNativeEnum<
|
|
2405
|
-
typeof ListDatasetDatapoints2Format
|
|
2406
|
-
> = z.nativeEnum(ListDatasetDatapoints2Format);
|
|
2407
|
-
|
|
2408
|
-
/** @internal */
|
|
2409
|
-
export const ListDatasetDatapoints2Format$outboundSchema: z.ZodNativeEnum<
|
|
2410
|
-
typeof ListDatasetDatapoints2Format
|
|
2411
|
-
> = ListDatasetDatapoints2Format$inboundSchema;
|
|
2412
|
-
|
|
2413
|
-
/**
|
|
2414
|
-
* @internal
|
|
2415
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2416
|
-
*/
|
|
2417
|
-
export namespace ListDatasetDatapoints2Format$ {
|
|
2418
|
-
/** @deprecated use `ListDatasetDatapoints2Format$inboundSchema` instead. */
|
|
2419
|
-
export const inboundSchema = ListDatasetDatapoints2Format$inboundSchema;
|
|
2420
|
-
/** @deprecated use `ListDatasetDatapoints2Format$outboundSchema` instead. */
|
|
2421
|
-
export const outboundSchema = ListDatasetDatapoints2Format$outboundSchema;
|
|
2422
|
-
}
|
|
2423
|
-
|
|
2424
|
-
/** @internal */
|
|
2425
|
-
export const ListDatasetDatapoints2InputAudio$inboundSchema: z.ZodType<
|
|
2426
|
-
ListDatasetDatapoints2InputAudio,
|
|
2427
|
-
z.ZodTypeDef,
|
|
2428
|
-
unknown
|
|
2429
|
-
> = z.object({
|
|
2430
|
-
data: z.string(),
|
|
2431
|
-
format: ListDatasetDatapoints2Format$inboundSchema,
|
|
2432
|
-
});
|
|
2433
|
-
|
|
2434
|
-
/** @internal */
|
|
2435
|
-
export type ListDatasetDatapoints2InputAudio$Outbound = {
|
|
2436
|
-
data: string;
|
|
2437
|
-
format: string;
|
|
2438
|
-
};
|
|
2439
|
-
|
|
2440
|
-
/** @internal */
|
|
2441
|
-
export const ListDatasetDatapoints2InputAudio$outboundSchema: z.ZodType<
|
|
2442
|
-
ListDatasetDatapoints2InputAudio$Outbound,
|
|
2443
|
-
z.ZodTypeDef,
|
|
2444
|
-
ListDatasetDatapoints2InputAudio
|
|
2445
|
-
> = z.object({
|
|
2446
|
-
data: z.string(),
|
|
2447
|
-
format: ListDatasetDatapoints2Format$outboundSchema,
|
|
2448
|
-
});
|
|
2449
|
-
|
|
2450
|
-
/**
|
|
2451
|
-
* @internal
|
|
2452
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2453
|
-
*/
|
|
2454
|
-
export namespace ListDatasetDatapoints2InputAudio$ {
|
|
2455
|
-
/** @deprecated use `ListDatasetDatapoints2InputAudio$inboundSchema` instead. */
|
|
2456
|
-
export const inboundSchema = ListDatasetDatapoints2InputAudio$inboundSchema;
|
|
2457
|
-
/** @deprecated use `ListDatasetDatapoints2InputAudio$outboundSchema` instead. */
|
|
2458
|
-
export const outboundSchema = ListDatasetDatapoints2InputAudio$outboundSchema;
|
|
2459
|
-
/** @deprecated use `ListDatasetDatapoints2InputAudio$Outbound` instead. */
|
|
2460
|
-
export type Outbound = ListDatasetDatapoints2InputAudio$Outbound;
|
|
2461
|
-
}
|
|
2462
|
-
|
|
2463
|
-
export function listDatasetDatapoints2InputAudioToJSON(
|
|
2464
|
-
listDatasetDatapoints2InputAudio: ListDatasetDatapoints2InputAudio,
|
|
2465
|
-
): string {
|
|
2466
|
-
return JSON.stringify(
|
|
2467
|
-
ListDatasetDatapoints2InputAudio$outboundSchema.parse(
|
|
2468
|
-
listDatasetDatapoints2InputAudio,
|
|
2469
|
-
),
|
|
2470
|
-
);
|
|
2471
|
-
}
|
|
2472
|
-
|
|
2473
|
-
export function listDatasetDatapoints2InputAudioFromJSON(
|
|
2474
|
-
jsonString: string,
|
|
2475
|
-
): SafeParseResult<ListDatasetDatapoints2InputAudio, SDKValidationError> {
|
|
2476
|
-
return safeParse(
|
|
2477
|
-
jsonString,
|
|
2478
|
-
(x) => ListDatasetDatapoints2InputAudio$inboundSchema.parse(JSON.parse(x)),
|
|
2479
|
-
`Failed to parse 'ListDatasetDatapoints2InputAudio' from JSON`,
|
|
2480
|
-
);
|
|
2481
|
-
}
|
|
2482
|
-
|
|
2483
|
-
/** @internal */
|
|
2484
|
-
export const ListDatasetDatapoints23$inboundSchema: z.ZodType<
|
|
2485
|
-
ListDatasetDatapoints23,
|
|
2486
|
-
z.ZodTypeDef,
|
|
2487
|
-
unknown
|
|
2488
|
-
> = z.object({
|
|
2489
|
-
type: ListDatasetDatapoints2DatasetsResponseType$inboundSchema,
|
|
2490
|
-
input_audio: z.lazy(() => ListDatasetDatapoints2InputAudio$inboundSchema),
|
|
2491
|
-
}).transform((v) => {
|
|
2492
|
-
return remap$(v, {
|
|
2493
|
-
"input_audio": "inputAudio",
|
|
2494
|
-
});
|
|
2495
|
-
});
|
|
2496
|
-
|
|
2497
|
-
/** @internal */
|
|
2498
|
-
export type ListDatasetDatapoints23$Outbound = {
|
|
2499
|
-
type: string;
|
|
2500
|
-
input_audio: ListDatasetDatapoints2InputAudio$Outbound;
|
|
2501
|
-
};
|
|
2502
|
-
|
|
2503
|
-
/** @internal */
|
|
2504
|
-
export const ListDatasetDatapoints23$outboundSchema: z.ZodType<
|
|
2505
|
-
ListDatasetDatapoints23$Outbound,
|
|
2506
|
-
z.ZodTypeDef,
|
|
2507
|
-
ListDatasetDatapoints23
|
|
2508
|
-
> = z.object({
|
|
2509
|
-
type: ListDatasetDatapoints2DatasetsResponseType$outboundSchema,
|
|
2510
|
-
inputAudio: z.lazy(() => ListDatasetDatapoints2InputAudio$outboundSchema),
|
|
2511
|
-
}).transform((v) => {
|
|
2512
|
-
return remap$(v, {
|
|
2513
|
-
inputAudio: "input_audio",
|
|
2514
|
-
});
|
|
2515
|
-
});
|
|
2516
|
-
|
|
2517
|
-
/**
|
|
2518
|
-
* @internal
|
|
2519
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2520
|
-
*/
|
|
2521
|
-
export namespace ListDatasetDatapoints23$ {
|
|
2522
|
-
/** @deprecated use `ListDatasetDatapoints23$inboundSchema` instead. */
|
|
2523
|
-
export const inboundSchema = ListDatasetDatapoints23$inboundSchema;
|
|
2524
|
-
/** @deprecated use `ListDatasetDatapoints23$outboundSchema` instead. */
|
|
2525
|
-
export const outboundSchema = ListDatasetDatapoints23$outboundSchema;
|
|
2526
|
-
/** @deprecated use `ListDatasetDatapoints23$Outbound` instead. */
|
|
2527
|
-
export type Outbound = ListDatasetDatapoints23$Outbound;
|
|
2528
|
-
}
|
|
2529
|
-
|
|
2530
|
-
export function listDatasetDatapoints23ToJSON(
|
|
2531
|
-
listDatasetDatapoints23: ListDatasetDatapoints23,
|
|
2532
|
-
): string {
|
|
2533
|
-
return JSON.stringify(
|
|
2534
|
-
ListDatasetDatapoints23$outboundSchema.parse(listDatasetDatapoints23),
|
|
2535
|
-
);
|
|
2536
|
-
}
|
|
2537
|
-
|
|
2538
|
-
export function listDatasetDatapoints23FromJSON(
|
|
2539
|
-
jsonString: string,
|
|
2540
|
-
): SafeParseResult<ListDatasetDatapoints23, SDKValidationError> {
|
|
2541
|
-
return safeParse(
|
|
2542
|
-
jsonString,
|
|
2543
|
-
(x) => ListDatasetDatapoints23$inboundSchema.parse(JSON.parse(x)),
|
|
2544
|
-
`Failed to parse 'ListDatasetDatapoints23' from JSON`,
|
|
2545
|
-
);
|
|
2546
|
-
}
|
|
2547
|
-
|
|
2548
|
-
/** @internal */
|
|
2549
|
-
export const ListDatasetDatapoints2DatasetsType$inboundSchema: z.ZodNativeEnum<
|
|
2550
|
-
typeof ListDatasetDatapoints2DatasetsType
|
|
2551
|
-
> = z.nativeEnum(ListDatasetDatapoints2DatasetsType);
|
|
2552
|
-
|
|
2553
|
-
/** @internal */
|
|
2554
|
-
export const ListDatasetDatapoints2DatasetsType$outboundSchema: z.ZodNativeEnum<
|
|
2555
|
-
typeof ListDatasetDatapoints2DatasetsType
|
|
2556
|
-
> = ListDatasetDatapoints2DatasetsType$inboundSchema;
|
|
2557
|
-
|
|
2558
|
-
/**
|
|
2559
|
-
* @internal
|
|
2560
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2561
|
-
*/
|
|
2562
|
-
export namespace ListDatasetDatapoints2DatasetsType$ {
|
|
2563
|
-
/** @deprecated use `ListDatasetDatapoints2DatasetsType$inboundSchema` instead. */
|
|
2564
|
-
export const inboundSchema = ListDatasetDatapoints2DatasetsType$inboundSchema;
|
|
2565
|
-
/** @deprecated use `ListDatasetDatapoints2DatasetsType$outboundSchema` instead. */
|
|
2566
|
-
export const outboundSchema =
|
|
2567
|
-
ListDatasetDatapoints2DatasetsType$outboundSchema;
|
|
2568
|
-
}
|
|
2569
|
-
|
|
2570
|
-
/** @internal */
|
|
2571
|
-
export const ListDatasetDatapoints2Detail$inboundSchema: z.ZodNativeEnum<
|
|
2572
|
-
typeof ListDatasetDatapoints2Detail
|
|
2573
|
-
> = z.nativeEnum(ListDatasetDatapoints2Detail);
|
|
2574
|
-
|
|
2575
|
-
/** @internal */
|
|
2576
|
-
export const ListDatasetDatapoints2Detail$outboundSchema: z.ZodNativeEnum<
|
|
2577
|
-
typeof ListDatasetDatapoints2Detail
|
|
2578
|
-
> = ListDatasetDatapoints2Detail$inboundSchema;
|
|
2579
|
-
|
|
2580
|
-
/**
|
|
2581
|
-
* @internal
|
|
2582
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2583
|
-
*/
|
|
2584
|
-
export namespace ListDatasetDatapoints2Detail$ {
|
|
2585
|
-
/** @deprecated use `ListDatasetDatapoints2Detail$inboundSchema` instead. */
|
|
2586
|
-
export const inboundSchema = ListDatasetDatapoints2Detail$inboundSchema;
|
|
2587
|
-
/** @deprecated use `ListDatasetDatapoints2Detail$outboundSchema` instead. */
|
|
2588
|
-
export const outboundSchema = ListDatasetDatapoints2Detail$outboundSchema;
|
|
2589
|
-
}
|
|
2590
|
-
|
|
2591
|
-
/** @internal */
|
|
2592
|
-
export const ListDatasetDatapoints2ImageUrl$inboundSchema: z.ZodType<
|
|
2593
|
-
ListDatasetDatapoints2ImageUrl,
|
|
2594
|
-
z.ZodTypeDef,
|
|
2595
|
-
unknown
|
|
2596
|
-
> = z.object({
|
|
2597
|
-
url: z.string(),
|
|
2598
|
-
detail: ListDatasetDatapoints2Detail$inboundSchema.optional(),
|
|
2599
|
-
});
|
|
2600
|
-
|
|
2601
|
-
/** @internal */
|
|
2602
|
-
export type ListDatasetDatapoints2ImageUrl$Outbound = {
|
|
2603
|
-
url: string;
|
|
2604
|
-
detail?: string | undefined;
|
|
2605
|
-
};
|
|
2606
|
-
|
|
2607
|
-
/** @internal */
|
|
2608
|
-
export const ListDatasetDatapoints2ImageUrl$outboundSchema: z.ZodType<
|
|
2609
|
-
ListDatasetDatapoints2ImageUrl$Outbound,
|
|
2610
|
-
z.ZodTypeDef,
|
|
2611
|
-
ListDatasetDatapoints2ImageUrl
|
|
2612
|
-
> = z.object({
|
|
2613
|
-
url: z.string(),
|
|
2614
|
-
detail: ListDatasetDatapoints2Detail$outboundSchema.optional(),
|
|
2615
|
-
});
|
|
2616
|
-
|
|
2617
|
-
/**
|
|
2618
|
-
* @internal
|
|
2619
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2620
|
-
*/
|
|
2621
|
-
export namespace ListDatasetDatapoints2ImageUrl$ {
|
|
2622
|
-
/** @deprecated use `ListDatasetDatapoints2ImageUrl$inboundSchema` instead. */
|
|
2623
|
-
export const inboundSchema = ListDatasetDatapoints2ImageUrl$inboundSchema;
|
|
2624
|
-
/** @deprecated use `ListDatasetDatapoints2ImageUrl$outboundSchema` instead. */
|
|
2625
|
-
export const outboundSchema = ListDatasetDatapoints2ImageUrl$outboundSchema;
|
|
2626
|
-
/** @deprecated use `ListDatasetDatapoints2ImageUrl$Outbound` instead. */
|
|
2627
|
-
export type Outbound = ListDatasetDatapoints2ImageUrl$Outbound;
|
|
2628
|
-
}
|
|
2629
|
-
|
|
2630
|
-
export function listDatasetDatapoints2ImageUrlToJSON(
|
|
2631
|
-
listDatasetDatapoints2ImageUrl: ListDatasetDatapoints2ImageUrl,
|
|
2632
|
-
): string {
|
|
2633
|
-
return JSON.stringify(
|
|
2634
|
-
ListDatasetDatapoints2ImageUrl$outboundSchema.parse(
|
|
2635
|
-
listDatasetDatapoints2ImageUrl,
|
|
2636
|
-
),
|
|
2637
|
-
);
|
|
2638
|
-
}
|
|
2639
|
-
|
|
2640
|
-
export function listDatasetDatapoints2ImageUrlFromJSON(
|
|
2641
|
-
jsonString: string,
|
|
2642
|
-
): SafeParseResult<ListDatasetDatapoints2ImageUrl, SDKValidationError> {
|
|
2643
|
-
return safeParse(
|
|
2644
|
-
jsonString,
|
|
2645
|
-
(x) => ListDatasetDatapoints2ImageUrl$inboundSchema.parse(JSON.parse(x)),
|
|
2646
|
-
`Failed to parse 'ListDatasetDatapoints2ImageUrl' from JSON`,
|
|
2647
|
-
);
|
|
2648
|
-
}
|
|
2649
|
-
|
|
2650
|
-
/** @internal */
|
|
2651
|
-
export const ListDatasetDatapoints22$inboundSchema: z.ZodType<
|
|
2652
|
-
ListDatasetDatapoints22,
|
|
2653
|
-
z.ZodTypeDef,
|
|
2654
|
-
unknown
|
|
2655
|
-
> = z.object({
|
|
2656
|
-
type: ListDatasetDatapoints2DatasetsType$inboundSchema,
|
|
2657
|
-
image_url: z.lazy(() => ListDatasetDatapoints2ImageUrl$inboundSchema),
|
|
2658
|
-
}).transform((v) => {
|
|
2659
|
-
return remap$(v, {
|
|
2660
|
-
"image_url": "imageUrl",
|
|
2661
|
-
});
|
|
2662
|
-
});
|
|
2663
|
-
|
|
2664
|
-
/** @internal */
|
|
2665
|
-
export type ListDatasetDatapoints22$Outbound = {
|
|
2666
|
-
type: string;
|
|
2667
|
-
image_url: ListDatasetDatapoints2ImageUrl$Outbound;
|
|
2668
|
-
};
|
|
2669
|
-
|
|
2670
|
-
/** @internal */
|
|
2671
|
-
export const ListDatasetDatapoints22$outboundSchema: z.ZodType<
|
|
2672
|
-
ListDatasetDatapoints22$Outbound,
|
|
2673
|
-
z.ZodTypeDef,
|
|
2674
|
-
ListDatasetDatapoints22
|
|
2675
|
-
> = z.object({
|
|
2676
|
-
type: ListDatasetDatapoints2DatasetsType$outboundSchema,
|
|
2677
|
-
imageUrl: z.lazy(() => ListDatasetDatapoints2ImageUrl$outboundSchema),
|
|
2678
|
-
}).transform((v) => {
|
|
2679
|
-
return remap$(v, {
|
|
2680
|
-
imageUrl: "image_url",
|
|
2681
|
-
});
|
|
2682
|
-
});
|
|
2683
|
-
|
|
2684
|
-
/**
|
|
2685
|
-
* @internal
|
|
2686
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2687
|
-
*/
|
|
2688
|
-
export namespace ListDatasetDatapoints22$ {
|
|
2689
|
-
/** @deprecated use `ListDatasetDatapoints22$inboundSchema` instead. */
|
|
2690
|
-
export const inboundSchema = ListDatasetDatapoints22$inboundSchema;
|
|
2691
|
-
/** @deprecated use `ListDatasetDatapoints22$outboundSchema` instead. */
|
|
2692
|
-
export const outboundSchema = ListDatasetDatapoints22$outboundSchema;
|
|
2693
|
-
/** @deprecated use `ListDatasetDatapoints22$Outbound` instead. */
|
|
2694
|
-
export type Outbound = ListDatasetDatapoints22$Outbound;
|
|
2695
|
-
}
|
|
2696
|
-
|
|
2697
|
-
export function listDatasetDatapoints22ToJSON(
|
|
2698
|
-
listDatasetDatapoints22: ListDatasetDatapoints22,
|
|
2699
|
-
): string {
|
|
2700
|
-
return JSON.stringify(
|
|
2701
|
-
ListDatasetDatapoints22$outboundSchema.parse(listDatasetDatapoints22),
|
|
2702
|
-
);
|
|
2703
|
-
}
|
|
2704
|
-
|
|
2705
|
-
export function listDatasetDatapoints22FromJSON(
|
|
2706
|
-
jsonString: string,
|
|
2707
|
-
): SafeParseResult<ListDatasetDatapoints22, SDKValidationError> {
|
|
2708
|
-
return safeParse(
|
|
2709
|
-
jsonString,
|
|
2710
|
-
(x) => ListDatasetDatapoints22$inboundSchema.parse(JSON.parse(x)),
|
|
2711
|
-
`Failed to parse 'ListDatasetDatapoints22' from JSON`,
|
|
2712
|
-
);
|
|
2713
|
-
}
|
|
2714
|
-
|
|
2715
|
-
/** @internal */
|
|
2716
|
-
export const ListDatasetDatapoints2Type$inboundSchema: z.ZodNativeEnum<
|
|
2717
|
-
typeof ListDatasetDatapoints2Type
|
|
2718
|
-
> = z.nativeEnum(ListDatasetDatapoints2Type);
|
|
2719
|
-
|
|
2720
|
-
/** @internal */
|
|
2721
|
-
export const ListDatasetDatapoints2Type$outboundSchema: z.ZodNativeEnum<
|
|
2722
|
-
typeof ListDatasetDatapoints2Type
|
|
2723
|
-
> = ListDatasetDatapoints2Type$inboundSchema;
|
|
2724
|
-
|
|
2725
|
-
/**
|
|
2726
|
-
* @internal
|
|
2727
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2728
|
-
*/
|
|
2729
|
-
export namespace ListDatasetDatapoints2Type$ {
|
|
2730
|
-
/** @deprecated use `ListDatasetDatapoints2Type$inboundSchema` instead. */
|
|
2731
|
-
export const inboundSchema = ListDatasetDatapoints2Type$inboundSchema;
|
|
2732
|
-
/** @deprecated use `ListDatasetDatapoints2Type$outboundSchema` instead. */
|
|
2733
|
-
export const outboundSchema = ListDatasetDatapoints2Type$outboundSchema;
|
|
2734
|
-
}
|
|
2735
|
-
|
|
2736
|
-
/** @internal */
|
|
2737
|
-
export const ListDatasetDatapoints21$inboundSchema: z.ZodType<
|
|
2738
|
-
ListDatasetDatapoints21,
|
|
2739
|
-
z.ZodTypeDef,
|
|
2740
|
-
unknown
|
|
2741
|
-
> = z.object({
|
|
2742
|
-
type: ListDatasetDatapoints2Type$inboundSchema,
|
|
2743
|
-
text: z.string(),
|
|
2744
|
-
});
|
|
2745
|
-
|
|
2746
|
-
/** @internal */
|
|
2747
|
-
export type ListDatasetDatapoints21$Outbound = {
|
|
2748
|
-
type: string;
|
|
2749
|
-
text: string;
|
|
2750
|
-
};
|
|
2751
|
-
|
|
2752
|
-
/** @internal */
|
|
2753
|
-
export const ListDatasetDatapoints21$outboundSchema: z.ZodType<
|
|
2754
|
-
ListDatasetDatapoints21$Outbound,
|
|
2755
|
-
z.ZodTypeDef,
|
|
2756
|
-
ListDatasetDatapoints21
|
|
2757
|
-
> = z.object({
|
|
2758
|
-
type: ListDatasetDatapoints2Type$outboundSchema,
|
|
2759
|
-
text: z.string(),
|
|
2760
|
-
});
|
|
2761
|
-
|
|
2762
|
-
/**
|
|
2763
|
-
* @internal
|
|
2764
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2765
|
-
*/
|
|
2766
|
-
export namespace ListDatasetDatapoints21$ {
|
|
2767
|
-
/** @deprecated use `ListDatasetDatapoints21$inboundSchema` instead. */
|
|
2768
|
-
export const inboundSchema = ListDatasetDatapoints21$inboundSchema;
|
|
2769
|
-
/** @deprecated use `ListDatasetDatapoints21$outboundSchema` instead. */
|
|
2770
|
-
export const outboundSchema = ListDatasetDatapoints21$outboundSchema;
|
|
2771
|
-
/** @deprecated use `ListDatasetDatapoints21$Outbound` instead. */
|
|
2772
|
-
export type Outbound = ListDatasetDatapoints21$Outbound;
|
|
2773
|
-
}
|
|
2774
|
-
|
|
2775
|
-
export function listDatasetDatapoints21ToJSON(
|
|
2776
|
-
listDatasetDatapoints21: ListDatasetDatapoints21,
|
|
2777
|
-
): string {
|
|
2778
|
-
return JSON.stringify(
|
|
2779
|
-
ListDatasetDatapoints21$outboundSchema.parse(listDatasetDatapoints21),
|
|
2780
|
-
);
|
|
2781
|
-
}
|
|
2782
|
-
|
|
2783
|
-
export function listDatasetDatapoints21FromJSON(
|
|
2784
|
-
jsonString: string,
|
|
2785
|
-
): SafeParseResult<ListDatasetDatapoints21, SDKValidationError> {
|
|
2786
|
-
return safeParse(
|
|
2787
|
-
jsonString,
|
|
2788
|
-
(x) => ListDatasetDatapoints21$inboundSchema.parse(JSON.parse(x)),
|
|
2789
|
-
`Failed to parse 'ListDatasetDatapoints21' from JSON`,
|
|
2790
|
-
);
|
|
2791
|
-
}
|
|
2792
|
-
|
|
2793
|
-
/** @internal */
|
|
2794
|
-
export const ListDatasetDatapointsContent2$inboundSchema: z.ZodType<
|
|
2795
|
-
ListDatasetDatapointsContent2,
|
|
2796
|
-
z.ZodTypeDef,
|
|
2797
|
-
unknown
|
|
2798
|
-
> = z.union([
|
|
2799
|
-
z.lazy(() => ListDatasetDatapoints21$inboundSchema),
|
|
2800
|
-
z.lazy(() => ListDatasetDatapoints22$inboundSchema),
|
|
2801
|
-
z.lazy(() => ListDatasetDatapoints23$inboundSchema),
|
|
2802
|
-
z.lazy(() => ListDatasetDatapoints24$inboundSchema),
|
|
2803
|
-
]);
|
|
2804
|
-
|
|
2805
|
-
/** @internal */
|
|
2806
|
-
export type ListDatasetDatapointsContent2$Outbound =
|
|
2807
|
-
| ListDatasetDatapoints21$Outbound
|
|
2808
|
-
| ListDatasetDatapoints22$Outbound
|
|
2809
|
-
| ListDatasetDatapoints23$Outbound
|
|
2810
|
-
| ListDatasetDatapoints24$Outbound;
|
|
2811
|
-
|
|
2812
|
-
/** @internal */
|
|
2813
|
-
export const ListDatasetDatapointsContent2$outboundSchema: z.ZodType<
|
|
2814
|
-
ListDatasetDatapointsContent2$Outbound,
|
|
2815
|
-
z.ZodTypeDef,
|
|
2816
|
-
ListDatasetDatapointsContent2
|
|
2817
|
-
> = z.union([
|
|
2818
|
-
z.lazy(() => ListDatasetDatapoints21$outboundSchema),
|
|
2819
|
-
z.lazy(() => ListDatasetDatapoints22$outboundSchema),
|
|
2820
|
-
z.lazy(() => ListDatasetDatapoints23$outboundSchema),
|
|
2821
|
-
z.lazy(() => ListDatasetDatapoints24$outboundSchema),
|
|
2822
|
-
]);
|
|
2823
|
-
|
|
2824
|
-
/**
|
|
2825
|
-
* @internal
|
|
2826
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2827
|
-
*/
|
|
2828
|
-
export namespace ListDatasetDatapointsContent2$ {
|
|
2829
|
-
/** @deprecated use `ListDatasetDatapointsContent2$inboundSchema` instead. */
|
|
2830
|
-
export const inboundSchema = ListDatasetDatapointsContent2$inboundSchema;
|
|
2831
|
-
/** @deprecated use `ListDatasetDatapointsContent2$outboundSchema` instead. */
|
|
2832
|
-
export const outboundSchema = ListDatasetDatapointsContent2$outboundSchema;
|
|
2833
|
-
/** @deprecated use `ListDatasetDatapointsContent2$Outbound` instead. */
|
|
2834
|
-
export type Outbound = ListDatasetDatapointsContent2$Outbound;
|
|
2835
|
-
}
|
|
2836
|
-
|
|
2837
|
-
export function listDatasetDatapointsContent2ToJSON(
|
|
2838
|
-
listDatasetDatapointsContent2: ListDatasetDatapointsContent2,
|
|
2839
|
-
): string {
|
|
2840
|
-
return JSON.stringify(
|
|
2841
|
-
ListDatasetDatapointsContent2$outboundSchema.parse(
|
|
2842
|
-
listDatasetDatapointsContent2,
|
|
2843
|
-
),
|
|
2844
|
-
);
|
|
2845
|
-
}
|
|
2846
|
-
|
|
2847
|
-
export function listDatasetDatapointsContent2FromJSON(
|
|
2848
|
-
jsonString: string,
|
|
2849
|
-
): SafeParseResult<ListDatasetDatapointsContent2, SDKValidationError> {
|
|
2850
|
-
return safeParse(
|
|
2851
|
-
jsonString,
|
|
2852
|
-
(x) => ListDatasetDatapointsContent2$inboundSchema.parse(JSON.parse(x)),
|
|
2853
|
-
`Failed to parse 'ListDatasetDatapointsContent2' from JSON`,
|
|
2854
|
-
);
|
|
2855
|
-
}
|
|
2856
|
-
|
|
2857
|
-
/** @internal */
|
|
2858
|
-
export const ListDatasetDatapointsMessagesContent$inboundSchema: z.ZodType<
|
|
2859
|
-
ListDatasetDatapointsMessagesContent,
|
|
2860
|
-
z.ZodTypeDef,
|
|
2861
|
-
unknown
|
|
2862
|
-
> = z.union([
|
|
2863
|
-
z.string(),
|
|
2864
|
-
z.array(z.union([
|
|
2865
|
-
z.lazy(() => ListDatasetDatapoints21$inboundSchema),
|
|
2866
|
-
z.lazy(() => ListDatasetDatapoints22$inboundSchema),
|
|
2867
|
-
z.lazy(() => ListDatasetDatapoints23$inboundSchema),
|
|
2868
|
-
z.lazy(() => ListDatasetDatapoints24$inboundSchema),
|
|
2869
|
-
])),
|
|
2870
|
-
]);
|
|
2871
|
-
|
|
2872
|
-
/** @internal */
|
|
2873
|
-
export type ListDatasetDatapointsMessagesContent$Outbound =
|
|
2874
|
-
| string
|
|
2875
|
-
| Array<
|
|
2876
|
-
| ListDatasetDatapoints21$Outbound
|
|
2877
|
-
| ListDatasetDatapoints22$Outbound
|
|
2878
|
-
| ListDatasetDatapoints23$Outbound
|
|
2879
|
-
| ListDatasetDatapoints24$Outbound
|
|
2880
|
-
>;
|
|
2881
|
-
|
|
2882
|
-
/** @internal */
|
|
2883
|
-
export const ListDatasetDatapointsMessagesContent$outboundSchema: z.ZodType<
|
|
2884
|
-
ListDatasetDatapointsMessagesContent$Outbound,
|
|
2885
|
-
z.ZodTypeDef,
|
|
2886
|
-
ListDatasetDatapointsMessagesContent
|
|
2887
|
-
> = z.union([
|
|
2888
|
-
z.string(),
|
|
2889
|
-
z.array(z.union([
|
|
2890
|
-
z.lazy(() => ListDatasetDatapoints21$outboundSchema),
|
|
2891
|
-
z.lazy(() => ListDatasetDatapoints22$outboundSchema),
|
|
2892
|
-
z.lazy(() => ListDatasetDatapoints23$outboundSchema),
|
|
2893
|
-
z.lazy(() => ListDatasetDatapoints24$outboundSchema),
|
|
2894
|
-
])),
|
|
2895
|
-
]);
|
|
2896
|
-
|
|
2897
|
-
/**
|
|
2898
|
-
* @internal
|
|
2899
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2900
|
-
*/
|
|
2901
|
-
export namespace ListDatasetDatapointsMessagesContent$ {
|
|
2902
|
-
/** @deprecated use `ListDatasetDatapointsMessagesContent$inboundSchema` instead. */
|
|
2903
|
-
export const inboundSchema =
|
|
2904
|
-
ListDatasetDatapointsMessagesContent$inboundSchema;
|
|
2905
|
-
/** @deprecated use `ListDatasetDatapointsMessagesContent$outboundSchema` instead. */
|
|
2906
|
-
export const outboundSchema =
|
|
2907
|
-
ListDatasetDatapointsMessagesContent$outboundSchema;
|
|
2908
|
-
/** @deprecated use `ListDatasetDatapointsMessagesContent$Outbound` instead. */
|
|
2909
|
-
export type Outbound = ListDatasetDatapointsMessagesContent$Outbound;
|
|
2910
|
-
}
|
|
2911
|
-
|
|
2912
|
-
export function listDatasetDatapointsMessagesContentToJSON(
|
|
2913
|
-
listDatasetDatapointsMessagesContent: ListDatasetDatapointsMessagesContent,
|
|
2914
|
-
): string {
|
|
2915
|
-
return JSON.stringify(
|
|
2916
|
-
ListDatasetDatapointsMessagesContent$outboundSchema.parse(
|
|
2917
|
-
listDatasetDatapointsMessagesContent,
|
|
2918
|
-
),
|
|
2919
|
-
);
|
|
2920
|
-
}
|
|
2921
|
-
|
|
2922
|
-
export function listDatasetDatapointsMessagesContentFromJSON(
|
|
2923
|
-
jsonString: string,
|
|
2924
|
-
): SafeParseResult<ListDatasetDatapointsMessagesContent, SDKValidationError> {
|
|
2925
|
-
return safeParse(
|
|
2926
|
-
jsonString,
|
|
2927
|
-
(x) =>
|
|
2928
|
-
ListDatasetDatapointsMessagesContent$inboundSchema.parse(JSON.parse(x)),
|
|
2929
|
-
`Failed to parse 'ListDatasetDatapointsMessagesContent' from JSON`,
|
|
2930
|
-
);
|
|
2931
|
-
}
|
|
2932
|
-
|
|
2933
|
-
/** @internal */
|
|
2934
|
-
export const ListDatasetDatapointsMessagesUserMessage$inboundSchema: z.ZodType<
|
|
2935
|
-
ListDatasetDatapointsMessagesUserMessage,
|
|
2936
|
-
z.ZodTypeDef,
|
|
2937
|
-
unknown
|
|
2938
|
-
> = z.object({
|
|
2939
|
-
role: ListDatasetDatapointsMessagesDatasetsResponseRole$inboundSchema,
|
|
2940
|
-
name: z.string().optional(),
|
|
2941
|
-
content: z.union([
|
|
2942
|
-
z.string(),
|
|
2943
|
-
z.array(z.union([
|
|
2944
|
-
z.lazy(() => ListDatasetDatapoints21$inboundSchema),
|
|
2945
|
-
z.lazy(() => ListDatasetDatapoints22$inboundSchema),
|
|
2946
|
-
z.lazy(() => ListDatasetDatapoints23$inboundSchema),
|
|
2947
|
-
z.lazy(() => ListDatasetDatapoints24$inboundSchema),
|
|
2948
|
-
])),
|
|
2949
|
-
]),
|
|
2950
|
-
});
|
|
2951
|
-
|
|
2952
|
-
/** @internal */
|
|
2953
|
-
export type ListDatasetDatapointsMessagesUserMessage$Outbound = {
|
|
2954
|
-
role: string;
|
|
2955
|
-
name?: string | undefined;
|
|
2956
|
-
content:
|
|
2957
|
-
| string
|
|
2958
|
-
| Array<
|
|
2959
|
-
| ListDatasetDatapoints21$Outbound
|
|
2960
|
-
| ListDatasetDatapoints22$Outbound
|
|
2961
|
-
| ListDatasetDatapoints23$Outbound
|
|
2962
|
-
| ListDatasetDatapoints24$Outbound
|
|
2963
|
-
>;
|
|
2964
|
-
};
|
|
2965
|
-
|
|
2966
|
-
/** @internal */
|
|
2967
|
-
export const ListDatasetDatapointsMessagesUserMessage$outboundSchema: z.ZodType<
|
|
2968
|
-
ListDatasetDatapointsMessagesUserMessage$Outbound,
|
|
2969
|
-
z.ZodTypeDef,
|
|
2970
|
-
ListDatasetDatapointsMessagesUserMessage
|
|
2971
|
-
> = z.object({
|
|
2972
|
-
role: ListDatasetDatapointsMessagesDatasetsResponseRole$outboundSchema,
|
|
2973
|
-
name: z.string().optional(),
|
|
2974
|
-
content: z.union([
|
|
2975
|
-
z.string(),
|
|
2976
|
-
z.array(z.union([
|
|
2977
|
-
z.lazy(() => ListDatasetDatapoints21$outboundSchema),
|
|
2978
|
-
z.lazy(() => ListDatasetDatapoints22$outboundSchema),
|
|
2979
|
-
z.lazy(() => ListDatasetDatapoints23$outboundSchema),
|
|
2980
|
-
z.lazy(() => ListDatasetDatapoints24$outboundSchema),
|
|
2981
|
-
])),
|
|
2982
|
-
]),
|
|
2983
|
-
});
|
|
2984
|
-
|
|
2985
|
-
/**
|
|
2986
|
-
* @internal
|
|
2987
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2988
|
-
*/
|
|
2989
|
-
export namespace ListDatasetDatapointsMessagesUserMessage$ {
|
|
2990
|
-
/** @deprecated use `ListDatasetDatapointsMessagesUserMessage$inboundSchema` instead. */
|
|
2991
|
-
export const inboundSchema =
|
|
2992
|
-
ListDatasetDatapointsMessagesUserMessage$inboundSchema;
|
|
2993
|
-
/** @deprecated use `ListDatasetDatapointsMessagesUserMessage$outboundSchema` instead. */
|
|
2994
|
-
export const outboundSchema =
|
|
2995
|
-
ListDatasetDatapointsMessagesUserMessage$outboundSchema;
|
|
2996
|
-
/** @deprecated use `ListDatasetDatapointsMessagesUserMessage$Outbound` instead. */
|
|
2997
|
-
export type Outbound = ListDatasetDatapointsMessagesUserMessage$Outbound;
|
|
2998
|
-
}
|
|
2999
|
-
|
|
3000
|
-
export function listDatasetDatapointsMessagesUserMessageToJSON(
|
|
3001
|
-
listDatasetDatapointsMessagesUserMessage:
|
|
3002
|
-
ListDatasetDatapointsMessagesUserMessage,
|
|
3003
|
-
): string {
|
|
3004
|
-
return JSON.stringify(
|
|
3005
|
-
ListDatasetDatapointsMessagesUserMessage$outboundSchema.parse(
|
|
3006
|
-
listDatasetDatapointsMessagesUserMessage,
|
|
3007
|
-
),
|
|
3008
|
-
);
|
|
3009
|
-
}
|
|
3010
|
-
|
|
3011
|
-
export function listDatasetDatapointsMessagesUserMessageFromJSON(
|
|
3012
|
-
jsonString: string,
|
|
3013
|
-
): SafeParseResult<
|
|
3014
|
-
ListDatasetDatapointsMessagesUserMessage,
|
|
3015
|
-
SDKValidationError
|
|
3016
|
-
> {
|
|
3017
|
-
return safeParse(
|
|
3018
|
-
jsonString,
|
|
3019
|
-
(x) =>
|
|
3020
|
-
ListDatasetDatapointsMessagesUserMessage$inboundSchema.parse(
|
|
3021
|
-
JSON.parse(x),
|
|
3022
|
-
),
|
|
3023
|
-
`Failed to parse 'ListDatasetDatapointsMessagesUserMessage' from JSON`,
|
|
3024
|
-
);
|
|
3025
|
-
}
|
|
3026
|
-
|
|
3027
|
-
/** @internal */
|
|
3028
|
-
export const ListDatasetDatapointsMessagesDatasetsRole$inboundSchema:
|
|
3029
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsMessagesDatasetsRole> = z
|
|
3030
|
-
.nativeEnum(ListDatasetDatapointsMessagesDatasetsRole);
|
|
3031
|
-
|
|
3032
|
-
/** @internal */
|
|
3033
|
-
export const ListDatasetDatapointsMessagesDatasetsRole$outboundSchema:
|
|
3034
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsMessagesDatasetsRole> =
|
|
3035
|
-
ListDatasetDatapointsMessagesDatasetsRole$inboundSchema;
|
|
3036
|
-
|
|
3037
|
-
/**
|
|
3038
|
-
* @internal
|
|
3039
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3040
|
-
*/
|
|
3041
|
-
export namespace ListDatasetDatapointsMessagesDatasetsRole$ {
|
|
3042
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsRole$inboundSchema` instead. */
|
|
3043
|
-
export const inboundSchema =
|
|
3044
|
-
ListDatasetDatapointsMessagesDatasetsRole$inboundSchema;
|
|
3045
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDatasetsRole$outboundSchema` instead. */
|
|
3046
|
-
export const outboundSchema =
|
|
3047
|
-
ListDatasetDatapointsMessagesDatasetsRole$outboundSchema;
|
|
3048
|
-
}
|
|
3049
|
-
|
|
3050
|
-
/** @internal */
|
|
3051
|
-
export const ListDatasetDatapointsMessagesSystemMessage$inboundSchema:
|
|
3052
|
-
z.ZodType<ListDatasetDatapointsMessagesSystemMessage, z.ZodTypeDef, unknown> =
|
|
3053
|
-
z.object({
|
|
3054
|
-
role: ListDatasetDatapointsMessagesDatasetsRole$inboundSchema,
|
|
3055
|
-
content: z.string(),
|
|
3056
|
-
name: z.string().optional(),
|
|
3057
|
-
});
|
|
3058
|
-
|
|
3059
|
-
/** @internal */
|
|
3060
|
-
export type ListDatasetDatapointsMessagesSystemMessage$Outbound = {
|
|
3061
|
-
role: string;
|
|
3062
|
-
content: string;
|
|
3063
|
-
name?: string | undefined;
|
|
3064
|
-
};
|
|
3065
|
-
|
|
3066
|
-
/** @internal */
|
|
3067
|
-
export const ListDatasetDatapointsMessagesSystemMessage$outboundSchema:
|
|
3068
|
-
z.ZodType<
|
|
3069
|
-
ListDatasetDatapointsMessagesSystemMessage$Outbound,
|
|
3070
|
-
z.ZodTypeDef,
|
|
3071
|
-
ListDatasetDatapointsMessagesSystemMessage
|
|
3072
|
-
> = z.object({
|
|
3073
|
-
role: ListDatasetDatapointsMessagesDatasetsRole$outboundSchema,
|
|
3074
|
-
content: z.string(),
|
|
3075
|
-
name: z.string().optional(),
|
|
3076
|
-
});
|
|
3077
|
-
|
|
3078
|
-
/**
|
|
3079
|
-
* @internal
|
|
3080
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3081
|
-
*/
|
|
3082
|
-
export namespace ListDatasetDatapointsMessagesSystemMessage$ {
|
|
3083
|
-
/** @deprecated use `ListDatasetDatapointsMessagesSystemMessage$inboundSchema` instead. */
|
|
3084
|
-
export const inboundSchema =
|
|
3085
|
-
ListDatasetDatapointsMessagesSystemMessage$inboundSchema;
|
|
3086
|
-
/** @deprecated use `ListDatasetDatapointsMessagesSystemMessage$outboundSchema` instead. */
|
|
3087
|
-
export const outboundSchema =
|
|
3088
|
-
ListDatasetDatapointsMessagesSystemMessage$outboundSchema;
|
|
3089
|
-
/** @deprecated use `ListDatasetDatapointsMessagesSystemMessage$Outbound` instead. */
|
|
3090
|
-
export type Outbound = ListDatasetDatapointsMessagesSystemMessage$Outbound;
|
|
3091
|
-
}
|
|
3092
|
-
|
|
3093
|
-
export function listDatasetDatapointsMessagesSystemMessageToJSON(
|
|
3094
|
-
listDatasetDatapointsMessagesSystemMessage:
|
|
3095
|
-
ListDatasetDatapointsMessagesSystemMessage,
|
|
3096
|
-
): string {
|
|
3097
|
-
return JSON.stringify(
|
|
3098
|
-
ListDatasetDatapointsMessagesSystemMessage$outboundSchema.parse(
|
|
3099
|
-
listDatasetDatapointsMessagesSystemMessage,
|
|
3100
|
-
),
|
|
3101
|
-
);
|
|
3102
|
-
}
|
|
3103
|
-
|
|
3104
|
-
export function listDatasetDatapointsMessagesSystemMessageFromJSON(
|
|
3105
|
-
jsonString: string,
|
|
3106
|
-
): SafeParseResult<
|
|
3107
|
-
ListDatasetDatapointsMessagesSystemMessage,
|
|
3108
|
-
SDKValidationError
|
|
3109
|
-
> {
|
|
3110
|
-
return safeParse(
|
|
3111
|
-
jsonString,
|
|
3112
|
-
(x) =>
|
|
3113
|
-
ListDatasetDatapointsMessagesSystemMessage$inboundSchema.parse(
|
|
3114
|
-
JSON.parse(x),
|
|
3115
|
-
),
|
|
3116
|
-
`Failed to parse 'ListDatasetDatapointsMessagesSystemMessage' from JSON`,
|
|
3117
|
-
);
|
|
3118
|
-
}
|
|
3119
|
-
|
|
3120
|
-
/** @internal */
|
|
3121
|
-
export const ListDatasetDatapointsMessagesRole$inboundSchema: z.ZodNativeEnum<
|
|
3122
|
-
typeof ListDatasetDatapointsMessagesRole
|
|
3123
|
-
> = z.nativeEnum(ListDatasetDatapointsMessagesRole);
|
|
3124
|
-
|
|
3125
|
-
/** @internal */
|
|
3126
|
-
export const ListDatasetDatapointsMessagesRole$outboundSchema: z.ZodNativeEnum<
|
|
3127
|
-
typeof ListDatasetDatapointsMessagesRole
|
|
3128
|
-
> = ListDatasetDatapointsMessagesRole$inboundSchema;
|
|
3129
|
-
|
|
3130
|
-
/**
|
|
3131
|
-
* @internal
|
|
3132
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3133
|
-
*/
|
|
3134
|
-
export namespace ListDatasetDatapointsMessagesRole$ {
|
|
3135
|
-
/** @deprecated use `ListDatasetDatapointsMessagesRole$inboundSchema` instead. */
|
|
3136
|
-
export const inboundSchema = ListDatasetDatapointsMessagesRole$inboundSchema;
|
|
3137
|
-
/** @deprecated use `ListDatasetDatapointsMessagesRole$outboundSchema` instead. */
|
|
3138
|
-
export const outboundSchema =
|
|
3139
|
-
ListDatasetDatapointsMessagesRole$outboundSchema;
|
|
3140
|
-
}
|
|
3141
|
-
|
|
3142
|
-
/** @internal */
|
|
3143
|
-
export const ListDatasetDatapointsMessagesDeveloperMessage$inboundSchema:
|
|
3144
|
-
z.ZodType<
|
|
3145
|
-
ListDatasetDatapointsMessagesDeveloperMessage,
|
|
3146
|
-
z.ZodTypeDef,
|
|
3147
|
-
unknown
|
|
3148
|
-
> = z.object({
|
|
3149
|
-
role: ListDatasetDatapointsMessagesRole$inboundSchema,
|
|
3150
|
-
content: z.string(),
|
|
3151
|
-
name: z.string().optional(),
|
|
3152
|
-
});
|
|
3153
|
-
|
|
3154
|
-
/** @internal */
|
|
3155
|
-
export type ListDatasetDatapointsMessagesDeveloperMessage$Outbound = {
|
|
3156
|
-
role: string;
|
|
3157
|
-
content: string;
|
|
3158
|
-
name?: string | undefined;
|
|
3159
|
-
};
|
|
3160
|
-
|
|
3161
|
-
/** @internal */
|
|
3162
|
-
export const ListDatasetDatapointsMessagesDeveloperMessage$outboundSchema:
|
|
3163
|
-
z.ZodType<
|
|
3164
|
-
ListDatasetDatapointsMessagesDeveloperMessage$Outbound,
|
|
3165
|
-
z.ZodTypeDef,
|
|
3166
|
-
ListDatasetDatapointsMessagesDeveloperMessage
|
|
3167
|
-
> = z.object({
|
|
3168
|
-
role: ListDatasetDatapointsMessagesRole$outboundSchema,
|
|
3169
|
-
content: z.string(),
|
|
3170
|
-
name: z.string().optional(),
|
|
3171
|
-
});
|
|
3172
|
-
|
|
3173
|
-
/**
|
|
3174
|
-
* @internal
|
|
3175
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3176
|
-
*/
|
|
3177
|
-
export namespace ListDatasetDatapointsMessagesDeveloperMessage$ {
|
|
3178
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDeveloperMessage$inboundSchema` instead. */
|
|
3179
|
-
export const inboundSchema =
|
|
3180
|
-
ListDatasetDatapointsMessagesDeveloperMessage$inboundSchema;
|
|
3181
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDeveloperMessage$outboundSchema` instead. */
|
|
3182
|
-
export const outboundSchema =
|
|
3183
|
-
ListDatasetDatapointsMessagesDeveloperMessage$outboundSchema;
|
|
3184
|
-
/** @deprecated use `ListDatasetDatapointsMessagesDeveloperMessage$Outbound` instead. */
|
|
3185
|
-
export type Outbound = ListDatasetDatapointsMessagesDeveloperMessage$Outbound;
|
|
3186
|
-
}
|
|
3187
|
-
|
|
3188
|
-
export function listDatasetDatapointsMessagesDeveloperMessageToJSON(
|
|
3189
|
-
listDatasetDatapointsMessagesDeveloperMessage:
|
|
3190
|
-
ListDatasetDatapointsMessagesDeveloperMessage,
|
|
3191
|
-
): string {
|
|
3192
|
-
return JSON.stringify(
|
|
3193
|
-
ListDatasetDatapointsMessagesDeveloperMessage$outboundSchema.parse(
|
|
3194
|
-
listDatasetDatapointsMessagesDeveloperMessage,
|
|
3195
|
-
),
|
|
3196
|
-
);
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
|
-
export function listDatasetDatapointsMessagesDeveloperMessageFromJSON(
|
|
3200
|
-
jsonString: string,
|
|
3201
|
-
): SafeParseResult<
|
|
3202
|
-
ListDatasetDatapointsMessagesDeveloperMessage,
|
|
3203
|
-
SDKValidationError
|
|
3204
|
-
> {
|
|
3205
|
-
return safeParse(
|
|
3206
|
-
jsonString,
|
|
3207
|
-
(x) =>
|
|
3208
|
-
ListDatasetDatapointsMessagesDeveloperMessage$inboundSchema.parse(
|
|
3209
|
-
JSON.parse(x),
|
|
3210
|
-
),
|
|
3211
|
-
`Failed to parse 'ListDatasetDatapointsMessagesDeveloperMessage' from JSON`,
|
|
3212
|
-
);
|
|
3213
|
-
}
|
|
3214
|
-
|
|
3215
|
-
/** @internal */
|
|
3216
|
-
export const ListDatasetDatapointsMessages$inboundSchema: z.ZodType<
|
|
3217
|
-
ListDatasetDatapointsMessages,
|
|
3218
|
-
z.ZodTypeDef,
|
|
3219
|
-
unknown
|
|
3220
|
-
> = z.union([
|
|
3221
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$inboundSchema),
|
|
3222
|
-
z.lazy(() => ListDatasetDatapointsMessagesDeveloperMessage$inboundSchema),
|
|
3223
|
-
z.lazy(() => ListDatasetDatapointsMessagesSystemMessage$inboundSchema),
|
|
3224
|
-
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$inboundSchema),
|
|
3225
|
-
z.lazy(() => ListDatasetDatapointsMessagesAssistantMessage$inboundSchema),
|
|
3226
|
-
]);
|
|
3227
|
-
|
|
3228
|
-
/** @internal */
|
|
3229
|
-
export type ListDatasetDatapointsMessages$Outbound =
|
|
3230
|
-
| ListDatasetDatapointsMessagesToolMessage$Outbound
|
|
3231
|
-
| ListDatasetDatapointsMessagesDeveloperMessage$Outbound
|
|
3232
|
-
| ListDatasetDatapointsMessagesSystemMessage$Outbound
|
|
3233
|
-
| ListDatasetDatapointsMessagesUserMessage$Outbound
|
|
3234
|
-
| ListDatasetDatapointsMessagesAssistantMessage$Outbound;
|
|
3235
|
-
|
|
3236
|
-
/** @internal */
|
|
3237
|
-
export const ListDatasetDatapointsMessages$outboundSchema: z.ZodType<
|
|
3238
|
-
ListDatasetDatapointsMessages$Outbound,
|
|
3239
|
-
z.ZodTypeDef,
|
|
3240
|
-
ListDatasetDatapointsMessages
|
|
3241
|
-
> = z.union([
|
|
3242
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$outboundSchema),
|
|
3243
|
-
z.lazy(() => ListDatasetDatapointsMessagesDeveloperMessage$outboundSchema),
|
|
3244
|
-
z.lazy(() => ListDatasetDatapointsMessagesSystemMessage$outboundSchema),
|
|
3245
|
-
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$outboundSchema),
|
|
3246
|
-
z.lazy(() => ListDatasetDatapointsMessagesAssistantMessage$outboundSchema),
|
|
3247
|
-
]);
|
|
3248
|
-
|
|
3249
|
-
/**
|
|
3250
|
-
* @internal
|
|
3251
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3252
|
-
*/
|
|
3253
|
-
export namespace ListDatasetDatapointsMessages$ {
|
|
3254
|
-
/** @deprecated use `ListDatasetDatapointsMessages$inboundSchema` instead. */
|
|
3255
|
-
export const inboundSchema = ListDatasetDatapointsMessages$inboundSchema;
|
|
3256
|
-
/** @deprecated use `ListDatasetDatapointsMessages$outboundSchema` instead. */
|
|
3257
|
-
export const outboundSchema = ListDatasetDatapointsMessages$outboundSchema;
|
|
3258
|
-
/** @deprecated use `ListDatasetDatapointsMessages$Outbound` instead. */
|
|
3259
|
-
export type Outbound = ListDatasetDatapointsMessages$Outbound;
|
|
3260
|
-
}
|
|
3261
|
-
|
|
3262
|
-
export function listDatasetDatapointsMessagesToJSON(
|
|
3263
|
-
listDatasetDatapointsMessages: ListDatasetDatapointsMessages,
|
|
3264
|
-
): string {
|
|
3265
|
-
return JSON.stringify(
|
|
3266
|
-
ListDatasetDatapointsMessages$outboundSchema.parse(
|
|
3267
|
-
listDatasetDatapointsMessages,
|
|
3268
|
-
),
|
|
3269
|
-
);
|
|
3270
|
-
}
|
|
3271
|
-
|
|
3272
|
-
export function listDatasetDatapointsMessagesFromJSON(
|
|
3273
|
-
jsonString: string,
|
|
3274
|
-
): SafeParseResult<ListDatasetDatapointsMessages, SDKValidationError> {
|
|
3275
|
-
return safeParse(
|
|
3276
|
-
jsonString,
|
|
3277
|
-
(x) => ListDatasetDatapointsMessages$inboundSchema.parse(JSON.parse(x)),
|
|
3278
|
-
`Failed to parse 'ListDatasetDatapointsMessages' from JSON`,
|
|
3279
|
-
);
|
|
3280
|
-
}
|
|
3281
|
-
|
|
3282
|
-
/** @internal */
|
|
3283
|
-
export const ListDatasetDatapointsEvaluationsEvaluationType$inboundSchema:
|
|
3284
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsEvaluationType> = z
|
|
3285
|
-
.nativeEnum(ListDatasetDatapointsEvaluationsEvaluationType);
|
|
3286
|
-
|
|
3287
|
-
/** @internal */
|
|
3288
|
-
export const ListDatasetDatapointsEvaluationsEvaluationType$outboundSchema:
|
|
3289
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsEvaluationType> =
|
|
3290
|
-
ListDatasetDatapointsEvaluationsEvaluationType$inboundSchema;
|
|
3291
|
-
|
|
3292
|
-
/**
|
|
3293
|
-
* @internal
|
|
3294
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3295
|
-
*/
|
|
3296
|
-
export namespace ListDatasetDatapointsEvaluationsEvaluationType$ {
|
|
3297
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsEvaluationType$inboundSchema` instead. */
|
|
3298
|
-
export const inboundSchema =
|
|
3299
|
-
ListDatasetDatapointsEvaluationsEvaluationType$inboundSchema;
|
|
3300
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsEvaluationType$outboundSchema` instead. */
|
|
3301
|
-
export const outboundSchema =
|
|
3302
|
-
ListDatasetDatapointsEvaluationsEvaluationType$outboundSchema;
|
|
3303
|
-
}
|
|
3304
|
-
|
|
3305
|
-
/** @internal */
|
|
3306
|
-
export const ListDatasetDatapointsEvaluationsSource$inboundSchema:
|
|
3307
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsSource> = z.nativeEnum(
|
|
3308
|
-
ListDatasetDatapointsEvaluationsSource,
|
|
3309
|
-
);
|
|
3310
|
-
|
|
3311
|
-
/** @internal */
|
|
3312
|
-
export const ListDatasetDatapointsEvaluationsSource$outboundSchema:
|
|
3313
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsSource> =
|
|
3314
|
-
ListDatasetDatapointsEvaluationsSource$inboundSchema;
|
|
3315
|
-
|
|
3316
|
-
/**
|
|
3317
|
-
* @internal
|
|
3318
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3319
|
-
*/
|
|
3320
|
-
export namespace ListDatasetDatapointsEvaluationsSource$ {
|
|
3321
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsSource$inboundSchema` instead. */
|
|
3322
|
-
export const inboundSchema =
|
|
3323
|
-
ListDatasetDatapointsEvaluationsSource$inboundSchema;
|
|
3324
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsSource$outboundSchema` instead. */
|
|
3325
|
-
export const outboundSchema =
|
|
3326
|
-
ListDatasetDatapointsEvaluationsSource$outboundSchema;
|
|
3327
|
-
}
|
|
3328
|
-
|
|
3329
|
-
/** @internal */
|
|
3330
|
-
export const ListDatasetDatapointsEvaluationsDatasetsType$inboundSchema:
|
|
3331
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsDatasetsType> = z
|
|
3332
|
-
.nativeEnum(ListDatasetDatapointsEvaluationsDatasetsType);
|
|
3333
|
-
|
|
3334
|
-
/** @internal */
|
|
3335
|
-
export const ListDatasetDatapointsEvaluationsDatasetsType$outboundSchema:
|
|
3336
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsDatasetsType> =
|
|
3337
|
-
ListDatasetDatapointsEvaluationsDatasetsType$inboundSchema;
|
|
3338
|
-
|
|
3339
|
-
/**
|
|
3340
|
-
* @internal
|
|
3341
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3342
|
-
*/
|
|
3343
|
-
export namespace ListDatasetDatapointsEvaluationsDatasetsType$ {
|
|
3344
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsType$inboundSchema` instead. */
|
|
3345
|
-
export const inboundSchema =
|
|
3346
|
-
ListDatasetDatapointsEvaluationsDatasetsType$inboundSchema;
|
|
3347
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsType$outboundSchema` instead. */
|
|
3348
|
-
export const outboundSchema =
|
|
3349
|
-
ListDatasetDatapointsEvaluationsDatasetsType$outboundSchema;
|
|
3350
|
-
}
|
|
3351
|
-
|
|
3352
|
-
/** @internal */
|
|
3353
|
-
export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
3354
|
-
ListDatasetDatapointsEvaluations3,
|
|
3355
|
-
z.ZodTypeDef,
|
|
3356
|
-
unknown
|
|
3357
|
-
> = z.object({
|
|
3358
|
-
id: z.string(),
|
|
3359
|
-
evaluation_type: ListDatasetDatapointsEvaluationsEvaluationType$inboundSchema,
|
|
3360
|
-
human_review_id: z.string(),
|
|
3361
|
-
source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
3362
|
-
reviewed_by_id: z.string(),
|
|
3363
|
-
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3364
|
-
"2025-10-31T10:52:06.488Z",
|
|
3365
|
-
).transform(v => new Date(v)),
|
|
3366
|
-
type: ListDatasetDatapointsEvaluationsDatasetsType$inboundSchema,
|
|
3367
|
-
values: z.array(z.string()),
|
|
3368
|
-
}).transform((v) => {
|
|
3369
|
-
return remap$(v, {
|
|
3370
|
-
"evaluation_type": "evaluationType",
|
|
3371
|
-
"human_review_id": "humanReviewId",
|
|
3372
|
-
"reviewed_by_id": "reviewedById",
|
|
3373
|
-
"reviewed_at": "reviewedAt",
|
|
3374
|
-
});
|
|
3375
|
-
});
|
|
3376
|
-
|
|
3377
|
-
/** @internal */
|
|
3378
|
-
export type ListDatasetDatapointsEvaluations3$Outbound = {
|
|
3379
|
-
id: string;
|
|
3380
|
-
evaluation_type: string;
|
|
3381
|
-
human_review_id: string;
|
|
3382
|
-
source: string;
|
|
3383
|
-
reviewed_by_id: string;
|
|
3384
|
-
reviewed_at: string;
|
|
3385
|
-
type: string;
|
|
3386
|
-
values: Array<string>;
|
|
3387
|
-
};
|
|
3388
|
-
|
|
3389
|
-
/** @internal */
|
|
3390
|
-
export const ListDatasetDatapointsEvaluations3$outboundSchema: z.ZodType<
|
|
3391
|
-
ListDatasetDatapointsEvaluations3$Outbound,
|
|
3392
|
-
z.ZodTypeDef,
|
|
3393
|
-
ListDatasetDatapointsEvaluations3
|
|
3394
|
-
> = z.object({
|
|
3395
|
-
id: z.string(),
|
|
3396
|
-
evaluationType: ListDatasetDatapointsEvaluationsEvaluationType$outboundSchema,
|
|
3397
|
-
humanReviewId: z.string(),
|
|
3398
|
-
source: ListDatasetDatapointsEvaluationsSource$outboundSchema.default("orq"),
|
|
3399
|
-
reviewedById: z.string(),
|
|
3400
|
-
reviewedAt: z.date().default(() => new Date("2025-10-31T10:52:06.488Z"))
|
|
3401
|
-
.transform(v => v.toISOString()),
|
|
3402
|
-
type: ListDatasetDatapointsEvaluationsDatasetsType$outboundSchema,
|
|
3403
|
-
values: z.array(z.string()),
|
|
3404
|
-
}).transform((v) => {
|
|
3405
|
-
return remap$(v, {
|
|
3406
|
-
evaluationType: "evaluation_type",
|
|
3407
|
-
humanReviewId: "human_review_id",
|
|
3408
|
-
reviewedById: "reviewed_by_id",
|
|
3409
|
-
reviewedAt: "reviewed_at",
|
|
3410
|
-
});
|
|
3411
|
-
});
|
|
3412
|
-
|
|
3413
|
-
/**
|
|
3414
|
-
* @internal
|
|
3415
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3416
|
-
*/
|
|
3417
|
-
export namespace ListDatasetDatapointsEvaluations3$ {
|
|
3418
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations3$inboundSchema` instead. */
|
|
3419
|
-
export const inboundSchema = ListDatasetDatapointsEvaluations3$inboundSchema;
|
|
3420
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations3$outboundSchema` instead. */
|
|
3421
|
-
export const outboundSchema =
|
|
3422
|
-
ListDatasetDatapointsEvaluations3$outboundSchema;
|
|
3423
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations3$Outbound` instead. */
|
|
3424
|
-
export type Outbound = ListDatasetDatapointsEvaluations3$Outbound;
|
|
3425
|
-
}
|
|
3426
|
-
|
|
3427
|
-
export function listDatasetDatapointsEvaluations3ToJSON(
|
|
3428
|
-
listDatasetDatapointsEvaluations3: ListDatasetDatapointsEvaluations3,
|
|
3429
|
-
): string {
|
|
3430
|
-
return JSON.stringify(
|
|
3431
|
-
ListDatasetDatapointsEvaluations3$outboundSchema.parse(
|
|
3432
|
-
listDatasetDatapointsEvaluations3,
|
|
3433
|
-
),
|
|
3434
|
-
);
|
|
3435
|
-
}
|
|
3436
|
-
|
|
3437
|
-
export function listDatasetDatapointsEvaluations3FromJSON(
|
|
3438
|
-
jsonString: string,
|
|
3439
|
-
): SafeParseResult<ListDatasetDatapointsEvaluations3, SDKValidationError> {
|
|
3440
|
-
return safeParse(
|
|
3441
|
-
jsonString,
|
|
3442
|
-
(x) => ListDatasetDatapointsEvaluations3$inboundSchema.parse(JSON.parse(x)),
|
|
3443
|
-
`Failed to parse 'ListDatasetDatapointsEvaluations3' from JSON`,
|
|
3444
|
-
);
|
|
3445
|
-
}
|
|
3446
|
-
|
|
3447
|
-
/** @internal */
|
|
3448
|
-
export const ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$inboundSchema:
|
|
3449
|
-
z.ZodNativeEnum<
|
|
3450
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType
|
|
3451
|
-
> = z.nativeEnum(
|
|
3452
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType,
|
|
3453
|
-
);
|
|
3454
|
-
|
|
3455
|
-
/** @internal */
|
|
3456
|
-
export const ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$outboundSchema:
|
|
3457
|
-
z.ZodNativeEnum<
|
|
3458
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType
|
|
3459
|
-
> =
|
|
3460
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$inboundSchema;
|
|
3461
|
-
|
|
3462
|
-
/**
|
|
3463
|
-
* @internal
|
|
3464
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3465
|
-
*/
|
|
3466
|
-
export namespace ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$ {
|
|
3467
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$inboundSchema` instead. */
|
|
3468
|
-
export const inboundSchema =
|
|
3469
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$inboundSchema;
|
|
3470
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$outboundSchema` instead. */
|
|
3471
|
-
export const outboundSchema =
|
|
3472
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$outboundSchema;
|
|
3473
|
-
}
|
|
3474
|
-
|
|
3475
|
-
/** @internal */
|
|
3476
|
-
export const ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema:
|
|
3477
|
-
z.ZodNativeEnum<
|
|
3478
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsResponseSource
|
|
3479
|
-
> = z.nativeEnum(ListDatasetDatapointsEvaluationsDatasetsResponseSource);
|
|
3480
|
-
|
|
3481
|
-
/** @internal */
|
|
3482
|
-
export const ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema:
|
|
3483
|
-
z.ZodNativeEnum<
|
|
3484
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsResponseSource
|
|
3485
|
-
> = ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema;
|
|
3486
|
-
|
|
3487
|
-
/**
|
|
3488
|
-
* @internal
|
|
3489
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3490
|
-
*/
|
|
3491
|
-
export namespace ListDatasetDatapointsEvaluationsDatasetsResponseSource$ {
|
|
3492
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema` instead. */
|
|
3493
|
-
export const inboundSchema =
|
|
3494
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema;
|
|
3495
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema` instead. */
|
|
3496
|
-
export const outboundSchema =
|
|
3497
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema;
|
|
3498
|
-
}
|
|
3499
|
-
|
|
3500
|
-
/** @internal */
|
|
3501
|
-
export const ListDatasetDatapointsEvaluationsType$inboundSchema:
|
|
3502
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsType> = z.nativeEnum(
|
|
3503
|
-
ListDatasetDatapointsEvaluationsType,
|
|
3504
|
-
);
|
|
3505
|
-
|
|
3506
|
-
/** @internal */
|
|
3507
|
-
export const ListDatasetDatapointsEvaluationsType$outboundSchema:
|
|
3508
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsType> =
|
|
3509
|
-
ListDatasetDatapointsEvaluationsType$inboundSchema;
|
|
3510
|
-
|
|
3511
|
-
/**
|
|
3512
|
-
* @internal
|
|
3513
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3514
|
-
*/
|
|
3515
|
-
export namespace ListDatasetDatapointsEvaluationsType$ {
|
|
3516
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsType$inboundSchema` instead. */
|
|
3517
|
-
export const inboundSchema =
|
|
3518
|
-
ListDatasetDatapointsEvaluationsType$inboundSchema;
|
|
3519
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsType$outboundSchema` instead. */
|
|
3520
|
-
export const outboundSchema =
|
|
3521
|
-
ListDatasetDatapointsEvaluationsType$outboundSchema;
|
|
3522
|
-
}
|
|
3523
|
-
|
|
3524
|
-
/** @internal */
|
|
3525
|
-
export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
3526
|
-
ListDatasetDatapointsEvaluations2,
|
|
3527
|
-
z.ZodTypeDef,
|
|
3528
|
-
unknown
|
|
3529
|
-
> = z.object({
|
|
3530
|
-
id: z.string(),
|
|
3531
|
-
evaluation_type:
|
|
3532
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$inboundSchema,
|
|
3533
|
-
human_review_id: z.string(),
|
|
3534
|
-
source: ListDatasetDatapointsEvaluationsDatasetsResponseSource$inboundSchema
|
|
3535
|
-
.default("orq"),
|
|
3536
|
-
reviewed_by_id: z.string(),
|
|
3537
|
-
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3538
|
-
"2025-10-31T10:52:06.487Z",
|
|
3539
|
-
).transform(v => new Date(v)),
|
|
3540
|
-
type: ListDatasetDatapointsEvaluationsType$inboundSchema,
|
|
3541
|
-
value: z.number(),
|
|
3542
|
-
}).transform((v) => {
|
|
3543
|
-
return remap$(v, {
|
|
3544
|
-
"evaluation_type": "evaluationType",
|
|
3545
|
-
"human_review_id": "humanReviewId",
|
|
3546
|
-
"reviewed_by_id": "reviewedById",
|
|
3547
|
-
"reviewed_at": "reviewedAt",
|
|
3548
|
-
});
|
|
3549
|
-
});
|
|
3550
|
-
|
|
3551
|
-
/** @internal */
|
|
3552
|
-
export type ListDatasetDatapointsEvaluations2$Outbound = {
|
|
3553
|
-
id: string;
|
|
3554
|
-
evaluation_type: string;
|
|
3555
|
-
human_review_id: string;
|
|
3556
|
-
source: string;
|
|
3557
|
-
reviewed_by_id: string;
|
|
3558
|
-
reviewed_at: string;
|
|
3559
|
-
type: string;
|
|
3560
|
-
value: number;
|
|
3561
|
-
};
|
|
3562
|
-
|
|
3563
|
-
/** @internal */
|
|
3564
|
-
export const ListDatasetDatapointsEvaluations2$outboundSchema: z.ZodType<
|
|
3565
|
-
ListDatasetDatapointsEvaluations2$Outbound,
|
|
3566
|
-
z.ZodTypeDef,
|
|
3567
|
-
ListDatasetDatapointsEvaluations2
|
|
3568
|
-
> = z.object({
|
|
3569
|
-
id: z.string(),
|
|
3570
|
-
evaluationType:
|
|
3571
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseEvaluationType$outboundSchema,
|
|
3572
|
-
humanReviewId: z.string(),
|
|
3573
|
-
source: ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema
|
|
3574
|
-
.default("orq"),
|
|
3575
|
-
reviewedById: z.string(),
|
|
3576
|
-
reviewedAt: z.date().default(() => new Date("2025-10-31T10:52:06.487Z"))
|
|
3577
|
-
.transform(v => v.toISOString()),
|
|
3578
|
-
type: ListDatasetDatapointsEvaluationsType$outboundSchema,
|
|
3579
|
-
value: z.number(),
|
|
3580
|
-
}).transform((v) => {
|
|
3581
|
-
return remap$(v, {
|
|
3582
|
-
evaluationType: "evaluation_type",
|
|
3583
|
-
humanReviewId: "human_review_id",
|
|
3584
|
-
reviewedById: "reviewed_by_id",
|
|
3585
|
-
reviewedAt: "reviewed_at",
|
|
3586
|
-
});
|
|
3587
|
-
});
|
|
3588
|
-
|
|
3589
|
-
/**
|
|
3590
|
-
* @internal
|
|
3591
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3592
|
-
*/
|
|
3593
|
-
export namespace ListDatasetDatapointsEvaluations2$ {
|
|
3594
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations2$inboundSchema` instead. */
|
|
3595
|
-
export const inboundSchema = ListDatasetDatapointsEvaluations2$inboundSchema;
|
|
3596
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations2$outboundSchema` instead. */
|
|
3597
|
-
export const outboundSchema =
|
|
3598
|
-
ListDatasetDatapointsEvaluations2$outboundSchema;
|
|
3599
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations2$Outbound` instead. */
|
|
3600
|
-
export type Outbound = ListDatasetDatapointsEvaluations2$Outbound;
|
|
3601
|
-
}
|
|
3602
|
-
|
|
3603
|
-
export function listDatasetDatapointsEvaluations2ToJSON(
|
|
3604
|
-
listDatasetDatapointsEvaluations2: ListDatasetDatapointsEvaluations2,
|
|
3605
|
-
): string {
|
|
3606
|
-
return JSON.stringify(
|
|
3607
|
-
ListDatasetDatapointsEvaluations2$outboundSchema.parse(
|
|
3608
|
-
listDatasetDatapointsEvaluations2,
|
|
3609
|
-
),
|
|
3610
|
-
);
|
|
3611
|
-
}
|
|
3612
|
-
|
|
3613
|
-
export function listDatasetDatapointsEvaluations2FromJSON(
|
|
3614
|
-
jsonString: string,
|
|
3615
|
-
): SafeParseResult<ListDatasetDatapointsEvaluations2, SDKValidationError> {
|
|
3616
|
-
return safeParse(
|
|
3617
|
-
jsonString,
|
|
3618
|
-
(x) => ListDatasetDatapointsEvaluations2$inboundSchema.parse(JSON.parse(x)),
|
|
3619
|
-
`Failed to parse 'ListDatasetDatapointsEvaluations2' from JSON`,
|
|
3620
|
-
);
|
|
3621
|
-
}
|
|
3622
|
-
|
|
3623
|
-
/** @internal */
|
|
3624
|
-
export const ListDatasetDatapointsEvaluationsDatasetsEvaluationType$inboundSchema:
|
|
3625
|
-
z.ZodNativeEnum<
|
|
3626
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsEvaluationType
|
|
3627
|
-
> = z.nativeEnum(ListDatasetDatapointsEvaluationsDatasetsEvaluationType);
|
|
3628
|
-
|
|
3629
|
-
/** @internal */
|
|
3630
|
-
export const ListDatasetDatapointsEvaluationsDatasetsEvaluationType$outboundSchema:
|
|
3631
|
-
z.ZodNativeEnum<
|
|
3632
|
-
typeof ListDatasetDatapointsEvaluationsDatasetsEvaluationType
|
|
3633
|
-
> = ListDatasetDatapointsEvaluationsDatasetsEvaluationType$inboundSchema;
|
|
3634
|
-
|
|
3635
|
-
/**
|
|
3636
|
-
* @internal
|
|
3637
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3638
|
-
*/
|
|
3639
|
-
export namespace ListDatasetDatapointsEvaluationsDatasetsEvaluationType$ {
|
|
3640
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsEvaluationType$inboundSchema` instead. */
|
|
3641
|
-
export const inboundSchema =
|
|
3642
|
-
ListDatasetDatapointsEvaluationsDatasetsEvaluationType$inboundSchema;
|
|
3643
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsEvaluationType$outboundSchema` instead. */
|
|
3644
|
-
export const outboundSchema =
|
|
3645
|
-
ListDatasetDatapointsEvaluationsDatasetsEvaluationType$outboundSchema;
|
|
3646
|
-
}
|
|
3647
|
-
|
|
3648
|
-
/** @internal */
|
|
3649
|
-
export const ListDatasetDatapointsEvaluationsDatasetsSource$inboundSchema:
|
|
3650
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsDatasetsSource> = z
|
|
3651
|
-
.nativeEnum(ListDatasetDatapointsEvaluationsDatasetsSource);
|
|
3652
|
-
|
|
3653
|
-
/** @internal */
|
|
3654
|
-
export const ListDatasetDatapointsEvaluationsDatasetsSource$outboundSchema:
|
|
3655
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsDatasetsSource> =
|
|
3656
|
-
ListDatasetDatapointsEvaluationsDatasetsSource$inboundSchema;
|
|
3657
|
-
|
|
3658
|
-
/**
|
|
3659
|
-
* @internal
|
|
3660
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3661
|
-
*/
|
|
3662
|
-
export namespace ListDatasetDatapointsEvaluationsDatasetsSource$ {
|
|
3663
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsSource$inboundSchema` instead. */
|
|
3664
|
-
export const inboundSchema =
|
|
3665
|
-
ListDatasetDatapointsEvaluationsDatasetsSource$inboundSchema;
|
|
3666
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsSource$outboundSchema` instead. */
|
|
3667
|
-
export const outboundSchema =
|
|
3668
|
-
ListDatasetDatapointsEvaluationsDatasetsSource$outboundSchema;
|
|
3669
|
-
}
|
|
3670
|
-
|
|
3671
|
-
/** @internal */
|
|
3672
|
-
export const ListDatasetDatapointsEvaluationsDatasetsResponseType$inboundSchema:
|
|
3673
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsDatasetsResponseType> =
|
|
3674
|
-
z.nativeEnum(ListDatasetDatapointsEvaluationsDatasetsResponseType);
|
|
3675
|
-
|
|
3676
|
-
/** @internal */
|
|
3677
|
-
export const ListDatasetDatapointsEvaluationsDatasetsResponseType$outboundSchema:
|
|
3678
|
-
z.ZodNativeEnum<typeof ListDatasetDatapointsEvaluationsDatasetsResponseType> =
|
|
3679
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseType$inboundSchema;
|
|
3680
|
-
|
|
3681
|
-
/**
|
|
3682
|
-
* @internal
|
|
3683
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3684
|
-
*/
|
|
3685
|
-
export namespace ListDatasetDatapointsEvaluationsDatasetsResponseType$ {
|
|
3686
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsResponseType$inboundSchema` instead. */
|
|
3687
|
-
export const inboundSchema =
|
|
3688
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseType$inboundSchema;
|
|
3689
|
-
/** @deprecated use `ListDatasetDatapointsEvaluationsDatasetsResponseType$outboundSchema` instead. */
|
|
3690
|
-
export const outboundSchema =
|
|
3691
|
-
ListDatasetDatapointsEvaluationsDatasetsResponseType$outboundSchema;
|
|
3692
|
-
}
|
|
3693
|
-
|
|
3694
|
-
/** @internal */
|
|
3695
|
-
export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
3696
|
-
ListDatasetDatapointsEvaluations1,
|
|
3697
|
-
z.ZodTypeDef,
|
|
3698
|
-
unknown
|
|
3699
|
-
> = z.object({
|
|
3700
|
-
id: z.string(),
|
|
3701
|
-
evaluation_type:
|
|
3702
|
-
ListDatasetDatapointsEvaluationsDatasetsEvaluationType$inboundSchema,
|
|
3703
|
-
human_review_id: z.string(),
|
|
3704
|
-
source: ListDatasetDatapointsEvaluationsDatasetsSource$inboundSchema.default(
|
|
3705
|
-
"orq",
|
|
3706
|
-
),
|
|
3707
|
-
reviewed_by_id: z.string(),
|
|
3708
|
-
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3709
|
-
"2025-10-31T10:52:06.486Z",
|
|
3710
|
-
).transform(v => new Date(v)),
|
|
3711
|
-
type: ListDatasetDatapointsEvaluationsDatasetsResponseType$inboundSchema,
|
|
3712
|
-
value: z.string(),
|
|
3713
|
-
}).transform((v) => {
|
|
3714
|
-
return remap$(v, {
|
|
3715
|
-
"evaluation_type": "evaluationType",
|
|
3716
|
-
"human_review_id": "humanReviewId",
|
|
3717
|
-
"reviewed_by_id": "reviewedById",
|
|
3718
|
-
"reviewed_at": "reviewedAt",
|
|
3719
|
-
});
|
|
3720
|
-
});
|
|
3721
|
-
|
|
3722
|
-
/** @internal */
|
|
3723
|
-
export type ListDatasetDatapointsEvaluations1$Outbound = {
|
|
3724
|
-
id: string;
|
|
3725
|
-
evaluation_type: string;
|
|
3726
|
-
human_review_id: string;
|
|
3727
|
-
source: string;
|
|
3728
|
-
reviewed_by_id: string;
|
|
3729
|
-
reviewed_at: string;
|
|
3730
|
-
type: string;
|
|
3731
|
-
value: string;
|
|
3732
|
-
};
|
|
3733
|
-
|
|
3734
|
-
/** @internal */
|
|
3735
|
-
export const ListDatasetDatapointsEvaluations1$outboundSchema: z.ZodType<
|
|
3736
|
-
ListDatasetDatapointsEvaluations1$Outbound,
|
|
3737
|
-
z.ZodTypeDef,
|
|
3738
|
-
ListDatasetDatapointsEvaluations1
|
|
3739
|
-
> = z.object({
|
|
3740
|
-
id: z.string(),
|
|
3741
|
-
evaluationType:
|
|
3742
|
-
ListDatasetDatapointsEvaluationsDatasetsEvaluationType$outboundSchema,
|
|
3743
|
-
humanReviewId: z.string(),
|
|
3744
|
-
source: ListDatasetDatapointsEvaluationsDatasetsSource$outboundSchema.default(
|
|
3745
|
-
"orq",
|
|
3746
|
-
),
|
|
3747
|
-
reviewedById: z.string(),
|
|
3748
|
-
reviewedAt: z.date().default(() => new Date("2025-10-31T10:52:06.486Z"))
|
|
3749
|
-
.transform(v => v.toISOString()),
|
|
3750
|
-
type: ListDatasetDatapointsEvaluationsDatasetsResponseType$outboundSchema,
|
|
3751
|
-
value: z.string(),
|
|
3752
|
-
}).transform((v) => {
|
|
3753
|
-
return remap$(v, {
|
|
3754
|
-
evaluationType: "evaluation_type",
|
|
3755
|
-
humanReviewId: "human_review_id",
|
|
3756
|
-
reviewedById: "reviewed_by_id",
|
|
3757
|
-
reviewedAt: "reviewed_at",
|
|
3758
|
-
});
|
|
3759
|
-
});
|
|
3760
|
-
|
|
3761
|
-
/**
|
|
3762
|
-
* @internal
|
|
3763
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3764
|
-
*/
|
|
3765
|
-
export namespace ListDatasetDatapointsEvaluations1$ {
|
|
3766
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations1$inboundSchema` instead. */
|
|
3767
|
-
export const inboundSchema = ListDatasetDatapointsEvaluations1$inboundSchema;
|
|
3768
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations1$outboundSchema` instead. */
|
|
3769
|
-
export const outboundSchema =
|
|
3770
|
-
ListDatasetDatapointsEvaluations1$outboundSchema;
|
|
3771
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations1$Outbound` instead. */
|
|
3772
|
-
export type Outbound = ListDatasetDatapointsEvaluations1$Outbound;
|
|
3773
|
-
}
|
|
3774
|
-
|
|
3775
|
-
export function listDatasetDatapointsEvaluations1ToJSON(
|
|
3776
|
-
listDatasetDatapointsEvaluations1: ListDatasetDatapointsEvaluations1,
|
|
3777
|
-
): string {
|
|
3778
|
-
return JSON.stringify(
|
|
3779
|
-
ListDatasetDatapointsEvaluations1$outboundSchema.parse(
|
|
3780
|
-
listDatasetDatapointsEvaluations1,
|
|
3781
|
-
),
|
|
3782
|
-
);
|
|
3783
|
-
}
|
|
3784
|
-
|
|
3785
|
-
export function listDatasetDatapointsEvaluations1FromJSON(
|
|
3786
|
-
jsonString: string,
|
|
3787
|
-
): SafeParseResult<ListDatasetDatapointsEvaluations1, SDKValidationError> {
|
|
3788
|
-
return safeParse(
|
|
3789
|
-
jsonString,
|
|
3790
|
-
(x) => ListDatasetDatapointsEvaluations1$inboundSchema.parse(JSON.parse(x)),
|
|
3791
|
-
`Failed to parse 'ListDatasetDatapointsEvaluations1' from JSON`,
|
|
3792
|
-
);
|
|
3793
|
-
}
|
|
3794
|
-
|
|
3795
|
-
/** @internal */
|
|
3796
|
-
export const ListDatasetDatapointsEvaluations$inboundSchema: z.ZodType<
|
|
3797
|
-
ListDatasetDatapointsEvaluations,
|
|
3798
|
-
z.ZodTypeDef,
|
|
3799
|
-
unknown
|
|
3800
|
-
> = z.union([
|
|
3801
|
-
z.lazy(() => ListDatasetDatapointsEvaluations1$inboundSchema),
|
|
3802
|
-
z.lazy(() => ListDatasetDatapointsEvaluations2$inboundSchema),
|
|
3803
|
-
z.lazy(() => ListDatasetDatapointsEvaluations3$inboundSchema),
|
|
3804
|
-
]);
|
|
3805
|
-
|
|
3806
|
-
/** @internal */
|
|
3807
|
-
export type ListDatasetDatapointsEvaluations$Outbound =
|
|
3808
|
-
| ListDatasetDatapointsEvaluations1$Outbound
|
|
3809
|
-
| ListDatasetDatapointsEvaluations2$Outbound
|
|
3810
|
-
| ListDatasetDatapointsEvaluations3$Outbound;
|
|
3811
|
-
|
|
3812
|
-
/** @internal */
|
|
3813
|
-
export const ListDatasetDatapointsEvaluations$outboundSchema: z.ZodType<
|
|
3814
|
-
ListDatasetDatapointsEvaluations$Outbound,
|
|
3815
|
-
z.ZodTypeDef,
|
|
3816
|
-
ListDatasetDatapointsEvaluations
|
|
3817
|
-
> = z.union([
|
|
3818
|
-
z.lazy(() => ListDatasetDatapointsEvaluations1$outboundSchema),
|
|
3819
|
-
z.lazy(() => ListDatasetDatapointsEvaluations2$outboundSchema),
|
|
3820
|
-
z.lazy(() => ListDatasetDatapointsEvaluations3$outboundSchema),
|
|
3821
|
-
]);
|
|
3822
|
-
|
|
3823
|
-
/**
|
|
3824
|
-
* @internal
|
|
3825
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3826
|
-
*/
|
|
3827
|
-
export namespace ListDatasetDatapointsEvaluations$ {
|
|
3828
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations$inboundSchema` instead. */
|
|
3829
|
-
export const inboundSchema = ListDatasetDatapointsEvaluations$inboundSchema;
|
|
3830
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations$outboundSchema` instead. */
|
|
3831
|
-
export const outboundSchema = ListDatasetDatapointsEvaluations$outboundSchema;
|
|
3832
|
-
/** @deprecated use `ListDatasetDatapointsEvaluations$Outbound` instead. */
|
|
3833
|
-
export type Outbound = ListDatasetDatapointsEvaluations$Outbound;
|
|
3834
|
-
}
|
|
3835
|
-
|
|
3836
|
-
export function listDatasetDatapointsEvaluationsToJSON(
|
|
3837
|
-
listDatasetDatapointsEvaluations: ListDatasetDatapointsEvaluations,
|
|
3838
|
-
): string {
|
|
3839
|
-
return JSON.stringify(
|
|
3840
|
-
ListDatasetDatapointsEvaluations$outboundSchema.parse(
|
|
3841
|
-
listDatasetDatapointsEvaluations,
|
|
3842
|
-
),
|
|
3843
|
-
);
|
|
3844
|
-
}
|
|
3845
|
-
|
|
3846
|
-
export function listDatasetDatapointsEvaluationsFromJSON(
|
|
3847
|
-
jsonString: string,
|
|
3848
|
-
): SafeParseResult<ListDatasetDatapointsEvaluations, SDKValidationError> {
|
|
3849
|
-
return safeParse(
|
|
3850
|
-
jsonString,
|
|
3851
|
-
(x) => ListDatasetDatapointsEvaluations$inboundSchema.parse(JSON.parse(x)),
|
|
3852
|
-
`Failed to parse 'ListDatasetDatapointsEvaluations' from JSON`,
|
|
3853
|
-
);
|
|
3854
|
-
}
|
|
3855
|
-
|
|
3856
|
-
/** @internal */
|
|
3857
|
-
export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
3858
|
-
ListDatasetDatapointsData,
|
|
3859
|
-
z.ZodTypeDef,
|
|
3860
|
-
unknown
|
|
3861
|
-
> = z.object({
|
|
3862
|
-
_id: z.string(),
|
|
3863
|
-
workspace_id: z.string(),
|
|
3864
|
-
inputs: z.record(z.any()).optional(),
|
|
3865
|
-
messages: z.array(
|
|
3866
|
-
z.union([
|
|
3867
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$inboundSchema),
|
|
3868
|
-
z.lazy(() =>
|
|
3869
|
-
ListDatasetDatapointsMessagesDeveloperMessage$inboundSchema
|
|
3870
|
-
),
|
|
3871
|
-
z.lazy(() => ListDatasetDatapointsMessagesSystemMessage$inboundSchema),
|
|
3872
|
-
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$inboundSchema),
|
|
3873
|
-
z.lazy(() => ListDatasetDatapointsMessagesAssistantMessage$inboundSchema),
|
|
3874
|
-
]),
|
|
3875
|
-
).optional(),
|
|
3876
|
-
expected_output: z.string().optional(),
|
|
3877
|
-
evaluations: z.array(
|
|
3878
|
-
z.union([
|
|
3879
|
-
z.lazy(() => ListDatasetDatapointsEvaluations1$inboundSchema),
|
|
3880
|
-
z.lazy(() => ListDatasetDatapointsEvaluations2$inboundSchema),
|
|
3881
|
-
z.lazy(() => ListDatasetDatapointsEvaluations3$inboundSchema),
|
|
3882
|
-
]),
|
|
3883
|
-
).optional(),
|
|
3884
|
-
dataset_id: z.string(),
|
|
3885
|
-
snapshot_version: z.string().optional(),
|
|
3886
|
-
created_by_id: z.string().optional(),
|
|
3887
|
-
updated_by_id: z.string().optional(),
|
|
3888
|
-
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3889
|
-
.optional(),
|
|
3890
|
-
updated: z.string().datetime({ offset: true }).default(
|
|
3891
|
-
"2025-10-31T10:51:55.200Z",
|
|
3892
|
-
).transform(v => new Date(v)),
|
|
3893
|
-
}).transform((v) => {
|
|
3894
|
-
return remap$(v, {
|
|
3895
|
-
"_id": "id",
|
|
3896
|
-
"workspace_id": "workspaceId",
|
|
3897
|
-
"expected_output": "expectedOutput",
|
|
3898
|
-
"dataset_id": "datasetId",
|
|
3899
|
-
"snapshot_version": "snapshotVersion",
|
|
3900
|
-
"created_by_id": "createdById",
|
|
3901
|
-
"updated_by_id": "updatedById",
|
|
3902
|
-
});
|
|
3903
|
-
});
|
|
3904
|
-
|
|
3905
|
-
/** @internal */
|
|
3906
|
-
export type ListDatasetDatapointsData$Outbound = {
|
|
3907
|
-
_id: string;
|
|
3908
|
-
workspace_id: string;
|
|
3909
|
-
inputs?: { [k: string]: any } | undefined;
|
|
3910
|
-
messages?:
|
|
3911
|
-
| Array<
|
|
3912
|
-
| ListDatasetDatapointsMessagesToolMessage$Outbound
|
|
3913
|
-
| ListDatasetDatapointsMessagesDeveloperMessage$Outbound
|
|
3914
|
-
| ListDatasetDatapointsMessagesSystemMessage$Outbound
|
|
3915
|
-
| ListDatasetDatapointsMessagesUserMessage$Outbound
|
|
3916
|
-
| ListDatasetDatapointsMessagesAssistantMessage$Outbound
|
|
3917
|
-
>
|
|
3918
|
-
| undefined;
|
|
3919
|
-
expected_output?: string | undefined;
|
|
3920
|
-
evaluations?:
|
|
3921
|
-
| Array<
|
|
3922
|
-
| ListDatasetDatapointsEvaluations1$Outbound
|
|
3923
|
-
| ListDatasetDatapointsEvaluations2$Outbound
|
|
3924
|
-
| ListDatasetDatapointsEvaluations3$Outbound
|
|
3925
|
-
>
|
|
3926
|
-
| undefined;
|
|
3927
|
-
dataset_id: string;
|
|
3928
|
-
snapshot_version?: string | undefined;
|
|
3929
|
-
created_by_id?: string | undefined;
|
|
3930
|
-
updated_by_id?: string | undefined;
|
|
3931
|
-
created?: string | undefined;
|
|
3932
|
-
updated: string;
|
|
3933
|
-
};
|
|
3934
|
-
|
|
3935
|
-
/** @internal */
|
|
3936
|
-
export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
3937
|
-
ListDatasetDatapointsData$Outbound,
|
|
3938
|
-
z.ZodTypeDef,
|
|
3939
|
-
ListDatasetDatapointsData
|
|
3940
|
-
> = z.object({
|
|
3941
|
-
id: z.string(),
|
|
3942
|
-
workspaceId: z.string(),
|
|
3943
|
-
inputs: z.record(z.any()).optional(),
|
|
3944
|
-
messages: z.array(
|
|
3945
|
-
z.union([
|
|
3946
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$outboundSchema),
|
|
3947
|
-
z.lazy(() =>
|
|
3948
|
-
ListDatasetDatapointsMessagesDeveloperMessage$outboundSchema
|
|
3949
|
-
),
|
|
3950
|
-
z.lazy(() =>
|
|
3951
|
-
ListDatasetDatapointsMessagesSystemMessage$outboundSchema
|
|
3952
|
-
),
|
|
3953
|
-
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$outboundSchema),
|
|
3954
|
-
z.lazy(() =>
|
|
3955
|
-
ListDatasetDatapointsMessagesAssistantMessage$outboundSchema
|
|
3956
|
-
),
|
|
3957
|
-
]),
|
|
3958
|
-
).optional(),
|
|
3959
|
-
expectedOutput: z.string().optional(),
|
|
3960
|
-
evaluations: z.array(
|
|
3961
|
-
z.union([
|
|
3962
|
-
z.lazy(() => ListDatasetDatapointsEvaluations1$outboundSchema),
|
|
3963
|
-
z.lazy(() => ListDatasetDatapointsEvaluations2$outboundSchema),
|
|
3964
|
-
z.lazy(() => ListDatasetDatapointsEvaluations3$outboundSchema),
|
|
3965
|
-
]),
|
|
3966
|
-
).optional(),
|
|
3967
|
-
datasetId: z.string(),
|
|
3968
|
-
snapshotVersion: z.string().optional(),
|
|
3969
|
-
createdById: z.string().optional(),
|
|
3970
|
-
updatedById: z.string().optional(),
|
|
3971
|
-
created: z.date().transform(v => v.toISOString()).optional(),
|
|
3972
|
-
updated: z.date().default(() => new Date("2025-10-31T10:51:55.200Z"))
|
|
3973
|
-
.transform(v => v.toISOString()),
|
|
3974
|
-
}).transform((v) => {
|
|
3975
|
-
return remap$(v, {
|
|
3976
|
-
id: "_id",
|
|
3977
|
-
workspaceId: "workspace_id",
|
|
3978
|
-
expectedOutput: "expected_output",
|
|
3979
|
-
datasetId: "dataset_id",
|
|
3980
|
-
snapshotVersion: "snapshot_version",
|
|
3981
|
-
createdById: "created_by_id",
|
|
3982
|
-
updatedById: "updated_by_id",
|
|
3983
|
-
});
|
|
3984
|
-
});
|
|
3985
|
-
|
|
3986
|
-
/**
|
|
3987
|
-
* @internal
|
|
3988
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3989
|
-
*/
|
|
3990
|
-
export namespace ListDatasetDatapointsData$ {
|
|
3991
|
-
/** @deprecated use `ListDatasetDatapointsData$inboundSchema` instead. */
|
|
3992
|
-
export const inboundSchema = ListDatasetDatapointsData$inboundSchema;
|
|
3993
|
-
/** @deprecated use `ListDatasetDatapointsData$outboundSchema` instead. */
|
|
3994
|
-
export const outboundSchema = ListDatasetDatapointsData$outboundSchema;
|
|
3995
|
-
/** @deprecated use `ListDatasetDatapointsData$Outbound` instead. */
|
|
3996
|
-
export type Outbound = ListDatasetDatapointsData$Outbound;
|
|
3997
|
-
}
|
|
3998
|
-
|
|
3999
|
-
export function listDatasetDatapointsDataToJSON(
|
|
4000
|
-
listDatasetDatapointsData: ListDatasetDatapointsData,
|
|
4001
|
-
): string {
|
|
4002
|
-
return JSON.stringify(
|
|
4003
|
-
ListDatasetDatapointsData$outboundSchema.parse(listDatasetDatapointsData),
|
|
4004
|
-
);
|
|
4005
|
-
}
|
|
4006
|
-
|
|
4007
|
-
export function listDatasetDatapointsDataFromJSON(
|
|
4008
|
-
jsonString: string,
|
|
4009
|
-
): SafeParseResult<ListDatasetDatapointsData, SDKValidationError> {
|
|
4010
|
-
return safeParse(
|
|
4011
|
-
jsonString,
|
|
4012
|
-
(x) => ListDatasetDatapointsData$inboundSchema.parse(JSON.parse(x)),
|
|
4013
|
-
`Failed to parse 'ListDatasetDatapointsData' from JSON`,
|
|
4014
|
-
);
|
|
4015
|
-
}
|
|
4016
|
-
|
|
4017
|
-
/** @internal */
|
|
4018
|
-
export const ListDatasetDatapointsResponseBody$inboundSchema: z.ZodType<
|
|
4019
|
-
ListDatasetDatapointsResponseBody,
|
|
4020
|
-
z.ZodTypeDef,
|
|
4021
|
-
unknown
|
|
4022
|
-
> = z.object({
|
|
4023
|
-
object: ListDatasetDatapointsObject$inboundSchema,
|
|
4024
|
-
data: z.array(z.lazy(() => ListDatasetDatapointsData$inboundSchema)),
|
|
4025
|
-
has_more: z.boolean(),
|
|
4026
|
-
}).transform((v) => {
|
|
4027
|
-
return remap$(v, {
|
|
4028
|
-
"has_more": "hasMore",
|
|
4029
|
-
});
|
|
4030
|
-
});
|
|
4031
|
-
|
|
4032
|
-
/** @internal */
|
|
4033
|
-
export type ListDatasetDatapointsResponseBody$Outbound = {
|
|
4034
|
-
object: string;
|
|
4035
|
-
data: Array<ListDatasetDatapointsData$Outbound>;
|
|
4036
|
-
has_more: boolean;
|
|
4037
|
-
};
|
|
4038
|
-
|
|
4039
|
-
/** @internal */
|
|
4040
|
-
export const ListDatasetDatapointsResponseBody$outboundSchema: z.ZodType<
|
|
4041
|
-
ListDatasetDatapointsResponseBody$Outbound,
|
|
4042
|
-
z.ZodTypeDef,
|
|
4043
|
-
ListDatasetDatapointsResponseBody
|
|
4044
|
-
> = z.object({
|
|
4045
|
-
object: ListDatasetDatapointsObject$outboundSchema,
|
|
4046
|
-
data: z.array(z.lazy(() => ListDatasetDatapointsData$outboundSchema)),
|
|
4047
|
-
hasMore: z.boolean(),
|
|
4048
|
-
}).transform((v) => {
|
|
4049
|
-
return remap$(v, {
|
|
4050
|
-
hasMore: "has_more",
|
|
4051
|
-
});
|
|
4052
|
-
});
|
|
4053
|
-
|
|
4054
|
-
/**
|
|
4055
|
-
* @internal
|
|
4056
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4057
|
-
*/
|
|
4058
|
-
export namespace ListDatasetDatapointsResponseBody$ {
|
|
4059
|
-
/** @deprecated use `ListDatasetDatapointsResponseBody$inboundSchema` instead. */
|
|
4060
|
-
export const inboundSchema = ListDatasetDatapointsResponseBody$inboundSchema;
|
|
4061
|
-
/** @deprecated use `ListDatasetDatapointsResponseBody$outboundSchema` instead. */
|
|
4062
|
-
export const outboundSchema =
|
|
4063
|
-
ListDatasetDatapointsResponseBody$outboundSchema;
|
|
4064
|
-
/** @deprecated use `ListDatasetDatapointsResponseBody$Outbound` instead. */
|
|
4065
|
-
export type Outbound = ListDatasetDatapointsResponseBody$Outbound;
|
|
4066
|
-
}
|
|
4067
|
-
|
|
4068
|
-
export function listDatasetDatapointsResponseBodyToJSON(
|
|
4069
|
-
listDatasetDatapointsResponseBody: ListDatasetDatapointsResponseBody,
|
|
4070
|
-
): string {
|
|
4071
|
-
return JSON.stringify(
|
|
4072
|
-
ListDatasetDatapointsResponseBody$outboundSchema.parse(
|
|
4073
|
-
listDatasetDatapointsResponseBody,
|
|
4074
|
-
),
|
|
4075
|
-
);
|
|
4076
|
-
}
|
|
4077
|
-
|
|
4078
|
-
export function listDatasetDatapointsResponseBodyFromJSON(
|
|
4079
|
-
jsonString: string,
|
|
4080
|
-
): SafeParseResult<ListDatasetDatapointsResponseBody, SDKValidationError> {
|
|
4081
|
-
return safeParse(
|
|
4082
|
-
jsonString,
|
|
4083
|
-
(x) => ListDatasetDatapointsResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
4084
|
-
`Failed to parse 'ListDatasetDatapointsResponseBody' from JSON`,
|
|
4085
|
-
);
|
|
4086
|
-
}
|