@trigger.dev/core 0.0.0-prerelease-20240918205213 → 0.0.0-prerelease-20240920143613

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.
@@ -806,7 +806,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
806
806
  context: z.ZodAny;
807
807
  options: z.ZodOptional<z.ZodObject<{
808
808
  dependentAttempt: z.ZodOptional<z.ZodString>;
809
+ parentAttempt: z.ZodOptional<z.ZodString>;
809
810
  dependentBatch: z.ZodOptional<z.ZodString>;
811
+ parentBatch: z.ZodOptional<z.ZodString>;
810
812
  lockToVersion: z.ZodOptional<z.ZodString>;
811
813
  queue: z.ZodOptional<z.ZodObject<{
812
814
  name: z.ZodOptional<z.ZodString>;
@@ -1003,7 +1005,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1003
1005
  maxAttempts: z.ZodOptional<z.ZodNumber>;
1004
1006
  }, "strip", z.ZodTypeAny, {
1005
1007
  dependentAttempt?: string | undefined;
1008
+ parentAttempt?: string | undefined;
1006
1009
  dependentBatch?: string | undefined;
1010
+ parentBatch?: string | undefined;
1007
1011
  lockToVersion?: string | undefined;
1008
1012
  queue?: {
1009
1013
  name?: string | undefined;
@@ -1052,7 +1056,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1052
1056
  maxAttempts?: number | undefined;
1053
1057
  }, {
1054
1058
  dependentAttempt?: string | undefined;
1059
+ parentAttempt?: string | undefined;
1055
1060
  dependentBatch?: string | undefined;
1061
+ parentBatch?: string | undefined;
1056
1062
  lockToVersion?: string | undefined;
1057
1063
  queue?: {
1058
1064
  name?: string | undefined;
@@ -1105,7 +1111,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1105
1111
  context?: any;
1106
1112
  options?: {
1107
1113
  dependentAttempt?: string | undefined;
1114
+ parentAttempt?: string | undefined;
1108
1115
  dependentBatch?: string | undefined;
1116
+ parentBatch?: string | undefined;
1109
1117
  lockToVersion?: string | undefined;
1110
1118
  queue?: {
1111
1119
  name?: string | undefined;
@@ -1158,7 +1166,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1158
1166
  context?: any;
1159
1167
  options?: {
1160
1168
  dependentAttempt?: string | undefined;
1169
+ parentAttempt?: string | undefined;
1161
1170
  dependentBatch?: string | undefined;
1171
+ parentBatch?: string | undefined;
1162
1172
  lockToVersion?: string | undefined;
1163
1173
  queue?: {
1164
1174
  name?: string | undefined;
@@ -1222,7 +1232,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1222
1232
  context: z.ZodAny;
1223
1233
  options: z.ZodOptional<z.ZodObject<{
1224
1234
  dependentAttempt: z.ZodOptional<z.ZodString>;
1235
+ parentAttempt: z.ZodOptional<z.ZodString>;
1225
1236
  dependentBatch: z.ZodOptional<z.ZodString>;
1237
+ parentBatch: z.ZodOptional<z.ZodString>;
1226
1238
  lockToVersion: z.ZodOptional<z.ZodString>;
1227
1239
  queue: z.ZodOptional<z.ZodObject<{
1228
1240
  name: z.ZodOptional<z.ZodString>;
@@ -1419,7 +1431,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1419
1431
  maxAttempts: z.ZodOptional<z.ZodNumber>;
1420
1432
  }, "strip", z.ZodTypeAny, {
1421
1433
  dependentAttempt?: string | undefined;
1434
+ parentAttempt?: string | undefined;
1422
1435
  dependentBatch?: string | undefined;
1436
+ parentBatch?: string | undefined;
1423
1437
  lockToVersion?: string | undefined;
1424
1438
  queue?: {
1425
1439
  name?: string | undefined;
@@ -1468,7 +1482,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1468
1482
  maxAttempts?: number | undefined;
1469
1483
  }, {
1470
1484
  dependentAttempt?: string | undefined;
1485
+ parentAttempt?: string | undefined;
1471
1486
  dependentBatch?: string | undefined;
1487
+ parentBatch?: string | undefined;
1472
1488
  lockToVersion?: string | undefined;
1473
1489
  queue?: {
1474
1490
  name?: string | undefined;
@@ -1521,7 +1537,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1521
1537
  context?: any;
1522
1538
  options?: {
1523
1539
  dependentAttempt?: string | undefined;
1540
+ parentAttempt?: string | undefined;
1524
1541
  dependentBatch?: string | undefined;
1542
+ parentBatch?: string | undefined;
1525
1543
  lockToVersion?: string | undefined;
1526
1544
  queue?: {
1527
1545
  name?: string | undefined;
@@ -1574,7 +1592,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1574
1592
  context?: any;
1575
1593
  options?: {
1576
1594
  dependentAttempt?: string | undefined;
1595
+ parentAttempt?: string | undefined;
1577
1596
  dependentBatch?: string | undefined;
1597
+ parentBatch?: string | undefined;
1578
1598
  lockToVersion?: string | undefined;
1579
1599
  queue?: {
1580
1600
  name?: string | undefined;
@@ -1630,7 +1650,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1630
1650
  context?: any;
1631
1651
  options?: {
1632
1652
  dependentAttempt?: string | undefined;
1653
+ parentAttempt?: string | undefined;
1633
1654
  dependentBatch?: string | undefined;
1655
+ parentBatch?: string | undefined;
1634
1656
  lockToVersion?: string | undefined;
1635
1657
  queue?: {
1636
1658
  name?: string | undefined;
@@ -1686,7 +1708,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1686
1708
  context?: any;
1687
1709
  options?: {
1688
1710
  dependentAttempt?: string | undefined;
1711
+ parentAttempt?: string | undefined;
1689
1712
  dependentBatch?: string | undefined;
1713
+ parentBatch?: string | undefined;
1690
1714
  lockToVersion?: string | undefined;
1691
1715
  queue?: {
1692
1716
  name?: string | undefined;
@@ -2580,6 +2604,90 @@ export declare const RunScheduleDetails: z.ZodObject<{
2580
2604
  deduplicationKey?: string | undefined;
2581
2605
  }>;
2582
2606
  export type RunScheduleDetails = z.infer<typeof RunScheduleDetails>;
2607
+ export declare const TriggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2608
+ export type TriggerFunction = z.infer<typeof TriggerFunction>;
2609
+ export declare const RelatedRunDetails: z.ZodObject<{
2610
+ depth: z.ZodNumber;
2611
+ triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2612
+ batchId: z.ZodOptional<z.ZodString>;
2613
+ id: z.ZodString;
2614
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2615
+ taskIdentifier: z.ZodString;
2616
+ idempotencyKey: z.ZodOptional<z.ZodString>;
2617
+ version: z.ZodOptional<z.ZodString>;
2618
+ isQueued: z.ZodBoolean;
2619
+ isExecuting: z.ZodBoolean;
2620
+ isCompleted: z.ZodBoolean;
2621
+ isSuccess: z.ZodBoolean;
2622
+ isFailed: z.ZodBoolean;
2623
+ isCancelled: z.ZodBoolean;
2624
+ isTest: z.ZodBoolean;
2625
+ createdAt: z.ZodDate;
2626
+ updatedAt: z.ZodDate;
2627
+ startedAt: z.ZodOptional<z.ZodDate>;
2628
+ finishedAt: z.ZodOptional<z.ZodDate>;
2629
+ delayedUntil: z.ZodOptional<z.ZodDate>;
2630
+ ttl: z.ZodOptional<z.ZodString>;
2631
+ expiredAt: z.ZodOptional<z.ZodDate>;
2632
+ tags: z.ZodArray<z.ZodString, "many">;
2633
+ costInCents: z.ZodNumber;
2634
+ baseCostInCents: z.ZodNumber;
2635
+ durationMs: z.ZodNumber;
2636
+ }, "strip", z.ZodTypeAny, {
2637
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2638
+ id: string;
2639
+ createdAt: Date;
2640
+ tags: string[];
2641
+ depth: number;
2642
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2643
+ taskIdentifier: string;
2644
+ isQueued: boolean;
2645
+ isExecuting: boolean;
2646
+ isCompleted: boolean;
2647
+ isSuccess: boolean;
2648
+ isFailed: boolean;
2649
+ isCancelled: boolean;
2650
+ isTest: boolean;
2651
+ updatedAt: Date;
2652
+ costInCents: number;
2653
+ baseCostInCents: number;
2654
+ durationMs: number;
2655
+ batchId?: string | undefined;
2656
+ idempotencyKey?: string | undefined;
2657
+ version?: string | undefined;
2658
+ startedAt?: Date | undefined;
2659
+ finishedAt?: Date | undefined;
2660
+ delayedUntil?: Date | undefined;
2661
+ ttl?: string | undefined;
2662
+ expiredAt?: Date | undefined;
2663
+ }, {
2664
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2665
+ id: string;
2666
+ createdAt: Date;
2667
+ tags: string[];
2668
+ depth: number;
2669
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2670
+ taskIdentifier: string;
2671
+ isQueued: boolean;
2672
+ isExecuting: boolean;
2673
+ isCompleted: boolean;
2674
+ isSuccess: boolean;
2675
+ isFailed: boolean;
2676
+ isCancelled: boolean;
2677
+ isTest: boolean;
2678
+ updatedAt: Date;
2679
+ costInCents: number;
2680
+ baseCostInCents: number;
2681
+ durationMs: number;
2682
+ batchId?: string | undefined;
2683
+ idempotencyKey?: string | undefined;
2684
+ version?: string | undefined;
2685
+ startedAt?: Date | undefined;
2686
+ finishedAt?: Date | undefined;
2687
+ delayedUntil?: Date | undefined;
2688
+ ttl?: string | undefined;
2689
+ expiredAt?: Date | undefined;
2690
+ }>;
2583
2691
  export declare const RetrieveRunResponse: z.ZodObject<{
2584
2692
  payload: z.ZodOptional<z.ZodAny>;
2585
2693
  payloadPresignedUrl: z.ZodOptional<z.ZodString>;
@@ -2621,6 +2729,424 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2621
2729
  externalId?: string | undefined;
2622
2730
  deduplicationKey?: string | undefined;
2623
2731
  }>>;
2732
+ relatedRuns: z.ZodObject<{
2733
+ root: z.ZodOptional<z.ZodObject<{
2734
+ depth: z.ZodNumber;
2735
+ triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2736
+ batchId: z.ZodOptional<z.ZodString>;
2737
+ id: z.ZodString;
2738
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2739
+ taskIdentifier: z.ZodString;
2740
+ idempotencyKey: z.ZodOptional<z.ZodString>;
2741
+ version: z.ZodOptional<z.ZodString>;
2742
+ isQueued: z.ZodBoolean;
2743
+ isExecuting: z.ZodBoolean;
2744
+ isCompleted: z.ZodBoolean;
2745
+ isSuccess: z.ZodBoolean;
2746
+ isFailed: z.ZodBoolean;
2747
+ isCancelled: z.ZodBoolean;
2748
+ isTest: z.ZodBoolean;
2749
+ createdAt: z.ZodDate;
2750
+ updatedAt: z.ZodDate;
2751
+ startedAt: z.ZodOptional<z.ZodDate>;
2752
+ finishedAt: z.ZodOptional<z.ZodDate>;
2753
+ delayedUntil: z.ZodOptional<z.ZodDate>;
2754
+ ttl: z.ZodOptional<z.ZodString>;
2755
+ expiredAt: z.ZodOptional<z.ZodDate>;
2756
+ tags: z.ZodArray<z.ZodString, "many">;
2757
+ costInCents: z.ZodNumber;
2758
+ baseCostInCents: z.ZodNumber;
2759
+ durationMs: z.ZodNumber;
2760
+ }, "strip", z.ZodTypeAny, {
2761
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2762
+ id: string;
2763
+ createdAt: Date;
2764
+ tags: string[];
2765
+ depth: number;
2766
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2767
+ taskIdentifier: string;
2768
+ isQueued: boolean;
2769
+ isExecuting: boolean;
2770
+ isCompleted: boolean;
2771
+ isSuccess: boolean;
2772
+ isFailed: boolean;
2773
+ isCancelled: boolean;
2774
+ isTest: boolean;
2775
+ updatedAt: Date;
2776
+ costInCents: number;
2777
+ baseCostInCents: number;
2778
+ durationMs: number;
2779
+ batchId?: string | undefined;
2780
+ idempotencyKey?: string | undefined;
2781
+ version?: string | undefined;
2782
+ startedAt?: Date | undefined;
2783
+ finishedAt?: Date | undefined;
2784
+ delayedUntil?: Date | undefined;
2785
+ ttl?: string | undefined;
2786
+ expiredAt?: Date | undefined;
2787
+ }, {
2788
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2789
+ id: string;
2790
+ createdAt: Date;
2791
+ tags: string[];
2792
+ depth: number;
2793
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2794
+ taskIdentifier: string;
2795
+ isQueued: boolean;
2796
+ isExecuting: boolean;
2797
+ isCompleted: boolean;
2798
+ isSuccess: boolean;
2799
+ isFailed: boolean;
2800
+ isCancelled: boolean;
2801
+ isTest: boolean;
2802
+ updatedAt: Date;
2803
+ costInCents: number;
2804
+ baseCostInCents: number;
2805
+ durationMs: number;
2806
+ batchId?: string | undefined;
2807
+ idempotencyKey?: string | undefined;
2808
+ version?: string | undefined;
2809
+ startedAt?: Date | undefined;
2810
+ finishedAt?: Date | undefined;
2811
+ delayedUntil?: Date | undefined;
2812
+ ttl?: string | undefined;
2813
+ expiredAt?: Date | undefined;
2814
+ }>>;
2815
+ parent: z.ZodOptional<z.ZodObject<{
2816
+ depth: z.ZodNumber;
2817
+ triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2818
+ batchId: z.ZodOptional<z.ZodString>;
2819
+ id: z.ZodString;
2820
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2821
+ taskIdentifier: z.ZodString;
2822
+ idempotencyKey: z.ZodOptional<z.ZodString>;
2823
+ version: z.ZodOptional<z.ZodString>;
2824
+ isQueued: z.ZodBoolean;
2825
+ isExecuting: z.ZodBoolean;
2826
+ isCompleted: z.ZodBoolean;
2827
+ isSuccess: z.ZodBoolean;
2828
+ isFailed: z.ZodBoolean;
2829
+ isCancelled: z.ZodBoolean;
2830
+ isTest: z.ZodBoolean;
2831
+ createdAt: z.ZodDate;
2832
+ updatedAt: z.ZodDate;
2833
+ startedAt: z.ZodOptional<z.ZodDate>;
2834
+ finishedAt: z.ZodOptional<z.ZodDate>;
2835
+ delayedUntil: z.ZodOptional<z.ZodDate>;
2836
+ ttl: z.ZodOptional<z.ZodString>;
2837
+ expiredAt: z.ZodOptional<z.ZodDate>;
2838
+ tags: z.ZodArray<z.ZodString, "many">;
2839
+ costInCents: z.ZodNumber;
2840
+ baseCostInCents: z.ZodNumber;
2841
+ durationMs: z.ZodNumber;
2842
+ }, "strip", z.ZodTypeAny, {
2843
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2844
+ id: string;
2845
+ createdAt: Date;
2846
+ tags: string[];
2847
+ depth: number;
2848
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2849
+ taskIdentifier: string;
2850
+ isQueued: boolean;
2851
+ isExecuting: boolean;
2852
+ isCompleted: boolean;
2853
+ isSuccess: boolean;
2854
+ isFailed: boolean;
2855
+ isCancelled: boolean;
2856
+ isTest: boolean;
2857
+ updatedAt: Date;
2858
+ costInCents: number;
2859
+ baseCostInCents: number;
2860
+ durationMs: number;
2861
+ batchId?: string | undefined;
2862
+ idempotencyKey?: string | undefined;
2863
+ version?: string | undefined;
2864
+ startedAt?: Date | undefined;
2865
+ finishedAt?: Date | undefined;
2866
+ delayedUntil?: Date | undefined;
2867
+ ttl?: string | undefined;
2868
+ expiredAt?: Date | undefined;
2869
+ }, {
2870
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2871
+ id: string;
2872
+ createdAt: Date;
2873
+ tags: string[];
2874
+ depth: number;
2875
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2876
+ taskIdentifier: string;
2877
+ isQueued: boolean;
2878
+ isExecuting: boolean;
2879
+ isCompleted: boolean;
2880
+ isSuccess: boolean;
2881
+ isFailed: boolean;
2882
+ isCancelled: boolean;
2883
+ isTest: boolean;
2884
+ updatedAt: Date;
2885
+ costInCents: number;
2886
+ baseCostInCents: number;
2887
+ durationMs: number;
2888
+ batchId?: string | undefined;
2889
+ idempotencyKey?: string | undefined;
2890
+ version?: string | undefined;
2891
+ startedAt?: Date | undefined;
2892
+ finishedAt?: Date | undefined;
2893
+ delayedUntil?: Date | undefined;
2894
+ ttl?: string | undefined;
2895
+ expiredAt?: Date | undefined;
2896
+ }>>;
2897
+ children: z.ZodOptional<z.ZodArray<z.ZodObject<{
2898
+ depth: z.ZodNumber;
2899
+ triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2900
+ batchId: z.ZodOptional<z.ZodString>;
2901
+ id: z.ZodString;
2902
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2903
+ taskIdentifier: z.ZodString;
2904
+ idempotencyKey: z.ZodOptional<z.ZodString>;
2905
+ version: z.ZodOptional<z.ZodString>;
2906
+ isQueued: z.ZodBoolean;
2907
+ isExecuting: z.ZodBoolean;
2908
+ isCompleted: z.ZodBoolean;
2909
+ isSuccess: z.ZodBoolean;
2910
+ isFailed: z.ZodBoolean;
2911
+ isCancelled: z.ZodBoolean;
2912
+ isTest: z.ZodBoolean;
2913
+ createdAt: z.ZodDate;
2914
+ updatedAt: z.ZodDate;
2915
+ startedAt: z.ZodOptional<z.ZodDate>;
2916
+ finishedAt: z.ZodOptional<z.ZodDate>;
2917
+ delayedUntil: z.ZodOptional<z.ZodDate>;
2918
+ ttl: z.ZodOptional<z.ZodString>;
2919
+ expiredAt: z.ZodOptional<z.ZodDate>;
2920
+ tags: z.ZodArray<z.ZodString, "many">;
2921
+ costInCents: z.ZodNumber;
2922
+ baseCostInCents: z.ZodNumber;
2923
+ durationMs: z.ZodNumber;
2924
+ }, "strip", z.ZodTypeAny, {
2925
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2926
+ id: string;
2927
+ createdAt: Date;
2928
+ tags: string[];
2929
+ depth: number;
2930
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2931
+ taskIdentifier: string;
2932
+ isQueued: boolean;
2933
+ isExecuting: boolean;
2934
+ isCompleted: boolean;
2935
+ isSuccess: boolean;
2936
+ isFailed: boolean;
2937
+ isCancelled: boolean;
2938
+ isTest: boolean;
2939
+ updatedAt: Date;
2940
+ costInCents: number;
2941
+ baseCostInCents: number;
2942
+ durationMs: number;
2943
+ batchId?: string | undefined;
2944
+ idempotencyKey?: string | undefined;
2945
+ version?: string | undefined;
2946
+ startedAt?: Date | undefined;
2947
+ finishedAt?: Date | undefined;
2948
+ delayedUntil?: Date | undefined;
2949
+ ttl?: string | undefined;
2950
+ expiredAt?: Date | undefined;
2951
+ }, {
2952
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2953
+ id: string;
2954
+ createdAt: Date;
2955
+ tags: string[];
2956
+ depth: number;
2957
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2958
+ taskIdentifier: string;
2959
+ isQueued: boolean;
2960
+ isExecuting: boolean;
2961
+ isCompleted: boolean;
2962
+ isSuccess: boolean;
2963
+ isFailed: boolean;
2964
+ isCancelled: boolean;
2965
+ isTest: boolean;
2966
+ updatedAt: Date;
2967
+ costInCents: number;
2968
+ baseCostInCents: number;
2969
+ durationMs: number;
2970
+ batchId?: string | undefined;
2971
+ idempotencyKey?: string | undefined;
2972
+ version?: string | undefined;
2973
+ startedAt?: Date | undefined;
2974
+ finishedAt?: Date | undefined;
2975
+ delayedUntil?: Date | undefined;
2976
+ ttl?: string | undefined;
2977
+ expiredAt?: Date | undefined;
2978
+ }>, "many">>;
2979
+ }, "strip", z.ZodTypeAny, {
2980
+ root?: {
2981
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2982
+ id: string;
2983
+ createdAt: Date;
2984
+ tags: string[];
2985
+ depth: number;
2986
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2987
+ taskIdentifier: string;
2988
+ isQueued: boolean;
2989
+ isExecuting: boolean;
2990
+ isCompleted: boolean;
2991
+ isSuccess: boolean;
2992
+ isFailed: boolean;
2993
+ isCancelled: boolean;
2994
+ isTest: boolean;
2995
+ updatedAt: Date;
2996
+ costInCents: number;
2997
+ baseCostInCents: number;
2998
+ durationMs: number;
2999
+ batchId?: string | undefined;
3000
+ idempotencyKey?: string | undefined;
3001
+ version?: string | undefined;
3002
+ startedAt?: Date | undefined;
3003
+ finishedAt?: Date | undefined;
3004
+ delayedUntil?: Date | undefined;
3005
+ ttl?: string | undefined;
3006
+ expiredAt?: Date | undefined;
3007
+ } | undefined;
3008
+ parent?: {
3009
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3010
+ id: string;
3011
+ createdAt: Date;
3012
+ tags: string[];
3013
+ depth: number;
3014
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3015
+ taskIdentifier: string;
3016
+ isQueued: boolean;
3017
+ isExecuting: boolean;
3018
+ isCompleted: boolean;
3019
+ isSuccess: boolean;
3020
+ isFailed: boolean;
3021
+ isCancelled: boolean;
3022
+ isTest: boolean;
3023
+ updatedAt: Date;
3024
+ costInCents: number;
3025
+ baseCostInCents: number;
3026
+ durationMs: number;
3027
+ batchId?: string | undefined;
3028
+ idempotencyKey?: string | undefined;
3029
+ version?: string | undefined;
3030
+ startedAt?: Date | undefined;
3031
+ finishedAt?: Date | undefined;
3032
+ delayedUntil?: Date | undefined;
3033
+ ttl?: string | undefined;
3034
+ expiredAt?: Date | undefined;
3035
+ } | undefined;
3036
+ children?: {
3037
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3038
+ id: string;
3039
+ createdAt: Date;
3040
+ tags: string[];
3041
+ depth: number;
3042
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3043
+ taskIdentifier: string;
3044
+ isQueued: boolean;
3045
+ isExecuting: boolean;
3046
+ isCompleted: boolean;
3047
+ isSuccess: boolean;
3048
+ isFailed: boolean;
3049
+ isCancelled: boolean;
3050
+ isTest: boolean;
3051
+ updatedAt: Date;
3052
+ costInCents: number;
3053
+ baseCostInCents: number;
3054
+ durationMs: number;
3055
+ batchId?: string | undefined;
3056
+ idempotencyKey?: string | undefined;
3057
+ version?: string | undefined;
3058
+ startedAt?: Date | undefined;
3059
+ finishedAt?: Date | undefined;
3060
+ delayedUntil?: Date | undefined;
3061
+ ttl?: string | undefined;
3062
+ expiredAt?: Date | undefined;
3063
+ }[] | undefined;
3064
+ }, {
3065
+ root?: {
3066
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3067
+ id: string;
3068
+ createdAt: Date;
3069
+ tags: string[];
3070
+ depth: number;
3071
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3072
+ taskIdentifier: string;
3073
+ isQueued: boolean;
3074
+ isExecuting: boolean;
3075
+ isCompleted: boolean;
3076
+ isSuccess: boolean;
3077
+ isFailed: boolean;
3078
+ isCancelled: boolean;
3079
+ isTest: boolean;
3080
+ updatedAt: Date;
3081
+ costInCents: number;
3082
+ baseCostInCents: number;
3083
+ durationMs: number;
3084
+ batchId?: string | undefined;
3085
+ idempotencyKey?: string | undefined;
3086
+ version?: string | undefined;
3087
+ startedAt?: Date | undefined;
3088
+ finishedAt?: Date | undefined;
3089
+ delayedUntil?: Date | undefined;
3090
+ ttl?: string | undefined;
3091
+ expiredAt?: Date | undefined;
3092
+ } | undefined;
3093
+ parent?: {
3094
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3095
+ id: string;
3096
+ createdAt: Date;
3097
+ tags: string[];
3098
+ depth: number;
3099
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3100
+ taskIdentifier: string;
3101
+ isQueued: boolean;
3102
+ isExecuting: boolean;
3103
+ isCompleted: boolean;
3104
+ isSuccess: boolean;
3105
+ isFailed: boolean;
3106
+ isCancelled: boolean;
3107
+ isTest: boolean;
3108
+ updatedAt: Date;
3109
+ costInCents: number;
3110
+ baseCostInCents: number;
3111
+ durationMs: number;
3112
+ batchId?: string | undefined;
3113
+ idempotencyKey?: string | undefined;
3114
+ version?: string | undefined;
3115
+ startedAt?: Date | undefined;
3116
+ finishedAt?: Date | undefined;
3117
+ delayedUntil?: Date | undefined;
3118
+ ttl?: string | undefined;
3119
+ expiredAt?: Date | undefined;
3120
+ } | undefined;
3121
+ children?: {
3122
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3123
+ id: string;
3124
+ createdAt: Date;
3125
+ tags: string[];
3126
+ depth: number;
3127
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3128
+ taskIdentifier: string;
3129
+ isQueued: boolean;
3130
+ isExecuting: boolean;
3131
+ isCompleted: boolean;
3132
+ isSuccess: boolean;
3133
+ isFailed: boolean;
3134
+ isCancelled: boolean;
3135
+ isTest: boolean;
3136
+ updatedAt: Date;
3137
+ costInCents: number;
3138
+ baseCostInCents: number;
3139
+ durationMs: number;
3140
+ batchId?: string | undefined;
3141
+ idempotencyKey?: string | undefined;
3142
+ version?: string | undefined;
3143
+ startedAt?: Date | undefined;
3144
+ finishedAt?: Date | undefined;
3145
+ delayedUntil?: Date | undefined;
3146
+ ttl?: string | undefined;
3147
+ expiredAt?: Date | undefined;
3148
+ }[] | undefined;
3149
+ }>;
2624
3150
  attempts: z.ZodArray<z.ZodOptional<z.ZodObject<{
2625
3151
  id: z.ZodString;
2626
3152
  status: z.ZodEnum<["PENDING", "EXECUTING", "PAUSED", "COMPLETED", "FAILED", "CANCELED"]>;
@@ -2666,6 +3192,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2666
3192
  stackTrace?: string | undefined;
2667
3193
  } | undefined;
2668
3194
  }>>, "many">;
3195
+ depth: z.ZodNumber;
3196
+ triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
3197
+ batchId: z.ZodOptional<z.ZodString>;
2669
3198
  id: z.ZodString;
2670
3199
  status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2671
3200
  taskIdentifier: z.ZodString;
@@ -2694,6 +3223,106 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2694
3223
  id: string;
2695
3224
  createdAt: Date;
2696
3225
  tags: string[];
3226
+ depth: number;
3227
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3228
+ taskIdentifier: string;
3229
+ isQueued: boolean;
3230
+ isExecuting: boolean;
3231
+ isCompleted: boolean;
3232
+ isSuccess: boolean;
3233
+ isFailed: boolean;
3234
+ isCancelled: boolean;
3235
+ isTest: boolean;
3236
+ updatedAt: Date;
3237
+ costInCents: number;
3238
+ baseCostInCents: number;
3239
+ durationMs: number;
3240
+ relatedRuns: {
3241
+ root?: {
3242
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3243
+ id: string;
3244
+ createdAt: Date;
3245
+ tags: string[];
3246
+ depth: number;
3247
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3248
+ taskIdentifier: string;
3249
+ isQueued: boolean;
3250
+ isExecuting: boolean;
3251
+ isCompleted: boolean;
3252
+ isSuccess: boolean;
3253
+ isFailed: boolean;
3254
+ isCancelled: boolean;
3255
+ isTest: boolean;
3256
+ updatedAt: Date;
3257
+ costInCents: number;
3258
+ baseCostInCents: number;
3259
+ durationMs: number;
3260
+ batchId?: string | undefined;
3261
+ idempotencyKey?: string | undefined;
3262
+ version?: string | undefined;
3263
+ startedAt?: Date | undefined;
3264
+ finishedAt?: Date | undefined;
3265
+ delayedUntil?: Date | undefined;
3266
+ ttl?: string | undefined;
3267
+ expiredAt?: Date | undefined;
3268
+ } | undefined;
3269
+ parent?: {
3270
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3271
+ id: string;
3272
+ createdAt: Date;
3273
+ tags: string[];
3274
+ depth: number;
3275
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3276
+ taskIdentifier: string;
3277
+ isQueued: boolean;
3278
+ isExecuting: boolean;
3279
+ isCompleted: boolean;
3280
+ isSuccess: boolean;
3281
+ isFailed: boolean;
3282
+ isCancelled: boolean;
3283
+ isTest: boolean;
3284
+ updatedAt: Date;
3285
+ costInCents: number;
3286
+ baseCostInCents: number;
3287
+ durationMs: number;
3288
+ batchId?: string | undefined;
3289
+ idempotencyKey?: string | undefined;
3290
+ version?: string | undefined;
3291
+ startedAt?: Date | undefined;
3292
+ finishedAt?: Date | undefined;
3293
+ delayedUntil?: Date | undefined;
3294
+ ttl?: string | undefined;
3295
+ expiredAt?: Date | undefined;
3296
+ } | undefined;
3297
+ children?: {
3298
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3299
+ id: string;
3300
+ createdAt: Date;
3301
+ tags: string[];
3302
+ depth: number;
3303
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3304
+ taskIdentifier: string;
3305
+ isQueued: boolean;
3306
+ isExecuting: boolean;
3307
+ isCompleted: boolean;
3308
+ isSuccess: boolean;
3309
+ isFailed: boolean;
3310
+ isCancelled: boolean;
3311
+ isTest: boolean;
3312
+ updatedAt: Date;
3313
+ costInCents: number;
3314
+ baseCostInCents: number;
3315
+ durationMs: number;
3316
+ batchId?: string | undefined;
3317
+ idempotencyKey?: string | undefined;
3318
+ version?: string | undefined;
3319
+ startedAt?: Date | undefined;
3320
+ finishedAt?: Date | undefined;
3321
+ delayedUntil?: Date | undefined;
3322
+ ttl?: string | undefined;
3323
+ expiredAt?: Date | undefined;
3324
+ }[] | undefined;
3325
+ };
2697
3326
  attempts: ({
2698
3327
  status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2699
3328
  id: string;
@@ -2707,18 +3336,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2707
3336
  stackTrace?: string | undefined;
2708
3337
  } | undefined;
2709
3338
  } | undefined)[];
2710
- updatedAt: Date;
2711
- taskIdentifier: string;
2712
- isQueued: boolean;
2713
- isExecuting: boolean;
2714
- isCompleted: boolean;
2715
- isSuccess: boolean;
2716
- isFailed: boolean;
2717
- isCancelled: boolean;
2718
- isTest: boolean;
2719
- costInCents: number;
2720
- baseCostInCents: number;
2721
- durationMs: number;
2722
3339
  payload?: any;
2723
3340
  payloadPresignedUrl?: string | undefined;
2724
3341
  output?: any;
@@ -2733,6 +3350,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2733
3350
  externalId?: string | undefined;
2734
3351
  deduplicationKey?: string | undefined;
2735
3352
  } | undefined;
3353
+ batchId?: string | undefined;
2736
3354
  idempotencyKey?: string | undefined;
2737
3355
  version?: string | undefined;
2738
3356
  startedAt?: Date | undefined;
@@ -2745,6 +3363,106 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2745
3363
  id: string;
2746
3364
  createdAt: Date;
2747
3365
  tags: string[];
3366
+ depth: number;
3367
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3368
+ taskIdentifier: string;
3369
+ isQueued: boolean;
3370
+ isExecuting: boolean;
3371
+ isCompleted: boolean;
3372
+ isSuccess: boolean;
3373
+ isFailed: boolean;
3374
+ isCancelled: boolean;
3375
+ isTest: boolean;
3376
+ updatedAt: Date;
3377
+ costInCents: number;
3378
+ baseCostInCents: number;
3379
+ durationMs: number;
3380
+ relatedRuns: {
3381
+ root?: {
3382
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3383
+ id: string;
3384
+ createdAt: Date;
3385
+ tags: string[];
3386
+ depth: number;
3387
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3388
+ taskIdentifier: string;
3389
+ isQueued: boolean;
3390
+ isExecuting: boolean;
3391
+ isCompleted: boolean;
3392
+ isSuccess: boolean;
3393
+ isFailed: boolean;
3394
+ isCancelled: boolean;
3395
+ isTest: boolean;
3396
+ updatedAt: Date;
3397
+ costInCents: number;
3398
+ baseCostInCents: number;
3399
+ durationMs: number;
3400
+ batchId?: string | undefined;
3401
+ idempotencyKey?: string | undefined;
3402
+ version?: string | undefined;
3403
+ startedAt?: Date | undefined;
3404
+ finishedAt?: Date | undefined;
3405
+ delayedUntil?: Date | undefined;
3406
+ ttl?: string | undefined;
3407
+ expiredAt?: Date | undefined;
3408
+ } | undefined;
3409
+ parent?: {
3410
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3411
+ id: string;
3412
+ createdAt: Date;
3413
+ tags: string[];
3414
+ depth: number;
3415
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3416
+ taskIdentifier: string;
3417
+ isQueued: boolean;
3418
+ isExecuting: boolean;
3419
+ isCompleted: boolean;
3420
+ isSuccess: boolean;
3421
+ isFailed: boolean;
3422
+ isCancelled: boolean;
3423
+ isTest: boolean;
3424
+ updatedAt: Date;
3425
+ costInCents: number;
3426
+ baseCostInCents: number;
3427
+ durationMs: number;
3428
+ batchId?: string | undefined;
3429
+ idempotencyKey?: string | undefined;
3430
+ version?: string | undefined;
3431
+ startedAt?: Date | undefined;
3432
+ finishedAt?: Date | undefined;
3433
+ delayedUntil?: Date | undefined;
3434
+ ttl?: string | undefined;
3435
+ expiredAt?: Date | undefined;
3436
+ } | undefined;
3437
+ children?: {
3438
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3439
+ id: string;
3440
+ createdAt: Date;
3441
+ tags: string[];
3442
+ depth: number;
3443
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3444
+ taskIdentifier: string;
3445
+ isQueued: boolean;
3446
+ isExecuting: boolean;
3447
+ isCompleted: boolean;
3448
+ isSuccess: boolean;
3449
+ isFailed: boolean;
3450
+ isCancelled: boolean;
3451
+ isTest: boolean;
3452
+ updatedAt: Date;
3453
+ costInCents: number;
3454
+ baseCostInCents: number;
3455
+ durationMs: number;
3456
+ batchId?: string | undefined;
3457
+ idempotencyKey?: string | undefined;
3458
+ version?: string | undefined;
3459
+ startedAt?: Date | undefined;
3460
+ finishedAt?: Date | undefined;
3461
+ delayedUntil?: Date | undefined;
3462
+ ttl?: string | undefined;
3463
+ expiredAt?: Date | undefined;
3464
+ }[] | undefined;
3465
+ };
2748
3466
  attempts: ({
2749
3467
  status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2750
3468
  id: string;
@@ -2758,18 +3476,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2758
3476
  stackTrace?: string | undefined;
2759
3477
  } | undefined;
2760
3478
  } | undefined)[];
2761
- updatedAt: Date;
2762
- taskIdentifier: string;
2763
- isQueued: boolean;
2764
- isExecuting: boolean;
2765
- isCompleted: boolean;
2766
- isSuccess: boolean;
2767
- isFailed: boolean;
2768
- isCancelled: boolean;
2769
- isTest: boolean;
2770
- costInCents: number;
2771
- baseCostInCents: number;
2772
- durationMs: number;
2773
3479
  payload?: any;
2774
3480
  payloadPresignedUrl?: string | undefined;
2775
3481
  output?: any;
@@ -2784,6 +3490,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2784
3490
  externalId?: string | undefined;
2785
3491
  deduplicationKey?: string | undefined;
2786
3492
  } | undefined;
3493
+ batchId?: string | undefined;
2787
3494
  idempotencyKey?: string | undefined;
2788
3495
  version?: string | undefined;
2789
3496
  startedAt?: Date | undefined;
@@ -2835,7 +3542,6 @@ export declare const ListRunResponseItem: z.ZodObject<{
2835
3542
  id: string;
2836
3543
  createdAt: Date;
2837
3544
  tags: string[];
2838
- updatedAt: Date;
2839
3545
  taskIdentifier: string;
2840
3546
  isQueued: boolean;
2841
3547
  isExecuting: boolean;
@@ -2844,6 +3550,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
2844
3550
  isFailed: boolean;
2845
3551
  isCancelled: boolean;
2846
3552
  isTest: boolean;
3553
+ updatedAt: Date;
2847
3554
  costInCents: number;
2848
3555
  baseCostInCents: number;
2849
3556
  durationMs: number;
@@ -2864,7 +3571,6 @@ export declare const ListRunResponseItem: z.ZodObject<{
2864
3571
  id: string;
2865
3572
  createdAt: Date;
2866
3573
  tags: string[];
2867
- updatedAt: Date;
2868
3574
  taskIdentifier: string;
2869
3575
  isQueued: boolean;
2870
3576
  isExecuting: boolean;
@@ -2873,6 +3579,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
2873
3579
  isFailed: boolean;
2874
3580
  isCancelled: boolean;
2875
3581
  isTest: boolean;
3582
+ updatedAt: Date;
2876
3583
  costInCents: number;
2877
3584
  baseCostInCents: number;
2878
3585
  durationMs: number;
@@ -2933,7 +3640,6 @@ export declare const ListRunResponse: z.ZodObject<{
2933
3640
  id: string;
2934
3641
  createdAt: Date;
2935
3642
  tags: string[];
2936
- updatedAt: Date;
2937
3643
  taskIdentifier: string;
2938
3644
  isQueued: boolean;
2939
3645
  isExecuting: boolean;
@@ -2942,6 +3648,7 @@ export declare const ListRunResponse: z.ZodObject<{
2942
3648
  isFailed: boolean;
2943
3649
  isCancelled: boolean;
2944
3650
  isTest: boolean;
3651
+ updatedAt: Date;
2945
3652
  costInCents: number;
2946
3653
  baseCostInCents: number;
2947
3654
  durationMs: number;
@@ -2962,7 +3669,6 @@ export declare const ListRunResponse: z.ZodObject<{
2962
3669
  id: string;
2963
3670
  createdAt: Date;
2964
3671
  tags: string[];
2965
- updatedAt: Date;
2966
3672
  taskIdentifier: string;
2967
3673
  isQueued: boolean;
2968
3674
  isExecuting: boolean;
@@ -2971,6 +3677,7 @@ export declare const ListRunResponse: z.ZodObject<{
2971
3677
  isFailed: boolean;
2972
3678
  isCancelled: boolean;
2973
3679
  isTest: boolean;
3680
+ updatedAt: Date;
2974
3681
  costInCents: number;
2975
3682
  baseCostInCents: number;
2976
3683
  durationMs: number;
@@ -3003,7 +3710,6 @@ export declare const ListRunResponse: z.ZodObject<{
3003
3710
  id: string;
3004
3711
  createdAt: Date;
3005
3712
  tags: string[];
3006
- updatedAt: Date;
3007
3713
  taskIdentifier: string;
3008
3714
  isQueued: boolean;
3009
3715
  isExecuting: boolean;
@@ -3012,6 +3718,7 @@ export declare const ListRunResponse: z.ZodObject<{
3012
3718
  isFailed: boolean;
3013
3719
  isCancelled: boolean;
3014
3720
  isTest: boolean;
3721
+ updatedAt: Date;
3015
3722
  costInCents: number;
3016
3723
  baseCostInCents: number;
3017
3724
  durationMs: number;
@@ -3038,7 +3745,6 @@ export declare const ListRunResponse: z.ZodObject<{
3038
3745
  id: string;
3039
3746
  createdAt: Date;
3040
3747
  tags: string[];
3041
- updatedAt: Date;
3042
3748
  taskIdentifier: string;
3043
3749
  isQueued: boolean;
3044
3750
  isExecuting: boolean;
@@ -3047,6 +3753,7 @@ export declare const ListRunResponse: z.ZodObject<{
3047
3753
  isFailed: boolean;
3048
3754
  isCancelled: boolean;
3049
3755
  isTest: boolean;
3756
+ updatedAt: Date;
3050
3757
  costInCents: number;
3051
3758
  baseCostInCents: number;
3052
3759
  durationMs: number;