colibris-types 1.0.31 → 1.0.33
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 -6
- package/lib/computers.js +1 -1
- package/lib/index.d.ts +10 -3
- package/package.json +1 -1
package/lib/computers.d.ts
CHANGED
|
@@ -443,7 +443,7 @@ 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
|
-
|
|
446
|
+
ID: z.ZodString;
|
|
447
447
|
"N\u00B0 de s\u00E9rie": z.ZodOptional<z.ZodString>;
|
|
448
448
|
"N\u00B0 Interne": z.ZodOptional<z.ZodString>;
|
|
449
449
|
Propriétaire: z.ZodOptional<z.ZodString>;
|
|
@@ -484,7 +484,7 @@ declare const ComputerUpload: z.ZodArray<z.ZodObject<{
|
|
|
484
484
|
"B\u00E9n\u00E9ficiaire du Don": z.ZodOptional<z.ZodString>;
|
|
485
485
|
"Date du Don": z.ZodOptional<z.ZodString>;
|
|
486
486
|
}, "strip", z.ZodTypeAny, {
|
|
487
|
-
|
|
487
|
+
ID: string;
|
|
488
488
|
Type?: string | undefined;
|
|
489
489
|
"N\u00B0 de s\u00E9rie"?: string | undefined;
|
|
490
490
|
"N\u00B0 Interne"?: string | undefined;
|
|
@@ -525,7 +525,7 @@ declare const ComputerUpload: z.ZodArray<z.ZodObject<{
|
|
|
525
525
|
"B\u00E9n\u00E9ficiaire du Don"?: string | undefined;
|
|
526
526
|
"Date du Don"?: string | undefined;
|
|
527
527
|
}, {
|
|
528
|
-
|
|
528
|
+
ID: string;
|
|
529
529
|
Type?: string | undefined;
|
|
530
530
|
"N\u00B0 de s\u00E9rie"?: string | undefined;
|
|
531
531
|
"N\u00B0 Interne"?: string | undefined;
|
|
@@ -822,7 +822,7 @@ export declare const assetDefinitions: {
|
|
|
822
822
|
valorisation_amount?: number | undefined;
|
|
823
823
|
}>;
|
|
824
824
|
computer_upload: z.ZodArray<z.ZodObject<{
|
|
825
|
-
|
|
825
|
+
ID: z.ZodString;
|
|
826
826
|
"N\u00B0 de s\u00E9rie": z.ZodOptional<z.ZodString>;
|
|
827
827
|
"N\u00B0 Interne": z.ZodOptional<z.ZodString>;
|
|
828
828
|
Propriétaire: z.ZodOptional<z.ZodString>;
|
|
@@ -863,7 +863,7 @@ export declare const assetDefinitions: {
|
|
|
863
863
|
"B\u00E9n\u00E9ficiaire du Don": z.ZodOptional<z.ZodString>;
|
|
864
864
|
"Date du Don": z.ZodOptional<z.ZodString>;
|
|
865
865
|
}, "strip", z.ZodTypeAny, {
|
|
866
|
-
|
|
866
|
+
ID: string;
|
|
867
867
|
Type?: string | undefined;
|
|
868
868
|
"N\u00B0 de s\u00E9rie"?: string | undefined;
|
|
869
869
|
"N\u00B0 Interne"?: string | undefined;
|
|
@@ -904,7 +904,7 @@ export declare const assetDefinitions: {
|
|
|
904
904
|
"B\u00E9n\u00E9ficiaire du Don"?: string | undefined;
|
|
905
905
|
"Date du Don"?: string | undefined;
|
|
906
906
|
}, {
|
|
907
|
-
|
|
907
|
+
ID: string;
|
|
908
908
|
Type?: string | undefined;
|
|
909
909
|
"N\u00B0 de s\u00E9rie"?: string | undefined;
|
|
910
910
|
"N\u00B0 Interne"?: string | undefined;
|
package/lib/computers.js
CHANGED
|
@@ -126,7 +126,7 @@ const AssetUpload = z
|
|
|
126
126
|
.merge(OptAssetAffectationUplad);
|
|
127
127
|
const DATE_REGEX = /^\d{2}\/\d{2}\/\d{4}$/;
|
|
128
128
|
const ComputerUpload = z.array(z.object({
|
|
129
|
-
|
|
129
|
+
ID: z.string(),
|
|
130
130
|
"N° de série": z.string().optional(),
|
|
131
131
|
"N° Interne": z.string().optional(),
|
|
132
132
|
Propriétaire: z.string().max(100).optional(),
|
package/lib/index.d.ts
CHANGED
|
@@ -703,7 +703,7 @@ export declare const schemasDefinitions: {
|
|
|
703
703
|
valorisation_amount?: number | undefined;
|
|
704
704
|
}>;
|
|
705
705
|
computer_upload: z.ZodArray<z.ZodObject<{
|
|
706
|
-
|
|
706
|
+
ID: z.ZodString;
|
|
707
707
|
"N\u00B0 de s\u00E9rie": z.ZodOptional<z.ZodString>;
|
|
708
708
|
"N\u00B0 Interne": z.ZodOptional<z.ZodString>;
|
|
709
709
|
Propriétaire: z.ZodOptional<z.ZodString>;
|
|
@@ -744,7 +744,7 @@ export declare const schemasDefinitions: {
|
|
|
744
744
|
"B\u00E9n\u00E9ficiaire du Don": z.ZodOptional<z.ZodString>;
|
|
745
745
|
"Date du Don": z.ZodOptional<z.ZodString>;
|
|
746
746
|
}, "strip", z.ZodTypeAny, {
|
|
747
|
-
|
|
747
|
+
ID: string;
|
|
748
748
|
Type?: string | undefined;
|
|
749
749
|
"N\u00B0 de s\u00E9rie"?: string | undefined;
|
|
750
750
|
"N\u00B0 Interne"?: string | undefined;
|
|
@@ -785,7 +785,7 @@ export declare const schemasDefinitions: {
|
|
|
785
785
|
"B\u00E9n\u00E9ficiaire du Don"?: string | undefined;
|
|
786
786
|
"Date du Don"?: string | undefined;
|
|
787
787
|
}, {
|
|
788
|
-
|
|
788
|
+
ID: string;
|
|
789
789
|
Type?: string | undefined;
|
|
790
790
|
"N\u00B0 de s\u00E9rie"?: string | undefined;
|
|
791
791
|
"N\u00B0 Interne"?: string | undefined;
|
|
@@ -1373,3 +1373,10 @@ export type ComputerUpload = z.infer<typeof ComputerUpload>;
|
|
|
1373
1373
|
export type ComputerUploadType = typeof ComputerUpload;
|
|
1374
1374
|
export type LicenseTraceUpload = z.infer<typeof LicenseTraceUpload>;
|
|
1375
1375
|
export type LicenseTraceUploadType = typeof LicenseTraceUpload;
|
|
1376
|
+
export type ImportsHistory = {
|
|
1377
|
+
companyName: string;
|
|
1378
|
+
status: "success" | "error" | "pending";
|
|
1379
|
+
srcUrl: string;
|
|
1380
|
+
date: string;
|
|
1381
|
+
error?: string;
|
|
1382
|
+
};
|