exnet-routing 1.2.5 → 1.2.6
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/models/_fuel.d.ts +32 -0
- package/dist/models/_fuel.js +13 -1
- package/dist/routes/admin.d.ts +946 -0
- package/dist/routes/admin.js +34 -0
- package/dist/routes/ops.d.ts +4107 -0
- package/dist/routes/ops.js +15 -0
- package/dist/routes/user.d.ts +420 -0
- package/dist/routes/user.js +15 -0
- package/package.json +1 -1
package/dist/models/_fuel.d.ts
CHANGED
|
@@ -25,4 +25,36 @@ export declare const FuelSchema: z.ZodObject<{
|
|
|
25
25
|
forVariation: boolean;
|
|
26
26
|
indexFuel: number;
|
|
27
27
|
}>;
|
|
28
|
+
export declare const FuelCreateSchema: z.ZodObject<{
|
|
29
|
+
value: z.ZodNumber;
|
|
30
|
+
indexFuel: z.ZodNumber;
|
|
31
|
+
isActif: z.ZodBoolean;
|
|
32
|
+
forVariation: z.ZodBoolean;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
value: number;
|
|
35
|
+
isActif: boolean;
|
|
36
|
+
forVariation: boolean;
|
|
37
|
+
indexFuel: number;
|
|
38
|
+
}, {
|
|
39
|
+
value: number;
|
|
40
|
+
isActif: boolean;
|
|
41
|
+
forVariation: boolean;
|
|
42
|
+
indexFuel: number;
|
|
43
|
+
}>;
|
|
44
|
+
export declare const FuelUpdateSchema: z.ZodObject<{
|
|
45
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
indexFuel: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
isActif: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
forVariation: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
value?: number | undefined;
|
|
51
|
+
isActif?: boolean | undefined;
|
|
52
|
+
forVariation?: boolean | undefined;
|
|
53
|
+
indexFuel?: number | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
value?: number | undefined;
|
|
56
|
+
isActif?: boolean | undefined;
|
|
57
|
+
forVariation?: boolean | undefined;
|
|
58
|
+
indexFuel?: number | undefined;
|
|
59
|
+
}>;
|
|
28
60
|
export type IFuel = z.infer<typeof FuelSchema>;
|
package/dist/models/_fuel.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FuelSchema = void 0;
|
|
3
|
+
exports.FuelUpdateSchema = exports.FuelCreateSchema = exports.FuelSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const luxon_1 = require("luxon");
|
|
6
6
|
exports.FuelSchema = zod_1.z.object({
|
|
@@ -12,3 +12,15 @@ exports.FuelSchema = zod_1.z.object({
|
|
|
12
12
|
isActif: zod_1.z.boolean(),
|
|
13
13
|
forVariation: zod_1.z.boolean(),
|
|
14
14
|
});
|
|
15
|
+
exports.FuelCreateSchema = zod_1.z.object({
|
|
16
|
+
value: zod_1.z.number(),
|
|
17
|
+
indexFuel: zod_1.z.number(),
|
|
18
|
+
isActif: zod_1.z.boolean(),
|
|
19
|
+
forVariation: zod_1.z.boolean(),
|
|
20
|
+
});
|
|
21
|
+
exports.FuelUpdateSchema = zod_1.z.object({
|
|
22
|
+
value: zod_1.z.number().optional(),
|
|
23
|
+
indexFuel: zod_1.z.number().optional(),
|
|
24
|
+
isActif: zod_1.z.boolean().optional(),
|
|
25
|
+
forVariation: zod_1.z.boolean().optional(),
|
|
26
|
+
});
|