@tripsam/onboarding 1.0.60 → 1.0.62
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/{index-CH-Bc-FN.d.cts → index-zE10voY_.d.cts} +60 -31
- package/dist/{index-CH-Bc-FN.d.ts → index-zE10voY_.d.ts} +60 -31
- package/dist/index.cjs +22 -14
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +22 -14
- package/dist/safari/index.cjs +22 -14
- package/dist/safari/index.d.cts +1 -1
- package/dist/safari/index.d.ts +1 -1
- package/dist/safari/index.js +22 -14
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ declare const safeSas: z.ZodEnum<{
|
|
|
19
19
|
jungle_safari: "jungle_safari";
|
|
20
20
|
}>;
|
|
21
21
|
type SafariType = keyof typeof safariTypes;
|
|
22
|
-
declare const get$
|
|
22
|
+
declare const get$5: z.ZodObject<{
|
|
23
23
|
id: z.ZodString;
|
|
24
24
|
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25
25
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -48,7 +48,7 @@ declare const update$3: z.ZodObject<{
|
|
|
48
48
|
phone: z.ZodString;
|
|
49
49
|
type: z.ZodString;
|
|
50
50
|
}, z.core.$strip>;
|
|
51
|
-
type SafeGet$4 = z.infer<typeof get$
|
|
51
|
+
type SafeGet$4 = z.infer<typeof get$5>;
|
|
52
52
|
type SafeUpdate$3 = z.output<typeof update$3>;
|
|
53
53
|
type SafeCreate$5 = z.output<typeof create$5>;
|
|
54
54
|
declare const defaultBasicDetails: SafeGet$4;
|
|
@@ -58,7 +58,7 @@ declare const basicDetails_defaultBasicDetails: typeof defaultBasicDetails;
|
|
|
58
58
|
declare const basicDetails_safariTypes: typeof safariTypes;
|
|
59
59
|
declare const basicDetails_safeSas: typeof safeSas;
|
|
60
60
|
declare namespace basicDetails {
|
|
61
|
-
export { type basicDetails_SafariType as SafariType, type SafeCreate$5 as SafeCreate, type SafeGet$4 as SafeGet, type SafeUpdate$3 as SafeUpdate, create$5 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$
|
|
61
|
+
export { type basicDetails_SafariType as SafariType, type SafeCreate$5 as SafeCreate, type SafeGet$4 as SafeGet, type SafeUpdate$3 as SafeUpdate, create$5 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$5 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$3 as update };
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
declare const pickupLandmark: z.ZodObject<{
|
|
@@ -67,7 +67,7 @@ declare const pickupLandmark: z.ZodObject<{
|
|
|
67
67
|
type: z.ZodOptional<z.ZodString>;
|
|
68
68
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
|
-
declare const get$
|
|
70
|
+
declare const get$4: z.ZodObject<{
|
|
71
71
|
id: z.ZodString;
|
|
72
72
|
location: z.ZodObject<{
|
|
73
73
|
id: z.ZodString;
|
|
@@ -121,7 +121,7 @@ declare const update$2: z.ZodObject<{
|
|
|
121
121
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
122
122
|
}, z.core.$strip>>;
|
|
123
123
|
}, z.core.$strip>;
|
|
124
|
-
type SafeGet$3 = z.output<typeof get$
|
|
124
|
+
type SafeGet$3 = z.output<typeof get$4>;
|
|
125
125
|
type SafeCreate$4 = z.output<typeof create$4>;
|
|
126
126
|
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
127
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
@@ -131,7 +131,7 @@ type location_SafePickupLandmark = SafePickupLandmark;
|
|
|
131
131
|
declare const location_defaultLocation: typeof defaultLocation;
|
|
132
132
|
declare const location_pickupLandmark: typeof pickupLandmark;
|
|
133
133
|
declare namespace location {
|
|
134
|
-
export { type SafeCreate$4 as SafeCreate, type SafeGet$3 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$2 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$
|
|
134
|
+
export { type SafeCreate$4 as SafeCreate, type SafeGet$3 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$2 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$4 as get, location_pickupLandmark as pickupLandmark, update$2 as update };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -150,10 +150,10 @@ declare const create$3: z.ZodObject<{
|
|
|
150
150
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
151
151
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
152
152
|
}, z.core.$strip>;
|
|
153
|
-
declare const remove$
|
|
153
|
+
declare const remove$2: z.ZodObject<{
|
|
154
154
|
id: z.ZodString;
|
|
155
155
|
}, z.core.$strip>;
|
|
156
|
-
declare const get$
|
|
156
|
+
declare const get$3: z.ZodObject<{
|
|
157
157
|
id: z.ZodString;
|
|
158
158
|
name: z.ZodString;
|
|
159
159
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -169,15 +169,15 @@ declare const list$1: z.ZodArray<z.ZodObject<{
|
|
|
169
169
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
170
170
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
171
171
|
}, z.core.$strip>>;
|
|
172
|
-
type SafeGet$2 = z.output<typeof get$
|
|
172
|
+
type SafeGet$2 = z.output<typeof get$3>;
|
|
173
173
|
type SafeList$2 = z.output<typeof list$1>;
|
|
174
174
|
type SafeCreate$3 = z.output<typeof create$3>;
|
|
175
175
|
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
176
|
-
type SafeRemove$
|
|
176
|
+
type SafeRemove$2 = z.output<typeof remove$2>;
|
|
177
177
|
|
|
178
178
|
declare const slot_time12h: typeof time12h;
|
|
179
179
|
declare namespace slot {
|
|
180
|
-
export { type SafeCreate$3 as SafeCreate, type SafeGet$2 as SafeGet, type SafeList$2 as SafeList, type SafeRemove$
|
|
180
|
+
export { type SafeCreate$3 as SafeCreate, type SafeGet$2 as SafeGet, type SafeList$2 as SafeList, type SafeRemove$2 as SafeRemove, type SafeUpdate$1 as SafeUpdate, create$3 as create, get$3 as get, list$1 as list, remove$2 as remove, slot_time12h as time12h, update$1 as update };
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
declare const Weekday: z.ZodEnum<{
|
|
@@ -189,7 +189,7 @@ declare const Weekday: z.ZodEnum<{
|
|
|
189
189
|
friday: "friday";
|
|
190
190
|
saturday: "saturday";
|
|
191
191
|
}>;
|
|
192
|
-
declare const get$
|
|
192
|
+
declare const get$2: z.ZodObject<{
|
|
193
193
|
id: z.ZodString;
|
|
194
194
|
operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
195
195
|
sunday: "sunday";
|
|
@@ -224,7 +224,7 @@ declare const update: z.ZodObject<{
|
|
|
224
224
|
saturday: "saturday";
|
|
225
225
|
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
226
226
|
}, z.core.$strip>;
|
|
227
|
-
type SafeGet$1 = z.output<typeof get$
|
|
227
|
+
type SafeGet$1 = z.output<typeof get$2>;
|
|
228
228
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
229
229
|
type SafeCreate$2 = z.output<typeof create$2>;
|
|
230
230
|
type SafeUpdate = z.output<typeof update>;
|
|
@@ -234,10 +234,10 @@ type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
|
234
234
|
declare const operationalDays_Weekday: typeof Weekday;
|
|
235
235
|
declare const operationalDays_update: typeof update;
|
|
236
236
|
declare namespace operationalDays {
|
|
237
|
-
export { type SafeCreate$2 as SafeCreate, type SafeGet$1 as SafeGet, type operationalDays_SafeUpdate as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$2 as create, get$
|
|
237
|
+
export { type SafeCreate$2 as SafeCreate, type SafeGet$1 as SafeGet, type operationalDays_SafeUpdate as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$2 as create, get$2 as get, operationalDays_update as update };
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
declare const get: z.ZodObject<{
|
|
240
|
+
declare const get$1: z.ZodObject<{
|
|
241
241
|
id: z.ZodString;
|
|
242
242
|
vehicleName: z.ZodString;
|
|
243
243
|
registrationNumber: z.ZodString;
|
|
@@ -252,7 +252,7 @@ declare const save$1: z.ZodObject<{
|
|
|
252
252
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
253
253
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
254
254
|
}, z.core.$strip>;
|
|
255
|
-
declare const remove: z.ZodObject<{
|
|
255
|
+
declare const remove$1: z.ZodObject<{
|
|
256
256
|
id: z.ZodString;
|
|
257
257
|
}, z.core.$strip>;
|
|
258
258
|
declare const list: z.ZodArray<z.ZodObject<{
|
|
@@ -263,45 +263,74 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
263
263
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
264
264
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
265
265
|
}, z.core.$strip>>;
|
|
266
|
-
type SafeGet = z.infer<typeof get>;
|
|
266
|
+
type SafeGet = z.infer<typeof get$1>;
|
|
267
267
|
type SafeSave$1 = z.output<typeof save$1>;
|
|
268
|
-
type SafeRemove = z.output<typeof remove>;
|
|
268
|
+
type SafeRemove$1 = z.output<typeof remove$1>;
|
|
269
269
|
type SafeList$1 = z.output<typeof list>;
|
|
270
270
|
|
|
271
271
|
type vehicleDetails_SafeGet = SafeGet;
|
|
272
|
-
type vehicleDetails_SafeRemove = SafeRemove;
|
|
273
|
-
declare const vehicleDetails_get: typeof get;
|
|
274
272
|
declare const vehicleDetails_list: typeof list;
|
|
275
|
-
declare const vehicleDetails_remove: typeof remove;
|
|
276
273
|
declare namespace vehicleDetails {
|
|
277
|
-
export { type vehicleDetails_SafeGet as SafeGet, type SafeList$1 as SafeList, type
|
|
274
|
+
export { type vehicleDetails_SafeGet as SafeGet, type SafeList$1 as SafeList, type SafeRemove$1 as SafeRemove, type SafeSave$1 as SafeSave, get$1 as get, vehicleDetails_list as list, remove$1 as remove, save$1 as save };
|
|
278
275
|
}
|
|
279
276
|
|
|
280
|
-
declare const
|
|
277
|
+
declare const languageKnownEnum: z.ZodEnum<{
|
|
278
|
+
english: "english";
|
|
279
|
+
hindi: "hindi";
|
|
280
|
+
gujurati: "gujurati";
|
|
281
|
+
marathi: "marathi";
|
|
282
|
+
}>;
|
|
283
|
+
declare const get: z.ZodObject<{
|
|
281
284
|
id: z.ZodString;
|
|
282
285
|
driverName: z.ZodString;
|
|
283
|
-
|
|
286
|
+
drivingLicenseNumber: z.ZodString;
|
|
284
287
|
experience: z.ZodCoercedNumber<unknown>;
|
|
288
|
+
languageKnown: z.ZodArray<z.ZodEnum<{
|
|
289
|
+
english: "english";
|
|
290
|
+
hindi: "hindi";
|
|
291
|
+
gujurati: "gujurati";
|
|
292
|
+
marathi: "marathi";
|
|
293
|
+
}>>;
|
|
285
294
|
}, z.core.$strip>;
|
|
286
295
|
declare const create$1: z.ZodObject<{
|
|
287
296
|
driverName: z.ZodString;
|
|
288
|
-
|
|
297
|
+
drivingLicenseNumber: z.ZodString;
|
|
289
298
|
experience: z.ZodCoercedNumber<unknown>;
|
|
299
|
+
languageKnown: z.ZodArray<z.ZodEnum<{
|
|
300
|
+
english: "english";
|
|
301
|
+
hindi: "hindi";
|
|
302
|
+
gujurati: "gujurati";
|
|
303
|
+
marathi: "marathi";
|
|
304
|
+
}>>;
|
|
290
305
|
}, z.core.$strip>;
|
|
291
|
-
declare const
|
|
306
|
+
declare const remove: z.ZodObject<{
|
|
307
|
+
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
308
|
+
}, z.core.$strip>;
|
|
309
|
+
declare const getList: z.ZodArray<z.ZodObject<{
|
|
292
310
|
id: z.ZodString;
|
|
293
311
|
driverName: z.ZodString;
|
|
294
|
-
|
|
312
|
+
drivingLicenseNumber: z.ZodString;
|
|
295
313
|
experience: z.ZodCoercedNumber<unknown>;
|
|
314
|
+
languageKnown: z.ZodArray<z.ZodEnum<{
|
|
315
|
+
english: "english";
|
|
316
|
+
hindi: "hindi";
|
|
317
|
+
gujurati: "gujurati";
|
|
318
|
+
marathi: "marathi";
|
|
319
|
+
}>>;
|
|
296
320
|
}, z.core.$strip>>;
|
|
297
|
-
type SafeMe$3 = z.infer<typeof
|
|
321
|
+
type SafeMe$3 = z.infer<typeof get>;
|
|
298
322
|
type SafeCreate$1 = z.output<typeof create$1>;
|
|
299
|
-
type SafeList = z.output<typeof
|
|
323
|
+
type SafeList = z.output<typeof getList>;
|
|
324
|
+
type SafeRemove = z.output<typeof remove>;
|
|
300
325
|
|
|
301
326
|
type driverDetails_SafeList = SafeList;
|
|
302
|
-
|
|
327
|
+
type driverDetails_SafeRemove = SafeRemove;
|
|
328
|
+
declare const driverDetails_get: typeof get;
|
|
329
|
+
declare const driverDetails_getList: typeof getList;
|
|
330
|
+
declare const driverDetails_languageKnownEnum: typeof languageKnownEnum;
|
|
331
|
+
declare const driverDetails_remove: typeof remove;
|
|
303
332
|
declare namespace driverDetails {
|
|
304
|
-
export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$3 as SafeMe, create$1 as create,
|
|
333
|
+
export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$3 as SafeMe, type driverDetails_SafeRemove as SafeRemove, create$1 as create, driverDetails_get as get, driverDetails_getList as getList, driverDetails_languageKnownEnum as languageKnownEnum, driverDetails_remove as remove };
|
|
305
334
|
}
|
|
306
335
|
|
|
307
336
|
declare const me$2: z.ZodObject<{
|
|
@@ -19,7 +19,7 @@ declare const safeSas: z.ZodEnum<{
|
|
|
19
19
|
jungle_safari: "jungle_safari";
|
|
20
20
|
}>;
|
|
21
21
|
type SafariType = keyof typeof safariTypes;
|
|
22
|
-
declare const get$
|
|
22
|
+
declare const get$5: z.ZodObject<{
|
|
23
23
|
id: z.ZodString;
|
|
24
24
|
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25
25
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -48,7 +48,7 @@ declare const update$3: z.ZodObject<{
|
|
|
48
48
|
phone: z.ZodString;
|
|
49
49
|
type: z.ZodString;
|
|
50
50
|
}, z.core.$strip>;
|
|
51
|
-
type SafeGet$4 = z.infer<typeof get$
|
|
51
|
+
type SafeGet$4 = z.infer<typeof get$5>;
|
|
52
52
|
type SafeUpdate$3 = z.output<typeof update$3>;
|
|
53
53
|
type SafeCreate$5 = z.output<typeof create$5>;
|
|
54
54
|
declare const defaultBasicDetails: SafeGet$4;
|
|
@@ -58,7 +58,7 @@ declare const basicDetails_defaultBasicDetails: typeof defaultBasicDetails;
|
|
|
58
58
|
declare const basicDetails_safariTypes: typeof safariTypes;
|
|
59
59
|
declare const basicDetails_safeSas: typeof safeSas;
|
|
60
60
|
declare namespace basicDetails {
|
|
61
|
-
export { type basicDetails_SafariType as SafariType, type SafeCreate$5 as SafeCreate, type SafeGet$4 as SafeGet, type SafeUpdate$3 as SafeUpdate, create$5 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$
|
|
61
|
+
export { type basicDetails_SafariType as SafariType, type SafeCreate$5 as SafeCreate, type SafeGet$4 as SafeGet, type SafeUpdate$3 as SafeUpdate, create$5 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$5 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$3 as update };
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
declare const pickupLandmark: z.ZodObject<{
|
|
@@ -67,7 +67,7 @@ declare const pickupLandmark: z.ZodObject<{
|
|
|
67
67
|
type: z.ZodOptional<z.ZodString>;
|
|
68
68
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
|
-
declare const get$
|
|
70
|
+
declare const get$4: z.ZodObject<{
|
|
71
71
|
id: z.ZodString;
|
|
72
72
|
location: z.ZodObject<{
|
|
73
73
|
id: z.ZodString;
|
|
@@ -121,7 +121,7 @@ declare const update$2: z.ZodObject<{
|
|
|
121
121
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
122
122
|
}, z.core.$strip>>;
|
|
123
123
|
}, z.core.$strip>;
|
|
124
|
-
type SafeGet$3 = z.output<typeof get$
|
|
124
|
+
type SafeGet$3 = z.output<typeof get$4>;
|
|
125
125
|
type SafeCreate$4 = z.output<typeof create$4>;
|
|
126
126
|
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
127
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
@@ -131,7 +131,7 @@ type location_SafePickupLandmark = SafePickupLandmark;
|
|
|
131
131
|
declare const location_defaultLocation: typeof defaultLocation;
|
|
132
132
|
declare const location_pickupLandmark: typeof pickupLandmark;
|
|
133
133
|
declare namespace location {
|
|
134
|
-
export { type SafeCreate$4 as SafeCreate, type SafeGet$3 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$2 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$
|
|
134
|
+
export { type SafeCreate$4 as SafeCreate, type SafeGet$3 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$2 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$4 as get, location_pickupLandmark as pickupLandmark, update$2 as update };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -150,10 +150,10 @@ declare const create$3: z.ZodObject<{
|
|
|
150
150
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
151
151
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
152
152
|
}, z.core.$strip>;
|
|
153
|
-
declare const remove$
|
|
153
|
+
declare const remove$2: z.ZodObject<{
|
|
154
154
|
id: z.ZodString;
|
|
155
155
|
}, z.core.$strip>;
|
|
156
|
-
declare const get$
|
|
156
|
+
declare const get$3: z.ZodObject<{
|
|
157
157
|
id: z.ZodString;
|
|
158
158
|
name: z.ZodString;
|
|
159
159
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -169,15 +169,15 @@ declare const list$1: z.ZodArray<z.ZodObject<{
|
|
|
169
169
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
170
170
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
171
171
|
}, z.core.$strip>>;
|
|
172
|
-
type SafeGet$2 = z.output<typeof get$
|
|
172
|
+
type SafeGet$2 = z.output<typeof get$3>;
|
|
173
173
|
type SafeList$2 = z.output<typeof list$1>;
|
|
174
174
|
type SafeCreate$3 = z.output<typeof create$3>;
|
|
175
175
|
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
176
|
-
type SafeRemove$
|
|
176
|
+
type SafeRemove$2 = z.output<typeof remove$2>;
|
|
177
177
|
|
|
178
178
|
declare const slot_time12h: typeof time12h;
|
|
179
179
|
declare namespace slot {
|
|
180
|
-
export { type SafeCreate$3 as SafeCreate, type SafeGet$2 as SafeGet, type SafeList$2 as SafeList, type SafeRemove$
|
|
180
|
+
export { type SafeCreate$3 as SafeCreate, type SafeGet$2 as SafeGet, type SafeList$2 as SafeList, type SafeRemove$2 as SafeRemove, type SafeUpdate$1 as SafeUpdate, create$3 as create, get$3 as get, list$1 as list, remove$2 as remove, slot_time12h as time12h, update$1 as update };
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
declare const Weekday: z.ZodEnum<{
|
|
@@ -189,7 +189,7 @@ declare const Weekday: z.ZodEnum<{
|
|
|
189
189
|
friday: "friday";
|
|
190
190
|
saturday: "saturday";
|
|
191
191
|
}>;
|
|
192
|
-
declare const get$
|
|
192
|
+
declare const get$2: z.ZodObject<{
|
|
193
193
|
id: z.ZodString;
|
|
194
194
|
operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
195
195
|
sunday: "sunday";
|
|
@@ -224,7 +224,7 @@ declare const update: z.ZodObject<{
|
|
|
224
224
|
saturday: "saturday";
|
|
225
225
|
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
226
226
|
}, z.core.$strip>;
|
|
227
|
-
type SafeGet$1 = z.output<typeof get$
|
|
227
|
+
type SafeGet$1 = z.output<typeof get$2>;
|
|
228
228
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
229
229
|
type SafeCreate$2 = z.output<typeof create$2>;
|
|
230
230
|
type SafeUpdate = z.output<typeof update>;
|
|
@@ -234,10 +234,10 @@ type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
|
234
234
|
declare const operationalDays_Weekday: typeof Weekday;
|
|
235
235
|
declare const operationalDays_update: typeof update;
|
|
236
236
|
declare namespace operationalDays {
|
|
237
|
-
export { type SafeCreate$2 as SafeCreate, type SafeGet$1 as SafeGet, type operationalDays_SafeUpdate as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$2 as create, get$
|
|
237
|
+
export { type SafeCreate$2 as SafeCreate, type SafeGet$1 as SafeGet, type operationalDays_SafeUpdate as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$2 as create, get$2 as get, operationalDays_update as update };
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
declare const get: z.ZodObject<{
|
|
240
|
+
declare const get$1: z.ZodObject<{
|
|
241
241
|
id: z.ZodString;
|
|
242
242
|
vehicleName: z.ZodString;
|
|
243
243
|
registrationNumber: z.ZodString;
|
|
@@ -252,7 +252,7 @@ declare const save$1: z.ZodObject<{
|
|
|
252
252
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
253
253
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
254
254
|
}, z.core.$strip>;
|
|
255
|
-
declare const remove: z.ZodObject<{
|
|
255
|
+
declare const remove$1: z.ZodObject<{
|
|
256
256
|
id: z.ZodString;
|
|
257
257
|
}, z.core.$strip>;
|
|
258
258
|
declare const list: z.ZodArray<z.ZodObject<{
|
|
@@ -263,45 +263,74 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
263
263
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
264
264
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
265
265
|
}, z.core.$strip>>;
|
|
266
|
-
type SafeGet = z.infer<typeof get>;
|
|
266
|
+
type SafeGet = z.infer<typeof get$1>;
|
|
267
267
|
type SafeSave$1 = z.output<typeof save$1>;
|
|
268
|
-
type SafeRemove = z.output<typeof remove>;
|
|
268
|
+
type SafeRemove$1 = z.output<typeof remove$1>;
|
|
269
269
|
type SafeList$1 = z.output<typeof list>;
|
|
270
270
|
|
|
271
271
|
type vehicleDetails_SafeGet = SafeGet;
|
|
272
|
-
type vehicleDetails_SafeRemove = SafeRemove;
|
|
273
|
-
declare const vehicleDetails_get: typeof get;
|
|
274
272
|
declare const vehicleDetails_list: typeof list;
|
|
275
|
-
declare const vehicleDetails_remove: typeof remove;
|
|
276
273
|
declare namespace vehicleDetails {
|
|
277
|
-
export { type vehicleDetails_SafeGet as SafeGet, type SafeList$1 as SafeList, type
|
|
274
|
+
export { type vehicleDetails_SafeGet as SafeGet, type SafeList$1 as SafeList, type SafeRemove$1 as SafeRemove, type SafeSave$1 as SafeSave, get$1 as get, vehicleDetails_list as list, remove$1 as remove, save$1 as save };
|
|
278
275
|
}
|
|
279
276
|
|
|
280
|
-
declare const
|
|
277
|
+
declare const languageKnownEnum: z.ZodEnum<{
|
|
278
|
+
english: "english";
|
|
279
|
+
hindi: "hindi";
|
|
280
|
+
gujurati: "gujurati";
|
|
281
|
+
marathi: "marathi";
|
|
282
|
+
}>;
|
|
283
|
+
declare const get: z.ZodObject<{
|
|
281
284
|
id: z.ZodString;
|
|
282
285
|
driverName: z.ZodString;
|
|
283
|
-
|
|
286
|
+
drivingLicenseNumber: z.ZodString;
|
|
284
287
|
experience: z.ZodCoercedNumber<unknown>;
|
|
288
|
+
languageKnown: z.ZodArray<z.ZodEnum<{
|
|
289
|
+
english: "english";
|
|
290
|
+
hindi: "hindi";
|
|
291
|
+
gujurati: "gujurati";
|
|
292
|
+
marathi: "marathi";
|
|
293
|
+
}>>;
|
|
285
294
|
}, z.core.$strip>;
|
|
286
295
|
declare const create$1: z.ZodObject<{
|
|
287
296
|
driverName: z.ZodString;
|
|
288
|
-
|
|
297
|
+
drivingLicenseNumber: z.ZodString;
|
|
289
298
|
experience: z.ZodCoercedNumber<unknown>;
|
|
299
|
+
languageKnown: z.ZodArray<z.ZodEnum<{
|
|
300
|
+
english: "english";
|
|
301
|
+
hindi: "hindi";
|
|
302
|
+
gujurati: "gujurati";
|
|
303
|
+
marathi: "marathi";
|
|
304
|
+
}>>;
|
|
290
305
|
}, z.core.$strip>;
|
|
291
|
-
declare const
|
|
306
|
+
declare const remove: z.ZodObject<{
|
|
307
|
+
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
308
|
+
}, z.core.$strip>;
|
|
309
|
+
declare const getList: z.ZodArray<z.ZodObject<{
|
|
292
310
|
id: z.ZodString;
|
|
293
311
|
driverName: z.ZodString;
|
|
294
|
-
|
|
312
|
+
drivingLicenseNumber: z.ZodString;
|
|
295
313
|
experience: z.ZodCoercedNumber<unknown>;
|
|
314
|
+
languageKnown: z.ZodArray<z.ZodEnum<{
|
|
315
|
+
english: "english";
|
|
316
|
+
hindi: "hindi";
|
|
317
|
+
gujurati: "gujurati";
|
|
318
|
+
marathi: "marathi";
|
|
319
|
+
}>>;
|
|
296
320
|
}, z.core.$strip>>;
|
|
297
|
-
type SafeMe$3 = z.infer<typeof
|
|
321
|
+
type SafeMe$3 = z.infer<typeof get>;
|
|
298
322
|
type SafeCreate$1 = z.output<typeof create$1>;
|
|
299
|
-
type SafeList = z.output<typeof
|
|
323
|
+
type SafeList = z.output<typeof getList>;
|
|
324
|
+
type SafeRemove = z.output<typeof remove>;
|
|
300
325
|
|
|
301
326
|
type driverDetails_SafeList = SafeList;
|
|
302
|
-
|
|
327
|
+
type driverDetails_SafeRemove = SafeRemove;
|
|
328
|
+
declare const driverDetails_get: typeof get;
|
|
329
|
+
declare const driverDetails_getList: typeof getList;
|
|
330
|
+
declare const driverDetails_languageKnownEnum: typeof languageKnownEnum;
|
|
331
|
+
declare const driverDetails_remove: typeof remove;
|
|
303
332
|
declare namespace driverDetails {
|
|
304
|
-
export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$3 as SafeMe, create$1 as create,
|
|
333
|
+
export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$3 as SafeMe, type driverDetails_SafeRemove as SafeRemove, create$1 as create, driverDetails_get as get, driverDetails_getList as getList, driverDetails_languageKnownEnum as languageKnownEnum, driverDetails_remove as remove };
|
|
305
334
|
}
|
|
306
335
|
|
|
307
336
|
declare const me$2: z.ZodObject<{
|
package/dist/index.cjs
CHANGED
|
@@ -294,31 +294,39 @@ var list2 = import_zod6.z.array(get5);
|
|
|
294
294
|
var driver_details_exports = {};
|
|
295
295
|
__export(driver_details_exports, {
|
|
296
296
|
create: () => create5,
|
|
297
|
-
|
|
298
|
-
|
|
297
|
+
get: () => get6,
|
|
298
|
+
getList: () => getList,
|
|
299
|
+
languageKnownEnum: () => languageKnownEnum,
|
|
300
|
+
remove: () => remove3
|
|
299
301
|
});
|
|
300
302
|
var import_zod7 = require("zod");
|
|
301
|
-
var
|
|
303
|
+
var languageKnownEnum = import_zod7.z.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
304
|
+
var get6 = import_zod7.z.object({
|
|
302
305
|
id: import_zod7.z.string(),
|
|
303
306
|
driverName: import_zod7.z.string().trim(),
|
|
304
|
-
|
|
305
|
-
experience: import_zod7.z.coerce.number()
|
|
307
|
+
drivingLicenseNumber: import_zod7.z.string().trim().toUpperCase(),
|
|
308
|
+
experience: import_zod7.z.coerce.number(),
|
|
309
|
+
languageKnown: import_zod7.z.array(languageKnownEnum)
|
|
306
310
|
});
|
|
307
311
|
var create5 = import_zod7.z.object({
|
|
308
312
|
driverName: import_zod7.z.string().trim().nonempty("required"),
|
|
309
|
-
|
|
310
|
-
experience: import_zod7.z.coerce.number().min(1, "min")
|
|
313
|
+
drivingLicenseNumber: import_zod7.z.string().trim().nonempty("required").toUpperCase(),
|
|
314
|
+
experience: import_zod7.z.coerce.number().min(1, "min"),
|
|
315
|
+
languageKnown: import_zod7.z.array(languageKnownEnum)
|
|
311
316
|
});
|
|
312
|
-
var
|
|
317
|
+
var remove3 = import_zod7.z.object({
|
|
318
|
+
id: import_zod7.z.string().trim().optional().default("")
|
|
319
|
+
});
|
|
320
|
+
var getList = import_zod7.z.array(get6);
|
|
313
321
|
|
|
314
322
|
// src/safari/business-details.ts
|
|
315
323
|
var business_details_exports = {};
|
|
316
324
|
__export(business_details_exports, {
|
|
317
325
|
create: () => create6,
|
|
318
|
-
me: () =>
|
|
326
|
+
me: () => me
|
|
319
327
|
});
|
|
320
328
|
var import_zod8 = require("zod");
|
|
321
|
-
var
|
|
329
|
+
var me = import_zod8.z.object({
|
|
322
330
|
bankAccountNumber: import_zod8.z.string().trim(),
|
|
323
331
|
bankName: import_zod8.z.string().trim(),
|
|
324
332
|
accountHolderName: import_zod8.z.string().trim(),
|
|
@@ -338,11 +346,11 @@ var create6 = import_zod8.z.object({
|
|
|
338
346
|
// src/safari/personal-details.ts
|
|
339
347
|
var personal_details_exports = {};
|
|
340
348
|
__export(personal_details_exports, {
|
|
341
|
-
me: () =>
|
|
349
|
+
me: () => me2,
|
|
342
350
|
save: () => save2
|
|
343
351
|
});
|
|
344
352
|
var import_zod9 = require("zod");
|
|
345
|
-
var
|
|
353
|
+
var me2 = import_zod9.z.object({
|
|
346
354
|
adhaarNumber: import_zod9.z.string().trim(),
|
|
347
355
|
address: import_zod9.z.string().trim()
|
|
348
356
|
});
|
|
@@ -354,12 +362,12 @@ var save2 = import_zod9.z.object({
|
|
|
354
362
|
// src/safari/step.ts
|
|
355
363
|
var step_exports = {};
|
|
356
364
|
__export(step_exports, {
|
|
357
|
-
me: () =>
|
|
365
|
+
me: () => me3,
|
|
358
366
|
steps: () => steps
|
|
359
367
|
});
|
|
360
368
|
var import_zod10 = require("zod");
|
|
361
369
|
var steps = import_zod10.z.enum(["basic_info", "location"]);
|
|
362
|
-
var
|
|
370
|
+
var me3 = import_zod10.z.object({
|
|
363
371
|
email: import_zod10.z.string(),
|
|
364
372
|
name: import_zod10.z.string().trim().optional().default(""),
|
|
365
373
|
countryCode: import_zod10.z.string().optional().default("+91"),
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -263,31 +263,39 @@ var list2 = z6.array(get5);
|
|
|
263
263
|
var driver_details_exports = {};
|
|
264
264
|
__export(driver_details_exports, {
|
|
265
265
|
create: () => create5,
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
get: () => get6,
|
|
267
|
+
getList: () => getList,
|
|
268
|
+
languageKnownEnum: () => languageKnownEnum,
|
|
269
|
+
remove: () => remove3
|
|
268
270
|
});
|
|
269
271
|
import { z as z7 } from "zod";
|
|
270
|
-
var
|
|
272
|
+
var languageKnownEnum = z7.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
273
|
+
var get6 = z7.object({
|
|
271
274
|
id: z7.string(),
|
|
272
275
|
driverName: z7.string().trim(),
|
|
273
|
-
|
|
274
|
-
experience: z7.coerce.number()
|
|
276
|
+
drivingLicenseNumber: z7.string().trim().toUpperCase(),
|
|
277
|
+
experience: z7.coerce.number(),
|
|
278
|
+
languageKnown: z7.array(languageKnownEnum)
|
|
275
279
|
});
|
|
276
280
|
var create5 = z7.object({
|
|
277
281
|
driverName: z7.string().trim().nonempty("required"),
|
|
278
|
-
|
|
279
|
-
experience: z7.coerce.number().min(1, "min")
|
|
282
|
+
drivingLicenseNumber: z7.string().trim().nonempty("required").toUpperCase(),
|
|
283
|
+
experience: z7.coerce.number().min(1, "min"),
|
|
284
|
+
languageKnown: z7.array(languageKnownEnum)
|
|
280
285
|
});
|
|
281
|
-
var
|
|
286
|
+
var remove3 = z7.object({
|
|
287
|
+
id: z7.string().trim().optional().default("")
|
|
288
|
+
});
|
|
289
|
+
var getList = z7.array(get6);
|
|
282
290
|
|
|
283
291
|
// src/safari/business-details.ts
|
|
284
292
|
var business_details_exports = {};
|
|
285
293
|
__export(business_details_exports, {
|
|
286
294
|
create: () => create6,
|
|
287
|
-
me: () =>
|
|
295
|
+
me: () => me
|
|
288
296
|
});
|
|
289
297
|
import { z as z8 } from "zod";
|
|
290
|
-
var
|
|
298
|
+
var me = z8.object({
|
|
291
299
|
bankAccountNumber: z8.string().trim(),
|
|
292
300
|
bankName: z8.string().trim(),
|
|
293
301
|
accountHolderName: z8.string().trim(),
|
|
@@ -307,11 +315,11 @@ var create6 = z8.object({
|
|
|
307
315
|
// src/safari/personal-details.ts
|
|
308
316
|
var personal_details_exports = {};
|
|
309
317
|
__export(personal_details_exports, {
|
|
310
|
-
me: () =>
|
|
318
|
+
me: () => me2,
|
|
311
319
|
save: () => save2
|
|
312
320
|
});
|
|
313
321
|
import { z as z9 } from "zod";
|
|
314
|
-
var
|
|
322
|
+
var me2 = z9.object({
|
|
315
323
|
adhaarNumber: z9.string().trim(),
|
|
316
324
|
address: z9.string().trim()
|
|
317
325
|
});
|
|
@@ -323,12 +331,12 @@ var save2 = z9.object({
|
|
|
323
331
|
// src/safari/step.ts
|
|
324
332
|
var step_exports = {};
|
|
325
333
|
__export(step_exports, {
|
|
326
|
-
me: () =>
|
|
334
|
+
me: () => me3,
|
|
327
335
|
steps: () => steps
|
|
328
336
|
});
|
|
329
337
|
import { z as z10 } from "zod";
|
|
330
338
|
var steps = z10.enum(["basic_info", "location"]);
|
|
331
|
-
var
|
|
339
|
+
var me3 = z10.object({
|
|
332
340
|
email: z10.string(),
|
|
333
341
|
name: z10.string().trim().optional().default(""),
|
|
334
342
|
countryCode: z10.string().optional().default("+91"),
|
package/dist/safari/index.cjs
CHANGED
|
@@ -281,31 +281,39 @@ var list2 = import_zod6.z.array(get5);
|
|
|
281
281
|
var driver_details_exports = {};
|
|
282
282
|
__export(driver_details_exports, {
|
|
283
283
|
create: () => create5,
|
|
284
|
-
|
|
285
|
-
|
|
284
|
+
get: () => get6,
|
|
285
|
+
getList: () => getList,
|
|
286
|
+
languageKnownEnum: () => languageKnownEnum,
|
|
287
|
+
remove: () => remove3
|
|
286
288
|
});
|
|
287
289
|
var import_zod7 = require("zod");
|
|
288
|
-
var
|
|
290
|
+
var languageKnownEnum = import_zod7.z.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
291
|
+
var get6 = import_zod7.z.object({
|
|
289
292
|
id: import_zod7.z.string(),
|
|
290
293
|
driverName: import_zod7.z.string().trim(),
|
|
291
|
-
|
|
292
|
-
experience: import_zod7.z.coerce.number()
|
|
294
|
+
drivingLicenseNumber: import_zod7.z.string().trim().toUpperCase(),
|
|
295
|
+
experience: import_zod7.z.coerce.number(),
|
|
296
|
+
languageKnown: import_zod7.z.array(languageKnownEnum)
|
|
293
297
|
});
|
|
294
298
|
var create5 = import_zod7.z.object({
|
|
295
299
|
driverName: import_zod7.z.string().trim().nonempty("required"),
|
|
296
|
-
|
|
297
|
-
experience: import_zod7.z.coerce.number().min(1, "min")
|
|
300
|
+
drivingLicenseNumber: import_zod7.z.string().trim().nonempty("required").toUpperCase(),
|
|
301
|
+
experience: import_zod7.z.coerce.number().min(1, "min"),
|
|
302
|
+
languageKnown: import_zod7.z.array(languageKnownEnum)
|
|
298
303
|
});
|
|
299
|
-
var
|
|
304
|
+
var remove3 = import_zod7.z.object({
|
|
305
|
+
id: import_zod7.z.string().trim().optional().default("")
|
|
306
|
+
});
|
|
307
|
+
var getList = import_zod7.z.array(get6);
|
|
300
308
|
|
|
301
309
|
// src/safari/business-details.ts
|
|
302
310
|
var business_details_exports = {};
|
|
303
311
|
__export(business_details_exports, {
|
|
304
312
|
create: () => create6,
|
|
305
|
-
me: () =>
|
|
313
|
+
me: () => me
|
|
306
314
|
});
|
|
307
315
|
var import_zod8 = require("zod");
|
|
308
|
-
var
|
|
316
|
+
var me = import_zod8.z.object({
|
|
309
317
|
bankAccountNumber: import_zod8.z.string().trim(),
|
|
310
318
|
bankName: import_zod8.z.string().trim(),
|
|
311
319
|
accountHolderName: import_zod8.z.string().trim(),
|
|
@@ -325,11 +333,11 @@ var create6 = import_zod8.z.object({
|
|
|
325
333
|
// src/safari/personal-details.ts
|
|
326
334
|
var personal_details_exports = {};
|
|
327
335
|
__export(personal_details_exports, {
|
|
328
|
-
me: () =>
|
|
336
|
+
me: () => me2,
|
|
329
337
|
save: () => save2
|
|
330
338
|
});
|
|
331
339
|
var import_zod9 = require("zod");
|
|
332
|
-
var
|
|
340
|
+
var me2 = import_zod9.z.object({
|
|
333
341
|
adhaarNumber: import_zod9.z.string().trim(),
|
|
334
342
|
address: import_zod9.z.string().trim()
|
|
335
343
|
});
|
|
@@ -341,12 +349,12 @@ var save2 = import_zod9.z.object({
|
|
|
341
349
|
// src/safari/step.ts
|
|
342
350
|
var step_exports = {};
|
|
343
351
|
__export(step_exports, {
|
|
344
|
-
me: () =>
|
|
352
|
+
me: () => me3,
|
|
345
353
|
steps: () => steps
|
|
346
354
|
});
|
|
347
355
|
var import_zod10 = require("zod");
|
|
348
356
|
var steps = import_zod10.z.enum(["basic_info", "location"]);
|
|
349
|
-
var
|
|
357
|
+
var me3 = import_zod10.z.object({
|
|
350
358
|
email: import_zod10.z.string(),
|
|
351
359
|
name: import_zod10.z.string().trim().optional().default(""),
|
|
352
360
|
countryCode: import_zod10.z.string().optional().default("+91"),
|
package/dist/safari/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, c as Step, v as VehicleDetails } from '../index-
|
|
1
|
+
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, c as Step, v as VehicleDetails } from '../index-zE10voY_.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, c as Step, v as VehicleDetails } from '../index-
|
|
1
|
+
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, c as Step, v as VehicleDetails } from '../index-zE10voY_.js';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.js
CHANGED
|
@@ -243,31 +243,39 @@ var list2 = z6.array(get5);
|
|
|
243
243
|
var driver_details_exports = {};
|
|
244
244
|
__export(driver_details_exports, {
|
|
245
245
|
create: () => create5,
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
get: () => get6,
|
|
247
|
+
getList: () => getList,
|
|
248
|
+
languageKnownEnum: () => languageKnownEnum,
|
|
249
|
+
remove: () => remove3
|
|
248
250
|
});
|
|
249
251
|
import { z as z7 } from "zod";
|
|
250
|
-
var
|
|
252
|
+
var languageKnownEnum = z7.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
253
|
+
var get6 = z7.object({
|
|
251
254
|
id: z7.string(),
|
|
252
255
|
driverName: z7.string().trim(),
|
|
253
|
-
|
|
254
|
-
experience: z7.coerce.number()
|
|
256
|
+
drivingLicenseNumber: z7.string().trim().toUpperCase(),
|
|
257
|
+
experience: z7.coerce.number(),
|
|
258
|
+
languageKnown: z7.array(languageKnownEnum)
|
|
255
259
|
});
|
|
256
260
|
var create5 = z7.object({
|
|
257
261
|
driverName: z7.string().trim().nonempty("required"),
|
|
258
|
-
|
|
259
|
-
experience: z7.coerce.number().min(1, "min")
|
|
262
|
+
drivingLicenseNumber: z7.string().trim().nonempty("required").toUpperCase(),
|
|
263
|
+
experience: z7.coerce.number().min(1, "min"),
|
|
264
|
+
languageKnown: z7.array(languageKnownEnum)
|
|
260
265
|
});
|
|
261
|
-
var
|
|
266
|
+
var remove3 = z7.object({
|
|
267
|
+
id: z7.string().trim().optional().default("")
|
|
268
|
+
});
|
|
269
|
+
var getList = z7.array(get6);
|
|
262
270
|
|
|
263
271
|
// src/safari/business-details.ts
|
|
264
272
|
var business_details_exports = {};
|
|
265
273
|
__export(business_details_exports, {
|
|
266
274
|
create: () => create6,
|
|
267
|
-
me: () =>
|
|
275
|
+
me: () => me
|
|
268
276
|
});
|
|
269
277
|
import { z as z8 } from "zod";
|
|
270
|
-
var
|
|
278
|
+
var me = z8.object({
|
|
271
279
|
bankAccountNumber: z8.string().trim(),
|
|
272
280
|
bankName: z8.string().trim(),
|
|
273
281
|
accountHolderName: z8.string().trim(),
|
|
@@ -287,11 +295,11 @@ var create6 = z8.object({
|
|
|
287
295
|
// src/safari/personal-details.ts
|
|
288
296
|
var personal_details_exports = {};
|
|
289
297
|
__export(personal_details_exports, {
|
|
290
|
-
me: () =>
|
|
298
|
+
me: () => me2,
|
|
291
299
|
save: () => save2
|
|
292
300
|
});
|
|
293
301
|
import { z as z9 } from "zod";
|
|
294
|
-
var
|
|
302
|
+
var me2 = z9.object({
|
|
295
303
|
adhaarNumber: z9.string().trim(),
|
|
296
304
|
address: z9.string().trim()
|
|
297
305
|
});
|
|
@@ -303,12 +311,12 @@ var save2 = z9.object({
|
|
|
303
311
|
// src/safari/step.ts
|
|
304
312
|
var step_exports = {};
|
|
305
313
|
__export(step_exports, {
|
|
306
|
-
me: () =>
|
|
314
|
+
me: () => me3,
|
|
307
315
|
steps: () => steps
|
|
308
316
|
});
|
|
309
317
|
import { z as z10 } from "zod";
|
|
310
318
|
var steps = z10.enum(["basic_info", "location"]);
|
|
311
|
-
var
|
|
319
|
+
var me3 = z10.object({
|
|
312
320
|
email: z10.string(),
|
|
313
321
|
name: z10.string().trim().optional().default(""),
|
|
314
322
|
countryCode: z10.string().optional().default("+91"),
|