@trigger.dev/core 0.0.0-v3-prerelease-20240923150540 → 0.0.0-v3-prerelease-20241009112547
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/commonjs/schemas/api.d.ts +8 -8
- package/dist/commonjs/v3/apiClient/core.js +18 -1
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +78 -67
- package/dist/commonjs/v3/apiClient/index.js +7 -2
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/index.d.ts +5 -0
- package/dist/commonjs/v3/apiClientManager/index.js +28 -1
- package/dist/commonjs/v3/apiClientManager/index.js.map +1 -1
- package/dist/commonjs/v3/apps/duration.d.ts +1 -0
- package/dist/commonjs/v3/apps/duration.js +51 -0
- package/dist/commonjs/v3/apps/duration.js.map +1 -0
- package/dist/commonjs/v3/apps/friendlyId.d.ts +1 -0
- package/dist/commonjs/v3/apps/friendlyId.js +9 -0
- package/dist/commonjs/v3/apps/friendlyId.js.map +1 -0
- package/dist/commonjs/v3/apps/index.d.ts +2 -0
- package/dist/commonjs/v3/apps/index.js +2 -0
- package/dist/commonjs/v3/apps/index.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +8 -0
- package/dist/commonjs/v3/errors.d.ts +12 -2
- package/dist/commonjs/v3/errors.js +107 -24
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/index.d.ts +3 -0
- package/dist/commonjs/v3/index.js +5 -1
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/links.d.ts +17 -0
- package/dist/commonjs/v3/links.js +21 -0
- package/dist/commonjs/v3/links.js.map +1 -0
- package/dist/commonjs/v3/run-metadata-api.d.ts +2 -0
- package/dist/commonjs/v3/run-metadata-api.js +8 -0
- package/dist/commonjs/v3/run-metadata-api.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/index.d.ts +15 -0
- package/dist/commonjs/v3/runMetadata/index.js +67 -0
- package/dist/commonjs/v3/runMetadata/index.js.map +1 -0
- package/dist/commonjs/v3/schemas/api.d.ts +387 -290
- package/dist/commonjs/v3/schemas/api.js +15 -1
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +90 -76
- package/dist/commonjs/v3/schemas/common.d.ts +151 -123
- package/dist/commonjs/v3/schemas/common.js +16 -1
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +2710 -2442
- package/dist/commonjs/v3/schemas/messages.js +1 -0
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/resources.d.ts +36 -28
- package/dist/commonjs/v3/schemas/resources.js +1 -0
- package/dist/commonjs/v3/schemas/resources.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +307 -263
- package/dist/commonjs/v3/schemas/schemas.js +1 -0
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/timeout/api.d.ts +11 -0
- package/dist/commonjs/v3/timeout/api.js +38 -0
- package/dist/commonjs/v3/timeout/api.js.map +1 -0
- package/dist/commonjs/v3/timeout/types.d.ts +9 -0
- package/dist/commonjs/v3/timeout/types.js +15 -0
- package/dist/commonjs/v3/timeout/types.js.map +1 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.d.ts +10 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js +32 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -0
- package/dist/commonjs/v3/timeout-api.d.ts +3 -0
- package/dist/commonjs/v3/timeout-api.js +9 -0
- package/dist/commonjs/v3/timeout-api.js.map +1 -0
- package/dist/commonjs/v3/tracer.d.ts +1 -1
- package/dist/commonjs/v3/tracer.js +28 -14
- package/dist/commonjs/v3/tracer.js.map +1 -1
- package/dist/commonjs/v3/types/index.d.ts +10 -0
- package/dist/commonjs/v3/utils/globals.d.ts +4 -0
- package/dist/commonjs/v3/utils/globals.js.map +1 -1
- package/dist/commonjs/v3/utils/structuredLogger.d.ts +1 -0
- package/dist/commonjs/v3/utils/structuredLogger.js +10 -4
- package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -1
- package/dist/commonjs/v3/workers/index.d.ts +1 -0
- package/dist/commonjs/v3/workers/index.js +3 -1
- package/dist/commonjs/v3/workers/index.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.d.ts +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +53 -43
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/v3/zodNamespace.d.ts +1 -0
- package/dist/commonjs/v3/zodNamespace.js +6 -1
- package/dist/commonjs/v3/zodNamespace.js.map +1 -1
- package/dist/commonjs/v3/zodSocket.d.ts +2 -0
- package/dist/commonjs/v3/zodSocket.js +15 -5
- package/dist/commonjs/v3/zodSocket.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/schemas/api.d.ts +8 -8
- package/dist/esm/v3/apiClient/core.js +18 -1
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +78 -67
- package/dist/esm/v3/apiClient/index.js +8 -3
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClientManager/index.d.ts +5 -0
- package/dist/esm/v3/apiClientManager/index.js +26 -0
- package/dist/esm/v3/apiClientManager/index.js.map +1 -1
- package/dist/esm/v3/apps/duration.d.ts +1 -0
- package/dist/esm/v3/apps/duration.js +48 -0
- package/dist/esm/v3/apps/duration.js.map +1 -0
- package/dist/esm/v3/apps/friendlyId.d.ts +1 -0
- package/dist/esm/v3/apps/friendlyId.js +6 -0
- package/dist/esm/v3/apps/friendlyId.js.map +1 -0
- package/dist/esm/v3/apps/index.d.ts +2 -0
- package/dist/esm/v3/apps/index.js +2 -0
- package/dist/esm/v3/apps/index.js.map +1 -1
- package/dist/esm/v3/config.d.ts +8 -0
- package/dist/esm/v3/errors.d.ts +12 -2
- package/dist/esm/v3/errors.js +104 -23
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/index.d.ts +3 -0
- package/dist/esm/v3/index.js +3 -0
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/links.d.ts +17 -0
- package/dist/esm/v3/links.js +18 -0
- package/dist/esm/v3/links.js.map +1 -0
- package/dist/esm/v3/run-metadata-api.d.ts +2 -0
- package/dist/esm/v3/run-metadata-api.js +5 -0
- package/dist/esm/v3/run-metadata-api.js.map +1 -0
- package/dist/esm/v3/runMetadata/index.d.ts +15 -0
- package/dist/esm/v3/runMetadata/index.js +63 -0
- package/dist/esm/v3/runMetadata/index.js.map +1 -0
- package/dist/esm/v3/schemas/api.d.ts +317 -220
- package/dist/esm/v3/schemas/api.js +14 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +160 -146
- package/dist/esm/v3/schemas/common.d.ts +151 -123
- package/dist/esm/v3/schemas/common.js +16 -1
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/fetch.d.ts +14 -14
- package/dist/esm/v3/schemas/messages.d.ts +2909 -2641
- package/dist/esm/v3/schemas/messages.js +2 -1
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/resources.d.ts +30 -22
- package/dist/esm/v3/schemas/resources.js +1 -0
- package/dist/esm/v3/schemas/resources.js.map +1 -1
- package/dist/esm/v3/schemas/schemas.d.ts +387 -343
- package/dist/esm/v3/schemas/schemas.js +1 -0
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/timeout/api.d.ts +11 -0
- package/dist/esm/v3/timeout/api.js +34 -0
- package/dist/esm/v3/timeout/api.js.map +1 -0
- package/dist/esm/v3/timeout/types.d.ts +9 -0
- package/dist/esm/v3/timeout/types.js +11 -0
- package/dist/esm/v3/timeout/types.js.map +1 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.d.ts +10 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.js +28 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -0
- package/dist/esm/v3/timeout-api.d.ts +3 -0
- package/dist/esm/v3/timeout-api.js +6 -0
- package/dist/esm/v3/timeout-api.js.map +1 -0
- package/dist/esm/v3/tracer.d.ts +1 -1
- package/dist/esm/v3/tracer.js +28 -14
- package/dist/esm/v3/tracer.js.map +1 -1
- package/dist/esm/v3/types/index.d.ts +10 -0
- package/dist/esm/v3/utils/globals.d.ts +4 -0
- package/dist/esm/v3/utils/globals.js.map +1 -1
- package/dist/esm/v3/utils/structuredLogger.d.ts +1 -0
- package/dist/esm/v3/utils/structuredLogger.js +10 -4
- package/dist/esm/v3/utils/structuredLogger.js.map +1 -1
- package/dist/esm/v3/workers/index.d.ts +1 -0
- package/dist/esm/v3/workers/index.js +1 -0
- package/dist/esm/v3/workers/index.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.d.ts +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +45 -35
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/v3/zodNamespace.d.ts +1 -0
- package/dist/esm/v3/zodNamespace.js +6 -1
- package/dist/esm/v3/zodNamespace.js.map +1 -1
- package/dist/esm/v3/zodSocket.d.ts +2 -0
- package/dist/esm/v3/zodSocket.js +15 -5
- package/dist/esm/v3/zodSocket.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +2 -1
|
@@ -26,38 +26,38 @@ export declare const GetProjectResponseBody: z.ZodObject<{
|
|
|
26
26
|
createdAt: z.ZodDate;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
id: string;
|
|
29
|
-
title: string;
|
|
30
|
-
slug: string;
|
|
31
29
|
createdAt: Date;
|
|
30
|
+
slug: string;
|
|
31
|
+
title: string;
|
|
32
32
|
}, {
|
|
33
33
|
id: string;
|
|
34
|
-
title: string;
|
|
35
|
-
slug: string;
|
|
36
34
|
createdAt: Date;
|
|
35
|
+
slug: string;
|
|
36
|
+
title: string;
|
|
37
37
|
}>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
name: string;
|
|
40
40
|
id: string;
|
|
41
|
+
createdAt: Date;
|
|
41
42
|
slug: string;
|
|
42
43
|
organization: {
|
|
43
44
|
id: string;
|
|
44
|
-
title: string;
|
|
45
|
-
slug: string;
|
|
46
45
|
createdAt: Date;
|
|
46
|
+
slug: string;
|
|
47
|
+
title: string;
|
|
47
48
|
};
|
|
48
|
-
createdAt: Date;
|
|
49
49
|
externalRef: string;
|
|
50
50
|
}, {
|
|
51
51
|
name: string;
|
|
52
52
|
id: string;
|
|
53
|
+
createdAt: Date;
|
|
53
54
|
slug: string;
|
|
54
55
|
organization: {
|
|
55
56
|
id: string;
|
|
56
|
-
title: string;
|
|
57
|
-
slug: string;
|
|
58
57
|
createdAt: Date;
|
|
58
|
+
slug: string;
|
|
59
|
+
title: string;
|
|
59
60
|
};
|
|
60
|
-
createdAt: Date;
|
|
61
61
|
externalRef: string;
|
|
62
62
|
}>;
|
|
63
63
|
export type GetProjectResponseBody = z.infer<typeof GetProjectResponseBody>;
|
|
@@ -74,38 +74,38 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
74
74
|
createdAt: z.ZodDate;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
76
|
id: string;
|
|
77
|
-
title: string;
|
|
78
|
-
slug: string;
|
|
79
77
|
createdAt: Date;
|
|
78
|
+
slug: string;
|
|
79
|
+
title: string;
|
|
80
80
|
}, {
|
|
81
81
|
id: string;
|
|
82
|
-
title: string;
|
|
83
|
-
slug: string;
|
|
84
82
|
createdAt: Date;
|
|
83
|
+
slug: string;
|
|
84
|
+
title: string;
|
|
85
85
|
}>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
87
|
name: string;
|
|
88
88
|
id: string;
|
|
89
|
+
createdAt: Date;
|
|
89
90
|
slug: string;
|
|
90
91
|
organization: {
|
|
91
92
|
id: string;
|
|
92
|
-
title: string;
|
|
93
|
-
slug: string;
|
|
94
93
|
createdAt: Date;
|
|
94
|
+
slug: string;
|
|
95
|
+
title: string;
|
|
95
96
|
};
|
|
96
|
-
createdAt: Date;
|
|
97
97
|
externalRef: string;
|
|
98
98
|
}, {
|
|
99
99
|
name: string;
|
|
100
100
|
id: string;
|
|
101
|
+
createdAt: Date;
|
|
101
102
|
slug: string;
|
|
102
103
|
organization: {
|
|
103
104
|
id: string;
|
|
104
|
-
title: string;
|
|
105
|
-
slug: string;
|
|
106
105
|
createdAt: Date;
|
|
106
|
+
slug: string;
|
|
107
|
+
title: string;
|
|
107
108
|
};
|
|
108
|
-
createdAt: Date;
|
|
109
109
|
externalRef: string;
|
|
110
110
|
}>, "many">;
|
|
111
111
|
export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
|
|
@@ -116,14 +116,14 @@ export declare const GetProjectEnvResponse: z.ZodObject<{
|
|
|
116
116
|
projectId: z.ZodString;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
118
|
name: string;
|
|
119
|
+
projectId: string;
|
|
119
120
|
apiKey: string;
|
|
120
121
|
apiUrl: string;
|
|
121
|
-
projectId: string;
|
|
122
122
|
}, {
|
|
123
123
|
name: string;
|
|
124
|
+
projectId: string;
|
|
124
125
|
apiKey: string;
|
|
125
126
|
apiUrl: string;
|
|
126
|
-
projectId: string;
|
|
127
127
|
}>;
|
|
128
128
|
export type GetProjectEnvResponse = z.infer<typeof GetProjectEnvResponse>;
|
|
129
129
|
export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
@@ -345,12 +345,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
345
345
|
memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
346
346
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
347
347
|
}, "strip", z.ZodTypeAny, {
|
|
348
|
-
cpu?:
|
|
349
|
-
memory?:
|
|
348
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
349
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
350
350
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
351
351
|
}, {
|
|
352
|
-
cpu?:
|
|
353
|
-
memory?:
|
|
352
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
353
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
354
354
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
355
355
|
}>>;
|
|
356
356
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -364,6 +364,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
364
364
|
cron: string;
|
|
365
365
|
timezone: string;
|
|
366
366
|
}>>;
|
|
367
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
367
368
|
}, "strip", z.ZodTypeAny, {
|
|
368
369
|
id: string;
|
|
369
370
|
filePath: string;
|
|
@@ -413,8 +414,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
413
414
|
randomize?: boolean | undefined;
|
|
414
415
|
} | undefined;
|
|
415
416
|
machine?: {
|
|
416
|
-
cpu?:
|
|
417
|
-
memory?:
|
|
417
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
418
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
418
419
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
419
420
|
} | undefined;
|
|
420
421
|
triggerSource?: string | undefined;
|
|
@@ -422,6 +423,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
422
423
|
cron: string;
|
|
423
424
|
timezone: string;
|
|
424
425
|
} | undefined;
|
|
426
|
+
maxDuration?: number | undefined;
|
|
425
427
|
}, {
|
|
426
428
|
id: string;
|
|
427
429
|
filePath: string;
|
|
@@ -471,8 +473,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
471
473
|
randomize?: boolean | undefined;
|
|
472
474
|
} | undefined;
|
|
473
475
|
machine?: {
|
|
474
|
-
cpu?:
|
|
475
|
-
memory?:
|
|
476
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
477
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
476
478
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
477
479
|
} | undefined;
|
|
478
480
|
triggerSource?: string | undefined;
|
|
@@ -480,6 +482,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
480
482
|
cron: string;
|
|
481
483
|
timezone: string;
|
|
482
484
|
} | undefined;
|
|
485
|
+
maxDuration?: number | undefined;
|
|
483
486
|
}>, "many">;
|
|
484
487
|
sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
485
488
|
filePath: z.ZodString;
|
|
@@ -498,6 +501,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
498
501
|
taskIds: string[];
|
|
499
502
|
}>, "many">>;
|
|
500
503
|
}, "strip", z.ZodTypeAny, {
|
|
504
|
+
contentHash: string;
|
|
501
505
|
tasks: {
|
|
502
506
|
id: string;
|
|
503
507
|
filePath: string;
|
|
@@ -547,8 +551,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
547
551
|
randomize?: boolean | undefined;
|
|
548
552
|
} | undefined;
|
|
549
553
|
machine?: {
|
|
550
|
-
cpu?:
|
|
551
|
-
memory?:
|
|
554
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
555
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
552
556
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
553
557
|
} | undefined;
|
|
554
558
|
triggerSource?: string | undefined;
|
|
@@ -556,8 +560,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
556
560
|
cron: string;
|
|
557
561
|
timezone: string;
|
|
558
562
|
} | undefined;
|
|
563
|
+
maxDuration?: number | undefined;
|
|
559
564
|
}[];
|
|
560
|
-
contentHash: string;
|
|
561
565
|
packageVersion: string;
|
|
562
566
|
cliPackageVersion?: string | undefined;
|
|
563
567
|
sourceFiles?: {
|
|
@@ -567,6 +571,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
567
571
|
taskIds: string[];
|
|
568
572
|
}[] | undefined;
|
|
569
573
|
}, {
|
|
574
|
+
contentHash: string;
|
|
570
575
|
tasks: {
|
|
571
576
|
id: string;
|
|
572
577
|
filePath: string;
|
|
@@ -616,8 +621,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
616
621
|
randomize?: boolean | undefined;
|
|
617
622
|
} | undefined;
|
|
618
623
|
machine?: {
|
|
619
|
-
cpu?:
|
|
620
|
-
memory?:
|
|
624
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
625
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
621
626
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
622
627
|
} | undefined;
|
|
623
628
|
triggerSource?: string | undefined;
|
|
@@ -625,8 +630,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
625
630
|
cron: string;
|
|
626
631
|
timezone: string;
|
|
627
632
|
} | undefined;
|
|
633
|
+
maxDuration?: number | undefined;
|
|
628
634
|
}[];
|
|
629
|
-
contentHash: string;
|
|
630
635
|
packageVersion: string;
|
|
631
636
|
cliPackageVersion?: string | undefined;
|
|
632
637
|
sourceFiles?: {
|
|
@@ -639,6 +644,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
639
644
|
supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
|
|
640
645
|
}, "strip", z.ZodTypeAny, {
|
|
641
646
|
metadata: {
|
|
647
|
+
contentHash: string;
|
|
642
648
|
tasks: {
|
|
643
649
|
id: string;
|
|
644
650
|
filePath: string;
|
|
@@ -688,8 +694,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
688
694
|
randomize?: boolean | undefined;
|
|
689
695
|
} | undefined;
|
|
690
696
|
machine?: {
|
|
691
|
-
cpu?:
|
|
692
|
-
memory?:
|
|
697
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
698
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
693
699
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
694
700
|
} | undefined;
|
|
695
701
|
triggerSource?: string | undefined;
|
|
@@ -697,8 +703,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
697
703
|
cron: string;
|
|
698
704
|
timezone: string;
|
|
699
705
|
} | undefined;
|
|
706
|
+
maxDuration?: number | undefined;
|
|
700
707
|
}[];
|
|
701
|
-
contentHash: string;
|
|
702
708
|
packageVersion: string;
|
|
703
709
|
cliPackageVersion?: string | undefined;
|
|
704
710
|
sourceFiles?: {
|
|
@@ -712,6 +718,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
712
718
|
supportsLazyAttempts?: boolean | undefined;
|
|
713
719
|
}, {
|
|
714
720
|
metadata: {
|
|
721
|
+
contentHash: string;
|
|
715
722
|
tasks: {
|
|
716
723
|
id: string;
|
|
717
724
|
filePath: string;
|
|
@@ -761,8 +768,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
761
768
|
randomize?: boolean | undefined;
|
|
762
769
|
} | undefined;
|
|
763
770
|
machine?: {
|
|
764
|
-
cpu?:
|
|
765
|
-
memory?:
|
|
771
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
772
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
766
773
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
767
774
|
} | undefined;
|
|
768
775
|
triggerSource?: string | undefined;
|
|
@@ -770,8 +777,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
770
777
|
cron: string;
|
|
771
778
|
timezone: string;
|
|
772
779
|
} | undefined;
|
|
780
|
+
maxDuration?: number | undefined;
|
|
773
781
|
}[];
|
|
774
|
-
contentHash: string;
|
|
775
782
|
packageVersion: string;
|
|
776
783
|
cliPackageVersion?: string | undefined;
|
|
777
784
|
sourceFiles?: {
|
|
@@ -790,12 +797,12 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
|
|
|
790
797
|
version: z.ZodString;
|
|
791
798
|
contentHash: z.ZodString;
|
|
792
799
|
}, "strip", z.ZodTypeAny, {
|
|
793
|
-
version: string;
|
|
794
800
|
id: string;
|
|
801
|
+
version: string;
|
|
795
802
|
contentHash: string;
|
|
796
803
|
}, {
|
|
797
|
-
version: string;
|
|
798
804
|
id: string;
|
|
805
|
+
version: string;
|
|
799
806
|
contentHash: string;
|
|
800
807
|
}>;
|
|
801
808
|
export type CreateBackgroundWorkerResponse = z.infer<typeof CreateBackgroundWorkerResponse>;
|
|
@@ -1003,6 +1010,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1003
1010
|
ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1004
1011
|
tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1005
1012
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1013
|
+
metadata: z.ZodAny;
|
|
1014
|
+
metadataType: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
1006
1016
|
}, "strip", z.ZodTypeAny, {
|
|
1007
1017
|
dependentAttempt?: string | undefined;
|
|
1008
1018
|
parentAttempt?: string | undefined;
|
|
@@ -1054,6 +1064,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1054
1064
|
ttl?: string | number | undefined;
|
|
1055
1065
|
tags?: string | string[] | undefined;
|
|
1056
1066
|
maxAttempts?: number | undefined;
|
|
1067
|
+
metadata?: any;
|
|
1068
|
+
metadataType?: string | undefined;
|
|
1069
|
+
maxDuration?: number | undefined;
|
|
1057
1070
|
}, {
|
|
1058
1071
|
dependentAttempt?: string | undefined;
|
|
1059
1072
|
parentAttempt?: string | undefined;
|
|
@@ -1105,6 +1118,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1105
1118
|
ttl?: string | number | undefined;
|
|
1106
1119
|
tags?: string | string[] | undefined;
|
|
1107
1120
|
maxAttempts?: number | undefined;
|
|
1121
|
+
metadata?: any;
|
|
1122
|
+
metadataType?: string | undefined;
|
|
1123
|
+
maxDuration?: number | undefined;
|
|
1108
1124
|
}>>;
|
|
1109
1125
|
}, "strip", z.ZodTypeAny, {
|
|
1110
1126
|
payload?: any;
|
|
@@ -1160,6 +1176,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1160
1176
|
ttl?: string | number | undefined;
|
|
1161
1177
|
tags?: string | string[] | undefined;
|
|
1162
1178
|
maxAttempts?: number | undefined;
|
|
1179
|
+
metadata?: any;
|
|
1180
|
+
metadataType?: string | undefined;
|
|
1181
|
+
maxDuration?: number | undefined;
|
|
1163
1182
|
} | undefined;
|
|
1164
1183
|
}, {
|
|
1165
1184
|
payload?: any;
|
|
@@ -1215,6 +1234,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1215
1234
|
ttl?: string | number | undefined;
|
|
1216
1235
|
tags?: string | string[] | undefined;
|
|
1217
1236
|
maxAttempts?: number | undefined;
|
|
1237
|
+
metadata?: any;
|
|
1238
|
+
metadataType?: string | undefined;
|
|
1239
|
+
maxDuration?: number | undefined;
|
|
1218
1240
|
} | undefined;
|
|
1219
1241
|
}>;
|
|
1220
1242
|
export type TriggerTaskRequestBody = z.infer<typeof TriggerTaskRequestBody>;
|
|
@@ -1429,6 +1451,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1429
1451
|
ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1430
1452
|
tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1431
1453
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1454
|
+
metadata: z.ZodAny;
|
|
1455
|
+
metadataType: z.ZodOptional<z.ZodString>;
|
|
1456
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
1432
1457
|
}, "strip", z.ZodTypeAny, {
|
|
1433
1458
|
dependentAttempt?: string | undefined;
|
|
1434
1459
|
parentAttempt?: string | undefined;
|
|
@@ -1480,6 +1505,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1480
1505
|
ttl?: string | number | undefined;
|
|
1481
1506
|
tags?: string | string[] | undefined;
|
|
1482
1507
|
maxAttempts?: number | undefined;
|
|
1508
|
+
metadata?: any;
|
|
1509
|
+
metadataType?: string | undefined;
|
|
1510
|
+
maxDuration?: number | undefined;
|
|
1483
1511
|
}, {
|
|
1484
1512
|
dependentAttempt?: string | undefined;
|
|
1485
1513
|
parentAttempt?: string | undefined;
|
|
@@ -1531,6 +1559,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1531
1559
|
ttl?: string | number | undefined;
|
|
1532
1560
|
tags?: string | string[] | undefined;
|
|
1533
1561
|
maxAttempts?: number | undefined;
|
|
1562
|
+
metadata?: any;
|
|
1563
|
+
metadataType?: string | undefined;
|
|
1564
|
+
maxDuration?: number | undefined;
|
|
1534
1565
|
}>>;
|
|
1535
1566
|
}, "strip", z.ZodTypeAny, {
|
|
1536
1567
|
payload?: any;
|
|
@@ -1586,6 +1617,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1586
1617
|
ttl?: string | number | undefined;
|
|
1587
1618
|
tags?: string | string[] | undefined;
|
|
1588
1619
|
maxAttempts?: number | undefined;
|
|
1620
|
+
metadata?: any;
|
|
1621
|
+
metadataType?: string | undefined;
|
|
1622
|
+
maxDuration?: number | undefined;
|
|
1589
1623
|
} | undefined;
|
|
1590
1624
|
}, {
|
|
1591
1625
|
payload?: any;
|
|
@@ -1641,6 +1675,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1641
1675
|
ttl?: string | number | undefined;
|
|
1642
1676
|
tags?: string | string[] | undefined;
|
|
1643
1677
|
maxAttempts?: number | undefined;
|
|
1678
|
+
metadata?: any;
|
|
1679
|
+
metadataType?: string | undefined;
|
|
1680
|
+
maxDuration?: number | undefined;
|
|
1644
1681
|
} | undefined;
|
|
1645
1682
|
}>, "many">;
|
|
1646
1683
|
dependentAttempt: z.ZodOptional<z.ZodString>;
|
|
@@ -1699,6 +1736,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1699
1736
|
ttl?: string | number | undefined;
|
|
1700
1737
|
tags?: string | string[] | undefined;
|
|
1701
1738
|
maxAttempts?: number | undefined;
|
|
1739
|
+
metadata?: any;
|
|
1740
|
+
metadataType?: string | undefined;
|
|
1741
|
+
maxDuration?: number | undefined;
|
|
1702
1742
|
} | undefined;
|
|
1703
1743
|
}[];
|
|
1704
1744
|
dependentAttempt?: string | undefined;
|
|
@@ -1757,6 +1797,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1757
1797
|
ttl?: string | number | undefined;
|
|
1758
1798
|
tags?: string | string[] | undefined;
|
|
1759
1799
|
maxAttempts?: number | undefined;
|
|
1800
|
+
metadata?: any;
|
|
1801
|
+
metadataType?: string | undefined;
|
|
1802
|
+
maxDuration?: number | undefined;
|
|
1760
1803
|
} | undefined;
|
|
1761
1804
|
}[];
|
|
1762
1805
|
dependentAttempt?: string | undefined;
|
|
@@ -1766,11 +1809,11 @@ export declare const BatchTriggerTaskResponse: z.ZodObject<{
|
|
|
1766
1809
|
batchId: z.ZodString;
|
|
1767
1810
|
runs: z.ZodArray<z.ZodString, "many">;
|
|
1768
1811
|
}, "strip", z.ZodTypeAny, {
|
|
1769
|
-
runs: string[];
|
|
1770
1812
|
batchId: string;
|
|
1771
|
-
}, {
|
|
1772
1813
|
runs: string[];
|
|
1814
|
+
}, {
|
|
1773
1815
|
batchId: string;
|
|
1816
|
+
runs: string[];
|
|
1774
1817
|
}>;
|
|
1775
1818
|
export type BatchTriggerTaskResponse = z.infer<typeof BatchTriggerTaskResponse>;
|
|
1776
1819
|
export declare const GetBatchResponseBody: z.ZodObject<{
|
|
@@ -1780,25 +1823,25 @@ export declare const GetBatchResponseBody: z.ZodObject<{
|
|
|
1780
1823
|
taskRunId: z.ZodString;
|
|
1781
1824
|
status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
|
|
1782
1825
|
}, "strip", z.ZodTypeAny, {
|
|
1783
|
-
status: "PENDING" | "
|
|
1826
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
|
|
1784
1827
|
id: string;
|
|
1785
1828
|
taskRunId: string;
|
|
1786
1829
|
}, {
|
|
1787
|
-
status: "PENDING" | "
|
|
1830
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
|
|
1788
1831
|
id: string;
|
|
1789
1832
|
taskRunId: string;
|
|
1790
1833
|
}>, "many">;
|
|
1791
1834
|
}, "strip", z.ZodTypeAny, {
|
|
1792
1835
|
id: string;
|
|
1793
1836
|
items: {
|
|
1794
|
-
status: "PENDING" | "
|
|
1837
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
|
|
1795
1838
|
id: string;
|
|
1796
1839
|
taskRunId: string;
|
|
1797
1840
|
}[];
|
|
1798
1841
|
}, {
|
|
1799
1842
|
id: string;
|
|
1800
1843
|
items: {
|
|
1801
|
-
status: "PENDING" | "
|
|
1844
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
|
|
1802
1845
|
id: string;
|
|
1803
1846
|
taskRunId: string;
|
|
1804
1847
|
}[];
|
|
@@ -1896,8 +1939,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
1896
1939
|
}>>>;
|
|
1897
1940
|
registryHost: z.ZodOptional<z.ZodString>;
|
|
1898
1941
|
}, "strip", z.ZodTypeAny, {
|
|
1899
|
-
version: string;
|
|
1900
1942
|
id: string;
|
|
1943
|
+
version: string;
|
|
1901
1944
|
contentHash: string;
|
|
1902
1945
|
imageTag: string;
|
|
1903
1946
|
shortCode: string;
|
|
@@ -1908,8 +1951,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
1908
1951
|
} | null | undefined;
|
|
1909
1952
|
registryHost?: string | undefined;
|
|
1910
1953
|
}, {
|
|
1911
|
-
version: string;
|
|
1912
1954
|
id: string;
|
|
1955
|
+
version: string;
|
|
1913
1956
|
contentHash: string;
|
|
1914
1957
|
imageTag: string;
|
|
1915
1958
|
shortCode: string;
|
|
@@ -2032,38 +2075,38 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2032
2075
|
exportName: z.ZodString;
|
|
2033
2076
|
}, "strip", z.ZodTypeAny, {
|
|
2034
2077
|
id: string;
|
|
2035
|
-
slug: string;
|
|
2036
2078
|
filePath: string;
|
|
2037
2079
|
exportName: string;
|
|
2080
|
+
slug: string;
|
|
2038
2081
|
}, {
|
|
2039
2082
|
id: string;
|
|
2040
|
-
slug: string;
|
|
2041
2083
|
filePath: string;
|
|
2042
2084
|
exportName: string;
|
|
2085
|
+
slug: string;
|
|
2043
2086
|
}>, "many">;
|
|
2044
2087
|
}, "strip", z.ZodTypeAny, {
|
|
2045
|
-
version: string;
|
|
2046
2088
|
id: string;
|
|
2089
|
+
version: string;
|
|
2047
2090
|
tasks: {
|
|
2048
2091
|
id: string;
|
|
2049
|
-
slug: string;
|
|
2050
2092
|
filePath: string;
|
|
2051
2093
|
exportName: string;
|
|
2094
|
+
slug: string;
|
|
2052
2095
|
}[];
|
|
2053
2096
|
}, {
|
|
2054
|
-
version: string;
|
|
2055
2097
|
id: string;
|
|
2098
|
+
version: string;
|
|
2056
2099
|
tasks: {
|
|
2057
2100
|
id: string;
|
|
2058
|
-
slug: string;
|
|
2059
2101
|
filePath: string;
|
|
2060
2102
|
exportName: string;
|
|
2103
|
+
slug: string;
|
|
2061
2104
|
}[];
|
|
2062
2105
|
}>>;
|
|
2063
2106
|
}, "strip", z.ZodTypeAny, {
|
|
2064
|
-
status: "PENDING" | "CANCELED" | "
|
|
2065
|
-
version: string;
|
|
2107
|
+
status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
|
|
2066
2108
|
id: string;
|
|
2109
|
+
version: string;
|
|
2067
2110
|
contentHash: string;
|
|
2068
2111
|
shortCode: string;
|
|
2069
2112
|
imageReference?: string | null | undefined;
|
|
@@ -2074,19 +2117,19 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2074
2117
|
stderr?: string | undefined;
|
|
2075
2118
|
} | null | undefined;
|
|
2076
2119
|
worker?: {
|
|
2077
|
-
version: string;
|
|
2078
2120
|
id: string;
|
|
2121
|
+
version: string;
|
|
2079
2122
|
tasks: {
|
|
2080
2123
|
id: string;
|
|
2081
|
-
slug: string;
|
|
2082
2124
|
filePath: string;
|
|
2083
2125
|
exportName: string;
|
|
2126
|
+
slug: string;
|
|
2084
2127
|
}[];
|
|
2085
2128
|
} | undefined;
|
|
2086
2129
|
}, {
|
|
2087
|
-
status: "PENDING" | "CANCELED" | "
|
|
2088
|
-
version: string;
|
|
2130
|
+
status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
|
|
2089
2131
|
id: string;
|
|
2132
|
+
version: string;
|
|
2090
2133
|
contentHash: string;
|
|
2091
2134
|
shortCode: string;
|
|
2092
2135
|
imageReference?: string | null | undefined;
|
|
@@ -2097,13 +2140,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2097
2140
|
stderr?: string | undefined;
|
|
2098
2141
|
} | null | undefined;
|
|
2099
2142
|
worker?: {
|
|
2100
|
-
version: string;
|
|
2101
2143
|
id: string;
|
|
2144
|
+
version: string;
|
|
2102
2145
|
tasks: {
|
|
2103
2146
|
id: string;
|
|
2104
|
-
slug: string;
|
|
2105
2147
|
filePath: string;
|
|
2106
2148
|
exportName: string;
|
|
2149
|
+
slug: string;
|
|
2107
2150
|
}[];
|
|
2108
2151
|
} | undefined;
|
|
2109
2152
|
}>;
|
|
@@ -2226,14 +2269,14 @@ export declare const CreateScheduleOptions: z.ZodObject<{
|
|
|
2226
2269
|
*/
|
|
2227
2270
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2228
2271
|
}, "strip", z.ZodTypeAny, {
|
|
2229
|
-
cron: string;
|
|
2230
2272
|
task: string;
|
|
2273
|
+
cron: string;
|
|
2231
2274
|
deduplicationKey: string;
|
|
2232
2275
|
externalId?: string | undefined;
|
|
2233
2276
|
timezone?: string | undefined;
|
|
2234
2277
|
}, {
|
|
2235
|
-
cron: string;
|
|
2236
2278
|
task: string;
|
|
2279
|
+
cron: string;
|
|
2237
2280
|
deduplicationKey: string;
|
|
2238
2281
|
externalId?: string | undefined;
|
|
2239
2282
|
timezone?: string | undefined;
|
|
@@ -2280,13 +2323,13 @@ export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
|
|
|
2280
2323
|
*/
|
|
2281
2324
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2282
2325
|
}, "deduplicationKey">, "strip", z.ZodTypeAny, {
|
|
2283
|
-
cron: string;
|
|
2284
2326
|
task: string;
|
|
2327
|
+
cron: string;
|
|
2285
2328
|
timezone?: string | undefined;
|
|
2286
2329
|
externalId?: string | undefined;
|
|
2287
2330
|
}, {
|
|
2288
|
-
cron: string;
|
|
2289
2331
|
task: string;
|
|
2332
|
+
cron: string;
|
|
2290
2333
|
timezone?: string | undefined;
|
|
2291
2334
|
externalId?: string | undefined;
|
|
2292
2335
|
}>;
|
|
@@ -2343,9 +2386,9 @@ export declare const ScheduleObject: z.ZodObject<{
|
|
|
2343
2386
|
}, "strip", z.ZodTypeAny, {
|
|
2344
2387
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2345
2388
|
id: string;
|
|
2346
|
-
active: boolean;
|
|
2347
2389
|
task: string;
|
|
2348
2390
|
timezone: string;
|
|
2391
|
+
active: boolean;
|
|
2349
2392
|
generator: {
|
|
2350
2393
|
type: "CRON";
|
|
2351
2394
|
description: string;
|
|
@@ -2362,9 +2405,9 @@ export declare const ScheduleObject: z.ZodObject<{
|
|
|
2362
2405
|
}, {
|
|
2363
2406
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2364
2407
|
id: string;
|
|
2365
|
-
active: boolean;
|
|
2366
2408
|
task: string;
|
|
2367
2409
|
timezone: string;
|
|
2410
|
+
active: boolean;
|
|
2368
2411
|
generator: {
|
|
2369
2412
|
type: "CRON";
|
|
2370
2413
|
description: string;
|
|
@@ -2427,9 +2470,9 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2427
2470
|
}, "strip", z.ZodTypeAny, {
|
|
2428
2471
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2429
2472
|
id: string;
|
|
2430
|
-
active: boolean;
|
|
2431
2473
|
task: string;
|
|
2432
2474
|
timezone: string;
|
|
2475
|
+
active: boolean;
|
|
2433
2476
|
generator: {
|
|
2434
2477
|
type: "CRON";
|
|
2435
2478
|
description: string;
|
|
@@ -2446,9 +2489,9 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2446
2489
|
}, {
|
|
2447
2490
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2448
2491
|
id: string;
|
|
2449
|
-
active: boolean;
|
|
2450
2492
|
task: string;
|
|
2451
2493
|
timezone: string;
|
|
2494
|
+
active: boolean;
|
|
2452
2495
|
generator: {
|
|
2453
2496
|
type: "CRON";
|
|
2454
2497
|
description: string;
|
|
@@ -2480,9 +2523,9 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2480
2523
|
data: {
|
|
2481
2524
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2482
2525
|
id: string;
|
|
2483
|
-
active: boolean;
|
|
2484
2526
|
task: string;
|
|
2485
2527
|
timezone: string;
|
|
2528
|
+
active: boolean;
|
|
2486
2529
|
generator: {
|
|
2487
2530
|
type: "CRON";
|
|
2488
2531
|
description: string;
|
|
@@ -2506,9 +2549,9 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2506
2549
|
data: {
|
|
2507
2550
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2508
2551
|
id: string;
|
|
2509
|
-
active: boolean;
|
|
2510
2552
|
task: string;
|
|
2511
2553
|
timezone: string;
|
|
2554
|
+
active: boolean;
|
|
2512
2555
|
generator: {
|
|
2513
2556
|
type: "CRON";
|
|
2514
2557
|
description: string;
|
|
@@ -2549,7 +2592,7 @@ export declare const TimezonesResult: z.ZodObject<{
|
|
|
2549
2592
|
timezones: string[];
|
|
2550
2593
|
}>;
|
|
2551
2594
|
export type TimezonesResult = z.infer<typeof TimezonesResult>;
|
|
2552
|
-
export declare const RunStatus: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
|
|
2595
|
+
export declare const RunStatus: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
2553
2596
|
export type RunStatus = z.infer<typeof RunStatus>;
|
|
2554
2597
|
export declare const AttemptStatus: z.ZodEnum<["PENDING", "EXECUTING", "PAUSED", "COMPLETED", "FAILED", "CANCELED"]>;
|
|
2555
2598
|
export type AttemptStatus = z.infer<typeof AttemptStatus>;
|
|
@@ -2611,7 +2654,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2611
2654
|
triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
|
|
2612
2655
|
batchId: z.ZodOptional<z.ZodString>;
|
|
2613
2656
|
id: z.ZodString;
|
|
2614
|
-
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
|
|
2657
|
+
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
2615
2658
|
taskIdentifier: z.ZodString;
|
|
2616
2659
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2617
2660
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -2633,18 +2676,18 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2633
2676
|
costInCents: z.ZodNumber;
|
|
2634
2677
|
baseCostInCents: z.ZodNumber;
|
|
2635
2678
|
durationMs: z.ZodNumber;
|
|
2679
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2636
2680
|
}, "strip", z.ZodTypeAny, {
|
|
2637
|
-
status: "COMPLETED" | "
|
|
2681
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2638
2682
|
id: string;
|
|
2639
|
-
|
|
2683
|
+
tags: string[];
|
|
2640
2684
|
isTest: boolean;
|
|
2641
2685
|
createdAt: Date;
|
|
2642
|
-
tags: string[];
|
|
2643
2686
|
durationMs: number;
|
|
2644
2687
|
costInCents: number;
|
|
2645
2688
|
baseCostInCents: number;
|
|
2646
2689
|
depth: number;
|
|
2647
|
-
triggerFunction: "
|
|
2690
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2648
2691
|
taskIdentifier: string;
|
|
2649
2692
|
isQueued: boolean;
|
|
2650
2693
|
isExecuting: boolean;
|
|
@@ -2652,6 +2695,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2652
2695
|
isSuccess: boolean;
|
|
2653
2696
|
isFailed: boolean;
|
|
2654
2697
|
isCancelled: boolean;
|
|
2698
|
+
updatedAt: Date;
|
|
2655
2699
|
batchId?: string | undefined;
|
|
2656
2700
|
idempotencyKey?: string | undefined;
|
|
2657
2701
|
version?: string | undefined;
|
|
@@ -2660,18 +2704,18 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2660
2704
|
delayedUntil?: Date | undefined;
|
|
2661
2705
|
ttl?: string | undefined;
|
|
2662
2706
|
expiredAt?: Date | undefined;
|
|
2707
|
+
metadata?: Record<string, any> | undefined;
|
|
2663
2708
|
}, {
|
|
2664
|
-
status: "COMPLETED" | "
|
|
2709
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2665
2710
|
id: string;
|
|
2666
|
-
|
|
2711
|
+
tags: string[];
|
|
2667
2712
|
isTest: boolean;
|
|
2668
2713
|
createdAt: Date;
|
|
2669
|
-
tags: string[];
|
|
2670
2714
|
durationMs: number;
|
|
2671
2715
|
costInCents: number;
|
|
2672
2716
|
baseCostInCents: number;
|
|
2673
2717
|
depth: number;
|
|
2674
|
-
triggerFunction: "
|
|
2718
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2675
2719
|
taskIdentifier: string;
|
|
2676
2720
|
isQueued: boolean;
|
|
2677
2721
|
isExecuting: boolean;
|
|
@@ -2679,6 +2723,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2679
2723
|
isSuccess: boolean;
|
|
2680
2724
|
isFailed: boolean;
|
|
2681
2725
|
isCancelled: boolean;
|
|
2726
|
+
updatedAt: Date;
|
|
2682
2727
|
batchId?: string | undefined;
|
|
2683
2728
|
idempotencyKey?: string | undefined;
|
|
2684
2729
|
version?: string | undefined;
|
|
@@ -2687,6 +2732,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2687
2732
|
delayedUntil?: Date | undefined;
|
|
2688
2733
|
ttl?: string | undefined;
|
|
2689
2734
|
expiredAt?: Date | undefined;
|
|
2735
|
+
metadata?: Record<string, any> | undefined;
|
|
2690
2736
|
}>;
|
|
2691
2737
|
export declare const RetrieveRunResponse: z.ZodObject<{
|
|
2692
2738
|
payload: z.ZodOptional<z.ZodAny>;
|
|
@@ -2735,7 +2781,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2735
2781
|
triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
|
|
2736
2782
|
batchId: z.ZodOptional<z.ZodString>;
|
|
2737
2783
|
id: z.ZodString;
|
|
2738
|
-
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
|
|
2784
|
+
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
2739
2785
|
taskIdentifier: z.ZodString;
|
|
2740
2786
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2741
2787
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -2757,18 +2803,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2757
2803
|
costInCents: z.ZodNumber;
|
|
2758
2804
|
baseCostInCents: z.ZodNumber;
|
|
2759
2805
|
durationMs: z.ZodNumber;
|
|
2806
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2760
2807
|
}, "strip", z.ZodTypeAny, {
|
|
2761
|
-
status: "COMPLETED" | "
|
|
2808
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2762
2809
|
id: string;
|
|
2763
|
-
|
|
2810
|
+
tags: string[];
|
|
2764
2811
|
isTest: boolean;
|
|
2765
2812
|
createdAt: Date;
|
|
2766
|
-
tags: string[];
|
|
2767
2813
|
durationMs: number;
|
|
2768
2814
|
costInCents: number;
|
|
2769
2815
|
baseCostInCents: number;
|
|
2770
2816
|
depth: number;
|
|
2771
|
-
triggerFunction: "
|
|
2817
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2772
2818
|
taskIdentifier: string;
|
|
2773
2819
|
isQueued: boolean;
|
|
2774
2820
|
isExecuting: boolean;
|
|
@@ -2776,6 +2822,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2776
2822
|
isSuccess: boolean;
|
|
2777
2823
|
isFailed: boolean;
|
|
2778
2824
|
isCancelled: boolean;
|
|
2825
|
+
updatedAt: Date;
|
|
2779
2826
|
batchId?: string | undefined;
|
|
2780
2827
|
idempotencyKey?: string | undefined;
|
|
2781
2828
|
version?: string | undefined;
|
|
@@ -2784,18 +2831,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2784
2831
|
delayedUntil?: Date | undefined;
|
|
2785
2832
|
ttl?: string | undefined;
|
|
2786
2833
|
expiredAt?: Date | undefined;
|
|
2834
|
+
metadata?: Record<string, any> | undefined;
|
|
2787
2835
|
}, {
|
|
2788
|
-
status: "COMPLETED" | "
|
|
2836
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2789
2837
|
id: string;
|
|
2790
|
-
|
|
2838
|
+
tags: string[];
|
|
2791
2839
|
isTest: boolean;
|
|
2792
2840
|
createdAt: Date;
|
|
2793
|
-
tags: string[];
|
|
2794
2841
|
durationMs: number;
|
|
2795
2842
|
costInCents: number;
|
|
2796
2843
|
baseCostInCents: number;
|
|
2797
2844
|
depth: number;
|
|
2798
|
-
triggerFunction: "
|
|
2845
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2799
2846
|
taskIdentifier: string;
|
|
2800
2847
|
isQueued: boolean;
|
|
2801
2848
|
isExecuting: boolean;
|
|
@@ -2803,6 +2850,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2803
2850
|
isSuccess: boolean;
|
|
2804
2851
|
isFailed: boolean;
|
|
2805
2852
|
isCancelled: boolean;
|
|
2853
|
+
updatedAt: Date;
|
|
2806
2854
|
batchId?: string | undefined;
|
|
2807
2855
|
idempotencyKey?: string | undefined;
|
|
2808
2856
|
version?: string | undefined;
|
|
@@ -2811,13 +2859,14 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2811
2859
|
delayedUntil?: Date | undefined;
|
|
2812
2860
|
ttl?: string | undefined;
|
|
2813
2861
|
expiredAt?: Date | undefined;
|
|
2862
|
+
metadata?: Record<string, any> | undefined;
|
|
2814
2863
|
}>>;
|
|
2815
2864
|
parent: z.ZodOptional<z.ZodObject<{
|
|
2816
2865
|
depth: z.ZodNumber;
|
|
2817
2866
|
triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
|
|
2818
2867
|
batchId: z.ZodOptional<z.ZodString>;
|
|
2819
2868
|
id: z.ZodString;
|
|
2820
|
-
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
|
|
2869
|
+
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
2821
2870
|
taskIdentifier: z.ZodString;
|
|
2822
2871
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2823
2872
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -2839,18 +2888,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2839
2888
|
costInCents: z.ZodNumber;
|
|
2840
2889
|
baseCostInCents: z.ZodNumber;
|
|
2841
2890
|
durationMs: z.ZodNumber;
|
|
2891
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2842
2892
|
}, "strip", z.ZodTypeAny, {
|
|
2843
|
-
status: "COMPLETED" | "
|
|
2893
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2844
2894
|
id: string;
|
|
2845
|
-
|
|
2895
|
+
tags: string[];
|
|
2846
2896
|
isTest: boolean;
|
|
2847
2897
|
createdAt: Date;
|
|
2848
|
-
tags: string[];
|
|
2849
2898
|
durationMs: number;
|
|
2850
2899
|
costInCents: number;
|
|
2851
2900
|
baseCostInCents: number;
|
|
2852
2901
|
depth: number;
|
|
2853
|
-
triggerFunction: "
|
|
2902
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2854
2903
|
taskIdentifier: string;
|
|
2855
2904
|
isQueued: boolean;
|
|
2856
2905
|
isExecuting: boolean;
|
|
@@ -2858,6 +2907,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2858
2907
|
isSuccess: boolean;
|
|
2859
2908
|
isFailed: boolean;
|
|
2860
2909
|
isCancelled: boolean;
|
|
2910
|
+
updatedAt: Date;
|
|
2861
2911
|
batchId?: string | undefined;
|
|
2862
2912
|
idempotencyKey?: string | undefined;
|
|
2863
2913
|
version?: string | undefined;
|
|
@@ -2866,18 +2916,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2866
2916
|
delayedUntil?: Date | undefined;
|
|
2867
2917
|
ttl?: string | undefined;
|
|
2868
2918
|
expiredAt?: Date | undefined;
|
|
2919
|
+
metadata?: Record<string, any> | undefined;
|
|
2869
2920
|
}, {
|
|
2870
|
-
status: "COMPLETED" | "
|
|
2921
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2871
2922
|
id: string;
|
|
2872
|
-
|
|
2923
|
+
tags: string[];
|
|
2873
2924
|
isTest: boolean;
|
|
2874
2925
|
createdAt: Date;
|
|
2875
|
-
tags: string[];
|
|
2876
2926
|
durationMs: number;
|
|
2877
2927
|
costInCents: number;
|
|
2878
2928
|
baseCostInCents: number;
|
|
2879
2929
|
depth: number;
|
|
2880
|
-
triggerFunction: "
|
|
2930
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2881
2931
|
taskIdentifier: string;
|
|
2882
2932
|
isQueued: boolean;
|
|
2883
2933
|
isExecuting: boolean;
|
|
@@ -2885,6 +2935,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2885
2935
|
isSuccess: boolean;
|
|
2886
2936
|
isFailed: boolean;
|
|
2887
2937
|
isCancelled: boolean;
|
|
2938
|
+
updatedAt: Date;
|
|
2888
2939
|
batchId?: string | undefined;
|
|
2889
2940
|
idempotencyKey?: string | undefined;
|
|
2890
2941
|
version?: string | undefined;
|
|
@@ -2893,13 +2944,14 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2893
2944
|
delayedUntil?: Date | undefined;
|
|
2894
2945
|
ttl?: string | undefined;
|
|
2895
2946
|
expiredAt?: Date | undefined;
|
|
2947
|
+
metadata?: Record<string, any> | undefined;
|
|
2896
2948
|
}>>;
|
|
2897
2949
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2898
2950
|
depth: z.ZodNumber;
|
|
2899
2951
|
triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
|
|
2900
2952
|
batchId: z.ZodOptional<z.ZodString>;
|
|
2901
2953
|
id: z.ZodString;
|
|
2902
|
-
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
|
|
2954
|
+
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
2903
2955
|
taskIdentifier: z.ZodString;
|
|
2904
2956
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2905
2957
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -2921,18 +2973,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2921
2973
|
costInCents: z.ZodNumber;
|
|
2922
2974
|
baseCostInCents: z.ZodNumber;
|
|
2923
2975
|
durationMs: z.ZodNumber;
|
|
2976
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2924
2977
|
}, "strip", z.ZodTypeAny, {
|
|
2925
|
-
status: "COMPLETED" | "
|
|
2978
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2926
2979
|
id: string;
|
|
2927
|
-
|
|
2980
|
+
tags: string[];
|
|
2928
2981
|
isTest: boolean;
|
|
2929
2982
|
createdAt: Date;
|
|
2930
|
-
tags: string[];
|
|
2931
2983
|
durationMs: number;
|
|
2932
2984
|
costInCents: number;
|
|
2933
2985
|
baseCostInCents: number;
|
|
2934
2986
|
depth: number;
|
|
2935
|
-
triggerFunction: "
|
|
2987
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2936
2988
|
taskIdentifier: string;
|
|
2937
2989
|
isQueued: boolean;
|
|
2938
2990
|
isExecuting: boolean;
|
|
@@ -2940,6 +2992,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2940
2992
|
isSuccess: boolean;
|
|
2941
2993
|
isFailed: boolean;
|
|
2942
2994
|
isCancelled: boolean;
|
|
2995
|
+
updatedAt: Date;
|
|
2943
2996
|
batchId?: string | undefined;
|
|
2944
2997
|
idempotencyKey?: string | undefined;
|
|
2945
2998
|
version?: string | undefined;
|
|
@@ -2948,18 +3001,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2948
3001
|
delayedUntil?: Date | undefined;
|
|
2949
3002
|
ttl?: string | undefined;
|
|
2950
3003
|
expiredAt?: Date | undefined;
|
|
3004
|
+
metadata?: Record<string, any> | undefined;
|
|
2951
3005
|
}, {
|
|
2952
|
-
status: "COMPLETED" | "
|
|
3006
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2953
3007
|
id: string;
|
|
2954
|
-
|
|
3008
|
+
tags: string[];
|
|
2955
3009
|
isTest: boolean;
|
|
2956
3010
|
createdAt: Date;
|
|
2957
|
-
tags: string[];
|
|
2958
3011
|
durationMs: number;
|
|
2959
3012
|
costInCents: number;
|
|
2960
3013
|
baseCostInCents: number;
|
|
2961
3014
|
depth: number;
|
|
2962
|
-
triggerFunction: "
|
|
3015
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2963
3016
|
taskIdentifier: string;
|
|
2964
3017
|
isQueued: boolean;
|
|
2965
3018
|
isExecuting: boolean;
|
|
@@ -2967,6 +3020,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2967
3020
|
isSuccess: boolean;
|
|
2968
3021
|
isFailed: boolean;
|
|
2969
3022
|
isCancelled: boolean;
|
|
3023
|
+
updatedAt: Date;
|
|
2970
3024
|
batchId?: string | undefined;
|
|
2971
3025
|
idempotencyKey?: string | undefined;
|
|
2972
3026
|
version?: string | undefined;
|
|
@@ -2975,20 +3029,20 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2975
3029
|
delayedUntil?: Date | undefined;
|
|
2976
3030
|
ttl?: string | undefined;
|
|
2977
3031
|
expiredAt?: Date | undefined;
|
|
3032
|
+
metadata?: Record<string, any> | undefined;
|
|
2978
3033
|
}>, "many">>;
|
|
2979
3034
|
}, "strip", z.ZodTypeAny, {
|
|
2980
3035
|
root?: {
|
|
2981
|
-
status: "COMPLETED" | "
|
|
3036
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2982
3037
|
id: string;
|
|
2983
|
-
|
|
3038
|
+
tags: string[];
|
|
2984
3039
|
isTest: boolean;
|
|
2985
3040
|
createdAt: Date;
|
|
2986
|
-
tags: string[];
|
|
2987
3041
|
durationMs: number;
|
|
2988
3042
|
costInCents: number;
|
|
2989
3043
|
baseCostInCents: number;
|
|
2990
3044
|
depth: number;
|
|
2991
|
-
triggerFunction: "
|
|
3045
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2992
3046
|
taskIdentifier: string;
|
|
2993
3047
|
isQueued: boolean;
|
|
2994
3048
|
isExecuting: boolean;
|
|
@@ -2996,6 +3050,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2996
3050
|
isSuccess: boolean;
|
|
2997
3051
|
isFailed: boolean;
|
|
2998
3052
|
isCancelled: boolean;
|
|
3053
|
+
updatedAt: Date;
|
|
2999
3054
|
batchId?: string | undefined;
|
|
3000
3055
|
idempotencyKey?: string | undefined;
|
|
3001
3056
|
version?: string | undefined;
|
|
@@ -3004,19 +3059,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3004
3059
|
delayedUntil?: Date | undefined;
|
|
3005
3060
|
ttl?: string | undefined;
|
|
3006
3061
|
expiredAt?: Date | undefined;
|
|
3062
|
+
metadata?: Record<string, any> | undefined;
|
|
3007
3063
|
} | undefined;
|
|
3008
3064
|
parent?: {
|
|
3009
|
-
status: "COMPLETED" | "
|
|
3065
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3010
3066
|
id: string;
|
|
3011
|
-
|
|
3067
|
+
tags: string[];
|
|
3012
3068
|
isTest: boolean;
|
|
3013
3069
|
createdAt: Date;
|
|
3014
|
-
tags: string[];
|
|
3015
3070
|
durationMs: number;
|
|
3016
3071
|
costInCents: number;
|
|
3017
3072
|
baseCostInCents: number;
|
|
3018
3073
|
depth: number;
|
|
3019
|
-
triggerFunction: "
|
|
3074
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3020
3075
|
taskIdentifier: string;
|
|
3021
3076
|
isQueued: boolean;
|
|
3022
3077
|
isExecuting: boolean;
|
|
@@ -3024,6 +3079,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3024
3079
|
isSuccess: boolean;
|
|
3025
3080
|
isFailed: boolean;
|
|
3026
3081
|
isCancelled: boolean;
|
|
3082
|
+
updatedAt: Date;
|
|
3027
3083
|
batchId?: string | undefined;
|
|
3028
3084
|
idempotencyKey?: string | undefined;
|
|
3029
3085
|
version?: string | undefined;
|
|
@@ -3032,19 +3088,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3032
3088
|
delayedUntil?: Date | undefined;
|
|
3033
3089
|
ttl?: string | undefined;
|
|
3034
3090
|
expiredAt?: Date | undefined;
|
|
3091
|
+
metadata?: Record<string, any> | undefined;
|
|
3035
3092
|
} | undefined;
|
|
3036
3093
|
children?: {
|
|
3037
|
-
status: "COMPLETED" | "
|
|
3094
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3038
3095
|
id: string;
|
|
3039
|
-
|
|
3096
|
+
tags: string[];
|
|
3040
3097
|
isTest: boolean;
|
|
3041
3098
|
createdAt: Date;
|
|
3042
|
-
tags: string[];
|
|
3043
3099
|
durationMs: number;
|
|
3044
3100
|
costInCents: number;
|
|
3045
3101
|
baseCostInCents: number;
|
|
3046
3102
|
depth: number;
|
|
3047
|
-
triggerFunction: "
|
|
3103
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3048
3104
|
taskIdentifier: string;
|
|
3049
3105
|
isQueued: boolean;
|
|
3050
3106
|
isExecuting: boolean;
|
|
@@ -3052,6 +3108,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3052
3108
|
isSuccess: boolean;
|
|
3053
3109
|
isFailed: boolean;
|
|
3054
3110
|
isCancelled: boolean;
|
|
3111
|
+
updatedAt: Date;
|
|
3055
3112
|
batchId?: string | undefined;
|
|
3056
3113
|
idempotencyKey?: string | undefined;
|
|
3057
3114
|
version?: string | undefined;
|
|
@@ -3060,20 +3117,20 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3060
3117
|
delayedUntil?: Date | undefined;
|
|
3061
3118
|
ttl?: string | undefined;
|
|
3062
3119
|
expiredAt?: Date | undefined;
|
|
3120
|
+
metadata?: Record<string, any> | undefined;
|
|
3063
3121
|
}[] | undefined;
|
|
3064
3122
|
}, {
|
|
3065
3123
|
root?: {
|
|
3066
|
-
status: "COMPLETED" | "
|
|
3124
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3067
3125
|
id: string;
|
|
3068
|
-
|
|
3126
|
+
tags: string[];
|
|
3069
3127
|
isTest: boolean;
|
|
3070
3128
|
createdAt: Date;
|
|
3071
|
-
tags: string[];
|
|
3072
3129
|
durationMs: number;
|
|
3073
3130
|
costInCents: number;
|
|
3074
3131
|
baseCostInCents: number;
|
|
3075
3132
|
depth: number;
|
|
3076
|
-
triggerFunction: "
|
|
3133
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3077
3134
|
taskIdentifier: string;
|
|
3078
3135
|
isQueued: boolean;
|
|
3079
3136
|
isExecuting: boolean;
|
|
@@ -3081,6 +3138,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3081
3138
|
isSuccess: boolean;
|
|
3082
3139
|
isFailed: boolean;
|
|
3083
3140
|
isCancelled: boolean;
|
|
3141
|
+
updatedAt: Date;
|
|
3084
3142
|
batchId?: string | undefined;
|
|
3085
3143
|
idempotencyKey?: string | undefined;
|
|
3086
3144
|
version?: string | undefined;
|
|
@@ -3089,19 +3147,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3089
3147
|
delayedUntil?: Date | undefined;
|
|
3090
3148
|
ttl?: string | undefined;
|
|
3091
3149
|
expiredAt?: Date | undefined;
|
|
3150
|
+
metadata?: Record<string, any> | undefined;
|
|
3092
3151
|
} | undefined;
|
|
3093
3152
|
parent?: {
|
|
3094
|
-
status: "COMPLETED" | "
|
|
3153
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3095
3154
|
id: string;
|
|
3096
|
-
|
|
3155
|
+
tags: string[];
|
|
3097
3156
|
isTest: boolean;
|
|
3098
3157
|
createdAt: Date;
|
|
3099
|
-
tags: string[];
|
|
3100
3158
|
durationMs: number;
|
|
3101
3159
|
costInCents: number;
|
|
3102
3160
|
baseCostInCents: number;
|
|
3103
3161
|
depth: number;
|
|
3104
|
-
triggerFunction: "
|
|
3162
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3105
3163
|
taskIdentifier: string;
|
|
3106
3164
|
isQueued: boolean;
|
|
3107
3165
|
isExecuting: boolean;
|
|
@@ -3109,6 +3167,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3109
3167
|
isSuccess: boolean;
|
|
3110
3168
|
isFailed: boolean;
|
|
3111
3169
|
isCancelled: boolean;
|
|
3170
|
+
updatedAt: Date;
|
|
3112
3171
|
batchId?: string | undefined;
|
|
3113
3172
|
idempotencyKey?: string | undefined;
|
|
3114
3173
|
version?: string | undefined;
|
|
@@ -3117,19 +3176,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3117
3176
|
delayedUntil?: Date | undefined;
|
|
3118
3177
|
ttl?: string | undefined;
|
|
3119
3178
|
expiredAt?: Date | undefined;
|
|
3179
|
+
metadata?: Record<string, any> | undefined;
|
|
3120
3180
|
} | undefined;
|
|
3121
3181
|
children?: {
|
|
3122
|
-
status: "COMPLETED" | "
|
|
3182
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3123
3183
|
id: string;
|
|
3124
|
-
|
|
3184
|
+
tags: string[];
|
|
3125
3185
|
isTest: boolean;
|
|
3126
3186
|
createdAt: Date;
|
|
3127
|
-
tags: string[];
|
|
3128
3187
|
durationMs: number;
|
|
3129
3188
|
costInCents: number;
|
|
3130
3189
|
baseCostInCents: number;
|
|
3131
3190
|
depth: number;
|
|
3132
|
-
triggerFunction: "
|
|
3191
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3133
3192
|
taskIdentifier: string;
|
|
3134
3193
|
isQueued: boolean;
|
|
3135
3194
|
isExecuting: boolean;
|
|
@@ -3137,6 +3196,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3137
3196
|
isSuccess: boolean;
|
|
3138
3197
|
isFailed: boolean;
|
|
3139
3198
|
isCancelled: boolean;
|
|
3199
|
+
updatedAt: Date;
|
|
3140
3200
|
batchId?: string | undefined;
|
|
3141
3201
|
idempotencyKey?: string | undefined;
|
|
3142
3202
|
version?: string | undefined;
|
|
@@ -3145,6 +3205,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3145
3205
|
delayedUntil?: Date | undefined;
|
|
3146
3206
|
ttl?: string | undefined;
|
|
3147
3207
|
expiredAt?: Date | undefined;
|
|
3208
|
+
metadata?: Record<string, any> | undefined;
|
|
3148
3209
|
}[] | undefined;
|
|
3149
3210
|
}>;
|
|
3150
3211
|
attempts: z.ZodArray<z.ZodOptional<z.ZodObject<{
|
|
@@ -3168,10 +3229,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3168
3229
|
stackTrace?: string | undefined;
|
|
3169
3230
|
}>>;
|
|
3170
3231
|
}, "strip", z.ZodTypeAny, {
|
|
3171
|
-
status: "PENDING" | "
|
|
3232
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
|
|
3172
3233
|
id: string;
|
|
3173
|
-
updatedAt: Date;
|
|
3174
3234
|
createdAt: Date;
|
|
3235
|
+
updatedAt: Date;
|
|
3175
3236
|
startedAt?: Date | undefined;
|
|
3176
3237
|
completedAt?: Date | undefined;
|
|
3177
3238
|
error?: {
|
|
@@ -3180,10 +3241,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3180
3241
|
stackTrace?: string | undefined;
|
|
3181
3242
|
} | undefined;
|
|
3182
3243
|
}, {
|
|
3183
|
-
status: "PENDING" | "
|
|
3244
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
|
|
3184
3245
|
id: string;
|
|
3185
|
-
updatedAt: Date;
|
|
3186
3246
|
createdAt: Date;
|
|
3247
|
+
updatedAt: Date;
|
|
3187
3248
|
startedAt?: Date | undefined;
|
|
3188
3249
|
completedAt?: Date | undefined;
|
|
3189
3250
|
error?: {
|
|
@@ -3196,7 +3257,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3196
3257
|
triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
|
|
3197
3258
|
batchId: z.ZodOptional<z.ZodString>;
|
|
3198
3259
|
id: z.ZodString;
|
|
3199
|
-
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
|
|
3260
|
+
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
3200
3261
|
taskIdentifier: z.ZodString;
|
|
3201
3262
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3202
3263
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -3218,31 +3279,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3218
3279
|
costInCents: z.ZodNumber;
|
|
3219
3280
|
baseCostInCents: z.ZodNumber;
|
|
3220
3281
|
durationMs: z.ZodNumber;
|
|
3282
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3221
3283
|
}, "strip", z.ZodTypeAny, {
|
|
3222
|
-
status: "COMPLETED" | "
|
|
3284
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3223
3285
|
id: string;
|
|
3224
|
-
|
|
3225
|
-
status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
3226
|
-
id: string;
|
|
3227
|
-
updatedAt: Date;
|
|
3228
|
-
createdAt: Date;
|
|
3229
|
-
startedAt?: Date | undefined;
|
|
3230
|
-
completedAt?: Date | undefined;
|
|
3231
|
-
error?: {
|
|
3232
|
-
message: string;
|
|
3233
|
-
name?: string | undefined;
|
|
3234
|
-
stackTrace?: string | undefined;
|
|
3235
|
-
} | undefined;
|
|
3236
|
-
} | undefined)[];
|
|
3237
|
-
updatedAt: Date;
|
|
3286
|
+
tags: string[];
|
|
3238
3287
|
isTest: boolean;
|
|
3239
3288
|
createdAt: Date;
|
|
3240
|
-
tags: string[];
|
|
3241
3289
|
durationMs: number;
|
|
3242
3290
|
costInCents: number;
|
|
3243
3291
|
baseCostInCents: number;
|
|
3244
3292
|
depth: number;
|
|
3245
|
-
triggerFunction: "
|
|
3293
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3246
3294
|
taskIdentifier: string;
|
|
3247
3295
|
isQueued: boolean;
|
|
3248
3296
|
isExecuting: boolean;
|
|
@@ -3250,19 +3298,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3250
3298
|
isSuccess: boolean;
|
|
3251
3299
|
isFailed: boolean;
|
|
3252
3300
|
isCancelled: boolean;
|
|
3301
|
+
updatedAt: Date;
|
|
3253
3302
|
relatedRuns: {
|
|
3254
3303
|
root?: {
|
|
3255
|
-
status: "COMPLETED" | "
|
|
3304
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3256
3305
|
id: string;
|
|
3257
|
-
|
|
3306
|
+
tags: string[];
|
|
3258
3307
|
isTest: boolean;
|
|
3259
3308
|
createdAt: Date;
|
|
3260
|
-
tags: string[];
|
|
3261
3309
|
durationMs: number;
|
|
3262
3310
|
costInCents: number;
|
|
3263
3311
|
baseCostInCents: number;
|
|
3264
3312
|
depth: number;
|
|
3265
|
-
triggerFunction: "
|
|
3313
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3266
3314
|
taskIdentifier: string;
|
|
3267
3315
|
isQueued: boolean;
|
|
3268
3316
|
isExecuting: boolean;
|
|
@@ -3270,6 +3318,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3270
3318
|
isSuccess: boolean;
|
|
3271
3319
|
isFailed: boolean;
|
|
3272
3320
|
isCancelled: boolean;
|
|
3321
|
+
updatedAt: Date;
|
|
3273
3322
|
batchId?: string | undefined;
|
|
3274
3323
|
idempotencyKey?: string | undefined;
|
|
3275
3324
|
version?: string | undefined;
|
|
@@ -3278,19 +3327,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3278
3327
|
delayedUntil?: Date | undefined;
|
|
3279
3328
|
ttl?: string | undefined;
|
|
3280
3329
|
expiredAt?: Date | undefined;
|
|
3330
|
+
metadata?: Record<string, any> | undefined;
|
|
3281
3331
|
} | undefined;
|
|
3282
3332
|
parent?: {
|
|
3283
|
-
status: "COMPLETED" | "
|
|
3333
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3284
3334
|
id: string;
|
|
3285
|
-
|
|
3335
|
+
tags: string[];
|
|
3286
3336
|
isTest: boolean;
|
|
3287
3337
|
createdAt: Date;
|
|
3288
|
-
tags: string[];
|
|
3289
3338
|
durationMs: number;
|
|
3290
3339
|
costInCents: number;
|
|
3291
3340
|
baseCostInCents: number;
|
|
3292
3341
|
depth: number;
|
|
3293
|
-
triggerFunction: "
|
|
3342
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3294
3343
|
taskIdentifier: string;
|
|
3295
3344
|
isQueued: boolean;
|
|
3296
3345
|
isExecuting: boolean;
|
|
@@ -3298,6 +3347,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3298
3347
|
isSuccess: boolean;
|
|
3299
3348
|
isFailed: boolean;
|
|
3300
3349
|
isCancelled: boolean;
|
|
3350
|
+
updatedAt: Date;
|
|
3301
3351
|
batchId?: string | undefined;
|
|
3302
3352
|
idempotencyKey?: string | undefined;
|
|
3303
3353
|
version?: string | undefined;
|
|
@@ -3306,19 +3356,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3306
3356
|
delayedUntil?: Date | undefined;
|
|
3307
3357
|
ttl?: string | undefined;
|
|
3308
3358
|
expiredAt?: Date | undefined;
|
|
3359
|
+
metadata?: Record<string, any> | undefined;
|
|
3309
3360
|
} | undefined;
|
|
3310
3361
|
children?: {
|
|
3311
|
-
status: "COMPLETED" | "
|
|
3362
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3312
3363
|
id: string;
|
|
3313
|
-
|
|
3364
|
+
tags: string[];
|
|
3314
3365
|
isTest: boolean;
|
|
3315
3366
|
createdAt: Date;
|
|
3316
|
-
tags: string[];
|
|
3317
3367
|
durationMs: number;
|
|
3318
3368
|
costInCents: number;
|
|
3319
3369
|
baseCostInCents: number;
|
|
3320
3370
|
depth: number;
|
|
3321
|
-
triggerFunction: "
|
|
3371
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3322
3372
|
taskIdentifier: string;
|
|
3323
3373
|
isQueued: boolean;
|
|
3324
3374
|
isExecuting: boolean;
|
|
@@ -3326,6 +3376,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3326
3376
|
isSuccess: boolean;
|
|
3327
3377
|
isFailed: boolean;
|
|
3328
3378
|
isCancelled: boolean;
|
|
3379
|
+
updatedAt: Date;
|
|
3329
3380
|
batchId?: string | undefined;
|
|
3330
3381
|
idempotencyKey?: string | undefined;
|
|
3331
3382
|
version?: string | undefined;
|
|
@@ -3334,8 +3385,22 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3334
3385
|
delayedUntil?: Date | undefined;
|
|
3335
3386
|
ttl?: string | undefined;
|
|
3336
3387
|
expiredAt?: Date | undefined;
|
|
3388
|
+
metadata?: Record<string, any> | undefined;
|
|
3337
3389
|
}[] | undefined;
|
|
3338
3390
|
};
|
|
3391
|
+
attempts: ({
|
|
3392
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
|
|
3393
|
+
id: string;
|
|
3394
|
+
createdAt: Date;
|
|
3395
|
+
updatedAt: Date;
|
|
3396
|
+
startedAt?: Date | undefined;
|
|
3397
|
+
completedAt?: Date | undefined;
|
|
3398
|
+
error?: {
|
|
3399
|
+
message: string;
|
|
3400
|
+
name?: string | undefined;
|
|
3401
|
+
stackTrace?: string | undefined;
|
|
3402
|
+
} | undefined;
|
|
3403
|
+
} | undefined)[];
|
|
3339
3404
|
payload?: any;
|
|
3340
3405
|
payloadPresignedUrl?: string | undefined;
|
|
3341
3406
|
output?: any;
|
|
@@ -3358,31 +3423,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3358
3423
|
delayedUntil?: Date | undefined;
|
|
3359
3424
|
ttl?: string | undefined;
|
|
3360
3425
|
expiredAt?: Date | undefined;
|
|
3426
|
+
metadata?: Record<string, any> | undefined;
|
|
3361
3427
|
}, {
|
|
3362
|
-
status: "COMPLETED" | "
|
|
3428
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3363
3429
|
id: string;
|
|
3364
|
-
|
|
3365
|
-
status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
3366
|
-
id: string;
|
|
3367
|
-
updatedAt: Date;
|
|
3368
|
-
createdAt: Date;
|
|
3369
|
-
startedAt?: Date | undefined;
|
|
3370
|
-
completedAt?: Date | undefined;
|
|
3371
|
-
error?: {
|
|
3372
|
-
message: string;
|
|
3373
|
-
name?: string | undefined;
|
|
3374
|
-
stackTrace?: string | undefined;
|
|
3375
|
-
} | undefined;
|
|
3376
|
-
} | undefined)[];
|
|
3377
|
-
updatedAt: Date;
|
|
3430
|
+
tags: string[];
|
|
3378
3431
|
isTest: boolean;
|
|
3379
3432
|
createdAt: Date;
|
|
3380
|
-
tags: string[];
|
|
3381
3433
|
durationMs: number;
|
|
3382
3434
|
costInCents: number;
|
|
3383
3435
|
baseCostInCents: number;
|
|
3384
3436
|
depth: number;
|
|
3385
|
-
triggerFunction: "
|
|
3437
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3386
3438
|
taskIdentifier: string;
|
|
3387
3439
|
isQueued: boolean;
|
|
3388
3440
|
isExecuting: boolean;
|
|
@@ -3390,19 +3442,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3390
3442
|
isSuccess: boolean;
|
|
3391
3443
|
isFailed: boolean;
|
|
3392
3444
|
isCancelled: boolean;
|
|
3445
|
+
updatedAt: Date;
|
|
3393
3446
|
relatedRuns: {
|
|
3394
3447
|
root?: {
|
|
3395
|
-
status: "COMPLETED" | "
|
|
3448
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3396
3449
|
id: string;
|
|
3397
|
-
|
|
3450
|
+
tags: string[];
|
|
3398
3451
|
isTest: boolean;
|
|
3399
3452
|
createdAt: Date;
|
|
3400
|
-
tags: string[];
|
|
3401
3453
|
durationMs: number;
|
|
3402
3454
|
costInCents: number;
|
|
3403
3455
|
baseCostInCents: number;
|
|
3404
3456
|
depth: number;
|
|
3405
|
-
triggerFunction: "
|
|
3457
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3406
3458
|
taskIdentifier: string;
|
|
3407
3459
|
isQueued: boolean;
|
|
3408
3460
|
isExecuting: boolean;
|
|
@@ -3410,6 +3462,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3410
3462
|
isSuccess: boolean;
|
|
3411
3463
|
isFailed: boolean;
|
|
3412
3464
|
isCancelled: boolean;
|
|
3465
|
+
updatedAt: Date;
|
|
3413
3466
|
batchId?: string | undefined;
|
|
3414
3467
|
idempotencyKey?: string | undefined;
|
|
3415
3468
|
version?: string | undefined;
|
|
@@ -3418,19 +3471,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3418
3471
|
delayedUntil?: Date | undefined;
|
|
3419
3472
|
ttl?: string | undefined;
|
|
3420
3473
|
expiredAt?: Date | undefined;
|
|
3474
|
+
metadata?: Record<string, any> | undefined;
|
|
3421
3475
|
} | undefined;
|
|
3422
3476
|
parent?: {
|
|
3423
|
-
status: "COMPLETED" | "
|
|
3477
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3424
3478
|
id: string;
|
|
3425
|
-
|
|
3479
|
+
tags: string[];
|
|
3426
3480
|
isTest: boolean;
|
|
3427
3481
|
createdAt: Date;
|
|
3428
|
-
tags: string[];
|
|
3429
3482
|
durationMs: number;
|
|
3430
3483
|
costInCents: number;
|
|
3431
3484
|
baseCostInCents: number;
|
|
3432
3485
|
depth: number;
|
|
3433
|
-
triggerFunction: "
|
|
3486
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3434
3487
|
taskIdentifier: string;
|
|
3435
3488
|
isQueued: boolean;
|
|
3436
3489
|
isExecuting: boolean;
|
|
@@ -3438,6 +3491,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3438
3491
|
isSuccess: boolean;
|
|
3439
3492
|
isFailed: boolean;
|
|
3440
3493
|
isCancelled: boolean;
|
|
3494
|
+
updatedAt: Date;
|
|
3441
3495
|
batchId?: string | undefined;
|
|
3442
3496
|
idempotencyKey?: string | undefined;
|
|
3443
3497
|
version?: string | undefined;
|
|
@@ -3446,19 +3500,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3446
3500
|
delayedUntil?: Date | undefined;
|
|
3447
3501
|
ttl?: string | undefined;
|
|
3448
3502
|
expiredAt?: Date | undefined;
|
|
3503
|
+
metadata?: Record<string, any> | undefined;
|
|
3449
3504
|
} | undefined;
|
|
3450
3505
|
children?: {
|
|
3451
|
-
status: "COMPLETED" | "
|
|
3506
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3452
3507
|
id: string;
|
|
3453
|
-
|
|
3508
|
+
tags: string[];
|
|
3454
3509
|
isTest: boolean;
|
|
3455
3510
|
createdAt: Date;
|
|
3456
|
-
tags: string[];
|
|
3457
3511
|
durationMs: number;
|
|
3458
3512
|
costInCents: number;
|
|
3459
3513
|
baseCostInCents: number;
|
|
3460
3514
|
depth: number;
|
|
3461
|
-
triggerFunction: "
|
|
3515
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3462
3516
|
taskIdentifier: string;
|
|
3463
3517
|
isQueued: boolean;
|
|
3464
3518
|
isExecuting: boolean;
|
|
@@ -3466,6 +3520,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3466
3520
|
isSuccess: boolean;
|
|
3467
3521
|
isFailed: boolean;
|
|
3468
3522
|
isCancelled: boolean;
|
|
3523
|
+
updatedAt: Date;
|
|
3469
3524
|
batchId?: string | undefined;
|
|
3470
3525
|
idempotencyKey?: string | undefined;
|
|
3471
3526
|
version?: string | undefined;
|
|
@@ -3474,8 +3529,22 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3474
3529
|
delayedUntil?: Date | undefined;
|
|
3475
3530
|
ttl?: string | undefined;
|
|
3476
3531
|
expiredAt?: Date | undefined;
|
|
3532
|
+
metadata?: Record<string, any> | undefined;
|
|
3477
3533
|
}[] | undefined;
|
|
3478
3534
|
};
|
|
3535
|
+
attempts: ({
|
|
3536
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
|
|
3537
|
+
id: string;
|
|
3538
|
+
createdAt: Date;
|
|
3539
|
+
updatedAt: Date;
|
|
3540
|
+
startedAt?: Date | undefined;
|
|
3541
|
+
completedAt?: Date | undefined;
|
|
3542
|
+
error?: {
|
|
3543
|
+
message: string;
|
|
3544
|
+
name?: string | undefined;
|
|
3545
|
+
stackTrace?: string | undefined;
|
|
3546
|
+
} | undefined;
|
|
3547
|
+
} | undefined)[];
|
|
3479
3548
|
payload?: any;
|
|
3480
3549
|
payloadPresignedUrl?: string | undefined;
|
|
3481
3550
|
output?: any;
|
|
@@ -3498,6 +3567,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3498
3567
|
delayedUntil?: Date | undefined;
|
|
3499
3568
|
ttl?: string | undefined;
|
|
3500
3569
|
expiredAt?: Date | undefined;
|
|
3570
|
+
metadata?: Record<string, any> | undefined;
|
|
3501
3571
|
}>;
|
|
3502
3572
|
export type RetrieveRunResponse = z.infer<typeof RetrieveRunResponse>;
|
|
3503
3573
|
export declare const ListRunResponseItem: z.ZodObject<{
|
|
@@ -3515,7 +3585,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3515
3585
|
user?: string | undefined;
|
|
3516
3586
|
}>;
|
|
3517
3587
|
id: z.ZodString;
|
|
3518
|
-
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
|
|
3588
|
+
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
3519
3589
|
taskIdentifier: z.ZodString;
|
|
3520
3590
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3521
3591
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -3537,13 +3607,13 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3537
3607
|
costInCents: z.ZodNumber;
|
|
3538
3608
|
baseCostInCents: z.ZodNumber;
|
|
3539
3609
|
durationMs: z.ZodNumber;
|
|
3610
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3540
3611
|
}, "strip", z.ZodTypeAny, {
|
|
3541
|
-
status: "COMPLETED" | "
|
|
3612
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3542
3613
|
id: string;
|
|
3543
|
-
|
|
3614
|
+
tags: string[];
|
|
3544
3615
|
isTest: boolean;
|
|
3545
3616
|
createdAt: Date;
|
|
3546
|
-
tags: string[];
|
|
3547
3617
|
durationMs: number;
|
|
3548
3618
|
costInCents: number;
|
|
3549
3619
|
baseCostInCents: number;
|
|
@@ -3554,6 +3624,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3554
3624
|
isSuccess: boolean;
|
|
3555
3625
|
isFailed: boolean;
|
|
3556
3626
|
isCancelled: boolean;
|
|
3627
|
+
updatedAt: Date;
|
|
3557
3628
|
env: {
|
|
3558
3629
|
name: string;
|
|
3559
3630
|
id: string;
|
|
@@ -3566,13 +3637,13 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3566
3637
|
delayedUntil?: Date | undefined;
|
|
3567
3638
|
ttl?: string | undefined;
|
|
3568
3639
|
expiredAt?: Date | undefined;
|
|
3640
|
+
metadata?: Record<string, any> | undefined;
|
|
3569
3641
|
}, {
|
|
3570
|
-
status: "COMPLETED" | "
|
|
3642
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3571
3643
|
id: string;
|
|
3572
|
-
|
|
3644
|
+
tags: string[];
|
|
3573
3645
|
isTest: boolean;
|
|
3574
3646
|
createdAt: Date;
|
|
3575
|
-
tags: string[];
|
|
3576
3647
|
durationMs: number;
|
|
3577
3648
|
costInCents: number;
|
|
3578
3649
|
baseCostInCents: number;
|
|
@@ -3583,6 +3654,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3583
3654
|
isSuccess: boolean;
|
|
3584
3655
|
isFailed: boolean;
|
|
3585
3656
|
isCancelled: boolean;
|
|
3657
|
+
updatedAt: Date;
|
|
3586
3658
|
env: {
|
|
3587
3659
|
name: string;
|
|
3588
3660
|
id: string;
|
|
@@ -3595,6 +3667,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3595
3667
|
delayedUntil?: Date | undefined;
|
|
3596
3668
|
ttl?: string | undefined;
|
|
3597
3669
|
expiredAt?: Date | undefined;
|
|
3670
|
+
metadata?: Record<string, any> | undefined;
|
|
3598
3671
|
}>;
|
|
3599
3672
|
export type ListRunResponseItem = z.infer<typeof ListRunResponseItem>;
|
|
3600
3673
|
export declare const ListRunResponse: z.ZodObject<{
|
|
@@ -3613,7 +3686,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3613
3686
|
user?: string | undefined;
|
|
3614
3687
|
}>;
|
|
3615
3688
|
id: z.ZodString;
|
|
3616
|
-
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
|
|
3689
|
+
status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
3617
3690
|
taskIdentifier: z.ZodString;
|
|
3618
3691
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3619
3692
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -3635,13 +3708,13 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3635
3708
|
costInCents: z.ZodNumber;
|
|
3636
3709
|
baseCostInCents: z.ZodNumber;
|
|
3637
3710
|
durationMs: z.ZodNumber;
|
|
3711
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3638
3712
|
}, "strip", z.ZodTypeAny, {
|
|
3639
|
-
status: "COMPLETED" | "
|
|
3713
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3640
3714
|
id: string;
|
|
3641
|
-
|
|
3715
|
+
tags: string[];
|
|
3642
3716
|
isTest: boolean;
|
|
3643
3717
|
createdAt: Date;
|
|
3644
|
-
tags: string[];
|
|
3645
3718
|
durationMs: number;
|
|
3646
3719
|
costInCents: number;
|
|
3647
3720
|
baseCostInCents: number;
|
|
@@ -3652,6 +3725,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3652
3725
|
isSuccess: boolean;
|
|
3653
3726
|
isFailed: boolean;
|
|
3654
3727
|
isCancelled: boolean;
|
|
3728
|
+
updatedAt: Date;
|
|
3655
3729
|
env: {
|
|
3656
3730
|
name: string;
|
|
3657
3731
|
id: string;
|
|
@@ -3664,13 +3738,13 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3664
3738
|
delayedUntil?: Date | undefined;
|
|
3665
3739
|
ttl?: string | undefined;
|
|
3666
3740
|
expiredAt?: Date | undefined;
|
|
3741
|
+
metadata?: Record<string, any> | undefined;
|
|
3667
3742
|
}, {
|
|
3668
|
-
status: "COMPLETED" | "
|
|
3743
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3669
3744
|
id: string;
|
|
3670
|
-
|
|
3745
|
+
tags: string[];
|
|
3671
3746
|
isTest: boolean;
|
|
3672
3747
|
createdAt: Date;
|
|
3673
|
-
tags: string[];
|
|
3674
3748
|
durationMs: number;
|
|
3675
3749
|
costInCents: number;
|
|
3676
3750
|
baseCostInCents: number;
|
|
@@ -3681,6 +3755,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3681
3755
|
isSuccess: boolean;
|
|
3682
3756
|
isFailed: boolean;
|
|
3683
3757
|
isCancelled: boolean;
|
|
3758
|
+
updatedAt: Date;
|
|
3684
3759
|
env: {
|
|
3685
3760
|
name: string;
|
|
3686
3761
|
id: string;
|
|
@@ -3693,6 +3768,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3693
3768
|
delayedUntil?: Date | undefined;
|
|
3694
3769
|
ttl?: string | undefined;
|
|
3695
3770
|
expiredAt?: Date | undefined;
|
|
3771
|
+
metadata?: Record<string, any> | undefined;
|
|
3696
3772
|
}>, "many">;
|
|
3697
3773
|
pagination: z.ZodObject<{
|
|
3698
3774
|
next: z.ZodOptional<z.ZodString>;
|
|
@@ -3706,12 +3782,11 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3706
3782
|
}>;
|
|
3707
3783
|
}, "strip", z.ZodTypeAny, {
|
|
3708
3784
|
data: {
|
|
3709
|
-
status: "COMPLETED" | "
|
|
3785
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3710
3786
|
id: string;
|
|
3711
|
-
|
|
3787
|
+
tags: string[];
|
|
3712
3788
|
isTest: boolean;
|
|
3713
3789
|
createdAt: Date;
|
|
3714
|
-
tags: string[];
|
|
3715
3790
|
durationMs: number;
|
|
3716
3791
|
costInCents: number;
|
|
3717
3792
|
baseCostInCents: number;
|
|
@@ -3722,6 +3797,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3722
3797
|
isSuccess: boolean;
|
|
3723
3798
|
isFailed: boolean;
|
|
3724
3799
|
isCancelled: boolean;
|
|
3800
|
+
updatedAt: Date;
|
|
3725
3801
|
env: {
|
|
3726
3802
|
name: string;
|
|
3727
3803
|
id: string;
|
|
@@ -3734,6 +3810,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3734
3810
|
delayedUntil?: Date | undefined;
|
|
3735
3811
|
ttl?: string | undefined;
|
|
3736
3812
|
expiredAt?: Date | undefined;
|
|
3813
|
+
metadata?: Record<string, any> | undefined;
|
|
3737
3814
|
}[];
|
|
3738
3815
|
pagination: {
|
|
3739
3816
|
next?: string | undefined;
|
|
@@ -3741,12 +3818,11 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3741
3818
|
};
|
|
3742
3819
|
}, {
|
|
3743
3820
|
data: {
|
|
3744
|
-
status: "COMPLETED" | "
|
|
3821
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3745
3822
|
id: string;
|
|
3746
|
-
|
|
3823
|
+
tags: string[];
|
|
3747
3824
|
isTest: boolean;
|
|
3748
3825
|
createdAt: Date;
|
|
3749
|
-
tags: string[];
|
|
3750
3826
|
durationMs: number;
|
|
3751
3827
|
costInCents: number;
|
|
3752
3828
|
baseCostInCents: number;
|
|
@@ -3757,6 +3833,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3757
3833
|
isSuccess: boolean;
|
|
3758
3834
|
isFailed: boolean;
|
|
3759
3835
|
isCancelled: boolean;
|
|
3836
|
+
updatedAt: Date;
|
|
3760
3837
|
env: {
|
|
3761
3838
|
name: string;
|
|
3762
3839
|
id: string;
|
|
@@ -3769,6 +3846,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3769
3846
|
delayedUntil?: Date | undefined;
|
|
3770
3847
|
ttl?: string | undefined;
|
|
3771
3848
|
expiredAt?: Date | undefined;
|
|
3849
|
+
metadata?: Record<string, any> | undefined;
|
|
3772
3850
|
}[];
|
|
3773
3851
|
pagination: {
|
|
3774
3852
|
next?: string | undefined;
|
|
@@ -3843,3 +3921,22 @@ export declare const EnvironmentVariables: z.ZodArray<z.ZodObject<{
|
|
|
3843
3921
|
name: string;
|
|
3844
3922
|
}>, "many">;
|
|
3845
3923
|
export type EnvironmentVariables = z.infer<typeof EnvironmentVariables>;
|
|
3924
|
+
export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
3925
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>>;
|
|
3926
|
+
metadataType: z.ZodOptional<z.ZodString>;
|
|
3927
|
+
}, "strip", z.ZodTypeAny, {
|
|
3928
|
+
metadata: Record<string, import("../../schemas/json.js").DeserializedJson>;
|
|
3929
|
+
metadataType?: string | undefined;
|
|
3930
|
+
}, {
|
|
3931
|
+
metadata: Record<string, import("../../schemas/json.js").DeserializedJson>;
|
|
3932
|
+
metadataType?: string | undefined;
|
|
3933
|
+
}>;
|
|
3934
|
+
export type UpdateMetadataRequestBody = z.infer<typeof UpdateMetadataRequestBody>;
|
|
3935
|
+
export declare const UpdateMetadataResponseBody: z.ZodObject<{
|
|
3936
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>>;
|
|
3937
|
+
}, "strip", z.ZodTypeAny, {
|
|
3938
|
+
metadata: Record<string, import("../../schemas/json.js").DeserializedJson>;
|
|
3939
|
+
}, {
|
|
3940
|
+
metadata: Record<string, import("../../schemas/json.js").DeserializedJson>;
|
|
3941
|
+
}>;
|
|
3942
|
+
export type UpdateMetadataResponseBody = z.infer<typeof UpdateMetadataResponseBody>;
|