@trigger.dev/core 0.0.0-v3-prerelease-20240427071154 → 0.0.0-v3-prerelease-20240501131706
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-XNyNDUOF.d.ts +2496 -0
- package/dist/catalog-g2Qc0Ukb.d.mts +2496 -0
- package/dist/{catalog-KJXg8k3W.d.ts → messages-vq7Bk4Ap.d.mts} +6725 -554
- package/dist/{catalog-PA64uhhi.d.mts → messages-vq7Bk4Ap.d.ts} +6725 -554
- package/dist/v3/dev/index.d.mts +1 -1
- package/dist/v3/dev/index.d.ts +1 -1
- package/dist/v3/dev/index.js.map +1 -1
- package/dist/v3/dev/index.mjs.map +1 -1
- package/dist/v3/index.d.mts +35 -44
- package/dist/v3/index.d.ts +35 -44
- package/dist/v3/index.js +367 -341
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/index.mjs +367 -341
- package/dist/v3/index.mjs.map +1 -1
- package/dist/v3/otel/index.js +14 -3
- package/dist/v3/otel/index.js.map +1 -1
- package/dist/v3/otel/index.mjs +14 -3
- package/dist/v3/otel/index.mjs.map +1 -1
- package/dist/v3/prod/index.d.mts +5 -5
- package/dist/v3/prod/index.d.ts +5 -5
- package/dist/v3/prod/index.js +36 -12
- package/dist/v3/prod/index.js.map +1 -1
- package/dist/v3/prod/index.mjs +37 -13
- package/dist/v3/prod/index.mjs.map +1 -1
- package/dist/v3/workers/index.d.mts +5 -5
- package/dist/v3/workers/index.d.ts +5 -5
- package/dist/v3/workers/index.js +60 -238
- package/dist/v3/workers/index.js.map +1 -1
- package/dist/v3/workers/index.mjs +60 -238
- package/dist/v3/workers/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/messages-AriaDDm0.d.mts +0 -8696
- package/dist/messages-AriaDDm0.d.ts +0 -8696
- package/dist/{manager-M9GLDnhJ.d.mts → manager-WNMVbgHf.d.mts} +40 -40
- package/dist/{manager-M9GLDnhJ.d.ts → manager-WNMVbgHf.d.ts} +40 -40
package/dist/v3/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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 { P as Prettify, C as Clock, a as ClockTime, T as TaskLogger, b as TaskCatalog, c as TaskMetadataWithFunctions, d as TriggerTracer } from '../catalog-
|
|
5
|
-
export {
|
|
2
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunError, b as TaskRunContext, R as RuntimeManager } from '../manager-WNMVbgHf.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-WNMVbgHf.js';
|
|
4
|
+
import { P as Prettify, C as Clock, a as ClockTime, T as TaskLogger, b as TaskCatalog, c as TaskMetadataWithFunctions, d as TaskFileMetadata, e as TaskMetadataWithFilePath, R as RetryOptions, f as TriggerTracer } from '../catalog-XNyNDUOF.js';
|
|
5
|
+
export { p as Config, v as Context, E as EnvironmentType, x as FailureFnParams, F as FixedWindowRateLimit, A as HandleErrorArgs, H as HandleErrorFnParams, B as HandleErrorFunction, y as HandleErrorModificationOptions, z as HandleErrorResult, t as InitFnParams, I as InitOutput, L as LogLevel, h as Machine, M as MachineCpu, g as MachineMemory, s as MiddlewareFnParams, n as PostStartCauses, o as PreStopCauses, j as ProdTaskRunExecution, k as ProdTaskRunExecutionPayload, G as ProjectConfig, Q as QueueOptions, l as RateLimitOptions, D as RequireKeys, q as ResolvedConfig, r as RunFnParams, S as SlidingWindowRateLimit, u as StartFnParams, w as SuccessFnParams, m as TaskMetadata, i as TaskRunExecutionPayload, W as WaitReason } from '../catalog-XNyNDUOF.js';
|
|
6
6
|
import { Attributes, Span } from '@opentelemetry/api';
|
|
7
|
-
import { B as BackgroundWorkerProperties
|
|
8
|
-
export {
|
|
7
|
+
import { B as BackgroundWorkerProperties } from '../messages-vq7Bk4Ap.js';
|
|
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-vq7Bk4Ap.js';
|
|
9
9
|
import { Unit } from 'humanize-duration';
|
|
10
10
|
export { e as eventFilterMatches } from '../eventFilterMatches-2kHImluE.js';
|
|
11
11
|
import '@opentelemetry/api-logs';
|
|
@@ -91,9 +91,9 @@ declare const GetProjectResponseBody: z.ZodObject<{
|
|
|
91
91
|
title: string;
|
|
92
92
|
}>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
name: string;
|
|
95
94
|
id: string;
|
|
96
95
|
createdAt: Date;
|
|
96
|
+
name: string;
|
|
97
97
|
slug: string;
|
|
98
98
|
organization: {
|
|
99
99
|
id: string;
|
|
@@ -103,9 +103,9 @@ declare const GetProjectResponseBody: z.ZodObject<{
|
|
|
103
103
|
};
|
|
104
104
|
externalRef: string;
|
|
105
105
|
}, {
|
|
106
|
-
name: string;
|
|
107
106
|
id: string;
|
|
108
107
|
createdAt: Date;
|
|
108
|
+
name: string;
|
|
109
109
|
slug: string;
|
|
110
110
|
organization: {
|
|
111
111
|
id: string;
|
|
@@ -139,9 +139,9 @@ declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
139
139
|
title: string;
|
|
140
140
|
}>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
|
-
name: string;
|
|
143
142
|
id: string;
|
|
144
143
|
createdAt: Date;
|
|
144
|
+
name: string;
|
|
145
145
|
slug: string;
|
|
146
146
|
organization: {
|
|
147
147
|
id: string;
|
|
@@ -151,9 +151,9 @@ declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
151
151
|
};
|
|
152
152
|
externalRef: string;
|
|
153
153
|
}, {
|
|
154
|
-
name: string;
|
|
155
154
|
id: string;
|
|
156
155
|
createdAt: Date;
|
|
156
|
+
name: string;
|
|
157
157
|
slug: string;
|
|
158
158
|
organization: {
|
|
159
159
|
id: string;
|
|
@@ -190,7 +190,7 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
190
190
|
exportName: z.ZodString;
|
|
191
191
|
queue: z.ZodOptional<z.ZodObject<{
|
|
192
192
|
name: z.ZodOptional<z.ZodString>;
|
|
193
|
-
concurrencyLimit: z.ZodOptional<z.ZodNumber>;
|
|
193
|
+
concurrencyLimit: z.ZodOptional<z.ZodNumber>;
|
|
194
194
|
rateLimit: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
195
195
|
type: z.ZodLiteral<"fixed-window">;
|
|
196
196
|
limit: z.ZodNumber;
|
|
@@ -516,8 +516,8 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
516
516
|
triggerSource?: string | undefined;
|
|
517
517
|
}>, "many">;
|
|
518
518
|
}, "strip", z.ZodTypeAny, {
|
|
519
|
-
contentHash: string;
|
|
520
519
|
packageVersion: string;
|
|
520
|
+
contentHash: string;
|
|
521
521
|
tasks: {
|
|
522
522
|
id: string;
|
|
523
523
|
filePath: string;
|
|
@@ -575,8 +575,8 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
575
575
|
}[];
|
|
576
576
|
cliPackageVersion?: string | undefined;
|
|
577
577
|
}, {
|
|
578
|
-
contentHash: string;
|
|
579
578
|
packageVersion: string;
|
|
579
|
+
contentHash: string;
|
|
580
580
|
tasks: {
|
|
581
581
|
id: string;
|
|
582
582
|
filePath: string;
|
|
@@ -635,9 +635,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
635
635
|
cliPackageVersion?: string | undefined;
|
|
636
636
|
}>;
|
|
637
637
|
}, "strip", z.ZodTypeAny, {
|
|
638
|
+
localOnly: boolean;
|
|
638
639
|
metadata: {
|
|
639
|
-
contentHash: string;
|
|
640
640
|
packageVersion: string;
|
|
641
|
+
contentHash: string;
|
|
641
642
|
tasks: {
|
|
642
643
|
id: string;
|
|
643
644
|
filePath: string;
|
|
@@ -695,11 +696,11 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
695
696
|
}[];
|
|
696
697
|
cliPackageVersion?: string | undefined;
|
|
697
698
|
};
|
|
698
|
-
localOnly: boolean;
|
|
699
699
|
}, {
|
|
700
|
+
localOnly: boolean;
|
|
700
701
|
metadata: {
|
|
701
|
-
contentHash: string;
|
|
702
702
|
packageVersion: string;
|
|
703
|
+
contentHash: string;
|
|
703
704
|
tasks: {
|
|
704
705
|
id: string;
|
|
705
706
|
filePath: string;
|
|
@@ -757,7 +758,6 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
757
758
|
}[];
|
|
758
759
|
cliPackageVersion?: string | undefined;
|
|
759
760
|
};
|
|
760
|
-
localOnly: boolean;
|
|
761
761
|
}>;
|
|
762
762
|
type CreateBackgroundWorkerRequestBody = z.infer<typeof CreateBackgroundWorkerRequestBody>;
|
|
763
763
|
declare const CreateBackgroundWorkerResponse: z.ZodObject<{
|
|
@@ -783,7 +783,7 @@ declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
783
783
|
lockToVersion: z.ZodOptional<z.ZodString>;
|
|
784
784
|
queue: z.ZodOptional<z.ZodObject<{
|
|
785
785
|
name: z.ZodOptional<z.ZodString>;
|
|
786
|
-
concurrencyLimit: z.ZodOptional<z.ZodNumber>;
|
|
786
|
+
concurrencyLimit: z.ZodOptional<z.ZodNumber>;
|
|
787
787
|
rateLimit: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
788
788
|
type: z.ZodLiteral<"fixed-window">;
|
|
789
789
|
limit: z.ZodNumber;
|
|
@@ -1179,7 +1179,7 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1179
1179
|
lockToVersion: z.ZodOptional<z.ZodString>;
|
|
1180
1180
|
queue: z.ZodOptional<z.ZodObject<{
|
|
1181
1181
|
name: z.ZodOptional<z.ZodString>;
|
|
1182
|
-
concurrencyLimit: z.ZodOptional<z.ZodNumber>;
|
|
1182
|
+
concurrencyLimit: z.ZodOptional<z.ZodNumber>;
|
|
1183
1183
|
rateLimit: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1184
1184
|
type: z.ZodLiteral<"fixed-window">;
|
|
1185
1185
|
limit: z.ZodNumber;
|
|
@@ -1667,11 +1667,11 @@ declare const BatchTriggerTaskResponse: z.ZodObject<{
|
|
|
1667
1667
|
batchId: z.ZodString;
|
|
1668
1668
|
runs: z.ZodArray<z.ZodString, "many">;
|
|
1669
1669
|
}, "strip", z.ZodTypeAny, {
|
|
1670
|
-
runs: string[];
|
|
1671
1670
|
batchId: string;
|
|
1672
|
-
}, {
|
|
1673
1671
|
runs: string[];
|
|
1672
|
+
}, {
|
|
1674
1673
|
batchId: string;
|
|
1674
|
+
runs: string[];
|
|
1675
1675
|
}>;
|
|
1676
1676
|
type BatchTriggerTaskResponse = z.infer<typeof BatchTriggerTaskResponse>;
|
|
1677
1677
|
declare const GetBatchResponseBody: z.ZodObject<{
|
|
@@ -1715,13 +1715,10 @@ declare const GetEnvironmentVariablesResponseBody: z.ZodObject<{
|
|
|
1715
1715
|
type GetEnvironmentVariablesResponseBody = z.infer<typeof GetEnvironmentVariablesResponseBody>;
|
|
1716
1716
|
declare const StartDeploymentIndexingRequestBody: z.ZodObject<{
|
|
1717
1717
|
imageReference: z.ZodString;
|
|
1718
|
-
selfHosted: z.ZodOptional<z.ZodBoolean>;
|
|
1719
1718
|
}, "strip", z.ZodTypeAny, {
|
|
1720
1719
|
imageReference: string;
|
|
1721
|
-
selfHosted?: boolean | undefined;
|
|
1722
1720
|
}, {
|
|
1723
1721
|
imageReference: string;
|
|
1724
|
-
selfHosted?: boolean | undefined;
|
|
1725
1722
|
}>;
|
|
1726
1723
|
type StartDeploymentIndexingRequestBody = z.infer<typeof StartDeploymentIndexingRequestBody>;
|
|
1727
1724
|
declare const StartDeploymentIndexingResponseBody: z.ZodObject<{
|
|
@@ -1740,13 +1737,13 @@ declare const ExternalBuildData: z.ZodObject<{
|
|
|
1740
1737
|
buildToken: z.ZodString;
|
|
1741
1738
|
projectId: z.ZodString;
|
|
1742
1739
|
}, "strip", z.ZodTypeAny, {
|
|
1743
|
-
projectId: string;
|
|
1744
1740
|
buildId: string;
|
|
1745
1741
|
buildToken: string;
|
|
1746
|
-
}, {
|
|
1747
1742
|
projectId: string;
|
|
1743
|
+
}, {
|
|
1748
1744
|
buildId: string;
|
|
1749
1745
|
buildToken: string;
|
|
1746
|
+
projectId: string;
|
|
1750
1747
|
}>;
|
|
1751
1748
|
type ExternalBuildData = z.infer<typeof ExternalBuildData>;
|
|
1752
1749
|
declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
@@ -1760,13 +1757,13 @@ declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
1760
1757
|
buildToken: z.ZodString;
|
|
1761
1758
|
projectId: z.ZodString;
|
|
1762
1759
|
}, "strip", z.ZodTypeAny, {
|
|
1763
|
-
projectId: string;
|
|
1764
1760
|
buildId: string;
|
|
1765
1761
|
buildToken: string;
|
|
1766
|
-
}, {
|
|
1767
1762
|
projectId: string;
|
|
1763
|
+
}, {
|
|
1768
1764
|
buildId: string;
|
|
1769
1765
|
buildToken: string;
|
|
1766
|
+
projectId: string;
|
|
1770
1767
|
}>>>;
|
|
1771
1768
|
registryHost: z.ZodOptional<z.ZodString>;
|
|
1772
1769
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1776,9 +1773,9 @@ declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
1776
1773
|
imageTag: string;
|
|
1777
1774
|
shortCode: string;
|
|
1778
1775
|
externalBuildData?: {
|
|
1779
|
-
projectId: string;
|
|
1780
1776
|
buildId: string;
|
|
1781
1777
|
buildToken: string;
|
|
1778
|
+
projectId: string;
|
|
1782
1779
|
} | null | undefined;
|
|
1783
1780
|
registryHost?: string | undefined;
|
|
1784
1781
|
}, {
|
|
@@ -1788,9 +1785,9 @@ declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
1788
1785
|
imageTag: string;
|
|
1789
1786
|
shortCode: string;
|
|
1790
1787
|
externalBuildData?: {
|
|
1791
|
-
projectId: string;
|
|
1792
1788
|
buildId: string;
|
|
1793
1789
|
buildToken: string;
|
|
1790
|
+
projectId: string;
|
|
1794
1791
|
} | null | undefined;
|
|
1795
1792
|
registryHost?: string | undefined;
|
|
1796
1793
|
}>;
|
|
@@ -2948,8 +2945,8 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
2948
2945
|
triggerSource?: string | undefined;
|
|
2949
2946
|
}>, "many">;
|
|
2950
2947
|
}, "strip", z.ZodTypeAny, {
|
|
2951
|
-
contentHash: string;
|
|
2952
2948
|
packageVersion: string;
|
|
2949
|
+
contentHash: string;
|
|
2953
2950
|
tasks: {
|
|
2954
2951
|
id: string;
|
|
2955
2952
|
filePath: string;
|
|
@@ -3007,8 +3004,8 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
3007
3004
|
}[];
|
|
3008
3005
|
cliPackageVersion?: string | undefined;
|
|
3009
3006
|
}, {
|
|
3010
|
-
contentHash: string;
|
|
3011
3007
|
packageVersion: string;
|
|
3008
|
+
contentHash: string;
|
|
3012
3009
|
tasks: {
|
|
3013
3010
|
id: string;
|
|
3014
3011
|
filePath: string;
|
|
@@ -3454,6 +3451,7 @@ declare const FetchTimeoutOptions: z.ZodObject<{
|
|
|
3454
3451
|
durationInMs: z.ZodOptional<z.ZodNumber>;
|
|
3455
3452
|
retry: z.ZodOptional<z.ZodObject<{
|
|
3456
3453
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
3454
|
+
/** The timeout options for the request. */
|
|
3457
3455
|
factor: z.ZodOptional<z.ZodNumber>;
|
|
3458
3456
|
minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
3459
3457
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3570,6 +3568,7 @@ declare const FetchRetryOptions: z.ZodObject<{
|
|
|
3570
3568
|
*/
|
|
3571
3569
|
connectionError: z.ZodOptional<z.ZodObject<{
|
|
3572
3570
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
3571
|
+
/** The timeout options for the request. */
|
|
3573
3572
|
factor: z.ZodOptional<z.ZodNumber>;
|
|
3574
3573
|
minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
3575
3574
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3968,8 +3967,8 @@ declare class ApiClient {
|
|
|
3968
3967
|
id: string;
|
|
3969
3968
|
}>;
|
|
3970
3969
|
batchTriggerTask(taskId: string, body: BatchTriggerTaskRequestBody, options?: TriggerOptions): Promise<{
|
|
3971
|
-
runs: string[];
|
|
3972
3970
|
batchId: string;
|
|
3971
|
+
runs: string[];
|
|
3973
3972
|
}>;
|
|
3974
3973
|
createUploadPayloadUrl(filename: string): Promise<{
|
|
3975
3974
|
presignedUrl: string;
|
|
@@ -4174,15 +4173,6 @@ declare const clock: ClockAPI;
|
|
|
4174
4173
|
|
|
4175
4174
|
declare function parseError(error: unknown): TaskRunError;
|
|
4176
4175
|
declare function createErrorTaskError(error: TaskRunError): any;
|
|
4177
|
-
declare function createJsonErrorObject(error: TaskRunError): {
|
|
4178
|
-
name: string;
|
|
4179
|
-
message: string;
|
|
4180
|
-
stackTrace: string;
|
|
4181
|
-
} | {
|
|
4182
|
-
message: string;
|
|
4183
|
-
name?: undefined;
|
|
4184
|
-
stackTrace?: undefined;
|
|
4185
|
-
};
|
|
4186
4176
|
declare function correctErrorStackTrace(stackTrace: string, projectDir?: string, options?: {
|
|
4187
4177
|
removeFirstLine?: boolean;
|
|
4188
4178
|
}): string;
|
|
@@ -4348,8 +4338,9 @@ declare function formatDurationNanoseconds(nanoseconds: number, options?: Durati
|
|
|
4348
4338
|
declare function formatDurationMilliseconds(milliseconds: number, options?: DurationOptions): string;
|
|
4349
4339
|
declare function formatDurationInDays(milliseconds: number): string;
|
|
4350
4340
|
|
|
4341
|
+
declare const NULL_SENTINEL = "$@null((";
|
|
4351
4342
|
declare function flattenAttributes(obj: Record<string, unknown> | Array<unknown> | string | boolean | number | null | undefined, prefix?: string): Attributes;
|
|
4352
|
-
declare function unflattenAttributes(obj: Attributes): Record<string, unknown
|
|
4343
|
+
declare function unflattenAttributes(obj: Attributes): Record<string, unknown> | string | number | boolean | null | undefined;
|
|
4353
4344
|
declare function primitiveValueOrflattenedAttributes(obj: Record<string, unknown> | Array<unknown> | string | boolean | number | undefined, prefix: string | undefined): Attributes | string | number | boolean | undefined;
|
|
4354
4345
|
|
|
4355
4346
|
declare function omit<T extends Record<string, any>, K extends keyof T>(obj: T, ...keys: K[]): Omit<T, K>;
|
|
@@ -4416,4 +4407,4 @@ declare function createPacketAttributes(packet: IOPacket, dataKey: string, dataT
|
|
|
4416
4407
|
declare function createPacketAttributesAsJson(data: any, dataType: string): Promise<Attributes>;
|
|
4417
4408
|
declare function prettyPrintPacket(rawData: any, dataType?: string): Promise<string>;
|
|
4418
4409
|
|
|
4419
|
-
export { APIConnectionError, APIError, type APIHeaders, Accessory, ApiClient, ApiClientManager, 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, 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, RetryOptions, 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,
|
|
4410
|
+
export { APIConnectionError, APIError, type APIHeaders, Accessory, ApiClient, ApiClientManager, 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, RetryOptions, 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, 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 };
|