@shipeasy/openapi 3.2.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.
- package/README.md +1 -1
- package/dist/{chunk-RTN572TI.js → chunk-75Z4SQOM.js} +75 -1
- package/dist/chunk-75Z4SQOM.js.map +1 -0
- package/dist/{chunk-DW33MG4B.js → chunk-ZYK74ZIW.js} +426 -121
- package/dist/chunk-ZYK74ZIW.js.map +1 -0
- package/dist/{client-BPVn4hMC.d.ts → client-DAGqRpF1.d.ts} +1362 -238
- package/dist/client.d.ts +1 -1
- package/dist/client.js +19 -1
- package/dist/custom.d.ts +5 -5
- package/dist/custom.js +128 -84
- package/dist/custom.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +20 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +1648 -907
- package/dist/schemas.js +113 -1
- package/openapi-sdk.json +31 -9
- package/openapi.json +4040 -2083
- package/openapi.yaml +1775 -408
- package/package.json +1 -1
- package/spec/components/schemas/alert-rules.yaml +405 -7
- package/spec/components/schemas/alerts.yaml +9 -7
- package/spec/components/schemas/common.yaml +2 -2
- package/spec/components/schemas/connectors.yaml +69 -6
- package/spec/components/schemas/events.yaml +20 -9
- package/spec/components/schemas/keys.yaml +30 -0
- package/spec/components/schemas/metrics.yaml +131 -251
- package/spec/components/schemas/ops.yaml +377 -29
- package/spec/components/schemas/projects.yaml +18 -0
- package/spec/components/schemas/tags.yaml +91 -0
- package/spec/openapi.yaml +43 -0
- package/spec/paths/alerts.yaml +5 -3
- package/spec/paths/i18n.yaml +2 -1
- package/spec/paths/keys.yaml +79 -0
- package/spec/paths/metrics.yaml +26 -17
- package/spec/paths/ops.yaml +388 -11
- package/spec/paths/tags.yaml +270 -0
- package/dist/chunk-DW33MG4B.js.map +0 -1
- package/dist/chunk-RTN572TI.js.map +0 -1
package/README.md
CHANGED
|
@@ -32,6 +32,6 @@ fuzzes **this spec** against it with [Schemathesis](https://schemathesis.readthe
|
|
|
32
32
|
property-based generation of valid and malformed requests for every operation,
|
|
33
33
|
asserting no 5xx and full status/schema conformance (the `bearerSdkKey` auth the
|
|
34
34
|
spec declares is exercised end-to-end). Run it locally with
|
|
35
|
-
`pnpm --filter @shipeasy/ui test:contract` (see `apps/ui/contract-tests/`).
|
|
35
|
+
`pnpm --filter @shipeasy/ui-rr test:contract` (see `apps/ui-rr/contract-tests/`).
|
|
36
36
|
|
|
37
37
|
<!-- ci: republish trigger (v2) — publish workflows re-run on the corrected pnpm/action-setup config; no package content change -->
|
|
@@ -1375,6 +1375,34 @@ var updateOpsInvestigation = (options) => (options.client ?? client).patch({
|
|
|
1375
1375
|
...options.headers
|
|
1376
1376
|
}
|
|
1377
1377
|
});
|
|
1378
|
+
var listOpsQuestions = (options) => (options.client ?? client).get({
|
|
1379
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1380
|
+
url: "/api/admin/ops/{handle}/questions",
|
|
1381
|
+
...options
|
|
1382
|
+
});
|
|
1383
|
+
var askOpsQuestions = (options) => (options.client ?? client).post({
|
|
1384
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1385
|
+
url: "/api/admin/ops/{handle}/questions",
|
|
1386
|
+
...options,
|
|
1387
|
+
headers: {
|
|
1388
|
+
"Content-Type": "application/json",
|
|
1389
|
+
...options.headers
|
|
1390
|
+
}
|
|
1391
|
+
});
|
|
1392
|
+
var answerOpsQuestion = (options) => (options.client ?? client).post({
|
|
1393
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1394
|
+
url: "/api/admin/ops/{handle}/questions/{questionId}/answer",
|
|
1395
|
+
...options,
|
|
1396
|
+
headers: {
|
|
1397
|
+
"Content-Type": "application/json",
|
|
1398
|
+
...options.headers
|
|
1399
|
+
}
|
|
1400
|
+
});
|
|
1401
|
+
var cancelOpsQuestion = (options) => (options.client ?? client).post({
|
|
1402
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1403
|
+
url: "/api/admin/ops/{handle}/questions/{questionId}/cancel",
|
|
1404
|
+
...options
|
|
1405
|
+
});
|
|
1378
1406
|
var listOpsAgents = (options) => (options?.client ?? client).get({
|
|
1379
1407
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1380
1408
|
url: "/api/admin/agent-profiles",
|
|
@@ -1711,6 +1739,15 @@ var createKey = (options) => (options.client ?? client).post({
|
|
|
1711
1739
|
...options.headers
|
|
1712
1740
|
}
|
|
1713
1741
|
});
|
|
1742
|
+
var updateKey = (options) => (options.client ?? client).patch({
|
|
1743
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1744
|
+
url: "/api/admin/keys/{id}",
|
|
1745
|
+
...options,
|
|
1746
|
+
headers: {
|
|
1747
|
+
"Content-Type": "application/json",
|
|
1748
|
+
...options.headers
|
|
1749
|
+
}
|
|
1750
|
+
});
|
|
1714
1751
|
var revokeKey = (options) => (options.client ?? client).post({
|
|
1715
1752
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1716
1753
|
url: "/api/admin/keys/{id}/revoke",
|
|
@@ -1721,6 +1758,34 @@ var searchResources = (options) => (options?.client ?? client).get({
|
|
|
1721
1758
|
url: "/api/admin/search",
|
|
1722
1759
|
...options
|
|
1723
1760
|
});
|
|
1761
|
+
var listTags = (options) => (options?.client ?? client).get({
|
|
1762
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1763
|
+
url: "/api/admin/tags",
|
|
1764
|
+
...options
|
|
1765
|
+
});
|
|
1766
|
+
var getEntityTags = (options) => (options.client ?? client).get({
|
|
1767
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1768
|
+
url: "/api/admin/tags/{entityType}/{entityId}",
|
|
1769
|
+
...options
|
|
1770
|
+
});
|
|
1771
|
+
var updateEntityTags = (options) => (options.client ?? client).patch({
|
|
1772
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1773
|
+
url: "/api/admin/tags/{entityType}/{entityId}",
|
|
1774
|
+
...options,
|
|
1775
|
+
headers: {
|
|
1776
|
+
"Content-Type": "application/json",
|
|
1777
|
+
...options.headers
|
|
1778
|
+
}
|
|
1779
|
+
});
|
|
1780
|
+
var setEntityTags = (options) => (options.client ?? client).put({
|
|
1781
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1782
|
+
url: "/api/admin/tags/{entityType}/{entityId}",
|
|
1783
|
+
...options,
|
|
1784
|
+
headers: {
|
|
1785
|
+
"Content-Type": "application/json",
|
|
1786
|
+
...options.headers
|
|
1787
|
+
}
|
|
1788
|
+
});
|
|
1724
1789
|
|
|
1725
1790
|
// src/client.ts
|
|
1726
1791
|
function configure({ apiKey, projectId, baseUrl }) {
|
|
@@ -1819,6 +1884,10 @@ export {
|
|
|
1819
1884
|
listOpsInvestigations,
|
|
1820
1885
|
createOpsInvestigation,
|
|
1821
1886
|
updateOpsInvestigation,
|
|
1887
|
+
listOpsQuestions,
|
|
1888
|
+
askOpsQuestions,
|
|
1889
|
+
answerOpsQuestion,
|
|
1890
|
+
cancelOpsQuestion,
|
|
1822
1891
|
listOpsAgents,
|
|
1823
1892
|
listOpsComments,
|
|
1824
1893
|
createOpsComment,
|
|
@@ -1867,8 +1936,13 @@ export {
|
|
|
1867
1936
|
createTriggerConnector,
|
|
1868
1937
|
listKeys,
|
|
1869
1938
|
createKey,
|
|
1939
|
+
updateKey,
|
|
1870
1940
|
revokeKey,
|
|
1871
1941
|
searchResources,
|
|
1942
|
+
listTags,
|
|
1943
|
+
getEntityTags,
|
|
1944
|
+
updateEntityTags,
|
|
1945
|
+
setEntityTags,
|
|
1872
1946
|
configure
|
|
1873
1947
|
};
|
|
1874
|
-
//# sourceMappingURL=chunk-
|
|
1948
|
+
//# sourceMappingURL=chunk-75Z4SQOM.js.map
|