@trigger.dev/core 0.0.0-prerelease-20250810174508 → 0.0.0-prerelease-20250820151853
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.
- package/dist/commonjs/logger.js +4 -1
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +90 -1
- package/dist/commonjs/v3/apiClient/index.js +29 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +3 -3
- package/dist/commonjs/v3/isomorphic/dates.d.ts +13 -0
- package/dist/commonjs/v3/isomorphic/dates.js +39 -0
- package/dist/commonjs/v3/isomorphic/dates.js.map +1 -0
- package/dist/commonjs/v3/isomorphic/index.d.ts +1 -0
- package/dist/commonjs/v3/isomorphic/index.js +1 -0
- package/dist/commonjs/v3/isomorphic/index.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/traceContext.d.ts +2 -1
- package/dist/commonjs/v3/isomorphic/traceContext.js +4 -4
- package/dist/commonjs/v3/isomorphic/traceContext.js.map +1 -1
- package/dist/commonjs/v3/otel/tracingSDK.js +57 -3
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js +3 -3
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +16 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +108 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +12 -0
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +90 -0
- package/dist/commonjs/v3/schemas/api.d.ts +630 -2
- package/dist/commonjs/v3/schemas/api.js +144 -3
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +18 -0
- package/dist/commonjs/v3/schemas/common.d.ts +248 -0
- package/dist/commonjs/v3/schemas/common.js +5 -0
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +768 -0
- package/dist/commonjs/v3/schemas/runEngine.d.ts +101 -0
- package/dist/commonjs/v3/schemas/runEngine.js +6 -1
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +136 -0
- package/dist/commonjs/v3/serverOnly/index.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/index.js +1 -0
- package/dist/commonjs/v3/serverOnly/index.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/placementTags.d.ts +20 -0
- package/dist/commonjs/v3/serverOnly/placementTags.js +49 -0
- package/dist/commonjs/v3/serverOnly/placementTags.js.map +1 -0
- package/dist/commonjs/v3/traceContext/api.d.ts +1 -0
- package/dist/commonjs/v3/traceContext/manager.d.ts +1 -0
- package/dist/commonjs/v3/traceContext/manager.js +7 -5
- package/dist/commonjs/v3/traceContext/manager.js.map +1 -1
- package/dist/commonjs/v3/traceContext/types.d.ts +1 -0
- package/dist/commonjs/v3/types/tasks.d.ts +1 -0
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/logger.js +4 -1
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +90 -1
- package/dist/esm/v3/apiClient/index.js +30 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/config.d.ts +3 -3
- package/dist/esm/v3/isomorphic/dates.d.ts +13 -0
- package/dist/esm/v3/isomorphic/dates.js +36 -0
- package/dist/esm/v3/isomorphic/dates.js.map +1 -0
- package/dist/esm/v3/isomorphic/index.d.ts +1 -0
- package/dist/esm/v3/isomorphic/index.js +1 -0
- package/dist/esm/v3/isomorphic/index.js.map +1 -1
- package/dist/esm/v3/isomorphic/traceContext.d.ts +2 -1
- package/dist/esm/v3/isomorphic/traceContext.js +4 -4
- package/dist/esm/v3/isomorphic/traceContext.js.map +1 -1
- package/dist/esm/v3/otel/tracingSDK.js +59 -5
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js +3 -3
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +16 -0
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +108 -0
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +12 -0
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +90 -0
- package/dist/esm/v3/schemas/api.d.ts +630 -2
- package/dist/esm/v3/schemas/api.js +141 -1
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/checkpoints.d.ts +18 -0
- package/dist/esm/v3/schemas/common.d.ts +248 -0
- package/dist/esm/v3/schemas/common.js +5 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +768 -0
- package/dist/esm/v3/schemas/runEngine.d.ts +101 -0
- package/dist/esm/v3/schemas/runEngine.js +5 -0
- package/dist/esm/v3/schemas/runEngine.js.map +1 -1
- package/dist/esm/v3/schemas/schemas.d.ts +136 -0
- package/dist/esm/v3/serverOnly/index.d.ts +1 -0
- package/dist/esm/v3/serverOnly/index.js +1 -0
- package/dist/esm/v3/serverOnly/index.js.map +1 -1
- package/dist/esm/v3/serverOnly/placementTags.d.ts +20 -0
- package/dist/esm/v3/serverOnly/placementTags.js +44 -0
- package/dist/esm/v3/serverOnly/placementTags.js.map +1 -0
- package/dist/esm/v3/traceContext/api.d.ts +1 -0
- package/dist/esm/v3/traceContext/manager.d.ts +1 -0
- package/dist/esm/v3/traceContext/manager.js +8 -6
- package/dist/esm/v3/traceContext/manager.js.map +1 -1
- package/dist/esm/v3/traceContext/types.d.ts +1 -0
- package/dist/esm/v3/types/tasks.d.ts +1 -0
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -133,6 +133,31 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
133
133
|
externalRef: string;
|
|
134
134
|
}>, "many">;
|
|
135
135
|
export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
|
|
136
|
+
export declare const GetOrgsResponseBody: z.ZodArray<z.ZodObject<{
|
|
137
|
+
id: z.ZodString;
|
|
138
|
+
title: z.ZodString;
|
|
139
|
+
slug: z.ZodString;
|
|
140
|
+
createdAt: z.ZodDate;
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
id: string;
|
|
143
|
+
createdAt: Date;
|
|
144
|
+
slug: string;
|
|
145
|
+
title: string;
|
|
146
|
+
}, {
|
|
147
|
+
id: string;
|
|
148
|
+
createdAt: Date;
|
|
149
|
+
slug: string;
|
|
150
|
+
title: string;
|
|
151
|
+
}>, "many">;
|
|
152
|
+
export type GetOrgsResponseBody = z.infer<typeof GetOrgsResponseBody>;
|
|
153
|
+
export declare const CreateProjectRequestBody: z.ZodObject<{
|
|
154
|
+
name: z.ZodString;
|
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
name: string;
|
|
157
|
+
}, {
|
|
158
|
+
name: string;
|
|
159
|
+
}>;
|
|
160
|
+
export type CreateProjectRequestBody = z.infer<typeof CreateProjectRequestBody>;
|
|
136
161
|
export declare const GetProjectEnvResponse: z.ZodObject<{
|
|
137
162
|
apiKey: z.ZodString;
|
|
138
163
|
name: z.ZodString;
|
|
@@ -150,6 +175,162 @@ export declare const GetProjectEnvResponse: z.ZodObject<{
|
|
|
150
175
|
projectId: string;
|
|
151
176
|
}>;
|
|
152
177
|
export type GetProjectEnvResponse = z.infer<typeof GetProjectEnvResponse>;
|
|
178
|
+
export declare const GetWorkerTaskResponse: z.ZodObject<{
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
slug: z.ZodString;
|
|
181
|
+
filePath: z.ZodString;
|
|
182
|
+
triggerSource: z.ZodString;
|
|
183
|
+
createdAt: z.ZodDate;
|
|
184
|
+
payloadSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
id: string;
|
|
187
|
+
createdAt: Date;
|
|
188
|
+
filePath: string;
|
|
189
|
+
slug: string;
|
|
190
|
+
triggerSource: string;
|
|
191
|
+
payloadSchema?: any;
|
|
192
|
+
}, {
|
|
193
|
+
id: string;
|
|
194
|
+
createdAt: Date;
|
|
195
|
+
filePath: string;
|
|
196
|
+
slug: string;
|
|
197
|
+
triggerSource: string;
|
|
198
|
+
payloadSchema?: any;
|
|
199
|
+
}>;
|
|
200
|
+
export declare const GetWorkerByTagResponse: z.ZodObject<{
|
|
201
|
+
worker: z.ZodObject<{
|
|
202
|
+
id: z.ZodString;
|
|
203
|
+
version: z.ZodString;
|
|
204
|
+
engine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
205
|
+
sdkVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
206
|
+
cliVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
207
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
208
|
+
id: z.ZodString;
|
|
209
|
+
slug: z.ZodString;
|
|
210
|
+
filePath: z.ZodString;
|
|
211
|
+
triggerSource: z.ZodString;
|
|
212
|
+
createdAt: z.ZodDate;
|
|
213
|
+
payloadSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
214
|
+
}, "strip", z.ZodTypeAny, {
|
|
215
|
+
id: string;
|
|
216
|
+
createdAt: Date;
|
|
217
|
+
filePath: string;
|
|
218
|
+
slug: string;
|
|
219
|
+
triggerSource: string;
|
|
220
|
+
payloadSchema?: any;
|
|
221
|
+
}, {
|
|
222
|
+
id: string;
|
|
223
|
+
createdAt: Date;
|
|
224
|
+
filePath: string;
|
|
225
|
+
slug: string;
|
|
226
|
+
triggerSource: string;
|
|
227
|
+
payloadSchema?: any;
|
|
228
|
+
}>, "many">;
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
id: string;
|
|
231
|
+
version: string;
|
|
232
|
+
tasks: {
|
|
233
|
+
id: string;
|
|
234
|
+
createdAt: Date;
|
|
235
|
+
filePath: string;
|
|
236
|
+
slug: string;
|
|
237
|
+
triggerSource: string;
|
|
238
|
+
payloadSchema?: any;
|
|
239
|
+
}[];
|
|
240
|
+
engine?: string | null | undefined;
|
|
241
|
+
sdkVersion?: string | null | undefined;
|
|
242
|
+
cliVersion?: string | null | undefined;
|
|
243
|
+
}, {
|
|
244
|
+
id: string;
|
|
245
|
+
version: string;
|
|
246
|
+
tasks: {
|
|
247
|
+
id: string;
|
|
248
|
+
createdAt: Date;
|
|
249
|
+
filePath: string;
|
|
250
|
+
slug: string;
|
|
251
|
+
triggerSource: string;
|
|
252
|
+
payloadSchema?: any;
|
|
253
|
+
}[];
|
|
254
|
+
engine?: string | null | undefined;
|
|
255
|
+
sdkVersion?: string | null | undefined;
|
|
256
|
+
cliVersion?: string | null | undefined;
|
|
257
|
+
}>;
|
|
258
|
+
urls: z.ZodObject<{
|
|
259
|
+
runs: z.ZodString;
|
|
260
|
+
}, "strip", z.ZodTypeAny, {
|
|
261
|
+
runs: string;
|
|
262
|
+
}, {
|
|
263
|
+
runs: string;
|
|
264
|
+
}>;
|
|
265
|
+
}, "strip", z.ZodTypeAny, {
|
|
266
|
+
worker: {
|
|
267
|
+
id: string;
|
|
268
|
+
version: string;
|
|
269
|
+
tasks: {
|
|
270
|
+
id: string;
|
|
271
|
+
createdAt: Date;
|
|
272
|
+
filePath: string;
|
|
273
|
+
slug: string;
|
|
274
|
+
triggerSource: string;
|
|
275
|
+
payloadSchema?: any;
|
|
276
|
+
}[];
|
|
277
|
+
engine?: string | null | undefined;
|
|
278
|
+
sdkVersion?: string | null | undefined;
|
|
279
|
+
cliVersion?: string | null | undefined;
|
|
280
|
+
};
|
|
281
|
+
urls: {
|
|
282
|
+
runs: string;
|
|
283
|
+
};
|
|
284
|
+
}, {
|
|
285
|
+
worker: {
|
|
286
|
+
id: string;
|
|
287
|
+
version: string;
|
|
288
|
+
tasks: {
|
|
289
|
+
id: string;
|
|
290
|
+
createdAt: Date;
|
|
291
|
+
filePath: string;
|
|
292
|
+
slug: string;
|
|
293
|
+
triggerSource: string;
|
|
294
|
+
payloadSchema?: any;
|
|
295
|
+
}[];
|
|
296
|
+
engine?: string | null | undefined;
|
|
297
|
+
sdkVersion?: string | null | undefined;
|
|
298
|
+
cliVersion?: string | null | undefined;
|
|
299
|
+
};
|
|
300
|
+
urls: {
|
|
301
|
+
runs: string;
|
|
302
|
+
};
|
|
303
|
+
}>;
|
|
304
|
+
export type GetWorkerByTagResponse = z.infer<typeof GetWorkerByTagResponse>;
|
|
305
|
+
export declare const GetJWTRequestBody: z.ZodObject<{
|
|
306
|
+
claims: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
scopes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
308
|
+
}, "strip", z.ZodTypeAny, {
|
|
309
|
+
scopes: string[];
|
|
310
|
+
}, {
|
|
311
|
+
scopes?: string[] | undefined;
|
|
312
|
+
}>>;
|
|
313
|
+
expirationTime: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
314
|
+
}, "strip", z.ZodTypeAny, {
|
|
315
|
+
claims?: {
|
|
316
|
+
scopes: string[];
|
|
317
|
+
} | undefined;
|
|
318
|
+
expirationTime?: string | number | undefined;
|
|
319
|
+
}, {
|
|
320
|
+
claims?: {
|
|
321
|
+
scopes?: string[] | undefined;
|
|
322
|
+
} | undefined;
|
|
323
|
+
expirationTime?: string | number | undefined;
|
|
324
|
+
}>;
|
|
325
|
+
export type GetJWTRequestBody = z.infer<typeof GetJWTRequestBody>;
|
|
326
|
+
export declare const GetJWTResponse: z.ZodObject<{
|
|
327
|
+
token: z.ZodString;
|
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
|
329
|
+
token: string;
|
|
330
|
+
}, {
|
|
331
|
+
token: string;
|
|
332
|
+
}>;
|
|
333
|
+
export type GetJWTResponse = z.infer<typeof GetJWTResponse>;
|
|
153
334
|
export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
154
335
|
localOnly: z.ZodBoolean;
|
|
155
336
|
metadata: z.ZodObject<{
|
|
@@ -1349,23 +1530,23 @@ export declare const BatchTriggerTaskV2Response: z.ZodObject<{
|
|
|
1349
1530
|
}>, "many">;
|
|
1350
1531
|
}, "strip", z.ZodTypeAny, {
|
|
1351
1532
|
id: string;
|
|
1352
|
-
isCached: boolean;
|
|
1353
1533
|
runs: {
|
|
1354
1534
|
id: string;
|
|
1355
1535
|
taskIdentifier: string;
|
|
1356
1536
|
isCached: boolean;
|
|
1357
1537
|
idempotencyKey?: string | undefined;
|
|
1358
1538
|
}[];
|
|
1539
|
+
isCached: boolean;
|
|
1359
1540
|
idempotencyKey?: string | undefined;
|
|
1360
1541
|
}, {
|
|
1361
1542
|
id: string;
|
|
1362
|
-
isCached: boolean;
|
|
1363
1543
|
runs: {
|
|
1364
1544
|
id: string;
|
|
1365
1545
|
taskIdentifier: string;
|
|
1366
1546
|
isCached: boolean;
|
|
1367
1547
|
idempotencyKey?: string | undefined;
|
|
1368
1548
|
}[];
|
|
1549
|
+
isCached: boolean;
|
|
1369
1550
|
idempotencyKey?: string | undefined;
|
|
1370
1551
|
}>;
|
|
1371
1552
|
export type BatchTriggerTaskV2Response = z.infer<typeof BatchTriggerTaskV2Response>;
|
|
@@ -1693,6 +1874,10 @@ export declare const ExternalBuildData: z.ZodObject<{
|
|
|
1693
1874
|
export type ExternalBuildData = z.infer<typeof ExternalBuildData>;
|
|
1694
1875
|
export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
1695
1876
|
git: z.ZodOptional<z.ZodObject<{
|
|
1877
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1878
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
1879
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
1880
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
1696
1881
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
1697
1882
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
1698
1883
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -1704,6 +1889,10 @@ export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
|
1704
1889
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
1705
1890
|
}, "strip", z.ZodTypeAny, {
|
|
1706
1891
|
dirty?: boolean | undefined;
|
|
1892
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1893
|
+
provider?: string | undefined;
|
|
1894
|
+
ghUsername?: string | undefined;
|
|
1895
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1707
1896
|
commitAuthorName?: string | undefined;
|
|
1708
1897
|
commitMessage?: string | undefined;
|
|
1709
1898
|
commitRef?: string | undefined;
|
|
@@ -1714,6 +1903,10 @@ export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
|
1714
1903
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1715
1904
|
}, {
|
|
1716
1905
|
dirty?: boolean | undefined;
|
|
1906
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1907
|
+
provider?: string | undefined;
|
|
1908
|
+
ghUsername?: string | undefined;
|
|
1909
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1717
1910
|
commitAuthorName?: string | undefined;
|
|
1718
1911
|
commitMessage?: string | undefined;
|
|
1719
1912
|
commitRef?: string | undefined;
|
|
@@ -1730,6 +1923,10 @@ export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
|
1730
1923
|
branch: string;
|
|
1731
1924
|
git?: {
|
|
1732
1925
|
dirty?: boolean | undefined;
|
|
1926
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1927
|
+
provider?: string | undefined;
|
|
1928
|
+
ghUsername?: string | undefined;
|
|
1929
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1733
1930
|
commitAuthorName?: string | undefined;
|
|
1734
1931
|
commitMessage?: string | undefined;
|
|
1735
1932
|
commitRef?: string | undefined;
|
|
@@ -1744,6 +1941,10 @@ export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
|
1744
1941
|
branch: string;
|
|
1745
1942
|
git?: {
|
|
1746
1943
|
dirty?: boolean | undefined;
|
|
1944
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1945
|
+
provider?: string | undefined;
|
|
1946
|
+
ghUsername?: string | undefined;
|
|
1947
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1747
1948
|
commitAuthorName?: string | undefined;
|
|
1748
1949
|
commitMessage?: string | undefined;
|
|
1749
1950
|
commitRef?: string | undefined;
|
|
@@ -1815,6 +2016,10 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1815
2016
|
/** @deprecated This is now determined by the webapp. This is only used to warn users with old CLI versions. */
|
|
1816
2017
|
selfHosted: z.ZodOptional<z.ZodBoolean>;
|
|
1817
2018
|
gitMeta: z.ZodOptional<z.ZodObject<{
|
|
2019
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2020
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
2021
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
2022
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
1818
2023
|
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
1819
2024
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
1820
2025
|
commitRef: z.ZodOptional<z.ZodString>;
|
|
@@ -1826,6 +2031,10 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1826
2031
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
1827
2032
|
}, "strip", z.ZodTypeAny, {
|
|
1828
2033
|
dirty?: boolean | undefined;
|
|
2034
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2035
|
+
provider?: string | undefined;
|
|
2036
|
+
ghUsername?: string | undefined;
|
|
2037
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1829
2038
|
commitAuthorName?: string | undefined;
|
|
1830
2039
|
commitMessage?: string | undefined;
|
|
1831
2040
|
commitRef?: string | undefined;
|
|
@@ -1836,6 +2045,10 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1836
2045
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1837
2046
|
}, {
|
|
1838
2047
|
dirty?: boolean | undefined;
|
|
2048
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2049
|
+
provider?: string | undefined;
|
|
2050
|
+
ghUsername?: string | undefined;
|
|
2051
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1839
2052
|
commitAuthorName?: string | undefined;
|
|
1840
2053
|
commitMessage?: string | undefined;
|
|
1841
2054
|
commitRef?: string | undefined;
|
|
@@ -1855,6 +2068,10 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1855
2068
|
selfHosted?: boolean | undefined;
|
|
1856
2069
|
gitMeta?: {
|
|
1857
2070
|
dirty?: boolean | undefined;
|
|
2071
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2072
|
+
provider?: string | undefined;
|
|
2073
|
+
ghUsername?: string | undefined;
|
|
2074
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1858
2075
|
commitAuthorName?: string | undefined;
|
|
1859
2076
|
commitMessage?: string | undefined;
|
|
1860
2077
|
commitRef?: string | undefined;
|
|
@@ -1872,6 +2089,10 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1872
2089
|
selfHosted?: boolean | undefined;
|
|
1873
2090
|
gitMeta?: {
|
|
1874
2091
|
dirty?: boolean | undefined;
|
|
2092
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2093
|
+
provider?: string | undefined;
|
|
2094
|
+
ghUsername?: string | undefined;
|
|
2095
|
+
ghUserAvatarUrl?: string | undefined;
|
|
1875
2096
|
commitAuthorName?: string | undefined;
|
|
1876
2097
|
commitMessage?: string | undefined;
|
|
1877
2098
|
commitRef?: string | undefined;
|
|
@@ -2521,6 +2742,16 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2521
2742
|
}, {
|
|
2522
2743
|
id: string;
|
|
2523
2744
|
}>;
|
|
2745
|
+
placementTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2746
|
+
key: z.ZodString;
|
|
2747
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2748
|
+
}, "strip", z.ZodTypeAny, {
|
|
2749
|
+
key: string;
|
|
2750
|
+
values?: string[] | undefined;
|
|
2751
|
+
}, {
|
|
2752
|
+
key: string;
|
|
2753
|
+
values?: string[] | undefined;
|
|
2754
|
+
}>, "many">>;
|
|
2524
2755
|
}, "strip", z.ZodTypeAny, {
|
|
2525
2756
|
version: "1";
|
|
2526
2757
|
environment: {
|
|
@@ -2597,6 +2828,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2597
2828
|
reason?: string | null | undefined;
|
|
2598
2829
|
} | undefined;
|
|
2599
2830
|
image?: string | undefined;
|
|
2831
|
+
placementTags?: {
|
|
2832
|
+
key: string;
|
|
2833
|
+
values?: string[] | undefined;
|
|
2834
|
+
}[] | undefined;
|
|
2600
2835
|
}, {
|
|
2601
2836
|
version: "1";
|
|
2602
2837
|
environment: {
|
|
@@ -2673,6 +2908,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2673
2908
|
reason?: string | null | undefined;
|
|
2674
2909
|
} | undefined;
|
|
2675
2910
|
image?: string | undefined;
|
|
2911
|
+
placementTags?: {
|
|
2912
|
+
key: string;
|
|
2913
|
+
values?: string[] | undefined;
|
|
2914
|
+
}[] | undefined;
|
|
2676
2915
|
}>, "many">;
|
|
2677
2916
|
}, "strip", z.ZodTypeAny, {
|
|
2678
2917
|
dequeuedMessages: {
|
|
@@ -2751,6 +2990,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2751
2990
|
reason?: string | null | undefined;
|
|
2752
2991
|
} | undefined;
|
|
2753
2992
|
image?: string | undefined;
|
|
2993
|
+
placementTags?: {
|
|
2994
|
+
key: string;
|
|
2995
|
+
values?: string[] | undefined;
|
|
2996
|
+
}[] | undefined;
|
|
2754
2997
|
}[];
|
|
2755
2998
|
}, {
|
|
2756
2999
|
dequeuedMessages: {
|
|
@@ -2829,6 +3072,10 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2829
3072
|
reason?: string | null | undefined;
|
|
2830
3073
|
} | undefined;
|
|
2831
3074
|
image?: string | undefined;
|
|
3075
|
+
placementTags?: {
|
|
3076
|
+
key: string;
|
|
3077
|
+
values?: string[] | undefined;
|
|
3078
|
+
}[] | undefined;
|
|
2832
3079
|
}[];
|
|
2833
3080
|
}>;
|
|
2834
3081
|
export type DevDequeueResponseBody = z.infer<typeof DevDequeueResponseBody>;
|
|
@@ -5467,3 +5714,384 @@ export declare function timeoutError(timeout: Date): {
|
|
|
5467
5714
|
code: string;
|
|
5468
5715
|
message: string;
|
|
5469
5716
|
};
|
|
5717
|
+
export declare const ApiDeploymentListParams: {
|
|
5718
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
5719
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5720
|
+
from: z.ZodOptional<z.ZodString>;
|
|
5721
|
+
to: z.ZodOptional<z.ZodString>;
|
|
5722
|
+
period: z.ZodOptional<z.ZodString>;
|
|
5723
|
+
status: z.ZodOptional<z.ZodEnum<["PENDING", "BUILDING", "DEPLOYING", "DEPLOYED", "FAILED", "CANCELED", "TIMED_OUT"]>>;
|
|
5724
|
+
};
|
|
5725
|
+
export declare const ApiDeploymentListOptions: z.ZodObject<{
|
|
5726
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
5727
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5728
|
+
from: z.ZodOptional<z.ZodString>;
|
|
5729
|
+
to: z.ZodOptional<z.ZodString>;
|
|
5730
|
+
period: z.ZodOptional<z.ZodString>;
|
|
5731
|
+
status: z.ZodOptional<z.ZodEnum<["PENDING", "BUILDING", "DEPLOYING", "DEPLOYED", "FAILED", "CANCELED", "TIMED_OUT"]>>;
|
|
5732
|
+
}, "strip", z.ZodTypeAny, {
|
|
5733
|
+
status?: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | undefined;
|
|
5734
|
+
limit?: number | undefined;
|
|
5735
|
+
cursor?: string | undefined;
|
|
5736
|
+
from?: string | undefined;
|
|
5737
|
+
to?: string | undefined;
|
|
5738
|
+
period?: string | undefined;
|
|
5739
|
+
}, {
|
|
5740
|
+
status?: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | undefined;
|
|
5741
|
+
limit?: number | undefined;
|
|
5742
|
+
cursor?: string | undefined;
|
|
5743
|
+
from?: string | undefined;
|
|
5744
|
+
to?: string | undefined;
|
|
5745
|
+
period?: string | undefined;
|
|
5746
|
+
}>;
|
|
5747
|
+
export type ApiDeploymentListOptions = z.infer<typeof ApiDeploymentListOptions>;
|
|
5748
|
+
export declare const ApiDeploymentListSearchParams: z.ZodObject<{
|
|
5749
|
+
"page[after]": z.ZodOptional<z.ZodString>;
|
|
5750
|
+
"page[size]": z.ZodOptional<z.ZodNumber>;
|
|
5751
|
+
from: z.ZodOptional<z.ZodString>;
|
|
5752
|
+
to: z.ZodOptional<z.ZodString>;
|
|
5753
|
+
period: z.ZodOptional<z.ZodString>;
|
|
5754
|
+
status: z.ZodOptional<z.ZodEnum<["PENDING", "BUILDING", "DEPLOYING", "DEPLOYED", "FAILED", "CANCELED", "TIMED_OUT"]>>;
|
|
5755
|
+
}, "strip", z.ZodTypeAny, {
|
|
5756
|
+
status?: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | undefined;
|
|
5757
|
+
from?: string | undefined;
|
|
5758
|
+
to?: string | undefined;
|
|
5759
|
+
period?: string | undefined;
|
|
5760
|
+
"page[after]"?: string | undefined;
|
|
5761
|
+
"page[size]"?: number | undefined;
|
|
5762
|
+
}, {
|
|
5763
|
+
status?: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | undefined;
|
|
5764
|
+
from?: string | undefined;
|
|
5765
|
+
to?: string | undefined;
|
|
5766
|
+
period?: string | undefined;
|
|
5767
|
+
"page[after]"?: string | undefined;
|
|
5768
|
+
"page[size]"?: number | undefined;
|
|
5769
|
+
}>;
|
|
5770
|
+
export type ApiDeploymentListSearchParams = z.infer<typeof ApiDeploymentListSearchParams>;
|
|
5771
|
+
export declare const ApiDeploymentListResponseItem: z.ZodObject<{
|
|
5772
|
+
id: z.ZodString;
|
|
5773
|
+
createdAt: z.ZodDate;
|
|
5774
|
+
shortCode: z.ZodString;
|
|
5775
|
+
version: z.ZodString;
|
|
5776
|
+
runtime: z.ZodString;
|
|
5777
|
+
runtimeVersion: z.ZodString;
|
|
5778
|
+
status: z.ZodEnum<["PENDING", "BUILDING", "DEPLOYING", "DEPLOYED", "FAILED", "CANCELED", "TIMED_OUT"]>;
|
|
5779
|
+
deployedAt: z.ZodOptional<z.ZodDate>;
|
|
5780
|
+
git: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5781
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
5782
|
+
name: z.ZodString;
|
|
5783
|
+
message: z.ZodString;
|
|
5784
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
5785
|
+
stderr: z.ZodOptional<z.ZodString>;
|
|
5786
|
+
}, "strip", z.ZodTypeAny, {
|
|
5787
|
+
message: string;
|
|
5788
|
+
name: string;
|
|
5789
|
+
stack?: string | undefined;
|
|
5790
|
+
stderr?: string | undefined;
|
|
5791
|
+
}, {
|
|
5792
|
+
message: string;
|
|
5793
|
+
name: string;
|
|
5794
|
+
stack?: string | undefined;
|
|
5795
|
+
stderr?: string | undefined;
|
|
5796
|
+
}>>;
|
|
5797
|
+
}, "strip", z.ZodTypeAny, {
|
|
5798
|
+
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
5799
|
+
id: string;
|
|
5800
|
+
createdAt: Date;
|
|
5801
|
+
version: string;
|
|
5802
|
+
shortCode: string;
|
|
5803
|
+
runtime: string;
|
|
5804
|
+
runtimeVersion: string;
|
|
5805
|
+
error?: {
|
|
5806
|
+
message: string;
|
|
5807
|
+
name: string;
|
|
5808
|
+
stack?: string | undefined;
|
|
5809
|
+
stderr?: string | undefined;
|
|
5810
|
+
} | undefined;
|
|
5811
|
+
git?: Record<string, any> | undefined;
|
|
5812
|
+
deployedAt?: Date | undefined;
|
|
5813
|
+
}, {
|
|
5814
|
+
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
5815
|
+
id: string;
|
|
5816
|
+
createdAt: Date;
|
|
5817
|
+
version: string;
|
|
5818
|
+
shortCode: string;
|
|
5819
|
+
runtime: string;
|
|
5820
|
+
runtimeVersion: string;
|
|
5821
|
+
error?: {
|
|
5822
|
+
message: string;
|
|
5823
|
+
name: string;
|
|
5824
|
+
stack?: string | undefined;
|
|
5825
|
+
stderr?: string | undefined;
|
|
5826
|
+
} | undefined;
|
|
5827
|
+
git?: Record<string, any> | undefined;
|
|
5828
|
+
deployedAt?: Date | undefined;
|
|
5829
|
+
}>;
|
|
5830
|
+
export type ApiDeploymentListResponseItem = z.infer<typeof ApiDeploymentListResponseItem>;
|
|
5831
|
+
export declare const ApiBranchListResponseBody: z.ZodObject<{
|
|
5832
|
+
branches: z.ZodArray<z.ZodObject<{
|
|
5833
|
+
id: z.ZodString;
|
|
5834
|
+
name: z.ZodString;
|
|
5835
|
+
createdAt: z.ZodDate;
|
|
5836
|
+
updatedAt: z.ZodDate;
|
|
5837
|
+
git: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5838
|
+
isPaused: z.ZodBoolean;
|
|
5839
|
+
}, "strip", z.ZodTypeAny, {
|
|
5840
|
+
name: string;
|
|
5841
|
+
id: string;
|
|
5842
|
+
createdAt: Date;
|
|
5843
|
+
updatedAt: Date;
|
|
5844
|
+
isPaused: boolean;
|
|
5845
|
+
git?: Record<string, any> | undefined;
|
|
5846
|
+
}, {
|
|
5847
|
+
name: string;
|
|
5848
|
+
id: string;
|
|
5849
|
+
createdAt: Date;
|
|
5850
|
+
updatedAt: Date;
|
|
5851
|
+
isPaused: boolean;
|
|
5852
|
+
git?: Record<string, any> | undefined;
|
|
5853
|
+
}>, "many">;
|
|
5854
|
+
}, "strip", z.ZodTypeAny, {
|
|
5855
|
+
branches: {
|
|
5856
|
+
name: string;
|
|
5857
|
+
id: string;
|
|
5858
|
+
createdAt: Date;
|
|
5859
|
+
updatedAt: Date;
|
|
5860
|
+
isPaused: boolean;
|
|
5861
|
+
git?: Record<string, any> | undefined;
|
|
5862
|
+
}[];
|
|
5863
|
+
}, {
|
|
5864
|
+
branches: {
|
|
5865
|
+
name: string;
|
|
5866
|
+
id: string;
|
|
5867
|
+
createdAt: Date;
|
|
5868
|
+
updatedAt: Date;
|
|
5869
|
+
isPaused: boolean;
|
|
5870
|
+
git?: Record<string, any> | undefined;
|
|
5871
|
+
}[];
|
|
5872
|
+
}>;
|
|
5873
|
+
export type ApiBranchListResponseBody = z.infer<typeof ApiBranchListResponseBody>;
|
|
5874
|
+
export declare const RetrieveRunTraceSpanSchema: z.ZodObject<{
|
|
5875
|
+
id: z.ZodString;
|
|
5876
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
5877
|
+
message: z.ZodString;
|
|
5878
|
+
data: z.ZodObject<{
|
|
5879
|
+
runId: z.ZodString;
|
|
5880
|
+
taskSlug: z.ZodOptional<z.ZodString>;
|
|
5881
|
+
taskPath: z.ZodOptional<z.ZodString>;
|
|
5882
|
+
events: z.ZodArray<z.ZodAny, "many">;
|
|
5883
|
+
startTime: z.ZodDate;
|
|
5884
|
+
duration: z.ZodNumber;
|
|
5885
|
+
isError: z.ZodBoolean;
|
|
5886
|
+
isPartial: z.ZodBoolean;
|
|
5887
|
+
isCancelled: z.ZodBoolean;
|
|
5888
|
+
level: z.ZodString;
|
|
5889
|
+
environmentType: z.ZodString;
|
|
5890
|
+
workerVersion: z.ZodOptional<z.ZodString>;
|
|
5891
|
+
queueName: z.ZodOptional<z.ZodString>;
|
|
5892
|
+
machinePreset: z.ZodOptional<z.ZodString>;
|
|
5893
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5894
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5895
|
+
}, "strip", z.ZodTypeAny, {
|
|
5896
|
+
duration: number;
|
|
5897
|
+
isCancelled: boolean;
|
|
5898
|
+
runId: string;
|
|
5899
|
+
events: any[];
|
|
5900
|
+
startTime: Date;
|
|
5901
|
+
isError: boolean;
|
|
5902
|
+
isPartial: boolean;
|
|
5903
|
+
level: string;
|
|
5904
|
+
environmentType: string;
|
|
5905
|
+
output?: Record<string, any> | undefined;
|
|
5906
|
+
properties?: Record<string, any> | undefined;
|
|
5907
|
+
taskSlug?: string | undefined;
|
|
5908
|
+
taskPath?: string | undefined;
|
|
5909
|
+
workerVersion?: string | undefined;
|
|
5910
|
+
queueName?: string | undefined;
|
|
5911
|
+
machinePreset?: string | undefined;
|
|
5912
|
+
}, {
|
|
5913
|
+
duration: number;
|
|
5914
|
+
isCancelled: boolean;
|
|
5915
|
+
runId: string;
|
|
5916
|
+
events: any[];
|
|
5917
|
+
startTime: Date;
|
|
5918
|
+
isError: boolean;
|
|
5919
|
+
isPartial: boolean;
|
|
5920
|
+
level: string;
|
|
5921
|
+
environmentType: string;
|
|
5922
|
+
output?: Record<string, any> | undefined;
|
|
5923
|
+
properties?: Record<string, any> | undefined;
|
|
5924
|
+
taskSlug?: string | undefined;
|
|
5925
|
+
taskPath?: string | undefined;
|
|
5926
|
+
workerVersion?: string | undefined;
|
|
5927
|
+
queueName?: string | undefined;
|
|
5928
|
+
machinePreset?: string | undefined;
|
|
5929
|
+
}>;
|
|
5930
|
+
}, "strip", z.ZodTypeAny, {
|
|
5931
|
+
message: string;
|
|
5932
|
+
id: string;
|
|
5933
|
+
data: {
|
|
5934
|
+
duration: number;
|
|
5935
|
+
isCancelled: boolean;
|
|
5936
|
+
runId: string;
|
|
5937
|
+
events: any[];
|
|
5938
|
+
startTime: Date;
|
|
5939
|
+
isError: boolean;
|
|
5940
|
+
isPartial: boolean;
|
|
5941
|
+
level: string;
|
|
5942
|
+
environmentType: string;
|
|
5943
|
+
output?: Record<string, any> | undefined;
|
|
5944
|
+
properties?: Record<string, any> | undefined;
|
|
5945
|
+
taskSlug?: string | undefined;
|
|
5946
|
+
taskPath?: string | undefined;
|
|
5947
|
+
workerVersion?: string | undefined;
|
|
5948
|
+
queueName?: string | undefined;
|
|
5949
|
+
machinePreset?: string | undefined;
|
|
5950
|
+
};
|
|
5951
|
+
parentId?: string | undefined;
|
|
5952
|
+
}, {
|
|
5953
|
+
message: string;
|
|
5954
|
+
id: string;
|
|
5955
|
+
data: {
|
|
5956
|
+
duration: number;
|
|
5957
|
+
isCancelled: boolean;
|
|
5958
|
+
runId: string;
|
|
5959
|
+
events: any[];
|
|
5960
|
+
startTime: Date;
|
|
5961
|
+
isError: boolean;
|
|
5962
|
+
isPartial: boolean;
|
|
5963
|
+
level: string;
|
|
5964
|
+
environmentType: string;
|
|
5965
|
+
output?: Record<string, any> | undefined;
|
|
5966
|
+
properties?: Record<string, any> | undefined;
|
|
5967
|
+
taskSlug?: string | undefined;
|
|
5968
|
+
taskPath?: string | undefined;
|
|
5969
|
+
workerVersion?: string | undefined;
|
|
5970
|
+
queueName?: string | undefined;
|
|
5971
|
+
machinePreset?: string | undefined;
|
|
5972
|
+
};
|
|
5973
|
+
parentId?: string | undefined;
|
|
5974
|
+
}>;
|
|
5975
|
+
export type RetrieveRunTraceSpan = z.infer<typeof RetrieveRunTraceSpanSchema> & {
|
|
5976
|
+
children: Array<RetrieveRunTraceSpan>;
|
|
5977
|
+
};
|
|
5978
|
+
export declare const RetrieveRunTraceSpan: z.ZodType<RetrieveRunTraceSpan>;
|
|
5979
|
+
export declare const RetrieveRunTraceResponseBody: z.ZodObject<{
|
|
5980
|
+
trace: z.ZodObject<{
|
|
5981
|
+
traceId: z.ZodString;
|
|
5982
|
+
rootSpan: z.ZodType<RetrieveRunTraceSpan, z.ZodTypeDef, RetrieveRunTraceSpan>;
|
|
5983
|
+
}, "strip", z.ZodTypeAny, {
|
|
5984
|
+
traceId: string;
|
|
5985
|
+
rootSpan: {
|
|
5986
|
+
message: string;
|
|
5987
|
+
id: string;
|
|
5988
|
+
data: {
|
|
5989
|
+
duration: number;
|
|
5990
|
+
isCancelled: boolean;
|
|
5991
|
+
runId: string;
|
|
5992
|
+
events: any[];
|
|
5993
|
+
startTime: Date;
|
|
5994
|
+
isError: boolean;
|
|
5995
|
+
isPartial: boolean;
|
|
5996
|
+
level: string;
|
|
5997
|
+
environmentType: string;
|
|
5998
|
+
output?: Record<string, any> | undefined;
|
|
5999
|
+
properties?: Record<string, any> | undefined;
|
|
6000
|
+
taskSlug?: string | undefined;
|
|
6001
|
+
taskPath?: string | undefined;
|
|
6002
|
+
workerVersion?: string | undefined;
|
|
6003
|
+
queueName?: string | undefined;
|
|
6004
|
+
machinePreset?: string | undefined;
|
|
6005
|
+
};
|
|
6006
|
+
parentId?: string | undefined;
|
|
6007
|
+
} & {
|
|
6008
|
+
children: Array<RetrieveRunTraceSpan>;
|
|
6009
|
+
};
|
|
6010
|
+
}, {
|
|
6011
|
+
traceId: string;
|
|
6012
|
+
rootSpan: {
|
|
6013
|
+
message: string;
|
|
6014
|
+
id: string;
|
|
6015
|
+
data: {
|
|
6016
|
+
duration: number;
|
|
6017
|
+
isCancelled: boolean;
|
|
6018
|
+
runId: string;
|
|
6019
|
+
events: any[];
|
|
6020
|
+
startTime: Date;
|
|
6021
|
+
isError: boolean;
|
|
6022
|
+
isPartial: boolean;
|
|
6023
|
+
level: string;
|
|
6024
|
+
environmentType: string;
|
|
6025
|
+
output?: Record<string, any> | undefined;
|
|
6026
|
+
properties?: Record<string, any> | undefined;
|
|
6027
|
+
taskSlug?: string | undefined;
|
|
6028
|
+
taskPath?: string | undefined;
|
|
6029
|
+
workerVersion?: string | undefined;
|
|
6030
|
+
queueName?: string | undefined;
|
|
6031
|
+
machinePreset?: string | undefined;
|
|
6032
|
+
};
|
|
6033
|
+
parentId?: string | undefined;
|
|
6034
|
+
} & {
|
|
6035
|
+
children: Array<RetrieveRunTraceSpan>;
|
|
6036
|
+
};
|
|
6037
|
+
}>;
|
|
6038
|
+
}, "strip", z.ZodTypeAny, {
|
|
6039
|
+
trace: {
|
|
6040
|
+
traceId: string;
|
|
6041
|
+
rootSpan: {
|
|
6042
|
+
message: string;
|
|
6043
|
+
id: string;
|
|
6044
|
+
data: {
|
|
6045
|
+
duration: number;
|
|
6046
|
+
isCancelled: boolean;
|
|
6047
|
+
runId: string;
|
|
6048
|
+
events: any[];
|
|
6049
|
+
startTime: Date;
|
|
6050
|
+
isError: boolean;
|
|
6051
|
+
isPartial: boolean;
|
|
6052
|
+
level: string;
|
|
6053
|
+
environmentType: string;
|
|
6054
|
+
output?: Record<string, any> | undefined;
|
|
6055
|
+
properties?: Record<string, any> | undefined;
|
|
6056
|
+
taskSlug?: string | undefined;
|
|
6057
|
+
taskPath?: string | undefined;
|
|
6058
|
+
workerVersion?: string | undefined;
|
|
6059
|
+
queueName?: string | undefined;
|
|
6060
|
+
machinePreset?: string | undefined;
|
|
6061
|
+
};
|
|
6062
|
+
parentId?: string | undefined;
|
|
6063
|
+
} & {
|
|
6064
|
+
children: Array<RetrieveRunTraceSpan>;
|
|
6065
|
+
};
|
|
6066
|
+
};
|
|
6067
|
+
}, {
|
|
6068
|
+
trace: {
|
|
6069
|
+
traceId: string;
|
|
6070
|
+
rootSpan: {
|
|
6071
|
+
message: string;
|
|
6072
|
+
id: string;
|
|
6073
|
+
data: {
|
|
6074
|
+
duration: number;
|
|
6075
|
+
isCancelled: boolean;
|
|
6076
|
+
runId: string;
|
|
6077
|
+
events: any[];
|
|
6078
|
+
startTime: Date;
|
|
6079
|
+
isError: boolean;
|
|
6080
|
+
isPartial: boolean;
|
|
6081
|
+
level: string;
|
|
6082
|
+
environmentType: string;
|
|
6083
|
+
output?: Record<string, any> | undefined;
|
|
6084
|
+
properties?: Record<string, any> | undefined;
|
|
6085
|
+
taskSlug?: string | undefined;
|
|
6086
|
+
taskPath?: string | undefined;
|
|
6087
|
+
workerVersion?: string | undefined;
|
|
6088
|
+
queueName?: string | undefined;
|
|
6089
|
+
machinePreset?: string | undefined;
|
|
6090
|
+
};
|
|
6091
|
+
parentId?: string | undefined;
|
|
6092
|
+
} & {
|
|
6093
|
+
children: Array<RetrieveRunTraceSpan>;
|
|
6094
|
+
};
|
|
6095
|
+
};
|
|
6096
|
+
}>;
|
|
6097
|
+
export type RetrieveRunTraceResponseBody = z.infer<typeof RetrieveRunTraceResponseBody>;
|