@shipeasy/openapi 2.3.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.
- package/dist/{chunk-LYNWK55D.js → chunk-4QSU744W.js} +161 -1
- package/dist/chunk-4QSU744W.js.map +1 -0
- package/dist/{chunk-PRN4AEAM.js → chunk-ZPKHTUVV.js} +1004 -251
- package/dist/chunk-ZPKHTUVV.js.map +1 -0
- package/dist/{client-DO5HTb_L.d.ts → client-WGNXT4xl.d.ts} +5267 -2643
- package/dist/client.d.ts +1 -1
- package/dist/client.js +45 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +46 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +2933 -542
- package/dist/schemas.js +213 -1
- package/openapi.json +11646 -6855
- package/openapi.yaml +4939 -1675
- 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 +58 -0
- 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 +341 -277
- package/spec/components/schemas/i18n.yaml +169 -40
- package/spec/components/schemas/killswitches.yaml +36 -0
- package/spec/components/schemas/metrics.yaml +183 -6
- package/spec/components/schemas/ops.yaml +817 -29
- package/spec/components/schemas/projects.yaml +129 -3
- package/spec/openapi.yaml +47 -0
- package/spec/paths/alerts.yaml +184 -0
- package/spec/paths/attributes.yaml +23 -5
- package/spec/paths/configs.yaml +70 -0
- 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 +299 -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,34 @@ 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
|
+
});
|
|
1234
1315
|
var listOpsComments = (options) => (options.client ?? client).get({
|
|
1235
1316
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1236
1317
|
url: "/api/admin/ops/{handle}/comments",
|
|
@@ -1287,6 +1368,20 @@ var updateAlertRule = (options) => (options.client ?? client).patch({
|
|
|
1287
1368
|
...options.headers
|
|
1288
1369
|
}
|
|
1289
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
|
+
});
|
|
1290
1385
|
var getCurrentProject = (options) => (options?.client ?? client).get({
|
|
1291
1386
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1292
1387
|
url: "/api/admin/projects/current",
|
|
@@ -1301,6 +1396,11 @@ var upsertProject = (options) => (options.client ?? client).post({
|
|
|
1301
1396
|
...options.headers
|
|
1302
1397
|
}
|
|
1303
1398
|
});
|
|
1399
|
+
var getProject = (options) => (options.client ?? client).get({
|
|
1400
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1401
|
+
url: "/api/admin/projects/{id}",
|
|
1402
|
+
...options
|
|
1403
|
+
});
|
|
1304
1404
|
var updateProject = (options) => (options.client ?? client).patch({
|
|
1305
1405
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1306
1406
|
url: "/api/admin/projects/{id}",
|
|
@@ -1338,6 +1438,20 @@ var pushI18nKeys = (options) => (options.client ?? client).post({
|
|
|
1338
1438
|
...options.headers
|
|
1339
1439
|
}
|
|
1340
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
|
+
});
|
|
1341
1455
|
var updateI18nKey = (options) => (options.client ?? client).put({
|
|
1342
1456
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1343
1457
|
url: "/api/admin/i18n/keys/{id}",
|
|
@@ -1361,6 +1475,11 @@ var createI18nDraft = (options) => (options.client ?? client).post({
|
|
|
1361
1475
|
...options.headers
|
|
1362
1476
|
}
|
|
1363
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
|
+
});
|
|
1364
1483
|
var updateI18nDraft = (options) => (options.client ?? client).patch({
|
|
1365
1484
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1366
1485
|
url: "/api/admin/i18n/drafts/{draftId}",
|
|
@@ -1370,6 +1489,25 @@ var updateI18nDraft = (options) => (options.client ?? client).patch({
|
|
|
1370
1489
|
...options.headers
|
|
1371
1490
|
}
|
|
1372
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
|
+
});
|
|
1373
1511
|
var publishI18nProfile = (options) => (options.client ?? client).post({
|
|
1374
1512
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1375
1513
|
url: "/api/admin/i18n/profiles/{profileId}/publish",
|
|
@@ -1532,9 +1670,11 @@ export {
|
|
|
1532
1670
|
listGates,
|
|
1533
1671
|
createGate,
|
|
1534
1672
|
deleteGate,
|
|
1673
|
+
getGate,
|
|
1535
1674
|
updateGate,
|
|
1536
1675
|
enableGate,
|
|
1537
1676
|
disableGate,
|
|
1677
|
+
listGateActivity,
|
|
1538
1678
|
listExperiments,
|
|
1539
1679
|
createExperiment,
|
|
1540
1680
|
deleteExperiment,
|
|
@@ -1545,6 +1685,8 @@ export {
|
|
|
1545
1685
|
getExperimentResults,
|
|
1546
1686
|
getExperimentTimeseries,
|
|
1547
1687
|
reanalyzeExperiment,
|
|
1688
|
+
createExperimentReadout,
|
|
1689
|
+
getExperimentReadout,
|
|
1548
1690
|
listConfigs,
|
|
1549
1691
|
createConfig2,
|
|
1550
1692
|
deleteConfig,
|
|
@@ -1555,6 +1697,7 @@ export {
|
|
|
1555
1697
|
publishConfigDraft,
|
|
1556
1698
|
listConfigActivity,
|
|
1557
1699
|
updateConfigSchema,
|
|
1700
|
+
listConfigVersions,
|
|
1558
1701
|
listKillswitches,
|
|
1559
1702
|
createKillswitch,
|
|
1560
1703
|
deleteKillswitch,
|
|
@@ -1582,6 +1725,9 @@ export {
|
|
|
1582
1725
|
deleteMetric,
|
|
1583
1726
|
getMetric,
|
|
1584
1727
|
updateMetric,
|
|
1728
|
+
listMetricExperiments,
|
|
1729
|
+
unarchiveMetric,
|
|
1730
|
+
getMetricSeries,
|
|
1585
1731
|
listEvents,
|
|
1586
1732
|
createEvent,
|
|
1587
1733
|
deleteEvent,
|
|
@@ -1590,9 +1736,14 @@ export {
|
|
|
1590
1736
|
approveEvent,
|
|
1591
1737
|
listOpsItems,
|
|
1592
1738
|
createOpsItem,
|
|
1739
|
+
deleteOpsItem,
|
|
1593
1740
|
getOpsItem,
|
|
1594
1741
|
updateOpsItem,
|
|
1595
1742
|
linkPrToOpsItem,
|
|
1743
|
+
ackOpsItem,
|
|
1744
|
+
listOpsInvestigations,
|
|
1745
|
+
createOpsInvestigation,
|
|
1746
|
+
listOpsAgents,
|
|
1596
1747
|
listOpsComments,
|
|
1597
1748
|
createOpsComment,
|
|
1598
1749
|
notifyOps,
|
|
@@ -1601,17 +1752,26 @@ export {
|
|
|
1601
1752
|
createAlertRule,
|
|
1602
1753
|
deleteAlertRule,
|
|
1603
1754
|
updateAlertRule,
|
|
1755
|
+
listAlerts,
|
|
1756
|
+
updateAlert,
|
|
1604
1757
|
getCurrentProject,
|
|
1605
1758
|
upsertProject,
|
|
1759
|
+
getProject,
|
|
1606
1760
|
updateProject,
|
|
1607
1761
|
listI18nProfiles,
|
|
1608
1762
|
createI18nProfile,
|
|
1609
1763
|
listI18nKeys,
|
|
1610
1764
|
pushI18nKeys,
|
|
1765
|
+
upsertI18nKeys,
|
|
1766
|
+
deleteI18nKey,
|
|
1611
1767
|
updateI18nKey,
|
|
1612
1768
|
listI18nDrafts,
|
|
1613
1769
|
createI18nDraft,
|
|
1770
|
+
deleteI18nDraft,
|
|
1614
1771
|
updateI18nDraft,
|
|
1772
|
+
deleteI18nProfile,
|
|
1773
|
+
listI18nDraftKeys,
|
|
1774
|
+
upsertI18nDraftKey,
|
|
1615
1775
|
publishI18nProfile,
|
|
1616
1776
|
setI18nLabel,
|
|
1617
1777
|
listErrors,
|
|
@@ -1635,4 +1795,4 @@ export {
|
|
|
1635
1795
|
searchResources,
|
|
1636
1796
|
configure
|
|
1637
1797
|
};
|
|
1638
|
-
//# sourceMappingURL=chunk-
|
|
1798
|
+
//# sourceMappingURL=chunk-4QSU744W.js.map
|