colibris-types 1.0.24 → 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/index.d.ts +36 -36
- package/lib/org.d.ts +70 -70
- package/lib/org.js +14 -13
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1168,43 +1168,43 @@ export declare const schemasDefinitions: {
|
|
|
1168
1168
|
id_job_types?: number | undefined;
|
|
1169
1169
|
exit_date?: Date | undefined;
|
|
1170
1170
|
}>;
|
|
1171
|
-
people_upload: z.ZodObject<{
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
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>;
|
|
1183
1183
|
}, "strip", z.ZodTypeAny, {
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
}, {
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
}>;
|
|
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">;
|
|
1208
1208
|
site: z.ZodObject<z.objectUtil.extendShape<{
|
|
1209
1209
|
id_company: z.ZodNumber;
|
|
1210
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,
|