@trigger.dev/core 3.0.0-beta.37 → 3.0.0-beta.38

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 (37) hide show
  1. package/dist/{catalog-dRKTgwQ7.d.ts → catalog-Tdea4K0I.d.mts} +43 -3
  2. package/dist/{catalog-XTlJQaMn.d.mts → catalog-yeAHwmSe.d.ts} +43 -3
  3. package/dist/{manager-JkbddlcO.d.mts → manager-S98VaLUy.d.mts} +244 -1
  4. package/dist/{manager-JkbddlcO.d.ts → manager-S98VaLUy.d.ts} +244 -1
  5. package/dist/{messages-9lty-Du5.d.mts → messages-BD0yXLtn.d.mts} +2370 -141
  6. package/dist/{messages-9lty-Du5.d.ts → messages-BD0yXLtn.d.ts} +2370 -141
  7. package/dist/{schemas-r4ZP9S-F.d.mts → schemas-XNxZYXOy.d.mts} +199 -33
  8. package/dist/{schemas-r4ZP9S-F.d.ts → schemas-XNxZYXOy.d.ts} +199 -33
  9. package/dist/v3/dev/index.d.mts +1 -1
  10. package/dist/v3/dev/index.d.ts +1 -1
  11. package/dist/v3/index.d.mts +117 -52
  12. package/dist/v3/index.d.ts +117 -52
  13. package/dist/v3/index.js +204 -58
  14. package/dist/v3/index.js.map +1 -1
  15. package/dist/v3/index.mjs +199 -58
  16. package/dist/v3/index.mjs.map +1 -1
  17. package/dist/v3/otel/index.js +15 -5
  18. package/dist/v3/otel/index.js.map +1 -1
  19. package/dist/v3/otel/index.mjs +15 -5
  20. package/dist/v3/otel/index.mjs.map +1 -1
  21. package/dist/v3/prod/index.d.mts +2 -2
  22. package/dist/v3/prod/index.d.ts +2 -2
  23. package/dist/v3/prod/index.js.map +1 -1
  24. package/dist/v3/prod/index.mjs.map +1 -1
  25. package/dist/v3/workers/index.d.mts +54 -8
  26. package/dist/v3/workers/index.d.ts +54 -8
  27. package/dist/v3/workers/index.js +404 -43
  28. package/dist/v3/workers/index.js.map +1 -1
  29. package/dist/v3/workers/index.mjs +402 -44
  30. package/dist/v3/workers/index.mjs.map +1 -1
  31. package/dist/v3/zodIpc.js.map +1 -1
  32. package/dist/v3/zodIpc.mjs.map +1 -1
  33. package/dist/v3/zodMessageHandler.d.mts +1 -1
  34. package/dist/v3/zodMessageHandler.d.ts +1 -1
  35. package/dist/v3/zodfetch.d.mts +1 -1
  36. package/dist/v3/zodfetch.d.ts +1 -1
  37. package/package.json +1 -1
@@ -2,15 +2,15 @@ import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
3
  import { Uploadable, BlobLikePart, CursorPageParams, ApiPromise, CursorPagePromise, OffsetLimitPagePromise } from './zodfetch.js';
4
4
  export { APIHeaders, ApiConnectionError, ApiError, AuthenticationError, BadRequestError, ConflictError, CursorPage, CursorPageResponse, InternalServerError, NotFoundError, OffsetLimitPage, OffsetLimitPageParams, OffsetLimitPageResponse, Page, PageResponse, PermissionDeniedError, RateLimitError, UnprocessableEntityError } from './zodfetch.js';
5
- import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, c as TaskRunError, a as TaskRunContext, R as RuntimeManager } from '../manager-JkbddlcO.js';
6
- export { i as TaskRun, d as TaskRunBuiltInError, e as TaskRunCustomErrorObject, g as TaskRunErrorCodes, b as TaskRunExecution, k as TaskRunExecutionAttempt, p as TaskRunExecutionBatch, l as TaskRunExecutionEnvironment, m as TaskRunExecutionOrganization, n as TaskRunExecutionProject, o as TaskRunExecutionQueue, q as TaskRunExecutionRetry, j as TaskRunExecutionTask, r as TaskRunFailedExecutionResult, h as TaskRunInternalError, f as TaskRunStringError, s as TaskRunSuccessfulExecutionResult } from '../manager-JkbddlcO.js';
7
- import { C as Clock, b as ClockTime, d as TaskLogger, c as TaskCatalog, a as TaskMetadataWithFunctions, T as TriggerTracer } from '../catalog-dRKTgwQ7.js';
8
- 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, L as LogLevel, M as MiddlewareFnParams, P as ProjectConfig, o as ResolveEnvironmentVariablesFunction, n as ResolveEnvironmentVariablesParams, m as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, g as SuccessFnParams } from '../catalog-dRKTgwQ7.js';
5
+ import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, c as TaskRunError, a as TaskRunContext, R as RuntimeManager } from '../manager-S98VaLUy.js';
6
+ 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, k as TaskRunErrorCodes, b 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 '../manager-S98VaLUy.js';
7
+ import { C as Clock, b as ClockTime, f as TaskLogger, c as TaskCatalog, a as TaskMetadataWithFunctions, T as TriggerTracer } from '../catalog-yeAHwmSe.js';
8
+ export { h as Context, F as FailureFnParams, n as HandleErrorArgs, j as HandleErrorFnParams, H as HandleErrorFunction, k as HandleErrorModificationOptions, m as HandleErrorResult, g as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, P as ProjectConfig, q as ResolveEnvironmentVariablesFunction, p as ResolveEnvironmentVariablesParams, o as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, i as SuccessFnParams, u as usage } from '../catalog-yeAHwmSe.js';
9
9
  import { Attributes, Span } from '@opentelemetry/api';
10
- import { B as BackgroundWorkerProperties } from '../messages-9lty-Du5.js';
11
- export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, 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-9lty-Du5.js';
12
- import { P as Prettify, T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../schemas-r4ZP9S-F.js';
13
- export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, d as Machine, M as MachineCpu, c as MachineMemory, i as PostStartCauses, j as PreStopCauses, f as ProdTaskRunExecution, g as ProdTaskRunExecutionPayload, Q as QueueOptions, h as RateLimitOptions, m as RequireKeys, k as ResolvedConfig, S as SlidingWindowRateLimit, b as TaskMetadata, l as TaskRunExecutionLazyAttemptPayload, e as TaskRunExecutionPayload, W as WaitReason } from '../schemas-r4ZP9S-F.js';
10
+ import { B as BackgroundWorkerProperties } from '../messages-BD0yXLtn.js';
11
+ export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, 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-BD0yXLtn.js';
12
+ import { P as Prettify, T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../schemas-XNxZYXOy.js';
13
+ 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, k as RequireKeys, i as ResolvedConfig, S as SlidingWindowRateLimit, b as TaskMetadata, j as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../schemas-XNxZYXOy.js';
14
14
  import { Unit } from 'humanize-duration';
15
15
  export { e as eventFilterMatches } from '../eventFilterMatches-2kHImluE.js';
16
16
  import 'node:stream';
@@ -399,17 +399,17 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
399
399
  randomize?: boolean | undefined;
400
400
  }>>;
401
401
  machine: z.ZodOptional<z.ZodObject<{
402
- version: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"v1">>>;
403
- cpu: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>>;
404
- memory: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>>;
402
+ cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
403
+ memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
404
+ preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
405
405
  }, "strip", z.ZodTypeAny, {
406
- version?: "v1" | undefined;
407
406
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
408
407
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
408
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
409
409
  }, {
410
- version?: "v1" | undefined;
411
410
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
412
411
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
412
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
413
413
  }>>;
414
414
  triggerSource: z.ZodOptional<z.ZodString>;
415
415
  }, "strip", z.ZodTypeAny, {
@@ -461,9 +461,9 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
461
461
  randomize?: boolean | undefined;
462
462
  } | undefined;
463
463
  machine?: {
464
- version?: "v1" | undefined;
465
464
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
466
465
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
466
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
467
467
  } | undefined;
468
468
  triggerSource?: string | undefined;
469
469
  }, {
@@ -515,9 +515,9 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
515
515
  randomize?: boolean | undefined;
516
516
  } | undefined;
517
517
  machine?: {
518
- version?: "v1" | undefined;
519
518
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
520
519
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
520
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
521
521
  } | undefined;
522
522
  triggerSource?: string | undefined;
523
523
  }>, "many">;
@@ -573,9 +573,9 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
573
573
  randomize?: boolean | undefined;
574
574
  } | undefined;
575
575
  machine?: {
576
- version?: "v1" | undefined;
577
576
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
578
577
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
578
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
579
579
  } | undefined;
580
580
  triggerSource?: string | undefined;
581
581
  }[];
@@ -632,9 +632,9 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
632
632
  randomize?: boolean | undefined;
633
633
  } | undefined;
634
634
  machine?: {
635
- version?: "v1" | undefined;
636
635
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
637
636
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
637
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
638
638
  } | undefined;
639
639
  triggerSource?: string | undefined;
640
640
  }[];
@@ -695,9 +695,9 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
695
695
  randomize?: boolean | undefined;
696
696
  } | undefined;
697
697
  machine?: {
698
- version?: "v1" | undefined;
699
698
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
700
699
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
700
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
701
701
  } | undefined;
702
702
  triggerSource?: string | undefined;
703
703
  }[];
@@ -758,9 +758,9 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
758
758
  randomize?: boolean | undefined;
759
759
  } | undefined;
760
760
  machine?: {
761
- version?: "v1" | undefined;
762
761
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
763
762
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
763
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
764
764
  } | undefined;
765
765
  triggerSource?: string | undefined;
766
766
  }[];
@@ -1969,26 +1969,39 @@ declare const ScheduledTaskPayload: z.ZodObject<{
1969
1969
  You can use this to remove the schedule, update it, etc */
1970
1970
  scheduleId: z.ZodString;
1971
1971
  /** When the task was scheduled to run.
1972
- * Note this will be slightly different from `new Date()` because it takes a few ms to run the task. */
1972
+ * Note this will be slightly different from `new Date()` because it takes a few ms to run the task.
1973
+ *
1974
+ * This date is UTC. To output it as a string with a timezone you would do this:
1975
+ * ```ts
1976
+ * const formatted = payload.timestamp.toLocaleString("en-US", {
1977
+ timeZone: payload.timezone,
1978
+ });
1979
+ ``` */
1973
1980
  timestamp: z.ZodDate;
1974
1981
  /** When the task was last run (it has been).
1975
- This can be undefined if it's never been run */
1982
+ This can be undefined if it's never been run. This date is UTC. */
1976
1983
  lastTimestamp: z.ZodOptional<z.ZodDate>;
1977
1984
  /** You can optionally provide an external id when creating the schedule.
1978
1985
  Usually you would use a userId or some other unique identifier.
1979
1986
  This defaults to undefined if you didn't provide one. */
1980
1987
  externalId: z.ZodOptional<z.ZodString>;
1988
+ /** The IANA timezone the schedule is set to. The default is UTC.
1989
+ * You can see the full list of supported timezones here: https://cloud.trigger.dev/timezones
1990
+ */
1991
+ timezone: z.ZodString;
1981
1992
  /** The next 5 dates this task is scheduled to run */
1982
1993
  upcoming: z.ZodArray<z.ZodDate, "many">;
1983
1994
  }, "strip", z.ZodTypeAny, {
1984
1995
  timestamp: Date;
1985
1996
  scheduleId: string;
1997
+ timezone: string;
1986
1998
  upcoming: Date[];
1987
1999
  lastTimestamp?: Date | undefined;
1988
2000
  externalId?: string | undefined;
1989
2001
  }, {
1990
2002
  timestamp: Date;
1991
2003
  scheduleId: string;
2004
+ timezone: string;
1992
2005
  upcoming: Date[];
1993
2006
  lastTimestamp?: Date | undefined;
1994
2007
  externalId?: string | undefined;
@@ -2014,28 +2027,41 @@ declare const CreateScheduleOptions: z.ZodObject<{
2014
2027
 
2015
2028
  */
2016
2029
  cron: z.ZodString;
2017
- /** (Optional) You can only create one schedule with this key. If you use it twice, the second call will update the schedule.
2030
+ /** You can only create one schedule with this key. If you use it twice, the second call will update the schedule.
2018
2031
  *
2019
- * This is useful if you don't want to create duplicate schedules for a user. */
2020
- deduplicationKey: z.ZodOptional<z.ZodString>;
2032
+ * This is required to prevent you from creating duplicate schedules. */
2033
+ deduplicationKey: z.ZodString;
2021
2034
  /** Optionally, you can specify your own IDs (like a user ID) and then use it inside the run function of your task.
2022
2035
  *
2023
2036
  * This allows you to have per-user CRON tasks.
2024
2037
  */
2025
2038
  externalId: z.ZodOptional<z.ZodString>;
2039
+ /** Optionally, you can specify a timezone in the IANA format. If unset it will use UTC.
2040
+ * If specified then the CRON will be evaluated in that timezone and will respect daylight savings.
2041
+ *
2042
+ * If you set the CRON to `0 0 * * *` and the timezone to `America/New_York` then the task will run at midnight in New York time, no matter whether it's daylight savings or not.
2043
+ *
2044
+ * You can see the full list of supported timezones here: https://cloud.trigger.dev/timezones
2045
+ *
2046
+ * @example "America/New_York", "Europe/London", "Asia/Tokyo", "Africa/Cairo"
2047
+ *
2048
+ */
2049
+ timezone: z.ZodOptional<z.ZodString>;
2026
2050
  }, "strip", z.ZodTypeAny, {
2027
2051
  task: string;
2028
2052
  cron: string;
2029
- deduplicationKey?: string | undefined;
2053
+ deduplicationKey: string;
2030
2054
  externalId?: string | undefined;
2055
+ timezone?: string | undefined;
2031
2056
  }, {
2032
2057
  task: string;
2033
2058
  cron: string;
2034
- deduplicationKey?: string | undefined;
2059
+ deduplicationKey: string;
2035
2060
  externalId?: string | undefined;
2061
+ timezone?: string | undefined;
2036
2062
  }>;
2037
2063
  type CreateScheduleOptions = z.infer<typeof CreateScheduleOptions>;
2038
- declare const UpdateScheduleOptions: z.ZodObject<{
2064
+ declare const UpdateScheduleOptions: z.ZodObject<Omit<{
2039
2065
  /** The id of the task you want to attach to. */
2040
2066
  task: z.ZodString;
2041
2067
  /** The schedule in CRON format.
@@ -2055,25 +2081,36 @@ declare const UpdateScheduleOptions: z.ZodObject<{
2055
2081
 
2056
2082
  */
2057
2083
  cron: z.ZodString;
2058
- /** (Optional) You can only create one schedule with this key. If you use it twice, the second call will update the schedule.
2084
+ /** You can only create one schedule with this key. If you use it twice, the second call will update the schedule.
2059
2085
  *
2060
- * This is useful if you don't want to create duplicate schedules for a user. */
2061
- deduplicationKey: z.ZodOptional<z.ZodString>;
2086
+ * This is required to prevent you from creating duplicate schedules. */
2087
+ deduplicationKey: z.ZodString;
2062
2088
  /** Optionally, you can specify your own IDs (like a user ID) and then use it inside the run function of your task.
2063
2089
  *
2064
2090
  * This allows you to have per-user CRON tasks.
2065
2091
  */
2066
2092
  externalId: z.ZodOptional<z.ZodString>;
2067
- }, "strip", z.ZodTypeAny, {
2093
+ /** Optionally, you can specify a timezone in the IANA format. If unset it will use UTC.
2094
+ * If specified then the CRON will be evaluated in that timezone and will respect daylight savings.
2095
+ *
2096
+ * If you set the CRON to `0 0 * * *` and the timezone to `America/New_York` then the task will run at midnight in New York time, no matter whether it's daylight savings or not.
2097
+ *
2098
+ * You can see the full list of supported timezones here: https://cloud.trigger.dev/timezones
2099
+ *
2100
+ * @example "America/New_York", "Europe/London", "Asia/Tokyo", "Africa/Cairo"
2101
+ *
2102
+ */
2103
+ timezone: z.ZodOptional<z.ZodString>;
2104
+ }, "deduplicationKey">, "strip", z.ZodTypeAny, {
2068
2105
  task: string;
2069
2106
  cron: string;
2070
- deduplicationKey?: string | undefined;
2071
2107
  externalId?: string | undefined;
2108
+ timezone?: string | undefined;
2072
2109
  }, {
2073
2110
  task: string;
2074
2111
  cron: string;
2075
- deduplicationKey?: string | undefined;
2076
2112
  externalId?: string | undefined;
2113
+ timezone?: string | undefined;
2077
2114
  }>;
2078
2115
  type UpdateScheduleOptions = z.infer<typeof UpdateScheduleOptions>;
2079
2116
  declare const ScheduleGenerator: z.ZodObject<{
@@ -2109,6 +2146,7 @@ declare const ScheduleObject: z.ZodObject<{
2109
2146
  expression: string;
2110
2147
  description: string;
2111
2148
  }>;
2149
+ timezone: z.ZodString;
2112
2150
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2113
2151
  environments: z.ZodArray<z.ZodObject<{
2114
2152
  id: z.ZodString;
@@ -2126,6 +2164,7 @@ declare const ScheduleObject: z.ZodObject<{
2126
2164
  }, "strip", z.ZodTypeAny, {
2127
2165
  id: string;
2128
2166
  task: string;
2167
+ timezone: string;
2129
2168
  active: boolean;
2130
2169
  generator: {
2131
2170
  type: "CRON";
@@ -2143,6 +2182,7 @@ declare const ScheduleObject: z.ZodObject<{
2143
2182
  }, {
2144
2183
  id: string;
2145
2184
  task: string;
2185
+ timezone: string;
2146
2186
  active: boolean;
2147
2187
  generator: {
2148
2188
  type: "CRON";
@@ -2187,6 +2227,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2187
2227
  expression: string;
2188
2228
  description: string;
2189
2229
  }>;
2230
+ timezone: z.ZodString;
2190
2231
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2191
2232
  environments: z.ZodArray<z.ZodObject<{
2192
2233
  id: z.ZodString;
@@ -2204,6 +2245,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2204
2245
  }, "strip", z.ZodTypeAny, {
2205
2246
  id: string;
2206
2247
  task: string;
2248
+ timezone: string;
2207
2249
  active: boolean;
2208
2250
  generator: {
2209
2251
  type: "CRON";
@@ -2221,6 +2263,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2221
2263
  }, {
2222
2264
  id: string;
2223
2265
  task: string;
2266
+ timezone: string;
2224
2267
  active: boolean;
2225
2268
  generator: {
2226
2269
  type: "CRON";
@@ -2253,6 +2296,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2253
2296
  data: {
2254
2297
  id: string;
2255
2298
  task: string;
2299
+ timezone: string;
2256
2300
  active: boolean;
2257
2301
  generator: {
2258
2302
  type: "CRON";
@@ -2277,6 +2321,7 @@ declare const ListSchedulesResult: z.ZodObject<{
2277
2321
  data: {
2278
2322
  id: string;
2279
2323
  task: string;
2324
+ timezone: string;
2280
2325
  active: boolean;
2281
2326
  generator: {
2282
2327
  type: "CRON";
@@ -2310,6 +2355,14 @@ declare const ListScheduleOptions: z.ZodObject<{
2310
2355
  perPage?: number | undefined;
2311
2356
  }>;
2312
2357
  type ListScheduleOptions = z.infer<typeof ListScheduleOptions>;
2358
+ declare const TimezonesResult: z.ZodObject<{
2359
+ timezones: z.ZodArray<z.ZodString, "many">;
2360
+ }, "strip", z.ZodTypeAny, {
2361
+ timezones: string[];
2362
+ }, {
2363
+ timezones: string[];
2364
+ }>;
2365
+ type TimezonesResult = z.infer<typeof TimezonesResult>;
2313
2366
  declare const RunStatus: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE"]>;
2314
2367
  type RunStatus = z.infer<typeof RunStatus>;
2315
2368
  declare const AttemptStatus: z.ZodEnum<["PENDING", "EXECUTING", "PAUSED", "COMPLETED", "FAILED", "CANCELED"]>;
@@ -3048,17 +3101,17 @@ declare const TaskResource: z.ZodObject<{
3048
3101
  randomize?: boolean | undefined;
3049
3102
  }>>;
3050
3103
  machine: z.ZodOptional<z.ZodObject<{
3051
- version: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"v1">>>;
3052
- cpu: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>>;
3053
- memory: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>>;
3104
+ cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
3105
+ memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
3106
+ preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
3054
3107
  }, "strip", z.ZodTypeAny, {
3055
- version?: "v1" | undefined;
3056
3108
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
3057
3109
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
3110
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3058
3111
  }, {
3059
- version?: "v1" | undefined;
3060
3112
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
3061
3113
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
3114
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3062
3115
  }>>;
3063
3116
  triggerSource: z.ZodOptional<z.ZodString>;
3064
3117
  }, "strip", z.ZodTypeAny, {
@@ -3110,9 +3163,9 @@ declare const TaskResource: z.ZodObject<{
3110
3163
  randomize?: boolean | undefined;
3111
3164
  } | undefined;
3112
3165
  machine?: {
3113
- version?: "v1" | undefined;
3114
3166
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
3115
3167
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
3168
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3116
3169
  } | undefined;
3117
3170
  triggerSource?: string | undefined;
3118
3171
  }, {
@@ -3164,9 +3217,9 @@ declare const TaskResource: z.ZodObject<{
3164
3217
  randomize?: boolean | undefined;
3165
3218
  } | undefined;
3166
3219
  machine?: {
3167
- version?: "v1" | undefined;
3168
3220
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
3169
3221
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
3222
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3170
3223
  } | undefined;
3171
3224
  triggerSource?: string | undefined;
3172
3225
  }>;
@@ -3384,17 +3437,17 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3384
3437
  randomize?: boolean | undefined;
3385
3438
  }>>;
3386
3439
  machine: z.ZodOptional<z.ZodObject<{
3387
- version: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"v1">>>;
3388
- cpu: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>>;
3389
- memory: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>>;
3440
+ cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
3441
+ memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
3442
+ preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
3390
3443
  }, "strip", z.ZodTypeAny, {
3391
- version?: "v1" | undefined;
3392
3444
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
3393
3445
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
3446
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3394
3447
  }, {
3395
- version?: "v1" | undefined;
3396
3448
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
3397
3449
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
3450
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3398
3451
  }>>;
3399
3452
  triggerSource: z.ZodOptional<z.ZodString>;
3400
3453
  }, "strip", z.ZodTypeAny, {
@@ -3446,9 +3499,9 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3446
3499
  randomize?: boolean | undefined;
3447
3500
  } | undefined;
3448
3501
  machine?: {
3449
- version?: "v1" | undefined;
3450
3502
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
3451
3503
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
3504
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3452
3505
  } | undefined;
3453
3506
  triggerSource?: string | undefined;
3454
3507
  }, {
@@ -3500,9 +3553,9 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3500
3553
  randomize?: boolean | undefined;
3501
3554
  } | undefined;
3502
3555
  machine?: {
3503
- version?: "v1" | undefined;
3504
3556
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
3505
3557
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
3558
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3506
3559
  } | undefined;
3507
3560
  triggerSource?: string | undefined;
3508
3561
  }>, "many">;
@@ -3558,9 +3611,9 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3558
3611
  randomize?: boolean | undefined;
3559
3612
  } | undefined;
3560
3613
  machine?: {
3561
- version?: "v1" | undefined;
3562
3614
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
3563
3615
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
3616
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3564
3617
  } | undefined;
3565
3618
  triggerSource?: string | undefined;
3566
3619
  }[];
@@ -3617,9 +3670,9 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3617
3670
  randomize?: boolean | undefined;
3618
3671
  } | undefined;
3619
3672
  machine?: {
3620
- version?: "v1" | undefined;
3621
3673
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
3622
3674
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
3675
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3623
3676
  } | undefined;
3624
3677
  triggerSource?: string | undefined;
3625
3678
  }[];
@@ -4013,7 +4066,6 @@ declare const FetchTimeoutOptions: z.ZodObject<{
4013
4066
  durationInMs: z.ZodOptional<z.ZodNumber>;
4014
4067
  retry: z.ZodOptional<z.ZodObject<{
4015
4068
  maxAttempts: z.ZodOptional<z.ZodNumber>;
4016
- /** The timeout options for the request. */
4017
4069
  factor: z.ZodOptional<z.ZodNumber>;
4018
4070
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
4019
4071
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
@@ -4130,7 +4182,6 @@ declare const FetchRetryOptions: z.ZodObject<{
4130
4182
  */
4131
4183
  connectionError: z.ZodOptional<z.ZodObject<{
4132
4184
  maxAttempts: z.ZodOptional<z.ZodNumber>;
4133
- /** The timeout options for the request. */
4134
4185
  factor: z.ZodOptional<z.ZodNumber>;
4135
4186
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
4136
4187
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
@@ -4626,6 +4677,7 @@ declare class ApiClient {
4626
4677
  createSchedule(options: CreateScheduleOptions): ApiPromise<{
4627
4678
  id: string;
4628
4679
  task: string;
4680
+ timezone: string;
4629
4681
  active: boolean;
4630
4682
  generator: {
4631
4683
  type: "CRON";
@@ -4660,6 +4712,7 @@ declare class ApiClient {
4660
4712
  expression: string;
4661
4713
  description: string;
4662
4714
  }>;
4715
+ timezone: zod.ZodString;
4663
4716
  nextRun: zod.ZodOptional<zod.ZodNullable<zod.ZodDate>>;
4664
4717
  environments: zod.ZodArray<zod.ZodObject<{
4665
4718
  id: zod.ZodString;
@@ -4677,6 +4730,7 @@ declare class ApiClient {
4677
4730
  }, "strip", zod.ZodTypeAny, {
4678
4731
  id: string;
4679
4732
  task: string;
4733
+ timezone: string;
4680
4734
  active: boolean;
4681
4735
  generator: {
4682
4736
  type: "CRON";
@@ -4694,6 +4748,7 @@ declare class ApiClient {
4694
4748
  }, {
4695
4749
  id: string;
4696
4750
  task: string;
4751
+ timezone: string;
4697
4752
  active: boolean;
4698
4753
  generator: {
4699
4754
  type: "CRON";
@@ -4712,6 +4767,7 @@ declare class ApiClient {
4712
4767
  retrieveSchedule(scheduleId: string): ApiPromise<{
4713
4768
  id: string;
4714
4769
  task: string;
4770
+ timezone: string;
4715
4771
  active: boolean;
4716
4772
  generator: {
4717
4773
  type: "CRON";
@@ -4730,6 +4786,7 @@ declare class ApiClient {
4730
4786
  updateSchedule(scheduleId: string, options: UpdateScheduleOptions): ApiPromise<{
4731
4787
  id: string;
4732
4788
  task: string;
4789
+ timezone: string;
4733
4790
  active: boolean;
4734
4791
  generator: {
4735
4792
  type: "CRON";
@@ -4748,6 +4805,7 @@ declare class ApiClient {
4748
4805
  deactivateSchedule(scheduleId: string): ApiPromise<{
4749
4806
  id: string;
4750
4807
  task: string;
4808
+ timezone: string;
4751
4809
  active: boolean;
4752
4810
  generator: {
4753
4811
  type: "CRON";
@@ -4766,6 +4824,7 @@ declare class ApiClient {
4766
4824
  activateSchedule(scheduleId: string): ApiPromise<{
4767
4825
  id: string;
4768
4826
  task: string;
4827
+ timezone: string;
4769
4828
  active: boolean;
4770
4829
  generator: {
4771
4830
  type: "CRON";
@@ -4964,6 +5023,10 @@ declare const SemanticInternalAttributes: {
4964
5023
  TASK_EXPORT_NAME: string;
4965
5024
  QUEUE_NAME: string;
4966
5025
  QUEUE_ID: string;
5026
+ MACHINE_PRESET_NAME: string;
5027
+ MACHINE_PRESET_CPU: string;
5028
+ MACHINE_PRESET_MEMORY: string;
5029
+ MACHINE_PRESET_CENTS_PER_MS: string;
4967
5030
  SPAN_PARTIAL: string;
4968
5031
  SPAN_ID: string;
4969
5032
  OUTPUT: string;
@@ -4988,6 +5051,8 @@ declare const SemanticInternalAttributes: {
4988
5051
  RETRY_COUNT: string;
4989
5052
  LINK_TITLE: string;
4990
5053
  IDEMPOTENCY_KEY: string;
5054
+ USAGE_DURATION_MS: string;
5055
+ USAGE_COST_IN_CENTS: string;
4991
5056
  };
4992
5057
 
4993
5058
  declare class TaskCatalogAPI {
@@ -5090,4 +5155,4 @@ declare function createPacketAttributes(packet: IOPacket, dataKey: string, dataT
5090
5155
  declare function createPacketAttributesAsJson(data: any, dataType: string): Promise<Attributes>;
5091
5156
  declare function prettyPrintPacket(rawData: any, dataType?: string): Promise<string>;
5092
5157
 
5093
- export { Accessory, ApiClient, type ApiClientConfiguration, ApiPromise, AttemptStatus, BackgroundWorkerMetadata, BackgroundWorkerProperties, BatchTaskRunExecutionResult, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, type CreateEnvironmentVariableParams, CreateEnvironmentVariableRequestBody, CreateScheduleOptions, CreateUploadPayloadUrlResponseBody, CursorPageParams, 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, type IOPacket, ImageDetailsMetadata, type ImportEnvironmentVariablesParams, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, type ListProjectRunsQueryParams, ListRunResponse, ListRunResponseItem, type ListRunsQueryParams, ListScheduleOptions, ListSchedulesResult, NULL_SENTINEL, 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, OtherSpanEvent, PRIMARY_VARIANT, Prettify, ReplayRunResponse, RetrieveRunResponse, RetryOptions, RunEnvironmentDetails, RunScheduleDetails, RunStatus, ScheduleGenerator, ScheduleObject, ScheduledTaskPayload, SemanticInternalAttributes, SerializedError, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskFileMetadata, TaskMetadataWithFilePath, TaskMetadataWithFunctions, TaskResource, TaskRunContext, TaskRunError, TaskRunExecutionResult, type TriggerOptions, TriggerTaskRequestBody, TriggerTaskResponse, TriggerTracer, type UpdateEnvironmentVariableParams, UpdateEnvironmentVariableRequestBody, UpdateScheduleOptions, Variant, type WhoAmIResponse, WhoAmIResponseSchema, accessoryAttributes, apiClientManager, calculateNextRetryDelay, calculateResetAt, clock, conditionallyExportPacket, conditionallyImportPacket, correctErrorStackTrace, createErrorTaskError, createJsonErrorObject, createPacketAttributes, createPacketAttributesAsJson, defaultFetchRetryOptions, defaultRetryOptions, detectDependencyVersion, flattenAttributes, formatDuration, formatDurationInDays, formatDurationMilliseconds, formatDurationNanoseconds, groupTaskMetadataIssuesByTask, imposeAttributeLimits, isCancellationSpanEvent, isExceptionSpanEvent, logger, millisecondsToNanoseconds, nanosecondsToMilliseconds, omit, packetRequiresOffloading, parseError, parsePacket, prettyPrintPacket, primitiveValueOrflattenedAttributes, runtime, stringPatternMatchers, stringifyIO, taskCatalog, taskContext, unflattenAttributes };
5158
+ export { Accessory, ApiClient, type ApiClientConfiguration, ApiPromise, AttemptStatus, BackgroundWorkerMetadata, BackgroundWorkerProperties, BatchTaskRunExecutionResult, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, type CreateEnvironmentVariableParams, CreateEnvironmentVariableRequestBody, CreateScheduleOptions, CreateUploadPayloadUrlResponseBody, CursorPageParams, CursorPagePromise, 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, type IOPacket, ImageDetailsMetadata, type ImportEnvironmentVariablesParams, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, type ListProjectRunsQueryParams, ListRunResponse, ListRunResponseItem, type ListRunsQueryParams, ListScheduleOptions, ListSchedulesResult, NULL_SENTINEL, 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, OtherSpanEvent, PRIMARY_VARIANT, Prettify, ReplayRunResponse, RetrieveRunResponse, RetryOptions, RunEnvironmentDetails, RunScheduleDetails, RunStatus, ScheduleGenerator, ScheduleObject, ScheduledTaskPayload, SemanticInternalAttributes, SerializedError, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskFileMetadata, TaskMetadataWithFilePath, TaskMetadataWithFunctions, TaskResource, TaskRunContext, TaskRunError, TaskRunExecutionResult, TimezonesResult, type TriggerOptions, TriggerTaskRequestBody, TriggerTaskResponse, TriggerTracer, type UpdateEnvironmentVariableParams, UpdateEnvironmentVariableRequestBody, UpdateScheduleOptions, Variant, type WhoAmIResponse, WhoAmIResponseSchema, accessoryAttributes, apiClientManager, calculateNextRetryDelay, calculateResetAt, clock, conditionallyExportPacket, conditionallyImportPacket, correctErrorStackTrace, createErrorTaskError, createJsonErrorObject, createPacketAttributes, createPacketAttributesAsJson, defaultFetchRetryOptions, defaultRetryOptions, detectDependencyVersion, flattenAttributes, formatDuration, formatDurationInDays, formatDurationMilliseconds, formatDurationNanoseconds, groupTaskMetadataIssuesByTask, imposeAttributeLimits, isCancellationSpanEvent, isExceptionSpanEvent, logger, millisecondsToNanoseconds, nanosecondsToMilliseconds, omit, packetRequiresOffloading, parseError, parsePacket, prettyPrintPacket, primitiveValueOrflattenedAttributes, runtime, stringPatternMatchers, stringifyIO, taskCatalog, taskContext, unflattenAttributes };