@trigger.dev/core 0.0.0-v3-prerelease-20240708183321 → 0.0.0-v3-prerelease-20240730135037

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 (155) hide show
  1. package/dist/api-Pl9fxB8v.d.mts +13879 -0
  2. package/dist/api-sNoooMbT.d.ts +13879 -0
  3. package/dist/{catalog-NxVZnWZh.d.ts → catalog-H7yFiZ60.d.mts} +12 -34
  4. package/dist/{catalog-N-X0Te3W.d.mts → catalog-h79CG5Wy.d.ts} +12 -34
  5. package/dist/{common-fIyU5pmz.d.mts → common-CLW82lkt.d.mts} +1 -1
  6. package/dist/{common-fIyU5pmz.d.ts → common-CLW82lkt.d.ts} +1 -1
  7. package/dist/{eventFilterMatches-2kHImluE.d.mts → eventFilter-66NaBAMi.d.mts} +1 -3
  8. package/dist/{eventFilterMatches-2kHImluE.d.ts → eventFilter-66NaBAMi.d.ts} +1 -3
  9. package/dist/eventFilterMatches.d.mts +6 -0
  10. package/dist/eventFilterMatches.d.ts +6 -0
  11. package/dist/eventFilterMatches.js +165 -0
  12. package/dist/eventFilterMatches.js.map +1 -0
  13. package/dist/eventFilterMatches.mjs +163 -0
  14. package/dist/eventFilterMatches.mjs.map +1 -0
  15. package/dist/index.d.mts +14 -16716
  16. package/dist/index.d.ts +14 -16716
  17. package/dist/index.js +1 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.mjs +1 -1
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/json-DBPEJQRe.d.mts +16 -0
  22. package/dist/json-DBPEJQRe.d.ts +16 -0
  23. package/dist/{manager-X_HrWQ7_.d.mts → manager-KvCabW1a.d.mts} +1 -1
  24. package/dist/{manager-2ZQ3_twq.d.ts → manager-OBA35PzR.d.ts} +1 -1
  25. package/dist/{messages-Sggr4tid.d.mts → messages-mhHZiNGN.d.mts} +234 -32
  26. package/dist/{messages-Sggr4tid.d.ts → messages-mhHZiNGN.d.ts} +234 -32
  27. package/dist/replacements.d.mts +22 -0
  28. package/dist/replacements.d.ts +22 -0
  29. package/dist/replacements.js +33 -0
  30. package/dist/replacements.js.map +1 -0
  31. package/dist/replacements.mjs +28 -0
  32. package/dist/replacements.mjs.map +1 -0
  33. package/dist/requestFilter-HNZQEpQb.d.ts +180 -0
  34. package/dist/requestFilter-b5W2_1oP.d.mts +180 -0
  35. package/dist/requestFilterMatches.d.mts +13 -0
  36. package/dist/requestFilterMatches.d.ts +13 -0
  37. package/dist/requestFilterMatches.js +238 -0
  38. package/dist/requestFilterMatches.js.map +1 -0
  39. package/dist/requestFilterMatches.mjs +235 -0
  40. package/dist/requestFilterMatches.mjs.map +1 -0
  41. package/dist/retry.d.mts +10 -0
  42. package/dist/retry.d.ts +10 -0
  43. package/dist/retry.js +100 -0
  44. package/dist/retry.js.map +1 -0
  45. package/dist/retry.mjs +97 -0
  46. package/dist/retry.mjs.map +1 -0
  47. package/dist/schemas/index.d.mts +2611 -0
  48. package/dist/schemas/index.d.ts +2611 -0
  49. package/dist/schemas/index.js +1630 -0
  50. package/dist/schemas/index.js.map +1 -0
  51. package/dist/schemas/index.mjs +1463 -0
  52. package/dist/schemas/index.mjs.map +1 -0
  53. package/dist/{schemas-Zy7mGFgD.d.mts → schemas-C9ssfehv.d.mts} +50 -1
  54. package/dist/{schemas-Zy7mGFgD.d.ts → schemas-C9ssfehv.d.ts} +50 -1
  55. package/dist/taskLogger-CzADe4je.d.ts +33 -0
  56. package/dist/taskLogger-r_AFTX45.d.mts +33 -0
  57. package/dist/types.d.mts +11 -0
  58. package/dist/types.d.ts +11 -0
  59. package/dist/types.js +4 -0
  60. package/dist/types.js.map +1 -0
  61. package/dist/types.mjs +3 -0
  62. package/dist/types.mjs.map +1 -0
  63. package/dist/utils.d.mts +7 -0
  64. package/dist/utils.d.ts +7 -0
  65. package/dist/utils.js +33 -0
  66. package/dist/utils.js.map +1 -0
  67. package/dist/utils.mjs +30 -0
  68. package/dist/utils.mjs.map +1 -0
  69. package/dist/v3/dev/index.d.mts +2 -2
  70. package/dist/v3/dev/index.d.ts +2 -2
  71. package/dist/v3/errors.d.mts +39 -0
  72. package/dist/v3/errors.d.ts +39 -0
  73. package/dist/v3/errors.js +204 -0
  74. package/dist/v3/errors.js.map +1 -0
  75. package/dist/v3/errors.mjs +195 -0
  76. package/dist/v3/errors.mjs.map +1 -0
  77. package/dist/v3/index.d.mts +88 -233
  78. package/dist/v3/index.d.ts +88 -233
  79. package/dist/v3/index.js +67 -5
  80. package/dist/v3/index.js.map +1 -1
  81. package/dist/v3/index.mjs +64 -6
  82. package/dist/v3/index.mjs.map +1 -1
  83. package/dist/v3/logger-api.d.mts +24 -0
  84. package/dist/v3/logger-api.d.ts +24 -0
  85. package/dist/v3/logger-api.js +118 -0
  86. package/dist/v3/logger-api.js.map +1 -0
  87. package/dist/v3/logger-api.mjs +116 -0
  88. package/dist/v3/logger-api.mjs.map +1 -0
  89. package/dist/v3/otel/index.js +1 -1
  90. package/dist/v3/otel/index.js.map +1 -1
  91. package/dist/v3/otel/index.mjs +1 -1
  92. package/dist/v3/otel/index.mjs.map +1 -1
  93. package/dist/v3/prod/index.d.mts +3 -3
  94. package/dist/v3/prod/index.d.ts +3 -3
  95. package/dist/v3/schemas/index.d.mts +273 -111
  96. package/dist/v3/schemas/index.d.ts +273 -111
  97. package/dist/v3/schemas/index.js +54 -4
  98. package/dist/v3/schemas/index.js.map +1 -1
  99. package/dist/v3/schemas/index.mjs +51 -5
  100. package/dist/v3/schemas/index.mjs.map +1 -1
  101. package/dist/v3/semanticInternalAttributes.d.mts +56 -0
  102. package/dist/v3/semanticInternalAttributes.d.ts +56 -0
  103. package/dist/v3/semanticInternalAttributes.js +61 -0
  104. package/dist/v3/semanticInternalAttributes.js.map +1 -0
  105. package/dist/v3/semanticInternalAttributes.mjs +59 -0
  106. package/dist/v3/semanticInternalAttributes.mjs.map +1 -0
  107. package/dist/v3/utils/flattenAttributes.d.mts +8 -0
  108. package/dist/v3/utils/flattenAttributes.d.ts +8 -0
  109. package/dist/v3/utils/flattenAttributes.js +131 -0
  110. package/dist/v3/utils/flattenAttributes.js.map +1 -0
  111. package/dist/v3/utils/flattenAttributes.mjs +126 -0
  112. package/dist/v3/utils/flattenAttributes.mjs.map +1 -0
  113. package/dist/v3/utils/ioSerialization.d.mts +21 -0
  114. package/dist/v3/utils/ioSerialization.d.ts +21 -0
  115. package/dist/v3/utils/ioSerialization.js +2392 -0
  116. package/dist/v3/utils/ioSerialization.js.map +1 -0
  117. package/dist/v3/utils/ioSerialization.mjs +2383 -0
  118. package/dist/v3/utils/ioSerialization.mjs.map +1 -0
  119. package/dist/v3/utils/omit.d.mts +3 -0
  120. package/dist/v3/utils/omit.d.ts +3 -0
  121. package/dist/v3/utils/omit.js +20 -0
  122. package/dist/v3/utils/omit.js.map +1 -0
  123. package/dist/v3/utils/omit.mjs +18 -0
  124. package/dist/v3/utils/omit.mjs.map +1 -0
  125. package/dist/v3/utils/retries.d.mts +46 -0
  126. package/dist/v3/utils/retries.d.ts +46 -0
  127. package/dist/v3/utils/retries.js +118 -0
  128. package/dist/v3/utils/retries.js.map +1 -0
  129. package/dist/v3/utils/retries.mjs +113 -0
  130. package/dist/v3/utils/retries.mjs.map +1 -0
  131. package/dist/v3/workers/index.d.mts +7 -6
  132. package/dist/v3/workers/index.d.ts +7 -6
  133. package/dist/v3/workers/index.js +50 -5
  134. package/dist/v3/workers/index.js.map +1 -1
  135. package/dist/v3/workers/index.mjs +50 -5
  136. package/dist/v3/workers/index.mjs.map +1 -1
  137. package/dist/v3/zodIpc.js.map +1 -1
  138. package/dist/v3/zodIpc.mjs.map +1 -1
  139. package/dist/v3/zodMessageHandler.d.mts +15 -2
  140. package/dist/v3/zodMessageHandler.d.ts +15 -2
  141. package/dist/v3/zodMessageHandler.js +59 -13
  142. package/dist/v3/zodMessageHandler.js.map +1 -1
  143. package/dist/v3/zodMessageHandler.mjs +59 -13
  144. package/dist/v3/zodMessageHandler.mjs.map +1 -1
  145. package/dist/v3/zodNamespace.js.map +1 -1
  146. package/dist/v3/zodNamespace.mjs.map +1 -1
  147. package/dist/v3/zodfetch.d.mts +1 -1
  148. package/dist/v3/zodfetch.d.ts +1 -1
  149. package/dist/versions.d.mts +11 -0
  150. package/dist/versions.d.ts +11 -0
  151. package/dist/versions.js +31 -0
  152. package/dist/versions.js.map +1 -0
  153. package/dist/versions.mjs +27 -0
  154. package/dist/versions.mjs.map +1 -0
  155. package/package.json +139 -19
@@ -1,25 +1,33 @@
1
- import * as zod from 'zod';
2
- import { z } from 'zod';
3
1
  import { CursorPageParams, ApiRequestOptions, ZodFetchOptions, ApiPromise, CursorPagePromise, OffsetLimitPagePromise } from './zodfetch.mjs';
4
2
  export { APIHeaders, ApiConnectionError, ApiError, AuthenticationError, BadRequestError, ConflictError, CursorPage, CursorPageResponse, InternalServerError, NotFoundError, OffsetLimitPage, OffsetLimitPageParams, OffsetLimitPageResponse, Page, PageResponse, PermissionDeniedError, RateLimitError, UnprocessableEntityError, isRequestOptions } from './zodfetch.mjs';
5
- import { RunStatus, TriggerTaskRequestBody, BatchTriggerTaskRequestBody, ListRunResponseItem, RescheduleRunRequestBody, CreateScheduleOptions, ListScheduleOptions, UpdateScheduleOptions, CreateEnvironmentVariableRequestBody, UpdateEnvironmentVariableRequestBody, Accessory } from './schemas/index.mjs';
6
- 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, ScheduleGenerator, ScheduleObject, ScheduledTaskPayload, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskResource, TimezonesResult, TriggerTaskResponse, Variant, WhoAmIResponse, WhoAmIResponseSchema, isCancellationSpanEvent, isExceptionSpanEvent, stringPatternMatchers } from './schemas/index.mjs';
7
- import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, c as TaskRunError, a as TaskRunContext } from '../common-fIyU5pmz.mjs';
8
- 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 '../common-fIyU5pmz.mjs';
9
- import { C as Clock, a as ClockTime, e as TaskLogger, b as TaskCatalog, T as TaskMetadataWithFunctions } from '../catalog-N-X0Te3W.mjs';
10
- export { g as Context, F as FailureFnParams, m as HandleErrorArgs, i as HandleErrorFnParams, H as HandleErrorFunction, j as HandleErrorModificationOptions, k as HandleErrorResult, f as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, P as ProjectConfig, p as ResolveEnvironmentVariablesFunction, o as ResolveEnvironmentVariablesParams, n as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, h as SuccessFnParams, u as usage } from '../catalog-N-X0Te3W.mjs';
11
- import { Attributes, Span } from '@opentelemetry/api';
12
- import { R as RuntimeManager } from '../manager-X_HrWQ7_.mjs';
13
- import { B as BackgroundWorkerProperties } from '../messages-Sggr4tid.mjs';
14
- 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-Sggr4tid.mjs';
15
- import { T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../schemas-Zy7mGFgD.mjs';
16
- export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, g as PostStartCauses, h as PreStopCauses, P as Prettify, 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-Zy7mGFgD.mjs';
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-CLW82lkt.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-CLW82lkt.mjs';
8
+ import { C as Clock, a as ClockTime, b as TaskCatalog, T as TaskMetadataWithFunctions } from '../catalog-H7yFiZ60.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-H7yFiZ60.mjs';
10
+ export { AbortTaskRunError, SerializedError, correctErrorStackTrace, createErrorTaskError, createJsonErrorObject, groupTaskMetadataIssuesByTask, parseError, sanitizeError } from './errors.mjs';
11
+ import { Attributes } from '@opentelemetry/api';
12
+ export { logger } from './logger-api.mjs';
13
+ import { R as RuntimeManager } from '../manager-KvCabW1a.mjs';
14
+ import { B as BackgroundWorkerProperties } from '../messages-mhHZiNGN.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-mhHZiNGN.mjs';
16
+ import { a as TaskFileMetadata, b as TaskMetadataWithFilePath } from '../schemas-C9ssfehv.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-C9ssfehv.mjs';
18
+ export { SemanticInternalAttributes } from './semanticInternalAttributes.mjs';
17
19
  export { formatDuration, formatDurationInDays, formatDurationMilliseconds, formatDurationNanoseconds, millisecondsToNanoseconds, nanosecondsToMilliseconds } from './utils/durations.mjs';
18
- import { T as TriggerTracer } from '../tracer-N0p2Fuuv.mjs';
19
- export { e as eventFilterMatches } from '../eventFilterMatches-2kHImluE.mjs';
20
- import '@opentelemetry/api-logs';
20
+ export { T as TriggerTracer } from '../tracer-N0p2Fuuv.mjs';
21
+ export { L as LogLevel } from '../taskLogger-r_AFTX45.mjs';
22
+ export { eventFilterMatches } from '../eventFilterMatches.mjs';
23
+ export { NULL_SENTINEL, flattenAttributes, primitiveValueOrflattenedAttributes, unflattenAttributes } from './utils/flattenAttributes.mjs';
24
+ export { omit } from './utils/omit.mjs';
25
+ export { calculateNextRetryDelay, calculateResetAt, defaultFetchRetryOptions, defaultRetryOptions } from './utils/retries.mjs';
26
+ export { IOPacket, conditionallyExportPacket, conditionallyImportPacket, createPacketAttributes, createPacketAttributesAsJson, packetRequiresOffloading, parsePacket, prettyPrintPacket, stringifyIO } from './utils/ioSerialization.mjs';
21
27
  import '@opentelemetry/instrumentation';
28
+ import '@opentelemetry/api-logs';
22
29
  import 'humanize-duration';
30
+ import '../eventFilter-66NaBAMi.mjs';
23
31
 
24
32
  interface ImportEnvironmentVariablesParams {
25
33
  /**
@@ -45,6 +53,7 @@ interface ListRunsQueryParams extends CursorPageParams {
45
53
  to?: Date | number;
46
54
  period?: string;
47
55
  bulkAction?: string;
56
+ tag?: Array<string> | string;
48
57
  schedule?: string;
49
58
  isTest?: boolean;
50
59
  }
@@ -71,8 +80,8 @@ declare class ApiClient {
71
80
  id: string;
72
81
  }>;
73
82
  batchTriggerTask(taskId: string, body: BatchTriggerTaskRequestBody, options?: TriggerOptions, requestOptions?: ZodFetchOptions): ApiPromise<{
74
- batchId: string;
75
83
  runs: string[];
84
+ batchId: string;
76
85
  }>;
77
86
  createUploadPayloadUrl(filename: string, requestOptions?: ZodFetchOptions): ApiPromise<{
78
87
  presignedUrl: string;
@@ -81,12 +90,16 @@ declare class ApiClient {
81
90
  presignedUrl: string;
82
91
  }>;
83
92
  retrieveRun(runId: string, requestOptions?: ZodFetchOptions): ApiPromise<{
84
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
93
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
85
94
  id: string;
95
+ tags: string[];
86
96
  isTest: boolean;
87
97
  createdAt: Date;
98
+ durationMs: number;
99
+ costInCents: number;
100
+ baseCostInCents: number;
88
101
  attempts: ({
89
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
102
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
90
103
  id: string;
91
104
  createdAt: Date;
92
105
  updatedAt: Date;
@@ -114,8 +127,8 @@ declare class ApiClient {
114
127
  id: string;
115
128
  generator: {
116
129
  type: "CRON";
117
- expression: string;
118
130
  description: string;
131
+ expression: string;
119
132
  };
120
133
  externalId?: string | undefined;
121
134
  deduplicationKey?: string | undefined;
@@ -137,12 +150,16 @@ declare class ApiClient {
137
150
  id: string;
138
151
  }>;
139
152
  rescheduleRun(runId: string, body: RescheduleRunRequestBody, requestOptions?: ZodFetchOptions): ApiPromise<{
140
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
153
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
141
154
  id: string;
155
+ tags: string[];
142
156
  isTest: boolean;
143
157
  createdAt: Date;
158
+ durationMs: number;
159
+ costInCents: number;
160
+ baseCostInCents: number;
144
161
  attempts: ({
145
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
162
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
146
163
  id: string;
147
164
  createdAt: Date;
148
165
  updatedAt: Date;
@@ -170,8 +187,8 @@ declare class ApiClient {
170
187
  id: string;
171
188
  generator: {
172
189
  type: "CRON";
173
- expression: string;
174
190
  description: string;
191
+ expression: string;
175
192
  };
176
193
  externalId?: string | undefined;
177
194
  deduplicationKey?: string | undefined;
@@ -184,16 +201,20 @@ declare class ApiClient {
184
201
  ttl?: string | undefined;
185
202
  expiredAt?: Date | undefined;
186
203
  }>;
204
+ addTags(runId: string, body: AddTagsRequestBody, requestOptions?: ZodFetchOptions): ApiPromise<{
205
+ message: string;
206
+ }>;
187
207
  createSchedule(options: CreateScheduleOptions, requestOptions?: ZodFetchOptions): ApiPromise<{
208
+ type: "DECLARATIVE" | "IMPERATIVE";
188
209
  id: string;
189
210
  task: string;
190
- timezone: string;
191
211
  active: boolean;
192
212
  generator: {
193
213
  type: "CRON";
194
- expression: string;
195
214
  description: string;
215
+ expression: string;
196
216
  };
217
+ timezone: string;
197
218
  environments: {
198
219
  type: string;
199
220
  id: string;
@@ -203,32 +224,33 @@ declare class ApiClient {
203
224
  externalId?: string | null | undefined;
204
225
  nextRun?: Date | null | undefined;
205
226
  }>;
206
- listSchedules(options?: ListScheduleOptions, requestOptions?: ZodFetchOptions): OffsetLimitPagePromise<zod.ZodObject<{
207
- id: zod.ZodString;
208
- task: zod.ZodString;
209
- active: zod.ZodBoolean;
210
- deduplicationKey: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
211
- externalId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
212
- generator: zod.ZodObject<{
213
- type: zod.ZodLiteral<"CRON">;
214
- expression: zod.ZodString;
215
- description: zod.ZodString;
216
- }, "strip", zod.ZodTypeAny, {
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, {
217
239
  type: "CRON";
218
- expression: string;
219
240
  description: string;
241
+ expression: string;
220
242
  }, {
221
243
  type: "CRON";
222
- expression: string;
223
244
  description: string;
245
+ expression: string;
224
246
  }>;
225
- timezone: zod.ZodString;
226
- nextRun: zod.ZodOptional<zod.ZodNullable<zod.ZodDate>>;
227
- environments: zod.ZodArray<zod.ZodObject<{
228
- id: zod.ZodString;
229
- type: zod.ZodString;
230
- userName: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
231
- }, "strip", zod.ZodTypeAny, {
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, {
232
254
  type: string;
233
255
  id: string;
234
256
  userName?: string | null | undefined;
@@ -237,16 +259,17 @@ declare class ApiClient {
237
259
  id: string;
238
260
  userName?: string | null | undefined;
239
261
  }>, "many">;
240
- }, "strip", zod.ZodTypeAny, {
262
+ }, "strip", z.ZodTypeAny, {
263
+ type: "DECLARATIVE" | "IMPERATIVE";
241
264
  id: string;
242
265
  task: string;
243
- timezone: string;
244
266
  active: boolean;
245
267
  generator: {
246
268
  type: "CRON";
247
- expression: string;
248
269
  description: string;
270
+ expression: string;
249
271
  };
272
+ timezone: string;
250
273
  environments: {
251
274
  type: string;
252
275
  id: string;
@@ -256,15 +279,16 @@ declare class ApiClient {
256
279
  externalId?: string | null | undefined;
257
280
  nextRun?: Date | null | undefined;
258
281
  }, {
282
+ type: "DECLARATIVE" | "IMPERATIVE";
259
283
  id: string;
260
284
  task: string;
261
- timezone: string;
262
285
  active: boolean;
263
286
  generator: {
264
287
  type: "CRON";
265
- expression: string;
266
288
  description: string;
289
+ expression: string;
267
290
  };
291
+ timezone: string;
268
292
  environments: {
269
293
  type: string;
270
294
  id: string;
@@ -275,15 +299,16 @@ declare class ApiClient {
275
299
  nextRun?: Date | null | undefined;
276
300
  }>>;
277
301
  retrieveSchedule(scheduleId: string, requestOptions?: ZodFetchOptions): ApiPromise<{
302
+ type: "DECLARATIVE" | "IMPERATIVE";
278
303
  id: string;
279
304
  task: string;
280
- timezone: string;
281
305
  active: boolean;
282
306
  generator: {
283
307
  type: "CRON";
284
- expression: string;
285
308
  description: string;
309
+ expression: string;
286
310
  };
311
+ timezone: string;
287
312
  environments: {
288
313
  type: string;
289
314
  id: string;
@@ -294,15 +319,16 @@ declare class ApiClient {
294
319
  nextRun?: Date | null | undefined;
295
320
  }>;
296
321
  updateSchedule(scheduleId: string, options: UpdateScheduleOptions, requestOptions?: ZodFetchOptions): ApiPromise<{
322
+ type: "DECLARATIVE" | "IMPERATIVE";
297
323
  id: string;
298
324
  task: string;
299
- timezone: string;
300
325
  active: boolean;
301
326
  generator: {
302
327
  type: "CRON";
303
- expression: string;
304
328
  description: string;
329
+ expression: string;
305
330
  };
331
+ timezone: string;
306
332
  environments: {
307
333
  type: string;
308
334
  id: string;
@@ -313,15 +339,16 @@ declare class ApiClient {
313
339
  nextRun?: Date | null | undefined;
314
340
  }>;
315
341
  deactivateSchedule(scheduleId: string, requestOptions?: ZodFetchOptions): ApiPromise<{
342
+ type: "DECLARATIVE" | "IMPERATIVE";
316
343
  id: string;
317
344
  task: string;
318
- timezone: string;
319
345
  active: boolean;
320
346
  generator: {
321
347
  type: "CRON";
322
- expression: string;
323
348
  description: string;
349
+ expression: string;
324
350
  };
351
+ timezone: string;
325
352
  environments: {
326
353
  type: string;
327
354
  id: string;
@@ -332,15 +359,16 @@ declare class ApiClient {
332
359
  nextRun?: Date | null | undefined;
333
360
  }>;
334
361
  activateSchedule(scheduleId: string, requestOptions?: ZodFetchOptions): ApiPromise<{
362
+ type: "DECLARATIVE" | "IMPERATIVE";
335
363
  id: string;
336
364
  task: string;
337
- timezone: string;
338
365
  active: boolean;
339
366
  generator: {
340
367
  type: "CRON";
341
- expression: string;
342
368
  description: string;
369
+ expression: string;
343
370
  };
371
+ timezone: string;
344
372
  environments: {
345
373
  type: string;
346
374
  id: string;
@@ -388,41 +416,6 @@ declare class ClockAPI {
388
416
  /** Entrypoint for clock API */
389
417
  declare const clock: ClockAPI;
390
418
 
391
- declare class AbortTaskRunError extends Error {
392
- constructor(message: string);
393
- }
394
- declare function parseError(error: unknown): TaskRunError;
395
- declare function createErrorTaskError(error: TaskRunError): any;
396
- declare const SerializedError: z.ZodObject<{
397
- message: z.ZodString;
398
- name: z.ZodOptional<z.ZodString>;
399
- stackTrace: z.ZodOptional<z.ZodString>;
400
- }, "strip", z.ZodTypeAny, {
401
- message: string;
402
- name?: string | undefined;
403
- stackTrace?: string | undefined;
404
- }, {
405
- message: string;
406
- name?: string | undefined;
407
- stackTrace?: string | undefined;
408
- }>;
409
- type SerializedError = z.infer<typeof SerializedError>;
410
- declare function createJsonErrorObject(error: TaskRunError): SerializedError;
411
- declare function sanitizeError(error: TaskRunError): TaskRunError;
412
- declare function correctErrorStackTrace(stackTrace: string, projectDir?: string, options?: {
413
- removeFirstLine?: boolean;
414
- isDev?: boolean;
415
- }): string;
416
- declare function groupTaskMetadataIssuesByTask(tasks: any, issues: z.ZodIssue[]): Record<number, {
417
- id: any;
418
- exportName: string;
419
- filePath: string;
420
- issues: Array<{
421
- message: string;
422
- path?: string;
423
- }>;
424
- }>;
425
-
426
419
  declare const OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT = 256;
427
420
  declare const OTEL_LOG_ATTRIBUTE_COUNT_LIMIT = 256;
428
421
  declare const OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT = 1028;
@@ -434,24 +427,6 @@ declare const OTEL_ATTRIBUTE_PER_EVENT_COUNT_LIMIT = 10;
434
427
  declare const OFFLOAD_IO_PACKET_LENGTH_LIMIT: number;
435
428
  declare function imposeAttributeLimits(attributes: Attributes): Attributes;
436
429
 
437
- declare class LoggerAPI implements TaskLogger {
438
- #private;
439
- private static _instance?;
440
- private constructor();
441
- static getInstance(): LoggerAPI;
442
- disable(): void;
443
- setGlobalTaskLogger(taskLogger: TaskLogger): boolean;
444
- debug(message: string, metadata?: Record<string, unknown>): void;
445
- log(message: string, metadata?: Record<string, unknown>): void;
446
- info(message: string, metadata?: Record<string, unknown>): void;
447
- warn(message: string, metadata?: Record<string, unknown>): void;
448
- error(message: string, metadata?: Record<string, unknown>): void;
449
- trace<T>(name: string, fn: (span: Span) => Promise<T>): Promise<T>;
450
- }
451
-
452
- /** Entrypoint for logger API */
453
- declare const logger: LoggerAPI;
454
-
455
430
  declare class RuntimeAPI {
456
431
  #private;
457
432
  private static _instance?;
@@ -519,61 +494,6 @@ declare class APIClientManagerAPI {
519
494
  /** Entrypoint for logger API */
520
495
  declare const apiClientManager: APIClientManagerAPI;
521
496
 
522
- declare const SemanticInternalAttributes: {
523
- ENVIRONMENT_ID: string;
524
- ENVIRONMENT_TYPE: string;
525
- ORGANIZATION_ID: string;
526
- ORGANIZATION_SLUG: string;
527
- ORGANIZATION_NAME: string;
528
- PROJECT_ID: string;
529
- PROJECT_REF: string;
530
- PROJECT_NAME: string;
531
- PROJECT_DIR: string;
532
- ATTEMPT_ID: string;
533
- ATTEMPT_NUMBER: string;
534
- RUN_ID: string;
535
- RUN_IS_TEST: string;
536
- BATCH_ID: string;
537
- TASK_SLUG: string;
538
- TASK_PATH: string;
539
- TASK_EXPORT_NAME: string;
540
- QUEUE_NAME: string;
541
- QUEUE_ID: string;
542
- MACHINE_PRESET_NAME: string;
543
- MACHINE_PRESET_CPU: string;
544
- MACHINE_PRESET_MEMORY: string;
545
- MACHINE_PRESET_CENTS_PER_MS: string;
546
- SPAN_PARTIAL: string;
547
- SPAN_ID: string;
548
- OUTPUT: string;
549
- OUTPUT_TYPE: string;
550
- STYLE: string;
551
- STYLE_ICON: string;
552
- STYLE_VARIANT: string;
553
- STYLE_ACCESSORY: string;
554
- METADATA: string;
555
- TRIGGER: string;
556
- PAYLOAD: string;
557
- PAYLOAD_TYPE: string;
558
- SHOW: string;
559
- SHOW_ACTIONS: string;
560
- WORKER_ID: string;
561
- WORKER_VERSION: string;
562
- CLI_VERSION: string;
563
- SDK_VERSION: string;
564
- SDK_LANGUAGE: string;
565
- RETRY_AT: string;
566
- RETRY_DELAY: string;
567
- RETRY_COUNT: string;
568
- LINK_TITLE: string;
569
- IDEMPOTENCY_KEY: string;
570
- USAGE_DURATION_MS: string;
571
- USAGE_COST_IN_CENTS: string;
572
- RATE_LIMIT_LIMIT: string;
573
- RATE_LIMIT_REMAINING: string;
574
- RATE_LIMIT_RESET: string;
575
- };
576
-
577
497
  declare class TaskCatalogAPI {
578
498
  #private;
579
499
  private static _instance?;
@@ -593,73 +513,8 @@ declare class TaskCatalogAPI {
593
513
  /** Entrypoint for runtime API */
594
514
  declare const taskCatalog: TaskCatalogAPI;
595
515
 
596
- declare const NULL_SENTINEL = "$@null((";
597
- declare function flattenAttributes(obj: Record<string, unknown> | Array<unknown> | string | boolean | number | null | undefined, prefix?: string): Attributes;
598
- declare function unflattenAttributes(obj: Attributes): Record<string, unknown> | string | number | boolean | null | undefined;
599
- declare function primitiveValueOrflattenedAttributes(obj: Record<string, unknown> | Array<unknown> | string | boolean | number | undefined, prefix: string | undefined): Attributes | string | number | boolean | undefined;
600
-
601
- declare function omit<T extends Record<string, any>, K extends keyof T>(obj: T, ...keys: K[]): Omit<T, K>;
602
-
603
- declare const defaultRetryOptions: {
604
- maxAttempts: number;
605
- factor: number;
606
- minTimeoutInMs: number;
607
- maxTimeoutInMs: number;
608
- randomize: true;
609
- };
610
- declare const defaultFetchRetryOptions: {
611
- byStatus: {
612
- "429,408,409,5xx": {
613
- maxAttempts: number;
614
- factor: number;
615
- minTimeoutInMs: number;
616
- maxTimeoutInMs: number;
617
- randomize: true;
618
- strategy: "backoff";
619
- };
620
- };
621
- connectionError: {
622
- maxAttempts: number;
623
- factor: number;
624
- minTimeoutInMs: number;
625
- maxTimeoutInMs: number;
626
- randomize: true;
627
- };
628
- timeout: {
629
- maxAttempts: number;
630
- factor: number;
631
- minTimeoutInMs: number;
632
- maxTimeoutInMs: number;
633
- randomize: true;
634
- };
635
- };
636
- /**
637
- *
638
- * @param options
639
- * @param attempt - The current attempt number. If the first attempt has failed, this will be 1.
640
- * @returns
641
- */
642
- declare function calculateNextRetryDelay(options: RetryOptions, attempt: number): number | undefined;
643
- declare function calculateResetAt(resets: string | undefined | null, format: "unix_timestamp" | "iso_8601" | "iso_8601_duration_openai_variant" | "unix_timestamp_in_ms", now?: number): number | undefined;
644
-
645
516
  declare function accessoryAttributes(accessory: Accessory): Attributes;
646
517
 
647
518
  declare function detectDependencyVersion(dependency: string): string | undefined;
648
519
 
649
- type IOPacket = {
650
- data?: string | undefined;
651
- dataType: string;
652
- };
653
- declare function parsePacket(value: IOPacket): Promise<any>;
654
- declare function stringifyIO(value: any): Promise<IOPacket>;
655
- declare function conditionallyExportPacket(packet: IOPacket, pathPrefix: string, tracer?: TriggerTracer): Promise<IOPacket>;
656
- declare function packetRequiresOffloading(packet: IOPacket, lengthLimit?: number): {
657
- needsOffloading: boolean;
658
- size: number;
659
- };
660
- declare function conditionallyImportPacket(packet: IOPacket, tracer?: TriggerTracer): Promise<IOPacket>;
661
- declare function createPacketAttributes(packet: IOPacket, dataKey: string, dataTypeKey: string): Promise<Attributes | undefined>;
662
- declare function createPacketAttributesAsJson(data: any, dataType: string): Promise<Attributes>;
663
- declare function prettyPrintPacket(rawData: any, dataType?: string): Promise<string>;
664
-
665
- export { AbortTaskRunError, Accessory, ApiClient, type ApiClientConfiguration, ApiPromise, ApiRequestOptions, BackgroundWorkerProperties, BatchTaskRunExecutionResult, BatchTriggerTaskRequestBody, type CreateEnvironmentVariableParams, CreateEnvironmentVariableRequestBody, CreateScheduleOptions, CursorPageParams, CursorPagePromise, type IOPacket, type ImportEnvironmentVariablesParams, type ListProjectRunsQueryParams, ListRunResponseItem, type ListRunsQueryParams, ListScheduleOptions, 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, RescheduleRunRequestBody, RetryOptions, RunStatus, SemanticInternalAttributes, SerializedError, TaskFileMetadata, TaskMetadataWithFilePath, TaskMetadataWithFunctions, TaskRunContext, TaskRunError, TaskRunExecutionResult, type TriggerOptions, TriggerTaskRequestBody, TriggerTracer, type UpdateEnvironmentVariableParams, UpdateEnvironmentVariableRequestBody, UpdateScheduleOptions, accessoryAttributes, apiClientManager, calculateNextRetryDelay, calculateResetAt, clock, conditionallyExportPacket, conditionallyImportPacket, correctErrorStackTrace, createErrorTaskError, createJsonErrorObject, createPacketAttributes, createPacketAttributesAsJson, defaultFetchRetryOptions, defaultRetryOptions, detectDependencyVersion, flattenAttributes, groupTaskMetadataIssuesByTask, imposeAttributeLimits, logger, mergeRequestOptions, omit, packetRequiresOffloading, parseError, parsePacket, prettyPrintPacket, primitiveValueOrflattenedAttributes, runtime, sanitizeError, stringifyIO, taskCatalog, taskContext, unflattenAttributes };
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 };