@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.
- package/dist/index.d.ts +9 -7
- package/dist/index.js +504 -2672
- package/dist/resources/alert-rules.d.ts +48 -0
- package/dist/resources/alert-rules.js +66 -0
- package/dist/resources/configs.d.ts +6 -2
- package/dist/resources/configs.js +67 -2375
- package/dist/resources/experiments.d.ts +100 -2
- package/dist/resources/experiments.js +158 -105
- package/dist/resources/gates.d.ts +51 -8
- package/dist/resources/gates.js +102 -70
- package/dist/resources/index.d.ts +166 -10
- package/dist/resources/index.js +503 -2671
- package/dist/resources/killswitches.d.ts +6 -2
- package/dist/resources/killswitches.js +113 -2412
- package/dist/resources/universes.d.ts +7 -4
- package/dist/resources/universes.js +30 -20
- package/dist/schemas/alert-rules.d.ts +43 -0
- package/dist/schemas/alert-rules.js +27 -0
- package/dist/schemas/configs.d.ts +154 -0
- package/dist/schemas/configs.js +134 -0
- package/dist/schemas/constants.d.ts +6 -0
- package/dist/schemas/constants.js +7 -0
- package/dist/schemas/experiments.d.ts +245 -0
- package/dist/schemas/experiments.js +216 -0
- package/dist/schemas/folder.d.ts +10 -0
- package/dist/schemas/folder.js +8 -0
- package/dist/schemas/gates.d.ts +304 -0
- package/dist/schemas/gates.js +172 -0
- package/dist/schemas/index.d.ts +11 -0
- package/dist/schemas/index.js +729 -0
- package/dist/schemas/killswitches.d.ts +110 -0
- package/dist/schemas/killswitches.js +226 -0
- package/dist/schemas/metric-name.d.ts +5 -0
- package/dist/schemas/metric-name.js +6 -0
- package/dist/schemas/pagination.d.ts +37 -0
- package/dist/schemas/pagination.js +44 -0
- package/dist/schemas/universes.d.ts +35 -0
- package/dist/schemas/universes.js +55 -0
- package/openapi.json +1257 -228
- package/package.json +13 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { killswitchCreateSchema, killswitchUpdateSchema, killswitchSwitchSetSchema, killswitchSwitchUnsetSchema } from '
|
|
3
|
-
import { PageQuery, Page } from '
|
|
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>;
|