exnet-routing 1.2.11 → 1.2.13

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.
Files changed (40) hide show
  1. package/dist/@test/routes/admin.test.js +8 -8
  2. package/dist/models/_billing_center.d.ts +109 -22
  3. package/dist/models/_billing_center.js +6 -4
  4. package/dist/models/_calcul_range_price.d.ts +4 -4
  5. package/dist/models/_chat.d.ts +5 -5
  6. package/dist/models/_chat_message.d.ts +220 -33
  7. package/dist/models/_contact.d.ts +229 -42
  8. package/dist/models/_contact_visible.d.ts +426 -52
  9. package/dist/models/_customer.d.ts +47 -15
  10. package/dist/models/_customer.js +5 -5
  11. package/dist/models/_facture.d.ts +136 -19
  12. package/dist/models/_facture_line.d.ts +172 -25
  13. package/dist/models/_historique_action.d.ts +213 -26
  14. package/dist/models/_information_chauffeur.d.ts +213 -26
  15. package/dist/models/_information_importante.d.ts +213 -26
  16. package/dist/models/_livraison_chauffeur.d.ts +213 -26
  17. package/dist/models/_prise_de_poste.d.ts +213 -26
  18. package/dist/models/_ramassage_chauffeur.d.ts +213 -26
  19. package/dist/models/_salarie.d.ts +47 -9
  20. package/dist/models/_salarie.js +5 -3
  21. package/dist/models/_shipping.d.ts +102 -64
  22. package/dist/models/_shipping.js +3 -1
  23. package/dist/models/_shipping_affected.d.ts +213 -26
  24. package/dist/models/_shipping_comment.d.ts +213 -26
  25. package/dist/models/_shipping_course.d.ts +213 -26
  26. package/dist/models/_shipping_detail.d.ts +48 -10
  27. package/dist/models/_shipping_detail.js +4 -2
  28. package/dist/models/_shipping_document.d.ts +213 -26
  29. package/dist/models/_shipping_tracking.d.ts +213 -26
  30. package/dist/models/_tracking_visible.d.ts +426 -52
  31. package/dist/models/_user.d.ts +189 -48
  32. package/dist/models/_user.js +13 -11
  33. package/dist/models/_user_billing_center.d.ts +349 -45
  34. package/dist/models/_user_login_historie.d.ts +213 -26
  35. package/dist/models/_vehicule_affected.d.ts +213 -26
  36. package/dist/routes/admin.d.ts +12190 -2328
  37. package/dist/routes/ops.d.ts +5950 -1541
  38. package/dist/routes/public.d.ts +534 -68
  39. package/dist/routes/user.d.ts +3372 -715
  40. package/package.json +1 -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
- country: "France",
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
- country: "France",
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
- country: "France",
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
- country: "France",
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
- country: "France",
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
- country: "France",
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
- country: "France",
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
- country: "France",
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
- country: z.ZodString;
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
- country: z.ZodString;
59
+ countryId: z.ZodNumber;
60
60
  address: z.ZodString;
61
61
  addressTwo: z.ZodNullable<z.ZodString>;
62
62
  postalCode: z.ZodString;
@@ -79,7 +79,6 @@ export declare const BillingCenterSchema: z.ZodObject<{
79
79
  isParis: z.ZodBoolean;
80
80
  isMedical: z.ZodBoolean;
81
81
  isService: z.ZodBoolean;
82
- actif: z.ZodBoolean;
83
82
  valeurCustomer: z.ZodBoolean;
84
83
  dirigeant: z.ZodNullable<z.ZodString>;
85
84
  dirigeantTel: z.ZodNullable<z.ZodString>;
@@ -101,12 +100,34 @@ export declare const BillingCenterSchema: z.ZodObject<{
101
100
  tva: z.ZodNullable<z.ZodString>;
102
101
  trackingMail: z.ZodNullable<z.ZodBoolean>;
103
102
  numeroSiret: z.ZodNullable<z.ZodString>;
103
+ country: z.ZodOptional<z.ZodLazy<z.ZodObject<{
104
+ id: z.ZodNumber;
105
+ createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
106
+ updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
107
+ name: z.ZodString;
108
+ code: z.ZodString;
109
+ phoneCode: z.ZodString;
110
+ }, "strip", z.ZodTypeAny, {
111
+ id: number;
112
+ createdAt: DateTime<true> | DateTime<false>;
113
+ code: string;
114
+ updatedAt: DateTime<true> | DateTime<false>;
115
+ name: string;
116
+ phoneCode: string;
117
+ }, {
118
+ id: number;
119
+ createdAt: Date;
120
+ code: string;
121
+ updatedAt: Date;
122
+ name: string;
123
+ phoneCode: string;
124
+ }>>>;
104
125
  }, "strip", z.ZodTypeAny, {
105
126
  id: number;
106
127
  createdAt: DateTime<true> | DateTime<false>;
107
128
  updatedAt: DateTime<true> | DateTime<false>;
108
129
  fullName: string;
109
- country: string;
130
+ countryId: number;
110
131
  address: string;
111
132
  addressTwo: string | null;
112
133
  postalCode: string;
@@ -129,7 +150,6 @@ export declare const BillingCenterSchema: z.ZodObject<{
129
150
  isParis: boolean;
130
151
  isMedical: boolean;
131
152
  isService: boolean;
132
- actif: boolean;
133
153
  valeurCustomer: boolean;
134
154
  dirigeant: string | null;
135
155
  dirigeantTel: string | null;
@@ -151,12 +171,20 @@ export declare const BillingCenterSchema: z.ZodObject<{
151
171
  tva: string | null;
152
172
  trackingMail: boolean | null;
153
173
  numeroSiret: string | null;
174
+ country?: {
175
+ id: number;
176
+ createdAt: DateTime<true> | DateTime<false>;
177
+ code: string;
178
+ updatedAt: DateTime<true> | DateTime<false>;
179
+ name: string;
180
+ phoneCode: string;
181
+ } | undefined;
154
182
  }, {
155
183
  id: number;
156
184
  createdAt: Date;
157
185
  updatedAt: Date;
158
186
  fullName: string;
159
- country: string;
187
+ countryId: number;
160
188
  address: string;
161
189
  addressTwo: string | null;
162
190
  postalCode: string;
@@ -179,7 +207,6 @@ export declare const BillingCenterSchema: z.ZodObject<{
179
207
  isParis: boolean;
180
208
  isMedical: boolean;
181
209
  isService: boolean;
182
- actif: boolean;
183
210
  valeurCustomer: boolean;
184
211
  dirigeant: string | null;
185
212
  dirigeantTel: string | null;
@@ -201,12 +228,42 @@ export declare const BillingCenterSchema: z.ZodObject<{
201
228
  tva: string | null;
202
229
  trackingMail: boolean | null;
203
230
  numeroSiret: string | null;
231
+ country?: {
232
+ id: number;
233
+ createdAt: Date;
234
+ code: string;
235
+ updatedAt: Date;
236
+ name: string;
237
+ phoneCode: string;
238
+ } | undefined;
239
+ }>>>;
240
+ country: z.ZodOptional<z.ZodLazy<z.ZodObject<{
241
+ id: z.ZodNumber;
242
+ createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
243
+ updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
244
+ name: z.ZodString;
245
+ code: z.ZodString;
246
+ phoneCode: z.ZodString;
247
+ }, "strip", z.ZodTypeAny, {
248
+ id: number;
249
+ createdAt: DateTime<true> | DateTime<false>;
250
+ code: string;
251
+ updatedAt: DateTime<true> | DateTime<false>;
252
+ name: string;
253
+ phoneCode: string;
254
+ }, {
255
+ id: number;
256
+ createdAt: Date;
257
+ code: string;
258
+ updatedAt: Date;
259
+ name: string;
260
+ phoneCode: string;
204
261
  }>>>;
205
262
  }, "strip", z.ZodTypeAny, {
206
263
  id: number;
207
264
  createdAt: DateTime<true> | DateTime<false>;
208
265
  updatedAt: DateTime<true> | DateTime<false>;
209
- country: string;
266
+ countryId: number;
210
267
  address: string;
211
268
  addressTwo: string | null;
212
269
  postalCode: string;
@@ -253,12 +310,20 @@ export declare const BillingCenterSchema: z.ZodObject<{
253
310
  isMailing: boolean;
254
311
  deuxBordereaux: string | null;
255
312
  customerId: number | null;
313
+ country?: {
314
+ id: number;
315
+ createdAt: DateTime<true> | DateTime<false>;
316
+ code: string;
317
+ updatedAt: DateTime<true> | DateTime<false>;
318
+ name: string;
319
+ phoneCode: string;
320
+ } | undefined;
256
321
  customer?: {
257
322
  id: number;
258
323
  createdAt: DateTime<true> | DateTime<false>;
259
324
  updatedAt: DateTime<true> | DateTime<false>;
260
325
  fullName: string;
261
- country: string;
326
+ countryId: number;
262
327
  address: string;
263
328
  addressTwo: string | null;
264
329
  postalCode: string;
@@ -281,7 +346,6 @@ export declare const BillingCenterSchema: z.ZodObject<{
281
346
  isParis: boolean;
282
347
  isMedical: boolean;
283
348
  isService: boolean;
284
- actif: boolean;
285
349
  valeurCustomer: boolean;
286
350
  dirigeant: string | null;
287
351
  dirigeantTel: string | null;
@@ -303,12 +367,20 @@ export declare const BillingCenterSchema: z.ZodObject<{
303
367
  tva: string | null;
304
368
  trackingMail: boolean | null;
305
369
  numeroSiret: string | null;
370
+ country?: {
371
+ id: number;
372
+ createdAt: DateTime<true> | DateTime<false>;
373
+ code: string;
374
+ updatedAt: DateTime<true> | DateTime<false>;
375
+ name: string;
376
+ phoneCode: string;
377
+ } | undefined;
306
378
  } | undefined;
307
379
  }, {
308
380
  id: number;
309
381
  createdAt: Date;
310
382
  updatedAt: Date;
311
- country: string;
383
+ countryId: number;
312
384
  address: string;
313
385
  addressTwo: string | null;
314
386
  postalCode: string;
@@ -355,12 +427,20 @@ export declare const BillingCenterSchema: z.ZodObject<{
355
427
  isMailing: boolean;
356
428
  deuxBordereaux: string | null;
357
429
  customerId: number | null;
430
+ country?: {
431
+ id: number;
432
+ createdAt: Date;
433
+ code: string;
434
+ updatedAt: Date;
435
+ name: string;
436
+ phoneCode: string;
437
+ } | undefined;
358
438
  customer?: {
359
439
  id: number;
360
440
  createdAt: Date;
361
441
  updatedAt: Date;
362
442
  fullName: string;
363
- country: string;
443
+ countryId: number;
364
444
  address: string;
365
445
  addressTwo: string | null;
366
446
  postalCode: string;
@@ -383,7 +463,6 @@ export declare const BillingCenterSchema: z.ZodObject<{
383
463
  isParis: boolean;
384
464
  isMedical: boolean;
385
465
  isService: boolean;
386
- actif: boolean;
387
466
  valeurCustomer: boolean;
388
467
  dirigeant: string | null;
389
468
  dirigeantTel: string | null;
@@ -405,6 +484,14 @@ export declare const BillingCenterSchema: z.ZodObject<{
405
484
  tva: string | null;
406
485
  trackingMail: boolean | null;
407
486
  numeroSiret: string | null;
487
+ country?: {
488
+ id: number;
489
+ createdAt: Date;
490
+ code: string;
491
+ updatedAt: Date;
492
+ name: string;
493
+ phoneCode: string;
494
+ } | undefined;
408
495
  } | undefined;
409
496
  }>;
410
497
  export declare const BillingCenterSchemaSimple: z.ZodObject<{
@@ -414,7 +501,7 @@ export declare const BillingCenterSchemaSimple: z.ZodObject<{
414
501
  billingCenterName: z.ZodString;
415
502
  numeroEori: z.ZodNullable<z.ZodString>;
416
503
  numeroSiren: z.ZodNullable<z.ZodString>;
417
- country: z.ZodString;
504
+ countryId: z.ZodNumber;
418
505
  address: z.ZodString;
419
506
  addressTwo: z.ZodNullable<z.ZodString>;
420
507
  postalCode: z.ZodString;
@@ -462,7 +549,7 @@ export declare const BillingCenterSchemaSimple: z.ZodObject<{
462
549
  id: number;
463
550
  createdAt: DateTime<true> | DateTime<false>;
464
551
  updatedAt: DateTime<true> | DateTime<false>;
465
- country: string;
552
+ countryId: number;
466
553
  address: string;
467
554
  addressTwo: string | null;
468
555
  postalCode: string;
@@ -513,7 +600,7 @@ export declare const BillingCenterSchemaSimple: z.ZodObject<{
513
600
  id: number;
514
601
  createdAt: Date;
515
602
  updatedAt: Date;
516
- country: string;
603
+ countryId: number;
517
604
  address: string;
518
605
  addressTwo: string | null;
519
606
  postalCode: string;
@@ -565,7 +652,7 @@ export declare const BillingCenterCreateSchema: z.ZodObject<{
565
652
  billingCenterName: z.ZodString;
566
653
  numeroEori: z.ZodOptional<z.ZodString>;
567
654
  numeroSiren: z.ZodOptional<z.ZodString>;
568
- country: z.ZodString;
655
+ countryId: z.ZodNumber;
569
656
  address: z.ZodString;
570
657
  addressTwo: z.ZodOptional<z.ZodString>;
571
658
  postalCode: z.ZodString;
@@ -611,7 +698,7 @@ export declare const BillingCenterCreateSchema: z.ZodObject<{
611
698
  tva: z.ZodOptional<z.ZodString>;
612
699
  customerId: z.ZodNumber;
613
700
  }, "strip", z.ZodTypeAny, {
614
- country: string;
701
+ countryId: number;
615
702
  address: string;
616
703
  postalCode: string;
617
704
  city: string;
@@ -660,7 +747,7 @@ export declare const BillingCenterCreateSchema: z.ZodObject<{
660
747
  invoiceMailTwo?: string | undefined;
661
748
  deuxBordereaux?: string | undefined;
662
749
  }, {
663
- country: string;
750
+ countryId: number;
664
751
  address: string;
665
752
  postalCode: string;
666
753
  city: string;
@@ -713,7 +800,7 @@ export declare const BillingCenterUpdateSchema: z.ZodObject<{
713
800
  billingCenterName: z.ZodOptional<z.ZodString>;
714
801
  numeroEori: z.ZodOptional<z.ZodString>;
715
802
  numeroSiren: z.ZodOptional<z.ZodString>;
716
- country: z.ZodOptional<z.ZodString>;
803
+ countryId: z.ZodOptional<z.ZodNumber>;
717
804
  address: z.ZodOptional<z.ZodString>;
718
805
  addressTwo: z.ZodOptional<z.ZodString>;
719
806
  postalCode: z.ZodOptional<z.ZodString>;
@@ -759,7 +846,7 @@ export declare const BillingCenterUpdateSchema: z.ZodObject<{
759
846
  tva: z.ZodOptional<z.ZodString>;
760
847
  customerId: z.ZodOptional<z.ZodNumber>;
761
848
  }, "strip", z.ZodTypeAny, {
762
- country?: string | undefined;
849
+ countryId?: number | undefined;
763
850
  address?: string | undefined;
764
851
  addressTwo?: string | undefined;
765
852
  postalCode?: string | undefined;
@@ -808,7 +895,7 @@ export declare const BillingCenterUpdateSchema: z.ZodObject<{
808
895
  customerId?: number | undefined;
809
896
  activeVariation?: boolean | undefined;
810
897
  }, {
811
- country?: string | undefined;
898
+ countryId?: number | undefined;
812
899
  address?: string | undefined;
813
900
  addressTwo?: string | undefined;
814
901
  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
- country: zod_1.z.string(),
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
- country: zod_1.z.string(),
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
- country: zod_1.z.string(),
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
- country: zod_1.z.string().optional(),
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>;
@@ -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
- country: z.ZodString;
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
- country: string;
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
- country: string;
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
- country: string;
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
- country: string;
500
+ countryId: number | null;
501
501
  addressTwo: string;
502
502
  postalCode: string;
503
503
  city: string;