@shipeasy/openapi 3.2.0 → 3.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 (40) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-RTN572TI.js → chunk-JJA7XEPU.js} +91 -1
  3. package/dist/chunk-JJA7XEPU.js.map +1 -0
  4. package/dist/{chunk-DW33MG4B.js → chunk-Z3CY5Y44.js} +514 -126
  5. package/dist/chunk-Z3CY5Y44.js.map +1 -0
  6. package/dist/{client-BPVn4hMC.d.ts → client-CkRbr8I2.d.ts} +1544 -212
  7. package/dist/client.d.ts +1 -1
  8. package/dist/client.js +23 -1
  9. package/dist/custom.d.ts +5 -5
  10. package/dist/custom.js +128 -84
  11. package/dist/custom.js.map +1 -1
  12. package/dist/index.d.ts +2 -2
  13. package/dist/index.js +24 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/schemas.d.ts +1935 -963
  16. package/dist/schemas.js +141 -1
  17. package/openapi-sdk.json +31 -9
  18. package/openapi.json +10449 -8118
  19. package/openapi.yaml +2274 -634
  20. package/package.json +1 -1
  21. package/spec/components/schemas/alert-rules.yaml +434 -10
  22. package/spec/components/schemas/alerts.yaml +9 -7
  23. package/spec/components/schemas/common.yaml +2 -2
  24. package/spec/components/schemas/connectors.yaml +69 -6
  25. package/spec/components/schemas/events.yaml +20 -9
  26. package/spec/components/schemas/keys.yaml +39 -0
  27. package/spec/components/schemas/metrics.yaml +131 -251
  28. package/spec/components/schemas/ops.yaml +471 -29
  29. package/spec/components/schemas/projects.yaml +18 -0
  30. package/spec/components/schemas/search.yaml +1 -0
  31. package/spec/components/schemas/tags.yaml +91 -0
  32. package/spec/openapi.yaml +56 -0
  33. package/spec/paths/alerts.yaml +5 -3
  34. package/spec/paths/i18n.yaml +2 -1
  35. package/spec/paths/keys.yaml +79 -0
  36. package/spec/paths/metrics.yaml +26 -17
  37. package/spec/paths/ops.yaml +514 -11
  38. package/spec/paths/tags.yaml +270 -0
  39. package/dist/chunk-DW33MG4B.js.map +0 -1
  40. 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,48 @@ 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
+ });
1406
+ var listOpsQaNotes = (options) => (options.client ?? client).get({
1407
+ security: [{ scheme: "bearer", type: "http" }],
1408
+ url: "/api/admin/ops/{handle}/qa-notes",
1409
+ ...options
1410
+ });
1411
+ var createOpsQaNote = (options) => (options.client ?? client).post({
1412
+ security: [{ scheme: "bearer", type: "http" }],
1413
+ url: "/api/admin/ops/{handle}/qa-notes",
1414
+ ...options,
1415
+ headers: {
1416
+ "Content-Type": "application/json",
1417
+ ...options.headers
1418
+ }
1419
+ });
1378
1420
  var listOpsAgents = (options) => (options?.client ?? client).get({
1379
1421
  security: [{ scheme: "bearer", type: "http" }],
1380
1422
  url: "/api/admin/agent-profiles",
@@ -1711,6 +1753,15 @@ var createKey = (options) => (options.client ?? client).post({
1711
1753
  ...options.headers
1712
1754
  }
1713
1755
  });
1756
+ var updateKey = (options) => (options.client ?? client).patch({
1757
+ security: [{ scheme: "bearer", type: "http" }],
1758
+ url: "/api/admin/keys/{id}",
1759
+ ...options,
1760
+ headers: {
1761
+ "Content-Type": "application/json",
1762
+ ...options.headers
1763
+ }
1764
+ });
1714
1765
  var revokeKey = (options) => (options.client ?? client).post({
1715
1766
  security: [{ scheme: "bearer", type: "http" }],
1716
1767
  url: "/api/admin/keys/{id}/revoke",
@@ -1721,6 +1772,34 @@ var searchResources = (options) => (options?.client ?? client).get({
1721
1772
  url: "/api/admin/search",
1722
1773
  ...options
1723
1774
  });
1775
+ var listTags = (options) => (options?.client ?? client).get({
1776
+ security: [{ scheme: "bearer", type: "http" }],
1777
+ url: "/api/admin/tags",
1778
+ ...options
1779
+ });
1780
+ var getEntityTags = (options) => (options.client ?? client).get({
1781
+ security: [{ scheme: "bearer", type: "http" }],
1782
+ url: "/api/admin/tags/{entityType}/{entityId}",
1783
+ ...options
1784
+ });
1785
+ var updateEntityTags = (options) => (options.client ?? client).patch({
1786
+ security: [{ scheme: "bearer", type: "http" }],
1787
+ url: "/api/admin/tags/{entityType}/{entityId}",
1788
+ ...options,
1789
+ headers: {
1790
+ "Content-Type": "application/json",
1791
+ ...options.headers
1792
+ }
1793
+ });
1794
+ var setEntityTags = (options) => (options.client ?? client).put({
1795
+ security: [{ scheme: "bearer", type: "http" }],
1796
+ url: "/api/admin/tags/{entityType}/{entityId}",
1797
+ ...options,
1798
+ headers: {
1799
+ "Content-Type": "application/json",
1800
+ ...options.headers
1801
+ }
1802
+ });
1724
1803
 
1725
1804
  // src/client.ts
1726
1805
  function configure({ apiKey, projectId, baseUrl }) {
@@ -1819,6 +1898,12 @@ export {
1819
1898
  listOpsInvestigations,
1820
1899
  createOpsInvestigation,
1821
1900
  updateOpsInvestigation,
1901
+ listOpsQuestions,
1902
+ askOpsQuestions,
1903
+ answerOpsQuestion,
1904
+ cancelOpsQuestion,
1905
+ listOpsQaNotes,
1906
+ createOpsQaNote,
1822
1907
  listOpsAgents,
1823
1908
  listOpsComments,
1824
1909
  createOpsComment,
@@ -1867,8 +1952,13 @@ export {
1867
1952
  createTriggerConnector,
1868
1953
  listKeys,
1869
1954
  createKey,
1955
+ updateKey,
1870
1956
  revokeKey,
1871
1957
  searchResources,
1958
+ listTags,
1959
+ getEntityTags,
1960
+ updateEntityTags,
1961
+ setEntityTags,
1872
1962
  configure
1873
1963
  };
1874
- //# sourceMappingURL=chunk-RTN572TI.js.map
1964
+ //# sourceMappingURL=chunk-JJA7XEPU.js.map