@shipeasy/openapi 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/{chunk-643YSMLU.js → chunk-4QSU744W.js} +183 -1
  2. package/dist/chunk-4QSU744W.js.map +1 -0
  3. package/dist/{chunk-MRW3DJ57.js → chunk-ZPKHTUVV.js} +1238 -335
  4. package/dist/chunk-ZPKHTUVV.js.map +1 -0
  5. package/dist/{client-K0ShmsC7.d.ts → client-WGNXT4xl.d.ts} +5818 -2647
  6. package/dist/client.d.ts +1 -1
  7. package/dist/client.js +51 -1
  8. package/dist/custom.js +4 -4
  9. package/dist/custom.js.map +1 -1
  10. package/dist/index.d.ts +2 -2
  11. package/dist/index.js +52 -2
  12. package/dist/index.js.map +1 -1
  13. package/dist/schemas.d.ts +3538 -534
  14. package/dist/schemas.js +253 -5
  15. package/openapi.json +12914 -7158
  16. package/openapi.yaml +7672 -3742
  17. package/package.json +1 -1
  18. package/spec/components/errors.yaml +33 -1
  19. package/spec/components/schemas/alerts.yaml +138 -0
  20. package/spec/components/schemas/attributes.yaml +53 -3
  21. package/spec/components/schemas/common.yaml +16 -0
  22. package/spec/components/schemas/configs.yaml +58 -0
  23. package/spec/components/schemas/connectors.yaml +5 -1
  24. package/spec/components/schemas/errors-api.yaml +116 -6
  25. package/spec/components/schemas/experiment-api-row.yaml +293 -0
  26. package/spec/components/schemas/experiments.yaml +395 -380
  27. package/spec/components/schemas/gates.yaml +355 -272
  28. package/spec/components/schemas/i18n.yaml +169 -40
  29. package/spec/components/schemas/keys.yaml +2 -1
  30. package/spec/components/schemas/killswitches.yaml +36 -0
  31. package/spec/components/schemas/metrics.yaml +200 -23
  32. package/spec/components/schemas/ops.yaml +918 -29
  33. package/spec/components/schemas/projects.yaml +246 -2
  34. package/spec/components/schemas/universes.yaml +83 -1
  35. package/spec/openapi.yaml +61 -0
  36. package/spec/paths/alert-rules.yaml +1 -0
  37. package/spec/paths/alerts.yaml +184 -0
  38. package/spec/paths/attributes.yaml +23 -5
  39. package/spec/paths/configs.yaml +71 -0
  40. package/spec/paths/errors.yaml +112 -2
  41. package/spec/paths/events.yaml +1 -0
  42. package/spec/paths/experiments.yaml +244 -16
  43. package/spec/paths/gates.yaml +138 -0
  44. package/spec/paths/i18n.yaml +290 -6
  45. package/spec/paths/keys.yaml +1 -0
  46. package/spec/paths/killswitches.yaml +7 -0
  47. package/spec/paths/metrics.yaml +187 -0
  48. package/spec/paths/ops.yaml +410 -0
  49. package/spec/paths/projects.yaml +62 -2
  50. package/spec/paths/universes.yaml +1 -0
  51. package/dist/chunk-643YSMLU.js.map +0 -1
  52. package/dist/chunk-MRW3DJ57.js.map +0 -1
@@ -806,6 +806,11 @@ var deleteGate = (options) => (options.client ?? client).delete({
806
806
  url: "/api/admin/gates/{id}",
807
807
  ...options
808
808
  });
809
+ var getGate = (options) => (options.client ?? client).get({
810
+ security: [{ scheme: "bearer", type: "http" }],
811
+ url: "/api/admin/gates/{id}",
812
+ ...options
813
+ });
809
814
  var updateGate = (options) => (options.client ?? client).patch({
810
815
  security: [{ scheme: "bearer", type: "http" }],
811
816
  url: "/api/admin/gates/{id}",
@@ -825,6 +830,11 @@ var disableGate = (options) => (options.client ?? client).post({
825
830
  url: "/api/admin/gates/{id}/disable",
826
831
  ...options
827
832
  });
833
+ var listGateActivity = (options) => (options.client ?? client).get({
834
+ security: [{ scheme: "bearer", type: "http" }],
835
+ url: "/api/admin/gates/{id}/activity",
836
+ ...options
837
+ });
828
838
  var listExperiments = (options) => (options?.client ?? client).get({
829
839
  security: [{ scheme: "bearer", type: "http" }],
830
840
  url: "/api/admin/experiments",
@@ -891,6 +901,20 @@ var reanalyzeExperiment = (options) => (options.client ?? client).post({
891
901
  url: "/api/admin/experiments/{id}/reanalyze",
892
902
  ...options
893
903
  });
904
+ var createExperimentReadout = (options) => (options.client ?? client).post({
905
+ security: [{ scheme: "bearer", type: "http" }],
906
+ url: "/api/admin/experiments/{id}/readouts",
907
+ ...options,
908
+ headers: {
909
+ "Content-Type": "application/json",
910
+ ...options.headers
911
+ }
912
+ });
913
+ var getExperimentReadout = (options) => (options.client ?? client).get({
914
+ security: [{ scheme: "bearer", type: "http" }],
915
+ url: "/api/admin/experiments/{id}/readouts/{readoutId}",
916
+ ...options
917
+ });
894
918
  var listConfigs = (options) => (options?.client ?? client).get({
895
919
  security: [{ scheme: "bearer", type: "http" }],
896
920
  url: "/api/admin/configs",
@@ -965,6 +989,11 @@ var updateConfigSchema = (options) => (options.client ?? client).patch({
965
989
  ...options.headers
966
990
  }
967
991
  });
992
+ var listConfigVersions = (options) => (options.client ?? client).get({
993
+ security: [{ scheme: "bearer", type: "http" }],
994
+ url: "/api/admin/configs/{id}/versions",
995
+ ...options
996
+ });
968
997
  var listKillswitches = (options) => (options?.client ?? client).get({
969
998
  security: [{ scheme: "bearer", type: "http" }],
970
999
  url: "/api/admin/killswitches",
@@ -1152,6 +1181,25 @@ var updateMetric = (options) => (options.client ?? client).patch({
1152
1181
  ...options.headers
1153
1182
  }
1154
1183
  });
1184
+ var listMetricExperiments = (options) => (options.client ?? client).get({
1185
+ security: [{ scheme: "bearer", type: "http" }],
1186
+ url: "/api/admin/metrics/{id}/experiments",
1187
+ ...options
1188
+ });
1189
+ var unarchiveMetric = (options) => (options.client ?? client).post({
1190
+ security: [{ scheme: "bearer", type: "http" }],
1191
+ url: "/api/admin/metrics/{id}/unarchive",
1192
+ ...options
1193
+ });
1194
+ var getMetricSeries = (options) => (options.client ?? client).post({
1195
+ security: [{ scheme: "bearer", type: "http" }],
1196
+ url: "/api/admin/metrics/{id}/series",
1197
+ ...options,
1198
+ headers: {
1199
+ "Content-Type": "application/json",
1200
+ ...options.headers
1201
+ }
1202
+ });
1155
1203
  var listEvents = (options) => (options?.client ?? client).get({
1156
1204
  security: [{ scheme: "bearer", type: "http" }],
1157
1205
  url: "/api/admin/events",
@@ -1208,6 +1256,11 @@ var createOpsItem = (options) => (options.client ?? client).post({
1208
1256
  ...options.headers
1209
1257
  }
1210
1258
  });
1259
+ var deleteOpsItem = (options) => (options.client ?? client).delete({
1260
+ security: [{ scheme: "bearer", type: "http" }],
1261
+ url: "/api/admin/ops/{handle}",
1262
+ ...options
1263
+ });
1211
1264
  var getOpsItem = (options) => (options.client ?? client).get({
1212
1265
  security: [{ scheme: "bearer", type: "http" }],
1213
1266
  url: "/api/admin/ops/{handle}",
@@ -1231,6 +1284,48 @@ var linkPrToOpsItem = (options) => (options.client ?? client).post({
1231
1284
  ...options.headers
1232
1285
  }
1233
1286
  });
1287
+ var ackOpsItem = (options) => (options.client ?? client).post({
1288
+ security: [{ scheme: "bearer", type: "http" }],
1289
+ url: "/api/admin/ops/{handle}/ack",
1290
+ ...options,
1291
+ headers: {
1292
+ "Content-Type": "application/json",
1293
+ ...options.headers
1294
+ }
1295
+ });
1296
+ var listOpsInvestigations = (options) => (options.client ?? client).get({
1297
+ security: [{ scheme: "bearer", type: "http" }],
1298
+ url: "/api/admin/ops/{handle}/investigation",
1299
+ ...options
1300
+ });
1301
+ var createOpsInvestigation = (options) => (options.client ?? client).post({
1302
+ security: [{ scheme: "bearer", type: "http" }],
1303
+ url: "/api/admin/ops/{handle}/investigation",
1304
+ ...options,
1305
+ headers: {
1306
+ "Content-Type": "application/json",
1307
+ ...options.headers
1308
+ }
1309
+ });
1310
+ var listOpsAgents = (options) => (options?.client ?? client).get({
1311
+ security: [{ scheme: "bearer", type: "http" }],
1312
+ url: "/api/admin/agent-profiles",
1313
+ ...options
1314
+ });
1315
+ var listOpsComments = (options) => (options.client ?? client).get({
1316
+ security: [{ scheme: "bearer", type: "http" }],
1317
+ url: "/api/admin/ops/{handle}/comments",
1318
+ ...options
1319
+ });
1320
+ var createOpsComment = (options) => (options.client ?? client).post({
1321
+ security: [{ scheme: "bearer", type: "http" }],
1322
+ url: "/api/admin/ops/{handle}/comments",
1323
+ ...options,
1324
+ headers: {
1325
+ "Content-Type": "application/json",
1326
+ ...options.headers
1327
+ }
1328
+ });
1234
1329
  var notifyOps = (options) => (options.client ?? client).post({
1235
1330
  security: [{ scheme: "bearer", type: "http" }],
1236
1331
  url: "/api/admin/notifications",
@@ -1273,6 +1368,20 @@ var updateAlertRule = (options) => (options.client ?? client).patch({
1273
1368
  ...options.headers
1274
1369
  }
1275
1370
  });
1371
+ var listAlerts = (options) => (options?.client ?? client).get({
1372
+ security: [{ scheme: "bearer", type: "http" }],
1373
+ url: "/api/admin/alerts",
1374
+ ...options
1375
+ });
1376
+ var updateAlert = (options) => (options.client ?? client).patch({
1377
+ security: [{ scheme: "bearer", type: "http" }],
1378
+ url: "/api/admin/alerts/{id}",
1379
+ ...options,
1380
+ headers: {
1381
+ "Content-Type": "application/json",
1382
+ ...options.headers
1383
+ }
1384
+ });
1276
1385
  var getCurrentProject = (options) => (options?.client ?? client).get({
1277
1386
  security: [{ scheme: "bearer", type: "http" }],
1278
1387
  url: "/api/admin/projects/current",
@@ -1287,6 +1396,11 @@ var upsertProject = (options) => (options.client ?? client).post({
1287
1396
  ...options.headers
1288
1397
  }
1289
1398
  });
1399
+ var getProject = (options) => (options.client ?? client).get({
1400
+ security: [{ scheme: "bearer", type: "http" }],
1401
+ url: "/api/admin/projects/{id}",
1402
+ ...options
1403
+ });
1290
1404
  var updateProject = (options) => (options.client ?? client).patch({
1291
1405
  security: [{ scheme: "bearer", type: "http" }],
1292
1406
  url: "/api/admin/projects/{id}",
@@ -1324,6 +1438,20 @@ var pushI18nKeys = (options) => (options.client ?? client).post({
1324
1438
  ...options.headers
1325
1439
  }
1326
1440
  });
1441
+ var upsertI18nKeys = (options) => (options.client ?? client).put({
1442
+ security: [{ scheme: "bearer", type: "http" }],
1443
+ url: "/api/admin/i18n/keys",
1444
+ ...options,
1445
+ headers: {
1446
+ "Content-Type": "application/json",
1447
+ ...options.headers
1448
+ }
1449
+ });
1450
+ var deleteI18nKey = (options) => (options.client ?? client).delete({
1451
+ security: [{ scheme: "bearer", type: "http" }],
1452
+ url: "/api/admin/i18n/keys/{id}",
1453
+ ...options
1454
+ });
1327
1455
  var updateI18nKey = (options) => (options.client ?? client).put({
1328
1456
  security: [{ scheme: "bearer", type: "http" }],
1329
1457
  url: "/api/admin/i18n/keys/{id}",
@@ -1347,6 +1475,11 @@ var createI18nDraft = (options) => (options.client ?? client).post({
1347
1475
  ...options.headers
1348
1476
  }
1349
1477
  });
1478
+ var deleteI18nDraft = (options) => (options.client ?? client).delete({
1479
+ security: [{ scheme: "bearer", type: "http" }],
1480
+ url: "/api/admin/i18n/drafts/{draftId}",
1481
+ ...options
1482
+ });
1350
1483
  var updateI18nDraft = (options) => (options.client ?? client).patch({
1351
1484
  security: [{ scheme: "bearer", type: "http" }],
1352
1485
  url: "/api/admin/i18n/drafts/{draftId}",
@@ -1356,6 +1489,25 @@ var updateI18nDraft = (options) => (options.client ?? client).patch({
1356
1489
  ...options.headers
1357
1490
  }
1358
1491
  });
1492
+ var deleteI18nProfile = (options) => (options.client ?? client).delete({
1493
+ security: [{ scheme: "bearer", type: "http" }],
1494
+ url: "/api/admin/i18n/profiles/{profileId}",
1495
+ ...options
1496
+ });
1497
+ var listI18nDraftKeys = (options) => (options.client ?? client).get({
1498
+ security: [{ scheme: "bearer", type: "http" }],
1499
+ url: "/api/admin/i18n/drafts/{draftId}/keys",
1500
+ ...options
1501
+ });
1502
+ var upsertI18nDraftKey = (options) => (options.client ?? client).post({
1503
+ security: [{ scheme: "bearer", type: "http" }],
1504
+ url: "/api/admin/i18n/drafts/{draftId}/keys",
1505
+ ...options,
1506
+ headers: {
1507
+ "Content-Type": "application/json",
1508
+ ...options.headers
1509
+ }
1510
+ });
1359
1511
  var publishI18nProfile = (options) => (options.client ?? client).post({
1360
1512
  security: [{ scheme: "bearer", type: "http" }],
1361
1513
  url: "/api/admin/i18n/profiles/{profileId}/publish",
@@ -1398,6 +1550,11 @@ var fileErrorTicket = (options) => (options.client ?? client).post({
1398
1550
  url: "/api/admin/errors/{id}/file",
1399
1551
  ...options
1400
1552
  });
1553
+ var resolveError = (options) => (options.client ?? client).post({
1554
+ security: [{ scheme: "bearer", type: "http" }],
1555
+ url: "/api/admin/errors/{id}/resolve",
1556
+ ...options
1557
+ });
1401
1558
  var getErrorSeries = (options) => (options.client ?? client).post({
1402
1559
  security: [{ scheme: "bearer", type: "http" }],
1403
1560
  url: "/api/admin/errors/{id}/series",
@@ -1513,9 +1670,11 @@ export {
1513
1670
  listGates,
1514
1671
  createGate,
1515
1672
  deleteGate,
1673
+ getGate,
1516
1674
  updateGate,
1517
1675
  enableGate,
1518
1676
  disableGate,
1677
+ listGateActivity,
1519
1678
  listExperiments,
1520
1679
  createExperiment,
1521
1680
  deleteExperiment,
@@ -1526,6 +1685,8 @@ export {
1526
1685
  getExperimentResults,
1527
1686
  getExperimentTimeseries,
1528
1687
  reanalyzeExperiment,
1688
+ createExperimentReadout,
1689
+ getExperimentReadout,
1529
1690
  listConfigs,
1530
1691
  createConfig2,
1531
1692
  deleteConfig,
@@ -1536,6 +1697,7 @@ export {
1536
1697
  publishConfigDraft,
1537
1698
  listConfigActivity,
1538
1699
  updateConfigSchema,
1700
+ listConfigVersions,
1539
1701
  listKillswitches,
1540
1702
  createKillswitch,
1541
1703
  deleteKillswitch,
@@ -1563,6 +1725,9 @@ export {
1563
1725
  deleteMetric,
1564
1726
  getMetric,
1565
1727
  updateMetric,
1728
+ listMetricExperiments,
1729
+ unarchiveMetric,
1730
+ getMetricSeries,
1566
1731
  listEvents,
1567
1732
  createEvent,
1568
1733
  deleteEvent,
@@ -1571,32 +1736,49 @@ export {
1571
1736
  approveEvent,
1572
1737
  listOpsItems,
1573
1738
  createOpsItem,
1739
+ deleteOpsItem,
1574
1740
  getOpsItem,
1575
1741
  updateOpsItem,
1576
1742
  linkPrToOpsItem,
1743
+ ackOpsItem,
1744
+ listOpsInvestigations,
1745
+ createOpsInvestigation,
1746
+ listOpsAgents,
1747
+ listOpsComments,
1748
+ createOpsComment,
1577
1749
  notifyOps,
1578
1750
  listSlackChannels,
1579
1751
  listAlertRules,
1580
1752
  createAlertRule,
1581
1753
  deleteAlertRule,
1582
1754
  updateAlertRule,
1755
+ listAlerts,
1756
+ updateAlert,
1583
1757
  getCurrentProject,
1584
1758
  upsertProject,
1759
+ getProject,
1585
1760
  updateProject,
1586
1761
  listI18nProfiles,
1587
1762
  createI18nProfile,
1588
1763
  listI18nKeys,
1589
1764
  pushI18nKeys,
1765
+ upsertI18nKeys,
1766
+ deleteI18nKey,
1590
1767
  updateI18nKey,
1591
1768
  listI18nDrafts,
1592
1769
  createI18nDraft,
1770
+ deleteI18nDraft,
1593
1771
  updateI18nDraft,
1772
+ deleteI18nProfile,
1773
+ listI18nDraftKeys,
1774
+ upsertI18nDraftKey,
1594
1775
  publishI18nProfile,
1595
1776
  setI18nLabel,
1596
1777
  listErrors,
1597
1778
  getError,
1598
1779
  updateErrorStatus,
1599
1780
  fileErrorTicket,
1781
+ resolveError,
1600
1782
  getErrorSeries,
1601
1783
  listConnectors,
1602
1784
  createConnector,
@@ -1613,4 +1795,4 @@ export {
1613
1795
  searchResources,
1614
1796
  configure
1615
1797
  };
1616
- //# sourceMappingURL=chunk-643YSMLU.js.map
1798
+ //# sourceMappingURL=chunk-4QSU744W.js.map