openlayer 0.17.1 → 0.19.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 +34 -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 +597 -0
- package/resources/inference-pipelines/inference-pipelines.d.mts.map +1 -0
- package/resources/inference-pipelines/inference-pipelines.d.ts +96 -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 +800 -0
- package/resources/projects/inference-pipelines.d.mts.map +1 -0
- package/resources/projects/inference-pipelines.d.ts +272 -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 +176 -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 +410 -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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.19.0 (2025-10-22)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.18.0...v0.19.0](https://github.com/openlayer-ai/openlayer-ts/compare/v0.18.0...v0.19.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([c5a26e6](https://github.com/openlayer-ai/openlayer-ts/commit/c5a26e6d0485aeaa3089f227f795959417be4fa1))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **internal:** use npm pack for build uploads ([fca405f](https://github.com/openlayer-ai/openlayer-ts/commit/fca405ff655d33d21ea2eb9097f969574fed46da))
|
|
15
|
+
* **jsdoc:** fix [@link](https://github.com/link) annotations to refer only to parts of the package‘s public interface ([2acf567](https://github.com/openlayer-ai/openlayer-ts/commit/2acf5677a5ec1a312ea6dcdefd962f02510480de))
|
|
16
|
+
|
|
17
|
+
## 0.18.0 (2025-10-02)
|
|
18
|
+
|
|
19
|
+
Full Changelog: [v0.17.1...v0.18.0](https://github.com/openlayer-ai/openlayer-ts/compare/v0.17.1...v0.18.0)
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **api:** manual updates ([b9c60be](https://github.com/openlayer-ai/openlayer-ts/commit/b9c60bee4b6f12dd44afe77dce020789c0702229))
|
|
24
|
+
* **api:** manual updates ([bf8b436](https://github.com/openlayer-ai/openlayer-ts/commit/bf8b436d243cb66d88dc30e0e2b91825db707209))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* remove conflicting and unnecessary dependencies ([d6b6e9e](https://github.com/openlayer-ai/openlayer-ts/commit/d6b6e9e0f296083a4387c15c876e936ae2a7e6db))
|
|
30
|
+
* remove outdated core.ts ([ab9035b](https://github.com/openlayer-ai/openlayer-ts/commit/ab9035b091b9847016bdcb11347103a72fc173fb))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Chores
|
|
34
|
+
|
|
35
|
+
* formatting ([eb75878](https://github.com/openlayer-ai/openlayer-ts/commit/eb75878242811ad45c041d17f20aae3f8f67d45e))
|
|
36
|
+
|
|
3
37
|
## 0.17.1 (2025-09-30)
|
|
4
38
|
|
|
5
39
|
Full Changelog: [v0.17.0...v0.17.1](https://github.com/openlayer-ai/openlayer-ts/compare/v0.17.0...v0.17.1)
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Openlayer
|
|
1
|
+
# Openlayer TypeScript API Library
|
|
2
2
|
|
|
3
|
-
[](https://npmjs.org/package/openlayer) 
|
|
3
|
+
[>)](https://npmjs.org/package/openlayer) 
|
|
4
4
|
|
|
5
5
|
This library provides convenient access to the Openlayer REST API from server-side TypeScript or JavaScript.
|
|
6
6
|
|
|
@@ -184,8 +184,10 @@ Note that requests which time out will be [retried twice by default](#retries).
|
|
|
184
184
|
### Accessing raw Response data (e.g., headers)
|
|
185
185
|
|
|
186
186
|
The "raw" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.
|
|
187
|
+
This method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.
|
|
187
188
|
|
|
188
189
|
You can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.
|
|
190
|
+
Unlike `.asResponse()` this method consumes the body, returning once it is parsed.
|
|
189
191
|
|
|
190
192
|
<!-- prettier-ignore -->
|
|
191
193
|
```ts
|
|
@@ -238,6 +240,59 @@ console.log(raw.headers.get('X-My-Header'));
|
|
|
238
240
|
console.log(response.success);
|
|
239
241
|
```
|
|
240
242
|
|
|
243
|
+
### Logging
|
|
244
|
+
|
|
245
|
+
> [!IMPORTANT]
|
|
246
|
+
> All log messages are intended for debugging only. The format and content of log messages
|
|
247
|
+
> may change between releases.
|
|
248
|
+
|
|
249
|
+
#### Log levels
|
|
250
|
+
|
|
251
|
+
The log level can be configured in two ways:
|
|
252
|
+
|
|
253
|
+
1. Via the `OPENLAYER_LOG` environment variable
|
|
254
|
+
2. Using the `logLevel` client option (overrides the environment variable if set)
|
|
255
|
+
|
|
256
|
+
```ts
|
|
257
|
+
import Openlayer from 'openlayer';
|
|
258
|
+
|
|
259
|
+
const client = new Openlayer({
|
|
260
|
+
logLevel: 'debug', // Show all log messages
|
|
261
|
+
});
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
Available log levels, from most to least verbose:
|
|
265
|
+
|
|
266
|
+
- `'debug'` - Show debug messages, info, warnings, and errors
|
|
267
|
+
- `'info'` - Show info messages, warnings, and errors
|
|
268
|
+
- `'warn'` - Show warnings and errors (default)
|
|
269
|
+
- `'error'` - Show only errors
|
|
270
|
+
- `'off'` - Disable all logging
|
|
271
|
+
|
|
272
|
+
At the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.
|
|
273
|
+
Some authentication-related headers are redacted, but sensitive data in request and response bodies
|
|
274
|
+
may still be visible.
|
|
275
|
+
|
|
276
|
+
#### Custom logger
|
|
277
|
+
|
|
278
|
+
By default, this library logs to `globalThis.console`. You can also provide a custom logger.
|
|
279
|
+
Most logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.
|
|
280
|
+
|
|
281
|
+
When providing a custom logger, the `logLevel` option still controls which messages are emitted, messages
|
|
282
|
+
below the configured level will not be sent to your logger.
|
|
283
|
+
|
|
284
|
+
```ts
|
|
285
|
+
import Openlayer from 'openlayer';
|
|
286
|
+
import pino from 'pino';
|
|
287
|
+
|
|
288
|
+
const logger = pino();
|
|
289
|
+
|
|
290
|
+
const client = new Openlayer({
|
|
291
|
+
logger: logger.child({ name: 'Openlayer' }),
|
|
292
|
+
logLevel: 'debug', // Send all messages to pino, allowing it to filter
|
|
293
|
+
});
|
|
294
|
+
```
|
|
295
|
+
|
|
241
296
|
### Making custom/undocumented requests
|
|
242
297
|
|
|
243
298
|
This library is typed for convenient access to the documented API. If you need to access undocumented
|
|
@@ -262,9 +317,8 @@ parameter. This library doesn't validate at runtime that the request matches the
|
|
|
262
317
|
send will be sent as-is.
|
|
263
318
|
|
|
264
319
|
```ts
|
|
265
|
-
client.
|
|
266
|
-
|
|
267
|
-
bar: 12,
|
|
320
|
+
client.inferencePipelines.data.stream({
|
|
321
|
+
// ...
|
|
268
322
|
// @ts-expect-error baz is not yet public
|
|
269
323
|
baz: 'undocumented option',
|
|
270
324
|
});
|
|
@@ -284,87 +338,85 @@ validate or strip extra properties from the response from the API.
|
|
|
284
338
|
|
|
285
339
|
### Customizing the fetch client
|
|
286
340
|
|
|
287
|
-
By default, this library
|
|
341
|
+
By default, this library expects a global `fetch` function is defined.
|
|
288
342
|
|
|
289
|
-
If you
|
|
290
|
-
(for example, if you are running Node with `--experimental-fetch` or using NextJS which polyfills with `undici`),
|
|
291
|
-
add the following import before your first import `from "Openlayer"`:
|
|
343
|
+
If you want to use a different `fetch` function, you can either polyfill the global:
|
|
292
344
|
|
|
293
345
|
```ts
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
import Openlayer from 'openlayer';
|
|
346
|
+
import fetch from 'my-fetch';
|
|
347
|
+
|
|
348
|
+
globalThis.fetch = fetch;
|
|
298
349
|
```
|
|
299
350
|
|
|
300
|
-
|
|
301
|
-
This can also be useful if you are getting the wrong TypeScript types for `Response` ([more details](https://github.com/openlayer-ai/openlayer-ts/tree/main/src/_shims#readme)).
|
|
351
|
+
Or pass it to the client:
|
|
302
352
|
|
|
303
|
-
|
|
353
|
+
```ts
|
|
354
|
+
import Openlayer from 'openlayer';
|
|
355
|
+
import fetch from 'my-fetch';
|
|
356
|
+
|
|
357
|
+
const client = new Openlayer({ fetch });
|
|
358
|
+
```
|
|
304
359
|
|
|
305
|
-
|
|
306
|
-
|
|
360
|
+
### Fetch options
|
|
361
|
+
|
|
362
|
+
If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
|
|
307
363
|
|
|
308
364
|
```ts
|
|
309
|
-
import { fetch } from 'undici'; // as one example
|
|
310
365
|
import Openlayer from 'openlayer';
|
|
311
366
|
|
|
312
367
|
const client = new Openlayer({
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
const response = await fetch(url, init);
|
|
316
|
-
console.log('Got response', response);
|
|
317
|
-
return response;
|
|
368
|
+
fetchOptions: {
|
|
369
|
+
// `RequestInit` options
|
|
318
370
|
},
|
|
319
371
|
});
|
|
320
372
|
```
|
|
321
373
|
|
|
322
|
-
|
|
323
|
-
This is intended for debugging purposes only and may change in the future without notice.
|
|
324
|
-
|
|
325
|
-
### Configuring an HTTP(S) Agent (e.g., for proxies)
|
|
374
|
+
#### Configuring proxies
|
|
326
375
|
|
|
327
|
-
|
|
376
|
+
To modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy
|
|
377
|
+
options to requests:
|
|
328
378
|
|
|
329
|
-
|
|
379
|
+
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
|
|
330
380
|
|
|
331
|
-
<!-- prettier-ignore -->
|
|
332
381
|
```ts
|
|
333
|
-
import
|
|
334
|
-
import
|
|
382
|
+
import Openlayer from 'openlayer';
|
|
383
|
+
import * as undici from 'undici';
|
|
335
384
|
|
|
336
|
-
|
|
385
|
+
const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
|
|
337
386
|
const client = new Openlayer({
|
|
338
|
-
|
|
387
|
+
fetchOptions: {
|
|
388
|
+
dispatcher: proxyAgent,
|
|
389
|
+
},
|
|
339
390
|
});
|
|
391
|
+
```
|
|
340
392
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
costColumnName: 'cost',
|
|
350
|
-
timestampColumnName: 'timestamp',
|
|
351
|
-
},
|
|
352
|
-
rows: [
|
|
353
|
-
{
|
|
354
|
-
user_query: 'what is the meaning of life?',
|
|
355
|
-
output: '42',
|
|
356
|
-
tokens: 7,
|
|
357
|
-
cost: 0.02,
|
|
358
|
-
timestamp: 1610000000,
|
|
359
|
-
},
|
|
360
|
-
],
|
|
393
|
+
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
|
|
394
|
+
|
|
395
|
+
```ts
|
|
396
|
+
import Openlayer from 'openlayer';
|
|
397
|
+
|
|
398
|
+
const client = new Openlayer({
|
|
399
|
+
fetchOptions: {
|
|
400
|
+
proxy: 'http://localhost:8888',
|
|
361
401
|
},
|
|
362
|
-
|
|
363
|
-
|
|
402
|
+
});
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
|
|
406
|
+
|
|
407
|
+
```ts
|
|
408
|
+
import Openlayer from 'npm:openlayer';
|
|
409
|
+
|
|
410
|
+
const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
|
|
411
|
+
const client = new Openlayer({
|
|
412
|
+
fetchOptions: {
|
|
413
|
+
client: httpClient,
|
|
364
414
|
},
|
|
365
|
-
);
|
|
415
|
+
});
|
|
366
416
|
```
|
|
367
417
|
|
|
418
|
+
## Frequently Asked Questions
|
|
419
|
+
|
|
368
420
|
## Semantic versioning
|
|
369
421
|
|
|
370
422
|
This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
|
|
@@ -379,12 +431,12 @@ We are keen for your feedback; please open an [issue](https://www.github.com/ope
|
|
|
379
431
|
|
|
380
432
|
## Requirements
|
|
381
433
|
|
|
382
|
-
TypeScript >= 4.
|
|
434
|
+
TypeScript >= 4.9 is supported.
|
|
383
435
|
|
|
384
436
|
The following runtimes are supported:
|
|
385
437
|
|
|
386
438
|
- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)
|
|
387
|
-
- Node.js
|
|
439
|
+
- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
|
|
388
440
|
- Deno v1.28.0 or higher.
|
|
389
441
|
- Bun 1.0 or later.
|
|
390
442
|
- Cloudflare Workers.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-promise.d.mts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
|
package/api-promise.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-promise.d.ts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
|
package/api-promise.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("./internal/tslib.js");
|
|
4
|
+
/** @deprecated Import from ./core/api-promise instead */
|
|
5
|
+
tslib_1.__exportStar(require("./core/api-promise.js"), exports);
|
|
6
|
+
//# sourceMappingURL=api-promise.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-promise.js","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,gEAAmC"}
|
package/api-promise.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-promise.mjs","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
|
package/bin/cli
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { spawnSync } = require('child_process');
|
|
4
|
+
|
|
5
|
+
const commands = {
|
|
6
|
+
migrate: {
|
|
7
|
+
description:
|
|
8
|
+
'Run migrations to update your code using openlayer@0.17.1 to be compatible with openlayer@0.18.0',
|
|
9
|
+
fn: () => {
|
|
10
|
+
const result = spawnSync(
|
|
11
|
+
'npx',
|
|
12
|
+
[
|
|
13
|
+
'-y',
|
|
14
|
+
'https://github.com/stainless-api/migrate-ts/releases/download/0.0.2/stainless-api-migrate-0.0.2-6.tgz',
|
|
15
|
+
'--migrationConfig',
|
|
16
|
+
require.resolve('./migration-config.json'),
|
|
17
|
+
...process.argv.slice(3),
|
|
18
|
+
],
|
|
19
|
+
{ stdio: 'inherit' },
|
|
20
|
+
);
|
|
21
|
+
if (result.status !== 0) {
|
|
22
|
+
process.exit(result.status);
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
function exitWithHelp() {
|
|
29
|
+
console.log(`Usage: openlayer <subcommand>`);
|
|
30
|
+
console.log();
|
|
31
|
+
console.log('Subcommands:');
|
|
32
|
+
|
|
33
|
+
for (const [name, info] of Object.entries(commands)) {
|
|
34
|
+
console.log(` ${name} ${info.description}`);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
console.log();
|
|
38
|
+
process.exit(1);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (process.argv.length < 3) {
|
|
42
|
+
exitWithHelp();
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const commandName = process.argv[2];
|
|
46
|
+
|
|
47
|
+
const command = commands[commandName];
|
|
48
|
+
if (!command) {
|
|
49
|
+
console.log(`Unknown subcommand ${commandName}.`);
|
|
50
|
+
exitWithHelp();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
command.fn();
|
package/client.d.mts
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import type { RequestInit, RequestInfo } from "./internal/builtin-types.mjs";
|
|
2
|
+
import type { PromiseOrValue, MergedRequestInit, FinalizedRequestInit } from "./internal/types.mjs";
|
|
3
|
+
export type { Logger, LogLevel } from "./internal/utils/log.mjs";
|
|
4
|
+
import * as Opts from "./internal/request-options.mjs";
|
|
5
|
+
import * as Errors from "./core/error.mjs";
|
|
6
|
+
import * as Uploads from "./core/uploads.mjs";
|
|
7
|
+
import * as API from "./resources/index.mjs";
|
|
8
|
+
import { APIPromise } from "./core/api-promise.mjs";
|
|
9
|
+
import { CommitRetrieveResponse, Commits } from "./resources/commits/commits.mjs";
|
|
10
|
+
import { InferencePipelineRetrieveParams, InferencePipelineRetrieveResponse, InferencePipelineUpdateParams, InferencePipelineUpdateResponse, InferencePipelines } from "./resources/inference-pipelines/inference-pipelines.mjs";
|
|
11
|
+
import { ProjectCreateParams, ProjectCreateResponse, ProjectListParams, ProjectListResponse, Projects } from "./resources/projects/projects.mjs";
|
|
12
|
+
import { Storage } from "./resources/storage/storage.mjs";
|
|
13
|
+
import { type Fetch } from "./internal/builtin-types.mjs";
|
|
14
|
+
import { HeadersLike, NullableHeaders } from "./internal/headers.mjs";
|
|
15
|
+
import { FinalRequestOptions, RequestOptions } from "./internal/request-options.mjs";
|
|
16
|
+
import { type LogLevel, type Logger } from "./internal/utils/log.mjs";
|
|
17
|
+
export interface ClientOptions {
|
|
18
|
+
/**
|
|
19
|
+
* Defaults to process.env['OPENLAYER_API_KEY'].
|
|
20
|
+
*/
|
|
21
|
+
apiKey?: string | null | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Override the default base URL for the API, e.g., "https://api.example.com/v2/"
|
|
24
|
+
*
|
|
25
|
+
* Defaults to process.env['OPENLAYER_BASE_URL'].
|
|
26
|
+
*/
|
|
27
|
+
baseURL?: string | null | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The maximum amount of time (in milliseconds) that the client should wait for a response
|
|
30
|
+
* from the server before timing out a single request.
|
|
31
|
+
*
|
|
32
|
+
* Note that request timeouts are retried by default, so in a worst-case scenario you may wait
|
|
33
|
+
* much longer than this timeout before the promise succeeds or fails.
|
|
34
|
+
*
|
|
35
|
+
* @unit milliseconds
|
|
36
|
+
*/
|
|
37
|
+
timeout?: number | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Additional `RequestInit` options to be passed to `fetch` calls.
|
|
40
|
+
* Properties will be overridden by per-request `fetchOptions`.
|
|
41
|
+
*/
|
|
42
|
+
fetchOptions?: MergedRequestInit | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Specify a custom `fetch` function implementation.
|
|
45
|
+
*
|
|
46
|
+
* If not provided, we expect that `fetch` is defined globally.
|
|
47
|
+
*/
|
|
48
|
+
fetch?: Fetch | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* The maximum number of times that the client will retry a request in case of a
|
|
51
|
+
* temporary failure, like a network error or a 5XX error from the server.
|
|
52
|
+
*
|
|
53
|
+
* @default 2
|
|
54
|
+
*/
|
|
55
|
+
maxRetries?: number | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Default headers to include with every request to the API.
|
|
58
|
+
*
|
|
59
|
+
* These can be removed in individual requests by explicitly setting the
|
|
60
|
+
* header to `null` in request options.
|
|
61
|
+
*/
|
|
62
|
+
defaultHeaders?: HeadersLike | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Default query parameters to include with every request to the API.
|
|
65
|
+
*
|
|
66
|
+
* These can be removed in individual requests by explicitly setting the
|
|
67
|
+
* param to `undefined` in request options.
|
|
68
|
+
*/
|
|
69
|
+
defaultQuery?: Record<string, string | undefined> | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Set the log level.
|
|
72
|
+
*
|
|
73
|
+
* Defaults to process.env['OPENLAYER_LOG'] or 'warn' if it isn't set.
|
|
74
|
+
*/
|
|
75
|
+
logLevel?: LogLevel | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Set the logger.
|
|
78
|
+
*
|
|
79
|
+
* Defaults to globalThis.console.
|
|
80
|
+
*/
|
|
81
|
+
logger?: Logger | undefined;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* API Client for interfacing with the Openlayer API.
|
|
85
|
+
*/
|
|
86
|
+
export declare class Openlayer {
|
|
87
|
+
#private;
|
|
88
|
+
apiKey: string | null;
|
|
89
|
+
baseURL: string;
|
|
90
|
+
maxRetries: number;
|
|
91
|
+
timeout: number;
|
|
92
|
+
logger: Logger | undefined;
|
|
93
|
+
logLevel: LogLevel | undefined;
|
|
94
|
+
fetchOptions: MergedRequestInit | undefined;
|
|
95
|
+
private fetch;
|
|
96
|
+
protected idempotencyHeader?: string;
|
|
97
|
+
private _options;
|
|
98
|
+
/**
|
|
99
|
+
* API Client for interfacing with the Openlayer API.
|
|
100
|
+
*
|
|
101
|
+
* @param {string | null | undefined} [opts.apiKey=process.env['OPENLAYER_API_KEY'] ?? null]
|
|
102
|
+
* @param {string} [opts.baseURL=process.env['OPENLAYER_BASE_URL'] ?? https://api.openlayer.com/v1] - Override the default base URL for the API.
|
|
103
|
+
* @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
|
|
104
|
+
* @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
|
|
105
|
+
* @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
|
|
106
|
+
* @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
|
|
107
|
+
* @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
|
|
108
|
+
* @param {Record<string, string | undefined>} opts.defaultQuery - Default query parameters to include with every request to the API.
|
|
109
|
+
*/
|
|
110
|
+
constructor({ baseURL, apiKey, ...opts }?: ClientOptions);
|
|
111
|
+
/**
|
|
112
|
+
* Create a new client instance re-using the same options given to the current client with optional overriding.
|
|
113
|
+
*/
|
|
114
|
+
withOptions(options: Partial<ClientOptions>): this;
|
|
115
|
+
protected defaultQuery(): Record<string, string | undefined> | undefined;
|
|
116
|
+
protected validateHeaders({ values, nulls }: NullableHeaders): void;
|
|
117
|
+
protected authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
|
|
118
|
+
protected stringifyQuery(query: Record<string, unknown>): string;
|
|
119
|
+
private getUserAgent;
|
|
120
|
+
protected defaultIdempotencyKey(): string;
|
|
121
|
+
protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError;
|
|
122
|
+
buildURL(path: string, query: Record<string, unknown> | null | undefined, defaultBaseURL?: string | undefined): string;
|
|
123
|
+
/**
|
|
124
|
+
* Used as a callback for mutating the given `FinalRequestOptions` object.
|
|
125
|
+
*/
|
|
126
|
+
protected prepareOptions(options: FinalRequestOptions): Promise<void>;
|
|
127
|
+
/**
|
|
128
|
+
* Used as a callback for mutating the given `RequestInit` object.
|
|
129
|
+
*
|
|
130
|
+
* This is useful for cases where you want to add certain headers based off of
|
|
131
|
+
* the request properties, e.g. `method` or `url`.
|
|
132
|
+
*/
|
|
133
|
+
protected prepareRequest(request: RequestInit, { url, options }: {
|
|
134
|
+
url: string;
|
|
135
|
+
options: FinalRequestOptions;
|
|
136
|
+
}): Promise<void>;
|
|
137
|
+
get<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
|
|
138
|
+
post<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
|
|
139
|
+
patch<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
|
|
140
|
+
put<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
|
|
141
|
+
delete<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
|
|
142
|
+
private methodRequest;
|
|
143
|
+
request<Rsp>(options: PromiseOrValue<FinalRequestOptions>, remainingRetries?: number | null): APIPromise<Rsp>;
|
|
144
|
+
private makeRequest;
|
|
145
|
+
fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise<Response>;
|
|
146
|
+
private shouldRetry;
|
|
147
|
+
private retryRequest;
|
|
148
|
+
private calculateDefaultRetryTimeoutMillis;
|
|
149
|
+
buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: {
|
|
150
|
+
retryCount?: number;
|
|
151
|
+
}): Promise<{
|
|
152
|
+
req: FinalizedRequestInit;
|
|
153
|
+
url: string;
|
|
154
|
+
timeout: number;
|
|
155
|
+
}>;
|
|
156
|
+
private buildHeaders;
|
|
157
|
+
private buildBody;
|
|
158
|
+
static Openlayer: typeof Openlayer;
|
|
159
|
+
static DEFAULT_TIMEOUT: number;
|
|
160
|
+
static OpenlayerError: typeof Errors.OpenlayerError;
|
|
161
|
+
static APIError: typeof Errors.APIError;
|
|
162
|
+
static APIConnectionError: typeof Errors.APIConnectionError;
|
|
163
|
+
static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError;
|
|
164
|
+
static APIUserAbortError: typeof Errors.APIUserAbortError;
|
|
165
|
+
static NotFoundError: typeof Errors.NotFoundError;
|
|
166
|
+
static ConflictError: typeof Errors.ConflictError;
|
|
167
|
+
static RateLimitError: typeof Errors.RateLimitError;
|
|
168
|
+
static BadRequestError: typeof Errors.BadRequestError;
|
|
169
|
+
static AuthenticationError: typeof Errors.AuthenticationError;
|
|
170
|
+
static InternalServerError: typeof Errors.InternalServerError;
|
|
171
|
+
static PermissionDeniedError: typeof Errors.PermissionDeniedError;
|
|
172
|
+
static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
|
|
173
|
+
static toFile: typeof Uploads.toFile;
|
|
174
|
+
projects: API.Projects;
|
|
175
|
+
commits: API.Commits;
|
|
176
|
+
inferencePipelines: API.InferencePipelines;
|
|
177
|
+
storage: API.Storage;
|
|
178
|
+
}
|
|
179
|
+
export declare namespace Openlayer {
|
|
180
|
+
export type RequestOptions = Opts.RequestOptions;
|
|
181
|
+
export { Projects as Projects, type ProjectCreateResponse as ProjectCreateResponse, type ProjectListResponse as ProjectListResponse, type ProjectCreateParams as ProjectCreateParams, type ProjectListParams as ProjectListParams, };
|
|
182
|
+
export { Commits as Commits, type CommitRetrieveResponse as CommitRetrieveResponse };
|
|
183
|
+
export { InferencePipelines as InferencePipelines, type InferencePipelineRetrieveResponse as InferencePipelineRetrieveResponse, type InferencePipelineUpdateResponse as InferencePipelineUpdateResponse, type InferencePipelineRetrieveParams as InferencePipelineRetrieveParams, type InferencePipelineUpdateParams as InferencePipelineUpdateParams, };
|
|
184
|
+
export { Storage as Storage };
|
|
185
|
+
}
|
|
186
|
+
//# sourceMappingURL=client.d.mts.map
|
package/client.d.mts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAGT,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EAAE,sBAAsB,EAAE,OAAO,EAAE;OACnC,EACL,+BAA+B,EAC/B,iCAAiC,EACjC,6BAA6B,EAC7B,+BAA+B,EAC/B,kBAAkB,EACnB;OACM,EACL,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACT;OACM,EAAE,OAAO,EAAE;OACX,EAAE,KAAK,KAAK,EAAE;OACd,EAAE,WAAW,EAAE,eAAe,EAAgB;OAC9C,EAAE,mBAAmB,E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