scorecard-ai 0.6.1 → 1.0.0-alpha.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/CHANGELOG.md +16 -0
- package/LICENSE +3 -3
- package/README.md +358 -80
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +19 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +204 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +204 -0
- package/client.d.ts.map +1 -0
- package/client.js +493 -0
- package/client.js.map +1 -0
- package/client.mjs +466 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +47 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +47 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +84 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +80 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +47 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +47 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/pagination.d.mts +60 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +60 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +119 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +113 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +19 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +7 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +7 -4
- package/index.d.ts.map +1 -0
- package/index.js +30 -32
- package/index.js.map +1 -0
- package/index.mjs +8 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +75 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +75 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +21 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +21 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +77 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +72 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +13 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +13 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +36 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +32 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/request-options.d.mts +33 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +33 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +28 -0
- package/internal/shim-types.d.ts +28 -0
- package/internal/shims/crypto.d.mts +13 -0
- package/internal/shims/crypto.d.mts.map +1 -0
- package/internal/shims/crypto.d.ts +13 -0
- package/internal/shims/crypto.d.ts.map +1 -0
- package/internal/shims/crypto.js +13 -0
- package/internal/shims/crypto.js.map +1 -0
- package/internal/shims/crypto.mjs +9 -0
- package/internal/shims/crypto.mjs.map +1 -0
- package/internal/shims/file.d.mts +23 -0
- package/internal/shims/file.d.mts.map +1 -0
- package/internal/shims/file.d.ts +23 -0
- package/internal/shims/file.d.ts.map +1 -0
- package/internal/shims/file.js +16 -0
- package/internal/shims/file.js.map +1 -0
- package/internal/shims/file.mjs +12 -0
- package/internal/shims/file.mjs.map +1 -0
- package/internal/shims/getBuiltinModule.d.mts +11 -0
- package/internal/shims/getBuiltinModule.d.mts.map +1 -0
- package/internal/shims/getBuiltinModule.d.ts +11 -0
- package/internal/shims/getBuiltinModule.d.ts.map +1 -0
- package/internal/shims/getBuiltinModule.js +71 -0
- package/internal/shims/getBuiltinModule.js.map +1 -0
- package/internal/shims/getBuiltinModule.mjs +67 -0
- package/internal/shims/getBuiltinModule.mjs.map +1 -0
- package/internal/shims/nullGetBuiltinModule.d.mts +2 -0
- package/internal/shims/nullGetBuiltinModule.d.mts.map +1 -0
- package/internal/shims/nullGetBuiltinModule.d.ts +2 -0
- package/internal/shims/nullGetBuiltinModule.d.ts.map +1 -0
- package/internal/shims/nullGetBuiltinModule.js +5 -0
- package/internal/shims/nullGetBuiltinModule.js.map +1 -0
- package/internal/shims/nullGetBuiltinModule.mjs +2 -0
- package/internal/shims/nullGetBuiltinModule.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +93 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +46 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +46 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +87 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/types.d.mts +68 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +68 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +44 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +44 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +131 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +122 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +33 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +28 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +38 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +38 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +85 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +79 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +58 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +53 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +20 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +16 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +16 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +16 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +109 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +92 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +24 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +154 -97
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +19 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +19 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/index.d.mts +5 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +5 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +26 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +6 -0
- package/resources/index.mjs.map +1 -0
- package/resources/projects.d.mts +30 -0
- package/resources/projects.d.mts.map +1 -0
- package/resources/projects.d.ts +30 -0
- package/resources/projects.d.ts.map +1 -0
- package/resources/projects.js +20 -0
- package/resources/projects.js.map +1 -0
- package/resources/projects.mjs +16 -0
- package/resources/projects.mjs.map +1 -0
- package/resources/shared.d.mts +9 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +9 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/testcases.d.mts +141 -0
- package/resources/testcases.d.mts.map +1 -0
- package/resources/testcases.d.ts +141 -0
- package/resources/testcases.d.ts.map +1 -0
- package/resources/testcases.js +44 -0
- package/resources/testcases.js.map +1 -0
- package/resources/testcases.mjs +40 -0
- package/resources/testcases.mjs.map +1 -0
- package/resources/testsets.d.mts +194 -0
- package/resources/testsets.d.mts.map +1 -0
- package/resources/testsets.d.ts +194 -0
- package/resources/testsets.d.ts.map +1 -0
- package/resources/testsets.js +56 -0
- package/resources/testsets.js.map +1 -0
- package/resources/testsets.mjs +52 -0
- package/resources/testsets.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +18 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +794 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/pagination.ts +175 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +23 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +96 -0
- package/src/internal/parse.ts +50 -0
- package/src/internal/request-options.ts +37 -0
- package/src/internal/shim-types.d.ts +28 -0
- package/src/internal/shims/crypto.ts +18 -0
- package/src/internal/shims/file.ts +32 -0
- package/src/internal/shims/getBuiltinModule.ts +66 -0
- package/src/internal/shims/nullGetBuiltinModule.ts +1 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +152 -0
- package/src/internal/types.ts +92 -0
- package/src/internal/uploads.ts +175 -0
- package/src/internal/utils/base64.ts +37 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +126 -0
- package/src/internal/utils/path.ts +65 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +19 -0
- package/src/internal/utils/values.ts +102 -0
- package/src/internal/utils.ts +8 -0
- package/src/lib/.keep +4 -0
- package/src/pagination.ts +2 -0
- package/src/resource.ts +2 -0
- package/src/resources/index.ts +29 -0
- package/src/resources/projects.ts +48 -0
- package/src/resources/shared.ts +12 -0
- package/src/resources/testcases.ts +201 -0
- package/src/resources/testsets.ts +254 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +19 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
- package/Client.d.ts +0 -51
- package/Client.js +0 -57
- package/api/errors/ForbiddenError.d.ts +0 -8
- package/api/errors/ForbiddenError.js +0 -41
- package/api/errors/NotFoundError.d.ts +0 -8
- package/api/errors/NotFoundError.js +0 -41
- package/api/errors/UnauthorizedError.d.ts +0 -8
- package/api/errors/UnauthorizedError.js +0 -41
- package/api/errors/UnprocessableEntityError.d.ts +0 -8
- package/api/errors/UnprocessableEntityError.js +0 -41
- package/api/errors/index.d.ts +0 -4
- package/api/errors/index.js +0 -20
- package/api/index.d.ts +0 -3
- package/api/index.js +0 -19
- package/api/resources/index.d.ts +0 -19
- package/api/resources/index.js +0 -48
- package/api/resources/prompt/client/Client.d.ts +0 -157
- package/api/resources/prompt/client/Client.js +0 -666
- package/api/resources/prompt/client/index.d.ts +0 -1
- package/api/resources/prompt/client/index.js +0 -17
- package/api/resources/prompt/client/requests/PromptCreateParams.d.ts +0 -46
- package/api/resources/prompt/client/requests/PromptCreateParams.js +0 -5
- package/api/resources/prompt/client/requests/PromptGetByNameRequest.d.ts +0 -19
- package/api/resources/prompt/client/requests/PromptGetByNameRequest.js +0 -5
- package/api/resources/prompt/client/requests/PromptListPromptsRequest.d.ts +0 -21
- package/api/resources/prompt/client/requests/PromptListPromptsRequest.js +0 -5
- package/api/resources/prompt/client/requests/PromptUpdateParams.d.ts +0 -12
- package/api/resources/prompt/client/requests/PromptUpdateParams.js +0 -5
- package/api/resources/prompt/client/requests/index.d.ts +0 -4
- package/api/resources/prompt/client/requests/index.js +0 -2
- package/api/resources/prompt/index.d.ts +0 -2
- package/api/resources/prompt/index.js +0 -18
- package/api/resources/prompt/types/PromptCreateParamsModelParamsValue.d.ts +0 -4
- package/api/resources/prompt/types/PromptCreateParamsModelParamsValue.js +0 -5
- package/api/resources/prompt/types/index.d.ts +0 -1
- package/api/resources/prompt/types/index.js +0 -17
- package/api/resources/run/client/Client.d.ts +0 -74
- package/api/resources/run/client/Client.js +0 -339
- package/api/resources/run/client/index.d.ts +0 -1
- package/api/resources/run/client/index.js +0 -17
- package/api/resources/run/client/requests/RunCreateParams.d.ts +0 -18
- package/api/resources/run/client/requests/RunCreateParams.js +0 -5
- package/api/resources/run/client/requests/UpdateStatusParams.d.ts +0 -11
- package/api/resources/run/client/requests/UpdateStatusParams.js +0 -5
- package/api/resources/run/client/requests/index.d.ts +0 -2
- package/api/resources/run/client/requests/index.js +0 -2
- package/api/resources/run/index.d.ts +0 -1
- package/api/resources/run/index.js +0 -17
- package/api/resources/runMetric/client/Client.d.ts +0 -43
- package/api/resources/runMetric/client/Client.js +0 -152
- package/api/resources/runMetric/client/index.d.ts +0 -1
- package/api/resources/runMetric/client/index.js +0 -2
- package/api/resources/runMetric/index.d.ts +0 -1
- package/api/resources/runMetric/index.js +0 -17
- package/api/resources/score/client/Client.d.ts +0 -65
- package/api/resources/score/client/Client.js +0 -253
- package/api/resources/score/client/index.d.ts +0 -1
- package/api/resources/score/client/index.js +0 -17
- package/api/resources/score/client/requests/ScoreCreateParams.d.ts +0 -19
- package/api/resources/score/client/requests/ScoreCreateParams.js +0 -5
- package/api/resources/score/client/requests/ScoreUpdateParams.d.ts +0 -15
- package/api/resources/score/client/requests/ScoreUpdateParams.js +0 -5
- package/api/resources/score/client/requests/index.d.ts +0 -2
- package/api/resources/score/client/requests/index.js +0 -2
- package/api/resources/score/index.d.ts +0 -1
- package/api/resources/score/index.js +0 -17
- package/api/resources/scoringConfig/client/Client.d.ts +0 -78
- package/api/resources/scoringConfig/client/Client.js +0 -336
- package/api/resources/scoringConfig/client/index.d.ts +0 -1
- package/api/resources/scoringConfig/client/index.js +0 -17
- package/api/resources/scoringConfig/client/requests/ScoringConfigCreateParams.d.ts +0 -18
- package/api/resources/scoringConfig/client/requests/ScoringConfigCreateParams.js +0 -5
- package/api/resources/scoringConfig/client/requests/index.d.ts +0 -1
- package/api/resources/scoringConfig/client/requests/index.js +0 -2
- package/api/resources/scoringConfig/index.d.ts +0 -1
- package/api/resources/scoringConfig/index.js +0 -17
- package/api/resources/testcase/client/Client.d.ts +0 -125
- package/api/resources/testcase/client/Client.js +0 -623
- package/api/resources/testcase/client/index.d.ts +0 -1
- package/api/resources/testcase/client/index.js +0 -17
- package/api/resources/testcase/client/requests/TestcaseBatchCopyParams.d.ts +0 -11
- package/api/resources/testcase/client/requests/TestcaseBatchCopyParams.js +0 -5
- package/api/resources/testcase/client/requests/TestcaseBatchDeleteParams.d.ts +0 -11
- package/api/resources/testcase/client/requests/TestcaseBatchDeleteParams.js +0 -5
- package/api/resources/testcase/client/requests/TestcaseCreateParams.d.ts +0 -18
- package/api/resources/testcase/client/requests/TestcaseCreateParams.js +0 -5
- package/api/resources/testcase/client/requests/TestcaseUpdateParams.d.ts +0 -18
- package/api/resources/testcase/client/requests/TestcaseUpdateParams.js +0 -5
- package/api/resources/testcase/client/requests/index.d.ts +0 -4
- package/api/resources/testcase/client/requests/index.js +0 -2
- package/api/resources/testcase/index.d.ts +0 -2
- package/api/resources/testcase/index.js +0 -18
- package/api/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.d.ts +0 -5
- package/api/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.js +0 -5
- package/api/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.d.ts +0 -5
- package/api/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.js +0 -5
- package/api/resources/testcase/types/TestcaseUpdateParamsCustomInputsValue.d.ts +0 -5
- package/api/resources/testcase/types/TestcaseUpdateParamsCustomInputsValue.js +0 -5
- package/api/resources/testcase/types/TestcaseUpdateParamsCustomLabelsValue.d.ts +0 -5
- package/api/resources/testcase/types/TestcaseUpdateParamsCustomLabelsValue.js +0 -5
- package/api/resources/testcase/types/index.d.ts +0 -4
- package/api/resources/testcase/types/index.js +0 -20
- package/api/resources/testrecord/client/Client.d.ts +0 -60
- package/api/resources/testrecord/client/Client.js +0 -247
- package/api/resources/testrecord/client/index.d.ts +0 -1
- package/api/resources/testrecord/client/index.js +0 -17
- package/api/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +0 -31
- package/api/resources/testrecord/client/requests/TestrecordCreateParams.js +0 -5
- package/api/resources/testrecord/client/requests/index.d.ts +0 -1
- package/api/resources/testrecord/client/requests/index.js +0 -2
- package/api/resources/testrecord/index.d.ts +0 -2
- package/api/resources/testrecord/index.js +0 -18
- package/api/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.d.ts +0 -5
- package/api/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.js +0 -5
- package/api/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.d.ts +0 -5
- package/api/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.js +0 -5
- package/api/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.d.ts +0 -5
- package/api/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.js +0 -5
- package/api/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.d.ts +0 -4
- package/api/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.js +0 -5
- package/api/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.d.ts +0 -4
- package/api/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.js +0 -5
- package/api/resources/testrecord/types/index.d.ts +0 -5
- package/api/resources/testrecord/types/index.js +0 -21
- package/api/resources/testset/client/Client.d.ts +0 -122
- package/api/resources/testset/client/Client.js +0 -636
- package/api/resources/testset/client/index.d.ts +0 -1
- package/api/resources/testset/client/index.js +0 -17
- package/api/resources/testset/client/requests/TestsetCreateParams.d.ts +0 -26
- package/api/resources/testset/client/requests/TestsetCreateParams.js +0 -5
- package/api/resources/testset/client/requests/TestsetGetRequest.d.ts +0 -11
- package/api/resources/testset/client/requests/TestsetGetRequest.js +0 -5
- package/api/resources/testset/client/requests/TestsetGetTestcasesRequest.d.ts +0 -17
- package/api/resources/testset/client/requests/TestsetGetTestcasesRequest.js +0 -5
- package/api/resources/testset/client/requests/TestsetUpdateParams.d.ts +0 -16
- package/api/resources/testset/client/requests/TestsetUpdateParams.js +0 -5
- package/api/resources/testset/client/requests/index.d.ts +0 -4
- package/api/resources/testset/client/requests/index.js +0 -2
- package/api/resources/testset/index.d.ts +0 -1
- package/api/resources/testset/index.js +0 -17
- package/api/resources/tracing/client/Client.d.ts +0 -72
- package/api/resources/tracing/client/Client.js +0 -327
- package/api/resources/tracing/client/index.d.ts +0 -1
- package/api/resources/tracing/client/index.js +0 -2
- package/api/resources/tracing/index.d.ts +0 -1
- package/api/resources/tracing/index.js +0 -17
- package/api/types/CreateGithubWorkflowParams.d.ts +0 -4
- package/api/types/CreateGithubWorkflowParams.js +0 -5
- package/api/types/CreateRunParams.d.ts +0 -4
- package/api/types/CreateRunParams.js +0 -5
- package/api/types/CustomSchema.d.ts +0 -11
- package/api/types/CustomSchema.js +0 -5
- package/api/types/CustomVariable.d.ts +0 -13
- package/api/types/CustomVariable.js +0 -5
- package/api/types/DataTypeEnum.d.ts +0 -12
- package/api/types/DataTypeEnum.js +0 -11
- package/api/types/FileUrl.d.ts +0 -10
- package/api/types/FileUrl.js +0 -5
- package/api/types/Grade.d.ts +0 -33
- package/api/types/Grade.js +0 -5
- package/api/types/HttpValidationError.d.ts +0 -7
- package/api/types/HttpValidationError.js +0 -5
- package/api/types/IngestionMethod.d.ts +0 -8
- package/api/types/IngestionMethod.js +0 -10
- package/api/types/JsonObject.d.ts +0 -8
- package/api/types/JsonObject.js +0 -5
- package/api/types/JsonObjectInputValue.d.ts +0 -8
- package/api/types/JsonObjectInputValue.js +0 -5
- package/api/types/JsonObjectOutputValue.d.ts +0 -8
- package/api/types/JsonObjectOutputValue.js +0 -5
- package/api/types/NotFoundErrorBody.d.ts +0 -8
- package/api/types/NotFoundErrorBody.js +0 -5
- package/api/types/PaginatedTestcaseResponse.d.ts +0 -13
- package/api/types/PaginatedTestcaseResponse.js +0 -5
- package/api/types/Prompt.d.ts +0 -22
- package/api/types/Prompt.js +0 -5
- package/api/types/PromptCursorPage.d.ts +0 -17
- package/api/types/PromptCursorPage.js +0 -5
- package/api/types/PromptModelParamsValue.d.ts +0 -4
- package/api/types/PromptModelParamsValue.js +0 -5
- package/api/types/RoleEnum.d.ts +0 -13
- package/api/types/RoleEnum.js +0 -12
- package/api/types/Run.d.ts +0 -34
- package/api/types/Run.js +0 -5
- package/api/types/RunMetric.d.ts +0 -9
- package/api/types/RunMetric.js +0 -5
- package/api/types/RunStatus.d.ts +0 -13
- package/api/types/RunStatus.js +0 -15
- package/api/types/ScoreStatus.d.ts +0 -9
- package/api/types/ScoreStatus.js +0 -11
- package/api/types/ScoringConfig.d.ts +0 -18
- package/api/types/ScoringConfig.js +0 -5
- package/api/types/Span.d.ts +0 -29
- package/api/types/Span.js +0 -5
- package/api/types/TestCase.d.ts +0 -20
- package/api/types/TestCase.js +0 -5
- package/api/types/TestCaseCustomInputsValue.d.ts +0 -5
- package/api/types/TestCaseCustomInputsValue.js +0 -5
- package/api/types/TestCaseCustomLabelsValue.d.ts +0 -5
- package/api/types/TestCaseCustomLabelsValue.js +0 -5
- package/api/types/TestRecordCreate.d.ts +0 -4
- package/api/types/TestRecordCreate.js +0 -5
- package/api/types/TestSetCreate.d.ts +0 -4
- package/api/types/TestSetCreate.js +0 -5
- package/api/types/TestcaseBatchDeletionResponse.d.ts +0 -9
- package/api/types/TestcaseBatchDeletionResponse.js +0 -5
- package/api/types/TestcaseDeletionResponse.d.ts +0 -9
- package/api/types/TestcaseDeletionResponse.js +0 -5
- package/api/types/Testrecord.d.ts +0 -36
- package/api/types/Testrecord.js +0 -5
- package/api/types/TestrecordCustomInputsValue.d.ts +0 -5
- package/api/types/TestrecordCustomInputsValue.js +0 -5
- package/api/types/TestrecordCustomLabelsValue.d.ts +0 -5
- package/api/types/TestrecordCustomLabelsValue.js +0 -5
- package/api/types/TestrecordCustomOutputsValue.d.ts +0 -5
- package/api/types/TestrecordCustomOutputsValue.js +0 -5
- package/api/types/TestrecordModelDebugInfoValue.d.ts +0 -4
- package/api/types/TestrecordModelDebugInfoValue.js +0 -5
- package/api/types/TestrecordModelParamsValue.d.ts +0 -4
- package/api/types/TestrecordModelParamsValue.js +0 -5
- package/api/types/Testset.d.ts +0 -31
- package/api/types/Testset.js +0 -5
- package/api/types/TestsetCursorPage.d.ts +0 -17
- package/api/types/TestsetCursorPage.js +0 -5
- package/api/types/Trace.d.ts +0 -10
- package/api/types/Trace.js +0 -5
- package/api/types/UnauthenticatedError.d.ts +0 -8
- package/api/types/UnauthenticatedError.js +0 -5
- package/api/types/UnauthorizedErrorBody.d.ts +0 -8
- package/api/types/UnauthorizedErrorBody.js +0 -5
- package/api/types/ValidationError.d.ts +0 -9
- package/api/types/ValidationError.js +0 -5
- package/api/types/ValidationErrorLocItem.d.ts +0 -4
- package/api/types/ValidationErrorLocItem.js +0 -5
- package/api/types/index.d.ts +0 -44
- package/api/types/index.js +0 -60
- package/core/fetcher/APIResponse.d.ts +0 -10
- package/core/fetcher/APIResponse.js +0 -2
- package/core/fetcher/Fetcher.d.ts +0 -39
- package/core/fetcher/Fetcher.js +0 -99
- package/core/fetcher/Supplier.d.ts +0 -4
- package/core/fetcher/Supplier.js +0 -22
- package/core/fetcher/createRequestUrl.d.ts +0 -1
- package/core/fetcher/createRequestUrl.js +0 -13
- package/core/fetcher/getFetchFn.d.ts +0 -4
- package/core/fetcher/getFetchFn.js +0 -59
- package/core/fetcher/getHeader.d.ts +0 -1
- package/core/fetcher/getHeader.js +0 -12
- package/core/fetcher/getRequestBody.d.ts +0 -7
- package/core/fetcher/getRequestBody.js +0 -23
- package/core/fetcher/getResponseBody.d.ts +0 -1
- package/core/fetcher/getResponseBody.js +0 -52
- package/core/fetcher/index.d.ts +0 -5
- package/core/fetcher/index.js +0 -9
- package/core/fetcher/makeRequest.d.ts +0 -1
- package/core/fetcher/makeRequest.js +0 -42
- package/core/fetcher/requestWithRetries.d.ts +0 -1
- package/core/fetcher/requestWithRetries.js +0 -32
- package/core/fetcher/signals.d.ts +0 -12
- package/core/fetcher/signals.js +0 -37
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -31
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -245
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -22
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -124
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -227
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -50
- package/core/index.d.ts +0 -3
- package/core/index.js +0 -32
- package/core/runtime/index.d.ts +0 -1
- package/core/runtime/index.js +0 -5
- package/core/runtime/runtime.d.ts +0 -9
- package/core/runtime/runtime.js +0 -93
- package/core/schemas/Schema.d.ts +0 -84
- package/core/schemas/Schema.js +0 -21
- package/core/schemas/builders/date/date.d.ts +0 -2
- package/core/schemas/builders/date/date.js +0 -63
- package/core/schemas/builders/date/index.d.ts +0 -1
- package/core/schemas/builders/date/index.js +0 -5
- package/core/schemas/builders/enum/enum.d.ts +0 -2
- package/core/schemas/builders/enum/enum.js +0 -39
- package/core/schemas/builders/enum/index.d.ts +0 -1
- package/core/schemas/builders/enum/index.js +0 -5
- package/core/schemas/builders/index.d.ts +0 -13
- package/core/schemas/builders/index.js +0 -29
- package/core/schemas/builders/lazy/index.d.ts +0 -3
- package/core/schemas/builders/lazy/index.js +0 -7
- package/core/schemas/builders/lazy/lazy.d.ts +0 -5
- package/core/schemas/builders/lazy/lazy.js +0 -25
- package/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
- package/core/schemas/builders/lazy/lazyObject.js +0 -12
- package/core/schemas/builders/list/index.d.ts +0 -1
- package/core/schemas/builders/list/index.js +0 -5
- package/core/schemas/builders/list/list.d.ts +0 -2
- package/core/schemas/builders/list/list.js +0 -55
- package/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
- package/core/schemas/builders/literals/booleanLiteral.js +0 -29
- package/core/schemas/builders/literals/index.d.ts +0 -2
- package/core/schemas/builders/literals/index.js +0 -7
- package/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
- package/core/schemas/builders/literals/stringLiteral.js +0 -29
- package/core/schemas/builders/object/index.d.ts +0 -6
- package/core/schemas/builders/object/index.js +0 -11
- package/core/schemas/builders/object/object.d.ts +0 -3
- package/core/schemas/builders/object/object.js +0 -233
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -8
- package/core/schemas/builders/object/property.d.ts +0 -8
- package/core/schemas/builders/object/property.js +0 -16
- package/core/schemas/builders/object/types.d.ts +0 -26
- package/core/schemas/builders/object/types.js +0 -2
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -54
- package/core/schemas/builders/object-like/index.d.ts +0 -2
- package/core/schemas/builders/object-like/index.js +0 -6
- package/core/schemas/builders/object-like/types.d.ts +0 -7
- package/core/schemas/builders/object-like/types.js +0 -2
- package/core/schemas/builders/primitives/any.d.ts +0 -1
- package/core/schemas/builders/primitives/any.js +0 -6
- package/core/schemas/builders/primitives/boolean.d.ts +0 -1
- package/core/schemas/builders/primitives/boolean.js +0 -25
- package/core/schemas/builders/primitives/index.d.ts +0 -5
- package/core/schemas/builders/primitives/index.js +0 -13
- package/core/schemas/builders/primitives/number.d.ts +0 -1
- package/core/schemas/builders/primitives/number.js +0 -25
- package/core/schemas/builders/primitives/string.d.ts +0 -1
- package/core/schemas/builders/primitives/string.js +0 -25
- package/core/schemas/builders/primitives/unknown.d.ts +0 -1
- package/core/schemas/builders/primitives/unknown.js +0 -6
- package/core/schemas/builders/record/index.d.ts +0 -2
- package/core/schemas/builders/record/index.js +0 -5
- package/core/schemas/builders/record/record.d.ts +0 -3
- package/core/schemas/builders/record/record.js +0 -95
- package/core/schemas/builders/record/types.d.ts +0 -4
- package/core/schemas/builders/record/types.js +0 -2
- package/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
- package/core/schemas/builders/schema-utils/JsonError.js +0 -12
- package/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
- package/core/schemas/builders/schema-utils/ParseError.js +0 -12
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -17
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -82
- package/core/schemas/builders/schema-utils/index.d.ts +0 -4
- package/core/schemas/builders/schema-utils/index.js +0 -11
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -10
- package/core/schemas/builders/set/index.d.ts +0 -1
- package/core/schemas/builders/set/index.js +0 -5
- package/core/schemas/builders/set/set.d.ts +0 -2
- package/core/schemas/builders/set/set.js +0 -44
- package/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
- package/core/schemas/builders/undiscriminated-union/index.js +0 -5
- package/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
- package/core/schemas/builders/undiscriminated-union/types.js +0 -2
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -40
- package/core/schemas/builders/union/discriminant.d.ts +0 -5
- package/core/schemas/builders/union/discriminant.js +0 -10
- package/core/schemas/builders/union/index.d.ts +0 -4
- package/core/schemas/builders/union/index.js +0 -7
- package/core/schemas/builders/union/types.d.ts +0 -13
- package/core/schemas/builders/union/types.js +0 -2
- package/core/schemas/builders/union/union.d.ts +0 -4
- package/core/schemas/builders/union/union.js +0 -130
- package/core/schemas/index.d.ts +0 -2
- package/core/schemas/index.js +0 -17
- package/core/schemas/utils/MaybePromise.d.ts +0 -1
- package/core/schemas/utils/MaybePromise.js +0 -2
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
- package/core/schemas/utils/createIdentitySchemaCreator.js +0 -16
- package/core/schemas/utils/entries.d.ts +0 -1
- package/core/schemas/utils/entries.js +0 -7
- package/core/schemas/utils/filterObject.d.ts +0 -1
- package/core/schemas/utils/filterObject.js +0 -14
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -24
- package/core/schemas/utils/isPlainObject.d.ts +0 -1
- package/core/schemas/utils/isPlainObject.js +0 -18
- package/core/schemas/utils/keys.d.ts +0 -1
- package/core/schemas/utils/keys.js +0 -7
- package/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
- package/core/schemas/utils/maybeSkipValidation.js +0 -28
- package/core/schemas/utils/partition.d.ts +0 -1
- package/core/schemas/utils/partition.js +0 -16
- package/dist/Client.d.ts +0 -51
- package/dist/Client.js +0 -57
- package/dist/api/errors/ForbiddenError.d.ts +0 -8
- package/dist/api/errors/ForbiddenError.js +0 -41
- package/dist/api/errors/NotFoundError.d.ts +0 -8
- package/dist/api/errors/NotFoundError.js +0 -41
- package/dist/api/errors/UnauthorizedError.d.ts +0 -8
- package/dist/api/errors/UnauthorizedError.js +0 -41
- package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
- package/dist/api/errors/UnprocessableEntityError.js +0 -41
- package/dist/api/errors/index.d.ts +0 -4
- package/dist/api/errors/index.js +0 -20
- package/dist/api/index.d.ts +0 -3
- package/dist/api/index.js +0 -19
- package/dist/api/resources/index.d.ts +0 -19
- package/dist/api/resources/index.js +0 -48
- package/dist/api/resources/prompt/client/Client.d.ts +0 -157
- package/dist/api/resources/prompt/client/Client.js +0 -666
- package/dist/api/resources/prompt/client/index.d.ts +0 -1
- package/dist/api/resources/prompt/client/index.js +0 -17
- package/dist/api/resources/prompt/client/requests/PromptCreateParams.d.ts +0 -46
- package/dist/api/resources/prompt/client/requests/PromptCreateParams.js +0 -5
- package/dist/api/resources/prompt/client/requests/PromptGetByNameRequest.d.ts +0 -19
- package/dist/api/resources/prompt/client/requests/PromptGetByNameRequest.js +0 -5
- package/dist/api/resources/prompt/client/requests/PromptListPromptsRequest.d.ts +0 -21
- package/dist/api/resources/prompt/client/requests/PromptListPromptsRequest.js +0 -5
- package/dist/api/resources/prompt/client/requests/PromptUpdateParams.d.ts +0 -12
- package/dist/api/resources/prompt/client/requests/PromptUpdateParams.js +0 -5
- package/dist/api/resources/prompt/client/requests/index.d.ts +0 -4
- package/dist/api/resources/prompt/client/requests/index.js +0 -2
- package/dist/api/resources/prompt/index.d.ts +0 -2
- package/dist/api/resources/prompt/index.js +0 -18
- package/dist/api/resources/prompt/types/PromptCreateParamsModelParamsValue.d.ts +0 -4
- package/dist/api/resources/prompt/types/PromptCreateParamsModelParamsValue.js +0 -5
- package/dist/api/resources/prompt/types/index.d.ts +0 -1
- package/dist/api/resources/prompt/types/index.js +0 -17
- package/dist/api/resources/run/client/Client.d.ts +0 -74
- package/dist/api/resources/run/client/Client.js +0 -339
- package/dist/api/resources/run/client/index.d.ts +0 -1
- package/dist/api/resources/run/client/index.js +0 -17
- package/dist/api/resources/run/client/requests/RunCreateParams.d.ts +0 -18
- package/dist/api/resources/run/client/requests/RunCreateParams.js +0 -5
- package/dist/api/resources/run/client/requests/UpdateStatusParams.d.ts +0 -11
- package/dist/api/resources/run/client/requests/UpdateStatusParams.js +0 -5
- package/dist/api/resources/run/client/requests/index.d.ts +0 -2
- package/dist/api/resources/run/client/requests/index.js +0 -2
- package/dist/api/resources/run/index.d.ts +0 -1
- package/dist/api/resources/run/index.js +0 -17
- package/dist/api/resources/runMetric/client/Client.d.ts +0 -43
- package/dist/api/resources/runMetric/client/Client.js +0 -152
- package/dist/api/resources/runMetric/client/index.d.ts +0 -1
- package/dist/api/resources/runMetric/client/index.js +0 -2
- package/dist/api/resources/runMetric/index.d.ts +0 -1
- package/dist/api/resources/runMetric/index.js +0 -17
- package/dist/api/resources/score/client/Client.d.ts +0 -65
- package/dist/api/resources/score/client/Client.js +0 -253
- package/dist/api/resources/score/client/index.d.ts +0 -1
- package/dist/api/resources/score/client/index.js +0 -17
- package/dist/api/resources/score/client/requests/ScoreCreateParams.d.ts +0 -19
- package/dist/api/resources/score/client/requests/ScoreCreateParams.js +0 -5
- package/dist/api/resources/score/client/requests/ScoreUpdateParams.d.ts +0 -15
- package/dist/api/resources/score/client/requests/ScoreUpdateParams.js +0 -5
- package/dist/api/resources/score/client/requests/index.d.ts +0 -2
- package/dist/api/resources/score/client/requests/index.js +0 -2
- package/dist/api/resources/score/index.d.ts +0 -1
- package/dist/api/resources/score/index.js +0 -17
- package/dist/api/resources/scoringConfig/client/Client.d.ts +0 -78
- package/dist/api/resources/scoringConfig/client/Client.js +0 -336
- package/dist/api/resources/scoringConfig/client/index.d.ts +0 -1
- package/dist/api/resources/scoringConfig/client/index.js +0 -17
- package/dist/api/resources/scoringConfig/client/requests/ScoringConfigCreateParams.d.ts +0 -18
- package/dist/api/resources/scoringConfig/client/requests/ScoringConfigCreateParams.js +0 -5
- package/dist/api/resources/scoringConfig/client/requests/index.d.ts +0 -1
- package/dist/api/resources/scoringConfig/client/requests/index.js +0 -2
- package/dist/api/resources/scoringConfig/index.d.ts +0 -1
- package/dist/api/resources/scoringConfig/index.js +0 -17
- package/dist/api/resources/testcase/client/Client.d.ts +0 -125
- package/dist/api/resources/testcase/client/Client.js +0 -623
- package/dist/api/resources/testcase/client/index.d.ts +0 -1
- package/dist/api/resources/testcase/client/index.js +0 -17
- package/dist/api/resources/testcase/client/requests/TestcaseBatchCopyParams.d.ts +0 -11
- package/dist/api/resources/testcase/client/requests/TestcaseBatchCopyParams.js +0 -5
- package/dist/api/resources/testcase/client/requests/TestcaseBatchDeleteParams.d.ts +0 -11
- package/dist/api/resources/testcase/client/requests/TestcaseBatchDeleteParams.js +0 -5
- package/dist/api/resources/testcase/client/requests/TestcaseCreateParams.d.ts +0 -18
- package/dist/api/resources/testcase/client/requests/TestcaseCreateParams.js +0 -5
- package/dist/api/resources/testcase/client/requests/TestcaseUpdateParams.d.ts +0 -18
- package/dist/api/resources/testcase/client/requests/TestcaseUpdateParams.js +0 -5
- package/dist/api/resources/testcase/client/requests/index.d.ts +0 -4
- package/dist/api/resources/testcase/client/requests/index.js +0 -2
- package/dist/api/resources/testcase/index.d.ts +0 -2
- package/dist/api/resources/testcase/index.js +0 -18
- package/dist/api/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.d.ts +0 -5
- package/dist/api/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.js +0 -5
- package/dist/api/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.d.ts +0 -5
- package/dist/api/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.js +0 -5
- package/dist/api/resources/testcase/types/TestcaseUpdateParamsCustomInputsValue.d.ts +0 -5
- package/dist/api/resources/testcase/types/TestcaseUpdateParamsCustomInputsValue.js +0 -5
- package/dist/api/resources/testcase/types/TestcaseUpdateParamsCustomLabelsValue.d.ts +0 -5
- package/dist/api/resources/testcase/types/TestcaseUpdateParamsCustomLabelsValue.js +0 -5
- package/dist/api/resources/testcase/types/index.d.ts +0 -4
- package/dist/api/resources/testcase/types/index.js +0 -20
- package/dist/api/resources/testrecord/client/Client.d.ts +0 -60
- package/dist/api/resources/testrecord/client/Client.js +0 -247
- package/dist/api/resources/testrecord/client/index.d.ts +0 -1
- package/dist/api/resources/testrecord/client/index.js +0 -17
- package/dist/api/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +0 -31
- package/dist/api/resources/testrecord/client/requests/TestrecordCreateParams.js +0 -5
- package/dist/api/resources/testrecord/client/requests/index.d.ts +0 -1
- package/dist/api/resources/testrecord/client/requests/index.js +0 -2
- package/dist/api/resources/testrecord/index.d.ts +0 -2
- package/dist/api/resources/testrecord/index.js +0 -18
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.d.ts +0 -5
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.js +0 -5
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.d.ts +0 -5
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.js +0 -5
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.d.ts +0 -5
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.js +0 -5
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.d.ts +0 -4
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.js +0 -5
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.d.ts +0 -4
- package/dist/api/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.js +0 -5
- package/dist/api/resources/testrecord/types/index.d.ts +0 -5
- package/dist/api/resources/testrecord/types/index.js +0 -21
- package/dist/api/resources/testset/client/Client.d.ts +0 -122
- package/dist/api/resources/testset/client/Client.js +0 -636
- package/dist/api/resources/testset/client/index.d.ts +0 -1
- package/dist/api/resources/testset/client/index.js +0 -17
- package/dist/api/resources/testset/client/requests/TestsetCreateParams.d.ts +0 -26
- package/dist/api/resources/testset/client/requests/TestsetCreateParams.js +0 -5
- package/dist/api/resources/testset/client/requests/TestsetGetRequest.d.ts +0 -11
- package/dist/api/resources/testset/client/requests/TestsetGetRequest.js +0 -5
- package/dist/api/resources/testset/client/requests/TestsetGetTestcasesRequest.d.ts +0 -17
- package/dist/api/resources/testset/client/requests/TestsetGetTestcasesRequest.js +0 -5
- package/dist/api/resources/testset/client/requests/TestsetUpdateParams.d.ts +0 -16
- package/dist/api/resources/testset/client/requests/TestsetUpdateParams.js +0 -5
- package/dist/api/resources/testset/client/requests/index.d.ts +0 -4
- package/dist/api/resources/testset/client/requests/index.js +0 -2
- package/dist/api/resources/testset/index.d.ts +0 -1
- package/dist/api/resources/testset/index.js +0 -17
- package/dist/api/resources/tracing/client/Client.d.ts +0 -72
- package/dist/api/resources/tracing/client/Client.js +0 -327
- package/dist/api/resources/tracing/client/index.d.ts +0 -1
- package/dist/api/resources/tracing/client/index.js +0 -2
- package/dist/api/resources/tracing/index.d.ts +0 -1
- package/dist/api/resources/tracing/index.js +0 -17
- package/dist/api/types/CreateGithubWorkflowParams.d.ts +0 -4
- package/dist/api/types/CreateGithubWorkflowParams.js +0 -5
- package/dist/api/types/CreateRunParams.d.ts +0 -4
- package/dist/api/types/CreateRunParams.js +0 -5
- package/dist/api/types/CustomSchema.d.ts +0 -11
- package/dist/api/types/CustomSchema.js +0 -5
- package/dist/api/types/CustomVariable.d.ts +0 -13
- package/dist/api/types/CustomVariable.js +0 -5
- package/dist/api/types/DataTypeEnum.d.ts +0 -12
- package/dist/api/types/DataTypeEnum.js +0 -11
- package/dist/api/types/FileUrl.d.ts +0 -10
- package/dist/api/types/FileUrl.js +0 -5
- package/dist/api/types/Grade.d.ts +0 -33
- package/dist/api/types/Grade.js +0 -5
- package/dist/api/types/HttpValidationError.d.ts +0 -7
- package/dist/api/types/HttpValidationError.js +0 -5
- package/dist/api/types/IngestionMethod.d.ts +0 -8
- package/dist/api/types/IngestionMethod.js +0 -10
- package/dist/api/types/JsonObject.d.ts +0 -8
- package/dist/api/types/JsonObject.js +0 -5
- package/dist/api/types/JsonObjectInputValue.d.ts +0 -8
- package/dist/api/types/JsonObjectInputValue.js +0 -5
- package/dist/api/types/JsonObjectOutputValue.d.ts +0 -8
- package/dist/api/types/JsonObjectOutputValue.js +0 -5
- package/dist/api/types/NotFoundErrorBody.d.ts +0 -8
- package/dist/api/types/NotFoundErrorBody.js +0 -5
- package/dist/api/types/PaginatedTestcaseResponse.d.ts +0 -13
- package/dist/api/types/PaginatedTestcaseResponse.js +0 -5
- package/dist/api/types/Prompt.d.ts +0 -22
- package/dist/api/types/Prompt.js +0 -5
- package/dist/api/types/PromptCursorPage.d.ts +0 -17
- package/dist/api/types/PromptCursorPage.js +0 -5
- package/dist/api/types/PromptModelParamsValue.d.ts +0 -4
- package/dist/api/types/PromptModelParamsValue.js +0 -5
- package/dist/api/types/RoleEnum.d.ts +0 -13
- package/dist/api/types/RoleEnum.js +0 -12
- package/dist/api/types/Run.d.ts +0 -34
- package/dist/api/types/Run.js +0 -5
- package/dist/api/types/RunMetric.d.ts +0 -9
- package/dist/api/types/RunMetric.js +0 -5
- package/dist/api/types/RunStatus.d.ts +0 -13
- package/dist/api/types/RunStatus.js +0 -15
- package/dist/api/types/ScoreStatus.d.ts +0 -9
- package/dist/api/types/ScoreStatus.js +0 -11
- package/dist/api/types/ScoringConfig.d.ts +0 -18
- package/dist/api/types/ScoringConfig.js +0 -5
- package/dist/api/types/Span.d.ts +0 -29
- package/dist/api/types/Span.js +0 -5
- package/dist/api/types/TestCase.d.ts +0 -20
- package/dist/api/types/TestCase.js +0 -5
- package/dist/api/types/TestCaseCustomInputsValue.d.ts +0 -5
- package/dist/api/types/TestCaseCustomInputsValue.js +0 -5
- package/dist/api/types/TestCaseCustomLabelsValue.d.ts +0 -5
- package/dist/api/types/TestCaseCustomLabelsValue.js +0 -5
- package/dist/api/types/TestRecordCreate.d.ts +0 -4
- package/dist/api/types/TestRecordCreate.js +0 -5
- package/dist/api/types/TestSetCreate.d.ts +0 -4
- package/dist/api/types/TestSetCreate.js +0 -5
- package/dist/api/types/TestcaseBatchDeletionResponse.d.ts +0 -9
- package/dist/api/types/TestcaseBatchDeletionResponse.js +0 -5
- package/dist/api/types/TestcaseDeletionResponse.d.ts +0 -9
- package/dist/api/types/TestcaseDeletionResponse.js +0 -5
- package/dist/api/types/Testrecord.d.ts +0 -36
- package/dist/api/types/Testrecord.js +0 -5
- package/dist/api/types/TestrecordCustomInputsValue.d.ts +0 -5
- package/dist/api/types/TestrecordCustomInputsValue.js +0 -5
- package/dist/api/types/TestrecordCustomLabelsValue.d.ts +0 -5
- package/dist/api/types/TestrecordCustomLabelsValue.js +0 -5
- package/dist/api/types/TestrecordCustomOutputsValue.d.ts +0 -5
- package/dist/api/types/TestrecordCustomOutputsValue.js +0 -5
- package/dist/api/types/TestrecordModelDebugInfoValue.d.ts +0 -4
- package/dist/api/types/TestrecordModelDebugInfoValue.js +0 -5
- package/dist/api/types/TestrecordModelParamsValue.d.ts +0 -4
- package/dist/api/types/TestrecordModelParamsValue.js +0 -5
- package/dist/api/types/Testset.d.ts +0 -31
- package/dist/api/types/Testset.js +0 -5
- package/dist/api/types/TestsetCursorPage.d.ts +0 -17
- package/dist/api/types/TestsetCursorPage.js +0 -5
- package/dist/api/types/Trace.d.ts +0 -10
- package/dist/api/types/Trace.js +0 -5
- package/dist/api/types/UnauthenticatedError.d.ts +0 -8
- package/dist/api/types/UnauthenticatedError.js +0 -5
- package/dist/api/types/UnauthorizedErrorBody.d.ts +0 -8
- package/dist/api/types/UnauthorizedErrorBody.js +0 -5
- package/dist/api/types/ValidationError.d.ts +0 -9
- package/dist/api/types/ValidationError.js +0 -5
- package/dist/api/types/ValidationErrorLocItem.d.ts +0 -4
- package/dist/api/types/ValidationErrorLocItem.js +0 -5
- package/dist/api/types/index.d.ts +0 -44
- package/dist/api/types/index.js +0 -60
- package/dist/core/fetcher/APIResponse.d.ts +0 -10
- package/dist/core/fetcher/APIResponse.js +0 -2
- package/dist/core/fetcher/Fetcher.d.ts +0 -39
- package/dist/core/fetcher/Fetcher.js +0 -99
- package/dist/core/fetcher/Supplier.d.ts +0 -4
- package/dist/core/fetcher/Supplier.js +0 -22
- package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
- package/dist/core/fetcher/createRequestUrl.js +0 -13
- package/dist/core/fetcher/getFetchFn.d.ts +0 -4
- package/dist/core/fetcher/getFetchFn.js +0 -59
- package/dist/core/fetcher/getHeader.d.ts +0 -1
- package/dist/core/fetcher/getHeader.js +0 -12
- package/dist/core/fetcher/getRequestBody.d.ts +0 -7
- package/dist/core/fetcher/getRequestBody.js +0 -23
- package/dist/core/fetcher/getResponseBody.d.ts +0 -1
- package/dist/core/fetcher/getResponseBody.js +0 -52
- package/dist/core/fetcher/index.d.ts +0 -5
- package/dist/core/fetcher/index.js +0 -9
- package/dist/core/fetcher/makeRequest.d.ts +0 -1
- package/dist/core/fetcher/makeRequest.js +0 -42
- package/dist/core/fetcher/requestWithRetries.d.ts +0 -1
- package/dist/core/fetcher/requestWithRetries.js +0 -32
- package/dist/core/fetcher/signals.d.ts +0 -12
- package/dist/core/fetcher/signals.js +0 -37
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -31
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -245
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -22
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -124
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -227
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -50
- package/dist/core/index.d.ts +0 -3
- package/dist/core/index.js +0 -32
- package/dist/core/runtime/index.d.ts +0 -1
- package/dist/core/runtime/index.js +0 -5
- package/dist/core/runtime/runtime.d.ts +0 -9
- package/dist/core/runtime/runtime.js +0 -93
- package/dist/core/schemas/Schema.d.ts +0 -84
- package/dist/core/schemas/Schema.js +0 -21
- package/dist/core/schemas/builders/date/date.d.ts +0 -2
- package/dist/core/schemas/builders/date/date.js +0 -63
- package/dist/core/schemas/builders/date/index.d.ts +0 -1
- package/dist/core/schemas/builders/date/index.js +0 -5
- package/dist/core/schemas/builders/enum/enum.d.ts +0 -2
- package/dist/core/schemas/builders/enum/enum.js +0 -39
- package/dist/core/schemas/builders/enum/index.d.ts +0 -1
- package/dist/core/schemas/builders/enum/index.js +0 -5
- package/dist/core/schemas/builders/index.d.ts +0 -13
- package/dist/core/schemas/builders/index.js +0 -29
- package/dist/core/schemas/builders/lazy/index.d.ts +0 -3
- package/dist/core/schemas/builders/lazy/index.js +0 -7
- package/dist/core/schemas/builders/lazy/lazy.d.ts +0 -5
- package/dist/core/schemas/builders/lazy/lazy.js +0 -25
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
- package/dist/core/schemas/builders/lazy/lazyObject.js +0 -12
- package/dist/core/schemas/builders/list/index.d.ts +0 -1
- package/dist/core/schemas/builders/list/index.js +0 -5
- package/dist/core/schemas/builders/list/list.d.ts +0 -2
- package/dist/core/schemas/builders/list/list.js +0 -55
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
- package/dist/core/schemas/builders/literals/booleanLiteral.js +0 -29
- package/dist/core/schemas/builders/literals/index.d.ts +0 -2
- package/dist/core/schemas/builders/literals/index.js +0 -7
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
- package/dist/core/schemas/builders/literals/stringLiteral.js +0 -29
- package/dist/core/schemas/builders/object/index.d.ts +0 -6
- package/dist/core/schemas/builders/object/index.js +0 -11
- package/dist/core/schemas/builders/object/object.d.ts +0 -3
- package/dist/core/schemas/builders/object/object.js +0 -233
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -8
- package/dist/core/schemas/builders/object/property.d.ts +0 -8
- package/dist/core/schemas/builders/object/property.js +0 -16
- package/dist/core/schemas/builders/object/types.d.ts +0 -26
- package/dist/core/schemas/builders/object/types.js +0 -2
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -54
- package/dist/core/schemas/builders/object-like/index.d.ts +0 -2
- package/dist/core/schemas/builders/object-like/index.js +0 -6
- package/dist/core/schemas/builders/object-like/types.d.ts +0 -7
- package/dist/core/schemas/builders/object-like/types.js +0 -2
- package/dist/core/schemas/builders/primitives/any.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/any.js +0 -6
- package/dist/core/schemas/builders/primitives/boolean.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/boolean.js +0 -25
- package/dist/core/schemas/builders/primitives/index.d.ts +0 -5
- package/dist/core/schemas/builders/primitives/index.js +0 -13
- package/dist/core/schemas/builders/primitives/number.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/number.js +0 -25
- package/dist/core/schemas/builders/primitives/string.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/string.js +0 -25
- package/dist/core/schemas/builders/primitives/unknown.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/unknown.js +0 -6
- package/dist/core/schemas/builders/record/index.d.ts +0 -2
- package/dist/core/schemas/builders/record/index.js +0 -5
- package/dist/core/schemas/builders/record/record.d.ts +0 -3
- package/dist/core/schemas/builders/record/record.js +0 -95
- package/dist/core/schemas/builders/record/types.d.ts +0 -4
- package/dist/core/schemas/builders/record/types.js +0 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
- package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -12
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
- package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -12
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -17
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -82
- package/dist/core/schemas/builders/schema-utils/index.d.ts +0 -4
- package/dist/core/schemas/builders/schema-utils/index.js +0 -11
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -10
- package/dist/core/schemas/builders/set/index.d.ts +0 -1
- package/dist/core/schemas/builders/set/index.js +0 -5
- package/dist/core/schemas/builders/set/set.d.ts +0 -2
- package/dist/core/schemas/builders/set/set.js +0 -44
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
- package/dist/core/schemas/builders/undiscriminated-union/index.js +0 -5
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
- package/dist/core/schemas/builders/undiscriminated-union/types.js +0 -2
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -40
- package/dist/core/schemas/builders/union/discriminant.d.ts +0 -5
- package/dist/core/schemas/builders/union/discriminant.js +0 -10
- package/dist/core/schemas/builders/union/index.d.ts +0 -4
- package/dist/core/schemas/builders/union/index.js +0 -7
- package/dist/core/schemas/builders/union/types.d.ts +0 -13
- package/dist/core/schemas/builders/union/types.js +0 -2
- package/dist/core/schemas/builders/union/union.d.ts +0 -4
- package/dist/core/schemas/builders/union/union.js +0 -130
- package/dist/core/schemas/index.d.ts +0 -2
- package/dist/core/schemas/index.js +0 -17
- package/dist/core/schemas/utils/MaybePromise.d.ts +0 -1
- package/dist/core/schemas/utils/MaybePromise.js +0 -2
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +0 -16
- package/dist/core/schemas/utils/entries.d.ts +0 -1
- package/dist/core/schemas/utils/entries.js +0 -7
- package/dist/core/schemas/utils/filterObject.d.ts +0 -1
- package/dist/core/schemas/utils/filterObject.js +0 -14
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -24
- package/dist/core/schemas/utils/isPlainObject.d.ts +0 -1
- package/dist/core/schemas/utils/isPlainObject.js +0 -18
- package/dist/core/schemas/utils/keys.d.ts +0 -1
- package/dist/core/schemas/utils/keys.js +0 -7
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
- package/dist/core/schemas/utils/maybeSkipValidation.js +0 -28
- package/dist/core/schemas/utils/partition.d.ts +0 -1
- package/dist/core/schemas/utils/partition.js +0 -16
- package/dist/environments.d.ts +0 -7
- package/dist/environments.js +0 -9
- package/dist/errors/ScorecardError.d.ts +0 -12
- package/dist/errors/ScorecardError.js +0 -32
- package/dist/errors/ScorecardTimeoutError.d.ts +0 -6
- package/dist/errors/ScorecardTimeoutError.js +0 -13
- package/dist/errors/index.d.ts +0 -2
- package/dist/errors/index.js +0 -7
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -34
- package/dist/serialization/index.d.ts +0 -2
- package/dist/serialization/index.js +0 -18
- package/dist/serialization/resources/index.d.ts +0 -19
- package/dist/serialization/resources/index.js +0 -48
- package/dist/serialization/resources/prompt/client/index.d.ts +0 -1
- package/dist/serialization/resources/prompt/client/index.js +0 -17
- package/dist/serialization/resources/prompt/client/requests/PromptCreateParams.d.ts +0 -20
- package/dist/serialization/resources/prompt/client/requests/PromptCreateParams.js +0 -41
- package/dist/serialization/resources/prompt/client/requests/PromptUpdateParams.d.ts +0 -12
- package/dist/serialization/resources/prompt/client/requests/PromptUpdateParams.js +0 -33
- package/dist/serialization/resources/prompt/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/prompt/client/requests/index.js +0 -7
- package/dist/serialization/resources/prompt/index.d.ts +0 -2
- package/dist/serialization/resources/prompt/index.js +0 -18
- package/dist/serialization/resources/prompt/types/PromptCreateParamsModelParamsValue.d.ts +0 -10
- package/dist/serialization/resources/prompt/types/PromptCreateParamsModelParamsValue.js +0 -36
- package/dist/serialization/resources/prompt/types/index.d.ts +0 -1
- package/dist/serialization/resources/prompt/types/index.js +0 -17
- package/dist/serialization/resources/run/client/index.d.ts +0 -1
- package/dist/serialization/resources/run/client/index.js +0 -17
- package/dist/serialization/resources/run/client/requests/RunCreateParams.d.ts +0 -19
- package/dist/serialization/resources/run/client/requests/RunCreateParams.js +0 -40
- package/dist/serialization/resources/run/client/requests/UpdateStatusParams.d.ts +0 -13
- package/dist/serialization/resources/run/client/requests/UpdateStatusParams.js +0 -34
- package/dist/serialization/resources/run/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/run/client/requests/index.js +0 -7
- package/dist/serialization/resources/run/index.d.ts +0 -1
- package/dist/serialization/resources/run/index.js +0 -17
- package/dist/serialization/resources/runMetric/client/get.d.ts +0 -11
- package/dist/serialization/resources/runMetric/client/get.js +0 -32
- package/dist/serialization/resources/runMetric/client/index.d.ts +0 -1
- package/dist/serialization/resources/runMetric/client/index.js +0 -27
- package/dist/serialization/resources/runMetric/index.d.ts +0 -1
- package/dist/serialization/resources/runMetric/index.js +0 -17
- package/dist/serialization/resources/score/client/index.d.ts +0 -1
- package/dist/serialization/resources/score/client/index.js +0 -17
- package/dist/serialization/resources/score/client/requests/ScoreCreateParams.d.ts +0 -15
- package/dist/serialization/resources/score/client/requests/ScoreCreateParams.js +0 -36
- package/dist/serialization/resources/score/client/requests/ScoreUpdateParams.d.ts +0 -14
- package/dist/serialization/resources/score/client/requests/ScoreUpdateParams.js +0 -35
- package/dist/serialization/resources/score/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/score/client/requests/index.js +0 -7
- package/dist/serialization/resources/score/index.d.ts +0 -1
- package/dist/serialization/resources/score/index.js +0 -17
- package/dist/serialization/resources/scoringConfig/client/index.d.ts +0 -1
- package/dist/serialization/resources/scoringConfig/client/index.js +0 -17
- package/dist/serialization/resources/scoringConfig/client/requests/ScoringConfigCreateParams.d.ts +0 -15
- package/dist/serialization/resources/scoringConfig/client/requests/ScoringConfigCreateParams.js +0 -36
- package/dist/serialization/resources/scoringConfig/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/scoringConfig/client/requests/index.js +0 -5
- package/dist/serialization/resources/scoringConfig/index.d.ts +0 -1
- package/dist/serialization/resources/scoringConfig/index.js +0 -17
- package/dist/serialization/resources/testcase/client/batchCopy.d.ts +0 -11
- package/dist/serialization/resources/testcase/client/batchCopy.js +0 -32
- package/dist/serialization/resources/testcase/client/index.d.ts +0 -2
- package/dist/serialization/resources/testcase/client/index.js +0 -31
- package/dist/serialization/resources/testcase/client/requests/TestcaseBatchCopyParams.d.ts +0 -12
- package/dist/serialization/resources/testcase/client/requests/TestcaseBatchCopyParams.js +0 -33
- package/dist/serialization/resources/testcase/client/requests/TestcaseBatchDeleteParams.d.ts +0 -12
- package/dist/serialization/resources/testcase/client/requests/TestcaseBatchDeleteParams.js +0 -33
- package/dist/serialization/resources/testcase/client/requests/TestcaseCreateParams.d.ts +0 -18
- package/dist/serialization/resources/testcase/client/requests/TestcaseCreateParams.js +0 -43
- package/dist/serialization/resources/testcase/client/requests/TestcaseUpdateParams.d.ts +0 -18
- package/dist/serialization/resources/testcase/client/requests/TestcaseUpdateParams.js +0 -43
- package/dist/serialization/resources/testcase/client/requests/index.d.ts +0 -4
- package/dist/serialization/resources/testcase/client/requests/index.js +0 -11
- package/dist/serialization/resources/testcase/index.d.ts +0 -2
- package/dist/serialization/resources/testcase/index.js +0 -18
- package/dist/serialization/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.d.ts +0 -11
- package/dist/serialization/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.js +0 -40
- package/dist/serialization/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.d.ts +0 -11
- package/dist/serialization/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.js +0 -40
- package/dist/serialization/resources/testcase/types/TestcaseUpdateParamsCustomInputsValue.d.ts +0 -11
- package/dist/serialization/resources/testcase/types/TestcaseUpdateParamsCustomInputsValue.js +0 -40
- package/dist/serialization/resources/testcase/types/TestcaseUpdateParamsCustomLabelsValue.d.ts +0 -11
- package/dist/serialization/resources/testcase/types/TestcaseUpdateParamsCustomLabelsValue.js +0 -40
- package/dist/serialization/resources/testcase/types/index.d.ts +0 -4
- package/dist/serialization/resources/testcase/types/index.js +0 -20
- package/dist/serialization/resources/testrecord/client/index.d.ts +0 -1
- package/dist/serialization/resources/testrecord/client/index.js +0 -17
- package/dist/serialization/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +0 -29
- package/dist/serialization/resources/testrecord/client/requests/TestrecordCreateParams.js +0 -60
- package/dist/serialization/resources/testrecord/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/testrecord/client/requests/index.js +0 -5
- package/dist/serialization/resources/testrecord/index.d.ts +0 -2
- package/dist/serialization/resources/testrecord/index.js +0 -18
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.d.ts +0 -11
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.js +0 -37
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.d.ts +0 -11
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.js +0 -37
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.d.ts +0 -11
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.js +0 -37
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.d.ts +0 -10
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.js +0 -35
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.d.ts +0 -10
- package/dist/serialization/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.js +0 -35
- package/dist/serialization/resources/testrecord/types/index.d.ts +0 -5
- package/dist/serialization/resources/testrecord/types/index.js +0 -21
- package/dist/serialization/resources/testset/client/index.d.ts +0 -1
- package/dist/serialization/resources/testset/client/index.js +0 -17
- package/dist/serialization/resources/testset/client/requests/TestsetCreateParams.d.ts +0 -21
- package/dist/serialization/resources/testset/client/requests/TestsetCreateParams.js +0 -42
- package/dist/serialization/resources/testset/client/requests/TestsetUpdateParams.d.ts +0 -16
- package/dist/serialization/resources/testset/client/requests/TestsetUpdateParams.js +0 -37
- package/dist/serialization/resources/testset/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/testset/client/requests/index.js +0 -7
- package/dist/serialization/resources/testset/index.d.ts +0 -1
- package/dist/serialization/resources/testset/index.js +0 -17
- package/dist/serialization/resources/tracing/client/index.d.ts +0 -1
- package/dist/serialization/resources/tracing/client/index.js +0 -27
- package/dist/serialization/resources/tracing/client/traces.d.ts +0 -11
- package/dist/serialization/resources/tracing/client/traces.js +0 -32
- package/dist/serialization/resources/tracing/index.d.ts +0 -1
- package/dist/serialization/resources/tracing/index.js +0 -17
- package/dist/serialization/types/CreateGithubWorkflowParams.d.ts +0 -10
- package/dist/serialization/types/CreateGithubWorkflowParams.js +0 -31
- package/dist/serialization/types/CreateRunParams.d.ts +0 -10
- package/dist/serialization/types/CreateRunParams.js +0 -31
- package/dist/serialization/types/CustomSchema.d.ts +0 -13
- package/dist/serialization/types/CustomSchema.js +0 -34
- package/dist/serialization/types/CustomVariable.d.ts +0 -17
- package/dist/serialization/types/CustomVariable.js +0 -38
- package/dist/serialization/types/DataTypeEnum.d.ts +0 -10
- package/dist/serialization/types/DataTypeEnum.js +0 -31
- package/dist/serialization/types/FileUrl.d.ts +0 -13
- package/dist/serialization/types/FileUrl.js +0 -34
- package/dist/serialization/types/Grade.d.ts +0 -26
- package/dist/serialization/types/Grade.js +0 -47
- package/dist/serialization/types/HttpValidationError.d.ts +0 -13
- package/dist/serialization/types/HttpValidationError.js +0 -34
- package/dist/serialization/types/IngestionMethod.d.ts +0 -10
- package/dist/serialization/types/IngestionMethod.js +0 -31
- package/dist/serialization/types/JsonObject.d.ts +0 -12
- package/dist/serialization/types/JsonObject.js +0 -34
- package/dist/serialization/types/JsonObjectInputValue.d.ts +0 -10
- package/dist/serialization/types/JsonObjectInputValue.js +0 -39
- package/dist/serialization/types/JsonObjectOutputValue.d.ts +0 -10
- package/dist/serialization/types/JsonObjectOutputValue.js +0 -39
- package/dist/serialization/types/NotFoundErrorBody.d.ts +0 -14
- package/dist/serialization/types/NotFoundErrorBody.js +0 -35
- package/dist/serialization/types/PaginatedTestcaseResponse.d.ts +0 -16
- package/dist/serialization/types/PaginatedTestcaseResponse.js +0 -37
- package/dist/serialization/types/Prompt.d.ts +0 -25
- package/dist/serialization/types/Prompt.js +0 -46
- package/dist/serialization/types/PromptCursorPage.d.ts +0 -18
- package/dist/serialization/types/PromptCursorPage.js +0 -39
- package/dist/serialization/types/PromptModelParamsValue.d.ts +0 -10
- package/dist/serialization/types/PromptModelParamsValue.js +0 -35
- package/dist/serialization/types/RoleEnum.d.ts +0 -10
- package/dist/serialization/types/RoleEnum.js +0 -31
- package/dist/serialization/types/Run.d.ts +0 -26
- package/dist/serialization/types/Run.js +0 -47
- package/dist/serialization/types/RunMetric.d.ts +0 -15
- package/dist/serialization/types/RunMetric.js +0 -36
- package/dist/serialization/types/RunStatus.d.ts +0 -10
- package/dist/serialization/types/RunStatus.js +0 -39
- package/dist/serialization/types/ScoreStatus.d.ts +0 -10
- package/dist/serialization/types/ScoreStatus.js +0 -31
- package/dist/serialization/types/ScoringConfig.d.ts +0 -21
- package/dist/serialization/types/ScoringConfig.js +0 -42
- package/dist/serialization/types/Span.d.ts +0 -34
- package/dist/serialization/types/Span.js +0 -56
- package/dist/serialization/types/TestCase.d.ts +0 -21
- package/dist/serialization/types/TestCase.js +0 -42
- package/dist/serialization/types/TestCaseCustomInputsValue.d.ts +0 -11
- package/dist/serialization/types/TestCaseCustomInputsValue.js +0 -40
- package/dist/serialization/types/TestCaseCustomLabelsValue.d.ts +0 -11
- package/dist/serialization/types/TestCaseCustomLabelsValue.js +0 -40
- package/dist/serialization/types/TestRecordCreate.d.ts +0 -10
- package/dist/serialization/types/TestRecordCreate.js +0 -31
- package/dist/serialization/types/TestSetCreate.d.ts +0 -10
- package/dist/serialization/types/TestSetCreate.js +0 -31
- package/dist/serialization/types/TestcaseBatchDeletionResponse.d.ts +0 -13
- package/dist/serialization/types/TestcaseBatchDeletionResponse.js +0 -34
- package/dist/serialization/types/TestcaseDeletionResponse.d.ts +0 -13
- package/dist/serialization/types/TestcaseDeletionResponse.js +0 -34
- package/dist/serialization/types/Testrecord.d.ts +0 -33
- package/dist/serialization/types/Testrecord.js +0 -54
- package/dist/serialization/types/TestrecordCustomInputsValue.d.ts +0 -11
- package/dist/serialization/types/TestrecordCustomInputsValue.js +0 -37
- package/dist/serialization/types/TestrecordCustomLabelsValue.d.ts +0 -11
- package/dist/serialization/types/TestrecordCustomLabelsValue.js +0 -37
- package/dist/serialization/types/TestrecordCustomOutputsValue.d.ts +0 -11
- package/dist/serialization/types/TestrecordCustomOutputsValue.js +0 -37
- package/dist/serialization/types/TestrecordModelDebugInfoValue.d.ts +0 -10
- package/dist/serialization/types/TestrecordModelDebugInfoValue.js +0 -35
- package/dist/serialization/types/TestrecordModelParamsValue.d.ts +0 -10
- package/dist/serialization/types/TestrecordModelParamsValue.js +0 -35
- package/dist/serialization/types/Testset.d.ts +0 -25
- package/dist/serialization/types/Testset.js +0 -46
- package/dist/serialization/types/TestsetCursorPage.d.ts +0 -18
- package/dist/serialization/types/TestsetCursorPage.js +0 -39
- package/dist/serialization/types/Trace.d.ts +0 -15
- package/dist/serialization/types/Trace.js +0 -37
- package/dist/serialization/types/UnauthenticatedError.d.ts +0 -14
- package/dist/serialization/types/UnauthenticatedError.js +0 -35
- package/dist/serialization/types/UnauthorizedErrorBody.d.ts +0 -14
- package/dist/serialization/types/UnauthorizedErrorBody.js +0 -35
- package/dist/serialization/types/ValidationError.d.ts +0 -15
- package/dist/serialization/types/ValidationError.js +0 -36
- package/dist/serialization/types/ValidationErrorLocItem.d.ts +0 -10
- package/dist/serialization/types/ValidationErrorLocItem.js +0 -31
- package/dist/serialization/types/index.d.ts +0 -44
- package/dist/serialization/types/index.js +0 -60
- package/dist/telemetry.d.ts +0 -1
- package/dist/telemetry.js +0 -83
- package/dist/wrapper/ScorecardClient.d.ts +0 -28
- package/dist/wrapper/ScorecardClient.js +0 -85
- package/environments.d.ts +0 -7
- package/environments.js +0 -9
- package/errors/ScorecardError.d.ts +0 -12
- package/errors/ScorecardError.js +0 -32
- package/errors/ScorecardTimeoutError.d.ts +0 -6
- package/errors/ScorecardTimeoutError.js +0 -13
- package/errors/index.d.ts +0 -2
- package/errors/index.js +0 -7
- package/jest.config.js +0 -5
- package/reference.md +0 -2211
- package/serialization/index.d.ts +0 -2
- package/serialization/index.js +0 -18
- package/serialization/resources/index.d.ts +0 -19
- package/serialization/resources/index.js +0 -48
- package/serialization/resources/prompt/client/index.d.ts +0 -1
- package/serialization/resources/prompt/client/index.js +0 -17
- package/serialization/resources/prompt/client/requests/PromptCreateParams.d.ts +0 -20
- package/serialization/resources/prompt/client/requests/PromptCreateParams.js +0 -41
- package/serialization/resources/prompt/client/requests/PromptUpdateParams.d.ts +0 -12
- package/serialization/resources/prompt/client/requests/PromptUpdateParams.js +0 -33
- package/serialization/resources/prompt/client/requests/index.d.ts +0 -2
- package/serialization/resources/prompt/client/requests/index.js +0 -7
- package/serialization/resources/prompt/index.d.ts +0 -2
- package/serialization/resources/prompt/index.js +0 -18
- package/serialization/resources/prompt/types/PromptCreateParamsModelParamsValue.d.ts +0 -10
- package/serialization/resources/prompt/types/PromptCreateParamsModelParamsValue.js +0 -36
- package/serialization/resources/prompt/types/index.d.ts +0 -1
- package/serialization/resources/prompt/types/index.js +0 -17
- package/serialization/resources/run/client/index.d.ts +0 -1
- package/serialization/resources/run/client/index.js +0 -17
- package/serialization/resources/run/client/requests/RunCreateParams.d.ts +0 -19
- package/serialization/resources/run/client/requests/RunCreateParams.js +0 -40
- package/serialization/resources/run/client/requests/UpdateStatusParams.d.ts +0 -13
- package/serialization/resources/run/client/requests/UpdateStatusParams.js +0 -34
- package/serialization/resources/run/client/requests/index.d.ts +0 -2
- package/serialization/resources/run/client/requests/index.js +0 -7
- package/serialization/resources/run/index.d.ts +0 -1
- package/serialization/resources/run/index.js +0 -17
- package/serialization/resources/runMetric/client/get.d.ts +0 -11
- package/serialization/resources/runMetric/client/get.js +0 -32
- package/serialization/resources/runMetric/client/index.d.ts +0 -1
- package/serialization/resources/runMetric/client/index.js +0 -27
- package/serialization/resources/runMetric/index.d.ts +0 -1
- package/serialization/resources/runMetric/index.js +0 -17
- package/serialization/resources/score/client/index.d.ts +0 -1
- package/serialization/resources/score/client/index.js +0 -17
- package/serialization/resources/score/client/requests/ScoreCreateParams.d.ts +0 -15
- package/serialization/resources/score/client/requests/ScoreCreateParams.js +0 -36
- package/serialization/resources/score/client/requests/ScoreUpdateParams.d.ts +0 -14
- package/serialization/resources/score/client/requests/ScoreUpdateParams.js +0 -35
- package/serialization/resources/score/client/requests/index.d.ts +0 -2
- package/serialization/resources/score/client/requests/index.js +0 -7
- package/serialization/resources/score/index.d.ts +0 -1
- package/serialization/resources/score/index.js +0 -17
- package/serialization/resources/scoringConfig/client/index.d.ts +0 -1
- package/serialization/resources/scoringConfig/client/index.js +0 -17
- package/serialization/resources/scoringConfig/client/requests/ScoringConfigCreateParams.d.ts +0 -15
- package/serialization/resources/scoringConfig/client/requests/ScoringConfigCreateParams.js +0 -36
- package/serialization/resources/scoringConfig/client/requests/index.d.ts +0 -1
- package/serialization/resources/scoringConfig/client/requests/index.js +0 -5
- package/serialization/resources/scoringConfig/index.d.ts +0 -1
- package/serialization/resources/scoringConfig/index.js +0 -17
- package/serialization/resources/testcase/client/batchCopy.d.ts +0 -11
- package/serialization/resources/testcase/client/batchCopy.js +0 -32
- package/serialization/resources/testcase/client/index.d.ts +0 -2
- package/serialization/resources/testcase/client/index.js +0 -31
- package/serialization/resources/testcase/client/requests/TestcaseBatchCopyParams.d.ts +0 -12
- package/serialization/resources/testcase/client/requests/TestcaseBatchCopyParams.js +0 -33
- package/serialization/resources/testcase/client/requests/TestcaseBatchDeleteParams.d.ts +0 -12
- package/serialization/resources/testcase/client/requests/TestcaseBatchDeleteParams.js +0 -33
- package/serialization/resources/testcase/client/requests/TestcaseCreateParams.d.ts +0 -18
- package/serialization/resources/testcase/client/requests/TestcaseCreateParams.js +0 -43
- package/serialization/resources/testcase/client/requests/TestcaseUpdateParams.d.ts +0 -18
- package/serialization/resources/testcase/client/requests/TestcaseUpdateParams.js +0 -43
- package/serialization/resources/testcase/client/requests/index.d.ts +0 -4
- package/serialization/resources/testcase/client/requests/index.js +0 -11
- package/serialization/resources/testcase/index.d.ts +0 -2
- package/serialization/resources/testcase/index.js +0 -18
- package/serialization/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.d.ts +0 -11
- package/serialization/resources/testcase/types/TestcaseCreateParamsCustomInputsValue.js +0 -40
- package/serialization/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.d.ts +0 -11
- package/serialization/resources/testcase/types/TestcaseCreateParamsCustomLabelsValue.js +0 -40
- package/serialization/resources/testcase/types/TestcaseUpdateParamsCustomInputsValue.d.ts +0 -11
- package/serialization/resources/testcase/types/TestcaseUpdateParamsCustomInputsValue.js +0 -40
- package/serialization/resources/testcase/types/TestcaseUpdateParamsCustomLabelsValue.d.ts +0 -11
- package/serialization/resources/testcase/types/TestcaseUpdateParamsCustomLabelsValue.js +0 -40
- package/serialization/resources/testcase/types/index.d.ts +0 -4
- package/serialization/resources/testcase/types/index.js +0 -20
- package/serialization/resources/testrecord/client/index.d.ts +0 -1
- package/serialization/resources/testrecord/client/index.js +0 -17
- package/serialization/resources/testrecord/client/requests/TestrecordCreateParams.d.ts +0 -29
- package/serialization/resources/testrecord/client/requests/TestrecordCreateParams.js +0 -60
- package/serialization/resources/testrecord/client/requests/index.d.ts +0 -1
- package/serialization/resources/testrecord/client/requests/index.js +0 -5
- package/serialization/resources/testrecord/index.d.ts +0 -2
- package/serialization/resources/testrecord/index.js +0 -18
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.d.ts +0 -11
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomInputsValue.js +0 -37
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.d.ts +0 -11
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomLabelsValue.js +0 -37
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.d.ts +0 -11
- package/serialization/resources/testrecord/types/TestrecordCreateParamsCustomOutputsValue.js +0 -37
- package/serialization/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.d.ts +0 -10
- package/serialization/resources/testrecord/types/TestrecordCreateParamsModelDebugInfoValue.js +0 -35
- package/serialization/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.d.ts +0 -10
- package/serialization/resources/testrecord/types/TestrecordCreateParamsModelParamsValue.js +0 -35
- package/serialization/resources/testrecord/types/index.d.ts +0 -5
- package/serialization/resources/testrecord/types/index.js +0 -21
- package/serialization/resources/testset/client/index.d.ts +0 -1
- package/serialization/resources/testset/client/index.js +0 -17
- package/serialization/resources/testset/client/requests/TestsetCreateParams.d.ts +0 -21
- package/serialization/resources/testset/client/requests/TestsetCreateParams.js +0 -42
- package/serialization/resources/testset/client/requests/TestsetUpdateParams.d.ts +0 -16
- package/serialization/resources/testset/client/requests/TestsetUpdateParams.js +0 -37
- package/serialization/resources/testset/client/requests/index.d.ts +0 -2
- package/serialization/resources/testset/client/requests/index.js +0 -7
- package/serialization/resources/testset/index.d.ts +0 -1
- package/serialization/resources/testset/index.js +0 -17
- package/serialization/resources/tracing/client/index.d.ts +0 -1
- package/serialization/resources/tracing/client/index.js +0 -27
- package/serialization/resources/tracing/client/traces.d.ts +0 -11
- package/serialization/resources/tracing/client/traces.js +0 -32
- package/serialization/resources/tracing/index.d.ts +0 -1
- package/serialization/resources/tracing/index.js +0 -17
- package/serialization/types/CreateGithubWorkflowParams.d.ts +0 -10
- package/serialization/types/CreateGithubWorkflowParams.js +0 -31
- package/serialization/types/CreateRunParams.d.ts +0 -10
- package/serialization/types/CreateRunParams.js +0 -31
- package/serialization/types/CustomSchema.d.ts +0 -13
- package/serialization/types/CustomSchema.js +0 -34
- package/serialization/types/CustomVariable.d.ts +0 -17
- package/serialization/types/CustomVariable.js +0 -38
- package/serialization/types/DataTypeEnum.d.ts +0 -10
- package/serialization/types/DataTypeEnum.js +0 -31
- package/serialization/types/FileUrl.d.ts +0 -13
- package/serialization/types/FileUrl.js +0 -34
- package/serialization/types/Grade.d.ts +0 -26
- package/serialization/types/Grade.js +0 -47
- package/serialization/types/HttpValidationError.d.ts +0 -13
- package/serialization/types/HttpValidationError.js +0 -34
- package/serialization/types/IngestionMethod.d.ts +0 -10
- package/serialization/types/IngestionMethod.js +0 -31
- package/serialization/types/JsonObject.d.ts +0 -12
- package/serialization/types/JsonObject.js +0 -34
- package/serialization/types/JsonObjectInputValue.d.ts +0 -10
- package/serialization/types/JsonObjectInputValue.js +0 -39
- package/serialization/types/JsonObjectOutputValue.d.ts +0 -10
- package/serialization/types/JsonObjectOutputValue.js +0 -39
- package/serialization/types/NotFoundErrorBody.d.ts +0 -14
- package/serialization/types/NotFoundErrorBody.js +0 -35
- package/serialization/types/PaginatedTestcaseResponse.d.ts +0 -16
- package/serialization/types/PaginatedTestcaseResponse.js +0 -37
- package/serialization/types/Prompt.d.ts +0 -25
- package/serialization/types/Prompt.js +0 -46
- package/serialization/types/PromptCursorPage.d.ts +0 -18
- package/serialization/types/PromptCursorPage.js +0 -39
- package/serialization/types/PromptModelParamsValue.d.ts +0 -10
- package/serialization/types/PromptModelParamsValue.js +0 -35
- package/serialization/types/RoleEnum.d.ts +0 -10
- package/serialization/types/RoleEnum.js +0 -31
- package/serialization/types/Run.d.ts +0 -26
- package/serialization/types/Run.js +0 -47
- package/serialization/types/RunMetric.d.ts +0 -15
- package/serialization/types/RunMetric.js +0 -36
- package/serialization/types/RunStatus.d.ts +0 -10
- package/serialization/types/RunStatus.js +0 -39
- package/serialization/types/ScoreStatus.d.ts +0 -10
- package/serialization/types/ScoreStatus.js +0 -31
- package/serialization/types/ScoringConfig.d.ts +0 -21
- package/serialization/types/ScoringConfig.js +0 -42
- package/serialization/types/Span.d.ts +0 -34
- package/serialization/types/Span.js +0 -56
- package/serialization/types/TestCase.d.ts +0 -21
- package/serialization/types/TestCase.js +0 -42
- package/serialization/types/TestCaseCustomInputsValue.d.ts +0 -11
- package/serialization/types/TestCaseCustomInputsValue.js +0 -40
- package/serialization/types/TestCaseCustomLabelsValue.d.ts +0 -11
- package/serialization/types/TestCaseCustomLabelsValue.js +0 -40
- package/serialization/types/TestRecordCreate.d.ts +0 -10
- package/serialization/types/TestRecordCreate.js +0 -31
- package/serialization/types/TestSetCreate.d.ts +0 -10
- package/serialization/types/TestSetCreate.js +0 -31
- package/serialization/types/TestcaseBatchDeletionResponse.d.ts +0 -13
- package/serialization/types/TestcaseBatchDeletionResponse.js +0 -34
- package/serialization/types/TestcaseDeletionResponse.d.ts +0 -13
- package/serialization/types/TestcaseDeletionResponse.js +0 -34
- package/serialization/types/Testrecord.d.ts +0 -33
- package/serialization/types/Testrecord.js +0 -54
- package/serialization/types/TestrecordCustomInputsValue.d.ts +0 -11
- package/serialization/types/TestrecordCustomInputsValue.js +0 -37
- package/serialization/types/TestrecordCustomLabelsValue.d.ts +0 -11
- package/serialization/types/TestrecordCustomLabelsValue.js +0 -37
- package/serialization/types/TestrecordCustomOutputsValue.d.ts +0 -11
- package/serialization/types/TestrecordCustomOutputsValue.js +0 -37
- package/serialization/types/TestrecordModelDebugInfoValue.d.ts +0 -10
- package/serialization/types/TestrecordModelDebugInfoValue.js +0 -35
- package/serialization/types/TestrecordModelParamsValue.d.ts +0 -10
- package/serialization/types/TestrecordModelParamsValue.js +0 -35
- package/serialization/types/Testset.d.ts +0 -25
- package/serialization/types/Testset.js +0 -46
- package/serialization/types/TestsetCursorPage.d.ts +0 -18
- package/serialization/types/TestsetCursorPage.js +0 -39
- package/serialization/types/Trace.d.ts +0 -15
- package/serialization/types/Trace.js +0 -37
- package/serialization/types/UnauthenticatedError.d.ts +0 -14
- package/serialization/types/UnauthenticatedError.js +0 -35
- package/serialization/types/UnauthorizedErrorBody.d.ts +0 -14
- package/serialization/types/UnauthorizedErrorBody.js +0 -35
- package/serialization/types/ValidationError.d.ts +0 -15
- package/serialization/types/ValidationError.js +0 -36
- package/serialization/types/ValidationErrorLocItem.d.ts +0 -10
- package/serialization/types/ValidationErrorLocItem.js +0 -31
- package/serialization/types/index.d.ts +0 -44
- package/serialization/types/index.js +0 -60
- package/telemetry.d.ts +0 -1
- package/telemetry.js +0 -83
- package/wrapper/ScorecardClient.d.ts +0 -28
- package/wrapper/ScorecardClient.js +0 -85
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
// this config is included in the published src directory to prevent TS errors
|
|
3
|
+
// from appearing when users go to source, and VSCode opens the source .ts file
|
|
4
|
+
// via declaration maps
|
|
5
|
+
"include": ["index.ts"],
|
|
6
|
+
"compilerOptions": {
|
|
7
|
+
"target": "ES2015",
|
|
8
|
+
"lib": ["DOM", "DOM.Iterable", "ES2018"],
|
|
9
|
+
"moduleResolution": "node"
|
|
10
|
+
}
|
|
11
|
+
}
|
package/src/uploads.ts
ADDED
package/src/version.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const VERSION = '1.0.0-alpha.0'; // x-release-please-version
|
package/uploads.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
package/uploads.d.ts
ADDED
package/uploads.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
package/uploads.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/** @deprecated Import from ./core/uploads instead */
|
|
18
|
+
__exportStar(require("./core/uploads.js"), exports);
|
|
19
|
+
//# sourceMappingURL=uploads.js.map
|
package/uploads.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploads.js","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oDAA+B"}
|
package/uploads.mjs
ADDED
package/uploads.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
package/version.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,kBAAkB,CAAC"}
|
package/version.d.ts
ADDED
package/version.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,kBAAkB,CAAC"}
|
package/version.js
ADDED
package/version.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,eAAe,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
ADDED
package/version.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC,CAAC,2BAA2B"}
|
package/Client.d.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "./environments";
|
|
5
|
-
import * as core from "./core";
|
|
6
|
-
import { Testset } from "./api/resources/testset/client/Client";
|
|
7
|
-
import { Testcase } from "./api/resources/testcase/client/Client";
|
|
8
|
-
import { Testrecord } from "./api/resources/testrecord/client/Client";
|
|
9
|
-
import { Run } from "./api/resources/run/client/Client";
|
|
10
|
-
import { Score } from "./api/resources/score/client/Client";
|
|
11
|
-
import { RunMetric } from "./api/resources/runMetric/client/Client";
|
|
12
|
-
import { Tracing } from "./api/resources/tracing/client/Client";
|
|
13
|
-
import { Prompt } from "./api/resources/prompt/client/Client";
|
|
14
|
-
import { ScoringConfig } from "./api/resources/scoringConfig/client/Client";
|
|
15
|
-
export declare namespace ScorecardClient {
|
|
16
|
-
interface Options {
|
|
17
|
-
environment?: core.Supplier<environments.ScorecardEnvironment | string>;
|
|
18
|
-
apiKey: core.Supplier<string>;
|
|
19
|
-
fetcher?: core.FetchFunction;
|
|
20
|
-
}
|
|
21
|
-
interface RequestOptions {
|
|
22
|
-
/** The maximum time to wait for a response in seconds. */
|
|
23
|
-
timeoutInSeconds?: number;
|
|
24
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
25
|
-
maxRetries?: number;
|
|
26
|
-
/** A hook to abort the request. */
|
|
27
|
-
abortSignal?: AbortSignal;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export declare class ScorecardClient {
|
|
31
|
-
protected readonly _options: ScorecardClient.Options;
|
|
32
|
-
constructor(_options: ScorecardClient.Options);
|
|
33
|
-
protected _testset: Testset | undefined;
|
|
34
|
-
get testset(): Testset;
|
|
35
|
-
protected _testcase: Testcase | undefined;
|
|
36
|
-
get testcase(): Testcase;
|
|
37
|
-
protected _testrecord: Testrecord | undefined;
|
|
38
|
-
get testrecord(): Testrecord;
|
|
39
|
-
protected _run: Run | undefined;
|
|
40
|
-
get run(): Run;
|
|
41
|
-
protected _score: Score | undefined;
|
|
42
|
-
get score(): Score;
|
|
43
|
-
protected _runMetric: RunMetric | undefined;
|
|
44
|
-
get runMetric(): RunMetric;
|
|
45
|
-
protected _tracing: Tracing | undefined;
|
|
46
|
-
get tracing(): Tracing;
|
|
47
|
-
protected _prompt: Prompt | undefined;
|
|
48
|
-
get prompt(): Prompt;
|
|
49
|
-
protected _scoringConfig: ScoringConfig | undefined;
|
|
50
|
-
get scoringConfig(): ScoringConfig;
|
|
51
|
-
}
|
package/Client.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ScorecardClient = void 0;
|
|
7
|
-
const Client_1 = require("./api/resources/testset/client/Client");
|
|
8
|
-
const Client_2 = require("./api/resources/testcase/client/Client");
|
|
9
|
-
const Client_3 = require("./api/resources/testrecord/client/Client");
|
|
10
|
-
const Client_4 = require("./api/resources/run/client/Client");
|
|
11
|
-
const Client_5 = require("./api/resources/score/client/Client");
|
|
12
|
-
const Client_6 = require("./api/resources/runMetric/client/Client");
|
|
13
|
-
const Client_7 = require("./api/resources/tracing/client/Client");
|
|
14
|
-
const Client_8 = require("./api/resources/prompt/client/Client");
|
|
15
|
-
const Client_9 = require("./api/resources/scoringConfig/client/Client");
|
|
16
|
-
class ScorecardClient {
|
|
17
|
-
constructor(_options) {
|
|
18
|
-
this._options = _options;
|
|
19
|
-
}
|
|
20
|
-
get testset() {
|
|
21
|
-
var _a;
|
|
22
|
-
return ((_a = this._testset) !== null && _a !== void 0 ? _a : (this._testset = new Client_1.Testset(this._options)));
|
|
23
|
-
}
|
|
24
|
-
get testcase() {
|
|
25
|
-
var _a;
|
|
26
|
-
return ((_a = this._testcase) !== null && _a !== void 0 ? _a : (this._testcase = new Client_2.Testcase(this._options)));
|
|
27
|
-
}
|
|
28
|
-
get testrecord() {
|
|
29
|
-
var _a;
|
|
30
|
-
return ((_a = this._testrecord) !== null && _a !== void 0 ? _a : (this._testrecord = new Client_3.Testrecord(this._options)));
|
|
31
|
-
}
|
|
32
|
-
get run() {
|
|
33
|
-
var _a;
|
|
34
|
-
return ((_a = this._run) !== null && _a !== void 0 ? _a : (this._run = new Client_4.Run(this._options)));
|
|
35
|
-
}
|
|
36
|
-
get score() {
|
|
37
|
-
var _a;
|
|
38
|
-
return ((_a = this._score) !== null && _a !== void 0 ? _a : (this._score = new Client_5.Score(this._options)));
|
|
39
|
-
}
|
|
40
|
-
get runMetric() {
|
|
41
|
-
var _a;
|
|
42
|
-
return ((_a = this._runMetric) !== null && _a !== void 0 ? _a : (this._runMetric = new Client_6.RunMetric(this._options)));
|
|
43
|
-
}
|
|
44
|
-
get tracing() {
|
|
45
|
-
var _a;
|
|
46
|
-
return ((_a = this._tracing) !== null && _a !== void 0 ? _a : (this._tracing = new Client_7.Tracing(this._options)));
|
|
47
|
-
}
|
|
48
|
-
get prompt() {
|
|
49
|
-
var _a;
|
|
50
|
-
return ((_a = this._prompt) !== null && _a !== void 0 ? _a : (this._prompt = new Client_8.Prompt(this._options)));
|
|
51
|
-
}
|
|
52
|
-
get scoringConfig() {
|
|
53
|
-
var _a;
|
|
54
|
-
return ((_a = this._scoringConfig) !== null && _a !== void 0 ? _a : (this._scoringConfig = new Client_9.ScoringConfig(this._options)));
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
exports.ScorecardClient = ScorecardClient;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as errors from "../../errors/index";
|
|
5
|
-
import * as Scorecard from "../index";
|
|
6
|
-
export declare class ForbiddenError extends errors.ScorecardError {
|
|
7
|
-
constructor(body: Scorecard.UnauthorizedErrorBody);
|
|
8
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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.ForbiddenError = void 0;
|
|
30
|
-
const errors = __importStar(require("../../errors/index"));
|
|
31
|
-
class ForbiddenError extends errors.ScorecardError {
|
|
32
|
-
constructor(body) {
|
|
33
|
-
super({
|
|
34
|
-
message: "ForbiddenError",
|
|
35
|
-
statusCode: 403,
|
|
36
|
-
body: body,
|
|
37
|
-
});
|
|
38
|
-
Object.setPrototypeOf(this, ForbiddenError.prototype);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.ForbiddenError = ForbiddenError;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as errors from "../../errors/index";
|
|
5
|
-
import * as Scorecard from "../index";
|
|
6
|
-
export declare class NotFoundError extends errors.ScorecardError {
|
|
7
|
-
constructor(body: Scorecard.NotFoundErrorBody);
|
|
8
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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.NotFoundError = void 0;
|
|
30
|
-
const errors = __importStar(require("../../errors/index"));
|
|
31
|
-
class NotFoundError extends errors.ScorecardError {
|
|
32
|
-
constructor(body) {
|
|
33
|
-
super({
|
|
34
|
-
message: "NotFoundError",
|
|
35
|
-
statusCode: 404,
|
|
36
|
-
body: body,
|
|
37
|
-
});
|
|
38
|
-
Object.setPrototypeOf(this, NotFoundError.prototype);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.NotFoundError = NotFoundError;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as errors from "../../errors/index";
|
|
5
|
-
import * as Scorecard from "../index";
|
|
6
|
-
export declare class UnauthorizedError extends errors.ScorecardError {
|
|
7
|
-
constructor(body: Scorecard.UnauthenticatedError);
|
|
8
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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.UnauthorizedError = void 0;
|
|
30
|
-
const errors = __importStar(require("../../errors/index"));
|
|
31
|
-
class UnauthorizedError extends errors.ScorecardError {
|
|
32
|
-
constructor(body) {
|
|
33
|
-
super({
|
|
34
|
-
message: "UnauthorizedError",
|
|
35
|
-
statusCode: 401,
|
|
36
|
-
body: body,
|
|
37
|
-
});
|
|
38
|
-
Object.setPrototypeOf(this, UnauthorizedError.prototype);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.UnauthorizedError = UnauthorizedError;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as errors from "../../errors/index";
|
|
5
|
-
import * as Scorecard from "../index";
|
|
6
|
-
export declare class UnprocessableEntityError extends errors.ScorecardError {
|
|
7
|
-
constructor(body: Scorecard.HttpValidationError);
|
|
8
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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.UnprocessableEntityError = void 0;
|
|
30
|
-
const errors = __importStar(require("../../errors/index"));
|
|
31
|
-
class UnprocessableEntityError extends errors.ScorecardError {
|
|
32
|
-
constructor(body) {
|
|
33
|
-
super({
|
|
34
|
-
message: "UnprocessableEntityError",
|
|
35
|
-
statusCode: 422,
|
|
36
|
-
body: body,
|
|
37
|
-
});
|
|
38
|
-
Object.setPrototypeOf(this, UnprocessableEntityError.prototype);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.UnprocessableEntityError = UnprocessableEntityError;
|
package/api/errors/index.d.ts
DELETED
package/api/errors/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./UnauthorizedError"), exports);
|
|
18
|
-
__exportStar(require("./ForbiddenError"), exports);
|
|
19
|
-
__exportStar(require("./NotFoundError"), exports);
|
|
20
|
-
__exportStar(require("./UnprocessableEntityError"), exports);
|
package/api/index.d.ts
DELETED
package/api/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./resources"), exports);
|
|
18
|
-
__exportStar(require("./types"), exports);
|
|
19
|
-
__exportStar(require("./errors"), exports);
|
package/api/resources/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export * as testcase from "./testcase";
|
|
2
|
-
export * from "./testcase/types";
|
|
3
|
-
export * as testrecord from "./testrecord";
|
|
4
|
-
export * from "./testrecord/types";
|
|
5
|
-
export * as prompt from "./prompt";
|
|
6
|
-
export * from "./prompt/types";
|
|
7
|
-
export * as testset from "./testset";
|
|
8
|
-
export * as run from "./run";
|
|
9
|
-
export * as score from "./score";
|
|
10
|
-
export * as runMetric from "./runMetric";
|
|
11
|
-
export * as tracing from "./tracing";
|
|
12
|
-
export * as scoringConfig from "./scoringConfig";
|
|
13
|
-
export * from "./testset/client/requests";
|
|
14
|
-
export * from "./testcase/client/requests";
|
|
15
|
-
export * from "./testrecord/client/requests";
|
|
16
|
-
export * from "./run/client/requests";
|
|
17
|
-
export * from "./score/client/requests";
|
|
18
|
-
export * from "./prompt/client/requests";
|
|
19
|
-
export * from "./scoringConfig/client/requests";
|
package/api/resources/index.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.scoringConfig = exports.tracing = exports.runMetric = exports.score = exports.run = exports.testset = exports.prompt = exports.testrecord = exports.testcase = void 0;
|
|
30
|
-
exports.testcase = __importStar(require("./testcase"));
|
|
31
|
-
__exportStar(require("./testcase/types"), exports);
|
|
32
|
-
exports.testrecord = __importStar(require("./testrecord"));
|
|
33
|
-
__exportStar(require("./testrecord/types"), exports);
|
|
34
|
-
exports.prompt = __importStar(require("./prompt"));
|
|
35
|
-
__exportStar(require("./prompt/types"), exports);
|
|
36
|
-
exports.testset = __importStar(require("./testset"));
|
|
37
|
-
exports.run = __importStar(require("./run"));
|
|
38
|
-
exports.score = __importStar(require("./score"));
|
|
39
|
-
exports.runMetric = __importStar(require("./runMetric"));
|
|
40
|
-
exports.tracing = __importStar(require("./tracing"));
|
|
41
|
-
exports.scoringConfig = __importStar(require("./scoringConfig"));
|
|
42
|
-
__exportStar(require("./testset/client/requests"), exports);
|
|
43
|
-
__exportStar(require("./testcase/client/requests"), exports);
|
|
44
|
-
__exportStar(require("./testrecord/client/requests"), exports);
|
|
45
|
-
__exportStar(require("./run/client/requests"), exports);
|
|
46
|
-
__exportStar(require("./score/client/requests"), exports);
|
|
47
|
-
__exportStar(require("./prompt/client/requests"), exports);
|
|
48
|
-
__exportStar(require("./scoringConfig/client/requests"), exports);
|