@shipeasy/openapi 2.3.0 → 2.5.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.
- package/dist/{chunk-PRN4AEAM.js → chunk-DBTSD3W5.js} +1085 -261
- package/dist/chunk-DBTSD3W5.js.map +1 -0
- package/dist/{chunk-LYNWK55D.js → chunk-RDMD5XQT.js} +171 -1
- package/dist/chunk-RDMD5XQT.js.map +1 -0
- package/dist/{client-DO5HTb_L.d.ts → client-ObcuFHaV.d.ts} +5605 -2734
- package/dist/client.d.ts +1 -1
- package/dist/client.js +47 -1
- package/dist/custom.d.ts +9 -4
- package/dist/custom.js +57 -9
- package/dist/custom.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +48 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +3171 -485
- package/dist/schemas.js +229 -1
- package/openapi.json +13264 -8071
- package/openapi.yaml +5108 -1550
- package/package.json +1 -1
- package/spec/components/errors.yaml +3 -0
- package/spec/components/schemas/alerts.yaml +138 -0
- package/spec/components/schemas/attributes.yaml +53 -3
- package/spec/components/schemas/common.yaml +10 -0
- package/spec/components/schemas/configs.yaml +91 -3
- package/spec/components/schemas/connectors.yaml +5 -1
- package/spec/components/schemas/errors-api.yaml +51 -4
- package/spec/components/schemas/experiments.yaml +347 -87
- package/spec/components/schemas/gates.yaml +350 -277
- package/spec/components/schemas/i18n.yaml +169 -40
- package/spec/components/schemas/killswitches.yaml +36 -0
- package/spec/components/schemas/metrics.yaml +199 -7
- package/spec/components/schemas/ops.yaml +961 -29
- package/spec/components/schemas/projects.yaml +129 -3
- package/spec/openapi.yaml +58 -0
- package/spec/paths/alerts.yaml +184 -0
- package/spec/paths/attributes.yaml +23 -5
- package/spec/paths/configs.yaml +98 -21
- package/spec/paths/errors.yaml +16 -0
- package/spec/paths/experiments.yaml +236 -16
- package/spec/paths/gates.yaml +137 -0
- package/spec/paths/i18n.yaml +290 -6
- package/spec/paths/killswitches.yaml +6 -0
- package/spec/paths/metrics.yaml +186 -0
- package/spec/paths/ops.yaml +382 -0
- package/spec/paths/projects.yaml +60 -0
- package/dist/chunk-LYNWK55D.js.map +0 -1
- package/dist/chunk-PRN4AEAM.js.map +0 -1
|
@@ -1,15 +1,48 @@
|
|
|
1
1
|
// src/generated/zod.gen.ts
|
|
2
2
|
import * as z from "zod";
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
var zGateApiRow = z.object({
|
|
4
|
+
id: z.string(),
|
|
5
|
+
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
6
|
+
enabled: z.union([
|
|
7
|
+
z.boolean(),
|
|
8
|
+
z.int().gte(0).lte(1)
|
|
9
|
+
]),
|
|
10
|
+
type: z.enum(["targeting", "holdout"]).optional(),
|
|
11
|
+
rolloutPct: z.int().gte(0).lte(1e4),
|
|
12
|
+
rules: z.array(z.object({
|
|
13
|
+
attr: z.string().min(1),
|
|
14
|
+
op: z.enum([
|
|
15
|
+
"eq",
|
|
16
|
+
"neq",
|
|
17
|
+
"in",
|
|
18
|
+
"not_in",
|
|
19
|
+
"gt",
|
|
20
|
+
"gte",
|
|
21
|
+
"lt",
|
|
22
|
+
"lte",
|
|
23
|
+
"contains",
|
|
24
|
+
"regex",
|
|
25
|
+
"semver_gt",
|
|
26
|
+
"semver_gte",
|
|
27
|
+
"semver_lt",
|
|
28
|
+
"semver_lte",
|
|
29
|
+
"gate_pass",
|
|
30
|
+
"exp_in"
|
|
10
31
|
]),
|
|
11
|
-
|
|
12
|
-
|
|
32
|
+
value: z.unknown()
|
|
33
|
+
})).optional(),
|
|
34
|
+
salt: z.string().optional(),
|
|
35
|
+
title: z.string().nullish(),
|
|
36
|
+
description: z.string().nullish(),
|
|
37
|
+
folder: z.string().nullish(),
|
|
38
|
+
groupName: z.string().nullish(),
|
|
39
|
+
ownerEmail: z.string().nullish(),
|
|
40
|
+
stack: z.array(z.union([z.object({
|
|
41
|
+
id: z.string().min(1),
|
|
42
|
+
type: z.literal("condition"),
|
|
43
|
+
name: z.string().optional(),
|
|
44
|
+
fromTemplate: z.string().nullish(),
|
|
45
|
+
pass: z.enum(["all", "any"]).optional(),
|
|
13
46
|
rules: z.array(z.object({
|
|
14
47
|
attr: z.string().min(1),
|
|
15
48
|
op: z.enum([
|
|
@@ -31,69 +64,42 @@ var zListGatesResponse = z.object({
|
|
|
31
64
|
"exp_in"
|
|
32
65
|
]),
|
|
33
66
|
value: z.unknown()
|
|
34
|
-
})).optional(),
|
|
67
|
+
})).optional().default([]),
|
|
68
|
+
rolloutPct: z.int().gte(0).lte(1e4).optional(),
|
|
69
|
+
bucketBy: z.string().optional(),
|
|
35
70
|
salt: z.string().optional(),
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
})).optional().default([]),
|
|
69
|
-
rolloutPct: z.int().gte(0).lte(1e4).optional(),
|
|
70
|
-
bucketBy: z.string().optional(),
|
|
71
|
-
salt: z.string().optional(),
|
|
72
|
-
ramp: z.object({
|
|
73
|
-
from: z.int().gte(0).lte(1e4),
|
|
74
|
-
to: z.int().gte(0).lte(1e4),
|
|
75
|
-
startAt: z.int().gte(0).lte(9007199254740991),
|
|
76
|
-
durationMs: z.int().gt(0).lte(9007199254740991)
|
|
77
|
-
}).optional(),
|
|
78
|
-
locked: z.boolean().optional()
|
|
79
|
-
}), z.object({
|
|
80
|
-
id: z.string().min(1),
|
|
81
|
-
type: z.literal("rollout"),
|
|
82
|
-
name: z.string().optional(),
|
|
83
|
-
fromTemplate: z.string().nullish(),
|
|
84
|
-
rolloutPct: z.int().gte(0).lte(1e4),
|
|
85
|
-
bucketBy: z.string().optional(),
|
|
86
|
-
salt: z.string().optional(),
|
|
87
|
-
ramp: z.object({
|
|
88
|
-
from: z.int().gte(0).lte(1e4),
|
|
89
|
-
to: z.int().gte(0).lte(1e4),
|
|
90
|
-
startAt: z.int().gte(0).lte(9007199254740991),
|
|
91
|
-
durationMs: z.int().gt(0).lte(9007199254740991)
|
|
92
|
-
}).optional(),
|
|
93
|
-
locked: z.boolean().optional()
|
|
94
|
-
})])).nullish(),
|
|
95
|
-
updatedAt: z.string()
|
|
96
|
-
})),
|
|
71
|
+
ramp: z.object({
|
|
72
|
+
from: z.int().gte(0).lte(1e4),
|
|
73
|
+
to: z.int().gte(0).lte(1e4),
|
|
74
|
+
startAt: z.int().gte(0).lte(9007199254740991),
|
|
75
|
+
durationMs: z.int().gt(0).lte(9007199254740991)
|
|
76
|
+
}).optional(),
|
|
77
|
+
locked: z.boolean().optional(),
|
|
78
|
+
whitelist: z.boolean().optional()
|
|
79
|
+
}), z.object({
|
|
80
|
+
id: z.string().min(1),
|
|
81
|
+
type: z.literal("rollout"),
|
|
82
|
+
name: z.string().optional(),
|
|
83
|
+
fromTemplate: z.string().nullish(),
|
|
84
|
+
rolloutPct: z.int().gte(0).lte(1e4),
|
|
85
|
+
bucketBy: z.string().optional(),
|
|
86
|
+
salt: z.string().optional(),
|
|
87
|
+
ramp: z.object({
|
|
88
|
+
from: z.int().gte(0).lte(1e4),
|
|
89
|
+
to: z.int().gte(0).lte(1e4),
|
|
90
|
+
startAt: z.int().gte(0).lte(9007199254740991),
|
|
91
|
+
durationMs: z.int().gt(0).lte(9007199254740991)
|
|
92
|
+
}).optional(),
|
|
93
|
+
locked: z.boolean().optional()
|
|
94
|
+
})])).nullish(),
|
|
95
|
+
updatedAt: z.string(),
|
|
96
|
+
creatorEmail: z.string().nullable(),
|
|
97
|
+
updaterEmail: z.string().nullable(),
|
|
98
|
+
version: z.int().gte(1).lte(9007199254740991),
|
|
99
|
+
createdAt: z.string().nullable()
|
|
100
|
+
});
|
|
101
|
+
var zListGatesResponse = z.object({
|
|
102
|
+
data: z.array(zGateApiRow),
|
|
97
103
|
next_cursor: z.string().nullable()
|
|
98
104
|
});
|
|
99
105
|
var zErrorCode = z.enum([
|
|
@@ -120,7 +126,8 @@ var zErrorCode = z.enum([
|
|
|
120
126
|
"EXPERIMENT_RUNNING_ARCHIVE",
|
|
121
127
|
"EXPERIMENT_IMMUTABLE_FIELD",
|
|
122
128
|
"METRIC_NOT_FOUND",
|
|
123
|
-
"METRIC_UNKNOWN_ID"
|
|
129
|
+
"METRIC_UNKNOWN_ID",
|
|
130
|
+
"AGENT_NOT_CONNECTED"
|
|
124
131
|
]);
|
|
125
132
|
var zError = z.object({
|
|
126
133
|
error: z.string(),
|
|
@@ -197,7 +204,8 @@ var zCreateGateRequest = z.object({
|
|
|
197
204
|
startAt: z.int().gte(0).lte(9007199254740991),
|
|
198
205
|
durationMs: z.int().gt(0).lte(9007199254740991)
|
|
199
206
|
}).optional(),
|
|
200
|
-
locked: z.boolean().optional()
|
|
207
|
+
locked: z.boolean().optional(),
|
|
208
|
+
whitelist: z.boolean().optional()
|
|
201
209
|
}), z.object({
|
|
202
210
|
id: z.string().min(1),
|
|
203
211
|
type: z.literal("rollout"),
|
|
@@ -292,7 +300,8 @@ var zUpdateGateRequest = z.object({
|
|
|
292
300
|
startAt: z.int().gte(0).lte(9007199254740991),
|
|
293
301
|
durationMs: z.int().gt(0).lte(9007199254740991)
|
|
294
302
|
}).optional(),
|
|
295
|
-
locked: z.boolean().optional()
|
|
303
|
+
locked: z.boolean().optional(),
|
|
304
|
+
whitelist: z.boolean().optional()
|
|
296
305
|
}), z.object({
|
|
297
306
|
id: z.string().min(1),
|
|
298
307
|
type: z.literal("rollout"),
|
|
@@ -326,6 +335,18 @@ var zDisableGateResponse = z.object({
|
|
|
326
335
|
id: z.string(),
|
|
327
336
|
enabled: z.boolean()
|
|
328
337
|
});
|
|
338
|
+
var zListGateActivityResponse = z.array(z.object({
|
|
339
|
+
id: z.string(),
|
|
340
|
+
action: z.string(),
|
|
341
|
+
actorEmail: z.string(),
|
|
342
|
+
actorType: z.enum([
|
|
343
|
+
"user",
|
|
344
|
+
"cli",
|
|
345
|
+
"system"
|
|
346
|
+
]),
|
|
347
|
+
payload: z.unknown(),
|
|
348
|
+
createdAt: z.string()
|
|
349
|
+
}));
|
|
329
350
|
var zExperimentApiRow = z.object({
|
|
330
351
|
id: z.string(),
|
|
331
352
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
@@ -535,6 +556,31 @@ var zSetExperimentMetricsResponse = z.object({
|
|
|
535
556
|
min_effect_of_interest: z.number().nullable()
|
|
536
557
|
}))
|
|
537
558
|
});
|
|
559
|
+
var zExperimentResultRow = z.object({
|
|
560
|
+
metric: z.string(),
|
|
561
|
+
groupName: z.string(),
|
|
562
|
+
ds: z.string(),
|
|
563
|
+
n: z.int().nullable(),
|
|
564
|
+
mean: z.number().nullable(),
|
|
565
|
+
variance: z.number().nullable(),
|
|
566
|
+
delta: z.number().nullable(),
|
|
567
|
+
deltaPct: z.number().nullable(),
|
|
568
|
+
ci95Low: z.number().nullable(),
|
|
569
|
+
ci95High: z.number().nullable(),
|
|
570
|
+
ci99Low: z.number().nullable(),
|
|
571
|
+
ci99High: z.number().nullable(),
|
|
572
|
+
ciLow: z.number().nullable(),
|
|
573
|
+
ciHigh: z.number().nullable(),
|
|
574
|
+
pValue: z.number().nullable(),
|
|
575
|
+
expectedN: z.int().nullable(),
|
|
576
|
+
realizedMde: z.number().nullable(),
|
|
577
|
+
srmPValue: z.number().nullable(),
|
|
578
|
+
srmDetected: z.int(),
|
|
579
|
+
msprtSignificant: z.int().nullable(),
|
|
580
|
+
msprtLambda: z.number().nullable(),
|
|
581
|
+
isFinal: z.int(),
|
|
582
|
+
peekWarning: z.int()
|
|
583
|
+
});
|
|
538
584
|
var zGetExperimentResultsResponse = z.object({
|
|
539
585
|
experiment: z.object({
|
|
540
586
|
id: z.string(),
|
|
@@ -546,17 +592,7 @@ var zGetExperimentResultsResponse = z.object({
|
|
|
546
592
|
"archived"
|
|
547
593
|
])
|
|
548
594
|
}),
|
|
549
|
-
results: z.array(
|
|
550
|
-
metric: z.string(),
|
|
551
|
-
group_name: z.string(),
|
|
552
|
-
ds: z.string(),
|
|
553
|
-
n: z.number().nullable(),
|
|
554
|
-
mean: z.number().nullable(),
|
|
555
|
-
delta_pct: z.number().nullable(),
|
|
556
|
-
p_value: z.number().nullable(),
|
|
557
|
-
srm_detected: z.number().nullable(),
|
|
558
|
-
realized_mde: z.number().nullable()
|
|
559
|
-
})),
|
|
595
|
+
results: z.array(zExperimentResultRow),
|
|
560
596
|
verdict: z.enum([
|
|
561
597
|
"ship",
|
|
562
598
|
"hold",
|
|
@@ -576,27 +612,82 @@ var zGetExperimentTimeseriesResponse = z.object({
|
|
|
576
612
|
"archived"
|
|
577
613
|
])
|
|
578
614
|
}),
|
|
579
|
-
series: z.array(
|
|
580
|
-
metric: z.string(),
|
|
581
|
-
group_name: z.string(),
|
|
582
|
-
ds: z.string(),
|
|
583
|
-
n: z.number().nullable(),
|
|
584
|
-
mean: z.number().nullable(),
|
|
585
|
-
delta_pct: z.number().nullable(),
|
|
586
|
-
p_value: z.number().nullable(),
|
|
587
|
-
srm_detected: z.number().nullable()
|
|
588
|
-
}))
|
|
615
|
+
series: z.array(zExperimentResultRow)
|
|
589
616
|
});
|
|
590
617
|
var zReanalyzeExperimentResponse = z.object({
|
|
591
618
|
id: z.string(),
|
|
592
|
-
queued: z.
|
|
619
|
+
queued: z.boolean()
|
|
620
|
+
});
|
|
621
|
+
var zCreateExperimentReadoutRequest = z.object({
|
|
622
|
+
kind: z.enum([
|
|
623
|
+
"manual",
|
|
624
|
+
"ship",
|
|
625
|
+
"stop"
|
|
626
|
+
]),
|
|
627
|
+
acknowledgedCaveatIds: z.array(z.string()).optional(),
|
|
628
|
+
requireAllAcknowledged: z.boolean().optional()
|
|
629
|
+
});
|
|
630
|
+
var zCreateExperimentReadoutResponse = z.object({
|
|
631
|
+
id: z.string()
|
|
632
|
+
});
|
|
633
|
+
var zExperimentReadoutMetric = z.object({
|
|
634
|
+
name: z.string(),
|
|
635
|
+
role: z.enum([
|
|
636
|
+
"goal",
|
|
637
|
+
"guardrail",
|
|
638
|
+
"secondary"
|
|
639
|
+
]),
|
|
640
|
+
delta: z.number().nullable(),
|
|
641
|
+
deltaPct: z.number().nullable(),
|
|
642
|
+
ci: z.tuple([z.number(), z.number()]).nullable(),
|
|
643
|
+
p: z.number().nullable(),
|
|
644
|
+
sig: z.boolean(),
|
|
645
|
+
pass: z.boolean().optional()
|
|
646
|
+
});
|
|
647
|
+
var zExperimentReadoutCaveat = z.object({
|
|
648
|
+
id: z.string(),
|
|
649
|
+
severity: z.enum([
|
|
650
|
+
"info",
|
|
651
|
+
"warn",
|
|
652
|
+
"danger"
|
|
653
|
+
]),
|
|
654
|
+
text: z.string(),
|
|
655
|
+
acknowledged: z.boolean()
|
|
656
|
+
});
|
|
657
|
+
var zExperimentReadoutApiRow = z.object({
|
|
658
|
+
id: z.string(),
|
|
659
|
+
experimentId: z.string(),
|
|
660
|
+
experimentName: z.string(),
|
|
661
|
+
kind: z.enum([
|
|
662
|
+
"manual",
|
|
663
|
+
"ship",
|
|
664
|
+
"stop"
|
|
665
|
+
]),
|
|
666
|
+
createdBy: z.string(),
|
|
667
|
+
createdAt: z.string(),
|
|
668
|
+
verdict: z.string(),
|
|
669
|
+
title: z.string(),
|
|
670
|
+
why: z.string(),
|
|
671
|
+
configHash: z.string(),
|
|
672
|
+
metricsJson: z.array(zExperimentReadoutMetric).nullable(),
|
|
673
|
+
caveatsJson: z.array(zExperimentReadoutCaveat).nullable(),
|
|
674
|
+
usersJson: z.object({
|
|
675
|
+
groups: z.array(z.object({
|
|
676
|
+
name: z.string(),
|
|
677
|
+
n: z.number()
|
|
678
|
+
})),
|
|
679
|
+
days: z.number()
|
|
680
|
+
}).nullable()
|
|
593
681
|
});
|
|
594
682
|
var zListConfigsResponse = z.object({
|
|
595
683
|
data: z.array(z.object({
|
|
596
684
|
id: z.string(),
|
|
597
685
|
name: z.string().max(128),
|
|
598
686
|
description: z.string().nullable(),
|
|
687
|
+
folder: z.string().nullable(),
|
|
599
688
|
schema: z.record(z.string(), z.unknown()),
|
|
689
|
+
creatorEmail: z.string().nullish(),
|
|
690
|
+
createdAt: z.string().nullish(),
|
|
600
691
|
updatedAt: z.string(),
|
|
601
692
|
envs: z.record(z.string(), z.object({
|
|
602
693
|
version: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
@@ -619,7 +710,10 @@ var zCreateConfigRequest = z.object({
|
|
|
619
710
|
description: z.string().max(512).optional(),
|
|
620
711
|
folder: zFolder.optional(),
|
|
621
712
|
schema: z.record(z.string(), z.unknown()),
|
|
622
|
-
value: z.unknown().optional()
|
|
713
|
+
value: z.record(z.string(), z.unknown()).optional(),
|
|
714
|
+
dev: z.record(z.string(), z.unknown()).optional(),
|
|
715
|
+
staging: z.record(z.string(), z.unknown()).optional(),
|
|
716
|
+
prod: z.record(z.string(), z.unknown()).optional()
|
|
623
717
|
});
|
|
624
718
|
var zCreateConfigResponse = z.object({
|
|
625
719
|
id: z.string(),
|
|
@@ -629,7 +723,10 @@ var zGetConfigResponse = z.object({
|
|
|
629
723
|
id: z.string(),
|
|
630
724
|
name: z.string().max(128),
|
|
631
725
|
description: z.string().nullable(),
|
|
726
|
+
folder: z.string().nullable(),
|
|
632
727
|
schema: z.record(z.string(), z.unknown()),
|
|
728
|
+
creatorEmail: z.string().nullish(),
|
|
729
|
+
createdAt: z.string().nullish(),
|
|
633
730
|
updatedAt: z.string(),
|
|
634
731
|
envs: z.record(z.string(), z.object({
|
|
635
732
|
version: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
@@ -649,7 +746,10 @@ var zDeleteConfigResponse = z.object({
|
|
|
649
746
|
});
|
|
650
747
|
var zUpdateConfigRequest = z.object({
|
|
651
748
|
schema: z.record(z.string(), z.unknown()).optional(),
|
|
652
|
-
value: z.unknown().optional(),
|
|
749
|
+
value: z.record(z.string(), z.unknown()).optional(),
|
|
750
|
+
dev: z.record(z.string(), z.unknown()).optional(),
|
|
751
|
+
staging: z.record(z.string(), z.unknown()).optional(),
|
|
752
|
+
prod: z.record(z.string(), z.unknown()).optional(),
|
|
653
753
|
folder: zFolder.optional()
|
|
654
754
|
});
|
|
655
755
|
var zUpdateConfigResponse = z.object({
|
|
@@ -662,7 +762,7 @@ var zEnv = z.enum([
|
|
|
662
762
|
]);
|
|
663
763
|
var zSaveConfigDraftRequest = z.object({
|
|
664
764
|
env: zEnv,
|
|
665
|
-
value: z.unknown()
|
|
765
|
+
value: z.record(z.string(), z.unknown())
|
|
666
766
|
});
|
|
667
767
|
var zSaveConfigDraftResponse = z.object({
|
|
668
768
|
id: z.string(),
|
|
@@ -702,11 +802,20 @@ var zUpdateConfigSchemaRequest = z.object({
|
|
|
702
802
|
var zUpdateConfigSchemaResponse = z.object({
|
|
703
803
|
id: z.string()
|
|
704
804
|
});
|
|
805
|
+
var zListConfigVersionsResponse = z.array(z.object({
|
|
806
|
+
version: z.int().gte(1).lte(9007199254740991),
|
|
807
|
+
value: z.unknown(),
|
|
808
|
+
publishedAt: z.string(),
|
|
809
|
+
publishedBy: z.string()
|
|
810
|
+
}));
|
|
705
811
|
var zListKillswitchesResponse = z.object({
|
|
706
812
|
data: z.array(z.object({
|
|
707
813
|
id: z.string(),
|
|
708
814
|
name: z.string().max(128),
|
|
709
815
|
description: z.string().nullable(),
|
|
816
|
+
folder: z.string().nullable(),
|
|
817
|
+
creatorEmail: z.string().nullable(),
|
|
818
|
+
createdAt: z.string().nullable(),
|
|
710
819
|
updatedAt: z.string(),
|
|
711
820
|
envs: z.record(z.string(), z.object({
|
|
712
821
|
value: z.boolean(),
|
|
@@ -733,6 +842,9 @@ var zGetKillswitchResponse = z.object({
|
|
|
733
842
|
id: z.string(),
|
|
734
843
|
name: z.string().max(128),
|
|
735
844
|
description: z.string().nullable(),
|
|
845
|
+
folder: z.string().nullable(),
|
|
846
|
+
creatorEmail: z.string().nullable(),
|
|
847
|
+
createdAt: z.string().nullable(),
|
|
736
848
|
updatedAt: z.string(),
|
|
737
849
|
envs: z.record(z.string(), z.object({
|
|
738
850
|
value: z.boolean(),
|
|
@@ -930,10 +1042,6 @@ var zUpdateGateTemplateRequest = z.object({
|
|
|
930
1042
|
var zUpdateGateTemplateResponse = z.object({
|
|
931
1043
|
id: z.string()
|
|
932
1044
|
});
|
|
933
|
-
var zListAttributesResponse = z.array(z.object({
|
|
934
|
-
name: z.string(),
|
|
935
|
-
type: z.string().optional()
|
|
936
|
-
}));
|
|
937
1045
|
var zAttributeType = z.enum([
|
|
938
1046
|
"string",
|
|
939
1047
|
"number",
|
|
@@ -941,6 +1049,19 @@ var zAttributeType = z.enum([
|
|
|
941
1049
|
"enum",
|
|
942
1050
|
"date"
|
|
943
1051
|
]);
|
|
1052
|
+
var zListAttributesResponse = z.array(z.object({
|
|
1053
|
+
id: z.string(),
|
|
1054
|
+
name: z.string(),
|
|
1055
|
+
type: zAttributeType,
|
|
1056
|
+
enumValues: z.array(z.string()).nullish(),
|
|
1057
|
+
required: z.union([z.literal(0), z.literal(1)]).optional(),
|
|
1058
|
+
description: z.string().nullish(),
|
|
1059
|
+
sdkPath: z.string().nullish(),
|
|
1060
|
+
createdAt: z.string().optional(),
|
|
1061
|
+
source: z.enum(["auto", "manual"]).optional(),
|
|
1062
|
+
lastSeenAt: z.string().nullish(),
|
|
1063
|
+
deprecated: z.union([z.literal(0), z.literal(1)]).optional()
|
|
1064
|
+
}));
|
|
944
1065
|
var zCreateAttributeRequest = z.object({
|
|
945
1066
|
name: z.string().regex(/^[a-z0-9][a-z0-9_-]{0,63}$/),
|
|
946
1067
|
type: zAttributeType,
|
|
@@ -1069,7 +1190,14 @@ var zListMetricsResponse = z.array(z.object({
|
|
|
1069
1190
|
folder: z.string().nullable(),
|
|
1070
1191
|
eventName: z.string(),
|
|
1071
1192
|
query: z.string().nullable(),
|
|
1072
|
-
queryIr: zQueryIr,
|
|
1193
|
+
queryIr: zQueryIr.nullable(),
|
|
1194
|
+
displayName: z.string().nullable(),
|
|
1195
|
+
presetId: z.string().nullable(),
|
|
1196
|
+
unit: z.string().nullable(),
|
|
1197
|
+
version: z.int(),
|
|
1198
|
+
deletedAt: z.string().nullable(),
|
|
1199
|
+
creatorEmail: z.string().nullish(),
|
|
1200
|
+
updaterEmail: z.string().nullish(),
|
|
1073
1201
|
direction: z.enum([
|
|
1074
1202
|
"higher_better",
|
|
1075
1203
|
"lower_better",
|
|
@@ -1077,7 +1205,7 @@ var zListMetricsResponse = z.array(z.object({
|
|
|
1077
1205
|
]).optional(),
|
|
1078
1206
|
winsorizePct: z.number().optional(),
|
|
1079
1207
|
defaultMinEffectOfInterest: z.number().nullish(),
|
|
1080
|
-
createdAt: z.string().
|
|
1208
|
+
createdAt: z.string().nullish(),
|
|
1081
1209
|
updatedAt: z.string().optional()
|
|
1082
1210
|
}));
|
|
1083
1211
|
var zMetricEventName = z.string().min(1);
|
|
@@ -1089,6 +1217,7 @@ var zMetricDirection = z.enum([
|
|
|
1089
1217
|
"lower_better",
|
|
1090
1218
|
"neutral"
|
|
1091
1219
|
]).default("higher_better");
|
|
1220
|
+
var zMetricDisplayUnit = z.string().nullable();
|
|
1092
1221
|
var zCreateMetricWithQuery = z.object({
|
|
1093
1222
|
name: zMetricName,
|
|
1094
1223
|
folder: zFolder.optional(),
|
|
@@ -1096,7 +1225,8 @@ var zCreateMetricWithQuery = z.object({
|
|
|
1096
1225
|
query: zMetricQueryDsl,
|
|
1097
1226
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1098
1227
|
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1099
|
-
direction: zMetricDirection.optional()
|
|
1228
|
+
direction: zMetricDirection.optional(),
|
|
1229
|
+
unit: zMetricDisplayUnit.optional()
|
|
1100
1230
|
});
|
|
1101
1231
|
var zCreateMetricWithQueryIr = z.object({
|
|
1102
1232
|
name: zMetricName,
|
|
@@ -1105,7 +1235,8 @@ var zCreateMetricWithQueryIr = z.object({
|
|
|
1105
1235
|
query_ir: zQueryIr,
|
|
1106
1236
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1107
1237
|
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1108
|
-
direction: zMetricDirection.optional()
|
|
1238
|
+
direction: zMetricDirection.optional(),
|
|
1239
|
+
unit: zMetricDisplayUnit.optional()
|
|
1109
1240
|
});
|
|
1110
1241
|
var zCreateMetricRequest = z.union([
|
|
1111
1242
|
zCreateMetricWithQuery,
|
|
@@ -1121,7 +1252,12 @@ var zGetMetricResponse = z.object({
|
|
|
1121
1252
|
folder: z.string().nullable(),
|
|
1122
1253
|
eventName: z.string(),
|
|
1123
1254
|
query: z.string().nullable(),
|
|
1124
|
-
queryIr: zQueryIr,
|
|
1255
|
+
queryIr: zQueryIr.nullable(),
|
|
1256
|
+
displayName: z.string().nullable(),
|
|
1257
|
+
presetId: z.string().nullable(),
|
|
1258
|
+
unit: z.string().nullable(),
|
|
1259
|
+
version: z.int(),
|
|
1260
|
+
deletedAt: z.string().nullable(),
|
|
1125
1261
|
direction: z.enum([
|
|
1126
1262
|
"higher_better",
|
|
1127
1263
|
"lower_better",
|
|
@@ -1129,7 +1265,7 @@ var zGetMetricResponse = z.object({
|
|
|
1129
1265
|
]).optional(),
|
|
1130
1266
|
winsorizePct: z.number().optional(),
|
|
1131
1267
|
defaultMinEffectOfInterest: z.number().nullish(),
|
|
1132
|
-
createdAt: z.string().
|
|
1268
|
+
createdAt: z.string().nullish(),
|
|
1133
1269
|
updatedAt: z.string().optional()
|
|
1134
1270
|
});
|
|
1135
1271
|
var zDeleteMetricResponse = z.object({
|
|
@@ -1141,7 +1277,8 @@ var zUpdateMetricWithQuery = z.object({
|
|
|
1141
1277
|
query: zMetricQueryDsl,
|
|
1142
1278
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1143
1279
|
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1144
|
-
direction: zMetricDirection.optional()
|
|
1280
|
+
direction: zMetricDirection.optional(),
|
|
1281
|
+
unit: zMetricDisplayUnit.optional()
|
|
1145
1282
|
});
|
|
1146
1283
|
var zUpdateMetricWithQueryIr = z.object({
|
|
1147
1284
|
folder: zFolder.optional(),
|
|
@@ -1149,20 +1286,54 @@ var zUpdateMetricWithQueryIr = z.object({
|
|
|
1149
1286
|
query_ir: zQueryIr,
|
|
1150
1287
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1151
1288
|
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1152
|
-
direction: zMetricDirection.optional()
|
|
1289
|
+
direction: zMetricDirection.optional(),
|
|
1290
|
+
unit: zMetricDisplayUnit.optional()
|
|
1153
1291
|
});
|
|
1154
1292
|
var zUpdateMetricFields = z.object({
|
|
1155
1293
|
folder: zFolder.optional(),
|
|
1156
1294
|
event_name: zMetricEventName.optional(),
|
|
1157
1295
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1158
1296
|
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1159
|
-
direction: zMetricDirection.optional()
|
|
1297
|
+
direction: zMetricDirection.optional(),
|
|
1298
|
+
unit: zMetricDisplayUnit.optional()
|
|
1160
1299
|
});
|
|
1161
1300
|
var zUpdateMetricRequest = z.union([
|
|
1162
1301
|
zUpdateMetricWithQuery,
|
|
1163
1302
|
zUpdateMetricWithQueryIr,
|
|
1164
1303
|
zUpdateMetricFields
|
|
1165
1304
|
]);
|
|
1305
|
+
var zListMetricExperimentsResponse = z.object({
|
|
1306
|
+
experiments: z.array(z.object({
|
|
1307
|
+
id: z.string(),
|
|
1308
|
+
name: z.string(),
|
|
1309
|
+
status: z.enum([
|
|
1310
|
+
"draft",
|
|
1311
|
+
"running",
|
|
1312
|
+
"stopped",
|
|
1313
|
+
"archived"
|
|
1314
|
+
]),
|
|
1315
|
+
role: z.enum([
|
|
1316
|
+
"goal",
|
|
1317
|
+
"guardrail",
|
|
1318
|
+
"secondary"
|
|
1319
|
+
])
|
|
1320
|
+
}))
|
|
1321
|
+
});
|
|
1322
|
+
var zUnarchiveMetricResponse = z.object({
|
|
1323
|
+
ok: z.literal(true)
|
|
1324
|
+
});
|
|
1325
|
+
var zGetMetricSeriesRequest = z.object({
|
|
1326
|
+
from: z.int().gte(0),
|
|
1327
|
+
to: z.int().gte(0),
|
|
1328
|
+
bucket: z.int().gte(60).lte(86400).optional().default(3600)
|
|
1329
|
+
});
|
|
1330
|
+
var zGetMetricSeriesResponse = z.object({
|
|
1331
|
+
sql: z.string(),
|
|
1332
|
+
rows: z.array(z.object({
|
|
1333
|
+
t: z.int(),
|
|
1334
|
+
v: z.number()
|
|
1335
|
+
}))
|
|
1336
|
+
});
|
|
1166
1337
|
var zListEventsResponse = z.array(z.object({
|
|
1167
1338
|
id: z.string(),
|
|
1168
1339
|
name: z.string(),
|
|
@@ -1260,7 +1431,9 @@ var zOpsItemStatus = z.enum([
|
|
|
1260
1431
|
"pending_approval",
|
|
1261
1432
|
"triage",
|
|
1262
1433
|
"triaged",
|
|
1434
|
+
"investigating_by_ai",
|
|
1263
1435
|
"in_progress",
|
|
1436
|
+
"blocked",
|
|
1264
1437
|
"ready_for_qa",
|
|
1265
1438
|
"resolved",
|
|
1266
1439
|
"wont_fix"
|
|
@@ -1271,63 +1444,18 @@ var zOpsItemPriority = z.enum([
|
|
|
1271
1444
|
"high",
|
|
1272
1445
|
"critical"
|
|
1273
1446
|
]);
|
|
1274
|
-
var
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
status: zOpsItemStatus,
|
|
1286
|
-
priority: zOpsItemPriority.nullable(),
|
|
1287
|
-
sourceRef: z.string().nullish(),
|
|
1288
|
-
createdAt: z.string()
|
|
1289
|
-
}));
|
|
1290
|
-
var zNotificationTarget = z.object({
|
|
1291
|
-
slackChannel: z.object({
|
|
1292
|
-
id: z.string().min(1),
|
|
1293
|
-
name: z.string().min(1)
|
|
1294
|
-
}).nullish(),
|
|
1295
|
-
email: z.email().nullish()
|
|
1296
|
-
}).nullable();
|
|
1297
|
-
var zCreateBugRequest = z.object({
|
|
1298
|
-
type: z.enum(["bug"]),
|
|
1299
|
-
title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
|
|
1300
|
-
stepsToReproduce: z.string().max(8e3).optional().default(""),
|
|
1301
|
-
actualResult: z.string().max(8e3).optional().default(""),
|
|
1302
|
-
expectedResult: z.string().max(8e3).optional().default(""),
|
|
1303
|
-
priority: zOpsItemPriority.nullish(),
|
|
1304
|
-
reporterEmail: z.email().nullish(),
|
|
1305
|
-
pageUrl: z.url().nullish(),
|
|
1306
|
-
userAgent: z.string().max(500).nullish(),
|
|
1307
|
-
viewport: z.string().max(40).nullish(),
|
|
1308
|
-
context: z.record(z.string(), z.unknown()).nullish(),
|
|
1309
|
-
notify: zNotificationTarget.nullish()
|
|
1310
|
-
});
|
|
1311
|
-
var zCreateFeatureRequestRequest = z.object({
|
|
1312
|
-
type: z.enum(["feature_request"]),
|
|
1313
|
-
title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
|
|
1314
|
-
description: z.string().max(8e3).optional().default(""),
|
|
1315
|
-
useCase: z.string().max(8e3).optional().default(""),
|
|
1316
|
-
priority: zOpsItemPriority.nullish(),
|
|
1317
|
-
reporterEmail: z.email().nullish(),
|
|
1318
|
-
pageUrl: z.url().nullish(),
|
|
1319
|
-
userAgent: z.string().max(500).nullish(),
|
|
1320
|
-
context: z.record(z.string(), z.unknown()).nullish(),
|
|
1321
|
-
notify: zNotificationTarget.nullish()
|
|
1322
|
-
});
|
|
1323
|
-
var zCreateOpsItemRequest = z.discriminatedUnion("type", [
|
|
1324
|
-
zCreateBugRequest.extend({ type: z.literal("bug") }),
|
|
1325
|
-
zCreateFeatureRequestRequest.extend({ type: z.literal("feature_request") })
|
|
1447
|
+
var zOpsInvestigationState = z.enum([
|
|
1448
|
+
"pr_ready",
|
|
1449
|
+
"investigated",
|
|
1450
|
+
"detected",
|
|
1451
|
+
"question",
|
|
1452
|
+
"ready_for_qa",
|
|
1453
|
+
"pending_approval",
|
|
1454
|
+
"needs_triage",
|
|
1455
|
+
"working",
|
|
1456
|
+
"triaged_low",
|
|
1457
|
+
"backlog"
|
|
1326
1458
|
]);
|
|
1327
|
-
var zCreateOpsItemResponse = z.object({
|
|
1328
|
-
id: z.string(),
|
|
1329
|
-
number: z.number().nullish()
|
|
1330
|
-
});
|
|
1331
1459
|
var zOpsBrowserContext = z.object({
|
|
1332
1460
|
pageUrl: z.string().nullish(),
|
|
1333
1461
|
userAgent: z.string().nullish(),
|
|
@@ -1420,23 +1548,22 @@ var zOpsItemContext = z.object({
|
|
|
1420
1548
|
browser: zOpsBrowserContext.optional(),
|
|
1421
1549
|
error: zOpsErrorContext.optional(),
|
|
1422
1550
|
alert: zOpsAlertContext.optional(),
|
|
1423
|
-
measurePlan: zOpsMeasurePlanContext.optional()
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1551
|
+
measurePlan: zOpsMeasurePlanContext.optional(),
|
|
1552
|
+
errorChart: z.object({
|
|
1553
|
+
series: z.array(z.object({
|
|
1554
|
+
t: z.number(),
|
|
1555
|
+
v: z.number()
|
|
1556
|
+
})),
|
|
1557
|
+
domainFrom: z.number(),
|
|
1558
|
+
domainTo: z.number()
|
|
1559
|
+
}).optional()
|
|
1432
1560
|
});
|
|
1433
|
-
var
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
githubPr: z.string().optional()
|
|
1561
|
+
var zGithubPrLink = z.object({
|
|
1562
|
+
number: z.number(),
|
|
1563
|
+
url: z.string(),
|
|
1564
|
+
linkedAt: z.string().optional(),
|
|
1565
|
+
connectedToIssue: z.boolean().optional(),
|
|
1566
|
+
method: z.enum(["closes", "comment"]).optional()
|
|
1440
1567
|
});
|
|
1441
1568
|
var zGithubConnectorData = z.object({
|
|
1442
1569
|
issue: z.object({
|
|
@@ -1446,13 +1573,7 @@ var zGithubConnectorData = z.object({
|
|
|
1446
1573
|
repo: z.string(),
|
|
1447
1574
|
createdAt: z.string().optional()
|
|
1448
1575
|
}).optional(),
|
|
1449
|
-
pr:
|
|
1450
|
-
number: z.number(),
|
|
1451
|
-
url: z.string(),
|
|
1452
|
-
linkedAt: z.string().optional(),
|
|
1453
|
-
connectedToIssue: z.boolean().optional(),
|
|
1454
|
-
method: z.enum(["closes", "comment"]).optional()
|
|
1455
|
-
}).optional()
|
|
1576
|
+
pr: zGithubPrLink.optional()
|
|
1456
1577
|
});
|
|
1457
1578
|
var zSlackConnectorData = z.object({
|
|
1458
1579
|
message: z.object({
|
|
@@ -1461,9 +1582,147 @@ var zSlackConnectorData = z.object({
|
|
|
1461
1582
|
postedAt: z.string().optional()
|
|
1462
1583
|
}).optional()
|
|
1463
1584
|
});
|
|
1464
|
-
var zConnectorData = z.object({
|
|
1465
|
-
github: zGithubConnectorData.optional(),
|
|
1466
|
-
slack: zSlackConnectorData.optional()
|
|
1585
|
+
var zConnectorData = z.object({
|
|
1586
|
+
github: zGithubConnectorData.optional(),
|
|
1587
|
+
slack: zSlackConnectorData.optional()
|
|
1588
|
+
});
|
|
1589
|
+
var zNotificationTarget = z.object({
|
|
1590
|
+
slackChannel: z.object({
|
|
1591
|
+
id: z.string().min(1),
|
|
1592
|
+
name: z.string().min(1)
|
|
1593
|
+
}).nullish(),
|
|
1594
|
+
email: z.email().nullish()
|
|
1595
|
+
}).nullable();
|
|
1596
|
+
var zOpsItemOwner = z.object({
|
|
1597
|
+
user: z.object({
|
|
1598
|
+
id: z.string(),
|
|
1599
|
+
email: z.string(),
|
|
1600
|
+
name: z.string().nullable()
|
|
1601
|
+
}).nullable(),
|
|
1602
|
+
agent: z.object({
|
|
1603
|
+
connectorId: z.string().nullable(),
|
|
1604
|
+
builtin: z.literal("jarvis").nullable(),
|
|
1605
|
+
provider: z.enum([
|
|
1606
|
+
"claude_trigger",
|
|
1607
|
+
"cursor_trigger",
|
|
1608
|
+
"copilot_trigger",
|
|
1609
|
+
"jules_trigger",
|
|
1610
|
+
"jarvis"
|
|
1611
|
+
]),
|
|
1612
|
+
name: z.string()
|
|
1613
|
+
}).nullable()
|
|
1614
|
+
});
|
|
1615
|
+
var zOpsRunAction = z.enum([
|
|
1616
|
+
"link_pr",
|
|
1617
|
+
"notify",
|
|
1618
|
+
"status",
|
|
1619
|
+
"superseded"
|
|
1620
|
+
]);
|
|
1621
|
+
var zOpsRunActionOrNull = zOpsRunAction.nullable();
|
|
1622
|
+
var zOpsRun = z.object({
|
|
1623
|
+
id: z.string(),
|
|
1624
|
+
agent: z.string().nullable(),
|
|
1625
|
+
connectorId: z.string().nullable(),
|
|
1626
|
+
ackedBy: z.string().nullable(),
|
|
1627
|
+
sessionId: z.string().nullable(),
|
|
1628
|
+
sessionUrl: z.string().nullable(),
|
|
1629
|
+
startedAt: z.string(),
|
|
1630
|
+
completedAt: z.string().nullable(),
|
|
1631
|
+
completedAction: zOpsRunActionOrNull,
|
|
1632
|
+
prNumber: z.number().nullable(),
|
|
1633
|
+
prUrl: z.string().nullable()
|
|
1634
|
+
});
|
|
1635
|
+
var zListOpsItemsResponse = z.array(z.object({
|
|
1636
|
+
id: z.string(),
|
|
1637
|
+
number: z.number().nullable(),
|
|
1638
|
+
type: z.enum([
|
|
1639
|
+
"bug",
|
|
1640
|
+
"feature_request",
|
|
1641
|
+
"error",
|
|
1642
|
+
"alert",
|
|
1643
|
+
"measure_plan"
|
|
1644
|
+
]),
|
|
1645
|
+
title: z.string(),
|
|
1646
|
+
status: zOpsItemStatus,
|
|
1647
|
+
priority: zOpsItemPriority.nullable(),
|
|
1648
|
+
sourceRef: z.string().nullish(),
|
|
1649
|
+
investigationState: zOpsInvestigationState.nullish(),
|
|
1650
|
+
source: z.enum(["team", "system"]),
|
|
1651
|
+
reporterEmail: z.string().nullish(),
|
|
1652
|
+
stepsToReproduce: z.string().optional(),
|
|
1653
|
+
actualResult: z.string().optional(),
|
|
1654
|
+
expectedResult: z.string().optional(),
|
|
1655
|
+
description: z.string().optional(),
|
|
1656
|
+
useCase: z.string().optional(),
|
|
1657
|
+
context: zOpsItemContext.nullish(),
|
|
1658
|
+
connectorData: zConnectorData.nullish(),
|
|
1659
|
+
notify: zNotificationTarget.nullish(),
|
|
1660
|
+
assigneeId: z.string().nullish(),
|
|
1661
|
+
assigneeConnectorId: z.string().nullish(),
|
|
1662
|
+
assigneeAgent: z.string().nullish(),
|
|
1663
|
+
owner: zOpsItemOwner,
|
|
1664
|
+
run: zOpsRun.nullable(),
|
|
1665
|
+
lastRun: zOpsRun.nullable(),
|
|
1666
|
+
createdAt: z.string(),
|
|
1667
|
+
updatedAt: z.string()
|
|
1668
|
+
}));
|
|
1669
|
+
var zCreateBugRequest = z.object({
|
|
1670
|
+
type: z.enum(["bug"]),
|
|
1671
|
+
title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
|
|
1672
|
+
stepsToReproduce: z.string().max(8e3).optional().default(""),
|
|
1673
|
+
actualResult: z.string().max(8e3).optional().default(""),
|
|
1674
|
+
expectedResult: z.string().max(8e3).optional().default(""),
|
|
1675
|
+
priority: zOpsItemPriority.nullish(),
|
|
1676
|
+
status: zOpsItemStatus.optional(),
|
|
1677
|
+
assigneeId: z.string().nullish(),
|
|
1678
|
+
subscribers: z.array(z.email()).optional().default([]),
|
|
1679
|
+
tags: z.array(z.string()).optional().default([]),
|
|
1680
|
+
reporterEmail: z.email().nullish(),
|
|
1681
|
+
pageUrl: z.url().nullish(),
|
|
1682
|
+
userAgent: z.string().max(500).nullish(),
|
|
1683
|
+
viewport: z.string().max(40).nullish(),
|
|
1684
|
+
context: z.record(z.string(), z.unknown()).nullish(),
|
|
1685
|
+
notify: zNotificationTarget.nullish()
|
|
1686
|
+
});
|
|
1687
|
+
var zCreateFeatureRequestRequest = z.object({
|
|
1688
|
+
type: z.enum(["feature_request"]),
|
|
1689
|
+
title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
|
|
1690
|
+
description: z.string().max(8e3).optional().default(""),
|
|
1691
|
+
useCase: z.string().max(8e3).optional().default(""),
|
|
1692
|
+
priority: zOpsItemPriority.nullish(),
|
|
1693
|
+
status: zOpsItemStatus.optional(),
|
|
1694
|
+
assigneeId: z.string().nullish(),
|
|
1695
|
+
subscribers: z.array(z.email()).optional().default([]),
|
|
1696
|
+
tags: z.array(z.string()).optional().default([]),
|
|
1697
|
+
reporterEmail: z.email().nullish(),
|
|
1698
|
+
pageUrl: z.url().nullish(),
|
|
1699
|
+
userAgent: z.string().max(500).nullish(),
|
|
1700
|
+
context: z.record(z.string(), z.unknown()).nullish(),
|
|
1701
|
+
notify: zNotificationTarget.nullish()
|
|
1702
|
+
});
|
|
1703
|
+
var zCreateOpsItemRequest = z.discriminatedUnion("type", [
|
|
1704
|
+
zCreateBugRequest.extend({ type: z.literal("bug") }),
|
|
1705
|
+
zCreateFeatureRequestRequest.extend({ type: z.literal("feature_request") })
|
|
1706
|
+
]);
|
|
1707
|
+
var zCreateOpsItemResponse = z.object({
|
|
1708
|
+
id: z.string(),
|
|
1709
|
+
number: z.number().nullish()
|
|
1710
|
+
});
|
|
1711
|
+
var zOpsItemAttachment = z.object({
|
|
1712
|
+
id: z.string(),
|
|
1713
|
+
kind: z.string(),
|
|
1714
|
+
filename: z.string(),
|
|
1715
|
+
mimeType: z.string(),
|
|
1716
|
+
sizeBytes: z.number(),
|
|
1717
|
+
fetchUrl: z.string()
|
|
1718
|
+
});
|
|
1719
|
+
var zOpsItemRelated = z.object({
|
|
1720
|
+
dashboard: z.string().optional(),
|
|
1721
|
+
error: z.string().optional(),
|
|
1722
|
+
alertRule: z.string().optional(),
|
|
1723
|
+
metric: z.string().optional(),
|
|
1724
|
+
githubIssue: z.string().optional(),
|
|
1725
|
+
githubPr: z.string().optional()
|
|
1467
1726
|
});
|
|
1468
1727
|
var zGetOpsItemResponse = z.object({
|
|
1469
1728
|
id: z.string(),
|
|
@@ -1480,6 +1739,7 @@ var zGetOpsItemResponse = z.object({
|
|
|
1480
1739
|
priority: zOpsItemPriority.nullable(),
|
|
1481
1740
|
source: z.enum(["team", "system"]).optional(),
|
|
1482
1741
|
sourceRef: z.string().nullish(),
|
|
1742
|
+
investigationState: zOpsInvestigationState.nullish(),
|
|
1483
1743
|
reporterEmail: z.string().nullish(),
|
|
1484
1744
|
stepsToReproduce: z.string().optional(),
|
|
1485
1745
|
actualResult: z.string().optional(),
|
|
@@ -1491,9 +1751,16 @@ var zGetOpsItemResponse = z.object({
|
|
|
1491
1751
|
related: zOpsItemRelated,
|
|
1492
1752
|
connectorData: zConnectorData.nullish(),
|
|
1493
1753
|
notify: zNotificationTarget.nullish(),
|
|
1754
|
+
assigneeId: z.string().nullish(),
|
|
1755
|
+
assigneeConnectorId: z.string().nullish(),
|
|
1756
|
+
assigneeAgent: z.string().nullish(),
|
|
1757
|
+
owner: zOpsItemOwner,
|
|
1494
1758
|
createdAt: z.string(),
|
|
1495
1759
|
updatedAt: z.string().optional()
|
|
1496
1760
|
});
|
|
1761
|
+
var zDeleteOpsItemResponse = z.object({
|
|
1762
|
+
ok: z.literal(true)
|
|
1763
|
+
});
|
|
1497
1764
|
var zOpsItemPriorityOrNull = zOpsItemPriority.nullable();
|
|
1498
1765
|
var zOpsItemNotifyOrNull = zNotificationTarget.nullable();
|
|
1499
1766
|
var zUpdateBugRequest = z.object({
|
|
@@ -1533,8 +1800,164 @@ var zLinkPrToOpsItemRequest = z.object({
|
|
|
1533
1800
|
prUrl: z.url().optional()
|
|
1534
1801
|
});
|
|
1535
1802
|
var zLinkPrToOpsItemResponse = z.object({
|
|
1536
|
-
id: z.string()
|
|
1803
|
+
id: z.string(),
|
|
1804
|
+
pr: zGithubPrLink.nullable()
|
|
1805
|
+
});
|
|
1806
|
+
var zAckOpsItemRequest = z.object({
|
|
1807
|
+
agent: z.enum([
|
|
1808
|
+
"claude",
|
|
1809
|
+
"cursor",
|
|
1810
|
+
"copilot",
|
|
1811
|
+
"jules",
|
|
1812
|
+
"gemini",
|
|
1813
|
+
"jarvis"
|
|
1814
|
+
]).optional(),
|
|
1815
|
+
sessionId: z.string().max(300).optional()
|
|
1816
|
+
});
|
|
1817
|
+
var zAckOpsItemResponse = z.object({
|
|
1818
|
+
id: z.string(),
|
|
1819
|
+
number: z.number().nullable(),
|
|
1820
|
+
status: z.string(),
|
|
1821
|
+
runId: z.string(),
|
|
1822
|
+
agent: z.string().nullable(),
|
|
1823
|
+
connectorName: z.string().nullable(),
|
|
1824
|
+
sessionId: z.string().nullable(),
|
|
1825
|
+
startedAt: z.string()
|
|
1826
|
+
});
|
|
1827
|
+
var zOpsInvestigation = z.object({
|
|
1828
|
+
id: z.string(),
|
|
1829
|
+
feedbackId: z.string(),
|
|
1830
|
+
kind: z.enum([
|
|
1831
|
+
"investigated",
|
|
1832
|
+
"detected",
|
|
1833
|
+
"question",
|
|
1834
|
+
"ready_for_qa",
|
|
1835
|
+
"working",
|
|
1836
|
+
"note"
|
|
1837
|
+
]),
|
|
1838
|
+
summary: z.string().nullable(),
|
|
1839
|
+
findings: z.string().nullable(),
|
|
1840
|
+
question: z.string().nullable(),
|
|
1841
|
+
qaNotes: z.string().nullable(),
|
|
1842
|
+
agent: z.enum([
|
|
1843
|
+
"jarvis",
|
|
1844
|
+
"claude",
|
|
1845
|
+
"cursor",
|
|
1846
|
+
"copilot",
|
|
1847
|
+
"jules"
|
|
1848
|
+
]).nullable(),
|
|
1849
|
+
model: z.string().nullable(),
|
|
1850
|
+
connectorId: z.string().nullable(),
|
|
1851
|
+
prNumber: z.number().nullable(),
|
|
1852
|
+
prUrl: z.string().nullable(),
|
|
1853
|
+
sources: z.array(z.object({
|
|
1854
|
+
path: z.string().optional(),
|
|
1855
|
+
url: z.string().optional(),
|
|
1856
|
+
label: z.string().optional()
|
|
1857
|
+
})).nullable(),
|
|
1858
|
+
confidence: z.enum([
|
|
1859
|
+
"low",
|
|
1860
|
+
"medium",
|
|
1861
|
+
"high"
|
|
1862
|
+
]).nullable(),
|
|
1863
|
+
tokensUsed: z.number().nullable(),
|
|
1864
|
+
durationMs: z.number().nullable(),
|
|
1865
|
+
visibility: z.enum(["draft", "published"]),
|
|
1866
|
+
startedAt: z.string().nullable(),
|
|
1867
|
+
completedAt: z.string().nullable(),
|
|
1868
|
+
sessionId: z.string().nullable(),
|
|
1869
|
+
sessionUrl: z.string().nullable(),
|
|
1870
|
+
ackedBy: z.string().nullable(),
|
|
1871
|
+
completedAction: zOpsRunActionOrNull,
|
|
1872
|
+
createdAt: z.string(),
|
|
1873
|
+
updatedAt: z.string()
|
|
1874
|
+
});
|
|
1875
|
+
var zListOpsInvestigationsResponse = z.array(zOpsInvestigation);
|
|
1876
|
+
var zCreateOpsInvestigationRequest = z.object({
|
|
1877
|
+
kind: z.enum([
|
|
1878
|
+
"investigated",
|
|
1879
|
+
"detected",
|
|
1880
|
+
"question",
|
|
1881
|
+
"ready_for_qa",
|
|
1882
|
+
"working",
|
|
1883
|
+
"note"
|
|
1884
|
+
]),
|
|
1885
|
+
summary: z.string().max(2e3).optional(),
|
|
1886
|
+
findings: z.string().max(5e4).optional(),
|
|
1887
|
+
question: z.string().max(1e4).optional(),
|
|
1888
|
+
qaNotes: z.string().max(5e4).optional(),
|
|
1889
|
+
agent: z.enum([
|
|
1890
|
+
"jarvis",
|
|
1891
|
+
"claude",
|
|
1892
|
+
"cursor",
|
|
1893
|
+
"copilot",
|
|
1894
|
+
"jules"
|
|
1895
|
+
]).optional(),
|
|
1896
|
+
model: z.string().max(200).optional(),
|
|
1897
|
+
connectorId: z.string().max(200).optional(),
|
|
1898
|
+
prNumber: z.int().optional(),
|
|
1899
|
+
prUrl: z.url().max(2e3).optional(),
|
|
1900
|
+
sources: z.array(z.object({
|
|
1901
|
+
path: z.string().optional(),
|
|
1902
|
+
url: z.string().optional(),
|
|
1903
|
+
label: z.string().optional()
|
|
1904
|
+
})).max(200).optional(),
|
|
1905
|
+
confidence: z.enum([
|
|
1906
|
+
"low",
|
|
1907
|
+
"medium",
|
|
1908
|
+
"high"
|
|
1909
|
+
]).optional(),
|
|
1910
|
+
tokensUsed: z.int().optional(),
|
|
1911
|
+
durationMs: z.int().optional(),
|
|
1912
|
+
visibility: z.enum(["draft", "published"]).optional(),
|
|
1913
|
+
startedAt: z.string().optional(),
|
|
1914
|
+
completedAt: z.string().optional(),
|
|
1915
|
+
sessionId: z.string().max(300).optional()
|
|
1916
|
+
});
|
|
1917
|
+
var zUpdateOpsInvestigationRequest = z.object({
|
|
1918
|
+
kind: z.enum([
|
|
1919
|
+
"investigated",
|
|
1920
|
+
"detected",
|
|
1921
|
+
"question",
|
|
1922
|
+
"ready_for_qa",
|
|
1923
|
+
"working",
|
|
1924
|
+
"note"
|
|
1925
|
+
]).optional(),
|
|
1926
|
+
summary: z.string().max(2e3).optional(),
|
|
1927
|
+
findings: z.string().max(5e4).optional(),
|
|
1928
|
+
question: z.string().max(1e4).optional(),
|
|
1929
|
+
qaNotes: z.string().max(5e4).optional(),
|
|
1930
|
+
model: z.string().max(200).optional(),
|
|
1931
|
+
prNumber: z.int().optional(),
|
|
1932
|
+
prUrl: z.url().max(2e3).optional(),
|
|
1933
|
+
sources: z.array(z.object({
|
|
1934
|
+
path: z.string().optional(),
|
|
1935
|
+
url: z.string().optional(),
|
|
1936
|
+
label: z.string().optional()
|
|
1937
|
+
})).max(200).optional(),
|
|
1938
|
+
confidence: z.enum([
|
|
1939
|
+
"low",
|
|
1940
|
+
"medium",
|
|
1941
|
+
"high"
|
|
1942
|
+
]).optional(),
|
|
1943
|
+
tokensUsed: z.int().optional(),
|
|
1944
|
+
durationMs: z.int().optional(),
|
|
1945
|
+
visibility: z.enum(["draft", "published"]).optional(),
|
|
1946
|
+
completedAt: z.string().optional(),
|
|
1947
|
+
sessionId: z.string().max(300).optional()
|
|
1948
|
+
});
|
|
1949
|
+
var zOpsAgentProfile = z.object({
|
|
1950
|
+
connectorId: z.string(),
|
|
1951
|
+
provider: z.enum([
|
|
1952
|
+
"claude_trigger",
|
|
1953
|
+
"cursor_trigger",
|
|
1954
|
+
"copilot_trigger",
|
|
1955
|
+
"jules_trigger"
|
|
1956
|
+
]),
|
|
1957
|
+
name: z.string(),
|
|
1958
|
+
handle: z.string()
|
|
1537
1959
|
});
|
|
1960
|
+
var zListOpsAgentsResponse = z.array(zOpsAgentProfile);
|
|
1538
1961
|
var zOpsCommentAuthorType = z.enum(["user", "system"]);
|
|
1539
1962
|
var zOpsComment = z.object({
|
|
1540
1963
|
id: z.string(),
|
|
@@ -1644,6 +2067,48 @@ var zUpdateAlertRuleRequest = z.object({
|
|
|
1644
2067
|
var zUpdateAlertRuleResponse = z.object({
|
|
1645
2068
|
id: z.string()
|
|
1646
2069
|
});
|
|
2070
|
+
var zAlertApiRow = z.object({
|
|
2071
|
+
id: z.string(),
|
|
2072
|
+
source: z.enum([
|
|
2073
|
+
"metric_rule",
|
|
2074
|
+
"killswitch_armed",
|
|
2075
|
+
"experiment_srm",
|
|
2076
|
+
"experiment_peek",
|
|
2077
|
+
"guardrail"
|
|
2078
|
+
]),
|
|
2079
|
+
ruleId: z.string().nullable(),
|
|
2080
|
+
severity: z.enum([
|
|
2081
|
+
"danger",
|
|
2082
|
+
"warn",
|
|
2083
|
+
"info"
|
|
2084
|
+
]),
|
|
2085
|
+
dedupeKey: z.string(),
|
|
2086
|
+
title: z.string(),
|
|
2087
|
+
detail: z.string(),
|
|
2088
|
+
href: z.string().nullable(),
|
|
2089
|
+
observedValue: z.number().nullable(),
|
|
2090
|
+
status: z.enum([
|
|
2091
|
+
"active",
|
|
2092
|
+
"resolved",
|
|
2093
|
+
"dismissed"
|
|
2094
|
+
]),
|
|
2095
|
+
createdAt: z.string(),
|
|
2096
|
+
resolvedAt: z.string().nullable(),
|
|
2097
|
+
dismissedAt: z.string().nullable(),
|
|
2098
|
+
assigneeId: z.string().nullable(),
|
|
2099
|
+
assigneeConnectorId: z.string().nullable(),
|
|
2100
|
+
assigneeAgent: z.string().nullable()
|
|
2101
|
+
});
|
|
2102
|
+
var zListAlertsResponse = z.array(zAlertApiRow);
|
|
2103
|
+
var zUpdateAlertRequest = z.object({
|
|
2104
|
+
status: z.enum([
|
|
2105
|
+
"active",
|
|
2106
|
+
"resolved",
|
|
2107
|
+
"dismissed"
|
|
2108
|
+
]).optional(),
|
|
2109
|
+
assigneeId: z.string().nullish(),
|
|
2110
|
+
agent: z.string().nullish()
|
|
2111
|
+
});
|
|
1647
2112
|
var zGetCurrentProjectResponse = z.object({
|
|
1648
2113
|
id: z.string(),
|
|
1649
2114
|
name: z.string(),
|
|
@@ -1686,7 +2151,7 @@ var zGetCurrentProjectResponse = z.object({
|
|
|
1686
2151
|
defaultPower: z.number().optional(),
|
|
1687
2152
|
ciConfidence: z.number().optional(),
|
|
1688
2153
|
defaultAllocationPct: z.int().optional(),
|
|
1689
|
-
|
|
2154
|
+
defaultHoldoutBp: z.int(),
|
|
1690
2155
|
defaultWinsorizePct: z.int().optional(),
|
|
1691
2156
|
defaultMei: z.number().nullish(),
|
|
1692
2157
|
cupedBaselineDays: z.int().optional(),
|
|
@@ -1695,6 +2160,47 @@ var zGetCurrentProjectResponse = z.object({
|
|
|
1695
2160
|
msprtTauMeiFactor: z.number().optional(),
|
|
1696
2161
|
msprtTauSdFactor: z.number().optional(),
|
|
1697
2162
|
srmThreshold: z.number().optional(),
|
|
2163
|
+
slug: z.string().nullable(),
|
|
2164
|
+
logo: z.string().nullable(),
|
|
2165
|
+
defaultEnv: z.enum([
|
|
2166
|
+
"dev",
|
|
2167
|
+
"staging",
|
|
2168
|
+
"prod"
|
|
2169
|
+
]),
|
|
2170
|
+
timezone: z.string(),
|
|
2171
|
+
statMethod: z.enum([
|
|
2172
|
+
"sequential",
|
|
2173
|
+
"fixed",
|
|
2174
|
+
"bayesian"
|
|
2175
|
+
]),
|
|
2176
|
+
sigThreshold: z.string(),
|
|
2177
|
+
autoRollback: z.boolean(),
|
|
2178
|
+
minSampleDays: z.int(),
|
|
2179
|
+
moduleUser: z.union([
|
|
2180
|
+
z.boolean(),
|
|
2181
|
+
z.number()
|
|
2182
|
+
]),
|
|
2183
|
+
moduleEvents: z.union([
|
|
2184
|
+
z.boolean(),
|
|
2185
|
+
z.number()
|
|
2186
|
+
]),
|
|
2187
|
+
allowPublicTickets: z.union([
|
|
2188
|
+
z.boolean(),
|
|
2189
|
+
z.number()
|
|
2190
|
+
]),
|
|
2191
|
+
stripeSubscriptionId: z.string().nullable(),
|
|
2192
|
+
scheduledInterval: z.enum(["monthly", "annual"]).nullable(),
|
|
2193
|
+
spendLimitEnabled: z.union([
|
|
2194
|
+
z.boolean(),
|
|
2195
|
+
z.number()
|
|
2196
|
+
]),
|
|
2197
|
+
spendLimitUsd: z.int().nullable(),
|
|
2198
|
+
spendAlertEmail: z.string().nullable(),
|
|
2199
|
+
defaultAssigneePendingApproval: z.string().nullable(),
|
|
2200
|
+
defaultAssigneeConnectorPendingApproval: z.string().nullable(),
|
|
2201
|
+
defaultAssigneeOpen: z.string().nullable(),
|
|
2202
|
+
defaultAssigneeConnectorOpen: z.string().nullable(),
|
|
2203
|
+
deletedAt: z.string().nullable(),
|
|
1698
2204
|
createdAt: z.string(),
|
|
1699
2205
|
updatedAt: z.string()
|
|
1700
2206
|
});
|
|
@@ -1757,9 +2263,9 @@ var zUpdateProjectRequest = z.object({
|
|
|
1757
2263
|
var zListI18nProfilesResponse = z.array(z.object({
|
|
1758
2264
|
id: z.string(),
|
|
1759
2265
|
name: z.string(),
|
|
1760
|
-
isDefault: z.number()
|
|
1761
|
-
createdAt: z.string()
|
|
1762
|
-
deletedAt: z.string().
|
|
2266
|
+
isDefault: z.number(),
|
|
2267
|
+
createdAt: z.string(),
|
|
2268
|
+
deletedAt: z.string().nullable()
|
|
1763
2269
|
}));
|
|
1764
2270
|
var zCreateI18nProfileRequest = z.object({
|
|
1765
2271
|
name: z.string().min(1).max(64).regex(/^[a-z0-9][a-z0-9_:.-]*$/)
|
|
@@ -1773,15 +2279,31 @@ var zListI18nKeysResponse = z.object({
|
|
|
1773
2279
|
id: z.string(),
|
|
1774
2280
|
key: z.string(),
|
|
1775
2281
|
value: z.string(),
|
|
1776
|
-
description: z.string().
|
|
1777
|
-
variables: z.array(z.string()).
|
|
1778
|
-
profileId: z.string()
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
2282
|
+
description: z.string().nullable(),
|
|
2283
|
+
variables: z.array(z.string()).nullable(),
|
|
2284
|
+
profileId: z.string(),
|
|
2285
|
+
profileName: z.string().nullable(),
|
|
2286
|
+
chunkId: z.string(),
|
|
2287
|
+
chunkName: z.string().nullable(),
|
|
2288
|
+
updatedAt: z.string(),
|
|
2289
|
+
updatedBy: z.string()
|
|
1782
2290
|
})),
|
|
1783
2291
|
total: z.number()
|
|
1784
2292
|
});
|
|
2293
|
+
var zUpsertI18nKeysRequest = z.object({
|
|
2294
|
+
profile_id: z.uuid(),
|
|
2295
|
+
chunk: z.string().min(1).max(64).optional().default("default"),
|
|
2296
|
+
keys: z.array(z.object({
|
|
2297
|
+
key: z.string().min(1).max(256),
|
|
2298
|
+
value: z.string(),
|
|
2299
|
+
description: z.string().optional(),
|
|
2300
|
+
variables: z.array(z.string().min(1).max(64)).max(32).optional()
|
|
2301
|
+
})).min(1).max(5e3)
|
|
2302
|
+
});
|
|
2303
|
+
var zUpsertI18nKeysResponse = z.object({
|
|
2304
|
+
upserted: z.number(),
|
|
2305
|
+
chunk: z.string()
|
|
2306
|
+
});
|
|
1785
2307
|
var zPushI18nKeysRequest = z.object({
|
|
1786
2308
|
profile_id: z.uuid(),
|
|
1787
2309
|
chunk: z.string().min(1).max(64).optional().default("default"),
|
|
@@ -1807,39 +2329,29 @@ var zUpdateI18nKeyRequest = z.object({
|
|
|
1807
2329
|
var zUpdateI18nKeyResponse = z.object({
|
|
1808
2330
|
id: z.string()
|
|
1809
2331
|
});
|
|
1810
|
-
var
|
|
2332
|
+
var zOkResponse = z.object({
|
|
2333
|
+
ok: z.literal(true)
|
|
2334
|
+
});
|
|
2335
|
+
var zI18nDraft = z.object({
|
|
1811
2336
|
id: z.string(),
|
|
1812
|
-
name: z.string()
|
|
1813
|
-
profileId: z.string()
|
|
1814
|
-
sourceProfileId: z.string().
|
|
2337
|
+
name: z.string(),
|
|
2338
|
+
profileId: z.string(),
|
|
2339
|
+
sourceProfileId: z.string().nullable(),
|
|
1815
2340
|
status: z.enum([
|
|
1816
2341
|
"open",
|
|
1817
2342
|
"merged",
|
|
1818
2343
|
"abandoned"
|
|
1819
|
-
])
|
|
1820
|
-
createdBy: z.string()
|
|
1821
|
-
createdAt: z.string()
|
|
1822
|
-
publishedAt: z.string().
|
|
1823
|
-
})
|
|
2344
|
+
]),
|
|
2345
|
+
createdBy: z.string(),
|
|
2346
|
+
createdAt: z.string(),
|
|
2347
|
+
publishedAt: z.string().nullable()
|
|
2348
|
+
});
|
|
2349
|
+
var zListI18nDraftsResponse = z.array(zI18nDraft);
|
|
1824
2350
|
var zCreateI18nDraftRequest = z.object({
|
|
1825
2351
|
name: z.string().min(1).max(64),
|
|
1826
2352
|
profile_id: z.uuid(),
|
|
1827
2353
|
source_profile_id: z.uuid().optional()
|
|
1828
2354
|
});
|
|
1829
|
-
var zI18nDraft = z.object({
|
|
1830
|
-
id: z.string(),
|
|
1831
|
-
name: z.string().optional(),
|
|
1832
|
-
profileId: z.string().optional(),
|
|
1833
|
-
sourceProfileId: z.string().nullish(),
|
|
1834
|
-
status: z.enum([
|
|
1835
|
-
"open",
|
|
1836
|
-
"merged",
|
|
1837
|
-
"abandoned"
|
|
1838
|
-
]).optional(),
|
|
1839
|
-
createdBy: z.string().optional(),
|
|
1840
|
-
createdAt: z.string().optional(),
|
|
1841
|
-
publishedAt: z.string().nullish()
|
|
1842
|
-
});
|
|
1843
2355
|
var zUpdateI18nDraftRequest = z.object({
|
|
1844
2356
|
status: z.enum([
|
|
1845
2357
|
"open",
|
|
@@ -1847,6 +2359,21 @@ var zUpdateI18nDraftRequest = z.object({
|
|
|
1847
2359
|
"abandoned"
|
|
1848
2360
|
]).optional()
|
|
1849
2361
|
});
|
|
2362
|
+
var zListI18nDraftKeysResponse = z.array(z.object({
|
|
2363
|
+
id: z.string(),
|
|
2364
|
+
draftId: z.string(),
|
|
2365
|
+
key: z.string(),
|
|
2366
|
+
value: z.string(),
|
|
2367
|
+
description: z.string().nullable(),
|
|
2368
|
+
variables: z.array(z.string()).nullable(),
|
|
2369
|
+
updatedBy: z.string(),
|
|
2370
|
+
updatedAt: z.string()
|
|
2371
|
+
}));
|
|
2372
|
+
var zUpsertI18nDraftKeyRequest = z.object({
|
|
2373
|
+
key: z.string().min(1).max(256),
|
|
2374
|
+
value: z.string(),
|
|
2375
|
+
description: z.string().optional()
|
|
2376
|
+
});
|
|
1850
2377
|
var zPublishI18nProfileRequest = z.object({
|
|
1851
2378
|
chunk: z.string().optional()
|
|
1852
2379
|
});
|
|
@@ -1892,13 +2419,15 @@ var zSetI18nLabelResponse = z.object({
|
|
|
1892
2419
|
});
|
|
1893
2420
|
var zErrorOccurrence = z.object({
|
|
1894
2421
|
id: z.string(),
|
|
2422
|
+
projectId: z.string(),
|
|
2423
|
+
errorId: z.string(),
|
|
1895
2424
|
message: z.string(),
|
|
1896
|
-
stack: z.string().
|
|
1897
|
-
url: z.string().
|
|
1898
|
-
env: z.string().
|
|
1899
|
-
side: z.string().
|
|
1900
|
-
sdkVersion: z.string().
|
|
1901
|
-
extrasJson: z.string().
|
|
2425
|
+
stack: z.string().nullable(),
|
|
2426
|
+
url: z.string().nullable(),
|
|
2427
|
+
env: z.string().nullable(),
|
|
2428
|
+
side: z.string().nullable(),
|
|
2429
|
+
sdkVersion: z.string().nullable(),
|
|
2430
|
+
extrasJson: z.string().nullable(),
|
|
1902
2431
|
sampleRate: z.int().gte(1),
|
|
1903
2432
|
seenAt: z.string()
|
|
1904
2433
|
});
|
|
@@ -1906,26 +2435,26 @@ var zErrorRecord = z.object({
|
|
|
1906
2435
|
id: z.string(),
|
|
1907
2436
|
projectId: z.string(),
|
|
1908
2437
|
fingerprint: z.string(),
|
|
1909
|
-
causedByFingerprint: z.string().
|
|
2438
|
+
causedByFingerprint: z.string().nullable(),
|
|
1910
2439
|
message: z.string(),
|
|
1911
|
-
errorType: z.string().
|
|
1912
|
-
stack: z.string().
|
|
1913
|
-
source: z.string().
|
|
1914
|
-
url: z.string().
|
|
1915
|
-
seenUrls: z.string().
|
|
1916
|
-
subject: z.string().
|
|
1917
|
-
outcome: z.string().
|
|
1918
|
-
side: z.string().
|
|
1919
|
-
env: z.string().
|
|
2440
|
+
errorType: z.string().nullable(),
|
|
2441
|
+
stack: z.string().nullable(),
|
|
2442
|
+
source: z.string().nullable(),
|
|
2443
|
+
url: z.string().nullable(),
|
|
2444
|
+
seenUrls: z.string().nullable(),
|
|
2445
|
+
subject: z.string().nullable(),
|
|
2446
|
+
outcome: z.string().nullable(),
|
|
2447
|
+
side: z.string().nullable(),
|
|
2448
|
+
env: z.string().nullable(),
|
|
1920
2449
|
kind: z.enum([
|
|
1921
2450
|
"caught",
|
|
1922
2451
|
"uncaught",
|
|
1923
2452
|
"unhandled_rejection",
|
|
1924
2453
|
"network",
|
|
1925
2454
|
"violation"
|
|
1926
|
-
]).
|
|
1927
|
-
lastExtrasJson: z.string().
|
|
1928
|
-
sdkVersion: z.string().
|
|
2455
|
+
]).nullable(),
|
|
2456
|
+
lastExtrasJson: z.string().nullable(),
|
|
2457
|
+
sdkVersion: z.string().nullable(),
|
|
1929
2458
|
count: z.int().gte(1),
|
|
1930
2459
|
occurrences: z.array(zErrorOccurrence).optional(),
|
|
1931
2460
|
status: z.enum([
|
|
@@ -1936,7 +2465,10 @@ var zErrorRecord = z.object({
|
|
|
1936
2465
|
firstSeenAt: z.string(),
|
|
1937
2466
|
lastSeenAt: z.string(),
|
|
1938
2467
|
createdAt: z.string(),
|
|
1939
|
-
updatedAt: z.string()
|
|
2468
|
+
updatedAt: z.string(),
|
|
2469
|
+
assigneeId: z.string().nullable(),
|
|
2470
|
+
assigneeConnectorId: z.string().nullable(),
|
|
2471
|
+
assigneeAgent: z.string().nullable()
|
|
1940
2472
|
});
|
|
1941
2473
|
var zListErrorsResponse = z.array(zErrorRecord);
|
|
1942
2474
|
var zUpdateErrorStatusRequest = z.object({
|
|
@@ -1948,7 +2480,7 @@ var zUpdateErrorStatusRequest = z.object({
|
|
|
1948
2480
|
});
|
|
1949
2481
|
var zFileErrorTicketResponse = z.object({
|
|
1950
2482
|
id: z.string(),
|
|
1951
|
-
number: z.int()
|
|
2483
|
+
number: z.int().nullable()
|
|
1952
2484
|
});
|
|
1953
2485
|
var zErrorSeriesRequest = z.object({
|
|
1954
2486
|
from: z.int().gte(0),
|
|
@@ -1981,6 +2513,7 @@ var zConnectorRecord = z.object({
|
|
|
1981
2513
|
events: z.array(zConnectorEvent),
|
|
1982
2514
|
config: z.record(z.string(), z.unknown()),
|
|
1983
2515
|
accountLabel: z.string().nullable(),
|
|
2516
|
+
hasCredentials: z.boolean(),
|
|
1984
2517
|
lastError: z.string().nullable(),
|
|
1985
2518
|
lastAttemptAt: z.string().nullable(),
|
|
1986
2519
|
lastSuccessAt: z.string().nullable(),
|
|
@@ -2233,6 +2766,13 @@ var zDeleteGatePath = z.object({
|
|
|
2233
2766
|
id: zResourceId
|
|
2234
2767
|
});
|
|
2235
2768
|
var zDeleteGateResponse2 = zDeleteGateResponse;
|
|
2769
|
+
var zGetGateHeaders = z.object({
|
|
2770
|
+
"X-Project-Id": z.string().optional()
|
|
2771
|
+
});
|
|
2772
|
+
var zGetGatePath = z.object({
|
|
2773
|
+
id: zResourceId
|
|
2774
|
+
});
|
|
2775
|
+
var zGetGateResponse = zGateApiRow;
|
|
2236
2776
|
var zUpdateGateBody = zUpdateGateRequest;
|
|
2237
2777
|
var zUpdateGateHeaders = z.object({
|
|
2238
2778
|
"X-Project-Id": z.string().optional()
|
|
@@ -2255,6 +2795,16 @@ var zDisableGatePath = z.object({
|
|
|
2255
2795
|
id: zResourceId
|
|
2256
2796
|
});
|
|
2257
2797
|
var zDisableGateResponse2 = zDisableGateResponse;
|
|
2798
|
+
var zListGateActivityHeaders = z.object({
|
|
2799
|
+
"X-Project-Id": z.string().optional()
|
|
2800
|
+
});
|
|
2801
|
+
var zListGateActivityPath = z.object({
|
|
2802
|
+
id: zResourceId
|
|
2803
|
+
});
|
|
2804
|
+
var zListGateActivityQuery = z.object({
|
|
2805
|
+
limit: z.coerce.number().int().gte(1).lte(100).optional().default(20)
|
|
2806
|
+
});
|
|
2807
|
+
var zListGateActivityResponse2 = zListGateActivityResponse;
|
|
2258
2808
|
var zListExperimentsHeaders = z.object({
|
|
2259
2809
|
"X-Project-Id": z.string().optional()
|
|
2260
2810
|
});
|
|
@@ -2332,6 +2882,22 @@ var zReanalyzeExperimentPath = z.object({
|
|
|
2332
2882
|
id: zResourceId
|
|
2333
2883
|
});
|
|
2334
2884
|
var zReanalyzeExperimentResponse2 = zReanalyzeExperimentResponse;
|
|
2885
|
+
var zCreateExperimentReadoutBody = zCreateExperimentReadoutRequest;
|
|
2886
|
+
var zCreateExperimentReadoutHeaders = z.object({
|
|
2887
|
+
"X-Project-Id": z.string().optional()
|
|
2888
|
+
});
|
|
2889
|
+
var zCreateExperimentReadoutPath = z.object({
|
|
2890
|
+
id: zResourceId
|
|
2891
|
+
});
|
|
2892
|
+
var zCreateExperimentReadoutResponse2 = zCreateExperimentReadoutResponse;
|
|
2893
|
+
var zGetExperimentReadoutHeaders = z.object({
|
|
2894
|
+
"X-Project-Id": z.string().optional()
|
|
2895
|
+
});
|
|
2896
|
+
var zGetExperimentReadoutPath = z.object({
|
|
2897
|
+
id: zResourceId,
|
|
2898
|
+
readoutId: zResourceId
|
|
2899
|
+
});
|
|
2900
|
+
var zGetExperimentReadoutResponse = zExperimentReadoutApiRow;
|
|
2335
2901
|
var zListConfigsHeaders = z.object({
|
|
2336
2902
|
"X-Project-Id": z.string().optional()
|
|
2337
2903
|
});
|
|
@@ -2410,6 +2976,16 @@ var zUpdateConfigSchemaPath = z.object({
|
|
|
2410
2976
|
id: zResourceId
|
|
2411
2977
|
});
|
|
2412
2978
|
var zUpdateConfigSchemaResponse2 = zUpdateConfigSchemaResponse;
|
|
2979
|
+
var zListConfigVersionsHeaders = z.object({
|
|
2980
|
+
"X-Project-Id": z.string().optional()
|
|
2981
|
+
});
|
|
2982
|
+
var zListConfigVersionsPath = z.object({
|
|
2983
|
+
id: zResourceId
|
|
2984
|
+
});
|
|
2985
|
+
var zListConfigVersionsQuery = z.object({
|
|
2986
|
+
env: zEnv.optional()
|
|
2987
|
+
});
|
|
2988
|
+
var zListConfigVersionsResponse2 = zListConfigVersionsResponse;
|
|
2413
2989
|
var zListKillswitchesHeaders = z.object({
|
|
2414
2990
|
"X-Project-Id": z.string().optional()
|
|
2415
2991
|
});
|
|
@@ -2602,6 +3178,28 @@ var zUpdateMetricPath = z.object({
|
|
|
2602
3178
|
id: zResourceId
|
|
2603
3179
|
});
|
|
2604
3180
|
var zUpdateMetricResponse = zGetMetricResponse;
|
|
3181
|
+
var zListMetricExperimentsHeaders = z.object({
|
|
3182
|
+
"X-Project-Id": z.string().optional()
|
|
3183
|
+
});
|
|
3184
|
+
var zListMetricExperimentsPath = z.object({
|
|
3185
|
+
id: zResourceId
|
|
3186
|
+
});
|
|
3187
|
+
var zListMetricExperimentsResponse2 = zListMetricExperimentsResponse;
|
|
3188
|
+
var zUnarchiveMetricHeaders = z.object({
|
|
3189
|
+
"X-Project-Id": z.string().optional()
|
|
3190
|
+
});
|
|
3191
|
+
var zUnarchiveMetricPath = z.object({
|
|
3192
|
+
id: zResourceId
|
|
3193
|
+
});
|
|
3194
|
+
var zUnarchiveMetricResponse2 = zUnarchiveMetricResponse;
|
|
3195
|
+
var zGetMetricSeriesBody = zGetMetricSeriesRequest;
|
|
3196
|
+
var zGetMetricSeriesHeaders = z.object({
|
|
3197
|
+
"X-Project-Id": z.string().optional()
|
|
3198
|
+
});
|
|
3199
|
+
var zGetMetricSeriesPath = z.object({
|
|
3200
|
+
id: zResourceId
|
|
3201
|
+
});
|
|
3202
|
+
var zGetMetricSeriesResponse2 = zGetMetricSeriesResponse;
|
|
2605
3203
|
var zListEventsHeaders = z.object({
|
|
2606
3204
|
"X-Project-Id": z.string().optional()
|
|
2607
3205
|
});
|
|
@@ -2661,7 +3259,8 @@ var zListOpsItemsQuery = z.object({
|
|
|
2661
3259
|
zOpsItemStatus,
|
|
2662
3260
|
z.literal("all")
|
|
2663
3261
|
]).optional(),
|
|
2664
|
-
limit: z.coerce.number().int().gte(1).lte(500).optional()
|
|
3262
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional(),
|
|
3263
|
+
owner: z.string().optional()
|
|
2665
3264
|
});
|
|
2666
3265
|
var zListOpsItemsResponse2 = zListOpsItemsResponse;
|
|
2667
3266
|
var zCreateOpsItemBody = zCreateOpsItemRequest;
|
|
@@ -2669,6 +3268,13 @@ var zCreateOpsItemHeaders = z.object({
|
|
|
2669
3268
|
"X-Project-Id": z.string().optional()
|
|
2670
3269
|
});
|
|
2671
3270
|
var zCreateOpsItemResponse2 = zCreateOpsItemResponse;
|
|
3271
|
+
var zDeleteOpsItemHeaders = z.object({
|
|
3272
|
+
"X-Project-Id": z.string().optional()
|
|
3273
|
+
});
|
|
3274
|
+
var zDeleteOpsItemPath = z.object({
|
|
3275
|
+
handle: zResourceId
|
|
3276
|
+
});
|
|
3277
|
+
var zDeleteOpsItemResponse2 = zDeleteOpsItemResponse;
|
|
2672
3278
|
var zGetOpsItemHeaders = z.object({
|
|
2673
3279
|
"X-Project-Id": z.string().optional()
|
|
2674
3280
|
});
|
|
@@ -2692,6 +3298,42 @@ var zLinkPrToOpsItemPath = z.object({
|
|
|
2692
3298
|
handle: zResourceId
|
|
2693
3299
|
});
|
|
2694
3300
|
var zLinkPrToOpsItemResponse2 = zLinkPrToOpsItemResponse;
|
|
3301
|
+
var zAckOpsItemBody = zAckOpsItemRequest;
|
|
3302
|
+
var zAckOpsItemHeaders = z.object({
|
|
3303
|
+
"X-Project-Id": z.string().optional()
|
|
3304
|
+
});
|
|
3305
|
+
var zAckOpsItemPath = z.object({
|
|
3306
|
+
handle: zResourceId
|
|
3307
|
+
});
|
|
3308
|
+
var zAckOpsItemResponse2 = zAckOpsItemResponse;
|
|
3309
|
+
var zListOpsInvestigationsHeaders = z.object({
|
|
3310
|
+
"X-Project-Id": z.string().optional()
|
|
3311
|
+
});
|
|
3312
|
+
var zListOpsInvestigationsPath = z.object({
|
|
3313
|
+
handle: zResourceId
|
|
3314
|
+
});
|
|
3315
|
+
var zListOpsInvestigationsResponse2 = zListOpsInvestigationsResponse;
|
|
3316
|
+
var zCreateOpsInvestigationBody = zCreateOpsInvestigationRequest;
|
|
3317
|
+
var zCreateOpsInvestigationHeaders = z.object({
|
|
3318
|
+
"X-Project-Id": z.string().optional()
|
|
3319
|
+
});
|
|
3320
|
+
var zCreateOpsInvestigationPath = z.object({
|
|
3321
|
+
handle: zResourceId
|
|
3322
|
+
});
|
|
3323
|
+
var zCreateOpsInvestigationResponse = zOpsInvestigation;
|
|
3324
|
+
var zUpdateOpsInvestigationBody = zUpdateOpsInvestigationRequest;
|
|
3325
|
+
var zUpdateOpsInvestigationHeaders = z.object({
|
|
3326
|
+
"X-Project-Id": z.string().optional()
|
|
3327
|
+
});
|
|
3328
|
+
var zUpdateOpsInvestigationPath = z.object({
|
|
3329
|
+
handle: zResourceId,
|
|
3330
|
+
investigationId: zResourceId
|
|
3331
|
+
});
|
|
3332
|
+
var zUpdateOpsInvestigationResponse = zOpsInvestigation;
|
|
3333
|
+
var zListOpsAgentsHeaders = z.object({
|
|
3334
|
+
"X-Project-Id": z.string().optional()
|
|
3335
|
+
});
|
|
3336
|
+
var zListOpsAgentsResponse2 = zListOpsAgentsResponse;
|
|
2695
3337
|
var zListOpsCommentsHeaders = z.object({
|
|
2696
3338
|
"X-Project-Id": z.string().optional()
|
|
2697
3339
|
});
|
|
@@ -2743,6 +3385,26 @@ var zUpdateAlertRulePath = z.object({
|
|
|
2743
3385
|
id: zResourceId
|
|
2744
3386
|
});
|
|
2745
3387
|
var zUpdateAlertRuleResponse2 = zUpdateAlertRuleResponse;
|
|
3388
|
+
var zListAlertsHeaders = z.object({
|
|
3389
|
+
"X-Project-Id": z.string().optional()
|
|
3390
|
+
});
|
|
3391
|
+
var zListAlertsQuery = z.object({
|
|
3392
|
+
status: z.enum([
|
|
3393
|
+
"active",
|
|
3394
|
+
"resolved",
|
|
3395
|
+
"dismissed",
|
|
3396
|
+
"all"
|
|
3397
|
+
]).optional().default("active")
|
|
3398
|
+
});
|
|
3399
|
+
var zListAlertsResponse2 = zListAlertsResponse;
|
|
3400
|
+
var zUpdateAlertBody = zUpdateAlertRequest;
|
|
3401
|
+
var zUpdateAlertHeaders = z.object({
|
|
3402
|
+
"X-Project-Id": z.string().optional()
|
|
3403
|
+
});
|
|
3404
|
+
var zUpdateAlertPath = z.object({
|
|
3405
|
+
id: zResourceId
|
|
3406
|
+
});
|
|
3407
|
+
var zUpdateAlertResponse = zAlertApiRow;
|
|
2746
3408
|
var zGetCurrentProjectHeaders = z.object({
|
|
2747
3409
|
"X-Project-Id": z.string().optional()
|
|
2748
3410
|
});
|
|
@@ -2752,6 +3414,13 @@ var zUpsertProjectHeaders = z.object({
|
|
|
2752
3414
|
"X-Project-Id": z.string().optional()
|
|
2753
3415
|
});
|
|
2754
3416
|
var zUpsertProjectResponse2 = zUpsertProjectResponse;
|
|
3417
|
+
var zGetProjectHeaders = z.object({
|
|
3418
|
+
"X-Project-Id": z.string().optional()
|
|
3419
|
+
});
|
|
3420
|
+
var zGetProjectPath = z.object({
|
|
3421
|
+
id: zResourceId
|
|
3422
|
+
});
|
|
3423
|
+
var zGetProjectResponse = zGetCurrentProjectResponse;
|
|
2755
3424
|
var zUpdateProjectBody = zUpdateProjectRequest;
|
|
2756
3425
|
var zUpdateProjectHeaders = z.object({
|
|
2757
3426
|
"X-Project-Id": z.string().optional()
|
|
@@ -2785,6 +3454,18 @@ var zPushI18nKeysHeaders = z.object({
|
|
|
2785
3454
|
"X-Project-Id": z.string().optional()
|
|
2786
3455
|
});
|
|
2787
3456
|
var zPushI18nKeysResponse2 = zPushI18nKeysResponse;
|
|
3457
|
+
var zUpsertI18nKeysBody = zUpsertI18nKeysRequest;
|
|
3458
|
+
var zUpsertI18nKeysHeaders = z.object({
|
|
3459
|
+
"X-Project-Id": z.string().optional()
|
|
3460
|
+
});
|
|
3461
|
+
var zUpsertI18nKeysResponse2 = zUpsertI18nKeysResponse;
|
|
3462
|
+
var zDeleteI18nKeyHeaders = z.object({
|
|
3463
|
+
"X-Project-Id": z.string().optional()
|
|
3464
|
+
});
|
|
3465
|
+
var zDeleteI18nKeyPath = z.object({
|
|
3466
|
+
id: zResourceId
|
|
3467
|
+
});
|
|
3468
|
+
var zDeleteI18nKeyResponse = zOkResponse;
|
|
2788
3469
|
var zUpdateI18nKeyBody = zUpdateI18nKeyRequest;
|
|
2789
3470
|
var zUpdateI18nKeyHeaders = z.object({
|
|
2790
3471
|
"X-Project-Id": z.string().optional()
|
|
@@ -2802,6 +3483,13 @@ var zCreateI18nDraftHeaders = z.object({
|
|
|
2802
3483
|
"X-Project-Id": z.string().optional()
|
|
2803
3484
|
});
|
|
2804
3485
|
var zCreateI18nDraftResponse = zI18nDraft;
|
|
3486
|
+
var zDeleteI18nDraftHeaders = z.object({
|
|
3487
|
+
"X-Project-Id": z.string().optional()
|
|
3488
|
+
});
|
|
3489
|
+
var zDeleteI18nDraftPath = z.object({
|
|
3490
|
+
draftId: zResourceId
|
|
3491
|
+
});
|
|
3492
|
+
var zDeleteI18nDraftResponse = zOkResponse;
|
|
2805
3493
|
var zUpdateI18nDraftBody = zUpdateI18nDraftRequest;
|
|
2806
3494
|
var zUpdateI18nDraftHeaders = z.object({
|
|
2807
3495
|
"X-Project-Id": z.string().optional()
|
|
@@ -2810,6 +3498,28 @@ var zUpdateI18nDraftPath = z.object({
|
|
|
2810
3498
|
draftId: zResourceId
|
|
2811
3499
|
});
|
|
2812
3500
|
var zUpdateI18nDraftResponse = zI18nDraft;
|
|
3501
|
+
var zDeleteI18nProfileHeaders = z.object({
|
|
3502
|
+
"X-Project-Id": z.string().optional()
|
|
3503
|
+
});
|
|
3504
|
+
var zDeleteI18nProfilePath = z.object({
|
|
3505
|
+
profileId: zResourceId
|
|
3506
|
+
});
|
|
3507
|
+
var zDeleteI18nProfileResponse = zOkResponse;
|
|
3508
|
+
var zListI18nDraftKeysHeaders = z.object({
|
|
3509
|
+
"X-Project-Id": z.string().optional()
|
|
3510
|
+
});
|
|
3511
|
+
var zListI18nDraftKeysPath = z.object({
|
|
3512
|
+
draftId: zResourceId
|
|
3513
|
+
});
|
|
3514
|
+
var zListI18nDraftKeysResponse2 = zListI18nDraftKeysResponse;
|
|
3515
|
+
var zUpsertI18nDraftKeyBody = zUpsertI18nDraftKeyRequest;
|
|
3516
|
+
var zUpsertI18nDraftKeyHeaders = z.object({
|
|
3517
|
+
"X-Project-Id": z.string().optional()
|
|
3518
|
+
});
|
|
3519
|
+
var zUpsertI18nDraftKeyPath = z.object({
|
|
3520
|
+
draftId: zResourceId
|
|
3521
|
+
});
|
|
3522
|
+
var zUpsertI18nDraftKeyResponse = zOkResponse;
|
|
2813
3523
|
var zPublishI18nProfileBody = zPublishI18nProfileRequest;
|
|
2814
3524
|
var zPublishI18nProfileHeaders = z.object({
|
|
2815
3525
|
"X-Project-Id": z.string().optional()
|
|
@@ -2966,6 +3676,7 @@ var zSearchResourcesQuery = z.object({
|
|
|
2966
3676
|
var zSearchResourcesResponse = zSearchResponse;
|
|
2967
3677
|
|
|
2968
3678
|
export {
|
|
3679
|
+
zGateApiRow,
|
|
2969
3680
|
zListGatesResponse,
|
|
2970
3681
|
zErrorCode,
|
|
2971
3682
|
zError,
|
|
@@ -2978,6 +3689,7 @@ export {
|
|
|
2978
3689
|
zUpdateGateResponse,
|
|
2979
3690
|
zEnableGateResponse,
|
|
2980
3691
|
zDisableGateResponse,
|
|
3692
|
+
zListGateActivityResponse,
|
|
2981
3693
|
zExperimentApiRow,
|
|
2982
3694
|
zListExperimentsResponse,
|
|
2983
3695
|
zMetricName,
|
|
@@ -2991,9 +3703,15 @@ export {
|
|
|
2991
3703
|
zSetExperimentStatusResponse,
|
|
2992
3704
|
zSetExperimentMetricsRequest,
|
|
2993
3705
|
zSetExperimentMetricsResponse,
|
|
3706
|
+
zExperimentResultRow,
|
|
2994
3707
|
zGetExperimentResultsResponse,
|
|
2995
3708
|
zGetExperimentTimeseriesResponse,
|
|
2996
3709
|
zReanalyzeExperimentResponse,
|
|
3710
|
+
zCreateExperimentReadoutRequest,
|
|
3711
|
+
zCreateExperimentReadoutResponse,
|
|
3712
|
+
zExperimentReadoutMetric,
|
|
3713
|
+
zExperimentReadoutCaveat,
|
|
3714
|
+
zExperimentReadoutApiRow,
|
|
2997
3715
|
zListConfigsResponse,
|
|
2998
3716
|
zConfigName,
|
|
2999
3717
|
zCreateConfigRequest,
|
|
@@ -3012,6 +3730,7 @@ export {
|
|
|
3012
3730
|
zListConfigActivityResponse,
|
|
3013
3731
|
zUpdateConfigSchemaRequest,
|
|
3014
3732
|
zUpdateConfigSchemaResponse,
|
|
3733
|
+
zListConfigVersionsResponse,
|
|
3015
3734
|
zListKillswitchesResponse,
|
|
3016
3735
|
zCreateKillswitchRequest,
|
|
3017
3736
|
zCreateKillswitchResponse,
|
|
@@ -3043,8 +3762,8 @@ export {
|
|
|
3043
3762
|
zDeleteGateTemplateResponse,
|
|
3044
3763
|
zUpdateGateTemplateRequest,
|
|
3045
3764
|
zUpdateGateTemplateResponse,
|
|
3046
|
-
zListAttributesResponse,
|
|
3047
3765
|
zAttributeType,
|
|
3766
|
+
zListAttributesResponse,
|
|
3048
3767
|
zCreateAttributeRequest,
|
|
3049
3768
|
zCreateAttributeResponse,
|
|
3050
3769
|
zGetAttributeResponse,
|
|
@@ -3058,6 +3777,7 @@ export {
|
|
|
3058
3777
|
zMetricWinsorizePct,
|
|
3059
3778
|
zMetricDefaultMinEffectOfInterest,
|
|
3060
3779
|
zMetricDirection,
|
|
3780
|
+
zMetricDisplayUnit,
|
|
3061
3781
|
zCreateMetricWithQuery,
|
|
3062
3782
|
zCreateMetricWithQueryIr,
|
|
3063
3783
|
zCreateMetricRequest,
|
|
@@ -3068,6 +3788,10 @@ export {
|
|
|
3068
3788
|
zUpdateMetricWithQueryIr,
|
|
3069
3789
|
zUpdateMetricFields,
|
|
3070
3790
|
zUpdateMetricRequest,
|
|
3791
|
+
zListMetricExperimentsResponse,
|
|
3792
|
+
zUnarchiveMetricResponse,
|
|
3793
|
+
zGetMetricSeriesRequest,
|
|
3794
|
+
zGetMetricSeriesResponse,
|
|
3071
3795
|
zListEventsResponse,
|
|
3072
3796
|
zCreateEventRequest,
|
|
3073
3797
|
zCreateEventResponse,
|
|
@@ -3079,12 +3803,7 @@ export {
|
|
|
3079
3803
|
zApproveEventResponse,
|
|
3080
3804
|
zOpsItemStatus,
|
|
3081
3805
|
zOpsItemPriority,
|
|
3082
|
-
|
|
3083
|
-
zNotificationTarget,
|
|
3084
|
-
zCreateBugRequest,
|
|
3085
|
-
zCreateFeatureRequestRequest,
|
|
3086
|
-
zCreateOpsItemRequest,
|
|
3087
|
-
zCreateOpsItemResponse,
|
|
3806
|
+
zOpsInvestigationState,
|
|
3088
3807
|
zOpsBrowserContext,
|
|
3089
3808
|
zOpsErrorContext,
|
|
3090
3809
|
zOpsAlertRuleSummary,
|
|
@@ -3094,12 +3813,24 @@ export {
|
|
|
3094
3813
|
zMeasurePlanStep,
|
|
3095
3814
|
zOpsMeasurePlanContext,
|
|
3096
3815
|
zOpsItemContext,
|
|
3097
|
-
|
|
3098
|
-
zOpsItemRelated,
|
|
3816
|
+
zGithubPrLink,
|
|
3099
3817
|
zGithubConnectorData,
|
|
3100
3818
|
zSlackConnectorData,
|
|
3101
3819
|
zConnectorData,
|
|
3820
|
+
zNotificationTarget,
|
|
3821
|
+
zOpsItemOwner,
|
|
3822
|
+
zOpsRunAction,
|
|
3823
|
+
zOpsRunActionOrNull,
|
|
3824
|
+
zOpsRun,
|
|
3825
|
+
zListOpsItemsResponse,
|
|
3826
|
+
zCreateBugRequest,
|
|
3827
|
+
zCreateFeatureRequestRequest,
|
|
3828
|
+
zCreateOpsItemRequest,
|
|
3829
|
+
zCreateOpsItemResponse,
|
|
3830
|
+
zOpsItemAttachment,
|
|
3831
|
+
zOpsItemRelated,
|
|
3102
3832
|
zGetOpsItemResponse,
|
|
3833
|
+
zDeleteOpsItemResponse,
|
|
3103
3834
|
zOpsItemPriorityOrNull,
|
|
3104
3835
|
zOpsItemNotifyOrNull,
|
|
3105
3836
|
zUpdateBugRequest,
|
|
@@ -3109,6 +3840,14 @@ export {
|
|
|
3109
3840
|
zUpdateOpsItemResponse,
|
|
3110
3841
|
zLinkPrToOpsItemRequest,
|
|
3111
3842
|
zLinkPrToOpsItemResponse,
|
|
3843
|
+
zAckOpsItemRequest,
|
|
3844
|
+
zAckOpsItemResponse,
|
|
3845
|
+
zOpsInvestigation,
|
|
3846
|
+
zListOpsInvestigationsResponse,
|
|
3847
|
+
zCreateOpsInvestigationRequest,
|
|
3848
|
+
zUpdateOpsInvestigationRequest,
|
|
3849
|
+
zOpsAgentProfile,
|
|
3850
|
+
zListOpsAgentsResponse,
|
|
3112
3851
|
zOpsCommentAuthorType,
|
|
3113
3852
|
zOpsComment,
|
|
3114
3853
|
zListOpsCommentsResponse,
|
|
@@ -3123,6 +3862,9 @@ export {
|
|
|
3123
3862
|
zDeleteAlertRuleResponse,
|
|
3124
3863
|
zUpdateAlertRuleRequest,
|
|
3125
3864
|
zUpdateAlertRuleResponse,
|
|
3865
|
+
zAlertApiRow,
|
|
3866
|
+
zListAlertsResponse,
|
|
3867
|
+
zUpdateAlertRequest,
|
|
3126
3868
|
zGetCurrentProjectResponse,
|
|
3127
3869
|
zUpsertProjectRequest,
|
|
3128
3870
|
zUpsertProjectResponse,
|
|
@@ -3132,14 +3874,19 @@ export {
|
|
|
3132
3874
|
zCreateI18nProfileRequest,
|
|
3133
3875
|
zCreateI18nProfileResponse,
|
|
3134
3876
|
zListI18nKeysResponse,
|
|
3877
|
+
zUpsertI18nKeysRequest,
|
|
3878
|
+
zUpsertI18nKeysResponse,
|
|
3135
3879
|
zPushI18nKeysRequest,
|
|
3136
3880
|
zPushI18nKeysResponse,
|
|
3137
3881
|
zUpdateI18nKeyRequest,
|
|
3138
3882
|
zUpdateI18nKeyResponse,
|
|
3883
|
+
zOkResponse,
|
|
3884
|
+
zI18nDraft,
|
|
3139
3885
|
zListI18nDraftsResponse,
|
|
3140
3886
|
zCreateI18nDraftRequest,
|
|
3141
|
-
zI18nDraft,
|
|
3142
3887
|
zUpdateI18nDraftRequest,
|
|
3888
|
+
zListI18nDraftKeysResponse,
|
|
3889
|
+
zUpsertI18nDraftKeyRequest,
|
|
3143
3890
|
zPublishI18nProfileRequest,
|
|
3144
3891
|
zPublishI18nProfileResponse,
|
|
3145
3892
|
zSetI18nLabelRequest,
|
|
@@ -3198,6 +3945,9 @@ export {
|
|
|
3198
3945
|
zDeleteGateHeaders,
|
|
3199
3946
|
zDeleteGatePath,
|
|
3200
3947
|
zDeleteGateResponse2,
|
|
3948
|
+
zGetGateHeaders,
|
|
3949
|
+
zGetGatePath,
|
|
3950
|
+
zGetGateResponse,
|
|
3201
3951
|
zUpdateGateBody,
|
|
3202
3952
|
zUpdateGateHeaders,
|
|
3203
3953
|
zUpdateGatePath,
|
|
@@ -3208,6 +3958,10 @@ export {
|
|
|
3208
3958
|
zDisableGateHeaders,
|
|
3209
3959
|
zDisableGatePath,
|
|
3210
3960
|
zDisableGateResponse2,
|
|
3961
|
+
zListGateActivityHeaders,
|
|
3962
|
+
zListGateActivityPath,
|
|
3963
|
+
zListGateActivityQuery,
|
|
3964
|
+
zListGateActivityResponse2,
|
|
3211
3965
|
zListExperimentsHeaders,
|
|
3212
3966
|
zListExperimentsQuery,
|
|
3213
3967
|
zListExperimentsResponse2,
|
|
@@ -3242,6 +3996,13 @@ export {
|
|
|
3242
3996
|
zReanalyzeExperimentHeaders,
|
|
3243
3997
|
zReanalyzeExperimentPath,
|
|
3244
3998
|
zReanalyzeExperimentResponse2,
|
|
3999
|
+
zCreateExperimentReadoutBody,
|
|
4000
|
+
zCreateExperimentReadoutHeaders,
|
|
4001
|
+
zCreateExperimentReadoutPath,
|
|
4002
|
+
zCreateExperimentReadoutResponse2,
|
|
4003
|
+
zGetExperimentReadoutHeaders,
|
|
4004
|
+
zGetExperimentReadoutPath,
|
|
4005
|
+
zGetExperimentReadoutResponse,
|
|
3245
4006
|
zListConfigsHeaders,
|
|
3246
4007
|
zListConfigsQuery,
|
|
3247
4008
|
zListConfigsResponse2,
|
|
@@ -3278,6 +4039,10 @@ export {
|
|
|
3278
4039
|
zUpdateConfigSchemaHeaders,
|
|
3279
4040
|
zUpdateConfigSchemaPath,
|
|
3280
4041
|
zUpdateConfigSchemaResponse2,
|
|
4042
|
+
zListConfigVersionsHeaders,
|
|
4043
|
+
zListConfigVersionsPath,
|
|
4044
|
+
zListConfigVersionsQuery,
|
|
4045
|
+
zListConfigVersionsResponse2,
|
|
3281
4046
|
zListKillswitchesHeaders,
|
|
3282
4047
|
zListKillswitchesQuery,
|
|
3283
4048
|
zListKillswitchesResponse2,
|
|
@@ -3367,6 +4132,16 @@ export {
|
|
|
3367
4132
|
zUpdateMetricHeaders,
|
|
3368
4133
|
zUpdateMetricPath,
|
|
3369
4134
|
zUpdateMetricResponse,
|
|
4135
|
+
zListMetricExperimentsHeaders,
|
|
4136
|
+
zListMetricExperimentsPath,
|
|
4137
|
+
zListMetricExperimentsResponse2,
|
|
4138
|
+
zUnarchiveMetricHeaders,
|
|
4139
|
+
zUnarchiveMetricPath,
|
|
4140
|
+
zUnarchiveMetricResponse2,
|
|
4141
|
+
zGetMetricSeriesBody,
|
|
4142
|
+
zGetMetricSeriesHeaders,
|
|
4143
|
+
zGetMetricSeriesPath,
|
|
4144
|
+
zGetMetricSeriesResponse2,
|
|
3370
4145
|
zListEventsHeaders,
|
|
3371
4146
|
zListEventsQuery,
|
|
3372
4147
|
zListEventsResponse2,
|
|
@@ -3393,6 +4168,9 @@ export {
|
|
|
3393
4168
|
zCreateOpsItemBody,
|
|
3394
4169
|
zCreateOpsItemHeaders,
|
|
3395
4170
|
zCreateOpsItemResponse2,
|
|
4171
|
+
zDeleteOpsItemHeaders,
|
|
4172
|
+
zDeleteOpsItemPath,
|
|
4173
|
+
zDeleteOpsItemResponse2,
|
|
3396
4174
|
zGetOpsItemHeaders,
|
|
3397
4175
|
zGetOpsItemPath,
|
|
3398
4176
|
zGetOpsItemResponse2,
|
|
@@ -3404,6 +4182,23 @@ export {
|
|
|
3404
4182
|
zLinkPrToOpsItemHeaders,
|
|
3405
4183
|
zLinkPrToOpsItemPath,
|
|
3406
4184
|
zLinkPrToOpsItemResponse2,
|
|
4185
|
+
zAckOpsItemBody,
|
|
4186
|
+
zAckOpsItemHeaders,
|
|
4187
|
+
zAckOpsItemPath,
|
|
4188
|
+
zAckOpsItemResponse2,
|
|
4189
|
+
zListOpsInvestigationsHeaders,
|
|
4190
|
+
zListOpsInvestigationsPath,
|
|
4191
|
+
zListOpsInvestigationsResponse2,
|
|
4192
|
+
zCreateOpsInvestigationBody,
|
|
4193
|
+
zCreateOpsInvestigationHeaders,
|
|
4194
|
+
zCreateOpsInvestigationPath,
|
|
4195
|
+
zCreateOpsInvestigationResponse,
|
|
4196
|
+
zUpdateOpsInvestigationBody,
|
|
4197
|
+
zUpdateOpsInvestigationHeaders,
|
|
4198
|
+
zUpdateOpsInvestigationPath,
|
|
4199
|
+
zUpdateOpsInvestigationResponse,
|
|
4200
|
+
zListOpsAgentsHeaders,
|
|
4201
|
+
zListOpsAgentsResponse2,
|
|
3407
4202
|
zListOpsCommentsHeaders,
|
|
3408
4203
|
zListOpsCommentsPath,
|
|
3409
4204
|
zListOpsCommentsResponse2,
|
|
@@ -3429,11 +4224,21 @@ export {
|
|
|
3429
4224
|
zUpdateAlertRuleHeaders,
|
|
3430
4225
|
zUpdateAlertRulePath,
|
|
3431
4226
|
zUpdateAlertRuleResponse2,
|
|
4227
|
+
zListAlertsHeaders,
|
|
4228
|
+
zListAlertsQuery,
|
|
4229
|
+
zListAlertsResponse2,
|
|
4230
|
+
zUpdateAlertBody,
|
|
4231
|
+
zUpdateAlertHeaders,
|
|
4232
|
+
zUpdateAlertPath,
|
|
4233
|
+
zUpdateAlertResponse,
|
|
3432
4234
|
zGetCurrentProjectHeaders,
|
|
3433
4235
|
zGetCurrentProjectResponse2,
|
|
3434
4236
|
zUpsertProjectBody,
|
|
3435
4237
|
zUpsertProjectHeaders,
|
|
3436
4238
|
zUpsertProjectResponse2,
|
|
4239
|
+
zGetProjectHeaders,
|
|
4240
|
+
zGetProjectPath,
|
|
4241
|
+
zGetProjectResponse,
|
|
3437
4242
|
zUpdateProjectBody,
|
|
3438
4243
|
zUpdateProjectHeaders,
|
|
3439
4244
|
zUpdateProjectPath,
|
|
@@ -3449,6 +4254,12 @@ export {
|
|
|
3449
4254
|
zPushI18nKeysBody,
|
|
3450
4255
|
zPushI18nKeysHeaders,
|
|
3451
4256
|
zPushI18nKeysResponse2,
|
|
4257
|
+
zUpsertI18nKeysBody,
|
|
4258
|
+
zUpsertI18nKeysHeaders,
|
|
4259
|
+
zUpsertI18nKeysResponse2,
|
|
4260
|
+
zDeleteI18nKeyHeaders,
|
|
4261
|
+
zDeleteI18nKeyPath,
|
|
4262
|
+
zDeleteI18nKeyResponse,
|
|
3452
4263
|
zUpdateI18nKeyBody,
|
|
3453
4264
|
zUpdateI18nKeyHeaders,
|
|
3454
4265
|
zUpdateI18nKeyPath,
|
|
@@ -3458,10 +4269,23 @@ export {
|
|
|
3458
4269
|
zCreateI18nDraftBody,
|
|
3459
4270
|
zCreateI18nDraftHeaders,
|
|
3460
4271
|
zCreateI18nDraftResponse,
|
|
4272
|
+
zDeleteI18nDraftHeaders,
|
|
4273
|
+
zDeleteI18nDraftPath,
|
|
4274
|
+
zDeleteI18nDraftResponse,
|
|
3461
4275
|
zUpdateI18nDraftBody,
|
|
3462
4276
|
zUpdateI18nDraftHeaders,
|
|
3463
4277
|
zUpdateI18nDraftPath,
|
|
3464
4278
|
zUpdateI18nDraftResponse,
|
|
4279
|
+
zDeleteI18nProfileHeaders,
|
|
4280
|
+
zDeleteI18nProfilePath,
|
|
4281
|
+
zDeleteI18nProfileResponse,
|
|
4282
|
+
zListI18nDraftKeysHeaders,
|
|
4283
|
+
zListI18nDraftKeysPath,
|
|
4284
|
+
zListI18nDraftKeysResponse2,
|
|
4285
|
+
zUpsertI18nDraftKeyBody,
|
|
4286
|
+
zUpsertI18nDraftKeyHeaders,
|
|
4287
|
+
zUpsertI18nDraftKeyPath,
|
|
4288
|
+
zUpsertI18nDraftKeyResponse,
|
|
3465
4289
|
zPublishI18nProfileBody,
|
|
3466
4290
|
zPublishI18nProfileHeaders,
|
|
3467
4291
|
zPublishI18nProfilePath,
|
|
@@ -3532,4 +4356,4 @@ export {
|
|
|
3532
4356
|
zSearchResourcesQuery,
|
|
3533
4357
|
zSearchResourcesResponse
|
|
3534
4358
|
};
|
|
3535
|
-
//# sourceMappingURL=chunk-
|
|
4359
|
+
//# sourceMappingURL=chunk-DBTSD3W5.js.map
|