@trigger.dev/core 0.0.0-prerelease-20241202154035 → 0.0.0-prerelease-20241203170318

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.
@@ -57,49 +57,49 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
57
57
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
58
58
  maxDuration: z.ZodOptional<z.ZodNumber>;
59
59
  }, "strip", z.ZodTypeAny, {
60
- payload: string;
61
- tags: string[];
62
60
  id: string;
63
61
  createdAt: Date;
64
- startedAt: Date;
62
+ payload: string;
63
+ payloadType: string;
64
+ tags: string[];
65
65
  isTest: boolean;
66
+ startedAt: Date;
66
67
  costInCents: number;
67
68
  baseCostInCents: number;
68
- payloadType: string;
69
69
  durationMs: number;
70
- idempotencyKey?: string | undefined;
71
70
  maxAttempts?: number | undefined;
72
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
73
71
  maxDuration?: number | undefined;
74
- context?: any;
72
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
75
73
  version?: string | undefined;
74
+ context?: any;
75
+ idempotencyKey?: string | undefined;
76
76
  }, {
77
- payload: string;
78
- tags: string[];
79
77
  id: string;
80
78
  createdAt: Date;
79
+ payload: string;
81
80
  payloadType: string;
82
- idempotencyKey?: string | undefined;
81
+ tags: string[];
83
82
  maxAttempts?: number | undefined;
84
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
85
83
  maxDuration?: number | undefined;
86
- startedAt?: Date | undefined;
84
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
85
+ version?: string | undefined;
86
+ context?: any;
87
+ idempotencyKey?: string | undefined;
87
88
  isTest?: boolean | undefined;
89
+ startedAt?: Date | undefined;
88
90
  costInCents?: number | undefined;
89
91
  baseCostInCents?: number | undefined;
90
- context?: any;
91
92
  durationMs?: number | undefined;
92
- version?: string | undefined;
93
93
  }>;
94
94
  queue: z.ZodObject<{
95
95
  id: z.ZodString;
96
96
  name: z.ZodString;
97
97
  }, "strip", z.ZodTypeAny, {
98
- name: string;
99
98
  id: string;
100
- }, {
101
99
  name: string;
100
+ }, {
102
101
  id: string;
102
+ name: string;
103
103
  }>;
104
104
  environment: z.ZodObject<{
105
105
  id: z.ZodString;
@@ -119,12 +119,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
119
119
  slug: z.ZodString;
120
120
  name: z.ZodString;
121
121
  }, "strip", z.ZodTypeAny, {
122
- name: string;
123
122
  id: string;
123
+ name: string;
124
124
  slug: string;
125
125
  }, {
126
- name: string;
127
126
  id: string;
127
+ name: string;
128
128
  slug: string;
129
129
  }>;
130
130
  project: z.ZodObject<{
@@ -133,13 +133,13 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
133
133
  slug: z.ZodString;
134
134
  name: z.ZodString;
135
135
  }, "strip", z.ZodTypeAny, {
136
- name: string;
137
136
  id: string;
137
+ name: string;
138
138
  slug: string;
139
139
  ref: string;
140
140
  }, {
141
- name: string;
142
141
  id: string;
142
+ name: string;
143
143
  slug: string;
144
144
  ref: string;
145
145
  }>;
@@ -167,27 +167,14 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
167
167
  centsPerMs: number;
168
168
  }>>;
169
169
  }, "strip", z.ZodTypeAny, {
170
- queue: {
171
- name: string;
170
+ organization: {
172
171
  id: string;
172
+ name: string;
173
+ slug: string;
173
174
  };
174
- run: {
175
- payload: string;
176
- tags: string[];
175
+ queue: {
177
176
  id: string;
178
- createdAt: Date;
179
- startedAt: Date;
180
- isTest: boolean;
181
- costInCents: number;
182
- baseCostInCents: number;
183
- payloadType: string;
184
- durationMs: number;
185
- idempotencyKey?: string | undefined;
186
- maxAttempts?: number | undefined;
187
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
188
- maxDuration?: number | undefined;
189
- context?: any;
190
- version?: string | undefined;
177
+ name: string;
191
178
  };
192
179
  task: {
193
180
  id: string;
@@ -202,53 +189,53 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
202
189
  backgroundWorkerId: string;
203
190
  backgroundWorkerTaskId: string;
204
191
  };
205
- environment: {
206
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
192
+ run: {
207
193
  id: string;
208
- slug: string;
194
+ createdAt: Date;
195
+ payload: string;
196
+ payloadType: string;
197
+ tags: string[];
198
+ isTest: boolean;
199
+ startedAt: Date;
200
+ costInCents: number;
201
+ baseCostInCents: number;
202
+ durationMs: number;
203
+ maxAttempts?: number | undefined;
204
+ maxDuration?: number | undefined;
205
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
206
+ version?: string | undefined;
207
+ context?: any;
208
+ idempotencyKey?: string | undefined;
209
209
  };
210
- organization: {
211
- name: string;
210
+ environment: {
211
+ type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
212
212
  id: string;
213
213
  slug: string;
214
214
  };
215
215
  project: {
216
- name: string;
217
216
  id: string;
217
+ name: string;
218
218
  slug: string;
219
219
  ref: string;
220
220
  };
221
- batch?: {
222
- id: string;
223
- } | undefined;
224
221
  machine?: {
225
222
  name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
226
223
  cpu: number;
227
224
  memory: number;
228
225
  centsPerMs: number;
229
226
  } | undefined;
227
+ batch?: {
228
+ id: string;
229
+ } | undefined;
230
230
  }, {
231
- queue: {
232
- name: string;
231
+ organization: {
233
232
  id: string;
233
+ name: string;
234
+ slug: string;
234
235
  };
235
- run: {
236
- payload: string;
237
- tags: string[];
236
+ queue: {
238
237
  id: string;
239
- createdAt: Date;
240
- payloadType: string;
241
- idempotencyKey?: string | undefined;
242
- maxAttempts?: number | undefined;
243
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
244
- maxDuration?: number | undefined;
245
- startedAt?: Date | undefined;
246
- isTest?: boolean | undefined;
247
- costInCents?: number | undefined;
248
- baseCostInCents?: number | undefined;
249
- context?: any;
250
- durationMs?: number | undefined;
251
- version?: string | undefined;
238
+ name: string;
252
239
  };
253
240
  task: {
254
241
  id: string;
@@ -263,57 +250,57 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
263
250
  backgroundWorkerId: string;
264
251
  backgroundWorkerTaskId: string;
265
252
  };
266
- environment: {
267
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
253
+ run: {
268
254
  id: string;
269
- slug: string;
255
+ createdAt: Date;
256
+ payload: string;
257
+ payloadType: string;
258
+ tags: string[];
259
+ maxAttempts?: number | undefined;
260
+ maxDuration?: number | undefined;
261
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
262
+ version?: string | undefined;
263
+ context?: any;
264
+ idempotencyKey?: string | undefined;
265
+ isTest?: boolean | undefined;
266
+ startedAt?: Date | undefined;
267
+ costInCents?: number | undefined;
268
+ baseCostInCents?: number | undefined;
269
+ durationMs?: number | undefined;
270
270
  };
271
- organization: {
272
- name: string;
271
+ environment: {
272
+ type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
273
273
  id: string;
274
274
  slug: string;
275
275
  };
276
276
  project: {
277
- name: string;
278
277
  id: string;
278
+ name: string;
279
279
  slug: string;
280
280
  ref: string;
281
281
  };
282
- batch?: {
283
- id: string;
284
- } | undefined;
285
282
  machine?: {
286
283
  name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
287
284
  cpu: number;
288
285
  memory: number;
289
286
  centsPerMs: number;
290
287
  } | undefined;
288
+ batch?: {
289
+ id: string;
290
+ } | undefined;
291
291
  }>;
292
292
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
293
293
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
294
294
  }, "strip", z.ZodTypeAny, {
295
295
  execution: {
296
- queue: {
297
- name: string;
296
+ organization: {
298
297
  id: string;
298
+ name: string;
299
+ slug: string;
299
300
  };
300
- run: {
301
- payload: string;
302
- tags: string[];
301
+ queue: {
303
302
  id: string;
304
- createdAt: Date;
305
- startedAt: Date;
306
- isTest: boolean;
307
- costInCents: number;
308
- baseCostInCents: number;
309
- payloadType: string;
310
- durationMs: number;
311
- idempotencyKey?: string | undefined;
312
- maxAttempts?: number | undefined;
313
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
314
- maxDuration?: number | undefined;
315
- context?: any;
316
- version?: string | undefined;
303
+ name: string;
317
304
  };
318
305
  task: {
319
306
  id: string;
@@ -328,57 +315,57 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
328
315
  backgroundWorkerId: string;
329
316
  backgroundWorkerTaskId: string;
330
317
  };
331
- environment: {
332
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
318
+ run: {
333
319
  id: string;
334
- slug: string;
320
+ createdAt: Date;
321
+ payload: string;
322
+ payloadType: string;
323
+ tags: string[];
324
+ isTest: boolean;
325
+ startedAt: Date;
326
+ costInCents: number;
327
+ baseCostInCents: number;
328
+ durationMs: number;
329
+ maxAttempts?: number | undefined;
330
+ maxDuration?: number | undefined;
331
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
332
+ version?: string | undefined;
333
+ context?: any;
334
+ idempotencyKey?: string | undefined;
335
335
  };
336
- organization: {
337
- name: string;
336
+ environment: {
337
+ type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
338
338
  id: string;
339
339
  slug: string;
340
340
  };
341
341
  project: {
342
- name: string;
343
342
  id: string;
343
+ name: string;
344
344
  slug: string;
345
345
  ref: string;
346
346
  };
347
- batch?: {
348
- id: string;
349
- } | undefined;
350
347
  machine?: {
351
348
  name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
352
349
  cpu: number;
353
350
  memory: number;
354
351
  centsPerMs: number;
355
352
  } | undefined;
353
+ batch?: {
354
+ id: string;
355
+ } | undefined;
356
356
  };
357
357
  traceContext: Record<string, unknown>;
358
358
  environment?: Record<string, string> | undefined;
359
359
  }, {
360
360
  execution: {
361
- queue: {
362
- name: string;
361
+ organization: {
363
362
  id: string;
363
+ name: string;
364
+ slug: string;
364
365
  };
365
- run: {
366
- payload: string;
367
- tags: string[];
366
+ queue: {
368
367
  id: string;
369
- createdAt: Date;
370
- payloadType: string;
371
- idempotencyKey?: string | undefined;
372
- maxAttempts?: number | undefined;
373
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
374
- maxDuration?: number | undefined;
375
- startedAt?: Date | undefined;
376
- isTest?: boolean | undefined;
377
- costInCents?: number | undefined;
378
- baseCostInCents?: number | undefined;
379
- context?: any;
380
- durationMs?: number | undefined;
381
- version?: string | undefined;
368
+ name: string;
382
369
  };
383
370
  task: {
384
371
  id: string;
@@ -393,31 +380,44 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
393
380
  backgroundWorkerId: string;
394
381
  backgroundWorkerTaskId: string;
395
382
  };
396
- environment: {
397
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
383
+ run: {
398
384
  id: string;
399
- slug: string;
385
+ createdAt: Date;
386
+ payload: string;
387
+ payloadType: string;
388
+ tags: string[];
389
+ maxAttempts?: number | undefined;
390
+ maxDuration?: number | undefined;
391
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
392
+ version?: string | undefined;
393
+ context?: any;
394
+ idempotencyKey?: string | undefined;
395
+ isTest?: boolean | undefined;
396
+ startedAt?: Date | undefined;
397
+ costInCents?: number | undefined;
398
+ baseCostInCents?: number | undefined;
399
+ durationMs?: number | undefined;
400
400
  };
401
- organization: {
402
- name: string;
401
+ environment: {
402
+ type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
403
403
  id: string;
404
404
  slug: string;
405
405
  };
406
406
  project: {
407
- name: string;
408
407
  id: string;
408
+ name: string;
409
409
  slug: string;
410
410
  ref: string;
411
411
  };
412
- batch?: {
413
- id: string;
414
- } | undefined;
415
412
  machine?: {
416
413
  name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
417
414
  cpu: number;
418
415
  memory: number;
419
416
  centsPerMs: number;
420
417
  } | undefined;
418
+ batch?: {
419
+ id: string;
420
+ } | undefined;
421
421
  };
422
422
  traceContext: Record<string, unknown>;
423
423
  environment?: Record<string, string> | undefined;
@@ -477,49 +477,49 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
477
477
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
478
478
  maxDuration: z.ZodOptional<z.ZodNumber>;
479
479
  }, "strip", z.ZodTypeAny, {
480
- payload: string;
481
- tags: string[];
482
480
  id: string;
483
481
  createdAt: Date;
484
- startedAt: Date;
482
+ payload: string;
483
+ payloadType: string;
484
+ tags: string[];
485
485
  isTest: boolean;
486
+ startedAt: Date;
486
487
  costInCents: number;
487
488
  baseCostInCents: number;
488
- payloadType: string;
489
489
  durationMs: number;
490
- idempotencyKey?: string | undefined;
491
490
  maxAttempts?: number | undefined;
492
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
493
491
  maxDuration?: number | undefined;
494
- context?: any;
492
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
495
493
  version?: string | undefined;
494
+ context?: any;
495
+ idempotencyKey?: string | undefined;
496
496
  }, {
497
- payload: string;
498
- tags: string[];
499
497
  id: string;
500
498
  createdAt: Date;
499
+ payload: string;
501
500
  payloadType: string;
502
- idempotencyKey?: string | undefined;
501
+ tags: string[];
503
502
  maxAttempts?: number | undefined;
504
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
505
503
  maxDuration?: number | undefined;
506
- startedAt?: Date | undefined;
504
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
505
+ version?: string | undefined;
506
+ context?: any;
507
+ idempotencyKey?: string | undefined;
507
508
  isTest?: boolean | undefined;
509
+ startedAt?: Date | undefined;
508
510
  costInCents?: number | undefined;
509
511
  baseCostInCents?: number | undefined;
510
- context?: any;
511
512
  durationMs?: number | undefined;
512
- version?: string | undefined;
513
513
  }>;
514
514
  queue: z.ZodObject<{
515
515
  id: z.ZodString;
516
516
  name: z.ZodString;
517
517
  }, "strip", z.ZodTypeAny, {
518
- name: string;
519
518
  id: string;
520
- }, {
521
519
  name: string;
520
+ }, {
522
521
  id: string;
522
+ name: string;
523
523
  }>;
524
524
  environment: z.ZodObject<{
525
525
  id: z.ZodString;
@@ -539,12 +539,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
539
539
  slug: z.ZodString;
540
540
  name: z.ZodString;
541
541
  }, "strip", z.ZodTypeAny, {
542
- name: string;
543
542
  id: string;
543
+ name: string;
544
544
  slug: string;
545
545
  }, {
546
- name: string;
547
546
  id: string;
547
+ name: string;
548
548
  slug: string;
549
549
  }>;
550
550
  project: z.ZodObject<{
@@ -553,13 +553,13 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
553
553
  slug: z.ZodString;
554
554
  name: z.ZodString;
555
555
  }, "strip", z.ZodTypeAny, {
556
- name: string;
557
556
  id: string;
557
+ name: string;
558
558
  slug: string;
559
559
  ref: string;
560
560
  }, {
561
- name: string;
562
561
  id: string;
562
+ name: string;
563
563
  slug: string;
564
564
  ref: string;
565
565
  }>;
@@ -593,12 +593,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
593
593
  version: z.ZodString;
594
594
  }, "strip", z.ZodTypeAny, {
595
595
  id: string;
596
- version: string;
597
596
  contentHash: string;
597
+ version: string;
598
598
  }, {
599
599
  id: string;
600
- version: string;
601
600
  contentHash: string;
601
+ version: string;
602
602
  }>;
603
603
  machine: z.ZodDefault<z.ZodObject<{
604
604
  name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
@@ -617,33 +617,31 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
617
617
  centsPerMs: number;
618
618
  }>>;
619
619
  }>, "strip", z.ZodTypeAny, {
620
- queue: {
621
- name: string;
620
+ organization: {
622
621
  id: string;
622
+ name: string;
623
+ slug: string;
623
624
  };
624
- run: {
625
- payload: string;
626
- tags: string[];
625
+ queue: {
627
626
  id: string;
628
- createdAt: Date;
629
- startedAt: Date;
630
- isTest: boolean;
631
- costInCents: number;
632
- baseCostInCents: number;
633
- payloadType: string;
634
- durationMs: number;
635
- idempotencyKey?: string | undefined;
636
- maxAttempts?: number | undefined;
637
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
638
- maxDuration?: number | undefined;
639
- context?: any;
640
- version?: string | undefined;
627
+ name: string;
628
+ };
629
+ machine: {
630
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
631
+ cpu: number;
632
+ memory: number;
633
+ centsPerMs: number;
641
634
  };
642
635
  task: {
643
636
  id: string;
644
637
  filePath: string;
645
638
  exportName: string;
646
639
  };
640
+ worker: {
641
+ id: string;
642
+ contentHash: string;
643
+ version: string;
644
+ };
647
645
  attempt: {
648
646
  number: number;
649
647
  status: string;
@@ -652,64 +650,58 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
652
650
  backgroundWorkerId: string;
653
651
  backgroundWorkerTaskId: string;
654
652
  };
655
- environment: {
656
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
653
+ run: {
657
654
  id: string;
658
- slug: string;
655
+ createdAt: Date;
656
+ payload: string;
657
+ payloadType: string;
658
+ tags: string[];
659
+ isTest: boolean;
660
+ startedAt: Date;
661
+ costInCents: number;
662
+ baseCostInCents: number;
663
+ durationMs: number;
664
+ maxAttempts?: number | undefined;
665
+ maxDuration?: number | undefined;
666
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
667
+ version?: string | undefined;
668
+ context?: any;
669
+ idempotencyKey?: string | undefined;
659
670
  };
660
- organization: {
661
- name: string;
671
+ environment: {
672
+ type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
662
673
  id: string;
663
674
  slug: string;
664
675
  };
665
676
  project: {
666
- name: string;
667
677
  id: string;
678
+ name: string;
668
679
  slug: string;
669
680
  ref: string;
670
681
  };
671
- machine: {
672
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
673
- cpu: number;
674
- memory: number;
675
- centsPerMs: number;
676
- };
677
- worker: {
678
- id: string;
679
- version: string;
680
- contentHash: string;
681
- };
682
682
  batch?: {
683
683
  id: string;
684
684
  } | undefined;
685
685
  }, {
686
- queue: {
687
- name: string;
686
+ organization: {
688
687
  id: string;
688
+ name: string;
689
+ slug: string;
689
690
  };
690
- run: {
691
- payload: string;
692
- tags: string[];
691
+ queue: {
693
692
  id: string;
694
- createdAt: Date;
695
- payloadType: string;
696
- idempotencyKey?: string | undefined;
697
- maxAttempts?: number | undefined;
698
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
699
- maxDuration?: number | undefined;
700
- startedAt?: Date | undefined;
701
- isTest?: boolean | undefined;
702
- costInCents?: number | undefined;
703
- baseCostInCents?: number | undefined;
704
- context?: any;
705
- durationMs?: number | undefined;
706
- version?: string | undefined;
693
+ name: string;
707
694
  };
708
695
  task: {
709
696
  id: string;
710
697
  filePath: string;
711
698
  exportName: string;
712
699
  };
700
+ worker: {
701
+ id: string;
702
+ contentHash: string;
703
+ version: string;
704
+ };
713
705
  attempt: {
714
706
  number: number;
715
707
  status: string;
@@ -718,36 +710,44 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
718
710
  backgroundWorkerId: string;
719
711
  backgroundWorkerTaskId: string;
720
712
  };
721
- environment: {
722
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
713
+ run: {
723
714
  id: string;
724
- slug: string;
715
+ createdAt: Date;
716
+ payload: string;
717
+ payloadType: string;
718
+ tags: string[];
719
+ maxAttempts?: number | undefined;
720
+ maxDuration?: number | undefined;
721
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
722
+ version?: string | undefined;
723
+ context?: any;
724
+ idempotencyKey?: string | undefined;
725
+ isTest?: boolean | undefined;
726
+ startedAt?: Date | undefined;
727
+ costInCents?: number | undefined;
728
+ baseCostInCents?: number | undefined;
729
+ durationMs?: number | undefined;
725
730
  };
726
- organization: {
727
- name: string;
731
+ environment: {
732
+ type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
728
733
  id: string;
729
734
  slug: string;
730
735
  };
731
736
  project: {
732
- name: string;
733
737
  id: string;
738
+ name: string;
734
739
  slug: string;
735
740
  ref: string;
736
741
  };
737
- worker: {
738
- id: string;
739
- version: string;
740
- contentHash: string;
741
- };
742
- batch?: {
743
- id: string;
744
- } | undefined;
745
742
  machine?: {
746
743
  name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
747
744
  cpu: number;
748
745
  memory: number;
749
746
  centsPerMs: number;
750
747
  } | undefined;
748
+ batch?: {
749
+ id: string;
750
+ } | undefined;
751
751
  }>;
752
752
  export type ProdTaskRunExecution = z.infer<typeof ProdTaskRunExecution>;
753
753
  export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
@@ -805,49 +805,49 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
805
805
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
806
806
  maxDuration: z.ZodOptional<z.ZodNumber>;
807
807
  }, "strip", z.ZodTypeAny, {
808
- payload: string;
809
- tags: string[];
810
808
  id: string;
811
809
  createdAt: Date;
812
- startedAt: Date;
810
+ payload: string;
811
+ payloadType: string;
812
+ tags: string[];
813
813
  isTest: boolean;
814
+ startedAt: Date;
814
815
  costInCents: number;
815
816
  baseCostInCents: number;
816
- payloadType: string;
817
817
  durationMs: number;
818
- idempotencyKey?: string | undefined;
819
818
  maxAttempts?: number | undefined;
820
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
821
819
  maxDuration?: number | undefined;
822
- context?: any;
820
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
823
821
  version?: string | undefined;
822
+ context?: any;
823
+ idempotencyKey?: string | undefined;
824
824
  }, {
825
- payload: string;
826
- tags: string[];
827
825
  id: string;
828
826
  createdAt: Date;
827
+ payload: string;
829
828
  payloadType: string;
830
- idempotencyKey?: string | undefined;
829
+ tags: string[];
831
830
  maxAttempts?: number | undefined;
832
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
833
831
  maxDuration?: number | undefined;
834
- startedAt?: Date | undefined;
832
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
833
+ version?: string | undefined;
834
+ context?: any;
835
+ idempotencyKey?: string | undefined;
835
836
  isTest?: boolean | undefined;
837
+ startedAt?: Date | undefined;
836
838
  costInCents?: number | undefined;
837
839
  baseCostInCents?: number | undefined;
838
- context?: any;
839
840
  durationMs?: number | undefined;
840
- version?: string | undefined;
841
841
  }>;
842
842
  queue: z.ZodObject<{
843
843
  id: z.ZodString;
844
844
  name: z.ZodString;
845
845
  }, "strip", z.ZodTypeAny, {
846
- name: string;
847
846
  id: string;
848
- }, {
849
847
  name: string;
848
+ }, {
850
849
  id: string;
850
+ name: string;
851
851
  }>;
852
852
  environment: z.ZodObject<{
853
853
  id: z.ZodString;
@@ -867,12 +867,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
867
867
  slug: z.ZodString;
868
868
  name: z.ZodString;
869
869
  }, "strip", z.ZodTypeAny, {
870
- name: string;
871
870
  id: string;
871
+ name: string;
872
872
  slug: string;
873
873
  }, {
874
- name: string;
875
874
  id: string;
875
+ name: string;
876
876
  slug: string;
877
877
  }>;
878
878
  project: z.ZodObject<{
@@ -881,13 +881,13 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
881
881
  slug: z.ZodString;
882
882
  name: z.ZodString;
883
883
  }, "strip", z.ZodTypeAny, {
884
- name: string;
885
884
  id: string;
885
+ name: string;
886
886
  slug: string;
887
887
  ref: string;
888
888
  }, {
889
- name: string;
890
889
  id: string;
890
+ name: string;
891
891
  slug: string;
892
892
  ref: string;
893
893
  }>;
@@ -921,12 +921,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
921
921
  version: z.ZodString;
922
922
  }, "strip", z.ZodTypeAny, {
923
923
  id: string;
924
- version: string;
925
924
  contentHash: string;
925
+ version: string;
926
926
  }, {
927
927
  id: string;
928
- version: string;
929
928
  contentHash: string;
929
+ version: string;
930
930
  }>;
931
931
  machine: z.ZodDefault<z.ZodObject<{
932
932
  name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
@@ -945,33 +945,31 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
945
945
  centsPerMs: number;
946
946
  }>>;
947
947
  }>, "strip", z.ZodTypeAny, {
948
- queue: {
949
- name: string;
948
+ organization: {
950
949
  id: string;
950
+ name: string;
951
+ slug: string;
951
952
  };
952
- run: {
953
- payload: string;
954
- tags: string[];
953
+ queue: {
955
954
  id: string;
956
- createdAt: Date;
957
- startedAt: Date;
958
- isTest: boolean;
959
- costInCents: number;
960
- baseCostInCents: number;
961
- payloadType: string;
962
- durationMs: number;
963
- idempotencyKey?: string | undefined;
964
- maxAttempts?: number | undefined;
965
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
966
- maxDuration?: number | undefined;
967
- context?: any;
968
- version?: string | undefined;
955
+ name: string;
956
+ };
957
+ machine: {
958
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
959
+ cpu: number;
960
+ memory: number;
961
+ centsPerMs: number;
969
962
  };
970
963
  task: {
971
964
  id: string;
972
965
  filePath: string;
973
966
  exportName: string;
974
967
  };
968
+ worker: {
969
+ id: string;
970
+ contentHash: string;
971
+ version: string;
972
+ };
975
973
  attempt: {
976
974
  number: number;
977
975
  status: string;
@@ -980,64 +978,58 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
980
978
  backgroundWorkerId: string;
981
979
  backgroundWorkerTaskId: string;
982
980
  };
983
- environment: {
984
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
985
- id: string;
986
- slug: string;
987
- };
988
- organization: {
989
- name: string;
981
+ run: {
990
982
  id: string;
991
- slug: string;
983
+ createdAt: Date;
984
+ payload: string;
985
+ payloadType: string;
986
+ tags: string[];
987
+ isTest: boolean;
988
+ startedAt: Date;
989
+ costInCents: number;
990
+ baseCostInCents: number;
991
+ durationMs: number;
992
+ maxAttempts?: number | undefined;
993
+ maxDuration?: number | undefined;
994
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
995
+ version?: string | undefined;
996
+ context?: any;
997
+ idempotencyKey?: string | undefined;
992
998
  };
993
- project: {
994
- name: string;
999
+ environment: {
1000
+ type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
995
1001
  id: string;
996
1002
  slug: string;
997
- ref: string;
998
- };
999
- machine: {
1000
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1001
- cpu: number;
1002
- memory: number;
1003
- centsPerMs: number;
1004
1003
  };
1005
- worker: {
1004
+ project: {
1006
1005
  id: string;
1007
- version: string;
1008
- contentHash: string;
1006
+ name: string;
1007
+ slug: string;
1008
+ ref: string;
1009
1009
  };
1010
1010
  batch?: {
1011
1011
  id: string;
1012
1012
  } | undefined;
1013
1013
  }, {
1014
- queue: {
1015
- name: string;
1014
+ organization: {
1016
1015
  id: string;
1016
+ name: string;
1017
+ slug: string;
1017
1018
  };
1018
- run: {
1019
- payload: string;
1020
- tags: string[];
1019
+ queue: {
1021
1020
  id: string;
1022
- createdAt: Date;
1023
- payloadType: string;
1024
- idempotencyKey?: string | undefined;
1025
- maxAttempts?: number | undefined;
1026
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1027
- maxDuration?: number | undefined;
1028
- startedAt?: Date | undefined;
1029
- isTest?: boolean | undefined;
1030
- costInCents?: number | undefined;
1031
- baseCostInCents?: number | undefined;
1032
- context?: any;
1033
- durationMs?: number | undefined;
1034
- version?: string | undefined;
1021
+ name: string;
1035
1022
  };
1036
1023
  task: {
1037
1024
  id: string;
1038
1025
  filePath: string;
1039
1026
  exportName: string;
1040
1027
  };
1028
+ worker: {
1029
+ id: string;
1030
+ contentHash: string;
1031
+ version: string;
1032
+ };
1041
1033
  attempt: {
1042
1034
  number: number;
1043
1035
  status: string;
@@ -1046,68 +1038,74 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1046
1038
  backgroundWorkerId: string;
1047
1039
  backgroundWorkerTaskId: string;
1048
1040
  };
1049
- environment: {
1050
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1041
+ run: {
1051
1042
  id: string;
1052
- slug: string;
1043
+ createdAt: Date;
1044
+ payload: string;
1045
+ payloadType: string;
1046
+ tags: string[];
1047
+ maxAttempts?: number | undefined;
1048
+ maxDuration?: number | undefined;
1049
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1050
+ version?: string | undefined;
1051
+ context?: any;
1052
+ idempotencyKey?: string | undefined;
1053
+ isTest?: boolean | undefined;
1054
+ startedAt?: Date | undefined;
1055
+ costInCents?: number | undefined;
1056
+ baseCostInCents?: number | undefined;
1057
+ durationMs?: number | undefined;
1053
1058
  };
1054
- organization: {
1055
- name: string;
1059
+ environment: {
1060
+ type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1056
1061
  id: string;
1057
1062
  slug: string;
1058
1063
  };
1059
1064
  project: {
1060
- name: string;
1061
1065
  id: string;
1066
+ name: string;
1062
1067
  slug: string;
1063
1068
  ref: string;
1064
1069
  };
1065
- worker: {
1066
- id: string;
1067
- version: string;
1068
- contentHash: string;
1069
- };
1070
- batch?: {
1071
- id: string;
1072
- } | undefined;
1073
1070
  machine?: {
1074
1071
  name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1075
1072
  cpu: number;
1076
1073
  memory: number;
1077
1074
  centsPerMs: number;
1078
1075
  } | undefined;
1076
+ batch?: {
1077
+ id: string;
1078
+ } | undefined;
1079
1079
  }>;
1080
1080
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1081
1081
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1082
1082
  }, "strip", z.ZodTypeAny, {
1083
1083
  execution: {
1084
- queue: {
1085
- name: string;
1084
+ organization: {
1086
1085
  id: string;
1086
+ name: string;
1087
+ slug: string;
1087
1088
  };
1088
- run: {
1089
- payload: string;
1090
- tags: string[];
1089
+ queue: {
1091
1090
  id: string;
1092
- createdAt: Date;
1093
- startedAt: Date;
1094
- isTest: boolean;
1095
- costInCents: number;
1096
- baseCostInCents: number;
1097
- payloadType: string;
1098
- durationMs: number;
1099
- idempotencyKey?: string | undefined;
1100
- maxAttempts?: number | undefined;
1101
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1102
- maxDuration?: number | undefined;
1103
- context?: any;
1104
- version?: string | undefined;
1091
+ name: string;
1092
+ };
1093
+ machine: {
1094
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1095
+ cpu: number;
1096
+ memory: number;
1097
+ centsPerMs: number;
1105
1098
  };
1106
1099
  task: {
1107
1100
  id: string;
1108
1101
  filePath: string;
1109
1102
  exportName: string;
1110
1103
  };
1104
+ worker: {
1105
+ id: string;
1106
+ contentHash: string;
1107
+ version: string;
1108
+ };
1111
1109
  attempt: {
1112
1110
  number: number;
1113
1111
  status: string;
@@ -1116,33 +1114,35 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1116
1114
  backgroundWorkerId: string;
1117
1115
  backgroundWorkerTaskId: string;
1118
1116
  };
1119
- environment: {
1120
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1117
+ run: {
1121
1118
  id: string;
1122
- slug: string;
1119
+ createdAt: Date;
1120
+ payload: string;
1121
+ payloadType: string;
1122
+ tags: string[];
1123
+ isTest: boolean;
1124
+ startedAt: Date;
1125
+ costInCents: number;
1126
+ baseCostInCents: number;
1127
+ durationMs: number;
1128
+ maxAttempts?: number | undefined;
1129
+ maxDuration?: number | undefined;
1130
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1131
+ version?: string | undefined;
1132
+ context?: any;
1133
+ idempotencyKey?: string | undefined;
1123
1134
  };
1124
- organization: {
1125
- name: string;
1135
+ environment: {
1136
+ type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1126
1137
  id: string;
1127
1138
  slug: string;
1128
1139
  };
1129
1140
  project: {
1130
- name: string;
1131
1141
  id: string;
1142
+ name: string;
1132
1143
  slug: string;
1133
1144
  ref: string;
1134
1145
  };
1135
- machine: {
1136
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1137
- cpu: number;
1138
- memory: number;
1139
- centsPerMs: number;
1140
- };
1141
- worker: {
1142
- id: string;
1143
- version: string;
1144
- contentHash: string;
1145
- };
1146
1146
  batch?: {
1147
1147
  id: string;
1148
1148
  } | undefined;
@@ -1151,33 +1151,25 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1151
1151
  environment?: Record<string, string> | undefined;
1152
1152
  }, {
1153
1153
  execution: {
1154
- queue: {
1155
- name: string;
1154
+ organization: {
1156
1155
  id: string;
1156
+ name: string;
1157
+ slug: string;
1157
1158
  };
1158
- run: {
1159
- payload: string;
1160
- tags: string[];
1159
+ queue: {
1161
1160
  id: string;
1162
- createdAt: Date;
1163
- payloadType: string;
1164
- idempotencyKey?: string | undefined;
1165
- maxAttempts?: number | undefined;
1166
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1167
- maxDuration?: number | undefined;
1168
- startedAt?: Date | undefined;
1169
- isTest?: boolean | undefined;
1170
- costInCents?: number | undefined;
1171
- baseCostInCents?: number | undefined;
1172
- context?: any;
1173
- durationMs?: number | undefined;
1174
- version?: string | undefined;
1161
+ name: string;
1175
1162
  };
1176
1163
  task: {
1177
1164
  id: string;
1178
1165
  filePath: string;
1179
1166
  exportName: string;
1180
1167
  };
1168
+ worker: {
1169
+ id: string;
1170
+ contentHash: string;
1171
+ version: string;
1172
+ };
1181
1173
  attempt: {
1182
1174
  number: number;
1183
1175
  status: string;
@@ -1186,36 +1178,44 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1186
1178
  backgroundWorkerId: string;
1187
1179
  backgroundWorkerTaskId: string;
1188
1180
  };
1189
- environment: {
1190
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1181
+ run: {
1191
1182
  id: string;
1192
- slug: string;
1183
+ createdAt: Date;
1184
+ payload: string;
1185
+ payloadType: string;
1186
+ tags: string[];
1187
+ maxAttempts?: number | undefined;
1188
+ maxDuration?: number | undefined;
1189
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1190
+ version?: string | undefined;
1191
+ context?: any;
1192
+ idempotencyKey?: string | undefined;
1193
+ isTest?: boolean | undefined;
1194
+ startedAt?: Date | undefined;
1195
+ costInCents?: number | undefined;
1196
+ baseCostInCents?: number | undefined;
1197
+ durationMs?: number | undefined;
1193
1198
  };
1194
- organization: {
1195
- name: string;
1199
+ environment: {
1200
+ type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1196
1201
  id: string;
1197
1202
  slug: string;
1198
1203
  };
1199
1204
  project: {
1200
- name: string;
1201
1205
  id: string;
1206
+ name: string;
1202
1207
  slug: string;
1203
1208
  ref: string;
1204
1209
  };
1205
- worker: {
1206
- id: string;
1207
- version: string;
1208
- contentHash: string;
1209
- };
1210
- batch?: {
1211
- id: string;
1212
- } | undefined;
1213
1210
  machine?: {
1214
1211
  name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1215
1212
  cpu: number;
1216
1213
  memory: number;
1217
1214
  centsPerMs: number;
1218
1215
  } | undefined;
1216
+ batch?: {
1217
+ id: string;
1218
+ } | undefined;
1219
1219
  };
1220
1220
  traceContext: Record<string, unknown>;
1221
1221
  environment?: Record<string, string> | undefined;
@@ -1561,12 +1561,12 @@ export declare const TaskMetadata: z.ZodObject<{
1561
1561
  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>]>>;
1562
1562
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
1563
1563
  }, "strip", z.ZodTypeAny, {
1564
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1565
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1564
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
1565
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
1566
1566
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1567
1567
  }, {
1568
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1569
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1568
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
1569
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
1570
1570
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1571
1571
  }>>;
1572
1572
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -1583,6 +1583,11 @@ export declare const TaskMetadata: z.ZodObject<{
1583
1583
  maxDuration: z.ZodOptional<z.ZodNumber>;
1584
1584
  }, "strip", z.ZodTypeAny, {
1585
1585
  id: string;
1586
+ description?: string | undefined;
1587
+ queue?: {
1588
+ name?: string | undefined;
1589
+ concurrencyLimit?: number | undefined;
1590
+ } | undefined;
1586
1591
  retry?: {
1587
1592
  maxAttempts?: number | undefined;
1588
1593
  factor?: number | undefined;
@@ -1590,24 +1595,24 @@ export declare const TaskMetadata: z.ZodObject<{
1590
1595
  maxTimeoutInMs?: number | undefined;
1591
1596
  randomize?: boolean | undefined;
1592
1597
  } | undefined;
1593
- queue?: {
1594
- name?: string | undefined;
1595
- concurrencyLimit?: number | undefined;
1596
- } | undefined;
1597
- maxDuration?: number | undefined;
1598
1598
  machine?: {
1599
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1600
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1599
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
1600
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
1601
1601
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1602
1602
  } | undefined;
1603
- description?: string | undefined;
1604
1603
  triggerSource?: string | undefined;
1605
1604
  schedule?: {
1606
1605
  cron: string;
1607
1606
  timezone: string;
1608
1607
  } | undefined;
1608
+ maxDuration?: number | undefined;
1609
1609
  }, {
1610
1610
  id: string;
1611
+ description?: string | undefined;
1612
+ queue?: {
1613
+ name?: string | undefined;
1614
+ concurrencyLimit?: number | undefined;
1615
+ } | undefined;
1611
1616
  retry?: {
1612
1617
  maxAttempts?: number | undefined;
1613
1618
  factor?: number | undefined;
@@ -1615,22 +1620,17 @@ export declare const TaskMetadata: z.ZodObject<{
1615
1620
  maxTimeoutInMs?: number | undefined;
1616
1621
  randomize?: boolean | undefined;
1617
1622
  } | undefined;
1618
- queue?: {
1619
- name?: string | undefined;
1620
- concurrencyLimit?: number | undefined;
1621
- } | undefined;
1622
- maxDuration?: number | undefined;
1623
1623
  machine?: {
1624
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1625
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1624
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
1625
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
1626
1626
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1627
1627
  } | undefined;
1628
- description?: string | undefined;
1629
1628
  triggerSource?: string | undefined;
1630
1629
  schedule?: {
1631
1630
  cron: string;
1632
1631
  timezone: string;
1633
1632
  } | undefined;
1633
+ maxDuration?: number | undefined;
1634
1634
  }>;
1635
1635
  export type TaskMetadata = z.infer<typeof TaskMetadata>;
1636
1636
  export declare const TaskFile: z.ZodObject<{
@@ -1743,12 +1743,12 @@ export declare const TaskManifest: z.ZodObject<{
1743
1743
  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>]>>;
1744
1744
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
1745
1745
  }, "strip", z.ZodTypeAny, {
1746
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1747
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1746
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
1747
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
1748
1748
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1749
1749
  }, {
1750
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1751
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1750
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
1751
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
1752
1752
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1753
1753
  }>>;
1754
1754
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -1768,6 +1768,11 @@ export declare const TaskManifest: z.ZodObject<{
1768
1768
  filePath: string;
1769
1769
  exportName: string;
1770
1770
  entryPoint: string;
1771
+ description?: string | undefined;
1772
+ queue?: {
1773
+ name?: string | undefined;
1774
+ concurrencyLimit?: number | undefined;
1775
+ } | undefined;
1771
1776
  retry?: {
1772
1777
  maxAttempts?: number | undefined;
1773
1778
  factor?: number | undefined;
@@ -1775,27 +1780,27 @@ export declare const TaskManifest: z.ZodObject<{
1775
1780
  maxTimeoutInMs?: number | undefined;
1776
1781
  randomize?: boolean | undefined;
1777
1782
  } | undefined;
1778
- queue?: {
1779
- name?: string | undefined;
1780
- concurrencyLimit?: number | undefined;
1781
- } | undefined;
1782
- maxDuration?: number | undefined;
1783
1783
  machine?: {
1784
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1785
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1784
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
1785
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
1786
1786
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1787
1787
  } | undefined;
1788
- description?: string | undefined;
1789
1788
  triggerSource?: string | undefined;
1790
1789
  schedule?: {
1791
1790
  cron: string;
1792
1791
  timezone: string;
1793
1792
  } | undefined;
1793
+ maxDuration?: number | undefined;
1794
1794
  }, {
1795
1795
  id: string;
1796
1796
  filePath: string;
1797
1797
  exportName: string;
1798
1798
  entryPoint: string;
1799
+ description?: string | undefined;
1800
+ queue?: {
1801
+ name?: string | undefined;
1802
+ concurrencyLimit?: number | undefined;
1803
+ } | undefined;
1799
1804
  retry?: {
1800
1805
  maxAttempts?: number | undefined;
1801
1806
  factor?: number | undefined;
@@ -1803,22 +1808,17 @@ export declare const TaskManifest: z.ZodObject<{
1803
1808
  maxTimeoutInMs?: number | undefined;
1804
1809
  randomize?: boolean | undefined;
1805
1810
  } | undefined;
1806
- queue?: {
1807
- name?: string | undefined;
1808
- concurrencyLimit?: number | undefined;
1809
- } | undefined;
1810
- maxDuration?: number | undefined;
1811
1811
  machine?: {
1812
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1813
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1812
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
1813
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
1814
1814
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1815
1815
  } | undefined;
1816
- description?: string | undefined;
1817
1816
  triggerSource?: string | undefined;
1818
1817
  schedule?: {
1819
1818
  cron: string;
1820
1819
  timezone: string;
1821
1820
  } | undefined;
1821
+ maxDuration?: number | undefined;
1822
1822
  }>;
1823
1823
  export type TaskManifest = z.infer<typeof TaskManifest>;
1824
1824
  export declare const PostStartCauses: z.ZodEnum<["index", "create", "restore"]>;
@@ -1952,14 +1952,14 @@ export declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
1952
1952
  traceContext: Record<string, unknown>;
1953
1953
  runId: string;
1954
1954
  messageId: string;
1955
- environment?: Record<string, string> | undefined;
1956
1955
  attemptCount?: number | undefined;
1956
+ environment?: Record<string, string> | undefined;
1957
1957
  }, {
1958
1958
  isTest: boolean;
1959
1959
  traceContext: Record<string, unknown>;
1960
1960
  runId: string;
1961
1961
  messageId: string;
1962
- environment?: Record<string, string> | undefined;
1963
1962
  attemptCount?: number | undefined;
1963
+ environment?: Record<string, string> | undefined;
1964
1964
  }>;
1965
1965
  export type TaskRunExecutionLazyAttemptPayload = z.infer<typeof TaskRunExecutionLazyAttemptPayload>;