@trigger.dev/core 4.5.9 → 4.5.10
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/debounce.js.map +1 -1
- package/dist/commonjs/eventFilterMatches.js.map +1 -1
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/package.json +6 -1
- package/dist/commonjs/retry.js.map +1 -1
- package/dist/commonjs/schemas/eventFilter.js.map +1 -1
- package/dist/commonjs/schemas/json.js.map +1 -1
- package/dist/commonjs/utils.js.map +1 -1
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/errors.js.map +1 -1
- package/dist/commonjs/v3/apiClient/getBranch.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +422 -422
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/pagination.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +8 -0
- package/dist/commonjs/v3/apiClient/runStream.js +64 -17
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.test.js +34 -0
- package/dist/commonjs/v3/apiClient/runStream.test.js.map +1 -1
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/index.js.map +1 -1
- package/dist/commonjs/v3/apiKeys.js.map +1 -1
- package/dist/commonjs/v3/apps/backoff.js.map +1 -1
- package/dist/commonjs/v3/apps/exec.js.map +1 -1
- package/dist/commonjs/v3/apps/http.js.map +1 -1
- package/dist/commonjs/v3/build/extensions.js.map +1 -1
- package/dist/commonjs/v3/build/flags.js.map +1 -1
- package/dist/commonjs/v3/build/runtime.js.map +1 -1
- package/dist/commonjs/v3/clock/clock.js.map +1 -1
- package/dist/commonjs/v3/clock/index.js.map +1 -1
- package/dist/commonjs/v3/clock/preciseWallClock.js.map +1 -1
- package/dist/commonjs/v3/clock/simpleClock.js.map +1 -1
- package/dist/commonjs/v3/consoleInterceptor.js.map +1 -1
- package/dist/commonjs/v3/errors.d.ts +4 -4
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/heartbeats/api.js.map +1 -1
- package/dist/commonjs/v3/heartbeats/manager.js.map +1 -1
- package/dist/commonjs/v3/icons.d.ts +1 -1
- package/dist/commonjs/v3/icons.js.map +1 -1
- package/dist/commonjs/v3/idempotency-key-catalog/inMemoryIdempotencyKeyCatalog.js.map +1 -1
- package/dist/commonjs/v3/idempotency-key-catalog/index.js.map +1 -1
- package/dist/commonjs/v3/idempotencyKeys.js.map +1 -1
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/inputStreams/index.js.map +1 -1
- package/dist/commonjs/v3/inputStreams/manager.js.map +1 -1
- package/dist/commonjs/v3/inputStreams/noopManager.js.map +1 -1
- package/dist/commonjs/v3/inputStreams/types.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/dates.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/duration.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/maxDuration.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/queueName.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/runOpsResidency.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/traceContext.js.map +1 -1
- package/dist/commonjs/v3/jwt.js.map +1 -1
- package/dist/commonjs/v3/lifecycleHooks/index.js.map +1 -1
- package/dist/commonjs/v3/lifecycleHooks/manager.js.map +1 -1
- package/dist/commonjs/v3/limits.js.map +1 -1
- package/dist/commonjs/v3/locals/index.js.map +1 -1
- package/dist/commonjs/v3/locals/manager.js.map +1 -1
- package/dist/commonjs/v3/locals-api.js.map +1 -1
- package/dist/commonjs/v3/logger/index.js.map +1 -1
- package/dist/commonjs/v3/logger/taskLogger.js.map +1 -1
- package/dist/commonjs/v3/machines/index.js.map +1 -1
- package/dist/commonjs/v3/otel/diskIoMetrics.js.map +1 -1
- package/dist/commonjs/v3/otel/filesystemMetrics.js.map +1 -1
- package/dist/commonjs/v3/otel/nodejsRuntimeMetrics.js.map +1 -1
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/otel/utils.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/index.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/manager.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/noopManager.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/sessionStreamInstance.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/sessionStreamOneshot.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/streamInstance.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/streamsWriterV1.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/streamsWriterV2.js +10 -2
- package/dist/commonjs/v3/realtimeStreams/streamsWriterV2.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/index.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPool.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPoolMetrics.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +211 -211
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueMetricsProcessor.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/scalingStrategies.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +1126 -1126
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/util.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/util.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +162 -162
- package/dist/commonjs/v3/runEngineWorker/workload/http.js +8 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +974 -974
- package/dist/commonjs/v3/runEngineWorker/workload/util.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/index.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/noopManager.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/operations.js.map +1 -1
- package/dist/commonjs/v3/runTimelineMetrics/index.js.map +1 -1
- package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -1
- package/dist/commonjs/v3/runtime/index.js.map +1 -1
- package/dist/commonjs/v3/runtime/noopRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/runtime/preventMultipleWaits.js.map +1 -1
- package/dist/commonjs/v3/runtime/sharedRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +2930 -2926
- package/dist/commonjs/v3/schemas/api.js +2 -0
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +614 -614
- package/dist/commonjs/v3/schemas/build.js.map +1 -1
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +237 -237
- package/dist/commonjs/v3/schemas/common.d.ts +1409 -1409
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/errors.d.ts +38 -38
- package/dist/commonjs/v3/schemas/errors.js.map +1 -1
- package/dist/commonjs/v3/schemas/eventFilter.js.map +1 -1
- package/dist/commonjs/v3/schemas/fetch.d.ts +70 -70
- package/dist/commonjs/v3/schemas/fetch.js.map +1 -1
- package/dist/commonjs/v3/schemas/idempotencyKey.test.js +14 -0
- package/dist/commonjs/v3/schemas/idempotencyKey.test.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +994 -994
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +90 -90
- package/dist/commonjs/v3/schemas/openTelemetry.js.map +1 -1
- package/dist/commonjs/v3/schemas/query.d.ts +41 -41
- package/dist/commonjs/v3/schemas/query.js.map +1 -1
- package/dist/commonjs/v3/schemas/queues.d.ts +10 -10
- package/dist/commonjs/v3/schemas/queues.js.map +1 -1
- package/dist/commonjs/v3/schemas/resources.d.ts +128 -128
- package/dist/commonjs/v3/schemas/resources.js.map +1 -1
- package/dist/commonjs/v3/schemas/runEngine.d.ts +490 -490
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +644 -644
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/schemas/style.d.ts +2 -2
- package/dist/commonjs/v3/schemas/style.js.map +1 -1
- package/dist/commonjs/v3/schemas/webhooks.d.ts +814 -814
- package/dist/commonjs/v3/schemas/webhooks.js.map +1 -1
- package/dist/commonjs/v3/sdkScope/index.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/checkpointClient.d.ts +16 -0
- package/dist/commonjs/v3/serverOnly/checkpointClient.js +33 -0
- package/dist/commonjs/v3/serverOnly/checkpointClient.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/httpServer.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/idempotencyKeys.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/jumpHash.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/k8s.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/placementTags.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/shutdownManager.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/singleton.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/chatSnapshot.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/index.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/manager.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/noopManager.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/types.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/wireProtocol.js.map +1 -1
- package/dist/commonjs/v3/streams/asyncIterableStream.js.map +1 -1
- package/dist/commonjs/v3/taskContext/index.js.map +1 -1
- package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/commonjs/v3/telnetLogServer.js.map +1 -1
- package/dist/commonjs/v3/test/index.d.ts +3 -0
- package/dist/commonjs/v3/test/index.js +7 -1
- package/dist/commonjs/v3/test/index.js.map +1 -1
- package/dist/commonjs/v3/test/mock-task-context.d.ts +16 -1
- package/dist/commonjs/v3/test/mock-task-context.js +13 -5
- package/dist/commonjs/v3/test/mock-task-context.js.map +1 -1
- package/dist/commonjs/v3/test/session-waitpoint-backend.d.ts +68 -0
- package/dist/commonjs/v3/test/session-waitpoint-backend.js +228 -0
- package/dist/commonjs/v3/test/session-waitpoint-backend.js.map +1 -0
- package/dist/commonjs/v3/test/test-input-stream-manager.js.map +1 -1
- package/dist/commonjs/v3/test/test-realtime-streams-manager.js.map +1 -1
- package/dist/commonjs/v3/test/test-run-metadata-manager.js.map +1 -1
- package/dist/commonjs/v3/test/test-session-stream-manager.js.map +1 -1
- package/dist/commonjs/v3/timeout/api.js.map +1 -1
- package/dist/commonjs/v3/timeout/types.js.map +1 -1
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/commonjs/v3/traceContext/api.js.map +1 -1
- package/dist/commonjs/v3/traceContext/manager.js.map +1 -1
- package/dist/commonjs/v3/tracer.js.map +1 -1
- package/dist/commonjs/v3/tryCatch.js.map +1 -1
- package/dist/commonjs/v3/types/schemas.js.map +1 -1
- package/dist/commonjs/v3/types/tasks.d.ts +21 -7
- package/dist/commonjs/v3/types/tasks.js.map +1 -1
- package/dist/commonjs/v3/types/tools.js.map +1 -1
- package/dist/commonjs/v3/usage/api.js.map +1 -1
- package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/noopUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/prodUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/usageClient.js.map +1 -1
- package/dist/commonjs/v3/utils/crypto.js.map +1 -1
- package/dist/commonjs/v3/utils/durations.js.map +1 -1
- package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/commonjs/v3/utils/getEnv.js.map +1 -1
- package/dist/commonjs/v3/utils/gitBranch.js.map +1 -1
- package/dist/commonjs/v3/utils/globals.js.map +1 -1
- package/dist/commonjs/v3/utils/imageRef.js.map +1 -1
- package/dist/commonjs/v3/utils/interval.js.map +1 -1
- package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
- package/dist/commonjs/v3/utils/omit.js.map +1 -1
- package/dist/commonjs/v3/utils/reconnectBackoff.js.map +1 -1
- package/dist/commonjs/v3/utils/retries.js.map +1 -1
- package/dist/commonjs/v3/utils/safeAsyncLocalStorage.js.map +1 -1
- package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -1
- package/dist/commonjs/v3/utils/styleAttributes.js.map +1 -1
- package/dist/commonjs/v3/utils/timers.js.map +1 -1
- package/dist/commonjs/v3/waitUntil/index.js.map +1 -1
- package/dist/commonjs/v3/waitUntil/manager.js.map +1 -1
- package/dist/commonjs/v3/waitpoints/index.js.map +1 -1
- package/dist/commonjs/v3/workers/populateEnv.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/v3/workers/warmStartClient.js.map +1 -1
- package/dist/commonjs/v3/workloadDeploymentToken.d.ts +2 -2
- package/dist/commonjs/v3/workloadDeploymentToken.js.map +1 -1
- package/dist/commonjs/v3/zodIpc.js.map +1 -1
- package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -2
- package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
- package/dist/commonjs/v3/zodSocket.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/package.json +6 -1
- package/dist/esm/retry.js.map +1 -1
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +422 -422
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/pagination.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +8 -0
- package/dist/esm/v3/apiClient/runStream.js +64 -17
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.test.js +34 -0
- package/dist/esm/v3/apiClient/runStream.test.js.map +1 -1
- package/dist/esm/v3/apiClient/stream.js.map +1 -1
- package/dist/esm/v3/apiClientManager/index.js.map +1 -1
- package/dist/esm/v3/apps/backoff.js.map +1 -1
- package/dist/esm/v3/apps/exec.js.map +1 -1
- package/dist/esm/v3/apps/http.js.map +1 -1
- package/dist/esm/v3/build/extensions.js.map +1 -1
- package/dist/esm/v3/build/runtime.js.map +1 -1
- package/dist/esm/v3/clock/preciseWallClock.js.map +1 -1
- package/dist/esm/v3/consoleInterceptor.js.map +1 -1
- package/dist/esm/v3/errors.d.ts +4 -4
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/heartbeats/manager.js.map +1 -1
- package/dist/esm/v3/icons.d.ts +1 -1
- package/dist/esm/v3/idempotencyKeys.js.map +1 -1
- package/dist/esm/v3/inputStreams/manager.js.map +1 -1
- package/dist/esm/v3/inputStreams/types.js.map +1 -1
- package/dist/esm/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/esm/v3/logger/taskLogger.js.map +1 -1
- package/dist/esm/v3/machines/index.js.map +1 -1
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/realtimeStreams/manager.js.map +1 -1
- package/dist/esm/v3/realtimeStreams/sessionStreamInstance.js.map +1 -1
- package/dist/esm/v3/realtimeStreams/streamInstance.js.map +1 -1
- package/dist/esm/v3/realtimeStreams/streamsWriterV1.js.map +1 -1
- package/dist/esm/v3/realtimeStreams/streamsWriterV2.js +10 -2
- package/dist/esm/v3/realtimeStreams/streamsWriterV2.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/consumerPoolMetrics.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +211 -211
- package/dist/esm/v3/runEngineWorker/supervisor/queueMetricsProcessor.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +1126 -1126
- package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +162 -162
- package/dist/esm/v3/runEngineWorker/workload/http.js +8 -0
- package/dist/esm/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +968 -968
- package/dist/esm/v3/runMetadata/manager.js.map +1 -1
- package/dist/esm/v3/runMetadata/operations.js.map +1 -1
- package/dist/esm/v3/runtime/sharedRuntimeManager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +2930 -2926
- package/dist/esm/v3/schemas/api.js +2 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +614 -614
- package/dist/esm/v3/schemas/checkpoints.d.ts +237 -237
- package/dist/esm/v3/schemas/common.d.ts +1409 -1409
- package/dist/esm/v3/schemas/errors.d.ts +38 -38
- package/dist/esm/v3/schemas/fetch.d.ts +70 -70
- package/dist/esm/v3/schemas/idempotencyKey.test.js +14 -0
- package/dist/esm/v3/schemas/idempotencyKey.test.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +994 -994
- package/dist/esm/v3/schemas/openTelemetry.d.ts +90 -90
- package/dist/esm/v3/schemas/query.d.ts +41 -41
- package/dist/esm/v3/schemas/queues.d.ts +10 -10
- package/dist/esm/v3/schemas/resources.d.ts +128 -128
- package/dist/esm/v3/schemas/runEngine.d.ts +490 -490
- package/dist/esm/v3/schemas/schemas.d.ts +644 -644
- package/dist/esm/v3/schemas/style.d.ts +2 -2
- package/dist/esm/v3/schemas/webhooks.d.ts +814 -814
- package/dist/esm/v3/serverOnly/checkpointClient.d.ts +16 -0
- package/dist/esm/v3/serverOnly/checkpointClient.js +33 -0
- package/dist/esm/v3/serverOnly/checkpointClient.js.map +1 -1
- package/dist/esm/v3/serverOnly/placementTags.js.map +1 -1
- package/dist/esm/v3/serverOnly/shutdownManager.js.map +1 -1
- package/dist/esm/v3/sessionStreams/manager.js.map +1 -1
- package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/esm/v3/test/index.d.ts +3 -0
- package/dist/esm/v3/test/index.js +2 -0
- package/dist/esm/v3/test/index.js.map +1 -1
- package/dist/esm/v3/test/mock-task-context.d.ts +16 -1
- package/dist/esm/v3/test/mock-task-context.js +13 -5
- package/dist/esm/v3/test/mock-task-context.js.map +1 -1
- package/dist/esm/v3/test/session-waitpoint-backend.d.ts +68 -0
- package/dist/esm/v3/test/session-waitpoint-backend.js +222 -0
- package/dist/esm/v3/test/session-waitpoint-backend.js.map +1 -0
- package/dist/esm/v3/timeout/types.js.map +1 -1
- package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/esm/v3/tracer.js.map +1 -1
- package/dist/esm/v3/types/tasks.d.ts +21 -7
- package/dist/esm/v3/types/tasks.js.map +1 -1
- package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/prodUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/usageClient.js.map +1 -1
- package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
- package/dist/esm/v3/utils/retries.js.map +1 -1
- package/dist/esm/v3/utils/structuredLogger.js.map +1 -1
- package/dist/esm/v3/utils/timers.js.map +1 -1
- package/dist/esm/v3/waitUntil/manager.js.map +1 -1
- package/dist/esm/v3/workers/populateEnv.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/v3/workers/warmStartClient.js.map +1 -1
- package/dist/esm/v3/workloadDeploymentToken.d.ts +2 -2
- package/dist/esm/v3/zodIpc.js.map +1 -1
- package/dist/esm/v3/zodMessageHandler.d.ts +2 -2
- package/dist/esm/v3/zodMessageHandler.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +18 -3
|
@@ -28,11 +28,11 @@ export declare const WorkloadSuspendRunResponseBody: z.ZodDiscriminatedUnion<"ok
|
|
|
28
28
|
ok: z.ZodLiteral<false>;
|
|
29
29
|
error: z.ZodString;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
error: string;
|
|
32
31
|
ok: false;
|
|
33
|
-
}, {
|
|
34
32
|
error: string;
|
|
33
|
+
}, {
|
|
35
34
|
ok: false;
|
|
35
|
+
error: string;
|
|
36
36
|
}>]>;
|
|
37
37
|
export type WorkloadSuspendRunResponseBody = z.infer<typeof WorkloadSuspendRunResponseBody>;
|
|
38
38
|
export declare const WorkloadContinueRunExecutionResponseBody: z.ZodObject<{
|
|
@@ -44,16 +44,16 @@ export declare const WorkloadContinueRunExecutionResponseBody: z.ZodObject<{
|
|
|
44
44
|
createdAt: z.ZodDate;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
id: string;
|
|
47
|
-
createdAt: Date;
|
|
48
|
-
description: string;
|
|
49
47
|
friendlyId: string;
|
|
50
48
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
49
|
+
description: string;
|
|
50
|
+
createdAt: Date;
|
|
51
51
|
}, {
|
|
52
52
|
id: string;
|
|
53
|
-
createdAt: Date;
|
|
54
|
-
description: string;
|
|
55
53
|
friendlyId: string;
|
|
56
54
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
55
|
+
description: string;
|
|
56
|
+
createdAt: Date;
|
|
57
57
|
}>;
|
|
58
58
|
run: z.ZodObject<{
|
|
59
59
|
id: z.ZodString;
|
|
@@ -62,48 +62,48 @@ export declare const WorkloadContinueRunExecutionResponseBody: z.ZodObject<{
|
|
|
62
62
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
63
|
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
status: import("../../index.js").TaskRunStatus;
|
|
66
65
|
id: string;
|
|
67
66
|
friendlyId: string;
|
|
67
|
+
status: import("../../index.js").TaskRunStatus;
|
|
68
68
|
attemptNumber?: number | null | undefined;
|
|
69
69
|
taskEventStore?: string | undefined;
|
|
70
70
|
}, {
|
|
71
|
-
status: import("../../index.js").TaskRunStatus;
|
|
72
71
|
id: string;
|
|
73
72
|
friendlyId: string;
|
|
73
|
+
status: import("../../index.js").TaskRunStatus;
|
|
74
74
|
attemptNumber?: number | null | undefined;
|
|
75
75
|
taskEventStore?: string | undefined;
|
|
76
76
|
}>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
snapshot: {
|
|
79
|
+
id: string;
|
|
80
|
+
friendlyId: string;
|
|
81
|
+
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
82
|
+
description: string;
|
|
83
|
+
createdAt: Date;
|
|
84
|
+
};
|
|
78
85
|
run: {
|
|
79
|
-
status: import("../../index.js").TaskRunStatus;
|
|
80
86
|
id: string;
|
|
81
87
|
friendlyId: string;
|
|
88
|
+
status: import("../../index.js").TaskRunStatus;
|
|
82
89
|
attemptNumber?: number | null | undefined;
|
|
83
90
|
taskEventStore?: string | undefined;
|
|
84
91
|
};
|
|
92
|
+
}, {
|
|
85
93
|
snapshot: {
|
|
86
94
|
id: string;
|
|
87
|
-
createdAt: Date;
|
|
88
|
-
description: string;
|
|
89
95
|
friendlyId: string;
|
|
90
96
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
97
|
+
description: string;
|
|
98
|
+
createdAt: Date;
|
|
91
99
|
};
|
|
92
|
-
}, {
|
|
93
100
|
run: {
|
|
94
|
-
status: import("../../index.js").TaskRunStatus;
|
|
95
101
|
id: string;
|
|
96
102
|
friendlyId: string;
|
|
103
|
+
status: import("../../index.js").TaskRunStatus;
|
|
97
104
|
attemptNumber?: number | null | undefined;
|
|
98
105
|
taskEventStore?: string | undefined;
|
|
99
106
|
};
|
|
100
|
-
snapshot: {
|
|
101
|
-
id: string;
|
|
102
|
-
createdAt: Date;
|
|
103
|
-
description: string;
|
|
104
|
-
friendlyId: string;
|
|
105
|
-
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
106
|
-
};
|
|
107
107
|
}>;
|
|
108
108
|
export type WorkloadContinueRunExecutionResponseBody = z.infer<typeof WorkloadContinueRunExecutionResponseBody>;
|
|
109
109
|
export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
@@ -126,23 +126,23 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
126
126
|
type: z.ZodLiteral<"update">;
|
|
127
127
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
128
128
|
}, "strip", z.ZodTypeAny, {
|
|
129
|
-
value: Record<string, unknown>;
|
|
130
129
|
type: "update";
|
|
131
|
-
}, {
|
|
132
130
|
value: Record<string, unknown>;
|
|
131
|
+
}, {
|
|
133
132
|
type: "update";
|
|
133
|
+
value: Record<string, unknown>;
|
|
134
134
|
}>, z.ZodObject<{
|
|
135
135
|
type: z.ZodLiteral<"set">;
|
|
136
136
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
137
137
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
value: import("../../../index.js").DeserializedJson;
|
|
140
139
|
type: "set";
|
|
141
140
|
key: string;
|
|
142
|
-
}, {
|
|
143
141
|
value: import("../../../index.js").DeserializedJson;
|
|
142
|
+
}, {
|
|
144
143
|
type: "set";
|
|
145
144
|
key: string;
|
|
145
|
+
value: import("../../../index.js").DeserializedJson;
|
|
146
146
|
}>, z.ZodObject<{
|
|
147
147
|
type: z.ZodLiteral<"delete">;
|
|
148
148
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -157,59 +157,59 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
157
157
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
158
158
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
value: import("../../../index.js").DeserializedJson;
|
|
161
160
|
type: "append";
|
|
162
161
|
key: string;
|
|
163
|
-
}, {
|
|
164
162
|
value: import("../../../index.js").DeserializedJson;
|
|
163
|
+
}, {
|
|
165
164
|
type: "append";
|
|
166
165
|
key: string;
|
|
166
|
+
value: import("../../../index.js").DeserializedJson;
|
|
167
167
|
}>, z.ZodObject<{
|
|
168
168
|
type: z.ZodLiteral<"remove">;
|
|
169
169
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
170
170
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
|
-
value: import("../../../index.js").DeserializedJson;
|
|
173
172
|
type: "remove";
|
|
174
173
|
key: string;
|
|
175
|
-
}, {
|
|
176
174
|
value: import("../../../index.js").DeserializedJson;
|
|
175
|
+
}, {
|
|
177
176
|
type: "remove";
|
|
178
177
|
key: string;
|
|
178
|
+
value: import("../../../index.js").DeserializedJson;
|
|
179
179
|
}>, z.ZodObject<{
|
|
180
180
|
type: z.ZodLiteral<"increment">;
|
|
181
181
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
182
182
|
value: z.ZodNumber;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
value: number;
|
|
185
184
|
type: "increment";
|
|
186
185
|
key: string;
|
|
187
|
-
}, {
|
|
188
186
|
value: number;
|
|
187
|
+
}, {
|
|
189
188
|
type: "increment";
|
|
190
189
|
key: string;
|
|
190
|
+
value: number;
|
|
191
191
|
}>]>, "many">>;
|
|
192
192
|
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
193
193
|
type: z.ZodLiteral<"update">;
|
|
194
194
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
195
195
|
}, "strip", z.ZodTypeAny, {
|
|
196
|
-
value: Record<string, unknown>;
|
|
197
196
|
type: "update";
|
|
198
|
-
}, {
|
|
199
197
|
value: Record<string, unknown>;
|
|
198
|
+
}, {
|
|
200
199
|
type: "update";
|
|
200
|
+
value: Record<string, unknown>;
|
|
201
201
|
}>, z.ZodObject<{
|
|
202
202
|
type: z.ZodLiteral<"set">;
|
|
203
203
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
204
204
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
205
205
|
}, "strip", z.ZodTypeAny, {
|
|
206
|
-
value: import("../../../index.js").DeserializedJson;
|
|
207
206
|
type: "set";
|
|
208
207
|
key: string;
|
|
209
|
-
}, {
|
|
210
208
|
value: import("../../../index.js").DeserializedJson;
|
|
209
|
+
}, {
|
|
211
210
|
type: "set";
|
|
212
211
|
key: string;
|
|
212
|
+
value: import("../../../index.js").DeserializedJson;
|
|
213
213
|
}>, z.ZodObject<{
|
|
214
214
|
type: z.ZodLiteral<"delete">;
|
|
215
215
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -224,59 +224,59 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
224
224
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
225
225
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
|
-
value: import("../../../index.js").DeserializedJson;
|
|
228
227
|
type: "append";
|
|
229
228
|
key: string;
|
|
230
|
-
}, {
|
|
231
229
|
value: import("../../../index.js").DeserializedJson;
|
|
230
|
+
}, {
|
|
232
231
|
type: "append";
|
|
233
232
|
key: string;
|
|
233
|
+
value: import("../../../index.js").DeserializedJson;
|
|
234
234
|
}>, z.ZodObject<{
|
|
235
235
|
type: z.ZodLiteral<"remove">;
|
|
236
236
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
237
237
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
|
239
|
-
value: import("../../../index.js").DeserializedJson;
|
|
240
239
|
type: "remove";
|
|
241
240
|
key: string;
|
|
242
|
-
}, {
|
|
243
241
|
value: import("../../../index.js").DeserializedJson;
|
|
242
|
+
}, {
|
|
244
243
|
type: "remove";
|
|
245
244
|
key: string;
|
|
245
|
+
value: import("../../../index.js").DeserializedJson;
|
|
246
246
|
}>, z.ZodObject<{
|
|
247
247
|
type: z.ZodLiteral<"increment">;
|
|
248
248
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
249
249
|
value: z.ZodNumber;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
value: number;
|
|
252
251
|
type: "increment";
|
|
253
252
|
key: string;
|
|
254
|
-
}, {
|
|
255
253
|
value: number;
|
|
254
|
+
}, {
|
|
256
255
|
type: "increment";
|
|
257
256
|
key: string;
|
|
257
|
+
value: number;
|
|
258
258
|
}>]>, "many">>;
|
|
259
259
|
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
260
260
|
type: z.ZodLiteral<"update">;
|
|
261
261
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
262
262
|
}, "strip", z.ZodTypeAny, {
|
|
263
|
-
value: Record<string, unknown>;
|
|
264
263
|
type: "update";
|
|
265
|
-
}, {
|
|
266
264
|
value: Record<string, unknown>;
|
|
265
|
+
}, {
|
|
267
266
|
type: "update";
|
|
267
|
+
value: Record<string, unknown>;
|
|
268
268
|
}>, z.ZodObject<{
|
|
269
269
|
type: z.ZodLiteral<"set">;
|
|
270
270
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
271
271
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
|
-
value: import("../../../index.js").DeserializedJson;
|
|
274
273
|
type: "set";
|
|
275
274
|
key: string;
|
|
276
|
-
}, {
|
|
277
275
|
value: import("../../../index.js").DeserializedJson;
|
|
276
|
+
}, {
|
|
278
277
|
type: "set";
|
|
279
278
|
key: string;
|
|
279
|
+
value: import("../../../index.js").DeserializedJson;
|
|
280
280
|
}>, z.ZodObject<{
|
|
281
281
|
type: z.ZodLiteral<"delete">;
|
|
282
282
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -291,360 +291,360 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
291
291
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
292
292
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
|
-
value: import("../../../index.js").DeserializedJson;
|
|
295
294
|
type: "append";
|
|
296
295
|
key: string;
|
|
297
|
-
}, {
|
|
298
296
|
value: import("../../../index.js").DeserializedJson;
|
|
297
|
+
}, {
|
|
299
298
|
type: "append";
|
|
300
299
|
key: string;
|
|
300
|
+
value: import("../../../index.js").DeserializedJson;
|
|
301
301
|
}>, z.ZodObject<{
|
|
302
302
|
type: z.ZodLiteral<"remove">;
|
|
303
303
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
304
304
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
305
305
|
}, "strip", z.ZodTypeAny, {
|
|
306
|
-
value: import("../../../index.js").DeserializedJson;
|
|
307
306
|
type: "remove";
|
|
308
307
|
key: string;
|
|
309
|
-
}, {
|
|
310
308
|
value: import("../../../index.js").DeserializedJson;
|
|
309
|
+
}, {
|
|
311
310
|
type: "remove";
|
|
312
311
|
key: string;
|
|
312
|
+
value: import("../../../index.js").DeserializedJson;
|
|
313
313
|
}>, z.ZodObject<{
|
|
314
314
|
type: z.ZodLiteral<"increment">;
|
|
315
315
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
316
316
|
value: z.ZodNumber;
|
|
317
317
|
}, "strip", z.ZodTypeAny, {
|
|
318
|
-
value: number;
|
|
319
318
|
type: "increment";
|
|
320
319
|
key: string;
|
|
321
|
-
}, {
|
|
322
320
|
value: number;
|
|
321
|
+
}, {
|
|
323
322
|
type: "increment";
|
|
324
323
|
key: string;
|
|
324
|
+
value: number;
|
|
325
325
|
}>]>, "many">>;
|
|
326
326
|
}, "strip", z.ZodTypeAny, {
|
|
327
327
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
328
328
|
operations?: ({
|
|
329
|
-
value: Record<string, unknown>;
|
|
330
329
|
type: "update";
|
|
330
|
+
value: Record<string, unknown>;
|
|
331
331
|
} | {
|
|
332
|
-
value: import("../../../index.js").DeserializedJson;
|
|
333
332
|
type: "set";
|
|
334
333
|
key: string;
|
|
334
|
+
value: import("../../../index.js").DeserializedJson;
|
|
335
335
|
} | {
|
|
336
336
|
type: "delete";
|
|
337
337
|
key: string;
|
|
338
338
|
} | {
|
|
339
|
-
value: import("../../../index.js").DeserializedJson;
|
|
340
339
|
type: "append";
|
|
341
340
|
key: string;
|
|
342
|
-
} | {
|
|
343
341
|
value: import("../../../index.js").DeserializedJson;
|
|
342
|
+
} | {
|
|
344
343
|
type: "remove";
|
|
345
344
|
key: string;
|
|
345
|
+
value: import("../../../index.js").DeserializedJson;
|
|
346
346
|
} | {
|
|
347
|
-
value: number;
|
|
348
347
|
type: "increment";
|
|
349
348
|
key: string;
|
|
349
|
+
value: number;
|
|
350
350
|
})[] | undefined;
|
|
351
351
|
parentOperations?: ({
|
|
352
|
-
value: Record<string, unknown>;
|
|
353
352
|
type: "update";
|
|
353
|
+
value: Record<string, unknown>;
|
|
354
354
|
} | {
|
|
355
|
-
value: import("../../../index.js").DeserializedJson;
|
|
356
355
|
type: "set";
|
|
357
356
|
key: string;
|
|
357
|
+
value: import("../../../index.js").DeserializedJson;
|
|
358
358
|
} | {
|
|
359
359
|
type: "delete";
|
|
360
360
|
key: string;
|
|
361
361
|
} | {
|
|
362
|
-
value: import("../../../index.js").DeserializedJson;
|
|
363
362
|
type: "append";
|
|
364
363
|
key: string;
|
|
365
|
-
} | {
|
|
366
364
|
value: import("../../../index.js").DeserializedJson;
|
|
365
|
+
} | {
|
|
367
366
|
type: "remove";
|
|
368
367
|
key: string;
|
|
368
|
+
value: import("../../../index.js").DeserializedJson;
|
|
369
369
|
} | {
|
|
370
|
-
value: number;
|
|
371
370
|
type: "increment";
|
|
372
371
|
key: string;
|
|
372
|
+
value: number;
|
|
373
373
|
})[] | undefined;
|
|
374
374
|
rootOperations?: ({
|
|
375
|
-
value: Record<string, unknown>;
|
|
376
375
|
type: "update";
|
|
376
|
+
value: Record<string, unknown>;
|
|
377
377
|
} | {
|
|
378
|
-
value: import("../../../index.js").DeserializedJson;
|
|
379
378
|
type: "set";
|
|
380
379
|
key: string;
|
|
380
|
+
value: import("../../../index.js").DeserializedJson;
|
|
381
381
|
} | {
|
|
382
382
|
type: "delete";
|
|
383
383
|
key: string;
|
|
384
384
|
} | {
|
|
385
|
-
value: import("../../../index.js").DeserializedJson;
|
|
386
385
|
type: "append";
|
|
387
386
|
key: string;
|
|
388
|
-
} | {
|
|
389
387
|
value: import("../../../index.js").DeserializedJson;
|
|
388
|
+
} | {
|
|
390
389
|
type: "remove";
|
|
391
390
|
key: string;
|
|
391
|
+
value: import("../../../index.js").DeserializedJson;
|
|
392
392
|
} | {
|
|
393
|
-
value: number;
|
|
394
393
|
type: "increment";
|
|
395
394
|
key: string;
|
|
395
|
+
value: number;
|
|
396
396
|
})[] | undefined;
|
|
397
397
|
}, {
|
|
398
398
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
399
399
|
operations?: ({
|
|
400
|
-
value: Record<string, unknown>;
|
|
401
400
|
type: "update";
|
|
401
|
+
value: Record<string, unknown>;
|
|
402
402
|
} | {
|
|
403
|
-
value: import("../../../index.js").DeserializedJson;
|
|
404
403
|
type: "set";
|
|
405
404
|
key: string;
|
|
405
|
+
value: import("../../../index.js").DeserializedJson;
|
|
406
406
|
} | {
|
|
407
407
|
type: "delete";
|
|
408
408
|
key: string;
|
|
409
409
|
} | {
|
|
410
|
-
value: import("../../../index.js").DeserializedJson;
|
|
411
410
|
type: "append";
|
|
412
411
|
key: string;
|
|
413
|
-
} | {
|
|
414
412
|
value: import("../../../index.js").DeserializedJson;
|
|
413
|
+
} | {
|
|
415
414
|
type: "remove";
|
|
416
415
|
key: string;
|
|
416
|
+
value: import("../../../index.js").DeserializedJson;
|
|
417
417
|
} | {
|
|
418
|
-
value: number;
|
|
419
418
|
type: "increment";
|
|
420
419
|
key: string;
|
|
420
|
+
value: number;
|
|
421
421
|
})[] | undefined;
|
|
422
422
|
parentOperations?: ({
|
|
423
|
-
value: Record<string, unknown>;
|
|
424
423
|
type: "update";
|
|
424
|
+
value: Record<string, unknown>;
|
|
425
425
|
} | {
|
|
426
|
-
value: import("../../../index.js").DeserializedJson;
|
|
427
426
|
type: "set";
|
|
428
427
|
key: string;
|
|
428
|
+
value: import("../../../index.js").DeserializedJson;
|
|
429
429
|
} | {
|
|
430
430
|
type: "delete";
|
|
431
431
|
key: string;
|
|
432
432
|
} | {
|
|
433
|
-
value: import("../../../index.js").DeserializedJson;
|
|
434
433
|
type: "append";
|
|
435
434
|
key: string;
|
|
436
|
-
} | {
|
|
437
435
|
value: import("../../../index.js").DeserializedJson;
|
|
436
|
+
} | {
|
|
438
437
|
type: "remove";
|
|
439
438
|
key: string;
|
|
439
|
+
value: import("../../../index.js").DeserializedJson;
|
|
440
440
|
} | {
|
|
441
|
-
value: number;
|
|
442
441
|
type: "increment";
|
|
443
442
|
key: string;
|
|
443
|
+
value: number;
|
|
444
444
|
})[] | undefined;
|
|
445
445
|
rootOperations?: ({
|
|
446
|
-
value: Record<string, unknown>;
|
|
447
446
|
type: "update";
|
|
447
|
+
value: Record<string, unknown>;
|
|
448
448
|
} | {
|
|
449
|
-
value: import("../../../index.js").DeserializedJson;
|
|
450
449
|
type: "set";
|
|
451
450
|
key: string;
|
|
451
|
+
value: import("../../../index.js").DeserializedJson;
|
|
452
452
|
} | {
|
|
453
453
|
type: "delete";
|
|
454
454
|
key: string;
|
|
455
455
|
} | {
|
|
456
|
-
value: import("../../../index.js").DeserializedJson;
|
|
457
456
|
type: "append";
|
|
458
457
|
key: string;
|
|
459
|
-
} | {
|
|
460
458
|
value: import("../../../index.js").DeserializedJson;
|
|
459
|
+
} | {
|
|
461
460
|
type: "remove";
|
|
462
461
|
key: string;
|
|
462
|
+
value: import("../../../index.js").DeserializedJson;
|
|
463
463
|
} | {
|
|
464
|
-
value: number;
|
|
465
464
|
type: "increment";
|
|
466
465
|
key: string;
|
|
466
|
+
value: number;
|
|
467
467
|
})[] | undefined;
|
|
468
468
|
}>>;
|
|
469
469
|
flushedMetadata: z.ZodOptional<z.ZodObject<{
|
|
470
470
|
data: z.ZodOptional<z.ZodString>;
|
|
471
471
|
dataType: z.ZodString;
|
|
472
472
|
}, "strip", z.ZodTypeAny, {
|
|
473
|
-
dataType: string;
|
|
474
473
|
data?: string | undefined;
|
|
475
|
-
}, {
|
|
476
474
|
dataType: string;
|
|
475
|
+
}, {
|
|
477
476
|
data?: string | undefined;
|
|
477
|
+
dataType: string;
|
|
478
478
|
}>>;
|
|
479
479
|
}, "strip", z.ZodTypeAny, {
|
|
480
480
|
ok: true;
|
|
481
481
|
id: string;
|
|
482
|
-
outputType: string;
|
|
483
482
|
output?: string | undefined;
|
|
483
|
+
outputType: string;
|
|
484
|
+
usage?: {
|
|
485
|
+
durationMs: number;
|
|
486
|
+
} | undefined;
|
|
487
|
+
taskIdentifier?: string | undefined;
|
|
484
488
|
metadata?: {
|
|
485
489
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
486
490
|
operations?: ({
|
|
487
|
-
value: Record<string, unknown>;
|
|
488
491
|
type: "update";
|
|
492
|
+
value: Record<string, unknown>;
|
|
489
493
|
} | {
|
|
490
|
-
value: import("../../../index.js").DeserializedJson;
|
|
491
494
|
type: "set";
|
|
492
495
|
key: string;
|
|
496
|
+
value: import("../../../index.js").DeserializedJson;
|
|
493
497
|
} | {
|
|
494
498
|
type: "delete";
|
|
495
499
|
key: string;
|
|
496
500
|
} | {
|
|
497
|
-
value: import("../../../index.js").DeserializedJson;
|
|
498
501
|
type: "append";
|
|
499
502
|
key: string;
|
|
500
|
-
} | {
|
|
501
503
|
value: import("../../../index.js").DeserializedJson;
|
|
504
|
+
} | {
|
|
502
505
|
type: "remove";
|
|
503
506
|
key: string;
|
|
507
|
+
value: import("../../../index.js").DeserializedJson;
|
|
504
508
|
} | {
|
|
505
|
-
value: number;
|
|
506
509
|
type: "increment";
|
|
507
510
|
key: string;
|
|
511
|
+
value: number;
|
|
508
512
|
})[] | undefined;
|
|
509
513
|
parentOperations?: ({
|
|
510
|
-
value: Record<string, unknown>;
|
|
511
514
|
type: "update";
|
|
515
|
+
value: Record<string, unknown>;
|
|
512
516
|
} | {
|
|
513
|
-
value: import("../../../index.js").DeserializedJson;
|
|
514
517
|
type: "set";
|
|
515
518
|
key: string;
|
|
519
|
+
value: import("../../../index.js").DeserializedJson;
|
|
516
520
|
} | {
|
|
517
521
|
type: "delete";
|
|
518
522
|
key: string;
|
|
519
523
|
} | {
|
|
520
|
-
value: import("../../../index.js").DeserializedJson;
|
|
521
524
|
type: "append";
|
|
522
525
|
key: string;
|
|
523
|
-
} | {
|
|
524
526
|
value: import("../../../index.js").DeserializedJson;
|
|
527
|
+
} | {
|
|
525
528
|
type: "remove";
|
|
526
529
|
key: string;
|
|
530
|
+
value: import("../../../index.js").DeserializedJson;
|
|
527
531
|
} | {
|
|
528
|
-
value: number;
|
|
529
532
|
type: "increment";
|
|
530
533
|
key: string;
|
|
534
|
+
value: number;
|
|
531
535
|
})[] | undefined;
|
|
532
536
|
rootOperations?: ({
|
|
533
|
-
value: Record<string, unknown>;
|
|
534
537
|
type: "update";
|
|
538
|
+
value: Record<string, unknown>;
|
|
535
539
|
} | {
|
|
536
|
-
value: import("../../../index.js").DeserializedJson;
|
|
537
540
|
type: "set";
|
|
538
541
|
key: string;
|
|
542
|
+
value: import("../../../index.js").DeserializedJson;
|
|
539
543
|
} | {
|
|
540
544
|
type: "delete";
|
|
541
545
|
key: string;
|
|
542
546
|
} | {
|
|
543
|
-
value: import("../../../index.js").DeserializedJson;
|
|
544
547
|
type: "append";
|
|
545
548
|
key: string;
|
|
546
|
-
} | {
|
|
547
549
|
value: import("../../../index.js").DeserializedJson;
|
|
550
|
+
} | {
|
|
548
551
|
type: "remove";
|
|
549
552
|
key: string;
|
|
553
|
+
value: import("../../../index.js").DeserializedJson;
|
|
550
554
|
} | {
|
|
551
|
-
value: number;
|
|
552
555
|
type: "increment";
|
|
553
556
|
key: string;
|
|
557
|
+
value: number;
|
|
554
558
|
})[] | undefined;
|
|
555
559
|
} | undefined;
|
|
556
|
-
usage?: {
|
|
557
|
-
durationMs: number;
|
|
558
|
-
} | undefined;
|
|
559
|
-
taskIdentifier?: string | undefined;
|
|
560
560
|
flushedMetadata?: {
|
|
561
|
-
dataType: string;
|
|
562
561
|
data?: string | undefined;
|
|
562
|
+
dataType: string;
|
|
563
563
|
} | undefined;
|
|
564
564
|
}, {
|
|
565
565
|
ok: true;
|
|
566
566
|
id: string;
|
|
567
|
-
outputType: string;
|
|
568
567
|
output?: string | undefined;
|
|
568
|
+
outputType: string;
|
|
569
|
+
usage?: {
|
|
570
|
+
durationMs: number;
|
|
571
|
+
} | undefined;
|
|
572
|
+
taskIdentifier?: string | undefined;
|
|
569
573
|
metadata?: {
|
|
570
574
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
571
575
|
operations?: ({
|
|
572
|
-
value: Record<string, unknown>;
|
|
573
576
|
type: "update";
|
|
577
|
+
value: Record<string, unknown>;
|
|
574
578
|
} | {
|
|
575
|
-
value: import("../../../index.js").DeserializedJson;
|
|
576
579
|
type: "set";
|
|
577
580
|
key: string;
|
|
581
|
+
value: import("../../../index.js").DeserializedJson;
|
|
578
582
|
} | {
|
|
579
583
|
type: "delete";
|
|
580
584
|
key: string;
|
|
581
585
|
} | {
|
|
582
|
-
value: import("../../../index.js").DeserializedJson;
|
|
583
586
|
type: "append";
|
|
584
587
|
key: string;
|
|
585
|
-
} | {
|
|
586
588
|
value: import("../../../index.js").DeserializedJson;
|
|
589
|
+
} | {
|
|
587
590
|
type: "remove";
|
|
588
591
|
key: string;
|
|
592
|
+
value: import("../../../index.js").DeserializedJson;
|
|
589
593
|
} | {
|
|
590
|
-
value: number;
|
|
591
594
|
type: "increment";
|
|
592
595
|
key: string;
|
|
596
|
+
value: number;
|
|
593
597
|
})[] | undefined;
|
|
594
598
|
parentOperations?: ({
|
|
595
|
-
value: Record<string, unknown>;
|
|
596
599
|
type: "update";
|
|
600
|
+
value: Record<string, unknown>;
|
|
597
601
|
} | {
|
|
598
|
-
value: import("../../../index.js").DeserializedJson;
|
|
599
602
|
type: "set";
|
|
600
603
|
key: string;
|
|
604
|
+
value: import("../../../index.js").DeserializedJson;
|
|
601
605
|
} | {
|
|
602
606
|
type: "delete";
|
|
603
607
|
key: string;
|
|
604
608
|
} | {
|
|
605
|
-
value: import("../../../index.js").DeserializedJson;
|
|
606
609
|
type: "append";
|
|
607
610
|
key: string;
|
|
608
|
-
} | {
|
|
609
611
|
value: import("../../../index.js").DeserializedJson;
|
|
612
|
+
} | {
|
|
610
613
|
type: "remove";
|
|
611
614
|
key: string;
|
|
615
|
+
value: import("../../../index.js").DeserializedJson;
|
|
612
616
|
} | {
|
|
613
|
-
value: number;
|
|
614
617
|
type: "increment";
|
|
615
618
|
key: string;
|
|
619
|
+
value: number;
|
|
616
620
|
})[] | undefined;
|
|
617
621
|
rootOperations?: ({
|
|
618
|
-
value: Record<string, unknown>;
|
|
619
622
|
type: "update";
|
|
623
|
+
value: Record<string, unknown>;
|
|
620
624
|
} | {
|
|
621
|
-
value: import("../../../index.js").DeserializedJson;
|
|
622
625
|
type: "set";
|
|
623
626
|
key: string;
|
|
627
|
+
value: import("../../../index.js").DeserializedJson;
|
|
624
628
|
} | {
|
|
625
629
|
type: "delete";
|
|
626
630
|
key: string;
|
|
627
631
|
} | {
|
|
628
|
-
value: import("../../../index.js").DeserializedJson;
|
|
629
632
|
type: "append";
|
|
630
633
|
key: string;
|
|
631
|
-
} | {
|
|
632
634
|
value: import("../../../index.js").DeserializedJson;
|
|
635
|
+
} | {
|
|
633
636
|
type: "remove";
|
|
634
637
|
key: string;
|
|
638
|
+
value: import("../../../index.js").DeserializedJson;
|
|
635
639
|
} | {
|
|
636
|
-
value: number;
|
|
637
640
|
type: "increment";
|
|
638
641
|
key: string;
|
|
642
|
+
value: number;
|
|
639
643
|
})[] | undefined;
|
|
640
644
|
} | undefined;
|
|
641
|
-
usage?: {
|
|
642
|
-
durationMs: number;
|
|
643
|
-
} | undefined;
|
|
644
|
-
taskIdentifier?: string | undefined;
|
|
645
645
|
flushedMetadata?: {
|
|
646
|
-
dataType: string;
|
|
647
646
|
data?: string | undefined;
|
|
647
|
+
dataType: string;
|
|
648
648
|
} | undefined;
|
|
649
649
|
}>, z.ZodObject<{
|
|
650
650
|
ok: z.ZodLiteral<false>;
|
|
@@ -655,14 +655,14 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
655
655
|
message: z.ZodString;
|
|
656
656
|
stackTrace: z.ZodString;
|
|
657
657
|
}, "strip", z.ZodTypeAny, {
|
|
658
|
-
message: string;
|
|
659
658
|
type: "BUILT_IN_ERROR";
|
|
660
659
|
name: string;
|
|
660
|
+
message: string;
|
|
661
661
|
stackTrace: string;
|
|
662
662
|
}, {
|
|
663
|
-
message: string;
|
|
664
663
|
type: "BUILT_IN_ERROR";
|
|
665
664
|
name: string;
|
|
665
|
+
message: string;
|
|
666
666
|
stackTrace: string;
|
|
667
667
|
}>, z.ZodObject<{
|
|
668
668
|
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
@@ -688,13 +688,13 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
688
688
|
message: z.ZodOptional<z.ZodString>;
|
|
689
689
|
stackTrace: z.ZodOptional<z.ZodString>;
|
|
690
690
|
}, "strip", z.ZodTypeAny, {
|
|
691
|
-
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" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "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" | "BATCH_ITEM_COULD_NOT_TRIGGER" | "PAYLOAD_TOO_LARGE" | "UNSPECIFIED_ERROR";
|
|
692
691
|
type: "INTERNAL_ERROR";
|
|
692
|
+
code: "BATCH_ITEM_COULD_NOT_TRIGGER" | "CONFIGURED_INCORRECTLY" | "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "DISK_SPACE_EXCEEDED" | "GRACEFUL_EXIT_TIMEOUT" | "HANDLE_ERROR_ERROR" | "MAX_DURATION_EXCEEDED" | "OUTDATED_SDK_VERSION" | "PAYLOAD_TOO_LARGE" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "RECURSIVE_WAIT_DEADLOCK" | "TASK_ALREADY_RUNNING" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_DID_CONCURRENT_WAIT" | "TASK_EXECUTION_ABORTED" | "TASK_EXECUTION_FAILED" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_INPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_RUN_CANCELLED" | "TASK_RUN_CRASHED" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "UNSPECIFIED_ERROR";
|
|
693
693
|
message?: string | undefined;
|
|
694
694
|
stackTrace?: string | undefined;
|
|
695
695
|
}, {
|
|
696
|
-
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" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "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" | "BATCH_ITEM_COULD_NOT_TRIGGER" | "PAYLOAD_TOO_LARGE" | "UNSPECIFIED_ERROR";
|
|
697
696
|
type: "INTERNAL_ERROR";
|
|
697
|
+
code: "BATCH_ITEM_COULD_NOT_TRIGGER" | "CONFIGURED_INCORRECTLY" | "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "DISK_SPACE_EXCEEDED" | "GRACEFUL_EXIT_TIMEOUT" | "HANDLE_ERROR_ERROR" | "MAX_DURATION_EXCEEDED" | "OUTDATED_SDK_VERSION" | "PAYLOAD_TOO_LARGE" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "RECURSIVE_WAIT_DEADLOCK" | "TASK_ALREADY_RUNNING" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_DID_CONCURRENT_WAIT" | "TASK_EXECUTION_ABORTED" | "TASK_EXECUTION_FAILED" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_INPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_RUN_CANCELLED" | "TASK_RUN_CRASHED" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "UNSPECIFIED_ERROR";
|
|
698
698
|
message?: string | undefined;
|
|
699
699
|
stackTrace?: string | undefined;
|
|
700
700
|
}>]>;
|
|
@@ -726,23 +726,23 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
726
726
|
type: z.ZodLiteral<"update">;
|
|
727
727
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
|
-
value: Record<string, unknown>;
|
|
730
729
|
type: "update";
|
|
731
|
-
}, {
|
|
732
730
|
value: Record<string, unknown>;
|
|
731
|
+
}, {
|
|
733
732
|
type: "update";
|
|
733
|
+
value: Record<string, unknown>;
|
|
734
734
|
}>, z.ZodObject<{
|
|
735
735
|
type: z.ZodLiteral<"set">;
|
|
736
736
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
737
737
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
738
738
|
}, "strip", z.ZodTypeAny, {
|
|
739
|
-
value: import("../../../index.js").DeserializedJson;
|
|
740
739
|
type: "set";
|
|
741
740
|
key: string;
|
|
742
|
-
}, {
|
|
743
741
|
value: import("../../../index.js").DeserializedJson;
|
|
742
|
+
}, {
|
|
744
743
|
type: "set";
|
|
745
744
|
key: string;
|
|
745
|
+
value: import("../../../index.js").DeserializedJson;
|
|
746
746
|
}>, z.ZodObject<{
|
|
747
747
|
type: z.ZodLiteral<"delete">;
|
|
748
748
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -757,59 +757,59 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
757
757
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
758
758
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
|
-
value: import("../../../index.js").DeserializedJson;
|
|
761
760
|
type: "append";
|
|
762
761
|
key: string;
|
|
763
|
-
}, {
|
|
764
762
|
value: import("../../../index.js").DeserializedJson;
|
|
763
|
+
}, {
|
|
765
764
|
type: "append";
|
|
766
765
|
key: string;
|
|
766
|
+
value: import("../../../index.js").DeserializedJson;
|
|
767
767
|
}>, z.ZodObject<{
|
|
768
768
|
type: z.ZodLiteral<"remove">;
|
|
769
769
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
770
770
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
771
771
|
}, "strip", z.ZodTypeAny, {
|
|
772
|
-
value: import("../../../index.js").DeserializedJson;
|
|
773
772
|
type: "remove";
|
|
774
773
|
key: string;
|
|
775
|
-
}, {
|
|
776
774
|
value: import("../../../index.js").DeserializedJson;
|
|
775
|
+
}, {
|
|
777
776
|
type: "remove";
|
|
778
777
|
key: string;
|
|
778
|
+
value: import("../../../index.js").DeserializedJson;
|
|
779
779
|
}>, z.ZodObject<{
|
|
780
780
|
type: z.ZodLiteral<"increment">;
|
|
781
781
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
782
782
|
value: z.ZodNumber;
|
|
783
783
|
}, "strip", z.ZodTypeAny, {
|
|
784
|
-
value: number;
|
|
785
784
|
type: "increment";
|
|
786
785
|
key: string;
|
|
787
|
-
}, {
|
|
788
786
|
value: number;
|
|
787
|
+
}, {
|
|
789
788
|
type: "increment";
|
|
790
789
|
key: string;
|
|
790
|
+
value: number;
|
|
791
791
|
}>]>, "many">>;
|
|
792
792
|
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
793
793
|
type: z.ZodLiteral<"update">;
|
|
794
794
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
795
795
|
}, "strip", z.ZodTypeAny, {
|
|
796
|
-
value: Record<string, unknown>;
|
|
797
796
|
type: "update";
|
|
798
|
-
}, {
|
|
799
797
|
value: Record<string, unknown>;
|
|
798
|
+
}, {
|
|
800
799
|
type: "update";
|
|
800
|
+
value: Record<string, unknown>;
|
|
801
801
|
}>, z.ZodObject<{
|
|
802
802
|
type: z.ZodLiteral<"set">;
|
|
803
803
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
804
804
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
805
805
|
}, "strip", z.ZodTypeAny, {
|
|
806
|
-
value: import("../../../index.js").DeserializedJson;
|
|
807
806
|
type: "set";
|
|
808
807
|
key: string;
|
|
809
|
-
}, {
|
|
810
808
|
value: import("../../../index.js").DeserializedJson;
|
|
809
|
+
}, {
|
|
811
810
|
type: "set";
|
|
812
811
|
key: string;
|
|
812
|
+
value: import("../../../index.js").DeserializedJson;
|
|
813
813
|
}>, z.ZodObject<{
|
|
814
814
|
type: z.ZodLiteral<"delete">;
|
|
815
815
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -824,59 +824,59 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
824
824
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
825
825
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
826
826
|
}, "strip", z.ZodTypeAny, {
|
|
827
|
-
value: import("../../../index.js").DeserializedJson;
|
|
828
827
|
type: "append";
|
|
829
828
|
key: string;
|
|
830
|
-
}, {
|
|
831
829
|
value: import("../../../index.js").DeserializedJson;
|
|
830
|
+
}, {
|
|
832
831
|
type: "append";
|
|
833
832
|
key: string;
|
|
833
|
+
value: import("../../../index.js").DeserializedJson;
|
|
834
834
|
}>, z.ZodObject<{
|
|
835
835
|
type: z.ZodLiteral<"remove">;
|
|
836
836
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
837
837
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
838
838
|
}, "strip", z.ZodTypeAny, {
|
|
839
|
-
value: import("../../../index.js").DeserializedJson;
|
|
840
839
|
type: "remove";
|
|
841
840
|
key: string;
|
|
842
|
-
}, {
|
|
843
841
|
value: import("../../../index.js").DeserializedJson;
|
|
842
|
+
}, {
|
|
844
843
|
type: "remove";
|
|
845
844
|
key: string;
|
|
845
|
+
value: import("../../../index.js").DeserializedJson;
|
|
846
846
|
}>, z.ZodObject<{
|
|
847
847
|
type: z.ZodLiteral<"increment">;
|
|
848
848
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
849
849
|
value: z.ZodNumber;
|
|
850
850
|
}, "strip", z.ZodTypeAny, {
|
|
851
|
-
value: number;
|
|
852
851
|
type: "increment";
|
|
853
852
|
key: string;
|
|
854
|
-
}, {
|
|
855
853
|
value: number;
|
|
854
|
+
}, {
|
|
856
855
|
type: "increment";
|
|
857
856
|
key: string;
|
|
857
|
+
value: number;
|
|
858
858
|
}>]>, "many">>;
|
|
859
859
|
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
860
860
|
type: z.ZodLiteral<"update">;
|
|
861
861
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
862
862
|
}, "strip", z.ZodTypeAny, {
|
|
863
|
-
value: Record<string, unknown>;
|
|
864
863
|
type: "update";
|
|
865
|
-
}, {
|
|
866
864
|
value: Record<string, unknown>;
|
|
865
|
+
}, {
|
|
867
866
|
type: "update";
|
|
867
|
+
value: Record<string, unknown>;
|
|
868
868
|
}>, z.ZodObject<{
|
|
869
869
|
type: z.ZodLiteral<"set">;
|
|
870
870
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
871
871
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
872
872
|
}, "strip", z.ZodTypeAny, {
|
|
873
|
-
value: import("../../../index.js").DeserializedJson;
|
|
874
873
|
type: "set";
|
|
875
874
|
key: string;
|
|
876
|
-
}, {
|
|
877
875
|
value: import("../../../index.js").DeserializedJson;
|
|
876
|
+
}, {
|
|
878
877
|
type: "set";
|
|
879
878
|
key: string;
|
|
879
|
+
value: import("../../../index.js").DeserializedJson;
|
|
880
880
|
}>, z.ZodObject<{
|
|
881
881
|
type: z.ZodLiteral<"delete">;
|
|
882
882
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -891,196 +891,198 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
891
891
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
892
892
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
893
893
|
}, "strip", z.ZodTypeAny, {
|
|
894
|
-
value: import("../../../index.js").DeserializedJson;
|
|
895
894
|
type: "append";
|
|
896
895
|
key: string;
|
|
897
|
-
}, {
|
|
898
896
|
value: import("../../../index.js").DeserializedJson;
|
|
897
|
+
}, {
|
|
899
898
|
type: "append";
|
|
900
899
|
key: string;
|
|
900
|
+
value: import("../../../index.js").DeserializedJson;
|
|
901
901
|
}>, z.ZodObject<{
|
|
902
902
|
type: z.ZodLiteral<"remove">;
|
|
903
903
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
904
904
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
905
905
|
}, "strip", z.ZodTypeAny, {
|
|
906
|
-
value: import("../../../index.js").DeserializedJson;
|
|
907
906
|
type: "remove";
|
|
908
907
|
key: string;
|
|
909
|
-
}, {
|
|
910
908
|
value: import("../../../index.js").DeserializedJson;
|
|
909
|
+
}, {
|
|
911
910
|
type: "remove";
|
|
912
911
|
key: string;
|
|
912
|
+
value: import("../../../index.js").DeserializedJson;
|
|
913
913
|
}>, z.ZodObject<{
|
|
914
914
|
type: z.ZodLiteral<"increment">;
|
|
915
915
|
key: z.ZodEffects<z.ZodString, string, string>;
|
|
916
916
|
value: z.ZodNumber;
|
|
917
917
|
}, "strip", z.ZodTypeAny, {
|
|
918
|
-
value: number;
|
|
919
918
|
type: "increment";
|
|
920
919
|
key: string;
|
|
921
|
-
}, {
|
|
922
920
|
value: number;
|
|
921
|
+
}, {
|
|
923
922
|
type: "increment";
|
|
924
923
|
key: string;
|
|
924
|
+
value: number;
|
|
925
925
|
}>]>, "many">>;
|
|
926
926
|
}, "strip", z.ZodTypeAny, {
|
|
927
927
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
928
928
|
operations?: ({
|
|
929
|
-
value: Record<string, unknown>;
|
|
930
929
|
type: "update";
|
|
930
|
+
value: Record<string, unknown>;
|
|
931
931
|
} | {
|
|
932
|
-
value: import("../../../index.js").DeserializedJson;
|
|
933
932
|
type: "set";
|
|
934
933
|
key: string;
|
|
934
|
+
value: import("../../../index.js").DeserializedJson;
|
|
935
935
|
} | {
|
|
936
936
|
type: "delete";
|
|
937
937
|
key: string;
|
|
938
938
|
} | {
|
|
939
|
-
value: import("../../../index.js").DeserializedJson;
|
|
940
939
|
type: "append";
|
|
941
940
|
key: string;
|
|
942
|
-
} | {
|
|
943
941
|
value: import("../../../index.js").DeserializedJson;
|
|
942
|
+
} | {
|
|
944
943
|
type: "remove";
|
|
945
944
|
key: string;
|
|
945
|
+
value: import("../../../index.js").DeserializedJson;
|
|
946
946
|
} | {
|
|
947
|
-
value: number;
|
|
948
947
|
type: "increment";
|
|
949
948
|
key: string;
|
|
949
|
+
value: number;
|
|
950
950
|
})[] | undefined;
|
|
951
951
|
parentOperations?: ({
|
|
952
|
-
value: Record<string, unknown>;
|
|
953
952
|
type: "update";
|
|
953
|
+
value: Record<string, unknown>;
|
|
954
954
|
} | {
|
|
955
|
-
value: import("../../../index.js").DeserializedJson;
|
|
956
955
|
type: "set";
|
|
957
956
|
key: string;
|
|
957
|
+
value: import("../../../index.js").DeserializedJson;
|
|
958
958
|
} | {
|
|
959
959
|
type: "delete";
|
|
960
960
|
key: string;
|
|
961
961
|
} | {
|
|
962
|
-
value: import("../../../index.js").DeserializedJson;
|
|
963
962
|
type: "append";
|
|
964
963
|
key: string;
|
|
965
|
-
} | {
|
|
966
964
|
value: import("../../../index.js").DeserializedJson;
|
|
965
|
+
} | {
|
|
967
966
|
type: "remove";
|
|
968
967
|
key: string;
|
|
968
|
+
value: import("../../../index.js").DeserializedJson;
|
|
969
969
|
} | {
|
|
970
|
-
value: number;
|
|
971
970
|
type: "increment";
|
|
972
971
|
key: string;
|
|
972
|
+
value: number;
|
|
973
973
|
})[] | undefined;
|
|
974
974
|
rootOperations?: ({
|
|
975
|
-
value: Record<string, unknown>;
|
|
976
975
|
type: "update";
|
|
976
|
+
value: Record<string, unknown>;
|
|
977
977
|
} | {
|
|
978
|
-
value: import("../../../index.js").DeserializedJson;
|
|
979
978
|
type: "set";
|
|
980
979
|
key: string;
|
|
980
|
+
value: import("../../../index.js").DeserializedJson;
|
|
981
981
|
} | {
|
|
982
982
|
type: "delete";
|
|
983
983
|
key: string;
|
|
984
984
|
} | {
|
|
985
|
-
value: import("../../../index.js").DeserializedJson;
|
|
986
985
|
type: "append";
|
|
987
986
|
key: string;
|
|
988
|
-
} | {
|
|
989
987
|
value: import("../../../index.js").DeserializedJson;
|
|
988
|
+
} | {
|
|
990
989
|
type: "remove";
|
|
991
990
|
key: string;
|
|
991
|
+
value: import("../../../index.js").DeserializedJson;
|
|
992
992
|
} | {
|
|
993
|
-
value: number;
|
|
994
993
|
type: "increment";
|
|
995
994
|
key: string;
|
|
995
|
+
value: number;
|
|
996
996
|
})[] | undefined;
|
|
997
997
|
}, {
|
|
998
998
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
999
999
|
operations?: ({
|
|
1000
|
-
value: Record<string, unknown>;
|
|
1001
1000
|
type: "update";
|
|
1001
|
+
value: Record<string, unknown>;
|
|
1002
1002
|
} | {
|
|
1003
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1004
1003
|
type: "set";
|
|
1005
1004
|
key: string;
|
|
1005
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1006
1006
|
} | {
|
|
1007
1007
|
type: "delete";
|
|
1008
1008
|
key: string;
|
|
1009
1009
|
} | {
|
|
1010
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1011
1010
|
type: "append";
|
|
1012
1011
|
key: string;
|
|
1013
|
-
} | {
|
|
1014
1012
|
value: import("../../../index.js").DeserializedJson;
|
|
1013
|
+
} | {
|
|
1015
1014
|
type: "remove";
|
|
1016
1015
|
key: string;
|
|
1016
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1017
1017
|
} | {
|
|
1018
|
-
value: number;
|
|
1019
1018
|
type: "increment";
|
|
1020
1019
|
key: string;
|
|
1020
|
+
value: number;
|
|
1021
1021
|
})[] | undefined;
|
|
1022
1022
|
parentOperations?: ({
|
|
1023
|
-
value: Record<string, unknown>;
|
|
1024
1023
|
type: "update";
|
|
1024
|
+
value: Record<string, unknown>;
|
|
1025
1025
|
} | {
|
|
1026
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1027
1026
|
type: "set";
|
|
1028
1027
|
key: string;
|
|
1028
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1029
1029
|
} | {
|
|
1030
1030
|
type: "delete";
|
|
1031
1031
|
key: string;
|
|
1032
1032
|
} | {
|
|
1033
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1034
1033
|
type: "append";
|
|
1035
1034
|
key: string;
|
|
1036
|
-
} | {
|
|
1037
1035
|
value: import("../../../index.js").DeserializedJson;
|
|
1036
|
+
} | {
|
|
1038
1037
|
type: "remove";
|
|
1039
1038
|
key: string;
|
|
1039
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1040
1040
|
} | {
|
|
1041
|
-
value: number;
|
|
1042
1041
|
type: "increment";
|
|
1043
1042
|
key: string;
|
|
1043
|
+
value: number;
|
|
1044
1044
|
})[] | undefined;
|
|
1045
1045
|
rootOperations?: ({
|
|
1046
|
-
value: Record<string, unknown>;
|
|
1047
1046
|
type: "update";
|
|
1047
|
+
value: Record<string, unknown>;
|
|
1048
1048
|
} | {
|
|
1049
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1050
1049
|
type: "set";
|
|
1051
1050
|
key: string;
|
|
1051
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1052
1052
|
} | {
|
|
1053
1053
|
type: "delete";
|
|
1054
1054
|
key: string;
|
|
1055
1055
|
} | {
|
|
1056
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1057
1056
|
type: "append";
|
|
1058
1057
|
key: string;
|
|
1059
|
-
} | {
|
|
1060
1058
|
value: import("../../../index.js").DeserializedJson;
|
|
1059
|
+
} | {
|
|
1061
1060
|
type: "remove";
|
|
1062
1061
|
key: string;
|
|
1062
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1063
1063
|
} | {
|
|
1064
|
-
value: number;
|
|
1065
1064
|
type: "increment";
|
|
1066
1065
|
key: string;
|
|
1066
|
+
value: number;
|
|
1067
1067
|
})[] | undefined;
|
|
1068
1068
|
}>>;
|
|
1069
1069
|
flushedMetadata: z.ZodOptional<z.ZodObject<{
|
|
1070
1070
|
data: z.ZodOptional<z.ZodString>;
|
|
1071
1071
|
dataType: z.ZodString;
|
|
1072
1072
|
}, "strip", z.ZodTypeAny, {
|
|
1073
|
-
dataType: string;
|
|
1074
1073
|
data?: string | undefined;
|
|
1075
|
-
}, {
|
|
1076
1074
|
dataType: string;
|
|
1075
|
+
}, {
|
|
1077
1076
|
data?: string | undefined;
|
|
1077
|
+
dataType: string;
|
|
1078
1078
|
}>>;
|
|
1079
1079
|
}, "strip", z.ZodTypeAny, {
|
|
1080
|
+
ok: false;
|
|
1081
|
+
id: string;
|
|
1080
1082
|
error: {
|
|
1081
|
-
message: string;
|
|
1082
1083
|
type: "BUILT_IN_ERROR";
|
|
1083
1084
|
name: string;
|
|
1085
|
+
message: string;
|
|
1084
1086
|
stackTrace: string;
|
|
1085
1087
|
} | {
|
|
1086
1088
|
type: "CUSTOM_ERROR";
|
|
@@ -1089,104 +1091,104 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1089
1091
|
type: "STRING_ERROR";
|
|
1090
1092
|
raw: string;
|
|
1091
1093
|
} | {
|
|
1092
|
-
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" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "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" | "BATCH_ITEM_COULD_NOT_TRIGGER" | "PAYLOAD_TOO_LARGE" | "UNSPECIFIED_ERROR";
|
|
1093
1094
|
type: "INTERNAL_ERROR";
|
|
1095
|
+
code: "BATCH_ITEM_COULD_NOT_TRIGGER" | "CONFIGURED_INCORRECTLY" | "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "DISK_SPACE_EXCEEDED" | "GRACEFUL_EXIT_TIMEOUT" | "HANDLE_ERROR_ERROR" | "MAX_DURATION_EXCEEDED" | "OUTDATED_SDK_VERSION" | "PAYLOAD_TOO_LARGE" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "RECURSIVE_WAIT_DEADLOCK" | "TASK_ALREADY_RUNNING" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_DID_CONCURRENT_WAIT" | "TASK_EXECUTION_ABORTED" | "TASK_EXECUTION_FAILED" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_INPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_RUN_CANCELLED" | "TASK_RUN_CRASHED" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "UNSPECIFIED_ERROR";
|
|
1094
1096
|
message?: string | undefined;
|
|
1095
1097
|
stackTrace?: string | undefined;
|
|
1096
1098
|
};
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
+
retry?: {
|
|
1100
|
+
timestamp: number;
|
|
1101
|
+
delay: number;
|
|
1102
|
+
error?: unknown;
|
|
1103
|
+
} | undefined;
|
|
1104
|
+
skippedRetrying?: boolean | undefined;
|
|
1105
|
+
usage?: {
|
|
1106
|
+
durationMs: number;
|
|
1107
|
+
} | undefined;
|
|
1108
|
+
taskIdentifier?: string | undefined;
|
|
1099
1109
|
metadata?: {
|
|
1100
1110
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1101
1111
|
operations?: ({
|
|
1102
|
-
value: Record<string, unknown>;
|
|
1103
1112
|
type: "update";
|
|
1113
|
+
value: Record<string, unknown>;
|
|
1104
1114
|
} | {
|
|
1105
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1106
1115
|
type: "set";
|
|
1107
1116
|
key: string;
|
|
1117
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1108
1118
|
} | {
|
|
1109
1119
|
type: "delete";
|
|
1110
1120
|
key: string;
|
|
1111
1121
|
} | {
|
|
1112
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1113
1122
|
type: "append";
|
|
1114
1123
|
key: string;
|
|
1115
|
-
} | {
|
|
1116
1124
|
value: import("../../../index.js").DeserializedJson;
|
|
1125
|
+
} | {
|
|
1117
1126
|
type: "remove";
|
|
1118
1127
|
key: string;
|
|
1128
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1119
1129
|
} | {
|
|
1120
|
-
value: number;
|
|
1121
1130
|
type: "increment";
|
|
1122
1131
|
key: string;
|
|
1132
|
+
value: number;
|
|
1123
1133
|
})[] | undefined;
|
|
1124
1134
|
parentOperations?: ({
|
|
1125
|
-
value: Record<string, unknown>;
|
|
1126
1135
|
type: "update";
|
|
1136
|
+
value: Record<string, unknown>;
|
|
1127
1137
|
} | {
|
|
1128
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1129
1138
|
type: "set";
|
|
1130
1139
|
key: string;
|
|
1140
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1131
1141
|
} | {
|
|
1132
1142
|
type: "delete";
|
|
1133
1143
|
key: string;
|
|
1134
1144
|
} | {
|
|
1135
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1136
1145
|
type: "append";
|
|
1137
1146
|
key: string;
|
|
1138
|
-
} | {
|
|
1139
1147
|
value: import("../../../index.js").DeserializedJson;
|
|
1148
|
+
} | {
|
|
1140
1149
|
type: "remove";
|
|
1141
1150
|
key: string;
|
|
1151
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1142
1152
|
} | {
|
|
1143
|
-
value: number;
|
|
1144
1153
|
type: "increment";
|
|
1145
1154
|
key: string;
|
|
1155
|
+
value: number;
|
|
1146
1156
|
})[] | undefined;
|
|
1147
1157
|
rootOperations?: ({
|
|
1148
|
-
value: Record<string, unknown>;
|
|
1149
1158
|
type: "update";
|
|
1159
|
+
value: Record<string, unknown>;
|
|
1150
1160
|
} | {
|
|
1151
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1152
1161
|
type: "set";
|
|
1153
1162
|
key: string;
|
|
1163
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1154
1164
|
} | {
|
|
1155
1165
|
type: "delete";
|
|
1156
1166
|
key: string;
|
|
1157
1167
|
} | {
|
|
1158
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1159
1168
|
type: "append";
|
|
1160
1169
|
key: string;
|
|
1161
|
-
} | {
|
|
1162
1170
|
value: import("../../../index.js").DeserializedJson;
|
|
1171
|
+
} | {
|
|
1163
1172
|
type: "remove";
|
|
1164
1173
|
key: string;
|
|
1174
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1165
1175
|
} | {
|
|
1166
|
-
value: number;
|
|
1167
1176
|
type: "increment";
|
|
1168
1177
|
key: string;
|
|
1178
|
+
value: number;
|
|
1169
1179
|
})[] | undefined;
|
|
1170
1180
|
} | undefined;
|
|
1171
|
-
retry?: {
|
|
1172
|
-
timestamp: number;
|
|
1173
|
-
delay: number;
|
|
1174
|
-
error?: unknown;
|
|
1175
|
-
} | undefined;
|
|
1176
|
-
skippedRetrying?: boolean | undefined;
|
|
1177
|
-
usage?: {
|
|
1178
|
-
durationMs: number;
|
|
1179
|
-
} | undefined;
|
|
1180
|
-
taskIdentifier?: string | undefined;
|
|
1181
1181
|
flushedMetadata?: {
|
|
1182
|
-
dataType: string;
|
|
1183
1182
|
data?: string | undefined;
|
|
1183
|
+
dataType: string;
|
|
1184
1184
|
} | undefined;
|
|
1185
1185
|
}, {
|
|
1186
|
+
ok: false;
|
|
1187
|
+
id: string;
|
|
1186
1188
|
error: {
|
|
1187
|
-
message: string;
|
|
1188
1189
|
type: "BUILT_IN_ERROR";
|
|
1189
1190
|
name: string;
|
|
1191
|
+
message: string;
|
|
1190
1192
|
stackTrace: string;
|
|
1191
1193
|
} | {
|
|
1192
1194
|
type: "CUSTOM_ERROR";
|
|
@@ -1195,106 +1197,106 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1195
1197
|
type: "STRING_ERROR";
|
|
1196
1198
|
raw: string;
|
|
1197
1199
|
} | {
|
|
1198
|
-
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" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "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" | "BATCH_ITEM_COULD_NOT_TRIGGER" | "PAYLOAD_TOO_LARGE" | "UNSPECIFIED_ERROR";
|
|
1199
1200
|
type: "INTERNAL_ERROR";
|
|
1201
|
+
code: "BATCH_ITEM_COULD_NOT_TRIGGER" | "CONFIGURED_INCORRECTLY" | "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "DISK_SPACE_EXCEEDED" | "GRACEFUL_EXIT_TIMEOUT" | "HANDLE_ERROR_ERROR" | "MAX_DURATION_EXCEEDED" | "OUTDATED_SDK_VERSION" | "PAYLOAD_TOO_LARGE" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "RECURSIVE_WAIT_DEADLOCK" | "TASK_ALREADY_RUNNING" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_DID_CONCURRENT_WAIT" | "TASK_EXECUTION_ABORTED" | "TASK_EXECUTION_FAILED" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_INPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_RUN_CANCELLED" | "TASK_RUN_CRASHED" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "UNSPECIFIED_ERROR";
|
|
1200
1202
|
message?: string | undefined;
|
|
1201
1203
|
stackTrace?: string | undefined;
|
|
1202
1204
|
};
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
+
retry?: {
|
|
1206
|
+
timestamp: number;
|
|
1207
|
+
delay: number;
|
|
1208
|
+
error?: unknown;
|
|
1209
|
+
} | undefined;
|
|
1210
|
+
skippedRetrying?: boolean | undefined;
|
|
1211
|
+
usage?: {
|
|
1212
|
+
durationMs: number;
|
|
1213
|
+
} | undefined;
|
|
1214
|
+
taskIdentifier?: string | undefined;
|
|
1205
1215
|
metadata?: {
|
|
1206
1216
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1207
1217
|
operations?: ({
|
|
1208
|
-
value: Record<string, unknown>;
|
|
1209
1218
|
type: "update";
|
|
1219
|
+
value: Record<string, unknown>;
|
|
1210
1220
|
} | {
|
|
1211
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1212
1221
|
type: "set";
|
|
1213
1222
|
key: string;
|
|
1223
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1214
1224
|
} | {
|
|
1215
1225
|
type: "delete";
|
|
1216
1226
|
key: string;
|
|
1217
1227
|
} | {
|
|
1218
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1219
1228
|
type: "append";
|
|
1220
1229
|
key: string;
|
|
1221
|
-
} | {
|
|
1222
1230
|
value: import("../../../index.js").DeserializedJson;
|
|
1231
|
+
} | {
|
|
1223
1232
|
type: "remove";
|
|
1224
1233
|
key: string;
|
|
1234
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1225
1235
|
} | {
|
|
1226
|
-
value: number;
|
|
1227
1236
|
type: "increment";
|
|
1228
1237
|
key: string;
|
|
1238
|
+
value: number;
|
|
1229
1239
|
})[] | undefined;
|
|
1230
1240
|
parentOperations?: ({
|
|
1231
|
-
value: Record<string, unknown>;
|
|
1232
1241
|
type: "update";
|
|
1242
|
+
value: Record<string, unknown>;
|
|
1233
1243
|
} | {
|
|
1234
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1235
1244
|
type: "set";
|
|
1236
1245
|
key: string;
|
|
1246
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1237
1247
|
} | {
|
|
1238
1248
|
type: "delete";
|
|
1239
1249
|
key: string;
|
|
1240
1250
|
} | {
|
|
1241
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1242
1251
|
type: "append";
|
|
1243
1252
|
key: string;
|
|
1244
|
-
} | {
|
|
1245
1253
|
value: import("../../../index.js").DeserializedJson;
|
|
1254
|
+
} | {
|
|
1246
1255
|
type: "remove";
|
|
1247
1256
|
key: string;
|
|
1257
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1248
1258
|
} | {
|
|
1249
|
-
value: number;
|
|
1250
1259
|
type: "increment";
|
|
1251
1260
|
key: string;
|
|
1261
|
+
value: number;
|
|
1252
1262
|
})[] | undefined;
|
|
1253
1263
|
rootOperations?: ({
|
|
1254
|
-
value: Record<string, unknown>;
|
|
1255
1264
|
type: "update";
|
|
1265
|
+
value: Record<string, unknown>;
|
|
1256
1266
|
} | {
|
|
1257
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1258
1267
|
type: "set";
|
|
1259
1268
|
key: string;
|
|
1269
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1260
1270
|
} | {
|
|
1261
1271
|
type: "delete";
|
|
1262
1272
|
key: string;
|
|
1263
1273
|
} | {
|
|
1264
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1265
1274
|
type: "append";
|
|
1266
1275
|
key: string;
|
|
1267
|
-
} | {
|
|
1268
1276
|
value: import("../../../index.js").DeserializedJson;
|
|
1277
|
+
} | {
|
|
1269
1278
|
type: "remove";
|
|
1270
1279
|
key: string;
|
|
1280
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1271
1281
|
} | {
|
|
1272
|
-
value: number;
|
|
1273
1282
|
type: "increment";
|
|
1274
1283
|
key: string;
|
|
1284
|
+
value: number;
|
|
1275
1285
|
})[] | undefined;
|
|
1276
1286
|
} | undefined;
|
|
1277
|
-
retry?: {
|
|
1278
|
-
timestamp: number;
|
|
1279
|
-
delay: number;
|
|
1280
|
-
error?: unknown;
|
|
1281
|
-
} | undefined;
|
|
1282
|
-
skippedRetrying?: boolean | undefined;
|
|
1283
|
-
usage?: {
|
|
1284
|
-
durationMs: number;
|
|
1285
|
-
} | undefined;
|
|
1286
|
-
taskIdentifier?: string | undefined;
|
|
1287
1287
|
flushedMetadata?: {
|
|
1288
|
-
dataType: string;
|
|
1289
1288
|
data?: string | undefined;
|
|
1289
|
+
dataType: string;
|
|
1290
1290
|
} | undefined;
|
|
1291
1291
|
}>]>;
|
|
1292
1292
|
}, "strip", z.ZodTypeAny, {
|
|
1293
1293
|
completion: {
|
|
1294
|
+
ok: false;
|
|
1295
|
+
id: string;
|
|
1294
1296
|
error: {
|
|
1295
|
-
message: string;
|
|
1296
1297
|
type: "BUILT_IN_ERROR";
|
|
1297
1298
|
name: string;
|
|
1299
|
+
message: string;
|
|
1298
1300
|
stackTrace: string;
|
|
1299
1301
|
} | {
|
|
1300
1302
|
type: "CUSTOM_ERROR";
|
|
@@ -1303,191 +1305,191 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1303
1305
|
type: "STRING_ERROR";
|
|
1304
1306
|
raw: string;
|
|
1305
1307
|
} | {
|
|
1306
|
-
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" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "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" | "BATCH_ITEM_COULD_NOT_TRIGGER" | "PAYLOAD_TOO_LARGE" | "UNSPECIFIED_ERROR";
|
|
1307
1308
|
type: "INTERNAL_ERROR";
|
|
1309
|
+
code: "BATCH_ITEM_COULD_NOT_TRIGGER" | "CONFIGURED_INCORRECTLY" | "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "DISK_SPACE_EXCEEDED" | "GRACEFUL_EXIT_TIMEOUT" | "HANDLE_ERROR_ERROR" | "MAX_DURATION_EXCEEDED" | "OUTDATED_SDK_VERSION" | "PAYLOAD_TOO_LARGE" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "RECURSIVE_WAIT_DEADLOCK" | "TASK_ALREADY_RUNNING" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_DID_CONCURRENT_WAIT" | "TASK_EXECUTION_ABORTED" | "TASK_EXECUTION_FAILED" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_INPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_RUN_CANCELLED" | "TASK_RUN_CRASHED" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "UNSPECIFIED_ERROR";
|
|
1308
1310
|
message?: string | undefined;
|
|
1309
1311
|
stackTrace?: string | undefined;
|
|
1310
1312
|
};
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
+
retry?: {
|
|
1314
|
+
timestamp: number;
|
|
1315
|
+
delay: number;
|
|
1316
|
+
error?: unknown;
|
|
1317
|
+
} | undefined;
|
|
1318
|
+
skippedRetrying?: boolean | undefined;
|
|
1319
|
+
usage?: {
|
|
1320
|
+
durationMs: number;
|
|
1321
|
+
} | undefined;
|
|
1322
|
+
taskIdentifier?: string | undefined;
|
|
1313
1323
|
metadata?: {
|
|
1314
1324
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1315
1325
|
operations?: ({
|
|
1316
|
-
value: Record<string, unknown>;
|
|
1317
1326
|
type: "update";
|
|
1327
|
+
value: Record<string, unknown>;
|
|
1318
1328
|
} | {
|
|
1319
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1320
1329
|
type: "set";
|
|
1321
1330
|
key: string;
|
|
1331
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1322
1332
|
} | {
|
|
1323
1333
|
type: "delete";
|
|
1324
1334
|
key: string;
|
|
1325
1335
|
} | {
|
|
1326
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1327
1336
|
type: "append";
|
|
1328
1337
|
key: string;
|
|
1329
|
-
} | {
|
|
1330
1338
|
value: import("../../../index.js").DeserializedJson;
|
|
1339
|
+
} | {
|
|
1331
1340
|
type: "remove";
|
|
1332
1341
|
key: string;
|
|
1342
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1333
1343
|
} | {
|
|
1334
|
-
value: number;
|
|
1335
1344
|
type: "increment";
|
|
1336
1345
|
key: string;
|
|
1346
|
+
value: number;
|
|
1337
1347
|
})[] | undefined;
|
|
1338
1348
|
parentOperations?: ({
|
|
1339
|
-
value: Record<string, unknown>;
|
|
1340
1349
|
type: "update";
|
|
1350
|
+
value: Record<string, unknown>;
|
|
1341
1351
|
} | {
|
|
1342
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1343
1352
|
type: "set";
|
|
1344
1353
|
key: string;
|
|
1354
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1345
1355
|
} | {
|
|
1346
1356
|
type: "delete";
|
|
1347
1357
|
key: string;
|
|
1348
1358
|
} | {
|
|
1349
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1350
1359
|
type: "append";
|
|
1351
1360
|
key: string;
|
|
1352
|
-
} | {
|
|
1353
1361
|
value: import("../../../index.js").DeserializedJson;
|
|
1362
|
+
} | {
|
|
1354
1363
|
type: "remove";
|
|
1355
1364
|
key: string;
|
|
1365
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1356
1366
|
} | {
|
|
1357
|
-
value: number;
|
|
1358
1367
|
type: "increment";
|
|
1359
1368
|
key: string;
|
|
1369
|
+
value: number;
|
|
1360
1370
|
})[] | undefined;
|
|
1361
1371
|
rootOperations?: ({
|
|
1362
|
-
value: Record<string, unknown>;
|
|
1363
1372
|
type: "update";
|
|
1373
|
+
value: Record<string, unknown>;
|
|
1364
1374
|
} | {
|
|
1365
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1366
1375
|
type: "set";
|
|
1367
1376
|
key: string;
|
|
1377
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1368
1378
|
} | {
|
|
1369
1379
|
type: "delete";
|
|
1370
1380
|
key: string;
|
|
1371
1381
|
} | {
|
|
1372
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1373
1382
|
type: "append";
|
|
1374
1383
|
key: string;
|
|
1375
|
-
} | {
|
|
1376
1384
|
value: import("../../../index.js").DeserializedJson;
|
|
1385
|
+
} | {
|
|
1377
1386
|
type: "remove";
|
|
1378
1387
|
key: string;
|
|
1388
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1379
1389
|
} | {
|
|
1380
|
-
value: number;
|
|
1381
1390
|
type: "increment";
|
|
1382
1391
|
key: string;
|
|
1392
|
+
value: number;
|
|
1383
1393
|
})[] | undefined;
|
|
1384
1394
|
} | undefined;
|
|
1385
|
-
retry?: {
|
|
1386
|
-
timestamp: number;
|
|
1387
|
-
delay: number;
|
|
1388
|
-
error?: unknown;
|
|
1389
|
-
} | undefined;
|
|
1390
|
-
skippedRetrying?: boolean | undefined;
|
|
1391
|
-
usage?: {
|
|
1392
|
-
durationMs: number;
|
|
1393
|
-
} | undefined;
|
|
1394
|
-
taskIdentifier?: string | undefined;
|
|
1395
1395
|
flushedMetadata?: {
|
|
1396
|
-
dataType: string;
|
|
1397
1396
|
data?: string | undefined;
|
|
1397
|
+
dataType: string;
|
|
1398
1398
|
} | undefined;
|
|
1399
1399
|
} | {
|
|
1400
1400
|
ok: true;
|
|
1401
1401
|
id: string;
|
|
1402
|
-
outputType: string;
|
|
1403
1402
|
output?: string | undefined;
|
|
1403
|
+
outputType: string;
|
|
1404
|
+
usage?: {
|
|
1405
|
+
durationMs: number;
|
|
1406
|
+
} | undefined;
|
|
1407
|
+
taskIdentifier?: string | undefined;
|
|
1404
1408
|
metadata?: {
|
|
1405
1409
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1406
1410
|
operations?: ({
|
|
1407
|
-
value: Record<string, unknown>;
|
|
1408
1411
|
type: "update";
|
|
1412
|
+
value: Record<string, unknown>;
|
|
1409
1413
|
} | {
|
|
1410
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1411
1414
|
type: "set";
|
|
1412
1415
|
key: string;
|
|
1416
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1413
1417
|
} | {
|
|
1414
1418
|
type: "delete";
|
|
1415
1419
|
key: string;
|
|
1416
1420
|
} | {
|
|
1417
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1418
1421
|
type: "append";
|
|
1419
1422
|
key: string;
|
|
1420
|
-
} | {
|
|
1421
1423
|
value: import("../../../index.js").DeserializedJson;
|
|
1424
|
+
} | {
|
|
1422
1425
|
type: "remove";
|
|
1423
1426
|
key: string;
|
|
1427
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1424
1428
|
} | {
|
|
1425
|
-
value: number;
|
|
1426
1429
|
type: "increment";
|
|
1427
1430
|
key: string;
|
|
1431
|
+
value: number;
|
|
1428
1432
|
})[] | undefined;
|
|
1429
1433
|
parentOperations?: ({
|
|
1430
|
-
value: Record<string, unknown>;
|
|
1431
1434
|
type: "update";
|
|
1435
|
+
value: Record<string, unknown>;
|
|
1432
1436
|
} | {
|
|
1433
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1434
1437
|
type: "set";
|
|
1435
1438
|
key: string;
|
|
1439
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1436
1440
|
} | {
|
|
1437
1441
|
type: "delete";
|
|
1438
1442
|
key: string;
|
|
1439
1443
|
} | {
|
|
1440
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1441
1444
|
type: "append";
|
|
1442
1445
|
key: string;
|
|
1443
|
-
} | {
|
|
1444
1446
|
value: import("../../../index.js").DeserializedJson;
|
|
1447
|
+
} | {
|
|
1445
1448
|
type: "remove";
|
|
1446
1449
|
key: string;
|
|
1450
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1447
1451
|
} | {
|
|
1448
|
-
value: number;
|
|
1449
1452
|
type: "increment";
|
|
1450
1453
|
key: string;
|
|
1454
|
+
value: number;
|
|
1451
1455
|
})[] | undefined;
|
|
1452
1456
|
rootOperations?: ({
|
|
1453
|
-
value: Record<string, unknown>;
|
|
1454
1457
|
type: "update";
|
|
1458
|
+
value: Record<string, unknown>;
|
|
1455
1459
|
} | {
|
|
1456
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1457
1460
|
type: "set";
|
|
1458
1461
|
key: string;
|
|
1462
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1459
1463
|
} | {
|
|
1460
1464
|
type: "delete";
|
|
1461
1465
|
key: string;
|
|
1462
1466
|
} | {
|
|
1463
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1464
1467
|
type: "append";
|
|
1465
1468
|
key: string;
|
|
1466
|
-
} | {
|
|
1467
1469
|
value: import("../../../index.js").DeserializedJson;
|
|
1470
|
+
} | {
|
|
1468
1471
|
type: "remove";
|
|
1469
1472
|
key: string;
|
|
1473
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1470
1474
|
} | {
|
|
1471
|
-
value: number;
|
|
1472
1475
|
type: "increment";
|
|
1473
1476
|
key: string;
|
|
1477
|
+
value: number;
|
|
1474
1478
|
})[] | undefined;
|
|
1475
1479
|
} | undefined;
|
|
1476
|
-
usage?: {
|
|
1477
|
-
durationMs: number;
|
|
1478
|
-
} | undefined;
|
|
1479
|
-
taskIdentifier?: string | undefined;
|
|
1480
1480
|
flushedMetadata?: {
|
|
1481
|
-
dataType: string;
|
|
1482
1481
|
data?: string | undefined;
|
|
1482
|
+
dataType: string;
|
|
1483
1483
|
} | undefined;
|
|
1484
1484
|
};
|
|
1485
1485
|
}, {
|
|
1486
1486
|
completion: {
|
|
1487
|
+
ok: false;
|
|
1488
|
+
id: string;
|
|
1487
1489
|
error: {
|
|
1488
|
-
message: string;
|
|
1489
1490
|
type: "BUILT_IN_ERROR";
|
|
1490
1491
|
name: string;
|
|
1492
|
+
message: string;
|
|
1491
1493
|
stackTrace: string;
|
|
1492
1494
|
} | {
|
|
1493
1495
|
type: "CUSTOM_ERROR";
|
|
@@ -1496,183 +1498,181 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1496
1498
|
type: "STRING_ERROR";
|
|
1497
1499
|
raw: string;
|
|
1498
1500
|
} | {
|
|
1499
|
-
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" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "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" | "BATCH_ITEM_COULD_NOT_TRIGGER" | "PAYLOAD_TOO_LARGE" | "UNSPECIFIED_ERROR";
|
|
1500
1501
|
type: "INTERNAL_ERROR";
|
|
1502
|
+
code: "BATCH_ITEM_COULD_NOT_TRIGGER" | "CONFIGURED_INCORRECTLY" | "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "DISK_SPACE_EXCEEDED" | "GRACEFUL_EXIT_TIMEOUT" | "HANDLE_ERROR_ERROR" | "MAX_DURATION_EXCEEDED" | "OUTDATED_SDK_VERSION" | "PAYLOAD_TOO_LARGE" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "RECURSIVE_WAIT_DEADLOCK" | "TASK_ALREADY_RUNNING" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_DID_CONCURRENT_WAIT" | "TASK_EXECUTION_ABORTED" | "TASK_EXECUTION_FAILED" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_INPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_RUN_CANCELLED" | "TASK_RUN_CRASHED" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "TASK_RUN_UNCAUGHT_EXCEPTION" | "UNSPECIFIED_ERROR";
|
|
1501
1503
|
message?: string | undefined;
|
|
1502
1504
|
stackTrace?: string | undefined;
|
|
1503
1505
|
};
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
+
retry?: {
|
|
1507
|
+
timestamp: number;
|
|
1508
|
+
delay: number;
|
|
1509
|
+
error?: unknown;
|
|
1510
|
+
} | undefined;
|
|
1511
|
+
skippedRetrying?: boolean | undefined;
|
|
1512
|
+
usage?: {
|
|
1513
|
+
durationMs: number;
|
|
1514
|
+
} | undefined;
|
|
1515
|
+
taskIdentifier?: string | undefined;
|
|
1506
1516
|
metadata?: {
|
|
1507
1517
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1508
1518
|
operations?: ({
|
|
1509
|
-
value: Record<string, unknown>;
|
|
1510
1519
|
type: "update";
|
|
1520
|
+
value: Record<string, unknown>;
|
|
1511
1521
|
} | {
|
|
1512
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1513
1522
|
type: "set";
|
|
1514
1523
|
key: string;
|
|
1524
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1515
1525
|
} | {
|
|
1516
1526
|
type: "delete";
|
|
1517
1527
|
key: string;
|
|
1518
1528
|
} | {
|
|
1519
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1520
1529
|
type: "append";
|
|
1521
1530
|
key: string;
|
|
1522
|
-
} | {
|
|
1523
1531
|
value: import("../../../index.js").DeserializedJson;
|
|
1532
|
+
} | {
|
|
1524
1533
|
type: "remove";
|
|
1525
1534
|
key: string;
|
|
1535
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1526
1536
|
} | {
|
|
1527
|
-
value: number;
|
|
1528
1537
|
type: "increment";
|
|
1529
1538
|
key: string;
|
|
1539
|
+
value: number;
|
|
1530
1540
|
})[] | undefined;
|
|
1531
1541
|
parentOperations?: ({
|
|
1532
|
-
value: Record<string, unknown>;
|
|
1533
1542
|
type: "update";
|
|
1543
|
+
value: Record<string, unknown>;
|
|
1534
1544
|
} | {
|
|
1535
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1536
1545
|
type: "set";
|
|
1537
1546
|
key: string;
|
|
1547
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1538
1548
|
} | {
|
|
1539
1549
|
type: "delete";
|
|
1540
1550
|
key: string;
|
|
1541
1551
|
} | {
|
|
1542
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1543
1552
|
type: "append";
|
|
1544
1553
|
key: string;
|
|
1545
|
-
} | {
|
|
1546
1554
|
value: import("../../../index.js").DeserializedJson;
|
|
1555
|
+
} | {
|
|
1547
1556
|
type: "remove";
|
|
1548
1557
|
key: string;
|
|
1558
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1549
1559
|
} | {
|
|
1550
|
-
value: number;
|
|
1551
1560
|
type: "increment";
|
|
1552
1561
|
key: string;
|
|
1562
|
+
value: number;
|
|
1553
1563
|
})[] | undefined;
|
|
1554
1564
|
rootOperations?: ({
|
|
1555
|
-
value: Record<string, unknown>;
|
|
1556
1565
|
type: "update";
|
|
1566
|
+
value: Record<string, unknown>;
|
|
1557
1567
|
} | {
|
|
1558
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1559
1568
|
type: "set";
|
|
1560
1569
|
key: string;
|
|
1570
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1561
1571
|
} | {
|
|
1562
1572
|
type: "delete";
|
|
1563
1573
|
key: string;
|
|
1564
1574
|
} | {
|
|
1565
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1566
1575
|
type: "append";
|
|
1567
1576
|
key: string;
|
|
1568
|
-
} | {
|
|
1569
1577
|
value: import("../../../index.js").DeserializedJson;
|
|
1578
|
+
} | {
|
|
1570
1579
|
type: "remove";
|
|
1571
1580
|
key: string;
|
|
1581
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1572
1582
|
} | {
|
|
1573
|
-
value: number;
|
|
1574
1583
|
type: "increment";
|
|
1575
1584
|
key: string;
|
|
1585
|
+
value: number;
|
|
1576
1586
|
})[] | undefined;
|
|
1577
1587
|
} | undefined;
|
|
1578
|
-
retry?: {
|
|
1579
|
-
timestamp: number;
|
|
1580
|
-
delay: number;
|
|
1581
|
-
error?: unknown;
|
|
1582
|
-
} | undefined;
|
|
1583
|
-
skippedRetrying?: boolean | undefined;
|
|
1584
|
-
usage?: {
|
|
1585
|
-
durationMs: number;
|
|
1586
|
-
} | undefined;
|
|
1587
|
-
taskIdentifier?: string | undefined;
|
|
1588
1588
|
flushedMetadata?: {
|
|
1589
|
-
dataType: string;
|
|
1590
1589
|
data?: string | undefined;
|
|
1590
|
+
dataType: string;
|
|
1591
1591
|
} | undefined;
|
|
1592
1592
|
} | {
|
|
1593
1593
|
ok: true;
|
|
1594
1594
|
id: string;
|
|
1595
|
-
outputType: string;
|
|
1596
1595
|
output?: string | undefined;
|
|
1596
|
+
outputType: string;
|
|
1597
|
+
usage?: {
|
|
1598
|
+
durationMs: number;
|
|
1599
|
+
} | undefined;
|
|
1600
|
+
taskIdentifier?: string | undefined;
|
|
1597
1601
|
metadata?: {
|
|
1598
1602
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1599
1603
|
operations?: ({
|
|
1600
|
-
value: Record<string, unknown>;
|
|
1601
1604
|
type: "update";
|
|
1605
|
+
value: Record<string, unknown>;
|
|
1602
1606
|
} | {
|
|
1603
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1604
1607
|
type: "set";
|
|
1605
1608
|
key: string;
|
|
1609
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1606
1610
|
} | {
|
|
1607
1611
|
type: "delete";
|
|
1608
1612
|
key: string;
|
|
1609
1613
|
} | {
|
|
1610
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1611
1614
|
type: "append";
|
|
1612
1615
|
key: string;
|
|
1613
|
-
} | {
|
|
1614
1616
|
value: import("../../../index.js").DeserializedJson;
|
|
1617
|
+
} | {
|
|
1615
1618
|
type: "remove";
|
|
1616
1619
|
key: string;
|
|
1620
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1617
1621
|
} | {
|
|
1618
|
-
value: number;
|
|
1619
1622
|
type: "increment";
|
|
1620
1623
|
key: string;
|
|
1624
|
+
value: number;
|
|
1621
1625
|
})[] | undefined;
|
|
1622
1626
|
parentOperations?: ({
|
|
1623
|
-
value: Record<string, unknown>;
|
|
1624
1627
|
type: "update";
|
|
1628
|
+
value: Record<string, unknown>;
|
|
1625
1629
|
} | {
|
|
1626
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1627
1630
|
type: "set";
|
|
1628
1631
|
key: string;
|
|
1632
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1629
1633
|
} | {
|
|
1630
1634
|
type: "delete";
|
|
1631
1635
|
key: string;
|
|
1632
1636
|
} | {
|
|
1633
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1634
1637
|
type: "append";
|
|
1635
1638
|
key: string;
|
|
1636
|
-
} | {
|
|
1637
1639
|
value: import("../../../index.js").DeserializedJson;
|
|
1640
|
+
} | {
|
|
1638
1641
|
type: "remove";
|
|
1639
1642
|
key: string;
|
|
1643
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1640
1644
|
} | {
|
|
1641
|
-
value: number;
|
|
1642
1645
|
type: "increment";
|
|
1643
1646
|
key: string;
|
|
1647
|
+
value: number;
|
|
1644
1648
|
})[] | undefined;
|
|
1645
1649
|
rootOperations?: ({
|
|
1646
|
-
value: Record<string, unknown>;
|
|
1647
1650
|
type: "update";
|
|
1651
|
+
value: Record<string, unknown>;
|
|
1648
1652
|
} | {
|
|
1649
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1650
1653
|
type: "set";
|
|
1651
1654
|
key: string;
|
|
1655
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1652
1656
|
} | {
|
|
1653
1657
|
type: "delete";
|
|
1654
1658
|
key: string;
|
|
1655
1659
|
} | {
|
|
1656
|
-
value: import("../../../index.js").DeserializedJson;
|
|
1657
1660
|
type: "append";
|
|
1658
1661
|
key: string;
|
|
1659
|
-
} | {
|
|
1660
1662
|
value: import("../../../index.js").DeserializedJson;
|
|
1663
|
+
} | {
|
|
1661
1664
|
type: "remove";
|
|
1662
1665
|
key: string;
|
|
1666
|
+
value: import("../../../index.js").DeserializedJson;
|
|
1663
1667
|
} | {
|
|
1664
|
-
value: number;
|
|
1665
1668
|
type: "increment";
|
|
1666
1669
|
key: string;
|
|
1670
|
+
value: number;
|
|
1667
1671
|
})[] | undefined;
|
|
1668
1672
|
} | undefined;
|
|
1669
|
-
usage?: {
|
|
1670
|
-
durationMs: number;
|
|
1671
|
-
} | undefined;
|
|
1672
|
-
taskIdentifier?: string | undefined;
|
|
1673
1673
|
flushedMetadata?: {
|
|
1674
|
-
dataType: string;
|
|
1675
1674
|
data?: string | undefined;
|
|
1675
|
+
dataType: string;
|
|
1676
1676
|
} | undefined;
|
|
1677
1677
|
};
|
|
1678
1678
|
}>;
|
|
@@ -1681,9 +1681,9 @@ export declare const WorkloadRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
1681
1681
|
result: z.ZodIntersection<z.ZodObject<{
|
|
1682
1682
|
attemptStatus: z.ZodEnum<["RUN_FINISHED", "RUN_PENDING_CANCEL", "RETRY_QUEUED", "RETRY_IMMEDIATELY"]>;
|
|
1683
1683
|
}, "strip", z.ZodTypeAny, {
|
|
1684
|
-
attemptStatus: "
|
|
1684
|
+
attemptStatus: "RETRY_IMMEDIATELY" | "RETRY_QUEUED" | "RUN_FINISHED" | "RUN_PENDING_CANCEL";
|
|
1685
1685
|
}, {
|
|
1686
|
-
attemptStatus: "
|
|
1686
|
+
attemptStatus: "RETRY_IMMEDIATELY" | "RETRY_QUEUED" | "RUN_FINISHED" | "RUN_PENDING_CANCEL";
|
|
1687
1687
|
}>, z.ZodObject<{
|
|
1688
1688
|
snapshot: z.ZodObject<{
|
|
1689
1689
|
id: z.ZodString;
|
|
@@ -1693,16 +1693,16 @@ export declare const WorkloadRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
1693
1693
|
createdAt: z.ZodDate;
|
|
1694
1694
|
}, "strip", z.ZodTypeAny, {
|
|
1695
1695
|
id: string;
|
|
1696
|
-
createdAt: Date;
|
|
1697
|
-
description: string;
|
|
1698
1696
|
friendlyId: string;
|
|
1699
1697
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1698
|
+
description: string;
|
|
1699
|
+
createdAt: Date;
|
|
1700
1700
|
}, {
|
|
1701
1701
|
id: string;
|
|
1702
|
-
createdAt: Date;
|
|
1703
|
-
description: string;
|
|
1704
1702
|
friendlyId: string;
|
|
1705
1703
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1704
|
+
description: string;
|
|
1705
|
+
createdAt: Date;
|
|
1706
1706
|
}>;
|
|
1707
1707
|
run: z.ZodObject<{
|
|
1708
1708
|
id: z.ZodString;
|
|
@@ -1711,86 +1711,86 @@ export declare const WorkloadRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
1711
1711
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1712
1712
|
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
1713
1713
|
}, "strip", z.ZodTypeAny, {
|
|
1714
|
-
status: import("../../index.js").TaskRunStatus;
|
|
1715
1714
|
id: string;
|
|
1716
1715
|
friendlyId: string;
|
|
1716
|
+
status: import("../../index.js").TaskRunStatus;
|
|
1717
1717
|
attemptNumber?: number | null | undefined;
|
|
1718
1718
|
taskEventStore?: string | undefined;
|
|
1719
1719
|
}, {
|
|
1720
|
-
status: import("../../index.js").TaskRunStatus;
|
|
1721
1720
|
id: string;
|
|
1722
1721
|
friendlyId: string;
|
|
1722
|
+
status: import("../../index.js").TaskRunStatus;
|
|
1723
1723
|
attemptNumber?: number | null | undefined;
|
|
1724
1724
|
taskEventStore?: string | undefined;
|
|
1725
1725
|
}>;
|
|
1726
1726
|
}, "strip", z.ZodTypeAny, {
|
|
1727
|
+
snapshot: {
|
|
1728
|
+
id: string;
|
|
1729
|
+
friendlyId: string;
|
|
1730
|
+
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1731
|
+
description: string;
|
|
1732
|
+
createdAt: Date;
|
|
1733
|
+
};
|
|
1727
1734
|
run: {
|
|
1728
|
-
status: import("../../index.js").TaskRunStatus;
|
|
1729
1735
|
id: string;
|
|
1730
1736
|
friendlyId: string;
|
|
1737
|
+
status: import("../../index.js").TaskRunStatus;
|
|
1731
1738
|
attemptNumber?: number | null | undefined;
|
|
1732
1739
|
taskEventStore?: string | undefined;
|
|
1733
1740
|
};
|
|
1741
|
+
}, {
|
|
1734
1742
|
snapshot: {
|
|
1735
1743
|
id: string;
|
|
1736
|
-
createdAt: Date;
|
|
1737
|
-
description: string;
|
|
1738
1744
|
friendlyId: string;
|
|
1739
1745
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1746
|
+
description: string;
|
|
1747
|
+
createdAt: Date;
|
|
1740
1748
|
};
|
|
1741
|
-
}, {
|
|
1742
1749
|
run: {
|
|
1743
|
-
status: import("../../index.js").TaskRunStatus;
|
|
1744
1750
|
id: string;
|
|
1745
1751
|
friendlyId: string;
|
|
1752
|
+
status: import("../../index.js").TaskRunStatus;
|
|
1746
1753
|
attemptNumber?: number | null | undefined;
|
|
1747
1754
|
taskEventStore?: string | undefined;
|
|
1748
1755
|
};
|
|
1756
|
+
}>>;
|
|
1757
|
+
}, "strip", z.ZodTypeAny, {
|
|
1758
|
+
result: {
|
|
1759
|
+
attemptStatus: "RETRY_IMMEDIATELY" | "RETRY_QUEUED" | "RUN_FINISHED" | "RUN_PENDING_CANCEL";
|
|
1760
|
+
} & {
|
|
1749
1761
|
snapshot: {
|
|
1750
1762
|
id: string;
|
|
1751
|
-
createdAt: Date;
|
|
1752
|
-
description: string;
|
|
1753
1763
|
friendlyId: string;
|
|
1754
1764
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1765
|
+
description: string;
|
|
1766
|
+
createdAt: Date;
|
|
1755
1767
|
};
|
|
1756
|
-
}>>;
|
|
1757
|
-
}, "strip", z.ZodTypeAny, {
|
|
1758
|
-
result: {
|
|
1759
|
-
attemptStatus: "RUN_FINISHED" | "RUN_PENDING_CANCEL" | "RETRY_QUEUED" | "RETRY_IMMEDIATELY";
|
|
1760
|
-
} & {
|
|
1761
1768
|
run: {
|
|
1762
|
-
status: import("../../index.js").TaskRunStatus;
|
|
1763
1769
|
id: string;
|
|
1764
1770
|
friendlyId: string;
|
|
1771
|
+
status: import("../../index.js").TaskRunStatus;
|
|
1765
1772
|
attemptNumber?: number | null | undefined;
|
|
1766
1773
|
taskEventStore?: string | undefined;
|
|
1767
1774
|
};
|
|
1775
|
+
};
|
|
1776
|
+
}, {
|
|
1777
|
+
result: {
|
|
1778
|
+
attemptStatus: "RETRY_IMMEDIATELY" | "RETRY_QUEUED" | "RUN_FINISHED" | "RUN_PENDING_CANCEL";
|
|
1779
|
+
} & {
|
|
1768
1780
|
snapshot: {
|
|
1769
1781
|
id: string;
|
|
1770
|
-
createdAt: Date;
|
|
1771
|
-
description: string;
|
|
1772
1782
|
friendlyId: string;
|
|
1773
1783
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1784
|
+
description: string;
|
|
1785
|
+
createdAt: Date;
|
|
1774
1786
|
};
|
|
1775
|
-
};
|
|
1776
|
-
}, {
|
|
1777
|
-
result: {
|
|
1778
|
-
attemptStatus: "RUN_FINISHED" | "RUN_PENDING_CANCEL" | "RETRY_QUEUED" | "RETRY_IMMEDIATELY";
|
|
1779
|
-
} & {
|
|
1780
1787
|
run: {
|
|
1781
|
-
status: import("../../index.js").TaskRunStatus;
|
|
1782
1788
|
id: string;
|
|
1783
1789
|
friendlyId: string;
|
|
1790
|
+
status: import("../../index.js").TaskRunStatus;
|
|
1784
1791
|
attemptNumber?: number | null | undefined;
|
|
1785
1792
|
taskEventStore?: string | undefined;
|
|
1786
1793
|
};
|
|
1787
|
-
snapshot: {
|
|
1788
|
-
id: string;
|
|
1789
|
-
createdAt: Date;
|
|
1790
|
-
description: string;
|
|
1791
|
-
friendlyId: string;
|
|
1792
|
-
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1793
|
-
};
|
|
1794
1794
|
};
|
|
1795
1795
|
}>;
|
|
1796
1796
|
export type WorkloadRunAttemptCompleteResponseBody = z.infer<typeof WorkloadRunAttemptCompleteResponseBody>;
|
|
@@ -1811,16 +1811,16 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1811
1811
|
createdAt: z.ZodDate;
|
|
1812
1812
|
}, "strip", z.ZodTypeAny, {
|
|
1813
1813
|
id: string;
|
|
1814
|
-
createdAt: Date;
|
|
1815
|
-
description: string;
|
|
1816
1814
|
friendlyId: string;
|
|
1817
1815
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1816
|
+
description: string;
|
|
1817
|
+
createdAt: Date;
|
|
1818
1818
|
}, {
|
|
1819
1819
|
id: string;
|
|
1820
|
-
createdAt: Date;
|
|
1821
|
-
description: string;
|
|
1822
1820
|
friendlyId: string;
|
|
1823
1821
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1822
|
+
description: string;
|
|
1823
|
+
createdAt: Date;
|
|
1824
1824
|
}>;
|
|
1825
1825
|
run: z.ZodObject<{
|
|
1826
1826
|
id: z.ZodString;
|
|
@@ -1829,48 +1829,48 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1829
1829
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1830
1830
|
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
1831
1831
|
}, "strip", z.ZodTypeAny, {
|
|
1832
|
-
status: import("../../index.js").TaskRunStatus;
|
|
1833
1832
|
id: string;
|
|
1834
1833
|
friendlyId: string;
|
|
1834
|
+
status: import("../../index.js").TaskRunStatus;
|
|
1835
1835
|
attemptNumber?: number | null | undefined;
|
|
1836
1836
|
taskEventStore?: string | undefined;
|
|
1837
1837
|
}, {
|
|
1838
|
-
status: import("../../index.js").TaskRunStatus;
|
|
1839
1838
|
id: string;
|
|
1840
1839
|
friendlyId: string;
|
|
1840
|
+
status: import("../../index.js").TaskRunStatus;
|
|
1841
1841
|
attemptNumber?: number | null | undefined;
|
|
1842
1842
|
taskEventStore?: string | undefined;
|
|
1843
1843
|
}>;
|
|
1844
1844
|
}, "strip", z.ZodTypeAny, {
|
|
1845
|
+
snapshot: {
|
|
1846
|
+
id: string;
|
|
1847
|
+
friendlyId: string;
|
|
1848
|
+
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1849
|
+
description: string;
|
|
1850
|
+
createdAt: Date;
|
|
1851
|
+
};
|
|
1845
1852
|
run: {
|
|
1846
|
-
status: import("../../index.js").TaskRunStatus;
|
|
1847
1853
|
id: string;
|
|
1848
1854
|
friendlyId: string;
|
|
1855
|
+
status: import("../../index.js").TaskRunStatus;
|
|
1849
1856
|
attemptNumber?: number | null | undefined;
|
|
1850
1857
|
taskEventStore?: string | undefined;
|
|
1851
1858
|
};
|
|
1859
|
+
}, {
|
|
1852
1860
|
snapshot: {
|
|
1853
1861
|
id: string;
|
|
1854
|
-
createdAt: Date;
|
|
1855
|
-
description: string;
|
|
1856
1862
|
friendlyId: string;
|
|
1857
1863
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1864
|
+
description: string;
|
|
1865
|
+
createdAt: Date;
|
|
1858
1866
|
};
|
|
1859
|
-
}, {
|
|
1860
1867
|
run: {
|
|
1861
|
-
status: import("../../index.js").TaskRunStatus;
|
|
1862
1868
|
id: string;
|
|
1863
1869
|
friendlyId: string;
|
|
1870
|
+
status: import("../../index.js").TaskRunStatus;
|
|
1864
1871
|
attemptNumber?: number | null | undefined;
|
|
1865
1872
|
taskEventStore?: string | undefined;
|
|
1866
1873
|
};
|
|
1867
|
-
snapshot: {
|
|
1868
|
-
id: string;
|
|
1869
|
-
createdAt: Date;
|
|
1870
|
-
description: string;
|
|
1871
|
-
friendlyId: string;
|
|
1872
|
-
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
1873
|
-
};
|
|
1874
1874
|
}>, z.ZodObject<{
|
|
1875
1875
|
execution: z.ZodObject<{
|
|
1876
1876
|
task: z.ZodObject<{
|
|
@@ -1887,11 +1887,11 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1887
1887
|
id: z.ZodString;
|
|
1888
1888
|
name: z.ZodString;
|
|
1889
1889
|
}, "strip", z.ZodTypeAny, {
|
|
1890
|
-
name: string;
|
|
1891
1890
|
id: string;
|
|
1892
|
-
}, {
|
|
1893
1891
|
name: string;
|
|
1892
|
+
}, {
|
|
1894
1893
|
id: string;
|
|
1894
|
+
name: string;
|
|
1895
1895
|
}>;
|
|
1896
1896
|
environment: z.ZodObject<{
|
|
1897
1897
|
id: z.ZodString;
|
|
@@ -1913,73 +1913,73 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1913
1913
|
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
1914
1914
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
1915
1915
|
}, "strip", z.ZodTypeAny, {
|
|
1916
|
-
dirty?: boolean | undefined;
|
|
1917
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1918
1916
|
provider?: string | undefined;
|
|
1917
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
1919
1918
|
ghUsername?: string | undefined;
|
|
1920
1919
|
ghUserAvatarUrl?: string | undefined;
|
|
1921
1920
|
commitAuthorName?: string | undefined;
|
|
1922
1921
|
commitMessage?: string | undefined;
|
|
1923
1922
|
commitRef?: string | undefined;
|
|
1924
1923
|
commitSha?: string | undefined;
|
|
1924
|
+
dirty?: boolean | undefined;
|
|
1925
1925
|
remoteUrl?: string | undefined;
|
|
1926
1926
|
pullRequestNumber?: number | undefined;
|
|
1927
1927
|
pullRequestTitle?: string | undefined;
|
|
1928
|
-
pullRequestState?: "
|
|
1928
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
1929
1929
|
}, {
|
|
1930
|
-
dirty?: boolean | undefined;
|
|
1931
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1932
1930
|
provider?: string | undefined;
|
|
1931
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
1933
1932
|
ghUsername?: string | undefined;
|
|
1934
1933
|
ghUserAvatarUrl?: string | undefined;
|
|
1935
1934
|
commitAuthorName?: string | undefined;
|
|
1936
1935
|
commitMessage?: string | undefined;
|
|
1937
1936
|
commitRef?: string | undefined;
|
|
1938
1937
|
commitSha?: string | undefined;
|
|
1938
|
+
dirty?: boolean | undefined;
|
|
1939
1939
|
remoteUrl?: string | undefined;
|
|
1940
1940
|
pullRequestNumber?: number | undefined;
|
|
1941
1941
|
pullRequestTitle?: string | undefined;
|
|
1942
|
-
pullRequestState?: "
|
|
1942
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
1943
1943
|
}>>;
|
|
1944
1944
|
}, "strip", z.ZodTypeAny, {
|
|
1945
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1946
1945
|
id: string;
|
|
1947
1946
|
slug: string;
|
|
1947
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
1948
1948
|
branchName?: string | undefined;
|
|
1949
1949
|
git?: {
|
|
1950
|
-
dirty?: boolean | undefined;
|
|
1951
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1952
1950
|
provider?: string | undefined;
|
|
1951
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
1953
1952
|
ghUsername?: string | undefined;
|
|
1954
1953
|
ghUserAvatarUrl?: string | undefined;
|
|
1955
1954
|
commitAuthorName?: string | undefined;
|
|
1956
1955
|
commitMessage?: string | undefined;
|
|
1957
1956
|
commitRef?: string | undefined;
|
|
1958
1957
|
commitSha?: string | undefined;
|
|
1958
|
+
dirty?: boolean | undefined;
|
|
1959
1959
|
remoteUrl?: string | undefined;
|
|
1960
1960
|
pullRequestNumber?: number | undefined;
|
|
1961
1961
|
pullRequestTitle?: string | undefined;
|
|
1962
|
-
pullRequestState?: "
|
|
1962
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
1963
1963
|
} | undefined;
|
|
1964
1964
|
}, {
|
|
1965
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1966
1965
|
id: string;
|
|
1967
1966
|
slug: string;
|
|
1967
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
1968
1968
|
branchName?: string | undefined;
|
|
1969
1969
|
git?: {
|
|
1970
|
-
dirty?: boolean | undefined;
|
|
1971
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1972
1970
|
provider?: string | undefined;
|
|
1971
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
1973
1972
|
ghUsername?: string | undefined;
|
|
1974
1973
|
ghUserAvatarUrl?: string | undefined;
|
|
1975
1974
|
commitAuthorName?: string | undefined;
|
|
1976
1975
|
commitMessage?: string | undefined;
|
|
1977
1976
|
commitRef?: string | undefined;
|
|
1978
1977
|
commitSha?: string | undefined;
|
|
1978
|
+
dirty?: boolean | undefined;
|
|
1979
1979
|
remoteUrl?: string | undefined;
|
|
1980
1980
|
pullRequestNumber?: number | undefined;
|
|
1981
1981
|
pullRequestTitle?: string | undefined;
|
|
1982
|
-
pullRequestState?: "
|
|
1982
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
1983
1983
|
} | undefined;
|
|
1984
1984
|
}>;
|
|
1985
1985
|
organization: z.ZodObject<{
|
|
@@ -1987,13 +1987,13 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1987
1987
|
slug: z.ZodString;
|
|
1988
1988
|
name: z.ZodString;
|
|
1989
1989
|
}, "strip", z.ZodTypeAny, {
|
|
1990
|
-
name: string;
|
|
1991
1990
|
id: string;
|
|
1992
1991
|
slug: string;
|
|
1993
|
-
}, {
|
|
1994
1992
|
name: string;
|
|
1993
|
+
}, {
|
|
1995
1994
|
id: string;
|
|
1996
1995
|
slug: string;
|
|
1996
|
+
name: string;
|
|
1997
1997
|
}>;
|
|
1998
1998
|
project: z.ZodObject<{
|
|
1999
1999
|
id: z.ZodString;
|
|
@@ -2001,15 +2001,15 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2001
2001
|
slug: z.ZodString;
|
|
2002
2002
|
name: z.ZodString;
|
|
2003
2003
|
}, "strip", z.ZodTypeAny, {
|
|
2004
|
-
name: string;
|
|
2005
2004
|
id: string;
|
|
2006
|
-
slug: string;
|
|
2007
2005
|
ref: string;
|
|
2008
|
-
|
|
2006
|
+
slug: string;
|
|
2009
2007
|
name: string;
|
|
2008
|
+
}, {
|
|
2010
2009
|
id: string;
|
|
2011
|
-
slug: string;
|
|
2012
2010
|
ref: string;
|
|
2011
|
+
slug: string;
|
|
2012
|
+
name: string;
|
|
2013
2013
|
}>;
|
|
2014
2014
|
machine: z.ZodObject<{
|
|
2015
2015
|
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
@@ -2017,14 +2017,14 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2017
2017
|
memory: z.ZodNumber;
|
|
2018
2018
|
centsPerMs: z.ZodNumber;
|
|
2019
2019
|
}, "strip", z.ZodTypeAny, {
|
|
2020
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
2020
2021
|
cpu: number;
|
|
2021
2022
|
memory: number;
|
|
2022
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2023
2023
|
centsPerMs: number;
|
|
2024
2024
|
}, {
|
|
2025
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
2025
2026
|
cpu: number;
|
|
2026
2027
|
memory: number;
|
|
2027
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2028
2028
|
centsPerMs: number;
|
|
2029
2029
|
}>;
|
|
2030
2030
|
batch: z.ZodOptional<z.ZodObject<{
|
|
@@ -2055,75 +2055,75 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2055
2055
|
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
2056
2056
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
2057
2057
|
}, "strip", z.ZodTypeAny, {
|
|
2058
|
-
dirty?: boolean | undefined;
|
|
2059
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2060
2058
|
provider?: string | undefined;
|
|
2059
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2061
2060
|
ghUsername?: string | undefined;
|
|
2062
2061
|
ghUserAvatarUrl?: string | undefined;
|
|
2063
2062
|
commitAuthorName?: string | undefined;
|
|
2064
2063
|
commitMessage?: string | undefined;
|
|
2065
2064
|
commitRef?: string | undefined;
|
|
2066
2065
|
commitSha?: string | undefined;
|
|
2066
|
+
dirty?: boolean | undefined;
|
|
2067
2067
|
remoteUrl?: string | undefined;
|
|
2068
2068
|
pullRequestNumber?: number | undefined;
|
|
2069
2069
|
pullRequestTitle?: string | undefined;
|
|
2070
|
-
pullRequestState?: "
|
|
2070
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2071
2071
|
}, {
|
|
2072
|
-
dirty?: boolean | undefined;
|
|
2073
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2074
2072
|
provider?: string | undefined;
|
|
2073
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2075
2074
|
ghUsername?: string | undefined;
|
|
2076
2075
|
ghUserAvatarUrl?: string | undefined;
|
|
2077
2076
|
commitAuthorName?: string | undefined;
|
|
2078
2077
|
commitMessage?: string | undefined;
|
|
2079
2078
|
commitRef?: string | undefined;
|
|
2080
2079
|
commitSha?: string | undefined;
|
|
2080
|
+
dirty?: boolean | undefined;
|
|
2081
2081
|
remoteUrl?: string | undefined;
|
|
2082
2082
|
pullRequestNumber?: number | undefined;
|
|
2083
2083
|
pullRequestTitle?: string | undefined;
|
|
2084
|
-
pullRequestState?: "
|
|
2084
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2085
2085
|
}>>;
|
|
2086
2086
|
}, "strip", z.ZodTypeAny, {
|
|
2087
2087
|
id: string;
|
|
2088
|
-
version: string;
|
|
2089
2088
|
shortCode: string;
|
|
2089
|
+
version: string;
|
|
2090
2090
|
runtime: string;
|
|
2091
2091
|
runtimeVersion: string;
|
|
2092
2092
|
git?: {
|
|
2093
|
-
dirty?: boolean | undefined;
|
|
2094
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2095
2093
|
provider?: string | undefined;
|
|
2094
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2096
2095
|
ghUsername?: string | undefined;
|
|
2097
2096
|
ghUserAvatarUrl?: string | undefined;
|
|
2098
2097
|
commitAuthorName?: string | undefined;
|
|
2099
2098
|
commitMessage?: string | undefined;
|
|
2100
2099
|
commitRef?: string | undefined;
|
|
2101
2100
|
commitSha?: string | undefined;
|
|
2101
|
+
dirty?: boolean | undefined;
|
|
2102
2102
|
remoteUrl?: string | undefined;
|
|
2103
2103
|
pullRequestNumber?: number | undefined;
|
|
2104
2104
|
pullRequestTitle?: string | undefined;
|
|
2105
|
-
pullRequestState?: "
|
|
2105
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2106
2106
|
} | undefined;
|
|
2107
2107
|
}, {
|
|
2108
2108
|
id: string;
|
|
2109
|
-
version: string;
|
|
2110
2109
|
shortCode: string;
|
|
2110
|
+
version: string;
|
|
2111
2111
|
runtime: string;
|
|
2112
2112
|
runtimeVersion: string;
|
|
2113
2113
|
git?: {
|
|
2114
|
-
dirty?: boolean | undefined;
|
|
2115
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2116
2114
|
provider?: string | undefined;
|
|
2115
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2117
2116
|
ghUsername?: string | undefined;
|
|
2118
2117
|
ghUserAvatarUrl?: string | undefined;
|
|
2119
2118
|
commitAuthorName?: string | undefined;
|
|
2120
2119
|
commitMessage?: string | undefined;
|
|
2121
2120
|
commitRef?: string | undefined;
|
|
2122
2121
|
commitSha?: string | undefined;
|
|
2122
|
+
dirty?: boolean | undefined;
|
|
2123
2123
|
remoteUrl?: string | undefined;
|
|
2124
2124
|
pullRequestNumber?: number | undefined;
|
|
2125
2125
|
pullRequestTitle?: string | undefined;
|
|
2126
|
-
pullRequestState?: "
|
|
2126
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2127
2127
|
} | undefined;
|
|
2128
2128
|
}>>;
|
|
2129
2129
|
attempt: z.ZodObject<{
|
|
@@ -2159,19 +2159,19 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2159
2159
|
costInCents: z.ZodOptional<z.ZodNumber>;
|
|
2160
2160
|
region: z.ZodOptional<z.ZodString>;
|
|
2161
2161
|
}, "strip", z.ZodTypeAny, {
|
|
2162
|
-
payload: string;
|
|
2163
2162
|
id: string;
|
|
2163
|
+
payload: string;
|
|
2164
2164
|
payloadType: string;
|
|
2165
2165
|
tags: string[];
|
|
2166
2166
|
isTest: boolean;
|
|
2167
2167
|
isReplay: boolean;
|
|
2168
2168
|
createdAt: Date;
|
|
2169
2169
|
startedAt: Date;
|
|
2170
|
-
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2171
2170
|
idempotencyKey?: string | undefined;
|
|
2172
|
-
idempotencyKeyScope?: "
|
|
2171
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
2173
2172
|
maxAttempts?: number | undefined;
|
|
2174
2173
|
version?: string | undefined;
|
|
2174
|
+
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2175
2175
|
maxDuration?: number | undefined;
|
|
2176
2176
|
priority?: number | undefined;
|
|
2177
2177
|
baseCostInCents?: number | undefined;
|
|
@@ -2181,19 +2181,19 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2181
2181
|
costInCents?: number | undefined;
|
|
2182
2182
|
region?: string | undefined;
|
|
2183
2183
|
}, {
|
|
2184
|
-
payload: string;
|
|
2185
2184
|
id: string;
|
|
2185
|
+
payload: string;
|
|
2186
2186
|
payloadType: string;
|
|
2187
2187
|
tags: string[];
|
|
2188
|
-
createdAt: Date;
|
|
2189
|
-
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2190
2188
|
isTest?: boolean | undefined;
|
|
2191
2189
|
isReplay?: boolean | undefined;
|
|
2190
|
+
createdAt: Date;
|
|
2192
2191
|
startedAt?: Date | undefined;
|
|
2193
2192
|
idempotencyKey?: string | undefined;
|
|
2194
|
-
idempotencyKeyScope?: "
|
|
2193
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
2195
2194
|
maxAttempts?: number | undefined;
|
|
2196
2195
|
version?: string | undefined;
|
|
2196
|
+
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2197
2197
|
maxDuration?: number | undefined;
|
|
2198
2198
|
priority?: number | undefined;
|
|
2199
2199
|
baseCostInCents?: number | undefined;
|
|
@@ -2213,38 +2213,6 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2213
2213
|
realtimeStreamsVersion?: string | undefined;
|
|
2214
2214
|
}>>;
|
|
2215
2215
|
}, "strip", z.ZodTypeAny, {
|
|
2216
|
-
run: {
|
|
2217
|
-
payload: string;
|
|
2218
|
-
id: string;
|
|
2219
|
-
payloadType: string;
|
|
2220
|
-
tags: string[];
|
|
2221
|
-
isTest: boolean;
|
|
2222
|
-
isReplay: boolean;
|
|
2223
|
-
createdAt: Date;
|
|
2224
|
-
startedAt: Date;
|
|
2225
|
-
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2226
|
-
idempotencyKey?: string | undefined;
|
|
2227
|
-
idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
|
|
2228
|
-
maxAttempts?: number | undefined;
|
|
2229
|
-
version?: string | undefined;
|
|
2230
|
-
maxDuration?: number | undefined;
|
|
2231
|
-
priority?: number | undefined;
|
|
2232
|
-
baseCostInCents?: number | undefined;
|
|
2233
|
-
parentTaskRunId?: string | undefined;
|
|
2234
|
-
rootTaskRunId?: string | undefined;
|
|
2235
|
-
durationMs?: number | undefined;
|
|
2236
|
-
costInCents?: number | undefined;
|
|
2237
|
-
region?: string | undefined;
|
|
2238
|
-
} & {
|
|
2239
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
2240
|
-
realtimeStreamsVersion?: string | undefined;
|
|
2241
|
-
};
|
|
2242
|
-
attempt: {
|
|
2243
|
-
number: number;
|
|
2244
|
-
startedAt: Date;
|
|
2245
|
-
} & {
|
|
2246
|
-
[k: string]: unknown;
|
|
2247
|
-
};
|
|
2248
2216
|
task: {
|
|
2249
2217
|
id: string;
|
|
2250
2218
|
filePath: string;
|
|
@@ -2252,45 +2220,45 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2252
2220
|
[k: string]: unknown;
|
|
2253
2221
|
};
|
|
2254
2222
|
queue: {
|
|
2255
|
-
name: string;
|
|
2256
2223
|
id: string;
|
|
2224
|
+
name: string;
|
|
2257
2225
|
};
|
|
2258
2226
|
environment: {
|
|
2259
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2260
2227
|
id: string;
|
|
2261
2228
|
slug: string;
|
|
2229
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
2262
2230
|
branchName?: string | undefined;
|
|
2263
2231
|
git?: {
|
|
2264
|
-
dirty?: boolean | undefined;
|
|
2265
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2266
2232
|
provider?: string | undefined;
|
|
2233
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2267
2234
|
ghUsername?: string | undefined;
|
|
2268
2235
|
ghUserAvatarUrl?: string | undefined;
|
|
2269
2236
|
commitAuthorName?: string | undefined;
|
|
2270
2237
|
commitMessage?: string | undefined;
|
|
2271
2238
|
commitRef?: string | undefined;
|
|
2272
2239
|
commitSha?: string | undefined;
|
|
2240
|
+
dirty?: boolean | undefined;
|
|
2273
2241
|
remoteUrl?: string | undefined;
|
|
2274
2242
|
pullRequestNumber?: number | undefined;
|
|
2275
2243
|
pullRequestTitle?: string | undefined;
|
|
2276
|
-
pullRequestState?: "
|
|
2244
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2277
2245
|
} | undefined;
|
|
2278
2246
|
};
|
|
2279
2247
|
organization: {
|
|
2280
|
-
name: string;
|
|
2281
2248
|
id: string;
|
|
2282
2249
|
slug: string;
|
|
2250
|
+
name: string;
|
|
2283
2251
|
};
|
|
2284
2252
|
project: {
|
|
2285
|
-
name: string;
|
|
2286
2253
|
id: string;
|
|
2287
|
-
slug: string;
|
|
2288
2254
|
ref: string;
|
|
2255
|
+
slug: string;
|
|
2256
|
+
name: string;
|
|
2289
2257
|
};
|
|
2290
2258
|
machine: {
|
|
2259
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
2291
2260
|
cpu: number;
|
|
2292
2261
|
memory: number;
|
|
2293
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2294
2262
|
centsPerMs: number;
|
|
2295
2263
|
};
|
|
2296
2264
|
batch?: {
|
|
@@ -2298,41 +2266,46 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2298
2266
|
} | undefined;
|
|
2299
2267
|
deployment?: {
|
|
2300
2268
|
id: string;
|
|
2301
|
-
version: string;
|
|
2302
2269
|
shortCode: string;
|
|
2270
|
+
version: string;
|
|
2303
2271
|
runtime: string;
|
|
2304
2272
|
runtimeVersion: string;
|
|
2305
2273
|
git?: {
|
|
2306
|
-
dirty?: boolean | undefined;
|
|
2307
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2308
2274
|
provider?: string | undefined;
|
|
2275
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2309
2276
|
ghUsername?: string | undefined;
|
|
2310
2277
|
ghUserAvatarUrl?: string | undefined;
|
|
2311
2278
|
commitAuthorName?: string | undefined;
|
|
2312
2279
|
commitMessage?: string | undefined;
|
|
2313
2280
|
commitRef?: string | undefined;
|
|
2314
2281
|
commitSha?: string | undefined;
|
|
2282
|
+
dirty?: boolean | undefined;
|
|
2315
2283
|
remoteUrl?: string | undefined;
|
|
2316
2284
|
pullRequestNumber?: number | undefined;
|
|
2317
2285
|
pullRequestTitle?: string | undefined;
|
|
2318
|
-
pullRequestState?: "
|
|
2286
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2319
2287
|
} | undefined;
|
|
2320
2288
|
} | undefined;
|
|
2321
|
-
|
|
2289
|
+
attempt: {
|
|
2290
|
+
number: number;
|
|
2291
|
+
startedAt: Date;
|
|
2292
|
+
} & {
|
|
2293
|
+
[k: string]: unknown;
|
|
2294
|
+
};
|
|
2322
2295
|
run: {
|
|
2323
|
-
payload: string;
|
|
2324
2296
|
id: string;
|
|
2297
|
+
payload: string;
|
|
2325
2298
|
payloadType: string;
|
|
2326
2299
|
tags: string[];
|
|
2300
|
+
isTest: boolean;
|
|
2301
|
+
isReplay: boolean;
|
|
2327
2302
|
createdAt: Date;
|
|
2328
|
-
|
|
2329
|
-
isTest?: boolean | undefined;
|
|
2330
|
-
isReplay?: boolean | undefined;
|
|
2331
|
-
startedAt?: Date | undefined;
|
|
2303
|
+
startedAt: Date;
|
|
2332
2304
|
idempotencyKey?: string | undefined;
|
|
2333
|
-
idempotencyKeyScope?: "
|
|
2305
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
2334
2306
|
maxAttempts?: number | undefined;
|
|
2335
2307
|
version?: string | undefined;
|
|
2308
|
+
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2336
2309
|
maxDuration?: number | undefined;
|
|
2337
2310
|
priority?: number | undefined;
|
|
2338
2311
|
baseCostInCents?: number | undefined;
|
|
@@ -2345,12 +2318,7 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2345
2318
|
traceContext?: Record<string, unknown> | undefined;
|
|
2346
2319
|
realtimeStreamsVersion?: string | undefined;
|
|
2347
2320
|
};
|
|
2348
|
-
|
|
2349
|
-
number: number;
|
|
2350
|
-
startedAt: Date;
|
|
2351
|
-
} & {
|
|
2352
|
-
[k: string]: unknown;
|
|
2353
|
-
};
|
|
2321
|
+
}, {
|
|
2354
2322
|
task: {
|
|
2355
2323
|
id: string;
|
|
2356
2324
|
filePath: string;
|
|
@@ -2358,45 +2326,45 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2358
2326
|
[k: string]: unknown;
|
|
2359
2327
|
};
|
|
2360
2328
|
queue: {
|
|
2361
|
-
name: string;
|
|
2362
2329
|
id: string;
|
|
2330
|
+
name: string;
|
|
2363
2331
|
};
|
|
2364
2332
|
environment: {
|
|
2365
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2366
2333
|
id: string;
|
|
2367
2334
|
slug: string;
|
|
2335
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
2368
2336
|
branchName?: string | undefined;
|
|
2369
2337
|
git?: {
|
|
2370
|
-
dirty?: boolean | undefined;
|
|
2371
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2372
2338
|
provider?: string | undefined;
|
|
2339
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2373
2340
|
ghUsername?: string | undefined;
|
|
2374
2341
|
ghUserAvatarUrl?: string | undefined;
|
|
2375
2342
|
commitAuthorName?: string | undefined;
|
|
2376
2343
|
commitMessage?: string | undefined;
|
|
2377
2344
|
commitRef?: string | undefined;
|
|
2378
2345
|
commitSha?: string | undefined;
|
|
2346
|
+
dirty?: boolean | undefined;
|
|
2379
2347
|
remoteUrl?: string | undefined;
|
|
2380
2348
|
pullRequestNumber?: number | undefined;
|
|
2381
2349
|
pullRequestTitle?: string | undefined;
|
|
2382
|
-
pullRequestState?: "
|
|
2350
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2383
2351
|
} | undefined;
|
|
2384
2352
|
};
|
|
2385
2353
|
organization: {
|
|
2386
|
-
name: string;
|
|
2387
2354
|
id: string;
|
|
2388
2355
|
slug: string;
|
|
2356
|
+
name: string;
|
|
2389
2357
|
};
|
|
2390
2358
|
project: {
|
|
2391
|
-
name: string;
|
|
2392
2359
|
id: string;
|
|
2393
|
-
slug: string;
|
|
2394
2360
|
ref: string;
|
|
2361
|
+
slug: string;
|
|
2362
|
+
name: string;
|
|
2395
2363
|
};
|
|
2396
2364
|
machine: {
|
|
2365
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
2397
2366
|
cpu: number;
|
|
2398
2367
|
memory: number;
|
|
2399
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2400
2368
|
centsPerMs: number;
|
|
2401
2369
|
};
|
|
2402
2370
|
batch?: {
|
|
@@ -2404,43 +2372,46 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2404
2372
|
} | undefined;
|
|
2405
2373
|
deployment?: {
|
|
2406
2374
|
id: string;
|
|
2407
|
-
version: string;
|
|
2408
2375
|
shortCode: string;
|
|
2376
|
+
version: string;
|
|
2409
2377
|
runtime: string;
|
|
2410
2378
|
runtimeVersion: string;
|
|
2411
2379
|
git?: {
|
|
2412
|
-
dirty?: boolean | undefined;
|
|
2413
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2414
2380
|
provider?: string | undefined;
|
|
2381
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2415
2382
|
ghUsername?: string | undefined;
|
|
2416
2383
|
ghUserAvatarUrl?: string | undefined;
|
|
2417
2384
|
commitAuthorName?: string | undefined;
|
|
2418
2385
|
commitMessage?: string | undefined;
|
|
2419
2386
|
commitRef?: string | undefined;
|
|
2420
2387
|
commitSha?: string | undefined;
|
|
2388
|
+
dirty?: boolean | undefined;
|
|
2421
2389
|
remoteUrl?: string | undefined;
|
|
2422
2390
|
pullRequestNumber?: number | undefined;
|
|
2423
2391
|
pullRequestTitle?: string | undefined;
|
|
2424
|
-
pullRequestState?: "
|
|
2392
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2425
2393
|
} | undefined;
|
|
2426
2394
|
} | undefined;
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2395
|
+
attempt: {
|
|
2396
|
+
number: number;
|
|
2397
|
+
startedAt: Date;
|
|
2398
|
+
} & {
|
|
2399
|
+
[k: string]: unknown;
|
|
2400
|
+
};
|
|
2430
2401
|
run: {
|
|
2431
|
-
payload: string;
|
|
2432
2402
|
id: string;
|
|
2403
|
+
payload: string;
|
|
2433
2404
|
payloadType: string;
|
|
2434
2405
|
tags: string[];
|
|
2435
|
-
isTest
|
|
2436
|
-
isReplay
|
|
2406
|
+
isTest?: boolean | undefined;
|
|
2407
|
+
isReplay?: boolean | undefined;
|
|
2437
2408
|
createdAt: Date;
|
|
2438
|
-
startedAt
|
|
2439
|
-
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2409
|
+
startedAt?: Date | undefined;
|
|
2440
2410
|
idempotencyKey?: string | undefined;
|
|
2441
|
-
idempotencyKeyScope?: "
|
|
2411
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
2442
2412
|
maxAttempts?: number | undefined;
|
|
2443
2413
|
version?: string | undefined;
|
|
2414
|
+
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2444
2415
|
maxDuration?: number | undefined;
|
|
2445
2416
|
priority?: number | undefined;
|
|
2446
2417
|
baseCostInCents?: number | undefined;
|
|
@@ -2453,12 +2424,9 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2453
2424
|
traceContext?: Record<string, unknown> | undefined;
|
|
2454
2425
|
realtimeStreamsVersion?: string | undefined;
|
|
2455
2426
|
};
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
} & {
|
|
2460
|
-
[k: string]: unknown;
|
|
2461
|
-
};
|
|
2427
|
+
}>;
|
|
2428
|
+
}, "strip", z.ZodTypeAny, {
|
|
2429
|
+
execution: {
|
|
2462
2430
|
task: {
|
|
2463
2431
|
id: string;
|
|
2464
2432
|
filePath: string;
|
|
@@ -2466,45 +2434,45 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2466
2434
|
[k: string]: unknown;
|
|
2467
2435
|
};
|
|
2468
2436
|
queue: {
|
|
2469
|
-
name: string;
|
|
2470
2437
|
id: string;
|
|
2438
|
+
name: string;
|
|
2471
2439
|
};
|
|
2472
2440
|
environment: {
|
|
2473
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2474
2441
|
id: string;
|
|
2475
2442
|
slug: string;
|
|
2443
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
2476
2444
|
branchName?: string | undefined;
|
|
2477
2445
|
git?: {
|
|
2478
|
-
dirty?: boolean | undefined;
|
|
2479
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2480
2446
|
provider?: string | undefined;
|
|
2447
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2481
2448
|
ghUsername?: string | undefined;
|
|
2482
2449
|
ghUserAvatarUrl?: string | undefined;
|
|
2483
2450
|
commitAuthorName?: string | undefined;
|
|
2484
2451
|
commitMessage?: string | undefined;
|
|
2485
2452
|
commitRef?: string | undefined;
|
|
2486
2453
|
commitSha?: string | undefined;
|
|
2454
|
+
dirty?: boolean | undefined;
|
|
2487
2455
|
remoteUrl?: string | undefined;
|
|
2488
2456
|
pullRequestNumber?: number | undefined;
|
|
2489
2457
|
pullRequestTitle?: string | undefined;
|
|
2490
|
-
pullRequestState?: "
|
|
2458
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2491
2459
|
} | undefined;
|
|
2492
2460
|
};
|
|
2493
2461
|
organization: {
|
|
2494
|
-
name: string;
|
|
2495
2462
|
id: string;
|
|
2496
2463
|
slug: string;
|
|
2464
|
+
name: string;
|
|
2497
2465
|
};
|
|
2498
2466
|
project: {
|
|
2499
|
-
name: string;
|
|
2500
2467
|
id: string;
|
|
2501
|
-
slug: string;
|
|
2502
2468
|
ref: string;
|
|
2469
|
+
slug: string;
|
|
2470
|
+
name: string;
|
|
2503
2471
|
};
|
|
2504
2472
|
machine: {
|
|
2473
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
2505
2474
|
cpu: number;
|
|
2506
2475
|
memory: number;
|
|
2507
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2508
2476
|
centsPerMs: number;
|
|
2509
2477
|
};
|
|
2510
2478
|
batch?: {
|
|
@@ -2512,43 +2480,46 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2512
2480
|
} | undefined;
|
|
2513
2481
|
deployment?: {
|
|
2514
2482
|
id: string;
|
|
2515
|
-
version: string;
|
|
2516
2483
|
shortCode: string;
|
|
2484
|
+
version: string;
|
|
2517
2485
|
runtime: string;
|
|
2518
2486
|
runtimeVersion: string;
|
|
2519
2487
|
git?: {
|
|
2520
|
-
dirty?: boolean | undefined;
|
|
2521
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2522
2488
|
provider?: string | undefined;
|
|
2489
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2523
2490
|
ghUsername?: string | undefined;
|
|
2524
2491
|
ghUserAvatarUrl?: string | undefined;
|
|
2525
2492
|
commitAuthorName?: string | undefined;
|
|
2526
2493
|
commitMessage?: string | undefined;
|
|
2527
2494
|
commitRef?: string | undefined;
|
|
2528
2495
|
commitSha?: string | undefined;
|
|
2496
|
+
dirty?: boolean | undefined;
|
|
2529
2497
|
remoteUrl?: string | undefined;
|
|
2530
2498
|
pullRequestNumber?: number | undefined;
|
|
2531
2499
|
pullRequestTitle?: string | undefined;
|
|
2532
|
-
pullRequestState?: "
|
|
2500
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2533
2501
|
} | undefined;
|
|
2534
2502
|
} | undefined;
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2503
|
+
attempt: {
|
|
2504
|
+
number: number;
|
|
2505
|
+
startedAt: Date;
|
|
2506
|
+
} & {
|
|
2507
|
+
[k: string]: unknown;
|
|
2508
|
+
};
|
|
2538
2509
|
run: {
|
|
2539
|
-
payload: string;
|
|
2540
2510
|
id: string;
|
|
2511
|
+
payload: string;
|
|
2541
2512
|
payloadType: string;
|
|
2542
2513
|
tags: string[];
|
|
2514
|
+
isTest: boolean;
|
|
2515
|
+
isReplay: boolean;
|
|
2543
2516
|
createdAt: Date;
|
|
2544
|
-
|
|
2545
|
-
isTest?: boolean | undefined;
|
|
2546
|
-
isReplay?: boolean | undefined;
|
|
2547
|
-
startedAt?: Date | undefined;
|
|
2517
|
+
startedAt: Date;
|
|
2548
2518
|
idempotencyKey?: string | undefined;
|
|
2549
|
-
idempotencyKeyScope?: "
|
|
2519
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
2550
2520
|
maxAttempts?: number | undefined;
|
|
2551
2521
|
version?: string | undefined;
|
|
2522
|
+
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2552
2523
|
maxDuration?: number | undefined;
|
|
2553
2524
|
priority?: number | undefined;
|
|
2554
2525
|
baseCostInCents?: number | undefined;
|
|
@@ -2561,12 +2532,9 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2561
2532
|
traceContext?: Record<string, unknown> | undefined;
|
|
2562
2533
|
realtimeStreamsVersion?: string | undefined;
|
|
2563
2534
|
};
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
} & {
|
|
2568
|
-
[k: string]: unknown;
|
|
2569
|
-
};
|
|
2535
|
+
};
|
|
2536
|
+
}, {
|
|
2537
|
+
execution: {
|
|
2570
2538
|
task: {
|
|
2571
2539
|
id: string;
|
|
2572
2540
|
filePath: string;
|
|
@@ -2574,45 +2542,45 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2574
2542
|
[k: string]: unknown;
|
|
2575
2543
|
};
|
|
2576
2544
|
queue: {
|
|
2577
|
-
name: string;
|
|
2578
2545
|
id: string;
|
|
2546
|
+
name: string;
|
|
2579
2547
|
};
|
|
2580
2548
|
environment: {
|
|
2581
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2582
2549
|
id: string;
|
|
2583
2550
|
slug: string;
|
|
2551
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
2584
2552
|
branchName?: string | undefined;
|
|
2585
2553
|
git?: {
|
|
2586
|
-
dirty?: boolean | undefined;
|
|
2587
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2588
2554
|
provider?: string | undefined;
|
|
2555
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2589
2556
|
ghUsername?: string | undefined;
|
|
2590
2557
|
ghUserAvatarUrl?: string | undefined;
|
|
2591
2558
|
commitAuthorName?: string | undefined;
|
|
2592
2559
|
commitMessage?: string | undefined;
|
|
2593
2560
|
commitRef?: string | undefined;
|
|
2594
2561
|
commitSha?: string | undefined;
|
|
2562
|
+
dirty?: boolean | undefined;
|
|
2595
2563
|
remoteUrl?: string | undefined;
|
|
2596
2564
|
pullRequestNumber?: number | undefined;
|
|
2597
2565
|
pullRequestTitle?: string | undefined;
|
|
2598
|
-
pullRequestState?: "
|
|
2566
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2599
2567
|
} | undefined;
|
|
2600
2568
|
};
|
|
2601
2569
|
organization: {
|
|
2602
|
-
name: string;
|
|
2603
2570
|
id: string;
|
|
2604
2571
|
slug: string;
|
|
2572
|
+
name: string;
|
|
2605
2573
|
};
|
|
2606
2574
|
project: {
|
|
2607
|
-
name: string;
|
|
2608
2575
|
id: string;
|
|
2609
|
-
slug: string;
|
|
2610
2576
|
ref: string;
|
|
2577
|
+
slug: string;
|
|
2578
|
+
name: string;
|
|
2611
2579
|
};
|
|
2612
2580
|
machine: {
|
|
2581
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
2613
2582
|
cpu: number;
|
|
2614
2583
|
memory: number;
|
|
2615
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2616
2584
|
centsPerMs: number;
|
|
2617
2585
|
};
|
|
2618
2586
|
batch?: {
|
|
@@ -2620,56 +2588,88 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2620
2588
|
} | undefined;
|
|
2621
2589
|
deployment?: {
|
|
2622
2590
|
id: string;
|
|
2623
|
-
version: string;
|
|
2624
2591
|
shortCode: string;
|
|
2592
|
+
version: string;
|
|
2625
2593
|
runtime: string;
|
|
2626
2594
|
runtimeVersion: string;
|
|
2627
2595
|
git?: {
|
|
2628
|
-
dirty?: boolean | undefined;
|
|
2629
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2630
2596
|
provider?: string | undefined;
|
|
2597
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
2631
2598
|
ghUsername?: string | undefined;
|
|
2632
2599
|
ghUserAvatarUrl?: string | undefined;
|
|
2633
2600
|
commitAuthorName?: string | undefined;
|
|
2634
2601
|
commitMessage?: string | undefined;
|
|
2635
2602
|
commitRef?: string | undefined;
|
|
2636
2603
|
commitSha?: string | undefined;
|
|
2604
|
+
dirty?: boolean | undefined;
|
|
2637
2605
|
remoteUrl?: string | undefined;
|
|
2638
2606
|
pullRequestNumber?: number | undefined;
|
|
2639
2607
|
pullRequestTitle?: string | undefined;
|
|
2640
|
-
pullRequestState?: "
|
|
2608
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
2641
2609
|
} | undefined;
|
|
2642
2610
|
} | undefined;
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
}
|
|
2647
|
-
|
|
2648
|
-
}
|
|
2649
|
-
|
|
2650
|
-
}>>;
|
|
2651
|
-
export type WorkloadRunAttemptStartResponseBody = z.infer<typeof WorkloadRunAttemptStartResponseBody>;
|
|
2652
|
-
export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
2653
|
-
execution: z.ZodObject<{
|
|
2654
|
-
version: z.ZodLiteral<"1">;
|
|
2655
|
-
snapshot: z.ZodObject<{
|
|
2656
|
-
id: z.ZodString;
|
|
2657
|
-
friendlyId: z.ZodString;
|
|
2658
|
-
executionStatus: z.ZodEnum<[import("../../index.js").TaskRunExecutionStatus]>;
|
|
2659
|
-
description: z.ZodString;
|
|
2660
|
-
createdAt: z.ZodDate;
|
|
2661
|
-
}, "strip", z.ZodTypeAny, {
|
|
2611
|
+
attempt: {
|
|
2612
|
+
number: number;
|
|
2613
|
+
startedAt: Date;
|
|
2614
|
+
} & {
|
|
2615
|
+
[k: string]: unknown;
|
|
2616
|
+
};
|
|
2617
|
+
run: {
|
|
2662
2618
|
id: string;
|
|
2619
|
+
payload: string;
|
|
2620
|
+
payloadType: string;
|
|
2621
|
+
tags: string[];
|
|
2622
|
+
isTest?: boolean | undefined;
|
|
2623
|
+
isReplay?: boolean | undefined;
|
|
2663
2624
|
createdAt: Date;
|
|
2664
|
-
|
|
2625
|
+
startedAt?: Date | undefined;
|
|
2626
|
+
idempotencyKey?: string | undefined;
|
|
2627
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
2628
|
+
maxAttempts?: number | undefined;
|
|
2629
|
+
version?: string | undefined;
|
|
2630
|
+
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2631
|
+
maxDuration?: number | undefined;
|
|
2632
|
+
priority?: number | undefined;
|
|
2633
|
+
baseCostInCents?: number | undefined;
|
|
2634
|
+
parentTaskRunId?: string | undefined;
|
|
2635
|
+
rootTaskRunId?: string | undefined;
|
|
2636
|
+
durationMs?: number | undefined;
|
|
2637
|
+
costInCents?: number | undefined;
|
|
2638
|
+
region?: string | undefined;
|
|
2639
|
+
} & {
|
|
2640
|
+
traceContext?: Record<string, unknown> | undefined;
|
|
2641
|
+
realtimeStreamsVersion?: string | undefined;
|
|
2642
|
+
};
|
|
2643
|
+
};
|
|
2644
|
+
}>>, z.ZodObject<{
|
|
2645
|
+
envVars: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2646
|
+
}, "strip", z.ZodTypeAny, {
|
|
2647
|
+
envVars: Record<string, string>;
|
|
2648
|
+
}, {
|
|
2649
|
+
envVars: Record<string, string>;
|
|
2650
|
+
}>>;
|
|
2651
|
+
export type WorkloadRunAttemptStartResponseBody = z.infer<typeof WorkloadRunAttemptStartResponseBody>;
|
|
2652
|
+
export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
2653
|
+
execution: z.ZodObject<{
|
|
2654
|
+
version: z.ZodLiteral<"1">;
|
|
2655
|
+
snapshot: z.ZodObject<{
|
|
2656
|
+
id: z.ZodString;
|
|
2657
|
+
friendlyId: z.ZodString;
|
|
2658
|
+
executionStatus: z.ZodEnum<[import("../../index.js").TaskRunExecutionStatus]>;
|
|
2659
|
+
description: z.ZodString;
|
|
2660
|
+
createdAt: z.ZodDate;
|
|
2661
|
+
}, "strip", z.ZodTypeAny, {
|
|
2662
|
+
id: string;
|
|
2665
2663
|
friendlyId: string;
|
|
2666
2664
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
2665
|
+
description: string;
|
|
2666
|
+
createdAt: Date;
|
|
2667
2667
|
}, {
|
|
2668
2668
|
id: string;
|
|
2669
|
-
createdAt: Date;
|
|
2670
|
-
description: string;
|
|
2671
2669
|
friendlyId: string;
|
|
2672
2670
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
2671
|
+
description: string;
|
|
2672
|
+
createdAt: Date;
|
|
2673
2673
|
}>;
|
|
2674
2674
|
run: z.ZodObject<{
|
|
2675
2675
|
id: z.ZodString;
|
|
@@ -2678,15 +2678,15 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2678
2678
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2679
2679
|
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
2680
2680
|
}, "strip", z.ZodTypeAny, {
|
|
2681
|
-
status: import("../../index.js").TaskRunStatus;
|
|
2682
2681
|
id: string;
|
|
2683
2682
|
friendlyId: string;
|
|
2683
|
+
status: import("../../index.js").TaskRunStatus;
|
|
2684
2684
|
attemptNumber?: number | null | undefined;
|
|
2685
2685
|
taskEventStore?: string | undefined;
|
|
2686
2686
|
}, {
|
|
2687
|
-
status: import("../../index.js").TaskRunStatus;
|
|
2688
2687
|
id: string;
|
|
2689
2688
|
friendlyId: string;
|
|
2689
|
+
status: import("../../index.js").TaskRunStatus;
|
|
2690
2690
|
attemptNumber?: number | null | undefined;
|
|
2691
2691
|
taskEventStore?: string | undefined;
|
|
2692
2692
|
}>;
|
|
@@ -2710,18 +2710,18 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2710
2710
|
friendlyId: z.ZodString;
|
|
2711
2711
|
}, "strip", z.ZodTypeAny, {
|
|
2712
2712
|
type: import("../../index.js").CheckpointTypeEnum;
|
|
2713
|
-
id: string;
|
|
2714
|
-
friendlyId: string;
|
|
2715
2713
|
location: string;
|
|
2716
2714
|
imageRef?: string | null | undefined;
|
|
2717
2715
|
reason?: string | null | undefined;
|
|
2718
|
-
}, {
|
|
2719
|
-
type: import("../../index.js").CheckpointTypeEnum;
|
|
2720
2716
|
id: string;
|
|
2721
2717
|
friendlyId: string;
|
|
2718
|
+
}, {
|
|
2719
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
2722
2720
|
location: string;
|
|
2723
2721
|
imageRef?: string | null | undefined;
|
|
2724
2722
|
reason?: string | null | undefined;
|
|
2723
|
+
id: string;
|
|
2724
|
+
friendlyId: string;
|
|
2725
2725
|
}>>;
|
|
2726
2726
|
completedWaitpoints: z.ZodArray<z.ZodObject<{
|
|
2727
2727
|
id: z.ZodString;
|
|
@@ -2773,15 +2773,12 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2773
2773
|
outputType: z.ZodOptional<z.ZodString>;
|
|
2774
2774
|
outputIsError: z.ZodBoolean;
|
|
2775
2775
|
}, "strip", z.ZodTypeAny, {
|
|
2776
|
-
type: import("../../index.js").WaitpointType;
|
|
2777
2776
|
id: string;
|
|
2777
|
+
index?: number | undefined;
|
|
2778
2778
|
friendlyId: string;
|
|
2779
|
+
type: import("../../index.js").WaitpointType;
|
|
2779
2780
|
completedAt: Date;
|
|
2780
|
-
outputIsError: boolean;
|
|
2781
|
-
output?: string | undefined;
|
|
2782
2781
|
idempotencyKey?: string | undefined;
|
|
2783
|
-
outputType?: string | undefined;
|
|
2784
|
-
index?: number | undefined;
|
|
2785
2782
|
completedByTaskRun?: {
|
|
2786
2783
|
id: string;
|
|
2787
2784
|
friendlyId: string;
|
|
@@ -2795,16 +2792,16 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2795
2792
|
id: string;
|
|
2796
2793
|
friendlyId: string;
|
|
2797
2794
|
} | undefined;
|
|
2795
|
+
output?: string | undefined;
|
|
2796
|
+
outputType?: string | undefined;
|
|
2797
|
+
outputIsError: boolean;
|
|
2798
2798
|
}, {
|
|
2799
|
-
type: import("../../index.js").WaitpointType;
|
|
2800
2799
|
id: string;
|
|
2800
|
+
index?: number | undefined;
|
|
2801
2801
|
friendlyId: string;
|
|
2802
|
+
type: import("../../index.js").WaitpointType;
|
|
2802
2803
|
completedAt: Date;
|
|
2803
|
-
outputIsError: boolean;
|
|
2804
|
-
output?: string | undefined;
|
|
2805
2804
|
idempotencyKey?: string | undefined;
|
|
2806
|
-
outputType?: string | undefined;
|
|
2807
|
-
index?: number | undefined;
|
|
2808
2805
|
completedByTaskRun?: {
|
|
2809
2806
|
id: string;
|
|
2810
2807
|
friendlyId: string;
|
|
@@ -2818,33 +2815,45 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2818
2815
|
id: string;
|
|
2819
2816
|
friendlyId: string;
|
|
2820
2817
|
} | undefined;
|
|
2818
|
+
output?: string | undefined;
|
|
2819
|
+
outputType?: string | undefined;
|
|
2820
|
+
outputIsError: boolean;
|
|
2821
2821
|
}>, "many">;
|
|
2822
2822
|
}, "strip", z.ZodTypeAny, {
|
|
2823
|
+
version: "1";
|
|
2824
|
+
snapshot: {
|
|
2825
|
+
id: string;
|
|
2826
|
+
friendlyId: string;
|
|
2827
|
+
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
2828
|
+
description: string;
|
|
2829
|
+
createdAt: Date;
|
|
2830
|
+
};
|
|
2823
2831
|
run: {
|
|
2824
|
-
status: import("../../index.js").TaskRunStatus;
|
|
2825
2832
|
id: string;
|
|
2826
2833
|
friendlyId: string;
|
|
2834
|
+
status: import("../../index.js").TaskRunStatus;
|
|
2827
2835
|
attemptNumber?: number | null | undefined;
|
|
2828
2836
|
taskEventStore?: string | undefined;
|
|
2829
2837
|
};
|
|
2830
|
-
|
|
2831
|
-
snapshot: {
|
|
2838
|
+
batch?: {
|
|
2832
2839
|
id: string;
|
|
2833
|
-
createdAt: Date;
|
|
2834
|
-
description: string;
|
|
2835
2840
|
friendlyId: string;
|
|
2836
|
-
|
|
2837
|
-
|
|
2841
|
+
} | undefined;
|
|
2842
|
+
checkpoint?: {
|
|
2843
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
2844
|
+
location: string;
|
|
2845
|
+
imageRef?: string | null | undefined;
|
|
2846
|
+
reason?: string | null | undefined;
|
|
2847
|
+
id: string;
|
|
2848
|
+
friendlyId: string;
|
|
2849
|
+
} | undefined;
|
|
2838
2850
|
completedWaitpoints: {
|
|
2839
|
-
type: import("../../index.js").WaitpointType;
|
|
2840
2851
|
id: string;
|
|
2852
|
+
index?: number | undefined;
|
|
2841
2853
|
friendlyId: string;
|
|
2854
|
+
type: import("../../index.js").WaitpointType;
|
|
2842
2855
|
completedAt: Date;
|
|
2843
|
-
outputIsError: boolean;
|
|
2844
|
-
output?: string | undefined;
|
|
2845
2856
|
idempotencyKey?: string | undefined;
|
|
2846
|
-
outputType?: string | undefined;
|
|
2847
|
-
index?: number | undefined;
|
|
2848
2857
|
completedByTaskRun?: {
|
|
2849
2858
|
id: string;
|
|
2850
2859
|
friendlyId: string;
|
|
@@ -2858,45 +2867,45 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2858
2867
|
id: string;
|
|
2859
2868
|
friendlyId: string;
|
|
2860
2869
|
} | undefined;
|
|
2870
|
+
output?: string | undefined;
|
|
2871
|
+
outputType?: string | undefined;
|
|
2872
|
+
outputIsError: boolean;
|
|
2861
2873
|
}[];
|
|
2874
|
+
}, {
|
|
2875
|
+
version: "1";
|
|
2876
|
+
snapshot: {
|
|
2877
|
+
id: string;
|
|
2878
|
+
friendlyId: string;
|
|
2879
|
+
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
2880
|
+
description: string;
|
|
2881
|
+
createdAt: Date;
|
|
2882
|
+
};
|
|
2883
|
+
run: {
|
|
2884
|
+
id: string;
|
|
2885
|
+
friendlyId: string;
|
|
2886
|
+
status: import("../../index.js").TaskRunStatus;
|
|
2887
|
+
attemptNumber?: number | null | undefined;
|
|
2888
|
+
taskEventStore?: string | undefined;
|
|
2889
|
+
};
|
|
2862
2890
|
batch?: {
|
|
2863
2891
|
id: string;
|
|
2864
2892
|
friendlyId: string;
|
|
2865
2893
|
} | undefined;
|
|
2866
2894
|
checkpoint?: {
|
|
2867
2895
|
type: import("../../index.js").CheckpointTypeEnum;
|
|
2868
|
-
id: string;
|
|
2869
|
-
friendlyId: string;
|
|
2870
2896
|
location: string;
|
|
2871
2897
|
imageRef?: string | null | undefined;
|
|
2872
2898
|
reason?: string | null | undefined;
|
|
2873
|
-
} | undefined;
|
|
2874
|
-
}, {
|
|
2875
|
-
run: {
|
|
2876
|
-
status: import("../../index.js").TaskRunStatus;
|
|
2877
2899
|
id: string;
|
|
2878
2900
|
friendlyId: string;
|
|
2879
|
-
|
|
2880
|
-
taskEventStore?: string | undefined;
|
|
2881
|
-
};
|
|
2882
|
-
version: "1";
|
|
2883
|
-
snapshot: {
|
|
2884
|
-
id: string;
|
|
2885
|
-
createdAt: Date;
|
|
2886
|
-
description: string;
|
|
2887
|
-
friendlyId: string;
|
|
2888
|
-
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
2889
|
-
};
|
|
2901
|
+
} | undefined;
|
|
2890
2902
|
completedWaitpoints: {
|
|
2891
|
-
type: import("../../index.js").WaitpointType;
|
|
2892
2903
|
id: string;
|
|
2904
|
+
index?: number | undefined;
|
|
2893
2905
|
friendlyId: string;
|
|
2906
|
+
type: import("../../index.js").WaitpointType;
|
|
2894
2907
|
completedAt: Date;
|
|
2895
|
-
outputIsError: boolean;
|
|
2896
|
-
output?: string | undefined;
|
|
2897
2908
|
idempotencyKey?: string | undefined;
|
|
2898
|
-
outputType?: string | undefined;
|
|
2899
|
-
index?: number | undefined;
|
|
2900
2909
|
completedByTaskRun?: {
|
|
2901
2910
|
id: string;
|
|
2902
2911
|
friendlyId: string;
|
|
@@ -2910,47 +2919,47 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2910
2919
|
id: string;
|
|
2911
2920
|
friendlyId: string;
|
|
2912
2921
|
} | undefined;
|
|
2922
|
+
output?: string | undefined;
|
|
2923
|
+
outputType?: string | undefined;
|
|
2924
|
+
outputIsError: boolean;
|
|
2913
2925
|
}[];
|
|
2914
|
-
batch?: {
|
|
2915
|
-
id: string;
|
|
2916
|
-
friendlyId: string;
|
|
2917
|
-
} | undefined;
|
|
2918
|
-
checkpoint?: {
|
|
2919
|
-
type: import("../../index.js").CheckpointTypeEnum;
|
|
2920
|
-
id: string;
|
|
2921
|
-
friendlyId: string;
|
|
2922
|
-
location: string;
|
|
2923
|
-
imageRef?: string | null | undefined;
|
|
2924
|
-
reason?: string | null | undefined;
|
|
2925
|
-
} | undefined;
|
|
2926
2926
|
}>;
|
|
2927
2927
|
}, "strip", z.ZodTypeAny, {
|
|
2928
2928
|
execution: {
|
|
2929
|
+
version: "1";
|
|
2930
|
+
snapshot: {
|
|
2931
|
+
id: string;
|
|
2932
|
+
friendlyId: string;
|
|
2933
|
+
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
2934
|
+
description: string;
|
|
2935
|
+
createdAt: Date;
|
|
2936
|
+
};
|
|
2929
2937
|
run: {
|
|
2930
|
-
status: import("../../index.js").TaskRunStatus;
|
|
2931
2938
|
id: string;
|
|
2932
2939
|
friendlyId: string;
|
|
2940
|
+
status: import("../../index.js").TaskRunStatus;
|
|
2933
2941
|
attemptNumber?: number | null | undefined;
|
|
2934
2942
|
taskEventStore?: string | undefined;
|
|
2935
2943
|
};
|
|
2936
|
-
|
|
2937
|
-
snapshot: {
|
|
2944
|
+
batch?: {
|
|
2938
2945
|
id: string;
|
|
2939
|
-
createdAt: Date;
|
|
2940
|
-
description: string;
|
|
2941
2946
|
friendlyId: string;
|
|
2942
|
-
|
|
2943
|
-
|
|
2947
|
+
} | undefined;
|
|
2948
|
+
checkpoint?: {
|
|
2949
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
2950
|
+
location: string;
|
|
2951
|
+
imageRef?: string | null | undefined;
|
|
2952
|
+
reason?: string | null | undefined;
|
|
2953
|
+
id: string;
|
|
2954
|
+
friendlyId: string;
|
|
2955
|
+
} | undefined;
|
|
2944
2956
|
completedWaitpoints: {
|
|
2945
|
-
type: import("../../index.js").WaitpointType;
|
|
2946
2957
|
id: string;
|
|
2958
|
+
index?: number | undefined;
|
|
2947
2959
|
friendlyId: string;
|
|
2960
|
+
type: import("../../index.js").WaitpointType;
|
|
2948
2961
|
completedAt: Date;
|
|
2949
|
-
outputIsError: boolean;
|
|
2950
|
-
output?: string | undefined;
|
|
2951
2962
|
idempotencyKey?: string | undefined;
|
|
2952
|
-
outputType?: string | undefined;
|
|
2953
|
-
index?: number | undefined;
|
|
2954
2963
|
completedByTaskRun?: {
|
|
2955
2964
|
id: string;
|
|
2956
2965
|
friendlyId: string;
|
|
@@ -2964,47 +2973,47 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2964
2973
|
id: string;
|
|
2965
2974
|
friendlyId: string;
|
|
2966
2975
|
} | undefined;
|
|
2976
|
+
output?: string | undefined;
|
|
2977
|
+
outputType?: string | undefined;
|
|
2978
|
+
outputIsError: boolean;
|
|
2967
2979
|
}[];
|
|
2968
|
-
batch?: {
|
|
2969
|
-
id: string;
|
|
2970
|
-
friendlyId: string;
|
|
2971
|
-
} | undefined;
|
|
2972
|
-
checkpoint?: {
|
|
2973
|
-
type: import("../../index.js").CheckpointTypeEnum;
|
|
2974
|
-
id: string;
|
|
2975
|
-
friendlyId: string;
|
|
2976
|
-
location: string;
|
|
2977
|
-
imageRef?: string | null | undefined;
|
|
2978
|
-
reason?: string | null | undefined;
|
|
2979
|
-
} | undefined;
|
|
2980
2980
|
};
|
|
2981
2981
|
}, {
|
|
2982
2982
|
execution: {
|
|
2983
|
+
version: "1";
|
|
2984
|
+
snapshot: {
|
|
2985
|
+
id: string;
|
|
2986
|
+
friendlyId: string;
|
|
2987
|
+
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
2988
|
+
description: string;
|
|
2989
|
+
createdAt: Date;
|
|
2990
|
+
};
|
|
2983
2991
|
run: {
|
|
2984
|
-
status: import("../../index.js").TaskRunStatus;
|
|
2985
2992
|
id: string;
|
|
2986
2993
|
friendlyId: string;
|
|
2994
|
+
status: import("../../index.js").TaskRunStatus;
|
|
2987
2995
|
attemptNumber?: number | null | undefined;
|
|
2988
2996
|
taskEventStore?: string | undefined;
|
|
2989
2997
|
};
|
|
2990
|
-
|
|
2991
|
-
snapshot: {
|
|
2998
|
+
batch?: {
|
|
2992
2999
|
id: string;
|
|
2993
|
-
createdAt: Date;
|
|
2994
|
-
description: string;
|
|
2995
3000
|
friendlyId: string;
|
|
2996
|
-
|
|
2997
|
-
|
|
3001
|
+
} | undefined;
|
|
3002
|
+
checkpoint?: {
|
|
3003
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
3004
|
+
location: string;
|
|
3005
|
+
imageRef?: string | null | undefined;
|
|
3006
|
+
reason?: string | null | undefined;
|
|
3007
|
+
id: string;
|
|
3008
|
+
friendlyId: string;
|
|
3009
|
+
} | undefined;
|
|
2998
3010
|
completedWaitpoints: {
|
|
2999
|
-
type: import("../../index.js").WaitpointType;
|
|
3000
3011
|
id: string;
|
|
3012
|
+
index?: number | undefined;
|
|
3001
3013
|
friendlyId: string;
|
|
3014
|
+
type: import("../../index.js").WaitpointType;
|
|
3002
3015
|
completedAt: Date;
|
|
3003
|
-
outputIsError: boolean;
|
|
3004
|
-
output?: string | undefined;
|
|
3005
3016
|
idempotencyKey?: string | undefined;
|
|
3006
|
-
outputType?: string | undefined;
|
|
3007
|
-
index?: number | undefined;
|
|
3008
3017
|
completedByTaskRun?: {
|
|
3009
3018
|
id: string;
|
|
3010
3019
|
friendlyId: string;
|
|
@@ -3018,19 +3027,10 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
3018
3027
|
id: string;
|
|
3019
3028
|
friendlyId: string;
|
|
3020
3029
|
} | undefined;
|
|
3030
|
+
output?: string | undefined;
|
|
3031
|
+
outputType?: string | undefined;
|
|
3032
|
+
outputIsError: boolean;
|
|
3021
3033
|
}[];
|
|
3022
|
-
batch?: {
|
|
3023
|
-
id: string;
|
|
3024
|
-
friendlyId: string;
|
|
3025
|
-
} | undefined;
|
|
3026
|
-
checkpoint?: {
|
|
3027
|
-
type: import("../../index.js").CheckpointTypeEnum;
|
|
3028
|
-
id: string;
|
|
3029
|
-
friendlyId: string;
|
|
3030
|
-
location: string;
|
|
3031
|
-
imageRef?: string | null | undefined;
|
|
3032
|
-
reason?: string | null | undefined;
|
|
3033
|
-
} | undefined;
|
|
3034
3034
|
};
|
|
3035
3035
|
}>;
|
|
3036
3036
|
export type WorkloadRunLatestSnapshotResponseBody = z.infer<typeof WorkloadRunLatestSnapshotResponseBody>;
|
|
@@ -3039,12 +3039,12 @@ export declare const WorkloadDebugLogRequestBody: z.ZodObject<{
|
|
|
3039
3039
|
message: z.ZodString;
|
|
3040
3040
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodString>>, "many">, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, "many">, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, "many">]>>>>;
|
|
3041
3041
|
}, "strip", z.ZodTypeAny, {
|
|
3042
|
-
message: string;
|
|
3043
3042
|
time: Date;
|
|
3043
|
+
message: string;
|
|
3044
3044
|
properties?: Record<string, string | number | boolean | (string | null | undefined)[] | (number | null | undefined)[] | (boolean | null | undefined)[] | undefined> | undefined;
|
|
3045
3045
|
}, {
|
|
3046
|
-
message: string;
|
|
3047
3046
|
time: Date;
|
|
3047
|
+
message: string;
|
|
3048
3048
|
properties?: Record<string, string | number | boolean | (string | null | undefined)[] | (number | null | undefined)[] | (boolean | null | undefined)[] | undefined> | undefined;
|
|
3049
3049
|
}>;
|
|
3050
3050
|
export type WorkloadDebugLogRequestBody = z.infer<typeof WorkloadDebugLogRequestBody>;
|
|
@@ -3058,16 +3058,16 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3058
3058
|
createdAt: z.ZodDate;
|
|
3059
3059
|
}, "strip", z.ZodTypeAny, {
|
|
3060
3060
|
id: string;
|
|
3061
|
-
createdAt: Date;
|
|
3062
|
-
description: string;
|
|
3063
3061
|
friendlyId: string;
|
|
3064
3062
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
3063
|
+
description: string;
|
|
3064
|
+
createdAt: Date;
|
|
3065
3065
|
}, {
|
|
3066
3066
|
id: string;
|
|
3067
|
-
createdAt: Date;
|
|
3068
|
-
description: string;
|
|
3069
3067
|
friendlyId: string;
|
|
3070
3068
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
3069
|
+
description: string;
|
|
3070
|
+
createdAt: Date;
|
|
3071
3071
|
}>;
|
|
3072
3072
|
dequeuedAt: z.ZodDate;
|
|
3073
3073
|
workerQueueLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3079,14 +3079,14 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3079
3079
|
imageRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3080
3080
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3081
3081
|
}, "strip", z.ZodTypeAny, {
|
|
3082
|
-
type: import("../../index.js").CheckpointTypeEnum;
|
|
3083
3082
|
id: string;
|
|
3083
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
3084
3084
|
location: string;
|
|
3085
3085
|
imageRef?: string | null | undefined;
|
|
3086
3086
|
reason?: string | null | undefined;
|
|
3087
3087
|
}, {
|
|
3088
|
-
type: import("../../index.js").CheckpointTypeEnum;
|
|
3089
3088
|
id: string;
|
|
3089
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
3090
3090
|
location: string;
|
|
3091
3091
|
imageRef?: string | null | undefined;
|
|
3092
3092
|
reason?: string | null | undefined;
|
|
@@ -3141,15 +3141,12 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3141
3141
|
outputType: z.ZodOptional<z.ZodString>;
|
|
3142
3142
|
outputIsError: z.ZodBoolean;
|
|
3143
3143
|
}, "strip", z.ZodTypeAny, {
|
|
3144
|
-
type: import("../../index.js").WaitpointType;
|
|
3145
3144
|
id: string;
|
|
3145
|
+
index?: number | undefined;
|
|
3146
3146
|
friendlyId: string;
|
|
3147
|
+
type: import("../../index.js").WaitpointType;
|
|
3147
3148
|
completedAt: Date;
|
|
3148
|
-
outputIsError: boolean;
|
|
3149
|
-
output?: string | undefined;
|
|
3150
3149
|
idempotencyKey?: string | undefined;
|
|
3151
|
-
outputType?: string | undefined;
|
|
3152
|
-
index?: number | undefined;
|
|
3153
3150
|
completedByTaskRun?: {
|
|
3154
3151
|
id: string;
|
|
3155
3152
|
friendlyId: string;
|
|
@@ -3163,16 +3160,16 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3163
3160
|
id: string;
|
|
3164
3161
|
friendlyId: string;
|
|
3165
3162
|
} | undefined;
|
|
3163
|
+
output?: string | undefined;
|
|
3164
|
+
outputType?: string | undefined;
|
|
3165
|
+
outputIsError: boolean;
|
|
3166
3166
|
}, {
|
|
3167
|
-
type: import("../../index.js").WaitpointType;
|
|
3168
3167
|
id: string;
|
|
3168
|
+
index?: number | undefined;
|
|
3169
3169
|
friendlyId: string;
|
|
3170
|
+
type: import("../../index.js").WaitpointType;
|
|
3170
3171
|
completedAt: Date;
|
|
3171
|
-
outputIsError: boolean;
|
|
3172
|
-
output?: string | undefined;
|
|
3173
3172
|
idempotencyKey?: string | undefined;
|
|
3174
|
-
outputType?: string | undefined;
|
|
3175
|
-
index?: number | undefined;
|
|
3176
3173
|
completedByTaskRun?: {
|
|
3177
3174
|
id: string;
|
|
3178
3175
|
friendlyId: string;
|
|
@@ -3186,6 +3183,9 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3186
3183
|
id: string;
|
|
3187
3184
|
friendlyId: string;
|
|
3188
3185
|
} | undefined;
|
|
3186
|
+
output?: string | undefined;
|
|
3187
|
+
outputType?: string | undefined;
|
|
3188
|
+
outputIsError: boolean;
|
|
3189
3189
|
}>, "many">;
|
|
3190
3190
|
backgroundWorker: z.ZodObject<{
|
|
3191
3191
|
id: z.ZodString;
|
|
@@ -3194,13 +3194,13 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3194
3194
|
runtime: z.ZodOptional<z.ZodString>;
|
|
3195
3195
|
}, "strip", z.ZodTypeAny, {
|
|
3196
3196
|
id: string;
|
|
3197
|
-
version: string;
|
|
3198
3197
|
friendlyId: string;
|
|
3198
|
+
version: string;
|
|
3199
3199
|
runtime?: string | undefined;
|
|
3200
3200
|
}, {
|
|
3201
3201
|
id: string;
|
|
3202
|
-
version: string;
|
|
3203
3202
|
friendlyId: string;
|
|
3203
|
+
version: string;
|
|
3204
3204
|
runtime?: string | undefined;
|
|
3205
3205
|
}>;
|
|
3206
3206
|
deployment: z.ZodObject<{
|
|
@@ -3227,14 +3227,14 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3227
3227
|
memory: z.ZodNumber;
|
|
3228
3228
|
centsPerMs: z.ZodNumber;
|
|
3229
3229
|
}, "strip", z.ZodTypeAny, {
|
|
3230
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
3230
3231
|
cpu: number;
|
|
3231
3232
|
memory: number;
|
|
3232
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3233
3233
|
centsPerMs: number;
|
|
3234
3234
|
}, {
|
|
3235
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
3235
3236
|
cpu: number;
|
|
3236
3237
|
memory: number;
|
|
3237
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3238
3238
|
centsPerMs: number;
|
|
3239
3239
|
}>;
|
|
3240
3240
|
attemptNumber: z.ZodNumber;
|
|
@@ -3247,70 +3247,70 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3247
3247
|
rootScheduleId: z.ZodOptional<z.ZodString>;
|
|
3248
3248
|
taskKind: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["STANDARD", "SCHEDULED", "AGENT"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>>;
|
|
3249
3249
|
}, "strip", z.ZodTypeAny, {
|
|
3250
|
-
triggerSource: "
|
|
3251
|
-
triggerAction: "trigger" | (string & {})
|
|
3252
|
-
rootTriggerSource: "
|
|
3253
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
3250
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3251
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
3252
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3254
3253
|
rootScheduleId?: string | undefined;
|
|
3254
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
3255
3255
|
}, {
|
|
3256
|
-
triggerSource: "
|
|
3257
|
-
triggerAction: "trigger" | (string & {})
|
|
3258
|
-
rootTriggerSource: "
|
|
3259
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
3256
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3257
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
3258
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3260
3259
|
rootScheduleId?: string | undefined;
|
|
3260
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
3261
3261
|
}>>;
|
|
3262
3262
|
}, "strip", z.ZodTypeAny, {
|
|
3263
3263
|
id: string;
|
|
3264
|
+
friendlyId: string;
|
|
3264
3265
|
isTest: boolean;
|
|
3265
3266
|
isReplay: boolean;
|
|
3266
3267
|
machine: {
|
|
3268
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
3267
3269
|
cpu: number;
|
|
3268
3270
|
memory: number;
|
|
3269
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3270
3271
|
centsPerMs: number;
|
|
3271
3272
|
};
|
|
3272
|
-
traceContext: Record<string, unknown>;
|
|
3273
|
-
friendlyId: string;
|
|
3274
3273
|
attemptNumber: number;
|
|
3275
3274
|
masterQueue: string;
|
|
3275
|
+
traceContext: Record<string, unknown>;
|
|
3276
3276
|
annotations?: {
|
|
3277
|
-
triggerSource: "
|
|
3278
|
-
triggerAction: "trigger" | (string & {})
|
|
3279
|
-
rootTriggerSource: "
|
|
3280
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
3277
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3278
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
3279
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3281
3280
|
rootScheduleId?: string | undefined;
|
|
3281
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
3282
3282
|
} | undefined;
|
|
3283
3283
|
}, {
|
|
3284
3284
|
id: string;
|
|
3285
|
+
friendlyId: string;
|
|
3285
3286
|
isTest: boolean;
|
|
3287
|
+
isReplay?: boolean | undefined;
|
|
3286
3288
|
machine: {
|
|
3289
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
3287
3290
|
cpu: number;
|
|
3288
3291
|
memory: number;
|
|
3289
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3290
3292
|
centsPerMs: number;
|
|
3291
3293
|
};
|
|
3292
|
-
traceContext: Record<string, unknown>;
|
|
3293
|
-
friendlyId: string;
|
|
3294
3294
|
attemptNumber: number;
|
|
3295
3295
|
masterQueue: string;
|
|
3296
|
-
|
|
3296
|
+
traceContext: Record<string, unknown>;
|
|
3297
3297
|
annotations?: {
|
|
3298
|
-
triggerSource: "
|
|
3299
|
-
triggerAction: "trigger" | (string & {})
|
|
3300
|
-
rootTriggerSource: "
|
|
3301
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
3298
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3299
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
3300
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3302
3301
|
rootScheduleId?: string | undefined;
|
|
3302
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
3303
3303
|
} | undefined;
|
|
3304
3304
|
}>;
|
|
3305
3305
|
environment: z.ZodObject<{
|
|
3306
3306
|
id: z.ZodString;
|
|
3307
3307
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
3308
3308
|
}, "strip", z.ZodTypeAny, {
|
|
3309
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3310
3309
|
id: string;
|
|
3310
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
3311
3311
|
}, {
|
|
3312
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3313
3312
|
id: string;
|
|
3313
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
3314
3314
|
}>;
|
|
3315
3315
|
organization: z.ZodObject<{
|
|
3316
3316
|
id: z.ZodString;
|
|
@@ -3340,62 +3340,31 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3340
3340
|
values?: string[] | undefined;
|
|
3341
3341
|
}>, "many">>;
|
|
3342
3342
|
}, "strip", z.ZodTypeAny, {
|
|
3343
|
-
run: {
|
|
3344
|
-
id: string;
|
|
3345
|
-
isTest: boolean;
|
|
3346
|
-
isReplay: boolean;
|
|
3347
|
-
machine: {
|
|
3348
|
-
cpu: number;
|
|
3349
|
-
memory: number;
|
|
3350
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3351
|
-
centsPerMs: number;
|
|
3352
|
-
};
|
|
3353
|
-
traceContext: Record<string, unknown>;
|
|
3354
|
-
friendlyId: string;
|
|
3355
|
-
attemptNumber: number;
|
|
3356
|
-
masterQueue: string;
|
|
3357
|
-
annotations?: {
|
|
3358
|
-
triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
3359
|
-
triggerAction: "trigger" | (string & {}) | "replay" | "test";
|
|
3360
|
-
rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
3361
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
3362
|
-
rootScheduleId?: string | undefined;
|
|
3363
|
-
} | undefined;
|
|
3364
|
-
};
|
|
3365
3343
|
version: "1";
|
|
3366
|
-
environment: {
|
|
3367
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3368
|
-
id: string;
|
|
3369
|
-
};
|
|
3370
|
-
organization: {
|
|
3371
|
-
id: string;
|
|
3372
|
-
hasPrivateLink?: boolean | undefined;
|
|
3373
|
-
};
|
|
3374
|
-
project: {
|
|
3375
|
-
id: string;
|
|
3376
|
-
};
|
|
3377
|
-
deployment: {
|
|
3378
|
-
id?: string | undefined;
|
|
3379
|
-
friendlyId?: string | undefined;
|
|
3380
|
-
imagePlatform?: string | undefined;
|
|
3381
|
-
};
|
|
3382
3344
|
snapshot: {
|
|
3383
3345
|
id: string;
|
|
3384
|
-
createdAt: Date;
|
|
3385
|
-
description: string;
|
|
3386
3346
|
friendlyId: string;
|
|
3387
3347
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
3348
|
+
description: string;
|
|
3349
|
+
createdAt: Date;
|
|
3388
3350
|
};
|
|
3351
|
+
dequeuedAt: Date;
|
|
3352
|
+
workerQueueLength?: number | undefined;
|
|
3353
|
+
image?: string | undefined;
|
|
3354
|
+
checkpoint?: {
|
|
3355
|
+
id: string;
|
|
3356
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
3357
|
+
location: string;
|
|
3358
|
+
imageRef?: string | null | undefined;
|
|
3359
|
+
reason?: string | null | undefined;
|
|
3360
|
+
} | undefined;
|
|
3389
3361
|
completedWaitpoints: {
|
|
3390
|
-
type: import("../../index.js").WaitpointType;
|
|
3391
3362
|
id: string;
|
|
3363
|
+
index?: number | undefined;
|
|
3392
3364
|
friendlyId: string;
|
|
3365
|
+
type: import("../../index.js").WaitpointType;
|
|
3393
3366
|
completedAt: Date;
|
|
3394
|
-
outputIsError: boolean;
|
|
3395
|
-
output?: string | undefined;
|
|
3396
3367
|
idempotencyKey?: string | undefined;
|
|
3397
|
-
outputType?: string | undefined;
|
|
3398
|
-
index?: number | undefined;
|
|
3399
3368
|
completedByTaskRun?: {
|
|
3400
3369
|
id: string;
|
|
3401
3370
|
friendlyId: string;
|
|
@@ -3409,54 +3378,46 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3409
3378
|
id: string;
|
|
3410
3379
|
friendlyId: string;
|
|
3411
3380
|
} | undefined;
|
|
3381
|
+
output?: string | undefined;
|
|
3382
|
+
outputType?: string | undefined;
|
|
3383
|
+
outputIsError: boolean;
|
|
3412
3384
|
}[];
|
|
3413
|
-
dequeuedAt: Date;
|
|
3414
3385
|
backgroundWorker: {
|
|
3415
3386
|
id: string;
|
|
3416
|
-
version: string;
|
|
3417
3387
|
friendlyId: string;
|
|
3388
|
+
version: string;
|
|
3418
3389
|
runtime?: string | undefined;
|
|
3419
3390
|
};
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
reason?: string | null | undefined;
|
|
3426
|
-
} | undefined;
|
|
3427
|
-
workerQueueLength?: number | undefined;
|
|
3428
|
-
image?: string | undefined;
|
|
3429
|
-
placementTags?: {
|
|
3430
|
-
key: string;
|
|
3431
|
-
values?: string[] | undefined;
|
|
3432
|
-
}[] | undefined;
|
|
3433
|
-
}, {
|
|
3391
|
+
deployment: {
|
|
3392
|
+
id?: string | undefined;
|
|
3393
|
+
friendlyId?: string | undefined;
|
|
3394
|
+
imagePlatform?: string | undefined;
|
|
3395
|
+
};
|
|
3434
3396
|
run: {
|
|
3435
3397
|
id: string;
|
|
3398
|
+
friendlyId: string;
|
|
3436
3399
|
isTest: boolean;
|
|
3400
|
+
isReplay: boolean;
|
|
3437
3401
|
machine: {
|
|
3402
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
3438
3403
|
cpu: number;
|
|
3439
3404
|
memory: number;
|
|
3440
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3441
3405
|
centsPerMs: number;
|
|
3442
3406
|
};
|
|
3443
|
-
traceContext: Record<string, unknown>;
|
|
3444
|
-
friendlyId: string;
|
|
3445
3407
|
attemptNumber: number;
|
|
3446
3408
|
masterQueue: string;
|
|
3447
|
-
|
|
3409
|
+
traceContext: Record<string, unknown>;
|
|
3448
3410
|
annotations?: {
|
|
3449
|
-
triggerSource: "
|
|
3450
|
-
triggerAction: "trigger" | (string & {})
|
|
3451
|
-
rootTriggerSource: "
|
|
3452
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
3411
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3412
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
3413
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3453
3414
|
rootScheduleId?: string | undefined;
|
|
3415
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
3454
3416
|
} | undefined;
|
|
3455
3417
|
};
|
|
3456
|
-
version: "1";
|
|
3457
3418
|
environment: {
|
|
3458
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3459
3419
|
id: string;
|
|
3420
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
3460
3421
|
};
|
|
3461
3422
|
organization: {
|
|
3462
3423
|
id: string;
|
|
@@ -3465,28 +3426,36 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3465
3426
|
project: {
|
|
3466
3427
|
id: string;
|
|
3467
3428
|
};
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3429
|
+
placementTags?: {
|
|
3430
|
+
key: string;
|
|
3431
|
+
values?: string[] | undefined;
|
|
3432
|
+
}[] | undefined;
|
|
3433
|
+
}, {
|
|
3434
|
+
version: "1";
|
|
3473
3435
|
snapshot: {
|
|
3474
3436
|
id: string;
|
|
3475
|
-
createdAt: Date;
|
|
3476
|
-
description: string;
|
|
3477
3437
|
friendlyId: string;
|
|
3478
3438
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
3439
|
+
description: string;
|
|
3440
|
+
createdAt: Date;
|
|
3479
3441
|
};
|
|
3442
|
+
dequeuedAt: Date;
|
|
3443
|
+
workerQueueLength?: number | undefined;
|
|
3444
|
+
image?: string | undefined;
|
|
3445
|
+
checkpoint?: {
|
|
3446
|
+
id: string;
|
|
3447
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
3448
|
+
location: string;
|
|
3449
|
+
imageRef?: string | null | undefined;
|
|
3450
|
+
reason?: string | null | undefined;
|
|
3451
|
+
} | undefined;
|
|
3480
3452
|
completedWaitpoints: {
|
|
3481
|
-
type: import("../../index.js").WaitpointType;
|
|
3482
3453
|
id: string;
|
|
3454
|
+
index?: number | undefined;
|
|
3483
3455
|
friendlyId: string;
|
|
3456
|
+
type: import("../../index.js").WaitpointType;
|
|
3484
3457
|
completedAt: Date;
|
|
3485
|
-
outputIsError: boolean;
|
|
3486
|
-
output?: string | undefined;
|
|
3487
3458
|
idempotencyKey?: string | undefined;
|
|
3488
|
-
outputType?: string | undefined;
|
|
3489
|
-
index?: number | undefined;
|
|
3490
3459
|
completedByTaskRun?: {
|
|
3491
3460
|
id: string;
|
|
3492
3461
|
friendlyId: string;
|
|
@@ -3500,23 +3469,54 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3500
3469
|
id: string;
|
|
3501
3470
|
friendlyId: string;
|
|
3502
3471
|
} | undefined;
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3472
|
+
output?: string | undefined;
|
|
3473
|
+
outputType?: string | undefined;
|
|
3474
|
+
outputIsError: boolean;
|
|
3475
|
+
}[];
|
|
3476
|
+
backgroundWorker: {
|
|
3477
|
+
id: string;
|
|
3478
|
+
friendlyId: string;
|
|
3479
|
+
version: string;
|
|
3480
|
+
runtime?: string | undefined;
|
|
3481
|
+
};
|
|
3482
|
+
deployment: {
|
|
3483
|
+
id?: string | undefined;
|
|
3484
|
+
friendlyId?: string | undefined;
|
|
3485
|
+
imagePlatform?: string | undefined;
|
|
3486
|
+
};
|
|
3487
|
+
run: {
|
|
3488
|
+
id: string;
|
|
3489
|
+
friendlyId: string;
|
|
3490
|
+
isTest: boolean;
|
|
3491
|
+
isReplay?: boolean | undefined;
|
|
3492
|
+
machine: {
|
|
3493
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
3494
|
+
cpu: number;
|
|
3495
|
+
memory: number;
|
|
3496
|
+
centsPerMs: number;
|
|
3497
|
+
};
|
|
3498
|
+
attemptNumber: number;
|
|
3499
|
+
masterQueue: string;
|
|
3500
|
+
traceContext: Record<string, unknown>;
|
|
3501
|
+
annotations?: {
|
|
3502
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3503
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
3504
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
3505
|
+
rootScheduleId?: string | undefined;
|
|
3506
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
3507
|
+
} | undefined;
|
|
3508
|
+
};
|
|
3509
|
+
environment: {
|
|
3506
3510
|
id: string;
|
|
3507
|
-
|
|
3508
|
-
friendlyId: string;
|
|
3509
|
-
runtime?: string | undefined;
|
|
3511
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
3510
3512
|
};
|
|
3511
|
-
|
|
3512
|
-
type: import("../../index.js").CheckpointTypeEnum;
|
|
3513
|
+
organization: {
|
|
3513
3514
|
id: string;
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
image?: string | undefined;
|
|
3515
|
+
hasPrivateLink?: boolean | undefined;
|
|
3516
|
+
};
|
|
3517
|
+
project: {
|
|
3518
|
+
id: string;
|
|
3519
|
+
};
|
|
3520
3520
|
placementTags?: {
|
|
3521
3521
|
key: string;
|
|
3522
3522
|
values?: string[] | undefined;
|
|
@@ -3534,16 +3534,16 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3534
3534
|
createdAt: z.ZodDate;
|
|
3535
3535
|
}, "strip", z.ZodTypeAny, {
|
|
3536
3536
|
id: string;
|
|
3537
|
-
createdAt: Date;
|
|
3538
|
-
description: string;
|
|
3539
3537
|
friendlyId: string;
|
|
3540
3538
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
3539
|
+
description: string;
|
|
3540
|
+
createdAt: Date;
|
|
3541
3541
|
}, {
|
|
3542
3542
|
id: string;
|
|
3543
|
-
createdAt: Date;
|
|
3544
|
-
description: string;
|
|
3545
3543
|
friendlyId: string;
|
|
3546
3544
|
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
3545
|
+
description: string;
|
|
3546
|
+
createdAt: Date;
|
|
3547
3547
|
}>;
|
|
3548
3548
|
run: z.ZodObject<{
|
|
3549
3549
|
id: z.ZodString;
|
|
@@ -3552,15 +3552,15 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3552
3552
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3553
3553
|
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
3554
3554
|
}, "strip", z.ZodTypeAny, {
|
|
3555
|
-
status: import("../../index.js").TaskRunStatus;
|
|
3556
3555
|
id: string;
|
|
3557
3556
|
friendlyId: string;
|
|
3557
|
+
status: import("../../index.js").TaskRunStatus;
|
|
3558
3558
|
attemptNumber?: number | null | undefined;
|
|
3559
3559
|
taskEventStore?: string | undefined;
|
|
3560
3560
|
}, {
|
|
3561
|
-
status: import("../../index.js").TaskRunStatus;
|
|
3562
3561
|
id: string;
|
|
3563
3562
|
friendlyId: string;
|
|
3563
|
+
status: import("../../index.js").TaskRunStatus;
|
|
3564
3564
|
attemptNumber?: number | null | undefined;
|
|
3565
3565
|
taskEventStore?: string | undefined;
|
|
3566
3566
|
}>;
|
|
@@ -3584,18 +3584,18 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3584
3584
|
friendlyId: z.ZodString;
|
|
3585
3585
|
}, "strip", z.ZodTypeAny, {
|
|
3586
3586
|
type: import("../../index.js").CheckpointTypeEnum;
|
|
3587
|
-
id: string;
|
|
3588
|
-
friendlyId: string;
|
|
3589
3587
|
location: string;
|
|
3590
3588
|
imageRef?: string | null | undefined;
|
|
3591
3589
|
reason?: string | null | undefined;
|
|
3592
|
-
}, {
|
|
3593
|
-
type: import("../../index.js").CheckpointTypeEnum;
|
|
3594
3590
|
id: string;
|
|
3595
3591
|
friendlyId: string;
|
|
3592
|
+
}, {
|
|
3593
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
3596
3594
|
location: string;
|
|
3597
3595
|
imageRef?: string | null | undefined;
|
|
3598
3596
|
reason?: string | null | undefined;
|
|
3597
|
+
id: string;
|
|
3598
|
+
friendlyId: string;
|
|
3599
3599
|
}>>;
|
|
3600
3600
|
completedWaitpoints: z.ZodArray<z.ZodObject<{
|
|
3601
3601
|
id: z.ZodString;
|
|
@@ -3647,15 +3647,12 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3647
3647
|
outputType: z.ZodOptional<z.ZodString>;
|
|
3648
3648
|
outputIsError: z.ZodBoolean;
|
|
3649
3649
|
}, "strip", z.ZodTypeAny, {
|
|
3650
|
-
type: import("../../index.js").WaitpointType;
|
|
3651
3650
|
id: string;
|
|
3651
|
+
index?: number | undefined;
|
|
3652
3652
|
friendlyId: string;
|
|
3653
|
+
type: import("../../index.js").WaitpointType;
|
|
3653
3654
|
completedAt: Date;
|
|
3654
|
-
outputIsError: boolean;
|
|
3655
|
-
output?: string | undefined;
|
|
3656
3655
|
idempotencyKey?: string | undefined;
|
|
3657
|
-
outputType?: string | undefined;
|
|
3658
|
-
index?: number | undefined;
|
|
3659
3656
|
completedByTaskRun?: {
|
|
3660
3657
|
id: string;
|
|
3661
3658
|
friendlyId: string;
|
|
@@ -3669,16 +3666,16 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3669
3666
|
id: string;
|
|
3670
3667
|
friendlyId: string;
|
|
3671
3668
|
} | undefined;
|
|
3669
|
+
output?: string | undefined;
|
|
3670
|
+
outputType?: string | undefined;
|
|
3671
|
+
outputIsError: boolean;
|
|
3672
3672
|
}, {
|
|
3673
|
-
type: import("../../index.js").WaitpointType;
|
|
3674
3673
|
id: string;
|
|
3674
|
+
index?: number | undefined;
|
|
3675
3675
|
friendlyId: string;
|
|
3676
|
+
type: import("../../index.js").WaitpointType;
|
|
3676
3677
|
completedAt: Date;
|
|
3677
|
-
outputIsError: boolean;
|
|
3678
|
-
output?: string | undefined;
|
|
3679
3678
|
idempotencyKey?: string | undefined;
|
|
3680
|
-
outputType?: string | undefined;
|
|
3681
|
-
index?: number | undefined;
|
|
3682
3679
|
completedByTaskRun?: {
|
|
3683
3680
|
id: string;
|
|
3684
3681
|
friendlyId: string;
|
|
@@ -3692,33 +3689,45 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3692
3689
|
id: string;
|
|
3693
3690
|
friendlyId: string;
|
|
3694
3691
|
} | undefined;
|
|
3692
|
+
output?: string | undefined;
|
|
3693
|
+
outputType?: string | undefined;
|
|
3694
|
+
outputIsError: boolean;
|
|
3695
3695
|
}>, "many">;
|
|
3696
3696
|
}, "strip", z.ZodTypeAny, {
|
|
3697
|
+
version: "1";
|
|
3698
|
+
snapshot: {
|
|
3699
|
+
id: string;
|
|
3700
|
+
friendlyId: string;
|
|
3701
|
+
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
3702
|
+
description: string;
|
|
3703
|
+
createdAt: Date;
|
|
3704
|
+
};
|
|
3697
3705
|
run: {
|
|
3698
|
-
status: import("../../index.js").TaskRunStatus;
|
|
3699
3706
|
id: string;
|
|
3700
3707
|
friendlyId: string;
|
|
3708
|
+
status: import("../../index.js").TaskRunStatus;
|
|
3701
3709
|
attemptNumber?: number | null | undefined;
|
|
3702
3710
|
taskEventStore?: string | undefined;
|
|
3703
3711
|
};
|
|
3704
|
-
|
|
3705
|
-
snapshot: {
|
|
3712
|
+
batch?: {
|
|
3706
3713
|
id: string;
|
|
3707
|
-
createdAt: Date;
|
|
3708
|
-
description: string;
|
|
3709
3714
|
friendlyId: string;
|
|
3710
|
-
|
|
3711
|
-
|
|
3715
|
+
} | undefined;
|
|
3716
|
+
checkpoint?: {
|
|
3717
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
3718
|
+
location: string;
|
|
3719
|
+
imageRef?: string | null | undefined;
|
|
3720
|
+
reason?: string | null | undefined;
|
|
3721
|
+
id: string;
|
|
3722
|
+
friendlyId: string;
|
|
3723
|
+
} | undefined;
|
|
3712
3724
|
completedWaitpoints: {
|
|
3713
|
-
type: import("../../index.js").WaitpointType;
|
|
3714
3725
|
id: string;
|
|
3726
|
+
index?: number | undefined;
|
|
3715
3727
|
friendlyId: string;
|
|
3728
|
+
type: import("../../index.js").WaitpointType;
|
|
3716
3729
|
completedAt: Date;
|
|
3717
|
-
outputIsError: boolean;
|
|
3718
|
-
output?: string | undefined;
|
|
3719
3730
|
idempotencyKey?: string | undefined;
|
|
3720
|
-
outputType?: string | undefined;
|
|
3721
|
-
index?: number | undefined;
|
|
3722
3731
|
completedByTaskRun?: {
|
|
3723
3732
|
id: string;
|
|
3724
3733
|
friendlyId: string;
|
|
@@ -3732,45 +3741,45 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3732
3741
|
id: string;
|
|
3733
3742
|
friendlyId: string;
|
|
3734
3743
|
} | undefined;
|
|
3744
|
+
output?: string | undefined;
|
|
3745
|
+
outputType?: string | undefined;
|
|
3746
|
+
outputIsError: boolean;
|
|
3735
3747
|
}[];
|
|
3748
|
+
}, {
|
|
3749
|
+
version: "1";
|
|
3750
|
+
snapshot: {
|
|
3751
|
+
id: string;
|
|
3752
|
+
friendlyId: string;
|
|
3753
|
+
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
3754
|
+
description: string;
|
|
3755
|
+
createdAt: Date;
|
|
3756
|
+
};
|
|
3757
|
+
run: {
|
|
3758
|
+
id: string;
|
|
3759
|
+
friendlyId: string;
|
|
3760
|
+
status: import("../../index.js").TaskRunStatus;
|
|
3761
|
+
attemptNumber?: number | null | undefined;
|
|
3762
|
+
taskEventStore?: string | undefined;
|
|
3763
|
+
};
|
|
3736
3764
|
batch?: {
|
|
3737
3765
|
id: string;
|
|
3738
3766
|
friendlyId: string;
|
|
3739
3767
|
} | undefined;
|
|
3740
3768
|
checkpoint?: {
|
|
3741
3769
|
type: import("../../index.js").CheckpointTypeEnum;
|
|
3742
|
-
id: string;
|
|
3743
|
-
friendlyId: string;
|
|
3744
3770
|
location: string;
|
|
3745
3771
|
imageRef?: string | null | undefined;
|
|
3746
3772
|
reason?: string | null | undefined;
|
|
3747
|
-
} | undefined;
|
|
3748
|
-
}, {
|
|
3749
|
-
run: {
|
|
3750
|
-
status: import("../../index.js").TaskRunStatus;
|
|
3751
|
-
id: string;
|
|
3752
|
-
friendlyId: string;
|
|
3753
|
-
attemptNumber?: number | null | undefined;
|
|
3754
|
-
taskEventStore?: string | undefined;
|
|
3755
|
-
};
|
|
3756
|
-
version: "1";
|
|
3757
|
-
snapshot: {
|
|
3758
3773
|
id: string;
|
|
3759
|
-
createdAt: Date;
|
|
3760
|
-
description: string;
|
|
3761
3774
|
friendlyId: string;
|
|
3762
|
-
|
|
3763
|
-
};
|
|
3775
|
+
} | undefined;
|
|
3764
3776
|
completedWaitpoints: {
|
|
3765
|
-
type: import("../../index.js").WaitpointType;
|
|
3766
3777
|
id: string;
|
|
3778
|
+
index?: number | undefined;
|
|
3767
3779
|
friendlyId: string;
|
|
3780
|
+
type: import("../../index.js").WaitpointType;
|
|
3768
3781
|
completedAt: Date;
|
|
3769
|
-
outputIsError: boolean;
|
|
3770
|
-
output?: string | undefined;
|
|
3771
3782
|
idempotencyKey?: string | undefined;
|
|
3772
|
-
outputType?: string | undefined;
|
|
3773
|
-
index?: number | undefined;
|
|
3774
3783
|
completedByTaskRun?: {
|
|
3775
3784
|
id: string;
|
|
3776
3785
|
friendlyId: string;
|
|
@@ -3784,47 +3793,47 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3784
3793
|
id: string;
|
|
3785
3794
|
friendlyId: string;
|
|
3786
3795
|
} | undefined;
|
|
3796
|
+
output?: string | undefined;
|
|
3797
|
+
outputType?: string | undefined;
|
|
3798
|
+
outputIsError: boolean;
|
|
3787
3799
|
}[];
|
|
3788
|
-
batch?: {
|
|
3789
|
-
id: string;
|
|
3790
|
-
friendlyId: string;
|
|
3791
|
-
} | undefined;
|
|
3792
|
-
checkpoint?: {
|
|
3793
|
-
type: import("../../index.js").CheckpointTypeEnum;
|
|
3794
|
-
id: string;
|
|
3795
|
-
friendlyId: string;
|
|
3796
|
-
location: string;
|
|
3797
|
-
imageRef?: string | null | undefined;
|
|
3798
|
-
reason?: string | null | undefined;
|
|
3799
|
-
} | undefined;
|
|
3800
3800
|
}>, "many">;
|
|
3801
3801
|
}, "strip", z.ZodTypeAny, {
|
|
3802
3802
|
snapshots: {
|
|
3803
|
+
version: "1";
|
|
3804
|
+
snapshot: {
|
|
3805
|
+
id: string;
|
|
3806
|
+
friendlyId: string;
|
|
3807
|
+
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
3808
|
+
description: string;
|
|
3809
|
+
createdAt: Date;
|
|
3810
|
+
};
|
|
3803
3811
|
run: {
|
|
3804
|
-
status: import("../../index.js").TaskRunStatus;
|
|
3805
3812
|
id: string;
|
|
3806
3813
|
friendlyId: string;
|
|
3814
|
+
status: import("../../index.js").TaskRunStatus;
|
|
3807
3815
|
attemptNumber?: number | null | undefined;
|
|
3808
3816
|
taskEventStore?: string | undefined;
|
|
3809
3817
|
};
|
|
3810
|
-
|
|
3811
|
-
snapshot: {
|
|
3818
|
+
batch?: {
|
|
3812
3819
|
id: string;
|
|
3813
|
-
createdAt: Date;
|
|
3814
|
-
description: string;
|
|
3815
3820
|
friendlyId: string;
|
|
3816
|
-
|
|
3817
|
-
|
|
3821
|
+
} | undefined;
|
|
3822
|
+
checkpoint?: {
|
|
3823
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
3824
|
+
location: string;
|
|
3825
|
+
imageRef?: string | null | undefined;
|
|
3826
|
+
reason?: string | null | undefined;
|
|
3827
|
+
id: string;
|
|
3828
|
+
friendlyId: string;
|
|
3829
|
+
} | undefined;
|
|
3818
3830
|
completedWaitpoints: {
|
|
3819
|
-
type: import("../../index.js").WaitpointType;
|
|
3820
3831
|
id: string;
|
|
3832
|
+
index?: number | undefined;
|
|
3821
3833
|
friendlyId: string;
|
|
3834
|
+
type: import("../../index.js").WaitpointType;
|
|
3822
3835
|
completedAt: Date;
|
|
3823
|
-
outputIsError: boolean;
|
|
3824
|
-
output?: string | undefined;
|
|
3825
3836
|
idempotencyKey?: string | undefined;
|
|
3826
|
-
outputType?: string | undefined;
|
|
3827
|
-
index?: number | undefined;
|
|
3828
3837
|
completedByTaskRun?: {
|
|
3829
3838
|
id: string;
|
|
3830
3839
|
friendlyId: string;
|
|
@@ -3838,47 +3847,47 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3838
3847
|
id: string;
|
|
3839
3848
|
friendlyId: string;
|
|
3840
3849
|
} | undefined;
|
|
3850
|
+
output?: string | undefined;
|
|
3851
|
+
outputType?: string | undefined;
|
|
3852
|
+
outputIsError: boolean;
|
|
3841
3853
|
}[];
|
|
3842
|
-
batch?: {
|
|
3843
|
-
id: string;
|
|
3844
|
-
friendlyId: string;
|
|
3845
|
-
} | undefined;
|
|
3846
|
-
checkpoint?: {
|
|
3847
|
-
type: import("../../index.js").CheckpointTypeEnum;
|
|
3848
|
-
id: string;
|
|
3849
|
-
friendlyId: string;
|
|
3850
|
-
location: string;
|
|
3851
|
-
imageRef?: string | null | undefined;
|
|
3852
|
-
reason?: string | null | undefined;
|
|
3853
|
-
} | undefined;
|
|
3854
3854
|
}[];
|
|
3855
3855
|
}, {
|
|
3856
3856
|
snapshots: {
|
|
3857
|
+
version: "1";
|
|
3858
|
+
snapshot: {
|
|
3859
|
+
id: string;
|
|
3860
|
+
friendlyId: string;
|
|
3861
|
+
executionStatus: import("../../index.js").TaskRunExecutionStatus;
|
|
3862
|
+
description: string;
|
|
3863
|
+
createdAt: Date;
|
|
3864
|
+
};
|
|
3857
3865
|
run: {
|
|
3858
|
-
status: import("../../index.js").TaskRunStatus;
|
|
3859
3866
|
id: string;
|
|
3860
3867
|
friendlyId: string;
|
|
3868
|
+
status: import("../../index.js").TaskRunStatus;
|
|
3861
3869
|
attemptNumber?: number | null | undefined;
|
|
3862
3870
|
taskEventStore?: string | undefined;
|
|
3863
3871
|
};
|
|
3864
|
-
|
|
3865
|
-
snapshot: {
|
|
3872
|
+
batch?: {
|
|
3866
3873
|
id: string;
|
|
3867
|
-
createdAt: Date;
|
|
3868
|
-
description: string;
|
|
3869
3874
|
friendlyId: string;
|
|
3870
|
-
|
|
3871
|
-
|
|
3875
|
+
} | undefined;
|
|
3876
|
+
checkpoint?: {
|
|
3877
|
+
type: import("../../index.js").CheckpointTypeEnum;
|
|
3878
|
+
location: string;
|
|
3879
|
+
imageRef?: string | null | undefined;
|
|
3880
|
+
reason?: string | null | undefined;
|
|
3881
|
+
id: string;
|
|
3882
|
+
friendlyId: string;
|
|
3883
|
+
} | undefined;
|
|
3872
3884
|
completedWaitpoints: {
|
|
3873
|
-
type: import("../../index.js").WaitpointType;
|
|
3874
3885
|
id: string;
|
|
3886
|
+
index?: number | undefined;
|
|
3875
3887
|
friendlyId: string;
|
|
3888
|
+
type: import("../../index.js").WaitpointType;
|
|
3876
3889
|
completedAt: Date;
|
|
3877
|
-
outputIsError: boolean;
|
|
3878
|
-
output?: string | undefined;
|
|
3879
3890
|
idempotencyKey?: string | undefined;
|
|
3880
|
-
outputType?: string | undefined;
|
|
3881
|
-
index?: number | undefined;
|
|
3882
3891
|
completedByTaskRun?: {
|
|
3883
3892
|
id: string;
|
|
3884
3893
|
friendlyId: string;
|
|
@@ -3892,19 +3901,10 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3892
3901
|
id: string;
|
|
3893
3902
|
friendlyId: string;
|
|
3894
3903
|
} | undefined;
|
|
3904
|
+
output?: string | undefined;
|
|
3905
|
+
outputType?: string | undefined;
|
|
3906
|
+
outputIsError: boolean;
|
|
3895
3907
|
}[];
|
|
3896
|
-
batch?: {
|
|
3897
|
-
id: string;
|
|
3898
|
-
friendlyId: string;
|
|
3899
|
-
} | undefined;
|
|
3900
|
-
checkpoint?: {
|
|
3901
|
-
type: import("../../index.js").CheckpointTypeEnum;
|
|
3902
|
-
id: string;
|
|
3903
|
-
friendlyId: string;
|
|
3904
|
-
location: string;
|
|
3905
|
-
imageRef?: string | null | undefined;
|
|
3906
|
-
reason?: string | null | undefined;
|
|
3907
|
-
} | undefined;
|
|
3908
3908
|
}[];
|
|
3909
3909
|
}>;
|
|
3910
3910
|
export type WorkloadRunSnapshotsSinceResponseBody = z.infer<typeof WorkloadRunSnapshotsSinceResponseBody>;
|