@shipeasy/openapi 3.1.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.
Files changed (45) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-V4ZESAIF.js → chunk-75Z4SQOM.js} +141 -1
  3. package/dist/chunk-75Z4SQOM.js.map +1 -0
  4. package/dist/{chunk-UV333BIK.js → chunk-ZYK74ZIW.js} +569 -119
  5. package/dist/chunk-ZYK74ZIW.js.map +1 -0
  6. package/dist/{client-yqGYju-M.d.ts → client-DAGqRpF1.d.ts} +2209 -401
  7. package/dist/client.d.ts +1 -1
  8. package/dist/client.js +33 -1
  9. package/dist/custom.d.ts +5 -5
  10. package/dist/custom.js +128 -84
  11. package/dist/custom.js.map +1 -1
  12. package/dist/index.d.ts +2 -2
  13. package/dist/index.js +34 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/schemas.d.ts +2007 -891
  16. package/dist/schemas.js +179 -1
  17. package/openapi-sdk.json +1769 -0
  18. package/openapi.json +5861 -2597
  19. package/openapi.yaml +2739 -452
  20. package/package.json +6 -4
  21. package/spec/components/responses.yaml +39 -0
  22. package/spec/components/schemas/alert-rules.yaml +405 -7
  23. package/spec/components/schemas/alerts.yaml +9 -7
  24. package/spec/components/schemas/common.yaml +2 -2
  25. package/spec/components/schemas/connectors.yaml +69 -6
  26. package/spec/components/schemas/events.yaml +20 -9
  27. package/spec/components/schemas/gates.yaml +87 -0
  28. package/spec/components/schemas/keys.yaml +32 -2
  29. package/spec/components/schemas/killswitches.yaml +64 -0
  30. package/spec/components/schemas/metrics.yaml +131 -251
  31. package/spec/components/schemas/ops.yaml +555 -22
  32. package/spec/components/schemas/projects.yaml +18 -0
  33. package/spec/components/schemas/tags.yaml +91 -0
  34. package/spec/openapi-sdk.yaml +86 -0
  35. package/spec/openapi.yaml +61 -0
  36. package/spec/paths/alerts.yaml +5 -3
  37. package/spec/paths/gates.yaml +282 -0
  38. package/spec/paths/i18n.yaml +2 -1
  39. package/spec/paths/keys.yaml +79 -0
  40. package/spec/paths/killswitches.yaml +96 -0
  41. package/spec/paths/metrics.yaml +26 -17
  42. package/spec/paths/ops.yaml +566 -10
  43. package/spec/paths/tags.yaml +270 -0
  44. package/dist/chunk-UV333BIK.js.map +0 -1
  45. package/dist/chunk-V4ZESAIF.js.map +0 -1
@@ -347,6 +347,24 @@ var zListGateActivityResponse = z.array(z.object({
347
347
  payload: z.unknown(),
348
348
  createdAt: z.string()
349
349
  }));
350
+ var zGateWhitelistAttr = z.enum(["email", "user_id"]);
351
+ var zGateWhitelist = z.object({
352
+ id: z.string(),
353
+ name: z.string(),
354
+ attr: zGateWhitelistAttr,
355
+ entries: z.array(z.string().min(1))
356
+ });
357
+ var zSetGateWhitelistRequest = z.object({
358
+ attr: zGateWhitelistAttr.optional(),
359
+ entries: z.array(z.string().min(1))
360
+ });
361
+ var zAddToGateWhitelistRequest = z.object({
362
+ attr: zGateWhitelistAttr.optional(),
363
+ entries: z.array(z.string().min(1)).min(1)
364
+ });
365
+ var zRemoveFromGateWhitelistRequest = z.object({
366
+ entries: z.array(z.string().min(1)).min(1)
367
+ });
350
368
  var zExperimentApiRow = z.object({
351
369
  id: z.string(),
352
370
  name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
@@ -430,10 +448,7 @@ var zExperimentInlineMetric = z.object({
430
448
  query: z.string().min(1).max(4096).optional(),
431
449
  event: z.string().min(1).max(256).optional(),
432
450
  aggregation: z.enum([
433
- "count_users",
434
451
  "count_events",
435
- "retention_7d",
436
- "retention_30d",
437
452
  "sum",
438
453
  "avg"
439
454
  ]).optional(),
@@ -901,6 +916,20 @@ var zSetKillswitchValueResponse = z.object({
901
916
  version: z.int().gte(-9007199254740991).lte(9007199254740991),
902
917
  published: zKillswitchValue
903
918
  });
919
+ var zToggleKillswitchRequest = z.object({
920
+ switchKey: z.string().max(64).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?$/).nullish(),
921
+ value: z.boolean().nullish(),
922
+ env: zEnv.optional()
923
+ });
924
+ var zToggleKillswitchResponse = z.object({
925
+ id: z.string(),
926
+ env: zEnv,
927
+ switchKey: z.string().max(64).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?$/).nullable(),
928
+ previous: z.boolean(),
929
+ value: z.boolean(),
930
+ version: z.int().gte(-9007199254740991).lte(9007199254740991),
931
+ published: zKillswitchValue
932
+ });
904
933
  var zUniverseParam = z.object({
905
934
  name: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/),
906
935
  type: z.enum([
@@ -1097,92 +1126,24 @@ var zUpdateAttributeRequest = z.object({
1097
1126
  var zUpdateAttributeResponse = z.object({
1098
1127
  id: z.string()
1099
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
+ });
1100
1139
  var zQueryIr = z.object({
1101
- agg: z.union([
1102
- z.object({
1103
- kind: z.literal("count_users")
1104
- }),
1105
- z.object({
1106
- kind: z.literal("count_events")
1107
- }),
1108
- z.object({
1109
- kind: z.literal("sum")
1110
- }),
1111
- z.object({
1112
- kind: z.literal("avg")
1113
- }),
1114
- z.object({
1115
- kind: z.literal("min")
1116
- }),
1117
- z.object({
1118
- kind: z.literal("max")
1119
- }),
1120
- z.object({
1121
- kind: z.literal("unique")
1122
- }),
1123
- z.object({
1124
- kind: z.literal("quantile"),
1125
- p: z.union([
1126
- z.literal(0.5),
1127
- z.literal(0.75),
1128
- z.literal(0.9),
1129
- z.literal(0.95),
1130
- z.literal(0.99),
1131
- z.literal(0.999)
1132
- ])
1133
- }),
1134
- z.object({
1135
- kind: z.literal("retention_Nd"),
1136
- n: z.int().gte(1).lte(90)
1137
- }),
1138
- z.object({
1139
- kind: z.literal("ratio"),
1140
- numerator: z.object({
1141
- agg: z.enum(["count_users", "count_events"]),
1142
- metric: z.string().min(1).max(128),
1143
- filters: z.array(z.object({
1144
- label: z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/),
1145
- op: z.enum([
1146
- "=",
1147
- "!=",
1148
- "=~",
1149
- "!~"
1150
- ]),
1151
- value: z.string().max(512)
1152
- })).max(16).optional()
1153
- }),
1154
- denominator: z.object({
1155
- agg: z.enum(["count_users", "count_events"]),
1156
- metric: z.string().min(1).max(128),
1157
- filters: z.array(z.object({
1158
- label: z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/),
1159
- op: z.enum([
1160
- "=",
1161
- "!=",
1162
- "=~",
1163
- "!~"
1164
- ]),
1165
- value: z.string().max(512)
1166
- })).max(16).optional()
1167
- })
1168
- })
1169
- ]),
1170
- metric: z.string().min(1).max(128),
1171
- valueLabel: z.string().min(1).max(128).optional(),
1172
- filters: z.array(z.object({
1173
- label: z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/),
1174
- op: z.enum([
1175
- "=",
1176
- "!=",
1177
- "=~",
1178
- "!~"
1179
- ]),
1180
- value: z.string().max(512)
1181
- })).max(16).optional().default([]),
1140
+ v: z.literal(2),
1141
+ expr: z.record(z.string(), z.unknown()),
1182
1142
  groupBy: z.object({
1183
1143
  op: z.enum(["by", "without"]),
1184
- labels: z.array(z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/)).max(5)
1185
- }).optional()
1144
+ labels: z.array(z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/)).max(8)
1145
+ }).optional(),
1146
+ display: zMetricDisplayConfig.optional()
1186
1147
  });
1187
1148
  var zListMetricsResponse = z.array(z.object({
1188
1149
  id: z.string(),
@@ -1208,6 +1169,7 @@ var zListMetricsResponse = z.array(z.object({
1208
1169
  createdAt: z.string().nullish(),
1209
1170
  updatedAt: z.string().optional()
1210
1171
  }));
1172
+ var zMetricDisplayName = z.string().nullable();
1211
1173
  var zMetricEventName = z.string().min(1);
1212
1174
  var zMetricQueryDsl = z.string().min(1).max(4096);
1213
1175
  var zMetricWinsorizePct = z.int().gte(1).lte(99).default(99);
@@ -1220,23 +1182,27 @@ var zMetricDirection = z.enum([
1220
1182
  var zMetricDisplayUnit = z.string().nullable();
1221
1183
  var zCreateMetricWithQuery = z.object({
1222
1184
  name: zMetricName,
1185
+ display_name: zMetricDisplayName.optional(),
1223
1186
  folder: zFolder.optional(),
1224
1187
  event_name: zMetricEventName,
1225
1188
  query: zMetricQueryDsl,
1226
1189
  winsorize_pct: zMetricWinsorizePct.optional(),
1227
1190
  default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
1228
1191
  direction: zMetricDirection.optional(),
1229
- unit: zMetricDisplayUnit.optional()
1192
+ unit: zMetricDisplayUnit.optional(),
1193
+ display: zMetricDisplayConfig.optional()
1230
1194
  });
1231
1195
  var zCreateMetricWithQueryIr = z.object({
1232
1196
  name: zMetricName,
1197
+ display_name: zMetricDisplayName.optional(),
1233
1198
  folder: zFolder.optional(),
1234
1199
  event_name: zMetricEventName,
1235
1200
  query_ir: zQueryIr,
1236
1201
  winsorize_pct: zMetricWinsorizePct.optional(),
1237
1202
  default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
1238
1203
  direction: zMetricDirection.optional(),
1239
- unit: zMetricDisplayUnit.optional()
1204
+ unit: zMetricDisplayUnit.optional(),
1205
+ display: zMetricDisplayConfig.optional()
1240
1206
  });
1241
1207
  var zCreateMetricRequest = z.union([
1242
1208
  zCreateMetricWithQuery,
@@ -1272,30 +1238,36 @@ var zDeleteMetricResponse = z.object({
1272
1238
  ok: z.literal(true)
1273
1239
  });
1274
1240
  var zUpdateMetricWithQuery = z.object({
1241
+ display_name: zMetricDisplayName.optional(),
1275
1242
  folder: zFolder.optional(),
1276
1243
  event_name: zMetricEventName.optional(),
1277
1244
  query: zMetricQueryDsl,
1278
1245
  winsorize_pct: zMetricWinsorizePct.optional(),
1279
1246
  default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
1280
1247
  direction: zMetricDirection.optional(),
1281
- unit: zMetricDisplayUnit.optional()
1248
+ unit: zMetricDisplayUnit.optional(),
1249
+ display: zMetricDisplayConfig.optional()
1282
1250
  });
1283
1251
  var zUpdateMetricWithQueryIr = z.object({
1252
+ display_name: zMetricDisplayName.optional(),
1284
1253
  folder: zFolder.optional(),
1285
1254
  event_name: zMetricEventName.optional(),
1286
1255
  query_ir: zQueryIr,
1287
1256
  winsorize_pct: zMetricWinsorizePct.optional(),
1288
1257
  default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
1289
1258
  direction: zMetricDirection.optional(),
1290
- unit: zMetricDisplayUnit.optional()
1259
+ unit: zMetricDisplayUnit.optional(),
1260
+ display: zMetricDisplayConfig.optional()
1291
1261
  });
1292
1262
  var zUpdateMetricFields = z.object({
1263
+ display_name: zMetricDisplayName.optional(),
1293
1264
  folder: zFolder.optional(),
1294
1265
  event_name: zMetricEventName.optional(),
1295
1266
  winsorize_pct: zMetricWinsorizePct.optional(),
1296
1267
  default_min_effect_of_interest: zMetricDefaultMinEffectOfInterest.optional(),
1297
1268
  direction: zMetricDirection.optional(),
1298
- unit: zMetricDisplayUnit.optional()
1269
+ unit: zMetricDisplayUnit.optional(),
1270
+ display: zMetricDisplayConfig.optional()
1299
1271
  });
1300
1272
  var zUpdateMetricRequest = z.union([
1301
1273
  zUpdateMetricWithQuery,
@@ -1331,7 +1303,9 @@ var zGetMetricSeriesResponse = z.object({
1331
1303
  sql: z.string(),
1332
1304
  rows: z.array(z.object({
1333
1305
  t: z.int(),
1334
- v: z.number()
1306
+ v: z.number(),
1307
+ lo: z.number().optional(),
1308
+ hi: z.number().optional()
1335
1309
  }))
1336
1310
  });
1337
1311
  var zListEventsResponse = z.array(z.object({
@@ -1340,24 +1314,25 @@ var zListEventsResponse = z.array(z.object({
1340
1314
  folder: z.string().max(256).regex(/^[a-zA-Z0-9_-]+$/).nullish(),
1341
1315
  description: z.string().nullable(),
1342
1316
  properties: z.array(z.object({
1343
- name: z.string().min(1).max(64),
1317
+ name: z.string().min(1).max(64).regex(/^[a-zA-Z_][a-zA-Z_0-9]*$/),
1344
1318
  type: z.enum([
1345
1319
  "string",
1346
1320
  "number",
1347
1321
  "boolean"
1348
1322
  ]),
1349
1323
  required: z.boolean().optional().default(false),
1350
- description: z.string().optional().default("")
1324
+ description: z.string().optional().default(""),
1325
+ pending: z.boolean().optional()
1351
1326
  })),
1352
1327
  pending: z.int().gte(-9007199254740991).lte(9007199254740991),
1353
1328
  createdAt: z.string()
1354
1329
  }));
1355
1330
  var zCreateEventRequest = z.object({
1356
- name: z.string().regex(/^[a-zA-Z0-9_][a-zA-Z0-9_\-.]{0,127}$/),
1331
+ name: z.string().regex(/^[a-zA-Z0-9_][a-zA-Z0-9_\-.]{0,49}$/),
1357
1332
  folder: zFolder.optional(),
1358
1333
  description: z.string().optional(),
1359
1334
  properties: z.array(z.object({
1360
- name: z.string().min(1).max(64),
1335
+ name: z.string().min(1).max(64).regex(/^[a-zA-Z_][a-zA-Z_0-9]*$/),
1361
1336
  type: z.enum([
1362
1337
  "string",
1363
1338
  "number",
@@ -1377,14 +1352,15 @@ var zGetEventResponse = z.object({
1377
1352
  folder: z.string().max(256).regex(/^[a-zA-Z0-9_-]+$/).nullish(),
1378
1353
  description: z.string().nullable(),
1379
1354
  properties: z.array(z.object({
1380
- name: z.string().min(1).max(64),
1355
+ name: z.string().min(1).max(64).regex(/^[a-zA-Z_][a-zA-Z_0-9]*$/),
1381
1356
  type: z.enum([
1382
1357
  "string",
1383
1358
  "number",
1384
1359
  "boolean"
1385
1360
  ]),
1386
1361
  required: z.boolean().optional().default(false),
1387
- description: z.string().optional().default("")
1362
+ description: z.string().optional().default(""),
1363
+ pending: z.boolean().optional()
1388
1364
  })),
1389
1365
  pending: z.int().gte(-9007199254740991).lte(9007199254740991),
1390
1366
  createdAt: z.string()
@@ -1396,7 +1372,7 @@ var zUpdateEventRequest = z.object({
1396
1372
  folder: zFolder.optional(),
1397
1373
  description: z.string().optional(),
1398
1374
  properties: z.array(z.object({
1399
- name: z.string().min(1).max(64),
1375
+ name: z.string().min(1).max(64).regex(/^[a-zA-Z_][a-zA-Z_0-9]*$/),
1400
1376
  type: z.enum([
1401
1377
  "string",
1402
1378
  "number",
@@ -1413,7 +1389,7 @@ var zApproveEventRequest = z.object({
1413
1389
  folder: zFolder.optional(),
1414
1390
  description: z.string().optional(),
1415
1391
  properties: z.array(z.object({
1416
- name: z.string().min(1).max(64),
1392
+ name: z.string().min(1).max(64).regex(/^[a-zA-Z_][a-zA-Z_0-9]*$/),
1417
1393
  type: z.enum([
1418
1394
  "string",
1419
1395
  "number",
@@ -1445,6 +1421,7 @@ var zOpsItemPriority = z.enum([
1445
1421
  var zOpsInvestigationState = z.enum([
1446
1422
  "pr_ready",
1447
1423
  "pr_merged",
1424
+ "pr_closed",
1448
1425
  "investigated",
1449
1426
  "detected",
1450
1427
  "question",
@@ -1496,16 +1473,19 @@ var zOpsAlertMetricSummary = z.object({
1496
1473
  var zOpsAlertContext = z.object({
1497
1474
  source: z.enum([
1498
1475
  "metric_rule",
1476
+ "killswitch_armed",
1499
1477
  "experiment_srm",
1500
1478
  "experiment_peek",
1501
1479
  "guardrail"
1502
1480
  ]),
1503
1481
  dedupeKey: z.string(),
1482
+ detail: z.string().nullish(),
1483
+ ruleId: z.string().nullish(),
1504
1484
  severity: z.enum([
1505
1485
  "danger",
1506
1486
  "warn",
1507
1487
  "info"
1508
- ]),
1488
+ ]).optional(),
1509
1489
  observedValue: z.number().nullish(),
1510
1490
  href: z.string().nullish(),
1511
1491
  status: z.enum([
@@ -1560,7 +1540,16 @@ var zGithubPrLink = z.object({
1560
1540
  url: z.string(),
1561
1541
  linkedAt: z.string().optional(),
1562
1542
  connectedToIssue: z.boolean().optional(),
1563
- 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()
1564
1553
  });
1565
1554
  var zGithubConnectorData = z.object({
1566
1555
  issue: z.object({
@@ -1663,6 +1652,7 @@ var zListOpsItemsResponse = z.array(z.object({
1663
1652
  createdAt: z.string(),
1664
1653
  updatedAt: z.string()
1665
1654
  }));
1655
+ var zTagName = z.string().min(1).max(64);
1666
1656
  var zCreateBugRequest = z.object({
1667
1657
  type: z.enum(["bug"]),
1668
1658
  title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
@@ -1673,7 +1663,7 @@ var zCreateBugRequest = z.object({
1673
1663
  status: zOpsItemStatus.optional(),
1674
1664
  assigneeId: z.string().nullish(),
1675
1665
  subscribers: z.array(z.email()).optional().default([]),
1676
- tags: z.array(z.string()).optional().default([]),
1666
+ tags: z.array(zTagName).max(50).optional().default([]),
1677
1667
  reporterEmail: z.email().nullish(),
1678
1668
  pageUrl: z.url().nullish(),
1679
1669
  userAgent: z.string().max(500).nullish(),
@@ -1690,7 +1680,7 @@ var zCreateFeatureRequestRequest = z.object({
1690
1680
  status: zOpsItemStatus.optional(),
1691
1681
  assigneeId: z.string().nullish(),
1692
1682
  subscribers: z.array(z.email()).optional().default([]),
1693
- tags: z.array(z.string()).optional().default([]),
1683
+ tags: z.array(zTagName).max(50).optional().default([]),
1694
1684
  reporterEmail: z.email().nullish(),
1695
1685
  pageUrl: z.url().nullish(),
1696
1686
  userAgent: z.string().max(500).nullish(),
@@ -1705,6 +1695,46 @@ var zCreateOpsItemResponse = z.object({
1705
1695
  id: z.string(),
1706
1696
  number: z.number().nullish()
1707
1697
  });
1698
+ var zCreatePublicBugRequest = z.object({
1699
+ title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
1700
+ stepsToReproduce: z.string().max(8e3).optional().default(""),
1701
+ actualResult: z.string().max(8e3).optional().default(""),
1702
+ expectedResult: z.string().max(8e3).optional().default(""),
1703
+ priority: zOpsItemPriority.nullish(),
1704
+ status: zOpsItemStatus.optional(),
1705
+ assigneeId: z.string().nullish(),
1706
+ subscribers: z.array(z.email()).optional().default([]),
1707
+ tags: z.array(zTagName).max(50).optional().default([]),
1708
+ reporterEmail: z.email().nullish(),
1709
+ pageUrl: z.url().nullish(),
1710
+ userAgent: z.string().max(500).nullish(),
1711
+ viewport: z.string().max(40).nullish(),
1712
+ context: z.record(z.string(), z.unknown()).nullish(),
1713
+ dedupKey: z.string().max(200).optional(),
1714
+ notify: zNotificationTarget.nullish()
1715
+ });
1716
+ var zCreatePublicTicketResponse = z.object({
1717
+ id: z.string().optional(),
1718
+ number: z.int(),
1719
+ deduped: z.boolean().optional(),
1720
+ updated: z.boolean().optional()
1721
+ });
1722
+ var zCreatePublicFeatureRequestRequest = z.object({
1723
+ title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
1724
+ description: z.string().max(8e3).optional().default(""),
1725
+ useCase: z.string().max(8e3).optional().default(""),
1726
+ priority: zOpsItemPriority.nullish(),
1727
+ status: zOpsItemStatus.optional(),
1728
+ assigneeId: z.string().nullish(),
1729
+ subscribers: z.array(z.email()).optional().default([]),
1730
+ tags: z.array(zTagName).max(50).optional().default([]),
1731
+ reporterEmail: z.email().nullish(),
1732
+ pageUrl: z.url().nullish(),
1733
+ userAgent: z.string().max(500).nullish(),
1734
+ context: z.record(z.string(), z.unknown()).nullish(),
1735
+ dedupKey: z.string().max(200).optional(),
1736
+ notify: zNotificationTarget.nullish()
1737
+ });
1708
1738
  var zOpsItemAttachment = z.object({
1709
1739
  id: z.string(),
1710
1740
  kind: z.string(),
@@ -1809,7 +1839,8 @@ var zAckOpsItemRequest = z.object({
1809
1839
  "gemini",
1810
1840
  "jarvis"
1811
1841
  ]).optional(),
1812
- sessionId: z.string().max(300).optional()
1842
+ sessionId: z.string().max(300).optional(),
1843
+ launch: z.boolean().optional().default(true)
1813
1844
  });
1814
1845
  var zAckOpsItemResponse = z.object({
1815
1846
  id: z.string(),
@@ -1943,6 +1974,73 @@ var zUpdateOpsInvestigationRequest = z.object({
1943
1974
  completedAt: z.string().optional(),
1944
1975
  sessionId: z.string().max(300).optional()
1945
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
+ });
1946
2044
  var zOpsAgentProfile = z.object({
1947
2045
  connectorId: z.string(),
1948
2046
  provider: z.enum([
@@ -1995,11 +2093,22 @@ var zListSlackChannelsResponse = z.object({
1995
2093
  isPrivate: z.boolean().optional()
1996
2094
  }))
1997
2095
  });
2096
+ var zAlertCompositeSpec = z.object({
2097
+ op: z.enum(["and", "or"]),
2098
+ rules: z.array(z.string().min(1)).min(2)
2099
+ });
1998
2100
  var zListAlertRulesResponse = z.array(z.object({
1999
2101
  id: z.string(),
2000
2102
  name: z.string(),
2001
2103
  metricId: z.string(),
2002
2104
  metricName: z.string().nullable(),
2105
+ kind: z.enum([
2106
+ "normal",
2107
+ "anomaly",
2108
+ "outliers",
2109
+ "no_data",
2110
+ "composite"
2111
+ ]),
2003
2112
  comparator: z.enum([
2004
2113
  "gt",
2005
2114
  "gte",
@@ -2007,7 +2116,26 @@ var zListAlertRulesResponse = z.array(z.object({
2007
2116
  "lte"
2008
2117
  ]),
2009
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(),
2010
2136
  windowHours: z.int().gte(-9007199254740991).lte(9007199254740991),
2137
+ bucketMinutes: z.int().nullable(),
2138
+ requiredBuckets: z.int().nullable(),
2011
2139
  severity: z.enum([
2012
2140
  "danger",
2013
2141
  "warn",
@@ -2021,14 +2149,40 @@ var zListAlertRulesResponse = z.array(z.object({
2021
2149
  var zCreateAlertRuleRequest = z.object({
2022
2150
  name: z.string().min(1).max(120),
2023
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"),
2024
2159
  comparator: z.enum([
2025
2160
  "gt",
2026
2161
  "gte",
2027
2162
  "lt",
2028
2163
  "lte"
2029
- ]),
2030
- 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),
2031
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(),
2032
2186
  severity: z.enum([
2033
2187
  "danger",
2034
2188
  "warn",
@@ -2045,6 +2199,13 @@ var zDeleteAlertRuleResponse = z.object({
2045
2199
  });
2046
2200
  var zUpdateAlertRuleRequest = z.object({
2047
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(),
2048
2209
  comparator: z.enum([
2049
2210
  "gt",
2050
2211
  "gte",
@@ -2052,7 +2213,26 @@ var zUpdateAlertRuleRequest = z.object({
2052
2213
  "lte"
2053
2214
  ]).optional(),
2054
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(),
2055
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(),
2056
2236
  severity: z.enum([
2057
2237
  "danger",
2058
2238
  "warn",
@@ -2185,6 +2365,8 @@ var zGetCurrentProjectResponse = z.object({
2185
2365
  z.boolean(),
2186
2366
  z.number()
2187
2367
  ]),
2368
+ errorAutocloseDays: z.int(),
2369
+ errorTicketMinOccurrences: z.int(),
2188
2370
  stripeSubscriptionId: z.string().nullable(),
2189
2371
  scheduledInterval: z.enum(["monthly", "annual"]).nullable(),
2190
2372
  spendLimitEnabled: z.union([
@@ -2255,7 +2437,9 @@ var zUpdateProjectRequest = z.object({
2255
2437
  cupedMinBaselineUsers: z.int().gte(10).lte(1e5).optional(),
2256
2438
  msprtTauMeiFactor: z.number().gte(0.1).lte(2).optional(),
2257
2439
  msprtTauSdFactor: z.number().gte(0.05).lte(1).optional(),
2258
- 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()
2259
2443
  });
2260
2444
  var zListI18nProfilesResponse = z.array(z.object({
2261
2445
  id: z.string(),
@@ -2533,10 +2717,17 @@ var zCreateClaudeTriggerRequest = z.object({
2533
2717
  token: z.string().min(1).optional(),
2534
2718
  enabled: z.boolean().optional().default(true)
2535
2719
  });
2720
+ var zCursorTriggerRepo = z.object({
2721
+ url: z.url(),
2722
+ startingRef: z.string().min(1).optional()
2723
+ });
2536
2724
  var zCursorTriggerConfig = z.object({
2537
2725
  repoUrl: z.url(),
2538
2726
  startingRef: z.string().min(1).optional(),
2539
- projectId: z.string().min(1)
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()
2540
2731
  });
2541
2732
  var zCreateCursorTriggerRequest = z.object({
2542
2733
  provider: z.enum(["cursor_trigger"]),
@@ -2547,11 +2738,18 @@ var zCreateCursorTriggerRequest = z.object({
2547
2738
  opsKey: z.string().min(1),
2548
2739
  enabled: z.boolean().optional().default(true)
2549
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
+ });
2550
2746
  var zCopilotTriggerConfig = z.object({
2551
2747
  owner: z.string().min(1),
2552
2748
  repo: z.string().min(1),
2553
2749
  baseRef: z.string().min(1).optional(),
2554
- projectId: z.string().min(1)
2750
+ repos: z.array(zCopilotTriggerRepo).min(1).optional(),
2751
+ projectId: z.string().min(1),
2752
+ fireText: z.string().min(1).optional()
2555
2753
  });
2556
2754
  var zCreateCopilotTriggerRequest = z.object({
2557
2755
  provider: z.enum(["copilot_trigger"]),
@@ -2564,7 +2762,8 @@ var zCreateCopilotTriggerRequest = z.object({
2564
2762
  var zJulesTriggerConfig = z.object({
2565
2763
  source: z.string().min(1),
2566
2764
  startingBranch: z.string().min(1).optional(),
2567
- projectId: z.string().min(1)
2765
+ projectId: z.string().min(1),
2766
+ fireText: z.string().min(1).optional()
2568
2767
  });
2569
2768
  var zCreateJulesTriggerRequest = z.object({
2570
2769
  provider: z.enum(["jules_trigger"]),
@@ -2665,6 +2864,7 @@ var zKeyRecord = z.object({
2665
2864
  expires_at: z.string().nullable(),
2666
2865
  created_by_email: z.string().nullable(),
2667
2866
  name: z.string().nullable(),
2867
+ description: z.string().nullable(),
2668
2868
  scopes: z.array(z.string()).nullable(),
2669
2869
  last4: z.string().nullable()
2670
2870
  });
@@ -2679,7 +2879,7 @@ var zCreateKeyRequest = z.object({
2679
2879
  "admin",
2680
2880
  "ops"
2681
2881
  ]),
2682
- name: z.string().min(1).max(80).optional(),
2882
+ name: z.string().min(1).max(160).optional(),
2683
2883
  scopes: z.array(z.enum([
2684
2884
  "experiments:read",
2685
2885
  "gates:evaluate",
@@ -2711,6 +2911,10 @@ var zCreateKeyResponse = z.object({
2711
2911
  key: z.string(),
2712
2912
  expires_at: z.string().nullable()
2713
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
+ });
2714
2918
  var zRevokeKeyResponse = z.object({
2715
2919
  id: z.string(),
2716
2920
  revoked: z.literal(true)
@@ -2732,6 +2936,33 @@ var zSearchHit = z.object({
2732
2936
  var zSearchResponse = z.object({
2733
2937
  hits: z.array(zSearchHit)
2734
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
+ });
2735
2966
  var zProjectId = z.string();
2736
2967
  var zPaginationLimit = z.coerce.number().int().gte(1).lte(500).default(100);
2737
2968
  var zPaginationCursor = z.string();
@@ -2796,6 +3027,37 @@ var zListGateActivityQuery = z.object({
2796
3027
  limit: z.coerce.number().int().gte(1).lte(100).optional().default(20)
2797
3028
  });
2798
3029
  var zListGateActivityResponse2 = zListGateActivityResponse;
3030
+ var zRemoveFromGateWhitelistBody = zRemoveFromGateWhitelistRequest;
3031
+ var zRemoveFromGateWhitelistHeaders = z.object({
3032
+ "X-Project-Id": z.string().optional()
3033
+ });
3034
+ var zRemoveFromGateWhitelistPath = z.object({
3035
+ id: zResourceId
3036
+ });
3037
+ var zRemoveFromGateWhitelistResponse = zGateWhitelist;
3038
+ var zGetGateWhitelistHeaders = z.object({
3039
+ "X-Project-Id": z.string().optional()
3040
+ });
3041
+ var zGetGateWhitelistPath = z.object({
3042
+ id: zResourceId
3043
+ });
3044
+ var zGetGateWhitelistResponse = zGateWhitelist;
3045
+ var zAddToGateWhitelistBody = zAddToGateWhitelistRequest;
3046
+ var zAddToGateWhitelistHeaders = z.object({
3047
+ "X-Project-Id": z.string().optional()
3048
+ });
3049
+ var zAddToGateWhitelistPath = z.object({
3050
+ id: zResourceId
3051
+ });
3052
+ var zAddToGateWhitelistResponse = zGateWhitelist;
3053
+ var zSetGateWhitelistBody = zSetGateWhitelistRequest;
3054
+ var zSetGateWhitelistHeaders = z.object({
3055
+ "X-Project-Id": z.string().optional()
3056
+ });
3057
+ var zSetGateWhitelistPath = z.object({
3058
+ id: zResourceId
3059
+ });
3060
+ var zSetGateWhitelistResponse = zGateWhitelist;
2799
3061
  var zListExperimentsHeaders = z.object({
2800
3062
  "X-Project-Id": z.string().optional()
2801
3063
  });
@@ -3037,6 +3299,14 @@ var zSetKillswitchValuePath = z.object({
3037
3299
  id: zResourceId
3038
3300
  });
3039
3301
  var zSetKillswitchValueResponse2 = zSetKillswitchValueResponse;
3302
+ var zToggleKillswitchBody = zToggleKillswitchRequest;
3303
+ var zToggleKillswitchHeaders = z.object({
3304
+ "X-Project-Id": z.string().optional()
3305
+ });
3306
+ var zToggleKillswitchPath = z.object({
3307
+ id: zResourceId
3308
+ });
3309
+ var zToggleKillswitchResponse2 = zToggleKillswitchResponse;
3040
3310
  var zListUniversesHeaders = z.object({
3041
3311
  "X-Project-Id": z.string().optional()
3042
3312
  });
@@ -3242,15 +3512,23 @@ var zListOpsItemsQuery = z.object({
3242
3512
  "bug",
3243
3513
  "feature_request",
3244
3514
  "error",
3245
- "alert"
3515
+ "alert",
3516
+ "measure_plan"
3246
3517
  ]),
3247
3518
  z.literal("all")
3248
- ]).optional(),
3519
+ ]).optional().default("all"),
3249
3520
  status: z.union([
3250
3521
  zOpsItemStatus,
3522
+ z.literal("unresolved"),
3251
3523
  z.literal("all")
3252
- ]).optional(),
3253
- limit: z.coerce.number().int().gte(1).lte(500).optional(),
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),
3254
3532
  owner: z.string().optional()
3255
3533
  });
3256
3534
  var zListOpsItemsResponse2 = zListOpsItemsResponse;
@@ -3259,6 +3537,10 @@ var zCreateOpsItemHeaders = z.object({
3259
3537
  "X-Project-Id": z.string().optional()
3260
3538
  });
3261
3539
  var zCreateOpsItemResponse2 = zCreateOpsItemResponse;
3540
+ var zCreatePublicBugBody = zCreatePublicBugRequest;
3541
+ var zCreatePublicBugResponse = zCreatePublicTicketResponse;
3542
+ var zCreatePublicFeatureRequestBody = zCreatePublicFeatureRequestRequest;
3543
+ var zCreatePublicFeatureRequestResponse = zCreatePublicTicketResponse;
3262
3544
  var zDeleteOpsItemHeaders = z.object({
3263
3545
  "X-Project-Id": z.string().optional()
3264
3546
  });
@@ -3321,6 +3603,44 @@ var zUpdateOpsInvestigationPath = z.object({
3321
3603
  investigationId: zResourceId
3322
3604
  });
3323
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;
3324
3644
  var zListOpsAgentsHeaders = z.object({
3325
3645
  "X-Project-Id": z.string().optional()
3326
3646
  });
@@ -3436,7 +3756,7 @@ var zListI18nKeysQuery = z.object({
3436
3756
  profile_id: z.string().optional(),
3437
3757
  prefix: z.string().optional(),
3438
3758
  q: z.string().max(100).optional(),
3439
- limit: z.coerce.number().int().gte(1).lte(500).optional(),
3759
+ limit: z.coerce.number().int().gte(1).lte(500).optional().default(200),
3440
3760
  offset: z.coerce.number().int().gte(0).optional().default(0)
3441
3761
  });
3442
3762
  var zListI18nKeysResponse2 = zListI18nKeysResponse;
@@ -3651,6 +3971,14 @@ var zCreateKeyHeaders = z.object({
3651
3971
  "X-Project-Id": z.string().optional()
3652
3972
  });
3653
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;
3654
3982
  var zRevokeKeyHeaders = z.object({
3655
3983
  "X-Project-Id": z.string().optional()
3656
3984
  });
@@ -3665,6 +3993,39 @@ var zSearchResourcesQuery = z.object({
3665
3993
  q: z.string().optional()
3666
3994
  });
3667
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;
3668
4029
 
3669
4030
  export {
3670
4031
  zGateApiRow,
@@ -3681,6 +4042,11 @@ export {
3681
4042
  zEnableGateResponse,
3682
4043
  zDisableGateResponse,
3683
4044
  zListGateActivityResponse,
4045
+ zGateWhitelistAttr,
4046
+ zGateWhitelist,
4047
+ zSetGateWhitelistRequest,
4048
+ zAddToGateWhitelistRequest,
4049
+ zRemoveFromGateWhitelistRequest,
3684
4050
  zExperimentApiRow,
3685
4051
  zListExperimentsResponse,
3686
4052
  zMetricName,
@@ -3736,6 +4102,8 @@ export {
3736
4102
  zSetKillswitchValueRequest,
3737
4103
  zKillswitchValue,
3738
4104
  zSetKillswitchValueResponse,
4105
+ zToggleKillswitchRequest,
4106
+ zToggleKillswitchResponse,
3739
4107
  zUniverseParam,
3740
4108
  zUniverseParamSchema,
3741
4109
  zListUniversesResponse,
@@ -3761,8 +4129,10 @@ export {
3761
4129
  zDeleteAttributeResponse,
3762
4130
  zUpdateAttributeRequest,
3763
4131
  zUpdateAttributeResponse,
4132
+ zMetricDisplayConfig,
3764
4133
  zQueryIr,
3765
4134
  zListMetricsResponse,
4135
+ zMetricDisplayName,
3766
4136
  zMetricEventName,
3767
4137
  zMetricQueryDsl,
3768
4138
  zMetricWinsorizePct,
@@ -3814,10 +4184,14 @@ export {
3814
4184
  zOpsRunActionOrNull,
3815
4185
  zOpsRun,
3816
4186
  zListOpsItemsResponse,
4187
+ zTagName,
3817
4188
  zCreateBugRequest,
3818
4189
  zCreateFeatureRequestRequest,
3819
4190
  zCreateOpsItemRequest,
3820
4191
  zCreateOpsItemResponse,
4192
+ zCreatePublicBugRequest,
4193
+ zCreatePublicTicketResponse,
4194
+ zCreatePublicFeatureRequestRequest,
3821
4195
  zOpsItemAttachment,
3822
4196
  zOpsItemRelated,
3823
4197
  zGetOpsItemResponse,
@@ -3837,6 +4211,16 @@ export {
3837
4211
  zListOpsInvestigationsResponse,
3838
4212
  zCreateOpsInvestigationRequest,
3839
4213
  zUpdateOpsInvestigationRequest,
4214
+ zOpsQuestionStatus,
4215
+ zOpsQuestionAnswer,
4216
+ zOpsQuestionDelivery,
4217
+ zOpsQuestion,
4218
+ zListOpsQuestionsResponse,
4219
+ zOpsQuestionOption,
4220
+ zAskOpsQuestionInput,
4221
+ zAskOpsQuestionsRequest,
4222
+ zAskOpsQuestionsResponse,
4223
+ zAnswerOpsQuestionRequest,
3840
4224
  zOpsAgentProfile,
3841
4225
  zListOpsAgentsResponse,
3842
4226
  zOpsCommentAuthorType,
@@ -3847,6 +4231,7 @@ export {
3847
4231
  zNotifyOpsRequest,
3848
4232
  zNotifyOpsResponse,
3849
4233
  zListSlackChannelsResponse,
4234
+ zAlertCompositeSpec,
3850
4235
  zListAlertRulesResponse,
3851
4236
  zCreateAlertRuleRequest,
3852
4237
  zCreateAlertRuleResponse,
@@ -3896,8 +4281,10 @@ export {
3896
4281
  zCreateOAuthConnectorRequest,
3897
4282
  zClaudeTriggerConfig,
3898
4283
  zCreateClaudeTriggerRequest,
4284
+ zCursorTriggerRepo,
3899
4285
  zCursorTriggerConfig,
3900
4286
  zCreateCursorTriggerRequest,
4287
+ zCopilotTriggerRepo,
3901
4288
  zCopilotTriggerConfig,
3902
4289
  zCreateCopilotTriggerRequest,
3903
4290
  zJulesTriggerConfig,
@@ -3920,9 +4307,16 @@ export {
3920
4307
  zListKeysResponse,
3921
4308
  zCreateKeyRequest,
3922
4309
  zCreateKeyResponse,
4310
+ zUpdateKeyRequest,
3923
4311
  zRevokeKeyResponse,
3924
4312
  zSearchHit,
3925
4313
  zSearchResponse,
4314
+ zTag,
4315
+ zListTagsResponse,
4316
+ zTaggableEntityType,
4317
+ zEntityTagsResponse,
4318
+ zSetEntityTagsRequest,
4319
+ zUpdateEntityTagsRequest,
3926
4320
  zProjectId,
3927
4321
  zPaginationLimit,
3928
4322
  zPaginationCursor,
@@ -3953,6 +4347,21 @@ export {
3953
4347
  zListGateActivityPath,
3954
4348
  zListGateActivityQuery,
3955
4349
  zListGateActivityResponse2,
4350
+ zRemoveFromGateWhitelistBody,
4351
+ zRemoveFromGateWhitelistHeaders,
4352
+ zRemoveFromGateWhitelistPath,
4353
+ zRemoveFromGateWhitelistResponse,
4354
+ zGetGateWhitelistHeaders,
4355
+ zGetGateWhitelistPath,
4356
+ zGetGateWhitelistResponse,
4357
+ zAddToGateWhitelistBody,
4358
+ zAddToGateWhitelistHeaders,
4359
+ zAddToGateWhitelistPath,
4360
+ zAddToGateWhitelistResponse,
4361
+ zSetGateWhitelistBody,
4362
+ zSetGateWhitelistHeaders,
4363
+ zSetGateWhitelistPath,
4364
+ zSetGateWhitelistResponse,
3956
4365
  zListExperimentsHeaders,
3957
4366
  zListExperimentsQuery,
3958
4367
  zListExperimentsResponse2,
@@ -4062,6 +4471,10 @@ export {
4062
4471
  zSetKillswitchValueHeaders,
4063
4472
  zSetKillswitchValuePath,
4064
4473
  zSetKillswitchValueResponse2,
4474
+ zToggleKillswitchBody,
4475
+ zToggleKillswitchHeaders,
4476
+ zToggleKillswitchPath,
4477
+ zToggleKillswitchResponse2,
4065
4478
  zListUniversesHeaders,
4066
4479
  zListUniversesQuery,
4067
4480
  zListUniversesResponse2,
@@ -4159,6 +4572,10 @@ export {
4159
4572
  zCreateOpsItemBody,
4160
4573
  zCreateOpsItemHeaders,
4161
4574
  zCreateOpsItemResponse2,
4575
+ zCreatePublicBugBody,
4576
+ zCreatePublicBugResponse,
4577
+ zCreatePublicFeatureRequestBody,
4578
+ zCreatePublicFeatureRequestResponse,
4162
4579
  zDeleteOpsItemHeaders,
4163
4580
  zDeleteOpsItemPath,
4164
4581
  zDeleteOpsItemResponse2,
@@ -4188,6 +4605,21 @@ export {
4188
4605
  zUpdateOpsInvestigationHeaders,
4189
4606
  zUpdateOpsInvestigationPath,
4190
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,
4191
4623
  zListOpsAgentsHeaders,
4192
4624
  zListOpsAgentsResponse2,
4193
4625
  zListOpsCommentsHeaders,
@@ -4340,11 +4772,29 @@ export {
4340
4772
  zCreateKeyBody,
4341
4773
  zCreateKeyHeaders,
4342
4774
  zCreateKeyResponse2,
4775
+ zUpdateKeyBody,
4776
+ zUpdateKeyHeaders,
4777
+ zUpdateKeyPath,
4778
+ zUpdateKeyResponse,
4343
4779
  zRevokeKeyHeaders,
4344
4780
  zRevokeKeyPath,
4345
4781
  zRevokeKeyResponse2,
4346
4782
  zSearchResourcesHeaders,
4347
4783
  zSearchResourcesQuery,
4348
- 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
4349
4799
  };
4350
- //# sourceMappingURL=chunk-UV333BIK.js.map
4800
+ //# sourceMappingURL=chunk-ZYK74ZIW.js.map