@trigger.dev/core 0.0.0-isomorphic-sdk-20230918151405 → 0.0.0-langsmith-ai-20250111212321
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/dist/commonjs/bloom.d.ts +10 -0
- package/dist/commonjs/bloom.js +58 -0
- package/dist/commonjs/bloom.js.map +1 -0
- package/dist/commonjs/eventFilterMatches.d.ts +2 -0
- package/dist/commonjs/eventFilterMatches.js +170 -0
- package/dist/commonjs/eventFilterMatches.js.map +1 -0
- package/dist/commonjs/index.d.ts +9 -0
- package/dist/commonjs/index.js +26 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +13 -0
- package/dist/commonjs/logger.js +165 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/replacements.d.ts +19 -0
- package/dist/commonjs/replacements.js +27 -0
- package/dist/commonjs/replacements.js.map +1 -0
- package/dist/commonjs/requestFilterMatches.d.ts +7 -0
- package/dist/commonjs/requestFilterMatches.js +62 -0
- package/dist/commonjs/requestFilterMatches.js.map +1 -0
- package/dist/commonjs/retry.d.ts +3 -0
- package/dist/commonjs/retry.js +106 -0
- package/dist/commonjs/retry.js.map +1 -0
- package/dist/commonjs/schemas/addMissingVersionField.d.ts +1 -0
- package/dist/commonjs/schemas/addMissingVersionField.js +13 -0
- package/dist/commonjs/schemas/addMissingVersionField.js.map +1 -0
- package/dist/commonjs/schemas/api.d.ts +13789 -0
- package/dist/commonjs/schemas/api.js +852 -0
- package/dist/commonjs/schemas/api.js.map +1 -0
- package/dist/commonjs/schemas/errors.d.ts +26 -0
- package/dist/commonjs/schemas/errors.js +14 -0
- package/dist/commonjs/schemas/errors.js.map +1 -0
- package/dist/commonjs/schemas/eventFilter.d.ts +129 -0
- package/dist/commonjs/schemas/eventFilter.js +67 -0
- package/dist/commonjs/schemas/eventFilter.js.map +1 -0
- package/dist/commonjs/schemas/events.d.ts +66 -0
- package/dist/commonjs/schemas/events.js +31 -0
- package/dist/commonjs/schemas/events.js.map +1 -0
- package/dist/commonjs/schemas/fetch.d.ts +682 -0
- package/dist/commonjs/schemas/fetch.js +68 -0
- package/dist/commonjs/schemas/fetch.js.map +1 -0
- package/dist/commonjs/schemas/index.d.ts +18 -0
- package/dist/commonjs/schemas/index.js +35 -0
- package/dist/commonjs/schemas/index.js.map +1 -0
- package/dist/commonjs/schemas/integrations.d.ts +66 -0
- package/dist/commonjs/schemas/integrations.js +21 -0
- package/dist/commonjs/schemas/integrations.js.map +1 -0
- package/dist/commonjs/schemas/jobs.d.ts +12 -0
- package/dist/commonjs/schemas/jobs.js +9 -0
- package/dist/commonjs/schemas/jobs.js.map +1 -0
- package/dist/commonjs/schemas/json.d.ts +14 -0
- package/dist/commonjs/schemas/json.js +17 -0
- package/dist/commonjs/schemas/json.js.map +1 -0
- package/dist/commonjs/schemas/notifications.d.ts +587 -0
- package/dist/commonjs/schemas/notifications.js +59 -0
- package/dist/commonjs/schemas/notifications.js.map +1 -0
- package/dist/commonjs/schemas/properties.d.ts +57 -0
- package/dist/commonjs/schemas/properties.js +23 -0
- package/dist/commonjs/schemas/properties.js.map +1 -0
- package/dist/commonjs/schemas/request.d.ts +17 -0
- package/dist/commonjs/schemas/request.js +11 -0
- package/dist/commonjs/schemas/request.js.map +1 -0
- package/dist/commonjs/schemas/requestFilter.d.ts +225 -0
- package/dist/commonjs/schemas/requestFilter.js +60 -0
- package/dist/commonjs/schemas/requestFilter.js.map +1 -0
- package/dist/commonjs/schemas/runs.d.ts +344 -0
- package/dist/commonjs/schemas/runs.js +91 -0
- package/dist/commonjs/schemas/runs.js.map +1 -0
- package/dist/commonjs/schemas/schedules.d.ts +185 -0
- package/dist/commonjs/schemas/schedules.js +48 -0
- package/dist/commonjs/schemas/schedules.js.map +1 -0
- package/dist/commonjs/schemas/statuses.d.ts +89 -0
- package/dist/commonjs/schemas/statuses.js +23 -0
- package/dist/commonjs/schemas/statuses.js.map +1 -0
- package/dist/commonjs/schemas/tasks.d.ts +294 -0
- package/dist/commonjs/schemas/tasks.js +50 -0
- package/dist/commonjs/schemas/tasks.js.map +1 -0
- package/dist/commonjs/schemas/triggers.d.ts +532 -0
- package/dist/commonjs/schemas/triggers.js +57 -0
- package/dist/commonjs/schemas/triggers.js.map +1 -0
- package/dist/commonjs/searchParams.d.ts +1 -0
- package/dist/commonjs/searchParams.js +16 -0
- package/dist/commonjs/searchParams.js.map +1 -0
- package/dist/commonjs/types.d.ts +9 -0
- package/dist/commonjs/types.js +3 -0
- package/dist/commonjs/types.js.map +1 -0
- package/dist/commonjs/utils.d.ts +3 -0
- package/dist/commonjs/utils.js +34 -0
- package/dist/commonjs/utils.js.map +1 -0
- package/dist/commonjs/v3/apiClient/core.d.ts +102 -0
- package/dist/commonjs/v3/apiClient/core.js +416 -0
- package/dist/commonjs/v3/apiClient/core.js.map +1 -0
- package/dist/commonjs/v3/apiClient/errors.d.ts +54 -0
- package/dist/commonjs/v3/apiClient/errors.js +147 -0
- package/dist/commonjs/v3/apiClient/errors.js.map +1 -0
- package/dist/commonjs/v3/apiClient/index.d.ts +602 -0
- package/dist/commonjs/v3/apiClient/index.js +459 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -0
- package/dist/commonjs/v3/apiClient/pagination.d.ts +70 -0
- package/dist/commonjs/v3/apiClient/pagination.js +104 -0
- package/dist/commonjs/v3/apiClient/pagination.js.map +1 -0
- package/dist/commonjs/v3/apiClient/runStream.d.ts +110 -0
- package/dist/commonjs/v3/apiClient/runStream.js +373 -0
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -0
- package/dist/commonjs/v3/apiClient/stream.d.ts +19 -0
- package/dist/commonjs/v3/apiClient/stream.js +210 -0
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -0
- package/dist/commonjs/v3/apiClient/types.d.ts +38 -0
- package/dist/commonjs/v3/apiClient/types.js +3 -0
- package/dist/commonjs/v3/apiClient/types.js.map +1 -0
- package/dist/commonjs/v3/apiClientManager/index.d.ts +19 -0
- package/dist/commonjs/v3/apiClientManager/index.js +80 -0
- package/dist/commonjs/v3/apiClientManager/index.js.map +1 -0
- package/dist/commonjs/v3/apiClientManager/types.d.ts +13 -0
- package/dist/commonjs/v3/apiClientManager/types.js +3 -0
- package/dist/commonjs/v3/apiClientManager/types.js.map +1 -0
- package/dist/commonjs/v3/apiClientManager-api.d.ts +4 -0
- package/dist/commonjs/v3/apiClientManager-api.js +9 -0
- package/dist/commonjs/v3/apiClientManager-api.js.map +1 -0
- package/dist/commonjs/v3/apps/backoff.d.ts +85 -0
- package/dist/commonjs/v3/apps/backoff.js +282 -0
- package/dist/commonjs/v3/apps/backoff.js.map +1 -0
- package/dist/commonjs/v3/apps/checkpoints.d.ts +8 -0
- package/dist/commonjs/v3/apps/checkpoints.js +51 -0
- package/dist/commonjs/v3/apps/checkpoints.js.map +1 -0
- package/dist/commonjs/v3/apps/duration.d.ts +1 -0
- package/dist/commonjs/v3/apps/duration.js +51 -0
- package/dist/commonjs/v3/apps/duration.js.map +1 -0
- package/dist/commonjs/v3/apps/friendlyId.d.ts +1 -0
- package/dist/commonjs/v3/apps/friendlyId.js +9 -0
- package/dist/commonjs/v3/apps/friendlyId.js.map +1 -0
- package/dist/commonjs/v3/apps/http.d.ts +16 -0
- package/dist/commonjs/v3/apps/http.js +44 -0
- package/dist/commonjs/v3/apps/http.js.map +1 -0
- package/dist/commonjs/v3/apps/index.d.ts +9 -0
- package/dist/commonjs/v3/apps/index.js +26 -0
- package/dist/commonjs/v3/apps/index.js.map +1 -0
- package/dist/commonjs/v3/apps/isExecaChildProcess.d.ts +2 -0
- package/dist/commonjs/v3/apps/isExecaChildProcess.js +7 -0
- package/dist/commonjs/v3/apps/isExecaChildProcess.js.map +1 -0
- package/dist/commonjs/v3/apps/logger.d.ts +8 -0
- package/dist/commonjs/v3/apps/logger.js +33 -0
- package/dist/commonjs/v3/apps/logger.js.map +1 -0
- package/dist/commonjs/v3/apps/process.d.ts +4 -0
- package/dist/commonjs/v3/apps/process.js +8 -0
- package/dist/commonjs/v3/apps/process.js.map +1 -0
- package/dist/commonjs/v3/apps/provider.d.ts +74 -0
- package/dist/commonjs/v3/apps/provider.js +278 -0
- package/dist/commonjs/v3/apps/provider.js.map +1 -0
- package/dist/commonjs/v3/build/extensions.d.ts +56 -0
- package/dist/commonjs/v3/build/extensions.js +12 -0
- package/dist/commonjs/v3/build/extensions.js.map +1 -0
- package/dist/commonjs/v3/build/externals.d.ts +1 -0
- package/dist/commonjs/v3/build/externals.js +5 -0
- package/dist/commonjs/v3/build/externals.js.map +1 -0
- package/dist/commonjs/v3/build/index.d.ts +4 -0
- package/dist/commonjs/v3/build/index.js +21 -0
- package/dist/commonjs/v3/build/index.js.map +1 -0
- package/dist/commonjs/v3/build/resolvedConfig.d.ts +29 -0
- package/dist/commonjs/v3/build/resolvedConfig.js +3 -0
- package/dist/commonjs/v3/build/resolvedConfig.js.map +1 -0
- package/dist/commonjs/v3/build/runtime.d.ts +9 -0
- package/dist/commonjs/v3/build/runtime.js +53 -0
- package/dist/commonjs/v3/build/runtime.js.map +1 -0
- package/dist/commonjs/v3/clock/clock.d.ts +10 -0
- package/dist/commonjs/v3/clock/clock.js +11 -0
- package/dist/commonjs/v3/clock/clock.js.map +1 -0
- package/dist/commonjs/v3/clock/index.d.ts +10 -0
- package/dist/commonjs/v3/clock/index.js +31 -0
- package/dist/commonjs/v3/clock/index.js.map +1 -0
- package/dist/commonjs/v3/clock/preciseWallClock.d.ts +13 -0
- package/dist/commonjs/v3/clock/preciseWallClock.js +34 -0
- package/dist/commonjs/v3/clock/preciseWallClock.js.map +1 -0
- package/dist/commonjs/v3/clock/simpleClock.d.ts +5 -0
- package/dist/commonjs/v3/clock/simpleClock.js +16 -0
- package/dist/commonjs/v3/clock/simpleClock.js.map +1 -0
- package/dist/commonjs/v3/clock-api.d.ts +3 -0
- package/dist/commonjs/v3/clock-api.js +9 -0
- package/dist/commonjs/v3/clock-api.js.map +1 -0
- package/dist/commonjs/v3/config.d.ts +182 -0
- package/dist/commonjs/v3/config.js +3 -0
- package/dist/commonjs/v3/config.js.map +1 -0
- package/dist/commonjs/v3/consoleInterceptor.d.ts +13 -0
- package/dist/commonjs/v3/consoleInterceptor.js +133 -0
- package/dist/commonjs/v3/consoleInterceptor.js.map +1 -0
- package/dist/commonjs/v3/dev/index.d.ts +1 -0
- package/dist/commonjs/v3/dev/index.js +6 -0
- package/dist/commonjs/v3/dev/index.js.map +1 -0
- package/dist/commonjs/v3/errors.d.ts +87 -0
- package/dist/commonjs/v3/errors.js +722 -0
- package/dist/commonjs/v3/errors.js.map +1 -0
- package/dist/commonjs/v3/icons.d.ts +2 -0
- package/dist/commonjs/v3/icons.js +41 -0
- package/dist/commonjs/v3/icons.js.map +1 -0
- package/dist/commonjs/v3/idempotencyKeys.d.ts +41 -0
- package/dist/commonjs/v3/idempotencyKeys.js +83 -0
- package/dist/commonjs/v3/idempotencyKeys.js.map +1 -0
- package/dist/commonjs/v3/index.d.ts +35 -0
- package/dist/commonjs/v3/index.js +79 -0
- package/dist/commonjs/v3/index.js.map +1 -0
- package/dist/commonjs/v3/jwt.d.ts +19 -0
- package/dist/commonjs/v3/jwt.js +47 -0
- package/dist/commonjs/v3/jwt.js.map +1 -0
- package/dist/commonjs/v3/limits.d.ts +11 -0
- package/dist/commonjs/v3/limits.js +45 -0
- package/dist/commonjs/v3/limits.js.map +1 -0
- package/dist/commonjs/v3/links.d.ts +20 -0
- package/dist/commonjs/v3/links.js +24 -0
- package/dist/commonjs/v3/links.js.map +1 -0
- package/dist/commonjs/v3/logger/index.d.ts +16 -0
- package/dist/commonjs/v3/logger/index.js +46 -0
- package/dist/commonjs/v3/logger/index.js.map +1 -0
- package/dist/commonjs/v3/logger/taskLogger.d.ts +38 -0
- package/dist/commonjs/v3/logger/taskLogger.js +93 -0
- package/dist/commonjs/v3/logger/taskLogger.js.map +1 -0
- package/dist/commonjs/v3/logger-api.d.ts +3 -0
- package/dist/commonjs/v3/logger-api.js +9 -0
- package/dist/commonjs/v3/logger-api.js.map +1 -0
- package/dist/commonjs/v3/otel/index.d.ts +2 -0
- package/dist/commonjs/v3/otel/index.js +21 -0
- package/dist/commonjs/v3/otel/index.js.map +1 -0
- package/dist/commonjs/v3/otel/tracingSDK.d.ts +35 -0
- package/dist/commonjs/v3/otel/tracingSDK.js +161 -0
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -0
- package/dist/commonjs/v3/otel/utils.d.ts +2 -0
- package/dist/commonjs/v3/otel/utils.js +24 -0
- package/dist/commonjs/v3/otel/utils.js.map +1 -0
- package/dist/commonjs/v3/prod/index.d.ts +1 -0
- package/dist/commonjs/v3/prod/index.js +6 -0
- package/dist/commonjs/v3/prod/index.js.map +1 -0
- package/dist/commonjs/v3/run-metadata-api.d.ts +4 -0
- package/dist/commonjs/v3/run-metadata-api.js +24 -0
- package/dist/commonjs/v3/run-metadata-api.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/index.d.ts +27 -0
- package/dist/commonjs/v3/runMetadata/index.js +80 -0
- package/dist/commonjs/v3/runMetadata/index.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/manager.d.ts +44 -0
- package/dist/commonjs/v3/runMetadata/manager.js +326 -0
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/metadataStream.d.ts +23 -0
- package/dist/commonjs/v3/runMetadata/metadataStream.js +75 -0
- package/dist/commonjs/v3/runMetadata/metadataStream.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/noopManager.d.ts +22 -0
- package/dist/commonjs/v3/runMetadata/noopManager.js +79 -0
- package/dist/commonjs/v3/runMetadata/noopManager.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/operations.d.ts +6 -0
- package/dist/commonjs/v3/runMetadata/operations.js +115 -0
- package/dist/commonjs/v3/runMetadata/operations.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/types.d.ts +23 -0
- package/dist/commonjs/v3/runMetadata/types.js +3 -0
- package/dist/commonjs/v3/runMetadata/types.js.map +1 -0
- package/dist/commonjs/v3/runtime/devRuntimeManager.d.ts +26 -0
- package/dist/commonjs/v3/runtime/devRuntimeManager.js +71 -0
- package/dist/commonjs/v3/runtime/devRuntimeManager.js.map +1 -0
- package/dist/commonjs/v3/runtime/index.d.ts +21 -0
- package/dist/commonjs/v3/runtime/index.js +42 -0
- package/dist/commonjs/v3/runtime/index.js.map +1 -0
- package/dist/commonjs/v3/runtime/manager.d.ts +15 -0
- package/dist/commonjs/v3/runtime/manager.js +3 -0
- package/dist/commonjs/v3/runtime/manager.js.map +1 -0
- package/dist/commonjs/v3/runtime/noopRuntimeManager.d.ts +16 -0
- package/dist/commonjs/v3/runtime/noopRuntimeManager.js +33 -0
- package/dist/commonjs/v3/runtime/noopRuntimeManager.js.map +1 -0
- package/dist/commonjs/v3/runtime/prodRuntimeManager.d.ts +37 -0
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js +86 -0
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js.map +1 -0
- package/dist/commonjs/v3/runtime-api.d.ts +3 -0
- package/dist/commonjs/v3/runtime-api.js +9 -0
- package/dist/commonjs/v3/runtime-api.js.map +1 -0
- package/dist/commonjs/v3/schemas/api.d.ts +3816 -0
- package/dist/commonjs/v3/schemas/api.js +545 -0
- package/dist/commonjs/v3/schemas/api.js.map +1 -0
- package/dist/commonjs/v3/schemas/build.d.ts +1286 -0
- package/dist/commonjs/v3/schemas/build.js +94 -0
- package/dist/commonjs/v3/schemas/build.js.map +1 -0
- package/dist/commonjs/v3/schemas/common.d.ts +5199 -0
- package/dist/commonjs/v3/schemas/common.js +260 -0
- package/dist/commonjs/v3/schemas/common.js.map +1 -0
- package/dist/commonjs/v3/schemas/config.d.ts +12 -0
- package/dist/commonjs/v3/schemas/config.js +9 -0
- package/dist/commonjs/v3/schemas/config.js.map +1 -0
- package/dist/commonjs/v3/schemas/eventFilter.d.ts +112 -0
- package/dist/commonjs/v3/schemas/eventFilter.js +61 -0
- package/dist/commonjs/v3/schemas/eventFilter.js.map +1 -0
- package/dist/commonjs/v3/schemas/fetch.d.ts +384 -0
- package/dist/commonjs/v3/schemas/fetch.js +55 -0
- package/dist/commonjs/v3/schemas/fetch.js.map +1 -0
- package/dist/commonjs/v3/schemas/index.d.ts +12 -0
- package/dist/commonjs/v3/schemas/index.js +29 -0
- package/dist/commonjs/v3/schemas/index.js.map +1 -0
- package/dist/commonjs/v3/schemas/messages.d.ts +32964 -0
- package/dist/commonjs/v3/schemas/messages.js +836 -0
- package/dist/commonjs/v3/schemas/messages.js.map +1 -0
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +299 -0
- package/dist/commonjs/v3/schemas/openTelemetry.js +46 -0
- package/dist/commonjs/v3/schemas/openTelemetry.js.map +1 -0
- package/dist/commonjs/v3/schemas/resources.d.ts +356 -0
- package/dist/commonjs/v3/schemas/resources.js +36 -0
- package/dist/commonjs/v3/schemas/resources.js.map +1 -0
- package/dist/commonjs/v3/schemas/schemas.d.ts +1965 -0
- package/dist/commonjs/v3/schemas/schemas.js +191 -0
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -0
- package/dist/commonjs/v3/schemas/style.d.ts +93 -0
- package/dist/commonjs/v3/schemas/style.js +26 -0
- package/dist/commonjs/v3/schemas/style.js.map +1 -0
- package/dist/commonjs/v3/schemas/tokens.d.ts +43 -0
- package/dist/commonjs/v3/schemas/tokens.js +20 -0
- package/dist/commonjs/v3/schemas/tokens.js.map +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.d.ts +54 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js +58 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -0
- package/dist/commonjs/v3/task-catalog/catalog.d.ts +11 -0
- package/dist/commonjs/v3/task-catalog/catalog.js +3 -0
- package/dist/commonjs/v3/task-catalog/catalog.js.map +1 -0
- package/dist/commonjs/v3/task-catalog/index.d.ts +18 -0
- package/dist/commonjs/v3/task-catalog/index.js +49 -0
- package/dist/commonjs/v3/task-catalog/index.js.map +1 -0
- package/dist/commonjs/v3/task-catalog/noopTaskCatalog.d.ts +13 -0
- package/dist/commonjs/v3/task-catalog/noopTaskCatalog.js +31 -0
- package/dist/commonjs/v3/task-catalog/noopTaskCatalog.js.map +1 -0
- package/dist/commonjs/v3/task-catalog/standardTaskCatalog.d.ts +16 -0
- package/dist/commonjs/v3/task-catalog/standardTaskCatalog.js +84 -0
- package/dist/commonjs/v3/task-catalog/standardTaskCatalog.js.map +1 -0
- package/dist/commonjs/v3/task-catalog-api.d.ts +3 -0
- package/dist/commonjs/v3/task-catalog-api.js +9 -0
- package/dist/commonjs/v3/task-catalog-api.js.map +1 -0
- package/dist/commonjs/v3/task-context-api.d.ts +3 -0
- package/dist/commonjs/v3/task-context-api.js +9 -0
- package/dist/commonjs/v3/task-context-api.js.map +1 -0
- package/dist/commonjs/v3/taskContext/index.d.ts +17 -0
- package/dist/commonjs/v3/taskContext/index.js +84 -0
- package/dist/commonjs/v3/taskContext/index.js.map +1 -0
- package/dist/commonjs/v3/taskContext/otelProcessors.d.ts +18 -0
- package/dist/commonjs/v3/taskContext/otelProcessors.js +57 -0
- package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -0
- package/dist/commonjs/v3/taskContext/types.d.ts +5 -0
- package/dist/commonjs/v3/taskContext/types.js +3 -0
- package/dist/commonjs/v3/taskContext/types.js.map +1 -0
- package/dist/commonjs/v3/timeout/api.d.ts +11 -0
- package/dist/commonjs/v3/timeout/api.js +38 -0
- package/dist/commonjs/v3/timeout/api.js.map +1 -0
- package/dist/commonjs/v3/timeout/types.d.ts +9 -0
- package/dist/commonjs/v3/timeout/types.js +15 -0
- package/dist/commonjs/v3/timeout/types.js.map +1 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.d.ts +10 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js +32 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -0
- package/dist/commonjs/v3/timeout-api.d.ts +3 -0
- package/dist/commonjs/v3/timeout-api.js +9 -0
- package/dist/commonjs/v3/timeout-api.js.map +1 -0
- package/dist/commonjs/v3/tracer.d.ts +20 -0
- package/dist/commonjs/v3/tracer.js +114 -0
- package/dist/commonjs/v3/tracer.js.map +1 -0
- package/dist/commonjs/v3/types/idempotencyKeys.d.ts +7 -0
- package/dist/commonjs/v3/types/idempotencyKeys.js +3 -0
- package/dist/commonjs/v3/types/idempotencyKeys.js.map +1 -0
- package/dist/commonjs/v3/types/index.d.ts +26 -0
- package/dist/commonjs/v3/types/index.js +21 -0
- package/dist/commonjs/v3/types/index.js.map +1 -0
- package/dist/commonjs/v3/types/schemas.d.ts +44 -0
- package/dist/commonjs/v3/types/schemas.js +41 -0
- package/dist/commonjs/v3/types/schemas.js.map +1 -0
- package/dist/commonjs/v3/types/tasks.d.ts +588 -0
- package/dist/commonjs/v3/types/tasks.js +42 -0
- package/dist/commonjs/v3/types/tasks.js.map +1 -0
- package/dist/commonjs/v3/types/tools.d.ts +6 -0
- package/dist/commonjs/v3/types/tools.js +22 -0
- package/dist/commonjs/v3/types/tools.js.map +1 -0
- package/dist/commonjs/v3/types/utils.d.ts +6 -0
- package/dist/commonjs/v3/types/utils.js +3 -0
- package/dist/commonjs/v3/types/utils.js.map +1 -0
- package/dist/commonjs/v3/usage/api.d.ts +13 -0
- package/dist/commonjs/v3/usage/api.js +41 -0
- package/dist/commonjs/v3/usage/api.js.map +1 -0
- package/dist/commonjs/v3/usage/devUsageManager.d.ts +23 -0
- package/dist/commonjs/v3/usage/devUsageManager.js +90 -0
- package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -0
- package/dist/commonjs/v3/usage/noopUsageManager.d.ts +8 -0
- package/dist/commonjs/v3/usage/noopUsageManager.js +24 -0
- package/dist/commonjs/v3/usage/noopUsageManager.js.map +1 -0
- package/dist/commonjs/v3/usage/prodUsageManager.d.ts +23 -0
- package/dist/commonjs/v3/usage/prodUsageManager.js +85 -0
- package/dist/commonjs/v3/usage/prodUsageManager.js.map +1 -0
- package/dist/commonjs/v3/usage/types.d.ts +14 -0
- package/dist/commonjs/v3/usage/types.js +3 -0
- package/dist/commonjs/v3/usage/types.js.map +1 -0
- package/dist/commonjs/v3/usage/usageClient.d.ts +13 -0
- package/dist/commonjs/v3/usage/usageClient.js +37 -0
- package/dist/commonjs/v3/usage/usageClient.js.map +1 -0
- package/dist/commonjs/v3/usage-api.d.ts +3 -0
- package/dist/commonjs/v3/usage-api.js +9 -0
- package/dist/commonjs/v3/usage-api.js.map +1 -0
- package/dist/commonjs/v3/utils/durations.d.ts +13 -0
- package/dist/commonjs/v3/utils/durations.js +75 -0
- package/dist/commonjs/v3/utils/durations.js.map +1 -0
- package/dist/commonjs/v3/utils/flattenAttributes.d.ts +6 -0
- package/dist/commonjs/v3/utils/flattenAttributes.js +173 -0
- package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -0
- package/dist/commonjs/v3/utils/getEnv.d.ts +2 -0
- package/dist/commonjs/v3/utils/getEnv.js +23 -0
- package/dist/commonjs/v3/utils/getEnv.js.map +1 -0
- package/dist/commonjs/v3/utils/globals.d.ts +25 -0
- package/dist/commonjs/v3/utils/globals.js +28 -0
- package/dist/commonjs/v3/utils/globals.js.map +1 -0
- package/dist/commonjs/v3/utils/ioSerialization.d.ts +28 -0
- package/dist/commonjs/v3/utils/ioSerialization.js +344 -0
- package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -0
- package/dist/commonjs/v3/utils/omit.d.ts +1 -0
- package/dist/commonjs/v3/utils/omit.js +13 -0
- package/dist/commonjs/v3/utils/omit.js.map +1 -0
- package/dist/commonjs/v3/utils/platform.d.ts +1 -0
- package/dist/commonjs/v3/utils/platform.js +5 -0
- package/dist/commonjs/v3/utils/platform.js.map +1 -0
- package/dist/commonjs/v3/utils/retries.d.ts +42 -0
- package/dist/commonjs/v3/utils/retries.js +45 -0
- package/dist/commonjs/v3/utils/retries.js.map +1 -0
- package/dist/commonjs/v3/utils/safeAsyncLocalStorage.d.ts +7 -0
- package/dist/commonjs/v3/utils/safeAsyncLocalStorage.js +21 -0
- package/dist/commonjs/v3/utils/safeAsyncLocalStorage.js.map +1 -0
- package/dist/commonjs/v3/utils/structuredLogger.d.ts +31 -0
- package/dist/commonjs/v3/utils/structuredLogger.js +70 -0
- package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -0
- package/dist/commonjs/v3/utils/styleAttributes.d.ts +3 -0
- package/dist/commonjs/v3/utils/styleAttributes.js +9 -0
- package/dist/commonjs/v3/utils/styleAttributes.js.map +1 -0
- package/dist/commonjs/v3/utils/timers.d.ts +3 -0
- package/dist/commonjs/v3/utils/timers.js +25 -0
- package/dist/commonjs/v3/utils/timers.js.map +1 -0
- package/dist/commonjs/v3/wait-until-api.d.ts +2 -0
- package/dist/commonjs/v3/wait-until-api.js +8 -0
- package/dist/commonjs/v3/wait-until-api.js.map +1 -0
- package/dist/commonjs/v3/waitUntil/index.d.ts +11 -0
- package/dist/commonjs/v3/waitUntil/index.js +44 -0
- package/dist/commonjs/v3/waitUntil/index.js.map +1 -0
- package/dist/commonjs/v3/waitUntil/manager.d.ts +8 -0
- package/dist/commonjs/v3/waitUntil/manager.js +28 -0
- package/dist/commonjs/v3/waitUntil/manager.js.map +1 -0
- package/dist/commonjs/v3/waitUntil/types.d.ts +9 -0
- package/dist/commonjs/v3/waitUntil/types.js +3 -0
- package/dist/commonjs/v3/waitUntil/types.js.map +1 -0
- package/dist/commonjs/v3/workers/index.d.ts +15 -0
- package/dist/commonjs/v3/workers/index.js +49 -0
- package/dist/commonjs/v3/workers/index.js.map +1 -0
- package/dist/commonjs/v3/workers/taskExecutor.d.ts +27 -0
- package/dist/commonjs/v3/workers/taskExecutor.js +390 -0
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -0
- package/dist/commonjs/v3/zodIpc.d.ts +30 -0
- package/dist/commonjs/v3/zodIpc.js +206 -0
- package/dist/commonjs/v3/zodIpc.js.map +1 -0
- package/dist/commonjs/v3/zodMessageHandler.d.ts +83 -0
- package/dist/commonjs/v3/zodMessageHandler.js +205 -0
- package/dist/commonjs/v3/zodMessageHandler.js.map +1 -0
- package/dist/commonjs/v3/zodNamespace.d.ts +35 -0
- package/dist/commonjs/v3/zodNamespace.js +101 -0
- package/dist/commonjs/v3/zodNamespace.js.map +1 -0
- package/dist/commonjs/v3/zodSocket.d.ts +93 -0
- package/dist/commonjs/v3/zodSocket.js +240 -0
- package/dist/commonjs/v3/zodSocket.js.map +1 -0
- package/dist/commonjs/v3/zodfetch.d.ts +3 -0
- package/dist/commonjs/v3/zodfetch.js +20 -0
- package/dist/commonjs/v3/zodfetch.js.map +1 -0
- package/dist/commonjs/version.d.ts +1 -0
- package/dist/commonjs/version.js +5 -0
- package/dist/commonjs/version.js.map +1 -0
- package/dist/commonjs/versions.d.ts +9 -0
- package/dist/commonjs/versions.js +23 -0
- package/dist/commonjs/versions.js.map +1 -0
- package/dist/esm/bloom.d.ts +10 -0
- package/dist/esm/bloom.js +54 -0
- package/dist/esm/bloom.js.map +1 -0
- package/dist/esm/eventFilterMatches.d.ts +2 -0
- package/dist/esm/eventFilterMatches.js +167 -0
- package/dist/esm/eventFilterMatches.js.map +1 -0
- package/dist/esm/index.d.ts +9 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +13 -0
- package/dist/esm/logger.js +161 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/replacements.d.ts +19 -0
- package/dist/esm/replacements.js +24 -0
- package/dist/esm/replacements.js.map +1 -0
- package/dist/esm/requestFilterMatches.d.ts +7 -0
- package/dist/esm/requestFilterMatches.js +58 -0
- package/dist/esm/requestFilterMatches.js.map +1 -0
- package/dist/esm/retry.d.ts +3 -0
- package/dist/esm/retry.js +102 -0
- package/dist/esm/retry.js.map +1 -0
- package/dist/esm/schemas/addMissingVersionField.d.ts +1 -0
- package/dist/esm/schemas/addMissingVersionField.js +10 -0
- package/dist/esm/schemas/addMissingVersionField.js.map +1 -0
- package/dist/esm/schemas/api.d.ts +13789 -0
- package/dist/esm/schemas/api.js +847 -0
- package/dist/esm/schemas/api.js.map +1 -0
- package/dist/esm/schemas/errors.d.ts +26 -0
- package/dist/esm/schemas/errors.js +11 -0
- package/dist/esm/schemas/errors.js.map +1 -0
- package/dist/esm/schemas/eventFilter.d.ts +129 -0
- package/dist/esm/schemas/eventFilter.js +64 -0
- package/dist/esm/schemas/eventFilter.js.map +1 -0
- package/dist/esm/schemas/events.d.ts +66 -0
- package/dist/esm/schemas/events.js +28 -0
- package/dist/esm/schemas/events.js.map +1 -0
- package/dist/esm/schemas/fetch.d.ts +682 -0
- package/dist/esm/schemas/fetch.js +65 -0
- package/dist/esm/schemas/fetch.js.map +1 -0
- package/dist/esm/schemas/index.d.ts +18 -0
- package/dist/esm/schemas/index.js +19 -0
- package/dist/esm/schemas/index.js.map +1 -0
- package/dist/esm/schemas/integrations.d.ts +66 -0
- package/dist/esm/schemas/integrations.js +18 -0
- package/dist/esm/schemas/integrations.js.map +1 -0
- package/dist/esm/schemas/jobs.d.ts +12 -0
- package/dist/esm/schemas/jobs.js +6 -0
- package/dist/esm/schemas/jobs.js.map +1 -0
- package/dist/esm/schemas/json.d.ts +14 -0
- package/dist/esm/schemas/json.js +14 -0
- package/dist/esm/schemas/json.js.map +1 -0
- package/dist/esm/schemas/notifications.d.ts +587 -0
- package/dist/esm/schemas/notifications.js +56 -0
- package/dist/esm/schemas/notifications.js.map +1 -0
- package/dist/esm/schemas/properties.d.ts +57 -0
- package/dist/esm/schemas/properties.js +20 -0
- package/dist/esm/schemas/properties.js.map +1 -0
- package/dist/esm/schemas/request.d.ts +17 -0
- package/dist/esm/schemas/request.js +8 -0
- package/dist/esm/schemas/request.js.map +1 -0
- package/dist/esm/schemas/requestFilter.d.ts +225 -0
- package/dist/esm/schemas/requestFilter.js +57 -0
- package/dist/esm/schemas/requestFilter.js.map +1 -0
- package/dist/esm/schemas/runs.d.ts +344 -0
- package/dist/esm/schemas/runs.js +88 -0
- package/dist/esm/schemas/runs.js.map +1 -0
- package/dist/esm/schemas/schedules.d.ts +185 -0
- package/dist/esm/schemas/schedules.js +45 -0
- package/dist/esm/schemas/schedules.js.map +1 -0
- package/dist/esm/schemas/statuses.d.ts +89 -0
- package/dist/esm/schemas/statuses.js +20 -0
- package/dist/esm/schemas/statuses.js.map +1 -0
- package/dist/esm/schemas/tasks.d.ts +294 -0
- package/dist/esm/schemas/tasks.js +47 -0
- package/dist/esm/schemas/tasks.js.map +1 -0
- package/dist/esm/schemas/triggers.d.ts +532 -0
- package/dist/esm/schemas/triggers.js +54 -0
- package/dist/esm/schemas/triggers.js.map +1 -0
- package/dist/esm/searchParams.d.ts +1 -0
- package/dist/esm/searchParams.js +13 -0
- package/dist/esm/searchParams.js.map +1 -0
- package/dist/esm/types.d.ts +9 -0
- package/dist/esm/types.js +2 -0
- package/dist/esm/types.js.map +1 -0
- package/dist/esm/utils.d.ts +3 -0
- package/dist/esm/utils.js +30 -0
- package/dist/esm/utils.js.map +1 -0
- package/dist/esm/v3/apiClient/core.d.ts +102 -0
- package/dist/esm/v3/apiClient/core.js +404 -0
- package/dist/esm/v3/apiClient/core.js.map +1 -0
- package/dist/esm/v3/apiClient/errors.d.ts +54 -0
- package/dist/esm/v3/apiClient/errors.js +133 -0
- package/dist/esm/v3/apiClient/errors.js.map +1 -0
- package/dist/esm/v3/apiClient/index.d.ts +602 -0
- package/dist/esm/v3/apiClient/index.js +454 -0
- package/dist/esm/v3/apiClient/index.js.map +1 -0
- package/dist/esm/v3/apiClient/pagination.d.ts +70 -0
- package/dist/esm/v3/apiClient/pagination.js +99 -0
- package/dist/esm/v3/apiClient/pagination.js.map +1 -0
- package/dist/esm/v3/apiClient/runStream.d.ts +110 -0
- package/dist/esm/v3/apiClient/runStream.js +365 -0
- package/dist/esm/v3/apiClient/runStream.js.map +1 -0
- package/dist/esm/v3/apiClient/stream.d.ts +19 -0
- package/dist/esm/v3/apiClient/stream.js +203 -0
- package/dist/esm/v3/apiClient/stream.js.map +1 -0
- package/dist/esm/v3/apiClient/types.d.ts +38 -0
- package/dist/esm/v3/apiClient/types.js +2 -0
- package/dist/esm/v3/apiClient/types.js.map +1 -0
- package/dist/esm/v3/apiClientManager/index.d.ts +19 -0
- package/dist/esm/v3/apiClientManager/index.js +75 -0
- package/dist/esm/v3/apiClientManager/index.js.map +1 -0
- package/dist/esm/v3/apiClientManager/types.d.ts +13 -0
- package/dist/esm/v3/apiClientManager/types.js +2 -0
- package/dist/esm/v3/apiClientManager/types.js.map +1 -0
- package/dist/esm/v3/apiClientManager-api.d.ts +4 -0
- package/dist/esm/v3/apiClientManager-api.js +6 -0
- package/dist/esm/v3/apiClientManager-api.js.map +1 -0
- package/dist/esm/v3/apps/backoff.d.ts +85 -0
- package/dist/esm/v3/apps/backoff.js +278 -0
- package/dist/esm/v3/apps/backoff.js.map +1 -0
- package/dist/esm/v3/apps/checkpoints.d.ts +8 -0
- package/dist/esm/v3/apps/checkpoints.js +48 -0
- package/dist/esm/v3/apps/checkpoints.js.map +1 -0
- package/dist/esm/v3/apps/duration.d.ts +1 -0
- package/dist/esm/v3/apps/duration.js +48 -0
- package/dist/esm/v3/apps/duration.js.map +1 -0
- package/dist/esm/v3/apps/friendlyId.d.ts +1 -0
- package/dist/esm/v3/apps/friendlyId.js +6 -0
- package/dist/esm/v3/apps/friendlyId.js.map +1 -0
- package/dist/esm/v3/apps/http.d.ts +16 -0
- package/dist/esm/v3/apps/http.js +38 -0
- package/dist/esm/v3/apps/http.js.map +1 -0
- package/dist/esm/v3/apps/index.d.ts +9 -0
- package/dist/esm/v3/apps/index.js +10 -0
- package/dist/esm/v3/apps/index.js.map +1 -0
- package/dist/esm/v3/apps/isExecaChildProcess.d.ts +2 -0
- package/dist/esm/v3/apps/isExecaChildProcess.js +4 -0
- package/dist/esm/v3/apps/isExecaChildProcess.js.map +1 -0
- package/dist/esm/v3/apps/logger.d.ts +8 -0
- package/dist/esm/v3/apps/logger.js +29 -0
- package/dist/esm/v3/apps/logger.js.map +1 -0
- package/dist/esm/v3/apps/process.d.ts +4 -0
- package/dist/esm/v3/apps/process.js +5 -0
- package/dist/esm/v3/apps/process.js.map +1 -0
- package/dist/esm/v3/apps/provider.d.ts +74 -0
- package/dist/esm/v3/apps/provider.js +274 -0
- package/dist/esm/v3/apps/provider.js.map +1 -0
- package/dist/esm/v3/build/extensions.d.ts +56 -0
- package/dist/esm/v3/build/extensions.js +9 -0
- package/dist/esm/v3/build/extensions.js.map +1 -0
- package/dist/esm/v3/build/externals.d.ts +1 -0
- package/dist/esm/v3/build/externals.js +2 -0
- package/dist/esm/v3/build/externals.js.map +1 -0
- package/dist/esm/v3/build/index.d.ts +4 -0
- package/dist/esm/v3/build/index.js +5 -0
- package/dist/esm/v3/build/index.js.map +1 -0
- package/dist/esm/v3/build/resolvedConfig.d.ts +29 -0
- package/dist/esm/v3/build/resolvedConfig.js +2 -0
- package/dist/esm/v3/build/resolvedConfig.js.map +1 -0
- package/dist/esm/v3/build/runtime.d.ts +9 -0
- package/dist/esm/v3/build/runtime.js +47 -0
- package/dist/esm/v3/build/runtime.js.map +1 -0
- package/dist/esm/v3/clock/clock.d.ts +10 -0
- package/dist/esm/v3/clock/clock.js +8 -0
- package/dist/esm/v3/clock/clock.js.map +1 -0
- package/dist/esm/v3/clock/index.d.ts +10 -0
- package/dist/esm/v3/clock/index.js +27 -0
- package/dist/esm/v3/clock/index.js.map +1 -0
- package/dist/esm/v3/clock/preciseWallClock.d.ts +13 -0
- package/dist/esm/v3/clock/preciseWallClock.js +30 -0
- package/dist/esm/v3/clock/preciseWallClock.js.map +1 -0
- package/dist/esm/v3/clock/simpleClock.d.ts +5 -0
- package/dist/esm/v3/clock/simpleClock.js +12 -0
- package/dist/esm/v3/clock/simpleClock.js.map +1 -0
- package/dist/esm/v3/clock-api.d.ts +3 -0
- package/dist/esm/v3/clock-api.js +6 -0
- package/dist/esm/v3/clock-api.js.map +1 -0
- package/dist/esm/v3/config.d.ts +182 -0
- package/dist/esm/v3/config.js +2 -0
- package/dist/esm/v3/config.js.map +1 -0
- package/dist/esm/v3/consoleInterceptor.d.ts +13 -0
- package/dist/esm/v3/consoleInterceptor.js +126 -0
- package/dist/esm/v3/consoleInterceptor.js.map +1 -0
- package/dist/esm/v3/dev/index.d.ts +1 -0
- package/dist/esm/v3/dev/index.js +2 -0
- package/dist/esm/v3/dev/index.js.map +1 -0
- package/dist/esm/v3/errors.d.ts +87 -0
- package/dist/esm/v3/errors.js +696 -0
- package/dist/esm/v3/errors.js.map +1 -0
- package/dist/esm/v3/icons.d.ts +2 -0
- package/dist/esm/v3/icons.js +38 -0
- package/dist/esm/v3/icons.js.map +1 -0
- package/dist/esm/v3/idempotencyKeys.d.ts +41 -0
- package/dist/esm/v3/idempotencyKeys.js +78 -0
- package/dist/esm/v3/idempotencyKeys.js.map +1 -0
- package/dist/esm/v3/index.d.ts +35 -0
- package/dist/esm/v3/index.js +34 -0
- package/dist/esm/v3/index.js.map +1 -0
- package/dist/esm/v3/jwt.d.ts +19 -0
- package/dist/esm/v3/jwt.js +42 -0
- package/dist/esm/v3/jwt.js.map +1 -0
- package/dist/esm/v3/limits.d.ts +11 -0
- package/dist/esm/v3/limits.js +41 -0
- package/dist/esm/v3/limits.js.map +1 -0
- package/dist/esm/v3/links.d.ts +20 -0
- package/dist/esm/v3/links.js +21 -0
- package/dist/esm/v3/links.js.map +1 -0
- package/dist/esm/v3/logger/index.d.ts +16 -0
- package/dist/esm/v3/logger/index.js +42 -0
- package/dist/esm/v3/logger/index.js.map +1 -0
- package/dist/esm/v3/logger/taskLogger.d.ts +38 -0
- package/dist/esm/v3/logger/taskLogger.js +88 -0
- package/dist/esm/v3/logger/taskLogger.js.map +1 -0
- package/dist/esm/v3/logger-api.d.ts +3 -0
- package/dist/esm/v3/logger-api.js +6 -0
- package/dist/esm/v3/logger-api.js.map +1 -0
- package/dist/esm/v3/otel/index.d.ts +2 -0
- package/dist/esm/v3/otel/index.js +3 -0
- package/dist/esm/v3/otel/index.js.map +1 -0
- package/dist/esm/v3/otel/tracingSDK.d.ts +35 -0
- package/dist/esm/v3/otel/tracingSDK.js +157 -0
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -0
- package/dist/esm/v3/otel/utils.d.ts +2 -0
- package/dist/esm/v3/otel/utils.js +21 -0
- package/dist/esm/v3/otel/utils.js.map +1 -0
- package/dist/esm/v3/prod/index.d.ts +1 -0
- package/dist/esm/v3/prod/index.js +2 -0
- package/dist/esm/v3/prod/index.js.map +1 -0
- package/dist/esm/v3/run-metadata-api.d.ts +4 -0
- package/dist/esm/v3/run-metadata-api.js +7 -0
- package/dist/esm/v3/run-metadata-api.js.map +1 -0
- package/dist/esm/v3/runMetadata/index.d.ts +27 -0
- package/dist/esm/v3/runMetadata/index.js +76 -0
- package/dist/esm/v3/runMetadata/index.js.map +1 -0
- package/dist/esm/v3/runMetadata/manager.d.ts +44 -0
- package/dist/esm/v3/runMetadata/manager.js +322 -0
- package/dist/esm/v3/runMetadata/manager.js.map +1 -0
- package/dist/esm/v3/runMetadata/metadataStream.d.ts +23 -0
- package/dist/esm/v3/runMetadata/metadataStream.js +71 -0
- package/dist/esm/v3/runMetadata/metadataStream.js.map +1 -0
- package/dist/esm/v3/runMetadata/noopManager.d.ts +22 -0
- package/dist/esm/v3/runMetadata/noopManager.js +75 -0
- package/dist/esm/v3/runMetadata/noopManager.js.map +1 -0
- package/dist/esm/v3/runMetadata/operations.d.ts +6 -0
- package/dist/esm/v3/runMetadata/operations.js +112 -0
- package/dist/esm/v3/runMetadata/operations.js.map +1 -0
- package/dist/esm/v3/runMetadata/types.d.ts +23 -0
- package/dist/esm/v3/runMetadata/types.js +2 -0
- package/dist/esm/v3/runMetadata/types.js.map +1 -0
- package/dist/esm/v3/runtime/devRuntimeManager.d.ts +26 -0
- package/dist/esm/v3/runtime/devRuntimeManager.js +67 -0
- package/dist/esm/v3/runtime/devRuntimeManager.js.map +1 -0
- package/dist/esm/v3/runtime/index.d.ts +21 -0
- package/dist/esm/v3/runtime/index.js +38 -0
- package/dist/esm/v3/runtime/index.js.map +1 -0
- package/dist/esm/v3/runtime/manager.d.ts +15 -0
- package/dist/esm/v3/runtime/manager.js +2 -0
- package/dist/esm/v3/runtime/manager.js.map +1 -0
- package/dist/esm/v3/runtime/noopRuntimeManager.d.ts +16 -0
- package/dist/esm/v3/runtime/noopRuntimeManager.js +29 -0
- package/dist/esm/v3/runtime/noopRuntimeManager.js.map +1 -0
- package/dist/esm/v3/runtime/prodRuntimeManager.d.ts +37 -0
- package/dist/esm/v3/runtime/prodRuntimeManager.js +82 -0
- package/dist/esm/v3/runtime/prodRuntimeManager.js.map +1 -0
- package/dist/esm/v3/runtime-api.d.ts +3 -0
- package/dist/esm/v3/runtime-api.js +6 -0
- package/dist/esm/v3/runtime-api.js.map +1 -0
- package/dist/esm/v3/schemas/api.d.ts +3816 -0
- package/dist/esm/v3/schemas/api.js +541 -0
- package/dist/esm/v3/schemas/api.js.map +1 -0
- package/dist/esm/v3/schemas/build.d.ts +1286 -0
- package/dist/esm/v3/schemas/build.js +91 -0
- package/dist/esm/v3/schemas/build.js.map +1 -0
- package/dist/esm/v3/schemas/common.d.ts +5199 -0
- package/dist/esm/v3/schemas/common.js +257 -0
- package/dist/esm/v3/schemas/common.js.map +1 -0
- package/dist/esm/v3/schemas/config.d.ts +12 -0
- package/dist/esm/v3/schemas/config.js +6 -0
- package/dist/esm/v3/schemas/config.js.map +1 -0
- package/dist/esm/v3/schemas/eventFilter.d.ts +112 -0
- package/dist/esm/v3/schemas/eventFilter.js +58 -0
- package/dist/esm/v3/schemas/eventFilter.js.map +1 -0
- package/dist/esm/v3/schemas/fetch.d.ts +384 -0
- package/dist/esm/v3/schemas/fetch.js +52 -0
- package/dist/esm/v3/schemas/fetch.js.map +1 -0
- package/dist/esm/v3/schemas/index.d.ts +12 -0
- package/dist/esm/v3/schemas/index.js +13 -0
- package/dist/esm/v3/schemas/index.js.map +1 -0
- package/dist/esm/v3/schemas/messages.d.ts +32964 -0
- package/dist/esm/v3/schemas/messages.js +833 -0
- package/dist/esm/v3/schemas/messages.js.map +1 -0
- package/dist/esm/v3/schemas/openTelemetry.d.ts +299 -0
- package/dist/esm/v3/schemas/openTelemetry.js +41 -0
- package/dist/esm/v3/schemas/openTelemetry.js.map +1 -0
- package/dist/esm/v3/schemas/resources.d.ts +356 -0
- package/dist/esm/v3/schemas/resources.js +33 -0
- package/dist/esm/v3/schemas/resources.js.map +1 -0
- package/dist/esm/v3/schemas/schemas.d.ts +1965 -0
- package/dist/esm/v3/schemas/schemas.js +188 -0
- package/dist/esm/v3/schemas/schemas.js.map +1 -0
- package/dist/esm/v3/schemas/style.d.ts +93 -0
- package/dist/esm/v3/schemas/style.js +23 -0
- package/dist/esm/v3/schemas/style.js.map +1 -0
- package/dist/esm/v3/schemas/tokens.d.ts +43 -0
- package/dist/esm/v3/schemas/tokens.js +17 -0
- package/dist/esm/v3/schemas/tokens.js.map +1 -0
- package/dist/esm/v3/semanticInternalAttributes.d.ts +54 -0
- package/dist/esm/v3/semanticInternalAttributes.js +55 -0
- package/dist/esm/v3/semanticInternalAttributes.js.map +1 -0
- package/dist/esm/v3/task-catalog/catalog.d.ts +11 -0
- package/dist/esm/v3/task-catalog/catalog.js +2 -0
- package/dist/esm/v3/task-catalog/catalog.js.map +1 -0
- package/dist/esm/v3/task-catalog/index.d.ts +18 -0
- package/dist/esm/v3/task-catalog/index.js +45 -0
- package/dist/esm/v3/task-catalog/index.js.map +1 -0
- package/dist/esm/v3/task-catalog/noopTaskCatalog.d.ts +13 -0
- package/dist/esm/v3/task-catalog/noopTaskCatalog.js +27 -0
- package/dist/esm/v3/task-catalog/noopTaskCatalog.js.map +1 -0
- package/dist/esm/v3/task-catalog/standardTaskCatalog.d.ts +16 -0
- package/dist/esm/v3/task-catalog/standardTaskCatalog.js +80 -0
- package/dist/esm/v3/task-catalog/standardTaskCatalog.js.map +1 -0
- package/dist/esm/v3/task-catalog-api.d.ts +3 -0
- package/dist/esm/v3/task-catalog-api.js +6 -0
- package/dist/esm/v3/task-catalog-api.js.map +1 -0
- package/dist/esm/v3/task-context-api.d.ts +3 -0
- package/dist/esm/v3/task-context-api.js +6 -0
- package/dist/esm/v3/task-context-api.js.map +1 -0
- package/dist/esm/v3/taskContext/index.d.ts +17 -0
- package/dist/esm/v3/taskContext/index.js +80 -0
- package/dist/esm/v3/taskContext/index.js.map +1 -0
- package/dist/esm/v3/taskContext/otelProcessors.d.ts +18 -0
- package/dist/esm/v3/taskContext/otelProcessors.js +52 -0
- package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -0
- package/dist/esm/v3/taskContext/types.d.ts +5 -0
- package/dist/esm/v3/taskContext/types.js +2 -0
- package/dist/esm/v3/taskContext/types.js.map +1 -0
- package/dist/esm/v3/timeout/api.d.ts +11 -0
- package/dist/esm/v3/timeout/api.js +34 -0
- package/dist/esm/v3/timeout/api.js.map +1 -0
- package/dist/esm/v3/timeout/types.d.ts +9 -0
- package/dist/esm/v3/timeout/types.js +11 -0
- package/dist/esm/v3/timeout/types.js.map +1 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.d.ts +10 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.js +28 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -0
- package/dist/esm/v3/timeout-api.d.ts +3 -0
- package/dist/esm/v3/timeout-api.js +6 -0
- package/dist/esm/v3/timeout-api.js.map +1 -0
- package/dist/esm/v3/tracer.d.ts +20 -0
- package/dist/esm/v3/tracer.js +110 -0
- package/dist/esm/v3/tracer.js.map +1 -0
- package/dist/esm/v3/types/idempotencyKeys.d.ts +7 -0
- package/dist/esm/v3/types/idempotencyKeys.js +2 -0
- package/dist/esm/v3/types/idempotencyKeys.js.map +1 -0
- package/dist/esm/v3/types/index.d.ts +26 -0
- package/dist/esm/v3/types/index.js +5 -0
- package/dist/esm/v3/types/index.js.map +1 -0
- package/dist/esm/v3/types/schemas.d.ts +44 -0
- package/dist/esm/v3/types/schemas.js +38 -0
- package/dist/esm/v3/types/schemas.js.map +1 -0
- package/dist/esm/v3/types/tasks.d.ts +588 -0
- package/dist/esm/v3/types/tasks.js +37 -0
- package/dist/esm/v3/types/tasks.js.map +1 -0
- package/dist/esm/v3/types/tools.d.ts +6 -0
- package/dist/esm/v3/types/tools.js +19 -0
- package/dist/esm/v3/types/tools.js.map +1 -0
- package/dist/esm/v3/types/utils.d.ts +6 -0
- package/dist/esm/v3/types/utils.js +2 -0
- package/dist/esm/v3/types/utils.js.map +1 -0
- package/dist/esm/v3/usage/api.d.ts +13 -0
- package/dist/esm/v3/usage/api.js +37 -0
- package/dist/esm/v3/usage/api.js.map +1 -0
- package/dist/esm/v3/usage/devUsageManager.d.ts +23 -0
- package/dist/esm/v3/usage/devUsageManager.js +86 -0
- package/dist/esm/v3/usage/devUsageManager.js.map +1 -0
- package/dist/esm/v3/usage/noopUsageManager.d.ts +8 -0
- package/dist/esm/v3/usage/noopUsageManager.js +20 -0
- package/dist/esm/v3/usage/noopUsageManager.js.map +1 -0
- package/dist/esm/v3/usage/prodUsageManager.d.ts +23 -0
- package/dist/esm/v3/usage/prodUsageManager.js +81 -0
- package/dist/esm/v3/usage/prodUsageManager.js.map +1 -0
- package/dist/esm/v3/usage/types.d.ts +14 -0
- package/dist/esm/v3/usage/types.js +2 -0
- package/dist/esm/v3/usage/types.js.map +1 -0
- package/dist/esm/v3/usage/usageClient.d.ts +13 -0
- package/dist/esm/v3/usage/usageClient.js +33 -0
- package/dist/esm/v3/usage/usageClient.js.map +1 -0
- package/dist/esm/v3/usage-api.d.ts +3 -0
- package/dist/esm/v3/usage-api.js +6 -0
- package/dist/esm/v3/usage-api.js.map +1 -0
- package/dist/esm/v3/utils/durations.d.ts +13 -0
- package/dist/esm/v3/utils/durations.js +64 -0
- package/dist/esm/v3/utils/durations.js.map +1 -0
- package/dist/esm/v3/utils/flattenAttributes.d.ts +6 -0
- package/dist/esm/v3/utils/flattenAttributes.js +167 -0
- package/dist/esm/v3/utils/flattenAttributes.js.map +1 -0
- package/dist/esm/v3/utils/getEnv.d.ts +2 -0
- package/dist/esm/v3/utils/getEnv.js +19 -0
- package/dist/esm/v3/utils/getEnv.js.map +1 -0
- package/dist/esm/v3/utils/globals.d.ts +25 -0
- package/dist/esm/v3/utils/globals.js +23 -0
- package/dist/esm/v3/utils/globals.js.map +1 -0
- package/dist/esm/v3/utils/ioSerialization.d.ts +28 -0
- package/dist/esm/v3/utils/ioSerialization.js +331 -0
- package/dist/esm/v3/utils/ioSerialization.js.map +1 -0
- package/dist/esm/v3/utils/omit.d.ts +1 -0
- package/dist/esm/v3/utils/omit.js +10 -0
- package/dist/esm/v3/utils/omit.js.map +1 -0
- package/dist/esm/v3/utils/platform.d.ts +1 -0
- package/dist/esm/v3/utils/platform.js +2 -0
- package/dist/esm/v3/utils/platform.js.map +1 -0
- package/dist/esm/v3/utils/retries.d.ts +42 -0
- package/dist/esm/v3/utils/retries.js +40 -0
- package/dist/esm/v3/utils/retries.js.map +1 -0
- package/dist/esm/v3/utils/safeAsyncLocalStorage.d.ts +7 -0
- package/dist/esm/v3/utils/safeAsyncLocalStorage.js +17 -0
- package/dist/esm/v3/utils/safeAsyncLocalStorage.js.map +1 -0
- package/dist/esm/v3/utils/structuredLogger.d.ts +31 -0
- package/dist/esm/v3/utils/structuredLogger.js +66 -0
- package/dist/esm/v3/utils/structuredLogger.js.map +1 -0
- package/dist/esm/v3/utils/styleAttributes.d.ts +3 -0
- package/dist/esm/v3/utils/styleAttributes.js +6 -0
- package/dist/esm/v3/utils/styleAttributes.js.map +1 -0
- package/dist/esm/v3/utils/timers.d.ts +3 -0
- package/dist/esm/v3/utils/timers.js +21 -0
- package/dist/esm/v3/utils/timers.js.map +1 -0
- package/dist/esm/v3/wait-until-api.d.ts +2 -0
- package/dist/esm/v3/wait-until-api.js +5 -0
- package/dist/esm/v3/wait-until-api.js.map +1 -0
- package/dist/esm/v3/waitUntil/index.d.ts +11 -0
- package/dist/esm/v3/waitUntil/index.js +40 -0
- package/dist/esm/v3/waitUntil/index.js.map +1 -0
- package/dist/esm/v3/waitUntil/manager.d.ts +8 -0
- package/dist/esm/v3/waitUntil/manager.js +24 -0
- package/dist/esm/v3/waitUntil/manager.js.map +1 -0
- package/dist/esm/v3/waitUntil/types.d.ts +9 -0
- package/dist/esm/v3/waitUntil/types.js +2 -0
- package/dist/esm/v3/waitUntil/types.js.map +1 -0
- package/dist/esm/v3/workers/index.d.ts +15 -0
- package/dist/esm/v3/workers/index.js +15 -0
- package/dist/esm/v3/workers/index.js.map +1 -0
- package/dist/esm/v3/workers/taskExecutor.d.ts +27 -0
- package/dist/esm/v3/workers/taskExecutor.js +386 -0
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -0
- package/dist/esm/v3/zodIpc.d.ts +30 -0
- package/dist/esm/v3/zodIpc.js +202 -0
- package/dist/esm/v3/zodIpc.js.map +1 -0
- package/dist/esm/v3/zodMessageHandler.d.ts +83 -0
- package/dist/esm/v3/zodMessageHandler.js +197 -0
- package/dist/esm/v3/zodMessageHandler.js.map +1 -0
- package/dist/esm/v3/zodNamespace.d.ts +35 -0
- package/dist/esm/v3/zodNamespace.js +97 -0
- package/dist/esm/v3/zodNamespace.js.map +1 -0
- package/dist/esm/v3/zodSocket.d.ts +93 -0
- package/dist/esm/v3/zodSocket.js +234 -0
- package/dist/esm/v3/zodSocket.js.map +1 -0
- package/dist/esm/v3/zodfetch.d.ts +3 -0
- package/dist/esm/v3/zodfetch.js +4 -0
- package/dist/esm/v3/zodfetch.js.map +1 -0
- package/dist/esm/version.d.ts +1 -0
- package/dist/esm/version.js +2 -0
- package/dist/esm/version.js.map +1 -0
- package/dist/esm/versions.d.ts +9 -0
- package/dist/esm/versions.js +19 -0
- package/dist/esm/versions.js.map +1 -0
- package/package.json +611 -23
- package/dist/index.d.ts +0 -9091
- package/dist/index.js +0 -1697
- package/dist/index.js.map +0 -1
package/dist/index.js
DELETED
|
@@ -1,1697 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
-
var __accessCheck = (obj, member, msg) => {
|
|
21
|
-
if (!member.has(obj))
|
|
22
|
-
throw TypeError("Cannot " + msg);
|
|
23
|
-
};
|
|
24
|
-
var __privateGet = (obj, member, getter) => {
|
|
25
|
-
__accessCheck(obj, member, "read from private field");
|
|
26
|
-
return getter ? getter.call(obj) : member.get(obj);
|
|
27
|
-
};
|
|
28
|
-
var __privateAdd = (obj, member, value) => {
|
|
29
|
-
if (member.has(obj))
|
|
30
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
31
|
-
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
32
|
-
};
|
|
33
|
-
var __privateSet = (obj, member, value, setter) => {
|
|
34
|
-
__accessCheck(obj, member, "write to private field");
|
|
35
|
-
setter ? setter.call(obj, value) : member.set(obj, value);
|
|
36
|
-
return value;
|
|
37
|
-
};
|
|
38
|
-
var __privateMethod = (obj, member, method) => {
|
|
39
|
-
__accessCheck(obj, member, "access private method");
|
|
40
|
-
return method;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
// src/index.ts
|
|
44
|
-
var src_exports = {};
|
|
45
|
-
__export(src_exports, {
|
|
46
|
-
ApiEventLogSchema: () => ApiEventLogSchema,
|
|
47
|
-
CachedTaskSchema: () => CachedTaskSchema,
|
|
48
|
-
CommonMissingConnectionNotificationPayloadSchema: () => CommonMissingConnectionNotificationPayloadSchema,
|
|
49
|
-
CommonMissingConnectionNotificationResolvedPayloadSchema: () => CommonMissingConnectionNotificationResolvedPayloadSchema,
|
|
50
|
-
CompleteTaskBodyInputSchema: () => CompleteTaskBodyInputSchema,
|
|
51
|
-
ConnectionAuthSchema: () => ConnectionAuthSchema,
|
|
52
|
-
CreateExternalConnectionBodySchema: () => CreateExternalConnectionBodySchema,
|
|
53
|
-
CreateRunResponseBodySchema: () => CreateRunResponseBodySchema,
|
|
54
|
-
CronMetadataSchema: () => CronMetadataSchema,
|
|
55
|
-
CronOptionsSchema: () => CronOptionsSchema,
|
|
56
|
-
DeliverEventResponseSchema: () => DeliverEventResponseSchema,
|
|
57
|
-
DeserializedJsonSchema: () => DeserializedJsonSchema,
|
|
58
|
-
DisplayPropertiesSchema: () => DisplayPropertiesSchema,
|
|
59
|
-
DisplayPropertySchema: () => DisplayPropertySchema,
|
|
60
|
-
DynamicTriggerEndpointMetadataSchema: () => DynamicTriggerEndpointMetadataSchema,
|
|
61
|
-
DynamicTriggerMetadataSchema: () => DynamicTriggerMetadataSchema,
|
|
62
|
-
ErrorWithStackSchema: () => ErrorWithStackSchema,
|
|
63
|
-
EventExampleSchema: () => EventExampleSchema,
|
|
64
|
-
EventFilterSchema: () => EventFilterSchema,
|
|
65
|
-
EventRuleSchema: () => EventRuleSchema,
|
|
66
|
-
EventSpecificationSchema: () => EventSpecificationSchema,
|
|
67
|
-
FailTaskBodyInputSchema: () => FailTaskBodyInputSchema,
|
|
68
|
-
FetchOperationSchema: () => FetchOperationSchema,
|
|
69
|
-
FetchRequestInitSchema: () => FetchRequestInitSchema,
|
|
70
|
-
FetchRetryBackoffStrategySchema: () => FetchRetryBackoffStrategySchema,
|
|
71
|
-
FetchRetryHeadersStrategySchema: () => FetchRetryHeadersStrategySchema,
|
|
72
|
-
FetchRetryOptionsSchema: () => FetchRetryOptionsSchema,
|
|
73
|
-
FetchRetryStrategySchema: () => FetchRetryStrategySchema,
|
|
74
|
-
GetEventSchema: () => GetEventSchema,
|
|
75
|
-
GetRunSchema: () => GetRunSchema,
|
|
76
|
-
GetRunsSchema: () => GetRunsSchema,
|
|
77
|
-
HandleTriggerSourceSchema: () => HandleTriggerSourceSchema,
|
|
78
|
-
HttpSourceRequestHeadersSchema: () => HttpSourceRequestHeadersSchema,
|
|
79
|
-
HttpSourceRequestSchema: () => HttpSourceRequestSchema,
|
|
80
|
-
HttpSourceResponseSchema: () => HttpSourceResponseSchema,
|
|
81
|
-
IndexEndpointResponseSchema: () => IndexEndpointResponseSchema,
|
|
82
|
-
InitializeCronScheduleBodySchema: () => InitializeCronScheduleBodySchema,
|
|
83
|
-
InitializeTriggerBodySchema: () => InitializeTriggerBodySchema,
|
|
84
|
-
IntegrationConfigSchema: () => IntegrationConfigSchema,
|
|
85
|
-
IntegrationMetadataSchema: () => IntegrationMetadataSchema,
|
|
86
|
-
IntervalMetadataSchema: () => IntervalMetadataSchema,
|
|
87
|
-
IntervalOptionsSchema: () => IntervalOptionsSchema,
|
|
88
|
-
JobMetadataSchema: () => JobMetadataSchema,
|
|
89
|
-
LogMessageSchema: () => LogMessageSchema,
|
|
90
|
-
Logger: () => Logger,
|
|
91
|
-
MISSING_CONNECTION_NOTIFICATION: () => MISSING_CONNECTION_NOTIFICATION,
|
|
92
|
-
MISSING_CONNECTION_RESOLVED_NOTIFICATION: () => MISSING_CONNECTION_RESOLVED_NOTIFICATION,
|
|
93
|
-
MissingConnectionNotificationPayloadSchema: () => MissingConnectionNotificationPayloadSchema,
|
|
94
|
-
MissingConnectionResolvedNotificationPayloadSchema: () => MissingConnectionResolvedNotificationPayloadSchema,
|
|
95
|
-
MissingDeveloperConnectionNotificationPayloadSchema: () => MissingDeveloperConnectionNotificationPayloadSchema,
|
|
96
|
-
MissingDeveloperConnectionResolvedNotificationPayloadSchema: () => MissingDeveloperConnectionResolvedNotificationPayloadSchema,
|
|
97
|
-
MissingExternalConnectionNotificationPayloadSchema: () => MissingExternalConnectionNotificationPayloadSchema,
|
|
98
|
-
MissingExternalConnectionResolvedNotificationPayloadSchema: () => MissingExternalConnectionResolvedNotificationPayloadSchema,
|
|
99
|
-
NormalizedRequestSchema: () => NormalizedRequestSchema,
|
|
100
|
-
NormalizedResponseSchema: () => NormalizedResponseSchema,
|
|
101
|
-
PongErrorResponseSchema: () => PongErrorResponseSchema,
|
|
102
|
-
PongResponseSchema: () => PongResponseSchema,
|
|
103
|
-
PongSuccessResponseSchema: () => PongSuccessResponseSchema,
|
|
104
|
-
PreprocessRunBodySchema: () => PreprocessRunBodySchema,
|
|
105
|
-
PreprocessRunResponseSchema: () => PreprocessRunResponseSchema,
|
|
106
|
-
QueueOptionsSchema: () => QueueOptionsSchema,
|
|
107
|
-
REGISTER_SOURCE_EVENT_V1: () => REGISTER_SOURCE_EVENT_V1,
|
|
108
|
-
REGISTER_SOURCE_EVENT_V2: () => REGISTER_SOURCE_EVENT_V2,
|
|
109
|
-
RawEventSchema: () => RawEventSchema,
|
|
110
|
-
RedactSchema: () => RedactSchema,
|
|
111
|
-
RedactStringSchema: () => RedactStringSchema,
|
|
112
|
-
RegisterDynamicSchedulePayloadSchema: () => RegisterDynamicSchedulePayloadSchema,
|
|
113
|
-
RegisterHTTPTriggerSourceBodySchema: () => RegisterHTTPTriggerSourceBodySchema,
|
|
114
|
-
RegisterIntervalScheduleBodySchema: () => RegisterIntervalScheduleBodySchema,
|
|
115
|
-
RegisterSMTPTriggerSourceBodySchema: () => RegisterSMTPTriggerSourceBodySchema,
|
|
116
|
-
RegisterSQSTriggerSourceBodySchema: () => RegisterSQSTriggerSourceBodySchema,
|
|
117
|
-
RegisterScheduleBodySchema: () => RegisterScheduleBodySchema,
|
|
118
|
-
RegisterScheduleResponseBodySchema: () => RegisterScheduleResponseBodySchema,
|
|
119
|
-
RegisterSourceChannelBodySchema: () => RegisterSourceChannelBodySchema,
|
|
120
|
-
RegisterSourceEventSchemaV1: () => RegisterSourceEventSchemaV1,
|
|
121
|
-
RegisterSourceEventSchemaV2: () => RegisterSourceEventSchemaV2,
|
|
122
|
-
RegisterTriggerBodySchemaV1: () => RegisterTriggerBodySchemaV1,
|
|
123
|
-
RegisterTriggerBodySchemaV2: () => RegisterTriggerBodySchemaV2,
|
|
124
|
-
RegisterTriggerSourceSchema: () => RegisterTriggerSourceSchema,
|
|
125
|
-
RetryOptionsSchema: () => RetryOptionsSchema,
|
|
126
|
-
RunJobBodySchema: () => RunJobBodySchema,
|
|
127
|
-
RunJobCanceledWithTaskSchema: () => RunJobCanceledWithTaskSchema,
|
|
128
|
-
RunJobErrorSchema: () => RunJobErrorSchema,
|
|
129
|
-
RunJobResponseSchema: () => RunJobResponseSchema,
|
|
130
|
-
RunJobResumeWithTaskSchema: () => RunJobResumeWithTaskSchema,
|
|
131
|
-
RunJobRetryWithTaskSchema: () => RunJobRetryWithTaskSchema,
|
|
132
|
-
RunJobSuccessSchema: () => RunJobSuccessSchema,
|
|
133
|
-
RunSourceContextSchema: () => RunSourceContextSchema,
|
|
134
|
-
RunStatusSchema: () => RunStatusSchema,
|
|
135
|
-
RunTaskBodyInputSchema: () => RunTaskBodyInputSchema,
|
|
136
|
-
RunTaskBodyOutputSchema: () => RunTaskBodyOutputSchema,
|
|
137
|
-
RunTaskOptionsSchema: () => RunTaskOptionsSchema,
|
|
138
|
-
RunTaskSchema: () => RunTaskSchema,
|
|
139
|
-
RuntimeEnvironmentTypeSchema: () => RuntimeEnvironmentTypeSchema,
|
|
140
|
-
SCHEDULED_EVENT: () => SCHEDULED_EVENT,
|
|
141
|
-
ScheduleMetadataSchema: () => ScheduleMetadataSchema,
|
|
142
|
-
ScheduledPayloadSchema: () => ScheduledPayloadSchema,
|
|
143
|
-
ScheduledTriggerMetadataSchema: () => ScheduledTriggerMetadataSchema,
|
|
144
|
-
SendEventBodySchema: () => SendEventBodySchema,
|
|
145
|
-
SendEventOptionsSchema: () => SendEventOptionsSchema,
|
|
146
|
-
SerializableJsonSchema: () => SerializableJsonSchema,
|
|
147
|
-
ServerTaskSchema: () => ServerTaskSchema,
|
|
148
|
-
SourceMetadataV2Schema: () => SourceMetadataV2Schema,
|
|
149
|
-
StaticTriggerMetadataSchema: () => StaticTriggerMetadataSchema,
|
|
150
|
-
StyleSchema: () => StyleSchema,
|
|
151
|
-
TaskSchema: () => TaskSchema,
|
|
152
|
-
TaskStatusSchema: () => TaskStatusSchema,
|
|
153
|
-
TriggerMetadataSchema: () => TriggerMetadataSchema,
|
|
154
|
-
TriggerSourceSchema: () => TriggerSourceSchema,
|
|
155
|
-
UpdateTriggerSourceBodyV1Schema: () => UpdateTriggerSourceBodyV1Schema,
|
|
156
|
-
UpdateTriggerSourceBodyV2Schema: () => UpdateTriggerSourceBodyV2Schema,
|
|
157
|
-
ValidateErrorResponseSchema: () => ValidateErrorResponseSchema,
|
|
158
|
-
ValidateResponseSchema: () => ValidateResponseSchema,
|
|
159
|
-
ValidateSuccessResponseSchema: () => ValidateSuccessResponseSchema,
|
|
160
|
-
addMissingVersionField: () => addMissingVersionField,
|
|
161
|
-
calculateRetryAt: () => calculateRetryAt,
|
|
162
|
-
currentDate: () => currentDate,
|
|
163
|
-
currentTimestampMilliseconds: () => currentTimestampMilliseconds,
|
|
164
|
-
currentTimestampSeconds: () => currentTimestampSeconds,
|
|
165
|
-
deepMergeFilters: () => deepMergeFilters,
|
|
166
|
-
eventFilterMatches: () => eventFilterMatches,
|
|
167
|
-
replacements: () => replacements,
|
|
168
|
-
urlWithSearchParams: () => urlWithSearchParams
|
|
169
|
-
});
|
|
170
|
-
module.exports = __toCommonJS(src_exports);
|
|
171
|
-
|
|
172
|
-
// src/logger.ts
|
|
173
|
-
var import_node_buffer = require("buffer");
|
|
174
|
-
var logLevels = [
|
|
175
|
-
"log",
|
|
176
|
-
"error",
|
|
177
|
-
"warn",
|
|
178
|
-
"info",
|
|
179
|
-
"debug"
|
|
180
|
-
];
|
|
181
|
-
var _name, _level, _filteredKeys, _jsonReplacer, _structuredLog, structuredLog_fn;
|
|
182
|
-
var _Logger = class _Logger {
|
|
183
|
-
constructor(name, level = "info", filteredKeys = [], jsonReplacer) {
|
|
184
|
-
__privateAdd(this, _structuredLog);
|
|
185
|
-
__privateAdd(this, _name, void 0);
|
|
186
|
-
__privateAdd(this, _level, void 0);
|
|
187
|
-
__privateAdd(this, _filteredKeys, []);
|
|
188
|
-
__privateAdd(this, _jsonReplacer, void 0);
|
|
189
|
-
__privateSet(this, _name, name);
|
|
190
|
-
__privateSet(this, _level, logLevels.indexOf(process.env.TRIGGER_LOG_LEVEL ?? level));
|
|
191
|
-
__privateSet(this, _filteredKeys, filteredKeys);
|
|
192
|
-
__privateSet(this, _jsonReplacer, jsonReplacer);
|
|
193
|
-
}
|
|
194
|
-
// Return a new Logger instance with the same name and a new log level
|
|
195
|
-
// but filter out the keys from the log messages (at any level)
|
|
196
|
-
filter(...keys) {
|
|
197
|
-
return new _Logger(__privateGet(this, _name), logLevels[__privateGet(this, _level)], keys, __privateGet(this, _jsonReplacer));
|
|
198
|
-
}
|
|
199
|
-
static satisfiesLogLevel(logLevel, setLevel) {
|
|
200
|
-
return logLevels.indexOf(logLevel) <= logLevels.indexOf(setLevel);
|
|
201
|
-
}
|
|
202
|
-
log(message, ...args) {
|
|
203
|
-
if (__privateGet(this, _level) < 0)
|
|
204
|
-
return;
|
|
205
|
-
__privateMethod(this, _structuredLog, structuredLog_fn).call(this, console.log, message, ...args);
|
|
206
|
-
}
|
|
207
|
-
error(message, ...args) {
|
|
208
|
-
if (__privateGet(this, _level) < 1)
|
|
209
|
-
return;
|
|
210
|
-
__privateMethod(this, _structuredLog, structuredLog_fn).call(this, console.error, message, ...args);
|
|
211
|
-
}
|
|
212
|
-
warn(message, ...args) {
|
|
213
|
-
if (__privateGet(this, _level) < 2)
|
|
214
|
-
return;
|
|
215
|
-
__privateMethod(this, _structuredLog, structuredLog_fn).call(this, console.warn, message, ...args);
|
|
216
|
-
}
|
|
217
|
-
info(message, ...args) {
|
|
218
|
-
if (__privateGet(this, _level) < 3)
|
|
219
|
-
return;
|
|
220
|
-
__privateMethod(this, _structuredLog, structuredLog_fn).call(this, console.info, message, ...args);
|
|
221
|
-
}
|
|
222
|
-
debug(message, ...args) {
|
|
223
|
-
if (__privateGet(this, _level) < 4)
|
|
224
|
-
return;
|
|
225
|
-
__privateMethod(this, _structuredLog, structuredLog_fn).call(this, console.debug, message, ...args);
|
|
226
|
-
}
|
|
227
|
-
};
|
|
228
|
-
_name = new WeakMap();
|
|
229
|
-
_level = new WeakMap();
|
|
230
|
-
_filteredKeys = new WeakMap();
|
|
231
|
-
_jsonReplacer = new WeakMap();
|
|
232
|
-
_structuredLog = new WeakSet();
|
|
233
|
-
structuredLog_fn = /* @__PURE__ */ __name(function(loggerFunction, message, ...args) {
|
|
234
|
-
const structuredLog = {
|
|
235
|
-
...structureArgs(safeJsonClone(args), __privateGet(this, _filteredKeys)),
|
|
236
|
-
timestamp: /* @__PURE__ */ new Date(),
|
|
237
|
-
name: __privateGet(this, _name),
|
|
238
|
-
message
|
|
239
|
-
};
|
|
240
|
-
loggerFunction(JSON.stringify(structuredLog, createReplacer(__privateGet(this, _jsonReplacer))));
|
|
241
|
-
}, "#structuredLog");
|
|
242
|
-
__name(_Logger, "Logger");
|
|
243
|
-
var Logger = _Logger;
|
|
244
|
-
function createReplacer(replacer) {
|
|
245
|
-
return (key, value) => {
|
|
246
|
-
if (typeof value === "bigint") {
|
|
247
|
-
return value.toString();
|
|
248
|
-
}
|
|
249
|
-
if (replacer) {
|
|
250
|
-
return replacer(key, value);
|
|
251
|
-
}
|
|
252
|
-
return value;
|
|
253
|
-
};
|
|
254
|
-
}
|
|
255
|
-
__name(createReplacer, "createReplacer");
|
|
256
|
-
function bigIntReplacer(_key, value) {
|
|
257
|
-
if (typeof value === "bigint") {
|
|
258
|
-
return value.toString();
|
|
259
|
-
}
|
|
260
|
-
return value;
|
|
261
|
-
}
|
|
262
|
-
__name(bigIntReplacer, "bigIntReplacer");
|
|
263
|
-
function safeJsonClone(obj) {
|
|
264
|
-
try {
|
|
265
|
-
return JSON.parse(JSON.stringify(obj, bigIntReplacer));
|
|
266
|
-
} catch (e) {
|
|
267
|
-
return obj;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
__name(safeJsonClone, "safeJsonClone");
|
|
271
|
-
function structureArgs(args, filteredKeys = []) {
|
|
272
|
-
if (args.length === 0) {
|
|
273
|
-
return;
|
|
274
|
-
}
|
|
275
|
-
if (args.length === 1 && typeof args[0] === "object") {
|
|
276
|
-
return filterKeys(JSON.parse(JSON.stringify(args[0], bigIntReplacer)), filteredKeys);
|
|
277
|
-
}
|
|
278
|
-
return args;
|
|
279
|
-
}
|
|
280
|
-
__name(structureArgs, "structureArgs");
|
|
281
|
-
function filterKeys(obj, keys) {
|
|
282
|
-
if (typeof obj !== "object" || obj === null) {
|
|
283
|
-
return obj;
|
|
284
|
-
}
|
|
285
|
-
if (Array.isArray(obj)) {
|
|
286
|
-
return obj.map((item) => filterKeys(item, keys));
|
|
287
|
-
}
|
|
288
|
-
const filteredObj = {};
|
|
289
|
-
for (const [key, value] of Object.entries(obj)) {
|
|
290
|
-
if (keys.includes(key)) {
|
|
291
|
-
if (value) {
|
|
292
|
-
filteredObj[key] = `[filtered ${prettyPrintBytes(value)}]`;
|
|
293
|
-
} else {
|
|
294
|
-
filteredObj[key] = value;
|
|
295
|
-
}
|
|
296
|
-
continue;
|
|
297
|
-
}
|
|
298
|
-
filteredObj[key] = filterKeys(value, keys);
|
|
299
|
-
}
|
|
300
|
-
return filteredObj;
|
|
301
|
-
}
|
|
302
|
-
__name(filterKeys, "filterKeys");
|
|
303
|
-
function prettyPrintBytes(value) {
|
|
304
|
-
if (process.env.NODE_ENV === "production") {
|
|
305
|
-
return "skipped size";
|
|
306
|
-
}
|
|
307
|
-
const sizeInBytes = import_node_buffer.Buffer.byteLength(JSON.stringify(value), "utf8");
|
|
308
|
-
if (sizeInBytes < 1024) {
|
|
309
|
-
return `${sizeInBytes} bytes`;
|
|
310
|
-
}
|
|
311
|
-
if (sizeInBytes < 1024 * 1024) {
|
|
312
|
-
return `${(sizeInBytes / 1024).toFixed(2)} KB`;
|
|
313
|
-
}
|
|
314
|
-
if (sizeInBytes < 1024 * 1024 * 1024) {
|
|
315
|
-
return `${(sizeInBytes / (1024 * 1024)).toFixed(2)} MB`;
|
|
316
|
-
}
|
|
317
|
-
return `${(sizeInBytes / (1024 * 1024 * 1024)).toFixed(2)} GB`;
|
|
318
|
-
}
|
|
319
|
-
__name(prettyPrintBytes, "prettyPrintBytes");
|
|
320
|
-
|
|
321
|
-
// src/schemas/api.ts
|
|
322
|
-
var import_ulidx = require("ulidx");
|
|
323
|
-
var import_zod9 = require("zod");
|
|
324
|
-
|
|
325
|
-
// src/schemas/addMissingVersionField.ts
|
|
326
|
-
function addMissingVersionField(val) {
|
|
327
|
-
if (val !== null && typeof val === "object" && !("version" in val)) {
|
|
328
|
-
return {
|
|
329
|
-
...val,
|
|
330
|
-
version: "1"
|
|
331
|
-
};
|
|
332
|
-
}
|
|
333
|
-
return val;
|
|
334
|
-
}
|
|
335
|
-
__name(addMissingVersionField, "addMissingVersionField");
|
|
336
|
-
|
|
337
|
-
// src/schemas/errors.ts
|
|
338
|
-
var import_zod = require("zod");
|
|
339
|
-
var ErrorWithStackSchema = import_zod.z.object({
|
|
340
|
-
message: import_zod.z.string(),
|
|
341
|
-
name: import_zod.z.string().optional(),
|
|
342
|
-
stack: import_zod.z.string().optional()
|
|
343
|
-
});
|
|
344
|
-
|
|
345
|
-
// src/schemas/eventFilter.ts
|
|
346
|
-
var import_zod2 = require("zod");
|
|
347
|
-
var EventMatcherSchema = import_zod2.z.union([
|
|
348
|
-
/** Match against a string */
|
|
349
|
-
import_zod2.z.array(import_zod2.z.string()),
|
|
350
|
-
/** Match against a number */
|
|
351
|
-
import_zod2.z.array(import_zod2.z.number()),
|
|
352
|
-
/** Match against a boolean */
|
|
353
|
-
import_zod2.z.array(import_zod2.z.boolean()),
|
|
354
|
-
import_zod2.z.array(import_zod2.z.union([
|
|
355
|
-
import_zod2.z.object({
|
|
356
|
-
$endsWith: import_zod2.z.string()
|
|
357
|
-
}),
|
|
358
|
-
import_zod2.z.object({
|
|
359
|
-
$startsWith: import_zod2.z.string()
|
|
360
|
-
}),
|
|
361
|
-
import_zod2.z.object({
|
|
362
|
-
$exists: import_zod2.z.boolean()
|
|
363
|
-
}),
|
|
364
|
-
import_zod2.z.object({
|
|
365
|
-
$isNull: import_zod2.z.boolean()
|
|
366
|
-
}),
|
|
367
|
-
import_zod2.z.object({
|
|
368
|
-
$anythingBut: import_zod2.z.union([
|
|
369
|
-
import_zod2.z.string(),
|
|
370
|
-
import_zod2.z.number(),
|
|
371
|
-
import_zod2.z.boolean()
|
|
372
|
-
])
|
|
373
|
-
}),
|
|
374
|
-
import_zod2.z.object({
|
|
375
|
-
$anythingBut: import_zod2.z.union([
|
|
376
|
-
import_zod2.z.array(import_zod2.z.string()),
|
|
377
|
-
import_zod2.z.array(import_zod2.z.number()),
|
|
378
|
-
import_zod2.z.array(import_zod2.z.boolean())
|
|
379
|
-
])
|
|
380
|
-
}),
|
|
381
|
-
import_zod2.z.object({
|
|
382
|
-
$gt: import_zod2.z.number()
|
|
383
|
-
}),
|
|
384
|
-
import_zod2.z.object({
|
|
385
|
-
$lt: import_zod2.z.number()
|
|
386
|
-
}),
|
|
387
|
-
import_zod2.z.object({
|
|
388
|
-
$gte: import_zod2.z.number()
|
|
389
|
-
}),
|
|
390
|
-
import_zod2.z.object({
|
|
391
|
-
$lte: import_zod2.z.number()
|
|
392
|
-
}),
|
|
393
|
-
import_zod2.z.object({
|
|
394
|
-
$between: import_zod2.z.tuple([
|
|
395
|
-
import_zod2.z.number(),
|
|
396
|
-
import_zod2.z.number()
|
|
397
|
-
])
|
|
398
|
-
}),
|
|
399
|
-
import_zod2.z.object({
|
|
400
|
-
$includes: import_zod2.z.union([
|
|
401
|
-
import_zod2.z.string(),
|
|
402
|
-
import_zod2.z.number(),
|
|
403
|
-
import_zod2.z.boolean()
|
|
404
|
-
])
|
|
405
|
-
}),
|
|
406
|
-
import_zod2.z.object({
|
|
407
|
-
$ignoreCaseEquals: import_zod2.z.string()
|
|
408
|
-
})
|
|
409
|
-
]))
|
|
410
|
-
]);
|
|
411
|
-
var EventFilterSchema = import_zod2.z.lazy(() => import_zod2.z.record(import_zod2.z.union([
|
|
412
|
-
EventMatcherSchema,
|
|
413
|
-
EventFilterSchema
|
|
414
|
-
])));
|
|
415
|
-
var EventRuleSchema = import_zod2.z.object({
|
|
416
|
-
event: import_zod2.z.string().or(import_zod2.z.array(import_zod2.z.string())),
|
|
417
|
-
source: import_zod2.z.string(),
|
|
418
|
-
payload: EventFilterSchema.optional(),
|
|
419
|
-
context: EventFilterSchema.optional()
|
|
420
|
-
});
|
|
421
|
-
|
|
422
|
-
// src/schemas/integrations.ts
|
|
423
|
-
var import_zod3 = require("zod");
|
|
424
|
-
var ConnectionAuthSchema = import_zod3.z.object({
|
|
425
|
-
type: import_zod3.z.enum([
|
|
426
|
-
"oauth2"
|
|
427
|
-
]),
|
|
428
|
-
accessToken: import_zod3.z.string(),
|
|
429
|
-
scopes: import_zod3.z.array(import_zod3.z.string()).optional(),
|
|
430
|
-
additionalFields: import_zod3.z.record(import_zod3.z.string()).optional()
|
|
431
|
-
});
|
|
432
|
-
var IntegrationMetadataSchema = import_zod3.z.object({
|
|
433
|
-
id: import_zod3.z.string(),
|
|
434
|
-
name: import_zod3.z.string(),
|
|
435
|
-
instructions: import_zod3.z.string().optional()
|
|
436
|
-
});
|
|
437
|
-
var IntegrationConfigSchema = import_zod3.z.object({
|
|
438
|
-
id: import_zod3.z.string(),
|
|
439
|
-
metadata: IntegrationMetadataSchema,
|
|
440
|
-
authSource: import_zod3.z.enum([
|
|
441
|
-
"HOSTED",
|
|
442
|
-
"LOCAL"
|
|
443
|
-
])
|
|
444
|
-
});
|
|
445
|
-
|
|
446
|
-
// src/schemas/json.ts
|
|
447
|
-
var import_zod4 = require("zod");
|
|
448
|
-
var LiteralSchema = import_zod4.z.union([
|
|
449
|
-
import_zod4.z.string(),
|
|
450
|
-
import_zod4.z.number(),
|
|
451
|
-
import_zod4.z.boolean(),
|
|
452
|
-
import_zod4.z.null()
|
|
453
|
-
]);
|
|
454
|
-
var DeserializedJsonSchema = import_zod4.z.lazy(() => import_zod4.z.union([
|
|
455
|
-
LiteralSchema,
|
|
456
|
-
import_zod4.z.array(DeserializedJsonSchema),
|
|
457
|
-
import_zod4.z.record(DeserializedJsonSchema)
|
|
458
|
-
]));
|
|
459
|
-
var SerializableSchema = import_zod4.z.union([
|
|
460
|
-
import_zod4.z.string(),
|
|
461
|
-
import_zod4.z.number(),
|
|
462
|
-
import_zod4.z.boolean(),
|
|
463
|
-
import_zod4.z.null(),
|
|
464
|
-
import_zod4.z.date(),
|
|
465
|
-
import_zod4.z.undefined(),
|
|
466
|
-
import_zod4.z.symbol()
|
|
467
|
-
]);
|
|
468
|
-
var SerializableJsonSchema = import_zod4.z.lazy(() => import_zod4.z.union([
|
|
469
|
-
SerializableSchema,
|
|
470
|
-
import_zod4.z.array(SerializableJsonSchema),
|
|
471
|
-
import_zod4.z.record(SerializableJsonSchema)
|
|
472
|
-
]));
|
|
473
|
-
|
|
474
|
-
// src/schemas/properties.ts
|
|
475
|
-
var import_zod5 = require("zod");
|
|
476
|
-
var DisplayPropertySchema = import_zod5.z.object({
|
|
477
|
-
/** The label for the property */
|
|
478
|
-
label: import_zod5.z.string(),
|
|
479
|
-
/** The value of the property */
|
|
480
|
-
text: import_zod5.z.string(),
|
|
481
|
-
/** The URL to link to when the property is clicked */
|
|
482
|
-
url: import_zod5.z.string().optional()
|
|
483
|
-
});
|
|
484
|
-
var DisplayPropertiesSchema = import_zod5.z.array(DisplayPropertySchema);
|
|
485
|
-
var StyleSchema = import_zod5.z.object({
|
|
486
|
-
/** The style, `normal` or `minimal` */
|
|
487
|
-
style: import_zod5.z.enum([
|
|
488
|
-
"normal",
|
|
489
|
-
"minimal"
|
|
490
|
-
]),
|
|
491
|
-
/** A variant of the style. */
|
|
492
|
-
variant: import_zod5.z.string().optional()
|
|
493
|
-
});
|
|
494
|
-
|
|
495
|
-
// src/schemas/schedules.ts
|
|
496
|
-
var import_zod6 = require("zod");
|
|
497
|
-
var SCHEDULED_EVENT = "dev.trigger.scheduled";
|
|
498
|
-
var ScheduledPayloadSchema = import_zod6.z.object({
|
|
499
|
-
ts: import_zod6.z.coerce.date(),
|
|
500
|
-
lastTimestamp: import_zod6.z.coerce.date().optional()
|
|
501
|
-
});
|
|
502
|
-
var IntervalOptionsSchema = import_zod6.z.object({
|
|
503
|
-
/** The number of seconds for the interval. Min = 60, Max = 86400 (1 day) */
|
|
504
|
-
seconds: import_zod6.z.number().int().positive().min(60).max(86400)
|
|
505
|
-
});
|
|
506
|
-
var CronOptionsSchema = import_zod6.z.object({
|
|
507
|
-
/** A CRON expression that defines the schedule. A useful tool when writing CRON
|
|
508
|
-
expressions is [crontab guru](https://crontab.guru). Note that the timezone
|
|
509
|
-
used is UTC. */
|
|
510
|
-
cron: import_zod6.z.string()
|
|
511
|
-
});
|
|
512
|
-
var CronMetadataSchema = import_zod6.z.object({
|
|
513
|
-
type: import_zod6.z.literal("cron"),
|
|
514
|
-
options: CronOptionsSchema,
|
|
515
|
-
metadata: import_zod6.z.any()
|
|
516
|
-
});
|
|
517
|
-
var IntervalMetadataSchema = import_zod6.z.object({
|
|
518
|
-
/** An interval reoccurs at the specified number of seconds */
|
|
519
|
-
type: import_zod6.z.literal("interval"),
|
|
520
|
-
/** An object containing options about the interval. */
|
|
521
|
-
options: IntervalOptionsSchema,
|
|
522
|
-
/** Any additional metadata about the schedule. */
|
|
523
|
-
metadata: import_zod6.z.any()
|
|
524
|
-
});
|
|
525
|
-
var ScheduleMetadataSchema = import_zod6.z.discriminatedUnion("type", [
|
|
526
|
-
IntervalMetadataSchema,
|
|
527
|
-
CronMetadataSchema
|
|
528
|
-
]);
|
|
529
|
-
var RegisterDynamicSchedulePayloadSchema = import_zod6.z.object({
|
|
530
|
-
id: import_zod6.z.string(),
|
|
531
|
-
jobs: import_zod6.z.array(import_zod6.z.object({
|
|
532
|
-
id: import_zod6.z.string(),
|
|
533
|
-
version: import_zod6.z.string()
|
|
534
|
-
}))
|
|
535
|
-
});
|
|
536
|
-
|
|
537
|
-
// src/schemas/tasks.ts
|
|
538
|
-
var import_zod7 = require("zod");
|
|
539
|
-
var TaskStatusSchema = import_zod7.z.enum([
|
|
540
|
-
"PENDING",
|
|
541
|
-
"WAITING",
|
|
542
|
-
"RUNNING",
|
|
543
|
-
"COMPLETED",
|
|
544
|
-
"ERRORED",
|
|
545
|
-
"CANCELED"
|
|
546
|
-
]);
|
|
547
|
-
var TaskSchema = import_zod7.z.object({
|
|
548
|
-
id: import_zod7.z.string(),
|
|
549
|
-
name: import_zod7.z.string(),
|
|
550
|
-
icon: import_zod7.z.string().optional().nullable(),
|
|
551
|
-
noop: import_zod7.z.boolean(),
|
|
552
|
-
startedAt: import_zod7.z.coerce.date().optional().nullable(),
|
|
553
|
-
completedAt: import_zod7.z.coerce.date().optional().nullable(),
|
|
554
|
-
delayUntil: import_zod7.z.coerce.date().optional().nullable(),
|
|
555
|
-
status: TaskStatusSchema,
|
|
556
|
-
description: import_zod7.z.string().optional().nullable(),
|
|
557
|
-
properties: import_zod7.z.array(DisplayPropertySchema).optional().nullable(),
|
|
558
|
-
outputProperties: import_zod7.z.array(DisplayPropertySchema).optional().nullable(),
|
|
559
|
-
params: DeserializedJsonSchema.optional().nullable(),
|
|
560
|
-
output: DeserializedJsonSchema.optional().nullable(),
|
|
561
|
-
error: import_zod7.z.string().optional().nullable(),
|
|
562
|
-
parentId: import_zod7.z.string().optional().nullable(),
|
|
563
|
-
style: StyleSchema.optional().nullable(),
|
|
564
|
-
operation: import_zod7.z.string().optional().nullable()
|
|
565
|
-
});
|
|
566
|
-
var ServerTaskSchema = TaskSchema.extend({
|
|
567
|
-
idempotencyKey: import_zod7.z.string(),
|
|
568
|
-
attempts: import_zod7.z.number()
|
|
569
|
-
});
|
|
570
|
-
var CachedTaskSchema = import_zod7.z.object({
|
|
571
|
-
id: import_zod7.z.string(),
|
|
572
|
-
idempotencyKey: import_zod7.z.string(),
|
|
573
|
-
status: TaskStatusSchema,
|
|
574
|
-
noop: import_zod7.z.boolean().default(false),
|
|
575
|
-
output: DeserializedJsonSchema.optional().nullable(),
|
|
576
|
-
parentId: import_zod7.z.string().optional().nullable()
|
|
577
|
-
});
|
|
578
|
-
|
|
579
|
-
// src/schemas/triggers.ts
|
|
580
|
-
var import_zod8 = require("zod");
|
|
581
|
-
var EventExampleSchema = import_zod8.z.object({
|
|
582
|
-
id: import_zod8.z.string(),
|
|
583
|
-
icon: import_zod8.z.string().optional(),
|
|
584
|
-
name: import_zod8.z.string(),
|
|
585
|
-
payload: import_zod8.z.any()
|
|
586
|
-
});
|
|
587
|
-
var EventSpecificationSchema = import_zod8.z.object({
|
|
588
|
-
name: import_zod8.z.string().or(import_zod8.z.array(import_zod8.z.string())),
|
|
589
|
-
title: import_zod8.z.string(),
|
|
590
|
-
source: import_zod8.z.string(),
|
|
591
|
-
icon: import_zod8.z.string(),
|
|
592
|
-
filter: EventFilterSchema.optional(),
|
|
593
|
-
properties: import_zod8.z.array(DisplayPropertySchema).optional(),
|
|
594
|
-
schema: import_zod8.z.any().optional(),
|
|
595
|
-
examples: import_zod8.z.array(EventExampleSchema).optional()
|
|
596
|
-
});
|
|
597
|
-
var DynamicTriggerMetadataSchema = import_zod8.z.object({
|
|
598
|
-
type: import_zod8.z.literal("dynamic"),
|
|
599
|
-
id: import_zod8.z.string()
|
|
600
|
-
});
|
|
601
|
-
var StaticTriggerMetadataSchema = import_zod8.z.object({
|
|
602
|
-
type: import_zod8.z.literal("static"),
|
|
603
|
-
title: import_zod8.z.union([
|
|
604
|
-
import_zod8.z.string(),
|
|
605
|
-
import_zod8.z.array(import_zod8.z.string())
|
|
606
|
-
]),
|
|
607
|
-
properties: import_zod8.z.array(DisplayPropertySchema).optional(),
|
|
608
|
-
rule: EventRuleSchema
|
|
609
|
-
});
|
|
610
|
-
var ScheduledTriggerMetadataSchema = import_zod8.z.object({
|
|
611
|
-
type: import_zod8.z.literal("scheduled"),
|
|
612
|
-
schedule: ScheduleMetadataSchema
|
|
613
|
-
});
|
|
614
|
-
var TriggerMetadataSchema = import_zod8.z.discriminatedUnion("type", [
|
|
615
|
-
DynamicTriggerMetadataSchema,
|
|
616
|
-
StaticTriggerMetadataSchema,
|
|
617
|
-
ScheduledTriggerMetadataSchema
|
|
618
|
-
]);
|
|
619
|
-
|
|
620
|
-
// src/schemas/api.ts
|
|
621
|
-
var UpdateTriggerSourceBodyV1Schema = import_zod9.z.object({
|
|
622
|
-
registeredEvents: import_zod9.z.array(import_zod9.z.string()),
|
|
623
|
-
secret: import_zod9.z.string().optional(),
|
|
624
|
-
data: SerializableJsonSchema.optional()
|
|
625
|
-
});
|
|
626
|
-
var UpdateTriggerSourceBodyV2Schema = import_zod9.z.object({
|
|
627
|
-
secret: import_zod9.z.string().optional(),
|
|
628
|
-
data: SerializableJsonSchema.optional(),
|
|
629
|
-
options: import_zod9.z.object({
|
|
630
|
-
event: import_zod9.z.array(import_zod9.z.string())
|
|
631
|
-
}).and(import_zod9.z.record(import_zod9.z.string(), import_zod9.z.array(import_zod9.z.string())).optional())
|
|
632
|
-
});
|
|
633
|
-
var RegisterHTTPTriggerSourceBodySchema = import_zod9.z.object({
|
|
634
|
-
type: import_zod9.z.literal("HTTP"),
|
|
635
|
-
url: import_zod9.z.string().url()
|
|
636
|
-
});
|
|
637
|
-
var RegisterSMTPTriggerSourceBodySchema = import_zod9.z.object({
|
|
638
|
-
type: import_zod9.z.literal("SMTP")
|
|
639
|
-
});
|
|
640
|
-
var RegisterSQSTriggerSourceBodySchema = import_zod9.z.object({
|
|
641
|
-
type: import_zod9.z.literal("SQS")
|
|
642
|
-
});
|
|
643
|
-
var RegisterSourceChannelBodySchema = import_zod9.z.discriminatedUnion("type", [
|
|
644
|
-
RegisterHTTPTriggerSourceBodySchema,
|
|
645
|
-
RegisterSMTPTriggerSourceBodySchema,
|
|
646
|
-
RegisterSQSTriggerSourceBodySchema
|
|
647
|
-
]);
|
|
648
|
-
var REGISTER_SOURCE_EVENT_V1 = "dev.trigger.source.register";
|
|
649
|
-
var REGISTER_SOURCE_EVENT_V2 = "dev.trigger.source.register.v2";
|
|
650
|
-
var RegisterTriggerSourceSchema = import_zod9.z.object({
|
|
651
|
-
key: import_zod9.z.string(),
|
|
652
|
-
params: import_zod9.z.any(),
|
|
653
|
-
active: import_zod9.z.boolean(),
|
|
654
|
-
secret: import_zod9.z.string(),
|
|
655
|
-
data: DeserializedJsonSchema.optional(),
|
|
656
|
-
channel: RegisterSourceChannelBodySchema,
|
|
657
|
-
clientId: import_zod9.z.string().optional()
|
|
658
|
-
});
|
|
659
|
-
var SourceEventOptionSchema = import_zod9.z.object({
|
|
660
|
-
name: import_zod9.z.string(),
|
|
661
|
-
value: import_zod9.z.string()
|
|
662
|
-
});
|
|
663
|
-
var RegisterSourceEventSchemaV1 = import_zod9.z.object({
|
|
664
|
-
/** The id of the source */
|
|
665
|
-
id: import_zod9.z.string(),
|
|
666
|
-
source: RegisterTriggerSourceSchema,
|
|
667
|
-
events: import_zod9.z.array(import_zod9.z.string()),
|
|
668
|
-
missingEvents: import_zod9.z.array(import_zod9.z.string()),
|
|
669
|
-
orphanedEvents: import_zod9.z.array(import_zod9.z.string()),
|
|
670
|
-
dynamicTriggerId: import_zod9.z.string().optional()
|
|
671
|
-
});
|
|
672
|
-
var RegisteredOptionsDiffSchema = import_zod9.z.object({
|
|
673
|
-
desired: import_zod9.z.array(import_zod9.z.string()),
|
|
674
|
-
missing: import_zod9.z.array(import_zod9.z.string()),
|
|
675
|
-
orphaned: import_zod9.z.array(import_zod9.z.string())
|
|
676
|
-
});
|
|
677
|
-
var RegisterSourceEventOptionsSchema = import_zod9.z.object({
|
|
678
|
-
event: RegisteredOptionsDiffSchema
|
|
679
|
-
}).and(import_zod9.z.record(import_zod9.z.string(), RegisteredOptionsDiffSchema));
|
|
680
|
-
var RegisterSourceEventSchemaV2 = import_zod9.z.object({
|
|
681
|
-
/** The id of the source */
|
|
682
|
-
id: import_zod9.z.string(),
|
|
683
|
-
source: RegisterTriggerSourceSchema,
|
|
684
|
-
options: RegisterSourceEventOptionsSchema,
|
|
685
|
-
dynamicTriggerId: import_zod9.z.string().optional()
|
|
686
|
-
});
|
|
687
|
-
var TriggerSourceSchema = import_zod9.z.object({
|
|
688
|
-
id: import_zod9.z.string(),
|
|
689
|
-
key: import_zod9.z.string()
|
|
690
|
-
});
|
|
691
|
-
var HttpSourceResponseMetadataSchema = DeserializedJsonSchema;
|
|
692
|
-
var HandleTriggerSourceSchema = import_zod9.z.object({
|
|
693
|
-
key: import_zod9.z.string(),
|
|
694
|
-
secret: import_zod9.z.string(),
|
|
695
|
-
data: import_zod9.z.any(),
|
|
696
|
-
params: import_zod9.z.any(),
|
|
697
|
-
auth: ConnectionAuthSchema.optional(),
|
|
698
|
-
metadata: HttpSourceResponseMetadataSchema.optional()
|
|
699
|
-
});
|
|
700
|
-
var HttpSourceRequestSchema = import_zod9.z.object({
|
|
701
|
-
url: import_zod9.z.string().url(),
|
|
702
|
-
method: import_zod9.z.string(),
|
|
703
|
-
headers: import_zod9.z.record(import_zod9.z.string()),
|
|
704
|
-
rawBody: import_zod9.z.instanceof(Uint8Array).optional().nullable()
|
|
705
|
-
});
|
|
706
|
-
var HttpSourceRequestHeadersSchema = import_zod9.z.object({
|
|
707
|
-
"x-ts-key": import_zod9.z.string(),
|
|
708
|
-
"x-ts-dynamic-id": import_zod9.z.string().optional(),
|
|
709
|
-
"x-ts-secret": import_zod9.z.string(),
|
|
710
|
-
"x-ts-data": import_zod9.z.string().transform((s) => JSON.parse(s)),
|
|
711
|
-
"x-ts-params": import_zod9.z.string().transform((s) => JSON.parse(s)),
|
|
712
|
-
"x-ts-http-url": import_zod9.z.string(),
|
|
713
|
-
"x-ts-http-method": import_zod9.z.string(),
|
|
714
|
-
"x-ts-http-headers": import_zod9.z.string().transform((s) => import_zod9.z.record(import_zod9.z.string()).parse(JSON.parse(s))),
|
|
715
|
-
"x-ts-auth": import_zod9.z.string().optional().transform((s) => {
|
|
716
|
-
if (s === void 0)
|
|
717
|
-
return;
|
|
718
|
-
const json = JSON.parse(s);
|
|
719
|
-
return ConnectionAuthSchema.parse(json);
|
|
720
|
-
}),
|
|
721
|
-
"x-ts-metadata": import_zod9.z.string().optional().transform((s) => {
|
|
722
|
-
if (s === void 0)
|
|
723
|
-
return;
|
|
724
|
-
const json = JSON.parse(s);
|
|
725
|
-
return DeserializedJsonSchema.parse(json);
|
|
726
|
-
})
|
|
727
|
-
});
|
|
728
|
-
var PongSuccessResponseSchema = import_zod9.z.object({
|
|
729
|
-
ok: import_zod9.z.literal(true)
|
|
730
|
-
});
|
|
731
|
-
var PongErrorResponseSchema = import_zod9.z.object({
|
|
732
|
-
ok: import_zod9.z.literal(false),
|
|
733
|
-
error: import_zod9.z.string()
|
|
734
|
-
});
|
|
735
|
-
var PongResponseSchema = import_zod9.z.discriminatedUnion("ok", [
|
|
736
|
-
PongSuccessResponseSchema,
|
|
737
|
-
PongErrorResponseSchema
|
|
738
|
-
]);
|
|
739
|
-
var ValidateSuccessResponseSchema = import_zod9.z.object({
|
|
740
|
-
ok: import_zod9.z.literal(true),
|
|
741
|
-
endpointId: import_zod9.z.string()
|
|
742
|
-
});
|
|
743
|
-
var ValidateErrorResponseSchema = import_zod9.z.object({
|
|
744
|
-
ok: import_zod9.z.literal(false),
|
|
745
|
-
error: import_zod9.z.string()
|
|
746
|
-
});
|
|
747
|
-
var ValidateResponseSchema = import_zod9.z.discriminatedUnion("ok", [
|
|
748
|
-
ValidateSuccessResponseSchema,
|
|
749
|
-
ValidateErrorResponseSchema
|
|
750
|
-
]);
|
|
751
|
-
var QueueOptionsSchema = import_zod9.z.object({
|
|
752
|
-
name: import_zod9.z.string(),
|
|
753
|
-
maxConcurrent: import_zod9.z.number().optional()
|
|
754
|
-
});
|
|
755
|
-
var JobMetadataSchema = import_zod9.z.object({
|
|
756
|
-
id: import_zod9.z.string(),
|
|
757
|
-
name: import_zod9.z.string(),
|
|
758
|
-
version: import_zod9.z.string(),
|
|
759
|
-
event: EventSpecificationSchema,
|
|
760
|
-
trigger: TriggerMetadataSchema,
|
|
761
|
-
integrations: import_zod9.z.record(IntegrationConfigSchema),
|
|
762
|
-
internal: import_zod9.z.boolean().default(false),
|
|
763
|
-
enabled: import_zod9.z.boolean(),
|
|
764
|
-
startPosition: import_zod9.z.enum([
|
|
765
|
-
"initial",
|
|
766
|
-
"latest"
|
|
767
|
-
]),
|
|
768
|
-
preprocessRuns: import_zod9.z.boolean()
|
|
769
|
-
});
|
|
770
|
-
var SourceMetadataV1Schema = import_zod9.z.object({
|
|
771
|
-
version: import_zod9.z.literal("1"),
|
|
772
|
-
channel: import_zod9.z.enum([
|
|
773
|
-
"HTTP",
|
|
774
|
-
"SQS",
|
|
775
|
-
"SMTP"
|
|
776
|
-
]),
|
|
777
|
-
integration: IntegrationConfigSchema,
|
|
778
|
-
key: import_zod9.z.string(),
|
|
779
|
-
params: import_zod9.z.any(),
|
|
780
|
-
events: import_zod9.z.array(import_zod9.z.string()),
|
|
781
|
-
registerSourceJob: import_zod9.z.object({
|
|
782
|
-
id: import_zod9.z.string(),
|
|
783
|
-
version: import_zod9.z.string()
|
|
784
|
-
}).optional()
|
|
785
|
-
});
|
|
786
|
-
var SourceMetadataV2Schema = import_zod9.z.object({
|
|
787
|
-
version: import_zod9.z.literal("2"),
|
|
788
|
-
channel: import_zod9.z.enum([
|
|
789
|
-
"HTTP",
|
|
790
|
-
"SQS",
|
|
791
|
-
"SMTP"
|
|
792
|
-
]),
|
|
793
|
-
integration: IntegrationConfigSchema,
|
|
794
|
-
key: import_zod9.z.string(),
|
|
795
|
-
params: import_zod9.z.any(),
|
|
796
|
-
options: import_zod9.z.record(import_zod9.z.array(import_zod9.z.string())),
|
|
797
|
-
registerSourceJob: import_zod9.z.object({
|
|
798
|
-
id: import_zod9.z.string(),
|
|
799
|
-
version: import_zod9.z.string()
|
|
800
|
-
}).optional()
|
|
801
|
-
});
|
|
802
|
-
var SourceMetadataSchema = import_zod9.z.preprocess(addMissingVersionField, import_zod9.z.discriminatedUnion("version", [
|
|
803
|
-
SourceMetadataV1Schema,
|
|
804
|
-
SourceMetadataV2Schema
|
|
805
|
-
]));
|
|
806
|
-
var DynamicTriggerEndpointMetadataSchema = import_zod9.z.object({
|
|
807
|
-
id: import_zod9.z.string(),
|
|
808
|
-
jobs: import_zod9.z.array(JobMetadataSchema.pick({
|
|
809
|
-
id: true,
|
|
810
|
-
version: true
|
|
811
|
-
})),
|
|
812
|
-
registerSourceJob: import_zod9.z.object({
|
|
813
|
-
id: import_zod9.z.string(),
|
|
814
|
-
version: import_zod9.z.string()
|
|
815
|
-
}).optional()
|
|
816
|
-
});
|
|
817
|
-
var IndexEndpointResponseSchema = import_zod9.z.object({
|
|
818
|
-
jobs: import_zod9.z.array(JobMetadataSchema),
|
|
819
|
-
sources: import_zod9.z.array(SourceMetadataSchema),
|
|
820
|
-
dynamicTriggers: import_zod9.z.array(DynamicTriggerEndpointMetadataSchema),
|
|
821
|
-
dynamicSchedules: import_zod9.z.array(RegisterDynamicSchedulePayloadSchema)
|
|
822
|
-
});
|
|
823
|
-
var RawEventSchema = import_zod9.z.object({
|
|
824
|
-
/** The `name` property must exactly match any subscriptions you want to
|
|
825
|
-
trigger. */
|
|
826
|
-
name: import_zod9.z.string(),
|
|
827
|
-
/** The `payload` property will be sent to any matching Jobs and will appear
|
|
828
|
-
as the `payload` param of the `run()` function. You can leave this
|
|
829
|
-
parameter out if you just want to trigger a Job without any input data. */
|
|
830
|
-
payload: import_zod9.z.any(),
|
|
831
|
-
/** The optional `context` property will be sent to any matching Jobs and will
|
|
832
|
-
be passed through as the `context.event.context` param of the `run()`
|
|
833
|
-
function. This is optional but can be useful if you want to pass through
|
|
834
|
-
some additional context to the Job. */
|
|
835
|
-
context: import_zod9.z.any().optional(),
|
|
836
|
-
/** The `id` property uniquely identify this particular event. If unset it
|
|
837
|
-
will be set automatically using `ulid`. */
|
|
838
|
-
id: import_zod9.z.string().default(() => (0, import_ulidx.ulid)()),
|
|
839
|
-
/** This is optional, it defaults to the current timestamp. Usually you would
|
|
840
|
-
only set this if you have a timestamp that you wish to pass through, e.g.
|
|
841
|
-
you receive a timestamp from a service and you want the same timestamp to
|
|
842
|
-
be used in your Job. */
|
|
843
|
-
timestamp: import_zod9.z.coerce.date().optional(),
|
|
844
|
-
/** This is optional, it defaults to "trigger.dev". It can be useful to set
|
|
845
|
-
this as you can filter events using this in the `eventTrigger()`. */
|
|
846
|
-
source: import_zod9.z.string().optional()
|
|
847
|
-
});
|
|
848
|
-
var ApiEventLogSchema = import_zod9.z.object({
|
|
849
|
-
/** The `id` of the event that was sent.
|
|
850
|
-
*/
|
|
851
|
-
id: import_zod9.z.string(),
|
|
852
|
-
/** The `name` of the event that was sent. */
|
|
853
|
-
name: import_zod9.z.string(),
|
|
854
|
-
/** The `payload` of the event that was sent */
|
|
855
|
-
payload: DeserializedJsonSchema,
|
|
856
|
-
/** The `context` of the event that was sent. Is `undefined` if no context was
|
|
857
|
-
set when sending the event. */
|
|
858
|
-
context: DeserializedJsonSchema.optional().nullable(),
|
|
859
|
-
/** The `timestamp` of the event that was sent */
|
|
860
|
-
timestamp: import_zod9.z.coerce.date(),
|
|
861
|
-
/** The timestamp when the event will be delivered to any matching Jobs. Is
|
|
862
|
-
`undefined` if `deliverAt` or `deliverAfter` wasn't set when sending the
|
|
863
|
-
event. */
|
|
864
|
-
deliverAt: import_zod9.z.coerce.date().optional().nullable(),
|
|
865
|
-
/** The timestamp when the event was delivered. Is `undefined` if `deliverAt`
|
|
866
|
-
or `deliverAfter` were set when sending the event. */
|
|
867
|
-
deliveredAt: import_zod9.z.coerce.date().optional().nullable(),
|
|
868
|
-
/** The timestamp when the event was cancelled. Is `undefined` if the event
|
|
869
|
-
* wasn't cancelled. */
|
|
870
|
-
cancelledAt: import_zod9.z.coerce.date().optional().nullable()
|
|
871
|
-
});
|
|
872
|
-
var SendEventOptionsSchema = import_zod9.z.object({
|
|
873
|
-
/** An optional Date when you want the event to trigger Jobs. The event will
|
|
874
|
-
be sent to the platform immediately but won't be acted upon until the
|
|
875
|
-
specified time. */
|
|
876
|
-
deliverAt: import_zod9.z.coerce.date().optional(),
|
|
877
|
-
/** An optional number of seconds you want to wait for the event to trigger
|
|
878
|
-
any relevant Jobs. The event will be sent to the platform immediately but
|
|
879
|
-
won't be delivered until after the elapsed number of seconds. */
|
|
880
|
-
deliverAfter: import_zod9.z.number().int().optional(),
|
|
881
|
-
/** This optional param will be used by Trigger.dev Connect, which
|
|
882
|
-
is coming soon. */
|
|
883
|
-
accountId: import_zod9.z.string().optional()
|
|
884
|
-
});
|
|
885
|
-
var SendEventBodySchema = import_zod9.z.object({
|
|
886
|
-
event: RawEventSchema,
|
|
887
|
-
options: SendEventOptionsSchema.optional()
|
|
888
|
-
});
|
|
889
|
-
var DeliverEventResponseSchema = import_zod9.z.object({
|
|
890
|
-
deliveredAt: import_zod9.z.string().datetime()
|
|
891
|
-
});
|
|
892
|
-
var RuntimeEnvironmentTypeSchema = import_zod9.z.enum([
|
|
893
|
-
"PRODUCTION",
|
|
894
|
-
"STAGING",
|
|
895
|
-
"DEVELOPMENT",
|
|
896
|
-
"PREVIEW"
|
|
897
|
-
]);
|
|
898
|
-
var RunSourceContextSchema = import_zod9.z.object({
|
|
899
|
-
id: import_zod9.z.string(),
|
|
900
|
-
metadata: import_zod9.z.any()
|
|
901
|
-
});
|
|
902
|
-
var RunJobBodySchema = import_zod9.z.object({
|
|
903
|
-
event: ApiEventLogSchema,
|
|
904
|
-
job: import_zod9.z.object({
|
|
905
|
-
id: import_zod9.z.string(),
|
|
906
|
-
version: import_zod9.z.string()
|
|
907
|
-
}),
|
|
908
|
-
run: import_zod9.z.object({
|
|
909
|
-
id: import_zod9.z.string(),
|
|
910
|
-
isTest: import_zod9.z.boolean(),
|
|
911
|
-
isRetry: import_zod9.z.boolean().default(false),
|
|
912
|
-
startedAt: import_zod9.z.coerce.date()
|
|
913
|
-
}),
|
|
914
|
-
environment: import_zod9.z.object({
|
|
915
|
-
id: import_zod9.z.string(),
|
|
916
|
-
slug: import_zod9.z.string(),
|
|
917
|
-
type: RuntimeEnvironmentTypeSchema
|
|
918
|
-
}),
|
|
919
|
-
organization: import_zod9.z.object({
|
|
920
|
-
id: import_zod9.z.string(),
|
|
921
|
-
title: import_zod9.z.string(),
|
|
922
|
-
slug: import_zod9.z.string()
|
|
923
|
-
}),
|
|
924
|
-
account: import_zod9.z.object({
|
|
925
|
-
id: import_zod9.z.string(),
|
|
926
|
-
metadata: import_zod9.z.any()
|
|
927
|
-
}).optional(),
|
|
928
|
-
source: RunSourceContextSchema.optional(),
|
|
929
|
-
tasks: import_zod9.z.array(CachedTaskSchema).optional(),
|
|
930
|
-
connections: import_zod9.z.record(ConnectionAuthSchema).optional()
|
|
931
|
-
});
|
|
932
|
-
var RunJobErrorSchema = import_zod9.z.object({
|
|
933
|
-
status: import_zod9.z.literal("ERROR"),
|
|
934
|
-
error: ErrorWithStackSchema,
|
|
935
|
-
task: TaskSchema.optional()
|
|
936
|
-
});
|
|
937
|
-
var RunJobResumeWithTaskSchema = import_zod9.z.object({
|
|
938
|
-
status: import_zod9.z.literal("RESUME_WITH_TASK"),
|
|
939
|
-
task: TaskSchema
|
|
940
|
-
});
|
|
941
|
-
var RunJobRetryWithTaskSchema = import_zod9.z.object({
|
|
942
|
-
status: import_zod9.z.literal("RETRY_WITH_TASK"),
|
|
943
|
-
task: TaskSchema,
|
|
944
|
-
error: ErrorWithStackSchema,
|
|
945
|
-
retryAt: import_zod9.z.coerce.date()
|
|
946
|
-
});
|
|
947
|
-
var RunJobCanceledWithTaskSchema = import_zod9.z.object({
|
|
948
|
-
status: import_zod9.z.literal("CANCELED"),
|
|
949
|
-
task: TaskSchema
|
|
950
|
-
});
|
|
951
|
-
var RunJobSuccessSchema = import_zod9.z.object({
|
|
952
|
-
status: import_zod9.z.literal("SUCCESS"),
|
|
953
|
-
output: DeserializedJsonSchema.optional()
|
|
954
|
-
});
|
|
955
|
-
var RunJobResponseSchema = import_zod9.z.discriminatedUnion("status", [
|
|
956
|
-
RunJobErrorSchema,
|
|
957
|
-
RunJobResumeWithTaskSchema,
|
|
958
|
-
RunJobRetryWithTaskSchema,
|
|
959
|
-
RunJobCanceledWithTaskSchema,
|
|
960
|
-
RunJobSuccessSchema
|
|
961
|
-
]);
|
|
962
|
-
var PreprocessRunBodySchema = import_zod9.z.object({
|
|
963
|
-
event: ApiEventLogSchema,
|
|
964
|
-
job: import_zod9.z.object({
|
|
965
|
-
id: import_zod9.z.string(),
|
|
966
|
-
version: import_zod9.z.string()
|
|
967
|
-
}),
|
|
968
|
-
run: import_zod9.z.object({
|
|
969
|
-
id: import_zod9.z.string(),
|
|
970
|
-
isTest: import_zod9.z.boolean()
|
|
971
|
-
}),
|
|
972
|
-
environment: import_zod9.z.object({
|
|
973
|
-
id: import_zod9.z.string(),
|
|
974
|
-
slug: import_zod9.z.string(),
|
|
975
|
-
type: RuntimeEnvironmentTypeSchema
|
|
976
|
-
}),
|
|
977
|
-
organization: import_zod9.z.object({
|
|
978
|
-
id: import_zod9.z.string(),
|
|
979
|
-
title: import_zod9.z.string(),
|
|
980
|
-
slug: import_zod9.z.string()
|
|
981
|
-
}),
|
|
982
|
-
account: import_zod9.z.object({
|
|
983
|
-
id: import_zod9.z.string(),
|
|
984
|
-
metadata: import_zod9.z.any()
|
|
985
|
-
}).optional()
|
|
986
|
-
});
|
|
987
|
-
var PreprocessRunResponseSchema = import_zod9.z.object({
|
|
988
|
-
abort: import_zod9.z.boolean(),
|
|
989
|
-
properties: import_zod9.z.array(DisplayPropertySchema).optional()
|
|
990
|
-
});
|
|
991
|
-
var CreateRunResponseOkSchema = import_zod9.z.object({
|
|
992
|
-
ok: import_zod9.z.literal(true),
|
|
993
|
-
data: import_zod9.z.object({
|
|
994
|
-
id: import_zod9.z.string()
|
|
995
|
-
})
|
|
996
|
-
});
|
|
997
|
-
var CreateRunResponseErrorSchema = import_zod9.z.object({
|
|
998
|
-
ok: import_zod9.z.literal(false),
|
|
999
|
-
error: import_zod9.z.string()
|
|
1000
|
-
});
|
|
1001
|
-
var CreateRunResponseBodySchema = import_zod9.z.discriminatedUnion("ok", [
|
|
1002
|
-
CreateRunResponseOkSchema,
|
|
1003
|
-
CreateRunResponseErrorSchema
|
|
1004
|
-
]);
|
|
1005
|
-
var RedactStringSchema = import_zod9.z.object({
|
|
1006
|
-
__redactedString: import_zod9.z.literal(true),
|
|
1007
|
-
strings: import_zod9.z.array(import_zod9.z.string()),
|
|
1008
|
-
interpolations: import_zod9.z.array(import_zod9.z.string())
|
|
1009
|
-
});
|
|
1010
|
-
var LogMessageSchema = import_zod9.z.object({
|
|
1011
|
-
level: import_zod9.z.enum([
|
|
1012
|
-
"DEBUG",
|
|
1013
|
-
"INFO",
|
|
1014
|
-
"WARN",
|
|
1015
|
-
"ERROR"
|
|
1016
|
-
]),
|
|
1017
|
-
message: import_zod9.z.string(),
|
|
1018
|
-
data: SerializableJsonSchema.optional()
|
|
1019
|
-
});
|
|
1020
|
-
var RedactSchema = import_zod9.z.object({
|
|
1021
|
-
paths: import_zod9.z.array(import_zod9.z.string())
|
|
1022
|
-
});
|
|
1023
|
-
var RetryOptionsSchema = import_zod9.z.object({
|
|
1024
|
-
/** The maximum number of times to retry the request. */
|
|
1025
|
-
limit: import_zod9.z.number().optional(),
|
|
1026
|
-
/** The exponential factor to use when calculating the next retry time. */
|
|
1027
|
-
factor: import_zod9.z.number().optional(),
|
|
1028
|
-
/** The minimum amount of time to wait before retrying the request. */
|
|
1029
|
-
minTimeoutInMs: import_zod9.z.number().optional(),
|
|
1030
|
-
/** The maximum amount of time to wait before retrying the request. */
|
|
1031
|
-
maxTimeoutInMs: import_zod9.z.number().optional(),
|
|
1032
|
-
/** Whether to randomize the retry time. */
|
|
1033
|
-
randomize: import_zod9.z.boolean().optional()
|
|
1034
|
-
});
|
|
1035
|
-
var RunTaskOptionsSchema = import_zod9.z.object({
|
|
1036
|
-
/** The name of the Task is required. This is displayed on the Task in the logs. */
|
|
1037
|
-
name: import_zod9.z.string().optional(),
|
|
1038
|
-
/** The Task will wait and only start at the specified Date */
|
|
1039
|
-
delayUntil: import_zod9.z.coerce.date().optional(),
|
|
1040
|
-
/** Retry options */
|
|
1041
|
-
retry: RetryOptionsSchema.optional(),
|
|
1042
|
-
/** The icon for the Task, it will appear in the logs.
|
|
1043
|
-
* You can use the name of a company in lowercase, e.g. "github".
|
|
1044
|
-
* Or any icon name that [Font Awesome](https://fontawesome.com/icons) supports. */
|
|
1045
|
-
icon: import_zod9.z.string().optional(),
|
|
1046
|
-
/** The key for the Task that you want to appear in the logs */
|
|
1047
|
-
displayKey: import_zod9.z.string().optional(),
|
|
1048
|
-
/** A description of the Task */
|
|
1049
|
-
description: import_zod9.z.string().optional(),
|
|
1050
|
-
/** Properties that are displayed in the logs */
|
|
1051
|
-
properties: import_zod9.z.array(DisplayPropertySchema).optional(),
|
|
1052
|
-
/** The input params to the Task, will be displayed in the logs */
|
|
1053
|
-
params: import_zod9.z.any(),
|
|
1054
|
-
/** The style of the log entry. */
|
|
1055
|
-
style: StyleSchema.optional(),
|
|
1056
|
-
/** Allows you to link the Integration connection in the logs. This is handled automatically in integrations. */
|
|
1057
|
-
connectionKey: import_zod9.z.string().optional(),
|
|
1058
|
-
/** An operation you want to perform on the Trigger.dev platform, current only "fetch" is supported. If you wish to `fetch` use [`io.backgroundFetch()`](https://trigger.dev/docs/sdk/io/backgroundfetch) instead. */
|
|
1059
|
-
operation: import_zod9.z.enum([
|
|
1060
|
-
"fetch"
|
|
1061
|
-
]).optional(),
|
|
1062
|
-
/** A No Operation means that the code won't be executed. This is used internally to implement features like [io.wait()](https://trigger.dev/docs/sdk/io/wait). */
|
|
1063
|
-
noop: import_zod9.z.boolean().default(false),
|
|
1064
|
-
redact: RedactSchema.optional(),
|
|
1065
|
-
trigger: TriggerMetadataSchema.optional()
|
|
1066
|
-
});
|
|
1067
|
-
var RunTaskBodyInputSchema = RunTaskOptionsSchema.extend({
|
|
1068
|
-
idempotencyKey: import_zod9.z.string(),
|
|
1069
|
-
parentId: import_zod9.z.string().optional()
|
|
1070
|
-
});
|
|
1071
|
-
var RunTaskBodyOutputSchema = RunTaskBodyInputSchema.extend({
|
|
1072
|
-
params: DeserializedJsonSchema.optional().nullable()
|
|
1073
|
-
});
|
|
1074
|
-
var CompleteTaskBodyInputSchema = RunTaskBodyInputSchema.pick({
|
|
1075
|
-
properties: true,
|
|
1076
|
-
description: true,
|
|
1077
|
-
params: true
|
|
1078
|
-
}).extend({
|
|
1079
|
-
output: SerializableJsonSchema.optional().transform((v) => v ? DeserializedJsonSchema.parse(JSON.parse(JSON.stringify(v))) : {})
|
|
1080
|
-
});
|
|
1081
|
-
var FailTaskBodyInputSchema = import_zod9.z.object({
|
|
1082
|
-
error: ErrorWithStackSchema
|
|
1083
|
-
});
|
|
1084
|
-
var NormalizedRequestSchema = import_zod9.z.object({
|
|
1085
|
-
headers: import_zod9.z.record(import_zod9.z.string()),
|
|
1086
|
-
method: import_zod9.z.string(),
|
|
1087
|
-
query: import_zod9.z.record(import_zod9.z.string()),
|
|
1088
|
-
url: import_zod9.z.string(),
|
|
1089
|
-
body: import_zod9.z.any()
|
|
1090
|
-
});
|
|
1091
|
-
var NormalizedResponseSchema = import_zod9.z.object({
|
|
1092
|
-
status: import_zod9.z.number(),
|
|
1093
|
-
body: import_zod9.z.any(),
|
|
1094
|
-
headers: import_zod9.z.record(import_zod9.z.string()).optional()
|
|
1095
|
-
});
|
|
1096
|
-
var HttpSourceResponseSchema = import_zod9.z.object({
|
|
1097
|
-
response: NormalizedResponseSchema,
|
|
1098
|
-
events: import_zod9.z.array(RawEventSchema),
|
|
1099
|
-
metadata: HttpSourceResponseMetadataSchema.optional()
|
|
1100
|
-
});
|
|
1101
|
-
var RegisterTriggerBodySchemaV1 = import_zod9.z.object({
|
|
1102
|
-
rule: EventRuleSchema,
|
|
1103
|
-
source: SourceMetadataV1Schema
|
|
1104
|
-
});
|
|
1105
|
-
var RegisterTriggerBodySchemaV2 = import_zod9.z.object({
|
|
1106
|
-
rule: EventRuleSchema,
|
|
1107
|
-
source: SourceMetadataV2Schema
|
|
1108
|
-
});
|
|
1109
|
-
var InitializeTriggerBodySchema = import_zod9.z.object({
|
|
1110
|
-
id: import_zod9.z.string(),
|
|
1111
|
-
params: import_zod9.z.any(),
|
|
1112
|
-
accountId: import_zod9.z.string().optional(),
|
|
1113
|
-
metadata: import_zod9.z.any().optional()
|
|
1114
|
-
});
|
|
1115
|
-
var RegisterCommonScheduleBodySchema = import_zod9.z.object({
|
|
1116
|
-
/** A unique id for the schedule. This is used to identify and unregister the schedule later. */
|
|
1117
|
-
id: import_zod9.z.string(),
|
|
1118
|
-
/** Any additional metadata about the schedule. */
|
|
1119
|
-
metadata: import_zod9.z.any(),
|
|
1120
|
-
/** This will be used by the Trigger.dev Connect feature, which is coming soon. */
|
|
1121
|
-
accountId: import_zod9.z.string().optional()
|
|
1122
|
-
});
|
|
1123
|
-
var RegisterIntervalScheduleBodySchema = RegisterCommonScheduleBodySchema.merge(IntervalMetadataSchema);
|
|
1124
|
-
var InitializeCronScheduleBodySchema = RegisterCommonScheduleBodySchema.merge(CronMetadataSchema);
|
|
1125
|
-
var RegisterScheduleBodySchema = import_zod9.z.discriminatedUnion("type", [
|
|
1126
|
-
RegisterIntervalScheduleBodySchema,
|
|
1127
|
-
InitializeCronScheduleBodySchema
|
|
1128
|
-
]);
|
|
1129
|
-
var RegisterScheduleResponseBodySchema = import_zod9.z.object({
|
|
1130
|
-
id: import_zod9.z.string(),
|
|
1131
|
-
schedule: ScheduleMetadataSchema,
|
|
1132
|
-
metadata: import_zod9.z.any(),
|
|
1133
|
-
active: import_zod9.z.boolean()
|
|
1134
|
-
});
|
|
1135
|
-
var CreateExternalConnectionBodySchema = import_zod9.z.object({
|
|
1136
|
-
accessToken: import_zod9.z.string(),
|
|
1137
|
-
type: import_zod9.z.enum([
|
|
1138
|
-
"oauth2"
|
|
1139
|
-
]),
|
|
1140
|
-
scopes: import_zod9.z.array(import_zod9.z.string()).optional(),
|
|
1141
|
-
metadata: import_zod9.z.any()
|
|
1142
|
-
});
|
|
1143
|
-
|
|
1144
|
-
// src/schemas/notifications.ts
|
|
1145
|
-
var import_zod10 = require("zod");
|
|
1146
|
-
var MISSING_CONNECTION_NOTIFICATION = "dev.trigger.notifications.missingConnection";
|
|
1147
|
-
var MISSING_CONNECTION_RESOLVED_NOTIFICATION = "dev.trigger.notifications.missingConnectionResolved";
|
|
1148
|
-
var CommonMissingConnectionNotificationPayloadSchema = import_zod10.z.object({
|
|
1149
|
-
id: import_zod10.z.string(),
|
|
1150
|
-
client: import_zod10.z.object({
|
|
1151
|
-
id: import_zod10.z.string(),
|
|
1152
|
-
title: import_zod10.z.string(),
|
|
1153
|
-
scopes: import_zod10.z.array(import_zod10.z.string()),
|
|
1154
|
-
createdAt: import_zod10.z.coerce.date(),
|
|
1155
|
-
updatedAt: import_zod10.z.coerce.date()
|
|
1156
|
-
}),
|
|
1157
|
-
authorizationUrl: import_zod10.z.string()
|
|
1158
|
-
});
|
|
1159
|
-
var MissingDeveloperConnectionNotificationPayloadSchema = CommonMissingConnectionNotificationPayloadSchema.extend({
|
|
1160
|
-
type: import_zod10.z.literal("DEVELOPER")
|
|
1161
|
-
});
|
|
1162
|
-
var MissingExternalConnectionNotificationPayloadSchema = CommonMissingConnectionNotificationPayloadSchema.extend({
|
|
1163
|
-
type: import_zod10.z.literal("EXTERNAL"),
|
|
1164
|
-
account: import_zod10.z.object({
|
|
1165
|
-
id: import_zod10.z.string(),
|
|
1166
|
-
metadata: import_zod10.z.any()
|
|
1167
|
-
})
|
|
1168
|
-
});
|
|
1169
|
-
var MissingConnectionNotificationPayloadSchema = import_zod10.z.discriminatedUnion("type", [
|
|
1170
|
-
MissingDeveloperConnectionNotificationPayloadSchema,
|
|
1171
|
-
MissingExternalConnectionNotificationPayloadSchema
|
|
1172
|
-
]);
|
|
1173
|
-
var CommonMissingConnectionNotificationResolvedPayloadSchema = import_zod10.z.object({
|
|
1174
|
-
id: import_zod10.z.string(),
|
|
1175
|
-
client: import_zod10.z.object({
|
|
1176
|
-
id: import_zod10.z.string(),
|
|
1177
|
-
title: import_zod10.z.string(),
|
|
1178
|
-
scopes: import_zod10.z.array(import_zod10.z.string()),
|
|
1179
|
-
createdAt: import_zod10.z.coerce.date(),
|
|
1180
|
-
updatedAt: import_zod10.z.coerce.date(),
|
|
1181
|
-
integrationIdentifier: import_zod10.z.string(),
|
|
1182
|
-
integrationAuthMethod: import_zod10.z.string()
|
|
1183
|
-
}),
|
|
1184
|
-
expiresAt: import_zod10.z.coerce.date()
|
|
1185
|
-
});
|
|
1186
|
-
var MissingDeveloperConnectionResolvedNotificationPayloadSchema = CommonMissingConnectionNotificationResolvedPayloadSchema.extend({
|
|
1187
|
-
type: import_zod10.z.literal("DEVELOPER")
|
|
1188
|
-
});
|
|
1189
|
-
var MissingExternalConnectionResolvedNotificationPayloadSchema = CommonMissingConnectionNotificationResolvedPayloadSchema.extend({
|
|
1190
|
-
type: import_zod10.z.literal("EXTERNAL"),
|
|
1191
|
-
account: import_zod10.z.object({
|
|
1192
|
-
id: import_zod10.z.string(),
|
|
1193
|
-
metadata: import_zod10.z.any()
|
|
1194
|
-
})
|
|
1195
|
-
});
|
|
1196
|
-
var MissingConnectionResolvedNotificationPayloadSchema = import_zod10.z.discriminatedUnion("type", [
|
|
1197
|
-
MissingDeveloperConnectionResolvedNotificationPayloadSchema,
|
|
1198
|
-
MissingExternalConnectionResolvedNotificationPayloadSchema
|
|
1199
|
-
]);
|
|
1200
|
-
|
|
1201
|
-
// src/schemas/fetch.ts
|
|
1202
|
-
var import_zod11 = require("zod");
|
|
1203
|
-
var FetchRetryHeadersStrategySchema = import_zod11.z.object({
|
|
1204
|
-
/** The `headers` strategy retries the request using info from the response headers. */
|
|
1205
|
-
strategy: import_zod11.z.literal("headers"),
|
|
1206
|
-
/** The header to use to determine the maximum number of times to retry the request. */
|
|
1207
|
-
limitHeader: import_zod11.z.string(),
|
|
1208
|
-
/** The header to use to determine the number of remaining retries. */
|
|
1209
|
-
remainingHeader: import_zod11.z.string(),
|
|
1210
|
-
/** The header to use to determine the time when the number of remaining retries will be reset. */
|
|
1211
|
-
resetHeader: import_zod11.z.string()
|
|
1212
|
-
});
|
|
1213
|
-
var FetchRetryBackoffStrategySchema = RetryOptionsSchema.extend({
|
|
1214
|
-
/** The `backoff` strategy retries the request with an exponential backoff. */
|
|
1215
|
-
strategy: import_zod11.z.literal("backoff")
|
|
1216
|
-
});
|
|
1217
|
-
var FetchRetryStrategySchema = import_zod11.z.discriminatedUnion("strategy", [
|
|
1218
|
-
FetchRetryHeadersStrategySchema,
|
|
1219
|
-
FetchRetryBackoffStrategySchema
|
|
1220
|
-
]);
|
|
1221
|
-
var FetchRequestInitSchema = import_zod11.z.object({
|
|
1222
|
-
/** The HTTP method to use for the request. */
|
|
1223
|
-
method: import_zod11.z.string().optional(),
|
|
1224
|
-
/** Any headers to send with the request. Note that you can use [redactString](https://trigger.dev/docs/sdk/redactString) to prevent sensitive information from being stored (e.g. in the logs), like API keys and tokens. */
|
|
1225
|
-
headers: import_zod11.z.record(import_zod11.z.union([
|
|
1226
|
-
import_zod11.z.string(),
|
|
1227
|
-
RedactStringSchema
|
|
1228
|
-
])).optional(),
|
|
1229
|
-
/** The body of the request. */
|
|
1230
|
-
body: import_zod11.z.union([
|
|
1231
|
-
import_zod11.z.string(),
|
|
1232
|
-
import_zod11.z.instanceof(ArrayBuffer)
|
|
1233
|
-
]).optional()
|
|
1234
|
-
});
|
|
1235
|
-
var FetchRetryOptionsSchema = import_zod11.z.record(FetchRetryStrategySchema);
|
|
1236
|
-
var FetchOperationSchema = import_zod11.z.object({
|
|
1237
|
-
url: import_zod11.z.string(),
|
|
1238
|
-
requestInit: FetchRequestInitSchema.optional(),
|
|
1239
|
-
retry: import_zod11.z.record(FetchRetryStrategySchema).optional()
|
|
1240
|
-
});
|
|
1241
|
-
|
|
1242
|
-
// src/schemas/events.ts
|
|
1243
|
-
var import_zod13 = require("zod");
|
|
1244
|
-
|
|
1245
|
-
// src/schemas/runs.ts
|
|
1246
|
-
var import_zod12 = require("zod");
|
|
1247
|
-
var RunStatusSchema = import_zod12.z.union([
|
|
1248
|
-
import_zod12.z.literal("PENDING"),
|
|
1249
|
-
import_zod12.z.literal("QUEUED"),
|
|
1250
|
-
import_zod12.z.literal("WAITING_ON_CONNECTIONS"),
|
|
1251
|
-
import_zod12.z.literal("PREPROCESSING"),
|
|
1252
|
-
import_zod12.z.literal("STARTED"),
|
|
1253
|
-
import_zod12.z.literal("SUCCESS"),
|
|
1254
|
-
import_zod12.z.literal("FAILURE"),
|
|
1255
|
-
import_zod12.z.literal("TIMED_OUT"),
|
|
1256
|
-
import_zod12.z.literal("ABORTED"),
|
|
1257
|
-
import_zod12.z.literal("CANCELED")
|
|
1258
|
-
]);
|
|
1259
|
-
var RunTaskSchema = import_zod12.z.object({
|
|
1260
|
-
/** The Task id */
|
|
1261
|
-
id: import_zod12.z.string(),
|
|
1262
|
-
/** The key that you defined when creating the Task, the first param in any task. */
|
|
1263
|
-
displayKey: import_zod12.z.string().nullable(),
|
|
1264
|
-
/** The Task status */
|
|
1265
|
-
status: TaskStatusSchema,
|
|
1266
|
-
/** The name of the Task */
|
|
1267
|
-
name: import_zod12.z.string(),
|
|
1268
|
-
/** The icon of the Task, a string.
|
|
1269
|
-
* For integrations, this will be a lowercase name of the company.
|
|
1270
|
-
* Can be used with the [@trigger.dev/companyicons](https://www.npmjs.com/package/@trigger.dev/companyicons) package to display an svg. */
|
|
1271
|
-
icon: import_zod12.z.string().nullable(),
|
|
1272
|
-
/** When the task started */
|
|
1273
|
-
startedAt: import_zod12.z.coerce.date().nullable(),
|
|
1274
|
-
/** When the task completed */
|
|
1275
|
-
completedAt: import_zod12.z.coerce.date().nullable()
|
|
1276
|
-
});
|
|
1277
|
-
var RunTaskWithSubtasksSchema = RunTaskSchema.extend({
|
|
1278
|
-
subtasks: import_zod12.z.lazy(() => RunTaskWithSubtasksSchema.array()).optional()
|
|
1279
|
-
});
|
|
1280
|
-
var GetRunOptionsSchema = import_zod12.z.object({
|
|
1281
|
-
/** Return subtasks, which appear in a `subtasks` array on a task. @default false */
|
|
1282
|
-
subtasks: import_zod12.z.boolean().optional(),
|
|
1283
|
-
/** You can use this to get more tasks, if there are more than are returned in a single batch @default undefined */
|
|
1284
|
-
cursor: import_zod12.z.string().optional(),
|
|
1285
|
-
/** How many tasks you want to return in one go, max 50. @default 20 */
|
|
1286
|
-
take: import_zod12.z.number().optional()
|
|
1287
|
-
});
|
|
1288
|
-
var GetRunOptionsWithTaskDetailsSchema = GetRunOptionsSchema.extend({
|
|
1289
|
-
/** If `true`, it returns the `params` and `output` of all tasks. @default false */
|
|
1290
|
-
taskdetails: import_zod12.z.boolean().optional()
|
|
1291
|
-
});
|
|
1292
|
-
var RunSchema = import_zod12.z.object({
|
|
1293
|
-
/** The Run id */
|
|
1294
|
-
id: import_zod12.z.string(),
|
|
1295
|
-
/** The Run status */
|
|
1296
|
-
status: RunStatusSchema,
|
|
1297
|
-
/** When the run started */
|
|
1298
|
-
startedAt: import_zod12.z.coerce.date().nullable(),
|
|
1299
|
-
/** When the run was last updated */
|
|
1300
|
-
updatedAt: import_zod12.z.coerce.date().nullable(),
|
|
1301
|
-
/** When the run was completed */
|
|
1302
|
-
completedAt: import_zod12.z.coerce.date().nullable()
|
|
1303
|
-
});
|
|
1304
|
-
var GetRunSchema = RunSchema.extend({
|
|
1305
|
-
/** The output of the run */
|
|
1306
|
-
output: import_zod12.z.any().optional(),
|
|
1307
|
-
/** The tasks from the run */
|
|
1308
|
-
tasks: import_zod12.z.array(RunTaskWithSubtasksSchema),
|
|
1309
|
-
/** If there are more tasks, you can use this to get them */
|
|
1310
|
-
nextCursor: import_zod12.z.string().optional()
|
|
1311
|
-
});
|
|
1312
|
-
var GetRunsOptionsSchema = import_zod12.z.object({
|
|
1313
|
-
/** You can use this to get more tasks, if there are more than are returned in a single batch @default undefined */
|
|
1314
|
-
cursor: import_zod12.z.string().optional(),
|
|
1315
|
-
/** How many runs you want to return in one go, max 50. @default 20 */
|
|
1316
|
-
take: import_zod12.z.number().optional()
|
|
1317
|
-
});
|
|
1318
|
-
var GetRunsSchema = import_zod12.z.object({
|
|
1319
|
-
/** The runs from the query */
|
|
1320
|
-
runs: RunSchema.array(),
|
|
1321
|
-
/** If there are more runs, you can use this to get them */
|
|
1322
|
-
nextCursor: import_zod12.z.string().optional()
|
|
1323
|
-
});
|
|
1324
|
-
|
|
1325
|
-
// src/schemas/events.ts
|
|
1326
|
-
var GetEventSchema = import_zod13.z.object({
|
|
1327
|
-
/** The event id */
|
|
1328
|
-
id: import_zod13.z.string(),
|
|
1329
|
-
/** The event name */
|
|
1330
|
-
name: import_zod13.z.string(),
|
|
1331
|
-
/** When the event was created */
|
|
1332
|
-
createdAt: import_zod13.z.coerce.date(),
|
|
1333
|
-
/** When the event was last updated */
|
|
1334
|
-
updatedAt: import_zod13.z.coerce.date(),
|
|
1335
|
-
/** The runs that were triggered by the event */
|
|
1336
|
-
runs: import_zod13.z.array(import_zod13.z.object({
|
|
1337
|
-
/** The Run id */
|
|
1338
|
-
id: import_zod13.z.string(),
|
|
1339
|
-
/** The Run status */
|
|
1340
|
-
status: RunStatusSchema,
|
|
1341
|
-
/** When the run started */
|
|
1342
|
-
startedAt: import_zod13.z.coerce.date().optional().nullable(),
|
|
1343
|
-
/** When the run completed */
|
|
1344
|
-
completedAt: import_zod13.z.coerce.date().optional().nullable()
|
|
1345
|
-
}))
|
|
1346
|
-
});
|
|
1347
|
-
|
|
1348
|
-
// src/utils.ts
|
|
1349
|
-
function deepMergeFilters(...filters) {
|
|
1350
|
-
const result = {};
|
|
1351
|
-
for (const filter of filters) {
|
|
1352
|
-
for (const key in filter) {
|
|
1353
|
-
if (filter.hasOwnProperty(key)) {
|
|
1354
|
-
const filterValue = filter[key];
|
|
1355
|
-
const existingValue = result[key];
|
|
1356
|
-
if (existingValue && typeof existingValue === "object" && typeof filterValue === "object" && !Array.isArray(existingValue) && !Array.isArray(filterValue) && existingValue !== null && filterValue !== null) {
|
|
1357
|
-
result[key] = deepMergeFilters(existingValue, filterValue);
|
|
1358
|
-
} else {
|
|
1359
|
-
result[key] = filterValue;
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
}
|
|
1364
|
-
return result;
|
|
1365
|
-
}
|
|
1366
|
-
__name(deepMergeFilters, "deepMergeFilters");
|
|
1367
|
-
|
|
1368
|
-
// src/retry.ts
|
|
1369
|
-
var DEFAULT_RETRY_OPTIONS = {
|
|
1370
|
-
limit: 5,
|
|
1371
|
-
factor: 1.8,
|
|
1372
|
-
minTimeoutInMs: 1e3,
|
|
1373
|
-
maxTimeoutInMs: 6e4,
|
|
1374
|
-
randomize: true
|
|
1375
|
-
};
|
|
1376
|
-
function calculateRetryAt(retryOptions, attempts) {
|
|
1377
|
-
const options = {
|
|
1378
|
-
...DEFAULT_RETRY_OPTIONS,
|
|
1379
|
-
...retryOptions
|
|
1380
|
-
};
|
|
1381
|
-
const retryCount = attempts + 1;
|
|
1382
|
-
if (retryCount >= options.limit) {
|
|
1383
|
-
return;
|
|
1384
|
-
}
|
|
1385
|
-
const random = options.randomize ? Math.random() + 1 : 1;
|
|
1386
|
-
let timeoutInMs = Math.round(random * Math.max(options.minTimeoutInMs, 1) * Math.pow(options.factor, Math.max(attempts - 1, 0)));
|
|
1387
|
-
timeoutInMs = Math.min(timeoutInMs, options.maxTimeoutInMs);
|
|
1388
|
-
return new Date(Date.now() + timeoutInMs);
|
|
1389
|
-
}
|
|
1390
|
-
__name(calculateRetryAt, "calculateRetryAt");
|
|
1391
|
-
|
|
1392
|
-
// src/replacements.ts
|
|
1393
|
-
var currentDate = {
|
|
1394
|
-
marker: "__CURRENT_DATE__",
|
|
1395
|
-
replace({ data: { now } }) {
|
|
1396
|
-
return now.toISOString();
|
|
1397
|
-
}
|
|
1398
|
-
};
|
|
1399
|
-
var currentTimestampMilliseconds = {
|
|
1400
|
-
marker: "__CURRENT_TIMESTAMP_MS__",
|
|
1401
|
-
replace({ data: { now } }) {
|
|
1402
|
-
return now.getTime();
|
|
1403
|
-
}
|
|
1404
|
-
};
|
|
1405
|
-
var currentTimestampSeconds = {
|
|
1406
|
-
marker: "__CURRENT_TIMESTAMP_S__",
|
|
1407
|
-
replace({ data: { now } }) {
|
|
1408
|
-
return now.getTime() / 1e3;
|
|
1409
|
-
}
|
|
1410
|
-
};
|
|
1411
|
-
var replacements = [
|
|
1412
|
-
currentDate,
|
|
1413
|
-
currentTimestampMilliseconds,
|
|
1414
|
-
currentTimestampSeconds
|
|
1415
|
-
];
|
|
1416
|
-
|
|
1417
|
-
// src/searchParams.ts
|
|
1418
|
-
function urlWithSearchParams(url, params) {
|
|
1419
|
-
if (!params) {
|
|
1420
|
-
return url;
|
|
1421
|
-
}
|
|
1422
|
-
const urlObj = new URL(url);
|
|
1423
|
-
for (const [key, value] of Object.entries(params)) {
|
|
1424
|
-
urlObj.searchParams.append(key, String(value));
|
|
1425
|
-
}
|
|
1426
|
-
return urlObj.toString();
|
|
1427
|
-
}
|
|
1428
|
-
__name(urlWithSearchParams, "urlWithSearchParams");
|
|
1429
|
-
|
|
1430
|
-
// src/eventFilterMatches.ts
|
|
1431
|
-
function eventFilterMatches(payload, filter) {
|
|
1432
|
-
for (const [patternKey, patternValue] of Object.entries(filter)) {
|
|
1433
|
-
const payloadValue = payload[patternKey];
|
|
1434
|
-
if (Array.isArray(patternValue)) {
|
|
1435
|
-
if (patternValue.length === 0) {
|
|
1436
|
-
continue;
|
|
1437
|
-
}
|
|
1438
|
-
if (patternValue.every((item) => typeof item === "string")) {
|
|
1439
|
-
if (patternValue.includes(payloadValue)) {
|
|
1440
|
-
continue;
|
|
1441
|
-
}
|
|
1442
|
-
return false;
|
|
1443
|
-
}
|
|
1444
|
-
if (patternValue.every((item) => typeof item === "number")) {
|
|
1445
|
-
if (patternValue.includes(payloadValue)) {
|
|
1446
|
-
continue;
|
|
1447
|
-
}
|
|
1448
|
-
return false;
|
|
1449
|
-
}
|
|
1450
|
-
if (patternValue.every((item) => typeof item === "boolean")) {
|
|
1451
|
-
if (patternValue.includes(payloadValue)) {
|
|
1452
|
-
continue;
|
|
1453
|
-
}
|
|
1454
|
-
return false;
|
|
1455
|
-
}
|
|
1456
|
-
const objectArray = patternValue;
|
|
1457
|
-
if (!contentFiltersMatches(payloadValue, objectArray)) {
|
|
1458
|
-
return false;
|
|
1459
|
-
}
|
|
1460
|
-
continue;
|
|
1461
|
-
} else if (typeof patternValue === "object") {
|
|
1462
|
-
if (Array.isArray(payloadValue)) {
|
|
1463
|
-
if (!payloadValue.some((item) => eventFilterMatches(item, patternValue))) {
|
|
1464
|
-
return false;
|
|
1465
|
-
}
|
|
1466
|
-
} else {
|
|
1467
|
-
if (!eventFilterMatches(payloadValue, patternValue)) {
|
|
1468
|
-
return false;
|
|
1469
|
-
}
|
|
1470
|
-
}
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
return true;
|
|
1474
|
-
}
|
|
1475
|
-
__name(eventFilterMatches, "eventFilterMatches");
|
|
1476
|
-
function contentFiltersMatches(actualValue, contentFilters) {
|
|
1477
|
-
for (const contentFilter of contentFilters) {
|
|
1478
|
-
if (typeof contentFilter === "object") {
|
|
1479
|
-
const [key, value] = Object.entries(contentFilter)[0];
|
|
1480
|
-
if (!contentFilterMatches(actualValue, contentFilter)) {
|
|
1481
|
-
return false;
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
}
|
|
1485
|
-
return true;
|
|
1486
|
-
}
|
|
1487
|
-
__name(contentFiltersMatches, "contentFiltersMatches");
|
|
1488
|
-
function contentFilterMatches(actualValue, contentFilter) {
|
|
1489
|
-
if ("$endsWith" in contentFilter) {
|
|
1490
|
-
if (typeof actualValue !== "string") {
|
|
1491
|
-
return false;
|
|
1492
|
-
}
|
|
1493
|
-
return actualValue.endsWith(contentFilter.$endsWith);
|
|
1494
|
-
}
|
|
1495
|
-
if ("$startsWith" in contentFilter) {
|
|
1496
|
-
if (typeof actualValue !== "string") {
|
|
1497
|
-
return false;
|
|
1498
|
-
}
|
|
1499
|
-
return actualValue.startsWith(contentFilter.$startsWith);
|
|
1500
|
-
}
|
|
1501
|
-
if ("$anythingBut" in contentFilter) {
|
|
1502
|
-
if (Array.isArray(contentFilter.$anythingBut)) {
|
|
1503
|
-
if (contentFilter.$anythingBut.includes(actualValue)) {
|
|
1504
|
-
return false;
|
|
1505
|
-
}
|
|
1506
|
-
}
|
|
1507
|
-
if (contentFilter.$anythingBut === actualValue) {
|
|
1508
|
-
return false;
|
|
1509
|
-
}
|
|
1510
|
-
return true;
|
|
1511
|
-
}
|
|
1512
|
-
if ("$exists" in contentFilter) {
|
|
1513
|
-
if (contentFilter.$exists) {
|
|
1514
|
-
return actualValue !== void 0;
|
|
1515
|
-
}
|
|
1516
|
-
return actualValue === void 0;
|
|
1517
|
-
}
|
|
1518
|
-
if ("$gt" in contentFilter) {
|
|
1519
|
-
if (typeof actualValue !== "number") {
|
|
1520
|
-
return false;
|
|
1521
|
-
}
|
|
1522
|
-
return actualValue > contentFilter.$gt;
|
|
1523
|
-
}
|
|
1524
|
-
if ("$lt" in contentFilter) {
|
|
1525
|
-
if (typeof actualValue !== "number") {
|
|
1526
|
-
return false;
|
|
1527
|
-
}
|
|
1528
|
-
return actualValue < contentFilter.$lt;
|
|
1529
|
-
}
|
|
1530
|
-
if ("$gte" in contentFilter) {
|
|
1531
|
-
if (typeof actualValue !== "number") {
|
|
1532
|
-
return false;
|
|
1533
|
-
}
|
|
1534
|
-
return actualValue >= contentFilter.$gte;
|
|
1535
|
-
}
|
|
1536
|
-
if ("$lte" in contentFilter) {
|
|
1537
|
-
if (typeof actualValue !== "number") {
|
|
1538
|
-
return false;
|
|
1539
|
-
}
|
|
1540
|
-
return actualValue <= contentFilter.$lte;
|
|
1541
|
-
}
|
|
1542
|
-
if ("$between" in contentFilter) {
|
|
1543
|
-
if (typeof actualValue !== "number") {
|
|
1544
|
-
return false;
|
|
1545
|
-
}
|
|
1546
|
-
return actualValue >= contentFilter.$between[0] && actualValue <= contentFilter.$between[1];
|
|
1547
|
-
}
|
|
1548
|
-
if ("$includes" in contentFilter) {
|
|
1549
|
-
if (Array.isArray(actualValue)) {
|
|
1550
|
-
return actualValue.includes(contentFilter.$includes);
|
|
1551
|
-
}
|
|
1552
|
-
return false;
|
|
1553
|
-
}
|
|
1554
|
-
if ("$ignoreCaseEquals" in contentFilter) {
|
|
1555
|
-
if (typeof actualValue !== "string") {
|
|
1556
|
-
return false;
|
|
1557
|
-
}
|
|
1558
|
-
return actualValue.localeCompare(contentFilter.$ignoreCaseEquals, void 0, {
|
|
1559
|
-
sensitivity: "accent"
|
|
1560
|
-
}) === 0;
|
|
1561
|
-
}
|
|
1562
|
-
if ("$isNull" in contentFilter) {
|
|
1563
|
-
if (contentFilter.$isNull) {
|
|
1564
|
-
return actualValue === null;
|
|
1565
|
-
}
|
|
1566
|
-
return actualValue !== null;
|
|
1567
|
-
}
|
|
1568
|
-
return true;
|
|
1569
|
-
}
|
|
1570
|
-
__name(contentFilterMatches, "contentFilterMatches");
|
|
1571
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1572
|
-
0 && (module.exports = {
|
|
1573
|
-
ApiEventLogSchema,
|
|
1574
|
-
CachedTaskSchema,
|
|
1575
|
-
CommonMissingConnectionNotificationPayloadSchema,
|
|
1576
|
-
CommonMissingConnectionNotificationResolvedPayloadSchema,
|
|
1577
|
-
CompleteTaskBodyInputSchema,
|
|
1578
|
-
ConnectionAuthSchema,
|
|
1579
|
-
CreateExternalConnectionBodySchema,
|
|
1580
|
-
CreateRunResponseBodySchema,
|
|
1581
|
-
CronMetadataSchema,
|
|
1582
|
-
CronOptionsSchema,
|
|
1583
|
-
DeliverEventResponseSchema,
|
|
1584
|
-
DeserializedJsonSchema,
|
|
1585
|
-
DisplayPropertiesSchema,
|
|
1586
|
-
DisplayPropertySchema,
|
|
1587
|
-
DynamicTriggerEndpointMetadataSchema,
|
|
1588
|
-
DynamicTriggerMetadataSchema,
|
|
1589
|
-
ErrorWithStackSchema,
|
|
1590
|
-
EventExampleSchema,
|
|
1591
|
-
EventFilterSchema,
|
|
1592
|
-
EventRuleSchema,
|
|
1593
|
-
EventSpecificationSchema,
|
|
1594
|
-
FailTaskBodyInputSchema,
|
|
1595
|
-
FetchOperationSchema,
|
|
1596
|
-
FetchRequestInitSchema,
|
|
1597
|
-
FetchRetryBackoffStrategySchema,
|
|
1598
|
-
FetchRetryHeadersStrategySchema,
|
|
1599
|
-
FetchRetryOptionsSchema,
|
|
1600
|
-
FetchRetryStrategySchema,
|
|
1601
|
-
GetEventSchema,
|
|
1602
|
-
GetRunSchema,
|
|
1603
|
-
GetRunsSchema,
|
|
1604
|
-
HandleTriggerSourceSchema,
|
|
1605
|
-
HttpSourceRequestHeadersSchema,
|
|
1606
|
-
HttpSourceRequestSchema,
|
|
1607
|
-
HttpSourceResponseSchema,
|
|
1608
|
-
IndexEndpointResponseSchema,
|
|
1609
|
-
InitializeCronScheduleBodySchema,
|
|
1610
|
-
InitializeTriggerBodySchema,
|
|
1611
|
-
IntegrationConfigSchema,
|
|
1612
|
-
IntegrationMetadataSchema,
|
|
1613
|
-
IntervalMetadataSchema,
|
|
1614
|
-
IntervalOptionsSchema,
|
|
1615
|
-
JobMetadataSchema,
|
|
1616
|
-
LogMessageSchema,
|
|
1617
|
-
Logger,
|
|
1618
|
-
MISSING_CONNECTION_NOTIFICATION,
|
|
1619
|
-
MISSING_CONNECTION_RESOLVED_NOTIFICATION,
|
|
1620
|
-
MissingConnectionNotificationPayloadSchema,
|
|
1621
|
-
MissingConnectionResolvedNotificationPayloadSchema,
|
|
1622
|
-
MissingDeveloperConnectionNotificationPayloadSchema,
|
|
1623
|
-
MissingDeveloperConnectionResolvedNotificationPayloadSchema,
|
|
1624
|
-
MissingExternalConnectionNotificationPayloadSchema,
|
|
1625
|
-
MissingExternalConnectionResolvedNotificationPayloadSchema,
|
|
1626
|
-
NormalizedRequestSchema,
|
|
1627
|
-
NormalizedResponseSchema,
|
|
1628
|
-
PongErrorResponseSchema,
|
|
1629
|
-
PongResponseSchema,
|
|
1630
|
-
PongSuccessResponseSchema,
|
|
1631
|
-
PreprocessRunBodySchema,
|
|
1632
|
-
PreprocessRunResponseSchema,
|
|
1633
|
-
QueueOptionsSchema,
|
|
1634
|
-
REGISTER_SOURCE_EVENT_V1,
|
|
1635
|
-
REGISTER_SOURCE_EVENT_V2,
|
|
1636
|
-
RawEventSchema,
|
|
1637
|
-
RedactSchema,
|
|
1638
|
-
RedactStringSchema,
|
|
1639
|
-
RegisterDynamicSchedulePayloadSchema,
|
|
1640
|
-
RegisterHTTPTriggerSourceBodySchema,
|
|
1641
|
-
RegisterIntervalScheduleBodySchema,
|
|
1642
|
-
RegisterSMTPTriggerSourceBodySchema,
|
|
1643
|
-
RegisterSQSTriggerSourceBodySchema,
|
|
1644
|
-
RegisterScheduleBodySchema,
|
|
1645
|
-
RegisterScheduleResponseBodySchema,
|
|
1646
|
-
RegisterSourceChannelBodySchema,
|
|
1647
|
-
RegisterSourceEventSchemaV1,
|
|
1648
|
-
RegisterSourceEventSchemaV2,
|
|
1649
|
-
RegisterTriggerBodySchemaV1,
|
|
1650
|
-
RegisterTriggerBodySchemaV2,
|
|
1651
|
-
RegisterTriggerSourceSchema,
|
|
1652
|
-
RetryOptionsSchema,
|
|
1653
|
-
RunJobBodySchema,
|
|
1654
|
-
RunJobCanceledWithTaskSchema,
|
|
1655
|
-
RunJobErrorSchema,
|
|
1656
|
-
RunJobResponseSchema,
|
|
1657
|
-
RunJobResumeWithTaskSchema,
|
|
1658
|
-
RunJobRetryWithTaskSchema,
|
|
1659
|
-
RunJobSuccessSchema,
|
|
1660
|
-
RunSourceContextSchema,
|
|
1661
|
-
RunStatusSchema,
|
|
1662
|
-
RunTaskBodyInputSchema,
|
|
1663
|
-
RunTaskBodyOutputSchema,
|
|
1664
|
-
RunTaskOptionsSchema,
|
|
1665
|
-
RunTaskSchema,
|
|
1666
|
-
RuntimeEnvironmentTypeSchema,
|
|
1667
|
-
SCHEDULED_EVENT,
|
|
1668
|
-
ScheduleMetadataSchema,
|
|
1669
|
-
ScheduledPayloadSchema,
|
|
1670
|
-
ScheduledTriggerMetadataSchema,
|
|
1671
|
-
SendEventBodySchema,
|
|
1672
|
-
SendEventOptionsSchema,
|
|
1673
|
-
SerializableJsonSchema,
|
|
1674
|
-
ServerTaskSchema,
|
|
1675
|
-
SourceMetadataV2Schema,
|
|
1676
|
-
StaticTriggerMetadataSchema,
|
|
1677
|
-
StyleSchema,
|
|
1678
|
-
TaskSchema,
|
|
1679
|
-
TaskStatusSchema,
|
|
1680
|
-
TriggerMetadataSchema,
|
|
1681
|
-
TriggerSourceSchema,
|
|
1682
|
-
UpdateTriggerSourceBodyV1Schema,
|
|
1683
|
-
UpdateTriggerSourceBodyV2Schema,
|
|
1684
|
-
ValidateErrorResponseSchema,
|
|
1685
|
-
ValidateResponseSchema,
|
|
1686
|
-
ValidateSuccessResponseSchema,
|
|
1687
|
-
addMissingVersionField,
|
|
1688
|
-
calculateRetryAt,
|
|
1689
|
-
currentDate,
|
|
1690
|
-
currentTimestampMilliseconds,
|
|
1691
|
-
currentTimestampSeconds,
|
|
1692
|
-
deepMergeFilters,
|
|
1693
|
-
eventFilterMatches,
|
|
1694
|
-
replacements,
|
|
1695
|
-
urlWithSearchParams
|
|
1696
|
-
});
|
|
1697
|
-
//# sourceMappingURL=index.js.map
|