@orq-ai/node 4.8.0-rc.9 → 4.9.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/FUNCTIONS.md +4 -4
- package/README.md +89 -89
- package/examples/{postV2Feedback.example.ts → postV2FeedbackEvaluationRemove.example.ts} +2 -4
- package/funcs/agentsCreate.d.ts.map +1 -1
- package/funcs/agentsCreate.js +2 -1
- package/funcs/agentsCreate.js.map +1 -1
- package/funcs/agentsDelete.d.ts.map +1 -1
- package/funcs/agentsDelete.js +2 -1
- package/funcs/agentsDelete.js.map +1 -1
- package/funcs/agentsInvoke.d.ts.map +1 -1
- package/funcs/agentsInvoke.js +2 -1
- package/funcs/agentsInvoke.js.map +1 -1
- package/funcs/agentsList.d.ts.map +1 -1
- package/funcs/agentsList.js +2 -1
- package/funcs/agentsList.js.map +1 -1
- package/funcs/agentsPostV2AgentsA2a.d.ts.map +1 -1
- package/funcs/agentsPostV2AgentsA2a.js +2 -1
- package/funcs/agentsPostV2AgentsA2a.js.map +1 -1
- package/funcs/agentsPostV2AgentsKeyCardRefresh.d.ts.map +1 -1
- package/funcs/agentsPostV2AgentsKeyCardRefresh.js +2 -1
- package/funcs/agentsPostV2AgentsKeyCardRefresh.js.map +1 -1
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +2 -1
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/agentsResponsesGet.d.ts.map +1 -1
- package/funcs/agentsResponsesGet.js +2 -1
- package/funcs/agentsResponsesGet.js.map +1 -1
- package/funcs/agentsRetrieve.d.ts.map +1 -1
- package/funcs/agentsRetrieve.js +2 -1
- package/funcs/agentsRetrieve.js.map +1 -1
- package/funcs/agentsRun.d.ts.map +1 -1
- package/funcs/agentsRun.js +2 -1
- package/funcs/agentsRun.js.map +1 -1
- package/funcs/agentsStream.d.ts.map +1 -1
- package/funcs/agentsStream.js +2 -1
- package/funcs/agentsStream.js.map +1 -1
- package/funcs/agentsStreamRun.d.ts.map +1 -1
- package/funcs/agentsStreamRun.js +2 -1
- package/funcs/agentsStreamRun.js.map +1 -1
- package/funcs/agentsUpdate.d.ts.map +1 -1
- package/funcs/agentsUpdate.js +2 -1
- package/funcs/agentsUpdate.js.map +1 -1
- package/funcs/annotationsCreate.d.ts.map +1 -1
- package/funcs/annotationsCreate.js +2 -1
- package/funcs/annotationsCreate.js.map +1 -1
- package/funcs/annotationsDelete.d.ts.map +1 -1
- package/funcs/annotationsDelete.js +2 -1
- package/funcs/annotationsDelete.js.map +1 -1
- package/funcs/chunkingParse.d.ts.map +1 -1
- package/funcs/chunkingParse.js +2 -1
- package/funcs/chunkingParse.js.map +1 -1
- package/funcs/contactsCreate.d.ts.map +1 -1
- package/funcs/contactsCreate.js +2 -1
- package/funcs/contactsCreate.js.map +1 -1
- package/funcs/datasetsClear.d.ts.map +1 -1
- package/funcs/datasetsClear.js +2 -1
- package/funcs/datasetsClear.js.map +1 -1
- package/funcs/datasetsCreate.d.ts.map +1 -1
- package/funcs/datasetsCreate.js +2 -1
- package/funcs/datasetsCreate.js.map +1 -1
- package/funcs/datasetsCreateDatapoint.d.ts.map +1 -1
- package/funcs/datasetsCreateDatapoint.js +2 -1
- package/funcs/datasetsCreateDatapoint.js.map +1 -1
- package/funcs/datasetsDelete.d.ts.map +1 -1
- package/funcs/datasetsDelete.js +2 -1
- package/funcs/datasetsDelete.js.map +1 -1
- package/funcs/datasetsDeleteDatapoint.d.ts.map +1 -1
- package/funcs/datasetsDeleteDatapoint.js +2 -1
- package/funcs/datasetsDeleteDatapoint.js.map +1 -1
- package/funcs/datasetsList.d.ts.map +1 -1
- package/funcs/datasetsList.js +2 -1
- package/funcs/datasetsList.js.map +1 -1
- package/funcs/datasetsListDatapoints.d.ts.map +1 -1
- package/funcs/datasetsListDatapoints.js +2 -1
- package/funcs/datasetsListDatapoints.js.map +1 -1
- package/funcs/datasetsRetrieve.d.ts.map +1 -1
- package/funcs/datasetsRetrieve.js +2 -1
- package/funcs/datasetsRetrieve.js.map +1 -1
- package/funcs/datasetsRetrieveDatapoint.d.ts.map +1 -1
- package/funcs/datasetsRetrieveDatapoint.js +2 -1
- package/funcs/datasetsRetrieveDatapoint.js.map +1 -1
- package/funcs/datasetsUpdate.d.ts.map +1 -1
- package/funcs/datasetsUpdate.js +2 -1
- package/funcs/datasetsUpdate.js.map +1 -1
- package/funcs/datasetsUpdateDatapoint.d.ts.map +1 -1
- package/funcs/datasetsUpdateDatapoint.js +2 -1
- package/funcs/datasetsUpdateDatapoint.js.map +1 -1
- package/funcs/deploymentsGetConfig.d.ts.map +1 -1
- package/funcs/deploymentsGetConfig.js +2 -1
- package/funcs/deploymentsGetConfig.js.map +1 -1
- package/funcs/deploymentsInvoke.d.ts.map +1 -1
- package/funcs/deploymentsInvoke.js +2 -1
- package/funcs/deploymentsInvoke.js.map +1 -1
- package/funcs/deploymentsList.d.ts.map +1 -1
- package/funcs/deploymentsList.js +2 -1
- package/funcs/deploymentsList.js.map +1 -1
- package/funcs/deploymentsMetricsCreate.d.ts.map +1 -1
- package/funcs/deploymentsMetricsCreate.js +2 -1
- package/funcs/deploymentsMetricsCreate.js.map +1 -1
- package/funcs/deploymentsStream.d.ts.map +1 -1
- package/funcs/deploymentsStream.js +2 -1
- package/funcs/deploymentsStream.js.map +1 -1
- package/funcs/evalsAll.d.ts.map +1 -1
- package/funcs/evalsAll.js +2 -1
- package/funcs/evalsAll.js.map +1 -1
- package/funcs/evalsCreate.d.ts.map +1 -1
- package/funcs/evalsCreate.js +2 -1
- package/funcs/evalsCreate.js.map +1 -1
- package/funcs/evalsDelete.d.ts.map +1 -1
- package/funcs/evalsDelete.js +2 -1
- package/funcs/evalsDelete.js.map +1 -1
- package/funcs/{evaluatorsGetV2EvaluatorsIdVersions.d.ts → evalsGetV2EvaluatorsIdVersions.d.ts} +2 -2
- package/funcs/evalsGetV2EvaluatorsIdVersions.d.ts.map +1 -0
- package/funcs/{evaluatorsGetV2EvaluatorsIdVersions.js → evalsGetV2EvaluatorsIdVersions.js} +5 -4
- package/funcs/evalsGetV2EvaluatorsIdVersions.js.map +1 -0
- package/funcs/evalsInvoke.d.ts.map +1 -1
- package/funcs/evalsInvoke.js +2 -1
- package/funcs/evalsInvoke.js.map +1 -1
- package/funcs/evalsUpdate.d.ts.map +1 -1
- package/funcs/evalsUpdate.js +2 -1
- package/funcs/evalsUpdate.js.map +1 -1
- package/funcs/{getV2HumanEvalsId.d.ts → feedbackPostV2Feedback.d.ts} +2 -2
- package/funcs/feedbackPostV2Feedback.d.ts.map +1 -0
- package/funcs/{postV2Feedback.js → feedbackPostV2Feedback.js} +6 -5
- package/funcs/feedbackPostV2Feedback.js.map +1 -0
- package/funcs/{getV2HumanEvals.d.ts → feedbackPostV2FeedbackRemove.d.ts} +2 -2
- package/funcs/feedbackPostV2FeedbackRemove.d.ts.map +1 -0
- package/funcs/{postV2FeedbackRemove.js → feedbackPostV2FeedbackRemove.js} +5 -4
- package/funcs/feedbackPostV2FeedbackRemove.js.map +1 -0
- package/funcs/filesCreate.d.ts.map +1 -1
- package/funcs/filesCreate.js +2 -1
- package/funcs/filesCreate.js.map +1 -1
- package/funcs/filesDelete.d.ts.map +1 -1
- package/funcs/filesDelete.js +2 -1
- package/funcs/filesDelete.js.map +1 -1
- package/funcs/filesGet.d.ts.map +1 -1
- package/funcs/filesGet.js +2 -1
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesGetContent.d.ts +1 -1
- package/funcs/filesGetContent.d.ts.map +1 -1
- package/funcs/filesGetContent.js +3 -2
- package/funcs/filesGetContent.js.map +1 -1
- package/funcs/filesList.d.ts.map +1 -1
- package/funcs/filesList.js +2 -1
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpdate.d.ts.map +1 -1
- package/funcs/filesUpdate.js +2 -1
- package/funcs/filesUpdate.js.map +1 -1
- package/funcs/guardrailRulesCreate.d.ts.map +1 -1
- package/funcs/guardrailRulesCreate.js +3 -2
- package/funcs/guardrailRulesCreate.js.map +1 -1
- package/funcs/guardrailRulesDelete.d.ts.map +1 -1
- package/funcs/guardrailRulesDelete.js +2 -1
- package/funcs/guardrailRulesDelete.js.map +1 -1
- package/funcs/guardrailRulesList.d.ts.map +1 -1
- package/funcs/guardrailRulesList.js +2 -1
- package/funcs/guardrailRulesList.js.map +1 -1
- package/funcs/{modelsList.d.ts → guardrailRulesRetrieve.d.ts} +4 -4
- package/funcs/guardrailRulesRetrieve.d.ts.map +1 -0
- package/funcs/{guardrailRulesGet.js → guardrailRulesRetrieve.js} +5 -4
- package/funcs/guardrailRulesRetrieve.js.map +1 -0
- package/funcs/guardrailRulesUpdate.d.ts.map +1 -1
- package/funcs/guardrailRulesUpdate.js +3 -2
- package/funcs/guardrailRulesUpdate.js.map +1 -1
- package/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.d.ts.map +1 -1
- package/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.js +2 -1
- package/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.js.map +1 -1
- package/funcs/humanReviewSetsGetV2HumanEvalSets.d.ts.map +1 -1
- package/funcs/humanReviewSetsGetV2HumanEvalSets.js +2 -1
- package/funcs/humanReviewSetsGetV2HumanEvalSets.js.map +1 -1
- package/funcs/humanReviewSetsGetV2HumanEvalSetsId.d.ts.map +1 -1
- package/funcs/humanReviewSetsGetV2HumanEvalSetsId.js +2 -1
- package/funcs/humanReviewSetsGetV2HumanEvalSetsId.js.map +1 -1
- package/funcs/humanReviewSetsPatchV2HumanEvalSetsId.d.ts.map +1 -1
- package/funcs/humanReviewSetsPatchV2HumanEvalSetsId.js +2 -1
- package/funcs/humanReviewSetsPatchV2HumanEvalSetsId.js.map +1 -1
- package/funcs/humanReviewSetsPostV2HumanEvalSets.d.ts.map +1 -1
- package/funcs/humanReviewSetsPostV2HumanEvalSets.js +2 -1
- package/funcs/humanReviewSetsPostV2HumanEvalSets.js.map +1 -1
- package/funcs/identitiesCreate.d.ts.map +1 -1
- package/funcs/identitiesCreate.js +2 -1
- package/funcs/identitiesCreate.js.map +1 -1
- package/funcs/identitiesDelete.d.ts.map +1 -1
- package/funcs/identitiesDelete.js +2 -1
- package/funcs/identitiesDelete.js.map +1 -1
- package/funcs/identitiesList.d.ts.map +1 -1
- package/funcs/identitiesList.js +2 -1
- package/funcs/identitiesList.js.map +1 -1
- package/funcs/identitiesRetrieve.d.ts.map +1 -1
- package/funcs/identitiesRetrieve.js +2 -1
- package/funcs/identitiesRetrieve.js.map +1 -1
- package/funcs/identitiesUpdate.d.ts.map +1 -1
- package/funcs/identitiesUpdate.js +2 -1
- package/funcs/identitiesUpdate.js.map +1 -1
- package/funcs/knowledgeCreate.d.ts.map +1 -1
- package/funcs/knowledgeCreate.js +2 -1
- package/funcs/knowledgeCreate.js.map +1 -1
- package/funcs/knowledgeCreateChunks.d.ts +1 -1
- package/funcs/knowledgeCreateChunks.d.ts.map +1 -1
- package/funcs/knowledgeCreateChunks.js +3 -2
- package/funcs/knowledgeCreateChunks.js.map +1 -1
- package/funcs/knowledgeCreateDatasource.d.ts.map +1 -1
- package/funcs/knowledgeCreateDatasource.js +2 -1
- package/funcs/knowledgeCreateDatasource.js.map +1 -1
- package/funcs/knowledgeDelete.d.ts.map +1 -1
- package/funcs/knowledgeDelete.js +2 -1
- package/funcs/knowledgeDelete.js.map +1 -1
- package/funcs/knowledgeDeleteChunk.d.ts.map +1 -1
- package/funcs/knowledgeDeleteChunk.js +2 -1
- package/funcs/knowledgeDeleteChunk.js.map +1 -1
- package/funcs/knowledgeDeleteChunks.d.ts.map +1 -1
- package/funcs/knowledgeDeleteChunks.js +2 -1
- package/funcs/knowledgeDeleteChunks.js.map +1 -1
- package/funcs/knowledgeDeleteDatasource.d.ts.map +1 -1
- package/funcs/knowledgeDeleteDatasource.js +2 -1
- package/funcs/knowledgeDeleteDatasource.js.map +1 -1
- package/funcs/knowledgeGetChunksCount.d.ts.map +1 -1
- package/funcs/knowledgeGetChunksCount.js +2 -1
- package/funcs/knowledgeGetChunksCount.js.map +1 -1
- package/funcs/knowledgeList.d.ts.map +1 -1
- package/funcs/knowledgeList.js +2 -1
- package/funcs/knowledgeList.js.map +1 -1
- package/funcs/knowledgeListChunks.d.ts.map +1 -1
- package/funcs/knowledgeListChunks.js +2 -1
- package/funcs/knowledgeListChunks.js.map +1 -1
- package/funcs/knowledgeListChunksPaginated.d.ts.map +1 -1
- package/funcs/knowledgeListChunksPaginated.js +2 -1
- package/funcs/knowledgeListChunksPaginated.js.map +1 -1
- package/funcs/knowledgeListDatasources.d.ts.map +1 -1
- package/funcs/knowledgeListDatasources.js +2 -1
- package/funcs/knowledgeListDatasources.js.map +1 -1
- package/funcs/knowledgeRetrieve.d.ts.map +1 -1
- package/funcs/knowledgeRetrieve.js +2 -1
- package/funcs/knowledgeRetrieve.js.map +1 -1
- package/funcs/knowledgeRetrieveChunk.d.ts.map +1 -1
- package/funcs/knowledgeRetrieveChunk.js +2 -1
- package/funcs/knowledgeRetrieveChunk.js.map +1 -1
- package/funcs/knowledgeRetrieveDatasource.d.ts.map +1 -1
- package/funcs/knowledgeRetrieveDatasource.js +2 -1
- package/funcs/knowledgeRetrieveDatasource.js.map +1 -1
- package/funcs/knowledgeSearch.d.ts.map +1 -1
- package/funcs/knowledgeSearch.js +2 -1
- package/funcs/knowledgeSearch.js.map +1 -1
- package/funcs/knowledgeUpdate.d.ts.map +1 -1
- package/funcs/knowledgeUpdate.js +2 -1
- package/funcs/knowledgeUpdate.js.map +1 -1
- package/funcs/knowledgeUpdateChunk.d.ts.map +1 -1
- package/funcs/knowledgeUpdateChunk.js +2 -1
- package/funcs/knowledgeUpdateChunk.js.map +1 -1
- package/funcs/knowledgeUpdateDatasource.d.ts.map +1 -1
- package/funcs/knowledgeUpdateDatasource.js +2 -1
- package/funcs/knowledgeUpdateDatasource.js.map +1 -1
- package/funcs/memoryStoresCreate.d.ts.map +1 -1
- package/funcs/memoryStoresCreate.js +2 -1
- package/funcs/memoryStoresCreate.js.map +1 -1
- package/funcs/memoryStoresCreateDocument.d.ts.map +1 -1
- package/funcs/memoryStoresCreateDocument.js +2 -1
- package/funcs/memoryStoresCreateDocument.js.map +1 -1
- package/funcs/memoryStoresCreateMemory.d.ts.map +1 -1
- package/funcs/memoryStoresCreateMemory.js +2 -1
- package/funcs/memoryStoresCreateMemory.js.map +1 -1
- package/funcs/memoryStoresDelete.d.ts.map +1 -1
- package/funcs/memoryStoresDelete.js +2 -1
- package/funcs/memoryStoresDelete.js.map +1 -1
- package/funcs/memoryStoresDeleteDocument.d.ts.map +1 -1
- package/funcs/memoryStoresDeleteDocument.js +2 -1
- package/funcs/memoryStoresDeleteDocument.js.map +1 -1
- package/funcs/memoryStoresDeleteMemory.d.ts.map +1 -1
- package/funcs/memoryStoresDeleteMemory.js +2 -1
- package/funcs/memoryStoresDeleteMemory.js.map +1 -1
- package/funcs/memoryStoresList.d.ts.map +1 -1
- package/funcs/memoryStoresList.js +2 -1
- package/funcs/memoryStoresList.js.map +1 -1
- package/funcs/memoryStoresListDocuments.d.ts.map +1 -1
- package/funcs/memoryStoresListDocuments.js +2 -1
- package/funcs/memoryStoresListDocuments.js.map +1 -1
- package/funcs/memoryStoresListMemories.d.ts.map +1 -1
- package/funcs/memoryStoresListMemories.js +2 -1
- package/funcs/memoryStoresListMemories.js.map +1 -1
- package/funcs/memoryStoresRetrieve.d.ts.map +1 -1
- package/funcs/memoryStoresRetrieve.js +2 -1
- package/funcs/memoryStoresRetrieve.js.map +1 -1
- package/funcs/memoryStoresRetrieveDocument.d.ts.map +1 -1
- package/funcs/memoryStoresRetrieveDocument.js +2 -1
- package/funcs/memoryStoresRetrieveDocument.js.map +1 -1
- package/funcs/memoryStoresRetrieveMemory.d.ts.map +1 -1
- package/funcs/memoryStoresRetrieveMemory.js +2 -1
- package/funcs/memoryStoresRetrieveMemory.js.map +1 -1
- package/funcs/memoryStoresUpdate.d.ts.map +1 -1
- package/funcs/memoryStoresUpdate.js +2 -1
- package/funcs/memoryStoresUpdate.js.map +1 -1
- package/funcs/memoryStoresUpdateDocument.d.ts.map +1 -1
- package/funcs/memoryStoresUpdateDocument.js +2 -1
- package/funcs/memoryStoresUpdateDocument.js.map +1 -1
- package/funcs/memoryStoresUpdateMemory.d.ts.map +1 -1
- package/funcs/memoryStoresUpdateMemory.js +2 -1
- package/funcs/memoryStoresUpdateMemory.js.map +1 -1
- package/funcs/policiesCreate.d.ts.map +1 -1
- package/funcs/policiesCreate.js +2 -1
- package/funcs/policiesCreate.js.map +1 -1
- package/funcs/policiesDelete.d.ts.map +1 -1
- package/funcs/policiesDelete.js +2 -1
- package/funcs/policiesDelete.js.map +1 -1
- package/funcs/policiesList.d.ts.map +1 -1
- package/funcs/policiesList.js +2 -1
- package/funcs/policiesList.js.map +1 -1
- package/funcs/{patchV2HumanEvalsId.d.ts → policiesRetrieve.d.ts} +8 -3
- package/funcs/policiesRetrieve.d.ts.map +1 -0
- package/funcs/{policiesGet.js → policiesRetrieve.js} +5 -4
- package/funcs/policiesRetrieve.js.map +1 -0
- package/funcs/policiesUpdate.d.ts.map +1 -1
- package/funcs/policiesUpdate.js +2 -1
- package/funcs/policiesUpdate.js.map +1 -1
- package/funcs/postV2FeedbackEvaluation.d.ts.map +1 -1
- package/funcs/postV2FeedbackEvaluation.js +2 -1
- package/funcs/postV2FeedbackEvaluation.js.map +1 -1
- package/funcs/postV2FeedbackEvaluationRemove.d.ts.map +1 -1
- package/funcs/postV2FeedbackEvaluationRemove.js +2 -1
- package/funcs/postV2FeedbackEvaluationRemove.js.map +1 -1
- package/funcs/promptsCreate.d.ts.map +1 -1
- package/funcs/promptsCreate.js +2 -1
- package/funcs/promptsCreate.js.map +1 -1
- package/funcs/promptsDelete.d.ts.map +1 -1
- package/funcs/promptsDelete.js +2 -1
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/promptsGetVersion.d.ts.map +1 -1
- package/funcs/promptsGetVersion.js +2 -1
- package/funcs/promptsGetVersion.js.map +1 -1
- package/funcs/promptsList.d.ts.map +1 -1
- package/funcs/promptsList.js +2 -1
- package/funcs/promptsList.js.map +1 -1
- package/funcs/promptsListVersions.d.ts.map +1 -1
- package/funcs/promptsListVersions.js +2 -1
- package/funcs/promptsListVersions.js.map +1 -1
- package/funcs/promptsRetrieve.d.ts.map +1 -1
- package/funcs/promptsRetrieve.js +2 -1
- package/funcs/promptsRetrieve.js.map +1 -1
- package/funcs/promptsUpdate.d.ts.map +1 -1
- package/funcs/promptsUpdate.js +2 -1
- package/funcs/promptsUpdate.js.map +1 -1
- package/funcs/remoteconfigsRetrieve.d.ts.map +1 -1
- package/funcs/remoteconfigsRetrieve.js +2 -1
- package/funcs/remoteconfigsRetrieve.js.map +1 -1
- package/funcs/responsesCreate.d.ts +23 -0
- package/funcs/responsesCreate.d.ts.map +1 -0
- package/funcs/{postV2HumanEvals.js → responsesCreate.js} +24 -16
- package/funcs/responsesCreate.js.map +1 -0
- package/funcs/{policiesGet.d.ts → responsesGet.d.ts} +4 -4
- package/funcs/responsesGet.d.ts.map +1 -0
- package/funcs/{getV2HumanEvalsId.js → responsesGet.js} +16 -13
- package/funcs/responsesGet.js.map +1 -0
- package/funcs/routerAudioSpeechCreate.d.ts.map +1 -1
- package/funcs/routerAudioSpeechCreate.js +2 -1
- package/funcs/routerAudioSpeechCreate.js.map +1 -1
- package/funcs/routerAudioTranscriptionsCreate.d.ts.map +1 -1
- package/funcs/routerAudioTranscriptionsCreate.js +2 -1
- package/funcs/routerAudioTranscriptionsCreate.js.map +1 -1
- package/funcs/routerAudioTranslationsCreate.d.ts.map +1 -1
- package/funcs/routerAudioTranslationsCreate.js +2 -1
- package/funcs/routerAudioTranslationsCreate.js.map +1 -1
- package/funcs/routerChatCompletionsCreate.d.ts.map +1 -1
- package/funcs/routerChatCompletionsCreate.js +2 -1
- package/funcs/routerChatCompletionsCreate.js.map +1 -1
- package/funcs/routerCompletionsCreate.d.ts.map +1 -1
- package/funcs/routerCompletionsCreate.js +2 -1
- package/funcs/routerCompletionsCreate.js.map +1 -1
- package/funcs/routerEmbeddingsCreate.d.ts.map +1 -1
- package/funcs/routerEmbeddingsCreate.js +2 -1
- package/funcs/routerEmbeddingsCreate.js.map +1 -1
- package/funcs/routerImagesEditsCreate.d.ts.map +1 -1
- package/funcs/routerImagesEditsCreate.js +2 -1
- package/funcs/routerImagesEditsCreate.js.map +1 -1
- package/funcs/routerImagesGenerationsCreate.d.ts.map +1 -1
- package/funcs/routerImagesGenerationsCreate.js +2 -1
- package/funcs/routerImagesGenerationsCreate.js.map +1 -1
- package/funcs/routerImagesVariationsCreate.d.ts.map +1 -1
- package/funcs/routerImagesVariationsCreate.js +2 -1
- package/funcs/routerImagesVariationsCreate.js.map +1 -1
- package/funcs/routerModerationsCreate.d.ts.map +1 -1
- package/funcs/routerModerationsCreate.js +2 -1
- package/funcs/routerModerationsCreate.js.map +1 -1
- package/funcs/routerOcr.d.ts.map +1 -1
- package/funcs/routerOcr.js +2 -1
- package/funcs/routerOcr.js.map +1 -1
- package/funcs/routerRerankCreate.d.ts.map +1 -1
- package/funcs/routerRerankCreate.js +2 -1
- package/funcs/routerRerankCreate.js.map +1 -1
- package/funcs/routerResponsesCreate.d.ts.map +1 -1
- package/funcs/routerResponsesCreate.js +2 -1
- package/funcs/routerResponsesCreate.js.map +1 -1
- package/funcs/routingRulesCreate.d.ts.map +1 -1
- package/funcs/routingRulesCreate.js +3 -2
- package/funcs/routingRulesCreate.js.map +1 -1
- package/funcs/routingRulesDelete.d.ts.map +1 -1
- package/funcs/routingRulesDelete.js +2 -1
- package/funcs/routingRulesDelete.js.map +1 -1
- package/funcs/routingRulesList.d.ts.map +1 -1
- package/funcs/routingRulesList.js +2 -1
- package/funcs/routingRulesList.js.map +1 -1
- package/funcs/{routingRulesGet.d.ts → routingRulesRetrieve.d.ts} +2 -2
- package/funcs/routingRulesRetrieve.d.ts.map +1 -0
- package/funcs/{routingRulesGet.js → routingRulesRetrieve.js} +5 -4
- package/funcs/routingRulesRetrieve.js.map +1 -0
- package/funcs/routingRulesUpdate.d.ts.map +1 -1
- package/funcs/routingRulesUpdate.js +3 -2
- package/funcs/routingRulesUpdate.js.map +1 -1
- package/funcs/schedulesCreate.d.ts +18 -0
- package/funcs/schedulesCreate.d.ts.map +1 -0
- package/funcs/{patchV2HumanEvalsId.js → schedulesCreate.js} +17 -10
- package/funcs/schedulesCreate.js.map +1 -0
- package/funcs/schedulesDelete.d.ts +18 -0
- package/funcs/schedulesDelete.d.ts.map +1 -0
- package/funcs/{deleteV2HumanEvalsId.js → schedulesDelete.js} +21 -9
- package/funcs/schedulesDelete.js.map +1 -0
- package/funcs/{guardrailRulesGet.d.ts → schedulesList.d.ts} +4 -4
- package/funcs/schedulesList.d.ts.map +1 -0
- package/funcs/schedulesList.js +120 -0
- package/funcs/schedulesList.js.map +1 -0
- package/funcs/{deleteV2HumanEvalsId.d.ts → schedulesRetrieve.d.ts} +8 -2
- package/funcs/schedulesRetrieve.d.ts.map +1 -0
- package/funcs/schedulesRetrieve.js +128 -0
- package/funcs/schedulesRetrieve.js.map +1 -0
- package/funcs/schedulesTrigger.d.ts +18 -0
- package/funcs/schedulesTrigger.d.ts.map +1 -0
- package/funcs/schedulesTrigger.js +128 -0
- package/funcs/schedulesTrigger.js.map +1 -0
- package/funcs/schedulesUpdate.d.ts +18 -0
- package/funcs/schedulesUpdate.d.ts.map +1 -0
- package/funcs/schedulesUpdate.js +129 -0
- package/funcs/schedulesUpdate.js.map +1 -0
- package/funcs/toolsCreate.d.ts.map +1 -1
- package/funcs/toolsCreate.js +2 -1
- package/funcs/toolsCreate.js.map +1 -1
- package/funcs/toolsDelete.d.ts.map +1 -1
- package/funcs/toolsDelete.js +2 -1
- package/funcs/toolsDelete.js.map +1 -1
- package/funcs/toolsGetV2ToolsToolIdVersions.d.ts.map +1 -1
- package/funcs/toolsGetV2ToolsToolIdVersions.js +2 -1
- package/funcs/toolsGetV2ToolsToolIdVersions.js.map +1 -1
- package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.d.ts.map +1 -1
- package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.js +2 -1
- package/funcs/toolsGetV2ToolsToolIdVersionsVersionId.js.map +1 -1
- package/funcs/toolsList.d.ts.map +1 -1
- package/funcs/toolsList.js +2 -1
- package/funcs/toolsList.js.map +1 -1
- package/funcs/toolsRetrieve.d.ts.map +1 -1
- package/funcs/toolsRetrieve.js +2 -1
- package/funcs/toolsRetrieve.js.map +1 -1
- package/funcs/toolsUpdate.d.ts.map +1 -1
- package/funcs/toolsUpdate.js +2 -1
- package/funcs/toolsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/langchain/async-handler.d.mts.map +1 -0
- package/langchain/async-handler.mjs +315 -0
- package/langchain/async-handler.mjs.map +1 -0
- package/langchain/client.d.mts.map +1 -0
- package/langchain/client.mjs +120 -0
- package/langchain/client.mjs.map +1 -0
- package/langchain/events.d.mts.map +1 -0
- package/langchain/events.mjs +38 -0
- package/langchain/events.mjs.map +1 -0
- package/langchain/global.d.mts.map +1 -0
- package/langchain/global.mjs +77 -0
- package/langchain/global.mjs.map +1 -0
- package/langchain/handler.d.mts.map +1 -0
- package/langchain/handler.mjs +315 -0
- package/langchain/handler.mjs.map +1 -0
- package/langchain/index.d.mts.map +1 -0
- package/langchain/index.mjs +10 -0
- package/langchain/index.mjs.map +1 -0
- package/langchain/models.d.mts.map +1 -0
- package/langchain/models.mjs +40 -0
- package/langchain/models.mjs.map +1 -0
- package/langchain/span-builder.d.mts.map +1 -0
- package/langchain/span-builder.mjs +304 -0
- package/langchain/span-builder.mjs.map +1 -0
- package/langchain/utils.d.mts.map +1 -0
- package/langchain/utils.mjs +248 -0
- package/langchain/utils.mjs.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/sdks.d.ts +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +2 -4
- package/lib/sdks.js.map +1 -1
- package/models/components/conversationparam.d.ts +17 -0
- package/models/components/conversationparam.d.ts.map +1 -0
- package/models/{operations/deletev2humanevalsid.js → components/conversationparam.js} +12 -13
- package/models/components/conversationparam.js.map +1 -0
- package/models/components/expression.d.ts +0 -10
- package/models/components/expression.d.ts.map +1 -1
- package/models/components/expression.js +1 -10
- package/models/components/expression.js.map +1 -1
- package/models/components/expressioninput.d.ts +12 -0
- package/models/components/expressioninput.d.ts.map +1 -0
- package/models/components/expressioninput.js +49 -0
- package/models/components/expressioninput.js.map +1 -0
- package/models/components/fallbackconfig.d.ts +12 -0
- package/models/components/fallbackconfig.d.ts.map +1 -0
- package/models/components/fallbackconfig.js +49 -0
- package/models/components/fallbackconfig.js.map +1 -0
- package/models/components/guardrailref.d.ts +4 -0
- package/models/components/guardrailref.d.ts.map +1 -1
- package/models/components/guardrailref.js +8 -0
- package/models/components/guardrailref.js.map +1 -1
- package/models/components/{guardrailruledocument.d.ts → guardrailrule.d.ts} +4 -4
- package/models/components/guardrailrule.d.ts.map +1 -0
- package/models/components/{guardrailruledocument.js → guardrailrule.js} +6 -6
- package/models/components/guardrailrule.js.map +1 -0
- package/models/components/incompletedetails.d.ts +10 -0
- package/models/components/incompletedetails.d.ts.map +1 -0
- package/models/components/incompletedetails.js +50 -0
- package/models/components/incompletedetails.js.map +1 -0
- package/models/components/index.d.ts +23 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +23 -4
- package/models/components/index.js.map +1 -1
- package/models/components/inputtokensdetails.d.ts +11 -0
- package/models/components/inputtokensdetails.d.ts.map +1 -0
- package/models/components/inputtokensdetails.js +57 -0
- package/models/components/inputtokensdetails.js.map +1 -0
- package/models/components/memoryparam.d.ts +17 -0
- package/models/components/memoryparam.d.ts.map +1 -0
- package/models/components/memoryparam.js +67 -0
- package/models/components/memoryparam.js.map +1 -0
- package/models/components/outputtokensdetails.d.ts +10 -0
- package/models/components/outputtokensdetails.d.ts.map +1 -0
- package/models/components/outputtokensdetails.js +55 -0
- package/models/components/outputtokensdetails.js.map +1 -0
- package/models/components/{policydocument.d.ts → policy.d.ts} +6 -6
- package/models/components/policy.d.ts.map +1 -0
- package/models/components/{policydocument.js → policy.js} +9 -8
- package/models/components/policy.js.map +1 -0
- package/models/components/policyretryconfig.d.ts +19 -0
- package/models/components/policyretryconfig.d.ts.map +1 -0
- package/models/components/{retryconfig.js → policyretryconfig.js} +10 -10
- package/models/components/policyretryconfig.js.map +1 -0
- package/models/components/publicschedule.d.ts +66 -0
- package/models/components/publicschedule.d.ts.map +1 -0
- package/models/components/publicschedule.js +86 -0
- package/models/components/publicschedule.js.map +1 -0
- package/models/components/publicscheduleerrordetail.d.ts +17 -0
- package/models/components/publicscheduleerrordetail.d.ts.map +1 -0
- package/models/{errors/getv2humanevals.js → components/publicscheduleerrordetail.js} +9 -26
- package/models/components/publicscheduleerrordetail.js.map +1 -0
- package/models/components/publicschedulepayload.d.ts +43 -0
- package/models/components/publicschedulepayload.d.ts.map +1 -0
- package/models/components/publicschedulepayload.js +73 -0
- package/models/components/publicschedulepayload.js.map +1 -0
- package/models/components/publicusage.d.ts +17 -0
- package/models/components/publicusage.d.ts.map +1 -0
- package/models/components/publicusage.js +67 -0
- package/models/components/publicusage.js.map +1 -0
- package/models/components/reasoning.d.ts +11 -0
- package/models/components/reasoning.d.ts.map +1 -0
- package/models/components/reasoning.js +51 -0
- package/models/components/reasoning.js.map +1 -0
- package/models/components/reasoningparam.d.ts +14 -0
- package/models/components/reasoningparam.d.ts.map +1 -0
- package/models/components/reasoningparam.js +50 -0
- package/models/components/reasoningparam.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/responseerror.d.ts +11 -0
- package/models/components/responseerror.d.ts.map +1 -0
- package/models/{errors/postv2humanevals.js → components/responseerror.js} +9 -26
- package/models/components/responseerror.js.map +1 -0
- package/models/components/responseexecutionlimits.d.ts +20 -0
- package/models/components/responseexecutionlimits.d.ts.map +1 -0
- package/models/components/responseexecutionlimits.js +62 -0
- package/models/components/responseexecutionlimits.js.map +1 -0
- package/models/components/responseidentity.d.ts +24 -0
- package/models/components/responseidentity.d.ts.map +1 -0
- package/models/components/responseidentity.js +58 -0
- package/models/components/responseidentity.js.map +1 -0
- package/models/components/responseretryconfig.d.ts +20 -0
- package/models/components/responseretryconfig.d.ts.map +1 -0
- package/models/components/responseretryconfig.js +55 -0
- package/models/components/responseretryconfig.js.map +1 -0
- package/models/components/responsethread.d.ts +14 -0
- package/models/components/responsethread.d.ts.map +1 -0
- package/models/components/responsethread.js +50 -0
- package/models/components/responsethread.js.map +1 -0
- package/models/components/{routingruledocument.d.ts → routingrule.d.ts} +4 -4
- package/models/components/routingrule.d.ts.map +1 -0
- package/models/components/{routingruledocument.js → routingrule.js} +6 -6
- package/models/components/routingrule.js.map +1 -0
- package/models/components/streamoptions.d.ts +12 -0
- package/models/components/streamoptions.d.ts.map +1 -0
- package/models/components/streamoptions.js +54 -0
- package/models/components/streamoptions.js.map +1 -0
- package/models/errors/createagentschedule.d.ts +46 -0
- package/models/errors/createagentschedule.d.ts.map +1 -0
- package/models/errors/createagentschedule.js +99 -0
- package/models/errors/createagentschedule.js.map +1 -0
- package/models/errors/deleteagentschedule.d.ts +25 -0
- package/models/errors/deleteagentschedule.d.ts.map +1 -0
- package/models/errors/{patchv2humanevalsid.js → deleteagentschedule.js} +13 -10
- package/models/errors/deleteagentschedule.js.map +1 -0
- package/models/errors/index.d.ts +5 -5
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +5 -5
- package/models/errors/index.js.map +1 -1
- package/models/errors/postv2feedback.d.ts +5 -5
- package/models/errors/postv2feedback.js +6 -6
- package/models/errors/retrieveagentschedule.d.ts +25 -0
- package/models/errors/retrieveagentschedule.d.ts.map +1 -0
- package/models/errors/{getv2humanevalsid.js → retrieveagentschedule.js} +13 -10
- package/models/errors/retrieveagentschedule.js.map +1 -0
- package/models/errors/triggeragentschedule.d.ts +46 -0
- package/models/errors/triggeragentschedule.d.ts.map +1 -0
- package/models/errors/{deletev2humanevalsid.js → triggeragentschedule.js} +41 -10
- package/models/errors/triggeragentschedule.js.map +1 -0
- package/models/errors/updateagentschedule.d.ts +46 -0
- package/models/errors/updateagentschedule.d.ts.map +1 -0
- package/models/errors/updateagentschedule.js +99 -0
- package/models/errors/updateagentschedule.js.map +1 -0
- package/models/operations/createagentschedule.d.ts +123 -0
- package/models/operations/createagentschedule.d.ts.map +1 -0
- package/models/operations/createagentschedule.js +125 -0
- package/models/operations/createagentschedule.js.map +1 -0
- package/models/operations/createchunk.d.ts +3 -3
- package/models/operations/createchunk.d.ts.map +1 -1
- package/models/operations/createchunk.js +5 -5
- package/models/operations/createchunk.js.map +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.d.ts +9 -9
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +29 -28
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createknowledge.d.ts +7 -7
- package/models/operations/createknowledge.d.ts.map +1 -1
- package/models/operations/createknowledge.js +11 -11
- package/models/operations/createknowledge.js.map +1 -1
- package/models/operations/createprompt.d.ts +2 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +2 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createresponse.d.ts +5 -5
- package/models/operations/createresponse.d.ts.map +1 -1
- package/models/operations/createresponse.js +8 -7
- package/models/operations/createresponse.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +847 -0
- package/models/operations/createrouterresponse.d.ts.map +1 -0
- package/models/operations/createrouterresponse.js +607 -0
- package/models/operations/createrouterresponse.js.map +1 -0
- package/models/operations/createtool.js +6 -6
- package/models/operations/deleteagentschedule.d.ts +20 -0
- package/models/operations/deleteagentschedule.d.ts.map +1 -0
- package/models/operations/deleteagentschedule.js +56 -0
- package/models/operations/deleteagentschedule.js.map +1 -0
- package/models/operations/deploymentgetconfig.d.ts +8 -8
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +11 -12
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +2 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +2 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +2 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +2 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +2 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +2 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/filecontent.d.ts +1 -1
- package/models/operations/getallprompts.d.ts +2 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +2 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getoneprompt.d.ts +2 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +2 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +2 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +2 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/guardrailrulecreate.d.ts +2 -2
- package/models/operations/guardrailrulecreate.d.ts.map +1 -1
- package/models/operations/guardrailrulecreate.js +1 -1
- package/models/operations/guardrailrulecreate.js.map +1 -1
- package/models/operations/guardrailrulelist.d.ts +1 -1
- package/models/operations/guardrailrulelist.d.ts.map +1 -1
- package/models/operations/guardrailrulelist.js +1 -1
- package/models/operations/guardrailrulelist.js.map +1 -1
- package/models/operations/guardrailruleupdate.d.ts +2 -2
- package/models/operations/guardrailruleupdate.d.ts.map +1 -1
- package/models/operations/guardrailruleupdate.js +1 -1
- package/models/operations/guardrailruleupdate.js.map +1 -1
- package/models/operations/index.d.ts +8 -6
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +8 -6
- package/models/operations/index.js.map +1 -1
- package/models/operations/listagentschedules.d.ts +27 -0
- package/models/operations/listagentschedules.d.ts.map +1 -0
- package/models/operations/listagentschedules.js +64 -0
- package/models/operations/listagentschedules.js.map +1 -0
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/listpromptversions.d.ts +2 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +2 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/policycreate.d.ts +3 -3
- package/models/operations/policycreate.d.ts.map +1 -1
- package/models/operations/policycreate.js +2 -2
- package/models/operations/policycreate.js.map +1 -1
- package/models/operations/policyget.d.ts +1 -1
- package/models/operations/policyget.d.ts.map +1 -1
- package/models/operations/policyget.js +1 -1
- package/models/operations/policyget.js.map +1 -1
- package/models/operations/policylist.d.ts +1 -1
- package/models/operations/policylist.d.ts.map +1 -1
- package/models/operations/policylist.js +1 -1
- package/models/operations/policylist.js.map +1 -1
- package/models/operations/policyupdate.d.ts +3 -3
- package/models/operations/policyupdate.d.ts.map +1 -1
- package/models/operations/policyupdate.js +2 -2
- package/models/operations/policyupdate.js.map +1 -1
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2feedbackremove.d.ts +4 -4
- package/models/operations/postv2feedbackremove.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentschedule.d.ts +87 -0
- package/models/operations/retrieveagentschedule.d.ts.map +1 -0
- package/models/operations/retrieveagentschedule.js +100 -0
- package/models/operations/retrieveagentschedule.js.map +1 -0
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrieveresponse.d.ts +116 -0
- package/models/operations/retrieveresponse.d.ts.map +1 -0
- package/models/operations/retrieveresponse.js +143 -0
- package/models/operations/retrieveresponse.js.map +1 -0
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/routingrulecreate.d.ts +2 -2
- package/models/operations/routingrulecreate.d.ts.map +1 -1
- package/models/operations/routingrulecreate.js +1 -1
- package/models/operations/routingrulecreate.js.map +1 -1
- package/models/operations/routingrulelist.d.ts +1 -1
- package/models/operations/routingrulelist.d.ts.map +1 -1
- package/models/operations/routingrulelist.js +1 -1
- package/models/operations/routingrulelist.js.map +1 -1
- package/models/operations/routingruleupdate.d.ts +2 -2
- package/models/operations/routingruleupdate.d.ts.map +1 -1
- package/models/operations/routingruleupdate.js +1 -1
- package/models/operations/routingruleupdate.js.map +1 -1
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/triggeragentschedule.d.ts +35 -0
- package/models/operations/triggeragentschedule.d.ts.map +1 -0
- package/models/operations/triggeragentschedule.js +70 -0
- package/models/operations/triggeragentschedule.js.map +1 -0
- package/models/operations/updateagentschedule.d.ts +133 -0
- package/models/operations/updateagentschedule.d.ts.map +1 -0
- package/models/operations/updateagentschedule.js +129 -0
- package/models/operations/updateagentschedule.js.map +1 -0
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updateprompt.d.ts +2 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +2 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +16 -2
- package/sdk/agents.d.ts +2 -2
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +2 -2
- package/sdk/agents.js.map +1 -1
- package/sdk/evals.d.ts +7 -0
- package/sdk/evals.d.ts.map +1 -1
- package/sdk/evals.js +10 -0
- package/sdk/evals.js.map +1 -1
- package/sdk/feedback.d.ts +7 -0
- package/sdk/feedback.d.ts.map +1 -0
- package/sdk/feedback.js +20 -0
- package/sdk/feedback.js.map +1 -0
- package/sdk/files.d.ts +1 -1
- package/sdk/files.js +1 -1
- package/sdk/guardrailrules.d.ts +1 -1
- package/sdk/guardrailrules.d.ts.map +1 -1
- package/sdk/guardrailrules.js +3 -3
- package/sdk/guardrailrules.js.map +1 -1
- package/sdk/knowledge.d.ts +1 -1
- package/sdk/knowledge.d.ts.map +1 -1
- package/sdk/orqagentsresponses.d.ts +24 -0
- package/sdk/orqagentsresponses.d.ts.map +1 -0
- package/sdk/orqagentsresponses.js +34 -0
- package/sdk/orqagentsresponses.js.map +1 -0
- package/sdk/policies.d.ts +1 -1
- package/sdk/policies.d.ts.map +1 -1
- package/sdk/policies.js +3 -3
- package/sdk/policies.js.map +1 -1
- package/sdk/responses.d.ts +8 -9
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +10 -10
- package/sdk/responses.js.map +1 -1
- package/sdk/routingrules.d.ts +1 -1
- package/sdk/routingrules.d.ts.map +1 -1
- package/sdk/routingrules.js +3 -3
- package/sdk/routingrules.js.map +1 -1
- package/sdk/schedules.d.ts +47 -0
- package/sdk/schedules.d.ts.map +1 -0
- package/sdk/schedules.js +72 -0
- package/sdk/schedules.js.map +1 -0
- package/sdk/sdk.d.ts +9 -13
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +11 -35
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/agentsCreate.ts +3 -1
- package/src/funcs/agentsDelete.ts +3 -1
- package/src/funcs/agentsInvoke.ts +3 -1
- package/src/funcs/agentsList.ts +3 -1
- package/src/funcs/agentsPostV2AgentsA2a.ts +3 -1
- package/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +3 -1
- package/src/funcs/agentsResponsesCreate.ts +3 -1
- package/src/funcs/agentsResponsesGet.ts +3 -1
- package/src/funcs/agentsRetrieve.ts +3 -1
- package/src/funcs/agentsRun.ts +3 -1
- package/src/funcs/agentsStream.ts +3 -1
- package/src/funcs/agentsStreamRun.ts +3 -1
- package/src/funcs/agentsUpdate.ts +3 -1
- package/src/funcs/annotationsCreate.ts +3 -1
- package/src/funcs/annotationsDelete.ts +3 -1
- package/src/funcs/chunkingParse.ts +3 -1
- package/src/funcs/contactsCreate.ts +3 -1
- package/src/funcs/datasetsClear.ts +3 -1
- package/src/funcs/datasetsCreate.ts +3 -1
- package/src/funcs/datasetsCreateDatapoint.ts +3 -1
- package/src/funcs/datasetsDelete.ts +3 -1
- package/src/funcs/datasetsDeleteDatapoint.ts +3 -1
- package/src/funcs/datasetsList.ts +3 -1
- package/src/funcs/datasetsListDatapoints.ts +3 -1
- package/src/funcs/datasetsRetrieve.ts +3 -1
- package/src/funcs/datasetsRetrieveDatapoint.ts +3 -1
- package/src/funcs/datasetsUpdate.ts +3 -1
- package/src/funcs/datasetsUpdateDatapoint.ts +3 -1
- package/src/funcs/deploymentsGetConfig.ts +3 -1
- package/src/funcs/deploymentsInvoke.ts +3 -1
- package/src/funcs/deploymentsList.ts +3 -1
- package/src/funcs/deploymentsMetricsCreate.ts +3 -1
- package/src/funcs/deploymentsStream.ts +3 -1
- package/src/funcs/evalsAll.ts +3 -1
- package/src/funcs/evalsCreate.ts +3 -1
- package/src/funcs/evalsDelete.ts +3 -1
- package/src/funcs/{evaluatorsGetV2EvaluatorsIdVersions.ts → evalsGetV2EvaluatorsIdVersions.ts} +4 -2
- package/src/funcs/evalsInvoke.ts +3 -1
- package/src/funcs/evalsUpdate.ts +3 -1
- package/src/funcs/{postV2Feedback.ts → feedbackPostV2Feedback.ts} +8 -6
- package/src/funcs/{postV2FeedbackRemove.ts → feedbackPostV2FeedbackRemove.ts} +4 -2
- package/src/funcs/filesCreate.ts +3 -1
- package/src/funcs/filesDelete.ts +3 -1
- package/src/funcs/filesGet.ts +3 -1
- package/src/funcs/filesGetContent.ts +4 -2
- package/src/funcs/filesList.ts +3 -1
- package/src/funcs/filesUpdate.ts +3 -1
- package/src/funcs/guardrailRulesCreate.ts +4 -2
- package/src/funcs/guardrailRulesDelete.ts +3 -1
- package/src/funcs/guardrailRulesList.ts +3 -1
- package/src/funcs/{guardrailRulesGet.ts → guardrailRulesRetrieve.ts} +4 -2
- package/src/funcs/guardrailRulesUpdate.ts +4 -2
- package/src/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.ts +3 -1
- package/src/funcs/humanReviewSetsGetV2HumanEvalSets.ts +3 -1
- package/src/funcs/humanReviewSetsGetV2HumanEvalSetsId.ts +3 -1
- package/src/funcs/humanReviewSetsPatchV2HumanEvalSetsId.ts +3 -1
- package/src/funcs/humanReviewSetsPostV2HumanEvalSets.ts +3 -1
- package/src/funcs/identitiesCreate.ts +3 -1
- package/src/funcs/identitiesDelete.ts +3 -1
- package/src/funcs/identitiesList.ts +3 -1
- package/src/funcs/identitiesRetrieve.ts +3 -1
- package/src/funcs/identitiesUpdate.ts +3 -1
- package/src/funcs/knowledgeCreate.ts +3 -1
- package/src/funcs/knowledgeCreateChunks.ts +7 -5
- package/src/funcs/knowledgeCreateDatasource.ts +3 -1
- package/src/funcs/knowledgeDelete.ts +3 -1
- package/src/funcs/knowledgeDeleteChunk.ts +3 -1
- package/src/funcs/knowledgeDeleteChunks.ts +3 -1
- package/src/funcs/knowledgeDeleteDatasource.ts +3 -1
- package/src/funcs/knowledgeGetChunksCount.ts +3 -1
- package/src/funcs/knowledgeList.ts +3 -1
- package/src/funcs/knowledgeListChunks.ts +3 -1
- package/src/funcs/knowledgeListChunksPaginated.ts +3 -1
- package/src/funcs/knowledgeListDatasources.ts +3 -1
- package/src/funcs/knowledgeRetrieve.ts +3 -1
- package/src/funcs/knowledgeRetrieveChunk.ts +3 -1
- package/src/funcs/knowledgeRetrieveDatasource.ts +3 -1
- package/src/funcs/knowledgeSearch.ts +3 -1
- package/src/funcs/knowledgeUpdate.ts +3 -1
- package/src/funcs/knowledgeUpdateChunk.ts +3 -1
- package/src/funcs/knowledgeUpdateDatasource.ts +3 -1
- package/src/funcs/memoryStoresCreate.ts +3 -1
- package/src/funcs/memoryStoresCreateDocument.ts +3 -1
- package/src/funcs/memoryStoresCreateMemory.ts +3 -1
- package/src/funcs/memoryStoresDelete.ts +3 -1
- package/src/funcs/memoryStoresDeleteDocument.ts +3 -1
- package/src/funcs/memoryStoresDeleteMemory.ts +3 -1
- package/src/funcs/memoryStoresList.ts +3 -1
- package/src/funcs/memoryStoresListDocuments.ts +3 -1
- package/src/funcs/memoryStoresListMemories.ts +3 -1
- package/src/funcs/memoryStoresRetrieve.ts +3 -1
- package/src/funcs/memoryStoresRetrieveDocument.ts +3 -1
- package/src/funcs/memoryStoresRetrieveMemory.ts +3 -1
- package/src/funcs/memoryStoresUpdate.ts +3 -1
- package/src/funcs/memoryStoresUpdateDocument.ts +3 -1
- package/src/funcs/memoryStoresUpdateMemory.ts +3 -1
- package/src/funcs/policiesCreate.ts +3 -1
- package/src/funcs/policiesDelete.ts +3 -1
- package/src/funcs/policiesList.ts +3 -1
- package/src/funcs/{policiesGet.ts → policiesRetrieve.ts} +4 -2
- package/src/funcs/policiesUpdate.ts +3 -1
- package/src/funcs/postV2FeedbackEvaluation.ts +3 -1
- package/src/funcs/postV2FeedbackEvaluationRemove.ts +3 -1
- package/src/funcs/promptsCreate.ts +3 -1
- package/src/funcs/promptsDelete.ts +3 -1
- package/src/funcs/promptsGetVersion.ts +3 -1
- package/src/funcs/promptsList.ts +3 -1
- package/src/funcs/promptsListVersions.ts +3 -1
- package/src/funcs/promptsRetrieve.ts +3 -1
- package/src/funcs/promptsUpdate.ts +3 -1
- package/src/funcs/remoteconfigsRetrieve.ts +3 -1
- package/src/funcs/{postV2HumanEvals.ts → responsesCreate.ts} +31 -29
- package/src/funcs/responsesGet.ts +167 -0
- package/src/funcs/routerAudioSpeechCreate.ts +3 -1
- package/src/funcs/routerAudioTranscriptionsCreate.ts +3 -1
- package/src/funcs/routerAudioTranslationsCreate.ts +3 -1
- package/src/funcs/routerChatCompletionsCreate.ts +3 -1
- package/src/funcs/routerCompletionsCreate.ts +3 -1
- package/src/funcs/routerEmbeddingsCreate.ts +3 -1
- package/src/funcs/routerImagesEditsCreate.ts +3 -1
- package/src/funcs/routerImagesGenerationsCreate.ts +3 -1
- package/src/funcs/routerImagesVariationsCreate.ts +3 -1
- package/src/funcs/routerModerationsCreate.ts +3 -1
- package/src/funcs/routerOcr.ts +3 -1
- package/src/funcs/routerRerankCreate.ts +3 -1
- package/src/funcs/routerResponsesCreate.ts +3 -1
- package/src/funcs/routingRulesCreate.ts +4 -2
- package/src/funcs/routingRulesDelete.ts +3 -1
- package/src/funcs/routingRulesList.ts +3 -1
- package/src/funcs/{routingRulesGet.ts → routingRulesRetrieve.ts} +4 -2
- package/src/funcs/routingRulesUpdate.ts +4 -2
- package/src/funcs/schedulesCreate.ts +185 -0
- package/src/funcs/{deleteV2HumanEvalsId.ts → schedulesDelete.ts} +31 -16
- package/src/funcs/{getV2HumanEvalsId.ts → schedulesList.ts} +21 -22
- package/src/funcs/{patchV2HumanEvalsId.ts → schedulesRetrieve.ts} +33 -20
- package/src/funcs/schedulesTrigger.ts +190 -0
- package/src/funcs/schedulesUpdate.ts +191 -0
- package/src/funcs/toolsCreate.ts +3 -1
- package/src/funcs/toolsDelete.ts +3 -1
- package/src/funcs/toolsGetV2ToolsToolIdVersions.ts +3 -1
- package/src/funcs/toolsGetV2ToolsToolIdVersionsVersionId.ts +3 -1
- package/src/funcs/toolsList.ts +3 -1
- package/src/funcs/toolsRetrieve.ts +3 -1
- package/src/funcs/toolsUpdate.ts +3 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +3 -6
- package/src/models/components/conversationparam.ts +51 -0
- package/src/models/components/expression.ts +0 -18
- package/src/models/components/expressioninput.ts +29 -0
- package/src/models/components/fallbackconfig.ts +27 -0
- package/src/models/components/guardrailref.ts +12 -0
- package/src/models/components/{guardrailruledocument.ts → guardrailrule.ts} +7 -7
- package/src/models/components/incompletedetails.ts +31 -0
- package/src/models/components/index.ts +23 -4
- package/src/models/components/inputtokensdetails.ts +39 -0
- package/src/models/components/memoryparam.ts +56 -0
- package/src/models/components/outputtokensdetails.ts +36 -0
- package/src/models/components/policy.ts +80 -0
- package/src/models/components/{retryconfig.ts → policyretryconfig.ts} +17 -13
- package/src/models/components/publicschedule.ts +121 -0
- package/src/models/components/publicscheduleerrordetail.ts +39 -0
- package/src/models/components/publicschedulepayload.ts +84 -0
- package/src/models/components/publicusage.ts +59 -0
- package/src/models/components/reasoning.ts +33 -0
- package/src/models/components/reasoningparam.ts +30 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/responseerror.ts +33 -0
- package/src/models/components/responseexecutionlimits.ts +52 -0
- package/src/models/components/responseidentity.ts +48 -0
- package/src/models/components/responseretryconfig.ts +45 -0
- package/src/models/components/responsethread.ts +30 -0
- package/src/models/components/{routingruledocument.ts → routingrule.ts} +7 -7
- package/src/models/components/streamoptions.ts +32 -0
- package/src/models/errors/createagentschedule.ts +105 -0
- package/src/models/errors/deleteagentschedule.ts +56 -0
- package/src/models/errors/index.ts +5 -5
- package/src/models/errors/postv2feedback.ts +8 -8
- package/src/models/errors/retrieveagentschedule.ts +56 -0
- package/src/models/errors/triggeragentschedule.ts +105 -0
- package/src/models/errors/updateagentschedule.ts +105 -0
- package/src/models/operations/createagentschedule.ts +230 -0
- package/src/models/operations/createchunk.ts +7 -7
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +36 -42
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createknowledge.ts +17 -19
- package/src/models/operations/createprompt.ts +2 -0
- package/src/models/operations/createresponse.ts +11 -11
- package/src/models/operations/createrouterresponse.ts +1527 -0
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deleteagentschedule.ts +46 -0
- package/src/models/operations/deploymentgetconfig.ts +29 -23
- package/src/models/operations/deploymentinvoke.ts +2 -0
- package/src/models/operations/deployments.ts +2 -0
- package/src/models/operations/deploymentstream.ts +2 -0
- package/src/models/operations/filecontent.ts +1 -1
- package/src/models/operations/getallprompts.ts +2 -0
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getoneprompt.ts +2 -0
- package/src/models/operations/getpromptversion.ts +2 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/guardrailrulecreate.ts +3 -3
- package/src/models/operations/guardrailrulelist.ts +2 -2
- package/src/models/operations/guardrailruleupdate.ts +3 -3
- package/src/models/operations/index.ts +8 -6
- package/src/models/operations/listagentschedules.ts +69 -0
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/listpromptversions.ts +2 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/policycreate.ts +5 -5
- package/src/models/operations/policyget.ts +2 -2
- package/src/models/operations/policylist.ts +2 -2
- package/src/models/operations/policyupdate.ts +5 -5
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2feedbackremove.ts +8 -8
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentschedule.ts +165 -0
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrieveresponse.ts +225 -0
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/routingrulecreate.ts +3 -3
- package/src/models/operations/routingrulelist.ts +2 -2
- package/src/models/operations/routingruleupdate.ts +3 -3
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/triggeragentschedule.ts +86 -0
- package/src/models/operations/updateagentschedule.ts +244 -0
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updateprompt.ts +2 -0
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/agents.ts +4 -4
- package/src/sdk/evals.ts +18 -0
- package/src/sdk/feedback.ts +33 -0
- package/src/sdk/files.ts +1 -1
- package/src/sdk/guardrailrules.ts +3 -3
- package/src/sdk/knowledge.ts +1 -1
- package/src/sdk/orqagentsresponses.ts +53 -0
- package/src/sdk/policies.ts +3 -3
- package/src/sdk/responses.ts +13 -19
- package/src/sdk/routingrules.ts +3 -3
- package/src/sdk/schedules.ts +117 -0
- package/src/sdk/sdk.ts +16 -94
- package/funcs/deleteV2HumanEvalsId.d.ts.map +0 -1
- package/funcs/deleteV2HumanEvalsId.js.map +0 -1
- package/funcs/evaluatorsGetV2EvaluatorsIdVersions.d.ts.map +0 -1
- package/funcs/evaluatorsGetV2EvaluatorsIdVersions.js.map +0 -1
- package/funcs/getV2HumanEvals.d.ts.map +0 -1
- package/funcs/getV2HumanEvals.js +0 -116
- package/funcs/getV2HumanEvals.js.map +0 -1
- package/funcs/getV2HumanEvalsId.d.ts.map +0 -1
- package/funcs/getV2HumanEvalsId.js.map +0 -1
- package/funcs/guardrailRulesGet.d.ts.map +0 -1
- package/funcs/guardrailRulesGet.js.map +0 -1
- package/funcs/modelsList.d.ts.map +0 -1
- package/funcs/modelsList.js +0 -117
- package/funcs/modelsList.js.map +0 -1
- package/funcs/patchV2HumanEvalsId.d.ts.map +0 -1
- package/funcs/patchV2HumanEvalsId.js.map +0 -1
- package/funcs/policiesGet.d.ts.map +0 -1
- package/funcs/policiesGet.js.map +0 -1
- package/funcs/postV2Feedback.d.ts +0 -12
- package/funcs/postV2Feedback.d.ts.map +0 -1
- package/funcs/postV2Feedback.js.map +0 -1
- package/funcs/postV2FeedbackRemove.d.ts +0 -12
- package/funcs/postV2FeedbackRemove.d.ts.map +0 -1
- package/funcs/postV2FeedbackRemove.js.map +0 -1
- package/funcs/postV2HumanEvals.d.ts +0 -12
- package/funcs/postV2HumanEvals.d.ts.map +0 -1
- package/funcs/postV2HumanEvals.js.map +0 -1
- package/funcs/routingRulesGet.d.ts.map +0 -1
- package/funcs/routingRulesGet.js.map +0 -1
- package/models/components/guardrailruledocument.d.ts.map +0 -1
- package/models/components/guardrailruledocument.js.map +0 -1
- package/models/components/policydocument.d.ts.map +0 -1
- package/models/components/policydocument.js.map +0 -1
- package/models/components/retryconfig.d.ts +0 -19
- package/models/components/retryconfig.d.ts.map +0 -1
- package/models/components/retryconfig.js.map +0 -1
- package/models/components/routingruledocument.d.ts.map +0 -1
- package/models/components/routingruledocument.js.map +0 -1
- package/models/errors/deletev2humanevalsid.d.ts +0 -23
- package/models/errors/deletev2humanevalsid.d.ts.map +0 -1
- package/models/errors/deletev2humanevalsid.js.map +0 -1
- package/models/errors/getv2humanevals.d.ts +0 -23
- package/models/errors/getv2humanevals.d.ts.map +0 -1
- package/models/errors/getv2humanevals.js.map +0 -1
- package/models/errors/getv2humanevalsid.d.ts +0 -23
- package/models/errors/getv2humanevalsid.d.ts.map +0 -1
- package/models/errors/getv2humanevalsid.js.map +0 -1
- package/models/errors/patchv2humanevalsid.d.ts +0 -23
- package/models/errors/patchv2humanevalsid.d.ts.map +0 -1
- package/models/errors/patchv2humanevalsid.js.map +0 -1
- package/models/errors/postv2humanevals.d.ts +0 -23
- package/models/errors/postv2humanevals.d.ts.map +0 -1
- package/models/errors/postv2humanevals.js.map +0 -1
- package/models/operations/deletev2humanevalsid.d.ts +0 -27
- package/models/operations/deletev2humanevalsid.d.ts.map +0 -1
- package/models/operations/deletev2humanevalsid.js.map +0 -1
- package/models/operations/getv2humanevals.d.ts +0 -356
- package/models/operations/getv2humanevals.d.ts.map +0 -1
- package/models/operations/getv2humanevals.js +0 -274
- package/models/operations/getv2humanevals.js.map +0 -1
- package/models/operations/getv2humanevalsid.d.ts +0 -359
- package/models/operations/getv2humanevalsid.d.ts.map +0 -1
- package/models/operations/getv2humanevalsid.js +0 -271
- package/models/operations/getv2humanevalsid.js.map +0 -1
- package/models/operations/listmodels.d.ts +0 -90
- package/models/operations/listmodels.d.ts.map +0 -1
- package/models/operations/listmodels.js +0 -112
- package/models/operations/listmodels.js.map +0 -1
- package/models/operations/patchv2humanevalsid.d.ts +0 -703
- package/models/operations/patchv2humanevalsid.d.ts.map +0 -1
- package/models/operations/patchv2humanevalsid.js +0 -474
- package/models/operations/patchv2humanevalsid.js.map +0 -1
- package/models/operations/postv2humanevals.d.ts +0 -628
- package/models/operations/postv2humanevals.d.ts.map +0 -1
- package/models/operations/postv2humanevals.js +0 -427
- package/models/operations/postv2humanevals.js.map +0 -1
- package/sdk/evaluators.d.ts +0 -12
- package/sdk/evaluators.d.ts.map +0 -1
- package/sdk/evaluators.js +0 -22
- package/sdk/evaluators.js.map +0 -1
- package/sdk/models.d.ts +0 -12
- package/sdk/models.d.ts.map +0 -1
- package/sdk/models.js +0 -22
- package/sdk/models.js.map +0 -1
- package/src/funcs/getV2HumanEvals.ts +0 -169
- package/src/funcs/modelsList.ts +0 -165
- package/src/models/components/policydocument.ts +0 -76
- package/src/models/errors/deletev2humanevalsid.ts +0 -51
- package/src/models/errors/getv2humanevals.ts +0 -51
- package/src/models/errors/getv2humanevalsid.ts +0 -51
- package/src/models/errors/patchv2humanevalsid.ts +0 -51
- package/src/models/errors/postv2humanevals.ts +0 -51
- package/src/models/operations/deletev2humanevalsid.ts +0 -67
- package/src/models/operations/getv2humanevals.ts +0 -696
- package/src/models/operations/getv2humanevalsid.ts +0 -707
- package/src/models/operations/listmodels.ts +0 -169
- package/src/models/operations/patchv2humanevalsid.ts +0 -1362
- package/src/models/operations/postv2humanevals.ts +0 -1193
- package/src/sdk/evaluators.ts +0 -27
- package/src/sdk/models.ts +0 -27
|
@@ -1,1362 +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 Six = {
|
|
13
|
-
type: "text";
|
|
14
|
-
/**
|
|
15
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
16
|
-
*/
|
|
17
|
-
key?: string | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* Display name of the feedback item.
|
|
20
|
-
*/
|
|
21
|
-
displayName: string;
|
|
22
|
-
/**
|
|
23
|
-
* Detailed description of the feedback.
|
|
24
|
-
*/
|
|
25
|
-
description: string;
|
|
26
|
-
/**
|
|
27
|
-
* The id of the user who created the resource
|
|
28
|
-
*/
|
|
29
|
-
createdById?: string | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* The id of the user who last updated the resource
|
|
32
|
-
*/
|
|
33
|
-
updatedById?: string | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* Optional project ID to scope this human review to a specific project
|
|
36
|
-
*/
|
|
37
|
-
projectId?: string | undefined;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export const PatchV2HumanEvalsIdRequestBodyRequestSentiment = {
|
|
41
|
-
Neutral: "neutral",
|
|
42
|
-
Positive: "positive",
|
|
43
|
-
Negative: "negative",
|
|
44
|
-
} as const;
|
|
45
|
-
export type PatchV2HumanEvalsIdRequestBodyRequestSentiment = ClosedEnum<
|
|
46
|
-
typeof PatchV2HumanEvalsIdRequestBodyRequestSentiment
|
|
47
|
-
>;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Model representing specific values and attributes of feedback.
|
|
51
|
-
*/
|
|
52
|
-
export type PatchV2HumanEvalsIdRequestBodyOptionsInput = {
|
|
53
|
-
/**
|
|
54
|
-
* The value or content of the feedback.
|
|
55
|
-
*/
|
|
56
|
-
value: string;
|
|
57
|
-
sentiment: PatchV2HumanEvalsIdRequestBodyRequestSentiment;
|
|
58
|
-
/**
|
|
59
|
-
* Description of the feedback option.
|
|
60
|
-
*/
|
|
61
|
-
description: string;
|
|
62
|
-
icon: string;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export type RequestBody5 = {
|
|
66
|
-
type: "single_select";
|
|
67
|
-
options: Array<PatchV2HumanEvalsIdRequestBodyOptionsInput>;
|
|
68
|
-
/**
|
|
69
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
70
|
-
*/
|
|
71
|
-
key?: string | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* Display name of the feedback item.
|
|
74
|
-
*/
|
|
75
|
-
displayName: string;
|
|
76
|
-
/**
|
|
77
|
-
* Detailed description of the feedback.
|
|
78
|
-
*/
|
|
79
|
-
description: string;
|
|
80
|
-
/**
|
|
81
|
-
* The id of the user who created the resource
|
|
82
|
-
*/
|
|
83
|
-
createdById?: string | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* The id of the user who last updated the resource
|
|
86
|
-
*/
|
|
87
|
-
updatedById?: string | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* Optional project ID to scope this human review to a specific project
|
|
90
|
-
*/
|
|
91
|
-
projectId?: string | undefined;
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
export const PatchV2HumanEvalsIdRequestBodySentiment = {
|
|
95
|
-
Neutral: "neutral",
|
|
96
|
-
Positive: "positive",
|
|
97
|
-
Negative: "negative",
|
|
98
|
-
} as const;
|
|
99
|
-
export type PatchV2HumanEvalsIdRequestBodySentiment = ClosedEnum<
|
|
100
|
-
typeof PatchV2HumanEvalsIdRequestBodySentiment
|
|
101
|
-
>;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Model representing specific values and attributes of feedback.
|
|
105
|
-
*/
|
|
106
|
-
export type PatchV2HumanEvalsIdRequestBodyOptions = {
|
|
107
|
-
/**
|
|
108
|
-
* The value or content of the feedback.
|
|
109
|
-
*/
|
|
110
|
-
value: string;
|
|
111
|
-
sentiment: PatchV2HumanEvalsIdRequestBodySentiment;
|
|
112
|
-
/**
|
|
113
|
-
* Description of the feedback option.
|
|
114
|
-
*/
|
|
115
|
-
description: string;
|
|
116
|
-
icon: string;
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
export type PatchV2HumanEvalsIdRequestBody4 = {
|
|
120
|
-
type: "multi_select";
|
|
121
|
-
options: Array<PatchV2HumanEvalsIdRequestBodyOptions>;
|
|
122
|
-
/**
|
|
123
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
124
|
-
*/
|
|
125
|
-
key?: string | undefined;
|
|
126
|
-
/**
|
|
127
|
-
* Display name of the feedback item.
|
|
128
|
-
*/
|
|
129
|
-
displayName: string;
|
|
130
|
-
/**
|
|
131
|
-
* Detailed description of the feedback.
|
|
132
|
-
*/
|
|
133
|
-
description: string;
|
|
134
|
-
/**
|
|
135
|
-
* The id of the user who created the resource
|
|
136
|
-
*/
|
|
137
|
-
createdById?: string | undefined;
|
|
138
|
-
/**
|
|
139
|
-
* The id of the user who last updated the resource
|
|
140
|
-
*/
|
|
141
|
-
updatedById?: string | undefined;
|
|
142
|
-
/**
|
|
143
|
-
* Optional project ID to scope this human review to a specific project
|
|
144
|
-
*/
|
|
145
|
-
projectId?: string | undefined;
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* The configuration for a range human review
|
|
150
|
-
*/
|
|
151
|
-
export type RequestBodyConfig = {
|
|
152
|
-
/**
|
|
153
|
-
* The minimum value for the range
|
|
154
|
-
*/
|
|
155
|
-
min: number;
|
|
156
|
-
/**
|
|
157
|
-
* The maximum value for the range
|
|
158
|
-
*/
|
|
159
|
-
max: number;
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
export type PatchV2HumanEvalsIdRequestBody3 = {
|
|
163
|
-
type: "range";
|
|
164
|
-
/**
|
|
165
|
-
* The configuration for a range human review
|
|
166
|
-
*/
|
|
167
|
-
config: RequestBodyConfig;
|
|
168
|
-
/**
|
|
169
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
170
|
-
*/
|
|
171
|
-
key?: string | undefined;
|
|
172
|
-
/**
|
|
173
|
-
* Display name of the feedback item.
|
|
174
|
-
*/
|
|
175
|
-
displayName: string;
|
|
176
|
-
/**
|
|
177
|
-
* Detailed description of the feedback.
|
|
178
|
-
*/
|
|
179
|
-
description: string;
|
|
180
|
-
/**
|
|
181
|
-
* The id of the user who created the resource
|
|
182
|
-
*/
|
|
183
|
-
createdById?: string | undefined;
|
|
184
|
-
/**
|
|
185
|
-
* The id of the user who last updated the resource
|
|
186
|
-
*/
|
|
187
|
-
updatedById?: string | undefined;
|
|
188
|
-
/**
|
|
189
|
-
* Optional project ID to scope this human review to a specific project
|
|
190
|
-
*/
|
|
191
|
-
projectId?: string | undefined;
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
export type PatchV2HumanEvalsIdRequestBody2 = {
|
|
195
|
-
type: "correction";
|
|
196
|
-
/**
|
|
197
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
198
|
-
*/
|
|
199
|
-
key?: string | undefined;
|
|
200
|
-
/**
|
|
201
|
-
* Display name of the feedback item.
|
|
202
|
-
*/
|
|
203
|
-
displayName: string;
|
|
204
|
-
/**
|
|
205
|
-
* Detailed description of the feedback.
|
|
206
|
-
*/
|
|
207
|
-
description: string;
|
|
208
|
-
/**
|
|
209
|
-
* The id of the user who created the resource
|
|
210
|
-
*/
|
|
211
|
-
createdById?: string | undefined;
|
|
212
|
-
/**
|
|
213
|
-
* The id of the user who last updated the resource
|
|
214
|
-
*/
|
|
215
|
-
updatedById?: string | undefined;
|
|
216
|
-
/**
|
|
217
|
-
* Optional project ID to scope this human review to a specific project
|
|
218
|
-
*/
|
|
219
|
-
projectId?: string | undefined;
|
|
220
|
-
};
|
|
221
|
-
|
|
222
|
-
export type PatchV2HumanEvalsIdRequestBody1 = {
|
|
223
|
-
type: "boolean";
|
|
224
|
-
/**
|
|
225
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
226
|
-
*/
|
|
227
|
-
key?: string | undefined;
|
|
228
|
-
/**
|
|
229
|
-
* Display name of the feedback item.
|
|
230
|
-
*/
|
|
231
|
-
displayName: string;
|
|
232
|
-
/**
|
|
233
|
-
* Detailed description of the feedback.
|
|
234
|
-
*/
|
|
235
|
-
description: string;
|
|
236
|
-
/**
|
|
237
|
-
* The id of the user who created the resource
|
|
238
|
-
*/
|
|
239
|
-
createdById?: string | undefined;
|
|
240
|
-
/**
|
|
241
|
-
* The id of the user who last updated the resource
|
|
242
|
-
*/
|
|
243
|
-
updatedById?: string | undefined;
|
|
244
|
-
/**
|
|
245
|
-
* Optional project ID to scope this human review to a specific project
|
|
246
|
-
*/
|
|
247
|
-
projectId?: string | undefined;
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
export type PatchV2HumanEvalsIdRequestBody =
|
|
251
|
-
| PatchV2HumanEvalsIdRequestBody1
|
|
252
|
-
| PatchV2HumanEvalsIdRequestBody2
|
|
253
|
-
| PatchV2HumanEvalsIdRequestBody3
|
|
254
|
-
| PatchV2HumanEvalsIdRequestBody4
|
|
255
|
-
| RequestBody5
|
|
256
|
-
| Six;
|
|
257
|
-
|
|
258
|
-
export type PatchV2HumanEvalsIdRequest = {
|
|
259
|
-
/**
|
|
260
|
-
* The id of the resource
|
|
261
|
-
*/
|
|
262
|
-
id: string;
|
|
263
|
-
requestBody?:
|
|
264
|
-
| PatchV2HumanEvalsIdRequestBody1
|
|
265
|
-
| PatchV2HumanEvalsIdRequestBody2
|
|
266
|
-
| PatchV2HumanEvalsIdRequestBody3
|
|
267
|
-
| PatchV2HumanEvalsIdRequestBody4
|
|
268
|
-
| RequestBody5
|
|
269
|
-
| Six
|
|
270
|
-
| undefined;
|
|
271
|
-
};
|
|
272
|
-
|
|
273
|
-
export type PatchV2HumanEvalsIdResponseBody6 = {
|
|
274
|
-
type: "text";
|
|
275
|
-
/**
|
|
276
|
-
* The id of the resource
|
|
277
|
-
*/
|
|
278
|
-
id: string;
|
|
279
|
-
/**
|
|
280
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
281
|
-
*/
|
|
282
|
-
key: string;
|
|
283
|
-
/**
|
|
284
|
-
* Display name of the feedback item.
|
|
285
|
-
*/
|
|
286
|
-
displayName: string;
|
|
287
|
-
/**
|
|
288
|
-
* Detailed description of the feedback.
|
|
289
|
-
*/
|
|
290
|
-
description: string;
|
|
291
|
-
/**
|
|
292
|
-
* The id of the resource
|
|
293
|
-
*/
|
|
294
|
-
domainId?: string | undefined;
|
|
295
|
-
/**
|
|
296
|
-
* The id of the user who created the resource
|
|
297
|
-
*/
|
|
298
|
-
createdById?: string | undefined;
|
|
299
|
-
/**
|
|
300
|
-
* The id of the user who last updated the resource
|
|
301
|
-
*/
|
|
302
|
-
updatedById?: string | undefined;
|
|
303
|
-
/**
|
|
304
|
-
* The id of the resource
|
|
305
|
-
*/
|
|
306
|
-
workspaceId: string;
|
|
307
|
-
/**
|
|
308
|
-
* Optional project ID to scope this human review to a specific project
|
|
309
|
-
*/
|
|
310
|
-
projectId?: string | undefined;
|
|
311
|
-
};
|
|
312
|
-
|
|
313
|
-
export const PatchV2HumanEvalsIdResponseBodyResponseSentiment = {
|
|
314
|
-
Neutral: "neutral",
|
|
315
|
-
Positive: "positive",
|
|
316
|
-
Negative: "negative",
|
|
317
|
-
} as const;
|
|
318
|
-
export type PatchV2HumanEvalsIdResponseBodyResponseSentiment = ClosedEnum<
|
|
319
|
-
typeof PatchV2HumanEvalsIdResponseBodyResponseSentiment
|
|
320
|
-
>;
|
|
321
|
-
|
|
322
|
-
/**
|
|
323
|
-
* Model representing specific values and attributes of feedback.
|
|
324
|
-
*/
|
|
325
|
-
export type PatchV2HumanEvalsIdResponseBodyResponseOptions = {
|
|
326
|
-
/**
|
|
327
|
-
* The id of the resource
|
|
328
|
-
*/
|
|
329
|
-
id: string;
|
|
330
|
-
/**
|
|
331
|
-
* The value or content of the feedback.
|
|
332
|
-
*/
|
|
333
|
-
value: string;
|
|
334
|
-
sentiment: PatchV2HumanEvalsIdResponseBodyResponseSentiment;
|
|
335
|
-
/**
|
|
336
|
-
* Description of the feedback option.
|
|
337
|
-
*/
|
|
338
|
-
description: string;
|
|
339
|
-
icon: string;
|
|
340
|
-
};
|
|
341
|
-
|
|
342
|
-
export type PatchV2HumanEvalsIdResponseBody5 = {
|
|
343
|
-
type: "single_select";
|
|
344
|
-
options: Array<PatchV2HumanEvalsIdResponseBodyResponseOptions>;
|
|
345
|
-
/**
|
|
346
|
-
* The id of the resource
|
|
347
|
-
*/
|
|
348
|
-
id: string;
|
|
349
|
-
/**
|
|
350
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
351
|
-
*/
|
|
352
|
-
key: string;
|
|
353
|
-
/**
|
|
354
|
-
* Display name of the feedback item.
|
|
355
|
-
*/
|
|
356
|
-
displayName: string;
|
|
357
|
-
/**
|
|
358
|
-
* Detailed description of the feedback.
|
|
359
|
-
*/
|
|
360
|
-
description: string;
|
|
361
|
-
/**
|
|
362
|
-
* The id of the resource
|
|
363
|
-
*/
|
|
364
|
-
domainId?: string | undefined;
|
|
365
|
-
/**
|
|
366
|
-
* The id of the user who created the resource
|
|
367
|
-
*/
|
|
368
|
-
createdById?: string | undefined;
|
|
369
|
-
/**
|
|
370
|
-
* The id of the user who last updated the resource
|
|
371
|
-
*/
|
|
372
|
-
updatedById?: string | undefined;
|
|
373
|
-
/**
|
|
374
|
-
* The id of the resource
|
|
375
|
-
*/
|
|
376
|
-
workspaceId: string;
|
|
377
|
-
/**
|
|
378
|
-
* Optional project ID to scope this human review to a specific project
|
|
379
|
-
*/
|
|
380
|
-
projectId?: string | undefined;
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
export const PatchV2HumanEvalsIdResponseBodySentiment = {
|
|
384
|
-
Neutral: "neutral",
|
|
385
|
-
Positive: "positive",
|
|
386
|
-
Negative: "negative",
|
|
387
|
-
} as const;
|
|
388
|
-
export type PatchV2HumanEvalsIdResponseBodySentiment = ClosedEnum<
|
|
389
|
-
typeof PatchV2HumanEvalsIdResponseBodySentiment
|
|
390
|
-
>;
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* Model representing specific values and attributes of feedback.
|
|
394
|
-
*/
|
|
395
|
-
export type PatchV2HumanEvalsIdResponseBodyOptions = {
|
|
396
|
-
/**
|
|
397
|
-
* The id of the resource
|
|
398
|
-
*/
|
|
399
|
-
id: string;
|
|
400
|
-
/**
|
|
401
|
-
* The value or content of the feedback.
|
|
402
|
-
*/
|
|
403
|
-
value: string;
|
|
404
|
-
sentiment: PatchV2HumanEvalsIdResponseBodySentiment;
|
|
405
|
-
/**
|
|
406
|
-
* Description of the feedback option.
|
|
407
|
-
*/
|
|
408
|
-
description: string;
|
|
409
|
-
icon: string;
|
|
410
|
-
};
|
|
411
|
-
|
|
412
|
-
export type PatchV2HumanEvalsIdResponseBody4 = {
|
|
413
|
-
type: "multi_select";
|
|
414
|
-
options: Array<PatchV2HumanEvalsIdResponseBodyOptions>;
|
|
415
|
-
/**
|
|
416
|
-
* The id of the resource
|
|
417
|
-
*/
|
|
418
|
-
id: string;
|
|
419
|
-
/**
|
|
420
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
421
|
-
*/
|
|
422
|
-
key: string;
|
|
423
|
-
/**
|
|
424
|
-
* Display name of the feedback item.
|
|
425
|
-
*/
|
|
426
|
-
displayName: string;
|
|
427
|
-
/**
|
|
428
|
-
* Detailed description of the feedback.
|
|
429
|
-
*/
|
|
430
|
-
description: string;
|
|
431
|
-
/**
|
|
432
|
-
* The id of the resource
|
|
433
|
-
*/
|
|
434
|
-
domainId?: string | undefined;
|
|
435
|
-
/**
|
|
436
|
-
* The id of the user who created the resource
|
|
437
|
-
*/
|
|
438
|
-
createdById?: string | undefined;
|
|
439
|
-
/**
|
|
440
|
-
* The id of the user who last updated the resource
|
|
441
|
-
*/
|
|
442
|
-
updatedById?: string | undefined;
|
|
443
|
-
/**
|
|
444
|
-
* The id of the resource
|
|
445
|
-
*/
|
|
446
|
-
workspaceId: string;
|
|
447
|
-
/**
|
|
448
|
-
* Optional project ID to scope this human review to a specific project
|
|
449
|
-
*/
|
|
450
|
-
projectId?: string | undefined;
|
|
451
|
-
};
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* The configuration for a range human review
|
|
455
|
-
*/
|
|
456
|
-
export type PatchV2HumanEvalsIdResponseBodyConfig = {
|
|
457
|
-
/**
|
|
458
|
-
* The minimum value for the range
|
|
459
|
-
*/
|
|
460
|
-
min: number;
|
|
461
|
-
/**
|
|
462
|
-
* The maximum value for the range
|
|
463
|
-
*/
|
|
464
|
-
max: number;
|
|
465
|
-
};
|
|
466
|
-
|
|
467
|
-
export type PatchV2HumanEvalsIdResponseBody3 = {
|
|
468
|
-
type: "range";
|
|
469
|
-
/**
|
|
470
|
-
* The configuration for a range human review
|
|
471
|
-
*/
|
|
472
|
-
config: PatchV2HumanEvalsIdResponseBodyConfig;
|
|
473
|
-
/**
|
|
474
|
-
* The id of the resource
|
|
475
|
-
*/
|
|
476
|
-
id: string;
|
|
477
|
-
/**
|
|
478
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
479
|
-
*/
|
|
480
|
-
key: string;
|
|
481
|
-
/**
|
|
482
|
-
* Display name of the feedback item.
|
|
483
|
-
*/
|
|
484
|
-
displayName: string;
|
|
485
|
-
/**
|
|
486
|
-
* Detailed description of the feedback.
|
|
487
|
-
*/
|
|
488
|
-
description: string;
|
|
489
|
-
/**
|
|
490
|
-
* The id of the resource
|
|
491
|
-
*/
|
|
492
|
-
domainId?: string | undefined;
|
|
493
|
-
/**
|
|
494
|
-
* The id of the user who created the resource
|
|
495
|
-
*/
|
|
496
|
-
createdById?: string | undefined;
|
|
497
|
-
/**
|
|
498
|
-
* The id of the user who last updated the resource
|
|
499
|
-
*/
|
|
500
|
-
updatedById?: string | undefined;
|
|
501
|
-
/**
|
|
502
|
-
* The id of the resource
|
|
503
|
-
*/
|
|
504
|
-
workspaceId: string;
|
|
505
|
-
/**
|
|
506
|
-
* Optional project ID to scope this human review to a specific project
|
|
507
|
-
*/
|
|
508
|
-
projectId?: string | undefined;
|
|
509
|
-
};
|
|
510
|
-
|
|
511
|
-
export type PatchV2HumanEvalsIdResponseBody2 = {
|
|
512
|
-
type: "correction";
|
|
513
|
-
/**
|
|
514
|
-
* The id of the resource
|
|
515
|
-
*/
|
|
516
|
-
id: string;
|
|
517
|
-
/**
|
|
518
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
519
|
-
*/
|
|
520
|
-
key: string;
|
|
521
|
-
/**
|
|
522
|
-
* Display name of the feedback item.
|
|
523
|
-
*/
|
|
524
|
-
displayName: string;
|
|
525
|
-
/**
|
|
526
|
-
* Detailed description of the feedback.
|
|
527
|
-
*/
|
|
528
|
-
description: string;
|
|
529
|
-
/**
|
|
530
|
-
* The id of the resource
|
|
531
|
-
*/
|
|
532
|
-
domainId?: string | undefined;
|
|
533
|
-
/**
|
|
534
|
-
* The id of the user who created the resource
|
|
535
|
-
*/
|
|
536
|
-
createdById?: string | undefined;
|
|
537
|
-
/**
|
|
538
|
-
* The id of the user who last updated the resource
|
|
539
|
-
*/
|
|
540
|
-
updatedById?: string | undefined;
|
|
541
|
-
/**
|
|
542
|
-
* The id of the resource
|
|
543
|
-
*/
|
|
544
|
-
workspaceId: string;
|
|
545
|
-
/**
|
|
546
|
-
* Optional project ID to scope this human review to a specific project
|
|
547
|
-
*/
|
|
548
|
-
projectId?: string | undefined;
|
|
549
|
-
};
|
|
550
|
-
|
|
551
|
-
export type PatchV2HumanEvalsIdResponseBody1 = {
|
|
552
|
-
type: "boolean";
|
|
553
|
-
/**
|
|
554
|
-
* The id of the resource
|
|
555
|
-
*/
|
|
556
|
-
id: string;
|
|
557
|
-
/**
|
|
558
|
-
* Unique key for the feedback. It is autogenerated by the system always
|
|
559
|
-
*/
|
|
560
|
-
key: string;
|
|
561
|
-
/**
|
|
562
|
-
* Display name of the feedback item.
|
|
563
|
-
*/
|
|
564
|
-
displayName: string;
|
|
565
|
-
/**
|
|
566
|
-
* Detailed description of the feedback.
|
|
567
|
-
*/
|
|
568
|
-
description: string;
|
|
569
|
-
/**
|
|
570
|
-
* The id of the resource
|
|
571
|
-
*/
|
|
572
|
-
domainId?: string | undefined;
|
|
573
|
-
/**
|
|
574
|
-
* The id of the user who created the resource
|
|
575
|
-
*/
|
|
576
|
-
createdById?: string | undefined;
|
|
577
|
-
/**
|
|
578
|
-
* The id of the user who last updated the resource
|
|
579
|
-
*/
|
|
580
|
-
updatedById?: string | undefined;
|
|
581
|
-
/**
|
|
582
|
-
* The id of the resource
|
|
583
|
-
*/
|
|
584
|
-
workspaceId: string;
|
|
585
|
-
/**
|
|
586
|
-
* Optional project ID to scope this human review to a specific project
|
|
587
|
-
*/
|
|
588
|
-
projectId?: string | undefined;
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* Successfully updated a human review
|
|
593
|
-
*/
|
|
594
|
-
export type PatchV2HumanEvalsIdResponseBody =
|
|
595
|
-
| PatchV2HumanEvalsIdResponseBody1
|
|
596
|
-
| PatchV2HumanEvalsIdResponseBody2
|
|
597
|
-
| PatchV2HumanEvalsIdResponseBody3
|
|
598
|
-
| PatchV2HumanEvalsIdResponseBody4
|
|
599
|
-
| PatchV2HumanEvalsIdResponseBody5
|
|
600
|
-
| PatchV2HumanEvalsIdResponseBody6;
|
|
601
|
-
|
|
602
|
-
/** @internal */
|
|
603
|
-
export type Six$Outbound = {
|
|
604
|
-
type: "text";
|
|
605
|
-
key: string;
|
|
606
|
-
display_name: string;
|
|
607
|
-
description: string;
|
|
608
|
-
created_by_id?: string | undefined;
|
|
609
|
-
updated_by_id?: string | undefined;
|
|
610
|
-
project_id?: string | undefined;
|
|
611
|
-
};
|
|
612
|
-
|
|
613
|
-
/** @internal */
|
|
614
|
-
export const Six$outboundSchema: z.ZodType<Six$Outbound, z.ZodTypeDef, Six> = z
|
|
615
|
-
.object({
|
|
616
|
-
type: z.literal("text"),
|
|
617
|
-
key: z.string().default("orq_01kp3ftgxq"),
|
|
618
|
-
displayName: z.string(),
|
|
619
|
-
description: z.string(),
|
|
620
|
-
createdById: z.string().optional(),
|
|
621
|
-
updatedById: z.string().optional(),
|
|
622
|
-
projectId: z.string().optional(),
|
|
623
|
-
}).transform((v) => {
|
|
624
|
-
return remap$(v, {
|
|
625
|
-
displayName: "display_name",
|
|
626
|
-
createdById: "created_by_id",
|
|
627
|
-
updatedById: "updated_by_id",
|
|
628
|
-
projectId: "project_id",
|
|
629
|
-
});
|
|
630
|
-
});
|
|
631
|
-
|
|
632
|
-
export function sixToJSON(six: Six): string {
|
|
633
|
-
return JSON.stringify(Six$outboundSchema.parse(six));
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
/** @internal */
|
|
637
|
-
export const PatchV2HumanEvalsIdRequestBodyRequestSentiment$outboundSchema:
|
|
638
|
-
z.ZodNativeEnum<typeof PatchV2HumanEvalsIdRequestBodyRequestSentiment> = z
|
|
639
|
-
.nativeEnum(PatchV2HumanEvalsIdRequestBodyRequestSentiment);
|
|
640
|
-
|
|
641
|
-
/** @internal */
|
|
642
|
-
export type PatchV2HumanEvalsIdRequestBodyOptionsInput$Outbound = {
|
|
643
|
-
value: string;
|
|
644
|
-
sentiment: string;
|
|
645
|
-
description: string;
|
|
646
|
-
icon: string;
|
|
647
|
-
};
|
|
648
|
-
|
|
649
|
-
/** @internal */
|
|
650
|
-
export const PatchV2HumanEvalsIdRequestBodyOptionsInput$outboundSchema:
|
|
651
|
-
z.ZodType<
|
|
652
|
-
PatchV2HumanEvalsIdRequestBodyOptionsInput$Outbound,
|
|
653
|
-
z.ZodTypeDef,
|
|
654
|
-
PatchV2HumanEvalsIdRequestBodyOptionsInput
|
|
655
|
-
> = z.object({
|
|
656
|
-
value: z.string(),
|
|
657
|
-
sentiment: PatchV2HumanEvalsIdRequestBodyRequestSentiment$outboundSchema,
|
|
658
|
-
description: z.string(),
|
|
659
|
-
icon: z.string(),
|
|
660
|
-
});
|
|
661
|
-
|
|
662
|
-
export function patchV2HumanEvalsIdRequestBodyOptionsInputToJSON(
|
|
663
|
-
patchV2HumanEvalsIdRequestBodyOptionsInput:
|
|
664
|
-
PatchV2HumanEvalsIdRequestBodyOptionsInput,
|
|
665
|
-
): string {
|
|
666
|
-
return JSON.stringify(
|
|
667
|
-
PatchV2HumanEvalsIdRequestBodyOptionsInput$outboundSchema.parse(
|
|
668
|
-
patchV2HumanEvalsIdRequestBodyOptionsInput,
|
|
669
|
-
),
|
|
670
|
-
);
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
/** @internal */
|
|
674
|
-
export type RequestBody5$Outbound = {
|
|
675
|
-
type: "single_select";
|
|
676
|
-
options: Array<PatchV2HumanEvalsIdRequestBodyOptionsInput$Outbound>;
|
|
677
|
-
key: string;
|
|
678
|
-
display_name: string;
|
|
679
|
-
description: string;
|
|
680
|
-
created_by_id?: string | undefined;
|
|
681
|
-
updated_by_id?: string | undefined;
|
|
682
|
-
project_id?: string | undefined;
|
|
683
|
-
};
|
|
684
|
-
|
|
685
|
-
/** @internal */
|
|
686
|
-
export const RequestBody5$outboundSchema: z.ZodType<
|
|
687
|
-
RequestBody5$Outbound,
|
|
688
|
-
z.ZodTypeDef,
|
|
689
|
-
RequestBody5
|
|
690
|
-
> = z.object({
|
|
691
|
-
type: z.literal("single_select"),
|
|
692
|
-
options: z.array(
|
|
693
|
-
z.lazy(() => PatchV2HumanEvalsIdRequestBodyOptionsInput$outboundSchema),
|
|
694
|
-
),
|
|
695
|
-
key: z.string().default("orq_01kp3ftgxq"),
|
|
696
|
-
displayName: z.string(),
|
|
697
|
-
description: z.string(),
|
|
698
|
-
createdById: z.string().optional(),
|
|
699
|
-
updatedById: z.string().optional(),
|
|
700
|
-
projectId: z.string().optional(),
|
|
701
|
-
}).transform((v) => {
|
|
702
|
-
return remap$(v, {
|
|
703
|
-
displayName: "display_name",
|
|
704
|
-
createdById: "created_by_id",
|
|
705
|
-
updatedById: "updated_by_id",
|
|
706
|
-
projectId: "project_id",
|
|
707
|
-
});
|
|
708
|
-
});
|
|
709
|
-
|
|
710
|
-
export function requestBody5ToJSON(requestBody5: RequestBody5): string {
|
|
711
|
-
return JSON.stringify(RequestBody5$outboundSchema.parse(requestBody5));
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
/** @internal */
|
|
715
|
-
export const PatchV2HumanEvalsIdRequestBodySentiment$outboundSchema:
|
|
716
|
-
z.ZodNativeEnum<typeof PatchV2HumanEvalsIdRequestBodySentiment> = z
|
|
717
|
-
.nativeEnum(PatchV2HumanEvalsIdRequestBodySentiment);
|
|
718
|
-
|
|
719
|
-
/** @internal */
|
|
720
|
-
export type PatchV2HumanEvalsIdRequestBodyOptions$Outbound = {
|
|
721
|
-
value: string;
|
|
722
|
-
sentiment: string;
|
|
723
|
-
description: string;
|
|
724
|
-
icon: string;
|
|
725
|
-
};
|
|
726
|
-
|
|
727
|
-
/** @internal */
|
|
728
|
-
export const PatchV2HumanEvalsIdRequestBodyOptions$outboundSchema: z.ZodType<
|
|
729
|
-
PatchV2HumanEvalsIdRequestBodyOptions$Outbound,
|
|
730
|
-
z.ZodTypeDef,
|
|
731
|
-
PatchV2HumanEvalsIdRequestBodyOptions
|
|
732
|
-
> = z.object({
|
|
733
|
-
value: z.string(),
|
|
734
|
-
sentiment: PatchV2HumanEvalsIdRequestBodySentiment$outboundSchema,
|
|
735
|
-
description: z.string(),
|
|
736
|
-
icon: z.string(),
|
|
737
|
-
});
|
|
738
|
-
|
|
739
|
-
export function patchV2HumanEvalsIdRequestBodyOptionsToJSON(
|
|
740
|
-
patchV2HumanEvalsIdRequestBodyOptions: PatchV2HumanEvalsIdRequestBodyOptions,
|
|
741
|
-
): string {
|
|
742
|
-
return JSON.stringify(
|
|
743
|
-
PatchV2HumanEvalsIdRequestBodyOptions$outboundSchema.parse(
|
|
744
|
-
patchV2HumanEvalsIdRequestBodyOptions,
|
|
745
|
-
),
|
|
746
|
-
);
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
/** @internal */
|
|
750
|
-
export type PatchV2HumanEvalsIdRequestBody4$Outbound = {
|
|
751
|
-
type: "multi_select";
|
|
752
|
-
options: Array<PatchV2HumanEvalsIdRequestBodyOptions$Outbound>;
|
|
753
|
-
key: string;
|
|
754
|
-
display_name: string;
|
|
755
|
-
description: string;
|
|
756
|
-
created_by_id?: string | undefined;
|
|
757
|
-
updated_by_id?: string | undefined;
|
|
758
|
-
project_id?: string | undefined;
|
|
759
|
-
};
|
|
760
|
-
|
|
761
|
-
/** @internal */
|
|
762
|
-
export const PatchV2HumanEvalsIdRequestBody4$outboundSchema: z.ZodType<
|
|
763
|
-
PatchV2HumanEvalsIdRequestBody4$Outbound,
|
|
764
|
-
z.ZodTypeDef,
|
|
765
|
-
PatchV2HumanEvalsIdRequestBody4
|
|
766
|
-
> = z.object({
|
|
767
|
-
type: z.literal("multi_select"),
|
|
768
|
-
options: z.array(
|
|
769
|
-
z.lazy(() => PatchV2HumanEvalsIdRequestBodyOptions$outboundSchema),
|
|
770
|
-
),
|
|
771
|
-
key: z.string().default("orq_01kp3ftgxp"),
|
|
772
|
-
displayName: z.string(),
|
|
773
|
-
description: z.string(),
|
|
774
|
-
createdById: z.string().optional(),
|
|
775
|
-
updatedById: z.string().optional(),
|
|
776
|
-
projectId: z.string().optional(),
|
|
777
|
-
}).transform((v) => {
|
|
778
|
-
return remap$(v, {
|
|
779
|
-
displayName: "display_name",
|
|
780
|
-
createdById: "created_by_id",
|
|
781
|
-
updatedById: "updated_by_id",
|
|
782
|
-
projectId: "project_id",
|
|
783
|
-
});
|
|
784
|
-
});
|
|
785
|
-
|
|
786
|
-
export function patchV2HumanEvalsIdRequestBody4ToJSON(
|
|
787
|
-
patchV2HumanEvalsIdRequestBody4: PatchV2HumanEvalsIdRequestBody4,
|
|
788
|
-
): string {
|
|
789
|
-
return JSON.stringify(
|
|
790
|
-
PatchV2HumanEvalsIdRequestBody4$outboundSchema.parse(
|
|
791
|
-
patchV2HumanEvalsIdRequestBody4,
|
|
792
|
-
),
|
|
793
|
-
);
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
/** @internal */
|
|
797
|
-
export type RequestBodyConfig$Outbound = {
|
|
798
|
-
min: number;
|
|
799
|
-
max: number;
|
|
800
|
-
};
|
|
801
|
-
|
|
802
|
-
/** @internal */
|
|
803
|
-
export const RequestBodyConfig$outboundSchema: z.ZodType<
|
|
804
|
-
RequestBodyConfig$Outbound,
|
|
805
|
-
z.ZodTypeDef,
|
|
806
|
-
RequestBodyConfig
|
|
807
|
-
> = z.object({
|
|
808
|
-
min: z.number().int(),
|
|
809
|
-
max: z.number().int(),
|
|
810
|
-
});
|
|
811
|
-
|
|
812
|
-
export function requestBodyConfigToJSON(
|
|
813
|
-
requestBodyConfig: RequestBodyConfig,
|
|
814
|
-
): string {
|
|
815
|
-
return JSON.stringify(
|
|
816
|
-
RequestBodyConfig$outboundSchema.parse(requestBodyConfig),
|
|
817
|
-
);
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
/** @internal */
|
|
821
|
-
export type PatchV2HumanEvalsIdRequestBody3$Outbound = {
|
|
822
|
-
type: "range";
|
|
823
|
-
config: RequestBodyConfig$Outbound;
|
|
824
|
-
key: string;
|
|
825
|
-
display_name: string;
|
|
826
|
-
description: string;
|
|
827
|
-
created_by_id?: string | undefined;
|
|
828
|
-
updated_by_id?: string | undefined;
|
|
829
|
-
project_id?: string | undefined;
|
|
830
|
-
};
|
|
831
|
-
|
|
832
|
-
/** @internal */
|
|
833
|
-
export const PatchV2HumanEvalsIdRequestBody3$outboundSchema: z.ZodType<
|
|
834
|
-
PatchV2HumanEvalsIdRequestBody3$Outbound,
|
|
835
|
-
z.ZodTypeDef,
|
|
836
|
-
PatchV2HumanEvalsIdRequestBody3
|
|
837
|
-
> = z.object({
|
|
838
|
-
type: z.literal("range"),
|
|
839
|
-
config: z.lazy(() => RequestBodyConfig$outboundSchema),
|
|
840
|
-
key: z.string().default("orq_01kp3ftgxn"),
|
|
841
|
-
displayName: z.string(),
|
|
842
|
-
description: z.string(),
|
|
843
|
-
createdById: z.string().optional(),
|
|
844
|
-
updatedById: z.string().optional(),
|
|
845
|
-
projectId: z.string().optional(),
|
|
846
|
-
}).transform((v) => {
|
|
847
|
-
return remap$(v, {
|
|
848
|
-
displayName: "display_name",
|
|
849
|
-
createdById: "created_by_id",
|
|
850
|
-
updatedById: "updated_by_id",
|
|
851
|
-
projectId: "project_id",
|
|
852
|
-
});
|
|
853
|
-
});
|
|
854
|
-
|
|
855
|
-
export function patchV2HumanEvalsIdRequestBody3ToJSON(
|
|
856
|
-
patchV2HumanEvalsIdRequestBody3: PatchV2HumanEvalsIdRequestBody3,
|
|
857
|
-
): string {
|
|
858
|
-
return JSON.stringify(
|
|
859
|
-
PatchV2HumanEvalsIdRequestBody3$outboundSchema.parse(
|
|
860
|
-
patchV2HumanEvalsIdRequestBody3,
|
|
861
|
-
),
|
|
862
|
-
);
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
/** @internal */
|
|
866
|
-
export type PatchV2HumanEvalsIdRequestBody2$Outbound = {
|
|
867
|
-
type: "correction";
|
|
868
|
-
key: string;
|
|
869
|
-
display_name: string;
|
|
870
|
-
description: string;
|
|
871
|
-
created_by_id?: string | undefined;
|
|
872
|
-
updated_by_id?: string | undefined;
|
|
873
|
-
project_id?: string | undefined;
|
|
874
|
-
};
|
|
875
|
-
|
|
876
|
-
/** @internal */
|
|
877
|
-
export const PatchV2HumanEvalsIdRequestBody2$outboundSchema: z.ZodType<
|
|
878
|
-
PatchV2HumanEvalsIdRequestBody2$Outbound,
|
|
879
|
-
z.ZodTypeDef,
|
|
880
|
-
PatchV2HumanEvalsIdRequestBody2
|
|
881
|
-
> = z.object({
|
|
882
|
-
type: z.literal("correction"),
|
|
883
|
-
key: z.string().default("orq_01kp3ftgxm"),
|
|
884
|
-
displayName: z.string(),
|
|
885
|
-
description: z.string(),
|
|
886
|
-
createdById: z.string().optional(),
|
|
887
|
-
updatedById: z.string().optional(),
|
|
888
|
-
projectId: z.string().optional(),
|
|
889
|
-
}).transform((v) => {
|
|
890
|
-
return remap$(v, {
|
|
891
|
-
displayName: "display_name",
|
|
892
|
-
createdById: "created_by_id",
|
|
893
|
-
updatedById: "updated_by_id",
|
|
894
|
-
projectId: "project_id",
|
|
895
|
-
});
|
|
896
|
-
});
|
|
897
|
-
|
|
898
|
-
export function patchV2HumanEvalsIdRequestBody2ToJSON(
|
|
899
|
-
patchV2HumanEvalsIdRequestBody2: PatchV2HumanEvalsIdRequestBody2,
|
|
900
|
-
): string {
|
|
901
|
-
return JSON.stringify(
|
|
902
|
-
PatchV2HumanEvalsIdRequestBody2$outboundSchema.parse(
|
|
903
|
-
patchV2HumanEvalsIdRequestBody2,
|
|
904
|
-
),
|
|
905
|
-
);
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
/** @internal */
|
|
909
|
-
export type PatchV2HumanEvalsIdRequestBody1$Outbound = {
|
|
910
|
-
type: "boolean";
|
|
911
|
-
key: string;
|
|
912
|
-
display_name: string;
|
|
913
|
-
description: string;
|
|
914
|
-
created_by_id?: string | undefined;
|
|
915
|
-
updated_by_id?: string | undefined;
|
|
916
|
-
project_id?: string | undefined;
|
|
917
|
-
};
|
|
918
|
-
|
|
919
|
-
/** @internal */
|
|
920
|
-
export const PatchV2HumanEvalsIdRequestBody1$outboundSchema: z.ZodType<
|
|
921
|
-
PatchV2HumanEvalsIdRequestBody1$Outbound,
|
|
922
|
-
z.ZodTypeDef,
|
|
923
|
-
PatchV2HumanEvalsIdRequestBody1
|
|
924
|
-
> = z.object({
|
|
925
|
-
type: z.literal("boolean"),
|
|
926
|
-
key: z.string().default("orq_01kp3ftgxk"),
|
|
927
|
-
displayName: z.string(),
|
|
928
|
-
description: z.string(),
|
|
929
|
-
createdById: z.string().optional(),
|
|
930
|
-
updatedById: z.string().optional(),
|
|
931
|
-
projectId: z.string().optional(),
|
|
932
|
-
}).transform((v) => {
|
|
933
|
-
return remap$(v, {
|
|
934
|
-
displayName: "display_name",
|
|
935
|
-
createdById: "created_by_id",
|
|
936
|
-
updatedById: "updated_by_id",
|
|
937
|
-
projectId: "project_id",
|
|
938
|
-
});
|
|
939
|
-
});
|
|
940
|
-
|
|
941
|
-
export function patchV2HumanEvalsIdRequestBody1ToJSON(
|
|
942
|
-
patchV2HumanEvalsIdRequestBody1: PatchV2HumanEvalsIdRequestBody1,
|
|
943
|
-
): string {
|
|
944
|
-
return JSON.stringify(
|
|
945
|
-
PatchV2HumanEvalsIdRequestBody1$outboundSchema.parse(
|
|
946
|
-
patchV2HumanEvalsIdRequestBody1,
|
|
947
|
-
),
|
|
948
|
-
);
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
/** @internal */
|
|
952
|
-
export type PatchV2HumanEvalsIdRequestBody$Outbound =
|
|
953
|
-
| PatchV2HumanEvalsIdRequestBody1$Outbound
|
|
954
|
-
| PatchV2HumanEvalsIdRequestBody2$Outbound
|
|
955
|
-
| PatchV2HumanEvalsIdRequestBody3$Outbound
|
|
956
|
-
| PatchV2HumanEvalsIdRequestBody4$Outbound
|
|
957
|
-
| RequestBody5$Outbound
|
|
958
|
-
| Six$Outbound;
|
|
959
|
-
|
|
960
|
-
/** @internal */
|
|
961
|
-
export const PatchV2HumanEvalsIdRequestBody$outboundSchema: z.ZodType<
|
|
962
|
-
PatchV2HumanEvalsIdRequestBody$Outbound,
|
|
963
|
-
z.ZodTypeDef,
|
|
964
|
-
PatchV2HumanEvalsIdRequestBody
|
|
965
|
-
> = z.union([
|
|
966
|
-
z.lazy(() => PatchV2HumanEvalsIdRequestBody1$outboundSchema),
|
|
967
|
-
z.lazy(() => PatchV2HumanEvalsIdRequestBody2$outboundSchema),
|
|
968
|
-
z.lazy(() => PatchV2HumanEvalsIdRequestBody3$outboundSchema),
|
|
969
|
-
z.lazy(() => PatchV2HumanEvalsIdRequestBody4$outboundSchema),
|
|
970
|
-
z.lazy(() => RequestBody5$outboundSchema),
|
|
971
|
-
z.lazy(() => Six$outboundSchema),
|
|
972
|
-
]);
|
|
973
|
-
|
|
974
|
-
export function patchV2HumanEvalsIdRequestBodyToJSON(
|
|
975
|
-
patchV2HumanEvalsIdRequestBody: PatchV2HumanEvalsIdRequestBody,
|
|
976
|
-
): string {
|
|
977
|
-
return JSON.stringify(
|
|
978
|
-
PatchV2HumanEvalsIdRequestBody$outboundSchema.parse(
|
|
979
|
-
patchV2HumanEvalsIdRequestBody,
|
|
980
|
-
),
|
|
981
|
-
);
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
/** @internal */
|
|
985
|
-
export type PatchV2HumanEvalsIdRequest$Outbound = {
|
|
986
|
-
id: string;
|
|
987
|
-
RequestBody?:
|
|
988
|
-
| PatchV2HumanEvalsIdRequestBody1$Outbound
|
|
989
|
-
| PatchV2HumanEvalsIdRequestBody2$Outbound
|
|
990
|
-
| PatchV2HumanEvalsIdRequestBody3$Outbound
|
|
991
|
-
| PatchV2HumanEvalsIdRequestBody4$Outbound
|
|
992
|
-
| RequestBody5$Outbound
|
|
993
|
-
| Six$Outbound
|
|
994
|
-
| undefined;
|
|
995
|
-
};
|
|
996
|
-
|
|
997
|
-
/** @internal */
|
|
998
|
-
export const PatchV2HumanEvalsIdRequest$outboundSchema: z.ZodType<
|
|
999
|
-
PatchV2HumanEvalsIdRequest$Outbound,
|
|
1000
|
-
z.ZodTypeDef,
|
|
1001
|
-
PatchV2HumanEvalsIdRequest
|
|
1002
|
-
> = z.object({
|
|
1003
|
-
id: z.string(),
|
|
1004
|
-
requestBody: z.union([
|
|
1005
|
-
z.lazy(() => PatchV2HumanEvalsIdRequestBody1$outboundSchema),
|
|
1006
|
-
z.lazy(() => PatchV2HumanEvalsIdRequestBody2$outboundSchema),
|
|
1007
|
-
z.lazy(() => PatchV2HumanEvalsIdRequestBody3$outboundSchema),
|
|
1008
|
-
z.lazy(() => PatchV2HumanEvalsIdRequestBody4$outboundSchema),
|
|
1009
|
-
z.lazy(() => RequestBody5$outboundSchema),
|
|
1010
|
-
z.lazy(() => Six$outboundSchema),
|
|
1011
|
-
]).optional(),
|
|
1012
|
-
}).transform((v) => {
|
|
1013
|
-
return remap$(v, {
|
|
1014
|
-
requestBody: "RequestBody",
|
|
1015
|
-
});
|
|
1016
|
-
});
|
|
1017
|
-
|
|
1018
|
-
export function patchV2HumanEvalsIdRequestToJSON(
|
|
1019
|
-
patchV2HumanEvalsIdRequest: PatchV2HumanEvalsIdRequest,
|
|
1020
|
-
): string {
|
|
1021
|
-
return JSON.stringify(
|
|
1022
|
-
PatchV2HumanEvalsIdRequest$outboundSchema.parse(patchV2HumanEvalsIdRequest),
|
|
1023
|
-
);
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
/** @internal */
|
|
1027
|
-
export const PatchV2HumanEvalsIdResponseBody6$inboundSchema: z.ZodType<
|
|
1028
|
-
PatchV2HumanEvalsIdResponseBody6,
|
|
1029
|
-
z.ZodTypeDef,
|
|
1030
|
-
unknown
|
|
1031
|
-
> = z.object({
|
|
1032
|
-
type: z.literal("text"),
|
|
1033
|
-
id: z.string(),
|
|
1034
|
-
key: z.string().default("orq_01kp3ftgxj"),
|
|
1035
|
-
display_name: z.string(),
|
|
1036
|
-
description: z.string(),
|
|
1037
|
-
domain_id: z.string().optional(),
|
|
1038
|
-
created_by_id: z.string().optional(),
|
|
1039
|
-
updated_by_id: z.string().optional(),
|
|
1040
|
-
workspace_id: z.string(),
|
|
1041
|
-
project_id: z.string().optional(),
|
|
1042
|
-
}).transform((v) => {
|
|
1043
|
-
return remap$(v, {
|
|
1044
|
-
"display_name": "displayName",
|
|
1045
|
-
"domain_id": "domainId",
|
|
1046
|
-
"created_by_id": "createdById",
|
|
1047
|
-
"updated_by_id": "updatedById",
|
|
1048
|
-
"workspace_id": "workspaceId",
|
|
1049
|
-
"project_id": "projectId",
|
|
1050
|
-
});
|
|
1051
|
-
});
|
|
1052
|
-
|
|
1053
|
-
export function patchV2HumanEvalsIdResponseBody6FromJSON(
|
|
1054
|
-
jsonString: string,
|
|
1055
|
-
): SafeParseResult<PatchV2HumanEvalsIdResponseBody6, SDKValidationError> {
|
|
1056
|
-
return safeParse(
|
|
1057
|
-
jsonString,
|
|
1058
|
-
(x) => PatchV2HumanEvalsIdResponseBody6$inboundSchema.parse(JSON.parse(x)),
|
|
1059
|
-
`Failed to parse 'PatchV2HumanEvalsIdResponseBody6' from JSON`,
|
|
1060
|
-
);
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
/** @internal */
|
|
1064
|
-
export const PatchV2HumanEvalsIdResponseBodyResponseSentiment$inboundSchema:
|
|
1065
|
-
z.ZodNativeEnum<typeof PatchV2HumanEvalsIdResponseBodyResponseSentiment> = z
|
|
1066
|
-
.nativeEnum(PatchV2HumanEvalsIdResponseBodyResponseSentiment);
|
|
1067
|
-
|
|
1068
|
-
/** @internal */
|
|
1069
|
-
export const PatchV2HumanEvalsIdResponseBodyResponseOptions$inboundSchema:
|
|
1070
|
-
z.ZodType<
|
|
1071
|
-
PatchV2HumanEvalsIdResponseBodyResponseOptions,
|
|
1072
|
-
z.ZodTypeDef,
|
|
1073
|
-
unknown
|
|
1074
|
-
> = z.object({
|
|
1075
|
-
id: z.string(),
|
|
1076
|
-
value: z.string(),
|
|
1077
|
-
sentiment: PatchV2HumanEvalsIdResponseBodyResponseSentiment$inboundSchema,
|
|
1078
|
-
description: z.string(),
|
|
1079
|
-
icon: z.string(),
|
|
1080
|
-
});
|
|
1081
|
-
|
|
1082
|
-
export function patchV2HumanEvalsIdResponseBodyResponseOptionsFromJSON(
|
|
1083
|
-
jsonString: string,
|
|
1084
|
-
): SafeParseResult<
|
|
1085
|
-
PatchV2HumanEvalsIdResponseBodyResponseOptions,
|
|
1086
|
-
SDKValidationError
|
|
1087
|
-
> {
|
|
1088
|
-
return safeParse(
|
|
1089
|
-
jsonString,
|
|
1090
|
-
(x) =>
|
|
1091
|
-
PatchV2HumanEvalsIdResponseBodyResponseOptions$inboundSchema.parse(
|
|
1092
|
-
JSON.parse(x),
|
|
1093
|
-
),
|
|
1094
|
-
`Failed to parse 'PatchV2HumanEvalsIdResponseBodyResponseOptions' from JSON`,
|
|
1095
|
-
);
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
/** @internal */
|
|
1099
|
-
export const PatchV2HumanEvalsIdResponseBody5$inboundSchema: z.ZodType<
|
|
1100
|
-
PatchV2HumanEvalsIdResponseBody5,
|
|
1101
|
-
z.ZodTypeDef,
|
|
1102
|
-
unknown
|
|
1103
|
-
> = z.object({
|
|
1104
|
-
type: z.literal("single_select"),
|
|
1105
|
-
options: z.array(
|
|
1106
|
-
z.lazy(() => PatchV2HumanEvalsIdResponseBodyResponseOptions$inboundSchema),
|
|
1107
|
-
),
|
|
1108
|
-
id: z.string(),
|
|
1109
|
-
key: z.string().default("orq_01kp3ftgxj"),
|
|
1110
|
-
display_name: z.string(),
|
|
1111
|
-
description: z.string(),
|
|
1112
|
-
domain_id: z.string().optional(),
|
|
1113
|
-
created_by_id: z.string().optional(),
|
|
1114
|
-
updated_by_id: z.string().optional(),
|
|
1115
|
-
workspace_id: z.string(),
|
|
1116
|
-
project_id: z.string().optional(),
|
|
1117
|
-
}).transform((v) => {
|
|
1118
|
-
return remap$(v, {
|
|
1119
|
-
"display_name": "displayName",
|
|
1120
|
-
"domain_id": "domainId",
|
|
1121
|
-
"created_by_id": "createdById",
|
|
1122
|
-
"updated_by_id": "updatedById",
|
|
1123
|
-
"workspace_id": "workspaceId",
|
|
1124
|
-
"project_id": "projectId",
|
|
1125
|
-
});
|
|
1126
|
-
});
|
|
1127
|
-
|
|
1128
|
-
export function patchV2HumanEvalsIdResponseBody5FromJSON(
|
|
1129
|
-
jsonString: string,
|
|
1130
|
-
): SafeParseResult<PatchV2HumanEvalsIdResponseBody5, SDKValidationError> {
|
|
1131
|
-
return safeParse(
|
|
1132
|
-
jsonString,
|
|
1133
|
-
(x) => PatchV2HumanEvalsIdResponseBody5$inboundSchema.parse(JSON.parse(x)),
|
|
1134
|
-
`Failed to parse 'PatchV2HumanEvalsIdResponseBody5' from JSON`,
|
|
1135
|
-
);
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
/** @internal */
|
|
1139
|
-
export const PatchV2HumanEvalsIdResponseBodySentiment$inboundSchema:
|
|
1140
|
-
z.ZodNativeEnum<typeof PatchV2HumanEvalsIdResponseBodySentiment> = z
|
|
1141
|
-
.nativeEnum(PatchV2HumanEvalsIdResponseBodySentiment);
|
|
1142
|
-
|
|
1143
|
-
/** @internal */
|
|
1144
|
-
export const PatchV2HumanEvalsIdResponseBodyOptions$inboundSchema: z.ZodType<
|
|
1145
|
-
PatchV2HumanEvalsIdResponseBodyOptions,
|
|
1146
|
-
z.ZodTypeDef,
|
|
1147
|
-
unknown
|
|
1148
|
-
> = z.object({
|
|
1149
|
-
id: z.string(),
|
|
1150
|
-
value: z.string(),
|
|
1151
|
-
sentiment: PatchV2HumanEvalsIdResponseBodySentiment$inboundSchema,
|
|
1152
|
-
description: z.string(),
|
|
1153
|
-
icon: z.string(),
|
|
1154
|
-
});
|
|
1155
|
-
|
|
1156
|
-
export function patchV2HumanEvalsIdResponseBodyOptionsFromJSON(
|
|
1157
|
-
jsonString: string,
|
|
1158
|
-
): SafeParseResult<PatchV2HumanEvalsIdResponseBodyOptions, SDKValidationError> {
|
|
1159
|
-
return safeParse(
|
|
1160
|
-
jsonString,
|
|
1161
|
-
(x) =>
|
|
1162
|
-
PatchV2HumanEvalsIdResponseBodyOptions$inboundSchema.parse(JSON.parse(x)),
|
|
1163
|
-
`Failed to parse 'PatchV2HumanEvalsIdResponseBodyOptions' from JSON`,
|
|
1164
|
-
);
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
|
-
/** @internal */
|
|
1168
|
-
export const PatchV2HumanEvalsIdResponseBody4$inboundSchema: z.ZodType<
|
|
1169
|
-
PatchV2HumanEvalsIdResponseBody4,
|
|
1170
|
-
z.ZodTypeDef,
|
|
1171
|
-
unknown
|
|
1172
|
-
> = z.object({
|
|
1173
|
-
type: z.literal("multi_select"),
|
|
1174
|
-
options: z.array(
|
|
1175
|
-
z.lazy(() => PatchV2HumanEvalsIdResponseBodyOptions$inboundSchema),
|
|
1176
|
-
),
|
|
1177
|
-
id: z.string(),
|
|
1178
|
-
key: z.string().default("orq_01kp3ftgxh"),
|
|
1179
|
-
display_name: z.string(),
|
|
1180
|
-
description: z.string(),
|
|
1181
|
-
domain_id: z.string().optional(),
|
|
1182
|
-
created_by_id: z.string().optional(),
|
|
1183
|
-
updated_by_id: z.string().optional(),
|
|
1184
|
-
workspace_id: z.string(),
|
|
1185
|
-
project_id: z.string().optional(),
|
|
1186
|
-
}).transform((v) => {
|
|
1187
|
-
return remap$(v, {
|
|
1188
|
-
"display_name": "displayName",
|
|
1189
|
-
"domain_id": "domainId",
|
|
1190
|
-
"created_by_id": "createdById",
|
|
1191
|
-
"updated_by_id": "updatedById",
|
|
1192
|
-
"workspace_id": "workspaceId",
|
|
1193
|
-
"project_id": "projectId",
|
|
1194
|
-
});
|
|
1195
|
-
});
|
|
1196
|
-
|
|
1197
|
-
export function patchV2HumanEvalsIdResponseBody4FromJSON(
|
|
1198
|
-
jsonString: string,
|
|
1199
|
-
): SafeParseResult<PatchV2HumanEvalsIdResponseBody4, SDKValidationError> {
|
|
1200
|
-
return safeParse(
|
|
1201
|
-
jsonString,
|
|
1202
|
-
(x) => PatchV2HumanEvalsIdResponseBody4$inboundSchema.parse(JSON.parse(x)),
|
|
1203
|
-
`Failed to parse 'PatchV2HumanEvalsIdResponseBody4' from JSON`,
|
|
1204
|
-
);
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
/** @internal */
|
|
1208
|
-
export const PatchV2HumanEvalsIdResponseBodyConfig$inboundSchema: z.ZodType<
|
|
1209
|
-
PatchV2HumanEvalsIdResponseBodyConfig,
|
|
1210
|
-
z.ZodTypeDef,
|
|
1211
|
-
unknown
|
|
1212
|
-
> = z.object({
|
|
1213
|
-
min: z.number().int(),
|
|
1214
|
-
max: z.number().int(),
|
|
1215
|
-
});
|
|
1216
|
-
|
|
1217
|
-
export function patchV2HumanEvalsIdResponseBodyConfigFromJSON(
|
|
1218
|
-
jsonString: string,
|
|
1219
|
-
): SafeParseResult<PatchV2HumanEvalsIdResponseBodyConfig, SDKValidationError> {
|
|
1220
|
-
return safeParse(
|
|
1221
|
-
jsonString,
|
|
1222
|
-
(x) =>
|
|
1223
|
-
PatchV2HumanEvalsIdResponseBodyConfig$inboundSchema.parse(JSON.parse(x)),
|
|
1224
|
-
`Failed to parse 'PatchV2HumanEvalsIdResponseBodyConfig' from JSON`,
|
|
1225
|
-
);
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
/** @internal */
|
|
1229
|
-
export const PatchV2HumanEvalsIdResponseBody3$inboundSchema: z.ZodType<
|
|
1230
|
-
PatchV2HumanEvalsIdResponseBody3,
|
|
1231
|
-
z.ZodTypeDef,
|
|
1232
|
-
unknown
|
|
1233
|
-
> = z.object({
|
|
1234
|
-
type: z.literal("range"),
|
|
1235
|
-
config: z.lazy(() => PatchV2HumanEvalsIdResponseBodyConfig$inboundSchema),
|
|
1236
|
-
id: z.string(),
|
|
1237
|
-
key: z.string().default("orq_01kp3ftgxa"),
|
|
1238
|
-
display_name: z.string(),
|
|
1239
|
-
description: z.string(),
|
|
1240
|
-
domain_id: z.string().optional(),
|
|
1241
|
-
created_by_id: z.string().optional(),
|
|
1242
|
-
updated_by_id: z.string().optional(),
|
|
1243
|
-
workspace_id: z.string(),
|
|
1244
|
-
project_id: z.string().optional(),
|
|
1245
|
-
}).transform((v) => {
|
|
1246
|
-
return remap$(v, {
|
|
1247
|
-
"display_name": "displayName",
|
|
1248
|
-
"domain_id": "domainId",
|
|
1249
|
-
"created_by_id": "createdById",
|
|
1250
|
-
"updated_by_id": "updatedById",
|
|
1251
|
-
"workspace_id": "workspaceId",
|
|
1252
|
-
"project_id": "projectId",
|
|
1253
|
-
});
|
|
1254
|
-
});
|
|
1255
|
-
|
|
1256
|
-
export function patchV2HumanEvalsIdResponseBody3FromJSON(
|
|
1257
|
-
jsonString: string,
|
|
1258
|
-
): SafeParseResult<PatchV2HumanEvalsIdResponseBody3, SDKValidationError> {
|
|
1259
|
-
return safeParse(
|
|
1260
|
-
jsonString,
|
|
1261
|
-
(x) => PatchV2HumanEvalsIdResponseBody3$inboundSchema.parse(JSON.parse(x)),
|
|
1262
|
-
`Failed to parse 'PatchV2HumanEvalsIdResponseBody3' from JSON`,
|
|
1263
|
-
);
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
/** @internal */
|
|
1267
|
-
export const PatchV2HumanEvalsIdResponseBody2$inboundSchema: z.ZodType<
|
|
1268
|
-
PatchV2HumanEvalsIdResponseBody2,
|
|
1269
|
-
z.ZodTypeDef,
|
|
1270
|
-
unknown
|
|
1271
|
-
> = z.object({
|
|
1272
|
-
type: z.literal("correction"),
|
|
1273
|
-
id: z.string(),
|
|
1274
|
-
key: z.string().default("orq_01kp3ftgx9"),
|
|
1275
|
-
display_name: z.string(),
|
|
1276
|
-
description: z.string(),
|
|
1277
|
-
domain_id: z.string().optional(),
|
|
1278
|
-
created_by_id: z.string().optional(),
|
|
1279
|
-
updated_by_id: z.string().optional(),
|
|
1280
|
-
workspace_id: z.string(),
|
|
1281
|
-
project_id: z.string().optional(),
|
|
1282
|
-
}).transform((v) => {
|
|
1283
|
-
return remap$(v, {
|
|
1284
|
-
"display_name": "displayName",
|
|
1285
|
-
"domain_id": "domainId",
|
|
1286
|
-
"created_by_id": "createdById",
|
|
1287
|
-
"updated_by_id": "updatedById",
|
|
1288
|
-
"workspace_id": "workspaceId",
|
|
1289
|
-
"project_id": "projectId",
|
|
1290
|
-
});
|
|
1291
|
-
});
|
|
1292
|
-
|
|
1293
|
-
export function patchV2HumanEvalsIdResponseBody2FromJSON(
|
|
1294
|
-
jsonString: string,
|
|
1295
|
-
): SafeParseResult<PatchV2HumanEvalsIdResponseBody2, SDKValidationError> {
|
|
1296
|
-
return safeParse(
|
|
1297
|
-
jsonString,
|
|
1298
|
-
(x) => PatchV2HumanEvalsIdResponseBody2$inboundSchema.parse(JSON.parse(x)),
|
|
1299
|
-
`Failed to parse 'PatchV2HumanEvalsIdResponseBody2' from JSON`,
|
|
1300
|
-
);
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
/** @internal */
|
|
1304
|
-
export const PatchV2HumanEvalsIdResponseBody1$inboundSchema: z.ZodType<
|
|
1305
|
-
PatchV2HumanEvalsIdResponseBody1,
|
|
1306
|
-
z.ZodTypeDef,
|
|
1307
|
-
unknown
|
|
1308
|
-
> = z.object({
|
|
1309
|
-
type: z.literal("boolean"),
|
|
1310
|
-
id: z.string(),
|
|
1311
|
-
key: z.string().default("orq_01kp3ftgx8"),
|
|
1312
|
-
display_name: z.string(),
|
|
1313
|
-
description: z.string(),
|
|
1314
|
-
domain_id: z.string().optional(),
|
|
1315
|
-
created_by_id: z.string().optional(),
|
|
1316
|
-
updated_by_id: z.string().optional(),
|
|
1317
|
-
workspace_id: z.string(),
|
|
1318
|
-
project_id: z.string().optional(),
|
|
1319
|
-
}).transform((v) => {
|
|
1320
|
-
return remap$(v, {
|
|
1321
|
-
"display_name": "displayName",
|
|
1322
|
-
"domain_id": "domainId",
|
|
1323
|
-
"created_by_id": "createdById",
|
|
1324
|
-
"updated_by_id": "updatedById",
|
|
1325
|
-
"workspace_id": "workspaceId",
|
|
1326
|
-
"project_id": "projectId",
|
|
1327
|
-
});
|
|
1328
|
-
});
|
|
1329
|
-
|
|
1330
|
-
export function patchV2HumanEvalsIdResponseBody1FromJSON(
|
|
1331
|
-
jsonString: string,
|
|
1332
|
-
): SafeParseResult<PatchV2HumanEvalsIdResponseBody1, SDKValidationError> {
|
|
1333
|
-
return safeParse(
|
|
1334
|
-
jsonString,
|
|
1335
|
-
(x) => PatchV2HumanEvalsIdResponseBody1$inboundSchema.parse(JSON.parse(x)),
|
|
1336
|
-
`Failed to parse 'PatchV2HumanEvalsIdResponseBody1' from JSON`,
|
|
1337
|
-
);
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
/** @internal */
|
|
1341
|
-
export const PatchV2HumanEvalsIdResponseBody$inboundSchema: z.ZodType<
|
|
1342
|
-
PatchV2HumanEvalsIdResponseBody,
|
|
1343
|
-
z.ZodTypeDef,
|
|
1344
|
-
unknown
|
|
1345
|
-
> = z.union([
|
|
1346
|
-
z.lazy(() => PatchV2HumanEvalsIdResponseBody1$inboundSchema),
|
|
1347
|
-
z.lazy(() => PatchV2HumanEvalsIdResponseBody2$inboundSchema),
|
|
1348
|
-
z.lazy(() => PatchV2HumanEvalsIdResponseBody3$inboundSchema),
|
|
1349
|
-
z.lazy(() => PatchV2HumanEvalsIdResponseBody4$inboundSchema),
|
|
1350
|
-
z.lazy(() => PatchV2HumanEvalsIdResponseBody5$inboundSchema),
|
|
1351
|
-
z.lazy(() => PatchV2HumanEvalsIdResponseBody6$inboundSchema),
|
|
1352
|
-
]);
|
|
1353
|
-
|
|
1354
|
-
export function patchV2HumanEvalsIdResponseBodyFromJSON(
|
|
1355
|
-
jsonString: string,
|
|
1356
|
-
): SafeParseResult<PatchV2HumanEvalsIdResponseBody, SDKValidationError> {
|
|
1357
|
-
return safeParse(
|
|
1358
|
-
jsonString,
|
|
1359
|
-
(x) => PatchV2HumanEvalsIdResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
1360
|
-
`Failed to parse 'PatchV2HumanEvalsIdResponseBody' from JSON`,
|
|
1361
|
-
);
|
|
1362
|
-
}
|