@trigger.dev/core 3.0.0-beta.33 → 3.0.0-beta.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalog-BUwiuDbt.d.mts +202 -0
- package/dist/catalog-eKgqBHUA.d.ts +202 -0
- package/dist/index.d.mts +60 -1
- package/dist/index.d.ts +60 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{manager-WNMVbgHf.d.mts → manager-uPyMRN8k.d.mts} +24 -23
- package/dist/{manager-WNMVbgHf.d.ts → manager-uPyMRN8k.d.ts} +24 -23
- package/dist/{messages-vq7Bk4Ap.d.mts → messages-l9PdIyKF.d.mts} +4975 -1072
- package/dist/{messages-vq7Bk4Ap.d.ts → messages-l9PdIyKF.d.ts} +4975 -1072
- package/dist/{catalog-KbyTBoap.d.ts → schemas-b8tRw8dX.d.mts} +21 -186
- package/dist/{catalog-ck7x04PV.d.mts → schemas-b8tRw8dX.d.ts} +21 -186
- package/dist/v3/dev/index.d.mts +2 -2
- package/dist/v3/dev/index.d.ts +2 -2
- package/dist/v3/dev/index.js +4 -4
- package/dist/v3/dev/index.js.map +1 -1
- package/dist/v3/dev/index.mjs +4 -4
- package/dist/v3/dev/index.mjs.map +1 -1
- package/dist/v3/index.d.mts +121 -7
- package/dist/v3/index.d.ts +121 -7
- package/dist/v3/index.js +735 -352
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/index.mjs +728 -353
- package/dist/v3/index.mjs.map +1 -1
- package/dist/v3/otel/index.js +5 -1
- package/dist/v3/otel/index.js.map +1 -1
- package/dist/v3/otel/index.mjs +5 -1
- package/dist/v3/otel/index.mjs.map +1 -1
- package/dist/v3/prod/index.d.mts +3 -3
- package/dist/v3/prod/index.d.ts +3 -3
- package/dist/v3/prod/index.js +90 -15
- package/dist/v3/prod/index.js.map +1 -1
- package/dist/v3/prod/index.mjs +90 -15
- package/dist/v3/prod/index.mjs.map +1 -1
- package/dist/v3/workers/index.d.mts +6 -5
- package/dist/v3/workers/index.d.ts +6 -5
- package/dist/v3/workers/index.js +204 -9
- package/dist/v3/workers/index.js.map +1 -1
- package/dist/v3/workers/index.mjs +204 -9
- package/dist/v3/workers/index.mjs.map +1 -1
- package/dist/v3/zodMessageHandler.d.mts +1 -1
- package/dist/v3/zodMessageHandler.d.ts +1 -1
- package/dist/v3/zodNamespace.js +16 -6
- package/dist/v3/zodNamespace.js.map +1 -1
- package/dist/v3/zodNamespace.mjs +17 -7
- package/dist/v3/zodNamespace.mjs.map +1 -1
- package/dist/v3/zodSocket.js +16 -6
- package/dist/v3/zodSocket.js.map +1 -1
- package/dist/v3/zodSocket.mjs +17 -7
- package/dist/v3/zodSocket.mjs.map +1 -1
- package/dist/v3/zodfetch.d.mts +78 -0
- package/dist/v3/zodfetch.d.ts +78 -0
- package/dist/v3/zodfetch.js +446 -0
- package/dist/v3/zodfetch.js.map +1 -0
- package/dist/v3/zodfetch.mjs +433 -0
- package/dist/v3/zodfetch.mjs.map +1 -0
- package/package.json +13 -4
package/dist/v3/index.d.mts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunError, b as TaskRunContext, R as RuntimeManager } from '../manager-
|
|
3
|
-
export { h as TaskRun, c as TaskRunBuiltInError, d as TaskRunCustomErrorObject, f as TaskRunErrorCodes, p as TaskRunExecution, j as TaskRunExecutionAttempt, o as TaskRunExecutionBatch, k as TaskRunExecutionEnvironment, l as TaskRunExecutionOrganization, m as TaskRunExecutionProject, n as TaskRunExecutionQueue, q as TaskRunExecutionRetry, i as TaskRunExecutionTask, r as TaskRunFailedExecutionResult, g as TaskRunInternalError, e as TaskRunStringError, s as TaskRunSuccessfulExecutionResult } from '../manager-
|
|
4
|
-
import {
|
|
5
|
-
|
|
2
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunError, b as TaskRunContext, R as RuntimeManager } from '../manager-uPyMRN8k.mjs';
|
|
3
|
+
export { h as TaskRun, c as TaskRunBuiltInError, d as TaskRunCustomErrorObject, f as TaskRunErrorCodes, p as TaskRunExecution, j as TaskRunExecutionAttempt, o as TaskRunExecutionBatch, k as TaskRunExecutionEnvironment, l as TaskRunExecutionOrganization, m as TaskRunExecutionProject, n as TaskRunExecutionQueue, q as TaskRunExecutionRetry, i as TaskRunExecutionTask, r as TaskRunFailedExecutionResult, g as TaskRunInternalError, e as TaskRunStringError, s as TaskRunSuccessfulExecutionResult } from '../manager-uPyMRN8k.mjs';
|
|
4
|
+
import { Uploadable, BlobLikePart } from './zodfetch.mjs';
|
|
5
|
+
import { C as Clock, a as ClockTime, T as TaskLogger, b as TaskCatalog, c as TaskMetadataWithFunctions, d as TriggerTracer } from '../catalog-BUwiuDbt.mjs';
|
|
6
|
+
export { f as Context, F as FailureFnParams, j as HandleErrorArgs, H as HandleErrorFnParams, k as HandleErrorFunction, h as HandleErrorModificationOptions, i as HandleErrorResult, e as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, P as ProjectConfig, n as ResolveEnvironmentVariablesFunction, m as ResolveEnvironmentVariablesParams, l as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, g as SuccessFnParams } from '../catalog-BUwiuDbt.mjs';
|
|
6
7
|
import { Attributes, Span } from '@opentelemetry/api';
|
|
7
|
-
import { B as BackgroundWorkerProperties } from '../messages-
|
|
8
|
-
export { b as BackgroundWorkerClientMessages, a as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, P as ProdChildToWorkerMessages, l as ProdWorkerSocketData, e as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, d as childToWorkerMessages, c as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-
|
|
8
|
+
import { B as BackgroundWorkerProperties } from '../messages-l9PdIyKF.mjs';
|
|
9
|
+
export { b as BackgroundWorkerClientMessages, a as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, P as ProdChildToWorkerMessages, l as ProdWorkerSocketData, e as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, d as childToWorkerMessages, c as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-l9PdIyKF.mjs';
|
|
10
|
+
import { P as Prettify, T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../schemas-b8tRw8dX.mjs';
|
|
11
|
+
export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, c as Machine, M as MachineCpu, b as MachineMemory, i as PostStartCauses, j as PreStopCauses, e as ProdTaskRunExecution, f as ProdTaskRunExecutionPayload, Q as QueueOptions, g as RateLimitOptions, m as RequireKeys, k as ResolvedConfig, S as SlidingWindowRateLimit, h as TaskMetadata, l as TaskRunExecutionLazyAttemptPayload, d as TaskRunExecutionPayload, W as WaitReason } from '../schemas-b8tRw8dX.mjs';
|
|
9
12
|
import { Unit } from 'humanize-duration';
|
|
10
13
|
export { e as eventFilterMatches } from '../eventFilterMatches-2kHImluE.mjs';
|
|
14
|
+
import 'node:stream';
|
|
11
15
|
import '@opentelemetry/api-logs';
|
|
12
16
|
import '@opentelemetry/instrumentation';
|
|
13
17
|
|
|
@@ -634,6 +638,7 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
634
638
|
}[];
|
|
635
639
|
cliPackageVersion?: string | undefined;
|
|
636
640
|
}>;
|
|
641
|
+
supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
|
|
637
642
|
}, "strip", z.ZodTypeAny, {
|
|
638
643
|
localOnly: boolean;
|
|
639
644
|
metadata: {
|
|
@@ -696,6 +701,7 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
696
701
|
}[];
|
|
697
702
|
cliPackageVersion?: string | undefined;
|
|
698
703
|
};
|
|
704
|
+
supportsLazyAttempts?: boolean | undefined;
|
|
699
705
|
}, {
|
|
700
706
|
localOnly: boolean;
|
|
701
707
|
metadata: {
|
|
@@ -758,6 +764,7 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
758
764
|
}[];
|
|
759
765
|
cliPackageVersion?: string | undefined;
|
|
760
766
|
};
|
|
767
|
+
supportsLazyAttempts?: boolean | undefined;
|
|
761
768
|
}>;
|
|
762
769
|
type CreateBackgroundWorkerRequestBody = z.infer<typeof CreateBackgroundWorkerRequestBody>;
|
|
763
770
|
declare const CreateBackgroundWorkerResponse: z.ZodObject<{
|
|
@@ -2347,6 +2354,73 @@ declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2347
2354
|
version?: string | undefined;
|
|
2348
2355
|
}>;
|
|
2349
2356
|
type RetrieveRunResponse = z.infer<typeof RetrieveRunResponse>;
|
|
2357
|
+
declare const CreateEnvironmentVariableRequestBody: z.ZodObject<{
|
|
2358
|
+
name: z.ZodString;
|
|
2359
|
+
value: z.ZodString;
|
|
2360
|
+
}, "strip", z.ZodTypeAny, {
|
|
2361
|
+
value: string;
|
|
2362
|
+
name: string;
|
|
2363
|
+
}, {
|
|
2364
|
+
value: string;
|
|
2365
|
+
name: string;
|
|
2366
|
+
}>;
|
|
2367
|
+
type CreateEnvironmentVariableRequestBody = z.infer<typeof CreateEnvironmentVariableRequestBody>;
|
|
2368
|
+
declare const UpdateEnvironmentVariableRequestBody: z.ZodObject<{
|
|
2369
|
+
value: z.ZodString;
|
|
2370
|
+
}, "strip", z.ZodTypeAny, {
|
|
2371
|
+
value: string;
|
|
2372
|
+
}, {
|
|
2373
|
+
value: string;
|
|
2374
|
+
}>;
|
|
2375
|
+
type UpdateEnvironmentVariableRequestBody = z.infer<typeof UpdateEnvironmentVariableRequestBody>;
|
|
2376
|
+
declare const ImportEnvironmentVariablesRequestBody: z.ZodObject<{
|
|
2377
|
+
variables: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2378
|
+
override: z.ZodOptional<z.ZodBoolean>;
|
|
2379
|
+
}, "strip", z.ZodTypeAny, {
|
|
2380
|
+
variables: Record<string, string>;
|
|
2381
|
+
override?: boolean | undefined;
|
|
2382
|
+
}, {
|
|
2383
|
+
variables: Record<string, string>;
|
|
2384
|
+
override?: boolean | undefined;
|
|
2385
|
+
}>;
|
|
2386
|
+
type ImportEnvironmentVariablesRequestBody = z.infer<typeof ImportEnvironmentVariablesRequestBody>;
|
|
2387
|
+
declare const EnvironmentVariableResponseBody: z.ZodObject<{
|
|
2388
|
+
success: z.ZodBoolean;
|
|
2389
|
+
}, "strip", z.ZodTypeAny, {
|
|
2390
|
+
success: boolean;
|
|
2391
|
+
}, {
|
|
2392
|
+
success: boolean;
|
|
2393
|
+
}>;
|
|
2394
|
+
type EnvironmentVariableResponseBody = z.infer<typeof EnvironmentVariableResponseBody>;
|
|
2395
|
+
declare const EnvironmentVariableValue: z.ZodObject<{
|
|
2396
|
+
value: z.ZodString;
|
|
2397
|
+
}, "strip", z.ZodTypeAny, {
|
|
2398
|
+
value: string;
|
|
2399
|
+
}, {
|
|
2400
|
+
value: string;
|
|
2401
|
+
}>;
|
|
2402
|
+
type EnvironmentVariableValue = z.infer<typeof EnvironmentVariableValue>;
|
|
2403
|
+
declare const EnvironmentVariable: z.ZodObject<{
|
|
2404
|
+
name: z.ZodString;
|
|
2405
|
+
value: z.ZodString;
|
|
2406
|
+
}, "strip", z.ZodTypeAny, {
|
|
2407
|
+
value: string;
|
|
2408
|
+
name: string;
|
|
2409
|
+
}, {
|
|
2410
|
+
value: string;
|
|
2411
|
+
name: string;
|
|
2412
|
+
}>;
|
|
2413
|
+
declare const EnvironmentVariables: z.ZodArray<z.ZodObject<{
|
|
2414
|
+
name: z.ZodString;
|
|
2415
|
+
value: z.ZodString;
|
|
2416
|
+
}, "strip", z.ZodTypeAny, {
|
|
2417
|
+
value: string;
|
|
2418
|
+
name: string;
|
|
2419
|
+
}, {
|
|
2420
|
+
value: string;
|
|
2421
|
+
name: string;
|
|
2422
|
+
}>, "many">;
|
|
2423
|
+
type EnvironmentVariables = z.infer<typeof EnvironmentVariables>;
|
|
2350
2424
|
|
|
2351
2425
|
declare const TaskResource: z.ZodObject<{
|
|
2352
2426
|
id: z.ZodString;
|
|
@@ -4021,6 +4095,26 @@ declare const SpanMessagingEvent: z.ZodObject<{
|
|
|
4021
4095
|
}>;
|
|
4022
4096
|
type SpanMessagingEvent = z.infer<typeof SpanMessagingEvent>;
|
|
4023
4097
|
|
|
4098
|
+
interface ImportEnvironmentVariablesParams {
|
|
4099
|
+
/**
|
|
4100
|
+
* The variables to be imported. If a variable with the same key already exists, it will be overwritten when `override` is `true`.
|
|
4101
|
+
*
|
|
4102
|
+
* There are two ways to specify the variables:
|
|
4103
|
+
*
|
|
4104
|
+
* 1. As a record of key-value pairs. e.g. `{ "key1": "value1", "key2": "value2" }`
|
|
4105
|
+
* 2. As an "uploadable" object in dotenv format. An uploadable can be a Node readable stream, a string, or a Buffer. You can also pass the return value of a `fetch` call.
|
|
4106
|
+
*/
|
|
4107
|
+
variables: Uploadable | BlobLikePart | Record<string, string>;
|
|
4108
|
+
override?: boolean;
|
|
4109
|
+
}
|
|
4110
|
+
interface CreateEnvironmentVariableParams {
|
|
4111
|
+
name: string;
|
|
4112
|
+
value: string;
|
|
4113
|
+
}
|
|
4114
|
+
interface UpdateEnvironmentVariableParams {
|
|
4115
|
+
value: string;
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4024
4118
|
type TriggerOptions = {
|
|
4025
4119
|
spanParentAsLink?: boolean;
|
|
4026
4120
|
};
|
|
@@ -4188,6 +4282,25 @@ declare class ApiClient {
|
|
|
4188
4282
|
deleteSchedule(scheduleId: string): Promise<{
|
|
4189
4283
|
id: string;
|
|
4190
4284
|
}>;
|
|
4285
|
+
listEnvVars(projectRef: string, slug: string): Promise<{
|
|
4286
|
+
value: string;
|
|
4287
|
+
name: string;
|
|
4288
|
+
}[]>;
|
|
4289
|
+
importEnvVars(projectRef: string, slug: string, body: ImportEnvironmentVariablesParams): Promise<{
|
|
4290
|
+
success: boolean;
|
|
4291
|
+
}>;
|
|
4292
|
+
retrieveEnvVar(projectRef: string, slug: string, key: string): Promise<{
|
|
4293
|
+
value: string;
|
|
4294
|
+
}>;
|
|
4295
|
+
createEnvVar(projectRef: string, slug: string, body: CreateEnvironmentVariableRequestBody): Promise<{
|
|
4296
|
+
success: boolean;
|
|
4297
|
+
}>;
|
|
4298
|
+
updateEnvVar(projectRef: string, slug: string, key: string, body: UpdateEnvironmentVariableRequestBody): Promise<{
|
|
4299
|
+
success: boolean;
|
|
4300
|
+
}>;
|
|
4301
|
+
deleteEnvVar(projectRef: string, slug: string, key: string): Promise<{
|
|
4302
|
+
success: boolean;
|
|
4303
|
+
}>;
|
|
4191
4304
|
}
|
|
4192
4305
|
|
|
4193
4306
|
type APIHeaders = Record<string, string | null | undefined>;
|
|
@@ -4259,6 +4372,7 @@ declare function createJsonErrorObject(error: TaskRunError): {
|
|
|
4259
4372
|
};
|
|
4260
4373
|
declare function correctErrorStackTrace(stackTrace: string, projectDir?: string, options?: {
|
|
4261
4374
|
removeFirstLine?: boolean;
|
|
4375
|
+
isDev?: boolean;
|
|
4262
4376
|
}): string;
|
|
4263
4377
|
declare function groupTaskMetadataIssuesByTask(tasks: any, issues: z.ZodIssue[]): Record<number, {
|
|
4264
4378
|
id: any;
|
|
@@ -4511,4 +4625,4 @@ declare function createPacketAttributes(packet: IOPacket, dataKey: string, dataT
|
|
|
4511
4625
|
declare function createPacketAttributesAsJson(data: any, dataType: string): Promise<Attributes>;
|
|
4512
4626
|
declare function prettyPrintPacket(rawData: any, dataType?: string): Promise<string>;
|
|
4513
4627
|
|
|
4514
|
-
export { APIConnectionError, APIError, type APIHeaders, Accessory, ApiClient, type ApiClientConfiguration, AttemptStatus, AuthenticationError, BackgroundWorkerMetadata, BackgroundWorkerProperties, BadRequestError, BatchTaskRunExecutionResult, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, ConflictError, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateScheduleOptions, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, 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, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, InternalServerError, ListScheduleOptions, ListSchedulesResult, NULL_SENTINEL, NotFoundError, 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, PermissionDeniedError, Prettify, RateLimitError, ReplayRunResponse, RetrieveRunResponse, RetryOptions, RunStatus, ScheduleObject, ScheduledTaskPayload, SemanticInternalAttributes, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskFileMetadata, TaskMetadataWithFilePath, TaskMetadataWithFunctions, TaskResource, TaskRunContext, TaskRunError, TaskRunExecutionResult, type TriggerOptions, TriggerTaskRequestBody, TriggerTaskResponse, TriggerTracer, UnprocessableEntityError, 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 };
|
|
4628
|
+
export { APIConnectionError, APIError, type APIHeaders, Accessory, ApiClient, type ApiClientConfiguration, AttemptStatus, AuthenticationError, BackgroundWorkerMetadata, BackgroundWorkerProperties, BadRequestError, BatchTaskRunExecutionResult, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, ConflictError, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, type CreateEnvironmentVariableParams, 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, type IOPacket, ImageDetailsMetadata, type ImportEnvironmentVariablesParams, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, InternalServerError, ListScheduleOptions, ListSchedulesResult, NULL_SENTINEL, NotFoundError, 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, PermissionDeniedError, Prettify, RateLimitError, ReplayRunResponse, RetrieveRunResponse, RetryOptions, RunStatus, ScheduleObject, ScheduledTaskPayload, SemanticInternalAttributes, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskFileMetadata, TaskMetadataWithFilePath, TaskMetadataWithFunctions, TaskResource, TaskRunContext, TaskRunError, TaskRunExecutionResult, type TriggerOptions, TriggerTaskRequestBody, TriggerTaskResponse, TriggerTracer, UnprocessableEntityError, 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 };
|
package/dist/v3/index.d.ts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunError, b as TaskRunContext, R as RuntimeManager } from '../manager-
|
|
3
|
-
export { h as TaskRun, c as TaskRunBuiltInError, d as TaskRunCustomErrorObject, f as TaskRunErrorCodes, p as TaskRunExecution, j as TaskRunExecutionAttempt, o as TaskRunExecutionBatch, k as TaskRunExecutionEnvironment, l as TaskRunExecutionOrganization, m as TaskRunExecutionProject, n as TaskRunExecutionQueue, q as TaskRunExecutionRetry, i as TaskRunExecutionTask, r as TaskRunFailedExecutionResult, g as TaskRunInternalError, e as TaskRunStringError, s as TaskRunSuccessfulExecutionResult } from '../manager-
|
|
4
|
-
import {
|
|
5
|
-
|
|
2
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunError, b as TaskRunContext, R as RuntimeManager } from '../manager-uPyMRN8k.js';
|
|
3
|
+
export { h as TaskRun, c as TaskRunBuiltInError, d as TaskRunCustomErrorObject, f as TaskRunErrorCodes, p as TaskRunExecution, j as TaskRunExecutionAttempt, o as TaskRunExecutionBatch, k as TaskRunExecutionEnvironment, l as TaskRunExecutionOrganization, m as TaskRunExecutionProject, n as TaskRunExecutionQueue, q as TaskRunExecutionRetry, i as TaskRunExecutionTask, r as TaskRunFailedExecutionResult, g as TaskRunInternalError, e as TaskRunStringError, s as TaskRunSuccessfulExecutionResult } from '../manager-uPyMRN8k.js';
|
|
4
|
+
import { Uploadable, BlobLikePart } from './zodfetch.js';
|
|
5
|
+
import { C as Clock, a as ClockTime, T as TaskLogger, b as TaskCatalog, c as TaskMetadataWithFunctions, d as TriggerTracer } from '../catalog-eKgqBHUA.js';
|
|
6
|
+
export { f as Context, F as FailureFnParams, j as HandleErrorArgs, H as HandleErrorFnParams, k as HandleErrorFunction, h as HandleErrorModificationOptions, i as HandleErrorResult, e as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, P as ProjectConfig, n as ResolveEnvironmentVariablesFunction, m as ResolveEnvironmentVariablesParams, l as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, g as SuccessFnParams } from '../catalog-eKgqBHUA.js';
|
|
6
7
|
import { Attributes, Span } from '@opentelemetry/api';
|
|
7
|
-
import { B as BackgroundWorkerProperties } from '../messages-
|
|
8
|
-
export { b as BackgroundWorkerClientMessages, a as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, P as ProdChildToWorkerMessages, l as ProdWorkerSocketData, e as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, d as childToWorkerMessages, c as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-
|
|
8
|
+
import { B as BackgroundWorkerProperties } from '../messages-l9PdIyKF.js';
|
|
9
|
+
export { b as BackgroundWorkerClientMessages, a as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, P as ProdChildToWorkerMessages, l as ProdWorkerSocketData, e as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, d as childToWorkerMessages, c as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-l9PdIyKF.js';
|
|
10
|
+
import { P as Prettify, T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../schemas-b8tRw8dX.js';
|
|
11
|
+
export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, c as Machine, M as MachineCpu, b as MachineMemory, i as PostStartCauses, j as PreStopCauses, e as ProdTaskRunExecution, f as ProdTaskRunExecutionPayload, Q as QueueOptions, g as RateLimitOptions, m as RequireKeys, k as ResolvedConfig, S as SlidingWindowRateLimit, h as TaskMetadata, l as TaskRunExecutionLazyAttemptPayload, d as TaskRunExecutionPayload, W as WaitReason } from '../schemas-b8tRw8dX.js';
|
|
9
12
|
import { Unit } from 'humanize-duration';
|
|
10
13
|
export { e as eventFilterMatches } from '../eventFilterMatches-2kHImluE.js';
|
|
14
|
+
import 'node:stream';
|
|
11
15
|
import '@opentelemetry/api-logs';
|
|
12
16
|
import '@opentelemetry/instrumentation';
|
|
13
17
|
|
|
@@ -634,6 +638,7 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
634
638
|
}[];
|
|
635
639
|
cliPackageVersion?: string | undefined;
|
|
636
640
|
}>;
|
|
641
|
+
supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
|
|
637
642
|
}, "strip", z.ZodTypeAny, {
|
|
638
643
|
localOnly: boolean;
|
|
639
644
|
metadata: {
|
|
@@ -696,6 +701,7 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
696
701
|
}[];
|
|
697
702
|
cliPackageVersion?: string | undefined;
|
|
698
703
|
};
|
|
704
|
+
supportsLazyAttempts?: boolean | undefined;
|
|
699
705
|
}, {
|
|
700
706
|
localOnly: boolean;
|
|
701
707
|
metadata: {
|
|
@@ -758,6 +764,7 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
758
764
|
}[];
|
|
759
765
|
cliPackageVersion?: string | undefined;
|
|
760
766
|
};
|
|
767
|
+
supportsLazyAttempts?: boolean | undefined;
|
|
761
768
|
}>;
|
|
762
769
|
type CreateBackgroundWorkerRequestBody = z.infer<typeof CreateBackgroundWorkerRequestBody>;
|
|
763
770
|
declare const CreateBackgroundWorkerResponse: z.ZodObject<{
|
|
@@ -2347,6 +2354,73 @@ declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2347
2354
|
version?: string | undefined;
|
|
2348
2355
|
}>;
|
|
2349
2356
|
type RetrieveRunResponse = z.infer<typeof RetrieveRunResponse>;
|
|
2357
|
+
declare const CreateEnvironmentVariableRequestBody: z.ZodObject<{
|
|
2358
|
+
name: z.ZodString;
|
|
2359
|
+
value: z.ZodString;
|
|
2360
|
+
}, "strip", z.ZodTypeAny, {
|
|
2361
|
+
value: string;
|
|
2362
|
+
name: string;
|
|
2363
|
+
}, {
|
|
2364
|
+
value: string;
|
|
2365
|
+
name: string;
|
|
2366
|
+
}>;
|
|
2367
|
+
type CreateEnvironmentVariableRequestBody = z.infer<typeof CreateEnvironmentVariableRequestBody>;
|
|
2368
|
+
declare const UpdateEnvironmentVariableRequestBody: z.ZodObject<{
|
|
2369
|
+
value: z.ZodString;
|
|
2370
|
+
}, "strip", z.ZodTypeAny, {
|
|
2371
|
+
value: string;
|
|
2372
|
+
}, {
|
|
2373
|
+
value: string;
|
|
2374
|
+
}>;
|
|
2375
|
+
type UpdateEnvironmentVariableRequestBody = z.infer<typeof UpdateEnvironmentVariableRequestBody>;
|
|
2376
|
+
declare const ImportEnvironmentVariablesRequestBody: z.ZodObject<{
|
|
2377
|
+
variables: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2378
|
+
override: z.ZodOptional<z.ZodBoolean>;
|
|
2379
|
+
}, "strip", z.ZodTypeAny, {
|
|
2380
|
+
variables: Record<string, string>;
|
|
2381
|
+
override?: boolean | undefined;
|
|
2382
|
+
}, {
|
|
2383
|
+
variables: Record<string, string>;
|
|
2384
|
+
override?: boolean | undefined;
|
|
2385
|
+
}>;
|
|
2386
|
+
type ImportEnvironmentVariablesRequestBody = z.infer<typeof ImportEnvironmentVariablesRequestBody>;
|
|
2387
|
+
declare const EnvironmentVariableResponseBody: z.ZodObject<{
|
|
2388
|
+
success: z.ZodBoolean;
|
|
2389
|
+
}, "strip", z.ZodTypeAny, {
|
|
2390
|
+
success: boolean;
|
|
2391
|
+
}, {
|
|
2392
|
+
success: boolean;
|
|
2393
|
+
}>;
|
|
2394
|
+
type EnvironmentVariableResponseBody = z.infer<typeof EnvironmentVariableResponseBody>;
|
|
2395
|
+
declare const EnvironmentVariableValue: z.ZodObject<{
|
|
2396
|
+
value: z.ZodString;
|
|
2397
|
+
}, "strip", z.ZodTypeAny, {
|
|
2398
|
+
value: string;
|
|
2399
|
+
}, {
|
|
2400
|
+
value: string;
|
|
2401
|
+
}>;
|
|
2402
|
+
type EnvironmentVariableValue = z.infer<typeof EnvironmentVariableValue>;
|
|
2403
|
+
declare const EnvironmentVariable: z.ZodObject<{
|
|
2404
|
+
name: z.ZodString;
|
|
2405
|
+
value: z.ZodString;
|
|
2406
|
+
}, "strip", z.ZodTypeAny, {
|
|
2407
|
+
value: string;
|
|
2408
|
+
name: string;
|
|
2409
|
+
}, {
|
|
2410
|
+
value: string;
|
|
2411
|
+
name: string;
|
|
2412
|
+
}>;
|
|
2413
|
+
declare const EnvironmentVariables: z.ZodArray<z.ZodObject<{
|
|
2414
|
+
name: z.ZodString;
|
|
2415
|
+
value: z.ZodString;
|
|
2416
|
+
}, "strip", z.ZodTypeAny, {
|
|
2417
|
+
value: string;
|
|
2418
|
+
name: string;
|
|
2419
|
+
}, {
|
|
2420
|
+
value: string;
|
|
2421
|
+
name: string;
|
|
2422
|
+
}>, "many">;
|
|
2423
|
+
type EnvironmentVariables = z.infer<typeof EnvironmentVariables>;
|
|
2350
2424
|
|
|
2351
2425
|
declare const TaskResource: z.ZodObject<{
|
|
2352
2426
|
id: z.ZodString;
|
|
@@ -4021,6 +4095,26 @@ declare const SpanMessagingEvent: z.ZodObject<{
|
|
|
4021
4095
|
}>;
|
|
4022
4096
|
type SpanMessagingEvent = z.infer<typeof SpanMessagingEvent>;
|
|
4023
4097
|
|
|
4098
|
+
interface ImportEnvironmentVariablesParams {
|
|
4099
|
+
/**
|
|
4100
|
+
* The variables to be imported. If a variable with the same key already exists, it will be overwritten when `override` is `true`.
|
|
4101
|
+
*
|
|
4102
|
+
* There are two ways to specify the variables:
|
|
4103
|
+
*
|
|
4104
|
+
* 1. As a record of key-value pairs. e.g. `{ "key1": "value1", "key2": "value2" }`
|
|
4105
|
+
* 2. As an "uploadable" object in dotenv format. An uploadable can be a Node readable stream, a string, or a Buffer. You can also pass the return value of a `fetch` call.
|
|
4106
|
+
*/
|
|
4107
|
+
variables: Uploadable | BlobLikePart | Record<string, string>;
|
|
4108
|
+
override?: boolean;
|
|
4109
|
+
}
|
|
4110
|
+
interface CreateEnvironmentVariableParams {
|
|
4111
|
+
name: string;
|
|
4112
|
+
value: string;
|
|
4113
|
+
}
|
|
4114
|
+
interface UpdateEnvironmentVariableParams {
|
|
4115
|
+
value: string;
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4024
4118
|
type TriggerOptions = {
|
|
4025
4119
|
spanParentAsLink?: boolean;
|
|
4026
4120
|
};
|
|
@@ -4188,6 +4282,25 @@ declare class ApiClient {
|
|
|
4188
4282
|
deleteSchedule(scheduleId: string): Promise<{
|
|
4189
4283
|
id: string;
|
|
4190
4284
|
}>;
|
|
4285
|
+
listEnvVars(projectRef: string, slug: string): Promise<{
|
|
4286
|
+
value: string;
|
|
4287
|
+
name: string;
|
|
4288
|
+
}[]>;
|
|
4289
|
+
importEnvVars(projectRef: string, slug: string, body: ImportEnvironmentVariablesParams): Promise<{
|
|
4290
|
+
success: boolean;
|
|
4291
|
+
}>;
|
|
4292
|
+
retrieveEnvVar(projectRef: string, slug: string, key: string): Promise<{
|
|
4293
|
+
value: string;
|
|
4294
|
+
}>;
|
|
4295
|
+
createEnvVar(projectRef: string, slug: string, body: CreateEnvironmentVariableRequestBody): Promise<{
|
|
4296
|
+
success: boolean;
|
|
4297
|
+
}>;
|
|
4298
|
+
updateEnvVar(projectRef: string, slug: string, key: string, body: UpdateEnvironmentVariableRequestBody): Promise<{
|
|
4299
|
+
success: boolean;
|
|
4300
|
+
}>;
|
|
4301
|
+
deleteEnvVar(projectRef: string, slug: string, key: string): Promise<{
|
|
4302
|
+
success: boolean;
|
|
4303
|
+
}>;
|
|
4191
4304
|
}
|
|
4192
4305
|
|
|
4193
4306
|
type APIHeaders = Record<string, string | null | undefined>;
|
|
@@ -4259,6 +4372,7 @@ declare function createJsonErrorObject(error: TaskRunError): {
|
|
|
4259
4372
|
};
|
|
4260
4373
|
declare function correctErrorStackTrace(stackTrace: string, projectDir?: string, options?: {
|
|
4261
4374
|
removeFirstLine?: boolean;
|
|
4375
|
+
isDev?: boolean;
|
|
4262
4376
|
}): string;
|
|
4263
4377
|
declare function groupTaskMetadataIssuesByTask(tasks: any, issues: z.ZodIssue[]): Record<number, {
|
|
4264
4378
|
id: any;
|
|
@@ -4511,4 +4625,4 @@ declare function createPacketAttributes(packet: IOPacket, dataKey: string, dataT
|
|
|
4511
4625
|
declare function createPacketAttributesAsJson(data: any, dataType: string): Promise<Attributes>;
|
|
4512
4626
|
declare function prettyPrintPacket(rawData: any, dataType?: string): Promise<string>;
|
|
4513
4627
|
|
|
4514
|
-
export { APIConnectionError, APIError, type APIHeaders, Accessory, ApiClient, type ApiClientConfiguration, AttemptStatus, AuthenticationError, BackgroundWorkerMetadata, BackgroundWorkerProperties, BadRequestError, BatchTaskRunExecutionResult, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, ConflictError, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateScheduleOptions, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, 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, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, InternalServerError, ListScheduleOptions, ListSchedulesResult, NULL_SENTINEL, NotFoundError, 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, PermissionDeniedError, Prettify, RateLimitError, ReplayRunResponse, RetrieveRunResponse, RetryOptions, RunStatus, ScheduleObject, ScheduledTaskPayload, SemanticInternalAttributes, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskFileMetadata, TaskMetadataWithFilePath, TaskMetadataWithFunctions, TaskResource, TaskRunContext, TaskRunError, TaskRunExecutionResult, type TriggerOptions, TriggerTaskRequestBody, TriggerTaskResponse, TriggerTracer, UnprocessableEntityError, 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 };
|
|
4628
|
+
export { APIConnectionError, APIError, type APIHeaders, Accessory, ApiClient, type ApiClientConfiguration, AttemptStatus, AuthenticationError, BackgroundWorkerMetadata, BackgroundWorkerProperties, BadRequestError, BatchTaskRunExecutionResult, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, ConflictError, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, type CreateEnvironmentVariableParams, 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, type IOPacket, ImageDetailsMetadata, type ImportEnvironmentVariablesParams, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, InternalServerError, ListScheduleOptions, ListSchedulesResult, NULL_SENTINEL, NotFoundError, 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, PermissionDeniedError, Prettify, RateLimitError, ReplayRunResponse, RetrieveRunResponse, RetryOptions, RunStatus, ScheduleObject, ScheduledTaskPayload, SemanticInternalAttributes, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskFileMetadata, TaskMetadataWithFilePath, TaskMetadataWithFunctions, TaskResource, TaskRunContext, TaskRunError, TaskRunExecutionResult, type TriggerOptions, TriggerTaskRequestBody, TriggerTaskResponse, TriggerTracer, UnprocessableEntityError, 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 };
|