@shipeasy/openapi 2.3.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-PRN4AEAM.js → chunk-DBTSD3W5.js} +1085 -261
- package/dist/chunk-DBTSD3W5.js.map +1 -0
- package/dist/{chunk-LYNWK55D.js → chunk-RDMD5XQT.js} +171 -1
- package/dist/chunk-RDMD5XQT.js.map +1 -0
- package/dist/{client-DO5HTb_L.d.ts → client-ObcuFHaV.d.ts} +5605 -2734
- package/dist/client.d.ts +1 -1
- package/dist/client.js +47 -1
- package/dist/custom.d.ts +9 -4
- package/dist/custom.js +57 -9
- package/dist/custom.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +48 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +3171 -485
- package/dist/schemas.js +229 -1
- package/openapi.json +13264 -8071
- package/openapi.yaml +5108 -1550
- package/package.json +1 -1
- package/spec/components/errors.yaml +3 -0
- package/spec/components/schemas/alerts.yaml +138 -0
- package/spec/components/schemas/attributes.yaml +53 -3
- package/spec/components/schemas/common.yaml +10 -0
- package/spec/components/schemas/configs.yaml +91 -3
- package/spec/components/schemas/connectors.yaml +5 -1
- package/spec/components/schemas/errors-api.yaml +51 -4
- package/spec/components/schemas/experiments.yaml +347 -87
- package/spec/components/schemas/gates.yaml +350 -277
- package/spec/components/schemas/i18n.yaml +169 -40
- package/spec/components/schemas/killswitches.yaml +36 -0
- package/spec/components/schemas/metrics.yaml +199 -7
- package/spec/components/schemas/ops.yaml +961 -29
- package/spec/components/schemas/projects.yaml +129 -3
- package/spec/openapi.yaml +58 -0
- package/spec/paths/alerts.yaml +184 -0
- package/spec/paths/attributes.yaml +23 -5
- package/spec/paths/configs.yaml +98 -21
- package/spec/paths/errors.yaml +16 -0
- package/spec/paths/experiments.yaml +236 -16
- package/spec/paths/gates.yaml +137 -0
- package/spec/paths/i18n.yaml +290 -6
- package/spec/paths/killswitches.yaml +6 -0
- package/spec/paths/metrics.yaml +186 -0
- package/spec/paths/ops.yaml +382 -0
- package/spec/paths/projects.yaml +60 -0
- package/dist/chunk-LYNWK55D.js.map +0 -1
- package/dist/chunk-PRN4AEAM.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,43 @@ 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 updateOpsInvestigation = (options) => (options.client ?? client).patch({
|
|
1311
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1312
|
+
url: "/api/admin/ops/{handle}/investigation/{investigationId}",
|
|
1313
|
+
...options,
|
|
1314
|
+
headers: {
|
|
1315
|
+
"Content-Type": "application/json",
|
|
1316
|
+
...options.headers
|
|
1317
|
+
}
|
|
1318
|
+
});
|
|
1319
|
+
var listOpsAgents = (options) => (options?.client ?? client).get({
|
|
1320
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1321
|
+
url: "/api/admin/agent-profiles",
|
|
1322
|
+
...options
|
|
1323
|
+
});
|
|
1234
1324
|
var listOpsComments = (options) => (options.client ?? client).get({
|
|
1235
1325
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1236
1326
|
url: "/api/admin/ops/{handle}/comments",
|
|
@@ -1287,6 +1377,20 @@ var updateAlertRule = (options) => (options.client ?? client).patch({
|
|
|
1287
1377
|
...options.headers
|
|
1288
1378
|
}
|
|
1289
1379
|
});
|
|
1380
|
+
var listAlerts = (options) => (options?.client ?? client).get({
|
|
1381
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1382
|
+
url: "/api/admin/alerts",
|
|
1383
|
+
...options
|
|
1384
|
+
});
|
|
1385
|
+
var updateAlert = (options) => (options.client ?? client).patch({
|
|
1386
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1387
|
+
url: "/api/admin/alerts/{id}",
|
|
1388
|
+
...options,
|
|
1389
|
+
headers: {
|
|
1390
|
+
"Content-Type": "application/json",
|
|
1391
|
+
...options.headers
|
|
1392
|
+
}
|
|
1393
|
+
});
|
|
1290
1394
|
var getCurrentProject = (options) => (options?.client ?? client).get({
|
|
1291
1395
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1292
1396
|
url: "/api/admin/projects/current",
|
|
@@ -1301,6 +1405,11 @@ var upsertProject = (options) => (options.client ?? client).post({
|
|
|
1301
1405
|
...options.headers
|
|
1302
1406
|
}
|
|
1303
1407
|
});
|
|
1408
|
+
var getProject = (options) => (options.client ?? client).get({
|
|
1409
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1410
|
+
url: "/api/admin/projects/{id}",
|
|
1411
|
+
...options
|
|
1412
|
+
});
|
|
1304
1413
|
var updateProject = (options) => (options.client ?? client).patch({
|
|
1305
1414
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1306
1415
|
url: "/api/admin/projects/{id}",
|
|
@@ -1338,6 +1447,20 @@ var pushI18nKeys = (options) => (options.client ?? client).post({
|
|
|
1338
1447
|
...options.headers
|
|
1339
1448
|
}
|
|
1340
1449
|
});
|
|
1450
|
+
var upsertI18nKeys = (options) => (options.client ?? client).put({
|
|
1451
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1452
|
+
url: "/api/admin/i18n/keys",
|
|
1453
|
+
...options,
|
|
1454
|
+
headers: {
|
|
1455
|
+
"Content-Type": "application/json",
|
|
1456
|
+
...options.headers
|
|
1457
|
+
}
|
|
1458
|
+
});
|
|
1459
|
+
var deleteI18nKey = (options) => (options.client ?? client).delete({
|
|
1460
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1461
|
+
url: "/api/admin/i18n/keys/{id}",
|
|
1462
|
+
...options
|
|
1463
|
+
});
|
|
1341
1464
|
var updateI18nKey = (options) => (options.client ?? client).put({
|
|
1342
1465
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1343
1466
|
url: "/api/admin/i18n/keys/{id}",
|
|
@@ -1361,6 +1484,11 @@ var createI18nDraft = (options) => (options.client ?? client).post({
|
|
|
1361
1484
|
...options.headers
|
|
1362
1485
|
}
|
|
1363
1486
|
});
|
|
1487
|
+
var deleteI18nDraft = (options) => (options.client ?? client).delete({
|
|
1488
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1489
|
+
url: "/api/admin/i18n/drafts/{draftId}",
|
|
1490
|
+
...options
|
|
1491
|
+
});
|
|
1364
1492
|
var updateI18nDraft = (options) => (options.client ?? client).patch({
|
|
1365
1493
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1366
1494
|
url: "/api/admin/i18n/drafts/{draftId}",
|
|
@@ -1370,6 +1498,25 @@ var updateI18nDraft = (options) => (options.client ?? client).patch({
|
|
|
1370
1498
|
...options.headers
|
|
1371
1499
|
}
|
|
1372
1500
|
});
|
|
1501
|
+
var deleteI18nProfile = (options) => (options.client ?? client).delete({
|
|
1502
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1503
|
+
url: "/api/admin/i18n/profiles/{profileId}",
|
|
1504
|
+
...options
|
|
1505
|
+
});
|
|
1506
|
+
var listI18nDraftKeys = (options) => (options.client ?? client).get({
|
|
1507
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1508
|
+
url: "/api/admin/i18n/drafts/{draftId}/keys",
|
|
1509
|
+
...options
|
|
1510
|
+
});
|
|
1511
|
+
var upsertI18nDraftKey = (options) => (options.client ?? client).post({
|
|
1512
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1513
|
+
url: "/api/admin/i18n/drafts/{draftId}/keys",
|
|
1514
|
+
...options,
|
|
1515
|
+
headers: {
|
|
1516
|
+
"Content-Type": "application/json",
|
|
1517
|
+
...options.headers
|
|
1518
|
+
}
|
|
1519
|
+
});
|
|
1373
1520
|
var publishI18nProfile = (options) => (options.client ?? client).post({
|
|
1374
1521
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1375
1522
|
url: "/api/admin/i18n/profiles/{profileId}/publish",
|
|
@@ -1532,9 +1679,11 @@ export {
|
|
|
1532
1679
|
listGates,
|
|
1533
1680
|
createGate,
|
|
1534
1681
|
deleteGate,
|
|
1682
|
+
getGate,
|
|
1535
1683
|
updateGate,
|
|
1536
1684
|
enableGate,
|
|
1537
1685
|
disableGate,
|
|
1686
|
+
listGateActivity,
|
|
1538
1687
|
listExperiments,
|
|
1539
1688
|
createExperiment,
|
|
1540
1689
|
deleteExperiment,
|
|
@@ -1545,6 +1694,8 @@ export {
|
|
|
1545
1694
|
getExperimentResults,
|
|
1546
1695
|
getExperimentTimeseries,
|
|
1547
1696
|
reanalyzeExperiment,
|
|
1697
|
+
createExperimentReadout,
|
|
1698
|
+
getExperimentReadout,
|
|
1548
1699
|
listConfigs,
|
|
1549
1700
|
createConfig2,
|
|
1550
1701
|
deleteConfig,
|
|
@@ -1555,6 +1706,7 @@ export {
|
|
|
1555
1706
|
publishConfigDraft,
|
|
1556
1707
|
listConfigActivity,
|
|
1557
1708
|
updateConfigSchema,
|
|
1709
|
+
listConfigVersions,
|
|
1558
1710
|
listKillswitches,
|
|
1559
1711
|
createKillswitch,
|
|
1560
1712
|
deleteKillswitch,
|
|
@@ -1582,6 +1734,9 @@ export {
|
|
|
1582
1734
|
deleteMetric,
|
|
1583
1735
|
getMetric,
|
|
1584
1736
|
updateMetric,
|
|
1737
|
+
listMetricExperiments,
|
|
1738
|
+
unarchiveMetric,
|
|
1739
|
+
getMetricSeries,
|
|
1585
1740
|
listEvents,
|
|
1586
1741
|
createEvent,
|
|
1587
1742
|
deleteEvent,
|
|
@@ -1590,9 +1745,15 @@ export {
|
|
|
1590
1745
|
approveEvent,
|
|
1591
1746
|
listOpsItems,
|
|
1592
1747
|
createOpsItem,
|
|
1748
|
+
deleteOpsItem,
|
|
1593
1749
|
getOpsItem,
|
|
1594
1750
|
updateOpsItem,
|
|
1595
1751
|
linkPrToOpsItem,
|
|
1752
|
+
ackOpsItem,
|
|
1753
|
+
listOpsInvestigations,
|
|
1754
|
+
createOpsInvestigation,
|
|
1755
|
+
updateOpsInvestigation,
|
|
1756
|
+
listOpsAgents,
|
|
1596
1757
|
listOpsComments,
|
|
1597
1758
|
createOpsComment,
|
|
1598
1759
|
notifyOps,
|
|
@@ -1601,17 +1762,26 @@ export {
|
|
|
1601
1762
|
createAlertRule,
|
|
1602
1763
|
deleteAlertRule,
|
|
1603
1764
|
updateAlertRule,
|
|
1765
|
+
listAlerts,
|
|
1766
|
+
updateAlert,
|
|
1604
1767
|
getCurrentProject,
|
|
1605
1768
|
upsertProject,
|
|
1769
|
+
getProject,
|
|
1606
1770
|
updateProject,
|
|
1607
1771
|
listI18nProfiles,
|
|
1608
1772
|
createI18nProfile,
|
|
1609
1773
|
listI18nKeys,
|
|
1610
1774
|
pushI18nKeys,
|
|
1775
|
+
upsertI18nKeys,
|
|
1776
|
+
deleteI18nKey,
|
|
1611
1777
|
updateI18nKey,
|
|
1612
1778
|
listI18nDrafts,
|
|
1613
1779
|
createI18nDraft,
|
|
1780
|
+
deleteI18nDraft,
|
|
1614
1781
|
updateI18nDraft,
|
|
1782
|
+
deleteI18nProfile,
|
|
1783
|
+
listI18nDraftKeys,
|
|
1784
|
+
upsertI18nDraftKey,
|
|
1615
1785
|
publishI18nProfile,
|
|
1616
1786
|
setI18nLabel,
|
|
1617
1787
|
listErrors,
|
|
@@ -1635,4 +1805,4 @@ export {
|
|
|
1635
1805
|
searchResources,
|
|
1636
1806
|
configure
|
|
1637
1807
|
};
|
|
1638
|
-
//# sourceMappingURL=chunk-
|
|
1808
|
+
//# sourceMappingURL=chunk-RDMD5XQT.js.map
|