@trigger.dev/core 0.0.0-prerelease-20241213125952 → 0.0.0-prerelease-20241216144353

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.
Files changed (50) hide show
  1. package/dist/commonjs/v3/apiClient/index.d.ts +124 -124
  2. package/dist/commonjs/v3/index.d.ts +1 -0
  3. package/dist/commonjs/v3/index.js +1 -0
  4. package/dist/commonjs/v3/index.js.map +1 -1
  5. package/dist/commonjs/v3/runMetadata/index.d.ts +3 -1
  6. package/dist/commonjs/v3/runMetadata/index.js +6 -0
  7. package/dist/commonjs/v3/runMetadata/index.js.map +1 -1
  8. package/dist/commonjs/v3/runMetadata/manager.d.ts +6 -1
  9. package/dist/commonjs/v3/runMetadata/manager.js +57 -7
  10. package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
  11. package/dist/commonjs/v3/runMetadata/metadataSync.d.ts +1 -0
  12. package/dist/commonjs/v3/runMetadata/metadataSync.js +3 -0
  13. package/dist/commonjs/v3/runMetadata/metadataSync.js.map +1 -0
  14. package/dist/commonjs/v3/runMetadata/noopManager.d.ts +3 -1
  15. package/dist/commonjs/v3/runMetadata/noopManager.js +20 -0
  16. package/dist/commonjs/v3/runMetadata/noopManager.js.map +1 -1
  17. package/dist/commonjs/v3/runMetadata/types.d.ts +8 -4
  18. package/dist/commonjs/v3/schemas/api.d.ts +869 -481
  19. package/dist/commonjs/v3/schemas/api.js +40 -1
  20. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  21. package/dist/commonjs/v3/schemas/build.d.ts +132 -132
  22. package/dist/commonjs/v3/schemas/fetch.d.ts +10 -10
  23. package/dist/commonjs/v3/schemas/messages.d.ts +1741 -1741
  24. package/dist/commonjs/v3/schemas/resources.d.ts +70 -70
  25. package/dist/commonjs/v3/schemas/schemas.d.ts +259 -259
  26. package/dist/esm/v3/apiClient/index.d.ts +124 -124
  27. package/dist/esm/v3/index.d.ts +1 -0
  28. package/dist/esm/v3/index.js +1 -0
  29. package/dist/esm/v3/index.js.map +1 -1
  30. package/dist/esm/v3/runMetadata/index.d.ts +3 -1
  31. package/dist/esm/v3/runMetadata/index.js +6 -0
  32. package/dist/esm/v3/runMetadata/index.js.map +1 -1
  33. package/dist/esm/v3/runMetadata/manager.d.ts +6 -1
  34. package/dist/esm/v3/runMetadata/manager.js +57 -7
  35. package/dist/esm/v3/runMetadata/manager.js.map +1 -1
  36. package/dist/esm/v3/runMetadata/metadataSync.d.ts +1 -0
  37. package/dist/esm/v3/runMetadata/metadataSync.js +2 -0
  38. package/dist/esm/v3/runMetadata/metadataSync.js.map +1 -0
  39. package/dist/esm/v3/runMetadata/noopManager.d.ts +3 -1
  40. package/dist/esm/v3/runMetadata/noopManager.js +20 -0
  41. package/dist/esm/v3/runMetadata/noopManager.js.map +1 -1
  42. package/dist/esm/v3/runMetadata/types.d.ts +8 -4
  43. package/dist/esm/v3/schemas/api.d.ts +869 -481
  44. package/dist/esm/v3/schemas/api.js +39 -0
  45. package/dist/esm/v3/schemas/api.js.map +1 -1
  46. package/dist/esm/v3/schemas/build.d.ts +124 -124
  47. package/dist/esm/v3/schemas/messages.d.ts +1741 -1741
  48. package/dist/esm/v3/schemas/resources.d.ts +70 -70
  49. package/dist/esm/v3/schemas/schemas.d.ts +259 -259
  50. package/package.json +1 -1
@@ -26,15 +26,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
26
26
  status: z.ZodString;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  number: number;
29
- id: string;
30
29
  status: string;
30
+ id: string;
31
31
  startedAt: Date;
32
32
  backgroundWorkerId: string;
33
33
  backgroundWorkerTaskId: string;
34
34
  }, {
35
35
  number: number;
36
- id: string;
37
36
  status: string;
37
+ id: string;
38
38
  startedAt: Date;
39
39
  backgroundWorkerId: string;
40
40
  backgroundWorkerTaskId: string;
@@ -58,33 +58,33 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
58
58
  maxDuration: z.ZodOptional<z.ZodNumber>;
59
59
  }, "strip", z.ZodTypeAny, {
60
60
  id: string;
61
+ createdAt: Date;
61
62
  payload: string;
62
63
  payloadType: string;
63
64
  tags: string[];
64
65
  isTest: boolean;
65
- createdAt: Date;
66
66
  startedAt: Date;
67
67
  costInCents: number;
68
68
  baseCostInCents: number;
69
69
  durationMs: number;
70
- context?: any;
71
- idempotencyKey?: string | undefined;
72
70
  maxAttempts?: number | undefined;
73
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
74
71
  maxDuration?: number | undefined;
72
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
75
73
  version?: string | undefined;
74
+ context?: any;
75
+ idempotencyKey?: string | undefined;
76
76
  }, {
77
77
  id: string;
78
+ createdAt: Date;
78
79
  payload: string;
79
80
  payloadType: string;
80
81
  tags: string[];
81
- createdAt: Date;
82
- context?: any;
83
- idempotencyKey?: string | undefined;
84
82
  maxAttempts?: number | undefined;
85
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
86
83
  maxDuration?: number | undefined;
84
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
87
85
  version?: string | undefined;
86
+ context?: any;
87
+ idempotencyKey?: string | undefined;
88
88
  isTest?: boolean | undefined;
89
89
  startedAt?: Date | undefined;
90
90
  costInCents?: number | undefined;
@@ -106,12 +106,12 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
106
106
  slug: z.ZodString;
107
107
  type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
108
108
  }, "strip", z.ZodTypeAny, {
109
- id: string;
110
109
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
110
+ id: string;
111
111
  slug: string;
112
112
  }, {
113
- id: string;
114
113
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
114
+ id: string;
115
115
  slug: string;
116
116
  }>;
117
117
  organization: z.ZodObject<{
@@ -167,6 +167,11 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
167
167
  centsPerMs: number;
168
168
  }>>;
169
169
  }, "strip", z.ZodTypeAny, {
170
+ organization: {
171
+ id: string;
172
+ name: string;
173
+ slug: string;
174
+ };
170
175
  queue: {
171
176
  id: string;
172
177
  name: string;
@@ -178,38 +183,33 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
178
183
  };
179
184
  attempt: {
180
185
  number: number;
181
- id: string;
182
186
  status: string;
187
+ id: string;
183
188
  startedAt: Date;
184
189
  backgroundWorkerId: string;
185
190
  backgroundWorkerTaskId: string;
186
191
  };
187
192
  run: {
188
193
  id: string;
194
+ createdAt: Date;
189
195
  payload: string;
190
196
  payloadType: string;
191
197
  tags: string[];
192
198
  isTest: boolean;
193
- createdAt: Date;
194
199
  startedAt: Date;
195
200
  costInCents: number;
196
201
  baseCostInCents: number;
197
202
  durationMs: number;
198
- context?: any;
199
- idempotencyKey?: string | undefined;
200
203
  maxAttempts?: number | undefined;
201
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
202
204
  maxDuration?: number | undefined;
205
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
203
206
  version?: string | undefined;
207
+ context?: any;
208
+ idempotencyKey?: string | undefined;
204
209
  };
205
210
  environment: {
206
- id: string;
207
211
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
208
- slug: string;
209
- };
210
- organization: {
211
212
  id: string;
212
- name: string;
213
213
  slug: string;
214
214
  };
215
215
  project: {
@@ -218,16 +218,21 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
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
+ organization: {
232
+ id: string;
233
+ name: string;
234
+ slug: string;
235
+ };
231
236
  queue: {
232
237
  id: string;
233
238
  name: string;
@@ -239,24 +244,24 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
239
244
  };
240
245
  attempt: {
241
246
  number: number;
242
- id: string;
243
247
  status: string;
248
+ id: string;
244
249
  startedAt: Date;
245
250
  backgroundWorkerId: string;
246
251
  backgroundWorkerTaskId: string;
247
252
  };
248
253
  run: {
249
254
  id: string;
255
+ createdAt: Date;
250
256
  payload: string;
251
257
  payloadType: string;
252
258
  tags: string[];
253
- createdAt: Date;
254
- context?: any;
255
- idempotencyKey?: string | undefined;
256
259
  maxAttempts?: number | undefined;
257
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
258
260
  maxDuration?: number | undefined;
261
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
259
262
  version?: string | undefined;
263
+ context?: any;
264
+ idempotencyKey?: string | undefined;
260
265
  isTest?: boolean | undefined;
261
266
  startedAt?: Date | undefined;
262
267
  costInCents?: number | undefined;
@@ -264,13 +269,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
264
269
  durationMs?: number | undefined;
265
270
  };
266
271
  environment: {
267
- id: string;
268
272
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
269
- slug: string;
270
- };
271
- organization: {
272
273
  id: string;
273
- name: string;
274
274
  slug: string;
275
275
  };
276
276
  project: {
@@ -279,20 +279,25 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
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
+ organization: {
297
+ id: string;
298
+ name: string;
299
+ slug: string;
300
+ };
296
301
  queue: {
297
302
  id: string;
298
303
  name: string;
@@ -304,38 +309,33 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
304
309
  };
305
310
  attempt: {
306
311
  number: number;
307
- id: string;
308
312
  status: string;
313
+ id: string;
309
314
  startedAt: Date;
310
315
  backgroundWorkerId: string;
311
316
  backgroundWorkerTaskId: string;
312
317
  };
313
318
  run: {
314
319
  id: string;
320
+ createdAt: Date;
315
321
  payload: string;
316
322
  payloadType: string;
317
323
  tags: string[];
318
324
  isTest: boolean;
319
- createdAt: Date;
320
325
  startedAt: Date;
321
326
  costInCents: number;
322
327
  baseCostInCents: number;
323
328
  durationMs: number;
324
- context?: any;
325
- idempotencyKey?: string | undefined;
326
329
  maxAttempts?: number | undefined;
327
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
328
330
  maxDuration?: number | undefined;
331
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
329
332
  version?: string | undefined;
333
+ context?: any;
334
+ idempotencyKey?: string | undefined;
330
335
  };
331
336
  environment: {
332
- id: string;
333
337
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
334
- slug: string;
335
- };
336
- organization: {
337
338
  id: string;
338
- name: string;
339
339
  slug: string;
340
340
  };
341
341
  project: {
@@ -344,20 +344,25 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
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
+ organization: {
362
+ id: string;
363
+ name: string;
364
+ slug: string;
365
+ };
361
366
  queue: {
362
367
  id: string;
363
368
  name: string;
@@ -369,24 +374,24 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
369
374
  };
370
375
  attempt: {
371
376
  number: number;
372
- id: string;
373
377
  status: string;
378
+ id: string;
374
379
  startedAt: Date;
375
380
  backgroundWorkerId: string;
376
381
  backgroundWorkerTaskId: string;
377
382
  };
378
383
  run: {
379
384
  id: string;
385
+ createdAt: Date;
380
386
  payload: string;
381
387
  payloadType: string;
382
388
  tags: string[];
383
- createdAt: Date;
384
- context?: any;
385
- idempotencyKey?: string | undefined;
386
389
  maxAttempts?: number | undefined;
387
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
388
390
  maxDuration?: number | undefined;
391
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
389
392
  version?: string | undefined;
393
+ context?: any;
394
+ idempotencyKey?: string | undefined;
390
395
  isTest?: boolean | undefined;
391
396
  startedAt?: Date | undefined;
392
397
  costInCents?: number | undefined;
@@ -394,13 +399,8 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
394
399
  durationMs?: number | undefined;
395
400
  };
396
401
  environment: {
397
- id: string;
398
402
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
399
- slug: string;
400
- };
401
- organization: {
402
403
  id: string;
403
- name: string;
404
404
  slug: string;
405
405
  };
406
406
  project: {
@@ -409,15 +409,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
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;
@@ -446,15 +446,15 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
446
446
  status: z.ZodString;
447
447
  }, "strip", z.ZodTypeAny, {
448
448
  number: number;
449
- id: string;
450
449
  status: string;
450
+ id: string;
451
451
  startedAt: Date;
452
452
  backgroundWorkerId: string;
453
453
  backgroundWorkerTaskId: string;
454
454
  }, {
455
455
  number: number;
456
- id: string;
457
456
  status: string;
457
+ id: string;
458
458
  startedAt: Date;
459
459
  backgroundWorkerId: string;
460
460
  backgroundWorkerTaskId: string;
@@ -478,33 +478,33 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
478
478
  maxDuration: z.ZodOptional<z.ZodNumber>;
479
479
  }, "strip", z.ZodTypeAny, {
480
480
  id: string;
481
+ createdAt: Date;
481
482
  payload: string;
482
483
  payloadType: string;
483
484
  tags: string[];
484
485
  isTest: boolean;
485
- createdAt: Date;
486
486
  startedAt: Date;
487
487
  costInCents: number;
488
488
  baseCostInCents: number;
489
489
  durationMs: number;
490
- context?: any;
491
- idempotencyKey?: string | undefined;
492
490
  maxAttempts?: number | undefined;
493
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
494
491
  maxDuration?: number | undefined;
492
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
495
493
  version?: string | undefined;
494
+ context?: any;
495
+ idempotencyKey?: string | undefined;
496
496
  }, {
497
497
  id: string;
498
+ createdAt: Date;
498
499
  payload: string;
499
500
  payloadType: string;
500
501
  tags: string[];
501
- createdAt: Date;
502
- context?: any;
503
- idempotencyKey?: string | undefined;
504
502
  maxAttempts?: number | undefined;
505
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
506
503
  maxDuration?: number | undefined;
504
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
507
505
  version?: string | undefined;
506
+ context?: any;
507
+ idempotencyKey?: string | undefined;
508
508
  isTest?: boolean | undefined;
509
509
  startedAt?: Date | undefined;
510
510
  costInCents?: number | undefined;
@@ -526,12 +526,12 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
526
526
  slug: z.ZodString;
527
527
  type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
528
528
  }, "strip", z.ZodTypeAny, {
529
- id: string;
530
529
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
530
+ id: string;
531
531
  slug: string;
532
532
  }, {
533
- id: string;
534
533
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
534
+ id: string;
535
535
  slug: string;
536
536
  }>;
537
537
  organization: z.ZodObject<{
@@ -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,49 +617,60 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
617
617
  centsPerMs: number;
618
618
  }>>;
619
619
  }>, "strip", z.ZodTypeAny, {
620
+ organization: {
621
+ id: string;
622
+ name: string;
623
+ slug: string;
624
+ };
620
625
  queue: {
621
626
  id: string;
622
627
  name: string;
623
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;
634
+ };
624
635
  task: {
625
636
  id: string;
626
637
  filePath: string;
627
638
  exportName: string;
628
639
  };
640
+ worker: {
641
+ id: string;
642
+ contentHash: string;
643
+ version: string;
644
+ };
629
645
  attempt: {
630
646
  number: number;
631
- id: string;
632
647
  status: string;
648
+ id: string;
633
649
  startedAt: Date;
634
650
  backgroundWorkerId: string;
635
651
  backgroundWorkerTaskId: string;
636
652
  };
637
653
  run: {
638
654
  id: string;
655
+ createdAt: Date;
639
656
  payload: string;
640
657
  payloadType: string;
641
658
  tags: string[];
642
659
  isTest: boolean;
643
- createdAt: Date;
644
660
  startedAt: Date;
645
661
  costInCents: number;
646
662
  baseCostInCents: number;
647
663
  durationMs: number;
648
- context?: any;
649
- idempotencyKey?: string | undefined;
650
664
  maxAttempts?: number | undefined;
651
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
652
665
  maxDuration?: number | undefined;
666
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
653
667
  version?: string | undefined;
668
+ context?: any;
669
+ idempotencyKey?: string | undefined;
654
670
  };
655
671
  environment: {
656
- id: string;
657
672
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
658
- slug: string;
659
- };
660
- organization: {
661
673
  id: string;
662
- name: string;
663
674
  slug: string;
664
675
  };
665
676
  project: {
@@ -668,21 +679,15 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
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
+ organization: {
687
+ id: string;
688
+ name: string;
689
+ slug: string;
690
+ };
686
691
  queue: {
687
692
  id: string;
688
693
  name: string;
@@ -692,26 +697,31 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
692
697
  filePath: string;
693
698
  exportName: string;
694
699
  };
700
+ worker: {
701
+ id: string;
702
+ contentHash: string;
703
+ version: string;
704
+ };
695
705
  attempt: {
696
706
  number: number;
697
- id: string;
698
707
  status: string;
708
+ id: string;
699
709
  startedAt: Date;
700
710
  backgroundWorkerId: string;
701
711
  backgroundWorkerTaskId: string;
702
712
  };
703
713
  run: {
704
714
  id: string;
715
+ createdAt: Date;
705
716
  payload: string;
706
717
  payloadType: string;
707
718
  tags: string[];
708
- createdAt: Date;
709
- context?: any;
710
- idempotencyKey?: string | undefined;
711
719
  maxAttempts?: number | undefined;
712
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
713
720
  maxDuration?: number | undefined;
721
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
714
722
  version?: string | undefined;
723
+ context?: any;
724
+ idempotencyKey?: string | undefined;
715
725
  isTest?: boolean | undefined;
716
726
  startedAt?: Date | undefined;
717
727
  costInCents?: number | undefined;
@@ -719,13 +729,8 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
719
729
  durationMs?: number | undefined;
720
730
  };
721
731
  environment: {
722
- id: string;
723
732
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
724
- slug: string;
725
- };
726
- organization: {
727
733
  id: string;
728
- name: string;
729
734
  slug: string;
730
735
  };
731
736
  project: {
@@ -734,20 +739,15 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
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<{
@@ -774,15 +774,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
774
774
  status: z.ZodString;
775
775
  }, "strip", z.ZodTypeAny, {
776
776
  number: number;
777
- id: string;
778
777
  status: string;
778
+ id: string;
779
779
  startedAt: Date;
780
780
  backgroundWorkerId: string;
781
781
  backgroundWorkerTaskId: string;
782
782
  }, {
783
783
  number: number;
784
- id: string;
785
784
  status: string;
785
+ id: string;
786
786
  startedAt: Date;
787
787
  backgroundWorkerId: string;
788
788
  backgroundWorkerTaskId: string;
@@ -806,33 +806,33 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
806
806
  maxDuration: z.ZodOptional<z.ZodNumber>;
807
807
  }, "strip", z.ZodTypeAny, {
808
808
  id: string;
809
+ createdAt: Date;
809
810
  payload: string;
810
811
  payloadType: string;
811
812
  tags: string[];
812
813
  isTest: boolean;
813
- createdAt: Date;
814
814
  startedAt: Date;
815
815
  costInCents: number;
816
816
  baseCostInCents: number;
817
817
  durationMs: number;
818
- context?: any;
819
- idempotencyKey?: string | undefined;
820
818
  maxAttempts?: number | undefined;
821
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
822
819
  maxDuration?: number | undefined;
820
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
823
821
  version?: string | undefined;
822
+ context?: any;
823
+ idempotencyKey?: string | undefined;
824
824
  }, {
825
825
  id: string;
826
+ createdAt: Date;
826
827
  payload: string;
827
828
  payloadType: string;
828
829
  tags: string[];
829
- createdAt: Date;
830
- context?: any;
831
- idempotencyKey?: string | undefined;
832
830
  maxAttempts?: number | undefined;
833
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
834
831
  maxDuration?: number | undefined;
832
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
835
833
  version?: string | undefined;
834
+ context?: any;
835
+ idempotencyKey?: string | undefined;
836
836
  isTest?: boolean | undefined;
837
837
  startedAt?: Date | undefined;
838
838
  costInCents?: number | undefined;
@@ -854,12 +854,12 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
854
854
  slug: z.ZodString;
855
855
  type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
856
856
  }, "strip", z.ZodTypeAny, {
857
- id: string;
858
857
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
858
+ id: string;
859
859
  slug: string;
860
860
  }, {
861
- id: string;
862
861
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
862
+ id: string;
863
863
  slug: string;
864
864
  }>;
865
865
  organization: z.ZodObject<{
@@ -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,49 +945,60 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
945
945
  centsPerMs: number;
946
946
  }>>;
947
947
  }>, "strip", z.ZodTypeAny, {
948
+ organization: {
949
+ id: string;
950
+ name: string;
951
+ slug: string;
952
+ };
948
953
  queue: {
949
954
  id: string;
950
955
  name: string;
951
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;
962
+ };
952
963
  task: {
953
964
  id: string;
954
965
  filePath: string;
955
966
  exportName: string;
956
967
  };
968
+ worker: {
969
+ id: string;
970
+ contentHash: string;
971
+ version: string;
972
+ };
957
973
  attempt: {
958
974
  number: number;
959
- id: string;
960
975
  status: string;
976
+ id: string;
961
977
  startedAt: Date;
962
978
  backgroundWorkerId: string;
963
979
  backgroundWorkerTaskId: string;
964
980
  };
965
981
  run: {
966
982
  id: string;
983
+ createdAt: Date;
967
984
  payload: string;
968
985
  payloadType: string;
969
986
  tags: string[];
970
987
  isTest: boolean;
971
- createdAt: Date;
972
988
  startedAt: Date;
973
989
  costInCents: number;
974
990
  baseCostInCents: number;
975
991
  durationMs: number;
976
- context?: any;
977
- idempotencyKey?: string | undefined;
978
992
  maxAttempts?: number | undefined;
979
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
980
993
  maxDuration?: number | undefined;
994
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
981
995
  version?: string | undefined;
996
+ context?: any;
997
+ idempotencyKey?: string | undefined;
982
998
  };
983
999
  environment: {
984
- id: string;
985
1000
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
986
- slug: string;
987
- };
988
- organization: {
989
1001
  id: string;
990
- name: string;
991
1002
  slug: string;
992
1003
  };
993
1004
  project: {
@@ -996,21 +1007,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
996
1007
  slug: string;
997
1008
  ref: string;
998
1009
  };
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
- };
1005
- worker: {
1006
- id: string;
1007
- version: string;
1008
- contentHash: string;
1009
- };
1010
1010
  batch?: {
1011
1011
  id: string;
1012
1012
  } | undefined;
1013
1013
  }, {
1014
+ organization: {
1015
+ id: string;
1016
+ name: string;
1017
+ slug: string;
1018
+ };
1014
1019
  queue: {
1015
1020
  id: string;
1016
1021
  name: string;
@@ -1020,26 +1025,31 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1020
1025
  filePath: string;
1021
1026
  exportName: string;
1022
1027
  };
1028
+ worker: {
1029
+ id: string;
1030
+ contentHash: string;
1031
+ version: string;
1032
+ };
1023
1033
  attempt: {
1024
1034
  number: number;
1025
- id: string;
1026
1035
  status: string;
1036
+ id: string;
1027
1037
  startedAt: Date;
1028
1038
  backgroundWorkerId: string;
1029
1039
  backgroundWorkerTaskId: string;
1030
1040
  };
1031
1041
  run: {
1032
1042
  id: string;
1043
+ createdAt: Date;
1033
1044
  payload: string;
1034
1045
  payloadType: string;
1035
1046
  tags: string[];
1036
- createdAt: Date;
1037
- context?: any;
1038
- idempotencyKey?: string | undefined;
1039
1047
  maxAttempts?: number | undefined;
1040
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1041
1048
  maxDuration?: number | undefined;
1049
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1042
1050
  version?: string | undefined;
1051
+ context?: any;
1052
+ idempotencyKey?: string | undefined;
1043
1053
  isTest?: boolean | undefined;
1044
1054
  startedAt?: Date | undefined;
1045
1055
  costInCents?: number | undefined;
@@ -1047,13 +1057,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1047
1057
  durationMs?: number | undefined;
1048
1058
  };
1049
1059
  environment: {
1050
- id: string;
1051
1060
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1052
- slug: string;
1053
- };
1054
- organization: {
1055
1061
  id: string;
1056
- name: string;
1057
1062
  slug: string;
1058
1063
  };
1059
1064
  project: {
@@ -1062,68 +1067,74 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
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
+ organization: {
1085
+ id: string;
1086
+ name: string;
1087
+ slug: string;
1088
+ };
1084
1089
  queue: {
1085
1090
  id: string;
1086
1091
  name: string;
1087
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;
1098
+ };
1088
1099
  task: {
1089
1100
  id: string;
1090
1101
  filePath: string;
1091
1102
  exportName: string;
1092
1103
  };
1104
+ worker: {
1105
+ id: string;
1106
+ contentHash: string;
1107
+ version: string;
1108
+ };
1093
1109
  attempt: {
1094
1110
  number: number;
1095
- id: string;
1096
1111
  status: string;
1112
+ id: string;
1097
1113
  startedAt: Date;
1098
1114
  backgroundWorkerId: string;
1099
1115
  backgroundWorkerTaskId: string;
1100
1116
  };
1101
1117
  run: {
1102
1118
  id: string;
1119
+ createdAt: Date;
1103
1120
  payload: string;
1104
1121
  payloadType: string;
1105
1122
  tags: string[];
1106
1123
  isTest: boolean;
1107
- createdAt: Date;
1108
1124
  startedAt: Date;
1109
1125
  costInCents: number;
1110
1126
  baseCostInCents: number;
1111
1127
  durationMs: number;
1112
- context?: any;
1113
- idempotencyKey?: string | undefined;
1114
1128
  maxAttempts?: number | undefined;
1115
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1116
1129
  maxDuration?: number | undefined;
1130
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1117
1131
  version?: string | undefined;
1132
+ context?: any;
1133
+ idempotencyKey?: string | undefined;
1118
1134
  };
1119
1135
  environment: {
1120
- id: string;
1121
1136
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1122
- slug: string;
1123
- };
1124
- organization: {
1125
1137
  id: string;
1126
- name: string;
1127
1138
  slug: string;
1128
1139
  };
1129
1140
  project: {
@@ -1132,17 +1143,6 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
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,6 +1151,11 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1151
1151
  environment?: Record<string, string> | undefined;
1152
1152
  }, {
1153
1153
  execution: {
1154
+ organization: {
1155
+ id: string;
1156
+ name: string;
1157
+ slug: string;
1158
+ };
1154
1159
  queue: {
1155
1160
  id: string;
1156
1161
  name: string;
@@ -1160,26 +1165,31 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1160
1165
  filePath: string;
1161
1166
  exportName: string;
1162
1167
  };
1168
+ worker: {
1169
+ id: string;
1170
+ contentHash: string;
1171
+ version: string;
1172
+ };
1163
1173
  attempt: {
1164
1174
  number: number;
1165
- id: string;
1166
1175
  status: string;
1176
+ id: string;
1167
1177
  startedAt: Date;
1168
1178
  backgroundWorkerId: string;
1169
1179
  backgroundWorkerTaskId: string;
1170
1180
  };
1171
1181
  run: {
1172
1182
  id: string;
1183
+ createdAt: Date;
1173
1184
  payload: string;
1174
1185
  payloadType: string;
1175
1186
  tags: string[];
1176
- createdAt: Date;
1177
- context?: any;
1178
- idempotencyKey?: string | undefined;
1179
1187
  maxAttempts?: number | undefined;
1180
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1181
1188
  maxDuration?: number | undefined;
1189
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1182
1190
  version?: string | undefined;
1191
+ context?: any;
1192
+ idempotencyKey?: string | undefined;
1183
1193
  isTest?: boolean | undefined;
1184
1194
  startedAt?: Date | undefined;
1185
1195
  costInCents?: number | undefined;
@@ -1187,13 +1197,8 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1187
1197
  durationMs?: number | undefined;
1188
1198
  };
1189
1199
  environment: {
1190
- id: string;
1191
1200
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1192
- slug: string;
1193
- };
1194
- organization: {
1195
1201
  id: string;
1196
- name: string;
1197
1202
  slug: string;
1198
1203
  };
1199
1204
  project: {
@@ -1202,20 +1207,15 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
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;
@@ -1473,11 +1473,11 @@ export declare const ScheduleMetadata: z.ZodObject<{
1473
1473
  cron: z.ZodString;
1474
1474
  timezone: z.ZodString;
1475
1475
  }, "strip", z.ZodTypeAny, {
1476
- timezone: string;
1477
1476
  cron: string;
1478
- }, {
1479
1477
  timezone: string;
1478
+ }, {
1480
1479
  cron: string;
1480
+ timezone: string;
1481
1481
  }>;
1482
1482
  export declare const TaskMetadata: z.ZodObject<{
1483
1483
  id: z.ZodString;
@@ -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?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1565
- memory?: 2 | 1 | 4 | 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?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1569
- memory?: 2 | 1 | 4 | 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>;
@@ -1574,20 +1574,20 @@ export declare const TaskMetadata: z.ZodObject<{
1574
1574
  cron: z.ZodString;
1575
1575
  timezone: z.ZodString;
1576
1576
  }, "strip", z.ZodTypeAny, {
1577
- timezone: string;
1578
1577
  cron: string;
1579
- }, {
1580
1578
  timezone: string;
1579
+ }, {
1581
1580
  cron: string;
1581
+ timezone: string;
1582
1582
  }>>;
1583
1583
  maxDuration: z.ZodOptional<z.ZodNumber>;
1584
1584
  }, "strip", z.ZodTypeAny, {
1585
1585
  id: string;
1586
+ description?: string | undefined;
1586
1587
  queue?: {
1587
1588
  name?: string | undefined;
1588
1589
  concurrencyLimit?: number | undefined;
1589
1590
  } | undefined;
1590
- maxDuration?: number | undefined;
1591
1591
  retry?: {
1592
1592
  maxAttempts?: number | undefined;
1593
1593
  factor?: number | undefined;
@@ -1595,24 +1595,24 @@ export declare const TaskMetadata: z.ZodObject<{
1595
1595
  maxTimeoutInMs?: number | undefined;
1596
1596
  randomize?: boolean | undefined;
1597
1597
  } | undefined;
1598
- description?: string | undefined;
1599
- schedule?: {
1600
- timezone: string;
1601
- cron: string;
1602
- } | undefined;
1603
1598
  machine?: {
1604
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1605
- memory?: 2 | 1 | 4 | 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;
1606
1601
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1607
1602
  } | undefined;
1608
1603
  triggerSource?: string | undefined;
1604
+ schedule?: {
1605
+ cron: string;
1606
+ timezone: string;
1607
+ } | undefined;
1608
+ maxDuration?: number | undefined;
1609
1609
  }, {
1610
1610
  id: string;
1611
+ description?: string | undefined;
1611
1612
  queue?: {
1612
1613
  name?: string | undefined;
1613
1614
  concurrencyLimit?: number | undefined;
1614
1615
  } | undefined;
1615
- maxDuration?: number | undefined;
1616
1616
  retry?: {
1617
1617
  maxAttempts?: number | undefined;
1618
1618
  factor?: number | undefined;
@@ -1620,17 +1620,17 @@ export declare const TaskMetadata: z.ZodObject<{
1620
1620
  maxTimeoutInMs?: number | undefined;
1621
1621
  randomize?: boolean | undefined;
1622
1622
  } | undefined;
1623
- description?: string | undefined;
1624
- schedule?: {
1625
- timezone: string;
1626
- cron: string;
1627
- } | undefined;
1628
1623
  machine?: {
1629
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1630
- memory?: 2 | 1 | 4 | 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;
1631
1626
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1632
1627
  } | undefined;
1633
1628
  triggerSource?: string | undefined;
1629
+ schedule?: {
1630
+ cron: string;
1631
+ timezone: string;
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?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1747
- memory?: 2 | 1 | 4 | 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?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1751
- memory?: 2 | 1 | 4 | 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>;
@@ -1756,11 +1756,11 @@ export declare const TaskManifest: z.ZodObject<{
1756
1756
  cron: z.ZodString;
1757
1757
  timezone: z.ZodString;
1758
1758
  }, "strip", z.ZodTypeAny, {
1759
- timezone: string;
1760
1759
  cron: string;
1761
- }, {
1762
1760
  timezone: string;
1761
+ }, {
1763
1762
  cron: string;
1763
+ timezone: string;
1764
1764
  }>>;
1765
1765
  maxDuration: z.ZodOptional<z.ZodNumber>;
1766
1766
  }, "strip", z.ZodTypeAny, {
@@ -1768,11 +1768,11 @@ export declare const TaskManifest: z.ZodObject<{
1768
1768
  filePath: string;
1769
1769
  exportName: string;
1770
1770
  entryPoint: string;
1771
+ description?: string | undefined;
1771
1772
  queue?: {
1772
1773
  name?: string | undefined;
1773
1774
  concurrencyLimit?: number | undefined;
1774
1775
  } | undefined;
1775
- maxDuration?: number | undefined;
1776
1776
  retry?: {
1777
1777
  maxAttempts?: number | undefined;
1778
1778
  factor?: number | undefined;
@@ -1780,27 +1780,27 @@ export declare const TaskManifest: z.ZodObject<{
1780
1780
  maxTimeoutInMs?: number | undefined;
1781
1781
  randomize?: boolean | undefined;
1782
1782
  } | undefined;
1783
- description?: string | undefined;
1784
- schedule?: {
1785
- timezone: string;
1786
- cron: string;
1787
- } | undefined;
1788
1783
  machine?: {
1789
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1790
- memory?: 2 | 1 | 4 | 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;
1791
1786
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1792
1787
  } | undefined;
1793
1788
  triggerSource?: string | undefined;
1789
+ schedule?: {
1790
+ cron: string;
1791
+ timezone: string;
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;
1799
1800
  queue?: {
1800
1801
  name?: string | undefined;
1801
1802
  concurrencyLimit?: number | undefined;
1802
1803
  } | undefined;
1803
- maxDuration?: number | undefined;
1804
1804
  retry?: {
1805
1805
  maxAttempts?: number | undefined;
1806
1806
  factor?: number | undefined;
@@ -1808,17 +1808,17 @@ export declare const TaskManifest: z.ZodObject<{
1808
1808
  maxTimeoutInMs?: number | undefined;
1809
1809
  randomize?: boolean | undefined;
1810
1810
  } | undefined;
1811
- description?: string | undefined;
1812
- schedule?: {
1813
- timezone: string;
1814
- cron: string;
1815
- } | undefined;
1816
1811
  machine?: {
1817
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1818
- memory?: 2 | 1 | 4 | 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;
1819
1814
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1820
1815
  } | undefined;
1821
1816
  triggerSource?: string | undefined;
1817
+ schedule?: {
1818
+ cron: string;
1819
+ timezone: string;
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"]>;
@@ -1873,6 +1873,7 @@ export declare const Config: z.ZodObject<{
1873
1873
  randomize?: boolean | undefined;
1874
1874
  } | undefined;
1875
1875
  }, {
1876
+ enabledInDev?: boolean | undefined;
1876
1877
  default?: {
1877
1878
  maxAttempts?: number | undefined;
1878
1879
  factor?: number | undefined;
@@ -1880,7 +1881,6 @@ export declare const Config: z.ZodObject<{
1880
1881
  maxTimeoutInMs?: number | undefined;
1881
1882
  randomize?: boolean | undefined;
1882
1883
  } | undefined;
1883
- enabledInDev?: boolean | undefined;
1884
1884
  }>>;
1885
1885
  additionalPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1886
1886
  additionalFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1919,6 +1919,7 @@ export declare const Config: z.ZodObject<{
1919
1919
  projectDir?: string | undefined;
1920
1920
  tsconfigPath?: string | undefined;
1921
1921
  retries?: {
1922
+ enabledInDev?: boolean | undefined;
1922
1923
  default?: {
1923
1924
  maxAttempts?: number | undefined;
1924
1925
  factor?: number | undefined;
@@ -1926,7 +1927,6 @@ export declare const Config: z.ZodObject<{
1926
1927
  maxTimeoutInMs?: number | undefined;
1927
1928
  randomize?: boolean | undefined;
1928
1929
  } | undefined;
1929
- enabledInDev?: boolean | undefined;
1930
1930
  } | undefined;
1931
1931
  additionalPackages?: string[] | undefined;
1932
1932
  additionalFiles?: string[] | undefined;
@@ -1949,15 +1949,15 @@ export declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
1949
1949
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1950
1950
  }, "strip", z.ZodTypeAny, {
1951
1951
  isTest: boolean;
1952
- traceContext: Record<string, unknown>;
1953
1952
  runId: string;
1953
+ traceContext: Record<string, unknown>;
1954
1954
  messageId: string;
1955
1955
  attemptCount?: number | undefined;
1956
1956
  environment?: Record<string, string> | undefined;
1957
1957
  }, {
1958
1958
  isTest: boolean;
1959
- traceContext: Record<string, unknown>;
1960
1959
  runId: string;
1960
+ traceContext: Record<string, unknown>;
1961
1961
  messageId: string;
1962
1962
  attemptCount?: number | undefined;
1963
1963
  environment?: Record<string, string> | undefined;