exnet-routing 1.2.13 → 1.2.14

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.
@@ -88060,6 +88060,163 @@ declare const trackingRoutes: {
88060
88060
  }>]>;
88061
88061
  };
88062
88062
  };
88063
+ declare const countryRoutes: {
88064
+ liste: {
88065
+ method: "GET";
88066
+ url: string;
88067
+ response: z.ZodUnion<[z.ZodObject<{
88068
+ data: z.ZodArray<z.ZodObject<{
88069
+ id: z.ZodNumber;
88070
+ createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
88071
+ updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
88072
+ name: z.ZodString;
88073
+ code: z.ZodString;
88074
+ phoneCode: z.ZodString;
88075
+ }, "strip", z.ZodTypeAny, {
88076
+ id: number;
88077
+ createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
88078
+ code: string;
88079
+ updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
88080
+ name: string;
88081
+ phoneCode: string;
88082
+ }, {
88083
+ id: number;
88084
+ createdAt: Date;
88085
+ code: string;
88086
+ updatedAt: Date;
88087
+ name: string;
88088
+ phoneCode: string;
88089
+ }>, "many">;
88090
+ message: z.ZodOptional<z.ZodString>;
88091
+ status: z.ZodOptional<z.ZodNumber>;
88092
+ error: z.ZodOptional<z.ZodNever>;
88093
+ success: z.ZodLiteral<true>;
88094
+ }, "strip", z.ZodTypeAny, {
88095
+ data: {
88096
+ id: number;
88097
+ createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
88098
+ code: string;
88099
+ updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
88100
+ name: string;
88101
+ phoneCode: string;
88102
+ }[];
88103
+ success: true;
88104
+ status?: number | undefined;
88105
+ message?: string | undefined;
88106
+ error?: undefined;
88107
+ }, {
88108
+ data: {
88109
+ id: number;
88110
+ createdAt: Date;
88111
+ code: string;
88112
+ updatedAt: Date;
88113
+ name: string;
88114
+ phoneCode: string;
88115
+ }[];
88116
+ success: true;
88117
+ status?: number | undefined;
88118
+ message?: string | undefined;
88119
+ error?: undefined;
88120
+ }>, z.ZodObject<{
88121
+ data: z.ZodNever;
88122
+ message: z.ZodString;
88123
+ status: z.ZodOptional<z.ZodNumber>;
88124
+ error: z.ZodObject<{
88125
+ message: z.ZodString;
88126
+ info: z.ZodObject<{
88127
+ status: z.ZodNumber;
88128
+ code: z.ZodString;
88129
+ messages: z.ZodArray<z.ZodObject<{
88130
+ message: z.ZodString;
88131
+ rule: z.ZodOptional<z.ZodString>;
88132
+ field: z.ZodOptional<z.ZodString>;
88133
+ }, "strip", z.ZodTypeAny, {
88134
+ message: string;
88135
+ rule?: string | undefined;
88136
+ field?: string | undefined;
88137
+ }, {
88138
+ message: string;
88139
+ rule?: string | undefined;
88140
+ field?: string | undefined;
88141
+ }>, "many">;
88142
+ }, "strip", z.ZodTypeAny, {
88143
+ status: number;
88144
+ code: string;
88145
+ messages: {
88146
+ message: string;
88147
+ rule?: string | undefined;
88148
+ field?: string | undefined;
88149
+ }[];
88150
+ }, {
88151
+ status: number;
88152
+ code: string;
88153
+ messages: {
88154
+ message: string;
88155
+ rule?: string | undefined;
88156
+ field?: string | undefined;
88157
+ }[];
88158
+ }>;
88159
+ }, "strip", z.ZodTypeAny, {
88160
+ message: string;
88161
+ info: {
88162
+ status: number;
88163
+ code: string;
88164
+ messages: {
88165
+ message: string;
88166
+ rule?: string | undefined;
88167
+ field?: string | undefined;
88168
+ }[];
88169
+ };
88170
+ }, {
88171
+ message: string;
88172
+ info: {
88173
+ status: number;
88174
+ code: string;
88175
+ messages: {
88176
+ message: string;
88177
+ rule?: string | undefined;
88178
+ field?: string | undefined;
88179
+ }[];
88180
+ };
88181
+ }>;
88182
+ success: z.ZodNever;
88183
+ }, "strip", z.ZodTypeAny, {
88184
+ message: string;
88185
+ data: never;
88186
+ error: {
88187
+ message: string;
88188
+ info: {
88189
+ status: number;
88190
+ code: string;
88191
+ messages: {
88192
+ message: string;
88193
+ rule?: string | undefined;
88194
+ field?: string | undefined;
88195
+ }[];
88196
+ };
88197
+ };
88198
+ success: never;
88199
+ status?: number | undefined;
88200
+ }, {
88201
+ message: string;
88202
+ data: never;
88203
+ error: {
88204
+ message: string;
88205
+ info: {
88206
+ status: number;
88207
+ code: string;
88208
+ messages: {
88209
+ message: string;
88210
+ rule?: string | undefined;
88211
+ field?: string | undefined;
88212
+ }[];
88213
+ };
88214
+ };
88215
+ success: never;
88216
+ status?: number | undefined;
88217
+ }>]>;
88218
+ };
88219
+ };
88063
88220
  export declare const adminRoutes: {
88064
88221
  auth: typeof authRoutes;
88065
88222
  banniere: typeof banniereRoutes;
@@ -88082,6 +88239,7 @@ export declare const adminRoutes: {
88082
88239
  vehicule: typeof vehiculeRoutes;
88083
88240
  user: typeof userRoutes;
88084
88241
  tracking: typeof trackingRoutes;
88242
+ country: typeof countryRoutes;
88085
88243
  };
88086
88244
  export type AdminRoutesType = typeof adminRoutes;
88087
88245
  export {};
@@ -705,6 +705,13 @@ const trackingRoutes = (0, _type_1.IApiType)({
705
705
  response: (0, _type_1.response)(models_1.ShippingTrackingSchema),
706
706
  },
707
707
  });
708
+ const countryRoutes = (0, _type_1.IApiType)({
709
+ liste: {
710
+ method: "GET",
711
+ url: `${baseurl}/country/liste`,
712
+ response: (0, _type_1.response)(zod_1.z.array(models_1.CountrySchema)),
713
+ },
714
+ });
708
715
  exports.adminRoutes = (0, _type_1.IApiType)({
709
716
  facturationLine: facturationLineRoutes,
710
717
  facture: factureRoutes,
@@ -727,4 +734,5 @@ exports.adminRoutes = (0, _type_1.IApiType)({
727
734
  contact: contactRoutes,
728
735
  customer: customerRoutes,
729
736
  emballage: emballageRoutes,
737
+ country: countryRoutes,
730
738
  });
@@ -1,2 +1,163 @@
1
- export declare const driverRoutes: {};
1
+ import { z } from "zod";
2
+ declare const countryRoutes: {
3
+ liste: {
4
+ method: "GET";
5
+ url: string;
6
+ response: z.ZodUnion<[z.ZodObject<{
7
+ data: z.ZodArray<z.ZodObject<{
8
+ id: z.ZodNumber;
9
+ createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
10
+ updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
11
+ name: z.ZodString;
12
+ code: z.ZodString;
13
+ phoneCode: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ id: number;
16
+ createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
17
+ code: string;
18
+ updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
19
+ name: string;
20
+ phoneCode: string;
21
+ }, {
22
+ id: number;
23
+ createdAt: Date;
24
+ code: string;
25
+ updatedAt: Date;
26
+ name: string;
27
+ phoneCode: string;
28
+ }>, "many">;
29
+ message: z.ZodOptional<z.ZodString>;
30
+ status: z.ZodOptional<z.ZodNumber>;
31
+ error: z.ZodOptional<z.ZodNever>;
32
+ success: z.ZodLiteral<true>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ data: {
35
+ id: number;
36
+ createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
37
+ code: string;
38
+ updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
39
+ name: string;
40
+ phoneCode: string;
41
+ }[];
42
+ success: true;
43
+ status?: number | undefined;
44
+ message?: string | undefined;
45
+ error?: undefined;
46
+ }, {
47
+ data: {
48
+ id: number;
49
+ createdAt: Date;
50
+ code: string;
51
+ updatedAt: Date;
52
+ name: string;
53
+ phoneCode: string;
54
+ }[];
55
+ success: true;
56
+ status?: number | undefined;
57
+ message?: string | undefined;
58
+ error?: undefined;
59
+ }>, z.ZodObject<{
60
+ data: z.ZodNever;
61
+ message: z.ZodString;
62
+ status: z.ZodOptional<z.ZodNumber>;
63
+ error: z.ZodObject<{
64
+ message: z.ZodString;
65
+ info: z.ZodObject<{
66
+ status: z.ZodNumber;
67
+ code: z.ZodString;
68
+ messages: z.ZodArray<z.ZodObject<{
69
+ message: z.ZodString;
70
+ rule: z.ZodOptional<z.ZodString>;
71
+ field: z.ZodOptional<z.ZodString>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ message: string;
74
+ rule?: string | undefined;
75
+ field?: string | undefined;
76
+ }, {
77
+ message: string;
78
+ rule?: string | undefined;
79
+ field?: string | undefined;
80
+ }>, "many">;
81
+ }, "strip", z.ZodTypeAny, {
82
+ status: number;
83
+ code: string;
84
+ messages: {
85
+ message: string;
86
+ rule?: string | undefined;
87
+ field?: string | undefined;
88
+ }[];
89
+ }, {
90
+ status: number;
91
+ code: string;
92
+ messages: {
93
+ message: string;
94
+ rule?: string | undefined;
95
+ field?: string | undefined;
96
+ }[];
97
+ }>;
98
+ }, "strip", z.ZodTypeAny, {
99
+ message: string;
100
+ info: {
101
+ status: number;
102
+ code: string;
103
+ messages: {
104
+ message: string;
105
+ rule?: string | undefined;
106
+ field?: string | undefined;
107
+ }[];
108
+ };
109
+ }, {
110
+ message: string;
111
+ info: {
112
+ status: number;
113
+ code: string;
114
+ messages: {
115
+ message: string;
116
+ rule?: string | undefined;
117
+ field?: string | undefined;
118
+ }[];
119
+ };
120
+ }>;
121
+ success: z.ZodNever;
122
+ }, "strip", z.ZodTypeAny, {
123
+ message: string;
124
+ data: never;
125
+ error: {
126
+ message: string;
127
+ info: {
128
+ status: number;
129
+ code: string;
130
+ messages: {
131
+ message: string;
132
+ rule?: string | undefined;
133
+ field?: string | undefined;
134
+ }[];
135
+ };
136
+ };
137
+ success: never;
138
+ status?: number | undefined;
139
+ }, {
140
+ message: string;
141
+ data: never;
142
+ error: {
143
+ message: string;
144
+ info: {
145
+ status: number;
146
+ code: string;
147
+ messages: {
148
+ message: string;
149
+ rule?: string | undefined;
150
+ field?: string | undefined;
151
+ }[];
152
+ };
153
+ };
154
+ success: never;
155
+ status?: number | undefined;
156
+ }>]>;
157
+ };
158
+ };
159
+ export declare const driverRoutes: {
160
+ country: typeof countryRoutes;
161
+ };
2
162
  export type DriverRoutesType = typeof driverRoutes;
163
+ export {};
@@ -1,6 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.driverRoutes = void 0;
4
+ const zod_1 = require("zod");
4
5
  const _type_1 = require("../core/api/_type");
5
- // const baseurl = "/user"
6
- exports.driverRoutes = (0, _type_1.IApiType)({});
6
+ const models_1 = require("./../models");
7
+ const baseurl = "/driver";
8
+ const countryRoutes = (0, _type_1.IApiType)({
9
+ liste: {
10
+ method: "GET",
11
+ url: `${baseurl}/country/liste`,
12
+ response: (0, _type_1.response)(zod_1.z.array(models_1.CountrySchema)),
13
+ },
14
+ });
15
+ exports.driverRoutes = (0, _type_1.IApiType)({
16
+ country: countryRoutes,
17
+ });
@@ -127263,6 +127263,163 @@ declare const manifestRoutes: {
127263
127263
  }>]>;
127264
127264
  };
127265
127265
  };
127266
+ declare const countryRoutes: {
127267
+ liste: {
127268
+ method: "GET";
127269
+ url: string;
127270
+ response: z.ZodUnion<[z.ZodObject<{
127271
+ data: z.ZodArray<z.ZodObject<{
127272
+ id: z.ZodNumber;
127273
+ createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
127274
+ updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
127275
+ name: z.ZodString;
127276
+ code: z.ZodString;
127277
+ phoneCode: z.ZodString;
127278
+ }, "strip", z.ZodTypeAny, {
127279
+ id: number;
127280
+ createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
127281
+ code: string;
127282
+ updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
127283
+ name: string;
127284
+ phoneCode: string;
127285
+ }, {
127286
+ id: number;
127287
+ createdAt: Date;
127288
+ code: string;
127289
+ updatedAt: Date;
127290
+ name: string;
127291
+ phoneCode: string;
127292
+ }>, "many">;
127293
+ message: z.ZodOptional<z.ZodString>;
127294
+ status: z.ZodOptional<z.ZodNumber>;
127295
+ error: z.ZodOptional<z.ZodNever>;
127296
+ success: z.ZodLiteral<true>;
127297
+ }, "strip", z.ZodTypeAny, {
127298
+ data: {
127299
+ id: number;
127300
+ createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
127301
+ code: string;
127302
+ updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
127303
+ name: string;
127304
+ phoneCode: string;
127305
+ }[];
127306
+ success: true;
127307
+ status?: number | undefined;
127308
+ message?: string | undefined;
127309
+ error?: undefined;
127310
+ }, {
127311
+ data: {
127312
+ id: number;
127313
+ createdAt: Date;
127314
+ code: string;
127315
+ updatedAt: Date;
127316
+ name: string;
127317
+ phoneCode: string;
127318
+ }[];
127319
+ success: true;
127320
+ status?: number | undefined;
127321
+ message?: string | undefined;
127322
+ error?: undefined;
127323
+ }>, z.ZodObject<{
127324
+ data: z.ZodNever;
127325
+ message: z.ZodString;
127326
+ status: z.ZodOptional<z.ZodNumber>;
127327
+ error: z.ZodObject<{
127328
+ message: z.ZodString;
127329
+ info: z.ZodObject<{
127330
+ status: z.ZodNumber;
127331
+ code: z.ZodString;
127332
+ messages: z.ZodArray<z.ZodObject<{
127333
+ message: z.ZodString;
127334
+ rule: z.ZodOptional<z.ZodString>;
127335
+ field: z.ZodOptional<z.ZodString>;
127336
+ }, "strip", z.ZodTypeAny, {
127337
+ message: string;
127338
+ rule?: string | undefined;
127339
+ field?: string | undefined;
127340
+ }, {
127341
+ message: string;
127342
+ rule?: string | undefined;
127343
+ field?: string | undefined;
127344
+ }>, "many">;
127345
+ }, "strip", z.ZodTypeAny, {
127346
+ status: number;
127347
+ code: string;
127348
+ messages: {
127349
+ message: string;
127350
+ rule?: string | undefined;
127351
+ field?: string | undefined;
127352
+ }[];
127353
+ }, {
127354
+ status: number;
127355
+ code: string;
127356
+ messages: {
127357
+ message: string;
127358
+ rule?: string | undefined;
127359
+ field?: string | undefined;
127360
+ }[];
127361
+ }>;
127362
+ }, "strip", z.ZodTypeAny, {
127363
+ message: string;
127364
+ info: {
127365
+ status: number;
127366
+ code: string;
127367
+ messages: {
127368
+ message: string;
127369
+ rule?: string | undefined;
127370
+ field?: string | undefined;
127371
+ }[];
127372
+ };
127373
+ }, {
127374
+ message: string;
127375
+ info: {
127376
+ status: number;
127377
+ code: string;
127378
+ messages: {
127379
+ message: string;
127380
+ rule?: string | undefined;
127381
+ field?: string | undefined;
127382
+ }[];
127383
+ };
127384
+ }>;
127385
+ success: z.ZodNever;
127386
+ }, "strip", z.ZodTypeAny, {
127387
+ message: string;
127388
+ data: never;
127389
+ error: {
127390
+ message: string;
127391
+ info: {
127392
+ status: number;
127393
+ code: string;
127394
+ messages: {
127395
+ message: string;
127396
+ rule?: string | undefined;
127397
+ field?: string | undefined;
127398
+ }[];
127399
+ };
127400
+ };
127401
+ success: never;
127402
+ status?: number | undefined;
127403
+ }, {
127404
+ message: string;
127405
+ data: never;
127406
+ error: {
127407
+ message: string;
127408
+ info: {
127409
+ status: number;
127410
+ code: string;
127411
+ messages: {
127412
+ message: string;
127413
+ rule?: string | undefined;
127414
+ field?: string | undefined;
127415
+ }[];
127416
+ };
127417
+ };
127418
+ success: never;
127419
+ status?: number | undefined;
127420
+ }>]>;
127421
+ };
127422
+ };
127266
127423
  export declare const opsRoutes: {
127267
127424
  auth: typeof authRoutes;
127268
127425
  shipping: typeof shippingRoutes;
@@ -127273,6 +127430,7 @@ export declare const opsRoutes: {
127273
127430
  emballage: typeof emballageRoutes;
127274
127431
  fuel: typeof fuelRoutes;
127275
127432
  manifest: typeof manifestRoutes;
127433
+ country: typeof countryRoutes;
127276
127434
  };
127277
127435
  export type OpsRoutesType = typeof opsRoutes;
127278
127436
  export {};
@@ -541,6 +541,13 @@ const manifestRoutes = (0, _type_1.IApiType)({
541
541
  response: (0, _type_1.response)(models_1.ManifestSchema),
542
542
  },
543
543
  });
544
+ const countryRoutes = (0, _type_1.IApiType)({
545
+ liste: {
546
+ method: "GET",
547
+ url: `${baseurl}/country/liste`,
548
+ response: (0, _type_1.response)(zod_1.z.array(models_1.CountrySchema)),
549
+ },
550
+ });
544
551
  exports.opsRoutes = (0, _type_1.IApiType)({
545
552
  auth: authRoutes,
546
553
  shipping: shippingRoutes,
@@ -551,4 +558,5 @@ exports.opsRoutes = (0, _type_1.IApiType)({
551
558
  emballage: emballageRoutes,
552
559
  fuel: fuelRoutes,
553
560
  manifest: manifestRoutes,
561
+ country: countryRoutes,
554
562
  });
@@ -55622,6 +55622,163 @@ declare const fuelRoutes: {
55622
55622
  }>]>;
55623
55623
  };
55624
55624
  };
55625
+ declare const countryRoutes: {
55626
+ liste: {
55627
+ method: "GET";
55628
+ url: string;
55629
+ response: z.ZodUnion<[z.ZodObject<{
55630
+ data: z.ZodArray<z.ZodObject<{
55631
+ id: z.ZodNumber;
55632
+ createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
55633
+ updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
55634
+ name: z.ZodString;
55635
+ code: z.ZodString;
55636
+ phoneCode: z.ZodString;
55637
+ }, "strip", z.ZodTypeAny, {
55638
+ id: number;
55639
+ createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
55640
+ code: string;
55641
+ updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
55642
+ name: string;
55643
+ phoneCode: string;
55644
+ }, {
55645
+ id: number;
55646
+ createdAt: Date;
55647
+ code: string;
55648
+ updatedAt: Date;
55649
+ name: string;
55650
+ phoneCode: string;
55651
+ }>, "many">;
55652
+ message: z.ZodOptional<z.ZodString>;
55653
+ status: z.ZodOptional<z.ZodNumber>;
55654
+ error: z.ZodOptional<z.ZodNever>;
55655
+ success: z.ZodLiteral<true>;
55656
+ }, "strip", z.ZodTypeAny, {
55657
+ data: {
55658
+ id: number;
55659
+ createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
55660
+ code: string;
55661
+ updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
55662
+ name: string;
55663
+ phoneCode: string;
55664
+ }[];
55665
+ success: true;
55666
+ status?: number | undefined;
55667
+ message?: string | undefined;
55668
+ error?: undefined;
55669
+ }, {
55670
+ data: {
55671
+ id: number;
55672
+ createdAt: Date;
55673
+ code: string;
55674
+ updatedAt: Date;
55675
+ name: string;
55676
+ phoneCode: string;
55677
+ }[];
55678
+ success: true;
55679
+ status?: number | undefined;
55680
+ message?: string | undefined;
55681
+ error?: undefined;
55682
+ }>, z.ZodObject<{
55683
+ data: z.ZodNever;
55684
+ message: z.ZodString;
55685
+ status: z.ZodOptional<z.ZodNumber>;
55686
+ error: z.ZodObject<{
55687
+ message: z.ZodString;
55688
+ info: z.ZodObject<{
55689
+ status: z.ZodNumber;
55690
+ code: z.ZodString;
55691
+ messages: z.ZodArray<z.ZodObject<{
55692
+ message: z.ZodString;
55693
+ rule: z.ZodOptional<z.ZodString>;
55694
+ field: z.ZodOptional<z.ZodString>;
55695
+ }, "strip", z.ZodTypeAny, {
55696
+ message: string;
55697
+ rule?: string | undefined;
55698
+ field?: string | undefined;
55699
+ }, {
55700
+ message: string;
55701
+ rule?: string | undefined;
55702
+ field?: string | undefined;
55703
+ }>, "many">;
55704
+ }, "strip", z.ZodTypeAny, {
55705
+ status: number;
55706
+ code: string;
55707
+ messages: {
55708
+ message: string;
55709
+ rule?: string | undefined;
55710
+ field?: string | undefined;
55711
+ }[];
55712
+ }, {
55713
+ status: number;
55714
+ code: string;
55715
+ messages: {
55716
+ message: string;
55717
+ rule?: string | undefined;
55718
+ field?: string | undefined;
55719
+ }[];
55720
+ }>;
55721
+ }, "strip", z.ZodTypeAny, {
55722
+ message: string;
55723
+ info: {
55724
+ status: number;
55725
+ code: string;
55726
+ messages: {
55727
+ message: string;
55728
+ rule?: string | undefined;
55729
+ field?: string | undefined;
55730
+ }[];
55731
+ };
55732
+ }, {
55733
+ message: string;
55734
+ info: {
55735
+ status: number;
55736
+ code: string;
55737
+ messages: {
55738
+ message: string;
55739
+ rule?: string | undefined;
55740
+ field?: string | undefined;
55741
+ }[];
55742
+ };
55743
+ }>;
55744
+ success: z.ZodNever;
55745
+ }, "strip", z.ZodTypeAny, {
55746
+ message: string;
55747
+ data: never;
55748
+ error: {
55749
+ message: string;
55750
+ info: {
55751
+ status: number;
55752
+ code: string;
55753
+ messages: {
55754
+ message: string;
55755
+ rule?: string | undefined;
55756
+ field?: string | undefined;
55757
+ }[];
55758
+ };
55759
+ };
55760
+ success: never;
55761
+ status?: number | undefined;
55762
+ }, {
55763
+ message: string;
55764
+ data: never;
55765
+ error: {
55766
+ message: string;
55767
+ info: {
55768
+ status: number;
55769
+ code: string;
55770
+ messages: {
55771
+ message: string;
55772
+ rule?: string | undefined;
55773
+ field?: string | undefined;
55774
+ }[];
55775
+ };
55776
+ };
55777
+ success: never;
55778
+ status?: number | undefined;
55779
+ }>]>;
55780
+ };
55781
+ };
55625
55782
  export declare const userRoutes: {
55626
55783
  auth: typeof authRoutes;
55627
55784
  banniere: typeof activeBanniereRoutes;
@@ -55634,6 +55791,7 @@ export declare const userRoutes: {
55634
55791
  typeTransport: typeof typeTransportRoutes;
55635
55792
  emballage: typeof emballageRoutes;
55636
55793
  fuel: typeof fuelRoutes;
55794
+ country: typeof countryRoutes;
55637
55795
  };
55638
55796
  export type UserRoutesType = typeof userRoutes;
55639
55797
  export {};
@@ -282,6 +282,13 @@ const fuelRoutes = (0, _type_1.IApiType)({
282
282
  response: (0, _type_1.response)(models_1.FuelSchema),
283
283
  },
284
284
  });
285
+ const countryRoutes = (0, _type_1.IApiType)({
286
+ liste: {
287
+ method: "GET",
288
+ url: `${baseurl}/country/liste`,
289
+ response: (0, _type_1.response)(zod_1.z.array(models_1.CountrySchema)),
290
+ },
291
+ });
285
292
  exports.userRoutes = (0, _type_1.IApiType)({
286
293
  auth: authRoutes,
287
294
  banniere: activeBanniereRoutes,
@@ -294,4 +301,5 @@ exports.userRoutes = (0, _type_1.IApiType)({
294
301
  typeTransport: typeTransportRoutes,
295
302
  emballage: emballageRoutes,
296
303
  fuel: fuelRoutes,
304
+ country: countryRoutes,
297
305
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exnet-routing",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [