@tripsam/onboarding 1.0.24 → 1.0.26

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.
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+
8
+
9
+ exports.__export = __export;
@@ -0,0 +1,9 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+ export {
8
+ __export
9
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk75ZPJI57cjs = require('../chunk-75ZPJI57.cjs');
4
+
5
+ // src/common/verify-email.ts
6
+ var verify_email_exports = {};
7
+ _chunk75ZPJI57cjs.__export.call(void 0, verify_email_exports, {
8
+ sendOtp: () => sendOtp,
9
+ verifyOtp: () => verifyOtp,
10
+ verifyOtpResponse: () => verifyOtpResponse
11
+ });
12
+ var _zod = require('zod');
13
+ var sendOtp = _zod.z.object({
14
+ email: _zod.z.email("invalid").nonempty("required").trim().toLowerCase()
15
+ });
16
+ var verifyOtp = _zod.z.object({
17
+ otp: _zod.z.string().min(4, { message: "required" }),
18
+ email: _zod.z.string().optional()
19
+ });
20
+ var verifyOtpResponse = _zod.z.object({
21
+ id: _zod.z.string()
22
+ });
23
+
24
+
25
+ exports.VerifyEmail = verify_email_exports;
@@ -0,0 +1,27 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const sendOtp: z.ZodObject<{
4
+ email: z.ZodEmail;
5
+ }, z.core.$strip>;
6
+ declare const verifyOtp: z.ZodObject<{
7
+ otp: z.ZodString;
8
+ email: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const verifyOtpResponse: z.ZodObject<{
11
+ id: z.ZodString;
12
+ }, z.core.$strip>;
13
+ type SafeSendOtp = z.output<typeof sendOtp>;
14
+ type SafeVerifyOtp = z.output<typeof verifyOtp>;
15
+ type SafeVerifyOtpResponse = z.output<typeof verifyOtpResponse>;
16
+
17
+ type verifyEmail_SafeSendOtp = SafeSendOtp;
18
+ type verifyEmail_SafeVerifyOtp = SafeVerifyOtp;
19
+ type verifyEmail_SafeVerifyOtpResponse = SafeVerifyOtpResponse;
20
+ declare const verifyEmail_sendOtp: typeof sendOtp;
21
+ declare const verifyEmail_verifyOtp: typeof verifyOtp;
22
+ declare const verifyEmail_verifyOtpResponse: typeof verifyOtpResponse;
23
+ declare namespace verifyEmail {
24
+ export { type verifyEmail_SafeSendOtp as SafeSendOtp, type verifyEmail_SafeVerifyOtp as SafeVerifyOtp, type verifyEmail_SafeVerifyOtpResponse as SafeVerifyOtpResponse, verifyEmail_sendOtp as sendOtp, verifyEmail_verifyOtp as verifyOtp, verifyEmail_verifyOtpResponse as verifyOtpResponse };
25
+ }
26
+
27
+ export { verifyEmail as VerifyEmail };
@@ -0,0 +1,27 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const sendOtp: z.ZodObject<{
4
+ email: z.ZodEmail;
5
+ }, z.core.$strip>;
6
+ declare const verifyOtp: z.ZodObject<{
7
+ otp: z.ZodString;
8
+ email: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const verifyOtpResponse: z.ZodObject<{
11
+ id: z.ZodString;
12
+ }, z.core.$strip>;
13
+ type SafeSendOtp = z.output<typeof sendOtp>;
14
+ type SafeVerifyOtp = z.output<typeof verifyOtp>;
15
+ type SafeVerifyOtpResponse = z.output<typeof verifyOtpResponse>;
16
+
17
+ type verifyEmail_SafeSendOtp = SafeSendOtp;
18
+ type verifyEmail_SafeVerifyOtp = SafeVerifyOtp;
19
+ type verifyEmail_SafeVerifyOtpResponse = SafeVerifyOtpResponse;
20
+ declare const verifyEmail_sendOtp: typeof sendOtp;
21
+ declare const verifyEmail_verifyOtp: typeof verifyOtp;
22
+ declare const verifyEmail_verifyOtpResponse: typeof verifyOtpResponse;
23
+ declare namespace verifyEmail {
24
+ export { type verifyEmail_SafeSendOtp as SafeSendOtp, type verifyEmail_SafeVerifyOtp as SafeVerifyOtp, type verifyEmail_SafeVerifyOtpResponse as SafeVerifyOtpResponse, verifyEmail_sendOtp as sendOtp, verifyEmail_verifyOtp as verifyOtp, verifyEmail_verifyOtpResponse as verifyOtpResponse };
25
+ }
26
+
27
+ export { verifyEmail as VerifyEmail };
@@ -0,0 +1,25 @@
1
+ import {
2
+ __export
3
+ } from "../chunk-MLKGABMK.js";
4
+
5
+ // src/common/verify-email.ts
6
+ var verify_email_exports = {};
7
+ __export(verify_email_exports, {
8
+ sendOtp: () => sendOtp,
9
+ verifyOtp: () => verifyOtp,
10
+ verifyOtpResponse: () => verifyOtpResponse
11
+ });
12
+ import { z } from "zod";
13
+ var sendOtp = z.object({
14
+ email: z.email("invalid").nonempty("required").trim().toLowerCase()
15
+ });
16
+ var verifyOtp = z.object({
17
+ otp: z.string().min(4, { message: "required" }),
18
+ email: z.string().optional()
19
+ });
20
+ var verifyOtpResponse = z.object({
21
+ id: z.string()
22
+ });
23
+ export {
24
+ verify_email_exports as VerifyEmail
25
+ };
@@ -0,0 +1,242 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk75ZPJI57cjs = require('../chunk-75ZPJI57.cjs');
4
+
5
+ // src/safari/basic-details.ts
6
+ var basic_details_exports = {};
7
+ _chunk75ZPJI57cjs.__export.call(void 0, basic_details_exports, {
8
+ me: () => me,
9
+ update: () => update
10
+ });
11
+ var _zod = require('zod');
12
+ var me = _zod.z.object({
13
+ id: _zod.z.string(),
14
+ email: _zod.z.string(),
15
+ name: _zod.z.string().trim().optional().default(""),
16
+ countryCode: _zod.z.string().optional().default("+91"),
17
+ phoneNumber: _zod.z.string().optional().default(""),
18
+ isPhoneVerified: _zod.z.boolean().optional().default(false),
19
+ completed: _zod.z.boolean()
20
+ });
21
+ var update = _zod.z.object({
22
+ name: _zod.z.string().nonempty("required").trim(),
23
+ countryCode: _zod.z.string().optional().default("+91"),
24
+ phoneNumber: _zod.z.string().nonempty("required")
25
+ });
26
+
27
+ // src/safari/location.ts
28
+ var location_exports = {};
29
+ _chunk75ZPJI57cjs.__export.call(void 0, location_exports, {
30
+ me: () => me2,
31
+ minimum: () => minimum,
32
+ minimumList: () => minimumList,
33
+ pickupLandmark: () => pickupLandmark,
34
+ save: () => save,
35
+ suggest: () => suggest
36
+ });
37
+
38
+ var suggest = _zod.z.object({
39
+ q: _zod.z.string().trim().optional().default(""),
40
+ lat: _zod.z.coerce.number().optional(),
41
+ lng: _zod.z.coerce.number().optional(),
42
+ limit: _zod.z.coerce.number().int().min(1).max(50).default(20)
43
+ });
44
+ var minimum = _zod.z.object({
45
+ id: _zod.z.string(),
46
+ name: _zod.z.string(),
47
+ area: _zod.z.string(),
48
+ startLat: _zod.z.coerce.number(),
49
+ startLng: _zod.z.coerce.number(),
50
+ endLat: _zod.z.coerce.number(),
51
+ endLng: _zod.z.coerce.number(),
52
+ address: _zod.z.object({
53
+ city: _zod.z.string(),
54
+ state: _zod.z.string()
55
+ }),
56
+ metadata: _zod.z.object(),
57
+ landmarks: _zod.z.array(_zod.z.object({
58
+ id: _zod.z.string(),
59
+ label: _zod.z.string(),
60
+ type: _zod.z.string().optional().default(""),
61
+ distanceKm: _zod.z.coerce.number()
62
+ }))
63
+ });
64
+ var pickupLandmark = _zod.z.object({
65
+ id: _zod.z.string().optional(),
66
+ label: _zod.z.string(),
67
+ type: _zod.z.string().optional(),
68
+ distanceKm: _zod.z.coerce.number()
69
+ });
70
+ var save = _zod.z.object({
71
+ locationId: _zod.z.string().trim().nonempty("required"),
72
+ safariLocation: _zod.z.string().trim().nonempty("required"),
73
+ pickupLocation: _zod.z.string().trim().nonempty("required"),
74
+ pickupLandmarks: _zod.z.array(pickupLandmark)
75
+ });
76
+ var me2 = _zod.z.object({
77
+ location: minimum,
78
+ safariLocation: _zod.z.string(),
79
+ pickupLocation: _zod.z.string(),
80
+ pickupLandmarks: _zod.z.array(pickupLandmark),
81
+ completed: _zod.z.boolean()
82
+ });
83
+ var minimumList = _zod.z.array(minimum);
84
+
85
+ // src/safari/slot.ts
86
+ var slot_exports = {};
87
+ _chunk75ZPJI57cjs.__export.call(void 0, slot_exports, {
88
+ create: () => create,
89
+ me: () => me3,
90
+ meList: () => meList,
91
+ time12h: () => time12h,
92
+ update: () => update2
93
+ });
94
+
95
+ var TIME_12H = /^(0?[1-9]|1[0-2]):([0-5][0-9])(?:[\u00A0\u202F\s]*)?(AM|PM)$/i;
96
+ var time12h = _zod.z.string().trim().regex(TIME_12H, "Use format hh:mm AM/PM").transform((v) => {
97
+ const m = v.match(TIME_12H);
98
+ const hh = m[1];
99
+ const mm = m[2];
100
+ const meridian = m[3].toUpperCase();
101
+ let h = parseInt(hh, 10) % 12;
102
+ if (meridian === "PM") h += 12;
103
+ return h * 60 + parseInt(mm, 10);
104
+ });
105
+ var update2 = _zod.z.object({
106
+ id: _zod.z.string().trim().optional(),
107
+ name: _zod.z.string().trim().nonempty("required"),
108
+ description: _zod.z.string().trim().optional(),
109
+ startTime: time12h,
110
+ endTime: time12h,
111
+ minHour: _zod.z.coerce.number("invalid")
112
+ });
113
+ var create = _zod.z.object({
114
+ name: _zod.z.string().trim().nonempty("required"),
115
+ description: _zod.z.string().trim().optional(),
116
+ startTime: time12h,
117
+ endTime: time12h,
118
+ minHour: _zod.z.coerce.number("invalid")
119
+ });
120
+ var me3 = _zod.z.object({
121
+ id: _zod.z.string().trim(),
122
+ name: _zod.z.string().trim().nonempty("required"),
123
+ description: _zod.z.string().trim().optional(),
124
+ startTime: _zod.z.coerce.number(),
125
+ endTime: _zod.z.coerce.number(),
126
+ minHour: _zod.z.coerce.number("invalid")
127
+ });
128
+ var meList = _zod.z.array(me3);
129
+
130
+ // src/safari/operational-days.ts
131
+ var operational_days_exports = {};
132
+ _chunk75ZPJI57cjs.__export.call(void 0, operational_days_exports, {
133
+ Weekday: () => Weekday,
134
+ me: () => me4
135
+ });
136
+
137
+ var Weekday = _zod.z.enum([
138
+ "sunday",
139
+ "monday",
140
+ "tuesday",
141
+ "wednesday",
142
+ "thursday",
143
+ "friday",
144
+ "saturday"
145
+ ]);
146
+ var me4 = _zod.z.object({
147
+ operationalDays: _zod.z.array(Weekday).transform((arr) => Array.from(new Set(arr)))
148
+ });
149
+
150
+ // src/safari/vehicle-details.ts
151
+ var vehicle_details_exports = {};
152
+ _chunk75ZPJI57cjs.__export.call(void 0, vehicle_details_exports, {
153
+ me: () => me5,
154
+ save: () => save2
155
+ });
156
+
157
+ var me5 = _zod.z.object({
158
+ id: _zod.z.string(),
159
+ vehicleName: _zod.z.string().trim(),
160
+ registrationNumber: _zod.z.string().trim().toUpperCase(),
161
+ serviceRoutine: _zod.z.coerce.number(),
162
+ operatedSince: _zod.z.coerce.number().min(2010),
163
+ maxCapacity: _zod.z.coerce.number().min(2).max(15)
164
+ });
165
+ var save2 = _zod.z.object({
166
+ vehicleName: _zod.z.string().trim().nonempty("required"),
167
+ registrationNumber: _zod.z.string().trim().nonempty("required").toUpperCase(),
168
+ serviceRoutine: _zod.z.coerce.number("invalid"),
169
+ operatedSince: _zod.z.coerce.number("invalid").min(2010, "min"),
170
+ maxCapacity: _zod.z.coerce.number("invalid").min(2, "min").max(15, "max")
171
+ });
172
+
173
+ // src/safari/driver-details.ts
174
+ var driver_details_exports = {};
175
+ _chunk75ZPJI57cjs.__export.call(void 0, driver_details_exports, {
176
+ create: () => create2,
177
+ me: () => me6,
178
+ meList: () => meList2
179
+ });
180
+
181
+ var me6 = _zod.z.object({
182
+ id: _zod.z.string(),
183
+ driverName: _zod.z.string().trim(),
184
+ licenseNumber: _zod.z.string().trim().toUpperCase(),
185
+ experience: _zod.z.coerce.number()
186
+ });
187
+ var create2 = _zod.z.object({
188
+ driverName: _zod.z.string().trim().nonempty("required"),
189
+ licenseNumber: _zod.z.string().trim().nonempty("required").toUpperCase(),
190
+ experience: _zod.z.coerce.number().min(1, "min")
191
+ });
192
+ var meList2 = _zod.z.array(me6);
193
+
194
+ // src/safari/business-details.ts
195
+ var business_details_exports = {};
196
+ _chunk75ZPJI57cjs.__export.call(void 0, business_details_exports, {
197
+ create: () => create3,
198
+ me: () => me7
199
+ });
200
+
201
+ var me7 = _zod.z.object({
202
+ bankAccountNumber: _zod.z.string().trim(),
203
+ bankName: _zod.z.string().trim(),
204
+ accountHolderName: _zod.z.string().trim(),
205
+ gstNumber: _zod.z.string().trim().optional(),
206
+ businessNumber: _zod.z.string().trim().optional(),
207
+ ifscCode: _zod.z.string().trim()
208
+ });
209
+ var create3 = _zod.z.object({
210
+ bankAccountNumber: _zod.z.string().trim().nonempty("required"),
211
+ bankName: _zod.z.string().trim().nonempty("required"),
212
+ accountHolderName: _zod.z.string().trim().nonempty("required"),
213
+ ifscCode: _zod.z.string().trim().nonempty("required"),
214
+ gstNumber: _zod.z.string().trim().optional(),
215
+ businessNumber: _zod.z.string().trim().optional()
216
+ });
217
+
218
+ // src/safari/personal-details.ts
219
+ var personal_details_exports = {};
220
+ _chunk75ZPJI57cjs.__export.call(void 0, personal_details_exports, {
221
+ me: () => me8,
222
+ save: () => save3
223
+ });
224
+
225
+ var me8 = _zod.z.object({
226
+ adhaarNumber: _zod.z.string().trim(),
227
+ address: _zod.z.string().trim()
228
+ });
229
+ var save3 = _zod.z.object({
230
+ adhaarNumber: _zod.z.string().trim().nonempty("required"),
231
+ address: _zod.z.string().trim().nonempty("required")
232
+ });
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+ exports.BasicDetails = basic_details_exports; exports.BusinessDetails = business_details_exports; exports.DriverDetails = driver_details_exports; exports.Location = location_exports; exports.OperationalDays = operational_days_exports; exports.PersonalDetails = personal_details_exports; exports.Slot = slot_exports; exports.VehicleDetails = vehicle_details_exports;
@@ -1,30 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const sendOtp: z.ZodObject<{
4
- email: z.ZodEmail;
5
- }, z.core.$strip>;
6
- declare const verifyOtp: z.ZodObject<{
7
- otp: z.ZodString;
8
- email: z.ZodOptional<z.ZodString>;
9
- }, z.core.$strip>;
10
- declare const verifyOtpResponse: z.ZodObject<{
11
- id: z.ZodString;
12
- }, z.core.$strip>;
13
- type SafeSendOtp = z.output<typeof sendOtp>;
14
- type SafeVerifyOtp = z.output<typeof verifyOtp>;
15
- type SafeVerifyOtpResponse = z.output<typeof verifyOtpResponse>;
16
-
17
- type verifyEmail_SafeSendOtp = SafeSendOtp;
18
- type verifyEmail_SafeVerifyOtp = SafeVerifyOtp;
19
- type verifyEmail_SafeVerifyOtpResponse = SafeVerifyOtpResponse;
20
- declare const verifyEmail_sendOtp: typeof sendOtp;
21
- declare const verifyEmail_verifyOtp: typeof verifyOtp;
22
- declare const verifyEmail_verifyOtpResponse: typeof verifyOtpResponse;
23
- declare namespace verifyEmail {
24
- export { type verifyEmail_SafeSendOtp as SafeSendOtp, type verifyEmail_SafeVerifyOtp as SafeVerifyOtp, type verifyEmail_SafeVerifyOtpResponse as SafeVerifyOtpResponse, verifyEmail_sendOtp as sendOtp, verifyEmail_verifyOtp as verifyOtp, verifyEmail_verifyOtpResponse as verifyOtpResponse };
25
- }
26
-
27
- declare const me$3: z.ZodObject<{
3
+ declare const me$7: z.ZodObject<{
28
4
  id: z.ZodString;
29
5
  email: z.ZodString;
30
6
  name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -38,11 +14,11 @@ declare const update$1: z.ZodObject<{
38
14
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
39
15
  phoneNumber: z.ZodString;
40
16
  }, z.core.$strip>;
41
- type SafeMe$3 = z.infer<typeof me$3>;
17
+ type SafeMe$7 = z.infer<typeof me$7>;
42
18
  type SafeUpdate$1 = z.output<typeof update$1>;
43
19
 
44
20
  declare namespace basicDetails {
45
- export { type SafeMe$3 as SafeMe, type SafeUpdate$1 as SafeUpdate, me$3 as me, update$1 as update };
21
+ export { type SafeMe$7 as SafeMe, type SafeUpdate$1 as SafeUpdate, me$7 as me, update$1 as update };
46
22
  }
47
23
 
48
24
  declare const suggest: z.ZodObject<{
@@ -77,7 +53,7 @@ declare const pickupLandmark: z.ZodObject<{
77
53
  type: z.ZodOptional<z.ZodString>;
78
54
  distanceKm: z.ZodCoercedNumber<unknown>;
79
55
  }, z.core.$strip>;
80
- declare const save: z.ZodObject<{
56
+ declare const save$2: z.ZodObject<{
81
57
  locationId: z.ZodString;
82
58
  safariLocation: z.ZodString;
83
59
  pickupLocation: z.ZodString;
@@ -88,7 +64,7 @@ declare const save: z.ZodObject<{
88
64
  distanceKm: z.ZodCoercedNumber<unknown>;
89
65
  }, z.core.$strip>>;
90
66
  }, z.core.$strip>;
91
- declare const me$2: z.ZodObject<{
67
+ declare const me$6: z.ZodObject<{
92
68
  location: z.ZodObject<{
93
69
  id: z.ZodString;
94
70
  name: z.ZodString;
@@ -142,22 +118,20 @@ declare const minimumList: z.ZodArray<z.ZodObject<{
142
118
  type SafeMinimum = z.output<typeof minimum>;
143
119
  type SafeMinimumList = z.output<typeof minimum>;
144
120
  type SafeSuggest = z.output<typeof suggest>;
145
- type SafeSave = z.output<typeof save>;
146
- type SafeMe$2 = z.output<typeof me$2>;
121
+ type SafeSave$2 = z.output<typeof save$2>;
122
+ type SafeMe$6 = z.output<typeof me$6>;
147
123
  type SafePickupLandmark = z.output<typeof pickupLandmark>;
148
124
 
149
125
  type location_SafeMinimum = SafeMinimum;
150
126
  type location_SafeMinimumList = SafeMinimumList;
151
127
  type location_SafePickupLandmark = SafePickupLandmark;
152
- type location_SafeSave = SafeSave;
153
128
  type location_SafeSuggest = SafeSuggest;
154
129
  declare const location_minimum: typeof minimum;
155
130
  declare const location_minimumList: typeof minimumList;
156
131
  declare const location_pickupLandmark: typeof pickupLandmark;
157
- declare const location_save: typeof save;
158
132
  declare const location_suggest: typeof suggest;
159
133
  declare namespace location {
160
- export { type SafeMe$2 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafePickupLandmark as SafePickupLandmark, type location_SafeSave as SafeSave, type location_SafeSuggest as SafeSuggest, me$2 as me, location_minimum as minimum, location_minimumList as minimumList, location_pickupLandmark as pickupLandmark, location_save as save, location_suggest as suggest };
134
+ export { type SafeMe$6 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafePickupLandmark as SafePickupLandmark, type SafeSave$2 as SafeSave, type location_SafeSuggest as SafeSuggest, me$6 as me, location_minimum as minimum, location_minimumList as minimumList, location_pickupLandmark as pickupLandmark, save$2 as save, location_suggest as suggest };
161
135
  }
162
136
 
163
137
  declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
@@ -169,14 +143,14 @@ declare const update: z.ZodObject<{
169
143
  endTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
170
144
  minHour: z.ZodCoercedNumber<unknown>;
171
145
  }, z.core.$strip>;
172
- declare const create: z.ZodObject<{
146
+ declare const create$2: z.ZodObject<{
173
147
  name: z.ZodString;
174
148
  description: z.ZodOptional<z.ZodString>;
175
149
  startTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
176
150
  endTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
177
151
  minHour: z.ZodCoercedNumber<unknown>;
178
152
  }, z.core.$strip>;
179
- declare const me$1: z.ZodObject<{
153
+ declare const me$5: z.ZodObject<{
180
154
  id: z.ZodString;
181
155
  name: z.ZodString;
182
156
  description: z.ZodOptional<z.ZodString>;
@@ -184,7 +158,7 @@ declare const me$1: z.ZodObject<{
184
158
  endTime: z.ZodCoercedNumber<unknown>;
185
159
  minHour: z.ZodCoercedNumber<unknown>;
186
160
  }, z.core.$strip>;
187
- declare const meList: z.ZodArray<z.ZodObject<{
161
+ declare const meList$1: z.ZodArray<z.ZodObject<{
188
162
  id: z.ZodString;
189
163
  name: z.ZodString;
190
164
  description: z.ZodOptional<z.ZodString>;
@@ -192,20 +166,16 @@ declare const meList: z.ZodArray<z.ZodObject<{
192
166
  endTime: z.ZodCoercedNumber<unknown>;
193
167
  minHour: z.ZodCoercedNumber<unknown>;
194
168
  }, z.core.$strip>>;
195
- type SafeMe$1 = z.output<typeof me$1>;
196
- type SafeList = z.output<typeof meList>;
197
- type SafeCreate = z.output<typeof create>;
169
+ type SafeMe$5 = z.output<typeof me$5>;
170
+ type SafeList$1 = z.output<typeof meList$1>;
171
+ type SafeCreate$2 = z.output<typeof create$2>;
198
172
  type SafeUpdate = z.output<typeof update>;
199
173
 
200
- type slot_SafeCreate = SafeCreate;
201
- type slot_SafeList = SafeList;
202
174
  type slot_SafeUpdate = SafeUpdate;
203
- declare const slot_create: typeof create;
204
- declare const slot_meList: typeof meList;
205
175
  declare const slot_time12h: typeof time12h;
206
176
  declare const slot_update: typeof update;
207
177
  declare namespace slot {
208
- export { type slot_SafeCreate as SafeCreate, type slot_SafeList as SafeList, type SafeMe$1 as SafeMe, type slot_SafeUpdate as SafeUpdate, slot_create as create, me$1 as me, slot_meList as meList, slot_time12h as time12h, slot_update as update };
178
+ export { type SafeCreate$2 as SafeCreate, type SafeList$1 as SafeList, type SafeMe$5 as SafeMe, type slot_SafeUpdate as SafeUpdate, create$2 as create, me$5 as me, meList$1 as meList, slot_time12h as time12h, slot_update as update };
209
179
  }
210
180
 
211
181
  declare const Weekday: z.ZodEnum<{
@@ -217,7 +187,7 @@ declare const Weekday: z.ZodEnum<{
217
187
  friday: "friday";
218
188
  saturday: "saturday";
219
189
  }>;
220
- declare const me: z.ZodObject<{
190
+ declare const me$4: z.ZodObject<{
221
191
  operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
222
192
  sunday: "sunday";
223
193
  monday: "monday";
@@ -228,15 +198,106 @@ declare const me: z.ZodObject<{
228
198
  saturday: "saturday";
229
199
  }>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
230
200
  }, z.core.$strip>;
231
- type SafeMe = z.output<typeof me>;
201
+ type SafeMe$4 = z.output<typeof me$4>;
232
202
  type SafeWeekdays = z.output<typeof Weekday>;
233
203
 
234
- type operationalDays_SafeMe = SafeMe;
235
204
  type operationalDays_SafeWeekdays = SafeWeekdays;
236
205
  declare const operationalDays_Weekday: typeof Weekday;
237
- declare const operationalDays_me: typeof me;
238
206
  declare namespace operationalDays {
239
- export { type operationalDays_SafeMe as SafeMe, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, operationalDays_me as me };
207
+ export { type SafeMe$4 as SafeMe, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, me$4 as me };
208
+ }
209
+
210
+ declare const me$3: z.ZodObject<{
211
+ id: z.ZodString;
212
+ vehicleName: z.ZodString;
213
+ registrationNumber: z.ZodString;
214
+ serviceRoutine: z.ZodCoercedNumber<unknown>;
215
+ operatedSince: z.ZodCoercedNumber<unknown>;
216
+ maxCapacity: z.ZodCoercedNumber<unknown>;
217
+ }, z.core.$strip>;
218
+ declare const save$1: z.ZodObject<{
219
+ vehicleName: z.ZodString;
220
+ registrationNumber: z.ZodString;
221
+ serviceRoutine: z.ZodCoercedNumber<unknown>;
222
+ operatedSince: z.ZodCoercedNumber<unknown>;
223
+ maxCapacity: z.ZodCoercedNumber<unknown>;
224
+ }, z.core.$strip>;
225
+ type SafeMe$3 = z.infer<typeof me$3>;
226
+ type SafeSave$1 = z.output<typeof save$1>;
227
+
228
+ declare namespace vehicleDetails {
229
+ export { type SafeMe$3 as SafeMe, type SafeSave$1 as SafeSave, me$3 as me, save$1 as save };
230
+ }
231
+
232
+ declare const me$2: z.ZodObject<{
233
+ id: z.ZodString;
234
+ driverName: z.ZodString;
235
+ licenseNumber: z.ZodString;
236
+ experience: z.ZodCoercedNumber<unknown>;
237
+ }, z.core.$strip>;
238
+ declare const create$1: z.ZodObject<{
239
+ driverName: z.ZodString;
240
+ licenseNumber: z.ZodString;
241
+ experience: z.ZodCoercedNumber<unknown>;
242
+ }, z.core.$strip>;
243
+ declare const meList: z.ZodArray<z.ZodObject<{
244
+ id: z.ZodString;
245
+ driverName: z.ZodString;
246
+ licenseNumber: z.ZodString;
247
+ experience: z.ZodCoercedNumber<unknown>;
248
+ }, z.core.$strip>>;
249
+ type SafeMe$2 = z.infer<typeof me$2>;
250
+ type SafeCreate$1 = z.output<typeof create$1>;
251
+ type SafeList = z.output<typeof meList>;
252
+
253
+ type driverDetails_SafeList = SafeList;
254
+ declare const driverDetails_meList: typeof meList;
255
+ declare namespace driverDetails {
256
+ export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$2 as SafeMe, create$1 as create, me$2 as me, driverDetails_meList as meList };
257
+ }
258
+
259
+ declare const me$1: z.ZodObject<{
260
+ bankAccountNumber: z.ZodString;
261
+ bankName: z.ZodString;
262
+ accountHolderName: z.ZodString;
263
+ gstNumber: z.ZodOptional<z.ZodString>;
264
+ businessNumber: z.ZodOptional<z.ZodString>;
265
+ ifscCode: z.ZodString;
266
+ }, z.core.$strip>;
267
+ declare const create: z.ZodObject<{
268
+ bankAccountNumber: z.ZodString;
269
+ bankName: z.ZodString;
270
+ accountHolderName: z.ZodString;
271
+ ifscCode: z.ZodString;
272
+ gstNumber: z.ZodOptional<z.ZodString>;
273
+ businessNumber: z.ZodOptional<z.ZodString>;
274
+ }, z.core.$strip>;
275
+ type SafeMe$1 = z.infer<typeof me$1>;
276
+ type SafeCreate = z.output<typeof create>;
277
+
278
+ type businessDetails_SafeCreate = SafeCreate;
279
+ declare const businessDetails_create: typeof create;
280
+ declare namespace businessDetails {
281
+ export { type businessDetails_SafeCreate as SafeCreate, type SafeMe$1 as SafeMe, businessDetails_create as create, me$1 as me };
282
+ }
283
+
284
+ declare const me: z.ZodObject<{
285
+ adhaarNumber: z.ZodString;
286
+ address: z.ZodString;
287
+ }, z.core.$strip>;
288
+ declare const save: z.ZodObject<{
289
+ adhaarNumber: z.ZodString;
290
+ address: z.ZodString;
291
+ }, z.core.$strip>;
292
+ type SafeMe = z.infer<typeof me>;
293
+ type SafeSave = z.output<typeof save>;
294
+
295
+ type personalDetails_SafeMe = SafeMe;
296
+ type personalDetails_SafeSave = SafeSave;
297
+ declare const personalDetails_me: typeof me;
298
+ declare const personalDetails_save: typeof save;
299
+ declare namespace personalDetails {
300
+ export { type personalDetails_SafeMe as SafeMe, type personalDetails_SafeSave as SafeSave, personalDetails_me as me, personalDetails_save as save };
240
301
  }
241
302
 
242
- export { basicDetails as BasicDetails, location as Location, operationalDays as OperationalDays, slot as Slot, verifyEmail as VerifyEmail };
303
+ export { basicDetails as BasicDetails, businessDetails as BusinessDetails, driverDetails as DriverDetails, location as Location, operationalDays as OperationalDays, personalDetails as PersonalDetails, slot as Slot, vehicleDetails as VehicleDetails };