exnet-routing 1.2.10 → 1.2.12
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/dist/@test/routes/admin.test.js +8 -8
- package/dist/models/_billing_center.d.ts +109 -17
- package/dist/models/_billing_center.js +6 -4
- package/dist/models/_calcul_range_price.d.ts +4 -4
- package/dist/models/_chat.d.ts +5 -5
- package/dist/models/_chat_message.d.ts +220 -26
- package/dist/models/_contact.d.ts +229 -35
- package/dist/models/_contact_visible.d.ts +426 -38
- package/dist/models/_customer.d.ts +47 -9
- package/dist/models/_customer.js +5 -3
- package/dist/models/_facture.d.ts +136 -12
- package/dist/models/_facture_line.d.ts +172 -16
- package/dist/models/_historique_action.d.ts +213 -19
- package/dist/models/_information_chauffeur.d.ts +213 -19
- package/dist/models/_information_importante.d.ts +213 -19
- package/dist/models/_livraison_chauffeur.d.ts +213 -19
- package/dist/models/_prise_de_poste.d.ts +213 -19
- package/dist/models/_ramassage_chauffeur.d.ts +213 -19
- package/dist/models/_salarie.d.ts +47 -9
- package/dist/models/_salarie.js +5 -3
- package/dist/models/_shipping.d.ts +102 -64
- package/dist/models/_shipping.js +3 -1
- package/dist/models/_shipping_affected.d.ts +213 -19
- package/dist/models/_shipping_comment.d.ts +213 -19
- package/dist/models/_shipping_course.d.ts +213 -19
- package/dist/models/_shipping_detail.d.ts +48 -10
- package/dist/models/_shipping_detail.js +4 -2
- package/dist/models/_shipping_document.d.ts +213 -19
- package/dist/models/_shipping_tracking.d.ts +213 -19
- package/dist/models/_tracking_visible.d.ts +426 -38
- package/dist/models/_user.d.ts +189 -43
- package/dist/models/_user.js +13 -11
- package/dist/models/_user_billing_center.d.ts +349 -31
- package/dist/models/_user_login_historie.d.ts +213 -19
- package/dist/models/_vehicule_affected.d.ts +213 -19
- package/dist/routes/admin.d.ts +11911 -1641
- package/dist/routes/ops.d.ts +5951 -1409
- package/dist/routes/public.d.ts +534 -50
- package/dist/routes/user.d.ts +3372 -638
- package/package.json +2 -1
|
@@ -203,7 +203,7 @@ describe("Admin Routes", () => {
|
|
|
203
203
|
let billingCenterId;
|
|
204
204
|
it("should create new billing center", async () => {
|
|
205
205
|
const billingCenterData = {
|
|
206
|
-
|
|
206
|
+
countryId: 1,
|
|
207
207
|
postalCode: "75000",
|
|
208
208
|
city: "Paris",
|
|
209
209
|
telephoneOne: "+33123456789",
|
|
@@ -238,7 +238,7 @@ describe("Admin Routes", () => {
|
|
|
238
238
|
success: true,
|
|
239
239
|
data: {
|
|
240
240
|
id: billingCenterId,
|
|
241
|
-
|
|
241
|
+
countryId: 1,
|
|
242
242
|
postalCode: "75000",
|
|
243
243
|
city: "Paris",
|
|
244
244
|
telephoneOne: "+33123456789",
|
|
@@ -263,7 +263,7 @@ describe("Admin Routes", () => {
|
|
|
263
263
|
});
|
|
264
264
|
it("should update billing center", async () => {
|
|
265
265
|
const updateData = {
|
|
266
|
-
|
|
266
|
+
countryId: 1,
|
|
267
267
|
postalCode: "69000",
|
|
268
268
|
city: "Lyon",
|
|
269
269
|
telephoneOne: "+33987654321",
|
|
@@ -326,7 +326,7 @@ describe("Admin Routes", () => {
|
|
|
326
326
|
address: "2 rue de Test",
|
|
327
327
|
city: "Lyon",
|
|
328
328
|
postalCode: "69000",
|
|
329
|
-
|
|
329
|
+
countryId: 1,
|
|
330
330
|
email: "billing.updated@test.com",
|
|
331
331
|
phone: "+33987654321",
|
|
332
332
|
isParis: false,
|
|
@@ -500,7 +500,7 @@ describe("Admin Routes", () => {
|
|
|
500
500
|
const customerData = {
|
|
501
501
|
email: "contact@customer.test",
|
|
502
502
|
isActif: true,
|
|
503
|
-
|
|
503
|
+
countryId: 1,
|
|
504
504
|
postalCode: "75000",
|
|
505
505
|
city: "Paris",
|
|
506
506
|
telephoneOne: "+33123456789",
|
|
@@ -535,7 +535,7 @@ describe("Admin Routes", () => {
|
|
|
535
535
|
id: customerId,
|
|
536
536
|
email: "contact@customer.test",
|
|
537
537
|
isActif: true,
|
|
538
|
-
|
|
538
|
+
countryId: 1,
|
|
539
539
|
postalCode: "75000",
|
|
540
540
|
city: "Paris",
|
|
541
541
|
telephoneOne: "+33123456789",
|
|
@@ -560,7 +560,7 @@ describe("Admin Routes", () => {
|
|
|
560
560
|
const updateData = {
|
|
561
561
|
email: "updated@customer.test",
|
|
562
562
|
isActif: true,
|
|
563
|
-
|
|
563
|
+
countryId: 1,
|
|
564
564
|
postalCode: "69000",
|
|
565
565
|
city: "Lyon",
|
|
566
566
|
telephoneOne: "+33987654321",
|
|
@@ -602,7 +602,7 @@ describe("Admin Routes", () => {
|
|
|
602
602
|
id: customerId,
|
|
603
603
|
email: "updated@customer.test",
|
|
604
604
|
isActif: true,
|
|
605
|
-
|
|
605
|
+
countryId: 1,
|
|
606
606
|
postalCode: "69000",
|
|
607
607
|
city: "Lyon",
|
|
608
608
|
telephoneOne: "+33987654321",
|
|
@@ -7,7 +7,7 @@ export declare const BillingCenterSchema: z.ZodObject<{
|
|
|
7
7
|
billingCenterName: z.ZodString;
|
|
8
8
|
numeroEori: z.ZodNullable<z.ZodString>;
|
|
9
9
|
numeroSiren: z.ZodNullable<z.ZodString>;
|
|
10
|
-
|
|
10
|
+
countryId: z.ZodNumber;
|
|
11
11
|
address: z.ZodString;
|
|
12
12
|
addressTwo: z.ZodNullable<z.ZodString>;
|
|
13
13
|
postalCode: z.ZodString;
|
|
@@ -56,7 +56,7 @@ export declare const BillingCenterSchema: z.ZodObject<{
|
|
|
56
56
|
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
57
57
|
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
58
58
|
fullName: z.ZodString;
|
|
59
|
-
|
|
59
|
+
countryId: z.ZodNumber;
|
|
60
60
|
address: z.ZodString;
|
|
61
61
|
addressTwo: z.ZodNullable<z.ZodString>;
|
|
62
62
|
postalCode: z.ZodString;
|
|
@@ -101,12 +101,34 @@ export declare const BillingCenterSchema: z.ZodObject<{
|
|
|
101
101
|
tva: z.ZodNullable<z.ZodString>;
|
|
102
102
|
trackingMail: z.ZodNullable<z.ZodBoolean>;
|
|
103
103
|
numeroSiret: z.ZodNullable<z.ZodString>;
|
|
104
|
+
country: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
105
|
+
id: z.ZodNumber;
|
|
106
|
+
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
107
|
+
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
code: z.ZodString;
|
|
110
|
+
phoneCode: z.ZodString;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
id: number;
|
|
113
|
+
createdAt: DateTime<true> | DateTime<false>;
|
|
114
|
+
code: string;
|
|
115
|
+
updatedAt: DateTime<true> | DateTime<false>;
|
|
116
|
+
name: string;
|
|
117
|
+
phoneCode: string;
|
|
118
|
+
}, {
|
|
119
|
+
id: number;
|
|
120
|
+
createdAt: Date;
|
|
121
|
+
code: string;
|
|
122
|
+
updatedAt: Date;
|
|
123
|
+
name: string;
|
|
124
|
+
phoneCode: string;
|
|
125
|
+
}>>>;
|
|
104
126
|
}, "strip", z.ZodTypeAny, {
|
|
105
127
|
id: number;
|
|
106
128
|
createdAt: DateTime<true> | DateTime<false>;
|
|
107
129
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
108
130
|
fullName: string;
|
|
109
|
-
|
|
131
|
+
countryId: number;
|
|
110
132
|
address: string;
|
|
111
133
|
addressTwo: string | null;
|
|
112
134
|
postalCode: string;
|
|
@@ -151,12 +173,20 @@ export declare const BillingCenterSchema: z.ZodObject<{
|
|
|
151
173
|
tva: string | null;
|
|
152
174
|
trackingMail: boolean | null;
|
|
153
175
|
numeroSiret: string | null;
|
|
176
|
+
country?: {
|
|
177
|
+
id: number;
|
|
178
|
+
createdAt: DateTime<true> | DateTime<false>;
|
|
179
|
+
code: string;
|
|
180
|
+
updatedAt: DateTime<true> | DateTime<false>;
|
|
181
|
+
name: string;
|
|
182
|
+
phoneCode: string;
|
|
183
|
+
} | undefined;
|
|
154
184
|
}, {
|
|
155
185
|
id: number;
|
|
156
186
|
createdAt: Date;
|
|
157
187
|
updatedAt: Date;
|
|
158
188
|
fullName: string;
|
|
159
|
-
|
|
189
|
+
countryId: number;
|
|
160
190
|
address: string;
|
|
161
191
|
addressTwo: string | null;
|
|
162
192
|
postalCode: string;
|
|
@@ -201,12 +231,42 @@ export declare const BillingCenterSchema: z.ZodObject<{
|
|
|
201
231
|
tva: string | null;
|
|
202
232
|
trackingMail: boolean | null;
|
|
203
233
|
numeroSiret: string | null;
|
|
234
|
+
country?: {
|
|
235
|
+
id: number;
|
|
236
|
+
createdAt: Date;
|
|
237
|
+
code: string;
|
|
238
|
+
updatedAt: Date;
|
|
239
|
+
name: string;
|
|
240
|
+
phoneCode: string;
|
|
241
|
+
} | undefined;
|
|
242
|
+
}>>>;
|
|
243
|
+
country: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
244
|
+
id: z.ZodNumber;
|
|
245
|
+
createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
246
|
+
updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
247
|
+
name: z.ZodString;
|
|
248
|
+
code: z.ZodString;
|
|
249
|
+
phoneCode: z.ZodString;
|
|
250
|
+
}, "strip", z.ZodTypeAny, {
|
|
251
|
+
id: number;
|
|
252
|
+
createdAt: DateTime<true> | DateTime<false>;
|
|
253
|
+
code: string;
|
|
254
|
+
updatedAt: DateTime<true> | DateTime<false>;
|
|
255
|
+
name: string;
|
|
256
|
+
phoneCode: string;
|
|
257
|
+
}, {
|
|
258
|
+
id: number;
|
|
259
|
+
createdAt: Date;
|
|
260
|
+
code: string;
|
|
261
|
+
updatedAt: Date;
|
|
262
|
+
name: string;
|
|
263
|
+
phoneCode: string;
|
|
204
264
|
}>>>;
|
|
205
265
|
}, "strip", z.ZodTypeAny, {
|
|
206
266
|
id: number;
|
|
207
267
|
createdAt: DateTime<true> | DateTime<false>;
|
|
208
268
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
209
|
-
|
|
269
|
+
countryId: number;
|
|
210
270
|
address: string;
|
|
211
271
|
addressTwo: string | null;
|
|
212
272
|
postalCode: string;
|
|
@@ -253,12 +313,20 @@ export declare const BillingCenterSchema: z.ZodObject<{
|
|
|
253
313
|
isMailing: boolean;
|
|
254
314
|
deuxBordereaux: string | null;
|
|
255
315
|
customerId: number | null;
|
|
316
|
+
country?: {
|
|
317
|
+
id: number;
|
|
318
|
+
createdAt: DateTime<true> | DateTime<false>;
|
|
319
|
+
code: string;
|
|
320
|
+
updatedAt: DateTime<true> | DateTime<false>;
|
|
321
|
+
name: string;
|
|
322
|
+
phoneCode: string;
|
|
323
|
+
} | undefined;
|
|
256
324
|
customer?: {
|
|
257
325
|
id: number;
|
|
258
326
|
createdAt: DateTime<true> | DateTime<false>;
|
|
259
327
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
260
328
|
fullName: string;
|
|
261
|
-
|
|
329
|
+
countryId: number;
|
|
262
330
|
address: string;
|
|
263
331
|
addressTwo: string | null;
|
|
264
332
|
postalCode: string;
|
|
@@ -303,12 +371,20 @@ export declare const BillingCenterSchema: z.ZodObject<{
|
|
|
303
371
|
tva: string | null;
|
|
304
372
|
trackingMail: boolean | null;
|
|
305
373
|
numeroSiret: string | null;
|
|
374
|
+
country?: {
|
|
375
|
+
id: number;
|
|
376
|
+
createdAt: DateTime<true> | DateTime<false>;
|
|
377
|
+
code: string;
|
|
378
|
+
updatedAt: DateTime<true> | DateTime<false>;
|
|
379
|
+
name: string;
|
|
380
|
+
phoneCode: string;
|
|
381
|
+
} | undefined;
|
|
306
382
|
} | undefined;
|
|
307
383
|
}, {
|
|
308
384
|
id: number;
|
|
309
385
|
createdAt: Date;
|
|
310
386
|
updatedAt: Date;
|
|
311
|
-
|
|
387
|
+
countryId: number;
|
|
312
388
|
address: string;
|
|
313
389
|
addressTwo: string | null;
|
|
314
390
|
postalCode: string;
|
|
@@ -355,12 +431,20 @@ export declare const BillingCenterSchema: z.ZodObject<{
|
|
|
355
431
|
isMailing: boolean;
|
|
356
432
|
deuxBordereaux: string | null;
|
|
357
433
|
customerId: number | null;
|
|
434
|
+
country?: {
|
|
435
|
+
id: number;
|
|
436
|
+
createdAt: Date;
|
|
437
|
+
code: string;
|
|
438
|
+
updatedAt: Date;
|
|
439
|
+
name: string;
|
|
440
|
+
phoneCode: string;
|
|
441
|
+
} | undefined;
|
|
358
442
|
customer?: {
|
|
359
443
|
id: number;
|
|
360
444
|
createdAt: Date;
|
|
361
445
|
updatedAt: Date;
|
|
362
446
|
fullName: string;
|
|
363
|
-
|
|
447
|
+
countryId: number;
|
|
364
448
|
address: string;
|
|
365
449
|
addressTwo: string | null;
|
|
366
450
|
postalCode: string;
|
|
@@ -405,6 +489,14 @@ export declare const BillingCenterSchema: z.ZodObject<{
|
|
|
405
489
|
tva: string | null;
|
|
406
490
|
trackingMail: boolean | null;
|
|
407
491
|
numeroSiret: string | null;
|
|
492
|
+
country?: {
|
|
493
|
+
id: number;
|
|
494
|
+
createdAt: Date;
|
|
495
|
+
code: string;
|
|
496
|
+
updatedAt: Date;
|
|
497
|
+
name: string;
|
|
498
|
+
phoneCode: string;
|
|
499
|
+
} | undefined;
|
|
408
500
|
} | undefined;
|
|
409
501
|
}>;
|
|
410
502
|
export declare const BillingCenterSchemaSimple: z.ZodObject<{
|
|
@@ -414,7 +506,7 @@ export declare const BillingCenterSchemaSimple: z.ZodObject<{
|
|
|
414
506
|
billingCenterName: z.ZodString;
|
|
415
507
|
numeroEori: z.ZodNullable<z.ZodString>;
|
|
416
508
|
numeroSiren: z.ZodNullable<z.ZodString>;
|
|
417
|
-
|
|
509
|
+
countryId: z.ZodNumber;
|
|
418
510
|
address: z.ZodString;
|
|
419
511
|
addressTwo: z.ZodNullable<z.ZodString>;
|
|
420
512
|
postalCode: z.ZodString;
|
|
@@ -462,7 +554,7 @@ export declare const BillingCenterSchemaSimple: z.ZodObject<{
|
|
|
462
554
|
id: number;
|
|
463
555
|
createdAt: DateTime<true> | DateTime<false>;
|
|
464
556
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
465
|
-
|
|
557
|
+
countryId: number;
|
|
466
558
|
address: string;
|
|
467
559
|
addressTwo: string | null;
|
|
468
560
|
postalCode: string;
|
|
@@ -513,7 +605,7 @@ export declare const BillingCenterSchemaSimple: z.ZodObject<{
|
|
|
513
605
|
id: number;
|
|
514
606
|
createdAt: Date;
|
|
515
607
|
updatedAt: Date;
|
|
516
|
-
|
|
608
|
+
countryId: number;
|
|
517
609
|
address: string;
|
|
518
610
|
addressTwo: string | null;
|
|
519
611
|
postalCode: string;
|
|
@@ -565,7 +657,7 @@ export declare const BillingCenterCreateSchema: z.ZodObject<{
|
|
|
565
657
|
billingCenterName: z.ZodString;
|
|
566
658
|
numeroEori: z.ZodOptional<z.ZodString>;
|
|
567
659
|
numeroSiren: z.ZodOptional<z.ZodString>;
|
|
568
|
-
|
|
660
|
+
countryId: z.ZodNumber;
|
|
569
661
|
address: z.ZodString;
|
|
570
662
|
addressTwo: z.ZodOptional<z.ZodString>;
|
|
571
663
|
postalCode: z.ZodString;
|
|
@@ -611,7 +703,7 @@ export declare const BillingCenterCreateSchema: z.ZodObject<{
|
|
|
611
703
|
tva: z.ZodOptional<z.ZodString>;
|
|
612
704
|
customerId: z.ZodNumber;
|
|
613
705
|
}, "strip", z.ZodTypeAny, {
|
|
614
|
-
|
|
706
|
+
countryId: number;
|
|
615
707
|
address: string;
|
|
616
708
|
postalCode: string;
|
|
617
709
|
city: string;
|
|
@@ -660,7 +752,7 @@ export declare const BillingCenterCreateSchema: z.ZodObject<{
|
|
|
660
752
|
invoiceMailTwo?: string | undefined;
|
|
661
753
|
deuxBordereaux?: string | undefined;
|
|
662
754
|
}, {
|
|
663
|
-
|
|
755
|
+
countryId: number;
|
|
664
756
|
address: string;
|
|
665
757
|
postalCode: string;
|
|
666
758
|
city: string;
|
|
@@ -713,7 +805,7 @@ export declare const BillingCenterUpdateSchema: z.ZodObject<{
|
|
|
713
805
|
billingCenterName: z.ZodOptional<z.ZodString>;
|
|
714
806
|
numeroEori: z.ZodOptional<z.ZodString>;
|
|
715
807
|
numeroSiren: z.ZodOptional<z.ZodString>;
|
|
716
|
-
|
|
808
|
+
countryId: z.ZodOptional<z.ZodNumber>;
|
|
717
809
|
address: z.ZodOptional<z.ZodString>;
|
|
718
810
|
addressTwo: z.ZodOptional<z.ZodString>;
|
|
719
811
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
@@ -759,7 +851,7 @@ export declare const BillingCenterUpdateSchema: z.ZodObject<{
|
|
|
759
851
|
tva: z.ZodOptional<z.ZodString>;
|
|
760
852
|
customerId: z.ZodOptional<z.ZodNumber>;
|
|
761
853
|
}, "strip", z.ZodTypeAny, {
|
|
762
|
-
|
|
854
|
+
countryId?: number | undefined;
|
|
763
855
|
address?: string | undefined;
|
|
764
856
|
addressTwo?: string | undefined;
|
|
765
857
|
postalCode?: string | undefined;
|
|
@@ -808,7 +900,7 @@ export declare const BillingCenterUpdateSchema: z.ZodObject<{
|
|
|
808
900
|
customerId?: number | undefined;
|
|
809
901
|
activeVariation?: boolean | undefined;
|
|
810
902
|
}, {
|
|
811
|
-
|
|
903
|
+
countryId?: number | undefined;
|
|
812
904
|
address?: string | undefined;
|
|
813
905
|
addressTwo?: string | undefined;
|
|
814
906
|
postalCode?: string | undefined;
|
|
@@ -4,6 +4,7 @@ exports.BillingCenterUpdateSchema = exports.BillingCenterCreateSchema = exports.
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const luxon_1 = require("luxon");
|
|
6
6
|
const _customer_1 = require("./_customer");
|
|
7
|
+
const _country_1 = require("./_country");
|
|
7
8
|
exports.BillingCenterSchema = zod_1.z.object({
|
|
8
9
|
id: zod_1.z.number(),
|
|
9
10
|
createdAt: zod_1.z.date().transform((date) => luxon_1.DateTime.fromJSDate(date)),
|
|
@@ -11,7 +12,7 @@ exports.BillingCenterSchema = zod_1.z.object({
|
|
|
11
12
|
billingCenterName: zod_1.z.string(),
|
|
12
13
|
numeroEori: zod_1.z.string().nullable(),
|
|
13
14
|
numeroSiren: zod_1.z.string().nullable(),
|
|
14
|
-
|
|
15
|
+
countryId: zod_1.z.number(),
|
|
15
16
|
address: zod_1.z.string(),
|
|
16
17
|
addressTwo: zod_1.z.string().nullable(),
|
|
17
18
|
postalCode: zod_1.z.string(),
|
|
@@ -56,6 +57,7 @@ exports.BillingCenterSchema = zod_1.z.object({
|
|
|
56
57
|
tva: zod_1.z.string().nullable(),
|
|
57
58
|
customerId: zod_1.z.number().nullable(),
|
|
58
59
|
customer: zod_1.z.lazy(() => _customer_1.CustomerSchema).optional(),
|
|
60
|
+
country: zod_1.z.lazy(() => _country_1.CountrySchema).optional(),
|
|
59
61
|
});
|
|
60
62
|
exports.BillingCenterSchemaSimple = zod_1.z.object({
|
|
61
63
|
id: zod_1.z.number(),
|
|
@@ -64,7 +66,7 @@ exports.BillingCenterSchemaSimple = zod_1.z.object({
|
|
|
64
66
|
billingCenterName: zod_1.z.string(),
|
|
65
67
|
numeroEori: zod_1.z.string().nullable(),
|
|
66
68
|
numeroSiren: zod_1.z.string().nullable(),
|
|
67
|
-
|
|
69
|
+
countryId: zod_1.z.number(),
|
|
68
70
|
address: zod_1.z.string(),
|
|
69
71
|
addressTwo: zod_1.z.string().nullable(),
|
|
70
72
|
postalCode: zod_1.z.string(),
|
|
@@ -113,7 +115,7 @@ exports.BillingCenterCreateSchema = zod_1.z.object({
|
|
|
113
115
|
billingCenterName: zod_1.z.string(),
|
|
114
116
|
numeroEori: zod_1.z.string().optional(),
|
|
115
117
|
numeroSiren: zod_1.z.string().optional(),
|
|
116
|
-
|
|
118
|
+
countryId: zod_1.z.number(),
|
|
117
119
|
address: zod_1.z.string(),
|
|
118
120
|
addressTwo: zod_1.z.string().optional(),
|
|
119
121
|
postalCode: zod_1.z.string(),
|
|
@@ -163,7 +165,7 @@ exports.BillingCenterUpdateSchema = zod_1.z.object({
|
|
|
163
165
|
billingCenterName: zod_1.z.string().optional(),
|
|
164
166
|
numeroEori: zod_1.z.string().optional(),
|
|
165
167
|
numeroSiren: zod_1.z.string().optional(),
|
|
166
|
-
|
|
168
|
+
countryId: zod_1.z.number().optional(),
|
|
167
169
|
address: zod_1.z.string().optional(),
|
|
168
170
|
addressTwo: zod_1.z.string().optional(),
|
|
169
171
|
postalCode: zod_1.z.string().optional(),
|
|
@@ -52,8 +52,8 @@ export declare const CalculRangePriceSchema: z.ZodObject<{
|
|
|
52
52
|
id: number;
|
|
53
53
|
createdAt: DateTime<true> | DateTime<false>;
|
|
54
54
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
55
|
-
valueRangePrice: number;
|
|
56
55
|
countryId: number | null;
|
|
56
|
+
valueRangePrice: number;
|
|
57
57
|
calculRangeId: number | null;
|
|
58
58
|
country?: {
|
|
59
59
|
id: number;
|
|
@@ -74,8 +74,8 @@ export declare const CalculRangePriceSchema: z.ZodObject<{
|
|
|
74
74
|
id: number;
|
|
75
75
|
createdAt: Date;
|
|
76
76
|
updatedAt: Date;
|
|
77
|
-
valueRangePrice: number;
|
|
78
77
|
countryId: number | null;
|
|
78
|
+
valueRangePrice: number;
|
|
79
79
|
calculRangeId: number | null;
|
|
80
80
|
country?: {
|
|
81
81
|
id: number;
|
|
@@ -104,15 +104,15 @@ export declare const CalculRangePriceSchemaSingle: z.ZodObject<{
|
|
|
104
104
|
id: number;
|
|
105
105
|
createdAt: DateTime<true> | DateTime<false>;
|
|
106
106
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
107
|
-
valueRangePrice: number;
|
|
108
107
|
countryId: number | null;
|
|
108
|
+
valueRangePrice: number;
|
|
109
109
|
calculRangeId: number | null;
|
|
110
110
|
}, {
|
|
111
111
|
id: number;
|
|
112
112
|
createdAt: Date;
|
|
113
113
|
updatedAt: Date;
|
|
114
|
-
valueRangePrice: number;
|
|
115
114
|
countryId: number | null;
|
|
115
|
+
valueRangePrice: number;
|
|
116
116
|
calculRangeId: number | null;
|
|
117
117
|
}>;
|
|
118
118
|
export type ICalculRangePrice = z.infer<typeof CalculRangePriceSchema>;
|
package/dist/models/_chat.d.ts
CHANGED
|
@@ -185,7 +185,7 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
185
185
|
emailVerifiedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
|
|
186
186
|
password: z.ZodString;
|
|
187
187
|
isActif: z.ZodBoolean;
|
|
188
|
-
|
|
188
|
+
countryId: z.ZodNullable<z.ZodNumber>;
|
|
189
189
|
postalCode: z.ZodString;
|
|
190
190
|
city: z.ZodString;
|
|
191
191
|
poste: z.ZodString;
|
|
@@ -241,7 +241,7 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
241
241
|
id: number;
|
|
242
242
|
createdAt: DateTime<true> | DateTime<false>;
|
|
243
243
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
244
|
-
|
|
244
|
+
countryId: number | null;
|
|
245
245
|
addressTwo: string;
|
|
246
246
|
postalCode: string;
|
|
247
247
|
city: string;
|
|
@@ -303,7 +303,7 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
303
303
|
id: number;
|
|
304
304
|
createdAt: Date;
|
|
305
305
|
updatedAt: Date;
|
|
306
|
-
|
|
306
|
+
countryId: number | null;
|
|
307
307
|
addressTwo: string;
|
|
308
308
|
postalCode: string;
|
|
309
309
|
city: string;
|
|
@@ -375,7 +375,7 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
375
375
|
id: number;
|
|
376
376
|
createdAt: DateTime<true> | DateTime<false>;
|
|
377
377
|
updatedAt: DateTime<true> | DateTime<false>;
|
|
378
|
-
|
|
378
|
+
countryId: number | null;
|
|
379
379
|
addressTwo: string;
|
|
380
380
|
postalCode: string;
|
|
381
381
|
city: string;
|
|
@@ -497,7 +497,7 @@ export declare const ChatSchema: z.ZodObject<{
|
|
|
497
497
|
id: number;
|
|
498
498
|
createdAt: Date;
|
|
499
499
|
updatedAt: Date;
|
|
500
|
-
|
|
500
|
+
countryId: number | null;
|
|
501
501
|
addressTwo: string;
|
|
502
502
|
postalCode: string;
|
|
503
503
|
city: string;
|