@proofhound/shared 0.1.8 → 0.1.9
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/dto/annotation.dto.d.ts +104 -15
- package/dist/dto/annotation.dto.d.ts.map +1 -1
- package/dist/dto/annotation.dto.js +73 -10
- package/dist/dto/annotation.dto.js.map +1 -1
- package/dist/dto/canary-release.dto.d.ts +30 -11
- package/dist/dto/canary-release.dto.d.ts.map +1 -1
- package/dist/dto/canary-release.dto.js +10 -8
- package/dist/dto/canary-release.dto.js.map +1 -1
- package/dist/dto/dataset-import.dto.d.ts +5 -0
- package/dist/dto/dataset-import.dto.d.ts.map +1 -1
- package/dist/dto/dataset.dto.d.ts +63 -0
- package/dist/dto/dataset.dto.d.ts.map +1 -1
- package/dist/dto/dataset.dto.js +21 -1
- package/dist/dto/dataset.dto.js.map +1 -1
- package/dist/dto/production-release.dto.d.ts +12 -1
- package/dist/dto/production-release.dto.d.ts.map +1 -1
- package/dist/dto/production-release.dto.js +5 -2
- package/dist/dto/production-release.dto.js.map +1 -1
- package/dist/dto/prompt.dto.d.ts +25 -29
- package/dist/dto/prompt.dto.d.ts.map +1 -1
- package/dist/dto/prompt.dto.js +8 -6
- package/dist/dto/prompt.dto.js.map +1 -1
- package/dist/dto/release-line.dto.d.ts +344 -73
- package/dist/dto/release-line.dto.d.ts.map +1 -1
- package/dist/dto/release-line.dto.js +91 -15
- package/dist/dto/release-line.dto.js.map +1 -1
- package/dist/dto/run-result.dto.d.ts +55 -44
- package/dist/dto/run-result.dto.d.ts.map +1 -1
- package/dist/dto/run-result.dto.js +11 -6
- package/dist/dto/run-result.dto.js.map +1 -1
- package/dist/run-result-failure.js +1 -1
- package/dist/run-result-failure.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,24 +1,30 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const releaseLineStatusSchema: z.ZodEnum<{
|
|
3
|
-
production: "production";
|
|
4
|
-
stopped: "stopped";
|
|
5
|
-
canary: "canary";
|
|
6
3
|
archived: "archived";
|
|
7
|
-
|
|
4
|
+
running: "running";
|
|
5
|
+
stopped: "stopped";
|
|
8
6
|
}>;
|
|
9
7
|
export type ReleaseLineStatusDto = z.infer<typeof releaseLineStatusSchema>;
|
|
10
8
|
export declare const releaseLineLaneTypeSchema: z.ZodEnum<{
|
|
11
|
-
production: "production";
|
|
12
9
|
canary: "canary";
|
|
10
|
+
production: "production";
|
|
13
11
|
}>;
|
|
14
12
|
export type ReleaseLineLaneTypeDto = z.infer<typeof releaseLineLaneTypeSchema>;
|
|
13
|
+
export declare const releaseLineRecordModeSchema: z.ZodEnum<{
|
|
14
|
+
all: "all";
|
|
15
|
+
selected_categories: "selected_categories";
|
|
16
|
+
correct_only: "correct_only";
|
|
17
|
+
}>;
|
|
18
|
+
export type ReleaseLineRecordModeDto = z.infer<typeof releaseLineRecordModeSchema>;
|
|
19
|
+
export declare const releaseLineRecordCategoriesSchema: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
20
|
+
export type ReleaseLineRecordCategoriesDto = z.infer<typeof releaseLineRecordCategoriesSchema>;
|
|
15
21
|
export declare const releaseLineEventStatusSchema: z.ZodEnum<{
|
|
22
|
+
archived: "archived";
|
|
16
23
|
failed: "failed";
|
|
17
24
|
running: "running";
|
|
18
25
|
stopped: "stopped";
|
|
19
26
|
cancelled: "cancelled";
|
|
20
27
|
completed: "completed";
|
|
21
|
-
archived: "archived";
|
|
22
28
|
}>;
|
|
23
29
|
export type ReleaseLineEventStatusDto = z.infer<typeof releaseLineEventStatusSchema>;
|
|
24
30
|
export declare const releaseLineEventOperationSchema: z.ZodEnum<{
|
|
@@ -34,30 +40,64 @@ export declare const releaseLineEventOperationSchema: z.ZodEnum<{
|
|
|
34
40
|
resume_lane: "resume_lane";
|
|
35
41
|
cancel_canary: "cancel_canary";
|
|
36
42
|
promote_canary: "promote_canary";
|
|
43
|
+
restore_to_production: "restore_to_production";
|
|
44
|
+
restore_to_canary: "restore_to_canary";
|
|
37
45
|
archive_line: "archive_line";
|
|
46
|
+
unarchive_line: "unarchive_line";
|
|
38
47
|
}>;
|
|
39
48
|
export type ReleaseLineEventOperationDto = z.infer<typeof releaseLineEventOperationSchema>;
|
|
40
49
|
export declare const releaseLineEventTerminalReasonSchema: z.ZodEnum<{
|
|
50
|
+
archived: "archived";
|
|
41
51
|
error: "error";
|
|
42
52
|
cancelled: "cancelled";
|
|
43
|
-
archived: "archived";
|
|
44
53
|
replaced: "replaced";
|
|
45
54
|
rolled_back: "rolled_back";
|
|
46
55
|
force_stopped: "force_stopped";
|
|
47
56
|
promoted: "promoted";
|
|
48
57
|
}>;
|
|
49
58
|
export type ReleaseLineEventTerminalReasonDto = z.infer<typeof releaseLineEventTerminalReasonSchema>;
|
|
59
|
+
export declare const releaseVersionKindSchema: z.ZodEnum<{
|
|
60
|
+
production: "production";
|
|
61
|
+
candidate: "candidate";
|
|
62
|
+
}>;
|
|
63
|
+
export type ReleaseVersionKindDto = z.infer<typeof releaseVersionKindSchema>;
|
|
50
64
|
export declare const releaseLineOutputConnectorSchema: z.ZodObject<{
|
|
51
65
|
id: z.ZodString;
|
|
52
66
|
name: z.ZodString;
|
|
53
67
|
type: z.ZodString;
|
|
54
68
|
}, z.core.$strip>;
|
|
55
69
|
export type ReleaseLineOutputConnectorDto = z.infer<typeof releaseLineOutputConnectorSchema>;
|
|
56
|
-
export declare const
|
|
70
|
+
export declare const releaseLineConnectorOutputMappingSchema: z.ZodObject<{
|
|
71
|
+
connectorId: z.ZodString;
|
|
72
|
+
outputMapping: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
73
|
+
source: z.ZodString;
|
|
74
|
+
target: z.ZodString;
|
|
75
|
+
}, z.core.$strip>>>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
export type ReleaseLineConnectorOutputMappingDto = z.infer<typeof releaseLineConnectorOutputMappingSchema>;
|
|
78
|
+
export declare const releaseLineOutputMappingSchema: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
79
|
+
source: z.ZodString;
|
|
80
|
+
target: z.ZodString;
|
|
81
|
+
}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
82
|
+
connectorId: z.ZodString;
|
|
83
|
+
outputMapping: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
84
|
+
source: z.ZodString;
|
|
85
|
+
target: z.ZodString;
|
|
86
|
+
}, z.core.$strip>>>;
|
|
87
|
+
}, z.core.$strip>>]>;
|
|
88
|
+
export type ReleaseLineOutputMappingDto = z.infer<typeof releaseLineOutputMappingSchema>;
|
|
89
|
+
export declare const releaseVersionSchema: z.ZodObject<{
|
|
57
90
|
id: z.ZodString;
|
|
58
91
|
projectId: z.ZodString;
|
|
59
92
|
releaseLineId: z.ZodString;
|
|
60
|
-
|
|
93
|
+
kind: z.ZodEnum<{
|
|
94
|
+
production: "production";
|
|
95
|
+
candidate: "candidate";
|
|
96
|
+
}>;
|
|
97
|
+
productionVersionNumber: z.ZodNullable<z.ZodNumber>;
|
|
98
|
+
targetProductionVersionNumber: z.ZodNumber;
|
|
99
|
+
candidateNumber: z.ZodNullable<z.ZodNumber>;
|
|
100
|
+
promotedFromReleaseVersionId: z.ZodNullable<z.ZodString>;
|
|
61
101
|
label: z.ZodString;
|
|
62
102
|
promptId: z.ZodNullable<z.ZodString>;
|
|
63
103
|
promptName: z.ZodString;
|
|
@@ -74,18 +114,24 @@ export declare const releaseVariantSchema: z.ZodObject<{
|
|
|
74
114
|
createdAt: z.ZodString;
|
|
75
115
|
updatedAt: z.ZodString;
|
|
76
116
|
}, z.core.$strip>;
|
|
77
|
-
export type
|
|
117
|
+
export type ReleaseVersionDto = z.infer<typeof releaseVersionSchema>;
|
|
78
118
|
export declare const releaseLineEventSchema: z.ZodObject<{
|
|
79
119
|
id: z.ZodString;
|
|
80
120
|
projectId: z.ZodString;
|
|
81
121
|
releaseLineId: z.ZodString;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
122
|
+
releaseVersionId: z.ZodNullable<z.ZodString>;
|
|
123
|
+
releaseVersionKind: z.ZodNullable<z.ZodEnum<{
|
|
124
|
+
production: "production";
|
|
125
|
+
candidate: "candidate";
|
|
126
|
+
}>>;
|
|
127
|
+
releaseVersionLabel: z.ZodNullable<z.ZodString>;
|
|
128
|
+
releaseVersionProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
129
|
+
releaseVersionTargetProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
130
|
+
releaseVersionCandidateNumber: z.ZodNullable<z.ZodNumber>;
|
|
85
131
|
annotationTaskId: z.ZodNullable<z.ZodString>;
|
|
86
132
|
laneType: z.ZodEnum<{
|
|
87
|
-
production: "production";
|
|
88
133
|
canary: "canary";
|
|
134
|
+
production: "production";
|
|
89
135
|
}>;
|
|
90
136
|
operation: z.ZodEnum<{
|
|
91
137
|
rollback: "rollback";
|
|
@@ -100,20 +146,23 @@ export declare const releaseLineEventSchema: z.ZodObject<{
|
|
|
100
146
|
resume_lane: "resume_lane";
|
|
101
147
|
cancel_canary: "cancel_canary";
|
|
102
148
|
promote_canary: "promote_canary";
|
|
149
|
+
restore_to_production: "restore_to_production";
|
|
150
|
+
restore_to_canary: "restore_to_canary";
|
|
103
151
|
archive_line: "archive_line";
|
|
152
|
+
unarchive_line: "unarchive_line";
|
|
104
153
|
}>;
|
|
105
154
|
status: z.ZodEnum<{
|
|
155
|
+
archived: "archived";
|
|
106
156
|
failed: "failed";
|
|
107
157
|
running: "running";
|
|
108
158
|
stopped: "stopped";
|
|
109
159
|
cancelled: "cancelled";
|
|
110
160
|
completed: "completed";
|
|
111
|
-
archived: "archived";
|
|
112
161
|
}>;
|
|
113
162
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
163
|
+
archived: "archived";
|
|
114
164
|
error: "error";
|
|
115
165
|
cancelled: "cancelled";
|
|
116
|
-
archived: "archived";
|
|
117
166
|
replaced: "replaced";
|
|
118
167
|
rolled_back: "rolled_back";
|
|
119
168
|
force_stopped: "force_stopped";
|
|
@@ -165,8 +214,10 @@ export declare const releaseLineEventSchema: z.ZodObject<{
|
|
|
165
214
|
filterRules: z.ZodNullable<z.ZodUnknown>;
|
|
166
215
|
recordMode: z.ZodEnum<{
|
|
167
216
|
all: "all";
|
|
217
|
+
selected_categories: "selected_categories";
|
|
168
218
|
correct_only: "correct_only";
|
|
169
219
|
}>;
|
|
220
|
+
recordCategories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
170
221
|
externalIdField: z.ZodNullable<z.ZodString>;
|
|
171
222
|
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
172
223
|
sourceExperimentId: z.ZodNullable<z.ZodString>;
|
|
@@ -199,11 +250,9 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
199
250
|
inputConnectorType: z.ZodNullable<z.ZodString>;
|
|
200
251
|
inputConnectorSnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
201
252
|
status: z.ZodEnum<{
|
|
202
|
-
production: "production";
|
|
203
|
-
stopped: "stopped";
|
|
204
|
-
canary: "canary";
|
|
205
253
|
archived: "archived";
|
|
206
|
-
|
|
254
|
+
running: "running";
|
|
255
|
+
stopped: "stopped";
|
|
207
256
|
}>;
|
|
208
257
|
currentProductionEventId: z.ZodNullable<z.ZodString>;
|
|
209
258
|
activeCanaryEventId: z.ZodNullable<z.ZodString>;
|
|
@@ -211,13 +260,19 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
211
260
|
id: z.ZodString;
|
|
212
261
|
projectId: z.ZodString;
|
|
213
262
|
releaseLineId: z.ZodString;
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
263
|
+
releaseVersionId: z.ZodNullable<z.ZodString>;
|
|
264
|
+
releaseVersionKind: z.ZodNullable<z.ZodEnum<{
|
|
265
|
+
production: "production";
|
|
266
|
+
candidate: "candidate";
|
|
267
|
+
}>>;
|
|
268
|
+
releaseVersionLabel: z.ZodNullable<z.ZodString>;
|
|
269
|
+
releaseVersionProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
270
|
+
releaseVersionTargetProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
271
|
+
releaseVersionCandidateNumber: z.ZodNullable<z.ZodNumber>;
|
|
217
272
|
annotationTaskId: z.ZodNullable<z.ZodString>;
|
|
218
273
|
laneType: z.ZodEnum<{
|
|
219
|
-
production: "production";
|
|
220
274
|
canary: "canary";
|
|
275
|
+
production: "production";
|
|
221
276
|
}>;
|
|
222
277
|
operation: z.ZodEnum<{
|
|
223
278
|
rollback: "rollback";
|
|
@@ -232,20 +287,23 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
232
287
|
resume_lane: "resume_lane";
|
|
233
288
|
cancel_canary: "cancel_canary";
|
|
234
289
|
promote_canary: "promote_canary";
|
|
290
|
+
restore_to_production: "restore_to_production";
|
|
291
|
+
restore_to_canary: "restore_to_canary";
|
|
235
292
|
archive_line: "archive_line";
|
|
293
|
+
unarchive_line: "unarchive_line";
|
|
236
294
|
}>;
|
|
237
295
|
status: z.ZodEnum<{
|
|
296
|
+
archived: "archived";
|
|
238
297
|
failed: "failed";
|
|
239
298
|
running: "running";
|
|
240
299
|
stopped: "stopped";
|
|
241
300
|
cancelled: "cancelled";
|
|
242
301
|
completed: "completed";
|
|
243
|
-
archived: "archived";
|
|
244
302
|
}>;
|
|
245
303
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
304
|
+
archived: "archived";
|
|
246
305
|
error: "error";
|
|
247
306
|
cancelled: "cancelled";
|
|
248
|
-
archived: "archived";
|
|
249
307
|
replaced: "replaced";
|
|
250
308
|
rolled_back: "rolled_back";
|
|
251
309
|
force_stopped: "force_stopped";
|
|
@@ -297,8 +355,10 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
297
355
|
filterRules: z.ZodNullable<z.ZodUnknown>;
|
|
298
356
|
recordMode: z.ZodEnum<{
|
|
299
357
|
all: "all";
|
|
358
|
+
selected_categories: "selected_categories";
|
|
300
359
|
correct_only: "correct_only";
|
|
301
360
|
}>;
|
|
361
|
+
recordCategories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
302
362
|
externalIdField: z.ZodNullable<z.ZodString>;
|
|
303
363
|
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
304
364
|
sourceExperimentId: z.ZodNullable<z.ZodString>;
|
|
@@ -321,13 +381,19 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
321
381
|
id: z.ZodString;
|
|
322
382
|
projectId: z.ZodString;
|
|
323
383
|
releaseLineId: z.ZodString;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
384
|
+
releaseVersionId: z.ZodNullable<z.ZodString>;
|
|
385
|
+
releaseVersionKind: z.ZodNullable<z.ZodEnum<{
|
|
386
|
+
production: "production";
|
|
387
|
+
candidate: "candidate";
|
|
388
|
+
}>>;
|
|
389
|
+
releaseVersionLabel: z.ZodNullable<z.ZodString>;
|
|
390
|
+
releaseVersionProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
391
|
+
releaseVersionTargetProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
392
|
+
releaseVersionCandidateNumber: z.ZodNullable<z.ZodNumber>;
|
|
327
393
|
annotationTaskId: z.ZodNullable<z.ZodString>;
|
|
328
394
|
laneType: z.ZodEnum<{
|
|
329
|
-
production: "production";
|
|
330
395
|
canary: "canary";
|
|
396
|
+
production: "production";
|
|
331
397
|
}>;
|
|
332
398
|
operation: z.ZodEnum<{
|
|
333
399
|
rollback: "rollback";
|
|
@@ -342,20 +408,23 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
342
408
|
resume_lane: "resume_lane";
|
|
343
409
|
cancel_canary: "cancel_canary";
|
|
344
410
|
promote_canary: "promote_canary";
|
|
411
|
+
restore_to_production: "restore_to_production";
|
|
412
|
+
restore_to_canary: "restore_to_canary";
|
|
345
413
|
archive_line: "archive_line";
|
|
414
|
+
unarchive_line: "unarchive_line";
|
|
346
415
|
}>;
|
|
347
416
|
status: z.ZodEnum<{
|
|
417
|
+
archived: "archived";
|
|
348
418
|
failed: "failed";
|
|
349
419
|
running: "running";
|
|
350
420
|
stopped: "stopped";
|
|
351
421
|
cancelled: "cancelled";
|
|
352
422
|
completed: "completed";
|
|
353
|
-
archived: "archived";
|
|
354
423
|
}>;
|
|
355
424
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
425
|
+
archived: "archived";
|
|
356
426
|
error: "error";
|
|
357
427
|
cancelled: "cancelled";
|
|
358
|
-
archived: "archived";
|
|
359
428
|
replaced: "replaced";
|
|
360
429
|
rolled_back: "rolled_back";
|
|
361
430
|
force_stopped: "force_stopped";
|
|
@@ -407,8 +476,10 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
407
476
|
filterRules: z.ZodNullable<z.ZodUnknown>;
|
|
408
477
|
recordMode: z.ZodEnum<{
|
|
409
478
|
all: "all";
|
|
479
|
+
selected_categories: "selected_categories";
|
|
410
480
|
correct_only: "correct_only";
|
|
411
481
|
}>;
|
|
482
|
+
recordCategories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
412
483
|
externalIdField: z.ZodNullable<z.ZodString>;
|
|
413
484
|
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
414
485
|
sourceExperimentId: z.ZodNullable<z.ZodString>;
|
|
@@ -427,11 +498,18 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
427
498
|
createdAt: z.ZodString;
|
|
428
499
|
updatedAt: z.ZodString;
|
|
429
500
|
}, z.core.$strip>>;
|
|
430
|
-
|
|
501
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
431
502
|
id: z.ZodString;
|
|
432
503
|
projectId: z.ZodString;
|
|
433
504
|
releaseLineId: z.ZodString;
|
|
434
|
-
|
|
505
|
+
kind: z.ZodEnum<{
|
|
506
|
+
production: "production";
|
|
507
|
+
candidate: "candidate";
|
|
508
|
+
}>;
|
|
509
|
+
productionVersionNumber: z.ZodNullable<z.ZodNumber>;
|
|
510
|
+
targetProductionVersionNumber: z.ZodNumber;
|
|
511
|
+
candidateNumber: z.ZodNullable<z.ZodNumber>;
|
|
512
|
+
promotedFromReleaseVersionId: z.ZodNullable<z.ZodString>;
|
|
435
513
|
label: z.ZodString;
|
|
436
514
|
promptId: z.ZodNullable<z.ZodString>;
|
|
437
515
|
promptName: z.ZodString;
|
|
@@ -457,13 +535,19 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
457
535
|
id: z.ZodString;
|
|
458
536
|
projectId: z.ZodString;
|
|
459
537
|
releaseLineId: z.ZodString;
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
538
|
+
releaseVersionId: z.ZodNullable<z.ZodString>;
|
|
539
|
+
releaseVersionKind: z.ZodNullable<z.ZodEnum<{
|
|
540
|
+
production: "production";
|
|
541
|
+
candidate: "candidate";
|
|
542
|
+
}>>;
|
|
543
|
+
releaseVersionLabel: z.ZodNullable<z.ZodString>;
|
|
544
|
+
releaseVersionProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
545
|
+
releaseVersionTargetProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
546
|
+
releaseVersionCandidateNumber: z.ZodNullable<z.ZodNumber>;
|
|
463
547
|
annotationTaskId: z.ZodNullable<z.ZodString>;
|
|
464
548
|
laneType: z.ZodEnum<{
|
|
465
|
-
production: "production";
|
|
466
549
|
canary: "canary";
|
|
550
|
+
production: "production";
|
|
467
551
|
}>;
|
|
468
552
|
operation: z.ZodEnum<{
|
|
469
553
|
rollback: "rollback";
|
|
@@ -478,20 +562,23 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
478
562
|
resume_lane: "resume_lane";
|
|
479
563
|
cancel_canary: "cancel_canary";
|
|
480
564
|
promote_canary: "promote_canary";
|
|
565
|
+
restore_to_production: "restore_to_production";
|
|
566
|
+
restore_to_canary: "restore_to_canary";
|
|
481
567
|
archive_line: "archive_line";
|
|
568
|
+
unarchive_line: "unarchive_line";
|
|
482
569
|
}>;
|
|
483
570
|
status: z.ZodEnum<{
|
|
571
|
+
archived: "archived";
|
|
484
572
|
failed: "failed";
|
|
485
573
|
running: "running";
|
|
486
574
|
stopped: "stopped";
|
|
487
575
|
cancelled: "cancelled";
|
|
488
576
|
completed: "completed";
|
|
489
|
-
archived: "archived";
|
|
490
577
|
}>;
|
|
491
578
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
579
|
+
archived: "archived";
|
|
492
580
|
error: "error";
|
|
493
581
|
cancelled: "cancelled";
|
|
494
|
-
archived: "archived";
|
|
495
582
|
replaced: "replaced";
|
|
496
583
|
rolled_back: "rolled_back";
|
|
497
584
|
force_stopped: "force_stopped";
|
|
@@ -543,8 +630,10 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
543
630
|
filterRules: z.ZodNullable<z.ZodUnknown>;
|
|
544
631
|
recordMode: z.ZodEnum<{
|
|
545
632
|
all: "all";
|
|
633
|
+
selected_categories: "selected_categories";
|
|
546
634
|
correct_only: "correct_only";
|
|
547
635
|
}>;
|
|
636
|
+
recordCategories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
548
637
|
externalIdField: z.ZodNullable<z.ZodString>;
|
|
549
638
|
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
550
639
|
sourceExperimentId: z.ZodNullable<z.ZodString>;
|
|
@@ -583,11 +672,9 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
583
672
|
inputConnectorType: z.ZodNullable<z.ZodString>;
|
|
584
673
|
inputConnectorSnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
585
674
|
status: z.ZodEnum<{
|
|
586
|
-
production: "production";
|
|
587
|
-
stopped: "stopped";
|
|
588
|
-
canary: "canary";
|
|
589
675
|
archived: "archived";
|
|
590
|
-
|
|
676
|
+
running: "running";
|
|
677
|
+
stopped: "stopped";
|
|
591
678
|
}>;
|
|
592
679
|
currentProductionEventId: z.ZodNullable<z.ZodString>;
|
|
593
680
|
activeCanaryEventId: z.ZodNullable<z.ZodString>;
|
|
@@ -595,13 +682,19 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
595
682
|
id: z.ZodString;
|
|
596
683
|
projectId: z.ZodString;
|
|
597
684
|
releaseLineId: z.ZodString;
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
685
|
+
releaseVersionId: z.ZodNullable<z.ZodString>;
|
|
686
|
+
releaseVersionKind: z.ZodNullable<z.ZodEnum<{
|
|
687
|
+
production: "production";
|
|
688
|
+
candidate: "candidate";
|
|
689
|
+
}>>;
|
|
690
|
+
releaseVersionLabel: z.ZodNullable<z.ZodString>;
|
|
691
|
+
releaseVersionProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
692
|
+
releaseVersionTargetProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
693
|
+
releaseVersionCandidateNumber: z.ZodNullable<z.ZodNumber>;
|
|
601
694
|
annotationTaskId: z.ZodNullable<z.ZodString>;
|
|
602
695
|
laneType: z.ZodEnum<{
|
|
603
|
-
production: "production";
|
|
604
696
|
canary: "canary";
|
|
697
|
+
production: "production";
|
|
605
698
|
}>;
|
|
606
699
|
operation: z.ZodEnum<{
|
|
607
700
|
rollback: "rollback";
|
|
@@ -616,20 +709,23 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
616
709
|
resume_lane: "resume_lane";
|
|
617
710
|
cancel_canary: "cancel_canary";
|
|
618
711
|
promote_canary: "promote_canary";
|
|
712
|
+
restore_to_production: "restore_to_production";
|
|
713
|
+
restore_to_canary: "restore_to_canary";
|
|
619
714
|
archive_line: "archive_line";
|
|
715
|
+
unarchive_line: "unarchive_line";
|
|
620
716
|
}>;
|
|
621
717
|
status: z.ZodEnum<{
|
|
718
|
+
archived: "archived";
|
|
622
719
|
failed: "failed";
|
|
623
720
|
running: "running";
|
|
624
721
|
stopped: "stopped";
|
|
625
722
|
cancelled: "cancelled";
|
|
626
723
|
completed: "completed";
|
|
627
|
-
archived: "archived";
|
|
628
724
|
}>;
|
|
629
725
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
726
|
+
archived: "archived";
|
|
630
727
|
error: "error";
|
|
631
728
|
cancelled: "cancelled";
|
|
632
|
-
archived: "archived";
|
|
633
729
|
replaced: "replaced";
|
|
634
730
|
rolled_back: "rolled_back";
|
|
635
731
|
force_stopped: "force_stopped";
|
|
@@ -681,8 +777,10 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
681
777
|
filterRules: z.ZodNullable<z.ZodUnknown>;
|
|
682
778
|
recordMode: z.ZodEnum<{
|
|
683
779
|
all: "all";
|
|
780
|
+
selected_categories: "selected_categories";
|
|
684
781
|
correct_only: "correct_only";
|
|
685
782
|
}>;
|
|
783
|
+
recordCategories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
686
784
|
externalIdField: z.ZodNullable<z.ZodString>;
|
|
687
785
|
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
688
786
|
sourceExperimentId: z.ZodNullable<z.ZodString>;
|
|
@@ -705,13 +803,19 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
705
803
|
id: z.ZodString;
|
|
706
804
|
projectId: z.ZodString;
|
|
707
805
|
releaseLineId: z.ZodString;
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
806
|
+
releaseVersionId: z.ZodNullable<z.ZodString>;
|
|
807
|
+
releaseVersionKind: z.ZodNullable<z.ZodEnum<{
|
|
808
|
+
production: "production";
|
|
809
|
+
candidate: "candidate";
|
|
810
|
+
}>>;
|
|
811
|
+
releaseVersionLabel: z.ZodNullable<z.ZodString>;
|
|
812
|
+
releaseVersionProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
813
|
+
releaseVersionTargetProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
814
|
+
releaseVersionCandidateNumber: z.ZodNullable<z.ZodNumber>;
|
|
711
815
|
annotationTaskId: z.ZodNullable<z.ZodString>;
|
|
712
816
|
laneType: z.ZodEnum<{
|
|
713
|
-
production: "production";
|
|
714
817
|
canary: "canary";
|
|
818
|
+
production: "production";
|
|
715
819
|
}>;
|
|
716
820
|
operation: z.ZodEnum<{
|
|
717
821
|
rollback: "rollback";
|
|
@@ -726,20 +830,23 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
726
830
|
resume_lane: "resume_lane";
|
|
727
831
|
cancel_canary: "cancel_canary";
|
|
728
832
|
promote_canary: "promote_canary";
|
|
833
|
+
restore_to_production: "restore_to_production";
|
|
834
|
+
restore_to_canary: "restore_to_canary";
|
|
729
835
|
archive_line: "archive_line";
|
|
836
|
+
unarchive_line: "unarchive_line";
|
|
730
837
|
}>;
|
|
731
838
|
status: z.ZodEnum<{
|
|
839
|
+
archived: "archived";
|
|
732
840
|
failed: "failed";
|
|
733
841
|
running: "running";
|
|
734
842
|
stopped: "stopped";
|
|
735
843
|
cancelled: "cancelled";
|
|
736
844
|
completed: "completed";
|
|
737
|
-
archived: "archived";
|
|
738
845
|
}>;
|
|
739
846
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
847
|
+
archived: "archived";
|
|
740
848
|
error: "error";
|
|
741
849
|
cancelled: "cancelled";
|
|
742
|
-
archived: "archived";
|
|
743
850
|
replaced: "replaced";
|
|
744
851
|
rolled_back: "rolled_back";
|
|
745
852
|
force_stopped: "force_stopped";
|
|
@@ -791,8 +898,10 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
791
898
|
filterRules: z.ZodNullable<z.ZodUnknown>;
|
|
792
899
|
recordMode: z.ZodEnum<{
|
|
793
900
|
all: "all";
|
|
901
|
+
selected_categories: "selected_categories";
|
|
794
902
|
correct_only: "correct_only";
|
|
795
903
|
}>;
|
|
904
|
+
recordCategories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
796
905
|
externalIdField: z.ZodNullable<z.ZodString>;
|
|
797
906
|
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
798
907
|
sourceExperimentId: z.ZodNullable<z.ZodString>;
|
|
@@ -811,11 +920,18 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
811
920
|
createdAt: z.ZodString;
|
|
812
921
|
updatedAt: z.ZodString;
|
|
813
922
|
}, z.core.$strip>>;
|
|
814
|
-
|
|
923
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
815
924
|
id: z.ZodString;
|
|
816
925
|
projectId: z.ZodString;
|
|
817
926
|
releaseLineId: z.ZodString;
|
|
818
|
-
|
|
927
|
+
kind: z.ZodEnum<{
|
|
928
|
+
production: "production";
|
|
929
|
+
candidate: "candidate";
|
|
930
|
+
}>;
|
|
931
|
+
productionVersionNumber: z.ZodNullable<z.ZodNumber>;
|
|
932
|
+
targetProductionVersionNumber: z.ZodNumber;
|
|
933
|
+
candidateNumber: z.ZodNullable<z.ZodNumber>;
|
|
934
|
+
promotedFromReleaseVersionId: z.ZodNullable<z.ZodString>;
|
|
819
935
|
label: z.ZodString;
|
|
820
936
|
promptId: z.ZodNullable<z.ZodString>;
|
|
821
937
|
promptName: z.ZodString;
|
|
@@ -841,13 +957,19 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
841
957
|
id: z.ZodString;
|
|
842
958
|
projectId: z.ZodString;
|
|
843
959
|
releaseLineId: z.ZodString;
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
960
|
+
releaseVersionId: z.ZodNullable<z.ZodString>;
|
|
961
|
+
releaseVersionKind: z.ZodNullable<z.ZodEnum<{
|
|
962
|
+
production: "production";
|
|
963
|
+
candidate: "candidate";
|
|
964
|
+
}>>;
|
|
965
|
+
releaseVersionLabel: z.ZodNullable<z.ZodString>;
|
|
966
|
+
releaseVersionProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
967
|
+
releaseVersionTargetProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
968
|
+
releaseVersionCandidateNumber: z.ZodNullable<z.ZodNumber>;
|
|
847
969
|
annotationTaskId: z.ZodNullable<z.ZodString>;
|
|
848
970
|
laneType: z.ZodEnum<{
|
|
849
|
-
production: "production";
|
|
850
971
|
canary: "canary";
|
|
972
|
+
production: "production";
|
|
851
973
|
}>;
|
|
852
974
|
operation: z.ZodEnum<{
|
|
853
975
|
rollback: "rollback";
|
|
@@ -862,20 +984,23 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
862
984
|
resume_lane: "resume_lane";
|
|
863
985
|
cancel_canary: "cancel_canary";
|
|
864
986
|
promote_canary: "promote_canary";
|
|
987
|
+
restore_to_production: "restore_to_production";
|
|
988
|
+
restore_to_canary: "restore_to_canary";
|
|
865
989
|
archive_line: "archive_line";
|
|
990
|
+
unarchive_line: "unarchive_line";
|
|
866
991
|
}>;
|
|
867
992
|
status: z.ZodEnum<{
|
|
993
|
+
archived: "archived";
|
|
868
994
|
failed: "failed";
|
|
869
995
|
running: "running";
|
|
870
996
|
stopped: "stopped";
|
|
871
997
|
cancelled: "cancelled";
|
|
872
998
|
completed: "completed";
|
|
873
|
-
archived: "archived";
|
|
874
999
|
}>;
|
|
875
1000
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
1001
|
+
archived: "archived";
|
|
876
1002
|
error: "error";
|
|
877
1003
|
cancelled: "cancelled";
|
|
878
|
-
archived: "archived";
|
|
879
1004
|
replaced: "replaced";
|
|
880
1005
|
rolled_back: "rolled_back";
|
|
881
1006
|
force_stopped: "force_stopped";
|
|
@@ -927,8 +1052,10 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
927
1052
|
filterRules: z.ZodNullable<z.ZodUnknown>;
|
|
928
1053
|
recordMode: z.ZodEnum<{
|
|
929
1054
|
all: "all";
|
|
1055
|
+
selected_categories: "selected_categories";
|
|
930
1056
|
correct_only: "correct_only";
|
|
931
1057
|
}>;
|
|
1058
|
+
recordCategories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
932
1059
|
externalIdField: z.ZodNullable<z.ZodString>;
|
|
933
1060
|
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
934
1061
|
sourceExperimentId: z.ZodNullable<z.ZodString>;
|
|
@@ -960,13 +1087,19 @@ export declare const releaseLineEventListResponseSchema: z.ZodObject<{
|
|
|
960
1087
|
id: z.ZodString;
|
|
961
1088
|
projectId: z.ZodString;
|
|
962
1089
|
releaseLineId: z.ZodString;
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
1090
|
+
releaseVersionId: z.ZodNullable<z.ZodString>;
|
|
1091
|
+
releaseVersionKind: z.ZodNullable<z.ZodEnum<{
|
|
1092
|
+
production: "production";
|
|
1093
|
+
candidate: "candidate";
|
|
1094
|
+
}>>;
|
|
1095
|
+
releaseVersionLabel: z.ZodNullable<z.ZodString>;
|
|
1096
|
+
releaseVersionProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
1097
|
+
releaseVersionTargetProductionNumber: z.ZodNullable<z.ZodNumber>;
|
|
1098
|
+
releaseVersionCandidateNumber: z.ZodNullable<z.ZodNumber>;
|
|
966
1099
|
annotationTaskId: z.ZodNullable<z.ZodString>;
|
|
967
1100
|
laneType: z.ZodEnum<{
|
|
968
|
-
production: "production";
|
|
969
1101
|
canary: "canary";
|
|
1102
|
+
production: "production";
|
|
970
1103
|
}>;
|
|
971
1104
|
operation: z.ZodEnum<{
|
|
972
1105
|
rollback: "rollback";
|
|
@@ -981,20 +1114,23 @@ export declare const releaseLineEventListResponseSchema: z.ZodObject<{
|
|
|
981
1114
|
resume_lane: "resume_lane";
|
|
982
1115
|
cancel_canary: "cancel_canary";
|
|
983
1116
|
promote_canary: "promote_canary";
|
|
1117
|
+
restore_to_production: "restore_to_production";
|
|
1118
|
+
restore_to_canary: "restore_to_canary";
|
|
984
1119
|
archive_line: "archive_line";
|
|
1120
|
+
unarchive_line: "unarchive_line";
|
|
985
1121
|
}>;
|
|
986
1122
|
status: z.ZodEnum<{
|
|
1123
|
+
archived: "archived";
|
|
987
1124
|
failed: "failed";
|
|
988
1125
|
running: "running";
|
|
989
1126
|
stopped: "stopped";
|
|
990
1127
|
cancelled: "cancelled";
|
|
991
1128
|
completed: "completed";
|
|
992
|
-
archived: "archived";
|
|
993
1129
|
}>;
|
|
994
1130
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
1131
|
+
archived: "archived";
|
|
995
1132
|
error: "error";
|
|
996
1133
|
cancelled: "cancelled";
|
|
997
|
-
archived: "archived";
|
|
998
1134
|
replaced: "replaced";
|
|
999
1135
|
rolled_back: "rolled_back";
|
|
1000
1136
|
force_stopped: "force_stopped";
|
|
@@ -1046,8 +1182,10 @@ export declare const releaseLineEventListResponseSchema: z.ZodObject<{
|
|
|
1046
1182
|
filterRules: z.ZodNullable<z.ZodUnknown>;
|
|
1047
1183
|
recordMode: z.ZodEnum<{
|
|
1048
1184
|
all: "all";
|
|
1185
|
+
selected_categories: "selected_categories";
|
|
1049
1186
|
correct_only: "correct_only";
|
|
1050
1187
|
}>;
|
|
1188
|
+
recordCategories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1051
1189
|
externalIdField: z.ZodNullable<z.ZodString>;
|
|
1052
1190
|
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
1053
1191
|
sourceExperimentId: z.ZodNullable<z.ZodString>;
|
|
@@ -1082,6 +1220,12 @@ export declare const updateReleaseLineRunConfigInputSchema: z.ZodDiscriminatedUn
|
|
|
1082
1220
|
concurrency: z.ZodDefault<z.ZodNumber>;
|
|
1083
1221
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
1084
1222
|
}, z.core.$strip>;
|
|
1223
|
+
recordMode: z.ZodOptional<z.ZodEnum<{
|
|
1224
|
+
all: "all";
|
|
1225
|
+
selected_categories: "selected_categories";
|
|
1226
|
+
correct_only: "correct_only";
|
|
1227
|
+
}>>;
|
|
1228
|
+
recordCategories: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
1085
1229
|
}, z.core.$strip>, z.ZodObject<{
|
|
1086
1230
|
laneType: z.ZodLiteral<"canary">;
|
|
1087
1231
|
modelId: z.ZodOptional<z.ZodString>;
|
|
@@ -1090,10 +1234,137 @@ export declare const updateReleaseLineRunConfigInputSchema: z.ZodDiscriminatedUn
|
|
|
1090
1234
|
tpmLimit: z.ZodNumber;
|
|
1091
1235
|
concurrency: z.ZodDefault<z.ZodNumber>;
|
|
1092
1236
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
1237
|
+
stopConditions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1238
|
+
maxDurationSeconds: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1239
|
+
maxSamples: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1240
|
+
}, z.core.$strip>>>;
|
|
1093
1241
|
}, z.core.$strip>;
|
|
1242
|
+
recordMode: z.ZodOptional<z.ZodEnum<{
|
|
1243
|
+
all: "all";
|
|
1244
|
+
selected_categories: "selected_categories";
|
|
1245
|
+
correct_only: "correct_only";
|
|
1246
|
+
}>>;
|
|
1247
|
+
recordCategories: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
1094
1248
|
}, z.core.$strip>], "laneType">;
|
|
1095
1249
|
export type UpdateReleaseLineRunConfigInputDto = z.infer<typeof updateReleaseLineRunConfigInputSchema>;
|
|
1096
|
-
export declare const
|
|
1097
|
-
|
|
1098
|
-
|
|
1250
|
+
export declare const updateReleaseLineOutputRouteInputSchema: z.ZodObject<{
|
|
1251
|
+
laneType: z.ZodEnum<{
|
|
1252
|
+
canary: "canary";
|
|
1253
|
+
production: "production";
|
|
1254
|
+
}>;
|
|
1255
|
+
outputConnectorIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1256
|
+
outputMapping: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
1257
|
+
source: z.ZodString;
|
|
1258
|
+
target: z.ZodString;
|
|
1259
|
+
}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
1260
|
+
connectorId: z.ZodString;
|
|
1261
|
+
outputMapping: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1262
|
+
source: z.ZodString;
|
|
1263
|
+
target: z.ZodString;
|
|
1264
|
+
}, z.core.$strip>>>;
|
|
1265
|
+
}, z.core.$strip>>]>>;
|
|
1266
|
+
}, z.core.$strip>;
|
|
1267
|
+
export type UpdateReleaseLineOutputRouteInputDto = z.infer<typeof updateReleaseLineOutputRouteInputSchema>;
|
|
1268
|
+
export declare const updateReleaseLineInputRouteInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1269
|
+
laneType: z.ZodLiteral<"production">;
|
|
1270
|
+
variableMapping: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1271
|
+
filterRules: z.ZodDefault<z.ZodNullable<z.ZodType<import("./canary-release.dto").CanaryReleaseFilterNodeDto, unknown, z.core.$ZodTypeInternals<import("./canary-release.dto").CanaryReleaseFilterNodeDto, unknown>>>>;
|
|
1272
|
+
externalIdField: z.ZodString;
|
|
1273
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1274
|
+
laneType: z.ZodLiteral<"canary">;
|
|
1275
|
+
variableMapping: z.ZodArray<z.ZodObject<{
|
|
1276
|
+
source: z.ZodString;
|
|
1277
|
+
target: z.ZodString;
|
|
1278
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1279
|
+
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
1280
|
+
}, z.core.$strip>>;
|
|
1281
|
+
filterRules: z.ZodDefault<z.ZodNullable<z.ZodType<import("./canary-release.dto").CanaryReleaseFilterNodeDto, unknown, z.core.$ZodTypeInternals<import("./canary-release.dto").CanaryReleaseFilterNodeDto, unknown>>>>;
|
|
1282
|
+
externalIdField: z.ZodString;
|
|
1283
|
+
}, z.core.$strip>], "laneType">;
|
|
1284
|
+
export type UpdateReleaseLineInputRouteInputDto = z.infer<typeof updateReleaseLineInputRouteInputSchema>;
|
|
1285
|
+
export declare const stopReleaseLineInputSchema: z.ZodObject<{
|
|
1286
|
+
reason: z.ZodString;
|
|
1287
|
+
}, z.core.$strip>;
|
|
1288
|
+
export type StopReleaseLineInputDto = z.infer<typeof stopReleaseLineInputSchema>;
|
|
1289
|
+
export declare const startReleaseLineInputSchema: z.ZodObject<{
|
|
1290
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
}, z.core.$strip>;
|
|
1292
|
+
export type StartReleaseLineInputDto = z.infer<typeof startReleaseLineInputSchema>;
|
|
1293
|
+
export declare const archiveReleaseLineInputSchema: z.ZodObject<{
|
|
1294
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
}, z.core.$strip>;
|
|
1296
|
+
export type ArchiveReleaseLineInputDto = z.infer<typeof archiveReleaseLineInputSchema>;
|
|
1297
|
+
export declare const unarchiveReleaseLineInputSchema: z.ZodObject<{
|
|
1298
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1299
|
+
}, z.core.$strip>;
|
|
1300
|
+
export type UnarchiveReleaseLineInputDto = z.infer<typeof unarchiveReleaseLineInputSchema>;
|
|
1301
|
+
export declare const restoreReleaseLineHistoryInputSchema: z.ZodObject<{
|
|
1302
|
+
sourceEventId: z.ZodString;
|
|
1303
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1304
|
+
}, z.core.$strip>;
|
|
1305
|
+
export type RestoreReleaseLineHistoryInputDto = z.infer<typeof restoreReleaseLineHistoryInputSchema>;
|
|
1306
|
+
export declare const releaseLineDeletionImpactItemSchema: z.ZodObject<{
|
|
1307
|
+
id: z.ZodString;
|
|
1308
|
+
kind: z.ZodEnum<{
|
|
1309
|
+
event: "event";
|
|
1310
|
+
version: "version";
|
|
1311
|
+
annotation_task: "annotation_task";
|
|
1312
|
+
}>;
|
|
1313
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1314
|
+
status: z.ZodNullable<z.ZodString>;
|
|
1315
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
1316
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
1317
|
+
}, z.core.$strip>;
|
|
1318
|
+
export type ReleaseLineDeletionImpactItemDto = z.infer<typeof releaseLineDeletionImpactItemSchema>;
|
|
1319
|
+
export declare const releaseLineDeletionImpactSchema: z.ZodObject<{
|
|
1320
|
+
releaseLineId: z.ZodString;
|
|
1321
|
+
lineName: z.ZodString;
|
|
1322
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1323
|
+
id: z.ZodString;
|
|
1324
|
+
kind: z.ZodEnum<{
|
|
1325
|
+
event: "event";
|
|
1326
|
+
version: "version";
|
|
1327
|
+
annotation_task: "annotation_task";
|
|
1328
|
+
}>;
|
|
1329
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1330
|
+
status: z.ZodNullable<z.ZodString>;
|
|
1331
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
1332
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
1333
|
+
}, z.core.$strip>>;
|
|
1334
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
1335
|
+
id: z.ZodString;
|
|
1336
|
+
kind: z.ZodEnum<{
|
|
1337
|
+
event: "event";
|
|
1338
|
+
version: "version";
|
|
1339
|
+
annotation_task: "annotation_task";
|
|
1340
|
+
}>;
|
|
1341
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1342
|
+
status: z.ZodNullable<z.ZodString>;
|
|
1343
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
1344
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
1345
|
+
}, z.core.$strip>>;
|
|
1346
|
+
annotationTasks: z.ZodArray<z.ZodObject<{
|
|
1347
|
+
id: z.ZodString;
|
|
1348
|
+
kind: z.ZodEnum<{
|
|
1349
|
+
event: "event";
|
|
1350
|
+
version: "version";
|
|
1351
|
+
annotation_task: "annotation_task";
|
|
1352
|
+
}>;
|
|
1353
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1354
|
+
status: z.ZodNullable<z.ZodString>;
|
|
1355
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
1356
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
1357
|
+
}, z.core.$strip>>;
|
|
1358
|
+
runResults: z.ZodNumber;
|
|
1359
|
+
total: z.ZodNumber;
|
|
1360
|
+
}, z.core.$strip>;
|
|
1361
|
+
export type ReleaseLineDeletionImpactDto = z.infer<typeof releaseLineDeletionImpactSchema>;
|
|
1362
|
+
export declare const deleteReleaseLineInputSchema: z.ZodObject<{
|
|
1363
|
+
confirmationName: z.ZodString;
|
|
1364
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1365
|
+
}, z.core.$strip>;
|
|
1366
|
+
export type DeleteReleaseLineInputDto = z.infer<typeof deleteReleaseLineInputSchema>;
|
|
1367
|
+
export declare const RELEASE_LINE_STATUSES: ("archived" | "running" | "stopped")[];
|
|
1368
|
+
export declare const RELEASE_LINE_EVENT_STATUSES: ("archived" | "failed" | "running" | "stopped" | "cancelled" | "completed")[];
|
|
1369
|
+
export declare const RELEASE_LINE_EVENT_OPERATIONS: ("rollback" | "force_stop" | "create_production" | "create_production_from_experiment" | "create_canary" | "traffic_updated" | "mode_updated" | "config_changed" | "stop_lane" | "resume_lane" | "cancel_canary" | "promote_canary" | "restore_to_production" | "restore_to_canary" | "archive_line" | "unarchive_line")[];
|
|
1099
1370
|
//# sourceMappingURL=release-line.dto.d.ts.map
|