@trigger.dev/core 0.0.0-v3-prerelease-20241028160720 → 0.0.0-v3-prerelease-20241101212227

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 (41) hide show
  1. package/dist/commonjs/v3/apiClient/index.d.ts +26 -26
  2. package/dist/commonjs/v3/apiClient/index.js +1 -1
  3. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  4. package/dist/commonjs/v3/errors.js +8 -0
  5. package/dist/commonjs/v3/errors.js.map +1 -1
  6. package/dist/commonjs/v3/links.d.ts +3 -0
  7. package/dist/commonjs/v3/links.js +3 -0
  8. package/dist/commonjs/v3/links.js.map +1 -1
  9. package/dist/commonjs/v3/schemas/api.d.ts +109 -109
  10. package/dist/commonjs/v3/schemas/build.d.ts +50 -50
  11. package/dist/commonjs/v3/schemas/common.d.ts +124 -124
  12. package/dist/commonjs/v3/schemas/common.js +1 -0
  13. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  14. package/dist/commonjs/v3/schemas/messages.d.ts +1513 -1513
  15. package/dist/commonjs/v3/schemas/resources.d.ts +20 -20
  16. package/dist/commonjs/v3/schemas/schemas.d.ts +175 -175
  17. package/dist/commonjs/v3/types/tasks.d.ts +1 -0
  18. package/dist/commonjs/v3/workers/taskExecutor.js +4 -2
  19. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  20. package/dist/commonjs/version.js +1 -1
  21. package/dist/esm/v3/apiClient/index.d.ts +26 -26
  22. package/dist/esm/v3/apiClient/index.js +1 -1
  23. package/dist/esm/v3/apiClient/index.js.map +1 -1
  24. package/dist/esm/v3/errors.js +8 -0
  25. package/dist/esm/v3/errors.js.map +1 -1
  26. package/dist/esm/v3/links.d.ts +3 -0
  27. package/dist/esm/v3/links.js +3 -0
  28. package/dist/esm/v3/links.js.map +1 -1
  29. package/dist/esm/v3/schemas/api.d.ts +109 -109
  30. package/dist/esm/v3/schemas/build.d.ts +50 -50
  31. package/dist/esm/v3/schemas/common.d.ts +124 -124
  32. package/dist/esm/v3/schemas/common.js +1 -0
  33. package/dist/esm/v3/schemas/common.js.map +1 -1
  34. package/dist/esm/v3/schemas/messages.d.ts +1513 -1513
  35. package/dist/esm/v3/schemas/resources.d.ts +20 -20
  36. package/dist/esm/v3/schemas/schemas.d.ts +175 -175
  37. package/dist/esm/v3/types/tasks.d.ts +1 -0
  38. package/dist/esm/v3/workers/taskExecutor.js +4 -2
  39. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  40. package/dist/esm/version.js +1 -1
  41. package/package.json +1 -1
@@ -345,12 +345,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
345
345
  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>]>>;
346
346
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
347
347
  }, "strip", z.ZodTypeAny, {
348
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
349
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
348
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
349
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
350
350
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
351
351
  }, {
352
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
353
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
352
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
353
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
354
354
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
355
355
  }>>;
356
356
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -414,8 +414,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
414
414
  randomize?: boolean | undefined;
415
415
  } | undefined;
416
416
  machine?: {
417
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
418
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
417
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
418
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
419
419
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
420
420
  } | undefined;
421
421
  triggerSource?: string | undefined;
@@ -473,8 +473,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
473
473
  randomize?: boolean | undefined;
474
474
  } | undefined;
475
475
  machine?: {
476
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
477
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
476
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
477
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
478
478
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
479
479
  } | undefined;
480
480
  triggerSource?: string | undefined;
@@ -551,8 +551,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
551
551
  randomize?: boolean | undefined;
552
552
  } | undefined;
553
553
  machine?: {
554
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
555
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
554
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
555
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
556
556
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
557
557
  } | undefined;
558
558
  triggerSource?: string | undefined;
@@ -621,8 +621,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
621
621
  randomize?: boolean | undefined;
622
622
  } | undefined;
623
623
  machine?: {
624
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
625
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
624
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
625
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
626
626
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
627
627
  } | undefined;
628
628
  triggerSource?: string | undefined;
@@ -694,8 +694,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
694
694
  randomize?: boolean | undefined;
695
695
  } | undefined;
696
696
  machine?: {
697
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
698
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
697
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
698
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
699
699
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
700
700
  } | undefined;
701
701
  triggerSource?: string | undefined;
@@ -768,8 +768,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
768
768
  randomize?: boolean | undefined;
769
769
  } | undefined;
770
770
  machine?: {
771
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
772
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
771
+ cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
772
+ memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
773
773
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
774
774
  } | undefined;
775
775
  triggerSource?: string | undefined;
@@ -797,12 +797,12 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
797
797
  version: z.ZodString;
798
798
  contentHash: z.ZodString;
799
799
  }, "strip", z.ZodTypeAny, {
800
- version: string;
801
800
  id: string;
801
+ version: string;
802
802
  contentHash: string;
803
803
  }, {
804
- version: string;
805
804
  id: string;
805
+ version: string;
806
806
  contentHash: string;
807
807
  }>;
808
808
  export type CreateBackgroundWorkerResponse = z.infer<typeof CreateBackgroundWorkerResponse>;
@@ -1824,26 +1824,26 @@ export declare const GetBatchResponseBody: z.ZodObject<{
1824
1824
  status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
1825
1825
  }, "strip", z.ZodTypeAny, {
1826
1826
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1827
- taskRunId: string;
1828
1827
  id: string;
1828
+ taskRunId: string;
1829
1829
  }, {
1830
1830
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1831
- taskRunId: string;
1832
1831
  id: string;
1832
+ taskRunId: string;
1833
1833
  }>, "many">;
1834
1834
  }, "strip", z.ZodTypeAny, {
1835
1835
  id: string;
1836
1836
  items: {
1837
1837
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1838
- taskRunId: string;
1839
1838
  id: string;
1839
+ taskRunId: string;
1840
1840
  }[];
1841
1841
  }, {
1842
1842
  id: string;
1843
1843
  items: {
1844
1844
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1845
- taskRunId: string;
1846
1845
  id: string;
1846
+ taskRunId: string;
1847
1847
  }[];
1848
1848
  }>;
1849
1849
  export type GetBatchResponseBody = z.infer<typeof GetBatchResponseBody>;
@@ -1939,8 +1939,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1939
1939
  }>>>;
1940
1940
  registryHost: z.ZodOptional<z.ZodString>;
1941
1941
  }, "strip", z.ZodTypeAny, {
1942
- version: string;
1943
1942
  id: string;
1943
+ version: string;
1944
1944
  contentHash: string;
1945
1945
  imageTag: string;
1946
1946
  shortCode: string;
@@ -1951,8 +1951,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1951
1951
  } | null | undefined;
1952
1952
  registryHost?: string | undefined;
1953
1953
  }, {
1954
- version: string;
1955
1954
  id: string;
1955
+ version: string;
1956
1956
  contentHash: string;
1957
1957
  imageTag: string;
1958
1958
  shortCode: string;
@@ -2085,8 +2085,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2085
2085
  slug: string;
2086
2086
  }>, "many">;
2087
2087
  }, "strip", z.ZodTypeAny, {
2088
- version: string;
2089
2088
  id: string;
2089
+ version: string;
2090
2090
  tasks: {
2091
2091
  id: string;
2092
2092
  filePath: string;
@@ -2094,8 +2094,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2094
2094
  slug: string;
2095
2095
  }[];
2096
2096
  }, {
2097
- version: string;
2098
2097
  id: string;
2098
+ version: string;
2099
2099
  tasks: {
2100
2100
  id: string;
2101
2101
  filePath: string;
@@ -2105,8 +2105,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2105
2105
  }>>;
2106
2106
  }, "strip", z.ZodTypeAny, {
2107
2107
  status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
2108
- version: string;
2109
2108
  id: string;
2109
+ version: string;
2110
2110
  contentHash: string;
2111
2111
  shortCode: string;
2112
2112
  imageReference?: string | null | undefined;
@@ -2117,8 +2117,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2117
2117
  stderr?: string | undefined;
2118
2118
  } | null | undefined;
2119
2119
  worker?: {
2120
- version: string;
2121
2120
  id: string;
2121
+ version: string;
2122
2122
  tasks: {
2123
2123
  id: string;
2124
2124
  filePath: string;
@@ -2128,8 +2128,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2128
2128
  } | undefined;
2129
2129
  }, {
2130
2130
  status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
2131
- version: string;
2132
2131
  id: string;
2132
+ version: string;
2133
2133
  contentHash: string;
2134
2134
  shortCode: string;
2135
2135
  imageReference?: string | null | undefined;
@@ -2140,8 +2140,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2140
2140
  stderr?: string | undefined;
2141
2141
  } | null | undefined;
2142
2142
  worker?: {
2143
- version: string;
2144
2143
  id: string;
2144
+ version: string;
2145
2145
  tasks: {
2146
2146
  id: string;
2147
2147
  filePath: string;
@@ -2680,15 +2680,15 @@ export declare const RelatedRunDetails: z.ZodObject<{
2680
2680
  }, "strip", z.ZodTypeAny, {
2681
2681
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2682
2682
  id: string;
2683
- isTest: boolean;
2684
- durationMs: number;
2685
2683
  tags: string[];
2684
+ isTest: boolean;
2686
2685
  createdAt: Date;
2686
+ durationMs: number;
2687
2687
  costInCents: number;
2688
2688
  baseCostInCents: number;
2689
- taskIdentifier: string;
2690
2689
  depth: number;
2691
2690
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2691
+ taskIdentifier: string;
2692
2692
  isQueued: boolean;
2693
2693
  isExecuting: boolean;
2694
2694
  isCompleted: boolean;
@@ -2708,15 +2708,15 @@ export declare const RelatedRunDetails: z.ZodObject<{
2708
2708
  }, {
2709
2709
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2710
2710
  id: string;
2711
- isTest: boolean;
2712
- durationMs: number;
2713
2711
  tags: string[];
2712
+ isTest: boolean;
2714
2713
  createdAt: Date;
2714
+ durationMs: number;
2715
2715
  costInCents: number;
2716
2716
  baseCostInCents: number;
2717
- taskIdentifier: string;
2718
2717
  depth: number;
2719
2718
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2719
+ taskIdentifier: string;
2720
2720
  isQueued: boolean;
2721
2721
  isExecuting: boolean;
2722
2722
  isCompleted: boolean;
@@ -2820,15 +2820,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2820
2820
  }, "strip", z.ZodTypeAny, {
2821
2821
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2822
2822
  id: string;
2823
- isTest: boolean;
2824
- durationMs: number;
2825
2823
  tags: string[];
2824
+ isTest: boolean;
2826
2825
  createdAt: Date;
2826
+ durationMs: number;
2827
2827
  costInCents: number;
2828
2828
  baseCostInCents: number;
2829
- taskIdentifier: string;
2830
2829
  depth: number;
2831
2830
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2831
+ taskIdentifier: string;
2832
2832
  isQueued: boolean;
2833
2833
  isExecuting: boolean;
2834
2834
  isCompleted: boolean;
@@ -2848,15 +2848,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2848
2848
  }, {
2849
2849
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2850
2850
  id: string;
2851
- isTest: boolean;
2852
- durationMs: number;
2853
2851
  tags: string[];
2852
+ isTest: boolean;
2854
2853
  createdAt: Date;
2854
+ durationMs: number;
2855
2855
  costInCents: number;
2856
2856
  baseCostInCents: number;
2857
- taskIdentifier: string;
2858
2857
  depth: number;
2859
2858
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2859
+ taskIdentifier: string;
2860
2860
  isQueued: boolean;
2861
2861
  isExecuting: boolean;
2862
2862
  isCompleted: boolean;
@@ -2905,15 +2905,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2905
2905
  }, "strip", z.ZodTypeAny, {
2906
2906
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2907
2907
  id: string;
2908
- isTest: boolean;
2909
- durationMs: number;
2910
2908
  tags: string[];
2909
+ isTest: boolean;
2911
2910
  createdAt: Date;
2911
+ durationMs: number;
2912
2912
  costInCents: number;
2913
2913
  baseCostInCents: number;
2914
- taskIdentifier: string;
2915
2914
  depth: number;
2916
2915
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2916
+ taskIdentifier: string;
2917
2917
  isQueued: boolean;
2918
2918
  isExecuting: boolean;
2919
2919
  isCompleted: boolean;
@@ -2933,15 +2933,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2933
2933
  }, {
2934
2934
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2935
2935
  id: string;
2936
- isTest: boolean;
2937
- durationMs: number;
2938
2936
  tags: string[];
2937
+ isTest: boolean;
2939
2938
  createdAt: Date;
2939
+ durationMs: number;
2940
2940
  costInCents: number;
2941
2941
  baseCostInCents: number;
2942
- taskIdentifier: string;
2943
2942
  depth: number;
2944
2943
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2944
+ taskIdentifier: string;
2945
2945
  isQueued: boolean;
2946
2946
  isExecuting: boolean;
2947
2947
  isCompleted: boolean;
@@ -2990,15 +2990,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2990
2990
  }, "strip", z.ZodTypeAny, {
2991
2991
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2992
2992
  id: string;
2993
- isTest: boolean;
2994
- durationMs: number;
2995
2993
  tags: string[];
2994
+ isTest: boolean;
2996
2995
  createdAt: Date;
2996
+ durationMs: number;
2997
2997
  costInCents: number;
2998
2998
  baseCostInCents: number;
2999
- taskIdentifier: string;
3000
2999
  depth: number;
3001
3000
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3001
+ taskIdentifier: string;
3002
3002
  isQueued: boolean;
3003
3003
  isExecuting: boolean;
3004
3004
  isCompleted: boolean;
@@ -3018,15 +3018,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3018
3018
  }, {
3019
3019
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3020
3020
  id: string;
3021
- isTest: boolean;
3022
- durationMs: number;
3023
3021
  tags: string[];
3022
+ isTest: boolean;
3024
3023
  createdAt: Date;
3024
+ durationMs: number;
3025
3025
  costInCents: number;
3026
3026
  baseCostInCents: number;
3027
- taskIdentifier: string;
3028
3027
  depth: number;
3029
3028
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3029
+ taskIdentifier: string;
3030
3030
  isQueued: boolean;
3031
3031
  isExecuting: boolean;
3032
3032
  isCompleted: boolean;
@@ -3048,15 +3048,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3048
3048
  root?: {
3049
3049
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3050
3050
  id: string;
3051
- isTest: boolean;
3052
- durationMs: number;
3053
3051
  tags: string[];
3052
+ isTest: boolean;
3054
3053
  createdAt: Date;
3054
+ durationMs: number;
3055
3055
  costInCents: number;
3056
3056
  baseCostInCents: number;
3057
- taskIdentifier: string;
3058
3057
  depth: number;
3059
3058
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3059
+ taskIdentifier: string;
3060
3060
  isQueued: boolean;
3061
3061
  isExecuting: boolean;
3062
3062
  isCompleted: boolean;
@@ -3077,15 +3077,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3077
3077
  parent?: {
3078
3078
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3079
3079
  id: string;
3080
- isTest: boolean;
3081
- durationMs: number;
3082
3080
  tags: string[];
3081
+ isTest: boolean;
3083
3082
  createdAt: Date;
3083
+ durationMs: number;
3084
3084
  costInCents: number;
3085
3085
  baseCostInCents: number;
3086
- taskIdentifier: string;
3087
3086
  depth: number;
3088
3087
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3088
+ taskIdentifier: string;
3089
3089
  isQueued: boolean;
3090
3090
  isExecuting: boolean;
3091
3091
  isCompleted: boolean;
@@ -3106,15 +3106,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3106
3106
  children?: {
3107
3107
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3108
3108
  id: string;
3109
- isTest: boolean;
3110
- durationMs: number;
3111
3109
  tags: string[];
3110
+ isTest: boolean;
3112
3111
  createdAt: Date;
3112
+ durationMs: number;
3113
3113
  costInCents: number;
3114
3114
  baseCostInCents: number;
3115
- taskIdentifier: string;
3116
3115
  depth: number;
3117
3116
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3117
+ taskIdentifier: string;
3118
3118
  isQueued: boolean;
3119
3119
  isExecuting: boolean;
3120
3120
  isCompleted: boolean;
@@ -3136,15 +3136,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3136
3136
  root?: {
3137
3137
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3138
3138
  id: string;
3139
- isTest: boolean;
3140
- durationMs: number;
3141
3139
  tags: string[];
3140
+ isTest: boolean;
3142
3141
  createdAt: Date;
3142
+ durationMs: number;
3143
3143
  costInCents: number;
3144
3144
  baseCostInCents: number;
3145
- taskIdentifier: string;
3146
3145
  depth: number;
3147
3146
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3147
+ taskIdentifier: string;
3148
3148
  isQueued: boolean;
3149
3149
  isExecuting: boolean;
3150
3150
  isCompleted: boolean;
@@ -3165,15 +3165,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3165
3165
  parent?: {
3166
3166
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3167
3167
  id: string;
3168
- isTest: boolean;
3169
- durationMs: number;
3170
3168
  tags: string[];
3169
+ isTest: boolean;
3171
3170
  createdAt: Date;
3171
+ durationMs: number;
3172
3172
  costInCents: number;
3173
3173
  baseCostInCents: number;
3174
- taskIdentifier: string;
3175
3174
  depth: number;
3176
3175
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3176
+ taskIdentifier: string;
3177
3177
  isQueued: boolean;
3178
3178
  isExecuting: boolean;
3179
3179
  isCompleted: boolean;
@@ -3194,15 +3194,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3194
3194
  children?: {
3195
3195
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3196
3196
  id: string;
3197
- isTest: boolean;
3198
- durationMs: number;
3199
3197
  tags: string[];
3198
+ isTest: boolean;
3200
3199
  createdAt: Date;
3200
+ durationMs: number;
3201
3201
  costInCents: number;
3202
3202
  baseCostInCents: number;
3203
- taskIdentifier: string;
3204
3203
  depth: number;
3205
3204
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3205
+ taskIdentifier: string;
3206
3206
  isQueued: boolean;
3207
3207
  isExecuting: boolean;
3208
3208
  isCompleted: boolean;
@@ -3297,27 +3297,26 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3297
3297
  }, "strip", z.ZodTypeAny, {
3298
3298
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3299
3299
  id: string;
3300
- attemptCount: number;
3301
- isTest: boolean;
3302
- durationMs: number;
3303
3300
  tags: string[];
3301
+ isTest: boolean;
3304
3302
  createdAt: Date;
3303
+ durationMs: number;
3305
3304
  costInCents: number;
3306
3305
  baseCostInCents: number;
3307
- taskIdentifier: string;
3306
+ attemptCount: number;
3308
3307
  relatedRuns: {
3309
3308
  root?: {
3310
3309
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3311
3310
  id: string;
3312
- isTest: boolean;
3313
- durationMs: number;
3314
3311
  tags: string[];
3312
+ isTest: boolean;
3315
3313
  createdAt: Date;
3314
+ durationMs: number;
3316
3315
  costInCents: number;
3317
3316
  baseCostInCents: number;
3318
- taskIdentifier: string;
3319
3317
  depth: number;
3320
3318
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3319
+ taskIdentifier: string;
3321
3320
  isQueued: boolean;
3322
3321
  isExecuting: boolean;
3323
3322
  isCompleted: boolean;
@@ -3338,15 +3337,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3338
3337
  parent?: {
3339
3338
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3340
3339
  id: string;
3341
- isTest: boolean;
3342
- durationMs: number;
3343
3340
  tags: string[];
3341
+ isTest: boolean;
3344
3342
  createdAt: Date;
3343
+ durationMs: number;
3345
3344
  costInCents: number;
3346
3345
  baseCostInCents: number;
3347
- taskIdentifier: string;
3348
3346
  depth: number;
3349
3347
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3348
+ taskIdentifier: string;
3350
3349
  isQueued: boolean;
3351
3350
  isExecuting: boolean;
3352
3351
  isCompleted: boolean;
@@ -3367,15 +3366,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3367
3366
  children?: {
3368
3367
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3369
3368
  id: string;
3370
- isTest: boolean;
3371
- durationMs: number;
3372
3369
  tags: string[];
3370
+ isTest: boolean;
3373
3371
  createdAt: Date;
3372
+ durationMs: number;
3374
3373
  costInCents: number;
3375
3374
  baseCostInCents: number;
3376
- taskIdentifier: string;
3377
3375
  depth: number;
3378
3376
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3377
+ taskIdentifier: string;
3379
3378
  isQueued: boolean;
3380
3379
  isExecuting: boolean;
3381
3380
  isCompleted: boolean;
@@ -3396,6 +3395,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3396
3395
  };
3397
3396
  depth: number;
3398
3397
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3398
+ taskIdentifier: string;
3399
3399
  isQueued: boolean;
3400
3400
  isExecuting: boolean;
3401
3401
  isCompleted: boolean;
@@ -3447,26 +3447,25 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3447
3447
  }, {
3448
3448
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3449
3449
  id: string;
3450
- isTest: boolean;
3451
- durationMs: number;
3452
3450
  tags: string[];
3451
+ isTest: boolean;
3453
3452
  createdAt: Date;
3453
+ durationMs: number;
3454
3454
  costInCents: number;
3455
3455
  baseCostInCents: number;
3456
- taskIdentifier: string;
3457
3456
  relatedRuns: {
3458
3457
  root?: {
3459
3458
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3460
3459
  id: string;
3461
- isTest: boolean;
3462
- durationMs: number;
3463
3460
  tags: string[];
3461
+ isTest: boolean;
3464
3462
  createdAt: Date;
3463
+ durationMs: number;
3465
3464
  costInCents: number;
3466
3465
  baseCostInCents: number;
3467
- taskIdentifier: string;
3468
3466
  depth: number;
3469
3467
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3468
+ taskIdentifier: string;
3470
3469
  isQueued: boolean;
3471
3470
  isExecuting: boolean;
3472
3471
  isCompleted: boolean;
@@ -3487,15 +3486,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3487
3486
  parent?: {
3488
3487
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3489
3488
  id: string;
3490
- isTest: boolean;
3491
- durationMs: number;
3492
3489
  tags: string[];
3490
+ isTest: boolean;
3493
3491
  createdAt: Date;
3492
+ durationMs: number;
3494
3493
  costInCents: number;
3495
3494
  baseCostInCents: number;
3496
- taskIdentifier: string;
3497
3495
  depth: number;
3498
3496
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3497
+ taskIdentifier: string;
3499
3498
  isQueued: boolean;
3500
3499
  isExecuting: boolean;
3501
3500
  isCompleted: boolean;
@@ -3516,15 +3515,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3516
3515
  children?: {
3517
3516
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3518
3517
  id: string;
3519
- isTest: boolean;
3520
- durationMs: number;
3521
3518
  tags: string[];
3519
+ isTest: boolean;
3522
3520
  createdAt: Date;
3521
+ durationMs: number;
3523
3522
  costInCents: number;
3524
3523
  baseCostInCents: number;
3525
- taskIdentifier: string;
3526
3524
  depth: number;
3527
3525
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3526
+ taskIdentifier: string;
3528
3527
  isQueued: boolean;
3529
3528
  isExecuting: boolean;
3530
3529
  isCompleted: boolean;
@@ -3545,6 +3544,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3545
3544
  };
3546
3545
  depth: number;
3547
3546
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3547
+ taskIdentifier: string;
3548
3548
  isQueued: boolean;
3549
3549
  isExecuting: boolean;
3550
3550
  isCompleted: boolean;
@@ -3637,10 +3637,10 @@ export declare const ListRunResponseItem: z.ZodObject<{
3637
3637
  }, "strip", z.ZodTypeAny, {
3638
3638
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3639
3639
  id: string;
3640
- isTest: boolean;
3641
- durationMs: number;
3642
3640
  tags: string[];
3641
+ isTest: boolean;
3643
3642
  createdAt: Date;
3643
+ durationMs: number;
3644
3644
  costInCents: number;
3645
3645
  baseCostInCents: number;
3646
3646
  taskIdentifier: string;
@@ -3667,10 +3667,10 @@ export declare const ListRunResponseItem: z.ZodObject<{
3667
3667
  }, {
3668
3668
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3669
3669
  id: string;
3670
- isTest: boolean;
3671
- durationMs: number;
3672
3670
  tags: string[];
3671
+ isTest: boolean;
3673
3672
  createdAt: Date;
3673
+ durationMs: number;
3674
3674
  costInCents: number;
3675
3675
  baseCostInCents: number;
3676
3676
  taskIdentifier: string;
@@ -3738,10 +3738,10 @@ export declare const ListRunResponse: z.ZodObject<{
3738
3738
  }, "strip", z.ZodTypeAny, {
3739
3739
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3740
3740
  id: string;
3741
- isTest: boolean;
3742
- durationMs: number;
3743
3741
  tags: string[];
3742
+ isTest: boolean;
3744
3743
  createdAt: Date;
3744
+ durationMs: number;
3745
3745
  costInCents: number;
3746
3746
  baseCostInCents: number;
3747
3747
  taskIdentifier: string;
@@ -3768,10 +3768,10 @@ export declare const ListRunResponse: z.ZodObject<{
3768
3768
  }, {
3769
3769
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3770
3770
  id: string;
3771
- isTest: boolean;
3772
- durationMs: number;
3773
3771
  tags: string[];
3772
+ isTest: boolean;
3774
3773
  createdAt: Date;
3774
+ durationMs: number;
3775
3775
  costInCents: number;
3776
3776
  baseCostInCents: number;
3777
3777
  taskIdentifier: string;
@@ -3810,10 +3810,10 @@ export declare const ListRunResponse: z.ZodObject<{
3810
3810
  data: {
3811
3811
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3812
3812
  id: string;
3813
- isTest: boolean;
3814
- durationMs: number;
3815
3813
  tags: string[];
3814
+ isTest: boolean;
3816
3815
  createdAt: Date;
3816
+ durationMs: number;
3817
3817
  costInCents: number;
3818
3818
  baseCostInCents: number;
3819
3819
  taskIdentifier: string;
@@ -3846,10 +3846,10 @@ export declare const ListRunResponse: z.ZodObject<{
3846
3846
  data: {
3847
3847
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3848
3848
  id: string;
3849
- isTest: boolean;
3850
- durationMs: number;
3851
3849
  tags: string[];
3850
+ isTest: boolean;
3852
3851
  createdAt: Date;
3852
+ durationMs: number;
3853
3853
  costInCents: number;
3854
3854
  baseCostInCents: number;
3855
3855
  taskIdentifier: string;