@shipeasy/openapi 3.0.0 → 3.2.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-7T77D5YO.js → chunk-DW33MG4B.js} +148 -6
- package/dist/chunk-DW33MG4B.js.map +1 -0
- package/dist/{chunk-V4ZESAIF.js → chunk-RTN572TI.js} +67 -1
- package/dist/chunk-RTN572TI.js.map +1 -0
- package/dist/{client-DzEqdN5N.d.ts → client-BPVn4hMC.d.ts} +692 -8
- package/dist/client.d.ts +1 -1
- package/dist/client.js +15 -1
- package/dist/custom.js +2 -1
- package/dist/custom.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +383 -55
- package/dist/schemas.js +67 -1
- package/openapi-sdk.json +1747 -0
- package/openapi.json +1489 -185
- package/openapi.yaml +926 -9
- package/package.json +6 -4
- package/spec/components/responses.yaml +39 -0
- package/spec/components/schemas/gates.yaml +87 -0
- package/spec/components/schemas/keys.yaml +2 -2
- package/spec/components/schemas/killswitches.yaml +64 -0
- package/spec/components/schemas/ops.yaml +206 -22
- package/spec/openapi-sdk.yaml +86 -0
- package/spec/openapi.yaml +18 -0
- package/spec/paths/gates.yaml +282 -0
- package/spec/paths/killswitches.yaml +96 -0
- package/spec/paths/ops.yaml +182 -3
- package/dist/chunk-7T77D5YO.js.map +0 -1
- package/dist/chunk-V4ZESAIF.js.map +0 -1
|
@@ -835,6 +835,38 @@ var listGateActivity = (options) => (options.client ?? client).get({
|
|
|
835
835
|
url: "/api/admin/gates/{id}/activity",
|
|
836
836
|
...options
|
|
837
837
|
});
|
|
838
|
+
var removeFromGateWhitelist = (options) => (options.client ?? client).delete({
|
|
839
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
840
|
+
url: "/api/admin/gates/{id}/whitelist",
|
|
841
|
+
...options,
|
|
842
|
+
headers: {
|
|
843
|
+
"Content-Type": "application/json",
|
|
844
|
+
...options.headers
|
|
845
|
+
}
|
|
846
|
+
});
|
|
847
|
+
var getGateWhitelist = (options) => (options.client ?? client).get({
|
|
848
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
849
|
+
url: "/api/admin/gates/{id}/whitelist",
|
|
850
|
+
...options
|
|
851
|
+
});
|
|
852
|
+
var addToGateWhitelist = (options) => (options.client ?? client).post({
|
|
853
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
854
|
+
url: "/api/admin/gates/{id}/whitelist",
|
|
855
|
+
...options,
|
|
856
|
+
headers: {
|
|
857
|
+
"Content-Type": "application/json",
|
|
858
|
+
...options.headers
|
|
859
|
+
}
|
|
860
|
+
});
|
|
861
|
+
var setGateWhitelist = (options) => (options.client ?? client).put({
|
|
862
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
863
|
+
url: "/api/admin/gates/{id}/whitelist",
|
|
864
|
+
...options,
|
|
865
|
+
headers: {
|
|
866
|
+
"Content-Type": "application/json",
|
|
867
|
+
...options.headers
|
|
868
|
+
}
|
|
869
|
+
});
|
|
838
870
|
var listExperiments = (options) => (options?.client ?? client).get({
|
|
839
871
|
security: [{ scheme: "bearer", type: "http" }],
|
|
840
872
|
url: "/api/admin/experiments",
|
|
@@ -1054,6 +1086,15 @@ var setKillswitchValue = (options) => (options.client ?? client).put({
|
|
|
1054
1086
|
...options.headers
|
|
1055
1087
|
}
|
|
1056
1088
|
});
|
|
1089
|
+
var toggleKillswitch = (options) => (options.client ?? client).post({
|
|
1090
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1091
|
+
url: "/api/admin/killswitches/{id}/toggle",
|
|
1092
|
+
...options,
|
|
1093
|
+
headers: {
|
|
1094
|
+
"Content-Type": "application/json",
|
|
1095
|
+
...options.headers
|
|
1096
|
+
}
|
|
1097
|
+
});
|
|
1057
1098
|
var listUniverses = (options) => (options?.client ?? client).get({
|
|
1058
1099
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1059
1100
|
url: "/api/admin/universes",
|
|
@@ -1256,6 +1297,24 @@ var createOpsItem = (options) => (options.client ?? client).post({
|
|
|
1256
1297
|
...options.headers
|
|
1257
1298
|
}
|
|
1258
1299
|
});
|
|
1300
|
+
var createPublicBug = (options) => (options.client ?? client).post({
|
|
1301
|
+
security: [{ name: "X-SDK-Key", type: "apiKey" }],
|
|
1302
|
+
url: "/ops/bug",
|
|
1303
|
+
...options,
|
|
1304
|
+
headers: {
|
|
1305
|
+
"Content-Type": "application/json",
|
|
1306
|
+
...options.headers
|
|
1307
|
+
}
|
|
1308
|
+
});
|
|
1309
|
+
var createPublicFeatureRequest = (options) => (options.client ?? client).post({
|
|
1310
|
+
security: [{ name: "X-SDK-Key", type: "apiKey" }],
|
|
1311
|
+
url: "/ops/feature-request",
|
|
1312
|
+
...options,
|
|
1313
|
+
headers: {
|
|
1314
|
+
"Content-Type": "application/json",
|
|
1315
|
+
...options.headers
|
|
1316
|
+
}
|
|
1317
|
+
});
|
|
1259
1318
|
var deleteOpsItem = (options) => (options.client ?? client).delete({
|
|
1260
1319
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1261
1320
|
url: "/api/admin/ops/{handle}",
|
|
@@ -1684,6 +1743,10 @@ export {
|
|
|
1684
1743
|
enableGate,
|
|
1685
1744
|
disableGate,
|
|
1686
1745
|
listGateActivity,
|
|
1746
|
+
removeFromGateWhitelist,
|
|
1747
|
+
getGateWhitelist,
|
|
1748
|
+
addToGateWhitelist,
|
|
1749
|
+
setGateWhitelist,
|
|
1687
1750
|
listExperiments,
|
|
1688
1751
|
createExperiment,
|
|
1689
1752
|
deleteExperiment,
|
|
@@ -1715,6 +1778,7 @@ export {
|
|
|
1715
1778
|
unsetKillswitchSwitch,
|
|
1716
1779
|
setKillswitchSwitch,
|
|
1717
1780
|
setKillswitchValue,
|
|
1781
|
+
toggleKillswitch,
|
|
1718
1782
|
listUniverses,
|
|
1719
1783
|
createUniverse,
|
|
1720
1784
|
deleteUniverse,
|
|
@@ -1745,6 +1809,8 @@ export {
|
|
|
1745
1809
|
approveEvent,
|
|
1746
1810
|
listOpsItems,
|
|
1747
1811
|
createOpsItem,
|
|
1812
|
+
createPublicBug,
|
|
1813
|
+
createPublicFeatureRequest,
|
|
1748
1814
|
deleteOpsItem,
|
|
1749
1815
|
getOpsItem,
|
|
1750
1816
|
updateOpsItem,
|
|
@@ -1805,4 +1871,4 @@ export {
|
|
|
1805
1871
|
searchResources,
|
|
1806
1872
|
configure
|
|
1807
1873
|
};
|
|
1808
|
-
//# sourceMappingURL=chunk-
|
|
1874
|
+
//# sourceMappingURL=chunk-RTN572TI.js.map
|