@shipeasy/openapi 3.2.0 → 3.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/README.md +1 -1
- package/dist/{chunk-RTN572TI.js → chunk-75Z4SQOM.js} +75 -1
- package/dist/chunk-75Z4SQOM.js.map +1 -0
- package/dist/{chunk-DW33MG4B.js → chunk-ZYK74ZIW.js} +426 -121
- package/dist/chunk-ZYK74ZIW.js.map +1 -0
- package/dist/{client-BPVn4hMC.d.ts → client-DAGqRpF1.d.ts} +1362 -238
- package/dist/client.d.ts +1 -1
- package/dist/client.js +19 -1
- package/dist/custom.d.ts +5 -5
- package/dist/custom.js +128 -84
- package/dist/custom.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +20 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +1648 -907
- package/dist/schemas.js +113 -1
- package/openapi-sdk.json +31 -9
- package/openapi.json +4040 -2083
- package/openapi.yaml +1775 -408
- package/package.json +1 -1
- package/spec/components/schemas/alert-rules.yaml +405 -7
- package/spec/components/schemas/alerts.yaml +9 -7
- package/spec/components/schemas/common.yaml +2 -2
- package/spec/components/schemas/connectors.yaml +69 -6
- package/spec/components/schemas/events.yaml +20 -9
- package/spec/components/schemas/keys.yaml +30 -0
- package/spec/components/schemas/metrics.yaml +131 -251
- package/spec/components/schemas/ops.yaml +377 -29
- package/spec/components/schemas/projects.yaml +18 -0
- package/spec/components/schemas/tags.yaml +91 -0
- package/spec/openapi.yaml +43 -0
- package/spec/paths/alerts.yaml +5 -3
- package/spec/paths/i18n.yaml +2 -1
- package/spec/paths/keys.yaml +79 -0
- package/spec/paths/metrics.yaml +26 -17
- package/spec/paths/ops.yaml +388 -11
- package/spec/paths/tags.yaml +270 -0
- package/dist/chunk-DW33MG4B.js.map +0 -1
- package/dist/chunk-RTN572TI.js.map +0 -1
|
@@ -448,10 +448,7 @@ var zExperimentInlineMetric = z.object({
|
|
|
448
448
|
query: z.string().min(1).max(4096).optional(),
|
|
449
449
|
event: z.string().min(1).max(256).optional(),
|
|
450
450
|
aggregation: z.enum([
|
|
451
|
-
"count_users",
|
|
452
451
|
"count_events",
|
|
453
|
-
"retention_7d",
|
|
454
|
-
"retention_30d",
|
|
455
452
|
"sum",
|
|
456
453
|
"avg"
|
|
457
454
|
]).optional(),
|
|
@@ -1129,92 +1126,24 @@ var zUpdateAttributeRequest = z.object({
|
|
|
1129
1126
|
var zUpdateAttributeResponse = z.object({
|
|
1130
1127
|
id: z.string()
|
|
1131
1128
|
});
|
|
1129
|
+
var zMetricDisplayConfig = z.object({
|
|
1130
|
+
band: z.object({
|
|
1131
|
+
method: z.enum(["seasonal"]),
|
|
1132
|
+
sigma: z.number().gt(0).optional()
|
|
1133
|
+
}).optional(),
|
|
1134
|
+
forecast: z.object({
|
|
1135
|
+
method: z.enum(["linear", "seasonal"]),
|
|
1136
|
+
horizon: z.int().gte(1).lte(500).optional()
|
|
1137
|
+
}).optional()
|
|
1138
|
+
});
|
|
1132
1139
|
var zQueryIr = z.object({
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
kind: z.literal("count_users")
|
|
1136
|
-
}),
|
|
1137
|
-
z.object({
|
|
1138
|
-
kind: z.literal("count_events")
|
|
1139
|
-
}),
|
|
1140
|
-
z.object({
|
|
1141
|
-
kind: z.literal("sum")
|
|
1142
|
-
}),
|
|
1143
|
-
z.object({
|
|
1144
|
-
kind: z.literal("avg")
|
|
1145
|
-
}),
|
|
1146
|
-
z.object({
|
|
1147
|
-
kind: z.literal("min")
|
|
1148
|
-
}),
|
|
1149
|
-
z.object({
|
|
1150
|
-
kind: z.literal("max")
|
|
1151
|
-
}),
|
|
1152
|
-
z.object({
|
|
1153
|
-
kind: z.literal("unique")
|
|
1154
|
-
}),
|
|
1155
|
-
z.object({
|
|
1156
|
-
kind: z.literal("quantile"),
|
|
1157
|
-
p: z.union([
|
|
1158
|
-
z.literal(0.5),
|
|
1159
|
-
z.literal(0.75),
|
|
1160
|
-
z.literal(0.9),
|
|
1161
|
-
z.literal(0.95),
|
|
1162
|
-
z.literal(0.99),
|
|
1163
|
-
z.literal(0.999)
|
|
1164
|
-
])
|
|
1165
|
-
}),
|
|
1166
|
-
z.object({
|
|
1167
|
-
kind: z.literal("retention_Nd"),
|
|
1168
|
-
n: z.int().gte(1).lte(90)
|
|
1169
|
-
}),
|
|
1170
|
-
z.object({
|
|
1171
|
-
kind: z.literal("ratio"),
|
|
1172
|
-
numerator: z.object({
|
|
1173
|
-
agg: z.enum(["count_users", "count_events"]),
|
|
1174
|
-
metric: z.string().min(1).max(128),
|
|
1175
|
-
filters: z.array(z.object({
|
|
1176
|
-
label: z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/),
|
|
1177
|
-
op: z.enum([
|
|
1178
|
-
"=",
|
|
1179
|
-
"!=",
|
|
1180
|
-
"=~",
|
|
1181
|
-
"!~"
|
|
1182
|
-
]),
|
|
1183
|
-
value: z.string().max(512)
|
|
1184
|
-
})).max(16).optional()
|
|
1185
|
-
}),
|
|
1186
|
-
denominator: z.object({
|
|
1187
|
-
agg: z.enum(["count_users", "count_events"]),
|
|
1188
|
-
metric: z.string().min(1).max(128),
|
|
1189
|
-
filters: z.array(z.object({
|
|
1190
|
-
label: z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/),
|
|
1191
|
-
op: z.enum([
|
|
1192
|
-
"=",
|
|
1193
|
-
"!=",
|
|
1194
|
-
"=~",
|
|
1195
|
-
"!~"
|
|
1196
|
-
]),
|
|
1197
|
-
value: z.string().max(512)
|
|
1198
|
-
})).max(16).optional()
|
|
1199
|
-
})
|
|
1200
|
-
})
|
|
1201
|
-
]),
|
|
1202
|
-
metric: z.string().min(1).max(128),
|
|
1203
|
-
valueLabel: z.string().min(1).max(128).optional(),
|
|
1204
|
-
filters: z.array(z.object({
|
|
1205
|
-
label: z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/),
|
|
1206
|
-
op: z.enum([
|
|
1207
|
-
"=",
|
|
1208
|
-
"!=",
|
|
1209
|
-
"=~",
|
|
1210
|
-
"!~"
|
|
1211
|
-
]),
|
|
1212
|
-
value: z.string().max(512)
|
|
1213
|
-
})).max(16).optional().default([]),
|
|
1140
|
+
v: z.literal(2),
|
|
1141
|
+
expr: z.record(z.string(), z.unknown()),
|
|
1214
1142
|
groupBy: z.object({
|
|
1215
1143
|
op: z.enum(["by", "without"]),
|
|
1216
|
-
labels: z.array(z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/)).max(
|
|
1217
|
-
}).optional()
|
|
1144
|
+
labels: z.array(z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/)).max(8)
|
|
1145
|
+
}).optional(),
|
|
1146
|
+
display: zMetricDisplayConfig.optional()
|
|
1218
1147
|
});
|
|
1219
1148
|
var zListMetricsResponse = z.array(z.object({
|
|
1220
1149
|
id: z.string(),
|
|
@@ -1240,6 +1169,7 @@ var zListMetricsResponse = z.array(z.object({
|
|
|
1240
1169
|
createdAt: z.string().nullish(),
|
|
1241
1170
|
updatedAt: z.string().optional()
|
|
1242
1171
|
}));
|
|
1172
|
+
var zMetricDisplayName = z.string().nullable();
|
|
1243
1173
|
var zMetricEventName = z.string().min(1);
|
|
1244
1174
|
var zMetricQueryDsl = z.string().min(1).max(4096);
|
|
1245
1175
|
var zMetricWinsorizePct = z.int().gte(1).lte(99).default(99);
|
|
@@ -1252,23 +1182,27 @@ var zMetricDirection = z.enum([
|
|
|
1252
1182
|
var zMetricDisplayUnit = z.string().nullable();
|
|
1253
1183
|
var zCreateMetricWithQuery = z.object({
|
|
1254
1184
|
name: zMetricName,
|
|
1185
|
+
display_name: zMetricDisplayName.optional(),
|
|
1255
1186
|
folder: zFolder.optional(),
|
|
1256
1187
|
event_name: zMetricEventName,
|
|
1257
1188
|
query: zMetricQueryDsl,
|
|
1258
1189
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1259
1190
|
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1260
1191
|
direction: zMetricDirection.optional(),
|
|
1261
|
-
unit: zMetricDisplayUnit.optional()
|
|
1192
|
+
unit: zMetricDisplayUnit.optional(),
|
|
1193
|
+
display: zMetricDisplayConfig.optional()
|
|
1262
1194
|
});
|
|
1263
1195
|
var zCreateMetricWithQueryIr = z.object({
|
|
1264
1196
|
name: zMetricName,
|
|
1197
|
+
display_name: zMetricDisplayName.optional(),
|
|
1265
1198
|
folder: zFolder.optional(),
|
|
1266
1199
|
event_name: zMetricEventName,
|
|
1267
1200
|
query_ir: zQueryIr,
|
|
1268
1201
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1269
1202
|
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1270
1203
|
direction: zMetricDirection.optional(),
|
|
1271
|
-
unit: zMetricDisplayUnit.optional()
|
|
1204
|
+
unit: zMetricDisplayUnit.optional(),
|
|
1205
|
+
display: zMetricDisplayConfig.optional()
|
|
1272
1206
|
});
|
|
1273
1207
|
var zCreateMetricRequest = z.union([
|
|
1274
1208
|
zCreateMetricWithQuery,
|
|
@@ -1304,30 +1238,36 @@ var zDeleteMetricResponse = z.object({
|
|
|
1304
1238
|
ok: z.literal(true)
|
|
1305
1239
|
});
|
|
1306
1240
|
var zUpdateMetricWithQuery = z.object({
|
|
1241
|
+
display_name: zMetricDisplayName.optional(),
|
|
1307
1242
|
folder: zFolder.optional(),
|
|
1308
1243
|
event_name: zMetricEventName.optional(),
|
|
1309
1244
|
query: zMetricQueryDsl,
|
|
1310
1245
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1311
1246
|
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1312
1247
|
direction: zMetricDirection.optional(),
|
|
1313
|
-
unit: zMetricDisplayUnit.optional()
|
|
1248
|
+
unit: zMetricDisplayUnit.optional(),
|
|
1249
|
+
display: zMetricDisplayConfig.optional()
|
|
1314
1250
|
});
|
|
1315
1251
|
var zUpdateMetricWithQueryIr = z.object({
|
|
1252
|
+
display_name: zMetricDisplayName.optional(),
|
|
1316
1253
|
folder: zFolder.optional(),
|
|
1317
1254
|
event_name: zMetricEventName.optional(),
|
|
1318
1255
|
query_ir: zQueryIr,
|
|
1319
1256
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1320
1257
|
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1321
1258
|
direction: zMetricDirection.optional(),
|
|
1322
|
-
unit: zMetricDisplayUnit.optional()
|
|
1259
|
+
unit: zMetricDisplayUnit.optional(),
|
|
1260
|
+
display: zMetricDisplayConfig.optional()
|
|
1323
1261
|
});
|
|
1324
1262
|
var zUpdateMetricFields = z.object({
|
|
1263
|
+
display_name: zMetricDisplayName.optional(),
|
|
1325
1264
|
folder: zFolder.optional(),
|
|
1326
1265
|
event_name: zMetricEventName.optional(),
|
|
1327
1266
|
winsorize_pct: zMetricWinsorizePct.optional(),
|
|
1328
1267
|
default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
|
|
1329
1268
|
direction: zMetricDirection.optional(),
|
|
1330
|
-
unit: zMetricDisplayUnit.optional()
|
|
1269
|
+
unit: zMetricDisplayUnit.optional(),
|
|
1270
|
+
display: zMetricDisplayConfig.optional()
|
|
1331
1271
|
});
|
|
1332
1272
|
var zUpdateMetricRequest = z.union([
|
|
1333
1273
|
zUpdateMetricWithQuery,
|
|
@@ -1363,7 +1303,9 @@ var zGetMetricSeriesResponse = z.object({
|
|
|
1363
1303
|
sql: z.string(),
|
|
1364
1304
|
rows: z.array(z.object({
|
|
1365
1305
|
t: z.int(),
|
|
1366
|
-
v: z.number()
|
|
1306
|
+
v: z.number(),
|
|
1307
|
+
lo: z.number().optional(),
|
|
1308
|
+
hi: z.number().optional()
|
|
1367
1309
|
}))
|
|
1368
1310
|
});
|
|
1369
1311
|
var zListEventsResponse = z.array(z.object({
|
|
@@ -1372,24 +1314,25 @@ var zListEventsResponse = z.array(z.object({
|
|
|
1372
1314
|
folder: z.string().max(256).regex(/^[a-zA-Z0-9_-]+$/).nullish(),
|
|
1373
1315
|
description: z.string().nullable(),
|
|
1374
1316
|
properties: z.array(z.object({
|
|
1375
|
-
name: z.string().min(1).max(64),
|
|
1317
|
+
name: z.string().min(1).max(64).regex(/^[a-zA-Z_][a-zA-Z_0-9]*$/),
|
|
1376
1318
|
type: z.enum([
|
|
1377
1319
|
"string",
|
|
1378
1320
|
"number",
|
|
1379
1321
|
"boolean"
|
|
1380
1322
|
]),
|
|
1381
1323
|
required: z.boolean().optional().default(false),
|
|
1382
|
-
description: z.string().optional().default("")
|
|
1324
|
+
description: z.string().optional().default(""),
|
|
1325
|
+
pending: z.boolean().optional()
|
|
1383
1326
|
})),
|
|
1384
1327
|
pending: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
1385
1328
|
createdAt: z.string()
|
|
1386
1329
|
}));
|
|
1387
1330
|
var zCreateEventRequest = z.object({
|
|
1388
|
-
name: z.string().regex(/^[a-zA-Z0-9_][a-zA-Z0-9_\-.]{0,
|
|
1331
|
+
name: z.string().regex(/^[a-zA-Z0-9_][a-zA-Z0-9_\-.]{0,49}$/),
|
|
1389
1332
|
folder: zFolder.optional(),
|
|
1390
1333
|
description: z.string().optional(),
|
|
1391
1334
|
properties: z.array(z.object({
|
|
1392
|
-
name: z.string().min(1).max(64),
|
|
1335
|
+
name: z.string().min(1).max(64).regex(/^[a-zA-Z_][a-zA-Z_0-9]*$/),
|
|
1393
1336
|
type: z.enum([
|
|
1394
1337
|
"string",
|
|
1395
1338
|
"number",
|
|
@@ -1409,14 +1352,15 @@ var zGetEventResponse = z.object({
|
|
|
1409
1352
|
folder: z.string().max(256).regex(/^[a-zA-Z0-9_-]+$/).nullish(),
|
|
1410
1353
|
description: z.string().nullable(),
|
|
1411
1354
|
properties: z.array(z.object({
|
|
1412
|
-
name: z.string().min(1).max(64),
|
|
1355
|
+
name: z.string().min(1).max(64).regex(/^[a-zA-Z_][a-zA-Z_0-9]*$/),
|
|
1413
1356
|
type: z.enum([
|
|
1414
1357
|
"string",
|
|
1415
1358
|
"number",
|
|
1416
1359
|
"boolean"
|
|
1417
1360
|
]),
|
|
1418
1361
|
required: z.boolean().optional().default(false),
|
|
1419
|
-
description: z.string().optional().default("")
|
|
1362
|
+
description: z.string().optional().default(""),
|
|
1363
|
+
pending: z.boolean().optional()
|
|
1420
1364
|
})),
|
|
1421
1365
|
pending: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
1422
1366
|
createdAt: z.string()
|
|
@@ -1428,7 +1372,7 @@ var zUpdateEventRequest = z.object({
|
|
|
1428
1372
|
folder: zFolder.optional(),
|
|
1429
1373
|
description: z.string().optional(),
|
|
1430
1374
|
properties: z.array(z.object({
|
|
1431
|
-
name: z.string().min(1).max(64),
|
|
1375
|
+
name: z.string().min(1).max(64).regex(/^[a-zA-Z_][a-zA-Z_0-9]*$/),
|
|
1432
1376
|
type: z.enum([
|
|
1433
1377
|
"string",
|
|
1434
1378
|
"number",
|
|
@@ -1445,7 +1389,7 @@ var zApproveEventRequest = z.object({
|
|
|
1445
1389
|
folder: zFolder.optional(),
|
|
1446
1390
|
description: z.string().optional(),
|
|
1447
1391
|
properties: z.array(z.object({
|
|
1448
|
-
name: z.string().min(1).max(64),
|
|
1392
|
+
name: z.string().min(1).max(64).regex(/^[a-zA-Z_][a-zA-Z_0-9]*$/),
|
|
1449
1393
|
type: z.enum([
|
|
1450
1394
|
"string",
|
|
1451
1395
|
"number",
|
|
@@ -1477,6 +1421,7 @@ var zOpsItemPriority = z.enum([
|
|
|
1477
1421
|
var zOpsInvestigationState = z.enum([
|
|
1478
1422
|
"pr_ready",
|
|
1479
1423
|
"pr_merged",
|
|
1424
|
+
"pr_closed",
|
|
1480
1425
|
"investigated",
|
|
1481
1426
|
"detected",
|
|
1482
1427
|
"question",
|
|
@@ -1528,16 +1473,19 @@ var zOpsAlertMetricSummary = z.object({
|
|
|
1528
1473
|
var zOpsAlertContext = z.object({
|
|
1529
1474
|
source: z.enum([
|
|
1530
1475
|
"metric_rule",
|
|
1476
|
+
"killswitch_armed",
|
|
1531
1477
|
"experiment_srm",
|
|
1532
1478
|
"experiment_peek",
|
|
1533
1479
|
"guardrail"
|
|
1534
1480
|
]),
|
|
1535
1481
|
dedupeKey: z.string(),
|
|
1482
|
+
detail: z.string().nullish(),
|
|
1483
|
+
ruleId: z.string().nullish(),
|
|
1536
1484
|
severity: z.enum([
|
|
1537
1485
|
"danger",
|
|
1538
1486
|
"warn",
|
|
1539
1487
|
"info"
|
|
1540
|
-
]),
|
|
1488
|
+
]).optional(),
|
|
1541
1489
|
observedValue: z.number().nullish(),
|
|
1542
1490
|
href: z.string().nullish(),
|
|
1543
1491
|
status: z.enum([
|
|
@@ -1592,7 +1540,16 @@ var zGithubPrLink = z.object({
|
|
|
1592
1540
|
url: z.string(),
|
|
1593
1541
|
linkedAt: z.string().optional(),
|
|
1594
1542
|
connectedToIssue: z.boolean().optional(),
|
|
1595
|
-
method: z.enum(["closes", "comment"]).optional()
|
|
1543
|
+
method: z.enum(["closes", "comment"]).optional(),
|
|
1544
|
+
owner: z.string().optional(),
|
|
1545
|
+
repo: z.string().optional(),
|
|
1546
|
+
state: z.enum([
|
|
1547
|
+
"open",
|
|
1548
|
+
"merged",
|
|
1549
|
+
"closed"
|
|
1550
|
+
]).optional(),
|
|
1551
|
+
mergedAt: z.string().optional(),
|
|
1552
|
+
closedAt: z.string().optional()
|
|
1596
1553
|
});
|
|
1597
1554
|
var zGithubConnectorData = z.object({
|
|
1598
1555
|
issue: z.object({
|
|
@@ -1695,6 +1652,7 @@ var zListOpsItemsResponse = z.array(z.object({
|
|
|
1695
1652
|
createdAt: z.string(),
|
|
1696
1653
|
updatedAt: z.string()
|
|
1697
1654
|
}));
|
|
1655
|
+
var zTagName = z.string().min(1).max(64);
|
|
1698
1656
|
var zCreateBugRequest = z.object({
|
|
1699
1657
|
type: z.enum(["bug"]),
|
|
1700
1658
|
title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
|
|
@@ -1705,7 +1663,7 @@ var zCreateBugRequest = z.object({
|
|
|
1705
1663
|
status: zOpsItemStatus.optional(),
|
|
1706
1664
|
assigneeId: z.string().nullish(),
|
|
1707
1665
|
subscribers: z.array(z.email()).optional().default([]),
|
|
1708
|
-
tags: z.array(
|
|
1666
|
+
tags: z.array(zTagName).max(50).optional().default([]),
|
|
1709
1667
|
reporterEmail: z.email().nullish(),
|
|
1710
1668
|
pageUrl: z.url().nullish(),
|
|
1711
1669
|
userAgent: z.string().max(500).nullish(),
|
|
@@ -1722,7 +1680,7 @@ var zCreateFeatureRequestRequest = z.object({
|
|
|
1722
1680
|
status: zOpsItemStatus.optional(),
|
|
1723
1681
|
assigneeId: z.string().nullish(),
|
|
1724
1682
|
subscribers: z.array(z.email()).optional().default([]),
|
|
1725
|
-
tags: z.array(
|
|
1683
|
+
tags: z.array(zTagName).max(50).optional().default([]),
|
|
1726
1684
|
reporterEmail: z.email().nullish(),
|
|
1727
1685
|
pageUrl: z.url().nullish(),
|
|
1728
1686
|
userAgent: z.string().max(500).nullish(),
|
|
@@ -1746,18 +1704,20 @@ var zCreatePublicBugRequest = z.object({
|
|
|
1746
1704
|
status: zOpsItemStatus.optional(),
|
|
1747
1705
|
assigneeId: z.string().nullish(),
|
|
1748
1706
|
subscribers: z.array(z.email()).optional().default([]),
|
|
1749
|
-
tags: z.array(
|
|
1707
|
+
tags: z.array(zTagName).max(50).optional().default([]),
|
|
1750
1708
|
reporterEmail: z.email().nullish(),
|
|
1751
1709
|
pageUrl: z.url().nullish(),
|
|
1752
1710
|
userAgent: z.string().max(500).nullish(),
|
|
1753
1711
|
viewport: z.string().max(40).nullish(),
|
|
1754
1712
|
context: z.record(z.string(), z.unknown()).nullish(),
|
|
1713
|
+
dedupKey: z.string().max(200).optional(),
|
|
1755
1714
|
notify: zNotificationTarget.nullish()
|
|
1756
1715
|
});
|
|
1757
1716
|
var zCreatePublicTicketResponse = z.object({
|
|
1758
1717
|
id: z.string().optional(),
|
|
1759
1718
|
number: z.int(),
|
|
1760
|
-
deduped: z.boolean().optional()
|
|
1719
|
+
deduped: z.boolean().optional(),
|
|
1720
|
+
updated: z.boolean().optional()
|
|
1761
1721
|
});
|
|
1762
1722
|
var zCreatePublicFeatureRequestRequest = z.object({
|
|
1763
1723
|
title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
|
|
@@ -1767,11 +1727,12 @@ var zCreatePublicFeatureRequestRequest = z.object({
|
|
|
1767
1727
|
status: zOpsItemStatus.optional(),
|
|
1768
1728
|
assigneeId: z.string().nullish(),
|
|
1769
1729
|
subscribers: z.array(z.email()).optional().default([]),
|
|
1770
|
-
tags: z.array(
|
|
1730
|
+
tags: z.array(zTagName).max(50).optional().default([]),
|
|
1771
1731
|
reporterEmail: z.email().nullish(),
|
|
1772
1732
|
pageUrl: z.url().nullish(),
|
|
1773
1733
|
userAgent: z.string().max(500).nullish(),
|
|
1774
1734
|
context: z.record(z.string(), z.unknown()).nullish(),
|
|
1735
|
+
dedupKey: z.string().max(200).optional(),
|
|
1775
1736
|
notify: zNotificationTarget.nullish()
|
|
1776
1737
|
});
|
|
1777
1738
|
var zOpsItemAttachment = z.object({
|
|
@@ -1878,7 +1839,8 @@ var zAckOpsItemRequest = z.object({
|
|
|
1878
1839
|
"gemini",
|
|
1879
1840
|
"jarvis"
|
|
1880
1841
|
]).optional(),
|
|
1881
|
-
sessionId: z.string().max(300).optional()
|
|
1842
|
+
sessionId: z.string().max(300).optional(),
|
|
1843
|
+
launch: z.boolean().optional().default(true)
|
|
1882
1844
|
});
|
|
1883
1845
|
var zAckOpsItemResponse = z.object({
|
|
1884
1846
|
id: z.string(),
|
|
@@ -2012,6 +1974,73 @@ var zUpdateOpsInvestigationRequest = z.object({
|
|
|
2012
1974
|
completedAt: z.string().optional(),
|
|
2013
1975
|
sessionId: z.string().max(300).optional()
|
|
2014
1976
|
});
|
|
1977
|
+
var zOpsQuestionStatus = z.enum([
|
|
1978
|
+
"open",
|
|
1979
|
+
"completed",
|
|
1980
|
+
"cancelled"
|
|
1981
|
+
]);
|
|
1982
|
+
var zOpsQuestionAnswer = z.object({
|
|
1983
|
+
selected: z.array(z.string()),
|
|
1984
|
+
other: z.string().nullable()
|
|
1985
|
+
});
|
|
1986
|
+
var zOpsQuestionDelivery = z.enum(["resume", "poll"]);
|
|
1987
|
+
var zOpsQuestion = z.object({
|
|
1988
|
+
id: z.string(),
|
|
1989
|
+
feedbackId: z.string(),
|
|
1990
|
+
header: z.string(),
|
|
1991
|
+
question: z.string(),
|
|
1992
|
+
options: z.array(z.object({
|
|
1993
|
+
label: z.string(),
|
|
1994
|
+
description: z.string().nullable()
|
|
1995
|
+
})),
|
|
1996
|
+
multiSelect: z.boolean(),
|
|
1997
|
+
status: zOpsQuestionStatus,
|
|
1998
|
+
answer: zOpsQuestionAnswer.nullable(),
|
|
1999
|
+
answeredBy: z.string().nullable(),
|
|
2000
|
+
answeredAt: z.string().nullable(),
|
|
2001
|
+
agent: z.enum([
|
|
2002
|
+
"jarvis",
|
|
2003
|
+
"claude",
|
|
2004
|
+
"cursor",
|
|
2005
|
+
"copilot",
|
|
2006
|
+
"jules"
|
|
2007
|
+
]).nullable(),
|
|
2008
|
+
askedBy: z.string().nullable(),
|
|
2009
|
+
runId: z.string().nullable(),
|
|
2010
|
+
delivery: zOpsQuestionDelivery,
|
|
2011
|
+
deliveredAt: z.string().nullable(),
|
|
2012
|
+
deliveryError: z.string().nullable(),
|
|
2013
|
+
createdAt: z.string(),
|
|
2014
|
+
updatedAt: z.string()
|
|
2015
|
+
});
|
|
2016
|
+
var zListOpsQuestionsResponse = z.array(zOpsQuestion);
|
|
2017
|
+
var zOpsQuestionOption = z.object({
|
|
2018
|
+
label: z.string().min(1).max(120),
|
|
2019
|
+
description: z.string().max(500).optional()
|
|
2020
|
+
});
|
|
2021
|
+
var zAskOpsQuestionInput = z.object({
|
|
2022
|
+
header: z.string().min(1).max(24),
|
|
2023
|
+
question: z.string().min(1).max(2e3),
|
|
2024
|
+
options: z.array(zOpsQuestionOption).min(2).max(4),
|
|
2025
|
+
multiSelect: z.boolean().optional().default(false)
|
|
2026
|
+
});
|
|
2027
|
+
var zAskOpsQuestionsRequest = z.object({
|
|
2028
|
+
questions: z.array(zAskOpsQuestionInput).min(1).max(4),
|
|
2029
|
+
runId: z.string().max(200).optional(),
|
|
2030
|
+
agent: z.enum([
|
|
2031
|
+
"jarvis",
|
|
2032
|
+
"claude",
|
|
2033
|
+
"cursor",
|
|
2034
|
+
"copilot",
|
|
2035
|
+
"jules"
|
|
2036
|
+
]).optional(),
|
|
2037
|
+
delivery: zOpsQuestionDelivery.optional()
|
|
2038
|
+
});
|
|
2039
|
+
var zAskOpsQuestionsResponse = z.array(zOpsQuestion);
|
|
2040
|
+
var zAnswerOpsQuestionRequest = z.object({
|
|
2041
|
+
selected: z.array(z.string().max(120)).max(4).optional(),
|
|
2042
|
+
other: z.string().max(1e4).optional()
|
|
2043
|
+
});
|
|
2015
2044
|
var zOpsAgentProfile = z.object({
|
|
2016
2045
|
connectorId: z.string(),
|
|
2017
2046
|
provider: z.enum([
|
|
@@ -2064,11 +2093,22 @@ var zListSlackChannelsResponse = z.object({
|
|
|
2064
2093
|
isPrivate: z.boolean().optional()
|
|
2065
2094
|
}))
|
|
2066
2095
|
});
|
|
2096
|
+
var zAlertCompositeSpec = z.object({
|
|
2097
|
+
op: z.enum(["and", "or"]),
|
|
2098
|
+
rules: z.array(z.string().min(1)).min(2)
|
|
2099
|
+
});
|
|
2067
2100
|
var zListAlertRulesResponse = z.array(z.object({
|
|
2068
2101
|
id: z.string(),
|
|
2069
2102
|
name: z.string(),
|
|
2070
2103
|
metricId: z.string(),
|
|
2071
2104
|
metricName: z.string().nullable(),
|
|
2105
|
+
kind: z.enum([
|
|
2106
|
+
"normal",
|
|
2107
|
+
"anomaly",
|
|
2108
|
+
"outliers",
|
|
2109
|
+
"no_data",
|
|
2110
|
+
"composite"
|
|
2111
|
+
]),
|
|
2072
2112
|
comparator: z.enum([
|
|
2073
2113
|
"gt",
|
|
2074
2114
|
"gte",
|
|
@@ -2076,7 +2116,26 @@ var zListAlertRulesResponse = z.array(z.object({
|
|
|
2076
2116
|
"lte"
|
|
2077
2117
|
]),
|
|
2078
2118
|
threshold: z.number(),
|
|
2119
|
+
rangeMin: z.number().nullable(),
|
|
2120
|
+
rangeMax: z.number().nullable(),
|
|
2121
|
+
sigma: z.number().nullable(),
|
|
2122
|
+
direction: z.enum([
|
|
2123
|
+
"above",
|
|
2124
|
+
"below",
|
|
2125
|
+
"either"
|
|
2126
|
+
]).nullable(),
|
|
2127
|
+
sustained: z.boolean(),
|
|
2128
|
+
warnThreshold: z.number().nullable(),
|
|
2129
|
+
recoveryThreshold: z.number().nullable(),
|
|
2130
|
+
groupAlerts: z.boolean(),
|
|
2131
|
+
maxGroups: z.int().nullable(),
|
|
2132
|
+
noDataMinutes: z.int().nullable(),
|
|
2133
|
+
delayMinutes: z.int().nullable(),
|
|
2134
|
+
autoResolveMinutes: z.int().nullable(),
|
|
2135
|
+
composite: zAlertCompositeSpec.nullable(),
|
|
2079
2136
|
windowHours: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
2137
|
+
bucketMinutes: z.int().nullable(),
|
|
2138
|
+
requiredBuckets: z.int().nullable(),
|
|
2080
2139
|
severity: z.enum([
|
|
2081
2140
|
"danger",
|
|
2082
2141
|
"warn",
|
|
@@ -2090,14 +2149,40 @@ var zListAlertRulesResponse = z.array(z.object({
|
|
|
2090
2149
|
var zCreateAlertRuleRequest = z.object({
|
|
2091
2150
|
name: z.string().min(1).max(120),
|
|
2092
2151
|
metricId: z.string().min(1),
|
|
2152
|
+
kind: z.enum([
|
|
2153
|
+
"normal",
|
|
2154
|
+
"anomaly",
|
|
2155
|
+
"outliers",
|
|
2156
|
+
"no_data",
|
|
2157
|
+
"composite"
|
|
2158
|
+
]).optional().default("normal"),
|
|
2093
2159
|
comparator: z.enum([
|
|
2094
2160
|
"gt",
|
|
2095
2161
|
"gte",
|
|
2096
2162
|
"lt",
|
|
2097
2163
|
"lte"
|
|
2098
|
-
]),
|
|
2099
|
-
threshold: z.number(),
|
|
2164
|
+
]).optional().default("gt"),
|
|
2165
|
+
threshold: z.number().optional(),
|
|
2166
|
+
rangeMin: z.number().nullish(),
|
|
2167
|
+
rangeMax: z.number().nullish(),
|
|
2168
|
+
sigma: z.number().gt(0).nullish(),
|
|
2169
|
+
direction: z.enum([
|
|
2170
|
+
"above",
|
|
2171
|
+
"below",
|
|
2172
|
+
"either"
|
|
2173
|
+
]).nullish(),
|
|
2174
|
+
sustained: z.boolean().optional().default(false),
|
|
2100
2175
|
windowHours: z.int().gte(1).lte(720).optional().default(24),
|
|
2176
|
+
bucketMinutes: z.int().gte(1).lte(43200).nullish(),
|
|
2177
|
+
requiredBuckets: z.int().gte(1).nullish(),
|
|
2178
|
+
warnThreshold: z.number().nullish(),
|
|
2179
|
+
recoveryThreshold: z.number().nullish(),
|
|
2180
|
+
groupAlerts: z.boolean().optional().default(false),
|
|
2181
|
+
maxGroups: z.int().gte(1).lte(50).nullish(),
|
|
2182
|
+
noDataMinutes: z.int().gte(5).lte(43200).nullish(),
|
|
2183
|
+
delayMinutes: z.int().gte(1).lte(1440).nullish(),
|
|
2184
|
+
autoResolveMinutes: z.int().gte(1).nullish(),
|
|
2185
|
+
composite: zAlertCompositeSpec.optional(),
|
|
2101
2186
|
severity: z.enum([
|
|
2102
2187
|
"danger",
|
|
2103
2188
|
"warn",
|
|
@@ -2114,6 +2199,13 @@ var zDeleteAlertRuleResponse = z.object({
|
|
|
2114
2199
|
});
|
|
2115
2200
|
var zUpdateAlertRuleRequest = z.object({
|
|
2116
2201
|
name: z.string().min(1).max(120).optional(),
|
|
2202
|
+
kind: z.enum([
|
|
2203
|
+
"normal",
|
|
2204
|
+
"anomaly",
|
|
2205
|
+
"outliers",
|
|
2206
|
+
"no_data",
|
|
2207
|
+
"composite"
|
|
2208
|
+
]).optional(),
|
|
2117
2209
|
comparator: z.enum([
|
|
2118
2210
|
"gt",
|
|
2119
2211
|
"gte",
|
|
@@ -2121,7 +2213,26 @@ var zUpdateAlertRuleRequest = z.object({
|
|
|
2121
2213
|
"lte"
|
|
2122
2214
|
]).optional(),
|
|
2123
2215
|
threshold: z.number().optional(),
|
|
2216
|
+
rangeMin: z.number().nullish(),
|
|
2217
|
+
rangeMax: z.number().nullish(),
|
|
2218
|
+
sigma: z.number().gt(0).nullish(),
|
|
2219
|
+
direction: z.enum([
|
|
2220
|
+
"above",
|
|
2221
|
+
"below",
|
|
2222
|
+
"either"
|
|
2223
|
+
]).nullish(),
|
|
2224
|
+
sustained: z.boolean().optional(),
|
|
2225
|
+
warnThreshold: z.number().nullish(),
|
|
2226
|
+
recoveryThreshold: z.number().nullish(),
|
|
2227
|
+
groupAlerts: z.boolean().optional(),
|
|
2228
|
+
maxGroups: z.int().gte(1).lte(50).nullish(),
|
|
2229
|
+
noDataMinutes: z.int().gte(5).lte(43200).nullish(),
|
|
2230
|
+
delayMinutes: z.int().gte(1).lte(1440).nullish(),
|
|
2231
|
+
autoResolveMinutes: z.int().gte(1).nullish(),
|
|
2232
|
+
composite: zAlertCompositeSpec.optional(),
|
|
2124
2233
|
windowHours: z.int().gte(1).lte(720).optional(),
|
|
2234
|
+
bucketMinutes: z.int().gte(1).lte(43200).nullish(),
|
|
2235
|
+
requiredBuckets: z.int().gte(1).nullish(),
|
|
2125
2236
|
severity: z.enum([
|
|
2126
2237
|
"danger",
|
|
2127
2238
|
"warn",
|
|
@@ -2254,6 +2365,8 @@ var zGetCurrentProjectResponse = z.object({
|
|
|
2254
2365
|
z.boolean(),
|
|
2255
2366
|
z.number()
|
|
2256
2367
|
]),
|
|
2368
|
+
errorAutocloseDays: z.int(),
|
|
2369
|
+
errorTicketMinOccurrences: z.int(),
|
|
2257
2370
|
stripeSubscriptionId: z.string().nullable(),
|
|
2258
2371
|
scheduledInterval: z.enum(["monthly", "annual"]).nullable(),
|
|
2259
2372
|
spendLimitEnabled: z.union([
|
|
@@ -2324,7 +2437,9 @@ var zUpdateProjectRequest = z.object({
|
|
|
2324
2437
|
cupedMinBaselineUsers: z.int().gte(10).lte(1e5).optional(),
|
|
2325
2438
|
msprtTauMeiFactor: z.number().gte(0.1).lte(2).optional(),
|
|
2326
2439
|
msprtTauSdFactor: z.number().gte(0.05).lte(1).optional(),
|
|
2327
|
-
srmThreshold: z.number().gte(1e-4).lte(0.05).optional()
|
|
2440
|
+
srmThreshold: z.number().gte(1e-4).lte(0.05).optional(),
|
|
2441
|
+
errorAutocloseDays: z.int().gte(0).lte(365).optional(),
|
|
2442
|
+
errorTicketMinOccurrences: z.int().gte(1).lte(1e4).optional()
|
|
2328
2443
|
});
|
|
2329
2444
|
var zListI18nProfilesResponse = z.array(z.object({
|
|
2330
2445
|
id: z.string(),
|
|
@@ -2602,10 +2717,17 @@ var zCreateClaudeTriggerRequest = z.object({
|
|
|
2602
2717
|
token: z.string().min(1).optional(),
|
|
2603
2718
|
enabled: z.boolean().optional().default(true)
|
|
2604
2719
|
});
|
|
2720
|
+
var zCursorTriggerRepo = z.object({
|
|
2721
|
+
url: z.url(),
|
|
2722
|
+
startingRef: z.string().min(1).optional()
|
|
2723
|
+
});
|
|
2605
2724
|
var zCursorTriggerConfig = z.object({
|
|
2606
2725
|
repoUrl: z.url(),
|
|
2607
2726
|
startingRef: z.string().min(1).optional(),
|
|
2608
|
-
|
|
2727
|
+
repos: z.array(zCursorTriggerRepo).min(1).optional(),
|
|
2728
|
+
projectId: z.string().min(1),
|
|
2729
|
+
agentId: z.string().min(1).optional(),
|
|
2730
|
+
fireText: z.string().min(1).optional()
|
|
2609
2731
|
});
|
|
2610
2732
|
var zCreateCursorTriggerRequest = z.object({
|
|
2611
2733
|
provider: z.enum(["cursor_trigger"]),
|
|
@@ -2616,11 +2738,18 @@ var zCreateCursorTriggerRequest = z.object({
|
|
|
2616
2738
|
opsKey: z.string().min(1),
|
|
2617
2739
|
enabled: z.boolean().optional().default(true)
|
|
2618
2740
|
});
|
|
2741
|
+
var zCopilotTriggerRepo = z.object({
|
|
2742
|
+
owner: z.string().min(1),
|
|
2743
|
+
repo: z.string().min(1),
|
|
2744
|
+
baseRef: z.string().min(1).optional()
|
|
2745
|
+
});
|
|
2619
2746
|
var zCopilotTriggerConfig = z.object({
|
|
2620
2747
|
owner: z.string().min(1),
|
|
2621
2748
|
repo: z.string().min(1),
|
|
2622
2749
|
baseRef: z.string().min(1).optional(),
|
|
2623
|
-
|
|
2750
|
+
repos: z.array(zCopilotTriggerRepo).min(1).optional(),
|
|
2751
|
+
projectId: z.string().min(1),
|
|
2752
|
+
fireText: z.string().min(1).optional()
|
|
2624
2753
|
});
|
|
2625
2754
|
var zCreateCopilotTriggerRequest = z.object({
|
|
2626
2755
|
provider: z.enum(["copilot_trigger"]),
|
|
@@ -2633,7 +2762,8 @@ var zCreateCopilotTriggerRequest = z.object({
|
|
|
2633
2762
|
var zJulesTriggerConfig = z.object({
|
|
2634
2763
|
source: z.string().min(1),
|
|
2635
2764
|
startingBranch: z.string().min(1).optional(),
|
|
2636
|
-
projectId: z.string().min(1)
|
|
2765
|
+
projectId: z.string().min(1),
|
|
2766
|
+
fireText: z.string().min(1).optional()
|
|
2637
2767
|
});
|
|
2638
2768
|
var zCreateJulesTriggerRequest = z.object({
|
|
2639
2769
|
provider: z.enum(["jules_trigger"]),
|
|
@@ -2734,6 +2864,7 @@ var zKeyRecord = z.object({
|
|
|
2734
2864
|
expires_at: z.string().nullable(),
|
|
2735
2865
|
created_by_email: z.string().nullable(),
|
|
2736
2866
|
name: z.string().nullable(),
|
|
2867
|
+
description: z.string().nullable(),
|
|
2737
2868
|
scopes: z.array(z.string()).nullable(),
|
|
2738
2869
|
last4: z.string().nullable()
|
|
2739
2870
|
});
|
|
@@ -2780,6 +2911,10 @@ var zCreateKeyResponse = z.object({
|
|
|
2780
2911
|
key: z.string(),
|
|
2781
2912
|
expires_at: z.string().nullable()
|
|
2782
2913
|
});
|
|
2914
|
+
var zUpdateKeyRequest = z.object({
|
|
2915
|
+
name: z.string().min(1).max(160).nullish(),
|
|
2916
|
+
description: z.string().min(1).max(500).nullish()
|
|
2917
|
+
});
|
|
2783
2918
|
var zRevokeKeyResponse = z.object({
|
|
2784
2919
|
id: z.string(),
|
|
2785
2920
|
revoked: z.literal(true)
|
|
@@ -2801,6 +2936,33 @@ var zSearchHit = z.object({
|
|
|
2801
2936
|
var zSearchResponse = z.object({
|
|
2802
2937
|
hits: z.array(zSearchHit)
|
|
2803
2938
|
});
|
|
2939
|
+
var zTag = z.object({
|
|
2940
|
+
id: z.string(),
|
|
2941
|
+
name: z.string()
|
|
2942
|
+
});
|
|
2943
|
+
var zListTagsResponse = z.array(zTag);
|
|
2944
|
+
var zTaggableEntityType = z.enum([
|
|
2945
|
+
"ops",
|
|
2946
|
+
"flag",
|
|
2947
|
+
"config",
|
|
2948
|
+
"killswitch",
|
|
2949
|
+
"metric",
|
|
2950
|
+
"error",
|
|
2951
|
+
"alert_rule",
|
|
2952
|
+
"experiment"
|
|
2953
|
+
]);
|
|
2954
|
+
var zEntityTagsResponse = z.object({
|
|
2955
|
+
entityType: zTaggableEntityType,
|
|
2956
|
+
entityId: z.string(),
|
|
2957
|
+
tags: z.array(z.string())
|
|
2958
|
+
});
|
|
2959
|
+
var zSetEntityTagsRequest = z.object({
|
|
2960
|
+
tags: z.array(zTagName).max(50)
|
|
2961
|
+
});
|
|
2962
|
+
var zUpdateEntityTagsRequest = z.object({
|
|
2963
|
+
add: z.array(zTagName).max(50).optional().default([]),
|
|
2964
|
+
remove: z.array(zTagName).max(50).optional().default([])
|
|
2965
|
+
});
|
|
2804
2966
|
var zProjectId = z.string();
|
|
2805
2967
|
var zPaginationLimit = z.coerce.number().int().gte(1).lte(500).default(100);
|
|
2806
2968
|
var zPaginationCursor = z.string();
|
|
@@ -3350,15 +3512,23 @@ var zListOpsItemsQuery = z.object({
|
|
|
3350
3512
|
"bug",
|
|
3351
3513
|
"feature_request",
|
|
3352
3514
|
"error",
|
|
3353
|
-
"alert"
|
|
3515
|
+
"alert",
|
|
3516
|
+
"measure_plan"
|
|
3354
3517
|
]),
|
|
3355
3518
|
z.literal("all")
|
|
3356
|
-
]).optional(),
|
|
3519
|
+
]).optional().default("all"),
|
|
3357
3520
|
status: z.union([
|
|
3358
3521
|
zOpsItemStatus,
|
|
3522
|
+
z.literal("unresolved"),
|
|
3359
3523
|
z.literal("all")
|
|
3360
|
-
]).optional(),
|
|
3361
|
-
|
|
3524
|
+
]).optional().default("all"),
|
|
3525
|
+
priority: z.union([
|
|
3526
|
+
zOpsItemPriority,
|
|
3527
|
+
z.literal("all")
|
|
3528
|
+
]).optional().default("all"),
|
|
3529
|
+
scope: z.enum(["all", "ready"]).optional().default("all"),
|
|
3530
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional().default(200),
|
|
3531
|
+
offset: z.coerce.number().int().gte(0).lte(1e5).optional().default(0),
|
|
3362
3532
|
owner: z.string().optional()
|
|
3363
3533
|
});
|
|
3364
3534
|
var zListOpsItemsResponse2 = zListOpsItemsResponse;
|
|
@@ -3433,6 +3603,44 @@ var zUpdateOpsInvestigationPath = z.object({
|
|
|
3433
3603
|
investigationId: zResourceId
|
|
3434
3604
|
});
|
|
3435
3605
|
var zUpdateOpsInvestigationResponse = zOpsInvestigation;
|
|
3606
|
+
var zListOpsQuestionsHeaders = z.object({
|
|
3607
|
+
"X-Project-Id": z.string().optional()
|
|
3608
|
+
});
|
|
3609
|
+
var zListOpsQuestionsPath = z.object({
|
|
3610
|
+
handle: zResourceId
|
|
3611
|
+
});
|
|
3612
|
+
var zListOpsQuestionsQuery = z.object({
|
|
3613
|
+
status: z.union([
|
|
3614
|
+
zOpsQuestionStatus,
|
|
3615
|
+
z.literal("all")
|
|
3616
|
+
]).optional().default("all")
|
|
3617
|
+
});
|
|
3618
|
+
var zListOpsQuestionsResponse2 = zListOpsQuestionsResponse;
|
|
3619
|
+
var zAskOpsQuestionsBody = zAskOpsQuestionsRequest;
|
|
3620
|
+
var zAskOpsQuestionsHeaders = z.object({
|
|
3621
|
+
"X-Project-Id": z.string().optional()
|
|
3622
|
+
});
|
|
3623
|
+
var zAskOpsQuestionsPath = z.object({
|
|
3624
|
+
handle: zResourceId
|
|
3625
|
+
});
|
|
3626
|
+
var zAskOpsQuestionsResponse2 = zAskOpsQuestionsResponse;
|
|
3627
|
+
var zAnswerOpsQuestionBody = zAnswerOpsQuestionRequest;
|
|
3628
|
+
var zAnswerOpsQuestionHeaders = z.object({
|
|
3629
|
+
"X-Project-Id": z.string().optional()
|
|
3630
|
+
});
|
|
3631
|
+
var zAnswerOpsQuestionPath = z.object({
|
|
3632
|
+
handle: zResourceId,
|
|
3633
|
+
questionId: zResourceId
|
|
3634
|
+
});
|
|
3635
|
+
var zAnswerOpsQuestionResponse = zOpsQuestion;
|
|
3636
|
+
var zCancelOpsQuestionHeaders = z.object({
|
|
3637
|
+
"X-Project-Id": z.string().optional()
|
|
3638
|
+
});
|
|
3639
|
+
var zCancelOpsQuestionPath = z.object({
|
|
3640
|
+
handle: zResourceId,
|
|
3641
|
+
questionId: zResourceId
|
|
3642
|
+
});
|
|
3643
|
+
var zCancelOpsQuestionResponse = zOpsQuestion;
|
|
3436
3644
|
var zListOpsAgentsHeaders = z.object({
|
|
3437
3645
|
"X-Project-Id": z.string().optional()
|
|
3438
3646
|
});
|
|
@@ -3548,7 +3756,7 @@ var zListI18nKeysQuery = z.object({
|
|
|
3548
3756
|
profile_id: z.string().optional(),
|
|
3549
3757
|
prefix: z.string().optional(),
|
|
3550
3758
|
q: z.string().max(100).optional(),
|
|
3551
|
-
limit: z.coerce.number().int().gte(1).lte(500).optional(),
|
|
3759
|
+
limit: z.coerce.number().int().gte(1).lte(500).optional().default(200),
|
|
3552
3760
|
offset: z.coerce.number().int().gte(0).optional().default(0)
|
|
3553
3761
|
});
|
|
3554
3762
|
var zListI18nKeysResponse2 = zListI18nKeysResponse;
|
|
@@ -3763,6 +3971,14 @@ var zCreateKeyHeaders = z.object({
|
|
|
3763
3971
|
"X-Project-Id": z.string().optional()
|
|
3764
3972
|
});
|
|
3765
3973
|
var zCreateKeyResponse2 = zCreateKeyResponse;
|
|
3974
|
+
var zUpdateKeyBody = zUpdateKeyRequest;
|
|
3975
|
+
var zUpdateKeyHeaders = z.object({
|
|
3976
|
+
"X-Project-Id": z.string().optional()
|
|
3977
|
+
});
|
|
3978
|
+
var zUpdateKeyPath = z.object({
|
|
3979
|
+
id: zResourceId
|
|
3980
|
+
});
|
|
3981
|
+
var zUpdateKeyResponse = zKeyRecord;
|
|
3766
3982
|
var zRevokeKeyHeaders = z.object({
|
|
3767
3983
|
"X-Project-Id": z.string().optional()
|
|
3768
3984
|
});
|
|
@@ -3777,6 +3993,39 @@ var zSearchResourcesQuery = z.object({
|
|
|
3777
3993
|
q: z.string().optional()
|
|
3778
3994
|
});
|
|
3779
3995
|
var zSearchResourcesResponse = zSearchResponse;
|
|
3996
|
+
var zListTagsHeaders = z.object({
|
|
3997
|
+
"X-Project-Id": z.string().optional()
|
|
3998
|
+
});
|
|
3999
|
+
var zListTagsQuery = z.object({
|
|
4000
|
+
q: z.string().max(64).optional()
|
|
4001
|
+
});
|
|
4002
|
+
var zListTagsResponse2 = zListTagsResponse;
|
|
4003
|
+
var zGetEntityTagsHeaders = z.object({
|
|
4004
|
+
"X-Project-Id": z.string().optional()
|
|
4005
|
+
});
|
|
4006
|
+
var zGetEntityTagsPath = z.object({
|
|
4007
|
+
entityType: zTaggableEntityType,
|
|
4008
|
+
entityId: zResourceId
|
|
4009
|
+
});
|
|
4010
|
+
var zGetEntityTagsResponse = zEntityTagsResponse;
|
|
4011
|
+
var zUpdateEntityTagsBody = zUpdateEntityTagsRequest;
|
|
4012
|
+
var zUpdateEntityTagsHeaders = z.object({
|
|
4013
|
+
"X-Project-Id": z.string().optional()
|
|
4014
|
+
});
|
|
4015
|
+
var zUpdateEntityTagsPath = z.object({
|
|
4016
|
+
entityType: zTaggableEntityType,
|
|
4017
|
+
entityId: zResourceId
|
|
4018
|
+
});
|
|
4019
|
+
var zUpdateEntityTagsResponse = zEntityTagsResponse;
|
|
4020
|
+
var zSetEntityTagsBody = zSetEntityTagsRequest;
|
|
4021
|
+
var zSetEntityTagsHeaders = z.object({
|
|
4022
|
+
"X-Project-Id": z.string().optional()
|
|
4023
|
+
});
|
|
4024
|
+
var zSetEntityTagsPath = z.object({
|
|
4025
|
+
entityType: zTaggableEntityType,
|
|
4026
|
+
entityId: zResourceId
|
|
4027
|
+
});
|
|
4028
|
+
var zSetEntityTagsResponse = zEntityTagsResponse;
|
|
3780
4029
|
|
|
3781
4030
|
export {
|
|
3782
4031
|
zGateApiRow,
|
|
@@ -3880,8 +4129,10 @@ export {
|
|
|
3880
4129
|
zDeleteAttributeResponse,
|
|
3881
4130
|
zUpdateAttributeRequest,
|
|
3882
4131
|
zUpdateAttributeResponse,
|
|
4132
|
+
zMetricDisplayConfig,
|
|
3883
4133
|
zQueryIr,
|
|
3884
4134
|
zListMetricsResponse,
|
|
4135
|
+
zMetricDisplayName,
|
|
3885
4136
|
zMetricEventName,
|
|
3886
4137
|
zMetricQueryDsl,
|
|
3887
4138
|
zMetricWinsorizePct,
|
|
@@ -3933,6 +4184,7 @@ export {
|
|
|
3933
4184
|
zOpsRunActionOrNull,
|
|
3934
4185
|
zOpsRun,
|
|
3935
4186
|
zListOpsItemsResponse,
|
|
4187
|
+
zTagName,
|
|
3936
4188
|
zCreateBugRequest,
|
|
3937
4189
|
zCreateFeatureRequestRequest,
|
|
3938
4190
|
zCreateOpsItemRequest,
|
|
@@ -3959,6 +4211,16 @@ export {
|
|
|
3959
4211
|
zListOpsInvestigationsResponse,
|
|
3960
4212
|
zCreateOpsInvestigationRequest,
|
|
3961
4213
|
zUpdateOpsInvestigationRequest,
|
|
4214
|
+
zOpsQuestionStatus,
|
|
4215
|
+
zOpsQuestionAnswer,
|
|
4216
|
+
zOpsQuestionDelivery,
|
|
4217
|
+
zOpsQuestion,
|
|
4218
|
+
zListOpsQuestionsResponse,
|
|
4219
|
+
zOpsQuestionOption,
|
|
4220
|
+
zAskOpsQuestionInput,
|
|
4221
|
+
zAskOpsQuestionsRequest,
|
|
4222
|
+
zAskOpsQuestionsResponse,
|
|
4223
|
+
zAnswerOpsQuestionRequest,
|
|
3962
4224
|
zOpsAgentProfile,
|
|
3963
4225
|
zListOpsAgentsResponse,
|
|
3964
4226
|
zOpsCommentAuthorType,
|
|
@@ -3969,6 +4231,7 @@ export {
|
|
|
3969
4231
|
zNotifyOpsRequest,
|
|
3970
4232
|
zNotifyOpsResponse,
|
|
3971
4233
|
zListSlackChannelsResponse,
|
|
4234
|
+
zAlertCompositeSpec,
|
|
3972
4235
|
zListAlertRulesResponse,
|
|
3973
4236
|
zCreateAlertRuleRequest,
|
|
3974
4237
|
zCreateAlertRuleResponse,
|
|
@@ -4018,8 +4281,10 @@ export {
|
|
|
4018
4281
|
zCreateOAuthConnectorRequest,
|
|
4019
4282
|
zClaudeTriggerConfig,
|
|
4020
4283
|
zCreateClaudeTriggerRequest,
|
|
4284
|
+
zCursorTriggerRepo,
|
|
4021
4285
|
zCursorTriggerConfig,
|
|
4022
4286
|
zCreateCursorTriggerRequest,
|
|
4287
|
+
zCopilotTriggerRepo,
|
|
4023
4288
|
zCopilotTriggerConfig,
|
|
4024
4289
|
zCreateCopilotTriggerRequest,
|
|
4025
4290
|
zJulesTriggerConfig,
|
|
@@ -4042,9 +4307,16 @@ export {
|
|
|
4042
4307
|
zListKeysResponse,
|
|
4043
4308
|
zCreateKeyRequest,
|
|
4044
4309
|
zCreateKeyResponse,
|
|
4310
|
+
zUpdateKeyRequest,
|
|
4045
4311
|
zRevokeKeyResponse,
|
|
4046
4312
|
zSearchHit,
|
|
4047
4313
|
zSearchResponse,
|
|
4314
|
+
zTag,
|
|
4315
|
+
zListTagsResponse,
|
|
4316
|
+
zTaggableEntityType,
|
|
4317
|
+
zEntityTagsResponse,
|
|
4318
|
+
zSetEntityTagsRequest,
|
|
4319
|
+
zUpdateEntityTagsRequest,
|
|
4048
4320
|
zProjectId,
|
|
4049
4321
|
zPaginationLimit,
|
|
4050
4322
|
zPaginationCursor,
|
|
@@ -4333,6 +4605,21 @@ export {
|
|
|
4333
4605
|
zUpdateOpsInvestigationHeaders,
|
|
4334
4606
|
zUpdateOpsInvestigationPath,
|
|
4335
4607
|
zUpdateOpsInvestigationResponse,
|
|
4608
|
+
zListOpsQuestionsHeaders,
|
|
4609
|
+
zListOpsQuestionsPath,
|
|
4610
|
+
zListOpsQuestionsQuery,
|
|
4611
|
+
zListOpsQuestionsResponse2,
|
|
4612
|
+
zAskOpsQuestionsBody,
|
|
4613
|
+
zAskOpsQuestionsHeaders,
|
|
4614
|
+
zAskOpsQuestionsPath,
|
|
4615
|
+
zAskOpsQuestionsResponse2,
|
|
4616
|
+
zAnswerOpsQuestionBody,
|
|
4617
|
+
zAnswerOpsQuestionHeaders,
|
|
4618
|
+
zAnswerOpsQuestionPath,
|
|
4619
|
+
zAnswerOpsQuestionResponse,
|
|
4620
|
+
zCancelOpsQuestionHeaders,
|
|
4621
|
+
zCancelOpsQuestionPath,
|
|
4622
|
+
zCancelOpsQuestionResponse,
|
|
4336
4623
|
zListOpsAgentsHeaders,
|
|
4337
4624
|
zListOpsAgentsResponse2,
|
|
4338
4625
|
zListOpsCommentsHeaders,
|
|
@@ -4485,11 +4772,29 @@ export {
|
|
|
4485
4772
|
zCreateKeyBody,
|
|
4486
4773
|
zCreateKeyHeaders,
|
|
4487
4774
|
zCreateKeyResponse2,
|
|
4775
|
+
zUpdateKeyBody,
|
|
4776
|
+
zUpdateKeyHeaders,
|
|
4777
|
+
zUpdateKeyPath,
|
|
4778
|
+
zUpdateKeyResponse,
|
|
4488
4779
|
zRevokeKeyHeaders,
|
|
4489
4780
|
zRevokeKeyPath,
|
|
4490
4781
|
zRevokeKeyResponse2,
|
|
4491
4782
|
zSearchResourcesHeaders,
|
|
4492
4783
|
zSearchResourcesQuery,
|
|
4493
|
-
zSearchResourcesResponse
|
|
4784
|
+
zSearchResourcesResponse,
|
|
4785
|
+
zListTagsHeaders,
|
|
4786
|
+
zListTagsQuery,
|
|
4787
|
+
zListTagsResponse2,
|
|
4788
|
+
zGetEntityTagsHeaders,
|
|
4789
|
+
zGetEntityTagsPath,
|
|
4790
|
+
zGetEntityTagsResponse,
|
|
4791
|
+
zUpdateEntityTagsBody,
|
|
4792
|
+
zUpdateEntityTagsHeaders,
|
|
4793
|
+
zUpdateEntityTagsPath,
|
|
4794
|
+
zUpdateEntityTagsResponse,
|
|
4795
|
+
zSetEntityTagsBody,
|
|
4796
|
+
zSetEntityTagsHeaders,
|
|
4797
|
+
zSetEntityTagsPath,
|
|
4798
|
+
zSetEntityTagsResponse
|
|
4494
4799
|
};
|
|
4495
|
-
//# sourceMappingURL=chunk-
|
|
4800
|
+
//# sourceMappingURL=chunk-ZYK74ZIW.js.map
|