@shipeasy/openapi 2.2.0 → 2.4.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-643YSMLU.js → chunk-4QSU744W.js} +183 -1
- package/dist/chunk-4QSU744W.js.map +1 -0
- package/dist/{chunk-MRW3DJ57.js → chunk-ZPKHTUVV.js} +1238 -335
- package/dist/chunk-ZPKHTUVV.js.map +1 -0
- package/dist/{client-K0ShmsC7.d.ts → client-WGNXT4xl.d.ts} +5818 -2647
- package/dist/client.d.ts +1 -1
- package/dist/client.js +51 -1
- package/dist/custom.js +4 -4
- package/dist/custom.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +52 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +3538 -534
- package/dist/schemas.js +253 -5
- package/openapi.json +12914 -7158
- package/openapi.yaml +7672 -3742
- package/package.json +1 -1
- package/spec/components/errors.yaml +33 -1
- package/spec/components/schemas/alerts.yaml +138 -0
- package/spec/components/schemas/attributes.yaml +53 -3
- package/spec/components/schemas/common.yaml +16 -0
- package/spec/components/schemas/configs.yaml +58 -0
- package/spec/components/schemas/connectors.yaml +5 -1
- package/spec/components/schemas/errors-api.yaml +116 -6
- package/spec/components/schemas/experiment-api-row.yaml +293 -0
- package/spec/components/schemas/experiments.yaml +395 -380
- package/spec/components/schemas/gates.yaml +355 -272
- package/spec/components/schemas/i18n.yaml +169 -40
- package/spec/components/schemas/keys.yaml +2 -1
- package/spec/components/schemas/killswitches.yaml +36 -0
- package/spec/components/schemas/metrics.yaml +200 -23
- package/spec/components/schemas/ops.yaml +918 -29
- package/spec/components/schemas/projects.yaml +246 -2
- package/spec/components/schemas/universes.yaml +83 -1
- package/spec/openapi.yaml +61 -0
- package/spec/paths/alert-rules.yaml +1 -0
- package/spec/paths/alerts.yaml +184 -0
- package/spec/paths/attributes.yaml +23 -5
- package/spec/paths/configs.yaml +71 -0
- package/spec/paths/errors.yaml +112 -2
- package/spec/paths/events.yaml +1 -0
- package/spec/paths/experiments.yaml +244 -16
- package/spec/paths/gates.yaml +138 -0
- package/spec/paths/i18n.yaml +290 -6
- package/spec/paths/keys.yaml +1 -0
- package/spec/paths/killswitches.yaml +7 -0
- package/spec/paths/metrics.yaml +187 -0
- package/spec/paths/ops.yaml +410 -0
- package/spec/paths/projects.yaml +62 -2
- package/spec/paths/universes.yaml +1 -0
- package/dist/chunk-643YSMLU.js.map +0 -1
- package/dist/chunk-MRW3DJ57.js.map +0 -1
|
@@ -1,14 +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
|
-
|
|
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(),
|
|
12
46
|
rules: z.array(z.object({
|
|
13
47
|
attr: z.string().min(1),
|
|
14
48
|
op: z.enum([
|
|
@@ -30,69 +64,41 @@ var zListGatesResponse = z.object({
|
|
|
30
64
|
"exp_in"
|
|
31
65
|
]),
|
|
32
66
|
value: z.unknown()
|
|
33
|
-
})).optional(),
|
|
67
|
+
})).optional().default([]),
|
|
68
|
+
rolloutPct: z.int().gte(0).lte(1e4).optional(),
|
|
69
|
+
bucketBy: z.string().optional(),
|
|
34
70
|
salt: z.string().optional(),
|
|
35
|
-
|
|
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
|
-
value: z.unknown()
|
|
67
|
-
})).optional().default([]),
|
|
68
|
-
rolloutPct: z.int().gte(0).lte(1e4).optional(),
|
|
69
|
-
bucketBy: z.string().optional(),
|
|
70
|
-
salt: z.string().optional(),
|
|
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
|
-
}), z.object({
|
|
79
|
-
id: z.string().min(1),
|
|
80
|
-
type: z.literal("rollout"),
|
|
81
|
-
name: z.string().optional(),
|
|
82
|
-
fromTemplate: z.string().nullish(),
|
|
83
|
-
rolloutPct: z.int().gte(0).lte(1e4),
|
|
84
|
-
bucketBy: z.string().optional(),
|
|
85
|
-
salt: z.string().optional(),
|
|
86
|
-
ramp: z.object({
|
|
87
|
-
from: z.int().gte(0).lte(1e4),
|
|
88
|
-
to: z.int().gte(0).lte(1e4),
|
|
89
|
-
startAt: z.int().gte(0).lte(9007199254740991),
|
|
90
|
-
durationMs: z.int().gt(0).lte(9007199254740991)
|
|
91
|
-
}).optional(),
|
|
92
|
-
locked: z.boolean().optional()
|
|
93
|
-
})])).nullish(),
|
|
94
|
-
updatedAt: z.string()
|
|
95
|
-
})),
|
|
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
|
+
}), z.object({
|
|
79
|
+
id: z.string().min(1),
|
|
80
|
+
type: z.literal("rollout"),
|
|
81
|
+
name: z.string().optional(),
|
|
82
|
+
fromTemplate: z.string().nullish(),
|
|
83
|
+
rolloutPct: z.int().gte(0).lte(1e4),
|
|
84
|
+
bucketBy: z.string().optional(),
|
|
85
|
+
salt: z.string().optional(),
|
|
86
|
+
ramp: z.object({
|
|
87
|
+
from: z.int().gte(0).lte(1e4),
|
|
88
|
+
to: z.int().gte(0).lte(1e4),
|
|
89
|
+
startAt: z.int().gte(0).lte(9007199254740991),
|
|
90
|
+
durationMs: z.int().gt(0).lte(9007199254740991)
|
|
91
|
+
}).optional(),
|
|
92
|
+
locked: z.boolean().optional()
|
|
93
|
+
})])).nullish(),
|
|
94
|
+
updatedAt: z.string(),
|
|
95
|
+
creatorEmail: z.string().nullable(),
|
|
96
|
+
updaterEmail: z.string().nullable(),
|
|
97
|
+
version: z.int().gte(1).lte(9007199254740991),
|
|
98
|
+
createdAt: z.string().nullable()
|
|
99
|
+
});
|
|
100
|
+
var zListGatesResponse = z.object({
|
|
101
|
+
data: z.array(zGateApiRow),
|
|
96
102
|
next_cursor: z.string().nullable()
|
|
97
103
|
});
|
|
98
104
|
var zErrorCode = z.enum([
|
|
@@ -110,17 +116,30 @@ var zErrorCode = z.enum([
|
|
|
110
116
|
"REFERENCED_NOT_FOUND",
|
|
111
117
|
"GROUPS_WEIGHT_SUM",
|
|
112
118
|
"EVENT_PENDING",
|
|
113
|
-
"INTERNAL"
|
|
119
|
+
"INTERNAL",
|
|
120
|
+
"PLAN_LIMIT",
|
|
121
|
+
"EXPERIMENT_NO_GOAL_METRIC",
|
|
122
|
+
"EXPERIMENT_ARCHIVED_RESTART",
|
|
123
|
+
"EXPERIMENT_RESTORE_INVALID",
|
|
124
|
+
"EXPERIMENT_NOT_RUNNING",
|
|
125
|
+
"EXPERIMENT_RUNNING_ARCHIVE",
|
|
126
|
+
"EXPERIMENT_IMMUTABLE_FIELD",
|
|
127
|
+
"METRIC_NOT_FOUND",
|
|
128
|
+
"METRIC_UNKNOWN_ID",
|
|
129
|
+
"AGENT_NOT_CONNECTED"
|
|
114
130
|
]);
|
|
115
131
|
var zError = z.object({
|
|
116
132
|
error: z.string(),
|
|
117
133
|
code: zErrorCode.optional(),
|
|
118
134
|
detail: z.string().optional(),
|
|
119
|
-
|
|
135
|
+
fields: z.record(z.string(), z.string()).optional(),
|
|
136
|
+
instructions: z.string().optional(),
|
|
137
|
+
schema: z.record(z.string(), z.unknown()).optional()
|
|
120
138
|
});
|
|
121
139
|
var zFolder = z.string().max(256).regex(/^[a-zA-Z0-9_-]+$/).nullable();
|
|
122
140
|
var zCreateGateRequest = z.object({
|
|
123
141
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
142
|
+
type: z.enum(["targeting", "holdout"]).optional().default("targeting"),
|
|
124
143
|
enabled: z.boolean().optional().default(true),
|
|
125
144
|
rollout_pct: z.int().gte(0).lte(1e4).optional().default(0),
|
|
126
145
|
rollout_percent: z.number().gte(0).lte(100).optional(),
|
|
@@ -216,6 +235,7 @@ var zDeleteGateResponse = z.object({
|
|
|
216
235
|
ok: z.literal(true)
|
|
217
236
|
});
|
|
218
237
|
var zUpdateGateRequest = z.object({
|
|
238
|
+
type: z.enum(["targeting", "holdout"]).optional(),
|
|
219
239
|
rollout_pct: z.int().gte(0).lte(1e4).optional(),
|
|
220
240
|
rollout_percent: z.number().gte(0).lte(100).optional(),
|
|
221
241
|
rules: z.array(z.object({
|
|
@@ -312,45 +332,93 @@ var zDisableGateResponse = z.object({
|
|
|
312
332
|
id: z.string(),
|
|
313
333
|
enabled: z.boolean()
|
|
314
334
|
});
|
|
315
|
-
var
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
335
|
+
var zListGateActivityResponse = z.array(z.object({
|
|
336
|
+
id: z.string(),
|
|
337
|
+
action: z.string(),
|
|
338
|
+
actorEmail: z.string(),
|
|
339
|
+
actorType: z.enum([
|
|
340
|
+
"user",
|
|
341
|
+
"cli",
|
|
342
|
+
"system"
|
|
343
|
+
]),
|
|
344
|
+
payload: z.unknown(),
|
|
345
|
+
createdAt: z.string()
|
|
346
|
+
}));
|
|
347
|
+
var zExperimentApiRow = z.object({
|
|
348
|
+
id: z.string(),
|
|
349
|
+
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
350
|
+
description: z.string().nullable(),
|
|
351
|
+
hypothesis: z.string().nullable(),
|
|
352
|
+
tag: z.string().nullable(),
|
|
353
|
+
ownerEmail: z.string().nullable(),
|
|
354
|
+
audience: z.string().nullable(),
|
|
355
|
+
bucketBy: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/).nullable(),
|
|
356
|
+
folder: z.string().nullable(),
|
|
357
|
+
status: z.enum([
|
|
358
|
+
"draft",
|
|
359
|
+
"running",
|
|
360
|
+
"stopped",
|
|
361
|
+
"archived"
|
|
362
|
+
]),
|
|
363
|
+
universe: z.string(),
|
|
364
|
+
targetingGate: z.string().nullable(),
|
|
365
|
+
holdoutGate: z.string().nullable(),
|
|
366
|
+
allocationPct: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
367
|
+
reservedHeadroom: z.int().gte(0).lte(1e4),
|
|
368
|
+
hashVersion: z.int().gte(1),
|
|
369
|
+
poolOffsetBp: z.int().gte(0).lte(1e4).nullable(),
|
|
370
|
+
poolSizeBp: z.int().gte(0).lte(1e4).nullable(),
|
|
371
|
+
salt: z.string(),
|
|
372
|
+
params: z.record(z.string(), z.enum([
|
|
373
|
+
"string",
|
|
374
|
+
"bool",
|
|
375
|
+
"number"
|
|
376
|
+
])),
|
|
377
|
+
groups: z.array(z.object({
|
|
378
|
+
name: z.string().min(1).max(64),
|
|
379
|
+
weight: z.int().gte(0).lte(1e4),
|
|
380
|
+
params: z.record(z.string(), z.unknown()).optional().default({})
|
|
353
381
|
})),
|
|
382
|
+
significanceThreshold: z.number(),
|
|
383
|
+
minRuntimeDays: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
384
|
+
minSampleSize: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
385
|
+
sequentialTesting: z.boolean(),
|
|
386
|
+
startedAt: z.string().nullable(),
|
|
387
|
+
stoppedAt: z.string().nullable(),
|
|
388
|
+
updatedAt: z.string(),
|
|
389
|
+
version: z.int().nullable(),
|
|
390
|
+
creatorEmail: z.string().nullish(),
|
|
391
|
+
updaterEmail: z.string().nullish(),
|
|
392
|
+
verdict: z.enum([
|
|
393
|
+
"ship",
|
|
394
|
+
"hold",
|
|
395
|
+
"wait",
|
|
396
|
+
"invalid",
|
|
397
|
+
"draft"
|
|
398
|
+
]).optional(),
|
|
399
|
+
verdictTitle: z.string().optional(),
|
|
400
|
+
verdictWhy: z.string().optional(),
|
|
401
|
+
goalMetric: z.object({
|
|
402
|
+
id: z.string(),
|
|
403
|
+
name: z.string()
|
|
404
|
+
}).nullish(),
|
|
405
|
+
guardrails: z.array(z.object({
|
|
406
|
+
id: z.string(),
|
|
407
|
+
name: z.string(),
|
|
408
|
+
eventName: z.string().nullish()
|
|
409
|
+
})).optional(),
|
|
410
|
+
guardrailCount: z.int().gte(0).optional(),
|
|
411
|
+
primaryLiftPct: z.number().nullish(),
|
|
412
|
+
significancePct: z.number().nullish(),
|
|
413
|
+
sampleSize: z.int().nullish(),
|
|
414
|
+
exposure: z.array(z.object({
|
|
415
|
+
ds: z.string(),
|
|
416
|
+
value: z.number()
|
|
417
|
+
})).optional(),
|
|
418
|
+
exposureTotal: z.int().nullish()
|
|
419
|
+
});
|
|
420
|
+
var zListExperimentsResponse = z.object({
|
|
421
|
+
data: z.array(zExperimentApiRow),
|
|
354
422
|
next_cursor: z.string().nullable()
|
|
355
423
|
});
|
|
356
424
|
var zMetricName = z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/);
|
|
@@ -366,7 +434,8 @@ var zExperimentInlineMetric = z.object({
|
|
|
366
434
|
"sum",
|
|
367
435
|
"avg"
|
|
368
436
|
]).optional(),
|
|
369
|
-
value: z.string().min(1).max(256).optional()
|
|
437
|
+
value: z.string().min(1).max(256).optional(),
|
|
438
|
+
min_effect_of_interest: z.number().nullish().default(null)
|
|
370
439
|
});
|
|
371
440
|
var zCreateExperimentRequest = z.object({
|
|
372
441
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
@@ -379,8 +448,10 @@ var zCreateExperimentRequest = z.object({
|
|
|
379
448
|
folder: zFolder.optional(),
|
|
380
449
|
universe: z.string().min(1),
|
|
381
450
|
targeting_gate: z.string().nullish().default(null),
|
|
451
|
+
holdout_gate: z.string().nullish().default(null),
|
|
382
452
|
allocation_pct: z.int().gte(0).lte(1e4).optional().default(0),
|
|
383
453
|
allocation_percent: z.number().gte(0).lte(100).optional(),
|
|
454
|
+
reserved_headroom: z.int().gte(0).lte(1e4).optional(),
|
|
384
455
|
salt: z.string().min(1).max(64).optional(),
|
|
385
456
|
params: z.record(z.string(), z.enum([
|
|
386
457
|
"string",
|
|
@@ -403,44 +474,6 @@ var zCreateExperimentResponse = z.object({
|
|
|
403
474
|
id: z.string(),
|
|
404
475
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/)
|
|
405
476
|
});
|
|
406
|
-
var zGetExperimentResponse = z.object({
|
|
407
|
-
id: z.string(),
|
|
408
|
-
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
409
|
-
description: z.string().nullable(),
|
|
410
|
-
hypothesis: z.string().nullable(),
|
|
411
|
-
tag: z.string().nullable(),
|
|
412
|
-
ownerEmail: z.string().nullable(),
|
|
413
|
-
audience: z.string().nullable(),
|
|
414
|
-
bucketBy: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/).nullable(),
|
|
415
|
-
folder: z.string().nullable(),
|
|
416
|
-
status: z.enum([
|
|
417
|
-
"draft",
|
|
418
|
-
"running",
|
|
419
|
-
"stopped",
|
|
420
|
-
"archived"
|
|
421
|
-
]),
|
|
422
|
-
universe: z.string(),
|
|
423
|
-
targetingGate: z.string().nullable(),
|
|
424
|
-
allocationPct: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
425
|
-
salt: z.string(),
|
|
426
|
-
params: z.record(z.string(), z.enum([
|
|
427
|
-
"string",
|
|
428
|
-
"bool",
|
|
429
|
-
"number"
|
|
430
|
-
])),
|
|
431
|
-
groups: z.array(z.object({
|
|
432
|
-
name: z.string().min(1).max(64),
|
|
433
|
-
weight: z.int().gte(0).lte(1e4),
|
|
434
|
-
params: z.record(z.string(), z.unknown()).optional().default({})
|
|
435
|
-
})),
|
|
436
|
-
significanceThreshold: z.number(),
|
|
437
|
-
minRuntimeDays: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
438
|
-
minSampleSize: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
439
|
-
sequentialTesting: z.boolean(),
|
|
440
|
-
startedAt: z.string().nullable(),
|
|
441
|
-
stoppedAt: z.string().nullish(),
|
|
442
|
-
updatedAt: z.string()
|
|
443
|
-
});
|
|
444
477
|
var zDeleteExperimentResponse = z.object({
|
|
445
478
|
ok: z.literal(true)
|
|
446
479
|
});
|
|
@@ -454,7 +487,9 @@ var zUpdateExperimentRequest = z.object({
|
|
|
454
487
|
bucket_by: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/).nullish(),
|
|
455
488
|
folder: zFolder.optional(),
|
|
456
489
|
targeting_gate: z.string().nullish(),
|
|
490
|
+
holdout_gate: z.string().nullish(),
|
|
457
491
|
allocation_pct: z.int().gte(0).lte(1e4).optional(),
|
|
492
|
+
reserved_headroom: z.int().gte(0).lte(1e4).optional(),
|
|
458
493
|
allocation_percent: z.number().gte(0).lte(100).optional(),
|
|
459
494
|
salt: z.string().min(1).max(64).optional(),
|
|
460
495
|
universe: z.string().optional(),
|
|
@@ -502,7 +537,8 @@ var zSetExperimentMetricsRequest = z.object({
|
|
|
502
537
|
"goal",
|
|
503
538
|
"guardrail",
|
|
504
539
|
"secondary"
|
|
505
|
-
])
|
|
540
|
+
]),
|
|
541
|
+
min_effect_of_interest: z.number().nullish().default(null)
|
|
506
542
|
}))
|
|
507
543
|
});
|
|
508
544
|
var zSetExperimentMetricsResponse = z.object({
|
|
@@ -513,9 +549,35 @@ var zSetExperimentMetricsResponse = z.object({
|
|
|
513
549
|
"goal",
|
|
514
550
|
"guardrail",
|
|
515
551
|
"secondary"
|
|
516
|
-
])
|
|
552
|
+
]),
|
|
553
|
+
min_effect_of_interest: z.number().nullable()
|
|
517
554
|
}))
|
|
518
555
|
});
|
|
556
|
+
var zExperimentResultRow = z.object({
|
|
557
|
+
metric: z.string(),
|
|
558
|
+
groupName: z.string(),
|
|
559
|
+
ds: z.string(),
|
|
560
|
+
n: z.int().nullable(),
|
|
561
|
+
mean: z.number().nullable(),
|
|
562
|
+
variance: z.number().nullable(),
|
|
563
|
+
delta: z.number().nullable(),
|
|
564
|
+
deltaPct: z.number().nullable(),
|
|
565
|
+
ci95Low: z.number().nullable(),
|
|
566
|
+
ci95High: z.number().nullable(),
|
|
567
|
+
ci99Low: z.number().nullable(),
|
|
568
|
+
ci99High: z.number().nullable(),
|
|
569
|
+
ciLow: z.number().nullable(),
|
|
570
|
+
ciHigh: z.number().nullable(),
|
|
571
|
+
pValue: z.number().nullable(),
|
|
572
|
+
expectedN: z.int().nullable(),
|
|
573
|
+
realizedMde: z.number().nullable(),
|
|
574
|
+
srmPValue: z.number().nullable(),
|
|
575
|
+
srmDetected: z.int(),
|
|
576
|
+
msprtSignificant: z.int().nullable(),
|
|
577
|
+
msprtLambda: z.number().nullable(),
|
|
578
|
+
isFinal: z.int(),
|
|
579
|
+
peekWarning: z.int()
|
|
580
|
+
});
|
|
519
581
|
var zGetExperimentResultsResponse = z.object({
|
|
520
582
|
experiment: z.object({
|
|
521
583
|
id: z.string(),
|
|
@@ -527,16 +589,7 @@ var zGetExperimentResultsResponse = z.object({
|
|
|
527
589
|
"archived"
|
|
528
590
|
])
|
|
529
591
|
}),
|
|
530
|
-
results: z.array(
|
|
531
|
-
metric: z.string(),
|
|
532
|
-
group_name: z.string(),
|
|
533
|
-
ds: z.string(),
|
|
534
|
-
n: z.number().nullable(),
|
|
535
|
-
mean: z.number().nullable(),
|
|
536
|
-
delta_pct: z.number().nullable(),
|
|
537
|
-
p_value: z.number().nullable(),
|
|
538
|
-
srm_detected: z.number().nullable()
|
|
539
|
-
})),
|
|
592
|
+
results: z.array(zExperimentResultRow),
|
|
540
593
|
verdict: z.enum([
|
|
541
594
|
"ship",
|
|
542
595
|
"hold",
|
|
@@ -556,27 +609,82 @@ var zGetExperimentTimeseriesResponse = z.object({
|
|
|
556
609
|
"archived"
|
|
557
610
|
])
|
|
558
611
|
}),
|
|
559
|
-
series: z.array(
|
|
560
|
-
metric: z.string(),
|
|
561
|
-
group_name: z.string(),
|
|
562
|
-
ds: z.string(),
|
|
563
|
-
n: z.number().nullable(),
|
|
564
|
-
mean: z.number().nullable(),
|
|
565
|
-
delta_pct: z.number().nullable(),
|
|
566
|
-
p_value: z.number().nullable(),
|
|
567
|
-
srm_detected: z.number().nullable()
|
|
568
|
-
}))
|
|
612
|
+
series: z.array(zExperimentResultRow)
|
|
569
613
|
});
|
|
570
614
|
var zReanalyzeExperimentResponse = z.object({
|
|
571
615
|
id: z.string(),
|
|
572
|
-
queued: z.
|
|
616
|
+
queued: z.boolean()
|
|
617
|
+
});
|
|
618
|
+
var zCreateExperimentReadoutRequest = z.object({
|
|
619
|
+
kind: z.enum([
|
|
620
|
+
"manual",
|
|
621
|
+
"ship",
|
|
622
|
+
"stop"
|
|
623
|
+
]),
|
|
624
|
+
acknowledgedCaveatIds: z.array(z.string()).optional(),
|
|
625
|
+
requireAllAcknowledged: z.boolean().optional()
|
|
626
|
+
});
|
|
627
|
+
var zCreateExperimentReadoutResponse = z.object({
|
|
628
|
+
id: z.string()
|
|
629
|
+
});
|
|
630
|
+
var zExperimentReadoutMetric = z.object({
|
|
631
|
+
name: z.string(),
|
|
632
|
+
role: z.enum([
|
|
633
|
+
"goal",
|
|
634
|
+
"guardrail",
|
|
635
|
+
"secondary"
|
|
636
|
+
]),
|
|
637
|
+
delta: z.number().nullable(),
|
|
638
|
+
deltaPct: z.number().nullable(),
|
|
639
|
+
ci: z.tuple([z.number(), z.number()]).nullable(),
|
|
640
|
+
p: z.number().nullable(),
|
|
641
|
+
sig: z.boolean(),
|
|
642
|
+
pass: z.boolean().optional()
|
|
643
|
+
});
|
|
644
|
+
var zExperimentReadoutCaveat = z.object({
|
|
645
|
+
id: z.string(),
|
|
646
|
+
severity: z.enum([
|
|
647
|
+
"info",
|
|
648
|
+
"warn",
|
|
649
|
+
"danger"
|
|
650
|
+
]),
|
|
651
|
+
text: z.string(),
|
|
652
|
+
acknowledged: z.boolean()
|
|
653
|
+
});
|
|
654
|
+
var zExperimentReadoutApiRow = z.object({
|
|
655
|
+
id: z.string(),
|
|
656
|
+
experimentId: z.string(),
|
|
657
|
+
experimentName: z.string(),
|
|
658
|
+
kind: z.enum([
|
|
659
|
+
"manual",
|
|
660
|
+
"ship",
|
|
661
|
+
"stop"
|
|
662
|
+
]),
|
|
663
|
+
createdBy: z.string(),
|
|
664
|
+
createdAt: z.string(),
|
|
665
|
+
verdict: z.string(),
|
|
666
|
+
title: z.string(),
|
|
667
|
+
why: z.string(),
|
|
668
|
+
configHash: z.string(),
|
|
669
|
+
metricsJson: z.array(zExperimentReadoutMetric).nullable(),
|
|
670
|
+
caveatsJson: z.array(zExperimentReadoutCaveat).nullable(),
|
|
671
|
+
usersJson: z.object({
|
|
672
|
+
groups: z.array(z.object({
|
|
673
|
+
name: z.string(),
|
|
674
|
+
n: z.number()
|
|
675
|
+
})),
|
|
676
|
+
days: z.number()
|
|
677
|
+
}).nullable()
|
|
573
678
|
});
|
|
574
679
|
var zListConfigsResponse = z.object({
|
|
575
680
|
data: z.array(z.object({
|
|
576
681
|
id: z.string(),
|
|
577
682
|
name: z.string().max(128),
|
|
578
683
|
description: z.string().nullable(),
|
|
684
|
+
folder: z.string().nullable(),
|
|
579
685
|
schema: z.record(z.string(), z.unknown()),
|
|
686
|
+
creatorEmail: z.string().nullish(),
|
|
687
|
+
createdAt: z.string().nullish(),
|
|
580
688
|
updatedAt: z.string(),
|
|
581
689
|
envs: z.record(z.string(), z.object({
|
|
582
690
|
version: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
@@ -609,7 +717,10 @@ var zGetConfigResponse = z.object({
|
|
|
609
717
|
id: z.string(),
|
|
610
718
|
name: z.string().max(128),
|
|
611
719
|
description: z.string().nullable(),
|
|
720
|
+
folder: z.string().nullable(),
|
|
612
721
|
schema: z.record(z.string(), z.unknown()),
|
|
722
|
+
creatorEmail: z.string().nullish(),
|
|
723
|
+
createdAt: z.string().nullish(),
|
|
613
724
|
updatedAt: z.string(),
|
|
614
725
|
envs: z.record(z.string(), z.object({
|
|
615
726
|
version: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
@@ -682,11 +793,20 @@ var zUpdateConfigSchemaRequest = z.object({
|
|
|
682
793
|
var zUpdateConfigSchemaResponse = z.object({
|
|
683
794
|
id: z.string()
|
|
684
795
|
});
|
|
796
|
+
var zListConfigVersionsResponse = z.array(z.object({
|
|
797
|
+
version: z.int().gte(1).lte(9007199254740991),
|
|
798
|
+
value: z.unknown(),
|
|
799
|
+
publishedAt: z.string(),
|
|
800
|
+
publishedBy: z.string()
|
|
801
|
+
}));
|
|
685
802
|
var zListKillswitchesResponse = z.object({
|
|
686
803
|
data: z.array(z.object({
|
|
687
804
|
id: z.string(),
|
|
688
805
|
name: z.string().max(128),
|
|
689
806
|
description: z.string().nullable(),
|
|
807
|
+
folder: z.string().nullable(),
|
|
808
|
+
creatorEmail: z.string().nullable(),
|
|
809
|
+
createdAt: z.string().nullable(),
|
|
690
810
|
updatedAt: z.string(),
|
|
691
811
|
envs: z.record(z.string(), z.object({
|
|
692
812
|
value: z.boolean(),
|
|
@@ -713,6 +833,9 @@ var zGetKillswitchResponse = z.object({
|
|
|
713
833
|
id: z.string(),
|
|
714
834
|
name: z.string().max(128),
|
|
715
835
|
description: z.string().nullable(),
|
|
836
|
+
folder: z.string().nullable(),
|
|
837
|
+
creatorEmail: z.string().nullable(),
|
|
838
|
+
createdAt: z.string().nullable(),
|
|
716
839
|
updatedAt: z.string(),
|
|
717
840
|
envs: z.record(z.string(), z.object({
|
|
718
841
|
value: z.boolean(),
|
|
@@ -769,12 +892,26 @@ var zSetKillswitchValueResponse = z.object({
|
|
|
769
892
|
version: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
770
893
|
published: zKillswitchValue
|
|
771
894
|
});
|
|
895
|
+
var zUniverseParam = z.object({
|
|
896
|
+
name: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/),
|
|
897
|
+
type: z.enum([
|
|
898
|
+
"bool",
|
|
899
|
+
"string",
|
|
900
|
+
"int",
|
|
901
|
+
"number"
|
|
902
|
+
]),
|
|
903
|
+
default: z.unknown()
|
|
904
|
+
});
|
|
905
|
+
var zUniverseParamSchema = z.array(zUniverseParam);
|
|
772
906
|
var zListUniversesResponse = z.object({
|
|
773
907
|
data: z.array(z.object({
|
|
774
908
|
id: z.string(),
|
|
775
909
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
910
|
+
description: z.string().nullish(),
|
|
776
911
|
unitType: z.string(),
|
|
777
912
|
holdoutRange: z.tuple([z.number(), z.number()]).nullable(),
|
|
913
|
+
recommendedHeadroom: z.int().gte(0).lte(1e4).optional(),
|
|
914
|
+
paramSchema: zUniverseParamSchema.nullish(),
|
|
778
915
|
createdAt: z.string()
|
|
779
916
|
})),
|
|
780
917
|
next_cursor: z.string().nullable()
|
|
@@ -782,8 +919,11 @@ var zListUniversesResponse = z.object({
|
|
|
782
919
|
var zCreateUniverseRequest = z.object({
|
|
783
920
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
784
921
|
folder: zFolder.optional(),
|
|
922
|
+
description: z.string().max(2e3).nullish().default(null),
|
|
785
923
|
unit_type: z.string().optional().default("user_id"),
|
|
786
|
-
holdout_range: z.tuple([z.int().gte(0).lte(9999), z.int().gte(0).lte(9999)]).nullish().default(null)
|
|
924
|
+
holdout_range: z.tuple([z.int().gte(0).lte(9999), z.int().gte(0).lte(9999)]).nullish().default(null),
|
|
925
|
+
recommended_headroom: z.int().gte(0).lte(1e4).optional().default(0),
|
|
926
|
+
param_schema: zUniverseParamSchema.nullish().default(null)
|
|
787
927
|
});
|
|
788
928
|
var zCreateUniverseResponse = z.object({
|
|
789
929
|
id: z.string(),
|
|
@@ -794,7 +934,10 @@ var zDeleteUniverseResponse = z.object({
|
|
|
794
934
|
});
|
|
795
935
|
var zUpdateUniverseRequest = z.object({
|
|
796
936
|
folder: zFolder.optional(),
|
|
797
|
-
|
|
937
|
+
description: z.string().max(2e3).nullish(),
|
|
938
|
+
holdout_range: z.tuple([z.int().gte(0).lte(9999), z.int().gte(0).lte(9999)]).nullish(),
|
|
939
|
+
recommended_headroom: z.int().gte(0).lte(1e4).optional(),
|
|
940
|
+
param_schema: zUniverseParamSchema.nullish()
|
|
798
941
|
});
|
|
799
942
|
var zUpdateUniverseResponse = z.object({
|
|
800
943
|
id: z.string()
|
|
@@ -890,10 +1033,6 @@ var zUpdateGateTemplateRequest = z.object({
|
|
|
890
1033
|
var zUpdateGateTemplateResponse = z.object({
|
|
891
1034
|
id: z.string()
|
|
892
1035
|
});
|
|
893
|
-
var zListAttributesResponse = z.array(z.object({
|
|
894
|
-
name: z.string(),
|
|
895
|
-
type: z.string().optional()
|
|
896
|
-
}));
|
|
897
1036
|
var zAttributeType = z.enum([
|
|
898
1037
|
"string",
|
|
899
1038
|
"number",
|
|
@@ -901,6 +1040,19 @@ var zAttributeType = z.enum([
|
|
|
901
1040
|
"enum",
|
|
902
1041
|
"date"
|
|
903
1042
|
]);
|
|
1043
|
+
var zListAttributesResponse = z.array(z.object({
|
|
1044
|
+
id: z.string(),
|
|
1045
|
+
name: z.string(),
|
|
1046
|
+
type: zAttributeType,
|
|
1047
|
+
enumValues: z.array(z.string()).nullish(),
|
|
1048
|
+
required: z.union([z.literal(0), z.literal(1)]).optional(),
|
|
1049
|
+
description: z.string().nullish(),
|
|
1050
|
+
sdkPath: z.string().nullish(),
|
|
1051
|
+
createdAt: z.string().optional(),
|
|
1052
|
+
source: z.enum(["auto", "manual"]).optional(),
|
|
1053
|
+
lastSeenAt: z.string().nullish(),
|
|
1054
|
+
deprecated: z.union([z.literal(0), z.literal(1)]).optional()
|
|
1055
|
+
}));
|
|
904
1056
|
var zCreateAttributeRequest = z.object({
|
|
905
1057
|
name: z.string().regex(/^[a-z0-9][a-z0-9_-]{0,63}$/),
|
|
906
1058
|
type: zAttributeType,
|
|
@@ -1029,21 +1181,28 @@ var zListMetricsResponse = z.array(z.object({
|
|
|
1029
1181
|
folder: z.string().nullable(),
|
|
1030
1182
|
eventName: z.string(),
|
|
1031
1183
|
query: z.string().nullable(),
|
|
1032
|
-
queryIr: zQueryIr,
|
|
1184
|
+
queryIr: zQueryIr.nullable(),
|
|
1185
|
+
displayName: z.string().nullable(),
|
|
1186
|
+
presetId: z.string().nullable(),
|
|
1187
|
+
unit: z.string().nullable(),
|
|
1188
|
+
version: z.int(),
|
|
1189
|
+
deletedAt: z.string().nullable(),
|
|
1190
|
+
creatorEmail: z.string().nullish(),
|
|
1191
|
+
updaterEmail: z.string().nullish(),
|
|
1033
1192
|
direction: z.enum([
|
|
1034
1193
|
"higher_better",
|
|
1035
1194
|
"lower_better",
|
|
1036
1195
|
"neutral"
|
|
1037
1196
|
]).optional(),
|
|
1038
1197
|
winsorizePct: z.number().optional(),
|
|
1039
|
-
|
|
1040
|
-
createdAt: z.string().
|
|
1198
|
+
defaultMinEffectOfInterest: z.number().nullish(),
|
|
1199
|
+
createdAt: z.string().nullish(),
|
|
1041
1200
|
updatedAt: z.string().optional()
|
|
1042
1201
|
}));
|
|
1043
1202
|
var zMetricEventName = z.string().min(1);
|
|
1044
1203
|
var zMetricQueryDsl = z.string().min(1).max(4096);
|
|
1045
1204
|
var zMetricWinsorizePct = z.int().gte(1).lte(99).default(99);
|
|
1046
|
-
var
|
|
1205
|
+
var zMetricDefaultMinEffectOfInterest = z.number().nullable().default(null);
|
|
1047
1206
|
var zMetricDirection = z.enum([
|
|
1048
1207
|
"higher_better",
|
|
1049
1208
|
"lower_better",
|
|
@@ -1055,7 +1214,7 @@ var zCreateMetricWithQuery = z.object({
|
|
|
1055
1214
|
event_name: zMetricEventName,
|
|
1056
1215
|
query: zMetricQueryDsl,
|
|
1057
1216
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1058
|
-
|
|
1217
|
+
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1059
1218
|
direction: zMetricDirection.optional()
|
|
1060
1219
|
});
|
|
1061
1220
|
var zCreateMetricWithQueryIr = z.object({
|
|
@@ -1064,7 +1223,7 @@ var zCreateMetricWithQueryIr = z.object({
|
|
|
1064
1223
|
event_name: zMetricEventName,
|
|
1065
1224
|
query_ir: zQueryIr,
|
|
1066
1225
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1067
|
-
|
|
1226
|
+
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1068
1227
|
direction: zMetricDirection.optional()
|
|
1069
1228
|
});
|
|
1070
1229
|
var zCreateMetricRequest = z.union([
|
|
@@ -1081,15 +1240,20 @@ var zGetMetricResponse = z.object({
|
|
|
1081
1240
|
folder: z.string().nullable(),
|
|
1082
1241
|
eventName: z.string(),
|
|
1083
1242
|
query: z.string().nullable(),
|
|
1084
|
-
queryIr: zQueryIr,
|
|
1243
|
+
queryIr: zQueryIr.nullable(),
|
|
1244
|
+
displayName: z.string().nullable(),
|
|
1245
|
+
presetId: z.string().nullable(),
|
|
1246
|
+
unit: z.string().nullable(),
|
|
1247
|
+
version: z.int(),
|
|
1248
|
+
deletedAt: z.string().nullable(),
|
|
1085
1249
|
direction: z.enum([
|
|
1086
1250
|
"higher_better",
|
|
1087
1251
|
"lower_better",
|
|
1088
1252
|
"neutral"
|
|
1089
1253
|
]).optional(),
|
|
1090
1254
|
winsorizePct: z.number().optional(),
|
|
1091
|
-
|
|
1092
|
-
createdAt: z.string().
|
|
1255
|
+
defaultMinEffectOfInterest: z.number().nullish(),
|
|
1256
|
+
createdAt: z.string().nullish(),
|
|
1093
1257
|
updatedAt: z.string().optional()
|
|
1094
1258
|
});
|
|
1095
1259
|
var zDeleteMetricResponse = z.object({
|
|
@@ -1100,7 +1264,7 @@ var zUpdateMetricWithQuery = z.object({
|
|
|
1100
1264
|
event_name: zMetricEventName.optional(),
|
|
1101
1265
|
query: zMetricQueryDsl,
|
|
1102
1266
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1103
|
-
|
|
1267
|
+
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1104
1268
|
direction: zMetricDirection.optional()
|
|
1105
1269
|
});
|
|
1106
1270
|
var zUpdateMetricWithQueryIr = z.object({
|
|
@@ -1108,14 +1272,14 @@ var zUpdateMetricWithQueryIr = z.object({
|
|
|
1108
1272
|
event_name: zMetricEventName.optional(),
|
|
1109
1273
|
query_ir: zQueryIr,
|
|
1110
1274
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1111
|
-
|
|
1275
|
+
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1112
1276
|
direction: zMetricDirection.optional()
|
|
1113
1277
|
});
|
|
1114
1278
|
var zUpdateMetricFields = z.object({
|
|
1115
1279
|
folder: zFolder.optional(),
|
|
1116
1280
|
event_name: zMetricEventName.optional(),
|
|
1117
1281
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1118
|
-
|
|
1282
|
+
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1119
1283
|
direction: zMetricDirection.optional()
|
|
1120
1284
|
});
|
|
1121
1285
|
var zUpdateMetricRequest = z.union([
|
|
@@ -1123,6 +1287,38 @@ var zUpdateMetricRequest = z.union([
|
|
|
1123
1287
|
zUpdateMetricWithQueryIr,
|
|
1124
1288
|
zUpdateMetricFields
|
|
1125
1289
|
]);
|
|
1290
|
+
var zListMetricExperimentsResponse = z.object({
|
|
1291
|
+
experiments: z.array(z.object({
|
|
1292
|
+
id: z.string(),
|
|
1293
|
+
name: z.string(),
|
|
1294
|
+
status: z.enum([
|
|
1295
|
+
"draft",
|
|
1296
|
+
"running",
|
|
1297
|
+
"stopped",
|
|
1298
|
+
"archived"
|
|
1299
|
+
]),
|
|
1300
|
+
role: z.enum([
|
|
1301
|
+
"goal",
|
|
1302
|
+
"guardrail",
|
|
1303
|
+
"secondary"
|
|
1304
|
+
])
|
|
1305
|
+
}))
|
|
1306
|
+
});
|
|
1307
|
+
var zUnarchiveMetricResponse = z.object({
|
|
1308
|
+
ok: z.literal(true)
|
|
1309
|
+
});
|
|
1310
|
+
var zGetMetricSeriesRequest = z.object({
|
|
1311
|
+
from: z.int().gte(0),
|
|
1312
|
+
to: z.int().gte(0),
|
|
1313
|
+
bucket: z.int().gte(60).lte(86400).optional().default(3600)
|
|
1314
|
+
});
|
|
1315
|
+
var zGetMetricSeriesResponse = z.object({
|
|
1316
|
+
sql: z.string(),
|
|
1317
|
+
rows: z.array(z.object({
|
|
1318
|
+
t: z.int(),
|
|
1319
|
+
v: z.number()
|
|
1320
|
+
}))
|
|
1321
|
+
});
|
|
1126
1322
|
var zListEventsResponse = z.array(z.object({
|
|
1127
1323
|
id: z.string(),
|
|
1128
1324
|
name: z.string(),
|
|
@@ -1220,7 +1416,9 @@ var zOpsItemStatus = z.enum([
|
|
|
1220
1416
|
"pending_approval",
|
|
1221
1417
|
"triage",
|
|
1222
1418
|
"triaged",
|
|
1419
|
+
"investigating_by_ai",
|
|
1223
1420
|
"in_progress",
|
|
1421
|
+
"blocked",
|
|
1224
1422
|
"ready_for_qa",
|
|
1225
1423
|
"resolved",
|
|
1226
1424
|
"wont_fix"
|
|
@@ -1231,63 +1429,18 @@ var zOpsItemPriority = z.enum([
|
|
|
1231
1429
|
"high",
|
|
1232
1430
|
"critical"
|
|
1233
1431
|
]);
|
|
1234
|
-
var
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
status: zOpsItemStatus,
|
|
1246
|
-
priority: zOpsItemPriority.nullable(),
|
|
1247
|
-
sourceRef: z.string().nullish(),
|
|
1248
|
-
createdAt: z.string()
|
|
1249
|
-
}));
|
|
1250
|
-
var zNotificationTarget = z.object({
|
|
1251
|
-
slackChannel: z.object({
|
|
1252
|
-
id: z.string().min(1),
|
|
1253
|
-
name: z.string().min(1)
|
|
1254
|
-
}).nullish(),
|
|
1255
|
-
email: z.email().nullish()
|
|
1256
|
-
}).nullable();
|
|
1257
|
-
var zCreateBugRequest = z.object({
|
|
1258
|
-
type: z.enum(["bug"]),
|
|
1259
|
-
title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
|
|
1260
|
-
stepsToReproduce: z.string().max(8e3).optional().default(""),
|
|
1261
|
-
actualResult: z.string().max(8e3).optional().default(""),
|
|
1262
|
-
expectedResult: z.string().max(8e3).optional().default(""),
|
|
1263
|
-
priority: zOpsItemPriority.nullish(),
|
|
1264
|
-
reporterEmail: z.email().nullish(),
|
|
1265
|
-
pageUrl: z.url().nullish(),
|
|
1266
|
-
userAgent: z.string().max(500).nullish(),
|
|
1267
|
-
viewport: z.string().max(40).nullish(),
|
|
1268
|
-
context: z.record(z.string(), z.unknown()).nullish(),
|
|
1269
|
-
notify: zNotificationTarget.nullish()
|
|
1270
|
-
});
|
|
1271
|
-
var zCreateFeatureRequestRequest = z.object({
|
|
1272
|
-
type: z.enum(["feature_request"]),
|
|
1273
|
-
title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
|
|
1274
|
-
description: z.string().max(8e3).optional().default(""),
|
|
1275
|
-
useCase: z.string().max(8e3).optional().default(""),
|
|
1276
|
-
priority: zOpsItemPriority.nullish(),
|
|
1277
|
-
reporterEmail: z.email().nullish(),
|
|
1278
|
-
pageUrl: z.url().nullish(),
|
|
1279
|
-
userAgent: z.string().max(500).nullish(),
|
|
1280
|
-
context: z.record(z.string(), z.unknown()).nullish(),
|
|
1281
|
-
notify: zNotificationTarget.nullish()
|
|
1282
|
-
});
|
|
1283
|
-
var zCreateOpsItemRequest = z.discriminatedUnion("type", [
|
|
1284
|
-
zCreateBugRequest.extend({ type: z.literal("bug") }),
|
|
1285
|
-
zCreateFeatureRequestRequest.extend({ type: z.literal("feature_request") })
|
|
1432
|
+
var zOpsInvestigationState = z.enum([
|
|
1433
|
+
"pr_ready",
|
|
1434
|
+
"investigated",
|
|
1435
|
+
"detected",
|
|
1436
|
+
"question",
|
|
1437
|
+
"ready_for_qa",
|
|
1438
|
+
"pending_approval",
|
|
1439
|
+
"needs_triage",
|
|
1440
|
+
"working",
|
|
1441
|
+
"triaged_low",
|
|
1442
|
+
"backlog"
|
|
1286
1443
|
]);
|
|
1287
|
-
var zCreateOpsItemResponse = z.object({
|
|
1288
|
-
id: z.string(),
|
|
1289
|
-
number: z.number().nullish()
|
|
1290
|
-
});
|
|
1291
1444
|
var zOpsBrowserContext = z.object({
|
|
1292
1445
|
pageUrl: z.string().nullish(),
|
|
1293
1446
|
userAgent: z.string().nullish(),
|
|
@@ -1308,6 +1461,7 @@ var zOpsErrorContext = z.object({
|
|
|
1308
1461
|
firstSeenAt: z.string(),
|
|
1309
1462
|
lastSeenAt: z.string(),
|
|
1310
1463
|
seenUrls: z.array(z.string()),
|
|
1464
|
+
stackTail: z.string().nullish(),
|
|
1311
1465
|
sdkVersion: z.string().nullish()
|
|
1312
1466
|
});
|
|
1313
1467
|
var zOpsAlertRuleSummary = z.object({
|
|
@@ -1370,6 +1524,7 @@ var zMeasurePlanStep = z.object({
|
|
|
1370
1524
|
properties: z.array(z.string()).optional()
|
|
1371
1525
|
});
|
|
1372
1526
|
var zOpsMeasurePlanContext = z.object({
|
|
1527
|
+
goal: z.string().nullish(),
|
|
1373
1528
|
created: z.array(zMeasurePlanResource),
|
|
1374
1529
|
pending: z.array(zMeasurePlanResource).optional(),
|
|
1375
1530
|
instrumentation: z.array(zMeasurePlanStep)
|
|
@@ -1378,23 +1533,22 @@ var zOpsItemContext = z.object({
|
|
|
1378
1533
|
browser: zOpsBrowserContext.optional(),
|
|
1379
1534
|
error: zOpsErrorContext.optional(),
|
|
1380
1535
|
alert: zOpsAlertContext.optional(),
|
|
1381
|
-
measurePlan: zOpsMeasurePlanContext.optional()
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1536
|
+
measurePlan: zOpsMeasurePlanContext.optional(),
|
|
1537
|
+
errorChart: z.object({
|
|
1538
|
+
series: z.array(z.object({
|
|
1539
|
+
t: z.number(),
|
|
1540
|
+
v: z.number()
|
|
1541
|
+
})),
|
|
1542
|
+
domainFrom: z.number(),
|
|
1543
|
+
domainTo: z.number()
|
|
1544
|
+
}).optional()
|
|
1390
1545
|
});
|
|
1391
|
-
var
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
githubPr: z.string().optional()
|
|
1546
|
+
var zGithubPrLink = z.object({
|
|
1547
|
+
number: z.number(),
|
|
1548
|
+
url: z.string(),
|
|
1549
|
+
linkedAt: z.string().optional(),
|
|
1550
|
+
connectedToIssue: z.boolean().optional(),
|
|
1551
|
+
method: z.enum(["closes", "comment"]).optional()
|
|
1398
1552
|
});
|
|
1399
1553
|
var zGithubConnectorData = z.object({
|
|
1400
1554
|
issue: z.object({
|
|
@@ -1404,13 +1558,7 @@ var zGithubConnectorData = z.object({
|
|
|
1404
1558
|
repo: z.string(),
|
|
1405
1559
|
createdAt: z.string().optional()
|
|
1406
1560
|
}).optional(),
|
|
1407
|
-
pr:
|
|
1408
|
-
number: z.number(),
|
|
1409
|
-
url: z.string(),
|
|
1410
|
-
linkedAt: z.string().optional(),
|
|
1411
|
-
connectedToIssue: z.boolean().optional(),
|
|
1412
|
-
method: z.enum(["closes", "comment"]).optional()
|
|
1413
|
-
}).optional()
|
|
1561
|
+
pr: zGithubPrLink.optional()
|
|
1414
1562
|
});
|
|
1415
1563
|
var zSlackConnectorData = z.object({
|
|
1416
1564
|
message: z.object({
|
|
@@ -1423,6 +1571,133 @@ var zConnectorData = z.object({
|
|
|
1423
1571
|
github: zGithubConnectorData.optional(),
|
|
1424
1572
|
slack: zSlackConnectorData.optional()
|
|
1425
1573
|
});
|
|
1574
|
+
var zNotificationTarget = z.object({
|
|
1575
|
+
slackChannel: z.object({
|
|
1576
|
+
id: z.string().min(1),
|
|
1577
|
+
name: z.string().min(1)
|
|
1578
|
+
}).nullish(),
|
|
1579
|
+
email: z.email().nullish()
|
|
1580
|
+
}).nullable();
|
|
1581
|
+
var zOpsItemOwner = z.object({
|
|
1582
|
+
user: z.object({
|
|
1583
|
+
id: z.string(),
|
|
1584
|
+
email: z.string(),
|
|
1585
|
+
name: z.string().nullable()
|
|
1586
|
+
}).nullable(),
|
|
1587
|
+
agent: z.object({
|
|
1588
|
+
connectorId: z.string().nullable(),
|
|
1589
|
+
builtin: z.literal("jarvis").nullable(),
|
|
1590
|
+
provider: z.enum([
|
|
1591
|
+
"claude_trigger",
|
|
1592
|
+
"cursor_trigger",
|
|
1593
|
+
"copilot_trigger",
|
|
1594
|
+
"jules_trigger",
|
|
1595
|
+
"jarvis"
|
|
1596
|
+
]),
|
|
1597
|
+
name: z.string()
|
|
1598
|
+
}).nullable()
|
|
1599
|
+
});
|
|
1600
|
+
var zOpsRun = z.object({
|
|
1601
|
+
id: z.string(),
|
|
1602
|
+
agent: z.string().nullable(),
|
|
1603
|
+
connectorId: z.string().nullable(),
|
|
1604
|
+
ackedBy: z.string().nullable(),
|
|
1605
|
+
sessionId: z.string().nullable(),
|
|
1606
|
+
startedAt: z.string(),
|
|
1607
|
+
completedAt: z.string().nullable(),
|
|
1608
|
+
completedAction: z.enum([
|
|
1609
|
+
"link_pr",
|
|
1610
|
+
"notify",
|
|
1611
|
+
"status",
|
|
1612
|
+
"superseded"
|
|
1613
|
+
]).nullable(),
|
|
1614
|
+
prNumber: z.number().nullable(),
|
|
1615
|
+
prUrl: z.string().nullable()
|
|
1616
|
+
});
|
|
1617
|
+
var zListOpsItemsResponse = z.array(z.object({
|
|
1618
|
+
id: z.string(),
|
|
1619
|
+
number: z.number().nullable(),
|
|
1620
|
+
type: z.enum([
|
|
1621
|
+
"bug",
|
|
1622
|
+
"feature_request",
|
|
1623
|
+
"error",
|
|
1624
|
+
"alert",
|
|
1625
|
+
"measure_plan"
|
|
1626
|
+
]),
|
|
1627
|
+
title: z.string(),
|
|
1628
|
+
status: zOpsItemStatus,
|
|
1629
|
+
priority: zOpsItemPriority.nullable(),
|
|
1630
|
+
sourceRef: z.string().nullish(),
|
|
1631
|
+
investigationState: zOpsInvestigationState.nullish(),
|
|
1632
|
+
source: z.enum(["team", "system"]),
|
|
1633
|
+
reporterEmail: z.string().nullish(),
|
|
1634
|
+
stepsToReproduce: z.string().optional(),
|
|
1635
|
+
actualResult: z.string().optional(),
|
|
1636
|
+
expectedResult: z.string().optional(),
|
|
1637
|
+
description: z.string().optional(),
|
|
1638
|
+
useCase: z.string().optional(),
|
|
1639
|
+
context: zOpsItemContext.nullish(),
|
|
1640
|
+
connectorData: zConnectorData.nullish(),
|
|
1641
|
+
notify: zNotificationTarget.nullish(),
|
|
1642
|
+
assigneeId: z.string().nullish(),
|
|
1643
|
+
assigneeConnectorId: z.string().nullish(),
|
|
1644
|
+
assigneeAgent: z.string().nullish(),
|
|
1645
|
+
owner: zOpsItemOwner,
|
|
1646
|
+
run: zOpsRun.nullable(),
|
|
1647
|
+
lastRun: zOpsRun.nullable(),
|
|
1648
|
+
createdAt: z.string(),
|
|
1649
|
+
updatedAt: z.string()
|
|
1650
|
+
}));
|
|
1651
|
+
var zCreateBugRequest = z.object({
|
|
1652
|
+
type: z.enum(["bug"]),
|
|
1653
|
+
title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
|
|
1654
|
+
stepsToReproduce: z.string().max(8e3).optional().default(""),
|
|
1655
|
+
actualResult: z.string().max(8e3).optional().default(""),
|
|
1656
|
+
expectedResult: z.string().max(8e3).optional().default(""),
|
|
1657
|
+
priority: zOpsItemPriority.nullish(),
|
|
1658
|
+
reporterEmail: z.email().nullish(),
|
|
1659
|
+
pageUrl: z.url().nullish(),
|
|
1660
|
+
userAgent: z.string().max(500).nullish(),
|
|
1661
|
+
viewport: z.string().max(40).nullish(),
|
|
1662
|
+
context: z.record(z.string(), z.unknown()).nullish(),
|
|
1663
|
+
notify: zNotificationTarget.nullish()
|
|
1664
|
+
});
|
|
1665
|
+
var zCreateFeatureRequestRequest = z.object({
|
|
1666
|
+
type: z.enum(["feature_request"]),
|
|
1667
|
+
title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
|
|
1668
|
+
description: z.string().max(8e3).optional().default(""),
|
|
1669
|
+
useCase: z.string().max(8e3).optional().default(""),
|
|
1670
|
+
priority: zOpsItemPriority.nullish(),
|
|
1671
|
+
reporterEmail: z.email().nullish(),
|
|
1672
|
+
pageUrl: z.url().nullish(),
|
|
1673
|
+
userAgent: z.string().max(500).nullish(),
|
|
1674
|
+
context: z.record(z.string(), z.unknown()).nullish(),
|
|
1675
|
+
notify: zNotificationTarget.nullish()
|
|
1676
|
+
});
|
|
1677
|
+
var zCreateOpsItemRequest = z.discriminatedUnion("type", [
|
|
1678
|
+
zCreateBugRequest.extend({ type: z.literal("bug") }),
|
|
1679
|
+
zCreateFeatureRequestRequest.extend({ type: z.literal("feature_request") })
|
|
1680
|
+
]);
|
|
1681
|
+
var zCreateOpsItemResponse = z.object({
|
|
1682
|
+
id: z.string(),
|
|
1683
|
+
number: z.number().nullish()
|
|
1684
|
+
});
|
|
1685
|
+
var zOpsItemAttachment = z.object({
|
|
1686
|
+
id: z.string(),
|
|
1687
|
+
kind: z.string(),
|
|
1688
|
+
filename: z.string(),
|
|
1689
|
+
mimeType: z.string(),
|
|
1690
|
+
sizeBytes: z.number(),
|
|
1691
|
+
fetchUrl: z.string()
|
|
1692
|
+
});
|
|
1693
|
+
var zOpsItemRelated = z.object({
|
|
1694
|
+
dashboard: z.string().optional(),
|
|
1695
|
+
error: z.string().optional(),
|
|
1696
|
+
alertRule: z.string().optional(),
|
|
1697
|
+
metric: z.string().optional(),
|
|
1698
|
+
githubIssue: z.string().optional(),
|
|
1699
|
+
githubPr: z.string().optional()
|
|
1700
|
+
});
|
|
1426
1701
|
var zGetOpsItemResponse = z.object({
|
|
1427
1702
|
id: z.string(),
|
|
1428
1703
|
number: z.number().nullable(),
|
|
@@ -1438,6 +1713,7 @@ var zGetOpsItemResponse = z.object({
|
|
|
1438
1713
|
priority: zOpsItemPriority.nullable(),
|
|
1439
1714
|
source: z.enum(["team", "system"]).optional(),
|
|
1440
1715
|
sourceRef: z.string().nullish(),
|
|
1716
|
+
investigationState: zOpsInvestigationState.nullish(),
|
|
1441
1717
|
reporterEmail: z.string().nullish(),
|
|
1442
1718
|
stepsToReproduce: z.string().optional(),
|
|
1443
1719
|
actualResult: z.string().optional(),
|
|
@@ -1449,9 +1725,16 @@ var zGetOpsItemResponse = z.object({
|
|
|
1449
1725
|
related: zOpsItemRelated,
|
|
1450
1726
|
connectorData: zConnectorData.nullish(),
|
|
1451
1727
|
notify: zNotificationTarget.nullish(),
|
|
1728
|
+
assigneeId: z.string().nullish(),
|
|
1729
|
+
assigneeConnectorId: z.string().nullish(),
|
|
1730
|
+
assigneeAgent: z.string().nullish(),
|
|
1731
|
+
owner: zOpsItemOwner,
|
|
1452
1732
|
createdAt: z.string(),
|
|
1453
1733
|
updatedAt: z.string().optional()
|
|
1454
1734
|
});
|
|
1735
|
+
var zDeleteOpsItemResponse = z.object({
|
|
1736
|
+
ok: z.literal(true)
|
|
1737
|
+
});
|
|
1455
1738
|
var zOpsItemPriorityOrNull = zOpsItemPriority.nullable();
|
|
1456
1739
|
var zOpsItemNotifyOrNull = zNotificationTarget.nullable();
|
|
1457
1740
|
var zUpdateBugRequest = z.object({
|
|
@@ -1491,6 +1774,155 @@ var zLinkPrToOpsItemRequest = z.object({
|
|
|
1491
1774
|
prUrl: z.url().optional()
|
|
1492
1775
|
});
|
|
1493
1776
|
var zLinkPrToOpsItemResponse = z.object({
|
|
1777
|
+
id: z.string(),
|
|
1778
|
+
pr: zGithubPrLink.nullable()
|
|
1779
|
+
});
|
|
1780
|
+
var zAckOpsItemRequest = z.object({
|
|
1781
|
+
agent: z.enum([
|
|
1782
|
+
"claude",
|
|
1783
|
+
"cursor",
|
|
1784
|
+
"copilot",
|
|
1785
|
+
"jules",
|
|
1786
|
+
"gemini",
|
|
1787
|
+
"jarvis"
|
|
1788
|
+
]).optional(),
|
|
1789
|
+
sessionId: z.string().max(300).optional()
|
|
1790
|
+
});
|
|
1791
|
+
var zAckOpsItemResponse = z.object({
|
|
1792
|
+
id: z.string(),
|
|
1793
|
+
number: z.number().nullable(),
|
|
1794
|
+
status: z.string(),
|
|
1795
|
+
runId: z.string(),
|
|
1796
|
+
agent: z.string().nullable(),
|
|
1797
|
+
connectorName: z.string().nullable(),
|
|
1798
|
+
sessionId: z.string().nullable(),
|
|
1799
|
+
startedAt: z.string()
|
|
1800
|
+
});
|
|
1801
|
+
var zOpsInvestigation = z.object({
|
|
1802
|
+
id: z.string(),
|
|
1803
|
+
feedbackId: z.string(),
|
|
1804
|
+
kind: z.enum([
|
|
1805
|
+
"investigated",
|
|
1806
|
+
"detected",
|
|
1807
|
+
"question",
|
|
1808
|
+
"ready_for_qa",
|
|
1809
|
+
"working",
|
|
1810
|
+
"note"
|
|
1811
|
+
]),
|
|
1812
|
+
summary: z.string().nullable(),
|
|
1813
|
+
findings: z.string().nullable(),
|
|
1814
|
+
question: z.string().nullable(),
|
|
1815
|
+
qaNotes: z.string().nullable(),
|
|
1816
|
+
agent: z.enum([
|
|
1817
|
+
"jarvis",
|
|
1818
|
+
"claude",
|
|
1819
|
+
"cursor",
|
|
1820
|
+
"copilot",
|
|
1821
|
+
"jules"
|
|
1822
|
+
]).nullable(),
|
|
1823
|
+
model: z.string().nullable(),
|
|
1824
|
+
connectorId: z.string().nullable(),
|
|
1825
|
+
prNumber: z.number().nullable(),
|
|
1826
|
+
prUrl: z.string().nullable(),
|
|
1827
|
+
sources: z.array(z.object({
|
|
1828
|
+
path: z.string().optional(),
|
|
1829
|
+
url: z.string().optional(),
|
|
1830
|
+
label: z.string().optional()
|
|
1831
|
+
})).nullable(),
|
|
1832
|
+
confidence: z.enum([
|
|
1833
|
+
"low",
|
|
1834
|
+
"medium",
|
|
1835
|
+
"high"
|
|
1836
|
+
]).nullable(),
|
|
1837
|
+
tokensUsed: z.number().nullable(),
|
|
1838
|
+
durationMs: z.number().nullable(),
|
|
1839
|
+
visibility: z.enum(["draft", "published"]),
|
|
1840
|
+
startedAt: z.string().nullable(),
|
|
1841
|
+
completedAt: z.string().nullable(),
|
|
1842
|
+
sessionId: z.string().nullable(),
|
|
1843
|
+
ackedBy: z.string().nullable(),
|
|
1844
|
+
completedAction: z.enum([
|
|
1845
|
+
"link_pr",
|
|
1846
|
+
"notify",
|
|
1847
|
+
"status",
|
|
1848
|
+
"superseded"
|
|
1849
|
+
]).nullable(),
|
|
1850
|
+
createdAt: z.string(),
|
|
1851
|
+
updatedAt: z.string()
|
|
1852
|
+
});
|
|
1853
|
+
var zListOpsInvestigationsResponse = z.array(zOpsInvestigation);
|
|
1854
|
+
var zCreateOpsInvestigationRequest = z.object({
|
|
1855
|
+
kind: z.enum([
|
|
1856
|
+
"investigated",
|
|
1857
|
+
"detected",
|
|
1858
|
+
"question",
|
|
1859
|
+
"ready_for_qa",
|
|
1860
|
+
"working",
|
|
1861
|
+
"note"
|
|
1862
|
+
]),
|
|
1863
|
+
summary: z.string().max(2e3).optional(),
|
|
1864
|
+
findings: z.string().max(5e4).optional(),
|
|
1865
|
+
question: z.string().max(1e4).optional(),
|
|
1866
|
+
qaNotes: z.string().max(5e4).optional(),
|
|
1867
|
+
agent: z.enum([
|
|
1868
|
+
"jarvis",
|
|
1869
|
+
"claude",
|
|
1870
|
+
"cursor",
|
|
1871
|
+
"copilot",
|
|
1872
|
+
"jules"
|
|
1873
|
+
]).optional(),
|
|
1874
|
+
model: z.string().max(200).optional(),
|
|
1875
|
+
connectorId: z.string().max(200).optional(),
|
|
1876
|
+
prNumber: z.int().optional(),
|
|
1877
|
+
prUrl: z.url().max(2e3).optional(),
|
|
1878
|
+
sources: z.array(z.object({
|
|
1879
|
+
path: z.string().optional(),
|
|
1880
|
+
url: z.string().optional(),
|
|
1881
|
+
label: z.string().optional()
|
|
1882
|
+
})).max(200).optional(),
|
|
1883
|
+
confidence: z.enum([
|
|
1884
|
+
"low",
|
|
1885
|
+
"medium",
|
|
1886
|
+
"high"
|
|
1887
|
+
]).optional(),
|
|
1888
|
+
tokensUsed: z.int().optional(),
|
|
1889
|
+
durationMs: z.int().optional(),
|
|
1890
|
+
visibility: z.enum(["draft", "published"]).optional(),
|
|
1891
|
+
startedAt: z.string().optional(),
|
|
1892
|
+
completedAt: z.string().optional(),
|
|
1893
|
+
sessionId: z.string().max(300).optional()
|
|
1894
|
+
});
|
|
1895
|
+
var zOpsAgentProfile = z.object({
|
|
1896
|
+
connectorId: z.string(),
|
|
1897
|
+
provider: z.enum([
|
|
1898
|
+
"claude_trigger",
|
|
1899
|
+
"cursor_trigger",
|
|
1900
|
+
"copilot_trigger",
|
|
1901
|
+
"jules_trigger"
|
|
1902
|
+
]),
|
|
1903
|
+
name: z.string(),
|
|
1904
|
+
handle: z.string()
|
|
1905
|
+
});
|
|
1906
|
+
var zListOpsAgentsResponse = z.array(zOpsAgentProfile);
|
|
1907
|
+
var zOpsCommentAuthorType = z.enum(["user", "system"]);
|
|
1908
|
+
var zOpsComment = z.object({
|
|
1909
|
+
id: z.string(),
|
|
1910
|
+
feedbackId: z.string(),
|
|
1911
|
+
parentId: z.string().nullable(),
|
|
1912
|
+
authorType: zOpsCommentAuthorType,
|
|
1913
|
+
authorEmail: z.string().nullable(),
|
|
1914
|
+
body: z.string(),
|
|
1915
|
+
createdAt: z.string(),
|
|
1916
|
+
updatedAt: z.string()
|
|
1917
|
+
});
|
|
1918
|
+
var zListOpsCommentsResponse = z.object({
|
|
1919
|
+
comments: z.array(zOpsComment)
|
|
1920
|
+
});
|
|
1921
|
+
var zCreateOpsCommentRequest = z.object({
|
|
1922
|
+
body: z.string().min(1).max(1e4),
|
|
1923
|
+
parentId: z.string().nullish()
|
|
1924
|
+
});
|
|
1925
|
+
var zCreateOpsCommentResponse = z.object({
|
|
1494
1926
|
id: z.string()
|
|
1495
1927
|
});
|
|
1496
1928
|
var zNotifyOpsRequest = z.object({
|
|
@@ -1581,12 +2013,59 @@ var zUpdateAlertRuleRequest = z.object({
|
|
|
1581
2013
|
var zUpdateAlertRuleResponse = z.object({
|
|
1582
2014
|
id: z.string()
|
|
1583
2015
|
});
|
|
2016
|
+
var zAlertApiRow = z.object({
|
|
2017
|
+
id: z.string(),
|
|
2018
|
+
source: z.enum([
|
|
2019
|
+
"metric_rule",
|
|
2020
|
+
"killswitch_armed",
|
|
2021
|
+
"experiment_srm",
|
|
2022
|
+
"experiment_peek",
|
|
2023
|
+
"guardrail"
|
|
2024
|
+
]),
|
|
2025
|
+
ruleId: z.string().nullable(),
|
|
2026
|
+
severity: z.enum([
|
|
2027
|
+
"danger",
|
|
2028
|
+
"warn",
|
|
2029
|
+
"info"
|
|
2030
|
+
]),
|
|
2031
|
+
dedupeKey: z.string(),
|
|
2032
|
+
title: z.string(),
|
|
2033
|
+
detail: z.string(),
|
|
2034
|
+
href: z.string().nullable(),
|
|
2035
|
+
observedValue: z.number().nullable(),
|
|
2036
|
+
status: z.enum([
|
|
2037
|
+
"active",
|
|
2038
|
+
"resolved",
|
|
2039
|
+
"dismissed"
|
|
2040
|
+
]),
|
|
2041
|
+
createdAt: z.string(),
|
|
2042
|
+
resolvedAt: z.string().nullable(),
|
|
2043
|
+
dismissedAt: z.string().nullable(),
|
|
2044
|
+
assigneeId: z.string().nullable(),
|
|
2045
|
+
assigneeConnectorId: z.string().nullable(),
|
|
2046
|
+
assigneeAgent: z.string().nullable()
|
|
2047
|
+
});
|
|
2048
|
+
var zListAlertsResponse = z.array(zAlertApiRow);
|
|
2049
|
+
var zUpdateAlertRequest = z.object({
|
|
2050
|
+
status: z.enum([
|
|
2051
|
+
"active",
|
|
2052
|
+
"resolved",
|
|
2053
|
+
"dismissed"
|
|
2054
|
+
]).optional(),
|
|
2055
|
+
assigneeId: z.string().nullish(),
|
|
2056
|
+
agent: z.string().nullish()
|
|
2057
|
+
});
|
|
1584
2058
|
var zGetCurrentProjectResponse = z.object({
|
|
1585
2059
|
id: z.string(),
|
|
1586
2060
|
name: z.string(),
|
|
1587
2061
|
domain: z.string().nullable(),
|
|
1588
2062
|
ownerEmail: z.string(),
|
|
1589
|
-
plan: z.enum([
|
|
2063
|
+
plan: z.enum([
|
|
2064
|
+
"free",
|
|
2065
|
+
"pro",
|
|
2066
|
+
"business",
|
|
2067
|
+
"enterprise"
|
|
2068
|
+
]),
|
|
1590
2069
|
status: z.enum(["active", "inactive"]),
|
|
1591
2070
|
subscriptionStatus: z.string(),
|
|
1592
2071
|
billingInterval: z.enum(["monthly", "annual"]),
|
|
@@ -1613,6 +2092,61 @@ var zGetCurrentProjectResponse = z.object({
|
|
|
1613
2092
|
z.boolean(),
|
|
1614
2093
|
z.number()
|
|
1615
2094
|
]),
|
|
2095
|
+
minSampleSize: z.int().optional(),
|
|
2096
|
+
minRuntimeDays: z.int().optional(),
|
|
2097
|
+
defaultPower: z.number().optional(),
|
|
2098
|
+
ciConfidence: z.number().optional(),
|
|
2099
|
+
defaultAllocationPct: z.int().optional(),
|
|
2100
|
+
defaultHoldoutBp: z.int(),
|
|
2101
|
+
defaultWinsorizePct: z.int().optional(),
|
|
2102
|
+
defaultMei: z.number().nullish(),
|
|
2103
|
+
cupedBaselineDays: z.int().optional(),
|
|
2104
|
+
cupedMinOverlap: z.number().optional(),
|
|
2105
|
+
cupedMinBaselineUsers: z.int().optional(),
|
|
2106
|
+
msprtTauMeiFactor: z.number().optional(),
|
|
2107
|
+
msprtTauSdFactor: z.number().optional(),
|
|
2108
|
+
srmThreshold: z.number().optional(),
|
|
2109
|
+
slug: z.string().nullable(),
|
|
2110
|
+
logo: z.string().nullable(),
|
|
2111
|
+
defaultEnv: z.enum([
|
|
2112
|
+
"dev",
|
|
2113
|
+
"staging",
|
|
2114
|
+
"prod"
|
|
2115
|
+
]),
|
|
2116
|
+
timezone: z.string(),
|
|
2117
|
+
statMethod: z.enum([
|
|
2118
|
+
"sequential",
|
|
2119
|
+
"fixed",
|
|
2120
|
+
"bayesian"
|
|
2121
|
+
]),
|
|
2122
|
+
sigThreshold: z.string(),
|
|
2123
|
+
autoRollback: z.boolean(),
|
|
2124
|
+
minSampleDays: z.int(),
|
|
2125
|
+
moduleUser: z.union([
|
|
2126
|
+
z.boolean(),
|
|
2127
|
+
z.number()
|
|
2128
|
+
]),
|
|
2129
|
+
moduleEvents: z.union([
|
|
2130
|
+
z.boolean(),
|
|
2131
|
+
z.number()
|
|
2132
|
+
]),
|
|
2133
|
+
allowPublicTickets: z.union([
|
|
2134
|
+
z.boolean(),
|
|
2135
|
+
z.number()
|
|
2136
|
+
]),
|
|
2137
|
+
stripeSubscriptionId: z.string().nullable(),
|
|
2138
|
+
scheduledInterval: z.enum(["monthly", "annual"]).nullable(),
|
|
2139
|
+
spendLimitEnabled: z.union([
|
|
2140
|
+
z.boolean(),
|
|
2141
|
+
z.number()
|
|
2142
|
+
]),
|
|
2143
|
+
spendLimitUsd: z.int().nullable(),
|
|
2144
|
+
spendAlertEmail: z.string().nullable(),
|
|
2145
|
+
defaultAssigneePendingApproval: z.string().nullable(),
|
|
2146
|
+
defaultAssigneeConnectorPendingApproval: z.string().nullable(),
|
|
2147
|
+
defaultAssigneeOpen: z.string().nullable(),
|
|
2148
|
+
defaultAssigneeConnectorOpen: z.string().nullable(),
|
|
2149
|
+
deletedAt: z.string().nullable(),
|
|
1616
2150
|
createdAt: z.string(),
|
|
1617
2151
|
updatedAt: z.string()
|
|
1618
2152
|
});
|
|
@@ -1656,14 +2190,28 @@ var zUpdateProjectRequest = z.object({
|
|
|
1656
2190
|
moduleExperiments: z.boolean().optional(),
|
|
1657
2191
|
moduleFeedback: z.boolean().optional(),
|
|
1658
2192
|
moduleUser: z.boolean().optional(),
|
|
1659
|
-
moduleEvents: z.boolean().optional()
|
|
2193
|
+
moduleEvents: z.boolean().optional(),
|
|
2194
|
+
minSampleSize: z.int().gte(2).lte(1e6).optional(),
|
|
2195
|
+
minRuntimeDays: z.int().gte(0).lte(365).optional(),
|
|
2196
|
+
defaultPower: z.number().gte(0.5).lte(0.99).optional(),
|
|
2197
|
+
ciConfidence: z.number().gte(0.5).lte(0.999).optional(),
|
|
2198
|
+
defaultAllocationPct: z.int().gte(1).lte(1e4).optional(),
|
|
2199
|
+
defaultHoldout: z.int().gte(0).lte(1e4).optional(),
|
|
2200
|
+
defaultWinsorizePct: z.int().gte(1).lte(99).optional(),
|
|
2201
|
+
defaultMei: z.number().gte(0).lte(1).nullish(),
|
|
2202
|
+
cupedBaselineDays: z.int().gte(1).lte(365).optional(),
|
|
2203
|
+
cupedMinOverlap: z.number().gte(0.01).lte(0.99).optional(),
|
|
2204
|
+
cupedMinBaselineUsers: z.int().gte(10).lte(1e5).optional(),
|
|
2205
|
+
msprtTauMeiFactor: z.number().gte(0.1).lte(2).optional(),
|
|
2206
|
+
msprtTauSdFactor: z.number().gte(0.05).lte(1).optional(),
|
|
2207
|
+
srmThreshold: z.number().gte(1e-4).lte(0.05).optional()
|
|
1660
2208
|
});
|
|
1661
2209
|
var zListI18nProfilesResponse = z.array(z.object({
|
|
1662
2210
|
id: z.string(),
|
|
1663
2211
|
name: z.string(),
|
|
1664
|
-
isDefault: z.number()
|
|
1665
|
-
createdAt: z.string()
|
|
1666
|
-
deletedAt: z.string().
|
|
2212
|
+
isDefault: z.number(),
|
|
2213
|
+
createdAt: z.string(),
|
|
2214
|
+
deletedAt: z.string().nullable()
|
|
1667
2215
|
}));
|
|
1668
2216
|
var zCreateI18nProfileRequest = z.object({
|
|
1669
2217
|
name: z.string().min(1).max(64).regex(/^[a-z0-9][a-z0-9_:.-]*$/)
|
|
@@ -1677,15 +2225,31 @@ var zListI18nKeysResponse = z.object({
|
|
|
1677
2225
|
id: z.string(),
|
|
1678
2226
|
key: z.string(),
|
|
1679
2227
|
value: z.string(),
|
|
1680
|
-
description: z.string().
|
|
1681
|
-
variables: z.array(z.string()).
|
|
1682
|
-
profileId: z.string()
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
2228
|
+
description: z.string().nullable(),
|
|
2229
|
+
variables: z.array(z.string()).nullable(),
|
|
2230
|
+
profileId: z.string(),
|
|
2231
|
+
profileName: z.string().nullable(),
|
|
2232
|
+
chunkId: z.string(),
|
|
2233
|
+
chunkName: z.string().nullable(),
|
|
2234
|
+
updatedAt: z.string(),
|
|
2235
|
+
updatedBy: z.string()
|
|
1686
2236
|
})),
|
|
1687
2237
|
total: z.number()
|
|
1688
2238
|
});
|
|
2239
|
+
var zUpsertI18nKeysRequest = z.object({
|
|
2240
|
+
profile_id: z.uuid(),
|
|
2241
|
+
chunk: z.string().min(1).max(64).optional().default("default"),
|
|
2242
|
+
keys: z.array(z.object({
|
|
2243
|
+
key: z.string().min(1).max(256),
|
|
2244
|
+
value: z.string(),
|
|
2245
|
+
description: z.string().optional(),
|
|
2246
|
+
variables: z.array(z.string().min(1).max(64)).max(32).optional()
|
|
2247
|
+
})).min(1).max(5e3)
|
|
2248
|
+
});
|
|
2249
|
+
var zUpsertI18nKeysResponse = z.object({
|
|
2250
|
+
upserted: z.number(),
|
|
2251
|
+
chunk: z.string()
|
|
2252
|
+
});
|
|
1689
2253
|
var zPushI18nKeysRequest = z.object({
|
|
1690
2254
|
profile_id: z.uuid(),
|
|
1691
2255
|
chunk: z.string().min(1).max(64).optional().default("default"),
|
|
@@ -1711,39 +2275,29 @@ var zUpdateI18nKeyRequest = z.object({
|
|
|
1711
2275
|
var zUpdateI18nKeyResponse = z.object({
|
|
1712
2276
|
id: z.string()
|
|
1713
2277
|
});
|
|
1714
|
-
var
|
|
2278
|
+
var zOkResponse = z.object({
|
|
2279
|
+
ok: z.literal(true)
|
|
2280
|
+
});
|
|
2281
|
+
var zI18nDraft = z.object({
|
|
1715
2282
|
id: z.string(),
|
|
1716
|
-
name: z.string()
|
|
1717
|
-
profileId: z.string()
|
|
1718
|
-
sourceProfileId: z.string().
|
|
2283
|
+
name: z.string(),
|
|
2284
|
+
profileId: z.string(),
|
|
2285
|
+
sourceProfileId: z.string().nullable(),
|
|
1719
2286
|
status: z.enum([
|
|
1720
2287
|
"open",
|
|
1721
2288
|
"merged",
|
|
1722
2289
|
"abandoned"
|
|
1723
|
-
])
|
|
1724
|
-
createdBy: z.string()
|
|
1725
|
-
createdAt: z.string()
|
|
1726
|
-
publishedAt: z.string().
|
|
1727
|
-
})
|
|
2290
|
+
]),
|
|
2291
|
+
createdBy: z.string(),
|
|
2292
|
+
createdAt: z.string(),
|
|
2293
|
+
publishedAt: z.string().nullable()
|
|
2294
|
+
});
|
|
2295
|
+
var zListI18nDraftsResponse = z.array(zI18nDraft);
|
|
1728
2296
|
var zCreateI18nDraftRequest = z.object({
|
|
1729
2297
|
name: z.string().min(1).max(64),
|
|
1730
2298
|
profile_id: z.uuid(),
|
|
1731
2299
|
source_profile_id: z.uuid().optional()
|
|
1732
2300
|
});
|
|
1733
|
-
var zI18nDraft = z.object({
|
|
1734
|
-
id: z.string(),
|
|
1735
|
-
name: z.string().optional(),
|
|
1736
|
-
profileId: z.string().optional(),
|
|
1737
|
-
sourceProfileId: z.string().nullish(),
|
|
1738
|
-
status: z.enum([
|
|
1739
|
-
"open",
|
|
1740
|
-
"merged",
|
|
1741
|
-
"abandoned"
|
|
1742
|
-
]).optional(),
|
|
1743
|
-
createdBy: z.string().optional(),
|
|
1744
|
-
createdAt: z.string().optional(),
|
|
1745
|
-
publishedAt: z.string().nullish()
|
|
1746
|
-
});
|
|
1747
2301
|
var zUpdateI18nDraftRequest = z.object({
|
|
1748
2302
|
status: z.enum([
|
|
1749
2303
|
"open",
|
|
@@ -1751,6 +2305,21 @@ var zUpdateI18nDraftRequest = z.object({
|
|
|
1751
2305
|
"abandoned"
|
|
1752
2306
|
]).optional()
|
|
1753
2307
|
});
|
|
2308
|
+
var zListI18nDraftKeysResponse = z.array(z.object({
|
|
2309
|
+
id: z.string(),
|
|
2310
|
+
draftId: z.string(),
|
|
2311
|
+
key: z.string(),
|
|
2312
|
+
value: z.string(),
|
|
2313
|
+
description: z.string().nullable(),
|
|
2314
|
+
variables: z.array(z.string()).nullable(),
|
|
2315
|
+
updatedBy: z.string(),
|
|
2316
|
+
updatedAt: z.string()
|
|
2317
|
+
}));
|
|
2318
|
+
var zUpsertI18nDraftKeyRequest = z.object({
|
|
2319
|
+
key: z.string().min(1).max(256),
|
|
2320
|
+
value: z.string(),
|
|
2321
|
+
description: z.string().optional()
|
|
2322
|
+
});
|
|
1754
2323
|
var zPublishI18nProfileRequest = z.object({
|
|
1755
2324
|
chunk: z.string().optional()
|
|
1756
2325
|
});
|
|
@@ -1794,31 +2363,46 @@ var zSetI18nLabelResponse = z.object({
|
|
|
1794
2363
|
kv_verified: z.boolean(),
|
|
1795
2364
|
warning: z.string().optional()
|
|
1796
2365
|
});
|
|
2366
|
+
var zErrorOccurrence = z.object({
|
|
2367
|
+
id: z.string(),
|
|
2368
|
+
projectId: z.string(),
|
|
2369
|
+
errorId: z.string(),
|
|
2370
|
+
message: z.string(),
|
|
2371
|
+
stack: z.string().nullable(),
|
|
2372
|
+
url: z.string().nullable(),
|
|
2373
|
+
env: z.string().nullable(),
|
|
2374
|
+
side: z.string().nullable(),
|
|
2375
|
+
sdkVersion: z.string().nullable(),
|
|
2376
|
+
extrasJson: z.string().nullable(),
|
|
2377
|
+
sampleRate: z.int().gte(1),
|
|
2378
|
+
seenAt: z.string()
|
|
2379
|
+
});
|
|
1797
2380
|
var zErrorRecord = z.object({
|
|
1798
2381
|
id: z.string(),
|
|
1799
2382
|
projectId: z.string(),
|
|
1800
2383
|
fingerprint: z.string(),
|
|
1801
|
-
causedByFingerprint: z.string().
|
|
2384
|
+
causedByFingerprint: z.string().nullable(),
|
|
1802
2385
|
message: z.string(),
|
|
1803
|
-
errorType: z.string().
|
|
1804
|
-
stack: z.string().
|
|
1805
|
-
source: z.string().
|
|
1806
|
-
url: z.string().
|
|
1807
|
-
seenUrls: z.string().
|
|
1808
|
-
subject: z.string().
|
|
1809
|
-
outcome: z.string().
|
|
1810
|
-
side: z.string().
|
|
1811
|
-
env: z.string().
|
|
2386
|
+
errorType: z.string().nullable(),
|
|
2387
|
+
stack: z.string().nullable(),
|
|
2388
|
+
source: z.string().nullable(),
|
|
2389
|
+
url: z.string().nullable(),
|
|
2390
|
+
seenUrls: z.string().nullable(),
|
|
2391
|
+
subject: z.string().nullable(),
|
|
2392
|
+
outcome: z.string().nullable(),
|
|
2393
|
+
side: z.string().nullable(),
|
|
2394
|
+
env: z.string().nullable(),
|
|
1812
2395
|
kind: z.enum([
|
|
1813
2396
|
"caught",
|
|
1814
2397
|
"uncaught",
|
|
1815
2398
|
"unhandled_rejection",
|
|
1816
2399
|
"network",
|
|
1817
2400
|
"violation"
|
|
1818
|
-
]).
|
|
1819
|
-
lastExtrasJson: z.string().
|
|
1820
|
-
sdkVersion: z.string().
|
|
2401
|
+
]).nullable(),
|
|
2402
|
+
lastExtrasJson: z.string().nullable(),
|
|
2403
|
+
sdkVersion: z.string().nullable(),
|
|
1821
2404
|
count: z.int().gte(1),
|
|
2405
|
+
occurrences: z.array(zErrorOccurrence).optional(),
|
|
1822
2406
|
status: z.enum([
|
|
1823
2407
|
"open",
|
|
1824
2408
|
"resolved",
|
|
@@ -1827,7 +2411,10 @@ var zErrorRecord = z.object({
|
|
|
1827
2411
|
firstSeenAt: z.string(),
|
|
1828
2412
|
lastSeenAt: z.string(),
|
|
1829
2413
|
createdAt: z.string(),
|
|
1830
|
-
updatedAt: z.string()
|
|
2414
|
+
updatedAt: z.string(),
|
|
2415
|
+
assigneeId: z.string().nullable(),
|
|
2416
|
+
assigneeConnectorId: z.string().nullable(),
|
|
2417
|
+
assigneeAgent: z.string().nullable()
|
|
1831
2418
|
});
|
|
1832
2419
|
var zListErrorsResponse = z.array(zErrorRecord);
|
|
1833
2420
|
var zUpdateErrorStatusRequest = z.object({
|
|
@@ -1839,7 +2426,7 @@ var zUpdateErrorStatusRequest = z.object({
|
|
|
1839
2426
|
});
|
|
1840
2427
|
var zFileErrorTicketResponse = z.object({
|
|
1841
2428
|
id: z.string(),
|
|
1842
|
-
number: z.int()
|
|
2429
|
+
number: z.int().nullable()
|
|
1843
2430
|
});
|
|
1844
2431
|
var zErrorSeriesRequest = z.object({
|
|
1845
2432
|
from: z.int().gte(0),
|
|
@@ -1872,6 +2459,7 @@ var zConnectorRecord = z.object({
|
|
|
1872
2459
|
events: z.array(zConnectorEvent),
|
|
1873
2460
|
config: z.record(z.string(), z.unknown()),
|
|
1874
2461
|
accountLabel: z.string().nullable(),
|
|
2462
|
+
hasCredentials: z.boolean(),
|
|
1875
2463
|
lastError: z.string().nullable(),
|
|
1876
2464
|
lastAttemptAt: z.string().nullable(),
|
|
1877
2465
|
lastSuccessAt: z.string().nullable(),
|
|
@@ -2052,7 +2640,8 @@ var zCreateKeyRequest = z.object({
|
|
|
2052
2640
|
"gates:evaluate",
|
|
2053
2641
|
"events:write",
|
|
2054
2642
|
"configs:write",
|
|
2055
|
-
"experiments:write"
|
|
2643
|
+
"experiments:write",
|
|
2644
|
+
"tickets:public_create"
|
|
2056
2645
|
])).optional(),
|
|
2057
2646
|
expiresInDays: z.int().gte(1).lte(3650).nullish(),
|
|
2058
2647
|
env: z.enum([
|
|
@@ -2123,6 +2712,13 @@ var zDeleteGatePath = z.object({
|
|
|
2123
2712
|
id: zResourceId
|
|
2124
2713
|
});
|
|
2125
2714
|
var zDeleteGateResponse2 = zDeleteGateResponse;
|
|
2715
|
+
var zGetGateHeaders = z.object({
|
|
2716
|
+
"X-Project-Id": z.string().optional()
|
|
2717
|
+
});
|
|
2718
|
+
var zGetGatePath = z.object({
|
|
2719
|
+
id: zResourceId
|
|
2720
|
+
});
|
|
2721
|
+
var zGetGateResponse = zGateApiRow;
|
|
2126
2722
|
var zUpdateGateBody = zUpdateGateRequest;
|
|
2127
2723
|
var zUpdateGateHeaders = z.object({
|
|
2128
2724
|
"X-Project-Id": z.string().optional()
|
|
@@ -2145,6 +2741,16 @@ var zDisableGatePath = z.object({
|
|
|
2145
2741
|
id: zResourceId
|
|
2146
2742
|
});
|
|
2147
2743
|
var zDisableGateResponse2 = zDisableGateResponse;
|
|
2744
|
+
var zListGateActivityHeaders = z.object({
|
|
2745
|
+
"X-Project-Id": z.string().optional()
|
|
2746
|
+
});
|
|
2747
|
+
var zListGateActivityPath = z.object({
|
|
2748
|
+
id: zResourceId
|
|
2749
|
+
});
|
|
2750
|
+
var zListGateActivityQuery = z.object({
|
|
2751
|
+
limit: z.coerce.number().int().gte(1).lte(100).optional().default(20)
|
|
2752
|
+
});
|
|
2753
|
+
var zListGateActivityResponse2 = zListGateActivityResponse;
|
|
2148
2754
|
var zListExperimentsHeaders = z.object({
|
|
2149
2755
|
"X-Project-Id": z.string().optional()
|
|
2150
2756
|
});
|
|
@@ -2173,7 +2779,7 @@ var zGetExperimentHeaders = z.object({
|
|
|
2173
2779
|
var zGetExperimentPath = z.object({
|
|
2174
2780
|
id: zResourceId
|
|
2175
2781
|
});
|
|
2176
|
-
var
|
|
2782
|
+
var zGetExperimentResponse = zExperimentApiRow;
|
|
2177
2783
|
var zUpdateExperimentBody = zUpdateExperimentRequest;
|
|
2178
2784
|
var zUpdateExperimentHeaders = z.object({
|
|
2179
2785
|
"X-Project-Id": z.string().optional()
|
|
@@ -2222,6 +2828,22 @@ var zReanalyzeExperimentPath = z.object({
|
|
|
2222
2828
|
id: zResourceId
|
|
2223
2829
|
});
|
|
2224
2830
|
var zReanalyzeExperimentResponse2 = zReanalyzeExperimentResponse;
|
|
2831
|
+
var zCreateExperimentReadoutBody = zCreateExperimentReadoutRequest;
|
|
2832
|
+
var zCreateExperimentReadoutHeaders = z.object({
|
|
2833
|
+
"X-Project-Id": z.string().optional()
|
|
2834
|
+
});
|
|
2835
|
+
var zCreateExperimentReadoutPath = z.object({
|
|
2836
|
+
id: zResourceId
|
|
2837
|
+
});
|
|
2838
|
+
var zCreateExperimentReadoutResponse2 = zCreateExperimentReadoutResponse;
|
|
2839
|
+
var zGetExperimentReadoutHeaders = z.object({
|
|
2840
|
+
"X-Project-Id": z.string().optional()
|
|
2841
|
+
});
|
|
2842
|
+
var zGetExperimentReadoutPath = z.object({
|
|
2843
|
+
id: zResourceId,
|
|
2844
|
+
readoutId: zResourceId
|
|
2845
|
+
});
|
|
2846
|
+
var zGetExperimentReadoutResponse = zExperimentReadoutApiRow;
|
|
2225
2847
|
var zListConfigsHeaders = z.object({
|
|
2226
2848
|
"X-Project-Id": z.string().optional()
|
|
2227
2849
|
});
|
|
@@ -2300,6 +2922,16 @@ var zUpdateConfigSchemaPath = z.object({
|
|
|
2300
2922
|
id: zResourceId
|
|
2301
2923
|
});
|
|
2302
2924
|
var zUpdateConfigSchemaResponse2 = zUpdateConfigSchemaResponse;
|
|
2925
|
+
var zListConfigVersionsHeaders = z.object({
|
|
2926
|
+
"X-Project-Id": z.string().optional()
|
|
2927
|
+
});
|
|
2928
|
+
var zListConfigVersionsPath = z.object({
|
|
2929
|
+
id: zResourceId
|
|
2930
|
+
});
|
|
2931
|
+
var zListConfigVersionsQuery = z.object({
|
|
2932
|
+
env: zEnv.optional()
|
|
2933
|
+
});
|
|
2934
|
+
var zListConfigVersionsResponse2 = zListConfigVersionsResponse;
|
|
2303
2935
|
var zListKillswitchesHeaders = z.object({
|
|
2304
2936
|
"X-Project-Id": z.string().optional()
|
|
2305
2937
|
});
|
|
@@ -2492,6 +3124,28 @@ var zUpdateMetricPath = z.object({
|
|
|
2492
3124
|
id: zResourceId
|
|
2493
3125
|
});
|
|
2494
3126
|
var zUpdateMetricResponse = zGetMetricResponse;
|
|
3127
|
+
var zListMetricExperimentsHeaders = z.object({
|
|
3128
|
+
"X-Project-Id": z.string().optional()
|
|
3129
|
+
});
|
|
3130
|
+
var zListMetricExperimentsPath = z.object({
|
|
3131
|
+
id: zResourceId
|
|
3132
|
+
});
|
|
3133
|
+
var zListMetricExperimentsResponse2 = zListMetricExperimentsResponse;
|
|
3134
|
+
var zUnarchiveMetricHeaders = z.object({
|
|
3135
|
+
"X-Project-Id": z.string().optional()
|
|
3136
|
+
});
|
|
3137
|
+
var zUnarchiveMetricPath = z.object({
|
|
3138
|
+
id: zResourceId
|
|
3139
|
+
});
|
|
3140
|
+
var zUnarchiveMetricResponse2 = zUnarchiveMetricResponse;
|
|
3141
|
+
var zGetMetricSeriesBody = zGetMetricSeriesRequest;
|
|
3142
|
+
var zGetMetricSeriesHeaders = z.object({
|
|
3143
|
+
"X-Project-Id": z.string().optional()
|
|
3144
|
+
});
|
|
3145
|
+
var zGetMetricSeriesPath = z.object({
|
|
3146
|
+
id: zResourceId
|
|
3147
|
+
});
|
|
3148
|
+
var zGetMetricSeriesResponse2 = zGetMetricSeriesResponse;
|
|
2495
3149
|
var zListEventsHeaders = z.object({
|
|
2496
3150
|
"X-Project-Id": z.string().optional()
|
|
2497
3151
|
});
|
|
@@ -2551,7 +3205,8 @@ var zListOpsItemsQuery = z.object({
|
|
|
2551
3205
|
zOpsItemStatus,
|
|
2552
3206
|
z.literal("all")
|
|
2553
3207
|
]).optional(),
|
|
2554
|
-
limit: z.coerce.number().int().gte(1).lte(500).optional()
|
|
3208
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional(),
|
|
3209
|
+
owner: z.string().optional()
|
|
2555
3210
|
});
|
|
2556
3211
|
var zListOpsItemsResponse2 = zListOpsItemsResponse;
|
|
2557
3212
|
var zCreateOpsItemBody = zCreateOpsItemRequest;
|
|
@@ -2559,6 +3214,13 @@ var zCreateOpsItemHeaders = z.object({
|
|
|
2559
3214
|
"X-Project-Id": z.string().optional()
|
|
2560
3215
|
});
|
|
2561
3216
|
var zCreateOpsItemResponse2 = zCreateOpsItemResponse;
|
|
3217
|
+
var zDeleteOpsItemHeaders = z.object({
|
|
3218
|
+
"X-Project-Id": z.string().optional()
|
|
3219
|
+
});
|
|
3220
|
+
var zDeleteOpsItemPath = z.object({
|
|
3221
|
+
handle: zResourceId
|
|
3222
|
+
});
|
|
3223
|
+
var zDeleteOpsItemResponse2 = zDeleteOpsItemResponse;
|
|
2562
3224
|
var zGetOpsItemHeaders = z.object({
|
|
2563
3225
|
"X-Project-Id": z.string().optional()
|
|
2564
3226
|
});
|
|
@@ -2582,6 +3244,48 @@ var zLinkPrToOpsItemPath = z.object({
|
|
|
2582
3244
|
handle: zResourceId
|
|
2583
3245
|
});
|
|
2584
3246
|
var zLinkPrToOpsItemResponse2 = zLinkPrToOpsItemResponse;
|
|
3247
|
+
var zAckOpsItemBody = zAckOpsItemRequest;
|
|
3248
|
+
var zAckOpsItemHeaders = z.object({
|
|
3249
|
+
"X-Project-Id": z.string().optional()
|
|
3250
|
+
});
|
|
3251
|
+
var zAckOpsItemPath = z.object({
|
|
3252
|
+
handle: zResourceId
|
|
3253
|
+
});
|
|
3254
|
+
var zAckOpsItemResponse2 = zAckOpsItemResponse;
|
|
3255
|
+
var zListOpsInvestigationsHeaders = z.object({
|
|
3256
|
+
"X-Project-Id": z.string().optional()
|
|
3257
|
+
});
|
|
3258
|
+
var zListOpsInvestigationsPath = z.object({
|
|
3259
|
+
handle: zResourceId
|
|
3260
|
+
});
|
|
3261
|
+
var zListOpsInvestigationsResponse2 = zListOpsInvestigationsResponse;
|
|
3262
|
+
var zCreateOpsInvestigationBody = zCreateOpsInvestigationRequest;
|
|
3263
|
+
var zCreateOpsInvestigationHeaders = z.object({
|
|
3264
|
+
"X-Project-Id": z.string().optional()
|
|
3265
|
+
});
|
|
3266
|
+
var zCreateOpsInvestigationPath = z.object({
|
|
3267
|
+
handle: zResourceId
|
|
3268
|
+
});
|
|
3269
|
+
var zCreateOpsInvestigationResponse = zOpsInvestigation;
|
|
3270
|
+
var zListOpsAgentsHeaders = z.object({
|
|
3271
|
+
"X-Project-Id": z.string().optional()
|
|
3272
|
+
});
|
|
3273
|
+
var zListOpsAgentsResponse2 = zListOpsAgentsResponse;
|
|
3274
|
+
var zListOpsCommentsHeaders = z.object({
|
|
3275
|
+
"X-Project-Id": z.string().optional()
|
|
3276
|
+
});
|
|
3277
|
+
var zListOpsCommentsPath = z.object({
|
|
3278
|
+
handle: zResourceId
|
|
3279
|
+
});
|
|
3280
|
+
var zListOpsCommentsResponse2 = zListOpsCommentsResponse;
|
|
3281
|
+
var zCreateOpsCommentBody = zCreateOpsCommentRequest;
|
|
3282
|
+
var zCreateOpsCommentHeaders = z.object({
|
|
3283
|
+
"X-Project-Id": z.string().optional()
|
|
3284
|
+
});
|
|
3285
|
+
var zCreateOpsCommentPath = z.object({
|
|
3286
|
+
handle: zResourceId
|
|
3287
|
+
});
|
|
3288
|
+
var zCreateOpsCommentResponse2 = zCreateOpsCommentResponse;
|
|
2585
3289
|
var zNotifyOpsBody = zNotifyOpsRequest;
|
|
2586
3290
|
var zNotifyOpsHeaders = z.object({
|
|
2587
3291
|
"X-Project-Id": z.string().optional()
|
|
@@ -2618,6 +3322,26 @@ var zUpdateAlertRulePath = z.object({
|
|
|
2618
3322
|
id: zResourceId
|
|
2619
3323
|
});
|
|
2620
3324
|
var zUpdateAlertRuleResponse2 = zUpdateAlertRuleResponse;
|
|
3325
|
+
var zListAlertsHeaders = z.object({
|
|
3326
|
+
"X-Project-Id": z.string().optional()
|
|
3327
|
+
});
|
|
3328
|
+
var zListAlertsQuery = z.object({
|
|
3329
|
+
status: z.enum([
|
|
3330
|
+
"active",
|
|
3331
|
+
"resolved",
|
|
3332
|
+
"dismissed",
|
|
3333
|
+
"all"
|
|
3334
|
+
]).optional().default("active")
|
|
3335
|
+
});
|
|
3336
|
+
var zListAlertsResponse2 = zListAlertsResponse;
|
|
3337
|
+
var zUpdateAlertBody = zUpdateAlertRequest;
|
|
3338
|
+
var zUpdateAlertHeaders = z.object({
|
|
3339
|
+
"X-Project-Id": z.string().optional()
|
|
3340
|
+
});
|
|
3341
|
+
var zUpdateAlertPath = z.object({
|
|
3342
|
+
id: zResourceId
|
|
3343
|
+
});
|
|
3344
|
+
var zUpdateAlertResponse = zAlertApiRow;
|
|
2621
3345
|
var zGetCurrentProjectHeaders = z.object({
|
|
2622
3346
|
"X-Project-Id": z.string().optional()
|
|
2623
3347
|
});
|
|
@@ -2627,6 +3351,13 @@ var zUpsertProjectHeaders = z.object({
|
|
|
2627
3351
|
"X-Project-Id": z.string().optional()
|
|
2628
3352
|
});
|
|
2629
3353
|
var zUpsertProjectResponse2 = zUpsertProjectResponse;
|
|
3354
|
+
var zGetProjectHeaders = z.object({
|
|
3355
|
+
"X-Project-Id": z.string().optional()
|
|
3356
|
+
});
|
|
3357
|
+
var zGetProjectPath = z.object({
|
|
3358
|
+
id: zResourceId
|
|
3359
|
+
});
|
|
3360
|
+
var zGetProjectResponse = zGetCurrentProjectResponse;
|
|
2630
3361
|
var zUpdateProjectBody = zUpdateProjectRequest;
|
|
2631
3362
|
var zUpdateProjectHeaders = z.object({
|
|
2632
3363
|
"X-Project-Id": z.string().optional()
|
|
@@ -2660,6 +3391,18 @@ var zPushI18nKeysHeaders = z.object({
|
|
|
2660
3391
|
"X-Project-Id": z.string().optional()
|
|
2661
3392
|
});
|
|
2662
3393
|
var zPushI18nKeysResponse2 = zPushI18nKeysResponse;
|
|
3394
|
+
var zUpsertI18nKeysBody = zUpsertI18nKeysRequest;
|
|
3395
|
+
var zUpsertI18nKeysHeaders = z.object({
|
|
3396
|
+
"X-Project-Id": z.string().optional()
|
|
3397
|
+
});
|
|
3398
|
+
var zUpsertI18nKeysResponse2 = zUpsertI18nKeysResponse;
|
|
3399
|
+
var zDeleteI18nKeyHeaders = z.object({
|
|
3400
|
+
"X-Project-Id": z.string().optional()
|
|
3401
|
+
});
|
|
3402
|
+
var zDeleteI18nKeyPath = z.object({
|
|
3403
|
+
id: zResourceId
|
|
3404
|
+
});
|
|
3405
|
+
var zDeleteI18nKeyResponse = zOkResponse;
|
|
2663
3406
|
var zUpdateI18nKeyBody = zUpdateI18nKeyRequest;
|
|
2664
3407
|
var zUpdateI18nKeyHeaders = z.object({
|
|
2665
3408
|
"X-Project-Id": z.string().optional()
|
|
@@ -2677,6 +3420,13 @@ var zCreateI18nDraftHeaders = z.object({
|
|
|
2677
3420
|
"X-Project-Id": z.string().optional()
|
|
2678
3421
|
});
|
|
2679
3422
|
var zCreateI18nDraftResponse = zI18nDraft;
|
|
3423
|
+
var zDeleteI18nDraftHeaders = z.object({
|
|
3424
|
+
"X-Project-Id": z.string().optional()
|
|
3425
|
+
});
|
|
3426
|
+
var zDeleteI18nDraftPath = z.object({
|
|
3427
|
+
draftId: zResourceId
|
|
3428
|
+
});
|
|
3429
|
+
var zDeleteI18nDraftResponse = zOkResponse;
|
|
2680
3430
|
var zUpdateI18nDraftBody = zUpdateI18nDraftRequest;
|
|
2681
3431
|
var zUpdateI18nDraftHeaders = z.object({
|
|
2682
3432
|
"X-Project-Id": z.string().optional()
|
|
@@ -2685,6 +3435,28 @@ var zUpdateI18nDraftPath = z.object({
|
|
|
2685
3435
|
draftId: zResourceId
|
|
2686
3436
|
});
|
|
2687
3437
|
var zUpdateI18nDraftResponse = zI18nDraft;
|
|
3438
|
+
var zDeleteI18nProfileHeaders = z.object({
|
|
3439
|
+
"X-Project-Id": z.string().optional()
|
|
3440
|
+
});
|
|
3441
|
+
var zDeleteI18nProfilePath = z.object({
|
|
3442
|
+
profileId: zResourceId
|
|
3443
|
+
});
|
|
3444
|
+
var zDeleteI18nProfileResponse = zOkResponse;
|
|
3445
|
+
var zListI18nDraftKeysHeaders = z.object({
|
|
3446
|
+
"X-Project-Id": z.string().optional()
|
|
3447
|
+
});
|
|
3448
|
+
var zListI18nDraftKeysPath = z.object({
|
|
3449
|
+
draftId: zResourceId
|
|
3450
|
+
});
|
|
3451
|
+
var zListI18nDraftKeysResponse2 = zListI18nDraftKeysResponse;
|
|
3452
|
+
var zUpsertI18nDraftKeyBody = zUpsertI18nDraftKeyRequest;
|
|
3453
|
+
var zUpsertI18nDraftKeyHeaders = z.object({
|
|
3454
|
+
"X-Project-Id": z.string().optional()
|
|
3455
|
+
});
|
|
3456
|
+
var zUpsertI18nDraftKeyPath = z.object({
|
|
3457
|
+
draftId: zResourceId
|
|
3458
|
+
});
|
|
3459
|
+
var zUpsertI18nDraftKeyResponse = zOkResponse;
|
|
2688
3460
|
var zPublishI18nProfileBody = zPublishI18nProfileRequest;
|
|
2689
3461
|
var zPublishI18nProfileHeaders = z.object({
|
|
2690
3462
|
"X-Project-Id": z.string().optional()
|
|
@@ -2734,6 +3506,13 @@ var zFileErrorTicketPath = z.object({
|
|
|
2734
3506
|
id: zResourceId
|
|
2735
3507
|
});
|
|
2736
3508
|
var zFileErrorTicketResponse2 = zFileErrorTicketResponse;
|
|
3509
|
+
var zResolveErrorHeaders = z.object({
|
|
3510
|
+
"X-Project-Id": z.string().optional()
|
|
3511
|
+
});
|
|
3512
|
+
var zResolveErrorPath = z.object({
|
|
3513
|
+
id: zResourceId
|
|
3514
|
+
});
|
|
3515
|
+
var zResolveErrorResponse = zErrorRecord;
|
|
2737
3516
|
var zGetErrorSeriesBody = zErrorSeriesRequest;
|
|
2738
3517
|
var zGetErrorSeriesHeaders = z.object({
|
|
2739
3518
|
"X-Project-Id": z.string().optional()
|
|
@@ -2834,6 +3613,7 @@ var zSearchResourcesQuery = z.object({
|
|
|
2834
3613
|
var zSearchResourcesResponse = zSearchResponse;
|
|
2835
3614
|
|
|
2836
3615
|
export {
|
|
3616
|
+
zGateApiRow,
|
|
2837
3617
|
zListGatesResponse,
|
|
2838
3618
|
zErrorCode,
|
|
2839
3619
|
zError,
|
|
@@ -2846,12 +3626,13 @@ export {
|
|
|
2846
3626
|
zUpdateGateResponse,
|
|
2847
3627
|
zEnableGateResponse,
|
|
2848
3628
|
zDisableGateResponse,
|
|
3629
|
+
zListGateActivityResponse,
|
|
3630
|
+
zExperimentApiRow,
|
|
2849
3631
|
zListExperimentsResponse,
|
|
2850
3632
|
zMetricName,
|
|
2851
3633
|
zExperimentInlineMetric,
|
|
2852
3634
|
zCreateExperimentRequest,
|
|
2853
3635
|
zCreateExperimentResponse,
|
|
2854
|
-
zGetExperimentResponse,
|
|
2855
3636
|
zDeleteExperimentResponse,
|
|
2856
3637
|
zUpdateExperimentRequest,
|
|
2857
3638
|
zUpdateExperimentResponse,
|
|
@@ -2859,9 +3640,15 @@ export {
|
|
|
2859
3640
|
zSetExperimentStatusResponse,
|
|
2860
3641
|
zSetExperimentMetricsRequest,
|
|
2861
3642
|
zSetExperimentMetricsResponse,
|
|
3643
|
+
zExperimentResultRow,
|
|
2862
3644
|
zGetExperimentResultsResponse,
|
|
2863
3645
|
zGetExperimentTimeseriesResponse,
|
|
2864
3646
|
zReanalyzeExperimentResponse,
|
|
3647
|
+
zCreateExperimentReadoutRequest,
|
|
3648
|
+
zCreateExperimentReadoutResponse,
|
|
3649
|
+
zExperimentReadoutMetric,
|
|
3650
|
+
zExperimentReadoutCaveat,
|
|
3651
|
+
zExperimentReadoutApiRow,
|
|
2865
3652
|
zListConfigsResponse,
|
|
2866
3653
|
zConfigName,
|
|
2867
3654
|
zCreateConfigRequest,
|
|
@@ -2880,6 +3667,7 @@ export {
|
|
|
2880
3667
|
zListConfigActivityResponse,
|
|
2881
3668
|
zUpdateConfigSchemaRequest,
|
|
2882
3669
|
zUpdateConfigSchemaResponse,
|
|
3670
|
+
zListConfigVersionsResponse,
|
|
2883
3671
|
zListKillswitchesResponse,
|
|
2884
3672
|
zCreateKillswitchRequest,
|
|
2885
3673
|
zCreateKillswitchResponse,
|
|
@@ -2894,6 +3682,8 @@ export {
|
|
|
2894
3682
|
zSetKillswitchValueRequest,
|
|
2895
3683
|
zKillswitchValue,
|
|
2896
3684
|
zSetKillswitchValueResponse,
|
|
3685
|
+
zUniverseParam,
|
|
3686
|
+
zUniverseParamSchema,
|
|
2897
3687
|
zListUniversesResponse,
|
|
2898
3688
|
zCreateUniverseRequest,
|
|
2899
3689
|
zCreateUniverseResponse,
|
|
@@ -2909,8 +3699,8 @@ export {
|
|
|
2909
3699
|
zDeleteGateTemplateResponse,
|
|
2910
3700
|
zUpdateGateTemplateRequest,
|
|
2911
3701
|
zUpdateGateTemplateResponse,
|
|
2912
|
-
zListAttributesResponse,
|
|
2913
3702
|
zAttributeType,
|
|
3703
|
+
zListAttributesResponse,
|
|
2914
3704
|
zCreateAttributeRequest,
|
|
2915
3705
|
zCreateAttributeResponse,
|
|
2916
3706
|
zGetAttributeResponse,
|
|
@@ -2922,7 +3712,7 @@ export {
|
|
|
2922
3712
|
zMetricEventName,
|
|
2923
3713
|
zMetricQueryDsl,
|
|
2924
3714
|
zMetricWinsorizePct,
|
|
2925
|
-
|
|
3715
|
+
zMetricDefaultMinEffectOfInterest,
|
|
2926
3716
|
zMetricDirection,
|
|
2927
3717
|
zCreateMetricWithQuery,
|
|
2928
3718
|
zCreateMetricWithQueryIr,
|
|
@@ -2934,6 +3724,10 @@ export {
|
|
|
2934
3724
|
zUpdateMetricWithQueryIr,
|
|
2935
3725
|
zUpdateMetricFields,
|
|
2936
3726
|
zUpdateMetricRequest,
|
|
3727
|
+
zListMetricExperimentsResponse,
|
|
3728
|
+
zUnarchiveMetricResponse,
|
|
3729
|
+
zGetMetricSeriesRequest,
|
|
3730
|
+
zGetMetricSeriesResponse,
|
|
2937
3731
|
zListEventsResponse,
|
|
2938
3732
|
zCreateEventRequest,
|
|
2939
3733
|
zCreateEventResponse,
|
|
@@ -2945,12 +3739,7 @@ export {
|
|
|
2945
3739
|
zApproveEventResponse,
|
|
2946
3740
|
zOpsItemStatus,
|
|
2947
3741
|
zOpsItemPriority,
|
|
2948
|
-
|
|
2949
|
-
zNotificationTarget,
|
|
2950
|
-
zCreateBugRequest,
|
|
2951
|
-
zCreateFeatureRequestRequest,
|
|
2952
|
-
zCreateOpsItemRequest,
|
|
2953
|
-
zCreateOpsItemResponse,
|
|
3742
|
+
zOpsInvestigationState,
|
|
2954
3743
|
zOpsBrowserContext,
|
|
2955
3744
|
zOpsErrorContext,
|
|
2956
3745
|
zOpsAlertRuleSummary,
|
|
@@ -2960,12 +3749,22 @@ export {
|
|
|
2960
3749
|
zMeasurePlanStep,
|
|
2961
3750
|
zOpsMeasurePlanContext,
|
|
2962
3751
|
zOpsItemContext,
|
|
2963
|
-
|
|
2964
|
-
zOpsItemRelated,
|
|
3752
|
+
zGithubPrLink,
|
|
2965
3753
|
zGithubConnectorData,
|
|
2966
3754
|
zSlackConnectorData,
|
|
2967
3755
|
zConnectorData,
|
|
3756
|
+
zNotificationTarget,
|
|
3757
|
+
zOpsItemOwner,
|
|
3758
|
+
zOpsRun,
|
|
3759
|
+
zListOpsItemsResponse,
|
|
3760
|
+
zCreateBugRequest,
|
|
3761
|
+
zCreateFeatureRequestRequest,
|
|
3762
|
+
zCreateOpsItemRequest,
|
|
3763
|
+
zCreateOpsItemResponse,
|
|
3764
|
+
zOpsItemAttachment,
|
|
3765
|
+
zOpsItemRelated,
|
|
2968
3766
|
zGetOpsItemResponse,
|
|
3767
|
+
zDeleteOpsItemResponse,
|
|
2969
3768
|
zOpsItemPriorityOrNull,
|
|
2970
3769
|
zOpsItemNotifyOrNull,
|
|
2971
3770
|
zUpdateBugRequest,
|
|
@@ -2975,6 +3774,18 @@ export {
|
|
|
2975
3774
|
zUpdateOpsItemResponse,
|
|
2976
3775
|
zLinkPrToOpsItemRequest,
|
|
2977
3776
|
zLinkPrToOpsItemResponse,
|
|
3777
|
+
zAckOpsItemRequest,
|
|
3778
|
+
zAckOpsItemResponse,
|
|
3779
|
+
zOpsInvestigation,
|
|
3780
|
+
zListOpsInvestigationsResponse,
|
|
3781
|
+
zCreateOpsInvestigationRequest,
|
|
3782
|
+
zOpsAgentProfile,
|
|
3783
|
+
zListOpsAgentsResponse,
|
|
3784
|
+
zOpsCommentAuthorType,
|
|
3785
|
+
zOpsComment,
|
|
3786
|
+
zListOpsCommentsResponse,
|
|
3787
|
+
zCreateOpsCommentRequest,
|
|
3788
|
+
zCreateOpsCommentResponse,
|
|
2978
3789
|
zNotifyOpsRequest,
|
|
2979
3790
|
zNotifyOpsResponse,
|
|
2980
3791
|
zListSlackChannelsResponse,
|
|
@@ -2984,6 +3795,9 @@ export {
|
|
|
2984
3795
|
zDeleteAlertRuleResponse,
|
|
2985
3796
|
zUpdateAlertRuleRequest,
|
|
2986
3797
|
zUpdateAlertRuleResponse,
|
|
3798
|
+
zAlertApiRow,
|
|
3799
|
+
zListAlertsResponse,
|
|
3800
|
+
zUpdateAlertRequest,
|
|
2987
3801
|
zGetCurrentProjectResponse,
|
|
2988
3802
|
zUpsertProjectRequest,
|
|
2989
3803
|
zUpsertProjectResponse,
|
|
@@ -2993,18 +3807,24 @@ export {
|
|
|
2993
3807
|
zCreateI18nProfileRequest,
|
|
2994
3808
|
zCreateI18nProfileResponse,
|
|
2995
3809
|
zListI18nKeysResponse,
|
|
3810
|
+
zUpsertI18nKeysRequest,
|
|
3811
|
+
zUpsertI18nKeysResponse,
|
|
2996
3812
|
zPushI18nKeysRequest,
|
|
2997
3813
|
zPushI18nKeysResponse,
|
|
2998
3814
|
zUpdateI18nKeyRequest,
|
|
2999
3815
|
zUpdateI18nKeyResponse,
|
|
3816
|
+
zOkResponse,
|
|
3817
|
+
zI18nDraft,
|
|
3000
3818
|
zListI18nDraftsResponse,
|
|
3001
3819
|
zCreateI18nDraftRequest,
|
|
3002
|
-
zI18nDraft,
|
|
3003
3820
|
zUpdateI18nDraftRequest,
|
|
3821
|
+
zListI18nDraftKeysResponse,
|
|
3822
|
+
zUpsertI18nDraftKeyRequest,
|
|
3004
3823
|
zPublishI18nProfileRequest,
|
|
3005
3824
|
zPublishI18nProfileResponse,
|
|
3006
3825
|
zSetI18nLabelRequest,
|
|
3007
3826
|
zSetI18nLabelResponse,
|
|
3827
|
+
zErrorOccurrence,
|
|
3008
3828
|
zErrorRecord,
|
|
3009
3829
|
zListErrorsResponse,
|
|
3010
3830
|
zUpdateErrorStatusRequest,
|
|
@@ -3058,6 +3878,9 @@ export {
|
|
|
3058
3878
|
zDeleteGateHeaders,
|
|
3059
3879
|
zDeleteGatePath,
|
|
3060
3880
|
zDeleteGateResponse2,
|
|
3881
|
+
zGetGateHeaders,
|
|
3882
|
+
zGetGatePath,
|
|
3883
|
+
zGetGateResponse,
|
|
3061
3884
|
zUpdateGateBody,
|
|
3062
3885
|
zUpdateGateHeaders,
|
|
3063
3886
|
zUpdateGatePath,
|
|
@@ -3068,6 +3891,10 @@ export {
|
|
|
3068
3891
|
zDisableGateHeaders,
|
|
3069
3892
|
zDisableGatePath,
|
|
3070
3893
|
zDisableGateResponse2,
|
|
3894
|
+
zListGateActivityHeaders,
|
|
3895
|
+
zListGateActivityPath,
|
|
3896
|
+
zListGateActivityQuery,
|
|
3897
|
+
zListGateActivityResponse2,
|
|
3071
3898
|
zListExperimentsHeaders,
|
|
3072
3899
|
zListExperimentsQuery,
|
|
3073
3900
|
zListExperimentsResponse2,
|
|
@@ -3079,7 +3906,7 @@ export {
|
|
|
3079
3906
|
zDeleteExperimentResponse2,
|
|
3080
3907
|
zGetExperimentHeaders,
|
|
3081
3908
|
zGetExperimentPath,
|
|
3082
|
-
|
|
3909
|
+
zGetExperimentResponse,
|
|
3083
3910
|
zUpdateExperimentBody,
|
|
3084
3911
|
zUpdateExperimentHeaders,
|
|
3085
3912
|
zUpdateExperimentPath,
|
|
@@ -3102,6 +3929,13 @@ export {
|
|
|
3102
3929
|
zReanalyzeExperimentHeaders,
|
|
3103
3930
|
zReanalyzeExperimentPath,
|
|
3104
3931
|
zReanalyzeExperimentResponse2,
|
|
3932
|
+
zCreateExperimentReadoutBody,
|
|
3933
|
+
zCreateExperimentReadoutHeaders,
|
|
3934
|
+
zCreateExperimentReadoutPath,
|
|
3935
|
+
zCreateExperimentReadoutResponse2,
|
|
3936
|
+
zGetExperimentReadoutHeaders,
|
|
3937
|
+
zGetExperimentReadoutPath,
|
|
3938
|
+
zGetExperimentReadoutResponse,
|
|
3105
3939
|
zListConfigsHeaders,
|
|
3106
3940
|
zListConfigsQuery,
|
|
3107
3941
|
zListConfigsResponse2,
|
|
@@ -3138,6 +3972,10 @@ export {
|
|
|
3138
3972
|
zUpdateConfigSchemaHeaders,
|
|
3139
3973
|
zUpdateConfigSchemaPath,
|
|
3140
3974
|
zUpdateConfigSchemaResponse2,
|
|
3975
|
+
zListConfigVersionsHeaders,
|
|
3976
|
+
zListConfigVersionsPath,
|
|
3977
|
+
zListConfigVersionsQuery,
|
|
3978
|
+
zListConfigVersionsResponse2,
|
|
3141
3979
|
zListKillswitchesHeaders,
|
|
3142
3980
|
zListKillswitchesQuery,
|
|
3143
3981
|
zListKillswitchesResponse2,
|
|
@@ -3227,6 +4065,16 @@ export {
|
|
|
3227
4065
|
zUpdateMetricHeaders,
|
|
3228
4066
|
zUpdateMetricPath,
|
|
3229
4067
|
zUpdateMetricResponse,
|
|
4068
|
+
zListMetricExperimentsHeaders,
|
|
4069
|
+
zListMetricExperimentsPath,
|
|
4070
|
+
zListMetricExperimentsResponse2,
|
|
4071
|
+
zUnarchiveMetricHeaders,
|
|
4072
|
+
zUnarchiveMetricPath,
|
|
4073
|
+
zUnarchiveMetricResponse2,
|
|
4074
|
+
zGetMetricSeriesBody,
|
|
4075
|
+
zGetMetricSeriesHeaders,
|
|
4076
|
+
zGetMetricSeriesPath,
|
|
4077
|
+
zGetMetricSeriesResponse2,
|
|
3230
4078
|
zListEventsHeaders,
|
|
3231
4079
|
zListEventsQuery,
|
|
3232
4080
|
zListEventsResponse2,
|
|
@@ -3253,6 +4101,9 @@ export {
|
|
|
3253
4101
|
zCreateOpsItemBody,
|
|
3254
4102
|
zCreateOpsItemHeaders,
|
|
3255
4103
|
zCreateOpsItemResponse2,
|
|
4104
|
+
zDeleteOpsItemHeaders,
|
|
4105
|
+
zDeleteOpsItemPath,
|
|
4106
|
+
zDeleteOpsItemResponse2,
|
|
3256
4107
|
zGetOpsItemHeaders,
|
|
3257
4108
|
zGetOpsItemPath,
|
|
3258
4109
|
zGetOpsItemResponse2,
|
|
@@ -3264,6 +4115,26 @@ export {
|
|
|
3264
4115
|
zLinkPrToOpsItemHeaders,
|
|
3265
4116
|
zLinkPrToOpsItemPath,
|
|
3266
4117
|
zLinkPrToOpsItemResponse2,
|
|
4118
|
+
zAckOpsItemBody,
|
|
4119
|
+
zAckOpsItemHeaders,
|
|
4120
|
+
zAckOpsItemPath,
|
|
4121
|
+
zAckOpsItemResponse2,
|
|
4122
|
+
zListOpsInvestigationsHeaders,
|
|
4123
|
+
zListOpsInvestigationsPath,
|
|
4124
|
+
zListOpsInvestigationsResponse2,
|
|
4125
|
+
zCreateOpsInvestigationBody,
|
|
4126
|
+
zCreateOpsInvestigationHeaders,
|
|
4127
|
+
zCreateOpsInvestigationPath,
|
|
4128
|
+
zCreateOpsInvestigationResponse,
|
|
4129
|
+
zListOpsAgentsHeaders,
|
|
4130
|
+
zListOpsAgentsResponse2,
|
|
4131
|
+
zListOpsCommentsHeaders,
|
|
4132
|
+
zListOpsCommentsPath,
|
|
4133
|
+
zListOpsCommentsResponse2,
|
|
4134
|
+
zCreateOpsCommentBody,
|
|
4135
|
+
zCreateOpsCommentHeaders,
|
|
4136
|
+
zCreateOpsCommentPath,
|
|
4137
|
+
zCreateOpsCommentResponse2,
|
|
3267
4138
|
zNotifyOpsBody,
|
|
3268
4139
|
zNotifyOpsHeaders,
|
|
3269
4140
|
zNotifyOpsResponse2,
|
|
@@ -3282,11 +4153,21 @@ export {
|
|
|
3282
4153
|
zUpdateAlertRuleHeaders,
|
|
3283
4154
|
zUpdateAlertRulePath,
|
|
3284
4155
|
zUpdateAlertRuleResponse2,
|
|
4156
|
+
zListAlertsHeaders,
|
|
4157
|
+
zListAlertsQuery,
|
|
4158
|
+
zListAlertsResponse2,
|
|
4159
|
+
zUpdateAlertBody,
|
|
4160
|
+
zUpdateAlertHeaders,
|
|
4161
|
+
zUpdateAlertPath,
|
|
4162
|
+
zUpdateAlertResponse,
|
|
3285
4163
|
zGetCurrentProjectHeaders,
|
|
3286
4164
|
zGetCurrentProjectResponse2,
|
|
3287
4165
|
zUpsertProjectBody,
|
|
3288
4166
|
zUpsertProjectHeaders,
|
|
3289
4167
|
zUpsertProjectResponse2,
|
|
4168
|
+
zGetProjectHeaders,
|
|
4169
|
+
zGetProjectPath,
|
|
4170
|
+
zGetProjectResponse,
|
|
3290
4171
|
zUpdateProjectBody,
|
|
3291
4172
|
zUpdateProjectHeaders,
|
|
3292
4173
|
zUpdateProjectPath,
|
|
@@ -3302,6 +4183,12 @@ export {
|
|
|
3302
4183
|
zPushI18nKeysBody,
|
|
3303
4184
|
zPushI18nKeysHeaders,
|
|
3304
4185
|
zPushI18nKeysResponse2,
|
|
4186
|
+
zUpsertI18nKeysBody,
|
|
4187
|
+
zUpsertI18nKeysHeaders,
|
|
4188
|
+
zUpsertI18nKeysResponse2,
|
|
4189
|
+
zDeleteI18nKeyHeaders,
|
|
4190
|
+
zDeleteI18nKeyPath,
|
|
4191
|
+
zDeleteI18nKeyResponse,
|
|
3305
4192
|
zUpdateI18nKeyBody,
|
|
3306
4193
|
zUpdateI18nKeyHeaders,
|
|
3307
4194
|
zUpdateI18nKeyPath,
|
|
@@ -3311,10 +4198,23 @@ export {
|
|
|
3311
4198
|
zCreateI18nDraftBody,
|
|
3312
4199
|
zCreateI18nDraftHeaders,
|
|
3313
4200
|
zCreateI18nDraftResponse,
|
|
4201
|
+
zDeleteI18nDraftHeaders,
|
|
4202
|
+
zDeleteI18nDraftPath,
|
|
4203
|
+
zDeleteI18nDraftResponse,
|
|
3314
4204
|
zUpdateI18nDraftBody,
|
|
3315
4205
|
zUpdateI18nDraftHeaders,
|
|
3316
4206
|
zUpdateI18nDraftPath,
|
|
3317
4207
|
zUpdateI18nDraftResponse,
|
|
4208
|
+
zDeleteI18nProfileHeaders,
|
|
4209
|
+
zDeleteI18nProfilePath,
|
|
4210
|
+
zDeleteI18nProfileResponse,
|
|
4211
|
+
zListI18nDraftKeysHeaders,
|
|
4212
|
+
zListI18nDraftKeysPath,
|
|
4213
|
+
zListI18nDraftKeysResponse2,
|
|
4214
|
+
zUpsertI18nDraftKeyBody,
|
|
4215
|
+
zUpsertI18nDraftKeyHeaders,
|
|
4216
|
+
zUpsertI18nDraftKeyPath,
|
|
4217
|
+
zUpsertI18nDraftKeyResponse,
|
|
3318
4218
|
zPublishI18nProfileBody,
|
|
3319
4219
|
zPublishI18nProfileHeaders,
|
|
3320
4220
|
zPublishI18nProfilePath,
|
|
@@ -3335,6 +4235,9 @@ export {
|
|
|
3335
4235
|
zFileErrorTicketHeaders,
|
|
3336
4236
|
zFileErrorTicketPath,
|
|
3337
4237
|
zFileErrorTicketResponse2,
|
|
4238
|
+
zResolveErrorHeaders,
|
|
4239
|
+
zResolveErrorPath,
|
|
4240
|
+
zResolveErrorResponse,
|
|
3338
4241
|
zGetErrorSeriesBody,
|
|
3339
4242
|
zGetErrorSeriesHeaders,
|
|
3340
4243
|
zGetErrorSeriesPath,
|
|
@@ -3382,4 +4285,4 @@ export {
|
|
|
3382
4285
|
zSearchResourcesQuery,
|
|
3383
4286
|
zSearchResourcesResponse
|
|
3384
4287
|
};
|
|
3385
|
-
//# sourceMappingURL=chunk-
|
|
4288
|
+
//# sourceMappingURL=chunk-ZPKHTUVV.js.map
|