@trigger.dev/core 3.3.12 → 3.3.14

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 (47) hide show
  1. package/dist/commonjs/logger.js +34 -0
  2. package/dist/commonjs/logger.js.map +1 -1
  3. package/dist/commonjs/v3/apiClient/core.d.ts +26 -2
  4. package/dist/commonjs/v3/apiClient/core.js +51 -1
  5. package/dist/commonjs/v3/apiClient/core.js.map +1 -1
  6. package/dist/commonjs/v3/apiClient/index.d.ts +2 -2
  7. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  8. package/dist/commonjs/v3/apiClient/runStream.js +2 -2
  9. package/dist/commonjs/v3/schemas/api.d.ts +172 -141
  10. package/dist/commonjs/v3/schemas/api.js +21 -21
  11. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  12. package/dist/commonjs/v3/schemas/build.d.ts +80 -18
  13. package/dist/commonjs/v3/schemas/fetch.d.ts +115 -0
  14. package/dist/commonjs/v3/schemas/messages.d.ts +184 -41
  15. package/dist/commonjs/v3/schemas/resources.d.ts +56 -12
  16. package/dist/commonjs/v3/schemas/schemas.d.ts +108 -16
  17. package/dist/commonjs/v3/schemas/schemas.js +11 -2
  18. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  19. package/dist/commonjs/v3/types/tasks.d.ts +2 -5
  20. package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -0
  21. package/dist/commonjs/v3/zodMessageHandler.js +8 -0
  22. package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
  23. package/dist/commonjs/version.js +1 -1
  24. package/dist/esm/logger.js +34 -0
  25. package/dist/esm/logger.js.map +1 -1
  26. package/dist/esm/v3/apiClient/core.d.ts +26 -2
  27. package/dist/esm/v3/apiClient/core.js +48 -0
  28. package/dist/esm/v3/apiClient/core.js.map +1 -1
  29. package/dist/esm/v3/apiClient/index.d.ts +2 -2
  30. package/dist/esm/v3/apiClient/index.js.map +1 -1
  31. package/dist/esm/v3/apiClient/runStream.js +2 -2
  32. package/dist/esm/v3/schemas/api.d.ts +172 -141
  33. package/dist/esm/v3/schemas/api.js +21 -21
  34. package/dist/esm/v3/schemas/api.js.map +1 -1
  35. package/dist/esm/v3/schemas/build.d.ts +80 -18
  36. package/dist/esm/v3/schemas/fetch.d.ts +115 -0
  37. package/dist/esm/v3/schemas/messages.d.ts +184 -41
  38. package/dist/esm/v3/schemas/resources.d.ts +56 -12
  39. package/dist/esm/v3/schemas/schemas.d.ts +108 -16
  40. package/dist/esm/v3/schemas/schemas.js +12 -3
  41. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  42. package/dist/esm/v3/types/tasks.d.ts +2 -5
  43. package/dist/esm/v3/zodMessageHandler.d.ts +2 -0
  44. package/dist/esm/v3/zodMessageHandler.js +8 -0
  45. package/dist/esm/v3/zodMessageHandler.js.map +1 -1
  46. package/dist/esm/version.js +1 -1
  47. package/package.json +2 -1
@@ -139,13 +139,13 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
139
139
  exportName: z.ZodString;
140
140
  queue: z.ZodOptional<z.ZodObject<{
141
141
  name: z.ZodOptional<z.ZodString>;
142
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
142
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
143
143
  }, "strip", z.ZodTypeAny, {
144
144
  name?: string | undefined;
145
- concurrencyLimit?: number | undefined;
145
+ concurrencyLimit?: number | null | undefined;
146
146
  }, {
147
147
  name?: string | undefined;
148
- concurrencyLimit?: number | undefined;
148
+ concurrencyLimit?: number | null | undefined;
149
149
  }>>;
150
150
  retry: z.ZodOptional<z.ZodObject<{
151
151
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -153,18 +153,31 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
153
153
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
154
154
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
155
155
  randomize: z.ZodOptional<z.ZodBoolean>;
156
+ outOfMemory: z.ZodOptional<z.ZodObject<{
157
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
160
+ }, {
161
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
162
+ }>>;
156
163
  }, "strip", z.ZodTypeAny, {
157
164
  factor?: number | undefined;
158
165
  minTimeoutInMs?: number | undefined;
159
166
  maxTimeoutInMs?: number | undefined;
160
167
  randomize?: boolean | undefined;
161
168
  maxAttempts?: number | undefined;
169
+ outOfMemory?: {
170
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
171
+ } | undefined;
162
172
  }, {
163
173
  factor?: number | undefined;
164
174
  minTimeoutInMs?: number | undefined;
165
175
  maxTimeoutInMs?: number | undefined;
166
176
  randomize?: boolean | undefined;
167
177
  maxAttempts?: number | undefined;
178
+ outOfMemory?: {
179
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
180
+ } | undefined;
168
181
  }>>;
169
182
  machine: z.ZodOptional<z.ZodObject<{
170
183
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
@@ -206,11 +219,14 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
206
219
  maxTimeoutInMs?: number | undefined;
207
220
  randomize?: boolean | undefined;
208
221
  maxAttempts?: number | undefined;
222
+ outOfMemory?: {
223
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
224
+ } | undefined;
209
225
  } | undefined;
210
226
  maxDuration?: number | undefined;
211
227
  queue?: {
212
228
  name?: string | undefined;
213
- concurrencyLimit?: number | undefined;
229
+ concurrencyLimit?: number | null | undefined;
214
230
  } | undefined;
215
231
  machine?: {
216
232
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -233,11 +249,14 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
233
249
  maxTimeoutInMs?: number | undefined;
234
250
  randomize?: boolean | undefined;
235
251
  maxAttempts?: number | undefined;
252
+ outOfMemory?: {
253
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
254
+ } | undefined;
236
255
  } | undefined;
237
256
  maxDuration?: number | undefined;
238
257
  queue?: {
239
258
  name?: string | undefined;
240
- concurrencyLimit?: number | undefined;
259
+ concurrencyLimit?: number | null | undefined;
241
260
  } | undefined;
242
261
  machine?: {
243
262
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -278,11 +297,14 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
278
297
  maxTimeoutInMs?: number | undefined;
279
298
  randomize?: boolean | undefined;
280
299
  maxAttempts?: number | undefined;
300
+ outOfMemory?: {
301
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
302
+ } | undefined;
281
303
  } | undefined;
282
304
  maxDuration?: number | undefined;
283
305
  queue?: {
284
306
  name?: string | undefined;
285
- concurrencyLimit?: number | undefined;
307
+ concurrencyLimit?: number | null | undefined;
286
308
  } | undefined;
287
309
  machine?: {
288
310
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -316,11 +338,14 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
316
338
  maxTimeoutInMs?: number | undefined;
317
339
  randomize?: boolean | undefined;
318
340
  maxAttempts?: number | undefined;
341
+ outOfMemory?: {
342
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
343
+ } | undefined;
319
344
  } | undefined;
320
345
  maxDuration?: number | undefined;
321
346
  queue?: {
322
347
  name?: string | undefined;
323
- concurrencyLimit?: number | undefined;
348
+ concurrencyLimit?: number | null | undefined;
324
349
  } | undefined;
325
350
  machine?: {
326
351
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -357,11 +382,14 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
357
382
  maxTimeoutInMs?: number | undefined;
358
383
  randomize?: boolean | undefined;
359
384
  maxAttempts?: number | undefined;
385
+ outOfMemory?: {
386
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
387
+ } | undefined;
360
388
  } | undefined;
361
389
  maxDuration?: number | undefined;
362
390
  queue?: {
363
391
  name?: string | undefined;
364
- concurrencyLimit?: number | undefined;
392
+ concurrencyLimit?: number | null | undefined;
365
393
  } | undefined;
366
394
  machine?: {
367
395
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -399,11 +427,14 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
399
427
  maxTimeoutInMs?: number | undefined;
400
428
  randomize?: boolean | undefined;
401
429
  maxAttempts?: number | undefined;
430
+ outOfMemory?: {
431
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
432
+ } | undefined;
402
433
  } | undefined;
403
434
  maxDuration?: number | undefined;
404
435
  queue?: {
405
436
  name?: string | undefined;
406
- concurrencyLimit?: number | undefined;
437
+ concurrencyLimit?: number | null | undefined;
407
438
  } | undefined;
408
439
  machine?: {
409
440
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -446,34 +477,34 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
446
477
  payload: z.ZodAny;
447
478
  context: z.ZodAny;
448
479
  options: z.ZodOptional<z.ZodObject<{
480
+ concurrencyKey: z.ZodOptional<z.ZodString>;
481
+ delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
449
482
  dependentAttempt: z.ZodOptional<z.ZodString>;
450
- parentAttempt: z.ZodOptional<z.ZodString>;
451
483
  dependentBatch: z.ZodOptional<z.ZodString>;
452
- parentBatch: z.ZodOptional<z.ZodString>;
484
+ idempotencyKey: z.ZodOptional<z.ZodString>;
485
+ idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
453
486
  lockToVersion: z.ZodOptional<z.ZodString>;
487
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
488
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
489
+ maxDuration: z.ZodOptional<z.ZodNumber>;
490
+ metadata: z.ZodAny;
491
+ metadataType: z.ZodOptional<z.ZodString>;
492
+ parentAttempt: z.ZodOptional<z.ZodString>;
493
+ parentBatch: z.ZodOptional<z.ZodString>;
494
+ payloadType: z.ZodOptional<z.ZodString>;
454
495
  queue: z.ZodOptional<z.ZodObject<{
455
496
  name: z.ZodOptional<z.ZodString>;
456
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
497
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
457
498
  }, "strip", z.ZodTypeAny, {
458
499
  name?: string | undefined;
459
- concurrencyLimit?: number | undefined;
500
+ concurrencyLimit?: number | null | undefined;
460
501
  }, {
461
502
  name?: string | undefined;
462
- concurrencyLimit?: number | undefined;
503
+ concurrencyLimit?: number | null | undefined;
463
504
  }>>;
464
- concurrencyKey: z.ZodOptional<z.ZodString>;
465
- idempotencyKey: z.ZodOptional<z.ZodString>;
466
- idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
505
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
467
506
  test: z.ZodOptional<z.ZodBoolean>;
468
- payloadType: z.ZodOptional<z.ZodString>;
469
- delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
470
507
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
471
- tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
472
- maxAttempts: z.ZodOptional<z.ZodNumber>;
473
- metadata: z.ZodAny;
474
- metadataType: z.ZodOptional<z.ZodString>;
475
- maxDuration: z.ZodOptional<z.ZodNumber>;
476
- machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
477
508
  }, "strip", z.ZodTypeAny, {
478
509
  metadata?: any;
479
510
  idempotencyKey?: string | undefined;
@@ -483,7 +514,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
483
514
  maxDuration?: number | undefined;
484
515
  queue?: {
485
516
  name?: string | undefined;
486
- concurrencyLimit?: number | undefined;
517
+ concurrencyLimit?: number | null | undefined;
487
518
  } | undefined;
488
519
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
489
520
  delay?: string | Date | undefined;
@@ -491,12 +522,12 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
491
522
  concurrencyKey?: string | undefined;
492
523
  ttl?: string | number | undefined;
493
524
  dependentAttempt?: string | undefined;
494
- parentAttempt?: string | undefined;
495
525
  dependentBatch?: string | undefined;
496
- parentBatch?: string | undefined;
497
526
  lockToVersion?: string | undefined;
498
- test?: boolean | undefined;
499
527
  metadataType?: string | undefined;
528
+ parentAttempt?: string | undefined;
529
+ parentBatch?: string | undefined;
530
+ test?: boolean | undefined;
500
531
  }, {
501
532
  metadata?: any;
502
533
  idempotencyKey?: string | undefined;
@@ -506,7 +537,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
506
537
  maxDuration?: number | undefined;
507
538
  queue?: {
508
539
  name?: string | undefined;
509
- concurrencyLimit?: number | undefined;
540
+ concurrencyLimit?: number | null | undefined;
510
541
  } | undefined;
511
542
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
512
543
  delay?: string | Date | undefined;
@@ -514,12 +545,12 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
514
545
  concurrencyKey?: string | undefined;
515
546
  ttl?: string | number | undefined;
516
547
  dependentAttempt?: string | undefined;
517
- parentAttempt?: string | undefined;
518
548
  dependentBatch?: string | undefined;
519
- parentBatch?: string | undefined;
520
549
  lockToVersion?: string | undefined;
521
- test?: boolean | undefined;
522
550
  metadataType?: string | undefined;
551
+ parentAttempt?: string | undefined;
552
+ parentBatch?: string | undefined;
553
+ test?: boolean | undefined;
523
554
  }>>;
524
555
  }, "strip", z.ZodTypeAny, {
525
556
  options?: {
@@ -531,7 +562,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
531
562
  maxDuration?: number | undefined;
532
563
  queue?: {
533
564
  name?: string | undefined;
534
- concurrencyLimit?: number | undefined;
565
+ concurrencyLimit?: number | null | undefined;
535
566
  } | undefined;
536
567
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
537
568
  delay?: string | Date | undefined;
@@ -539,12 +570,12 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
539
570
  concurrencyKey?: string | undefined;
540
571
  ttl?: string | number | undefined;
541
572
  dependentAttempt?: string | undefined;
542
- parentAttempt?: string | undefined;
543
573
  dependentBatch?: string | undefined;
544
- parentBatch?: string | undefined;
545
574
  lockToVersion?: string | undefined;
546
- test?: boolean | undefined;
547
575
  metadataType?: string | undefined;
576
+ parentAttempt?: string | undefined;
577
+ parentBatch?: string | undefined;
578
+ test?: boolean | undefined;
548
579
  } | undefined;
549
580
  payload?: any;
550
581
  context?: any;
@@ -558,7 +589,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
558
589
  maxDuration?: number | undefined;
559
590
  queue?: {
560
591
  name?: string | undefined;
561
- concurrencyLimit?: number | undefined;
592
+ concurrencyLimit?: number | null | undefined;
562
593
  } | undefined;
563
594
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
564
595
  delay?: string | Date | undefined;
@@ -566,12 +597,12 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
566
597
  concurrencyKey?: string | undefined;
567
598
  ttl?: string | number | undefined;
568
599
  dependentAttempt?: string | undefined;
569
- parentAttempt?: string | undefined;
570
600
  dependentBatch?: string | undefined;
571
- parentBatch?: string | undefined;
572
601
  lockToVersion?: string | undefined;
573
- test?: boolean | undefined;
574
602
  metadataType?: string | undefined;
603
+ parentAttempt?: string | undefined;
604
+ parentBatch?: string | undefined;
605
+ test?: boolean | undefined;
575
606
  } | undefined;
576
607
  payload?: any;
577
608
  context?: any;
@@ -590,34 +621,34 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
590
621
  payload: z.ZodAny;
591
622
  context: z.ZodAny;
592
623
  options: z.ZodOptional<z.ZodObject<{
624
+ concurrencyKey: z.ZodOptional<z.ZodString>;
625
+ delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
593
626
  dependentAttempt: z.ZodOptional<z.ZodString>;
594
- parentAttempt: z.ZodOptional<z.ZodString>;
595
627
  dependentBatch: z.ZodOptional<z.ZodString>;
596
- parentBatch: z.ZodOptional<z.ZodString>;
628
+ idempotencyKey: z.ZodOptional<z.ZodString>;
629
+ idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
597
630
  lockToVersion: z.ZodOptional<z.ZodString>;
631
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
632
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
633
+ maxDuration: z.ZodOptional<z.ZodNumber>;
634
+ metadata: z.ZodAny;
635
+ metadataType: z.ZodOptional<z.ZodString>;
636
+ parentAttempt: z.ZodOptional<z.ZodString>;
637
+ parentBatch: z.ZodOptional<z.ZodString>;
638
+ payloadType: z.ZodOptional<z.ZodString>;
598
639
  queue: z.ZodOptional<z.ZodObject<{
599
640
  name: z.ZodOptional<z.ZodString>;
600
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
641
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
601
642
  }, "strip", z.ZodTypeAny, {
602
643
  name?: string | undefined;
603
- concurrencyLimit?: number | undefined;
644
+ concurrencyLimit?: number | null | undefined;
604
645
  }, {
605
646
  name?: string | undefined;
606
- concurrencyLimit?: number | undefined;
647
+ concurrencyLimit?: number | null | undefined;
607
648
  }>>;
608
- concurrencyKey: z.ZodOptional<z.ZodString>;
609
- idempotencyKey: z.ZodOptional<z.ZodString>;
610
- idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
649
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
611
650
  test: z.ZodOptional<z.ZodBoolean>;
612
- payloadType: z.ZodOptional<z.ZodString>;
613
- delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
614
651
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
615
- tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
616
- maxAttempts: z.ZodOptional<z.ZodNumber>;
617
- metadata: z.ZodAny;
618
- metadataType: z.ZodOptional<z.ZodString>;
619
- maxDuration: z.ZodOptional<z.ZodNumber>;
620
- machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
621
652
  }, "strip", z.ZodTypeAny, {
622
653
  metadata?: any;
623
654
  idempotencyKey?: string | undefined;
@@ -627,7 +658,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
627
658
  maxDuration?: number | undefined;
628
659
  queue?: {
629
660
  name?: string | undefined;
630
- concurrencyLimit?: number | undefined;
661
+ concurrencyLimit?: number | null | undefined;
631
662
  } | undefined;
632
663
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
633
664
  delay?: string | Date | undefined;
@@ -635,12 +666,12 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
635
666
  concurrencyKey?: string | undefined;
636
667
  ttl?: string | number | undefined;
637
668
  dependentAttempt?: string | undefined;
638
- parentAttempt?: string | undefined;
639
669
  dependentBatch?: string | undefined;
640
- parentBatch?: string | undefined;
641
670
  lockToVersion?: string | undefined;
642
- test?: boolean | undefined;
643
671
  metadataType?: string | undefined;
672
+ parentAttempt?: string | undefined;
673
+ parentBatch?: string | undefined;
674
+ test?: boolean | undefined;
644
675
  }, {
645
676
  metadata?: any;
646
677
  idempotencyKey?: string | undefined;
@@ -650,7 +681,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
650
681
  maxDuration?: number | undefined;
651
682
  queue?: {
652
683
  name?: string | undefined;
653
- concurrencyLimit?: number | undefined;
684
+ concurrencyLimit?: number | null | undefined;
654
685
  } | undefined;
655
686
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
656
687
  delay?: string | Date | undefined;
@@ -658,12 +689,12 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
658
689
  concurrencyKey?: string | undefined;
659
690
  ttl?: string | number | undefined;
660
691
  dependentAttempt?: string | undefined;
661
- parentAttempt?: string | undefined;
662
692
  dependentBatch?: string | undefined;
663
- parentBatch?: string | undefined;
664
693
  lockToVersion?: string | undefined;
665
- test?: boolean | undefined;
666
694
  metadataType?: string | undefined;
695
+ parentAttempt?: string | undefined;
696
+ parentBatch?: string | undefined;
697
+ test?: boolean | undefined;
667
698
  }>>;
668
699
  }, "strip", z.ZodTypeAny, {
669
700
  options?: {
@@ -675,7 +706,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
675
706
  maxDuration?: number | undefined;
676
707
  queue?: {
677
708
  name?: string | undefined;
678
- concurrencyLimit?: number | undefined;
709
+ concurrencyLimit?: number | null | undefined;
679
710
  } | undefined;
680
711
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
681
712
  delay?: string | Date | undefined;
@@ -683,12 +714,12 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
683
714
  concurrencyKey?: string | undefined;
684
715
  ttl?: string | number | undefined;
685
716
  dependentAttempt?: string | undefined;
686
- parentAttempt?: string | undefined;
687
717
  dependentBatch?: string | undefined;
688
- parentBatch?: string | undefined;
689
718
  lockToVersion?: string | undefined;
690
- test?: boolean | undefined;
691
719
  metadataType?: string | undefined;
720
+ parentAttempt?: string | undefined;
721
+ parentBatch?: string | undefined;
722
+ test?: boolean | undefined;
692
723
  } | undefined;
693
724
  payload?: any;
694
725
  context?: any;
@@ -702,7 +733,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
702
733
  maxDuration?: number | undefined;
703
734
  queue?: {
704
735
  name?: string | undefined;
705
- concurrencyLimit?: number | undefined;
736
+ concurrencyLimit?: number | null | undefined;
706
737
  } | undefined;
707
738
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
708
739
  delay?: string | Date | undefined;
@@ -710,12 +741,12 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
710
741
  concurrencyKey?: string | undefined;
711
742
  ttl?: string | number | undefined;
712
743
  dependentAttempt?: string | undefined;
713
- parentAttempt?: string | undefined;
714
744
  dependentBatch?: string | undefined;
715
- parentBatch?: string | undefined;
716
745
  lockToVersion?: string | undefined;
717
- test?: boolean | undefined;
718
746
  metadataType?: string | undefined;
747
+ parentAttempt?: string | undefined;
748
+ parentBatch?: string | undefined;
749
+ test?: boolean | undefined;
719
750
  } | undefined;
720
751
  payload?: any;
721
752
  context?: any;
@@ -732,7 +763,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
732
763
  maxDuration?: number | undefined;
733
764
  queue?: {
734
765
  name?: string | undefined;
735
- concurrencyLimit?: number | undefined;
766
+ concurrencyLimit?: number | null | undefined;
736
767
  } | undefined;
737
768
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
738
769
  delay?: string | Date | undefined;
@@ -740,12 +771,12 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
740
771
  concurrencyKey?: string | undefined;
741
772
  ttl?: string | number | undefined;
742
773
  dependentAttempt?: string | undefined;
743
- parentAttempt?: string | undefined;
744
774
  dependentBatch?: string | undefined;
745
- parentBatch?: string | undefined;
746
775
  lockToVersion?: string | undefined;
747
- test?: boolean | undefined;
748
776
  metadataType?: string | undefined;
777
+ parentAttempt?: string | undefined;
778
+ parentBatch?: string | undefined;
779
+ test?: boolean | undefined;
749
780
  } | undefined;
750
781
  payload?: any;
751
782
  context?: any;
@@ -762,7 +793,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
762
793
  maxDuration?: number | undefined;
763
794
  queue?: {
764
795
  name?: string | undefined;
765
- concurrencyLimit?: number | undefined;
796
+ concurrencyLimit?: number | null | undefined;
766
797
  } | undefined;
767
798
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
768
799
  delay?: string | Date | undefined;
@@ -770,12 +801,12 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
770
801
  concurrencyKey?: string | undefined;
771
802
  ttl?: string | number | undefined;
772
803
  dependentAttempt?: string | undefined;
773
- parentAttempt?: string | undefined;
774
804
  dependentBatch?: string | undefined;
775
- parentBatch?: string | undefined;
776
805
  lockToVersion?: string | undefined;
777
- test?: boolean | undefined;
778
806
  metadataType?: string | undefined;
807
+ parentAttempt?: string | undefined;
808
+ parentBatch?: string | undefined;
809
+ test?: boolean | undefined;
779
810
  } | undefined;
780
811
  payload?: any;
781
812
  context?: any;
@@ -788,31 +819,31 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
788
819
  payload: z.ZodAny;
789
820
  context: z.ZodAny;
790
821
  options: z.ZodOptional<z.ZodObject<{
822
+ concurrencyKey: z.ZodOptional<z.ZodString>;
823
+ delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
824
+ idempotencyKey: z.ZodOptional<z.ZodString>;
825
+ idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
791
826
  lockToVersion: z.ZodOptional<z.ZodString>;
827
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
828
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
829
+ maxDuration: z.ZodOptional<z.ZodNumber>;
830
+ metadata: z.ZodAny;
831
+ metadataType: z.ZodOptional<z.ZodString>;
832
+ parentAttempt: z.ZodOptional<z.ZodString>;
833
+ payloadType: z.ZodOptional<z.ZodString>;
792
834
  queue: z.ZodOptional<z.ZodObject<{
793
835
  name: z.ZodOptional<z.ZodString>;
794
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
836
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
795
837
  }, "strip", z.ZodTypeAny, {
796
838
  name?: string | undefined;
797
- concurrencyLimit?: number | undefined;
839
+ concurrencyLimit?: number | null | undefined;
798
840
  }, {
799
841
  name?: string | undefined;
800
- concurrencyLimit?: number | undefined;
842
+ concurrencyLimit?: number | null | undefined;
801
843
  }>>;
802
- concurrencyKey: z.ZodOptional<z.ZodString>;
803
- idempotencyKey: z.ZodOptional<z.ZodString>;
804
- idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
844
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
805
845
  test: z.ZodOptional<z.ZodBoolean>;
806
- payloadType: z.ZodOptional<z.ZodString>;
807
- delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
808
846
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
809
- tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
810
- maxAttempts: z.ZodOptional<z.ZodNumber>;
811
- metadata: z.ZodAny;
812
- metadataType: z.ZodOptional<z.ZodString>;
813
- maxDuration: z.ZodOptional<z.ZodNumber>;
814
- parentAttempt: z.ZodOptional<z.ZodString>;
815
- machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
816
847
  }, "strip", z.ZodTypeAny, {
817
848
  metadata?: any;
818
849
  idempotencyKey?: string | undefined;
@@ -822,17 +853,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
822
853
  maxDuration?: number | undefined;
823
854
  queue?: {
824
855
  name?: string | undefined;
825
- concurrencyLimit?: number | undefined;
856
+ concurrencyLimit?: number | null | undefined;
826
857
  } | undefined;
827
858
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
828
859
  delay?: string | Date | undefined;
829
860
  idempotencyKeyTTL?: string | undefined;
830
861
  concurrencyKey?: string | undefined;
831
862
  ttl?: string | number | undefined;
832
- parentAttempt?: string | undefined;
833
863
  lockToVersion?: string | undefined;
834
- test?: boolean | undefined;
835
864
  metadataType?: string | undefined;
865
+ parentAttempt?: string | undefined;
866
+ test?: boolean | undefined;
836
867
  }, {
837
868
  metadata?: any;
838
869
  idempotencyKey?: string | undefined;
@@ -842,17 +873,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
842
873
  maxDuration?: number | undefined;
843
874
  queue?: {
844
875
  name?: string | undefined;
845
- concurrencyLimit?: number | undefined;
876
+ concurrencyLimit?: number | null | undefined;
846
877
  } | undefined;
847
878
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
848
879
  delay?: string | Date | undefined;
849
880
  idempotencyKeyTTL?: string | undefined;
850
881
  concurrencyKey?: string | undefined;
851
882
  ttl?: string | number | undefined;
852
- parentAttempt?: string | undefined;
853
883
  lockToVersion?: string | undefined;
854
- test?: boolean | undefined;
855
884
  metadataType?: string | undefined;
885
+ parentAttempt?: string | undefined;
886
+ test?: boolean | undefined;
856
887
  }>>;
857
888
  }, "strip", z.ZodTypeAny, {
858
889
  task: string;
@@ -865,17 +896,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
865
896
  maxDuration?: number | undefined;
866
897
  queue?: {
867
898
  name?: string | undefined;
868
- concurrencyLimit?: number | undefined;
899
+ concurrencyLimit?: number | null | undefined;
869
900
  } | undefined;
870
901
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
871
902
  delay?: string | Date | undefined;
872
903
  idempotencyKeyTTL?: string | undefined;
873
904
  concurrencyKey?: string | undefined;
874
905
  ttl?: string | number | undefined;
875
- parentAttempt?: string | undefined;
876
906
  lockToVersion?: string | undefined;
877
- test?: boolean | undefined;
878
907
  metadataType?: string | undefined;
908
+ parentAttempt?: string | undefined;
909
+ test?: boolean | undefined;
879
910
  } | undefined;
880
911
  payload?: any;
881
912
  context?: any;
@@ -890,17 +921,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
890
921
  maxDuration?: number | undefined;
891
922
  queue?: {
892
923
  name?: string | undefined;
893
- concurrencyLimit?: number | undefined;
924
+ concurrencyLimit?: number | null | undefined;
894
925
  } | undefined;
895
926
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
896
927
  delay?: string | Date | undefined;
897
928
  idempotencyKeyTTL?: string | undefined;
898
929
  concurrencyKey?: string | undefined;
899
930
  ttl?: string | number | undefined;
900
- parentAttempt?: string | undefined;
901
931
  lockToVersion?: string | undefined;
902
- test?: boolean | undefined;
903
932
  metadataType?: string | undefined;
933
+ parentAttempt?: string | undefined;
934
+ test?: boolean | undefined;
904
935
  } | undefined;
905
936
  payload?: any;
906
937
  context?: any;
@@ -912,31 +943,31 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
912
943
  payload: z.ZodAny;
913
944
  context: z.ZodAny;
914
945
  options: z.ZodOptional<z.ZodObject<{
946
+ concurrencyKey: z.ZodOptional<z.ZodString>;
947
+ delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
948
+ idempotencyKey: z.ZodOptional<z.ZodString>;
949
+ idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
915
950
  lockToVersion: z.ZodOptional<z.ZodString>;
951
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
952
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
953
+ maxDuration: z.ZodOptional<z.ZodNumber>;
954
+ metadata: z.ZodAny;
955
+ metadataType: z.ZodOptional<z.ZodString>;
956
+ parentAttempt: z.ZodOptional<z.ZodString>;
957
+ payloadType: z.ZodOptional<z.ZodString>;
916
958
  queue: z.ZodOptional<z.ZodObject<{
917
959
  name: z.ZodOptional<z.ZodString>;
918
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
960
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
919
961
  }, "strip", z.ZodTypeAny, {
920
962
  name?: string | undefined;
921
- concurrencyLimit?: number | undefined;
963
+ concurrencyLimit?: number | null | undefined;
922
964
  }, {
923
965
  name?: string | undefined;
924
- concurrencyLimit?: number | undefined;
966
+ concurrencyLimit?: number | null | undefined;
925
967
  }>>;
926
- concurrencyKey: z.ZodOptional<z.ZodString>;
927
- idempotencyKey: z.ZodOptional<z.ZodString>;
928
- idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
968
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
929
969
  test: z.ZodOptional<z.ZodBoolean>;
930
- payloadType: z.ZodOptional<z.ZodString>;
931
- delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
932
970
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
933
- tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
934
- maxAttempts: z.ZodOptional<z.ZodNumber>;
935
- metadata: z.ZodAny;
936
- metadataType: z.ZodOptional<z.ZodString>;
937
- maxDuration: z.ZodOptional<z.ZodNumber>;
938
- parentAttempt: z.ZodOptional<z.ZodString>;
939
- machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
940
971
  }, "strip", z.ZodTypeAny, {
941
972
  metadata?: any;
942
973
  idempotencyKey?: string | undefined;
@@ -946,17 +977,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
946
977
  maxDuration?: number | undefined;
947
978
  queue?: {
948
979
  name?: string | undefined;
949
- concurrencyLimit?: number | undefined;
980
+ concurrencyLimit?: number | null | undefined;
950
981
  } | undefined;
951
982
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
952
983
  delay?: string | Date | undefined;
953
984
  idempotencyKeyTTL?: string | undefined;
954
985
  concurrencyKey?: string | undefined;
955
986
  ttl?: string | number | undefined;
956
- parentAttempt?: string | undefined;
957
987
  lockToVersion?: string | undefined;
958
- test?: boolean | undefined;
959
988
  metadataType?: string | undefined;
989
+ parentAttempt?: string | undefined;
990
+ test?: boolean | undefined;
960
991
  }, {
961
992
  metadata?: any;
962
993
  idempotencyKey?: string | undefined;
@@ -966,17 +997,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
966
997
  maxDuration?: number | undefined;
967
998
  queue?: {
968
999
  name?: string | undefined;
969
- concurrencyLimit?: number | undefined;
1000
+ concurrencyLimit?: number | null | undefined;
970
1001
  } | undefined;
971
1002
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
972
1003
  delay?: string | Date | undefined;
973
1004
  idempotencyKeyTTL?: string | undefined;
974
1005
  concurrencyKey?: string | undefined;
975
1006
  ttl?: string | number | undefined;
976
- parentAttempt?: string | undefined;
977
1007
  lockToVersion?: string | undefined;
978
- test?: boolean | undefined;
979
1008
  metadataType?: string | undefined;
1009
+ parentAttempt?: string | undefined;
1010
+ test?: boolean | undefined;
980
1011
  }>>;
981
1012
  }, "strip", z.ZodTypeAny, {
982
1013
  task: string;
@@ -989,17 +1020,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
989
1020
  maxDuration?: number | undefined;
990
1021
  queue?: {
991
1022
  name?: string | undefined;
992
- concurrencyLimit?: number | undefined;
1023
+ concurrencyLimit?: number | null | undefined;
993
1024
  } | undefined;
994
1025
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
995
1026
  delay?: string | Date | undefined;
996
1027
  idempotencyKeyTTL?: string | undefined;
997
1028
  concurrencyKey?: string | undefined;
998
1029
  ttl?: string | number | undefined;
999
- parentAttempt?: string | undefined;
1000
1030
  lockToVersion?: string | undefined;
1001
- test?: boolean | undefined;
1002
1031
  metadataType?: string | undefined;
1032
+ parentAttempt?: string | undefined;
1033
+ test?: boolean | undefined;
1003
1034
  } | undefined;
1004
1035
  payload?: any;
1005
1036
  context?: any;
@@ -1014,17 +1045,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1014
1045
  maxDuration?: number | undefined;
1015
1046
  queue?: {
1016
1047
  name?: string | undefined;
1017
- concurrencyLimit?: number | undefined;
1048
+ concurrencyLimit?: number | null | undefined;
1018
1049
  } | undefined;
1019
1050
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1020
1051
  delay?: string | Date | undefined;
1021
1052
  idempotencyKeyTTL?: string | undefined;
1022
1053
  concurrencyKey?: string | undefined;
1023
1054
  ttl?: string | number | undefined;
1024
- parentAttempt?: string | undefined;
1025
1055
  lockToVersion?: string | undefined;
1026
- test?: boolean | undefined;
1027
1056
  metadataType?: string | undefined;
1057
+ parentAttempt?: string | undefined;
1058
+ test?: boolean | undefined;
1028
1059
  } | undefined;
1029
1060
  payload?: any;
1030
1061
  context?: any;
@@ -1042,17 +1073,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1042
1073
  maxDuration?: number | undefined;
1043
1074
  queue?: {
1044
1075
  name?: string | undefined;
1045
- concurrencyLimit?: number | undefined;
1076
+ concurrencyLimit?: number | null | undefined;
1046
1077
  } | undefined;
1047
1078
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1048
1079
  delay?: string | Date | undefined;
1049
1080
  idempotencyKeyTTL?: string | undefined;
1050
1081
  concurrencyKey?: string | undefined;
1051
1082
  ttl?: string | number | undefined;
1052
- parentAttempt?: string | undefined;
1053
1083
  lockToVersion?: string | undefined;
1054
- test?: boolean | undefined;
1055
1084
  metadataType?: string | undefined;
1085
+ parentAttempt?: string | undefined;
1086
+ test?: boolean | undefined;
1056
1087
  } | undefined;
1057
1088
  payload?: any;
1058
1089
  context?: any;
@@ -1070,17 +1101,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1070
1101
  maxDuration?: number | undefined;
1071
1102
  queue?: {
1072
1103
  name?: string | undefined;
1073
- concurrencyLimit?: number | undefined;
1104
+ concurrencyLimit?: number | null | undefined;
1074
1105
  } | undefined;
1075
1106
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1076
1107
  delay?: string | Date | undefined;
1077
1108
  idempotencyKeyTTL?: string | undefined;
1078
1109
  concurrencyKey?: string | undefined;
1079
1110
  ttl?: string | number | undefined;
1080
- parentAttempt?: string | undefined;
1081
1111
  lockToVersion?: string | undefined;
1082
- test?: boolean | undefined;
1083
1112
  metadataType?: string | undefined;
1113
+ parentAttempt?: string | undefined;
1114
+ test?: boolean | undefined;
1084
1115
  } | undefined;
1085
1116
  payload?: any;
1086
1117
  context?: any;