@shipeasy/openapi 2.1.0 → 2.3.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-EPLLHLZN.js → chunk-LYNWK55D.js} +23 -1
- package/dist/chunk-LYNWK55D.js.map +1 -0
- package/dist/{chunk-SPH5HWCD.js → chunk-PRN4AEAM.js} +396 -187
- package/dist/chunk-PRN4AEAM.js.map +1 -0
- package/dist/{client-pVkoo3Bf.d.ts → client-DO5HTb_L.d.ts} +886 -241
- package/dist/client.d.ts +1 -1
- package/dist/client.js +7 -1
- package/dist/custom.d.ts +23 -1
- package/dist/custom.js +12 -4
- package/dist/custom.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +770 -104
- package/dist/schemas.js +57 -5
- package/openapi.json +2177 -775
- package/openapi.yaml +1373 -409
- package/package.json +1 -1
- package/spec/components/errors.yaml +30 -1
- package/spec/components/parameters.yaml +8 -0
- package/spec/components/responses.yaml +15 -0
- package/spec/components/schemas/common.yaml +11 -0
- package/spec/components/schemas/connectors.yaml +5 -11
- package/spec/components/schemas/errors-api.yaml +66 -3
- package/spec/components/schemas/experiment-api-row.yaml +293 -0
- package/spec/components/schemas/experiments.yaml +54 -299
- package/spec/components/schemas/gate-templates.yaml +41 -2
- package/spec/components/schemas/gates.yaml +19 -0
- package/spec/components/schemas/keys.yaml +2 -1
- package/spec/components/schemas/metrics.yaml +17 -17
- package/spec/components/schemas/ops.yaml +105 -2
- package/spec/components/schemas/projects.yaml +119 -1
- package/spec/components/schemas/universes.yaml +83 -1
- package/spec/openapi.yaml +35 -2
- package/spec/paths/alert-rules.yaml +11 -2
- package/spec/paths/attributes.yaml +14 -3
- package/spec/paths/configs.yaml +24 -9
- package/spec/paths/connectors.yaml +42 -8
- package/spec/paths/errors.yaml +100 -6
- package/spec/paths/events.yaml +19 -4
- package/spec/paths/experiments.yaml +45 -11
- package/spec/paths/gate-templates.yaml +9 -5
- package/spec/paths/gates.yaml +21 -6
- package/spec/paths/i18n.yaml +18 -5
- package/spec/paths/keys.yaml +3 -1
- package/spec/paths/killswitches.yaml +24 -6
- package/spec/paths/metrics.yaml +15 -3
- package/spec/paths/ops.yaml +114 -3
- package/spec/paths/projects.yaml +3 -3
- package/spec/paths/universes.yaml +11 -2
- package/dist/chunk-EPLLHLZN.js.map +0 -1
- package/dist/chunk-SPH5HWCD.js.map +0 -1
|
@@ -8,6 +8,7 @@ var zListGatesResponse = z.object({
|
|
|
8
8
|
z.boolean(),
|
|
9
9
|
z.int().gte(0).lte(1)
|
|
10
10
|
]),
|
|
11
|
+
type: z.enum(["targeting", "holdout"]).optional(),
|
|
11
12
|
rolloutPct: z.int().gte(0).lte(1e4),
|
|
12
13
|
rules: z.array(z.object({
|
|
13
14
|
attr: z.string().min(1),
|
|
@@ -110,17 +111,29 @@ var zErrorCode = z.enum([
|
|
|
110
111
|
"REFERENCED_NOT_FOUND",
|
|
111
112
|
"GROUPS_WEIGHT_SUM",
|
|
112
113
|
"EVENT_PENDING",
|
|
113
|
-
"INTERNAL"
|
|
114
|
+
"INTERNAL",
|
|
115
|
+
"PLAN_LIMIT",
|
|
116
|
+
"EXPERIMENT_NO_GOAL_METRIC",
|
|
117
|
+
"EXPERIMENT_ARCHIVED_RESTART",
|
|
118
|
+
"EXPERIMENT_RESTORE_INVALID",
|
|
119
|
+
"EXPERIMENT_NOT_RUNNING",
|
|
120
|
+
"EXPERIMENT_RUNNING_ARCHIVE",
|
|
121
|
+
"EXPERIMENT_IMMUTABLE_FIELD",
|
|
122
|
+
"METRIC_NOT_FOUND",
|
|
123
|
+
"METRIC_UNKNOWN_ID"
|
|
114
124
|
]);
|
|
115
125
|
var zError = z.object({
|
|
116
126
|
error: z.string(),
|
|
117
127
|
code: zErrorCode.optional(),
|
|
118
128
|
detail: z.string().optional(),
|
|
119
|
-
|
|
129
|
+
fields: z.record(z.string(), z.string()).optional(),
|
|
130
|
+
instructions: z.string().optional(),
|
|
131
|
+
schema: z.record(z.string(), z.unknown()).optional()
|
|
120
132
|
});
|
|
121
133
|
var zFolder = z.string().max(256).regex(/^[a-zA-Z0-9_-]+$/).nullable();
|
|
122
134
|
var zCreateGateRequest = z.object({
|
|
123
135
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
136
|
+
type: z.enum(["targeting", "holdout"]).optional().default("targeting"),
|
|
124
137
|
enabled: z.boolean().optional().default(true),
|
|
125
138
|
rollout_pct: z.int().gte(0).lte(1e4).optional().default(0),
|
|
126
139
|
rollout_percent: z.number().gte(0).lte(100).optional(),
|
|
@@ -211,10 +224,12 @@ var zCreateGateResponse = z.object({
|
|
|
211
224
|
id: z.string(),
|
|
212
225
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/)
|
|
213
226
|
});
|
|
227
|
+
var zResourceId = z.string().min(1).max(128);
|
|
214
228
|
var zDeleteGateResponse = z.object({
|
|
215
229
|
ok: z.literal(true)
|
|
216
230
|
});
|
|
217
231
|
var zUpdateGateRequest = z.object({
|
|
232
|
+
type: z.enum(["targeting", "holdout"]).optional(),
|
|
218
233
|
rollout_pct: z.int().gte(0).lte(1e4).optional(),
|
|
219
234
|
rollout_percent: z.number().gte(0).lte(100).optional(),
|
|
220
235
|
rules: z.array(z.object({
|
|
@@ -311,45 +326,81 @@ var zDisableGateResponse = z.object({
|
|
|
311
326
|
id: z.string(),
|
|
312
327
|
enabled: z.boolean()
|
|
313
328
|
});
|
|
314
|
-
var
|
|
315
|
-
|
|
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
|
-
sequentialTesting: z.boolean(),
|
|
349
|
-
startedAt: z.string().nullable(),
|
|
350
|
-
stoppedAt: z.string().nullish(),
|
|
351
|
-
updatedAt: z.string()
|
|
329
|
+
var zExperimentApiRow = z.object({
|
|
330
|
+
id: z.string(),
|
|
331
|
+
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
332
|
+
description: z.string().nullable(),
|
|
333
|
+
hypothesis: z.string().nullable(),
|
|
334
|
+
tag: z.string().nullable(),
|
|
335
|
+
ownerEmail: z.string().nullable(),
|
|
336
|
+
audience: z.string().nullable(),
|
|
337
|
+
bucketBy: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/).nullable(),
|
|
338
|
+
folder: z.string().nullable(),
|
|
339
|
+
status: z.enum([
|
|
340
|
+
"draft",
|
|
341
|
+
"running",
|
|
342
|
+
"stopped",
|
|
343
|
+
"archived"
|
|
344
|
+
]),
|
|
345
|
+
universe: z.string(),
|
|
346
|
+
targetingGate: z.string().nullable(),
|
|
347
|
+
holdoutGate: z.string().nullable(),
|
|
348
|
+
allocationPct: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
349
|
+
reservedHeadroom: z.int().gte(0).lte(1e4),
|
|
350
|
+
hashVersion: z.int().gte(1),
|
|
351
|
+
poolOffsetBp: z.int().gte(0).lte(1e4).nullable(),
|
|
352
|
+
poolSizeBp: z.int().gte(0).lte(1e4).nullable(),
|
|
353
|
+
salt: z.string(),
|
|
354
|
+
params: z.record(z.string(), z.enum([
|
|
355
|
+
"string",
|
|
356
|
+
"bool",
|
|
357
|
+
"number"
|
|
358
|
+
])),
|
|
359
|
+
groups: z.array(z.object({
|
|
360
|
+
name: z.string().min(1).max(64),
|
|
361
|
+
weight: z.int().gte(0).lte(1e4),
|
|
362
|
+
params: z.record(z.string(), z.unknown()).optional().default({})
|
|
352
363
|
})),
|
|
364
|
+
significanceThreshold: z.number(),
|
|
365
|
+
minRuntimeDays: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
366
|
+
minSampleSize: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
367
|
+
sequentialTesting: z.boolean(),
|
|
368
|
+
startedAt: z.string().nullable(),
|
|
369
|
+
stoppedAt: z.string().nullable(),
|
|
370
|
+
updatedAt: z.string(),
|
|
371
|
+
version: z.int().nullable(),
|
|
372
|
+
creatorEmail: z.string().nullish(),
|
|
373
|
+
updaterEmail: z.string().nullish(),
|
|
374
|
+
verdict: z.enum([
|
|
375
|
+
"ship",
|
|
376
|
+
"hold",
|
|
377
|
+
"wait",
|
|
378
|
+
"invalid",
|
|
379
|
+
"draft"
|
|
380
|
+
]).optional(),
|
|
381
|
+
verdictTitle: z.string().optional(),
|
|
382
|
+
verdictWhy: z.string().optional(),
|
|
383
|
+
goalMetric: z.object({
|
|
384
|
+
id: z.string(),
|
|
385
|
+
name: z.string()
|
|
386
|
+
}).nullish(),
|
|
387
|
+
guardrails: z.array(z.object({
|
|
388
|
+
id: z.string(),
|
|
389
|
+
name: z.string(),
|
|
390
|
+
eventName: z.string().nullish()
|
|
391
|
+
})).optional(),
|
|
392
|
+
guardrailCount: z.int().gte(0).optional(),
|
|
393
|
+
primaryLiftPct: z.number().nullish(),
|
|
394
|
+
significancePct: z.number().nullish(),
|
|
395
|
+
sampleSize: z.int().nullish(),
|
|
396
|
+
exposure: z.array(z.object({
|
|
397
|
+
ds: z.string(),
|
|
398
|
+
value: z.number()
|
|
399
|
+
})).optional(),
|
|
400
|
+
exposureTotal: z.int().nullish()
|
|
401
|
+
});
|
|
402
|
+
var zListExperimentsResponse = z.object({
|
|
403
|
+
data: z.array(zExperimentApiRow),
|
|
353
404
|
next_cursor: z.string().nullable()
|
|
354
405
|
});
|
|
355
406
|
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])?)?$/);
|
|
@@ -365,7 +416,8 @@ var zExperimentInlineMetric = z.object({
|
|
|
365
416
|
"sum",
|
|
366
417
|
"avg"
|
|
367
418
|
]).optional(),
|
|
368
|
-
value: z.string().min(1).max(256).optional()
|
|
419
|
+
value: z.string().min(1).max(256).optional(),
|
|
420
|
+
min_effect_of_interest: z.number().nullish().default(null)
|
|
369
421
|
});
|
|
370
422
|
var zCreateExperimentRequest = z.object({
|
|
371
423
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
@@ -378,8 +430,10 @@ var zCreateExperimentRequest = z.object({
|
|
|
378
430
|
folder: zFolder.optional(),
|
|
379
431
|
universe: z.string().min(1),
|
|
380
432
|
targeting_gate: z.string().nullish().default(null),
|
|
433
|
+
holdout_gate: z.string().nullish().default(null),
|
|
381
434
|
allocation_pct: z.int().gte(0).lte(1e4).optional().default(0),
|
|
382
435
|
allocation_percent: z.number().gte(0).lte(100).optional(),
|
|
436
|
+
reserved_headroom: z.int().gte(0).lte(1e4).optional(),
|
|
383
437
|
salt: z.string().min(1).max(64).optional(),
|
|
384
438
|
params: z.record(z.string(), z.enum([
|
|
385
439
|
"string",
|
|
@@ -402,44 +456,6 @@ var zCreateExperimentResponse = z.object({
|
|
|
402
456
|
id: z.string(),
|
|
403
457
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/)
|
|
404
458
|
});
|
|
405
|
-
var zGetExperimentResponse = z.object({
|
|
406
|
-
id: z.string(),
|
|
407
|
-
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
408
|
-
description: z.string().nullable(),
|
|
409
|
-
hypothesis: z.string().nullable(),
|
|
410
|
-
tag: z.string().nullable(),
|
|
411
|
-
ownerEmail: z.string().nullable(),
|
|
412
|
-
audience: z.string().nullable(),
|
|
413
|
-
bucketBy: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/).nullable(),
|
|
414
|
-
folder: z.string().nullable(),
|
|
415
|
-
status: z.enum([
|
|
416
|
-
"draft",
|
|
417
|
-
"running",
|
|
418
|
-
"stopped",
|
|
419
|
-
"archived"
|
|
420
|
-
]),
|
|
421
|
-
universe: z.string(),
|
|
422
|
-
targetingGate: z.string().nullable(),
|
|
423
|
-
allocationPct: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
424
|
-
salt: z.string(),
|
|
425
|
-
params: z.record(z.string(), z.enum([
|
|
426
|
-
"string",
|
|
427
|
-
"bool",
|
|
428
|
-
"number"
|
|
429
|
-
])),
|
|
430
|
-
groups: z.array(z.object({
|
|
431
|
-
name: z.string().min(1).max(64),
|
|
432
|
-
weight: z.int().gte(0).lte(1e4),
|
|
433
|
-
params: z.record(z.string(), z.unknown()).optional().default({})
|
|
434
|
-
})),
|
|
435
|
-
significanceThreshold: z.number(),
|
|
436
|
-
minRuntimeDays: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
437
|
-
minSampleSize: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
438
|
-
sequentialTesting: z.boolean(),
|
|
439
|
-
startedAt: z.string().nullable(),
|
|
440
|
-
stoppedAt: z.string().nullish(),
|
|
441
|
-
updatedAt: z.string()
|
|
442
|
-
});
|
|
443
459
|
var zDeleteExperimentResponse = z.object({
|
|
444
460
|
ok: z.literal(true)
|
|
445
461
|
});
|
|
@@ -453,7 +469,9 @@ var zUpdateExperimentRequest = z.object({
|
|
|
453
469
|
bucket_by: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/).nullish(),
|
|
454
470
|
folder: zFolder.optional(),
|
|
455
471
|
targeting_gate: z.string().nullish(),
|
|
472
|
+
holdout_gate: z.string().nullish(),
|
|
456
473
|
allocation_pct: z.int().gte(0).lte(1e4).optional(),
|
|
474
|
+
reserved_headroom: z.int().gte(0).lte(1e4).optional(),
|
|
457
475
|
allocation_percent: z.number().gte(0).lte(100).optional(),
|
|
458
476
|
salt: z.string().min(1).max(64).optional(),
|
|
459
477
|
universe: z.string().optional(),
|
|
@@ -501,7 +519,8 @@ var zSetExperimentMetricsRequest = z.object({
|
|
|
501
519
|
"goal",
|
|
502
520
|
"guardrail",
|
|
503
521
|
"secondary"
|
|
504
|
-
])
|
|
522
|
+
]),
|
|
523
|
+
min_effect_of_interest: z.number().nullish().default(null)
|
|
505
524
|
}))
|
|
506
525
|
});
|
|
507
526
|
var zSetExperimentMetricsResponse = z.object({
|
|
@@ -512,7 +531,8 @@ var zSetExperimentMetricsResponse = z.object({
|
|
|
512
531
|
"goal",
|
|
513
532
|
"guardrail",
|
|
514
533
|
"secondary"
|
|
515
|
-
])
|
|
534
|
+
]),
|
|
535
|
+
min_effect_of_interest: z.number().nullable()
|
|
516
536
|
}))
|
|
517
537
|
});
|
|
518
538
|
var zGetExperimentResultsResponse = z.object({
|
|
@@ -534,7 +554,8 @@ var zGetExperimentResultsResponse = z.object({
|
|
|
534
554
|
mean: z.number().nullable(),
|
|
535
555
|
delta_pct: z.number().nullable(),
|
|
536
556
|
p_value: z.number().nullable(),
|
|
537
|
-
srm_detected: z.number().nullable()
|
|
557
|
+
srm_detected: z.number().nullable(),
|
|
558
|
+
realized_mde: z.number().nullable()
|
|
538
559
|
})),
|
|
539
560
|
verdict: z.enum([
|
|
540
561
|
"ship",
|
|
@@ -768,12 +789,26 @@ var zSetKillswitchValueResponse = z.object({
|
|
|
768
789
|
version: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
769
790
|
published: zKillswitchValue
|
|
770
791
|
});
|
|
792
|
+
var zUniverseParam = z.object({
|
|
793
|
+
name: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/),
|
|
794
|
+
type: z.enum([
|
|
795
|
+
"bool",
|
|
796
|
+
"string",
|
|
797
|
+
"int",
|
|
798
|
+
"number"
|
|
799
|
+
]),
|
|
800
|
+
default: z.unknown()
|
|
801
|
+
});
|
|
802
|
+
var zUniverseParamSchema = z.array(zUniverseParam);
|
|
771
803
|
var zListUniversesResponse = z.object({
|
|
772
804
|
data: z.array(z.object({
|
|
773
805
|
id: z.string(),
|
|
774
806
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
807
|
+
description: z.string().nullish(),
|
|
775
808
|
unitType: z.string(),
|
|
776
809
|
holdoutRange: z.tuple([z.number(), z.number()]).nullable(),
|
|
810
|
+
recommendedHeadroom: z.int().gte(0).lte(1e4).optional(),
|
|
811
|
+
paramSchema: zUniverseParamSchema.nullish(),
|
|
777
812
|
createdAt: z.string()
|
|
778
813
|
})),
|
|
779
814
|
next_cursor: z.string().nullable()
|
|
@@ -781,8 +816,11 @@ var zListUniversesResponse = z.object({
|
|
|
781
816
|
var zCreateUniverseRequest = z.object({
|
|
782
817
|
name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
|
|
783
818
|
folder: zFolder.optional(),
|
|
819
|
+
description: z.string().max(2e3).nullish().default(null),
|
|
784
820
|
unit_type: z.string().optional().default("user_id"),
|
|
785
|
-
holdout_range: z.tuple([z.int().gte(0).lte(9999), z.int().gte(0).lte(9999)]).nullish().default(null)
|
|
821
|
+
holdout_range: z.tuple([z.int().gte(0).lte(9999), z.int().gte(0).lte(9999)]).nullish().default(null),
|
|
822
|
+
recommended_headroom: z.int().gte(0).lte(1e4).optional().default(0),
|
|
823
|
+
param_schema: zUniverseParamSchema.nullish().default(null)
|
|
786
824
|
});
|
|
787
825
|
var zCreateUniverseResponse = z.object({
|
|
788
826
|
id: z.string(),
|
|
@@ -793,12 +831,15 @@ var zDeleteUniverseResponse = z.object({
|
|
|
793
831
|
});
|
|
794
832
|
var zUpdateUniverseRequest = z.object({
|
|
795
833
|
folder: zFolder.optional(),
|
|
796
|
-
|
|
834
|
+
description: z.string().max(2e3).nullish(),
|
|
835
|
+
holdout_range: z.tuple([z.int().gte(0).lte(9999), z.int().gte(0).lte(9999)]).nullish(),
|
|
836
|
+
recommended_headroom: z.int().gte(0).lte(1e4).optional(),
|
|
837
|
+
param_schema: zUniverseParamSchema.nullish()
|
|
797
838
|
});
|
|
798
839
|
var zUpdateUniverseResponse = z.object({
|
|
799
840
|
id: z.string()
|
|
800
841
|
});
|
|
801
|
-
var
|
|
842
|
+
var zGateTemplateRuleResponse = z.object({
|
|
802
843
|
attr: z.string(),
|
|
803
844
|
op: z.enum([
|
|
804
845
|
"eq",
|
|
@@ -818,7 +859,7 @@ var zGateTemplateRule = z.object({
|
|
|
818
859
|
"gate_pass",
|
|
819
860
|
"exp_in"
|
|
820
861
|
]),
|
|
821
|
-
value: z.unknown()
|
|
862
|
+
value: z.unknown().optional()
|
|
822
863
|
});
|
|
823
864
|
var zGateTemplate = z.object({
|
|
824
865
|
id: z.string(),
|
|
@@ -828,7 +869,7 @@ var zGateTemplate = z.object({
|
|
|
828
869
|
auto: z.boolean(),
|
|
829
870
|
builtin: z.boolean(),
|
|
830
871
|
iconKey: z.string().nullish(),
|
|
831
|
-
rules: z.array(
|
|
872
|
+
rules: z.array(zGateTemplateRuleResponse),
|
|
832
873
|
createdAt: z.string().nullish(),
|
|
833
874
|
updatedAt: z.string().nullish()
|
|
834
875
|
});
|
|
@@ -836,6 +877,33 @@ var zListGateTemplatesResponse = z.object({
|
|
|
836
877
|
data: z.array(zGateTemplate),
|
|
837
878
|
next_cursor: z.string().nullable()
|
|
838
879
|
});
|
|
880
|
+
var zGateTemplateRule = z.object({
|
|
881
|
+
attr: z.string(),
|
|
882
|
+
op: z.enum([
|
|
883
|
+
"eq",
|
|
884
|
+
"neq",
|
|
885
|
+
"in",
|
|
886
|
+
"not_in",
|
|
887
|
+
"gt",
|
|
888
|
+
"gte",
|
|
889
|
+
"lt",
|
|
890
|
+
"lte",
|
|
891
|
+
"contains",
|
|
892
|
+
"regex",
|
|
893
|
+
"semver_gt",
|
|
894
|
+
"semver_gte",
|
|
895
|
+
"semver_lt",
|
|
896
|
+
"semver_lte",
|
|
897
|
+
"gate_pass",
|
|
898
|
+
"exp_in"
|
|
899
|
+
]),
|
|
900
|
+
value: z.union([
|
|
901
|
+
z.string(),
|
|
902
|
+
z.number(),
|
|
903
|
+
z.boolean(),
|
|
904
|
+
z.array(z.unknown())
|
|
905
|
+
])
|
|
906
|
+
});
|
|
839
907
|
var zCreateGateTemplateRequest = z.object({
|
|
840
908
|
name: z.string().min(1).max(140),
|
|
841
909
|
description: z.string().max(2e3).optional().default(""),
|
|
@@ -1008,14 +1076,14 @@ var zListMetricsResponse = z.array(z.object({
|
|
|
1008
1076
|
"neutral"
|
|
1009
1077
|
]).optional(),
|
|
1010
1078
|
winsorizePct: z.number().optional(),
|
|
1011
|
-
|
|
1079
|
+
defaultMinEffectOfInterest: z.number().nullish(),
|
|
1012
1080
|
createdAt: z.string().optional(),
|
|
1013
1081
|
updatedAt: z.string().optional()
|
|
1014
1082
|
}));
|
|
1015
1083
|
var zMetricEventName = z.string().min(1);
|
|
1016
1084
|
var zMetricQueryDsl = z.string().min(1).max(4096);
|
|
1017
1085
|
var zMetricWinsorizePct = z.int().gte(1).lte(99).default(99);
|
|
1018
|
-
var
|
|
1086
|
+
var zMetricDefaultMinEffectOfInterest = z.number().nullable().default(null);
|
|
1019
1087
|
var zMetricDirection = z.enum([
|
|
1020
1088
|
"higher_better",
|
|
1021
1089
|
"lower_better",
|
|
@@ -1027,7 +1095,7 @@ var zCreateMetricWithQuery = z.object({
|
|
|
1027
1095
|
event_name: zMetricEventName,
|
|
1028
1096
|
query: zMetricQueryDsl,
|
|
1029
1097
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1030
|
-
|
|
1098
|
+
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1031
1099
|
direction: zMetricDirection.optional()
|
|
1032
1100
|
});
|
|
1033
1101
|
var zCreateMetricWithQueryIr = z.object({
|
|
@@ -1036,7 +1104,7 @@ var zCreateMetricWithQueryIr = z.object({
|
|
|
1036
1104
|
event_name: zMetricEventName,
|
|
1037
1105
|
query_ir: zQueryIr,
|
|
1038
1106
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1039
|
-
|
|
1107
|
+
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1040
1108
|
direction: zMetricDirection.optional()
|
|
1041
1109
|
});
|
|
1042
1110
|
var zCreateMetricRequest = z.union([
|
|
@@ -1060,7 +1128,7 @@ var zGetMetricResponse = z.object({
|
|
|
1060
1128
|
"neutral"
|
|
1061
1129
|
]).optional(),
|
|
1062
1130
|
winsorizePct: z.number().optional(),
|
|
1063
|
-
|
|
1131
|
+
defaultMinEffectOfInterest: z.number().nullish(),
|
|
1064
1132
|
createdAt: z.string().optional(),
|
|
1065
1133
|
updatedAt: z.string().optional()
|
|
1066
1134
|
});
|
|
@@ -1072,7 +1140,7 @@ var zUpdateMetricWithQuery = z.object({
|
|
|
1072
1140
|
event_name: zMetricEventName.optional(),
|
|
1073
1141
|
query: zMetricQueryDsl,
|
|
1074
1142
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1075
|
-
|
|
1143
|
+
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1076
1144
|
direction: zMetricDirection.optional()
|
|
1077
1145
|
});
|
|
1078
1146
|
var zUpdateMetricWithQueryIr = z.object({
|
|
@@ -1080,14 +1148,14 @@ var zUpdateMetricWithQueryIr = z.object({
|
|
|
1080
1148
|
event_name: zMetricEventName.optional(),
|
|
1081
1149
|
query_ir: zQueryIr,
|
|
1082
1150
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1083
|
-
|
|
1151
|
+
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1084
1152
|
direction: zMetricDirection.optional()
|
|
1085
1153
|
});
|
|
1086
1154
|
var zUpdateMetricFields = z.object({
|
|
1087
1155
|
folder: zFolder.optional(),
|
|
1088
1156
|
event_name: zMetricEventName.optional(),
|
|
1089
1157
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1090
|
-
|
|
1158
|
+
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1091
1159
|
direction: zMetricDirection.optional()
|
|
1092
1160
|
});
|
|
1093
1161
|
var zUpdateMetricRequest = z.union([
|
|
@@ -1280,6 +1348,7 @@ var zOpsErrorContext = z.object({
|
|
|
1280
1348
|
firstSeenAt: z.string(),
|
|
1281
1349
|
lastSeenAt: z.string(),
|
|
1282
1350
|
seenUrls: z.array(z.string()),
|
|
1351
|
+
stackTail: z.string().nullish(),
|
|
1283
1352
|
sdkVersion: z.string().nullish()
|
|
1284
1353
|
});
|
|
1285
1354
|
var zOpsAlertRuleSummary = z.object({
|
|
@@ -1342,6 +1411,7 @@ var zMeasurePlanStep = z.object({
|
|
|
1342
1411
|
properties: z.array(z.string()).optional()
|
|
1343
1412
|
});
|
|
1344
1413
|
var zOpsMeasurePlanContext = z.object({
|
|
1414
|
+
goal: z.string().nullish(),
|
|
1345
1415
|
created: z.array(zMeasurePlanResource),
|
|
1346
1416
|
pending: z.array(zMeasurePlanResource).optional(),
|
|
1347
1417
|
instrumentation: z.array(zMeasurePlanStep)
|
|
@@ -1465,11 +1535,32 @@ var zLinkPrToOpsItemRequest = z.object({
|
|
|
1465
1535
|
var zLinkPrToOpsItemResponse = z.object({
|
|
1466
1536
|
id: z.string()
|
|
1467
1537
|
});
|
|
1538
|
+
var zOpsCommentAuthorType = z.enum(["user", "system"]);
|
|
1539
|
+
var zOpsComment = z.object({
|
|
1540
|
+
id: z.string(),
|
|
1541
|
+
feedbackId: z.string(),
|
|
1542
|
+
parentId: z.string().nullable(),
|
|
1543
|
+
authorType: zOpsCommentAuthorType,
|
|
1544
|
+
authorEmail: z.string().nullable(),
|
|
1545
|
+
body: z.string(),
|
|
1546
|
+
createdAt: z.string(),
|
|
1547
|
+
updatedAt: z.string()
|
|
1548
|
+
});
|
|
1549
|
+
var zListOpsCommentsResponse = z.object({
|
|
1550
|
+
comments: z.array(zOpsComment)
|
|
1551
|
+
});
|
|
1552
|
+
var zCreateOpsCommentRequest = z.object({
|
|
1553
|
+
body: z.string().min(1).max(1e4),
|
|
1554
|
+
parentId: z.string().nullish()
|
|
1555
|
+
});
|
|
1556
|
+
var zCreateOpsCommentResponse = z.object({
|
|
1557
|
+
id: z.string()
|
|
1558
|
+
});
|
|
1468
1559
|
var zNotifyOpsRequest = z.object({
|
|
1469
1560
|
title: z.string().min(1).max(200),
|
|
1470
1561
|
summary: z.string().min(1).max(280),
|
|
1471
1562
|
steps: z.array(z.string()).optional(),
|
|
1472
|
-
href: z.string().
|
|
1563
|
+
href: z.string().nullish(),
|
|
1473
1564
|
dedupeKey: z.string().optional()
|
|
1474
1565
|
});
|
|
1475
1566
|
var zNotifyOpsResponse = z.object({
|
|
@@ -1558,7 +1649,12 @@ var zGetCurrentProjectResponse = z.object({
|
|
|
1558
1649
|
name: z.string(),
|
|
1559
1650
|
domain: z.string().nullable(),
|
|
1560
1651
|
ownerEmail: z.string(),
|
|
1561
|
-
plan: z.enum([
|
|
1652
|
+
plan: z.enum([
|
|
1653
|
+
"free",
|
|
1654
|
+
"pro",
|
|
1655
|
+
"business",
|
|
1656
|
+
"enterprise"
|
|
1657
|
+
]),
|
|
1562
1658
|
status: z.enum(["active", "inactive"]),
|
|
1563
1659
|
subscriptionStatus: z.string(),
|
|
1564
1660
|
billingInterval: z.enum(["monthly", "annual"]),
|
|
@@ -1585,6 +1681,20 @@ var zGetCurrentProjectResponse = z.object({
|
|
|
1585
1681
|
z.boolean(),
|
|
1586
1682
|
z.number()
|
|
1587
1683
|
]),
|
|
1684
|
+
minSampleSize: z.int().optional(),
|
|
1685
|
+
minRuntimeDays: z.int().optional(),
|
|
1686
|
+
defaultPower: z.number().optional(),
|
|
1687
|
+
ciConfidence: z.number().optional(),
|
|
1688
|
+
defaultAllocationPct: z.int().optional(),
|
|
1689
|
+
defaultHoldout: z.int().optional(),
|
|
1690
|
+
defaultWinsorizePct: z.int().optional(),
|
|
1691
|
+
defaultMei: z.number().nullish(),
|
|
1692
|
+
cupedBaselineDays: z.int().optional(),
|
|
1693
|
+
cupedMinOverlap: z.number().optional(),
|
|
1694
|
+
cupedMinBaselineUsers: z.int().optional(),
|
|
1695
|
+
msprtTauMeiFactor: z.number().optional(),
|
|
1696
|
+
msprtTauSdFactor: z.number().optional(),
|
|
1697
|
+
srmThreshold: z.number().optional(),
|
|
1588
1698
|
createdAt: z.string(),
|
|
1589
1699
|
updatedAt: z.string()
|
|
1590
1700
|
});
|
|
@@ -1628,7 +1738,21 @@ var zUpdateProjectRequest = z.object({
|
|
|
1628
1738
|
moduleExperiments: z.boolean().optional(),
|
|
1629
1739
|
moduleFeedback: z.boolean().optional(),
|
|
1630
1740
|
moduleUser: z.boolean().optional(),
|
|
1631
|
-
moduleEvents: z.boolean().optional()
|
|
1741
|
+
moduleEvents: z.boolean().optional(),
|
|
1742
|
+
minSampleSize: z.int().gte(2).lte(1e6).optional(),
|
|
1743
|
+
minRuntimeDays: z.int().gte(0).lte(365).optional(),
|
|
1744
|
+
defaultPower: z.number().gte(0.5).lte(0.99).optional(),
|
|
1745
|
+
ciConfidence: z.number().gte(0.5).lte(0.999).optional(),
|
|
1746
|
+
defaultAllocationPct: z.int().gte(1).lte(1e4).optional(),
|
|
1747
|
+
defaultHoldout: z.int().gte(0).lte(1e4).optional(),
|
|
1748
|
+
defaultWinsorizePct: z.int().gte(1).lte(99).optional(),
|
|
1749
|
+
defaultMei: z.number().gte(0).lte(1).nullish(),
|
|
1750
|
+
cupedBaselineDays: z.int().gte(1).lte(365).optional(),
|
|
1751
|
+
cupedMinOverlap: z.number().gte(0.01).lte(0.99).optional(),
|
|
1752
|
+
cupedMinBaselineUsers: z.int().gte(10).lte(1e5).optional(),
|
|
1753
|
+
msprtTauMeiFactor: z.number().gte(0.1).lte(2).optional(),
|
|
1754
|
+
msprtTauSdFactor: z.number().gte(0.05).lte(1).optional(),
|
|
1755
|
+
srmThreshold: z.number().gte(1e-4).lte(0.05).optional()
|
|
1632
1756
|
});
|
|
1633
1757
|
var zListI18nProfilesResponse = z.array(z.object({
|
|
1634
1758
|
id: z.string(),
|
|
@@ -1766,6 +1890,18 @@ var zSetI18nLabelResponse = z.object({
|
|
|
1766
1890
|
kv_verified: z.boolean(),
|
|
1767
1891
|
warning: z.string().optional()
|
|
1768
1892
|
});
|
|
1893
|
+
var zErrorOccurrence = z.object({
|
|
1894
|
+
id: z.string(),
|
|
1895
|
+
message: z.string(),
|
|
1896
|
+
stack: z.string().nullish(),
|
|
1897
|
+
url: z.string().nullish(),
|
|
1898
|
+
env: z.string().nullish(),
|
|
1899
|
+
side: z.string().nullish(),
|
|
1900
|
+
sdkVersion: z.string().nullish(),
|
|
1901
|
+
extrasJson: z.string().nullish(),
|
|
1902
|
+
sampleRate: z.int().gte(1),
|
|
1903
|
+
seenAt: z.string()
|
|
1904
|
+
});
|
|
1769
1905
|
var zErrorRecord = z.object({
|
|
1770
1906
|
id: z.string(),
|
|
1771
1907
|
projectId: z.string(),
|
|
@@ -1791,6 +1927,7 @@ var zErrorRecord = z.object({
|
|
|
1791
1927
|
lastExtrasJson: z.string().nullish(),
|
|
1792
1928
|
sdkVersion: z.string().nullish(),
|
|
1793
1929
|
count: z.int().gte(1),
|
|
1930
|
+
occurrences: z.array(zErrorOccurrence).optional(),
|
|
1794
1931
|
status: z.enum([
|
|
1795
1932
|
"open",
|
|
1796
1933
|
"resolved",
|
|
@@ -1942,13 +2079,11 @@ var zFireConnectorRequest = z.object({
|
|
|
1942
2079
|
text: z.string().optional()
|
|
1943
2080
|
});
|
|
1944
2081
|
var zFireConnectorResponse = z.object({
|
|
1945
|
-
ok: z.boolean()
|
|
1946
|
-
error: z.string().optional()
|
|
2082
|
+
ok: z.boolean()
|
|
1947
2083
|
});
|
|
1948
2084
|
var zTestConnectorResponse = z.object({
|
|
1949
2085
|
ok: z.boolean(),
|
|
1950
|
-
issueUrl: z.string().nullable()
|
|
1951
|
-
error: z.string().optional()
|
|
2086
|
+
issueUrl: z.string().nullable()
|
|
1952
2087
|
});
|
|
1953
2088
|
var zUpdateClaudeTriggerRequest = z.object({
|
|
1954
2089
|
provider: z.enum(["claude_trigger"]),
|
|
@@ -2026,7 +2161,8 @@ var zCreateKeyRequest = z.object({
|
|
|
2026
2161
|
"gates:evaluate",
|
|
2027
2162
|
"events:write",
|
|
2028
2163
|
"configs:write",
|
|
2029
|
-
"experiments:write"
|
|
2164
|
+
"experiments:write",
|
|
2165
|
+
"tickets:public_create"
|
|
2030
2166
|
])).optional(),
|
|
2031
2167
|
expiresInDays: z.int().gte(1).lte(3650).nullish(),
|
|
2032
2168
|
env: z.enum([
|
|
@@ -2075,12 +2211,14 @@ var zSearchResponse = z.object({
|
|
|
2075
2211
|
var zProjectId = z.string();
|
|
2076
2212
|
var zPaginationLimit = z.coerce.number().int().gte(1).lte(500).default(100);
|
|
2077
2213
|
var zPaginationCursor = z.string();
|
|
2214
|
+
var zQ = z.string().max(100);
|
|
2078
2215
|
var zListGatesHeaders = z.object({
|
|
2079
2216
|
"X-Project-Id": z.string().optional()
|
|
2080
2217
|
});
|
|
2081
2218
|
var zListGatesQuery = z.object({
|
|
2082
|
-
limit: z.int().gte(1).lte(500).optional().default(100),
|
|
2083
|
-
cursor: z.string().optional()
|
|
2219
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
|
|
2220
|
+
cursor: z.string().optional(),
|
|
2221
|
+
q: z.string().max(100).optional()
|
|
2084
2222
|
});
|
|
2085
2223
|
var zListGatesResponse2 = zListGatesResponse;
|
|
2086
2224
|
var zCreateGateBody = zCreateGateRequest;
|
|
@@ -2092,7 +2230,7 @@ var zDeleteGateHeaders = z.object({
|
|
|
2092
2230
|
"X-Project-Id": z.string().optional()
|
|
2093
2231
|
});
|
|
2094
2232
|
var zDeleteGatePath = z.object({
|
|
2095
|
-
id:
|
|
2233
|
+
id: zResourceId
|
|
2096
2234
|
});
|
|
2097
2235
|
var zDeleteGateResponse2 = zDeleteGateResponse;
|
|
2098
2236
|
var zUpdateGateBody = zUpdateGateRequest;
|
|
@@ -2100,29 +2238,31 @@ var zUpdateGateHeaders = z.object({
|
|
|
2100
2238
|
"X-Project-Id": z.string().optional()
|
|
2101
2239
|
});
|
|
2102
2240
|
var zUpdateGatePath = z.object({
|
|
2103
|
-
id:
|
|
2241
|
+
id: zResourceId
|
|
2104
2242
|
});
|
|
2105
2243
|
var zUpdateGateResponse2 = zUpdateGateResponse;
|
|
2106
2244
|
var zEnableGateHeaders = z.object({
|
|
2107
2245
|
"X-Project-Id": z.string().optional()
|
|
2108
2246
|
});
|
|
2109
2247
|
var zEnableGatePath = z.object({
|
|
2110
|
-
id:
|
|
2248
|
+
id: zResourceId
|
|
2111
2249
|
});
|
|
2112
2250
|
var zEnableGateResponse2 = zEnableGateResponse;
|
|
2113
2251
|
var zDisableGateHeaders = z.object({
|
|
2114
2252
|
"X-Project-Id": z.string().optional()
|
|
2115
2253
|
});
|
|
2116
2254
|
var zDisableGatePath = z.object({
|
|
2117
|
-
id:
|
|
2255
|
+
id: zResourceId
|
|
2118
2256
|
});
|
|
2119
2257
|
var zDisableGateResponse2 = zDisableGateResponse;
|
|
2120
2258
|
var zListExperimentsHeaders = z.object({
|
|
2121
2259
|
"X-Project-Id": z.string().optional()
|
|
2122
2260
|
});
|
|
2123
2261
|
var zListExperimentsQuery = z.object({
|
|
2124
|
-
limit: z.int().gte(1).lte(500).optional().default(100),
|
|
2125
|
-
cursor: z.string().optional()
|
|
2262
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
|
|
2263
|
+
cursor: z.string().optional(),
|
|
2264
|
+
status: z.string().optional(),
|
|
2265
|
+
q: z.string().max(100).optional()
|
|
2126
2266
|
});
|
|
2127
2267
|
var zListExperimentsResponse2 = zListExperimentsResponse;
|
|
2128
2268
|
var zCreateExperimentBody = zCreateExperimentRequest;
|
|
@@ -2134,22 +2274,22 @@ var zDeleteExperimentHeaders = z.object({
|
|
|
2134
2274
|
"X-Project-Id": z.string().optional()
|
|
2135
2275
|
});
|
|
2136
2276
|
var zDeleteExperimentPath = z.object({
|
|
2137
|
-
id:
|
|
2277
|
+
id: zResourceId
|
|
2138
2278
|
});
|
|
2139
2279
|
var zDeleteExperimentResponse2 = zDeleteExperimentResponse;
|
|
2140
2280
|
var zGetExperimentHeaders = z.object({
|
|
2141
2281
|
"X-Project-Id": z.string().optional()
|
|
2142
2282
|
});
|
|
2143
2283
|
var zGetExperimentPath = z.object({
|
|
2144
|
-
id:
|
|
2284
|
+
id: zResourceId
|
|
2145
2285
|
});
|
|
2146
|
-
var
|
|
2286
|
+
var zGetExperimentResponse = zExperimentApiRow;
|
|
2147
2287
|
var zUpdateExperimentBody = zUpdateExperimentRequest;
|
|
2148
2288
|
var zUpdateExperimentHeaders = z.object({
|
|
2149
2289
|
"X-Project-Id": z.string().optional()
|
|
2150
2290
|
});
|
|
2151
2291
|
var zUpdateExperimentPath = z.object({
|
|
2152
|
-
id:
|
|
2292
|
+
id: zResourceId
|
|
2153
2293
|
});
|
|
2154
2294
|
var zUpdateExperimentResponse2 = zUpdateExperimentResponse;
|
|
2155
2295
|
var zSetExperimentStatusBody = zSetExperimentStatusRequest;
|
|
@@ -2157,7 +2297,7 @@ var zSetExperimentStatusHeaders = z.object({
|
|
|
2157
2297
|
"X-Project-Id": z.string().optional()
|
|
2158
2298
|
});
|
|
2159
2299
|
var zSetExperimentStatusPath = z.object({
|
|
2160
|
-
id:
|
|
2300
|
+
id: zResourceId
|
|
2161
2301
|
});
|
|
2162
2302
|
var zSetExperimentStatusResponse2 = zSetExperimentStatusResponse;
|
|
2163
2303
|
var zSetExperimentMetricsBody = zSetExperimentMetricsRequest;
|
|
@@ -2165,21 +2305,21 @@ var zSetExperimentMetricsHeaders = z.object({
|
|
|
2165
2305
|
"X-Project-Id": z.string().optional()
|
|
2166
2306
|
});
|
|
2167
2307
|
var zSetExperimentMetricsPath = z.object({
|
|
2168
|
-
id:
|
|
2308
|
+
id: zResourceId
|
|
2169
2309
|
});
|
|
2170
2310
|
var zSetExperimentMetricsResponse2 = zSetExperimentMetricsResponse;
|
|
2171
2311
|
var zGetExperimentResultsHeaders = z.object({
|
|
2172
2312
|
"X-Project-Id": z.string().optional()
|
|
2173
2313
|
});
|
|
2174
2314
|
var zGetExperimentResultsPath = z.object({
|
|
2175
|
-
id:
|
|
2315
|
+
id: zResourceId
|
|
2176
2316
|
});
|
|
2177
2317
|
var zGetExperimentResultsResponse2 = zGetExperimentResultsResponse;
|
|
2178
2318
|
var zGetExperimentTimeseriesHeaders = z.object({
|
|
2179
2319
|
"X-Project-Id": z.string().optional()
|
|
2180
2320
|
});
|
|
2181
2321
|
var zGetExperimentTimeseriesPath = z.object({
|
|
2182
|
-
id:
|
|
2322
|
+
id: zResourceId
|
|
2183
2323
|
});
|
|
2184
2324
|
var zGetExperimentTimeseriesQuery = z.object({
|
|
2185
2325
|
metric: z.string().optional()
|
|
@@ -2189,15 +2329,16 @@ var zReanalyzeExperimentHeaders = z.object({
|
|
|
2189
2329
|
"X-Project-Id": z.string().optional()
|
|
2190
2330
|
});
|
|
2191
2331
|
var zReanalyzeExperimentPath = z.object({
|
|
2192
|
-
id:
|
|
2332
|
+
id: zResourceId
|
|
2193
2333
|
});
|
|
2194
2334
|
var zReanalyzeExperimentResponse2 = zReanalyzeExperimentResponse;
|
|
2195
2335
|
var zListConfigsHeaders = z.object({
|
|
2196
2336
|
"X-Project-Id": z.string().optional()
|
|
2197
2337
|
});
|
|
2198
2338
|
var zListConfigsQuery = z.object({
|
|
2199
|
-
limit: z.int().gte(1).lte(500).optional().default(100),
|
|
2200
|
-
cursor: z.string().optional()
|
|
2339
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
|
|
2340
|
+
cursor: z.string().optional(),
|
|
2341
|
+
q: z.string().max(100).optional()
|
|
2201
2342
|
});
|
|
2202
2343
|
var zListConfigsResponse2 = zListConfigsResponse;
|
|
2203
2344
|
var zCreateConfigBody = zCreateConfigRequest;
|
|
@@ -2209,14 +2350,14 @@ var zDeleteConfigHeaders = z.object({
|
|
|
2209
2350
|
"X-Project-Id": z.string().optional()
|
|
2210
2351
|
});
|
|
2211
2352
|
var zDeleteConfigPath = z.object({
|
|
2212
|
-
id:
|
|
2353
|
+
id: zResourceId
|
|
2213
2354
|
});
|
|
2214
2355
|
var zDeleteConfigResponse2 = zDeleteConfigResponse;
|
|
2215
2356
|
var zGetConfigHeaders = z.object({
|
|
2216
2357
|
"X-Project-Id": z.string().optional()
|
|
2217
2358
|
});
|
|
2218
2359
|
var zGetConfigPath = z.object({
|
|
2219
|
-
id:
|
|
2360
|
+
id: zResourceId
|
|
2220
2361
|
});
|
|
2221
2362
|
var zGetConfigResponse2 = zGetConfigResponse;
|
|
2222
2363
|
var zUpdateConfigBody = zUpdateConfigRequest;
|
|
@@ -2224,7 +2365,7 @@ var zUpdateConfigHeaders = z.object({
|
|
|
2224
2365
|
"X-Project-Id": z.string().optional()
|
|
2225
2366
|
});
|
|
2226
2367
|
var zUpdateConfigPath = z.object({
|
|
2227
|
-
id:
|
|
2368
|
+
id: zResourceId
|
|
2228
2369
|
});
|
|
2229
2370
|
var zUpdateConfigResponse2 = zUpdateConfigResponse;
|
|
2230
2371
|
var zDiscardConfigDraftBody = zDiscardConfigDraftRequest;
|
|
@@ -2232,7 +2373,7 @@ var zDiscardConfigDraftHeaders = z.object({
|
|
|
2232
2373
|
"X-Project-Id": z.string().optional()
|
|
2233
2374
|
});
|
|
2234
2375
|
var zDiscardConfigDraftPath = z.object({
|
|
2235
|
-
id:
|
|
2376
|
+
id: zResourceId
|
|
2236
2377
|
});
|
|
2237
2378
|
var zDiscardConfigDraftResponse2 = zDiscardConfigDraftResponse;
|
|
2238
2379
|
var zSaveConfigDraftBody = zSaveConfigDraftRequest;
|
|
@@ -2240,7 +2381,7 @@ var zSaveConfigDraftHeaders = z.object({
|
|
|
2240
2381
|
"X-Project-Id": z.string().optional()
|
|
2241
2382
|
});
|
|
2242
2383
|
var zSaveConfigDraftPath = z.object({
|
|
2243
|
-
id:
|
|
2384
|
+
id: zResourceId
|
|
2244
2385
|
});
|
|
2245
2386
|
var zSaveConfigDraftResponse2 = zSaveConfigDraftResponse;
|
|
2246
2387
|
var zPublishConfigDraftBody = zPublishConfigDraftRequest;
|
|
@@ -2248,17 +2389,17 @@ var zPublishConfigDraftHeaders = z.object({
|
|
|
2248
2389
|
"X-Project-Id": z.string().optional()
|
|
2249
2390
|
});
|
|
2250
2391
|
var zPublishConfigDraftPath = z.object({
|
|
2251
|
-
id:
|
|
2392
|
+
id: zResourceId
|
|
2252
2393
|
});
|
|
2253
2394
|
var zPublishConfigDraftResponse2 = zPublishConfigDraftResponse;
|
|
2254
2395
|
var zListConfigActivityHeaders = z.object({
|
|
2255
2396
|
"X-Project-Id": z.string().optional()
|
|
2256
2397
|
});
|
|
2257
2398
|
var zListConfigActivityPath = z.object({
|
|
2258
|
-
id:
|
|
2399
|
+
id: zResourceId
|
|
2259
2400
|
});
|
|
2260
2401
|
var zListConfigActivityQuery = z.object({
|
|
2261
|
-
limit: z.int().gte(1).lte(100).optional().default(20)
|
|
2402
|
+
limit: z.coerce.number().int().gte(1).lte(100).optional().default(20)
|
|
2262
2403
|
});
|
|
2263
2404
|
var zListConfigActivityResponse2 = zListConfigActivityResponse;
|
|
2264
2405
|
var zUpdateConfigSchemaBody = zUpdateConfigSchemaRequest;
|
|
@@ -2266,15 +2407,16 @@ var zUpdateConfigSchemaHeaders = z.object({
|
|
|
2266
2407
|
"X-Project-Id": z.string().optional()
|
|
2267
2408
|
});
|
|
2268
2409
|
var zUpdateConfigSchemaPath = z.object({
|
|
2269
|
-
id:
|
|
2410
|
+
id: zResourceId
|
|
2270
2411
|
});
|
|
2271
2412
|
var zUpdateConfigSchemaResponse2 = zUpdateConfigSchemaResponse;
|
|
2272
2413
|
var zListKillswitchesHeaders = z.object({
|
|
2273
2414
|
"X-Project-Id": z.string().optional()
|
|
2274
2415
|
});
|
|
2275
2416
|
var zListKillswitchesQuery = z.object({
|
|
2276
|
-
limit: z.int().gte(1).lte(500).optional().default(100),
|
|
2277
|
-
cursor: z.string().optional()
|
|
2417
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
|
|
2418
|
+
cursor: z.string().optional(),
|
|
2419
|
+
q: z.string().max(100).optional()
|
|
2278
2420
|
});
|
|
2279
2421
|
var zListKillswitchesResponse2 = zListKillswitchesResponse;
|
|
2280
2422
|
var zCreateKillswitchBody = zCreateKillswitchRequest;
|
|
@@ -2286,14 +2428,14 @@ var zDeleteKillswitchHeaders = z.object({
|
|
|
2286
2428
|
"X-Project-Id": z.string().optional()
|
|
2287
2429
|
});
|
|
2288
2430
|
var zDeleteKillswitchPath = z.object({
|
|
2289
|
-
id:
|
|
2431
|
+
id: zResourceId
|
|
2290
2432
|
});
|
|
2291
2433
|
var zDeleteKillswitchResponse2 = zDeleteKillswitchResponse;
|
|
2292
2434
|
var zGetKillswitchHeaders = z.object({
|
|
2293
2435
|
"X-Project-Id": z.string().optional()
|
|
2294
2436
|
});
|
|
2295
2437
|
var zGetKillswitchPath = z.object({
|
|
2296
|
-
id:
|
|
2438
|
+
id: zResourceId
|
|
2297
2439
|
});
|
|
2298
2440
|
var zGetKillswitchResponse2 = zGetKillswitchResponse;
|
|
2299
2441
|
var zUpdateKillswitchBody = zUpdateKillswitchRequest;
|
|
@@ -2301,7 +2443,7 @@ var zUpdateKillswitchHeaders = z.object({
|
|
|
2301
2443
|
"X-Project-Id": z.string().optional()
|
|
2302
2444
|
});
|
|
2303
2445
|
var zUpdateKillswitchPath = z.object({
|
|
2304
|
-
id:
|
|
2446
|
+
id: zResourceId
|
|
2305
2447
|
});
|
|
2306
2448
|
var zUpdateKillswitchResponse2 = zUpdateKillswitchResponse;
|
|
2307
2449
|
var zUnsetKillswitchSwitchBody = zUnsetKillswitchSwitchRequest;
|
|
@@ -2309,7 +2451,7 @@ var zUnsetKillswitchSwitchHeaders = z.object({
|
|
|
2309
2451
|
"X-Project-Id": z.string().optional()
|
|
2310
2452
|
});
|
|
2311
2453
|
var zUnsetKillswitchSwitchPath = z.object({
|
|
2312
|
-
id:
|
|
2454
|
+
id: zResourceId
|
|
2313
2455
|
});
|
|
2314
2456
|
var zUnsetKillswitchSwitchResponse2 = zUnsetKillswitchSwitchResponse;
|
|
2315
2457
|
var zSetKillswitchSwitchBody = zSetKillswitchSwitchRequest;
|
|
@@ -2317,7 +2459,7 @@ var zSetKillswitchSwitchHeaders = z.object({
|
|
|
2317
2459
|
"X-Project-Id": z.string().optional()
|
|
2318
2460
|
});
|
|
2319
2461
|
var zSetKillswitchSwitchPath = z.object({
|
|
2320
|
-
id:
|
|
2462
|
+
id: zResourceId
|
|
2321
2463
|
});
|
|
2322
2464
|
var zSetKillswitchSwitchResponse2 = zSetKillswitchSwitchResponse;
|
|
2323
2465
|
var zSetKillswitchValueBody = zSetKillswitchValueRequest;
|
|
@@ -2325,15 +2467,16 @@ var zSetKillswitchValueHeaders = z.object({
|
|
|
2325
2467
|
"X-Project-Id": z.string().optional()
|
|
2326
2468
|
});
|
|
2327
2469
|
var zSetKillswitchValuePath = z.object({
|
|
2328
|
-
id:
|
|
2470
|
+
id: zResourceId
|
|
2329
2471
|
});
|
|
2330
2472
|
var zSetKillswitchValueResponse2 = zSetKillswitchValueResponse;
|
|
2331
2473
|
var zListUniversesHeaders = z.object({
|
|
2332
2474
|
"X-Project-Id": z.string().optional()
|
|
2333
2475
|
});
|
|
2334
2476
|
var zListUniversesQuery = z.object({
|
|
2335
|
-
limit: z.int().gte(1).lte(500).optional().default(100),
|
|
2336
|
-
cursor: z.string().optional()
|
|
2477
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
|
|
2478
|
+
cursor: z.string().optional(),
|
|
2479
|
+
q: z.string().max(100).optional()
|
|
2337
2480
|
});
|
|
2338
2481
|
var zListUniversesResponse2 = zListUniversesResponse;
|
|
2339
2482
|
var zCreateUniverseBody = zCreateUniverseRequest;
|
|
@@ -2345,7 +2488,7 @@ var zDeleteUniverseHeaders = z.object({
|
|
|
2345
2488
|
"X-Project-Id": z.string().optional()
|
|
2346
2489
|
});
|
|
2347
2490
|
var zDeleteUniversePath = z.object({
|
|
2348
|
-
id:
|
|
2491
|
+
id: zResourceId
|
|
2349
2492
|
});
|
|
2350
2493
|
var zDeleteUniverseResponse2 = zDeleteUniverseResponse;
|
|
2351
2494
|
var zUpdateUniverseBody = zUpdateUniverseRequest;
|
|
@@ -2353,13 +2496,14 @@ var zUpdateUniverseHeaders = z.object({
|
|
|
2353
2496
|
"X-Project-Id": z.string().optional()
|
|
2354
2497
|
});
|
|
2355
2498
|
var zUpdateUniversePath = z.object({
|
|
2356
|
-
id:
|
|
2499
|
+
id: zResourceId
|
|
2357
2500
|
});
|
|
2358
2501
|
var zUpdateUniverseResponse2 = zUpdateUniverseResponse;
|
|
2359
2502
|
var zListGateTemplatesHeaders = z.object({
|
|
2360
2503
|
"X-Project-Id": z.string().optional()
|
|
2361
2504
|
});
|
|
2362
2505
|
var zListGateTemplatesQuery = z.object({
|
|
2506
|
+
q: z.string().max(100).optional(),
|
|
2363
2507
|
query: z.string().optional()
|
|
2364
2508
|
});
|
|
2365
2509
|
var zListGateTemplatesResponse2 = zListGateTemplatesResponse;
|
|
@@ -2372,14 +2516,14 @@ var zDeleteGateTemplateHeaders = z.object({
|
|
|
2372
2516
|
"X-Project-Id": z.string().optional()
|
|
2373
2517
|
});
|
|
2374
2518
|
var zDeleteGateTemplatePath = z.object({
|
|
2375
|
-
id:
|
|
2519
|
+
id: zResourceId
|
|
2376
2520
|
});
|
|
2377
2521
|
var zDeleteGateTemplateResponse2 = zDeleteGateTemplateResponse;
|
|
2378
2522
|
var zGetGateTemplateHeaders = z.object({
|
|
2379
2523
|
"X-Project-Id": z.string().optional()
|
|
2380
2524
|
});
|
|
2381
2525
|
var zGetGateTemplatePath = z.object({
|
|
2382
|
-
id:
|
|
2526
|
+
id: zResourceId
|
|
2383
2527
|
});
|
|
2384
2528
|
var zGetGateTemplateResponse = zGateTemplate;
|
|
2385
2529
|
var zUpdateGateTemplateBody = zUpdateGateTemplateRequest;
|
|
@@ -2387,12 +2531,15 @@ var zUpdateGateTemplateHeaders = z.object({
|
|
|
2387
2531
|
"X-Project-Id": z.string().optional()
|
|
2388
2532
|
});
|
|
2389
2533
|
var zUpdateGateTemplatePath = z.object({
|
|
2390
|
-
id:
|
|
2534
|
+
id: zResourceId
|
|
2391
2535
|
});
|
|
2392
2536
|
var zUpdateGateTemplateResponse2 = zUpdateGateTemplateResponse;
|
|
2393
2537
|
var zListAttributesHeaders = z.object({
|
|
2394
2538
|
"X-Project-Id": z.string().optional()
|
|
2395
2539
|
});
|
|
2540
|
+
var zListAttributesQuery = z.object({
|
|
2541
|
+
q: z.string().max(100).optional()
|
|
2542
|
+
});
|
|
2396
2543
|
var zListAttributesResponse2 = zListAttributesResponse;
|
|
2397
2544
|
var zCreateAttributeBody = zCreateAttributeRequest;
|
|
2398
2545
|
var zCreateAttributeHeaders = z.object({
|
|
@@ -2403,14 +2550,14 @@ var zDeleteAttributeHeaders = z.object({
|
|
|
2403
2550
|
"X-Project-Id": z.string().optional()
|
|
2404
2551
|
});
|
|
2405
2552
|
var zDeleteAttributePath = z.object({
|
|
2406
|
-
id:
|
|
2553
|
+
id: zResourceId
|
|
2407
2554
|
});
|
|
2408
2555
|
var zDeleteAttributeResponse2 = zDeleteAttributeResponse;
|
|
2409
2556
|
var zGetAttributeHeaders = z.object({
|
|
2410
2557
|
"X-Project-Id": z.string().optional()
|
|
2411
2558
|
});
|
|
2412
2559
|
var zGetAttributePath = z.object({
|
|
2413
|
-
id:
|
|
2560
|
+
id: zResourceId
|
|
2414
2561
|
});
|
|
2415
2562
|
var zGetAttributeResponse2 = zGetAttributeResponse;
|
|
2416
2563
|
var zUpdateAttributeBody = zUpdateAttributeRequest;
|
|
@@ -2418,12 +2565,15 @@ var zUpdateAttributeHeaders = z.object({
|
|
|
2418
2565
|
"X-Project-Id": z.string().optional()
|
|
2419
2566
|
});
|
|
2420
2567
|
var zUpdateAttributePath = z.object({
|
|
2421
|
-
id:
|
|
2568
|
+
id: zResourceId
|
|
2422
2569
|
});
|
|
2423
2570
|
var zUpdateAttributeResponse2 = zUpdateAttributeResponse;
|
|
2424
2571
|
var zListMetricsHeaders = z.object({
|
|
2425
2572
|
"X-Project-Id": z.string().optional()
|
|
2426
2573
|
});
|
|
2574
|
+
var zListMetricsQuery = z.object({
|
|
2575
|
+
q: z.string().max(100).optional()
|
|
2576
|
+
});
|
|
2427
2577
|
var zListMetricsResponse2 = zListMetricsResponse;
|
|
2428
2578
|
var zCreateMetricBody = zCreateMetricRequest;
|
|
2429
2579
|
var zCreateMetricHeaders = z.object({
|
|
@@ -2434,14 +2584,14 @@ var zDeleteMetricHeaders = z.object({
|
|
|
2434
2584
|
"X-Project-Id": z.string().optional()
|
|
2435
2585
|
});
|
|
2436
2586
|
var zDeleteMetricPath = z.object({
|
|
2437
|
-
id:
|
|
2587
|
+
id: zResourceId
|
|
2438
2588
|
});
|
|
2439
2589
|
var zDeleteMetricResponse2 = zDeleteMetricResponse;
|
|
2440
2590
|
var zGetMetricHeaders = z.object({
|
|
2441
2591
|
"X-Project-Id": z.string().optional()
|
|
2442
2592
|
});
|
|
2443
2593
|
var zGetMetricPath = z.object({
|
|
2444
|
-
id:
|
|
2594
|
+
id: zResourceId
|
|
2445
2595
|
});
|
|
2446
2596
|
var zGetMetricResponse2 = zGetMetricResponse;
|
|
2447
2597
|
var zUpdateMetricBody = zUpdateMetricRequest;
|
|
@@ -2449,12 +2599,15 @@ var zUpdateMetricHeaders = z.object({
|
|
|
2449
2599
|
"X-Project-Id": z.string().optional()
|
|
2450
2600
|
});
|
|
2451
2601
|
var zUpdateMetricPath = z.object({
|
|
2452
|
-
id:
|
|
2602
|
+
id: zResourceId
|
|
2453
2603
|
});
|
|
2454
2604
|
var zUpdateMetricResponse = zGetMetricResponse;
|
|
2455
2605
|
var zListEventsHeaders = z.object({
|
|
2456
2606
|
"X-Project-Id": z.string().optional()
|
|
2457
2607
|
});
|
|
2608
|
+
var zListEventsQuery = z.object({
|
|
2609
|
+
q: z.string().max(100).optional()
|
|
2610
|
+
});
|
|
2458
2611
|
var zListEventsResponse2 = zListEventsResponse;
|
|
2459
2612
|
var zCreateEventBody = zCreateEventRequest;
|
|
2460
2613
|
var zCreateEventHeaders = z.object({
|
|
@@ -2465,14 +2618,14 @@ var zDeleteEventHeaders = z.object({
|
|
|
2465
2618
|
"X-Project-Id": z.string().optional()
|
|
2466
2619
|
});
|
|
2467
2620
|
var zDeleteEventPath = z.object({
|
|
2468
|
-
id:
|
|
2621
|
+
id: zResourceId
|
|
2469
2622
|
});
|
|
2470
2623
|
var zDeleteEventResponse2 = zDeleteEventResponse;
|
|
2471
2624
|
var zGetEventHeaders = z.object({
|
|
2472
2625
|
"X-Project-Id": z.string().optional()
|
|
2473
2626
|
});
|
|
2474
2627
|
var zGetEventPath = z.object({
|
|
2475
|
-
id:
|
|
2628
|
+
id: zResourceId
|
|
2476
2629
|
});
|
|
2477
2630
|
var zGetEventResponse2 = zGetEventResponse;
|
|
2478
2631
|
var zUpdateEventBody = zUpdateEventRequest;
|
|
@@ -2480,7 +2633,7 @@ var zUpdateEventHeaders = z.object({
|
|
|
2480
2633
|
"X-Project-Id": z.string().optional()
|
|
2481
2634
|
});
|
|
2482
2635
|
var zUpdateEventPath = z.object({
|
|
2483
|
-
id:
|
|
2636
|
+
id: zResourceId
|
|
2484
2637
|
});
|
|
2485
2638
|
var zUpdateEventResponse2 = zUpdateEventResponse;
|
|
2486
2639
|
var zApproveEventBody = zApproveEventRequest;
|
|
@@ -2488,7 +2641,7 @@ var zApproveEventHeaders = z.object({
|
|
|
2488
2641
|
"X-Project-Id": z.string().optional()
|
|
2489
2642
|
});
|
|
2490
2643
|
var zApproveEventPath = z.object({
|
|
2491
|
-
id:
|
|
2644
|
+
id: zResourceId
|
|
2492
2645
|
});
|
|
2493
2646
|
var zApproveEventResponse2 = zApproveEventResponse;
|
|
2494
2647
|
var zListOpsItemsHeaders = z.object({
|
|
@@ -2508,7 +2661,7 @@ var zListOpsItemsQuery = z.object({
|
|
|
2508
2661
|
zOpsItemStatus,
|
|
2509
2662
|
z.literal("all")
|
|
2510
2663
|
]).optional(),
|
|
2511
|
-
limit: z.int().gte(1).lte(500).optional()
|
|
2664
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional()
|
|
2512
2665
|
});
|
|
2513
2666
|
var zListOpsItemsResponse2 = zListOpsItemsResponse;
|
|
2514
2667
|
var zCreateOpsItemBody = zCreateOpsItemRequest;
|
|
@@ -2520,7 +2673,7 @@ var zGetOpsItemHeaders = z.object({
|
|
|
2520
2673
|
"X-Project-Id": z.string().optional()
|
|
2521
2674
|
});
|
|
2522
2675
|
var zGetOpsItemPath = z.object({
|
|
2523
|
-
handle:
|
|
2676
|
+
handle: zResourceId
|
|
2524
2677
|
});
|
|
2525
2678
|
var zGetOpsItemResponse2 = zGetOpsItemResponse;
|
|
2526
2679
|
var zUpdateOpsItemBody = zUpdateOpsItemRequest;
|
|
@@ -2528,7 +2681,7 @@ var zUpdateOpsItemHeaders = z.object({
|
|
|
2528
2681
|
"X-Project-Id": z.string().optional()
|
|
2529
2682
|
});
|
|
2530
2683
|
var zUpdateOpsItemPath = z.object({
|
|
2531
|
-
handle:
|
|
2684
|
+
handle: zResourceId
|
|
2532
2685
|
});
|
|
2533
2686
|
var zUpdateOpsItemResponse2 = zUpdateOpsItemResponse;
|
|
2534
2687
|
var zLinkPrToOpsItemBody = zLinkPrToOpsItemRequest;
|
|
@@ -2536,9 +2689,24 @@ var zLinkPrToOpsItemHeaders = z.object({
|
|
|
2536
2689
|
"X-Project-Id": z.string().optional()
|
|
2537
2690
|
});
|
|
2538
2691
|
var zLinkPrToOpsItemPath = z.object({
|
|
2539
|
-
handle:
|
|
2692
|
+
handle: zResourceId
|
|
2540
2693
|
});
|
|
2541
2694
|
var zLinkPrToOpsItemResponse2 = zLinkPrToOpsItemResponse;
|
|
2695
|
+
var zListOpsCommentsHeaders = z.object({
|
|
2696
|
+
"X-Project-Id": z.string().optional()
|
|
2697
|
+
});
|
|
2698
|
+
var zListOpsCommentsPath = z.object({
|
|
2699
|
+
handle: zResourceId
|
|
2700
|
+
});
|
|
2701
|
+
var zListOpsCommentsResponse2 = zListOpsCommentsResponse;
|
|
2702
|
+
var zCreateOpsCommentBody = zCreateOpsCommentRequest;
|
|
2703
|
+
var zCreateOpsCommentHeaders = z.object({
|
|
2704
|
+
"X-Project-Id": z.string().optional()
|
|
2705
|
+
});
|
|
2706
|
+
var zCreateOpsCommentPath = z.object({
|
|
2707
|
+
handle: zResourceId
|
|
2708
|
+
});
|
|
2709
|
+
var zCreateOpsCommentResponse2 = zCreateOpsCommentResponse;
|
|
2542
2710
|
var zNotifyOpsBody = zNotifyOpsRequest;
|
|
2543
2711
|
var zNotifyOpsHeaders = z.object({
|
|
2544
2712
|
"X-Project-Id": z.string().optional()
|
|
@@ -2551,6 +2719,9 @@ var zListSlackChannelsResponse2 = zListSlackChannelsResponse;
|
|
|
2551
2719
|
var zListAlertRulesHeaders = z.object({
|
|
2552
2720
|
"X-Project-Id": z.string().optional()
|
|
2553
2721
|
});
|
|
2722
|
+
var zListAlertRulesQuery = z.object({
|
|
2723
|
+
q: z.string().max(100).optional()
|
|
2724
|
+
});
|
|
2554
2725
|
var zListAlertRulesResponse2 = zListAlertRulesResponse;
|
|
2555
2726
|
var zCreateAlertRuleBody = zCreateAlertRuleRequest;
|
|
2556
2727
|
var zCreateAlertRuleHeaders = z.object({
|
|
@@ -2561,7 +2732,7 @@ var zDeleteAlertRuleHeaders = z.object({
|
|
|
2561
2732
|
"X-Project-Id": z.string().optional()
|
|
2562
2733
|
});
|
|
2563
2734
|
var zDeleteAlertRulePath = z.object({
|
|
2564
|
-
id:
|
|
2735
|
+
id: zResourceId
|
|
2565
2736
|
});
|
|
2566
2737
|
var zDeleteAlertRuleResponse2 = zDeleteAlertRuleResponse;
|
|
2567
2738
|
var zUpdateAlertRuleBody = zUpdateAlertRuleRequest;
|
|
@@ -2569,7 +2740,7 @@ var zUpdateAlertRuleHeaders = z.object({
|
|
|
2569
2740
|
"X-Project-Id": z.string().optional()
|
|
2570
2741
|
});
|
|
2571
2742
|
var zUpdateAlertRulePath = z.object({
|
|
2572
|
-
id:
|
|
2743
|
+
id: zResourceId
|
|
2573
2744
|
});
|
|
2574
2745
|
var zUpdateAlertRuleResponse2 = zUpdateAlertRuleResponse;
|
|
2575
2746
|
var zGetCurrentProjectHeaders = z.object({
|
|
@@ -2586,7 +2757,7 @@ var zUpdateProjectHeaders = z.object({
|
|
|
2586
2757
|
"X-Project-Id": z.string().optional()
|
|
2587
2758
|
});
|
|
2588
2759
|
var zUpdateProjectPath = z.object({
|
|
2589
|
-
id:
|
|
2760
|
+
id: zResourceId
|
|
2590
2761
|
});
|
|
2591
2762
|
var zUpdateProjectResponse = zGetCurrentProjectResponse;
|
|
2592
2763
|
var zListI18nProfilesHeaders = z.object({
|
|
@@ -2604,8 +2775,9 @@ var zListI18nKeysHeaders = z.object({
|
|
|
2604
2775
|
var zListI18nKeysQuery = z.object({
|
|
2605
2776
|
profile_id: z.string().optional(),
|
|
2606
2777
|
prefix: z.string().optional(),
|
|
2607
|
-
q: z.string().optional(),
|
|
2608
|
-
limit: z.int().gte(1).lte(500).optional()
|
|
2778
|
+
q: z.string().max(100).optional(),
|
|
2779
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional(),
|
|
2780
|
+
offset: z.coerce.number().int().gte(0).optional().default(0)
|
|
2609
2781
|
});
|
|
2610
2782
|
var zListI18nKeysResponse2 = zListI18nKeysResponse;
|
|
2611
2783
|
var zPushI18nKeysBody = zPushI18nKeysRequest;
|
|
@@ -2618,7 +2790,7 @@ var zUpdateI18nKeyHeaders = z.object({
|
|
|
2618
2790
|
"X-Project-Id": z.string().optional()
|
|
2619
2791
|
});
|
|
2620
2792
|
var zUpdateI18nKeyPath = z.object({
|
|
2621
|
-
id:
|
|
2793
|
+
id: zResourceId
|
|
2622
2794
|
});
|
|
2623
2795
|
var zUpdateI18nKeyResponse2 = zUpdateI18nKeyResponse;
|
|
2624
2796
|
var zListI18nDraftsHeaders = z.object({
|
|
@@ -2635,7 +2807,7 @@ var zUpdateI18nDraftHeaders = z.object({
|
|
|
2635
2807
|
"X-Project-Id": z.string().optional()
|
|
2636
2808
|
});
|
|
2637
2809
|
var zUpdateI18nDraftPath = z.object({
|
|
2638
|
-
draftId:
|
|
2810
|
+
draftId: zResourceId
|
|
2639
2811
|
});
|
|
2640
2812
|
var zUpdateI18nDraftResponse = zI18nDraft;
|
|
2641
2813
|
var zPublishI18nProfileBody = zPublishI18nProfileRequest;
|
|
@@ -2643,7 +2815,7 @@ var zPublishI18nProfileHeaders = z.object({
|
|
|
2643
2815
|
"X-Project-Id": z.string().optional()
|
|
2644
2816
|
});
|
|
2645
2817
|
var zPublishI18nProfilePath = z.object({
|
|
2646
|
-
profileId:
|
|
2818
|
+
profileId: zResourceId
|
|
2647
2819
|
});
|
|
2648
2820
|
var zPublishI18nProfileResponse2 = zPublishI18nProfileResponse;
|
|
2649
2821
|
var zSetI18nLabelBody = zSetI18nLabelRequest;
|
|
@@ -2662,14 +2834,14 @@ var zListErrorsQuery = z.object({
|
|
|
2662
2834
|
"all"
|
|
2663
2835
|
]).optional().default("all"),
|
|
2664
2836
|
q: z.string().max(200).optional(),
|
|
2665
|
-
limit: z.int().gte(1).lte(500).optional().default(200)
|
|
2837
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional().default(200)
|
|
2666
2838
|
});
|
|
2667
2839
|
var zListErrorsResponse2 = zListErrorsResponse;
|
|
2668
2840
|
var zGetErrorHeaders = z.object({
|
|
2669
2841
|
"X-Project-Id": z.string().optional()
|
|
2670
2842
|
});
|
|
2671
2843
|
var zGetErrorPath = z.object({
|
|
2672
|
-
id:
|
|
2844
|
+
id: zResourceId
|
|
2673
2845
|
});
|
|
2674
2846
|
var zGetErrorResponse = zErrorRecord;
|
|
2675
2847
|
var zUpdateErrorStatusBody = zUpdateErrorStatusRequest;
|
|
@@ -2677,27 +2849,37 @@ var zUpdateErrorStatusHeaders = z.object({
|
|
|
2677
2849
|
"X-Project-Id": z.string().optional()
|
|
2678
2850
|
});
|
|
2679
2851
|
var zUpdateErrorStatusPath = z.object({
|
|
2680
|
-
id:
|
|
2852
|
+
id: zResourceId
|
|
2681
2853
|
});
|
|
2682
2854
|
var zUpdateErrorStatusResponse = zErrorRecord;
|
|
2683
2855
|
var zFileErrorTicketHeaders = z.object({
|
|
2684
2856
|
"X-Project-Id": z.string().optional()
|
|
2685
2857
|
});
|
|
2686
2858
|
var zFileErrorTicketPath = z.object({
|
|
2687
|
-
id:
|
|
2859
|
+
id: zResourceId
|
|
2688
2860
|
});
|
|
2689
2861
|
var zFileErrorTicketResponse2 = zFileErrorTicketResponse;
|
|
2862
|
+
var zResolveErrorHeaders = z.object({
|
|
2863
|
+
"X-Project-Id": z.string().optional()
|
|
2864
|
+
});
|
|
2865
|
+
var zResolveErrorPath = z.object({
|
|
2866
|
+
id: zResourceId
|
|
2867
|
+
});
|
|
2868
|
+
var zResolveErrorResponse = zErrorRecord;
|
|
2690
2869
|
var zGetErrorSeriesBody = zErrorSeriesRequest;
|
|
2691
2870
|
var zGetErrorSeriesHeaders = z.object({
|
|
2692
2871
|
"X-Project-Id": z.string().optional()
|
|
2693
2872
|
});
|
|
2694
2873
|
var zGetErrorSeriesPath = z.object({
|
|
2695
|
-
id:
|
|
2874
|
+
id: zResourceId
|
|
2696
2875
|
});
|
|
2697
2876
|
var zGetErrorSeriesResponse = zErrorSeriesResponse;
|
|
2698
2877
|
var zListConnectorsHeaders = z.object({
|
|
2699
2878
|
"X-Project-Id": z.string().optional()
|
|
2700
2879
|
});
|
|
2880
|
+
var zListConnectorsQuery = z.object({
|
|
2881
|
+
q: z.string().max(100).optional()
|
|
2882
|
+
});
|
|
2701
2883
|
var zListConnectorsResponse2 = zListConnectorsResponse;
|
|
2702
2884
|
var zCreateConnectorBody = zCreateConnectorRequest;
|
|
2703
2885
|
var zCreateConnectorHeaders = z.object({
|
|
@@ -2708,14 +2890,14 @@ var zDeleteConnectorHeaders = z.object({
|
|
|
2708
2890
|
"X-Project-Id": z.string().optional()
|
|
2709
2891
|
});
|
|
2710
2892
|
var zDeleteConnectorPath = z.object({
|
|
2711
|
-
id:
|
|
2893
|
+
id: zResourceId
|
|
2712
2894
|
});
|
|
2713
2895
|
var zDeleteConnectorResponse2 = zDeleteConnectorResponse;
|
|
2714
2896
|
var zGetConnectorHeaders = z.object({
|
|
2715
2897
|
"X-Project-Id": z.string().optional()
|
|
2716
2898
|
});
|
|
2717
2899
|
var zGetConnectorPath = z.object({
|
|
2718
|
-
id:
|
|
2900
|
+
id: zResourceId
|
|
2719
2901
|
});
|
|
2720
2902
|
var zGetConnectorResponse = zConnectorRecord;
|
|
2721
2903
|
var zUpdateConnectorBody = zUpdateConnectorRequest;
|
|
@@ -2723,7 +2905,7 @@ var zUpdateConnectorHeaders = z.object({
|
|
|
2723
2905
|
"X-Project-Id": z.string().optional()
|
|
2724
2906
|
});
|
|
2725
2907
|
var zUpdateConnectorPath = z.object({
|
|
2726
|
-
id:
|
|
2908
|
+
id: zResourceId
|
|
2727
2909
|
});
|
|
2728
2910
|
var zUpdateConnectorResponse2 = zUpdateConnectorResponse;
|
|
2729
2911
|
var zFireConnectorBody = zFireConnectorRequest;
|
|
@@ -2731,14 +2913,14 @@ var zFireConnectorHeaders = z.object({
|
|
|
2731
2913
|
"X-Project-Id": z.string().optional()
|
|
2732
2914
|
});
|
|
2733
2915
|
var zFireConnectorPath = z.object({
|
|
2734
|
-
id:
|
|
2916
|
+
id: zResourceId
|
|
2735
2917
|
});
|
|
2736
2918
|
var zFireConnectorResponse2 = zFireConnectorResponse;
|
|
2737
2919
|
var zTestConnectorHeaders = z.object({
|
|
2738
2920
|
"X-Project-Id": z.string().optional()
|
|
2739
2921
|
});
|
|
2740
2922
|
var zTestConnectorPath = z.object({
|
|
2741
|
-
id:
|
|
2923
|
+
id: zResourceId
|
|
2742
2924
|
});
|
|
2743
2925
|
var zTestConnectorResponse2 = zTestConnectorResponse;
|
|
2744
2926
|
var zUpdateTriggerConnectorBody = zUpdateTriggerConnectorRequest;
|
|
@@ -2746,7 +2928,7 @@ var zUpdateTriggerConnectorHeaders = z.object({
|
|
|
2746
2928
|
"X-Project-Id": z.string().optional()
|
|
2747
2929
|
});
|
|
2748
2930
|
var zUpdateTriggerConnectorPath = z.object({
|
|
2749
|
-
id:
|
|
2931
|
+
id: zResourceId
|
|
2750
2932
|
});
|
|
2751
2933
|
var zUpdateTriggerConnectorResponse = zUpdateConnectorResponse;
|
|
2752
2934
|
var zCreateTriggerConnectorBody = zCreateTriggerConnectorRequest;
|
|
@@ -2758,8 +2940,9 @@ var zListKeysHeaders = z.object({
|
|
|
2758
2940
|
"X-Project-Id": z.string().optional()
|
|
2759
2941
|
});
|
|
2760
2942
|
var zListKeysQuery = z.object({
|
|
2761
|
-
limit: z.int().gte(1).lte(500).optional().default(100),
|
|
2762
|
-
cursor: z.string().optional()
|
|
2943
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional().default(100),
|
|
2944
|
+
cursor: z.string().optional(),
|
|
2945
|
+
q: z.string().max(100).optional()
|
|
2763
2946
|
});
|
|
2764
2947
|
var zListKeysResponse2 = zListKeysResponse;
|
|
2765
2948
|
var zCreateKeyBody = zCreateKeyRequest;
|
|
@@ -2771,7 +2954,7 @@ var zRevokeKeyHeaders = z.object({
|
|
|
2771
2954
|
"X-Project-Id": z.string().optional()
|
|
2772
2955
|
});
|
|
2773
2956
|
var zRevokeKeyPath = z.object({
|
|
2774
|
-
id:
|
|
2957
|
+
id: zResourceId
|
|
2775
2958
|
});
|
|
2776
2959
|
var zRevokeKeyResponse2 = zRevokeKeyResponse;
|
|
2777
2960
|
var zSearchResourcesHeaders = z.object({
|
|
@@ -2789,17 +2972,18 @@ export {
|
|
|
2789
2972
|
zFolder,
|
|
2790
2973
|
zCreateGateRequest,
|
|
2791
2974
|
zCreateGateResponse,
|
|
2975
|
+
zResourceId,
|
|
2792
2976
|
zDeleteGateResponse,
|
|
2793
2977
|
zUpdateGateRequest,
|
|
2794
2978
|
zUpdateGateResponse,
|
|
2795
2979
|
zEnableGateResponse,
|
|
2796
2980
|
zDisableGateResponse,
|
|
2981
|
+
zExperimentApiRow,
|
|
2797
2982
|
zListExperimentsResponse,
|
|
2798
2983
|
zMetricName,
|
|
2799
2984
|
zExperimentInlineMetric,
|
|
2800
2985
|
zCreateExperimentRequest,
|
|
2801
2986
|
zCreateExperimentResponse,
|
|
2802
|
-
zGetExperimentResponse,
|
|
2803
2987
|
zDeleteExperimentResponse,
|
|
2804
2988
|
zUpdateExperimentRequest,
|
|
2805
2989
|
zUpdateExperimentResponse,
|
|
@@ -2842,15 +3026,18 @@ export {
|
|
|
2842
3026
|
zSetKillswitchValueRequest,
|
|
2843
3027
|
zKillswitchValue,
|
|
2844
3028
|
zSetKillswitchValueResponse,
|
|
3029
|
+
zUniverseParam,
|
|
3030
|
+
zUniverseParamSchema,
|
|
2845
3031
|
zListUniversesResponse,
|
|
2846
3032
|
zCreateUniverseRequest,
|
|
2847
3033
|
zCreateUniverseResponse,
|
|
2848
3034
|
zDeleteUniverseResponse,
|
|
2849
3035
|
zUpdateUniverseRequest,
|
|
2850
3036
|
zUpdateUniverseResponse,
|
|
2851
|
-
|
|
3037
|
+
zGateTemplateRuleResponse,
|
|
2852
3038
|
zGateTemplate,
|
|
2853
3039
|
zListGateTemplatesResponse,
|
|
3040
|
+
zGateTemplateRule,
|
|
2854
3041
|
zCreateGateTemplateRequest,
|
|
2855
3042
|
zCreateGateTemplateResponse,
|
|
2856
3043
|
zDeleteGateTemplateResponse,
|
|
@@ -2869,7 +3056,7 @@ export {
|
|
|
2869
3056
|
zMetricEventName,
|
|
2870
3057
|
zMetricQueryDsl,
|
|
2871
3058
|
zMetricWinsorizePct,
|
|
2872
|
-
|
|
3059
|
+
zMetricDefaultMinEffectOfInterest,
|
|
2873
3060
|
zMetricDirection,
|
|
2874
3061
|
zCreateMetricWithQuery,
|
|
2875
3062
|
zCreateMetricWithQueryIr,
|
|
@@ -2922,6 +3109,11 @@ export {
|
|
|
2922
3109
|
zUpdateOpsItemResponse,
|
|
2923
3110
|
zLinkPrToOpsItemRequest,
|
|
2924
3111
|
zLinkPrToOpsItemResponse,
|
|
3112
|
+
zOpsCommentAuthorType,
|
|
3113
|
+
zOpsComment,
|
|
3114
|
+
zListOpsCommentsResponse,
|
|
3115
|
+
zCreateOpsCommentRequest,
|
|
3116
|
+
zCreateOpsCommentResponse,
|
|
2925
3117
|
zNotifyOpsRequest,
|
|
2926
3118
|
zNotifyOpsResponse,
|
|
2927
3119
|
zListSlackChannelsResponse,
|
|
@@ -2952,6 +3144,7 @@ export {
|
|
|
2952
3144
|
zPublishI18nProfileResponse,
|
|
2953
3145
|
zSetI18nLabelRequest,
|
|
2954
3146
|
zSetI18nLabelResponse,
|
|
3147
|
+
zErrorOccurrence,
|
|
2955
3148
|
zErrorRecord,
|
|
2956
3149
|
zListErrorsResponse,
|
|
2957
3150
|
zUpdateErrorStatusRequest,
|
|
@@ -2995,6 +3188,7 @@ export {
|
|
|
2995
3188
|
zProjectId,
|
|
2996
3189
|
zPaginationLimit,
|
|
2997
3190
|
zPaginationCursor,
|
|
3191
|
+
zQ,
|
|
2998
3192
|
zListGatesHeaders,
|
|
2999
3193
|
zListGatesQuery,
|
|
3000
3194
|
zListGatesResponse2,
|
|
@@ -3025,7 +3219,7 @@ export {
|
|
|
3025
3219
|
zDeleteExperimentResponse2,
|
|
3026
3220
|
zGetExperimentHeaders,
|
|
3027
3221
|
zGetExperimentPath,
|
|
3028
|
-
|
|
3222
|
+
zGetExperimentResponse,
|
|
3029
3223
|
zUpdateExperimentBody,
|
|
3030
3224
|
zUpdateExperimentHeaders,
|
|
3031
3225
|
zUpdateExperimentPath,
|
|
@@ -3142,6 +3336,7 @@ export {
|
|
|
3142
3336
|
zUpdateGateTemplatePath,
|
|
3143
3337
|
zUpdateGateTemplateResponse2,
|
|
3144
3338
|
zListAttributesHeaders,
|
|
3339
|
+
zListAttributesQuery,
|
|
3145
3340
|
zListAttributesResponse2,
|
|
3146
3341
|
zCreateAttributeBody,
|
|
3147
3342
|
zCreateAttributeHeaders,
|
|
@@ -3157,6 +3352,7 @@ export {
|
|
|
3157
3352
|
zUpdateAttributePath,
|
|
3158
3353
|
zUpdateAttributeResponse2,
|
|
3159
3354
|
zListMetricsHeaders,
|
|
3355
|
+
zListMetricsQuery,
|
|
3160
3356
|
zListMetricsResponse2,
|
|
3161
3357
|
zCreateMetricBody,
|
|
3162
3358
|
zCreateMetricHeaders,
|
|
@@ -3172,6 +3368,7 @@ export {
|
|
|
3172
3368
|
zUpdateMetricPath,
|
|
3173
3369
|
zUpdateMetricResponse,
|
|
3174
3370
|
zListEventsHeaders,
|
|
3371
|
+
zListEventsQuery,
|
|
3175
3372
|
zListEventsResponse2,
|
|
3176
3373
|
zCreateEventBody,
|
|
3177
3374
|
zCreateEventHeaders,
|
|
@@ -3207,12 +3404,20 @@ export {
|
|
|
3207
3404
|
zLinkPrToOpsItemHeaders,
|
|
3208
3405
|
zLinkPrToOpsItemPath,
|
|
3209
3406
|
zLinkPrToOpsItemResponse2,
|
|
3407
|
+
zListOpsCommentsHeaders,
|
|
3408
|
+
zListOpsCommentsPath,
|
|
3409
|
+
zListOpsCommentsResponse2,
|
|
3410
|
+
zCreateOpsCommentBody,
|
|
3411
|
+
zCreateOpsCommentHeaders,
|
|
3412
|
+
zCreateOpsCommentPath,
|
|
3413
|
+
zCreateOpsCommentResponse2,
|
|
3210
3414
|
zNotifyOpsBody,
|
|
3211
3415
|
zNotifyOpsHeaders,
|
|
3212
3416
|
zNotifyOpsResponse2,
|
|
3213
3417
|
zListSlackChannelsHeaders,
|
|
3214
3418
|
zListSlackChannelsResponse2,
|
|
3215
3419
|
zListAlertRulesHeaders,
|
|
3420
|
+
zListAlertRulesQuery,
|
|
3216
3421
|
zListAlertRulesResponse2,
|
|
3217
3422
|
zCreateAlertRuleBody,
|
|
3218
3423
|
zCreateAlertRuleHeaders,
|
|
@@ -3277,11 +3482,15 @@ export {
|
|
|
3277
3482
|
zFileErrorTicketHeaders,
|
|
3278
3483
|
zFileErrorTicketPath,
|
|
3279
3484
|
zFileErrorTicketResponse2,
|
|
3485
|
+
zResolveErrorHeaders,
|
|
3486
|
+
zResolveErrorPath,
|
|
3487
|
+
zResolveErrorResponse,
|
|
3280
3488
|
zGetErrorSeriesBody,
|
|
3281
3489
|
zGetErrorSeriesHeaders,
|
|
3282
3490
|
zGetErrorSeriesPath,
|
|
3283
3491
|
zGetErrorSeriesResponse,
|
|
3284
3492
|
zListConnectorsHeaders,
|
|
3493
|
+
zListConnectorsQuery,
|
|
3285
3494
|
zListConnectorsResponse2,
|
|
3286
3495
|
zCreateConnectorBody,
|
|
3287
3496
|
zCreateConnectorHeaders,
|
|
@@ -3323,4 +3532,4 @@ export {
|
|
|
3323
3532
|
zSearchResourcesQuery,
|
|
3324
3533
|
zSearchResourcesResponse
|
|
3325
3534
|
};
|
|
3326
|
-
//# sourceMappingURL=chunk-
|
|
3535
|
+
//# sourceMappingURL=chunk-PRN4AEAM.js.map
|