@trigger.dev/core 3.0.0-beta.50 → 3.0.0-beta.52
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/{catalog-h79CG5Wy.d.ts → catalog-gM5Cvgc3.d.ts} +2 -2
- package/dist/{catalog-H7yFiZ60.d.mts → catalog-nhfltZFA.d.mts} +2 -2
- package/dist/{common-CLW82lkt.d.mts → common-B45g-vNI.d.mts} +13 -0
- package/dist/{common-CLW82lkt.d.ts → common-B45g-vNI.d.ts} +13 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{manager-KvCabW1a.d.mts → manager-q7bZZNwE.d.mts} +1 -1
- package/dist/{manager-OBA35PzR.d.ts → manager-zf0yn2lA.d.ts} +1 -1
- package/dist/{messages-JvHJ83wv.d.mts → messages-248C7Ut6.d.mts} +203 -11
- package/dist/{messages-JvHJ83wv.d.ts → messages-248C7Ut6.d.ts} +203 -11
- package/dist/retry.d.mts +1 -1
- package/dist/retry.d.ts +1 -1
- package/dist/schemas/index.d.mts +6 -6
- package/dist/schemas/index.d.ts +6 -6
- package/dist/{schemas-C9ssfehv.d.mts → schemas-38ilA21d.d.mts} +19 -0
- package/dist/{schemas-C9ssfehv.d.ts → schemas-38ilA21d.d.ts} +19 -0
- package/dist/v3/dev/index.d.mts +2 -2
- package/dist/v3/dev/index.d.ts +2 -2
- package/dist/v3/errors.d.mts +1 -1
- package/dist/v3/errors.d.ts +1 -1
- package/dist/v3/index.d.mts +45 -33
- package/dist/v3/index.d.ts +45 -33
- package/dist/v3/index.js +44 -3
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/index.mjs +43 -4
- package/dist/v3/index.mjs.map +1 -1
- package/dist/v3/otel/index.js +1 -1
- package/dist/v3/otel/index.js.map +1 -1
- package/dist/v3/otel/index.mjs +1 -1
- package/dist/v3/otel/index.mjs.map +1 -1
- package/dist/v3/prod/index.d.mts +3 -3
- package/dist/v3/prod/index.d.ts +3 -3
- package/dist/v3/schemas/index.d.mts +71 -5
- package/dist/v3/schemas/index.d.ts +71 -5
- package/dist/v3/schemas/index.js +31 -2
- package/dist/v3/schemas/index.js.map +1 -1
- package/dist/v3/schemas/index.mjs +30 -3
- package/dist/v3/schemas/index.mjs.map +1 -1
- package/dist/v3/utils/ioSerialization.d.mts +2 -1
- package/dist/v3/utils/ioSerialization.d.ts +2 -1
- package/dist/v3/utils/ioSerialization.js +41 -3
- package/dist/v3/utils/ioSerialization.js.map +1 -1
- package/dist/v3/utils/ioSerialization.mjs +41 -4
- package/dist/v3/utils/ioSerialization.mjs.map +1 -1
- package/dist/v3/utils/retries.d.mts +1 -1
- package/dist/v3/utils/retries.d.ts +1 -1
- package/dist/v3/workers/index.d.mts +6 -6
- package/dist/v3/workers/index.d.ts +6 -6
- package/dist/v3/workers/index.js +29 -3
- package/dist/v3/workers/index.js.map +1 -1
- package/dist/v3/workers/index.mjs +29 -3
- package/dist/v3/workers/index.mjs.map +1 -1
- package/dist/v3/zodfetch.d.mts +1 -1
- package/dist/v3/zodfetch.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{api-sNoooMbT.d.ts → api--StDLb4h.d.ts} +153 -153
- package/dist/{api-Pl9fxB8v.d.mts → api-a39zAY3E.d.mts} +153 -153
package/dist/retry.d.mts
CHANGED
package/dist/retry.d.ts
CHANGED
package/dist/schemas/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { au as RuntimeEnvironmentType } from '../api-
|
|
2
|
-
export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api-
|
|
1
|
+
import { au as RuntimeEnvironmentType } from '../api-a39zAY3E.mjs';
|
|
2
|
+
export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api-a39zAY3E.mjs';
|
|
3
3
|
import { S as SerializableJson } from '../json-DBPEJQRe.mjs';
|
|
4
4
|
export { D as DeserializedJson, a as DeserializedJsonSchema, b as SerializableJsonSchema } from '../json-DBPEJQRe.mjs';
|
|
5
5
|
import { E as EventFilter } from '../eventFilter-66NaBAMi.mjs';
|
|
@@ -558,11 +558,11 @@ declare const SchemaErrorSchema: z.ZodObject<{
|
|
|
558
558
|
path: z.ZodArray<z.ZodString, "many">;
|
|
559
559
|
message: z.ZodString;
|
|
560
560
|
}, "strip", z.ZodTypeAny, {
|
|
561
|
-
message: string;
|
|
562
561
|
path: string[];
|
|
563
|
-
}, {
|
|
564
562
|
message: string;
|
|
563
|
+
}, {
|
|
565
564
|
path: string[];
|
|
565
|
+
message: string;
|
|
566
566
|
}>;
|
|
567
567
|
type SchemaError = z.infer<typeof SchemaErrorSchema>;
|
|
568
568
|
|
|
@@ -2273,16 +2273,16 @@ declare const RunTaskSchema: z.ZodObject<{
|
|
|
2273
2273
|
/** When the task completed */
|
|
2274
2274
|
completedAt: z.ZodNullable<z.ZodDate>;
|
|
2275
2275
|
}, "strip", z.ZodTypeAny, {
|
|
2276
|
-
name: string;
|
|
2277
2276
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2277
|
+
name: string;
|
|
2278
2278
|
id: string;
|
|
2279
2279
|
icon: string | null;
|
|
2280
2280
|
startedAt: Date | null;
|
|
2281
2281
|
completedAt: Date | null;
|
|
2282
2282
|
displayKey: string | null;
|
|
2283
2283
|
}, {
|
|
2284
|
-
name: string;
|
|
2285
2284
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2285
|
+
name: string;
|
|
2286
2286
|
id: string;
|
|
2287
2287
|
icon: string | null;
|
|
2288
2288
|
startedAt: Date | null;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { au as RuntimeEnvironmentType } from '../api
|
|
2
|
-
export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api
|
|
1
|
+
import { au as RuntimeEnvironmentType } from '../api--StDLb4h.js';
|
|
2
|
+
export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api--StDLb4h.js';
|
|
3
3
|
import { S as SerializableJson } from '../json-DBPEJQRe.js';
|
|
4
4
|
export { D as DeserializedJson, a as DeserializedJsonSchema, b as SerializableJsonSchema } from '../json-DBPEJQRe.js';
|
|
5
5
|
import { E as EventFilter } from '../eventFilter-66NaBAMi.js';
|
|
@@ -558,11 +558,11 @@ declare const SchemaErrorSchema: z.ZodObject<{
|
|
|
558
558
|
path: z.ZodArray<z.ZodString, "many">;
|
|
559
559
|
message: z.ZodString;
|
|
560
560
|
}, "strip", z.ZodTypeAny, {
|
|
561
|
-
message: string;
|
|
562
561
|
path: string[];
|
|
563
|
-
}, {
|
|
564
562
|
message: string;
|
|
563
|
+
}, {
|
|
565
564
|
path: string[];
|
|
565
|
+
message: string;
|
|
566
566
|
}>;
|
|
567
567
|
type SchemaError = z.infer<typeof SchemaErrorSchema>;
|
|
568
568
|
|
|
@@ -2273,16 +2273,16 @@ declare const RunTaskSchema: z.ZodObject<{
|
|
|
2273
2273
|
/** When the task completed */
|
|
2274
2274
|
completedAt: z.ZodNullable<z.ZodDate>;
|
|
2275
2275
|
}, "strip", z.ZodTypeAny, {
|
|
2276
|
-
name: string;
|
|
2277
2276
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2277
|
+
name: string;
|
|
2278
2278
|
id: string;
|
|
2279
2279
|
icon: string | null;
|
|
2280
2280
|
startedAt: Date | null;
|
|
2281
2281
|
completedAt: Date | null;
|
|
2282
2282
|
displayKey: string | null;
|
|
2283
2283
|
}, {
|
|
2284
|
-
name: string;
|
|
2285
2284
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2285
|
+
name: string;
|
|
2286
2286
|
id: string;
|
|
2287
2287
|
icon: string | null;
|
|
2288
2288
|
startedAt: Date | null;
|
|
@@ -60,6 +60,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
60
60
|
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
61
61
|
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
62
62
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
63
|
+
version: z.ZodOptional<z.ZodString>;
|
|
63
64
|
}, "strip", z.ZodTypeAny, {
|
|
64
65
|
id: string;
|
|
65
66
|
startedAt: Date;
|
|
@@ -74,6 +75,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
74
75
|
context?: any;
|
|
75
76
|
idempotencyKey?: string | undefined;
|
|
76
77
|
maxAttempts?: number | undefined;
|
|
78
|
+
version?: string | undefined;
|
|
77
79
|
}, {
|
|
78
80
|
id: string;
|
|
79
81
|
payload: string;
|
|
@@ -88,6 +90,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
88
90
|
durationMs?: number | undefined;
|
|
89
91
|
costInCents?: number | undefined;
|
|
90
92
|
baseCostInCents?: number | undefined;
|
|
93
|
+
version?: string | undefined;
|
|
91
94
|
}>;
|
|
92
95
|
queue: z.ZodObject<{
|
|
93
96
|
id: z.ZodString;
|
|
@@ -192,6 +195,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
192
195
|
context?: any;
|
|
193
196
|
idempotencyKey?: string | undefined;
|
|
194
197
|
maxAttempts?: number | undefined;
|
|
198
|
+
version?: string | undefined;
|
|
195
199
|
};
|
|
196
200
|
queue: {
|
|
197
201
|
id: string;
|
|
@@ -250,6 +254,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
250
254
|
durationMs?: number | undefined;
|
|
251
255
|
costInCents?: number | undefined;
|
|
252
256
|
baseCostInCents?: number | undefined;
|
|
257
|
+
version?: string | undefined;
|
|
253
258
|
};
|
|
254
259
|
queue: {
|
|
255
260
|
id: string;
|
|
@@ -312,6 +317,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
312
317
|
context?: any;
|
|
313
318
|
idempotencyKey?: string | undefined;
|
|
314
319
|
maxAttempts?: number | undefined;
|
|
320
|
+
version?: string | undefined;
|
|
315
321
|
};
|
|
316
322
|
queue: {
|
|
317
323
|
id: string;
|
|
@@ -374,6 +380,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
374
380
|
durationMs?: number | undefined;
|
|
375
381
|
costInCents?: number | undefined;
|
|
376
382
|
baseCostInCents?: number | undefined;
|
|
383
|
+
version?: string | undefined;
|
|
377
384
|
};
|
|
378
385
|
queue: {
|
|
379
386
|
id: string;
|
|
@@ -459,6 +466,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
459
466
|
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
460
467
|
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
461
468
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
469
|
+
version: z.ZodOptional<z.ZodString>;
|
|
462
470
|
}, "strip", z.ZodTypeAny, {
|
|
463
471
|
id: string;
|
|
464
472
|
startedAt: Date;
|
|
@@ -473,6 +481,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
473
481
|
context?: any;
|
|
474
482
|
idempotencyKey?: string | undefined;
|
|
475
483
|
maxAttempts?: number | undefined;
|
|
484
|
+
version?: string | undefined;
|
|
476
485
|
}, {
|
|
477
486
|
id: string;
|
|
478
487
|
payload: string;
|
|
@@ -487,6 +496,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
487
496
|
durationMs?: number | undefined;
|
|
488
497
|
costInCents?: number | undefined;
|
|
489
498
|
baseCostInCents?: number | undefined;
|
|
499
|
+
version?: string | undefined;
|
|
490
500
|
}>;
|
|
491
501
|
queue: z.ZodObject<{
|
|
492
502
|
id: z.ZodString;
|
|
@@ -604,6 +614,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
604
614
|
context?: any;
|
|
605
615
|
idempotencyKey?: string | undefined;
|
|
606
616
|
maxAttempts?: number | undefined;
|
|
617
|
+
version?: string | undefined;
|
|
607
618
|
};
|
|
608
619
|
queue: {
|
|
609
620
|
id: string;
|
|
@@ -667,6 +678,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
667
678
|
durationMs?: number | undefined;
|
|
668
679
|
costInCents?: number | undefined;
|
|
669
680
|
baseCostInCents?: number | undefined;
|
|
681
|
+
version?: string | undefined;
|
|
670
682
|
};
|
|
671
683
|
queue: {
|
|
672
684
|
id: string;
|
|
@@ -755,6 +767,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
755
767
|
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
756
768
|
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
757
769
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
770
|
+
version: z.ZodOptional<z.ZodString>;
|
|
758
771
|
}, "strip", z.ZodTypeAny, {
|
|
759
772
|
id: string;
|
|
760
773
|
startedAt: Date;
|
|
@@ -769,6 +782,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
769
782
|
context?: any;
|
|
770
783
|
idempotencyKey?: string | undefined;
|
|
771
784
|
maxAttempts?: number | undefined;
|
|
785
|
+
version?: string | undefined;
|
|
772
786
|
}, {
|
|
773
787
|
id: string;
|
|
774
788
|
payload: string;
|
|
@@ -783,6 +797,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
783
797
|
durationMs?: number | undefined;
|
|
784
798
|
costInCents?: number | undefined;
|
|
785
799
|
baseCostInCents?: number | undefined;
|
|
800
|
+
version?: string | undefined;
|
|
786
801
|
}>;
|
|
787
802
|
queue: z.ZodObject<{
|
|
788
803
|
id: z.ZodString;
|
|
@@ -900,6 +915,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
900
915
|
context?: any;
|
|
901
916
|
idempotencyKey?: string | undefined;
|
|
902
917
|
maxAttempts?: number | undefined;
|
|
918
|
+
version?: string | undefined;
|
|
903
919
|
};
|
|
904
920
|
queue: {
|
|
905
921
|
id: string;
|
|
@@ -963,6 +979,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
963
979
|
durationMs?: number | undefined;
|
|
964
980
|
costInCents?: number | undefined;
|
|
965
981
|
baseCostInCents?: number | undefined;
|
|
982
|
+
version?: string | undefined;
|
|
966
983
|
};
|
|
967
984
|
queue: {
|
|
968
985
|
id: string;
|
|
@@ -1030,6 +1047,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1030
1047
|
context?: any;
|
|
1031
1048
|
idempotencyKey?: string | undefined;
|
|
1032
1049
|
maxAttempts?: number | undefined;
|
|
1050
|
+
version?: string | undefined;
|
|
1033
1051
|
};
|
|
1034
1052
|
queue: {
|
|
1035
1053
|
id: string;
|
|
@@ -1097,6 +1115,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1097
1115
|
durationMs?: number | undefined;
|
|
1098
1116
|
costInCents?: number | undefined;
|
|
1099
1117
|
baseCostInCents?: number | undefined;
|
|
1118
|
+
version?: string | undefined;
|
|
1100
1119
|
};
|
|
1101
1120
|
queue: {
|
|
1102
1121
|
id: string;
|
|
@@ -60,6 +60,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
60
60
|
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
61
61
|
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
62
62
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
63
|
+
version: z.ZodOptional<z.ZodString>;
|
|
63
64
|
}, "strip", z.ZodTypeAny, {
|
|
64
65
|
id: string;
|
|
65
66
|
startedAt: Date;
|
|
@@ -74,6 +75,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
74
75
|
context?: any;
|
|
75
76
|
idempotencyKey?: string | undefined;
|
|
76
77
|
maxAttempts?: number | undefined;
|
|
78
|
+
version?: string | undefined;
|
|
77
79
|
}, {
|
|
78
80
|
id: string;
|
|
79
81
|
payload: string;
|
|
@@ -88,6 +90,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
88
90
|
durationMs?: number | undefined;
|
|
89
91
|
costInCents?: number | undefined;
|
|
90
92
|
baseCostInCents?: number | undefined;
|
|
93
|
+
version?: string | undefined;
|
|
91
94
|
}>;
|
|
92
95
|
queue: z.ZodObject<{
|
|
93
96
|
id: z.ZodString;
|
|
@@ -192,6 +195,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
192
195
|
context?: any;
|
|
193
196
|
idempotencyKey?: string | undefined;
|
|
194
197
|
maxAttempts?: number | undefined;
|
|
198
|
+
version?: string | undefined;
|
|
195
199
|
};
|
|
196
200
|
queue: {
|
|
197
201
|
id: string;
|
|
@@ -250,6 +254,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
250
254
|
durationMs?: number | undefined;
|
|
251
255
|
costInCents?: number | undefined;
|
|
252
256
|
baseCostInCents?: number | undefined;
|
|
257
|
+
version?: string | undefined;
|
|
253
258
|
};
|
|
254
259
|
queue: {
|
|
255
260
|
id: string;
|
|
@@ -312,6 +317,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
312
317
|
context?: any;
|
|
313
318
|
idempotencyKey?: string | undefined;
|
|
314
319
|
maxAttempts?: number | undefined;
|
|
320
|
+
version?: string | undefined;
|
|
315
321
|
};
|
|
316
322
|
queue: {
|
|
317
323
|
id: string;
|
|
@@ -374,6 +380,7 @@ declare const TaskRunExecutionPayload: z.ZodObject<{
|
|
|
374
380
|
durationMs?: number | undefined;
|
|
375
381
|
costInCents?: number | undefined;
|
|
376
382
|
baseCostInCents?: number | undefined;
|
|
383
|
+
version?: string | undefined;
|
|
377
384
|
};
|
|
378
385
|
queue: {
|
|
379
386
|
id: string;
|
|
@@ -459,6 +466,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
459
466
|
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
460
467
|
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
461
468
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
469
|
+
version: z.ZodOptional<z.ZodString>;
|
|
462
470
|
}, "strip", z.ZodTypeAny, {
|
|
463
471
|
id: string;
|
|
464
472
|
startedAt: Date;
|
|
@@ -473,6 +481,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
473
481
|
context?: any;
|
|
474
482
|
idempotencyKey?: string | undefined;
|
|
475
483
|
maxAttempts?: number | undefined;
|
|
484
|
+
version?: string | undefined;
|
|
476
485
|
}, {
|
|
477
486
|
id: string;
|
|
478
487
|
payload: string;
|
|
@@ -487,6 +496,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
487
496
|
durationMs?: number | undefined;
|
|
488
497
|
costInCents?: number | undefined;
|
|
489
498
|
baseCostInCents?: number | undefined;
|
|
499
|
+
version?: string | undefined;
|
|
490
500
|
}>;
|
|
491
501
|
queue: z.ZodObject<{
|
|
492
502
|
id: z.ZodString;
|
|
@@ -604,6 +614,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
604
614
|
context?: any;
|
|
605
615
|
idempotencyKey?: string | undefined;
|
|
606
616
|
maxAttempts?: number | undefined;
|
|
617
|
+
version?: string | undefined;
|
|
607
618
|
};
|
|
608
619
|
queue: {
|
|
609
620
|
id: string;
|
|
@@ -667,6 +678,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
|
|
|
667
678
|
durationMs?: number | undefined;
|
|
668
679
|
costInCents?: number | undefined;
|
|
669
680
|
baseCostInCents?: number | undefined;
|
|
681
|
+
version?: string | undefined;
|
|
670
682
|
};
|
|
671
683
|
queue: {
|
|
672
684
|
id: string;
|
|
@@ -755,6 +767,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
755
767
|
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
756
768
|
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
757
769
|
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
770
|
+
version: z.ZodOptional<z.ZodString>;
|
|
758
771
|
}, "strip", z.ZodTypeAny, {
|
|
759
772
|
id: string;
|
|
760
773
|
startedAt: Date;
|
|
@@ -769,6 +782,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
769
782
|
context?: any;
|
|
770
783
|
idempotencyKey?: string | undefined;
|
|
771
784
|
maxAttempts?: number | undefined;
|
|
785
|
+
version?: string | undefined;
|
|
772
786
|
}, {
|
|
773
787
|
id: string;
|
|
774
788
|
payload: string;
|
|
@@ -783,6 +797,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
783
797
|
durationMs?: number | undefined;
|
|
784
798
|
costInCents?: number | undefined;
|
|
785
799
|
baseCostInCents?: number | undefined;
|
|
800
|
+
version?: string | undefined;
|
|
786
801
|
}>;
|
|
787
802
|
queue: z.ZodObject<{
|
|
788
803
|
id: z.ZodString;
|
|
@@ -900,6 +915,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
900
915
|
context?: any;
|
|
901
916
|
idempotencyKey?: string | undefined;
|
|
902
917
|
maxAttempts?: number | undefined;
|
|
918
|
+
version?: string | undefined;
|
|
903
919
|
};
|
|
904
920
|
queue: {
|
|
905
921
|
id: string;
|
|
@@ -963,6 +979,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
963
979
|
durationMs?: number | undefined;
|
|
964
980
|
costInCents?: number | undefined;
|
|
965
981
|
baseCostInCents?: number | undefined;
|
|
982
|
+
version?: string | undefined;
|
|
966
983
|
};
|
|
967
984
|
queue: {
|
|
968
985
|
id: string;
|
|
@@ -1030,6 +1047,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1030
1047
|
context?: any;
|
|
1031
1048
|
idempotencyKey?: string | undefined;
|
|
1032
1049
|
maxAttempts?: number | undefined;
|
|
1050
|
+
version?: string | undefined;
|
|
1033
1051
|
};
|
|
1034
1052
|
queue: {
|
|
1035
1053
|
id: string;
|
|
@@ -1097,6 +1115,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
|
|
|
1097
1115
|
durationMs?: number | undefined;
|
|
1098
1116
|
costInCents?: number | undefined;
|
|
1099
1117
|
baseCostInCents?: number | undefined;
|
|
1118
|
+
version?: string | undefined;
|
|
1100
1119
|
};
|
|
1101
1120
|
queue: {
|
|
1102
1121
|
id: string;
|
package/dist/v3/dev/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-
|
|
2
|
-
import { R as RuntimeManager } from '../../manager-
|
|
1
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-B45g-vNI.mjs';
|
|
2
|
+
import { R as RuntimeManager } from '../../manager-q7bZZNwE.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
|
|
5
5
|
declare class DevRuntimeManager implements RuntimeManager {
|
package/dist/v3/dev/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-
|
|
2
|
-
import { R as RuntimeManager } from '../../manager-
|
|
1
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-B45g-vNI.js';
|
|
2
|
+
import { R as RuntimeManager } from '../../manager-zf0yn2lA.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
|
|
5
5
|
declare class DevRuntimeManager implements RuntimeManager {
|
package/dist/v3/errors.d.mts
CHANGED
package/dist/v3/errors.d.ts
CHANGED
package/dist/v3/index.d.mts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as zod from 'zod';
|
|
2
1
|
import { CursorPageParams, ApiRequestOptions, ZodFetchOptions, ApiPromise, CursorPagePromise, OffsetLimitPagePromise } from './zodfetch.mjs';
|
|
3
2
|
export { APIHeaders, ApiConnectionError, ApiError, AuthenticationError, BadRequestError, ConflictError, CursorPage, CursorPageResponse, InternalServerError, NotFoundError, OffsetLimitPage, OffsetLimitPageParams, OffsetLimitPageResponse, Page, PageResponse, PermissionDeniedError, RateLimitError, UnprocessableEntityError, isRequestOptions } from './zodfetch.mjs';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { RunStatus, TriggerTaskRequestBody, BatchTriggerTaskRequestBody, ListRunResponseItem, RescheduleRunRequestBody, AddTagsRequestBody, CreateScheduleOptions, ListScheduleOptions, UpdateScheduleOptions, CreateEnvironmentVariableRequestBody, UpdateEnvironmentVariableRequestBody, Accessory } from './schemas/index.mjs';
|
|
5
|
+
export { AttemptStatus, BackgroundWorkerMetadata, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, EnvironmentVariable, EnvironmentVariableResponseBody, EnvironmentVariableValue, EnvironmentVariables, EventFilter, ExceptionEventProperties, ExceptionSpanEvent, ExternalBuildData, FetchRetryBackoffStrategy, FetchRetryByStatusOptions, FetchRetryHeadersStrategy, FetchRetryOptions, FetchRetryStrategy, FetchTimeoutOptions, GetBatchResponseBody, GetDeploymentResponseBody, GetEnvironmentVariablesResponseBody, GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, GetProjectEnvResponse, GetProjectResponseBody, GetProjectsResponseBody, ImageDetailsMetadata, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, ListRunResponse, ListSchedulesResult, OtherSpanEvent, PRIMARY_VARIANT, ReplayRunResponse, RetrieveRunResponse, RunEnvironmentDetails, RunScheduleDetails, RunTags, ScheduleGenerator, ScheduleObject, ScheduleType, ScheduledTaskPayload, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskResource, TimezonesResult, TriggerTaskResponse, Variant, WhoAmIResponse, WhoAmIResponseSchema, isCancellationSpanEvent, isExceptionSpanEvent, stringPatternMatchers } from './schemas/index.mjs';
|
|
6
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../common-B45g-vNI.mjs';
|
|
7
|
+
export { f as MachineConfig, d as MachineCpu, e as MachineMemory, g as MachinePreset, M as MachinePresetName, m as TaskRun, h as TaskRunBuiltInError, i as TaskRunCustomErrorObject, b as TaskRunError, k as TaskRunErrorCodes, c as TaskRunExecution, o as TaskRunExecutionAttempt, t as TaskRunExecutionBatch, p as TaskRunExecutionEnvironment, q as TaskRunExecutionOrganization, r as TaskRunExecutionProject, s as TaskRunExecutionQueue, u as TaskRunExecutionRetry, n as TaskRunExecutionTask, v as TaskRunExecutionUsage, w as TaskRunFailedExecutionResult, l as TaskRunInternalError, j as TaskRunStringError, x as TaskRunSuccessfulExecutionResult } from '../common-B45g-vNI.mjs';
|
|
8
|
+
import { C as Clock, a as ClockTime, b as TaskCatalog, T as TaskMetadataWithFunctions } from '../catalog-nhfltZFA.mjs';
|
|
9
|
+
export { f as Context, F as FailureFnParams, k as HandleErrorArgs, h as HandleErrorFnParams, H as HandleErrorFunction, i as HandleErrorModificationOptions, j as HandleErrorResult, e as InitFnParams, I as InitOutput, M as MiddlewareFnParams, P as ProjectConfig, n as ResolveEnvironmentVariablesFunction, m as ResolveEnvironmentVariablesParams, l as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, g as SuccessFnParams, u as usage } from '../catalog-nhfltZFA.mjs';
|
|
10
10
|
export { AbortTaskRunError, SerializedError, correctErrorStackTrace, createErrorTaskError, createJsonErrorObject, groupTaskMetadataIssuesByTask, parseError, sanitizeError } from './errors.mjs';
|
|
11
11
|
import { Attributes } from '@opentelemetry/api';
|
|
12
12
|
export { logger } from './logger-api.mjs';
|
|
13
|
-
import { R as RuntimeManager } from '../manager-
|
|
14
|
-
import { B as BackgroundWorkerProperties } from '../messages-
|
|
15
|
-
export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, m as CoordinatorSocketData, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-
|
|
16
|
-
import { a as TaskFileMetadata, b as TaskMetadataWithFilePath } from '../schemas-
|
|
17
|
-
export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, h as PostStartCauses, i as PreStopCauses, P as Prettify, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, l as RequireKeys, j as ResolvedConfig, R as RetryOptions, g as ScheduleMetadata, S as SlidingWindowRateLimit, T as TaskMetadata, k as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../schemas-
|
|
13
|
+
import { R as RuntimeManager } from '../manager-q7bZZNwE.mjs';
|
|
14
|
+
import { B as BackgroundWorkerProperties } from '../messages-248C7Ut6.mjs';
|
|
15
|
+
export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, m as CoordinatorSocketData, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-248C7Ut6.mjs';
|
|
16
|
+
import { a as TaskFileMetadata, b as TaskMetadataWithFilePath } from '../schemas-38ilA21d.mjs';
|
|
17
|
+
export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, h as PostStartCauses, i as PreStopCauses, P as Prettify, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, l as RequireKeys, j as ResolvedConfig, R as RetryOptions, g as ScheduleMetadata, S as SlidingWindowRateLimit, T as TaskMetadata, k as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../schemas-38ilA21d.mjs';
|
|
18
18
|
export { SemanticInternalAttributes } from './semanticInternalAttributes.mjs';
|
|
19
19
|
export { formatDuration, formatDurationInDays, formatDurationMilliseconds, formatDurationNanoseconds, millisecondsToNanoseconds, nanosecondsToMilliseconds } from './utils/durations.mjs';
|
|
20
20
|
export { T as TriggerTracer } from '../tracer-N0p2Fuuv.mjs';
|
|
@@ -53,6 +53,7 @@ interface ListRunsQueryParams extends CursorPageParams {
|
|
|
53
53
|
to?: Date | number;
|
|
54
54
|
period?: string;
|
|
55
55
|
bulkAction?: string;
|
|
56
|
+
tag?: Array<string> | string;
|
|
56
57
|
schedule?: string;
|
|
57
58
|
isTest?: boolean;
|
|
58
59
|
}
|
|
@@ -91,8 +92,12 @@ declare class ApiClient {
|
|
|
91
92
|
retrieveRun(runId: string, requestOptions?: ZodFetchOptions): ApiPromise<{
|
|
92
93
|
status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
93
94
|
id: string;
|
|
95
|
+
tags: string[];
|
|
94
96
|
isTest: boolean;
|
|
95
97
|
createdAt: Date;
|
|
98
|
+
durationMs: number;
|
|
99
|
+
costInCents: number;
|
|
100
|
+
baseCostInCents: number;
|
|
96
101
|
attempts: ({
|
|
97
102
|
status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
98
103
|
id: string;
|
|
@@ -147,8 +152,12 @@ declare class ApiClient {
|
|
|
147
152
|
rescheduleRun(runId: string, body: RescheduleRunRequestBody, requestOptions?: ZodFetchOptions): ApiPromise<{
|
|
148
153
|
status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
149
154
|
id: string;
|
|
155
|
+
tags: string[];
|
|
150
156
|
isTest: boolean;
|
|
151
157
|
createdAt: Date;
|
|
158
|
+
durationMs: number;
|
|
159
|
+
costInCents: number;
|
|
160
|
+
baseCostInCents: number;
|
|
152
161
|
attempts: ({
|
|
153
162
|
status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
154
163
|
id: string;
|
|
@@ -192,6 +201,9 @@ declare class ApiClient {
|
|
|
192
201
|
ttl?: string | undefined;
|
|
193
202
|
expiredAt?: Date | undefined;
|
|
194
203
|
}>;
|
|
204
|
+
addTags(runId: string, body: AddTagsRequestBody, requestOptions?: ZodFetchOptions): ApiPromise<{
|
|
205
|
+
message: string;
|
|
206
|
+
}>;
|
|
195
207
|
createSchedule(options: CreateScheduleOptions, requestOptions?: ZodFetchOptions): ApiPromise<{
|
|
196
208
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
197
209
|
id: string;
|
|
@@ -212,18 +224,18 @@ declare class ApiClient {
|
|
|
212
224
|
externalId?: string | null | undefined;
|
|
213
225
|
nextRun?: Date | null | undefined;
|
|
214
226
|
}>;
|
|
215
|
-
listSchedules(options?: ListScheduleOptions, requestOptions?: ZodFetchOptions): OffsetLimitPagePromise<
|
|
216
|
-
id:
|
|
217
|
-
type:
|
|
218
|
-
task:
|
|
219
|
-
active:
|
|
220
|
-
deduplicationKey:
|
|
221
|
-
externalId:
|
|
222
|
-
generator:
|
|
223
|
-
type:
|
|
224
|
-
expression:
|
|
225
|
-
description:
|
|
226
|
-
}, "strip",
|
|
227
|
+
listSchedules(options?: ListScheduleOptions, requestOptions?: ZodFetchOptions): OffsetLimitPagePromise<z.ZodObject<{
|
|
228
|
+
id: z.ZodString;
|
|
229
|
+
type: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
|
|
230
|
+
task: z.ZodString;
|
|
231
|
+
active: z.ZodBoolean;
|
|
232
|
+
deduplicationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
|
+
generator: z.ZodObject<{
|
|
235
|
+
type: z.ZodLiteral<"CRON">;
|
|
236
|
+
expression: z.ZodString;
|
|
237
|
+
description: z.ZodString;
|
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
|
227
239
|
type: "CRON";
|
|
228
240
|
description: string;
|
|
229
241
|
expression: string;
|
|
@@ -232,13 +244,13 @@ declare class ApiClient {
|
|
|
232
244
|
description: string;
|
|
233
245
|
expression: string;
|
|
234
246
|
}>;
|
|
235
|
-
timezone:
|
|
236
|
-
nextRun:
|
|
237
|
-
environments:
|
|
238
|
-
id:
|
|
239
|
-
type:
|
|
240
|
-
userName:
|
|
241
|
-
}, "strip",
|
|
247
|
+
timezone: z.ZodString;
|
|
248
|
+
nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
249
|
+
environments: z.ZodArray<z.ZodObject<{
|
|
250
|
+
id: z.ZodString;
|
|
251
|
+
type: z.ZodString;
|
|
252
|
+
userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
242
254
|
type: string;
|
|
243
255
|
id: string;
|
|
244
256
|
userName?: string | null | undefined;
|
|
@@ -247,7 +259,7 @@ declare class ApiClient {
|
|
|
247
259
|
id: string;
|
|
248
260
|
userName?: string | null | undefined;
|
|
249
261
|
}>, "many">;
|
|
250
|
-
}, "strip",
|
|
262
|
+
}, "strip", z.ZodTypeAny, {
|
|
251
263
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
252
264
|
id: string;
|
|
253
265
|
task: string;
|
|
@@ -505,4 +517,4 @@ declare function accessoryAttributes(accessory: Accessory): Attributes;
|
|
|
505
517
|
|
|
506
518
|
declare function detectDependencyVersion(dependency: string): string | undefined;
|
|
507
519
|
|
|
508
|
-
export { Accessory, ApiClient, type ApiClientConfiguration, ApiPromise, ApiRequestOptions, BackgroundWorkerProperties, BatchTaskRunExecutionResult, BatchTriggerTaskRequestBody, type CreateEnvironmentVariableParams, CreateEnvironmentVariableRequestBody, CreateScheduleOptions, CursorPageParams, CursorPagePromise, type ImportEnvironmentVariablesParams, type ListProjectRunsQueryParams, ListRunResponseItem, type ListRunsQueryParams, ListScheduleOptions, OFFLOAD_IO_PACKET_LENGTH_LIMIT, OTEL_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, OTEL_ATTRIBUTE_PER_LINK_COUNT_LIMIT, OTEL_LINK_COUNT_LIMIT, OTEL_LOG_ATTRIBUTE_COUNT_LIMIT, OTEL_LOG_ATTRIBUTE_VALUE_LENGTH_LIMIT, OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT, OTEL_SPAN_EVENT_COUNT_LIMIT, OffsetLimitPagePromise, RescheduleRunRequestBody, RunStatus, TaskFileMetadata, TaskMetadataWithFilePath, TaskMetadataWithFunctions, TaskRunContext, TaskRunExecutionResult, type TriggerOptions, TriggerTaskRequestBody, type UpdateEnvironmentVariableParams, UpdateEnvironmentVariableRequestBody, UpdateScheduleOptions, accessoryAttributes, apiClientManager, clock, detectDependencyVersion, imposeAttributeLimits, mergeRequestOptions, runtime, taskCatalog, taskContext };
|
|
520
|
+
export { Accessory, AddTagsRequestBody, ApiClient, type ApiClientConfiguration, ApiPromise, ApiRequestOptions, BackgroundWorkerProperties, BatchTaskRunExecutionResult, BatchTriggerTaskRequestBody, type CreateEnvironmentVariableParams, CreateEnvironmentVariableRequestBody, CreateScheduleOptions, CursorPageParams, CursorPagePromise, type ImportEnvironmentVariablesParams, type ListProjectRunsQueryParams, ListRunResponseItem, type ListRunsQueryParams, ListScheduleOptions, OFFLOAD_IO_PACKET_LENGTH_LIMIT, OTEL_ATTRIBUTE_PER_EVENT_COUNT_LIMIT, OTEL_ATTRIBUTE_PER_LINK_COUNT_LIMIT, OTEL_LINK_COUNT_LIMIT, OTEL_LOG_ATTRIBUTE_COUNT_LIMIT, OTEL_LOG_ATTRIBUTE_VALUE_LENGTH_LIMIT, OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT, OTEL_SPAN_EVENT_COUNT_LIMIT, OffsetLimitPagePromise, RescheduleRunRequestBody, RunStatus, TaskFileMetadata, TaskMetadataWithFilePath, TaskMetadataWithFunctions, TaskRunContext, TaskRunExecutionResult, type TriggerOptions, TriggerTaskRequestBody, type UpdateEnvironmentVariableParams, UpdateEnvironmentVariableRequestBody, UpdateScheduleOptions, accessoryAttributes, apiClientManager, clock, detectDependencyVersion, imposeAttributeLimits, mergeRequestOptions, runtime, taskCatalog, taskContext };
|