colibris-types 2.2.0 → 2.2.1
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/imports/assets.d.ts +226 -226
- package/lib/imports/assets.js +57 -123
- package/lib/imports/index.d.ts +75 -75
- package/package.json +1 -1
package/lib/imports/assets.d.ts
CHANGED
|
@@ -1,385 +1,385 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
export declare const ComputerUploadRowSchema: z.ZodObject<{
|
|
3
3
|
ID: z.ZodString;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
'N\u00B0 de s\u00E9rie': z.ZodOptional<z.ZodString>;
|
|
5
|
+
'N\u00B0 Interne': z.ZodOptional<z.ZodString>;
|
|
6
6
|
Propriétaire: z.ZodOptional<z.ZodString>;
|
|
7
7
|
Type: z.ZodOptional<z.ZodString>;
|
|
8
8
|
Constructeur: z.ZodOptional<z.ZodString>;
|
|
9
|
-
|
|
9
|
+
'Code produit': z.ZodOptional<z.ZodString>;
|
|
10
10
|
Label: z.ZodString;
|
|
11
11
|
CPU: z.ZodOptional<z.ZodString>;
|
|
12
12
|
OS: z.ZodOptional<z.ZodString>;
|
|
13
13
|
RAM: z.ZodOptional<z.ZodString>;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
'M\u00E9moire Disque': z.ZodOptional<z.ZodString>;
|
|
15
|
+
'Adresse IP': z.ZodOptional<z.ZodString>;
|
|
16
|
+
'N\u00B0 de Commande': z.ZodOptional<z.ZodString>;
|
|
17
|
+
'Date de la Commande': z.ZodOptional<z.ZodString>;
|
|
18
|
+
'Date de livraison': z.ZodOptional<z.ZodString>;
|
|
19
19
|
"Date d'entr\u00E9e": z.ZodOptional<z.ZodString>;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
'Date pr\u00E9vi': z.ZodOptional<z.ZodString>;
|
|
21
|
+
'Date de sortie': z.ZodOptional<z.ZodString>;
|
|
22
|
+
'Motif de sortie': z.ZodOptional<z.ZodString>;
|
|
23
|
+
'Montant de la valorisation': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
24
|
+
'Co\u00FBts de r\u00E9trologistique': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
25
25
|
Grade: z.ZodOptional<z.ZodString>;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
'Montant Remboursement Assurance': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
27
|
+
'Montant de la franchise': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
28
|
+
'Date de Remboursement Assurance': z.ZodOptional<z.ZodString>;
|
|
29
|
+
'Date de facture': z.ZodOptional<z.ZodString>;
|
|
30
|
+
'N\u00B0 Facture': z.ZodOptional<z.ZodString>;
|
|
31
31
|
Avenant: z.ZodOptional<z.ZodString>;
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
'Prix unitaire': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
33
|
+
'Valeur Nette R\u00E9siduelle Comptable': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
34
34
|
Matricule: z.ZodOptional<z.ZodString>;
|
|
35
35
|
Statut: z.ZodOptional<z.ZodString>;
|
|
36
36
|
Site: z.ZodOptional<z.ZodString>;
|
|
37
37
|
Filiale: z.ZodOptional<z.ZodString>;
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
'Montant R\u00E9paration': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
39
|
+
'N\u00B0 de PV': z.ZodOptional<z.ZodString>;
|
|
40
40
|
Loyer: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
'B\u00E9n\u00E9ficiaire du Don': z.ZodOptional<z.ZodString>;
|
|
42
|
+
'Date du Don': z.ZodOptional<z.ZodString>;
|
|
43
|
+
'Etat Acquisition': z.ZodOptional<z.ZodEnum<["NEUF", "RECONDITIONNÉ", "REMANUFACTURÉ"]>>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
ID: string;
|
|
46
46
|
Label: string;
|
|
47
47
|
Matricule?: string | undefined;
|
|
48
48
|
Filiale?: string | undefined;
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
'N\u00B0 de s\u00E9rie'?: string | undefined;
|
|
50
|
+
'N\u00B0 Interne'?: string | undefined;
|
|
51
51
|
Propriétaire?: string | undefined;
|
|
52
52
|
Type?: string | undefined;
|
|
53
53
|
Constructeur?: string | undefined;
|
|
54
|
-
|
|
54
|
+
'Code produit'?: string | undefined;
|
|
55
55
|
CPU?: string | undefined;
|
|
56
56
|
OS?: string | undefined;
|
|
57
57
|
RAM?: string | undefined;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
'M\u00E9moire Disque'?: string | undefined;
|
|
59
|
+
'Adresse IP'?: string | undefined;
|
|
60
|
+
'N\u00B0 de Commande'?: string | undefined;
|
|
61
|
+
'Date de la Commande'?: string | undefined;
|
|
62
|
+
'Date de livraison'?: string | undefined;
|
|
63
63
|
"Date d'entr\u00E9e"?: string | undefined;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
'Date pr\u00E9vi'?: string | undefined;
|
|
65
|
+
'Date de sortie'?: string | undefined;
|
|
66
|
+
'Motif de sortie'?: string | undefined;
|
|
67
|
+
'Montant de la valorisation'?: number | undefined;
|
|
68
|
+
'Co\u00FBts de r\u00E9trologistique'?: number | undefined;
|
|
69
69
|
Grade?: string | undefined;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
'Montant Remboursement Assurance'?: number | undefined;
|
|
71
|
+
'Montant de la franchise'?: number | undefined;
|
|
72
|
+
'Date de Remboursement Assurance'?: string | undefined;
|
|
73
|
+
'Date de facture'?: string | undefined;
|
|
74
|
+
'N\u00B0 Facture'?: string | undefined;
|
|
75
75
|
Avenant?: string | undefined;
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
'Prix unitaire'?: number | undefined;
|
|
77
|
+
'Valeur Nette R\u00E9siduelle Comptable'?: number | undefined;
|
|
78
78
|
Statut?: string | undefined;
|
|
79
79
|
Site?: string | undefined;
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
'Montant R\u00E9paration'?: number | undefined;
|
|
81
|
+
'N\u00B0 de PV'?: string | undefined;
|
|
82
82
|
Loyer?: number | undefined;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
'B\u00E9n\u00E9ficiaire du Don'?: string | undefined;
|
|
84
|
+
'Date du Don'?: string | undefined;
|
|
85
|
+
'Etat Acquisition'?: "NEUF" | "RECONDITIONNÉ" | "REMANUFACTURÉ" | undefined;
|
|
86
86
|
}, {
|
|
87
87
|
ID: string;
|
|
88
88
|
Label: string;
|
|
89
89
|
Matricule?: string | undefined;
|
|
90
90
|
Filiale?: string | undefined;
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
'N\u00B0 de s\u00E9rie'?: string | undefined;
|
|
92
|
+
'N\u00B0 Interne'?: string | undefined;
|
|
93
93
|
Propriétaire?: string | undefined;
|
|
94
94
|
Type?: string | undefined;
|
|
95
95
|
Constructeur?: string | undefined;
|
|
96
|
-
|
|
96
|
+
'Code produit'?: string | undefined;
|
|
97
97
|
CPU?: string | undefined;
|
|
98
98
|
OS?: string | undefined;
|
|
99
99
|
RAM?: string | undefined;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
'M\u00E9moire Disque'?: string | undefined;
|
|
101
|
+
'Adresse IP'?: string | undefined;
|
|
102
|
+
'N\u00B0 de Commande'?: string | undefined;
|
|
103
|
+
'Date de la Commande'?: string | undefined;
|
|
104
|
+
'Date de livraison'?: string | undefined;
|
|
105
105
|
"Date d'entr\u00E9e"?: string | undefined;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
106
|
+
'Date pr\u00E9vi'?: string | undefined;
|
|
107
|
+
'Date de sortie'?: string | undefined;
|
|
108
|
+
'Motif de sortie'?: string | undefined;
|
|
109
|
+
'Montant de la valorisation'?: string | undefined;
|
|
110
|
+
'Co\u00FBts de r\u00E9trologistique'?: string | undefined;
|
|
111
111
|
Grade?: string | undefined;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
'Montant Remboursement Assurance'?: string | undefined;
|
|
113
|
+
'Montant de la franchise'?: string | undefined;
|
|
114
|
+
'Date de Remboursement Assurance'?: string | undefined;
|
|
115
|
+
'Date de facture'?: string | undefined;
|
|
116
|
+
'N\u00B0 Facture'?: string | undefined;
|
|
117
117
|
Avenant?: string | undefined;
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
'Prix unitaire'?: string | undefined;
|
|
119
|
+
'Valeur Nette R\u00E9siduelle Comptable'?: string | undefined;
|
|
120
120
|
Statut?: string | undefined;
|
|
121
121
|
Site?: string | undefined;
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
'Montant R\u00E9paration'?: string | undefined;
|
|
123
|
+
'N\u00B0 de PV'?: string | undefined;
|
|
124
124
|
Loyer?: string | undefined;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
'B\u00E9n\u00E9ficiaire du Don'?: string | undefined;
|
|
126
|
+
'Date du Don'?: string | undefined;
|
|
127
|
+
'Etat Acquisition'?: "NEUF" | "RECONDITIONNÉ" | "REMANUFACTURÉ" | undefined;
|
|
128
128
|
}>;
|
|
129
129
|
export declare const ComputerUploadSchema: z.ZodArray<z.ZodObject<{
|
|
130
130
|
ID: z.ZodString;
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
'N\u00B0 de s\u00E9rie': z.ZodOptional<z.ZodString>;
|
|
132
|
+
'N\u00B0 Interne': z.ZodOptional<z.ZodString>;
|
|
133
133
|
Propriétaire: z.ZodOptional<z.ZodString>;
|
|
134
134
|
Type: z.ZodOptional<z.ZodString>;
|
|
135
135
|
Constructeur: z.ZodOptional<z.ZodString>;
|
|
136
|
-
|
|
136
|
+
'Code produit': z.ZodOptional<z.ZodString>;
|
|
137
137
|
Label: z.ZodString;
|
|
138
138
|
CPU: z.ZodOptional<z.ZodString>;
|
|
139
139
|
OS: z.ZodOptional<z.ZodString>;
|
|
140
140
|
RAM: z.ZodOptional<z.ZodString>;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
'M\u00E9moire Disque': z.ZodOptional<z.ZodString>;
|
|
142
|
+
'Adresse IP': z.ZodOptional<z.ZodString>;
|
|
143
|
+
'N\u00B0 de Commande': z.ZodOptional<z.ZodString>;
|
|
144
|
+
'Date de la Commande': z.ZodOptional<z.ZodString>;
|
|
145
|
+
'Date de livraison': z.ZodOptional<z.ZodString>;
|
|
146
146
|
"Date d'entr\u00E9e": z.ZodOptional<z.ZodString>;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
147
|
+
'Date pr\u00E9vi': z.ZodOptional<z.ZodString>;
|
|
148
|
+
'Date de sortie': z.ZodOptional<z.ZodString>;
|
|
149
|
+
'Motif de sortie': z.ZodOptional<z.ZodString>;
|
|
150
|
+
'Montant de la valorisation': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
151
|
+
'Co\u00FBts de r\u00E9trologistique': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
152
152
|
Grade: z.ZodOptional<z.ZodString>;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
153
|
+
'Montant Remboursement Assurance': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
154
|
+
'Montant de la franchise': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
155
|
+
'Date de Remboursement Assurance': z.ZodOptional<z.ZodString>;
|
|
156
|
+
'Date de facture': z.ZodOptional<z.ZodString>;
|
|
157
|
+
'N\u00B0 Facture': z.ZodOptional<z.ZodString>;
|
|
158
158
|
Avenant: z.ZodOptional<z.ZodString>;
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
'Prix unitaire': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
160
|
+
'Valeur Nette R\u00E9siduelle Comptable': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
161
161
|
Matricule: z.ZodOptional<z.ZodString>;
|
|
162
162
|
Statut: z.ZodOptional<z.ZodString>;
|
|
163
163
|
Site: z.ZodOptional<z.ZodString>;
|
|
164
164
|
Filiale: z.ZodOptional<z.ZodString>;
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
'Montant R\u00E9paration': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
166
|
+
'N\u00B0 de PV': z.ZodOptional<z.ZodString>;
|
|
167
167
|
Loyer: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
'B\u00E9n\u00E9ficiaire du Don': z.ZodOptional<z.ZodString>;
|
|
169
|
+
'Date du Don': z.ZodOptional<z.ZodString>;
|
|
170
|
+
'Etat Acquisition': z.ZodOptional<z.ZodEnum<["NEUF", "RECONDITIONNÉ", "REMANUFACTURÉ"]>>;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
172
|
ID: string;
|
|
173
173
|
Label: string;
|
|
174
174
|
Matricule?: string | undefined;
|
|
175
175
|
Filiale?: string | undefined;
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
'N\u00B0 de s\u00E9rie'?: string | undefined;
|
|
177
|
+
'N\u00B0 Interne'?: string | undefined;
|
|
178
178
|
Propriétaire?: string | undefined;
|
|
179
179
|
Type?: string | undefined;
|
|
180
180
|
Constructeur?: string | undefined;
|
|
181
|
-
|
|
181
|
+
'Code produit'?: string | undefined;
|
|
182
182
|
CPU?: string | undefined;
|
|
183
183
|
OS?: string | undefined;
|
|
184
184
|
RAM?: string | undefined;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
185
|
+
'M\u00E9moire Disque'?: string | undefined;
|
|
186
|
+
'Adresse IP'?: string | undefined;
|
|
187
|
+
'N\u00B0 de Commande'?: string | undefined;
|
|
188
|
+
'Date de la Commande'?: string | undefined;
|
|
189
|
+
'Date de livraison'?: string | undefined;
|
|
190
190
|
"Date d'entr\u00E9e"?: string | undefined;
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
191
|
+
'Date pr\u00E9vi'?: string | undefined;
|
|
192
|
+
'Date de sortie'?: string | undefined;
|
|
193
|
+
'Motif de sortie'?: string | undefined;
|
|
194
|
+
'Montant de la valorisation'?: number | undefined;
|
|
195
|
+
'Co\u00FBts de r\u00E9trologistique'?: number | undefined;
|
|
196
196
|
Grade?: string | undefined;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
197
|
+
'Montant Remboursement Assurance'?: number | undefined;
|
|
198
|
+
'Montant de la franchise'?: number | undefined;
|
|
199
|
+
'Date de Remboursement Assurance'?: string | undefined;
|
|
200
|
+
'Date de facture'?: string | undefined;
|
|
201
|
+
'N\u00B0 Facture'?: string | undefined;
|
|
202
202
|
Avenant?: string | undefined;
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
'Prix unitaire'?: number | undefined;
|
|
204
|
+
'Valeur Nette R\u00E9siduelle Comptable'?: number | undefined;
|
|
205
205
|
Statut?: string | undefined;
|
|
206
206
|
Site?: string | undefined;
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
'Montant R\u00E9paration'?: number | undefined;
|
|
208
|
+
'N\u00B0 de PV'?: string | undefined;
|
|
209
209
|
Loyer?: number | undefined;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
'B\u00E9n\u00E9ficiaire du Don'?: string | undefined;
|
|
211
|
+
'Date du Don'?: string | undefined;
|
|
212
|
+
'Etat Acquisition'?: "NEUF" | "RECONDITIONNÉ" | "REMANUFACTURÉ" | undefined;
|
|
213
213
|
}, {
|
|
214
214
|
ID: string;
|
|
215
215
|
Label: string;
|
|
216
216
|
Matricule?: string | undefined;
|
|
217
217
|
Filiale?: string | undefined;
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
'N\u00B0 de s\u00E9rie'?: string | undefined;
|
|
219
|
+
'N\u00B0 Interne'?: string | undefined;
|
|
220
220
|
Propriétaire?: string | undefined;
|
|
221
221
|
Type?: string | undefined;
|
|
222
222
|
Constructeur?: string | undefined;
|
|
223
|
-
|
|
223
|
+
'Code produit'?: string | undefined;
|
|
224
224
|
CPU?: string | undefined;
|
|
225
225
|
OS?: string | undefined;
|
|
226
226
|
RAM?: string | undefined;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
227
|
+
'M\u00E9moire Disque'?: string | undefined;
|
|
228
|
+
'Adresse IP'?: string | undefined;
|
|
229
|
+
'N\u00B0 de Commande'?: string | undefined;
|
|
230
|
+
'Date de la Commande'?: string | undefined;
|
|
231
|
+
'Date de livraison'?: string | undefined;
|
|
232
232
|
"Date d'entr\u00E9e"?: string | undefined;
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
233
|
+
'Date pr\u00E9vi'?: string | undefined;
|
|
234
|
+
'Date de sortie'?: string | undefined;
|
|
235
|
+
'Motif de sortie'?: string | undefined;
|
|
236
|
+
'Montant de la valorisation'?: string | undefined;
|
|
237
|
+
'Co\u00FBts de r\u00E9trologistique'?: string | undefined;
|
|
238
238
|
Grade?: string | undefined;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
239
|
+
'Montant Remboursement Assurance'?: string | undefined;
|
|
240
|
+
'Montant de la franchise'?: string | undefined;
|
|
241
|
+
'Date de Remboursement Assurance'?: string | undefined;
|
|
242
|
+
'Date de facture'?: string | undefined;
|
|
243
|
+
'N\u00B0 Facture'?: string | undefined;
|
|
244
244
|
Avenant?: string | undefined;
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
'Prix unitaire'?: string | undefined;
|
|
246
|
+
'Valeur Nette R\u00E9siduelle Comptable'?: string | undefined;
|
|
247
247
|
Statut?: string | undefined;
|
|
248
248
|
Site?: string | undefined;
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
'Montant R\u00E9paration'?: string | undefined;
|
|
250
|
+
'N\u00B0 de PV'?: string | undefined;
|
|
251
251
|
Loyer?: string | undefined;
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
'B\u00E9n\u00E9ficiaire du Don'?: string | undefined;
|
|
253
|
+
'Date du Don'?: string | undefined;
|
|
254
|
+
'Etat Acquisition'?: "NEUF" | "RECONDITIONNÉ" | "REMANUFACTURÉ" | undefined;
|
|
255
255
|
}>, "many">;
|
|
256
256
|
export type ComputerUpload = z.infer<typeof ComputerUploadSchema>;
|
|
257
257
|
export declare const assetDefinitions: {
|
|
258
258
|
computer_upload: z.ZodArray<z.ZodObject<{
|
|
259
259
|
ID: z.ZodString;
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
'N\u00B0 de s\u00E9rie': z.ZodOptional<z.ZodString>;
|
|
261
|
+
'N\u00B0 Interne': z.ZodOptional<z.ZodString>;
|
|
262
262
|
Propriétaire: z.ZodOptional<z.ZodString>;
|
|
263
263
|
Type: z.ZodOptional<z.ZodString>;
|
|
264
264
|
Constructeur: z.ZodOptional<z.ZodString>;
|
|
265
|
-
|
|
265
|
+
'Code produit': z.ZodOptional<z.ZodString>;
|
|
266
266
|
Label: z.ZodString;
|
|
267
267
|
CPU: z.ZodOptional<z.ZodString>;
|
|
268
268
|
OS: z.ZodOptional<z.ZodString>;
|
|
269
269
|
RAM: z.ZodOptional<z.ZodString>;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
270
|
+
'M\u00E9moire Disque': z.ZodOptional<z.ZodString>;
|
|
271
|
+
'Adresse IP': z.ZodOptional<z.ZodString>;
|
|
272
|
+
'N\u00B0 de Commande': z.ZodOptional<z.ZodString>;
|
|
273
|
+
'Date de la Commande': z.ZodOptional<z.ZodString>;
|
|
274
|
+
'Date de livraison': z.ZodOptional<z.ZodString>;
|
|
275
275
|
"Date d'entr\u00E9e": z.ZodOptional<z.ZodString>;
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
276
|
+
'Date pr\u00E9vi': z.ZodOptional<z.ZodString>;
|
|
277
|
+
'Date de sortie': z.ZodOptional<z.ZodString>;
|
|
278
|
+
'Motif de sortie': z.ZodOptional<z.ZodString>;
|
|
279
|
+
'Montant de la valorisation': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
280
|
+
'Co\u00FBts de r\u00E9trologistique': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
281
281
|
Grade: z.ZodOptional<z.ZodString>;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
282
|
+
'Montant Remboursement Assurance': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
283
|
+
'Montant de la franchise': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
284
|
+
'Date de Remboursement Assurance': z.ZodOptional<z.ZodString>;
|
|
285
|
+
'Date de facture': z.ZodOptional<z.ZodString>;
|
|
286
|
+
'N\u00B0 Facture': z.ZodOptional<z.ZodString>;
|
|
287
287
|
Avenant: z.ZodOptional<z.ZodString>;
|
|
288
|
-
|
|
289
|
-
|
|
288
|
+
'Prix unitaire': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
289
|
+
'Valeur Nette R\u00E9siduelle Comptable': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
290
290
|
Matricule: z.ZodOptional<z.ZodString>;
|
|
291
291
|
Statut: z.ZodOptional<z.ZodString>;
|
|
292
292
|
Site: z.ZodOptional<z.ZodString>;
|
|
293
293
|
Filiale: z.ZodOptional<z.ZodString>;
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
'Montant R\u00E9paration': z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
295
|
+
'N\u00B0 de PV': z.ZodOptional<z.ZodString>;
|
|
296
296
|
Loyer: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
297
|
+
'B\u00E9n\u00E9ficiaire du Don': z.ZodOptional<z.ZodString>;
|
|
298
|
+
'Date du Don': z.ZodOptional<z.ZodString>;
|
|
299
|
+
'Etat Acquisition': z.ZodOptional<z.ZodEnum<["NEUF", "RECONDITIONNÉ", "REMANUFACTURÉ"]>>;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
301
|
ID: string;
|
|
302
302
|
Label: string;
|
|
303
303
|
Matricule?: string | undefined;
|
|
304
304
|
Filiale?: string | undefined;
|
|
305
|
-
|
|
306
|
-
|
|
305
|
+
'N\u00B0 de s\u00E9rie'?: string | undefined;
|
|
306
|
+
'N\u00B0 Interne'?: string | undefined;
|
|
307
307
|
Propriétaire?: string | undefined;
|
|
308
308
|
Type?: string | undefined;
|
|
309
309
|
Constructeur?: string | undefined;
|
|
310
|
-
|
|
310
|
+
'Code produit'?: string | undefined;
|
|
311
311
|
CPU?: string | undefined;
|
|
312
312
|
OS?: string | undefined;
|
|
313
313
|
RAM?: string | undefined;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
314
|
+
'M\u00E9moire Disque'?: string | undefined;
|
|
315
|
+
'Adresse IP'?: string | undefined;
|
|
316
|
+
'N\u00B0 de Commande'?: string | undefined;
|
|
317
|
+
'Date de la Commande'?: string | undefined;
|
|
318
|
+
'Date de livraison'?: string | undefined;
|
|
319
319
|
"Date d'entr\u00E9e"?: string | undefined;
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
320
|
+
'Date pr\u00E9vi'?: string | undefined;
|
|
321
|
+
'Date de sortie'?: string | undefined;
|
|
322
|
+
'Motif de sortie'?: string | undefined;
|
|
323
|
+
'Montant de la valorisation'?: number | undefined;
|
|
324
|
+
'Co\u00FBts de r\u00E9trologistique'?: number | undefined;
|
|
325
325
|
Grade?: string | undefined;
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
'Montant Remboursement Assurance'?: number | undefined;
|
|
327
|
+
'Montant de la franchise'?: number | undefined;
|
|
328
|
+
'Date de Remboursement Assurance'?: string | undefined;
|
|
329
|
+
'Date de facture'?: string | undefined;
|
|
330
|
+
'N\u00B0 Facture'?: string | undefined;
|
|
331
331
|
Avenant?: string | undefined;
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
'Prix unitaire'?: number | undefined;
|
|
333
|
+
'Valeur Nette R\u00E9siduelle Comptable'?: number | undefined;
|
|
334
334
|
Statut?: string | undefined;
|
|
335
335
|
Site?: string | undefined;
|
|
336
|
-
|
|
337
|
-
|
|
336
|
+
'Montant R\u00E9paration'?: number | undefined;
|
|
337
|
+
'N\u00B0 de PV'?: string | undefined;
|
|
338
338
|
Loyer?: number | undefined;
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
339
|
+
'B\u00E9n\u00E9ficiaire du Don'?: string | undefined;
|
|
340
|
+
'Date du Don'?: string | undefined;
|
|
341
|
+
'Etat Acquisition'?: "NEUF" | "RECONDITIONNÉ" | "REMANUFACTURÉ" | undefined;
|
|
342
342
|
}, {
|
|
343
343
|
ID: string;
|
|
344
344
|
Label: string;
|
|
345
345
|
Matricule?: string | undefined;
|
|
346
346
|
Filiale?: string | undefined;
|
|
347
|
-
|
|
348
|
-
|
|
347
|
+
'N\u00B0 de s\u00E9rie'?: string | undefined;
|
|
348
|
+
'N\u00B0 Interne'?: string | undefined;
|
|
349
349
|
Propriétaire?: string | undefined;
|
|
350
350
|
Type?: string | undefined;
|
|
351
351
|
Constructeur?: string | undefined;
|
|
352
|
-
|
|
352
|
+
'Code produit'?: string | undefined;
|
|
353
353
|
CPU?: string | undefined;
|
|
354
354
|
OS?: string | undefined;
|
|
355
355
|
RAM?: string | undefined;
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
356
|
+
'M\u00E9moire Disque'?: string | undefined;
|
|
357
|
+
'Adresse IP'?: string | undefined;
|
|
358
|
+
'N\u00B0 de Commande'?: string | undefined;
|
|
359
|
+
'Date de la Commande'?: string | undefined;
|
|
360
|
+
'Date de livraison'?: string | undefined;
|
|
361
361
|
"Date d'entr\u00E9e"?: string | undefined;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
362
|
+
'Date pr\u00E9vi'?: string | undefined;
|
|
363
|
+
'Date de sortie'?: string | undefined;
|
|
364
|
+
'Motif de sortie'?: string | undefined;
|
|
365
|
+
'Montant de la valorisation'?: string | undefined;
|
|
366
|
+
'Co\u00FBts de r\u00E9trologistique'?: string | undefined;
|
|
367
367
|
Grade?: string | undefined;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
368
|
+
'Montant Remboursement Assurance'?: string | undefined;
|
|
369
|
+
'Montant de la franchise'?: string | undefined;
|
|
370
|
+
'Date de Remboursement Assurance'?: string | undefined;
|
|
371
|
+
'Date de facture'?: string | undefined;
|
|
372
|
+
'N\u00B0 Facture'?: string | undefined;
|
|
373
373
|
Avenant?: string | undefined;
|
|
374
|
-
|
|
375
|
-
|
|
374
|
+
'Prix unitaire'?: string | undefined;
|
|
375
|
+
'Valeur Nette R\u00E9siduelle Comptable'?: string | undefined;
|
|
376
376
|
Statut?: string | undefined;
|
|
377
377
|
Site?: string | undefined;
|
|
378
|
-
|
|
379
|
-
|
|
378
|
+
'Montant R\u00E9paration'?: string | undefined;
|
|
379
|
+
'N\u00B0 de PV'?: string | undefined;
|
|
380
380
|
Loyer?: string | undefined;
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
381
|
+
'B\u00E9n\u00E9ficiaire du Don'?: string | undefined;
|
|
382
|
+
'Date du Don'?: string | undefined;
|
|
383
|
+
'Etat Acquisition'?: "NEUF" | "RECONDITIONNÉ" | "REMANUFACTURÉ" | undefined;
|
|
384
384
|
}>, "many">;
|
|
385
385
|
};
|
package/lib/imports/assets.js
CHANGED
|
@@ -1,166 +1,100 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { extendZodWithOpenApi } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { extendZodWithOpenApi } from '@asteasolutions/zod-to-openapi';
|
|
3
3
|
extendZodWithOpenApi(z);
|
|
4
4
|
const DATE_REGEX = /^\d{2}\/\d{2}\/\d{4}$/;
|
|
5
|
-
const parseDecimal = (v) => parseFloat(v.replace(
|
|
5
|
+
const parseDecimal = (v) => parseFloat(v.replace(',', '.'));
|
|
6
6
|
export const ComputerUploadRowSchema = z
|
|
7
7
|
.object({
|
|
8
|
-
ID: z.string().openapi({ description:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
.optional()
|
|
27
|
-
.openapi({ description: "Product code" }),
|
|
28
|
-
Label: z.string().openapi({ description: "Computer label/description" }),
|
|
29
|
-
CPU: z.string().optional().openapi({ description: "Processor" }),
|
|
30
|
-
OS: z.string().optional().openapi({ description: "Operating system" }),
|
|
31
|
-
RAM: z.string().optional().openapi({ description: "RAM" }),
|
|
32
|
-
"Mémoire Disque": z
|
|
33
|
-
.string()
|
|
34
|
-
.optional()
|
|
35
|
-
.openapi({ description: "Disk storage" }),
|
|
36
|
-
"Adresse IP": z.string().optional().openapi({ description: "IP address" }),
|
|
37
|
-
"N° de Commande": z
|
|
38
|
-
.string()
|
|
39
|
-
.optional()
|
|
40
|
-
.openapi({ description: "Order number" }),
|
|
41
|
-
"Date de la Commande": z
|
|
42
|
-
.string()
|
|
43
|
-
.regex(DATE_REGEX)
|
|
44
|
-
.optional()
|
|
45
|
-
.openapi({ description: "Order date (DD/MM/YYYY)" }),
|
|
46
|
-
"Date de livraison": z
|
|
47
|
-
.string()
|
|
48
|
-
.regex(DATE_REGEX)
|
|
49
|
-
.optional()
|
|
50
|
-
.openapi({ description: "Delivery date (DD/MM/YYYY)" }),
|
|
51
|
-
"Date d'entrée": z
|
|
52
|
-
.string()
|
|
53
|
-
.regex(DATE_REGEX)
|
|
54
|
-
.optional()
|
|
55
|
-
.openapi({ description: "Entry date (DD/MM/YYYY)" }),
|
|
56
|
-
"Date prévi": z
|
|
57
|
-
.string()
|
|
58
|
-
.regex(DATE_REGEX)
|
|
59
|
-
.optional()
|
|
60
|
-
.openapi({ description: "Expected replacement date (DD/MM/YYYY)" }),
|
|
61
|
-
"Date de sortie": z
|
|
8
|
+
ID: z.string().openapi({ description: 'Computer identifier' }),
|
|
9
|
+
'N° de série': z.string().optional().openapi({ description: 'Serial number' }),
|
|
10
|
+
'N° Interne': z.string().optional().openapi({ description: 'Internal number' }),
|
|
11
|
+
Propriétaire: z.string().max(100).optional().openapi({ description: 'Owner company name' }),
|
|
12
|
+
Type: z.string().optional().openapi({ description: 'Asset type' }),
|
|
13
|
+
Constructeur: z.string().optional().openapi({ description: 'Manufacturer' }),
|
|
14
|
+
'Code produit': z.string().optional().openapi({ description: 'Product code' }),
|
|
15
|
+
Label: z.string().openapi({ description: 'Computer label/description' }),
|
|
16
|
+
CPU: z.string().optional().openapi({ description: 'Processor' }),
|
|
17
|
+
OS: z.string().optional().openapi({ description: 'Operating system' }),
|
|
18
|
+
RAM: z.string().optional().openapi({ description: 'RAM' }),
|
|
19
|
+
'Mémoire Disque': z.string().optional().openapi({ description: 'Disk storage' }),
|
|
20
|
+
'Adresse IP': z.string().optional().openapi({ description: 'IP address' }),
|
|
21
|
+
'N° de Commande': z.string().optional().openapi({ description: 'Order number' }),
|
|
22
|
+
'Date de la Commande': z.string().regex(DATE_REGEX).optional().openapi({ description: 'Order date (DD/MM/YYYY)' }),
|
|
23
|
+
'Date de livraison': z.string().regex(DATE_REGEX).optional().openapi({ description: 'Delivery date (DD/MM/YYYY)' }),
|
|
24
|
+
"Date d'entrée": z.string().regex(DATE_REGEX).optional().openapi({ description: 'Entry date (DD/MM/YYYY)' }),
|
|
25
|
+
'Date prévi': z
|
|
62
26
|
.string()
|
|
63
27
|
.regex(DATE_REGEX)
|
|
64
28
|
.optional()
|
|
65
|
-
.openapi({ description:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
.openapi({ description: "Exit reason" }),
|
|
70
|
-
"Montant de la valorisation": z
|
|
29
|
+
.openapi({ description: 'Expected replacement date (DD/MM/YYYY)' }),
|
|
30
|
+
'Date de sortie': z.string().regex(DATE_REGEX).optional().openapi({ description: 'Exit date (DD/MM/YYYY)' }),
|
|
31
|
+
'Motif de sortie': z.string().optional().openapi({ description: 'Exit reason' }),
|
|
32
|
+
'Montant de la valorisation': z
|
|
71
33
|
.string()
|
|
72
34
|
.transform(parseDecimal)
|
|
73
35
|
.pipe(z.number())
|
|
74
36
|
.optional()
|
|
75
|
-
.openapi({ description:
|
|
76
|
-
|
|
37
|
+
.openapi({ description: 'Valuation amount' }),
|
|
38
|
+
'Coûts de rétrologistique': z
|
|
77
39
|
.string()
|
|
78
40
|
.transform(parseDecimal)
|
|
79
41
|
.pipe(z.number())
|
|
80
42
|
.optional()
|
|
81
|
-
.openapi({ description:
|
|
82
|
-
Grade: z.string().optional().openapi({ description:
|
|
83
|
-
|
|
43
|
+
.openapi({ description: 'Retro-logistics costs' }),
|
|
44
|
+
Grade: z.string().optional().openapi({ description: 'Condition grade' }),
|
|
45
|
+
'Montant Remboursement Assurance': z
|
|
84
46
|
.string()
|
|
85
47
|
.transform(parseDecimal)
|
|
86
48
|
.pipe(z.number())
|
|
87
49
|
.optional()
|
|
88
|
-
.openapi({ description:
|
|
89
|
-
|
|
50
|
+
.openapi({ description: 'Insurance refund amount' }),
|
|
51
|
+
'Montant de la franchise': z
|
|
90
52
|
.string()
|
|
91
53
|
.transform(parseDecimal)
|
|
92
54
|
.pipe(z.number())
|
|
93
55
|
.optional()
|
|
94
|
-
.openapi({ description:
|
|
95
|
-
|
|
56
|
+
.openapi({ description: 'Franchise amount' }),
|
|
57
|
+
'Date de Remboursement Assurance': z
|
|
96
58
|
.string()
|
|
97
59
|
.regex(DATE_REGEX)
|
|
98
60
|
.optional()
|
|
99
|
-
.openapi({ description:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
.openapi({ description: "Invoice date (DD/MM/YYYY)" }),
|
|
105
|
-
"N° Facture": z
|
|
106
|
-
.string()
|
|
107
|
-
.optional()
|
|
108
|
-
.openapi({ description: "Invoice number" }),
|
|
109
|
-
Avenant: z.string().optional().openapi({ description: "Amendment" }),
|
|
110
|
-
"Prix unitaire": z
|
|
111
|
-
.string()
|
|
112
|
-
.transform(parseDecimal)
|
|
113
|
-
.pipe(z.number())
|
|
114
|
-
.optional()
|
|
115
|
-
.openapi({ description: "Unit price" }),
|
|
116
|
-
"Valeur Nette Résiduelle Comptable": z
|
|
61
|
+
.openapi({ description: 'Insurance refund date (DD/MM/YYYY)' }),
|
|
62
|
+
'Date de facture': z.string().regex(DATE_REGEX).optional().openapi({ description: 'Invoice date (DD/MM/YYYY)' }),
|
|
63
|
+
'N° Facture': z.string().optional().openapi({ description: 'Invoice number' }),
|
|
64
|
+
Avenant: z.string().optional().openapi({ description: 'Amendment' }),
|
|
65
|
+
'Prix unitaire': z
|
|
117
66
|
.string()
|
|
118
67
|
.transform(parseDecimal)
|
|
119
68
|
.pipe(z.number())
|
|
120
69
|
.optional()
|
|
121
|
-
.openapi({ description:
|
|
122
|
-
|
|
123
|
-
.string()
|
|
124
|
-
.optional()
|
|
125
|
-
.openapi({ description: "Assigned employee ID" }),
|
|
126
|
-
Statut: z.string().optional().openapi({ description: "Asset status" }),
|
|
127
|
-
Site: z.string().optional().openapi({ description: "Site name" }),
|
|
128
|
-
Filiale: z.string().optional().openapi({ description: "Subsidiary name" }),
|
|
129
|
-
"Montant Réparation": z
|
|
70
|
+
.openapi({ description: 'Unit price' }),
|
|
71
|
+
'Valeur Nette Résiduelle Comptable': z
|
|
130
72
|
.string()
|
|
131
73
|
.transform(parseDecimal)
|
|
132
74
|
.pipe(z.number())
|
|
133
75
|
.optional()
|
|
134
|
-
.openapi({ description:
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
Loyer: z
|
|
76
|
+
.openapi({ description: 'Net residual book value' }),
|
|
77
|
+
Matricule: z.string().optional().openapi({ description: 'Assigned employee ID' }),
|
|
78
|
+
Statut: z.string().optional().openapi({ description: 'Asset status' }),
|
|
79
|
+
Site: z.string().optional().openapi({ description: 'Site name' }),
|
|
80
|
+
Filiale: z.string().optional().openapi({ description: 'Subsidiary name' }),
|
|
81
|
+
'Montant Réparation': z
|
|
141
82
|
.string()
|
|
142
83
|
.transform(parseDecimal)
|
|
143
84
|
.pipe(z.number())
|
|
144
85
|
.optional()
|
|
145
|
-
.openapi({ description:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
.
|
|
152
|
-
.regex(DATE_REGEX)
|
|
153
|
-
.optional()
|
|
154
|
-
.openapi({ description: "Donation date (DD/MM/YYYY)" }),
|
|
155
|
-
"Etat Acquisition": z
|
|
156
|
-
.enum(["neuf", "reconditionné", "remanufacturé"])
|
|
86
|
+
.openapi({ description: 'Repair amount' }),
|
|
87
|
+
'N° de PV': z.string().max(50).optional().openapi({ description: 'Report number' }),
|
|
88
|
+
Loyer: z.string().transform(parseDecimal).pipe(z.number()).optional().openapi({ description: 'Rent amount' }),
|
|
89
|
+
'Bénéficiaire du Don': z.string().optional().openapi({ description: 'Donation beneficiary' }),
|
|
90
|
+
'Date du Don': z.string().regex(DATE_REGEX).optional().openapi({ description: 'Donation date (DD/MM/YYYY)' }),
|
|
91
|
+
'Etat Acquisition': z
|
|
92
|
+
.enum(['NEUF', 'RECONDITIONNÉ', 'REMANUFACTURÉ'])
|
|
157
93
|
.optional()
|
|
158
|
-
.openapi({ description:
|
|
94
|
+
.openapi({ description: 'Acquisition state' }),
|
|
159
95
|
})
|
|
160
|
-
.openapi(
|
|
161
|
-
export const ComputerUploadSchema = z
|
|
162
|
-
.array(ComputerUploadRowSchema)
|
|
163
|
-
.openapi("ComputerUpload");
|
|
96
|
+
.openapi('ComputerUploadRow');
|
|
97
|
+
export const ComputerUploadSchema = z.array(ComputerUploadRowSchema).openapi('ComputerUpload');
|
|
164
98
|
export const assetDefinitions = {
|
|
165
99
|
computer_upload: ComputerUploadSchema,
|
|
166
100
|
};
|
package/lib/imports/index.d.ts
CHANGED
|
@@ -299,130 +299,130 @@ export declare const schemasDefinitions: {
|
|
|
299
299
|
}>, "many">;
|
|
300
300
|
computer_upload: import("zod").ZodArray<import("zod").ZodObject<{
|
|
301
301
|
ID: import("zod").ZodString;
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
'N\u00B0 de s\u00E9rie': import("zod").ZodOptional<import("zod").ZodString>;
|
|
303
|
+
'N\u00B0 Interne': import("zod").ZodOptional<import("zod").ZodString>;
|
|
304
304
|
Propriétaire: import("zod").ZodOptional<import("zod").ZodString>;
|
|
305
305
|
Type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
306
306
|
Constructeur: import("zod").ZodOptional<import("zod").ZodString>;
|
|
307
|
-
|
|
307
|
+
'Code produit': import("zod").ZodOptional<import("zod").ZodString>;
|
|
308
308
|
Label: import("zod").ZodString;
|
|
309
309
|
CPU: import("zod").ZodOptional<import("zod").ZodString>;
|
|
310
310
|
OS: import("zod").ZodOptional<import("zod").ZodString>;
|
|
311
311
|
RAM: import("zod").ZodOptional<import("zod").ZodString>;
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
312
|
+
'M\u00E9moire Disque': import("zod").ZodOptional<import("zod").ZodString>;
|
|
313
|
+
'Adresse IP': import("zod").ZodOptional<import("zod").ZodString>;
|
|
314
|
+
'N\u00B0 de Commande': import("zod").ZodOptional<import("zod").ZodString>;
|
|
315
|
+
'Date de la Commande': import("zod").ZodOptional<import("zod").ZodString>;
|
|
316
|
+
'Date de livraison': import("zod").ZodOptional<import("zod").ZodString>;
|
|
317
317
|
"Date d'entr\u00E9e": import("zod").ZodOptional<import("zod").ZodString>;
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
318
|
+
'Date pr\u00E9vi': import("zod").ZodOptional<import("zod").ZodString>;
|
|
319
|
+
'Date de sortie': import("zod").ZodOptional<import("zod").ZodString>;
|
|
320
|
+
'Motif de sortie': import("zod").ZodOptional<import("zod").ZodString>;
|
|
321
|
+
'Montant de la valorisation': import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodString, number, string>, import("zod").ZodNumber>>;
|
|
322
|
+
'Co\u00FBts de r\u00E9trologistique': import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodString, number, string>, import("zod").ZodNumber>>;
|
|
323
323
|
Grade: import("zod").ZodOptional<import("zod").ZodString>;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
324
|
+
'Montant Remboursement Assurance': import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodString, number, string>, import("zod").ZodNumber>>;
|
|
325
|
+
'Montant de la franchise': import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodString, number, string>, import("zod").ZodNumber>>;
|
|
326
|
+
'Date de Remboursement Assurance': import("zod").ZodOptional<import("zod").ZodString>;
|
|
327
|
+
'Date de facture': import("zod").ZodOptional<import("zod").ZodString>;
|
|
328
|
+
'N\u00B0 Facture': import("zod").ZodOptional<import("zod").ZodString>;
|
|
329
329
|
Avenant: import("zod").ZodOptional<import("zod").ZodString>;
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
'Prix unitaire': import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodString, number, string>, import("zod").ZodNumber>>;
|
|
331
|
+
'Valeur Nette R\u00E9siduelle Comptable': import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodString, number, string>, import("zod").ZodNumber>>;
|
|
332
332
|
Matricule: import("zod").ZodOptional<import("zod").ZodString>;
|
|
333
333
|
Statut: import("zod").ZodOptional<import("zod").ZodString>;
|
|
334
334
|
Site: import("zod").ZodOptional<import("zod").ZodString>;
|
|
335
335
|
Filiale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
336
|
-
|
|
337
|
-
|
|
336
|
+
'Montant R\u00E9paration': import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodString, number, string>, import("zod").ZodNumber>>;
|
|
337
|
+
'N\u00B0 de PV': import("zod").ZodOptional<import("zod").ZodString>;
|
|
338
338
|
Loyer: import("zod").ZodOptional<import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodString, number, string>, import("zod").ZodNumber>>;
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
339
|
+
'B\u00E9n\u00E9ficiaire du Don': import("zod").ZodOptional<import("zod").ZodString>;
|
|
340
|
+
'Date du Don': import("zod").ZodOptional<import("zod").ZodString>;
|
|
341
|
+
'Etat Acquisition': import("zod").ZodOptional<import("zod").ZodEnum<["NEUF", "RECONDITIONNÉ", "REMANUFACTURÉ"]>>;
|
|
342
342
|
}, "strip", import("zod").ZodTypeAny, {
|
|
343
343
|
ID: string;
|
|
344
344
|
Label: string;
|
|
345
345
|
Matricule?: string | undefined;
|
|
346
346
|
Filiale?: string | undefined;
|
|
347
|
-
|
|
348
|
-
|
|
347
|
+
'N\u00B0 de s\u00E9rie'?: string | undefined;
|
|
348
|
+
'N\u00B0 Interne'?: string | undefined;
|
|
349
349
|
Propriétaire?: string | undefined;
|
|
350
350
|
Type?: string | undefined;
|
|
351
351
|
Constructeur?: string | undefined;
|
|
352
|
-
|
|
352
|
+
'Code produit'?: string | undefined;
|
|
353
353
|
CPU?: string | undefined;
|
|
354
354
|
OS?: string | undefined;
|
|
355
355
|
RAM?: string | undefined;
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
356
|
+
'M\u00E9moire Disque'?: string | undefined;
|
|
357
|
+
'Adresse IP'?: string | undefined;
|
|
358
|
+
'N\u00B0 de Commande'?: string | undefined;
|
|
359
|
+
'Date de la Commande'?: string | undefined;
|
|
360
|
+
'Date de livraison'?: string | undefined;
|
|
361
361
|
"Date d'entr\u00E9e"?: string | undefined;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
362
|
+
'Date pr\u00E9vi'?: string | undefined;
|
|
363
|
+
'Date de sortie'?: string | undefined;
|
|
364
|
+
'Motif de sortie'?: string | undefined;
|
|
365
|
+
'Montant de la valorisation'?: number | undefined;
|
|
366
|
+
'Co\u00FBts de r\u00E9trologistique'?: number | undefined;
|
|
367
367
|
Grade?: string | undefined;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
368
|
+
'Montant Remboursement Assurance'?: number | undefined;
|
|
369
|
+
'Montant de la franchise'?: number | undefined;
|
|
370
|
+
'Date de Remboursement Assurance'?: string | undefined;
|
|
371
|
+
'Date de facture'?: string | undefined;
|
|
372
|
+
'N\u00B0 Facture'?: string | undefined;
|
|
373
373
|
Avenant?: string | undefined;
|
|
374
|
-
|
|
375
|
-
|
|
374
|
+
'Prix unitaire'?: number | undefined;
|
|
375
|
+
'Valeur Nette R\u00E9siduelle Comptable'?: number | undefined;
|
|
376
376
|
Statut?: string | undefined;
|
|
377
377
|
Site?: string | undefined;
|
|
378
|
-
|
|
379
|
-
|
|
378
|
+
'Montant R\u00E9paration'?: number | undefined;
|
|
379
|
+
'N\u00B0 de PV'?: string | undefined;
|
|
380
380
|
Loyer?: number | undefined;
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
381
|
+
'B\u00E9n\u00E9ficiaire du Don'?: string | undefined;
|
|
382
|
+
'Date du Don'?: string | undefined;
|
|
383
|
+
'Etat Acquisition'?: "NEUF" | "RECONDITIONNÉ" | "REMANUFACTURÉ" | undefined;
|
|
384
384
|
}, {
|
|
385
385
|
ID: string;
|
|
386
386
|
Label: string;
|
|
387
387
|
Matricule?: string | undefined;
|
|
388
388
|
Filiale?: string | undefined;
|
|
389
|
-
|
|
390
|
-
|
|
389
|
+
'N\u00B0 de s\u00E9rie'?: string | undefined;
|
|
390
|
+
'N\u00B0 Interne'?: string | undefined;
|
|
391
391
|
Propriétaire?: string | undefined;
|
|
392
392
|
Type?: string | undefined;
|
|
393
393
|
Constructeur?: string | undefined;
|
|
394
|
-
|
|
394
|
+
'Code produit'?: string | undefined;
|
|
395
395
|
CPU?: string | undefined;
|
|
396
396
|
OS?: string | undefined;
|
|
397
397
|
RAM?: string | undefined;
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
398
|
+
'M\u00E9moire Disque'?: string | undefined;
|
|
399
|
+
'Adresse IP'?: string | undefined;
|
|
400
|
+
'N\u00B0 de Commande'?: string | undefined;
|
|
401
|
+
'Date de la Commande'?: string | undefined;
|
|
402
|
+
'Date de livraison'?: string | undefined;
|
|
403
403
|
"Date d'entr\u00E9e"?: string | undefined;
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
404
|
+
'Date pr\u00E9vi'?: string | undefined;
|
|
405
|
+
'Date de sortie'?: string | undefined;
|
|
406
|
+
'Motif de sortie'?: string | undefined;
|
|
407
|
+
'Montant de la valorisation'?: string | undefined;
|
|
408
|
+
'Co\u00FBts de r\u00E9trologistique'?: string | undefined;
|
|
409
409
|
Grade?: string | undefined;
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
410
|
+
'Montant Remboursement Assurance'?: string | undefined;
|
|
411
|
+
'Montant de la franchise'?: string | undefined;
|
|
412
|
+
'Date de Remboursement Assurance'?: string | undefined;
|
|
413
|
+
'Date de facture'?: string | undefined;
|
|
414
|
+
'N\u00B0 Facture'?: string | undefined;
|
|
415
415
|
Avenant?: string | undefined;
|
|
416
|
-
|
|
417
|
-
|
|
416
|
+
'Prix unitaire'?: string | undefined;
|
|
417
|
+
'Valeur Nette R\u00E9siduelle Comptable'?: string | undefined;
|
|
418
418
|
Statut?: string | undefined;
|
|
419
419
|
Site?: string | undefined;
|
|
420
|
-
|
|
421
|
-
|
|
420
|
+
'Montant R\u00E9paration'?: string | undefined;
|
|
421
|
+
'N\u00B0 de PV'?: string | undefined;
|
|
422
422
|
Loyer?: string | undefined;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
423
|
+
'B\u00E9n\u00E9ficiaire du Don'?: string | undefined;
|
|
424
|
+
'Date du Don'?: string | undefined;
|
|
425
|
+
'Etat Acquisition'?: "NEUF" | "RECONDITIONNÉ" | "REMANUFACTURÉ" | undefined;
|
|
426
426
|
}>, "many">;
|
|
427
427
|
people_upload: import("zod").ZodArray<import("zod").ZodObject<{
|
|
428
428
|
Matricule: import("zod").ZodString;
|