colibris-types 1.0.25 → 1.0.26
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/lib/computers.d.ts +6 -0
- package/lib/computers.js +5 -0
- package/lib/index.d.ts +3 -0
- package/package.json +1 -1
package/lib/computers.d.ts
CHANGED
|
@@ -479,6 +479,7 @@ declare const ComputerUpload: z.ZodArray<z.ZodObject<{
|
|
|
479
479
|
Filiale: z.ZodOptional<z.ZodString>;
|
|
480
480
|
"Montant R\u00E9paration": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
481
481
|
"N\u00B0 de PV": z.ZodOptional<z.ZodString>;
|
|
482
|
+
Loyer: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
482
483
|
}, "strip", z.ZodTypeAny, {
|
|
483
484
|
"N\u00B0 de s\u00E9rie": string;
|
|
484
485
|
Type?: string | undefined;
|
|
@@ -516,6 +517,7 @@ declare const ComputerUpload: z.ZodArray<z.ZodObject<{
|
|
|
516
517
|
Filiale?: string | undefined;
|
|
517
518
|
"Montant R\u00E9paration"?: number | undefined;
|
|
518
519
|
"N\u00B0 de PV"?: string | undefined;
|
|
520
|
+
Loyer?: number | undefined;
|
|
519
521
|
}, {
|
|
520
522
|
"N\u00B0 de s\u00E9rie": string;
|
|
521
523
|
Type?: string | undefined;
|
|
@@ -553,6 +555,7 @@ declare const ComputerUpload: z.ZodArray<z.ZodObject<{
|
|
|
553
555
|
Filiale?: string | undefined;
|
|
554
556
|
"Montant R\u00E9paration"?: string | undefined;
|
|
555
557
|
"N\u00B0 de PV"?: string | undefined;
|
|
558
|
+
Loyer?: string | undefined;
|
|
556
559
|
}>, "many">;
|
|
557
560
|
export declare const assetDefinitions: {
|
|
558
561
|
asset_genre: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -846,6 +849,7 @@ export declare const assetDefinitions: {
|
|
|
846
849
|
Filiale: z.ZodOptional<z.ZodString>;
|
|
847
850
|
"Montant R\u00E9paration": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
848
851
|
"N\u00B0 de PV": z.ZodOptional<z.ZodString>;
|
|
852
|
+
Loyer: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
849
853
|
}, "strip", z.ZodTypeAny, {
|
|
850
854
|
"N\u00B0 de s\u00E9rie": string;
|
|
851
855
|
Type?: string | undefined;
|
|
@@ -883,6 +887,7 @@ export declare const assetDefinitions: {
|
|
|
883
887
|
Filiale?: string | undefined;
|
|
884
888
|
"Montant R\u00E9paration"?: number | undefined;
|
|
885
889
|
"N\u00B0 de PV"?: string | undefined;
|
|
890
|
+
Loyer?: number | undefined;
|
|
886
891
|
}, {
|
|
887
892
|
"N\u00B0 de s\u00E9rie": string;
|
|
888
893
|
Type?: string | undefined;
|
|
@@ -920,6 +925,7 @@ export declare const assetDefinitions: {
|
|
|
920
925
|
Filiale?: string | undefined;
|
|
921
926
|
"Montant R\u00E9paration"?: string | undefined;
|
|
922
927
|
"N\u00B0 de PV"?: string | undefined;
|
|
928
|
+
Loyer?: string | undefined;
|
|
923
929
|
}>, "many">;
|
|
924
930
|
csr_data: z.ZodObject<z.objectUtil.extendShape<{
|
|
925
931
|
id_company: z.ZodNumber;
|
package/lib/computers.js
CHANGED
|
@@ -190,6 +190,11 @@ const ComputerUpload = z.array(z.object({
|
|
|
190
190
|
.pipe(z.number())
|
|
191
191
|
.optional(),
|
|
192
192
|
"N° de PV": z.string().max(50).optional(),
|
|
193
|
+
Loyer: z
|
|
194
|
+
.string()
|
|
195
|
+
.transform((v) => parseFloat(v.replace(",", ".")))
|
|
196
|
+
.pipe(z.number())
|
|
197
|
+
.optional(),
|
|
193
198
|
}));
|
|
194
199
|
export const assetDefinitions = {
|
|
195
200
|
asset_genre: AssetGenre,
|
package/lib/index.d.ts
CHANGED
|
@@ -739,6 +739,7 @@ export declare const schemasDefinitions: {
|
|
|
739
739
|
Filiale: z.ZodOptional<z.ZodString>;
|
|
740
740
|
"Montant R\u00E9paration": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
741
741
|
"N\u00B0 de PV": z.ZodOptional<z.ZodString>;
|
|
742
|
+
Loyer: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
742
743
|
}, "strip", z.ZodTypeAny, {
|
|
743
744
|
"N\u00B0 de s\u00E9rie": string;
|
|
744
745
|
Type?: string | undefined;
|
|
@@ -776,6 +777,7 @@ export declare const schemasDefinitions: {
|
|
|
776
777
|
Filiale?: string | undefined;
|
|
777
778
|
"Montant R\u00E9paration"?: number | undefined;
|
|
778
779
|
"N\u00B0 de PV"?: string | undefined;
|
|
780
|
+
Loyer?: number | undefined;
|
|
779
781
|
}, {
|
|
780
782
|
"N\u00B0 de s\u00E9rie": string;
|
|
781
783
|
Type?: string | undefined;
|
|
@@ -813,6 +815,7 @@ export declare const schemasDefinitions: {
|
|
|
813
815
|
Filiale?: string | undefined;
|
|
814
816
|
"Montant R\u00E9paration"?: string | undefined;
|
|
815
817
|
"N\u00B0 de PV"?: string | undefined;
|
|
818
|
+
Loyer?: string | undefined;
|
|
816
819
|
}>, "many">;
|
|
817
820
|
csr_data: z.ZodObject<z.objectUtil.extendShape<{
|
|
818
821
|
id_company: z.ZodNumber;
|