@shipeasy/openapi 1.0.0 → 1.1.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 (39) hide show
  1. package/dist/index.d.ts +9 -7
  2. package/dist/index.js +484 -2665
  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 +88 -2
  8. package/dist/resources/experiments.js +138 -98
  9. package/dist/resources/gates.d.ts +51 -8
  10. package/dist/resources/gates.js +102 -70
  11. package/dist/resources/index.d.ts +156 -10
  12. package/dist/resources/index.js +483 -2664
  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/package.json +13 -10
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { killswitchCreateSchema, killswitchUpdateSchema, killswitchSwitchSetSchema, killswitchSwitchUnsetSchema } from '@shipeasy/core/schemas/killswitches';
3
- import { PageQuery, Page } from '@shipeasy/core/pagination';
2
+ import { killswitchCreateSchema, killswitchUpdateSchema, killswitchSwitchSetSchema, killswitchSwitchUnsetSchema } from '../schemas/killswitches.js';
3
+ import { PageQuery, Page } from '../schemas/pagination.js';
4
4
  import { Transport } from '../transport.js';
5
5
 
6
6
  type KillswitchCreateInput = z.input<typeof killswitchCreateSchema>;
@@ -51,11 +51,13 @@ declare const killswitchesResource: {
51
51
  readonly create: z.ZodObject<{
52
52
  name: z.ZodString;
53
53
  description: z.ZodOptional<z.ZodString>;
54
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
55
  value: z.ZodOptional<z.ZodBoolean>;
55
56
  switches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
56
57
  }, z.core.$strip>;
57
58
  readonly update: z.ZodObject<{
58
59
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
61
  value: z.ZodOptional<z.ZodBoolean>;
60
62
  switches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
61
63
  }, z.core.$strip>;
@@ -205,6 +207,7 @@ declare const killswitchesResource: {
205
207
  readonly request: z.ZodObject<{
206
208
  name: z.ZodString;
207
209
  description: z.ZodOptional<z.ZodString>;
210
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
211
  value: z.ZodOptional<z.ZodBoolean>;
209
212
  switches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
210
213
  }, z.core.$strip>;
@@ -260,6 +263,7 @@ declare const killswitchesResource: {
260
263
  };
261
264
  readonly request: z.ZodObject<{
262
265
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
266
+ folder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
267
  value: z.ZodOptional<z.ZodBoolean>;
264
268
  switches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
265
269
  }, z.core.$strip>;