@trigger.dev/core 0.0.0-prerelease-20240905123715 → 0.0.0-prerelease-20240911144933

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 (33) hide show
  1. package/dist/commonjs/v3/apiClient/index.d.ts +18 -18
  2. package/dist/commonjs/v3/build/externals.d.ts +1 -0
  3. package/dist/commonjs/v3/build/externals.js +5 -0
  4. package/dist/commonjs/v3/build/externals.js.map +1 -0
  5. package/dist/commonjs/v3/build/index.d.ts +1 -0
  6. package/dist/commonjs/v3/build/index.js +1 -0
  7. package/dist/commonjs/v3/build/index.js.map +1 -1
  8. package/dist/commonjs/v3/build/resolvedConfig.d.ts +1 -0
  9. package/dist/commonjs/v3/schemas/api.d.ts +170 -161
  10. package/dist/commonjs/v3/schemas/api.js +3 -0
  11. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  12. package/dist/commonjs/v3/schemas/build.d.ts +60 -60
  13. package/dist/commonjs/v3/schemas/messages.d.ts +1609 -1609
  14. package/dist/commonjs/v3/schemas/resources.d.ts +12 -12
  15. package/dist/commonjs/v3/schemas/schemas.d.ts +227 -227
  16. package/dist/commonjs/version.js +1 -1
  17. package/dist/esm/v3/apiClient/index.d.ts +18 -18
  18. package/dist/esm/v3/build/externals.d.ts +1 -0
  19. package/dist/esm/v3/build/externals.js +2 -0
  20. package/dist/esm/v3/build/externals.js.map +1 -0
  21. package/dist/esm/v3/build/index.d.ts +1 -0
  22. package/dist/esm/v3/build/index.js +1 -0
  23. package/dist/esm/v3/build/index.js.map +1 -1
  24. package/dist/esm/v3/build/resolvedConfig.d.ts +1 -0
  25. package/dist/esm/v3/schemas/api.d.ts +170 -161
  26. package/dist/esm/v3/schemas/api.js +3 -0
  27. package/dist/esm/v3/schemas/api.js.map +1 -1
  28. package/dist/esm/v3/schemas/build.d.ts +60 -60
  29. package/dist/esm/v3/schemas/messages.d.ts +1609 -1609
  30. package/dist/esm/v3/schemas/resources.d.ts +12 -12
  31. package/dist/esm/v3/schemas/schemas.d.ts +227 -227
  32. package/dist/esm/version.js +1 -1
  33. package/package.json +112 -4
@@ -26,39 +26,39 @@ export declare const GetProjectResponseBody: z.ZodObject<{
26
26
  createdAt: z.ZodDate;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  id: string;
29
- createdAt: Date;
30
29
  slug: string;
30
+ createdAt: Date;
31
31
  title: string;
32
32
  }, {
33
33
  id: string;
34
- createdAt: Date;
35
34
  slug: string;
35
+ createdAt: Date;
36
36
  title: string;
37
37
  }>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- name: string;
40
39
  id: string;
41
- createdAt: Date;
40
+ externalRef: string;
41
+ name: string;
42
42
  slug: string;
43
+ createdAt: Date;
43
44
  organization: {
44
45
  id: string;
45
- createdAt: Date;
46
46
  slug: string;
47
+ createdAt: Date;
47
48
  title: string;
48
49
  };
49
- externalRef: string;
50
50
  }, {
51
- name: string;
52
51
  id: string;
53
- createdAt: Date;
52
+ externalRef: string;
53
+ name: string;
54
54
  slug: string;
55
+ createdAt: Date;
55
56
  organization: {
56
57
  id: string;
57
- createdAt: Date;
58
58
  slug: string;
59
+ createdAt: Date;
59
60
  title: string;
60
61
  };
61
- externalRef: string;
62
62
  }>;
63
63
  export type GetProjectResponseBody = z.infer<typeof GetProjectResponseBody>;
64
64
  export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
@@ -74,39 +74,39 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
74
74
  createdAt: z.ZodDate;
75
75
  }, "strip", z.ZodTypeAny, {
76
76
  id: string;
77
- createdAt: Date;
78
77
  slug: string;
78
+ createdAt: Date;
79
79
  title: string;
80
80
  }, {
81
81
  id: string;
82
- createdAt: Date;
83
82
  slug: string;
83
+ createdAt: Date;
84
84
  title: string;
85
85
  }>;
86
86
  }, "strip", z.ZodTypeAny, {
87
- name: string;
88
87
  id: string;
89
- createdAt: Date;
88
+ externalRef: string;
89
+ name: string;
90
90
  slug: string;
91
+ createdAt: Date;
91
92
  organization: {
92
93
  id: string;
93
- createdAt: Date;
94
94
  slug: string;
95
+ createdAt: Date;
95
96
  title: string;
96
97
  };
97
- externalRef: string;
98
98
  }, {
99
- name: string;
100
99
  id: string;
101
- createdAt: Date;
100
+ externalRef: string;
101
+ name: string;
102
102
  slug: string;
103
+ createdAt: Date;
103
104
  organization: {
104
105
  id: string;
105
- createdAt: Date;
106
106
  slug: string;
107
+ createdAt: Date;
107
108
  title: string;
108
109
  };
109
- externalRef: string;
110
110
  }>, "many">;
111
111
  export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
112
112
  export declare const GetProjectEnvResponse: z.ZodObject<{
@@ -365,9 +365,9 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
365
365
  timezone: string;
366
366
  }>>;
367
367
  }, "strip", z.ZodTypeAny, {
368
+ id: string;
368
369
  filePath: string;
369
370
  exportName: string;
370
- id: string;
371
371
  queue?: {
372
372
  name?: string | undefined;
373
373
  concurrencyLimit?: number | undefined;
@@ -423,9 +423,9 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
423
423
  timezone: string;
424
424
  } | undefined;
425
425
  }, {
426
+ id: string;
426
427
  filePath: string;
427
428
  exportName: string;
428
- id: string;
429
429
  queue?: {
430
430
  name?: string | undefined;
431
431
  concurrencyLimit?: number | undefined;
@@ -488,22 +488,22 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
488
488
  taskIds: z.ZodArray<z.ZodString, "many">;
489
489
  }, "strip", z.ZodTypeAny, {
490
490
  contentHash: string;
491
- contents: string;
492
491
  filePath: string;
492
+ contents: string;
493
493
  taskIds: string[];
494
494
  }, {
495
495
  contentHash: string;
496
- contents: string;
497
496
  filePath: string;
497
+ contents: string;
498
498
  taskIds: string[];
499
499
  }>, "many">>;
500
500
  }, "strip", z.ZodTypeAny, {
501
501
  packageVersion: string;
502
502
  contentHash: string;
503
503
  tasks: {
504
+ id: string;
504
505
  filePath: string;
505
506
  exportName: string;
506
- id: string;
507
507
  queue?: {
508
508
  name?: string | undefined;
509
509
  concurrencyLimit?: number | undefined;
@@ -562,17 +562,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
562
562
  cliPackageVersion?: string | undefined;
563
563
  sourceFiles?: {
564
564
  contentHash: string;
565
- contents: string;
566
565
  filePath: string;
566
+ contents: string;
567
567
  taskIds: string[];
568
568
  }[] | undefined;
569
569
  }, {
570
570
  packageVersion: string;
571
571
  contentHash: string;
572
572
  tasks: {
573
+ id: string;
573
574
  filePath: string;
574
575
  exportName: string;
575
- id: string;
576
576
  queue?: {
577
577
  name?: string | undefined;
578
578
  concurrencyLimit?: number | undefined;
@@ -631,8 +631,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
631
631
  cliPackageVersion?: string | undefined;
632
632
  sourceFiles?: {
633
633
  contentHash: string;
634
- contents: string;
635
634
  filePath: string;
635
+ contents: string;
636
636
  taskIds: string[];
637
637
  }[] | undefined;
638
638
  }>;
@@ -643,9 +643,9 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
643
643
  packageVersion: string;
644
644
  contentHash: string;
645
645
  tasks: {
646
+ id: string;
646
647
  filePath: string;
647
648
  exportName: string;
648
- id: string;
649
649
  queue?: {
650
650
  name?: string | undefined;
651
651
  concurrencyLimit?: number | undefined;
@@ -704,8 +704,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
704
704
  cliPackageVersion?: string | undefined;
705
705
  sourceFiles?: {
706
706
  contentHash: string;
707
- contents: string;
708
707
  filePath: string;
708
+ contents: string;
709
709
  taskIds: string[];
710
710
  }[] | undefined;
711
711
  };
@@ -716,9 +716,9 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
716
716
  packageVersion: string;
717
717
  contentHash: string;
718
718
  tasks: {
719
+ id: string;
719
720
  filePath: string;
720
721
  exportName: string;
721
- id: string;
722
722
  queue?: {
723
723
  name?: string | undefined;
724
724
  concurrencyLimit?: number | undefined;
@@ -777,8 +777,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
777
777
  cliPackageVersion?: string | undefined;
778
778
  sourceFiles?: {
779
779
  contentHash: string;
780
- contents: string;
781
780
  filePath: string;
781
+ contents: string;
782
782
  taskIds: string[];
783
783
  }[] | undefined;
784
784
  };
@@ -790,13 +790,13 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
790
790
  version: z.ZodString;
791
791
  contentHash: z.ZodString;
792
792
  }, "strip", z.ZodTypeAny, {
793
- version: string;
794
- contentHash: string;
795
793
  id: string;
796
- }, {
797
- version: string;
798
794
  contentHash: string;
795
+ version: string;
796
+ }, {
799
797
  id: string;
798
+ contentHash: string;
799
+ version: string;
800
800
  }>;
801
801
  export type CreateBackgroundWorkerResponse = z.infer<typeof CreateBackgroundWorkerResponse>;
802
802
  export declare const RunTags: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -1819,11 +1819,11 @@ export declare const StartDeploymentIndexingResponseBody: z.ZodObject<{
1819
1819
  id: z.ZodString;
1820
1820
  contentHash: z.ZodString;
1821
1821
  }, "strip", z.ZodTypeAny, {
1822
- contentHash: string;
1823
1822
  id: string;
1824
- }, {
1825
1823
  contentHash: string;
1824
+ }, {
1826
1825
  id: string;
1826
+ contentHash: string;
1827
1827
  }>;
1828
1828
  export type StartDeploymentIndexingResponseBody = z.infer<typeof StartDeploymentIndexingResponseBody>;
1829
1829
  export declare const FinalizeDeploymentRequestBody: z.ZodObject<{
@@ -1872,11 +1872,11 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1872
1872
  }>>>;
1873
1873
  registryHost: z.ZodOptional<z.ZodString>;
1874
1874
  }, "strip", z.ZodTypeAny, {
1875
- version: string;
1876
- contentHash: string;
1877
1875
  id: string;
1878
- imageTag: string;
1876
+ contentHash: string;
1877
+ version: string;
1879
1878
  shortCode: string;
1879
+ imageTag: string;
1880
1880
  externalBuildData?: {
1881
1881
  projectId: string;
1882
1882
  buildId: string;
@@ -1884,11 +1884,11 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1884
1884
  } | null | undefined;
1885
1885
  registryHost?: string | undefined;
1886
1886
  }, {
1887
- version: string;
1888
- contentHash: string;
1889
1887
  id: string;
1890
- imageTag: string;
1888
+ contentHash: string;
1889
+ version: string;
1891
1890
  shortCode: string;
1891
+ imageTag: string;
1892
1892
  externalBuildData?: {
1893
1893
  projectId: string;
1894
1894
  buildId: string;
@@ -1900,12 +1900,21 @@ export type InitializeDeploymentResponseBody = z.infer<typeof InitializeDeployme
1900
1900
  export declare const InitializeDeploymentRequestBody: z.ZodObject<{
1901
1901
  contentHash: z.ZodString;
1902
1902
  userId: z.ZodOptional<z.ZodString>;
1903
+ registryHost: z.ZodOptional<z.ZodString>;
1904
+ selfHosted: z.ZodOptional<z.ZodBoolean>;
1905
+ namespace: z.ZodOptional<z.ZodString>;
1903
1906
  }, "strip", z.ZodTypeAny, {
1904
1907
  contentHash: string;
1905
1908
  userId?: string | undefined;
1909
+ registryHost?: string | undefined;
1910
+ selfHosted?: boolean | undefined;
1911
+ namespace?: string | undefined;
1906
1912
  }, {
1907
1913
  contentHash: string;
1908
1914
  userId?: string | undefined;
1915
+ registryHost?: string | undefined;
1916
+ selfHosted?: boolean | undefined;
1917
+ namespace?: string | undefined;
1909
1918
  }>;
1910
1919
  export type InitializeDeploymentRequestBody = z.infer<typeof InitializeDeploymentRequestBody>;
1911
1920
  export declare const DeploymentErrorData: z.ZodObject<{
@@ -1914,13 +1923,13 @@ export declare const DeploymentErrorData: z.ZodObject<{
1914
1923
  stack: z.ZodOptional<z.ZodString>;
1915
1924
  stderr: z.ZodOptional<z.ZodString>;
1916
1925
  }, "strip", z.ZodTypeAny, {
1917
- name: string;
1918
1926
  message: string;
1927
+ name: string;
1919
1928
  stack?: string | undefined;
1920
1929
  stderr?: string | undefined;
1921
1930
  }, {
1922
- name: string;
1923
1931
  message: string;
1932
+ name: string;
1924
1933
  stack?: string | undefined;
1925
1934
  stderr?: string | undefined;
1926
1935
  }>;
@@ -1932,27 +1941,27 @@ export declare const FailDeploymentRequestBody: z.ZodObject<{
1932
1941
  stack: z.ZodOptional<z.ZodString>;
1933
1942
  stderr: z.ZodOptional<z.ZodString>;
1934
1943
  }, "strip", z.ZodTypeAny, {
1935
- name: string;
1936
1944
  message: string;
1945
+ name: string;
1937
1946
  stack?: string | undefined;
1938
1947
  stderr?: string | undefined;
1939
1948
  }, {
1940
- name: string;
1941
1949
  message: string;
1950
+ name: string;
1942
1951
  stack?: string | undefined;
1943
1952
  stderr?: string | undefined;
1944
1953
  }>;
1945
1954
  }, "strip", z.ZodTypeAny, {
1946
1955
  error: {
1947
- name: string;
1948
1956
  message: string;
1957
+ name: string;
1949
1958
  stack?: string | undefined;
1950
1959
  stderr?: string | undefined;
1951
1960
  };
1952
1961
  }, {
1953
1962
  error: {
1954
- name: string;
1955
1963
  message: string;
1964
+ name: string;
1956
1965
  stack?: string | undefined;
1957
1966
  stderr?: string | undefined;
1958
1967
  };
@@ -1979,13 +1988,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1979
1988
  stack: z.ZodOptional<z.ZodString>;
1980
1989
  stderr: z.ZodOptional<z.ZodString>;
1981
1990
  }, "strip", z.ZodTypeAny, {
1982
- name: string;
1983
1991
  message: string;
1992
+ name: string;
1984
1993
  stack?: string | undefined;
1985
1994
  stderr?: string | undefined;
1986
1995
  }, {
1987
- name: string;
1988
1996
  message: string;
1997
+ name: string;
1989
1998
  stack?: string | undefined;
1990
1999
  stderr?: string | undefined;
1991
2000
  }>>>;
@@ -1998,80 +2007,80 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1998
2007
  filePath: z.ZodString;
1999
2008
  exportName: z.ZodString;
2000
2009
  }, "strip", z.ZodTypeAny, {
2001
- filePath: string;
2002
- exportName: string;
2003
2010
  id: string;
2004
2011
  slug: string;
2005
- }, {
2006
2012
  filePath: string;
2007
2013
  exportName: string;
2014
+ }, {
2008
2015
  id: string;
2009
2016
  slug: string;
2017
+ filePath: string;
2018
+ exportName: string;
2010
2019
  }>, "many">;
2011
2020
  }, "strip", z.ZodTypeAny, {
2012
- version: string;
2013
2021
  id: string;
2014
2022
  tasks: {
2015
- filePath: string;
2016
- exportName: string;
2017
2023
  id: string;
2018
2024
  slug: string;
2025
+ filePath: string;
2026
+ exportName: string;
2019
2027
  }[];
2020
- }, {
2021
2028
  version: string;
2029
+ }, {
2022
2030
  id: string;
2023
2031
  tasks: {
2024
- filePath: string;
2025
- exportName: string;
2026
2032
  id: string;
2027
2033
  slug: string;
2034
+ filePath: string;
2035
+ exportName: string;
2028
2036
  }[];
2037
+ version: string;
2029
2038
  }>>;
2030
2039
  }, "strip", z.ZodTypeAny, {
2031
- version: string;
2032
2040
  status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
2033
- contentHash: string;
2034
2041
  id: string;
2042
+ contentHash: string;
2043
+ version: string;
2035
2044
  shortCode: string;
2036
2045
  imageReference?: string | null | undefined;
2037
2046
  errorData?: {
2038
- name: string;
2039
2047
  message: string;
2048
+ name: string;
2040
2049
  stack?: string | undefined;
2041
2050
  stderr?: string | undefined;
2042
2051
  } | null | undefined;
2043
2052
  worker?: {
2044
- version: string;
2045
2053
  id: string;
2046
2054
  tasks: {
2047
- filePath: string;
2048
- exportName: string;
2049
2055
  id: string;
2050
2056
  slug: string;
2057
+ filePath: string;
2058
+ exportName: string;
2051
2059
  }[];
2060
+ version: string;
2052
2061
  } | undefined;
2053
2062
  }, {
2054
- version: string;
2055
2063
  status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
2056
- contentHash: string;
2057
2064
  id: string;
2065
+ contentHash: string;
2066
+ version: string;
2058
2067
  shortCode: string;
2059
2068
  imageReference?: string | null | undefined;
2060
2069
  errorData?: {
2061
- name: string;
2062
2070
  message: string;
2071
+ name: string;
2063
2072
  stack?: string | undefined;
2064
2073
  stderr?: string | undefined;
2065
2074
  } | null | undefined;
2066
2075
  worker?: {
2067
- version: string;
2068
2076
  id: string;
2069
2077
  tasks: {
2070
- filePath: string;
2071
- exportName: string;
2072
2078
  id: string;
2073
2079
  slug: string;
2080
+ filePath: string;
2081
+ exportName: string;
2074
2082
  }[];
2083
+ version: string;
2075
2084
  } | undefined;
2076
2085
  }>;
2077
2086
  export type GetDeploymentResponseBody = z.infer<typeof GetDeploymentResponseBody>;
@@ -2309,8 +2318,8 @@ export declare const ScheduleObject: z.ZodObject<{
2309
2318
  }>, "many">;
2310
2319
  }, "strip", z.ZodTypeAny, {
2311
2320
  type: "DECLARATIVE" | "IMPERATIVE";
2312
- timezone: string;
2313
2321
  id: string;
2322
+ timezone: string;
2314
2323
  task: string;
2315
2324
  active: boolean;
2316
2325
  generator: {
@@ -2328,8 +2337,8 @@ export declare const ScheduleObject: z.ZodObject<{
2328
2337
  nextRun?: Date | null | undefined;
2329
2338
  }, {
2330
2339
  type: "DECLARATIVE" | "IMPERATIVE";
2331
- timezone: string;
2332
2340
  id: string;
2341
+ timezone: string;
2333
2342
  task: string;
2334
2343
  active: boolean;
2335
2344
  generator: {
@@ -2393,8 +2402,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
2393
2402
  }>, "many">;
2394
2403
  }, "strip", z.ZodTypeAny, {
2395
2404
  type: "DECLARATIVE" | "IMPERATIVE";
2396
- timezone: string;
2397
2405
  id: string;
2406
+ timezone: string;
2398
2407
  task: string;
2399
2408
  active: boolean;
2400
2409
  generator: {
@@ -2412,8 +2421,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
2412
2421
  nextRun?: Date | null | undefined;
2413
2422
  }, {
2414
2423
  type: "DECLARATIVE" | "IMPERATIVE";
2415
- timezone: string;
2416
2424
  id: string;
2425
+ timezone: string;
2417
2426
  task: string;
2418
2427
  active: boolean;
2419
2428
  generator: {
@@ -2446,8 +2455,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
2446
2455
  }, "strip", z.ZodTypeAny, {
2447
2456
  data: {
2448
2457
  type: "DECLARATIVE" | "IMPERATIVE";
2449
- timezone: string;
2450
2458
  id: string;
2459
+ timezone: string;
2451
2460
  task: string;
2452
2461
  active: boolean;
2453
2462
  generator: {
@@ -2472,8 +2481,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
2472
2481
  }, {
2473
2482
  data: {
2474
2483
  type: "DECLARATIVE" | "IMPERATIVE";
2475
- timezone: string;
2476
2484
  id: string;
2485
+ timezone: string;
2477
2486
  task: string;
2478
2487
  active: boolean;
2479
2488
  generator: {
@@ -2525,12 +2534,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
2525
2534
  name: z.ZodString;
2526
2535
  user: z.ZodOptional<z.ZodString>;
2527
2536
  }, "strip", z.ZodTypeAny, {
2528
- name: string;
2529
2537
  id: string;
2538
+ name: string;
2530
2539
  user?: string | undefined;
2531
2540
  }, {
2532
- name: string;
2533
2541
  id: string;
2542
+ name: string;
2534
2543
  user?: string | undefined;
2535
2544
  }>;
2536
2545
  export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
@@ -2683,12 +2692,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2683
2692
  }, "strip", z.ZodTypeAny, {
2684
2693
  status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2685
2694
  id: string;
2686
- tags: string[];
2687
- isTest: boolean;
2688
2695
  createdAt: Date;
2689
- durationMs: number;
2690
- costInCents: number;
2691
- baseCostInCents: number;
2696
+ tags: string[];
2692
2697
  attempts: ({
2693
2698
  status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2694
2699
  id: string;
@@ -2710,6 +2715,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2710
2715
  isSuccess: boolean;
2711
2716
  isFailed: boolean;
2712
2717
  isCancelled: boolean;
2718
+ isTest: boolean;
2719
+ costInCents: number;
2720
+ baseCostInCents: number;
2721
+ durationMs: number;
2713
2722
  payload?: any;
2714
2723
  payloadPresignedUrl?: string | undefined;
2715
2724
  output?: any;
@@ -2734,12 +2743,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2734
2743
  }, {
2735
2744
  status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2736
2745
  id: string;
2737
- tags: string[];
2738
- isTest: boolean;
2739
2746
  createdAt: Date;
2740
- durationMs: number;
2741
- costInCents: number;
2742
- baseCostInCents: number;
2747
+ tags: string[];
2743
2748
  attempts: ({
2744
2749
  status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2745
2750
  id: string;
@@ -2761,6 +2766,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2761
2766
  isSuccess: boolean;
2762
2767
  isFailed: boolean;
2763
2768
  isCancelled: boolean;
2769
+ isTest: boolean;
2770
+ costInCents: number;
2771
+ baseCostInCents: number;
2772
+ durationMs: number;
2764
2773
  payload?: any;
2765
2774
  payloadPresignedUrl?: string | undefined;
2766
2775
  output?: any;
@@ -2790,12 +2799,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
2790
2799
  name: z.ZodString;
2791
2800
  user: z.ZodOptional<z.ZodString>;
2792
2801
  }, "strip", z.ZodTypeAny, {
2793
- name: string;
2794
2802
  id: string;
2803
+ name: string;
2795
2804
  user?: string | undefined;
2796
2805
  }, {
2797
- name: string;
2798
2806
  id: string;
2807
+ name: string;
2799
2808
  user?: string | undefined;
2800
2809
  }>;
2801
2810
  id: z.ZodString;
@@ -2823,18 +2832,9 @@ export declare const ListRunResponseItem: z.ZodObject<{
2823
2832
  durationMs: z.ZodNumber;
2824
2833
  }, "strip", z.ZodTypeAny, {
2825
2834
  status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2826
- env: {
2827
- name: string;
2828
- id: string;
2829
- user?: string | undefined;
2830
- };
2831
2835
  id: string;
2832
- tags: string[];
2833
- isTest: boolean;
2834
2836
  createdAt: Date;
2835
- durationMs: number;
2836
- costInCents: number;
2837
- baseCostInCents: number;
2837
+ tags: string[];
2838
2838
  updatedAt: Date;
2839
2839
  taskIdentifier: string;
2840
2840
  isQueued: boolean;
@@ -2843,6 +2843,15 @@ export declare const ListRunResponseItem: z.ZodObject<{
2843
2843
  isSuccess: boolean;
2844
2844
  isFailed: boolean;
2845
2845
  isCancelled: boolean;
2846
+ isTest: boolean;
2847
+ costInCents: number;
2848
+ baseCostInCents: number;
2849
+ durationMs: number;
2850
+ env: {
2851
+ id: string;
2852
+ name: string;
2853
+ user?: string | undefined;
2854
+ };
2846
2855
  idempotencyKey?: string | undefined;
2847
2856
  version?: string | undefined;
2848
2857
  startedAt?: Date | undefined;
@@ -2852,18 +2861,9 @@ export declare const ListRunResponseItem: z.ZodObject<{
2852
2861
  expiredAt?: Date | undefined;
2853
2862
  }, {
2854
2863
  status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2855
- env: {
2856
- name: string;
2857
- id: string;
2858
- user?: string | undefined;
2859
- };
2860
2864
  id: string;
2861
- tags: string[];
2862
- isTest: boolean;
2863
2865
  createdAt: Date;
2864
- durationMs: number;
2865
- costInCents: number;
2866
- baseCostInCents: number;
2866
+ tags: string[];
2867
2867
  updatedAt: Date;
2868
2868
  taskIdentifier: string;
2869
2869
  isQueued: boolean;
@@ -2872,6 +2872,15 @@ export declare const ListRunResponseItem: z.ZodObject<{
2872
2872
  isSuccess: boolean;
2873
2873
  isFailed: boolean;
2874
2874
  isCancelled: boolean;
2875
+ isTest: boolean;
2876
+ costInCents: number;
2877
+ baseCostInCents: number;
2878
+ durationMs: number;
2879
+ env: {
2880
+ id: string;
2881
+ name: string;
2882
+ user?: string | undefined;
2883
+ };
2875
2884
  idempotencyKey?: string | undefined;
2876
2885
  version?: string | undefined;
2877
2886
  startedAt?: Date | undefined;
@@ -2888,12 +2897,12 @@ export declare const ListRunResponse: z.ZodObject<{
2888
2897
  name: z.ZodString;
2889
2898
  user: z.ZodOptional<z.ZodString>;
2890
2899
  }, "strip", z.ZodTypeAny, {
2891
- name: string;
2892
2900
  id: string;
2901
+ name: string;
2893
2902
  user?: string | undefined;
2894
2903
  }, {
2895
- name: string;
2896
2904
  id: string;
2905
+ name: string;
2897
2906
  user?: string | undefined;
2898
2907
  }>;
2899
2908
  id: z.ZodString;
@@ -2921,18 +2930,9 @@ export declare const ListRunResponse: z.ZodObject<{
2921
2930
  durationMs: z.ZodNumber;
2922
2931
  }, "strip", z.ZodTypeAny, {
2923
2932
  status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2924
- env: {
2925
- name: string;
2926
- id: string;
2927
- user?: string | undefined;
2928
- };
2929
2933
  id: string;
2930
- tags: string[];
2931
- isTest: boolean;
2932
2934
  createdAt: Date;
2933
- durationMs: number;
2934
- costInCents: number;
2935
- baseCostInCents: number;
2935
+ tags: string[];
2936
2936
  updatedAt: Date;
2937
2937
  taskIdentifier: string;
2938
2938
  isQueued: boolean;
@@ -2941,6 +2941,15 @@ export declare const ListRunResponse: z.ZodObject<{
2941
2941
  isSuccess: boolean;
2942
2942
  isFailed: boolean;
2943
2943
  isCancelled: boolean;
2944
+ isTest: boolean;
2945
+ costInCents: number;
2946
+ baseCostInCents: number;
2947
+ durationMs: number;
2948
+ env: {
2949
+ id: string;
2950
+ name: string;
2951
+ user?: string | undefined;
2952
+ };
2944
2953
  idempotencyKey?: string | undefined;
2945
2954
  version?: string | undefined;
2946
2955
  startedAt?: Date | undefined;
@@ -2950,18 +2959,9 @@ export declare const ListRunResponse: z.ZodObject<{
2950
2959
  expiredAt?: Date | undefined;
2951
2960
  }, {
2952
2961
  status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2953
- env: {
2954
- name: string;
2955
- id: string;
2956
- user?: string | undefined;
2957
- };
2958
2962
  id: string;
2959
- tags: string[];
2960
- isTest: boolean;
2961
2963
  createdAt: Date;
2962
- durationMs: number;
2963
- costInCents: number;
2964
- baseCostInCents: number;
2964
+ tags: string[];
2965
2965
  updatedAt: Date;
2966
2966
  taskIdentifier: string;
2967
2967
  isQueued: boolean;
@@ -2970,6 +2970,15 @@ export declare const ListRunResponse: z.ZodObject<{
2970
2970
  isSuccess: boolean;
2971
2971
  isFailed: boolean;
2972
2972
  isCancelled: boolean;
2973
+ isTest: boolean;
2974
+ costInCents: number;
2975
+ baseCostInCents: number;
2976
+ durationMs: number;
2977
+ env: {
2978
+ id: string;
2979
+ name: string;
2980
+ user?: string | undefined;
2981
+ };
2973
2982
  idempotencyKey?: string | undefined;
2974
2983
  version?: string | undefined;
2975
2984
  startedAt?: Date | undefined;
@@ -2991,18 +3000,9 @@ export declare const ListRunResponse: z.ZodObject<{
2991
3000
  }, "strip", z.ZodTypeAny, {
2992
3001
  data: {
2993
3002
  status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2994
- env: {
2995
- name: string;
2996
- id: string;
2997
- user?: string | undefined;
2998
- };
2999
3003
  id: string;
3000
- tags: string[];
3001
- isTest: boolean;
3002
3004
  createdAt: Date;
3003
- durationMs: number;
3004
- costInCents: number;
3005
- baseCostInCents: number;
3005
+ tags: string[];
3006
3006
  updatedAt: Date;
3007
3007
  taskIdentifier: string;
3008
3008
  isQueued: boolean;
@@ -3011,6 +3011,15 @@ export declare const ListRunResponse: z.ZodObject<{
3011
3011
  isSuccess: boolean;
3012
3012
  isFailed: boolean;
3013
3013
  isCancelled: boolean;
3014
+ isTest: boolean;
3015
+ costInCents: number;
3016
+ baseCostInCents: number;
3017
+ durationMs: number;
3018
+ env: {
3019
+ id: string;
3020
+ name: string;
3021
+ user?: string | undefined;
3022
+ };
3014
3023
  idempotencyKey?: string | undefined;
3015
3024
  version?: string | undefined;
3016
3025
  startedAt?: Date | undefined;
@@ -3026,18 +3035,9 @@ export declare const ListRunResponse: z.ZodObject<{
3026
3035
  }, {
3027
3036
  data: {
3028
3037
  status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3029
- env: {
3030
- name: string;
3031
- id: string;
3032
- user?: string | undefined;
3033
- };
3034
3038
  id: string;
3035
- tags: string[];
3036
- isTest: boolean;
3037
3039
  createdAt: Date;
3038
- durationMs: number;
3039
- costInCents: number;
3040
- baseCostInCents: number;
3040
+ tags: string[];
3041
3041
  updatedAt: Date;
3042
3042
  taskIdentifier: string;
3043
3043
  isQueued: boolean;
@@ -3046,6 +3046,15 @@ export declare const ListRunResponse: z.ZodObject<{
3046
3046
  isSuccess: boolean;
3047
3047
  isFailed: boolean;
3048
3048
  isCancelled: boolean;
3049
+ isTest: boolean;
3050
+ costInCents: number;
3051
+ baseCostInCents: number;
3052
+ durationMs: number;
3053
+ env: {
3054
+ id: string;
3055
+ name: string;
3056
+ user?: string | undefined;
3057
+ };
3049
3058
  idempotencyKey?: string | undefined;
3050
3059
  version?: string | undefined;
3051
3060
  startedAt?: Date | undefined;
@@ -3064,11 +3073,11 @@ export declare const CreateEnvironmentVariableRequestBody: z.ZodObject<{
3064
3073
  name: z.ZodString;
3065
3074
  value: z.ZodString;
3066
3075
  }, "strip", z.ZodTypeAny, {
3067
- name: string;
3068
3076
  value: string;
3069
- }, {
3070
3077
  name: string;
3078
+ }, {
3071
3079
  value: string;
3080
+ name: string;
3072
3081
  }>;
3073
3082
  export type CreateEnvironmentVariableRequestBody = z.infer<typeof CreateEnvironmentVariableRequestBody>;
3074
3083
  export declare const UpdateEnvironmentVariableRequestBody: z.ZodObject<{
@@ -3110,20 +3119,20 @@ export declare const EnvironmentVariable: z.ZodObject<{
3110
3119
  name: z.ZodString;
3111
3120
  value: z.ZodString;
3112
3121
  }, "strip", z.ZodTypeAny, {
3113
- name: string;
3114
3122
  value: string;
3115
- }, {
3116
3123
  name: string;
3124
+ }, {
3117
3125
  value: string;
3126
+ name: string;
3118
3127
  }>;
3119
3128
  export declare const EnvironmentVariables: z.ZodArray<z.ZodObject<{
3120
3129
  name: z.ZodString;
3121
3130
  value: z.ZodString;
3122
3131
  }, "strip", z.ZodTypeAny, {
3123
- name: string;
3124
3132
  value: string;
3125
- }, {
3126
3133
  name: string;
3134
+ }, {
3127
3135
  value: string;
3136
+ name: string;
3128
3137
  }>, "many">;
3129
3138
  export type EnvironmentVariables = z.infer<typeof EnvironmentVariables>;