@orq-ai/node 4.10.15 → 4.10.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -36
- package/funcs/routingRulesList.js +3 -0
- package/funcs/routingRulesList.js.map +1 -1
- package/funcs/routingRulesListUsedModels.d.ts +17 -0
- package/funcs/routingRulesListUsedModels.d.ts.map +1 -0
- package/funcs/routingRulesListUsedModels.js +105 -0
- package/funcs/routingRulesListUsedModels.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.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.js +16 -16
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/routingrulelist.d.ts +15 -0
- package/models/operations/routingrulelist.d.ts.map +1 -1
- package/models/operations/routingrulelist.js +3 -0
- package/models/operations/routingrulelist.js.map +1 -1
- package/models/operations/routingrulelistusedmodels.d.ts +14 -0
- package/models/operations/routingrulelistusedmodels.d.ts.map +1 -0
- package/models/operations/routingrulelistusedmodels.js +51 -0
- package/models/operations/routingrulelistusedmodels.js.map +1 -0
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- 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/updatetool.js +7 -7
- package/package.json +1 -1
- package/packages/orq-rc/src/funcs/datasetsList.ts +2 -0
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +14 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/feedback.ts +2 -2
- package/sdk/feedback.d.ts +2 -2
- package/sdk/feedback.js +2 -2
- package/sdk/routingrules.d.ts +7 -0
- package/sdk/routingrules.d.ts.map +1 -1
- package/sdk/routingrules.js +10 -0
- package/sdk/routingrules.js.map +1 -1
- package/src/funcs/routingRulesList.ts +3 -0
- package/src/funcs/routingRulesListUsedModels.ts +144 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.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 +16 -16
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +1 -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/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- 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/retrievetool.ts +6 -6
- package/src/models/operations/routingrulelist.ts +18 -0
- package/src/models/operations/routingrulelistusedmodels.ts +37 -0
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- 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/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +2 -2
- package/src/sdk/routingrules.ts +16 -0
package/README.md
CHANGED
|
@@ -396,6 +396,7 @@ run();
|
|
|
396
396
|
|
|
397
397
|
* [list](docs/sdks/routingrules/README.md#list) - List routing rules
|
|
398
398
|
* [create](docs/sdks/routingrules/README.md#create) - Create routing rule
|
|
399
|
+
* [listUsedModels](docs/sdks/routingrules/README.md#listusedmodels) - List used models
|
|
399
400
|
* [delete](docs/sdks/routingrules/README.md#delete) - Delete routing rule
|
|
400
401
|
* [retrieve](docs/sdks/routingrules/README.md#retrieve) - Get routing rule
|
|
401
402
|
* [update](docs/sdks/routingrules/README.md#update) - Update routing rule
|
|
@@ -599,6 +600,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
599
600
|
- [`routingRulesCreate`](docs/sdks/routingrules/README.md#create) - Create routing rule
|
|
600
601
|
- [`routingRulesDelete`](docs/sdks/routingrules/README.md#delete) - Delete routing rule
|
|
601
602
|
- [`routingRulesList`](docs/sdks/routingrules/README.md#list) - List routing rules
|
|
603
|
+
- [`routingRulesListUsedModels`](docs/sdks/routingrules/README.md#listusedmodels) - List used models
|
|
602
604
|
- [`routingRulesRetrieve`](docs/sdks/routingrules/README.md#retrieve) - Get routing rule
|
|
603
605
|
- [`routingRulesUpdate`](docs/sdks/routingrules/README.md#update) - Update routing rule
|
|
604
606
|
- [`schedulesCreate`](docs/sdks/schedules/README.md#create) - Create schedule
|
|
@@ -931,42 +933,42 @@ run();
|
|
|
931
933
|
|
|
932
934
|
|
|
933
935
|
**Inherit from [`OrqError`](./src/models/errors/orqerror.ts)**:
|
|
934
|
-
* [`HonoApiError`](./src/models/errors/honoapierror.ts): Applicable to 10 of
|
|
935
|
-
* [`InvokeEvalResponseBody`](./src/models/errors/invokeevalresponsebody.ts): Bad request. Status code `400`. Applicable to 1 of
|
|
936
|
-
* [`PostV2AgentsKeyCardRefreshResponseBody`](./src/models/errors/postv2agentskeycardrefreshresponsebody.ts): Invalid request - Agent is not an A2A agent or card fetch failed. Status code `400`. Applicable to 1 of
|
|
937
|
-
* [`PostV2FeedbackResponseBody`](./src/models/errors/postv2feedbackresponsebody.ts): Bad Request. Status code `400`. Applicable to 1 of
|
|
938
|
-
* [`CreateAgentScheduleResponseBody`](./src/models/errors/createagentscheduleresponsebody.ts): Invalid schedule type, expression, or sub-hour cadence. Status code `400`. Applicable to 1 of
|
|
939
|
-
* [`UpdateAgentScheduleResponseBody`](./src/models/errors/updateagentscheduleresponsebody.ts): Invalid type, expression, or sub-hour cadence. Status code `400`. Applicable to 1 of
|
|
940
|
-
* [`TriggerAgentScheduleResponseBody`](./src/models/errors/triggeragentscheduleresponsebody.ts): Schedule is inactive. Status code `400`. Applicable to 1 of
|
|
941
|
-
* [`GetEvalsResponseBody`](./src/models/errors/getevalsresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of
|
|
942
|
-
* [`CreateEvalResponseBody`](./src/models/errors/createevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of
|
|
943
|
-
* [`UpdateEvalResponseBody`](./src/models/errors/updateevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of
|
|
944
|
-
* [`DeleteEvalResponseBody`](./src/models/errors/deleteevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of
|
|
945
|
-
* [`InvokeEvalEvalsResponseBody`](./src/models/errors/invokeevalevalsresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of
|
|
946
|
-
* [`GetV2EvaluatorsIdVersionsResponseBody`](./src/models/errors/getv2evaluatorsidversionsresponsebody.ts): Evaluator not found. Status code `404`. Applicable to 1 of
|
|
947
|
-
* [`DeleteAgentResponseBody`](./src/models/errors/deleteagentresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or has already been deleted. Status code `404`. Applicable to 1 of
|
|
948
|
-
* [`RetrieveAgentRequestResponseBody`](./src/models/errors/retrieveagentrequestresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or you do not have permission to access it. Status code `404`. Applicable to 1 of
|
|
949
|
-
* [`UpdateAgentResponseBody`](./src/models/errors/updateagentresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or you do not have permission to modify it. Status code `404`. Applicable to 1 of
|
|
950
|
-
* [`StreamRunAgentResponseBody`](./src/models/errors/streamrunagentresponsebody.ts): Model not found. Status code `404`. Applicable to 1 of
|
|
951
|
-
* [`StreamAgentResponseBody`](./src/models/errors/streamagentresponsebody.ts): Agent not found. Status code `404`. Applicable to 1 of
|
|
952
|
-
* [`PostV2AgentsKeyCardRefreshAgentsResponseBody`](./src/models/errors/postv2agentskeycardrefreshagentsresponsebody.ts): Agent not found. Status code `404`. Applicable to 1 of
|
|
953
|
-
* [`UpdatePromptResponseBody`](./src/models/errors/updatepromptresponsebody.ts): Prompt not found. Status code `404`. Applicable to 1 of
|
|
954
|
-
* [`DeletePromptResponseBody`](./src/models/errors/deletepromptresponsebody.ts): Prompt not found. Status code `404`. Applicable to 1 of
|
|
955
|
-
* [`GetPromptVersionResponseBody`](./src/models/errors/getpromptversionresponsebody.ts): Not Found - The prompt or prompt version does not exist. Status code `404`. Applicable to 1 of
|
|
956
|
-
* [`UpdateToolResponseBody`](./src/models/errors/updatetoolresponsebody.ts): Tool not found. Status code `404`. Applicable to 1 of
|
|
957
|
-
* [`GetV2ToolsToolIdVersionsResponseBody`](./src/models/errors/getv2toolstoolidversionsresponsebody.ts): Tool not found. Status code `404`. Applicable to 1 of
|
|
958
|
-
* [`GetV2ToolsToolIdVersionsVersionIdResponseBody`](./src/models/errors/getv2toolstoolidversionsversionidresponsebody.ts): Tool or version not found. Status code `404`. Applicable to 1 of
|
|
959
|
-
* [`PostV2FeedbackRemoveResponseBody`](./src/models/errors/postv2feedbackremoveresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of
|
|
960
|
-
* [`PostV2FeedbackFeedbackResponseBody`](./src/models/errors/postv2feedbackfeedbackresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of
|
|
961
|
-
* [`CreateAgentScheduleSchedulesResponseBody`](./src/models/errors/createagentscheduleschedulesresponsebody.ts): Agent (or agent version, when agent_tag is set) not found. Status code `404`. Applicable to 1 of
|
|
962
|
-
* [`DeleteAgentScheduleResponseBody`](./src/models/errors/deleteagentscheduleresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of
|
|
963
|
-
* [`RetrieveAgentScheduleResponseBody`](./src/models/errors/retrieveagentscheduleresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of
|
|
964
|
-
* [`UpdateAgentScheduleSchedulesResponseBody`](./src/models/errors/updateagentscheduleschedulesresponsebody.ts): Schedule or agent version not found. Status code `404`. Applicable to 1 of
|
|
965
|
-
* [`TriggerAgentScheduleSchedulesResponseBody`](./src/models/errors/triggeragentscheduleschedulesresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of
|
|
966
|
-
* [`CreateModerationResponseBody`](./src/models/errors/createmoderationresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of
|
|
967
|
-
* [`CreateTranscriptionResponseBody`](./src/models/errors/createtranscriptionresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of
|
|
968
|
-
* [`CreateTranslationResponseBody`](./src/models/errors/createtranslationresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of
|
|
969
|
-
* [`InvokeEvalEvalsResponseResponseBody`](./src/models/errors/invokeevalevalsresponseresponsebody.ts): Error running the evaluator. Status code `500`. Applicable to 1 of
|
|
936
|
+
* [`HonoApiError`](./src/models/errors/honoapierror.ts): Applicable to 10 of 179 methods.*
|
|
937
|
+
* [`InvokeEvalResponseBody`](./src/models/errors/invokeevalresponsebody.ts): Bad request. Status code `400`. Applicable to 1 of 179 methods.*
|
|
938
|
+
* [`PostV2AgentsKeyCardRefreshResponseBody`](./src/models/errors/postv2agentskeycardrefreshresponsebody.ts): Invalid request - Agent is not an A2A agent or card fetch failed. Status code `400`. Applicable to 1 of 179 methods.*
|
|
939
|
+
* [`PostV2FeedbackResponseBody`](./src/models/errors/postv2feedbackresponsebody.ts): Bad Request. Status code `400`. Applicable to 1 of 179 methods.*
|
|
940
|
+
* [`CreateAgentScheduleResponseBody`](./src/models/errors/createagentscheduleresponsebody.ts): Invalid schedule type, expression, or sub-hour cadence. Status code `400`. Applicable to 1 of 179 methods.*
|
|
941
|
+
* [`UpdateAgentScheduleResponseBody`](./src/models/errors/updateagentscheduleresponsebody.ts): Invalid type, expression, or sub-hour cadence. Status code `400`. Applicable to 1 of 179 methods.*
|
|
942
|
+
* [`TriggerAgentScheduleResponseBody`](./src/models/errors/triggeragentscheduleresponsebody.ts): Schedule is inactive. Status code `400`. Applicable to 1 of 179 methods.*
|
|
943
|
+
* [`GetEvalsResponseBody`](./src/models/errors/getevalsresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 179 methods.*
|
|
944
|
+
* [`CreateEvalResponseBody`](./src/models/errors/createevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 179 methods.*
|
|
945
|
+
* [`UpdateEvalResponseBody`](./src/models/errors/updateevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 179 methods.*
|
|
946
|
+
* [`DeleteEvalResponseBody`](./src/models/errors/deleteevalresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 179 methods.*
|
|
947
|
+
* [`InvokeEvalEvalsResponseBody`](./src/models/errors/invokeevalevalsresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 179 methods.*
|
|
948
|
+
* [`GetV2EvaluatorsIdVersionsResponseBody`](./src/models/errors/getv2evaluatorsidversionsresponsebody.ts): Evaluator not found. Status code `404`. Applicable to 1 of 179 methods.*
|
|
949
|
+
* [`DeleteAgentResponseBody`](./src/models/errors/deleteagentresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or has already been deleted. Status code `404`. Applicable to 1 of 179 methods.*
|
|
950
|
+
* [`RetrieveAgentRequestResponseBody`](./src/models/errors/retrieveagentrequestresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or you do not have permission to access it. Status code `404`. Applicable to 1 of 179 methods.*
|
|
951
|
+
* [`UpdateAgentResponseBody`](./src/models/errors/updateagentresponsebody.ts): Agent not found. The specified agent key does not exist in the workspace or you do not have permission to modify it. Status code `404`. Applicable to 1 of 179 methods.*
|
|
952
|
+
* [`StreamRunAgentResponseBody`](./src/models/errors/streamrunagentresponsebody.ts): Model not found. Status code `404`. Applicable to 1 of 179 methods.*
|
|
953
|
+
* [`StreamAgentResponseBody`](./src/models/errors/streamagentresponsebody.ts): Agent not found. Status code `404`. Applicable to 1 of 179 methods.*
|
|
954
|
+
* [`PostV2AgentsKeyCardRefreshAgentsResponseBody`](./src/models/errors/postv2agentskeycardrefreshagentsresponsebody.ts): Agent not found. Status code `404`. Applicable to 1 of 179 methods.*
|
|
955
|
+
* [`UpdatePromptResponseBody`](./src/models/errors/updatepromptresponsebody.ts): Prompt not found. Status code `404`. Applicable to 1 of 179 methods.*
|
|
956
|
+
* [`DeletePromptResponseBody`](./src/models/errors/deletepromptresponsebody.ts): Prompt not found. Status code `404`. Applicable to 1 of 179 methods.*
|
|
957
|
+
* [`GetPromptVersionResponseBody`](./src/models/errors/getpromptversionresponsebody.ts): Not Found - The prompt or prompt version does not exist. Status code `404`. Applicable to 1 of 179 methods.*
|
|
958
|
+
* [`UpdateToolResponseBody`](./src/models/errors/updatetoolresponsebody.ts): Tool not found. Status code `404`. Applicable to 1 of 179 methods.*
|
|
959
|
+
* [`GetV2ToolsToolIdVersionsResponseBody`](./src/models/errors/getv2toolstoolidversionsresponsebody.ts): Tool not found. Status code `404`. Applicable to 1 of 179 methods.*
|
|
960
|
+
* [`GetV2ToolsToolIdVersionsVersionIdResponseBody`](./src/models/errors/getv2toolstoolidversionsversionidresponsebody.ts): Tool or version not found. Status code `404`. Applicable to 1 of 179 methods.*
|
|
961
|
+
* [`PostV2FeedbackRemoveResponseBody`](./src/models/errors/postv2feedbackremoveresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 179 methods.*
|
|
962
|
+
* [`PostV2FeedbackFeedbackResponseBody`](./src/models/errors/postv2feedbackfeedbackresponsebody.ts): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 179 methods.*
|
|
963
|
+
* [`CreateAgentScheduleSchedulesResponseBody`](./src/models/errors/createagentscheduleschedulesresponsebody.ts): Agent (or agent version, when agent_tag is set) not found. Status code `404`. Applicable to 1 of 179 methods.*
|
|
964
|
+
* [`DeleteAgentScheduleResponseBody`](./src/models/errors/deleteagentscheduleresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of 179 methods.*
|
|
965
|
+
* [`RetrieveAgentScheduleResponseBody`](./src/models/errors/retrieveagentscheduleresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of 179 methods.*
|
|
966
|
+
* [`UpdateAgentScheduleSchedulesResponseBody`](./src/models/errors/updateagentscheduleschedulesresponsebody.ts): Schedule or agent version not found. Status code `404`. Applicable to 1 of 179 methods.*
|
|
967
|
+
* [`TriggerAgentScheduleSchedulesResponseBody`](./src/models/errors/triggeragentscheduleschedulesresponsebody.ts): Schedule not found, or belongs to a different agent. Status code `404`. Applicable to 1 of 179 methods.*
|
|
968
|
+
* [`CreateModerationResponseBody`](./src/models/errors/createmoderationresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of 179 methods.*
|
|
969
|
+
* [`CreateTranscriptionResponseBody`](./src/models/errors/createtranscriptionresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of 179 methods.*
|
|
970
|
+
* [`CreateTranslationResponseBody`](./src/models/errors/createtranslationresponsebody.ts): Returns validation error. Status code `422`. Applicable to 1 of 179 methods.*
|
|
971
|
+
* [`InvokeEvalEvalsResponseResponseBody`](./src/models/errors/invokeevalevalsresponseresponsebody.ts): Error running the evaluator. Status code `500`. Applicable to 1 of 179 methods.*
|
|
970
972
|
* [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
|
|
971
973
|
|
|
972
974
|
</details>
|
|
@@ -64,9 +64,12 @@ async function $do(client, request, options) {
|
|
|
64
64
|
const body = null;
|
|
65
65
|
const path = (0, url_js_1.pathToFunc)("/v2/routing-rules")();
|
|
66
66
|
const query = (0, encodings_js_1.encodeFormQuery)({
|
|
67
|
+
"enabled": payload?.enabled,
|
|
67
68
|
"ending_before": payload?.ending_before,
|
|
68
69
|
"limit": payload?.limit,
|
|
70
|
+
"model": payload?.model,
|
|
69
71
|
"project_id": payload?.project_id,
|
|
72
|
+
"search": payload?.search,
|
|
70
73
|
"starting_after": payload?.starting_after,
|
|
71
74
|
}, { explode: false });
|
|
72
75
|
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routingRulesList.js","sourceRoot":"","sources":["../src/funcs/routingRulesList.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BH,4CAsBC;AAlDD,sDAAsD;AACtD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAW3C,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,gBAAgB,CAC9B,MAAe,EACf,OAAuD,EACvD,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,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M,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,iBAAiB,EAAE,CAAC,UAAkB,EAAE,EAAE,CACxC,IAAA,yBAAe,EAAC,EAAE,MAAM,EAAE,UAAU,EAAc,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACrE,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,yCAAyC,CAAC,EACjE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OrqCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
+
import { OrqError } from "../models/errors/orqerror.js";
|
|
5
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
6
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { APIPromise } from "../types/async.js";
|
|
9
|
+
import { Result } from "../types/fp.js";
|
|
10
|
+
/**
|
|
11
|
+
* List used models
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* Returns the distinct model refs referenced across all routing rules in scope.
|
|
15
|
+
*/
|
|
16
|
+
export declare function routingRulesListUsedModels(client: OrqCore, options?: RequestOptions): APIPromise<Result<operations.RoutingRuleListUsedModelsResponseBody, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
+
//# sourceMappingURL=routingRulesListUsedModels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routingRulesListUsedModels.d.ts","sourceRoot":"","sources":["../src/funcs/routingRulesListUsedModels.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAIrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,OAAO,EACf,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,qCAAqC,EAC9C,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.routingRulesListUsedModels = routingRulesListUsedModels;
|
|
40
|
+
const http_js_1 = require("../lib/http.js");
|
|
41
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
42
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
43
|
+
const security_js_1 = require("../lib/security.js");
|
|
44
|
+
const url_js_1 = require("../lib/url.js");
|
|
45
|
+
const operations = __importStar(require("../models/operations/index.js"));
|
|
46
|
+
const async_js_1 = require("../types/async.js");
|
|
47
|
+
/**
|
|
48
|
+
* List used models
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Returns the distinct model refs referenced across all routing rules in scope.
|
|
52
|
+
*/
|
|
53
|
+
function routingRulesListUsedModels(client, options) {
|
|
54
|
+
return new async_js_1.APIPromise($do(client, options));
|
|
55
|
+
}
|
|
56
|
+
async function $do(client, options) {
|
|
57
|
+
const path = (0, url_js_1.pathToFunc)("/v2/routing-rules/used-models")();
|
|
58
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
59
|
+
Accept: "application/json",
|
|
60
|
+
}));
|
|
61
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
|
|
62
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
63
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
64
|
+
const context = {
|
|
65
|
+
options: client._options,
|
|
66
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
67
|
+
operationID: "RoutingRuleListUsedModels",
|
|
68
|
+
oAuth2Scopes: null,
|
|
69
|
+
resolvedSecurity: requestSecurity,
|
|
70
|
+
securitySource: client._options.apiKey,
|
|
71
|
+
retryConfig: options?.retries
|
|
72
|
+
|| client._options.retryConfig
|
|
73
|
+
|| { strategy: "none" },
|
|
74
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
75
|
+
};
|
|
76
|
+
const requestRes = client._createRequest(context, {
|
|
77
|
+
security: requestSecurity,
|
|
78
|
+
method: "GET",
|
|
79
|
+
baseURL: options?.serverURL,
|
|
80
|
+
path: path,
|
|
81
|
+
headers: headers,
|
|
82
|
+
userAgent: client._options.userAgent,
|
|
83
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
84
|
+
}, options);
|
|
85
|
+
if (!requestRes.ok) {
|
|
86
|
+
return [requestRes, { status: "invalid" }];
|
|
87
|
+
}
|
|
88
|
+
const req = requestRes.value;
|
|
89
|
+
const doResult = await client._do(req, {
|
|
90
|
+
context,
|
|
91
|
+
isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
|
|
92
|
+
retryConfig: context.retryConfig,
|
|
93
|
+
retryCodes: context.retryCodes,
|
|
94
|
+
});
|
|
95
|
+
if (!doResult.ok) {
|
|
96
|
+
return [doResult, { status: "request-error", request: req }];
|
|
97
|
+
}
|
|
98
|
+
const response = doResult.value;
|
|
99
|
+
const [result] = await M.match(M.json(200, operations.RoutingRuleListUsedModelsResponseBody$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
100
|
+
if (!result.ok) {
|
|
101
|
+
return [result, { status: "complete", request: req, response }];
|
|
102
|
+
}
|
|
103
|
+
return [result, { status: "complete", request: req, response }];
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=routingRulesListUsedModels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routingRulesListUsedModels.js","sourceRoot":"","sources":["../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AAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,mDAAmD,CAAC,EAC3E,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "2.0";
|
|
34
|
-
readonly sdkVersion: "4.10.
|
|
34
|
+
readonly sdkVersion: "4.10.16";
|
|
35
35
|
readonly genVersion: "2.900.1";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.10.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.10.16 2.900.1 2.0 @orq-ai/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "2.0",
|
|
31
|
-
sdkVersion: "4.10.
|
|
31
|
+
sdkVersion: "4.10.16",
|
|
32
32
|
genVersion: "2.900.1",
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.10.
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.10.16 2.900.1 2.0 @orq-ai/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -43,7 +43,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.ReasoningPart$inboundSchema = z.object({
|
|
46
|
-
_id: z.string().default("
|
|
46
|
+
_id: z.string().default("reasoning_01ktv2hx7rh8k5k6537x3hd098"),
|
|
47
47
|
metadata: z.record(z.any()).optional(),
|
|
48
48
|
kind: z.literal("reasoning"),
|
|
49
49
|
reasoning: z.string(),
|
|
@@ -79,7 +79,7 @@ exports.CreateDatasetResponseBody$inboundSchema = z.object({
|
|
|
79
79
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
80
80
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
81
81
|
.optional(),
|
|
82
|
-
updated: z.string().datetime({ offset: true }).default("2026-06-
|
|
82
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-11T10:09:31.179Z").transform(v => new Date(v)),
|
|
83
83
|
}).transform((v) => {
|
|
84
84
|
return (0, primitives_js_1.remap)(v, {
|
|
85
85
|
"_id": "id",
|
|
@@ -740,7 +740,7 @@ exports.Evaluations3$inboundSchema = z.object({
|
|
|
740
740
|
human_review_id: z.string(),
|
|
741
741
|
source: exports.CreateDatasetItemEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
742
742
|
reviewed_by_id: z.string(),
|
|
743
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
743
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-11T10:09:58.629Z").transform(v => new Date(v)),
|
|
744
744
|
type: z.literal("string_array"),
|
|
745
745
|
values: z.array(z.string()),
|
|
746
746
|
}).transform((v) => {
|
|
@@ -765,7 +765,7 @@ exports.Evaluations2$inboundSchema = z.object({
|
|
|
765
765
|
human_review_id: z.string(),
|
|
766
766
|
source: exports.CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
767
767
|
reviewed_by_id: z.string(),
|
|
768
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
768
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-11T10:09:58.628Z").transform(v => new Date(v)),
|
|
769
769
|
type: z.literal("number"),
|
|
770
770
|
value: z.number(),
|
|
771
771
|
}).transform((v) => {
|
|
@@ -791,7 +791,7 @@ exports.Evaluations1$inboundSchema = z.object({
|
|
|
791
791
|
human_review_id: z.string(),
|
|
792
792
|
source: exports.EvaluationsSource$inboundSchema.default("orq"),
|
|
793
793
|
reviewed_by_id: z.string(),
|
|
794
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-
|
|
794
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2026-06-11T10:09:58.628Z").transform(v => new Date(v)),
|
|
795
795
|
type: z.literal("string"),
|
|
796
796
|
value: z.string(),
|
|
797
797
|
}).transform((v) => {
|
|
@@ -838,7 +838,7 @@ exports.CreateDatasetItemResponseBody$inboundSchema = z.object({
|
|
|
838
838
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
839
839
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
840
840
|
.optional(),
|
|
841
|
-
updated: z.string().datetime({ offset: true }).default("2026-06-
|
|
841
|
+
updated: z.string().datetime({ offset: true }).default("2026-06-11T10:09:31.179Z").transform(v => new Date(v)),
|
|
842
842
|
}).transform((v) => {
|
|
843
843
|
return (0, primitives_js_1.remap)(v, {
|
|
844
844
|
"_id": "id",
|
|
@@ -159,7 +159,7 @@ function createDatasourceRequestToJSON(createDatasourceRequest) {
|
|
|
159
159
|
exports.CreateDatasourceStatus$inboundSchema = z.nativeEnum(exports.CreateDatasourceStatus);
|
|
160
160
|
/** @internal */
|
|
161
161
|
exports.CreateDatasourceResponseBody$inboundSchema = z.object({
|
|
162
|
-
_id: z.string().default("
|
|
162
|
+
_id: z.string().default("01KTV2HXRTTN40FP1QGE84QQ8C"),
|
|
163
163
|
display_name: z.string(),
|
|
164
164
|
description: z.nullable(z.string()).optional(),
|
|
165
165
|
status: exports.CreateDatasourceStatus$inboundSchema,
|
|
@@ -756,8 +756,8 @@ exports.CreateEvalResponseBodyEvalsResponse200ApplicationJSONType$inboundSchema
|
|
|
756
756
|
exports.Typescript$inboundSchema = z.object({
|
|
757
757
|
_id: z.string(),
|
|
758
758
|
description: z.string(),
|
|
759
|
-
created: z.string().default("2026-06-
|
|
760
|
-
updated: z.string().default("2026-06-
|
|
759
|
+
created: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
760
|
+
updated: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
761
761
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
762
762
|
guardrail_config: z.nullable(z.union([
|
|
763
763
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema),
|
|
@@ -845,8 +845,8 @@ exports.Ragas$inboundSchema = z
|
|
|
845
845
|
.object({
|
|
846
846
|
_id: z.string(),
|
|
847
847
|
description: z.string(),
|
|
848
|
-
created: z.string().default("2026-06-
|
|
849
|
-
updated: z.string().default("2026-06-
|
|
848
|
+
created: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
849
|
+
updated: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
850
850
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
851
851
|
guardrail_config: z.nullable(z.union([
|
|
852
852
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
@@ -1216,8 +1216,8 @@ function functionParamsFromJSON(jsonString) {
|
|
|
1216
1216
|
exports.CreateEvalResponseBodyFunction$inboundSchema = z.object({
|
|
1217
1217
|
_id: z.string(),
|
|
1218
1218
|
description: z.string(),
|
|
1219
|
-
created: z.string().default("2026-06-
|
|
1220
|
-
updated: z.string().default("2026-06-
|
|
1219
|
+
created: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1220
|
+
updated: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1221
1221
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1222
1222
|
guardrail_config: z.nullable(z.union([
|
|
1223
1223
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
@@ -1332,8 +1332,8 @@ exports.CreateEvalResponseBodyEvalsType$inboundSchema = z.nativeEnum(exports.Cre
|
|
|
1332
1332
|
exports.ResponseBodyPython$inboundSchema = z.object({
|
|
1333
1333
|
_id: z.string(),
|
|
1334
1334
|
description: z.string(),
|
|
1335
|
-
created: z.string().default("2026-06-
|
|
1336
|
-
updated: z.string().default("2026-06-
|
|
1335
|
+
created: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1336
|
+
updated: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1337
1337
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1338
1338
|
guardrail_config: z.nullable(z.union([
|
|
1339
1339
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
@@ -1416,8 +1416,8 @@ exports.CreateEvalResponseBodyMethod$inboundSchema = z.nativeEnum(exports.Create
|
|
|
1416
1416
|
exports.CreateEvalResponseBodyHTTP$inboundSchema = z.object({
|
|
1417
1417
|
_id: z.string(),
|
|
1418
1418
|
description: z.string(),
|
|
1419
|
-
created: z.string().default("2026-06-
|
|
1420
|
-
updated: z.string().default("2026-06-
|
|
1419
|
+
created: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1420
|
+
updated: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1421
1421
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1422
1422
|
guardrail_config: z.nullable(z.union([
|
|
1423
1423
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -1501,8 +1501,8 @@ exports.Json$inboundSchema = z
|
|
|
1501
1501
|
.object({
|
|
1502
1502
|
_id: z.string(),
|
|
1503
1503
|
description: z.string(),
|
|
1504
|
-
created: z.string().default("2026-06-
|
|
1505
|
-
updated: z.string().default("2026-06-
|
|
1504
|
+
created: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1505
|
+
updated: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1506
1506
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1507
1507
|
guardrail_config: z.nullable(z.union([
|
|
1508
1508
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -1668,8 +1668,8 @@ function createEvalLLMJuryFromJSON(jsonString) {
|
|
|
1668
1668
|
exports.CreateEvalLlm2$inboundSchema = z.object({
|
|
1669
1669
|
_id: z.string(),
|
|
1670
1670
|
description: z.string(),
|
|
1671
|
-
created: z.string().default("2026-06-
|
|
1672
|
-
updated: z.string().default("2026-06-
|
|
1671
|
+
created: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1672
|
+
updated: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1673
1673
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1674
1674
|
guardrail_config: z.nullable(z.union([
|
|
1675
1675
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema),
|
|
@@ -1768,8 +1768,8 @@ function createEvalLLMEvalsResponseCategoricalLabelsFromJSON(jsonString) {
|
|
|
1768
1768
|
exports.CreateEvalLlm1$inboundSchema = z.object({
|
|
1769
1769
|
_id: z.string(),
|
|
1770
1770
|
description: z.string(),
|
|
1771
|
-
created: z.string().default("2026-06-
|
|
1772
|
-
updated: z.string().default("2026-06-
|
|
1771
|
+
created: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1772
|
+
updated: z.string().default("2026-06-11T10:09:33.308Z"),
|
|
1773
1773
|
updated_by_id: z.nullable(z.string()).optional(),
|
|
1774
1774
|
guardrail_config: z.nullable(z.union([
|
|
1775
1775
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema),
|
|
@@ -562,7 +562,7 @@ function responseBodyCodeToolFromJSON(jsonString) {
|
|
|
562
562
|
}
|
|
563
563
|
/** @internal */
|
|
564
564
|
exports.ResponseBodyCodeExecutionTool$inboundSchema = z.object({
|
|
565
|
-
_id: z.string().default("
|
|
565
|
+
_id: z.string().default("tool_01KTV2HXKGN4HEKQH413T5JZR6"),
|
|
566
566
|
path: z.string(),
|
|
567
567
|
key: z.string(),
|
|
568
568
|
display_name: z.string().optional(),
|
|
@@ -614,7 +614,7 @@ function createToolResponseBodySchemaFromJSON(jsonString) {
|
|
|
614
614
|
}
|
|
615
615
|
/** @internal */
|
|
616
616
|
exports.ResponseBodyTools$inboundSchema = z.object({
|
|
617
|
-
id: z.string().default("
|
|
617
|
+
id: z.string().default("01KTV2HXKFXRV9CZRZRYAMW2M8"),
|
|
618
618
|
name: z.string(),
|
|
619
619
|
description: z.string().optional(),
|
|
620
620
|
schema: z.lazy(() => exports.CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -643,7 +643,7 @@ function responseBodyMcpFromJSON(jsonString) {
|
|
|
643
643
|
}
|
|
644
644
|
/** @internal */
|
|
645
645
|
exports.ResponseBodyMCPTool$inboundSchema = z.object({
|
|
646
|
-
_id: z.string().default("
|
|
646
|
+
_id: z.string().default("tool_01KTV2HXKDMMHHFZ7540RT36K0"),
|
|
647
647
|
path: z.string(),
|
|
648
648
|
key: z.string(),
|
|
649
649
|
display_name: z.string().optional(),
|
|
@@ -730,7 +730,7 @@ function createToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
730
730
|
}
|
|
731
731
|
/** @internal */
|
|
732
732
|
exports.ResponseBodyHTTPTool$inboundSchema = z.object({
|
|
733
|
-
_id: z.string().default("
|
|
733
|
+
_id: z.string().default("tool_01KTV2HXKA75P5N09EM2QCZ0K4"),
|
|
734
734
|
path: z.string(),
|
|
735
735
|
key: z.string(),
|
|
736
736
|
display_name: z.string().optional(),
|
|
@@ -780,7 +780,7 @@ function responseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
780
780
|
}
|
|
781
781
|
/** @internal */
|
|
782
782
|
exports.ResponseBodyJSONSchemaTool$inboundSchema = z.object({
|
|
783
|
-
_id: z.string().default("
|
|
783
|
+
_id: z.string().default("tool_01KTV2HXK7J0HJHGWK6E5D5PVF"),
|
|
784
784
|
path: z.string(),
|
|
785
785
|
key: z.string(),
|
|
786
786
|
display_name: z.string().optional(),
|
|
@@ -833,7 +833,7 @@ function createToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
833
833
|
}
|
|
834
834
|
/** @internal */
|
|
835
835
|
exports.ResponseBodyFunctionTool$inboundSchema = z.object({
|
|
836
|
-
_id: z.string().default("
|
|
836
|
+
_id: z.string().default("tool_01KTV2HXK54ESGPEMBYXPNYTC7"),
|
|
837
837
|
path: z.string(),
|
|
838
838
|
key: z.string(),
|
|
839
839
|
display_name: z.string().optional(),
|
|
@@ -196,7 +196,7 @@ function dataCodeToolFromJSON(jsonString) {
|
|
|
196
196
|
}
|
|
197
197
|
/** @internal */
|
|
198
198
|
exports.DataCodeExecutionTool$inboundSchema = z.object({
|
|
199
|
-
_id: z.string().default("
|
|
199
|
+
_id: z.string().default("tool_01KTV2HXJM4YBYA3JN8Q0V1118"),
|
|
200
200
|
path: z.string(),
|
|
201
201
|
key: z.string(),
|
|
202
202
|
display_name: z.string().optional(),
|
|
@@ -247,7 +247,7 @@ function getAllToolsDataSchemaFromJSON(jsonString) {
|
|
|
247
247
|
}
|
|
248
248
|
/** @internal */
|
|
249
249
|
exports.DataTools$inboundSchema = z.object({
|
|
250
|
-
id: z.string().default("
|
|
250
|
+
id: z.string().default("01KTV2HXJJNSXK2M09NM871HQT"),
|
|
251
251
|
name: z.string(),
|
|
252
252
|
description: z.string().optional(),
|
|
253
253
|
schema: z.lazy(() => exports.GetAllToolsDataSchema$inboundSchema),
|
|
@@ -276,7 +276,7 @@ function dataMcpFromJSON(jsonString) {
|
|
|
276
276
|
}
|
|
277
277
|
/** @internal */
|
|
278
278
|
exports.DataMCPTool$inboundSchema = z.object({
|
|
279
|
-
_id: z.string().default("
|
|
279
|
+
_id: z.string().default("tool_01KTV2HXJHRPCTMMQ2RYSF782A"),
|
|
280
280
|
path: z.string(),
|
|
281
281
|
key: z.string(),
|
|
282
282
|
display_name: z.string().optional(),
|
|
@@ -362,7 +362,7 @@ function getAllToolsDataHttpFromJSON(jsonString) {
|
|
|
362
362
|
}
|
|
363
363
|
/** @internal */
|
|
364
364
|
exports.DataHTTPTool$inboundSchema = z.object({
|
|
365
|
-
_id: z.string().default("
|
|
365
|
+
_id: z.string().default("tool_01KTV2HXJE954ZD1H4DPE5QT9T"),
|
|
366
366
|
path: z.string(),
|
|
367
367
|
key: z.string(),
|
|
368
368
|
display_name: z.string().optional(),
|
|
@@ -412,7 +412,7 @@ function dataJsonSchemaFromJSON(jsonString) {
|
|
|
412
412
|
}
|
|
413
413
|
/** @internal */
|
|
414
414
|
exports.DataJSONSchemaTool$inboundSchema = z.object({
|
|
415
|
-
_id: z.string().default("
|
|
415
|
+
_id: z.string().default("tool_01KTV2HXJC2H7NDQTV5AFBBQQN"),
|
|
416
416
|
path: z.string(),
|
|
417
417
|
key: z.string(),
|
|
418
418
|
display_name: z.string().optional(),
|
|
@@ -466,7 +466,7 @@ function getAllToolsDataFunctionFromJSON(jsonString) {
|
|
|
466
466
|
}
|
|
467
467
|
/** @internal */
|
|
468
468
|
exports.DataFunctionTool$inboundSchema = z.object({
|
|
469
|
-
_id: z.string().default("
|
|
469
|
+
_id: z.string().default("tool_01KTV2HXJAZVM4CNXTMHG5NGWE"),
|
|
470
470
|
path: z.string(),
|
|
471
471
|
key: z.string(),
|
|
472
472
|
display_name: z.string().optional(),
|