@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.
- package/dist/chunk-7TGIS3OW.js +257 -0
- package/dist/chunk-UA37PBHO.cjs +257 -0
- package/dist/chunk-WAQCUSA4.cjs +33 -0
- package/dist/chunk-WRA5B4FU.js +33 -0
- package/dist/common/index.cjs +3 -21
- package/dist/common/index.d.cts +2 -27
- package/dist/common/index.d.ts +2 -27
- package/dist/common/index.js +3 -21
- package/dist/index-Bv8ss_jR.d.cts +31 -0
- package/dist/index-Bv8ss_jR.d.ts +31 -0
- package/dist/index-CJRaz6vd.d.cts +307 -0
- package/dist/index-CJRaz6vd.d.ts +307 -0
- package/dist/index.cjs +11 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +11 -0
- package/dist/safari/index.cjs +19 -240
- package/dist/safari/index.d.cts +2 -303
- package/dist/safari/index.d.ts +2 -303
- package/dist/safari/index.js +10 -231
- package/package.json +2 -2
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
package/dist/safari/index.cjs
CHANGED
|
@@ -1,242 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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;
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkUA37PBHOcjs = require('../chunk-UA37PBHO.cjs');
|
|
11
|
+
require('../chunk-75ZPJI57.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
exports.BasicDetails = _chunkUA37PBHOcjs.basic_details_exports; exports.BusinessDetails = _chunkUA37PBHOcjs.business_details_exports; exports.DriverDetails = _chunkUA37PBHOcjs.driver_details_exports; exports.Location = _chunkUA37PBHOcjs.location_exports; exports.OperationalDays = _chunkUA37PBHOcjs.operational_days_exports; exports.PersonalDetails = _chunkUA37PBHOcjs.personal_details_exports; exports.Slot = _chunkUA37PBHOcjs.slot_exports; exports.VehicleDetails = _chunkUA37PBHOcjs.vehicle_details_exports;
|
package/dist/safari/index.d.cts
CHANGED
|
@@ -1,303 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const me$7: z.ZodObject<{
|
|
4
|
-
id: z.ZodString;
|
|
5
|
-
email: z.ZodString;
|
|
6
|
-
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7
|
-
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8
|
-
phoneNumber: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9
|
-
isPhoneVerified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
10
|
-
completed: z.ZodBoolean;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
declare const update$1: z.ZodObject<{
|
|
13
|
-
name: z.ZodString;
|
|
14
|
-
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15
|
-
phoneNumber: z.ZodString;
|
|
16
|
-
}, z.core.$strip>;
|
|
17
|
-
type SafeMe$7 = z.infer<typeof me$7>;
|
|
18
|
-
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
19
|
-
|
|
20
|
-
declare namespace basicDetails {
|
|
21
|
-
export { type SafeMe$7 as SafeMe, type SafeUpdate$1 as SafeUpdate, me$7 as me, update$1 as update };
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare const suggest: z.ZodObject<{
|
|
25
|
-
q: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
26
|
-
lat: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
27
|
-
lng: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
28
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
29
|
-
}, z.core.$strip>;
|
|
30
|
-
declare const minimum: z.ZodObject<{
|
|
31
|
-
id: z.ZodString;
|
|
32
|
-
name: z.ZodString;
|
|
33
|
-
area: z.ZodString;
|
|
34
|
-
startLat: z.ZodCoercedNumber<unknown>;
|
|
35
|
-
startLng: z.ZodCoercedNumber<unknown>;
|
|
36
|
-
endLat: z.ZodCoercedNumber<unknown>;
|
|
37
|
-
endLng: z.ZodCoercedNumber<unknown>;
|
|
38
|
-
address: z.ZodObject<{
|
|
39
|
-
city: z.ZodString;
|
|
40
|
-
state: z.ZodString;
|
|
41
|
-
}, z.core.$strip>;
|
|
42
|
-
metadata: z.ZodObject<{}, z.core.$strip>;
|
|
43
|
-
landmarks: z.ZodArray<z.ZodObject<{
|
|
44
|
-
id: z.ZodString;
|
|
45
|
-
label: z.ZodString;
|
|
46
|
-
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
47
|
-
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
48
|
-
}, z.core.$strip>>;
|
|
49
|
-
}, z.core.$strip>;
|
|
50
|
-
declare const pickupLandmark: z.ZodObject<{
|
|
51
|
-
id: z.ZodOptional<z.ZodString>;
|
|
52
|
-
label: z.ZodString;
|
|
53
|
-
type: z.ZodOptional<z.ZodString>;
|
|
54
|
-
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
55
|
-
}, z.core.$strip>;
|
|
56
|
-
declare const save$2: z.ZodObject<{
|
|
57
|
-
locationId: z.ZodString;
|
|
58
|
-
safariLocation: z.ZodString;
|
|
59
|
-
pickupLocation: z.ZodString;
|
|
60
|
-
pickupLandmarks: z.ZodArray<z.ZodObject<{
|
|
61
|
-
id: z.ZodOptional<z.ZodString>;
|
|
62
|
-
label: z.ZodString;
|
|
63
|
-
type: z.ZodOptional<z.ZodString>;
|
|
64
|
-
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
65
|
-
}, z.core.$strip>>;
|
|
66
|
-
}, z.core.$strip>;
|
|
67
|
-
declare const me$6: z.ZodObject<{
|
|
68
|
-
location: z.ZodObject<{
|
|
69
|
-
id: z.ZodString;
|
|
70
|
-
name: z.ZodString;
|
|
71
|
-
area: z.ZodString;
|
|
72
|
-
startLat: z.ZodCoercedNumber<unknown>;
|
|
73
|
-
startLng: z.ZodCoercedNumber<unknown>;
|
|
74
|
-
endLat: z.ZodCoercedNumber<unknown>;
|
|
75
|
-
endLng: z.ZodCoercedNumber<unknown>;
|
|
76
|
-
address: z.ZodObject<{
|
|
77
|
-
city: z.ZodString;
|
|
78
|
-
state: z.ZodString;
|
|
79
|
-
}, z.core.$strip>;
|
|
80
|
-
metadata: z.ZodObject<{}, z.core.$strip>;
|
|
81
|
-
landmarks: z.ZodArray<z.ZodObject<{
|
|
82
|
-
id: z.ZodString;
|
|
83
|
-
label: z.ZodString;
|
|
84
|
-
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
85
|
-
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
86
|
-
}, z.core.$strip>>;
|
|
87
|
-
}, z.core.$strip>;
|
|
88
|
-
safariLocation: z.ZodString;
|
|
89
|
-
pickupLocation: z.ZodString;
|
|
90
|
-
pickupLandmarks: z.ZodArray<z.ZodObject<{
|
|
91
|
-
id: z.ZodOptional<z.ZodString>;
|
|
92
|
-
label: z.ZodString;
|
|
93
|
-
type: z.ZodOptional<z.ZodString>;
|
|
94
|
-
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
95
|
-
}, z.core.$strip>>;
|
|
96
|
-
completed: z.ZodBoolean;
|
|
97
|
-
}, z.core.$strip>;
|
|
98
|
-
declare const minimumList: z.ZodArray<z.ZodObject<{
|
|
99
|
-
id: z.ZodString;
|
|
100
|
-
name: z.ZodString;
|
|
101
|
-
area: z.ZodString;
|
|
102
|
-
startLat: z.ZodCoercedNumber<unknown>;
|
|
103
|
-
startLng: z.ZodCoercedNumber<unknown>;
|
|
104
|
-
endLat: z.ZodCoercedNumber<unknown>;
|
|
105
|
-
endLng: z.ZodCoercedNumber<unknown>;
|
|
106
|
-
address: z.ZodObject<{
|
|
107
|
-
city: z.ZodString;
|
|
108
|
-
state: z.ZodString;
|
|
109
|
-
}, z.core.$strip>;
|
|
110
|
-
metadata: z.ZodObject<{}, z.core.$strip>;
|
|
111
|
-
landmarks: z.ZodArray<z.ZodObject<{
|
|
112
|
-
id: z.ZodString;
|
|
113
|
-
label: z.ZodString;
|
|
114
|
-
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
115
|
-
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
116
|
-
}, z.core.$strip>>;
|
|
117
|
-
}, z.core.$strip>>;
|
|
118
|
-
type SafeMinimum = z.output<typeof minimum>;
|
|
119
|
-
type SafeMinimumList = z.output<typeof minimum>;
|
|
120
|
-
type SafeSuggest = z.output<typeof suggest>;
|
|
121
|
-
type SafeSave$2 = z.output<typeof save$2>;
|
|
122
|
-
type SafeMe$6 = z.output<typeof me$6>;
|
|
123
|
-
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
124
|
-
|
|
125
|
-
type location_SafeMinimum = SafeMinimum;
|
|
126
|
-
type location_SafeMinimumList = SafeMinimumList;
|
|
127
|
-
type location_SafePickupLandmark = SafePickupLandmark;
|
|
128
|
-
type location_SafeSuggest = SafeSuggest;
|
|
129
|
-
declare const location_minimum: typeof minimum;
|
|
130
|
-
declare const location_minimumList: typeof minimumList;
|
|
131
|
-
declare const location_pickupLandmark: typeof pickupLandmark;
|
|
132
|
-
declare const location_suggest: typeof suggest;
|
|
133
|
-
declare namespace location {
|
|
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 };
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
138
|
-
declare const update: z.ZodObject<{
|
|
139
|
-
id: z.ZodOptional<z.ZodString>;
|
|
140
|
-
name: z.ZodString;
|
|
141
|
-
description: z.ZodOptional<z.ZodString>;
|
|
142
|
-
startTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
143
|
-
endTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
144
|
-
minHour: z.ZodCoercedNumber<unknown>;
|
|
145
|
-
}, z.core.$strip>;
|
|
146
|
-
declare const create$2: z.ZodObject<{
|
|
147
|
-
name: z.ZodString;
|
|
148
|
-
description: z.ZodOptional<z.ZodString>;
|
|
149
|
-
startTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
150
|
-
endTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
151
|
-
minHour: z.ZodCoercedNumber<unknown>;
|
|
152
|
-
}, z.core.$strip>;
|
|
153
|
-
declare const me$5: z.ZodObject<{
|
|
154
|
-
id: z.ZodString;
|
|
155
|
-
name: z.ZodString;
|
|
156
|
-
description: z.ZodOptional<z.ZodString>;
|
|
157
|
-
startTime: z.ZodCoercedNumber<unknown>;
|
|
158
|
-
endTime: z.ZodCoercedNumber<unknown>;
|
|
159
|
-
minHour: z.ZodCoercedNumber<unknown>;
|
|
160
|
-
}, z.core.$strip>;
|
|
161
|
-
declare const meList$1: z.ZodArray<z.ZodObject<{
|
|
162
|
-
id: z.ZodString;
|
|
163
|
-
name: z.ZodString;
|
|
164
|
-
description: z.ZodOptional<z.ZodString>;
|
|
165
|
-
startTime: z.ZodCoercedNumber<unknown>;
|
|
166
|
-
endTime: z.ZodCoercedNumber<unknown>;
|
|
167
|
-
minHour: z.ZodCoercedNumber<unknown>;
|
|
168
|
-
}, z.core.$strip>>;
|
|
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>;
|
|
172
|
-
type SafeUpdate = z.output<typeof update>;
|
|
173
|
-
|
|
174
|
-
type slot_SafeUpdate = SafeUpdate;
|
|
175
|
-
declare const slot_time12h: typeof time12h;
|
|
176
|
-
declare const slot_update: typeof update;
|
|
177
|
-
declare namespace slot {
|
|
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 };
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
declare const Weekday: z.ZodEnum<{
|
|
182
|
-
sunday: "sunday";
|
|
183
|
-
monday: "monday";
|
|
184
|
-
tuesday: "tuesday";
|
|
185
|
-
wednesday: "wednesday";
|
|
186
|
-
thursday: "thursday";
|
|
187
|
-
friday: "friday";
|
|
188
|
-
saturday: "saturday";
|
|
189
|
-
}>;
|
|
190
|
-
declare const me$4: z.ZodObject<{
|
|
191
|
-
operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
192
|
-
sunday: "sunday";
|
|
193
|
-
monday: "monday";
|
|
194
|
-
tuesday: "tuesday";
|
|
195
|
-
wednesday: "wednesday";
|
|
196
|
-
thursday: "thursday";
|
|
197
|
-
friday: "friday";
|
|
198
|
-
saturday: "saturday";
|
|
199
|
-
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
200
|
-
}, z.core.$strip>;
|
|
201
|
-
type SafeMe$4 = z.output<typeof me$4>;
|
|
202
|
-
type SafeWeekdays = z.output<typeof Weekday>;
|
|
203
|
-
|
|
204
|
-
type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
205
|
-
declare const operationalDays_Weekday: typeof Weekday;
|
|
206
|
-
declare namespace operationalDays {
|
|
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 };
|
|
301
|
-
}
|
|
302
|
-
|
|
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 };
|
|
1
|
+
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, v as VehicleDetails } from '../index-CJRaz6vd.cjs';
|
|
2
|
+
import 'zod';
|