@tripsam/onboarding 1.0.66 → 1.0.67
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-BTyULru0.d.cts → index-D10DgOg8.d.cts} +30 -38
- package/dist/{index-BTyULru0.d.ts → index-D10DgOg8.d.ts} +30 -38
- package/dist/index.cjs +8 -16
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -16
- package/dist/safari/index.cjs +8 -16
- package/dist/safari/index.d.cts +1 -1
- package/dist/safari/index.d.ts +1 -1
- package/dist/safari/index.js +8 -16
- package/package.json +1 -1
|
@@ -35,7 +35,7 @@ declare const get$7: z.ZodObject<{
|
|
|
35
35
|
jungle_safari: "jungle_safari";
|
|
36
36
|
}>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
|
-
declare const create$
|
|
38
|
+
declare const create$5: z.ZodObject<{
|
|
39
39
|
name: z.ZodString;
|
|
40
40
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
41
41
|
phone: z.ZodString;
|
|
@@ -48,17 +48,17 @@ declare const update$5: z.ZodObject<{
|
|
|
48
48
|
phone: z.ZodString;
|
|
49
49
|
type: z.ZodString;
|
|
50
50
|
}, z.core.$strip>;
|
|
51
|
-
type SafeGet$
|
|
51
|
+
type SafeGet$7 = z.infer<typeof get$7>;
|
|
52
52
|
type SafeUpdate$5 = z.output<typeof update$5>;
|
|
53
|
-
type SafeCreate$
|
|
54
|
-
declare const defaultBasicDetails: SafeGet$
|
|
53
|
+
type SafeCreate$5 = z.output<typeof create$5>;
|
|
54
|
+
declare const defaultBasicDetails: SafeGet$7;
|
|
55
55
|
|
|
56
56
|
type basicDetails_SafariType = SafariType;
|
|
57
57
|
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$
|
|
61
|
+
export { type basicDetails_SafariType as SafariType, type SafeCreate$5 as SafeCreate, type SafeGet$7 as SafeGet, type SafeUpdate$5 as SafeUpdate, create$5 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$7 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$5 as update };
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
declare const pickupLandmark: z.ZodObject<{
|
|
@@ -98,7 +98,7 @@ declare const get$6: z.ZodObject<{
|
|
|
98
98
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
99
99
|
}, z.core.$strip>>;
|
|
100
100
|
}, z.core.$strip>;
|
|
101
|
-
declare const create$
|
|
101
|
+
declare const create$4: z.ZodObject<{
|
|
102
102
|
locationId: z.ZodString;
|
|
103
103
|
safariLocation: z.ZodString;
|
|
104
104
|
pickupLocation: z.ZodString;
|
|
@@ -121,17 +121,17 @@ declare const update$4: z.ZodObject<{
|
|
|
121
121
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
122
122
|
}, z.core.$strip>>;
|
|
123
123
|
}, z.core.$strip>;
|
|
124
|
-
type SafeGet$
|
|
125
|
-
type SafeCreate$
|
|
124
|
+
type SafeGet$6 = z.output<typeof get$6>;
|
|
125
|
+
type SafeCreate$4 = z.output<typeof create$4>;
|
|
126
126
|
type SafeUpdate$4 = z.output<typeof update$4>;
|
|
127
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
128
|
-
declare const defaultLocation: SafeGet$
|
|
128
|
+
declare const defaultLocation: SafeGet$6;
|
|
129
129
|
|
|
130
130
|
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$
|
|
134
|
+
export { type SafeCreate$4 as SafeCreate, type SafeGet$6 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$4 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$6 as get, location_pickupLandmark as pickupLandmark, update$4 as update };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -143,14 +143,14 @@ declare const update$3: z.ZodObject<{
|
|
|
143
143
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
144
144
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
145
145
|
}, z.core.$strip>;
|
|
146
|
-
declare const create$
|
|
146
|
+
declare const create$3: z.ZodObject<{
|
|
147
147
|
name: z.ZodString;
|
|
148
148
|
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
149
149
|
startTime: z.ZodCoercedNumber<unknown>;
|
|
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: z.ZodObject<{
|
|
154
154
|
id: z.ZodString;
|
|
155
155
|
}, z.core.$strip>;
|
|
156
156
|
declare const get$5: z.ZodObject<{
|
|
@@ -169,15 +169,17 @@ 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$
|
|
172
|
+
type SafeGet$5 = z.output<typeof get$5>;
|
|
173
173
|
type SafeList$2 = z.output<typeof list$1>;
|
|
174
|
-
type SafeCreate$
|
|
174
|
+
type SafeCreate$3 = z.output<typeof create$3>;
|
|
175
175
|
type SafeUpdate$3 = z.output<typeof update$3>;
|
|
176
|
-
type SafeRemove
|
|
176
|
+
type SafeRemove = z.output<typeof remove>;
|
|
177
177
|
|
|
178
|
+
type slot_SafeRemove = SafeRemove;
|
|
179
|
+
declare const slot_remove: typeof remove;
|
|
178
180
|
declare const slot_time12h: typeof time12h;
|
|
179
181
|
declare namespace slot {
|
|
180
|
-
export { type SafeCreate$
|
|
182
|
+
export { type SafeCreate$3 as SafeCreate, type SafeGet$5 as SafeGet, type SafeList$2 as SafeList, type slot_SafeRemove as SafeRemove, type SafeUpdate$3 as SafeUpdate, create$3 as create, get$5 as get, list$1 as list, slot_remove as remove, slot_time12h as time12h, update$3 as update };
|
|
181
183
|
}
|
|
182
184
|
|
|
183
185
|
declare const Weekday: z.ZodEnum<{
|
|
@@ -201,7 +203,7 @@ declare const get$4: z.ZodObject<{
|
|
|
201
203
|
saturday: "saturday";
|
|
202
204
|
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
203
205
|
}, z.core.$strip>;
|
|
204
|
-
declare const create$
|
|
206
|
+
declare const create$2: z.ZodObject<{
|
|
205
207
|
operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
206
208
|
sunday: "sunday";
|
|
207
209
|
monday: "monday";
|
|
@@ -224,15 +226,15 @@ declare const update$2: z.ZodObject<{
|
|
|
224
226
|
saturday: "saturday";
|
|
225
227
|
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
226
228
|
}, z.core.$strip>;
|
|
227
|
-
type SafeGet$
|
|
229
|
+
type SafeGet$4 = z.output<typeof get$4>;
|
|
228
230
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
229
|
-
type SafeCreate$
|
|
231
|
+
type SafeCreate$2 = z.output<typeof create$2>;
|
|
230
232
|
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
231
233
|
|
|
232
234
|
type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
233
235
|
declare const operationalDays_Weekday: typeof Weekday;
|
|
234
236
|
declare namespace operationalDays {
|
|
235
|
-
export { type SafeCreate$
|
|
237
|
+
export { type SafeCreate$2 as SafeCreate, type SafeGet$4 as SafeGet, type SafeUpdate$2 as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$2 as create, get$4 as get, update$2 as update };
|
|
236
238
|
}
|
|
237
239
|
|
|
238
240
|
declare const get$3: z.ZodObject<{
|
|
@@ -243,16 +245,13 @@ declare const get$3: z.ZodObject<{
|
|
|
243
245
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
244
246
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
245
247
|
}, z.core.$strip>;
|
|
246
|
-
declare const save$
|
|
248
|
+
declare const save$2: z.ZodObject<{
|
|
247
249
|
vehicleName: z.ZodString;
|
|
248
250
|
registrationNumber: z.ZodString;
|
|
249
251
|
serviceRoutine: z.ZodCoercedNumber<unknown>;
|
|
250
252
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
251
253
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
252
254
|
}, z.core.$strip>;
|
|
253
|
-
declare const remove$1: z.ZodObject<{
|
|
254
|
-
id: z.ZodString;
|
|
255
|
-
}, z.core.$strip>;
|
|
256
255
|
declare const list: z.ZodArray<z.ZodObject<{
|
|
257
256
|
id: z.ZodString;
|
|
258
257
|
vehicleName: z.ZodString;
|
|
@@ -261,14 +260,13 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
261
260
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
262
261
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
263
262
|
}, z.core.$strip>>;
|
|
264
|
-
type SafeGet$
|
|
265
|
-
type SafeSave$
|
|
266
|
-
type SafeRemove$1 = z.output<typeof remove$1>;
|
|
263
|
+
type SafeGet$3 = z.infer<typeof get$3>;
|
|
264
|
+
type SafeSave$2 = z.output<typeof save$2>;
|
|
267
265
|
type SafeList$1 = z.output<typeof list>;
|
|
268
266
|
|
|
269
267
|
declare const vehicleDetails_list: typeof list;
|
|
270
268
|
declare namespace vehicleDetails {
|
|
271
|
-
export { type SafeGet$
|
|
269
|
+
export { type SafeGet$3 as SafeGet, type SafeList$1 as SafeList, type SafeSave$2 as SafeSave, get$3 as get, vehicleDetails_list as list, save$2 as save };
|
|
272
270
|
}
|
|
273
271
|
|
|
274
272
|
declare const languageKnownEnum: z.ZodEnum<{
|
|
@@ -289,7 +287,7 @@ declare const get$2: z.ZodObject<{
|
|
|
289
287
|
marathi: "marathi";
|
|
290
288
|
}>>;
|
|
291
289
|
}, z.core.$strip>;
|
|
292
|
-
declare const
|
|
290
|
+
declare const save$1: z.ZodObject<{
|
|
293
291
|
driverName: z.ZodString;
|
|
294
292
|
drivingLicenseNumber: z.ZodString;
|
|
295
293
|
experience: z.ZodCoercedNumber<unknown>;
|
|
@@ -300,9 +298,6 @@ declare const create$2: z.ZodObject<{
|
|
|
300
298
|
marathi: "marathi";
|
|
301
299
|
}>>;
|
|
302
300
|
}, z.core.$strip>;
|
|
303
|
-
declare const remove: z.ZodObject<{
|
|
304
|
-
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
305
|
-
}, z.core.$strip>;
|
|
306
301
|
declare const getList: z.ZodArray<z.ZodObject<{
|
|
307
302
|
id: z.ZodString;
|
|
308
303
|
driverName: z.ZodString;
|
|
@@ -315,18 +310,15 @@ declare const getList: z.ZodArray<z.ZodObject<{
|
|
|
315
310
|
marathi: "marathi";
|
|
316
311
|
}>>;
|
|
317
312
|
}, z.core.$strip>>;
|
|
318
|
-
type
|
|
319
|
-
type
|
|
313
|
+
type SafeGet$2 = z.infer<typeof get$2>;
|
|
314
|
+
type SafeSave$1 = z.output<typeof save$1>;
|
|
320
315
|
type SafeList = z.output<typeof getList>;
|
|
321
|
-
type SafeRemove = z.output<typeof remove>;
|
|
322
316
|
|
|
323
317
|
type driverDetails_SafeList = SafeList;
|
|
324
|
-
type driverDetails_SafeRemove = SafeRemove;
|
|
325
318
|
declare const driverDetails_getList: typeof getList;
|
|
326
319
|
declare const driverDetails_languageKnownEnum: typeof languageKnownEnum;
|
|
327
|
-
declare const driverDetails_remove: typeof remove;
|
|
328
320
|
declare namespace driverDetails {
|
|
329
|
-
export { type
|
|
321
|
+
export { type SafeGet$2 as SafeGet, type driverDetails_SafeList as SafeList, type SafeSave$1 as SafeSave, get$2 as get, driverDetails_getList as getList, driverDetails_languageKnownEnum as languageKnownEnum, save$1 as save };
|
|
330
322
|
}
|
|
331
323
|
|
|
332
324
|
declare const get$1: z.ZodObject<{
|
|
@@ -35,7 +35,7 @@ declare const get$7: z.ZodObject<{
|
|
|
35
35
|
jungle_safari: "jungle_safari";
|
|
36
36
|
}>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
|
-
declare const create$
|
|
38
|
+
declare const create$5: z.ZodObject<{
|
|
39
39
|
name: z.ZodString;
|
|
40
40
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
41
41
|
phone: z.ZodString;
|
|
@@ -48,17 +48,17 @@ declare const update$5: z.ZodObject<{
|
|
|
48
48
|
phone: z.ZodString;
|
|
49
49
|
type: z.ZodString;
|
|
50
50
|
}, z.core.$strip>;
|
|
51
|
-
type SafeGet$
|
|
51
|
+
type SafeGet$7 = z.infer<typeof get$7>;
|
|
52
52
|
type SafeUpdate$5 = z.output<typeof update$5>;
|
|
53
|
-
type SafeCreate$
|
|
54
|
-
declare const defaultBasicDetails: SafeGet$
|
|
53
|
+
type SafeCreate$5 = z.output<typeof create$5>;
|
|
54
|
+
declare const defaultBasicDetails: SafeGet$7;
|
|
55
55
|
|
|
56
56
|
type basicDetails_SafariType = SafariType;
|
|
57
57
|
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$
|
|
61
|
+
export { type basicDetails_SafariType as SafariType, type SafeCreate$5 as SafeCreate, type SafeGet$7 as SafeGet, type SafeUpdate$5 as SafeUpdate, create$5 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$7 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$5 as update };
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
declare const pickupLandmark: z.ZodObject<{
|
|
@@ -98,7 +98,7 @@ declare const get$6: z.ZodObject<{
|
|
|
98
98
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
99
99
|
}, z.core.$strip>>;
|
|
100
100
|
}, z.core.$strip>;
|
|
101
|
-
declare const create$
|
|
101
|
+
declare const create$4: z.ZodObject<{
|
|
102
102
|
locationId: z.ZodString;
|
|
103
103
|
safariLocation: z.ZodString;
|
|
104
104
|
pickupLocation: z.ZodString;
|
|
@@ -121,17 +121,17 @@ declare const update$4: z.ZodObject<{
|
|
|
121
121
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
122
122
|
}, z.core.$strip>>;
|
|
123
123
|
}, z.core.$strip>;
|
|
124
|
-
type SafeGet$
|
|
125
|
-
type SafeCreate$
|
|
124
|
+
type SafeGet$6 = z.output<typeof get$6>;
|
|
125
|
+
type SafeCreate$4 = z.output<typeof create$4>;
|
|
126
126
|
type SafeUpdate$4 = z.output<typeof update$4>;
|
|
127
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
128
|
-
declare const defaultLocation: SafeGet$
|
|
128
|
+
declare const defaultLocation: SafeGet$6;
|
|
129
129
|
|
|
130
130
|
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$
|
|
134
|
+
export { type SafeCreate$4 as SafeCreate, type SafeGet$6 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$4 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$6 as get, location_pickupLandmark as pickupLandmark, update$4 as update };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -143,14 +143,14 @@ declare const update$3: z.ZodObject<{
|
|
|
143
143
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
144
144
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
145
145
|
}, z.core.$strip>;
|
|
146
|
-
declare const create$
|
|
146
|
+
declare const create$3: z.ZodObject<{
|
|
147
147
|
name: z.ZodString;
|
|
148
148
|
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
149
149
|
startTime: z.ZodCoercedNumber<unknown>;
|
|
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: z.ZodObject<{
|
|
154
154
|
id: z.ZodString;
|
|
155
155
|
}, z.core.$strip>;
|
|
156
156
|
declare const get$5: z.ZodObject<{
|
|
@@ -169,15 +169,17 @@ 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$
|
|
172
|
+
type SafeGet$5 = z.output<typeof get$5>;
|
|
173
173
|
type SafeList$2 = z.output<typeof list$1>;
|
|
174
|
-
type SafeCreate$
|
|
174
|
+
type SafeCreate$3 = z.output<typeof create$3>;
|
|
175
175
|
type SafeUpdate$3 = z.output<typeof update$3>;
|
|
176
|
-
type SafeRemove
|
|
176
|
+
type SafeRemove = z.output<typeof remove>;
|
|
177
177
|
|
|
178
|
+
type slot_SafeRemove = SafeRemove;
|
|
179
|
+
declare const slot_remove: typeof remove;
|
|
178
180
|
declare const slot_time12h: typeof time12h;
|
|
179
181
|
declare namespace slot {
|
|
180
|
-
export { type SafeCreate$
|
|
182
|
+
export { type SafeCreate$3 as SafeCreate, type SafeGet$5 as SafeGet, type SafeList$2 as SafeList, type slot_SafeRemove as SafeRemove, type SafeUpdate$3 as SafeUpdate, create$3 as create, get$5 as get, list$1 as list, slot_remove as remove, slot_time12h as time12h, update$3 as update };
|
|
181
183
|
}
|
|
182
184
|
|
|
183
185
|
declare const Weekday: z.ZodEnum<{
|
|
@@ -201,7 +203,7 @@ declare const get$4: z.ZodObject<{
|
|
|
201
203
|
saturday: "saturday";
|
|
202
204
|
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
203
205
|
}, z.core.$strip>;
|
|
204
|
-
declare const create$
|
|
206
|
+
declare const create$2: z.ZodObject<{
|
|
205
207
|
operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
206
208
|
sunday: "sunday";
|
|
207
209
|
monday: "monday";
|
|
@@ -224,15 +226,15 @@ declare const update$2: z.ZodObject<{
|
|
|
224
226
|
saturday: "saturday";
|
|
225
227
|
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
226
228
|
}, z.core.$strip>;
|
|
227
|
-
type SafeGet$
|
|
229
|
+
type SafeGet$4 = z.output<typeof get$4>;
|
|
228
230
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
229
|
-
type SafeCreate$
|
|
231
|
+
type SafeCreate$2 = z.output<typeof create$2>;
|
|
230
232
|
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
231
233
|
|
|
232
234
|
type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
233
235
|
declare const operationalDays_Weekday: typeof Weekday;
|
|
234
236
|
declare namespace operationalDays {
|
|
235
|
-
export { type SafeCreate$
|
|
237
|
+
export { type SafeCreate$2 as SafeCreate, type SafeGet$4 as SafeGet, type SafeUpdate$2 as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$2 as create, get$4 as get, update$2 as update };
|
|
236
238
|
}
|
|
237
239
|
|
|
238
240
|
declare const get$3: z.ZodObject<{
|
|
@@ -243,16 +245,13 @@ declare const get$3: z.ZodObject<{
|
|
|
243
245
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
244
246
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
245
247
|
}, z.core.$strip>;
|
|
246
|
-
declare const save$
|
|
248
|
+
declare const save$2: z.ZodObject<{
|
|
247
249
|
vehicleName: z.ZodString;
|
|
248
250
|
registrationNumber: z.ZodString;
|
|
249
251
|
serviceRoutine: z.ZodCoercedNumber<unknown>;
|
|
250
252
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
251
253
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
252
254
|
}, z.core.$strip>;
|
|
253
|
-
declare const remove$1: z.ZodObject<{
|
|
254
|
-
id: z.ZodString;
|
|
255
|
-
}, z.core.$strip>;
|
|
256
255
|
declare const list: z.ZodArray<z.ZodObject<{
|
|
257
256
|
id: z.ZodString;
|
|
258
257
|
vehicleName: z.ZodString;
|
|
@@ -261,14 +260,13 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
261
260
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
262
261
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
263
262
|
}, z.core.$strip>>;
|
|
264
|
-
type SafeGet$
|
|
265
|
-
type SafeSave$
|
|
266
|
-
type SafeRemove$1 = z.output<typeof remove$1>;
|
|
263
|
+
type SafeGet$3 = z.infer<typeof get$3>;
|
|
264
|
+
type SafeSave$2 = z.output<typeof save$2>;
|
|
267
265
|
type SafeList$1 = z.output<typeof list>;
|
|
268
266
|
|
|
269
267
|
declare const vehicleDetails_list: typeof list;
|
|
270
268
|
declare namespace vehicleDetails {
|
|
271
|
-
export { type SafeGet$
|
|
269
|
+
export { type SafeGet$3 as SafeGet, type SafeList$1 as SafeList, type SafeSave$2 as SafeSave, get$3 as get, vehicleDetails_list as list, save$2 as save };
|
|
272
270
|
}
|
|
273
271
|
|
|
274
272
|
declare const languageKnownEnum: z.ZodEnum<{
|
|
@@ -289,7 +287,7 @@ declare const get$2: z.ZodObject<{
|
|
|
289
287
|
marathi: "marathi";
|
|
290
288
|
}>>;
|
|
291
289
|
}, z.core.$strip>;
|
|
292
|
-
declare const
|
|
290
|
+
declare const save$1: z.ZodObject<{
|
|
293
291
|
driverName: z.ZodString;
|
|
294
292
|
drivingLicenseNumber: z.ZodString;
|
|
295
293
|
experience: z.ZodCoercedNumber<unknown>;
|
|
@@ -300,9 +298,6 @@ declare const create$2: z.ZodObject<{
|
|
|
300
298
|
marathi: "marathi";
|
|
301
299
|
}>>;
|
|
302
300
|
}, z.core.$strip>;
|
|
303
|
-
declare const remove: z.ZodObject<{
|
|
304
|
-
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
305
|
-
}, z.core.$strip>;
|
|
306
301
|
declare const getList: z.ZodArray<z.ZodObject<{
|
|
307
302
|
id: z.ZodString;
|
|
308
303
|
driverName: z.ZodString;
|
|
@@ -315,18 +310,15 @@ declare const getList: z.ZodArray<z.ZodObject<{
|
|
|
315
310
|
marathi: "marathi";
|
|
316
311
|
}>>;
|
|
317
312
|
}, z.core.$strip>>;
|
|
318
|
-
type
|
|
319
|
-
type
|
|
313
|
+
type SafeGet$2 = z.infer<typeof get$2>;
|
|
314
|
+
type SafeSave$1 = z.output<typeof save$1>;
|
|
320
315
|
type SafeList = z.output<typeof getList>;
|
|
321
|
-
type SafeRemove = z.output<typeof remove>;
|
|
322
316
|
|
|
323
317
|
type driverDetails_SafeList = SafeList;
|
|
324
|
-
type driverDetails_SafeRemove = SafeRemove;
|
|
325
318
|
declare const driverDetails_getList: typeof getList;
|
|
326
319
|
declare const driverDetails_languageKnownEnum: typeof languageKnownEnum;
|
|
327
|
-
declare const driverDetails_remove: typeof remove;
|
|
328
320
|
declare namespace driverDetails {
|
|
329
|
-
export { type
|
|
321
|
+
export { type SafeGet$2 as SafeGet, type driverDetails_SafeList as SafeList, type SafeSave$1 as SafeSave, get$2 as get, driverDetails_getList as getList, driverDetails_languageKnownEnum as languageKnownEnum, save$1 as save };
|
|
330
322
|
}
|
|
331
323
|
|
|
332
324
|
declare const get$1: z.ZodObject<{
|
package/dist/index.cjs
CHANGED
|
@@ -267,7 +267,6 @@ var vehicle_details_exports = {};
|
|
|
267
267
|
__export(vehicle_details_exports, {
|
|
268
268
|
get: () => get5,
|
|
269
269
|
list: () => list2,
|
|
270
|
-
remove: () => remove2,
|
|
271
270
|
save: () => save
|
|
272
271
|
});
|
|
273
272
|
var import_zod6 = require("zod");
|
|
@@ -286,19 +285,15 @@ var save = import_zod6.z.object({
|
|
|
286
285
|
operatedSince: import_zod6.z.coerce.number("invalid").min(2010, "min"),
|
|
287
286
|
maxCapacity: import_zod6.z.coerce.number("invalid").min(2, "min").max(15, "max")
|
|
288
287
|
});
|
|
289
|
-
var remove2 = import_zod6.z.object({
|
|
290
|
-
id: import_zod6.z.string().trim()
|
|
291
|
-
});
|
|
292
288
|
var list2 = import_zod6.z.array(get5);
|
|
293
289
|
|
|
294
290
|
// src/safari/driver-details.ts
|
|
295
291
|
var driver_details_exports = {};
|
|
296
292
|
__export(driver_details_exports, {
|
|
297
|
-
create: () => create5,
|
|
298
293
|
get: () => get6,
|
|
299
294
|
getList: () => getList,
|
|
300
295
|
languageKnownEnum: () => languageKnownEnum,
|
|
301
|
-
|
|
296
|
+
save: () => save2
|
|
302
297
|
});
|
|
303
298
|
var import_zod7 = require("zod");
|
|
304
299
|
var languageKnownEnum = import_zod7.z.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
@@ -309,21 +304,18 @@ var get6 = import_zod7.z.object({
|
|
|
309
304
|
experience: import_zod7.z.coerce.number(),
|
|
310
305
|
languageKnown: import_zod7.z.array(languageKnownEnum)
|
|
311
306
|
});
|
|
312
|
-
var
|
|
307
|
+
var save2 = import_zod7.z.object({
|
|
313
308
|
driverName: import_zod7.z.string().trim().nonempty("required"),
|
|
314
309
|
drivingLicenseNumber: import_zod7.z.string().trim().nonempty("required").toUpperCase(),
|
|
315
310
|
experience: import_zod7.z.coerce.number().min(1, "min"),
|
|
316
311
|
languageKnown: import_zod7.z.array(languageKnownEnum)
|
|
317
312
|
});
|
|
318
|
-
var remove3 = import_zod7.z.object({
|
|
319
|
-
id: import_zod7.z.string().trim().optional().default("")
|
|
320
|
-
});
|
|
321
313
|
var getList = import_zod7.z.array(get6);
|
|
322
314
|
|
|
323
315
|
// src/safari/business-details.ts
|
|
324
316
|
var business_details_exports = {};
|
|
325
317
|
__export(business_details_exports, {
|
|
326
|
-
create: () =>
|
|
318
|
+
create: () => create5,
|
|
327
319
|
get: () => get7,
|
|
328
320
|
update: () => update5
|
|
329
321
|
});
|
|
@@ -337,7 +329,7 @@ var get7 = import_zod8.z.object({
|
|
|
337
329
|
GstNumber: import_zod8.z.string().trim().optional(),
|
|
338
330
|
businessIdNumber: import_zod8.z.string().trim().optional()
|
|
339
331
|
});
|
|
340
|
-
var
|
|
332
|
+
var create5 = import_zod8.z.object({
|
|
341
333
|
bankAccountNumber: import_zod8.z.string().trim(),
|
|
342
334
|
bankName: import_zod8.z.string().trim().toUpperCase(),
|
|
343
335
|
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
@@ -361,14 +353,14 @@ var update5 = import_zod8.z.object({
|
|
|
361
353
|
var personal_details_exports = {};
|
|
362
354
|
__export(personal_details_exports, {
|
|
363
355
|
me: () => me,
|
|
364
|
-
save: () =>
|
|
356
|
+
save: () => save3
|
|
365
357
|
});
|
|
366
358
|
var import_zod9 = require("zod");
|
|
367
359
|
var me = import_zod9.z.object({
|
|
368
360
|
adhaarNumber: import_zod9.z.string().trim(),
|
|
369
361
|
address: import_zod9.z.string().trim()
|
|
370
362
|
});
|
|
371
|
-
var
|
|
363
|
+
var save3 = import_zod9.z.object({
|
|
372
364
|
adhaarNumber: import_zod9.z.string().trim().nonempty("required"),
|
|
373
365
|
address: import_zod9.z.string().trim().nonempty("required")
|
|
374
366
|
});
|
|
@@ -376,7 +368,7 @@ var save2 = import_zod9.z.object({
|
|
|
376
368
|
// src/safari/rate-card.ts
|
|
377
369
|
var rate_card_exports = {};
|
|
378
370
|
__export(rate_card_exports, {
|
|
379
|
-
create: () =>
|
|
371
|
+
create: () => create6,
|
|
380
372
|
get: () => get8,
|
|
381
373
|
update: () => update6
|
|
382
374
|
});
|
|
@@ -386,7 +378,7 @@ var get8 = import_zod10.z.object({
|
|
|
386
378
|
baseRate: import_zod10.z.coerce.number().default(0),
|
|
387
379
|
discount: import_zod10.z.coerce.number().default(0)
|
|
388
380
|
});
|
|
389
|
-
var
|
|
381
|
+
var create6 = import_zod10.z.object({
|
|
390
382
|
baseRate: import_zod10.z.coerce.number().default(0),
|
|
391
383
|
discount: import_zod10.z.coerce.number().default(0)
|
|
392
384
|
});
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -236,7 +236,6 @@ var vehicle_details_exports = {};
|
|
|
236
236
|
__export(vehicle_details_exports, {
|
|
237
237
|
get: () => get5,
|
|
238
238
|
list: () => list2,
|
|
239
|
-
remove: () => remove2,
|
|
240
239
|
save: () => save
|
|
241
240
|
});
|
|
242
241
|
import { z as z6 } from "zod";
|
|
@@ -255,19 +254,15 @@ var save = z6.object({
|
|
|
255
254
|
operatedSince: z6.coerce.number("invalid").min(2010, "min"),
|
|
256
255
|
maxCapacity: z6.coerce.number("invalid").min(2, "min").max(15, "max")
|
|
257
256
|
});
|
|
258
|
-
var remove2 = z6.object({
|
|
259
|
-
id: z6.string().trim()
|
|
260
|
-
});
|
|
261
257
|
var list2 = z6.array(get5);
|
|
262
258
|
|
|
263
259
|
// src/safari/driver-details.ts
|
|
264
260
|
var driver_details_exports = {};
|
|
265
261
|
__export(driver_details_exports, {
|
|
266
|
-
create: () => create5,
|
|
267
262
|
get: () => get6,
|
|
268
263
|
getList: () => getList,
|
|
269
264
|
languageKnownEnum: () => languageKnownEnum,
|
|
270
|
-
|
|
265
|
+
save: () => save2
|
|
271
266
|
});
|
|
272
267
|
import { z as z7 } from "zod";
|
|
273
268
|
var languageKnownEnum = z7.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
@@ -278,21 +273,18 @@ var get6 = z7.object({
|
|
|
278
273
|
experience: z7.coerce.number(),
|
|
279
274
|
languageKnown: z7.array(languageKnownEnum)
|
|
280
275
|
});
|
|
281
|
-
var
|
|
276
|
+
var save2 = z7.object({
|
|
282
277
|
driverName: z7.string().trim().nonempty("required"),
|
|
283
278
|
drivingLicenseNumber: z7.string().trim().nonempty("required").toUpperCase(),
|
|
284
279
|
experience: z7.coerce.number().min(1, "min"),
|
|
285
280
|
languageKnown: z7.array(languageKnownEnum)
|
|
286
281
|
});
|
|
287
|
-
var remove3 = z7.object({
|
|
288
|
-
id: z7.string().trim().optional().default("")
|
|
289
|
-
});
|
|
290
282
|
var getList = z7.array(get6);
|
|
291
283
|
|
|
292
284
|
// src/safari/business-details.ts
|
|
293
285
|
var business_details_exports = {};
|
|
294
286
|
__export(business_details_exports, {
|
|
295
|
-
create: () =>
|
|
287
|
+
create: () => create5,
|
|
296
288
|
get: () => get7,
|
|
297
289
|
update: () => update5
|
|
298
290
|
});
|
|
@@ -306,7 +298,7 @@ var get7 = z8.object({
|
|
|
306
298
|
GstNumber: z8.string().trim().optional(),
|
|
307
299
|
businessIdNumber: z8.string().trim().optional()
|
|
308
300
|
});
|
|
309
|
-
var
|
|
301
|
+
var create5 = z8.object({
|
|
310
302
|
bankAccountNumber: z8.string().trim(),
|
|
311
303
|
bankName: z8.string().trim().toUpperCase(),
|
|
312
304
|
accountHolderName: z8.string().trim().toUpperCase(),
|
|
@@ -330,14 +322,14 @@ var update5 = z8.object({
|
|
|
330
322
|
var personal_details_exports = {};
|
|
331
323
|
__export(personal_details_exports, {
|
|
332
324
|
me: () => me,
|
|
333
|
-
save: () =>
|
|
325
|
+
save: () => save3
|
|
334
326
|
});
|
|
335
327
|
import { z as z9 } from "zod";
|
|
336
328
|
var me = z9.object({
|
|
337
329
|
adhaarNumber: z9.string().trim(),
|
|
338
330
|
address: z9.string().trim()
|
|
339
331
|
});
|
|
340
|
-
var
|
|
332
|
+
var save3 = z9.object({
|
|
341
333
|
adhaarNumber: z9.string().trim().nonempty("required"),
|
|
342
334
|
address: z9.string().trim().nonempty("required")
|
|
343
335
|
});
|
|
@@ -345,7 +337,7 @@ var save2 = z9.object({
|
|
|
345
337
|
// src/safari/rate-card.ts
|
|
346
338
|
var rate_card_exports = {};
|
|
347
339
|
__export(rate_card_exports, {
|
|
348
|
-
create: () =>
|
|
340
|
+
create: () => create6,
|
|
349
341
|
get: () => get8,
|
|
350
342
|
update: () => update6
|
|
351
343
|
});
|
|
@@ -355,7 +347,7 @@ var get8 = z10.object({
|
|
|
355
347
|
baseRate: z10.coerce.number().default(0),
|
|
356
348
|
discount: z10.coerce.number().default(0)
|
|
357
349
|
});
|
|
358
|
-
var
|
|
350
|
+
var create6 = z10.object({
|
|
359
351
|
baseRate: z10.coerce.number().default(0),
|
|
360
352
|
discount: z10.coerce.number().default(0)
|
|
361
353
|
});
|
package/dist/safari/index.cjs
CHANGED
|
@@ -254,7 +254,6 @@ var vehicle_details_exports = {};
|
|
|
254
254
|
__export(vehicle_details_exports, {
|
|
255
255
|
get: () => get5,
|
|
256
256
|
list: () => list2,
|
|
257
|
-
remove: () => remove2,
|
|
258
257
|
save: () => save
|
|
259
258
|
});
|
|
260
259
|
var import_zod6 = require("zod");
|
|
@@ -273,19 +272,15 @@ var save = import_zod6.z.object({
|
|
|
273
272
|
operatedSince: import_zod6.z.coerce.number("invalid").min(2010, "min"),
|
|
274
273
|
maxCapacity: import_zod6.z.coerce.number("invalid").min(2, "min").max(15, "max")
|
|
275
274
|
});
|
|
276
|
-
var remove2 = import_zod6.z.object({
|
|
277
|
-
id: import_zod6.z.string().trim()
|
|
278
|
-
});
|
|
279
275
|
var list2 = import_zod6.z.array(get5);
|
|
280
276
|
|
|
281
277
|
// src/safari/driver-details.ts
|
|
282
278
|
var driver_details_exports = {};
|
|
283
279
|
__export(driver_details_exports, {
|
|
284
|
-
create: () => create5,
|
|
285
280
|
get: () => get6,
|
|
286
281
|
getList: () => getList,
|
|
287
282
|
languageKnownEnum: () => languageKnownEnum,
|
|
288
|
-
|
|
283
|
+
save: () => save2
|
|
289
284
|
});
|
|
290
285
|
var import_zod7 = require("zod");
|
|
291
286
|
var languageKnownEnum = import_zod7.z.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
@@ -296,21 +291,18 @@ var get6 = import_zod7.z.object({
|
|
|
296
291
|
experience: import_zod7.z.coerce.number(),
|
|
297
292
|
languageKnown: import_zod7.z.array(languageKnownEnum)
|
|
298
293
|
});
|
|
299
|
-
var
|
|
294
|
+
var save2 = import_zod7.z.object({
|
|
300
295
|
driverName: import_zod7.z.string().trim().nonempty("required"),
|
|
301
296
|
drivingLicenseNumber: import_zod7.z.string().trim().nonempty("required").toUpperCase(),
|
|
302
297
|
experience: import_zod7.z.coerce.number().min(1, "min"),
|
|
303
298
|
languageKnown: import_zod7.z.array(languageKnownEnum)
|
|
304
299
|
});
|
|
305
|
-
var remove3 = import_zod7.z.object({
|
|
306
|
-
id: import_zod7.z.string().trim().optional().default("")
|
|
307
|
-
});
|
|
308
300
|
var getList = import_zod7.z.array(get6);
|
|
309
301
|
|
|
310
302
|
// src/safari/business-details.ts
|
|
311
303
|
var business_details_exports = {};
|
|
312
304
|
__export(business_details_exports, {
|
|
313
|
-
create: () =>
|
|
305
|
+
create: () => create5,
|
|
314
306
|
get: () => get7,
|
|
315
307
|
update: () => update5
|
|
316
308
|
});
|
|
@@ -324,7 +316,7 @@ var get7 = import_zod8.z.object({
|
|
|
324
316
|
GstNumber: import_zod8.z.string().trim().optional(),
|
|
325
317
|
businessIdNumber: import_zod8.z.string().trim().optional()
|
|
326
318
|
});
|
|
327
|
-
var
|
|
319
|
+
var create5 = import_zod8.z.object({
|
|
328
320
|
bankAccountNumber: import_zod8.z.string().trim(),
|
|
329
321
|
bankName: import_zod8.z.string().trim().toUpperCase(),
|
|
330
322
|
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
@@ -348,14 +340,14 @@ var update5 = import_zod8.z.object({
|
|
|
348
340
|
var personal_details_exports = {};
|
|
349
341
|
__export(personal_details_exports, {
|
|
350
342
|
me: () => me,
|
|
351
|
-
save: () =>
|
|
343
|
+
save: () => save3
|
|
352
344
|
});
|
|
353
345
|
var import_zod9 = require("zod");
|
|
354
346
|
var me = import_zod9.z.object({
|
|
355
347
|
adhaarNumber: import_zod9.z.string().trim(),
|
|
356
348
|
address: import_zod9.z.string().trim()
|
|
357
349
|
});
|
|
358
|
-
var
|
|
350
|
+
var save3 = import_zod9.z.object({
|
|
359
351
|
adhaarNumber: import_zod9.z.string().trim().nonempty("required"),
|
|
360
352
|
address: import_zod9.z.string().trim().nonempty("required")
|
|
361
353
|
});
|
|
@@ -363,7 +355,7 @@ var save2 = import_zod9.z.object({
|
|
|
363
355
|
// src/safari/rate-card.ts
|
|
364
356
|
var rate_card_exports = {};
|
|
365
357
|
__export(rate_card_exports, {
|
|
366
|
-
create: () =>
|
|
358
|
+
create: () => create6,
|
|
367
359
|
get: () => get8,
|
|
368
360
|
update: () => update6
|
|
369
361
|
});
|
|
@@ -373,7 +365,7 @@ var get8 = import_zod10.z.object({
|
|
|
373
365
|
baseRate: import_zod10.z.coerce.number().default(0),
|
|
374
366
|
discount: import_zod10.z.coerce.number().default(0)
|
|
375
367
|
});
|
|
376
|
-
var
|
|
368
|
+
var create6 = import_zod10.z.object({
|
|
377
369
|
baseRate: import_zod10.z.coerce.number().default(0),
|
|
378
370
|
discount: import_zod10.z.coerce.number().default(0)
|
|
379
371
|
});
|
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, r as RateMatrix, 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, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-D10DgOg8.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, r as RateMatrix, 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, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-D10DgOg8.js';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.js
CHANGED
|
@@ -215,7 +215,6 @@ var vehicle_details_exports = {};
|
|
|
215
215
|
__export(vehicle_details_exports, {
|
|
216
216
|
get: () => get5,
|
|
217
217
|
list: () => list2,
|
|
218
|
-
remove: () => remove2,
|
|
219
218
|
save: () => save
|
|
220
219
|
});
|
|
221
220
|
import { z as z6 } from "zod";
|
|
@@ -234,19 +233,15 @@ var save = z6.object({
|
|
|
234
233
|
operatedSince: z6.coerce.number("invalid").min(2010, "min"),
|
|
235
234
|
maxCapacity: z6.coerce.number("invalid").min(2, "min").max(15, "max")
|
|
236
235
|
});
|
|
237
|
-
var remove2 = z6.object({
|
|
238
|
-
id: z6.string().trim()
|
|
239
|
-
});
|
|
240
236
|
var list2 = z6.array(get5);
|
|
241
237
|
|
|
242
238
|
// src/safari/driver-details.ts
|
|
243
239
|
var driver_details_exports = {};
|
|
244
240
|
__export(driver_details_exports, {
|
|
245
|
-
create: () => create5,
|
|
246
241
|
get: () => get6,
|
|
247
242
|
getList: () => getList,
|
|
248
243
|
languageKnownEnum: () => languageKnownEnum,
|
|
249
|
-
|
|
244
|
+
save: () => save2
|
|
250
245
|
});
|
|
251
246
|
import { z as z7 } from "zod";
|
|
252
247
|
var languageKnownEnum = z7.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
@@ -257,21 +252,18 @@ var get6 = z7.object({
|
|
|
257
252
|
experience: z7.coerce.number(),
|
|
258
253
|
languageKnown: z7.array(languageKnownEnum)
|
|
259
254
|
});
|
|
260
|
-
var
|
|
255
|
+
var save2 = z7.object({
|
|
261
256
|
driverName: z7.string().trim().nonempty("required"),
|
|
262
257
|
drivingLicenseNumber: z7.string().trim().nonempty("required").toUpperCase(),
|
|
263
258
|
experience: z7.coerce.number().min(1, "min"),
|
|
264
259
|
languageKnown: z7.array(languageKnownEnum)
|
|
265
260
|
});
|
|
266
|
-
var remove3 = z7.object({
|
|
267
|
-
id: z7.string().trim().optional().default("")
|
|
268
|
-
});
|
|
269
261
|
var getList = z7.array(get6);
|
|
270
262
|
|
|
271
263
|
// src/safari/business-details.ts
|
|
272
264
|
var business_details_exports = {};
|
|
273
265
|
__export(business_details_exports, {
|
|
274
|
-
create: () =>
|
|
266
|
+
create: () => create5,
|
|
275
267
|
get: () => get7,
|
|
276
268
|
update: () => update5
|
|
277
269
|
});
|
|
@@ -285,7 +277,7 @@ var get7 = z8.object({
|
|
|
285
277
|
GstNumber: z8.string().trim().optional(),
|
|
286
278
|
businessIdNumber: z8.string().trim().optional()
|
|
287
279
|
});
|
|
288
|
-
var
|
|
280
|
+
var create5 = z8.object({
|
|
289
281
|
bankAccountNumber: z8.string().trim(),
|
|
290
282
|
bankName: z8.string().trim().toUpperCase(),
|
|
291
283
|
accountHolderName: z8.string().trim().toUpperCase(),
|
|
@@ -309,14 +301,14 @@ var update5 = z8.object({
|
|
|
309
301
|
var personal_details_exports = {};
|
|
310
302
|
__export(personal_details_exports, {
|
|
311
303
|
me: () => me,
|
|
312
|
-
save: () =>
|
|
304
|
+
save: () => save3
|
|
313
305
|
});
|
|
314
306
|
import { z as z9 } from "zod";
|
|
315
307
|
var me = z9.object({
|
|
316
308
|
adhaarNumber: z9.string().trim(),
|
|
317
309
|
address: z9.string().trim()
|
|
318
310
|
});
|
|
319
|
-
var
|
|
311
|
+
var save3 = z9.object({
|
|
320
312
|
adhaarNumber: z9.string().trim().nonempty("required"),
|
|
321
313
|
address: z9.string().trim().nonempty("required")
|
|
322
314
|
});
|
|
@@ -324,7 +316,7 @@ var save2 = z9.object({
|
|
|
324
316
|
// src/safari/rate-card.ts
|
|
325
317
|
var rate_card_exports = {};
|
|
326
318
|
__export(rate_card_exports, {
|
|
327
|
-
create: () =>
|
|
319
|
+
create: () => create6,
|
|
328
320
|
get: () => get8,
|
|
329
321
|
update: () => update6
|
|
330
322
|
});
|
|
@@ -334,7 +326,7 @@ var get8 = z10.object({
|
|
|
334
326
|
baseRate: z10.coerce.number().default(0),
|
|
335
327
|
discount: z10.coerce.number().default(0)
|
|
336
328
|
});
|
|
337
|
-
var
|
|
329
|
+
var create6 = z10.object({
|
|
338
330
|
baseRate: z10.coerce.number().default(0),
|
|
339
331
|
discount: z10.coerce.number().default(0)
|
|
340
332
|
});
|