exnet-routing 1.1.21 → 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/@test/routes/admin.test.js +3 -3
- package/dist/core/_untils.js +2 -2
- package/dist/models/_emballage.d.ts +7 -7
- package/dist/models/_shipping_emballage.d.ts +21 -21
- package/dist/models/_type_diagnobag.d.ts +9 -9
- package/dist/models/_type_diagnobag.js +3 -3
- package/dist/models/_type_emballage.d.ts +9 -9
- package/dist/models/_type_emballage.js +3 -3
- package/dist/models/_type_sonde.d.ts +9 -9
- package/dist/models/_type_sonde.js +3 -3
- package/dist/routes/admin.d.ts +84 -84
- package/package.json +1 -1
|
@@ -1343,7 +1343,7 @@ describe("Admin Routes", () => {
|
|
|
1343
1343
|
await api
|
|
1344
1344
|
.setHeaders({ Authorization: `Bearer ${authToken}` })
|
|
1345
1345
|
.routes()
|
|
1346
|
-
.admin.typeDiagnobag.update({ queryParams: { id: typeDiagnobagId.toString() }, body: {
|
|
1346
|
+
.admin.typeDiagnobag.update({ queryParams: { id: typeDiagnobagId.toString() }, body: { isActive: false } });
|
|
1347
1347
|
});
|
|
1348
1348
|
});
|
|
1349
1349
|
describe("typeEmballage", () => {
|
|
@@ -1462,7 +1462,7 @@ describe("Admin Routes", () => {
|
|
|
1462
1462
|
await api
|
|
1463
1463
|
.setHeaders({ Authorization: `Bearer ${authToken}` })
|
|
1464
1464
|
.routes()
|
|
1465
|
-
.admin.typeEmballage.update({ queryParams: { id: typeEmballageId.toString() }, body: {
|
|
1465
|
+
.admin.typeEmballage.update({ queryParams: { id: typeEmballageId.toString() }, body: { isActive: false } });
|
|
1466
1466
|
});
|
|
1467
1467
|
});
|
|
1468
1468
|
describe("typeSonde", () => {
|
|
@@ -1581,7 +1581,7 @@ describe("Admin Routes", () => {
|
|
|
1581
1581
|
await api
|
|
1582
1582
|
.setHeaders({ Authorization: `Bearer ${authToken}` })
|
|
1583
1583
|
.routes()
|
|
1584
|
-
.admin.typeSonde.update({ queryParams: { id: typeSondeId.toString() }, body: {
|
|
1584
|
+
.admin.typeSonde.update({ queryParams: { id: typeSondeId.toString() }, body: { isActive: false } });
|
|
1585
1585
|
});
|
|
1586
1586
|
});
|
|
1587
1587
|
describe("typeTransport", () => {
|
package/dist/core/_untils.js
CHANGED
|
@@ -4,13 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.parseApiRoutes = exports.parseApiRoute = exports.isSubRoute = exports.isRoute = exports.apiFetch = exports.apiUrlBuilder = void 0;
|
|
7
|
-
const
|
|
7
|
+
const path_1 = require("path");
|
|
8
8
|
const axios_1 = __importDefault(require("axios"));
|
|
9
9
|
let host;
|
|
10
10
|
let baseUrl;
|
|
11
11
|
let headers;
|
|
12
12
|
const apiUrlBuilder = (segment = "", baseUrl = "", host = "") => {
|
|
13
|
-
const path = (0,
|
|
13
|
+
const path = (0, path_1.join)(baseUrl, segment);
|
|
14
14
|
return host + path;
|
|
15
15
|
};
|
|
16
16
|
exports.apiUrlBuilder = apiUrlBuilder;
|
|
@@ -21,25 +21,24 @@ export declare const EmballageSchema: z.ZodObject<{
|
|
|
21
21
|
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
22
22
|
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
23
23
|
libelle: z.ZodString;
|
|
24
|
-
|
|
24
|
+
isActive: z.ZodBoolean;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
id: number;
|
|
27
27
|
createdAt: DateTime<true> | DateTime<false>;
|
|
28
28
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
29
29
|
libelle: string;
|
|
30
|
-
|
|
30
|
+
isActive: boolean;
|
|
31
31
|
}, {
|
|
32
32
|
id: number;
|
|
33
33
|
createdAt: Date;
|
|
34
34
|
updatedAt: Date;
|
|
35
35
|
libelle: string;
|
|
36
|
-
|
|
36
|
+
isActive: boolean;
|
|
37
37
|
}>>>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
id: number;
|
|
40
40
|
createdAt: DateTime<true> | DateTime<false>;
|
|
41
41
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
42
|
-
active: boolean;
|
|
43
42
|
nomProduit: string;
|
|
44
43
|
dimensionsExterieuresLongueur: number;
|
|
45
44
|
dimensionsExterieuresLargeur: number;
|
|
@@ -50,19 +49,19 @@ export declare const EmballageSchema: z.ZodObject<{
|
|
|
50
49
|
volumeUtile: number;
|
|
51
50
|
poids: number;
|
|
52
51
|
autonomie: number;
|
|
52
|
+
active: boolean;
|
|
53
53
|
typeEmballageId: number;
|
|
54
54
|
typeEmballage?: {
|
|
55
55
|
id: number;
|
|
56
56
|
createdAt: DateTime<true> | DateTime<false>;
|
|
57
57
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
58
58
|
libelle: string;
|
|
59
|
-
|
|
59
|
+
isActive: boolean;
|
|
60
60
|
} | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
id: number;
|
|
63
63
|
createdAt: Date;
|
|
64
64
|
updatedAt: Date;
|
|
65
|
-
active: boolean;
|
|
66
65
|
nomProduit: string;
|
|
67
66
|
dimensionsExterieuresLongueur: number;
|
|
68
67
|
dimensionsExterieuresLargeur: number;
|
|
@@ -73,13 +72,14 @@ export declare const EmballageSchema: z.ZodObject<{
|
|
|
73
72
|
volumeUtile: number;
|
|
74
73
|
poids: number;
|
|
75
74
|
autonomie: number;
|
|
75
|
+
active: boolean;
|
|
76
76
|
typeEmballageId: number;
|
|
77
77
|
typeEmballage?: {
|
|
78
78
|
id: number;
|
|
79
79
|
createdAt: Date;
|
|
80
80
|
updatedAt: Date;
|
|
81
81
|
libelle: string;
|
|
82
|
-
|
|
82
|
+
isActive: boolean;
|
|
83
83
|
} | undefined;
|
|
84
84
|
}>;
|
|
85
85
|
export type IEmballage = z.infer<typeof EmballageSchema>;
|
|
@@ -1673,25 +1673,24 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
1673
1673
|
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
1674
1674
|
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
1675
1675
|
libelle: z.ZodString;
|
|
1676
|
-
|
|
1676
|
+
isActive: z.ZodBoolean;
|
|
1677
1677
|
}, "strip", z.ZodTypeAny, {
|
|
1678
1678
|
id: number;
|
|
1679
1679
|
createdAt: DateTime<true> | DateTime<false>;
|
|
1680
1680
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
1681
1681
|
libelle: string;
|
|
1682
|
-
|
|
1682
|
+
isActive: boolean;
|
|
1683
1683
|
}, {
|
|
1684
1684
|
id: number;
|
|
1685
1685
|
createdAt: Date;
|
|
1686
1686
|
updatedAt: Date;
|
|
1687
1687
|
libelle: string;
|
|
1688
|
-
|
|
1688
|
+
isActive: boolean;
|
|
1689
1689
|
}>>>;
|
|
1690
1690
|
}, "strip", z.ZodTypeAny, {
|
|
1691
1691
|
id: number;
|
|
1692
1692
|
createdAt: DateTime<true> | DateTime<false>;
|
|
1693
1693
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
1694
|
-
active: boolean;
|
|
1695
1694
|
nomProduit: string;
|
|
1696
1695
|
dimensionsExterieuresLongueur: number;
|
|
1697
1696
|
dimensionsExterieuresLargeur: number;
|
|
@@ -1702,19 +1701,19 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
1702
1701
|
volumeUtile: number;
|
|
1703
1702
|
poids: number;
|
|
1704
1703
|
autonomie: number;
|
|
1704
|
+
active: boolean;
|
|
1705
1705
|
typeEmballageId: number;
|
|
1706
1706
|
typeEmballage?: {
|
|
1707
1707
|
id: number;
|
|
1708
1708
|
createdAt: DateTime<true> | DateTime<false>;
|
|
1709
1709
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
1710
1710
|
libelle: string;
|
|
1711
|
-
|
|
1711
|
+
isActive: boolean;
|
|
1712
1712
|
} | undefined;
|
|
1713
1713
|
}, {
|
|
1714
1714
|
id: number;
|
|
1715
1715
|
createdAt: Date;
|
|
1716
1716
|
updatedAt: Date;
|
|
1717
|
-
active: boolean;
|
|
1718
1717
|
nomProduit: string;
|
|
1719
1718
|
dimensionsExterieuresLongueur: number;
|
|
1720
1719
|
dimensionsExterieuresLargeur: number;
|
|
@@ -1725,13 +1724,14 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
1725
1724
|
volumeUtile: number;
|
|
1726
1725
|
poids: number;
|
|
1727
1726
|
autonomie: number;
|
|
1727
|
+
active: boolean;
|
|
1728
1728
|
typeEmballageId: number;
|
|
1729
1729
|
typeEmballage?: {
|
|
1730
1730
|
id: number;
|
|
1731
1731
|
createdAt: Date;
|
|
1732
1732
|
updatedAt: Date;
|
|
1733
1733
|
libelle: string;
|
|
1734
|
-
|
|
1734
|
+
isActive: boolean;
|
|
1735
1735
|
} | undefined;
|
|
1736
1736
|
}>>>;
|
|
1737
1737
|
typesonde: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
@@ -1739,26 +1739,26 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
1739
1739
|
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
1740
1740
|
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
1741
1741
|
libelle: z.ZodString;
|
|
1742
|
-
|
|
1742
|
+
isActive: z.ZodBoolean;
|
|
1743
1743
|
}, "strip", z.ZodTypeAny, {
|
|
1744
1744
|
id: number;
|
|
1745
1745
|
createdAt: DateTime<true> | DateTime<false>;
|
|
1746
1746
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
1747
1747
|
libelle: string;
|
|
1748
|
-
|
|
1748
|
+
isActive: boolean;
|
|
1749
1749
|
}, {
|
|
1750
1750
|
id: number;
|
|
1751
1751
|
createdAt: Date;
|
|
1752
1752
|
updatedAt: Date;
|
|
1753
1753
|
libelle: string;
|
|
1754
|
-
|
|
1754
|
+
isActive: boolean;
|
|
1755
1755
|
}>>>;
|
|
1756
1756
|
typediagnobag: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
1757
1757
|
id: z.ZodNumber;
|
|
1758
1758
|
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
1759
1759
|
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
1760
1760
|
libelle: z.ZodString;
|
|
1761
|
-
|
|
1761
|
+
isActive: z.ZodBoolean;
|
|
1762
1762
|
longueur: z.ZodNumber;
|
|
1763
1763
|
largeur: z.ZodNumber;
|
|
1764
1764
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1766,7 +1766,7 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
1766
1766
|
createdAt: DateTime<true> | DateTime<false>;
|
|
1767
1767
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
1768
1768
|
libelle: string;
|
|
1769
|
-
|
|
1769
|
+
isActive: boolean;
|
|
1770
1770
|
longueur: number;
|
|
1771
1771
|
largeur: number;
|
|
1772
1772
|
}, {
|
|
@@ -1774,7 +1774,7 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
1774
1774
|
createdAt: Date;
|
|
1775
1775
|
updatedAt: Date;
|
|
1776
1776
|
libelle: string;
|
|
1777
|
-
|
|
1777
|
+
isActive: boolean;
|
|
1778
1778
|
longueur: number;
|
|
1779
1779
|
largeur: number;
|
|
1780
1780
|
}>>>;
|
|
@@ -2092,7 +2092,6 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
2092
2092
|
id: number;
|
|
2093
2093
|
createdAt: DateTime<true> | DateTime<false>;
|
|
2094
2094
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
2095
|
-
active: boolean;
|
|
2096
2095
|
nomProduit: string;
|
|
2097
2096
|
dimensionsExterieuresLongueur: number;
|
|
2098
2097
|
dimensionsExterieuresLargeur: number;
|
|
@@ -2103,13 +2102,14 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
2103
2102
|
volumeUtile: number;
|
|
2104
2103
|
poids: number;
|
|
2105
2104
|
autonomie: number;
|
|
2105
|
+
active: boolean;
|
|
2106
2106
|
typeEmballageId: number;
|
|
2107
2107
|
typeEmballage?: {
|
|
2108
2108
|
id: number;
|
|
2109
2109
|
createdAt: DateTime<true> | DateTime<false>;
|
|
2110
2110
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
2111
2111
|
libelle: string;
|
|
2112
|
-
|
|
2112
|
+
isActive: boolean;
|
|
2113
2113
|
} | undefined;
|
|
2114
2114
|
} | undefined;
|
|
2115
2115
|
typesonde?: {
|
|
@@ -2117,14 +2117,14 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
2117
2117
|
createdAt: DateTime<true> | DateTime<false>;
|
|
2118
2118
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
2119
2119
|
libelle: string;
|
|
2120
|
-
|
|
2120
|
+
isActive: boolean;
|
|
2121
2121
|
} | undefined;
|
|
2122
2122
|
typediagnobag?: {
|
|
2123
2123
|
id: number;
|
|
2124
2124
|
createdAt: DateTime<true> | DateTime<false>;
|
|
2125
2125
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
2126
2126
|
libelle: string;
|
|
2127
|
-
|
|
2127
|
+
isActive: boolean;
|
|
2128
2128
|
longueur: number;
|
|
2129
2129
|
largeur: number;
|
|
2130
2130
|
} | undefined;
|
|
@@ -2442,7 +2442,6 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
2442
2442
|
id: number;
|
|
2443
2443
|
createdAt: Date;
|
|
2444
2444
|
updatedAt: Date;
|
|
2445
|
-
active: boolean;
|
|
2446
2445
|
nomProduit: string;
|
|
2447
2446
|
dimensionsExterieuresLongueur: number;
|
|
2448
2447
|
dimensionsExterieuresLargeur: number;
|
|
@@ -2453,13 +2452,14 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
2453
2452
|
volumeUtile: number;
|
|
2454
2453
|
poids: number;
|
|
2455
2454
|
autonomie: number;
|
|
2455
|
+
active: boolean;
|
|
2456
2456
|
typeEmballageId: number;
|
|
2457
2457
|
typeEmballage?: {
|
|
2458
2458
|
id: number;
|
|
2459
2459
|
createdAt: Date;
|
|
2460
2460
|
updatedAt: Date;
|
|
2461
2461
|
libelle: string;
|
|
2462
|
-
|
|
2462
|
+
isActive: boolean;
|
|
2463
2463
|
} | undefined;
|
|
2464
2464
|
} | undefined;
|
|
2465
2465
|
typesonde?: {
|
|
@@ -2467,14 +2467,14 @@ export declare const ShippingEmballageSchema: z.ZodObject<{
|
|
|
2467
2467
|
createdAt: Date;
|
|
2468
2468
|
updatedAt: Date;
|
|
2469
2469
|
libelle: string;
|
|
2470
|
-
|
|
2470
|
+
isActive: boolean;
|
|
2471
2471
|
} | undefined;
|
|
2472
2472
|
typediagnobag?: {
|
|
2473
2473
|
id: number;
|
|
2474
2474
|
createdAt: Date;
|
|
2475
2475
|
updatedAt: Date;
|
|
2476
2476
|
libelle: string;
|
|
2477
|
-
|
|
2477
|
+
isActive: boolean;
|
|
2478
2478
|
longueur: number;
|
|
2479
2479
|
largeur: number;
|
|
2480
2480
|
} | undefined;
|
|
@@ -5,7 +5,7 @@ export declare const TypeDiagnobagSchema: z.ZodObject<{
|
|
|
5
5
|
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
6
6
|
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
7
7
|
libelle: z.ZodString;
|
|
8
|
-
|
|
8
|
+
isActive: z.ZodBoolean;
|
|
9
9
|
longueur: z.ZodNumber;
|
|
10
10
|
largeur: z.ZodNumber;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13,7 +13,7 @@ export declare const TypeDiagnobagSchema: z.ZodObject<{
|
|
|
13
13
|
createdAt: DateTime<true> | DateTime<false>;
|
|
14
14
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
15
15
|
libelle: string;
|
|
16
|
-
|
|
16
|
+
isActive: boolean;
|
|
17
17
|
longueur: number;
|
|
18
18
|
largeur: number;
|
|
19
19
|
}, {
|
|
@@ -21,39 +21,39 @@ export declare const TypeDiagnobagSchema: z.ZodObject<{
|
|
|
21
21
|
createdAt: Date;
|
|
22
22
|
updatedAt: Date;
|
|
23
23
|
libelle: string;
|
|
24
|
-
|
|
24
|
+
isActive: boolean;
|
|
25
25
|
longueur: number;
|
|
26
26
|
largeur: number;
|
|
27
27
|
}>;
|
|
28
28
|
export declare const TypeDiagnobagCreateSchema: z.ZodObject<{
|
|
29
29
|
libelle: z.ZodString;
|
|
30
|
-
|
|
30
|
+
isActive: z.ZodBoolean;
|
|
31
31
|
longueur: z.ZodNumber;
|
|
32
32
|
largeur: z.ZodNumber;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
libelle: string;
|
|
35
|
-
|
|
35
|
+
isActive: boolean;
|
|
36
36
|
longueur: number;
|
|
37
37
|
largeur: number;
|
|
38
38
|
}, {
|
|
39
39
|
libelle: string;
|
|
40
|
-
|
|
40
|
+
isActive: boolean;
|
|
41
41
|
longueur: number;
|
|
42
42
|
largeur: number;
|
|
43
43
|
}>;
|
|
44
44
|
export declare const TypeDiagnobagUpdateSchema: z.ZodObject<{
|
|
45
45
|
libelle: z.ZodOptional<z.ZodString>;
|
|
46
|
-
|
|
46
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
47
47
|
longueur: z.ZodOptional<z.ZodNumber>;
|
|
48
48
|
largeur: z.ZodOptional<z.ZodNumber>;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
50
|
libelle?: string | undefined;
|
|
51
|
-
|
|
51
|
+
isActive?: boolean | undefined;
|
|
52
52
|
longueur?: number | undefined;
|
|
53
53
|
largeur?: number | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
libelle?: string | undefined;
|
|
56
|
-
|
|
56
|
+
isActive?: boolean | undefined;
|
|
57
57
|
longueur?: number | undefined;
|
|
58
58
|
largeur?: number | undefined;
|
|
59
59
|
}>;
|
|
@@ -8,19 +8,19 @@ exports.TypeDiagnobagSchema = zod_1.z.object({
|
|
|
8
8
|
createdAt: zod_1.z.date().transform((date) => luxon_1.DateTime.fromJSDate(date)),
|
|
9
9
|
updatedAt: zod_1.z.date().transform((date) => luxon_1.DateTime.fromJSDate(date)),
|
|
10
10
|
libelle: zod_1.z.string(),
|
|
11
|
-
|
|
11
|
+
isActive: zod_1.z.boolean(),
|
|
12
12
|
longueur: zod_1.z.number(),
|
|
13
13
|
largeur: zod_1.z.number(),
|
|
14
14
|
});
|
|
15
15
|
exports.TypeDiagnobagCreateSchema = zod_1.z.object({
|
|
16
16
|
libelle: zod_1.z.string(),
|
|
17
|
-
|
|
17
|
+
isActive: zod_1.z.boolean(),
|
|
18
18
|
longueur: zod_1.z.number(),
|
|
19
19
|
largeur: zod_1.z.number(),
|
|
20
20
|
});
|
|
21
21
|
exports.TypeDiagnobagUpdateSchema = zod_1.z.object({
|
|
22
22
|
libelle: zod_1.z.string().optional(),
|
|
23
|
-
|
|
23
|
+
isActive: zod_1.z.boolean().optional(),
|
|
24
24
|
longueur: zod_1.z.number().optional(),
|
|
25
25
|
largeur: zod_1.z.number().optional(),
|
|
26
26
|
});
|
|
@@ -5,39 +5,39 @@ export declare const TypeEmballageSchema: z.ZodObject<{
|
|
|
5
5
|
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
6
6
|
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
7
7
|
libelle: z.ZodString;
|
|
8
|
-
|
|
8
|
+
isActive: z.ZodBoolean;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
id: number;
|
|
11
11
|
createdAt: DateTime<true> | DateTime<false>;
|
|
12
12
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
13
13
|
libelle: string;
|
|
14
|
-
|
|
14
|
+
isActive: boolean;
|
|
15
15
|
}, {
|
|
16
16
|
id: number;
|
|
17
17
|
createdAt: Date;
|
|
18
18
|
updatedAt: Date;
|
|
19
19
|
libelle: string;
|
|
20
|
-
|
|
20
|
+
isActive: boolean;
|
|
21
21
|
}>;
|
|
22
22
|
export declare const TypeEmballageCreateSchema: z.ZodObject<{
|
|
23
23
|
libelle: z.ZodString;
|
|
24
|
-
|
|
24
|
+
isActive: z.ZodBoolean;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
libelle: string;
|
|
27
|
-
|
|
27
|
+
isActive: boolean;
|
|
28
28
|
}, {
|
|
29
29
|
libelle: string;
|
|
30
|
-
|
|
30
|
+
isActive: boolean;
|
|
31
31
|
}>;
|
|
32
32
|
export declare const TypeEmballageUpdateSchema: z.ZodObject<{
|
|
33
33
|
libelle: z.ZodOptional<z.ZodString>;
|
|
34
|
-
|
|
34
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
libelle?: string | undefined;
|
|
37
|
-
|
|
37
|
+
isActive?: boolean | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
libelle?: string | undefined;
|
|
40
|
-
|
|
40
|
+
isActive?: boolean | undefined;
|
|
41
41
|
}>;
|
|
42
42
|
export type ITypeEmballage = z.infer<typeof TypeEmballageSchema>;
|
|
43
43
|
export type ITypeEmballageCreate = z.infer<typeof TypeEmballageCreateSchema>;
|
|
@@ -8,13 +8,13 @@ exports.TypeEmballageSchema = zod_1.z.object({
|
|
|
8
8
|
createdAt: zod_1.z.date().transform((date) => luxon_1.DateTime.fromJSDate(date)),
|
|
9
9
|
updatedAt: zod_1.z.date().transform((date) => luxon_1.DateTime.fromJSDate(date)),
|
|
10
10
|
libelle: zod_1.z.string(),
|
|
11
|
-
|
|
11
|
+
isActive: zod_1.z.boolean(),
|
|
12
12
|
});
|
|
13
13
|
exports.TypeEmballageCreateSchema = zod_1.z.object({
|
|
14
14
|
libelle: zod_1.z.string(),
|
|
15
|
-
|
|
15
|
+
isActive: zod_1.z.boolean(),
|
|
16
16
|
});
|
|
17
17
|
exports.TypeEmballageUpdateSchema = zod_1.z.object({
|
|
18
18
|
libelle: zod_1.z.string().optional(),
|
|
19
|
-
|
|
19
|
+
isActive: zod_1.z.boolean().optional(),
|
|
20
20
|
});
|
|
@@ -5,39 +5,39 @@ export declare const TypeSondeSchema: z.ZodObject<{
|
|
|
5
5
|
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
6
6
|
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
7
7
|
libelle: z.ZodString;
|
|
8
|
-
|
|
8
|
+
isActive: z.ZodBoolean;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
id: number;
|
|
11
11
|
createdAt: DateTime<true> | DateTime<false>;
|
|
12
12
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
13
13
|
libelle: string;
|
|
14
|
-
|
|
14
|
+
isActive: boolean;
|
|
15
15
|
}, {
|
|
16
16
|
id: number;
|
|
17
17
|
createdAt: Date;
|
|
18
18
|
updatedAt: Date;
|
|
19
19
|
libelle: string;
|
|
20
|
-
|
|
20
|
+
isActive: boolean;
|
|
21
21
|
}>;
|
|
22
22
|
export declare const TypeSondeCreateSchema: z.ZodObject<{
|
|
23
23
|
libelle: z.ZodString;
|
|
24
|
-
|
|
24
|
+
isActive: z.ZodBoolean;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
libelle: string;
|
|
27
|
-
|
|
27
|
+
isActive: boolean;
|
|
28
28
|
}, {
|
|
29
29
|
libelle: string;
|
|
30
|
-
|
|
30
|
+
isActive: boolean;
|
|
31
31
|
}>;
|
|
32
32
|
export declare const TypeSondeUpdateSchema: z.ZodObject<{
|
|
33
33
|
libelle: z.ZodOptional<z.ZodString>;
|
|
34
|
-
|
|
34
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
libelle?: string | undefined;
|
|
37
|
-
|
|
37
|
+
isActive?: boolean | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
libelle?: string | undefined;
|
|
40
|
-
|
|
40
|
+
isActive?: boolean | undefined;
|
|
41
41
|
}>;
|
|
42
42
|
export type ITypeSonde = z.infer<typeof TypeSondeSchema>;
|
|
43
43
|
export type ITypeSondeCreate = z.infer<typeof TypeSondeCreateSchema>;
|
|
@@ -8,13 +8,13 @@ exports.TypeSondeSchema = zod_1.z.object({
|
|
|
8
8
|
createdAt: zod_1.z.date().transform((date) => luxon_1.DateTime.fromJSDate(date)),
|
|
9
9
|
updatedAt: zod_1.z.date().transform((date) => luxon_1.DateTime.fromJSDate(date)),
|
|
10
10
|
libelle: zod_1.z.string(),
|
|
11
|
-
|
|
11
|
+
isActive: zod_1.z.boolean(),
|
|
12
12
|
});
|
|
13
13
|
exports.TypeSondeCreateSchema = zod_1.z.object({
|
|
14
14
|
libelle: zod_1.z.string(),
|
|
15
|
-
|
|
15
|
+
isActive: zod_1.z.boolean(),
|
|
16
16
|
});
|
|
17
17
|
exports.TypeSondeUpdateSchema = zod_1.z.object({
|
|
18
18
|
libelle: zod_1.z.string().optional(),
|
|
19
|
-
|
|
19
|
+
isActive: zod_1.z.boolean().optional(),
|
|
20
20
|
});
|
package/dist/routes/admin.d.ts
CHANGED
|
@@ -53067,7 +53067,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53067
53067
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
53068
53068
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
53069
53069
|
libelle: z.ZodString;
|
|
53070
|
-
|
|
53070
|
+
isActive: z.ZodBoolean;
|
|
53071
53071
|
longueur: z.ZodNumber;
|
|
53072
53072
|
largeur: z.ZodNumber;
|
|
53073
53073
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -53075,7 +53075,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53075
53075
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53076
53076
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53077
53077
|
libelle: string;
|
|
53078
|
-
|
|
53078
|
+
isActive: boolean;
|
|
53079
53079
|
longueur: number;
|
|
53080
53080
|
largeur: number;
|
|
53081
53081
|
}, {
|
|
@@ -53083,7 +53083,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53083
53083
|
createdAt: Date;
|
|
53084
53084
|
updatedAt: Date;
|
|
53085
53085
|
libelle: string;
|
|
53086
|
-
|
|
53086
|
+
isActive: boolean;
|
|
53087
53087
|
longueur: number;
|
|
53088
53088
|
largeur: number;
|
|
53089
53089
|
}>, "many">;
|
|
@@ -53093,7 +53093,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53093
53093
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53094
53094
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53095
53095
|
libelle: string;
|
|
53096
|
-
|
|
53096
|
+
isActive: boolean;
|
|
53097
53097
|
longueur: number;
|
|
53098
53098
|
largeur: number;
|
|
53099
53099
|
}[];
|
|
@@ -53114,7 +53114,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53114
53114
|
createdAt: Date;
|
|
53115
53115
|
updatedAt: Date;
|
|
53116
53116
|
libelle: string;
|
|
53117
|
-
|
|
53117
|
+
isActive: boolean;
|
|
53118
53118
|
longueur: number;
|
|
53119
53119
|
largeur: number;
|
|
53120
53120
|
}[];
|
|
@@ -53141,7 +53141,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53141
53141
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53142
53142
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53143
53143
|
libelle: string;
|
|
53144
|
-
|
|
53144
|
+
isActive: boolean;
|
|
53145
53145
|
longueur: number;
|
|
53146
53146
|
largeur: number;
|
|
53147
53147
|
}[];
|
|
@@ -53168,7 +53168,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53168
53168
|
createdAt: Date;
|
|
53169
53169
|
updatedAt: Date;
|
|
53170
53170
|
libelle: string;
|
|
53171
|
-
|
|
53171
|
+
isActive: boolean;
|
|
53172
53172
|
longueur: number;
|
|
53173
53173
|
largeur: number;
|
|
53174
53174
|
}[];
|
|
@@ -53303,7 +53303,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53303
53303
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
53304
53304
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
53305
53305
|
libelle: z.ZodString;
|
|
53306
|
-
|
|
53306
|
+
isActive: z.ZodBoolean;
|
|
53307
53307
|
longueur: z.ZodNumber;
|
|
53308
53308
|
largeur: z.ZodNumber;
|
|
53309
53309
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -53311,7 +53311,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53311
53311
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53312
53312
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53313
53313
|
libelle: string;
|
|
53314
|
-
|
|
53314
|
+
isActive: boolean;
|
|
53315
53315
|
longueur: number;
|
|
53316
53316
|
largeur: number;
|
|
53317
53317
|
}, {
|
|
@@ -53319,7 +53319,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53319
53319
|
createdAt: Date;
|
|
53320
53320
|
updatedAt: Date;
|
|
53321
53321
|
libelle: string;
|
|
53322
|
-
|
|
53322
|
+
isActive: boolean;
|
|
53323
53323
|
longueur: number;
|
|
53324
53324
|
largeur: number;
|
|
53325
53325
|
}>;
|
|
@@ -53333,7 +53333,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53333
53333
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53334
53334
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53335
53335
|
libelle: string;
|
|
53336
|
-
|
|
53336
|
+
isActive: boolean;
|
|
53337
53337
|
longueur: number;
|
|
53338
53338
|
largeur: number;
|
|
53339
53339
|
};
|
|
@@ -53347,7 +53347,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53347
53347
|
createdAt: Date;
|
|
53348
53348
|
updatedAt: Date;
|
|
53349
53349
|
libelle: string;
|
|
53350
|
-
|
|
53350
|
+
isActive: boolean;
|
|
53351
53351
|
longueur: number;
|
|
53352
53352
|
largeur: number;
|
|
53353
53353
|
};
|
|
@@ -53459,17 +53459,17 @@ declare const typeDiagnobagRoutes: {
|
|
|
53459
53459
|
url: string;
|
|
53460
53460
|
body: z.ZodObject<{
|
|
53461
53461
|
libelle: z.ZodString;
|
|
53462
|
-
|
|
53462
|
+
isActive: z.ZodBoolean;
|
|
53463
53463
|
longueur: z.ZodNumber;
|
|
53464
53464
|
largeur: z.ZodNumber;
|
|
53465
53465
|
}, "strip", z.ZodTypeAny, {
|
|
53466
53466
|
libelle: string;
|
|
53467
|
-
|
|
53467
|
+
isActive: boolean;
|
|
53468
53468
|
longueur: number;
|
|
53469
53469
|
largeur: number;
|
|
53470
53470
|
}, {
|
|
53471
53471
|
libelle: string;
|
|
53472
|
-
|
|
53472
|
+
isActive: boolean;
|
|
53473
53473
|
longueur: number;
|
|
53474
53474
|
largeur: number;
|
|
53475
53475
|
}>;
|
|
@@ -53479,7 +53479,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53479
53479
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
53480
53480
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
53481
53481
|
libelle: z.ZodString;
|
|
53482
|
-
|
|
53482
|
+
isActive: z.ZodBoolean;
|
|
53483
53483
|
longueur: z.ZodNumber;
|
|
53484
53484
|
largeur: z.ZodNumber;
|
|
53485
53485
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -53487,7 +53487,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53487
53487
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53488
53488
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53489
53489
|
libelle: string;
|
|
53490
|
-
|
|
53490
|
+
isActive: boolean;
|
|
53491
53491
|
longueur: number;
|
|
53492
53492
|
largeur: number;
|
|
53493
53493
|
}, {
|
|
@@ -53495,7 +53495,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53495
53495
|
createdAt: Date;
|
|
53496
53496
|
updatedAt: Date;
|
|
53497
53497
|
libelle: string;
|
|
53498
|
-
|
|
53498
|
+
isActive: boolean;
|
|
53499
53499
|
longueur: number;
|
|
53500
53500
|
largeur: number;
|
|
53501
53501
|
}>;
|
|
@@ -53509,7 +53509,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53509
53509
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53510
53510
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53511
53511
|
libelle: string;
|
|
53512
|
-
|
|
53512
|
+
isActive: boolean;
|
|
53513
53513
|
longueur: number;
|
|
53514
53514
|
largeur: number;
|
|
53515
53515
|
};
|
|
@@ -53523,7 +53523,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53523
53523
|
createdAt: Date;
|
|
53524
53524
|
updatedAt: Date;
|
|
53525
53525
|
libelle: string;
|
|
53526
|
-
|
|
53526
|
+
isActive: boolean;
|
|
53527
53527
|
longueur: number;
|
|
53528
53528
|
largeur: number;
|
|
53529
53529
|
};
|
|
@@ -53642,17 +53642,17 @@ declare const typeDiagnobagRoutes: {
|
|
|
53642
53642
|
}>;
|
|
53643
53643
|
body: z.ZodObject<{
|
|
53644
53644
|
libelle: z.ZodOptional<z.ZodString>;
|
|
53645
|
-
|
|
53645
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
53646
53646
|
longueur: z.ZodOptional<z.ZodNumber>;
|
|
53647
53647
|
largeur: z.ZodOptional<z.ZodNumber>;
|
|
53648
53648
|
}, "strip", z.ZodTypeAny, {
|
|
53649
53649
|
libelle?: string | undefined;
|
|
53650
|
-
|
|
53650
|
+
isActive?: boolean | undefined;
|
|
53651
53651
|
longueur?: number | undefined;
|
|
53652
53652
|
largeur?: number | undefined;
|
|
53653
53653
|
}, {
|
|
53654
53654
|
libelle?: string | undefined;
|
|
53655
|
-
|
|
53655
|
+
isActive?: boolean | undefined;
|
|
53656
53656
|
longueur?: number | undefined;
|
|
53657
53657
|
largeur?: number | undefined;
|
|
53658
53658
|
}>;
|
|
@@ -53662,7 +53662,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53662
53662
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
53663
53663
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
53664
53664
|
libelle: z.ZodString;
|
|
53665
|
-
|
|
53665
|
+
isActive: z.ZodBoolean;
|
|
53666
53666
|
longueur: z.ZodNumber;
|
|
53667
53667
|
largeur: z.ZodNumber;
|
|
53668
53668
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -53670,7 +53670,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53670
53670
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53671
53671
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53672
53672
|
libelle: string;
|
|
53673
|
-
|
|
53673
|
+
isActive: boolean;
|
|
53674
53674
|
longueur: number;
|
|
53675
53675
|
largeur: number;
|
|
53676
53676
|
}, {
|
|
@@ -53678,7 +53678,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53678
53678
|
createdAt: Date;
|
|
53679
53679
|
updatedAt: Date;
|
|
53680
53680
|
libelle: string;
|
|
53681
|
-
|
|
53681
|
+
isActive: boolean;
|
|
53682
53682
|
longueur: number;
|
|
53683
53683
|
largeur: number;
|
|
53684
53684
|
}>;
|
|
@@ -53692,7 +53692,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53692
53692
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53693
53693
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53694
53694
|
libelle: string;
|
|
53695
|
-
|
|
53695
|
+
isActive: boolean;
|
|
53696
53696
|
longueur: number;
|
|
53697
53697
|
largeur: number;
|
|
53698
53698
|
};
|
|
@@ -53706,7 +53706,7 @@ declare const typeDiagnobagRoutes: {
|
|
|
53706
53706
|
createdAt: Date;
|
|
53707
53707
|
updatedAt: Date;
|
|
53708
53708
|
libelle: string;
|
|
53709
|
-
|
|
53709
|
+
isActive: boolean;
|
|
53710
53710
|
longueur: number;
|
|
53711
53711
|
largeur: number;
|
|
53712
53712
|
};
|
|
@@ -53845,19 +53845,19 @@ declare const typeEmballageRoutes: {
|
|
|
53845
53845
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
53846
53846
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
53847
53847
|
libelle: z.ZodString;
|
|
53848
|
-
|
|
53848
|
+
isActive: z.ZodBoolean;
|
|
53849
53849
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
53850
53850
|
id: number;
|
|
53851
53851
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53852
53852
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53853
53853
|
libelle: string;
|
|
53854
|
-
|
|
53854
|
+
isActive: boolean;
|
|
53855
53855
|
}, {
|
|
53856
53856
|
id: number;
|
|
53857
53857
|
createdAt: Date;
|
|
53858
53858
|
updatedAt: Date;
|
|
53859
53859
|
libelle: string;
|
|
53860
|
-
|
|
53860
|
+
isActive: boolean;
|
|
53861
53861
|
}>, "many">;
|
|
53862
53862
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
53863
53863
|
data: {
|
|
@@ -53865,7 +53865,7 @@ declare const typeEmballageRoutes: {
|
|
|
53865
53865
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53866
53866
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53867
53867
|
libelle: string;
|
|
53868
|
-
|
|
53868
|
+
isActive: boolean;
|
|
53869
53869
|
}[];
|
|
53870
53870
|
meta: {
|
|
53871
53871
|
total: number;
|
|
@@ -53884,7 +53884,7 @@ declare const typeEmballageRoutes: {
|
|
|
53884
53884
|
createdAt: Date;
|
|
53885
53885
|
updatedAt: Date;
|
|
53886
53886
|
libelle: string;
|
|
53887
|
-
|
|
53887
|
+
isActive: boolean;
|
|
53888
53888
|
}[];
|
|
53889
53889
|
meta: {
|
|
53890
53890
|
total: number;
|
|
@@ -53909,7 +53909,7 @@ declare const typeEmballageRoutes: {
|
|
|
53909
53909
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53910
53910
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
53911
53911
|
libelle: string;
|
|
53912
|
-
|
|
53912
|
+
isActive: boolean;
|
|
53913
53913
|
}[];
|
|
53914
53914
|
meta: {
|
|
53915
53915
|
total: number;
|
|
@@ -53934,7 +53934,7 @@ declare const typeEmballageRoutes: {
|
|
|
53934
53934
|
createdAt: Date;
|
|
53935
53935
|
updatedAt: Date;
|
|
53936
53936
|
libelle: string;
|
|
53937
|
-
|
|
53937
|
+
isActive: boolean;
|
|
53938
53938
|
}[];
|
|
53939
53939
|
meta: {
|
|
53940
53940
|
total: number;
|
|
@@ -54067,19 +54067,19 @@ declare const typeEmballageRoutes: {
|
|
|
54067
54067
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54068
54068
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54069
54069
|
libelle: z.ZodString;
|
|
54070
|
-
|
|
54070
|
+
isActive: z.ZodBoolean;
|
|
54071
54071
|
}, "strip", z.ZodTypeAny, {
|
|
54072
54072
|
id: number;
|
|
54073
54073
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54074
54074
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54075
54075
|
libelle: string;
|
|
54076
|
-
|
|
54076
|
+
isActive: boolean;
|
|
54077
54077
|
}, {
|
|
54078
54078
|
id: number;
|
|
54079
54079
|
createdAt: Date;
|
|
54080
54080
|
updatedAt: Date;
|
|
54081
54081
|
libelle: string;
|
|
54082
|
-
|
|
54082
|
+
isActive: boolean;
|
|
54083
54083
|
}>;
|
|
54084
54084
|
message: z.ZodOptional<z.ZodString>;
|
|
54085
54085
|
status: z.ZodOptional<z.ZodNumber>;
|
|
@@ -54091,7 +54091,7 @@ declare const typeEmballageRoutes: {
|
|
|
54091
54091
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54092
54092
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54093
54093
|
libelle: string;
|
|
54094
|
-
|
|
54094
|
+
isActive: boolean;
|
|
54095
54095
|
};
|
|
54096
54096
|
success: true;
|
|
54097
54097
|
status?: number | undefined;
|
|
@@ -54103,7 +54103,7 @@ declare const typeEmballageRoutes: {
|
|
|
54103
54103
|
createdAt: Date;
|
|
54104
54104
|
updatedAt: Date;
|
|
54105
54105
|
libelle: string;
|
|
54106
|
-
|
|
54106
|
+
isActive: boolean;
|
|
54107
54107
|
};
|
|
54108
54108
|
success: true;
|
|
54109
54109
|
status?: number | undefined;
|
|
@@ -54213,13 +54213,13 @@ declare const typeEmballageRoutes: {
|
|
|
54213
54213
|
url: string;
|
|
54214
54214
|
body: z.ZodObject<{
|
|
54215
54215
|
libelle: z.ZodString;
|
|
54216
|
-
|
|
54216
|
+
isActive: z.ZodBoolean;
|
|
54217
54217
|
}, "strip", z.ZodTypeAny, {
|
|
54218
54218
|
libelle: string;
|
|
54219
|
-
|
|
54219
|
+
isActive: boolean;
|
|
54220
54220
|
}, {
|
|
54221
54221
|
libelle: string;
|
|
54222
|
-
|
|
54222
|
+
isActive: boolean;
|
|
54223
54223
|
}>;
|
|
54224
54224
|
response: z.ZodUnion<[z.ZodObject<{
|
|
54225
54225
|
data: z.ZodObject<{
|
|
@@ -54227,19 +54227,19 @@ declare const typeEmballageRoutes: {
|
|
|
54227
54227
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54228
54228
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54229
54229
|
libelle: z.ZodString;
|
|
54230
|
-
|
|
54230
|
+
isActive: z.ZodBoolean;
|
|
54231
54231
|
}, "strip", z.ZodTypeAny, {
|
|
54232
54232
|
id: number;
|
|
54233
54233
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54234
54234
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54235
54235
|
libelle: string;
|
|
54236
|
-
|
|
54236
|
+
isActive: boolean;
|
|
54237
54237
|
}, {
|
|
54238
54238
|
id: number;
|
|
54239
54239
|
createdAt: Date;
|
|
54240
54240
|
updatedAt: Date;
|
|
54241
54241
|
libelle: string;
|
|
54242
|
-
|
|
54242
|
+
isActive: boolean;
|
|
54243
54243
|
}>;
|
|
54244
54244
|
message: z.ZodOptional<z.ZodString>;
|
|
54245
54245
|
status: z.ZodOptional<z.ZodNumber>;
|
|
@@ -54251,7 +54251,7 @@ declare const typeEmballageRoutes: {
|
|
|
54251
54251
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54252
54252
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54253
54253
|
libelle: string;
|
|
54254
|
-
|
|
54254
|
+
isActive: boolean;
|
|
54255
54255
|
};
|
|
54256
54256
|
success: true;
|
|
54257
54257
|
status?: number | undefined;
|
|
@@ -54263,7 +54263,7 @@ declare const typeEmballageRoutes: {
|
|
|
54263
54263
|
createdAt: Date;
|
|
54264
54264
|
updatedAt: Date;
|
|
54265
54265
|
libelle: string;
|
|
54266
|
-
|
|
54266
|
+
isActive: boolean;
|
|
54267
54267
|
};
|
|
54268
54268
|
success: true;
|
|
54269
54269
|
status?: number | undefined;
|
|
@@ -54380,13 +54380,13 @@ declare const typeEmballageRoutes: {
|
|
|
54380
54380
|
}>;
|
|
54381
54381
|
body: z.ZodObject<{
|
|
54382
54382
|
libelle: z.ZodOptional<z.ZodString>;
|
|
54383
|
-
|
|
54383
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
54384
54384
|
}, "strip", z.ZodTypeAny, {
|
|
54385
54385
|
libelle?: string | undefined;
|
|
54386
|
-
|
|
54386
|
+
isActive?: boolean | undefined;
|
|
54387
54387
|
}, {
|
|
54388
54388
|
libelle?: string | undefined;
|
|
54389
|
-
|
|
54389
|
+
isActive?: boolean | undefined;
|
|
54390
54390
|
}>;
|
|
54391
54391
|
response: z.ZodUnion<[z.ZodObject<{
|
|
54392
54392
|
data: z.ZodObject<{
|
|
@@ -54394,19 +54394,19 @@ declare const typeEmballageRoutes: {
|
|
|
54394
54394
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54395
54395
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54396
54396
|
libelle: z.ZodString;
|
|
54397
|
-
|
|
54397
|
+
isActive: z.ZodBoolean;
|
|
54398
54398
|
}, "strip", z.ZodTypeAny, {
|
|
54399
54399
|
id: number;
|
|
54400
54400
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54401
54401
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54402
54402
|
libelle: string;
|
|
54403
|
-
|
|
54403
|
+
isActive: boolean;
|
|
54404
54404
|
}, {
|
|
54405
54405
|
id: number;
|
|
54406
54406
|
createdAt: Date;
|
|
54407
54407
|
updatedAt: Date;
|
|
54408
54408
|
libelle: string;
|
|
54409
|
-
|
|
54409
|
+
isActive: boolean;
|
|
54410
54410
|
}>;
|
|
54411
54411
|
message: z.ZodOptional<z.ZodString>;
|
|
54412
54412
|
status: z.ZodOptional<z.ZodNumber>;
|
|
@@ -54418,7 +54418,7 @@ declare const typeEmballageRoutes: {
|
|
|
54418
54418
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54419
54419
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54420
54420
|
libelle: string;
|
|
54421
|
-
|
|
54421
|
+
isActive: boolean;
|
|
54422
54422
|
};
|
|
54423
54423
|
success: true;
|
|
54424
54424
|
status?: number | undefined;
|
|
@@ -54430,7 +54430,7 @@ declare const typeEmballageRoutes: {
|
|
|
54430
54430
|
createdAt: Date;
|
|
54431
54431
|
updatedAt: Date;
|
|
54432
54432
|
libelle: string;
|
|
54433
|
-
|
|
54433
|
+
isActive: boolean;
|
|
54434
54434
|
};
|
|
54435
54435
|
success: true;
|
|
54436
54436
|
status?: number | undefined;
|
|
@@ -54567,19 +54567,19 @@ declare const typeSondeRoutes: {
|
|
|
54567
54567
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54568
54568
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54569
54569
|
libelle: z.ZodString;
|
|
54570
|
-
|
|
54570
|
+
isActive: z.ZodBoolean;
|
|
54571
54571
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
54572
54572
|
id: number;
|
|
54573
54573
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54574
54574
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54575
54575
|
libelle: string;
|
|
54576
|
-
|
|
54576
|
+
isActive: boolean;
|
|
54577
54577
|
}, {
|
|
54578
54578
|
id: number;
|
|
54579
54579
|
createdAt: Date;
|
|
54580
54580
|
updatedAt: Date;
|
|
54581
54581
|
libelle: string;
|
|
54582
|
-
|
|
54582
|
+
isActive: boolean;
|
|
54583
54583
|
}>, "many">;
|
|
54584
54584
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
54585
54585
|
data: {
|
|
@@ -54587,7 +54587,7 @@ declare const typeSondeRoutes: {
|
|
|
54587
54587
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54588
54588
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54589
54589
|
libelle: string;
|
|
54590
|
-
|
|
54590
|
+
isActive: boolean;
|
|
54591
54591
|
}[];
|
|
54592
54592
|
meta: {
|
|
54593
54593
|
total: number;
|
|
@@ -54606,7 +54606,7 @@ declare const typeSondeRoutes: {
|
|
|
54606
54606
|
createdAt: Date;
|
|
54607
54607
|
updatedAt: Date;
|
|
54608
54608
|
libelle: string;
|
|
54609
|
-
|
|
54609
|
+
isActive: boolean;
|
|
54610
54610
|
}[];
|
|
54611
54611
|
meta: {
|
|
54612
54612
|
total: number;
|
|
@@ -54631,7 +54631,7 @@ declare const typeSondeRoutes: {
|
|
|
54631
54631
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54632
54632
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54633
54633
|
libelle: string;
|
|
54634
|
-
|
|
54634
|
+
isActive: boolean;
|
|
54635
54635
|
}[];
|
|
54636
54636
|
meta: {
|
|
54637
54637
|
total: number;
|
|
@@ -54656,7 +54656,7 @@ declare const typeSondeRoutes: {
|
|
|
54656
54656
|
createdAt: Date;
|
|
54657
54657
|
updatedAt: Date;
|
|
54658
54658
|
libelle: string;
|
|
54659
|
-
|
|
54659
|
+
isActive: boolean;
|
|
54660
54660
|
}[];
|
|
54661
54661
|
meta: {
|
|
54662
54662
|
total: number;
|
|
@@ -54789,19 +54789,19 @@ declare const typeSondeRoutes: {
|
|
|
54789
54789
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54790
54790
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54791
54791
|
libelle: z.ZodString;
|
|
54792
|
-
|
|
54792
|
+
isActive: z.ZodBoolean;
|
|
54793
54793
|
}, "strip", z.ZodTypeAny, {
|
|
54794
54794
|
id: number;
|
|
54795
54795
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54796
54796
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54797
54797
|
libelle: string;
|
|
54798
|
-
|
|
54798
|
+
isActive: boolean;
|
|
54799
54799
|
}, {
|
|
54800
54800
|
id: number;
|
|
54801
54801
|
createdAt: Date;
|
|
54802
54802
|
updatedAt: Date;
|
|
54803
54803
|
libelle: string;
|
|
54804
|
-
|
|
54804
|
+
isActive: boolean;
|
|
54805
54805
|
}>;
|
|
54806
54806
|
message: z.ZodOptional<z.ZodString>;
|
|
54807
54807
|
status: z.ZodOptional<z.ZodNumber>;
|
|
@@ -54813,7 +54813,7 @@ declare const typeSondeRoutes: {
|
|
|
54813
54813
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54814
54814
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54815
54815
|
libelle: string;
|
|
54816
|
-
|
|
54816
|
+
isActive: boolean;
|
|
54817
54817
|
};
|
|
54818
54818
|
success: true;
|
|
54819
54819
|
status?: number | undefined;
|
|
@@ -54825,7 +54825,7 @@ declare const typeSondeRoutes: {
|
|
|
54825
54825
|
createdAt: Date;
|
|
54826
54826
|
updatedAt: Date;
|
|
54827
54827
|
libelle: string;
|
|
54828
|
-
|
|
54828
|
+
isActive: boolean;
|
|
54829
54829
|
};
|
|
54830
54830
|
success: true;
|
|
54831
54831
|
status?: number | undefined;
|
|
@@ -54935,13 +54935,13 @@ declare const typeSondeRoutes: {
|
|
|
54935
54935
|
url: string;
|
|
54936
54936
|
body: z.ZodObject<{
|
|
54937
54937
|
libelle: z.ZodString;
|
|
54938
|
-
|
|
54938
|
+
isActive: z.ZodBoolean;
|
|
54939
54939
|
}, "strip", z.ZodTypeAny, {
|
|
54940
54940
|
libelle: string;
|
|
54941
|
-
|
|
54941
|
+
isActive: boolean;
|
|
54942
54942
|
}, {
|
|
54943
54943
|
libelle: string;
|
|
54944
|
-
|
|
54944
|
+
isActive: boolean;
|
|
54945
54945
|
}>;
|
|
54946
54946
|
response: z.ZodUnion<[z.ZodObject<{
|
|
54947
54947
|
data: z.ZodObject<{
|
|
@@ -54949,19 +54949,19 @@ declare const typeSondeRoutes: {
|
|
|
54949
54949
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54950
54950
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
54951
54951
|
libelle: z.ZodString;
|
|
54952
|
-
|
|
54952
|
+
isActive: z.ZodBoolean;
|
|
54953
54953
|
}, "strip", z.ZodTypeAny, {
|
|
54954
54954
|
id: number;
|
|
54955
54955
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54956
54956
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54957
54957
|
libelle: string;
|
|
54958
|
-
|
|
54958
|
+
isActive: boolean;
|
|
54959
54959
|
}, {
|
|
54960
54960
|
id: number;
|
|
54961
54961
|
createdAt: Date;
|
|
54962
54962
|
updatedAt: Date;
|
|
54963
54963
|
libelle: string;
|
|
54964
|
-
|
|
54964
|
+
isActive: boolean;
|
|
54965
54965
|
}>;
|
|
54966
54966
|
message: z.ZodOptional<z.ZodString>;
|
|
54967
54967
|
status: z.ZodOptional<z.ZodNumber>;
|
|
@@ -54973,7 +54973,7 @@ declare const typeSondeRoutes: {
|
|
|
54973
54973
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54974
54974
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
54975
54975
|
libelle: string;
|
|
54976
|
-
|
|
54976
|
+
isActive: boolean;
|
|
54977
54977
|
};
|
|
54978
54978
|
success: true;
|
|
54979
54979
|
status?: number | undefined;
|
|
@@ -54985,7 +54985,7 @@ declare const typeSondeRoutes: {
|
|
|
54985
54985
|
createdAt: Date;
|
|
54986
54986
|
updatedAt: Date;
|
|
54987
54987
|
libelle: string;
|
|
54988
|
-
|
|
54988
|
+
isActive: boolean;
|
|
54989
54989
|
};
|
|
54990
54990
|
success: true;
|
|
54991
54991
|
status?: number | undefined;
|
|
@@ -55102,13 +55102,13 @@ declare const typeSondeRoutes: {
|
|
|
55102
55102
|
}>;
|
|
55103
55103
|
body: z.ZodObject<{
|
|
55104
55104
|
libelle: z.ZodOptional<z.ZodString>;
|
|
55105
|
-
|
|
55105
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
55106
55106
|
}, "strip", z.ZodTypeAny, {
|
|
55107
55107
|
libelle?: string | undefined;
|
|
55108
|
-
|
|
55108
|
+
isActive?: boolean | undefined;
|
|
55109
55109
|
}, {
|
|
55110
55110
|
libelle?: string | undefined;
|
|
55111
|
-
|
|
55111
|
+
isActive?: boolean | undefined;
|
|
55112
55112
|
}>;
|
|
55113
55113
|
response: z.ZodUnion<[z.ZodObject<{
|
|
55114
55114
|
data: z.ZodObject<{
|
|
@@ -55116,19 +55116,19 @@ declare const typeSondeRoutes: {
|
|
|
55116
55116
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
55117
55117
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
55118
55118
|
libelle: z.ZodString;
|
|
55119
|
-
|
|
55119
|
+
isActive: z.ZodBoolean;
|
|
55120
55120
|
}, "strip", z.ZodTypeAny, {
|
|
55121
55121
|
id: number;
|
|
55122
55122
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
55123
55123
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
55124
55124
|
libelle: string;
|
|
55125
|
-
|
|
55125
|
+
isActive: boolean;
|
|
55126
55126
|
}, {
|
|
55127
55127
|
id: number;
|
|
55128
55128
|
createdAt: Date;
|
|
55129
55129
|
updatedAt: Date;
|
|
55130
55130
|
libelle: string;
|
|
55131
|
-
|
|
55131
|
+
isActive: boolean;
|
|
55132
55132
|
}>;
|
|
55133
55133
|
message: z.ZodOptional<z.ZodString>;
|
|
55134
55134
|
status: z.ZodOptional<z.ZodNumber>;
|
|
@@ -55140,7 +55140,7 @@ declare const typeSondeRoutes: {
|
|
|
55140
55140
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
55141
55141
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
55142
55142
|
libelle: string;
|
|
55143
|
-
|
|
55143
|
+
isActive: boolean;
|
|
55144
55144
|
};
|
|
55145
55145
|
success: true;
|
|
55146
55146
|
status?: number | undefined;
|
|
@@ -55152,7 +55152,7 @@ declare const typeSondeRoutes: {
|
|
|
55152
55152
|
createdAt: Date;
|
|
55153
55153
|
updatedAt: Date;
|
|
55154
55154
|
libelle: string;
|
|
55155
|
-
|
|
55155
|
+
isActive: boolean;
|
|
55156
55156
|
};
|
|
55157
55157
|
success: true;
|
|
55158
55158
|
status?: number | undefined;
|