@orq-ai/node 3.13.5 → 3.13.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +96 -94
- package/RUNTIMES.md +6 -6
- package/bin/mcp-server.js +1745 -1227
- package/bin/mcp-server.js.map +176 -172
- package/docs/sdks/agents/README.md +95 -20
- package/examples/package-lock.json +1 -1
- package/funcs/agentsList.js +1 -1
- package/funcs/agentsList.js.map +1 -1
- package/funcs/agentsListActions.js +1 -1
- package/funcs/agentsListActions.js.map +1 -1
- package/funcs/agentsListTasks.d.ts +18 -0
- package/funcs/agentsListTasks.d.ts.map +1 -0
- package/funcs/agentsListTasks.js +130 -0
- package/funcs/agentsListTasks.js.map +1 -0
- package/funcs/agentsRetrieve.d.ts +1 -1
- package/funcs/agentsRetrieve.js +4 -4
- package/funcs/agentsRetrieve.js.map +1 -1
- package/funcs/agentsRetrieveAction.js +1 -1
- package/funcs/agentsRetrieveAction.js.map +1 -1
- package/funcs/agentsRetrieveTask.js +1 -1
- package/funcs/agentsRetrieveTask.js.map +1 -1
- package/funcs/agentsRun.js +1 -1
- package/funcs/agentsRun.js.map +1 -1
- package/funcs/agentsStreamRun.js +1 -1
- package/funcs/agentsStreamRun.js.map +1 -1
- package/funcs/budgetsCreate.js +1 -1
- package/funcs/budgetsCreate.js.map +1 -1
- package/funcs/budgetsDelete.js +1 -1
- package/funcs/budgetsDelete.js.map +1 -1
- package/funcs/budgetsGet.js +1 -1
- package/funcs/budgetsGet.js.map +1 -1
- package/funcs/budgetsList.js +1 -1
- package/funcs/budgetsList.js.map +1 -1
- package/funcs/budgetsUpdate.js +1 -1
- package/funcs/budgetsUpdate.js.map +1 -1
- package/funcs/chunkingParse.js +1 -1
- package/funcs/chunkingParse.js.map +1 -1
- package/funcs/contactsCreate.js +1 -1
- package/funcs/contactsCreate.js.map +1 -1
- package/funcs/contactsDelete.js +1 -1
- package/funcs/contactsDelete.js.map +1 -1
- package/funcs/contactsList.js +1 -1
- package/funcs/contactsList.js.map +1 -1
- package/funcs/contactsRetrieve.js +1 -1
- package/funcs/contactsRetrieve.js.map +1 -1
- package/funcs/contactsUpdate.js +1 -1
- package/funcs/contactsUpdate.js.map +1 -1
- package/funcs/datasetsClear.js +1 -1
- package/funcs/datasetsClear.js.map +1 -1
- package/funcs/datasetsCreate.js +1 -1
- package/funcs/datasetsCreate.js.map +1 -1
- package/funcs/datasetsCreateDatapoint.js +1 -1
- package/funcs/datasetsCreateDatapoint.js.map +1 -1
- package/funcs/datasetsDelete.js +1 -1
- package/funcs/datasetsDelete.js.map +1 -1
- package/funcs/datasetsDeleteDatapoint.js +1 -1
- package/funcs/datasetsDeleteDatapoint.js.map +1 -1
- package/funcs/datasetsList.js +1 -1
- package/funcs/datasetsList.js.map +1 -1
- package/funcs/datasetsListDatapoints.js +1 -1
- package/funcs/datasetsListDatapoints.js.map +1 -1
- package/funcs/datasetsRetrieve.js +1 -1
- package/funcs/datasetsRetrieve.js.map +1 -1
- package/funcs/datasetsRetrieveDatapoint.js +1 -1
- package/funcs/datasetsRetrieveDatapoint.js.map +1 -1
- package/funcs/datasetsUpdate.js +1 -1
- package/funcs/datasetsUpdate.js.map +1 -1
- package/funcs/datasetsUpdateDatapoint.js +1 -1
- package/funcs/datasetsUpdateDatapoint.js.map +1 -1
- package/funcs/deploymentsGetConfig.js +1 -1
- package/funcs/deploymentsGetConfig.js.map +1 -1
- package/funcs/deploymentsInvoke.js +1 -1
- package/funcs/deploymentsInvoke.js.map +1 -1
- package/funcs/deploymentsList.js +1 -1
- package/funcs/deploymentsList.js.map +1 -1
- package/funcs/deploymentsMetricsCreate.js +1 -1
- package/funcs/deploymentsMetricsCreate.js.map +1 -1
- package/funcs/deploymentsStream.js +1 -1
- package/funcs/deploymentsStream.js.map +1 -1
- package/funcs/evalsAgeAppropriate.js +1 -1
- package/funcs/evalsAgeAppropriate.js.map +1 -1
- package/funcs/evalsAll.js +1 -1
- package/funcs/evalsAll.js.map +1 -1
- package/funcs/evalsBertScore.js +1 -1
- package/funcs/evalsBertScore.js.map +1 -1
- package/funcs/evalsBleuScore.js +1 -1
- package/funcs/evalsBleuScore.js.map +1 -1
- package/funcs/evalsBotDetection.js +1 -1
- package/funcs/evalsBotDetection.js.map +1 -1
- package/funcs/evalsContains.js +1 -1
- package/funcs/evalsContains.js.map +1 -1
- package/funcs/evalsContainsAll.js +1 -1
- package/funcs/evalsContainsAll.js.map +1 -1
- package/funcs/evalsContainsAny.js +1 -1
- package/funcs/evalsContainsAny.js.map +1 -1
- package/funcs/evalsContainsEmail.js +1 -1
- package/funcs/evalsContainsEmail.js.map +1 -1
- package/funcs/evalsContainsNone.js +1 -1
- package/funcs/evalsContainsNone.js.map +1 -1
- package/funcs/evalsContainsUrl.js +1 -1
- package/funcs/evalsContainsUrl.js.map +1 -1
- package/funcs/evalsContainsValidLink.js +1 -1
- package/funcs/evalsContainsValidLink.js.map +1 -1
- package/funcs/evalsCreate.js +1 -1
- package/funcs/evalsCreate.js.map +1 -1
- package/funcs/evalsDelete.js +1 -1
- package/funcs/evalsDelete.js.map +1 -1
- package/funcs/evalsEndsWith.js +1 -1
- package/funcs/evalsEndsWith.js.map +1 -1
- package/funcs/evalsExactMatch.js +1 -1
- package/funcs/evalsExactMatch.js.map +1 -1
- package/funcs/evalsFactCheckingKnowledgeBase.js +1 -1
- package/funcs/evalsFactCheckingKnowledgeBase.js.map +1 -1
- package/funcs/evalsGrammar.js +1 -1
- package/funcs/evalsGrammar.js.map +1 -1
- package/funcs/evalsInvoke.js +1 -1
- package/funcs/evalsInvoke.js.map +1 -1
- package/funcs/evalsLengthBetween.js +1 -1
- package/funcs/evalsLengthBetween.js.map +1 -1
- package/funcs/evalsLengthGreaterThan.js +1 -1
- package/funcs/evalsLengthGreaterThan.js.map +1 -1
- package/funcs/evalsLengthLessThan.js +1 -1
- package/funcs/evalsLengthLessThan.js.map +1 -1
- package/funcs/evalsLocalization.js +1 -1
- package/funcs/evalsLocalization.js.map +1 -1
- package/funcs/evalsPii.js +1 -1
- package/funcs/evalsPii.js.map +1 -1
- package/funcs/evalsRagasCoherence.js +1 -1
- package/funcs/evalsRagasCoherence.js.map +1 -1
- package/funcs/evalsRagasConciseness.js +1 -1
- package/funcs/evalsRagasConciseness.js.map +1 -1
- package/funcs/evalsRagasContextEntitiesRecall.js +1 -1
- package/funcs/evalsRagasContextEntitiesRecall.js.map +1 -1
- package/funcs/evalsRagasContextPrecision.js +1 -1
- package/funcs/evalsRagasContextPrecision.js.map +1 -1
- package/funcs/evalsRagasContextRecall.js +1 -1
- package/funcs/evalsRagasContextRecall.js.map +1 -1
- package/funcs/evalsRagasCorrectness.js +1 -1
- package/funcs/evalsRagasCorrectness.js.map +1 -1
- package/funcs/evalsRagasFaithfulness.js +1 -1
- package/funcs/evalsRagasFaithfulness.js.map +1 -1
- package/funcs/evalsRagasHarmfulness.js +1 -1
- package/funcs/evalsRagasHarmfulness.js.map +1 -1
- package/funcs/evalsRagasMaliciousness.js +1 -1
- package/funcs/evalsRagasMaliciousness.js.map +1 -1
- package/funcs/evalsRagasNoiseSensitivity.js +1 -1
- package/funcs/evalsRagasNoiseSensitivity.js.map +1 -1
- package/funcs/evalsRagasResponseRelevancy.js +1 -1
- package/funcs/evalsRagasResponseRelevancy.js.map +1 -1
- package/funcs/evalsRagasSummarization.js +1 -1
- package/funcs/evalsRagasSummarization.js.map +1 -1
- package/funcs/evalsSentimentClassification.js +1 -1
- package/funcs/evalsSentimentClassification.js.map +1 -1
- package/funcs/evalsSummarization.js +1 -1
- package/funcs/evalsSummarization.js.map +1 -1
- package/funcs/evalsToneOfVoice.js +1 -1
- package/funcs/evalsToneOfVoice.js.map +1 -1
- package/funcs/evalsTranslation.js +1 -1
- package/funcs/evalsTranslation.js.map +1 -1
- package/funcs/evalsUpdate.js +1 -1
- package/funcs/evalsUpdate.js.map +1 -1
- package/funcs/evalsValidJson.js +1 -1
- package/funcs/evalsValidJson.js.map +1 -1
- package/funcs/feedbackCreate.js +1 -1
- package/funcs/feedbackCreate.js.map +1 -1
- package/funcs/filesCreate.js +1 -1
- package/funcs/filesCreate.js.map +1 -1
- package/funcs/filesDelete.js +1 -1
- package/funcs/filesDelete.js.map +1 -1
- package/funcs/filesGet.js +1 -1
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.js +1 -1
- package/funcs/filesList.js.map +1 -1
- package/funcs/knowledgeCreate.js +1 -1
- package/funcs/knowledgeCreate.js.map +1 -1
- package/funcs/knowledgeCreateChunks.js +1 -1
- package/funcs/knowledgeCreateChunks.js.map +1 -1
- package/funcs/knowledgeCreateDatasource.js +1 -1
- package/funcs/knowledgeCreateDatasource.js.map +1 -1
- package/funcs/knowledgeDelete.js +1 -1
- package/funcs/knowledgeDelete.js.map +1 -1
- package/funcs/knowledgeDeleteChunk.js +1 -1
- package/funcs/knowledgeDeleteChunk.js.map +1 -1
- package/funcs/knowledgeDeleteDatasource.js +1 -1
- package/funcs/knowledgeDeleteDatasource.js.map +1 -1
- package/funcs/knowledgeList.js +1 -1
- package/funcs/knowledgeList.js.map +1 -1
- package/funcs/knowledgeListChunks.js +1 -1
- package/funcs/knowledgeListChunks.js.map +1 -1
- package/funcs/knowledgeListDatasources.js +1 -1
- package/funcs/knowledgeListDatasources.js.map +1 -1
- package/funcs/knowledgeRetrieve.js +1 -1
- package/funcs/knowledgeRetrieve.js.map +1 -1
- package/funcs/knowledgeRetrieveChunk.js +1 -1
- package/funcs/knowledgeRetrieveChunk.js.map +1 -1
- package/funcs/knowledgeRetrieveDatasource.js +1 -1
- package/funcs/knowledgeRetrieveDatasource.js.map +1 -1
- package/funcs/knowledgeSearch.js +1 -1
- package/funcs/knowledgeSearch.js.map +1 -1
- package/funcs/knowledgeUpdate.js +1 -1
- package/funcs/knowledgeUpdate.js.map +1 -1
- package/funcs/knowledgeUpdateChunk.js +1 -1
- package/funcs/knowledgeUpdateChunk.js.map +1 -1
- package/funcs/knowledgeUpdateDatasource.js +1 -1
- package/funcs/knowledgeUpdateDatasource.js.map +1 -1
- package/funcs/memoryStoresCreate.js +1 -1
- package/funcs/memoryStoresCreate.js.map +1 -1
- package/funcs/memoryStoresCreateDocument.js +1 -1
- package/funcs/memoryStoresCreateDocument.js.map +1 -1
- package/funcs/memoryStoresCreateMemory.js +1 -1
- package/funcs/memoryStoresCreateMemory.js.map +1 -1
- package/funcs/memoryStoresDelete.js +1 -1
- package/funcs/memoryStoresDelete.js.map +1 -1
- package/funcs/memoryStoresDeleteDocument.js +1 -1
- package/funcs/memoryStoresDeleteDocument.js.map +1 -1
- package/funcs/memoryStoresDeleteMemory.js +1 -1
- package/funcs/memoryStoresDeleteMemory.js.map +1 -1
- package/funcs/memoryStoresList.js +1 -1
- package/funcs/memoryStoresList.js.map +1 -1
- package/funcs/memoryStoresListDocuments.js +1 -1
- package/funcs/memoryStoresListDocuments.js.map +1 -1
- package/funcs/memoryStoresListMemories.js +1 -1
- package/funcs/memoryStoresListMemories.js.map +1 -1
- package/funcs/memoryStoresRetrieve.js +1 -1
- package/funcs/memoryStoresRetrieve.js.map +1 -1
- package/funcs/memoryStoresRetrieveDocument.js +1 -1
- package/funcs/memoryStoresRetrieveDocument.js.map +1 -1
- package/funcs/memoryStoresRetrieveMemory.js +1 -1
- package/funcs/memoryStoresRetrieveMemory.js.map +1 -1
- package/funcs/memoryStoresUpdate.js +1 -1
- package/funcs/memoryStoresUpdate.js.map +1 -1
- package/funcs/memoryStoresUpdateDocument.js +1 -1
- package/funcs/memoryStoresUpdateDocument.js.map +1 -1
- package/funcs/memoryStoresUpdateMemory.js +1 -1
- package/funcs/memoryStoresUpdateMemory.js.map +1 -1
- package/funcs/modelsList.js +1 -1
- package/funcs/modelsList.js.map +1 -1
- package/funcs/promptsCreate.js +1 -1
- package/funcs/promptsCreate.js.map +1 -1
- package/funcs/promptsDelete.js +1 -1
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/promptsGetVersion.js +1 -1
- package/funcs/promptsGetVersion.js.map +1 -1
- package/funcs/promptsList.js +1 -1
- package/funcs/promptsList.js.map +1 -1
- package/funcs/promptsListVersions.js +1 -1
- package/funcs/promptsListVersions.js.map +1 -1
- package/funcs/promptsRetrieve.js +1 -1
- package/funcs/promptsRetrieve.js.map +1 -1
- package/funcs/promptsUpdate.js +1 -1
- package/funcs/promptsUpdate.js.map +1 -1
- package/funcs/remoteconfigsRetrieve.js +1 -1
- package/funcs/remoteconfigsRetrieve.js.map +1 -1
- package/funcs/toolsCreate.js +1 -1
- package/funcs/toolsCreate.js.map +1 -1
- package/funcs/toolsDelete.js +1 -1
- package/funcs/toolsDelete.js.map +1 -1
- package/funcs/toolsDuplicate.js +1 -1
- package/funcs/toolsDuplicate.js.map +1 -1
- package/funcs/toolsList.js +1 -1
- package/funcs/toolsList.js.map +1 -1
- package/funcs/toolsRetrieve.js +1 -1
- package/funcs/toolsRetrieve.js.map +1 -1
- package/funcs/toolsUpdate.js +1 -1
- package/funcs/toolsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +4 -2
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsListTasks.d.ts +8 -0
- package/mcp-server/tools/agentsListTasks.d.ts.map +1 -0
- package/mcp-server/tools/agentsListTasks.js +64 -0
- package/mcp-server/tools/agentsListTasks.js.map +1 -0
- package/mcp-server/tools/agentsRetrieve.js +1 -1
- package/mcp-server/tools/agentsRetrieve.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/listagenttasks.d.ts +41 -0
- package/models/errors/listagenttasks.d.ts.map +1 -0
- package/models/errors/listagenttasks.js +85 -0
- package/models/errors/listagenttasks.js.map +1 -0
- 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 +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +14 -14
- 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/getagent.d.ts +7 -7
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +16 -8
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listagents.d.ts +4 -4
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +6 -6
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +523 -0
- package/models/operations/listagenttasks.d.ts.map +1 -0
- package/models/operations/listagenttasks.js +609 -0
- package/models/operations/listagenttasks.js.map +1 -0
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listchunks.d.ts +13 -13
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +16 -16
- package/models/operations/listchunks.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.d.ts +13 -13
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +18 -19
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- 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 +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/README.md +98 -94
- package/packages/orq-rc/RUNTIMES.md +6 -6
- package/packages/orq-rc/docs/sdks/agents/README.md +269 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsInvoke.ts +167 -0
- package/packages/orq-rc/src/funcs/agentsList.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsListActions.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsListTasks.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsRetrieveAction.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsRetrieveTask.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsRun.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsStream.ts +191 -0
- package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -1
- package/packages/orq-rc/src/funcs/budgetsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/budgetsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/budgetsGet.ts +1 -1
- package/packages/orq-rc/src/funcs/budgetsList.ts +1 -1
- package/packages/orq-rc/src/funcs/budgetsUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/chunkingParse.ts +1 -1
- package/packages/orq-rc/src/funcs/contactsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/contactsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/contactsList.ts +1 -1
- package/packages/orq-rc/src/funcs/contactsRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/contactsUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/datasetsClear.ts +1 -1
- package/packages/orq-rc/src/funcs/datasetsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +1 -1
- package/packages/orq-rc/src/funcs/datasetsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +1 -1
- package/packages/orq-rc/src/funcs/datasetsList.ts +1 -1
- package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +1 -1
- package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +1 -1
- package/packages/orq-rc/src/funcs/datasetsUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +1 -1
- package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +1 -1
- package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +1 -1
- package/packages/orq-rc/src/funcs/deploymentsList.ts +1 -1
- package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/deploymentsStream.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsAgeAppropriate.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsAll.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsBertScore.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsBleuScore.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsBotDetection.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsContains.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsContainsAll.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsContainsAny.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsContainsEmail.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsContainsNone.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsContainsUrl.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsContainsValidLink.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsEndsWith.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsExactMatch.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsFactCheckingKnowledgeBase.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsGrammar.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsInvoke.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsLengthBetween.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsLengthGreaterThan.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsLengthLessThan.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsLocalization.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsPii.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasCoherence.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasConciseness.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasContextEntitiesRecall.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasContextPrecision.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasContextRecall.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasCorrectness.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasFaithfulness.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasHarmfulness.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasMaliciousness.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasNoiseSensitivity.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasResponseRelevancy.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsRagasSummarization.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsSentimentClassification.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsSummarization.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsToneOfVoice.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsTranslation.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/evalsValidJson.ts +1 -1
- package/packages/orq-rc/src/funcs/feedbackCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/filesCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/filesDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/filesGet.ts +1 -1
- package/packages/orq-rc/src/funcs/filesList.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeList.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeSearch.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresList.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +1 -1
- package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +1 -1
- package/packages/orq-rc/src/funcs/modelsList.ts +1 -1
- package/packages/orq-rc/src/funcs/promptsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/promptsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/promptsGetVersion.ts +1 -1
- package/packages/orq-rc/src/funcs/promptsList.ts +1 -1
- package/packages/orq-rc/src/funcs/promptsListVersions.ts +1 -1
- package/packages/orq-rc/src/funcs/promptsRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/remoteconfigsRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/toolsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/toolsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/toolsDuplicate.ts +1 -1
- package/packages/orq-rc/src/funcs/toolsList.ts +1 -1
- package/packages/orq-rc/src/funcs/toolsRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/toolsUpdate.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +5 -1
- package/packages/orq-rc/src/mcp-server/tools/agentsInvoke.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsStream.ts +37 -0
- package/packages/orq-rc/src/models/errors/index.ts +1 -0
- package/packages/orq-rc/src/models/errors/streamagent.ts +80 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +6 -6
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +701 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +10 -10
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +2 -2
- package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
- package/packages/orq-rc/src/models/operations/index.ts +2 -0
- package/packages/orq-rc/src/models/operations/invokeagent.ts +1561 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +2 -2
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +785 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +6 -6
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +767 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +6 -6
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/runagent.ts +443 -374
- package/packages/orq-rc/src/models/operations/streamagent.ts +1365 -0
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +207 -165
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +763 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +6 -22
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +1 -0
- package/packages/orq-rc/src/models/operations/updateprompt.ts +2 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +10 -10
- package/packages/orq-rc/src/sdk/agents.ts +36 -0
- package/sdk/agents.d.ts +11 -4
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +15 -5
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsList.ts +1 -1
- package/src/funcs/agentsListActions.ts +1 -1
- package/src/funcs/agentsListTasks.ts +183 -0
- package/src/funcs/agentsRetrieve.ts +4 -4
- package/src/funcs/agentsRetrieveAction.ts +1 -1
- package/src/funcs/agentsRetrieveTask.ts +1 -1
- package/src/funcs/agentsRun.ts +1 -1
- package/src/funcs/agentsStreamRun.ts +1 -1
- package/src/funcs/budgetsCreate.ts +1 -1
- package/src/funcs/budgetsDelete.ts +1 -1
- package/src/funcs/budgetsGet.ts +1 -1
- package/src/funcs/budgetsList.ts +1 -1
- package/src/funcs/budgetsUpdate.ts +1 -1
- package/src/funcs/chunkingParse.ts +1 -1
- package/src/funcs/contactsCreate.ts +1 -1
- package/src/funcs/contactsDelete.ts +1 -1
- package/src/funcs/contactsList.ts +1 -1
- package/src/funcs/contactsRetrieve.ts +1 -1
- package/src/funcs/contactsUpdate.ts +1 -1
- package/src/funcs/datasetsClear.ts +1 -1
- package/src/funcs/datasetsCreate.ts +1 -1
- package/src/funcs/datasetsCreateDatapoint.ts +1 -1
- package/src/funcs/datasetsDelete.ts +1 -1
- package/src/funcs/datasetsDeleteDatapoint.ts +1 -1
- package/src/funcs/datasetsList.ts +1 -1
- package/src/funcs/datasetsListDatapoints.ts +1 -1
- package/src/funcs/datasetsRetrieve.ts +1 -1
- package/src/funcs/datasetsRetrieveDatapoint.ts +1 -1
- package/src/funcs/datasetsUpdate.ts +1 -1
- package/src/funcs/datasetsUpdateDatapoint.ts +1 -1
- package/src/funcs/deploymentsGetConfig.ts +1 -1
- package/src/funcs/deploymentsInvoke.ts +1 -1
- package/src/funcs/deploymentsList.ts +1 -1
- package/src/funcs/deploymentsMetricsCreate.ts +1 -1
- package/src/funcs/deploymentsStream.ts +1 -1
- package/src/funcs/evalsAgeAppropriate.ts +1 -1
- package/src/funcs/evalsAll.ts +1 -1
- package/src/funcs/evalsBertScore.ts +1 -1
- package/src/funcs/evalsBleuScore.ts +1 -1
- package/src/funcs/evalsBotDetection.ts +1 -1
- package/src/funcs/evalsContains.ts +1 -1
- package/src/funcs/evalsContainsAll.ts +1 -1
- package/src/funcs/evalsContainsAny.ts +1 -1
- package/src/funcs/evalsContainsEmail.ts +1 -1
- package/src/funcs/evalsContainsNone.ts +1 -1
- package/src/funcs/evalsContainsUrl.ts +1 -1
- package/src/funcs/evalsContainsValidLink.ts +1 -1
- package/src/funcs/evalsCreate.ts +1 -1
- package/src/funcs/evalsDelete.ts +1 -1
- package/src/funcs/evalsEndsWith.ts +1 -1
- package/src/funcs/evalsExactMatch.ts +1 -1
- package/src/funcs/evalsFactCheckingKnowledgeBase.ts +1 -1
- package/src/funcs/evalsGrammar.ts +1 -1
- package/src/funcs/evalsInvoke.ts +1 -1
- package/src/funcs/evalsLengthBetween.ts +1 -1
- package/src/funcs/evalsLengthGreaterThan.ts +1 -1
- package/src/funcs/evalsLengthLessThan.ts +1 -1
- package/src/funcs/evalsLocalization.ts +1 -1
- package/src/funcs/evalsPii.ts +1 -1
- package/src/funcs/evalsRagasCoherence.ts +1 -1
- package/src/funcs/evalsRagasConciseness.ts +1 -1
- package/src/funcs/evalsRagasContextEntitiesRecall.ts +1 -1
- package/src/funcs/evalsRagasContextPrecision.ts +1 -1
- package/src/funcs/evalsRagasContextRecall.ts +1 -1
- package/src/funcs/evalsRagasCorrectness.ts +1 -1
- package/src/funcs/evalsRagasFaithfulness.ts +1 -1
- package/src/funcs/evalsRagasHarmfulness.ts +1 -1
- package/src/funcs/evalsRagasMaliciousness.ts +1 -1
- package/src/funcs/evalsRagasNoiseSensitivity.ts +1 -1
- package/src/funcs/evalsRagasResponseRelevancy.ts +1 -1
- package/src/funcs/evalsRagasSummarization.ts +1 -1
- package/src/funcs/evalsSentimentClassification.ts +1 -1
- package/src/funcs/evalsSummarization.ts +1 -1
- package/src/funcs/evalsToneOfVoice.ts +1 -1
- package/src/funcs/evalsTranslation.ts +1 -1
- package/src/funcs/evalsUpdate.ts +1 -1
- package/src/funcs/evalsValidJson.ts +1 -1
- package/src/funcs/feedbackCreate.ts +1 -1
- package/src/funcs/filesCreate.ts +1 -1
- package/src/funcs/filesDelete.ts +1 -1
- package/src/funcs/filesGet.ts +1 -1
- package/src/funcs/filesList.ts +1 -1
- package/src/funcs/knowledgeCreate.ts +1 -1
- package/src/funcs/knowledgeCreateChunks.ts +1 -1
- package/src/funcs/knowledgeCreateDatasource.ts +1 -1
- package/src/funcs/knowledgeDelete.ts +1 -1
- package/src/funcs/knowledgeDeleteChunk.ts +1 -1
- package/src/funcs/knowledgeDeleteDatasource.ts +1 -1
- package/src/funcs/knowledgeList.ts +1 -1
- package/src/funcs/knowledgeListChunks.ts +1 -1
- package/src/funcs/knowledgeListDatasources.ts +1 -1
- package/src/funcs/knowledgeRetrieve.ts +1 -1
- package/src/funcs/knowledgeRetrieveChunk.ts +1 -1
- package/src/funcs/knowledgeRetrieveDatasource.ts +1 -1
- package/src/funcs/knowledgeSearch.ts +1 -1
- package/src/funcs/knowledgeUpdate.ts +1 -1
- package/src/funcs/knowledgeUpdateChunk.ts +1 -1
- package/src/funcs/knowledgeUpdateDatasource.ts +1 -1
- package/src/funcs/memoryStoresCreate.ts +1 -1
- package/src/funcs/memoryStoresCreateDocument.ts +1 -1
- package/src/funcs/memoryStoresCreateMemory.ts +1 -1
- package/src/funcs/memoryStoresDelete.ts +1 -1
- package/src/funcs/memoryStoresDeleteDocument.ts +1 -1
- package/src/funcs/memoryStoresDeleteMemory.ts +1 -1
- package/src/funcs/memoryStoresList.ts +1 -1
- package/src/funcs/memoryStoresListDocuments.ts +1 -1
- package/src/funcs/memoryStoresListMemories.ts +1 -1
- package/src/funcs/memoryStoresRetrieve.ts +1 -1
- package/src/funcs/memoryStoresRetrieveDocument.ts +1 -1
- package/src/funcs/memoryStoresRetrieveMemory.ts +1 -1
- package/src/funcs/memoryStoresUpdate.ts +1 -1
- package/src/funcs/memoryStoresUpdateDocument.ts +1 -1
- package/src/funcs/memoryStoresUpdateMemory.ts +1 -1
- package/src/funcs/modelsList.ts +1 -1
- package/src/funcs/promptsCreate.ts +1 -1
- package/src/funcs/promptsDelete.ts +1 -1
- package/src/funcs/promptsGetVersion.ts +1 -1
- package/src/funcs/promptsList.ts +1 -1
- package/src/funcs/promptsListVersions.ts +1 -1
- package/src/funcs/promptsRetrieve.ts +1 -1
- package/src/funcs/promptsUpdate.ts +1 -1
- package/src/funcs/remoteconfigsRetrieve.ts +1 -1
- package/src/funcs/toolsCreate.ts +1 -1
- package/src/funcs/toolsDelete.ts +1 -1
- package/src/funcs/toolsDuplicate.ts +1 -1
- package/src/funcs/toolsList.ts +1 -1
- package/src/funcs/toolsRetrieve.ts +1 -1
- package/src/funcs/toolsUpdate.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +4 -2
- package/src/mcp-server/tools/agentsListTasks.ts +37 -0
- package/src/mcp-server/tools/agentsRetrieve.ts +1 -1
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/listagenttasks.ts +80 -0
- 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 +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +14 -14
- 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/getagent.ts +23 -15
- 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/index.ts +1 -0
- package/src/models/operations/listagents.ts +10 -10
- package/src/models/operations/listagenttasks.ts +1099 -0
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listchunks.ts +21 -21
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +29 -22
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- 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/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- 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 +14 -14
- package/src/sdk/agents.ts +25 -7
- package/docs/sdks/orq/README.md +0 -10
- package/packages/orq-rc/docs/sdks/orq/README.md +0 -10
|
@@ -499,6 +499,172 @@ export type RetrieveDatapointMessages =
|
|
|
499
499
|
| RetrieveDatapointMessagesUserMessage
|
|
500
500
|
| RetrieveDatapointMessagesAssistantMessage;
|
|
501
501
|
|
|
502
|
+
/**
|
|
503
|
+
* The type of evaluation
|
|
504
|
+
*/
|
|
505
|
+
export const RetrieveDatapointEvaluationsDatasetsResponseEvaluationType = {
|
|
506
|
+
HumanReview: "human_review",
|
|
507
|
+
} as const;
|
|
508
|
+
/**
|
|
509
|
+
* The type of evaluation
|
|
510
|
+
*/
|
|
511
|
+
export type RetrieveDatapointEvaluationsDatasetsResponseEvaluationType =
|
|
512
|
+
ClosedEnum<typeof RetrieveDatapointEvaluationsDatasetsResponseEvaluationType>;
|
|
513
|
+
|
|
514
|
+
export const RetrieveDatapointEvaluationsDatasetsResponseSource = {
|
|
515
|
+
Orq: "orq",
|
|
516
|
+
External: "external",
|
|
517
|
+
} as const;
|
|
518
|
+
export type RetrieveDatapointEvaluationsDatasetsResponseSource = ClosedEnum<
|
|
519
|
+
typeof RetrieveDatapointEvaluationsDatasetsResponseSource
|
|
520
|
+
>;
|
|
521
|
+
|
|
522
|
+
export const RetrieveDatapointEvaluationsDatasetsResponseType = {
|
|
523
|
+
StringArray: "string_array",
|
|
524
|
+
} as const;
|
|
525
|
+
export type RetrieveDatapointEvaluationsDatasetsResponseType = ClosedEnum<
|
|
526
|
+
typeof RetrieveDatapointEvaluationsDatasetsResponseType
|
|
527
|
+
>;
|
|
528
|
+
|
|
529
|
+
export type RetrieveDatapointEvaluations3 = {
|
|
530
|
+
/**
|
|
531
|
+
* The unique identifier of the human evaluation
|
|
532
|
+
*/
|
|
533
|
+
id: string;
|
|
534
|
+
/**
|
|
535
|
+
* The type of evaluation
|
|
536
|
+
*/
|
|
537
|
+
evaluationType: RetrieveDatapointEvaluationsDatasetsResponseEvaluationType;
|
|
538
|
+
/**
|
|
539
|
+
* The unique identifier of the human review
|
|
540
|
+
*/
|
|
541
|
+
humanReviewId: string;
|
|
542
|
+
source?: RetrieveDatapointEvaluationsDatasetsResponseSource | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* The unique identifier of the user who reviewed the item
|
|
545
|
+
*/
|
|
546
|
+
reviewedById: string;
|
|
547
|
+
/**
|
|
548
|
+
* The date and time the item was reviewed
|
|
549
|
+
*/
|
|
550
|
+
reviewedAt?: Date | undefined;
|
|
551
|
+
type: RetrieveDatapointEvaluationsDatasetsResponseType;
|
|
552
|
+
values: Array<string>;
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* The type of evaluation
|
|
557
|
+
*/
|
|
558
|
+
export const RetrieveDatapointEvaluationsDatasetsEvaluationType = {
|
|
559
|
+
HumanReview: "human_review",
|
|
560
|
+
} as const;
|
|
561
|
+
/**
|
|
562
|
+
* The type of evaluation
|
|
563
|
+
*/
|
|
564
|
+
export type RetrieveDatapointEvaluationsDatasetsEvaluationType = ClosedEnum<
|
|
565
|
+
typeof RetrieveDatapointEvaluationsDatasetsEvaluationType
|
|
566
|
+
>;
|
|
567
|
+
|
|
568
|
+
export const RetrieveDatapointEvaluationsDatasetsSource = {
|
|
569
|
+
Orq: "orq",
|
|
570
|
+
External: "external",
|
|
571
|
+
} as const;
|
|
572
|
+
export type RetrieveDatapointEvaluationsDatasetsSource = ClosedEnum<
|
|
573
|
+
typeof RetrieveDatapointEvaluationsDatasetsSource
|
|
574
|
+
>;
|
|
575
|
+
|
|
576
|
+
export const RetrieveDatapointEvaluationsDatasetsType = {
|
|
577
|
+
Number: "number",
|
|
578
|
+
} as const;
|
|
579
|
+
export type RetrieveDatapointEvaluationsDatasetsType = ClosedEnum<
|
|
580
|
+
typeof RetrieveDatapointEvaluationsDatasetsType
|
|
581
|
+
>;
|
|
582
|
+
|
|
583
|
+
export type RetrieveDatapointEvaluations2 = {
|
|
584
|
+
/**
|
|
585
|
+
* The unique identifier of the human evaluation
|
|
586
|
+
*/
|
|
587
|
+
id: string;
|
|
588
|
+
/**
|
|
589
|
+
* The type of evaluation
|
|
590
|
+
*/
|
|
591
|
+
evaluationType: RetrieveDatapointEvaluationsDatasetsEvaluationType;
|
|
592
|
+
/**
|
|
593
|
+
* The unique identifier of the human review
|
|
594
|
+
*/
|
|
595
|
+
humanReviewId: string;
|
|
596
|
+
source?: RetrieveDatapointEvaluationsDatasetsSource | undefined;
|
|
597
|
+
/**
|
|
598
|
+
* The unique identifier of the user who reviewed the item
|
|
599
|
+
*/
|
|
600
|
+
reviewedById: string;
|
|
601
|
+
/**
|
|
602
|
+
* The date and time the item was reviewed
|
|
603
|
+
*/
|
|
604
|
+
reviewedAt?: Date | undefined;
|
|
605
|
+
type: RetrieveDatapointEvaluationsDatasetsType;
|
|
606
|
+
value: number;
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* The type of evaluation
|
|
611
|
+
*/
|
|
612
|
+
export const RetrieveDatapointEvaluationsEvaluationType = {
|
|
613
|
+
HumanReview: "human_review",
|
|
614
|
+
} as const;
|
|
615
|
+
/**
|
|
616
|
+
* The type of evaluation
|
|
617
|
+
*/
|
|
618
|
+
export type RetrieveDatapointEvaluationsEvaluationType = ClosedEnum<
|
|
619
|
+
typeof RetrieveDatapointEvaluationsEvaluationType
|
|
620
|
+
>;
|
|
621
|
+
|
|
622
|
+
export const RetrieveDatapointEvaluationsSource = {
|
|
623
|
+
Orq: "orq",
|
|
624
|
+
External: "external",
|
|
625
|
+
} as const;
|
|
626
|
+
export type RetrieveDatapointEvaluationsSource = ClosedEnum<
|
|
627
|
+
typeof RetrieveDatapointEvaluationsSource
|
|
628
|
+
>;
|
|
629
|
+
|
|
630
|
+
export const RetrieveDatapointEvaluationsType = {
|
|
631
|
+
String: "string",
|
|
632
|
+
} as const;
|
|
633
|
+
export type RetrieveDatapointEvaluationsType = ClosedEnum<
|
|
634
|
+
typeof RetrieveDatapointEvaluationsType
|
|
635
|
+
>;
|
|
636
|
+
|
|
637
|
+
export type RetrieveDatapointEvaluations1 = {
|
|
638
|
+
/**
|
|
639
|
+
* The unique identifier of the human evaluation
|
|
640
|
+
*/
|
|
641
|
+
id: string;
|
|
642
|
+
/**
|
|
643
|
+
* The type of evaluation
|
|
644
|
+
*/
|
|
645
|
+
evaluationType: RetrieveDatapointEvaluationsEvaluationType;
|
|
646
|
+
/**
|
|
647
|
+
* The unique identifier of the human review
|
|
648
|
+
*/
|
|
649
|
+
humanReviewId: string;
|
|
650
|
+
source?: RetrieveDatapointEvaluationsSource | undefined;
|
|
651
|
+
/**
|
|
652
|
+
* The unique identifier of the user who reviewed the item
|
|
653
|
+
*/
|
|
654
|
+
reviewedById: string;
|
|
655
|
+
/**
|
|
656
|
+
* The date and time the item was reviewed
|
|
657
|
+
*/
|
|
658
|
+
reviewedAt?: Date | undefined;
|
|
659
|
+
type: RetrieveDatapointEvaluationsType;
|
|
660
|
+
value: string;
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
export type RetrieveDatapointEvaluations =
|
|
664
|
+
| RetrieveDatapointEvaluations1
|
|
665
|
+
| RetrieveDatapointEvaluations2
|
|
666
|
+
| RetrieveDatapointEvaluations3;
|
|
667
|
+
|
|
502
668
|
/**
|
|
503
669
|
* Datapoint retrieved.
|
|
504
670
|
*/
|
|
@@ -528,10 +694,24 @@ export type RetrieveDatapointResponseBody = {
|
|
|
528
694
|
>
|
|
529
695
|
| undefined;
|
|
530
696
|
expectedOutput?: string | undefined;
|
|
697
|
+
/**
|
|
698
|
+
* Evaluations associated with the datapoint
|
|
699
|
+
*/
|
|
700
|
+
evaluations?:
|
|
701
|
+
| Array<
|
|
702
|
+
| RetrieveDatapointEvaluations1
|
|
703
|
+
| RetrieveDatapointEvaluations2
|
|
704
|
+
| RetrieveDatapointEvaluations3
|
|
705
|
+
>
|
|
706
|
+
| undefined;
|
|
531
707
|
/**
|
|
532
708
|
* The unique identifier of the dataset
|
|
533
709
|
*/
|
|
534
710
|
datasetId: string;
|
|
711
|
+
/**
|
|
712
|
+
* The version of the dataset snapshot
|
|
713
|
+
*/
|
|
714
|
+
snapshotVersion?: string | undefined;
|
|
535
715
|
/**
|
|
536
716
|
* The unique identifier of the user who created the dataset
|
|
537
717
|
*/
|
|
@@ -2933,6 +3113,565 @@ export function retrieveDatapointMessagesFromJSON(
|
|
|
2933
3113
|
);
|
|
2934
3114
|
}
|
|
2935
3115
|
|
|
3116
|
+
/** @internal */
|
|
3117
|
+
export const RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema:
|
|
3118
|
+
z.ZodNativeEnum<
|
|
3119
|
+
typeof RetrieveDatapointEvaluationsDatasetsResponseEvaluationType
|
|
3120
|
+
> = z.nativeEnum(RetrieveDatapointEvaluationsDatasetsResponseEvaluationType);
|
|
3121
|
+
|
|
3122
|
+
/** @internal */
|
|
3123
|
+
export const RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$outboundSchema:
|
|
3124
|
+
z.ZodNativeEnum<
|
|
3125
|
+
typeof RetrieveDatapointEvaluationsDatasetsResponseEvaluationType
|
|
3126
|
+
> = RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema;
|
|
3127
|
+
|
|
3128
|
+
/**
|
|
3129
|
+
* @internal
|
|
3130
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3131
|
+
*/
|
|
3132
|
+
export namespace RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$ {
|
|
3133
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema` instead. */
|
|
3134
|
+
export const inboundSchema =
|
|
3135
|
+
RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema;
|
|
3136
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$outboundSchema` instead. */
|
|
3137
|
+
export const outboundSchema =
|
|
3138
|
+
RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$outboundSchema;
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
/** @internal */
|
|
3142
|
+
export const RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema:
|
|
3143
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsResponseSource> = z
|
|
3144
|
+
.nativeEnum(RetrieveDatapointEvaluationsDatasetsResponseSource);
|
|
3145
|
+
|
|
3146
|
+
/** @internal */
|
|
3147
|
+
export const RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema:
|
|
3148
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsResponseSource> =
|
|
3149
|
+
RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema;
|
|
3150
|
+
|
|
3151
|
+
/**
|
|
3152
|
+
* @internal
|
|
3153
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3154
|
+
*/
|
|
3155
|
+
export namespace RetrieveDatapointEvaluationsDatasetsResponseSource$ {
|
|
3156
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema` instead. */
|
|
3157
|
+
export const inboundSchema =
|
|
3158
|
+
RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema;
|
|
3159
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema` instead. */
|
|
3160
|
+
export const outboundSchema =
|
|
3161
|
+
RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema;
|
|
3162
|
+
}
|
|
3163
|
+
|
|
3164
|
+
/** @internal */
|
|
3165
|
+
export const RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema:
|
|
3166
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsResponseType> = z
|
|
3167
|
+
.nativeEnum(RetrieveDatapointEvaluationsDatasetsResponseType);
|
|
3168
|
+
|
|
3169
|
+
/** @internal */
|
|
3170
|
+
export const RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema:
|
|
3171
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsResponseType> =
|
|
3172
|
+
RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema;
|
|
3173
|
+
|
|
3174
|
+
/**
|
|
3175
|
+
* @internal
|
|
3176
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3177
|
+
*/
|
|
3178
|
+
export namespace RetrieveDatapointEvaluationsDatasetsResponseType$ {
|
|
3179
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema` instead. */
|
|
3180
|
+
export const inboundSchema =
|
|
3181
|
+
RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema;
|
|
3182
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema` instead. */
|
|
3183
|
+
export const outboundSchema =
|
|
3184
|
+
RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema;
|
|
3185
|
+
}
|
|
3186
|
+
|
|
3187
|
+
/** @internal */
|
|
3188
|
+
export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
3189
|
+
RetrieveDatapointEvaluations3,
|
|
3190
|
+
z.ZodTypeDef,
|
|
3191
|
+
unknown
|
|
3192
|
+
> = z.object({
|
|
3193
|
+
id: z.string(),
|
|
3194
|
+
evaluation_type:
|
|
3195
|
+
RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$inboundSchema,
|
|
3196
|
+
human_review_id: z.string(),
|
|
3197
|
+
source: RetrieveDatapointEvaluationsDatasetsResponseSource$inboundSchema
|
|
3198
|
+
.default("orq"),
|
|
3199
|
+
reviewed_by_id: z.string(),
|
|
3200
|
+
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3201
|
+
"2025-10-14T05:25:51.133Z",
|
|
3202
|
+
).transform(v => new Date(v)),
|
|
3203
|
+
type: RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema,
|
|
3204
|
+
values: z.array(z.string()),
|
|
3205
|
+
}).transform((v) => {
|
|
3206
|
+
return remap$(v, {
|
|
3207
|
+
"evaluation_type": "evaluationType",
|
|
3208
|
+
"human_review_id": "humanReviewId",
|
|
3209
|
+
"reviewed_by_id": "reviewedById",
|
|
3210
|
+
"reviewed_at": "reviewedAt",
|
|
3211
|
+
});
|
|
3212
|
+
});
|
|
3213
|
+
|
|
3214
|
+
/** @internal */
|
|
3215
|
+
export type RetrieveDatapointEvaluations3$Outbound = {
|
|
3216
|
+
id: string;
|
|
3217
|
+
evaluation_type: string;
|
|
3218
|
+
human_review_id: string;
|
|
3219
|
+
source: string;
|
|
3220
|
+
reviewed_by_id: string;
|
|
3221
|
+
reviewed_at: string;
|
|
3222
|
+
type: string;
|
|
3223
|
+
values: Array<string>;
|
|
3224
|
+
};
|
|
3225
|
+
|
|
3226
|
+
/** @internal */
|
|
3227
|
+
export const RetrieveDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
3228
|
+
RetrieveDatapointEvaluations3$Outbound,
|
|
3229
|
+
z.ZodTypeDef,
|
|
3230
|
+
RetrieveDatapointEvaluations3
|
|
3231
|
+
> = z.object({
|
|
3232
|
+
id: z.string(),
|
|
3233
|
+
evaluationType:
|
|
3234
|
+
RetrieveDatapointEvaluationsDatasetsResponseEvaluationType$outboundSchema,
|
|
3235
|
+
humanReviewId: z.string(),
|
|
3236
|
+
source: RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
3237
|
+
.default("orq"),
|
|
3238
|
+
reviewedById: z.string(),
|
|
3239
|
+
reviewedAt: z.date().default(() => new Date("2025-10-14T05:25:51.133Z"))
|
|
3240
|
+
.transform(v => v.toISOString()),
|
|
3241
|
+
type: RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema,
|
|
3242
|
+
values: z.array(z.string()),
|
|
3243
|
+
}).transform((v) => {
|
|
3244
|
+
return remap$(v, {
|
|
3245
|
+
evaluationType: "evaluation_type",
|
|
3246
|
+
humanReviewId: "human_review_id",
|
|
3247
|
+
reviewedById: "reviewed_by_id",
|
|
3248
|
+
reviewedAt: "reviewed_at",
|
|
3249
|
+
});
|
|
3250
|
+
});
|
|
3251
|
+
|
|
3252
|
+
/**
|
|
3253
|
+
* @internal
|
|
3254
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3255
|
+
*/
|
|
3256
|
+
export namespace RetrieveDatapointEvaluations3$ {
|
|
3257
|
+
/** @deprecated use `RetrieveDatapointEvaluations3$inboundSchema` instead. */
|
|
3258
|
+
export const inboundSchema = RetrieveDatapointEvaluations3$inboundSchema;
|
|
3259
|
+
/** @deprecated use `RetrieveDatapointEvaluations3$outboundSchema` instead. */
|
|
3260
|
+
export const outboundSchema = RetrieveDatapointEvaluations3$outboundSchema;
|
|
3261
|
+
/** @deprecated use `RetrieveDatapointEvaluations3$Outbound` instead. */
|
|
3262
|
+
export type Outbound = RetrieveDatapointEvaluations3$Outbound;
|
|
3263
|
+
}
|
|
3264
|
+
|
|
3265
|
+
export function retrieveDatapointEvaluations3ToJSON(
|
|
3266
|
+
retrieveDatapointEvaluations3: RetrieveDatapointEvaluations3,
|
|
3267
|
+
): string {
|
|
3268
|
+
return JSON.stringify(
|
|
3269
|
+
RetrieveDatapointEvaluations3$outboundSchema.parse(
|
|
3270
|
+
retrieveDatapointEvaluations3,
|
|
3271
|
+
),
|
|
3272
|
+
);
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
export function retrieveDatapointEvaluations3FromJSON(
|
|
3276
|
+
jsonString: string,
|
|
3277
|
+
): SafeParseResult<RetrieveDatapointEvaluations3, SDKValidationError> {
|
|
3278
|
+
return safeParse(
|
|
3279
|
+
jsonString,
|
|
3280
|
+
(x) => RetrieveDatapointEvaluations3$inboundSchema.parse(JSON.parse(x)),
|
|
3281
|
+
`Failed to parse 'RetrieveDatapointEvaluations3' from JSON`,
|
|
3282
|
+
);
|
|
3283
|
+
}
|
|
3284
|
+
|
|
3285
|
+
/** @internal */
|
|
3286
|
+
export const RetrieveDatapointEvaluationsDatasetsEvaluationType$inboundSchema:
|
|
3287
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsEvaluationType> = z
|
|
3288
|
+
.nativeEnum(RetrieveDatapointEvaluationsDatasetsEvaluationType);
|
|
3289
|
+
|
|
3290
|
+
/** @internal */
|
|
3291
|
+
export const RetrieveDatapointEvaluationsDatasetsEvaluationType$outboundSchema:
|
|
3292
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsEvaluationType> =
|
|
3293
|
+
RetrieveDatapointEvaluationsDatasetsEvaluationType$inboundSchema;
|
|
3294
|
+
|
|
3295
|
+
/**
|
|
3296
|
+
* @internal
|
|
3297
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3298
|
+
*/
|
|
3299
|
+
export namespace RetrieveDatapointEvaluationsDatasetsEvaluationType$ {
|
|
3300
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsEvaluationType$inboundSchema` instead. */
|
|
3301
|
+
export const inboundSchema =
|
|
3302
|
+
RetrieveDatapointEvaluationsDatasetsEvaluationType$inboundSchema;
|
|
3303
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsEvaluationType$outboundSchema` instead. */
|
|
3304
|
+
export const outboundSchema =
|
|
3305
|
+
RetrieveDatapointEvaluationsDatasetsEvaluationType$outboundSchema;
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
/** @internal */
|
|
3309
|
+
export const RetrieveDatapointEvaluationsDatasetsSource$inboundSchema:
|
|
3310
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsSource> = z
|
|
3311
|
+
.nativeEnum(RetrieveDatapointEvaluationsDatasetsSource);
|
|
3312
|
+
|
|
3313
|
+
/** @internal */
|
|
3314
|
+
export const RetrieveDatapointEvaluationsDatasetsSource$outboundSchema:
|
|
3315
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsSource> =
|
|
3316
|
+
RetrieveDatapointEvaluationsDatasetsSource$inboundSchema;
|
|
3317
|
+
|
|
3318
|
+
/**
|
|
3319
|
+
* @internal
|
|
3320
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3321
|
+
*/
|
|
3322
|
+
export namespace RetrieveDatapointEvaluationsDatasetsSource$ {
|
|
3323
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsSource$inboundSchema` instead. */
|
|
3324
|
+
export const inboundSchema =
|
|
3325
|
+
RetrieveDatapointEvaluationsDatasetsSource$inboundSchema;
|
|
3326
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsSource$outboundSchema` instead. */
|
|
3327
|
+
export const outboundSchema =
|
|
3328
|
+
RetrieveDatapointEvaluationsDatasetsSource$outboundSchema;
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
/** @internal */
|
|
3332
|
+
export const RetrieveDatapointEvaluationsDatasetsType$inboundSchema:
|
|
3333
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsType> = z
|
|
3334
|
+
.nativeEnum(RetrieveDatapointEvaluationsDatasetsType);
|
|
3335
|
+
|
|
3336
|
+
/** @internal */
|
|
3337
|
+
export const RetrieveDatapointEvaluationsDatasetsType$outboundSchema:
|
|
3338
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsDatasetsType> =
|
|
3339
|
+
RetrieveDatapointEvaluationsDatasetsType$inboundSchema;
|
|
3340
|
+
|
|
3341
|
+
/**
|
|
3342
|
+
* @internal
|
|
3343
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3344
|
+
*/
|
|
3345
|
+
export namespace RetrieveDatapointEvaluationsDatasetsType$ {
|
|
3346
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsType$inboundSchema` instead. */
|
|
3347
|
+
export const inboundSchema =
|
|
3348
|
+
RetrieveDatapointEvaluationsDatasetsType$inboundSchema;
|
|
3349
|
+
/** @deprecated use `RetrieveDatapointEvaluationsDatasetsType$outboundSchema` instead. */
|
|
3350
|
+
export const outboundSchema =
|
|
3351
|
+
RetrieveDatapointEvaluationsDatasetsType$outboundSchema;
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3354
|
+
/** @internal */
|
|
3355
|
+
export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
3356
|
+
RetrieveDatapointEvaluations2,
|
|
3357
|
+
z.ZodTypeDef,
|
|
3358
|
+
unknown
|
|
3359
|
+
> = z.object({
|
|
3360
|
+
id: z.string(),
|
|
3361
|
+
evaluation_type:
|
|
3362
|
+
RetrieveDatapointEvaluationsDatasetsEvaluationType$inboundSchema,
|
|
3363
|
+
human_review_id: z.string(),
|
|
3364
|
+
source: RetrieveDatapointEvaluationsDatasetsSource$inboundSchema.default(
|
|
3365
|
+
"orq",
|
|
3366
|
+
),
|
|
3367
|
+
reviewed_by_id: z.string(),
|
|
3368
|
+
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3369
|
+
"2025-10-14T05:25:51.133Z",
|
|
3370
|
+
).transform(v => new Date(v)),
|
|
3371
|
+
type: RetrieveDatapointEvaluationsDatasetsType$inboundSchema,
|
|
3372
|
+
value: z.number(),
|
|
3373
|
+
}).transform((v) => {
|
|
3374
|
+
return remap$(v, {
|
|
3375
|
+
"evaluation_type": "evaluationType",
|
|
3376
|
+
"human_review_id": "humanReviewId",
|
|
3377
|
+
"reviewed_by_id": "reviewedById",
|
|
3378
|
+
"reviewed_at": "reviewedAt",
|
|
3379
|
+
});
|
|
3380
|
+
});
|
|
3381
|
+
|
|
3382
|
+
/** @internal */
|
|
3383
|
+
export type RetrieveDatapointEvaluations2$Outbound = {
|
|
3384
|
+
id: string;
|
|
3385
|
+
evaluation_type: string;
|
|
3386
|
+
human_review_id: string;
|
|
3387
|
+
source: string;
|
|
3388
|
+
reviewed_by_id: string;
|
|
3389
|
+
reviewed_at: string;
|
|
3390
|
+
type: string;
|
|
3391
|
+
value: number;
|
|
3392
|
+
};
|
|
3393
|
+
|
|
3394
|
+
/** @internal */
|
|
3395
|
+
export const RetrieveDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
3396
|
+
RetrieveDatapointEvaluations2$Outbound,
|
|
3397
|
+
z.ZodTypeDef,
|
|
3398
|
+
RetrieveDatapointEvaluations2
|
|
3399
|
+
> = z.object({
|
|
3400
|
+
id: z.string(),
|
|
3401
|
+
evaluationType:
|
|
3402
|
+
RetrieveDatapointEvaluationsDatasetsEvaluationType$outboundSchema,
|
|
3403
|
+
humanReviewId: z.string(),
|
|
3404
|
+
source: RetrieveDatapointEvaluationsDatasetsSource$outboundSchema.default(
|
|
3405
|
+
"orq",
|
|
3406
|
+
),
|
|
3407
|
+
reviewedById: z.string(),
|
|
3408
|
+
reviewedAt: z.date().default(() => new Date("2025-10-14T05:25:51.133Z"))
|
|
3409
|
+
.transform(v => v.toISOString()),
|
|
3410
|
+
type: RetrieveDatapointEvaluationsDatasetsType$outboundSchema,
|
|
3411
|
+
value: z.number(),
|
|
3412
|
+
}).transform((v) => {
|
|
3413
|
+
return remap$(v, {
|
|
3414
|
+
evaluationType: "evaluation_type",
|
|
3415
|
+
humanReviewId: "human_review_id",
|
|
3416
|
+
reviewedById: "reviewed_by_id",
|
|
3417
|
+
reviewedAt: "reviewed_at",
|
|
3418
|
+
});
|
|
3419
|
+
});
|
|
3420
|
+
|
|
3421
|
+
/**
|
|
3422
|
+
* @internal
|
|
3423
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3424
|
+
*/
|
|
3425
|
+
export namespace RetrieveDatapointEvaluations2$ {
|
|
3426
|
+
/** @deprecated use `RetrieveDatapointEvaluations2$inboundSchema` instead. */
|
|
3427
|
+
export const inboundSchema = RetrieveDatapointEvaluations2$inboundSchema;
|
|
3428
|
+
/** @deprecated use `RetrieveDatapointEvaluations2$outboundSchema` instead. */
|
|
3429
|
+
export const outboundSchema = RetrieveDatapointEvaluations2$outboundSchema;
|
|
3430
|
+
/** @deprecated use `RetrieveDatapointEvaluations2$Outbound` instead. */
|
|
3431
|
+
export type Outbound = RetrieveDatapointEvaluations2$Outbound;
|
|
3432
|
+
}
|
|
3433
|
+
|
|
3434
|
+
export function retrieveDatapointEvaluations2ToJSON(
|
|
3435
|
+
retrieveDatapointEvaluations2: RetrieveDatapointEvaluations2,
|
|
3436
|
+
): string {
|
|
3437
|
+
return JSON.stringify(
|
|
3438
|
+
RetrieveDatapointEvaluations2$outboundSchema.parse(
|
|
3439
|
+
retrieveDatapointEvaluations2,
|
|
3440
|
+
),
|
|
3441
|
+
);
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
export function retrieveDatapointEvaluations2FromJSON(
|
|
3445
|
+
jsonString: string,
|
|
3446
|
+
): SafeParseResult<RetrieveDatapointEvaluations2, SDKValidationError> {
|
|
3447
|
+
return safeParse(
|
|
3448
|
+
jsonString,
|
|
3449
|
+
(x) => RetrieveDatapointEvaluations2$inboundSchema.parse(JSON.parse(x)),
|
|
3450
|
+
`Failed to parse 'RetrieveDatapointEvaluations2' from JSON`,
|
|
3451
|
+
);
|
|
3452
|
+
}
|
|
3453
|
+
|
|
3454
|
+
/** @internal */
|
|
3455
|
+
export const RetrieveDatapointEvaluationsEvaluationType$inboundSchema:
|
|
3456
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsEvaluationType> = z
|
|
3457
|
+
.nativeEnum(RetrieveDatapointEvaluationsEvaluationType);
|
|
3458
|
+
|
|
3459
|
+
/** @internal */
|
|
3460
|
+
export const RetrieveDatapointEvaluationsEvaluationType$outboundSchema:
|
|
3461
|
+
z.ZodNativeEnum<typeof RetrieveDatapointEvaluationsEvaluationType> =
|
|
3462
|
+
RetrieveDatapointEvaluationsEvaluationType$inboundSchema;
|
|
3463
|
+
|
|
3464
|
+
/**
|
|
3465
|
+
* @internal
|
|
3466
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3467
|
+
*/
|
|
3468
|
+
export namespace RetrieveDatapointEvaluationsEvaluationType$ {
|
|
3469
|
+
/** @deprecated use `RetrieveDatapointEvaluationsEvaluationType$inboundSchema` instead. */
|
|
3470
|
+
export const inboundSchema =
|
|
3471
|
+
RetrieveDatapointEvaluationsEvaluationType$inboundSchema;
|
|
3472
|
+
/** @deprecated use `RetrieveDatapointEvaluationsEvaluationType$outboundSchema` instead. */
|
|
3473
|
+
export const outboundSchema =
|
|
3474
|
+
RetrieveDatapointEvaluationsEvaluationType$outboundSchema;
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3477
|
+
/** @internal */
|
|
3478
|
+
export const RetrieveDatapointEvaluationsSource$inboundSchema: z.ZodNativeEnum<
|
|
3479
|
+
typeof RetrieveDatapointEvaluationsSource
|
|
3480
|
+
> = z.nativeEnum(RetrieveDatapointEvaluationsSource);
|
|
3481
|
+
|
|
3482
|
+
/** @internal */
|
|
3483
|
+
export const RetrieveDatapointEvaluationsSource$outboundSchema: z.ZodNativeEnum<
|
|
3484
|
+
typeof RetrieveDatapointEvaluationsSource
|
|
3485
|
+
> = RetrieveDatapointEvaluationsSource$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 RetrieveDatapointEvaluationsSource$ {
|
|
3492
|
+
/** @deprecated use `RetrieveDatapointEvaluationsSource$inboundSchema` instead. */
|
|
3493
|
+
export const inboundSchema = RetrieveDatapointEvaluationsSource$inboundSchema;
|
|
3494
|
+
/** @deprecated use `RetrieveDatapointEvaluationsSource$outboundSchema` instead. */
|
|
3495
|
+
export const outboundSchema =
|
|
3496
|
+
RetrieveDatapointEvaluationsSource$outboundSchema;
|
|
3497
|
+
}
|
|
3498
|
+
|
|
3499
|
+
/** @internal */
|
|
3500
|
+
export const RetrieveDatapointEvaluationsType$inboundSchema: z.ZodNativeEnum<
|
|
3501
|
+
typeof RetrieveDatapointEvaluationsType
|
|
3502
|
+
> = z.nativeEnum(RetrieveDatapointEvaluationsType);
|
|
3503
|
+
|
|
3504
|
+
/** @internal */
|
|
3505
|
+
export const RetrieveDatapointEvaluationsType$outboundSchema: z.ZodNativeEnum<
|
|
3506
|
+
typeof RetrieveDatapointEvaluationsType
|
|
3507
|
+
> = RetrieveDatapointEvaluationsType$inboundSchema;
|
|
3508
|
+
|
|
3509
|
+
/**
|
|
3510
|
+
* @internal
|
|
3511
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3512
|
+
*/
|
|
3513
|
+
export namespace RetrieveDatapointEvaluationsType$ {
|
|
3514
|
+
/** @deprecated use `RetrieveDatapointEvaluationsType$inboundSchema` instead. */
|
|
3515
|
+
export const inboundSchema = RetrieveDatapointEvaluationsType$inboundSchema;
|
|
3516
|
+
/** @deprecated use `RetrieveDatapointEvaluationsType$outboundSchema` instead. */
|
|
3517
|
+
export const outboundSchema = RetrieveDatapointEvaluationsType$outboundSchema;
|
|
3518
|
+
}
|
|
3519
|
+
|
|
3520
|
+
/** @internal */
|
|
3521
|
+
export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
3522
|
+
RetrieveDatapointEvaluations1,
|
|
3523
|
+
z.ZodTypeDef,
|
|
3524
|
+
unknown
|
|
3525
|
+
> = z.object({
|
|
3526
|
+
id: z.string(),
|
|
3527
|
+
evaluation_type: RetrieveDatapointEvaluationsEvaluationType$inboundSchema,
|
|
3528
|
+
human_review_id: z.string(),
|
|
3529
|
+
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
3530
|
+
reviewed_by_id: z.string(),
|
|
3531
|
+
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3532
|
+
"2025-10-14T05:25:51.132Z",
|
|
3533
|
+
).transform(v => new Date(v)),
|
|
3534
|
+
type: RetrieveDatapointEvaluationsType$inboundSchema,
|
|
3535
|
+
value: z.string(),
|
|
3536
|
+
}).transform((v) => {
|
|
3537
|
+
return remap$(v, {
|
|
3538
|
+
"evaluation_type": "evaluationType",
|
|
3539
|
+
"human_review_id": "humanReviewId",
|
|
3540
|
+
"reviewed_by_id": "reviewedById",
|
|
3541
|
+
"reviewed_at": "reviewedAt",
|
|
3542
|
+
});
|
|
3543
|
+
});
|
|
3544
|
+
|
|
3545
|
+
/** @internal */
|
|
3546
|
+
export type RetrieveDatapointEvaluations1$Outbound = {
|
|
3547
|
+
id: string;
|
|
3548
|
+
evaluation_type: string;
|
|
3549
|
+
human_review_id: string;
|
|
3550
|
+
source: string;
|
|
3551
|
+
reviewed_by_id: string;
|
|
3552
|
+
reviewed_at: string;
|
|
3553
|
+
type: string;
|
|
3554
|
+
value: string;
|
|
3555
|
+
};
|
|
3556
|
+
|
|
3557
|
+
/** @internal */
|
|
3558
|
+
export const RetrieveDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
3559
|
+
RetrieveDatapointEvaluations1$Outbound,
|
|
3560
|
+
z.ZodTypeDef,
|
|
3561
|
+
RetrieveDatapointEvaluations1
|
|
3562
|
+
> = z.object({
|
|
3563
|
+
id: z.string(),
|
|
3564
|
+
evaluationType: RetrieveDatapointEvaluationsEvaluationType$outboundSchema,
|
|
3565
|
+
humanReviewId: z.string(),
|
|
3566
|
+
source: RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
3567
|
+
reviewedById: z.string(),
|
|
3568
|
+
reviewedAt: z.date().default(() => new Date("2025-10-14T05:25:51.132Z"))
|
|
3569
|
+
.transform(v => v.toISOString()),
|
|
3570
|
+
type: RetrieveDatapointEvaluationsType$outboundSchema,
|
|
3571
|
+
value: z.string(),
|
|
3572
|
+
}).transform((v) => {
|
|
3573
|
+
return remap$(v, {
|
|
3574
|
+
evaluationType: "evaluation_type",
|
|
3575
|
+
humanReviewId: "human_review_id",
|
|
3576
|
+
reviewedById: "reviewed_by_id",
|
|
3577
|
+
reviewedAt: "reviewed_at",
|
|
3578
|
+
});
|
|
3579
|
+
});
|
|
3580
|
+
|
|
3581
|
+
/**
|
|
3582
|
+
* @internal
|
|
3583
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3584
|
+
*/
|
|
3585
|
+
export namespace RetrieveDatapointEvaluations1$ {
|
|
3586
|
+
/** @deprecated use `RetrieveDatapointEvaluations1$inboundSchema` instead. */
|
|
3587
|
+
export const inboundSchema = RetrieveDatapointEvaluations1$inboundSchema;
|
|
3588
|
+
/** @deprecated use `RetrieveDatapointEvaluations1$outboundSchema` instead. */
|
|
3589
|
+
export const outboundSchema = RetrieveDatapointEvaluations1$outboundSchema;
|
|
3590
|
+
/** @deprecated use `RetrieveDatapointEvaluations1$Outbound` instead. */
|
|
3591
|
+
export type Outbound = RetrieveDatapointEvaluations1$Outbound;
|
|
3592
|
+
}
|
|
3593
|
+
|
|
3594
|
+
export function retrieveDatapointEvaluations1ToJSON(
|
|
3595
|
+
retrieveDatapointEvaluations1: RetrieveDatapointEvaluations1,
|
|
3596
|
+
): string {
|
|
3597
|
+
return JSON.stringify(
|
|
3598
|
+
RetrieveDatapointEvaluations1$outboundSchema.parse(
|
|
3599
|
+
retrieveDatapointEvaluations1,
|
|
3600
|
+
),
|
|
3601
|
+
);
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
export function retrieveDatapointEvaluations1FromJSON(
|
|
3605
|
+
jsonString: string,
|
|
3606
|
+
): SafeParseResult<RetrieveDatapointEvaluations1, SDKValidationError> {
|
|
3607
|
+
return safeParse(
|
|
3608
|
+
jsonString,
|
|
3609
|
+
(x) => RetrieveDatapointEvaluations1$inboundSchema.parse(JSON.parse(x)),
|
|
3610
|
+
`Failed to parse 'RetrieveDatapointEvaluations1' from JSON`,
|
|
3611
|
+
);
|
|
3612
|
+
}
|
|
3613
|
+
|
|
3614
|
+
/** @internal */
|
|
3615
|
+
export const RetrieveDatapointEvaluations$inboundSchema: z.ZodType<
|
|
3616
|
+
RetrieveDatapointEvaluations,
|
|
3617
|
+
z.ZodTypeDef,
|
|
3618
|
+
unknown
|
|
3619
|
+
> = z.union([
|
|
3620
|
+
z.lazy(() => RetrieveDatapointEvaluations1$inboundSchema),
|
|
3621
|
+
z.lazy(() => RetrieveDatapointEvaluations2$inboundSchema),
|
|
3622
|
+
z.lazy(() => RetrieveDatapointEvaluations3$inboundSchema),
|
|
3623
|
+
]);
|
|
3624
|
+
|
|
3625
|
+
/** @internal */
|
|
3626
|
+
export type RetrieveDatapointEvaluations$Outbound =
|
|
3627
|
+
| RetrieveDatapointEvaluations1$Outbound
|
|
3628
|
+
| RetrieveDatapointEvaluations2$Outbound
|
|
3629
|
+
| RetrieveDatapointEvaluations3$Outbound;
|
|
3630
|
+
|
|
3631
|
+
/** @internal */
|
|
3632
|
+
export const RetrieveDatapointEvaluations$outboundSchema: z.ZodType<
|
|
3633
|
+
RetrieveDatapointEvaluations$Outbound,
|
|
3634
|
+
z.ZodTypeDef,
|
|
3635
|
+
RetrieveDatapointEvaluations
|
|
3636
|
+
> = z.union([
|
|
3637
|
+
z.lazy(() => RetrieveDatapointEvaluations1$outboundSchema),
|
|
3638
|
+
z.lazy(() => RetrieveDatapointEvaluations2$outboundSchema),
|
|
3639
|
+
z.lazy(() => RetrieveDatapointEvaluations3$outboundSchema),
|
|
3640
|
+
]);
|
|
3641
|
+
|
|
3642
|
+
/**
|
|
3643
|
+
* @internal
|
|
3644
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3645
|
+
*/
|
|
3646
|
+
export namespace RetrieveDatapointEvaluations$ {
|
|
3647
|
+
/** @deprecated use `RetrieveDatapointEvaluations$inboundSchema` instead. */
|
|
3648
|
+
export const inboundSchema = RetrieveDatapointEvaluations$inboundSchema;
|
|
3649
|
+
/** @deprecated use `RetrieveDatapointEvaluations$outboundSchema` instead. */
|
|
3650
|
+
export const outboundSchema = RetrieveDatapointEvaluations$outboundSchema;
|
|
3651
|
+
/** @deprecated use `RetrieveDatapointEvaluations$Outbound` instead. */
|
|
3652
|
+
export type Outbound = RetrieveDatapointEvaluations$Outbound;
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
export function retrieveDatapointEvaluationsToJSON(
|
|
3656
|
+
retrieveDatapointEvaluations: RetrieveDatapointEvaluations,
|
|
3657
|
+
): string {
|
|
3658
|
+
return JSON.stringify(
|
|
3659
|
+
RetrieveDatapointEvaluations$outboundSchema.parse(
|
|
3660
|
+
retrieveDatapointEvaluations,
|
|
3661
|
+
),
|
|
3662
|
+
);
|
|
3663
|
+
}
|
|
3664
|
+
|
|
3665
|
+
export function retrieveDatapointEvaluationsFromJSON(
|
|
3666
|
+
jsonString: string,
|
|
3667
|
+
): SafeParseResult<RetrieveDatapointEvaluations, SDKValidationError> {
|
|
3668
|
+
return safeParse(
|
|
3669
|
+
jsonString,
|
|
3670
|
+
(x) => RetrieveDatapointEvaluations$inboundSchema.parse(JSON.parse(x)),
|
|
3671
|
+
`Failed to parse 'RetrieveDatapointEvaluations' from JSON`,
|
|
3672
|
+
);
|
|
3673
|
+
}
|
|
3674
|
+
|
|
2936
3675
|
/** @internal */
|
|
2937
3676
|
export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
2938
3677
|
RetrieveDatapointResponseBody,
|
|
@@ -2952,13 +3691,21 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2952
3691
|
]),
|
|
2953
3692
|
).optional(),
|
|
2954
3693
|
expected_output: z.string().optional(),
|
|
3694
|
+
evaluations: z.array(
|
|
3695
|
+
z.union([
|
|
3696
|
+
z.lazy(() => RetrieveDatapointEvaluations1$inboundSchema),
|
|
3697
|
+
z.lazy(() => RetrieveDatapointEvaluations2$inboundSchema),
|
|
3698
|
+
z.lazy(() => RetrieveDatapointEvaluations3$inboundSchema),
|
|
3699
|
+
]),
|
|
3700
|
+
).optional(),
|
|
2955
3701
|
dataset_id: z.string(),
|
|
3702
|
+
snapshot_version: z.string().optional(),
|
|
2956
3703
|
created_by_id: z.string().optional(),
|
|
2957
3704
|
updated_by_id: z.string().optional(),
|
|
2958
3705
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2959
3706
|
.optional(),
|
|
2960
3707
|
updated: z.string().datetime({ offset: true }).default(
|
|
2961
|
-
"2025-10-
|
|
3708
|
+
"2025-10-14T05:25:41.367Z",
|
|
2962
3709
|
).transform(v => new Date(v)),
|
|
2963
3710
|
}).transform((v) => {
|
|
2964
3711
|
return remap$(v, {
|
|
@@ -2966,6 +3713,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2966
3713
|
"workspace_id": "workspaceId",
|
|
2967
3714
|
"expected_output": "expectedOutput",
|
|
2968
3715
|
"dataset_id": "datasetId",
|
|
3716
|
+
"snapshot_version": "snapshotVersion",
|
|
2969
3717
|
"created_by_id": "createdById",
|
|
2970
3718
|
"updated_by_id": "updatedById",
|
|
2971
3719
|
});
|
|
@@ -2986,7 +3734,15 @@ export type RetrieveDatapointResponseBody$Outbound = {
|
|
|
2986
3734
|
>
|
|
2987
3735
|
| undefined;
|
|
2988
3736
|
expected_output?: string | undefined;
|
|
3737
|
+
evaluations?:
|
|
3738
|
+
| Array<
|
|
3739
|
+
| RetrieveDatapointEvaluations1$Outbound
|
|
3740
|
+
| RetrieveDatapointEvaluations2$Outbound
|
|
3741
|
+
| RetrieveDatapointEvaluations3$Outbound
|
|
3742
|
+
>
|
|
3743
|
+
| undefined;
|
|
2989
3744
|
dataset_id: string;
|
|
3745
|
+
snapshot_version?: string | undefined;
|
|
2990
3746
|
created_by_id?: string | undefined;
|
|
2991
3747
|
updated_by_id?: string | undefined;
|
|
2992
3748
|
created?: string | undefined;
|
|
@@ -3012,11 +3768,19 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
3012
3768
|
]),
|
|
3013
3769
|
).optional(),
|
|
3014
3770
|
expectedOutput: z.string().optional(),
|
|
3771
|
+
evaluations: z.array(
|
|
3772
|
+
z.union([
|
|
3773
|
+
z.lazy(() => RetrieveDatapointEvaluations1$outboundSchema),
|
|
3774
|
+
z.lazy(() => RetrieveDatapointEvaluations2$outboundSchema),
|
|
3775
|
+
z.lazy(() => RetrieveDatapointEvaluations3$outboundSchema),
|
|
3776
|
+
]),
|
|
3777
|
+
).optional(),
|
|
3015
3778
|
datasetId: z.string(),
|
|
3779
|
+
snapshotVersion: z.string().optional(),
|
|
3016
3780
|
createdById: z.string().optional(),
|
|
3017
3781
|
updatedById: z.string().optional(),
|
|
3018
3782
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
3019
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
3783
|
+
updated: z.date().default(() => new Date("2025-10-14T05:25:41.367Z"))
|
|
3020
3784
|
.transform(v => v.toISOString()),
|
|
3021
3785
|
}).transform((v) => {
|
|
3022
3786
|
return remap$(v, {
|
|
@@ -3024,6 +3788,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
3024
3788
|
workspaceId: "workspace_id",
|
|
3025
3789
|
expectedOutput: "expected_output",
|
|
3026
3790
|
datasetId: "dataset_id",
|
|
3791
|
+
snapshotVersion: "snapshot_version",
|
|
3027
3792
|
createdById: "created_by_id",
|
|
3028
3793
|
updatedById: "updated_by_id",
|
|
3029
3794
|
});
|