@trigger.dev/core 0.0.0-prerelease-20250329172200 → 0.0.0-prerelease-20250430143421
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/utils.d.ts +1 -1
- package/dist/commonjs/utils.js +3 -0
- package/dist/commonjs/utils.js.map +1 -1
- package/dist/commonjs/v3/apiClient/errors.js +13 -8
- package/dist/commonjs/v3/apiClient/errors.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +42 -39
- package/dist/commonjs/v3/apiClient/index.js +4 -3
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/stream.js +51 -30
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
- package/dist/commonjs/v3/apps/http.d.ts +1 -1
- package/dist/commonjs/v3/apps/http.js +4 -4
- package/dist/commonjs/v3/apps/http.js.map +1 -1
- package/dist/commonjs/v3/build/flags.js +2 -2
- package/dist/commonjs/v3/build/flags.js.map +1 -1
- package/dist/commonjs/v3/build/flags.test.js +4 -0
- package/dist/commonjs/v3/build/flags.test.js.map +1 -1
- package/dist/commonjs/v3/errors.d.ts +3 -0
- package/dist/commonjs/v3/errors.js +22 -1
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/idempotencyKeys.d.ts +11 -0
- package/dist/commonjs/v3/idempotencyKeys.js +6 -1
- package/dist/commonjs/v3/idempotencyKeys.js.map +1 -1
- package/dist/commonjs/v3/index.d.ts +2 -2
- package/dist/commonjs/v3/index.js +5 -2
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/friendlyId.d.ts +0 -1
- package/dist/commonjs/v3/isomorphic/friendlyId.js +1 -6
- package/dist/commonjs/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/commonjs/v3/links.d.ts +1 -0
- package/dist/commonjs/v3/links.js +1 -0
- package/dist/commonjs/v3/links.js.map +1 -1
- package/dist/commonjs/v3/logger/taskLogger.js +1 -1
- package/dist/commonjs/v3/logger/taskLogger.js.map +1 -1
- package/dist/commonjs/v3/machines/index.d.ts +7 -7
- package/dist/commonjs/v3/machines/index.js +3 -3
- package/dist/commonjs/v3/machines/index.js.map +1 -1
- package/dist/commonjs/v3/otel/tracingSDK.js +1 -1
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js +20 -0
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +22 -21
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js +1 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.d.ts +2 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js +3 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +201 -198
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js +3 -2
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.d.ts +4 -2
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.js +18 -14
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +20 -16
- package/dist/commonjs/v3/runEngineWorker/workload/http.js +23 -11
- package/dist/commonjs/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +162 -162
- package/dist/commonjs/v3/runMetadata/manager.js +40 -32
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/metadataStream.d.ts +5 -0
- package/dist/commonjs/v3/runMetadata/metadataStream.js +97 -17
- package/dist/commonjs/v3/runMetadata/metadataStream.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/noopManager.js +24 -16
- package/dist/commonjs/v3/runMetadata/noopManager.js.map +1 -1
- package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.d.ts +1 -1
- package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js +5 -2
- package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -1
- package/dist/commonjs/v3/runtime/managedRuntimeManager.d.ts +1 -0
- package/dist/commonjs/v3/runtime/managedRuntimeManager.js +15 -10
- package/dist/commonjs/v3/runtime/managedRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +247 -221
- package/dist/commonjs/v3/schemas/api.js +16 -1
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +64 -64
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +27 -27
- package/dist/commonjs/v3/schemas/common.d.ts +176 -175
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +2306 -2300
- package/dist/commonjs/v3/schemas/messages.js +2 -0
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +18 -18
- package/dist/commonjs/v3/schemas/resources.d.ts +34 -34
- package/dist/commonjs/v3/schemas/runEngine.d.ts +88 -88
- package/dist/commonjs/v3/schemas/runEngine.js +2 -2
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +145 -94
- package/dist/commonjs/v3/schemas/schemas.js +9 -1
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/schemas/style.d.ts +6 -4
- package/dist/commonjs/v3/schemas/style.js +4 -2
- package/dist/commonjs/v3/schemas/style.js.map +1 -1
- package/dist/commonjs/v3/schemas/webhooks.d.ts +104 -104
- package/dist/commonjs/v3/semanticInternalAttributes.d.ts +2 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js +2 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/httpServer.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/httpServer.js +5 -1
- package/dist/commonjs/v3/serverOnly/httpServer.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/k8s.js +1 -0
- package/dist/commonjs/v3/serverOnly/k8s.js.map +1 -1
- package/dist/commonjs/v3/taskContext/index.d.ts +1 -0
- package/dist/commonjs/v3/taskContext/index.js +4 -0
- package/dist/commonjs/v3/taskContext/index.js.map +1 -1
- package/dist/commonjs/v3/taskContext/otelProcessors.d.ts +3 -1
- package/dist/commonjs/v3/taskContext/otelProcessors.js +34 -1
- package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/commonjs/v3/taskContext/types.d.ts +1 -0
- package/dist/commonjs/v3/tracer.js +14 -16
- package/dist/commonjs/v3/tracer.js.map +1 -1
- package/dist/commonjs/v3/types/schemas.d.ts +3 -0
- package/dist/commonjs/v3/types/schemas.js +16 -0
- package/dist/commonjs/v3/types/schemas.js.map +1 -1
- package/dist/commonjs/v3/types/tasks.d.ts +1 -0
- package/dist/commonjs/v3/usage/api.d.ts +1 -0
- package/dist/commonjs/v3/usage/api.js +3 -0
- package/dist/commonjs/v3/usage/api.js.map +1 -1
- package/dist/commonjs/v3/usage/devUsageManager.d.ts +1 -0
- package/dist/commonjs/v3/usage/devUsageManager.js +1 -0
- package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/noopUsageManager.d.ts +1 -0
- package/dist/commonjs/v3/usage/noopUsageManager.js +3 -0
- package/dist/commonjs/v3/usage/noopUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/types.d.ts +1 -0
- package/dist/commonjs/v3/utils/{heartbeat.d.ts → interval.d.ts} +11 -9
- package/dist/commonjs/v3/utils/interval.js +95 -0
- package/dist/commonjs/v3/utils/interval.js.map +1 -0
- package/dist/commonjs/v3/workers/index.d.ts +1 -0
- package/dist/commonjs/v3/workers/index.js +3 -1
- package/dist/commonjs/v3/workers/index.js.map +1 -1
- package/dist/commonjs/v3/workers/populateEnv.d.ts +23 -0
- package/dist/commonjs/v3/workers/populateEnv.js +33 -0
- package/dist/commonjs/v3/workers/populateEnv.js.map +1 -0
- package/dist/commonjs/v3/workers/taskExecutor.d.ts +3 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +36 -11
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/v3/zodMessageHandler.d.ts +1 -1
- package/dist/esm/utils.d.ts +1 -1
- package/dist/esm/utils.js +3 -0
- package/dist/esm/utils.js.map +1 -1
- package/dist/esm/v3/apiClient/errors.js +13 -8
- package/dist/esm/v3/apiClient/errors.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +42 -39
- package/dist/esm/v3/apiClient/index.js +5 -4
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/stream.js +51 -30
- package/dist/esm/v3/apiClient/stream.js.map +1 -1
- package/dist/esm/v3/apps/http.d.ts +1 -1
- package/dist/esm/v3/apps/http.js +4 -4
- package/dist/esm/v3/apps/http.js.map +1 -1
- package/dist/esm/v3/build/flags.js +2 -2
- package/dist/esm/v3/build/flags.js.map +1 -1
- package/dist/esm/v3/build/flags.test.js +4 -0
- package/dist/esm/v3/build/flags.test.js.map +1 -1
- package/dist/esm/v3/errors.d.ts +3 -0
- package/dist/esm/v3/errors.js +20 -0
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/idempotencyKeys.d.ts +11 -0
- package/dist/esm/v3/idempotencyKeys.js +5 -1
- package/dist/esm/v3/idempotencyKeys.js.map +1 -1
- package/dist/esm/v3/index.d.ts +2 -2
- package/dist/esm/v3/index.js +2 -2
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/isomorphic/friendlyId.d.ts +0 -1
- package/dist/esm/v3/isomorphic/friendlyId.js +0 -5
- package/dist/esm/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/esm/v3/links.d.ts +1 -0
- package/dist/esm/v3/links.js +1 -0
- package/dist/esm/v3/links.js.map +1 -1
- package/dist/esm/v3/logger/taskLogger.js +1 -1
- package/dist/esm/v3/logger/taskLogger.js.map +1 -1
- package/dist/esm/v3/machines/index.d.ts +7 -7
- package/dist/esm/v3/machines/index.js +3 -3
- package/dist/esm/v3/machines/index.js.map +1 -1
- package/dist/esm/v3/otel/tracingSDK.js +1 -1
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js +20 -0
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +22 -21
- package/dist/esm/v3/runEngineWorker/supervisor/http.js +1 -0
- package/dist/esm/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.d.ts +2 -0
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js +3 -0
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +201 -198
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.js +3 -2
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/session.d.ts +4 -2
- package/dist/esm/v3/runEngineWorker/supervisor/session.js +18 -14
- package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +20 -16
- package/dist/esm/v3/runEngineWorker/workload/http.js +23 -11
- package/dist/esm/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +162 -162
- package/dist/esm/v3/runMetadata/manager.js +40 -32
- package/dist/esm/v3/runMetadata/manager.js.map +1 -1
- package/dist/esm/v3/runMetadata/metadataStream.d.ts +5 -0
- package/dist/esm/v3/runMetadata/metadataStream.js +97 -17
- package/dist/esm/v3/runMetadata/metadataStream.js.map +1 -1
- package/dist/esm/v3/runMetadata/noopManager.js +24 -16
- package/dist/esm/v3/runMetadata/noopManager.js.map +1 -1
- package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.d.ts +1 -1
- package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.js +5 -2
- package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -1
- package/dist/esm/v3/runtime/managedRuntimeManager.d.ts +1 -0
- package/dist/esm/v3/runtime/managedRuntimeManager.js +15 -10
- package/dist/esm/v3/runtime/managedRuntimeManager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +247 -221
- package/dist/esm/v3/schemas/api.js +15 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +64 -64
- package/dist/esm/v3/schemas/checkpoints.d.ts +27 -27
- package/dist/esm/v3/schemas/common.d.ts +176 -175
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +2306 -2300
- package/dist/esm/v3/schemas/messages.js +2 -0
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/openTelemetry.d.ts +18 -18
- package/dist/esm/v3/schemas/resources.d.ts +34 -34
- package/dist/esm/v3/schemas/runEngine.d.ts +88 -88
- package/dist/esm/v3/schemas/runEngine.js +2 -2
- package/dist/esm/v3/schemas/runEngine.js.map +1 -1
- package/dist/esm/v3/schemas/schemas.d.ts +145 -94
- package/dist/esm/v3/schemas/schemas.js +8 -0
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/schemas/style.d.ts +6 -4
- package/dist/esm/v3/schemas/style.js +3 -1
- package/dist/esm/v3/schemas/style.js.map +1 -1
- package/dist/esm/v3/schemas/webhooks.d.ts +104 -104
- package/dist/esm/v3/semanticInternalAttributes.d.ts +2 -0
- package/dist/esm/v3/semanticInternalAttributes.js +2 -0
- package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/esm/v3/serverOnly/httpServer.d.ts +1 -0
- package/dist/esm/v3/serverOnly/httpServer.js +5 -1
- package/dist/esm/v3/serverOnly/httpServer.js.map +1 -1
- package/dist/esm/v3/serverOnly/k8s.js +1 -0
- package/dist/esm/v3/serverOnly/k8s.js.map +1 -1
- package/dist/esm/v3/taskContext/index.d.ts +1 -0
- package/dist/esm/v3/taskContext/index.js +4 -0
- package/dist/esm/v3/taskContext/index.js.map +1 -1
- package/dist/esm/v3/taskContext/otelProcessors.d.ts +3 -1
- package/dist/esm/v3/taskContext/otelProcessors.js +34 -1
- package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/esm/v3/taskContext/types.d.ts +1 -0
- package/dist/esm/v3/tracer.js +14 -16
- package/dist/esm/v3/tracer.js.map +1 -1
- package/dist/esm/v3/types/schemas.d.ts +3 -0
- package/dist/esm/v3/types/schemas.js +13 -0
- package/dist/esm/v3/types/schemas.js.map +1 -1
- package/dist/esm/v3/types/tasks.d.ts +1 -0
- package/dist/esm/v3/usage/api.d.ts +1 -0
- package/dist/esm/v3/usage/api.js +3 -0
- package/dist/esm/v3/usage/api.js.map +1 -1
- package/dist/esm/v3/usage/devUsageManager.d.ts +1 -0
- package/dist/esm/v3/usage/devUsageManager.js +1 -0
- package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/noopUsageManager.d.ts +1 -0
- package/dist/esm/v3/usage/noopUsageManager.js +3 -0
- package/dist/esm/v3/usage/noopUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/types.d.ts +1 -0
- package/dist/esm/v3/utils/{heartbeat.d.ts → interval.d.ts} +11 -9
- package/dist/esm/v3/utils/interval.js +91 -0
- package/dist/esm/v3/utils/interval.js.map +1 -0
- package/dist/esm/v3/workers/index.d.ts +1 -0
- package/dist/esm/v3/workers/index.js +1 -0
- package/dist/esm/v3/workers/index.js.map +1 -1
- package/dist/esm/v3/workers/populateEnv.d.ts +23 -0
- package/dist/esm/v3/workers/populateEnv.js +30 -0
- package/dist/esm/v3/workers/populateEnv.js.map +1 -0
- package/dist/esm/v3/workers/taskExecutor.d.ts +3 -1
- package/dist/esm/v3/workers/taskExecutor.js +38 -13
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/v3/zodMessageHandler.d.ts +1 -1
- package/package.json +2 -2
- package/dist/commonjs/v3/utils/heartbeat.js +0 -79
- package/dist/commonjs/v3/utils/heartbeat.js.map +0 -1
- package/dist/esm/v3/utils/heartbeat.js +0 -75
- package/dist/esm/v3/utils/heartbeat.js.map +0 -1
|
@@ -190,12 +190,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
190
190
|
memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
191
191
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
192
192
|
}, "strip", z.ZodTypeAny, {
|
|
193
|
-
cpu?:
|
|
194
|
-
memory?:
|
|
193
|
+
cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
|
|
194
|
+
memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
|
|
195
195
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
196
196
|
}, {
|
|
197
|
-
cpu?:
|
|
198
|
-
memory?:
|
|
197
|
+
cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
|
|
198
|
+
memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
|
|
199
199
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
200
200
|
}>>;
|
|
201
201
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -213,18 +213,19 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
214
|
id: string;
|
|
215
215
|
filePath: string;
|
|
216
|
-
maxDuration?: number | undefined;
|
|
217
216
|
exportName?: string | undefined;
|
|
217
|
+
maxDuration?: number | undefined;
|
|
218
218
|
queue?: {
|
|
219
219
|
name?: string | undefined;
|
|
220
220
|
concurrencyLimit?: number | null | undefined;
|
|
221
221
|
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
222
222
|
} | undefined;
|
|
223
223
|
machine?: {
|
|
224
|
-
cpu?:
|
|
225
|
-
memory?:
|
|
224
|
+
cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
|
|
225
|
+
memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
|
|
226
226
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
227
227
|
} | undefined;
|
|
228
|
+
description?: string | undefined;
|
|
228
229
|
retry?: {
|
|
229
230
|
maxAttempts?: number | undefined;
|
|
230
231
|
factor?: number | undefined;
|
|
@@ -235,7 +236,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
235
236
|
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
236
237
|
} | undefined;
|
|
237
238
|
} | undefined;
|
|
238
|
-
description?: string | undefined;
|
|
239
239
|
triggerSource?: string | undefined;
|
|
240
240
|
schedule?: {
|
|
241
241
|
cron: string;
|
|
@@ -244,18 +244,19 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
244
244
|
}, {
|
|
245
245
|
id: string;
|
|
246
246
|
filePath: string;
|
|
247
|
-
maxDuration?: number | undefined;
|
|
248
247
|
exportName?: string | undefined;
|
|
248
|
+
maxDuration?: number | undefined;
|
|
249
249
|
queue?: {
|
|
250
250
|
name?: string | undefined;
|
|
251
251
|
concurrencyLimit?: number | null | undefined;
|
|
252
252
|
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
253
253
|
} | undefined;
|
|
254
254
|
machine?: {
|
|
255
|
-
cpu?:
|
|
256
|
-
memory?:
|
|
255
|
+
cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
|
|
256
|
+
memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
|
|
257
257
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
258
258
|
} | undefined;
|
|
259
|
+
description?: string | undefined;
|
|
259
260
|
retry?: {
|
|
260
261
|
maxAttempts?: number | undefined;
|
|
261
262
|
factor?: number | undefined;
|
|
@@ -266,7 +267,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
266
267
|
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
267
268
|
} | undefined;
|
|
268
269
|
} | undefined;
|
|
269
|
-
description?: string | undefined;
|
|
270
270
|
triggerSource?: string | undefined;
|
|
271
271
|
schedule?: {
|
|
272
272
|
cron: string;
|
|
@@ -303,21 +303,23 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
303
303
|
taskIds: string[];
|
|
304
304
|
}>, "many">>;
|
|
305
305
|
}, "strip", z.ZodTypeAny, {
|
|
306
|
+
contentHash: string;
|
|
306
307
|
tasks: {
|
|
307
308
|
id: string;
|
|
308
309
|
filePath: string;
|
|
309
|
-
maxDuration?: number | undefined;
|
|
310
310
|
exportName?: string | undefined;
|
|
311
|
+
maxDuration?: number | undefined;
|
|
311
312
|
queue?: {
|
|
312
313
|
name?: string | undefined;
|
|
313
314
|
concurrencyLimit?: number | null | undefined;
|
|
314
315
|
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
315
316
|
} | undefined;
|
|
316
317
|
machine?: {
|
|
317
|
-
cpu?:
|
|
318
|
-
memory?:
|
|
318
|
+
cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
|
|
319
|
+
memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
|
|
319
320
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
320
321
|
} | undefined;
|
|
322
|
+
description?: string | undefined;
|
|
321
323
|
retry?: {
|
|
322
324
|
maxAttempts?: number | undefined;
|
|
323
325
|
factor?: number | undefined;
|
|
@@ -328,14 +330,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
328
330
|
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
329
331
|
} | undefined;
|
|
330
332
|
} | undefined;
|
|
331
|
-
description?: string | undefined;
|
|
332
333
|
triggerSource?: string | undefined;
|
|
333
334
|
schedule?: {
|
|
334
335
|
cron: string;
|
|
335
336
|
timezone: string;
|
|
336
337
|
} | undefined;
|
|
337
338
|
}[];
|
|
338
|
-
contentHash: string;
|
|
339
339
|
packageVersion: string;
|
|
340
340
|
queues?: {
|
|
341
341
|
name: string;
|
|
@@ -350,21 +350,23 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
350
350
|
taskIds: string[];
|
|
351
351
|
}[] | undefined;
|
|
352
352
|
}, {
|
|
353
|
+
contentHash: string;
|
|
353
354
|
tasks: {
|
|
354
355
|
id: string;
|
|
355
356
|
filePath: string;
|
|
356
|
-
maxDuration?: number | undefined;
|
|
357
357
|
exportName?: string | undefined;
|
|
358
|
+
maxDuration?: number | undefined;
|
|
358
359
|
queue?: {
|
|
359
360
|
name?: string | undefined;
|
|
360
361
|
concurrencyLimit?: number | null | undefined;
|
|
361
362
|
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
362
363
|
} | undefined;
|
|
363
364
|
machine?: {
|
|
364
|
-
cpu?:
|
|
365
|
-
memory?:
|
|
365
|
+
cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
|
|
366
|
+
memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
|
|
366
367
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
367
368
|
} | undefined;
|
|
369
|
+
description?: string | undefined;
|
|
368
370
|
retry?: {
|
|
369
371
|
maxAttempts?: number | undefined;
|
|
370
372
|
factor?: number | undefined;
|
|
@@ -375,14 +377,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
375
377
|
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
376
378
|
} | undefined;
|
|
377
379
|
} | undefined;
|
|
378
|
-
description?: string | undefined;
|
|
379
380
|
triggerSource?: string | undefined;
|
|
380
381
|
schedule?: {
|
|
381
382
|
cron: string;
|
|
382
383
|
timezone: string;
|
|
383
384
|
} | undefined;
|
|
384
385
|
}[];
|
|
385
|
-
contentHash: string;
|
|
386
386
|
packageVersion: string;
|
|
387
387
|
queues?: {
|
|
388
388
|
name: string;
|
|
@@ -401,21 +401,23 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
401
401
|
supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
|
|
402
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
403
|
metadata: {
|
|
404
|
+
contentHash: string;
|
|
404
405
|
tasks: {
|
|
405
406
|
id: string;
|
|
406
407
|
filePath: string;
|
|
407
|
-
maxDuration?: number | undefined;
|
|
408
408
|
exportName?: string | undefined;
|
|
409
|
+
maxDuration?: number | undefined;
|
|
409
410
|
queue?: {
|
|
410
411
|
name?: string | undefined;
|
|
411
412
|
concurrencyLimit?: number | null | undefined;
|
|
412
413
|
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
413
414
|
} | undefined;
|
|
414
415
|
machine?: {
|
|
415
|
-
cpu?:
|
|
416
|
-
memory?:
|
|
416
|
+
cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
|
|
417
|
+
memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
|
|
417
418
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
418
419
|
} | undefined;
|
|
420
|
+
description?: string | undefined;
|
|
419
421
|
retry?: {
|
|
420
422
|
maxAttempts?: number | undefined;
|
|
421
423
|
factor?: number | undefined;
|
|
@@ -426,14 +428,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
426
428
|
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
427
429
|
} | undefined;
|
|
428
430
|
} | undefined;
|
|
429
|
-
description?: string | undefined;
|
|
430
431
|
triggerSource?: string | undefined;
|
|
431
432
|
schedule?: {
|
|
432
433
|
cron: string;
|
|
433
434
|
timezone: string;
|
|
434
435
|
} | undefined;
|
|
435
436
|
}[];
|
|
436
|
-
contentHash: string;
|
|
437
437
|
packageVersion: string;
|
|
438
438
|
queues?: {
|
|
439
439
|
name: string;
|
|
@@ -453,21 +453,23 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
453
453
|
supportsLazyAttempts?: boolean | undefined;
|
|
454
454
|
}, {
|
|
455
455
|
metadata: {
|
|
456
|
+
contentHash: string;
|
|
456
457
|
tasks: {
|
|
457
458
|
id: string;
|
|
458
459
|
filePath: string;
|
|
459
|
-
maxDuration?: number | undefined;
|
|
460
460
|
exportName?: string | undefined;
|
|
461
|
+
maxDuration?: number | undefined;
|
|
461
462
|
queue?: {
|
|
462
463
|
name?: string | undefined;
|
|
463
464
|
concurrencyLimit?: number | null | undefined;
|
|
464
465
|
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
465
466
|
} | undefined;
|
|
466
467
|
machine?: {
|
|
467
|
-
cpu?:
|
|
468
|
-
memory?:
|
|
468
|
+
cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
|
|
469
|
+
memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
|
|
469
470
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
470
471
|
} | undefined;
|
|
472
|
+
description?: string | undefined;
|
|
471
473
|
retry?: {
|
|
472
474
|
maxAttempts?: number | undefined;
|
|
473
475
|
factor?: number | undefined;
|
|
@@ -478,14 +480,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
478
480
|
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
479
481
|
} | undefined;
|
|
480
482
|
} | undefined;
|
|
481
|
-
description?: string | undefined;
|
|
482
483
|
triggerSource?: string | undefined;
|
|
483
484
|
schedule?: {
|
|
484
485
|
cron: string;
|
|
485
486
|
timezone: string;
|
|
486
487
|
} | undefined;
|
|
487
488
|
}[];
|
|
488
|
-
contentHash: string;
|
|
489
489
|
packageVersion: string;
|
|
490
490
|
queues?: {
|
|
491
491
|
name: string;
|
|
@@ -576,11 +576,11 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
576
576
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
577
577
|
releaseConcurrency: z.ZodOptional<z.ZodBoolean>;
|
|
578
578
|
}, "strip", z.ZodTypeAny, {
|
|
579
|
-
metadata?: any;
|
|
580
579
|
payloadType?: string | undefined;
|
|
581
580
|
tags?: string | string[] | undefined;
|
|
582
581
|
idempotencyKey?: string | undefined;
|
|
583
582
|
maxAttempts?: number | undefined;
|
|
583
|
+
metadata?: any;
|
|
584
584
|
maxDuration?: number | undefined;
|
|
585
585
|
priority?: number | undefined;
|
|
586
586
|
queue?: {
|
|
@@ -603,11 +603,11 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
603
603
|
test?: boolean | undefined;
|
|
604
604
|
releaseConcurrency?: boolean | undefined;
|
|
605
605
|
}, {
|
|
606
|
-
metadata?: any;
|
|
607
606
|
payloadType?: string | undefined;
|
|
608
607
|
tags?: string | string[] | undefined;
|
|
609
608
|
idempotencyKey?: string | undefined;
|
|
610
609
|
maxAttempts?: number | undefined;
|
|
610
|
+
metadata?: any;
|
|
611
611
|
maxDuration?: number | undefined;
|
|
612
612
|
priority?: number | undefined;
|
|
613
613
|
queue?: {
|
|
@@ -632,11 +632,11 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
632
632
|
}>>;
|
|
633
633
|
}, "strip", z.ZodTypeAny, {
|
|
634
634
|
options?: {
|
|
635
|
-
metadata?: any;
|
|
636
635
|
payloadType?: string | undefined;
|
|
637
636
|
tags?: string | string[] | undefined;
|
|
638
637
|
idempotencyKey?: string | undefined;
|
|
639
638
|
maxAttempts?: number | undefined;
|
|
639
|
+
metadata?: any;
|
|
640
640
|
maxDuration?: number | undefined;
|
|
641
641
|
priority?: number | undefined;
|
|
642
642
|
queue?: {
|
|
@@ -663,11 +663,11 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
663
663
|
context?: any;
|
|
664
664
|
}, {
|
|
665
665
|
options?: {
|
|
666
|
-
metadata?: any;
|
|
667
666
|
payloadType?: string | undefined;
|
|
668
667
|
tags?: string | string[] | undefined;
|
|
669
668
|
idempotencyKey?: string | undefined;
|
|
670
669
|
maxAttempts?: number | undefined;
|
|
670
|
+
metadata?: any;
|
|
671
671
|
maxDuration?: number | undefined;
|
|
672
672
|
priority?: number | undefined;
|
|
673
673
|
queue?: {
|
|
@@ -761,11 +761,11 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
761
761
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
762
762
|
releaseConcurrency: z.ZodOptional<z.ZodBoolean>;
|
|
763
763
|
}, "strip", z.ZodTypeAny, {
|
|
764
|
-
metadata?: any;
|
|
765
764
|
payloadType?: string | undefined;
|
|
766
765
|
tags?: string | string[] | undefined;
|
|
767
766
|
idempotencyKey?: string | undefined;
|
|
768
767
|
maxAttempts?: number | undefined;
|
|
768
|
+
metadata?: any;
|
|
769
769
|
maxDuration?: number | undefined;
|
|
770
770
|
priority?: number | undefined;
|
|
771
771
|
queue?: {
|
|
@@ -788,11 +788,11 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
788
788
|
test?: boolean | undefined;
|
|
789
789
|
releaseConcurrency?: boolean | undefined;
|
|
790
790
|
}, {
|
|
791
|
-
metadata?: any;
|
|
792
791
|
payloadType?: string | undefined;
|
|
793
792
|
tags?: string | string[] | undefined;
|
|
794
793
|
idempotencyKey?: string | undefined;
|
|
795
794
|
maxAttempts?: number | undefined;
|
|
795
|
+
metadata?: any;
|
|
796
796
|
maxDuration?: number | undefined;
|
|
797
797
|
priority?: number | undefined;
|
|
798
798
|
queue?: {
|
|
@@ -817,11 +817,11 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
817
817
|
}>>;
|
|
818
818
|
}, "strip", z.ZodTypeAny, {
|
|
819
819
|
options?: {
|
|
820
|
-
metadata?: any;
|
|
821
820
|
payloadType?: string | undefined;
|
|
822
821
|
tags?: string | string[] | undefined;
|
|
823
822
|
idempotencyKey?: string | undefined;
|
|
824
823
|
maxAttempts?: number | undefined;
|
|
824
|
+
metadata?: any;
|
|
825
825
|
maxDuration?: number | undefined;
|
|
826
826
|
priority?: number | undefined;
|
|
827
827
|
queue?: {
|
|
@@ -848,11 +848,11 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
848
848
|
context?: any;
|
|
849
849
|
}, {
|
|
850
850
|
options?: {
|
|
851
|
-
metadata?: any;
|
|
852
851
|
payloadType?: string | undefined;
|
|
853
852
|
tags?: string | string[] | undefined;
|
|
854
853
|
idempotencyKey?: string | undefined;
|
|
855
854
|
maxAttempts?: number | undefined;
|
|
855
|
+
metadata?: any;
|
|
856
856
|
maxDuration?: number | undefined;
|
|
857
857
|
priority?: number | undefined;
|
|
858
858
|
queue?: {
|
|
@@ -882,11 +882,11 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
882
882
|
}, "strip", z.ZodTypeAny, {
|
|
883
883
|
items: {
|
|
884
884
|
options?: {
|
|
885
|
-
metadata?: any;
|
|
886
885
|
payloadType?: string | undefined;
|
|
887
886
|
tags?: string | string[] | undefined;
|
|
888
887
|
idempotencyKey?: string | undefined;
|
|
889
888
|
maxAttempts?: number | undefined;
|
|
889
|
+
metadata?: any;
|
|
890
890
|
maxDuration?: number | undefined;
|
|
891
891
|
priority?: number | undefined;
|
|
892
892
|
queue?: {
|
|
@@ -916,11 +916,11 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
916
916
|
}, {
|
|
917
917
|
items: {
|
|
918
918
|
options?: {
|
|
919
|
-
metadata?: any;
|
|
920
919
|
payloadType?: string | undefined;
|
|
921
920
|
tags?: string | string[] | undefined;
|
|
922
921
|
idempotencyKey?: string | undefined;
|
|
923
922
|
maxAttempts?: number | undefined;
|
|
923
|
+
metadata?: any;
|
|
924
924
|
maxDuration?: number | undefined;
|
|
925
925
|
priority?: number | undefined;
|
|
926
926
|
queue?: {
|
|
@@ -978,11 +978,11 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
978
978
|
ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
979
979
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
980
980
|
}, "strip", z.ZodTypeAny, {
|
|
981
|
-
metadata?: any;
|
|
982
981
|
payloadType?: string | undefined;
|
|
983
982
|
tags?: string | string[] | undefined;
|
|
984
983
|
idempotencyKey?: string | undefined;
|
|
985
984
|
maxAttempts?: number | undefined;
|
|
985
|
+
metadata?: any;
|
|
986
986
|
maxDuration?: number | undefined;
|
|
987
987
|
priority?: number | undefined;
|
|
988
988
|
queue?: {
|
|
@@ -998,11 +998,11 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
998
998
|
metadataType?: string | undefined;
|
|
999
999
|
test?: boolean | undefined;
|
|
1000
1000
|
}, {
|
|
1001
|
-
metadata?: any;
|
|
1002
1001
|
payloadType?: string | undefined;
|
|
1003
1002
|
tags?: string | string[] | undefined;
|
|
1004
1003
|
idempotencyKey?: string | undefined;
|
|
1005
1004
|
maxAttempts?: number | undefined;
|
|
1005
|
+
metadata?: any;
|
|
1006
1006
|
maxDuration?: number | undefined;
|
|
1007
1007
|
priority?: number | undefined;
|
|
1008
1008
|
queue?: {
|
|
@@ -1021,11 +1021,11 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1021
1021
|
}, "strip", z.ZodTypeAny, {
|
|
1022
1022
|
task: string;
|
|
1023
1023
|
options?: {
|
|
1024
|
-
metadata?: any;
|
|
1025
1024
|
payloadType?: string | undefined;
|
|
1026
1025
|
tags?: string | string[] | undefined;
|
|
1027
1026
|
idempotencyKey?: string | undefined;
|
|
1028
1027
|
maxAttempts?: number | undefined;
|
|
1028
|
+
metadata?: any;
|
|
1029
1029
|
maxDuration?: number | undefined;
|
|
1030
1030
|
priority?: number | undefined;
|
|
1031
1031
|
queue?: {
|
|
@@ -1046,11 +1046,11 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1046
1046
|
}, {
|
|
1047
1047
|
task: string;
|
|
1048
1048
|
options?: {
|
|
1049
|
-
metadata?: any;
|
|
1050
1049
|
payloadType?: string | undefined;
|
|
1051
1050
|
tags?: string | string[] | undefined;
|
|
1052
1051
|
idempotencyKey?: string | undefined;
|
|
1053
1052
|
maxAttempts?: number | undefined;
|
|
1053
|
+
metadata?: any;
|
|
1054
1054
|
maxDuration?: number | undefined;
|
|
1055
1055
|
priority?: number | undefined;
|
|
1056
1056
|
queue?: {
|
|
@@ -1100,11 +1100,11 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1100
1100
|
ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1101
1101
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
1102
1102
|
}, "strip", z.ZodTypeAny, {
|
|
1103
|
-
metadata?: any;
|
|
1104
1103
|
payloadType?: string | undefined;
|
|
1105
1104
|
tags?: string | string[] | undefined;
|
|
1106
1105
|
idempotencyKey?: string | undefined;
|
|
1107
1106
|
maxAttempts?: number | undefined;
|
|
1107
|
+
metadata?: any;
|
|
1108
1108
|
maxDuration?: number | undefined;
|
|
1109
1109
|
priority?: number | undefined;
|
|
1110
1110
|
queue?: {
|
|
@@ -1120,11 +1120,11 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1120
1120
|
metadataType?: string | undefined;
|
|
1121
1121
|
test?: boolean | undefined;
|
|
1122
1122
|
}, {
|
|
1123
|
-
metadata?: any;
|
|
1124
1123
|
payloadType?: string | undefined;
|
|
1125
1124
|
tags?: string | string[] | undefined;
|
|
1126
1125
|
idempotencyKey?: string | undefined;
|
|
1127
1126
|
maxAttempts?: number | undefined;
|
|
1127
|
+
metadata?: any;
|
|
1128
1128
|
maxDuration?: number | undefined;
|
|
1129
1129
|
priority?: number | undefined;
|
|
1130
1130
|
queue?: {
|
|
@@ -1143,11 +1143,11 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1143
1143
|
}, "strip", z.ZodTypeAny, {
|
|
1144
1144
|
task: string;
|
|
1145
1145
|
options?: {
|
|
1146
|
-
metadata?: any;
|
|
1147
1146
|
payloadType?: string | undefined;
|
|
1148
1147
|
tags?: string | string[] | undefined;
|
|
1149
1148
|
idempotencyKey?: string | undefined;
|
|
1150
1149
|
maxAttempts?: number | undefined;
|
|
1150
|
+
metadata?: any;
|
|
1151
1151
|
maxDuration?: number | undefined;
|
|
1152
1152
|
priority?: number | undefined;
|
|
1153
1153
|
queue?: {
|
|
@@ -1168,11 +1168,11 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1168
1168
|
}, {
|
|
1169
1169
|
task: string;
|
|
1170
1170
|
options?: {
|
|
1171
|
-
metadata?: any;
|
|
1172
1171
|
payloadType?: string | undefined;
|
|
1173
1172
|
tags?: string | string[] | undefined;
|
|
1174
1173
|
idempotencyKey?: string | undefined;
|
|
1175
1174
|
maxAttempts?: number | undefined;
|
|
1175
|
+
metadata?: any;
|
|
1176
1176
|
maxDuration?: number | undefined;
|
|
1177
1177
|
priority?: number | undefined;
|
|
1178
1178
|
queue?: {
|
|
@@ -1207,11 +1207,11 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1207
1207
|
items: {
|
|
1208
1208
|
task: string;
|
|
1209
1209
|
options?: {
|
|
1210
|
-
metadata?: any;
|
|
1211
1210
|
payloadType?: string | undefined;
|
|
1212
1211
|
tags?: string | string[] | undefined;
|
|
1213
1212
|
idempotencyKey?: string | undefined;
|
|
1214
1213
|
maxAttempts?: number | undefined;
|
|
1214
|
+
metadata?: any;
|
|
1215
1215
|
maxDuration?: number | undefined;
|
|
1216
1216
|
priority?: number | undefined;
|
|
1217
1217
|
queue?: {
|
|
@@ -1237,11 +1237,11 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1237
1237
|
items: {
|
|
1238
1238
|
task: string;
|
|
1239
1239
|
options?: {
|
|
1240
|
-
metadata?: any;
|
|
1241
1240
|
payloadType?: string | undefined;
|
|
1242
1241
|
tags?: string | string[] | undefined;
|
|
1243
1242
|
idempotencyKey?: string | undefined;
|
|
1244
1243
|
maxAttempts?: number | undefined;
|
|
1244
|
+
metadata?: any;
|
|
1245
1245
|
maxDuration?: number | undefined;
|
|
1246
1246
|
priority?: number | undefined;
|
|
1247
1247
|
queue?: {
|
|
@@ -1337,11 +1337,11 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1337
1337
|
ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1338
1338
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
1339
1339
|
}, "strip", z.ZodTypeAny, {
|
|
1340
|
-
metadata?: any;
|
|
1341
1340
|
payloadType?: string | undefined;
|
|
1342
1341
|
tags?: string | string[] | undefined;
|
|
1343
1342
|
idempotencyKey?: string | undefined;
|
|
1344
1343
|
maxAttempts?: number | undefined;
|
|
1344
|
+
metadata?: any;
|
|
1345
1345
|
maxDuration?: number | undefined;
|
|
1346
1346
|
priority?: number | undefined;
|
|
1347
1347
|
queue?: {
|
|
@@ -1357,11 +1357,11 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1357
1357
|
metadataType?: string | undefined;
|
|
1358
1358
|
test?: boolean | undefined;
|
|
1359
1359
|
}, {
|
|
1360
|
-
metadata?: any;
|
|
1361
1360
|
payloadType?: string | undefined;
|
|
1362
1361
|
tags?: string | string[] | undefined;
|
|
1363
1362
|
idempotencyKey?: string | undefined;
|
|
1364
1363
|
maxAttempts?: number | undefined;
|
|
1364
|
+
metadata?: any;
|
|
1365
1365
|
maxDuration?: number | undefined;
|
|
1366
1366
|
priority?: number | undefined;
|
|
1367
1367
|
queue?: {
|
|
@@ -1380,11 +1380,11 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1380
1380
|
}, "strip", z.ZodTypeAny, {
|
|
1381
1381
|
task: string;
|
|
1382
1382
|
options?: {
|
|
1383
|
-
metadata?: any;
|
|
1384
1383
|
payloadType?: string | undefined;
|
|
1385
1384
|
tags?: string | string[] | undefined;
|
|
1386
1385
|
idempotencyKey?: string | undefined;
|
|
1387
1386
|
maxAttempts?: number | undefined;
|
|
1387
|
+
metadata?: any;
|
|
1388
1388
|
maxDuration?: number | undefined;
|
|
1389
1389
|
priority?: number | undefined;
|
|
1390
1390
|
queue?: {
|
|
@@ -1405,11 +1405,11 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1405
1405
|
}, {
|
|
1406
1406
|
task: string;
|
|
1407
1407
|
options?: {
|
|
1408
|
-
metadata?: any;
|
|
1409
1408
|
payloadType?: string | undefined;
|
|
1410
1409
|
tags?: string | string[] | undefined;
|
|
1411
1410
|
idempotencyKey?: string | undefined;
|
|
1412
1411
|
maxAttempts?: number | undefined;
|
|
1412
|
+
metadata?: any;
|
|
1413
1413
|
maxDuration?: number | undefined;
|
|
1414
1414
|
priority?: number | undefined;
|
|
1415
1415
|
queue?: {
|
|
@@ -1442,11 +1442,11 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1442
1442
|
items: {
|
|
1443
1443
|
task: string;
|
|
1444
1444
|
options?: {
|
|
1445
|
-
metadata?: any;
|
|
1446
1445
|
payloadType?: string | undefined;
|
|
1447
1446
|
tags?: string | string[] | undefined;
|
|
1448
1447
|
idempotencyKey?: string | undefined;
|
|
1449
1448
|
maxAttempts?: number | undefined;
|
|
1449
|
+
metadata?: any;
|
|
1450
1450
|
maxDuration?: number | undefined;
|
|
1451
1451
|
priority?: number | undefined;
|
|
1452
1452
|
queue?: {
|
|
@@ -1471,11 +1471,11 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1471
1471
|
items: {
|
|
1472
1472
|
task: string;
|
|
1473
1473
|
options?: {
|
|
1474
|
-
metadata?: any;
|
|
1475
1474
|
payloadType?: string | undefined;
|
|
1476
1475
|
tags?: string | string[] | undefined;
|
|
1477
1476
|
idempotencyKey?: string | undefined;
|
|
1478
1477
|
maxAttempts?: number | undefined;
|
|
1478
|
+
metadata?: any;
|
|
1479
1479
|
maxDuration?: number | undefined;
|
|
1480
1480
|
priority?: number | undefined;
|
|
1481
1481
|
queue?: {
|
|
@@ -1703,13 +1703,13 @@ export declare const DeploymentErrorData: z.ZodObject<{
|
|
|
1703
1703
|
stack: z.ZodOptional<z.ZodString>;
|
|
1704
1704
|
stderr: z.ZodOptional<z.ZodString>;
|
|
1705
1705
|
}, "strip", z.ZodTypeAny, {
|
|
1706
|
-
message: string;
|
|
1707
1706
|
name: string;
|
|
1707
|
+
message: string;
|
|
1708
1708
|
stack?: string | undefined;
|
|
1709
1709
|
stderr?: string | undefined;
|
|
1710
1710
|
}, {
|
|
1711
|
-
message: string;
|
|
1712
1711
|
name: string;
|
|
1712
|
+
message: string;
|
|
1713
1713
|
stack?: string | undefined;
|
|
1714
1714
|
stderr?: string | undefined;
|
|
1715
1715
|
}>;
|
|
@@ -1721,27 +1721,27 @@ export declare const FailDeploymentRequestBody: z.ZodObject<{
|
|
|
1721
1721
|
stack: z.ZodOptional<z.ZodString>;
|
|
1722
1722
|
stderr: z.ZodOptional<z.ZodString>;
|
|
1723
1723
|
}, "strip", z.ZodTypeAny, {
|
|
1724
|
-
message: string;
|
|
1725
1724
|
name: string;
|
|
1725
|
+
message: string;
|
|
1726
1726
|
stack?: string | undefined;
|
|
1727
1727
|
stderr?: string | undefined;
|
|
1728
1728
|
}, {
|
|
1729
|
-
message: string;
|
|
1730
1729
|
name: string;
|
|
1730
|
+
message: string;
|
|
1731
1731
|
stack?: string | undefined;
|
|
1732
1732
|
stderr?: string | undefined;
|
|
1733
1733
|
}>;
|
|
1734
1734
|
}, "strip", z.ZodTypeAny, {
|
|
1735
1735
|
error: {
|
|
1736
|
-
message: string;
|
|
1737
1736
|
name: string;
|
|
1737
|
+
message: string;
|
|
1738
1738
|
stack?: string | undefined;
|
|
1739
1739
|
stderr?: string | undefined;
|
|
1740
1740
|
};
|
|
1741
1741
|
}, {
|
|
1742
1742
|
error: {
|
|
1743
|
-
message: string;
|
|
1744
1743
|
name: string;
|
|
1744
|
+
message: string;
|
|
1745
1745
|
stack?: string | undefined;
|
|
1746
1746
|
stderr?: string | undefined;
|
|
1747
1747
|
};
|
|
@@ -1782,13 +1782,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1782
1782
|
stack: z.ZodOptional<z.ZodString>;
|
|
1783
1783
|
stderr: z.ZodOptional<z.ZodString>;
|
|
1784
1784
|
}, "strip", z.ZodTypeAny, {
|
|
1785
|
-
message: string;
|
|
1786
1785
|
name: string;
|
|
1786
|
+
message: string;
|
|
1787
1787
|
stack?: string | undefined;
|
|
1788
1788
|
stderr?: string | undefined;
|
|
1789
1789
|
}, {
|
|
1790
|
-
message: string;
|
|
1791
1790
|
name: string;
|
|
1791
|
+
message: string;
|
|
1792
1792
|
stack?: string | undefined;
|
|
1793
1793
|
stderr?: string | undefined;
|
|
1794
1794
|
}>>>;
|
|
@@ -1848,8 +1848,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1848
1848
|
} | undefined;
|
|
1849
1849
|
imageReference?: string | null | undefined;
|
|
1850
1850
|
errorData?: {
|
|
1851
|
-
message: string;
|
|
1852
1851
|
name: string;
|
|
1852
|
+
message: string;
|
|
1853
1853
|
stack?: string | undefined;
|
|
1854
1854
|
stderr?: string | undefined;
|
|
1855
1855
|
} | null | undefined;
|
|
@@ -1871,8 +1871,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1871
1871
|
} | undefined;
|
|
1872
1872
|
imageReference?: string | null | undefined;
|
|
1873
1873
|
errorData?: {
|
|
1874
|
-
message: string;
|
|
1875
1874
|
name: string;
|
|
1875
|
+
message: string;
|
|
1876
1876
|
stack?: string | undefined;
|
|
1877
1877
|
stderr?: string | undefined;
|
|
1878
1878
|
} | null | undefined;
|
|
@@ -1891,13 +1891,13 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
1891
1891
|
stack: z.ZodOptional<z.ZodString>;
|
|
1892
1892
|
stderr: z.ZodOptional<z.ZodString>;
|
|
1893
1893
|
}, "strip", z.ZodTypeAny, {
|
|
1894
|
-
message: string;
|
|
1895
1894
|
name: string;
|
|
1895
|
+
message: string;
|
|
1896
1896
|
stack?: string | undefined;
|
|
1897
1897
|
stderr?: string | undefined;
|
|
1898
1898
|
}, {
|
|
1899
|
-
message: string;
|
|
1900
1899
|
name: string;
|
|
1900
|
+
message: string;
|
|
1901
1901
|
stack?: string | undefined;
|
|
1902
1902
|
stderr?: string | undefined;
|
|
1903
1903
|
}>>>;
|
|
@@ -1947,8 +1947,8 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
1947
1947
|
shortCode: string;
|
|
1948
1948
|
imageReference?: string | null | undefined;
|
|
1949
1949
|
errorData?: {
|
|
1950
|
-
message: string;
|
|
1951
1950
|
name: string;
|
|
1951
|
+
message: string;
|
|
1952
1952
|
stack?: string | undefined;
|
|
1953
1953
|
stderr?: string | undefined;
|
|
1954
1954
|
} | null | undefined;
|
|
@@ -1960,8 +1960,8 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
1960
1960
|
shortCode: string;
|
|
1961
1961
|
imageReference?: string | null | undefined;
|
|
1962
1962
|
errorData?: {
|
|
1963
|
-
message: string;
|
|
1964
1963
|
name: string;
|
|
1964
|
+
message: string;
|
|
1965
1965
|
stack?: string | undefined;
|
|
1966
1966
|
stderr?: string | undefined;
|
|
1967
1967
|
} | null | undefined;
|
|
@@ -1983,16 +1983,16 @@ export declare const WorkersListResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
1983
1983
|
isDefault: z.ZodBoolean;
|
|
1984
1984
|
updatedAt: z.ZodDate;
|
|
1985
1985
|
}, "strip", z.ZodTypeAny, {
|
|
1986
|
-
type: string;
|
|
1987
1986
|
name: string;
|
|
1987
|
+
type: string;
|
|
1988
1988
|
updatedAt: Date;
|
|
1989
1989
|
isDefault: boolean;
|
|
1990
1990
|
description?: string | null | undefined;
|
|
1991
1991
|
latestVersion?: string | null | undefined;
|
|
1992
1992
|
lastHeartbeatAt?: string | null | undefined;
|
|
1993
1993
|
}, {
|
|
1994
|
-
type: string;
|
|
1995
1994
|
name: string;
|
|
1995
|
+
type: string;
|
|
1996
1996
|
updatedAt: Date;
|
|
1997
1997
|
isDefault: boolean;
|
|
1998
1998
|
description?: string | null | undefined;
|
|
@@ -2052,16 +2052,19 @@ export declare const DevConfigResponseBody: z.ZodObject<{
|
|
|
2052
2052
|
dequeueIntervalWithRun: z.ZodNumber;
|
|
2053
2053
|
dequeueIntervalWithoutRun: z.ZodNumber;
|
|
2054
2054
|
maxConcurrentRuns: z.ZodNumber;
|
|
2055
|
+
engineUrl: z.ZodString;
|
|
2055
2056
|
}, "strip", z.ZodTypeAny, {
|
|
2056
2057
|
environmentId: string;
|
|
2057
2058
|
dequeueIntervalWithRun: number;
|
|
2058
2059
|
dequeueIntervalWithoutRun: number;
|
|
2059
2060
|
maxConcurrentRuns: number;
|
|
2061
|
+
engineUrl: string;
|
|
2060
2062
|
}, {
|
|
2061
2063
|
environmentId: string;
|
|
2062
2064
|
dequeueIntervalWithRun: number;
|
|
2063
2065
|
dequeueIntervalWithoutRun: number;
|
|
2064
2066
|
maxConcurrentRuns: number;
|
|
2067
|
+
engineUrl: string;
|
|
2065
2068
|
}>;
|
|
2066
2069
|
export type DevConfigResponseBody = z.infer<typeof DevConfigResponseBody>;
|
|
2067
2070
|
export declare const DevDequeueRequestBody: z.ZodObject<{
|
|
@@ -2118,19 +2121,19 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2118
2121
|
id: z.ZodString;
|
|
2119
2122
|
type: z.ZodEnum<[import("./runEngine.js").CheckpointTypeEnum]>;
|
|
2120
2123
|
location: z.ZodString;
|
|
2121
|
-
imageRef: z.ZodString
|
|
2124
|
+
imageRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2122
2125
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2123
2126
|
}, "strip", z.ZodTypeAny, {
|
|
2124
2127
|
type: import("./runEngine.js").CheckpointTypeEnum;
|
|
2125
2128
|
id: string;
|
|
2126
2129
|
location: string;
|
|
2127
|
-
imageRef
|
|
2130
|
+
imageRef?: string | null | undefined;
|
|
2128
2131
|
reason?: string | null | undefined;
|
|
2129
2132
|
}, {
|
|
2130
2133
|
type: import("./runEngine.js").CheckpointTypeEnum;
|
|
2131
2134
|
id: string;
|
|
2132
2135
|
location: string;
|
|
2133
|
-
imageRef
|
|
2136
|
+
imageRef?: string | null | undefined;
|
|
2134
2137
|
reason?: string | null | undefined;
|
|
2135
2138
|
}>>;
|
|
2136
2139
|
completedWaitpoints: z.ZodArray<z.ZodObject<{
|
|
@@ -2185,13 +2188,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2185
2188
|
}, "strip", z.ZodTypeAny, {
|
|
2186
2189
|
type: import("./runEngine.js").WaitpointType;
|
|
2187
2190
|
id: string;
|
|
2191
|
+
friendlyId: string;
|
|
2188
2192
|
completedAt: Date;
|
|
2189
2193
|
outputIsError: boolean;
|
|
2190
|
-
friendlyId: string;
|
|
2191
2194
|
idempotencyKey?: string | undefined;
|
|
2192
|
-
output?: string | undefined;
|
|
2193
|
-
outputType?: string | undefined;
|
|
2194
|
-
completedAfter?: Date | undefined;
|
|
2195
2195
|
index?: number | undefined;
|
|
2196
2196
|
completedByTaskRun?: {
|
|
2197
2197
|
id: string;
|
|
@@ -2201,20 +2201,20 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2201
2201
|
friendlyId: string;
|
|
2202
2202
|
} | undefined;
|
|
2203
2203
|
} | undefined;
|
|
2204
|
+
completedAfter?: Date | undefined;
|
|
2204
2205
|
completedByBatch?: {
|
|
2205
2206
|
id: string;
|
|
2206
2207
|
friendlyId: string;
|
|
2207
2208
|
} | undefined;
|
|
2209
|
+
output?: string | undefined;
|
|
2210
|
+
outputType?: string | undefined;
|
|
2208
2211
|
}, {
|
|
2209
2212
|
type: import("./runEngine.js").WaitpointType;
|
|
2210
2213
|
id: string;
|
|
2214
|
+
friendlyId: string;
|
|
2211
2215
|
completedAt: Date;
|
|
2212
2216
|
outputIsError: boolean;
|
|
2213
|
-
friendlyId: string;
|
|
2214
2217
|
idempotencyKey?: string | undefined;
|
|
2215
|
-
output?: string | undefined;
|
|
2216
|
-
outputType?: string | undefined;
|
|
2217
|
-
completedAfter?: Date | undefined;
|
|
2218
2218
|
index?: number | undefined;
|
|
2219
2219
|
completedByTaskRun?: {
|
|
2220
2220
|
id: string;
|
|
@@ -2224,10 +2224,13 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2224
2224
|
friendlyId: string;
|
|
2225
2225
|
} | undefined;
|
|
2226
2226
|
} | undefined;
|
|
2227
|
+
completedAfter?: Date | undefined;
|
|
2227
2228
|
completedByBatch?: {
|
|
2228
2229
|
id: string;
|
|
2229
2230
|
friendlyId: string;
|
|
2230
2231
|
} | undefined;
|
|
2232
|
+
output?: string | undefined;
|
|
2233
|
+
outputType?: string | undefined;
|
|
2231
2234
|
}>, "many">;
|
|
2232
2235
|
backgroundWorker: z.ZodObject<{
|
|
2233
2236
|
id: z.ZodString;
|
|
@@ -2262,14 +2265,14 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2262
2265
|
memory: z.ZodNumber;
|
|
2263
2266
|
centsPerMs: z.ZodNumber;
|
|
2264
2267
|
}, "strip", z.ZodTypeAny, {
|
|
2268
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2265
2269
|
cpu: number;
|
|
2266
2270
|
memory: number;
|
|
2267
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2268
2271
|
centsPerMs: number;
|
|
2269
2272
|
}, {
|
|
2273
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2270
2274
|
cpu: number;
|
|
2271
2275
|
memory: number;
|
|
2272
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2273
2276
|
centsPerMs: number;
|
|
2274
2277
|
}>;
|
|
2275
2278
|
attemptNumber: z.ZodNumber;
|
|
@@ -2280,9 +2283,9 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2280
2283
|
isTest: boolean;
|
|
2281
2284
|
traceContext: Record<string, unknown>;
|
|
2282
2285
|
machine: {
|
|
2286
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2283
2287
|
cpu: number;
|
|
2284
2288
|
memory: number;
|
|
2285
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2286
2289
|
centsPerMs: number;
|
|
2287
2290
|
};
|
|
2288
2291
|
friendlyId: string;
|
|
@@ -2293,9 +2296,9 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2293
2296
|
isTest: boolean;
|
|
2294
2297
|
traceContext: Record<string, unknown>;
|
|
2295
2298
|
machine: {
|
|
2299
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2296
2300
|
cpu: number;
|
|
2297
2301
|
memory: number;
|
|
2298
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2299
2302
|
centsPerMs: number;
|
|
2300
2303
|
};
|
|
2301
2304
|
friendlyId: string;
|
|
@@ -2333,9 +2336,9 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2333
2336
|
isTest: boolean;
|
|
2334
2337
|
traceContext: Record<string, unknown>;
|
|
2335
2338
|
machine: {
|
|
2339
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2336
2340
|
cpu: number;
|
|
2337
2341
|
memory: number;
|
|
2338
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2339
2342
|
centsPerMs: number;
|
|
2340
2343
|
};
|
|
2341
2344
|
friendlyId: string;
|
|
@@ -2361,13 +2364,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2361
2364
|
completedWaitpoints: {
|
|
2362
2365
|
type: import("./runEngine.js").WaitpointType;
|
|
2363
2366
|
id: string;
|
|
2367
|
+
friendlyId: string;
|
|
2364
2368
|
completedAt: Date;
|
|
2365
2369
|
outputIsError: boolean;
|
|
2366
|
-
friendlyId: string;
|
|
2367
2370
|
idempotencyKey?: string | undefined;
|
|
2368
|
-
output?: string | undefined;
|
|
2369
|
-
outputType?: string | undefined;
|
|
2370
|
-
completedAfter?: Date | undefined;
|
|
2371
2371
|
index?: number | undefined;
|
|
2372
2372
|
completedByTaskRun?: {
|
|
2373
2373
|
id: string;
|
|
@@ -2377,10 +2377,13 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2377
2377
|
friendlyId: string;
|
|
2378
2378
|
} | undefined;
|
|
2379
2379
|
} | undefined;
|
|
2380
|
+
completedAfter?: Date | undefined;
|
|
2380
2381
|
completedByBatch?: {
|
|
2381
2382
|
id: string;
|
|
2382
2383
|
friendlyId: string;
|
|
2383
2384
|
} | undefined;
|
|
2385
|
+
output?: string | undefined;
|
|
2386
|
+
outputType?: string | undefined;
|
|
2384
2387
|
}[];
|
|
2385
2388
|
dequeuedAt: Date;
|
|
2386
2389
|
backgroundWorker: {
|
|
@@ -2396,7 +2399,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2396
2399
|
type: import("./runEngine.js").CheckpointTypeEnum;
|
|
2397
2400
|
id: string;
|
|
2398
2401
|
location: string;
|
|
2399
|
-
imageRef
|
|
2402
|
+
imageRef?: string | null | undefined;
|
|
2400
2403
|
reason?: string | null | undefined;
|
|
2401
2404
|
} | undefined;
|
|
2402
2405
|
image?: string | undefined;
|
|
@@ -2407,9 +2410,9 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2407
2410
|
isTest: boolean;
|
|
2408
2411
|
traceContext: Record<string, unknown>;
|
|
2409
2412
|
machine: {
|
|
2413
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2410
2414
|
cpu: number;
|
|
2411
2415
|
memory: number;
|
|
2412
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2413
2416
|
centsPerMs: number;
|
|
2414
2417
|
};
|
|
2415
2418
|
friendlyId: string;
|
|
@@ -2435,13 +2438,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2435
2438
|
completedWaitpoints: {
|
|
2436
2439
|
type: import("./runEngine.js").WaitpointType;
|
|
2437
2440
|
id: string;
|
|
2441
|
+
friendlyId: string;
|
|
2438
2442
|
completedAt: Date;
|
|
2439
2443
|
outputIsError: boolean;
|
|
2440
|
-
friendlyId: string;
|
|
2441
2444
|
idempotencyKey?: string | undefined;
|
|
2442
|
-
output?: string | undefined;
|
|
2443
|
-
outputType?: string | undefined;
|
|
2444
|
-
completedAfter?: Date | undefined;
|
|
2445
2445
|
index?: number | undefined;
|
|
2446
2446
|
completedByTaskRun?: {
|
|
2447
2447
|
id: string;
|
|
@@ -2451,10 +2451,13 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2451
2451
|
friendlyId: string;
|
|
2452
2452
|
} | undefined;
|
|
2453
2453
|
} | undefined;
|
|
2454
|
+
completedAfter?: Date | undefined;
|
|
2454
2455
|
completedByBatch?: {
|
|
2455
2456
|
id: string;
|
|
2456
2457
|
friendlyId: string;
|
|
2457
2458
|
} | undefined;
|
|
2459
|
+
output?: string | undefined;
|
|
2460
|
+
outputType?: string | undefined;
|
|
2458
2461
|
}[];
|
|
2459
2462
|
dequeuedAt: Date;
|
|
2460
2463
|
backgroundWorker: {
|
|
@@ -2470,7 +2473,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2470
2473
|
type: import("./runEngine.js").CheckpointTypeEnum;
|
|
2471
2474
|
id: string;
|
|
2472
2475
|
location: string;
|
|
2473
|
-
imageRef
|
|
2476
|
+
imageRef?: string | null | undefined;
|
|
2474
2477
|
reason?: string | null | undefined;
|
|
2475
2478
|
} | undefined;
|
|
2476
2479
|
image?: string | undefined;
|
|
@@ -2483,9 +2486,9 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2483
2486
|
isTest: boolean;
|
|
2484
2487
|
traceContext: Record<string, unknown>;
|
|
2485
2488
|
machine: {
|
|
2489
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2486
2490
|
cpu: number;
|
|
2487
2491
|
memory: number;
|
|
2488
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2489
2492
|
centsPerMs: number;
|
|
2490
2493
|
};
|
|
2491
2494
|
friendlyId: string;
|
|
@@ -2511,13 +2514,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2511
2514
|
completedWaitpoints: {
|
|
2512
2515
|
type: import("./runEngine.js").WaitpointType;
|
|
2513
2516
|
id: string;
|
|
2517
|
+
friendlyId: string;
|
|
2514
2518
|
completedAt: Date;
|
|
2515
2519
|
outputIsError: boolean;
|
|
2516
|
-
friendlyId: string;
|
|
2517
2520
|
idempotencyKey?: string | undefined;
|
|
2518
|
-
output?: string | undefined;
|
|
2519
|
-
outputType?: string | undefined;
|
|
2520
|
-
completedAfter?: Date | undefined;
|
|
2521
2521
|
index?: number | undefined;
|
|
2522
2522
|
completedByTaskRun?: {
|
|
2523
2523
|
id: string;
|
|
@@ -2527,10 +2527,13 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2527
2527
|
friendlyId: string;
|
|
2528
2528
|
} | undefined;
|
|
2529
2529
|
} | undefined;
|
|
2530
|
+
completedAfter?: Date | undefined;
|
|
2530
2531
|
completedByBatch?: {
|
|
2531
2532
|
id: string;
|
|
2532
2533
|
friendlyId: string;
|
|
2533
2534
|
} | undefined;
|
|
2535
|
+
output?: string | undefined;
|
|
2536
|
+
outputType?: string | undefined;
|
|
2534
2537
|
}[];
|
|
2535
2538
|
dequeuedAt: Date;
|
|
2536
2539
|
backgroundWorker: {
|
|
@@ -2546,7 +2549,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2546
2549
|
type: import("./runEngine.js").CheckpointTypeEnum;
|
|
2547
2550
|
id: string;
|
|
2548
2551
|
location: string;
|
|
2549
|
-
imageRef
|
|
2552
|
+
imageRef?: string | null | undefined;
|
|
2550
2553
|
reason?: string | null | undefined;
|
|
2551
2554
|
} | undefined;
|
|
2552
2555
|
image?: string | undefined;
|
|
@@ -2559,9 +2562,9 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2559
2562
|
isTest: boolean;
|
|
2560
2563
|
traceContext: Record<string, unknown>;
|
|
2561
2564
|
machine: {
|
|
2565
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2562
2566
|
cpu: number;
|
|
2563
2567
|
memory: number;
|
|
2564
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2565
2568
|
centsPerMs: number;
|
|
2566
2569
|
};
|
|
2567
2570
|
friendlyId: string;
|
|
@@ -2587,13 +2590,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2587
2590
|
completedWaitpoints: {
|
|
2588
2591
|
type: import("./runEngine.js").WaitpointType;
|
|
2589
2592
|
id: string;
|
|
2593
|
+
friendlyId: string;
|
|
2590
2594
|
completedAt: Date;
|
|
2591
2595
|
outputIsError: boolean;
|
|
2592
|
-
friendlyId: string;
|
|
2593
2596
|
idempotencyKey?: string | undefined;
|
|
2594
|
-
output?: string | undefined;
|
|
2595
|
-
outputType?: string | undefined;
|
|
2596
|
-
completedAfter?: Date | undefined;
|
|
2597
2597
|
index?: number | undefined;
|
|
2598
2598
|
completedByTaskRun?: {
|
|
2599
2599
|
id: string;
|
|
@@ -2603,10 +2603,13 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2603
2603
|
friendlyId: string;
|
|
2604
2604
|
} | undefined;
|
|
2605
2605
|
} | undefined;
|
|
2606
|
+
completedAfter?: Date | undefined;
|
|
2606
2607
|
completedByBatch?: {
|
|
2607
2608
|
id: string;
|
|
2608
2609
|
friendlyId: string;
|
|
2609
2610
|
} | undefined;
|
|
2611
|
+
output?: string | undefined;
|
|
2612
|
+
outputType?: string | undefined;
|
|
2610
2613
|
}[];
|
|
2611
2614
|
dequeuedAt: Date;
|
|
2612
2615
|
backgroundWorker: {
|
|
@@ -2622,7 +2625,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2622
2625
|
type: import("./runEngine.js").CheckpointTypeEnum;
|
|
2623
2626
|
id: string;
|
|
2624
2627
|
location: string;
|
|
2625
|
-
imageRef
|
|
2628
|
+
imageRef?: string | null | undefined;
|
|
2626
2629
|
reason?: string | null | undefined;
|
|
2627
2630
|
} | undefined;
|
|
2628
2631
|
image?: string | undefined;
|
|
@@ -2682,16 +2685,16 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
|
|
|
2682
2685
|
/** The next 5 dates this task is scheduled to run */
|
|
2683
2686
|
upcoming: z.ZodArray<z.ZodDate, "many">;
|
|
2684
2687
|
}, "strip", z.ZodTypeAny, {
|
|
2685
|
-
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2686
2688
|
timestamp: Date;
|
|
2689
|
+
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2687
2690
|
timezone: string;
|
|
2688
2691
|
scheduleId: string;
|
|
2689
2692
|
upcoming: Date[];
|
|
2690
2693
|
externalId?: string | undefined;
|
|
2691
2694
|
lastTimestamp?: Date | undefined;
|
|
2692
2695
|
}, {
|
|
2693
|
-
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2694
2696
|
timestamp: Date;
|
|
2697
|
+
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2695
2698
|
timezone: string;
|
|
2696
2699
|
scheduleId: string;
|
|
2697
2700
|
upcoming: Date[];
|
|
@@ -3167,12 +3170,12 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
3167
3170
|
isFailed: boolean;
|
|
3168
3171
|
isCancelled: boolean;
|
|
3169
3172
|
updatedAt: Date;
|
|
3170
|
-
metadata?: Record<string, any> | undefined;
|
|
3171
3173
|
startedAt?: Date | undefined;
|
|
3172
3174
|
idempotencyKey?: string | undefined;
|
|
3173
3175
|
version?: string | undefined;
|
|
3174
|
-
|
|
3176
|
+
metadata?: Record<string, any> | undefined;
|
|
3175
3177
|
batchId?: string | undefined;
|
|
3178
|
+
ttl?: string | undefined;
|
|
3176
3179
|
finishedAt?: Date | undefined;
|
|
3177
3180
|
delayedUntil?: Date | undefined;
|
|
3178
3181
|
expiredAt?: Date | undefined;
|
|
@@ -3195,12 +3198,12 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
3195
3198
|
isFailed: boolean;
|
|
3196
3199
|
isCancelled: boolean;
|
|
3197
3200
|
updatedAt: Date;
|
|
3198
|
-
metadata?: Record<string, any> | undefined;
|
|
3199
3201
|
startedAt?: Date | undefined;
|
|
3200
3202
|
idempotencyKey?: string | undefined;
|
|
3201
3203
|
version?: string | undefined;
|
|
3202
|
-
|
|
3204
|
+
metadata?: Record<string, any> | undefined;
|
|
3203
3205
|
batchId?: string | undefined;
|
|
3206
|
+
ttl?: string | undefined;
|
|
3204
3207
|
finishedAt?: Date | undefined;
|
|
3205
3208
|
delayedUntil?: Date | undefined;
|
|
3206
3209
|
expiredAt?: Date | undefined;
|
|
@@ -3307,12 +3310,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3307
3310
|
isFailed: boolean;
|
|
3308
3311
|
isCancelled: boolean;
|
|
3309
3312
|
updatedAt: Date;
|
|
3310
|
-
metadata?: Record<string, any> | undefined;
|
|
3311
3313
|
startedAt?: Date | undefined;
|
|
3312
3314
|
idempotencyKey?: string | undefined;
|
|
3313
3315
|
version?: string | undefined;
|
|
3314
|
-
|
|
3316
|
+
metadata?: Record<string, any> | undefined;
|
|
3315
3317
|
batchId?: string | undefined;
|
|
3318
|
+
ttl?: string | undefined;
|
|
3316
3319
|
finishedAt?: Date | undefined;
|
|
3317
3320
|
delayedUntil?: Date | undefined;
|
|
3318
3321
|
expiredAt?: Date | undefined;
|
|
@@ -3335,12 +3338,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3335
3338
|
isFailed: boolean;
|
|
3336
3339
|
isCancelled: boolean;
|
|
3337
3340
|
updatedAt: Date;
|
|
3338
|
-
metadata?: Record<string, any> | undefined;
|
|
3339
3341
|
startedAt?: Date | undefined;
|
|
3340
3342
|
idempotencyKey?: string | undefined;
|
|
3341
3343
|
version?: string | undefined;
|
|
3342
|
-
|
|
3344
|
+
metadata?: Record<string, any> | undefined;
|
|
3343
3345
|
batchId?: string | undefined;
|
|
3346
|
+
ttl?: string | undefined;
|
|
3344
3347
|
finishedAt?: Date | undefined;
|
|
3345
3348
|
delayedUntil?: Date | undefined;
|
|
3346
3349
|
expiredAt?: Date | undefined;
|
|
@@ -3392,12 +3395,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3392
3395
|
isFailed: boolean;
|
|
3393
3396
|
isCancelled: boolean;
|
|
3394
3397
|
updatedAt: Date;
|
|
3395
|
-
metadata?: Record<string, any> | undefined;
|
|
3396
3398
|
startedAt?: Date | undefined;
|
|
3397
3399
|
idempotencyKey?: string | undefined;
|
|
3398
3400
|
version?: string | undefined;
|
|
3399
|
-
|
|
3401
|
+
metadata?: Record<string, any> | undefined;
|
|
3400
3402
|
batchId?: string | undefined;
|
|
3403
|
+
ttl?: string | undefined;
|
|
3401
3404
|
finishedAt?: Date | undefined;
|
|
3402
3405
|
delayedUntil?: Date | undefined;
|
|
3403
3406
|
expiredAt?: Date | undefined;
|
|
@@ -3420,12 +3423,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3420
3423
|
isFailed: boolean;
|
|
3421
3424
|
isCancelled: boolean;
|
|
3422
3425
|
updatedAt: Date;
|
|
3423
|
-
metadata?: Record<string, any> | undefined;
|
|
3424
3426
|
startedAt?: Date | undefined;
|
|
3425
3427
|
idempotencyKey?: string | undefined;
|
|
3426
3428
|
version?: string | undefined;
|
|
3427
|
-
|
|
3429
|
+
metadata?: Record<string, any> | undefined;
|
|
3428
3430
|
batchId?: string | undefined;
|
|
3431
|
+
ttl?: string | undefined;
|
|
3429
3432
|
finishedAt?: Date | undefined;
|
|
3430
3433
|
delayedUntil?: Date | undefined;
|
|
3431
3434
|
expiredAt?: Date | undefined;
|
|
@@ -3477,12 +3480,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3477
3480
|
isFailed: boolean;
|
|
3478
3481
|
isCancelled: boolean;
|
|
3479
3482
|
updatedAt: Date;
|
|
3480
|
-
metadata?: Record<string, any> | undefined;
|
|
3481
3483
|
startedAt?: Date | undefined;
|
|
3482
3484
|
idempotencyKey?: string | undefined;
|
|
3483
3485
|
version?: string | undefined;
|
|
3484
|
-
|
|
3486
|
+
metadata?: Record<string, any> | undefined;
|
|
3485
3487
|
batchId?: string | undefined;
|
|
3488
|
+
ttl?: string | undefined;
|
|
3486
3489
|
finishedAt?: Date | undefined;
|
|
3487
3490
|
delayedUntil?: Date | undefined;
|
|
3488
3491
|
expiredAt?: Date | undefined;
|
|
@@ -3505,12 +3508,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3505
3508
|
isFailed: boolean;
|
|
3506
3509
|
isCancelled: boolean;
|
|
3507
3510
|
updatedAt: Date;
|
|
3508
|
-
metadata?: Record<string, any> | undefined;
|
|
3509
3511
|
startedAt?: Date | undefined;
|
|
3510
3512
|
idempotencyKey?: string | undefined;
|
|
3511
3513
|
version?: string | undefined;
|
|
3512
|
-
|
|
3514
|
+
metadata?: Record<string, any> | undefined;
|
|
3513
3515
|
batchId?: string | undefined;
|
|
3516
|
+
ttl?: string | undefined;
|
|
3514
3517
|
finishedAt?: Date | undefined;
|
|
3515
3518
|
delayedUntil?: Date | undefined;
|
|
3516
3519
|
expiredAt?: Date | undefined;
|
|
@@ -3535,12 +3538,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3535
3538
|
isFailed: boolean;
|
|
3536
3539
|
isCancelled: boolean;
|
|
3537
3540
|
updatedAt: Date;
|
|
3538
|
-
metadata?: Record<string, any> | undefined;
|
|
3539
3541
|
startedAt?: Date | undefined;
|
|
3540
3542
|
idempotencyKey?: string | undefined;
|
|
3541
3543
|
version?: string | undefined;
|
|
3542
|
-
|
|
3544
|
+
metadata?: Record<string, any> | undefined;
|
|
3543
3545
|
batchId?: string | undefined;
|
|
3546
|
+
ttl?: string | undefined;
|
|
3544
3547
|
finishedAt?: Date | undefined;
|
|
3545
3548
|
delayedUntil?: Date | undefined;
|
|
3546
3549
|
expiredAt?: Date | undefined;
|
|
@@ -3564,12 +3567,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3564
3567
|
isFailed: boolean;
|
|
3565
3568
|
isCancelled: boolean;
|
|
3566
3569
|
updatedAt: Date;
|
|
3567
|
-
metadata?: Record<string, any> | undefined;
|
|
3568
3570
|
startedAt?: Date | undefined;
|
|
3569
3571
|
idempotencyKey?: string | undefined;
|
|
3570
3572
|
version?: string | undefined;
|
|
3571
|
-
|
|
3573
|
+
metadata?: Record<string, any> | undefined;
|
|
3572
3574
|
batchId?: string | undefined;
|
|
3575
|
+
ttl?: string | undefined;
|
|
3573
3576
|
finishedAt?: Date | undefined;
|
|
3574
3577
|
delayedUntil?: Date | undefined;
|
|
3575
3578
|
expiredAt?: Date | undefined;
|
|
@@ -3593,12 +3596,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3593
3596
|
isFailed: boolean;
|
|
3594
3597
|
isCancelled: boolean;
|
|
3595
3598
|
updatedAt: Date;
|
|
3596
|
-
metadata?: Record<string, any> | undefined;
|
|
3597
3599
|
startedAt?: Date | undefined;
|
|
3598
3600
|
idempotencyKey?: string | undefined;
|
|
3599
3601
|
version?: string | undefined;
|
|
3600
|
-
|
|
3602
|
+
metadata?: Record<string, any> | undefined;
|
|
3601
3603
|
batchId?: string | undefined;
|
|
3604
|
+
ttl?: string | undefined;
|
|
3602
3605
|
finishedAt?: Date | undefined;
|
|
3603
3606
|
delayedUntil?: Date | undefined;
|
|
3604
3607
|
expiredAt?: Date | undefined;
|
|
@@ -3623,12 +3626,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3623
3626
|
isFailed: boolean;
|
|
3624
3627
|
isCancelled: boolean;
|
|
3625
3628
|
updatedAt: Date;
|
|
3626
|
-
metadata?: Record<string, any> | undefined;
|
|
3627
3629
|
startedAt?: Date | undefined;
|
|
3628
3630
|
idempotencyKey?: string | undefined;
|
|
3629
3631
|
version?: string | undefined;
|
|
3630
|
-
|
|
3632
|
+
metadata?: Record<string, any> | undefined;
|
|
3631
3633
|
batchId?: string | undefined;
|
|
3634
|
+
ttl?: string | undefined;
|
|
3632
3635
|
finishedAt?: Date | undefined;
|
|
3633
3636
|
delayedUntil?: Date | undefined;
|
|
3634
3637
|
expiredAt?: Date | undefined;
|
|
@@ -3652,12 +3655,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3652
3655
|
isFailed: boolean;
|
|
3653
3656
|
isCancelled: boolean;
|
|
3654
3657
|
updatedAt: Date;
|
|
3655
|
-
metadata?: Record<string, any> | undefined;
|
|
3656
3658
|
startedAt?: Date | undefined;
|
|
3657
3659
|
idempotencyKey?: string | undefined;
|
|
3658
3660
|
version?: string | undefined;
|
|
3659
|
-
|
|
3661
|
+
metadata?: Record<string, any> | undefined;
|
|
3660
3662
|
batchId?: string | undefined;
|
|
3663
|
+
ttl?: string | undefined;
|
|
3661
3664
|
finishedAt?: Date | undefined;
|
|
3662
3665
|
delayedUntil?: Date | undefined;
|
|
3663
3666
|
expiredAt?: Date | undefined;
|
|
@@ -3681,12 +3684,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3681
3684
|
isFailed: boolean;
|
|
3682
3685
|
isCancelled: boolean;
|
|
3683
3686
|
updatedAt: Date;
|
|
3684
|
-
metadata?: Record<string, any> | undefined;
|
|
3685
3687
|
startedAt?: Date | undefined;
|
|
3686
3688
|
idempotencyKey?: string | undefined;
|
|
3687
3689
|
version?: string | undefined;
|
|
3688
|
-
|
|
3690
|
+
metadata?: Record<string, any> | undefined;
|
|
3689
3691
|
batchId?: string | undefined;
|
|
3692
|
+
ttl?: string | undefined;
|
|
3690
3693
|
finishedAt?: Date | undefined;
|
|
3691
3694
|
delayedUntil?: Date | undefined;
|
|
3692
3695
|
expiredAt?: Date | undefined;
|
|
@@ -3774,6 +3777,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3774
3777
|
durationMs: number;
|
|
3775
3778
|
costInCents: number;
|
|
3776
3779
|
baseCostInCents: number;
|
|
3780
|
+
attemptCount: number;
|
|
3777
3781
|
taskIdentifier: string;
|
|
3778
3782
|
relatedRuns: {
|
|
3779
3783
|
root?: {
|
|
@@ -3795,12 +3799,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3795
3799
|
isFailed: boolean;
|
|
3796
3800
|
isCancelled: boolean;
|
|
3797
3801
|
updatedAt: Date;
|
|
3798
|
-
metadata?: Record<string, any> | undefined;
|
|
3799
3802
|
startedAt?: Date | undefined;
|
|
3800
3803
|
idempotencyKey?: string | undefined;
|
|
3801
3804
|
version?: string | undefined;
|
|
3802
|
-
|
|
3805
|
+
metadata?: Record<string, any> | undefined;
|
|
3803
3806
|
batchId?: string | undefined;
|
|
3807
|
+
ttl?: string | undefined;
|
|
3804
3808
|
finishedAt?: Date | undefined;
|
|
3805
3809
|
delayedUntil?: Date | undefined;
|
|
3806
3810
|
expiredAt?: Date | undefined;
|
|
@@ -3824,12 +3828,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3824
3828
|
isFailed: boolean;
|
|
3825
3829
|
isCancelled: boolean;
|
|
3826
3830
|
updatedAt: Date;
|
|
3827
|
-
metadata?: Record<string, any> | undefined;
|
|
3828
3831
|
startedAt?: Date | undefined;
|
|
3829
3832
|
idempotencyKey?: string | undefined;
|
|
3830
3833
|
version?: string | undefined;
|
|
3831
|
-
|
|
3834
|
+
metadata?: Record<string, any> | undefined;
|
|
3832
3835
|
batchId?: string | undefined;
|
|
3836
|
+
ttl?: string | undefined;
|
|
3833
3837
|
finishedAt?: Date | undefined;
|
|
3834
3838
|
delayedUntil?: Date | undefined;
|
|
3835
3839
|
expiredAt?: Date | undefined;
|
|
@@ -3853,12 +3857,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3853
3857
|
isFailed: boolean;
|
|
3854
3858
|
isCancelled: boolean;
|
|
3855
3859
|
updatedAt: Date;
|
|
3856
|
-
metadata?: Record<string, any> | undefined;
|
|
3857
3860
|
startedAt?: Date | undefined;
|
|
3858
3861
|
idempotencyKey?: string | undefined;
|
|
3859
3862
|
version?: string | undefined;
|
|
3860
|
-
|
|
3863
|
+
metadata?: Record<string, any> | undefined;
|
|
3861
3864
|
batchId?: string | undefined;
|
|
3865
|
+
ttl?: string | undefined;
|
|
3862
3866
|
finishedAt?: Date | undefined;
|
|
3863
3867
|
delayedUntil?: Date | undefined;
|
|
3864
3868
|
expiredAt?: Date | undefined;
|
|
@@ -3886,19 +3890,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3886
3890
|
} | undefined;
|
|
3887
3891
|
completedAt?: Date | undefined;
|
|
3888
3892
|
} | undefined)[];
|
|
3889
|
-
attemptCount: number;
|
|
3890
|
-
metadata?: Record<string, any> | undefined;
|
|
3891
|
-
payload?: any;
|
|
3892
3893
|
startedAt?: Date | undefined;
|
|
3894
|
+
payload?: any;
|
|
3893
3895
|
idempotencyKey?: string | undefined;
|
|
3894
3896
|
version?: string | undefined;
|
|
3895
|
-
|
|
3896
|
-
message: string;
|
|
3897
|
-
name?: string | undefined;
|
|
3898
|
-
stackTrace?: string | undefined;
|
|
3899
|
-
} | undefined;
|
|
3900
|
-
output?: any;
|
|
3901
|
-
ttl?: string | undefined;
|
|
3897
|
+
metadata?: Record<string, any> | undefined;
|
|
3902
3898
|
schedule?: {
|
|
3903
3899
|
id: string;
|
|
3904
3900
|
generator: {
|
|
@@ -3909,9 +3905,16 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3909
3905
|
externalId?: string | undefined;
|
|
3910
3906
|
deduplicationKey?: string | undefined;
|
|
3911
3907
|
} | undefined;
|
|
3908
|
+
error?: {
|
|
3909
|
+
message: string;
|
|
3910
|
+
name?: string | undefined;
|
|
3911
|
+
stackTrace?: string | undefined;
|
|
3912
|
+
} | undefined;
|
|
3913
|
+
output?: any;
|
|
3914
|
+
batchId?: string | undefined;
|
|
3915
|
+
ttl?: string | undefined;
|
|
3912
3916
|
payloadPresignedUrl?: string | undefined;
|
|
3913
3917
|
outputPresignedUrl?: string | undefined;
|
|
3914
|
-
batchId?: string | undefined;
|
|
3915
3918
|
finishedAt?: Date | undefined;
|
|
3916
3919
|
delayedUntil?: Date | undefined;
|
|
3917
3920
|
expiredAt?: Date | undefined;
|
|
@@ -3945,12 +3948,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3945
3948
|
isFailed: boolean;
|
|
3946
3949
|
isCancelled: boolean;
|
|
3947
3950
|
updatedAt: Date;
|
|
3948
|
-
metadata?: Record<string, any> | undefined;
|
|
3949
3951
|
startedAt?: Date | undefined;
|
|
3950
3952
|
idempotencyKey?: string | undefined;
|
|
3951
3953
|
version?: string | undefined;
|
|
3952
|
-
|
|
3954
|
+
metadata?: Record<string, any> | undefined;
|
|
3953
3955
|
batchId?: string | undefined;
|
|
3956
|
+
ttl?: string | undefined;
|
|
3954
3957
|
finishedAt?: Date | undefined;
|
|
3955
3958
|
delayedUntil?: Date | undefined;
|
|
3956
3959
|
expiredAt?: Date | undefined;
|
|
@@ -3974,12 +3977,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3974
3977
|
isFailed: boolean;
|
|
3975
3978
|
isCancelled: boolean;
|
|
3976
3979
|
updatedAt: Date;
|
|
3977
|
-
metadata?: Record<string, any> | undefined;
|
|
3978
3980
|
startedAt?: Date | undefined;
|
|
3979
3981
|
idempotencyKey?: string | undefined;
|
|
3980
3982
|
version?: string | undefined;
|
|
3981
|
-
|
|
3983
|
+
metadata?: Record<string, any> | undefined;
|
|
3982
3984
|
batchId?: string | undefined;
|
|
3985
|
+
ttl?: string | undefined;
|
|
3983
3986
|
finishedAt?: Date | undefined;
|
|
3984
3987
|
delayedUntil?: Date | undefined;
|
|
3985
3988
|
expiredAt?: Date | undefined;
|
|
@@ -4003,12 +4006,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4003
4006
|
isFailed: boolean;
|
|
4004
4007
|
isCancelled: boolean;
|
|
4005
4008
|
updatedAt: Date;
|
|
4006
|
-
metadata?: Record<string, any> | undefined;
|
|
4007
4009
|
startedAt?: Date | undefined;
|
|
4008
4010
|
idempotencyKey?: string | undefined;
|
|
4009
4011
|
version?: string | undefined;
|
|
4010
|
-
|
|
4012
|
+
metadata?: Record<string, any> | undefined;
|
|
4011
4013
|
batchId?: string | undefined;
|
|
4014
|
+
ttl?: string | undefined;
|
|
4012
4015
|
finishedAt?: Date | undefined;
|
|
4013
4016
|
delayedUntil?: Date | undefined;
|
|
4014
4017
|
expiredAt?: Date | undefined;
|
|
@@ -4036,18 +4039,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4036
4039
|
} | undefined;
|
|
4037
4040
|
completedAt?: Date | undefined;
|
|
4038
4041
|
} | undefined)[];
|
|
4039
|
-
metadata?: Record<string, any> | undefined;
|
|
4040
|
-
payload?: any;
|
|
4041
4042
|
startedAt?: Date | undefined;
|
|
4043
|
+
payload?: any;
|
|
4042
4044
|
idempotencyKey?: string | undefined;
|
|
4043
4045
|
version?: string | undefined;
|
|
4044
|
-
|
|
4045
|
-
message: string;
|
|
4046
|
-
name?: string | undefined;
|
|
4047
|
-
stackTrace?: string | undefined;
|
|
4048
|
-
} | undefined;
|
|
4049
|
-
output?: any;
|
|
4050
|
-
ttl?: string | undefined;
|
|
4046
|
+
metadata?: Record<string, any> | undefined;
|
|
4051
4047
|
schedule?: {
|
|
4052
4048
|
id: string;
|
|
4053
4049
|
generator: {
|
|
@@ -4058,13 +4054,20 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4058
4054
|
externalId?: string | undefined;
|
|
4059
4055
|
deduplicationKey?: string | undefined;
|
|
4060
4056
|
} | undefined;
|
|
4057
|
+
attemptCount?: number | undefined;
|
|
4058
|
+
error?: {
|
|
4059
|
+
message: string;
|
|
4060
|
+
name?: string | undefined;
|
|
4061
|
+
stackTrace?: string | undefined;
|
|
4062
|
+
} | undefined;
|
|
4063
|
+
output?: any;
|
|
4064
|
+
batchId?: string | undefined;
|
|
4065
|
+
ttl?: string | undefined;
|
|
4061
4066
|
payloadPresignedUrl?: string | undefined;
|
|
4062
4067
|
outputPresignedUrl?: string | undefined;
|
|
4063
|
-
batchId?: string | undefined;
|
|
4064
4068
|
finishedAt?: Date | undefined;
|
|
4065
4069
|
delayedUntil?: Date | undefined;
|
|
4066
4070
|
expiredAt?: Date | undefined;
|
|
4067
|
-
attemptCount?: number | undefined;
|
|
4068
4071
|
}>;
|
|
4069
4072
|
export type RetrieveRunResponse = z.infer<typeof RetrieveRunResponse>;
|
|
4070
4073
|
export declare const ListRunResponseItem: z.ZodObject<{
|
|
@@ -4127,10 +4130,10 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
4127
4130
|
id: string;
|
|
4128
4131
|
user?: string | undefined;
|
|
4129
4132
|
};
|
|
4130
|
-
metadata?: Record<string, any> | undefined;
|
|
4131
4133
|
startedAt?: Date | undefined;
|
|
4132
4134
|
idempotencyKey?: string | undefined;
|
|
4133
4135
|
version?: string | undefined;
|
|
4136
|
+
metadata?: Record<string, any> | undefined;
|
|
4134
4137
|
ttl?: string | undefined;
|
|
4135
4138
|
finishedAt?: Date | undefined;
|
|
4136
4139
|
delayedUntil?: Date | undefined;
|
|
@@ -4157,10 +4160,10 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
4157
4160
|
id: string;
|
|
4158
4161
|
user?: string | undefined;
|
|
4159
4162
|
};
|
|
4160
|
-
metadata?: Record<string, any> | undefined;
|
|
4161
4163
|
startedAt?: Date | undefined;
|
|
4162
4164
|
idempotencyKey?: string | undefined;
|
|
4163
4165
|
version?: string | undefined;
|
|
4166
|
+
metadata?: Record<string, any> | undefined;
|
|
4164
4167
|
ttl?: string | undefined;
|
|
4165
4168
|
finishedAt?: Date | undefined;
|
|
4166
4169
|
delayedUntil?: Date | undefined;
|
|
@@ -4228,10 +4231,10 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4228
4231
|
id: string;
|
|
4229
4232
|
user?: string | undefined;
|
|
4230
4233
|
};
|
|
4231
|
-
metadata?: Record<string, any> | undefined;
|
|
4232
4234
|
startedAt?: Date | undefined;
|
|
4233
4235
|
idempotencyKey?: string | undefined;
|
|
4234
4236
|
version?: string | undefined;
|
|
4237
|
+
metadata?: Record<string, any> | undefined;
|
|
4235
4238
|
ttl?: string | undefined;
|
|
4236
4239
|
finishedAt?: Date | undefined;
|
|
4237
4240
|
delayedUntil?: Date | undefined;
|
|
@@ -4258,10 +4261,10 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4258
4261
|
id: string;
|
|
4259
4262
|
user?: string | undefined;
|
|
4260
4263
|
};
|
|
4261
|
-
metadata?: Record<string, any> | undefined;
|
|
4262
4264
|
startedAt?: Date | undefined;
|
|
4263
4265
|
idempotencyKey?: string | undefined;
|
|
4264
4266
|
version?: string | undefined;
|
|
4267
|
+
metadata?: Record<string, any> | undefined;
|
|
4265
4268
|
ttl?: string | undefined;
|
|
4266
4269
|
finishedAt?: Date | undefined;
|
|
4267
4270
|
delayedUntil?: Date | undefined;
|
|
@@ -4300,10 +4303,10 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4300
4303
|
id: string;
|
|
4301
4304
|
user?: string | undefined;
|
|
4302
4305
|
};
|
|
4303
|
-
metadata?: Record<string, any> | undefined;
|
|
4304
4306
|
startedAt?: Date | undefined;
|
|
4305
4307
|
idempotencyKey?: string | undefined;
|
|
4306
4308
|
version?: string | undefined;
|
|
4309
|
+
metadata?: Record<string, any> | undefined;
|
|
4307
4310
|
ttl?: string | undefined;
|
|
4308
4311
|
finishedAt?: Date | undefined;
|
|
4309
4312
|
delayedUntil?: Date | undefined;
|
|
@@ -4336,10 +4339,10 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4336
4339
|
id: string;
|
|
4337
4340
|
user?: string | undefined;
|
|
4338
4341
|
};
|
|
4339
|
-
metadata?: Record<string, any> | undefined;
|
|
4340
4342
|
startedAt?: Date | undefined;
|
|
4341
4343
|
idempotencyKey?: string | undefined;
|
|
4342
4344
|
version?: string | undefined;
|
|
4345
|
+
metadata?: Record<string, any> | undefined;
|
|
4343
4346
|
ttl?: string | undefined;
|
|
4344
4347
|
finishedAt?: Date | undefined;
|
|
4345
4348
|
delayedUntil?: Date | undefined;
|
|
@@ -4355,11 +4358,11 @@ export declare const CreateEnvironmentVariableRequestBody: z.ZodObject<{
|
|
|
4355
4358
|
name: z.ZodString;
|
|
4356
4359
|
value: z.ZodString;
|
|
4357
4360
|
}, "strip", z.ZodTypeAny, {
|
|
4358
|
-
value: string;
|
|
4359
4361
|
name: string;
|
|
4360
|
-
}, {
|
|
4361
4362
|
value: string;
|
|
4363
|
+
}, {
|
|
4362
4364
|
name: string;
|
|
4365
|
+
value: string;
|
|
4363
4366
|
}>;
|
|
4364
4367
|
export type CreateEnvironmentVariableRequestBody = z.infer<typeof CreateEnvironmentVariableRequestBody>;
|
|
4365
4368
|
export declare const UpdateEnvironmentVariableRequestBody: z.ZodObject<{
|
|
@@ -4401,23 +4404,46 @@ export declare const EnvironmentVariable: z.ZodObject<{
|
|
|
4401
4404
|
name: z.ZodString;
|
|
4402
4405
|
value: z.ZodString;
|
|
4403
4406
|
}, "strip", z.ZodTypeAny, {
|
|
4404
|
-
value: string;
|
|
4405
4407
|
name: string;
|
|
4406
|
-
}, {
|
|
4407
4408
|
value: string;
|
|
4409
|
+
}, {
|
|
4408
4410
|
name: string;
|
|
4411
|
+
value: string;
|
|
4409
4412
|
}>;
|
|
4410
4413
|
export declare const EnvironmentVariables: z.ZodArray<z.ZodObject<{
|
|
4411
4414
|
name: z.ZodString;
|
|
4412
4415
|
value: z.ZodString;
|
|
4413
4416
|
}, "strip", z.ZodTypeAny, {
|
|
4414
|
-
value: string;
|
|
4415
4417
|
name: string;
|
|
4416
|
-
}, {
|
|
4417
4418
|
value: string;
|
|
4419
|
+
}, {
|
|
4418
4420
|
name: string;
|
|
4421
|
+
value: string;
|
|
4419
4422
|
}>, "many">;
|
|
4420
4423
|
export type EnvironmentVariables = z.infer<typeof EnvironmentVariables>;
|
|
4424
|
+
export declare const EnvironmentVariableWithSecret: z.ZodObject<{
|
|
4425
|
+
/** The name of the env var, e.g. `DATABASE_URL` */
|
|
4426
|
+
name: z.ZodString;
|
|
4427
|
+
/** The value of the env var. If it's a secret, this will be a redacted value, not the real value. */
|
|
4428
|
+
value: z.ZodString;
|
|
4429
|
+
/**
|
|
4430
|
+
* Whether the env var is a secret or not.
|
|
4431
|
+
* When you create env vars you can mark them as secrets.
|
|
4432
|
+
*
|
|
4433
|
+
* You can't view the value of a secret env var after setting it initially.
|
|
4434
|
+
* For a secret env var, the value will be redacted.
|
|
4435
|
+
*/
|
|
4436
|
+
isSecret: z.ZodBoolean;
|
|
4437
|
+
}, "strip", z.ZodTypeAny, {
|
|
4438
|
+
name: string;
|
|
4439
|
+
value: string;
|
|
4440
|
+
isSecret: boolean;
|
|
4441
|
+
}, {
|
|
4442
|
+
name: string;
|
|
4443
|
+
value: string;
|
|
4444
|
+
isSecret: boolean;
|
|
4445
|
+
}>;
|
|
4446
|
+
export type EnvironmentVariableWithSecret = z.infer<typeof EnvironmentVariableWithSecret>;
|
|
4421
4447
|
export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
4422
4448
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>>>;
|
|
4423
4449
|
operations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -4805,14 +4831,14 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
|
4805
4831
|
message: z.ZodString;
|
|
4806
4832
|
stackTrace: z.ZodString;
|
|
4807
4833
|
}, "strip", z.ZodTypeAny, {
|
|
4808
|
-
type: "BUILT_IN_ERROR";
|
|
4809
|
-
message: string;
|
|
4810
4834
|
name: string;
|
|
4835
|
+
message: string;
|
|
4836
|
+
type: "BUILT_IN_ERROR";
|
|
4811
4837
|
stackTrace: string;
|
|
4812
4838
|
}, {
|
|
4813
|
-
type: "BUILT_IN_ERROR";
|
|
4814
|
-
message: string;
|
|
4815
4839
|
name: string;
|
|
4840
|
+
message: string;
|
|
4841
|
+
type: "BUILT_IN_ERROR";
|
|
4816
4842
|
stackTrace: string;
|
|
4817
4843
|
}>, z.ZodObject<{
|
|
4818
4844
|
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
@@ -4838,13 +4864,13 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
|
4838
4864
|
message: z.ZodOptional<z.ZodString>;
|
|
4839
4865
|
stackTrace: z.ZodOptional<z.ZodString>;
|
|
4840
4866
|
}, "strip", z.ZodTypeAny, {
|
|
4841
|
-
type: "INTERNAL_ERROR";
|
|
4842
4867
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
4868
|
+
type: "INTERNAL_ERROR";
|
|
4843
4869
|
message?: string | undefined;
|
|
4844
4870
|
stackTrace?: string | undefined;
|
|
4845
4871
|
}, {
|
|
4846
|
-
type: "INTERNAL_ERROR";
|
|
4847
4872
|
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
4873
|
+
type: "INTERNAL_ERROR";
|
|
4848
4874
|
message?: string | undefined;
|
|
4849
4875
|
stackTrace?: string | undefined;
|
|
4850
4876
|
}>]>>>;
|
|
@@ -4856,20 +4882,25 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
|
4856
4882
|
createdAt: Date;
|
|
4857
4883
|
costInCents: number;
|
|
4858
4884
|
baseCostInCents: number;
|
|
4885
|
+
friendlyId: string;
|
|
4859
4886
|
taskIdentifier: string;
|
|
4860
4887
|
updatedAt: Date;
|
|
4861
|
-
friendlyId: string;
|
|
4862
4888
|
usageDurationMs: number;
|
|
4863
4889
|
runTags: string[] | null;
|
|
4864
|
-
|
|
4890
|
+
startedAt?: string | Date | null | undefined;
|
|
4865
4891
|
payload?: string | null | undefined;
|
|
4866
4892
|
payloadType?: string | null | undefined;
|
|
4867
|
-
startedAt?: string | Date | null | undefined;
|
|
4868
4893
|
idempotencyKey?: string | null | undefined;
|
|
4894
|
+
metadata?: string | null | undefined;
|
|
4869
4895
|
error?: {
|
|
4870
|
-
|
|
4871
|
-
|
|
4896
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
4897
|
+
type: "INTERNAL_ERROR";
|
|
4898
|
+
message?: string | undefined;
|
|
4899
|
+
stackTrace?: string | undefined;
|
|
4900
|
+
} | {
|
|
4872
4901
|
name: string;
|
|
4902
|
+
message: string;
|
|
4903
|
+
type: "BUILT_IN_ERROR";
|
|
4873
4904
|
stackTrace: string;
|
|
4874
4905
|
} | {
|
|
4875
4906
|
type: "CUSTOM_ERROR";
|
|
@@ -4877,18 +4908,13 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
|
4877
4908
|
} | {
|
|
4878
4909
|
type: "STRING_ERROR";
|
|
4879
4910
|
raw: string;
|
|
4880
|
-
} | {
|
|
4881
|
-
type: "INTERNAL_ERROR";
|
|
4882
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
4883
|
-
message?: string | undefined;
|
|
4884
|
-
stackTrace?: string | undefined;
|
|
4885
4911
|
} | null | undefined;
|
|
4912
|
+
completedAt?: string | Date | null | undefined;
|
|
4886
4913
|
output?: string | null | undefined;
|
|
4887
4914
|
outputType?: string | null | undefined;
|
|
4888
4915
|
ttl?: string | null | undefined;
|
|
4889
|
-
metadataType?: string | null | undefined;
|
|
4890
4916
|
expiredAt?: string | Date | null | undefined;
|
|
4891
|
-
|
|
4917
|
+
metadataType?: string | null | undefined;
|
|
4892
4918
|
delayUntil?: string | Date | null | undefined;
|
|
4893
4919
|
queuedAt?: string | Date | null | undefined;
|
|
4894
4920
|
}, {
|
|
@@ -4899,19 +4925,24 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
|
4899
4925
|
createdAt: string;
|
|
4900
4926
|
costInCents: number;
|
|
4901
4927
|
baseCostInCents: number;
|
|
4928
|
+
friendlyId: string;
|
|
4902
4929
|
taskIdentifier: string;
|
|
4903
4930
|
updatedAt: string;
|
|
4904
|
-
friendlyId: string;
|
|
4905
4931
|
usageDurationMs: number;
|
|
4906
|
-
|
|
4932
|
+
startedAt?: string | null | undefined;
|
|
4907
4933
|
payload?: string | null | undefined;
|
|
4908
4934
|
payloadType?: string | null | undefined;
|
|
4909
|
-
startedAt?: string | null | undefined;
|
|
4910
4935
|
idempotencyKey?: string | null | undefined;
|
|
4936
|
+
metadata?: string | null | undefined;
|
|
4911
4937
|
error?: {
|
|
4912
|
-
|
|
4913
|
-
|
|
4938
|
+
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
4939
|
+
type: "INTERNAL_ERROR";
|
|
4940
|
+
message?: string | undefined;
|
|
4941
|
+
stackTrace?: string | undefined;
|
|
4942
|
+
} | {
|
|
4914
4943
|
name: string;
|
|
4944
|
+
message: string;
|
|
4945
|
+
type: "BUILT_IN_ERROR";
|
|
4915
4946
|
stackTrace: string;
|
|
4916
4947
|
} | {
|
|
4917
4948
|
type: "CUSTOM_ERROR";
|
|
@@ -4919,18 +4950,13 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
|
4919
4950
|
} | {
|
|
4920
4951
|
type: "STRING_ERROR";
|
|
4921
4952
|
raw: string;
|
|
4922
|
-
} | {
|
|
4923
|
-
type: "INTERNAL_ERROR";
|
|
4924
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
4925
|
-
message?: string | undefined;
|
|
4926
|
-
stackTrace?: string | undefined;
|
|
4927
4953
|
} | null | undefined;
|
|
4954
|
+
completedAt?: string | null | undefined;
|
|
4928
4955
|
output?: string | null | undefined;
|
|
4929
4956
|
outputType?: string | null | undefined;
|
|
4930
4957
|
ttl?: string | null | undefined;
|
|
4931
|
-
metadataType?: string | null | undefined;
|
|
4932
4958
|
expiredAt?: string | null | undefined;
|
|
4933
|
-
|
|
4959
|
+
metadataType?: string | null | undefined;
|
|
4934
4960
|
delayUntil?: string | null | undefined;
|
|
4935
4961
|
queuedAt?: string | null | undefined;
|
|
4936
4962
|
runTags?: string[] | null | undefined;
|
|
@@ -4999,17 +5025,17 @@ export declare const SubscribeRealtimeStreamChunkRawShape: z.ZodObject<{
|
|
|
4999
5025
|
createdAt: z.ZodDate;
|
|
5000
5026
|
}, "strip", z.ZodTypeAny, {
|
|
5001
5027
|
value: string;
|
|
5002
|
-
key: string;
|
|
5003
5028
|
id: string;
|
|
5004
5029
|
createdAt: Date;
|
|
5005
5030
|
runId: string;
|
|
5031
|
+
key: string;
|
|
5006
5032
|
sequence: number;
|
|
5007
5033
|
}, {
|
|
5008
5034
|
value: string;
|
|
5009
|
-
key: string;
|
|
5010
5035
|
id: string;
|
|
5011
5036
|
createdAt: Date;
|
|
5012
5037
|
runId: string;
|
|
5038
|
+
key: string;
|
|
5013
5039
|
sequence: number;
|
|
5014
5040
|
}>;
|
|
5015
5041
|
export type SubscribeRealtimeStreamChunkRawShape = z.infer<typeof SubscribeRealtimeStreamChunkRawShape>;
|