colibris-types 1.0.10 → 1.0.11
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 +240 -240
- package/lib/computers.js +40 -40
- package/lib/index.d.ts +120 -120
- package/package.json +1 -1
package/lib/computers.d.ts
CHANGED
|
@@ -383,128 +383,128 @@ declare const AssetUpload: z.ZodObject<{
|
|
|
383
383
|
AffectationDate?: Date | undefined;
|
|
384
384
|
}>;
|
|
385
385
|
declare const ComputerUpload: z.ZodObject<{
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
386
|
+
SerialNumber: z.ZodString;
|
|
387
|
+
ExternalIdNumber: z.ZodOptional<z.ZodString>;
|
|
388
|
+
OwnerCompanyName: z.ZodOptional<z.ZodString>;
|
|
389
|
+
Type: z.ZodDefault<z.ZodString>;
|
|
390
|
+
Constructor: z.ZodOptional<z.ZodString>;
|
|
391
|
+
ProductCode: z.ZodString;
|
|
392
|
+
Label: z.ZodString;
|
|
393
|
+
CPU: z.ZodOptional<z.ZodString>;
|
|
394
|
+
OS: z.ZodOptional<z.ZodString>;
|
|
395
|
+
RAM: z.ZodOptional<z.ZodString>;
|
|
396
|
+
DiskMemory: z.ZodOptional<z.ZodString>;
|
|
397
|
+
IPAddress: z.ZodOptional<z.ZodString>;
|
|
398
|
+
OrderNumber: z.ZodOptional<z.ZodString>;
|
|
399
|
+
OrderDate: z.ZodOptional<z.ZodDate>;
|
|
400
|
+
DeliveryDate: z.ZodOptional<z.ZodDate>;
|
|
401
|
+
EntryDate: z.ZodOptional<z.ZodDate>;
|
|
402
|
+
PrevisionalExitDate: z.ZodOptional<z.ZodDate>;
|
|
403
|
+
ExitDate: z.ZodOptional<z.ZodDate>;
|
|
404
|
+
ExitReason: z.ZodOptional<z.ZodString>;
|
|
405
|
+
AuditDate: z.ZodOptional<z.ZodDate>;
|
|
406
|
+
ValorisationAmount: z.ZodOptional<z.ZodNumber>;
|
|
407
|
+
ReturnCosts: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
AuditGrade: z.ZodOptional<z.ZodString>;
|
|
409
|
+
InsuranceRefundAmount: z.ZodOptional<z.ZodNumber>;
|
|
410
|
+
InsuranceFranchiseAmount: z.ZodOptional<z.ZodNumber>;
|
|
411
|
+
InsuranceRefundDate: z.ZodOptional<z.ZodDate>;
|
|
412
|
+
InvoicePaymentDate: z.ZodOptional<z.ZodDate>;
|
|
413
|
+
InvoiceDate: z.ZodOptional<z.ZodDate>;
|
|
414
|
+
InvoiceNumber: z.ZodOptional<z.ZodString>;
|
|
415
|
+
ContractAmendment: z.ZodOptional<z.ZodString>;
|
|
416
|
+
UnitPrice: z.ZodOptional<z.ZodNumber>;
|
|
417
|
+
NetValue: z.ZodOptional<z.ZodNumber>;
|
|
418
|
+
RentAmount: z.ZodOptional<z.ZodNumber>;
|
|
419
|
+
CO2ImpactPerYear: z.ZodOptional<z.ZodNumber>;
|
|
420
|
+
CO2ProductionImpact: z.ZodOptional<z.ZodNumber>;
|
|
421
|
+
AssetAge: z.ZodOptional<z.ZodNumber>;
|
|
422
|
+
PersonNumber: z.ZodOptional<z.ZodString>;
|
|
423
|
+
Status: z.ZodOptional<z.ZodString>;
|
|
424
|
+
SiteName: z.ZodOptional<z.ZodString>;
|
|
425
|
+
SubsidiaryName: z.ZodOptional<z.ZodString>;
|
|
426
426
|
}, "strip", z.ZodTypeAny, {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
427
|
+
Type: string;
|
|
428
|
+
SerialNumber: string;
|
|
429
|
+
ProductCode: string;
|
|
430
|
+
Label: string;
|
|
431
|
+
ExternalIdNumber?: string | undefined;
|
|
432
|
+
OwnerCompanyName?: string | undefined;
|
|
433
|
+
Constructor?: string | undefined;
|
|
434
|
+
CPU?: string | undefined;
|
|
435
|
+
OS?: string | undefined;
|
|
436
|
+
RAM?: string | undefined;
|
|
437
|
+
DiskMemory?: string | undefined;
|
|
438
|
+
IPAddress?: string | undefined;
|
|
439
|
+
OrderNumber?: string | undefined;
|
|
440
|
+
OrderDate?: Date | undefined;
|
|
441
|
+
DeliveryDate?: Date | undefined;
|
|
442
|
+
EntryDate?: Date | undefined;
|
|
443
|
+
PrevisionalExitDate?: Date | undefined;
|
|
444
|
+
ExitDate?: Date | undefined;
|
|
445
|
+
ExitReason?: string | undefined;
|
|
446
|
+
AuditDate?: Date | undefined;
|
|
447
|
+
ValorisationAmount?: number | undefined;
|
|
448
|
+
ReturnCosts?: number | undefined;
|
|
449
|
+
AuditGrade?: string | undefined;
|
|
450
|
+
InsuranceRefundAmount?: number | undefined;
|
|
451
|
+
InsuranceFranchiseAmount?: number | undefined;
|
|
452
|
+
InsuranceRefundDate?: Date | undefined;
|
|
453
|
+
InvoicePaymentDate?: Date | undefined;
|
|
454
|
+
InvoiceDate?: Date | undefined;
|
|
455
|
+
InvoiceNumber?: string | undefined;
|
|
456
|
+
ContractAmendment?: string | undefined;
|
|
457
|
+
UnitPrice?: number | undefined;
|
|
458
|
+
NetValue?: number | undefined;
|
|
459
|
+
RentAmount?: number | undefined;
|
|
460
|
+
CO2ImpactPerYear?: number | undefined;
|
|
461
|
+
CO2ProductionImpact?: number | undefined;
|
|
462
|
+
AssetAge?: number | undefined;
|
|
463
|
+
PersonNumber?: string | undefined;
|
|
464
|
+
Status?: string | undefined;
|
|
465
|
+
SiteName?: string | undefined;
|
|
466
|
+
SubsidiaryName?: string | undefined;
|
|
467
467
|
}, {
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
468
|
+
SerialNumber: string;
|
|
469
|
+
ProductCode: string;
|
|
470
|
+
Label: string;
|
|
471
|
+
ExternalIdNumber?: string | undefined;
|
|
472
|
+
OwnerCompanyName?: string | undefined;
|
|
473
|
+
Type?: string | undefined;
|
|
474
|
+
Constructor?: string | undefined;
|
|
475
|
+
CPU?: string | undefined;
|
|
476
|
+
OS?: string | undefined;
|
|
477
|
+
RAM?: string | undefined;
|
|
478
|
+
DiskMemory?: string | undefined;
|
|
479
|
+
IPAddress?: string | undefined;
|
|
480
|
+
OrderNumber?: string | undefined;
|
|
481
|
+
OrderDate?: Date | undefined;
|
|
482
|
+
DeliveryDate?: Date | undefined;
|
|
483
|
+
EntryDate?: Date | undefined;
|
|
484
|
+
PrevisionalExitDate?: Date | undefined;
|
|
485
|
+
ExitDate?: Date | undefined;
|
|
486
|
+
ExitReason?: string | undefined;
|
|
487
|
+
AuditDate?: Date | undefined;
|
|
488
|
+
ValorisationAmount?: number | undefined;
|
|
489
|
+
ReturnCosts?: number | undefined;
|
|
490
|
+
AuditGrade?: string | undefined;
|
|
491
|
+
InsuranceRefundAmount?: number | undefined;
|
|
492
|
+
InsuranceFranchiseAmount?: number | undefined;
|
|
493
|
+
InsuranceRefundDate?: Date | undefined;
|
|
494
|
+
InvoicePaymentDate?: Date | undefined;
|
|
495
|
+
InvoiceDate?: Date | undefined;
|
|
496
|
+
InvoiceNumber?: string | undefined;
|
|
497
|
+
ContractAmendment?: string | undefined;
|
|
498
|
+
UnitPrice?: number | undefined;
|
|
499
|
+
NetValue?: number | undefined;
|
|
500
|
+
RentAmount?: number | undefined;
|
|
501
|
+
CO2ImpactPerYear?: number | undefined;
|
|
502
|
+
CO2ProductionImpact?: number | undefined;
|
|
503
|
+
AssetAge?: number | undefined;
|
|
504
|
+
PersonNumber?: string | undefined;
|
|
505
|
+
Status?: string | undefined;
|
|
506
|
+
SiteName?: string | undefined;
|
|
507
|
+
SubsidiaryName?: string | undefined;
|
|
508
508
|
}>;
|
|
509
509
|
export declare const assetDefinitions: {
|
|
510
510
|
asset_genre: z.ZodObject<{
|
|
@@ -742,128 +742,128 @@ export declare const assetDefinitions: {
|
|
|
742
742
|
valorisation_amount?: number | undefined;
|
|
743
743
|
}>;
|
|
744
744
|
computer_upload: z.ZodObject<{
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
745
|
+
SerialNumber: z.ZodString;
|
|
746
|
+
ExternalIdNumber: z.ZodOptional<z.ZodString>;
|
|
747
|
+
OwnerCompanyName: z.ZodOptional<z.ZodString>;
|
|
748
|
+
Type: z.ZodDefault<z.ZodString>;
|
|
749
|
+
Constructor: z.ZodOptional<z.ZodString>;
|
|
750
|
+
ProductCode: z.ZodString;
|
|
751
|
+
Label: z.ZodString;
|
|
752
|
+
CPU: z.ZodOptional<z.ZodString>;
|
|
753
|
+
OS: z.ZodOptional<z.ZodString>;
|
|
754
|
+
RAM: z.ZodOptional<z.ZodString>;
|
|
755
|
+
DiskMemory: z.ZodOptional<z.ZodString>;
|
|
756
|
+
IPAddress: z.ZodOptional<z.ZodString>;
|
|
757
|
+
OrderNumber: z.ZodOptional<z.ZodString>;
|
|
758
|
+
OrderDate: z.ZodOptional<z.ZodDate>;
|
|
759
|
+
DeliveryDate: z.ZodOptional<z.ZodDate>;
|
|
760
|
+
EntryDate: z.ZodOptional<z.ZodDate>;
|
|
761
|
+
PrevisionalExitDate: z.ZodOptional<z.ZodDate>;
|
|
762
|
+
ExitDate: z.ZodOptional<z.ZodDate>;
|
|
763
|
+
ExitReason: z.ZodOptional<z.ZodString>;
|
|
764
|
+
AuditDate: z.ZodOptional<z.ZodDate>;
|
|
765
|
+
ValorisationAmount: z.ZodOptional<z.ZodNumber>;
|
|
766
|
+
ReturnCosts: z.ZodOptional<z.ZodNumber>;
|
|
767
|
+
AuditGrade: z.ZodOptional<z.ZodString>;
|
|
768
|
+
InsuranceRefundAmount: z.ZodOptional<z.ZodNumber>;
|
|
769
|
+
InsuranceFranchiseAmount: z.ZodOptional<z.ZodNumber>;
|
|
770
|
+
InsuranceRefundDate: z.ZodOptional<z.ZodDate>;
|
|
771
|
+
InvoicePaymentDate: z.ZodOptional<z.ZodDate>;
|
|
772
|
+
InvoiceDate: z.ZodOptional<z.ZodDate>;
|
|
773
|
+
InvoiceNumber: z.ZodOptional<z.ZodString>;
|
|
774
|
+
ContractAmendment: z.ZodOptional<z.ZodString>;
|
|
775
|
+
UnitPrice: z.ZodOptional<z.ZodNumber>;
|
|
776
|
+
NetValue: z.ZodOptional<z.ZodNumber>;
|
|
777
|
+
RentAmount: z.ZodOptional<z.ZodNumber>;
|
|
778
|
+
CO2ImpactPerYear: z.ZodOptional<z.ZodNumber>;
|
|
779
|
+
CO2ProductionImpact: z.ZodOptional<z.ZodNumber>;
|
|
780
|
+
AssetAge: z.ZodOptional<z.ZodNumber>;
|
|
781
|
+
PersonNumber: z.ZodOptional<z.ZodString>;
|
|
782
|
+
Status: z.ZodOptional<z.ZodString>;
|
|
783
|
+
SiteName: z.ZodOptional<z.ZodString>;
|
|
784
|
+
SubsidiaryName: z.ZodOptional<z.ZodString>;
|
|
785
785
|
}, "strip", z.ZodTypeAny, {
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
786
|
+
Type: string;
|
|
787
|
+
SerialNumber: string;
|
|
788
|
+
ProductCode: string;
|
|
789
|
+
Label: string;
|
|
790
|
+
ExternalIdNumber?: string | undefined;
|
|
791
|
+
OwnerCompanyName?: string | undefined;
|
|
792
|
+
Constructor?: string | undefined;
|
|
793
|
+
CPU?: string | undefined;
|
|
794
|
+
OS?: string | undefined;
|
|
795
|
+
RAM?: string | undefined;
|
|
796
|
+
DiskMemory?: string | undefined;
|
|
797
|
+
IPAddress?: string | undefined;
|
|
798
|
+
OrderNumber?: string | undefined;
|
|
799
|
+
OrderDate?: Date | undefined;
|
|
800
|
+
DeliveryDate?: Date | undefined;
|
|
801
|
+
EntryDate?: Date | undefined;
|
|
802
|
+
PrevisionalExitDate?: Date | undefined;
|
|
803
|
+
ExitDate?: Date | undefined;
|
|
804
|
+
ExitReason?: string | undefined;
|
|
805
|
+
AuditDate?: Date | undefined;
|
|
806
|
+
ValorisationAmount?: number | undefined;
|
|
807
|
+
ReturnCosts?: number | undefined;
|
|
808
|
+
AuditGrade?: string | undefined;
|
|
809
|
+
InsuranceRefundAmount?: number | undefined;
|
|
810
|
+
InsuranceFranchiseAmount?: number | undefined;
|
|
811
|
+
InsuranceRefundDate?: Date | undefined;
|
|
812
|
+
InvoicePaymentDate?: Date | undefined;
|
|
813
|
+
InvoiceDate?: Date | undefined;
|
|
814
|
+
InvoiceNumber?: string | undefined;
|
|
815
|
+
ContractAmendment?: string | undefined;
|
|
816
|
+
UnitPrice?: number | undefined;
|
|
817
|
+
NetValue?: number | undefined;
|
|
818
|
+
RentAmount?: number | undefined;
|
|
819
|
+
CO2ImpactPerYear?: number | undefined;
|
|
820
|
+
CO2ProductionImpact?: number | undefined;
|
|
821
|
+
AssetAge?: number | undefined;
|
|
822
|
+
PersonNumber?: string | undefined;
|
|
823
|
+
Status?: string | undefined;
|
|
824
|
+
SiteName?: string | undefined;
|
|
825
|
+
SubsidiaryName?: string | undefined;
|
|
826
826
|
}, {
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
827
|
+
SerialNumber: string;
|
|
828
|
+
ProductCode: string;
|
|
829
|
+
Label: string;
|
|
830
|
+
ExternalIdNumber?: string | undefined;
|
|
831
|
+
OwnerCompanyName?: string | undefined;
|
|
832
|
+
Type?: string | undefined;
|
|
833
|
+
Constructor?: string | undefined;
|
|
834
|
+
CPU?: string | undefined;
|
|
835
|
+
OS?: string | undefined;
|
|
836
|
+
RAM?: string | undefined;
|
|
837
|
+
DiskMemory?: string | undefined;
|
|
838
|
+
IPAddress?: string | undefined;
|
|
839
|
+
OrderNumber?: string | undefined;
|
|
840
|
+
OrderDate?: Date | undefined;
|
|
841
|
+
DeliveryDate?: Date | undefined;
|
|
842
|
+
EntryDate?: Date | undefined;
|
|
843
|
+
PrevisionalExitDate?: Date | undefined;
|
|
844
|
+
ExitDate?: Date | undefined;
|
|
845
|
+
ExitReason?: string | undefined;
|
|
846
|
+
AuditDate?: Date | undefined;
|
|
847
|
+
ValorisationAmount?: number | undefined;
|
|
848
|
+
ReturnCosts?: number | undefined;
|
|
849
|
+
AuditGrade?: string | undefined;
|
|
850
|
+
InsuranceRefundAmount?: number | undefined;
|
|
851
|
+
InsuranceFranchiseAmount?: number | undefined;
|
|
852
|
+
InsuranceRefundDate?: Date | undefined;
|
|
853
|
+
InvoicePaymentDate?: Date | undefined;
|
|
854
|
+
InvoiceDate?: Date | undefined;
|
|
855
|
+
InvoiceNumber?: string | undefined;
|
|
856
|
+
ContractAmendment?: string | undefined;
|
|
857
|
+
UnitPrice?: number | undefined;
|
|
858
|
+
NetValue?: number | undefined;
|
|
859
|
+
RentAmount?: number | undefined;
|
|
860
|
+
CO2ImpactPerYear?: number | undefined;
|
|
861
|
+
CO2ProductionImpact?: number | undefined;
|
|
862
|
+
AssetAge?: number | undefined;
|
|
863
|
+
PersonNumber?: string | undefined;
|
|
864
|
+
Status?: string | undefined;
|
|
865
|
+
SiteName?: string | undefined;
|
|
866
|
+
SubsidiaryName?: string | undefined;
|
|
867
867
|
}>;
|
|
868
868
|
csr_data: z.ZodObject<{
|
|
869
869
|
id_company: z.ZodNumber;
|
package/lib/computers.js
CHANGED
|
@@ -114,46 +114,46 @@ const AssetUpload = z
|
|
|
114
114
|
.merge(OptLabelsUpload)
|
|
115
115
|
.merge(OptAssetAffectationUplad);
|
|
116
116
|
const ComputerUpload = z.object({
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
117
|
+
SerialNumber: z.string().max(200),
|
|
118
|
+
ExternalIdNumber: z.string().max(200).optional(),
|
|
119
|
+
OwnerCompanyName: z.string().max(200).optional(),
|
|
120
|
+
Type: z.string().max(200).default("IT"),
|
|
121
|
+
Constructor: z.string().max(200).optional(),
|
|
122
|
+
ProductCode: z.string().max(200),
|
|
123
|
+
Label: z.string().max(200),
|
|
124
|
+
CPU: z.string().max(200).optional(),
|
|
125
|
+
OS: z.string().max(200).optional(),
|
|
126
|
+
RAM: z.string().max(200).optional(),
|
|
127
|
+
DiskMemory: z.string().max(200).optional(),
|
|
128
|
+
IPAddress: z.string().max(200).optional(),
|
|
129
|
+
OrderNumber: z.string().max(200).optional(),
|
|
130
|
+
OrderDate: z.date().optional(),
|
|
131
|
+
DeliveryDate: z.date().optional(),
|
|
132
|
+
EntryDate: z.date().optional(),
|
|
133
|
+
PrevisionalExitDate: z.date().optional(),
|
|
134
|
+
ExitDate: z.date().optional(),
|
|
135
|
+
ExitReason: z.string().optional(),
|
|
136
|
+
AuditDate: z.date().optional(),
|
|
137
|
+
ValorisationAmount: z.number().optional(),
|
|
138
|
+
ReturnCosts: z.number().optional(),
|
|
139
|
+
AuditGrade: z.string().optional(),
|
|
140
|
+
InsuranceRefundAmount: z.number().optional(),
|
|
141
|
+
InsuranceFranchiseAmount: z.number().optional(),
|
|
142
|
+
InsuranceRefundDate: z.date().optional(),
|
|
143
|
+
InvoicePaymentDate: z.date().optional(),
|
|
144
|
+
InvoiceDate: z.date().optional(),
|
|
145
|
+
InvoiceNumber: z.string().max(200).optional(),
|
|
146
|
+
ContractAmendment: z.string().max(200).optional(),
|
|
147
|
+
UnitPrice: z.number().optional(),
|
|
148
|
+
NetValue: z.number().optional(),
|
|
149
|
+
RentAmount: z.number().optional(),
|
|
150
|
+
CO2ImpactPerYear: z.number().optional(),
|
|
151
|
+
CO2ProductionImpact: z.number().optional(),
|
|
152
|
+
AssetAge: z.number().optional(),
|
|
153
|
+
PersonNumber: z.string().max(200).optional(),
|
|
154
|
+
Status: z.string().max(200).optional(),
|
|
155
|
+
SiteName: z.string().max(200).optional(),
|
|
156
|
+
SubsidiaryName: z.string().max(200).optional(),
|
|
157
157
|
});
|
|
158
158
|
export const assetDefinitions = {
|
|
159
159
|
asset_genre: AssetGenre,
|
package/lib/index.d.ts
CHANGED
|
@@ -239,128 +239,128 @@ export declare const schemasDefinitions: {
|
|
|
239
239
|
valorisation_amount?: number | undefined;
|
|
240
240
|
}>;
|
|
241
241
|
computer_upload: z.ZodObject<{
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
242
|
+
SerialNumber: z.ZodString;
|
|
243
|
+
ExternalIdNumber: z.ZodOptional<z.ZodString>;
|
|
244
|
+
OwnerCompanyName: z.ZodOptional<z.ZodString>;
|
|
245
|
+
Type: z.ZodDefault<z.ZodString>;
|
|
246
|
+
Constructor: z.ZodOptional<z.ZodString>;
|
|
247
|
+
ProductCode: z.ZodString;
|
|
248
|
+
Label: z.ZodString;
|
|
249
|
+
CPU: z.ZodOptional<z.ZodString>;
|
|
250
|
+
OS: z.ZodOptional<z.ZodString>;
|
|
251
|
+
RAM: z.ZodOptional<z.ZodString>;
|
|
252
|
+
DiskMemory: z.ZodOptional<z.ZodString>;
|
|
253
|
+
IPAddress: z.ZodOptional<z.ZodString>;
|
|
254
|
+
OrderNumber: z.ZodOptional<z.ZodString>;
|
|
255
|
+
OrderDate: z.ZodOptional<z.ZodDate>;
|
|
256
|
+
DeliveryDate: z.ZodOptional<z.ZodDate>;
|
|
257
|
+
EntryDate: z.ZodOptional<z.ZodDate>;
|
|
258
|
+
PrevisionalExitDate: z.ZodOptional<z.ZodDate>;
|
|
259
|
+
ExitDate: z.ZodOptional<z.ZodDate>;
|
|
260
|
+
ExitReason: z.ZodOptional<z.ZodString>;
|
|
261
|
+
AuditDate: z.ZodOptional<z.ZodDate>;
|
|
262
|
+
ValorisationAmount: z.ZodOptional<z.ZodNumber>;
|
|
263
|
+
ReturnCosts: z.ZodOptional<z.ZodNumber>;
|
|
264
|
+
AuditGrade: z.ZodOptional<z.ZodString>;
|
|
265
|
+
InsuranceRefundAmount: z.ZodOptional<z.ZodNumber>;
|
|
266
|
+
InsuranceFranchiseAmount: z.ZodOptional<z.ZodNumber>;
|
|
267
|
+
InsuranceRefundDate: z.ZodOptional<z.ZodDate>;
|
|
268
|
+
InvoicePaymentDate: z.ZodOptional<z.ZodDate>;
|
|
269
|
+
InvoiceDate: z.ZodOptional<z.ZodDate>;
|
|
270
|
+
InvoiceNumber: z.ZodOptional<z.ZodString>;
|
|
271
|
+
ContractAmendment: z.ZodOptional<z.ZodString>;
|
|
272
|
+
UnitPrice: z.ZodOptional<z.ZodNumber>;
|
|
273
|
+
NetValue: z.ZodOptional<z.ZodNumber>;
|
|
274
|
+
RentAmount: z.ZodOptional<z.ZodNumber>;
|
|
275
|
+
CO2ImpactPerYear: z.ZodOptional<z.ZodNumber>;
|
|
276
|
+
CO2ProductionImpact: z.ZodOptional<z.ZodNumber>;
|
|
277
|
+
AssetAge: z.ZodOptional<z.ZodNumber>;
|
|
278
|
+
PersonNumber: z.ZodOptional<z.ZodString>;
|
|
279
|
+
Status: z.ZodOptional<z.ZodString>;
|
|
280
|
+
SiteName: z.ZodOptional<z.ZodString>;
|
|
281
|
+
SubsidiaryName: z.ZodOptional<z.ZodString>;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
283
|
+
Type: string;
|
|
284
|
+
SerialNumber: string;
|
|
285
|
+
ProductCode: string;
|
|
286
|
+
Label: string;
|
|
287
|
+
ExternalIdNumber?: string | undefined;
|
|
288
|
+
OwnerCompanyName?: string | undefined;
|
|
289
|
+
Constructor?: string | undefined;
|
|
290
|
+
CPU?: string | undefined;
|
|
291
|
+
OS?: string | undefined;
|
|
292
|
+
RAM?: string | undefined;
|
|
293
|
+
DiskMemory?: string | undefined;
|
|
294
|
+
IPAddress?: string | undefined;
|
|
295
|
+
OrderNumber?: string | undefined;
|
|
296
|
+
OrderDate?: Date | undefined;
|
|
297
|
+
DeliveryDate?: Date | undefined;
|
|
298
|
+
EntryDate?: Date | undefined;
|
|
299
|
+
PrevisionalExitDate?: Date | undefined;
|
|
300
|
+
ExitDate?: Date | undefined;
|
|
301
|
+
ExitReason?: string | undefined;
|
|
302
|
+
AuditDate?: Date | undefined;
|
|
303
|
+
ValorisationAmount?: number | undefined;
|
|
304
|
+
ReturnCosts?: number | undefined;
|
|
305
|
+
AuditGrade?: string | undefined;
|
|
306
|
+
InsuranceRefundAmount?: number | undefined;
|
|
307
|
+
InsuranceFranchiseAmount?: number | undefined;
|
|
308
|
+
InsuranceRefundDate?: Date | undefined;
|
|
309
|
+
InvoicePaymentDate?: Date | undefined;
|
|
310
|
+
InvoiceDate?: Date | undefined;
|
|
311
|
+
InvoiceNumber?: string | undefined;
|
|
312
|
+
ContractAmendment?: string | undefined;
|
|
313
|
+
UnitPrice?: number | undefined;
|
|
314
|
+
NetValue?: number | undefined;
|
|
315
|
+
RentAmount?: number | undefined;
|
|
316
|
+
CO2ImpactPerYear?: number | undefined;
|
|
317
|
+
CO2ProductionImpact?: number | undefined;
|
|
318
|
+
AssetAge?: number | undefined;
|
|
319
|
+
PersonNumber?: string | undefined;
|
|
320
|
+
Status?: string | undefined;
|
|
321
|
+
SiteName?: string | undefined;
|
|
322
|
+
SubsidiaryName?: string | undefined;
|
|
323
323
|
}, {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
324
|
+
SerialNumber: string;
|
|
325
|
+
ProductCode: string;
|
|
326
|
+
Label: string;
|
|
327
|
+
ExternalIdNumber?: string | undefined;
|
|
328
|
+
OwnerCompanyName?: string | undefined;
|
|
329
|
+
Type?: string | undefined;
|
|
330
|
+
Constructor?: string | undefined;
|
|
331
|
+
CPU?: string | undefined;
|
|
332
|
+
OS?: string | undefined;
|
|
333
|
+
RAM?: string | undefined;
|
|
334
|
+
DiskMemory?: string | undefined;
|
|
335
|
+
IPAddress?: string | undefined;
|
|
336
|
+
OrderNumber?: string | undefined;
|
|
337
|
+
OrderDate?: Date | undefined;
|
|
338
|
+
DeliveryDate?: Date | undefined;
|
|
339
|
+
EntryDate?: Date | undefined;
|
|
340
|
+
PrevisionalExitDate?: Date | undefined;
|
|
341
|
+
ExitDate?: Date | undefined;
|
|
342
|
+
ExitReason?: string | undefined;
|
|
343
|
+
AuditDate?: Date | undefined;
|
|
344
|
+
ValorisationAmount?: number | undefined;
|
|
345
|
+
ReturnCosts?: number | undefined;
|
|
346
|
+
AuditGrade?: string | undefined;
|
|
347
|
+
InsuranceRefundAmount?: number | undefined;
|
|
348
|
+
InsuranceFranchiseAmount?: number | undefined;
|
|
349
|
+
InsuranceRefundDate?: Date | undefined;
|
|
350
|
+
InvoicePaymentDate?: Date | undefined;
|
|
351
|
+
InvoiceDate?: Date | undefined;
|
|
352
|
+
InvoiceNumber?: string | undefined;
|
|
353
|
+
ContractAmendment?: string | undefined;
|
|
354
|
+
UnitPrice?: number | undefined;
|
|
355
|
+
NetValue?: number | undefined;
|
|
356
|
+
RentAmount?: number | undefined;
|
|
357
|
+
CO2ImpactPerYear?: number | undefined;
|
|
358
|
+
CO2ProductionImpact?: number | undefined;
|
|
359
|
+
AssetAge?: number | undefined;
|
|
360
|
+
PersonNumber?: string | undefined;
|
|
361
|
+
Status?: string | undefined;
|
|
362
|
+
SiteName?: string | undefined;
|
|
363
|
+
SubsidiaryName?: string | undefined;
|
|
364
364
|
}>;
|
|
365
365
|
csr_data: z.ZodObject<{
|
|
366
366
|
id_company: z.ZodNumber;
|