@shipeasy/openapi 1.5.0 → 1.6.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 (57) hide show
  1. package/dist/index.d.ts +24 -0
  2. package/dist/index.js +1913 -1
  3. package/dist/node-context.d.ts +37 -0
  4. package/dist/node-context.js +56 -0
  5. package/dist/operations/attributes.d.ts +33 -0
  6. package/dist/operations/attributes.js +16 -0
  7. package/dist/operations/cli-adapter.d.ts +35 -0
  8. package/dist/operations/cli-adapter.js +91 -0
  9. package/dist/operations/coerce.d.ts +32 -0
  10. package/dist/operations/coerce.js +53 -0
  11. package/dist/operations/configs.d.ts +28 -0
  12. package/dist/operations/configs.js +119 -0
  13. package/dist/operations/docs.d.ts +37 -0
  14. package/dist/operations/docs.js +39 -0
  15. package/dist/operations/events.d.ts +28 -0
  16. package/dist/operations/events.js +121 -0
  17. package/dist/operations/experiments.d.ts +28 -0
  18. package/dist/operations/experiments.js +280 -0
  19. package/dist/operations/gates.d.ts +28 -0
  20. package/dist/operations/gates.js +132 -0
  21. package/dist/operations/i18n.d.ts +28 -0
  22. package/dist/operations/i18n.js +121 -0
  23. package/dist/operations/index.d.ts +63 -0
  24. package/dist/operations/index.js +1751 -0
  25. package/dist/operations/killswitches.d.ts +28 -0
  26. package/dist/operations/killswitches.js +126 -0
  27. package/dist/operations/mcp-adapter.d.ts +35 -0
  28. package/dist/operations/mcp-adapter.js +94 -0
  29. package/dist/operations/metrics.d.ts +30 -0
  30. package/dist/operations/metrics.js +114 -0
  31. package/dist/operations/ops.d.ts +28 -0
  32. package/dist/operations/ops.js +313 -0
  33. package/dist/operations/projects.d.ts +28 -0
  34. package/dist/operations/projects.js +36 -0
  35. package/dist/operations/sdk-docs.d.ts +28 -0
  36. package/dist/operations/sdk-docs.js +160 -0
  37. package/dist/operations/types.d.ts +138 -0
  38. package/dist/operations/types.js +9 -0
  39. package/dist/operations/universes.d.ts +28 -0
  40. package/dist/operations/universes.js +93 -0
  41. package/dist/operations/util.d.ts +33 -0
  42. package/dist/operations/util.js +9 -0
  43. package/dist/resources/attributes.d.ts +19 -0
  44. package/dist/resources/attributes.js +10 -0
  45. package/dist/resources/events.d.ts +61 -0
  46. package/dist/resources/events.js +42 -0
  47. package/dist/resources/i18n.d.ts +84 -0
  48. package/dist/resources/i18n.js +60 -0
  49. package/dist/resources/index.d.ts +22 -4
  50. package/dist/resources/index.js +173 -1
  51. package/dist/resources/metrics.d.ts +54 -0
  52. package/dist/resources/metrics.js +40 -0
  53. package/dist/resources/ops.d.ts +88 -0
  54. package/dist/resources/ops.js +36 -0
  55. package/dist/resources/projects.d.ts +54 -0
  56. package/dist/resources/projects.js +14 -0
  57. package/package.json +10 -1
package/dist/index.d.ts CHANGED
@@ -1,14 +1,38 @@
1
1
  export { ApiError, AuthSnapshot, HttpMethod, HttpTransportOptions, Transport, createHttpTransport } from './transport.js';
2
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
+ export { Metric, MetricCreateInput, MetricsClient, metricsClient } from './resources/metrics.js';
5
+ export { CatalogEvent, EventCreateInput, EventProperty, EventUpdateInput, EventsClient, eventsClient } from './resources/events.js';
6
+ export { OpsClient, OpsCreateInput, OpsItem, OpsNotifyInput, OpsPriority, OpsStatus, OpsType, OpsUpdateInput, SlackChannel, SlackChannelsResponse, opsClient } from './resources/ops.js';
7
+ export { CurrentProject, ProjectsClient, UpsertResult, projectsClient } from './resources/projects.js';
8
+ export { I18nClient, I18nDraft, I18nKey, I18nProfile, I18nPushResult, i18nClient } from './resources/i18n.js';
9
+ export { Attribute, AttributesClient, attributesClient } from './resources/attributes.js';
4
10
  export { Gate, GatesClient, gatesClient, gatesResource } from './resources/gates.js';
5
11
  export { Killswitch, KillswitchCreateInput, KillswitchSwitchSetInput, KillswitchSwitchUnsetInput, KillswitchUpdateInput, KillswitchesClient, killswitchesClient, killswitchesResource } from './resources/killswitches.js';
6
12
  export { Experiment, ExperimentCreateInput, ExperimentResult, ExperimentStatus, ExperimentTimeseriesPoint, ExperimentUpdateInput, ExperimentsClient, experimentsClient, experimentsResource } from './resources/experiments.js';
7
13
  export { Config, ConfigActivityEntry, ConfigCreateInput, ConfigDraftUpsertInput, ConfigPublishInput, ConfigUpdateInput, ConfigsClient, configsClient, configsResource } from './resources/configs.js';
8
14
  export { Universe, UniversesClient, universesClient, universesResource } from './resources/universes.js';
9
15
  export { AlertRule, AlertRuleCreateInput, AlertRuleUpdateInput, AlertRulesClient, alertRulesClient } from './resources/alert-rules.js';
16
+ export { ALL_OPERATIONS, RELEASE_OPERATIONS } from './operations/index.js';
17
+ export { CliContext, CommandLike, McpTool, OpExample, OpInput, Operation, Param, ParamType, opCli, opId, opMcpName } from './operations/types.js';
10
18
  export { GateCreateInput, GateUpdateInput } from './schemas/gates.js';
19
+ export { METRIC_GRAMMAR, metricOperations } from './operations/metrics.js';
11
20
  export { UniverseCreateInput, UniverseUpdateInput } from './schemas/universes.js';
21
+ export { attributeOperations } from './operations/attributes.js';
22
+ export { coerceInput } from './operations/coerce.js';
23
+ export { configOperations } from './operations/configs.js';
24
+ export { docsOperations } from './operations/sdk-docs.js';
25
+ export { eventOperations } from './operations/events.js';
26
+ export { experimentOperations } from './operations/experiments.js';
27
+ export { gateOperations } from './operations/gates.js';
28
+ export { i18nOperations } from './operations/i18n.js';
29
+ export { killswitchOperations } from './operations/killswitches.js';
30
+ export { mountOperations } from './operations/cli-adapter.js';
31
+ export { operationsToDispatch, operationsToMcpTools } from './operations/mcp-adapter.js';
32
+ export { opsOperations } from './operations/ops.js';
33
+ export { projectOperations } from './operations/projects.js';
34
+ export { renderOperationsMarkdown } from './operations/docs.js';
35
+ export { universeOperations } from './operations/universes.js';
12
36
  import 'zod';
13
37
  import 'zod/v4/core';
14
38
  import './schemas/alert-rules.js';