exnet-routing 1.1.13 → 1.1.15

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 (33) hide show
  1. package/dist/models/_chat.d.ts +0 -164
  2. package/dist/models/_chat_message.d.ts +0 -212
  3. package/dist/models/_contact.d.ts +6 -6
  4. package/dist/models/_contact_visible.d.ts +6 -6
  5. package/dist/models/_contact_visible.js +2 -2
  6. package/dist/models/_facture.d.ts +0 -212
  7. package/dist/models/_facture_line.d.ts +0 -588
  8. package/dist/models/_historique_action.d.ts +0 -164
  9. package/dist/models/_information_importante.d.ts +0 -164
  10. package/dist/models/_livraison_chauffeur.d.ts +0 -164
  11. package/dist/models/_ramassage_chauffeur.d.ts +0 -164
  12. package/dist/models/_shipping.d.ts +0 -150
  13. package/dist/models/_shipping.js +1 -15
  14. package/dist/models/_shipping_affected.d.ts +0 -164
  15. package/dist/models/_shipping_classification.d.ts +0 -164
  16. package/dist/models/_shipping_comment.d.ts +0 -164
  17. package/dist/models/_shipping_course.d.ts +0 -164
  18. package/dist/models/_shipping_detail.d.ts +2 -166
  19. package/dist/models/_shipping_detail_info_supplementaire.d.ts +0 -164
  20. package/dist/models/_shipping_document.d.ts +0 -164
  21. package/dist/models/_shipping_emballage.d.ts +0 -164
  22. package/dist/models/_shipping_manifest.d.ts +0 -164
  23. package/dist/models/_shipping_package.d.ts +0 -164
  24. package/dist/models/_shipping_pod.d.ts +0 -164
  25. package/dist/models/_shipping_proforma.d.ts +0 -164
  26. package/dist/models/_shipping_proforma_line.d.ts +0 -212
  27. package/dist/models/_shipping_tracking.d.ts +0 -164
  28. package/dist/models/_tracking_visible.d.ts +6 -6
  29. package/dist/models/_tracking_visible.js +2 -2
  30. package/dist/routes/admin.d.ts +22 -2334
  31. package/dist/routes/ops.d.ts +0 -8208
  32. package/dist/routes/user.d.ts +22 -2094
  33. package/package.json +1 -1
@@ -20,74 +20,6 @@ export declare const ChatSchema: z.ZodObject<{
20
20
  deliveryInstruction: z.ZodNullable<z.ZodString>;
21
21
  billContact: z.ZodNullable<z.ZodString>;
22
22
  trackingMail: z.ZodNullable<z.ZodString>;
23
- expeditor: z.ZodObject<{
24
- civility: z.ZodString;
25
- company: z.ZodString;
26
- fullname: z.ZodString;
27
- address1: z.ZodString;
28
- address2: z.ZodString;
29
- postalCode: z.ZodString;
30
- city: z.ZodString;
31
- phone1: z.ZodString;
32
- phone2: z.ZodString;
33
- email: z.ZodString;
34
- }, "strip", z.ZodTypeAny, {
35
- postalCode: string;
36
- city: string;
37
- email: string;
38
- civility: string;
39
- company: string;
40
- fullname: string;
41
- address1: string;
42
- address2: string;
43
- phone1: string;
44
- phone2: string;
45
- }, {
46
- postalCode: string;
47
- city: string;
48
- email: string;
49
- civility: string;
50
- company: string;
51
- fullname: string;
52
- address1: string;
53
- address2: string;
54
- phone1: string;
55
- phone2: string;
56
- }>;
57
- receiver: z.ZodObject<{
58
- civility: z.ZodString;
59
- company: z.ZodString;
60
- fullname: z.ZodString;
61
- address1: z.ZodString;
62
- address2: z.ZodString;
63
- postalCode: z.ZodString;
64
- city: z.ZodString;
65
- phone1: z.ZodString;
66
- phone2: z.ZodString;
67
- email: z.ZodString;
68
- }, "strip", z.ZodTypeAny, {
69
- postalCode: string;
70
- city: string;
71
- email: string;
72
- civility: string;
73
- company: string;
74
- fullname: string;
75
- address1: string;
76
- address2: string;
77
- phone1: string;
78
- phone2: string;
79
- }, {
80
- postalCode: string;
81
- city: string;
82
- email: string;
83
- civility: string;
84
- company: string;
85
- fullname: string;
86
- address1: string;
87
- address2: string;
88
- phone1: string;
89
- phone2: string;
90
- }>;
91
23
  pickupTime: z.ZodNullable<z.ZodString>;
92
24
  deliveryTime: z.ZodNullable<z.ZodString>;
93
25
  ref: z.ZodNullable<z.ZodNumber>;
@@ -1124,30 +1056,6 @@ export declare const ChatSchema: z.ZodObject<{
1124
1056
  pickupInstruction: string | null;
1125
1057
  deliveryInstruction: string | null;
1126
1058
  billContact: string | null;
1127
- expeditor: {
1128
- postalCode: string;
1129
- city: string;
1130
- email: string;
1131
- civility: string;
1132
- company: string;
1133
- fullname: string;
1134
- address1: string;
1135
- address2: string;
1136
- phone1: string;
1137
- phone2: string;
1138
- };
1139
- receiver: {
1140
- postalCode: string;
1141
- city: string;
1142
- email: string;
1143
- civility: string;
1144
- company: string;
1145
- fullname: string;
1146
- address1: string;
1147
- address2: string;
1148
- phone1: string;
1149
- phone2: string;
1150
- };
1151
1059
  pickupTime: string | null;
1152
1060
  deliveryTime: string | null;
1153
1061
  ref: number | null;
@@ -1444,30 +1352,6 @@ export declare const ChatSchema: z.ZodObject<{
1444
1352
  pickupInstruction: string | null;
1445
1353
  deliveryInstruction: string | null;
1446
1354
  billContact: string | null;
1447
- expeditor: {
1448
- postalCode: string;
1449
- city: string;
1450
- email: string;
1451
- civility: string;
1452
- company: string;
1453
- fullname: string;
1454
- address1: string;
1455
- address2: string;
1456
- phone1: string;
1457
- phone2: string;
1458
- };
1459
- receiver: {
1460
- postalCode: string;
1461
- city: string;
1462
- email: string;
1463
- civility: string;
1464
- company: string;
1465
- fullname: string;
1466
- address1: string;
1467
- address2: string;
1468
- phone1: string;
1469
- phone2: string;
1470
- };
1471
1355
  pickupTime: string | null;
1472
1356
  deliveryTime: string | null;
1473
1357
  ref: number | null;
@@ -2492,30 +2376,6 @@ export declare const ChatSchema: z.ZodObject<{
2492
2376
  pickupInstruction: string | null;
2493
2377
  deliveryInstruction: string | null;
2494
2378
  billContact: string | null;
2495
- expeditor: {
2496
- postalCode: string;
2497
- city: string;
2498
- email: string;
2499
- civility: string;
2500
- company: string;
2501
- fullname: string;
2502
- address1: string;
2503
- address2: string;
2504
- phone1: string;
2505
- phone2: string;
2506
- };
2507
- receiver: {
2508
- postalCode: string;
2509
- city: string;
2510
- email: string;
2511
- civility: string;
2512
- company: string;
2513
- fullname: string;
2514
- address1: string;
2515
- address2: string;
2516
- phone1: string;
2517
- phone2: string;
2518
- };
2519
2379
  pickupTime: string | null;
2520
2380
  deliveryTime: string | null;
2521
2381
  ref: number | null;
@@ -2964,30 +2824,6 @@ export declare const ChatSchema: z.ZodObject<{
2964
2824
  pickupInstruction: string | null;
2965
2825
  deliveryInstruction: string | null;
2966
2826
  billContact: string | null;
2967
- expeditor: {
2968
- postalCode: string;
2969
- city: string;
2970
- email: string;
2971
- civility: string;
2972
- company: string;
2973
- fullname: string;
2974
- address1: string;
2975
- address2: string;
2976
- phone1: string;
2977
- phone2: string;
2978
- };
2979
- receiver: {
2980
- postalCode: string;
2981
- city: string;
2982
- email: string;
2983
- civility: string;
2984
- company: string;
2985
- fullname: string;
2986
- address1: string;
2987
- address2: string;
2988
- phone1: string;
2989
- phone2: string;
2990
- };
2991
2827
  pickupTime: string | null;
2992
2828
  deliveryTime: string | null;
2993
2829
  ref: number | null;
@@ -29,74 +29,6 @@ export declare const ChatMessageSchema: z.ZodObject<{
29
29
  deliveryInstruction: z.ZodNullable<z.ZodString>;
30
30
  billContact: z.ZodNullable<z.ZodString>;
31
31
  trackingMail: z.ZodNullable<z.ZodString>;
32
- expeditor: z.ZodObject<{
33
- civility: z.ZodString;
34
- company: z.ZodString;
35
- fullname: z.ZodString;
36
- address1: z.ZodString;
37
- address2: z.ZodString;
38
- postalCode: z.ZodString;
39
- city: z.ZodString;
40
- phone1: z.ZodString;
41
- phone2: z.ZodString;
42
- email: z.ZodString;
43
- }, "strip", z.ZodTypeAny, {
44
- postalCode: string;
45
- city: string;
46
- email: string;
47
- civility: string;
48
- company: string;
49
- fullname: string;
50
- address1: string;
51
- address2: string;
52
- phone1: string;
53
- phone2: string;
54
- }, {
55
- postalCode: string;
56
- city: string;
57
- email: string;
58
- civility: string;
59
- company: string;
60
- fullname: string;
61
- address1: string;
62
- address2: string;
63
- phone1: string;
64
- phone2: string;
65
- }>;
66
- receiver: z.ZodObject<{
67
- civility: z.ZodString;
68
- company: z.ZodString;
69
- fullname: z.ZodString;
70
- address1: z.ZodString;
71
- address2: z.ZodString;
72
- postalCode: z.ZodString;
73
- city: z.ZodString;
74
- phone1: z.ZodString;
75
- phone2: z.ZodString;
76
- email: z.ZodString;
77
- }, "strip", z.ZodTypeAny, {
78
- postalCode: string;
79
- city: string;
80
- email: string;
81
- civility: string;
82
- company: string;
83
- fullname: string;
84
- address1: string;
85
- address2: string;
86
- phone1: string;
87
- phone2: string;
88
- }, {
89
- postalCode: string;
90
- city: string;
91
- email: string;
92
- civility: string;
93
- company: string;
94
- fullname: string;
95
- address1: string;
96
- address2: string;
97
- phone1: string;
98
- phone2: string;
99
- }>;
100
32
  pickupTime: z.ZodNullable<z.ZodString>;
101
33
  deliveryTime: z.ZodNullable<z.ZodString>;
102
34
  ref: z.ZodNullable<z.ZodNumber>;
@@ -1133,30 +1065,6 @@ export declare const ChatMessageSchema: z.ZodObject<{
1133
1065
  pickupInstruction: string | null;
1134
1066
  deliveryInstruction: string | null;
1135
1067
  billContact: string | null;
1136
- expeditor: {
1137
- postalCode: string;
1138
- city: string;
1139
- email: string;
1140
- civility: string;
1141
- company: string;
1142
- fullname: string;
1143
- address1: string;
1144
- address2: string;
1145
- phone1: string;
1146
- phone2: string;
1147
- };
1148
- receiver: {
1149
- postalCode: string;
1150
- city: string;
1151
- email: string;
1152
- civility: string;
1153
- company: string;
1154
- fullname: string;
1155
- address1: string;
1156
- address2: string;
1157
- phone1: string;
1158
- phone2: string;
1159
- };
1160
1068
  pickupTime: string | null;
1161
1069
  deliveryTime: string | null;
1162
1070
  ref: number | null;
@@ -1453,30 +1361,6 @@ export declare const ChatMessageSchema: z.ZodObject<{
1453
1361
  pickupInstruction: string | null;
1454
1362
  deliveryInstruction: string | null;
1455
1363
  billContact: string | null;
1456
- expeditor: {
1457
- postalCode: string;
1458
- city: string;
1459
- email: string;
1460
- civility: string;
1461
- company: string;
1462
- fullname: string;
1463
- address1: string;
1464
- address2: string;
1465
- phone1: string;
1466
- phone2: string;
1467
- };
1468
- receiver: {
1469
- postalCode: string;
1470
- city: string;
1471
- email: string;
1472
- civility: string;
1473
- company: string;
1474
- fullname: string;
1475
- address1: string;
1476
- address2: string;
1477
- phone1: string;
1478
- phone2: string;
1479
- };
1480
1364
  pickupTime: string | null;
1481
1365
  deliveryTime: string | null;
1482
1366
  ref: number | null;
@@ -2501,30 +2385,6 @@ export declare const ChatMessageSchema: z.ZodObject<{
2501
2385
  pickupInstruction: string | null;
2502
2386
  deliveryInstruction: string | null;
2503
2387
  billContact: string | null;
2504
- expeditor: {
2505
- postalCode: string;
2506
- city: string;
2507
- email: string;
2508
- civility: string;
2509
- company: string;
2510
- fullname: string;
2511
- address1: string;
2512
- address2: string;
2513
- phone1: string;
2514
- phone2: string;
2515
- };
2516
- receiver: {
2517
- postalCode: string;
2518
- city: string;
2519
- email: string;
2520
- civility: string;
2521
- company: string;
2522
- fullname: string;
2523
- address1: string;
2524
- address2: string;
2525
- phone1: string;
2526
- phone2: string;
2527
- };
2528
2388
  pickupTime: string | null;
2529
2389
  deliveryTime: string | null;
2530
2390
  ref: number | null;
@@ -2973,30 +2833,6 @@ export declare const ChatMessageSchema: z.ZodObject<{
2973
2833
  pickupInstruction: string | null;
2974
2834
  deliveryInstruction: string | null;
2975
2835
  billContact: string | null;
2976
- expeditor: {
2977
- postalCode: string;
2978
- city: string;
2979
- email: string;
2980
- civility: string;
2981
- company: string;
2982
- fullname: string;
2983
- address1: string;
2984
- address2: string;
2985
- phone1: string;
2986
- phone2: string;
2987
- };
2988
- receiver: {
2989
- postalCode: string;
2990
- city: string;
2991
- email: string;
2992
- civility: string;
2993
- company: string;
2994
- fullname: string;
2995
- address1: string;
2996
- address2: string;
2997
- phone1: string;
2998
- phone2: string;
2999
- };
3000
2836
  pickupTime: string | null;
3001
2837
  deliveryTime: string | null;
3002
2838
  ref: number | null;
@@ -4173,30 +4009,6 @@ export declare const ChatMessageSchema: z.ZodObject<{
4173
4009
  pickupInstruction: string | null;
4174
4010
  deliveryInstruction: string | null;
4175
4011
  billContact: string | null;
4176
- expeditor: {
4177
- postalCode: string;
4178
- city: string;
4179
- email: string;
4180
- civility: string;
4181
- company: string;
4182
- fullname: string;
4183
- address1: string;
4184
- address2: string;
4185
- phone1: string;
4186
- phone2: string;
4187
- };
4188
- receiver: {
4189
- postalCode: string;
4190
- city: string;
4191
- email: string;
4192
- civility: string;
4193
- company: string;
4194
- fullname: string;
4195
- address1: string;
4196
- address2: string;
4197
- phone1: string;
4198
- phone2: string;
4199
- };
4200
4012
  pickupTime: string | null;
4201
4013
  deliveryTime: string | null;
4202
4014
  ref: number | null;
@@ -4797,30 +4609,6 @@ export declare const ChatMessageSchema: z.ZodObject<{
4797
4609
  pickupInstruction: string | null;
4798
4610
  deliveryInstruction: string | null;
4799
4611
  billContact: string | null;
4800
- expeditor: {
4801
- postalCode: string;
4802
- city: string;
4803
- email: string;
4804
- civility: string;
4805
- company: string;
4806
- fullname: string;
4807
- address1: string;
4808
- address2: string;
4809
- phone1: string;
4810
- phone2: string;
4811
- };
4812
- receiver: {
4813
- postalCode: string;
4814
- city: string;
4815
- email: string;
4816
- civility: string;
4817
- company: string;
4818
- fullname: string;
4819
- address1: string;
4820
- address2: string;
4821
- phone1: string;
4822
- phone2: string;
4823
- };
4824
4612
  pickupTime: string | null;
4825
4613
  deliveryTime: string | null;
4826
4614
  ref: number | null;
@@ -651,8 +651,8 @@ export declare const ContactSchema: z.ZodObject<{
651
651
  firstName: string;
652
652
  lastName: string;
653
653
  civility: string | null;
654
- company: string;
655
654
  userId: number | null;
655
+ company: string;
656
656
  typeContact: string;
657
657
  country?: {
658
658
  id: number;
@@ -829,8 +829,8 @@ export declare const ContactSchema: z.ZodObject<{
829
829
  firstName: string;
830
830
  lastName: string;
831
831
  civility: string | null;
832
- company: string;
833
832
  userId: number | null;
833
+ company: string;
834
834
  typeContact: string;
835
835
  country?: {
836
836
  id: number;
@@ -1021,8 +1021,8 @@ export declare const ContactCreateSchema: z.ZodObject<{
1021
1021
  countryId: number;
1022
1022
  firstName: string;
1023
1023
  lastName: string;
1024
- company: string;
1025
1024
  userId: number;
1025
+ company: string;
1026
1026
  typeContact: string;
1027
1027
  addressTwo?: string | undefined;
1028
1028
  telephoneTwo?: string | undefined;
@@ -1046,8 +1046,8 @@ export declare const ContactCreateSchema: z.ZodObject<{
1046
1046
  countryId: number;
1047
1047
  firstName: string;
1048
1048
  lastName: string;
1049
- company: string;
1050
1049
  userId: number;
1050
+ company: string;
1051
1051
  typeContact: string;
1052
1052
  addressTwo?: string | undefined;
1053
1053
  telephoneTwo?: string | undefined;
@@ -1306,8 +1306,8 @@ export declare const ContactUpdateSchema: z.ZodObject<{
1306
1306
  firstName?: string | undefined;
1307
1307
  lastName?: string | undefined;
1308
1308
  civility?: string | undefined;
1309
- company?: string | undefined;
1310
1309
  userId?: number | undefined;
1310
+ company?: string | undefined;
1311
1311
  typeContact?: string | undefined;
1312
1312
  }, {
1313
1313
  fullName?: string | undefined;
@@ -1331,8 +1331,8 @@ export declare const ContactUpdateSchema: z.ZodObject<{
1331
1331
  firstName?: string | undefined;
1332
1332
  lastName?: string | undefined;
1333
1333
  civility?: string | undefined;
1334
- company?: string | undefined;
1335
1334
  userId?: number | undefined;
1335
+ company?: string | undefined;
1336
1336
  typeContact?: string | undefined;
1337
1337
  }>;
1338
1338
  export declare const ContactUpdateByUserSchema: z.ZodObject<{
@@ -4,8 +4,8 @@ export declare const ContactVisibleSchema: z.ZodObject<{
4
4
  id: z.ZodNumber;
5
5
  createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
6
6
  updatedAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
7
- userIdTo: z.ZodNumber;
8
- userIdBy: z.ZodNumber;
7
+ userToId: z.ZodNumber;
8
+ userById: z.ZodNumber;
9
9
  userTo: z.ZodOptional<z.ZodLazy<z.ZodObject<{
10
10
  id: z.ZodNumber;
11
11
  createdAt: z.ZodEffects<z.ZodDate, DateTime<true> | DateTime<false>, Date>;
@@ -1162,8 +1162,8 @@ export declare const ContactVisibleSchema: z.ZodObject<{
1162
1162
  id: number;
1163
1163
  createdAt: DateTime<true> | DateTime<false>;
1164
1164
  updatedAt: DateTime<true> | DateTime<false>;
1165
- userIdTo: number;
1166
- userIdBy: number;
1165
+ userToId: number;
1166
+ userById: number;
1167
1167
  userTo?: {
1168
1168
  id: number;
1169
1169
  createdAt: DateTime<true> | DateTime<false>;
@@ -1452,8 +1452,8 @@ export declare const ContactVisibleSchema: z.ZodObject<{
1452
1452
  id: number;
1453
1453
  createdAt: Date;
1454
1454
  updatedAt: Date;
1455
- userIdTo: number;
1456
- userIdBy: number;
1455
+ userToId: number;
1456
+ userById: number;
1457
1457
  userTo?: {
1458
1458
  id: number;
1459
1459
  createdAt: Date;
@@ -8,8 +8,8 @@ exports.ContactVisibleSchema = zod_1.z.object({
8
8
  id: zod_1.z.number(),
9
9
  createdAt: zod_1.z.date().transform((date) => luxon_1.DateTime.fromJSDate(date)),
10
10
  updatedAt: zod_1.z.date().transform((date) => luxon_1.DateTime.fromJSDate(date)),
11
- userIdTo: zod_1.z.number(),
12
- userIdBy: zod_1.z.number(),
11
+ userToId: zod_1.z.number(),
12
+ userById: zod_1.z.number(),
13
13
  userTo: zod_1.z.lazy(() => _user_1.UserSchema).optional(),
14
14
  userBy: zod_1.z.lazy(() => _user_1.UserSchema).optional(),
15
15
  });