openlayer 0.17.0 → 0.18.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 +43 -0
- package/README.md +112 -60
- 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 +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/bin/cli +53 -0
- package/bin/migration-config.json +6 -0
- package/client.d.mts +186 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +186 -0
- package/client.d.ts.map +1 -0
- package/client.js +463 -0
- package/client.js.map +1 -0
- package/client.mjs +459 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -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/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 +1 -46
- package/error.d.ts.map +1 -1
- package/error.js +3 -110
- package/error.js.map +1 -1
- package/error.mjs +1 -96
- package/error.mjs.map +1 -1
- package/index.d.mts +6 -124
- package/index.d.mts.map +1 -0
- package/index.d.ts +5 -123
- package/index.d.ts.map +1 -1
- package/index.js +12 -140
- package/index.js.map +1 -1
- package/index.mjs +5 -103
- package/index.mjs.map +1 -1
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -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 +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +35 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +32 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +1 -0
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/formats.js +4 -2
- package/internal/qs/formats.js.map +1 -1
- package/internal/qs/formats.mjs +2 -1
- package/internal/qs/formats.mjs.map +1 -1
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.js +15 -17
- package/internal/qs/stringify.js.map +1 -1
- package/internal/qs/stringify.mjs +17 -19
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +1 -0
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.js +14 -13
- package/internal/qs/utils.js.map +1 -1
- package/internal/qs/utils.mjs +12 -12
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -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 +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.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 +92 -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 +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -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 +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +85 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -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 +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -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 +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.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 +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -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 +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -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 +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -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 +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/lib/core/cli.d.mts +24 -0
- package/lib/core/cli.d.mts.map +1 -0
- package/lib/core/cli.js +3 -35
- package/lib/core/cli.js.map +1 -1
- package/lib/core/openai-monitor.d.mts +57 -0
- package/lib/core/openai-monitor.d.mts.map +1 -0
- package/lib/core/openai-monitor.d.ts.map +1 -1
- package/lib/core/openai-monitor.js +2 -4
- package/lib/core/openai-monitor.js.map +1 -1
- package/lib/integrations/bedrockAgentTracer.d.mts +3 -0
- package/lib/integrations/bedrockAgentTracer.d.mts.map +1 -0
- package/lib/integrations/bedrockAgentTracer.d.ts.map +1 -1
- package/lib/integrations/bedrockAgentTracer.js +2 -4
- package/lib/integrations/bedrockAgentTracer.js.map +1 -1
- package/lib/integrations/index.d.mts +5 -0
- package/lib/integrations/index.d.mts.map +1 -0
- package/lib/integrations/index.d.ts.map +1 -1
- package/lib/integrations/index.js +5 -18
- package/lib/integrations/index.js.map +1 -1
- package/lib/integrations/langchainCallback.d.mts +89 -0
- package/lib/integrations/langchainCallback.d.mts.map +1 -0
- package/lib/integrations/langchainCallback.d.ts.map +1 -1
- package/lib/integrations/openAiTracer.d.mts +3 -0
- package/lib/integrations/openAiTracer.d.mts.map +1 -0
- package/lib/integrations/openAiTracer.d.ts.map +1 -1
- package/lib/integrations/openAiTracer.js +2 -4
- package/lib/integrations/openAiTracer.js.map +1 -1
- package/lib/integrations/tracedTool.d.mts +66 -0
- package/lib/integrations/tracedTool.d.mts.map +1 -0
- package/lib/integrations/tracedTool.d.ts.map +1 -1
- package/lib/integrations/tracedTool.js +0 -1
- package/lib/integrations/tracedTool.js.map +1 -1
- package/lib/integrations/tracedTool.mjs +0 -1
- package/lib/integrations/tracedTool.mjs.map +1 -1
- package/lib/tracing/steps.d.mts +174 -0
- package/lib/tracing/steps.d.mts.map +1 -0
- package/lib/tracing/tracer.d.mts +94 -0
- package/lib/tracing/tracer.d.mts.map +1 -0
- package/lib/tracing/tracer.d.ts.map +1 -1
- package/lib/tracing/tracer.js +2 -4
- package/lib/tracing/tracer.js.map +1 -1
- package/lib/tracing/traces.d.mts +9 -0
- package/lib/tracing/traces.d.mts.map +1 -0
- package/lib/tracing/traces.d.ts.map +1 -1
- package/package.json +114 -65
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +1 -5
- package/resource.d.ts.map +1 -1
- package/resource.js +3 -8
- package/resource.js.map +1 -1
- package/resource.mjs +1 -6
- package/resource.mjs.map +1 -1
- package/resources/commits/commits.d.mts +139 -0
- package/resources/commits/commits.d.mts.map +1 -0
- package/resources/commits/commits.d.ts +4 -3
- package/resources/commits/commits.d.ts.map +1 -1
- package/resources/commits/commits.js +6 -37
- package/resources/commits/commits.js.map +1 -1
- package/resources/commits/commits.mjs +4 -3
- package/resources/commits/commits.mjs.map +1 -1
- package/resources/commits/index.d.mts +3 -0
- package/resources/commits/index.d.mts.map +1 -0
- package/resources/commits/index.d.ts.map +1 -1
- package/resources/commits/test-results.d.mts +214 -0
- package/resources/commits/test-results.d.mts.map +1 -0
- package/resources/commits/test-results.d.ts +4 -4
- package/resources/commits/test-results.d.ts.map +1 -1
- package/resources/commits/test-results.js +7 -7
- package/resources/commits/test-results.js.map +1 -1
- package/resources/commits/test-results.mjs +7 -7
- package/resources/commits/test-results.mjs.map +1 -1
- package/resources/commits.d.mts +2 -0
- package/resources/commits.d.mts.map +1 -0
- package/resources/commits.d.ts.map +1 -1
- package/resources/commits.js +2 -15
- package/resources/commits.js.map +1 -1
- package/resources/index.d.mts +5 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/inference-pipelines/data.d.mts +257 -0
- package/resources/inference-pipelines/data.d.mts.map +1 -0
- package/resources/inference-pipelines/data.d.ts +4 -3
- package/resources/inference-pipelines/data.d.ts.map +1 -1
- package/resources/inference-pipelines/data.js +7 -3
- package/resources/inference-pipelines/data.js.map +1 -1
- package/resources/inference-pipelines/data.mjs +7 -3
- package/resources/inference-pipelines/data.mjs.map +1 -1
- package/resources/inference-pipelines/index.d.mts +5 -0
- package/resources/inference-pipelines/index.d.mts.map +1 -0
- package/resources/inference-pipelines/index.d.ts.map +1 -1
- package/resources/inference-pipelines/inference-pipelines.d.mts +507 -0
- package/resources/inference-pipelines/inference-pipelines.d.mts.map +1 -0
- package/resources/inference-pipelines/inference-pipelines.d.ts +6 -7
- package/resources/inference-pipelines/inference-pipelines.d.ts.map +1 -1
- package/resources/inference-pipelines/inference-pipelines.js +36 -51
- package/resources/inference-pipelines/inference-pipelines.js.map +1 -1
- package/resources/inference-pipelines/inference-pipelines.mjs +32 -15
- package/resources/inference-pipelines/inference-pipelines.mjs.map +1 -1
- package/resources/inference-pipelines/rows.d.mts +65 -0
- package/resources/inference-pipelines/rows.d.mts.map +1 -0
- package/resources/inference-pipelines/rows.d.ts +4 -3
- package/resources/inference-pipelines/rows.d.ts.map +1 -1
- package/resources/inference-pipelines/rows.js +4 -3
- package/resources/inference-pipelines/rows.js.map +1 -1
- package/resources/inference-pipelines/rows.mjs +4 -3
- package/resources/inference-pipelines/rows.mjs.map +1 -1
- package/resources/inference-pipelines/test-results.d.mts +218 -0
- package/resources/inference-pipelines/test-results.d.mts.map +1 -0
- package/resources/inference-pipelines/test-results.d.ts +4 -4
- package/resources/inference-pipelines/test-results.d.ts.map +1 -1
- package/resources/inference-pipelines/test-results.js +15 -7
- package/resources/inference-pipelines/test-results.js.map +1 -1
- package/resources/inference-pipelines/test-results.mjs +15 -7
- package/resources/inference-pipelines/test-results.mjs.map +1 -1
- package/resources/inference-pipelines.d.mts +2 -0
- package/resources/inference-pipelines.d.mts.map +1 -0
- package/resources/inference-pipelines.d.ts.map +1 -1
- package/resources/inference-pipelines.js +2 -15
- package/resources/inference-pipelines.js.map +1 -1
- package/resources/projects/commits.d.mts +323 -0
- package/resources/projects/commits.d.mts.map +1 -0
- package/resources/projects/commits.d.ts +5 -5
- package/resources/projects/commits.d.ts.map +1 -1
- package/resources/projects/commits.js +16 -9
- package/resources/projects/commits.js.map +1 -1
- package/resources/projects/commits.mjs +16 -9
- package/resources/projects/commits.mjs.map +1 -1
- package/resources/projects/index.d.mts +5 -0
- package/resources/projects/index.d.mts.map +1 -0
- package/resources/projects/index.d.ts.map +1 -1
- package/resources/projects/inference-pipelines.d.mts +533 -0
- package/resources/projects/inference-pipelines.d.mts.map +1 -0
- package/resources/projects/inference-pipelines.d.ts +5 -5
- package/resources/projects/inference-pipelines.d.ts.map +1 -1
- package/resources/projects/inference-pipelines.js +17 -9
- package/resources/projects/inference-pipelines.js.map +1 -1
- package/resources/projects/inference-pipelines.mjs +17 -9
- package/resources/projects/inference-pipelines.mjs.map +1 -1
- package/resources/projects/projects.d.mts +249 -0
- package/resources/projects/projects.d.mts.map +1 -0
- package/resources/projects/projects.d.ts +5 -5
- package/resources/projects/projects.d.ts.map +1 -1
- package/resources/projects/projects.js +13 -41
- package/resources/projects/projects.js.map +1 -1
- package/resources/projects/projects.mjs +9 -5
- package/resources/projects/projects.mjs.map +1 -1
- package/resources/projects/tests.d.mts +501 -0
- package/resources/projects/tests.d.mts.map +1 -0
- package/resources/projects/tests.d.ts +6 -6
- package/resources/projects/tests.d.ts.map +1 -1
- package/resources/projects/tests.js +18 -11
- package/resources/projects/tests.js.map +1 -1
- package/resources/projects/tests.mjs +18 -11
- package/resources/projects/tests.mjs.map +1 -1
- package/resources/projects.d.mts +2 -0
- package/resources/projects.d.mts.map +1 -0
- package/resources/projects.d.ts.map +1 -1
- package/resources/projects.js +2 -15
- package/resources/projects.js.map +1 -1
- package/resources/storage/index.d.mts +3 -0
- package/resources/storage/index.d.mts.map +1 -0
- package/resources/storage/index.d.ts.map +1 -1
- package/resources/storage/presigned-url.d.mts +33 -0
- package/resources/storage/presigned-url.d.mts.map +1 -0
- package/resources/storage/presigned-url.d.ts +4 -3
- package/resources/storage/presigned-url.d.ts.map +1 -1
- package/resources/storage/presigned-url.js +1 -1
- package/resources/storage/presigned-url.js.map +1 -1
- package/resources/storage/presigned-url.mjs +1 -1
- package/resources/storage/presigned-url.mjs.map +1 -1
- package/resources/storage/storage.d.mts +10 -0
- package/resources/storage/storage.d.mts.map +1 -0
- package/resources/storage/storage.d.ts +1 -1
- package/resources/storage/storage.d.ts.map +1 -1
- package/resources/storage/storage.js +3 -35
- package/resources/storage/storage.js.map +1 -1
- package/resources/storage/storage.mjs +1 -1
- package/resources/storage.d.mts +2 -0
- package/resources/storage.d.mts.map +1 -0
- package/resources/storage.d.ts.map +1 -1
- package/resources/storage.js +2 -15
- package/resources/storage.js.map +1 -1
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts.map +1 -1
- package/resources.js +2 -15
- package/resources.js.map +1 -1
- package/src/api-promise.ts +2 -0
- package/src/client.ts +756 -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/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -130
- package/src/index.ts +5 -233
- 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 +97 -0
- package/src/internal/parse.ts +50 -0
- package/src/internal/qs/formats.ts +2 -1
- package/src/internal/qs/stringify.ts +17 -20
- package/src/internal/qs/utils.ts +14 -14
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +126 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +8 -0
- package/src/lib/integrations/tracedTool.ts +0 -1
- package/src/resource.ts +2 -11
- package/src/resources/commits/commits.ts +6 -4
- package/src/resources/commits/test-results.ts +9 -17
- package/src/resources/inference-pipelines/data.ts +11 -6
- package/src/resources/inference-pipelines/inference-pipelines.ts +18 -40
- package/src/resources/inference-pipelines/rows.ts +8 -6
- package/src/resources/inference-pipelines/test-results.ts +9 -17
- package/src/resources/projects/commits.ts +13 -21
- package/src/resources/projects/inference-pipelines.ts +13 -21
- package/src/resources/projects/projects.ts +7 -12
- package/src/resources/projects/tests.ts +17 -25
- package/src/resources/storage/presigned-url.ts +4 -6
- package/src/resources/storage/storage.ts +1 -1
- package/src/tsconfig.json +2 -2
- package/src/uploads.ts +2 -256
- package/src/version.ts +1 -1
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +1 -74
- package/uploads.d.ts.map +1 -1
- package/uploads.js +3 -167
- package/uploads.js.map +1 -1
- package/uploads.mjs +1 -156
- package/uploads.mjs.map +1 -1
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/_shims/MultipartBody.d.ts +0 -9
- package/_shims/MultipartBody.d.ts.map +0 -1
- package/_shims/MultipartBody.js +0 -16
- package/_shims/MultipartBody.js.map +0 -1
- package/_shims/MultipartBody.mjs +0 -12
- package/_shims/MultipartBody.mjs.map +0 -1
- package/_shims/README.md +0 -46
- package/_shims/auto/runtime-bun.d.ts +0 -5
- package/_shims/auto/runtime-bun.d.ts.map +0 -1
- package/_shims/auto/runtime-bun.js +0 -21
- package/_shims/auto/runtime-bun.js.map +0 -1
- package/_shims/auto/runtime-bun.mjs +0 -2
- package/_shims/auto/runtime-bun.mjs.map +0 -1
- package/_shims/auto/runtime-node.d.ts +0 -5
- package/_shims/auto/runtime-node.d.ts.map +0 -1
- package/_shims/auto/runtime-node.js +0 -21
- package/_shims/auto/runtime-node.js.map +0 -1
- package/_shims/auto/runtime-node.mjs +0 -2
- package/_shims/auto/runtime-node.mjs.map +0 -1
- package/_shims/auto/runtime.d.ts +0 -5
- package/_shims/auto/runtime.d.ts.map +0 -1
- package/_shims/auto/runtime.js +0 -21
- package/_shims/auto/runtime.js.map +0 -1
- package/_shims/auto/runtime.mjs +0 -2
- package/_shims/auto/runtime.mjs.map +0 -1
- package/_shims/auto/types-node.d.ts +0 -5
- package/_shims/auto/types-node.d.ts.map +0 -1
- package/_shims/auto/types-node.js +0 -21
- package/_shims/auto/types-node.js.map +0 -1
- package/_shims/auto/types-node.mjs +0 -2
- package/_shims/auto/types-node.mjs.map +0 -1
- package/_shims/auto/types.d.ts +0 -101
- package/_shims/auto/types.js +0 -3
- package/_shims/auto/types.mjs +0 -3
- package/_shims/bun-runtime.d.ts +0 -6
- package/_shims/bun-runtime.d.ts.map +0 -1
- package/_shims/bun-runtime.js +0 -13
- package/_shims/bun-runtime.js.map +0 -1
- package/_shims/bun-runtime.mjs +0 -10
- package/_shims/bun-runtime.mjs.map +0 -1
- package/_shims/index.d.ts +0 -83
- package/_shims/index.js +0 -17
- package/_shims/index.mjs +0 -11
- package/_shims/manual-types.d.ts +0 -12
- package/_shims/manual-types.js +0 -3
- package/_shims/manual-types.mjs +0 -3
- package/_shims/node-runtime.d.ts +0 -3
- package/_shims/node-runtime.d.ts.map +0 -1
- package/_shims/node-runtime.js +0 -98
- package/_shims/node-runtime.js.map +0 -1
- package/_shims/node-runtime.mjs +0 -56
- package/_shims/node-runtime.mjs.map +0 -1
- package/_shims/node-types.d.ts +0 -42
- package/_shims/node-types.js +0 -3
- package/_shims/node-types.mjs +0 -3
- package/_shims/registry.d.ts +0 -37
- package/_shims/registry.d.ts.map +0 -1
- package/_shims/registry.js +0 -41
- package/_shims/registry.js.map +0 -1
- package/_shims/registry.mjs +0 -37
- package/_shims/registry.mjs.map +0 -1
- package/_shims/web-runtime.d.ts +0 -5
- package/_shims/web-runtime.d.ts.map +0 -1
- package/_shims/web-runtime.js +0 -77
- package/_shims/web-runtime.js.map +0 -1
- package/_shims/web-runtime.mjs +0 -71
- package/_shims/web-runtime.mjs.map +0 -1
- package/_shims/web-types.d.ts +0 -83
- package/_shims/web-types.js +0 -3
- package/_shims/web-types.mjs +0 -3
- package/core.d.ts +0 -253
- package/core.d.ts.map +0 -1
- package/core.js +0 -924
- package/core.js.map +0 -1
- package/core.mjs +0 -892
- package/core.mjs.map +0 -1
- package/shims/node.d.ts +0 -26
- package/shims/node.d.ts.map +0 -1
- package/shims/node.js +0 -6
- package/shims/node.js.map +0 -1
- package/shims/node.mjs +0 -4
- package/shims/node.mjs.map +0 -1
- package/shims/web.d.ts +0 -26
- package/shims/web.d.ts.map +0 -1
- package/shims/web.js +0 -6
- package/shims/web.js.map +0 -1
- package/shims/web.mjs +0 -4
- package/shims/web.mjs.map +0 -1
- package/src/_shims/MultipartBody.ts +0 -9
- package/src/_shims/README.md +0 -46
- package/src/_shims/auto/runtime-bun.ts +0 -4
- package/src/_shims/auto/runtime-node.ts +0 -4
- package/src/_shims/auto/runtime.ts +0 -4
- package/src/_shims/auto/types-node.ts +0 -4
- package/src/_shims/auto/types.d.ts +0 -101
- package/src/_shims/auto/types.js +0 -3
- package/src/_shims/auto/types.mjs +0 -3
- package/src/_shims/bun-runtime.ts +0 -14
- package/src/_shims/index.d.ts +0 -83
- package/src/_shims/index.js +0 -17
- package/src/_shims/index.mjs +0 -11
- package/src/_shims/manual-types.d.ts +0 -12
- package/src/_shims/manual-types.js +0 -3
- package/src/_shims/manual-types.mjs +0 -3
- package/src/_shims/node-runtime.ts +0 -81
- package/src/_shims/node-types.d.ts +0 -42
- package/src/_shims/node-types.js +0 -3
- package/src/_shims/node-types.mjs +0 -3
- package/src/_shims/registry.ts +0 -67
- package/src/_shims/web-runtime.ts +0 -103
- package/src/_shims/web-types.d.ts +0 -83
- package/src/_shims/web-types.js +0 -3
- package/src/_shims/web-types.mjs +0 -3
- package/src/core.ts +0 -1236
- package/src/shims/node.ts +0 -50
- package/src/shims/web.ts +0 -50
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { APIResource } from "../../resource.js";
|
|
2
|
-
import
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
3
4
|
export declare class Data extends APIResource {
|
|
4
5
|
/**
|
|
5
6
|
* Publish an inference data point to an inference pipeline.
|
|
@@ -24,7 +25,7 @@ export declare class Data extends APIResource {
|
|
|
24
25
|
* );
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
|
-
stream(
|
|
28
|
+
stream(inferencePipelineID: string, body: DataStreamParams, options?: RequestOptions): APIPromise<DataStreamResponse>;
|
|
28
29
|
}
|
|
29
30
|
export interface DataStreamResponse {
|
|
30
31
|
success: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../src/resources/inference-pipelines/data.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../src/resources/inference-pipelines/data.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CACJ,mBAAmB,EAAE,MAAM,EAC3B,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAMlC;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,IAAI,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,MAAM,EACF,gBAAgB,CAAC,OAAO,GACxB,gBAAgB,CAA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H,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;WAEG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB;;WAEG;QACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAE/B;;;WAGG;QACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;QAEpC;;WAEG;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;QAExB;;;WAGG;QACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;KAC9B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Data = void 0;
|
|
5
|
-
const resource_1 = require("../../resource.js");
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
6
7
|
class Data extends resource_1.APIResource {
|
|
7
8
|
/**
|
|
8
9
|
* Publish an inference data point to an inference pipeline.
|
|
@@ -27,8 +28,11 @@ class Data extends resource_1.APIResource {
|
|
|
27
28
|
* );
|
|
28
29
|
* ```
|
|
29
30
|
*/
|
|
30
|
-
stream(
|
|
31
|
-
return this._client.post(`/inference-pipelines/${
|
|
31
|
+
stream(inferencePipelineID, body, options) {
|
|
32
|
+
return this._client.post((0, path_1.path) `/inference-pipelines/${inferencePipelineID}/data-stream`, {
|
|
33
|
+
body,
|
|
34
|
+
...options,
|
|
35
|
+
});
|
|
32
36
|
}
|
|
33
37
|
}
|
|
34
38
|
exports.Data = Data;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../src/resources/inference-pipelines/data.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"data.js","sourceRoot":"","sources":["../../src/resources/inference-pipelines/data.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CACJ,mBAA2B,EAC3B,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,wBAAwB,mBAAmB,cAAc,EAAE;YACtF,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAlCD,oBAkCC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../resource.mjs";
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
3
4
|
export class Data extends APIResource {
|
|
4
5
|
/**
|
|
5
6
|
* Publish an inference data point to an inference pipeline.
|
|
@@ -24,8 +25,11 @@ export class Data extends APIResource {
|
|
|
24
25
|
* );
|
|
25
26
|
* ```
|
|
26
27
|
*/
|
|
27
|
-
stream(
|
|
28
|
-
return this._client.post(`/inference-pipelines/${
|
|
28
|
+
stream(inferencePipelineID, body, options) {
|
|
29
|
+
return this._client.post(path `/inference-pipelines/${inferencePipelineID}/data-stream`, {
|
|
30
|
+
body,
|
|
31
|
+
...options,
|
|
32
|
+
});
|
|
29
33
|
}
|
|
30
34
|
}
|
|
31
35
|
//# sourceMappingURL=data.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.mjs","sourceRoot":"","sources":["../../src/resources/inference-pipelines/data.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"data.mjs","sourceRoot":"","sources":["../../src/resources/inference-pipelines/data.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CACJ,mBAA2B,EAC3B,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,wBAAwB,mBAAmB,cAAc,EAAE;YACtF,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Data, type DataStreamResponse, type DataStreamParams } from "./data.mjs";
|
|
2
|
+
export { InferencePipelines, type InferencePipelineRetrieveResponse, type InferencePipelineUpdateResponse, type InferencePipelineRetrieveParams, type InferencePipelineUpdateParams, } from "./inference-pipelines.mjs";
|
|
3
|
+
export { Rows, type RowUpdateResponse, type RowUpdateParams } from "./rows.mjs";
|
|
4
|
+
export { TestResults, type TestResultListResponse, type TestResultListParams } from "./test-results.mjs";
|
|
5
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/inference-pipelines/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OACxD,EACL,kBAAkB,EAClB,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EAAE,IAAI,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACtD,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/inference-pipelines/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/inference-pipelines/index.ts"],"names":[],"mappings":"OAEO,EAAE,IAAI,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OACxD,EACL,kBAAkB,EAClB,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EAAE,IAAI,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACtD,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE"}
|
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as DataAPI from "./data.mjs";
|
|
3
|
+
import { Data, DataStreamParams, DataStreamResponse } from "./data.mjs";
|
|
4
|
+
import * as RowsAPI from "./rows.mjs";
|
|
5
|
+
import { RowUpdateParams, RowUpdateResponse, Rows } from "./rows.mjs";
|
|
6
|
+
import * as TestResultsAPI from "./test-results.mjs";
|
|
7
|
+
import { TestResultListParams, TestResultListResponse, TestResults } from "./test-results.mjs";
|
|
8
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
9
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
10
|
+
export declare class InferencePipelines extends APIResource {
|
|
11
|
+
data: DataAPI.Data;
|
|
12
|
+
rows: RowsAPI.Rows;
|
|
13
|
+
testResults: TestResultsAPI.TestResults;
|
|
14
|
+
/**
|
|
15
|
+
* Retrieve inference pipeline.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const inferencePipeline =
|
|
20
|
+
* await client.inferencePipelines.retrieve(
|
|
21
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
22
|
+
* );
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
retrieve(inferencePipelineID: string, query?: InferencePipelineRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<InferencePipelineRetrieveResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Update inference pipeline.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const inferencePipeline =
|
|
32
|
+
* await client.inferencePipelines.update(
|
|
33
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
34
|
+
* );
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
update(inferencePipelineID: string, body?: InferencePipelineUpdateParams | null | undefined, options?: RequestOptions): APIPromise<InferencePipelineUpdateResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Delete inference pipeline.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* await client.inferencePipelines.delete(
|
|
44
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
45
|
+
* );
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
delete(inferencePipelineID: string, options?: RequestOptions): APIPromise<void>;
|
|
49
|
+
}
|
|
50
|
+
export interface InferencePipelineRetrieveResponse {
|
|
51
|
+
/**
|
|
52
|
+
* The inference pipeline id.
|
|
53
|
+
*/
|
|
54
|
+
id: string;
|
|
55
|
+
/**
|
|
56
|
+
* The creation date.
|
|
57
|
+
*/
|
|
58
|
+
dateCreated: string;
|
|
59
|
+
/**
|
|
60
|
+
* The last test evaluation date.
|
|
61
|
+
*/
|
|
62
|
+
dateLastEvaluated: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* The last data sample received date.
|
|
65
|
+
*/
|
|
66
|
+
dateLastSampleReceived: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* The next test evaluation date.
|
|
69
|
+
*/
|
|
70
|
+
dateOfNextEvaluation: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* The last updated date.
|
|
73
|
+
*/
|
|
74
|
+
dateUpdated: string;
|
|
75
|
+
/**
|
|
76
|
+
* The inference pipeline description.
|
|
77
|
+
*/
|
|
78
|
+
description: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* The number of tests failing.
|
|
81
|
+
*/
|
|
82
|
+
failingGoalCount: number;
|
|
83
|
+
links: InferencePipelineRetrieveResponse.Links;
|
|
84
|
+
/**
|
|
85
|
+
* The inference pipeline name.
|
|
86
|
+
*/
|
|
87
|
+
name: string;
|
|
88
|
+
/**
|
|
89
|
+
* The number of tests passing.
|
|
90
|
+
*/
|
|
91
|
+
passingGoalCount: number;
|
|
92
|
+
/**
|
|
93
|
+
* The project id.
|
|
94
|
+
*/
|
|
95
|
+
projectId: string;
|
|
96
|
+
/**
|
|
97
|
+
* The status of test evaluation for the inference pipeline.
|
|
98
|
+
*/
|
|
99
|
+
status: 'queued' | 'running' | 'paused' | 'failed' | 'completed' | 'unknown';
|
|
100
|
+
/**
|
|
101
|
+
* The status message of test evaluation for the inference pipeline.
|
|
102
|
+
*/
|
|
103
|
+
statusMessage: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* The total number of tests.
|
|
106
|
+
*/
|
|
107
|
+
totalGoalCount: number;
|
|
108
|
+
project?: InferencePipelineRetrieveResponse.Project | null;
|
|
109
|
+
workspace?: InferencePipelineRetrieveResponse.Workspace | null;
|
|
110
|
+
/**
|
|
111
|
+
* The workspace id.
|
|
112
|
+
*/
|
|
113
|
+
workspaceId?: string;
|
|
114
|
+
}
|
|
115
|
+
export declare namespace InferencePipelineRetrieveResponse {
|
|
116
|
+
interface Links {
|
|
117
|
+
app: string;
|
|
118
|
+
}
|
|
119
|
+
interface Project {
|
|
120
|
+
/**
|
|
121
|
+
* The project id.
|
|
122
|
+
*/
|
|
123
|
+
id: string;
|
|
124
|
+
/**
|
|
125
|
+
* The project creator id.
|
|
126
|
+
*/
|
|
127
|
+
creatorId: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* The project creation date.
|
|
130
|
+
*/
|
|
131
|
+
dateCreated: string;
|
|
132
|
+
/**
|
|
133
|
+
* The project last updated date.
|
|
134
|
+
*/
|
|
135
|
+
dateUpdated: string;
|
|
136
|
+
/**
|
|
137
|
+
* The number of tests in the development mode of the project.
|
|
138
|
+
*/
|
|
139
|
+
developmentGoalCount: number;
|
|
140
|
+
/**
|
|
141
|
+
* The total number of tests in the project.
|
|
142
|
+
*/
|
|
143
|
+
goalCount: number;
|
|
144
|
+
/**
|
|
145
|
+
* The number of inference pipelines in the project.
|
|
146
|
+
*/
|
|
147
|
+
inferencePipelineCount: number;
|
|
148
|
+
/**
|
|
149
|
+
* Links to the project.
|
|
150
|
+
*/
|
|
151
|
+
links: Project.Links;
|
|
152
|
+
/**
|
|
153
|
+
* The number of tests in the monitoring mode of the project.
|
|
154
|
+
*/
|
|
155
|
+
monitoringGoalCount: number;
|
|
156
|
+
/**
|
|
157
|
+
* The project name.
|
|
158
|
+
*/
|
|
159
|
+
name: string;
|
|
160
|
+
/**
|
|
161
|
+
* The source of the project.
|
|
162
|
+
*/
|
|
163
|
+
source: 'web' | 'api' | 'null' | null;
|
|
164
|
+
/**
|
|
165
|
+
* The task type of the project.
|
|
166
|
+
*/
|
|
167
|
+
taskType: 'llm-base' | 'tabular-classification' | 'tabular-regression' | 'text-classification';
|
|
168
|
+
/**
|
|
169
|
+
* The number of versions (commits) in the project.
|
|
170
|
+
*/
|
|
171
|
+
versionCount: number;
|
|
172
|
+
/**
|
|
173
|
+
* The workspace id.
|
|
174
|
+
*/
|
|
175
|
+
workspaceId: string | null;
|
|
176
|
+
/**
|
|
177
|
+
* The project description.
|
|
178
|
+
*/
|
|
179
|
+
description?: string | null;
|
|
180
|
+
gitRepo?: Project.GitRepo | null;
|
|
181
|
+
}
|
|
182
|
+
namespace Project {
|
|
183
|
+
/**
|
|
184
|
+
* Links to the project.
|
|
185
|
+
*/
|
|
186
|
+
interface Links {
|
|
187
|
+
app: string;
|
|
188
|
+
}
|
|
189
|
+
interface GitRepo {
|
|
190
|
+
id: string;
|
|
191
|
+
dateConnected: string;
|
|
192
|
+
dateUpdated: string;
|
|
193
|
+
gitAccountId: string;
|
|
194
|
+
gitId: number;
|
|
195
|
+
name: string;
|
|
196
|
+
private: boolean;
|
|
197
|
+
projectId: string;
|
|
198
|
+
slug: string;
|
|
199
|
+
url: string;
|
|
200
|
+
branch?: string;
|
|
201
|
+
rootDir?: string;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
interface Workspace {
|
|
205
|
+
/**
|
|
206
|
+
* The workspace id.
|
|
207
|
+
*/
|
|
208
|
+
id: string;
|
|
209
|
+
/**
|
|
210
|
+
* The workspace creator id.
|
|
211
|
+
*/
|
|
212
|
+
creatorId: string | null;
|
|
213
|
+
/**
|
|
214
|
+
* The workspace creation date.
|
|
215
|
+
*/
|
|
216
|
+
dateCreated: string;
|
|
217
|
+
/**
|
|
218
|
+
* The workspace last updated date.
|
|
219
|
+
*/
|
|
220
|
+
dateUpdated: string;
|
|
221
|
+
/**
|
|
222
|
+
* The number of invites in the workspace.
|
|
223
|
+
*/
|
|
224
|
+
inviteCount: number;
|
|
225
|
+
/**
|
|
226
|
+
* The number of members in the workspace.
|
|
227
|
+
*/
|
|
228
|
+
memberCount: number;
|
|
229
|
+
/**
|
|
230
|
+
* The workspace name.
|
|
231
|
+
*/
|
|
232
|
+
name: string;
|
|
233
|
+
/**
|
|
234
|
+
* The end date of the current billing period.
|
|
235
|
+
*/
|
|
236
|
+
periodEndDate: string | null;
|
|
237
|
+
/**
|
|
238
|
+
* The start date of the current billing period.
|
|
239
|
+
*/
|
|
240
|
+
periodStartDate: string | null;
|
|
241
|
+
/**
|
|
242
|
+
* The number of projects in the workspace.
|
|
243
|
+
*/
|
|
244
|
+
projectCount: number;
|
|
245
|
+
/**
|
|
246
|
+
* The workspace slug.
|
|
247
|
+
*/
|
|
248
|
+
slug: string;
|
|
249
|
+
status: 'active' | 'past_due' | 'unpaid' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'trialing' | 'paused';
|
|
250
|
+
monthlyUsage?: Array<Workspace.MonthlyUsage>;
|
|
251
|
+
/**
|
|
252
|
+
* Whether the workspace only allows SAML authentication.
|
|
253
|
+
*/
|
|
254
|
+
samlOnlyAccess?: boolean;
|
|
255
|
+
wildcardDomains?: Array<string>;
|
|
256
|
+
}
|
|
257
|
+
namespace Workspace {
|
|
258
|
+
interface MonthlyUsage {
|
|
259
|
+
executionTimeMs?: number | null;
|
|
260
|
+
monthYear?: string;
|
|
261
|
+
predictionCount?: number;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
export interface InferencePipelineUpdateResponse {
|
|
266
|
+
/**
|
|
267
|
+
* The inference pipeline id.
|
|
268
|
+
*/
|
|
269
|
+
id: string;
|
|
270
|
+
/**
|
|
271
|
+
* The creation date.
|
|
272
|
+
*/
|
|
273
|
+
dateCreated: string;
|
|
274
|
+
/**
|
|
275
|
+
* The last test evaluation date.
|
|
276
|
+
*/
|
|
277
|
+
dateLastEvaluated: string | null;
|
|
278
|
+
/**
|
|
279
|
+
* The last data sample received date.
|
|
280
|
+
*/
|
|
281
|
+
dateLastSampleReceived: string | null;
|
|
282
|
+
/**
|
|
283
|
+
* The next test evaluation date.
|
|
284
|
+
*/
|
|
285
|
+
dateOfNextEvaluation: string | null;
|
|
286
|
+
/**
|
|
287
|
+
* The last updated date.
|
|
288
|
+
*/
|
|
289
|
+
dateUpdated: string;
|
|
290
|
+
/**
|
|
291
|
+
* The inference pipeline description.
|
|
292
|
+
*/
|
|
293
|
+
description: string | null;
|
|
294
|
+
/**
|
|
295
|
+
* The number of tests failing.
|
|
296
|
+
*/
|
|
297
|
+
failingGoalCount: number;
|
|
298
|
+
links: InferencePipelineUpdateResponse.Links;
|
|
299
|
+
/**
|
|
300
|
+
* The inference pipeline name.
|
|
301
|
+
*/
|
|
302
|
+
name: string;
|
|
303
|
+
/**
|
|
304
|
+
* The number of tests passing.
|
|
305
|
+
*/
|
|
306
|
+
passingGoalCount: number;
|
|
307
|
+
/**
|
|
308
|
+
* The project id.
|
|
309
|
+
*/
|
|
310
|
+
projectId: string;
|
|
311
|
+
/**
|
|
312
|
+
* The status of test evaluation for the inference pipeline.
|
|
313
|
+
*/
|
|
314
|
+
status: 'queued' | 'running' | 'paused' | 'failed' | 'completed' | 'unknown';
|
|
315
|
+
/**
|
|
316
|
+
* The status message of test evaluation for the inference pipeline.
|
|
317
|
+
*/
|
|
318
|
+
statusMessage: string | null;
|
|
319
|
+
/**
|
|
320
|
+
* The total number of tests.
|
|
321
|
+
*/
|
|
322
|
+
totalGoalCount: number;
|
|
323
|
+
project?: InferencePipelineUpdateResponse.Project | null;
|
|
324
|
+
workspace?: InferencePipelineUpdateResponse.Workspace | null;
|
|
325
|
+
/**
|
|
326
|
+
* The workspace id.
|
|
327
|
+
*/
|
|
328
|
+
workspaceId?: string;
|
|
329
|
+
}
|
|
330
|
+
export declare namespace InferencePipelineUpdateResponse {
|
|
331
|
+
interface Links {
|
|
332
|
+
app: string;
|
|
333
|
+
}
|
|
334
|
+
interface Project {
|
|
335
|
+
/**
|
|
336
|
+
* The project id.
|
|
337
|
+
*/
|
|
338
|
+
id: string;
|
|
339
|
+
/**
|
|
340
|
+
* The project creator id.
|
|
341
|
+
*/
|
|
342
|
+
creatorId: string | null;
|
|
343
|
+
/**
|
|
344
|
+
* The project creation date.
|
|
345
|
+
*/
|
|
346
|
+
dateCreated: string;
|
|
347
|
+
/**
|
|
348
|
+
* The project last updated date.
|
|
349
|
+
*/
|
|
350
|
+
dateUpdated: string;
|
|
351
|
+
/**
|
|
352
|
+
* The number of tests in the development mode of the project.
|
|
353
|
+
*/
|
|
354
|
+
developmentGoalCount: number;
|
|
355
|
+
/**
|
|
356
|
+
* The total number of tests in the project.
|
|
357
|
+
*/
|
|
358
|
+
goalCount: number;
|
|
359
|
+
/**
|
|
360
|
+
* The number of inference pipelines in the project.
|
|
361
|
+
*/
|
|
362
|
+
inferencePipelineCount: number;
|
|
363
|
+
/**
|
|
364
|
+
* Links to the project.
|
|
365
|
+
*/
|
|
366
|
+
links: Project.Links;
|
|
367
|
+
/**
|
|
368
|
+
* The number of tests in the monitoring mode of the project.
|
|
369
|
+
*/
|
|
370
|
+
monitoringGoalCount: number;
|
|
371
|
+
/**
|
|
372
|
+
* The project name.
|
|
373
|
+
*/
|
|
374
|
+
name: string;
|
|
375
|
+
/**
|
|
376
|
+
* The source of the project.
|
|
377
|
+
*/
|
|
378
|
+
source: 'web' | 'api' | 'null' | null;
|
|
379
|
+
/**
|
|
380
|
+
* The task type of the project.
|
|
381
|
+
*/
|
|
382
|
+
taskType: 'llm-base' | 'tabular-classification' | 'tabular-regression' | 'text-classification';
|
|
383
|
+
/**
|
|
384
|
+
* The number of versions (commits) in the project.
|
|
385
|
+
*/
|
|
386
|
+
versionCount: number;
|
|
387
|
+
/**
|
|
388
|
+
* The workspace id.
|
|
389
|
+
*/
|
|
390
|
+
workspaceId: string | null;
|
|
391
|
+
/**
|
|
392
|
+
* The project description.
|
|
393
|
+
*/
|
|
394
|
+
description?: string | null;
|
|
395
|
+
gitRepo?: Project.GitRepo | null;
|
|
396
|
+
}
|
|
397
|
+
namespace Project {
|
|
398
|
+
/**
|
|
399
|
+
* Links to the project.
|
|
400
|
+
*/
|
|
401
|
+
interface Links {
|
|
402
|
+
app: string;
|
|
403
|
+
}
|
|
404
|
+
interface GitRepo {
|
|
405
|
+
id: string;
|
|
406
|
+
dateConnected: string;
|
|
407
|
+
dateUpdated: string;
|
|
408
|
+
gitAccountId: string;
|
|
409
|
+
gitId: number;
|
|
410
|
+
name: string;
|
|
411
|
+
private: boolean;
|
|
412
|
+
projectId: string;
|
|
413
|
+
slug: string;
|
|
414
|
+
url: string;
|
|
415
|
+
branch?: string;
|
|
416
|
+
rootDir?: string;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
interface Workspace {
|
|
420
|
+
/**
|
|
421
|
+
* The workspace id.
|
|
422
|
+
*/
|
|
423
|
+
id: string;
|
|
424
|
+
/**
|
|
425
|
+
* The workspace creator id.
|
|
426
|
+
*/
|
|
427
|
+
creatorId: string | null;
|
|
428
|
+
/**
|
|
429
|
+
* The workspace creation date.
|
|
430
|
+
*/
|
|
431
|
+
dateCreated: string;
|
|
432
|
+
/**
|
|
433
|
+
* The workspace last updated date.
|
|
434
|
+
*/
|
|
435
|
+
dateUpdated: string;
|
|
436
|
+
/**
|
|
437
|
+
* The number of invites in the workspace.
|
|
438
|
+
*/
|
|
439
|
+
inviteCount: number;
|
|
440
|
+
/**
|
|
441
|
+
* The number of members in the workspace.
|
|
442
|
+
*/
|
|
443
|
+
memberCount: number;
|
|
444
|
+
/**
|
|
445
|
+
* The workspace name.
|
|
446
|
+
*/
|
|
447
|
+
name: string;
|
|
448
|
+
/**
|
|
449
|
+
* The end date of the current billing period.
|
|
450
|
+
*/
|
|
451
|
+
periodEndDate: string | null;
|
|
452
|
+
/**
|
|
453
|
+
* The start date of the current billing period.
|
|
454
|
+
*/
|
|
455
|
+
periodStartDate: string | null;
|
|
456
|
+
/**
|
|
457
|
+
* The number of projects in the workspace.
|
|
458
|
+
*/
|
|
459
|
+
projectCount: number;
|
|
460
|
+
/**
|
|
461
|
+
* The workspace slug.
|
|
462
|
+
*/
|
|
463
|
+
slug: string;
|
|
464
|
+
status: 'active' | 'past_due' | 'unpaid' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'trialing' | 'paused';
|
|
465
|
+
monthlyUsage?: Array<Workspace.MonthlyUsage>;
|
|
466
|
+
/**
|
|
467
|
+
* Whether the workspace only allows SAML authentication.
|
|
468
|
+
*/
|
|
469
|
+
samlOnlyAccess?: boolean;
|
|
470
|
+
wildcardDomains?: Array<string>;
|
|
471
|
+
}
|
|
472
|
+
namespace Workspace {
|
|
473
|
+
interface MonthlyUsage {
|
|
474
|
+
executionTimeMs?: number | null;
|
|
475
|
+
monthYear?: string;
|
|
476
|
+
predictionCount?: number;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
export interface InferencePipelineRetrieveParams {
|
|
481
|
+
/**
|
|
482
|
+
* Expand specific nested objects.
|
|
483
|
+
*/
|
|
484
|
+
expand?: Array<'project' | 'workspace'>;
|
|
485
|
+
}
|
|
486
|
+
export interface InferencePipelineUpdateParams {
|
|
487
|
+
/**
|
|
488
|
+
* The inference pipeline description.
|
|
489
|
+
*/
|
|
490
|
+
description?: string | null;
|
|
491
|
+
/**
|
|
492
|
+
* The inference pipeline name.
|
|
493
|
+
*/
|
|
494
|
+
name?: string;
|
|
495
|
+
/**
|
|
496
|
+
* The storage uri of your reference dataset. We recommend using the Python SDK or
|
|
497
|
+
* the UI to handle your reference dataset updates.
|
|
498
|
+
*/
|
|
499
|
+
referenceDatasetUri?: string | null;
|
|
500
|
+
}
|
|
501
|
+
export declare namespace InferencePipelines {
|
|
502
|
+
export { type InferencePipelineRetrieveResponse as InferencePipelineRetrieveResponse, type InferencePipelineUpdateResponse as InferencePipelineUpdateResponse, type InferencePipelineRetrieveParams as InferencePipelineRetrieveParams, type InferencePipelineUpdateParams as InferencePipelineUpdateParams, };
|
|
503
|
+
export { Data as Data, type DataStreamResponse as DataStreamResponse, type DataStreamParams as DataStreamParams, };
|
|
504
|
+
export { Rows as Rows, type RowUpdateResponse as RowUpdateResponse, type RowUpdateParams as RowUpdateParams, };
|
|
505
|
+
export { TestResults as TestResults, type TestResultListResponse as TestResultListResponse, type TestResultListParams as TestResultListParams, };
|
|
506
|
+
}
|
|
507
|
+
//# sourceMappingURL=inference-pipelines.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inference-pipelines.d.mts","sourceRoot":"","sources":["../../src/resources/inference-pipelines/inference-pipelines.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE,gBAAgB,EAAE,kBAAkB,EAAE;OAC9C,KAAK,OAAO;OACZ,EAAE,eA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ource.js";
|
|
2
|
-
import * as Core from "../../core.js";
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
3
2
|
import * as DataAPI from "./data.js";
|
|
4
3
|
import { Data, DataStreamParams, DataStreamResponse } from "./data.js";
|
|
5
4
|
import * as RowsAPI from "./rows.js";
|
|
6
5
|
import { RowUpdateParams, RowUpdateResponse, Rows } from "./rows.js";
|
|
7
6
|
import * as TestResultsAPI from "./test-results.js";
|
|
8
7
|
import { TestResultListParams, TestResultListResponse, TestResults } from "./test-results.js";
|
|
8
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
9
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
9
10
|
export declare class InferencePipelines extends APIResource {
|
|
10
11
|
data: DataAPI.Data;
|
|
11
12
|
rows: RowsAPI.Rows;
|
|
@@ -21,8 +22,7 @@ export declare class InferencePipelines extends APIResource {
|
|
|
21
22
|
* );
|
|
22
23
|
* ```
|
|
23
24
|
*/
|
|
24
|
-
retrieve(
|
|
25
|
-
retrieve(inferencePipelineId: string, options?: Core.RequestOptions): Core.APIPromise<InferencePipelineRetrieveResponse>;
|
|
25
|
+
retrieve(inferencePipelineID: string, query?: InferencePipelineRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<InferencePipelineRetrieveResponse>;
|
|
26
26
|
/**
|
|
27
27
|
* Update inference pipeline.
|
|
28
28
|
*
|
|
@@ -34,8 +34,7 @@ export declare class InferencePipelines extends APIResource {
|
|
|
34
34
|
* );
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
|
-
update(
|
|
38
|
-
update(inferencePipelineId: string, options?: Core.RequestOptions): Core.APIPromise<InferencePipelineUpdateResponse>;
|
|
37
|
+
update(inferencePipelineID: string, body?: InferencePipelineUpdateParams | null | undefined, options?: RequestOptions): APIPromise<InferencePipelineUpdateResponse>;
|
|
39
38
|
/**
|
|
40
39
|
* Delete inference pipeline.
|
|
41
40
|
*
|
|
@@ -46,7 +45,7 @@ export declare class InferencePipelines extends APIResource {
|
|
|
46
45
|
* );
|
|
47
46
|
* ```
|
|
48
47
|
*/
|
|
49
|
-
delete(
|
|
48
|
+
delete(inferencePipelineID: string, options?: RequestOptions): APIPromise<void>;
|
|
50
49
|
}
|
|
51
50
|
export interface InferencePipelineRetrieveResponse {
|
|
52
51
|
/**
|