colibris-types 1.0.23 → 1.0.25
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 +198 -258
- package/lib/computers.js +65 -46
- package/lib/index.d.ts +136 -166
- package/lib/org.d.ts +70 -70
- package/lib/org.js +14 -13
- package/package.json +8 -9
package/lib/computers.d.ts
CHANGED
|
@@ -443,146 +443,116 @@ declare const AssetUpload: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
443
443
|
AffectationDate?: Date | undefined;
|
|
444
444
|
}>;
|
|
445
445
|
declare const ComputerUpload: z.ZodArray<z.ZodObject<{
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
Type: z.ZodString
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
Label: z.ZodString
|
|
446
|
+
"N\u00B0 de s\u00E9rie": z.ZodString;
|
|
447
|
+
"N\u00B0 Interne": z.ZodOptional<z.ZodString>;
|
|
448
|
+
Propriétaire: z.ZodOptional<z.ZodString>;
|
|
449
|
+
Type: z.ZodOptional<z.ZodString>;
|
|
450
|
+
Constructeur: z.ZodOptional<z.ZodString>;
|
|
451
|
+
"Code produit": z.ZodOptional<z.ZodString>;
|
|
452
|
+
Label: z.ZodOptional<z.ZodString>;
|
|
453
453
|
CPU: z.ZodOptional<z.ZodString>;
|
|
454
454
|
OS: z.ZodOptional<z.ZodString>;
|
|
455
455
|
RAM: z.ZodOptional<z.ZodString>;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
CO2ProductionImpact: z.ZodOptional<z.ZodNumber>;
|
|
483
|
-
AssetAge: z.ZodOptional<z.ZodNumber>;
|
|
484
|
-
PersonNumber: z.ZodOptional<z.ZodString>;
|
|
485
|
-
Status: z.ZodOptional<z.ZodString>;
|
|
486
|
-
SiteName: z.ZodOptional<z.ZodString>;
|
|
487
|
-
SubsidiaryName: z.ZodOptional<z.ZodString>;
|
|
488
|
-
Repair: z.ZodOptional<z.ZodString>;
|
|
489
|
-
RepairAmount: z.ZodOptional<z.ZodNumber>;
|
|
490
|
-
RetrologisticRefund: z.ZodOptional<z.ZodNumber>;
|
|
491
|
-
PVNumber: z.ZodOptional<z.ZodString>;
|
|
456
|
+
"M\u00E9moire Disque": z.ZodOptional<z.ZodString>;
|
|
457
|
+
"Adresse IP": z.ZodOptional<z.ZodString>;
|
|
458
|
+
"N\u00B0 de Commande": z.ZodOptional<z.ZodString>;
|
|
459
|
+
"Date de la Commande": z.ZodOptional<z.ZodString>;
|
|
460
|
+
"Date de livraison": z.ZodOptional<z.ZodString>;
|
|
461
|
+
"Date d'entr\u00E9e": z.ZodOptional<z.ZodString>;
|
|
462
|
+
"Date pr\u00E9vi": z.ZodOptional<z.ZodString>;
|
|
463
|
+
"Date de sortie": z.ZodOptional<z.ZodString>;
|
|
464
|
+
"Motif de sortie": z.ZodOptional<z.ZodString>;
|
|
465
|
+
"Montant de la valorisation": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
466
|
+
"Co\u00FBts de r\u00E9trologistique": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
467
|
+
Grade: z.ZodOptional<z.ZodString>;
|
|
468
|
+
"Montant Remboursement Assurance": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
469
|
+
"Montant de la franchise": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
470
|
+
"Date de Remboursement Assurance": z.ZodOptional<z.ZodString>;
|
|
471
|
+
"Date de facture": z.ZodOptional<z.ZodString>;
|
|
472
|
+
"N\u00B0 Facture": z.ZodOptional<z.ZodString>;
|
|
473
|
+
Avenant: z.ZodOptional<z.ZodString>;
|
|
474
|
+
"Prix unitaire": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
475
|
+
"Valeur Nette R\u00E9siduelle Comptable": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
476
|
+
Matricule: z.ZodOptional<z.ZodString>;
|
|
477
|
+
Statut: z.ZodOptional<z.ZodString>;
|
|
478
|
+
Site: z.ZodOptional<z.ZodString>;
|
|
479
|
+
Filiale: z.ZodOptional<z.ZodString>;
|
|
480
|
+
"Montant R\u00E9paration": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
481
|
+
"N\u00B0 de PV": z.ZodOptional<z.ZodString>;
|
|
492
482
|
}, "strip", z.ZodTypeAny, {
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
SiteName?: string | undefined;
|
|
501
|
-
AffectationDate?: Date | undefined;
|
|
502
|
-
OwnerCompanyName?: string | undefined;
|
|
503
|
-
ExternalIdNumber?: string | undefined;
|
|
504
|
-
Constructor?: string | undefined;
|
|
483
|
+
"N\u00B0 de s\u00E9rie": string;
|
|
484
|
+
Type?: string | undefined;
|
|
485
|
+
"N\u00B0 Interne"?: string | undefined;
|
|
486
|
+
Propriétaire?: string | undefined;
|
|
487
|
+
Constructeur?: string | undefined;
|
|
488
|
+
"Code produit"?: string | undefined;
|
|
489
|
+
Label?: string | undefined;
|
|
505
490
|
CPU?: string | undefined;
|
|
506
491
|
OS?: string | undefined;
|
|
507
492
|
RAM?: string | undefined;
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
AssetAge?: number | undefined;
|
|
535
|
-
Repair?: string | undefined;
|
|
536
|
-
RepairAmount?: number | undefined;
|
|
537
|
-
RetrologisticRefund?: number | undefined;
|
|
538
|
-
PVNumber?: string | undefined;
|
|
493
|
+
"M\u00E9moire Disque"?: string | undefined;
|
|
494
|
+
"Adresse IP"?: string | undefined;
|
|
495
|
+
"N\u00B0 de Commande"?: string | undefined;
|
|
496
|
+
"Date de la Commande"?: string | undefined;
|
|
497
|
+
"Date de livraison"?: string | undefined;
|
|
498
|
+
"Date d'entr\u00E9e"?: string | undefined;
|
|
499
|
+
"Date pr\u00E9vi"?: string | undefined;
|
|
500
|
+
"Date de sortie"?: string | undefined;
|
|
501
|
+
"Motif de sortie"?: string | undefined;
|
|
502
|
+
"Montant de la valorisation"?: number | undefined;
|
|
503
|
+
"Co\u00FBts de r\u00E9trologistique"?: number | undefined;
|
|
504
|
+
Grade?: string | undefined;
|
|
505
|
+
"Montant Remboursement Assurance"?: number | undefined;
|
|
506
|
+
"Montant de la franchise"?: number | undefined;
|
|
507
|
+
"Date de Remboursement Assurance"?: string | undefined;
|
|
508
|
+
"Date de facture"?: string | undefined;
|
|
509
|
+
"N\u00B0 Facture"?: string | undefined;
|
|
510
|
+
Avenant?: string | undefined;
|
|
511
|
+
"Prix unitaire"?: number | undefined;
|
|
512
|
+
"Valeur Nette R\u00E9siduelle Comptable"?: number | undefined;
|
|
513
|
+
Matricule?: string | undefined;
|
|
514
|
+
Statut?: string | undefined;
|
|
515
|
+
Site?: string | undefined;
|
|
516
|
+
Filiale?: string | undefined;
|
|
517
|
+
"Montant R\u00E9paration"?: number | undefined;
|
|
518
|
+
"N\u00B0 de PV"?: string | undefined;
|
|
539
519
|
}, {
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
SiteName?: string | undefined;
|
|
548
|
-
AffectationDate?: Date | undefined;
|
|
549
|
-
OwnerCompanyName?: string | undefined;
|
|
550
|
-
ExternalIdNumber?: string | undefined;
|
|
551
|
-
Constructor?: string | undefined;
|
|
520
|
+
"N\u00B0 de s\u00E9rie": string;
|
|
521
|
+
Type?: string | undefined;
|
|
522
|
+
"N\u00B0 Interne"?: string | undefined;
|
|
523
|
+
Propriétaire?: string | undefined;
|
|
524
|
+
Constructeur?: string | undefined;
|
|
525
|
+
"Code produit"?: string | undefined;
|
|
526
|
+
Label?: string | undefined;
|
|
552
527
|
CPU?: string | undefined;
|
|
553
528
|
OS?: string | undefined;
|
|
554
529
|
RAM?: string | undefined;
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
AssetAge?: number | undefined;
|
|
582
|
-
Repair?: string | undefined;
|
|
583
|
-
RepairAmount?: number | undefined;
|
|
584
|
-
RetrologisticRefund?: number | undefined;
|
|
585
|
-
PVNumber?: string | undefined;
|
|
530
|
+
"M\u00E9moire Disque"?: string | undefined;
|
|
531
|
+
"Adresse IP"?: string | undefined;
|
|
532
|
+
"N\u00B0 de Commande"?: string | undefined;
|
|
533
|
+
"Date de la Commande"?: string | undefined;
|
|
534
|
+
"Date de livraison"?: string | undefined;
|
|
535
|
+
"Date d'entr\u00E9e"?: string | undefined;
|
|
536
|
+
"Date pr\u00E9vi"?: string | undefined;
|
|
537
|
+
"Date de sortie"?: string | undefined;
|
|
538
|
+
"Motif de sortie"?: string | undefined;
|
|
539
|
+
"Montant de la valorisation"?: string | undefined;
|
|
540
|
+
"Co\u00FBts de r\u00E9trologistique"?: string | undefined;
|
|
541
|
+
Grade?: string | undefined;
|
|
542
|
+
"Montant Remboursement Assurance"?: string | undefined;
|
|
543
|
+
"Montant de la franchise"?: string | undefined;
|
|
544
|
+
"Date de Remboursement Assurance"?: string | undefined;
|
|
545
|
+
"Date de facture"?: string | undefined;
|
|
546
|
+
"N\u00B0 Facture"?: string | undefined;
|
|
547
|
+
Avenant?: string | undefined;
|
|
548
|
+
"Prix unitaire"?: string | undefined;
|
|
549
|
+
"Valeur Nette R\u00E9siduelle Comptable"?: string | undefined;
|
|
550
|
+
Matricule?: string | undefined;
|
|
551
|
+
Statut?: string | undefined;
|
|
552
|
+
Site?: string | undefined;
|
|
553
|
+
Filiale?: string | undefined;
|
|
554
|
+
"Montant R\u00E9paration"?: string | undefined;
|
|
555
|
+
"N\u00B0 de PV"?: string | undefined;
|
|
586
556
|
}>, "many">;
|
|
587
557
|
export declare const assetDefinitions: {
|
|
588
558
|
asset_genre: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -840,146 +810,116 @@ export declare const assetDefinitions: {
|
|
|
840
810
|
valorisation_amount?: number | undefined;
|
|
841
811
|
}>;
|
|
842
812
|
computer_upload: z.ZodArray<z.ZodObject<{
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
Type: z.ZodString
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
Label: z.ZodString
|
|
813
|
+
"N\u00B0 de s\u00E9rie": z.ZodString;
|
|
814
|
+
"N\u00B0 Interne": z.ZodOptional<z.ZodString>;
|
|
815
|
+
Propriétaire: z.ZodOptional<z.ZodString>;
|
|
816
|
+
Type: z.ZodOptional<z.ZodString>;
|
|
817
|
+
Constructeur: z.ZodOptional<z.ZodString>;
|
|
818
|
+
"Code produit": z.ZodOptional<z.ZodString>;
|
|
819
|
+
Label: z.ZodOptional<z.ZodString>;
|
|
850
820
|
CPU: z.ZodOptional<z.ZodString>;
|
|
851
821
|
OS: z.ZodOptional<z.ZodString>;
|
|
852
822
|
RAM: z.ZodOptional<z.ZodString>;
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
CO2ProductionImpact: z.ZodOptional<z.ZodNumber>;
|
|
880
|
-
AssetAge: z.ZodOptional<z.ZodNumber>;
|
|
881
|
-
PersonNumber: z.ZodOptional<z.ZodString>;
|
|
882
|
-
Status: z.ZodOptional<z.ZodString>;
|
|
883
|
-
SiteName: z.ZodOptional<z.ZodString>;
|
|
884
|
-
SubsidiaryName: z.ZodOptional<z.ZodString>;
|
|
885
|
-
Repair: z.ZodOptional<z.ZodString>;
|
|
886
|
-
RepairAmount: z.ZodOptional<z.ZodNumber>;
|
|
887
|
-
RetrologisticRefund: z.ZodOptional<z.ZodNumber>;
|
|
888
|
-
PVNumber: z.ZodOptional<z.ZodString>;
|
|
823
|
+
"M\u00E9moire Disque": z.ZodOptional<z.ZodString>;
|
|
824
|
+
"Adresse IP": z.ZodOptional<z.ZodString>;
|
|
825
|
+
"N\u00B0 de Commande": z.ZodOptional<z.ZodString>;
|
|
826
|
+
"Date de la Commande": z.ZodOptional<z.ZodString>;
|
|
827
|
+
"Date de livraison": z.ZodOptional<z.ZodString>;
|
|
828
|
+
"Date d'entr\u00E9e": z.ZodOptional<z.ZodString>;
|
|
829
|
+
"Date pr\u00E9vi": z.ZodOptional<z.ZodString>;
|
|
830
|
+
"Date de sortie": z.ZodOptional<z.ZodString>;
|
|
831
|
+
"Motif de sortie": z.ZodOptional<z.ZodString>;
|
|
832
|
+
"Montant de la valorisation": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
833
|
+
"Co\u00FBts de r\u00E9trologistique": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
834
|
+
Grade: z.ZodOptional<z.ZodString>;
|
|
835
|
+
"Montant Remboursement Assurance": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
836
|
+
"Montant de la franchise": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
837
|
+
"Date de Remboursement Assurance": z.ZodOptional<z.ZodString>;
|
|
838
|
+
"Date de facture": z.ZodOptional<z.ZodString>;
|
|
839
|
+
"N\u00B0 Facture": z.ZodOptional<z.ZodString>;
|
|
840
|
+
Avenant: z.ZodOptional<z.ZodString>;
|
|
841
|
+
"Prix unitaire": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
842
|
+
"Valeur Nette R\u00E9siduelle Comptable": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
843
|
+
Matricule: z.ZodOptional<z.ZodString>;
|
|
844
|
+
Statut: z.ZodOptional<z.ZodString>;
|
|
845
|
+
Site: z.ZodOptional<z.ZodString>;
|
|
846
|
+
Filiale: z.ZodOptional<z.ZodString>;
|
|
847
|
+
"Montant R\u00E9paration": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
848
|
+
"N\u00B0 de PV": z.ZodOptional<z.ZodString>;
|
|
889
849
|
}, "strip", z.ZodTypeAny, {
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
SiteName?: string | undefined;
|
|
898
|
-
AffectationDate?: Date | undefined;
|
|
899
|
-
OwnerCompanyName?: string | undefined;
|
|
900
|
-
ExternalIdNumber?: string | undefined;
|
|
901
|
-
Constructor?: string | undefined;
|
|
850
|
+
"N\u00B0 de s\u00E9rie": string;
|
|
851
|
+
Type?: string | undefined;
|
|
852
|
+
"N\u00B0 Interne"?: string | undefined;
|
|
853
|
+
Propriétaire?: string | undefined;
|
|
854
|
+
Constructeur?: string | undefined;
|
|
855
|
+
"Code produit"?: string | undefined;
|
|
856
|
+
Label?: string | undefined;
|
|
902
857
|
CPU?: string | undefined;
|
|
903
858
|
OS?: string | undefined;
|
|
904
859
|
RAM?: string | undefined;
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
AssetAge?: number | undefined;
|
|
932
|
-
Repair?: string | undefined;
|
|
933
|
-
RepairAmount?: number | undefined;
|
|
934
|
-
RetrologisticRefund?: number | undefined;
|
|
935
|
-
PVNumber?: string | undefined;
|
|
860
|
+
"M\u00E9moire Disque"?: string | undefined;
|
|
861
|
+
"Adresse IP"?: string | undefined;
|
|
862
|
+
"N\u00B0 de Commande"?: string | undefined;
|
|
863
|
+
"Date de la Commande"?: string | undefined;
|
|
864
|
+
"Date de livraison"?: string | undefined;
|
|
865
|
+
"Date d'entr\u00E9e"?: string | undefined;
|
|
866
|
+
"Date pr\u00E9vi"?: string | undefined;
|
|
867
|
+
"Date de sortie"?: string | undefined;
|
|
868
|
+
"Motif de sortie"?: string | undefined;
|
|
869
|
+
"Montant de la valorisation"?: number | undefined;
|
|
870
|
+
"Co\u00FBts de r\u00E9trologistique"?: number | undefined;
|
|
871
|
+
Grade?: string | undefined;
|
|
872
|
+
"Montant Remboursement Assurance"?: number | undefined;
|
|
873
|
+
"Montant de la franchise"?: number | undefined;
|
|
874
|
+
"Date de Remboursement Assurance"?: string | undefined;
|
|
875
|
+
"Date de facture"?: string | undefined;
|
|
876
|
+
"N\u00B0 Facture"?: string | undefined;
|
|
877
|
+
Avenant?: string | undefined;
|
|
878
|
+
"Prix unitaire"?: number | undefined;
|
|
879
|
+
"Valeur Nette R\u00E9siduelle Comptable"?: number | undefined;
|
|
880
|
+
Matricule?: string | undefined;
|
|
881
|
+
Statut?: string | undefined;
|
|
882
|
+
Site?: string | undefined;
|
|
883
|
+
Filiale?: string | undefined;
|
|
884
|
+
"Montant R\u00E9paration"?: number | undefined;
|
|
885
|
+
"N\u00B0 de PV"?: string | undefined;
|
|
936
886
|
}, {
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
SiteName?: string | undefined;
|
|
945
|
-
AffectationDate?: Date | undefined;
|
|
946
|
-
OwnerCompanyName?: string | undefined;
|
|
947
|
-
ExternalIdNumber?: string | undefined;
|
|
948
|
-
Constructor?: string | undefined;
|
|
887
|
+
"N\u00B0 de s\u00E9rie": string;
|
|
888
|
+
Type?: string | undefined;
|
|
889
|
+
"N\u00B0 Interne"?: string | undefined;
|
|
890
|
+
Propriétaire?: string | undefined;
|
|
891
|
+
Constructeur?: string | undefined;
|
|
892
|
+
"Code produit"?: string | undefined;
|
|
893
|
+
Label?: string | undefined;
|
|
949
894
|
CPU?: string | undefined;
|
|
950
895
|
OS?: string | undefined;
|
|
951
896
|
RAM?: string | undefined;
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
AssetAge?: number | undefined;
|
|
979
|
-
Repair?: string | undefined;
|
|
980
|
-
RepairAmount?: number | undefined;
|
|
981
|
-
RetrologisticRefund?: number | undefined;
|
|
982
|
-
PVNumber?: string | undefined;
|
|
897
|
+
"M\u00E9moire Disque"?: string | undefined;
|
|
898
|
+
"Adresse IP"?: string | undefined;
|
|
899
|
+
"N\u00B0 de Commande"?: string | undefined;
|
|
900
|
+
"Date de la Commande"?: string | undefined;
|
|
901
|
+
"Date de livraison"?: string | undefined;
|
|
902
|
+
"Date d'entr\u00E9e"?: string | undefined;
|
|
903
|
+
"Date pr\u00E9vi"?: string | undefined;
|
|
904
|
+
"Date de sortie"?: string | undefined;
|
|
905
|
+
"Motif de sortie"?: string | undefined;
|
|
906
|
+
"Montant de la valorisation"?: string | undefined;
|
|
907
|
+
"Co\u00FBts de r\u00E9trologistique"?: string | undefined;
|
|
908
|
+
Grade?: string | undefined;
|
|
909
|
+
"Montant Remboursement Assurance"?: string | undefined;
|
|
910
|
+
"Montant de la franchise"?: string | undefined;
|
|
911
|
+
"Date de Remboursement Assurance"?: string | undefined;
|
|
912
|
+
"Date de facture"?: string | undefined;
|
|
913
|
+
"N\u00B0 Facture"?: string | undefined;
|
|
914
|
+
Avenant?: string | undefined;
|
|
915
|
+
"Prix unitaire"?: string | undefined;
|
|
916
|
+
"Valeur Nette R\u00E9siduelle Comptable"?: string | undefined;
|
|
917
|
+
Matricule?: string | undefined;
|
|
918
|
+
Statut?: string | undefined;
|
|
919
|
+
Site?: string | undefined;
|
|
920
|
+
Filiale?: string | undefined;
|
|
921
|
+
"Montant R\u00E9paration"?: string | undefined;
|
|
922
|
+
"N\u00B0 de PV"?: string | undefined;
|
|
983
923
|
}>, "many">;
|
|
984
924
|
csr_data: z.ZodObject<z.objectUtil.extendShape<{
|
|
985
925
|
id_company: z.ZodNumber;
|
package/lib/computers.js
CHANGED
|
@@ -124,53 +124,72 @@ const AssetUpload = z
|
|
|
124
124
|
.merge(AssetTypeUpload)
|
|
125
125
|
.merge(OptLabelsUpload)
|
|
126
126
|
.merge(OptAssetAffectationUplad);
|
|
127
|
+
const DATE_REGEX = /^\d{2}\/\d{2}\/\d{4}$/;
|
|
127
128
|
const ComputerUpload = z.array(z.object({
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
Type: z.string().
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
Label: z.string().
|
|
135
|
-
CPU: z.string().
|
|
136
|
-
OS: z.string().
|
|
137
|
-
RAM: z.string().
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
129
|
+
"N° de série": z.string(),
|
|
130
|
+
"N° Interne": z.string().optional(),
|
|
131
|
+
Propriétaire: z.string().max(100).optional(),
|
|
132
|
+
Type: z.string().optional(),
|
|
133
|
+
Constructeur: z.string().optional(),
|
|
134
|
+
"Code produit": z.string().optional(),
|
|
135
|
+
Label: z.string().optional(),
|
|
136
|
+
CPU: z.string().optional(),
|
|
137
|
+
OS: z.string().optional(),
|
|
138
|
+
RAM: z.string().optional(),
|
|
139
|
+
"Mémoire Disque": z.string().optional(),
|
|
140
|
+
"Adresse IP": z.string().optional(),
|
|
141
|
+
"N° de Commande": z.string().optional(),
|
|
142
|
+
"Date de la Commande": z.string().regex(DATE_REGEX).optional(),
|
|
143
|
+
"Date de livraison": z.string().regex(DATE_REGEX).optional(),
|
|
144
|
+
"Date d'entrée": z.string().regex(DATE_REGEX).optional(),
|
|
145
|
+
"Date prévi": z.string().regex(DATE_REGEX).optional(),
|
|
146
|
+
"Date de sortie": z.string().regex(DATE_REGEX).optional(),
|
|
147
|
+
"Motif de sortie": z.string().optional(),
|
|
148
|
+
"Montant de la valorisation": z
|
|
149
|
+
.string()
|
|
150
|
+
.transform((v) => parseFloat(v.replace(",", ".")))
|
|
151
|
+
.pipe(z.number())
|
|
152
|
+
.optional(),
|
|
153
|
+
"Coûts de rétrologistique": z
|
|
154
|
+
.string()
|
|
155
|
+
.transform((v) => parseFloat(v.replace(",", ".")))
|
|
156
|
+
.pipe(z.number())
|
|
157
|
+
.optional(),
|
|
158
|
+
Grade: z.string().optional(),
|
|
159
|
+
"Montant Remboursement Assurance": z
|
|
160
|
+
.string()
|
|
161
|
+
.transform((v) => parseFloat(v.replace(",", ".")))
|
|
162
|
+
.pipe(z.number())
|
|
163
|
+
.optional(),
|
|
164
|
+
"Montant de la franchise": z
|
|
165
|
+
.string()
|
|
166
|
+
.transform((v) => parseFloat(v.replace(",", ".")))
|
|
167
|
+
.pipe(z.number())
|
|
168
|
+
.optional(),
|
|
169
|
+
"Date de Remboursement Assurance": z.string().regex(DATE_REGEX).optional(),
|
|
170
|
+
"Date de facture": z.string().regex(DATE_REGEX).optional(),
|
|
171
|
+
"N° Facture": z.string().optional(),
|
|
172
|
+
Avenant: z.string().optional(),
|
|
173
|
+
"Prix unitaire": z
|
|
174
|
+
.string()
|
|
175
|
+
.transform((v) => parseFloat(v.replace(",", ".")))
|
|
176
|
+
.pipe(z.number())
|
|
177
|
+
.optional(),
|
|
178
|
+
"Valeur Nette Résiduelle Comptable": z
|
|
179
|
+
.string()
|
|
180
|
+
.transform((v) => parseFloat(v.replace(",", ".")))
|
|
181
|
+
.pipe(z.number())
|
|
182
|
+
.optional(),
|
|
183
|
+
Matricule: z.string().optional(),
|
|
184
|
+
Statut: z.string().optional(),
|
|
185
|
+
Site: z.string().optional(),
|
|
186
|
+
Filiale: z.string().optional(),
|
|
187
|
+
"Montant Réparation": z
|
|
188
|
+
.string()
|
|
189
|
+
.transform((v) => parseFloat(v.replace(",", ".")))
|
|
190
|
+
.pipe(z.number())
|
|
191
|
+
.optional(),
|
|
192
|
+
"N° de PV": z.string().max(50).optional(),
|
|
174
193
|
}));
|
|
175
194
|
export const assetDefinitions = {
|
|
176
195
|
asset_genre: AssetGenre,
|
package/lib/index.d.ts
CHANGED
|
@@ -703,146 +703,116 @@ export declare const schemasDefinitions: {
|
|
|
703
703
|
valorisation_amount?: number | undefined;
|
|
704
704
|
}>;
|
|
705
705
|
computer_upload: z.ZodArray<z.ZodObject<{
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
Type: z.ZodString
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
Label: z.ZodString
|
|
706
|
+
"N\u00B0 de s\u00E9rie": z.ZodString;
|
|
707
|
+
"N\u00B0 Interne": z.ZodOptional<z.ZodString>;
|
|
708
|
+
Propriétaire: z.ZodOptional<z.ZodString>;
|
|
709
|
+
Type: z.ZodOptional<z.ZodString>;
|
|
710
|
+
Constructeur: z.ZodOptional<z.ZodString>;
|
|
711
|
+
"Code produit": z.ZodOptional<z.ZodString>;
|
|
712
|
+
Label: z.ZodOptional<z.ZodString>;
|
|
713
713
|
CPU: z.ZodOptional<z.ZodString>;
|
|
714
714
|
OS: z.ZodOptional<z.ZodString>;
|
|
715
715
|
RAM: z.ZodOptional<z.ZodString>;
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
CO2ProductionImpact: z.ZodOptional<z.ZodNumber>;
|
|
743
|
-
AssetAge: z.ZodOptional<z.ZodNumber>;
|
|
744
|
-
PersonNumber: z.ZodOptional<z.ZodString>;
|
|
745
|
-
Status: z.ZodOptional<z.ZodString>;
|
|
746
|
-
SiteName: z.ZodOptional<z.ZodString>;
|
|
747
|
-
SubsidiaryName: z.ZodOptional<z.ZodString>;
|
|
748
|
-
Repair: z.ZodOptional<z.ZodString>;
|
|
749
|
-
RepairAmount: z.ZodOptional<z.ZodNumber>;
|
|
750
|
-
RetrologisticRefund: z.ZodOptional<z.ZodNumber>;
|
|
751
|
-
PVNumber: z.ZodOptional<z.ZodString>;
|
|
716
|
+
"M\u00E9moire Disque": z.ZodOptional<z.ZodString>;
|
|
717
|
+
"Adresse IP": z.ZodOptional<z.ZodString>;
|
|
718
|
+
"N\u00B0 de Commande": z.ZodOptional<z.ZodString>;
|
|
719
|
+
"Date de la Commande": z.ZodOptional<z.ZodString>;
|
|
720
|
+
"Date de livraison": z.ZodOptional<z.ZodString>;
|
|
721
|
+
"Date d'entr\u00E9e": z.ZodOptional<z.ZodString>;
|
|
722
|
+
"Date pr\u00E9vi": z.ZodOptional<z.ZodString>;
|
|
723
|
+
"Date de sortie": z.ZodOptional<z.ZodString>;
|
|
724
|
+
"Motif de sortie": z.ZodOptional<z.ZodString>;
|
|
725
|
+
"Montant de la valorisation": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
726
|
+
"Co\u00FBts de r\u00E9trologistique": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
727
|
+
Grade: z.ZodOptional<z.ZodString>;
|
|
728
|
+
"Montant Remboursement Assurance": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
729
|
+
"Montant de la franchise": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
730
|
+
"Date de Remboursement Assurance": z.ZodOptional<z.ZodString>;
|
|
731
|
+
"Date de facture": z.ZodOptional<z.ZodString>;
|
|
732
|
+
"N\u00B0 Facture": z.ZodOptional<z.ZodString>;
|
|
733
|
+
Avenant: z.ZodOptional<z.ZodString>;
|
|
734
|
+
"Prix unitaire": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
735
|
+
"Valeur Nette R\u00E9siduelle Comptable": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
736
|
+
Matricule: z.ZodOptional<z.ZodString>;
|
|
737
|
+
Statut: z.ZodOptional<z.ZodString>;
|
|
738
|
+
Site: z.ZodOptional<z.ZodString>;
|
|
739
|
+
Filiale: z.ZodOptional<z.ZodString>;
|
|
740
|
+
"Montant R\u00E9paration": z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
741
|
+
"N\u00B0 de PV": z.ZodOptional<z.ZodString>;
|
|
752
742
|
}, "strip", z.ZodTypeAny, {
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
SiteName?: string | undefined;
|
|
761
|
-
AffectationDate?: Date | undefined;
|
|
762
|
-
OwnerCompanyName?: string | undefined;
|
|
763
|
-
ExternalIdNumber?: string | undefined;
|
|
764
|
-
Constructor?: string | undefined;
|
|
743
|
+
"N\u00B0 de s\u00E9rie": string;
|
|
744
|
+
Type?: string | undefined;
|
|
745
|
+
"N\u00B0 Interne"?: string | undefined;
|
|
746
|
+
Propriétaire?: string | undefined;
|
|
747
|
+
Constructeur?: string | undefined;
|
|
748
|
+
"Code produit"?: string | undefined;
|
|
749
|
+
Label?: string | undefined;
|
|
765
750
|
CPU?: string | undefined;
|
|
766
751
|
OS?: string | undefined;
|
|
767
752
|
RAM?: string | undefined;
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
ProductCode: string;
|
|
803
|
-
Label: string;
|
|
804
|
-
Status?: string | undefined;
|
|
805
|
-
PersonNumber?: string | undefined;
|
|
806
|
-
SubsidiaryName?: string | undefined;
|
|
807
|
-
SiteName?: string | undefined;
|
|
808
|
-
AffectationDate?: Date | undefined;
|
|
809
|
-
OwnerCompanyName?: string | undefined;
|
|
810
|
-
ExternalIdNumber?: string | undefined;
|
|
811
|
-
Constructor?: string | undefined;
|
|
753
|
+
"M\u00E9moire Disque"?: string | undefined;
|
|
754
|
+
"Adresse IP"?: string | undefined;
|
|
755
|
+
"N\u00B0 de Commande"?: string | undefined;
|
|
756
|
+
"Date de la Commande"?: string | undefined;
|
|
757
|
+
"Date de livraison"?: string | undefined;
|
|
758
|
+
"Date d'entr\u00E9e"?: string | undefined;
|
|
759
|
+
"Date pr\u00E9vi"?: string | undefined;
|
|
760
|
+
"Date de sortie"?: string | undefined;
|
|
761
|
+
"Motif de sortie"?: string | undefined;
|
|
762
|
+
"Montant de la valorisation"?: number | undefined;
|
|
763
|
+
"Co\u00FBts de r\u00E9trologistique"?: number | undefined;
|
|
764
|
+
Grade?: string | undefined;
|
|
765
|
+
"Montant Remboursement Assurance"?: number | undefined;
|
|
766
|
+
"Montant de la franchise"?: number | undefined;
|
|
767
|
+
"Date de Remboursement Assurance"?: string | undefined;
|
|
768
|
+
"Date de facture"?: string | undefined;
|
|
769
|
+
"N\u00B0 Facture"?: string | undefined;
|
|
770
|
+
Avenant?: string | undefined;
|
|
771
|
+
"Prix unitaire"?: number | undefined;
|
|
772
|
+
"Valeur Nette R\u00E9siduelle Comptable"?: number | undefined;
|
|
773
|
+
Matricule?: string | undefined;
|
|
774
|
+
Statut?: string | undefined;
|
|
775
|
+
Site?: string | undefined;
|
|
776
|
+
Filiale?: string | undefined;
|
|
777
|
+
"Montant R\u00E9paration"?: number | undefined;
|
|
778
|
+
"N\u00B0 de PV"?: string | undefined;
|
|
779
|
+
}, {
|
|
780
|
+
"N\u00B0 de s\u00E9rie": string;
|
|
781
|
+
Type?: string | undefined;
|
|
782
|
+
"N\u00B0 Interne"?: string | undefined;
|
|
783
|
+
Propriétaire?: string | undefined;
|
|
784
|
+
Constructeur?: string | undefined;
|
|
785
|
+
"Code produit"?: string | undefined;
|
|
786
|
+
Label?: string | undefined;
|
|
812
787
|
CPU?: string | undefined;
|
|
813
788
|
OS?: string | undefined;
|
|
814
789
|
RAM?: string | undefined;
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
AssetAge?: number | undefined;
|
|
842
|
-
Repair?: string | undefined;
|
|
843
|
-
RepairAmount?: number | undefined;
|
|
844
|
-
RetrologisticRefund?: number | undefined;
|
|
845
|
-
PVNumber?: string | undefined;
|
|
790
|
+
"M\u00E9moire Disque"?: string | undefined;
|
|
791
|
+
"Adresse IP"?: string | undefined;
|
|
792
|
+
"N\u00B0 de Commande"?: string | undefined;
|
|
793
|
+
"Date de la Commande"?: string | undefined;
|
|
794
|
+
"Date de livraison"?: string | undefined;
|
|
795
|
+
"Date d'entr\u00E9e"?: string | undefined;
|
|
796
|
+
"Date pr\u00E9vi"?: string | undefined;
|
|
797
|
+
"Date de sortie"?: string | undefined;
|
|
798
|
+
"Motif de sortie"?: string | undefined;
|
|
799
|
+
"Montant de la valorisation"?: string | undefined;
|
|
800
|
+
"Co\u00FBts de r\u00E9trologistique"?: string | undefined;
|
|
801
|
+
Grade?: string | undefined;
|
|
802
|
+
"Montant Remboursement Assurance"?: string | undefined;
|
|
803
|
+
"Montant de la franchise"?: string | undefined;
|
|
804
|
+
"Date de Remboursement Assurance"?: string | undefined;
|
|
805
|
+
"Date de facture"?: string | undefined;
|
|
806
|
+
"N\u00B0 Facture"?: string | undefined;
|
|
807
|
+
Avenant?: string | undefined;
|
|
808
|
+
"Prix unitaire"?: string | undefined;
|
|
809
|
+
"Valeur Nette R\u00E9siduelle Comptable"?: string | undefined;
|
|
810
|
+
Matricule?: string | undefined;
|
|
811
|
+
Statut?: string | undefined;
|
|
812
|
+
Site?: string | undefined;
|
|
813
|
+
Filiale?: string | undefined;
|
|
814
|
+
"Montant R\u00E9paration"?: string | undefined;
|
|
815
|
+
"N\u00B0 de PV"?: string | undefined;
|
|
846
816
|
}>, "many">;
|
|
847
817
|
csr_data: z.ZodObject<z.objectUtil.extendShape<{
|
|
848
818
|
id_company: z.ZodNumber;
|
|
@@ -1198,43 +1168,43 @@ export declare const schemasDefinitions: {
|
|
|
1198
1168
|
id_job_types?: number | undefined;
|
|
1199
1169
|
exit_date?: Date | undefined;
|
|
1200
1170
|
}>;
|
|
1201
|
-
people_upload: z.ZodObject<{
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1171
|
+
people_upload: z.ZodArray<z.ZodObject<{
|
|
1172
|
+
Matricule: z.ZodString;
|
|
1173
|
+
Prénom: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
Nom: z.ZodOptional<z.ZodString>;
|
|
1175
|
+
Filiale: z.ZodOptional<z.ZodString>;
|
|
1176
|
+
Etablissement: z.ZodOptional<z.ZodString>;
|
|
1177
|
+
"E-mail": z.ZodOptional<z.ZodString>;
|
|
1178
|
+
Ctrt: z.ZodOptional<z.ZodString>;
|
|
1179
|
+
"Emploi type": z.ZodOptional<z.ZodString>;
|
|
1180
|
+
"Fili\u00E8re m\u00E9tier": z.ZodOptional<z.ZodString>;
|
|
1181
|
+
"Famille emploi": z.ZodOptional<z.ZodString>;
|
|
1182
|
+
"Date sortie": z.ZodOptional<z.ZodString>;
|
|
1213
1183
|
}, "strip", z.ZodTypeAny, {
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
}, {
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
}>;
|
|
1184
|
+
Matricule: string;
|
|
1185
|
+
Filiale?: string | undefined;
|
|
1186
|
+
Prénom?: string | undefined;
|
|
1187
|
+
Nom?: string | undefined;
|
|
1188
|
+
Etablissement?: string | undefined;
|
|
1189
|
+
"E-mail"?: string | undefined;
|
|
1190
|
+
Ctrt?: string | undefined;
|
|
1191
|
+
"Emploi type"?: string | undefined;
|
|
1192
|
+
"Fili\u00E8re m\u00E9tier"?: string | undefined;
|
|
1193
|
+
"Famille emploi"?: string | undefined;
|
|
1194
|
+
"Date sortie"?: string | undefined;
|
|
1195
|
+
}, {
|
|
1196
|
+
Matricule: string;
|
|
1197
|
+
Filiale?: string | undefined;
|
|
1198
|
+
Prénom?: string | undefined;
|
|
1199
|
+
Nom?: string | undefined;
|
|
1200
|
+
Etablissement?: string | undefined;
|
|
1201
|
+
"E-mail"?: string | undefined;
|
|
1202
|
+
Ctrt?: string | undefined;
|
|
1203
|
+
"Emploi type"?: string | undefined;
|
|
1204
|
+
"Fili\u00E8re m\u00E9tier"?: string | undefined;
|
|
1205
|
+
"Famille emploi"?: string | undefined;
|
|
1206
|
+
"Date sortie"?: string | undefined;
|
|
1207
|
+
}>, "many">;
|
|
1238
1208
|
site: z.ZodObject<z.objectUtil.extendShape<{
|
|
1239
1209
|
id_company: z.ZodNumber;
|
|
1240
1210
|
}, {
|
package/lib/org.d.ts
CHANGED
|
@@ -273,43 +273,43 @@ declare const People: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
273
273
|
id_job_types?: number | undefined;
|
|
274
274
|
exit_date?: Date | undefined;
|
|
275
275
|
}>;
|
|
276
|
-
declare const PeopleUpload: z.ZodObject<{
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
276
|
+
declare const PeopleUpload: z.ZodArray<z.ZodObject<{
|
|
277
|
+
Matricule: z.ZodString;
|
|
278
|
+
Prénom: z.ZodOptional<z.ZodString>;
|
|
279
|
+
Nom: z.ZodOptional<z.ZodString>;
|
|
280
|
+
Filiale: z.ZodOptional<z.ZodString>;
|
|
281
|
+
Etablissement: z.ZodOptional<z.ZodString>;
|
|
282
|
+
"E-mail": z.ZodOptional<z.ZodString>;
|
|
283
|
+
Ctrt: z.ZodOptional<z.ZodString>;
|
|
284
|
+
"Emploi type": z.ZodOptional<z.ZodString>;
|
|
285
|
+
"Fili\u00E8re m\u00E9tier": z.ZodOptional<z.ZodString>;
|
|
286
|
+
"Famille emploi": z.ZodOptional<z.ZodString>;
|
|
287
|
+
"Date sortie": z.ZodOptional<z.ZodString>;
|
|
288
288
|
}, "strip", z.ZodTypeAny, {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
289
|
+
Matricule: string;
|
|
290
|
+
Filiale?: string | undefined;
|
|
291
|
+
Prénom?: string | undefined;
|
|
292
|
+
Nom?: string | undefined;
|
|
293
|
+
Etablissement?: string | undefined;
|
|
294
|
+
"E-mail"?: string | undefined;
|
|
295
|
+
Ctrt?: string | undefined;
|
|
296
|
+
"Emploi type"?: string | undefined;
|
|
297
|
+
"Fili\u00E8re m\u00E9tier"?: string | undefined;
|
|
298
|
+
"Famille emploi"?: string | undefined;
|
|
299
|
+
"Date sortie"?: string | undefined;
|
|
300
300
|
}, {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}>;
|
|
301
|
+
Matricule: string;
|
|
302
|
+
Filiale?: string | undefined;
|
|
303
|
+
Prénom?: string | undefined;
|
|
304
|
+
Nom?: string | undefined;
|
|
305
|
+
Etablissement?: string | undefined;
|
|
306
|
+
"E-mail"?: string | undefined;
|
|
307
|
+
Ctrt?: string | undefined;
|
|
308
|
+
"Emploi type"?: string | undefined;
|
|
309
|
+
"Fili\u00E8re m\u00E9tier"?: string | undefined;
|
|
310
|
+
"Famille emploi"?: string | undefined;
|
|
311
|
+
"Date sortie"?: string | undefined;
|
|
312
|
+
}>, "many">;
|
|
313
313
|
export declare const organizationDefinitions: {
|
|
314
314
|
model: z.ZodObject<{
|
|
315
315
|
id_company: z.ZodNumber;
|
|
@@ -476,43 +476,43 @@ export declare const organizationDefinitions: {
|
|
|
476
476
|
id_job_types?: number | undefined;
|
|
477
477
|
exit_date?: Date | undefined;
|
|
478
478
|
}>;
|
|
479
|
-
people_upload: z.ZodObject<{
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
479
|
+
people_upload: z.ZodArray<z.ZodObject<{
|
|
480
|
+
Matricule: z.ZodString;
|
|
481
|
+
Prénom: z.ZodOptional<z.ZodString>;
|
|
482
|
+
Nom: z.ZodOptional<z.ZodString>;
|
|
483
|
+
Filiale: z.ZodOptional<z.ZodString>;
|
|
484
|
+
Etablissement: z.ZodOptional<z.ZodString>;
|
|
485
|
+
"E-mail": z.ZodOptional<z.ZodString>;
|
|
486
|
+
Ctrt: z.ZodOptional<z.ZodString>;
|
|
487
|
+
"Emploi type": z.ZodOptional<z.ZodString>;
|
|
488
|
+
"Fili\u00E8re m\u00E9tier": z.ZodOptional<z.ZodString>;
|
|
489
|
+
"Famille emploi": z.ZodOptional<z.ZodString>;
|
|
490
|
+
"Date sortie": z.ZodOptional<z.ZodString>;
|
|
491
491
|
}, "strip", z.ZodTypeAny, {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
492
|
+
Matricule: string;
|
|
493
|
+
Filiale?: string | undefined;
|
|
494
|
+
Prénom?: string | undefined;
|
|
495
|
+
Nom?: string | undefined;
|
|
496
|
+
Etablissement?: string | undefined;
|
|
497
|
+
"E-mail"?: string | undefined;
|
|
498
|
+
Ctrt?: string | undefined;
|
|
499
|
+
"Emploi type"?: string | undefined;
|
|
500
|
+
"Fili\u00E8re m\u00E9tier"?: string | undefined;
|
|
501
|
+
"Famille emploi"?: string | undefined;
|
|
502
|
+
"Date sortie"?: string | undefined;
|
|
503
503
|
}, {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
}>;
|
|
504
|
+
Matricule: string;
|
|
505
|
+
Filiale?: string | undefined;
|
|
506
|
+
Prénom?: string | undefined;
|
|
507
|
+
Nom?: string | undefined;
|
|
508
|
+
Etablissement?: string | undefined;
|
|
509
|
+
"E-mail"?: string | undefined;
|
|
510
|
+
Ctrt?: string | undefined;
|
|
511
|
+
"Emploi type"?: string | undefined;
|
|
512
|
+
"Fili\u00E8re m\u00E9tier"?: string | undefined;
|
|
513
|
+
"Famille emploi"?: string | undefined;
|
|
514
|
+
"Date sortie"?: string | undefined;
|
|
515
|
+
}>, "many">;
|
|
516
516
|
site: z.ZodObject<z.objectUtil.extendShape<{
|
|
517
517
|
id_company: z.ZodNumber;
|
|
518
518
|
}, {
|
package/lib/org.js
CHANGED
|
@@ -85,19 +85,20 @@ const People = Model.extend({
|
|
|
85
85
|
id_job_types: z.number().optional(),
|
|
86
86
|
exit_date: z.date().optional(),
|
|
87
87
|
});
|
|
88
|
-
const
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
88
|
+
const DATE_REGEX = /^\d{2}\/\d{2}\/\d{4}$/;
|
|
89
|
+
const PeopleUpload = z.array(z.object({
|
|
90
|
+
Matricule: z.string(),
|
|
91
|
+
Prénom: z.string().optional(),
|
|
92
|
+
Nom: z.string().optional(),
|
|
93
|
+
Filiale: z.string().optional(),
|
|
94
|
+
Etablissement: z.string().optional(),
|
|
95
|
+
"E-mail": z.string().email().optional(),
|
|
96
|
+
Ctrt: z.string().optional(),
|
|
97
|
+
"Emploi type": z.string().optional(),
|
|
98
|
+
"Filière métier": z.string().optional(),
|
|
99
|
+
"Famille emploi": z.string().optional(),
|
|
100
|
+
"Date sortie": z.string().regex(DATE_REGEX).optional(),
|
|
101
|
+
}));
|
|
101
102
|
export const organizationDefinitions = {
|
|
102
103
|
model: Model,
|
|
103
104
|
company_relation_type: CompaniesRelationType,
|
package/package.json
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "colibris-types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"test": "jest",
|
|
9
|
-
"cover": "jest --coverage",
|
|
10
|
-
"build": "tsc",
|
|
11
|
-
"prepare": "npm run build"
|
|
12
|
-
},
|
|
13
7
|
"keywords": [],
|
|
14
8
|
"author": "",
|
|
15
9
|
"license": "ISC",
|
|
@@ -25,5 +19,10 @@
|
|
|
25
19
|
"dependencies": {
|
|
26
20
|
"zod": "^3.23.4"
|
|
27
21
|
},
|
|
28
|
-
"types": "./lib/index.d.ts"
|
|
29
|
-
|
|
22
|
+
"types": "./lib/index.d.ts",
|
|
23
|
+
"scripts": {
|
|
24
|
+
"test": "jest",
|
|
25
|
+
"cover": "jest --coverage",
|
|
26
|
+
"build": "tsc"
|
|
27
|
+
}
|
|
28
|
+
}
|