@shipfox/api-workflows-dto 12.0.0 → 12.2.0

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.
@@ -1,21 +1,21 @@
1
1
  import { z } from 'zod';
2
2
  export declare const workflowRunStatusSchema: z.ZodEnum<{
3
3
  cancelled: "cancelled";
4
+ failed: "failed";
4
5
  pending: "pending";
5
6
  running: "running";
6
7
  succeeded: "succeeded";
7
- failed: "failed";
8
8
  }>;
9
9
  export type WorkflowRunStatusDto = z.infer<typeof workflowRunStatusSchema>;
10
10
  export declare const workflowRunRerunModeSchema: z.ZodEnum<{
11
- failed: "failed";
12
11
  all: "all";
12
+ failed: "failed";
13
13
  }>;
14
14
  export type WorkflowRunRerunModeDto = z.infer<typeof workflowRunRerunModeSchema>;
15
15
  export declare const rerunWorkflowRunBodySchema: z.ZodObject<{
16
16
  mode: z.ZodEnum<{
17
- failed: "failed";
18
17
  all: "all";
18
+ failed: "failed";
19
19
  }>;
20
20
  }, z.core.$strip>;
21
21
  export type RerunWorkflowRunBodyDto = z.infer<typeof rerunWorkflowRunBodySchema>;
@@ -25,10 +25,10 @@ export declare const workflowRunListQuerySchema: z.ZodObject<{
25
25
  cursor: z.ZodOptional<z.ZodString>;
26
26
  status: z.ZodOptional<z.ZodEnum<{
27
27
  cancelled: "cancelled";
28
+ failed: "failed";
28
29
  pending: "pending";
29
30
  running: "running";
30
31
  succeeded: "succeeded";
31
- failed: "failed";
32
32
  }>>;
33
33
  definition_id: z.ZodOptional<z.ZodString>;
34
34
  trigger_source: z.ZodOptional<z.ZodString>;
@@ -37,14 +37,14 @@ export declare const workflowRunListQuerySchema: z.ZodObject<{
37
37
  }, z.core.$strip>;
38
38
  export type WorkflowRunListQueryDto = z.infer<typeof workflowRunListQuerySchema>;
39
39
  export declare const workflowRunAggregatesQuerySchema: z.ZodObject<{
40
+ project_id: z.ZodString;
40
41
  status: z.ZodOptional<z.ZodEnum<{
41
42
  cancelled: "cancelled";
43
+ failed: "failed";
42
44
  pending: "pending";
43
45
  running: "running";
44
46
  succeeded: "succeeded";
45
- failed: "failed";
46
47
  }>>;
47
- project_id: z.ZodString;
48
48
  definition_id: z.ZodOptional<z.ZodString>;
49
49
  trigger_source: z.ZodOptional<z.ZodString>;
50
50
  created_from: z.ZodOptional<z.ZodString>;
@@ -72,10 +72,10 @@ export declare const workflowRunDtoSchema: z.ZodObject<{
72
72
  workflow_name: z.ZodString;
73
73
  status: z.ZodEnum<{
74
74
  cancelled: "cancelled";
75
+ failed: "failed";
75
76
  pending: "pending";
76
77
  running: "running";
77
78
  succeeded: "succeeded";
78
- failed: "failed";
79
79
  }>;
80
80
  current_attempt: z.ZodNumber;
81
81
  latest_attempt: z.ZodNumber;
@@ -106,17 +106,17 @@ export declare const workflowRunAttemptDtoSchema: z.ZodObject<{
106
106
  attempt: z.ZodNumber;
107
107
  status: z.ZodEnum<{
108
108
  cancelled: "cancelled";
109
+ failed: "failed";
109
110
  pending: "pending";
110
111
  running: "running";
111
112
  succeeded: "succeeded";
112
- failed: "failed";
113
113
  }>;
114
114
  created_at: z.ZodString;
115
115
  started_at: z.ZodNullable<z.ZodString>;
116
116
  finished_at: z.ZodNullable<z.ZodString>;
117
117
  rerun_mode: z.ZodNullable<z.ZodEnum<{
118
- failed: "failed";
119
118
  all: "all";
119
+ failed: "failed";
120
120
  }>>;
121
121
  }, z.core.$strip>;
122
122
  export type WorkflowRunAttemptDto = z.infer<typeof workflowRunAttemptDtoSchema>;
@@ -129,10 +129,10 @@ export declare const workflowRunResponseSchema: z.ZodObject<{
129
129
  workflow_name: z.ZodString;
130
130
  status: z.ZodEnum<{
131
131
  cancelled: "cancelled";
132
+ failed: "failed";
132
133
  pending: "pending";
133
134
  running: "running";
134
135
  succeeded: "succeeded";
135
- failed: "failed";
136
136
  }>;
137
137
  current_attempt: z.ZodNumber;
138
138
  latest_attempt: z.ZodNumber;
@@ -164,17 +164,17 @@ export declare const workflowRunAttemptsResponseSchema: z.ZodObject<{
164
164
  attempt: z.ZodNumber;
165
165
  status: z.ZodEnum<{
166
166
  cancelled: "cancelled";
167
+ failed: "failed";
167
168
  pending: "pending";
168
169
  running: "running";
169
170
  succeeded: "succeeded";
170
- failed: "failed";
171
171
  }>;
172
172
  created_at: z.ZodString;
173
173
  started_at: z.ZodNullable<z.ZodString>;
174
174
  finished_at: z.ZodNullable<z.ZodString>;
175
175
  rerun_mode: z.ZodNullable<z.ZodEnum<{
176
- failed: "failed";
177
176
  all: "all";
177
+ failed: "failed";
178
178
  }>>;
179
179
  }, z.core.$strip>>;
180
180
  }, z.core.$strip>;
@@ -185,11 +185,11 @@ export declare const workflowRunJobSummaryDtoSchema: z.ZodObject<{
185
185
  name: z.ZodNullable<z.ZodString>;
186
186
  status: z.ZodEnum<{
187
187
  cancelled: "cancelled";
188
+ failed: "failed";
188
189
  pending: "pending";
189
190
  running: "running";
190
- succeeded: "succeeded";
191
- failed: "failed";
192
191
  skipped: "skipped";
192
+ succeeded: "succeeded";
193
193
  }>;
194
194
  position: z.ZodNumber;
195
195
  }, z.core.$strip>;
@@ -207,11 +207,11 @@ export declare const WORKFLOW_RUN_JOB_PREVIEW_LIMIT = 16;
207
207
  export declare const workflowRunJobStatusCountDtoSchema: z.ZodObject<{
208
208
  status: z.ZodEnum<{
209
209
  cancelled: "cancelled";
210
+ failed: "failed";
210
211
  pending: "pending";
211
212
  running: "running";
212
- succeeded: "succeeded";
213
- failed: "failed";
214
213
  skipped: "skipped";
214
+ succeeded: "succeeded";
215
215
  }>;
216
216
  count: z.ZodNumber;
217
217
  }, z.core.$strip>;
@@ -225,10 +225,10 @@ export declare const workflowRunListItemSchema: z.ZodObject<{
225
225
  workflow_name: z.ZodString;
226
226
  status: z.ZodEnum<{
227
227
  cancelled: "cancelled";
228
+ failed: "failed";
228
229
  pending: "pending";
229
230
  running: "running";
230
231
  succeeded: "succeeded";
231
- failed: "failed";
232
232
  }>;
233
233
  current_attempt: z.ZodNumber;
234
234
  latest_attempt: z.ZodNumber;
@@ -257,22 +257,22 @@ export declare const workflowRunListItemSchema: z.ZodObject<{
257
257
  name: z.ZodNullable<z.ZodString>;
258
258
  status: z.ZodEnum<{
259
259
  cancelled: "cancelled";
260
+ failed: "failed";
260
261
  pending: "pending";
261
262
  running: "running";
262
- succeeded: "succeeded";
263
- failed: "failed";
264
263
  skipped: "skipped";
264
+ succeeded: "succeeded";
265
265
  }>;
266
266
  position: z.ZodNumber;
267
267
  }, z.core.$strip>>;
268
268
  job_status_counts: z.ZodArray<z.ZodObject<{
269
269
  status: z.ZodEnum<{
270
270
  cancelled: "cancelled";
271
+ failed: "failed";
271
272
  pending: "pending";
272
273
  running: "running";
273
- succeeded: "succeeded";
274
- failed: "failed";
275
274
  skipped: "skipped";
275
+ succeeded: "succeeded";
276
276
  }>;
277
277
  count: z.ZodNumber;
278
278
  }, z.core.$strip>>;
@@ -288,10 +288,10 @@ export declare const workflowRunListResponseSchema: z.ZodObject<{
288
288
  workflow_name: z.ZodString;
289
289
  status: z.ZodEnum<{
290
290
  cancelled: "cancelled";
291
+ failed: "failed";
291
292
  pending: "pending";
292
293
  running: "running";
293
294
  succeeded: "succeeded";
294
- failed: "failed";
295
295
  }>;
296
296
  current_attempt: z.ZodNumber;
297
297
  latest_attempt: z.ZodNumber;
@@ -320,22 +320,22 @@ export declare const workflowRunListResponseSchema: z.ZodObject<{
320
320
  name: z.ZodNullable<z.ZodString>;
321
321
  status: z.ZodEnum<{
322
322
  cancelled: "cancelled";
323
+ failed: "failed";
323
324
  pending: "pending";
324
325
  running: "running";
325
- succeeded: "succeeded";
326
- failed: "failed";
327
326
  skipped: "skipped";
327
+ succeeded: "succeeded";
328
328
  }>;
329
329
  position: z.ZodNumber;
330
330
  }, z.core.$strip>>;
331
331
  job_status_counts: z.ZodArray<z.ZodObject<{
332
332
  status: z.ZodEnum<{
333
333
  cancelled: "cancelled";
334
+ failed: "failed";
334
335
  pending: "pending";
335
336
  running: "running";
336
- succeeded: "succeeded";
337
- failed: "failed";
338
337
  skipped: "skipped";
338
+ succeeded: "succeeded";
339
339
  }>;
340
340
  count: z.ZodNumber;
341
341
  }, z.core.$strip>>;
@@ -348,10 +348,10 @@ export declare const workflowRunAggregatesResponseSchema: z.ZodObject<{
348
348
  status: z.ZodArray<z.ZodObject<{
349
349
  value: z.ZodEnum<{
350
350
  cancelled: "cancelled";
351
+ failed: "failed";
351
352
  pending: "pending";
352
353
  running: "running";
353
354
  succeeded: "succeeded";
354
- failed: "failed";
355
355
  }>;
356
356
  count: z.ZodNumber;
357
357
  }, z.core.$strip>>;