@trigger.dev/core 0.0.0-svelte-test-20231206141434 → 0.0.0-v3-canary-20240321105132
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/eventFilterMatches-2kHImluE.d.mts +133 -0
- package/dist/eventFilterMatches-2kHImluE.d.ts +133 -0
- package/dist/index.d.mts +106 -229
- package/dist/index.d.ts +106 -229
- package/dist/index.js +25 -191
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -191
- package/dist/index.mjs.map +1 -1
- package/dist/v3/index.d.mts +19374 -0
- package/dist/v3/index.d.ts +19374 -0
- package/dist/v3/index.js +3910 -0
- package/dist/v3/index.js.map +1 -0
- package/dist/v3/index.mjs +3761 -0
- package/dist/v3/index.mjs.map +1 -0
- package/dist/v3/otel/index.d.mts +39 -0
- package/dist/v3/otel/index.d.ts +39 -0
- package/dist/v3/otel/index.js +423 -0
- package/dist/v3/otel/index.js.map +1 -0
- package/dist/v3/otel/index.mjs +412 -0
- package/dist/v3/otel/index.mjs.map +1 -0
- package/package.json +48 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,140 +1,7 @@
|
|
|
1
|
+
import { E as EventFilter } from './eventFilterMatches-2kHImluE.mjs';
|
|
2
|
+
export { a as EventFilterSchema, c as EventRule, b as EventRuleSchema, e as eventFilterMatches, s as stringPatternMatchers } from './eventFilterMatches-2kHImluE.mjs';
|
|
1
3
|
import { z } from 'zod';
|
|
2
4
|
|
|
3
|
-
type LogLevel = "log" | "error" | "warn" | "info" | "debug";
|
|
4
|
-
declare class Logger {
|
|
5
|
-
#private;
|
|
6
|
-
constructor(name: string, level?: LogLevel, filteredKeys?: string[], jsonReplacer?: (key: string, value: unknown) => unknown, additionalFields?: () => Record<string, unknown>);
|
|
7
|
-
filter(...keys: string[]): Logger;
|
|
8
|
-
static satisfiesLogLevel(logLevel: LogLevel, setLevel: LogLevel): boolean;
|
|
9
|
-
log(message: string, ...args: Array<Record<string, unknown> | undefined>): void;
|
|
10
|
-
error(message: string, ...args: Array<Record<string, unknown> | undefined>): void;
|
|
11
|
-
warn(message: string, ...args: Array<Record<string, unknown> | undefined>): void;
|
|
12
|
-
info(message: string, ...args: Array<Record<string, unknown> | undefined>): void;
|
|
13
|
-
debug(message: string, ...args: Array<Record<string, unknown> | undefined>): void;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
declare const stringPatternMatchers: readonly [z.ZodObject<{
|
|
17
|
-
$endsWith: z.ZodString;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
$endsWith: string;
|
|
20
|
-
}, {
|
|
21
|
-
$endsWith: string;
|
|
22
|
-
}>, z.ZodObject<{
|
|
23
|
-
$startsWith: z.ZodString;
|
|
24
|
-
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
$startsWith: string;
|
|
26
|
-
}, {
|
|
27
|
-
$startsWith: string;
|
|
28
|
-
}>, z.ZodObject<{
|
|
29
|
-
$ignoreCaseEquals: z.ZodString;
|
|
30
|
-
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
$ignoreCaseEquals: string;
|
|
32
|
-
}, {
|
|
33
|
-
$ignoreCaseEquals: string;
|
|
34
|
-
}>];
|
|
35
|
-
declare const EventMatcherSchema: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodBoolean, "many">, z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
36
|
-
$endsWith: z.ZodString;
|
|
37
|
-
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
$endsWith: string;
|
|
39
|
-
}, {
|
|
40
|
-
$endsWith: string;
|
|
41
|
-
}>, z.ZodObject<{
|
|
42
|
-
$startsWith: z.ZodString;
|
|
43
|
-
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
$startsWith: string;
|
|
45
|
-
}, {
|
|
46
|
-
$startsWith: string;
|
|
47
|
-
}>, z.ZodObject<{
|
|
48
|
-
$ignoreCaseEquals: z.ZodString;
|
|
49
|
-
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
$ignoreCaseEquals: string;
|
|
51
|
-
}, {
|
|
52
|
-
$ignoreCaseEquals: string;
|
|
53
|
-
}>, z.ZodObject<{
|
|
54
|
-
$exists: z.ZodBoolean;
|
|
55
|
-
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
$exists: boolean;
|
|
57
|
-
}, {
|
|
58
|
-
$exists: boolean;
|
|
59
|
-
}>, z.ZodObject<{
|
|
60
|
-
$isNull: z.ZodBoolean;
|
|
61
|
-
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
$isNull: boolean;
|
|
63
|
-
}, {
|
|
64
|
-
$isNull: boolean;
|
|
65
|
-
}>, z.ZodObject<{
|
|
66
|
-
$anythingBut: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
67
|
-
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
$anythingBut: string | number | boolean;
|
|
69
|
-
}, {
|
|
70
|
-
$anythingBut: string | number | boolean;
|
|
71
|
-
}>, z.ZodObject<{
|
|
72
|
-
$anythingBut: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodBoolean, "many">]>;
|
|
73
|
-
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
$anythingBut: (string[] | number[] | boolean[]) & (string[] | number[] | boolean[] | undefined);
|
|
75
|
-
}, {
|
|
76
|
-
$anythingBut: (string[] | number[] | boolean[]) & (string[] | number[] | boolean[] | undefined);
|
|
77
|
-
}>, z.ZodObject<{
|
|
78
|
-
$gt: z.ZodNumber;
|
|
79
|
-
}, "strip", z.ZodTypeAny, {
|
|
80
|
-
$gt: number;
|
|
81
|
-
}, {
|
|
82
|
-
$gt: number;
|
|
83
|
-
}>, z.ZodObject<{
|
|
84
|
-
$lt: z.ZodNumber;
|
|
85
|
-
}, "strip", z.ZodTypeAny, {
|
|
86
|
-
$lt: number;
|
|
87
|
-
}, {
|
|
88
|
-
$lt: number;
|
|
89
|
-
}>, z.ZodObject<{
|
|
90
|
-
$gte: z.ZodNumber;
|
|
91
|
-
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
$gte: number;
|
|
93
|
-
}, {
|
|
94
|
-
$gte: number;
|
|
95
|
-
}>, z.ZodObject<{
|
|
96
|
-
$lte: z.ZodNumber;
|
|
97
|
-
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
$lte: number;
|
|
99
|
-
}, {
|
|
100
|
-
$lte: number;
|
|
101
|
-
}>, z.ZodObject<{
|
|
102
|
-
$between: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
103
|
-
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
$between: [number, number];
|
|
105
|
-
}, {
|
|
106
|
-
$between: [number, number];
|
|
107
|
-
}>, z.ZodObject<{
|
|
108
|
-
$includes: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
109
|
-
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
$includes: string | number | boolean;
|
|
111
|
-
}, {
|
|
112
|
-
$includes: string | number | boolean;
|
|
113
|
-
}>]>, "many">]>;
|
|
114
|
-
type EventMatcher = z.infer<typeof EventMatcherSchema>;
|
|
115
|
-
/** A filter for matching against data */
|
|
116
|
-
type EventFilter = {
|
|
117
|
-
[key: string]: EventMatcher | EventFilter;
|
|
118
|
-
};
|
|
119
|
-
declare const EventFilterSchema: z.ZodType<EventFilter>;
|
|
120
|
-
declare const EventRuleSchema: z.ZodObject<{
|
|
121
|
-
event: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
122
|
-
source: z.ZodString;
|
|
123
|
-
payload: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
|
|
124
|
-
context: z.ZodOptional<z.ZodType<EventFilter, z.ZodTypeDef, EventFilter>>;
|
|
125
|
-
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
event: (string | string[]) & (string | string[] | undefined);
|
|
127
|
-
source: string;
|
|
128
|
-
payload?: EventFilter | undefined;
|
|
129
|
-
context?: EventFilter | undefined;
|
|
130
|
-
}, {
|
|
131
|
-
event: (string | string[]) & (string | string[] | undefined);
|
|
132
|
-
source: string;
|
|
133
|
-
payload?: EventFilter | undefined;
|
|
134
|
-
context?: EventFilter | undefined;
|
|
135
|
-
}>;
|
|
136
|
-
type EventRule = z.infer<typeof EventRuleSchema>;
|
|
137
|
-
|
|
138
5
|
declare const LiteralSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
139
6
|
type Literal = z.infer<typeof LiteralSchema>;
|
|
140
7
|
type DeserializedJson = Literal | {
|
|
@@ -290,10 +157,10 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
290
157
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
291
158
|
}>;
|
|
292
159
|
declare const ServerTaskSchema: z.ZodObject<{
|
|
293
|
-
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
294
160
|
name: z.ZodString;
|
|
295
161
|
params: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
296
162
|
status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
|
|
163
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
297
164
|
context: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
298
165
|
id: z.ZodString;
|
|
299
166
|
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -359,8 +226,8 @@ declare const ServerTaskSchema: z.ZodObject<{
|
|
|
359
226
|
noop: boolean;
|
|
360
227
|
idempotencyKey: string;
|
|
361
228
|
attempts: number;
|
|
362
|
-
error?: string | null | undefined;
|
|
363
229
|
params?: DeserializedJson | undefined;
|
|
230
|
+
error?: string | null | undefined;
|
|
364
231
|
context?: DeserializedJson | undefined;
|
|
365
232
|
style?: {
|
|
366
233
|
style: "normal" | "minimal";
|
|
@@ -396,8 +263,8 @@ declare const ServerTaskSchema: z.ZodObject<{
|
|
|
396
263
|
noop: boolean;
|
|
397
264
|
idempotencyKey: string;
|
|
398
265
|
attempts: number;
|
|
399
|
-
error?: string | null | undefined;
|
|
400
266
|
params?: DeserializedJson | undefined;
|
|
267
|
+
error?: string | null | undefined;
|
|
401
268
|
context?: DeserializedJson | undefined;
|
|
402
269
|
style?: {
|
|
403
270
|
style: "normal" | "minimal";
|
|
@@ -564,8 +431,8 @@ declare const RegisterWebhookSourceSchema: z.ZodObject<{
|
|
|
564
431
|
data: z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>;
|
|
565
432
|
clientId: z.ZodOptional<z.ZodString>;
|
|
566
433
|
}, "strip", z.ZodTypeAny, {
|
|
567
|
-
key: string;
|
|
568
434
|
url: string;
|
|
435
|
+
key: string;
|
|
569
436
|
secret: string;
|
|
570
437
|
active: boolean;
|
|
571
438
|
params?: any;
|
|
@@ -573,8 +440,8 @@ declare const RegisterWebhookSourceSchema: z.ZodObject<{
|
|
|
573
440
|
data?: DeserializedJson | undefined;
|
|
574
441
|
clientId?: string | undefined;
|
|
575
442
|
}, {
|
|
576
|
-
key: string;
|
|
577
443
|
url: string;
|
|
444
|
+
key: string;
|
|
578
445
|
secret: string;
|
|
579
446
|
active: boolean;
|
|
580
447
|
params?: any;
|
|
@@ -685,11 +552,11 @@ declare const SourceEventOptionSchema: z.ZodObject<{
|
|
|
685
552
|
name: z.ZodString;
|
|
686
553
|
value: z.ZodString;
|
|
687
554
|
}, "strip", z.ZodTypeAny, {
|
|
688
|
-
value: string;
|
|
689
555
|
name: string;
|
|
690
|
-
}, {
|
|
691
556
|
value: string;
|
|
557
|
+
}, {
|
|
692
558
|
name: string;
|
|
559
|
+
value: string;
|
|
693
560
|
}>;
|
|
694
561
|
type SourceEventOption = z.infer<typeof SourceEventOptionSchema>;
|
|
695
562
|
declare const RegisterSourceEventSchemaV1: z.ZodObject<{
|
|
@@ -1028,11 +895,11 @@ declare const TriggerSourceSchema: z.ZodObject<{
|
|
|
1028
895
|
id: z.ZodString;
|
|
1029
896
|
key: z.ZodString;
|
|
1030
897
|
}, "strip", z.ZodTypeAny, {
|
|
1031
|
-
key: string;
|
|
1032
898
|
id: string;
|
|
1033
|
-
}, {
|
|
1034
899
|
key: string;
|
|
900
|
+
}, {
|
|
1035
901
|
id: string;
|
|
902
|
+
key: string;
|
|
1036
903
|
}>;
|
|
1037
904
|
declare const HttpSourceResponseMetadataSchema: z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>;
|
|
1038
905
|
type HttpSourceResponseMetadata = z.infer<typeof HttpSourceResponseMetadataSchema>;
|
|
@@ -1865,8 +1732,8 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1865
1732
|
id: string;
|
|
1866
1733
|
}>>;
|
|
1867
1734
|
}, "strip", z.ZodTypeAny, {
|
|
1868
|
-
key: string;
|
|
1869
1735
|
version: "1";
|
|
1736
|
+
key: string;
|
|
1870
1737
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
1871
1738
|
events: string[];
|
|
1872
1739
|
integration: {
|
|
@@ -1884,8 +1751,8 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1884
1751
|
id: string;
|
|
1885
1752
|
} | undefined;
|
|
1886
1753
|
}, {
|
|
1887
|
-
key: string;
|
|
1888
1754
|
version: "1";
|
|
1755
|
+
key: string;
|
|
1889
1756
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
1890
1757
|
events: string[];
|
|
1891
1758
|
integration: {
|
|
@@ -1954,9 +1821,9 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1954
1821
|
id: string;
|
|
1955
1822
|
}>>;
|
|
1956
1823
|
}, "strip", z.ZodTypeAny, {
|
|
1957
|
-
key: string;
|
|
1958
1824
|
version: "2";
|
|
1959
1825
|
options: Record<string, string[]>;
|
|
1826
|
+
key: string;
|
|
1960
1827
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
1961
1828
|
integration: {
|
|
1962
1829
|
id: string;
|
|
@@ -1973,9 +1840,9 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1973
1840
|
id: string;
|
|
1974
1841
|
} | undefined;
|
|
1975
1842
|
}, {
|
|
1976
|
-
key: string;
|
|
1977
1843
|
version: "2";
|
|
1978
1844
|
options: Record<string, string[]>;
|
|
1845
|
+
key: string;
|
|
1979
1846
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
1980
1847
|
integration: {
|
|
1981
1848
|
id: string;
|
|
@@ -3302,8 +3169,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3302
3169
|
id: string;
|
|
3303
3170
|
}>>;
|
|
3304
3171
|
}, "strip", z.ZodTypeAny, {
|
|
3305
|
-
key: string;
|
|
3306
3172
|
version: "1";
|
|
3173
|
+
key: string;
|
|
3307
3174
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
3308
3175
|
events: string[];
|
|
3309
3176
|
integration: {
|
|
@@ -3321,8 +3188,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3321
3188
|
id: string;
|
|
3322
3189
|
} | undefined;
|
|
3323
3190
|
}, {
|
|
3324
|
-
key: string;
|
|
3325
3191
|
version: "1";
|
|
3192
|
+
key: string;
|
|
3326
3193
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
3327
3194
|
events: string[];
|
|
3328
3195
|
integration: {
|
|
@@ -3389,9 +3256,9 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3389
3256
|
id: string;
|
|
3390
3257
|
}>>;
|
|
3391
3258
|
}, "strip", z.ZodTypeAny, {
|
|
3392
|
-
key: string;
|
|
3393
3259
|
version: "2";
|
|
3394
3260
|
options: Record<string, string[]>;
|
|
3261
|
+
key: string;
|
|
3395
3262
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
3396
3263
|
integration: {
|
|
3397
3264
|
id: string;
|
|
@@ -3408,9 +3275,9 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3408
3275
|
id: string;
|
|
3409
3276
|
} | undefined;
|
|
3410
3277
|
}, {
|
|
3411
|
-
key: string;
|
|
3412
3278
|
version: "2";
|
|
3413
3279
|
options: Record<string, string[]>;
|
|
3280
|
+
key: string;
|
|
3414
3281
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
3415
3282
|
integration: {
|
|
3416
3283
|
id: string;
|
|
@@ -3427,8 +3294,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3427
3294
|
id: string;
|
|
3428
3295
|
} | undefined;
|
|
3429
3296
|
}>]>, {
|
|
3430
|
-
key: string;
|
|
3431
3297
|
version: "1";
|
|
3298
|
+
key: string;
|
|
3432
3299
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
3433
3300
|
events: string[];
|
|
3434
3301
|
integration: {
|
|
@@ -3446,9 +3313,9 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3446
3313
|
id: string;
|
|
3447
3314
|
} | undefined;
|
|
3448
3315
|
} | {
|
|
3449
|
-
key: string;
|
|
3450
3316
|
version: "2";
|
|
3451
3317
|
options: Record<string, string[]>;
|
|
3318
|
+
key: string;
|
|
3452
3319
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
3453
3320
|
integration: {
|
|
3454
3321
|
id: string;
|
|
@@ -4313,8 +4180,8 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
4313
4180
|
} | undefined;
|
|
4314
4181
|
}[];
|
|
4315
4182
|
sources: ({
|
|
4316
|
-
key: string;
|
|
4317
4183
|
version: "1";
|
|
4184
|
+
key: string;
|
|
4318
4185
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
4319
4186
|
events: string[];
|
|
4320
4187
|
integration: {
|
|
@@ -4332,9 +4199,9 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
4332
4199
|
id: string;
|
|
4333
4200
|
} | undefined;
|
|
4334
4201
|
} | {
|
|
4335
|
-
key: string;
|
|
4336
4202
|
version: "2";
|
|
4337
4203
|
options: Record<string, string[]>;
|
|
4204
|
+
key: string;
|
|
4338
4205
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
4339
4206
|
integration: {
|
|
4340
4207
|
id: string;
|
|
@@ -4740,18 +4607,18 @@ declare const GetEndpointIndexResponseSchema: z.ZodDiscriminatedUnion<"status",
|
|
|
4740
4607
|
}>;
|
|
4741
4608
|
updatedAt: z.ZodDate;
|
|
4742
4609
|
}, "strip", z.ZodTypeAny, {
|
|
4610
|
+
status: "FAILURE";
|
|
4743
4611
|
error: {
|
|
4744
4612
|
message: string;
|
|
4745
4613
|
raw?: any;
|
|
4746
4614
|
};
|
|
4747
|
-
status: "FAILURE";
|
|
4748
4615
|
updatedAt: Date;
|
|
4749
4616
|
}, {
|
|
4617
|
+
status: "FAILURE";
|
|
4750
4618
|
error: {
|
|
4751
4619
|
message: string;
|
|
4752
4620
|
raw?: any;
|
|
4753
4621
|
};
|
|
4754
|
-
status: "FAILURE";
|
|
4755
4622
|
updatedAt: Date;
|
|
4756
4623
|
}>]>;
|
|
4757
4624
|
type GetEndpointIndexResponse = z.infer<typeof GetEndpointIndexResponseSchema>;
|
|
@@ -5643,12 +5510,12 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
5643
5510
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
5644
5511
|
}>>;
|
|
5645
5512
|
}, "strip", z.ZodTypeAny, {
|
|
5513
|
+
status: "ERROR";
|
|
5646
5514
|
error: {
|
|
5647
5515
|
message: string;
|
|
5648
5516
|
name?: string | undefined;
|
|
5649
5517
|
stack?: string | undefined;
|
|
5650
5518
|
};
|
|
5651
|
-
status: "ERROR";
|
|
5652
5519
|
task?: {
|
|
5653
5520
|
name: string;
|
|
5654
5521
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -5685,12 +5552,12 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
5685
5552
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
5686
5553
|
} | undefined;
|
|
5687
5554
|
}, {
|
|
5555
|
+
status: "ERROR";
|
|
5688
5556
|
error: {
|
|
5689
5557
|
message: string;
|
|
5690
5558
|
name?: string | undefined;
|
|
5691
5559
|
stack?: string | undefined;
|
|
5692
5560
|
};
|
|
5693
|
-
status: "ERROR";
|
|
5694
5561
|
task?: {
|
|
5695
5562
|
name: string;
|
|
5696
5563
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -5732,11 +5599,11 @@ declare const RunJobYieldExecutionErrorSchema: z.ZodObject<{
|
|
|
5732
5599
|
status: z.ZodLiteral<"YIELD_EXECUTION">;
|
|
5733
5600
|
key: z.ZodString;
|
|
5734
5601
|
}, "strip", z.ZodTypeAny, {
|
|
5735
|
-
key: string;
|
|
5736
5602
|
status: "YIELD_EXECUTION";
|
|
5737
|
-
}, {
|
|
5738
5603
|
key: string;
|
|
5604
|
+
}, {
|
|
5739
5605
|
status: "YIELD_EXECUTION";
|
|
5606
|
+
key: string;
|
|
5740
5607
|
}>;
|
|
5741
5608
|
type RunJobYieldExecutionError = z.infer<typeof RunJobYieldExecutionErrorSchema>;
|
|
5742
5609
|
declare const AutoYieldMetadataSchema: z.ZodObject<{
|
|
@@ -6251,12 +6118,12 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
6251
6118
|
}>;
|
|
6252
6119
|
retryAt: z.ZodDate;
|
|
6253
6120
|
}, "strip", z.ZodTypeAny, {
|
|
6121
|
+
status: "RETRY_WITH_TASK";
|
|
6254
6122
|
error: {
|
|
6255
6123
|
message: string;
|
|
6256
6124
|
name?: string | undefined;
|
|
6257
6125
|
stack?: string | undefined;
|
|
6258
6126
|
};
|
|
6259
|
-
status: "RETRY_WITH_TASK";
|
|
6260
6127
|
task: {
|
|
6261
6128
|
name: string;
|
|
6262
6129
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -6294,12 +6161,12 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
6294
6161
|
};
|
|
6295
6162
|
retryAt: Date;
|
|
6296
6163
|
}, {
|
|
6164
|
+
status: "RETRY_WITH_TASK";
|
|
6297
6165
|
error: {
|
|
6298
6166
|
message: string;
|
|
6299
6167
|
name?: string | undefined;
|
|
6300
6168
|
stack?: string | undefined;
|
|
6301
6169
|
};
|
|
6302
|
-
status: "RETRY_WITH_TASK";
|
|
6303
6170
|
task: {
|
|
6304
6171
|
name: string;
|
|
6305
6172
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -6646,11 +6513,11 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6646
6513
|
status: z.ZodLiteral<"YIELD_EXECUTION">;
|
|
6647
6514
|
key: z.ZodString;
|
|
6648
6515
|
}, "strip", z.ZodTypeAny, {
|
|
6649
|
-
key: string;
|
|
6650
6516
|
status: "YIELD_EXECUTION";
|
|
6651
|
-
}, {
|
|
6652
6517
|
key: string;
|
|
6518
|
+
}, {
|
|
6653
6519
|
status: "YIELD_EXECUTION";
|
|
6520
|
+
key: string;
|
|
6654
6521
|
}>, z.ZodObject<{
|
|
6655
6522
|
status: z.ZodLiteral<"ERROR">;
|
|
6656
6523
|
error: z.ZodObject<{
|
|
@@ -6796,12 +6663,12 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6796
6663
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
6797
6664
|
}>>;
|
|
6798
6665
|
}, "strip", z.ZodTypeAny, {
|
|
6666
|
+
status: "ERROR";
|
|
6799
6667
|
error: {
|
|
6800
6668
|
message: string;
|
|
6801
6669
|
name?: string | undefined;
|
|
6802
6670
|
stack?: string | undefined;
|
|
6803
6671
|
};
|
|
6804
|
-
status: "ERROR";
|
|
6805
6672
|
task?: {
|
|
6806
6673
|
name: string;
|
|
6807
6674
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -6838,12 +6705,12 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6838
6705
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
6839
6706
|
} | undefined;
|
|
6840
6707
|
}, {
|
|
6708
|
+
status: "ERROR";
|
|
6841
6709
|
error: {
|
|
6842
6710
|
message: string;
|
|
6843
6711
|
name?: string | undefined;
|
|
6844
6712
|
stack?: string | undefined;
|
|
6845
6713
|
};
|
|
6846
|
-
status: "ERROR";
|
|
6847
6714
|
task?: {
|
|
6848
6715
|
name: string;
|
|
6849
6716
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -7278,12 +7145,12 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
7278
7145
|
}>;
|
|
7279
7146
|
retryAt: z.ZodDate;
|
|
7280
7147
|
}, "strip", z.ZodTypeAny, {
|
|
7148
|
+
status: "RETRY_WITH_TASK";
|
|
7281
7149
|
error: {
|
|
7282
7150
|
message: string;
|
|
7283
7151
|
name?: string | undefined;
|
|
7284
7152
|
stack?: string | undefined;
|
|
7285
7153
|
};
|
|
7286
|
-
status: "RETRY_WITH_TASK";
|
|
7287
7154
|
task: {
|
|
7288
7155
|
name: string;
|
|
7289
7156
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -7321,12 +7188,12 @@ declare const RunJobErrorResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
7321
7188
|
};
|
|
7322
7189
|
retryAt: Date;
|
|
7323
7190
|
}, {
|
|
7191
|
+
status: "RETRY_WITH_TASK";
|
|
7324
7192
|
error: {
|
|
7325
7193
|
message: string;
|
|
7326
7194
|
name?: string | undefined;
|
|
7327
7195
|
stack?: string | undefined;
|
|
7328
7196
|
};
|
|
7329
|
-
status: "RETRY_WITH_TASK";
|
|
7330
7197
|
task: {
|
|
7331
7198
|
name: string;
|
|
7332
7199
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -7791,11 +7658,11 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
|
|
|
7791
7658
|
status: z.ZodLiteral<"YIELD_EXECUTION">;
|
|
7792
7659
|
key: z.ZodString;
|
|
7793
7660
|
}, "strip", z.ZodTypeAny, {
|
|
7794
|
-
key: string;
|
|
7795
7661
|
status: "YIELD_EXECUTION";
|
|
7796
|
-
}, {
|
|
7797
7662
|
key: string;
|
|
7663
|
+
}, {
|
|
7798
7664
|
status: "YIELD_EXECUTION";
|
|
7665
|
+
key: string;
|
|
7799
7666
|
}>, z.ZodObject<{
|
|
7800
7667
|
status: z.ZodLiteral<"ERROR">;
|
|
7801
7668
|
error: z.ZodObject<{
|
|
@@ -7941,12 +7808,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
|
|
|
7941
7808
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
7942
7809
|
}>>;
|
|
7943
7810
|
}, "strip", z.ZodTypeAny, {
|
|
7811
|
+
status: "ERROR";
|
|
7944
7812
|
error: {
|
|
7945
7813
|
message: string;
|
|
7946
7814
|
name?: string | undefined;
|
|
7947
7815
|
stack?: string | undefined;
|
|
7948
7816
|
};
|
|
7949
|
-
status: "ERROR";
|
|
7950
7817
|
task?: {
|
|
7951
7818
|
name: string;
|
|
7952
7819
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -7983,12 +7850,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
|
|
|
7983
7850
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
7984
7851
|
} | undefined;
|
|
7985
7852
|
}, {
|
|
7853
|
+
status: "ERROR";
|
|
7986
7854
|
error: {
|
|
7987
7855
|
message: string;
|
|
7988
7856
|
name?: string | undefined;
|
|
7989
7857
|
stack?: string | undefined;
|
|
7990
7858
|
};
|
|
7991
|
-
status: "ERROR";
|
|
7992
7859
|
task?: {
|
|
7993
7860
|
name: string;
|
|
7994
7861
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -8423,12 +8290,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
|
|
|
8423
8290
|
}>;
|
|
8424
8291
|
retryAt: z.ZodDate;
|
|
8425
8292
|
}, "strip", z.ZodTypeAny, {
|
|
8293
|
+
status: "RETRY_WITH_TASK";
|
|
8426
8294
|
error: {
|
|
8427
8295
|
message: string;
|
|
8428
8296
|
name?: string | undefined;
|
|
8429
8297
|
stack?: string | undefined;
|
|
8430
8298
|
};
|
|
8431
|
-
status: "RETRY_WITH_TASK";
|
|
8432
8299
|
task: {
|
|
8433
8300
|
name: string;
|
|
8434
8301
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -8466,12 +8333,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
|
|
|
8466
8333
|
};
|
|
8467
8334
|
retryAt: Date;
|
|
8468
8335
|
}, {
|
|
8336
|
+
status: "RETRY_WITH_TASK";
|
|
8469
8337
|
error: {
|
|
8470
8338
|
message: string;
|
|
8471
8339
|
name?: string | undefined;
|
|
8472
8340
|
stack?: string | undefined;
|
|
8473
8341
|
};
|
|
8474
|
-
status: "RETRY_WITH_TASK";
|
|
8475
8342
|
task: {
|
|
8476
8343
|
name: string;
|
|
8477
8344
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -8752,12 +8619,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
|
|
|
8752
8619
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
8753
8620
|
};
|
|
8754
8621
|
childErrors: ({
|
|
8622
|
+
status: "ERROR";
|
|
8755
8623
|
error: {
|
|
8756
8624
|
message: string;
|
|
8757
8625
|
name?: string | undefined;
|
|
8758
8626
|
stack?: string | undefined;
|
|
8759
8627
|
};
|
|
8760
|
-
status: "ERROR";
|
|
8761
8628
|
task?: {
|
|
8762
8629
|
name: string;
|
|
8763
8630
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -8794,8 +8661,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
|
|
|
8794
8661
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
8795
8662
|
} | undefined;
|
|
8796
8663
|
} | {
|
|
8797
|
-
key: string;
|
|
8798
8664
|
status: "YIELD_EXECUTION";
|
|
8665
|
+
key: string;
|
|
8799
8666
|
} | {
|
|
8800
8667
|
status: "AUTO_YIELD_EXECUTION";
|
|
8801
8668
|
location: string;
|
|
@@ -8868,12 +8735,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
|
|
|
8868
8735
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
8869
8736
|
};
|
|
8870
8737
|
} | {
|
|
8738
|
+
status: "RETRY_WITH_TASK";
|
|
8871
8739
|
error: {
|
|
8872
8740
|
message: string;
|
|
8873
8741
|
name?: string | undefined;
|
|
8874
8742
|
stack?: string | undefined;
|
|
8875
8743
|
};
|
|
8876
|
-
status: "RETRY_WITH_TASK";
|
|
8877
8744
|
task: {
|
|
8878
8745
|
name: string;
|
|
8879
8746
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -8986,12 +8853,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
|
|
|
8986
8853
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
8987
8854
|
};
|
|
8988
8855
|
childErrors: ({
|
|
8856
|
+
status: "ERROR";
|
|
8989
8857
|
error: {
|
|
8990
8858
|
message: string;
|
|
8991
8859
|
name?: string | undefined;
|
|
8992
8860
|
stack?: string | undefined;
|
|
8993
8861
|
};
|
|
8994
|
-
status: "ERROR";
|
|
8995
8862
|
task?: {
|
|
8996
8863
|
name: string;
|
|
8997
8864
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -9028,8 +8895,8 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
|
|
|
9028
8895
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
9029
8896
|
} | undefined;
|
|
9030
8897
|
} | {
|
|
9031
|
-
key: string;
|
|
9032
8898
|
status: "YIELD_EXECUTION";
|
|
8899
|
+
key: string;
|
|
9033
8900
|
} | {
|
|
9034
8901
|
status: "AUTO_YIELD_EXECUTION";
|
|
9035
8902
|
location: string;
|
|
@@ -9102,12 +8969,12 @@ declare const RunJobResumeWithParallelTaskSchema: z.ZodObject<{
|
|
|
9102
8969
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
9103
8970
|
};
|
|
9104
8971
|
} | {
|
|
8972
|
+
status: "RETRY_WITH_TASK";
|
|
9105
8973
|
error: {
|
|
9106
8974
|
message: string;
|
|
9107
8975
|
name?: string | undefined;
|
|
9108
8976
|
stack?: string | undefined;
|
|
9109
8977
|
};
|
|
9110
|
-
status: "RETRY_WITH_TASK";
|
|
9111
8978
|
task: {
|
|
9112
8979
|
name: string;
|
|
9113
8980
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -9274,11 +9141,11 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
9274
9141
|
status: z.ZodLiteral<"YIELD_EXECUTION">;
|
|
9275
9142
|
key: z.ZodString;
|
|
9276
9143
|
}, "strip", z.ZodTypeAny, {
|
|
9277
|
-
key: string;
|
|
9278
9144
|
status: "YIELD_EXECUTION";
|
|
9279
|
-
}, {
|
|
9280
9145
|
key: string;
|
|
9146
|
+
}, {
|
|
9281
9147
|
status: "YIELD_EXECUTION";
|
|
9148
|
+
key: string;
|
|
9282
9149
|
}>, z.ZodObject<{
|
|
9283
9150
|
status: z.ZodLiteral<"ERROR">;
|
|
9284
9151
|
error: z.ZodObject<{
|
|
@@ -9424,12 +9291,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
9424
9291
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
9425
9292
|
}>>;
|
|
9426
9293
|
}, "strip", z.ZodTypeAny, {
|
|
9294
|
+
status: "ERROR";
|
|
9427
9295
|
error: {
|
|
9428
9296
|
message: string;
|
|
9429
9297
|
name?: string | undefined;
|
|
9430
9298
|
stack?: string | undefined;
|
|
9431
9299
|
};
|
|
9432
|
-
status: "ERROR";
|
|
9433
9300
|
task?: {
|
|
9434
9301
|
name: string;
|
|
9435
9302
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -9466,12 +9333,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
9466
9333
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
9467
9334
|
} | undefined;
|
|
9468
9335
|
}, {
|
|
9336
|
+
status: "ERROR";
|
|
9469
9337
|
error: {
|
|
9470
9338
|
message: string;
|
|
9471
9339
|
name?: string | undefined;
|
|
9472
9340
|
stack?: string | undefined;
|
|
9473
9341
|
};
|
|
9474
|
-
status: "ERROR";
|
|
9475
9342
|
task?: {
|
|
9476
9343
|
name: string;
|
|
9477
9344
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -9981,11 +9848,11 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
9981
9848
|
status: z.ZodLiteral<"YIELD_EXECUTION">;
|
|
9982
9849
|
key: z.ZodString;
|
|
9983
9850
|
}, "strip", z.ZodTypeAny, {
|
|
9984
|
-
key: string;
|
|
9985
9851
|
status: "YIELD_EXECUTION";
|
|
9986
|
-
}, {
|
|
9987
9852
|
key: string;
|
|
9853
|
+
}, {
|
|
9988
9854
|
status: "YIELD_EXECUTION";
|
|
9855
|
+
key: string;
|
|
9989
9856
|
}>, z.ZodObject<{
|
|
9990
9857
|
status: z.ZodLiteral<"ERROR">;
|
|
9991
9858
|
error: z.ZodObject<{
|
|
@@ -10131,12 +9998,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
10131
9998
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
10132
9999
|
}>>;
|
|
10133
10000
|
}, "strip", z.ZodTypeAny, {
|
|
10001
|
+
status: "ERROR";
|
|
10134
10002
|
error: {
|
|
10135
10003
|
message: string;
|
|
10136
10004
|
name?: string | undefined;
|
|
10137
10005
|
stack?: string | undefined;
|
|
10138
10006
|
};
|
|
10139
|
-
status: "ERROR";
|
|
10140
10007
|
task?: {
|
|
10141
10008
|
name: string;
|
|
10142
10009
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -10173,12 +10040,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
10173
10040
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
10174
10041
|
} | undefined;
|
|
10175
10042
|
}, {
|
|
10043
|
+
status: "ERROR";
|
|
10176
10044
|
error: {
|
|
10177
10045
|
message: string;
|
|
10178
10046
|
name?: string | undefined;
|
|
10179
10047
|
stack?: string | undefined;
|
|
10180
10048
|
};
|
|
10181
|
-
status: "ERROR";
|
|
10182
10049
|
task?: {
|
|
10183
10050
|
name: string;
|
|
10184
10051
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -10613,12 +10480,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
10613
10480
|
}>;
|
|
10614
10481
|
retryAt: z.ZodDate;
|
|
10615
10482
|
}, "strip", z.ZodTypeAny, {
|
|
10483
|
+
status: "RETRY_WITH_TASK";
|
|
10616
10484
|
error: {
|
|
10617
10485
|
message: string;
|
|
10618
10486
|
name?: string | undefined;
|
|
10619
10487
|
stack?: string | undefined;
|
|
10620
10488
|
};
|
|
10621
|
-
status: "RETRY_WITH_TASK";
|
|
10622
10489
|
task: {
|
|
10623
10490
|
name: string;
|
|
10624
10491
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -10656,12 +10523,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
10656
10523
|
};
|
|
10657
10524
|
retryAt: Date;
|
|
10658
10525
|
}, {
|
|
10526
|
+
status: "RETRY_WITH_TASK";
|
|
10659
10527
|
error: {
|
|
10660
10528
|
message: string;
|
|
10661
10529
|
name?: string | undefined;
|
|
10662
10530
|
stack?: string | undefined;
|
|
10663
10531
|
};
|
|
10664
|
-
status: "RETRY_WITH_TASK";
|
|
10665
10532
|
task: {
|
|
10666
10533
|
name: string;
|
|
10667
10534
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -10942,12 +10809,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
10942
10809
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
10943
10810
|
};
|
|
10944
10811
|
childErrors: ({
|
|
10812
|
+
status: "ERROR";
|
|
10945
10813
|
error: {
|
|
10946
10814
|
message: string;
|
|
10947
10815
|
name?: string | undefined;
|
|
10948
10816
|
stack?: string | undefined;
|
|
10949
10817
|
};
|
|
10950
|
-
status: "ERROR";
|
|
10951
10818
|
task?: {
|
|
10952
10819
|
name: string;
|
|
10953
10820
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -10984,8 +10851,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
10984
10851
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
10985
10852
|
} | undefined;
|
|
10986
10853
|
} | {
|
|
10987
|
-
key: string;
|
|
10988
10854
|
status: "YIELD_EXECUTION";
|
|
10855
|
+
key: string;
|
|
10989
10856
|
} | {
|
|
10990
10857
|
status: "AUTO_YIELD_EXECUTION";
|
|
10991
10858
|
location: string;
|
|
@@ -11058,12 +10925,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
11058
10925
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
11059
10926
|
};
|
|
11060
10927
|
} | {
|
|
10928
|
+
status: "RETRY_WITH_TASK";
|
|
11061
10929
|
error: {
|
|
11062
10930
|
message: string;
|
|
11063
10931
|
name?: string | undefined;
|
|
11064
10932
|
stack?: string | undefined;
|
|
11065
10933
|
};
|
|
11066
|
-
status: "RETRY_WITH_TASK";
|
|
11067
10934
|
task: {
|
|
11068
10935
|
name: string;
|
|
11069
10936
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -11176,12 +11043,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
11176
11043
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
11177
11044
|
};
|
|
11178
11045
|
childErrors: ({
|
|
11046
|
+
status: "ERROR";
|
|
11179
11047
|
error: {
|
|
11180
11048
|
message: string;
|
|
11181
11049
|
name?: string | undefined;
|
|
11182
11050
|
stack?: string | undefined;
|
|
11183
11051
|
};
|
|
11184
|
-
status: "ERROR";
|
|
11185
11052
|
task?: {
|
|
11186
11053
|
name: string;
|
|
11187
11054
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -11218,8 +11085,8 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
11218
11085
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
11219
11086
|
} | undefined;
|
|
11220
11087
|
} | {
|
|
11221
|
-
key: string;
|
|
11222
11088
|
status: "YIELD_EXECUTION";
|
|
11089
|
+
key: string;
|
|
11223
11090
|
} | {
|
|
11224
11091
|
status: "AUTO_YIELD_EXECUTION";
|
|
11225
11092
|
location: string;
|
|
@@ -11292,12 +11159,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
11292
11159
|
childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
|
|
11293
11160
|
};
|
|
11294
11161
|
} | {
|
|
11162
|
+
status: "RETRY_WITH_TASK";
|
|
11295
11163
|
error: {
|
|
11296
11164
|
message: string;
|
|
11297
11165
|
name?: string | undefined;
|
|
11298
11166
|
stack?: string | undefined;
|
|
11299
11167
|
};
|
|
11300
|
-
status: "RETRY_WITH_TASK";
|
|
11301
11168
|
task: {
|
|
11302
11169
|
name: string;
|
|
11303
11170
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -11518,12 +11385,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
11518
11385
|
}>;
|
|
11519
11386
|
retryAt: z.ZodDate;
|
|
11520
11387
|
}, "strip", z.ZodTypeAny, {
|
|
11388
|
+
status: "RETRY_WITH_TASK";
|
|
11521
11389
|
error: {
|
|
11522
11390
|
message: string;
|
|
11523
11391
|
name?: string | undefined;
|
|
11524
11392
|
stack?: string | undefined;
|
|
11525
11393
|
};
|
|
11526
|
-
status: "RETRY_WITH_TASK";
|
|
11527
11394
|
task: {
|
|
11528
11395
|
name: string;
|
|
11529
11396
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -11561,12 +11428,12 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
11561
11428
|
};
|
|
11562
11429
|
retryAt: Date;
|
|
11563
11430
|
}, {
|
|
11431
|
+
status: "RETRY_WITH_TASK";
|
|
11564
11432
|
error: {
|
|
11565
11433
|
message: string;
|
|
11566
11434
|
name?: string | undefined;
|
|
11567
11435
|
stack?: string | undefined;
|
|
11568
11436
|
};
|
|
11569
|
-
status: "RETRY_WITH_TASK";
|
|
11570
11437
|
task: {
|
|
11571
11438
|
name: string;
|
|
11572
11439
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -12610,10 +12477,10 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
12610
12477
|
type RunTaskBodyOutput = z.infer<typeof RunTaskBodyOutputSchema>;
|
|
12611
12478
|
declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
|
|
12612
12479
|
task: z.ZodObject<{
|
|
12613
|
-
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12614
12480
|
name: z.ZodString;
|
|
12615
12481
|
params: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
12616
12482
|
status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
|
|
12483
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12617
12484
|
context: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
12618
12485
|
id: z.ZodString;
|
|
12619
12486
|
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -12679,8 +12546,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
|
|
|
12679
12546
|
noop: boolean;
|
|
12680
12547
|
idempotencyKey: string;
|
|
12681
12548
|
attempts: number;
|
|
12682
|
-
error?: string | null | undefined;
|
|
12683
12549
|
params?: DeserializedJson | undefined;
|
|
12550
|
+
error?: string | null | undefined;
|
|
12684
12551
|
context?: DeserializedJson | undefined;
|
|
12685
12552
|
style?: {
|
|
12686
12553
|
style: "normal" | "minimal";
|
|
@@ -12716,8 +12583,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
|
|
|
12716
12583
|
noop: boolean;
|
|
12717
12584
|
idempotencyKey: string;
|
|
12718
12585
|
attempts: number;
|
|
12719
|
-
error?: string | null | undefined;
|
|
12720
12586
|
params?: DeserializedJson | undefined;
|
|
12587
|
+
error?: string | null | undefined;
|
|
12721
12588
|
context?: DeserializedJson | undefined;
|
|
12722
12589
|
style?: {
|
|
12723
12590
|
style: "normal" | "minimal";
|
|
@@ -12800,8 +12667,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
|
|
|
12800
12667
|
noop: boolean;
|
|
12801
12668
|
idempotencyKey: string;
|
|
12802
12669
|
attempts: number;
|
|
12803
|
-
error?: string | null | undefined;
|
|
12804
12670
|
params?: DeserializedJson | undefined;
|
|
12671
|
+
error?: string | null | undefined;
|
|
12805
12672
|
context?: DeserializedJson | undefined;
|
|
12806
12673
|
style?: {
|
|
12807
12674
|
style: "normal" | "minimal";
|
|
@@ -12850,8 +12717,8 @@ declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
|
|
|
12850
12717
|
noop: boolean;
|
|
12851
12718
|
idempotencyKey: string;
|
|
12852
12719
|
attempts: number;
|
|
12853
|
-
error?: string | null | undefined;
|
|
12854
12720
|
params?: DeserializedJson | undefined;
|
|
12721
|
+
error?: string | null | undefined;
|
|
12855
12722
|
context?: DeserializedJson | undefined;
|
|
12856
12723
|
style?: {
|
|
12857
12724
|
style: "normal" | "minimal";
|
|
@@ -13240,8 +13107,8 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
13240
13107
|
id: string;
|
|
13241
13108
|
}>>;
|
|
13242
13109
|
}, "strip", z.ZodTypeAny, {
|
|
13243
|
-
key: string;
|
|
13244
13110
|
version: "1";
|
|
13111
|
+
key: string;
|
|
13245
13112
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
13246
13113
|
events: string[];
|
|
13247
13114
|
integration: {
|
|
@@ -13259,8 +13126,8 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
13259
13126
|
id: string;
|
|
13260
13127
|
} | undefined;
|
|
13261
13128
|
}, {
|
|
13262
|
-
key: string;
|
|
13263
13129
|
version: "1";
|
|
13130
|
+
key: string;
|
|
13264
13131
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
13265
13132
|
events: string[];
|
|
13266
13133
|
integration: {
|
|
@@ -13280,8 +13147,8 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
13280
13147
|
}>;
|
|
13281
13148
|
}, "strip", z.ZodTypeAny, {
|
|
13282
13149
|
source: {
|
|
13283
|
-
key: string;
|
|
13284
13150
|
version: "1";
|
|
13151
|
+
key: string;
|
|
13285
13152
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
13286
13153
|
events: string[];
|
|
13287
13154
|
integration: {
|
|
@@ -13307,8 +13174,8 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
13307
13174
|
};
|
|
13308
13175
|
}, {
|
|
13309
13176
|
source: {
|
|
13310
|
-
key: string;
|
|
13311
13177
|
version: "1";
|
|
13178
|
+
key: string;
|
|
13312
13179
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
13313
13180
|
events: string[];
|
|
13314
13181
|
integration: {
|
|
@@ -13401,9 +13268,9 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
13401
13268
|
id: string;
|
|
13402
13269
|
}>>;
|
|
13403
13270
|
}, "strip", z.ZodTypeAny, {
|
|
13404
|
-
key: string;
|
|
13405
13271
|
version: "2";
|
|
13406
13272
|
options: Record<string, string[]>;
|
|
13273
|
+
key: string;
|
|
13407
13274
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
13408
13275
|
integration: {
|
|
13409
13276
|
id: string;
|
|
@@ -13420,9 +13287,9 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
13420
13287
|
id: string;
|
|
13421
13288
|
} | undefined;
|
|
13422
13289
|
}, {
|
|
13423
|
-
key: string;
|
|
13424
13290
|
version: "2";
|
|
13425
13291
|
options: Record<string, string[]>;
|
|
13292
|
+
key: string;
|
|
13426
13293
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
13427
13294
|
integration: {
|
|
13428
13295
|
id: string;
|
|
@@ -13442,9 +13309,9 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
13442
13309
|
accountId: z.ZodOptional<z.ZodString>;
|
|
13443
13310
|
}, "strip", z.ZodTypeAny, {
|
|
13444
13311
|
source: {
|
|
13445
|
-
key: string;
|
|
13446
13312
|
version: "2";
|
|
13447
13313
|
options: Record<string, string[]>;
|
|
13314
|
+
key: string;
|
|
13448
13315
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
13449
13316
|
integration: {
|
|
13450
13317
|
id: string;
|
|
@@ -13470,9 +13337,9 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
13470
13337
|
accountId?: string | undefined;
|
|
13471
13338
|
}, {
|
|
13472
13339
|
source: {
|
|
13473
|
-
key: string;
|
|
13474
13340
|
version: "2";
|
|
13475
13341
|
options: Record<string, string[]>;
|
|
13342
|
+
key: string;
|
|
13476
13343
|
channel: "HTTP" | "SMTP" | "SQS";
|
|
13477
13344
|
integration: {
|
|
13478
13345
|
id: string;
|
|
@@ -13778,8 +13645,8 @@ declare const GetRunStatusesSchema: z.ZodObject<{
|
|
|
13778
13645
|
data?: Record<string, SerializableJson> | undefined;
|
|
13779
13646
|
}>, "many">;
|
|
13780
13647
|
}, "strip", z.ZodTypeAny, {
|
|
13781
|
-
key: string;
|
|
13782
13648
|
label: string;
|
|
13649
|
+
key: string;
|
|
13783
13650
|
history: {
|
|
13784
13651
|
label?: string | undefined;
|
|
13785
13652
|
state?: "loading" | "success" | "failure" | undefined;
|
|
@@ -13788,8 +13655,8 @@ declare const GetRunStatusesSchema: z.ZodObject<{
|
|
|
13788
13655
|
data?: Record<string, SerializableJson> | undefined;
|
|
13789
13656
|
state?: "loading" | "success" | "failure" | undefined;
|
|
13790
13657
|
}, {
|
|
13791
|
-
key: string;
|
|
13792
13658
|
label: string;
|
|
13659
|
+
key: string;
|
|
13793
13660
|
history: {
|
|
13794
13661
|
label?: string | undefined;
|
|
13795
13662
|
state?: "loading" | "success" | "failure" | undefined;
|
|
@@ -13800,8 +13667,8 @@ declare const GetRunStatusesSchema: z.ZodObject<{
|
|
|
13800
13667
|
}>, "many">;
|
|
13801
13668
|
}, "strip", z.ZodTypeAny, {
|
|
13802
13669
|
statuses: {
|
|
13803
|
-
key: string;
|
|
13804
13670
|
label: string;
|
|
13671
|
+
key: string;
|
|
13805
13672
|
history: {
|
|
13806
13673
|
label?: string | undefined;
|
|
13807
13674
|
state?: "loading" | "success" | "failure" | undefined;
|
|
@@ -13817,8 +13684,8 @@ declare const GetRunStatusesSchema: z.ZodObject<{
|
|
|
13817
13684
|
};
|
|
13818
13685
|
}, {
|
|
13819
13686
|
statuses: {
|
|
13820
|
-
key: string;
|
|
13821
13687
|
label: string;
|
|
13688
|
+
key: string;
|
|
13822
13689
|
history: {
|
|
13823
13690
|
label?: string | undefined;
|
|
13824
13691
|
state?: "loading" | "success" | "failure" | undefined;
|
|
@@ -14841,7 +14708,7 @@ declare const ScheduledPayloadSchema: z.ZodObject<{
|
|
|
14841
14708
|
}>;
|
|
14842
14709
|
type ScheduledPayload = z.infer<typeof ScheduledPayloadSchema>;
|
|
14843
14710
|
declare const IntervalOptionsSchema: z.ZodObject<{
|
|
14844
|
-
/** The number of seconds for the interval. Min =
|
|
14711
|
+
/** The number of seconds for the interval. Min = 20, Max = 2_592_000 (30 days) */
|
|
14845
14712
|
seconds: z.ZodNumber;
|
|
14846
14713
|
}, "strip", z.ZodTypeAny, {
|
|
14847
14714
|
seconds: number;
|
|
@@ -14898,7 +14765,7 @@ declare const IntervalMetadataSchema: z.ZodObject<{
|
|
|
14898
14765
|
type: z.ZodLiteral<"interval">;
|
|
14899
14766
|
/** An object containing options about the interval. */
|
|
14900
14767
|
options: z.ZodObject<{
|
|
14901
|
-
/** The number of seconds for the interval. Min =
|
|
14768
|
+
/** The number of seconds for the interval. Min = 20, Max = 2_592_000 (30 days) */
|
|
14902
14769
|
seconds: z.ZodNumber;
|
|
14903
14770
|
}, "strip", z.ZodTypeAny, {
|
|
14904
14771
|
seconds: number;
|
|
@@ -14930,7 +14797,7 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
14930
14797
|
type: z.ZodLiteral<"interval">;
|
|
14931
14798
|
/** An object containing options about the interval. */
|
|
14932
14799
|
options: z.ZodObject<{
|
|
14933
|
-
/** The number of seconds for the interval. Min =
|
|
14800
|
+
/** The number of seconds for the interval. Min = 20, Max = 2_592_000 (30 days) */
|
|
14934
14801
|
seconds: z.ZodNumber;
|
|
14935
14802
|
}, "strip", z.ZodTypeAny, {
|
|
14936
14803
|
seconds: number;
|
|
@@ -16371,8 +16238,8 @@ declare const JobRunStatusRecordSchema: z.ZodObject<{
|
|
|
16371
16238
|
data?: Record<string, SerializableJson> | undefined;
|
|
16372
16239
|
}>, "many">;
|
|
16373
16240
|
}, "strip", z.ZodTypeAny, {
|
|
16374
|
-
key: string;
|
|
16375
16241
|
label: string;
|
|
16242
|
+
key: string;
|
|
16376
16243
|
history: {
|
|
16377
16244
|
label?: string | undefined;
|
|
16378
16245
|
state?: "loading" | "success" | "failure" | undefined;
|
|
@@ -16381,8 +16248,8 @@ declare const JobRunStatusRecordSchema: z.ZodObject<{
|
|
|
16381
16248
|
data?: Record<string, SerializableJson> | undefined;
|
|
16382
16249
|
state?: "loading" | "success" | "failure" | undefined;
|
|
16383
16250
|
}, {
|
|
16384
|
-
key: string;
|
|
16385
16251
|
label: string;
|
|
16252
|
+
key: string;
|
|
16386
16253
|
history: {
|
|
16387
16254
|
label?: string | undefined;
|
|
16388
16255
|
state?: "loading" | "success" | "failure" | undefined;
|
|
@@ -16493,8 +16360,8 @@ declare const GetRunSchema: z.ZodObject<{
|
|
|
16493
16360
|
data?: Record<string, SerializableJson> | undefined;
|
|
16494
16361
|
}>, "many">;
|
|
16495
16362
|
}, "strip", z.ZodTypeAny, {
|
|
16496
|
-
key: string;
|
|
16497
16363
|
label: string;
|
|
16364
|
+
key: string;
|
|
16498
16365
|
history: {
|
|
16499
16366
|
label?: string | undefined;
|
|
16500
16367
|
state?: "loading" | "success" | "failure" | undefined;
|
|
@@ -16503,8 +16370,8 @@ declare const GetRunSchema: z.ZodObject<{
|
|
|
16503
16370
|
data?: Record<string, SerializableJson> | undefined;
|
|
16504
16371
|
state?: "loading" | "success" | "failure" | undefined;
|
|
16505
16372
|
}, {
|
|
16506
|
-
key: string;
|
|
16507
16373
|
label: string;
|
|
16374
|
+
key: string;
|
|
16508
16375
|
history: {
|
|
16509
16376
|
label?: string | undefined;
|
|
16510
16377
|
state?: "loading" | "success" | "failure" | undefined;
|
|
@@ -16522,8 +16389,8 @@ declare const GetRunSchema: z.ZodObject<{
|
|
|
16522
16389
|
updatedAt: Date | null;
|
|
16523
16390
|
tasks: RunTaskWithSubtasks[];
|
|
16524
16391
|
statuses: {
|
|
16525
|
-
key: string;
|
|
16526
16392
|
label: string;
|
|
16393
|
+
key: string;
|
|
16527
16394
|
history: {
|
|
16528
16395
|
label?: string | undefined;
|
|
16529
16396
|
state?: "loading" | "success" | "failure" | undefined;
|
|
@@ -16543,8 +16410,8 @@ declare const GetRunSchema: z.ZodObject<{
|
|
|
16543
16410
|
tasks: RunTaskWithSubtasks[];
|
|
16544
16411
|
output?: any;
|
|
16545
16412
|
statuses?: {
|
|
16546
|
-
key: string;
|
|
16547
16413
|
label: string;
|
|
16414
|
+
key: string;
|
|
16548
16415
|
history: {
|
|
16549
16416
|
label?: string | undefined;
|
|
16550
16417
|
state?: "loading" | "success" | "failure" | undefined;
|
|
@@ -16735,6 +16602,18 @@ declare const RequestWithRawBodySchema: z.ZodObject<{
|
|
|
16735
16602
|
rawBody: string;
|
|
16736
16603
|
}>;
|
|
16737
16604
|
|
|
16605
|
+
declare const CancelRunsForJobSchema: z.ZodObject<{
|
|
16606
|
+
cancelledRunIds: z.ZodArray<z.ZodString, "many">;
|
|
16607
|
+
failedToCancelRunIds: z.ZodArray<z.ZodString, "many">;
|
|
16608
|
+
}, "strip", z.ZodTypeAny, {
|
|
16609
|
+
cancelledRunIds: string[];
|
|
16610
|
+
failedToCancelRunIds: string[];
|
|
16611
|
+
}, {
|
|
16612
|
+
cancelledRunIds: string[];
|
|
16613
|
+
failedToCancelRunIds: string[];
|
|
16614
|
+
}>;
|
|
16615
|
+
type CancelRunsForJob = z.infer<typeof CancelRunsForJobSchema>;
|
|
16616
|
+
|
|
16738
16617
|
declare function deepMergeFilters(...filters: EventFilter[]): EventFilter;
|
|
16739
16618
|
declare function assertExhaustive(x: never): never;
|
|
16740
16619
|
|
|
@@ -16761,8 +16640,6 @@ declare const replacements: ExampleReplacement[];
|
|
|
16761
16640
|
|
|
16762
16641
|
declare function urlWithSearchParams(url: string, params: Record<string, string | number | boolean> | undefined): string;
|
|
16763
16642
|
|
|
16764
|
-
declare function eventFilterMatches(payload: any, filter: EventFilter): boolean;
|
|
16765
|
-
|
|
16766
16643
|
declare function requestFilterMatches(request: Request, filter: RequestFilter): Promise<boolean>;
|
|
16767
16644
|
type ResponseFilterMatchResult = {
|
|
16768
16645
|
match: boolean;
|
|
@@ -16780,4 +16657,4 @@ declare const PLATFORM_FEATURES: {
|
|
|
16780
16657
|
};
|
|
16781
16658
|
declare function supportsFeature<TFeatureName extends keyof typeof PLATFORM_FEATURES>(featureName: TFeatureName, version: string): boolean;
|
|
16782
16659
|
|
|
16783
|
-
export { API_VERSIONS, type ApiEventLog, ApiEventLogSchema, type AsyncMap, type AutoYieldConfig, AutoYieldConfigSchema, type AutoYieldMetadata, AutoYieldMetadataSchema, type CachedTask, CachedTaskSchema, type CancelRunsForEvent, CancelRunsForEventSchema, type ClientTask, CommonMissingConnectionNotificationPayloadSchema, CommonMissingConnectionNotificationResolvedPayloadSchema, type CompleteTaskBodyInput, CompleteTaskBodyInputSchema, type CompleteTaskBodyOutput, type CompleteTaskBodyV2Input, CompleteTaskBodyV2InputSchema, ConcurrencyLimitOptionsSchema, type ConnectionAuth, ConnectionAuthSchema, type CreateExternalConnectionBody, CreateExternalConnectionBodySchema, type CreateRunResponseBody, CreateRunResponseBodySchema, type CronMetadata, CronMetadataSchema, type CronOptions, CronOptionsSchema, DELIVER_WEBHOOK_REQUEST, type DeliverEventResponse, DeliverEventResponseSchema, type DeserializedJson, DeserializedJsonSchema, DisplayPropertiesSchema, type DisplayProperty, DisplayPropertySchema, type DynamicTriggerEndpointMetadata, DynamicTriggerEndpointMetadataSchema, DynamicTriggerMetadataSchema, EndpointHeadersSchema, type EndpointIndexError, EndpointIndexErrorSchema, type EphemeralEventDispatcherRequestBody, EphemeralEventDispatcherRequestBodySchema, type EphemeralEventDispatcherResponseBody, EphemeralEventDispatcherResponseBodySchema, type ErrorWithStack, ErrorWithStackSchema, type EventExample, EventExampleSchema,
|
|
16660
|
+
export { API_VERSIONS, type ApiEventLog, ApiEventLogSchema, type AsyncMap, type AutoYieldConfig, AutoYieldConfigSchema, type AutoYieldMetadata, AutoYieldMetadataSchema, type CachedTask, CachedTaskSchema, type CancelRunsForEvent, CancelRunsForEventSchema, type CancelRunsForJob, CancelRunsForJobSchema, type ClientTask, CommonMissingConnectionNotificationPayloadSchema, CommonMissingConnectionNotificationResolvedPayloadSchema, type CompleteTaskBodyInput, CompleteTaskBodyInputSchema, type CompleteTaskBodyOutput, type CompleteTaskBodyV2Input, CompleteTaskBodyV2InputSchema, ConcurrencyLimitOptionsSchema, type ConnectionAuth, ConnectionAuthSchema, type CreateExternalConnectionBody, CreateExternalConnectionBodySchema, type CreateRunResponseBody, CreateRunResponseBodySchema, type CronMetadata, CronMetadataSchema, type CronOptions, CronOptionsSchema, DELIVER_WEBHOOK_REQUEST, type DeliverEventResponse, DeliverEventResponseSchema, type DeserializedJson, DeserializedJsonSchema, DisplayPropertiesSchema, type DisplayProperty, DisplayPropertySchema, type DynamicTriggerEndpointMetadata, DynamicTriggerEndpointMetadataSchema, DynamicTriggerMetadataSchema, EndpointHeadersSchema, type EndpointIndexError, EndpointIndexErrorSchema, type EphemeralEventDispatcherRequestBody, EphemeralEventDispatcherRequestBodySchema, type EphemeralEventDispatcherResponseBody, EphemeralEventDispatcherResponseBodySchema, type ErrorWithStack, ErrorWithStackSchema, type EventExample, EventExampleSchema, EventFilter, EventSpecificationSchema, type ExampleReplacement, ExecuteJobHeadersSchema, ExecuteJobRunMetadataSchema, type FailTaskBodyInput, FailTaskBodyInputSchema, type FailedRunNotification, type FetchOperation, FetchOperationSchema, type FetchPollOperation, FetchPollOperationSchema, type FetchRequestInit, FetchRequestInitSchema, type FetchRetryBackoffStrategy, FetchRetryBackoffStrategySchema, type FetchRetryHeadersStrategy, FetchRetryHeadersStrategySchema, type FetchRetryOptions, FetchRetryOptionsSchema, type FetchRetryStrategy, FetchRetryStrategySchema, type FetchTimeoutOptions, FetchTimeoutOptionsSchema, type GetEndpointIndexResponse, GetEndpointIndexResponseSchema, type GetEvent, GetEventSchema, type GetRun, type GetRunOptions, type GetRunOptionsWithTaskDetails, GetRunSchema, type GetRunStatuses, GetRunStatusesSchema, type GetRunsOptions, GetRunsSchema, HTTPMethodUnionSchema, type HandleTriggerSource, HandleTriggerSourceSchema, type HttpEndpointMetadata, HttpEndpointRequestHeadersSchema, type HttpMethod, type HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, type HttpSourceResponseMetadata, HttpSourceResponseSchema, type IndexEndpointResponse, IndexEndpointResponseSchema, type IndexEndpointStats, type InitialStatusUpdate, InitializeCronScheduleBodySchema, type InitializeTriggerBody, InitializeTriggerBodySchema, type IntegrationConfig, IntegrationConfigSchema, type IntegrationMetadata, IntegrationMetadataSchema, type IntervalMetadata, IntervalMetadataSchema, type IntervalOptions, IntervalOptionsSchema, type InvokeJobRequestBody, InvokeJobRequestBodySchema, InvokeJobResponseSchema, type InvokeOptions, InvokeOptionsSchema, InvokeTriggerMetadataSchema, type JobMetadata, JobMetadataSchema, type JobRunStatusRecord, JobRunStatusRecordSchema, type KeyValueStoreResponseBody, KeyValueStoreResponseBodySchema, type LogMessage, LogMessageSchema, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, type MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, type MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, type NormalizedRequest, NormalizedRequestSchema, type NormalizedResponse, NormalizedResponseSchema, type OverridableRunTaskOptions, PLATFORM_FEATURES, PongErrorResponseSchema, type PongResponse, PongResponseSchema, PongSuccessResponseSchema, type PreprocessRunBody, PreprocessRunBodySchema, type PreprocessRunResponse, PreprocessRunResponseSchema, type Prettify, type QueueOptions, QueueOptionsSchema, REGISTER_SOURCE_EVENT_V1, REGISTER_SOURCE_EVENT_V2, REGISTER_WEBHOOK, type RawEvent, RawEventSchema, RedactSchema, type RedactString, RedactStringSchema, type RegisterCronScheduleBody, type RegisterDynamicSchedulePayload, RegisterDynamicSchedulePayloadSchema, RegisterHTTPTriggerSourceBodySchema, type RegisterIntervalScheduleBody, RegisterIntervalScheduleBodySchema, RegisterSMTPTriggerSourceBodySchema, RegisterSQSTriggerSourceBodySchema, type RegisterScheduleBody, RegisterScheduleBodySchema, type RegisterScheduleResponseBody, RegisterScheduleResponseBodySchema, RegisterSourceChannelBodySchema, type RegisterSourceEventOptions, RegisterSourceEventSchemaV1, RegisterSourceEventSchemaV2, type RegisterSourceEventV1, type RegisterSourceEventV2, RegisterTriggerBodySchemaV1, RegisterTriggerBodySchemaV2, type RegisterTriggerBodyV1, type RegisterTriggerBodyV2, type RegisterTriggerSource, RegisterTriggerSourceSchema, type RegisterWebhookPayload, RegisterWebhookPayloadSchema, type RegisterWebhookSource, RegisterWebhookSourceSchema, type RegisteredOptionsDiff, type RequestFilter, RequestFilterSchema, RequestWithRawBodySchema, type ResponseFilter, type ResponseFilterMatchResult, ResponseFilterSchema, type RetryOptions, RetryOptionsSchema, type RunJobAutoYieldExecutionError, RunJobAutoYieldExecutionErrorSchema, type RunJobAutoYieldWithCompletedTaskExecutionError, RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, type RunJobBody, RunJobBodySchema, type RunJobCanceledWithTask, RunJobCanceledWithTaskSchema, type RunJobError, type RunJobErrorResponse, RunJobErrorResponseSchema, RunJobErrorSchema, type RunJobInvalidPayloadError, RunJobInvalidPayloadErrorSchema, type RunJobResponse, RunJobResponseSchema, type RunJobResumeWithParallelTask, RunJobResumeWithParallelTaskSchema, type RunJobResumeWithTask, RunJobResumeWithTaskSchema, type RunJobRetryWithTask, RunJobRetryWithTaskSchema, type RunJobSuccess, RunJobSuccessSchema, type RunJobUnresolvedAuthError, RunJobUnresolvedAuthErrorSchema, type RunJobYieldExecutionError, RunJobYieldExecutionErrorSchema, type RunNotification, type RunNotificationAccountMetadata, type RunNotificationEnvMetadata, type RunNotificationInvocationMetadata, type RunNotificationJobMetadata, type RunNotificationOrgMetadata, type RunNotificationProjectMetadata, type RunNotificationRunMetadata, type RunSourceContext, RunSourceContextSchema, RunStatusSchema, type RunTaskBodyInput, RunTaskBodyInputSchema, type RunTaskBodyOutput, RunTaskBodyOutputSchema, type RunTaskOptions, RunTaskOptionsSchema, type RunTaskResponseWithCachedTasksBody, RunTaskResponseWithCachedTasksBodySchema, RunTaskSchema, type RunTaskWithSubtasks, type RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, type ScheduleMetadata, ScheduleMetadataSchema, type ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, type SchemaError, SchemaErrorSchema, SendBulkEventsBodySchema, type SendEvent, type SendEventBody, SendEventBodySchema, type SendEventOptions, SendEventOptionsSchema, type SerializableJson, SerializableJsonSchema, type ServerTask, ServerTaskSchema, type SourceEventOption, type SourceMetadataV1, type SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, type StatusHistory, StatusHistorySchema, type StatusUpdate, type StatusUpdateData, StatusUpdateSchema, type StatusUpdateState, StatusUpdateStateSchema, type StringMatch, type Style, type StyleName, StyleSchema, type SuccessfulRunNotification, TaskSchema, type TaskStatus, TaskStatusSchema, TriggerHelpSchema, type TriggerMetadata, TriggerMetadataSchema, type TriggerSource, TriggerSourceSchema, type UpdateTriggerSourceBodyV1, UpdateTriggerSourceBodyV1Schema, type UpdateTriggerSourceBodyV2, UpdateTriggerSourceBodyV2Schema, type UpdateWebhookBody, UpdateWebhookBodySchema, ValidateErrorResponseSchema, type ValidateResponse, ValidateResponseSchema, ValidateSuccessResponseSchema, type WebhookContextMetadata, WebhookContextMetadataSchema, type WebhookDeliveryResponse, WebhookDeliveryResponseSchema, type WebhookMetadata, WebhookMetadataSchema, type WebhookSourceRequestHeaders, WebhookSourceRequestHeadersSchema, addMissingVersionField, assertExhaustive, calculateResetAt, calculateRetryAt, currentDate, currentTimestampMilliseconds, currentTimestampSeconds, deepMergeFilters, parseEndpointIndexStats, replacements, requestFilterMatches, responseFilterMatches, supportsFeature, urlWithSearchParams };
|