@tripsam/onboarding 1.0.28 → 1.0.30

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,257 @@
1
+ import {
2
+ __export
3
+ } from "./chunk-MLKGABMK.js";
4
+
5
+ // src/safari/index.ts
6
+ var safari_exports = {};
7
+ __export(safari_exports, {
8
+ BasicDetails: () => basic_details_exports,
9
+ BusinessDetails: () => business_details_exports,
10
+ DriverDetails: () => driver_details_exports,
11
+ Location: () => location_exports,
12
+ OperationalDays: () => operational_days_exports,
13
+ PersonalDetails: () => personal_details_exports,
14
+ Slot: () => slot_exports,
15
+ VehicleDetails: () => vehicle_details_exports
16
+ });
17
+
18
+ // src/safari/basic-details.ts
19
+ var basic_details_exports = {};
20
+ __export(basic_details_exports, {
21
+ me: () => me,
22
+ update: () => update
23
+ });
24
+ import { z } from "zod";
25
+ var me = z.object({
26
+ id: z.string(),
27
+ email: z.string(),
28
+ name: z.string().trim().optional().default(""),
29
+ countryCode: z.string().optional().default("+91"),
30
+ phoneNumber: z.string().optional().default(""),
31
+ isPhoneVerified: z.boolean().optional().default(false),
32
+ completed: z.boolean()
33
+ });
34
+ var update = z.object({
35
+ name: z.string().nonempty("required").trim(),
36
+ countryCode: z.string().optional().default("+91"),
37
+ phoneNumber: z.string().nonempty("required")
38
+ });
39
+
40
+ // src/safari/location.ts
41
+ var location_exports = {};
42
+ __export(location_exports, {
43
+ me: () => me2,
44
+ minimum: () => minimum,
45
+ minimumList: () => minimumList,
46
+ pickupLandmark: () => pickupLandmark,
47
+ save: () => save,
48
+ suggest: () => suggest
49
+ });
50
+ import { z as z2 } from "zod";
51
+ var suggest = z2.object({
52
+ q: z2.string().trim().optional().default(""),
53
+ lat: z2.coerce.number().optional(),
54
+ lng: z2.coerce.number().optional(),
55
+ limit: z2.coerce.number().int().min(1).max(50).default(20)
56
+ });
57
+ var minimum = z2.object({
58
+ id: z2.string(),
59
+ name: z2.string(),
60
+ area: z2.string(),
61
+ startLat: z2.coerce.number(),
62
+ startLng: z2.coerce.number(),
63
+ endLat: z2.coerce.number(),
64
+ endLng: z2.coerce.number(),
65
+ address: z2.object({
66
+ city: z2.string(),
67
+ state: z2.string()
68
+ }),
69
+ metadata: z2.object(),
70
+ landmarks: z2.array(z2.object({
71
+ id: z2.string(),
72
+ label: z2.string(),
73
+ type: z2.string().optional().default(""),
74
+ distanceKm: z2.coerce.number()
75
+ }))
76
+ });
77
+ var pickupLandmark = z2.object({
78
+ id: z2.string().optional(),
79
+ label: z2.string(),
80
+ type: z2.string().optional(),
81
+ distanceKm: z2.coerce.number()
82
+ });
83
+ var save = z2.object({
84
+ locationId: z2.string().trim().nonempty("required"),
85
+ safariLocation: z2.string().trim().nonempty("required"),
86
+ pickupLocation: z2.string().trim().nonempty("required"),
87
+ pickupLandmarks: z2.array(pickupLandmark)
88
+ });
89
+ var me2 = z2.object({
90
+ location: minimum,
91
+ safariLocation: z2.string(),
92
+ pickupLocation: z2.string(),
93
+ pickupLandmarks: z2.array(pickupLandmark),
94
+ completed: z2.boolean()
95
+ });
96
+ var minimumList = z2.array(minimum);
97
+
98
+ // src/safari/slot.ts
99
+ var slot_exports = {};
100
+ __export(slot_exports, {
101
+ create: () => create,
102
+ me: () => me3,
103
+ meList: () => meList,
104
+ time12h: () => time12h,
105
+ update: () => update2
106
+ });
107
+ import { z as z3 } from "zod";
108
+ var TIME_12H = /^(0?[1-9]|1[0-2]):([0-5][0-9])(?:[\u00A0\u202F\s]*)?(AM|PM)$/i;
109
+ var time12h = z3.string().trim().regex(TIME_12H, "Use format hh:mm AM/PM").transform((v) => {
110
+ const m = v.match(TIME_12H);
111
+ const hh = m[1];
112
+ const mm = m[2];
113
+ const meridian = m[3].toUpperCase();
114
+ let h = parseInt(hh, 10) % 12;
115
+ if (meridian === "PM") h += 12;
116
+ return h * 60 + parseInt(mm, 10);
117
+ });
118
+ var update2 = z3.object({
119
+ id: z3.string().trim().optional(),
120
+ name: z3.string().trim().nonempty("required"),
121
+ description: z3.string().trim().optional(),
122
+ startTime: time12h,
123
+ endTime: time12h,
124
+ minHour: z3.coerce.number("invalid")
125
+ });
126
+ var create = z3.object({
127
+ name: z3.string().trim().nonempty("required"),
128
+ description: z3.string().trim().optional(),
129
+ startTime: time12h,
130
+ endTime: time12h,
131
+ minHour: z3.coerce.number("invalid")
132
+ });
133
+ var me3 = z3.object({
134
+ id: z3.string().trim(),
135
+ name: z3.string().trim().nonempty("required"),
136
+ description: z3.string().trim().optional(),
137
+ startTime: z3.coerce.number(),
138
+ endTime: z3.coerce.number(),
139
+ minHour: z3.coerce.number("invalid")
140
+ });
141
+ var meList = z3.array(me3);
142
+
143
+ // src/safari/operational-days.ts
144
+ var operational_days_exports = {};
145
+ __export(operational_days_exports, {
146
+ Weekday: () => Weekday,
147
+ me: () => me4
148
+ });
149
+ import { z as z4 } from "zod";
150
+ var Weekday = z4.enum([
151
+ "sunday",
152
+ "monday",
153
+ "tuesday",
154
+ "wednesday",
155
+ "thursday",
156
+ "friday",
157
+ "saturday"
158
+ ]);
159
+ var me4 = z4.object({
160
+ operationalDays: z4.array(Weekday).transform((arr) => Array.from(new Set(arr)))
161
+ });
162
+
163
+ // src/safari/vehicle-details.ts
164
+ var vehicle_details_exports = {};
165
+ __export(vehicle_details_exports, {
166
+ me: () => me5,
167
+ save: () => save2
168
+ });
169
+ import { z as z5 } from "zod";
170
+ var me5 = z5.object({
171
+ id: z5.string(),
172
+ vehicleName: z5.string().trim(),
173
+ registrationNumber: z5.string().trim().toUpperCase(),
174
+ serviceRoutine: z5.coerce.number(),
175
+ operatedSince: z5.coerce.number().min(2010),
176
+ maxCapacity: z5.coerce.number().min(2).max(15)
177
+ });
178
+ var save2 = z5.object({
179
+ vehicleName: z5.string().trim().nonempty("required"),
180
+ registrationNumber: z5.string().trim().nonempty("required").toUpperCase(),
181
+ serviceRoutine: z5.coerce.number("invalid"),
182
+ operatedSince: z5.coerce.number("invalid").min(2010, "min"),
183
+ maxCapacity: z5.coerce.number("invalid").min(2, "min").max(15, "max")
184
+ });
185
+
186
+ // src/safari/driver-details.ts
187
+ var driver_details_exports = {};
188
+ __export(driver_details_exports, {
189
+ create: () => create2,
190
+ me: () => me6,
191
+ meList: () => meList2
192
+ });
193
+ import { z as z6 } from "zod";
194
+ var me6 = z6.object({
195
+ id: z6.string(),
196
+ driverName: z6.string().trim(),
197
+ licenseNumber: z6.string().trim().toUpperCase(),
198
+ experience: z6.coerce.number()
199
+ });
200
+ var create2 = z6.object({
201
+ driverName: z6.string().trim().nonempty("required"),
202
+ licenseNumber: z6.string().trim().nonempty("required").toUpperCase(),
203
+ experience: z6.coerce.number().min(1, "min")
204
+ });
205
+ var meList2 = z6.array(me6);
206
+
207
+ // src/safari/business-details.ts
208
+ var business_details_exports = {};
209
+ __export(business_details_exports, {
210
+ create: () => create3,
211
+ me: () => me7
212
+ });
213
+ import { z as z7 } from "zod";
214
+ var me7 = z7.object({
215
+ bankAccountNumber: z7.string().trim(),
216
+ bankName: z7.string().trim(),
217
+ accountHolderName: z7.string().trim(),
218
+ gstNumber: z7.string().trim().optional(),
219
+ businessNumber: z7.string().trim().optional(),
220
+ ifscCode: z7.string().trim()
221
+ });
222
+ var create3 = z7.object({
223
+ bankAccountNumber: z7.string().trim().nonempty("required"),
224
+ bankName: z7.string().trim().nonempty("required"),
225
+ accountHolderName: z7.string().trim().nonempty("required"),
226
+ ifscCode: z7.string().trim().nonempty("required"),
227
+ gstNumber: z7.string().trim().optional(),
228
+ businessNumber: z7.string().trim().optional()
229
+ });
230
+
231
+ // src/safari/personal-details.ts
232
+ var personal_details_exports = {};
233
+ __export(personal_details_exports, {
234
+ me: () => me8,
235
+ save: () => save3
236
+ });
237
+ import { z as z8 } from "zod";
238
+ var me8 = z8.object({
239
+ adhaarNumber: z8.string().trim(),
240
+ address: z8.string().trim()
241
+ });
242
+ var save3 = z8.object({
243
+ adhaarNumber: z8.string().trim().nonempty("required"),
244
+ address: z8.string().trim().nonempty("required")
245
+ });
246
+
247
+ export {
248
+ basic_details_exports,
249
+ location_exports,
250
+ slot_exports,
251
+ operational_days_exports,
252
+ vehicle_details_exports,
253
+ driver_details_exports,
254
+ business_details_exports,
255
+ personal_details_exports,
256
+ safari_exports
257
+ };
@@ -0,0 +1,257 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
4
+
5
+ // src/safari/index.ts
6
+ var safari_exports = {};
7
+ _chunk75ZPJI57cjs.__export.call(void 0, safari_exports, {
8
+ BasicDetails: () => basic_details_exports,
9
+ BusinessDetails: () => business_details_exports,
10
+ DriverDetails: () => driver_details_exports,
11
+ Location: () => location_exports,
12
+ OperationalDays: () => operational_days_exports,
13
+ PersonalDetails: () => personal_details_exports,
14
+ Slot: () => slot_exports,
15
+ VehicleDetails: () => vehicle_details_exports
16
+ });
17
+
18
+ // src/safari/basic-details.ts
19
+ var basic_details_exports = {};
20
+ _chunk75ZPJI57cjs.__export.call(void 0, basic_details_exports, {
21
+ me: () => me,
22
+ update: () => update
23
+ });
24
+ var _zod = require('zod');
25
+ var me = _zod.z.object({
26
+ id: _zod.z.string(),
27
+ email: _zod.z.string(),
28
+ name: _zod.z.string().trim().optional().default(""),
29
+ countryCode: _zod.z.string().optional().default("+91"),
30
+ phoneNumber: _zod.z.string().optional().default(""),
31
+ isPhoneVerified: _zod.z.boolean().optional().default(false),
32
+ completed: _zod.z.boolean()
33
+ });
34
+ var update = _zod.z.object({
35
+ name: _zod.z.string().nonempty("required").trim(),
36
+ countryCode: _zod.z.string().optional().default("+91"),
37
+ phoneNumber: _zod.z.string().nonempty("required")
38
+ });
39
+
40
+ // src/safari/location.ts
41
+ var location_exports = {};
42
+ _chunk75ZPJI57cjs.__export.call(void 0, location_exports, {
43
+ me: () => me2,
44
+ minimum: () => minimum,
45
+ minimumList: () => minimumList,
46
+ pickupLandmark: () => pickupLandmark,
47
+ save: () => save,
48
+ suggest: () => suggest
49
+ });
50
+
51
+ var suggest = _zod.z.object({
52
+ q: _zod.z.string().trim().optional().default(""),
53
+ lat: _zod.z.coerce.number().optional(),
54
+ lng: _zod.z.coerce.number().optional(),
55
+ limit: _zod.z.coerce.number().int().min(1).max(50).default(20)
56
+ });
57
+ var minimum = _zod.z.object({
58
+ id: _zod.z.string(),
59
+ name: _zod.z.string(),
60
+ area: _zod.z.string(),
61
+ startLat: _zod.z.coerce.number(),
62
+ startLng: _zod.z.coerce.number(),
63
+ endLat: _zod.z.coerce.number(),
64
+ endLng: _zod.z.coerce.number(),
65
+ address: _zod.z.object({
66
+ city: _zod.z.string(),
67
+ state: _zod.z.string()
68
+ }),
69
+ metadata: _zod.z.object(),
70
+ landmarks: _zod.z.array(_zod.z.object({
71
+ id: _zod.z.string(),
72
+ label: _zod.z.string(),
73
+ type: _zod.z.string().optional().default(""),
74
+ distanceKm: _zod.z.coerce.number()
75
+ }))
76
+ });
77
+ var pickupLandmark = _zod.z.object({
78
+ id: _zod.z.string().optional(),
79
+ label: _zod.z.string(),
80
+ type: _zod.z.string().optional(),
81
+ distanceKm: _zod.z.coerce.number()
82
+ });
83
+ var save = _zod.z.object({
84
+ locationId: _zod.z.string().trim().nonempty("required"),
85
+ safariLocation: _zod.z.string().trim().nonempty("required"),
86
+ pickupLocation: _zod.z.string().trim().nonempty("required"),
87
+ pickupLandmarks: _zod.z.array(pickupLandmark)
88
+ });
89
+ var me2 = _zod.z.object({
90
+ location: minimum,
91
+ safariLocation: _zod.z.string(),
92
+ pickupLocation: _zod.z.string(),
93
+ pickupLandmarks: _zod.z.array(pickupLandmark),
94
+ completed: _zod.z.boolean()
95
+ });
96
+ var minimumList = _zod.z.array(minimum);
97
+
98
+ // src/safari/slot.ts
99
+ var slot_exports = {};
100
+ _chunk75ZPJI57cjs.__export.call(void 0, slot_exports, {
101
+ create: () => create,
102
+ me: () => me3,
103
+ meList: () => meList,
104
+ time12h: () => time12h,
105
+ update: () => update2
106
+ });
107
+
108
+ var TIME_12H = /^(0?[1-9]|1[0-2]):([0-5][0-9])(?:[\u00A0\u202F\s]*)?(AM|PM)$/i;
109
+ var time12h = _zod.z.string().trim().regex(TIME_12H, "Use format hh:mm AM/PM").transform((v) => {
110
+ const m = v.match(TIME_12H);
111
+ const hh = m[1];
112
+ const mm = m[2];
113
+ const meridian = m[3].toUpperCase();
114
+ let h = parseInt(hh, 10) % 12;
115
+ if (meridian === "PM") h += 12;
116
+ return h * 60 + parseInt(mm, 10);
117
+ });
118
+ var update2 = _zod.z.object({
119
+ id: _zod.z.string().trim().optional(),
120
+ name: _zod.z.string().trim().nonempty("required"),
121
+ description: _zod.z.string().trim().optional(),
122
+ startTime: time12h,
123
+ endTime: time12h,
124
+ minHour: _zod.z.coerce.number("invalid")
125
+ });
126
+ var create = _zod.z.object({
127
+ name: _zod.z.string().trim().nonempty("required"),
128
+ description: _zod.z.string().trim().optional(),
129
+ startTime: time12h,
130
+ endTime: time12h,
131
+ minHour: _zod.z.coerce.number("invalid")
132
+ });
133
+ var me3 = _zod.z.object({
134
+ id: _zod.z.string().trim(),
135
+ name: _zod.z.string().trim().nonempty("required"),
136
+ description: _zod.z.string().trim().optional(),
137
+ startTime: _zod.z.coerce.number(),
138
+ endTime: _zod.z.coerce.number(),
139
+ minHour: _zod.z.coerce.number("invalid")
140
+ });
141
+ var meList = _zod.z.array(me3);
142
+
143
+ // src/safari/operational-days.ts
144
+ var operational_days_exports = {};
145
+ _chunk75ZPJI57cjs.__export.call(void 0, operational_days_exports, {
146
+ Weekday: () => Weekday,
147
+ me: () => me4
148
+ });
149
+
150
+ var Weekday = _zod.z.enum([
151
+ "sunday",
152
+ "monday",
153
+ "tuesday",
154
+ "wednesday",
155
+ "thursday",
156
+ "friday",
157
+ "saturday"
158
+ ]);
159
+ var me4 = _zod.z.object({
160
+ operationalDays: _zod.z.array(Weekday).transform((arr) => Array.from(new Set(arr)))
161
+ });
162
+
163
+ // src/safari/vehicle-details.ts
164
+ var vehicle_details_exports = {};
165
+ _chunk75ZPJI57cjs.__export.call(void 0, vehicle_details_exports, {
166
+ me: () => me5,
167
+ save: () => save2
168
+ });
169
+
170
+ var me5 = _zod.z.object({
171
+ id: _zod.z.string(),
172
+ vehicleName: _zod.z.string().trim(),
173
+ registrationNumber: _zod.z.string().trim().toUpperCase(),
174
+ serviceRoutine: _zod.z.coerce.number(),
175
+ operatedSince: _zod.z.coerce.number().min(2010),
176
+ maxCapacity: _zod.z.coerce.number().min(2).max(15)
177
+ });
178
+ var save2 = _zod.z.object({
179
+ vehicleName: _zod.z.string().trim().nonempty("required"),
180
+ registrationNumber: _zod.z.string().trim().nonempty("required").toUpperCase(),
181
+ serviceRoutine: _zod.z.coerce.number("invalid"),
182
+ operatedSince: _zod.z.coerce.number("invalid").min(2010, "min"),
183
+ maxCapacity: _zod.z.coerce.number("invalid").min(2, "min").max(15, "max")
184
+ });
185
+
186
+ // src/safari/driver-details.ts
187
+ var driver_details_exports = {};
188
+ _chunk75ZPJI57cjs.__export.call(void 0, driver_details_exports, {
189
+ create: () => create2,
190
+ me: () => me6,
191
+ meList: () => meList2
192
+ });
193
+
194
+ var me6 = _zod.z.object({
195
+ id: _zod.z.string(),
196
+ driverName: _zod.z.string().trim(),
197
+ licenseNumber: _zod.z.string().trim().toUpperCase(),
198
+ experience: _zod.z.coerce.number()
199
+ });
200
+ var create2 = _zod.z.object({
201
+ driverName: _zod.z.string().trim().nonempty("required"),
202
+ licenseNumber: _zod.z.string().trim().nonempty("required").toUpperCase(),
203
+ experience: _zod.z.coerce.number().min(1, "min")
204
+ });
205
+ var meList2 = _zod.z.array(me6);
206
+
207
+ // src/safari/business-details.ts
208
+ var business_details_exports = {};
209
+ _chunk75ZPJI57cjs.__export.call(void 0, business_details_exports, {
210
+ create: () => create3,
211
+ me: () => me7
212
+ });
213
+
214
+ var me7 = _zod.z.object({
215
+ bankAccountNumber: _zod.z.string().trim(),
216
+ bankName: _zod.z.string().trim(),
217
+ accountHolderName: _zod.z.string().trim(),
218
+ gstNumber: _zod.z.string().trim().optional(),
219
+ businessNumber: _zod.z.string().trim().optional(),
220
+ ifscCode: _zod.z.string().trim()
221
+ });
222
+ var create3 = _zod.z.object({
223
+ bankAccountNumber: _zod.z.string().trim().nonempty("required"),
224
+ bankName: _zod.z.string().trim().nonempty("required"),
225
+ accountHolderName: _zod.z.string().trim().nonempty("required"),
226
+ ifscCode: _zod.z.string().trim().nonempty("required"),
227
+ gstNumber: _zod.z.string().trim().optional(),
228
+ businessNumber: _zod.z.string().trim().optional()
229
+ });
230
+
231
+ // src/safari/personal-details.ts
232
+ var personal_details_exports = {};
233
+ _chunk75ZPJI57cjs.__export.call(void 0, personal_details_exports, {
234
+ me: () => me8,
235
+ save: () => save3
236
+ });
237
+
238
+ var me8 = _zod.z.object({
239
+ adhaarNumber: _zod.z.string().trim(),
240
+ address: _zod.z.string().trim()
241
+ });
242
+ var save3 = _zod.z.object({
243
+ adhaarNumber: _zod.z.string().trim().nonempty("required"),
244
+ address: _zod.z.string().trim().nonempty("required")
245
+ });
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+ exports.basic_details_exports = basic_details_exports; exports.location_exports = location_exports; exports.slot_exports = slot_exports; exports.operational_days_exports = operational_days_exports; exports.vehicle_details_exports = vehicle_details_exports; exports.driver_details_exports = driver_details_exports; exports.business_details_exports = business_details_exports; exports.personal_details_exports = personal_details_exports; exports.safari_exports = safari_exports;
@@ -0,0 +1,33 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
4
+
5
+ // src/common/index.ts
6
+ var common_exports = {};
7
+ _chunk75ZPJI57cjs.__export.call(void 0, common_exports, {
8
+ VerifyEmail: () => verify_email_exports
9
+ });
10
+
11
+ // src/common/verify-email.ts
12
+ var verify_email_exports = {};
13
+ _chunk75ZPJI57cjs.__export.call(void 0, verify_email_exports, {
14
+ sendOtp: () => sendOtp,
15
+ verifyOtp: () => verifyOtp,
16
+ verifyOtpResponse: () => verifyOtpResponse
17
+ });
18
+ var _zod = require('zod');
19
+ var sendOtp = _zod.z.object({
20
+ email: _zod.z.email("invalid").nonempty("required").trim().toLowerCase()
21
+ });
22
+ var verifyOtp = _zod.z.object({
23
+ otp: _zod.z.string().min(4, { message: "required" }),
24
+ email: _zod.z.string().optional()
25
+ });
26
+ var verifyOtpResponse = _zod.z.object({
27
+ id: _zod.z.string()
28
+ });
29
+
30
+
31
+
32
+
33
+ exports.verify_email_exports = verify_email_exports; exports.common_exports = common_exports;
@@ -0,0 +1,33 @@
1
+ import {
2
+ __export
3
+ } from "./chunk-MLKGABMK.js";
4
+
5
+ // src/common/index.ts
6
+ var common_exports = {};
7
+ __export(common_exports, {
8
+ VerifyEmail: () => verify_email_exports
9
+ });
10
+
11
+ // src/common/verify-email.ts
12
+ var verify_email_exports = {};
13
+ __export(verify_email_exports, {
14
+ sendOtp: () => sendOtp,
15
+ verifyOtp: () => verifyOtp,
16
+ verifyOtpResponse: () => verifyOtpResponse
17
+ });
18
+ import { z } from "zod";
19
+ var sendOtp = z.object({
20
+ email: z.email("invalid").nonempty("required").trim().toLowerCase()
21
+ });
22
+ var verifyOtp = z.object({
23
+ otp: z.string().min(4, { message: "required" }),
24
+ email: z.string().optional()
25
+ });
26
+ var verifyOtpResponse = z.object({
27
+ id: z.string()
28
+ });
29
+
30
+ export {
31
+ verify_email_exports,
32
+ common_exports
33
+ };
@@ -1,25 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk75ZPJI57cjs = require('../chunk-75ZPJI57.cjs');
3
+ var _chunkWAQCUSA4cjs = require('../chunk-WAQCUSA4.cjs');
4
+ require('../chunk-75ZPJI57.cjs');
4
5
 
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
6
 
24
-
25
- exports.VerifyEmail = verify_email_exports;
7
+ exports.VerifyEmail = _chunkWAQCUSA4cjs.verify_email_exports;
@@ -1,27 +1,2 @@
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 };
1
+ export { v as VerifyEmail } from '../index-Bv8ss_jR.cjs';
2
+ import 'zod';
@@ -1,27 +1,2 @@
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 };
1
+ export { v as VerifyEmail } from '../index-Bv8ss_jR.js';
2
+ import 'zod';
@@ -1,25 +1,7 @@
1
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
- });
2
+ verify_email_exports
3
+ } from "../chunk-WRA5B4FU.js";
4
+ import "../chunk-MLKGABMK.js";
23
5
  export {
24
6
  verify_email_exports as VerifyEmail
25
7
  };