@tripsam/onboarding 1.0.24 → 1.0.25
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.
- package/dist/chunk-75ZPJI57.cjs +9 -0
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/common/index.cjs +25 -0
- package/dist/common/index.d.cts +27 -0
- package/dist/common/index.d.ts +27 -0
- package/dist/common/index.js +25 -0
- package/dist/safari/index.cjs +244 -0
- package/dist/{index.d.cts → safari/index.d.cts} +121 -51
- package/dist/{index.d.ts → safari/index.d.ts} +121 -51
- package/dist/safari/index.js +244 -0
- package/package.json +11 -6
- package/dist/index.cjs +0 -201
- package/dist/index.js +0 -176
|
@@ -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,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,244 @@
|
|
|
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
|
+
create: () => create2,
|
|
154
|
+
me: () => me5,
|
|
155
|
+
meList: () => meList2
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
var me5 = _zod.z.object({
|
|
159
|
+
id: _zod.z.string(),
|
|
160
|
+
vehicleName: _zod.z.string().trim(),
|
|
161
|
+
registrationNumber: _zod.z.string().trim().toUpperCase(),
|
|
162
|
+
serviceRoutine: _zod.z.coerce.number(),
|
|
163
|
+
operatedSince: _zod.z.coerce.number().min(2010),
|
|
164
|
+
maxCapacity: _zod.z.coerce.number().min(2).max(15)
|
|
165
|
+
});
|
|
166
|
+
var create2 = _zod.z.object({
|
|
167
|
+
vehicleName: _zod.z.string().trim().nonempty("required"),
|
|
168
|
+
registrationNumber: _zod.z.string().trim().nonempty("required").toUpperCase(),
|
|
169
|
+
serviceRoutine: _zod.z.coerce.number("invalid"),
|
|
170
|
+
operatedSince: _zod.z.coerce.number("invalid").min(2010, "min"),
|
|
171
|
+
maxCapacity: _zod.z.coerce.number("invalid").min(2, "min").max(15, "max")
|
|
172
|
+
});
|
|
173
|
+
var meList2 = _zod.z.array(me5);
|
|
174
|
+
|
|
175
|
+
// src/safari/driver-details.ts
|
|
176
|
+
var driver_details_exports = {};
|
|
177
|
+
_chunk75ZPJI57cjs.__export.call(void 0, driver_details_exports, {
|
|
178
|
+
create: () => create3,
|
|
179
|
+
me: () => me6,
|
|
180
|
+
meList: () => meList3
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
var me6 = _zod.z.object({
|
|
184
|
+
id: _zod.z.string(),
|
|
185
|
+
driverName: _zod.z.string().trim(),
|
|
186
|
+
licenseNumber: _zod.z.string().trim().toUpperCase(),
|
|
187
|
+
experience: _zod.z.coerce.number()
|
|
188
|
+
});
|
|
189
|
+
var create3 = _zod.z.object({
|
|
190
|
+
driverName: _zod.z.string().trim().nonempty("required"),
|
|
191
|
+
licenseNumber: _zod.z.string().trim().nonempty("required").toUpperCase(),
|
|
192
|
+
experience: _zod.z.coerce.number().min(1, "min")
|
|
193
|
+
});
|
|
194
|
+
var meList3 = _zod.z.array(me6);
|
|
195
|
+
|
|
196
|
+
// src/safari/business-details.ts
|
|
197
|
+
var business_details_exports = {};
|
|
198
|
+
_chunk75ZPJI57cjs.__export.call(void 0, business_details_exports, {
|
|
199
|
+
create: () => create4,
|
|
200
|
+
me: () => me7
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
var me7 = _zod.z.object({
|
|
204
|
+
bankAccountNumber: _zod.z.string().trim(),
|
|
205
|
+
bankName: _zod.z.string().trim(),
|
|
206
|
+
accountHolderName: _zod.z.string().trim(),
|
|
207
|
+
gstNumber: _zod.z.string().trim().optional(),
|
|
208
|
+
businessNumber: _zod.z.string().trim().optional(),
|
|
209
|
+
ifscCode: _zod.z.string().trim()
|
|
210
|
+
});
|
|
211
|
+
var create4 = _zod.z.object({
|
|
212
|
+
bankAccountNumber: _zod.z.string().trim().nonempty("required"),
|
|
213
|
+
bankName: _zod.z.string().trim().nonempty("required"),
|
|
214
|
+
accountHolderName: _zod.z.string().trim().nonempty("required"),
|
|
215
|
+
ifscCode: _zod.z.string().trim().nonempty("required"),
|
|
216
|
+
gstNumber: _zod.z.string().trim().optional(),
|
|
217
|
+
businessNumber: _zod.z.string().trim().optional()
|
|
218
|
+
});
|
|
219
|
+
|
|
220
|
+
// src/safari/personal-details.ts
|
|
221
|
+
var personal_details_exports = {};
|
|
222
|
+
_chunk75ZPJI57cjs.__export.call(void 0, personal_details_exports, {
|
|
223
|
+
me: () => me8,
|
|
224
|
+
save: () => save2
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
var me8 = _zod.z.object({
|
|
228
|
+
adhaarNumber: _zod.z.string().trim(),
|
|
229
|
+
address: _zod.z.string().trim()
|
|
230
|
+
});
|
|
231
|
+
var save2 = _zod.z.object({
|
|
232
|
+
adhaarNumber: _zod.z.string().trim().nonempty("required"),
|
|
233
|
+
address: _zod.z.string().trim().nonempty("required")
|
|
234
|
+
});
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
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
|
|
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$
|
|
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$
|
|
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$1: 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$
|
|
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$
|
|
121
|
+
type SafeSave$1 = z.output<typeof save$1>;
|
|
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$
|
|
134
|
+
export { type SafeMe$6 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafePickupLandmark as SafePickupLandmark, type SafeSave$1 as SafeSave, type location_SafeSuggest as SafeSuggest, me$6 as me, location_minimum as minimum, location_minimumList as minimumList, location_pickupLandmark as pickupLandmark, save$1 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$3: 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$
|
|
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$2: 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$
|
|
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$2 = z.output<typeof meList$2>;
|
|
171
|
+
type SafeCreate$3 = z.output<typeof create$3>;
|
|
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
|
|
178
|
+
export { type SafeCreate$3 as SafeCreate, type SafeList$2 as SafeList, type SafeMe$5 as SafeMe, type slot_SafeUpdate as SafeUpdate, create$3 as create, me$5 as me, meList$2 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,115 @@ 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
|
|
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 create$2: 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
|
+
declare const meList$1: z.ZodArray<z.ZodObject<{
|
|
226
|
+
id: z.ZodString;
|
|
227
|
+
vehicleName: z.ZodString;
|
|
228
|
+
registrationNumber: z.ZodString;
|
|
229
|
+
serviceRoutine: z.ZodCoercedNumber<unknown>;
|
|
230
|
+
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
231
|
+
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
232
|
+
}, z.core.$strip>>;
|
|
233
|
+
type SafeMe$3 = z.infer<typeof me$3>;
|
|
234
|
+
type SafeCreate$2 = z.output<typeof create$2>;
|
|
235
|
+
type SafeList$1 = z.output<typeof meList$1>;
|
|
236
|
+
|
|
237
|
+
declare namespace vehicleDetails {
|
|
238
|
+
export { type SafeCreate$2 as SafeCreate, type SafeList$1 as SafeList, type SafeMe$3 as SafeMe, create$2 as create, me$3 as me, meList$1 as meList };
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
declare const me$2: z.ZodObject<{
|
|
242
|
+
id: z.ZodString;
|
|
243
|
+
driverName: z.ZodString;
|
|
244
|
+
licenseNumber: z.ZodString;
|
|
245
|
+
experience: z.ZodCoercedNumber<unknown>;
|
|
246
|
+
}, z.core.$strip>;
|
|
247
|
+
declare const create$1: z.ZodObject<{
|
|
248
|
+
driverName: z.ZodString;
|
|
249
|
+
licenseNumber: z.ZodString;
|
|
250
|
+
experience: z.ZodCoercedNumber<unknown>;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
declare const meList: z.ZodArray<z.ZodObject<{
|
|
253
|
+
id: z.ZodString;
|
|
254
|
+
driverName: z.ZodString;
|
|
255
|
+
licenseNumber: z.ZodString;
|
|
256
|
+
experience: z.ZodCoercedNumber<unknown>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
type SafeMe$2 = z.infer<typeof me$2>;
|
|
259
|
+
type SafeCreate$1 = z.output<typeof create$1>;
|
|
260
|
+
type SafeList = z.output<typeof meList>;
|
|
261
|
+
|
|
262
|
+
type driverDetails_SafeList = SafeList;
|
|
263
|
+
declare const driverDetails_meList: typeof meList;
|
|
264
|
+
declare namespace driverDetails {
|
|
265
|
+
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 };
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
declare const me$1: z.ZodObject<{
|
|
269
|
+
bankAccountNumber: z.ZodString;
|
|
270
|
+
bankName: z.ZodString;
|
|
271
|
+
accountHolderName: z.ZodString;
|
|
272
|
+
gstNumber: z.ZodOptional<z.ZodString>;
|
|
273
|
+
businessNumber: z.ZodOptional<z.ZodString>;
|
|
274
|
+
ifscCode: z.ZodString;
|
|
275
|
+
}, z.core.$strip>;
|
|
276
|
+
declare const create: z.ZodObject<{
|
|
277
|
+
bankAccountNumber: z.ZodString;
|
|
278
|
+
bankName: z.ZodString;
|
|
279
|
+
accountHolderName: z.ZodString;
|
|
280
|
+
ifscCode: z.ZodString;
|
|
281
|
+
gstNumber: z.ZodOptional<z.ZodString>;
|
|
282
|
+
businessNumber: z.ZodOptional<z.ZodString>;
|
|
283
|
+
}, z.core.$strip>;
|
|
284
|
+
type SafeMe$1 = z.infer<typeof me$1>;
|
|
285
|
+
type SafeCreate = z.output<typeof create>;
|
|
286
|
+
|
|
287
|
+
type businessDetails_SafeCreate = SafeCreate;
|
|
288
|
+
declare const businessDetails_create: typeof create;
|
|
289
|
+
declare namespace businessDetails {
|
|
290
|
+
export { type businessDetails_SafeCreate as SafeCreate, type SafeMe$1 as SafeMe, businessDetails_create as create, me$1 as me };
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
declare const me: z.ZodObject<{
|
|
294
|
+
adhaarNumber: z.ZodString;
|
|
295
|
+
address: z.ZodString;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
declare const save: z.ZodObject<{
|
|
298
|
+
adhaarNumber: z.ZodString;
|
|
299
|
+
address: z.ZodString;
|
|
300
|
+
}, z.core.$strip>;
|
|
301
|
+
type SafeMe = z.infer<typeof me>;
|
|
302
|
+
type SafeSave = z.output<typeof save>;
|
|
303
|
+
|
|
304
|
+
type personalDetails_SafeMe = SafeMe;
|
|
305
|
+
type personalDetails_SafeSave = SafeSave;
|
|
306
|
+
declare const personalDetails_me: typeof me;
|
|
307
|
+
declare const personalDetails_save: typeof save;
|
|
308
|
+
declare namespace personalDetails {
|
|
309
|
+
export { type personalDetails_SafeMe as SafeMe, type personalDetails_SafeSave as SafeSave, personalDetails_me as me, personalDetails_save as save };
|
|
240
310
|
}
|
|
241
311
|
|
|
242
|
-
export { basicDetails as BasicDetails, location as Location, operationalDays as OperationalDays, slot as Slot,
|
|
312
|
+
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 };
|