@trigger.dev/core 3.0.0-beta.49 → 3.0.0-beta.50

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.
Files changed (39) hide show
  1. package/dist/{catalog-U7_q4XsM.d.mts → catalog-H7yFiZ60.d.mts} +1 -1
  2. package/dist/{catalog-bSnBE19I.d.ts → catalog-h79CG5Wy.d.ts} +1 -1
  3. package/dist/{messages-I-h-zZN9.d.mts → messages-JvHJ83wv.d.mts} +172 -0
  4. package/dist/{messages-I-h-zZN9.d.ts → messages-JvHJ83wv.d.ts} +172 -0
  5. package/dist/{schemas-WHkFakb3.d.mts → schemas-C9ssfehv.d.mts} +47 -1
  6. package/dist/{schemas-WHkFakb3.d.ts → schemas-C9ssfehv.d.ts} +47 -1
  7. package/dist/v3/index.d.mts +15 -7
  8. package/dist/v3/index.d.ts +15 -7
  9. package/dist/v3/index.js +24 -3
  10. package/dist/v3/index.js.map +1 -1
  11. package/dist/v3/index.mjs +23 -4
  12. package/dist/v3/index.mjs.map +1 -1
  13. package/dist/v3/otel/index.js +1 -1
  14. package/dist/v3/otel/index.js.map +1 -1
  15. package/dist/v3/otel/index.mjs +1 -1
  16. package/dist/v3/otel/index.mjs.map +1 -1
  17. package/dist/v3/prod/index.d.mts +1 -1
  18. package/dist/v3/prod/index.d.ts +1 -1
  19. package/dist/v3/schemas/index.d.mts +100 -4
  20. package/dist/v3/schemas/index.d.ts +100 -4
  21. package/dist/v3/schemas/index.js +23 -2
  22. package/dist/v3/schemas/index.js.map +1 -1
  23. package/dist/v3/schemas/index.mjs +22 -3
  24. package/dist/v3/schemas/index.mjs.map +1 -1
  25. package/dist/v3/utils/ioSerialization.js +22 -3
  26. package/dist/v3/utils/ioSerialization.js.map +1 -1
  27. package/dist/v3/utils/ioSerialization.mjs +22 -3
  28. package/dist/v3/utils/ioSerialization.mjs.map +1 -1
  29. package/dist/v3/utils/retries.d.mts +1 -1
  30. package/dist/v3/utils/retries.d.ts +1 -1
  31. package/dist/v3/workers/index.d.mts +4 -4
  32. package/dist/v3/workers/index.d.ts +4 -4
  33. package/dist/v3/workers/index.js +22 -3
  34. package/dist/v3/workers/index.js.map +1 -1
  35. package/dist/v3/workers/index.mjs +22 -3
  36. package/dist/v3/workers/index.mjs.map +1 -1
  37. package/dist/v3/zodfetch.d.mts +1 -1
  38. package/dist/v3/zodfetch.d.ts +1 -1
  39. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-CLW82lkt.mjs';
2
- import { P as ProdWorkerToChildMessages, a as ProdChildToWorkerMessages } from '../../messages-I-h-zZN9.mjs';
2
+ import { P as ProdWorkerToChildMessages, a as ProdChildToWorkerMessages } from '../../messages-JvHJ83wv.mjs';
3
3
  import { ZodIpcConnection } from '../zodIpc.mjs';
4
4
  import { R as RuntimeManager } from '../../manager-KvCabW1a.mjs';
5
5
  import 'zod';
@@ -1,5 +1,5 @@
1
1
  import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-CLW82lkt.js';
2
- import { P as ProdWorkerToChildMessages, a as ProdChildToWorkerMessages } from '../../messages-I-h-zZN9.js';
2
+ import { P as ProdWorkerToChildMessages, a as ProdChildToWorkerMessages } from '../../messages-JvHJ83wv.js';
3
3
  import { ZodIpcConnection } from '../zodIpc.js';
4
4
  import { R as RuntimeManager } from '../../manager-OBA35PzR.js';
5
5
  import 'zod';
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  export { B as BatchTaskRunExecutionResult, f as MachineConfig, d as MachineCpu, e as MachineMemory, g as MachinePreset, M as MachinePresetName, m as TaskRun, h as TaskRunBuiltInError, a as TaskRunContext, 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, T as TaskRunExecutionResult, u as TaskRunExecutionRetry, n as TaskRunExecutionTask, v as TaskRunExecutionUsage, w as TaskRunFailedExecutionResult, l as TaskRunInternalError, j as TaskRunStringError, x as TaskRunSuccessfulExecutionResult } from '../../common-CLW82lkt.mjs';
3
- export { c as BackgroundWorkerClientMessages, B as BackgroundWorkerProperties, 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-I-h-zZN9.mjs';
4
- import { P as Prettify } from '../../schemas-WHkFakb3.mjs';
5
- export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, g as PostStartCauses, h as PreStopCauses, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, i as ResolvedConfig, R as RetryOptions, S as SlidingWindowRateLimit, a as TaskFileMetadata, T as TaskMetadata, b as TaskMetadataWithFilePath, j as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../../schemas-WHkFakb3.mjs';
3
+ export { c as BackgroundWorkerClientMessages, B as BackgroundWorkerProperties, 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-JvHJ83wv.mjs';
4
+ import { P as Prettify } from '../../schemas-C9ssfehv.mjs';
5
+ export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, h as PostStartCauses, i as PreStopCauses, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, j as ResolvedConfig, R as RetryOptions, g as ScheduleMetadata, S as SlidingWindowRateLimit, a as TaskFileMetadata, T as TaskMetadata, b as TaskMetadataWithFilePath, k as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../../schemas-C9ssfehv.mjs';
6
6
 
7
7
  declare const CreateAuthorizationCodeResponseSchema: z.ZodObject<{
8
8
  url: z.ZodString;
@@ -399,6 +399,16 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
399
399
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
400
400
  }>>;
401
401
  triggerSource: z.ZodOptional<z.ZodString>;
402
+ schedule: z.ZodOptional<z.ZodObject<{
403
+ cron: z.ZodString;
404
+ timezone: z.ZodString;
405
+ }, "strip", z.ZodTypeAny, {
406
+ cron: string;
407
+ timezone: string;
408
+ }, {
409
+ cron: string;
410
+ timezone: string;
411
+ }>>;
402
412
  }, "strip", z.ZodTypeAny, {
403
413
  id: string;
404
414
  filePath: string;
@@ -453,6 +463,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
453
463
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
454
464
  } | undefined;
455
465
  triggerSource?: string | undefined;
466
+ schedule?: {
467
+ cron: string;
468
+ timezone: string;
469
+ } | undefined;
456
470
  }, {
457
471
  id: string;
458
472
  filePath: string;
@@ -507,6 +521,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
507
521
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
508
522
  } | undefined;
509
523
  triggerSource?: string | undefined;
524
+ schedule?: {
525
+ cron: string;
526
+ timezone: string;
527
+ } | undefined;
510
528
  }>, "many">;
511
529
  }, "strip", z.ZodTypeAny, {
512
530
  contentHash: string;
@@ -564,6 +582,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
564
582
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
565
583
  } | undefined;
566
584
  triggerSource?: string | undefined;
585
+ schedule?: {
586
+ cron: string;
587
+ timezone: string;
588
+ } | undefined;
567
589
  }[];
568
590
  packageVersion: string;
569
591
  cliPackageVersion?: string | undefined;
@@ -623,6 +645,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
623
645
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
624
646
  } | undefined;
625
647
  triggerSource?: string | undefined;
648
+ schedule?: {
649
+ cron: string;
650
+ timezone: string;
651
+ } | undefined;
626
652
  }[];
627
653
  packageVersion: string;
628
654
  cliPackageVersion?: string | undefined;
@@ -685,6 +711,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
685
711
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
686
712
  } | undefined;
687
713
  triggerSource?: string | undefined;
714
+ schedule?: {
715
+ cron: string;
716
+ timezone: string;
717
+ } | undefined;
688
718
  }[];
689
719
  packageVersion: string;
690
720
  cliPackageVersion?: string | undefined;
@@ -748,6 +778,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
748
778
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
749
779
  } | undefined;
750
780
  triggerSource?: string | undefined;
781
+ schedule?: {
782
+ cron: string;
783
+ timezone: string;
784
+ } | undefined;
751
785
  }[];
752
786
  packageVersion: string;
753
787
  cliPackageVersion?: string | undefined;
@@ -1995,10 +2029,18 @@ declare const CanceledRunResponse: z.ZodObject<{
1995
2029
  id: string;
1996
2030
  }>;
1997
2031
  type CanceledRunResponse = z.infer<typeof CanceledRunResponse>;
2032
+ declare const ScheduleType: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
1998
2033
  declare const ScheduledTaskPayload: z.ZodObject<{
1999
2034
  /** The schedule id associated with this run (you can have many schedules for the same task).
2000
2035
  You can use this to remove the schedule, update it, etc */
2001
2036
  scheduleId: z.ZodString;
2037
+ /** The type of schedule – `"DECLARATIVE"` or `"IMPERATIVE"`.
2038
+ *
2039
+ * **DECLARATIVE** – defined inline on your `schedules.task` using the `cron` property. They can only be created, updated or deleted by modifying the `cron` property on your task.
2040
+ *
2041
+ * **IMPERATIVE** – created using the `schedules.create` functions or in the dashboard.
2042
+ */
2043
+ type: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
2002
2044
  /** When the task was scheduled to run.
2003
2045
  * Note this will be slightly different from `new Date()` because it takes a few ms to run the task.
2004
2046
  *
@@ -2023,6 +2065,7 @@ declare const ScheduledTaskPayload: z.ZodObject<{
2023
2065
  /** The next 5 dates this task is scheduled to run */
2024
2066
  upcoming: z.ZodArray<z.ZodDate, "many">;
2025
2067
  }, "strip", z.ZodTypeAny, {
2068
+ type: "DECLARATIVE" | "IMPERATIVE";
2026
2069
  timestamp: Date;
2027
2070
  timezone: string;
2028
2071
  scheduleId: string;
@@ -2030,6 +2073,7 @@ declare const ScheduledTaskPayload: z.ZodObject<{
2030
2073
  lastTimestamp?: Date | undefined;
2031
2074
  externalId?: string | undefined;
2032
2075
  }, {
2076
+ type: "DECLARATIVE" | "IMPERATIVE";
2033
2077
  timestamp: Date;
2034
2078
  timezone: string;
2035
2079
  scheduleId: string;
@@ -2160,6 +2204,7 @@ declare const ScheduleGenerator: z.ZodObject<{
2160
2204
  type ScheduleGenerator = z.infer<typeof ScheduleGenerator>;
2161
2205
  declare const ScheduleObject: z.ZodObject<{
2162
2206
  id: z.ZodString;
2207
+ type: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
2163
2208
  task: z.ZodString;
2164
2209
  active: z.ZodBoolean;
2165
2210
  deduplicationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2193,6 +2238,7 @@ declare const ScheduleObject: z.ZodObject<{
2193
2238
  userName?: string | null | undefined;
2194
2239
  }>, "many">;
2195
2240
  }, "strip", z.ZodTypeAny, {
2241
+ type: "DECLARATIVE" | "IMPERATIVE";
2196
2242
  id: string;
2197
2243
  task: string;
2198
2244
  active: boolean;
@@ -2211,6 +2257,7 @@ declare const ScheduleObject: z.ZodObject<{
2211
2257
  externalId?: string | null | undefined;
2212
2258
  nextRun?: Date | null | undefined;
2213
2259
  }, {
2260
+ type: "DECLARATIVE" | "IMPERATIVE";
2214
2261
  id: string;
2215
2262
  task: string;
2216
2263
  active: boolean;
@@ -2241,6 +2288,7 @@ type DeletedScheduleObject = z.infer<typeof DeletedScheduleObject>;
2241
2288
  declare const ListSchedulesResult: z.ZodObject<{
2242
2289
  data: z.ZodArray<z.ZodObject<{
2243
2290
  id: z.ZodString;
2291
+ type: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
2244
2292
  task: z.ZodString;
2245
2293
  active: z.ZodBoolean;
2246
2294
  deduplicationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2274,6 +2322,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2274
2322
  userName?: string | null | undefined;
2275
2323
  }>, "many">;
2276
2324
  }, "strip", z.ZodTypeAny, {
2325
+ type: "DECLARATIVE" | "IMPERATIVE";
2277
2326
  id: string;
2278
2327
  task: string;
2279
2328
  active: boolean;
@@ -2292,6 +2341,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2292
2341
  externalId?: string | null | undefined;
2293
2342
  nextRun?: Date | null | undefined;
2294
2343
  }, {
2344
+ type: "DECLARATIVE" | "IMPERATIVE";
2295
2345
  id: string;
2296
2346
  task: string;
2297
2347
  active: boolean;
@@ -2325,6 +2375,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2325
2375
  }>;
2326
2376
  }, "strip", z.ZodTypeAny, {
2327
2377
  data: {
2378
+ type: "DECLARATIVE" | "IMPERATIVE";
2328
2379
  id: string;
2329
2380
  task: string;
2330
2381
  active: boolean;
@@ -2350,6 +2401,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2350
2401
  };
2351
2402
  }, {
2352
2403
  data: {
2404
+ type: "DECLARATIVE" | "IMPERATIVE";
2353
2405
  id: string;
2354
2406
  task: string;
2355
2407
  active: boolean;
@@ -3184,6 +3236,16 @@ declare const TaskResource: z.ZodObject<{
3184
3236
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3185
3237
  }>>;
3186
3238
  triggerSource: z.ZodOptional<z.ZodString>;
3239
+ schedule: z.ZodOptional<z.ZodObject<{
3240
+ cron: z.ZodString;
3241
+ timezone: z.ZodString;
3242
+ }, "strip", z.ZodTypeAny, {
3243
+ cron: string;
3244
+ timezone: string;
3245
+ }, {
3246
+ cron: string;
3247
+ timezone: string;
3248
+ }>>;
3187
3249
  }, "strip", z.ZodTypeAny, {
3188
3250
  id: string;
3189
3251
  filePath: string;
@@ -3238,6 +3300,10 @@ declare const TaskResource: z.ZodObject<{
3238
3300
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3239
3301
  } | undefined;
3240
3302
  triggerSource?: string | undefined;
3303
+ schedule?: {
3304
+ cron: string;
3305
+ timezone: string;
3306
+ } | undefined;
3241
3307
  }, {
3242
3308
  id: string;
3243
3309
  filePath: string;
@@ -3292,6 +3358,10 @@ declare const TaskResource: z.ZodObject<{
3292
3358
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3293
3359
  } | undefined;
3294
3360
  triggerSource?: string | undefined;
3361
+ schedule?: {
3362
+ cron: string;
3363
+ timezone: string;
3364
+ } | undefined;
3295
3365
  }>;
3296
3366
  type TaskResource = z.infer<typeof TaskResource>;
3297
3367
  declare const BackgroundWorkerMetadata: z.ZodObject<{
@@ -3520,6 +3590,16 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3520
3590
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3521
3591
  }>>;
3522
3592
  triggerSource: z.ZodOptional<z.ZodString>;
3593
+ schedule: z.ZodOptional<z.ZodObject<{
3594
+ cron: z.ZodString;
3595
+ timezone: z.ZodString;
3596
+ }, "strip", z.ZodTypeAny, {
3597
+ cron: string;
3598
+ timezone: string;
3599
+ }, {
3600
+ cron: string;
3601
+ timezone: string;
3602
+ }>>;
3523
3603
  }, "strip", z.ZodTypeAny, {
3524
3604
  id: string;
3525
3605
  filePath: string;
@@ -3574,6 +3654,10 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3574
3654
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3575
3655
  } | undefined;
3576
3656
  triggerSource?: string | undefined;
3657
+ schedule?: {
3658
+ cron: string;
3659
+ timezone: string;
3660
+ } | undefined;
3577
3661
  }, {
3578
3662
  id: string;
3579
3663
  filePath: string;
@@ -3628,6 +3712,10 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3628
3712
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3629
3713
  } | undefined;
3630
3714
  triggerSource?: string | undefined;
3715
+ schedule?: {
3716
+ cron: string;
3717
+ timezone: string;
3718
+ } | undefined;
3631
3719
  }>, "many">;
3632
3720
  }, "strip", z.ZodTypeAny, {
3633
3721
  contentHash: string;
@@ -3685,6 +3773,10 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3685
3773
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3686
3774
  } | undefined;
3687
3775
  triggerSource?: string | undefined;
3776
+ schedule?: {
3777
+ cron: string;
3778
+ timezone: string;
3779
+ } | undefined;
3688
3780
  }[];
3689
3781
  packageVersion: string;
3690
3782
  cliPackageVersion?: string | undefined;
@@ -3744,6 +3836,10 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3744
3836
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3745
3837
  } | undefined;
3746
3838
  triggerSource?: string | undefined;
3839
+ schedule?: {
3840
+ cron: string;
3841
+ timezone: string;
3842
+ } | undefined;
3747
3843
  }[];
3748
3844
  packageVersion: string;
3749
3845
  cliPackageVersion?: string | undefined;
@@ -4642,4 +4738,4 @@ declare const SpanMessagingEvent: z.ZodObject<{
4642
4738
  }>;
4643
4739
  type SpanMessagingEvent = z.infer<typeof SpanMessagingEvent>;
4644
4740
 
4645
- export { Accessory, AttemptStatus, BackgroundWorkerMetadata, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateEnvironmentVariableRequestBody, CreateScheduleOptions, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, EnvironmentVariable, EnvironmentVariableResponseBody, EnvironmentVariableValue, EnvironmentVariables, EventFilter, ExceptionEventProperties, ExceptionSpanEvent, ExternalBuildData, FetchRetryBackoffStrategy, FetchRetryByStatusOptions, FetchRetryHeadersStrategy, FetchRetryOptions, FetchRetryStrategy, FetchTimeoutOptions, GetBatchResponseBody, GetDeploymentResponseBody, GetEnvironmentVariablesResponseBody, type GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, type GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, GetProjectEnvResponse, GetProjectResponseBody, GetProjectsResponseBody, ImageDetailsMetadata, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, ListRunResponse, ListRunResponseItem, ListScheduleOptions, ListSchedulesResult, OtherSpanEvent, PRIMARY_VARIANT, ReplayRunResponse, RescheduleRunRequestBody, RetrieveRunResponse, RunEnvironmentDetails, RunScheduleDetails, RunStatus, ScheduleGenerator, ScheduleObject, ScheduledTaskPayload, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskResource, TimezonesResult, TriggerTaskRequestBody, TriggerTaskResponse, UpdateEnvironmentVariableRequestBody, UpdateScheduleOptions, Variant, type WhoAmIResponse, WhoAmIResponseSchema, isCancellationSpanEvent, isExceptionSpanEvent, stringPatternMatchers };
4741
+ export { Accessory, AttemptStatus, BackgroundWorkerMetadata, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateEnvironmentVariableRequestBody, CreateScheduleOptions, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, EnvironmentVariable, EnvironmentVariableResponseBody, EnvironmentVariableValue, EnvironmentVariables, EventFilter, ExceptionEventProperties, ExceptionSpanEvent, ExternalBuildData, FetchRetryBackoffStrategy, FetchRetryByStatusOptions, FetchRetryHeadersStrategy, FetchRetryOptions, FetchRetryStrategy, FetchTimeoutOptions, GetBatchResponseBody, GetDeploymentResponseBody, GetEnvironmentVariablesResponseBody, type GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, type GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, GetProjectEnvResponse, GetProjectResponseBody, GetProjectsResponseBody, ImageDetailsMetadata, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, ListRunResponse, ListRunResponseItem, ListScheduleOptions, ListSchedulesResult, OtherSpanEvent, PRIMARY_VARIANT, ReplayRunResponse, RescheduleRunRequestBody, RetrieveRunResponse, RunEnvironmentDetails, RunScheduleDetails, RunStatus, ScheduleGenerator, ScheduleObject, ScheduleType, ScheduledTaskPayload, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskResource, TimezonesResult, TriggerTaskRequestBody, TriggerTaskResponse, UpdateEnvironmentVariableRequestBody, UpdateScheduleOptions, Variant, type WhoAmIResponse, WhoAmIResponseSchema, isCancellationSpanEvent, isExceptionSpanEvent, stringPatternMatchers };
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  export { B as BatchTaskRunExecutionResult, f as MachineConfig, d as MachineCpu, e as MachineMemory, g as MachinePreset, M as MachinePresetName, m as TaskRun, h as TaskRunBuiltInError, a as TaskRunContext, 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, T as TaskRunExecutionResult, u as TaskRunExecutionRetry, n as TaskRunExecutionTask, v as TaskRunExecutionUsage, w as TaskRunFailedExecutionResult, l as TaskRunInternalError, j as TaskRunStringError, x as TaskRunSuccessfulExecutionResult } from '../../common-CLW82lkt.js';
3
- export { c as BackgroundWorkerClientMessages, B as BackgroundWorkerProperties, 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-I-h-zZN9.js';
4
- import { P as Prettify } from '../../schemas-WHkFakb3.js';
5
- export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, g as PostStartCauses, h as PreStopCauses, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, i as ResolvedConfig, R as RetryOptions, S as SlidingWindowRateLimit, a as TaskFileMetadata, T as TaskMetadata, b as TaskMetadataWithFilePath, j as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../../schemas-WHkFakb3.js';
3
+ export { c as BackgroundWorkerClientMessages, B as BackgroundWorkerProperties, 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-JvHJ83wv.js';
4
+ import { P as Prettify } from '../../schemas-C9ssfehv.js';
5
+ export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, h as PostStartCauses, i as PreStopCauses, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, j as ResolvedConfig, R as RetryOptions, g as ScheduleMetadata, S as SlidingWindowRateLimit, a as TaskFileMetadata, T as TaskMetadata, b as TaskMetadataWithFilePath, k as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../../schemas-C9ssfehv.js';
6
6
 
7
7
  declare const CreateAuthorizationCodeResponseSchema: z.ZodObject<{
8
8
  url: z.ZodString;
@@ -399,6 +399,16 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
399
399
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
400
400
  }>>;
401
401
  triggerSource: z.ZodOptional<z.ZodString>;
402
+ schedule: z.ZodOptional<z.ZodObject<{
403
+ cron: z.ZodString;
404
+ timezone: z.ZodString;
405
+ }, "strip", z.ZodTypeAny, {
406
+ cron: string;
407
+ timezone: string;
408
+ }, {
409
+ cron: string;
410
+ timezone: string;
411
+ }>>;
402
412
  }, "strip", z.ZodTypeAny, {
403
413
  id: string;
404
414
  filePath: string;
@@ -453,6 +463,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
453
463
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
454
464
  } | undefined;
455
465
  triggerSource?: string | undefined;
466
+ schedule?: {
467
+ cron: string;
468
+ timezone: string;
469
+ } | undefined;
456
470
  }, {
457
471
  id: string;
458
472
  filePath: string;
@@ -507,6 +521,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
507
521
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
508
522
  } | undefined;
509
523
  triggerSource?: string | undefined;
524
+ schedule?: {
525
+ cron: string;
526
+ timezone: string;
527
+ } | undefined;
510
528
  }>, "many">;
511
529
  }, "strip", z.ZodTypeAny, {
512
530
  contentHash: string;
@@ -564,6 +582,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
564
582
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
565
583
  } | undefined;
566
584
  triggerSource?: string | undefined;
585
+ schedule?: {
586
+ cron: string;
587
+ timezone: string;
588
+ } | undefined;
567
589
  }[];
568
590
  packageVersion: string;
569
591
  cliPackageVersion?: string | undefined;
@@ -623,6 +645,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
623
645
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
624
646
  } | undefined;
625
647
  triggerSource?: string | undefined;
648
+ schedule?: {
649
+ cron: string;
650
+ timezone: string;
651
+ } | undefined;
626
652
  }[];
627
653
  packageVersion: string;
628
654
  cliPackageVersion?: string | undefined;
@@ -685,6 +711,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
685
711
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
686
712
  } | undefined;
687
713
  triggerSource?: string | undefined;
714
+ schedule?: {
715
+ cron: string;
716
+ timezone: string;
717
+ } | undefined;
688
718
  }[];
689
719
  packageVersion: string;
690
720
  cliPackageVersion?: string | undefined;
@@ -748,6 +778,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
748
778
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
749
779
  } | undefined;
750
780
  triggerSource?: string | undefined;
781
+ schedule?: {
782
+ cron: string;
783
+ timezone: string;
784
+ } | undefined;
751
785
  }[];
752
786
  packageVersion: string;
753
787
  cliPackageVersion?: string | undefined;
@@ -1995,10 +2029,18 @@ declare const CanceledRunResponse: z.ZodObject<{
1995
2029
  id: string;
1996
2030
  }>;
1997
2031
  type CanceledRunResponse = z.infer<typeof CanceledRunResponse>;
2032
+ declare const ScheduleType: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
1998
2033
  declare const ScheduledTaskPayload: z.ZodObject<{
1999
2034
  /** The schedule id associated with this run (you can have many schedules for the same task).
2000
2035
  You can use this to remove the schedule, update it, etc */
2001
2036
  scheduleId: z.ZodString;
2037
+ /** The type of schedule – `"DECLARATIVE"` or `"IMPERATIVE"`.
2038
+ *
2039
+ * **DECLARATIVE** – defined inline on your `schedules.task` using the `cron` property. They can only be created, updated or deleted by modifying the `cron` property on your task.
2040
+ *
2041
+ * **IMPERATIVE** – created using the `schedules.create` functions or in the dashboard.
2042
+ */
2043
+ type: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
2002
2044
  /** When the task was scheduled to run.
2003
2045
  * Note this will be slightly different from `new Date()` because it takes a few ms to run the task.
2004
2046
  *
@@ -2023,6 +2065,7 @@ declare const ScheduledTaskPayload: z.ZodObject<{
2023
2065
  /** The next 5 dates this task is scheduled to run */
2024
2066
  upcoming: z.ZodArray<z.ZodDate, "many">;
2025
2067
  }, "strip", z.ZodTypeAny, {
2068
+ type: "DECLARATIVE" | "IMPERATIVE";
2026
2069
  timestamp: Date;
2027
2070
  timezone: string;
2028
2071
  scheduleId: string;
@@ -2030,6 +2073,7 @@ declare const ScheduledTaskPayload: z.ZodObject<{
2030
2073
  lastTimestamp?: Date | undefined;
2031
2074
  externalId?: string | undefined;
2032
2075
  }, {
2076
+ type: "DECLARATIVE" | "IMPERATIVE";
2033
2077
  timestamp: Date;
2034
2078
  timezone: string;
2035
2079
  scheduleId: string;
@@ -2160,6 +2204,7 @@ declare const ScheduleGenerator: z.ZodObject<{
2160
2204
  type ScheduleGenerator = z.infer<typeof ScheduleGenerator>;
2161
2205
  declare const ScheduleObject: z.ZodObject<{
2162
2206
  id: z.ZodString;
2207
+ type: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
2163
2208
  task: z.ZodString;
2164
2209
  active: z.ZodBoolean;
2165
2210
  deduplicationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2193,6 +2238,7 @@ declare const ScheduleObject: z.ZodObject<{
2193
2238
  userName?: string | null | undefined;
2194
2239
  }>, "many">;
2195
2240
  }, "strip", z.ZodTypeAny, {
2241
+ type: "DECLARATIVE" | "IMPERATIVE";
2196
2242
  id: string;
2197
2243
  task: string;
2198
2244
  active: boolean;
@@ -2211,6 +2257,7 @@ declare const ScheduleObject: z.ZodObject<{
2211
2257
  externalId?: string | null | undefined;
2212
2258
  nextRun?: Date | null | undefined;
2213
2259
  }, {
2260
+ type: "DECLARATIVE" | "IMPERATIVE";
2214
2261
  id: string;
2215
2262
  task: string;
2216
2263
  active: boolean;
@@ -2241,6 +2288,7 @@ type DeletedScheduleObject = z.infer<typeof DeletedScheduleObject>;
2241
2288
  declare const ListSchedulesResult: z.ZodObject<{
2242
2289
  data: z.ZodArray<z.ZodObject<{
2243
2290
  id: z.ZodString;
2291
+ type: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
2244
2292
  task: z.ZodString;
2245
2293
  active: z.ZodBoolean;
2246
2294
  deduplicationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2274,6 +2322,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2274
2322
  userName?: string | null | undefined;
2275
2323
  }>, "many">;
2276
2324
  }, "strip", z.ZodTypeAny, {
2325
+ type: "DECLARATIVE" | "IMPERATIVE";
2277
2326
  id: string;
2278
2327
  task: string;
2279
2328
  active: boolean;
@@ -2292,6 +2341,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2292
2341
  externalId?: string | null | undefined;
2293
2342
  nextRun?: Date | null | undefined;
2294
2343
  }, {
2344
+ type: "DECLARATIVE" | "IMPERATIVE";
2295
2345
  id: string;
2296
2346
  task: string;
2297
2347
  active: boolean;
@@ -2325,6 +2375,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2325
2375
  }>;
2326
2376
  }, "strip", z.ZodTypeAny, {
2327
2377
  data: {
2378
+ type: "DECLARATIVE" | "IMPERATIVE";
2328
2379
  id: string;
2329
2380
  task: string;
2330
2381
  active: boolean;
@@ -2350,6 +2401,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2350
2401
  };
2351
2402
  }, {
2352
2403
  data: {
2404
+ type: "DECLARATIVE" | "IMPERATIVE";
2353
2405
  id: string;
2354
2406
  task: string;
2355
2407
  active: boolean;
@@ -3184,6 +3236,16 @@ declare const TaskResource: z.ZodObject<{
3184
3236
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3185
3237
  }>>;
3186
3238
  triggerSource: z.ZodOptional<z.ZodString>;
3239
+ schedule: z.ZodOptional<z.ZodObject<{
3240
+ cron: z.ZodString;
3241
+ timezone: z.ZodString;
3242
+ }, "strip", z.ZodTypeAny, {
3243
+ cron: string;
3244
+ timezone: string;
3245
+ }, {
3246
+ cron: string;
3247
+ timezone: string;
3248
+ }>>;
3187
3249
  }, "strip", z.ZodTypeAny, {
3188
3250
  id: string;
3189
3251
  filePath: string;
@@ -3238,6 +3300,10 @@ declare const TaskResource: z.ZodObject<{
3238
3300
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3239
3301
  } | undefined;
3240
3302
  triggerSource?: string | undefined;
3303
+ schedule?: {
3304
+ cron: string;
3305
+ timezone: string;
3306
+ } | undefined;
3241
3307
  }, {
3242
3308
  id: string;
3243
3309
  filePath: string;
@@ -3292,6 +3358,10 @@ declare const TaskResource: z.ZodObject<{
3292
3358
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3293
3359
  } | undefined;
3294
3360
  triggerSource?: string | undefined;
3361
+ schedule?: {
3362
+ cron: string;
3363
+ timezone: string;
3364
+ } | undefined;
3295
3365
  }>;
3296
3366
  type TaskResource = z.infer<typeof TaskResource>;
3297
3367
  declare const BackgroundWorkerMetadata: z.ZodObject<{
@@ -3520,6 +3590,16 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3520
3590
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3521
3591
  }>>;
3522
3592
  triggerSource: z.ZodOptional<z.ZodString>;
3593
+ schedule: z.ZodOptional<z.ZodObject<{
3594
+ cron: z.ZodString;
3595
+ timezone: z.ZodString;
3596
+ }, "strip", z.ZodTypeAny, {
3597
+ cron: string;
3598
+ timezone: string;
3599
+ }, {
3600
+ cron: string;
3601
+ timezone: string;
3602
+ }>>;
3523
3603
  }, "strip", z.ZodTypeAny, {
3524
3604
  id: string;
3525
3605
  filePath: string;
@@ -3574,6 +3654,10 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3574
3654
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3575
3655
  } | undefined;
3576
3656
  triggerSource?: string | undefined;
3657
+ schedule?: {
3658
+ cron: string;
3659
+ timezone: string;
3660
+ } | undefined;
3577
3661
  }, {
3578
3662
  id: string;
3579
3663
  filePath: string;
@@ -3628,6 +3712,10 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3628
3712
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3629
3713
  } | undefined;
3630
3714
  triggerSource?: string | undefined;
3715
+ schedule?: {
3716
+ cron: string;
3717
+ timezone: string;
3718
+ } | undefined;
3631
3719
  }>, "many">;
3632
3720
  }, "strip", z.ZodTypeAny, {
3633
3721
  contentHash: string;
@@ -3685,6 +3773,10 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3685
3773
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3686
3774
  } | undefined;
3687
3775
  triggerSource?: string | undefined;
3776
+ schedule?: {
3777
+ cron: string;
3778
+ timezone: string;
3779
+ } | undefined;
3688
3780
  }[];
3689
3781
  packageVersion: string;
3690
3782
  cliPackageVersion?: string | undefined;
@@ -3744,6 +3836,10 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3744
3836
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3745
3837
  } | undefined;
3746
3838
  triggerSource?: string | undefined;
3839
+ schedule?: {
3840
+ cron: string;
3841
+ timezone: string;
3842
+ } | undefined;
3747
3843
  }[];
3748
3844
  packageVersion: string;
3749
3845
  cliPackageVersion?: string | undefined;
@@ -4642,4 +4738,4 @@ declare const SpanMessagingEvent: z.ZodObject<{
4642
4738
  }>;
4643
4739
  type SpanMessagingEvent = z.infer<typeof SpanMessagingEvent>;
4644
4740
 
4645
- export { Accessory, AttemptStatus, BackgroundWorkerMetadata, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateEnvironmentVariableRequestBody, CreateScheduleOptions, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, EnvironmentVariable, EnvironmentVariableResponseBody, EnvironmentVariableValue, EnvironmentVariables, EventFilter, ExceptionEventProperties, ExceptionSpanEvent, ExternalBuildData, FetchRetryBackoffStrategy, FetchRetryByStatusOptions, FetchRetryHeadersStrategy, FetchRetryOptions, FetchRetryStrategy, FetchTimeoutOptions, GetBatchResponseBody, GetDeploymentResponseBody, GetEnvironmentVariablesResponseBody, type GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, type GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, GetProjectEnvResponse, GetProjectResponseBody, GetProjectsResponseBody, ImageDetailsMetadata, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, ListRunResponse, ListRunResponseItem, ListScheduleOptions, ListSchedulesResult, OtherSpanEvent, PRIMARY_VARIANT, ReplayRunResponse, RescheduleRunRequestBody, RetrieveRunResponse, RunEnvironmentDetails, RunScheduleDetails, RunStatus, ScheduleGenerator, ScheduleObject, ScheduledTaskPayload, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskResource, TimezonesResult, TriggerTaskRequestBody, TriggerTaskResponse, UpdateEnvironmentVariableRequestBody, UpdateScheduleOptions, Variant, type WhoAmIResponse, WhoAmIResponseSchema, isCancellationSpanEvent, isExceptionSpanEvent, stringPatternMatchers };
4741
+ export { Accessory, AttemptStatus, BackgroundWorkerMetadata, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateEnvironmentVariableRequestBody, CreateScheduleOptions, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, EnvironmentVariable, EnvironmentVariableResponseBody, EnvironmentVariableValue, EnvironmentVariables, EventFilter, ExceptionEventProperties, ExceptionSpanEvent, ExternalBuildData, FetchRetryBackoffStrategy, FetchRetryByStatusOptions, FetchRetryHeadersStrategy, FetchRetryOptions, FetchRetryStrategy, FetchTimeoutOptions, GetBatchResponseBody, GetDeploymentResponseBody, GetEnvironmentVariablesResponseBody, type GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, type GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, GetProjectEnvResponse, GetProjectResponseBody, GetProjectsResponseBody, ImageDetailsMetadata, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, ListRunResponse, ListRunResponseItem, ListScheduleOptions, ListSchedulesResult, OtherSpanEvent, PRIMARY_VARIANT, ReplayRunResponse, RescheduleRunRequestBody, RetrieveRunResponse, RunEnvironmentDetails, RunScheduleDetails, RunStatus, ScheduleGenerator, ScheduleObject, ScheduleType, ScheduledTaskPayload, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskResource, TimezonesResult, TriggerTaskRequestBody, TriggerTaskResponse, UpdateEnvironmentVariableRequestBody, UpdateScheduleOptions, Variant, type WhoAmIResponse, WhoAmIResponseSchema, isCancellationSpanEvent, isExceptionSpanEvent, stringPatternMatchers };