@shipeasy/openapi 1.0.0 → 1.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.
Files changed (40) hide show
  1. package/dist/index.d.ts +9 -7
  2. package/dist/index.js +504 -2672
  3. package/dist/resources/alert-rules.d.ts +48 -0
  4. package/dist/resources/alert-rules.js +66 -0
  5. package/dist/resources/configs.d.ts +6 -2
  6. package/dist/resources/configs.js +67 -2375
  7. package/dist/resources/experiments.d.ts +100 -2
  8. package/dist/resources/experiments.js +158 -105
  9. package/dist/resources/gates.d.ts +51 -8
  10. package/dist/resources/gates.js +102 -70
  11. package/dist/resources/index.d.ts +166 -10
  12. package/dist/resources/index.js +503 -2671
  13. package/dist/resources/killswitches.d.ts +6 -2
  14. package/dist/resources/killswitches.js +113 -2412
  15. package/dist/resources/universes.d.ts +7 -4
  16. package/dist/resources/universes.js +30 -20
  17. package/dist/schemas/alert-rules.d.ts +43 -0
  18. package/dist/schemas/alert-rules.js +27 -0
  19. package/dist/schemas/configs.d.ts +154 -0
  20. package/dist/schemas/configs.js +134 -0
  21. package/dist/schemas/constants.d.ts +6 -0
  22. package/dist/schemas/constants.js +7 -0
  23. package/dist/schemas/experiments.d.ts +245 -0
  24. package/dist/schemas/experiments.js +216 -0
  25. package/dist/schemas/folder.d.ts +10 -0
  26. package/dist/schemas/folder.js +8 -0
  27. package/dist/schemas/gates.d.ts +304 -0
  28. package/dist/schemas/gates.js +172 -0
  29. package/dist/schemas/index.d.ts +11 -0
  30. package/dist/schemas/index.js +729 -0
  31. package/dist/schemas/killswitches.d.ts +110 -0
  32. package/dist/schemas/killswitches.js +226 -0
  33. package/dist/schemas/metric-name.d.ts +5 -0
  34. package/dist/schemas/metric-name.js +6 -0
  35. package/dist/schemas/pagination.d.ts +37 -0
  36. package/dist/schemas/pagination.js +44 -0
  37. package/dist/schemas/universes.d.ts +35 -0
  38. package/dist/schemas/universes.js +55 -0
  39. package/openapi.json +1257 -228
  40. package/package.json +13 -10
package/dist/index.d.ts CHANGED
@@ -1,15 +1,17 @@
1
1
  export { ApiError, AuthSnapshot, HttpMethod, HttpTransportOptions, Transport, createHttpTransport } from './transport.js';
2
- export { CursorParts, DEFAULT_PAGE_SIZE, MAX_PAGE_SIZE, Page, PageQuery, decodeCursor, encodeCursor, pageQuerySchema } from '@shipeasy/core/pagination';
2
+ export { CursorParts, DEFAULT_PAGE_SIZE, MAX_PAGE_SIZE, Page, PageQuery, decodeCursor, encodeCursor, pageQuerySchema } from './schemas/pagination.js';
3
3
  export { AdminClient, RESOURCE_REGISTRY, createAdminClient } from './resources/index.js';
4
4
  export { Gate, GatesClient, gatesClient, gatesResource } from './resources/gates.js';
5
5
  export { Killswitch, KillswitchCreateInput, KillswitchSwitchSetInput, KillswitchSwitchUnsetInput, KillswitchUpdateInput, KillswitchesClient, killswitchesClient, killswitchesResource } from './resources/killswitches.js';
6
6
  export { Experiment, ExperimentCreateInput, ExperimentResult, ExperimentStatus, ExperimentTimeseriesPoint, ExperimentUpdateInput, ExperimentsClient, experimentsClient, experimentsResource } from './resources/experiments.js';
7
7
  export { Config, ConfigActivityEntry, ConfigCreateInput, ConfigDraftUpsertInput, ConfigPublishInput, ConfigUpdateInput, ConfigsClient, configsClient, configsResource } from './resources/configs.js';
8
8
  export { Universe, UniversesClient, universesClient, universesResource } from './resources/universes.js';
9
- export { GateCreateInput, GateUpdateInput } from '@shipeasy/core/schemas/gates';
10
- export { UniverseCreateInput, UniverseUpdateInput } from '@shipeasy/core/schemas/universes';
11
- import 'zod/v4/core';
9
+ export { AlertRule, AlertRuleCreateInput, AlertRuleUpdateInput, AlertRulesClient, alertRulesClient } from './resources/alert-rules.js';
10
+ export { GateCreateInput, GateUpdateInput } from './schemas/gates.js';
11
+ export { UniverseCreateInput, UniverseUpdateInput } from './schemas/universes.js';
12
12
  import 'zod';
13
- import '@shipeasy/core/schemas/killswitches';
14
- import '@shipeasy/core/schemas/configs';
15
- import '@shipeasy/core/schemas/experiments';
13
+ import 'zod/v4/core';
14
+ import './schemas/alert-rules.js';
15
+ import './schemas/killswitches.js';
16
+ import './schemas/configs.js';
17
+ import './schemas/experiments.js';