scorecard-ai 0.2.1 → 0.3.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/Client.d.ts +9 -0
- package/Client.js +15 -0
- package/api/errors/ForbiddenError.d.ts +2 -2
- package/api/errors/ForbiddenError.js +1 -1
- package/api/errors/NotFoundError.d.ts +2 -2
- package/api/errors/NotFoundError.js +1 -1
- package/api/errors/UnauthorizedError.d.ts +2 -2
- package/api/errors/UnauthorizedError.js +1 -1
- package/api/errors/UnprocessableEntityError.d.ts +2 -2
- package/api/errors/UnprocessableEntityError.js +1 -1
- package/api/resources/index.d.ts +5 -0
- package/api/resources/index.js +6 -1
- package/api/resources/prompt/client/Client.d.ts +151 -0
- package/api/resources/prompt/client/Client.js +699 -0
- package/api/resources/prompt/client/index.d.ts +1 -0
- package/api/resources/prompt/client/index.js +17 -0
- package/api/resources/prompt/client/requests/PromptCreateParams.d.ts +40 -0
- package/api/resources/prompt/client/requests/PromptUpdateParams.d.ts +13 -0
- package/api/resources/prompt/client/requests/index.d.ts +2 -0
- package/api/resources/prompt/client/requests/index.js +2 -0
- package/api/resources/prompt/index.d.ts +2 -0
- package/api/resources/prompt/index.js +18 -0
- package/api/resources/prompt/types/PromptCreateParamsModelParamsValue.d.ts +4 -0
- package/api/resources/prompt/types/index.d.ts +1 -0
- package/api/resources/prompt/types/index.js +17 -0
- package/api/resources/run/client/Client.d.ts +19 -3
- package/api/resources/run/client/Client.js +30 -25
- package/api/resources/run/client/requests/RunCreateParams.d.ts +3 -2
- package/api/resources/run/client/requests/UpdateStatusParams.d.ts +1 -1
- package/api/resources/run/client/requests/index.d.ts +2 -2
- package/api/resources/runMetric/client/Client.d.ts +38 -0
- package/api/resources/runMetric/client/Client.js +150 -0
- package/api/resources/runMetric/client/index.d.ts +1 -0
- package/api/resources/runMetric/client/index.js +2 -0
- package/api/resources/runMetric/index.d.ts +1 -0
- package/api/resources/runMetric/index.js +17 -0
- package/api/resources/score/client/Client.d.ts +18 -2
- package/api/resources/score/client/Client.js +28 -18
- package/api/resources/score/client/requests/index.d.ts +2 -2
- package/api/resources/testcase/client/Client.d.ts +19 -1
- package/api/resources/testcase/client/Client.js +31 -24
- package/api/resources/testcase/client/requests/TestcaseCreateParams.d.ts +1 -1
- package/api/resources/testcase/client/requests/index.d.ts +1 -1
- package/api/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.d.ts +1 -1
- package/api/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.d.ts +1 -1
- package/api/resources/testrecord/client/Client.d.ts +15 -2
- package/api/resources/testrecord/client/Client.js +25 -18
- package/api/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +1 -1
- package/api/resources/testrecord/client/requests/index.d.ts +1 -1
- package/api/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.d.ts +1 -1
- package/api/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.d.ts +1 -1
- package/api/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.d.ts +1 -1
- package/api/resources/testset/client/Client.d.ts +26 -2
- package/api/resources/testset/client/Client.js +41 -38
- package/api/resources/testset/client/requests/TestsetCreateParams.d.ts +1 -1
- package/api/resources/testset/client/requests/index.d.ts +2 -2
- package/api/resources/traces/client/Client.d.ts +38 -0
- package/api/resources/traces/client/Client.js +150 -0
- package/api/resources/traces/client/index.d.ts +1 -0
- package/api/resources/traces/client/index.js +2 -0
- package/api/resources/traces/index.d.ts +1 -0
- package/api/resources/traces/index.js +17 -0
- package/api/types/CustomSchema.d.ts +1 -1
- package/api/types/CustomVariable.d.ts +1 -1
- package/api/types/Grade.d.ts +4 -2
- package/api/types/HttpValidationError.d.ts +1 -1
- package/api/types/JsonObject.d.ts +1 -1
- package/api/types/JsonObjectInputValue.d.ts +1 -1
- package/api/types/JsonObjectOutputValue.d.ts +1 -1
- package/api/types/PaginatedTestcaseResponse.d.ts +1 -1
- package/api/types/Prompt.d.ts +18 -0
- package/api/types/{AppCreateRunParams.d.ts → PromptModelParamsValue.d.ts} +1 -1
- package/api/types/RunMetric.d.ts +9 -0
- package/api/types/Span.d.ts +29 -0
- package/api/types/TestCase.d.ts +1 -1
- package/api/types/TestCaseCustomInputsValue.d.ts +1 -1
- package/api/types/TestCaseCustomLabelsValue.d.ts +1 -1
- package/api/types/Testrecord.d.ts +1 -1
- package/api/types/TestrecordCustomInputsValue.d.ts +1 -1
- package/api/types/TestrecordCustomLabelsValue.d.ts +1 -1
- package/api/types/TestrecordCustomOutputsValue.d.ts +1 -1
- package/api/types/Testset.d.ts +1 -1
- package/api/types/Trace.d.ts +8 -0
- package/api/types/ValidationError.d.ts +1 -1
- package/api/types/index.d.ts +5 -8
- package/api/types/index.js +5 -8
- package/core/fetcher/Fetcher.d.ts +2 -2
- package/core/fetcher/Fetcher.js +78 -23
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/core/runtime/index.d.ts +1 -0
- package/core/runtime/index.js +5 -0
- package/core/runtime/runtime.d.ts +8 -0
- package/core/runtime/runtime.js +82 -0
- package/core/schemas/builders/object/object.js +11 -15
- package/dist/Client.d.ts +9 -0
- package/dist/Client.js +15 -0
- package/dist/api/errors/ForbiddenError.d.ts +2 -2
- package/dist/api/errors/ForbiddenError.js +1 -1
- package/dist/api/errors/NotFoundError.d.ts +2 -2
- package/dist/api/errors/NotFoundError.js +1 -1
- package/dist/api/errors/UnauthorizedError.d.ts +2 -2
- package/dist/api/errors/UnauthorizedError.js +1 -1
- package/dist/api/errors/UnprocessableEntityError.d.ts +2 -2
- package/dist/api/errors/UnprocessableEntityError.js +1 -1
- package/dist/api/resources/index.d.ts +5 -0
- package/dist/api/resources/index.js +6 -1
- package/dist/api/resources/prompt/client/Client.d.ts +151 -0
- package/dist/api/resources/prompt/client/Client.js +699 -0
- package/dist/api/resources/prompt/client/index.d.ts +1 -0
- package/dist/api/resources/prompt/client/index.js +17 -0
- package/dist/api/resources/prompt/client/requests/PromptCreateParams.d.ts +40 -0
- package/dist/api/resources/prompt/client/requests/PromptUpdateParams.d.ts +13 -0
- package/dist/api/resources/prompt/client/requests/index.d.ts +2 -0
- package/dist/api/resources/prompt/client/requests/index.js +2 -0
- package/dist/api/resources/prompt/index.d.ts +2 -0
- package/dist/api/resources/prompt/index.js +18 -0
- package/dist/api/resources/prompt/types/PromptCreateParamsModelParamsValue.d.ts +4 -0
- package/dist/api/resources/prompt/types/index.d.ts +1 -0
- package/dist/api/resources/prompt/types/index.js +17 -0
- package/dist/api/resources/run/client/Client.d.ts +19 -3
- package/dist/api/resources/run/client/Client.js +30 -25
- package/dist/api/resources/run/client/requests/RunCreateParams.d.ts +3 -2
- package/dist/api/resources/run/client/requests/UpdateStatusParams.d.ts +1 -1
- package/dist/api/resources/run/client/requests/index.d.ts +2 -2
- package/dist/api/resources/runMetric/client/Client.d.ts +38 -0
- package/dist/api/resources/runMetric/client/Client.js +150 -0
- package/dist/api/resources/runMetric/client/index.d.ts +1 -0
- package/dist/api/resources/runMetric/client/index.js +2 -0
- package/dist/api/resources/runMetric/index.d.ts +1 -0
- package/dist/api/resources/runMetric/index.js +17 -0
- package/dist/api/resources/score/client/Client.d.ts +18 -2
- package/dist/api/resources/score/client/Client.js +28 -18
- package/dist/api/resources/score/client/requests/index.d.ts +2 -2
- package/dist/api/resources/testcase/client/Client.d.ts +19 -1
- package/dist/api/resources/testcase/client/Client.js +31 -24
- package/dist/api/resources/testcase/client/requests/TestcaseCreateParams.d.ts +1 -1
- package/dist/api/resources/testcase/client/requests/index.d.ts +1 -1
- package/dist/api/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.d.ts +1 -1
- package/dist/api/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.d.ts +1 -1
- package/dist/api/resources/testrecord/client/Client.d.ts +15 -2
- package/dist/api/resources/testrecord/client/Client.js +25 -18
- package/dist/api/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +1 -1
- package/dist/api/resources/testrecord/client/requests/index.d.ts +1 -1
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.d.ts +1 -1
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.d.ts +1 -1
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.d.ts +1 -1
- package/dist/api/resources/testset/client/Client.d.ts +26 -2
- package/dist/api/resources/testset/client/Client.js +41 -38
- package/dist/api/resources/testset/client/requests/TestsetCreateParams.d.ts +1 -1
- package/dist/api/resources/testset/client/requests/index.d.ts +2 -2
- package/dist/api/resources/traces/client/Client.d.ts +38 -0
- package/dist/api/resources/traces/client/Client.js +150 -0
- package/dist/api/resources/traces/client/index.d.ts +1 -0
- package/dist/api/resources/traces/client/index.js +2 -0
- package/dist/api/resources/traces/index.d.ts +1 -0
- package/dist/api/resources/traces/index.js +17 -0
- package/dist/api/types/CustomSchema.d.ts +1 -1
- package/dist/api/types/CustomVariable.d.ts +1 -1
- package/dist/api/types/Grade.d.ts +4 -2
- package/dist/api/types/HttpValidationError.d.ts +1 -1
- package/dist/api/types/JsonObject.d.ts +1 -1
- package/dist/api/types/JsonObjectInputValue.d.ts +1 -1
- package/dist/api/types/JsonObjectOutputValue.d.ts +1 -1
- package/dist/api/types/PaginatedTestcaseResponse.d.ts +1 -1
- package/dist/api/types/Prompt.d.ts +18 -0
- package/{api/types/AppTestSetCreate.d.ts → dist/api/types/PromptModelParamsValue.d.ts} +1 -1
- package/dist/api/types/RunMetric.d.ts +9 -0
- package/dist/api/types/Span.d.ts +29 -0
- package/dist/api/types/TestCase.d.ts +1 -1
- package/dist/api/types/TestCaseCustomInputsValue.d.ts +1 -1
- package/dist/api/types/TestCaseCustomLabelsValue.d.ts +1 -1
- package/dist/api/types/Testrecord.d.ts +1 -1
- package/dist/api/types/TestrecordCustomInputsValue.d.ts +1 -1
- package/dist/api/types/TestrecordCustomLabelsValue.d.ts +1 -1
- package/dist/api/types/TestrecordCustomOutputsValue.d.ts +1 -1
- package/dist/api/types/Testset.d.ts +1 -1
- package/dist/api/types/Trace.d.ts +8 -0
- package/dist/api/types/ValidationError.d.ts +1 -1
- package/dist/api/types/index.d.ts +5 -8
- package/dist/api/types/index.js +5 -8
- package/dist/core/fetcher/Fetcher.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.js +78 -23
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +5 -0
- package/dist/core/runtime/runtime.d.ts +8 -0
- package/dist/core/runtime/runtime.js +82 -0
- package/dist/core/schemas/builders/object/object.js +11 -15
- package/dist/serialization/resources/index.d.ts +5 -0
- package/dist/serialization/resources/index.js +6 -1
- package/dist/serialization/resources/prompt/client/getGraph.d.ts +11 -0
- package/dist/serialization/{types/AppCreateRunParams.js → resources/prompt/client/getGraph.js} +4 -3
- package/dist/serialization/resources/prompt/client/getProds.d.ts +11 -0
- package/dist/serialization/{types/AppTestRecordCreate.js → resources/prompt/client/getProds.js} +4 -3
- package/dist/serialization/resources/prompt/client/getRoots.d.ts +11 -0
- package/dist/serialization/{types/AppTestSetCreate.js → resources/prompt/client/getRoots.js} +4 -3
- package/dist/serialization/resources/prompt/client/index.d.ts +4 -0
- package/dist/serialization/resources/prompt/client/index.js +33 -0
- package/dist/serialization/resources/prompt/client/requests/PromptCreateParams.d.ts +18 -0
- package/dist/serialization/resources/prompt/client/requests/PromptCreateParams.js +39 -0
- package/dist/serialization/resources/prompt/client/requests/PromptUpdateParams.d.ts +13 -0
- package/dist/serialization/resources/prompt/client/requests/PromptUpdateParams.js +34 -0
- package/dist/serialization/resources/prompt/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/prompt/client/requests/index.js +7 -0
- package/dist/serialization/resources/prompt/index.d.ts +2 -0
- package/dist/serialization/resources/prompt/index.js +18 -0
- package/dist/serialization/resources/prompt/types/PromptCreateParamsModelParamsValue.d.ts +10 -0
- package/dist/serialization/resources/prompt/types/PromptCreateParamsModelParamsValue.js +36 -0
- package/dist/serialization/resources/prompt/types/index.d.ts +1 -0
- package/dist/serialization/resources/prompt/types/index.js +17 -0
- package/dist/serialization/resources/run/client/requests/RunCreateParams.d.ts +3 -2
- package/dist/serialization/resources/run/client/requests/RunCreateParams.js +1 -0
- package/dist/serialization/resources/run/client/requests/UpdateStatusParams.d.ts +4 -3
- package/dist/serialization/resources/run/client/requests/UpdateStatusParams.js +2 -10
- package/dist/serialization/resources/runMetric/client/get.d.ts +11 -0
- package/dist/serialization/resources/runMetric/client/get.js +32 -0
- package/dist/serialization/resources/runMetric/client/index.d.ts +1 -0
- package/dist/serialization/{types/ModelParams.js → resources/runMetric/client/index.js} +2 -6
- package/dist/serialization/resources/runMetric/index.d.ts +1 -0
- package/dist/serialization/resources/runMetric/index.js +17 -0
- package/dist/serialization/resources/score/client/requests/ScoreCreateParams.d.ts +2 -2
- package/dist/serialization/resources/score/client/requests/ScoreUpdateParams.d.ts +2 -2
- package/dist/serialization/resources/testcase/client/requests/TestcaseCreateParams.d.ts +6 -4
- package/dist/serialization/resources/testcase/client/requests/TestcaseCreateParams.js +4 -15
- package/dist/serialization/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.d.ts +4 -3
- package/dist/serialization/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.js +2 -1
- package/dist/serialization/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.d.ts +4 -3
- package/dist/serialization/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.js +2 -1
- package/dist/serialization/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +12 -7
- package/dist/serialization/resources/testrecord/client/requests/TestrecordCreateParams.js +10 -24
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.d.ts +4 -3
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.js +2 -1
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.d.ts +4 -3
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.js +2 -1
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.d.ts +4 -3
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.js +2 -1
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.d.ts +2 -2
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.d.ts +2 -2
- package/dist/serialization/resources/testset/client/requests/TestsetCreateParams.d.ts +4 -3
- package/dist/serialization/resources/testset/client/requests/TestsetCreateParams.js +2 -10
- package/dist/serialization/resources/traces/client/get.d.ts +10 -0
- package/dist/serialization/resources/traces/client/get.js +40 -0
- package/dist/serialization/resources/traces/client/index.d.ts +1 -0
- package/{serialization/types/ModelParams.js → dist/serialization/resources/traces/client/index.js} +2 -6
- package/dist/serialization/resources/traces/index.d.ts +1 -0
- package/dist/serialization/resources/traces/index.js +17 -0
- package/dist/serialization/types/CreateGithubWorkflowParams.d.ts +2 -2
- package/dist/serialization/types/CreateRunParams.d.ts +2 -2
- package/dist/serialization/types/CustomSchema.d.ts +4 -3
- package/dist/serialization/types/CustomSchema.js +2 -12
- package/dist/serialization/types/CustomVariable.d.ts +6 -4
- package/dist/serialization/types/CustomVariable.js +4 -11
- package/dist/serialization/types/DataTypeEnum.d.ts +2 -2
- package/dist/serialization/types/FileUrl.d.ts +2 -2
- package/dist/serialization/types/Grade.d.ts +7 -4
- package/dist/serialization/types/Grade.js +5 -11
- package/dist/serialization/types/HttpValidationError.d.ts +4 -3
- package/dist/serialization/types/HttpValidationError.js +2 -12
- package/dist/serialization/types/JsonObject.d.ts +2 -2
- package/dist/serialization/types/JsonObjectInputValue.d.ts +2 -2
- package/dist/serialization/types/JsonObjectOutputValue.d.ts +2 -2
- package/dist/serialization/types/NotFoundErrorBody.d.ts +2 -2
- package/dist/serialization/types/PaginatedTestcaseResponse.d.ts +4 -3
- package/dist/serialization/types/PaginatedTestcaseResponse.js +2 -10
- package/dist/serialization/types/Prompt.d.ts +24 -0
- package/dist/serialization/types/Prompt.js +45 -0
- package/dist/serialization/types/PromptModelParamsValue.d.ts +10 -0
- package/dist/serialization/types/PromptModelParamsValue.js +35 -0
- package/dist/serialization/types/RoleEnum.d.ts +2 -2
- package/dist/serialization/types/Run.d.ts +2 -2
- package/dist/serialization/types/RunMetric.d.ts +15 -0
- package/dist/serialization/types/RunMetric.js +36 -0
- package/dist/serialization/types/RunStatus.d.ts +2 -2
- package/dist/serialization/types/ScoreStatus.d.ts +2 -2
- package/dist/serialization/types/Span.d.ts +34 -0
- package/dist/serialization/types/Span.js +64 -0
- package/dist/serialization/types/TestCase.d.ts +6 -4
- package/dist/serialization/types/TestCase.js +4 -15
- package/dist/serialization/types/TestCaseCreate.d.ts +2 -2
- package/dist/serialization/types/TestCaseCustomInputsValue.d.ts +4 -3
- package/dist/serialization/types/TestCaseCustomInputsValue.js +2 -1
- package/dist/serialization/types/TestCaseCustomLabelsValue.d.ts +4 -3
- package/dist/serialization/types/TestCaseCustomLabelsValue.js +2 -1
- package/dist/serialization/types/TestRecordCreate.d.ts +2 -2
- package/dist/serialization/types/TestSetCreate.d.ts +2 -2
- package/dist/serialization/types/Testrecord.d.ts +12 -7
- package/dist/serialization/types/Testrecord.js +10 -24
- package/dist/serialization/types/TestrecordCustomInputsValue.d.ts +4 -3
- package/dist/serialization/types/TestrecordCustomInputsValue.js +2 -1
- package/dist/serialization/types/TestrecordCustomLabelsValue.d.ts +4 -3
- package/dist/serialization/types/TestrecordCustomLabelsValue.js +2 -1
- package/dist/serialization/types/TestrecordCustomOutputsValue.d.ts +4 -3
- package/dist/serialization/types/TestrecordCustomOutputsValue.js +2 -1
- package/dist/serialization/types/TestrecordModelDebugInfoValue.d.ts +2 -2
- package/dist/serialization/types/TestrecordModelParamsValue.d.ts +2 -2
- package/dist/serialization/types/Testset.d.ts +4 -3
- package/dist/serialization/types/Testset.js +2 -10
- package/dist/serialization/types/Trace.d.ts +14 -0
- package/dist/serialization/types/Trace.js +35 -0
- package/dist/serialization/types/UnauthenticatedError.d.ts +2 -2
- package/dist/serialization/types/UnauthorizedErrorBody.d.ts +2 -2
- package/dist/serialization/types/ValidationError.d.ts +4 -3
- package/dist/serialization/types/ValidationError.js +2 -10
- package/dist/serialization/types/ValidationErrorLocItem.d.ts +2 -2
- package/dist/serialization/types/index.d.ts +5 -8
- package/dist/serialization/types/index.js +5 -8
- package/jest.config.js +5 -0
- package/package.json +10 -4
- package/reference.md +2145 -0
- package/serialization/resources/index.d.ts +5 -0
- package/serialization/resources/index.js +6 -1
- package/serialization/resources/prompt/client/getGraph.d.ts +11 -0
- package/{dist/serialization/types/ExecutionParams.js → serialization/resources/prompt/client/getGraph.js} +4 -3
- package/serialization/resources/prompt/client/getProds.d.ts +11 -0
- package/serialization/resources/prompt/client/getProds.js +32 -0
- package/serialization/resources/prompt/client/getRoots.d.ts +11 -0
- package/serialization/resources/prompt/client/getRoots.js +32 -0
- package/serialization/resources/prompt/client/index.d.ts +4 -0
- package/serialization/resources/prompt/client/index.js +33 -0
- package/serialization/resources/prompt/client/requests/PromptCreateParams.d.ts +18 -0
- package/serialization/resources/prompt/client/requests/PromptCreateParams.js +39 -0
- package/serialization/resources/prompt/client/requests/PromptUpdateParams.d.ts +13 -0
- package/serialization/resources/prompt/client/requests/PromptUpdateParams.js +34 -0
- package/serialization/resources/prompt/client/requests/index.d.ts +2 -0
- package/serialization/resources/prompt/client/requests/index.js +7 -0
- package/serialization/resources/prompt/index.d.ts +2 -0
- package/serialization/resources/prompt/index.js +18 -0
- package/serialization/resources/prompt/types/PromptCreateParamsModelParamsValue.d.ts +10 -0
- package/serialization/resources/prompt/types/PromptCreateParamsModelParamsValue.js +36 -0
- package/serialization/resources/prompt/types/index.d.ts +1 -0
- package/serialization/resources/prompt/types/index.js +17 -0
- package/serialization/resources/run/client/requests/RunCreateParams.d.ts +3 -2
- package/serialization/resources/run/client/requests/RunCreateParams.js +1 -0
- package/serialization/resources/run/client/requests/UpdateStatusParams.d.ts +4 -3
- package/serialization/resources/run/client/requests/UpdateStatusParams.js +2 -10
- package/serialization/resources/runMetric/client/get.d.ts +11 -0
- package/serialization/resources/runMetric/client/get.js +32 -0
- package/serialization/resources/runMetric/client/index.d.ts +1 -0
- package/{dist/serialization/types/ScoringParams.js → serialization/resources/runMetric/client/index.js} +2 -6
- package/serialization/resources/runMetric/index.d.ts +1 -0
- package/serialization/resources/runMetric/index.js +17 -0
- package/serialization/resources/score/client/requests/ScoreCreateParams.d.ts +2 -2
- package/serialization/resources/score/client/requests/ScoreUpdateParams.d.ts +2 -2
- package/serialization/resources/testcase/client/requests/TestcaseCreateParams.d.ts +6 -4
- package/serialization/resources/testcase/client/requests/TestcaseCreateParams.js +4 -15
- package/serialization/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.d.ts +4 -3
- package/serialization/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.js +2 -1
- package/serialization/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.d.ts +4 -3
- package/serialization/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.js +2 -1
- package/serialization/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +12 -7
- package/serialization/resources/testrecord/client/requests/TestrecordCreateParams.js +10 -24
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.d.ts +4 -3
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.js +2 -1
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.d.ts +4 -3
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.js +2 -1
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.d.ts +4 -3
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.js +2 -1
- package/serialization/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.d.ts +2 -2
- package/serialization/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.d.ts +2 -2
- package/serialization/resources/testset/client/requests/TestsetCreateParams.d.ts +4 -3
- package/serialization/resources/testset/client/requests/TestsetCreateParams.js +2 -10
- package/serialization/resources/traces/client/get.d.ts +10 -0
- package/serialization/resources/traces/client/get.js +40 -0
- package/serialization/resources/traces/client/index.d.ts +1 -0
- package/serialization/{types/ScoringParams.js → resources/traces/client/index.js} +2 -6
- package/serialization/resources/traces/index.d.ts +1 -0
- package/serialization/resources/traces/index.js +17 -0
- package/serialization/types/CreateGithubWorkflowParams.d.ts +2 -2
- package/serialization/types/CreateRunParams.d.ts +2 -2
- package/serialization/types/CustomSchema.d.ts +4 -3
- package/serialization/types/CustomSchema.js +2 -12
- package/serialization/types/CustomVariable.d.ts +6 -4
- package/serialization/types/CustomVariable.js +4 -11
- package/serialization/types/DataTypeEnum.d.ts +2 -2
- package/serialization/types/FileUrl.d.ts +2 -2
- package/serialization/types/Grade.d.ts +7 -4
- package/serialization/types/Grade.js +5 -11
- package/serialization/types/HttpValidationError.d.ts +4 -3
- package/serialization/types/HttpValidationError.js +2 -12
- package/serialization/types/JsonObject.d.ts +2 -2
- package/serialization/types/JsonObjectInputValue.d.ts +2 -2
- package/serialization/types/JsonObjectOutputValue.d.ts +2 -2
- package/serialization/types/NotFoundErrorBody.d.ts +2 -2
- package/serialization/types/PaginatedTestcaseResponse.d.ts +4 -3
- package/serialization/types/PaginatedTestcaseResponse.js +2 -10
- package/serialization/types/Prompt.d.ts +24 -0
- package/serialization/types/Prompt.js +45 -0
- package/serialization/types/PromptModelParamsValue.d.ts +10 -0
- package/serialization/types/PromptModelParamsValue.js +35 -0
- package/serialization/types/RoleEnum.d.ts +2 -2
- package/serialization/types/Run.d.ts +2 -2
- package/serialization/types/RunMetric.d.ts +15 -0
- package/serialization/types/RunMetric.js +36 -0
- package/serialization/types/RunStatus.d.ts +2 -2
- package/serialization/types/ScoreStatus.d.ts +2 -2
- package/serialization/types/Span.d.ts +34 -0
- package/serialization/types/Span.js +64 -0
- package/serialization/types/TestCase.d.ts +6 -4
- package/serialization/types/TestCase.js +4 -15
- package/serialization/types/TestCaseCreate.d.ts +2 -2
- package/serialization/types/TestCaseCustomInputsValue.d.ts +4 -3
- package/serialization/types/TestCaseCustomInputsValue.js +2 -1
- package/serialization/types/TestCaseCustomLabelsValue.d.ts +4 -3
- package/serialization/types/TestCaseCustomLabelsValue.js +2 -1
- package/serialization/types/TestRecordCreate.d.ts +2 -2
- package/serialization/types/TestSetCreate.d.ts +2 -2
- package/serialization/types/Testrecord.d.ts +12 -7
- package/serialization/types/Testrecord.js +10 -24
- package/serialization/types/TestrecordCustomInputsValue.d.ts +4 -3
- package/serialization/types/TestrecordCustomInputsValue.js +2 -1
- package/serialization/types/TestrecordCustomLabelsValue.d.ts +4 -3
- package/serialization/types/TestrecordCustomLabelsValue.js +2 -1
- package/serialization/types/TestrecordCustomOutputsValue.d.ts +4 -3
- package/serialization/types/TestrecordCustomOutputsValue.js +2 -1
- package/serialization/types/TestrecordModelDebugInfoValue.d.ts +2 -2
- package/serialization/types/TestrecordModelParamsValue.d.ts +2 -2
- package/serialization/types/Testset.d.ts +4 -3
- package/serialization/types/Testset.js +2 -10
- package/serialization/types/Trace.d.ts +14 -0
- package/serialization/types/Trace.js +35 -0
- package/serialization/types/UnauthenticatedError.d.ts +2 -2
- package/serialization/types/UnauthorizedErrorBody.d.ts +2 -2
- package/serialization/types/ValidationError.d.ts +4 -3
- package/serialization/types/ValidationError.js +2 -10
- package/serialization/types/ValidationErrorLocItem.d.ts +2 -2
- package/serialization/types/index.d.ts +5 -8
- package/serialization/types/index.js +5 -8
- package/api/types/AppTestRecordCreate.d.ts +0 -4
- package/api/types/ExecutionParams.d.ts +0 -4
- package/api/types/ModelParams.d.ts +0 -4
- package/api/types/ScoreExecutionParams.d.ts +0 -4
- package/api/types/ScoringParams.d.ts +0 -4
- package/api/types/TestCaseCreateInput.d.ts +0 -4
- package/dist/api/types/AppCreateRunParams.d.ts +0 -4
- package/dist/api/types/AppTestRecordCreate.d.ts +0 -4
- package/dist/api/types/AppTestSetCreate.d.ts +0 -4
- package/dist/api/types/ExecutionParams.d.ts +0 -4
- package/dist/api/types/ModelParams.d.ts +0 -4
- package/dist/api/types/ScoreExecutionParams.d.ts +0 -4
- package/dist/api/types/ScoringParams.d.ts +0 -4
- package/dist/api/types/TestCaseCreateInput.d.ts +0 -4
- package/dist/serialization/types/AppCreateRunParams.d.ts +0 -10
- package/dist/serialization/types/AppTestRecordCreate.d.ts +0 -10
- package/dist/serialization/types/AppTestSetCreate.d.ts +0 -10
- package/dist/serialization/types/ExecutionParams.d.ts +0 -10
- package/dist/serialization/types/ModelParams.d.ts +0 -10
- package/dist/serialization/types/ScoreExecutionParams.d.ts +0 -10
- package/dist/serialization/types/ScoreExecutionParams.js +0 -31
- package/dist/serialization/types/ScoringParams.d.ts +0 -10
- package/dist/serialization/types/TestCaseCreateInput.d.ts +0 -10
- package/dist/serialization/types/TestCaseCreateInput.js +0 -31
- package/serialization/types/AppCreateRunParams.d.ts +0 -10
- package/serialization/types/AppCreateRunParams.js +0 -31
- package/serialization/types/AppTestRecordCreate.d.ts +0 -10
- package/serialization/types/AppTestRecordCreate.js +0 -31
- package/serialization/types/AppTestSetCreate.d.ts +0 -10
- package/serialization/types/AppTestSetCreate.js +0 -31
- package/serialization/types/ExecutionParams.d.ts +0 -10
- package/serialization/types/ExecutionParams.js +0 -31
- package/serialization/types/ModelParams.d.ts +0 -10
- package/serialization/types/ScoreExecutionParams.d.ts +0 -10
- package/serialization/types/ScoreExecutionParams.js +0 -31
- package/serialization/types/ScoringParams.d.ts +0 -10
- package/serialization/types/TestCaseCreateInput.d.ts +0 -10
- package/serialization/types/TestCaseCreateInput.js +0 -31
- /package/api/{types/AppCreateRunParams.js → resources/prompt/client/requests/PromptCreateParams.js} +0 -0
- /package/api/{types/AppTestRecordCreate.js → resources/prompt/client/requests/PromptUpdateParams.js} +0 -0
- /package/api/{types/AppTestSetCreate.js → resources/prompt/types/PromptCreateParamsModelParamsValue.js} +0 -0
- /package/api/types/{ExecutionParams.js → Prompt.js} +0 -0
- /package/api/types/{ModelParams.js → PromptModelParamsValue.js} +0 -0
- /package/api/types/{ScoreExecutionParams.js → RunMetric.js} +0 -0
- /package/api/types/{ScoringParams.js → Span.js} +0 -0
- /package/api/types/{TestCaseCreateInput.js → Trace.js} +0 -0
- /package/dist/api/{types/AppCreateRunParams.js → resources/prompt/client/requests/PromptCreateParams.js} +0 -0
- /package/dist/api/{types/AppTestRecordCreate.js → resources/prompt/client/requests/PromptUpdateParams.js} +0 -0
- /package/dist/api/{types/AppTestSetCreate.js → resources/prompt/types/PromptCreateParamsModelParamsValue.js} +0 -0
- /package/dist/api/types/{ExecutionParams.js → Prompt.js} +0 -0
- /package/dist/api/types/{ModelParams.js → PromptModelParamsValue.js} +0 -0
- /package/dist/api/types/{ScoreExecutionParams.js → RunMetric.js} +0 -0
- /package/dist/api/types/{ScoringParams.js → Span.js} +0 -0
- /package/dist/api/types/{TestCaseCreateInput.js → Trace.js} +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PromptModelParamsValue = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.PromptModelParamsValue = core.serialization.undiscriminatedUnion([
|
|
32
|
+
core.serialization.number(),
|
|
33
|
+
core.serialization.number(),
|
|
34
|
+
core.serialization.string(),
|
|
35
|
+
]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const RoleEnum: core.serialization.Schema<serializers.RoleEnum.Raw, Scorecard.RoleEnum>;
|
|
8
8
|
export declare namespace RoleEnum {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const Run: core.serialization.ObjectSchema<serializers.Run.Raw, Scorecard.Run>;
|
|
8
8
|
export declare namespace Run {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const RunMetric: core.serialization.ObjectSchema<serializers.RunMetric.Raw, Scorecard.RunMetric>;
|
|
8
|
+
export declare namespace RunMetric {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id?: number | null;
|
|
11
|
+
run_id?: number | null;
|
|
12
|
+
metric_id?: number | null;
|
|
13
|
+
created_at?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.RunMetric = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.RunMetric = core.serialization.object({
|
|
32
|
+
id: core.serialization.number().optional(),
|
|
33
|
+
runId: core.serialization.property("run_id", core.serialization.number().optional()),
|
|
34
|
+
metricId: core.serialization.property("metric_id", core.serialization.number().optional()),
|
|
35
|
+
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
|
36
|
+
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const RunStatus: core.serialization.Schema<serializers.RunStatus.Raw, Scorecard.RunStatus>;
|
|
8
8
|
export declare namespace RunStatus {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ScoreStatus: core.serialization.Schema<serializers.ScoreStatus.Raw, Scorecard.ScoreStatus>;
|
|
8
8
|
export declare namespace ScoreStatus {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const Span: core.serialization.ObjectSchema<serializers.Span.Raw, Scorecard.Span>;
|
|
8
|
+
export declare namespace Span {
|
|
9
|
+
interface Raw {
|
|
10
|
+
Children: serializers.Span.Raw[];
|
|
11
|
+
Timestamp: string;
|
|
12
|
+
TraceId: string;
|
|
13
|
+
SpanId: string;
|
|
14
|
+
ParentSpanId: string;
|
|
15
|
+
TraceState: string;
|
|
16
|
+
SpanName: string;
|
|
17
|
+
SpanKind: string;
|
|
18
|
+
ServiceName: string;
|
|
19
|
+
ResourceAttributes: Record<string, string>;
|
|
20
|
+
ScopeName: string;
|
|
21
|
+
ScopeVersion: string;
|
|
22
|
+
SpanAttributes: Record<string, string>;
|
|
23
|
+
Duration: number;
|
|
24
|
+
StatusCode: string;
|
|
25
|
+
StatusMessage: string;
|
|
26
|
+
"Events.Timestamp": string[];
|
|
27
|
+
"Events.Name": string[];
|
|
28
|
+
"Events.Attributes": Record<string, string>[];
|
|
29
|
+
"Links.TraceId": string[];
|
|
30
|
+
"Links.SpanId": string[];
|
|
31
|
+
"Links.TraceState": string[];
|
|
32
|
+
"Links.Attributes": Record<string, string>[];
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.Span = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.Span = core.serialization.object({
|
|
41
|
+
children: core.serialization.property("Children", core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Span; })))),
|
|
42
|
+
timestamp: core.serialization.property("Timestamp", core.serialization.date()),
|
|
43
|
+
traceId: core.serialization.property("TraceId", core.serialization.string()),
|
|
44
|
+
spanId: core.serialization.property("SpanId", core.serialization.string()),
|
|
45
|
+
parentSpanId: core.serialization.property("ParentSpanId", core.serialization.string()),
|
|
46
|
+
traceState: core.serialization.property("TraceState", core.serialization.string()),
|
|
47
|
+
spanName: core.serialization.property("SpanName", core.serialization.string()),
|
|
48
|
+
spanKind: core.serialization.property("SpanKind", core.serialization.string()),
|
|
49
|
+
serviceName: core.serialization.property("ServiceName", core.serialization.string()),
|
|
50
|
+
resourceAttributes: core.serialization.property("ResourceAttributes", core.serialization.record(core.serialization.string(), core.serialization.string())),
|
|
51
|
+
scopeName: core.serialization.property("ScopeName", core.serialization.string()),
|
|
52
|
+
scopeVersion: core.serialization.property("ScopeVersion", core.serialization.string()),
|
|
53
|
+
spanAttributes: core.serialization.property("SpanAttributes", core.serialization.record(core.serialization.string(), core.serialization.string())),
|
|
54
|
+
duration: core.serialization.property("Duration", core.serialization.number()),
|
|
55
|
+
statusCode: core.serialization.property("StatusCode", core.serialization.string()),
|
|
56
|
+
statusMessage: core.serialization.property("StatusMessage", core.serialization.string()),
|
|
57
|
+
eventsTimestamp: core.serialization.property("Events.Timestamp", core.serialization.list(core.serialization.date())),
|
|
58
|
+
eventsName: core.serialization.property("Events.Name", core.serialization.list(core.serialization.string())),
|
|
59
|
+
eventsAttributes: core.serialization.property("Events.Attributes", core.serialization.list(core.serialization.record(core.serialization.string(), core.serialization.string()))),
|
|
60
|
+
linksTraceId: core.serialization.property("Links.TraceId", core.serialization.list(core.serialization.string())),
|
|
61
|
+
linksSpanId: core.serialization.property("Links.SpanId", core.serialization.list(core.serialization.string())),
|
|
62
|
+
linksTraceState: core.serialization.property("Links.TraceState", core.serialization.list(core.serialization.string())),
|
|
63
|
+
linksAttributes: core.serialization.property("Links.Attributes", core.serialization.list(core.serialization.record(core.serialization.string(), core.serialization.string()))),
|
|
64
|
+
});
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { TestCaseCustomInputsValue } from "./TestCaseCustomInputsValue";
|
|
8
|
+
import { TestCaseCustomLabelsValue } from "./TestCaseCustomLabelsValue";
|
|
7
9
|
export declare const TestCase: core.serialization.ObjectSchema<serializers.TestCase.Raw, Scorecard.TestCase>;
|
|
8
10
|
export declare namespace TestCase {
|
|
9
11
|
interface Raw {
|
|
@@ -13,7 +15,7 @@ export declare namespace TestCase {
|
|
|
13
15
|
user_query: string;
|
|
14
16
|
context?: string | null;
|
|
15
17
|
ideal?: string | null;
|
|
16
|
-
custom_inputs?: Record<string,
|
|
17
|
-
custom_labels?: Record<string,
|
|
18
|
+
custom_inputs?: Record<string, TestCaseCustomInputsValue.Raw | null | undefined> | null;
|
|
19
|
+
custom_labels?: Record<string, TestCaseCustomLabelsValue.Raw | null | undefined> | null;
|
|
18
20
|
}
|
|
19
21
|
}
|
|
@@ -25,18 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
29
|
exports.TestCase = void 0;
|
|
39
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const TestCaseCustomInputsValue_1 = require("./TestCaseCustomInputsValue");
|
|
32
|
+
const TestCaseCustomLabelsValue_1 = require("./TestCaseCustomLabelsValue");
|
|
40
33
|
exports.TestCase = core.serialization.object({
|
|
41
34
|
id: core.serialization.number().optional(),
|
|
42
35
|
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
|
@@ -44,10 +37,6 @@ exports.TestCase = core.serialization.object({
|
|
|
44
37
|
userQuery: core.serialization.property("user_query", core.serialization.string()),
|
|
45
38
|
context: core.serialization.string().optional(),
|
|
46
39
|
ideal: core.serialization.string().optional(),
|
|
47
|
-
customInputs: core.serialization.property("custom_inputs", core.serialization
|
|
48
|
-
|
|
49
|
-
.optional()),
|
|
50
|
-
customLabels: core.serialization.property("custom_labels", core.serialization
|
|
51
|
-
.record(core.serialization.string(), core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TestCaseCustomLabelsValue; })).optional())
|
|
52
|
-
.optional()),
|
|
40
|
+
customInputs: core.serialization.property("custom_inputs", core.serialization.record(core.serialization.string(), TestCaseCustomInputsValue_1.TestCaseCustomInputsValue.optional()).optional()),
|
|
41
|
+
customLabels: core.serialization.property("custom_labels", core.serialization.record(core.serialization.string(), TestCaseCustomLabelsValue_1.TestCaseCustomLabelsValue.optional()).optional()),
|
|
53
42
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const TestCaseCreate: core.serialization.ObjectSchema<serializers.TestCaseCreate.Raw, Scorecard.TestCaseCreate>;
|
|
8
8
|
export declare namespace TestCaseCreate {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FileUrl } from "./FileUrl";
|
|
7
8
|
export declare const TestCaseCustomInputsValue: core.serialization.Schema<serializers.TestCaseCustomInputsValue.Raw, Scorecard.TestCaseCustomInputsValue>;
|
|
8
9
|
export declare namespace TestCaseCustomInputsValue {
|
|
9
|
-
type Raw = string |
|
|
10
|
+
type Raw = string | FileUrl.Raw | serializers.JsonObject.Raw;
|
|
10
11
|
}
|
|
@@ -37,8 +37,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.TestCaseCustomInputsValue = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
+
const FileUrl_1 = require("./FileUrl");
|
|
40
41
|
exports.TestCaseCustomInputsValue = core.serialization.undiscriminatedUnion([
|
|
41
42
|
core.serialization.string(),
|
|
42
|
-
|
|
43
|
+
FileUrl_1.FileUrl,
|
|
43
44
|
core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).JsonObject; })),
|
|
44
45
|
]);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FileUrl } from "./FileUrl";
|
|
7
8
|
export declare const TestCaseCustomLabelsValue: core.serialization.Schema<serializers.TestCaseCustomLabelsValue.Raw, Scorecard.TestCaseCustomLabelsValue>;
|
|
8
9
|
export declare namespace TestCaseCustomLabelsValue {
|
|
9
|
-
type Raw = string |
|
|
10
|
+
type Raw = string | FileUrl.Raw | serializers.JsonObject.Raw;
|
|
10
11
|
}
|
|
@@ -37,8 +37,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.TestCaseCustomLabelsValue = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
+
const FileUrl_1 = require("./FileUrl");
|
|
40
41
|
exports.TestCaseCustomLabelsValue = core.serialization.undiscriminatedUnion([
|
|
41
42
|
core.serialization.string(),
|
|
42
|
-
|
|
43
|
+
FileUrl_1.FileUrl,
|
|
43
44
|
core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).JsonObject; })),
|
|
44
45
|
]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const TestRecordCreate: core.serialization.Schema<serializers.TestRecordCreate.Raw, Scorecard.TestRecordCreate>;
|
|
8
8
|
export declare namespace TestRecordCreate {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const TestSetCreate: core.serialization.Schema<serializers.TestSetCreate.Raw, Scorecard.TestSetCreate>;
|
|
8
8
|
export declare namespace TestSetCreate {
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { TestrecordCustomInputsValue } from "./TestrecordCustomInputsValue";
|
|
8
|
+
import { TestrecordCustomLabelsValue } from "./TestrecordCustomLabelsValue";
|
|
9
|
+
import { TestrecordCustomOutputsValue } from "./TestrecordCustomOutputsValue";
|
|
10
|
+
import { TestrecordModelParamsValue } from "./TestrecordModelParamsValue";
|
|
11
|
+
import { TestrecordModelDebugInfoValue } from "./TestrecordModelDebugInfoValue";
|
|
7
12
|
export declare const Testrecord: core.serialization.ObjectSchema<serializers.Testrecord.Raw, Scorecard.Testrecord>;
|
|
8
13
|
export declare namespace Testrecord {
|
|
9
14
|
interface Raw {
|
|
@@ -17,12 +22,12 @@ export declare namespace Testrecord {
|
|
|
17
22
|
model_response?: string | null;
|
|
18
23
|
ideal?: string | null;
|
|
19
24
|
full_prompt?: string | null;
|
|
20
|
-
custom_inputs?: Record<string,
|
|
21
|
-
custom_labels?: Record<string,
|
|
22
|
-
custom_outputs?: Record<string,
|
|
25
|
+
custom_inputs?: Record<string, TestrecordCustomInputsValue.Raw | null | undefined> | null;
|
|
26
|
+
custom_labels?: Record<string, TestrecordCustomLabelsValue.Raw | null | undefined> | null;
|
|
27
|
+
custom_outputs?: Record<string, TestrecordCustomOutputsValue.Raw | null | undefined> | null;
|
|
23
28
|
status?: string | null;
|
|
24
29
|
prompt?: string | null;
|
|
25
|
-
model_params?: Record<string,
|
|
26
|
-
model_debug_info?: Record<string,
|
|
30
|
+
model_params?: Record<string, TestrecordModelParamsValue.Raw | null | undefined> | null;
|
|
31
|
+
model_debug_info?: Record<string, TestrecordModelDebugInfoValue.Raw | null | undefined> | null;
|
|
27
32
|
}
|
|
28
33
|
}
|
|
@@ -25,18 +25,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
29
|
exports.Testrecord = void 0;
|
|
39
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const TestrecordCustomInputsValue_1 = require("./TestrecordCustomInputsValue");
|
|
32
|
+
const TestrecordCustomLabelsValue_1 = require("./TestrecordCustomLabelsValue");
|
|
33
|
+
const TestrecordCustomOutputsValue_1 = require("./TestrecordCustomOutputsValue");
|
|
34
|
+
const TestrecordModelParamsValue_1 = require("./TestrecordModelParamsValue");
|
|
35
|
+
const TestrecordModelDebugInfoValue_1 = require("./TestrecordModelDebugInfoValue");
|
|
40
36
|
exports.Testrecord = core.serialization.object({
|
|
41
37
|
id: core.serialization.number().optional(),
|
|
42
38
|
createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
|
|
@@ -48,21 +44,11 @@ exports.Testrecord = core.serialization.object({
|
|
|
48
44
|
modelResponse: core.serialization.property("model_response", core.serialization.string().optional()),
|
|
49
45
|
ideal: core.serialization.string().optional(),
|
|
50
46
|
fullPrompt: core.serialization.property("full_prompt", core.serialization.string().optional()),
|
|
51
|
-
customInputs: core.serialization.property("custom_inputs", core.serialization
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
customLabels: core.serialization.property("custom_labels", core.serialization
|
|
55
|
-
.record(core.serialization.string(), core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TestrecordCustomLabelsValue; })).optional())
|
|
56
|
-
.optional()),
|
|
57
|
-
customOutputs: core.serialization.property("custom_outputs", core.serialization
|
|
58
|
-
.record(core.serialization.string(), core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TestrecordCustomOutputsValue; })).optional())
|
|
59
|
-
.optional()),
|
|
47
|
+
customInputs: core.serialization.property("custom_inputs", core.serialization.record(core.serialization.string(), TestrecordCustomInputsValue_1.TestrecordCustomInputsValue.optional()).optional()),
|
|
48
|
+
customLabels: core.serialization.property("custom_labels", core.serialization.record(core.serialization.string(), TestrecordCustomLabelsValue_1.TestrecordCustomLabelsValue.optional()).optional()),
|
|
49
|
+
customOutputs: core.serialization.property("custom_outputs", core.serialization.record(core.serialization.string(), TestrecordCustomOutputsValue_1.TestrecordCustomOutputsValue.optional()).optional()),
|
|
60
50
|
status: core.serialization.string().optional(),
|
|
61
51
|
prompt: core.serialization.string().optional(),
|
|
62
|
-
modelParams: core.serialization.property("model_params", core.serialization
|
|
63
|
-
|
|
64
|
-
.optional()),
|
|
65
|
-
modelDebugInfo: core.serialization.property("model_debug_info", core.serialization
|
|
66
|
-
.record(core.serialization.string(), core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TestrecordModelDebugInfoValue; })).optional())
|
|
67
|
-
.optional()),
|
|
52
|
+
modelParams: core.serialization.property("model_params", core.serialization.record(core.serialization.string(), TestrecordModelParamsValue_1.TestrecordModelParamsValue.optional()).optional()),
|
|
53
|
+
modelDebugInfo: core.serialization.property("model_debug_info", core.serialization.record(core.serialization.string(), TestrecordModelDebugInfoValue_1.TestrecordModelDebugInfoValue.optional()).optional()),
|
|
68
54
|
});
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FileUrl } from "./FileUrl";
|
|
7
8
|
export declare const TestrecordCustomInputsValue: core.serialization.Schema<serializers.TestrecordCustomInputsValue.Raw, Scorecard.TestrecordCustomInputsValue>;
|
|
8
9
|
export declare namespace TestrecordCustomInputsValue {
|
|
9
|
-
type Raw = string |
|
|
10
|
+
type Raw = string | FileUrl.Raw | serializers.JsonObject.Raw;
|
|
10
11
|
}
|
|
@@ -37,8 +37,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.TestrecordCustomInputsValue = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
+
const FileUrl_1 = require("./FileUrl");
|
|
40
41
|
exports.TestrecordCustomInputsValue = core.serialization.undiscriminatedUnion([
|
|
41
42
|
core.serialization.string(),
|
|
42
|
-
|
|
43
|
+
FileUrl_1.FileUrl,
|
|
43
44
|
core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).JsonObject; })),
|
|
44
45
|
]);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FileUrl } from "./FileUrl";
|
|
7
8
|
export declare const TestrecordCustomLabelsValue: core.serialization.Schema<serializers.TestrecordCustomLabelsValue.Raw, Scorecard.TestrecordCustomLabelsValue>;
|
|
8
9
|
export declare namespace TestrecordCustomLabelsValue {
|
|
9
|
-
type Raw = string |
|
|
10
|
+
type Raw = string | FileUrl.Raw | serializers.JsonObject.Raw;
|
|
10
11
|
}
|
|
@@ -37,8 +37,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.TestrecordCustomLabelsValue = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
+
const FileUrl_1 = require("./FileUrl");
|
|
40
41
|
exports.TestrecordCustomLabelsValue = core.serialization.undiscriminatedUnion([
|
|
41
42
|
core.serialization.string(),
|
|
42
|
-
|
|
43
|
+
FileUrl_1.FileUrl,
|
|
43
44
|
core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).JsonObject; })),
|
|
44
45
|
]);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FileUrl } from "./FileUrl";
|
|
7
8
|
export declare const TestrecordCustomOutputsValue: core.serialization.Schema<serializers.TestrecordCustomOutputsValue.Raw, Scorecard.TestrecordCustomOutputsValue>;
|
|
8
9
|
export declare namespace TestrecordCustomOutputsValue {
|
|
9
|
-
type Raw = string |
|
|
10
|
+
type Raw = string | FileUrl.Raw | serializers.JsonObject.Raw;
|
|
10
11
|
}
|
|
@@ -37,8 +37,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
exports.TestrecordCustomOutputsValue = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
|
+
const FileUrl_1 = require("./FileUrl");
|
|
40
41
|
exports.TestrecordCustomOutputsValue = core.serialization.undiscriminatedUnion([
|
|
41
42
|
core.serialization.string(),
|
|
42
|
-
|
|
43
|
+
FileUrl_1.FileUrl,
|
|
43
44
|
core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).JsonObject; })),
|
|
44
45
|
]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const TestrecordModelDebugInfoValue: core.serialization.Schema<serializers.TestrecordModelDebugInfoValue.Raw, Scorecard.TestrecordModelDebugInfoValue>;
|
|
8
8
|
export declare namespace TestrecordModelDebugInfoValue {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const TestrecordModelParamsValue: core.serialization.Schema<serializers.TestrecordModelParamsValue.Raw, Scorecard.TestrecordModelParamsValue>;
|
|
8
8
|
export declare namespace TestrecordModelParamsValue {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Scorecard from "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Scorecard from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { CustomSchema } from "./CustomSchema";
|
|
7
8
|
export declare const Testset: core.serialization.ObjectSchema<serializers.Testset.Raw, Scorecard.Testset>;
|
|
8
9
|
export declare namespace Testset {
|
|
9
10
|
interface Raw {
|
|
@@ -18,6 +19,6 @@ export declare namespace Testset {
|
|
|
18
19
|
updated_at?: string | null;
|
|
19
20
|
is_archived?: boolean | null;
|
|
20
21
|
project_id?: number | null;
|
|
21
|
-
custom_schema?:
|
|
22
|
+
custom_schema?: CustomSchema.Raw | null;
|
|
22
23
|
}
|
|
23
24
|
}
|